webpackJsonp([12],[function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"h",function(){return i}),n.d(e,"g",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return s}),n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u}),n.d(e,"d",function(){return l});var r={IN_PROGRESS:0,SUCCESS:1,ERROR:2},i={WPS:1,ET:2,WPP:3},o={IN_PROGRESS:0,READY:1,ERROR:2,EMPTY:3},a={NORMAL:10,DOCER_VIP:12,BRONZE_VIP:14,SILVER_VIP:20,GOLD_VIP:30,WPS_VIP:20,SUPER_VIP:40,ENTERPRISE_VIP:100,ENTERPRISE_VIP_PLUS:101,TEMPORARY_ENTERPRISE_VIP:102},s=[a.BRONZE_VIP,a.SILVER_VIP,a.GOLD_VIP,a.WPS_VIP,a.ENTERPRISE_VIP,a.ENTERPRISE_VIP_PLUS,a.TEMPORARY_ENTERPRISE_VIP],c={LOCAL_STORAGE_TAGS:"local-storage-chosen-tags",LOCAL_STORAGE_TITLE_BAR_HAS_CLICK_GUIDE:"local-storage-title-bar-guide",LOCAL_STORAGE_CHOSE_CAREER:"local-storage-chose-career",LOCAL_STORAGE_IS_EVER_ENTER_GUIDE:"local-storage-is-ever-enter-guide",LOCAL_STORAGE_ENTERED_NOT_GENERAL:"local-storage-entered-not-general",LOCAL_STORAGE_HAS_NEW_DOT:"local-storage-has-new-dot-",LOCAL_STORAGE_FOLDER_HAS_NEW:"local-storage-folder-has-new-",LOCAL_STORAGE_HAS_CLICK_TITLE_BAR_ADD_JOB:"local-storage-has-click-title-bar-add-job",LOCAL_STORAGE_SEARCH_HISTORY:"local-storage-search-history",LOCAL_STORAGE_IS_EVER_SHOW_GUIDE_POPUP:"local-storage-is-ever-show-guide-popup",LOCAL_STORAGE_LAST_REC:"local-storage-last-rec",LOCAL_STORAGE_ALL_CAREERS:"local-storage-all-careers",LOCAL_STORAGE_IS_CLIECKED_SETTINGS:"local-storage-is-clicked-settings",LOCAL_STORAGE_NEW_BLANK_COUNT:"local-storage-new-blank-count",LOCAL_STORAGE_REC_KEY:"local-storage-rec-key",LOCAL_STORAGE_REC_DATA:"local-storage-rec-data"},u={CHANNEL_USER_STATE_CHANGED:"changeUserState",NOTIFY_ISLOGINED:"userStateChanged",CHANNEL_PAYMENT_STATE_CHANGED:"boardcastPurchaseStatus",CHANNEL_VIP_STATUS_CHANGE:"channelVipStateChange",SET_FULL_SCREEN:"setIsFullScreen",DOWNLOAD_IN_PROGRESS:"updateDownloadPercent",DOWNLOAD_FINISHED:"downloadComplete",DOWNLOAD_FAILED:"downloadFailed",CONTAINER_SCROLLING:"containerScrolling",SCROLL_TO:"scrollTo",PREVIEW_SCROLLING:"previewScrolling",YOU_MAY_LIKE_SHOWN:"youMayLikeShown",IS_TITLEBAR_FIXED:"isTitlebarFixed",GO_BACK:"__goBack",CALCULATESIZE:"calculateSize"},l={wps:1,wpt:1,doc:1,dot:1,docx:1,dotx:1,docm:1,dotm:1,et:2,ett:2,xls:2,xlt:2,xlsx:2,xlsm:2,xltx:2,xltm:2,dps:3,dpt:3,ppt:3,pot:3,pptx:3,pptm:3,potx:3,potm:3}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t,e,n,r,i){var o,a=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,a=t.default);var c="function"==typeof a?a.options:a;e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns),r&&(c._scopeId=r);var u;if(i?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=u):n&&(u=n),u){var l=c.functional,f=l?c.render:c.beforeCreate;l?c.render=function(t,e){return u.call(e),f(t,e)}:c.beforeCreate=f?[].concat(f,u):[u]}return{esModule:o,exports:a,options:c}}},function(t,e,n){"use strict";function r(t,e){return t.filter(e)[0]}function i(t,e,n,r,i,o,a){function s(){var u=Math.min(1,(Date.now()-c)/o);a?t[e]=r+u*(i-r)+n:t.style[e]=r+u*(i-r)+n,1!==u&&window.requestAnimationFrame(s)}if(t){var c=Date.now();window.requestAnimationFrame(s)}}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(null===t||"object"!==(void 0===t?"undefined":p()(t)))return t;var n=r(e,function(e){return e.original===t});if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),d()(t).forEach(function(n){i[n]=o(t[n],e)}),i}function a(t){return null!==t&&"object"===(void 0===t?"undefined":p()(t))}function s(t,e){if(!t||t===document.body)return!1;if(t.webkitMatchesSelector(e))return!0;for(var n=t.parentNode;n&&n!==document;){if(n.webkitMatchesSelector(e))return n;n=n.parentNode}return!1}e.b=r,e.o=o,e.c=a,e.h=s,n.d(e,"a",function(){return y}),n.d(e,"d",function(){return w}),n.d(e,"l",function(){return b}),n.d(e,"w",function(){return S}),n.d(e,"p",function(){return T}),n.d(e,"i",function(){return L}),n.d(e,"v",function(){return A}),n.d(e,"m",function(){return C}),n.d(e,"j",function(){return I}),n.d(e,"s",function(){return x}),n.d(e,"t",function(){return P}),n.d(e,"r",function(){return k}),n.d(e,"q",function(){return F}),n.d(e,"n",function(){return M}),n.d(e,"g",function(){return D}),n.d(e,"u",function(){return U}),n.d(e,"x",function(){return B}),n.d(e,"e",function(){return H}),n.d(e,"k",function(){return j}),n.d(e,"f",function(){return V});var c=n(140),u=(n.n(c),n(22)),l=n.n(u),f=n(17),d=n.n(f),h=n(27),p=n.n(h);if(!window.requestAnimationFrame){for(var _=["webkit","moz"],m=0;m<_.length&&!window.requestAnimationFrame;++m){var v=_[m];window.requestAnimationFrame=window[v+"RequestAnimationFrame"],window.cancelAnimationFrame=window[v+"CancelAnimationFrame"]||window[v+"CancelRequestAnimationFrame"]}var g=0;window.requestAnimationFrame=function(t){var e=Date.now(),n=Math.max(g+16,e);return setTimeout(function(){t(g=n)},n-e)},window.cancelAnimationFrame=clearTimeout}var y=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r=e?c():r=setTimeout(c,e)}}},b=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:500;i(t,"scrollTop","",t.scrollTop,e,n,!0)},T=function(t){if(!t||E(t))return"";var e="";for(var n in t)e+="&"+n+"="+encodeURIComponent(t[n]);return"?"+e.slice(1)},L=function(t){return/^(\w+:)?\/\/([^\/:]*)(?::(\d+))?\/(.*)/.exec(t||window.location.href),{protocol:RegExp.$1||window.location.protocol,domain:RegExp.$2,port:RegExp.$3,path:RegExp.$4}},R=/\.(doc|docx|dot|dotx|wps|pdf|ppt|pptx|ppsx|pot|potx|pps|dps|dpt|ppsm|potm|pptm|xls|xlsx|xlt|xltx|et|csv|dbf|xlsm|dif|prn|xml|zip|wpt|ett)$/i,A=function(t){return t?t.toString().replace(R,""):""},C=function(t,e){if(!t)return!1;e=1.1;var n=t.getBoundingClientRect();return n.top0&&n.left0},O=[],I={send:function(t,e){var n=e.callbackName||"callback",r=e.onSuccess||function(){},i=e.onTimeout||function(){},o=e.timeout||10,a=O.findIndex(function(t){return t.callback===n});~a&&(window.clearTimeout(O[a].timeoutHandler),O.splice(a,1));var s=window.setTimeout(function(){delete window[n],i()},1e3*o);window[n]=function(t){delete window[n],window.clearTimeout(s),r(t)};var c=document.createElement("script");c.type="text/javascript",c.async=!0,c.src=t,document.getElementsByTagName("head")[0].appendChild(c),O.push({callback:n,timeoutHandler:s})}},x=function(t){return A(t.split("/").pop())},P=function(t,e){return t?(e=e||9,t.length=0?n():window.setTimeout(n,-o)}}},H=function(t){var e="",n=window.location.hash.split("?")[1];return n?(n.split("&").forEach(function(n){var r=n.split("=");r[0]===t&&(e=r[1])}),e):e},j=function(t){var e=window._ESC_HOOKS.findIndex(function(e){return e.key===t});~e&&window._ESC_HOOKS.splice(e,1)},V=function(t){var e=document.createEvent("Event");e.initEvent(t,!0,!0),window.dispatchEvent(e)}},function(t,e,n){"use strict";function r(t){L&&(t._devtoolHook=L,L.emit("vuex:init",t),L.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){L.emit("vuex:mutation",t,e)}))}function i(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function o(t){return null!==t&&"object"==typeof t}function a(t){return t&&"function"==typeof t.then}function s(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return;s(t.concat(r),e.getChild(r),n.modules[r])}}function c(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function u(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;f(t,n,[],t._modules.root,!0),l(t,n,e)}function l(t,e,n){var r=t._vm;t.getters={};var o=t._wrappedGetters,a={};i(o,function(e,n){a[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var s=O.config.silent;O.config.silent=!0,t._vm=new O({data:{$$state:e},computed:a}),O.config.silent=s,t.strict&&v(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),O.nextTick(function(){return r.$destroy()}))}function f(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!o&&!i){var s=g(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){O.set(s,c,r.state)})}var u=r.context=d(t,a,n);r.forEachMutation(function(e,n){p(t,a+n,e,u)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,i=e.handler||e;_(t,r,i,u)}),r.forEachGetter(function(e,n){m(t,a+n,e,u)}),r.forEachChild(function(r,o){f(t,e,n.concat(o),r,i)})}function d(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=y(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,i){var o=y(n,r,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return h(t,e)}},state:{get:function(){return g(t.state,n)}}}),i}function h(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}}),n}function p(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}function _(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e,i){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,i);return a(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}function m(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function v(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function g(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function y(t,e,n){return o(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function E(t){O&&t===O||(O=t,T(O))}function w(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function b(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function S(t,e,n){return t._modulesNamespaceMap[n]}n.d(e,"a",function(){return F}),n.d(e,"b",function(){return M});/** * vuex v3.0.1 * (c) 2017 Evan You * @license MIT */ var T=function(t){function e(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}},L="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,R=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},A={namespaced:{configurable:!0}};A.namespaced.get=function(){return!!this._rawModule.namespaced},R.prototype.addChild=function(t,e){this._children[t]=e},R.prototype.removeChild=function(t){delete this._children[t]},R.prototype.getChild=function(t){return this._children[t]},R.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},R.prototype.forEachChild=function(t){i(this._children,t)},R.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},R.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},R.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(R.prototype,A);var C=function(t){this.register([],t,!1)};C.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},C.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},C.prototype.update=function(t){s([],this.root,t)},C.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new R(e,n);if(0===t.length)this.root=o;else{this.get(t.slice(0,-1)).addChild(t[t.length-1],o)}e.modules&&i(e.modules,function(e,i){r.register(t.concat(i),e,n)})},C.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var O,I=function(t){var e=this;void 0===t&&(t={}),!O&&"undefined"!=typeof window&&window.Vue&&E(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1);var o=t.state;void 0===o&&(o={}),"function"==typeof o&&(o=o()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new C(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new O;var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(t,e){return c.call(a,t,e)},this.commit=function(t,e,n){return u.call(a,t,e,n)},this.strict=i,f(this,o,[],this._modules.root),l(this,o),n.forEach(function(t){return t(e)}),O.config.devtools&&r(this)},x={state:{configurable:!0}};x.state.get=function(){return this._vm._data.$$state},x.state.set=function(t){},I.prototype.commit=function(t,e,n){var r=this,i=y(t,e,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit(function(){c.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},I.prototype.dispatch=function(t,e){var n=this,r=y(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(o)})):s[0](o)},I.prototype.subscribe=function(t){return c(t,this._subscribers)},I.prototype.subscribeAction=function(t){return c(t,this._actionSubscribers)},I.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},I.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},I.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),f(this,this.state,t,this._modules.get(t),n.preserveState),l(this,this.state)},I.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=g(e.state,t.slice(0,-1));O.delete(n,t[t.length-1])}),u(this)},I.prototype.hotUpdate=function(t){this._modules.update(t),u(this,!0)},I.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(I.prototype,x);var P=b(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=S(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0}),n}),k=b(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=S(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n}),F=b(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||S(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0}),n}),M=b(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=S(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n}),D=function(t){return{mapState:P.bind(null,t),mapGetters:F.bind(null,t),mapMutations:k.bind(null,t),mapActions:M.bind(null,t)}},N={Store:I,install:E,version:"3.0.1",mapState:P,mapMutations:k,mapGetters:F,mapActions:M,createNamespacedHelpers:D};e.c=N},function(t,e,n){"use strict";n.d(e,"b",function(){return v}),n.d(e,"e",function(){return X}),n.d(e,"c",function(){return tt}),n.d(e,"d",function(){return et});var r=n(27),i=n.n(r),o=n(17),a=n.n(o),s=n(18),c=n.n(s),u=n(7),l=n.n(u),f=n(23),d=void 0,h=(window.external||window.External)&&(window.external||window.External).jsAsynCall;!h&&window.cefQuery?(d=function(t){window.cefQuery({request:'jsAsynCall("'+t+'")',persistent:!1})},window.cefQuery({request:'cefInitialize("")',persistent:!1,onSuccess:function(){}})):d=function(t){h(t)};var p=function(){return window.cefQuery},_=function(t){v({method:"login",loginSrc:"docer-"+window.app.appClass+"_new_file_rec"||"docer-wpp_new_file_rec",bizSrc:"new_document_mall16",bizSrcDetail:""})},m=function(t){v({method:"openUniversalBrowser",params:{url:t}})},v=function(t,e,n,r,i){var o=void 0;i=i||"callback",e&&(o=new l.a(function(e,o){var a="wps_jsAsyn_callback_"+window.setTimeout(function(){});r?(t.params=t.params||{},t.params[i]=a):t[i]=a,window[a]=function(t){n||(t=JSON.parse(f.a.decode(t))),e(t),delete window[a]}}));try{d(c()(t))}catch(t){}return o},g=function(t,e,n,r){v({method:"localStorageSet",key:t,val:e,stamp:n,flag:r})},y=function(t){return v({method:"localStorageGet",key:t},!0,!0)},E=function(t){v({method:"localStorageRemove",key:t})},w=function(){v({method:"closeWindow"})},b=function(){v({method:"backToFirstWindow"})},S=function(t){if("POST"===t.http_method.toUpperCase())return t.bRawData=1,"application/x-www-form-urlencoded"===t.dataType&&(t.data=a()(t.data).map(function(e){return e+"="+encodeURIComponent(t.data[e])}).join("&")),"object"===i()(t.data)&&(t.data=c()(t.data)),v({method:"httpPost",params:t},!0,!1,!0);if(t.data){var e=(~t.url.indexOf("?")?"&":"?")+a()(t.data).map(function(e){return e+"="+encodeURIComponent(t.data[e])}).join("&");t.url+=e}return v({method:"httpGet",params:t},!0,!1,!0)},T=function(t){v({method:"httpGet",params:{url:t,http_method:"GET",timeout:-1,data:{},contentType:"application/x-www-form-urlencoded",headers:{"X-Requested-With":"XMLHttpRequest"}}})},L=function(){return v({method:"isFullScreen"},!0)},R=function(){v({method:"maxWindow"})},A=function(t){v({method:"minWindow"})},C=function(t,e,n,r){v({method:"setDragArea",left:t,top:e,width:n,height:r})},O=function(t,e){window[t]=function(){for(var t=arguments.length,n=Array(t),r=0;r>>6)+c(128|63&e):c(224|e>>>12&15)+c(128|e>>>6&63)+c(128|63&e)}var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return c(240|e>>>18&7)+c(128|e>>>12&63)+c(128|e>>>6&63)+c(128|63&e)},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,f=function(t){return t.replace(l,u)},d=function(t){var e=[0,2,1][t.length%3],n=t.charCodeAt(0)<<16|(t.length>1?t.charCodeAt(1):0)<<8|(t.length>2?t.charCodeAt(2):0);return[a.charAt(n>>>18),a.charAt(n>>>12&63),e>=2?"=":a.charAt(n>>>6&63),e>=1?"=":a.charAt(63&n)].join("")},h=i.btoa?function(t){return i.btoa(t)}:function(t){return t.replace(/[\s\S]{1,3}/g,d)},p=r?function(t){return(t.constructor===r.constructor?t:new r(t)).toString("base64")}:function(t){return h(f(t))},_=function(t,e){return e?p(String(t)).replace(/[+\/]/g,function(t){return"+"==t?"-":"_"}).replace(/=/g,""):p(String(t))},m=function(t){return _(t,!0)},v=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),g=function(t){switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),n=e-65536;return c(55296+(n>>>10))+c(56320+(1023&n));case 3:return c((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return c((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},y=function(t){return t.replace(v,g)},E=function(t){var e=t.length,n=e%4,r=(e>0?s[t.charAt(0)]<<18:0)|(e>1?s[t.charAt(1)]<<12:0)|(e>2?s[t.charAt(2)]<<6:0)|(e>3?s[t.charAt(3)]:0),i=[c(r>>>16),c(r>>>8&255),c(255&r)];return i.length-=[0,0,2,1][n],i.join("")},w=i.atob?function(t){return i.atob(t)}:function(t){return t.replace(/[\s\S]{1,4}/g,E)},b=r?function(t){return(t.constructor===r.constructor?t:new r(t,"base64")).toString()}:function(t){return y(w(t))},S=function(t){return b(String(t).replace(/[-_]/g,function(t){return"-"==t?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},T=function(){var t=i.Base64;return i.Base64=o,t};i.Base64={VERSION:"2.1.9",atob:w,btoa:h,fromBase64:S,toBase64:_,utob:f,encode:_,encodeURI:m,btou:y,decode:S,noConflict:T,httpStr:"http"},e.a={VERSION:"2.1.9",atob:w,btoa:h,fromBase64:S,toBase64:_,utob:f,encode:_,encodeURI:m,btou:y,decode:S,noConflict:T,httpStr:"http"}}).call(e,n(245)(t))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(16),i=n(36);t.exports=n(20)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise__=__webpack_require__(7),__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise__),__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_json_stringify__=__webpack_require__(18),__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_json_stringify___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_json_stringify__),__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof__=__webpack_require__(27),__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof__),__WEBPACK_IMPORTED_MODULE_3_wpsApi__=__webpack_require__(5),__WEBPACK_IMPORTED_MODULE_4__base64__=__webpack_require__(23),support=function(){return __WEBPACK_IMPORTED_MODULE_3_wpsApi__.a.getApi()},set=function(t,e,n,r){var i;i="object"===(void 0===e?"undefined":__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof___default()(e))?__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_json_stringify___default()(e):String(e).trim(),("jquery"===t||r)&&(i=i.substring(1,i.length-1)),__WEBPACK_IMPORTED_MODULE_3_wpsApi__.a.localStorageSet(t,i,n||Date.now()+18e5)},get=function get(key,flag){var getDeffed=new __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise___default.a(function(resolve,reject){__WEBPACK_IMPORTED_MODULE_3_wpsApi__.a.localStorageGet(key).then(function(resp){resp=__WEBPACK_IMPORTED_MODULE_4__base64__.a.decode(resp);try{resp=JSON.parse(resp)}catch(_e){try{resp=eval("("+resp+")")}catch(t){resp={callstatus:"ok",result:window.external?window.external.localStorageGet(key):"[]"}}}resolve(resp.result)})});return getDeffed},clear=function(t){return __WEBPACK_IMPORTED_MODULE_3_wpsApi__.a.localStorageRemove(t)};__webpack_exports__.a={support:support,set:set,get:get,clear:clear}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(143),o=r(i),a=n(142),s=r(a),c="function"==typeof s.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};e.default="function"==typeof s.default&&"symbol"===c(o.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":void 0===t?"undefined":c(t)}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(71),i=n(46);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";n.d(e,"c",function(){return s}),n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u});var r=n(18),i=(n.n(r),n(5)),o=n(23),a={};i.a.setWindowCallBack("notifyJs",function(t){var e=void 0;if(Array.isArray(t)){if(!(e=t[0]))return;e=JSON.parse(o.a.decode(e))}var n=e,r=n.eventName,i=n.eventArgs,s=a[r];if(s)for(var c in s)s[c](i)});var s=function(t,e){var n=a[t];if(n)for(var r in n)n[r](e)},c=function(t,e){var n=a[t];n||(n=a[t]=[]),n.push(e)},u=function(t,e){var n=a[t];if(n){var r=n.indexOf(e);-1!==r&&n.splice(r,1)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(37);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e,n){var r=n(78),i=n(48);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(16).f,i=n(24),o=n(10)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(46);t.exports=function(t){return Object(r(t))}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},,function(t,e,n){"use strict";var r=n(3);e.a={data:function(){return{resizeHandler:null}},mounted:function(){var t=this;this.$nextTick(function(){t.reflowLayout(),window.addEventListener("resize",t.handleResize())})},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize())},methods:{handleResize:function(){var t=this;return this.resizeHandler||(this.resizeHandler=n.i(r.d)(function(){return t.reflowLayout()},200,!0)),this.resizeHandler},reflowLayout:function(){throw new Error("not implemented")}}}},function(t,e,n){var r=n(1),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(21),i=n(8).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(37);t.exports.f=function(t){return new r(t)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(52)("keys"),i=n(41);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(1),i=n(8),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(34)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r,i,o,a=n(32),s=n(161),c=n(69),u=n(47),l=n(8),f=l.process,d=l.setImmediate,h=l.clearImmediate,p=l.MessageChannel,_=l.Dispatch,m=0,v={},g=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){g.call(t.data)};d&&h||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},h=function(t){delete v[t]},"process"==n(31)(f)?r=function(t){f.nextTick(a(g,t,1))}:_&&_.now?r=function(t){_.now(a(g,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",y,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:d,clear:h}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(54),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(21);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(8),i=n(1),o=n(34),a=n(58),s=n(16).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){e.f=n(10)},function(t,e,n){"use strict";var r=n(176)(!0);n(74)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";e.__esModule=!0;var r=n(139),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e-1?t.splice(n,1):void 0}}function i(t,e){for(var n=!1,r=0,i=t.length;re[0])return 1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0});for(var u="",l=void 0,f=r.length,d=0;d=o){u=l[1];break}return u}}function a(t){return t instanceof Object?c()(t):[]}n.d(e,"k",function(){return f}),n.d(e,"a",function(){return d}),n.d(e,"e",function(){return l}),n.d(e,"j",function(){return r}),n.d(e,"f",function(){return i}),n.d(e,"d",function(){return E}),n.d(e,"l",function(){return _}),n.d(e,"b",function(){return h}),n.d(e,"h",function(){return y}),n.d(e,"o",function(){return m}),n.d(e,"g",function(){return o}),n.d(e,"n",function(){return a});var s=n(17),c=n.n(s),u=n(3);n.d(e,"i",function(){return u.b}),n.d(e,"m",function(){return u.c}),n.d(e,"c",function(){return u.d});var l="undefined"!=typeof window,f=l&&"IntersectionObserver"in window,d={event:"event",observer:"observer"},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return l&&window.devicePixelRatio||t},p=function(){if(l){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),_={on:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];p?t.addEventListener(e,n,{capture:r,passive:!0}):t.addEventListener(e,n,r)},off:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,n,r)}},m=function(t,e,n){var r=new window.Image;r.src=t.src,r.onload=function(){e({naturalHeight:r.naturalHeight,naturalWidth:r.naturalWidth,src:r.src})},r.onerror=function(t){n(t)}},v=function(t,e){return void 0!==window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(e):t.style[e]},g=function(t){return v(t,"overflow")+v(t,"overflow-y")+v(t,"overflow-x")},y=function(t){if(l){if(!(t instanceof window.HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(g(e)))return e;e=e.parentNode}return window}},E=u.a},function(t,e,n){t.exports={default:n(149),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(65),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(){function t(t,e){for(var n=0;ndocument.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(78),i=n(48).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(24),i=n(29),o=n(157)(!1),a=n(51)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(19),i=n(21),o=n(49);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){t.exports=n(25)},function(t,e,n){var r=n(19),i=n(37),o=n(10)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r=n(68),i=n(10)("iterator"),o=n(33);t.exports=n(1).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e){},function(t,e,n){n(180);for(var r=n(8),i=n(25),o=n(33),a=n(10)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c1&&void 0!==arguments[1]?arguments[1]:{},i=n.i(r.a)(t),o=new i(e);t.prototype.$Lazyload=o,t.directive("lazy",{bind:o.add.bind(o),update:o.update.bind(o),componentUpdated:o.lazyLoadHandler.bind(o),unbind:o.remove.bind(o)})}}},,function(t,e,n){"use strict";var r=n(43),i=n(243),o=n(225),a=n.n(o);r.a.use(i.a),e.a=new i.a({routes:[{path:"/",name:"Index",component:a.a,children:[{path:"",name:"DocerTpl",component:function(t){n.e(2).then(function(e){t(n(255))}.bind(null,n)).catch(n.oe)}}]},{path:"/wpp",name:"wpp",component:function(t){n.e(3).then(function(e){t(n(259))}.bind(null,n)).catch(n.oe)}},{path:"/wpptheme",name:"wpptheme",component:function(t){n.e(6).then(function(e){t(n(260))}.bind(null,n)).catch(n.oe)}},{path:"/mytpl",name:"myTpl",component:function(t){n.e(4).then(function(e){t(n(257))}.bind(null,n)).catch(n.oe)}},{path:"/preview",name:"preview",component:function(t){n.e(0).then(function(e){t(n(251))}.bind(null,n)).catch(n.oe)}},{path:"/searchResult",name:"searchResult",component:function(t){n.e(1).then(function(e){t(n(253))}.bind(null,n)).catch(n.oe)}},{path:"/guide/",name:"guide",component:function(t){n.e(9).then(function(e){t(n(256))}.bind(null,n)).catch(n.oe)}},{path:"/theme",name:"theme",component:function(t){n.e(7).then(function(e){t(n(258))}.bind(null,n)).catch(n.oe)}}]})},function(t,e,n){"use strict";var r=n(43),i=n(4),o=n(108),a=n(109),s=n(110),c=n(113),u=n(112),l=n(111),f=n(114),d=n(118),h=n(119),p=n(121),_=n(115),m=n(120),v=(n(107),n(116)),g=n(117);r.a.use(i.c);e.a=new i.c.Store({actions:o,getters:a,modules:{login:c.a,app:s.a,guide:u.a,preview:d.a,mytpl:f.a,recent:h.a,titleBar:p.a,nav:_.a,search:m.a,download:l.a,payment:v.a,previewItem:g.a},strict:!1,plugins:[]})},function(t,e,n){function r(t){n(197)}var i=n(2)(n(122),n(231),r,null,null);t.exports=i.exports},function(t,e,n){"use strict";var r=n(22),i=n.n(r),o=n(6),a=n.n(o),s=n(4),c=n(5);e.a={data:function(){return{}},methods:a()({},n.i(s.b)(["proceedPayment","upgradeVIP"]),{buyItem:function(t){if(!this.hasLogin)return c.a.qingLogin();this.proceedPayment(i()({},t,{appClass:this.appClass}))},buyVIP:function(t){if(!this.hasLogin)return c.a.qingLogin();this.upgradeVIP(i()({},t,{isDocerVip:this.isDocerVip&&!t.renewDocerVip,appClass:this.appClass}))}}),computed:a()({},n.i(s.a)(["isDocerVip","appClass","hasLogin"]))}},function(t,e,n){"use strict";function r(t,e,r,i){var o="&pnum="+r+"&guid="+i.guid+"&hdid="+i.hdid+"&uuid="+i.uuid+"&version="+i.version+"&channel="+i.dist,a="";for(var s in e)a+="&"+s+"="+(e[s]||"");var c=""+t+o+a+"&p9="+window.app.userId+"&p10="+(window.app.tag||"");n.i(u.e)(f+window.btoa(m(c+"&_t="+(new Date).getTime())))}function i(t,e,n){return window.external&&window.external.appInfo?r(t,e,n,window.external.appInfo):d().then(function(i){r(t,e,n,i)})}var o=n(17),a=n.n(o),s=n(7),c=n.n(s),u=n(5),l=new window.Image,f="http://info.wps.cn/wpsv6internet/infos.ads?v=D1S1E1&d=",d=function(){return new c.a(function(t){window.cefQuery({request:'cefInitialize("")',persistent:!1,onSuccess:function(){window.external&&window.external.appInfo&&t(window.external.appInfo)}})})},h=String.fromCharCode,p=function(t){var e=void 0;return t.length<2?(e=t.charCodeAt(0),e<128?t:e<2048?h(192|e>>>6)+h(128|63&e):h(224|e>>>12&15)+h(128|e>>>6&63)+h(128|63&e)):(e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320),h(240|e>>>18&7)+h(128|e>>>12&63)+h(128|e>>>6&63)+h(128|63&e))},_=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,m=function(t){return String(t).replace(_,p)};e.a={send:function(t){i("dm=/wps/app/v2&action=new_file_recommend",t,a()(t).length)},sendPrettify:function(t,e){var n=window.external.appInfo||{};e=e||"";var r="userid="+e+"&guid="+n.guid+"&plat=pc&ver="+n.version+"&app="+t.app+"&func=new_file_recommend&type=template&mid="+t.mid+"&op="+t.op+"&p1="+(t.p1||"")+"&p2="+(t.p2||"");l.src="http://info.meihua.docer.com/behavior/infos.ads?d="+window.btoa(m(r+"&_t="+(new Date).getTime()))}}},function(t,e,n){function r(t){n(205)}var i=n(2)(n(135),n(240),r,null,null);t.exports=i.exports},function(t,e,n){"use strict";var r=n(6),i=n.n(r),o=n(4),a=n(9);n.n(a);e.a={computed:i()({},n.i(o.a)(["csourceMapping","selectedFirstLabel","selectedSecondLabel","appClass"]),{getFirstLabel:function(){return this.selectedFirstLabel},getSecondLabel:function(){return this.selectedSecondLabel===a.NAV.ALL_LABEL?null:this.selectedSecondLabel},mapLabelFirst_Second:function(){var t=this.csourceMapping[this.selectedFirstLabel]||"";return[t,this.selectedSecondLabel===a.NAV.ALL_LABEL?"all":this.csourceMapping[(t?this.selectedFirstLabel+".":"")+this.selectedSecondLabel]||""]},getTagPosition:function(){return this.mapLabelFirst_Second[0]?this.mapLabelFirst_Second[0]+"_"+this.mapLabelFirst_Second[1]:""+this.mapLabelFirst_Second[1]},getTag:function(){return this.getSecondLabel?this.getFirstLabel+"."+this.getSecondLabel:this.getFirstLabel},getCsourceByTag:function(){return window.app.userProfession||"general"},getIDToFolderId:function(){return this.getCsourceByTag+"_"+this.getTagPosition}})}},function(t,e,n){function r(t){n(206)}var i=n(2)(n(137),n(241),r,"data-v-d5e01554",null);t.exports=i.exports},function(t,e,n){function r(t){n(193)}var i=n(2)(n(130),n(227),r,"data-v-20ca839b",null);t.exports=i.exports},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"d",function(){return a}),n.d(e,"c",function(){return s}),n.d(e,"b",function(){return c});var r=n(0),i=n(30),o=function(t){return n.i(i.a)(r.b.CHANNEL_USER_STATE_CHANGED,function(e){t(e)})},a=function(t){n.i(i.b)(r.b.CHANNEL_PAYMENT_STATE_CHANGED,t)},s=function(t){return n.i(i.a)(r.b.CHANNEL_PAYMENT_STATE_CHANGED,t)},c=function(t){return n.i(i.a)(r.b.CHANNEL_VIP_STATUS_CHANGE,function(e){t(e)})}},function(t,e,n){function r(t){n(198)}var i=n(2)(n(125),n(232),r,"data-v-5b37f988",null);t.exports=i.exports},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"d",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a});var r=function(t){n.e(5).then(function(e){t(n(250))}.bind(null,n)).catch(n.oe)},i=function(t){n.e(8).then(function(e){t(n(252))}.bind(null,n)).catch(n.oe)},o=function(t){n.e(11).then(function(e){t(n(249))}.bind(null,n)).catch(n.oe)},a=function(t){n.e(10).then(function(e){t(n(254))}.bind(null,n)).catch(n.oe)}},function(t,e,n){function r(t){n(203)}var i=n(2)(n(132),n(237),r,"data-v-9bac7408",null);t.exports=i.exports},,function(t,e,n){"use strict";var r=n(17),i=n.n(r),o=n(66),a=n.n(o),s=n(67),c=n.n(s),u=n(64),l=n(103),f="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",d=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],h={rootMargin:"0px",threshold:0};e.a=function(t){return function(){function e(t){var r=t.preLoad,i=t.error,o=t.throttleWait,s=t.preLoadTop,c=t.dispatchEvent,l=t.loading,p=t.attempt,_=t.silent,m=t.scale,v=t.listenEvents,g=(t.hasbind,t.filter),y=t.adapter,E=t.observer,w=t.observerOptions;a()(this,e),this.version="__VUE_LAZYLOAD_VERSION__",this.mode=u.a.event,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:_||!0,dispatchEvent:!!c,throttleWait:o||400,preLoad:r||1.3,preLoadTop:s||0,error:i||f,loading:l||f,attempt:p||3,scale:m||n.i(u.b)(m),ListenEvents:v||d,hasbind:!1,filter:g||{},adapter:y||{},observer:!!E,observerOptions:w||h},this._initEvent(),this.lazyLoadHandler=n.i(u.c)(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?u.a.observer:u.a.event)}return c()(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.i(u.d)(this.options,t)}},{key:"performance",value:function(){var t=[];return this.ListenerQueue.map(function(e){t.push(e.performance())}),t}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),u.e&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(e,r,o){var a=this;if(n.i(u.f)(this.ListenerQueue,function(t){return t.el===e}))return this.update(e,r),t.nextTick(this.lazyLoadHandler);var s=this._valueFormatter(r.value),c=s.src,f=s.loading,d=s.error;t.nextTick(function(){c=n.i(u.g)(e,a.options.scale)||c,a._observer&&a._observer.observe(e);var s=i()(r.modifiers)[0],h=void 0;s&&(h=o.context.$refs[s],h=h?h.$el||h:document.getElementById(s)),h||(h=n.i(u.h)(e));var p=new l.a({bindType:r.arg,$parent:h,el:e,loading:f,error:d,src:c,elRenderer:a._elRenderer.bind(a),options:a.options});a.ListenerQueue.push(p),u.e&&(a._addListenerTarget(window),a._addListenerTarget(h)),a.lazyLoadHandler(),t.nextTick(function(){return a.lazyLoadHandler()})})}},{key:"update",value:function(e,r){var i=this,o=this._valueFormatter(r.value),a=o.src,s=o.loading,c=o.error;a=n.i(u.g)(e,this.options.scale)||a;var l=n.i(u.i)(this.ListenerQueue,function(t){return t.el===e});l&&l.update({src:a,loading:s,error:c}),this._observer&&this._observer.observe(e),this.lazyLoadHandler(),t.nextTick(function(){return i.lazyLoadHandler()})}},{key:"remove",value:function(t){if(t){this._observer&&this._observer.unobserve(t);var e=n.i(u.i)(this.ListenerQueue,function(e){return e.el===t});e&&(this._removeListenerTarget(e.$parent),this._removeListenerTarget(window),n.i(u.j)(this.ListenerQueue,e)&&e.destroy())}}},{key:"removeComponent",value:function(t){t&&(n.i(u.j)(this.ListenerQueue,t),this._observer&&this._observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this._removeListenerTarget(t.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(t){var e=this;u.k||t!==u.a.observer||(t=u.a.event),this.mode=t,t===u.a.event?(this._observer&&(this.ListenerQueue.forEach(function(t){e._observer.unobserve(t.el)}),this._observer=null),this.TargetQueue.forEach(function(t){e._initListen(t.el,!0)})):(this.TargetQueue.forEach(function(t){e._initListen(t.el,!1)}),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(t){if(t){var e=n.i(u.i)(this.TargetQueue,function(e){return e.el===t});return e?e.childrenCount++:(e={el:t,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===u.a.event&&this._initListen(e.el,!0),this.TargetQueue.push(e)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(t){var e=this;this.TargetQueue.forEach(function(n,r){n.el===t&&(--n.childrenCount||(e._initListen(n.el,!1),e.TargetQueue.splice(r,1),n=null))})}},{key:"_initListen",value:function(t,e){var n=this;this.options.ListenEvents.forEach(function(r){return u.l[e?"on":"off"](t,r,n.lazyLoadHandler)})}},{key:"_initEvent",value:function(){var t=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(e,n){t.Event.listeners[e].push(n)},this.$once=function(e,n){function r(){i.$off(e,r),n.apply(i,arguments)}var i=t;t.$on(e,r)},this.$off=function(e,r){if(!r)return void(t.Event.listeners[e]=[]);n.i(u.j)(t.Event.listeners[e],r)},this.$emit=function(e,n,r){t.Event.listeners[e].forEach(function(t){return t(n,r)})}}},{key:"_lazyLoadHandler",value:function(){var t=!1;this.ListenerQueue.forEach(function(e,n){e.state.loaded||(t=e.checkInView())&&e.load()})}},{key:"_initIntersectionObserver",value:function(){var t=this;u.k&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach(function(e){t._observer.observe(e.el)}))}},{key:"_observerHandler",value:function(t,e){var n=this;t.forEach(function(t){t.isIntersecting&&n.ListenerQueue.forEach(function(e){if(e.el===t.target){if(e.state.loaded)return n._observer.unobserve(e.el);e.load()}})})}},{key:"_elRenderer",value:function(t,e,n){if(t.el){var r=t.el,i=t.bindType,o=void 0;switch(e){case"loading":o=t.loading;break;case"error":o=t.error;break;default:o=t.src}if(i?r.style[i]="url("+o+")":r.getAttribute("src")!==o&&r.setAttribute("src",o),r.setAttribute("lazy",e),this.$emit(e,t,n),this.options.adapter[e]&&this.options.adapter[e](t,this.options),this.options.dispatchEvent){var a=new CustomEvent(e,{detail:t});r.dispatchEvent(a)}}}},{key:"_valueFormatter",value:function(t){var e=t,r=this.options.loading,i=this.options.error;return n.i(u.m)(t)&&(!t.src&&this.options.silent,e=t.src,r=t.loading||this.options.loading,i=t.error||this.options.error),{src:e,loading:r,error:i}}}]),e}()}},function(t,e,n){"use strict";var r=n(66),i=n.n(r),o=n(67),a=n.n(o),s=n(64),c={},u=function(){function t(e){var n=e.el,r=e.src,o=e.error,a=e.loading,s=e.bindType,c=e.$parent,u=e.options,l=e.elRenderer;i()(this,t),this.el=n,this.src=r,this.error=o,this.loading=a,this.bindType=s,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=u,this.filter(),this.initState(),this.performanceData={init:Date.now(),loadStart:null,loadEnd:null},this.rect=n.getBoundingClientRect(),this.$parent=c,this.elRenderer=l,this.render("loading",!1)}return a()(t,[{key:"initState",value:function(){this.state={error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,n=t.loading,r=t.error,i=this.src;this.src=e,this.loading=n,this.error=r,this.filter(),i!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.topthis.options.preLoadTop&&this.rect.left0}},{key:"filter",value:function(){var t=this;n.i(s.n)(this.options.filter).map(function(e){t.options.filter[e](t,t.options)})}},{key:"renderLoading",value:function(t){var e=this;n.i(s.o)({src:this.loading},function(n){e.render("loading",!1),t()},function(n){t(n),e.options.silent})}},{key:"load",value:function(){var t=this;return this.attempt>this.options.attempt-1&&this.state.error?void this.options.silent:this.state.loaded||c[this.src]?(this.state.loaded=!0,this.render("loaded",!0)):void this.renderLoading(function(){t.attempt++,t.record("loadStart"),n.i(s.o)({src:t.src},function(e){t.naturalHeight=e.naturalHeight,t.naturalWidth=e.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),c[t.src]=1},function(){t.state.error=!0,t.state.loaded=!1,t.render("error",!1)})})}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}();e.a=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={HELLO:"Hello",WORLD:"World"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"NAV",function(){return r}),n.d(e,"TEMPLATES",function(){return i}),n.d(e,"FOLDER_DETAIL",function(){return o}),n.d(e,"THEME_LIST",function(){return a}),n.d(e,"MY_TEMPLATE_LABELS",function(){return s}),n.d(e,"GUIDE",function(){return c}),n.d(e,"DOWNLOAD_LABELS",function(){return u}),n.d(e,"INDICATORS",function(){return l}),n.d(e,"ERROR",function(){return f}),n.d(e,"TITLE_BAR",function(){return d}),n.d(e,"PREVIEW",function(){return h});var r={RECOMMEND_LABEL:"精选推荐",USUAL_LABEL:"常用标签:",SORT_LABEL:"分类导航:",ALL_LABEL:"全部",MORE_LABEL:"更多选择"},i={MY_TEMPLATES:"我的模板",DOCER_TEMPLATES:"稻壳模板",RECOMMENDED_FOR_YOU:"收藏与常用",YOU_MAY_NEED:"你可能会用"},o={ALREADY:"已选择",ADD:"添加到我的模板",PART:"份"},a={TITLE:"专题模板",ALL_TEMPLATES:"全部模板",ALL_THEMES:"全部专题",CREATE_MY_CATEGORY:"创建我的分类",ADD_JOB_TITLE_TAG:"添加身份标签",PLACEHOLDER:"请输入或选择名称",SHOW_ALL_THEMES:"查看全部专题",CUSTOMIZED:"自定义",CREATE_FAILED:"创建失败",DOCER_VIP_FREE:"稻壳会员免费",REMAIN_FILES:"还有{0}份{1}资源,点击查看",REMAINS:"以下是{0}份{1}相关资源",COLLAPSE_FILES:"点击收起{0}资源",WPS:"【文字】",ET:"【表格】",WPP:"【演示】"},s={MY_FAVOURITE:"已收藏",HISTORY:"最近使用",MY_PURCHASES:"已购买",CREATE_TEMPLATE:"添加我的模板",UPLOAD_YOUR_FILE_AS_TEMPLATE:"上传你的常用文档作为模板",MY_TEMPLATES:"收藏 | 已购 | 最近使用的模板",MY_TEMPLATES_DESC:"“规范通用版本 涵盖模块全”",DOCER_RECOMMENDED_FOR_YOU:"稻壳为你精选模板{0}份",UPLOAD_LABELS:"共{0}份文档正在上传,{1}份成功,{2}份失败"},c={H1:"选择与你相关的标签,获取WPS专属模板定制",H2:"“选择与你相关的标签”",H3:"“继续选择细化分类,完成定制”",DESC:"点击这里自定义角色",SKIP:"跳过",CHOOSE_FOLLOWING_TAGS:"选择下方标签",CHOOSE_YOUR_CAREER:"请选择你的工作内容",BACK:"返回上一步",DONE:"选好了",FINISHED:"完成定制",START:"开始定制",OTHER:"其他",INPUT_CARRER:"请输入标签",ADD_OTHER_SUCCESS_1:"提交成功,我们会尽快补充相关的资源",ADD_OTHER_SUCCESS_2:"在此之前,你可以先使用我们提供的通用资源",KNOW_BTN:"知道了",CHOOSE_YOUR_JOB_TITLE:"请选择你的身份标签",CAREER_OR_INSDUSTRY:"职业/行业",DETAIL_JOB_TITLE:"细分岗位",NOT_NOW:"暂不需要",OK:"确定",ARCHIVE_FOLDERS:"右侧 {0} 份【{1}】最近频繁打开使用,是否",DOCER_RECOMMEND_TITLE:"{0}必备【{1}】,大家都在用",ADD_AS_TEMPLATE:"添加为模板",OTHER_JOBS:"其他职业",TELL_US_YOUR_OCCUPATION:"告诉我们你的职业",ADD_ERROR:"添加失败",YOUR_MAJOR:"你的职业是{0}?",SUGGESTIONS:"推荐你到【{0}】页面",VIEW_MORE:"查看更多类似资源",GOT_IT:"知道了",NO:"不用了",GUIDE_TIP_1:"添加你的身份标签",GUIDE_TIP_2:"这里可以切换身份标签",GUIDE_TIP_3:"当前选中",CONTACT_US:"反馈问题",FEED_BACK:"使用上遇到问题"},u={TITLE:"提示",ERROR_MESSAGE:"下载文件失败!",RETRY_MESSAGE:"再试一次",IN_PROGRESS:"正在下载,请稍后...",OK:"确定"},l={FIRST_PAGE:"首页",LAST_PAGE:"上一页",NEXT_PAGE:"下一页",FINAL_PAGE:"末页"},f={NETWORK_ERROR:"网络异常,请稍后重试",NETWORK_ERROR_TIPS:"网络连接出错啦"},d={CATEGORY:"模板分类",CHANGE_JOB:"切换身份标签",ADD_JOB:"添加身份标签"},h={YOU_MAY_LIKE:"你可能会喜欢",ADD_TO_MY_TEMPLATE:"添加到我的模板",DELETE_THIS_TEMPLATE:"删除这个模板",DOWNLOAD_NOW:"立即使用",DOCER_VIP_FREE:"稻壳会员免费下载",DOCER_VIP_DISCOUNT:"稻壳会员折扣",FREE:"免费",PRICE:"价格:",DISCOUNT:"折扣:",SALE:"限时秒杀: ",HAS_BOUGHT:"已购",VIP_DISCOUNT:"会员折扣"};e.default={APP_NAME:"新建",NEW_FILE:"新建文档",LOADING:"正在加载...",ERROR_RETRY:"加载失败,点击重试",OK:"确定",CANCEL:"取消",MORE:"更多",BACK:"返回",PAGE:"页数",DOCER_TEMP:"Docer模板",MY_SAME:"我的同类模板",EDIT:"编辑",ALL_CHECKED:"全选",TOTAL_COUNT:"共{0}份",SHOW_MORE_CATEGORIES:"展开导航查看更多分类",SWITCH_JOB_TITLE:"这里可以切换身份标志",ALL_TEMPLATES_SELECTED:"当前选中全部模板",OPEN_FILE:"打开文档",CREATE_BACKUP:"创建副本",DELETE:"删除",NO_LOCAL_FILES_FOUND:"最近暂无使用文档",MINIMUM:"最小化",MAXIMUM:"最大化",RESTORE:"还原",CLOSE:"关闭",SETTINGS:"设置",NEW_CONTENT:"有新添加的模板",SINGLE_FILE:"单份"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=(n(87),n(86)),i=n(43),o=n(90),a=n.n(o),s=n(88),c=n(89);new i.a({el:"#app",router:s.a,store:c.a,template:"",components:{App:a.a}}),i.a.use(r.a,{preLoad:1.2,error:"./assets/img/img-fail-reload.png",loading:"./assets/img/wps-loading-48.gif",attempt:1,listenEvents:["webkitTransitionEnd","resize","scroll"],throttleWait:50}),i.a.config.productionTip=!1,window._ESC_HOOKS=[]},function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.collapsed,r=void 0===e||e,i=(t.transformer,t.mutationTransformer),s=void 0===i?function(t){return t}:i;return function(t){var e=n.i(a.o)(t.state);t.subscribe(function(t,i){if("undefined"!=typeof console){var c=n.i(a.o)(i),u=new Date,l=" @ "+o(u.getHours(),2)+":"+o(u.getMinutes(),2)+":"+o(u.getSeconds(),2)+"."+o(u.getMilliseconds(),3),f=(s(t),"mutation "+t.type+l),d=r?console.groupCollapsed:console.group;try{d.call(console,f)}catch(t){}e=c}})}}function i(t,e){return new Array(e+1).join(t)}function o(t,e){return i("0",e-t.toString().length)+t}e.a=r;var a=n(3)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"togglePreview",function(){return g}),n.d(e,"toggleGuide",function(){return y}),n.d(e,"setAppType",function(){return E}),n.d(e,"setIsFullScreen",function(){return w}),n.d(e,"insertLocalFile",function(){return b}),n.d(e,"insertLocalFileCopy",function(){return S}),n.d(e,"resetCustomizedData",function(){return T}),n.d(e,"setHasClickedFunction",function(){return L}),n.d(e,"exitWithConcern",function(){return A}),n.d(e,"setClickSettings",function(){return C}),n.d(e,"checkHasClickSettings",function(){return O}),n.d(e,"retrieveUserJobs",function(){return I}),n.d(e,"retrieveLocalJobs",function(){return x}),n.d(e,"addToMyFolder",function(){return P}),n.d(e,"removeFromMyFolder",function(){return k}),n.d(e,"retrieveUserFoldersById",function(){return F}),n.d(e,"resetUserFolders",function(){return M}),n.d(e,"addUploadFolder",function(){return D}),n.d(e,"updateUploadFolder",function(){return N}),n.d(e,"removeUploadFolder",function(){return U}),n.d(e,"retrieveAllThemes",function(){return B}),n.d(e,"retrieveAllCats",function(){return H}),n.d(e,"retrieveSpecialRecommend",function(){return j}),n.d(e,"retrieveUserInfo",function(){return V}),n.d(e,"retrieveAccountsTempListIds",function(){return G}),n.d(e,"setUserInfo",function(){return W}),n.d(e,"changeUserState",function(){return $}),n.d(e,"retrieveMyFavourite",function(){return Y}),n.d(e,"retrieveMyPurchases",function(){return K}),n.d(e,"retrieveMyHistory",function(){return J}),n.d(e,"getDoverVipInfo",function(){return z}),n.d(e,"getDocerVipMonthPrice",function(){return q}),n.d(e,"showOpenVideo",function(){return Q}),n.d(e,"checkAndResetJob",function(){return X}),n.d(e,"setToastMessage",function(){return Z}),n.d(e,"commitJobInfo",function(){return tt}),n.d(e,"setMoreJob",function(){return et}),n.d(e,"toggleNewDot",function(){return nt}),n.d(e,"setNewDot",function(){return rt}),n.d(e,"addFolderNewIcon",function(){return it}),n.d(e,"removeFolderNew",function(){return ot}),n.d(e,"setFolderNewIcon",function(){return at}),n.d(e,"setFolderNewList",function(){return st}),n.d(e,"setShowConfirm",function(){return ct}),n.d(e,"setWideScreen",function(){return ut}),n.d(e,"setIsSmallScreen",function(){return lt}),n.d(e,"retrieveCsourceMapping",function(){return ft}),n.d(e,"editFolderThumbnail",function(){return dt}),n.d(e,"setLoadingStatus",function(){return ht});var r=n(27),i=n.n(r),o=n(22),a=n.n(o),s=n(18),c=n.n(s),u=n(7),l=n.n(u),f=n(11),d=n(15),h=n(26),p=n(0),_=n(3),m=n(23),v=n(9),g=(n.n(v),function(t){var e=t.commit;t.dispatch;e(f._45)}),y=function(t){var e=t.commit;t.dispatch;e(f._46)},E=function(t,e){(0,t.commit)(f._44,e)},w=function(t,e){(0,t.commit)(f._48,e)},b=function(t,e){(0,t.commit)(f._53,e)},S=function(t,e){(0,t.commit)(f._54,e)},T=function(t){(0,t.commit)(f._61)},L=function(t,e){(0,t.commit)(f._75,e),e&&h.a.set(p.a.LOCAL_STORAGE_IS_CLIECKED_SETTINGS,1)},R=function(){return new l.a(function(t){h.a.get(p.a.LOCAL_STORAGE_NEW_BLANK_COUNT).then(function(e){t(e&&+e.value||0)})})},A=function(t,e){if(e)return h.a.set(p.a.LOCAL_STORAGE_NEW_BLANK_COUNT,e);R().then(function(t){t++,h.a.set(p.a.LOCAL_STORAGE_NEW_BLANK_COUNT,t)})},C=function(){h.a.set(p.a.LOCAL_STORAGE_IS_CLIECKED_SETTINGS,1)},O=function(){return new l.a(function(t){R().then(function(e){e>2&&h.a.get(p.a.LOCAL_STORAGE_IS_CLIECKED_SETTINGS).then(function(e){e&&e.value||t(0)})})})},I=function(t,e){var n=t.commit;t.dispatch;return n(f._90),d.a.get("workflow").getJobs(e).then(function(t){if("ok"!==t.result)return void n(f._93);n(f._91,t.data||[])}).catch(function(t){n(f._93)})},x=function(t,e){(0,t.commit)(f._91,e)},P=function(t,e){(0,t.commit)(f._50,e)},k=function(t,e){(0,t.commit)(f._51,e)},F=function(t){var e=t.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e(f._61),d.a.get("workflow").getWorkflowById({data:{jobid:0,offset:n.offset||0,limit:n.limit||100}}).then(function(t){if("ok"!==t.result||!t.data)return void e(f._63);e(f._62,t.data.folders||[])}).catch(function(t){e(f._63)})},M=function(t){(0,t.commit)(f._62,[])},D=function(t,e){(0,t.commit)(f._65,e)},N=function(t,e,n){(0,t.commit)(f._66,e,n)},U=function(t,e){(0,t.commit)(f._67,e)},B=function(t,e){var n=t.commit;n(f._58);var r=c()(e);h.a.get(r).then(function(t){if(t&&t.value&&+t.stamp>Date.now())return"string"==typeof t.value&&(t.value=JSON.parse(t.value)),n(f._59,t.value),new l.a(function(t,e){t("ok")});_.j.send(m.a.httpStr+"://api.vas.wpscdn.cn/docer/newdoc/v3/recommend/more_special?callback=jsonp_all_theme_callback&format=jsonp&mb_app="+e.mb_app+"&tag="+e.tag,{callbackName:"jsonp_all_theme_callback",onSuccess:function(t){if("ok"!==t.result||!t.data)return n(f._60),new l.a(function(t,e){e("err")});var e=t.data;return n(f._59,e),e.forEach(function(t){t.searchType=t.type}),h.a.set(r,e),new l.a(function(t,e){t("ok")})},onTimeout:function(){return n(f._60),new l.a(function(t,e){e("err")})}})})},H=function(t,e){var n=t.commit;n(f._52),n(f._55);var r=c()(e);h.a.get(r).then(function(t){if(t&&t.value&&+t.stamp>Date.now())return"string"==typeof t.value&&(t.value=JSON.parse(t.value)),n(f._56,t.value),new l.a(function(t,e){t("ok")});_.j.send(m.a.httpStr+"://api.vas.wpscdn.cn/docer/newdoc/v3/recommend/docer_recommend?callback=jsonp_cat_callback&format=jsonp&job="+e.job+"&mb_app="+e.mb_app,{callbackName:"jsonp_cat_callback",onSuccess:function(t){if("ok"!==t.result||!t.data)return n(f.M),new l.a(function(t,e){e("err")});var e=t.data;return n(f._56,e),h.a.set(r,e),new l.a(function(t,e){t("ok")})},onTimeout:function(){return n(f.M),new l.a(function(t,e){e("err")})}})})},j=function(t,e){var n=t.commit,r=t.state;n(f._52);var i=p.a.LOCAL_STORAGE_LAST_REC+r.app.appType;h.a.get(i).then(function(t){t&&t.value&&+t.stamp>Date.now()?("string"==typeof t.value&&(t.value=JSON.parse(t.value)),n(f._56,t.value),n(f._55,t.value.ad)):d.c.getSpecialRecommend(a()({callbackName:"jsonp_cat_callback"},e)).then(function(t){if("ok"!==t.result||!t.data)return void n(f.M);n(f._56,t.data),h.a.set(i,t.data,Date.now()+18e5),n(f._55,t.data.ad)}).catch(function(t){n(f.M,t)})})},V=function(t,e){var n=t.commit;n(f._77),d.a.get("user").allinfo({data:e}).then(function(t){if("ok"!==t.result||!t.data)return void n(f._79);n(f._78,t.data)}).catch(function(t){n(f._79)})},G=function(t,e){var n=t.commit;return n(f._81),d.a.get("myAccount").getBuyedIdsAndAddedIds({data:e}).then(function(t){if("ok"!==t.result)return n(f._83),new l.a(function(e,n){n(t)});t.data&&(t.data.buy_ids&&n(f._82,t.data.buy_ids),n(f._88,t.data.folder_mb_ids))}).catch(function(t){n(f._83)})},W=function(t,e){(0,t.commit)(f._80,e)},$=function(t,e){(0,t.commit)(f._76,e)},Y=function(t,e){var n=t.commit;return n(f.V),new l.a(function(t,r){d.a.get("my").queryMyCollect({data:e}).then(function(e){return"no_login"===e.msg?(n(f.W,[]),void t([])):"ok"===e.result&&e.data?(n(f.W,e.data),void t(e.data)):void n(f.X)}).catch(function(t){n(f.X),r(t)})})},K=function(t,e){var n=t.commit;return n(f._1),new l.a(function(t,r){d.a.get("my").queryMyBuyed({data:e}).then(function(e){return"no_login"===e.msg?(n(f._2,[]),void t([])):"ok"===e.result&&e.data?(n(f._2,e.data),void t(e.data)):(n(f._3),void t([]))}).catch(function(t){n(f._3),r(t)})})},J=function(t,e){var n=t.commit;return n(f.Y),new l.a(function(t,r){d.a.get("my").queryMyUsed({data:e}).then(function(e){return"no_login"===e.msg?(n(f.Z,[]),void t([])):"ok"===e.result&&e.data?(n(f.Z,e.data),void t(e.data)):(n(f._0),void t([]))}).catch(function(t){n(f._0),r(t)})})},z=function(t){var e=t.commit,n={csource:"docer",payconfig:"docer"};d.a.get("payInfo").buyVipMonthPrice({data:n}).then(function(t){"ok"===t.result&&t.data&&e(f._47,t.data)}).catch(function(){})},q=function(t,e){var r=(t.commit,"-");try{r=n.i(_.r)(e.type[0].discount[12].total_fee/12,1)}catch(t){}return r},Q=function(t,e){(0,t.commit)(f._16,e)},X=function(t){var e=(t.commit,t.state);t.dispatch;return new l.a(function(t,n){h.a.get(p.a.LOCAL_STORAGE_CHOSE_CAREER).then(function(r){if(r&&r.value&&""!==r.value)try{var i=JSON.parse(r.value),o=i.map(function(t){return t.name});d.a.get("workflow").setJobs({data:{name:o.join(":"),mb_app:e.app.appType}}).then(function(e){h.a.clear(p.a.LOCAL_STORAGE_CHOSE_CAREER),t()})}catch(t){n()}else t()})})},Z=function(t,e){var n=t.commit;n(f._57,e),e.show&&setTimeout(function(){n(f._57,{show:!1})},3e3)},tt=function(t,e){var n=t.commit,r=t.dispatch,o=t.state,a=[],s=0;return Array.isArray(e)&&e[1]&&"number"==typeof e[1]&&(s=e[1]||0,e=e[0]),"string"==typeof e&&(a=a.concat(e.split(":").map(function(t){return{id:t,name:t}}))),"object"===(void 0===e?"undefined":i()(e))&&(a=e),s?n(f._91,a):n(f._92,a),new l.a(function(t,e){d.a.get("workflow").setJobs({data:{name:a.map(function(t){return t.name}).join(":"),mb_app:o.app.appType,format:s}}).then(function(e){e&&"ok"===e.result||(e&&"error"===e.result&&"no_login"===e.msg?h.a.set(p.a.LOCAL_STORAGE_CHOSE_CAREER,a):(h.a.set(p.a.LOCAL_STORAGE_CHOSE_CAREER,a),r("setToastMessage",{message:v.ERROR.NETWORK_ERROR,status:"error",show:!0}))),t()}).catch(function(){r("setToastMessage",{message:v.ERROR.NETWORK_ERROR,status:"error",show:!0})})})},et=function(t,e){t.commit;return new l.a(function(t,n){d.a.get("workflow").moreOtherJob({data:{name:e}}).then(function(e){e&&"ok"===e.result?t(e):n()}).catch(function(t){n(t)})})},nt=function(t,e){(0,t.commit)(f._64,e)},rt=function(t,e){t.commit;(0,t.dispatch)("toggleNewDot",e.hasNew),e.userId&&(e.hasNew?h.a.set(p.a.LOCAL_STORAGE_HAS_NEW_DOT+e.userId,e.hasNew):h.a.clear(p.a.LOCAL_STORAGE_HAS_NEW_DOT+e.userId))},it=function(t,e){(0,t.commit)(f._68,e)},ot=function(t,e){(0,t.commit)(f._70,e)},at=function(t,e){t.commit,t.dispatch;h.a.set(p.a.LOCAL_STORAGE_FOLDER_HAS_NEW+e.userId,e.hasNewList)},st=function(t,e){(0,t.commit)(f._69,e)},ct=function(t,e){(0,t.commit)(f._71,e)},ut=function(t,e){(0,t.commit)(f._72,e)},lt=function(t,e){(0,t.commit)(f._49,e)},ft=function(t,e){var n=t.commit;d.c.getCsource(a()({callbackName:"jsonp_csource_mapping"},e)).then(function(t){"ok"===t.result&&t.data&&n(f._73,t.data)}).catch(function(t){})},dt=function(t,e){t.commit;d.a.get("folder").editFolderThumbnail({data:{folder_id:e.folder_id,folder_cover:e.folder_cover}}).then(function(t){}).catch(function(t){})},ht=function(t,e){(0,t.commit)(f._74,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"appTypeName",function(){return i}),n.d(e,"appType",function(){return o}),n.d(e,"appClass",function(){return a}),n.d(e,"hasLogin",function(){return s}),n.d(e,"userJobs",function(){return c}),n.d(e,"docerViewStatus",function(){return u}),n.d(e,"csourceMapping",function(){return l}),n.d(e,"currentJob",function(){return f}),n.d(e,"viewStatus",function(){return d}),n.d(e,"hasClickedFunction",function(){return h}),n.d(e,"userFolders",function(){return p}),n.d(e,"isGeneral",function(){return _}),n.d(e,"isSmallScreen",function(){return m}),n.d(e,"myFolders",function(){return v}),n.d(e,"uploadInProgressFolders",function(){return g}),n.d(e,"getDownloadStatus",function(){return y}),n.d(e,"getDownloadTplId",function(){return E}),n.d(e,"showDownload",function(){return w}),n.d(e,"getDownloadProgress",function(){return b}),n.d(e,"downloadOutOfTimes",function(){return S}),n.d(e,"showPreview",function(){return T}),n.d(e,"isFullScreen",function(){return L}),n.d(e,"categoryTags",function(){return R}),n.d(e,"showGuide",function(){return A}),n.d(e,"career",function(){return C}),n.d(e,"industry",function(){return O}),n.d(e,"jobtitle",function(){return I}),n.d(e,"showGuidePopup",function(){return x}),n.d(e,"hasTriedToShowPopup",function(){return P}),n.d(e,"currentFolderId",function(){return k}),n.d(e,"currentCategoryId",function(){return F}),n.d(e,"groupedList",function(){return M}),n.d(e,"currentThemeList",function(){return D}),n.d(e,"allThemesList",function(){return N}),n.d(e,"themeAddInfo",function(){return U}),n.d(e,"localtags",function(){return B}),n.d(e,"isCEF",function(){return H}),n.d(e,"myTemplateTitles",function(){return j}),n.d(e,"purchasesIds",function(){return V}),n.d(e,"addedIds",function(){return G}),n.d(e,"myFavList",function(){return W}),n.d(e,"historyList",function(){return $}),n.d(e,"purchasesList",function(){return Y}),n.d(e,"isDocerVip",function(){return J}),n.d(e,"isSuperVip",function(){return z}),n.d(e,"notShowAd",function(){return q}),n.d(e,"isDocerVipExpired",function(){return Q}),n.d(e,"isAlmostExpire",function(){return X}),n.d(e,"isSuperVipAlmostExpire",function(){return Z}),n.d(e,"docerVipInfo",function(){return tt}),n.d(e,"isOpenVideo",function(){return et}),n.d(e,"toastMessage",function(){return nt}),n.d(e,"hadNewDot",function(){return rt}),n.d(e,"folderHasNewList",function(){return it}),n.d(e,"showConfirm",function(){return ot}),n.d(e,"isWideScreen",function(){return at});var r=n(0),i=function(t){return["wps","wps","et","wpp"]},o=function(t){return t.app.appType},a=function(t){return["wps","wps","et","wpp"][t.app.appType]},s=function(t){return t.login.hasLogin},c=function(t){return t.login.jobs},u=function(t){return t.app.docerViewStatus},l=function(t){return t.app.csourceMapping},f=function(t){return t.login.jobs.list.length>0?t.login.jobs.list[0]:{}},d=function(t){return t.app.viewStatus},h=function(t){return t.app.hasClickedFunction},p=function(t){return t.login.userFolders},_=function(t){return t.app.isGeneral},m=function(t){return t.app.isSmallScreen},v=function(t){return t.app.myFolders},g=function(t){return t.app.uploadInProgressFolders},y=function(t){return t.download.status},E=function(t){return t.download.currentId},w=function(t){return t.download.showDownload},b=function(t){return t.download.progress},S=function(t){return t.download.outOfTimes},T=function(t){return t.app.showPreview},L=function(t){return t.app.isFullScreen},R=function(t){return t.guide.categoryTags},A=function(t){return t.app.showGuide},C=function(t){return t.guide.career},O=function(t){return t.guide.industry},I=function(t){return t.guide.jobtitle},x=function(t){return t.guide.showGuidePopup},P=function(t){return t.guide.hasTriedToShowPopup},k=function(t){return t.app.currentFolderId},F=function(t){return t.app.currentCategoryId},M=function(t){return t.app.groupedList},D=function(t){return t.app.currentThemeList},N=function(t){return t.app.allThemes},U=function(t){return t.app.addInfo},B=function(t){return t.guide.localtags},H=function(t){return~window.navigator.userAgent.indexOf("Chrome")},j=function(t){return t.mytpl.myTemplateTitles},V=function(t){return t.login.purchasesIds},G=function(t){return t.login.addedIds},W=function(t){return t.mytpl.myFavList},$=function(t){return t.mytpl.historyList},Y=function(t){return t.mytpl.purchasesList},K=function(t,e){if(!t.login.userInfo||!t.login.userInfo.vip||!t.login.userInfo.vip.enabled)return!1;var n=t.login.userInfo.vip.enabled;return Array.isArray(n)&&n.some(function(t){return+t.memberid===e&&!t.is_expired})},J=function(t){return K(t,r.e.DOCER_VIP)},z=function(t){return K(t,r.e.SUPER_VIP)},q=function(t){return r.f.some(function(e){return K(t,e)})},Q=function(t){if(!t.login.userInfo||!t.login.userInfo.vip||!t.login.userInfo.vip.enabled)return!0;var e=t.login.userInfo.vip.enabled;if(Array.isArray(e)){var n=0,r=e.find(function(t){return 12==+t.memberid&&!t.is_expired});r&&(n=r.expire_time);var i=e.find(function(t){return 40==+t.memberid&&!t.is_expired});return i&&(n=Math.max(+i.expire_time,n)),Date.now()>1e3*n}return!0},X=function(t){if(!t.login.userInfo||!t.login.userInfo.vip||!t.login.userInfo.vip.enabled)return!1;var e=t.login.userInfo.vip.enabled;if(Array.isArray(e)){var n=0,r=e.find(function(t){return 12==+t.memberid&&!t.is_expired}),i=1e3*t.preview.nowTime||Date.now();return!!r&&(1e3*(n=r.expire_time)-i<864e6&&1e3*n-i>0)}return!1},Z=function(t){if(!t.login.userInfo||!t.login.userInfo.vip||!t.login.userInfo.vip.enabled)return!1;var e=t.login.userInfo.vip.enabled;if(Array.isArray(e)){var n=0,r=e.find(function(t){return 40==+t.memberid&&!t.is_expired}),i=1e3*t.preview.nowTime||Date.now();return!!r&&(1e3*(n=Math.max(+r.expire_time,n))-i<864e6&&1e3*n-i>0)}return!1},tt=function(t){return t.app.docerVipInfo},et=function(t){return t.preview.isOpenVideo},nt=function(t){return t.app.toastMessage},rt=function(t){return t.app.hadNewDot},it=function(t){return t.app.folderHasNewList},ot=function(t){return t.app.showConfirm},at=function(t){return t.app.isWideScreen}},function(t,e,n){"use strict";var r,i=n(13),o=n.n(i),a=n(11),s=n(0),c=n(5),u=0,l={appType:0,isLogined:!1,showPreview:!1,showGuide:!1,currentFolderId:0,myFolders:{status:0,list:[]},uploadInProgressFolders:[],docerVipInfo:{defaultconfig:{},discount:{},labels:{},payway:[],type:[]},themeCount:0,isFullScreen:!0,isGeneral:null,groupedList:[],docerViewStatus:0,toastMessage:{message:"",status:"",show:!1},currentThemeList:[],allThemes:{status:0,list:[]},addInfo:{},hadNewDot:!1,folderHasNewList:{},showConfirm:!1,isWideScreen:!0,isSmallScreen:!1,csourceMapping:{},viewStatus:0,hasClickedFunction:!1},f=(r={},o()(r,a._44,function(t,e){t.appType=e}),o()(r,a._45,function(t){t.showPreview=!t.showPreview}),o()(r,a._46,function(t){t.showGuide=!t.showGuide}),o()(r,a._47,function(t,e){t.docerVipInfo=e}),o()(r,a._48,function(t,e){t.isFullScreen=e}),o()(r,a._49,function(t,e){t.isSmallScreen=e}),o()(r,a._50,function(t,e){t.myFolders.list.unshift(e)}),o()(r,a._51,function(t,e){var n=t.myFolders.list.findIndex(function(t){return+t.folder_id==+e});~n&&t.myFolders.list.splice(n,1)}),o()(r,a._52,function(t){t.docerViewStatus=0}),o()(r,a._53,function(t,e){c.a.insertLocalFile(e)}),o()(r,a._54,function(t,e){c.a.insertLocalFileCopy(e)}),o()(r,a._55,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.addInfo=e}),o()(r,a._56,function(t,e){u^=1e6,t.docerViewStatus=1;var n=e.folder||[],r=e.special||[],i=0;t.groupedList=n.map(function(t){return{id:u+i++,status:1,count:t.mb_count||0,name:t.name,workflow_name:t._workflow,desc:t.desc,url:t.thumb_url,config_id:t.config_id,content:t.content,thumb_app:t.thumb_app,rec_app:t.rec_app,searchType:t.type,tags:t.tags,preview:t.preview,job:t._job}}),t.themeCount=0,t.currentThemeList=r.map(function(t){return{id:i++,status:1,count:+t.mb_count||0,name:t.name,desc:t.desc,thumb_url:t.thumb_url,c_avatar:t.c_avatar,lession_id:t.lession_id,course_id:t.course_id,author:t.author,price:t.price,config_id:t.config_id,content:t.content,searchType:t.type,rec_app:t.rec_app,video_url:t.video_url,preview:t.preview,workflow_name:t._workflow,job:t._job}}),0!==t.currentThemeList.length&&(t.themeCount=t.currentThemeList.map(function(t){return t.count}).reduce(function(t,e){return t+e}))}),o()(r,a.M,function(t){t.docerViewStatus=2}),o()(r,a._57,function(t,e){t.toastMessage=e}),o()(r,a._58,function(t){t.allThemes={status:0,list:[]}}),o()(r,a._59,function(t,e){t.allThemes={status:1,list:e||[]}}),o()(r,a._60,function(t){t.allThemes={status:2,list:[]}}),o()(r,a._61,function(t){}),o()(r,a._62,function(t,e){e.forEach(function(t){t.status=1}),t.myFolders={status:s.c.SUCCESS,list:e||[]}}),o()(r,a._63,function(t){t.myFolders={status:s.c.ERROR,list:[]}}),o()(r,a._64,function(t,e){t.hadNewDot=e}),o()(r,a._65,function(t,e){t.uploadInProgressFolders.unshift(e)}),o()(r,a._66,function(t,e,n){var r=t.uploadInProgressFolders.findIndex(function(t){return t.id===e.id});~r&&(t.uploadInProgressFolders[r]=e)}),o()(r,a._67,function(t,e){var n=t.uploadInProgressFolders.findIndex(function(t){return+t.id==+e||+t.folder_id==+e});~n&&t.uploadInProgressFolders.splice(n,1)}),o()(r,a._68,function(t,e){t.folderHasNewList[e]=!0}),o()(r,a._69,function(t,e){t.folderHasNewList={},t.folderHasNewList=e}),o()(r,a._70,function(t,e){delete t.folderHasNewList[e]}),o()(r,a._71,function(t,e){t.showConfirm=!!e}),o()(r,a._72,function(t,e){t.isWideScreen=Math.abs(0|+e)>1366}),o()(r,a._73,function(t,e){t.csourceMapping=e||{}}),o()(r,a._74,function(t,e){t.viewStatus=e}),o()(r,a._75,function(t,e){t.hasClickedFunction=e}),r);e.a={state:l,mutations:f}},function(t,e,n){"use strict";var r,i=n(7),o=n.n(i),a=n(13),s=n.n(a),c=n(11),u=n(5),l=n(0),f=n(15),d=n(3),h={IN_PROGRESS:l.c.IN_PROGRESS,FINISHED:l.c.SUCCESS,ERROR:l.c.ERROR},p={progress:0,status:h.IN_PROGRESS,showDownload:!1,currentId:0},_=(r={},s()(r,c.o,function(t,e){t.progress=+e||0}),s()(r,c.p,function(t,e){t.status=+e}),s()(r,c.q,function(t,e){t.currentId=e}),s()(r,c.r,function(t,e){t.showDownload=!0,e&&u.a.startDownload(e).then(function(e){t.currentId=e})}),s()(r,c.s,function(t,e){t.currentId&&!e&&u.a.cancelDownLoad(t.currentId),t.progress=0,t.status=h.IN_PROGRESS,t.showDownload=!1}),s()(r,c.t,function(t,e){}),s()(r,c.u,function(t,e){}),s()(r,c.v,function(t,e){}),s()(r,c.w,function(t){t.status=h.ERROR}),r),m={hideProgressBar:function(t,e){t.commit;(0,t.dispatch)("cancelDownload",e)},hideDownload:function(t){(0,t.commit)(c.s,!0)},setDownloadProgress:function(t,e){(0,t.commit)(c.o,e)},setDownloadStatus:function(t,e){(0,t.commit)(c.p,e)},wppDownload:function(t,e){var r=t.commit,i=e.url,o=e.md5,a=e.id,s=e.name,u=e.filekey;r(c.r),r(c.q,e.id);var l=n.i(d.q)({url:i,md5:o,id:a,name:s,filekey:u,class:"wpp"});r(c.r,l)},wppDownloadFailed:function(t){var e=t.commit;e(c.r),e(c.p,l.c.ERROR)},startDownload:function(t,e){var r=t.commit;t.dispatch;return r(c.r),f.a.get("collection").download({data:e}).then(function(t){if(("ok"!==t.result||!t.data)&&(r(c.v),r(c.p,l.c.ERROR),"今天的免费次数已用完"===t.msg))return new o.a(function(t,e){e({type:1})});var i=t.data.mb_url,a=t.data.md5;if(i){r(c.q,e.id);var s=n.i(d.q)({url:i,md5:a,id:e.id,name:e.name,class:e.class});r(c.r,s)}}).catch(function(t){return 1===t.type?r(c.s):r(c.p,l.c.ERROR),new o.a(function(e,n){n(t)})})},downloadByUrl:function(t,e){var r=t.commit,i=n.i(d.q)({url:e.url,name:e.name});r(c.r,i)},cancelDownload:function(t){(0,t.commit)(c.s)},downloadFailed:function(t,e){(0,t.commit)(c.w,e)}};e.a={state:p,mutations:_,actions:m}},function(t,e,n){"use strict";var r,i=n(7),o=n.n(i),a=n(13),s=n.n(a),c=n(11),u=n(0),l=n(15),f=n(3),d={categoryTags:{status:u.c.IN_PROGRESS,tags:{}},localtags:{},career:[],industry:[],jobtitle:[],showGuidePopup:!1,hasTriedToShowPopup:!1},h=(r={},s()(r,c._34,function(t){t.categoryTags={status:u.c.IN_PROGRESS,tags:{}}}),s()(r,c._35,function(t,e){t.categoryTags={status:u.c.SUCCESS,tags:{major:e,minor:{}}}}),s()(r,c._36,function(t){t.categoryTags={status:u.c.ERROR,tags:{}}}),s()(r,c._37,function(t,e){var n=t.career.indexOf(e);if(~n)return void t.career.splice(n,1);t.career.push(e)}),s()(r,c._38,function(t,e){var n=t.industry.indexOf(e);if(~n)return void t.industry.splice(n,1);t.industry.push(e)}),s()(r,c._39,function(t){t.industry=[],t.career=[]}),s()(r,c._40,function(t,e){var n=t.jobtitle.findIndex(function(t){return t.name===e.name});if(~n)return void t.jobtitle.splice(n,1);t.jobtitle.push(e)}),s()(r,c._41,function(t){t.jobtitle=[]}),s()(r,c._42,function(t,e){t.showGuidePopup=e}),s()(r,c._43,function(t,e){t.hasTriedToShowPopup=e}),r),p={setCareer:function(t,e){(0,t.commit)(c._37,e)},setIndustry:function(t,e){(0,t.commit)(c._38,e)},setJobtitle:function(t,e){(0,t.commit)(c._40,e)},retrieveCategoryTags:function(t,e){var n=t.commit,r="";for(var i in e)r+="&"+i+"="+e[i];return new o.a(function(t,e){n(c._34),f.j.send(l.b.allCareer+r,{callbackName:"callback",onSuccess:function(r){r&&"ok"===r.result&&r.data?(n(c._35,r.data),t(r.data)):(e(),n(c._36))},onTimeout:function(){e(),n(c._36)}})})},clearJobtitle:function(t){(0,t.commit)(c._41)},clearCareerAndIndustry:function(t){(0,t.commit)(c._39)},setGuidePopupVisibility:function(t,e){(0,t.commit)(c._42,e)},setHasTriedToShowPopup:function(t,e){(0,t.commit)(c._43,e)}};e.a={state:d,actions:p,mutations:h}},function(t,e,n){"use strict";var r,i=n(13),o=n.n(i),a=n(60),s=n.n(a),c=n(11),u=n(0),l={hasLogin:!1,wpsSid:null,userInfo:{},purchasesIds:[],addedIds:[],addedIdsMap:{},jobs:{status:u.c.IN_PROGRESS,list:[]},userFolders:[],favIds:[]},f=(r={},o()(r,c._76,function(t,e){t.hasLogin=e}),o()(r,c._77,function(t){t.userInfo={}}),o()(r,c._78,function(t,e){t.userInfo=e}),o()(r,c._79,function(t){t.userInfo={}}),o()(r,c._80,function(t,e){t.userInfo=e}),o()(r,c._81,function(t,e){t.purchasesIds=e||[]}),o()(r,c._82,function(t,e){t.purchasesIds=e||[]}),o()(r,c._83,function(t){t.purchasesIds=[]}),o()(r,c._84,function(t,e){t.purchasesIds.push(+e)}),o()(r,c._85,function(t,e){t.addedIds=e||[]}),o()(r,c._86,function(t,e){e=+e,-1===t.addedIds.indexOf(e)&&t.addedIds.push(e)}),o()(r,c._87,function(t,e){var n=t.addedIds.indexOf(+e);-1!==n&&t.addedIds.splice(n,1)}),o()(r,c._88,function(t,e){t.addedIds=e||[],t.addedIdsMap={}}),o()(r,c._89,function(t){t.addedIds=[]}),o()(r,c._90,function(t){t.jobs={status:u.c.IN_PROGRESS,list:[]}}),o()(r,c._91,function(t,e){t.jobs={status:u.c.SUCCESS,list:e}}),o()(r,c._92,function(t,e){var n;t.jobs.status=u.c.SUCCESS,(n=t.jobs.list).push.apply(n,s()(e.map(function(t){var e=t.name;return~e.indexOf(".")&&(e=e.split(".")[0]),{name:e,id:t.id}}))),t.jobs.list=t.jobs.list.filter(function(e,n){return t.jobs.list.findIndex(function(t){return t.name===e.name})===n})}),o()(r,c._93,function(t){t.jobs={status:u.c.ERROR,list:[]}}),o()(r,c._94,function(t,e){e=e||[],t.favIds=[],e.length&&e.forEach(function(e){t.favIds.push(+e.id)})}),o()(r,c._95,function(t,e){e=+e,-1===t.favIds.indexOf(e)&&t.favIds.push(e)}),r),d={setJobs:function(t,e){(0,t.commit)(c._91,e)},setAddedIds:function(t,e){(0,t.commit)(c._85,e)},pushAddedIds:function(t,e){(0,t.commit)(c._86,e)},resetPurchases:function(t,e){(0,t.commit)(c._81,e)},addIdtoPurchasesList:function(t,e){(0,t.commit)(c._84,e)},delAddedIds:function(t,e){(0,t.commit)(c._87,e)},resortJobs:function(t,e){var n=t.commit;if(l.jobs&&l.jobs.list&&0!==l.jobs.list.length){var r=l.jobs.list.slice(0),i=r.findIndex(function(t){return t.name===e});if(r.findIndex(function(t){return t.name===e}),~i){var o=r.splice(i,1);Array.prototype.unshift.apply(r,o),n(c._91,r)}}},setFavIds:function(t,e){(0,t.commit)(c._94,e)},favIdsAdd:function(t,e){(0,t.commit)(c._95,e)}},h={userInfo:function(t){return t.userInfo},favIds:function(t){return t.favIds}};e.a={state:l,mutations:f,actions:d,getters:h}},function(t,e,n){"use strict";var r,i=n(13),o=n.n(i),a=n(11),s=n(9),c=(n.n(s),n(0)),u={myTemplateTitles:[{id:0,label:s.MY_TEMPLATE_LABELS.MY_FAVOURITE},{id:1,label:s.MY_TEMPLATE_LABELS.HISTORY},{id:2,label:s.MY_TEMPLATE_LABELS.MY_PURCHASES}],myFavList:{status:c.c.IN_PROGRESS,list:[]},historyList:{status:c.c.IN_PROGRESS,list:[]},purchasesList:{status:c.c.IN_PROGRESS,list:[]},currentTitleId:0},l=(r={},o()(r,a.V,function(t){t.myFavList={status:c.c.IN_PROGRESS,list:[]}}),o()(r,a.W,function(t,e){t.myFavList={status:c.c.SUCCESS,list:e.data||[]}}),o()(r,a.X,function(t){t.myFavList={status:c.c.ERROR,list:[]}}),o()(r,a.Y,function(t,e){t.historyList={status:c.c.IN_PROGRESS,list:[]}}),o()(r,a.Z,function(t,e){t.historyList={status:c.c.SUCCESS,list:e.data||[]}}),o()(r,a._0,function(t){t.historyList={status:c.c.ERROR,list:[]}}),o()(r,a._1,function(t){t.purchasesList={status:c.c.IN_PROGRESS,list:[]}}),o()(r,a._2,function(t,e){t.purchasesList={status:c.c.SUCCESS,list:e.data||[]}}),o()(r,a._3,function(t){t.purchasesList={status:c.c.ERROR,list:[]}}),o()(r,a._4,function(t,e){t.currentTitleId=e}),o()(r,a._5,function(t,e){var n=t.myFavList.list.findIndex(function(t){return t.id===e});t.myFavList.list.splice(n,1)}),o()(r,a._6,function(t,e){if(e.id){~t.myFavList.list.findIndex(function(t){return t.id===+e.id})||t.myFavList.list.unshift(e)}}),r);e.a={state:u,mutations:l}},function(t,e,n){"use strict";var r,i=n(7),o=n.n(i),a=n(13),s=n.n(a),c=n(11),u=n(15),l=n(9),f=(n.n(l),n(3)),d=n(26),h=n(0),p={labelsMap:{},usualLabels:[],firstLabels:[],isMoreLabel:!1,selectedFirstLabel:l.NAV.RECOMMEND_LABEL,selectedSecondLabel:l.NAV.ALL_LABEL},_=(r={},s()(r,c.F,function(t,e){t.usualLabels=e}),s()(r,c.G,function(t,e){t.firstLabels=e}),s()(r,c.H,function(t,e){t.selectedFirstLabel=e||l.NAV.RECOMMEND_LABEL}),s()(r,c.I,function(t,e){t.selectedSecondLabel=e}),s()(r,c.J,function(t,e){t.isMoreLabel=e}),s()(r,c.K,function(t,e){t.labelsMap=e}),s()(r,c.L,function(t){t.labelsMap={}}),r),m={setUsualLabels:function(t,e){(0,t.commit)(c.F,e)},setFirstLabels:function(t,e){(0,t.commit)(c.G,e)},chooseFirstLabel:function(t,e){(0,t.commit)(c.H,e)},chooseSecondLabel:function(t,e){(0,t.commit)(c.I,e)},toggleMore:function(t,e){(0,t.commit)(c.J,e)},gainRecommendData:function(t){var e=t.state,n=t.dispatch,r=t.getters,i=[];r.userJobs&&r.userJobs.list&&r.userJobs.list.length&&r.userJobs.list.forEach(function(t){var e=t.name.split(".")[0];i.indexOf(e)<0&&i.push(e)});var o=i.length>3?e.firstLabels.filter(function(t){return i.indexOf(t)>-1&&t!==l.NAV.RECOMMEND_LABEL}):e.firstLabels.filter(function(t){return t&&t!==l.NAV.RECOMMEND_LABEL}).slice(0,3);0!==o.length&&n("retrieveSpecialRecommend",{jobs:o.join(":"),mb_app:r.appType})},gainAllCareer:function(t,e){var n=t.commit,r=(t.state,"");for(var i in e)r+="&"+i+"="+e[i];var a=h.a.LOCAL_STORAGE_LAST_REC+r;return d.a.get(a).then(function(t){return t&&t.value&&+t.stamp>Date.now()?new o.a(function(e,r){"string"==typeof t.value&&(t.value=JSON.parse(t.value)),n(c.K,t.value),e(t.value)}):new o.a(function(t,e){f.j.send(u.b.allCareer.replace("=callback","=jsonp_all_career_callback")+r,{callbackName:"jsonp_all_career_callback",onSuccess:function(r){r&&"ok"===r.result&&r.data?(n(c.K,r.data),d.a.set(a,r.data,Date.now()+18e5),t(r.data)):(e(),n(c.L),n(c.M))},onTimeout:function(){e(),n(c.L),n(c.M)}})})})}},v={usualLabels:function(t){return t.usualLabels},firstLabels:function(t){return t.firstLabels},selectedFirstLabel:function(t){return t.selectedFirstLabel},selectedSecondLabel:function(t){return t.selectedSecondLabel},isMoreLabel:function(t){return t.isMoreLabel},labelsMap:function(t){return t.labelsMap}};e.a={state:p,actions:m,mutations:_,getters:v}},function(t,e,n){"use strict";var r=n(23),i=n(5),o=n(3),a={proceedPayment:function(t,e){var a=(t.commit,window.external&&window.external.appInfo||{}),s=n.i(o.p)({mbid:e.id,from:"beauty",app:e.appClass,position:"newfile_preview_v3",downloadChannel:e.chanel,sub_chanel:e.sub_chanel,csource:e.sub_chanel,member_position:e.member_postion,member_csource:"newfile",client_type:"newdoc",dist:a.dist,version:a.version});i.a.openNewWindow(r.a.httpStr+"://docer.wps.cn/partner.php/mbpay/v1/"+s)},upgradeVIP:function(t,e){var a=(t.commit,window.external&&window.external.appInfo||{}),s=n.i(o.p)({servicetype:e.isDocerVip?"super":"monthcard",from:"beauty",app:e.appClass,payconfig:"docer_newfile",position:e.position,csource:e.csource,dist:a.dist,version:a.version});i.a.openDocerUnifyPayDlg(r.a.httpStr+"://vipapi.wps.cn/web/docerpay/"+s)}};e.a={actions:a}},function(t,e,n){"use strict";var r,i=n(7),o=n.n(i),a=n(13),s=n.n(a),c=n(11),u=n(0),l=n(15),f={showPrivew:!1,thumbList:{status:u.c.IN_PROGRESS,data:{basicData:{}}},previewData:{itemList:[],index:0},uMayLikeList:{status:u.c.IN_PROGRESS,list:[]},hasBought:!1,outOfTimes:{status:u.c.IN_PROGRESS,value:!1},collectInfo:{}},d={showPrivew:function(t){return t.showPrivew},uMayLikeList:function(t){return t.uMayLikeList},previewThumbList:function(t){return t.thumbList},previewData:function(t){return t.previewData},hasBought:function(t){return t.hasBought},previewCollectInfo:function(t){return t.collectInfo}},h=(r={},s()(r,c.a,function(t,e){t.showPrivew=!!e}),s()(r,c.b,function(t,e){t.previewData=e}),s()(r,c.c,function(t,e){t.previewData.index=e}),s()(r,c.d,function(t){t.thumbList={status:u.c.IN_PROGRESS,data:{basicData:{}}}}),s()(r,c.e,function(t,e){t.thumbList={status:u.c.SUCCESS,data:e}}),s()(r,c.f,function(t){t.thumbList={status:u.c.ERROR,data:{basicData:{}}}}),s()(r,c.g,function(t){t.uMayLikeList={status:u.c.IN_PROGRESS,list:[]}}),s()(r,c.h,function(t,e){t.uMayLikeList={status:u.c.SUCCESS,list:e||[]}}),s()(r,c.i,function(t){t.uMayLikeList={status:u.c.ERROR,list:[]}}),s()(r,c.j,function(t,e){t.hasBought=e}),s()(r,c.k,function(t,e){t.outOfTimes={status:u.c.IN_PROGRESS,value:!1}}),s()(r,c.l,function(t,e){t.outOfTimes={status:u.c.SUCCESS,value:!e}}),s()(r,c.m,function(t,e){t.outOfTimes={status:u.c.ERROR,value:!1}}),s()(r,c.n,function(t,e){t.collectInfo=e}),r),p={togglePreview:function(t,e){var n=t.commit;t.dispatch;n(c.a,e)},retrievePreviewDataStandAlone:function(t,e){t.commit;return l.a.get("template").searchByNavTag({data:e}).then(function(t){if("ok"===t.result&&t.data){var e=t.data.data||[];if(e[0])return new o.a(function(t,n){t(e)})}return new o.a(function(t,e){e()})}).catch(function(t){return new o.a(function(e,n){n(t)})})},retrievePreviewData:function(t,e){var n=t.commit;n(c.d),l.a.get("templatePreview").preview({data:{id:e}}).then(function(t){if("ok"===t.result&&t.data)return n(c.e,t.data);n(c.f)}).catch(function(t){n(c.f)})},retrieveUMayLikeData:function(t,e){var n=t.commit;n(c.g),l.a.get("uMayLike").query({data:e}).then(function(t){if("ok"===t.result&&t.data)return n(c.h,t.data.data||[]);n(c.i)}).catch(function(t){n(c.i)})},setPreviewData:function(t,e){(0,t.commit)(c.b,e)},setPreviewIndex:function(t,e){(0,t.commit)(c.c,e)},checkHasBought:function(t,e){var n=t.commit;l.a.get("collection").checkBuy({data:e}).then(function(t){if("ok"!==t.result)return n(c.j,!1),new o.a(function(e,n){n(t)});n(c.j,!0)}).catch(function(t){n(c.j,!1)})},retrieveDocerVipTimes:function(t,e){var n=t.commit;return n(c.k),l.a.get("pay").getDocerVipTimes().then(function(t){if("ok"!==t.result)return n(c.m),new o.a(function(e,n){n(t)});n(c.l,t.data),e&&e(t.data)}).catch(function(t){return n(c.m),new o.a(function(e,n){n(t)})})},setCollectionInfo:function(t,e){(0,t.commit)(c.n,e)}};e.a={state:f,mutations:h,actions:p,getters:d}},function(t,e,n){"use strict";var r,i=n(7),o=n.n(i),a=n(13),s=n.n(a),c=n(60),u=n.n(c),l=n(11),f=n(15),d=n(0),h={currentFolderItem:{},currentTemplatePreviewItem:{page_data:{},basic_data:{},info:{}},myFolderUploadList:[],myFolderUploadListIds:[],checkedList:[],checkedListIds:[],myTempList:[],myTempListTotal:0,showFolderOperate:!1,showGallery:!1,showVideo:!1,isMultiple:!1,uploadBatchManage:{},isMyAccountsInRecent:!1,isSearchFromIndex:!0,hasJobMark:!1,myAccountTabIndex:0,searchRecommendHotTab:"",isFromDocerTab:!0,isPreviewAppTitleBar:!1,currentDeleteTemp:{},lastAccountTab:null},p=(r={},s()(r,l._7,function(t,e){t.currentFolderItem=e||{}}),s()(r,l._8,function(t,e){t.checkedList=e||[],t.checkedListIds=[],t.checkedList.forEach(function(e,n){t.checkedListIds.push(e.id)})}),s()(r,l._9,function(t,e){-1===t.checkedListIds.indexOf(e.id)&&(t.checkedList.push(e),t.checkedListIds.push(e.id))}),s()(r,l._10,function(t,e){var n=t.checkedListIds.indexOf(e.id);-1!==n&&(t.checkedList.splice(n,1),t.checkedListIds.splice(n,1))}),s()(r,l._11,function(t,e){t.showFolderOperate=!!e}),s()(r,l._12,function(t,e){t.showGallery=!!e}),s()(r,l._13,function(t,e){t.myFolderUploadList=e||[],t.myFolderUploadList.forEach(function(e,n){t.myFolderUploadListIds.push(e.id)})}),s()(r,l._14,function(t,e){-1===t.myFolderUploadListIds.indexOf(e.id)&&(t.myFolderUploadList.push(e),t.myFolderUploadListIds.push(e.id))}),s()(r,l._15,function(t,e){var n=t.myFolderUploadListIds.indexOf(e.id);-1!==n&&(t.myFolderUploadList.splice(n,1),t.myFolderUploadListIds.splice(n,1))}),s()(r,l._16,function(t,e){t.showVideo=!!e}),s()(r,l._17,function(t,e){t.isMultiple=!!e}),s()(r,l._18,function(t,e){t.myTempList=e||[]}),s()(r,l._19,function(t,e){var n;e=e||[],(n=t.myTempList).push.apply(n,u()(e))}),s()(r,l._20,function(t,e){var n;e=e||[],(n=t.myTempList).unshift.apply(n,u()(e))}),s()(r,l._21,function(t,e){var n=-1;t.myTempList.forEach(function(t,r){e===t.id&&(n=r)}),-1!==n&&t.myTempList.splice(n,1)}),s()(r,l._22,function(t,e){t.isFromDocerTab=!!e}),s()(r,l._23,function(t,e){t.isMyAccountsInRecent=!!e}),s()(r,l._24,function(t,e){t.isSearchFromIndex=!!e}),s()(r,l._25,function(t,e){var n=t.uploadBatchManage[e.folderId];n||(n=t.uploadBatchManage[e.folderId]={});var r=n[e.queueId];r||(r=n[e.queueId]={}),r[e.fileIndex]=e.pathName}),s()(r,l._26,function(t,e){var n=t.uploadBatchManage[e.folderId];if(n){var r=n[e.queueId];if(r)if(void 0!==n[e.delQueueId])delete n[e.queueId];else{var i=void 0===r[fileIndex];i&&delete r[fileIndex]}}}),s()(r,l._27,function(t,e){t.hasJobMark=!!e}),s()(r,l._28,function(t,e){t.myAccountTabIndex=Math.abs(0|e)}),s()(r,l._29,function(t,e){t.searchRecommendHotTab=e?e+"":""}),s()(r,l._30,function(t,e){t.isPreviewAppTitleBar=!!e}),s()(r,l._31,function(t,e){t.currentDeleteTemp=e||{}}),s()(r,l._32,function(t,e){t.myTempListTotal=Math.abs(0|e)}),s()(r,l._33,function(t,e){t.lastAccountTab=e}),r),_={setCurrentFoldeItem:function(t,e){(0,t.commit)(l._7,e)},setCheckedList:function(t,e){(0,t.commit)(l._8,e)},addCheckedList:function(t,e){(0,t.commit)(l._9,e)},delCheckedList:function(t,e){(0,t.commit)(l._10,e)},setShowFolderOperate:function(t,e){(0,t.commit)(l._11,e)},setShowGallery:function(t,e){(0,t.commit)(l._12,e)},setMyFolderUploadList:function(t,e){(0,t.commit)(l._13,e)},addMyFolderUploadList:function(t,e){(0,t.commit)(l._14,e)},delMyFolderUploadList:function(t,e){(0,t.commit)(l._15,e)},setShowVideo:function(t,e){(0,t.commit)(l._16,e)},setMultiple:function(t,e){(0,t.commit)(l._17,e)},setMyTempList:function(t,e){(0,t.commit)(l._18,e)},getMyTempList:function(t,e){var n=t.commit;return n(l._32,0),new o.a(function(t,r){f.a.get("folder").myTempList({data:{folderid:e.folderId,is_with_price:1,limit:e.limit||60,offset:0|e.offset}}).then(function(e){n(l._32,e.data.total),"ok"===e.result&&e.data&&e.data.data?(e.data.data.forEach(function(t){1===t.is_local_mb&&(t.moban_app=d.d[t.name.replace(/.*?\./g,"")],t.moban_app_random=1+(0|3*Math.random()))}),n(l._18,e.data.data)):n(l._18,[]),t(e.data||[])}).catch(function(t){})})},setMyTempListTotal:function(t,e){(0,t.commit)(l._32,e)},pushMyTempList:function(t,e){var n=t.commit;f.a.get("folder").myTempList({data:{folderid:e.folderId,is_with_price:!0,limit:e.limit||99,offset:0|e.offset}}).then(function(t){"ok"===t.result&&t.data&&t.data.data?n(l._19,t.data.data):n(l._19,[])}).catch(function(t){})},unshiftMyTempLisy:function(t,e){(0,t.commit)(l._20,e)},delFromMyTempList:function(t,e){(0,t.commit)(l._21,e)},setFromDocerTab:function(t,e){(0,t.commit)(l._22,e)},setMyAccountsInRecent:function(t,e){(0,t.commit)(l._23,e)},serSearchFromIndex:function(t,e){(0,t.commit)(l._24,e)},addUploadBatchManage:function(t,e){(0,t.commit)(l._25,e)},delUploadBatchManage:function(t,e){(0,t.commit)(l._26,e)},setHasJobMark:function(t,e){(0,t.commit)(l._27,e)},setMyAccountTabIndex:function(t,e){(0,t.commit)(l._28,e)},setSearchRecommendHotTab:function(t,e){(0,t.commit)(l._29,e)},setPreviewAppTitleBar:function(t,e){(0,t.commit)(l._30,e)},setCurrentDelete:function(t,e){(0,t.commit)(l._31,e)},setLastAccountTab:function(t,e){(0,t.commit)(l._33,e)}},m={currentFolderItem:function(t){return t.currentFolderItem},currentTemplatePreviewItem:function(t){return t.currentTemplatePreviewItem},myFolderUploadList:function(t){return t.myFolderUploadList},checkedList:function(t){return t.checkedList},checkedListIds:function(t){return t.checkedListIds},myTempList:function(t){return t.myTempList},showFolderOperate:function(t){return t.showFolderOperate},showGallery:function(t){return t.showGallery},showVideo:function(t){return t.showVideo},isMultiple:function(t){return t.isMultiple},isFromDocerTab:function(t){return t.isFromDocerTab},isMyAccountsInRecent:function(t){return t.isMyAccountsInRecent},isSearchFromIndex:function(t){return t.isSearchFromIndex},uploadBatchManage:function(t){return t.uploadBatchManage},hasJobMark:function(t){return t.hasJobMark},myAccountTabIndex:function(t){return t.myAccountTabIndex},searchRecommendHotTab:function(t){return t.searchRecommendHotTab},isPreviewAppTitleBar:function(t){return t.isPreviewAppTitleBar},currentDeleteTemp:function(t){return t.currentDeleteTemp},myTempListTotal:function(t){return t.myTempListTotal},lastAccountTab:function(t){return t.lastAccountTab}};e.a={state:h,mutations:p,actions:_,getters:m}},function(t,e,n){"use strict";var r,i=n(22),o=n.n(i),a=n(18),s=n.n(a),c=n(13),u=n.n(c),l=n(7),f=n.n(l),d=n(11),h=n(0),p=n(5),_=n(15),m=n(26),v=function(t){return new f.a(function(e,n){m.a.get(h.a.LOCAL_STORAGE_REC_KEY).then(function(r){return r&&r.value?r.value!==t?n():void m.a.get(h.a.LOCAL_STORAGE_REC_DATA).then(function(t){return t&&t.value?("string"==typeof t.value&&(t.value=JSON.parse(t.value)),e(t.value)):n()}):n()})})},g=function(t,e){m.a.set(h.a.LOCAL_STORAGE_REC_KEY,t),m.a.set(h.a.LOCAL_STORAGE_REC_DATA,e)},y={recentFiles:{status:h.c.IN_PROGRESS,list:[]},recFiles:{status:h.c.IN_PROGRESS,list:[]},thumbList:[]},E=(r={},u()(r,d.P,function(t){t.recentFiles={status:h.c.IN_PROGRESS,list:[]}}),u()(r,d.Q,function(t,e){t.recentFiles={status:h.c.SUCCESS,list:e||[]}}),u()(r,d.R,function(t){t.recentFiles={status:h.c.ERROR,list:[]}}),u()(r,d.S,function(t){t.recFiles={status:h.c.IN_PROGRESS,list:[]}}),u()(r,d.T,function(t,e){e.forEach(function(t){t.isDocer=!0}),t.recFiles={status:h.c.SUCCESS,list:e}}),u()(r,d.U,function(t){t.recFiles={status:h.c.ERROR,list:[]}}),r),w={retrieveRecentFileList:function(t){var e=t.commit;e(d.P),p.a.getRecentFileList(10).then(function(t){if(!t)return e(d.R);e(d.Q,t.result)}).catch(function(){e(d.R)})},retrieveRecFiles:function(t,e){var n=t.commit;n(d.S);var r=s()(e);v(r).then(function(t){window.app.tag=t.tag,n(d.T,t.data)}).catch(function(){_.a.get("bjDocerRec").fetch({data:e,dataType:"application/json"}).then(function(t){return new f.a(function(e,n){200===t.status&&t.templateIds?(e(t.templateIds),window.app.tag=t.tag):n()})}).catch(function(){n(d.U)}).then(function(t){return _.c.getTplsByIds({ids:t.join(":"),callbackName:"jsonp_get_tpls_by_ids"})}).then(function(t){"ok"===t.result&&t.data?(g(r,o()({tag:window.app.tag},t)),n(d.T,t.data)):n(d.U)}).catch(function(){n(d.U)})})}},b={recentFiles:function(t){return t.recentFiles},thumbList:function(t){return t.thumbList},recFiles:function(t){return t.recFiles}};e.a={state:y,getters:b,actions:w,mutations:E}},function(t,e,n){"use strict";var r,i=n(7),o=n.n(i),a=n(13),s=n.n(a),c=n(11),u=n(0),l=n(15),f=n(26),d={searchKeyword:"",searchResults:{total_num:0,status:u.c.IN_PROGRESS,list:[]},currentPage:1,searchHistory:[],recList:[],hotKeywords:[]},h=(r={},s()(r,c.x,function(t,e){t.searchResults.status=u.c.IN_PROGRESS,t.searchResults.list=[]}),s()(r,c.y,function(t,e){t.searchResults={total_num:0|+e.data.total_num,status:u.c.SUCCESS,list:e.data.data||[]}}),s()(r,c.z,function(t){t.searchResults={total_num:0,status:u.c.ERROR,list:[]}}),s()(r,c.A,function(t,e){t.searchKeyword=e}),s()(r,c.B,function(t,e){t.currentPage=e}),s()(r,c.C,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];"string"==typeof e&&(e=JSON.parse(e)),t.searchHistory=e}),s()(r,c.D,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];t.recList=e}),s()(r,c.E,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];t.hotKeywords=e}),r),p={retrieveKeyWordSearchResults:function(t,e){var n=t.commit;return n(c.x),new o.a(function(t,r){l.a.get("moban_v3").search({data:e}).then(function(e){if("ok"!==e.result||!e.data)return n(c.z),void t();n(c.y,e.data),t(e.data)}).catch(function(t){n(c.z),r(t)})})},setKeyword:function(t,e){(0,t.commit)(c.A,e)},setSearchPageNumber:function(t,e){(0,t.commit)(c.B,e)},clearHistory:function(t,e){var n=t.commit;if(e){var r=d.searchHistory.findIndex(function(t){return t===e});if(~r){var i=d.searchHistory.slice(0);i.splice(r,1),n(c.C,i),f.a.set(u.a.LOCAL_STORAGE_SEARCH_HISTORY,i)}}},clearAllHistory:function(t){(0,t.commit)(c.C,[]),f.a.set(u.a.LOCAL_STORAGE_SEARCH_HISTORY,[])},addHistoryRecord:function(t,e){var n=t.commit;if(e){var r=d.searchHistory.findIndex(function(t){return t===e}),i=d.searchHistory.slice(0);~r&&i.splice(r,1),i.unshift(e),n(c.C,i),f.a.set(u.a.LOCAL_STORAGE_SEARCH_HISTORY,i)}},initSearchHistory:function(t){var e=t.commit;return f.a.get(u.a.LOCAL_STORAGE_SEARCH_HISTORY).then(function(t){return new o.a(function(n,r){if(t.value)return e(c.C,t.value),void n(t);n([])})})},retrieveRecommendedSearchKeywords:function(t,e){var n=t.commit;if(e.term)return l.a.get("search").likeSearchText({data:e}).then(function(t){t&&t.length>0?n(c.D,t):n(c.D)}).catch(function(){n(c.D)})},retrieveHotKeys:function(t,e){var n=t.commit;l.a.get("template").getHotsearchWord({data:e}).then(function(t){t&&"ok"===t.result?n(c.E,t.data):n(c.E)})}},_={searchResults:function(t){return t.searchResults},searchKeyword:function(t){return t.searchKeyword},currentSearchPageNumber:function(t){return t.currentPage},allHistory:function(t){return t.searchHistory},searchRecList:function(t){return t.recList},hotKeywords:function(t){return t.hotKeywords}};e.a={state:d,mutations:h,actions:p,getters:_}},function(t,e,n){"use strict";var r,i=n(13),o=n.n(i),a=n(11),s={isFixed:!1,showAppTitleBar:!0},c=(r={},o()(r,a.N,function(t,e){t.isFixed=e}),o()(r,a.O,function(t,e){t.showAppTitleBar=e}),r),u={setTitlebarIsFixed:function(t,e){(0,t.commit)(a.N,e)},setAppTitlebarVisibility:function(t,e){(0,t.commit)(a.O,e)}},l={isTitlebarFixed:function(t){return t.isFixed},showAppTitleBar:function(t){return t.showAppTitleBar}};e.a={state:s,actions:u,mutations:c,getters:l}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),i=n.n(r),o=n(62),a=n.n(o),s=n(61),c=n.n(s),u=n(6),l=n.n(u),f=n(216),d=n.n(f),h=n(44),p=n(4),_=n(3),m=n(5),v=n(97),g=n(99),y=n(26),E=n(0),w=(n(30),n(23)),b=n(12),S=/(#\/\?app_type=3)|(#\/searchResult\?app_type=3)/;e.default={name:"app",mixins:[h.a,b.a],data:function(){return{Preview:g.a,Download:g.b,Toast:g.c}},mounted:function(){var t=this;this.preInit(),this.$nextTick(function(){t.init(),m.a.showWindow()})},computed:l()({},n.i(p.a)(["appType","userJobs","toastMessage","showDownload","currentJob","userInfo","myFavList","hasLogin","appClass","isCEF","showPrivew","previewCollectInfo","showAppTitleBar"]),{isSecondPage:function(){return/\/preview|\/searchResult/.test(this.$route.path)},isMyTplView:function(){return"/mytpl"===this.$route.path},showBack:function(){var t=this;return!(["/","/guide"].some(function(e){return e===t.$route.path})||~this.$route.path.indexOf("/guide"))||"/theme"===this.$route.path},isIndex:function(){return"/"===this.$route.path},notShowTitleBar:function(){var t=this.$route.query.method||n.i(_.e)("method");return!(this.$route.query.backClient||n.i(_.e)("backClient")||"search_template"!==t&&"search_template_and_show_detail"!==t)}}),components:{AppTitleBar:d.a},watch:{userInfo:function(t){t&&t.userid>0&&this.checkNeedShowNewDot()},hasLogin:function(t){t&&(this.getFavIds(),this.retrieveAccountsTempListIds({jobid:this.currentJob.id||""}))},showBack:function(t){m.a.showBackButton(t)}},methods:l()({},n.i(p.b)(["changeUserState","setIsSmallScreen","setUserInfo","retrieveUserInfo","retrieveCsourceMapping","resetUserFolders","retrieveAccountsTempList","setAppType","setAddedIds","retrieveUserJobs","retrieveAccountsTempListIds","toggleNewDot","retrieveMyFavourite","setFavIds","setWideScreen","resetPurchases","setAppTitlebarVisibility"]),{refreshLoginStatus:function(t){if(!t||t.length<4)return void this.retrieveUserInfo();var e=t[0];this.retrieveUserInfo(),e?this.retrieveAccountsTempList({mb_app:this.appType}):this.clearAccounts()},dragWidget:function(t){if(t&&t.target){t.target.webkitMatchesSelector("[drag-widget]")&&t.pageX>180&&t.pageY<100&&m.a.dragWidget()}},checkNeedShowNewDot:function(){var t=this;y.a.get(E.a.LOCAL_STORAGE_HAS_NEW_DOT+this.userInfo.userid).then(function(e){e&&e.value&&"true"==e.value&&t.toggleNewDot(!0)})},reflowLayout:function(){this.setWideScreen(document.body.clientWidth),this.setIsSmallScreen(window.document.body.clientWidth<1601)},getFavIds:function(){var t=this;this.retrieveMyFavourite({mb_app:0}).then(function(){t.setFavIds(t.myFavList.list)}).catch(function(t){})},clearAccounts:function(){this.setFavIds([]),this.setAddedIds([]),this.resetPurchases([]),this.$store.dispatch("retrieveLocalJobs",[])},preInit:function(){var t=this,e=+this.$route.query.app_type||+n.i(_.e)("app_type");this.setAppType(e),3===e&&S.test(window.location.hash)&&this.$router.push(window.location.hash.replace(S,"/wpp?")),this.setAppTitlebarVisibility("embed"!==(this.$route.query.show_type||n.i(_.e)("show_type"))),this.initAllHooks();E.a.LOCAL_STORAGE_IS_EVER_ENTER_GUIDE,this.appType;n.i(v.a)(function(){for(var e=arguments.length,n=Array(e),r=0;r0&&this.init()},categoryTags:function(t){t.status===h.c.SUCCESS&&0===this.supplyLabels.length&&this.init()}},methods:c()({},n.i(l.b)(["gainAllCareer","chooseFirstLabel","retrieveAllCats","gainRecommendData","setHasClickedFunction"]),{init:function(){var t=this;this.gainSupplyLabels().then(function(){t.setFirstLabelsFn()})},getRecommendData:function(){var t=this;return this.getRecommendHandler||(this.getRecommendHandler=n.i(d.d)(function(){return t.gainRecommendData()},4,!0)),this.getRecommendHandler},showMore:function(){this.$store.dispatch("toggleMore",!0),this.sendLabelCollect("more"),this.setHasClickedFunction(!0)},chooseFirstLabelFn:function(t){this.$store.dispatch("toggleMore",!1),this.chooseFirstLabel(t),this.sendLabelCollect(t),this.setHasClickedFunction(!0)},gainSupplyLabels:function(){var t=this;return new a.a(function(e,n){var r=i()(t.labelsMap);r.length?(t.supplyLabels=r,e("ok")):t.gainAllCareer({mb_app:t.appType||+t.$route.query.app_type,show_all:1}).then(function(){t.supplyLabels=i()(t.labelsMap),e("ok")})})},sendLabelCollect:function(t){var e={p3:"click_common_tag"};switch(t){case p:e.p3="click_choice_rec";break;case"more":e.p3="click_more";break;default:e.p4=t}this.sendCollect(e)},sortJobs:function(){var t=[p];return this.userJobs&&this.userJobs.list&&this.userJobs.list.length&&this.userJobs.list.forEach(function(e){if(!~e.name.indexOf(".")){var n=e.name;t.indexOf(n)<0&&t.push(n)}}),this.supplyLabels.filter(function(e){return t.indexOf(e)>-1})},setFirstLabelsFn:function(){var t=[],e=[];t=this.sortJobs(),e=t.concat(this.supplyLabels.filter(function(e){return t.indexOf(e)<0})),this.$store.dispatch("setFirstLabels",e),this.$store.dispatch("setUsualLabels",t.length>4?t:e.slice(0,4));var n=this.firstLabels.indexOf(this.selectedFirstLabel);this.$store.dispatch("toggleMore",!(n>-1&&n<4))},hasSecondLabels:function(t){return!(!this.labelsMap[t]||!this.labelsMap[t].length)},gotoGuide:function(){this.$router&&this.$router.history&&this.$router.history.ready&&(this.$router.push("/guide/?app_type="+this.appType),this.setHasClickedFunction(!0),this.sendCollect({p3:"click_set_common_tag"}))}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(62),i=n.n(r),o=n(61),a=n.n(o),s=n(6),c=n.n(s),u=n(217),l=n.n(u),f=n(98),d=n.n(f),h=n(4),p=n(0),_=(n(5),n(44)),m=n(9),v=(n.n(m),n(12)),g=n(3),y=3,E=!1,w=function(t){return t.map(function(t){return n.i(g.s)(t.fileName)})};e.default={name:"local-list",mixins:[_.a,v.a],mounted:function(){var t=this;this.$nextTick(function(){t.reflowLayout(),t.init()})},beforeUpdate:function(){var t=this;window.setTimeout(function(){t.recFiles.status===p.c.SUCCESS||E||(E=!0,t.reloadOnlineFiles())},200)},data:function(){return{TEMPLATES:m.TEMPLATES,containerStyle:{verticalAlign:"top",marginTop:"20px",marginRight:"-40px"},isSmallScreen:!1}},computed:c()({},n.i(h.a)(["recentFiles","appType","appClass","recFiles","hasLogin"]),{imgStyls:function(){return{item:{marginRight:"14px",marginBottom:"100px"},list:{}}},concatFiles:function(){var t=[];if(this.recFiles.status!==p.c.IN_PROGRESS){t=this.recentFiles.list.reverse().concat(this.recFiles.list);var e=t.length>4?t.length-4:0;t=t.slice(e,t.length)}return t.push({name:m.TEMPLATES.MY_TEMPLATES,isDocer:!1,lastTime:m.TEMPLATES.RECOMMENDED_FOR_YOU,id:0,iconClass:"icon-my-tpl-folder",isMyFolder:!0}),t}}),methods:c()({},n.i(h.b)(["retrieveRecentFileList","togglePreview","retrieveRecFiles","setPreviewData","togglePreview","initSearchHistory"]),{reflowLayout:function(){this.isSmallScreen=window.document.body.clientWidth<1601},retryGetFilesList:function(){var t=this;y--,window.setTimeout(function(){y>0&&(!Array.isArray(t.recentFiles.list)||0===t.recentFiles.list.length)&&(window.app.lastLoginStatus=t.hasLogin,t.retrieveRecentFileList(),t.retryGetFilesList())},1e3)},clickFunc:function(t){this.setPreviewData({list:this.recFiles.list,index:t-(this.concatFiles.length-1-this.recFiles.list.length),isRecommendations:!1,p:{p3:"recent_list"},csource:this.appClass+"_newfile_preview_word",position:"newfile_often",isLocalList:!0}),this.togglePreview(!0),this.sendCollect({p3:"recent_list",p4:"docer_doc_click"})},reloadOnlineFiles:function(){this.recFiles.status!==p.c.SUCCESS&&this.loadRecFiles()},init:function(t){(t||this.recentFiles.status!==p.c.SUCCESS||window.app.lastLoginStatus!==this.hasLogin)&&(window.app.lastLoginStatus=this.hasLogin,this.retrieveRecentFileList(),this.retryGetFilesList())},getSearchHistory:function(){var t=this;return a()(i.a.mark(function e(){return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.initSearchHistory();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,t)}))()},historyAdaptor:function(){var t=this;return a()(i.a.mark(function e(){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getSearchHistory();case 2:if(n=e.sent,n=n&&n.value?n.value:n,"string"==typeof n&&(n=JSON.parse(n)),!Array.isArray(n)){e.next=7;break}return e.abrupt("return",n.slice(0,5));case 7:return e.abrupt("return",[]);case 8:case"end":return e.stop()}},e,t)}))()},loadRecFiles:function(){var t=this;return a()(i.a.mark(function e(){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(E=!0,t.recFiles.status!==p.c.SUCCESS){e.next=3;break}return e.abrupt("return");case 3:return n=window.external.appInfo,e.t0=t,e.t1=n.hdid,e.t2=n.uuid,e.t3=window.app.userId,e.t4=w(t.recentFiles.list),e.next=11,t.historyAdaptor();case 11:e.t5=e.sent,e.t6=[],e.t7=t.appClass,e.t8={hdid:e.t1,uuid:e.t2,userId:e.t3,docNames:e.t4,searchWords:e.t5,docTitles:e.t6,docType:e.t7,pageNo:1,pageSize:4},e.t0.retrieveRecFiles.call(e.t0,e.t8);case 16:case"end":return e.stop()}},e,t)}))()}}),watch:{recentFiles:function(t){t.status===p.c.SUCCESS&&this.loadRecFiles()},hasLogin:function(t){window.app.lastLoginStatus=t,t||this.init(!0)},recFiles:function(t){t.status===p.c.SUCCESS&&this.sendCollect({p3:"recent_list",p4:"docer_doc_display",p5:t.list.map(function(t){return t.id}).join("|")})}},components:{BlankDocument:l.a,ImageList:d.a}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=n.n(r),o=n(17),a=n.n(o),s=n(9),c=(n.n(s),n(4)),u=n(12),l=s.NAV.RECOMMEND_LABEL,f=s.NAV.ALL_LABEL;e.default={name:"nav-bar",mixins:[u.a],data:function(){return{NAV:s.NAV,secondLabels:[]}},filters:{filterLabel:function(t){var e=t.split(".");return e[e.length-1]}},mounted:function(){a()(this.labelsMap).length&&this.setSecondLabels(this.selectedFirstLabel)},computed:i()({},n.i(c.a)(["appType","labelsMap","firstLabels","selectedFirstLabel","selectedSecondLabel","isMoreLabel","isCEF"])),watch:{selectedFirstLabel:function(t){this.chooseSecondLabel(f),this.setSecondLabels(t),this.getRecommendData(t)},labelsMap:function(t){this.setSecondLabels(this.selectedFirstLabel)}},methods:i()({},n.i(c.b)(["retrieveAllCats","chooseFirstLabel","chooseSecondLabel","gainRecommendData","setHasClickedFunction"]),{setSecondLabels:function(t){this.secondLabels=this.hasSecondLabels(t)?this.labelsMap[t]:[]},isShowSecondLabels:function(){var t=this.firstLabels.slice(4);return this.secondLabels&&this.secondLabels.length&&(!this.isMoreLabel||this.isMoreLabel&&t.indexOf(this.selectedFirstLabel)>-1)},hasSecondLabels:function(t){return!!(t&&this.labelsMap[t]&&this.labelsMap[t].length)},chooseFirstLabelFn:function(t){this.setHasClickedFunction(!0),t!==this.selectedFirstLabel&&(this.chooseFirstLabel(t),this.chooseSecondLabel(f)),this.sendCollect({p3:"click_nav_first_tag",p4:t})},chooseSecondLabelFn:function(t){this.setHasClickedFunction(!0),t!==this.selectedSecondLabel&&(this.chooseSecondLabel(t),this.selectedFirstLabel===l?this.getRecommendData(t):this.refreshData(this.selectedFirstLabel+(t===f?"":"."+t)),this.sendCollect({p3:this.selectedFirstLabel===l?"click_choice_rec_second":"click_nav_second_tag",p4:t}))},getRecommendData:function(t){var e=this;t!==l&&t!==f?this.refreshData(t):setTimeout(function(){e.gainRecommendData()},this.isCEF?0:200)},refreshData:function(t){var e=this;setTimeout(function(){e.retrieveAllCats({job:t,mb_app:e.appType})},this.isCEF?0:200)}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{styls:{type:Object,default:function(){return{}}},closeMethod:{type:Function}},data:function(){return{}},computed:{},methods:{hideCreatePopup:function(){this.$emit("closeMethod")},stopPropagation:function(t){t.stopPropagation()}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=n(12);e.default={name:"settings-dialog",mixins:[i.a],props:{closeMethod:{type:Function}},mounted:function(){var t=this;n.i(r.c)("showMode").then(function(e){t.newBlank=!+e.result})},data:function(){return{newBlank:!1}},methods:{toggle:function(){this.newBlank=!this.newBlank},setNewBlank:function(){n.i(r.d)("showMode",this.newBlank?0:1),this.sendCollect({p3:"set_ok",p4:this.newBlank?"checked":"unchecked"})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=n.n(r),o=n(9),a=n.n(o),s=n(63),c=n.n(s),u=n(223),l=n.n(u),f=n(219),d=n.n(f),h=n(221),p=n.n(h),_=n(4),m=n(0),v=n(30),g=n(12);e.default={name:"title-bar",mixins:[g.a],props:{searchBarStyls:{type:Object,default:function(){return{}}},shouldFix:{type:Boolean,default:function(){return!1}}},mounted:function(){var t=this;this.isMyTplView||(n.i(v.a)(m.b.CONTAINER_SCROLLING,this.containerScrollingHandler),window.addEventListener("resize",this.containerScrollingHandler),this.$nextTick(function(){t.containerScrollingHandler()}))},beforeDestroy:function(){this.isMyTplView||(n.i(v.b)(m.b.CONTAINER_SCROLLING,this.containerScrollingHandler),window.removeEventListener("resize",this.containerScrollingHandler))},data:function(){return{TEMPLATES:o.TEMPLATES,labels:a.a,isFixed:!1,isSearchHot:!1,isSearchInIndex:!0,hasAddJobShow:!1,placeholderStyle:{height:"0"}}},computed:i()({},n.i(_.a)(["userJobs","appType","hasLogin","currentJob","isCEF","showAppTitleBar"]),{menuLabel:function(){if(this.userJobs&&this.userJobs.list&&this.userJobs.list.length>0)return this.userJobs.list[0].name},isMyTplView:function(){return"/mytpl"===this.$route.path},isIndex:function(){return"/"===this.$route.path}}),watch:{isFixed:function(t){!!t&&this.setPlaceholderHeight()}},methods:i()({},n.i(_.b)(["setTitlebarIsFixed"]),{hasLabelBar:function(){return"/"===this.$route.path},setPlaceholderHeight:function(){if(this.hasLabelBar()){var t=document.querySelector(".label-bar").offsetHeight,e=document.querySelector(".nav-bar").offsetHeight,n=parseFloat(document.defaultView.getComputedStyle(document.querySelector(".title-bar .app-body-container"),null).getPropertyValue("padding-bottom")),r=t+e+(e>0?10:0)+n;this.placeholderStyle.height=r+"px"}},containerScrollingHandler:function(){if(this.isMyTplView)return void(this.isFixed=!1);if(this.isIndex){if(this.$refs.titleBar){var t=this.$refs.titleBar.getBoundingClientRect().top-(this.showAppTitleBar?28:0),e=t<=0;this.setTitlebarIsFixed(e),(this.isFixed=e)&&this.setPlaceholderHeight()}}}}),components:{SearchBar:c.a,LabelBar:d.a,NavBar:p.a,VipBtnGuide:l.a}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=n.n(r),o=n(4),a=n(91),s=n(94),c=n(26),u=n(12);e.default={name:"",mixins:[a.a,s.a,u.a],props:[],data:function(){return{name:{1:"开通稻壳会员",2:"稻壳会员",3:"超级会员",4:"稻壳会员即将过期",5:"超级会员即将过期"},btnHoverTxt:{1:"开通会员尊享特权",2:"升级为超级会员",3:"超级会员尊享特权",4:"续费 尊享特权",5:"超级会员尊享特权"},infoCollect:{1:"click_docer_member",2:"update_super_member",3:"click_super_member",4:"renew_docer_member",5:"click_super_member"},index:0,icon:"",btnType:"",hoverType:"",hoverText:"",messageIcon:"",redNot:!1,renewDocerVip:!1}},mounted:function(){var t=this;c.a.get("vipBtnRedNot").then(function(e){e.value||(c.a.set("vipBtnRedNot",!0),t.redNot=!0)})},methods:i()({},n.i(o.b)(["setHasClickedFunction"]),{buy:function(t){this.setHasClickedFunction(!0),this.buyVIP({position:"newfile_index_"+this.getCsourceByTag,csource:this.appClass+"_newfile_chn",renewDocerVip:this.renewDocerVip}),this.sendCollect({p3:this.infoCollect[this.index],p4:t?"popup_button":"button"})},setRedNot:function(){this.redNot&&(this.redNot=!1)}}),computed:i()({},n.i(o.a)(["isDocerVip","isSuperVip","isDocerVipExpired","appClass","currentFolderItem","csourceMapping","currentJob","selectedFirstLabel","selectedSecondLabel","isAlmostExpire","isSuperVipAlmostExpire"]),{btnTxt:function(){return this.isDocerVip||(this.index=1,this.icon="icon-docer-vip-gray",this.btnType="normal",this.messageIcon="icon-docer-vip-ad",this.hoverType="normal"),this.isDocerVip&&(this.isAlmostExpire?(this.index=4,this.icon="icon-docer-vip-ccc",this.btnType="docer-almost",this.hoverType="docer",this.messageIcon="icon-docer-vip-ad",this.renewDocerVip=!0):(this.index=2,this.icon="icon-docer-vip-gray",this.btnType="docer",this.hoverType="super",this.messageIcon="icon-super-vip-ad")),this.isSuperVip&&(this.index=3,this.icon="icon-super-vip",this.btnType="super",this.hoverType="super",this.messageIcon="icon-super-vip-ad"),this.hoverText=this.btnHoverTxt[this.index],this.name[this.index]}}),components:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{scrolling:Number,wrapper:Object,area:Object,onChangePosition:Function,onDragging:Function,onStopDrag:Function},data:function(){return{height:0,dragging:!1,start:0}},watch:{"wrapper.height":function(t,e){this.calculateSize(this)},"area.height":function(t,e){this.calculateSize(this)}},methods:{startDrag:function(t){t.preventDefault(),t.stopPropagation(),t=t.changedTouches?t.changedTouches[0]:t,this.dragging=!0,this.start=t.clientY},onDrag:function(t){if(this.dragging){this.onDragging(),t.preventDefault(),t.stopPropagation(),t=t.changedTouches?t.changedTouches[0]:t;var e=t.clientY-this.start,n=e/this.wrapper.height*100;this.start=t.clientY;var r=this.scrolling+n;this.onChangePosition(r,"vertical")}},stopDrag:function(t){this.dragging&&(this.onStopDrag(),this.dragging=!1)},jump:function(t){if(t.target===this.$refs.container){var e=this.$refs.scrollbar.getBoundingClientRect(),n=t.clientY-e.top,r=this.height/2,i=n/this.wrapper.height*100-r;this.start=t.clientY;var o=this.scrolling+i;this.onChangePosition(o,"vertical")}},calculateSize:function(t){this.height=t.wrapper.height/t.area.height*100},getSize:function(){var t=this.$refs.container.parentElement,e=t.parentElement;return{scrollAreaHeight:t.children[0].clientHeight,scrollAreaWidth:t.children[0].clientWidth,scrollWrapperHeight:e.clientHeight,scrollWrapperWidth:e.clientWidth}}},mounted:function(){this.calculateSize(this),document.addEventListener("mousemove",this.onDrag),document.addEventListener("mouseup",this.stopDrag)},beforeDestroy:function(){document.removeEventListener("mousemove",this.onDrag),document.removeEventListener("mouseup",this.stopDrag)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(224),i=n.n(r),o=n(0),a=n(30),s=n(3);"onwheel"in document.createElement("div")||document.onmousewheel;e.default={props:{speed:{type:Number,default:210},callback:{type:Function,default:function(){}},theme:{type:String,default:function(){return""}}},components:{VerticalScrollbar:i.a},data:function(){return{ready:!1,top:0,left:0,scrollAreaHeight:null,scrollWrapperHeight:null,vMovement:0,hMovement:0,dragging:!1,start:{y:0,x:0},checkHandler:null,cancelCheckHandler:null,calculateSizeHandler:null,scrollHandler:null}},methods:{scroll:function(t){var e=this;t.preventDefault(),this.calculateSize(function(){var n=e.speed,r=t.deltaY||-t.wheelDeltaY,i=t.shiftKey,o=r>0?n:-n;i&&0==t.deltaX&&(scrollX=r>0?n:-n);var a=e.top+o;e.scrollAreaHeight>e.scrollWrapperHeight&&!i&&e.normalizeVertical(a),e.callback(a)})},normalizeVertical:function(t){t=t||0;var e=this.getSize();if(e){var n=e.scrollAreaHeight-e.scrollWrapperHeight;t>n?t=n:t<0&&(t=0),this.top=t,this.vMovement=t/e.scrollAreaHeight*100}},handleChangePosition:function(t,e){var n=this;this.calculateSize(function(){var r=t/100;"vertical"==e&&n.normalizeVertical(r*n.scrollAreaHeight),n.callback(),n.$Lazyload.lazyLoadHandler(),n.continuesChecking()})},handleScrollbarDragging:function(){this.dragging=!0},handleScrollbarStopDrag:function(){this.dragging=!1},getSize:function(){var t=this.$refs.scrollArea;if(t&&t.children){var e=this.$refs.scrollWrapper;return{scrollAreaHeight:t.children[0].clientHeight,scrollWrapperHeight:e.clientHeight}}},calculateSize:function(t,e){if(!this._inactive||e){"function"!=typeof t&&(t=null);var n=this.getSize();if(n){var r=n.scrollAreaHeight,i=n.scrollWrapperHeight;return i!==this.scrollWrapperHeight||r!==this.scrollAreaHeight||e?(rr&&!e&&(e=Math.abs(r-i)),this.scrollAreaHeight=r,this.scrollWrapperHeight=i,this.ready=!0,(void 0!==e||this.top>r)&&(this.top=e||0,this.normalizeVertical(e)),!!t&&t()):!!t&&t()}}},continuesChecking:function(){var t=this;this.callback&&(this.cancelChecking(),window.clearTimeout(this.cancelCheckHandler),this.checkHandler=window.setInterval(function(){t.callback()},100),this.cancelCheckHandler=window.setTimeout(function(){t.cancelChecking()},600))},cancelChecking:function(){window.clearInterval(this.checkHandler)},calculateSizeAndScroll:function(t){this.calculateSize(null,t)}},mounted:function(){this.calculateSizeHandler=n.i(s.d)(this.calculateSize,200),this.scrollHandler=n.i(s.d)(this.scroll,100),this.calculateSize(),n.i(a.a)(o.b.CALCULATESIZE,this.calculateSizeAndScroll),window.addEventListener("resize",this.calculateSizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.calculateSizeHandler),n.i(a.b)(o.b.CALCULATESIZE,this.calculateSizeAndScroll)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=n.n(r),o=n(4),a=n(3),s=(n(15),n(12)),c=["search_box_keyword","search_box_hot_keyword","search_box_recent_text"];e.default={name:"",mixins:[s.a],props:{isSearchHot:{type:Boolean,default:function(){return!0}},isInIndex:{type:Boolean,default:function(){return!1}}},data:function(){return{keyWord:"",hot:[],isInput:!1,isShowPopup:!1,recCheckHandler:null,hideHandler:0,inputHandler:0,isCheckInProgress:!1}},watch:{searchKeyword:function(t){t!==this.keyWord&&(this.keyWord=t)},keyWord:function(){this.isCheckInProgress=!0,this.onCheckDelay()}},mounted:function(){var t=this;this.isCheckInProgress=!1,this.keyWord=this.searchKeyword,this.retrieveHotKeys({mb_app:this.appType}),this.setSearchPageNumber(1),this.setSearchRecommendHotTab(""),this.$nextTick(function(){t.initSearchHistory()}),this.recCheckHandler=n.i(a.d)(function(e){return t.onCheck(e)},400),document.addEventListener("click",this.globalHandler)},beforeDestroy:function(){document.removeEventListener("click",this.globalHandler)},methods:i()({},n.i(o.b)(["setKeyword","serSearchFromIndex","setSearchRecommendHotTab","setSearchPageNumber","setHasClickedFunction","clearHistory","clearAllHistory","initSearchHistory","addHistoryRecord","retrieveRecommendedSearchKeywords","retrieveHotKeys"]),{tabWordSearch:function(t,e){this.keyWord=t,this.onSearch(),this.setSearchRecommendHotTab("tab"+(e+1))},clear:function(){this.keyWord="",this.isInIndex||(this.setKeyword(this.keyWord),this.setSearchRecommendHotTab(""))},onSearch:function(t,e){t&&(this.keyWord=t),this.setKeyword(this.keyWord),this.keyWord&&(this.addHistoryRecord(this.keyWord),this.isInIndex&&(this.serSearchFromIndex(!0),this.$router.push("/searchResult?source=index")),this.setHasClickedFunction(!0),c[e]&&this.sendCollect({p3:c[e]}),this.sendCollect({p3:"search_box",p4:this.keyWord}))},inputWord:function(t){13===t.which?this.onSearch():this.setSearchRecommendHotTab("")},trim:function(){this.keyWord=n.i(a.g)(this.keyWord)},focusInput:function(){var t=this.$refs.input;t&&t.focus()},setIsInput:function(t){this.isInput=t,t&&(this.onCheck(),this.isShowPopup=!0)},getTpl:function(t){if(t&&"string"==typeof t)return t.replace(new RegExp(this.keyWord,"g"),''+this.keyWord+"")},hidePopup:function(t){var e=this;window.clearTimeout(this.hideHandler),this.hideHandler=window.setTimeout(function(){e.isShowPopup=!1},t||4)},globalHandler:function(t){t.target&&!n.i(a.h)(t.target,"[search-panel]")&&(this.isShowPopup=!1)},onCheckDelay:function(){var t=this;window.clearTimeout(this.inputHandler),this.inputHandler=window.setTimeout(function(){t.isInput&&t.recCheckHandler&&t.recCheckHandler(t.keyWord)},200)},onCheck:function(t){var e=this;return this.retrieveRecommendedSearchKeywords({mb_app:this.appType,term:t||this.keyWord}).then(function(){e.isCheckInProgress=!1}).catch(function(){e.isCheckInProgress=!1})}}),computed:i()({},n.i(o.a)(["appType","searchKeyword","isSearchFromIndex","allHistory","searchRecList","hotKeywords"]),{showClear:function(){return!!this.keyWord},isMyTplView:function(){return"/mytpl"===this.$route.path},inputStyls:function(){return this.isShowPopup?{borderBottom:"none",borderBottomLeftRadius:0,borderBottomRightRadius:0}:{}},placeholder:function(){return this.hotKeywords.length?"":"请输入关键字"}}),components:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"empty",props:{tip:{type:String,default:function(){return"EMPTY"}},styls:{type:Object,default:function(){return{}}},iconClass:{type:String,default:function(){return"icon-not-like-doc"}},msgStyle:{type:Object,default:function(){return{color:"#8C8C8C"}}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=n.n(r),o=n(4),a=n(100),s=n.n(a),c=n(220),u=n.n(c),l=n(5),f=n(93),d=n.n(f),h=n(30),p=n(3),_=n(0);e.default={name:"index",data:function(){return{scrollingHandler:null}},methods:i()({},n.i(o.b)(["setHasClickedFunction"]),{feedback:function(){l.a.openUrl("https://d.wps.cn/v/8owfz?_6ab&s=cp"),this.setHasClickedFunction(!0)},onScroll:function(){return this.scrollingHandler||(this.scrollingHandler=n.i(p.d)(function(){return n.i(h.c)(_.b.CONTAINER_SCROLLING)},100)),this.scrollingHandler}}),computed:i()({},n.i(o.a)(["isCEF"])),components:{LocalList:u.a,TitleBar:s.a,VueScrollbar:d.a}}},function(t,e,n){t.exports={default:n(146),__esModule:!0}},function(t,e,n){t.exports={default:n(147),__esModule:!0}},function(t,e,n){t.exports={default:n(152),__esModule:!0}},function(t,e,n){t.exports={default:n(153),__esModule:!0}},function(t,e,n){t.exports={default:n(154),__esModule:!0}},function(t,e,n){"use strict";function r(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function i(t){var e=r(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function o(t,e,n){return 3*(e+n)/4-n}function a(t){for(var e,n=r(t),i=n[0],a=n[1],s=new d(o(t,i,a)),c=0,u=a>0?i-4:i,l=0;l>16&255,s[c++]=e>>8&255,s[c++]=255&e;return 2===a&&(e=f[t.charCodeAt(l)]<<2|f[t.charCodeAt(l+1)]>>4,s[c++]=255&e),1===a&&(e=f[t.charCodeAt(l)]<<10|f[t.charCodeAt(l+1)]<<4|f[t.charCodeAt(l+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s}function s(t){return l[t>>18&63]+l[t>>12&63]+l[t>>6&63]+l[63&t]}function c(t,e,n){for(var r,i=[],o=e;oa?a:o+16383));return 1===r?(e=t[n-1],i.push(l[e>>2]+l[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],i.push(l[e>>10]+l[e>>4&63]+l[e<<2&63]+"=")),i.join("")}e.byteLength=i,e.toByteArray=a,e.fromByteArray=u;for(var l=[],f=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,_=h.length;p<_;++p)l[p]=h[p],f[h.charCodeAt(p)]=p;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},function(t,e,n){"use strict";(function(t){function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function _(t){return+t!=t&&(t=0),o.alloc(+t)}function m(t,e){if(o.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return W(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(t).length;default:if(r)return W(t).length;e=(""+e).toLowerCase(),r=!0}}function v(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return C(this,e,n);case"ascii":return I(this,e,n);case"latin1":case"binary":return x(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=o.from(e,r)),o.isBuffer(e))return 0===e.length?-1:E(t,e,n,r,i);if("number"==typeof e)return e&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):E(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function E(t,e,n,r,i){function o(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var a=1,s=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,n/=2}var u;if(i){var l=-1;for(u=n;us&&(n=s-c),u=n;u>=0;u--){for(var f=!0,d=0;di&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a239?4:o>223?3:o>191?2:1;if(i+s<=n){var c,u,l,f;switch(s){case 1:o<128&&(a=o);break;case 2:c=t[i+1],128==(192&c)&&(f=(31&o)<<6|63&c)>127&&(a=f);break;case 3:c=t[i+1],u=t[i+2],128==(192&c)&&128==(192&u)&&(f=(15&o)<<12|(63&c)<<6|63&u)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:c=t[i+1],u=t[i+2],l=t[i+3],128==(192&c)&&128==(192&u)&&128==(192&l)&&(f=(15&o)<<18|(63&c)<<12|(63&u)<<6|63&l)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return O(r)}function O(t){var e=t.length;if(e<=Z)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function M(t,e,n,r,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function D(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function N(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function U(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(t,e,n,r,i){return i||U(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(t,e,n,r,23,4),n+4}function H(t,e,n,r,i){return i||U(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(t,e,n,r,52,8),n+8}function j(t){if(t=V(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function V(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function G(t){return t<16?"0"+t.toString(16):t.toString(16)}function W(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function $(t){for(var e=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function K(t){return q.toByteArray(j(t))}function J(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function z(t){return t!==t}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var q=n(144),Q=n(208),X=n(209);e.Buffer=o,e.SlowBuffer=_,e.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=r(),o.poolSize=8192,o._augment=function(t){return t.__proto__=o.prototype,t},o.from=function(t,e,n){return a(null,t,e,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(t,e,n){return c(null,t,e,n)},o.allocUnsafe=function(t){return u(null,t)},o.allocUnsafeSlow=function(t){return u(null,t)},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.compare=function(t,e){if(!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,a=Math.min(n,r);i0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},o.prototype.compare=function(t,e,n,r,i){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var a=i-r,s=n-e,c=Math.min(a,s),u=this.slice(r,i),l=t.slice(e,n),f=0;fi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return w(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return S(this,t,e,n);case"latin1":case"binary":return T(this,t,e,n);case"base64":return L(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;o.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(i*=256);)r+=this[t+--e]*i;return r},o.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},o.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);for(var r=this[t],i=1,o=0;++o=i&&(r-=Math.pow(2,8*e)),r},o.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),Q.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),Q.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),Q.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),Q.read(this,t,!1,52,8)},o.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){M(this,t,e,n,Math.pow(2,8*n)-1,0)}var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},o.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,255,0),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):N(this,t,e,!0),e+4},o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},o.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);M(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},o.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);M(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,127,-128),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):N(this,t,e,!0),e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},o.prototype.writeFloatLE=function(t,e,n){return B(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return B(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return H(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return H(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var a;if("number"==typeof t)for(a=e;al;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){"use strict";var r=n(16),i=n(36);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(35),i=n(50),o=n(38);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,s=n(t),c=o.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},function(t,e,n){var r=n(32),i=n(73),o=n(72),a=n(19),s=n(55),c=n(83),u={},l={},e=t.exports=function(t,e,n,f,d){var h,p,_,m,v=d?function(){return t}:c(t),g=r(n,f,e?2:1),y=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(h=s(t.length);h>y;y++)if((m=e?g(a(p=t[y])[0],p[1]):g(t[y]))===u||m===l)return m}else for(_=v.call(t);!(p=_.next()).done;)if((m=i(_,g,p.value,e))===u||m===l)return m};e.BREAK=u,e.RETURN=l},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(31);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(21),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e,n){"use strict";var r=n(76),i=n(36),o=n(39),a={};n(25)(a,n(10)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(41)("meta"),i=n(21),o=n(24),a=n(16).f,s=0,c=Object.isExtensible||function(){return!0},u=!n(28)(function(){return c(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},d=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},h=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:h}},function(t,e,n){var r=n(8),i=n(53).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(31)(a);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){"use strict";var r=n(35),i=n(50),o=n(38),a=n(40),s=n(71),c=Object.assign;t.exports=!c||n(28)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,u=1,l=i.f,f=o.f;c>u;)for(var d,h=s(arguments[u++]),p=l?r(h).concat(l(h)):r(h),_=p.length,m=0;_>m;)f.call(h,d=p[m++])&&(n[d]=h[d]);return n}:c},function(t,e,n){var r=n(16),i=n(19),o=n(35);t.exports=n(20)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(38),i=n(36),o=n(29),a=n(56),s=n(24),c=n(70),u=Object.getOwnPropertyDescriptor;e.f=n(20)?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(29),i=n(77).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},function(t,e,n){var r=n(24),i=n(40),o=n(51)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(14),i=n(1),o=n(28);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(25);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e,n){"use strict";var r=n(8),i=n(1),o=n(16),a=n(20),s=n(10)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(54),i=n(46);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},function(t,e,n){var r=n(54),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(8),i=r.navigator;t.exports=i&&i.userAgent||""},function(t,e,n){"use strict";var r=n(32),i=n(14),o=n(40),a=n(73),s=n(72),c=n(55),u=n(158),l=n(83);i(i.S+i.F*!n(75)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,f,d=o(t),h="function"==typeof this?this:Array,p=arguments.length,_=p>1?arguments[1]:void 0,m=void 0!==_,v=0,g=l(d);if(m&&(_=r(_,p>2?arguments[2]:void 0,2)),void 0==g||h==Array&&s(g))for(e=c(d.length),n=new h(e);e>v;v++)u(n,v,m?_(d[v],v):d[v]);else for(f=g.call(d),n=new h;!(i=f.next()).done;v++)u(n,v,m?a(f,_,[i.value,v],!0):i.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(155),i=n(165),o=n(33),a=n(29);t.exports=n(74)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(14);r(r.S,"Number",{isInteger:n(163)})},function(t,e,n){var r=n(14);r(r.S+r.F,"Object",{assign:n(168)})},function(t,e,n){var r=n(14);r(r.S+r.F*!n(20),"Object",{defineProperty:n(16).f})},function(t,e,n){var r=n(40),i=n(35);n(173)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){"use strict";var r,i,o,a,s=n(34),c=n(8),u=n(32),l=n(68),f=n(14),d=n(21),h=n(37),p=n(156),_=n(160),m=n(82),v=n(53).set,g=n(167)(),y=n(49),E=n(79),w=n(178),b=n(80),S=c.TypeError,T=c.process,L=T&&T.versions,R=L&&L.v8||"",A=c.Promise,C="process"==l(T),O=function(){},I=i=y.f,x=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[n(10)("species")]=function(t){t(O,O)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==R.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),P=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},k=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&D(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(S("Promise-chain cycle")):(o=P(n))?o.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&F(t)})}},F=function(t){v.call(c,function(){var e,n,r,i=t._v,o=M(t);if(o&&(e=E(function(){C?T.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=C||M(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){v.call(c,function(){var e;C?T.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),k(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=P(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(U,r,1),u(N,r,1))}catch(t){N.call(r,t)}}):(n._v=t,n._s=1,k(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};x||(A=function(t){p(this,A,"Promise","_h"),h(t),r.call(this);try{t(u(U,this,1),u(N,this,1))}catch(t){N.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(174)(A.prototype,{then:function(t,e){var n=I(m(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=C?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&k(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(U,t,1),this.reject=u(N,t,1)},y.f=I=function(t){return t===A||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!x,{Promise:A}),n(39)(A,"Promise"),n(175)("Promise"),a=n(1).Promise,f(f.S+f.F*!x,"Promise",{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!x),"Promise",{resolve:function(t){return b(s&&this===a?A:this,t)}}),f(f.S+f.F*!(x&&n(75)(function(t){A.all(t).catch(O)})),"Promise",{all:function(t){var e=this,n=I(e),r=n.resolve,i=n.reject,o=E(function(){var n=[],o=0,a=1;_(t,!1,function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=I(e),r=n.reject,i=E(function(){_(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e,n){"use strict";var r=n(8),i=n(24),o=n(20),a=n(14),s=n(81),c=n(166).KEY,u=n(28),l=n(52),f=n(39),d=n(41),h=n(10),p=n(58),_=n(57),m=n(159),v=n(162),g=n(19),y=n(21),E=n(29),w=n(56),b=n(36),S=n(76),T=n(171),L=n(170),R=n(16),A=n(35),C=L.f,O=R.f,I=T.f,x=r.Symbol,P=r.JSON,k=P&&P.stringify,F=h("_hidden"),M=h("toPrimitive"),D={}.propertyIsEnumerable,N=l("symbol-registry"),U=l("symbols"),B=l("op-symbols"),H=Object.prototype,j="function"==typeof x,V=r.QObject,G=!V||!V.prototype||!V.prototype.findChild,W=o&&u(function(){return 7!=S(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=C(H,e);r&&delete H[e],O(t,e,n),r&&t!==H&&O(H,e,r)}:O,$=function(t){var e=U[t]=S(x.prototype);return e._k=t,e},Y=j&&"symbol"==typeof x.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof x},K=function(t,e,n){return t===H&&K(B,e,n),g(t),e=w(e,!0),g(n),i(U,e)?(n.enumerable?(i(t,F)&&t[F][e]&&(t[F][e]=!1),n=S(n,{enumerable:b(0,!1)})):(i(t,F)||O(t,F,b(1,{})),t[F][e]=!0),W(t,e,n)):O(t,e,n)},J=function(t,e){g(t);for(var n,r=m(e=E(e)),i=0,o=r.length;o>i;)K(t,n=r[i++],e[n]);return t},z=function(t,e){return void 0===e?S(t):J(S(t),e)},q=function(t){var e=D.call(this,t=w(t,!0));return!(this===H&&i(U,t)&&!i(B,t))&&(!(e||!i(this,t)||!i(U,t)||i(this,F)&&this[F][t])||e)},Q=function(t,e){if(t=E(t),e=w(e,!0),t!==H||!i(U,e)||i(B,e)){var n=C(t,e);return!n||!i(U,e)||i(t,F)&&t[F][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=I(E(t)),r=[],o=0;n.length>o;)i(U,e=n[o++])||e==F||e==c||r.push(e);return r},Z=function(t){for(var e,n=t===H,r=I(n?B:E(t)),o=[],a=0;r.length>a;)!i(U,e=r[a++])||n&&!i(H,e)||o.push(U[e]);return o};j||(x=function(){if(this instanceof x)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(B,n),i(this,F)&&i(this[F],t)&&(this[F][t]=!1),W(this,t,b(1,n))};return o&&G&&W(H,t,{configurable:!0,set:e}),$(t)},s(x.prototype,"toString",function(){return this._k}),L.f=Q,R.f=K,n(77).f=T.f=X,n(38).f=q,n(50).f=Z,o&&!n(34)&&s(H,"propertyIsEnumerable",q,!0),p.f=function(t){return $(h(t))}),a(a.G+a.W+a.F*!j,{Symbol:x});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var nt=A(h.store),rt=0;nt.length>rt;)_(nt[rt++]);a(a.S+a.F*!j,"Symbol",{for:function(t){return i(N,t+="")?N[t]:N[t]=x(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in N)if(N[e]===t)return e},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!j,"Object",{create:z,defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),P&&a(a.S+a.F*(!j||u(function(){var t=x();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(y(e)||void 0!==t)&&!Y(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,k.apply(P,r)}}),x.prototype[M]||n(25)(x.prototype,M,x.prototype.valueOf),f(x,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){"use strict";var r=n(14),i=n(1),o=n(8),a=n(82),s=n(80);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(14),i=n(49),o=n(79);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){n(57)("asyncIterator")},function(t,e,n){n(57)("observable")},function(t,e,n){var r=n(14),i=n(53);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,c=(1<>1,l=-7,f=n?i-1:0,d=n?-1:1,h=t[e+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=d,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,c,u=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,_=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),e+=a+f>=1?d/c:d*Math.pow(2,1-f),e*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*c-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;t[n+h]=255&a,h+=p,a/=256,u-=8);t[n+h-p]|=128*_}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e){function n(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function r(t){return!!t&&"object"==typeof t}function i(t){if(!r(t)||f.call(t)!=o||n(t))return!1;var e=d(t);if(null===e)return!0;var i=u.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&c.call(i)==l}var o="[object Object]",a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object),f=s.toString,d=function(t,e){return function(n){return t(e(n))}}(Object.getPrototypeOf,Object);t.exports=i},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){_&&h&&(_=!1,h.length?p=h.concat(p):m=-1,p.length&&s())}function s(){if(!_){var t=i(a);_=!0;for(var e=p.length;e;){for(h=p,p=[];++m1)for(var n=1;n=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(213),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,e){!function(e){"use strict";function n(t,e,n,r){var o=e&&e.prototype instanceof i?e:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=u(t,n,s),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function i(){}function o(){}function a(){}function s(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function c(t){function e(n,i,o,a){var s=r(t[n],t,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&g.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(u).then(function(t){c.value=t,o(c)},a)}a(s.arg)}function n(t,n){function r(){return new Promise(function(r,i){e(t,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function u(t,e,n){var i=L;return function(o,a){if(i===A)throw new Error("Generator is already running");if(i===C){if("throw"===o)throw a;return _()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var c=l(s,n);if(c){if(c===O)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===L)throw i=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=A;var u=r(t,e,n);if("normal"===u.type){if(i=n.done?C:R,u.arg===O)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=C,n.method="throw",n.arg=u.arg)}}}function l(t,e){var n=t.iterator[e.method];if(n===m){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=m,l(t,e),"throw"===e.method))return O;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return O}var i=r(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,O;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=m),e.delegate=null,O):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,O)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function d(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function p(t){if(t){var e=t[E];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=g.call(i,"catchLoc"),s=g.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),d(n),O}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:p(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=m),O}}}(function(){return this}()||Function("return this")())},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(214),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n(42))},function(t,e,n){function r(t){n(195)}var i=n(2)(n(123),n(229),r,"data-v-3a9c6d8b",null);t.exports=i.exports},function(t,e,n){function r(t){n(194)}var i=n(2)(n(124),n(228),r,"data-v-38df5604",null);t.exports=i.exports},function(t,e,n){function r(t){n(192)}var i=n(2)(n(126),n(226),r,"data-v-143d1f3b",null);t.exports=i.exports},function(t,e,n){function r(t){n(199)}var i=n(2)(n(127),n(233),r,"data-v-699641e0",null);t.exports=i.exports},function(t,e,n){function r(t){n(202)}var i=n(2)(n(128),n(236),r,"data-v-97d7c0d0",null);t.exports=i.exports},function(t,e,n){function r(t){n(200)}var i=n(2)(n(129),n(234),r,"data-v-78b9d9de",null);t.exports=i.exports},function(t,e,n){function r(t){n(207)}var i=n(2)(n(131),n(242),r,"data-v-e5f12028",null);t.exports=i.exports},function(t,e,n){function r(t){n(204)}var i=n(2)(n(133),n(238),r,"data-v-9c5bab28",null);t.exports=i.exports},function(t,e,n){var r=n(2)(n(134),n(239),null,null,null);t.exports=r.exports},function(t,e,n){function r(t){n(196)}var i=n(2)(n(138),n(230),r,"data-v-43dd3fb9",null);t.exports=i.exports},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"folder-item",class:{"docer-item":t.item.isDocer||t.item.isMyFolder},style:t.styles},[n("div",{staticClass:"img-body",on:{click:function(e){t.tryInsertLocalFile(t.item)}}},[n("div",{staticClass:"file-thumb"},[n("span",{staticClass:"icon",class:(r={"icon-thumb-file":!t.item.iconClass},r[t.item.iconClass]=!!t.item.iconClass,r)}),t.item.isDocer?n("span",{staticClass:"right-footer icon icon-docer"}):t._e()]),t._v(" "),n("div",{staticClass:"footer"},[t.item.isMyFolder?t._e():n("div",{staticClass:"name",attrs:{title:t.getFileName(t.item.fileName||t.item.name)}},[n("span",{staticClass:"name-span"},[t._v("\n "+t._s(t.getFileName(t.item.fileName||t.item.name))+"\n ")])]),t._v(" "),t.item.isMyFolder?n("div",{staticClass:"name",class:{"is-my-folder":t.item.isMyFolder}},[n("span",{staticClass:"name-label"},[t._v("\n "+t._s(t.getFileName(t.item.fileName||t.item.name))+"\n "),t.hadNewDot&&t.hasLogin&&t.item.isMyFolder?n("i",{staticClass:"has-new"}):t._e()])]):t._e(),t._v(" "),n("div",{staticClass:"desc",attrs:{title:t.item.lastTime}},[t.item.isDocer?n("span",{staticClass:"icon icon-docer-rec"}):t._e(),n("span",[t._v(t._s(t.getDesc))])])])])]);var r},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"popup",on:{mousedown:function(e){e.stopPropagation(),t.stopPropagation()}}},[n("div",{staticClass:"mask",on:{click:function(e){t.closeMethod()}}},[n("div",{staticClass:"popup-container",style:t.styls,on:{click:function(e){t.stopPropagation(e)}}},[t._t("popup-body")],2)])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"blank-document",style:t.blankStyle,on:{click:function(e){t.insertBlankFile()}}},[n("div",{staticClass:"blank-container",class:(r={"is-active":t.isActive},r[t.appClass]=!0,r)},[t._m(0),t._v(" "),n("div",{staticClass:"name"},[t._v(t._s(t.newDocerName))])]),t._v(" "),n("div",{staticClass:"footer"})]);var r},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"plus-container"},[n("span",{staticClass:"icon icon-new-bank"})])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"title-bar wps",style:t.getStyle,on:{mousedown:function(e){t.dragWidget()}}},[t.showBack?n("div",{staticClass:"left-buttons",class:t.getTheme,on:{click:function(e){t.close()}}},[n("span",{staticClass:"icon icon-back"}),t._v(" "),n("span",{staticClass:"app-title-back"},[t._v(t._s(t.labels.BACK))])]):t._e(),t._v(" "),t.showBack?t._e():n("div",{staticClass:"left-buttons logo"},[n("span",{staticClass:"icon icon-docer-logo-s"}),t._v(" "),n("span",{staticClass:"app-title-back"},[t._v(t._s(t.labels.NEW_FILE))])]),t._v("\n "+t._s(t.getTitle)+"\n "),t.showAppTitleBar?n("div",{staticClass:"right-buttons"},[n("span",{staticClass:"icon",class:{"icon-t-max":!t.isFullScreen,"icon-t-resize":t.isFullScreen},attrs:{title:t.isFullScreen?t.labels.RESTORE:t.labels.MAXIMUM},on:{mousedown:function(e){t.stopPropagation(e)},click:function(e){t.maximum()}}}),n("span",{staticClass:"icon icon-t-close",attrs:{title:t.labels.CLOSE},on:{mousedown:function(e){t.stopPropagation(e)},click:function(e){t.closeWindow()}}})]):t._e(),t._v(" "),t.showSettings?n("popup",{attrs:{closeMethod:t.hideDialog}},[n("settings-dialog",{attrs:{slot:"popup-body",closeMethod:t.hideDialog},slot:"popup-body"})],1):t._e()],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"index-view"},[n("vue-scrollbar",{ref:"Scrollbar",staticClass:"scroll-body",style:{height:"100%",minWidth:"1172px"},attrs:{callback:t.onScroll()}},[n("div",{staticClass:"app-body"},[n("local-list"),t._v(" "),n("title-bar"),t._v(" "),n("div",{staticClass:"category-container app-body-container"},[n("section",[n("div",{staticClass:"feed-back",class:{"feed-back--isCEF":t.isCEF},on:{click:function(e){t.feedback()}}},[t._v("问题 反馈")]),t._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[n("keep-alive",[n("router-view",{staticClass:"app-body"})],1)],1)],1)])],1)])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"app",class:t.appClass,attrs:{id:"app"}},[!t.showAppTitleBar&&t.isIndex||t.notShowTitleBar?t._e():n("div",{staticClass:"app-title-bar"},[n("app-title-bar")],1),t._v(" "),n("div",{staticClass:"scroll-body",class:{secondPage:t.isSecondPage},attrs:{"data-scrollattr":"mainpage",id:"app-scroll-body"}},[n("div",{staticClass:"route-body-container"},[n("keep-alive",{attrs:{include:"index, docer-tpl, mytpl"}},[n("router-view")],1)],1)]),t._v(" "),t.toastMessage.show?n(t.Toast,{tag:"div"}):t._e(),t._v(" "),t.showDownload?n(t.Download,{tag:"div"}):t._e(),t._v(" "),t.showPrivew?n(t.Preview,{tag:"div"}):t._e()])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"container",class:t.appClass,style:t.containerStyle},[n("transition",{attrs:{name:"fade",mode:"out-in"}},[t.listData.length>0?n("ul",{ref:"ulContainer",style:t.styles.list},[n("transition-group",{ref:"flipContainer",attrs:{name:"list-complete",tag:"div"}},t._l(t.listData,function(e,r){return n(t.listItem,{key:e.id,tag:"li",staticClass:"list-complete-item",class:{active:r===t.currentIndex},attrs:{divStyls:t.itemStyls,origin:t.origin,clickFunc:t.clickFunc,"img-size":t.imgSize,appType:t.appType,styles:t.styles.item,index:r,item:e,thumbSrc:t.thumbList[r]}})}))],1):t._e()]),t._v(" "),t.listData&&0!==t.listData.length?t._e():n("empty",{attrs:{msgStyle:t.emptyMsgStyle,iconClass:"icon-empty-preview",tip:t.labels.NO_LOCAL_FILES_FOUND}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"labelBar",staticClass:"label-bar",class:{"label-bar--fixed":t.isFixed}},[n("span",{staticClass:"label-bar__declare white-button",on:{click:function(e){t.gotoGuide()}}},[n("span",{staticClass:"icon icon-settings"}),t._v(" "),n("span",[t._v(t._s(t.NAV.USUAL_LABEL))]),t._v(" "),n("span",{staticClass:"tooltip"},[t._v("设置常用标签")])]),t._v(" "),n("ul",{staticClass:"label-bar__list"},[t._l(t.usualLabels,function(e,r){return[n("li",{directives:[{name:"show",rawName:"v-show",value:r<4,expression:"index < 4"}],class:{"label-bar__active ":t.selectedFirstLabel===e&&!t.isMoreLabel},on:{click:function(n){t.chooseFirstLabelFn(e)}}},[t._v(t._s(e))])]}),t._v(" "),n("li",{class:{"label-bar__active":t.isMoreLabel},on:{click:function(e){t.showMore()}}},[t._v(t._s(t.NAV.MORE_LABEL)+"...")])],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isMoreLabel||t.isShowSecondLabels(),expression:"isMoreLabel || isShowSecondLabels()"}],ref:"navBar",staticClass:"nav-bar"},[n("span",{staticClass:"nav-bar__declare"},[t._v(t._s(t.NAV.SORT_LABEL))]),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.isMoreLabel,expression:"isMoreLabel"}],staticClass:"nav-bar__list clearfix",class:{"nav-bar__list--hasSecondNav":t.secondLabels&&t.secondLabels.length}},[t._l(t.firstLabels,function(e,r){return[r>3?n("li",{class:{"nav-bar__list__active":t.selectedFirstLabel===e},on:{click:function(n){t.chooseFirstLabelFn(e)}}},[t._v(t._s(e))]):t._e()]})],2),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.isShowSecondLabels(),expression:"isShowSecondLabels()"}],staticClass:"nav-bar__list nav-bar__list--job clearfix",class:{"nav-bar__list--no-border":!t.isMoreLabel}},[n("li",{class:{"nav-bar__list__active":t.selectedSecondLabel===t.NAV.ALL_LABEL},on:{click:function(e){t.chooseSecondLabelFn(t.NAV.ALL_LABEL)}}},[t._v(t._s(t.NAV.ALL_LABEL))]),t._v(" "),t._l(t.secondLabels,function(e){return n("li",{class:{"nav-bar__list__active":t.selectedSecondLabel===e},on:{click:function(n){t.chooseSecondLabelFn(e)}}},[t._v(t._s(t._f("filterLabel")(e)))])})],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"bs-container-fluid":!t.isInIndex,"my-tpl-view":t.isMyTplView}},[n("div",{class:[t.isInIndex?"search-index":"bs-container"]},[n("div",{staticClass:"search-bar",attrs:{"search-panel":""}},[n("div",{staticClass:"search-relevance"}),t._v(" "),n("div",{staticClass:"search-input"},[t.hotKeywords.length>0?n("ul",{directives:[{name:"show",rawName:"v-show",value:!t.isInput&&!t.keyWord,expression:"!isInput && !keyWord"}],staticClass:"keywords-group",on:{click:function(e){e.stopPropagation(),t.focusInput()}}},t._l(t.hotKeywords,function(e){return n("li",{key:e,staticClass:"hot-keywords",on:{click:function(n){n.stopPropagation(),t.onSearch(e,0),t.hidePopup()}}},[t._v(t._s(e))])})):t._e(),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.keyWord,expression:"keyWord"}],ref:"input",style:t.inputStyls,attrs:{maxlength:"50",placeholder:t.placeholder,type:"text"},domProps:{value:t.keyWord},on:{focus:function(e){t.setIsInput(!0)},blur:function(e){t.setIsInput(!1)},keyup:function(e){t.inputWord(e)},change:function(e){t.trim()},input:function(e){e.target.composing||(t.keyWord=e.target.value)}}}),t._v(" "),n("span",{staticClass:"icon icon-search abs",on:{click:function(e){t.onSearch(),t.hidePopup()}}}),t._v(" "),t.showClear?n("span",{staticClass:"icon icon-search-clear abs",on:{click:function(e){t.clear()}}}):t._e(),t._v(" "),n("transition",{attrs:{name:"slide-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowPopup,expression:"isShowPopup"}],staticClass:"popup"},[0!==t.searchRecList.length&&t.keyWord.trim()||t.isCheckInProgress?n("div",{staticClass:"rec-list"},[n("ul",t._l(t.searchRecList,function(e){return n("li",{key:e.id,staticClass:"history rec-keys relative item-complete-li",domProps:{innerHTML:t._s(t.getTpl(e.data))},on:{click:function(n){n.stopPropagation(),t.onSearch(e.data),t.hidePopup()}}})}))]):n("div",{staticClass:"panel-hot-keywords"},[n("div",{staticClass:"title relative hot-title"},[t._v("热门搜索")]),t._v(" "),n("ul",{staticClass:"keywords-group panel"},t._l(t.hotKeywords,function(e){return n("li",{key:e,staticClass:"hot-keywords",on:{click:function(n){n.stopPropagation(),t.onSearch(e,1),t.hidePopup()}}},[t._v(t._s(e))])})),t._v(" "),n("div",{staticClass:"title"},[t._v("最近搜索"),n("span",{staticClass:"icon icon-clear-all",on:{click:function(e){e.stopPropagation(),t.clearAllHistory()}}})]),t._v(" "),n("ul",[n("transition-group",{attrs:{name:"item-complete",tag:"div"}},t._l(t.allHistory.slice(0,6),function(e){return n("li",{key:e,staticClass:"history relative item-complete-li",on:{click:function(n){n.stopPropagation(),t.onSearch(e,2),t.hidePopup()}}},[t._v(t._s(e)),n("span",{staticClass:"icon icon-clear-history",on:{click:function(n){n.stopPropagation(),t.clearHistory(e)}}})])}))],1)])])])],1)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"local-list",class:"img-bg-"+t.appClass,attrs:{id:"localList"}},[n("div",{ref:"localTplContainer",staticClass:"local-tpl-container app-body-container"},[n("blank-document"),n("div",{staticClass:"devide-line"}),n("image-list",{attrs:{clickFunc:t.clickFunc,containerStyle:t.containerStyle,styles:t.imgStyls,listData:t.concatFiles}})],1)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"titleBar",staticClass:"title-bar-wrap",class:{"my-tpl":t.shouldFix}},[n("div",{staticClass:"title-bar",class:{"title-bar-fixed":t.isFixed,"not-show-title-bar":!t.showAppTitleBar&&t.isIndex,"title-bar--no-bar":!t.hasLabelBar(),"title-bar--isCEF":t.isCEF}},[n("div",{staticClass:"app-body-container"},[t.hasLabelBar()?n("label-bar",{attrs:{isFixed:t.shouldFix||t.isFixed}}):t._e(),t._v(" "),t.hasLabelBar()?n("nav-bar"):t._e(),t._v(" "),n("div",{staticClass:"right-search-bar",style:t.searchBarStyls},[n("div",{staticClass:"inline"},[n("search-bar",{style:t.searchBarStyls,attrs:{isSearchHot:t.isSearchHot,isInIndex:t.isSearchInIndex}})],1),t._v(" "),t.hasLabelBar()?n("div",{staticClass:"inline"},[n("vip-btn-guide")],1):t._e()])],1)]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.shouldFix||t.isFixed,expression:"shouldFix || isFixed"}],style:t.placeholderStyle})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vip-btn-guide"},[n("div",{staticClass:"vip-btn",class:t.btnType,on:{click:function(e){t.buy()}}},[n("span",{staticClass:"icon",class:t.icon}),t._v(" "),n("span",{staticClass:"btn-name",class:{redNot:t.redNot&&!t.isSuperVip},on:{mouseover:function(e){t.setRedNot()}}},[t._v(t._s(t.btnTxt))])]),t._v(" "),n("div",{staticClass:"vip-hover"},[n("div",{staticClass:"vip-message",class:t.hoverType,on:{click:function(e){t.buy(!0)}}},[n("span",{staticClass:"btn-name"},[t._v(t._s(t.hoverText))])]),t._v(" "),n("div",{staticClass:"icon",class:t.messageIcon})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.height<100?n("div",{ref:"container",staticClass:"vue-scrollbar__scrollbar-vertical",on:{click:t.jump}},[n("div",{ref:"scrollbar",class:"scrollbar"+(t.dragging?"":" vue-scrollbar-transition"),style:{height:t.height+"%",top:t.scrolling+"%"},on:{touchstart:t.startDrag,mousedown:t.startDrag}})]):t._e()])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"scrollWrapper",staticClass:"vue-scrollbar__wrapper",class:t.theme},[n("div",{ref:"scrollArea",class:"vue-scrollbar__area"+(t.dragging?" ":" vue-scrollbar-transition"),style:{marginTop:-1*t.top+"px",marginLeft:-1*t.left+"px"},on:{mousewheel:function(e){t.scrollHandler(e),t.continuesChecking(5)}}},[t._t("default"),t._v(" "),t.ready?n("vertical-scrollbar",{attrs:{area:{height:t.scrollAreaHeight},wrapper:{height:t.scrollWrapperHeight},scrolling:t.vMovement,"on-change-position":t.handleChangePosition,"on-dragging":t.handleScrollbarDragging,"on-stop-drag":t.handleScrollbarStopDrag}}):t._e()],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"empty",style:t.styls},[n("div",[n("span",{staticClass:"icon",class:t.iconClass})]),t._v(" "),n("div",{staticClass:"tip-msg",style:t.msgStyle},[t._v(t._s(t.tip))])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"settings-dialog"},[n("span",{staticClass:"icon icon-close",on:{click:function(e){t.closeMethod()}}}),t._v(" "),n("div",{staticClass:"title"},[t._v("设置")]),t._v(" "),n("div",{staticClass:"desc",on:{click:function(e){t.toggle()}}},[n("span",{staticClass:"icon icon-checkbox",class:{active:t.newBlank}}),t._v(" "),n("i",[t._v("点击新建时,直接新建空白(弹窗将收起为悬浮窗口)")])]),t._v(" "),n("div",{staticClass:"button-group"},[n("div",{staticClass:"blue-button ok-button",on:{click:function(e){t.closeMethod(),t.setNewBlank()}}},[t._v("确定")]),n("div",{staticClass:"white-button cancel-button",on:{click:function(e){t.closeMethod()}}},[t._v("取消")])])])},staticRenderFns:[]}},function(t,e,n){"use strict";function r(t,e){}function i(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function o(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function a(t,e){for(var n in e)t[n]=e[n];return t}function s(t,e,n){void 0===e&&(e={});var r,i=n||c;try{r=i(t||"")}catch(t){r={}}for(var o in e)r[o]=e[o];return r}function c(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Ht(n.shift()),i=n.length>0?Ht(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}),e):e}function u(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Bt(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Bt(e)):r.push(Bt(e)+"="+Bt(t)))}),r.join("&")}return Bt(e)+"="+Bt(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function l(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=f(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:h(e,i),matched:t?d(t):[]};return n&&(a.redirectedFrom=h(n,i)),Object.freeze(a)}function f(t){if(Array.isArray(t))return t.map(f);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=f(t[n]);return e}return t}function d(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function h(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;void 0===i&&(i="");var o=e||u;return(n||"/")+o(r)+i}function p(t,e){return e===Vt?t===e:!!e&&(t.path&&e.path?t.path.replace(jt,"")===e.path.replace(jt,"")&&t.hash===e.hash&&_(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params)))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],i=e[n];return"object"==typeof r&&"object"==typeof i?_(r,i):String(r)===String(i)})}function m(t,e){return 0===t.path.replace(jt,"/").indexOf(e.path.replace(jt,"/"))&&(!e.hash||t.hash===e.hash)&&v(t.query,e.query)}function v(t,e){for(var n in e)if(!(n in t))return!1;return!0}function g(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){if(/\b_blank\b/i.test(t.currentTarget.getAttribute("target")))return}return t.preventDefault&&t.preventDefault(),!0}}function y(t){if(t)for(var e,n=0;n=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function S(t){return t.replace(/\/\//g,"/")}function T(t,e){for(var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=Zt.exec(t));){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(o,l),o=l+c.length,u)a+=u[1];else{var f=t[o],d=n[2],h=n[3],p=n[4],_=n[5],m=n[6],v=n[7];a&&(r.push(a),a="");var g=null!=d&&null!=f&&f!==d,y="+"===m||"*"===m,E="?"===m||"*"===m,w=n[2]||s,b=p||_;r.push({name:h||i++,prefix:d||"",delimiter:w,optional:E,repeat:y,partial:g,asterisk:!!v,pattern:b?I(b):v?".*":"[^"+O(w)+"]+?"})}}return o-1&&(i.params[d]=n.params[d]);if(s)return i.path=U(s.path,i.params,'named route "'+o+'"'),a(s,i,r)}else if(i.path){i.params={};for(var h=0;h=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function lt(t){return function(e,n,r){var o=!1,a=0,s=null;ft(t,function(t,e,n,c){if("function"==typeof t&&void 0===t.cid){o=!0,a++;var u,l=pt(function(e){ht(e)&&(e=e.default),t.resolved="function"==typeof e?e:Ft.extend(e),n.components[c]=e,--a<=0&&r()}),f=pt(function(t){var e="Failed to resolve async component "+c+": "+t;s||(s=i(t)?t:new Error(e),r(s))});try{u=t(l,f)}catch(t){f(t)}if(u)if("function"==typeof u.then)u.then(l,f);else{var d=u.component;d&&"function"==typeof d.then&&d.then(l,f)}}}),o||r()}}function ft(t,e){return dt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function dt(t){return Array.prototype.concat.apply([],t)}function ht(t){return t.__esModule||oe&&"Module"===t[Symbol.toStringTag]}function pt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}function _t(t){if(!t)if(Yt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function mt(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function It(t){ne?st(Ot(t)):window.location.hash=t}function xt(t){ne?ct(Ot(t)):window.location.replace(Ot(t))}function Pt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function kt(t,e,n){var r="hash"===n?"#"+e:e;return t?S(t+"/"+r):r}var Ft,Mt={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,s=e.data;s.routerView=!0;for(var c=i.$createElement,u=n.name,l=i.$route,f=i._routerViewCache||(i._routerViewCache={}),d=0,h=!1;i&&i._routerRoot!==i;)i.$vnode&&i.$vnode.data.routerView&&d++,i._inactive&&(h=!0),i=i.$parent;if(s.routerViewDepth=d,h)return c(f[u],s,r);var p=l.matched[d];if(!p)return f[u]=null,c();var _=f[u]=p.components[u];s.registerRouteInstance=function(t,e){var n=p.instances[u];(e&&n!==t||!e&&n===t)&&(p.instances[u]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){p.instances[u]=e.componentInstance};var m=s.props=o(l,p.props&&p.props[u]);if(m){m=s.props=a({},m);var v=s.attrs=s.attrs||{};for(var g in m)_.props&&g in _.props||(v[g]=m[g],delete m[g])}return c(_,s,r)}},Dt=/[!'()*]/g,Nt=function(t){return"%"+t.charCodeAt(0).toString(16)},Ut=/%2C/g,Bt=function(t){return encodeURIComponent(t).replace(Dt,Nt).replace(Ut,",")},Ht=decodeURIComponent,jt=/\/?$/,Vt=l(null,{path:"/"}),Gt=[String,Object],Wt=[String,Array],$t={name:"router-link",props:{to:{type:Gt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Wt,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,a=i.route,s=i.href,c={},u=n.options.linkActiveClass,f=n.options.linkExactActiveClass,d=null==u?"router-link-active":u,h=null==f?"router-link-exact-active":f,_=null==this.activeClass?d:this.activeClass,v=null==this.exactActiveClass?h:this.exactActiveClass,E=o.path?l(null,o,null,n):a;c[v]=p(r,E),c[_]=this.exact?c[v]:m(r,E);var w=function(t){g(t)&&(e.replace?n.replace(o):n.push(o))},b={click:g};Array.isArray(this.event)?this.event.forEach(function(t){b[t]=w}):b[this.event]=w;var S={class:c};if("a"===this.tag)S.on=b,S.attrs={href:s};else{var T=y(this.$slots.default);if(T){T.isStatic=!1;var L=Ft.util.extend;(T.data=L({},T.data)).on=b;(T.data.attrs=L({},T.data.attrs)).href=s}else S.on=b}return t(this.tag,S,this.$slots.default)}},Yt="undefined"!=typeof window,Kt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Jt=N,zt=T,qt=L,Qt=C,Xt=D,Zt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Jt.parse=zt,Jt.compile=qt,Jt.tokensToFunction=Qt,Jt.tokensToRegExp=Xt;var te=Object.create(null),ee=Object.create(null),ne=Yt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),re=Yt&&window.performance&&window.performance.now?window.performance:Date,ie=it(),oe="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,ae=function(t,e){this.router=t,this.base=_t(e),this.current=Vt,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};ae.prototype.listen=function(t){this.cb=t},ae.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ae.prototype.onError=function(t){this.errorCbs.push(t)},ae.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},ae.prototype.confirmTransition=function(t,e,n){var o=this,a=this.current,s=function(t){i(t)&&(o.errorCbs.length?o.errorCbs.forEach(function(e){e(t)}):r(!1,"uncaught error during route navigation:")),n&&n(t)};if(p(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),s();var c=mt(this.current.matched,t.matched),u=c.updated,l=c.deactivated,f=c.activated,d=[].concat(yt(l),this.router.beforeHooks,Et(u),f.map(function(t){return t.beforeEnter}),lt(f));this.pending=t;var h=function(e,n){if(o.pending!==t)return s();try{e(t,a,function(t){!1===t||i(t)?(o.ensureURL(!0),s(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(s(),"object"==typeof t&&t.replace?o.replace(t):o.push(t)):n(t)})}catch(t){s(t)}};ut(d,h,function(){var n=[];ut(bt(f,n,function(){return o.current===t}).concat(o.router.resolveHooks),h,function(){if(o.pending!==t)return s();o.pending=null,e(t),o.router.app&&o.router.app.$nextTick(function(){n.forEach(function(t){t()})})})})},ae.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var se=function(t){function e(e,n){var r=this;t.call(this,e,n);var i=e.options.scrollBehavior;i&&J();var o=Lt(this.base);window.addEventListener("popstate",function(t){var n=r.current,a=Lt(r.base);r.current===Vt&&a===o||r.transitionTo(a,function(t){i&&z(e,t,n,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){st(S(r.base+t.fullPath)),z(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){ct(S(r.base+t.fullPath)),z(r.router,t,o,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(Lt(this.base)!==this.current.fullPath){var e=S(this.base+this.current.fullPath);t?st(e):ct(e)}},e.prototype.getCurrentLocation=function(){return Lt(this.base)},e}(ae),ce=function(t){function e(e,n,r){t.call(this,e,n),r&&Rt(this.base)||At()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,n=e.options.scrollBehavior,r=ne&&n;r&&J(),window.addEventListener(ne?"popstate":"hashchange",function(){var e=t.current;At()&&t.transitionTo(Ct(),function(n){r&&z(t.router,n,e,!0),ne||xt(n.fullPath)})})},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){It(t.fullPath),z(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){xt(t.fullPath),z(r.router,t,o,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ct()!==e&&(t?It(e):xt(e))},e.prototype.getCurrentLocation=function(){return Ct()},e}(ae),ue=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ae),le=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=$(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!ne&&!1!==t.fallback,this.fallback&&(e="hash"),Yt||(e="abstract"),this.mode=e,e){case"history":this.history=new se(this,t.base);break;case"hash":this.history=new ce(this,t.base,this.fallback);break;case"abstract":this.history=new ue(this,t.base)}},fe={currentRoute:{configurable:!0}};le.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},fe.currentRoute.get=function(){return this.history&&this.history.current},le.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof se)n.transitionTo(n.getCurrentLocation());else if(n instanceof ce){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},le.prototype.beforeEach=function(t){return Pt(this.beforeHooks,t)},le.prototype.beforeResolve=function(t){return Pt(this.resolveHooks,t)},le.prototype.afterEach=function(t){return Pt(this.afterHooks,t)},le.prototype.onReady=function(t,e){this.history.onReady(t,e)},le.prototype.onError=function(t){this.history.onError(t)},le.prototype.push=function(t,e,n){this.history.push(t,e,n)},le.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},le.prototype.go=function(t){this.history.go(t)},le.prototype.back=function(){this.go(-1)},le.prototype.forward=function(){this.go(1)},le.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},le.prototype.resolve=function(t,e,n){var r=G(t,e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:kt(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},le.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Vt&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(le.prototype,fe),le.install=E,le.version="3.0.1",Yt&&window.Vue&&window.Vue.use(le),e.a=le},function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],i=0;i