From 5db6fe2df69937de5f13c3301934521301179bc6 Mon Sep 17 00:00:00 2001 From: b068931cc450442b63f5b3d276ea4297 <77171083+b068931cc450442b63f5b3d276ea4297@users.noreply.github.com> Date: Tue, 23 Jan 2024 20:24:38 +0100 Subject: [PATCH] add new dist for pl locales --- ...87afd9.css => chunk-0861991e.3b87afd9.css} | 0 ...0f6319.css => chunk-20894ada.030f6319.css} | 0 app/frontend/dist/index.html | 2 +- app/frontend/dist/js/app.516a37a0.js | 2 -- app/frontend/dist/js/app.516a37a0.js.map | 1 - app/frontend/dist/js/app.5d381dba.js | 2 ++ app/frontend/dist/js/app.5d381dba.js.map | 1 + .../dist/js/chunk-0861991e.9c29cadc.js | 2 ++ .../dist/js/chunk-0861991e.9c29cadc.js.map | 1 + .../dist/js/chunk-0d175fb6.e0662e09.js | 2 -- .../dist/js/chunk-0d175fb6.e0662e09.js.map | 1 - ...738c2c59.js => chunk-20894ada.5d58a9fc.js} | 4 +-- .../dist/js/chunk-20894ada.5d58a9fc.js.map | 1 + ...2995d2b5.js => chunk-2d0b23b3.7a92b6b1.js} | 2 +- ....js.map => chunk-2d0b23b3.7a92b6b1.js.map} | 2 +- ...34f80742.js => chunk-2d0b6d35.594f8d0e.js} | 2 +- ....js.map => chunk-2d0b6d35.594f8d0e.js.map} | 2 +- ...f849dd44.js => chunk-2d0baeaa.e5cd247b.js} | 2 +- ....js.map => chunk-2d0baeaa.e5cd247b.js.map} | 2 +- ...8db26e9f.js => chunk-2d0cfa15.15a50d26.js} | 2 +- ....js.map => chunk-2d0cfa15.15a50d26.js.map} | 2 +- ...3f383516.js => chunk-2e6079ad.09954c81.js} | 2 +- ....js.map => chunk-2e6079ad.09954c81.js.map} | 2 +- .../dist/js/chunk-ba2c4548.738c2c59.js.map | 1 - .../dist/js/chunk-vendors.0c96780d.js | 25 ------------------- .../dist/js/chunk-vendors.0c96780d.js.map | 1 - .../dist/js/chunk-vendors.bad3f814.js | 25 +++++++++++++++++++ .../dist/js/chunk-vendors.bad3f814.js.map | 1 + 28 files changed, 46 insertions(+), 46 deletions(-) rename app/frontend/dist/css/{chunk-0d175fb6.3b87afd9.css => chunk-0861991e.3b87afd9.css} (100%) rename app/frontend/dist/css/{chunk-ba2c4548.030f6319.css => chunk-20894ada.030f6319.css} (100%) delete mode 100644 app/frontend/dist/js/app.516a37a0.js delete mode 100644 app/frontend/dist/js/app.516a37a0.js.map create mode 100644 app/frontend/dist/js/app.5d381dba.js create mode 100644 app/frontend/dist/js/app.5d381dba.js.map create mode 100644 app/frontend/dist/js/chunk-0861991e.9c29cadc.js create mode 100644 app/frontend/dist/js/chunk-0861991e.9c29cadc.js.map delete mode 100644 app/frontend/dist/js/chunk-0d175fb6.e0662e09.js delete mode 100644 app/frontend/dist/js/chunk-0d175fb6.e0662e09.js.map rename app/frontend/dist/js/{chunk-ba2c4548.738c2c59.js => chunk-20894ada.5d58a9fc.js} (97%) create mode 100644 app/frontend/dist/js/chunk-20894ada.5d58a9fc.js.map rename app/frontend/dist/js/{chunk-2d0b23b3.2995d2b5.js => chunk-2d0b23b3.7a92b6b1.js} (98%) rename app/frontend/dist/js/{chunk-2d0b23b3.2995d2b5.js.map => chunk-2d0b23b3.7a92b6b1.js.map} (88%) rename app/frontend/dist/js/{chunk-2d0b6d35.34f80742.js => chunk-2d0b6d35.594f8d0e.js} (96%) rename app/frontend/dist/js/{chunk-2d0b6d35.34f80742.js.map => chunk-2d0b6d35.594f8d0e.js.map} (79%) rename app/frontend/dist/js/{chunk-2d0baeaa.f849dd44.js => chunk-2d0baeaa.e5cd247b.js} (98%) rename app/frontend/dist/js/{chunk-2d0baeaa.f849dd44.js.map => chunk-2d0baeaa.e5cd247b.js.map} (92%) rename app/frontend/dist/js/{chunk-2d0cfa15.8db26e9f.js => chunk-2d0cfa15.15a50d26.js} (92%) rename app/frontend/dist/js/{chunk-2d0cfa15.8db26e9f.js.map => chunk-2d0cfa15.15a50d26.js.map} (64%) rename app/frontend/dist/js/{chunk-2e6079ad.3f383516.js => chunk-2e6079ad.09954c81.js} (99%) rename app/frontend/dist/js/{chunk-2e6079ad.3f383516.js.map => chunk-2e6079ad.09954c81.js.map} (94%) delete mode 100644 app/frontend/dist/js/chunk-ba2c4548.738c2c59.js.map delete mode 100644 app/frontend/dist/js/chunk-vendors.0c96780d.js delete mode 100644 app/frontend/dist/js/chunk-vendors.0c96780d.js.map create mode 100644 app/frontend/dist/js/chunk-vendors.bad3f814.js create mode 100644 app/frontend/dist/js/chunk-vendors.bad3f814.js.map diff --git a/app/frontend/dist/css/chunk-0d175fb6.3b87afd9.css b/app/frontend/dist/css/chunk-0861991e.3b87afd9.css similarity index 100% rename from app/frontend/dist/css/chunk-0d175fb6.3b87afd9.css rename to app/frontend/dist/css/chunk-0861991e.3b87afd9.css diff --git a/app/frontend/dist/css/chunk-ba2c4548.030f6319.css b/app/frontend/dist/css/chunk-20894ada.030f6319.css similarity index 100% rename from app/frontend/dist/css/chunk-ba2c4548.030f6319.css rename to app/frontend/dist/css/chunk-20894ada.030f6319.css diff --git a/app/frontend/dist/index.html b/app/frontend/dist/index.html index 167eb87..e8aaf8e 100644 --- a/app/frontend/dist/index.html +++ b/app/frontend/dist/index.html @@ -1 +1 @@ -Vue App
\ No newline at end of file +Vue App
\ No newline at end of file diff --git a/app/frontend/dist/js/app.516a37a0.js b/app/frontend/dist/js/app.516a37a0.js deleted file mode 100644 index d92c0dd..0000000 --- a/app/frontend/dist/js/app.516a37a0.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(e){function t(t){for(var o,n,r=t[0],c=t[1],l=t[2],u=0,d=[];udurante la creazione del punto di accesso.","error_msg2":"Controlla di aver configurato le interfacce di rete
giuste nel back-end."},"report":{"show_full_report":"Mostra il rapporto completo","start_new_capture":"Avvia una nuova acquisizione","save_capture":"Salva acquisizione","save":"Salvare","print":"Stampare","numbers":["zero","uno","due","tre","quattro","cinque","sei","sette","otto","nove","dieci","undici"],"stalkerware_msg":"Il dispositivo è compromesso da
uno stalkerware, controllare il rapporto.","location_msg":"Un\'applicazione condivide la
geolocalizzazione attuale con terze parti.","fine_msg":"Sembra tutto a posto,
non sono presenti avvisi.","high_msg":"È presente {nb} avviso con priorità elevata,
il dispositivo sembra compromesso.","moderate_msg":"Sono presenti {nb} avvisi con priorità moderata, è possibile che il dispositivo sia compromesso.","low_msg":"Sono presenti solo {nb} avvisi con priorità bassa
da controllare.","save_report":"Salva il rapporto","report_of":"Rapporto di","detection_methods":"Metodi di rilevamento:","indicators":"Indicatori","heuristics":"Anomalie","active":"Attiva","pcap_sha1":"SHA1 della cattura:","capture_started":"Cattura è iniziata su:","capture_ended":"Cattura terminata su:","high":"elevata","moderate":"moderata","low":"bassa","uncat_coms_table":"Comunicazioni non categorizzate","whitelisted_coms_table":"Comunicazioni autorizzate","no_alerts_title":"L\'analisi delle comunicazioni del tuo dispositivo non ha causato alcun avviso.","no_alerts_subtext":"Di seguito puoi vedere le comunicazioni emesse da esso durante la cattura.","protocol":"Protocollo","domain_name":"Dominio","ip_address":"Indirizzo IP","port":"Porto"},"wifi-select":{"wifi_connected":"Wi-Fi collegato","wifi_not_connected":"Wi-Fi non connesso. Riprovare.","wifi_password":"Password","connect_to_it":"Connettersi"},"save-capture":{"please_connect":"Collegare una chiave USB per salvare l\'acquisizione.","we_are_saving":"Salvataggio dell\'acquisizione in corso.","tap_msg":"È possible toccare la chiave USB per avviare una nuova acquisizione.","capture_download":"Il download dell\'acquisizione sta per iniziare...","start_capture_btn":"Avvia un\'altra acquisizione"},"modals":{"want_to_quit":"Vuoi chiudere la app?","no_go_back":"No, tornare","yes_continue":"Sì, continuare","please_give_the_password":"Inserire la password della rete:","want_to_whitelist":"Vuoi aggiungere {host} alla lista bianca
per le prossime analisi?"}}')},"56d7":function(e,t,a){"use strict";a.r(t),a.d(t,"EventBus",(function(){return D}));var o=a("2b0e"),n=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("Modals"),t("router-view"),t("Controls")],1)},i=[],s=a("bc3a"),r=a.n(s),c=function(){var e=this,t=e._self._c;return e.display?t("div",{staticClass:"controls"},[t("i",{staticClass:"battery",class:[e.battery_icon]}),e.iface_out.startsWith("wl")?t("div",{staticClass:"dropup"},[t("i",{staticClass:"wifi",class:[e.wifi_icon]}),t("div",{staticClass:"dropup-content"},[t("ul",e._l(e.wifi_networks,(function(a){return t("li",{key:a,on:{click:function(t){return e.show_modal_wifi(a.name)}}},[t("i",{staticClass:"wifi_mini",class:[e.get_wifi_icon(a.signal)]}),e._v(e._s(a.name)+" ")])})),0)])]):e._e(),t("i",{staticClass:"iocs-number",class:{"border-green":e.iocs_number}},[e._v(e._s(e.iocs_number)+" IOCs")]),e.ip_address?t("i",{staticClass:"ip_addr",class:{"border-green":e.internet}},[e._v(e._s(e.ip_address)+" ")]):t("i",{staticClass:"ip_addr"},[e._v("Not connected")]),t("i",{staticClass:"home-icon",on:{click:function(t){return e.goto_home()}}}),e.backend_option?t("i",{staticClass:"config-icon",on:{click:function(t){return e.goto_backend()}}}):e._e(),e.shutdown_option?t("i",{staticClass:"shutdown-icon",on:{click:function(t){return e.show_modal_shutdown()}}}):e._e()]):e._e()},l=[],u=(a("14d9"),{name:"Controls",data:function(){return{display:!0,update_available:!1,update_possible:!1,shutdown_option:!1,backend_option:!1,remote_backend:!1,iface_out:"",battery_icon:"",wifi_icon:"",wifi_networks:[],iocs_number:0,internet:!1}},methods:{check_update:function(){r.a.get("/api/update/check",{timeout:6e4}).then(e=>{e.data.status?"A new version is available"==e.data.message&&(this.update_available=!0,this.update_possible=!0,window.current_version=e.data.current_version,window.next_version=e.data.next_version):this.update_possible=!1}).catch(e=>{console.log(e)})},goto_backend:function(){this.remote_backend?window.location.href=`https://${location.hostname}:8443`:window.location.href=`http://${location.hostname}:8443`},goto_home:function(){window.location.href="/"},load_config:function(){setInterval(()=>{r.a.get("/api/misc/config",{timeout:6e4}).then(e=>{this.shutdown_option=e.data.shutdown_option,this.backend_option=e.data.backend_option,this.remote_backend=e.data.remote_backend,this.battery_icon=this.get_battery_icon(e.data.battery_level),this.wifi_icon=this.get_wifi_icon(e.data.wifi_level),this.iocs_number=e.data.iocs_number,this.iface_out=e.data.iface_out}).catch(e=>{console.log(e)})},1e3)},get_battery_icon:function(e){return 101==e?"battery_charging":e>=90?"battery_full":e>=80?"battery_80":e>=60?"battery_60":e>=40?"battery_40":e>=25?"battery_25":e<25?"battery_15":"battery_critical"},get_wifi_icon:function(e){return e>=80?"wifi_5":e>=60?"wifi_4":e>=40?"wifi_3":e>=20?"wifi_2":e>=1?"wifi_1":"wifi_0"},show_modal_shutdown:function(){D.$emit("showModal",{action:"shutdown"})},show_modal_wifi:function(e){D.$emit("showModal",{action:"wifi",network_name:e})},get_wifi_networks:function(){setInterval(()=>{r.a.get("/api/network/wifi/list",{timeout:1e4}).then(e=>{this.wifi_networks=[],e.data.networks.forEach(e=>{e.name!=window.access_point&&this.wifi_networks.push(e)})}).catch(e=>{console.log(e)})},1e3)},check_internet:function(){setInterval(()=>{r.a.get("/api/network/status",{timeout:3e4}).then(e=>{e.data.internet?(this.internet=!0,this.ip_address=e.data.ip_out):(this.internet=!1,this.ip_address=!1)}).catch(e=>console.log(e))},1e3)}},watch:{$route(){["loader"].includes(this.$router.currentRoute.name)?this.display=!1:this.display=!0}},created:function(){this.load_config(),this.check_internet(),this.get_wifi_networks()}}),d=u,p=a("2877"),_=Object(p["a"])(d,c,l,!1,null,null,null),m=_.exports,h=function(){var e=this,t=e._self._c;return e.display?t("div",[t("div",{staticClass:"blurred-wrapper",on:{click:function(t){return e.hide_modal()}}}),e.display_shudown?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",[e._v(e._s(e.$t("modals.want_to_quit")))]),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.hide_modal()}}},[e._v(e._s(e.$t("modals.no_go_back")))]),e._v(" "),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.shutdown()}}},[e._v(e._s(e.$t("modals.yes_continue")))])])]):e._e(),e.display_whitelist?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",{domProps:{innerHTML:e._s(e.$t("modals.want_to_whitelist").replace("{host}",e.host))}}),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.hide_modal()}}},[e._v(e._s(e.$t("modals.no_go_back")))]),e._v(" "),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.add_whitelist()}}},[e._v(e._s(e.$t("modals.yes_continue")))])])]):e._e(),e.display_wifi?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",[e._v(e._s(e.$t("modals.please_give_the_password"))+" "),t("strong",[e._v(e._s(e.wifi_network))])]),t("div",{staticClass:"form-group"},[t("div",{class:e.password_class,on:{click:e.show_password}}),"checkbox"===e.type?t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:"checkbox"},domProps:{checked:Array.isArray(e.password)?e._i(e.password,null)>-1:e.password},on:{click:function(t){e.show_keyboard=!0},change:function(t){var a=e.password,o=t.target,n=!!o.checked;if(Array.isArray(a)){var i=null,s=e._i(a,i);o.checked?s<0&&(e.password=a.concat([i])):s>-1&&(e.password=a.slice(0,s).concat(a.slice(s+1)))}else e.password=n}}}):"radio"===e.type?t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:"radio"},domProps:{checked:e._q(e.password,null)},on:{click:function(t){e.show_keyboard=!0},change:function(t){e.password=null}}}):t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:e.type},domProps:{value:e.password},on:{click:function(t){e.show_keyboard=!0},input:function(t){t.target.composing||(e.password=t.target.value)}}})]),t("div",{staticClass:"form-group"},[t("button",{staticClass:"btn width-100",class:[e.wifi_connecting?"loading":"",e.wifi_success?"btn-success":"btn-primary"],on:{click:function(t){return e.wifi_setup()}}},[e._v(e._s(e.btn_wifi_val))])])])]):e._e(),e.show_keyboard?t("div",{staticClass:"keyboard_wrapper"},[t("SimpleKeyboard",{attrs:{input:e.input},on:{onChange:e.onChange,onKeyPress:e.onKeyPress}})],1):e._e()]):e._e()},w=[],g=a("a18c"),f=function(){var e=this,t=e._self._c;return t("div",{class:e.keyboardClass})},b=[],v=a("dd7f"),y=a.n(v),k=(a("d2db"),a("a044")),S={name:"SimpleKeyboard",props:{keyboardClass:{default:"simple-keyboard",type:String},input:{type:String}},data:()=>({keyboard:null}),mounted(){"fr"==window.config.user_lang?this.keyboard=new y.a({onChange:this.onChange,onKeyPress:this.onKeyPress,...k["a"]}):this.keyboard=new y.a({onChange:this.onChange,onKeyPress:this.onKeyPress})},methods:{onChange(e){this.$emit("onChange",e)},onKeyPress(e){this.$emit("onKeyPress",e),"{shift}"!==e&&"{lock}"!==e||this.handleShift()},handleShift(){let e=this.keyboard.options.layoutName,t="default"===e?"shift":"default";this.keyboard.setOptions({layoutName:t})}},watch:{input(e){this.keyboard.setInput(e)}}},z=S,C=Object(p["a"])(z,f,b,!1,null,"24d38e56",null),A=C.exports,P={name:"Modals",data:function(){return{btn_wifi_val:this.$t("wifi-select.connect_to_it"),wifi_connecting:!1,error:!1,wifi_success:!1,password:"",capture_token:"",display_whitelist:!1,display_shudown:!1,display_wifi:!1,display:!1,wifi_network:"",show_keyboard:!1,input:"",type:"password",password_class:"password-show"}},components:{SimpleKeyboard:A},methods:{hide_modal:function(){this.display=!1},shutdown:function(){r.a.get("/api/misc/shutdown",{timeout:3e4})},add_whitelist:function(){r.a.get("/api/misc/whitelist/"+this.host,{timeout:3e4}),this.display=!1},onChange(e){this.input=e,this.password=this.input},onKeyPress(e){"{enter}"==e&&(this.show_keyboard=!1)},onInputChange(e){this.input=e.target.value},show_password(){"password"===this.type?(this.type="text",this.password_class="password-hide"):(this.type="password",this.password_class="password-show")},wifi_setup:function(){this.password.length>=8&&(this.wifi_connecting=!0,r.a.post("/api/network/wifi/setup",{ssid:this.wifi_network,password:this.password},{timeout:6e4}).then(e=>{e.data.status?(this.wifi_success=!0,this.wifi_connecting=!1,this.btn_wifi_val=this.$t("wifi-select.wifi_connected"),setTimeout(()=>{this.display=!1,this.btn_wifi_val=this.$t("wifi-select.connect_to_it"),g["a"].push("generate-ap")},1e3)):(this.btn_wifi_val=this.$t("wifi-select.wifi_not_connected"),this.wifi_connecting=!1,setTimeout(()=>{this.btn_wifi_val=this.$t("wifi-select.connect_to_it")},1e3))}))}},created:function(){D.$on("showModal",e=>{this.input="","shutdown"==e.action?(this.show_keyboard=!1,this.display_wifi=!1,this.display_shudown=!0,this.display_whitelist=!1,this.display=!0):"wifi"==e.action?(this.wifi_connecting=!1,this.wifi_success=!1,this.password="",this.btnval=this.$t("wifi-select.connect_to_it"),this.display_shudown=!1,this.display_wifi=!0,this.display_whitelist=!1,this.wifi_network=e.network_name,this.display=!0):"whitelist"==e.action&&(this.show_keyboard=!1,this.display_wifi=!1,this.display_shudown=!1,this.display_whitelist=!0,this.host=e.host,this.display=!0)})}},N=P,I=Object(p["a"])(N,h,w,!1,null,null,null),q=I.exports;document.title="SPYGUARD";var x={name:"app",components:{Controls:m,Modals:q},data(){return{splash:!1}},methods:{set_lang:function(){if(window.config.user_lang){var e=window.config.user_lang;Object.keys(this.$i18n.messages).includes(e)&&(this.$i18n.locale=e,document.querySelector("html").setAttribute("lang",e))}},get_config:function(){r.a.get("/api/misc/config",{timeout:6e4}).then(e=>{window.config=e.data,this.set_lang()}).catch(e=>{console.log(e)})}},watch:{$route(){["loader"].includes(this.$router.currentRoute.name)?this.splash=!0:this.splash=!1}},created:function(){window.config={},this.get_config()}},W=x,B=(a("a0d8"),Object(p["a"])(W,n,i,!1,null,null,null)),O=B.exports,$=a("a925");o["a"].use($["a"]);const M=new $["a"]({locale:"en",fallbackLocale:"en",messages:{en:a("edd4"),fr:a("f693"),es:a("a306"),ru:a("7704"),pt:a("5d67"),it:a("0825"),de:a("6ce2")}});o["a"].config.productionTip=!0,o["a"].config.devtools=!0;const D=new o["a"];new o["a"]({router:g["a"],i18n:M,render:e=>e(O)}).$mount("#app")},"5d67":function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bem vindo(a) ao SpyGuard.","help_msg":"Ajudaremos você a verificar o dispositivo.","start_btn":"Vamos começar!"},"analysis":{"question":"Deseja analisar as comunicações capturadas?","no_btn":"Não, somente salvá-las","yes_btn":"Sim, vamos lá","please_wait_msg":"Aguarde enquanto realizamos a análise...","some_time_msg":"Sim, isso pode demorar um pouco..."},"capture":{"intercept_coms_msg":"Interceptando as comunicações de ","stop_btn":"Parar a captura"},"generate-ap":{"network_name":"Nome da rede","network_password":"Senha da rede","tap_msg":"Toque no quadro branco para criar uma nova rede.","generate_ap_msg":"Geramos uma rede temporária para você.","error_msg1":"Infelizmente, tivemos alguns problemas
durante a criação do AP.","error_msg2":"Verifique se você configurou as interfaces de rede
corretas no back-end."},"report":{"show_full_report":"Mostrar o relatório completo","start_new_capture":"Iniciar nova captura","save_capture":"Salvar a captura","save":"Salvar","print":"Imprimir","numbers":["zero","um","dois","três","quatro","cinco","seis","sete","oito","nove","dez","onze"],"stalkerware_msg":"Seu dispositivo foi comprometido por
um stalkerware. Verifique o relatório.","location_msg":"Um aplicativo está compartilhando sua
geolocalização com um terceiro.","fine_msg":"Tudo parece estar bem, zero alertas.","high_msg":"Você tem {nb} alerta crítico,
o dispositivo parece estar comprometido.","moderate_msg":"Você tem {nb} alertas moderados,
o dispositivo pode estar comprometido.","low_msg":"Você tem apenas {nb} alertas leves,
não deixe de verificá-los.","save_report":"Salvar o relatório","report_of":"Relatório de","detection_methods":"Métodos de detecção:","indicators":"Indicadores","heuristics":"Anomalias","active":"Activa","pcap_sha1":"SHA1 da captura:","capture_started":"Captura iniciada em:","capture_ended":"Captura terminou em:","high":"crítico","moderate":"moderado","low":"leve","uncat_coms_table":"Comunicações não categorizadas","whitelisted_coms_table":"Comunicações na lista branca","no_alerts_title":"A análise das comunicações do seu dispositivo não causou nenhum alerta.","no_alerts_subtext":"Você pode ver abaixo as comunicações emitidas por ele durante a captura.","protocol":"Protocolo","domain_name":"Domínio","ip_address":"Endereço IP:","port":"Porto"},"wifi-select":{"wifi_connected":"Wi-Fi conectado","wifi_not_connected":"Wi-Fi desconectado. Tente novamente.","wifi_password":"Senha do Wi-Fi","connect_to_it":"Conectar"},"save-capture":{"please_connect":"Conecte uma chave USB para salvar a captura.","we_are_saving":"Estamos salvando a captura.","tap_msg":"Toque na chave USB para iniciar uma nova captura.","capture_download":"O download da captura vai começar...","start_capture_btn":"Iniciar nova captura"},"modals":{"want_to_quit":"Deseja fechar o aplicativo?","no_go_back":"Não, voltar","yes_continue":"Sim, continuar","please_give_the_password":"Indicar a senha da rede: ","want_to_whitelist":"Você quer adicionar {host} à lista branca
para as próximas análises?"}}')},"6ce2":function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Willkommen bei SpyGuard.","help_msg":"Wir helfen Ihnen bei der Überprüfung Ihres Geräts.","start_btn":"Fangen wir an!"},"analysis":{"question":"Möchten Sie die erfassten Kommunikationsverbindungen analysieren?","no_btn":"Nein, nur speichern","yes_btn":"Ja, analysieren","please_wait_msg":"Bitte warten Sie, während die Analyse läuft …","some_time_msg":"Dies kann eine Weile dauern …"},"capture":{"intercept_coms_msg":"Abfangen der Kommunikationsverbindungen von ","stop_btn":"Aufnahme beenden"},"generate-ap":{"network_name":"Netzwerkname","network_password":"Netzwerkpasswort","tap_msg":"Tippen Sie auf den weißen Rahmen, um ein neues Netzwerk zu erstellen.","generate_ap_msg":"Wir erstellen ein temporäres Netzwerk für Sie.","error_msg1":"Leider sind während der AP-Erstellung
einige Fehler aufgetreten.","error_msg2":"Bitte überprüfen Sie, ob Sie die richtigen
Netzwerkschnittstellen im Backend konfiguriert haben."},"report":{"show_full_report":"Vollständigen Bericht anzeigen","start_new_capture":"Neue Aufnahme starten","save_capture":"Aufnahme speichern","save":"Sichern","print":"Drucken","numbers":["null","eine","zwei","drei","vier","fünf","sechs","sieben","acht","neun","zehn","elf"],"stalkerware_msg":"Ihr Gerät ist durch Stalkerware
kompromittiert; bitte sehen Sie sich den Bericht an.","location_msg":"Eine Anwendung teilt Ihren
aktuellen Standort mit Dritten.","fine_msg":"Alles sieht gut aus – kein Warnungen.","high_msg":"Sie haben {nb} Warnung der Stufe \\"Hoch\\":
Ihr Gerät scheint kompromittiert zu sein.","moderate_msg":"Sie haben {nb} Warnungen der Stufe \\"Mittel\\":
Ihr Gerät könnte kompromittiert sein.","low_msg":"Sie haben nur {nb} Warnungen der Stufe \\"Niedrig\\":
Überprüfen Sie sie gerne.","save_report":"Bericht speichern","report_of":"Bericht zu","detection_methods":"Nachweismethoden:","indicators":"Indikatoren","heuristics":"Anomalien","active":"Aktiv","pcap_sha1":"SHA1 erfassen:","capture_started":"Capture begann mit:","capture_ended":"Capture endete an:","high":"Hoch","moderate":"Mittel","low":"Niedrig","uncat_coms_table":"Kommunikation nicht kategorisiert","whitelisted_coms_table":"Kommunikation auf der Whitelist","no_alerts_title":"Die Analyse der Kommunikation Ihres Geräts hat zu keinen Warnungen geführt.","no_alerts_subtext":"Unten können Sie die von ihm während der Erfassung ausgegebenen Mitteilungen sehen.","protocol":"Protokoll","domain_name":"Domain","ip_address":"IP-Adresse:","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi verbunden","wifi_not_connected":"Wi-Fi nicht verbunden. Versuchen Sie es erneut.","wifi_password":"Passwort","connect_to_it":"Anmelden"},"save-capture":{"please_connect":"Bitte schließen Sie einen USB-Stick an, um Ihre Aufnahme zu speichern.","we_are_saving":"Wir speichern Ihre Aufnahme.","tap_msg":"Sie können den USB-Stick antippen, um eine neue Aufnahme zu starten.","capture_download":"Der Download der Aufnahme beginnt…","start_capture_btn":"Noch eine Aufnahme starten"},"modals":{"want_to_quit":"Möchten Sie die App schließen?","no_go_back":"Nein, zurück kommen.","yes_continue":"Ja, weiter machen","please_give_the_password":"Bitte geben Sie das Netzwerkpasswort ein: ","want_to_whitelist":"Möchten Sie {host} für die nächsten
Analysen hinzufügen?"}}')},7704:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Добро пожаловать в SpyGuard.","help_msg":"Мы поможем вам проверить ваше устройство.","start_btn":"Итак, приступим!"},"analysis":{"question":"Хотите проанализировать зафиксированные подключения?","no_btn":"Нет, только сохранить","yes_btn":"Да, проанализировать","please_wait_msg":"Подождите, идет анализ...","some_time_msg":"Это может занять некоторое время..."},"capture":{"intercept_coms_msg":"Перехват подключений ","stop_btn":"Остановить сбор данных"},"generate-ap":{"network_name":"Имя сети","network_password":"Пароль сети","tap_msg":"Нажмите на белую рамку, чтобы создать новую сеть.","generate_ap_msg":"Создастся временная сеть.","error_msg1":"
При создании точки доступа возникли проблемы.","error_msg2":"Убедитесь, что вы настроили нужные сетевые интерфейсы
в задней части."},"report":{"show_full_report":"Показать полный отчет","start_new_capture":"Начать новый сбор данных","save_capture":"Сохранить сбор данных","save":"Сохранить","print":"Печатать","numbers":["ноль","один","два","три","четыре","пять","шесть","семь","восемь","девять","десять","одиннадцать"],"stalkerware_msg":"Ваше устройство взломано вредоносным
ПО для слежки. Проверьте отчет.","location_msg":"Приложение передает вашу
текущую геолокацию третьему лицу.","fine_msg":"Предупреждения отсутствуют,
система выглядит защищенной.","high_msg":"У вас {nb} предупреждение высокого уровня.
Вероятно,ваше устройство взломано.","moderate_msg":"У вас {nb} предупреждение среднего уровня.
Возможно, ваше устройство взломано.","low_msg":"У вас {nb} предупреждение низкого уровня
, проверьте их.","save_report":"Сохранить отчет","report_of":"Отчет","detection_methods":"методы обнаружения:","indicators":"Показателям","heuristics":"аномалии","active":"активное","pcap_sha1":"SHA1 захват:","capture_started":"Захват начался:","capture_ended":"захват закончился:","high":"высокий","moderate":"средний","low":"низкий","uncat_coms_table":"Несекретные сообщения","whitelisted_coms_table":"Связь в белом списке","no_alerts_title":"Анализ сообщений вашего устройства не вызвал никаких предупреждений.","no_alerts_subtext":"Ниже вы можете увидеть сообщения, отправленные им во время захвата.","protocol":"Протокол","domain_name":"домен","ip_address":"IP-адрес:","port":"порт"},"wifi-select":{"wifi_connected":"Подключено к сети Wi-Fi","wifi_not_connected":"Не подключено к сети Wi-Fi. Повторите попытку.","tap_keyboard":"Коснитесь виртуальной клавиатуры, чтобы начать","wifi_password":"Пароль Wi-Fi"},"save-capture":{"please_connect":"Подсоедините USB-ключ, чтобы сохранить результат сбора данных.","we_are_saving":"Сохранение собранных данных.","tap_msg":"Коснитесь USB-ключа, чтобы начать новый сбор данных.","capture_download":"Начинается загрузка собранных данных...","start_capture_btn":"Начать новый сбор данных"},"modals":{"want_to_quit":"Вы бы хотели уйти?","no_go_back":"Нет","yes_continue":"да","please_give_the_password":"VПожалуйста, введите сетевой пароль: ","want_to_whitelist":"Вы хотите добавить {host} в белый список
для будущих испытаний?"}}')},a0d8:function(e,t,a){"use strict";a("c266")},a18c:function(e,t,a){"use strict";var o=a("2b0e"),n=a("8c4f");o["a"].use(n["a"]);const i=[{path:"/",name:"loader",component:()=>a.e("chunk-2d0b6d35").then(a.bind(null,"1f8b")),props:!0},{path:"/home",name:"home",component:()=>a.e("chunk-2d0cfa15").then(a.bind(null,"6511")),props:!0},{path:"/generate-ap",name:"generate-ap",component:()=>a.e("chunk-2d0baeaa").then(a.bind(null,"38f5")),props:!0},{path:"/capture",name:"capture",component:()=>a.e("chunk-2e6079ad").then(a.bind(null,"e583")),props:!0},{path:"/save-capture",name:"save-capture",component:()=>a.e("chunk-0d175fb6").then(a.bind(null,"9152")),props:!0},{path:"/analysis",name:"analysis",component:()=>a.e("chunk-2d0b23b3").then(a.bind(null,"22da")),props:!0},{path:"/report",name:"report",component:()=>a.e("chunk-ba2c4548").then(a.bind(null,"e022")),props:!0}],s=new n["a"]({mode:"history",base:"/",routes:i});t["a"]=s},a306:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bienvenido a SpyGuard.","help_msg":"Te ayudaremos a revisar tu dispositivo","start_btn":"¡Empecemos!"},"analysis":{"question":"¿Quieres analizar las comunicaciones capturadas?","no_btn":"No, solo guárdalos","yes_btn":"Sí, hagámoslo","please_wait_msg":"Espere durante el análisis ...","some_time_msg":"Sí, puede llevar algún tiempo ..."},"capture":{"intercept_coms_msg":"Interceptando las comunicaciones de","stop_btn":"Detener la captura"},"generate-ap":{"network_name":"Nombre de la red","network_password":"Contraseña de red","tap_msg":"Toca el marco blanco para generar una nueva red","generate_ap_msg":"Generamos una red efímera para ti.","error_msg1":"Desafortunadamente, tuvimos algunos problemas
durante la creación del AP.","error_msg2":"Compruebe que ha configurado las interfaces de red
correctas en el back-end."},"report":{"show_full_report":"Mostrar el informe completo","start_new_capture":"Nueva captura","save_capture":"Guardar la captura","save":"Guardar","print":"Imprimir","numbers":["cero","uno","dos","Tres","cuatro","cinco","seis","Siete","ocho","nueve","diez","once"],"stalkerware_msg":"Su dispositivo está comprometido por
un Stalkerware, por favor revise el informe.","location_msg":"Una aplicación está compartiendo su
geolocalización actual con un tercero.","fine_msg":"Todo parece correcto, cero alertas","high_msg":"Tiene {nb} alerta máxima,
tu dispositivo parece estar comprometido","moderate_msg":"Tiene {nb} alertas moderadas,
tu dispositivo puede estar comprometido","low_msg":"Solo tiene {nb} alertas bajas,
por favor revíselas","save_report":"Guardar el informe","report_of":"Informe de","detection_methods":"Métodos de detección:","indicators":"Indicadores","heuristics":"Anomalías","active":"Activa","pcap_sha1":"SHA1 de la captura:","capture_started":"Captura comenzó a:","capture_ended":"Captura terminó a:","high":"alta","moderate":"moderada","low":"bajo","uncat_coms_table":"Sin categorizar Comunicaciones","whitelisted_coms_table":"Comunicaciones incluidas en la lista blanca","no_alerts_title":"El análisis de las comunicaciones de su dispositivo no generó ninguna alerta.","no_alerts_subtext":"Puedes ver a continuación las comunicaciones emitidas por éste durante la captura.","protocol":"Protocolo","domain_name":"Dominio","ip_address":"Dirección IP ","port":"Puerto"},"wifi-select":{"wifi_connected":"Wi-Fi conectada","wifi_not_connected":"Wi-Fi no conectado. Inténtelo de nuevo.","wifi_password":"Contraseña","connect_to_it":"Conectarse"},"save-capture":{"please_connect":"Conecte una llave USB para guardar su captura.","we_are_saving":"Estamos guardando tu captura.","tap_msg":"Puede tocar la llave USB para iniciar una nueva captura","capture_download":"La descarga de la captura va a comenzar ...","start_capture_btn":"Iniciar otra captura"},"modals":{"want_to_quit":"¿Quieres cerrar la aplicación?","no_go_back":"No, volver","yes_continue":"Sí, continuar","please_give_the_password":"Introduzca la contraseña de la red: ","want_to_whitelist":"¿Desea incluir {host}
en la lista blanca?"}}')},c266:function(e,t,a){},edd4:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Welcome to SpyGuard.","help_msg":"We are going to help you to check your device.","start_btn":"Let\'s start!"},"analysis":{"question":"Do you want to analyze the captured communications?","no_btn":"No, just save them","yes_btn":"Yes, let\'s do it","please_wait_msg":"Please wait during the analysis...","some_time_msg":"Yes, it can take some time..."},"capture":{"intercept_coms_msg":"Intercepting the communications of ","stop_btn":"Stop the capture"},"generate-ap":{"network_name":"Network name","network_password":"Network password","tap_msg":"Tap the white frame to generate a new network.","generate_ap_msg":"We generate an ephemeral network for you.","error_msg1":"Unfortunately, we got some issues
during the AP creation.","error_msg2":"Please check that you have configured the right
network interfaces in the back-end."},"report":{"show_full_report":"Show the full report","start_new_capture":"Start a new capture","save_capture":"Save the capture","save":"Save","print":"Print","numbers":["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven"],"stalkerware_msg":"Your device is compromised by
a Stalkerware, please check the report.","location_msg":"An application is sharing your
current geolocation with a third party.","fine_msg":"Everything looks fine, zero alerts.","high_msg":"You have {nb} high alert,
your device seems to be compromised.","moderate_msg":"You have {nb} moderate alerts,
your device might be compromised.","low_msg":"You have only {nb} low alerts,
don\'t hesitate to check them.","save_report":"Save the report","report_of":"Report of","detection_methods":"Detection methods:","indicators":"Indicators","heuristics":"Anomalies","active":"Active","pcap_sha1":"Capture SHA1:","capture_started":"Capture started on:","capture_ended":"Capture ended on:","high":"high","moderate":"moderate","low":"low","uncat_coms_table":"Uncategorized communications","whitelisted_coms_table":"Whitelisted communications","no_alerts_title":"Analysis of your smartphone\'s communications did not cause any alerts.","no_alerts_subtext":"You can see below the communications issued by it during the capture.","protocol":"Protocol","domain_name":"Domain","ip_address":"IP Address","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi connected","wifi_not_connected":"Wi-Fi not connected. Please retry.","wifi_password":"Password","connect_to_it":"Connect to it"},"save-capture":{"please_connect":"Please connect a USB key to save your capture.","we_are_saving":"We are saving your capture.","tap_msg":"You can tap the USB key to start a new capture.","capture_download":"The capture download is going to start...","start_capture_btn":"Start another capture"},"modals":{"want_to_quit":"Do you want to leave the application?","no_go_back":"No, go back","yes_continue":"Yes, continue","please_give_the_password":"Please enter the password for the network: ","want_to_whitelist":"Do you want to add {host} to the whitelist
for the next analysis?"}}')},f693:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bienvenue sur SpyGuard.","help_msg":"Nous allons vous accompagner pour analyser votre appareil.","start_btn":"Allons-y !"},"analysis":{"question":"Voulez-vous analyser les communications capturées ?","no_btn":"Non, enregistrez-les.","yes_btn":"Oui, allons-y !","please_wait_msg":"Merci d\'attendre pendant l\'analyse...","some_time_msg":"Oui, cela peut prendre du temps..."},"capture":{"intercept_coms_msg":"Interception des communications de ","stop_btn":"Arrêter la capture"},"generate-ap":{"network_name":"Nom du réseau Wi-Fi","network_password":"Mot de passe","tap_msg":"Appuyez sur le cadre blanc pour générer un nouveau réseau.","generate_ap_msg":"Nous générons un réseau Wi-Fi éphémère.","error_msg1":"Malheureusement, nous rencontrons des problèmes
lors de la création du point d\'accès.","error_msg2":"Veuillez vérifier avez renseigné les bonnes
interfaces réseau dans le back-end."},"report":{"show_full_report":"Lire le rapport complet","start_new_capture":"Nouvelle capture","save_capture":"Sauvegarder la capture","save":"Sauvegarder","print":"Imprimer","numbers":["zéro","une","deux","trois","quatre","cinq","six","sept","huit","neuf","dix","onze"],"stalkerware_msg":"Votre smartphone est compromis
par un Stalkerware, lisez le rapport.","location_msg":"Une application dévoile votre
géo-localisation actelle.","fine_msg":"Aucun flux suspect détecté,
vous avez aucune alerte.","high_msg":"Vous avez {nb} alerte.s élevée.s,
votre appareil semble être compromis.","moderate_msg":"Vous avez {nb} alerte.s moyenne.s,
votre appareil est peut-être compromis.","low_msg":"Vous avez uniquement {nb} alerte.s basse.s
n\'hésitez pas à les consulter.","save_report":"Archiver le rapport","report_of":"Rapport de","detection_methods":"Méthodes de détection :","indicators":"Indicateurs","heuristics":"Anomalies","active":"Active","pcap_sha1":"SHA1 de la capture :","capture_started":"Capture débutée le :","capture_ended":"Capture finie le :","high":"elevée","moderate":"moyenne","low":"basse","uncat_coms_table":"Communications non catégorisées","whitelisted_coms_table":"Communications sur liste blanche","no_alerts_title":"L\'analyse des communications de votre appareil n\'a provoqué aucune alerte.","no_alerts_subtext":"Vous pouvez voir ci-dessous les communications émises par celui-ci lors de la capture.","protocol":"Protocole","domain_name":"Domaine","ip_address":"Adresse IP","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi connecté","wifi_not_connected":"Wi-Fi non connecté. Réessayez.","wifi_password":"Mot de passe","connect_to_it":"Se connecter"},"save-capture":{"please_connect":"Connectez une clé USB pour enregistrer votre capture.","we_are_saving":"Nous enregistrons votre capture.","tap_msg":"Vous pouvez appuyer sur l\'animation pour lancer une nouvelle capture.","capture_download":"Le téléchargement de la capture va se lancer...","start_capture_btn":"Lancer une nouvelle capture"},"modals":{"want_to_quit":"Voulez-vous fermer l\'application ?","no_go_back":"Non, revenir","yes_continue":"Oui, continuer","please_give_the_password":"Veuillez renseigner le mot de passe du réseau : ","want_to_whitelist":"Voulez-vous ajouter {host} à la liste blanche
pour les prochaines analyses ?"}}')}}); -//# sourceMappingURL=app.516a37a0.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/app.516a37a0.js.map b/app/frontend/dist/js/app.516a37a0.js.map deleted file mode 100644 index 5338563..0000000 --- a/app/frontend/dist/js/app.516a37a0.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue","webpack:///./src/components/Controls.vue","webpack:///src/components/Controls.vue","webpack:///./src/components/Controls.vue?a1ee","webpack:///./src/components/Controls.vue?8e44","webpack:///./src/components/Modals.vue","webpack:///./src/components/SimpleKeyboard.vue","webpack:///src/components/SimpleKeyboard.vue","webpack:///./src/components/SimpleKeyboard.vue?fbca","webpack:///./src/components/SimpleKeyboard.vue?8b25","webpack:///src/components/Modals.vue","webpack:///./src/components/Modals.vue?d015","webpack:///./src/components/Modals.vue?486e","webpack:///src/App.vue","webpack:///./src/App.vue?60d0","webpack:///./src/App.vue?315a","webpack:///./src/plugins/i18n.js","webpack:///./src/main.js","webpack:///./src/App.vue?d371","webpack:///./src/router/index.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_c","_self","attrs","staticRenderFns","display","staticClass","class","battery_icon","iface_out","startsWith","wifi_icon","_l","wifi_networks","network","on","$event","show_modal_wifi","get_wifi_icon","signal","_v","_s","_e","iocs_number","ip_address","internet","goto_home","backend_option","goto_backend","shutdown_option","show_modal_shutdown","update_available","update_possible","remote_backend","methods","check_update","axios","response","status","current_version","next_version","catch","log","location","hostname","load_config","setInterval","get_battery_icon","battery_level","wifi_level","level","EventBus","$emit","network_name","get_wifi_networks","networks","forEach","access_point","check_internet","ip_out","watch","$route","includes","$router","currentRoute","created","component","hide_modal","display_shudown","$t","shutdown","display_whitelist","domProps","replace","host","add_whitelist","display_wifi","wifi_network","password_class","show_password","directives","rawName","password","expression","Array","isArray","_i","show_keyboard","$$a","$$el","$$c","checked","$$v","$$i","concat","_q","composing","wifi_connecting","wifi_success","wifi_setup","btn_wifi_val","input","onChange","onKeyPress","keyboardClass","props","default","String","keyboard","mounted","config","user_lang","Keyboard","layout","button","handleShift","currentLayout","options","layoutName","shiftToggle","setOptions","setInput","capture_token","components","SimpleKeyboard","onInputChange","post","ssid","router","$on","args","action","btnval","title","Controls","Modals","splash","set_lang","lang","keys","$i18n","messages","locale","querySelector","get_config","Vue","use","VueI18n","i18n","fallbackLocale","require","productionTip","devtools","h","App","$mount","VueRouter","routes","path","base","process"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,I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CACEqD,KAAM,QACNhM,KAAM,OACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,eACNhM,KAAM,cACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,WACNhM,KAAM,UACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,gBACNhM,KAAM,eACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,YACNhM,KAAM,WACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,UACNhM,KAAM,SACNoG,UAAWA,IAAM,gDACjBuC,OAAO,IAILuB,EAAS,IAAI4B,OAAU,CAC3B7K,KAAM,UACNgL,KAAMC,IACNH,WAGa7B,U","file":"js/app.516a37a0.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0d175fb6\":\"e0662e09\",\"chunk-2d0b23b3\":\"2995d2b5\",\"chunk-2d0b6d35\":\"34f80742\",\"chunk-2d0baeaa\":\"f849dd44\",\"chunk-2d0cfa15\":\"8db26e9f\",\"chunk-2e6079ad\":\"3f383516\",\"chunk-ba2c4548\":\"738c2c59\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-0d175fb6\":1,\"chunk-ba2c4548\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0d175fb6\":\"3b87afd9\",\"chunk-2d0b23b3\":\"31d6cfe0\",\"chunk-2d0b6d35\":\"31d6cfe0\",\"chunk-2d0baeaa\":\"31d6cfe0\",\"chunk-2d0cfa15\":\"31d6cfe0\",\"chunk-2e6079ad\":\"31d6cfe0\",\"chunk-ba2c4548\":\"030f6319\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[_c('Modals'),_c('router-view'),_c('Controls')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.display)?_c('div',{staticClass:\"controls\"},[_c('i',{staticClass:\"battery\",class:[_vm.battery_icon]}),(_vm.iface_out.startsWith('wl'))?_c('div',{staticClass:\"dropup\"},[_c('i',{staticClass:\"wifi\",class:[_vm.wifi_icon]}),_c('div',{staticClass:\"dropup-content\"},[_c('ul',_vm._l((_vm.wifi_networks),function(network){return _c('li',{key:network,on:{\"click\":function($event){return _vm.show_modal_wifi(network.name)}}},[_c('i',{staticClass:\"wifi_mini\",class:[_vm.get_wifi_icon(network.signal)]}),_vm._v(_vm._s(network.name)+\" \")])}),0)])]):_vm._e(),_c('i',{staticClass:\"iocs-number\",class:{ 'border-green': _vm.iocs_number }},[_vm._v(_vm._s(_vm.iocs_number)+\" IOCs\")]),(_vm.ip_address)?_c('i',{staticClass:\"ip_addr\",class:{ 'border-green': _vm.internet }},[_vm._v(_vm._s(_vm.ip_address)+\" \")]):_c('i',{staticClass:\"ip_addr\"},[_vm._v(\"Not connected\")]),_c('i',{staticClass:\"home-icon\",on:{\"click\":function($event){return _vm.goto_home()}}}),(_vm.backend_option)?_c('i',{staticClass:\"config-icon\",on:{\"click\":function($event){return _vm.goto_backend()}}}):_vm._e(),(_vm.shutdown_option)?_c('i',{staticClass:\"shutdown-icon\",on:{\"click\":function($event){return _vm.show_modal_shutdown()}}}):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controls.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controls.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Controls.vue?vue&type=template&id=08d0a0d1&\"\nimport script from \"./Controls.vue?vue&type=script&lang=js&\"\nexport * from \"./Controls.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.display)?_c('div',[_c('div',{staticClass:\"blurred-wrapper\",on:{\"click\":function($event){return _vm.hide_modal()}}}),(_vm.display_shudown)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"modals.want_to_quit\")))]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.hide_modal()}}},[_vm._v(_vm._s(_vm.$t(\"modals.no_go_back\")))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.shutdown()}}},[_vm._v(_vm._s(_vm.$t(\"modals.yes_continue\")))])])]):_vm._e(),(_vm.display_whitelist)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.$t('modals.want_to_whitelist').replace('{host}', _vm.host))}}),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.hide_modal()}}},[_vm._v(_vm._s(_vm.$t(\"modals.no_go_back\")))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.add_whitelist()}}},[_vm._v(_vm._s(_vm.$t(\"modals.yes_continue\")))])])]):_vm._e(),(_vm.display_wifi)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"modals.please_give_the_password\"))+\" \"),_c('strong',[_vm._v(_vm._s(_vm.wifi_network))])]),_c('div',{staticClass:\"form-group\"},[_c('div',{class:_vm.password_class,on:{\"click\":_vm.show_password}}),((_vm.type)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.password)?_vm._i(_vm.password,null)>-1:(_vm.password)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"change\":function($event){var $$a=_vm.password,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.password=$$a.concat([$$v]))}else{$$i>-1&&(_vm.password=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.password=$$c}}}}):((_vm.type)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.password,null)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"change\":function($event){_vm.password=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":_vm.type},domProps:{\"value\":(_vm.password)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"input\":function($event){if($event.target.composing)return;_vm.password=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_c('button',{staticClass:\"btn width-100\",class:[ _vm.wifi_connecting ? 'loading' : '', _vm.wifi_success ? 'btn-success' : 'btn-primary', ],on:{\"click\":function($event){return _vm.wifi_setup()}}},[_vm._v(_vm._s(_vm.btn_wifi_val))])])])]):_vm._e(),(_vm.show_keyboard)?_c('div',{staticClass:\"keyboard_wrapper\"},[_c('SimpleKeyboard',{attrs:{\"input\":_vm.input},on:{\"onChange\":_vm.onChange,\"onKeyPress\":_vm.onKeyPress}})],1):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:_vm.keyboardClass})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SimpleKeyboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SimpleKeyboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleKeyboard.vue?vue&type=template&id=24d38e56&scoped=true&\"\nimport script from \"./SimpleKeyboard.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleKeyboard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"24d38e56\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modals.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modals.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Modals.vue?vue&type=template&id=73ca2b7b&\"\nimport script from \"./Modals.vue?vue&type=script&lang=js&\"\nexport * from \"./Modals.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=4e2caeba&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=4e2caeba&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueI18n from 'vue-i18n'\n\nVue.use(VueI18n)\n\nexport const i18n = new VueI18n({\n locale: 'en',\n fallbackLocale: 'en',\n messages: {\n 'en': require('@/locales/en.json'),\n 'fr': require('@/locales/fr.json'),\n 'es': require('@/locales/es.json'),\n 'ru': require('@/locales/ru.json'),\n 'pt': require('@/locales/pt.json'),\n 'it': require('@/locales/it.json'),\n 'de': require('@/locales/de.json')\n }\n})","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport router from './router'\r\nimport { i18n } from '@/plugins/i18n'\r\n\r\nVue.config.productionTip = true\r\nVue.config.devtools = true\r\n\r\nexport const EventBus = new Vue();\r\n\r\nnew Vue({\r\n router,\r\n i18n,\r\n render: h => h(App)\r\n}).$mount('#app')","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=4e2caeba&prod&lang=css&\"","import Vue from 'vue'\r\nimport VueRouter from 'vue-router'\r\n\r\n\r\nVue.use(VueRouter)\r\n\r\nconst routes = [\r\n {\r\n path: '/',\r\n name: 'loader',\r\n component: () => import('../views/splash-screen.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/home',\r\n name: 'home',\r\n component: () => import('../views/home.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/generate-ap',\r\n name: 'generate-ap',\r\n component: () => import('../views/generate-ap.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/capture',\r\n name: 'capture',\r\n component: () => import('../views/capture.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/save-capture',\r\n name: 'save-capture',\r\n component: () => import('../views/save-capture.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/analysis',\r\n name: 'analysis',\r\n component: () => import('../views/analysis.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/report',\r\n name: 'report',\r\n component: () => import('../views/report.vue'),\r\n props: true\r\n }\r\n]\r\n\r\nconst router = new VueRouter({\r\n mode: 'history',\r\n base: process.env.BASE_URL,\r\n routes\r\n})\r\n\r\nexport default router\r\n"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/app.5d381dba.js b/app/frontend/dist/js/app.5d381dba.js new file mode 100644 index 0000000..5e5f9db --- /dev/null +++ b/app/frontend/dist/js/app.5d381dba.js @@ -0,0 +1,2 @@ +(function(e){function t(t){for(var o,n,r=t[0],c=t[1],l=t[2],u=0,d=[];udurante la creazione del punto di accesso.","error_msg2":"Controlla di aver configurato le interfacce di rete
giuste nel back-end."},"report":{"show_full_report":"Mostra il rapporto completo","start_new_capture":"Avvia una nuova acquisizione","save_capture":"Salva acquisizione","save":"Salvare","print":"Stampare","numbers":["zero","uno","due","tre","quattro","cinque","sei","sette","otto","nove","dieci","undici"],"stalkerware_msg":"Il dispositivo è compromesso da
uno stalkerware, controllare il rapporto.","location_msg":"Un\'applicazione condivide la
geolocalizzazione attuale con terze parti.","fine_msg":"Sembra tutto a posto,
non sono presenti avvisi.","high_msg":"È presente {nb} avviso con priorità elevata,
il dispositivo sembra compromesso.","moderate_msg":"Sono presenti {nb} avvisi con priorità moderata, è possibile che il dispositivo sia compromesso.","low_msg":"Sono presenti solo {nb} avvisi con priorità bassa
da controllare.","save_report":"Salva il rapporto","report_of":"Rapporto di","detection_methods":"Metodi di rilevamento:","indicators":"Indicatori","heuristics":"Anomalie","active":"Attiva","pcap_sha1":"SHA1 della cattura:","capture_started":"Cattura è iniziata su:","capture_ended":"Cattura terminata su:","high":"elevata","moderate":"moderata","low":"bassa","uncat_coms_table":"Comunicazioni non categorizzate","whitelisted_coms_table":"Comunicazioni autorizzate","no_alerts_title":"L\'analisi delle comunicazioni del tuo dispositivo non ha causato alcun avviso.","no_alerts_subtext":"Di seguito puoi vedere le comunicazioni emesse da esso durante la cattura.","protocol":"Protocollo","domain_name":"Dominio","ip_address":"Indirizzo IP","port":"Porto"},"wifi-select":{"wifi_connected":"Wi-Fi collegato","wifi_not_connected":"Wi-Fi non connesso. Riprovare.","wifi_password":"Password","connect_to_it":"Connettersi"},"save-capture":{"please_connect":"Collegare una chiave USB per salvare l\'acquisizione.","we_are_saving":"Salvataggio dell\'acquisizione in corso.","tap_msg":"È possible toccare la chiave USB per avviare una nuova acquisizione.","capture_download":"Il download dell\'acquisizione sta per iniziare...","start_capture_btn":"Avvia un\'altra acquisizione"},"modals":{"want_to_quit":"Vuoi chiudere la app?","no_go_back":"No, tornare","yes_continue":"Sì, continuare","please_give_the_password":"Inserire la password della rete:","want_to_whitelist":"Vuoi aggiungere {host} alla lista bianca
per le prossime analisi?"}}')},"56d7":function(e,t,a){"use strict";a.r(t),a.d(t,"EventBus",(function(){return O}));var o=a("2b0e"),n=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("Modals"),t("router-view"),t("Controls")],1)},i=[],s=a("bc3a"),r=a.n(s),c=function(){var e=this,t=e._self._c;return e.display?t("div",{staticClass:"controls"},[t("i",{staticClass:"battery",class:[e.battery_icon]}),e.iface_out.startsWith("wl")?t("div",{staticClass:"dropup"},[t("i",{staticClass:"wifi",class:[e.wifi_icon]}),t("div",{staticClass:"dropup-content"},[t("ul",e._l(e.wifi_networks,(function(a){return t("li",{key:a,on:{click:function(t){return e.show_modal_wifi(a.name)}}},[t("i",{staticClass:"wifi_mini",class:[e.get_wifi_icon(a.signal)]}),e._v(e._s(a.name)+" ")])})),0)])]):e._e(),t("i",{staticClass:"iocs-number",class:{"border-green":e.iocs_number}},[e._v(e._s(e.iocs_number)+" IOCs")]),e.ip_address?t("i",{staticClass:"ip_addr",class:{"border-green":e.internet}},[e._v(e._s(e.ip_address)+" ")]):t("i",{staticClass:"ip_addr"},[e._v("Not connected")]),t("i",{staticClass:"home-icon",on:{click:function(t){return e.goto_home()}}}),e.backend_option?t("i",{staticClass:"config-icon",on:{click:function(t){return e.goto_backend()}}}):e._e(),e.shutdown_option?t("i",{staticClass:"shutdown-icon",on:{click:function(t){return e.show_modal_shutdown()}}}):e._e()]):e._e()},l=[],u=(a("14d9"),{name:"Controls",data:function(){return{display:!0,update_available:!1,update_possible:!1,shutdown_option:!1,backend_option:!1,remote_backend:!1,iface_out:"",battery_icon:"",wifi_icon:"",wifi_networks:[],iocs_number:0,internet:!1}},methods:{check_update:function(){r.a.get("/api/update/check",{timeout:6e4}).then(e=>{e.data.status?"A new version is available"==e.data.message&&(this.update_available=!0,this.update_possible=!0,window.current_version=e.data.current_version,window.next_version=e.data.next_version):this.update_possible=!1}).catch(e=>{console.log(e)})},goto_backend:function(){this.remote_backend?window.location.href=`https://${location.hostname}:8443`:window.location.href=`http://${location.hostname}:8443`},goto_home:function(){window.location.href="/"},load_config:function(){setInterval(()=>{r.a.get("/api/misc/config",{timeout:6e4}).then(e=>{this.shutdown_option=e.data.shutdown_option,this.backend_option=e.data.backend_option,this.remote_backend=e.data.remote_backend,this.battery_icon=this.get_battery_icon(e.data.battery_level),this.wifi_icon=this.get_wifi_icon(e.data.wifi_level),this.iocs_number=e.data.iocs_number,this.iface_out=e.data.iface_out}).catch(e=>{console.log(e)})},1e3)},get_battery_icon:function(e){return 101==e?"battery_charging":e>=90?"battery_full":e>=80?"battery_80":e>=60?"battery_60":e>=40?"battery_40":e>=25?"battery_25":e<25?"battery_15":"battery_critical"},get_wifi_icon:function(e){return e>=80?"wifi_5":e>=60?"wifi_4":e>=40?"wifi_3":e>=20?"wifi_2":e>=1?"wifi_1":"wifi_0"},show_modal_shutdown:function(){O.$emit("showModal",{action:"shutdown"})},show_modal_wifi:function(e){O.$emit("showModal",{action:"wifi",network_name:e})},get_wifi_networks:function(){setInterval(()=>{r.a.get("/api/network/wifi/list",{timeout:1e4}).then(e=>{this.wifi_networks=[],e.data.networks.forEach(e=>{e.name!=window.access_point&&this.wifi_networks.push(e)})}).catch(e=>{console.log(e)})},1e3)},check_internet:function(){setInterval(()=>{r.a.get("/api/network/status",{timeout:3e4}).then(e=>{e.data.internet?(this.internet=!0,this.ip_address=e.data.ip_out):(this.internet=!1,this.ip_address=!1)}).catch(e=>console.log(e))},1e3)}},watch:{$route(){["loader"].includes(this.$router.currentRoute.name)?this.display=!1:this.display=!0}},created:function(){this.load_config(),this.check_internet(),this.get_wifi_networks()}}),d=u,p=a("2877"),_=Object(p["a"])(d,c,l,!1,null,null,null),m=_.exports,h=function(){var e=this,t=e._self._c;return e.display?t("div",[t("div",{staticClass:"blurred-wrapper",on:{click:function(t){return e.hide_modal()}}}),e.display_shudown?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",[e._v(e._s(e.$t("modals.want_to_quit")))]),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.hide_modal()}}},[e._v(e._s(e.$t("modals.no_go_back")))]),e._v(" "),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.shutdown()}}},[e._v(e._s(e.$t("modals.yes_continue")))])])]):e._e(),e.display_whitelist?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",{domProps:{innerHTML:e._s(e.$t("modals.want_to_whitelist").replace("{host}",e.host))}}),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.hide_modal()}}},[e._v(e._s(e.$t("modals.no_go_back")))]),e._v(" "),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.add_whitelist()}}},[e._v(e._s(e.$t("modals.yes_continue")))])])]):e._e(),e.display_wifi?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",[e._v(e._s(e.$t("modals.please_give_the_password"))+" "),t("strong",[e._v(e._s(e.wifi_network))])]),t("div",{staticClass:"form-group"},[t("div",{class:e.password_class,on:{click:e.show_password}}),"checkbox"===e.type?t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:"checkbox"},domProps:{checked:Array.isArray(e.password)?e._i(e.password,null)>-1:e.password},on:{click:function(t){e.show_keyboard=!0},change:function(t){var a=e.password,o=t.target,n=!!o.checked;if(Array.isArray(a)){var i=null,s=e._i(a,i);o.checked?s<0&&(e.password=a.concat([i])):s>-1&&(e.password=a.slice(0,s).concat(a.slice(s+1)))}else e.password=n}}}):"radio"===e.type?t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:"radio"},domProps:{checked:e._q(e.password,null)},on:{click:function(t){e.show_keyboard=!0},change:function(t){e.password=null}}}):t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:e.type},domProps:{value:e.password},on:{click:function(t){e.show_keyboard=!0},input:function(t){t.target.composing||(e.password=t.target.value)}}})]),t("div",{staticClass:"form-group"},[t("button",{staticClass:"btn width-100",class:[e.wifi_connecting?"loading":"",e.wifi_success?"btn-success":"btn-primary"],on:{click:function(t){return e.wifi_setup()}}},[e._v(e._s(e.btn_wifi_val))])])])]):e._e(),e.show_keyboard?t("div",{staticClass:"keyboard_wrapper"},[t("SimpleKeyboard",{attrs:{input:e.input},on:{onChange:e.onChange,onKeyPress:e.onKeyPress}})],1):e._e()]):e._e()},w=[],g=a("a18c"),b=function(){var e=this,t=e._self._c;return t("div",{class:e.keyboardClass})},f=[],v=a("dd7f"),y=a.n(v),k=(a("d2db"),a("a044")),z={name:"SimpleKeyboard",props:{keyboardClass:{default:"simple-keyboard",type:String},input:{type:String}},data:()=>({keyboard:null}),mounted(){"fr"==window.config.user_lang?this.keyboard=new y.a({onChange:this.onChange,onKeyPress:this.onKeyPress,...k["a"]}):this.keyboard=new y.a({onChange:this.onChange,onKeyPress:this.onKeyPress})},methods:{onChange(e){this.$emit("onChange",e)},onKeyPress(e){this.$emit("onKeyPress",e),"{shift}"!==e&&"{lock}"!==e||this.handleShift()},handleShift(){let e=this.keyboard.options.layoutName,t="default"===e?"shift":"default";this.keyboard.setOptions({layoutName:t})}},watch:{input(e){this.keyboard.setInput(e)}}},S=z,C=Object(p["a"])(S,b,f,!1,null,"24d38e56",null),A=C.exports,P={name:"Modals",data:function(){return{btn_wifi_val:this.$t("wifi-select.connect_to_it"),wifi_connecting:!1,error:!1,wifi_success:!1,password:"",capture_token:"",display_whitelist:!1,display_shudown:!1,display_wifi:!1,display:!1,wifi_network:"",show_keyboard:!1,input:"",type:"password",password_class:"password-show"}},components:{SimpleKeyboard:A},methods:{hide_modal:function(){this.display=!1},shutdown:function(){r.a.get("/api/misc/shutdown",{timeout:3e4})},add_whitelist:function(){r.a.get("/api/misc/whitelist/"+this.host,{timeout:3e4}),this.display=!1},onChange(e){this.input=e,this.password=this.input},onKeyPress(e){"{enter}"==e&&(this.show_keyboard=!1)},onInputChange(e){this.input=e.target.value},show_password(){"password"===this.type?(this.type="text",this.password_class="password-hide"):(this.type="password",this.password_class="password-show")},wifi_setup:function(){this.password.length>=8&&(this.wifi_connecting=!0,r.a.post("/api/network/wifi/setup",{ssid:this.wifi_network,password:this.password},{timeout:6e4}).then(e=>{e.data.status?(this.wifi_success=!0,this.wifi_connecting=!1,this.btn_wifi_val=this.$t("wifi-select.wifi_connected"),setTimeout(()=>{this.display=!1,this.btn_wifi_val=this.$t("wifi-select.connect_to_it"),g["a"].push("generate-ap")},1e3)):(this.btn_wifi_val=this.$t("wifi-select.wifi_not_connected"),this.wifi_connecting=!1,setTimeout(()=>{this.btn_wifi_val=this.$t("wifi-select.connect_to_it")},1e3))}))}},created:function(){O.$on("showModal",e=>{this.input="","shutdown"==e.action?(this.show_keyboard=!1,this.display_wifi=!1,this.display_shudown=!0,this.display_whitelist=!1,this.display=!0):"wifi"==e.action?(this.wifi_connecting=!1,this.wifi_success=!1,this.password="",this.btnval=this.$t("wifi-select.connect_to_it"),this.display_shudown=!1,this.display_wifi=!0,this.display_whitelist=!1,this.wifi_network=e.network_name,this.display=!0):"whitelist"==e.action&&(this.show_keyboard=!1,this.display_wifi=!1,this.display_shudown=!1,this.display_whitelist=!0,this.host=e.host,this.display=!0)})}},j=P,N=Object(p["a"])(j,h,w,!1,null,null,null),I=N.exports;document.title="SPYGUARD";var q={name:"app",components:{Controls:m,Modals:I},data(){return{splash:!1}},methods:{set_lang:function(){if(window.config.user_lang){var e=window.config.user_lang;Object.keys(this.$i18n.messages).includes(e)&&(this.$i18n.locale=e,document.querySelector("html").setAttribute("lang",e))}},get_config:function(){r.a.get("/api/misc/config",{timeout:6e4}).then(e=>{window.config=e.data,this.set_lang()}).catch(e=>{console.log(e)})}},watch:{$route(){["loader"].includes(this.$router.currentRoute.name)?this.splash=!0:this.splash=!1}},created:function(){window.config={},this.get_config()}},x=q,W=(a("705a"),Object(p["a"])(x,n,i,!1,null,null,null)),T=W.exports,B=a("a925");o["a"].use(B["a"]);const M=new B["a"]({locale:"en",fallbackLocale:"en",messages:{en:a("edd4"),fr:a("f693"),es:a("a306"),ru:a("7704"),pt:a("5d67"),it:a("0825"),de:a("6ce2"),pl:a("89b2")}});o["a"].config.productionTip=!0,o["a"].config.devtools=!0;const O=new o["a"];new o["a"]({router:g["a"],i18n:M,render:e=>e(T)}).$mount("#app")},"5d67":function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bem vindo(a) ao SpyGuard.","help_msg":"Ajudaremos você a verificar o dispositivo.","start_btn":"Vamos começar!"},"analysis":{"question":"Deseja analisar as comunicações capturadas?","no_btn":"Não, somente salvá-las","yes_btn":"Sim, vamos lá","please_wait_msg":"Aguarde enquanto realizamos a análise...","some_time_msg":"Sim, isso pode demorar um pouco..."},"capture":{"intercept_coms_msg":"Interceptando as comunicações de ","stop_btn":"Parar a captura"},"generate-ap":{"network_name":"Nome da rede","network_password":"Senha da rede","tap_msg":"Toque no quadro branco para criar uma nova rede.","generate_ap_msg":"Geramos uma rede temporária para você.","error_msg1":"Infelizmente, tivemos alguns problemas
durante a criação do AP.","error_msg2":"Verifique se você configurou as interfaces de rede
corretas no back-end."},"report":{"show_full_report":"Mostrar o relatório completo","start_new_capture":"Iniciar nova captura","save_capture":"Salvar a captura","save":"Salvar","print":"Imprimir","numbers":["zero","um","dois","três","quatro","cinco","seis","sete","oito","nove","dez","onze"],"stalkerware_msg":"Seu dispositivo foi comprometido por
um stalkerware. Verifique o relatório.","location_msg":"Um aplicativo está compartilhando sua
geolocalização com um terceiro.","fine_msg":"Tudo parece estar bem, zero alertas.","high_msg":"Você tem {nb} alerta crítico,
o dispositivo parece estar comprometido.","moderate_msg":"Você tem {nb} alertas moderados,
o dispositivo pode estar comprometido.","low_msg":"Você tem apenas {nb} alertas leves,
não deixe de verificá-los.","save_report":"Salvar o relatório","report_of":"Relatório de","detection_methods":"Métodos de detecção:","indicators":"Indicadores","heuristics":"Anomalias","active":"Activa","pcap_sha1":"SHA1 da captura:","capture_started":"Captura iniciada em:","capture_ended":"Captura terminou em:","high":"crítico","moderate":"moderado","low":"leve","uncat_coms_table":"Comunicações não categorizadas","whitelisted_coms_table":"Comunicações na lista branca","no_alerts_title":"A análise das comunicações do seu dispositivo não causou nenhum alerta.","no_alerts_subtext":"Você pode ver abaixo as comunicações emitidas por ele durante a captura.","protocol":"Protocolo","domain_name":"Domínio","ip_address":"Endereço IP:","port":"Porto"},"wifi-select":{"wifi_connected":"Wi-Fi conectado","wifi_not_connected":"Wi-Fi desconectado. Tente novamente.","wifi_password":"Senha do Wi-Fi","connect_to_it":"Conectar"},"save-capture":{"please_connect":"Conecte uma chave USB para salvar a captura.","we_are_saving":"Estamos salvando a captura.","tap_msg":"Toque na chave USB para iniciar uma nova captura.","capture_download":"O download da captura vai começar...","start_capture_btn":"Iniciar nova captura"},"modals":{"want_to_quit":"Deseja fechar o aplicativo?","no_go_back":"Não, voltar","yes_continue":"Sim, continuar","please_give_the_password":"Indicar a senha da rede: ","want_to_whitelist":"Você quer adicionar {host} à lista branca
para as próximas análises?"}}')},"6ce2":function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Willkommen bei SpyGuard.","help_msg":"Wir helfen Ihnen bei der Überprüfung Ihres Geräts.","start_btn":"Fangen wir an!"},"analysis":{"question":"Möchten Sie die erfassten Kommunikationsverbindungen analysieren?","no_btn":"Nein, nur speichern","yes_btn":"Ja, analysieren","please_wait_msg":"Bitte warten Sie, während die Analyse läuft …","some_time_msg":"Dies kann eine Weile dauern …"},"capture":{"intercept_coms_msg":"Abfangen der Kommunikationsverbindungen von ","stop_btn":"Aufnahme beenden"},"generate-ap":{"network_name":"Netzwerkname","network_password":"Netzwerkpasswort","tap_msg":"Tippen Sie auf den weißen Rahmen, um ein neues Netzwerk zu erstellen.","generate_ap_msg":"Wir erstellen ein temporäres Netzwerk für Sie.","error_msg1":"Leider sind während der AP-Erstellung
einige Fehler aufgetreten.","error_msg2":"Bitte überprüfen Sie, ob Sie die richtigen
Netzwerkschnittstellen im Backend konfiguriert haben."},"report":{"show_full_report":"Vollständigen Bericht anzeigen","start_new_capture":"Neue Aufnahme starten","save_capture":"Aufnahme speichern","save":"Sichern","print":"Drucken","numbers":["null","eine","zwei","drei","vier","fünf","sechs","sieben","acht","neun","zehn","elf"],"stalkerware_msg":"Ihr Gerät ist durch Stalkerware
kompromittiert; bitte sehen Sie sich den Bericht an.","location_msg":"Eine Anwendung teilt Ihren
aktuellen Standort mit Dritten.","fine_msg":"Alles sieht gut aus – kein Warnungen.","high_msg":"Sie haben {nb} Warnung der Stufe \\"Hoch\\":
Ihr Gerät scheint kompromittiert zu sein.","moderate_msg":"Sie haben {nb} Warnungen der Stufe \\"Mittel\\":
Ihr Gerät könnte kompromittiert sein.","low_msg":"Sie haben nur {nb} Warnungen der Stufe \\"Niedrig\\":
Überprüfen Sie sie gerne.","save_report":"Bericht speichern","report_of":"Bericht zu","detection_methods":"Nachweismethoden:","indicators":"Indikatoren","heuristics":"Anomalien","active":"Aktiv","pcap_sha1":"SHA1 erfassen:","capture_started":"Capture begann mit:","capture_ended":"Capture endete an:","high":"Hoch","moderate":"Mittel","low":"Niedrig","uncat_coms_table":"Kommunikation nicht kategorisiert","whitelisted_coms_table":"Kommunikation auf der Whitelist","no_alerts_title":"Die Analyse der Kommunikation Ihres Geräts hat zu keinen Warnungen geführt.","no_alerts_subtext":"Unten können Sie die von ihm während der Erfassung ausgegebenen Mitteilungen sehen.","protocol":"Protokoll","domain_name":"Domain","ip_address":"IP-Adresse:","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi verbunden","wifi_not_connected":"Wi-Fi nicht verbunden. Versuchen Sie es erneut.","wifi_password":"Passwort","connect_to_it":"Anmelden"},"save-capture":{"please_connect":"Bitte schließen Sie einen USB-Stick an, um Ihre Aufnahme zu speichern.","we_are_saving":"Wir speichern Ihre Aufnahme.","tap_msg":"Sie können den USB-Stick antippen, um eine neue Aufnahme zu starten.","capture_download":"Der Download der Aufnahme beginnt…","start_capture_btn":"Noch eine Aufnahme starten"},"modals":{"want_to_quit":"Möchten Sie die App schließen?","no_go_back":"Nein, zurück kommen.","yes_continue":"Ja, weiter machen","please_give_the_password":"Bitte geben Sie das Netzwerkpasswort ein: ","want_to_whitelist":"Möchten Sie {host} für die nächsten
Analysen hinzufügen?"}}')},"705a":function(e,t,a){"use strict";a("7255")},7255:function(e,t,a){},7704:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Добро пожаловать в SpyGuard.","help_msg":"Мы поможем вам проверить ваше устройство.","start_btn":"Итак, приступим!"},"analysis":{"question":"Хотите проанализировать зафиксированные подключения?","no_btn":"Нет, только сохранить","yes_btn":"Да, проанализировать","please_wait_msg":"Подождите, идет анализ...","some_time_msg":"Это может занять некоторое время..."},"capture":{"intercept_coms_msg":"Перехват подключений ","stop_btn":"Остановить сбор данных"},"generate-ap":{"network_name":"Имя сети","network_password":"Пароль сети","tap_msg":"Нажмите на белую рамку, чтобы создать новую сеть.","generate_ap_msg":"Создастся временная сеть.","error_msg1":"
При создании точки доступа возникли проблемы.","error_msg2":"Убедитесь, что вы настроили нужные сетевые интерфейсы
в задней части."},"report":{"show_full_report":"Показать полный отчет","start_new_capture":"Начать новый сбор данных","save_capture":"Сохранить сбор данных","save":"Сохранить","print":"Печатать","numbers":["ноль","один","два","три","четыре","пять","шесть","семь","восемь","девять","десять","одиннадцать"],"stalkerware_msg":"Ваше устройство взломано вредоносным
ПО для слежки. Проверьте отчет.","location_msg":"Приложение передает вашу
текущую геолокацию третьему лицу.","fine_msg":"Предупреждения отсутствуют,
система выглядит защищенной.","high_msg":"У вас {nb} предупреждение высокого уровня.
Вероятно,ваше устройство взломано.","moderate_msg":"У вас {nb} предупреждение среднего уровня.
Возможно, ваше устройство взломано.","low_msg":"У вас {nb} предупреждение низкого уровня
, проверьте их.","save_report":"Сохранить отчет","report_of":"Отчет","detection_methods":"методы обнаружения:","indicators":"Показателям","heuristics":"аномалии","active":"активное","pcap_sha1":"SHA1 захват:","capture_started":"Захват начался:","capture_ended":"захват закончился:","high":"высокий","moderate":"средний","low":"низкий","uncat_coms_table":"Несекретные сообщения","whitelisted_coms_table":"Связь в белом списке","no_alerts_title":"Анализ сообщений вашего устройства не вызвал никаких предупреждений.","no_alerts_subtext":"Ниже вы можете увидеть сообщения, отправленные им во время захвата.","protocol":"Протокол","domain_name":"домен","ip_address":"IP-адрес:","port":"порт"},"wifi-select":{"wifi_connected":"Подключено к сети Wi-Fi","wifi_not_connected":"Не подключено к сети Wi-Fi. Повторите попытку.","tap_keyboard":"Коснитесь виртуальной клавиатуры, чтобы начать","wifi_password":"Пароль Wi-Fi"},"save-capture":{"please_connect":"Подсоедините USB-ключ, чтобы сохранить результат сбора данных.","we_are_saving":"Сохранение собранных данных.","tap_msg":"Коснитесь USB-ключа, чтобы начать новый сбор данных.","capture_download":"Начинается загрузка собранных данных...","start_capture_btn":"Начать новый сбор данных"},"modals":{"want_to_quit":"Вы бы хотели уйти?","no_go_back":"Нет","yes_continue":"да","please_give_the_password":"VПожалуйста, введите сетевой пароль: ","want_to_whitelist":"Вы хотите добавить {host} в белый список
для будущих испытаний?"}}')},"89b2":function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Witaj w SpyGuard.","help_msg":"Pomożemy Ci sprawdzić Twoje urządzenie.","start_btn":"Start!"},"analysis":{"question":"Czy chcesz przeanalizować przechwyconą komunikację?","no_btn":"Nie, tylko zapisz","yes_btn":"Tak, wykonaj","please_wait_msg":"Poczekaj na zakończenie analizy...","some_time_msg":"Tak, to może chwilę potrwać..."},"capture":{"intercept_coms_msg":"Przechwytywanie komunikacji z ","stop_btn":"Zatrzymaj przechwytywanie"},"generate-ap":{"network_name":"Nazwa sieci","network_password":"Hasło do sieci","tap_msg":"Naciśnij białą ramkę aby wygenerować nową sieć.","generate_ap_msg":"Wygenerujemy tymczasową sieć do wykorzystania.","error_msg1":"Niestety, wystąpiły problemy
podczas tworzenia punktu dostępowego.","error_msg2":"Sprawdź czy odpowiedni interfejs został skonfigurowany
w ustawieniach zaplecza."},"report":{"show_full_report":"Pokaż pełny raport","start_new_capture":"Rozpocznij od nowa","save_capture":"Zachowaj ruch sieciowy","save":"Zapisz","print":"Drukuj","numbers":["zero","jeden","dwa","trzy","cztery","pięć","sześć","siedem","osiem","dziewięć","dziesięć","jedenaście"],"stalkerware_msg":"Twoje urządzenie jest zagrożone
przez stalkerware, zapoznaj się z raportem.","location_msg":"Aplikacja udostępnia Twoje
bieżące położenie stronie trzeciej.","fine_msg":"Wszystko wygląda w porządku, zero alarmów.","high_msg":"Masz {nb} poważnych alarmów,
Twoje urządzenie wygląda na zagrożone.","moderate_msg":"Masz {nb} umiarkowanych alarmów,
Twoje urządzenie może być zagrożone.","low_msg":"Masz tylko {nb} niskich alarmów,
nie wahaj się ich sprawdzić.","save_report":"Zapisz raport","report_of":"Raport z","detection_methods":"Metody detekcji:","indicators":"Wskaźniki","heuristics":"Heurystyki","active":"Aktywne","pcap_sha1":"Suma SHA1 zapisu ruchu:","capture_started":"Przechwytywanie rozpoczęto o:","capture_ended":"Przechwytywanie zakończono o:","high":"wysoki","moderate":"umiarkowany","low":"niski","uncat_coms_table":"Komunikacja nieskategoryzowana","whitelisted_coms_table":"Komunikacja dozwolona","no_alerts_title":"Analiza komunikacji z urządzenia nie spowodowała żadnych alarmów.","no_alerts_subtext":"Zapoznaj się z komunikacją zaobserwowaną podczas przechwytywania.","protocol":"Protokół","domain_name":"Domena","ip_address":"Adres IP","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi - podłączono","wifi_not_connected":"Wi-Fi - nie podłączono. Spróbuj ponownie.","wifi_password":"Hasło","connect_to_it":"Podłącz"},"save-capture":{"please_connect":"Podłącz pamięć USB aby zachować przechwycony ruch sieciowy.","we_are_saving":"Zapisywanie przechwytywania.","tap_msg":"Dotknij ikony pamięci USB aby rozpocząć nowe przechwytywnie.","capture_download":"Rozpocznie się pobieranie pliku przechwytywania...","start_capture_btn":"Rozpocznij kolejne przechwytywanie"},"modals":{"want_to_quit":"Czy chcesz opuścić aplikację?","no_go_back":"Nie, wróć","yes_continue":"Tak, kontynuuj","please_give_the_password":"Podaj hasło do sieci: ","want_to_whitelist":"Czy chcesz dodać {host} do listy dozwolonych
dla następnych analiz?"}}')},a18c:function(e,t,a){"use strict";var o=a("2b0e"),n=a("8c4f");o["a"].use(n["a"]);const i=[{path:"/",name:"loader",component:()=>a.e("chunk-2d0b6d35").then(a.bind(null,"1f8b")),props:!0},{path:"/home",name:"home",component:()=>a.e("chunk-2d0cfa15").then(a.bind(null,"6511")),props:!0},{path:"/generate-ap",name:"generate-ap",component:()=>a.e("chunk-2d0baeaa").then(a.bind(null,"38f5")),props:!0},{path:"/capture",name:"capture",component:()=>a.e("chunk-2e6079ad").then(a.bind(null,"e583")),props:!0},{path:"/save-capture",name:"save-capture",component:()=>a.e("chunk-0861991e").then(a.bind(null,"9152")),props:!0},{path:"/analysis",name:"analysis",component:()=>a.e("chunk-2d0b23b3").then(a.bind(null,"22da")),props:!0},{path:"/report",name:"report",component:()=>a.e("chunk-20894ada").then(a.bind(null,"e022")),props:!0}],s=new n["a"]({mode:"history",base:"/",routes:i});t["a"]=s},a306:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bienvenido a SpyGuard.","help_msg":"Te ayudaremos a revisar tu dispositivo","start_btn":"¡Empecemos!"},"analysis":{"question":"¿Quieres analizar las comunicaciones capturadas?","no_btn":"No, solo guárdalos","yes_btn":"Sí, hagámoslo","please_wait_msg":"Espere durante el análisis ...","some_time_msg":"Sí, puede llevar algún tiempo ..."},"capture":{"intercept_coms_msg":"Interceptando las comunicaciones de","stop_btn":"Detener la captura"},"generate-ap":{"network_name":"Nombre de la red","network_password":"Contraseña de red","tap_msg":"Toca el marco blanco para generar una nueva red","generate_ap_msg":"Generamos una red efímera para ti.","error_msg1":"Desafortunadamente, tuvimos algunos problemas
durante la creación del AP.","error_msg2":"Compruebe que ha configurado las interfaces de red
correctas en el back-end."},"report":{"show_full_report":"Mostrar el informe completo","start_new_capture":"Nueva captura","save_capture":"Guardar la captura","save":"Guardar","print":"Imprimir","numbers":["cero","uno","dos","Tres","cuatro","cinco","seis","Siete","ocho","nueve","diez","once"],"stalkerware_msg":"Su dispositivo está comprometido por
un Stalkerware, por favor revise el informe.","location_msg":"Una aplicación está compartiendo su
geolocalización actual con un tercero.","fine_msg":"Todo parece correcto, cero alertas","high_msg":"Tiene {nb} alerta máxima,
tu dispositivo parece estar comprometido","moderate_msg":"Tiene {nb} alertas moderadas,
tu dispositivo puede estar comprometido","low_msg":"Solo tiene {nb} alertas bajas,
por favor revíselas","save_report":"Guardar el informe","report_of":"Informe de","detection_methods":"Métodos de detección:","indicators":"Indicadores","heuristics":"Anomalías","active":"Activa","pcap_sha1":"SHA1 de la captura:","capture_started":"Captura comenzó a:","capture_ended":"Captura terminó a:","high":"alta","moderate":"moderada","low":"bajo","uncat_coms_table":"Sin categorizar Comunicaciones","whitelisted_coms_table":"Comunicaciones incluidas en la lista blanca","no_alerts_title":"El análisis de las comunicaciones de su dispositivo no generó ninguna alerta.","no_alerts_subtext":"Puedes ver a continuación las comunicaciones emitidas por éste durante la captura.","protocol":"Protocolo","domain_name":"Dominio","ip_address":"Dirección IP ","port":"Puerto"},"wifi-select":{"wifi_connected":"Wi-Fi conectada","wifi_not_connected":"Wi-Fi no conectado. Inténtelo de nuevo.","wifi_password":"Contraseña","connect_to_it":"Conectarse"},"save-capture":{"please_connect":"Conecte una llave USB para guardar su captura.","we_are_saving":"Estamos guardando tu captura.","tap_msg":"Puede tocar la llave USB para iniciar una nueva captura","capture_download":"La descarga de la captura va a comenzar ...","start_capture_btn":"Iniciar otra captura"},"modals":{"want_to_quit":"¿Quieres cerrar la aplicación?","no_go_back":"No, volver","yes_continue":"Sí, continuar","please_give_the_password":"Introduzca la contraseña de la red: ","want_to_whitelist":"¿Desea incluir {host}
en la lista blanca?"}}')},edd4:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Welcome to SpyGuard.","help_msg":"We are going to help you to check your device.","start_btn":"Let\'s start!"},"analysis":{"question":"Do you want to analyze the captured communications?","no_btn":"No, just save them","yes_btn":"Yes, let\'s do it","please_wait_msg":"Please wait during the analysis...","some_time_msg":"Yes, it can take some time..."},"capture":{"intercept_coms_msg":"Intercepting the communications of ","stop_btn":"Stop the capture"},"generate-ap":{"network_name":"Network name","network_password":"Network password","tap_msg":"Tap the white frame to generate a new network.","generate_ap_msg":"We generate an ephemeral network for you.","error_msg1":"Unfortunately, we got some issues
during the AP creation.","error_msg2":"Please check that you have configured the right
network interfaces in the back-end."},"report":{"show_full_report":"Show the full report","start_new_capture":"Start a new capture","save_capture":"Save the capture","save":"Save","print":"Print","numbers":["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven"],"stalkerware_msg":"Your device is compromised by
a Stalkerware, please check the report.","location_msg":"An application is sharing your
current geolocation with a third party.","fine_msg":"Everything looks fine, zero alerts.","high_msg":"You have {nb} high alert,
your device seems to be compromised.","moderate_msg":"You have {nb} moderate alerts,
your device might be compromised.","low_msg":"You have only {nb} low alerts,
don\'t hesitate to check them.","save_report":"Save the report","report_of":"Report of","detection_methods":"Detection methods:","indicators":"Indicators","heuristics":"Anomalies","active":"Active","pcap_sha1":"Capture SHA1:","capture_started":"Capture started on:","capture_ended":"Capture ended on:","high":"high","moderate":"moderate","low":"low","uncat_coms_table":"Uncategorized communications","whitelisted_coms_table":"Whitelisted communications","no_alerts_title":"Analysis of your smartphone\'s communications did not cause any alerts.","no_alerts_subtext":"You can see below the communications issued by it during the capture.","protocol":"Protocol","domain_name":"Domain","ip_address":"IP Address","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi connected","wifi_not_connected":"Wi-Fi not connected. Please retry.","wifi_password":"Password","connect_to_it":"Connect to it"},"save-capture":{"please_connect":"Please connect a USB key to save your capture.","we_are_saving":"We are saving your capture.","tap_msg":"You can tap the USB key to start a new capture.","capture_download":"The capture download is going to start...","start_capture_btn":"Start another capture"},"modals":{"want_to_quit":"Do you want to leave the application?","no_go_back":"No, go back","yes_continue":"Yes, continue","please_give_the_password":"Please enter the password for the network: ","want_to_whitelist":"Do you want to add {host} to the whitelist
for the next analysis?"}}')},f693:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bienvenue sur SpyGuard.","help_msg":"Nous allons vous accompagner pour analyser votre appareil.","start_btn":"Allons-y !"},"analysis":{"question":"Voulez-vous analyser les communications capturées ?","no_btn":"Non, enregistrez-les.","yes_btn":"Oui, allons-y !","please_wait_msg":"Merci d\'attendre pendant l\'analyse...","some_time_msg":"Oui, cela peut prendre du temps..."},"capture":{"intercept_coms_msg":"Interception des communications de ","stop_btn":"Arrêter la capture"},"generate-ap":{"network_name":"Nom du réseau Wi-Fi","network_password":"Mot de passe","tap_msg":"Appuyez sur le cadre blanc pour générer un nouveau réseau.","generate_ap_msg":"Nous générons un réseau Wi-Fi éphémère.","error_msg1":"Malheureusement, nous rencontrons des problèmes
lors de la création du point d\'accès.","error_msg2":"Veuillez vérifier avez renseigné les bonnes
interfaces réseau dans le back-end."},"report":{"show_full_report":"Lire le rapport complet","start_new_capture":"Nouvelle capture","save_capture":"Sauvegarder la capture","save":"Sauvegarder","print":"Imprimer","numbers":["zéro","une","deux","trois","quatre","cinq","six","sept","huit","neuf","dix","onze"],"stalkerware_msg":"Votre smartphone est compromis
par un Stalkerware, lisez le rapport.","location_msg":"Une application dévoile votre
géo-localisation actelle.","fine_msg":"Aucun flux suspect détecté,
vous avez aucune alerte.","high_msg":"Vous avez {nb} alerte.s élevée.s,
votre appareil semble être compromis.","moderate_msg":"Vous avez {nb} alerte.s moyenne.s,
votre appareil est peut-être compromis.","low_msg":"Vous avez uniquement {nb} alerte.s basse.s
n\'hésitez pas à les consulter.","save_report":"Archiver le rapport","report_of":"Rapport de","detection_methods":"Méthodes de détection :","indicators":"Indicateurs","heuristics":"Anomalies","active":"Active","pcap_sha1":"SHA1 de la capture :","capture_started":"Capture débutée le :","capture_ended":"Capture finie le :","high":"elevée","moderate":"moyenne","low":"basse","uncat_coms_table":"Communications non catégorisées","whitelisted_coms_table":"Communications sur liste blanche","no_alerts_title":"L\'analyse des communications de votre appareil n\'a provoqué aucune alerte.","no_alerts_subtext":"Vous pouvez voir ci-dessous les communications émises par celui-ci lors de la capture.","protocol":"Protocole","domain_name":"Domaine","ip_address":"Adresse IP","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi connecté","wifi_not_connected":"Wi-Fi non connecté. Réessayez.","wifi_password":"Mot de passe","connect_to_it":"Se connecter"},"save-capture":{"please_connect":"Connectez une clé USB pour enregistrer votre capture.","we_are_saving":"Nous enregistrons votre capture.","tap_msg":"Vous pouvez appuyer sur l\'animation pour lancer une nouvelle capture.","capture_download":"Le téléchargement de la capture va se lancer...","start_capture_btn":"Lancer une nouvelle capture"},"modals":{"want_to_quit":"Voulez-vous fermer l\'application ?","no_go_back":"Non, revenir","yes_continue":"Oui, continuer","please_give_the_password":"Veuillez renseigner le mot de passe du réseau : ","want_to_whitelist":"Voulez-vous ajouter {host} à la liste blanche
pour les prochaines analyses ?"}}')}}); +//# sourceMappingURL=app.5d381dba.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/app.5d381dba.js.map b/app/frontend/dist/js/app.5d381dba.js.map new file mode 100644 index 0000000..a0f0198 --- /dev/null +++ b/app/frontend/dist/js/app.5d381dba.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue","webpack:///./src/components/Controls.vue","webpack:///src/components/Controls.vue","webpack:///./src/components/Controls.vue?dd3a","webpack:///./src/components/Controls.vue?a9e7","webpack:///./src/components/Modals.vue","webpack:///./src/components/SimpleKeyboard.vue","webpack:///src/components/SimpleKeyboard.vue","webpack:///./src/components/SimpleKeyboard.vue?8af0","webpack:///./src/components/SimpleKeyboard.vue?5231","webpack:///src/components/Modals.vue","webpack:///./src/components/Modals.vue?53d4","webpack:///./src/components/Modals.vue?2a3c","webpack:///src/App.vue","webpack:///./src/App.vue?1613","webpack:///./src/App.vue?6469","webpack:///./src/plugins/i18n.js","webpack:///./src/main.js","webpack:///./src/App.vue?bd37","webpack:///./src/router/index.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_c","_self","attrs","staticRenderFns","display","staticClass","class","battery_icon","iface_out","startsWith","wifi_icon","_l","wifi_networks","network","on","$event","show_modal_wifi","get_wifi_icon","signal","_v","_s","_e","iocs_number","ip_address","internet","goto_home","backend_option","goto_backend","shutdown_option","show_modal_shutdown","update_available","update_possible","remote_backend","methods","check_update","axios","response","status","current_version","next_version","catch","log","location","hostname","load_config","setInterval","get_battery_icon","battery_level","wifi_level","level","EventBus","$emit","network_name","get_wifi_networks","networks","forEach","access_point","check_internet","ip_out","watch","$route","includes","$router","currentRoute","created","component","hide_modal","display_shudown","$t","shutdown","display_whitelist","domProps","replace","host","add_whitelist","display_wifi","wifi_network","password_class","show_password","directives","rawName","password","expression","Array","isArray","_i","show_keyboard","$$a","$$el","$$c","checked","$$v","$$i","concat","_q","composing","wifi_connecting","wifi_success","wifi_setup","btn_wifi_val","input","onChange","onKeyPress","keyboardClass","props","default","String","keyboard","mounted","config","user_lang","Keyboard","layout","button","handleShift","currentLayout","options","layoutName","shiftToggle","setOptions","setInput","capture_token","components","SimpleKeyboard","onInputChange","post","ssid","router","$on","args","action","btnval","title","Controls","Modals","splash","set_lang","lang","keys","$i18n","messages","locale","querySelector","get_config","Vue","use","VueI18n","i18n","fallbackLocale","require","productionTip","devtools","h","App","$mount","VueRouter","routes","path","base","process"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OAC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A,4BAIAV,OAAIC,IAAIU,QAER,MAAMC,EAAS,CACb,CACEC,KAAM,IACNhM,KAAM,SACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,QACNhM,KAAM,OACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,eACNhM,KAAM,cACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,WACNhM,KAAM,UACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,gBACNhM,KAAM,eACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,YACNhM,KAAM,WACNoG,UAAWA,IAAM,gDACjBuC,OAAO,GAET,CACEqD,KAAM,UACNhM,KAAM,SACNoG,UAAWA,IAAM,gDACjBuC,OAAO,IAILuB,EAAS,IAAI4B,OAAU,CAC3B7K,KAAM,UACNgL,KAAMC,IACNH,WAGa7B,U","file":"js/app.5d381dba.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0861991e\":\"9c29cadc\",\"chunk-20894ada\":\"5d58a9fc\",\"chunk-2d0b23b3\":\"7a92b6b1\",\"chunk-2d0b6d35\":\"594f8d0e\",\"chunk-2d0baeaa\":\"e5cd247b\",\"chunk-2d0cfa15\":\"15a50d26\",\"chunk-2e6079ad\":\"09954c81\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-0861991e\":1,\"chunk-20894ada\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0861991e\":\"3b87afd9\",\"chunk-20894ada\":\"030f6319\",\"chunk-2d0b23b3\":\"31d6cfe0\",\"chunk-2d0b6d35\":\"31d6cfe0\",\"chunk-2d0baeaa\":\"31d6cfe0\",\"chunk-2d0cfa15\":\"31d6cfe0\",\"chunk-2e6079ad\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[_c('Modals'),_c('router-view'),_c('Controls')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.display)?_c('div',{staticClass:\"controls\"},[_c('i',{staticClass:\"battery\",class:[_vm.battery_icon]}),(_vm.iface_out.startsWith('wl'))?_c('div',{staticClass:\"dropup\"},[_c('i',{staticClass:\"wifi\",class:[_vm.wifi_icon]}),_c('div',{staticClass:\"dropup-content\"},[_c('ul',_vm._l((_vm.wifi_networks),function(network){return _c('li',{key:network,on:{\"click\":function($event){return _vm.show_modal_wifi(network.name)}}},[_c('i',{staticClass:\"wifi_mini\",class:[_vm.get_wifi_icon(network.signal)]}),_vm._v(_vm._s(network.name)+\" \")])}),0)])]):_vm._e(),_c('i',{staticClass:\"iocs-number\",class:{ 'border-green': _vm.iocs_number }},[_vm._v(_vm._s(_vm.iocs_number)+\" IOCs\")]),(_vm.ip_address)?_c('i',{staticClass:\"ip_addr\",class:{ 'border-green': _vm.internet }},[_vm._v(_vm._s(_vm.ip_address)+\" \")]):_c('i',{staticClass:\"ip_addr\"},[_vm._v(\"Not connected\")]),_c('i',{staticClass:\"home-icon\",on:{\"click\":function($event){return _vm.goto_home()}}}),(_vm.backend_option)?_c('i',{staticClass:\"config-icon\",on:{\"click\":function($event){return _vm.goto_backend()}}}):_vm._e(),(_vm.shutdown_option)?_c('i',{staticClass:\"shutdown-icon\",on:{\"click\":function($event){return _vm.show_modal_shutdown()}}}):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controls.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controls.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Controls.vue?vue&type=template&id=08d0a0d1\"\nimport script from \"./Controls.vue?vue&type=script&lang=js\"\nexport * from \"./Controls.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.display)?_c('div',[_c('div',{staticClass:\"blurred-wrapper\",on:{\"click\":function($event){return _vm.hide_modal()}}}),(_vm.display_shudown)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"modals.want_to_quit\")))]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.hide_modal()}}},[_vm._v(_vm._s(_vm.$t(\"modals.no_go_back\")))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.shutdown()}}},[_vm._v(_vm._s(_vm.$t(\"modals.yes_continue\")))])])]):_vm._e(),(_vm.display_whitelist)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.$t('modals.want_to_whitelist').replace('{host}', _vm.host))}}),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.hide_modal()}}},[_vm._v(_vm._s(_vm.$t(\"modals.no_go_back\")))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.add_whitelist()}}},[_vm._v(_vm._s(_vm.$t(\"modals.yes_continue\")))])])]):_vm._e(),(_vm.display_wifi)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"modals.please_give_the_password\"))+\" \"),_c('strong',[_vm._v(_vm._s(_vm.wifi_network))])]),_c('div',{staticClass:\"form-group\"},[_c('div',{class:_vm.password_class,on:{\"click\":_vm.show_password}}),((_vm.type)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.password)?_vm._i(_vm.password,null)>-1:(_vm.password)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"change\":function($event){var $$a=_vm.password,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.password=$$a.concat([$$v]))}else{$$i>-1&&(_vm.password=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.password=$$c}}}}):((_vm.type)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.password,null)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"change\":function($event){_vm.password=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":_vm.type},domProps:{\"value\":(_vm.password)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"input\":function($event){if($event.target.composing)return;_vm.password=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_c('button',{staticClass:\"btn width-100\",class:[ _vm.wifi_connecting ? 'loading' : '', _vm.wifi_success ? 'btn-success' : 'btn-primary', ],on:{\"click\":function($event){return _vm.wifi_setup()}}},[_vm._v(_vm._s(_vm.btn_wifi_val))])])])]):_vm._e(),(_vm.show_keyboard)?_c('div',{staticClass:\"keyboard_wrapper\"},[_c('SimpleKeyboard',{attrs:{\"input\":_vm.input},on:{\"onChange\":_vm.onChange,\"onKeyPress\":_vm.onKeyPress}})],1):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:_vm.keyboardClass})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SimpleKeyboard.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SimpleKeyboard.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SimpleKeyboard.vue?vue&type=template&id=24d38e56&scoped=true\"\nimport script from \"./SimpleKeyboard.vue?vue&type=script&lang=js\"\nexport * from \"./SimpleKeyboard.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"24d38e56\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modals.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modals.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Modals.vue?vue&type=template&id=73ca2b7b\"\nimport script from \"./Modals.vue?vue&type=script&lang=js\"\nexport * from \"./Modals.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=4e2caeba\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=4e2caeba&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueI18n from 'vue-i18n'\n\nVue.use(VueI18n)\n\nexport const i18n = new VueI18n({\n locale: 'en',\n fallbackLocale: 'en',\n messages: {\n 'en': require('@/locales/en.json'),\n 'fr': require('@/locales/fr.json'),\n 'es': require('@/locales/es.json'),\n 'ru': require('@/locales/ru.json'),\n 'pt': require('@/locales/pt.json'),\n 'it': require('@/locales/it.json'),\n 'de': require('@/locales/de.json'),\n 'pl': require('@/locales/pl.json')\n }\n})\n","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport router from './router'\r\nimport { i18n } from '@/plugins/i18n'\r\n\r\nVue.config.productionTip = true\r\nVue.config.devtools = true\r\n\r\nexport const EventBus = new Vue();\r\n\r\nnew Vue({\r\n router,\r\n i18n,\r\n render: h => h(App)\r\n}).$mount('#app')","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=4e2caeba&prod&lang=css\"","import Vue from 'vue'\r\nimport VueRouter from 'vue-router'\r\n\r\n\r\nVue.use(VueRouter)\r\n\r\nconst routes = [\r\n {\r\n path: '/',\r\n name: 'loader',\r\n component: () => import('../views/splash-screen.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/home',\r\n name: 'home',\r\n component: () => import('../views/home.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/generate-ap',\r\n name: 'generate-ap',\r\n component: () => import('../views/generate-ap.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/capture',\r\n name: 'capture',\r\n component: () => import('../views/capture.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/save-capture',\r\n name: 'save-capture',\r\n component: () => import('../views/save-capture.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/analysis',\r\n name: 'analysis',\r\n component: () => import('../views/analysis.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/report',\r\n name: 'report',\r\n component: () => import('../views/report.vue'),\r\n props: true\r\n }\r\n]\r\n\r\nconst router = new VueRouter({\r\n mode: 'history',\r\n base: process.env.BASE_URL,\r\n routes\r\n})\r\n\r\nexport default router\r\n"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-0861991e.9c29cadc.js b/app/frontend/dist/js/chunk-0861991e.9c29cadc.js new file mode 100644 index 0000000..17e3c61 --- /dev/null +++ b/app/frontend/dist/js/chunk-0861991e.9c29cadc.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0861991e"],{5980:function(e,s,t){},9152:function(e,s,t){"use strict";t.r(s);var a=function(){var e=this,s=e._self._c;return s("div",{staticClass:"wrapper"},[e.save_usb&&e.init?s("div",{staticClass:"center"},[s("div",{staticClass:"canvas-anim",class:{"anim-connect":!e.saved&&!e.usb},on:{click:function(s){return e.new_capture()}}},[!e.saved&&e.usb?s("div",{staticClass:"icon-spinner"}):e._e(),e.saved?s("div",{staticClass:"icon-success"}):e._e(),s("div",{staticClass:"icon-usb"}),s("div",{staticClass:"icon-usb-plug"})]),e.saved||e.usb?e._e():s("p",{staticClass:"legend"},[s("br"),e._v(e._s(e.$t("save-capture.please_connect")))]),!e.saved&&e.usb?s("p",{staticClass:"legend"},[s("br"),e._v(e._s(e.$t("save-capture.we_are_saving")))]):e._e(),e.saved?s("p",{staticClass:"legend"},[s("br"),e._v(e._s(e.$t("save-capture.tap_msg")))]):e._e()]):!e.save_usb&&e.init?s("div",{staticClass:"center"},[s("div",[s("p",{staticClass:"legend"},[e._v(e._s(e.$t("save-capture.capture_download"))),s("br"),s("br"),s("br")]),s("button",{staticClass:"btn btn-primary",on:{click:function(s){return e.new_capture()}}},[e._v(e._s(e.$t("save-capture.start_capture_btn")))]),s("iframe",{staticClass:"frame-download",attrs:{src:e.download_url}})])]):e._e()])},n=[],c=(t("14d9"),t("bc3a")),i=t.n(c),u=t("a18c"),o={name:"save-capture",components:{},data(){return{usb:!1,saved:!1,save_usb:!1,init:!1}},props:{capture_token:String},methods:{check_usb:function(){console.log("[save-capture.vue] Checking connected USB device..."),i.a.get("/api/save/usb-check",{timeout:3e4}).then(e=>{e.data.status&&(this.usb=!0,clearInterval(this.interval),this.save_capture())})},save_capture:function(){var e=this.capture_token;console.log("[save-capture.vue] Saving the capture on USB"),i.a.get(`/api/save/save-capture/${e}/usb`,{timeout:3e4}).then(e=>{e.data.status&&(this.saved=!0,console.log("[save-capture.vue] Capture saved, going back to main view"),this.timeout=setTimeout(()=>u["a"].push("/"),6e4))})},new_capture:function(){console.log("[save-capture.vue] Capture saved, generating a new access point"),clearTimeout(this.timeout),u["a"].push({name:"generate-ap"})}},created:function(){console.log("[save-capture.vue] Showing save-capture.vue"),window.config.download_links?(console.log("[save-capture.vue] Using download links instead of USB key"),this.init=!0,this.save_usb=!1,this.download_url=`/api/save/save-capture/${this.capture_token}/url`):(console.log("[save-capture.vue] Using USB key to save the capture"),this.init=!0,this.save_usb=!0,this.interval=setInterval(()=>{this.check_usb()},500))}},r=o,v=(t("d12d"),t("2877")),l=Object(v["a"])(r,a,n,!1,null,null,null);s["default"]=l.exports},d12d:function(e,s,t){"use strict";t("5980")}}]); +//# sourceMappingURL=chunk-0861991e.9c29cadc.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-0861991e.9c29cadc.js.map b/app/frontend/dist/js/chunk-0861991e.9c29cadc.js.map new file mode 100644 index 0000000..f0789df --- /dev/null +++ b/app/frontend/dist/js/chunk-0861991e.9c29cadc.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/save-capture.vue","webpack:///src/views/save-capture.vue","webpack:///./src/views/save-capture.vue?364d","webpack:///./src/views/save-capture.vue?b76f","webpack:///./src/views/save-capture.vue?2117"],"names":["render","_vm","this","_c","_self","staticClass","save_usb","init","class","saved","usb","on","$event","new_capture","_e","_v","_s","$t","attrs","download_url","staticRenderFns","name","components","data","props","capture_token","String","methods","check_usb","console","log","axios","get","timeout","then","response","status","clearInterval","interval","save_capture","setTimeout","router","push","clearTimeout","created","window","config","download_links","setInterval","component"],"mappings":"8IAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAAEJ,EAAIK,UAAYL,EAAIM,KAAMJ,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,cAAcG,MAAM,CAAC,gBAAiBP,EAAIQ,QAAUR,EAAIS,KAAKC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,iBAAiB,EAAGZ,EAAIQ,OAASR,EAAIS,IAAKP,EAAG,MAAM,CAACE,YAAY,iBAAiBJ,EAAIa,KAAMb,EAAIQ,MAAON,EAAG,MAAM,CAACE,YAAY,iBAAiBJ,EAAIa,KAAKX,EAAG,MAAM,CAACE,YAAY,aAAaF,EAAG,MAAM,CAACE,YAAY,oBAAsBJ,EAAIQ,OAAUR,EAAIS,IAAqGT,EAAIa,KAApGX,EAAG,IAAI,CAACE,YAAY,UAAU,CAACF,EAAG,MAAMF,EAAIc,GAAGd,EAAIe,GAAGf,EAAIgB,GAAG,oCAA8ChB,EAAIQ,OAASR,EAAIS,IAAKP,EAAG,IAAI,CAACE,YAAY,UAAU,CAACF,EAAG,MAAMF,EAAIc,GAAGd,EAAIe,GAAGf,EAAIgB,GAAG,kCAAkChB,EAAIa,KAAMb,EAAIQ,MAAON,EAAG,IAAI,CAACE,YAAY,UAAU,CAACF,EAAG,MAAMF,EAAIc,GAAGd,EAAIe,GAAGf,EAAIgB,GAAG,4BAA4BhB,EAAIa,QAASb,EAAIK,UAAYL,EAAIM,KAAMJ,EAAG,MAAM,CAAC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AAgC,SAAAU,YAAA,UAAApB,aAAA,QCrGqV,I,wBCQjVqB,EAAY,eACd,EACAjD,EACAoB,GACA,EACA,KACA,KACA,MAIa,aAAA6B,E,2CCnBf","file":"js/chunk-0861991e.9c29cadc.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[(_vm.save_usb && _vm.init)?_c('div',{staticClass:\"center\"},[_c('div',{staticClass:\"canvas-anim\",class:{'anim-connect': !_vm.saved && !_vm.usb},on:{\"click\":function($event){return _vm.new_capture()}}},[(!_vm.saved && _vm.usb)?_c('div',{staticClass:\"icon-spinner\"}):_vm._e(),(_vm.saved)?_c('div',{staticClass:\"icon-success\"}):_vm._e(),_c('div',{staticClass:\"icon-usb\"}),_c('div',{staticClass:\"icon-usb-plug\"})]),(!_vm.saved && !_vm.usb)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.please_connect\")))]):_vm._e(),(!_vm.saved && _vm.usb)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.we_are_saving\")))]):_vm._e(),(_vm.saved)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.tap_msg\")))]):_vm._e()]):(!_vm.save_usb && _vm.init)?_c('div',{staticClass:\"center\"},[_c('div',[_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"save-capture.capture_download\"))),_c('br'),_c('br'),_c('br')]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"save-capture.start_capture_btn\")))]),_c('iframe',{staticClass:\"frame-download\",attrs:{\"src\":_vm.download_url}})])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./save-capture.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./save-capture.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./save-capture.vue?vue&type=template&id=52e6f598\"\nimport script from \"./save-capture.vue?vue&type=script&lang=js\"\nexport * from \"./save-capture.vue?vue&type=script&lang=js\"\nimport style0 from \"./save-capture.vue?vue&type=style&index=0&id=52e6f598&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./save-capture.vue?vue&type=style&index=0&id=52e6f598&prod&lang=scss\""],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-0d175fb6.e0662e09.js b/app/frontend/dist/js/chunk-0d175fb6.e0662e09.js deleted file mode 100644 index 0470404..0000000 --- a/app/frontend/dist/js/chunk-0d175fb6.e0662e09.js +++ /dev/null @@ -1,2 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0d175fb6"],{"192d":function(e,s,t){"use strict";t("fd7d")},9152:function(e,s,t){"use strict";t.r(s);var a=function(){var e=this,s=e._self._c;return s("div",{staticClass:"wrapper"},[e.save_usb&&e.init?s("div",{staticClass:"center"},[s("div",{staticClass:"canvas-anim",class:{"anim-connect":!e.saved&&!e.usb},on:{click:function(s){return e.new_capture()}}},[!e.saved&&e.usb?s("div",{staticClass:"icon-spinner"}):e._e(),e.saved?s("div",{staticClass:"icon-success"}):e._e(),s("div",{staticClass:"icon-usb"}),s("div",{staticClass:"icon-usb-plug"})]),e.saved||e.usb?e._e():s("p",{staticClass:"legend"},[s("br"),e._v(e._s(e.$t("save-capture.please_connect")))]),!e.saved&&e.usb?s("p",{staticClass:"legend"},[s("br"),e._v(e._s(e.$t("save-capture.we_are_saving")))]):e._e(),e.saved?s("p",{staticClass:"legend"},[s("br"),e._v(e._s(e.$t("save-capture.tap_msg")))]):e._e()]):!e.save_usb&&e.init?s("div",{staticClass:"center"},[s("div",[s("p",{staticClass:"legend"},[e._v(e._s(e.$t("save-capture.capture_download"))),s("br"),s("br"),s("br")]),s("button",{staticClass:"btn btn-primary",on:{click:function(s){return e.new_capture()}}},[e._v(e._s(e.$t("save-capture.start_capture_btn")))]),s("iframe",{staticClass:"frame-download",attrs:{src:e.download_url}})])]):e._e()])},n=[],c=(t("14d9"),t("bc3a")),i=t.n(c),u=t("a18c"),o={name:"save-capture",components:{},data(){return{usb:!1,saved:!1,save_usb:!1,init:!1}},props:{capture_token:String},methods:{check_usb:function(){console.log("[save-capture.vue] Checking connected USB device..."),i.a.get("/api/save/usb-check",{timeout:3e4}).then(e=>{e.data.status&&(this.usb=!0,clearInterval(this.interval),this.save_capture())})},save_capture:function(){var e=this.capture_token;console.log("[save-capture.vue] Saving the capture on USB"),i.a.get(`/api/save/save-capture/${e}/usb`,{timeout:3e4}).then(e=>{e.data.status&&(this.saved=!0,console.log("[save-capture.vue] Capture saved, going back to main view"),this.timeout=setTimeout(()=>u["a"].push("/"),6e4))})},new_capture:function(){console.log("[save-capture.vue] Capture saved, generating a new access point"),clearTimeout(this.timeout),u["a"].push({name:"generate-ap"})}},created:function(){console.log("[save-capture.vue] Showing save-capture.vue"),window.config.download_links?(console.log("[save-capture.vue] Using download links instead of USB key"),this.init=!0,this.save_usb=!1,this.download_url=`/api/save/save-capture/${this.capture_token}/url`):(console.log("[save-capture.vue] Using USB key to save the capture"),this.init=!0,this.save_usb=!0,this.interval=setInterval(()=>{this.check_usb()},500))}},r=o,v=(t("192d"),t("2877")),l=Object(v["a"])(r,a,n,!1,null,null,null);s["default"]=l.exports},fd7d:function(e,s,t){}}]); -//# sourceMappingURL=chunk-0d175fb6.e0662e09.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-0d175fb6.e0662e09.js.map b/app/frontend/dist/js/chunk-0d175fb6.e0662e09.js.map deleted file mode 100644 index 6947a33..0000000 --- a/app/frontend/dist/js/chunk-0d175fb6.e0662e09.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./src/views/save-capture.vue?3f48","webpack:///./src/views/save-capture.vue","webpack:///src/views/save-capture.vue","webpack:///./src/views/save-capture.vue?6c0a","webpack:///./src/views/save-capture.vue?e430"],"names":["render","_vm","this","_c","_self","staticClass","save_usb","init","class","saved","usb","on","$event","new_capture","_e","_v","_s","$t","attrs","download_url","staticRenderFns","name","components","data","props","capture_token","String","methods","check_usb","console","log","axios","get","timeout","then","response","status","clearInterval","interval","save_capture","setTimeout","router","push","clearTimeout","created","window","config","download_links","setInterval","component"],"mappings":"kHAAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAAEJ,EAAIK,UAAYL,EAAIM,KAAMJ,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,cAAcG,MAAM,CAAC,gBAAiBP,EAAIQ,QAAUR,EAAIS,KAAKC,GA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UAAA,EACAC,MAAA,IAGAiB,MAAA,CACAC,cAAAC,QAEAC,QAAA,CACAC,UAAA,WACAC,QAAAC,IAAA,uDACAC,IAAAC,IAAA,uBAAAC,QAAA,MACAC,KAAAC,IACAA,EAAAZ,KAAAa,SACA,KAAA1B,KAAA,EACA2B,cAAA,KAAAC,UACA,KAAAC,mBAIAA,aAAA,WACA,IAAAd,EAAA,KAAAA,cACAI,QAAAC,IAAA,gDACAC,IAAAC,IAAA,0BAAAP,QAAA,CAAAQ,QAAA,MACAC,KAAAC,IACAA,EAAAZ,KAAAa,SACA,KAAA3B,OAAA,EACAoB,QAAAC,IAAA,6DACA,KAAAG,QAAAO,WAAA,IAAAC,OAAAC,KAAA,cAIA7B,YAAA,WACAgB,QAAAC,IAAA,mEACAa,aAAA,KAAAV,SACAQ,OAAAC,KAAA,CAAArB,KAAA,kBAGAuB,QAAA,WACAf,QAAAC,IAAA,+CACAe,OAAAC,OAAAC,gBACAlB,QAAAC,IAAA,8DACA,KAAAvB,MAAA,EACA,KAAAD,UAAA,EACA,KAAAa,aAAA,+BAAAM,sBAEAI,QAAAC,IAAA,wDACA,KAAAvB,MAAA,EACA,KAAAD,UAAA,EACA,KAAAgC,SAAAU,YAAA,UAAApB,aAAA,QCrGsV,I,wBCQlVqB,EAAY,eACd,EACAjD,EACAoB,GACA,EACA,KACA,KACA,MAIa,aAAA6B,E","file":"js/chunk-0d175fb6.e0662e09.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./save-capture.vue?vue&type=style&index=0&id=52e6f598&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[(_vm.save_usb && _vm.init)?_c('div',{staticClass:\"center\"},[_c('div',{staticClass:\"canvas-anim\",class:{'anim-connect': !_vm.saved && !_vm.usb},on:{\"click\":function($event){return _vm.new_capture()}}},[(!_vm.saved && _vm.usb)?_c('div',{staticClass:\"icon-spinner\"}):_vm._e(),(_vm.saved)?_c('div',{staticClass:\"icon-success\"}):_vm._e(),_c('div',{staticClass:\"icon-usb\"}),_c('div',{staticClass:\"icon-usb-plug\"})]),(!_vm.saved && !_vm.usb)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.please_connect\")))]):_vm._e(),(!_vm.saved && _vm.usb)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.we_are_saving\")))]):_vm._e(),(_vm.saved)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.tap_msg\")))]):_vm._e()]):(!_vm.save_usb && _vm.init)?_c('div',{staticClass:\"center\"},[_c('div',[_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"save-capture.capture_download\"))),_c('br'),_c('br'),_c('br')]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"save-capture.start_capture_btn\")))]),_c('iframe',{staticClass:\"frame-download\",attrs:{\"src\":_vm.download_url}})])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./save-capture.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./save-capture.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./save-capture.vue?vue&type=template&id=52e6f598&\"\nimport script from \"./save-capture.vue?vue&type=script&lang=js&\"\nexport * from \"./save-capture.vue?vue&type=script&lang=js&\"\nimport style0 from \"./save-capture.vue?vue&type=style&index=0&id=52e6f598&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-ba2c4548.738c2c59.js b/app/frontend/dist/js/chunk-20894ada.5d58a9fc.js similarity index 97% rename from app/frontend/dist/js/chunk-ba2c4548.738c2c59.js rename to app/frontend/dist/js/chunk-20894ada.5d58a9fc.js index c07923c..274d749 100644 --- a/app/frontend/dist/js/chunk-ba2c4548.738c2c59.js +++ b/app/frontend/dist/js/chunk-20894ada.5d58a9fc.js @@ -1,2 +1,2 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ba2c4548"],{"6ea3":function(t,s,e){"use strict";e("ac41")},ac41:function(t,s,e){},e022:function(t,s,e){"use strict";e.r(s);e("14d9");var r=function(){var t=this,s=t._self._c;return s("div",[t.results?s("div",[t.grep_keyword("STALKERWARE","high")?s("div",{staticClass:"high-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.stalkerware_msg"))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-high",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):t.alerts.high.length>=1?s("div",{staticClass:"high-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.high_msg",{nb:t.$i18n.messages[t.$i18n.locale].report.numbers[t.alerts.high.length]}))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-high",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):t.alerts.moderate.length>=1?s("div",{staticClass:"med-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.moderate_msg",{nb:t.$i18n.messages[t.$i18n.locale].report.numbers[t.alerts.moderate.length]}))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-moderate",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):t.alerts.low.length>=1?s("div",{staticClass:"low-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.low_msg",{nb:t.$i18n.messages[t.$i18n.locale].report.numbers[t.alerts.low.length]}))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-low",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):s("div",{staticClass:"none-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.fine_msg"))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))]),s("button",{staticClass:"btn btn-report-low",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))])])])]):t.show_report?s("div",{staticClass:"wrapper"},[s("div",{staticClass:"report-wrapper"},[s("div",{staticClass:"device-ctx"},[s("h3",{staticStyle:{margin:"0","padding-left":"10px"}},[t._v(t._s(t.$t("report.report_of"))+" "+t._s(t.device.name))]),s("div",{staticClass:"device-ctx-legend"},[t._v(" "+t._s(t.$t("report.pcap_sha1"))+" "+t._s(t.pcap.SHA1)),s("br"),t._v(" "+t._s(t.$t("report.capture_started"))+" "+t._s(t.pcap["First packet time"].split(",")[0])),s("br"),t._v(" "+t._s(t.$t("report.capture_ended"))+" "+t._s(t.pcap["Last packet time"].split(",")[0])),s("br"),t._v(" "+t._s(t.$t("report.detection_methods"))+" "+t._s(t.detection_methods)+" ")])]),t.alerts?s("div",[s("ul",{staticClass:"alerts"},[t._l(t.alerts.high,(function(e){return s("li",{key:e.message,staticClass:"alert"},[s("div",{staticClass:"alert-header"},[s("span",{staticClass:"high-label"},[t._v(t._s(t.$t("report.high")))]),s("span",{staticClass:"alert-id"},[t._v(t._s(e.id))]),s("span",{staticClass:"btn-whitelist",on:{click:function(s){return t.add_whitelist(e.host)}}},[t._v("Add to the whitelist")])]),s("div",{staticClass:"alert-body"},[s("span",{staticClass:"title"},[t._v(t._s(e.title))]),s("p",{staticClass:"description"},[t._v(t._s(e.description))])])])})),t._l(t.alerts.moderate,(function(e){return s("li",{key:e.message,staticClass:"alert"},[s("div",{staticClass:"alert-header"},[s("span",{staticClass:"moderate-label"},[t._v(t._s(t.$t("report.moderate")))]),s("span",{staticClass:"alert-id"},[t._v(t._s(e.id))]),s("span",{staticClass:"btn-whitelist",on:{click:function(s){return t.add_whitelist(e.host)}}},[t._v("Add to the whitelist")])]),s("div",{staticClass:"alert-body"},[s("span",{staticClass:"title"},[t._v(t._s(e.title))]),s("p",{staticClass:"description"},[t._v(t._s(e.description))])])])})),t._l(t.alerts.low,(function(e){return s("li",{key:e.message,staticClass:"alert"},[s("div",{staticClass:"alert-header"},[s("span",{staticClass:"moderate-label"},[t._v(t._s(t.$t("report.low")))]),s("span",{staticClass:"alert-id"},[t._v(t._s(e.id))]),s("span",{staticClass:"btn-whitelist",on:{click:function(s){return t.add_whitelist(e.host)}}},[t._v("Add to the whitelist")])]),s("div",{staticClass:"alert-body"},[s("span",{staticClass:"title"},[t._v(t._s(e.title))]),s("p",{staticClass:"description"},[t._v(t._s(e.description))])])])}))],2)]):s("div",{staticClass:"no-alerts-to-show"},[s("span",{staticClass:"main-text"},[t._v(t._s(t.$t("report.no_alerts_title")))]),s("br"),s("span",{staticClass:"second-text"},[t._v(t._s(t.$t("report.no_alerts_subtext")))])]),t.uncategorized_records.length>0?s("h5",{staticClass:"title-report"},[t._v(t._s(t.$t("report.uncat_coms_table")))]):t._e(),t.uncategorized_records.length>0?s("div",[s("table",{staticClass:"table-uncat"},[s("thead",[s("tr",[s("td",[t._v(t._s(t.$t("report.protocol")))]),s("td",[t._v(t._s(t.$t("report.domain_name")))]),s("td",[t._v(t._s(t.$t("report.ip_address")))]),s("td",[t._v(t._s(t.$t("report.port")))])])]),t._l(t.uncategorized_records,(function(e){return s("tr",{key:e.ip_dst},[s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].name).join(", ")))]),s("td",{on:{click:function(s){return t.add_whitelist(e.domains[0])}}},[t._v(t._s(e.domains.join(", ")))]),s("td",{on:{click:function(s){return t.add_whitelist(e.ip_dst)}}},[t._v(t._s(e.ip_dst))]),s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].port).join(", ")))])])}))],2)]):t._e(),t.whitelisted_records.length>0?s("h5",{staticClass:"title-report"},[t._v(t._s(t.$t("report.whitelisted_coms_table")))]):t._e(),t.whitelisted_records.length>0?s("div",[s("table",{staticClass:"table-uncat"},[s("thead",[s("tr",[s("td",[t._v(t._s(t.$t("report.protocol")))]),s("td",[t._v(t._s(t.$t("report.domain_name")))]),s("td",[t._v(t._s(t.$t("report.ip_address")))]),s("td",[t._v(t._s(t.$t("report.port")))])])]),t._l(t.whitelisted_records,(function(e){return s("tr",{key:e.ip_dst},[s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].name).join(", ")))]),s("td",[t._v(t._s(e.domains.join(", ")))]),s("td",[t._v(t._s(e.ip_dst))]),s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].port).join(", ")))])])}))],2)]):t._e(),s("div",{attrs:{id:"controls-analysis"}},[s("div",{staticClass:"column col-6"},[s("button",{staticClass:"btn btn btn-primary width-100",on:{click:function(s){return t.save_capture()}}},[t._v(t._s(t.$t("report.save")))])]),s("div",{staticClass:"column col-6"},[s("button",{staticClass:"btn width-100",on:{click:function(s){return t.$router.push("generate-ap")}}},[t._v(t._s(t.$t("report.start_new_capture")))])])])])]):t._e()])},i=[],a=e("a18c"),o=e("bc3a"),n=e.n(o),c=e("56d7"),l={name:"report",data(){return{results:!0,detection_methods:"",uncategorized_records:[],whitelisted_records:[]}},props:{device:Object,methods:Object,pcap:Object,records:Array,alerts:Array,capture_token:String},methods:{save_capture:function(){console.log("[report.vue] Saving the capture"),a["a"].replace({name:"save-capture",params:{capture_token:this.capture_token}})},new_capture:function(){console.log("[report.vue] Deleting the capture and creating a new AP"),n.a.get("/api/misc/delete-captures",{timeout:3e4}).then(()=>{a["a"].push({name:"generate-ap"})}).catch(t=>{console.log(t)})},grep_keyword:function(t,s){try{var e,r;return!!this.alerts[s].length&&(this.alerts[s].forEach(s=>{e=s.title.indexOf(t),r||(r=e>0)}),r)}catch(i){console.log(i)}},get_detection_methods:function(){this.detection_methods+=1==this.methods.iocs?`☑ ${this.$t("report.indicators")} `:`☐ ${this.$t("report.indicators")} `,this.detection_methods+=1==this.methods.heuristics?`☑ ${this.$t("report.heuristics")} `:`☐ ${this.$t("report.heuristics")} `,this.detection_methods+=1==this.methods.active?`☑ ${this.$t("report.active")} `:`☐ ${this.$t("report.active")} `},add_whitelist:function(t){c["EventBus"].$emit("showModal",{action:"whitelist",host:t})},get_records:function(){this.records.forEach(t=>{t.suspicious||t.whitelisted?t.whitelisted&&this.whitelisted_records.push(t):this.uncategorized_records.push(t)})}},created:function(){console.log("[report.vue] Showing report.vue"),this.get_detection_methods(),this.get_records()}},_=l,p=(e("6ea3"),e("2877")),d=Object(p["a"])(_,r,i,!1,null,null,null);s["default"]=d.exports}}]); -//# sourceMappingURL=chunk-ba2c4548.738c2c59.js.map \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-20894ada"],{"23d9":function(t,s,e){},da41:function(t,s,e){"use strict";e("23d9")},e022:function(t,s,e){"use strict";e.r(s);e("14d9");var r=function(){var t=this,s=t._self._c;return s("div",[t.results?s("div",[t.grep_keyword("STALKERWARE","high")?s("div",{staticClass:"high-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.stalkerware_msg"))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-high",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):t.alerts.high.length>=1?s("div",{staticClass:"high-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.high_msg",{nb:t.$i18n.messages[t.$i18n.locale].report.numbers[t.alerts.high.length]}))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-high",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):t.alerts.moderate.length>=1?s("div",{staticClass:"med-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.moderate_msg",{nb:t.$i18n.messages[t.$i18n.locale].report.numbers[t.alerts.moderate.length]}))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-moderate",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):t.alerts.low.length>=1?s("div",{staticClass:"low-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.low_msg",{nb:t.$i18n.messages[t.$i18n.locale].report.numbers[t.alerts.low.length]}))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-low",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):s("div",{staticClass:"none-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.fine_msg"))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))]),s("button",{staticClass:"btn btn-report-low",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))])])])]):t.show_report?s("div",{staticClass:"wrapper"},[s("div",{staticClass:"report-wrapper"},[s("div",{staticClass:"device-ctx"},[s("h3",{staticStyle:{margin:"0","padding-left":"10px"}},[t._v(t._s(t.$t("report.report_of"))+" "+t._s(t.device.name))]),s("div",{staticClass:"device-ctx-legend"},[t._v(" "+t._s(t.$t("report.pcap_sha1"))+" "+t._s(t.pcap.SHA1)),s("br"),t._v(" "+t._s(t.$t("report.capture_started"))+" "+t._s(t.pcap["First packet time"].split(",")[0])),s("br"),t._v(" "+t._s(t.$t("report.capture_ended"))+" "+t._s(t.pcap["Last packet time"].split(",")[0])),s("br"),t._v(" "+t._s(t.$t("report.detection_methods"))+" "+t._s(t.detection_methods)+" ")])]),t.alerts?s("div",[s("ul",{staticClass:"alerts"},[t._l(t.alerts.high,(function(e){return s("li",{key:e.message,staticClass:"alert"},[s("div",{staticClass:"alert-header"},[s("span",{staticClass:"high-label"},[t._v(t._s(t.$t("report.high")))]),s("span",{staticClass:"alert-id"},[t._v(t._s(e.id))]),s("span",{staticClass:"btn-whitelist",on:{click:function(s){return t.add_whitelist(e.host)}}},[t._v("Add to the whitelist")])]),s("div",{staticClass:"alert-body"},[s("span",{staticClass:"title"},[t._v(t._s(e.title))]),s("p",{staticClass:"description"},[t._v(t._s(e.description))])])])})),t._l(t.alerts.moderate,(function(e){return s("li",{key:e.message,staticClass:"alert"},[s("div",{staticClass:"alert-header"},[s("span",{staticClass:"moderate-label"},[t._v(t._s(t.$t("report.moderate")))]),s("span",{staticClass:"alert-id"},[t._v(t._s(e.id))]),s("span",{staticClass:"btn-whitelist",on:{click:function(s){return t.add_whitelist(e.host)}}},[t._v("Add to the whitelist")])]),s("div",{staticClass:"alert-body"},[s("span",{staticClass:"title"},[t._v(t._s(e.title))]),s("p",{staticClass:"description"},[t._v(t._s(e.description))])])])})),t._l(t.alerts.low,(function(e){return s("li",{key:e.message,staticClass:"alert"},[s("div",{staticClass:"alert-header"},[s("span",{staticClass:"moderate-label"},[t._v(t._s(t.$t("report.low")))]),s("span",{staticClass:"alert-id"},[t._v(t._s(e.id))]),s("span",{staticClass:"btn-whitelist",on:{click:function(s){return t.add_whitelist(e.host)}}},[t._v("Add to the whitelist")])]),s("div",{staticClass:"alert-body"},[s("span",{staticClass:"title"},[t._v(t._s(e.title))]),s("p",{staticClass:"description"},[t._v(t._s(e.description))])])])}))],2)]):s("div",{staticClass:"no-alerts-to-show"},[s("span",{staticClass:"main-text"},[t._v(t._s(t.$t("report.no_alerts_title")))]),s("br"),s("span",{staticClass:"second-text"},[t._v(t._s(t.$t("report.no_alerts_subtext")))])]),t.uncategorized_records.length>0?s("h5",{staticClass:"title-report"},[t._v(t._s(t.$t("report.uncat_coms_table")))]):t._e(),t.uncategorized_records.length>0?s("div",[s("table",{staticClass:"table-uncat"},[s("thead",[s("tr",[s("td",[t._v(t._s(t.$t("report.protocol")))]),s("td",[t._v(t._s(t.$t("report.domain_name")))]),s("td",[t._v(t._s(t.$t("report.ip_address")))]),s("td",[t._v(t._s(t.$t("report.port")))])])]),t._l(t.uncategorized_records,(function(e){return s("tr",{key:e.ip_dst},[s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].name).join(", ")))]),s("td",{on:{click:function(s){return t.add_whitelist(e.domains[0])}}},[t._v(t._s(e.domains.join(", ")))]),s("td",{on:{click:function(s){return t.add_whitelist(e.ip_dst)}}},[t._v(t._s(e.ip_dst))]),s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].port).join(", ")))])])}))],2)]):t._e(),t.whitelisted_records.length>0?s("h5",{staticClass:"title-report"},[t._v(t._s(t.$t("report.whitelisted_coms_table")))]):t._e(),t.whitelisted_records.length>0?s("div",[s("table",{staticClass:"table-uncat"},[s("thead",[s("tr",[s("td",[t._v(t._s(t.$t("report.protocol")))]),s("td",[t._v(t._s(t.$t("report.domain_name")))]),s("td",[t._v(t._s(t.$t("report.ip_address")))]),s("td",[t._v(t._s(t.$t("report.port")))])])]),t._l(t.whitelisted_records,(function(e){return s("tr",{key:e.ip_dst},[s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].name).join(", ")))]),s("td",[t._v(t._s(e.domains.join(", ")))]),s("td",[t._v(t._s(e.ip_dst))]),s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].port).join(", ")))])])}))],2)]):t._e(),s("div",{attrs:{id:"controls-analysis"}},[s("div",{staticClass:"column col-6"},[s("button",{staticClass:"btn btn btn-primary width-100",on:{click:function(s){return t.save_capture()}}},[t._v(t._s(t.$t("report.save")))])]),s("div",{staticClass:"column col-6"},[s("button",{staticClass:"btn width-100",on:{click:function(s){return t.$router.push("generate-ap")}}},[t._v(t._s(t.$t("report.start_new_capture")))])])])])]):t._e()])},i=[],a=e("a18c"),o=e("bc3a"),n=e.n(o),c=e("56d7"),l={name:"report",data(){return{results:!0,detection_methods:"",uncategorized_records:[],whitelisted_records:[]}},props:{device:Object,methods:Object,pcap:Object,records:Array,alerts:Array,capture_token:String},methods:{save_capture:function(){console.log("[report.vue] Saving the capture"),a["a"].replace({name:"save-capture",params:{capture_token:this.capture_token}})},new_capture:function(){console.log("[report.vue] Deleting the capture and creating a new AP"),n.a.get("/api/misc/delete-captures",{timeout:3e4}).then(()=>{a["a"].push({name:"generate-ap"})}).catch(t=>{console.log(t)})},grep_keyword:function(t,s){try{var e,r;return!!this.alerts[s].length&&(this.alerts[s].forEach(s=>{e=s.title.indexOf(t),r||(r=e>0)}),r)}catch(i){console.log(i)}},get_detection_methods:function(){this.detection_methods+=1==this.methods.iocs?`☑ ${this.$t("report.indicators")} `:`☐ ${this.$t("report.indicators")} `,this.detection_methods+=1==this.methods.heuristics?`☑ ${this.$t("report.heuristics")} `:`☐ ${this.$t("report.heuristics")} `,this.detection_methods+=1==this.methods.active?`☑ ${this.$t("report.active")} `:`☐ ${this.$t("report.active")} `},add_whitelist:function(t){c["EventBus"].$emit("showModal",{action:"whitelist",host:t})},get_records:function(){this.records.forEach(t=>{t.suspicious||t.whitelisted?t.whitelisted&&this.whitelisted_records.push(t):this.uncategorized_records.push(t)})}},created:function(){console.log("[report.vue] Showing report.vue"),this.get_detection_methods(),this.get_records()}},_=l,p=(e("da41"),e("2877")),d=Object(p["a"])(_,r,i,!1,null,null,null);s["default"]=d.exports}}]); +//# sourceMappingURL=chunk-20894ada.5d58a9fc.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-20894ada.5d58a9fc.js.map b/app/frontend/dist/js/chunk-20894ada.5d58a9fc.js.map new file mode 100644 index 0000000..311854d --- /dev/null +++ b/app/frontend/dist/js/chunk-20894ada.5d58a9fc.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/report.vue?8290","webpack:///./src/views/report.vue","webpack:///src/views/report.vue","webpack:///./src/views/report.vue?3598","webpack:///./src/views/report.vue?ee0d"],"names":["render","_vm","this","_c","_self","results","grep_keyword","staticClass","domProps","_s","$t","on","$event","new_capture","_v","show_report","alerts","high","length","nb","$i18n","messages","locale","report","numbers","moderate","low","staticStyle","device","name","pcap","SHA1","split","detection_methods","_l","alert","key","message","id","add_whitelist","host","title","description","uncategorized_records","_e","record","ip_dst","Object","keys","protocols","map","join","domains","port","whitelisted_records","attrs","save_capture","$router","push","staticRenderFns","data","props","methods","records","Array","capture_token","String","console","log","router","replace","params","axios","get","timeout","then","catch","error","kw","level","idx","found","forEach","a","indexOf","get_detection_methods","iocs","heuristics","active","EventBus","$emit","get_records","r","suspicious","whitelisted","created","component"],"mappings":"yIAAA,W,uDCAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAAEF,EAAII,QAASF,EAAG,MAAM,CAAEF,EAAIK,aAAa,cAAe,QAASH,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,MAAM,CAACI,YAAY,UAAU,CAACJ,EAAG,KAAK,CAACI,YAAY,gBAAgBC,SAAS,CAAC,UAAYP,EAAIQ,GAAGR,EAAIS,GAAG,8BAA8BP,EAAG,SAAS,CAACI,YAAY,2BAA2BI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,iBAAiB,CAACZ,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,gCAAgCP,EAAG,SAAS,CAACI,YAAY,sBAAsBI,GAAG,CAAC,MAAQ,SAASC,GAAQX,EAAIc,aAAY,EAAKd,EAAII,SAAQ,KAAU,CAACJ,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,mCAAoCT,EAAIe,OAAOC,KAAKC,QAAU,EAAGf,EA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A,6BAAAC,QAAA,MACAC,KAAA,KAAAN,OAAAX,KAAA,CAAA7B,KAAA,kBACA+C,MAAAC,IAAAV,QAAAC,IAAAS,MAEAvE,aAAA,SAAAwE,EAAAC,GACA,IAEA,IAAAC,EACAC,EAFA,aAAAjE,OAAA+D,GAAA7D,SAGA,KAAAF,OAAA+D,GAAAG,QAAAC,IACAH,EAAAG,EAAA1C,MAAA2C,QAAAN,GACAG,MAAAD,EAAA,KAEAC,GAIA,MAAAJ,GAAAV,QAAAC,IAAAS,KAEAQ,sBAAA,WACA,KAAApD,mBAAA,QAAA6B,QAAAwB,KAAA,UAAA5E,GAAA,kCAAAA,GAAA,wBACA,KAAAuB,mBAAA,QAAA6B,QAAAyB,WAAA,UAAA7E,GAAA,kCAAAA,GAAA,wBACA,KAAAuB,mBAAA,QAAA6B,QAAA0B,OAAA,UAAA9E,GAAA,8BAAAA,GAAA,qBAEA6B,cAAA,SAAAC,GACAiD,cAAAC,MAAA,qCAAAlD,KAEAmD,YAAA,WACA,KAAA5B,QAAAmB,QAAAU,IACAA,EAAAC,YAAAD,EAAAE,YAEAF,EAAAE,aACA,KAAAxC,oBAAAI,KAAAkC,GAFA,KAAAjD,sBAAAe,KAAAkC,OAOAG,QAAA,WACA5B,QAAAC,IAAA,mCACA,KAAAiB,wBACA,KAAAM,gBC3N+U,I,wBCQ3UK,EAAY,eACd,EACAhG,EACA2D,GACA,EACA,KACA,KACA,MAIa,aAAAqC,E","file":"js/chunk-20894ada.5d58a9fc.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./report.vue?vue&type=style&index=0&id=291c0d96&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.results)?_c('div',[(_vm.grep_keyword('STALKERWARE', 'high'))?_c('div',{staticClass:\"high-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.stalkerware_msg'))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-high\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.high.length >= 1)?_c('div',{staticClass:\"high-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.high_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.high.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-high\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.moderate.length >= 1)?_c('div',{staticClass:\"med-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.moderate_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.moderate.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-moderate\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.low.length >= 1)?_c('div',{staticClass:\"low-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.low_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.low.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-low\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):_c('div',{staticClass:\"none-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.fine_msg'))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))]),_c('button',{staticClass:\"btn btn-report-low\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))])])])]):(_vm.show_report)?_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"report-wrapper\"},[_c('div',{staticClass:\"device-ctx\"},[_c('h3',{staticStyle:{\"margin\":\"0\",\"padding-left\":\"10px\"}},[_vm._v(_vm._s(_vm.$t(\"report.report_of\"))+\" \"+_vm._s(_vm.device.name))]),_c('div',{staticClass:\"device-ctx-legend\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"report.pcap_sha1\"))+\" \"+_vm._s(_vm.pcap.SHA1)),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.capture_started\"))+\" \"+_vm._s(_vm.pcap[\"First packet time\"].split(\",\")[0])),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.capture_ended\"))+\" \"+_vm._s(_vm.pcap[\"Last packet time\"].split(\",\")[0])),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.detection_methods\"))+\" \"+_vm._s(_vm.detection_methods)+\" \")])]),(_vm.alerts)?_c('div',[_c('ul',{staticClass:\"alerts\"},[_vm._l((_vm.alerts.high),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"high-label\"},[_vm._v(_vm._s(_vm.$t(\"report.high\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])}),_vm._l((_vm.alerts.moderate),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"moderate-label\"},[_vm._v(_vm._s(_vm.$t(\"report.moderate\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])}),_vm._l((_vm.alerts.low),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"moderate-label\"},[_vm._v(_vm._s(_vm.$t(\"report.low\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])})],2)]):_c('div',{staticClass:\"no-alerts-to-show\"},[_c('span',{staticClass:\"main-text\"},[_vm._v(_vm._s(_vm.$t(\"report.no_alerts_title\")))]),_c('br'),_c('span',{staticClass:\"second-text\"},[_vm._v(_vm._s(_vm.$t(\"report.no_alerts_subtext\")))])]),(_vm.uncategorized_records.length>0)?_c('h5',{staticClass:\"title-report\"},[_vm._v(_vm._s(_vm.$t(\"report.uncat_coms_table\")))]):_vm._e(),(_vm.uncategorized_records.length>0)?_c('div',[_c('table',{staticClass:\"table-uncat\"},[_c('thead',[_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(\"report.protocol\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.domain_name\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.ip_address\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.port\")))])])]),_vm._l((_vm.uncategorized_records),function(record){return _c('tr',{key:record.ip_dst},[_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].name).join(\", \")))]),_c('td',{on:{\"click\":function($event){return _vm.add_whitelist(record.domains[0])}}},[_vm._v(_vm._s(record.domains.join(\", \")))]),_c('td',{on:{\"click\":function($event){return _vm.add_whitelist(record.ip_dst)}}},[_vm._v(_vm._s(record.ip_dst))]),_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].port).join(\", \")))])])})],2)]):_vm._e(),(_vm.whitelisted_records.length>0)?_c('h5',{staticClass:\"title-report\"},[_vm._v(_vm._s(_vm.$t(\"report.whitelisted_coms_table\")))]):_vm._e(),(_vm.whitelisted_records.length>0)?_c('div',[_c('table',{staticClass:\"table-uncat\"},[_c('thead',[_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(\"report.protocol\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.domain_name\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.ip_address\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.port\")))])])]),_vm._l((_vm.whitelisted_records),function(record){return _c('tr',{key:record.ip_dst},[_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].name).join(\", \")))]),_c('td',[_vm._v(_vm._s(record.domains.join(\", \")))]),_c('td',[_vm._v(_vm._s(record.ip_dst))]),_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].port).join(\", \")))])])})],2)]):_vm._e(),_c('div',{attrs:{\"id\":\"controls-analysis\"}},[_c('div',{staticClass:\"column col-6\"},[_c('button',{staticClass:\"btn btn btn-primary width-100\",on:{\"click\":function($event){return _vm.save_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.save\")))])]),_c('div',{staticClass:\"column col-6\"},[_c('button',{staticClass:\"btn width-100\",on:{\"click\":function($event){return _vm.$router.push('generate-ap')}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))])])])])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./report.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./report.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./report.vue?vue&type=template&id=291c0d96\"\nimport script from \"./report.vue?vue&type=script&lang=js\"\nexport * from \"./report.vue?vue&type=script&lang=js\"\nimport style0 from \"./report.vue?vue&type=style&index=0&id=291c0d96&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0b23b3.2995d2b5.js b/app/frontend/dist/js/chunk-2d0b23b3.7a92b6b1.js similarity index 98% rename from app/frontend/dist/js/chunk-2d0b23b3.2995d2b5.js rename to app/frontend/dist/js/chunk-2d0b23b3.7a92b6b1.js index 3e19c59..74d0a12 100644 --- a/app/frontend/dist/js/chunk-2d0b23b3.2995d2b5.js +++ b/app/frontend/dist/js/chunk-2d0b23b3.7a92b6b1.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b23b3"],{"22da":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrapper"},[t("div",{staticClass:"center"},[t("svg",{staticStyle:{margin:"auto",background:"none",display:"block","shape-rendering":"auto"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"194px",height:"194px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dfdfdf","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"0s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"0s"}})]),t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dadada","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}})])]),e.long_waiting?e._e():t("p",{staticClass:"legend"},[e._v(e._s(e.$t("analysis.please_wait_msg")))]),e.long_waiting?t("p",{staticClass:"legend fade-in"},[e._v(e._s(e.$t("analysis.some_time_msg")))]):e._e()])])},i=[],n=a("a18c"),l=a("bc3a"),r=a.n(l),o={name:"analysis",data(){return{check_alerts:!1,long_waiting:!1}},props:{capture_token:String},methods:{start_analysis:function(){console.log("[analysis.vue] Starting the analysis..."),setTimeout(function(){this.long_waiting=!0}.bind(this),15e3),r.a.get("/api/analysis/start/"+this.capture_token,{timeout:6e4}).then(e=>{"Analysis started"==e.data.message&&(this.check_alerts=setInterval(()=>{this.get_alerts()},500))}).catch(e=>{console.log(e)})},get_alerts:function(){r.a.get("/api/analysis/report/"+this.capture_token,{timeout:6e4}).then(e=>{"No report yet"!=e.data.message?(console.log("[analysis.vue] Got the results analysis, moving to report view"),clearInterval(this.check_alerts),this.long_waiting=!1,n["a"].replace({name:"report",params:{alerts:e.data.alerts,device:e.data.device,methods:e.data.methods,pcap:e.data.pcap,records:e.data.records,capture_token:this.capture_token}})):console.log("[analysis.vue] No analysis results yet")}).catch(e=>{console.log(e)})}},created:function(){console.log("[analysis.vue] Showing analysis.vue"),this.start_analysis()}},c=o,d=a("2877"),p=Object(d["a"])(c,s,i,!1,null,null,null);t["default"]=p.exports}}]); -//# sourceMappingURL=chunk-2d0b23b3.2995d2b5.js.map \ No newline at end of file +//# sourceMappingURL=chunk-2d0b23b3.7a92b6b1.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0b23b3.2995d2b5.js.map b/app/frontend/dist/js/chunk-2d0b23b3.7a92b6b1.js.map similarity index 88% rename from app/frontend/dist/js/chunk-2d0b23b3.2995d2b5.js.map rename to app/frontend/dist/js/chunk-2d0b23b3.7a92b6b1.js.map index 2140051..8d9a5d4 100644 --- a/app/frontend/dist/js/chunk-2d0b23b3.2995d2b5.js.map +++ b/app/frontend/dist/js/chunk-2d0b23b3.7a92b6b1.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/views/analysis.vue","webpack:///src/views/analysis.vue","webpack:///./src/views/analysis.vue?0102","webpack:///./src/views/analysis.vue?e862"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","long_waiting","_e","_v","_s","$t","staticRenderFns","name","data","check_alerts","props","capture_token","String","methods","start_analysis","console","log","setTimeout","bind","axios","get","timeout","then","response","message","setInterval","get_alerts","catch","error","clearInterval","router","replace","params","alerts","device","pcap","records","created","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACG,YAAY,CAAC,OAAS,OAAO,WAAa,OAAO,QAAU,QAAQ,kBAAkB,QAAQC,MAAM,CAAC,MAAQ,6BAA6B,cAAc,+BAA+B,MAAQ,QAAQ,OAAS,QAAQ,QAAU,cAAc,oBAAsB,aAAa,CAACJ,EAAG,SAAS,CAACI,MAAM,CAAC,GAAK,KAAK,GAAK,KAAK,EAAI,IAAI,KAAO,OAAO,OAAS,UAAU,eAAe,MAAM,CAACJ,EAAG,UAAU,CAACI,MAAM,CAAC,cAAgB,IAAI,YAAc,aAAa,IAAM,qBAAqB,OAAS,OAAO,SAAW,MAAM,WAAa,cAAc,SAAW,SAAS,MAAQ,QAAQJ,EAAG,UAAU,CAACI,MAAM,CAAC,cAAgB,UAAU,YAAc,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,CAAAxB,KAAA,SACAyB,OAAA,CAAAC,OAAAV,EAAAf,KAAAyB,OACAC,OAAAX,EAAAf,KAAA0B,OACArB,QAAAU,EAAAf,KAAAK,QACAsB,KAAAZ,EAAAf,KAAA2B,KACAC,QAAAb,EAAAf,KAAA4B,QACAzB,cAAA,KAAAA,kBAEAI,QAAAC,IAAA,4CAGAW,MAAAC,IACAb,QAAAC,IAAAY,OAIAS,QAAA,WACAtB,QAAAC,IAAA,uCACA,KAAAF,mBCvEkV,I,YCO9UwB,EAAY,eACd,EACA7C,EACAa,GACA,EACA,KACA,KACA,MAIa,aAAAgC,E","file":"js/chunk-2d0b23b3.2995d2b5.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[_c('svg',{staticStyle:{\"margin\":\"auto\",\"background\":\"none\",\"display\":\"block\",\"shape-rendering\":\"auto\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"194px\",\"height\":\"194px\",\"viewBox\":\"0 0 100 100\",\"preserveAspectRatio\":\"xMidYMid\"}},[_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dfdfdf\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}})]),_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dadada\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}})])]),(!_vm.long_waiting)?_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"analysis.please_wait_msg\")))]):_vm._e(),(_vm.long_waiting)?_c('p',{staticClass:\"legend fade-in\"},[_vm._v(_vm._s(_vm.$t(\"analysis.some_time_msg\")))]):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./analysis.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./analysis.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./analysis.vue?vue&type=template&id=18787c62&\"\nimport script from \"./analysis.vue?vue&type=script&lang=js&\"\nexport * from \"./analysis.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/views/analysis.vue","webpack:///src/views/analysis.vue","webpack:///./src/views/analysis.vue?07b8","webpack:///./src/views/analysis.vue?20bb"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","long_waiting","_e","_v","_s","$t","staticRenderFns","name","data","check_alerts","props","capture_token","String","methods","start_analysis","console","log","setTimeout","bind","axios","get","timeout","then","response","message","setInterval","get_alerts","catch","error","clearInterval","router","replace","params","alerts","device","pcap","records","created","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACG,YAAY,CAAC,OAAS,OAAO,WAAa,OAAO,QAAU,QAAQ,kBAAkB,QAAQC,MAAM,CAAC,MAAQ,6BAA6B,cAAc,+BAA+B,MAAQ,QAAQ,OAAS,QAAQ,QAAU,cAAc,oBAAsB,aAAa,CAACJ,EAAG,SAAS,CAACI,MAAM,CAAC,GAAK,KAAK,GAAK,KAAK,EAAI,IAAI,KAAO,OAAO,OAAS,UAAU,eAAe,MAAM,CAACJ,EAAG,UAAU,CAACI,MAAM,CAAC,cAAgB,IAAI,YAAc,aAAa,IAAM,qBAAqB,OAAS,OAAO,SAAW,MAAM,WAAa,cAAc,SAAW,SAAS,MAAQ,QAAQJ,EAAG,UAAU,CAACI,MAAM,CAAC,cAAgB,UAAU,YAAc,aAAa,IAAM,qBAAqB,OAAS,MAAM,SAAW,MAAM,WAAa,cAAc,SAAW,SAAS,MAAQ,UAAUJ,EAAG,SAAS,CAACI,MAAM,CAAC,GAAK,KAAK,GAAK,KAAK,EAAI,IAAI,KAAO,OAAO,OAAS,UAAU,eAAe,MAAM,CAACJ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AA,kBAEAI,QAAAC,IAAA,4CAGAW,MAAAC,IACAb,QAAAC,IAAAY,OAIAS,QAAA,WACAtB,QAAAC,IAAA,uCACA,KAAAF,mBCvEiV,I,YCO7UwB,EAAY,eACd,EACA7C,EACAa,GACA,EACA,KACA,KACA,MAIa,aAAAgC,E","file":"js/chunk-2d0b23b3.7a92b6b1.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[_c('svg',{staticStyle:{\"margin\":\"auto\",\"background\":\"none\",\"display\":\"block\",\"shape-rendering\":\"auto\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"194px\",\"height\":\"194px\",\"viewBox\":\"0 0 100 100\",\"preserveAspectRatio\":\"xMidYMid\"}},[_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dfdfdf\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}})]),_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dadada\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}})])]),(!_vm.long_waiting)?_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"analysis.please_wait_msg\")))]):_vm._e(),(_vm.long_waiting)?_c('p',{staticClass:\"legend fade-in\"},[_vm._v(_vm._s(_vm.$t(\"analysis.some_time_msg\")))]):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./analysis.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./analysis.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./analysis.vue?vue&type=template&id=18787c62\"\nimport script from \"./analysis.vue?vue&type=script&lang=js\"\nexport * from \"./analysis.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0b6d35.34f80742.js b/app/frontend/dist/js/chunk-2d0b6d35.594f8d0e.js similarity index 96% rename from app/frontend/dist/js/chunk-2d0b6d35.34f80742.js rename to app/frontend/dist/js/chunk-2d0b6d35.594f8d0e.js index d863d44..9dfa627 100644 --- a/app/frontend/dist/js/chunk-2d0b6d35.34f80742.js +++ b/app/frontend/dist/js/chunk-2d0b6d35.594f8d0e.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b6d35"],{"1f8b":function(e,t,s){"use strict";s.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrapper-dark"},[t("div",{staticClass:"center"},[t("h1",{attrs:{id:"title"}},[e._v(e._s(e.title))]),t("span",{staticClass:"loading loading-lg loadingsplash"}),t("span",{staticClass:"message_splash"},[e._v(e._s(e.message))])])])},a=[],o=s("a18c"),i=s("bc3a"),l=s.n(i),c={name:"splash-screen",components:{},data(){return{internet:!1,message:"",title:"SPYGUARD",letters:["SSS§ṠSSSSS","PPPþ⒫PPPP","YYYÿYYYÿYȲYY","GGḠGGGǤG¬G","UÚUUÜUɄUUU","AAAAÄA¬AAA","RЯRɌRRRɌʭR","DD¬DDDDƋDD"]}},methods:{delete_captures:function(){this.message="Doing some cleaning...",console.log("[splash-screen.vue] Deleting previous captures..."),l.a.get("/api/misc/delete-captures",{timeout:3e4}),setTimeout(function(){this.goto_home()}.bind(this),2e3)},goto_home:function(){console.log("[splash-screen.vue] Going to home..."),this.message="Going to home...",o["a"].replace({name:"home"})},generate_random:function(e=0,t=1e3){let s=t-e,n=Math.random();return n=Math.floor(n*s),n+=e,n}},created:function(){window.access_point="",console.log("[splash-screen.vue] Welcome to SPYGUARD"),setInterval(function(){let e="";this.letters.forEach(t=>{e+=t.charAt(this.generate_random(0,9))}),this.title=e,setTimeout(function(){this.title="SPYGUARD"}.bind(this),this.generate_random(30,100))}.bind(this),this.generate_random(500,4e3)),this.delete_captures()}},r=c,h=s("2877"),u=Object(h["a"])(r,n,a,!1,null,null,null);t["default"]=u.exports}}]); -//# sourceMappingURL=chunk-2d0b6d35.34f80742.js.map \ No newline at end of file +//# sourceMappingURL=chunk-2d0b6d35.594f8d0e.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0b6d35.34f80742.js.map b/app/frontend/dist/js/chunk-2d0b6d35.594f8d0e.js.map similarity index 79% rename from app/frontend/dist/js/chunk-2d0b6d35.34f80742.js.map rename to app/frontend/dist/js/chunk-2d0b6d35.594f8d0e.js.map index 1c2559e..ed872a8 100644 --- a/app/frontend/dist/js/chunk-2d0b6d35.34f80742.js.map +++ b/app/frontend/dist/js/chunk-2d0b6d35.594f8d0e.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/views/splash-screen.vue","webpack:///src/views/splash-screen.vue","webpack:///./src/views/splash-screen.vue?9937","webpack:///./src/views/splash-screen.vue?95d4"],"names":["render","_vm","this","_c","_self","staticClass","attrs","_v","_s","title","message","staticRenderFns","name","components","data","internet","letters","methods","delete_captures","console","log","axios","get","timeout","setTimeout","goto_home","bind","router","replace","generate_random","min","max","difference","rand","Math","random","floor","created","window","access_point","setInterval","res","forEach","l","charAt","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,KAAK,CAACG,MAAM,CAAC,GAAK,UAAU,CAACL,EAAIM,GAAGN,EAAIO,GAAGP,EAAIQ,UAAUN,EAAG,OAAO,CAACE,YAAY,qCAAqCF,EAAG,OAAO,CAACE,YAAY,kBAAkB,CAACJ,EAAIM,GAAGN,EAAIO,GAAGP,EAAIS,iBAE3TC,EAAkB,G,iCCWtB,GACAC,KAAA,gBACAC,WAAA,GACAC,OACA,OACAC,UAAA,EACAL,QAAA,GACAD,MAAA,WACAO,QAAA,6GAGAC,QAAA,CACAC,gBAAA,WACA,KAAAR,QAAA,yBACAS,QAAAC,IAAA,qDACAC,IAAAC,IAAA,6BAAAC,QAAA,MAEAC,WAAA,gBAAAC,aAAAC,KAAA,YAEAD,UAAA,WACAN,QAAAC,IAAA,wCACA,KAAAV,QAAA,mBACAiB,OAAAC,QAAA,CAAAhB,KAAA,UAEAiB,gBAAA,SAAAC,EAAA,EAAAC,EAAA,KACA,IAAAC,EAAAD,EAAAD,EACAG,EAAAC,KAAAC,SAGA,OAFAF,EAAAC,KAAAE,MAAAH,EAAAD,GACAC,GAAAH,EACAG,IAGAI,QAAA,WACAC,OAAAC,aAAA,GACApB,QAAAC,IAAA,2CACAoB,YAAA,WACA,IAAAC,EAAA,GACA,KAAAzB,QAAA0B,QAAAC,IAAAF,GAAAE,EAAAC,OAAA,KAAAf,gBAAA,QACA,KAAApB,MAAAgC,EACAjB,WAAA,WACA,KAAAf,MAAA,YACAiB,KAAA,WAAAG,gBAAA,UACAH,KAAA,WAAAG,gBAAA,UACA,KAAAX,oBCxDuV,I,YCOnV2B,EAAY,eACd,EACA7C,EACAW,GACA,EACA,KACA,KACA,MAIa,aAAAkC,E","file":"js/chunk-2d0b6d35.34f80742.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper-dark\"},[_c('div',{staticClass:\"center\"},[_c('h1',{attrs:{\"id\":\"title\"}},[_vm._v(_vm._s(_vm.title))]),_c('span',{staticClass:\"loading loading-lg loadingsplash\"}),_c('span',{staticClass:\"message_splash\"},[_vm._v(_vm._s(_vm.message))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./splash-screen.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./splash-screen.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./splash-screen.vue?vue&type=template&id=bf2d05b4&\"\nimport script from \"./splash-screen.vue?vue&type=script&lang=js&\"\nexport * from \"./splash-screen.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/views/splash-screen.vue","webpack:///src/views/splash-screen.vue","webpack:///./src/views/splash-screen.vue?a450","webpack:///./src/views/splash-screen.vue?1135"],"names":["render","_vm","this","_c","_self","staticClass","attrs","_v","_s","title","message","staticRenderFns","name","components","data","internet","letters","methods","delete_captures","console","log","axios","get","timeout","setTimeout","goto_home","bind","router","replace","generate_random","min","max","difference","rand","Math","random","floor","created","window","access_point","setInterval","res","forEach","l","charAt","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,KAAK,CAACG,MAAM,CAAC,GAAK,UAAU,CAACL,EAAIM,GAAGN,EAAIO,GAAGP,EAAIQ,UAAUN,EAAG,OAAO,CAACE,YAAY,qCAAqCF,EAAG,OAAO,CAACE,YAAY,kBAAkB,CAACJ,EAAIM,GAAGN,EAAIO,GAAGP,EAAIS,iBAE3TC,EAAkB,G,iCCWtB,GACAC,KAAA,gBACAC,WAAA,GACAC,OACA,OACAC,UAAA,EACAL,QAAA,GACAD,MAAA,WACAO,QAAA,6GAGAC,QAAA,CACAC,gBAAA,WACA,KAAAR,QAAA,yBACAS,QAAAC,IAAA,qDACAC,IAAAC,IAAA,6BAAAC,QAAA,MAEAC,WAAA,gBAAAC,aAAAC,KAAA,YAEAD,UAAA,WACAN,QAAAC,IAAA,wCACA,KAAAV,QAAA,mBACAiB,OAAAC,QAAA,CAAAhB,KAAA,UAEAiB,gBAAA,SAAAC,EAAA,EAAAC,EAAA,KACA,IAAAC,EAAAD,EAAAD,EACAG,EAAAC,KAAAC,SAGA,OAFAF,EAAAC,KAAAE,MAAAH,EAAAD,GACAC,GAAAH,EACAG,IAGAI,QAAA,WACAC,OAAAC,aAAA,GACApB,QAAAC,IAAA,2CACAoB,YAAA,WACA,IAAAC,EAAA,GACA,KAAAzB,QAAA0B,QAAAC,IAAAF,GAAAE,EAAAC,OAAA,KAAAf,gBAAA,QACA,KAAApB,MAAAgC,EACAjB,WAAA,WACA,KAAAf,MAAA,YACAiB,KAAA,WAAAG,gBAAA,UACAH,KAAA,WAAAG,gBAAA,UACA,KAAAX,oBCxDsV,I,YCOlV2B,EAAY,eACd,EACA7C,EACAW,GACA,EACA,KACA,KACA,MAIa,aAAAkC,E","file":"js/chunk-2d0b6d35.594f8d0e.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper-dark\"},[_c('div',{staticClass:\"center\"},[_c('h1',{attrs:{\"id\":\"title\"}},[_vm._v(_vm._s(_vm.title))]),_c('span',{staticClass:\"loading loading-lg loadingsplash\"}),_c('span',{staticClass:\"message_splash\"},[_vm._v(_vm._s(_vm.message))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./splash-screen.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./splash-screen.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./splash-screen.vue?vue&type=template&id=bf2d05b4\"\nimport script from \"./splash-screen.vue?vue&type=script&lang=js\"\nexport * from \"./splash-screen.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0baeaa.f849dd44.js b/app/frontend/dist/js/chunk-2d0baeaa.e5cd247b.js similarity index 98% rename from app/frontend/dist/js/chunk-2d0baeaa.f849dd44.js rename to app/frontend/dist/js/chunk-2d0baeaa.e5cd247b.js index 96de744..162bfdb 100644 --- a/app/frontend/dist/js/chunk-2d0baeaa.f849dd44.js +++ b/app/frontend/dist/js/chunk-2d0baeaa.e5cd247b.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0baeaa"],{"38f5":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrapper"},[t("div",{staticClass:"center"},[0==e.error?t("div",[e.ssid_name?t("div",[t("div",{staticClass:"card apcard",on:{click:function(t){return e.generate_ap()}}},[t("div",{staticClass:"columns"},[t("div",{staticClass:"column col-5"},[t("center",[t("img",{attrs:{src:e.ssid_qr,id:"qrcode"}})])],1),t("div",{staticClass:"divider-vert white-bg",attrs:{"data-content":"OR"}}),t("div",{staticClass:"column col-5"},[t("br"),t("span",{staticClass:"light-grey"},[e._v(e._s(e.$t("generate-ap.network_name"))+" ")]),t("br"),t("h4",[e._v(e._s(e.ssid_name))]),t("span",{staticClass:"light-grey"},[e._v(e._s(e.$t("generate-ap.network_password"))+" ")]),t("br"),t("h4",[e._v(e._s(e.ssid_password))])])])]),t("br"),t("br"),t("br"),t("br"),e._v(" "),t("br"),t("br"),t("br"),t("br"),t("br"),t("br"),t("span",{staticClass:"legend"},[e._v(e._s(e.$t("generate-ap.tap_msg")))])]):t("div",[t("svg",{staticStyle:{margin:"auto",background:"none",display:"block","shape-rendering":"auto"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"194px",height:"194px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dfdfdf","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"0s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"0s"}})]),t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dadada","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}})])]),t("p",{staticClass:"legend"},[e._v(e._s(e.$t("generate-ap.generate_ap_msg")))])])]):t("div",[t("p",[t("strong",{domProps:{innerHTML:e._s(e.$t("generate-ap.error_msg1"))}}),t("br"),t("br"),t("span",{domProps:{innerHTML:e._s(e.$t("generate-ap.error_msg2"))}}),t("br"),t("br")])])])])},r=[],n=a("bc3a"),i=a.n(n),o=a("a18c"),c={name:"generate-ap",components:{},data(){return{ssid_name:!1,ssid_qr:!1,ssid_password:!1,capture_token:!1,capture_start:!1,interval:!1,error:!1,reboot_option:window.config.reboot_option,attempts:3}},methods:{generate_ap:function(){console.log("[generate-ap.vue] Trying to start a new access point"),clearInterval(this.interval),this.ssid_name=!1,i.a.get("/api/network/ap/start",{timeout:3e4}).then(e=>this.show_ap(e.data))},show_ap:function(e){e.status?(console.log("[generate-ap.vue] Access point created, showing SSID"),window.access_point=e.ssid,this.ssid_name=e.ssid,this.ssid_password=e.password,this.ssid_qr=e.qrcode,this.start_capture()):(console.log("[generate-ap.vue] Issue when creating AP, let's retry"),0!=this.attempts?(setTimeout(function(){this.generate_ap()}.bind(this),1e4),this.attempts-=1):(console.log("[generate-ap.vue] Fatal error when creating AP, showing the error message"),this.error=!0))},start_capture:function(){console.log("[generate-ap.vue] Starting the capture in background"),i.a.get("/api/capture/start",{timeout:3e4}).then(e=>this.get_capture_token(e.data))},reboot:function(){console.log("[generate-ap.vue] Rebooting the device"),i.a.get("/api/misc/reboot",{timeout:3e4}).then(e=>{console.log(e)})},get_capture_token:function(e){e.status&&(console.log("[generate-ap.vue] Capture token retrieved, waiting a device to connect"),this.capture_token=e.capture_token,this.capture_start=Date.now(),this.get_device())},get_device:function(){this.interval=setInterval(()=>{i.a.get("/api/device/get/"+this.capture_token,{timeout:3e4}).then(e=>this.check_device(e.data))},500)},check_device:function(e){if(e.status){console.log("[generate-ap.vue] Device connected, going to capture view."),clearInterval(this.interval);var t=this.capture_token,a=this.capture_start,s=e.name;o["a"].replace({name:"capture",params:{capture_token:t,capture_start:a,device_name:s}})}}},created:function(){console.log("[generate-ap.vue] Showing generate-ap.vue"),this.generate_ap()}},p=c,d=a("2877"),l=Object(d["a"])(p,s,r,!1,null,null,null);t["default"]=l.exports}}]); -//# sourceMappingURL=chunk-2d0baeaa.f849dd44.js.map \ No newline at end of file +//# sourceMappingURL=chunk-2d0baeaa.e5cd247b.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0baeaa.f849dd44.js.map b/app/frontend/dist/js/chunk-2d0baeaa.e5cd247b.js.map similarity index 92% rename from app/frontend/dist/js/chunk-2d0baeaa.f849dd44.js.map rename to app/frontend/dist/js/chunk-2d0baeaa.e5cd247b.js.map index 99df441..3bae4ee 100644 --- a/app/frontend/dist/js/chunk-2d0baeaa.f849dd44.js.map +++ b/app/frontend/dist/js/chunk-2d0baeaa.e5cd247b.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/views/generate-ap.vue","webpack:///src/views/generate-ap.vue","webpack:///./src/views/generate-ap.vue?1b7e","webpack:///./src/views/generate-ap.vue?929c"],"names":["render","_vm","this","_c","_self","staticClass","error","ssid_name","on","$event","generate_ap","attrs","ssid_qr","_v","_s","$t","ssid_password","staticStyle","domProps","staticRenderFns","name","components","data","capture_token","capture_start","interval","reboot_option","window","config","attempts","methods","console","log","clearInterval","axios","get","timeout","then","response","show_ap","status","access_point","ssid","password","qrcode","start_capture","setTimeout","bind","get_capture_token","reboot","Date","now","get_device","setInterval","check_device","device_name","router","replace","params","created","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAAgB,GAAbJ,EAAIK,MAAiBH,EAAG,MAAM,CAAEF,EAAIM,UAAWJ,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,cAAcG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,iBAAiB,CAACP,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,SAAS,CAACA,EAAG,MAAM,CAACQ,MAAM,CAAC,IAAMV,EAAIW,QAAQ,GAAK,eAAe,GAAGT,EAAG,MAAM,CAAC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AM,EAAAqB,SACA,KAAA/B,QAAAU,EAAAsB,OACA,KAAAC,kBAEAd,QAAAC,IAAA,yDACA,QAAAH,UACAiB,WAAA,gBAAApC,eAAAqC,KAAA,WACA,KAAAlB,UAAA,IAEAE,QAAAC,IAAA,6EACA,KAAA1B,OAAA,KAIAuC,cAAA,WACAd,QAAAC,IAAA,wDACAE,IAAAC,IAAA,sBAAAC,QAAA,MACAC,KAAAC,GAAA,KAAAU,kBAAAV,EAAAhB,QAEA2B,OAAA,WACAlB,QAAAC,IAAA,0CACAE,IAAAC,IAAA,oBAAAC,QAAA,MACAC,KAAAC,IAAAP,QAAAC,IAAAM,MAEAU,kBAAA,SAAA1B,GACAA,EAAAkB,SACAT,QAAAC,IAAA,0EACA,KAAAT,cAAAD,EAAAC,cACA,KAAAC,cAAA0B,KAAAC,MACA,KAAAC,eAGAA,WAAA,WACA,KAAA3B,SAAA4B,YAAA,KACAnB,IAAAC,IAAA,wBAAAZ,cAAA,CAAAa,QAAA,MACAC,KAAAC,GAAA,KAAAgB,aAAAhB,EAAAhB,QACA,MAEAgC,aAAA,SAAAhC,GACA,GAAAA,EAAAkB,OAAA,CACAT,QAAAC,IAAA,8DACAC,cAAA,KAAAR,UACA,IAAAF,EAAA,KAAAA,cACAC,EAAA,KAAAA,cACA+B,EAAAjC,EAAAF,KACAoC,OAAAC,QAAA,CACArC,KAAA,UACAsC,OAAA,CACAnC,gBACAC,gBACA+B,oBAMAI,QAAA,WACA5B,QAAAC,IAAA,6CACA,KAAAtB,gBC3IqV,I,YCOjVkD,EAAY,eACd,EACA5D,EACAmB,GACA,EACA,KACA,KACA,MAIa,aAAAyC,E","file":"js/chunk-2d0baeaa.f849dd44.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[((_vm.error == false))?_c('div',[(_vm.ssid_name)?_c('div',[_c('div',{staticClass:\"card apcard\",on:{\"click\":function($event){return _vm.generate_ap()}}},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column col-5\"},[_c('center',[_c('img',{attrs:{\"src\":_vm.ssid_qr,\"id\":\"qrcode\"}})])],1),_c('div',{staticClass:\"divider-vert white-bg\",attrs:{\"data-content\":\"OR\"}}),_c('div',{staticClass:\"column col-5\"},[_c('br'),_c('span',{staticClass:\"light-grey\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.network_name\"))+\" \")]),_c('br'),_c('h4',[_vm._v(_vm._s(_vm.ssid_name))]),_c('span',{staticClass:\"light-grey\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.network_password\"))+\" \")]),_c('br'),_c('h4',[_vm._v(_vm._s(_vm.ssid_password))])])])]),_c('br'),_c('br'),_c('br'),_c('br'),_vm._v(\" \"),_c('br'),_c('br'),_c('br'),_c('br'),_c('br'),_c('br'),_c('span',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.tap_msg\")))])]):_c('div',[_c('svg',{staticStyle:{\"margin\":\"auto\",\"background\":\"none\",\"display\":\"block\",\"shape-rendering\":\"auto\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"194px\",\"height\":\"194px\",\"viewBox\":\"0 0 100 100\",\"preserveAspectRatio\":\"xMidYMid\"}},[_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dfdfdf\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}})]),_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dadada\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}})])]),_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.generate_ap_msg\")))])])]):_c('div',[_c('p',[_c('strong',{domProps:{\"innerHTML\":_vm._s(_vm.$t('generate-ap.error_msg1'))}}),_c('br'),_c('br'),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('generate-ap.error_msg2'))}}),_c('br'),_c('br')])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./generate-ap.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./generate-ap.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./generate-ap.vue?vue&type=template&id=357a8836&\"\nimport script from \"./generate-ap.vue?vue&type=script&lang=js&\"\nexport * from \"./generate-ap.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/views/generate-ap.vue","webpack:///src/views/generate-ap.vue","webpack:///./src/views/generate-ap.vue?1d23","webpack:///./src/views/generate-ap.vue?1aea"],"names":["render","_vm","this","_c","_self","staticClass","error","ssid_name","on","$event","generate_ap","attrs","ssid_qr","_v","_s","$t","ssid_password","staticStyle","domProps","staticRenderFns","name","components","data","capture_token","capture_start","interval","reboot_option","window","config","attempts","methods","console","log","clearInterval","axios","get","timeout","then","response","show_ap","status","access_point","ssid","password","qrcode","start_capture","setTimeout","bind","get_capture_token","reboot","Date","now","get_device","setInterval","check_device","device_name","router","replace","params","created","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAAgB,GAAbJ,EAAIK,MAAiBH,EAAG,MAAM,CAAEF,EAAIM,UAAWJ,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,cAAcG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,iBAAiB,CAACP,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,SAAS,CAACA,EAAG,MAAM,CAACQ,MAAM,CAAC,IAAMV,EAAIW,QAAQ,GAAK,eAAe,GAAGT,EAAG,MAAM,CAACE,YAAY,wBAAwBM,MAAM,CAAC,eAAe,QAAQR,EAAG,MAAM,CAACE,Y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AAAC,IAAA,yDACA,QAAAH,UACAiB,WAAA,gBAAApC,eAAAqC,KAAA,WACA,KAAAlB,UAAA,IAEAE,QAAAC,IAAA,6EACA,KAAA1B,OAAA,KAIAuC,cAAA,WACAd,QAAAC,IAAA,wDACAE,IAAAC,IAAA,sBAAAC,QAAA,MACAC,KAAAC,GAAA,KAAAU,kBAAAV,EAAAhB,QAEA2B,OAAA,WACAlB,QAAAC,IAAA,0CACAE,IAAAC,IAAA,oBAAAC,QAAA,MACAC,KAAAC,IAAAP,QAAAC,IAAAM,MAEAU,kBAAA,SAAA1B,GACAA,EAAAkB,SACAT,QAAAC,IAAA,0EACA,KAAAT,cAAAD,EAAAC,cACA,KAAAC,cAAA0B,KAAAC,MACA,KAAAC,eAGAA,WAAA,WACA,KAAA3B,SAAA4B,YAAA,KACAnB,IAAAC,IAAA,wBAAAZ,cAAA,CAAAa,QAAA,MACAC,KAAAC,GAAA,KAAAgB,aAAAhB,EAAAhB,QACA,MAEAgC,aAAA,SAAAhC,GACA,GAAAA,EAAAkB,OAAA,CACAT,QAAAC,IAAA,8DACAC,cAAA,KAAAR,UACA,IAAAF,EAAA,KAAAA,cACAC,EAAA,KAAAA,cACA+B,EAAAjC,EAAAF,KACAoC,OAAAC,QAAA,CACArC,KAAA,UACAsC,OAAA,CACAnC,gBACAC,gBACA+B,oBAMAI,QAAA,WACA5B,QAAAC,IAAA,6CACA,KAAAtB,gBC3IoV,I,YCOhVkD,EAAY,eACd,EACA5D,EACAmB,GACA,EACA,KACA,KACA,MAIa,aAAAyC,E","file":"js/chunk-2d0baeaa.e5cd247b.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[((_vm.error == false))?_c('div',[(_vm.ssid_name)?_c('div',[_c('div',{staticClass:\"card apcard\",on:{\"click\":function($event){return _vm.generate_ap()}}},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column col-5\"},[_c('center',[_c('img',{attrs:{\"src\":_vm.ssid_qr,\"id\":\"qrcode\"}})])],1),_c('div',{staticClass:\"divider-vert white-bg\",attrs:{\"data-content\":\"OR\"}}),_c('div',{staticClass:\"column col-5\"},[_c('br'),_c('span',{staticClass:\"light-grey\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.network_name\"))+\" \")]),_c('br'),_c('h4',[_vm._v(_vm._s(_vm.ssid_name))]),_c('span',{staticClass:\"light-grey\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.network_password\"))+\" \")]),_c('br'),_c('h4',[_vm._v(_vm._s(_vm.ssid_password))])])])]),_c('br'),_c('br'),_c('br'),_c('br'),_vm._v(\" \"),_c('br'),_c('br'),_c('br'),_c('br'),_c('br'),_c('br'),_c('span',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.tap_msg\")))])]):_c('div',[_c('svg',{staticStyle:{\"margin\":\"auto\",\"background\":\"none\",\"display\":\"block\",\"shape-rendering\":\"auto\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"194px\",\"height\":\"194px\",\"viewBox\":\"0 0 100 100\",\"preserveAspectRatio\":\"xMidYMid\"}},[_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dfdfdf\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}})]),_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dadada\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}})])]),_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.generate_ap_msg\")))])])]):_c('div',[_c('p',[_c('strong',{domProps:{\"innerHTML\":_vm._s(_vm.$t('generate-ap.error_msg1'))}}),_c('br'),_c('br'),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('generate-ap.error_msg2'))}}),_c('br'),_c('br')])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./generate-ap.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./generate-ap.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./generate-ap.vue?vue&type=template&id=357a8836\"\nimport script from \"./generate-ap.vue?vue&type=script&lang=js\"\nexport * from \"./generate-ap.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0cfa15.8db26e9f.js b/app/frontend/dist/js/chunk-2d0cfa15.15a50d26.js similarity index 92% rename from app/frontend/dist/js/chunk-2d0cfa15.8db26e9f.js rename to app/frontend/dist/js/chunk-2d0cfa15.15a50d26.js index 90dc818..9d11c51 100644 --- a/app/frontend/dist/js/chunk-2d0cfa15.8db26e9f.js +++ b/app/frontend/dist/js/chunk-2d0cfa15.15a50d26.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cfa15"],{6511:function(t,n,s){"use strict";s.r(n);var e=function(){var t=this,n=t._self._c;return n("div",{staticClass:"wrapper"},[n("div",{staticClass:"center"},[n("h3",{staticClass:"lobster"},[t._v(t._s(t.$t("home.welcome_msg")))]),n("p",[t._v(t._s(t.$t("home.help_msg")))]),n("button",{staticClass:"btn btn-primary",on:{click:function(n){return t.next()}}},[t._v(t._s(t.$t("home.start_btn")))])])])},a=[],c=(s("14d9"),s("a18c")),o={name:"home",methods:{next:function(){c["a"].push({name:"generate-ap"})}}},r=o,i=s("2877"),l=Object(i["a"])(r,e,a,!1,null,null,null);n["default"]=l.exports}}]); -//# sourceMappingURL=chunk-2d0cfa15.8db26e9f.js.map \ No newline at end of file +//# sourceMappingURL=chunk-2d0cfa15.15a50d26.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0cfa15.8db26e9f.js.map b/app/frontend/dist/js/chunk-2d0cfa15.15a50d26.js.map similarity index 64% rename from app/frontend/dist/js/chunk-2d0cfa15.8db26e9f.js.map rename to app/frontend/dist/js/chunk-2d0cfa15.15a50d26.js.map index 49e2c4a..d7f1aff 100644 --- a/app/frontend/dist/js/chunk-2d0cfa15.8db26e9f.js.map +++ b/app/frontend/dist/js/chunk-2d0cfa15.15a50d26.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/views/home.vue","webpack:///src/views/home.vue","webpack:///./src/views/home.vue?d449","webpack:///./src/views/home.vue?46ae"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","$t","on","$event","next","staticRenderFns","name","methods","router","push","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,KAAK,CAACE,YAAY,WAAW,CAACJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,wBAAwBL,EAAG,IAAI,CAACF,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,qBAAqBL,EAAG,SAAS,CAACE,YAAY,kBAAkBI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOT,EAAIU,UAAU,CAACV,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,2BAErXI,EAAkB,G,wBCWP,GACfC,KAAA,OACAC,QAAA,CACAH,KAAA,WACAI,OAAAC,KAAA,CAAAH,KAAA,mBCjB8U,I,YCO1UI,EAAY,eACd,EACAjB,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAK,E","file":"js/chunk-2d0cfa15.8db26e9f.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h3',{staticClass:\"lobster\"},[_vm._v(_vm._s(_vm.$t(\"home.welcome_msg\")))]),_c('p',[_vm._v(_vm._s(_vm.$t(\"home.help_msg\")))]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.next()}}},[_vm._v(_vm._s(_vm.$t(\"home.start_btn\")))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./home.vue?vue&type=template&id=66a1090d&\"\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/views/home.vue","webpack:///src/views/home.vue","webpack:///./src/views/home.vue?755c","webpack:///./src/views/home.vue?79fa"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","$t","on","$event","next","staticRenderFns","name","methods","router","push","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,KAAK,CAACE,YAAY,WAAW,CAACJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,wBAAwBL,EAAG,IAAI,CAACF,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,qBAAqBL,EAAG,SAAS,CAACE,YAAY,kBAAkBI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOT,EAAIU,UAAU,CAACV,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,2BAErXI,EAAkB,G,wBCWP,GACfC,KAAA,OACAC,QAAA,CACAH,KAAA,WACAI,OAAAC,KAAA,CAAAH,KAAA,mBCjB6U,I,YCOzUI,EAAY,eACd,EACAjB,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAK,E","file":"js/chunk-2d0cfa15.15a50d26.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h3',{staticClass:\"lobster\"},[_vm._v(_vm._s(_vm.$t(\"home.welcome_msg\")))]),_c('p',[_vm._v(_vm._s(_vm.$t(\"home.help_msg\")))]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.next()}}},[_vm._v(_vm._s(_vm.$t(\"home.start_btn\")))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./home.vue?vue&type=template&id=66a1090d\"\nimport script from \"./home.vue?vue&type=script&lang=js\"\nexport * from \"./home.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2e6079ad.3f383516.js b/app/frontend/dist/js/chunk-2e6079ad.09954c81.js similarity index 99% rename from app/frontend/dist/js/chunk-2e6079ad.3f383516.js rename to app/frontend/dist/js/chunk-2e6079ad.09954c81.js index 3da57c0..3fa68c4 100644 --- a/app/frontend/dist/js/chunk-2e6079ad.3f383516.js +++ b/app/frontend/dist/js/chunk-2e6079ad.09954c81.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2e6079ad"],{"1d0d":function(t,e){t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e,r){var n=r(2),i=r(3),s=r(4);t.exports=function(t){return n(t)||i(t)||s()}},function(t,e,r){"use strict";r.r(e),r.d(e,"sparkline",(function(){return c}));var n=r(0),i=r.n(n);function s(t,e,r,n){return parseFloat((e-n*e/t+r).toFixed(2))}function a(t){return t.value}function o(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg",t);for(var n in e)r.setAttribute(n,e[n]);return r}function c(t,e,r){var n;if(n=t,i()(n.querySelectorAll("*")).forEach((function(t){return n.removeChild(t)})),!(e.length<=1)){r=r||{},"number"==typeof e[0]&&(e=e.map((function(t){return{value:t}})));var c=r.onmousemove,u=r.onmouseout,l="interactive"in r?r.interactive:!!c,p=r.spotRadius||2,h=2*p,d=r.cursorWidth||2,f=parseFloat(t.attributes["stroke-width"].value),m=r.fetch||a,v=e.map((function(t){return m(t)})),_=parseFloat(t.attributes.width.value)-2*h,g=parseFloat(t.attributes.height.value),b=g-2*f-h,w=Math.max.apply(Math,i()(v)),y=-1e3,k=v.length-1,x=_/k,S=[],A=s(w,b,f+p,v[0]),j="M".concat(h," ").concat(A);v.forEach((function(t,r){var n=r*x+h,i=s(w,b,f+p,t);S.push(Object.assign({},e[r],{index:r,x:n,y:i})),j+=" L ".concat(n," ").concat(i)}));var C=o("path",{class:"sparkline--line",d:j,fill:"none"}),O=o("path",{class:"sparkline--fill",d:"".concat(j," V ").concat(g," L ").concat(h," ").concat(g," Z"),stroke:"none"});if(t.appendChild(O),t.appendChild(C),l){var M=o("line",{class:"sparkline--cursor",x1:y,x2:y,y1:0,y2:g,"stroke-width":d}),E=o("circle",{class:"sparkline--spot",cx:y,cy:y,r:p});t.appendChild(M),t.appendChild(E);var F=o("rect",{width:t.attributes.width.value,height:t.attributes.height.value,style:"fill: transparent; stroke: transparent",class:"sparkline--interaction-layer"});t.appendChild(F),F.addEventListener("mouseout",(function(t){M.setAttribute("x1",y),M.setAttribute("x2",y),E.setAttribute("cx",y),u&&u(t)})),F.addEventListener("mousemove",(function(t){var e=t.offsetX,r=S.find((function(t){return t.x>=e}));r||(r=S[k]);var n,i=S[S.indexOf(r)-1],s=(n=i?i.x+(r.x-i.x)/2<=e?r:i:r).x,a=n.y;E.setAttribute("cx",s),E.setAttribute("cy",a),M.setAttribute("x1",s),M.setAttribute("x2",s),c&&c(t,n)}))}}}e.default=c},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e{this.chrono()},10)},stop_capture:function(){console.log("[capture.vue] Stoping the capture"),a.a.get("/api/capture/stop",{timeout:3e4}),clearInterval(this.chrono_interval),clearInterval(this.stats_interval),window.access_point="";var t=this.capture_token;o["a"].replace({name:"analysis",params:{capture_token:t}})},get_stats:function(){console.log("[capture.vue] Getting capture statistics"),a.a.get("/api/capture/stats",{timeout:3e4}).then(t=>this.handle_stats(t.data))},handle_stats:function(t){t.packets.length&&u()(document.querySelector("#sparkline"),t.packets)},chrono:function(){var t=Date.now()-this.capture_start;this.timer_hours=Math.floor(t/36e5),this.timer_hours=this.timer_hours<10?"0"+this.timer_hours:this.timer_hours,t%=36e5,this.timer_minutes=Math.floor(t/6e4),this.timer_minutes=this.timer_minutes<10?"0"+this.timer_minutes:this.timer_minutes,t%=6e4,this.timer_seconds=Math.floor(t/1e3),this.timer_seconds=this.timer_seconds<10?"0"+this.timer_seconds:this.timer_seconds},setup_sparklines:function(){a.a.get("/api/misc/config",{timeout:6e4}).then(t=>{t.data.sparklines&&(console.log("[capture.vue] Setting up sparklines"),this.sparklines=!0,this.sparkwidth=window.screen.width+"px",this.sparkheight=Math.trunc(window.screen.height/5)+"px",this.stats_interval=setInterval(()=>{this.get_stats()},500))}).catch(t=>{console.log(t)})}},created:function(){console.log("[capture.vue] Showing capture.vue"),this.setup_sparklines(),this.capture_start=Date.now(),this.set_chrono()}},p=l,h=r("2877"),d=Object(h["a"])(p,n,i,!1,null,null,null);e["default"]=d.exports}}]); -//# sourceMappingURL=chunk-2e6079ad.3f383516.js.map \ No newline at end of file +//# sourceMappingURL=chunk-2e6079ad.09954c81.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2e6079ad.3f383516.js.map b/app/frontend/dist/js/chunk-2e6079ad.09954c81.js.map similarity index 94% rename from app/frontend/dist/js/chunk-2e6079ad.3f383516.js.map rename to app/frontend/dist/js/chunk-2e6079ad.09954c81.js.map index ab8a4f7..2601ee9 100644 --- a/app/frontend/dist/js/chunk-2e6079ad.3f383516.js.map +++ b/app/frontend/dist/js/chunk-2e6079ad.09954c81.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./node_modules/@fnando/sparkline/dist/sparkline.commonjs2.js","webpack:///./src/views/capture.vue","webpack:///src/views/capture.vue","webpack:///./src/views/capture.vue?a076","webpack:///./src/views/capture.vue?0c77"],"names":["module","exports","t","e","r","n","o","i","l","call","m","c","d","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","parseFloat","toFixed","a","u","document","createElementNS","setAttribute","querySelectorAll","forEach","removeChild","length","map","onmousemove","onmouseout","interactive","f","spotRadius","cursorWidth","v","attributes","b","fetch","h","y","width","x","height","g","Math","max","apply","A","w","j","O","k","S","concat","push","assign","index","M","class","fill","C","stroke","appendChild","E","x1","x2","y1","y2","_","cx","cy","F","style","addEventListener","offsetX","find","indexOf","Array","isArray","iterator","toString","from","TypeError","render","_vm","this","_c","_self","staticClass","sparklines","attrs","sparkwidth","sparkheight","_e","_v","_s","timer_hours","timer_minutes","timer_seconds","$t","device_name","on","$event","stop_capture","staticRenderFns","name","components","data","stats_interval","chrono_interval","props","capture_token","String","methods","set_chrono","console","log","setInterval","chrono","axios","timeout","clearInterval","window","access_point","router","replace","params","get_stats","then","response","handle_stats","packets","sparkline","querySelector","time","Date","now","capture_start","floor","setup_sparklines","screen","trunc","catch","error","created","component"],"mappings":"mGAAAA,EAAOC,QAAQ,SAASC,GAAG,IAAIC,EAAE,GAAG,SAASC,EAAEC,GAAG,GAAGF,EAAEE,GAAG,OAAOF,EAAEE,GAAGJ,QAAQ,IAAIK,EAAEH,EAAEE,GAAG,CAACE,EAAEF,EAAEG,GAAE,EAAGP,QAAQ,IAAI,OAAOC,EAAEG,GAAGI,KAAKH,EAAEL,QAAQK,EAAEA,EAAEL,QAAQG,GAAGE,EAAEE,GAAE,EAAGF,EAAEL,QAAQ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A,WACAZ,QAAAC,IAAA,4CACAG,IAAAnH,IAAA,sBAAAoH,QAAA,MACAQ,KAAAC,GAAA,KAAAC,aAAAD,EAAAtB,QAEAuB,aAAA,SAAAvB,GACAA,EAAAwB,QAAAzG,QAAA0G,IAAAhH,SAAAiH,cAAA,cAAA1B,EAAAwB,UAEAb,OAAA,WACA,IAAAgB,EAAAC,KAAAC,MAAA,KAAAC,cACA,KAAAzC,YAAApD,KAAA8F,MAAAJ,EAAA,MACA,KAAAtC,YAAA,KAAAA,YAAA,YAAAA,YAAA,KAAAA,YACAsC,GAAA,KACA,KAAArC,cAAArD,KAAA8F,MAAAJ,EAAA,KACA,KAAArC,cAAA,KAAAA,cAAA,YAAAA,cAAA,KAAAA,cACAqC,GAAA,IACA,KAAApC,cAAAtD,KAAA8F,MAAAJ,EAAA,KACA,KAAApC,cAAA,KAAAA,cAAA,YAAAA,cAAA,KAAAA,eAEAyC,iBAAA,WACApB,IAAAnH,IAAA,oBAAAoH,QAAA,MACAQ,KAAAC,IACAA,EAAAtB,KAAAlB,aACA0B,QAAAC,IAAA,uCACA,KAAA3B,YAAA,EACA,KAAAE,WAAA+B,OAAAkB,OAAApG,MAAA,KACA,KAAAoD,YAAAhD,KAAAiG,MAAAnB,OAAAkB,OAAAlG,OAAA,QACA,KAAAkE,eAAAS,YAAA,UAAAU,aAAA,QAGAe,MAAAC,IACA5B,QAAAC,IAAA2B,OAIAC,QAAA,WACA7B,QAAAC,IAAA,qCAGA,KAAAuB,mBAGA,KAAAF,cAAAF,KAAAC,MACA,KAAAtB,eC9FiV,I,YCO7U+B,EAAY,eACd,EACA9D,EACAqB,GACA,EACA,KACA,KACA,MAIa,aAAAyC,E","file":"js/chunk-2e6079ad.3f383516.js","sourcesContent":["module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\"a\",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\"\",r(r.s=1)}([function(t,e,r){var n=r(2),o=r(3),i=r(4);t.exports=function(t){return n(t)||o(t)||i()}},function(t,e,r){\"use strict\";r.r(e),r.d(e,\"sparkline\",function(){return c});var n=r(0),o=r.n(n);function i(t,e,r,n){return parseFloat((e-n*e/t+r).toFixed(2))}function a(t){return t.value}function u(t,e){var r=document.createElementNS(\"http://www.w3.org/2000/svg\",t);for(var n in e)r.setAttribute(n,e[n]);return r}function c(t,e,r){var n;if(n=t,o()(n.querySelectorAll(\"*\")).forEach(function(t){return n.removeChild(t)}),!(e.length<=1)){r=r||{},\"number\"==typeof e[0]&&(e=e.map(function(t){return{value:t}}));var c=r.onmousemove,l=r.onmouseout,s=\"interactive\"in r?r.interactive:!!c,f=r.spotRadius||2,p=2*f,d=r.cursorWidth||2,v=parseFloat(t.attributes[\"stroke-width\"].value),b=r.fetch||a,h=e.map(function(t){return b(t)}),y=parseFloat(t.attributes.width.value)-2*p,x=parseFloat(t.attributes.height.value),m=x-2*v-p,g=Math.max.apply(Math,o()(h)),A=-1e3,w=h.length-1,j=y/w,O=[],k=i(g,m,v+f,h[0]),S=\"M\".concat(p,\" \").concat(k);h.forEach(function(t,r){var n=r*j+p,o=i(g,m,v+f,t);O.push(Object.assign({},e[r],{index:r,x:n,y:o})),S+=\" L \".concat(n,\" \").concat(o)});var M=u(\"path\",{class:\"sparkline--line\",d:S,fill:\"none\"}),C=u(\"path\",{class:\"sparkline--fill\",d:\"\".concat(S,\" V \").concat(x,\" L \").concat(p,\" \").concat(x,\" Z\"),stroke:\"none\"});if(t.appendChild(C),t.appendChild(M),s){var E=u(\"line\",{class:\"sparkline--cursor\",x1:A,x2:A,y1:0,y2:x,\"stroke-width\":d}),_=u(\"circle\",{class:\"sparkline--spot\",cx:A,cy:A,r:f});t.appendChild(E),t.appendChild(_);var F=u(\"rect\",{width:t.attributes.width.value,height:t.attributes.height.value,style:\"fill: transparent; stroke: transparent\",class:\"sparkline--interaction-layer\"});t.appendChild(F),F.addEventListener(\"mouseout\",function(t){E.setAttribute(\"x1\",A),E.setAttribute(\"x2\",A),_.setAttribute(\"cx\",A),l&&l(t)}),F.addEventListener(\"mousemove\",function(t){var e=t.offsetX,r=O.find(function(t){return t.x>=e});r||(r=O[w]);var n,o=O[O.indexOf(r)-1],i=(n=o?o.x+(r.x-o.x)/2<=e?r:o:r).x,a=n.y;_.setAttribute(\"cx\",i),_.setAttribute(\"cy\",a),E.setAttribute(\"x1\",i),E.setAttribute(\"x2\",i),c&&c(t,n)})}}}e.default=c},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e\r\n
\r\n \r\n
\r\n
\r\n

