-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.80bbed.js
1 lines (1 loc) · 11.8 KB
/
app.80bbed.js
1
(function(e){function t(t){for(var r,o,a=t[0],s=t[1],l=t[2],u=0,d=[];u<a.length;u++)o=a[u],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&d.push(i[o][0]),i[o]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);p&&p(t);while(d.length)d.shift()();return c.push.apply(c,l||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],r=!0,o=1;o<n.length;o++){var a=n[o];0!==i[a]&&(r=!1)}r&&(c.splice(t--,1),e=s(s.s=n[0]))}return e}var r={},o={app:0},i={app:0},c=[];function a(e){return s.p+""+({about:"about","encode~encrypt~hash~minesweeper~qrcode":"encode~encrypt~hash~minesweeper~qrcode","encode~encrypt~hash~qrcode":"encode~encrypt~hash~qrcode",encode:"encode",encrypt:"encrypt",hash:"hash",qrcode:"qrcode",minesweeper:"minesweeper",home:"home",test:"test"}[e]||e)+".80bbed.js"}function s(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(e){var t=[],n={"encode~encrypt~hash~minesweeper~qrcode":1,"encode~encrypt~hash~qrcode":1,encode:1,hash:1,qrcode:1,minesweeper:1};o[e]?t.push(o[e]):0!==o[e]&&n[e]&&t.push(o[e]=new Promise((function(t,n){for(var r="css/"+({about:"about","encode~encrypt~hash~minesweeper~qrcode":"encode~encrypt~hash~minesweeper~qrcode","encode~encrypt~hash~qrcode":"encode~encrypt~hash~qrcode",encode:"encode",encrypt:"encrypt",hash:"hash",qrcode:"qrcode",minesweeper:"minesweeper",home:"home",test:"test"}[e]||e)+"."+{about:"31d6cfe0","encode~encrypt~hash~minesweeper~qrcode":"d4481170","encode~encrypt~hash~qrcode":"66b96239",encode:"9357cc44",encrypt:"31d6cfe0",hash:"9357cc44",qrcode:"fbb1ffd0",minesweeper:"2c691c29",home:"31d6cfe0",test:"31d6cfe0"}[e]+".css",i=s.p+r,c=document.getElementsByTagName("link"),a=0;a<c.length;a++){var l=c[a],u=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(u===r||u===i))return t()}var d=document.getElementsByTagName("style");for(a=0;a<d.length;a++){l=d[a],u=l.getAttribute("data-href");if(u===r||u===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var r=t&&t.target&&t.target.src||i,c=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=r,delete o[e],p.parentNode.removeChild(p),n(c)},p.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(p)})).then((function(){o[e]=0})));var r=i[e];if(0!==r)if(r)t.push(r[2]);else{var c=new Promise((function(t,n){r=i[e]=[t,n]}));t.push(r[2]=c);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,s.nc&&u.setAttribute("nonce",s.nc),u.src=a(e);var d=new Error;l=function(t){u.onerror=u.onload=null,clearTimeout(p);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",d.name="ChunkLoadError",d.type=r,d.request=o,n[1](d)}i[e]=void 0}};var p=setTimeout((function(){l({type:"timeout",target:u})}),12e4);u.onerror=u.onload=l,document.head.appendChild(u)}return Promise.all(t)},s.m=e,s.c=r,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="/",s.oe=function(e){throw console.error(e),e};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],u=l.push.bind(l);l.push=t,l=l.slice();for(var d=0;d<l.length;d++)t(l[d]);var p=u;c.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"11d1":function(e,t,n){},"402c":function(e,t,n){"use strict";var r=n("8bbf"),o=n.n(r),i=n("a2c9"),c=n.n(i);o.a.use(c.a),t["a"]=new c.a({})},"56d7":function(e,t,n){"use strict";n.r(t),n.d(t,"app",(function(){return B}));n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("8bbf"),o=n.n(r),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("v-app",{attrs:{id:"inspire"}},[n("v-navigation-drawer",{attrs:{app:""},model:{value:e.drawer,callback:function(t){e.drawer=t},expression:"drawer"}},[n("v-list",{attrs:{nav:""}},[e._l(e.navList,(function(t){return["divider"==t.type?n("div",{key:t.text},[n("v-subheader",[e._v(e._s(t.text)+" ")]),n("v-divider")],1):e._e(),"item"==t.type?n("v-list-item",{key:t.text,attrs:{link:"",to:t.link}},[e._v(" "+e._s(t.text)+" ")]):e._e()]}))],2)],1),n("v-app-bar",{attrs:{app:"",color:"indigo",dark:""}},[n("v-app-bar-nav-icon",{on:{click:function(t){t.stopPropagation(),e.drawer=!e.drawer}}}),n("v-toolbar-title",[e._v("ToolBox")])],1),n("v-main",[n("v-col",{attrs:{cols:"12"}},[n("v-fade-transition",[n("router-view")],1)],1)],1)],1)],1)},c=[],a={name:"App",data:function(){return{navList:[{type:"divider",text:"Main"},{type:"item",link:"/",text:"home"},{type:"item",link:"/about",text:"about"},{type:"divider",text:"工具"},{type:"item",link:"/qrcode",text:"生成二维码"},{type:"item",link:"/encode",text:"编码/解码"},{type:"item",link:"/hash",text:"哈希计算"},{type:"item",link:"/encrypt",text:"加密/解密"}],drawer:null,subTitle:""}}},s=a,l=(n("5c0b"),n("2877")),u=n("6544"),d=n.n(u),p=n("7496"),f=n("40dc"),h=n("5bc1"),m=n("62ad"),v=n("ce7e"),y=n("0789"),b=n("8860"),g=n("da13"),w=n("f6c4"),x=n("f774"),q=n("e0c7"),_=n("2a7f"),k=Object(l["a"])(s,i,c,!1,null,null,null),C=k.exports;d()(k,{VApp:p["a"],VAppBar:f["a"],VAppBarNavIcon:h["a"],VCol:m["a"],VDivider:v["a"],VFadeTransition:y["d"],VList:b["a"],VListItem:g["a"],VMain:w["a"],VNavigationDrawer:x["a"],VSubheader:q["a"],VToolbarTitle:_["a"]});var E=n("9483");Object(E["a"])("".concat("/","service-worker.js"),{ready:function(){console.log("我准备好了!")},registered:function(){console.log("完成注册")},cached:function(){console.log("内容已经缓存.")},updatefound:function(){console.log("新内容已经在下载.")},updated:function(){console.log("新内容已经可用请刷新.")},offline:function(){console.log("无网络,正在使用离线模式 .")},error:function(e){console.error("Error during service worker registration:",e)}});n("d3b7");var O=n("6389"),T=n.n(O),V=n("75ba");o.a.use(T.a);var $,P=[{path:"/",name:"Home",component:function(){return n.e("home").then(n.bind(null,"bb51"))}},{path:"/about",name:"About",component:function(){return n.e("about").then(n.bind(null,"f820"))}},{path:"/hash",name:"Hash",component:function(){return Promise.all([n.e("encode~encrypt~hash~minesweeper~qrcode"),n.e("encode~encrypt~hash~qrcode"),n.e("hash")]).then(n.bind(null,"e487"))}},{path:"/encrypt",name:"Encrypt",component:function(){return Promise.all([n.e("encode~encrypt~hash~minesweeper~qrcode"),n.e("encode~encrypt~hash~qrcode"),n.e("encrypt")]).then(n.bind(null,"a169"))}},{path:"/encode",name:"Encode",component:function(){return Promise.all([n.e("encode~encrypt~hash~minesweeper~qrcode"),n.e("encode~encrypt~hash~qrcode"),n.e("encode")]).then(n.bind(null,"225e"))}},{path:"/qrcode",name:"Qrcode",component:function(){return Promise.all([n.e("encode~encrypt~hash~minesweeper~qrcode"),n.e("encode~encrypt~hash~qrcode"),n.e("qrcode")]).then(n.bind(null,"b7da"))}},{path:"/minesweeper",name:"Minesweeper",component:function(){return Promise.all([n.e("encode~encrypt~hash~minesweeper~qrcode"),n.e("minesweeper")]).then(n.bind(null,"10e9"))}},{path:"/test",name:"Test",component:function(){return n.e("test").then(n.bind(null,"78c1"))}}],j=new T.a({routes:P}),S=!0,A=!0;j.beforeEach((function(e,t,n){S?S=!1:$=Object(V["b"])(),n()})),j.afterEach((function(){A?A=!1:$.close()}));var L=j,N=n("402c");o.a.config.productionTip=!1;var B=new o.a({router:L,vuetify:N["a"],render:function(e){return e(C)}}).$mount("#app")},"5c0b":function(e,t,n){"use strict";var r=n("9c0c"),o=n.n(r);o.a},6389:function(e,t){e.exports=VueRouter},"736c":function(e,t){e.exports=QRCode},"75ba":function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return B}));n("4160"),n("a434");var r=n("8bbf"),o=n.n(r),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-fade-transition",{on:{"after-leave":e.handleAfterLeave}},[n("v-sheet",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"k-msg-box__main",style:e.positionStyle,attrs:{color:e.color,elevation:"2",tile:""}},[n("v-icon",{attrs:{dense:""}},[e._v("mdi-information ")]),n("v-card-text",{staticClass:"k-msg-box__content"},[e._v(" "+e._s(e.message)+" ")]),n("v-icon",{attrs:{dense:""},on:{click:function(t){return e.close()}}},[e._v(" mdi-close ")])],1)],1)},c=[],a={success:"green accent-1",info:"cyan lighten-4",warn:"orange lighten-1",error:"deep-orange accent-3"},s={data:function(){return{verticalOffset:0,message:"hello",timeout:1500,timer:null,closed:!1,visible:!1,color:""}},computed:{positionStyle:function(){return{top:"".concat(this.verticalOffset,"px")}}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.timeout>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.timeout))},keydown:function(e){27===e.keyCode&&(this.closed||this.close())}},mounted:function(){this.color=a[this.type],this.startTimer()},beforeDestroy:function(){}},l=s,u=(n("efb6"),n("2877")),d=n("6544"),p=n.n(d),f=n("99d9"),h=n("0789"),m=n("132d"),v=n("8dd9"),y=Object(u["a"])(l,i,c,!1,null,null,null),b=y.exports;p()(y,{VCardText:f["a"],VFadeTransition:h["d"],VIcon:m["a"],VSheet:v["a"]});var g,w=n("402c"),x=o.a.extend(b),q=[],_=1,k=function e(t){if(!o.a.prototype.$isServer){t=t||{},"string"===typeof t&&(t={message:t});var n=t.onClose,r="message_"+_++;t.onClose=function(){e.close(r,n)},g=new x({vuetify:w["a"],data:t}),g.id=r,g.$mount(),document.getElementById("inspire").appendChild(g.$el);var i=t.offset||20;return q.forEach((function(e){i+=e.$el.offsetHeight+16})),g.verticalOffset=i,g.visible=!0,q.push(g),g}};["success","warn","info","error"].forEach((function(e){k[e]=function(t){return"string"===typeof t&&(t={message:t}),t.type=e,k(t)}})),k.close=function(e,t){for(var n,r=q.length,o=-1,i=0;i<r;i++)if(e===q[i].id){n=q[i].$el.offsetHeight,o=i,"function"===typeof t&&t(q[i]),q.splice(i,1);break}if(!(r<=1||-1===o||o>q.length-1))for(var c=o;c<r-1;c++){var a=q[c].$el;a.style["top"]=parseInt(a.style["top"],10)-n-16+"px"}},k.closeAll=function(){for(var e=q.length-1;e>=0;e--)q[e].close()};var C=k,E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-overlay",{attrs:{value:e.visible}},[n("v-progress-circular",{attrs:{indeterminate:"",size:"64"}})],1)},O=[],T={data:function(){return{closed:!1,visible:!1}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,this.visible=!1,"function"===typeof this.onClose&&this.onClose(this)}}},V=T,$=n("a797"),P=n("490a"),j=Object(u["a"])(V,E,O,!1,null,null,null),S=j.exports;p()(j,{VOverlay:$["a"],VProgressCircular:P["a"]});var A=o.a.extend(S),L=new A({vuetify:w["a"]}),N=function(){if(!o.a.prototype.$isServer)return L.$mount(),document.getElementById("inspire").appendChild(L.$el),L.visible=!0,L},B=N},"790c":function(e,t){e.exports=domtoimage},"8bbf":function(e,t){e.exports=Vue},"9c0c":function(e,t,n){},"9ce6":function(e,t){e.exports=he},a2c5:function(e,t){e.exports=CryptoJS},a2c9:function(e,t){e.exports=Vuetify},efb6:function(e,t,n){"use strict";var r=n("11d1"),o=n.n(r);o.a}});