| 12 |
- (function(e){function n(n){for(var a,r,s=n[0],u=n[1],i=n[2],d=0,f=[];d<s.length;d++)r=s[d],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&f.push(c[r][0]),c[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);l&&l(n);while(f.length)f.shift()();return o.push.apply(o,i||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],a=!0,r=1;r<t.length;r++){var s=t[r];0!==c[s]&&(a=!1)}a&&(o.splice(n--,1),e=u(u.s=t[0]))}return e}var a={},r={app:0},c={app:0},o=[];function s(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-0b695420":"946b7518","chunk-21689cc4":"4f42ddb0","chunk-2aca8e6c":"ca4f3a16","chunk-2bb45275":"e7f39572","chunk-2c1b05fb":"8bf46844","chunk-2ed2f5b2":"079fef69","chunk-2ed549c8":"4c06a89d","chunk-31638db2":"6f4e383b","chunk-3e51d0b1":"f7504a4e","chunk-41d5921a":"ef1e9ef6","chunk-5395452c":"95885f24","chunk-61f225b2":"910a02e2","chunk-68bb1024":"3f176bd8","chunk-7b779818":"d41eed07","chunk-87611c88":"b515dff7","chunk-cbec64b8":"8c120cef","chunk-cfb81a4c":"a528247e","chunk-e16c8452":"55c933d1","chunk-ef5c6832":"7ae4f631","chunk-bf0d9a96":"03077000","chunk-ec5e0b1e":"900713a2","chunk-fa0821c2":"f22d9d3f"}[e]+".js"}function u(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var n=[],t={"chunk-0b695420":1,"chunk-21689cc4":1,"chunk-2aca8e6c":1,"chunk-2bb45275":1,"chunk-2c1b05fb":1,"chunk-2ed2f5b2":1,"chunk-2ed549c8":1,"chunk-31638db2":1,"chunk-3e51d0b1":1,"chunk-41d5921a":1,"chunk-5395452c":1,"chunk-61f225b2":1,"chunk-68bb1024":1,"chunk-7b779818":1,"chunk-87611c88":1,"chunk-cbec64b8":1,"chunk-cfb81a4c":1,"chunk-e16c8452":1,"chunk-bf0d9a96":1,"chunk-ec5e0b1e":1,"chunk-fa0821c2":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var a="css/"+({}[e]||e)+"."+{"chunk-0b695420":"01116c37","chunk-21689cc4":"6784fb2b","chunk-2aca8e6c":"1f1c9498","chunk-2bb45275":"7b3b5479","chunk-2c1b05fb":"c240d69c","chunk-2ed2f5b2":"4abd2c84","chunk-2ed549c8":"350d5d1e","chunk-31638db2":"dd7e28b0","chunk-3e51d0b1":"e62daae4","chunk-41d5921a":"3febd410","chunk-5395452c":"f67fdfc5","chunk-61f225b2":"4a5a6b70","chunk-68bb1024":"a8b5de09","chunk-7b779818":"58fa3d87","chunk-87611c88":"a631712c","chunk-cbec64b8":"6b677907","chunk-cfb81a4c":"bbf90054","chunk-e16c8452":"c241bcac","chunk-ef5c6832":"31d6cfe0","chunk-bf0d9a96":"a0156b63","chunk-ec5e0b1e":"8389c666","chunk-fa0821c2":"790eb101"}[e]+".css",c=u.p+a,o=document.getElementsByTagName("link"),s=0;s<o.length;s++){var i=o[s],d=i.getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(d===a||d===c))return n()}var f=document.getElementsByTagName("style");for(s=0;s<f.length;s++){i=f[s],d=i.getAttribute("data-href");if(d===a||d===c)return n()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=n,l.onerror=function(n){var a=n&&n.target&&n.target.src||c,o=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=a,delete r[e],l.parentNode.removeChild(l),t(o)},l.href=c;var m=document.getElementsByTagName("head")[0];m.appendChild(l)})).then((function(){r[e]=0})));var a=c[e];if(0!==a)if(a)n.push(a[2]);else{var o=new Promise((function(n,t){a=c[e]=[n,t]}));n.push(a[2]=o);var i,d=document.createElement("script");d.charset="utf-8",d.timeout=120,u.nc&&d.setAttribute("nonce",u.nc),d.src=s(e);var f=new Error;i=function(n){d.onerror=d.onload=null,clearTimeout(l);var t=c[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",f.name="ChunkLoadError",f.type=a,f.request=r,t[1](f)}c[e]=void 0}};var l=setTimeout((function(){i({type:"timeout",target:d})}),12e4);d.onerror=d.onload=i,document.head.appendChild(d)}return Promise.all(n)},u.m=e,u.c=a,u.d=function(e,n,t){u.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,n){if(1&n&&(e=u(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)u.d(t,a,function(n){return e[n]}.bind(null,a));return t},u.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(n,"a",n),n},u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.p="/",u.oe=function(e){throw console.error(e),e};var i=window["webpackJsonp"]=window["webpackJsonp"]||[],d=i.push.bind(i);i.push=n,i=i.slice();for(var f=0;f<i.length;f++)n(i[f]);var l=d;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"034f":function(e,n,t){"use strict";t("85ec")},"30a7":function(e,n,t){},"318a":function(e,n,t){"use strict";t("30a7")},4678:function(e,n,t){var a={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function r(e){var n=c(e);return t(n)}function c(e){if(!t.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=c,e.exports=r,r.id="4678"},"56d7":function(e,n,t){"use strict";t.r(n);t("e260"),t("e6cf"),t("cca6"),t("a79d");var a=t("a026"),r=t("f23d"),c=(t("3aed"),function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)}),o=[],s={name:"App",components:{},data:function(){return{}},watch:{},methods:{}},u=s,i=(t("034f"),t("2877")),d=Object(i["a"])(u,c,o,!1,null,null,null),f=d.exports,l=t("8c4f"),m=(t("d3b7"),t("3ca3"),t("ddb0"),function(){var e=this,n=e.$createElement,a=e._self._c||n;return a("a-layout",{attrs:{id:"app-layout-sider"}},[a("a-layout-sider",{staticClass:"layout-sider",attrs:{theme:"light"},model:{value:e.collapsed,callback:function(n){e.collapsed=n},expression:"collapsed"}},[a("div",{staticClass:"logo"},[a("img",{staticClass:"pic-logo",attrs:{src:t("cf05")}})]),a("a-menu",{staticClass:"menu-item",attrs:{theme:"light",mode:"inline","default-selected-keys":[e.default_key]},on:{click:e.menuHandle}},e._l(e.menu,(function(n,t){return a("a-menu-item",{key:t},[a("a-icon",{attrs:{type:n.icon}}),e._v(" "+e._s(n.title)+" ")],1)})),1)],1),a("a-layout",[a("a-layout-content",{staticClass:"layout-content"},[a("router-view")],1)],1)],1)}),p=[],h={name:"AppSider",data:function(){return{collapsed:!0,default_key:"menu_1",current:"",menu:{menu_1:{icon:"home",title:"框架",pageName:"Framework",params:{}},menu_2:{icon:"desktop",title:"系统",pageName:"Os",params:{}},menu_3:{icon:"control",title:"硬件",pageName:"Hardware",params:{}},menu_4:{icon:"bulb",title:"特效",pageName:"Effect",params:{}}}}},created:function(){},mounted:function(){this.menuHandle()},methods:{menuHandle:function(e){this.current=e?e.key:this.default_key;var n=this.menu[this.current];console.log("[home] load page:",n.pageName),this.$router.push({name:n.pageName,params:n.params})}}},b=h,k=(t("318a"),Object(i["a"])(b,m,p,!1,null,"0affac82",null)),j=k.exports,w=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("a-layout",{attrs:{id:"app-menu"}},[t("a-layout-sider",{staticClass:"layout-sider",attrs:{theme:"light"}},[t("a-menu",{attrs:{theme:"light",mode:"inline","default-selected-keys":[e.default_key],"selected-keys":[e.current]},on:{click:e.menuClick}},e._l(e.menu,(function(n,a){return t("a-menu-item",{key:a},[t("router-link",{attrs:{to:{name:n.pageName,params:n.params}}},[t("span",[e._v(e._s(n.title))])])],1)})),1)],1),t("a-layout",[t("a-layout-content",[t("router-view")],1)],1)],1)},g=[],v={framework:{menu_100:{icon:"profile",title:"通信",pageName:"FrameworkSocketIpc",params:{}},menu_101:{icon:"profile",title:"http服务",pageName:"FrameworkSocketHttpServer",params:{}},menu_102:{icon:"profile",title:"socket服务",pageName:"FrameworkSocketSocketServer",params:{}},menu_103:{icon:"profile",title:"json数据库",pageName:"FrameworkDBIndex",params:{}},menu_104:{icon:"profile",title:"sqlite数据库",pageName:"FrameworkSqliteDBIndex",params:{}},menu_105:{icon:"profile",title:"任务",pageName:"FrameworkJobsIndex",params:{}},menu_106:{icon:"profile",title:"自动更新",pageName:"FrameworkUpdaterIndex",params:{}},menu_107:{icon:"profile",title:"软件调用",pageName:"FrameworkSoftwareIndex",params:{}},menu_108:{icon:"profile",title:"java",pageName:"FrameworkJavaIndex",params:{}},menu_109:{icon:"profile",title:"测试",pageName:"FrameworkTestApiIndex",params:{}}},os:{menu_100:{icon:"profile",title:"文件",pageName:"OsFileIndex",params:{}},menu_101:{icon:"profile",title:"视图",pageName:"OsWindowViewIndex",params:{}},menu_102:{icon:"profile",title:"窗口",pageName:"OsWindowIndex",params:{}},menu_103:{icon:"profile",title:"桌面通知",pageName:"OsNotificationIndex",params:{}},menu_104:{icon:"profile",title:"电源监控",pageName:"OsPowerMonitorIndex",params:{}},menu_105:{icon:"profile",title:"屏幕信息",pageName:"OsScreenIndex",params:{}},menu_106:{icon:"profile",title:"系统主题",pageName:"OsThemeIndex",params:{}}},hardware:{menu_100:{icon:"profile",title:"打印机",pageName:"HardwarePrinterIndex",params:{}}},effect:{menu_100:{icon:"profile",title:"视频播放器",pageName:"EffectVideoIndex",params:{}}}},y={props:{id:{type:String,default:""}},data:function(){return{menu:{},default_key:"menu_100",current:"",keys:[]}},watch:{id:function(){this.menuHandle()}},created:function(){},mounted:function(){this.menuHandle()},methods:{menuHandle:function(){this.current=this.default_key,this.menu=v[this.id];var e=this.menu[this.current];this.$router.push({name:e.pageName,params:e.params})},menuClick:function(e){this.current=e.key}}},x=y,_=(t("a1f7"),Object(i["a"])(x,w,g,!1,null,"339390a5",null)),I=_.exports,O={name:"RouteView",render:function(e){return e("router-view")}},N=[{path:"/",component:j,children:[{path:"/framework",name:"Framework",component:I,props:{id:"framework"},redirect:{name:"FrameworkSocketIpc"},children:[{path:"/framework/socket/ipc",name:"FrameworkSocketIpc",component:function(){return Promise.all([t.e("chunk-ef5c6832"),t.e("chunk-bf0d9a96")]).then(t.bind(null,"23ba"))}},{path:"/framework/socket/httpserver",name:"FrameworkSocketHttpServer",component:function(){return t.e("chunk-2aca8e6c").then(t.bind(null,"99f0"))}},{path:"/framework/socket/socketserver",name:"FrameworkSocketSocketServer",component:function(){return t.e("chunk-61f225b2").then(t.bind(null,"27a5"))}},{path:"/framework/db/index",name:"FrameworkDBIndex",component:function(){return t.e("chunk-7b779818").then(t.bind(null,"2b54"))}},{path:"/framework/sqlitedb/index",name:"FrameworkSqliteDBIndex",component:function(){return t.e("chunk-2ed549c8").then(t.bind(null,"bbfd"))}},{path:"/framework/jobs/index",name:"FrameworkJobsIndex",component:function(){return t.e("chunk-68bb1024").then(t.bind(null,"ff51"))}},{path:"/framework/updater/index",name:"FrameworkUpdaterIndex",component:function(){return t.e("chunk-cbec64b8").then(t.bind(null,"ce33"))}},{path:"/framework/software/index",name:"FrameworkSoftwareIndex",component:function(){return t.e("chunk-5395452c").then(t.bind(null,"36b2"))}},{path:"/framework/java/index",name:"FrameworkJavaIndex",component:function(){return t.e("chunk-e16c8452").then(t.bind(null,"8628"))}},{path:"/framework/testapi/index",name:"FrameworkTestApiIndex",component:function(){return t.e("chunk-31638db2").then(t.bind(null,"9089"))}}]},{path:"/os",name:"Os",component:I,props:{id:"os"},redirect:{name:"OsFileIndex"},children:[{path:"/os/file/index",name:"OsFileIndex",component:function(){return t.e("chunk-87611c88").then(t.bind(null,"1667"))}},{path:"/os/windowview/index",name:"OsWindowViewIndex",component:function(){return t.e("chunk-41d5921a").then(t.bind(null,"c78f"))}},{path:"/os/window/index",name:"OsWindowIndex",component:function(){return t.e("chunk-21689cc4").then(t.bind(null,"ceda"))}},{path:"/os/notification/index",name:"OsNotificationIndex",component:function(){return t.e("chunk-2c1b05fb").then(t.bind(null,"77b3"))}},{path:"/os/powermonitor/index",name:"OsPowerMonitorIndex",component:function(){return t.e("chunk-cfb81a4c").then(t.bind(null,"e2e7"))}},{path:"/os/screen/index",name:"OsScreenIndex",component:function(){return t.e("chunk-fa0821c2").then(t.bind(null,"afb0"))}},{path:"/os/theme/index",name:"OsThemeIndex",component:function(){return t.e("chunk-3e51d0b1").then(t.bind(null,"a9ad"))}},{path:"/os/system/index",name:"OsSystemIndex",component:function(){return t.e("chunk-2bb45275").then(t.bind(null,"e685"))}}]},{path:"/hardware",name:"Hardware",component:I,props:{id:"hardware"},redirect:{name:"HardwarePrinterIndex"},children:[{path:"/hardware/printer/index",name:"HardwarePrinterIndex",component:function(){return t.e("chunk-2ed2f5b2").then(t.bind(null,"f8aa"))}}]},{path:"/effect",name:"Effect",component:I,props:{id:"effect"},redirect:{name:"EffectVideoIndex"},children:[{path:"/effect/video/index",name:"EffectVideoIndex",component:function(){return t.e("chunk-0b695420").then(t.bind(null,"e965"))}}]}]},{path:"/special",component:O,children:[{path:"subwindow",name:"SpecialSubwindowIpc",component:function(){return Promise.all([t.e("chunk-ef5c6832"),t.e("chunk-ec5e0b1e")]).then(t.bind(null,"7a64"))}}]}],S=l["a"].prototype.push;l["a"].prototype.push=function(e,n,t){return n||t?S.call(this,e,n,t):S.call(this,e).catch((function(e){return e}))},a["a"].use(l["a"]);var F=new l["a"]({mode:"hash",routes:N}),z=t("b775"),E=window.require&&window.require("electron")||window.electron||{},P=E.ipcRenderer;a["a"].use(r["a"]),a["a"].use(z["a"]),a["a"].prototype.$ipc=P,a["a"].config.productionTip=!1,new a["a"]({router:F,render:function(e){return e(f)}}).$mount("#app")},"85ec":function(e,n,t){},a1f7:function(e,n,t){"use strict";t("a240")},a240:function(e,n,t){},b775:function(e,n,t){"use strict";t.d(n,"a",(function(){return f}));t("d3b7");var a=t("bc3a"),r=t.n(a),c=t("cff8"),o=t.n(c),s=t("56cd"),u={vm:{},install:function(e,n){this.installed||(this.installed=!0,n?(e.axios=n,Object.defineProperties(e.prototype,{axios:{get:function(){return n}},$http:{get:function(){return n}}})):console.error("You have to install axios"))}},i=r.a.create({baseURL:"",timeout:6e4}),d=function(e){if(e.response){var n=e.response.data;403===e.response.status&&s["a"].error({message:"Forbidden",description:n.message}),401!==e.response.status||n.result&&n.result.isLogin||s["a"].error({message:"Unauthorized",description:"Authorization verification failed"})}return Promise.reject(e)};i.interceptors.request.use((function(e){var n=o.a.get("token");return n&&(e.headers["Access-Token"]=n),e}),d),i.interceptors.response.use((function(e){return e.data}),d);var f={vm:{},install:function(e){e.use(u,i)}};n["b"]=i},cf05:function(e,n,t){e.exports=t.p+"img/logo.18776b4e.png"}});
- //# sourceMappingURL=app.9decd269.js.map
|