4c4e04ff5cf9004757af.js 114 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(t,e,n){"use strict";n.d(e,"k",(function(){return w})),n.d(e,"m",(function(){return y})),n.d(e,"l",(function(){return _})),n.d(e,"e",(function(){return O})),n.d(e,"b",(function(){return x})),n.d(e,"r",(function(){return j})),n.d(e,"g",(function(){return S})),n.d(e,"h",(function(){return C})),n.d(e,"d",(function(){return k})),n.d(e,"q",(function(){return $})),n.d(e,"j",(function(){return E})),n.d(e,"s",(function(){return P})),n.d(e,"n",(function(){return V})),n.d(e,"p",(function(){return R})),n.d(e,"f",(function(){return D})),n.d(e,"c",(function(){return L})),n.d(e,"i",(function(){return I})),n.d(e,"o",(function(){return M})),n.d(e,"a",(function(){return W}));n(28),n(32),n(11),n(29),n(58),n(74);var r=n(55),o=(n(140),n(208),n(275),n(14)),c=(n(17),n(18),n(82),n(187),n(37),n(31),n(3)),l=(n(30),n(8),n(4),n(15),n(16),n(6)),f=n(1);function h(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function m(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t))){var i=0,e=function(){};return{s:e,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,o=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,r=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function w(t){f.default.config.errorHandler&&f.default.config.errorHandler(t)}function y(t){return t.then((function(t){return t.default||t}))}function _(t){return t.$options&&"function"==typeof t.$options.fetch&&!t.$options.fetch.length}function O(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.$children||[],o=m(r);try{for(o.s();!(e=o.n()).done;){var c=e.value;c.$fetch?n.push(c):c.$children&&O(c,n)}}catch(t){o.e(t)}finally{o.f()}return n}function x(t,e){if(e||!t.options.__hasNuxtData){var n=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=n,t.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),d({},data,{},e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function j(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=f.default.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function S(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function C(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return S(t,e,"instances")}function k(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function $(t,e){return Promise.all(k(t,function(){var t=Object(c.a)(regeneratorRuntime.mark((function t(n,r,o,c){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n||n.options){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return o.components[c]=n=j(n),t.abrupt("return","function"==typeof e?e(n,r,o,c):n);case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function E(t){return T.apply(this,arguments)}function T(){return(T=Object(c.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,$(e);case 4:return t.abrupt("return",d({},e,{meta:S(e).map((function(t,n){return d({},t.options.meta,{},(e.matched[n]||{}).meta)}))}));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function P(t,e){return A.apply(this,arguments)}function A(){return(A=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var c,l,f,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!0,isDev:!1,isHMR:!1,app:e,store:e.store,payload:n.payload,error:n.error,base:"/",env:{NODE_ENV:"production"}},n.req&&(e.context.req=n.req),n.res&&(e.context.res=n.res),n.ssrContext&&(e.context.ssrContext=n.ssrContext),e.context.redirect=function(t,path,n){if(t){e.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},path=t,r=Object(o.a)(path),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=F(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([E(n.route),E(n.from)]);case 3:c=t.sent,l=Object(r.a)(c,2),f=l[0],h=l[1],n.route&&(e.context.route=f),n.from&&(e.context.from=h),e.context.next=n.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function V(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():R(t[0],e).then((function(){return V(t.slice(1),e)}))}function R(t,e){var n;return(n=2===t.length?new Promise((function(n){t(e,(function(t,data){t&&e.error(t),n(data=data||{})}))})):t(e))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function D(base,t){var path=decodeURI(window.location.pathname);return"hash"===t?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function L(t,e){return function(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===Object(o.a)(t[i])&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",z(e)));return function(e,r){for(var path="",data=e||{},o=(r||{}).pretty?B:encodeURIComponent,c=0;c<t.length;c++){var l=t[c];if("string"!=typeof l){var f=data[l.name||"pathMatch"],h=void 0;if(null==f){if(l.optional){l.partial&&(path+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(Array.isArray(f)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<f.length;d++){if(h=o(f[d]),!n[c].test(h))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(h)+"`");path+=(0===d?l.prefix:l.delimiter)+h}}else{if(h=l.asterisk?B(f,!0):o(f),!n[c].test(h))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+h+'"');path+=l.prefix+h}}else path+=l}return path}}(function(t,e){var n,r=[],o=0,c=0,path="",l=e&&e.delimiter||"/";for(;null!=(n=N.exec(t));){var f=n[0],h=n[1],d=n.index;if(path+=t.slice(c,d),c=d+f.length,h)path+=h[1];else{var m=t[c],v=n[2],w=n[3],y=n[4],_=n[5],O=n[6],x=n[7];path&&(r.push(path),path="");var j=null!=v&&null!=m&&m!==v,S="+"===O||"*"===O,C="?"===O||"*"===O,k=n[2]||l,pattern=y||_;r.push({name:w||o++,prefix:v||"",delimiter:k,optional:C,repeat:S,partial:j,asterisk:Boolean(x),pattern:pattern?H(pattern):x?".*":"[^"+U(k)+"]+?"})}}c<t.length&&(path+=t.substr(c));path&&r.push(path);return r}(t,e),e)}function I(t,e){var n={},r=d({},t,{},e);for(var o in r)String(t[o])!==String(e[o])&&(n[o]=!0);return n}function M(t){var e;if(t.message||"string"==typeof t)e=t.message||t;else try{e=JSON.stringify(t,null,2)}catch(n){e="[".concat(t.constructor.name,"]")}return d({},t,{message:e,statusCode:t.statusCode||t.status||t.response&&t.response.status||500})}window.onNuxtReadyCbs=[],window.onNuxtReady=function(t){window.onNuxtReadyCbs.push(t)};var N=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(t,e){var n=e?/[?#]/g:/[/?#]/g;return encodeURI(t).replace(n,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function U(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function H(t){return t.replace(/([=!:$/()])/g,"\\$1")}function z(t){return t&&t.sensitive?"":"i"}function F(t,e){var n,o=t.indexOf("://");-1!==o?(n=t.substring(0,o),t=t.substring(o+3)):t.startsWith("//")&&(t=t.substring(2));var c,l=t.split("/"),f=(n?n+"://":"//")+l.shift(),path=l.filter(Boolean).join("/");if(2===(l=path.split("#")).length){var h=l,d=Object(r.a)(h,2);path=d[0],c=d[1]}return f+=path?"/"+path:"",e&&"{}"!==JSON.stringify(e)&&(f+=(2===t.split("?").length?"&":"?")+function(t){return Object.keys(t).sort().map((function(e){var n=t[e];return null==n?"":Array.isArray(n)?n.slice().map((function(t){return[e,"=",t].join("")})).join("&"):e+"="+n})).filter(Boolean).join("&")}(e)),f+=c?"#"+c:""}function W(t,e,n){t.$options[e]||(t.$options[e]=[]),t.$options[e].includes(n)||t.$options[e].push(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e);n(37),n(8),n(4);var r=n(1),o=n(25),c=n(181);r.default.use(o.a);var l=n(312),f=l.keys().reduce((function(t,e){var n=e.replace(/^\.\/(.*)\.\w+$/,"$1"),r=l(e);return t[n]=r.default,t}),{}),h=new o.a.Store({state:function(){return{domainConfig:{api:"",siteUrl:"",rooterUrl:"",jishuinUrl:""}}},modules:f,getters:c.default,mutations:{updateDomainConfig:function(t,e){t.domainConfig={api:e.api,siteUrl:e.siteUrl,jishuinUrl:e.jishuinUrl,rooterUrl:e.rooterUrl}}}});e.default=function(){return h}},function(t,e,n){"use strict";n.d(e,"b",(function(){return Qt})),n.d(e,"a",(function(){return E}));n(31),n(28),n(11),n(8),n(4),n(15);var r=n(3),o=n(6),c=(n(16),n(1)),l=n(244),f=n(185),h=n.n(f),d=n(66),m=n.n(d),v=n(23),w=n(0);"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual",window.addEventListener("beforeunload",(function(){window.history.scrollRestoration="auto"})),window.addEventListener("load",(function(){window.history.scrollRestoration="manual"})));var y=function(){},_=v.c.prototype.push;v.c.prototype.push=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y,n=arguments.length>2?arguments[2]:void 0;return _.call(this,t,e,n)},c.default.use(v.c);var O={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,n){var r=!1,o=Object(w.g)(t);(o.length<2&&o.every((function(t){return!1!==t.options.scrollToTop}))||o.some((function(t){return t.options.scrollToTop})))&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return t.path===e.path&&t.hash!==e.hash&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(e){c.$once("triggerScroll",(function(){if(t.hash){var n=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(r)}))}))},routes:[{path:"/login",component:function(){return Object(w.m)(n.e(3).then(n.bind(null,539)))},name:"login"},{path:"/main",component:function(){return Object(w.m)(n.e(4).then(n.bind(null,538)))},children:[{path:"",component:function(){return Object(w.m)(n.e(29).then(n.bind(null,540)))},name:"main-index"},{path:"404",component:function(){return Object(w.m)(n.e(5).then(n.bind(null,612)))},name:"main-index-404"},{path:"account_manager",component:function(){return Object(w.m)(n.e(6).then(n.bind(null,541)))},name:"main-index-account_manager"},{path:"artificial_order",component:function(){return Object(w.m)(Promise.all([n.e(0),n.e(7)]).then(n.bind(null,542)))},name:"main-index-artificial_order"},{path:"artificial_orders",component:function(){return Object(w.m)(n.e(8).then(n.bind(null,543)))},name:"main-index-artificial_orders"},{path:"balance_change",component:function(){return Object(w.m)(n.e(9).then(n.bind(null,544)))},name:"main-index-balance_change"},{path:"cancel_account",component:function(){return Object(w.m)(n.e(10).then(n.bind(null,545)))},name:"main-index-cancel_account"},{path:"card_conf",component:function(){return Object(w.m)(n.e(11).then(n.bind(null,546)))},name:"main-index-card_conf"},{path:"cash_form",component:function(){return Object(w.m)(n.e(12).then(n.bind(null,547)))},name:"main-index-cash_form"},{path:"cats",component:function(){return Object(w.m)(n.e(13).then(n.bind(null,548)))},name:"main-index-cats"},{path:"cert_check",component:function(){return Object(w.m)(Promise.all([n.e(0),n.e(14)]).then(n.bind(null,549)))},name:"main-index-cert_check"},{path:"cert_edit",component:function(){return Object(w.m)(Promise.all([n.e(0),n.e(15)]).then(n.bind(null,550)))},name:"main-index-cert_edit"},{path:"cert_pro",component:function(){return Object(w.m)(n.e(16).then(n.bind(null,551)))},name:"main-index-cert_pro"},{path:"chat_users",component:function(){return Object(w.m)(n.e(17).then(n.bind(null,552)))},name:"main-index-chat_users"},{path:"cloud_balance",component:function(){return Object(w.m)(n.e(18).then(n.bind(null,553)))},name:"main-index-cloud_balance"},{path:"cloud_developer",component:function(){return Object(w.m)(n.e(19).then(n.bind(null,554)))},name:"main-index-cloud_developer"},{path:"cloud_job",component:function(){return Object(w.m)(n.e(20).then(n.bind(null,555)))},name:"main-index-cloud_job"},{path:"company_vip",component:function(){return Object(w.m)(n.e(21).then(n.bind(null,556)))},name:"main-index-company_vip"},{path:"cps_manage",component:function(){return Object(w.m)(n.e(22).then(n.bind(null,557)))},name:"main-index-cps_manage"},{path:"dev_check",component:function(){return Object(w.m)(n.e(23).then(n.bind(null,558)))},name:"main-index-dev_check"},{path:"dev_check_detail",component:function(){return Object(w.m)(n.e(24).then(n.bind(null,559)))},name:"main-index-dev_check_detail"},{path:"dev_show",component:function(){return Object(w.m)(n.e(25).then(n.bind(null,560)))},name:"main-index-dev_show"},{path:"free_work",component:function(){return Object(w.m)(n.e(26).then(n.bind(null,561)))},name:"main-index-free_work"},{path:"gongmall",component:function(){return Object(w.m)(n.e(27).then(n.bind(null,562)))},name:"main-index-gongmall"},{path:"group_list",component:function(){return Object(w.m)(n.e(28).then(n.bind(null,563)))},name:"main-index-group_list"},{path:"invoice_audit",component:function(){return Object(w.m)(n.e(30).then(n.bind(null,564)))},name:"main-index-invoice_audit"},{path:"jishuquan",component:function(){return Object(w.m)(n.e(31).then(n.bind(null,565)))},name:"main-index-jishuquan"},{path:"job",component:function(){return Object(w.m)(n.e(32).then(n.bind(null,566)))},name:"main-index-job"},{path:"jobs",component:function(){return Object(w.m)(n.e(33).then(n.bind(null,567)))},name:"main-index-jobs"},{path:"jobs_behalf_post",component:function(){return Object(w.m)(n.e(34).then(n.bind(null,568)))},name:"main-index-jobs_behalf_post"},{path:"jobs_publish_company",component:function(){return Object(w.m)(n.e(35).then(n.bind(null,569)))},name:"main-index-jobs_publish_company"},{path:"kaifabao",component:function(){return Object(w.m)(n.e(36).then(n.bind(null,570)))},name:"main-index-kaifabao"},{path:"kaifawu_contact",component:function(){return Object(w.m)(n.e(37).then(n.bind(null,571)))},name:"main-index-kaifawu_contact"},{path:"occupation_setting",component:function(){return Object(w.m)(n.e(38).then(n.bind(null,572)))},name:"main-index-occupation_setting"},{path:"orders",component:function(){return Object(w.m)(n.e(39).then(n.bind(null,573)))},name:"main-index-orders"},{path:"orders_detail",component:function(){return Object(w.m)(n.e(40).then(n.bind(null,574)))},name:"main-index-orders_detail"},{path:"orders_frozen",component:function(){return Object(w.m)(n.e(41).then(n.bind(null,575)))},name:"main-index-orders_frozen"},{path:"outsource_bill",component:function(){return Object(w.m)(n.e(42).then(n.bind(null,576)))},name:"main-index-outsource_bill"},{path:"persona",component:function(){return Object(w.m)(n.e(43).then(n.bind(null,577)))},name:"main-index-persona"},{path:"present_job_apply",component:function(){return Object(w.m)(n.e(44).then(n.bind(null,578)))},name:"main-index-present_job_apply"},{path:"project_form",component:function(){return Object(w.m)(n.e(45).then(n.bind(null,579)))},name:"main-index-project_form"},{path:"publish_present",component:function(){return Object(w.m)(n.e(46).then(n.bind(null,580)))},name:"main-index-publish_present"},{path:"publish_recruit",component:function(){return Object(w.m)(n.e(47).then(n.bind(null,581)))},name:"main-index-publish_recruit"},{path:"qingtuanbao",component:function(){return Object(w.m)(n.e(48).then(n.bind(null,582)))},name:"main-index-qingtuanbao"},{path:"quick_manage",component:function(){return Object(w.m)(n.e(49).then(n.bind(null,583)))},name:"main-index-quick_manage"},{path:"recruit_manage",component:function(){return Object(w.m)(n.e(50).then(n.bind(null,584)))},name:"main-index-recruit_manage"},{path:"remark_list",component:function(){return Object(w.m)(n.e(51).then(n.bind(null,585)))},name:"main-index-remark_list"},{path:"report_business",component:function(){return Object(w.m)(n.e(52).then(n.bind(null,586)))},name:"main-index-report_business"},{path:"report_cash",component:function(){return Object(w.m)(n.e(53).then(n.bind(null,587)))},name:"main-index-report_cash"},{path:"solution",component:function(){return Object(w.m)(n.e(54).then(n.bind(null,588)))},name:"main-index-solution"},{path:"solution_detail",component:function(){return Object(w.m)(n.e(55).then(n.bind(null,589)))},name:"main-index-solution_detail"},{path:"solution_manage",component:function(){return Object(w.m)(Promise.all([n.e(0),n.e(56)]).then(n.bind(null,590)))},name:"main-index-solution_manage"},{path:"user_bills",component:function(){return Object(w.m)(n.e(57).then(n.bind(null,591)))},name:"main-index-user_bills"},{path:"user_cards_list",component:function(){return Object(w.m)(n.e(58).then(n.bind(null,592)))},name:"main-index-user_cards_list"},{path:"user_credit_item",component:function(){return Object(w.m)(n.e(59).then(n.bind(null,593)))},name:"main-index-user_credit_item"},{path:"user_credit_list",component:function(){return Object(w.m)(n.e(60).then(n.bind(null,594)))},name:"main-index-user_credit_list"},{path:"user_credit_setting",component:function(){return Object(w.m)(n.e(61).then(n.bind(null,595)))},name:"main-index-user_credit_setting"},{path:"user_homepwd",component:function(){return Object(w.m)(n.e(62).then(n.bind(null,596)))},name:"main-index-user_homepwd"},{path:"user_search",component:function(){return Object(w.m)(n.e(63).then(n.bind(null,597)))},name:"main-index-user_search"},{path:"user_workfile_list",component:function(){return Object(w.m)(n.e(64).then(n.bind(null,598)))},name:"main-index-user_workfile_list"},{path:"vip_info",component:function(){return Object(w.m)(n.e(65).then(n.bind(null,599)))},name:"main-index-vip_info"},{path:"vip_manager",component:function(){return Object(w.m)(n.e(66).then(n.bind(null,600)))},name:"main-index-vip_manager"},{path:"vip_order",component:function(){return Object(w.m)(n.e(67).then(n.bind(null,601)))},name:"main-index-vip_order"},{path:"vip_setting",component:function(){return Object(w.m)(n.e(68).then(n.bind(null,602)))},name:"main-index-vip_setting"},{path:"wage_details",component:function(){return Object(w.m)(n.e(69).then(n.bind(null,603)))},name:"main-index-wage_details"},{path:"wage_settlement",component:function(){return Object(w.m)(n.e(70).then(n.bind(null,604)))},name:"main-index-wage_settlement"},{path:"wait_expend",component:function(){return Object(w.m)(n.e(71).then(n.bind(null,605)))},name:"main-index-wait_expend"},{path:"weight_restore",component:function(){return Object(w.m)(n.e(72).then(n.bind(null,606)))},name:"main-index-weight_restore"},{path:"withdraw",component:function(){return Object(w.m)(n.e(73).then(n.bind(null,607)))},name:"main-index-withdraw"},{path:"work_bill",component:function(){return Object(w.m)(n.e(74).then(n.bind(null,608)))},name:"main-index-work_bill"},{path:"work_statistics",component:function(){return Object(w.m)(n.e(75).then(n.bind(null,609)))},name:"main-index-work_statistics"},{path:"workorder",component:function(){return Object(w.m)(n.e(76).then(n.bind(null,610)))},name:"main-index-workorder"}]},{path:"/",component:function(){return Object(w.m)(n.e(2).then(n.bind(null,611)))},name:"index"}],fallback:!1};function x(){return new v.c(O)}var j={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,l=n.$nuxt.nuxt.transitions,f=n.$nuxt.nuxt.defaultTransition,h=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&h++,n=n.$parent;data.nuxtChildDepth=h;var d=l[h]||f,m={};S.forEach((function(t){void 0!==d[t]&&(m[t]=d[t])}));var v={};C.forEach((function(t){"function"==typeof d[t]&&(v[t]=d[t].bind(c))}));var w=v.beforeEnter;if(v.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),w)return w.call(c,t)},!1===d.css){var y=v.leave;(!y||y.length<2)&&(v.leave=function(t,e){y&&y.call(c,t),c.$nextTick(e)})}var _=o("routerView",data);return r.keepAlive&&(_=o("keep-alive",{props:r.keepAliveProps},[_])),o("transition",{props:m,on:v},[_])}},S=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],C=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],k={name:"NuxtError",props:{error:{type:Object,default:null}},computed:{statusCode:function(){return this.error&&this.error.statusCode||500},message:function(){return this.error.message||"Error"}},head:function(){return{title:this.message,meta:[{name:"viewport",content:"width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"}]}}},$=(n(280),n(2)),E=Object($.a)(k,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"__nuxt-error-page"},[n("div",{staticClass:"error"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"90",fill:"#DBE1EC",viewBox:"0 0 48 48"}},[n("path",{attrs:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}})]),t._v(" "),n("div",{staticClass:"title"},[t._v(t._s(t.message))]),t._v(" "),404===t.statusCode?n("p",{staticClass:"description"},[n("NuxtLink",{staticClass:"error-link",attrs:{to:"/"}},[t._v("Back to the home page")])],1):t._e(),t._v(" "),t._m(0)])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logo"},[e("a",{attrs:{href:"https://nuxtjs.org",target:"_blank",rel:"noopener"}},[this._v("Nuxt.js")])])}],!1,null,null,null).exports,T=(n(17),n(18),n(37),n(55)),P={name:"Nuxt",components:{NuxtChild:j,NuxtError:E},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(w.c)(this.$route.matched[0].path)(this.$route.params);var t=Object(T.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occured while showing the error page"),t("p","Unfortunately an error occured and while showing the error page another error occured"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(E,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},A=(n(32),n(29),n(30),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(t){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100||t.percent<=0)&&(t.skipTimerCount=1,t.reversed=!t.reversed))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}),V=(n(281),Object($.a)(A,void 0,void 0,!1,null,null,null).exports),R=(n(282),n(283),n(284),n(127)),D=n(46),L=n(125),I=n(130),M=n(126),N=n(132),B=n(128),U=n(137),H=n(135),z=n(133),F=n(134),W=n(129),G=n(136),K=(n(186),n(82),n(188),n(305),n(140),n(14));function X(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}var J={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},data:function(){return{show:!1}},computed:{theme:function(){return this.$store.state.settings.theme}},watch:{show:function(t){var e,n;t&&!this.clickNotClose&&this.addEventClick(),t?X(e=document.body,n="showRightPanel")||(e.className+=" "+n):function(t,e){if(X(t,e)){var n=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(n," ")}}(document.body,"showRightPanel")}},mounted:function(){this.insertToBody()},beforeDestroy:function(){this.$refs.rightPanel.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(t){t.target.closest(".rightPanel")||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var t=this.$refs.rightPanel,body=document.querySelector("body");body.insertBefore(t,body.firstChild)}}},Q=(n(308),n(309),Object($.a)(J,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:t.show}},[n("div",{staticClass:"rightPanel-background"}),t._v(" "),n("div",{staticClass:"rightPanel"},[n("div",{staticClass:"handle-button",style:{top:t.buttonTop+"px","background-color":t.theme},on:{click:function(e){t.show=!t.show}}},[n("i",{class:t.show?"el-icon-close":"el-icon-setting"})]),t._v(" "),n("div",{staticClass:"rightPanel-items"},[t._t("default")],2)])])}),[],!1,null,"58e0aea9",null).exports),Y=n(25);function Z(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var tt={name:"Layout",components:{AppMain:D.a,Navbar:D.b,RightPanel:Q,Settings:D.e,Sidebar:D.f,TagsView:D.g},mixins:[],computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Z(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Z(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(Y.c)({sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},showSettings:function(t){return t.settings.showSettings},needTagsView:function(t){return t.settings.tagsView},fixedHeader:function(t){return t.settings.fixedHeader}}),{classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}}),methods:{handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}},et=(n(310),Object($.a)(tt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("Sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container",class:{hasTagsView:t.needTagsView}},[n("div",{class:{"fixed-header":t.fixedHeader}},[n("Navbar")],1),t._v(" "),n("AppMain")],1)],1)}),[],!1,null,null,null).exports),nt=(n(311),Object($.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("nuxt")],1)}),[],!1,null,null,null).exports),it=n(35),ot=document.body,at={watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&it.default.dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){this.$_isMobile()&&(it.default.dispatch("app/toggleDevice","mobile"),it.default.dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){return ot.getBoundingClientRect().width-1<992},$_resizeHandler:function(){if(!document.hidden){var t=this.$_isMobile();it.default.dispatch("app/toggleDevice",t?"mobile":"desktop"),t&&it.default.dispatch("app/closeSideBar",{withoutAnimation:!0})}}}};function st(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return ct(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ct(t,e)}(t))){var i=0,e=function(){};return{s:e,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,o=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,r=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var ut={"_components/AppMain":Object(w.r)(R.a),"_components/index":Object(w.r)(D.h),"_components/Navbar":Object(w.r)(L.a),"_components/Select/selectFilterable":Object(w.r)(I.a),"_components/Settings/index":Object(w.r)(M.a),"_components/Sidebar/FixiOSBug":Object(w.r)(N.a),"_components/Sidebar/index":Object(w.r)(B.a),"_components/Sidebar/Item":Object(w.r)(U.a),"_components/Sidebar/Link":Object(w.r)(H.a),"_components/Sidebar/Logo":Object(w.r)(z.a),"_components/Sidebar/SidebarItem":Object(w.r)(F.a),"_components/TagsView/index":Object(w.r)(W.a),"_components/TagsView/ScrollPane":Object(w.r)(G.a),_default:Object(w.r)(et),_empty:Object(w.r)(nt),"_mixin/ResizeHandler":Object(w.r)(at)},lt={render:function(t,e){var n=t("NuxtLoading",{ref:"loading"}),r=t(this.layout||"nuxt"),o=t("div",{domProps:{id:"__layout"},key:this.layoutName},[r]),c=t("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter:function(t){window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}}},[o]);return t("div",{domProps:{id:"__nuxt"}},[n,c])},data:function(){return{isOnline:!0,layout:null,layoutName:"",nbFetching:0}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){c.default.prototype.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted:function(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline},isFetching:function(){return this.nbFetching>0}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Object(w.h)(t.$route)).length){e.next=3;break}return e.abrupt("return");case 3:return t.$loading.start(),r=n.map((function(e){var p=[];if(e.$options.fetch&&e.$options.fetch.length&&p.push(Object(w.p)(e.$options.fetch,t.context)),e.$fetch)p.push(e.$fetch());else{var n,r=st(Object(w.e)(e.$vnode.componentInstance));try{for(r.s();!(n=r.n()).done;){var component=n.value;p.push(component.$fetch())}}catch(t){r.e(t)}finally{r.f()}}return e.$options.asyncData&&p.push(Object(w.p)(e.$options.asyncData,t.context).then((function(t){for(var n in t)c.default.set(e.$data,n,t[n])}))),Promise.all(p)})),e.prev=5,e.next=8,Promise.all(r);case 8:e.next=15;break;case 10:e.prev=10,e.t0=e.catch(5),t.$loading.fail(e.t0),Object(w.k)(e.t0),t.error(e.t0);case 15:t.$loading.finish();case 16:case"end":return e.stop()}}),e,null,[[5,10]])})))()},errorChanged:function(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish())},setLayout:function(t){return t&&ut["_"+t]||(t="default"),this.layoutName=t,this.layout=ut["_"+t],this.layout},loadLayout:function(t){return t&&ut["_"+t]||(t="default"),Promise.resolve(ut["_"+t])}},components:{NuxtLoading:V}};n(58);function ft(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return ht(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ht(t,e)}(t))){var i=0,e=function(){};return{s:e,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,o=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,r=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function ht(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}c.default.use(Y.a);var pt=["state","getters","actions","mutations"],mt={};(mt=function(t,e){if((t=t.default||t).commit)throw new Error("[nuxt] ".concat(e," should export a method that returns a Vuex instance."));return"function"!=typeof t&&(t=Object.assign({},t)),vt(t,e)}(n(35),"store/index.js")).modules=mt.modules||{},gt(n(181),"getters.js"),gt(n(211),"modules/app.js"),gt(n(212),"modules/errorLog.js"),gt(n(213),"modules/permission.js"),gt(n(214),"modules/settings.js"),gt(n(215),"modules/tagsView.js"),gt(n(242),"modules/user.js");var bt=mt instanceof Function?mt:function(){return new Y.a.Store(Object.assign({strict:!1},mt))};function vt(t,e){if(t.state&&"function"!=typeof t.state){console.warn("'state' should be a method that returns an object in ".concat(e));var n=Object.assign({},t.state);t=Object.assign({},t,{state:function(){return n}})}return t}function gt(t,e){t=t.default||t;var n=e.replace(/\.(js|mjs)$/,"").split("/"),r=n[n.length-1],o="store/".concat(e);if(t="state"===r?function(t,e){if("function"!=typeof t){console.warn("".concat(e," should export a method that returns an object"));var n=Object.assign({},t);return function(){return n}}return vt(t,e)}(t,o):vt(t,o),pt.includes(r)){var c=r;yt(wt(mt,n,{isProperty:!0}),t,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);var l,f=wt(mt,n),h=ft(pt);try{for(h.s();!(l=h.n()).done;){var d=l.value;yt(f,t[d],d)}}catch(t){h.e(t)}finally{h.f()}!1===t.namespaced&&delete f.namespaced}}function wt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.isProperty,o=void 0!==r&&r;if(!e.length||o&&1===e.length)return t;var c=e.shift();return t.modules[c]=t.modules[c]||{},t.modules[c].namespaced=!0,t.modules[c].modules=t.modules[c].modules||{},wt(t.modules[c],e,{isProperty:o})}function yt(t,e,n){e&&("state"===n?t.state=e||t.state:t[n]=Object.assign({},t[n],e))}var _t=n(34),Ot=n.n(_t),xt=n(249),jt=n.n(xt);function St(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Ct(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return kt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kt(t,e)}(t))){var i=0,e=function(){};return{s:e,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,o=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,r=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function kt(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}for(var $t={setBaseURL:function(t){this.defaults.baseURL=t},setHeader:function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",o=Ct(Array.isArray(r)?r:[r]);try{for(o.s();!(n=o.n()).done;){var c=n.value;if(!e)return void delete this.defaults.headers[c][t];this.defaults.headers[c][t]=e}}catch(t){o.e(t)}finally{o.f()}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)},create:function(t){return At(jt()(t,this.defaults))}},Et=function(){var t=Pt[Tt];$t["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},Tt=0,Pt=["request","delete","get","head","options","post","put","patch"];Tt<Pt.length;Tt++)Et();var At=function(t){var e=Ot.a.create(t);return e.CancelToken=Ot.a.CancelToken,e.isCancel=Ot.a.isCancel,function(t){for(var e in $t)t[e]=$t[e].bind(t)}(e),e.onRequest((function(t){t.headers=function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?St(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):St(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},e.defaults.headers.common,{},t.headers)})),Vt(e),e},Vt=function(t){var e={finish:function(){},start:function(){},fail:function(){},set:function(){}},n=function(){var t="undefined"!=typeof window&&window.$nuxt;return t&&t.$loading&&t.$loading.set?t.$loading:e},r=0;t.onRequest((function(t){t&&!1===t.progress||r++})),t.onResponse((function(t){t&&t.config&&!1===t.config.progress||--r<=0&&(r=0,n().finish())})),t.onError((function(t){t&&t.config&&!1===t.config.progress||(r--,Ot.a.isCancel(t)?r<=0&&(r=0,n().finish()):(n().fail(),n().finish()))}));var o=function(t){if(r&&t.total){var progress=100*t.loaded/(t.total*r);n().set(Math.min(100,progress))}};t.defaults.onUploadProgress=o,t.defaults.onDownloadProgress=o},Rt=function(t,e){var n=t.$config&&t.$config.axios||{},r=n.browserBaseURL||n.browserBaseUrl||n.baseURL||n.baseUrl||"http://localhost:3001/";var o=At({baseURL:r,headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{}}});t.$axios=o,e("axios",o)},Dt=n(65),Lt=n.n(Dt),It=n(182),Mt=n.n(It),Nt=function(){c.default.use(Lt.a,{locale:Mt.a})},Bt=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(path,data,e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,qt("get",path,data,e);case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),Ut=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(path){var data,e,n,element,r,o=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(n in data=o.length>1&&void 0!==o[1]?o[1]:{},o.length>2?o[2]:void 0,e="",data)data.hasOwnProperty(n)&&((element=data[n])||0===element)&&(e+="".concat(n,"=").concat(encodeURIComponent(element),"&"));return e=e.slice(0,e.length-1),t.next=7,qt("post",path,e,{config:{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}}});case 7:return r=t.sent,t.abrupt("return",r);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),qt=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e,path,data){var n,body,r,o,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=l.length>3&&void 0!==l[3]?l[3]:{},body={url:""+path,data:data,method:e,params:data},n.config&&Object.assign(body,n.config,{params:""}),Ht({body:body}),t.next=8,Ot.a.request(body);case 8:if(r=t.sent,o=r.data,"object"!==Object(K.a)(o)&&(o=JSON.parse(o)),1!==o.status){t.next=15;break}return t.abrupt("return",o);case 15:if(-99!==o.status){t.next=20;break}return location.href="/login",t.abrupt("return");case 20:return c.default.prototype.$message.error(o.info),o.status=0,t.abrupt("return",o);case 23:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),Ht=function(t){Object.keys(t)[0]};c.default.prototype.$get=Bt,c.default.prototype.$post=Ut,c.default.prototype.$request=qt;var zt=n(183),Ft=n.n(zt),Wt=(n(392),n(393),n(250)),Gt=n.n(Wt);function Kt(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Xt(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Kt(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Kt(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}Ft.a.Quill.register("modules/imageResize",Gt.a),c.default.use(Ft.a),c.default.component(h.a.name,h.a),c.default.component(m.a.name,Xt({},m.a,{render:function(t,e){return m.a._warned||(m.a._warned=!0,console.warn("<no-ssr> has been deprecated and will be removed in Nuxt 3, please use <client-only> instead")),m.a.render(t,e)}})),c.default.component(j.name,j),c.default.component("NChild",j),c.default.component(P.name,P),c.default.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var Jt={name:"page",mode:"out-in",appear:!0,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};function Qt(t){return Yt.apply(this,arguments)}function Yt(){return(Yt=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,l,f,path,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x();case 2:return n=t.sent,(r=bt(e)).$router=n,o=Xt({head:{title:"程序员客栈后台",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:"程序员客栈后台"}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"}],style:[],script:[]},store:r,router:n,nuxt:{defaultTransition:Jt,transitions:[Jt],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},Jt,{name:t}):Object.assign({},Jt,t):Jt})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,o.context._errored=Boolean(t),t=t?Object(w.o)(t):null;var n=o.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},lt),r.app=o,l=e?e.next:function(t){return o.router.push(t)},e?f=n.resolve(e.url).route:(path=Object(w.f)(n.options.base,n.options.mode),f=n.resolve(path).route),t.next=11,Object(w.s)(o,{store:r,route:f,next:l,error:o.nuxt.error.bind(o),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});case 11:return h=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject('".concat(t,"', value) has no value provided"));o[t="$"+t]=e,r[t]=o[t];var n="__nuxt_"+t+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default,t)||Object.defineProperty(c.default.prototype,t,{get:function(){return this.$root.$options[t]}})})))},window.__NUXT__&&window.__NUXT__.state&&r.replaceState(window.__NUXT__.state),t.next=16,Rt(o.context,h);case 16:return t.next=19,Nt(o.context);case 19:t.next=22;break;case 22:t.next=25;break;case 25:t.next=28;break;case 28:return t.abrupt("return",{store:r,app:o,router:n});case 29:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},,,,,,,,,,function(t,e,n){"use strict";var r=n(127);n.d(e,"a",(function(){return r.a}));var o=n(125);n.d(e,"b",(function(){return o.a}));var c=n(126);n.d(e,"e",(function(){return c.a}));var l=n(128);n.d(e,"f",(function(){return l.a}));var f=n(129);n.d(e,"g",(function(){return f.a}));var h=n(130);n.d(e,"c",(function(){return h.a})),e.h={}},,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return f}));var r=n(27),o=n.n(r);function c(){return o.a.get("Admin-Token")}function l(t){return o.a.set("Admin-Token",t)}function f(){return o.a.remove("Admin-Token")}},,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r="/main/";e.a=[{title:"管理中心",icon:"location",path:"",subs:[{title:"管理中心",path:"https://www.proginn.com/rooter"}]},{title:"财务-管理",icon:"coin",path:"",subs:[{title:"订单中心",path:r+"orders"},{title:"人工订单",path:r+"artificial_orders"},{title:"支付宝提现管理",path:r+"withdraw",hidden:!1},{title:"领薪宝提现管理",path:r+"kaifabao",hidden:!1},{title:"冻结订单",path:r+"orders_frozen",hidden:!1}]},{title:"财务-报表",icon:"coin",path:"",subs:[{title:"月度营业额报表",path:r+"report_business"},{title:"月度现金流报表",path:r+"report_cash"},{title:"待支出订单报表",path:r+"wait_expend",hidden:!1},{title:"项目详情",path:r+"project_form",hidden:!0}]},{title:"运营",icon:"service",path:"",subs:[{title:"云端开发者展示",path:r+"dev_show"},{title:"搜索数据管理",path:r+"user_search"},{title:"作品数据管理",path:r+"work_statistics"},{title:"会员直通车",path:r+"quick_manage"},{title:"设置主页访问密码",path:r+"user_homepwd"},{title:"客服工单",path:r+"workorder"}]},{title:"项目",icon:"s-management",path:"",subs:[{title:"查看联系方式",path:r+"user_cards_list"},{title:"自由工作",path:r+"free_work"},{title:"技术信用",path:r+"user_credit_list"},{title:"下载资源",path:r+"user_workfile_list"},{title:"技术圈",path:r+"jishuquan"},{title:"技术信用详情",path:r+"user_credit_item",hidden:!0},{title:"技术信用配置",path:r+"user_credit_setting",hidden:!0},{title:"解决方案",path:r+"solution"},{title:"开发屋管理",path:r+"solution_manage"},{title:"企业入驻审核",path:r+"solution_detail",hidden:!0},{title:"兼职招聘",path:r+"jobs"},{title:"兼职招聘详情",path:r+"job",hidden:!0},{title:"云端工作",path:r+"cloud_job"},{title:"协作群组",path:r+"group_list"},{title:"工猫结算订单",path:r+"gongmall"},{title:"CPS",path:r+"cps_manage"},{title:"驻场招聘信息",path:r+"publish_present",hidden:!0},{title:"驻场招聘申请列表",path:r+"present_job_apply",hidden:!0},{title:"技术服务商管理列表",path:r+"company_vip"},{title:"人力外包",path:r+"recruit_manage"}]},{title:"用户与认证",icon:"s-check",path:"",subs:[{title:"开发者管理",path:r+"cats"},{title:"开发者审核",path:r+"dev_check"},{title:"认证开发者",path:r+"cert_check"},{title:"认证产品",path:r+"cert_pro"},{title:"账号注销",path:r+"cancel_account"},{title:"客户管理",path:r+"account_manager"},{title:"权重恢复",path:r+"weight_restore"}]},{title:"会员",icon:"user-solid",path:"",subs:[{title:"会员管理",path:r+"vip_manager"},{title:"会员订单",path:r+"vip_order"},{title:"会员设置",path:r+"vip_setting"}]},{title:"网站配置",icon:"setting",path:"",subs:[{title:"职业技能配置",path:r+"occupation_setting"}]}]},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n(17),n(18),n(4);function r(path){return/^(https?:|mailto:|tel:)/.test(path)}},,function(t,e){t.exports={title:"程序员客栈后台",showSettings:!0,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,errorLog:"production"}},,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){t.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},function(t,e,n){},function(t,e,n){"use strict";n(28),n(11),n(8),n(4),n(15),n(31);var r=n(3),o=n(6),c=n(25),l=(n(16),n(208),n(246)),f=n.n(l),h=n(78);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}for(var v={},w=0,y=h.a.length;w<y;w++)for(var _=h.a[w],O=_.subs,x=0,j=O.length;x<j;x++)v[O[x].path]=[m({},_),m({},O[x])];var S={data:function(){return{levelList:null}},watch:{$route:function(t){t.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter((function(t){return t.name})),e=t[0];this.isDashboard(e)||(t=[{path:"/",title:"Home",redirect:"noRedirect"}].concat(t)),this.levelList=[{path:"/",title:"首页"}].concat(v[e.path]),this.levelList=this.levelList.filter((function(t){return!!t})),console.log(this.levelList)},isDashboard:function(t){var e=t&&t.name;return!!e&&e.trim().toLocaleLowerCase()==="".toLocaleLowerCase()},pathCompile:function(path){var t=this.$route.params;return f.a.compile(path)(t)},handleLink:function(t){var e=t.redirect,path=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(path))}}},C=(n(287),n(2)),k=Object(C.a)(S,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,(function(e,r){return n("el-breadcrumb-item",{key:e.path},["noRedirect"===e.redirect||r==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.title))]):n("a",{on:{click:function(n){return n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.title))])])})),1)],1)}),[],!1,null,"ced68868",null).exports,$={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},E=(n(288),Object(C.a)($,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{padding:"0 15px"},on:{click:this.toggleClick}},[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[e("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])}),[],!1,null,"0c92c4b0",null).exports),T={name:"ErrorLog",data:function(){return{dialogTableVisible:!1}},computed:{errorLogs:function(){return this.$store.getters.errorLogs}},methods:{clearAll:function(){this.dialogTableVisible=!1,this.$store.dispatch("errorLog/clearErrorLog")}}},P=(n(289),Object(C.a)(T,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.errorLogs.length>0?n("div",[n("el-badge",{staticStyle:{"line-height":"25px","margin-top":"-5px"},attrs:{"is-dot":!0},nativeOn:{click:function(e){t.dialogTableVisible=!0}}},[n("el-button",{staticStyle:{padding:"8px 10px"},attrs:{size:"small",type:"danger"}})],1),t._v(" "),n("el-dialog",{attrs:{visible:t.dialogTableVisible,width:"80%","append-to-body":""},on:{"update:visible":function(e){t.dialogTableVisible=e}}},[n("div",{attrs:{slot:"title"},slot:"title"},[n("span",{staticStyle:{"padding-right":"10px"}},[t._v("Error Log")]),t._v(" "),n("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-delete"},on:{click:t.clearAll}},[t._v("Clear All")])],1),t._v(" "),n("el-table",{attrs:{data:t.errorLogs,border:""}},[n("el-table-column",{attrs:{label:"Message"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[n("div",[n("span",{staticClass:"message-title"},[t._v("Msg:")]),t._v(" "),n("el-tag",{attrs:{type:"danger"}},[t._v(t._s(r.err.message))])],1),t._v(" "),n("br"),t._v(" "),n("div",[n("span",{staticClass:"message-title",staticStyle:{"padding-right":"10px"}},[t._v("Info:")]),t._v(" "),n("el-tag",{attrs:{type:"warning"}},[t._v(t._s(r.vm.$vnode.tag)+" error in "+t._s(r.info))])],1),t._v(" "),n("br"),t._v(" "),n("div",[n("span",{staticClass:"message-title",staticStyle:{"padding-right":"16px"}},[t._v("Url:")]),t._v(" "),n("el-tag",{attrs:{type:"success"}},[t._v(t._s(r.url))])],1)]}}],null,!1,913571674)}),t._v(" "),n("el-table-column",{attrs:{label:"Stack"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.err.stack))]}}],null,!1,993936120)})],1)],1)],1):t._e()}),[],!1,null,"97b848d4",null).exports),A=n(47),V=n.n(A),R={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!V.a.enabled)return this.$message({message:"you browser can not work",type:"warning"}),!1;V.a.toggle()},change:function(){this.isFullscreen=V.a.isFullscreen},init:function(){V.a.enabled&&V.a.on("change",this.change)},destroy:function(){V.a.enabled&&V.a.off("change",this.change)}}},D=(n(290),Object(C.a)(R,(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,"08b2b02f",null).exports),L=(n(37),{data:function(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size:function(){return this.$store.getters.size}},methods:{handleSetSize:function(t){this.$ELEMENT.size=t,this.$store.dispatch("app/setSize",t),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView:function(){var t=this;this.$store.dispatch("tagsView/delAllCachedViews",this.$route);var e=this.$route.fullPath;this.$nextTick((function(){t.$router.replace({path:"/redirect"+e})}))}}}),I=Object(C.a)(L,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dropdown",{attrs:{trigger:"click"},on:{command:t.handleSetSize}},[n("div"),t._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.sizeOptions,(function(e){return n("el-dropdown-item",{key:e.value,attrs:{disabled:t.size===e.value,command:e.value}},[t._v("\n "+t._s(e.label)+"\n ")])})),1)],1)}),[],!1,null,null,null).exports,M=(n(32),n(30),n(29),n(17),n(18),n(5)),N=(n(187),n(247)),B=n.n(N),U=n(64),H=n.n(U);function z(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return F(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(t,e)}(t))){var i=0,e=function(){};return{s:e,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,o=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,r=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function F(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var W={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.getters.permission_routes}},watch:{routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(t){this.initFuse(t)},show:function(t){t?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(t){var e=this;this.$router.push(t.path),this.search="",this.options=[],this.$nextTick((function(){e.show=!1}))},initFuse:function(t){this.fuse=new B.a(t,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=[],c=z(t);try{for(c.s();!(e=c.n()).done;){var l=e.value;if(!l.hidden){var data={path:H.a.resolve(n,l.path),title:Object(M.a)(r)};if(l.meta&&l.meta.title&&(data.title=[].concat(Object(M.a)(data.title),[l.meta.title]),"noRedirect"!==l.redirect&&o.push(data)),l.children){var f=this.generateRoutes(l.children,data.path,data.title);f.length>=1&&(o=[].concat(Object(M.a)(o),Object(M.a)(f)))}}}}catch(t){c.e(t)}finally{c.f()}return o},querySearch:function(t){this.options=""!==t?this.fuse.search(t):[]}}};n(291);function G(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var K={components:{Breadcrumb:k,Hamburger:E,ErrorLog:P,Screenfull:D,SizeSelect:I,Search:Object(C.a)(W,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header-search",class:{show:t.show}},[n("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":t.querySearch,filterable:"","default-first-option":"",remote:"",placeholder:"Search"},on:{change:t.change},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}},t._l(t.options,(function(t){return n("el-option",{key:t.path,attrs:{value:t,label:t.title.join(" > ")}})})),1)],1)}),[],!1,null,"65d7971a",null).exports},data:function(){return console.log(this.$store.state),{avatar:this.$store.state.user.avatar}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?G(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):G(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(c.b)(["sidebar","device"])),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log(t.$store.state.domainConfig.siteUrl+"/rooter/quit?next=".concat(t.$route.fullPath)),window.location.href=t.$store.state.domainConfig.siteUrl+"/rooter/quit?next=".concat(t.$route.fullPath);case 2:case"end":return e.stop()}}),e)})))()}}},X=(n(292),Object(C.a)(K,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":t.sidebar.opened},on:{toggleClick:t.toggleSideBar}}),t._v(" "),n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),t._v(" "),n("div",{staticClass:"right-menu"},["mobile"!==t.device?[n("search",{staticClass:"right-menu-item",attrs:{id:"header-search"}}),t._v(" "),n("error-log",{staticClass:"errLog-container right-menu-item hover-effect"}),t._v(" "),n("screenfull",{staticClass:"right-menu-item hover-effect",attrs:{id:"screenfull"}}),t._v(" "),n("el-tooltip",{attrs:{content:"Global Size",effect:"dark",placement:"bottom"}},[n("size-select",{staticClass:"right-menu-item hover-effect",attrs:{id:"size-select"}})],1)]:t._e(),t._v(" "),n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar+"?imageView2/1/w/80/h/80"}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/"}},[n("el-dropdown-item",[t._v("Dashboard")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("Log Out")])])],1)],1)],2)],1)}),[],!1,null,"61aaa322",null));e.a=X.exports},function(t,e,n){"use strict";n(186),n(17),n(18),n(4),n(82),n(37),n(31);var r=n(3),o=n(295).version,c={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(t,e){this.theme=t},immediate:!0},theme:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,c,l,f,h,d;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=e.chalk?e.theme:"#409EFF","string"==typeof t){n.next=3;break}return n.abrupt("return");case 3:if(c=e.getThemeCluster(t.replace("#","")),l=e.getThemeCluster(r.replace("#","")),console.log(c,l),f=e.$message({message:" Compiling the theme",customClass:"theme-message",type:"success",duration:0,iconClass:"el-icon-loading"}),h=function(t,n){return function(){var r=e.getThemeCluster("#409EFF".replace("#","")),o=e.updateStyle(e[t],r,c),l=document.getElementById(n);l||((l=document.createElement("style")).setAttribute("id",n),document.head.appendChild(l)),l.innerText=o}},e.chalk){n.next=12;break}return d="https://unpkg.com/element-ui@".concat(o,"/lib/theme-chalk/index.css"),n.next=12,e.getCSSString(d,"chalk");case 12:h("chalk","chalk-style")(),[].slice.call(document.querySelectorAll("style")).filter((function(style){var text=style.innerText;return new RegExp(r,"i").test(text)&&!/Chalk Variables/.test(text)})).forEach((function(style){var t=style.innerText;"string"==typeof t&&(style.innerText=e.updateStyle(t,l,c))})),e.$emit("change",t),f.close();case 18:case"end":return n.stop()}}),n)})))()}},methods:{updateStyle:function(style,t,e){var n=style;return t.forEach((function(t,r){n=n.replace(new RegExp(t,"ig"),e[r])})),n},getCSSString:function(t,e){var n=this;return new Promise((function(r){var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&200===o.status&&(n[e]=o.responseText.replace(/@font-face{[^}]+}/,""),r())},o.open("GET",t),o.send()}))},getThemeCluster:function(t){for(var e,n,r,o,c,l=[t],i=0;i<=9;i++)l.push((e=t,n=Number((i/10).toFixed(2)),r=void 0,o=void 0,c=void 0,r=parseInt(e.slice(0,2),16),o=parseInt(e.slice(2,4),16),c=parseInt(e.slice(4,6),16),0===n?[r,o,c].join(","):(r+=Math.round(n*(255-r)),o+=Math.round(n*(255-o)),c+=Math.round(n*(255-c)),r=r.toString(16),o=o.toString(16),c=c.toString(16),"#".concat(r).concat(o).concat(c))));return l.push(function(t,e){var n=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),o=parseInt(t.slice(4,6),16);return n=Math.round((1-e)*n),r=Math.round((1-e)*r),o=Math.round((1-e)*o),n=n.toString(16),r=r.toString(16),o=o.toString(16),"#".concat(n).concat(r).concat(o)}(t,.1)),l}}},l=(n(296),n(2)),f={components:{ThemePicker:Object(l.a)(c,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:t.theme,callback:function(e){t.theme=e},expression:"theme"}})}),[],!1,null,null,null).exports},data:function(){return{}},computed:{fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(t){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:t})}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(t){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:t})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(t){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:t})}}},methods:{themeChange:function(t){this.$store.dispatch("settings/changeSetting",{key:"theme",value:t})}}},h=(n(297),Object(l.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"drawer-container"},[n("div",[n("h3",{staticClass:"drawer-title"},[t._v("Page style setting")]),t._v(" "),n("div",{staticClass:"drawer-item"},[n("span",[t._v("Theme Color")]),t._v(" "),n("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:t.themeChange}})],1),t._v(" "),n("div",{staticClass:"drawer-item"},[n("span",[t._v("Open Tags-View")]),t._v(" "),n("el-switch",{staticClass:"drawer-switch",model:{value:t.tagsView,callback:function(e){t.tagsView=e},expression:"tagsView"}})],1),t._v(" "),n("div",{staticClass:"drawer-item"},[n("span",[t._v("Fixed Header")]),t._v(" "),n("el-switch",{staticClass:"drawer-switch",model:{value:t.fixedHeader,callback:function(e){t.fixedHeader=e},expression:"fixedHeader"}})],1),t._v(" "),n("div",{staticClass:"drawer-item"},[n("span",[t._v("Sidebar Logo")]),t._v(" "),n("el-switch",{staticClass:"drawer-switch",model:{value:t.sidebarLogo,callback:function(e){t.sidebarLogo=e},expression:"sidebarLogo"}})],1)])])}),[],!1,null,"1eb2a9ff",null));e.a=h.exports},function(t,e,n){"use strict";var r={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},o=(n(285),n(286),n(2)),component=Object(o.a)(r,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("keep-alive",{attrs:{include:this.cachedViews}},[e("nuxt")],1)],1)],1)}),[],!1,null,"9c0b4714",null);e.a=component.exports},function(t,e,n){"use strict";n(28),n(11),n(8),n(4),n(15);var r=n(6),o=n(25),c=n(133),l=n(134),f=n(248),h=n.n(f),d=n(78);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var v={data:function(){return{permission_routes:d.a}},components:{SidebarItem:l.a,Logo:c.a},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(o.b)(["sidebar"]),{activeMenu:function(){var t=this.$route,meta=t.meta,path=t.path;return meta.activeMenu?meta.activeMenu:path},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return h.a},isCollapse:function(){return!this.sidebar.opened}})},w=n(2),component=Object(w.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"has-logo":t.showLogo}},[t.showLogo?n("logo",{attrs:{collapse:t.isCollapse}}):t._e(),t._v(" "),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":t.activeMenu,collapse:t.isCollapse,"background-color":t.variables.menuBg,"text-color":t.variables.menuText,"unique-opened":!1,"active-text-color":t.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},t._l(t.permission_routes,(function(t){return n("sidebar-item",{key:t.path+Math.random(),attrs:{item:t,isNest:!0,"base-path":t.path}})})),1)],1)],1)}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(32),n(30),n(29),n(17),n(18),n(28),n(11),n(8),n(4),n(15),n(37);var r=n(5),o=n(6),c=(n(16),n(136)),l=n(64),f=n.n(l);function h(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(t,e)}(t))){var i=0,e=function(){};return{s:e,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,o=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,r=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w={components:{ScrollPane:c.a},data:function(){return{visible:!1,top:0,left:0,selectedTag:{},affixTags:[]}},computed:{visitedViews:function(){return this.$store.state.tagsView.visitedViews},routes:function(){return this.$store.state.permission.routes}},watch:{$route:function(){this.addTags(),this.moveToCurrentTag()},visible:function(t){t?document.body.addEventListener("click",this.closeMenu):document.body.removeEventListener("click",this.closeMenu)}},mounted:function(){this.initTags(),this.addTags()},methods:{isActive:function(t){return t.path===this.$route.path},filterAffixTags:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",o=[];return t.forEach((function(t){if(t.meta&&t.meta.affix){var c=f.a.resolve(n,t.path);o.push({fullPath:c,path:c,name:t.name,meta:v({},t.meta)})}if(t.children){var l=e.filterAffixTags(t.children,t.path);l.length>=1&&(o=[].concat(Object(r.a)(o),Object(r.a)(l)))}})),o},initTags:function(){var t,e=h(this.affixTags=this.filterAffixTags(this.routes));try{for(e.s();!(t=e.n()).done;){var n=t.value;n.name&&this.$store.dispatch("tagsView/addVisitedView",n)}}catch(t){e.e(t)}finally{e.f()}},addTags:function(){return this.$route.name&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var t=this,e=this.$refs.tag;this.$nextTick((function(){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.to.path===t.$route.path){t.$refs.scrollPane.moveToTarget(o),o.to.fullPath!==t.$route.fullPath&&t.$store.dispatch("tagsView/updateVisitedView",t.$route);break}}}catch(t){r.e(t)}finally{r.f()}}))},refreshSelectedTag:function(view){var t=this;this.$store.dispatch("tagsView/delCachedView",view).then((function(){var e=view.fullPath;t.$nextTick((function(){t.$router.replace({path:"/redirect"+e})}))}))},closeSelectedTag:function(view){var t=this;this.$store.dispatch("tagsView/delView",view).then((function(e){var n=e.visitedViews;t.isActive(view)&&t.toLastView(n,view)}))},closeOthersTags:function(){var t=this;this.$router.push(this.selectedTag),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){t.moveToCurrentTag()}))},closeAllTags:function(view){var t=this;this.$store.dispatch("tagsView/delAllViews").then((function(e){var n=e.visitedViews;t.affixTags.some((function(t){return t.path===view.path}))||t.toLastView(n,view)}))},toLastView:function(t,view){var e=t.slice(-1)[0];e?this.$router.push(e):"Dashboard"===view.name?this.$router.replace({path:"/redirect"+view.fullPath}):this.$router.push("/")},openMenu:function(t,e){var n=this.$el.getBoundingClientRect().left,r=this.$el.offsetWidth-105,o=e.clientX-n+15;this.left=o>r?r:o,this.top=e.clientY,this.visible=!0,this.selectedTag=t},closeMenu:function(){this.visible=!1}}},y=(n(303),n(304),n(2)),component=Object(y.a)(w,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},t._l(t.visitedViews,(function(e){return n("router-link",{key:e.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:t.isActive(e)?"active":"",attrs:{to:{path:e.path,query:e.query,fullPath:e.fullPath},tag:"span"},nativeOn:{mouseup:function(n){return"button"in n&&1!==n.button?null:t.closeSelectedTag(e)},contextmenu:function(n){return n.preventDefault(),t.openMenu(e,n)}}},[t._v("\n "+t._s(e.title)+"\n "),e.meta.affix?t._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.closeSelectedTag(e)}}})])})),1),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:t.left+"px",top:t.top+"px"}},[n("li",{on:{click:function(e){return t.refreshSelectedTag(t.selectedTag)}}},[t._v("Refresh")]),t._v(" "),t.selectedTag.meta&&t.selectedTag.meta.affix?t._e():n("li",{on:{click:function(e){return t.closeSelectedTag(t.selectedTag)}}},[t._v("Close")]),t._v(" "),n("li",{on:{click:t.closeOthersTags}},[t._v("Close Others")]),t._v(" "),n("li",{on:{click:function(e){return t.closeAllTags(t.selectedTag)}}},[t._v("Close All")])])],1)}),[],!1,null,"66aac40e",null);e.a=component.exports},function(t,e,n){"use strict";var r={props:{selectData:Object}},o=n(2),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"selectFilterable",staticStyle:{width:"100%"},attrs:{id:"selectFilterable"}},[n("el-select",{staticStyle:{width:"100%"},attrs:{remote:"",multiple:"",filterable:"","multiple-limit":5,"reserve-keyword":"",placeholder:"请选择"},model:{value:t.selectData.value,callback:function(e){t.$set(t.selectData,"value",e)},expression:"selectData.value"}},t._l(t.selectData.options,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)}),[],!1,null,null,null);e.a=component.exports},,function(t,e,n){"use strict";e.a={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var t=this,e=this.$refs.subMenu;if(e){var n=e.handleMouseleave;e.handleMouseleave=function(e){"mobile"!==t.device&&n(e)}}}}}},function(t,e,n){"use strict";var r={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"Proginn Admin",logo:"https://stacdn.proginn.com/image/common/logo3.png"}}},o=(n(298),n(2)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:t.collapse}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[t.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[t.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:t.logo}}):t._e()]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[t.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:t.logo}}):t._e()])],1)],1)}),[],!1,null,"63b6665a",null);e.a=component.exports},function(t,e,n){"use strict";n(28),n(11),n(8),n(4),n(15);var r=n(6),o=n(64),c=n.n(o),l=n(79),f=n(137),h=n(135),d=n(132);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w={name:"SidebarItem",components:{Item:f.a,AppLink:h.a},mixins:[d.a],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=e.filter((function(e){return!e.hidden&&(t.onlyOneChild=e,!0)}));return 1!==r.length&&(0===r.length&&(this.onlyOneChild=v({},n,{path:"",noShowingChildren:!0}),!0))},resolvePath:function(t){return Object(l.a)(t)?t:Object(l.a)(this.basePath)?this.basePath:c.a.resolve(this.basePath,t)}}},y=n(2),component=Object(y.a)(w,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.item.hidden?t._e():n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.subs,t.item)||t.onlyOneChild.subs&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:t.resolvePath(t.item.title),"popper-append-to-body":""}},[n("template",{slot:"title"},[t.item?n("item",{attrs:{icon:t.item&&t.item.icon,title:t.item.title}}):t._e()],1),t._v(" "),t._l(t.item.subs,(function(e){return n("sidebar-item",{key:e.title+Math.random(),staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}})}))],2):[t.onlyOneChild?n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[n("item",{attrs:{icon:t.onlyOneChild.icon||t.item&&t.item.icon,title:t.onlyOneChild.title}})],1)],1):t._e()]],2)}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";var r=n(79),o={props:{to:{type:String,required:!0}},methods:{linkProps:function(t){return Object(r.a)(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},c=n(2),component=Object(c.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)}),[],!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";n(299);var r={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},methods:{handleScroll:function(t){var e=t.wheelDelta||40*-t.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+e/4},moveToTarget:function(t){var e=this.$refs.scrollContainer.$el.offsetWidth,n=this.scrollWrapper,r=this.$parent.$refs.tag,o=null,c=null;if(r.length>0&&(o=r[0],c=r[r.length-1]),o===t)n.scrollLeft=0;else if(c===t)n.scrollLeft=n.scrollWidth-e;else{var l=r.findIndex((function(e){return e===t})),f=r[l-1],h=r[l+1],d=h.$el.offsetLeft+h.$el.offsetWidth+4,m=f.$el.offsetLeft-4;d>n.scrollLeft+e?n.scrollLeft=d-e:m<n.scrollLeft&&(n.scrollLeft=m)}}}},o=(n(302),n(2)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(e){return e.preventDefault(),t.handleScroll(e)}}},[t._t("default")],2)}),[],!1,null,"2836571c",null);e.a=component.exports},function(t,e,n){"use strict";var r={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,r=n.icon,title=n.title,o=[];return r&&o.push(t("i",{class:"svg-icon el-icon-"+r})),title&&o.push(t("span",{slot:"title"},[title])),o}},o=n(2),component=Object(o.a)(r,void 0,void 0,!1,null,null,null);e.a=component.exports},function(t,e,n){"use strict";(function(t){n(4);var r=n(34),o=n.n(r),c=n(65),l=n(35),f=(n(57),o.a.create({baseURL:t.env.VUE_APP_BASE_API,timeout:5e3}));f.interceptors.request.use((function(t){return t}),(function(t){return console.log(t),Promise.reject(t)})),f.interceptors.response.use((function(t){var e=t.data;return 1!==e.status?(Object(c.Message)({message:e.message||"Error",type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||c.MessageBox.confirm("You have been logged out, you can cancel to stay on this page, or log in again","Confirm logout",{confirmButtonText:"Re-Login",cancelButtonText:"Cancel",type:"warning"}).then((function(){l.default.dispatch("user/resetToken").then((function(){location.reload()}))})),Promise.reject(new Error(e.message||"Error"))):e}),(function(t){return console.log("err"+t),Object(c.Message)({message:t.message,type:"error",duration:5e3}),Promise.reject(t)})),e.a=f}).call(this,n(95))},function(t,e,n){"use strict";n(8),n(32),n(11),n(30),n(29),n(16),n(17),n(18),n(4),n(58),n(74);var r=n(1);function o(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))){var i=0,e=function(){};return{s:e,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,o=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){l=!0,r=t},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw r}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var l=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)},f=window.cancelIdleCallback||function(t){clearTimeout(t)},h=window.IntersectionObserver&&new window.IntersectionObserver((function(t){t.forEach((function(t){var e=t.intersectionRatio,link=t.target;e<=0||link.__prefetch()}))}));e.a={name:"NuxtLink",extends:r.default.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}},mounted:function(){this.prefetch&&!this.noPrefetch&&(this.handleId=l(this.observe,{timeout:2e3}))},beforeDestroy:function(){f(this.handleId),this.__observed&&(h.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe:function(){h&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),h.observe(this.$el),this.__observed=!0)},shouldPrefetch:function(){return this.getPrefetchComponents().length>0},canPrefetch:function(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(t){return t.components.default})).filter((function(t){return"function"==typeof t&&!t.options&&!t.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){h.unobserve(this.$el);var t,e=o(this.getPrefetchComponents());try{for(e.s();!(t=e.n()).done;){var n=t.value,r=n();r instanceof Promise&&r.catch((function(){})),n.__prefetched=!0}}catch(t){e.e(t)}finally{e.f()}}}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e);n(16);e.default={sidebar:function(t){return t.app.sidebar},size:function(t){return t.app.size},device:function(t){return t.app.device},visitedViews:function(t){return t.tagsView.visitedViews},cachedViews:function(t){return t.tagsView.cachedViews},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},introduction:function(t){return t.user.introduction},roles:function(t){return t.user.roles},permission_routes:function(t){return t.permission.routes},errorLogs:function(t){return t.errorLog.logs}}},,,function(t,e,n){"use strict";var r={};r.initialize=n(272),r.initialize=r.initialize.default||r.initialize,e.a=r},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var r=n(27),o=n.n(r),c={sidebar:{opened:!o.a.get("sidebarStatus")||!!+o.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:o.a.get("size")||"medium"},l={TOGGLE_SIDEBAR:function(t){t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1,t.sidebar.opened?o.a.set("sidebarStatus",1):o.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(t,e){o.a.set("sidebarStatus",0),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e},SET_SIZE:function(t,e){t.size=e,o.a.set("size",e)}};e.default={namespaced:!0,state:c,mutations:l,actions:{toggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},closeSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},toggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)},setSize:function(t,e){(0,t.commit)("SET_SIZE",e)}}}},function(t,e,n){"use strict";n.r(e);e.default={namespaced:!0,state:{logs:[]},mutations:{ADD_ERROR_LOG:function(t,e){t.logs.push(e)},CLEAR_ERROR_LOG:function(t){t.logs.splice(0)}},actions:{addErrorLog:function(t,e){(0,t.commit)("ADD_ERROR_LOG",e)},clearErrorLog:function(t){(0,t.commit)("CLEAR_ERROR_LOG")}}}},function(t,e,n){"use strict";n.r(e),n.d(e,"filterAsyncRoutes",(function(){return l}));n(28),n(11),n(8),n(15),n(4);var r=n(6),o=(n(58),n(74),n(23));function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function l(t,e){var n=[];return t.forEach((function(t){var o=function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},t);(function(t,e){return!e.meta||!e.meta.roles||t.some((function(t){return e.meta.roles.includes(t)}))})(e,o)&&(o.children&&(o.children=l(o.children,e)),n.push(o))})),n}var f={SET_ROUTES:function(t,e){t.addRoutes=e,t.routes=o.constantRoutes.concat(e)}},h={generateRoutes:function(t,e){var n=t.commit;return new Promise((function(t){var r;r=e.includes("admin")?o.asyncRoutes||[]:l(o.asyncRoutes,e),n("SET_ROUTES",r),t(r)}))}};e.default={namespaced:!0,state:{routes:[],addRoutes:[]},mutations:f,actions:h}},function(t,e,n){"use strict";n.r(e);var r=n(81),o=n.n(r),c={showSettings:o.a.showSettings,tagsView:o.a.tagsView,fixedHeader:o.a.fixedHeader,sidebarLogo:o.a.sidebarLogo};e.default={namespaced:!0,state:c,mutations:{CHANGE_SETTING:function(t,e){var n=e.key,r=e.value;t.hasOwnProperty(n)&&(t[n]=r)}},actions:{changeSetting:function(t,data){(0,t.commit)("CHANGE_SETTING",data)}}}},function(t,e,n){"use strict";n.r(e);n(32),n(11),n(30),n(29),n(17),n(18);var r=n(5),o=n(55);n(8),n(4),n(16),n(58),n(74);function c(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t))){var i=0,e=function(){};return{s:e,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,o=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,r=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var f={ADD_VISITED_VIEW:function(t,view){t.visitedViews.some((function(t){return t.path===view.path}))||t.visitedViews.push(Object.assign({},view,{title:view.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(t,view){t.cachedViews.includes(view.name)||view.meta.noCache||t.cachedViews.push(view.name)},DEL_VISITED_VIEW:function(t,view){var e,n=c(t.visitedViews.entries());try{for(n.s();!(e=n.n()).done;){var r=Object(o.a)(e.value,2),i=r[0];if(r[1].path===view.path){t.visitedViews.splice(i,1);break}}}catch(t){n.e(t)}finally{n.f()}},DEL_CACHED_VIEW:function(t,view){var e,n=c(t.cachedViews);try{for(n.s();!(e=n.n()).done;){var i=e.value;if(i===view.name){var r=t.cachedViews.indexOf(i);t.cachedViews.splice(r,1);break}}}catch(t){n.e(t)}finally{n.f()}},DEL_OTHERS_VISITED_VIEWS:function(t,view){t.visitedViews=t.visitedViews.filter((function(t){return t.meta.affix||t.path===view.path}))},DEL_OTHERS_CACHED_VIEWS:function(t,view){var e,n=c(t.cachedViews);try{for(n.s();!(e=n.n()).done;){var i=e.value;if(i===view.name){var r=t.cachedViews.indexOf(i);t.cachedViews=t.cachedViews.slice(r,r+1);break}}}catch(t){n.e(t)}finally{n.f()}},DEL_ALL_VISITED_VIEWS:function(t){var e=t.visitedViews.filter((function(t){return t.meta.affix}));t.visitedViews=e},DEL_ALL_CACHED_VIEWS:function(t){t.cachedViews=[]},UPDATE_VISITED_VIEW:function(t,view){var e,n=c(t.visitedViews);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.path===view.path){r=Object.assign(r,view);break}}}catch(t){n.e(t)}finally{n.f()}}},h={addView:function(t,view){var e=t.dispatch;e("addVisitedView",view),e("addCachedView",view)},addVisitedView:function(t,view){(0,t.commit)("ADD_VISITED_VIEW",view)},addCachedView:function(t,view){(0,t.commit)("ADD_CACHED_VIEW",view)},delView:function(t,view){var e=t.dispatch,n=t.state;return new Promise((function(t){e("delVisitedView",view),e("delCachedView",view),t({visitedViews:Object(r.a)(n.visitedViews),cachedViews:Object(r.a)(n.cachedViews)})}))},delVisitedView:function(t,view){var e=t.commit,n=t.state;return new Promise((function(t){e("DEL_VISITED_VIEW",view),t(Object(r.a)(n.visitedViews))}))},delCachedView:function(t,view){var e=t.commit,n=t.state;return new Promise((function(t){e("DEL_CACHED_VIEW",view),t(Object(r.a)(n.cachedViews))}))},delOthersViews:function(t,view){var e=t.dispatch,n=t.state;return new Promise((function(t){e("delOthersVisitedViews",view),e("delOthersCachedViews",view),t({visitedViews:Object(r.a)(n.visitedViews),cachedViews:Object(r.a)(n.cachedViews)})}))},delOthersVisitedViews:function(t,view){var e=t.commit,n=t.state;return new Promise((function(t){e("DEL_OTHERS_VISITED_VIEWS",view),t(Object(r.a)(n.visitedViews))}))},delOthersCachedViews:function(t,view){var e=t.commit,n=t.state;return new Promise((function(t){e("DEL_OTHERS_CACHED_VIEWS",view),t(Object(r.a)(n.cachedViews))}))},delAllViews:function(t,view){var e=t.dispatch,n=t.state;return new Promise((function(t){e("delAllVisitedViews",view),e("delAllCachedViews",view),t({visitedViews:Object(r.a)(n.visitedViews),cachedViews:Object(r.a)(n.cachedViews)})}))},delAllVisitedViews:function(t){var e=t.commit,n=t.state;return new Promise((function(t){e("DEL_ALL_VISITED_VIEWS"),t(Object(r.a)(n.visitedViews))}))},delAllCachedViews:function(t){var e=t.commit,n=t.state;return new Promise((function(t){e("DEL_ALL_CACHED_VIEWS"),t(Object(r.a)(n.cachedViews))}))},updateVisitedView:function(t,view){(0,t.commit)("UPDATE_VISITED_VIEW",view)}};e.default={namespaced:!0,state:{visitedViews:[],cachedViews:[]},mutations:f,actions:h}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e);n(31);var r=n(3),o=(n(4),n(16),n(138));var c=n(57),l=n(23),f={token:Object(c.a)(),name:"",avatar:"https://picsum.photos/80/80",introduction:"",roles:[]},h={SET_TOKEN:function(t,e){t.token=e},SET_INTRODUCTION:function(t,e){t.introduction=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){console.log("set--------avatar-----"),console.log(e),t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},d={login:function(t,e){var n=t.commit,r=e.username,l=e.password;return new Promise((function(t,e){var data;(data={username:r.trim(),password:l},Object(o.a)({url:"/user/login",method:"post",data:data})).then((function(e){var data=e.data;n("SET_TOKEN",data.token),Object(c.c)(data.token),t()})).catch((function(t){e(t)}))}))},getInfo:function(t){var e=t.commit,n=t.state;return new Promise((function(t,r){var c;(c=n.token,Object(o.a)({url:"/api/user/getInfo",method:"get",params:{token:c}})).then((function(n){var data=n.data;console.log(data),data||r("Verification failed, please Login again.");var o=data.roles,c=data.name,l=data.icon_url,f=data.introduction;e("SET_ROLES",o),e("SET_NAME",c),e("SET_AVATAR",l),e("SET_INTRODUCTION",f),t(data)})).catch((function(t){console.log(t),console.log("+ssssssssssssssssssssssssssssssssssssssssss"),r(t)}))}))},logout:function(t){var e=t.commit,n=t.state;return new Promise((function(t,r){(n.token,Object(o.a)({url:"/user/logout",method:"post"})).then((function(){e("SET_TOKEN",""),e("SET_ROLES",[]),Object(c.b)(),Object(l.resetRouter)(),t()})).catch((function(t){r(t)}))}))},resetToken:function(t){var e=t.commit;return new Promise((function(t){e("SET_TOKEN",""),e("SET_ROLES",[]),Object(c.b)(),t()}))},changeRoles:function(t,e){var n=t.commit,o=t.dispatch;return new Promise(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(r){var f,h,d,m;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n("SET_TOKEN",f=e+"-token"),Object(c.c)(f),t.next=5,o("getInfo");case 5:return h=t.sent,d=h.roles,Object(l.resetRouter)(),t.next=10,o("permission/generateRoutes",d,{root:!0});case 10:m=t.sent,l.c.addRoutes(m),o("tagsView/delAllViews",null,{root:!0}),r();case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}};e.default={namespaced:!0,state:f,mutations:h,actions:d}},,,,,,function(t,e,n){t.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},,,function(t,e,n){"use strict";n(4),n(31);var r=n(3),o=n(1),c=n(0),l=window.__NUXT__;function f(){if(!this._hydrated)return this.$fetch()}function h(){if((t=this).$vnode&&t.$vnode.elm&&t.$vnode.elm.dataset&&t.$vnode.elm.dataset.fetchKey){var t;this._hydrated=!0,this._fetchKey=+this.$vnode.elm.dataset.fetchKey;var data=l.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var e in data)o.default.set(this.$data,e,data[e])}}function d(){var t=this;return this._fetchPromise||(this._fetchPromise=m.call(this).then((function(){delete t._fetchPromise}))),this._fetchPromise}function m(){return v.apply(this,arguments)}function v(){return(v=Object(r.a)(regeneratorRuntime.mark((function t(){var e,n,r,o=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,e=null,n=Date.now(),t.prev=6,t.next=9,this.$options.fetch.call(this);case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(6),e=Object(c.o)(t.t0);case 14:if(!((r=this._fetchDelay-(Date.now()-n))>0)){t.next=18;break}return t.next=18,new Promise((function(t){return setTimeout(t,r)}));case 18:this.$fetchState.error=e,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 22:case"end":return t.stop()}}),t,this,[[6,11]])})))).apply(this,arguments)}e.a={beforeCreate:function(){Object(c.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.default.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=d.bind(this),Object(c.a)(this,"created",h),Object(c.a)(this,"beforeMount",f))}}},function(t,e,n){t.exports=n(253)},function(t,e,n){"use strict";n.r(e),function(t){n(32),n(11),n(29),n(17),n(18),n(30);var e=n(14),r=(n(31),n(188),n(3)),o=(n(58),n(74),n(8),n(4),n(15),n(16),n(203),n(264),n(269),n(271),n(1)),c=n(243),l=n(184),f=n(0),h=n(36),d=n(251),m=n(139);function v(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t))){var i=0,e=function(){};return{s:e,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,o=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,r=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw r}}}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}o.default.__nuxt__fetch__mixin__||(o.default.mixin(d.a),o.default.__nuxt__fetch__mixin__=!0),o.default.component(m.a.name,m.a),o.default.component("NLink",m.a),t.fetch||(t.fetch=c.a);var y,_,O=[],x=window.__NUXT__||{};Object.assign(o.default.config,{silent:!0,performance:!1});var j=o.default.config.errorHandler||console.error;function S(t,e,n){for(var r=function(component){var t=function(component,t){if(!component||!component.options||!component.options[t])return{};var option=component.options[t];if("function"==typeof option){for(var e=arguments.length,n=new Array(e>2?e-2:0),r=2;r<e;r++)n[r-2]=arguments[r];return option.apply(void 0,n)}return option}(component,"transition",e,n)||{};return"string"==typeof t?{name:t}:t},o=n?Object(f.g)(n):[],c=Math.max(t.length,o.length),l=[],h=function(i){var e=Object.assign({},r(t[i])),n=Object.assign({},r(o[i]));Object.keys(e).filter((function(t){return void 0!==e[t]&&!t.toLowerCase().includes("leave")})).forEach((function(t){n[t]=e[t]})),l.push(n)},i=0;i<c;i++)h(i);return l}function C(t,e,n){return k.apply(this,arguments)}function k(){return(k=Object(r.a)(regeneratorRuntime.mark((function t(e,n,r){var o,c,l,h,d=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._routeChanged=Boolean(y.nuxt.err)||n.name!==e.name,this._paramChanged=!this._routeChanged&&n.path!==e.path,this._queryChanged=!this._paramChanged&&n.fullPath!==e.fullPath,this._diffQuery=this._queryChanged?Object(f.i)(e.query,n.query):[],(this._routeChanged||this._paramChanged)&&this.$loading.start&&!this.$loading.manual&&this.$loading.start(),t.prev=5,!this._queryChanged){t.next=12;break}return t.next=9,Object(f.q)(e,(function(t,e){return{Component:t,instance:e}}));case 9:o=t.sent,o.some((function(t){var r=t.Component,o=t.instance,c=r.options.watchQuery;return!0===c||(Array.isArray(c)?c.some((function(t){return d._diffQuery[t]})):"function"==typeof c&&c.apply(o,[e.query,n.query]))}))&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();case 12:r(),t.next=26;break;case 15:if(t.prev=15,t.t0=t.catch(5),c=t.t0||{},l=c.statusCode||c.status||c.response&&c.response.status||500,h=c.message||"",!/^Loading( CSS)? chunk (\d)+ failed\./.test(h)){t.next=23;break}return window.location.reload(!0),t.abrupt("return");case 23:this.error({statusCode:l,message:h}),this.$nuxt.$emit("routeChanged",e,n,c),r();case 26:case"end":return t.stop()}}),t,this,[[5,15]])})))).apply(this,arguments)}function $(t,e){return x.serverRendered&&e&&Object(f.b)(t,e),t._Ctor=t,t}function E(t){var path=Object(f.f)(t.options.base,t.options.mode);return Object(f.d)(t.match(path),function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e,n,r,o,c){var l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof e||e.options){t.next=4;break}return t.next=3,e();case 3:e=t.sent;case 4:return l=$(Object(f.r)(e),x.data?x.data[c]:null),r.components[o]=l,t.abrupt("return",l);case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,o,c){return t.apply(this,arguments)}}())}function T(t,e,n){var r=this,o=["initialize"],c=!1;if(void 0!==n&&(o=[],(n=Object(f.r)(n)).options.middleware&&(o=o.concat(n.options.middleware)),t.forEach((function(t){t.options.middleware&&(o=o.concat(t.options.middleware))}))),o=o.map((function(t){return"function"==typeof t?t:("function"!=typeof l.a[t]&&(c=!0,r.error({statusCode:500,message:"Unknown middleware "+t})),l.a[t])})),!c)return Object(f.n)(o,e)}function P(t,e,n){return A.apply(this,arguments)}function A(){return(A=Object(r.a)(regeneratorRuntime.mark((function t(e,n,r){var o,c,l,d,m,w,_,x,j,C,k,$,E,P,A,V=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){t.next=2;break}return t.abrupt("return",r());case 2:return e===n?O=[]:(o=[],O=Object(f.g)(n,o).map((function(t,i){return Object(f.c)(n.matched[o[i]].path)(n.params)}))),c=!1,l=function(path){n.path===path.path&&V.$loading.finish&&V.$loading.finish(),n.path!==path.path&&V.$loading.pause&&V.$loading.pause(),c||(c=!0,r(path))},t.next=7,Object(f.s)(y,{route:e,from:n,next:l.bind(this)});case 7:if(this._dateLastError=y.nuxt.dateErr,this._hadError=Boolean(y.nuxt.err),d=[],(m=Object(f.g)(e,d)).length){t.next=26;break}return t.next=14,T.call(this,m,y.context);case 14:if(!c){t.next=16;break}return t.abrupt("return");case 16:return w=(h.a.options||h.a).layout,t.next=19,this.loadLayout("function"==typeof w?w.call(h.a,y.context):w);case 19:return _=t.sent,t.next=22,T.call(this,m,y.context,_);case 22:if(!c){t.next=24;break}return t.abrupt("return");case 24:return y.context.error({statusCode:404,message:"This page could not be found"}),t.abrupt("return",r());case 26:return m.forEach((function(t){t._Ctor&&t._Ctor.options&&(t.options.asyncData=t._Ctor.options.asyncData,t.options.fetch=t._Ctor.options.fetch)})),this.setTransitions(S(m,e,n)),t.prev=28,t.next=31,T.call(this,m,y.context);case 31:if(!c){t.next=33;break}return t.abrupt("return");case 33:if(!y.context._errored){t.next=35;break}return t.abrupt("return",r());case 35:return"function"==typeof(x=m[0].options.layout)&&(x=x(y.context)),t.next=39,this.loadLayout(x);case 39:return x=t.sent,t.next=42,T.call(this,m,y.context,x);case 42:if(!c){t.next=44;break}return t.abrupt("return");case 44:if(!y.context._errored){t.next=46;break}return t.abrupt("return",r());case 46:j=!0,t.prev=47,C=v(m),t.prev=49,C.s();case 51:if((k=C.n()).done){t.next=62;break}if("function"==typeof($=k.value).options.validate){t.next=55;break}return t.abrupt("continue",60);case 55:return t.next=57,$.options.validate(y.context);case 57:if(j=t.sent){t.next=60;break}return t.abrupt("break",62);case 60:t.next=51;break;case 62:t.next=67;break;case 64:t.prev=64,t.t0=t.catch(49),C.e(t.t0);case 67:return t.prev=67,C.f(),t.finish(67);case 70:t.next=76;break;case 72:return t.prev=72,t.t1=t.catch(47),this.error({statusCode:t.t1.statusCode||"500",message:t.t1.message}),t.abrupt("return",r());case 76:if(j){t.next=79;break}return this.error({statusCode:404,message:"This page could not be found"}),t.abrupt("return",r());case 79:return t.next=81,Promise.all(m.map((function(t,i){t._path=Object(f.c)(e.matched[d[i]].path)(e.params),t._dataRefresh=!1;var r=t._path!==O[i];if(V._routeChanged&&r)t._dataRefresh=!0;else if(V._paramChanged&&r){var o=t.options.watchParam;t._dataRefresh=!1!==o}else if(V._queryChanged){var c=t.options.watchQuery;!0===c?t._dataRefresh=!0:Array.isArray(c)?t._dataRefresh=c.some((function(t){return V._diffQuery[t]})):"function"==typeof c&&(E||(E=Object(f.h)(e)),t._dataRefresh=c.apply(E[i],[e.query,n.query]))}if(V._hadError||!V._isMounted||t._dataRefresh){var l=[],h=t.options.asyncData&&"function"==typeof t.options.asyncData,m=Boolean(t.options.fetch)&&t.options.fetch.length,v=h&&m?30:45;if(h){var w=Object(f.p)(t.options.asyncData,y.context).then((function(e){Object(f.b)(t,e),V.$loading.increase&&V.$loading.increase(v)}));l.push(w)}if(V.$loading.manual=!1===t.options.loading,m){var p=t.options.fetch(y.context);p&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then((function(t){V.$loading.increase&&V.$loading.increase(v)})),l.push(p)}return Promise.all(l)}})));case 81:c||(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),r()),t.next=98;break;case 84:if(t.prev=84,t.t2=t.catch(28),"ERR_REDIRECT"!==(P=t.t2||{}).message){t.next=89;break}return t.abrupt("return",this.$nuxt.$emit("routeChanged",e,n,P));case 89:return O=[],Object(f.k)(P),"function"==typeof(A=(h.a.options||h.a).layout)&&(A=A(y.context)),t.next=95,this.loadLayout(A);case 95:this.error(P),this.$nuxt.$emit("routeChanged",e,n,P),r();case 98:case"end":return t.stop()}}),t,this,[[28,84],[47,72],[49,64,67,70]])})))).apply(this,arguments)}function V(t,n){Object(f.d)(t,(function(t,n,r,c){return"object"!==Object(e.a)(t)||t.options||((t=o.default.extend(t))._Ctor=t,r.components[c]=t),t}))}function R(t){this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&this.error();var e=this.$options.nuxt.err?(h.a.options||h.a).layout:t.matched[0].components.default.options.layout;"function"==typeof e&&(e=e(y.context)),this.setLayout(e)}function D(t,e){var n=this;if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){var r=Object(f.h)(t),c=Object(f.g)(t);o.default.nextTick((function(){r.forEach((function(t,i){if(t&&!t._isDestroyed&&t.constructor._dataRefresh&&c[i]===t.constructor&&!0!==t.$vnode.data.keepAlive&&"function"==typeof t.constructor.options.data){var e=t.constructor.options.data.call(t);for(var n in e)o.default.set(t.$data,n,e[n]);window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}})),R.call(n,t)}))}}function L(t){window.onNuxtReadyCbs.forEach((function(e){"function"==typeof e&&e(t)})),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(t),_.afterEach((function(e,n){o.default.nextTick((function(){return t.$nuxt.$emit("routeChanged",e,n)}))}))}function I(){return(I=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,c,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return y=e.app,_=e.router,e.store,n=new o.default(y),r=function(){n.$mount("#__nuxt"),_.afterEach(V),_.afterEach(D.bind(n)),o.default.nextTick((function(){L(n)}))},t.next=7,Promise.all(E(_));case 7:if(c=t.sent,n.setTransitions=n.$options.nuxt.setTransitions.bind(n),c.length&&(n.setTransitions(S(c,_.currentRoute)),O=_.currentRoute.matched.map((function(t){return Object(f.c)(t.path)(_.currentRoute.params)}))),n.$loading={},x.error&&n.error(x.error),_.beforeEach(C.bind(n)),_.beforeEach(P.bind(n)),!x.serverRendered||x.routePath!==n.context.route.path){t.next=17;break}return r(),t.abrupt("return");case 17:l=function(){V(_.currentRoute,_.currentRoute),R.call(n,_.currentRoute),r()},P.call(n,_.currentRoute,_.currentRoute,(function(path){if(path){var t=_.afterEach((function(e,n){t(),l()}));_.push(path,void 0,(function(t){t&&j(t)}))}else l()}));case 19:case"end":return t.stop()}}),t)})))).apply(this,arguments)}Object(h.b)().then((function(t){return I.apply(this,arguments)})).catch(j)}.call(this,n(38))},,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e);n(82);e.default=function(t){console.log("initialize.........");var e="";console.log("client side............");(e=document.location.href).indexOf("https://"),document.cookie;var n=new RegExp("((?<branch>[a-z0-9_\\-]+)\\.)?(?<env>(www|prod|test|local|test-jishuin|test-rooter|prod-jishuin|prod-rooter|rooter|jishuin|job|kaifain|test-job|test-kaifain))\\.proginn\\.com(\\:(?<port>\\d+))?","i");console.log(n),console.log(e);var r=n.exec(e).groups,o="",c="",l="",f="";if(r){var h=r.branch,d=r.env;r.port;switch(d){case"www":o="https://www.proginn.com",f="https://www.proginn.com",c="https://jishuin.proginn.com",l="https://rooter.proginn.com";break;case"test":case"test-jishuin":case"test-rooter":o="https://"+h+".test.proginn.com",f="https://"+h+".test.proginn.com",c="https://"+h+".test-jishuin.proginn.com",l="https://"+h+".test-rooter.proginn.com";break;case"local":o="http://local.proginn.com",f="http://local.proginn.com",c="http://jishuin.local.proginn.com",l="http://rooter.local.proginn.com";break;case"prod":case"prod-jishuin":case"prod-rooter":o="https://"+h+".prod.proginn.com",f="https://"+h+".prod.proginn.com",c="https://"+h+".prod-jishuin.proginn.com",l="https://"+h+".prod-rooter.proginn.com";break;default:o="https://www.proginn.com",f="https://www.proginn.com",c="https://jishuin.proginn.com",l="https://rooter.proginn.com"}}else o="https://www.proginn.com",f="https://www.proginn.com",c="https://jishuin.proginn.com",l="https://rooter.proginn.com";t.store.dispatch("user/getInfo"),t.store.commit("updateDomainConfig",{api:o,siteUrl:f,jishuinUrl:c,rooterUrl:l})}},,,,,,,,function(t,e,n){"use strict";var r=n(105);n.n(r).a},function(t,e,n){"use strict";var r=n(106);n.n(r).a},,function(t,e,n){},function(t,e,n){t.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},function(t,e,n){"use strict";var r=n(107);n.n(r).a},function(t,e,n){"use strict";var r=n(108);n.n(r).a},function(t,e,n){"use strict";var r=n(109);n.n(r).a},function(t,e,n){"use strict";var r=n(110);n.n(r).a},function(t,e,n){"use strict";var r=n(111);n.n(r).a},function(t,e,n){"use strict";var r=n(112);n.n(r).a},function(t,e,n){"use strict";var r=n(113);n.n(r).a},function(t,e,n){"use strict";var r=n(114);n.n(r).a},,,,function(t,e,n){"use strict";var r=n(115);n.n(r).a},function(t,e,n){"use strict";var r=n(116);n.n(r).a},function(t,e,n){"use strict";var r=n(117);n.n(r).a},,,,function(t,e,n){"use strict";var r=n(118);n.n(r).a},function(t,e,n){"use strict";var r=n(119);n.n(r).a},function(t,e,n){"use strict";var r=n(120);n.n(r).a},,,,function(t,e,n){"use strict";var r=n(121);n.n(r).a},function(t,e,n){"use strict";var r=n(122);n.n(r).a},function(t,e,n){"use strict";var r=n(123);n.n(r).a},function(t,e,n){"use strict";var r=n(124);n.n(r).a},function(t,e,n){var map={"./app.js":211,"./errorLog.js":212,"./permission.js":213,"./settings.js":214,"./tagsView.js":215,"./user.js":242};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(map,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return map[t]}r.keys=function(){return Object.keys(map)},r.resolve=o,t.exports=r,r.id=312}],[[252,77,0]]]);