chunk-57718f0c.14c0ddb2.js 10 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57718f0c"],{"107c":function(e,t,n){var r=n("d039"),o=n("da84"),a=o.RegExp;e.exports=r((function(){var e=a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1276:function(e,t,n){"use strict";var r=n("2ba4"),o=n("c65b"),a=n("e330"),c=n("d784"),l=n("44e7"),i=n("825a"),s=n("1d80"),u=n("4840"),p=n("8aa5"),d=n("50c4"),f=n("577e"),x=n("dc4a"),v=n("4dae"),g=n("14c3"),m=n("9263"),h=n("9f7f"),b=n("d039"),w=h.UNSUPPORTED_Y,S=4294967295,k=Math.min,y=[].push,I=a(/./.exec),E=a(y),R=a("".slice),C=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));c("split",(function(e,t,n){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var a=f(s(this)),c=void 0===n?S:n>>>0;if(0===c)return[];if(void 0===e)return[a];if(!l(e))return o(t,a,e,c);var i,u,p,d=[],x=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,h=new RegExp(e.source,x+"g");while(i=o(m,h,a)){if(u=h.lastIndex,u>g&&(E(d,R(a,g,i.index)),i.length>1&&i.index<a.length&&r(y,d,v(i,1)),p=i[0].length,g=u,d.length>=c))break;h.lastIndex===i.index&&h.lastIndex++}return g===a.length?!p&&I(h,"")||E(d,""):E(d,R(a,g)),d.length>c?v(d,0,c):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=s(this),c=void 0==t?void 0:x(t,e);return c?o(c,t,r,n):o(a,f(r),t,n)},function(e,r){var o=i(this),c=f(e),l=n(a,o,c,r,a!==t);if(l.done)return l.value;var s=u(o,RegExp),x=o.unicode,v=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(w?"g":"y"),m=new s(w?"^(?:"+o.source+")":o,v),h=void 0===r?S:r>>>0;if(0===h)return[];if(0===c.length)return null===g(m,c)?[c]:[];var b=0,y=0,I=[];while(y<c.length){m.lastIndex=w?0:y;var C,_=g(m,w?R(c,y):c);if(null===_||(C=k(d(m.lastIndex+(w?y:0)),c.length))===b)y=p(c,y,x);else{if(E(I,R(c,b,y)),I.length===h)return I;for(var P=1;P<=_.length-1;P++)if(E(I,_[P]),I.length===h)return I;y=b=C}}return E(I,R(c,b)),I}]}),!C,w)},"14c3":function(e,t,n){var r=n("da84"),o=n("c65b"),a=n("825a"),c=n("1626"),l=n("c6b6"),i=n("9263"),s=r.TypeError;e.exports=function(e,t){var n=e.exec;if(c(n)){var r=o(n,e,t);return null!==r&&a(r),r}if("RegExp"===l(e))return o(i,e,t);throw s("RegExp#exec called on incompatible receiver")}},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),a=n("b622"),c=a("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[c])?!!t:"RegExp"==o(e))}},"4dae":function(e,t,n){var r=n("da84"),o=n("23cb"),a=n("07fa"),c=n("8418"),l=r.Array,i=Math.max;e.exports=function(e,t,n){for(var r=a(e),s=o(t,r),u=o(void 0===n?r:n,r),p=l(i(u-s,0)),d=0;s<u;s++,d++)c(p,d,e[s]);return p.length=d,p}},"59fe":function(e,t,n){"use strict";n("cc7e")},8418:function(e,t,n){"use strict";var r=n("a04b"),o=n("9bf2"),a=n("5c6c");e.exports=function(e,t,n){var c=r(t);c in e?o.f(e,c,a(0,n)):e[c]=n}},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8f7f":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app-demo-window"}},[e._m(0),n("div",{staticClass:"one-block-2"},[n("a-space",[n("a-button",{on:{click:function(t){return e.checkForUpdater()}}},[e._v("检查更新")]),n("a-button",{on:{click:function(t){return e.download()}}},[e._v("下载并安装")])],1)],1),e._m(1),n("div",{staticClass:"one-block-2"},[n("a-progress",{attrs:{percent:e.percentNumber,status:"active"}}),n("a-space",[e._v(" "+e._s(e.progress)+" ")])],1)])},o=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"one-block-1"},[n("span",[e._v(" 1. 自动更新 ")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"one-block-1"},[n("span",[e._v(" 2. 下载进度 ")])])}],a=n("a358"),c={data:function(){return{status:0,progress:"",percentNumber:0}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.removeAllListeners(a["c"].appUpdater),this.$ipc.on(a["c"].appUpdater,(function(t,n){n=JSON.parse(n),e.status=n.status,3==n.status?(e.progress=n.desc,e.percentNumber=n.percentNumber):e.$message.info(n.desc)}))},checkForUpdater:function(){this.$ipc.invoke(a["a"].checkForUpdater).then((function(e){console.log(e)}))},download:function(){1===this.status?this.$ipc.invoke(a["a"].downloadApp).then((function(e){console.log(e)})):this.$message.info("没有可用版本")}}},l=c,i=(n("59fe"),n("2877")),s=Object(i["a"])(l,r,o,!1,null,"77c17913",null);t["default"]=s.exports},9263:function(e,t,n){"use strict";var r=n("c65b"),o=n("e330"),a=n("577e"),c=n("ad6d"),l=n("9f7f"),i=n("5692"),s=n("7c73"),u=n("69f3").get,p=n("fce3"),d=n("107c"),f=i("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,v=x,g=o("".charAt),m=o("".indexOf),h=o("".replace),b=o("".slice),w=function(){var e=/a/,t=/b*/g;return r(x,e,"a"),r(x,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),S=l.BROKEN_CARET,k=void 0!==/()??/.exec("")[1],y=w||k||S||p||d;y&&(v=function(e){var t,n,o,l,i,p,d,y=this,I=u(y),E=a(e),R=I.raw;if(R)return R.lastIndex=y.lastIndex,t=r(v,R,E),y.lastIndex=R.lastIndex,t;var C=I.groups,_=S&&y.sticky,P=r(c,y),J=y.source,N=0,O=E;if(_&&(P=h(P,"y",""),-1===m(P,"g")&&(P+="g"),O=b(E,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&"\n"!==g(E,y.lastIndex-1))&&(J="(?: "+J+")",O=" "+O,N++),n=new RegExp("^(?:"+J+")",P)),k&&(n=new RegExp("^"+J+"$(?!\\s)",P)),w&&(o=y.lastIndex),l=r(x,_?n:y,O),_?l?(l.input=b(l.input,N),l[0]=b(l[0],N),l.index=y.lastIndex,y.lastIndex+=l[0].length):y.lastIndex=0:w&&l&&(y.lastIndex=y.global?l.index+l[0].length:o),k&&l&&l.length>1&&r(f,l[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(l[i]=void 0)})),l&&C)for(l.groups=p=s(null),i=0;i<C.length;i++)d=C[i],p[d[0]]=l[d[1]];return l}),e.exports=v},"9f7f":function(e,t,n){var r=n("d039"),o=n("da84"),a=o.RegExp,c=r((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),l=c||r((function(){return!a("a","y").sticky})),i=c||r((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:i,MISSED_STICKY:l,UNSUPPORTED_Y:c}},a15b:function(e,t,n){"use strict";var r=n("23e7"),o=n("e330"),a=n("44ad"),c=n("fc6a"),l=n("a640"),i=o([].join),s=a!=Object,u=l("join",",");r({target:"Array",proto:!0,forced:s||!u},{join:function(e){return i(c(this),void 0===e?",":e)}})},a358:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return i}));n("a15b"),n("ac1f"),n("1276");var r=n("cff8"),o=n.n(r),a=n("b775"),c={test:"controller.example.test",messageShow:"controller.example.messageShow",messageShowConfirm:"controller.example.messageShowConfirm",selectFolder:"controller.example.selectFolder",openDirectory:"controller.example.openDirectory",loadViewContent:"controller.example.loadViewContent",removeViewContent:"controller.example.removeViewContent",createWindow:"controller.example.createWindow",sendNotification:"controller.example.sendNotification",initPowerMonitor:"controller.example.initPowerMonitor",getScreen:"controller.example.getScreen",openSoftware:"controller.example.openSoftware",autoLaunch:"controller.example.autoLaunch",setTheme:"controller.example.setTheme",getTheme:"controller.example.getTheme",checkForUpdater:"controller.example.checkForUpdater",downloadApp:"controller.example.downloadApp",dbOperation:"controller.example.dbOperation",sqlitedbOperation:"controller.example.sqlitedbOperation",uploadFile:"controller.example.uploadFile",checkHttpServer:"controller.example.checkHttpServer",doHttpRequest:"controller.example.doHttpRequest",doSocketRequest:"controller.example.doSocketRequest",ipcInvokeMsg:"controller.example.ipcInvokeMsg",ipcSendSyncMsg:"controller.example.ipcSendSyncMsg",ipcSendMsg:"controller.example.ipcSendMsg",getWCid:"controller.example.getWCid",startJavaServer:"controller.example.startJavaServer",closeJavaServer:"controller.example.closeJavaServer",someJob:"controller.example.someJob",timerJobProgress:"controller.example.timerJobProgress",createPool:"controller.example.createPool",createPoolNotice:"controller.example.createPoolNotice",someJobByPool:"controller.example.someJobByPool",hello:"controller.example.hello"},l={appUpdater:"app.updater",window1ToWindow2:"window1-to-window2",window2ToWindow1:"window2-to-window1"},i=function(e,t){var n=o.a.get("httpServiceConfig"),r=n.server||"http://localhost:7071",c=e.split(".").join("/");return c=r+"/"+c,console.log("url:",c),Object(a["b"])({url:c,method:"post",data:t,params:{},timeout:6e4})}},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},cc7e:function(e,t,n){},d784:function(e,t,n){"use strict";n("ac1f");var r=n("e330"),o=n("6eeb"),a=n("9263"),c=n("d039"),l=n("b622"),i=n("9112"),s=l("species"),u=RegExp.prototype;e.exports=function(e,t,n,p){var d=l(e),f=!c((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),x=f&&!c((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[s]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!x||n){var v=r(/./[d]),g=t(d,""[e],(function(e,t,n,o,c){var l=r(e),i=t.exec;return i===a||i===u.exec?f&&!c?{done:!0,value:v(t,n,o)}:{done:!0,value:l(n,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(u,d,g[1])}p&&i(u[d],"sham",!0)}},fce3:function(e,t,n){var r=n("d039"),o=n("da84"),a=o.RegExp;e.exports=r((function(){var e=a(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))}}]);
  2. //# sourceMappingURL=chunk-57718f0c.14c0ddb2.js.map