{{timer_hours}}:{{timer_minutes}}:{{timer_seconds}}

\r\n

{{$t(\"capture.intercept_coms_msg\")}} {{device_name}}.

\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./capture.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./capture.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./capture.vue?vue&type=template&id=68930959&\"\nimport script from \"./capture.vue?vue&type=script&lang=js&\"\nexport * from \"./capture.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./node_modules/@fnando/sparkline/dist/sparkline.commonjs2.js","webpack:///./src/views/capture.vue","webpack:///src/views/capture.vue","webpack:///./src/views/capture.vue?a4c6","webpack:///./src/views/capture.vue?a8da"],"names":["module","exports","t","e","r","n","o","i","l","call","m","c","d","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","parseFloat","toFixed","a","u","document","createElementNS","setAttribute","querySelectorAll","forEach","removeChild","length","map","onmousemove","onmouseout","interactive","f","spotRadius","cursorWidth","v","attributes","b","fetch","h","y","width","x","height","g","Math","max","apply","A","w","j","O","k","S","concat","push","assign","index","M","class","fill","C","stroke","appendChild","E","x1","x2","y1","y2","_","cx","cy","F","style","addEventListener","offsetX","find","indexOf","Array","isArray","iterator","toString","from","TypeError","render","_vm","this","_c","_self","staticClass","sparklines","attrs","sparkwidth","sparkheight","_e","_v","_s","timer_hours","timer_minutes","timer_seconds","$t","device_name","on","$event","stop_capture","staticRenderFns","name","components","data","stats_interval","chrono_interval","props","capture_token","String","methods","set_chrono","console","log","setInterval","chrono","axios","timeout","clearInterval","window","access_point","router","replace","params","get_stats","then","response","handle_stats","packets","sparkline","querySelector","time","Date","now","capture_start","floor","setup_sparklines","screen","trunc","catch","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A,KAAAuB,mBAGA,KAAAF,cAAAF,KAAAC,MACA,KAAAtB,eC9FgV,I,YCO5U+B,EAAY,eACd,EACA9D,EACAqB,GACA,EACA,KACA,KACA,MAIa,aAAAyC,E","file":"js/chunk-2e6079ad.09954c81.js","sourcesContent":["module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\"a\",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\"\",r(r.s=1)}([function(t,e,r){var n=r(2),o=r(3),i=r(4);t.exports=function(t){return n(t)||o(t)||i()}},function(t,e,r){\"use strict\";r.r(e),r.d(e,\"sparkline\",function(){return c});var n=r(0),o=r.n(n);function i(t,e,r,n){return parseFloat((e-n*e/t+r).toFixed(2))}function a(t){return t.value}function u(t,e){var r=document.createElementNS(\"http://www.w3.org/2000/svg\",t);for(var n in e)r.setAttribute(n,e[n]);return r}function c(t,e,r){var n;if(n=t,o()(n.querySelectorAll(\"*\")).forEach(function(t){return n.removeChild(t)}),!(e.length<=1)){r=r||{},\"number\"==typeof e[0]&&(e=e.map(function(t){return{value:t}}));var c=r.onmousemove,l=r.onmouseout,s=\"interactive\"in r?r.interactive:!!c,f=r.spotRadius||2,p=2*f,d=r.cursorWidth||2,v=parseFloat(t.attributes[\"stroke-width\"].value),b=r.fetch||a,h=e.map(function(t){return b(t)}),y=parseFloat(t.attributes.width.value)-2*p,x=parseFloat(t.attributes.height.value),m=x-2*v-p,g=Math.max.apply(Math,o()(h)),A=-1e3,w=h.length-1,j=y/w,O=[],k=i(g,m,v+f,h[0]),S=\"M\".concat(p,\" \").concat(k);h.forEach(function(t,r){var n=r*j+p,o=i(g,m,v+f,t);O.push(Object.assign({},e[r],{index:r,x:n,y:o})),S+=\" L \".concat(n,\" \").concat(o)});var M=u(\"path\",{class:\"sparkline--line\",d:S,fill:\"none\"}),C=u(\"path\",{class:\"sparkline--fill\",d:\"\".concat(S,\" V \").concat(x,\" L \").concat(p,\" \").concat(x,\" Z\"),stroke:\"none\"});if(t.appendChild(C),t.appendChild(M),s){var E=u(\"line\",{class:\"sparkline--cursor\",x1:A,x2:A,y1:0,y2:x,\"stroke-width\":d}),_=u(\"circle\",{class:\"sparkline--spot\",cx:A,cy:A,r:f});t.appendChild(E),t.appendChild(_);var F=u(\"rect\",{width:t.attributes.width.value,height:t.attributes.height.value,style:\"fill: transparent; stroke: transparent\",class:\"sparkline--interaction-layer\"});t.appendChild(F),F.addEventListener(\"mouseout\",function(t){E.setAttribute(\"x1\",A),E.setAttribute(\"x2\",A),_.setAttribute(\"cx\",A),l&&l(t)}),F.addEventListener(\"mousemove\",function(t){var e=t.offsetX,r=O.find(function(t){return t.x>=e});r||(r=O[w]);var n,o=O[O.indexOf(r)-1],i=(n=o?o.x+(r.x-o.x)/2<=e?r:o:r).x,a=n.y;_.setAttribute(\"cx\",i),_.setAttribute(\"cy\",a),E.setAttribute(\"x1\",i),E.setAttribute(\"x2\",i),c&&c(t,n)})}}}e.default=c},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e\r\n
\r\n \r\n
\r\n
\r\n

{{timer_hours}}:{{timer_minutes}}:{{timer_seconds}}

\r\n

{{$t(\"capture.intercept_coms_msg\")}} {{device_name}}.

\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./capture.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./capture.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./capture.vue?vue&type=template&id=68930959\"\nimport script from \"./capture.vue?vue&type=script&lang=js\"\nexport * from \"./capture.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-ba2c4548.738c2c59.js.map b/app/frontend/dist/js/chunk-ba2c4548.738c2c59.js.map deleted file mode 100644 index 1e9cca9..0000000 --- a/app/frontend/dist/js/chunk-ba2c4548.738c2c59.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./src/views/report.vue?3411","webpack:///./src/views/report.vue","webpack:///src/views/report.vue","webpack:///./src/views/report.vue?5d61","webpack:///./src/views/report.vue?7f56"],"names":["render","_vm","this","_c","_self","results","grep_keyword","staticClass","domProps","_s","$t","on","$event","new_capture","_v","show_report","alerts","high","length","nb","$i18n","messages","locale","report","numbers","moderate","low","staticStyle","device","name","pcap","SHA1","split","detection_methods","_l","alert","key","message","id","add_whitelist","host","title","description","uncategorized_records","_e","record","ip_dst","Object","keys","protocols","map","join","domains","port","whitelisted_records","attrs","save_capture","$router","push","staticRenderFns","data","props","methods","records","Array","capture_token","String","console","log","router","replace","params","axios","get","timeout","then","catch","error","kw","level","idx","found","forEach","a","indexOf","get_detection_methods","iocs","heuristics","active","EventBus","$emit","get_records","r","suspicious","whitelisted","created","component"],"mappings":"kHAAA,W,8ECAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAAEF,EAAII,QAASF,EAAG,MAAM,CAAEF,EAAIK,aAAa,cAAe,QAASH,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,MAAM,CAACI,YAAY,UAAU,CAACJ,EAAG,KAAK,CAACI,YAAY,gBAAgBC,SAAS,CAAC,UAAYP,EAAIQ,GAAGR,EAAIS,GAAG,8BAA8BP,EAAG,SAAS,CAACI,YAAY,2BAA2BI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,iBAAiB,CAACZ,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,gCAAgCP,EAAG,SAAS,CAACI,YAAY,sBAAsBI,GAAG,CAAC,MAAQ,SAASC,GAAQX,EAAIc,aAAY,EAAKd,EAAII,SAAQ,KAAU,CAACJ,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,mCAAoCT,EAAIe,OAAOC,KAAKC,QAAU,EAAGf,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,MAAM,CAACI,YAAY,UAAU,CAACJ,EAAG,KAAK,CAACI,YAAY,gBAAgBC,SAAS,CAAC,UAAYP,EAAIQ,GAAGR,EAAIS,GAAG,kBAAmB,CAAES,GAAIlB,EAAImB,MAAMC,SAASpB,EAAImB,MAAME,QAAQC,OAAOC,QAAQvB,EAAIe,OAAOC,KAAKC,cAAef,EAAG,SAAS,CAACI,YAAY,2BAA2BI,GAAG,CAAC,MAAQ,SAASC,GAA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Q,sBAAA,WACA,KAAApD,mBAAA,QAAA6B,QAAAwB,KAAA,UAAA5E,GAAA,kCAAAA,GAAA,wBACA,KAAAuB,mBAAA,QAAA6B,QAAAyB,WAAA,UAAA7E,GAAA,kCAAAA,GAAA,wBACA,KAAAuB,mBAAA,QAAA6B,QAAA0B,OAAA,UAAA9E,GAAA,8BAAAA,GAAA,qBAEA6B,cAAA,SAAAC,GACAiD,cAAAC,MAAA,qCAAAlD,KAEAmD,YAAA,WACA,KAAA5B,QAAAmB,QAAAU,IACAA,EAAAC,YAAAD,EAAAE,YAEAF,EAAAE,aACA,KAAAxC,oBAAAI,KAAAkC,GAFA,KAAAjD,sBAAAe,KAAAkC,OAOAG,QAAA,WACA5B,QAAAC,IAAA,mCACA,KAAAiB,wBACA,KAAAM,gBC3NgV,I,wBCQ5UK,EAAY,eACd,EACAhG,EACA2D,GACA,EACA,KACA,KACA,MAIa,aAAAqC,E","file":"js/chunk-ba2c4548.738c2c59.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./report.vue?vue&type=style&index=0&id=291c0d96&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.results)?_c('div',[(_vm.grep_keyword('STALKERWARE', 'high'))?_c('div',{staticClass:\"high-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.stalkerware_msg'))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-high\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.high.length >= 1)?_c('div',{staticClass:\"high-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.high_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.high.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-high\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.moderate.length >= 1)?_c('div',{staticClass:\"med-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.moderate_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.moderate.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-moderate\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.low.length >= 1)?_c('div',{staticClass:\"low-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.low_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.low.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-low\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):_c('div',{staticClass:\"none-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.fine_msg'))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))]),_c('button',{staticClass:\"btn btn-report-low\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))])])])]):(_vm.show_report)?_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"report-wrapper\"},[_c('div',{staticClass:\"device-ctx\"},[_c('h3',{staticStyle:{\"margin\":\"0\",\"padding-left\":\"10px\"}},[_vm._v(_vm._s(_vm.$t(\"report.report_of\"))+\" \"+_vm._s(_vm.device.name))]),_c('div',{staticClass:\"device-ctx-legend\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"report.pcap_sha1\"))+\" \"+_vm._s(_vm.pcap.SHA1)),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.capture_started\"))+\" \"+_vm._s(_vm.pcap[\"First packet time\"].split(\",\")[0])),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.capture_ended\"))+\" \"+_vm._s(_vm.pcap[\"Last packet time\"].split(\",\")[0])),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.detection_methods\"))+\" \"+_vm._s(_vm.detection_methods)+\" \")])]),(_vm.alerts)?_c('div',[_c('ul',{staticClass:\"alerts\"},[_vm._l((_vm.alerts.high),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"high-label\"},[_vm._v(_vm._s(_vm.$t(\"report.high\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])}),_vm._l((_vm.alerts.moderate),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"moderate-label\"},[_vm._v(_vm._s(_vm.$t(\"report.moderate\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])}),_vm._l((_vm.alerts.low),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"moderate-label\"},[_vm._v(_vm._s(_vm.$t(\"report.low\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])})],2)]):_c('div',{staticClass:\"no-alerts-to-show\"},[_c('span',{staticClass:\"main-text\"},[_vm._v(_vm._s(_vm.$t(\"report.no_alerts_title\")))]),_c('br'),_c('span',{staticClass:\"second-text\"},[_vm._v(_vm._s(_vm.$t(\"report.no_alerts_subtext\")))])]),(_vm.uncategorized_records.length>0)?_c('h5',{staticClass:\"title-report\"},[_vm._v(_vm._s(_vm.$t(\"report.uncat_coms_table\")))]):_vm._e(),(_vm.uncategorized_records.length>0)?_c('div',[_c('table',{staticClass:\"table-uncat\"},[_c('thead',[_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(\"report.protocol\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.domain_name\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.ip_address\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.port\")))])])]),_vm._l((_vm.uncategorized_records),function(record){return _c('tr',{key:record.ip_dst},[_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].name).join(\", \")))]),_c('td',{on:{\"click\":function($event){return _vm.add_whitelist(record.domains[0])}}},[_vm._v(_vm._s(record.domains.join(\", \")))]),_c('td',{on:{\"click\":function($event){return _vm.add_whitelist(record.ip_dst)}}},[_vm._v(_vm._s(record.ip_dst))]),_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].port).join(\", \")))])])})],2)]):_vm._e(),(_vm.whitelisted_records.length>0)?_c('h5',{staticClass:\"title-report\"},[_vm._v(_vm._s(_vm.$t(\"report.whitelisted_coms_table\")))]):_vm._e(),(_vm.whitelisted_records.length>0)?_c('div',[_c('table',{staticClass:\"table-uncat\"},[_c('thead',[_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(\"report.protocol\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.domain_name\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.ip_address\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.port\")))])])]),_vm._l((_vm.whitelisted_records),function(record){return _c('tr',{key:record.ip_dst},[_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].name).join(\", \")))]),_c('td',[_vm._v(_vm._s(record.domains.join(\", \")))]),_c('td',[_vm._v(_vm._s(record.ip_dst))]),_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].port).join(\", \")))])])})],2)]):_vm._e(),_c('div',{attrs:{\"id\":\"controls-analysis\"}},[_c('div',{staticClass:\"column col-6\"},[_c('button',{staticClass:\"btn btn btn-primary width-100\",on:{\"click\":function($event){return _vm.save_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.save\")))])]),_c('div',{staticClass:\"column col-6\"},[_c('button',{staticClass:\"btn width-100\",on:{\"click\":function($event){return _vm.$router.push('generate-ap')}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))])])])])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./report.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./report.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./report.vue?vue&type=template&id=291c0d96&\"\nimport script from \"./report.vue?vue&type=script&lang=js&\"\nexport * from \"./report.vue?vue&type=script&lang=js&\"\nimport style0 from \"./report.vue?vue&type=style&index=0&id=291c0d96&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-vendors.0c96780d.js b/app/frontend/dist/js/chunk-vendors.0c96780d.js deleted file mode 100644 index d7f3301..0000000 --- a/app/frontend/dist/js/chunk-vendors.0c96780d.js +++ /dev/null @@ -1,25 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"04f8":function(t,e,n){"use strict";var r=n("2d00"),o=n("d039"),i=n("da84"),a=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"06cf":function(t,e,n){"use strict";var r=n("83ab"),o=n("c65b"),i=n("d1e7"),a=n("5c6c"),s=n("fc6a"),c=n("a04b"),u=n("1a2d"),l=n("0cfb"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=s(t),e=c(e),l)try{return f(t,e)}catch(n){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},"07fa":function(t,e,n){"use strict";var r=n("50c4");t.exports=function(t){return r(t.length)}},"0a06":function(t,e,n){"use strict";var r=n("c532"),o=n("30b5"),i=n("f6b4"),a=n("5270"),s=n("4a7b"),c=n("848b"),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var l=[a,void 0];Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(t);while(l.length)o=o.then(l.shift(),l.shift());return o}var f=t;while(n.length){var p=n.shift(),h=n.shift();try{f=p(f)}catch(d){h(d);break}}try{o=a(f)}catch(d){return Promise.reject(d)}while(i.length)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},"0cfb":function(t,e,n){"use strict";var r=n("83ab"),o=n("d039"),i=n("cc12");t.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e,n){"use strict";var r=String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"13d2":function(t,e,n){"use strict";var r=n("e330"),o=n("d039"),i=n("1626"),a=n("1a2d"),s=n("83ab"),c=n("5e77").CONFIGURABLE,u=n("8925"),l=n("69f3"),f=l.enforce,p=l.get,h=String,d=Object.defineProperty,v=r("".slice),m=r("".replace),y=r([].join),g=s&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),_=t.exports=function(t,e,n){"Symbol("===v(h(e),0,7)&&(e="["+m(h(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||c&&t.name!==e)&&(s?d(t,"name",{value:e,configurable:!0}):t.name=e),g&&n&&a(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=f(t);return a(r,"source")||(r.source=y(b,"string"==typeof e?e:"")),t};Function.prototype.toString=_((function(){return i(this)&&p(this).source||u(this)}),"toString")},"14d9":function(t,e,n){"use strict";var r=n("23e7"),o=n("7b0b"),i=n("07fa"),a=n("3a34"),s=n("3511"),c=n("d039"),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=u||!l();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(t){var e=o(this),n=i(e),r=arguments.length;s(n+r);for(var c=0;c=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(a)})),t.exports=l}).call(this,n("4362"))},2877:function(t,e,n){"use strict";function r(t,e,n,r,o,i,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),i&&(u._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),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}}n.d(e,"a",(function(){return r}))},"2b0e":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Xr})); -/*! - * Vue.js v2.7.14 - * (c) 2014-2022 Evan You - * Released under the MIT License. - */ -var r=Object.freeze({}),o=Array.isArray;function i(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function c(t){return!1===t}function u(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return"function"===typeof t}function f(t){return null!==t&&"object"===typeof t}var p=Object.prototype.toString;function h(t){return"[object Object]"===p.call(t)}function d(t){return"[object RegExp]"===p.call(t)}function v(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function y(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===p?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(r,1)}}var k=Object.prototype.hasOwnProperty;function x(t,e){return k.call(t,e)}function C(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var O=/-(\w)/g,S=C((function(t){return t.replace(O,(function(t,e){return e?e.toUpperCase():""}))})),E=C((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,$=C((function(t){return t.replace(T,"-$1").toLowerCase()}));function j(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function A(t,e){return t.bind(e)}var P=Function.prototype.bind?A:j;function M(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function I(t,e){for(var n in e)t[n]=e[n];return t}function D(t){for(var e={},n=0;n0,rt=tt&&tt.indexOf("edge/")>0;tt&&tt.indexOf("android");var ot=tt&&/iphone|ipad|ipod|ios/.test(tt);tt&&/chrome\/\d+/.test(tt),tt&&/phantomjs/.test(tt);var it,at=tt&&tt.match(/firefox\/(\d+)/),st={}.watch,ct=!1;if(Q)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,ut)}catch(Za){}var lt=function(){return void 0===it&&(it=!Q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),it},ft=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pt(t){return"function"===typeof t&&/native code/.test(t.toString())}var ht,dt="undefined"!==typeof Symbol&&pt(Symbol)&&"undefined"!==typeof Reflect&&pt(Reflect.ownKeys);ht="undefined"!==typeof Set&&pt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var vt=null;function mt(t){void 0===t&&(t=null),t||vt&&vt._scope.off(),vt=t,t&&t._scope.on()}var yt=function(){function t(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),gt=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function bt(t){return new yt(void 0,void 0,void 0,String(t))}function _t(t){var e=new yt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var wt=0,kt=[],xt=function(){for(var t=0;t0&&(r=se(r,"".concat(e||"","_").concat(n)),ae(r[0])&&ae(l)&&(f[c]=bt(l.text+r[0].text),r.shift()),f.push.apply(f,r)):u(r)?ae(l)?f[c]=bt(l.text+r):""!==r&&f.push(bt(r)):ae(r)&&ae(l)?f[c]=bt(l.text+r.text):(s(t._isVList)&&a(r.tag)&&i(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),f.push(r)));return f}function ce(t,e){var n,r,i,s,c=null;if(o(t)||"string"===typeof t)for(c=new Array(t.length),n=0,r=t.length;n0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==r&&c===o.$key&&!a&&!o.$hasNormal)return o;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=Ee(t,n,u,e[u]))}else i={};for(var l in n)l in i||(i[l]=Te(n,l));return e&&Object.isExtensible(e)&&(e._normalized=i),G(i,"$stable",s),G(i,"$key",c),G(i,"$hasNormal",a),i}function Ee(t,e,n,r){var i=function(){var e=vt;mt(t);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!o(n)?[n]:ie(n);var i=n&&n[0];return mt(e),n&&(!i||1===n.length&&i.isComment&&!Oe(i))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:i,enumerable:!0,configurable:!0}),i}function Te(t,e){return function(){return t[e]}}function $e(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=je(t);mt(t),St();var o=Ge(n,null,[t._props||Ht({}),r],t,"setup");if(Et(),mt(),l(o))e.render=o;else if(f(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)"__sfc"!==a&&qt(i,o,a)}else for(var a in o)J(a)||qt(t,o,a);else 0}}function je(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};G(e,"_v_attr_proxy",!0),Ae(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Ae(e,t.$listeners,r,t,"$listeners")}return t._listenersProxy},get slots(){return Me(t)},emit:P(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return qt(t,e,n)}))}}}function Ae(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,Pe(t,a,r,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function Pe(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function Me(t){return t._slotsProxy||Ie(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Ie(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function De(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=xe(e._renderChildren,o),t.$scopedSlots=n?Se(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,o){return Ke(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Ke(t,e,n,r,o,!0)};var i=n&&n.data;Rt(t,"$attrs",i&&i.attrs||r,null,!0),Rt(t,"$listeners",e._parentListeners||r,null,!0)}var Le=null;function Ne(t){ke(t.prototype),t.prototype.$nextTick=function(t){return cn(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&e._isMounted&&(e.$scopedSlots=Se(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Ie(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;try{mt(e),Le=e,t=r.call(e._renderProxy,e.$createElement)}catch(Za){Je(Za,e,"render"),t=e._vnode}finally{Le=null,mt()}return o(t)&&1===t.length&&(t=t[0]),t instanceof yt||(t=gt()),t.parent=i,t}}function Re(t,e){return(t.__esModule||dt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),f(t)?e.extend(t):t}function Fe(t,e,n,r,o){var i=gt();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function Be(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Le;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],o=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return w(r,n)}));var l=function(t){for(var e=0,n=r.length;e1?M(n):n;for(var r=M(arguments,1),o='event handler for "'.concat(t,'"'),i=0,a=n.length;idocument.createEvent("Event").timeStamp&&(Hn=function(){return Vn.now()})}var Kn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function zn(){var t,e;for(Un=Hn(),Rn=!0,In.sort(Kn),Fn=0;FnFn&&In[n].id>t.id)n--;In.splice(n+1,0,t)}else In.push(t);Nn||(Nn=!0,cn(zn))}}function Xn(t){var e=t.$options.provide;if(e){var n=l(e)?e.call(t):e;if(!f(n))return;for(var r=Zt(t),o=dt?Reflect.ownKeys(n):Object.keys(n),i=0;i-1)if(i&&!x(o,"default"))a=!1;else if(""===a||a===$(t)){var c=$r(String,o.type);(c<0||s-1)return this;var n=M(arguments,1);return n.unshift(this),l(t.install)?t.install.apply(t,n):l(t)&&t.apply(null,n),e.push(t),this}}function Yr(t){t.mixin=function(t){return this.options=kr(this.options,t),this}}function Qr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=rr(t)||rr(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=kr(n.options,t),a["super"]=n,a.options.props&&to(a),a.options.computed&&eo(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,K.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=I({},a.options),o[r]=a,a}}function to(t){var e=t.options.props;for(var n in e)Ar(t.prototype,"_props",n)}function eo(t){var e=t.options.computed;for(var n in e)Rr(t.prototype,n,e[n])}function no(t){K.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&l(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function ro(t){return t&&(rr(t.Ctor.options)||t.tag)}function oo(t,e){return o(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function io(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=a.name;s&&!e(s)&&ao(n,i,r,o)}}}function ao(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,w(n,e)}qr(Xr),Kr(Xr),xn(Xr),En(Xr),Ne(Xr);var so=[String,RegExp,Array],co={name:"keep-alive",abstract:!0,props:{include:so,exclude:so,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;e[o]={name:ro(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&ao(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ao(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){io(t,(function(t){return oo(e,t)}))})),this.$watch("exclude",(function(e){io(t,(function(t){return!oo(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Ue(t),n=e&&e.componentOptions;if(n){var r=ro(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!oo(i,r))||a&&r&&oo(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,w(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},uo={KeepAlive:co};function lo(t){var e={get:function(){return q}};Object.defineProperty(t,"config",e),t.util={warn:fr,extend:I,mergeOptions:kr,defineReactive:Rt},t.set=Ft,t.delete=Bt,t.nextTick=cn,t.observable=function(t){return Nt(t),t},t.options=Object.create(null),K.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,I(t.options.components,uo),Zr(t),Yr(t),Qr(t),no(t)}lo(Xr),Object.defineProperty(Xr.prototype,"$isServer",{get:lt}),Object.defineProperty(Xr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Xr,"FunctionalRenderContext",{value:Qn}),Xr.version=fn;var fo=b("style,class"),po=b("input,textarea,option,select,progress"),ho=function(t,e,n){return"value"===n&&po(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},vo=b("contenteditable,draggable,spellcheck"),mo=b("events,caret,typing,plaintext-only"),yo=function(t,e){return ko(e)||"false"===e?"false":"contenteditable"===t&&mo(e)?e:"true"},go=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),bo="http://www.w3.org/1999/xlink",_o=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},wo=function(t){return _o(t)?t.slice(6,t.length):""},ko=function(t){return null==t||!1===t};function xo(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Co(r.data,e));while(a(n=n.parent))n&&n.data&&(e=Co(e,n.data));return Oo(e.staticClass,e.class)}function Co(t,e){return{staticClass:So(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Oo(t,e){return a(t)||a(e)?So(t,Eo(e)):""}function So(t,e){return t?e?t+" "+e:t:e||""}function Eo(t){return Array.isArray(t)?To(t):f(t)?$o(t):"string"===typeof t?t:""}function To(t){for(var e,n="",r=0,o=t.length;r-1?Do[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Do[t]=/HTMLUnknownElement/.test(e.toString())}var No=b("text,number,password,search,email,tel,url");function Ro(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Fo(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Bo(t,e){return document.createElementNS(jo[t],e)}function Uo(t){return document.createTextNode(t)}function Ho(t){return document.createComment(t)}function Vo(t,e,n){t.insertBefore(e,n)}function Ko(t,e){t.removeChild(e)}function zo(t,e){t.appendChild(e)}function qo(t){return t.parentNode}function Wo(t){return t.nextSibling}function Jo(t){return t.tagName}function Go(t,e){t.textContent=e}function Xo(t,e){t.setAttribute(e,"")}var Zo=Object.freeze({__proto__:null,createElement:Fo,createElementNS:Bo,createTextNode:Uo,createComment:Ho,insertBefore:Vo,removeChild:Ko,appendChild:zo,parentNode:qo,nextSibling:Wo,tagName:Jo,setTextContent:Go,setStyleScope:Xo}),Yo={create:function(t,e){Qo(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Qo(t,!0),Qo(e))},destroy:function(t){Qo(t,!0)}};function Qo(t,e){var n=t.data.ref;if(a(n)){var r=t.context,i=t.componentInstance||t.elm,s=e?null:i,c=e?void 0:i;if(l(n))Ge(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,f="string"===typeof n||"number"===typeof n,p=zt(n),h=r.$refs;if(f||p)if(u){var d=f?h[n]:n.value;e?o(d)&&w(d,i):o(d)?d.includes(i)||d.push(i):f?(h[n]=[i],ti(r,n,h[n])):n.value=[i]}else if(f){if(e&&h[n]!==i)return;h[n]=c,ti(r,n,s)}else if(p){if(e&&n.value!==i)return;n.value=s}else 0}}}function ti(t,e,n){var r=t._setupState;r&&x(r,e)&&(zt(r[e])?r[e].value=n:r[e]=n)}var ei=new yt("",{},[]),ni=["create","activate","update","remove","destroy"];function ri(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&oi(t,e)||s(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function oi(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,o=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===o||No(r)&&No(o)}function ii(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,a(o)&&(i[o]=r);return i}function ai(t){var e,n,r={},c=t.modules,l=t.nodeOps;for(e=0;ev?(f=i(n[g+1])?null:n[g+1].elm,C(t,f,n,h,g,r)):h>g&&S(e,p,v)}function $(t,e,n,r){for(var o=n;o-1?yi(t,e,n):go(e)?ko(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):vo(e)?t.setAttribute(e,yo(e,n)):_o(e)?ko(n)?t.removeAttributeNS(bo,wo(e)):t.setAttributeNS(bo,e,n):yi(t,e,n)}function yi(t,e,n){if(ko(n))t.removeAttribute(e);else{if(et&&!nt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var gi={create:vi,update:vi};function bi(t,e){var n=e.elm,r=e.data,o=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=xo(e),c=n._transitionClasses;a(c)&&(s=So(s,Eo(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var _i,wi={create:bi,update:bi},ki="__r",xi="__c";function Ci(t){if(a(t[ki])){var e=et?"change":"input";t[e]=[].concat(t[ki],t[e]||[]),delete t[ki]}a(t[xi])&&(t.change=[].concat(t[xi],t.change||[]),delete t[xi])}function Oi(t,e,n){var r=_i;return function o(){var i=e.apply(null,arguments);null!==i&&Ti(t,o,n,r)}}var Si=Qe&&!(at&&Number(at[1])<=53);function Ei(t,e,n,r){if(Si){var o=Un,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}_i.addEventListener(t,e,ct?{capture:n,passive:r}:n)}function Ti(t,e,n,r){(r||_i).removeEventListener(t,e._wrapper||e,n)}function $i(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};_i=e.elm||t.elm,Ci(n),te(n,r,Ei,Ti,Oi,e.context),_i=void 0}}var ji,Ai={create:$i,update:$i,destroy:function(t){return $i(t,ei)}};function Pi(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,o=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=I({},u)),c)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=i(r)?"":String(r);Mi(o,l)&&(o.value=l)}else if("innerHTML"===n&&Po(o.tagName)&&i(o.innerHTML)){ji=ji||document.createElement("div"),ji.innerHTML="".concat(r,"");var f=ji.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(f.firstChild)o.appendChild(f.firstChild)}else if(r!==c[n])try{o[n]=r}catch(Za){}}}}function Mi(t,e){return!t.composing&&("OPTION"===t.tagName||Ii(t,e)||Di(t,e))}function Ii(t,e){var n=!0;try{n=document.activeElement!==t}catch(Za){}return n&&t.value!==e}function Di(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Li={create:Pi,update:Pi},Ni=C((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Ri(t){var e=Fi(t.style);return t.staticStyle?I(t.staticStyle,e):e}function Fi(t){return Array.isArray(t)?D(t):"string"===typeof t?Ni(t):t}function Bi(t,e){var n,r={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Ri(o.data))&&I(r,n)}(n=Ri(t.data))&&I(r,n);var i=t;while(i=i.parent)i.data&&(n=Ri(i.data))&&I(r,n);return r}var Ui,Hi=/^--/,Vi=/\s*!important$/,Ki=function(t,e,n){if(Hi.test(e))t.style.setProperty(e,n);else if(Vi.test(n))t.style.setProperty($(e),n.replace(Vi,""),"important");else{var r=qi(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(Gi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Zi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Gi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Yi(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&I(e,Qi(t.name||"v")),I(e,t),e}return"string"===typeof t?Qi(t):void 0}}var Qi=C((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),ta=Q&&!nt,ea="transition",na="animation",ra="transition",oa="transitionend",ia="animation",aa="animationend";ta&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ra="WebkitTransition",oa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ia="WebkitAnimation",aa="webkitAnimationEnd"));var sa=Q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ca(t){sa((function(){sa(t)}))}function ua(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Xi(t,e))}function la(t,e){t._transitionClasses&&w(t._transitionClasses,e),Zi(t,e)}function fa(t,e,n){var r=ha(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ea?oa:aa,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=ea,l=a,f=i.length):e===na?u>0&&(n=na,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?ea:na:null,f=n?n===ea?i.length:c.length:0);var p=n===ea&&pa.test(r[ra+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function da(t,e){while(t.length1}function _a(t,e){!0!==e.data.show&&ma(e)}var wa=Q?{create:_a,activate:_a,remove:function(t,e){!0!==t.data.show?ya(t,e):e()}}:{},ka=[gi,wi,Ai,Li,Ji,wa],xa=ka.concat(di),Ca=ai({nodeOps:Zo,modules:xa});nt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Pa(t,"input")}));var Oa={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ee(n,"postpatch",(function(){Oa.componentUpdated(t,e,n)})):Sa(t,e,n.context),t._vOptions=[].map.call(t.options,$a)):("textarea"===n.tag||No(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ja),t.addEventListener("compositionend",Aa),t.addEventListener("change",Aa),nt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Sa(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,$a);if(o.some((function(t,e){return!F(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return Ta(t,o)})):e.value!==e.oldValue&&Ta(e.value,o);i&&Pa(t,"change")}}}};function Sa(t,e,n){Ea(t,e,n),(et||rt)&&setTimeout((function(){Ea(t,e,n)}),0)}function Ea(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(F($a(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Ta(t,e){return e.every((function(e){return!F(e,t)}))}function $a(t){return"_value"in t?t._value:t.value}function ja(t){t.target.composing=!0}function Aa(t){t.target.composing&&(t.target.composing=!1,Pa(t.target,"input"))}function Pa(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ma(t){return!t.componentInstance||t.data&&t.data.transition?t:Ma(t.componentInstance._vnode)}var Ia={bind:function(t,e,n){var r=e.value;n=Ma(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,ma(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!==!o){n=Ma(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?ma(n,(function(){t.style.display=t.__vOriginalDisplay})):ya(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},Da={model:Oa,show:Ia},La={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Na(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Na(Ue(e.children)):t}function Ra(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[S(r)]=o[r];return e}function Fa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ba(t){while(t=t.parent)if(t.data.transition)return!0}function Ua(t,e){return e.key===t.key&&e.tag===t.tag}var Ha=function(t){return t.tag||Oe(t)},Va=function(t){return"show"===t.name},Ka={name:"transition",props:La,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ha),n.length)){0;var r=this.mode;0;var o=n[0];if(Ba(this.$vnode))return o;var i=Na(o);if(!i)return o;if(this._leaving)return Fa(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:u(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=Ra(this),c=this._vnode,l=Na(c);if(i.data.directives&&i.data.directives.some(Va)&&(i.data.show=!0),l&&l.data&&!Ua(i,l)&&!Oe(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=I({},s);if("out-in"===r)return this._leaving=!0,ee(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Fa(t,o);if("in-out"===r){if(Oe(i))return c;var p,h=function(){p()};ee(s,"afterEnter",h),ee(s,"enterCancelled",h),ee(f,"delayLeave",(function(t){p=t}))}}return o}}},za=I({tag:String,moveClass:String},La);delete za.mode;var qa={props:za,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=On(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Ra(this),s=0;s0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"30b5":function(t,e,n){"use strict";var r=n("c532");function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},"342f":function(t,e,n){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3511:function(t,e,n){"use strict";var r=TypeError,o=9007199254740991;t.exports=function(t){if(t>o)throw r("Maximum allowed index exceeded");return t}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,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}},3934:function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(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=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"3a34":function(t,e,n){"use strict";var r=n("83ab"),o=n("e8b5"),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(o(t)&&!a(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"3a9b":function(t,e,n){"use strict";var r=n("e330");t.exports=r({}.isPrototypeOf)},"40d5":function(t,e,n){"use strict";var r=n("d039");t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("df7c")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"44ad":function(t,e,n){"use strict";var r=n("e330"),o=n("d039"),i=n("c6b6"),a=Object,s=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?s(t,""):a(t)}:a},"467f":function(t,e,n){"use strict";var r=n("2d83");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"485a":function(t,e,n){"use strict";var r=n("c65b"),o=n("1626"),i=n("861d"),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&o(n=t.toString)&&!i(s=r(n,t)))return s;if(o(n=t.valueOf)&&!i(s=r(n,t)))return s;if("string"!==e&&o(n=t.toString)&&!i(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},"4a0c":function(t){t.exports=JSON.parse('{"_from":"axios@^0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"axios@^0.21.4","name":"axios","escapedName":"axios","rawSpec":"^0.21.4","saveSpec":null,"fetchSpec":"^0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@^0.21.4","_where":"/usr/share/spyguard/app/frontend","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')},"4a7b":function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function u(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=c(void 0,t[o])):n[o]=c(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(i,u),r.forEach(a,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=c(void 0,t[o])):n[o]=c(void 0,e[o])})),r.forEach(s,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var l=o.concat(i).concat(a).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===l.indexOf(t)}));return r.forEach(f,u),n}},"4d64":function(t,e,n){"use strict";var r=n("fc6a"),o=n("23cb"),i=n("07fa"),a=function(t){return function(e,n,a){var s,c=r(e),u=i(c),l=o(a,u);if(t&&n!==n){while(u>l)if(s=c[l++],s!==s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(t,e,n){"use strict";var r=n("5926"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5270:function(t,e,n){"use strict";var r=n("c532"),o=n("c401"),i=n("2e67"),a=n("2444");function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){s(t),t.headers=t.headers||{},t.data=o.call(t,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]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},5692:function(t,e,n){"use strict";var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.32.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,n){"use strict";var r=n("d066"),o=n("e330"),i=n("241c"),a=n("7418"),s=n("825a"),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=a.f;return n?c(e,n(t)):e}},5926:function(t,e,n){"use strict";var r=n("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},"59ed":function(t,e,n){"use strict";var r=n("1626"),o=n("0d51"),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},"5c6c":function(t,e,n){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,n){"use strict";var r=n("83ab"),o=n("1a2d"),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},"5f02":function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},6374:function(t,e,n){"use strict";var r=n("da84"),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},"69f3":function(t,e,n){"use strict";var r,o,i,a=n("cdce"),s=n("da84"),c=n("861d"),u=n("9112"),l=n("1a2d"),f=n("c6cd"),p=n("f772"),h=n("d012"),d="Object already initialized",v=s.TypeError,m=s.WeakMap,y=function(t){return i(t)?o(t):r(t,{})},g=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}};if(a||f.state){var b=f.state||(f.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(t,e){if(b.has(t))throw v(d);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var _=p("state");h[_]=!0,r=function(t,e){if(l(t,_))throw v(d);return e.facade=t,u(t,_,e),e},o=function(t){return l(t,_)?t[_]:{}},i=function(t){return l(t,_)}}t.exports={set:r,get:o,has:i,enforce:y,getterFor:g}},7234:function(t,e,n){"use strict";t.exports=function(t){return null===t||void 0===t}},7418:function(t,e,n){"use strict";e.f=Object.getOwnPropertySymbols},7839:function(t,e,n){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a77":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},"7aac":function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!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)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(t,e,n){"use strict";var r=n("1d80"),o=Object;t.exports=function(t){return o(r(t))}},"825a":function(t,e,n){"use strict";var r=n("861d"),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},"83ab":function(t,e,n){"use strict";var r=n("d039");t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(t,e,n){"use strict";var r=n("d925"),o=n("e683");t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},"848b":function(t,e,n){"use strict";var r=n("4a0c"),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var i={},a=r.version.split(".");function s(t,e){for(var n=e?e.split("."):a,r=t.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]0){var i=r[o],a=e[i];if(a){var s=t[i],c=void 0===s||a(s,i,t);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+i)}}o.transitional=function(t,e,n){var o=e&&s(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(a(r," has been removed in "+e));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={isOlderVersion:s,assertOptions:c,validators:o}},"861d":function(t,e,n){"use strict";var r=n("1626"),o=n("8ea1"),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},8925:function(t,e,n){"use strict";var r=n("e330"),o=n("1626"),i=n("c6cd"),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},"8c4f":function(t,e,n){"use strict";function r(t,e){for(var n in e)t[n]=e[n];return t}n.d(e,"a",(function(){return ke}));var o=/[!'()*]/g,i=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(o,i).replace(a,",")};function c(t){try{return decodeURIComponent(t)}catch(e){0}return t}function u(t,e,n){void 0===e&&(e={});var r,o=n||f;try{r=o(t||"")}catch(s){r={}}for(var i in e){var a=e[i];r[i]=Array.isArray(a)?a.map(l):l(a)}return r}var l=function(t){return null==t||"object"===typeof t?t:String(t)};function f(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=c(n.shift()),o=n.length>0?c(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]})),e):e}function p(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(s(e)):r.push(s(e)+"="+s(t)))})),r.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var h=/\/?$/;function d(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=v(i)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:g(e,o),matched:t?y(t):[]};return n&&(a.redirectedFrom=g(n,o)),Object.freeze(a)}function v(t){if(Array.isArray(t))return t.map(v);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=v(t[n]);return e}return t}var m=d(null,{path:"/"});function y(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function g(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||p;return(n||"/")+i(r)+o}function b(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(h,"")===e.path.replace(h,"")&&(n||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,o){var i=t[n],a=r[o];if(a!==n)return!1;var s=e[n];return null==i||null==s?i===s:"object"===typeof i&&"object"===typeof s?_(i,s):String(i)===String(s)}))}function w(t,e){return 0===t.path.replace(h,"/").indexOf(e.path.replace(h,"/"))&&(!e.hash||t.hash===e.hash)&&k(t.query,e.query)}function k(t,e){for(var n in e)if(!(n in t))return!1;return!0}function x(t){for(var e=0;e=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function $(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var j=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},A=X,P=N,M=R,I=U,D=G,L=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(t,e){var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";while(null!=(n=L.exec(t))){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(i,l),i=l+c.length,u)a+=u[1];else{var f=t[i],p=n[2],h=n[3],d=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=f&&f!==p,b="+"===m||"*"===m,_="?"===m||"*"===m,w=n[2]||s,k=d||v;r.push({name:h||o++,prefix:p||"",delimiter:w,optional:_,repeat:b,partial:g,asterisk:!!y,pattern:k?V(k):y?".*":"[^"+H(w)+"]+?"})}}return i1||!C.length)return 0===C.length?t():t("span",{},C)}if("a"===this.tag)x.on=k,x.attrs={href:c,"aria-current":g};else{var O=at(this.$slots.default);if(O){O.isStatic=!1;var S=O.data=r({},O.data);for(var E in S.on=S.on||{},S.on){var T=S.on[E];E in k&&(S.on[E]=Array.isArray(T)?T:[T])}for(var $ in k)$ in S.on?S.on[$].push(k[$]):S.on[$]=_;var j=O.data.attrs=r({},O.data.attrs);j.href=c,j["aria-current"]=g}else x.on=k}return t(this.tag,x,this.$slots.default)}};function it(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function at(t){if(t)for(var e,n=0;n-1&&(s.params[f]=n.params[f]);return s.path=Y(u.path,s.params,'named route "'+c+'"'),p(u,s,a)}if(s.path){s.params={};for(var h=0;h-1}function qt(t,e){return zt(t)&&t._isRouter&&(null==e||t.type===e)}function Wt(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}function Jt(t){return function(e,n,r){var o=!1,i=0,a=null;Gt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){o=!0,i++;var c,u=Qt((function(e){Yt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),n.components[s]=e,i--,i<=0&&r()})),l=Qt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=zt(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(p){l(p)}if(c)if("function"===typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"===typeof f.then&&f.then(u,l)}}})),o||r()}}function Gt(t,e){return Xt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Xt(t){return Array.prototype.concat.apply([],t)}var Zt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Yt(t){return t.__esModule||Zt&&"Module"===t[Symbol.toStringTag]}function Qt(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(ct){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ne(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=It&&n;r&&this.listeners.push(kt());var o=function(){var n=t.current,o=fe(t.base);t.current===m&&o===t._startLocation||t.transitionTo(o,(function(t){r&&xt(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Dt($(r.base+t.fullPath)),xt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Lt($(r.base+t.fullPath)),xt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(fe(this.base)!==this.current.fullPath){var e=$(this.base+this.current.fullPath);t?Dt(e):Lt(e)}},e.prototype.getCurrentLocation=function(){return fe(this.base)},e}(te);function fe(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf($(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var pe=function(t){function e(e,n,r){t.call(this,e,n),r&&he(this.base)||de()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=It&&n;r&&this.listeners.push(kt());var o=function(){var e=t.current;de()&&t.transitionTo(ve(),(function(n){r&&xt(t.router,n,e,!0),It||ge(n.fullPath)}))},i=It?"popstate":"hashchange";window.addEventListener(i,o),this.listeners.push((function(){window.removeEventListener(i,o)}))}},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ye(t.fullPath),xt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ge(t.fullPath),xt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ve()!==e&&(t?ye(e):ge(e))},e.prototype.getCurrentLocation=function(){return ve()},e}(te);function he(t){var e=fe(t);if(!/^\/#/.test(e))return window.location.replace($(t+"/#"+e)),!0}function de(){var t=ve();return"/"===t.charAt(0)||(ge("/"+t),!1)}function ve(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ye(t){It?Dt(me(t)):window.location.hash=t}function ge(t){It?Lt(me(t)):window.location.replace(me(t))}var be=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){qt(t,Nt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),_e=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ht(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!It&&!1!==t.fallback,this.fallback&&(e="hash"),ct||(e="abstract"),this.mode=e,e){case"history":this.history=new le(this,t.base);break;case"hash":this.history=new pe(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},we={currentRoute:{configurable:!0}};_e.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},we.currentRoute.get=function(){return this.history&&this.history.current},_e.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof le||n instanceof pe){var r=function(t){var r=n.current,o=e.options.scrollBehavior,i=It&&o;i&&"fullPath"in t&&xt(e,t,r,!1)},o=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),o,o)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},_e.prototype.beforeEach=function(t){return xe(this.beforeHooks,t)},_e.prototype.beforeResolve=function(t){return xe(this.resolveHooks,t)},_e.prototype.afterEach=function(t){return xe(this.afterHooks,t)},_e.prototype.onReady=function(t,e){this.history.onReady(t,e)},_e.prototype.onError=function(t){this.history.onError(t)},_e.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},_e.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},_e.prototype.go=function(t){this.history.go(t)},_e.prototype.back=function(){this.go(-1)},_e.prototype.forward=function(){this.go(1)},_e.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},_e.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=Q(t,e,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,a=this.history.base,s=Ce(a,i,this.mode);return{location:r,route:o,href:s,normalizedTo:r,resolved:o}},_e.prototype.getRoutes=function(){return this.matcher.getRoutes()},_e.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},_e.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(_e.prototype,we);var ke=_e;function xe(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Ce(t,e,n){var r="hash"===n?"#"+e:e;return t?$(t+"/"+r):r}_e.install=st,_e.version="3.6.5",_e.isNavigationFailure=qt,_e.NavigationFailureType=Nt,_e.START_LOCATION=m,ct&&window.Vue&&window.Vue.use(_e)},"8df4":function(t,e,n){"use strict";var r=n("7a77");function o(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))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},"8ea1":function(t,e,n){"use strict";var r="object"==typeof document&&document.all,o="undefined"==typeof r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:o}},"90e3":function(t,e,n){"use strict";var r=n("e330"),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},9112:function(t,e,n){"use strict";var r=n("83ab"),o=n("9bf2"),i=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){"use strict";var r=n("d039"),o=n("1626"),i=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n===l||n!==u&&(o(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},"9bf2":function(t,e,n){"use strict";var r=n("83ab"),o=n("0cfb"),i=n("aed9"),a=n("825a"),s=n("a04b"),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";e.f=r?i?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&h in n&&!n[h]){var r=l(t,e);r&&r[h]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},a044:function(t,e,n){"use strict";e["a"]={layout:{default:["` 1 2 3 4 5 6 7 8 9 0 ° + {bksp}","{tab} a z e r t y u i o p ^ $","{lock} q s d f g h j k l m ù * {enter}","{shift} < w x c v b n , ; : ! {shift}",".com @ {space}"],shift:["² & é \" ' ( - è _ ç à ) = {bksp}","{tab} A Z E R T Y U I O P ¨ £","{lock} Q S D F G H J K L M % µ {enter}","{shift} > W X C V B N ? . / § {shift}",".com @ {space}"]}}},a04b:function(t,e,n){"use strict";var r=n("c04e"),o=n("d9b5");t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},a925:function(t,e,n){"use strict"; -/*! - * vue-i18n v8.28.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],o=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function i(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function a(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var s=Array.isArray;function c(t){return null!==t&&"object"===typeof t}function u(t){return"boolean"===typeof t}function l(t){return"string"===typeof t}var f=Object.prototype.toString,p="[object Object]";function h(t){return f.call(t)===p}function d(t){return null===t||void 0===t}function v(t){return"function"===typeof t}function m(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,r=null;return 1===t.length?c(t[0])||s(t[0])?r=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(c(t[1])||s(t[1]))&&(r=t[1])),{locale:n,params:r}}function y(t){return JSON.parse(JSON.stringify(t))}function g(t,e){if(t.delete(e))return t}function b(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function _(t,e){return!!~t.indexOf(e)}var w=Object.prototype.hasOwnProperty;function k(t,e){return w.call(t,e)}function x(t){for(var e=arguments,n=Object(t),r=1;r/g,">").replace(/"/g,""").replace(/'/g,"'")}function S(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=O(t[e]))})),t}function E(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[t,o.locale,o._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function T(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof St){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach((function(t){e=x(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(c){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(h(t.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof St?this.$root.$i18n:null;if(r&&(t.i18n.root=this.$root,t.i18n.formatter=r.formatter,t.i18n.fallbackLocale=r.fallbackLocale,t.i18n.formatFallbackMessages=r.formatFallbackMessages,t.i18n.silentTranslationWarn=r.silentTranslationWarn,t.i18n.silentFallbackWarn=r.silentFallbackWarn,t.i18n.pluralizationRules=r.pluralizationRules,t.i18n.preserveDirectiveContent=r.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var o=t.i18n&&t.i18n.messages?t.i18n.messages:{},i=t.__i18nBridge||t.__i18n;i.forEach((function(t){o=x(o,JSON.parse(t))})),t.i18n.messages=o}catch(c){0}var a=t.i18n,s=a.sharedMessages;s&&h(s)&&(t.i18n.messages=x(t.i18n.messages,s)),this._i18n=new St(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof St?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof St&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof St||h(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof St||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof St)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var $={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,o=e.props,i=e.slots,a=r.$i18n;if(a){var s=o.path,c=o.locale,u=o.places,l=i(),f=a.i(s,c,j(l)||u?A(l.default,u):l),p=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return p?t(p,n,f):f}}};function j(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function A(t,e){var n=e?P(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var r=t.every(D);return t.reduce(r?M:I,n)}function P(t){return Array.isArray(t)?t.reduce(I,{}):Object.assign({},t)}function M(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function I(t,e,n){return t[n]=e,t}function D(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var L,N={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,o=e.parent,i=e.data,a=o.$i18n;if(!a)return null;var s=null,u=null;l(n.format)?s=n.format:c(n.format)&&(n.format.key&&(s=n.format.key),u=Object.keys(n.format).reduce((function(t,e){var o;return _(r,e)?Object.assign({},t,(o={},o[e]=n.format[e],o)):t}),null));var f=n.locale||a.locale,p=a._ntp(n.value,f,s,u),h=p.map((function(t,e){var n,r=i.scopedSlots&&i.scopedSlots[t.type];return r?r((n={},n[t.type]=t.value,n.index=e,n.parts=p,n)):t.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?t(d,{attrs:i.attrs,class:i["class"],staticClass:i.staticClass},h):h}};function R(t,e,n){U(t,n)&&V(t,e,n)}function F(t,e,n,r){if(U(t,n)){var o=n.context.$i18n;H(t,n)&&C(e.value,e.oldValue)&&C(t._localeMessage,o.getLocaleMessage(o.locale))||V(t,e,n)}}function B(t,e,n,r){var o=n.context;if(o){var a=n.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else i("Vue instance does not exists in VNode context")}function U(t,e){var n=e.context;return n?!!n.$i18n||(i("VueI18n instance does not exists in Vue instance"),!1):(i("Vue instance does not exists in VNode context"),!1)}function H(t,e){var n=e.context;return t._locale===n.$i18n.locale}function V(t,e,n){var r,o,a=e.value,s=K(a),c=s.path,u=s.locale,l=s.args,f=s.choice;if(c||u||l)if(c){var p=n.context;t._vt=t.textContent=null!=f?(r=p.$i18n).tc.apply(r,[c,f].concat(z(u,l))):(o=p.$i18n).t.apply(o,[c].concat(z(u,l))),t._locale=p.$i18n.locale,t._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else i("`path` is required in v-t directive");else i("value type not supported")}function K(t){var e,n,r,o;return l(t)?e=t:h(t)&&(e=t.path,n=t.locale,r=t.args,o=t.choice),{path:e,locale:n,args:r,choice:o}}function z(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||h(e))&&n.push(e),n}function q(t,e){void 0===e&&(e={bridge:!1}),q.installed=!0,L=t;L.version&&Number(L.version.split(".")[0]);E(L),L.mixin(T(e.bridge)),L.directive("t",{bind:R,update:F,unbind:B}),L.component($.name,$),L.component(N.name,N);var n=L.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var W=function(){this._caches=Object.create(null)};W.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=X(t),this._caches[t]=n),Z(n,e)};var J=/^(?:\d)+/,G=/^(?:\w)+/;function X(t){var e=[],n=0,r="";while(n0)f--,l=at,p[Y]();else{if(f=0,void 0===n)return!1;if(n=mt(n),!1===n)return!1;p[Q]()}};while(null!==l)if(u++,e=t[u],"\\"!==e||!h()){if(o=vt(e),s=ft[l],i=s[o]||s["else"]||lt,i===lt)return;if(l=i[0],a=p[i[1]],a&&(r=i[2],r=void 0===r?e:r,!1===a()))return;if(l===ut)return c}}var gt=function(){this._cache=Object.create(null)};gt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=yt(t),e&&(this._cache[t]=e)),e||[]},gt.prototype.getPathValue=function(t,e){if(!c(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var r=n.length,o=t,i=0;while(i/,wt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,kt=/^@(?:\.([a-zA-Z]+))?:/,xt=/[()]/g,Ct={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Ot=new W,St=function(t){var e=this;void 0===t&&(t={}),!L&&"undefined"!==typeof window&&window.Vue&&q(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),o=t.messages||{},i=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Ot,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new gt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex){var o=r.getChoiceIndex;return o.call(e,t,n)}var i=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):i(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!d(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,o[t])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:i,numberFormats:a})},Et={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};St.prototype._checkLocaleMessage=function(t,e,n){var r=[],o=function(t,e,n,r){if(h(n))Object.keys(n).forEach((function(i){var a=n[i];h(a)?(r.push(i),r.push("."),o(t,e,a,r),r.pop(),r.pop()):(r.push(i),o(t,e,a,r),r.pop())}));else if(s(n))n.forEach((function(n,i){h(n)?(r.push("["+i+"]"),r.push("."),o(t,e,n,r),r.pop(),r.pop()):(r.push("["+i+"]"),o(t,e,n,r),r.pop())}));else if(l(n)){var c=_t.test(n);if(c){var u="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?i(u):"error"===t&&a(u)}}};o(e,t,n,r)},St.prototype._initVM=function(t){var e=L.config.silent;L.config.silent=!0,this._vm=new L({data:t,__VUE18N__INSTANCE__:!0}),L.config.silent=e},St.prototype.destroyVM=function(){this._vm.$destroy()},St.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},St.prototype.unsubscribeDataChanging=function(t){g(this._dataListeners,t)},St.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=b(t._dataListeners),n=e.length;while(n--)L.nextTick((function(){e[n]&&e[n].$forceUpdate()}))}),{deep:!0})},St.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){r.$set(r,"locale",t),r.$forceUpdate()}),{immediate:!0})},St.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Et.vm.get=function(){return this._vm},Et.messages.get=function(){return y(this._getMessages())},Et.dateTimeFormats.get=function(){return y(this._getDateTimeFormats())},Et.numberFormats.get=function(){return y(this._getNumberFormats())},Et.availableLocales.get=function(){return Object.keys(this.messages).sort()},Et.locale.get=function(){return this._vm.locale},Et.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Et.fallbackLocale.get=function(){return this._vm.fallbackLocale},Et.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Et.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Et.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Et.missing.get=function(){return this._missing},Et.missing.set=function(t){this._missing=t},Et.formatter.get=function(){return this._formatter},Et.formatter.set=function(t){this._formatter=t},Et.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Et.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Et.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Et.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Et.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Et.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Et.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Et.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},Et.postTranslation.get=function(){return this._postTranslation},Et.postTranslation.set=function(t){this._postTranslation=t},Et.sync.get=function(){return this._sync},Et.sync.set=function(t){this._sync=t},St.prototype._getMessages=function(){return this._vm.messages},St.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},St.prototype._getNumberFormats=function(){return this._vm.numberFormats},St.prototype._warnDefault=function(t,e,n,r,o,i){if(!d(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,r,o]);if(l(a))return a}else 0;if(this._formatFallbackMessages){var s=m.apply(void 0,o);return this._render(e,i,s.params,e)}return e},St.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:d(t))&&!d(this._root)&&this._fallbackRoot},St.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},St.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},St.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},St.prototype._interpolate=function(t,e,n,r,o,i,a){if(!e)return null;var c,u=this._path.getPathValue(e,n);if(s(u)||h(u))return u;if(d(u)){if(!h(e))return null;if(c=e[n],!l(c)&&!v(c))return null}else{if(!l(u)&&!v(u))return null;c=u}return l(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,r,"raw",i,a)),this._render(c,o,i,n)},St.prototype._link=function(t,e,n,r,o,i,a){var c=n,u=c.match(wt);for(var l in u)if(u.hasOwnProperty(l)){var f=u[l],p=f.match(kt),h=p[0],d=p[1],v=f.replace(h,"").replace(xt,"");if(_(a,v))return c;a.push(v);var m=this._interpolate(t,e,v,r,"raw"===o?"string":o,"raw"===o?void 0:i,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;m=y._translate(y._getMessages(),y.locale,y.fallbackLocale,v,r,o,i)}m=this._warnDefault(t,v,m,r,s(i)?i:[i],o),this._modifiers.hasOwnProperty(d)?m=this._modifiers[d](m):Ct.hasOwnProperty(d)&&(m=Ct[d](m)),a.pop(),c=m?c.replace(f,m):c}return c},St.prototype._createMessageContext=function(t,e,n,r){var o=this,i=s(t)?t:[],a=c(t)?t:{},u=function(t){return i[t]},l=function(t){return a[t]},f=this._getMessages(),p=this.locale;return{list:u,named:l,values:t,formatter:e,path:n,messages:f,locale:p,linked:function(t){return o._interpolate(p,f[p]||{},t,null,r,void 0,[t])}}},St.prototype._render=function(t,e,n,r){if(v(t))return t(this._createMessageContext(n,this._formatter||Ot,r,e));var o=this._formatter.interpolate(t,n,r);return o||(o=Ot.interpolate(t,n,r)),"string"!==e||l(o)?o:o.join("")},St.prototype._appendItemToChain=function(t,e,n){var r=!1;return _(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},St.prototype._appendLocaleToChain=function(t,e,n){var r,o=e.split("-");do{var i=o.join("-");r=this._appendItemToChain(t,i,n),o.splice(-1,1)}while(o.length&&!0===r);return r},St.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,o=0;o0)i[a]=arguments[a+4];if(!t)return"";var s=m.apply(void 0,i);this._escapeParameterHtml&&(s.params=S(s.params));var c=s.locale||e,u=this._translate(n,c,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[t].concat(i))}return u=this._warnDefault(c,t,u,r,i,"string"),this._postTranslation&&null!==u&&void 0!==u&&(u=this._postTranslation(u,t)),u},St.prototype.t=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},St.prototype._i=function(t,e,n,r,o){var i=this._translate(n,e,this.fallbackLocale,t,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,o)}return this._warnDefault(e,t,i,r,[o],"raw")},St.prototype.i=function(t,e,n){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},St.prototype._tc=function(t,e,n,r,o){var i,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===o&&(o=1);var c={count:o,n:o},u=m.apply(void 0,a);return u.params=Object.assign(c,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((i=this)._t.apply(i,[t,e,n,r].concat(a)),o)},St.prototype.fetchChoice=function(t,e){if(!t||!l(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},St.prototype.tc=function(t,e){var n,r=[],o=arguments.length-2;while(o-- >0)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},St.prototype._te=function(t,e,n){var r=[],o=arguments.length-3;while(o-- >0)r[o]=arguments[o+3];var i=m.apply(void 0,r).locale||e;return this._exist(n[i],t)},St.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},St.prototype.getLocaleMessage=function(t){return y(this._vm.messages[t]||{})},St.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},St.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,x("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},St.prototype.getDateTimeFormat=function(t){return y(this._vm.dateTimeFormats[t]||{})},St.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},St.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,x(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},St.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},St.prototype._localizeDateTime=function(t,e,n,r,o,i){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[n]=arguments[n+1];var r=this.locale,i=null,a=null;return 1===e.length?(l(e[0])?i=e[0]:c(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(i=e[0].key)),a=Object.keys(e[0]).reduce((function(t,n){var r;return _(o,n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t}),null)):2===e.length&&(l(e[0])&&(i=e[0]),l(e[1])&&(r=e[1])),this._d(t,r,i,a)},St.prototype.getNumberFormat=function(t){return y(this._vm.numberFormats[t]||{})},St.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},St.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,x(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},St.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},St.prototype._getNumberFormatter=function(t,e,n,r,o,i){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[n]=arguments[n+1];var o=this.locale,i=null,a=null;return 1===e.length?l(e[0])?i=e[0]:c(e[0])&&(e[0].locale&&(o=e[0].locale),e[0].key&&(i=e[0].key),a=Object.keys(e[0]).reduce((function(t,n){var o;return _(r,n)?Object.assign({},t,(o={},o[n]=e[0][n],o)):t}),null)):2===e.length&&(l(e[0])&&(i=e[0]),l(e[1])&&(o=e[1])),this._n(t,o,i,a)},St.prototype._ntp=function(t,e,n,r){if(!St.availabilities.numberFormat)return[];if(!n){var o=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return o.formatToParts(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return a||[]},Object.defineProperties(St.prototype,Et),Object.defineProperty(St,"availabilities",{get:function(){if(!bt){var t="undefined"!==typeof Intl;bt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return bt}}),St.install=q,St.version="8.28.2",e["a"]=St},aed9:function(t,e,n){"use strict";var r=n("83ab"),o=n("d039");t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b42e:function(t,e,n){"use strict";var r=Math.ceil,o=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?o:r)(e)}},b50d:function(t,e,n){"use strict";var r=n("c532"),o=n("467f"),i=n("7aac"),a=n("30b5"),s=n("83b9"),c=n("c345"),u=n("3934"),l=n("2d83");t.exports=function(t){return new Promise((function(e,n){var f=t.data,p=t.headers,h=t.responseType;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var v=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+m)}var y=s(t.baseURL,t.url);function g(){if(d){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,i=h&&"text"!==h&&"json"!==h?d.response:d.responseText,a={data:i,status:d.status,statusText:d.statusText,headers:r,config:t,request:d};o(e,n,a),d=null}}if(d.open(t.method.toUpperCase(),a(y,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=g:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(g)},d.onabort=function(){d&&(n(l("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(l("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||u(y))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}"setRequestHeader"in d&&r.forEach(p,(function(t,e){"undefined"===typeof f&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),h&&"json"!==h&&(d.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),n(t),d=null)})),f||(f=null),d.send(f)}))}},b622:function(t,e,n){"use strict";var r=n("da84"),o=n("5692"),i=n("1a2d"),a=n("90e3"),s=n("04f8"),c=n("fdbf"),u=r.Symbol,l=o("wks"),f=c?u["for"]||u:u&&u.withoutSetter||a;t.exports=function(t){return i(l,t)||(l[t]=s&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},bc3a:function(t,e,n){t.exports=n("cee4")},c04e:function(t,e,n){"use strict";var r=n("c65b"),o=n("861d"),i=n("d9b5"),a=n("dc4a"),s=n("485a"),c=n("b622"),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=a(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},c345:function(t,e,n){"use strict";var r=n("c532"),o=["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,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},c401:function(t,e,n){"use strict";var r=n("c532"),o=n("2444");t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},c430:function(t,e,n){"use strict";t.exports=!1},c532:function(t,e,n){"use strict";var r=n("1d2b"),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===o.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function f(t){return"string"===typeof t}function p(t){return"number"===typeof t}function h(t){return null!==t&&"object"===typeof t}function d(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===o.call(t)}function m(t){return"[object File]"===o.call(t)}function y(t){return"[object Blob]"===o.call(t)}function g(t){return"[object Function]"===o.call(t)}function b(t){return h(t)&&g(t.pipe)}function _(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function w(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;nu)o(r,n=e[u++])&&(~a(l,n)||c(l,n));return l}},cb2d:function(t,e,n){"use strict";var r=n("1626"),o=n("9bf2"),i=n("13d2"),a=n("6374");t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&i(n,u,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},cc12:function(t,e,n){"use strict";var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},cdce:function(t,e,n){"use strict";var r=n("da84"),o=n("1626"),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},cee4:function(t,e,n){"use strict";var r=n("c532"),o=n("1d2b"),i=n("0a06"),a=n("4a7b"),s=n("2444");function c(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var u=c(s);u.Axios=i,u.create=function(t){return c(a(u.defaults,t))},u.Cancel=n("7a77"),u.CancelToken=n("8df4"),u.isCancel=n("2e67"),u.all=function(t){return Promise.all(t)},u.spread=n("0df6"),u.isAxiosError=n("5f02"),t.exports=u,t.exports.default=u},d012:function(t,e,n){"use strict";t.exports={}},d039:function(t,e,n){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){"use strict";var r=n("da84"),o=n("1626"),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},d2db:function(t,e,n){},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d9b5:function(t,e,n){"use strict";var r=n("d066"),o=n("1626"),i=n("3a9b"),a=n("fdbf"),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,s(t))}},da84:function(t,e,n){"use strict";(function(e){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||this||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(t,e,n){"use strict";var r=n("59ed"),o=n("7234");t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},dd7f:function(t,e,n){ -/*! - * - * simple-keyboard v2.32.131 - * https://github.com/hodgef/simple-keyboard - * - * Copyright (c) Francisco Hodge (https://github.com/hodgef) - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - */ -!function(e,n){t.exports=n()}(0,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";function r(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"===typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n3&&void 0!==arguments[3]?arguments[3]:n,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=this.getOptions(),a=[n,r,o],s=e;return("{bksp}"===t||"{backspace}"===t)&&s.length>0?s=this.removeAt.apply(this,[s].concat(a)):"{space}"===t?s=this.addStringAt.apply(this,[s," "].concat(a)):"{tab}"!==t||"boolean"===typeof i.tabCharOnTab&&!1===i.tabCharOnTab?"{enter}"!==t&&"{numpadenter}"!==t||!i.newLineOnEnter?t.includes("numpad")&&Number.isInteger(Number(t[t.length-2]))?s=this.addStringAt.apply(this,[s,t[t.length-2]].concat(a)):"{numpaddivide}"===t?s=this.addStringAt.apply(this,[s,"/"].concat(a)):"{numpadmultiply}"===t?s=this.addStringAt.apply(this,[s,"*"].concat(a)):"{numpadsubtract}"===t?s=this.addStringAt.apply(this,[s,"-"].concat(a)):"{numpadadd}"===t?s=this.addStringAt.apply(this,[s,"+"].concat(a)):"{numpaddecimal}"===t?s=this.addStringAt.apply(this,[s,"."].concat(a)):"{"===t||"}"===t?s=this.addStringAt.apply(this,[s,t].concat(a)):t.includes("{")||t.includes("}")||(s=this.addStringAt.apply(this,[s,t].concat(a))):s=this.addStringAt.apply(this,[s,"\n"].concat(a)):s=this.addStringAt.apply(this,[s,"\t"].concat(a)),s}},{key:"updateCaretPos",value:function(t,e){var n=this.updateCaretPosAction(t,e);this.dispatch((function(t){t.setCaretPosition(n)}))}},{key:"updateCaretPosAction",value:function(t,e){var n=this.getOptions(),r=this.getCaretPosition();return e?r>0&&(r-=t):r+=t,n.debug&&console.log("Caret at:",r,"(".concat(this.keyboardDOMClass,")")),r}},{key:"addStringAt",value:function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return r||0===r?(n=[t.slice(0,r),e,t.slice(o)].join(""),this.isMaxLengthReached()||i&&this.updateCaretPos(e.length)):n=t+e,n}},{key:"removeAt",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(0===n&&0===r)return t;if(n===r){var i=/([\uD800-\uDBFF][\uDC00-\uDFFF])/g;n&&n>=0?t.substring(n-2,n).match(i)?(e=t.substr(0,n-2)+t.substr(n),o&&this.updateCaretPos(2,!0)):(e=t.substr(0,n-1)+t.substr(n),o&&this.updateCaretPos(1,!0)):t.slice(-2).match(i)?(e=t.slice(0,-2),o&&this.updateCaretPos(2,!0)):(e=t.slice(0,-1),o&&this.updateCaretPos(1,!0))}else e=t.slice(0,n)+t.slice(r),o&&this.dispatch((function(t){t.setCaretPosition(n)}));return e}},{key:"handleMaxLength",value:function(t,e){var n=this.getOptions(),r=n.maxLength,o=t[n.inputName],a=e.length-1>=r;if(e.length<=o.length)return!1;if(Number.isInteger(r))return n.debug&&console.log("maxLength (num) reached:",a),a?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1);if("object"===i(r)){var s=e.length-1>=r[n.inputName];return n.debug&&console.log("maxLength (obj) reached:",s),s?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1)}}},{key:"isMaxLengthReached",value:function(){return Boolean(this.maxLengthReached)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints}},{key:"pointerEventsSupported",value:function(){return window.PointerEvent}},{key:"camelCase",value:function(t){return!!t&&t.toLowerCase().trim().split(/[.\-_\s]/g).reduce((function(t,e){return e.length?t+e[0].toUpperCase()+e.slice(1):t}))}}])&&a(e.prototype,n),o&&a(e,o),t}();u=function(){},(c="noop")in(s=l)?Object.defineProperty(s,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[c]=u;var f=l;function p(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n&&(this.options.preventMouseUpDefault&&n.preventDefault(),this.options.stopMouseUpPropagation&&n.stopPropagation()),this.recurseButtons((function(e){e.classList.remove(t.activeButtonClass)})),this.isMouseHold=!1,this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),e&&"function"===typeof this.options.onKeyReleased&&this.options.onKeyReleased(e)}},{key:"handleKeyboardContainerMouseDown",value:function(t){this.options.preventMouseDownDefault&&t.preventDefault()}},{key:"handleButtonHold",value:function(t){var e=this;this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdInteractionTimeout=setTimeout((function(){e.isMouseHold?(e.handleButtonClicked(t),e.handleButtonHold(t)):clearTimeout(e.holdInteractionTimeout)}),100)}},{key:"syncInstanceInputs",value:function(){var t=this;this.dispatch((function(e){e.replaceInput(t.input),e.setCaretPosition(t.caretPosition,t.caretPositionEnd)}))}},{key:"clearInput",value:function(t){t=t||this.options.inputName,this.input[t]="",this.setCaretPosition(0),this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"getInput",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t=t||this.options.inputName,this.options.syncInstanceInputs&&!e&&this.syncInstanceInputs(),this.options.rtl){var n=this.input[t].replace("‫","").replace("‬","");return"‫"+n+"‬"}return this.input[t]}},{key:"getAllInputs",value:function(){var t=this,e={};return Object.keys(this.input).forEach((function(n){e[n]=t.getInput(n,!0)})),e}},{key:"setInput",value:function(t,e){e=e||this.options.inputName,this.input[e]=t,this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"replaceInput",value:function(t){this.input=t}},{key:"setOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.changedOptions(t);this.options=Object.assign(this.options,t),e.length&&(this.options.debug&&console.log("changedOptions",e),this.onSetOptions(t),this.render())}},{key:"changedOptions",value:function(t){var e=this;return Object.keys(t).filter((function(n){return JSON.stringify(t[n])!==JSON.stringify(e.options[n])}))}},{key:"onSetOptions",value:function(t){t.inputName&&(this.options.debug&&console.log("inputName changed. caretPosition reset."),this.setCaretPosition(null))}},{key:"clear",value:function(){this.keyboardDOM.innerHTML="",this.keyboardDOM.className=this.keyboardDOMClass,this.buttonElements={}}},{key:"dispatch",value:function(t){if(!window.SimpleKeyboardInstances)throw console.warn("SimpleKeyboardInstances is not defined. Dispatch cannot be called."),new Error("INSTANCES_VAR_ERROR");return Object.keys(window.SimpleKeyboardInstances).forEach((function(e){t(window.SimpleKeyboardInstances[e],e)}))}},{key:"addButtonTheme",value:function(t,e){var n=this;if(!e||!t)return!1;t.split(" ").forEach((function(r){e.split(" ").forEach((function(e){n.options.buttonTheme||(n.options.buttonTheme=[]);var o=!1;n.options.buttonTheme.map((function(t){if(t.class.split(" ").includes(e)){o=!0;var n=t.buttons.split(" ");n.includes(r)||(o=!0,n.push(r),t.buttons=n.join(" "))}return t})),o||n.options.buttonTheme.push({class:e,buttons:t})}))})),this.render()}},{key:"removeButtonTheme",value:function(t,e){var n=this;if(!t&&!e)return this.options.buttonTheme=[],this.render(),!1;t&&Array.isArray(this.options.buttonTheme)&&this.options.buttonTheme.length&&(t.split(" ").forEach((function(t){n.options.buttonTheme.map((function(r,o){if(e&&e.includes(r.class)||!e){var i=r.buttons.split(" ").filter((function(e){return e!==t}));i.length?r.buttons=i.join(" "):(n.options.buttonTheme.splice(o,1),r=null)}return r}))})),this.render())}},{key:"getButtonElement",value:function(t){var e,n=this.buttonElements[t];return n&&(e=n.length>1?n:n[0]),e}},{key:"inputPatternIsValid",value:function(t){var e,n=this.options.inputPattern;if((e=n instanceof RegExp?n:n[this.options.inputName])&&t){var r=e.test(t);return this.options.debug&&console.log('inputPattern ("'.concat(e,'"): ').concat(r?"passed":"did not pass!")),r}return!0}},{key:"setEventListeners",value:function(){!this.isFirstKeyboardInstance&&this.allKeyboardInstances||(this.options.debug&&console.log("Caret handling started (".concat(this.keyboardDOMClass,")")),document.addEventListener("keyup",this.handleKeyUp),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("touchend",this.handleTouchEnd))}},{key:"handleKeyUp",value:function(t){this.caretEventHandler(t),this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyUp(t)}},{key:"handleKeyDown",value:function(t){this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyDown(t)}},{key:"handleMouseUp",value:function(t){this.caretEventHandler(t)}},{key:"handleTouchEnd",value:function(t){this.caretEventHandler(t)}},{key:"caretEventHandler",value:function(t){var e;t.target.tagName&&(e=t.target.tagName.toLowerCase()),this.dispatch((function(n){var r=t.target===n.keyboardDOM||t.target&&n.keyboardDOM.contains(t.target);n.isMouseHold&&(n.isMouseHold=!1),"textarea"!==e&&"input"!==e||!["text","search","url","tel","password"].includes(t.target.type)||n.options.disableCaretPositioning?!n.options.disableCaretPositioning&&r||n.setCaretPosition(null):(n.setCaretPosition(t.target.selectionStart,t.target.selectionEnd),n.options.debug&&console.log("Caret at: ",n.getCaretPosition(),n.getCaretPositionEnd(),t&&t.target.tagName.toLowerCase(),"(".concat(n.keyboardDOMClass,")")))}))}},{key:"recurseButtons",value:function(t){var e=this;t&&Object.keys(this.buttonElements).forEach((function(n){return e.buttonElements[n].forEach(t)}))}},{key:"destroy",value:function(){this.options.debug&&console.log("Destroying simple-keyboard instance: ".concat(this.currentInstanceName)),document.removeEventListener("keyup",this.handleKeyUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("touchend",this.handleTouchEnd),document.onpointerup=null,document.ontouchend=null,document.ontouchcancel=null,document.onmouseup=null;var t=function(t){t.onpointerdown=null,t.onpointerup=null,t.onpointercancel=null,t.ontouchstart=null,t.ontouchend=null,t.ontouchcancel=null,t.onclick=null,t.onmousedown=null,t.onmouseup=null,t.remove(),t=null};this.recurseButtons(t),this.recurseButtons=null,t=null,this.keyboardDOM.onpointerdown=null,this.keyboardDOM.ontouchstart=null,this.keyboardDOM.onmousedown=null,this.clear(),window.SimpleKeyboardInstances[this.currentInstanceName]=null,delete window.SimpleKeyboardInstances[this.currentInstanceName],this.initialized=!1}},{key:"getButtonThemeClasses",value:function(t){var e=this.options.buttonTheme,n=[];return Array.isArray(e)&&e.forEach((function(e){if(e.class&&"string"===typeof e.class&&e.buttons&&"string"===typeof e.buttons){var r=e.class.split(" ");e.buttons.split(" ").includes(t)&&(n=[].concat(d(n),d(r)))}else console.warn('Incorrect "buttonTheme". Please check the documentation.',e)})),n}},{key:"setDOMButtonAttributes",value:function(t,e){var n=this.options.buttonAttributes;Array.isArray(n)&&n.forEach((function(n){n.attribute&&"string"===typeof n.attribute&&n.value&&"string"===typeof n.value&&n.buttons&&"string"===typeof n.buttons?n.buttons.split(" ").includes(t)&&e(n.attribute,n.value):console.warn('Incorrect "buttonAttributes". Please check the documentation.',n)}))}},{key:"onTouchDeviceDetected",value:function(){this.processAutoTouchEvents(),this.disableContextualWindow()}},{key:"disableContextualWindow",value:function(){window.oncontextmenu=function(t){if(t.target.classList.contains("hg-button"))return t.preventDefault(),t.stopPropagation(),!1}}},{key:"processAutoTouchEvents",value:function(){this.options.autoUseTouchEvents&&(this.options.useTouchEvents=!0,this.options.debug&&console.log("autoUseTouchEvents: Touch device detected, useTouchEvents enabled."))}},{key:"onInit",value:function(){this.options.debug&&console.log("".concat(this.keyboardDOMClass," Initialized")),this.setEventListeners(),"function"===typeof this.options.onInit&&this.options.onInit()}},{key:"beforeFirstRender",value:function(){this.utilities.isTouchDevice()&&this.onTouchDeviceDetected(),"function"===typeof this.options.beforeFirstRender&&this.options.beforeFirstRender(),this.isFirstKeyboardInstance&&this.utilities.pointerEventsSupported()&&!this.options.useTouchEvents&&!this.options.useMouseEvents&&this.options.debug&&console.log("Using PointerEvents as it is supported by this browser"),this.options.useTouchEvents&&this.options.debug&&console.log("useTouchEvents has been enabled. Only touch events will be used.")}},{key:"beforeRender",value:function(){"function"===typeof this.options.beforeRender&&this.options.beforeRender()}},{key:"onRender",value:function(){"function"===typeof this.options.onRender&&this.options.onRender()}},{key:"onModulesLoaded",value:function(){"function"===typeof this.options.onModulesLoaded&&this.options.onModulesLoaded(this)}},{key:"loadModules",value:function(){var t=this;Array.isArray(this.options.modules)&&(this.options.modules.forEach((function(e){(new e).init(t)})),this.keyboardPluginClasses="modules-loaded",this.render(),this.onModulesLoaded())}},{key:"getModuleProp",value:function(t,e){return!!this.modules[t]&&this.modules[t][e]}},{key:"getModulesList",value:function(){return Object.keys(this.modules)}},{key:"parseRowDOMContainers",value:function(t,e,n,r){var o=this,i=Array.from(t.children),a=0;return i.length&&n.forEach((function(n,s){var c=r[s];if(!c||!(c>n))return!1;var u=n-a,l=c-a,f=document.createElement("div");f.className+="hg-button-container";var p="".concat(o.options.layoutName,"-r").concat(e,"c").concat(s);f.setAttribute("data-skUID",p);var h=i.splice(u,l-u+1);a=l-u,h.forEach((function(t){return f.appendChild(t)})),i.splice(u,0,f),t.innerHTML="",i.forEach((function(e){return t.appendChild(e)})),o.options.debug&&console.log("rowDOMContainer",h,u,l,a+1)})),t}},{key:"render",value:function(){var t=this;this.clear(),this.initialized||this.beforeFirstRender(),this.beforeRender();var e="hg-layout-".concat(this.options.layoutName),n=this.options.layout||{default:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\","{lock} a s d f g h j k l ; ' {enter}","{shift} z x c v b n m , . / {shift}",".com @ {space}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } |",'{lock} A S D F G H J K L : " {enter}',"{shift} Z X C V B N M < > ? {shift}",".com @ {space}"]},r=this.options.useTouchEvents||!1,o=r?"hg-touch-events":"",i=this.options.useMouseEvents||!1,a=this.options.disableRowButtonContainers;this.keyboardDOM.className=this.getKeyboardClassString(this.options.theme,e,this.keyboardPluginClasses,o),n[this.options.layoutName].forEach((function(e,n){var o=e.split(" "),s=document.createElement("div");s.className+="hg-row";var c=[],u=[];o.forEach((function(e,o){var l,f=!a&&"string"===typeof e&&e.length>1&&0===e.indexOf("["),p=!a&&"string"===typeof e&&e.length>1&&e.indexOf("]")===e.length-1;f&&(c.push(o),e=e.replace(/\[/g,"")),p&&(u.push(o),e=e.replace(/\]/g,""));var h=t.utilities.getButtonClass(e),v=t.utilities.getButtonDisplayName(e,t.options.display,t.options.mergeDisplay),m=t.options.useButtonTag?"button":"div",y=document.createElement(m);y.className+="hg-button ".concat(h),(l=y.classList).add.apply(l,d(t.getButtonThemeClasses(e))),t.setDOMButtonAttributes(e,(function(t,e){y.setAttribute(t,e)})),t.activeButtonClass="hg-activeButton",!t.utilities.pointerEventsSupported()||r||i?r?(y.ontouchstart=function(n){t.handleButtonClicked(e),t.handleButtonMouseDown(e,n)},y.ontouchend=function(n){t.handleButtonMouseUp(e,n)},y.ontouchcancel=function(n){t.handleButtonMouseUp(e,n)}):(y.onclick=function(){t.isMouseHold=!1,t.handleButtonClicked(e)},y.onmousedown=function(n){t.handleButtonMouseDown(e,n)},y.onmouseup=function(n){t.handleButtonMouseUp(e,n)}):(y.onpointerdown=function(n){t.handleButtonClicked(e),t.handleButtonMouseDown(e,n)},y.onpointerup=function(n){t.handleButtonMouseUp(e,n)},y.onpointercancel=function(n){t.handleButtonMouseUp(e,n)}),y.setAttribute("data-skBtn",e);var g="".concat(t.options.layoutName,"-r").concat(n,"b").concat(o);y.setAttribute("data-skBtnUID",g);var b=document.createElement("span");b.innerHTML=v,y.appendChild(b),t.buttonElements[e]||(t.buttonElements[e]=[]),t.buttonElements[e].push(y),s.appendChild(y)})),s=t.parseRowDOMContainers(s,n,c,u),t.keyboardDOM.appendChild(s)})),this.onRender(),this.initialized||(this.initialized=!0,!this.utilities.pointerEventsSupported()||r||i?r?(document.ontouchend=function(){return t.handleButtonMouseUp()},document.ontouchcancel=function(){return t.handleButtonMouseUp()},this.keyboardDOM.ontouchstart=function(e){return t.handleKeyboardContainerMouseDown(e)}):r||(document.onmouseup=function(){return t.handleButtonMouseUp()},this.keyboardDOM.onmousedown=function(e){return t.handleKeyboardContainerMouseDown(e)}):(document.onpointerup=function(){return t.handleButtonMouseUp()},this.keyboardDOM.onpointerdown=function(e){return t.handleKeyboardContainerMouseDown(e)}),this.onInit())}}])&&y(e.prototype,n),r&&y(e,r),t}();e.default=b}])}))},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}function o(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r=-1&&!r;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,r="/"===a.charAt(0))}return e=n(o(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),a="/"===i(t,-1);return t=n(o(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&a&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var o=r(t.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,c=0;c=1;--i)if(e=t.charCodeAt(i),47===e){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,i=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===e?e=a:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){n=a+1;break}}return-1===e||-1===r||0===i||1===i&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},e330:function(t,e,n){"use strict";var r=n("40d5"),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e893:function(t,e,n){"use strict";var r=n("1a2d"),o=n("56ef"),i=n("06cf"),a=n("9bf2");t.exports=function(t,e,n){for(var s=o(e),c=a.f,u=i.f,l=0;l= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","/*!\n * Vue.js v2.7.14\n * (c) 2014-2022 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\nvar isArray = Array.isArray;\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n return v === undefined || v === null;\n}\nfunction isDef(v) {\n return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n return v === true;\n}\nfunction isFalse(v) {\n return v === false;\n}\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n return (typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean');\n}\nfunction isFunction(value) {\n return typeof value === 'function';\n}\n/**\n * Quick object check - this is primarily used to tell\n * objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\nfunction toRawType(value) {\n return _toString.call(value).slice(8, -1);\n}\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n return _toString.call(v) === '[object RegExp]';\n}\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n return (isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function');\n}\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, null, 2)\n : String(val);\n}\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n;\n}\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; };\n}\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n var len = arr.length;\n if (len) {\n // fast path for the only / last item\n if (item === arr[len - 1]) {\n arr.length = len - 1;\n return;\n }\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1);\n }\n }\n}\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n var cache = Object.create(null);\n return function cachedFn(str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\n});\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n function boundFn(a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx);\n }\n boundFn._length = fn.length;\n return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n return fn.bind(ctx);\n}\n// @ts-expect-error bind cannot be `undefined`\nvar bind = Function.prototype.bind ? nativeBind : polyfillBind;\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret;\n}\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to;\n}\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject(arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res;\n}\n/* eslint-disable no-unused-vars */\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) { }\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n/* eslint-enable no-unused-vars */\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return (a.length === b.length &&\n a.every(function (e, i) {\n return looseEqual(e, b[i]);\n }));\n }\n else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n }\n else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return (keysA.length === keysB.length &&\n keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n }));\n }\n else {\n /* istanbul ignore next */\n return false;\n }\n }\n catch (e) {\n /* istanbul ignore next */\n return false;\n }\n }\n else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n }\n else {\n return false;\n }\n}\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val))\n return i;\n }\n return -1;\n}\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\nfunction hasChanged(x, y) {\n if (x === y) {\n return x === 0 && 1 / x !== 1 / y;\n }\n else {\n return x === x || y === y;\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch',\n 'renderTracked',\n 'renderTriggered'\n];\n\nvar config = {\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n /**\n * Whether to record perf\n */\n performance: false,\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5f;\n}\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\nfunction parsePath(path) {\n if (bailRE.test(path)) {\n return;\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj)\n return;\n obj = obj[segments[i]];\n }\n return obj;\n };\n}\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n// Firefox has a \"watch\" function on Object.prototype...\n// @ts-expect-error firebox support\nvar nativeWatch = {}.watch;\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', {\n get: function () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n }); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n }\n catch (e) { }\n}\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer =\n global['process'] && global['process'].env.VUE_ENV === 'server';\n }\n else {\n _isServer = false;\n }\n }\n return _isServer;\n};\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nvar hasSymbol = typeof Symbol !== 'undefined' &&\n isNative(Symbol) &&\n typeof Reflect !== 'undefined' &&\n isNative(Reflect.ownKeys);\nvar _Set; // $flow-disable-line\n/* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n}\nelse {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /** @class */ (function () {\n function Set() {\n this.set = Object.create(null);\n }\n Set.prototype.has = function (key) {\n return this.set[key] === true;\n };\n Set.prototype.add = function (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function () {\n this.set = Object.create(null);\n };\n return Set;\n }());\n}\n\nvar currentInstance = null;\n/**\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\n * relies on it). Do not use this internally, just use `currentInstance`.\n *\n * @internal this function needs manual type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction getCurrentInstance() {\n return currentInstance && { proxy: currentInstance };\n}\n/**\n * @internal\n */\nfunction setCurrentInstance(vm) {\n if (vm === void 0) { vm = null; }\n if (!vm)\n currentInstance && currentInstance._scope.off();\n currentInstance = vm;\n vm && vm._scope.on();\n}\n\n/**\n * @internal\n */\nvar VNode = /** @class */ (function () {\n function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n }\n Object.defineProperty(VNode.prototype, \"child\", {\n // DEPRECATED: alias for componentInstance for backwards compat.\n /* istanbul ignore next */\n get: function () {\n return this.componentInstance;\n },\n enumerable: false,\n configurable: true\n });\n return VNode;\n}());\nvar createEmptyVNode = function (text) {\n if (text === void 0) { text = ''; }\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node;\n};\nfunction createTextVNode(val) {\n return new VNode(undefined, undefined, undefined, String(val));\n}\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n var cloned = new VNode(vnode.tag, vnode.data, \n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned;\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\n\nvar uid$2 = 0;\nvar pendingCleanupDeps = [];\nvar cleanupDeps = function () {\n for (var i = 0; i < pendingCleanupDeps.length; i++) {\n var dep = pendingCleanupDeps[i];\n dep.subs = dep.subs.filter(function (s) { return s; });\n dep._pending = false;\n }\n pendingCleanupDeps.length = 0;\n};\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n * @internal\n */\nvar Dep = /** @class */ (function () {\n function Dep() {\n // pending subs cleanup\n this._pending = false;\n this.id = uid$2++;\n this.subs = [];\n }\n Dep.prototype.addSub = function (sub) {\n this.subs.push(sub);\n };\n Dep.prototype.removeSub = function (sub) {\n // #12696 deps with massive amount of subscribers are extremely slow to\n // clean up in Chromium\n // to workaround this, we unset the sub for now, and clear them on\n // next scheduler flush.\n this.subs[this.subs.indexOf(sub)] = null;\n if (!this._pending) {\n this._pending = true;\n pendingCleanupDeps.push(this);\n }\n };\n Dep.prototype.depend = function (info) {\n if (Dep.target) {\n Dep.target.addDep(this);\n if (process.env.NODE_ENV !== 'production' && info && Dep.target.onTrack) {\n Dep.target.onTrack(__assign({ effect: Dep.target }, info));\n }\n }\n };\n Dep.prototype.notify = function (info) {\n // stabilize the subscriber list first\n var subs = this.subs.filter(function (s) { return s; });\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n var sub = subs[i];\n if (process.env.NODE_ENV !== 'production' && info) {\n sub.onTrigger &&\n sub.onTrigger(__assign({ effect: subs[i] }, info));\n }\n sub.update();\n }\n };\n return Dep;\n}());\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\nfunction pushTarget(target) {\n targetStack.push(target);\n Dep.target = target;\n}\nfunction popTarget() {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break;\n case 'splice':\n inserted = args.slice(2);\n break;\n }\n if (inserted)\n ob.observeArray(inserted);\n // notify change\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\n target: this,\n key: method\n });\n }\n else {\n ob.dep.notify();\n }\n return result;\n });\n});\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\nvar NO_INIITIAL_VALUE = {};\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\nfunction toggleObserving(value) {\n shouldObserve = value;\n}\n// ssr mock dep\nvar mockDep = {\n notify: noop,\n depend: noop,\n addSub: noop,\n removeSub: noop\n};\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = /** @class */ (function () {\n function Observer(value, shallow, mock) {\n if (shallow === void 0) { shallow = false; }\n if (mock === void 0) { mock = false; }\n this.value = value;\n this.shallow = shallow;\n this.mock = mock;\n // this.value = value\n this.dep = mock ? mockDep : new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (isArray(value)) {\n if (!mock) {\n if (hasProto) {\n value.__proto__ = arrayMethods;\n /* eslint-enable no-proto */\n }\n else {\n for (var i = 0, l = arrayKeys.length; i < l; i++) {\n var key = arrayKeys[i];\n def(value, key, arrayMethods[key]);\n }\n }\n }\n if (!shallow) {\n this.observeArray(value);\n }\n }\n else {\n /**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\n var keys = Object.keys(value);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n defineReactive(value, key, NO_INIITIAL_VALUE, undefined, shallow, mock);\n }\n }\n }\n /**\n * Observe a list of Array items.\n */\n Observer.prototype.observeArray = function (value) {\n for (var i = 0, l = value.length; i < l; i++) {\n observe(value[i], false, this.mock);\n }\n };\n return Observer;\n}());\n// helpers\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, shallow, ssrMockReactivity) {\n if (value && hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n return value.__ob__;\n }\n if (shouldObserve &&\n (ssrMockReactivity || !isServerRendering()) &&\n (isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value.__v_skip /* ReactiveFlags.SKIP */ &&\n !isRef(value) &&\n !(value instanceof VNode)) {\n return new Observer(value, shallow, ssrMockReactivity);\n }\n}\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow, mock) {\n var dep = new Dep();\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return;\n }\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) &&\n (val === NO_INIITIAL_VALUE || arguments.length === 2)) {\n val = obj[key];\n }\n var childOb = !shallow && observe(val, false, mock);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter() {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: obj,\n type: \"get\" /* TrackOpTypes.GET */,\n key: key\n });\n }\n else {\n dep.depend();\n }\n if (childOb) {\n childOb.dep.depend();\n if (isArray(value)) {\n dependArray(value);\n }\n }\n }\n return isRef(value) && !shallow ? value.value : value;\n },\n set: function reactiveSetter(newVal) {\n var value = getter ? getter.call(obj) : val;\n if (!hasChanged(value, newVal)) {\n return;\n }\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n }\n else if (getter) {\n // #7981: for accessor properties without setter\n return;\n }\n else if (!shallow && isRef(value) && !isRef(newVal)) {\n value.value = newVal;\n return;\n }\n else {\n val = newVal;\n }\n childOb = !shallow && observe(newVal, false, mock);\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: obj,\n key: key,\n newValue: newVal,\n oldValue: value\n });\n }\n else {\n dep.notify();\n }\n }\n });\n return dep;\n}\nfunction set(target, key, val) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' && warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n var ob = target.__ob__;\n if (isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n // when mocking for SSR, array methods are not hijacked\n if (ob && !ob.shallow && ob.mock) {\n observe(val, false, true);\n }\n return val;\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val;\n }\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.');\n return val;\n }\n if (!ob) {\n target[key] = val;\n return val;\n }\n defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"add\" /* TriggerOpTypes.ADD */,\n target: target,\n key: key,\n newValue: val,\n oldValue: undefined\n });\n }\n else {\n ob.dep.notify();\n }\n return val;\n}\nfunction del(target, key) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return;\n }\n var ob = target.__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.');\n return;\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n if (!hasOwn(target, key)) {\n return;\n }\n delete target[key];\n if (!ob) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"delete\" /* TriggerOpTypes.DELETE */,\n target: target,\n key: key\n });\n }\n else {\n ob.dep.notify();\n }\n}\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n for (var e = void 0, i = 0, l = value.length; i < l; i++) {\n e = value[i];\n if (e && e.__ob__) {\n e.__ob__.dep.depend();\n }\n if (isArray(e)) {\n dependArray(e);\n }\n }\n}\n\nfunction reactive(target) {\n makeReactive(target, false);\n return target;\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n makeReactive(target, true);\n def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n return target;\n}\nfunction makeReactive(target, shallow) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (!isReadonly(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\n }\n var existingOb = target && target.__ob__;\n if (existingOb && existingOb.shallow !== shallow) {\n warn(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\n }\n }\n var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\n if (process.env.NODE_ENV !== 'production' && !ob) {\n if (target == null || isPrimitive(target)) {\n warn(\"value cannot be made reactive: \".concat(String(target)));\n }\n if (isCollectionType(target)) {\n warn(\"Vue 2 does not support reactive collection types such as Map or Set.\");\n }\n }\n }\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value.__ob__);\n}\nfunction isShallow(value) {\n return !!(value && value.__v_isShallow);\n}\nfunction isReadonly(value) {\n return !!(value && value.__v_isReadonly);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n // non-extensible objects won't be observed anyway\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n }\n return value;\n}\n/**\n * @internal\n */\nfunction isCollectionType(value) {\n var type = toRawType(value);\n return (type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet');\n}\n\n/**\n * @internal\n */\nvar RefFlag = \"__v_isRef\";\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref$1(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n var ref = {};\n def(ref, RefFlag, true);\n def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\n def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\n return ref;\n}\nfunction triggerRef(ref) {\n if (process.env.NODE_ENV !== 'production' && !ref.dep) {\n warn(\"received object is not a triggerable ref.\");\n }\n if (process.env.NODE_ENV !== 'production') {\n ref.dep &&\n ref.dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: ref,\n key: 'value'\n });\n }\n else {\n ref.dep && ref.dep.notify();\n }\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nfunction proxyRefs(objectWithRefs) {\n if (isReactive(objectWithRefs)) {\n return objectWithRefs;\n }\n var proxy = {};\n var keys = Object.keys(objectWithRefs);\n for (var i = 0; i < keys.length; i++) {\n proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\n }\n return proxy;\n}\nfunction proxyWithRefUnwrap(target, source, key) {\n Object.defineProperty(target, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = source[key];\n if (isRef(val)) {\n return val.value;\n }\n else {\n var ob = val && val.__ob__;\n if (ob)\n ob.dep.depend();\n return val;\n }\n },\n set: function (value) {\n var oldValue = source[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n }\n else {\n source[key] = value;\n }\n }\n });\n}\nfunction customRef(factory) {\n var dep = new Dep();\n var _a = factory(function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n dep.depend();\n }\n }, function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value'\n });\n }\n else {\n dep.notify();\n }\n }), get = _a.get, set = _a.set;\n var ref = {\n get value() {\n return get();\n },\n set value(newVal) {\n set(newVal);\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\nfunction toRefs(object) {\n if (process.env.NODE_ENV !== 'production' && !isReactive(object)) {\n warn(\"toRefs() expects a reactive object but received a plain one.\");\n }\n var ret = isArray(object) ? new Array(object.length) : {};\n for (var key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nfunction toRef(object, key, defaultValue) {\n var val = object[key];\n if (isRef(val)) {\n return val;\n }\n var ref = {\n get value() {\n var val = object[key];\n return val === undefined ? defaultValue : val;\n },\n set value(newVal) {\n object[key] = newVal;\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\n\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\nfunction readonly(target) {\n return createReadonly(target, false);\n}\nfunction createReadonly(target, shallow) {\n if (!isPlainObject(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Vue 2 does not support readonly arrays.\");\n }\n else if (isCollectionType(target)) {\n warn(\"Vue 2 does not support readonly collection types such as Map or Set.\");\n }\n else {\n warn(\"value cannot be made readonly: \".concat(typeof target));\n }\n }\n return target;\n }\n if (process.env.NODE_ENV !== 'production' && !Object.isExtensible(target)) {\n warn(\"Vue 2 does not support creating readonly proxy for non-extensible object.\");\n }\n // already a readonly object\n if (isReadonly(target)) {\n return target;\n }\n // already has a readonly proxy\n var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\n var existingProxy = target[existingFlag];\n if (existingProxy) {\n return existingProxy;\n }\n var proxy = Object.create(Object.getPrototypeOf(target));\n def(target, existingFlag, proxy);\n def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\n def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\n if (isRef(target)) {\n def(proxy, RefFlag, true);\n }\n if (shallow || isShallow(target)) {\n def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n }\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n defineReadonlyProperty(proxy, target, keys[i], shallow);\n }\n return proxy;\n}\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\n Object.defineProperty(proxy, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = target[key];\n return shallow || !isPlainObject(val) ? val : readonly(val);\n },\n set: function () {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n }\n });\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReadonly(target, true);\n}\n\nfunction computed(getterOrOptions, debugOptions) {\n var getter;\n var setter;\n var onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = process.env.NODE_ENV !== 'production'\n ? function () {\n warn('Write operation failed: computed value is readonly');\n }\n : noop;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n var watcher = isServerRendering()\n ? null\n : new Watcher(currentInstance, getter, noop, { lazy: true });\n if (process.env.NODE_ENV !== 'production' && watcher && debugOptions) {\n watcher.onTrack = debugOptions.onTrack;\n watcher.onTrigger = debugOptions.onTrigger;\n }\n var ref = {\n // some libs rely on the presence effect for checking computed refs\n // from normal refs, but the implementation doesn't matter\n effect: watcher,\n get value() {\n if (watcher) {\n if (watcher.dirty) {\n watcher.evaluate();\n }\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production' && Dep.target.onTrack) {\n Dep.target.onTrack({\n effect: Dep.target,\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n watcher.depend();\n }\n return watcher.value;\n }\n else {\n return getter();\n }\n },\n set value(newVal) {\n setter(newVal);\n }\n };\n def(ref, RefFlag, true);\n def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\n return ref;\n}\n\nvar WATCHER = \"watcher\";\nvar WATCHER_CB = \"\".concat(WATCHER, \" callback\");\nvar WATCHER_GETTER = \"\".concat(WATCHER, \" getter\");\nvar WATCHER_CLEANUP = \"\".concat(WATCHER, \" cleanup\");\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nvar INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if (process.env.NODE_ENV !== 'production' && typeof cb !== 'function') {\n warn(\"`watch(fn, options?)` signature has been moved to a separate API. \" +\n \"Use `watchEffect(fn, options?)` instead. `watch` now only \" +\n \"supports `watch(source, cb, options?) signature.\");\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, _a) {\n var _b = _a === void 0 ? emptyObject : _a, immediate = _b.immediate, deep = _b.deep, _c = _b.flush, flush = _c === void 0 ? 'pre' : _c, onTrack = _b.onTrack, onTrigger = _b.onTrigger;\n if (process.env.NODE_ENV !== 'production' && !cb) {\n if (immediate !== undefined) {\n warn(\"watch() \\\"immediate\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n if (deep !== undefined) {\n warn(\"watch() \\\"deep\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n }\n var warnInvalidSource = function (s) {\n warn(\"Invalid watch source: \".concat(s, \". A watch source can only be a getter/effect \") +\n \"function, a ref, a reactive object, or an array of these types.\");\n };\n var instance = currentInstance;\n var call = function (fn, type, args) {\n if (args === void 0) { args = null; }\n return invokeWithErrorHandling(fn, null, args, instance, type);\n };\n var getter;\n var forceTrigger = false;\n var isMultiSource = false;\n if (isRef(source)) {\n getter = function () { return source.value; };\n forceTrigger = isShallow(source);\n }\n else if (isReactive(source)) {\n getter = function () {\n source.__ob__.dep.depend();\n return source;\n };\n deep = true;\n }\n else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some(function (s) { return isReactive(s) || isShallow(s); });\n getter = function () {\n return source.map(function (s) {\n if (isRef(s)) {\n return s.value;\n }\n else if (isReactive(s)) {\n return traverse(s);\n }\n else if (isFunction(s)) {\n return call(s, WATCHER_GETTER);\n }\n else {\n process.env.NODE_ENV !== 'production' && warnInvalidSource(s);\n }\n });\n };\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = function () { return call(source, WATCHER_GETTER); };\n }\n else {\n // no cb -> simple effect\n getter = function () {\n if (instance && instance._isDestroyed) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return call(source, WATCHER, [onCleanup]);\n };\n }\n }\n else {\n getter = noop;\n process.env.NODE_ENV !== 'production' && warnInvalidSource(source);\n }\n if (cb && deep) {\n var baseGetter_1 = getter;\n getter = function () { return traverse(baseGetter_1()); };\n }\n var cleanup;\n var onCleanup = function (fn) {\n cleanup = watcher.onStop = function () {\n call(fn, WATCHER_CLEANUP);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager\n if (isServerRendering()) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = noop;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n call(cb, WATCHER_CB, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n return noop;\n }\n var watcher = new Watcher(currentInstance, getter, noop, {\n lazy: true\n });\n watcher.noRecurse = !cb;\n var oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n // overwrite default run\n watcher.run = function () {\n if (!watcher.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n var newValue = watcher.get();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some(function (v, i) {\n return hasChanged(v, oldValue[i]);\n })\n : hasChanged(newValue, oldValue))) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n call(cb, WATCHER_CB, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n watcher.get();\n }\n };\n if (flush === 'sync') {\n watcher.update = watcher.run;\n }\n else if (flush === 'post') {\n watcher.post = true;\n watcher.update = function () { return queueWatcher(watcher); };\n }\n else {\n // pre\n watcher.update = function () {\n if (instance && instance === currentInstance && !instance._isMounted) {\n // pre-watcher triggered before\n var buffer = instance._preWatchers || (instance._preWatchers = []);\n if (buffer.indexOf(watcher) < 0)\n buffer.push(watcher);\n }\n else {\n queueWatcher(watcher);\n }\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n watcher.onTrack = onTrack;\n watcher.onTrigger = onTrigger;\n }\n // initial run\n if (cb) {\n if (immediate) {\n watcher.run();\n }\n else {\n oldValue = watcher.get();\n }\n }\n else if (flush === 'post' && instance) {\n instance.$once('hook:mounted', function () { return watcher.get(); });\n }\n else {\n watcher.get();\n }\n return function () {\n watcher.teardown();\n };\n}\n\nvar activeEffectScope;\nvar EffectScope = /** @class */ (function () {\n function EffectScope(detached) {\n if (detached === void 0) { detached = false; }\n this.detached = detached;\n /**\n * @internal\n */\n this.active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n EffectScope.prototype.run = function (fn) {\n if (this.active) {\n var currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"cannot run an inactive effect scope.\");\n }\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.on = function () {\n activeEffectScope = this;\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.off = function () {\n activeEffectScope = this.parent;\n };\n EffectScope.prototype.stop = function (fromParent) {\n if (this.active) {\n var i = void 0, l = void 0;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].teardown();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\n var last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = undefined;\n this.active = false;\n }\n };\n return EffectScope;\n}());\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\n/**\n * @internal\n */\nfunction recordEffectScope(effect, scope) {\n if (scope === void 0) { scope = activeEffectScope; }\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"onScopeDispose() is called when there is no active effect scope\" +\n \" to be associated with.\");\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"provide() can only be used inside setup().\");\n }\n }\n else {\n // TS doesn't allow symbol as index type\n resolveProvided(currentInstance)[key] = value;\n }\n}\nfunction resolveProvided(vm) {\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n var existing = vm._provided;\n var parentProvides = vm.$parent && vm.$parent._provided;\n if (parentProvides === existing) {\n return (vm._provided = Object.create(parentProvides));\n }\n else {\n return existing;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory) {\n if (treatDefaultAsFactory === void 0) { treatDefaultAsFactory = false; }\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n var instance = currentInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n var provides = instance.$parent && instance.$parent._provided;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance)\n : defaultValue;\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"injection \\\"\".concat(String(key), \"\\\" not found.\"));\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"inject() can only be used inside setup() or functional components.\");\n }\n}\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once,\n capture: capture,\n passive: passive\n };\n});\nfunction createFnInvoker(fns, vm) {\n function invoker() {\n var fns = invoker.fns;\n if (isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\n }\n }\n else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\n }\n }\n invoker.fns = fns;\n return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\n }\n else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n }\n else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove(event.name, oldOn[name], event.capture);\n }\n }\n}\n\nfunction mergeVNodeHook(def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n function wrappedHook() {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove$2(invoker.fns, wrappedHook);\n }\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n }\n else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n }\n else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return;\n }\n var res = {};\n var attrs = data.attrs, props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") +\n \"\".concat(formatComponentName(\n // @ts-expect-error tag is string\n tag || Ctor), \", but the declared prop name is\") +\n \" \\\"\".concat(key, \"\\\". \") +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true;\n }\n else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true;\n }\n }\n return false;\n}\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n for (var i = 0; i < children.length; i++) {\n if (isArray(children[i])) {\n return Array.prototype.concat.apply([], children);\n }\n }\n return children;\n}\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.