1 line
5.2 KiB
Plaintext
1 line
5.2 KiB
Plaintext
{"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","axios","timeout","setTimeout","goto_home","router","generate_random","rand","created","window","setInterval","res","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,qBACAC,cACAC,OACA,OACAC,YACAL,WACAD,iBACAO,qHAGAC,SACAC,2BACA,sCACAC,iEACAC,qCAAAC,cAEAC,sBAAA,mCAEAC,qBACAJ,oDACA,gCACAK,gBAAAZ,eAEAa,oCACA,UACA,gBAGA,OAFAC,kBACAA,KACA,IAGAC,mBACAC,uBACAT,uDACAU,uBACA,SACA,yBAAAC,yCACA,aACAR,sBACA,uBACA,0CACA,0CACA,yBCxDuV,I,YCOnVS,EAAY,eACd,EACA/B,EACAW,GACA,EACA,KACA,KACA,MAIa,aAAAoB,E","file":"js/chunk-2d0b6d35.9c950e8a.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 }","<template>\r\n <div class=\"wrapper-dark\">\r\n <div class=\"center\">\r\n <h1 id=\"title\">{{ title }}</h1>\r\n <span class=\"loading loading-lg loadingsplash\"></span><span class=\"message_splash\">{{message}}</span>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import router from '../router'\r\n import axios from 'axios'\r\n\r\n export default {\r\n name: 'splash-screen',\r\n components: {},\r\n data() {\r\n return {\r\n internet: false,\r\n message: \"\",\r\n title: \"SPYGUARD\",\r\n 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\"]\r\n }\r\n },\r\n methods: {\r\n delete_captures: function() {\r\n this.message = \"Doing some cleaning...\"\r\n console.log(\"[splash-screen.vue] Deleting previous captures...\");\r\n axios.get('/api/misc/delete-captures', { timeout: 30000 });\r\n \r\n setTimeout(function () { this.goto_home(); }.bind(this), 2000);\r\n }, \r\n goto_home: function() {\r\n console.log(\"[splash-screen.vue] Going to home...\");\r\n this.message = \"Going to home...\"\r\n router.replace({ name: 'home' });\r\n },\r\n generate_random: function(min = 0, max = 1000) {\r\n let difference = max - min;\r\n let rand = Math.random();\r\n rand = Math.floor( rand * difference);\r\n rand = rand + min;\r\n return rand;\r\n },\r\n },\r\n created: function() {\r\n window.access_point = \"\"\r\n console.log(\"[splash-screen.vue] Welcome to SPYGUARD\");\r\n setInterval(function(){\r\n let res = \"\"\r\n this.letters.forEach(l => { res += l.charAt(this.generate_random(0, 9)) })\r\n this.title = res;\r\n setTimeout(function(){\r\n this.title = \"SPYGUARD\";\r\n }.bind(this), this.generate_random(30, 100));\r\n }.bind(this), this.generate_random(500, 4000));\r\n this.delete_captures();\r\n }\r\n }\r\n</script>\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":""} |