diff --git a/dist/main.js b/dist/main.js index cee5e86..3b73af1 100644 --- a/dist/main.js +++ b/dist/main.js @@ -11,4 +11,4 @@ var r=Object.freeze({});function i(t){return null==t}function o(t){return null!= * @author Feross Aboukhadijeh * @license MIT */ -t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(21),a=n(22),s=n(12);function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method=t.method?t.method.toLowerCase():"get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(r.merge(n||{},{method:t,url:e}))}})),r.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,i){return this.request(r.merge(i||{},{method:t,url:e,data:n}))}})),t.exports=c},function(t,e,n){"use strict";var r=n(0);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var r=n(0),i=n(23),o=n(7),a=n(8),s=n(30),c=n(31);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return u(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(u(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e,n){var i=n.config.validateStatus;!i||i(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(0),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(13);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";var r=n(1);n.n(r).a},function(t,e,n){(t.exports=n(14)(!1)).push([t.i,"\ninput[type=range][data-v-07b39850] {\n\twidth: 90%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: stretch;\n}\nspan.small[data-v-07b39850] {\n\tfont-size: 75%;\n}\ntable.active[data-v-07b39850] {\n\tborder: 3px solid #9ac5e3;\n}\ntable[data-v-07b39850] {\n\tborder-collapse: collapse;\n\twidth: 90%;\n}\ntd[data-v-07b39850] {\n\tborder:1px solid grey;\n\tfont-size: 9pt;\n}\n.traceroutes[data-v-07b39850] {\n\ttext-decoration: none;\n\tdisplay: inline-block;\n}\n.traceroutes[data-v-07b39850]:visited {\n\tcolor: #000000;\n}\n.traceroutes[data-v-07b39850]:hover {\n\tcolor: #880000;\n\ttransform: rotate(-30deg);\n}\n.traceroutes[data-v-07b39850]:active {\n\tcolor: #bb0000;\n}\n.traceroutes_rotating[data-v-07b39850] {\n\tdisplay: inline-block;\n\ttext-decoration: none;\n\tcolor: #bb0000;\n\tanimation: spin-data-v-07b39850 2s linear infinite;\n}\n.odd[data-v-07b39850] {\n\tbackground-color: #EEE;\n}\n@keyframes spin-data-v-07b39850 {\n0% { transform: rotate(-30deg);\n}\n25% { transform: rotate(0deg);\n}\n50% { transform: rotate(30deg);\n}\n75% { transform: rotate(0deg);\n}\n100% { transform: rotate(-30deg);\n}\n}\t\n",""])},function(t,e,n){"use strict";var r=n(2);n.n(r).a},function(t,e,n){(t.exports=n(14)(!1)).push([t.i,"\nh4[data-v-98ade07e] {\n\t\ttext-align: center;\n}\n.grid-container[data-v-98ade07e] {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(auto-fill, minmax(400px, 1fr));\n\t\tgrid-gap: 5px;\n\t\tpadding: 5px;\n}\n.info[data-v-98ade07e] {\n\t\tdisplay: block; position: absolute; right: 10px; top: 10px;\n}\n.info:hover .info_box[data-v-98ade07e] {\n\t\tvisibility: visible;\n\t\tz-index: 4;\n}\n.info .info_box[data-v-98ade07e] {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tright: 0px;\n\t\ttop: 0px;\n\t\tvisibility: hidden;\n\t\twidth: 502px;\n\t\tborder: solid 1px;\n\t\tbackground-color: #999999;\n\t\tfont-size: 10pt;\n}\n",""])},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(39),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(4))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i,o,a,s,c=1,u={},l=!1,f=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){v(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){v(t.data)},r=function(t){o.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){v(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):r=function(t){setTimeout(v,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&v(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n-1:t.checkedBoxes},on:{click:function(e){return t.setActive(r)},change:function(e){var n=t.checkedBoxes,i=e.target,o=!!i.checked;if(Array.isArray(n)){var a=r,s=t._i(n,a);i.checked?s<0&&(t.checkedBoxes=n.concat([a])):s>-1&&(t.checkedBoxes=n.slice(0,s).concat(n.slice(s+1)))}else t.checkedBoxes=o}}})})),0)]),t._v(" "),n("br"),t._v(" "),n("button",{on:{click:function(e){return t.executeAllBoxes()}}},[t._v("Request for all boxes")]),t._v(" "),n("div",{staticClass:"grid-container"},[t._l(t.traceBoxes,(function(e,r){return[n(e,{key:r,ref:"boxref",refInFor:!0,tag:"component",attrs:{serverlist:t.listOfServers,initData:t.listOfServers[0],pending:t.pendingParent,boxNumber:r}})]}))],2)])};i._withStripped=!0;var o=n(3),a=n.n(o),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"statusBox"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-4"},[!1===t.pending?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedServerData,expression:"selectedServerData"}],ref:"serverSelectBox1",attrs:{id:"serverSelectList"},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedServerData=e.target.multiple?n:n[0]}}},t._l(t.serverlist,(function(e,r){return n("option",{domProps:{value:e}},[t._v("\n\t\t\t\t\t"+t._s(e.getLabelInfoString())+"\n\t\t\t\t")])})),0):t._e(),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.target,expression:"target"}],attrs:{placeholder:"Enter Ip or Domain"},domProps:{value:t.target},on:{input:function(e){e.target.composing||(t.target=e.target.value)}}}),t._v(" "),n("button",{on:{click:function(e){return t.handleClick()}}},[t._v("\n\t\t\t\t⛟\n\t\t\t")]),t._v(" "),n("RingLoader",{attrs:{size:10,loading:t.isLoading,color:"black"}}),t._v(" "),n("br"),t._v(" "),n("span",{staticClass:"small"},[t._v(t._s(t.infoString))]),t._v(" "),n("div",[n("table",{staticClass:"table table-striped",attrs:{id:"tableId_"+t.boxNumber}},[n("thead",[t._m(0),t._v(" "),t._l(t.tableData,(function(e,r){return n("tr",{class:t.isOdd(r)},[n("td",[t._v(t._s(e[0]))]),t._v(" "),n("td",[t._v(t._s(e[1]))]),t._v(" "),n("td",[t._v(t._s(e[2]))]),t._v(" "),n("td",{attrs:{title:e[4]}},[t._v(t._s(e[3]))])])}))],2)]),t._v(" "),t.tableDataHistory.length>1?n("input",{directives:[{name:"model",rawName:"v-model",value:t.tick,expression:"tick"}],staticClass:"range",attrs:{type:"range",max:t.tableDataHistory.length-1,min:"0",list:"tickmarks"+t._uid},domProps:{value:t.tick},on:{__r:function(e){t.tick=e.target.value}}}):t._e(),t._v(" "),n("datalist",{attrs:{id:"tickmarks"+t._uid}},t._l(t.tableDataHistory,(function(t,e){return n("option",{domProps:{value:e}})})),0)])],1)])])};function c(t,e){for(var n=0;n0&&!JSON.parse(sessionStorage.getItem(this.selectedServerDataIndex))&&(this.selectedServerData=this.serverlist[0])}},tableDataHistory:{handler:function(){sessionStorage.setItem("tableDataHistory"+this.boxNumber,JSON.stringify(this.tableDataHistory)),this.tick=this.tableDataHistory.length-1}},tableDataHistoryObject:{handler:function(){sessionStorage.setItem("tableDataHistoryObject"+this.boxNumber,JSON.stringify(this.tableDataHistoryObject)),this.tick=this.tableDataHistoryObject.length-1},deep:!0},executionTime:{handler:function(){sessionStorage.setItem("executionTime"+this.boxNumber,JSON.stringify(this.executionTime))},deep:!0},selectedServerData:{handler:function(){sessionStorage.setItem("selectedServerData"+this.boxNumber,JSON.stringify(this.selectedServerData))},deep:!0},target:{handler:function(){sessionStorage.setItem("target"+this.boxNumber,JSON.stringify(this.target))},deep:!0},tableData:{handler:function(){sessionStorage.setItem(this.tableDataIndex,JSON.stringify(this.tableData))},deep:!0},tick:{handler:function(){sessionStorage.setItem(this.tickIndex,JSON.stringify(this.tick)),this.tableDataHistory.length>0&&(this.tableData=this.tableDataHistory[this.tick])}}},computed:{selectedServerDataIndex:function(){return"selectedServerData"+this.boxNumber},tickIndex:function(){return"tick"+this.boxNumber},tableDataIndex:function(){return"tableData"+this.boxNumber},infoString:function(){var t=this.tableDataHistoryObject[this.tick];return null!=t?t.displayInfo():""},tryHard:function(){this.selectedServerData||(this.selectedServerData=this.initData)}},methods:{isOdd:function(t){return t%2==0?"odd":"even"},handleClick:function(){this.traceRoute()},setLastExecutionTime:function(){var t=new Date;this.executionTime=t.toISOString()},traceRoute:function(){var t=this;this.isLoading=!0;var e=this.getJobCount;this.jobList.push(e),a.a.get("http://"+this.selectedServerData.getIpPortAsString()+"/v3/client/request/"+this.target).then((function(e){t.tableData=e.data,t.setLastExecutionTime(),t.tableDataHistory.push(t.tableData),t.tick=t.tableDataHistory.length-1;var n=new f;n.initObjectByElements(t.selectedServerData,t.executionTime,t.tableData,t.target),t.tableDataHistoryObject.push(n)})).catch((function(e){if(void 0!==e.response){t.tableData={0:{0:"Status-Code: HTTP/"+e.response.status,1:"Message: "+e.response.statusText,2:"",3:"",4:""}},t.setLastExecutionTime(),t.tableDataHistory.push(t.tableData),t.tick=t.tableDataHistory.length-1;var n=new f;n.initObjectByElements(t.selectedServerData,t.executionTime,t.tableData,t.target),t.tableDataHistoryObject.push(n)}})).finally((function(n){var r=t.jobList.indexOf(e);~r&&t.jobList.splice(r,1),t.jobList.length<1&&(t.jobCount=0,t.isLoading=!1)}))},getJobCount:function(){return this.jobCount+=1,this.jobCount},resetData:function(){this.executionTime="Not execute yet",this.target="luan.xicon.eu",this.tableData=[],this.tableDataHistory=[],this.tableDataHistoryObject=[],this.selectedServerData=this.serverlist[0],this.tick=""}},mounted:function(){var t=this;(sessionStorage.getItem("tableDataHistory"+this.boxNumber)&&(this.tableDataHistory=JSON.parse(sessionStorage.getItem("tableDataHistory"+this.boxNumber))),sessionStorage.getItem("tick"+this.boxNumber)&&(this.tick=parseInt(sessionStorage.getItem("tick"+this.boxNumber))),sessionStorage.getItem("executionTime"+this.boxNumber)&&(this.executionTime=JSON.parse(sessionStorage.getItem("executionTime"+this.boxNumber))),sessionStorage.getItem("tableDataHistoryObject"+this.boxNumber))&&JSON.parse(sessionStorage.getItem("tableDataHistoryObject"+this.boxNumber)).forEach((function(e){var n=new f,r=new u;r.initObjectByJson(e._requestServer),n.initObjectByElements(r,e._requestSendTime,e._responseData,e._targetUrl),t.tableDataHistoryObject.push(n)}));if(sessionStorage.getItem("selectedServerData"+this.boxNumber)){var e=new u,n=JSON.parse(sessionStorage.getItem("selectedServerData"+this.boxNumber));e.initObjectByJson(n),this.selectedServerData=e}sessionStorage.getItem("target"+this.boxNumber)&&(this.target=JSON.parse(sessionStorage.getItem("target"+this.boxNumber))),sessionStorage.getItem("tableData"+this.boxNumber)&&(this.tableData=JSON.parse(sessionStorage.getItem("tableData"+this.boxNumber)))}};n(34);function p(t,e,n,r,i,o,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var v=p(d,s,[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("IP")]),this._v(" "),e("td",[this._v("HOSTNAME")]),this._v(" "),e("td",[this._v("PING")]),this._v(" "),e("td",[this._v("AS")])])}],!1,null,"07b39850",null);v.options.__file="src/StatusBox.vue";var h=v.exports,m={components:{StatusBoxVue:h},data:function(){return{pendingParent:!0,listOfServers:[],checkedBoxes:[],traceBoxes:[h,h,h,h,h,h]}},watch:{checkedBoxes:{handler:function(){sessionStorage.setItem("checkedBoxes",JSON.stringify(this.checkedBoxes))},deep:!0},listOfServers:{handler:function(){sessionStorage.setItem("listOfServers",JSON.stringify(this.listOfServers))},deep:!0},traceBoxes:{handler:function(){sessionStorage.setItem("traceBoxes",JSON.stringify(this.traceBoxes))}}},mounted:function(){var t=this;sessionStorage.getItem("listOfServers")?(JSON.parse(sessionStorage.getItem("listOfServers")).forEach((function(e){var n=new u;n.initObjectByJson(e),t.listOfServers.push(n)})),this.pendingParent=!1):this.getServer();sessionStorage.getItem("traceBoxes")&&(this.traceBoxes=[],JSON.parse(sessionStorage.getItem("traceBoxes")).forEach((function(e){t.traceBoxes.push(h)}))),sessionStorage.getItem("checkedBoxes")&&(this.checkedBoxes=JSON.parse(sessionStorage.getItem("checkedBoxes"))),this.setActiveFromSession(this.checkedBoxes)},methods:{resetData:function(){this.$refs.boxref.forEach((function(t){t.resetData()})),this.checkedBoxes=[],this.traceBoxes=[h,h,h,h,h,h]},resetSession:function(){this.resetData(),sessionStorage.clear(),document.querySelectorAll("[id^=tableId_]").forEach((function(t){t.className="table table-striped"}))},setActive:function(t){this.$nextTick((function(){var e=document.getElementById("tableId_"+t).className;document.getElementById("tableId_"+t).className="table table-striped"==e?"table table-striped active":"table table-striped"}))},setActiveFromSession:function(t){var e=this;t.forEach((function(t){e.setActive(t)}))},executeAllBoxes:function(){this.$refs.boxref.forEach((function(t){wait(1e3),t.traceRoute()}))},executeSpecificBoxes:function(t){var e=this.$refs.boxref;t.forEach((function(t){e.forEach((function(e){t==e.boxNumber&&e.traceRoute()}))}))},addTraceBox:function(){this.traceBoxes.push(h)},refreshServerlist:function(){this.listOfServers=[],this.getServer()},getServer:function(){var t=this;a.a.get("http://xtr-master.xicon.eu/v3/server/list/online").then((function(e){e.data.forEach((function(e){var n=new u;n.initObjectByArray(e),t.listOfServers.push(n)}))})).catch((function(t){})).finally((function(e){t.pendingParent=!1}))}}},y=(n(36),p(m,i,[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"info",attrs:{id:"info",title:"test"}},[t._v("\n\t\t\tⓘ\n\t\t\t"),n("div",{staticClass:"info_box",attrs:{id:"info_box"}},[t._v("\n\t\t\t\tThis service is free for use by accepting the "),n("a",{attrs:{href:"aup.txt"}},[t._v("Acceptable Use Policy")]),t._v("."),n("br"),t._v(" "),n("br"),t._v("\n\t\t\t\tThis is just an interface to to give a more GUI-ish\n\t\t\t\taccess to the self-registered XTR clients. No traceroute requests will be saved on this server. All request to the XTR clients\n\t\t\t\tare handled by your browser."),n("br"),t._v(" "),n("br"),t._v("\n\t\t\t\tWant to add your server? "),n("a",{attrs:{href:"xtr.pl"}},[t._v("Download XTR client")]),t._v(" now. Readme included in source code!"),n("br"),t._v("\n\t\t\t\tWant to run your own master server? "),n("a",{attrs:{href:"xtrd.pl"}},[t._v("Download XTRd")]),t._v(". Readme included in source code!"),n("br"),t._v(" "),n("br"),t._v("\n\t\t\t\tQuestions?/Impress? -> "),n("a",{attrs:{href:"mailto:rest@xicon.de"}},[t._v("Friedrich Schrader")])])])}],!1,null,"98ade07e",null));y.options.__file="src/StatusBoxContainer.vue";var g=y.exports;new r.a({el:"#statusBoxContainer",render:function(t){return t(g)}})}]); \ No newline at end of file +t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(21),a=n(22),s=n(12);function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method=t.method?t.method.toLowerCase():"get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(r.merge(n||{},{method:t,url:e}))}})),r.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,i){return this.request(r.merge(i||{},{method:t,url:e,data:n}))}})),t.exports=c},function(t,e,n){"use strict";var r=n(0);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var r=n(0),i=n(23),o=n(7),a=n(8),s=n(30),c=n(31);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return u(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(u(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e,n){var i=n.config.validateStatus;!i||i(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(0),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(13);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";var r=n(1);n.n(r).a},function(t,e,n){(t.exports=n(14)(!1)).push([t.i,"\ninput[type=range][data-v-07b39850] {\n\twidth: 90%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: stretch;\n}\nspan.small[data-v-07b39850] {\n\tfont-size: 75%;\n}\ntable.active[data-v-07b39850] {\n\tborder: 3px solid #9ac5e3;\n}\ntable[data-v-07b39850] {\n\tborder-collapse: collapse;\n\twidth: 90%;\n}\ntd[data-v-07b39850] {\n\tborder:1px solid grey;\n\tfont-size: 9pt;\n}\n.traceroutes[data-v-07b39850] {\n\ttext-decoration: none;\n\tdisplay: inline-block;\n}\n.traceroutes[data-v-07b39850]:visited {\n\tcolor: #000000;\n}\n.traceroutes[data-v-07b39850]:hover {\n\tcolor: #880000;\n\ttransform: rotate(-30deg);\n}\n.traceroutes[data-v-07b39850]:active {\n\tcolor: #bb0000;\n}\n.traceroutes_rotating[data-v-07b39850] {\n\tdisplay: inline-block;\n\ttext-decoration: none;\n\tcolor: #bb0000;\n\tanimation: spin-data-v-07b39850 2s linear infinite;\n}\n.odd[data-v-07b39850] {\n\tbackground-color: #EEE;\n}\n@keyframes spin-data-v-07b39850 {\n0% { transform: rotate(-30deg);\n}\n25% { transform: rotate(0deg);\n}\n50% { transform: rotate(30deg);\n}\n75% { transform: rotate(0deg);\n}\n100% { transform: rotate(-30deg);\n}\n}\t\n",""])},function(t,e,n){"use strict";var r=n(2);n.n(r).a},function(t,e,n){(t.exports=n(14)(!1)).push([t.i,"\nh4[data-v-98ade07e] {\n\t\ttext-align: center;\n}\n.grid-container[data-v-98ade07e] {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(auto-fill, minmax(400px, 1fr));\n\t\tgrid-gap: 5px;\n\t\tpadding: 5px;\n}\n.info[data-v-98ade07e] {\n\t\tdisplay: block; position: absolute; right: 10px; top: 10px;\n}\n.info:hover .info_box[data-v-98ade07e] {\n\t\tvisibility: visible;\n\t\tz-index: 4;\n}\n.info .info_box[data-v-98ade07e] {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tright: 0px;\n\t\ttop: 0px;\n\t\tvisibility: hidden;\n\t\twidth: 502px;\n\t\tborder: solid 1px;\n\t\tbackground-color: #999999;\n\t\tfont-size: 10pt;\n}\n",""])},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(39),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(4))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i,o,a,s,c=1,u={},l=!1,f=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){v(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){v(t.data)},r=function(t){o.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){v(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):r=function(t){setTimeout(v,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&v(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n-1:t.checkedBoxes},on:{click:function(e){return t.setActive(r)},change:function(e){var n=t.checkedBoxes,i=e.target,o=!!i.checked;if(Array.isArray(n)){var a=r,s=t._i(n,a);i.checked?s<0&&(t.checkedBoxes=n.concat([a])):s>-1&&(t.checkedBoxes=n.slice(0,s).concat(n.slice(s+1)))}else t.checkedBoxes=o}}})})),0)]),t._v(" "),n("br"),t._v(" "),n("button",{on:{click:function(e){return t.executeAllBoxes()}}},[t._v("Request for all boxes")]),t._v(" "),n("div",{staticClass:"grid-container"},[t._l(t.traceBoxes,(function(e,r){return[n(e,{key:r,ref:"boxref",refInFor:!0,tag:"component",attrs:{serverlist:t.listOfServers,initData:t.listOfServers[0],pending:t.pendingParent,boxNumber:r}})]}))],2)])};i._withStripped=!0;var o=n(3),a=n.n(o),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"statusBox"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-4"},[!1===t.pending?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedServerData,expression:"selectedServerData"}],ref:"serverSelectBox1",attrs:{id:"serverSelectList"},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedServerData=e.target.multiple?n:n[0]}}},t._l(t.serverlist,(function(e,r){return n("option",{domProps:{value:e}},[t._v("\n\t\t\t\t\t"+t._s(e.getLabelInfoString())+"\n\t\t\t\t")])})),0):t._e(),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.target,expression:"target"}],attrs:{placeholder:"Enter Ip or Domain"},domProps:{value:t.target},on:{input:function(e){e.target.composing||(t.target=e.target.value)}}}),t._v(" "),n("button",{on:{click:function(e){return t.handleClick()}}},[t._v("\n\t\t\t\t⛟\n\t\t\t")]),t._v(" "),n("RingLoader",{attrs:{size:10,loading:t.isLoading,color:"black"}}),t._v(" "),n("br"),t._v(" "),n("span",{staticClass:"small"},[t._v(t._s(t.infoString))]),t._v(" "),n("div",[n("table",{staticClass:"table table-striped",attrs:{id:"tableId_"+t.boxNumber}},[n("thead",[t._m(0),t._v(" "),t._l(t.tableData,(function(e,r){return n("tr",{class:t.isOdd(r)},[n("td",[t._v(t._s(e[0]))]),t._v(" "),n("td",[t._v(t._s(e[1]))]),t._v(" "),n("td",[t._v(t._s(e[2]))]),t._v(" "),n("td",{attrs:{title:e[4]}},[t._v(t._s(e[3]))])])}))],2)]),t._v(" "),t.tableDataHistory.length>1?n("input",{directives:[{name:"model",rawName:"v-model",value:t.tick,expression:"tick"}],staticClass:"range",attrs:{type:"range",max:t.tableDataHistory.length-1,min:"0",list:"tickmarks"+t._uid},domProps:{value:t.tick},on:{__r:function(e){t.tick=e.target.value}}}):t._e(),t._v(" "),n("datalist",{attrs:{id:"tickmarks"+t._uid}},t._l(t.tableDataHistory,(function(t,e){return n("option",{domProps:{value:e}})})),0)])],1)])])};function c(t,e){for(var n=0;n0&&!JSON.parse(sessionStorage.getItem(this.selectedServerDataIndex))&&(this.selectedServerData=this.serverlist[0])}},tableDataHistory:{handler:function(){sessionStorage.setItem("tableDataHistory"+this.boxNumber,JSON.stringify(this.tableDataHistory)),this.tick=this.tableDataHistory.length-1}},tableDataHistoryObject:{handler:function(){sessionStorage.setItem("tableDataHistoryObject"+this.boxNumber,JSON.stringify(this.tableDataHistoryObject)),this.tick=this.tableDataHistoryObject.length-1},deep:!0},executionTime:{handler:function(){sessionStorage.setItem("executionTime"+this.boxNumber,JSON.stringify(this.executionTime))},deep:!0},selectedServerData:{handler:function(){sessionStorage.setItem("selectedServerData"+this.boxNumber,JSON.stringify(this.selectedServerData))},deep:!0},target:{handler:function(){sessionStorage.setItem("target"+this.boxNumber,JSON.stringify(this.target))},deep:!0},tableData:{handler:function(){sessionStorage.setItem(this.tableDataIndex,JSON.stringify(this.tableData))},deep:!0},tick:{handler:function(){sessionStorage.setItem(this.tickIndex,JSON.stringify(this.tick)),this.tableDataHistory.length>0&&(this.tableData=this.tableDataHistory[this.tick])}}},computed:{selectedServerDataIndex:function(){return"selectedServerData"+this.boxNumber},tickIndex:function(){return"tick"+this.boxNumber},tableDataIndex:function(){return"tableData"+this.boxNumber},infoString:function(){var t=this.tableDataHistoryObject[this.tick];return null!=t?t.displayInfo():""},tryHard:function(){this.selectedServerData||(this.selectedServerData=this.initData)}},methods:{isOdd:function(t){return t%2==0?"odd":"even"},handleClick:function(){this.traceRoute()},setLastExecutionTime:function(){var t=new Date;this.executionTime=t.toISOString()},traceRoute:function(){var t=this;this.isLoading=!0;var e=this.getJobCount;this.jobList.push(e),a.a.get("http://"+this.selectedServerData.getIpPortAsString()+"/v3/client/request/"+this.target).then((function(e){t.tableData=e.data,t.setLastExecutionTime(),t.tableDataHistory.push(t.tableData),t.tick=t.tableDataHistory.length-1;var n=new f;n.initObjectByElements(t.selectedServerData,t.executionTime,t.tableData,t.target),t.tableDataHistoryObject.push(n)})).catch((function(e){if(void 0!==e.response){t.tableData={0:{0:"Status-Code: HTTP/"+e.response.status,1:"Message: "+e.response.statusText,2:"",3:"",4:""}},t.setLastExecutionTime(),t.tableDataHistory.push(t.tableData),t.tick=t.tableDataHistory.length-1;var n=new f;n.initObjectByElements(t.selectedServerData,t.executionTime,t.tableData,t.target),t.tableDataHistoryObject.push(n)}})).finally((function(n){var r=t.jobList.indexOf(e);~r&&t.jobList.splice(r,1),t.jobList.length<1&&(t.jobCount=0,t.isLoading=!1)}))},getJobCount:function(){return this.jobCount+=1,this.jobCount},resetData:function(){this.executionTime="Not execute yet",this.target="luan.xicon.eu",this.tableData=[],this.tableDataHistory=[],this.tableDataHistoryObject=[],this.selectedServerData=this.serverlist[0],this.tick=""}},mounted:function(){var t=this;(sessionStorage.getItem("tableDataHistory"+this.boxNumber)&&(this.tableDataHistory=JSON.parse(sessionStorage.getItem("tableDataHistory"+this.boxNumber))),sessionStorage.getItem("tick"+this.boxNumber)&&(this.tick=parseInt(sessionStorage.getItem("tick"+this.boxNumber))),sessionStorage.getItem("executionTime"+this.boxNumber)&&(this.executionTime=JSON.parse(sessionStorage.getItem("executionTime"+this.boxNumber))),sessionStorage.getItem("tableDataHistoryObject"+this.boxNumber))&&JSON.parse(sessionStorage.getItem("tableDataHistoryObject"+this.boxNumber)).forEach((function(e){var n=new f,r=new u;r.initObjectByJson(e._requestServer),n.initObjectByElements(r,e._requestSendTime,e._responseData,e._targetUrl),t.tableDataHistoryObject.push(n)}));if(sessionStorage.getItem("selectedServerData"+this.boxNumber)){var e=new u,n=JSON.parse(sessionStorage.getItem("selectedServerData"+this.boxNumber));e.initObjectByJson(n),this.selectedServerData=e}sessionStorage.getItem("target"+this.boxNumber)&&(this.target=JSON.parse(sessionStorage.getItem("target"+this.boxNumber))),sessionStorage.getItem("tableData"+this.boxNumber)&&(this.tableData=JSON.parse(sessionStorage.getItem("tableData"+this.boxNumber)))}};n(34);function p(t,e,n,r,i,o,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var v=p(d,s,[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("IP")]),this._v(" "),e("td",[this._v("HOSTNAME")]),this._v(" "),e("td",[this._v("PING")]),this._v(" "),e("td",[this._v("AS")])])}],!1,null,"07b39850",null);v.options.__file="src/StatusBox.vue";var h=v.exports,m={components:{StatusBoxVue:h},data:function(){return{pendingParent:!0,listOfServers:[],checkedBoxes:[],traceBoxes:[h,h,h,h,h,h]}},watch:{checkedBoxes:{handler:function(){sessionStorage.setItem("checkedBoxes",JSON.stringify(this.checkedBoxes))},deep:!0},listOfServers:{handler:function(){sessionStorage.setItem("listOfServers",JSON.stringify(this.listOfServers))},deep:!0},traceBoxes:{handler:function(){sessionStorage.setItem("traceBoxes",JSON.stringify(this.traceBoxes))}}},mounted:function(){var t=this;sessionStorage.getItem("listOfServers")?(JSON.parse(sessionStorage.getItem("listOfServers")).forEach((function(e){var n=new u;n.initObjectByJson(e),t.listOfServers.push(n)})),this.pendingParent=!1):this.getServer();sessionStorage.getItem("traceBoxes")&&(this.traceBoxes=[],JSON.parse(sessionStorage.getItem("traceBoxes")).forEach((function(e){t.traceBoxes.push(h)}))),sessionStorage.getItem("checkedBoxes")&&(this.checkedBoxes=JSON.parse(sessionStorage.getItem("checkedBoxes"))),this.setActiveFromSession(this.checkedBoxes)},methods:{resetData:function(){this.$refs.boxref.forEach((function(t){t.resetData()})),this.checkedBoxes=[],this.traceBoxes=[h,h,h,h,h,h]},resetSession:function(){this.resetData(),sessionStorage.clear(),document.querySelectorAll("[id^=tableId_]").forEach((function(t){t.className="table table-striped"}))},setActive:function(t){this.$nextTick((function(){var e=document.getElementById("tableId_"+t).className;document.getElementById("tableId_"+t).className="table table-striped"==e?"table table-striped active":"table table-striped"}))},setActiveFromSession:function(t){var e=this;t.forEach((function(t){e.setActive(t)}))},executeAllBoxes:function(){this.$refs.boxref.forEach((function(t){setTimeout((function(){cosole.log("ttest")}),1e3),t.traceRoute()}))},executeSpecificBoxes:function(t){var e=this.$refs.boxref;t.forEach((function(t){e.forEach((function(e){t==e.boxNumber&&e.traceRoute()}))}))},addTraceBox:function(){this.traceBoxes.push(h)},refreshServerlist:function(){this.listOfServers=[],this.getServer()},getServer:function(){var t=this;a.a.get("http://xtr-master.xicon.eu/v3/server/list/online").then((function(e){e.data.forEach((function(e){var n=new u;n.initObjectByArray(e),t.listOfServers.push(n)}))})).catch((function(t){})).finally((function(e){t.pendingParent=!1}))}}},y=(n(36),p(m,i,[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"info",attrs:{id:"info",title:"test"}},[t._v("\n\t\t\tⓘ\n\t\t\t"),n("div",{staticClass:"info_box",attrs:{id:"info_box"}},[t._v("\n\t\t\t\tThis service is free for use by accepting the "),n("a",{attrs:{href:"aup.txt"}},[t._v("Acceptable Use Policy")]),t._v("."),n("br"),t._v(" "),n("br"),t._v("\n\t\t\t\tThis is just an interface to to give a more GUI-ish\n\t\t\t\taccess to the self-registered XTR clients. No traceroute requests will be saved on this server. All request to the XTR clients\n\t\t\t\tare handled by your browser."),n("br"),t._v(" "),n("br"),t._v("\n\t\t\t\tWant to add your server? "),n("a",{attrs:{href:"xtr.pl"}},[t._v("Download XTR client")]),t._v(" now. Readme included in source code!"),n("br"),t._v("\n\t\t\t\tWant to run your own master server? "),n("a",{attrs:{href:"xtrd.pl"}},[t._v("Download XTRd")]),t._v(". Readme included in source code!"),n("br"),t._v(" "),n("br"),t._v("\n\t\t\t\tQuestions?/Impress? -> "),n("a",{attrs:{href:"mailto:rest@xicon.de"}},[t._v("Friedrich Schrader")])])])}],!1,null,"98ade07e",null));y.options.__file="src/StatusBoxContainer.vue";var g=y.exports;new r.a({el:"#statusBoxContainer",render:function(t){return t(g)}})}]); \ No newline at end of file diff --git a/src/StatusBoxContainer.vue b/src/StatusBoxContainer.vue index 0ad2ae6..828660c 100644 --- a/src/StatusBoxContainer.vue +++ b/src/StatusBoxContainer.vue @@ -167,7 +167,8 @@ export default { var boxesRefs = this.$refs.boxref; boxesRefs.forEach(function(boxRef) { - wait(1000); + setTimeout(function(){ cosole.log('ttest') }, 1000); + boxRef.traceRoute(); }); },