chunk-c3583d28.0cdeb87c.js 9.6 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c3583d28"],{"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"),i=n("44e7"),l=n("825a"),s=n("1d80"),u=n("4840"),d=n("8aa5"),p=n("50c4"),f=n("577e"),h=n("dc4a"),v=n("4dae"),x=n("14c3"),g=n("9263"),m=n("9f7f"),b=n("d039"),w=m.UNSUPPORTED_Y,I=4294967295,T=Math.min,S=[].push,k=a(/./.exec),y=a(S),E=a("".slice),R=!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?I:n>>>0;if(0===c)return[];if(void 0===e)return[a];if(!i(e))return o(t,a,e,c);var l,u,d,p=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),x=0,m=new RegExp(e.source,h+"g");while(l=o(g,m,a)){if(u=m.lastIndex,u>x&&(y(p,E(a,x,l.index)),l.length>1&&l.index<a.length&&r(S,p,v(l,1)),d=l[0].length,x=u,p.length>=c))break;m.lastIndex===l.index&&m.lastIndex++}return x===a.length?!d&&k(m,"")||y(p,""):y(p,E(a,x)),p.length>c?v(p,0,c):p}:"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:h(t,e);return c?o(c,t,r,n):o(a,f(r),t,n)},function(e,r){var o=l(this),c=f(e),i=n(a,o,c,r,a!==t);if(i.done)return i.value;var s=u(o,RegExp),h=o.unicode,v=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(w?"g":"y"),g=new s(w?"^(?:"+o.source+")":o,v),m=void 0===r?I:r>>>0;if(0===m)return[];if(0===c.length)return null===x(g,c)?[c]:[];var b=0,S=0,k=[];while(S<c.length){g.lastIndex=w?0:S;var R,M=x(g,w?E(c,S):c);if(null===M||(R=T(p(g.lastIndex+(w?S:0)),c.length))===b)S=d(c,S,h);else{if(y(k,E(c,b,S)),k.length===m)return k;for(var _=1;_<=M.length-1;_++)if(y(k,M[_]),k.length===m)return k;S=b=R}}return y(k,E(c,b)),k}]}),!R,w)},"14c3":function(e,t,n){var r=n("da84"),o=n("c65b"),a=n("825a"),c=n("1626"),i=n("c6b6"),l=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"===i(e))return o(l,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"),i=r.Array,l=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),d=i(l(u-s,0)),p=0;s<u;s++,p++)c(d,p,e[s]);return d.length=p,d}},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)}},9263:function(e,t,n){"use strict";var r=n("c65b"),o=n("e330"),a=n("577e"),c=n("ad6d"),i=n("9f7f"),l=n("5692"),s=n("7c73"),u=n("69f3").get,d=n("fce3"),p=n("107c"),f=l("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,x=o("".charAt),g=o("".indexOf),m=o("".replace),b=o("".slice),w=function(){var e=/a/,t=/b*/g;return r(h,e,"a"),r(h,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),I=i.BROKEN_CARET,T=void 0!==/()??/.exec("")[1],S=w||T||I||d||p;S&&(v=function(e){var t,n,o,i,l,d,p,S=this,k=u(S),y=a(e),E=k.raw;if(E)return E.lastIndex=S.lastIndex,t=r(v,E,y),S.lastIndex=E.lastIndex,t;var R=k.groups,M=I&&S.sticky,_=r(c,S),C=S.source,A=0,O=y;if(M&&(_=m(_,"y",""),-1===g(_,"g")&&(_+="g"),O=b(y,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==x(y,S.lastIndex-1))&&(C="(?: "+C+")",O=" "+O,A++),n=new RegExp("^(?:"+C+")",_)),T&&(n=new RegExp("^"+C+"$(?!\\s)",_)),w&&(o=S.lastIndex),i=r(h,M?n:S,O),M?i?(i.input=b(i.input,A),i[0]=b(i[0],A),i.index=S.lastIndex,S.lastIndex+=i[0].length):S.lastIndex=0:w&&i&&(S.lastIndex=S.global?i.index+i[0].length:o),T&&i&&i.length>1&&r(f,i[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(i[l]=void 0)})),i&&R)for(i.groups=d=s(null),l=0;l<R.length;l++)p=R[l],d[p[0]]=i[p[1]];return i}),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")})),i=c||r((function(){return!a("a","y").sticky})),l=c||r((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:i,UNSUPPORTED_Y:c}},a15b:function(e,t,n){"use strict";var r=n("23e7"),o=n("e330"),a=n("44ad"),c=n("fc6a"),i=n("a640"),l=o([].join),s=a!=Object,u=i("join",",");r({target:"Array",proto:!0,forced:s||!u},{join:function(e){return l(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 i})),n.d(t,"b",(function(){return l}));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",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",hello:"controller.example.hello"},i={appUpdater:"app.updater"},l=function(e,t){var n=o.a.get("httpServiceConfig"),r=n.server||"http://127.0.0.1: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}},bb01:function(e,t,n){},bb90:function(e,t,n){"use strict";n("bb01")},d784:function(e,t,n){"use strict";n("ac1f");var r=n("e330"),o=n("6eeb"),a=n("9263"),c=n("d039"),i=n("b622"),l=n("9112"),s=i("species"),u=RegExp.prototype;e.exports=function(e,t,n,d){var p=i(e),f=!c((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=f&&!c((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[s]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!f||!h||n){var v=r(/./[p]),x=t(p,""[e],(function(e,t,n,o,c){var i=r(e),l=t.exec;return l===a||l===u.exec?f&&!c?{done:!0,value:v(t,n,o)}:{done:!0,value:i(n,t,o)}:{done:!1}}));o(String.prototype,e,x[0]),o(u,p,x[1])}d&&l(u[p],"sham",!0)}},db5a: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-base-screen"}},[e._m(0),n("div",{staticClass:"one-block-2"},[n("a-space",[n("a-button",{on:{click:function(t){return e.getTheme()}}},[e._v("获取模式")])],1),n("span",[e._v(" 结果:"+e._s(e.currentThemeMode)+" ")])],1),n("div",{staticClass:"one-block-1"},[e._v(" 2. 设置主题模式(请自行实现前端UI效果) ")]),n("div",{staticClass:"one-block-2"},[n("a-radio-group",{on:{change:e.setTheme},model:{value:e.currentThemeMode,callback:function(t){e.currentThemeMode=t},expression:"currentThemeMode"}},[n("a-radio",{attrs:{value:e.themeList[0]}},[e._v(" "+e._s(e.themeList[0])+" ")]),n("a-radio",{attrs:{value:e.themeList[1]}},[e._v(" "+e._s(e.themeList[1])+" ")]),n("a-radio",{attrs:{value:e.themeList[2]}},[e._v(" "+e._s(e.themeList[2])+" ")])],1)],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. 系统主题模式 ")])])}],a=n("a358"),c={data:function(){return{currentThemeMode:"",themeList:["system","light","dark"]}},mounted:function(){},methods:{setTheme:function(e){var t=this;this.currentThemeMode=e.target.value,console.log("setTheme currentThemeMode:",this.currentThemeMode),this.$ipcInvoke(a["a"].setTheme,this.currentThemeMode).then((function(e){console.log("result:",e),t.currentThemeMode=e}))},getTheme:function(){var e=this;this.$ipcInvoke(a["a"].getTheme).then((function(t){console.log("result:",t),e.currentThemeMode=t}))}}},i=c,l=(n("bb90"),n("2877")),s=Object(l["a"])(i,r,o,!1,null,"c45f31c2",null);t["default"]=s.exports},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-c3583d28.0cdeb87c.js.map