@fly-vue/lcdp-iview 1.8.11 → 1.8.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/@types/module/components/components/IvTableGrid/index.vue.d.ts +1 -1
  2. package/@types/module/components/for-designer/index.d.ts +1 -0
  3. package/@types/module/components/index.d.ts +1 -0
  4. package/bingo-builder-manifest.json +11 -15
  5. package/index.js +4 -4
  6. package/modules/fly_vue_lcdp_iview/assets/css/app.css +2 -2
  7. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-basecomponent.298be239.css +1 -0
  8. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.e7fec5cb.css +1 -0
  9. package/modules/fly_vue_lcdp_iview/chunk-732b533d.b489cc1146ca6d8aa61f.js +1 -0
  10. package/modules/fly_vue_lcdp_iview/dll.js +12 -12
  11. package/modules/fly_vue_lcdp_iview/lcdp-designer-components.b489cc1146ca6d8aa61f.js +1 -0
  12. package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.b489cc1146ca6d8aa61f.js +1 -0
  13. package/modules/fly_vue_lcdp_iview/{lcdp-iview-basecomponent.d80fb542e6f67e714e98.js → lcdp-iview-basecomponent.b489cc1146ca6d8aa61f.js} +1 -1
  14. package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.b489cc1146ca6d8aa61f.js +1 -0
  15. package/modules/fly_vue_lcdp_iview/lcdp-iview-component.b489cc1146ca6d8aa61f.js +1 -0
  16. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.b489cc1146ca6d8aa61f.js +1 -0
  17. package/modules/fly_vue_lcdp_iview/{vendors~lcdp-renderer-components.d80fb542e6f67e714e98.js → vendors~lcdp-renderer-components.b489cc1146ca6d8aa61f.js} +1 -1
  18. package/package.json +13 -15
  19. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-basecomponent.59791fad.css +0 -1
  20. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.5a8bf8f9.css +0 -1
  21. package/modules/fly_vue_lcdp_iview/chunk-732b533d.d80fb542e6f67e714e98.js +0 -1
  22. package/modules/fly_vue_lcdp_iview/lcdp-designer-components.d80fb542e6f67e714e98.js +0 -1
  23. package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.d80fb542e6f67e714e98.js +0 -1
  24. package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.d80fb542e6f67e714e98.js +0 -1
  25. package/modules/fly_vue_lcdp_iview/lcdp-iview-component.d80fb542e6f67e714e98.js +0 -1
  26. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.d80fb542e6f67e714e98.js +0 -1
  27. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-region.d80fb542e6f67e714e98.js → lcdp-iview-component-region.b489cc1146ca6d8aa61f.js} +0 -0
  28. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-attrcomponent~lcdp-iview-basecomponent.d80fb542e6f67e714e98.js → vendors~lcdp-iview-attrcomponent~lcdp-iview-basecomponent.b489cc1146ca6d8aa61f.js} +0 -0
  29. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component-ice.d80fb542e6f67e714e98.js → vendors~lcdp-iview-component-ice.b489cc1146ca6d8aa61f.js} +0 -0
  30. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component.d80fb542e6f67e714e98.js → vendors~lcdp-iview-component.b489cc1146ca6d8aa61f.js} +0 -0
@@ -1,4 +1,4 @@
1
- (window["webpackJsonp_$fly_vue_lcdp_iview_"]=window["webpackJsonp_$fly_vue_lcdp_iview_"]||[]).push([["vendors~lcdp-renderer-components"],{bbda:function(e,t,n){(function(t,n){e.exports=n()})(window,(function(){return function(e){function t(t){for(var n,i,o=t[0],a=t[1],u=0,c=[];u<o.length;u++)i=o[u],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&c.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);s&&s(t);while(c.length)c.shift()()}var n={},r={app:0};function i(e){return o.p+"modules/fly_vue_iview_admin/"+({"flyvue-admin-components":"flyvue-admin-components","flyvue-admin-layout":"flyvue-admin-layout"}[e]||e)+".52e86c4d0f176e6016f8.js"}function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=a);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=i(e);var s=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(l);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}r[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var a=window["webpackJsonp_$fly_vue_iview_admin_"]=window["webpackJsonp_$fly_vue_iview_admin_"]||[],u=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var s=u;return o(o.s=0)}({0:function(e,t,n){e.exports=n("4294")},"0cc9":function(e,t,n){"use strict";var r={locale:"zh-CN",language:"简体中文",iflyAdmin:{base:{min:"最小化",max:"最大化",close:"关闭"},login:{title:"登录",remember:"自动登录",forgot:"忘记密码",submit:"登录",other:"其它登录方式",signup:"注册账户"},register:{title:"注册",submit:"注册",other:"使用已有账户登录"},exception:{e403:"抱歉,你无权访问该页面",e404:"抱歉,你访问的页面不存在",e500:"抱歉,服务器出错了",btn:"返回首页"}}},i={locale:"en-US",language:"English",iflyAdmin:{base:{min:"Min",max:"Max",close:"Close"},login:{title:"Login",remember:"Remember me",forgot:"Forgot your password?",submit:"Login",other:"Sign in with",signup:"Sign up"},register:{title:"Register",submit:"Register",other:"Already have an account?"},exception:{e403:"Sorry, you don't have access to this page.",e404:"Sorry, the page you visited does not exist.",e500:"Sorry, the server is reporting an error.",btn:"Back to home"}}},o=n("6408"),a=n.n(o),u=n("ec0c"),c=n.n(u),s={"zh-CN":{basicLayout:{search:{placeholder:"搜索...",cancel:"取消"},user:{center:"个人中心",setting:"设置",logOut:"退出登录"},logout:{confirmTitle:"退出登录确认",confirmContent:"您确定退出登录当前账户吗?打开的标签页和个人设置将会保存。"},tabs:{left:"关闭左侧",right:"关闭右侧",other:"关闭其它",all:"全部关闭"}}},"en-US":{basicLayout:{search:{placeholder:"Search...",cancel:"Cancel"},user:{center:"My home",setting:"Setting",logOut:"Log out"},logout:{confirmTitle:"Logout confirmation",confirmContent:"Are you sure you are logged out of your current account? Open tabs and personal settings will be saved."},tabs:{left:"Close left",right:"Close right",other:"Close other",all:"Close all"}}}};t["a"]={"zh-CN":Object.assign(r,a.a,s["zh-CN"]),"en-US":Object.assign(i,c.a,s["en-US"])}},"0de5":function(e,t,n){},"0fbf":function(e,t){e.exports=_$fly_vue_core_},"14fe":function(e,t,n){e.exports=n.p+"modules/fly_vue_iview_admin/assets/img/header-theme-dark.7e6c9b32.svg"},"190f":function(e,t,n){"use strict";n("cbf0")},"1b32":function(e,t,n){},"1b5c":function(e,t,n){"use strict";var r,i=n("7074"),o=n.n(i),a=n("fd77"),u=n.n(a),c=n("dae4"),s=Object(c["config"])(),l=null!=(r=s.platformType)?r:null,f=l?l+"-admin":"admin",h=new u.a(f),d=o()(h);d.defaults({sys:{},database:{},requestCache:[]}).write(),t["a"]=d},"23b3":function(e,t){},2655:function(e,t){function n(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}e.exports=n,e.exports.default=n},2710:function(e,t){},2877:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,u){var c,s="function"===typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},s._ssrRegister=c):i&&(c=u?function(){i.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(s.functional){s._injectStyles=c;var l=s.render;s.render=function(e,t){return c.call(t),l(e,t)}}else{var f=s.beforeCreate;s.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:s}}n.d(t,"a",(function(){return r}))},"2c28":function(e,t,n){"use strict";(function(e){n.d(t,"useColorMode",(function(){return _}));var r=n("3654"),i=n("f890");function o(e){var t;const n=Object(r["toValue"])(e);return null!=(t=null==n?void 0:n.$el)?t:n}const a=r["isClient"]?window:void 0;function u(...e){let t,n,u,c;if("string"===typeof e[0]||Array.isArray(e[0])?([n,u,c]=e,t=a):[t,n,u,c]=e,!t)return r["noop"];Array.isArray(n)||(n=[n]),Array.isArray(u)||(u=[u]);const s=[],l=()=>{s.forEach(e=>e()),s.length=0},f=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),h=Object(i["watch"])(()=>[o(t),Object(r["toValue"])(c)],([e,t])=>{if(l(),!e)return;const i=Object(r["isObject"])(t)?{...t}:t;s.push(...n.flatMap(t=>u.map(n=>f(e,t,n,i))))},{immediate:!0,flush:"post"}),d=()=>{h(),l()};return Object(r["tryOnScopeDispose"])(d),d}function c(){const e=Object(i["ref"])(!1),t=Object(i["getCurrentInstance"])();return t&&Object(i["onMounted"])(()=>{e.value=!0},i["isVue2"]?void 0:t),e}function s(e){const t=c();return Object(i["computed"])(()=>(t.value,Boolean(e())))}function l(e,t={}){const{window:n=a}=t,o=s(()=>n&&"matchMedia"in n&&"function"===typeof n.matchMedia);let u;const c=Object(i["ref"])(!1),l=e=>{c.value=e.matches},f=()=>{u&&("removeEventListener"in u?u.removeEventListener("change",l):u.removeListener(l))},h=Object(i["watchEffect"])(()=>{o.value&&(f(),u=n.matchMedia(Object(r["toValue"])(e)),"addEventListener"in u?u.addEventListener("change",l):u.addListener(l),c.value=u.matches)});return Object(r["tryOnScopeDispose"])(()=>{h(),f(),u=void 0}),c}r["isClient"]&&window.document,r["isClient"]&&window.navigator,r["isClient"]&&window.location;const f="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{},h="__vueuse_ssr_handlers__",d=p();function p(){return h in f||(f[h]=f[h]||{}),f[h]}function m(e,t){return d[e]||t}function v(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"===typeof e?"boolean":"string"===typeof e?"string":"object"===typeof e?"object":Number.isNaN(e)?"any":"number"}const g={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},y="vueuse-storage";function b(e,t,n,o={}){var c;const{flush:s="pre",deep:l=!0,listenToStorageChanges:f=!0,writeDefaults:h=!0,mergeDefaults:d=!1,shallow:p,window:b=a,eventFilter:w,onError:_=(e=>{console.error(e)}),initOnMounted:x}=o,O=(p?i["shallowRef"]:i["ref"])("function"===typeof t?t():t);if(!n)try{n=m("getDefaultStorage",()=>{var e;return null==(e=a)?void 0:e.localStorage})()}catch(I){_(I)}if(!n)return O;const j=Object(r["toValue"])(t),k=v(j),S=null!=(c=o.serializer)?c:g[k],{pause:C,resume:M}=Object(r["pausableWatch"])(O,()=>T(O.value),{flush:s,deep:l,eventFilter:w});function E(t,r){b&&b.dispatchEvent(new CustomEvent(y,{detail:{key:e,oldValue:t,newValue:r,storageArea:n}}))}function T(t){try{const r=n.getItem(e);if(null==t)E(r,null),n.removeItem(e);else{const i=S.write(t);r!==i&&(n.setItem(e,i),E(r,i))}}catch(I){_(I)}}function P(t){const r=t?t.newValue:n.getItem(e);if(null==r)return h&&null!=j&&n.setItem(e,S.write(j)),j;if(!t&&d){const e=S.read(r);return"function"===typeof d?d(e,j):"object"!==k||Array.isArray(e)?e:{...j,...e}}return"string"!==typeof r?r:S.read(r)}function L(t){if(!t||t.storageArea===n)if(t&&null==t.key)O.value=j;else if(!t||t.key===e){C();try{(null==t?void 0:t.newValue)!==S.write(O.value)&&(O.value=P(t))}catch(I){_(I)}finally{t?Object(i["nextTick"])(M):M()}}}function A(e){L(e.detail)}return b&&f&&Object(r["tryOnMounted"])(()=>{u(b,"storage",L),u(b,y,A),x&&L()}),x||L(),O}function w(e){return l("(prefers-color-scheme: dark)",e)}function _(e={}){const{selector:t="html",attribute:n="class",initialValue:u="auto",window:c=a,storage:s,storageKey:l="vueuse-color-scheme",listenToStorageChanges:f=!0,storageRef:h,emitAuto:d,disableTransition:p=!0}=e,v={auto:"",light:"light",dark:"dark",...e.modes||{}},g=w({window:c}),y=Object(i["computed"])(()=>g.value?"dark":"light"),_=h||(null==l?Object(r["toRef"])(u):b(l,u,s,{window:c,listenToStorageChanges:f})),x=Object(i["computed"])(()=>"auto"===_.value?y.value:_.value),O=m("updateHTMLAttrs",(e,t,n)=>{const r="string"===typeof e?null==c?void 0:c.document.querySelector(e):o(e);if(!r)return;let i;if(p){i=c.document.createElement("style");const e="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";i.appendChild(document.createTextNode(e)),c.document.head.appendChild(i)}if("class"===t){const e=n.split(/\s/g);Object.values(v).flatMap(e=>(e||"").split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?r.classList.add(t):r.classList.remove(t)})}else r.setAttribute(t,n);p&&(c.getComputedStyle(i).opacity,document.head.removeChild(i))});function j(e){var r;O(t,n,null!=(r=v[e])?r:e)}function k(t){e.onChanged?e.onChanged(t,j):j(t)}Object(i["watch"])(x,k,{flush:"post",immediate:!0}),Object(r["tryOnMounted"])(()=>k(x.value));const S=Object(i["computed"])({get(){return d?_.value:x.value},set(e){_.value=e}});try{return Object.assign(S,{store:_,system:y,state:x})}catch(C){return S}}Number.POSITIVE_INFINITY;r["identity"]}).call(this,n("c8ba"))},"2e3d":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n("2ef0");var r=n("dae4"),i=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},o=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};function a(){var e,t,n,a;return i(this,void 0,void 0,(function(){var i,u,c,s,l,f,h;return o(this,(function(o){switch(o.label){case 0:return i=Object(r["config"])(),u=null!==(t=null===(e=i.i18n)||void 0===e?void 0:e.enabled)&&void 0!==t&&t,u?(c=null!==(a=null===(n=i.i18n)||void 0===n?void 0:n.url)&&void 0!==a?a:"/_meta/i18n",s=r["i18n"].getLocale(),l=new r["HttpRequest"],[4,l.params({locale:s}).get(c)]):[2];case 1:return f=o.sent(),h=f.data,h&&r["webApplication"].i18n.mergeLocaleMessage(s,h),[2]}}))}))}},"2ef0":function(e,t,n){e.exports=n("0fbf")("./node_modules/lodash/lodash.js")},"2f62":function(e,t,n){e.exports=n("0fbf")("./node_modules/vuex/dist/vuex.esm.js")},"33a1":function(e,t,n){"use strict";n.r(t);var r=n("90c0"),i=n("bdb3");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var a=n("2877"),u=Object(a["a"])(i["default"],r["a"],r["b"],!1,null,null,null);t["default"]=u.exports},3452:function(e,t,n){e.exports=n("0fbf")("./node_modules/crypto-js/index.js")},3654:function(e,t,n){"use strict";var r=n("8afd");function i(e,t){var n;const i=r.shallowRef();return r.watchEffect(()=>{i.value=e()},{...t,flush:null!=(n=null==t?void 0:t.flush)?n:"sync"}),r.readonly(i)}function o(e,t){let n,i,o=void 0;const a=r.ref(!0),u=()=>{a.value=!0,i()};r.watch(e,u,{flush:"sync"});const c="function"===typeof t?t:t.get,s="function"===typeof t?void 0:t.set,l=r.customRef((e,t)=>(n=e,i=t,{get(){return a.value&&(o=c(),a.value=!1),n(),o},set(e){null==s||s(e)}}));return Object.isExtensible(l)&&(l.trigger=u),l}function a(e){return!!r.getCurrentScope()&&(r.onScopeDispose(e),!0)}function u(){const e=new Set,t=t=>{e.delete(t)},n=n=>{e.add(n);const r=()=>t(n);return a(r),{off:r}},r=(...t)=>Promise.all(Array.from(e).map(e=>e(...t)));return{on:n,off:t,trigger:r}}function c(e){let t,n=!1;const i=r.effectScope(!0);return(...r)=>(n||(t=i.run(()=>e(...r)),n=!0),t)}const s=new WeakMap,l=(e,t)=>{var n;const i=null==(n=r.getCurrentInstance())?void 0:n.proxy;if(null==i)throw new Error("provideLocal must be called in setup");s.has(i)||s.set(i,Object.create(null));const o=s.get(i);o[e]=t,r.provide(e,t)},f=(...e)=>{var t;const n=e[0],i=null==(t=r.getCurrentInstance())?void 0:t.proxy;if(null==i)throw new Error("injectLocal must be called in setup");return s.has(i)&&n in s.get(i)?s.get(i)[n]:r.inject(...e)};function h(e,t){const n=(null==t?void 0:t.injectionKey)||Symbol(e.name||"InjectionState"),r=null==t?void 0:t.defaultValue,i=(...t)=>{const r=e(...t);return l(n,r),r},o=()=>f(n,r);return[i,o]}function d(e){let t,n,i=0;const o=()=>{i-=1,n&&i<=0&&(n.stop(),t=void 0,n=void 0)};return(...u)=>(i+=1,t||(n=r.effectScope(!0),t=n.run(()=>e(...u))),a(o),t)}function p(e,t,{enumerable:n=!1,unwrap:i=!0}={}){if(r.isVue3||r.version.startsWith("2.7.")){for(const[o,a]of Object.entries(t))"value"!==o&&(r.isRef(a)&&i?Object.defineProperty(e,o,{get(){return a.value},set(e){a.value=e},enumerable:n}):Object.defineProperty(e,o,{value:a,enumerable:n}));return e}}function m(e,t){return null==t?r.unref(e):r.unref(e)[t]}function v(e){return null!=r.unref(e)}function g(e,t){if("undefined"!==typeof Symbol){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}return Object.assign([...t],e)}function y(e){return"function"===typeof e?e():r.unref(e)}const b=y;function w(e,t){const n=!1===(null==t?void 0:t.computedGetter)?r.unref:y;return function(...t){return r.computed(()=>e.apply(this,t.map(e=>n(e))))}}function _(e,t={}){let n,r=[];if(Array.isArray(t))r=t;else{n=t;const{includeOwnProperties:i=!0}=t;r.push(...Object.keys(e)),i&&r.push(...Object.getOwnPropertyNames(e))}return Object.fromEntries(r.map(t=>{const r=e[t];return[t,"function"===typeof r?w(r.bind(e),n):r]}))}function x(e){if(!r.isRef(e))return r.reactive(e);const t=new Proxy({},{get(t,n,i){return r.unref(Reflect.get(e.value,n,i))},set(t,n,i){return r.isRef(e.value[n])&&!r.isRef(i)?e.value[n].value=i:e.value[n]=i,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return r.reactive(t)}function O(e){return x(r.computed(e))}function j(e,...t){const n=t.flat(),i=n[0];return O(()=>"function"===typeof i?Object.fromEntries(Object.entries(r.toRefs(e)).filter(([e,t])=>!i(y(t),e))):Object.fromEntries(Object.entries(r.toRefs(e)).filter(e=>!n.includes(e[0]))))}const k="undefined"!==typeof window&&"undefined"!==typeof document,S="undefined"!==typeof WorkerGlobalScope&&globalThis instanceof WorkerGlobalScope,C=e=>"undefined"!==typeof e,M=e=>null!=e,E=(e,...t)=>{e||console.warn(...t)},T=Object.prototype.toString,P=e=>"[object Object]"===T.call(e),L=()=>Date.now(),A=()=>+Date.now(),I=(e,t,n)=>Math.min(n,Math.max(t,e)),D=()=>{},F=(e,t)=>(e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e),R=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),z=N();function N(){var e,t;return k&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=null==window?void 0:window.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent))}function $(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}const B=e=>e();function H(e,t={}){let n,r,i=D;const o=e=>{clearTimeout(e),i(),i=D},a=a=>{const u=y(e),c=y(t.maxWait);return n&&o(n),u<=0||void 0!==c&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((e,s)=>{i=t.rejectOnCancel?s:e,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,e(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,e(a())},u)})};return a}function U(...e){let t,n,i,o,a,u,c=0,s=!0,l=D;r.isRef(e[0])||"object"!==typeof e[0]?[i,o=!0,a=!0,u=!1]=e:({delay:i,trailing:o=!0,leading:a=!0,rejectOnCancel:u=!1}=e[0]);const f=()=>{t&&(clearTimeout(t),t=void 0,l(),l=D)},h=e=>{const r=y(i),h=Date.now()-c,d=()=>n=e();return f(),r<=0?(c=Date.now(),d()):(h>r&&(a||!s)?(c=Date.now(),d()):o&&(n=new Promise((e,n)=>{l=u?n:e,t=setTimeout(()=>{c=Date.now(),s=!0,e(d()),f()},Math.max(0,r-h))})),a||t||(t=setTimeout(()=>s=!0,r)),s=!1,n)};return h}function q(e=B){const t=r.ref(!0);function n(){t.value=!1}function i(){t.value=!0}const o=(...n)=>{t.value&&e(...n)};return{isActive:r.readonly(t),pause:n,resume:i,eventFilter:o}}const W={mounted:r.isVue3?"mounted":"inserted",updated:r.isVue3?"updated":"componentUpdated",unmounted:r.isVue3?"unmounted":"unbind"};function G(e){const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}}const V=/\B([A-Z])/g,Y=G(e=>e.replace(V,"-$1").toLowerCase()),K=/-(\w)/g,X=G(e=>e.replace(K,(e,t)=>t?t.toUpperCase():""));function J(e,t=!1,n="Timeout"){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function Z(e){return e}function Q(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const e=t;t=void 0,e&&await e},n}function ee(e){return e()}function te(e,...t){return t.some(t=>t in e)}function ne(e,t){var n;if("number"===typeof e)return e+t;const r=(null==(n=e.match(/^-?\d+\.?\d*/))?void 0:n[0])||"",i=e.slice(r.length),o=Number.parseFloat(r)+t;return Number.isNaN(o)?e:o+i}function re(e,t,n=!1){return t.reduce((t,r)=>(r in e&&(n&&void 0===e[r]||(t[r]=e[r])),t),{})}function ie(e,t,n=!1){return Object.fromEntries(Object.entries(e).filter(([e,r])=>(!n||void 0!==r)&&!t.includes(e)))}function oe(e){return Object.entries(e)}function ae(e){return e||r.getCurrentInstance()}function ue(...e){if(1!==e.length)return r.toRef(...e);const t=e[0];return"function"===typeof t?r.readonly(r.customRef(()=>({get:t,set:D}))):r.ref(t)}const ce=ue;function se(e,...t){const n=t.flat(),i=n[0];return O(()=>"function"===typeof i?Object.fromEntries(Object.entries(r.toRefs(e)).filter(([e,t])=>i(y(t),e))):Object.fromEntries(n.map(t=>[t,ue(e,t)])))}function le(e,t=1e4){return r.customRef((n,r)=>{let i,o=y(e);const u=()=>setTimeout(()=>{o=y(e),r()},y(t));return a(()=>{clearTimeout(i)}),{get(){return n(),o},set(e){o=e,r(),clearTimeout(i),i=u()}}})}function fe(e,t=200,n={}){return $(H(t,n),e)}function he(e,t=200,n={}){const i=r.ref(e.value),o=fe(()=>{i.value=e.value},t,n);return r.watch(e,()=>o()),i}function de(e,t){return r.computed({get(){var n;return null!=(n=e.value)?n:t},set(t){e.value=t}})}function pe(e,t=200,n=!1,r=!0,i=!1){return $(U(t,n,r,i),e)}function me(e,t=200,n=!0,i=!0){if(t<=0)return e;const o=r.ref(e.value),a=pe(()=>{o.value=e.value},t,n,i);return r.watch(e,()=>a()),o}function ve(e,t={}){let n,i,o=e;const a=r.customRef((e,t)=>(n=e,i=t,{get(){return u()},set(e){c(e)}}));function u(e=!0){return e&&n(),o}function c(e,n=!0){var r,a;if(e===o)return;const u=o;!1!==(null==(r=t.onBeforeChange)?void 0:r.call(t,e,u))&&(o=e,null==(a=t.onChanged)||a.call(t,e,u),n&&i())}const s=()=>u(!1),l=e=>c(e,!1),f=()=>u(!1),h=e=>c(e,!1);return p(a,{get:u,set:c,untrackedGet:s,silentSet:l,peek:f,lay:h},{enumerable:!0})}const ge=ve;function ye(...e){if(2===e.length){const[t,n]=e;t.value=n}if(3===e.length)if(r.isVue2)r.set(...e);else{const[t,n,r]=e;t[n]=r}}function be(e,t,n={}){const{eventFilter:i=B,...o}=n;return r.watch(e,$(i,t),o)}function we(e,t,n={}){const{eventFilter:r,...i}=n,{eventFilter:o,pause:a,resume:u,isActive:c}=q(r),s=be(e,t,{...i,eventFilter:o});return{stop:s,pause:a,resume:u,isActive:c}}function _e(e,t,...[n]){const{flush:r="sync",deep:i=!1,immediate:o=!0,direction:a="both",transform:u={}}=n||{},c=[],s="ltr"in u&&u.ltr||(e=>e),l="rtl"in u&&u.rtl||(e=>e);"both"!==a&&"ltr"!==a||c.push(we(e,e=>{c.forEach(e=>e.pause()),t.value=s(e),c.forEach(e=>e.resume())},{flush:r,deep:i,immediate:o})),"both"!==a&&"rtl"!==a||c.push(we(t,t=>{c.forEach(e=>e.pause()),e.value=l(t),c.forEach(e=>e.resume())},{flush:r,deep:i,immediate:o}));const f=()=>{c.forEach(e=>e.stop())};return f}function xe(e,t,n={}){const{flush:i="sync",deep:o=!1,immediate:a=!0}=n;return Array.isArray(t)||(t=[t]),r.watch(e,e=>t.forEach(t=>t.value=e),{flush:i,deep:o,immediate:a})}function Oe(e,t={}){if(!r.isRef(e))return r.toRefs(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const i in e.value)n[i]=r.customRef(()=>({get(){return e.value[i]},set(n){var r;const o=null==(r=y(t.replaceRef))||r;if(o)if(Array.isArray(e.value)){const t=[...e.value];t[i]=n,e.value=t}else{const t={...e.value,[i]:n};Object.setPrototypeOf(t,Object.getPrototypeOf(e.value)),e.value=t}else e.value[i]=n}}));return n}function je(e,t=!0,n){const i=ae(n);i?r.onBeforeMount(e,n):t?e():r.nextTick(e)}function ke(e,t){const n=ae(t);n&&r.onBeforeUnmount(e,t)}function Se(e,t=!0,n){const i=ae();i?r.onMounted(e,n):t?e():r.nextTick(e)}function Ce(e,t){const n=ae(t);n&&r.onUnmounted(e,t)}function Me(e,t=!1){function n(n,{flush:i="sync",deep:o=!1,timeout:a,throwOnTimeout:u}={}){let c=null;const s=new Promise(a=>{c=r.watch(e,e=>{n(e)!==t&&(null==c||c(),a(e))},{flush:i,deep:o,immediate:!0})}),l=[s];return null!=a&&l.push(J(a,u).then(()=>y(e)).finally(()=>null==c?void 0:c())),Promise.race(l)}function i(i,o){if(!r.isRef(i))return n(e=>e===i,o);const{flush:a="sync",deep:u=!1,timeout:c,throwOnTimeout:s}=null!=o?o:{};let l=null;const f=new Promise(n=>{l=r.watch([e,i],([e,r])=>{t!==(e===r)&&(null==l||l(),n(e))},{flush:a,deep:u,immediate:!0})}),h=[f];return null!=c&&h.push(J(c,s).then(()=>y(e)).finally(()=>(null==l||l(),y(e)))),Promise.race(h)}function o(e){return n(e=>Boolean(e),e)}function a(e){return i(null,e)}function u(e){return i(void 0,e)}function c(e){return n(Number.isNaN,e)}function s(e,t){return n(t=>{const n=Array.from(t);return n.includes(e)||n.includes(y(e))},t)}function l(e){return f(1,e)}function f(e=1,t){let r=-1;return n(()=>(r+=1,r>=e),t)}if(Array.isArray(y(e))){const r={toMatch:n,toContains:s,changed:l,changedTimes:f,get not(){return Me(e,!t)}};return r}{const r={toMatch:n,toBe:i,toBeTruthy:o,toBeNull:a,toBeNaN:c,toBeUndefined:u,changed:l,changedTimes:f,get not(){return Me(e,!t)}};return r}}function Ee(e){return Me(e)}function Te(e,t){return e===t}function Pe(...e){var t;const n=e[0],i=e[1];let o=null!=(t=e[2])?t:Te;if("string"===typeof o){const e=o;o=(t,n)=>t[e]===n[e]}return r.computed(()=>y(n).filter(e=>-1===y(i).findIndex(t=>o(e,t))))}function Le(e,t){return r.computed(()=>y(e).every((e,n,r)=>t(y(e),n,r)))}function Ae(e,t){return r.computed(()=>y(e).map(e=>y(e)).filter(t))}function Ie(e,t){return r.computed(()=>y(y(e).find((e,n,r)=>t(y(e),n,r))))}function De(e,t){return r.computed(()=>y(e).findIndex((e,n,r)=>t(y(e),n,r)))}function Fe(e,t){let n=e.length;while(n-- >0)if(t(e[n],n,e))return e[n]}function Re(e,t){return r.computed(()=>y(Array.prototype.findLast?y(e).findLast((e,n,r)=>t(y(e),n,r)):Fe(y(e),(e,n,r)=>t(y(e),n,r))))}function ze(e){return P(e)&&te(e,"formIndex","comparator")}function Ne(...e){var t;const n=e[0],i=e[1];let o=e[2],a=0;if(ze(o)&&(a=null!=(t=o.fromIndex)?t:0,o=o.comparator),"string"===typeof o){const e=o;o=(t,n)=>t[e]===y(n)}return o=null!=o?o:(e,t)=>e===y(t),r.computed(()=>y(n).slice(a).some((e,t,n)=>o(y(e),y(i),t,y(n))))}function $e(e,t){return r.computed(()=>y(e).map(e=>y(e)).join(y(t)))}function Be(e,t){return r.computed(()=>y(e).map(e=>y(e)).map(t))}function He(e,t,...n){const i=(e,n,r)=>t(y(e),y(n),r);return r.computed(()=>{const t=y(e);return n.length?t.reduce(i,y(n[0])):t.reduce(i)})}function Ue(e,t){return r.computed(()=>y(e).some((e,n,r)=>t(y(e),n,r)))}function qe(e){return Array.from(new Set(e))}function We(e,t){return e.reduce((n,r)=>(n.some(n=>t(r,n,e))||n.push(r),n),[])}function Ge(e,t){return r.computed(()=>{const n=y(e).map(e=>y(e));return t?We(n,t):qe(n)})}function Ve(e=0,t={}){let n=r.unref(e);const i=r.ref(e),{max:o=Number.POSITIVE_INFINITY,min:a=Number.NEGATIVE_INFINITY}=t,u=(e=1)=>i.value=Math.max(Math.min(o,i.value+e),a),c=(e=1)=>i.value=Math.min(Math.max(a,i.value-e),o),s=()=>i.value,l=e=>i.value=Math.max(a,Math.min(o,e)),f=(e=n)=>(n=e,l(e));return{count:i,inc:u,dec:c,get:s,set:l,reset:f}}const Ye=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Ke=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Xe(e,t,n,r){let i=e<12?"AM":"PM";return r&&(i=i.split("").reduce((e,t)=>e+(t+"."),"")),n?i.toLowerCase():i}function Je(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function Ze(e,t,n={}){var r;const i=e.getFullYear(),o=e.getMonth(),a=e.getDate(),u=e.getHours(),c=e.getMinutes(),s=e.getSeconds(),l=e.getMilliseconds(),f=e.getDay(),h=null!=(r=n.customMeridiem)?r:Xe,d={Yo:()=>Je(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>o+1,Mo:()=>Je(o+1),MM:()=>(""+(o+1)).padStart(2,"0"),MMM:()=>e.toLocaleDateString(n.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(n.locales,{month:"long"}),D:()=>String(a),Do:()=>Je(a),DD:()=>(""+a).padStart(2,"0"),H:()=>String(u),Ho:()=>Je(u),HH:()=>(""+u).padStart(2,"0"),h:()=>(""+(u%12||12)).padStart(1,"0"),ho:()=>Je(u%12||12),hh:()=>(""+(u%12||12)).padStart(2,"0"),m:()=>String(c),mo:()=>Je(c),mm:()=>(""+c).padStart(2,"0"),s:()=>String(s),so:()=>Je(s),ss:()=>(""+s).padStart(2,"0"),SSS:()=>(""+l).padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(n.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(n.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(n.locales,{weekday:"long"}),A:()=>h(u,c),AA:()=>h(u,c,!1,!0),a:()=>h(u,c,!0),aa:()=>h(u,c,!0,!0)};return t.replace(Ke,(e,t)=>{var n,r;return null!=(r=null!=t?t:null==(n=d[e])?void 0:n.call(d))?r:e})}function Qe(e){if(null===e)return new Date(Number.NaN);if(void 0===e)return new Date;if(e instanceof Date)return new Date(e);if("string"===typeof e&&!/Z$/i.test(e)){const t=e.match(Ye);if(t){const e=t[2]-1||0,n=(t[7]||"0").substring(0,3);return new Date(t[1],e,t[3]||1,t[4]||0,t[5]||0,t[6]||0,n)}}return new Date(e)}function et(e,t="HH:mm:ss",n={}){return r.computed(()=>Ze(Qe(y(e)),y(t),n))}function tt(e,t=1e3,n={}){const{immediate:i=!0,immediateCallback:o=!1}=n;let u=null;const c=r.ref(!1);function s(){u&&(clearInterval(u),u=null)}function l(){c.value=!1,s()}function f(){const n=y(t);n<=0||(c.value=!0,o&&e(),s(),u=setInterval(e,n))}if(i&&k&&f(),r.isRef(t)||"function"===typeof t){const e=r.watch(t,()=>{c.value&&k&&f()});a(e)}return a(l),{isActive:c,pause:l,resume:f}}function nt(e=1e3,t={}){const{controls:n=!1,immediate:i=!0,callback:o}=t,a=r.ref(0),u=()=>a.value+=1,c=()=>{a.value=0},s=tt(o?()=>{u(),o(a.value)}:u,e,{immediate:i});return n?{counter:a,reset:c,...s}:a}function rt(e,t={}){var n;const i=r.ref(null!=(n=t.initialValue)?n:null);return r.watch(e,()=>i.value=A(),t),i}function it(e,t,n={}){const{immediate:i=!0}=n,o=r.ref(!1);let u=null;function c(){u&&(clearTimeout(u),u=null)}function s(){o.value=!1,c()}function l(...n){c(),o.value=!0,u=setTimeout(()=>{o.value=!1,u=null,e(...n)},y(t))}return i&&(o.value=!0,k&&l()),a(s),{isPending:r.readonly(o),start:l,stop:s}}function ot(e=1e3,t={}){const{controls:n=!1,callback:i}=t,o=it(null!=i?i:D,e,t),a=r.computed(()=>!o.isPending.value);return n?{ready:a,...o}:a}function at(e,t={}){const{method:n="parseFloat",radix:i,nanToZero:o}=t;return r.computed(()=>{let t=y(e);return"string"===typeof t&&(t=Number[n](t,i)),o&&Number.isNaN(t)&&(t=0),t})}function ut(e){return r.computed(()=>""+y(e))}function ct(e=!1,t={}){const{truthyValue:n=!0,falsyValue:i=!1}=t,o=r.isRef(e),a=r.ref(e);function u(e){if(arguments.length)return a.value=e,a.value;{const e=y(n);return a.value=a.value===e?y(i):e,a.value}}return o?u:[a,u]}function st(e,t,n){let i=(null==n?void 0:n.immediate)?[]:[...e instanceof Function?e():Array.isArray(e)?e:y(e)];return r.watch(e,(e,n,r)=>{const o=Array.from({length:i.length}),a=[];for(const t of e){let e=!1;for(let n=0;n<i.length;n++)if(!o[n]&&t===i[n]){o[n]=!0,e=!0;break}e||a.push(t)}const u=i.filter((e,t)=>!o[t]);t(e,i,a,u,r),i=[...e]},n)}function lt(e,t,n){const{count:i,...o}=n,a=r.ref(0),u=be(e,(...e)=>{a.value+=1,a.value>=y(i)&&r.nextTick(()=>u()),t(...e)},o);return{count:a,stop:u}}function ft(e,t,n={}){const{debounce:r=0,maxWait:i,...o}=n;return be(e,t,{...o,eventFilter:H(r,{maxWait:i})})}function ht(e,t,n){return r.watch(e,t,{...n,deep:!0})}function dt(e,t,n={}){const{eventFilter:i=B,...o}=n,a=$(i,t);let u,c,s;if("sync"===o.flush){const t=r.ref(!1);c=()=>{},u=e=>{t.value=!0,e(),t.value=!1},s=r.watch(e,(...e)=>{t.value||a(...e)},o)}else{const t=[],n=r.ref(0),i=r.ref(0);c=()=>{n.value=i.value},t.push(r.watch(e,()=>{i.value++},{...o,flush:"sync"})),u=e=>{const t=i.value;e(),n.value+=i.value-t},t.push(r.watch(e,(...e)=>{const t=n.value>0&&n.value===i.value;n.value=0,i.value=0,t||a(...e)},o)),s=()=>{t.forEach(e=>e())}}return{stop:s,ignoreUpdates:u,ignorePrevAsyncUpdates:c}}function pt(e,t,n){return r.watch(e,t,{...n,immediate:!0})}function mt(e,t,n){const i=r.watch(e,(...e)=>(r.nextTick(()=>i()),t(...e)),n);return i}function vt(e,t,n={}){const{throttle:r=0,trailing:i=!0,leading:o=!0,...a}=n;return be(e,t,{...a,eventFilter:U(r,i,o)})}function gt(e,t,n={}){let r;function i(){if(!r)return;const e=r;r=void 0,e()}function o(e){r=e}const a=(e,n)=>(i(),t(e,n,o)),u=dt(e,a,n),{ignoreUpdates:c}=u,s=()=>{let t;return c(()=>{t=a(yt(e),bt(e))}),t};return{...u,trigger:s}}function yt(e){return r.isReactive(e)?e:Array.isArray(e)?e.map(e=>y(e)):y(e)}function bt(e){return Array.isArray(e)?e.map(()=>{}):void 0}function wt(e,t,n){const i=r.watch(e,(e,o,a)=>{e&&((null==n?void 0:n.once)&&r.nextTick(()=>i()),t(e,o,a))},{...n,once:!1});return i}t.assert=E,t.autoResetRef=le,t.bypassFilter=B,t.camelize=X,t.clamp=I,t.computedEager=i,t.computedWithControl=o,t.containsProp=te,t.controlledComputed=o,t.controlledRef=ge,t.createEventHook=u,t.createFilterWrapper=$,t.createGlobalState=c,t.createInjectionState=h,t.createReactiveFn=w,t.createSharedComposable=d,t.createSingletonPromise=Q,t.debounceFilter=H,t.debouncedRef=he,t.debouncedWatch=ft,t.directiveHooks=W,t.eagerComputed=i,t.extendRef=p,t.formatDate=Ze,t.get=m,t.getLifeCycleTarget=ae,t.hasOwn=R,t.hyphenate=Y,t.identity=Z,t.ignorableWatch=dt,t.increaseWithUnit=ne,t.injectLocal=f,t.invoke=ee,t.isClient=k,t.isDef=C,t.isDefined=v,t.isIOS=z,t.isObject=P,t.isWorker=S,t.makeDestructurable=g,t.noop=D,t.normalizeDate=Qe,t.notNullish=M,t.now=L,t.objectEntries=oe,t.objectOmit=ie,t.objectPick=re,t.pausableFilter=q,t.pausableWatch=we,t.promiseTimeout=J,t.provideLocal=l,t.rand=F,t.reactify=w,t.reactifyObject=_,t.reactiveComputed=O,t.reactiveOmit=j,t.reactivePick=se,t.refAutoReset=le,t.refDebounced=he,t.refDefault=de,t.refThrottled=me,t.refWithControl=ve,t.resolveRef=ce,t.resolveUnref=b,t.set=ye,t.syncRef=_e,t.syncRefs=xe,t.throttleFilter=U,t.throttledRef=me,t.throttledWatch=vt,t.timestamp=A,t.toReactive=x,t.toRef=ue,t.toRefs=Oe,t.toValue=y,t.tryOnBeforeMount=je,t.tryOnBeforeUnmount=ke,t.tryOnMounted=Se,t.tryOnScopeDispose=a,t.tryOnUnmounted=Ce,t.until=Ee,t.useArrayDifference=Pe,t.useArrayEvery=Le,t.useArrayFilter=Ae,t.useArrayFind=Ie,t.useArrayFindIndex=De,t.useArrayFindLast=Re,t.useArrayIncludes=Ne,t.useArrayJoin=$e,t.useArrayMap=Be,t.useArrayReduce=He,t.useArraySome=Ue,t.useArrayUnique=Ge,t.useCounter=Ve,t.useDateFormat=et,t.useDebounce=he,t.useDebounceFn=fe,t.useInterval=nt,t.useIntervalFn=tt,t.useLastChanged=rt,t.useThrottle=me,t.useThrottleFn=pe,t.useTimeout=ot,t.useTimeoutFn=it,t.useToNumber=at,t.useToString=ut,t.useToggle=ct,t.watchArray=st,t.watchAtMost=lt,t.watchDebounced=ft,t.watchDeep=ht,t.watchIgnorable=dt,t.watchImmediate=pt,t.watchOnce=mt,t.watchPausable=we,t.watchThrottled=vt,t.watchTriggerable=gt,t.watchWithFilter=be,t.whenever=wt},"40e0":function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return o}));var i=!1;function o(){return{setMenuMatchedByPathParser:function(e){r=e},getMenuMatchedByPathParser:function(){return r},ignoreMenuAuthCheck:function(){i=!0},isIgnoreMenuAuthCheck:function(){return i}}}},4294:function(e,t,n){"use strict";n.r(t),n.d(t,"getHeaderName",(function(){return je["c"]})),n.d(t,"getMenuSider",(function(){return je["d"]})),n.d(t,"getSiderSubmenu",(function(){return je["e"]})),n.d(t,"getAllSiderMenu",(function(){return je["b"]})),n.d(t,"flattenSiderMenu",(function(){return je["a"]})),n.d(t,"includeArray",(function(){return je["f"]})),n.d(t,"random",(function(){return je["g"]})),n.d(t,"util",(function(){return S["a"]})),n.d(t,"requestAnimation",(function(){return S["b"]})),n.d(t,"db",(function(){return Pn["a"]})),n.d(t,"cookies",(function(){return Ln["a"]})),n.d(t,"log",(function(){return An["a"]})),n.d(t,"MenuService",(function(){return k["a"]})),n.d(t,"RouteHelper",(function(){return x["a"]})),n.d(t,"LayoutHelper",(function(){return bn["a"]})),n.d(t,"createModal",(function(){return In["a"]})),n.d(t,"openModal",(function(){return In["b"]})),n.d(t,"openTargetsMap",(function(){return In["c"]})),n.d(t,"subAppLayout",(function(){return $n})),n.d(t,"useMenuMatcher",(function(){return Bn["a"]})),n.d(t,"setGlobalLinkCss",(function(){return Tn})),n.d(t,"setCustomTheme",(function(){return kn})),n.d(t,"clearCustomTheme",(function(){return Mn})),n.d(t,"httpCacheService",(function(){return tr})),n.d(t,"loadRemoteI18n",(function(){return xt["a"]}));var r=n("70da"),i=n("dae4"),o=n.n(i),a=n("0cc9"),u=function(){var e=this,t=e._self._c;return t("div",{staticClass:"i-layout-menu-head",class:{"i-layout-menu-head-mobile":e.isMobile}},[e.isMobile||e.isMenuLimit?t("div",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min i-layout-header-trigger-in i-layout-header-trigger-no-height"},[t("Dropdown",{class:{"i-layout-menu-head-mobile-drop":e.isMobile},attrs:{trigger:"click"}},[t("Icon",{attrs:{type:"ios-apps"}}),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e._l(e.filterHeader,(function(n){return[n.hidden?e._e():t("i-link",{key:n.path,nativeOn:{click:function(t){return e.handleClick(n,"header")}}},[t("DropdownItem",[t("i-menu-head-title",{attrs:{menu:n}})],1)],1)]}))],2)],1)],1):t("Menu",{ref:"menu",attrs:{theme:e.headerTheme,mode:"horizontal","active-name":e.headerName}},[e._l(e.filterHeader,(function(e){return[e.children?t("ISubmenuHead",{attrs:{menu:e}}):t("IMenuHeadItem",{attrs:{menu:e}})]}))],2)],1)},c=[],s=n("2f62"),l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"i-layout-menu-head-title"},[(e.menu.icon||e.menu.custom||e.menu.img)&&!e.hideIcon?t("span",{staticClass:"i-layout-menu-head-title-icon"},[e.menu.icon?t("Icon",{attrs:{type:e.menu.icon}}):e.menu.custom?t("Icon",{attrs:{custom:e.menu.custom}}):e.menu.img?t("img",{attrs:{src:e.menu.img}}):e._e()],1):e._e(),t("span",{staticClass:"i-layout-menu-head-title-text"},[e._v(e._s(e.tTitle(e.menu.title)))])])},f=[],h={methods:{tTitle:function(e){return e&&0===e.indexOf("$t:")?this.$t(e.split("$t:")[1]):e}}},d={name:"IMenuHeadTitle",mixins:[h],props:{menu:{type:Object,default:function(){return{}}},hideIcon:{type:Boolean,default:!1}}},p=d,m=n("2877"),v=Object(m["a"])(p,l,f,!1,null,null,null),g=v.exports,y=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("SubmenuExtend",{attrs:{name:e.menu.name,transfer:!0}},[t("template",{slot:"title"},[t("iMenuHeadTitle",{attrs:{menu:e.menu}})],1),e._l(e.menu.children,(function(e,n){return[t("IMenuHeadItem",{key:n,attrs:{menu:e}})]}))],2)},b=[],w=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("MenuItem",{attrs:{name:e.menu.name},nativeOn:{click:function(t){return e.itemClick(e.menu)}}},[t("i-menu-head-title",{attrs:{menu:e.menu}})],1)},_=[],x=n("e2da"),O=n("2ef0"),j=n.n(O),k=n("ae62"),S=n("6bc3"),C=void 0,M=r["utils"].assist.findComponentUpward;function E(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.path)return n;if(Array.isArray(n.children)){var r=E(n.children);if(r)return r}}return null}var T={inject:{navigator:{default:function(){return C}}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["menuSiderReload","menuHeaderReload"])),methods:{handleClick:function(e,t){if(void 0===t&&(t="sider"),e.path||e.name){Object(O["isString"])(e)&&(e=k["a"].buildMenu({id:"_blank",path:e}));var n=this.$route.fullPath,r=x["a"].isUrlEqual(n,e.path);e.path||(e.path=this.getHeaderSidePath(e.name));var i={type:t,menu:e,duplicated:r,to:e.path,from:n},o=S["a"].event(i),a=this.navigator?this.navigator:this;a.$emit("click",o),!1!==o.returnValue&&(r?this.handleReload(i):(k["a"].open(e),"_blank"!==e.id&&this.$store.commit("admin/menu/setActivePath",e.id)))}},handleReload:function(e){if("sider"===e.type&&this.menuSiderReload||"header"===e.type&&this.menuHeaderReload){var t=S["a"].event(e),n=this.navigator?this.navigator:this;if(n.$emit("reload",t),!1===t.returnValue)return;var r=M(this,"BasicLayout");r&&r.handleReload()}},getHeaderSidePath:function(e){var t=k["a"].filterSiderMenus(e);if(null!=t&&t.length){var n=E(t);return n.path}return""}}},P={name:"IMenuHeadItem",components:{iMenuHeadTitle:g},mixins:[T],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1}},methods:{itemClick:function(e){this.handleClick(e,"header")}}},L=P,A=Object(m["a"])(L,w,_,!1,null,null,null),I=A.exports,D=function(){var e=this,t=e._self._c;return t("li",{class:e.classes,on:{mouseenter:e.handleMouseenter,mouseleave:e.handleMouseleave}},[t("div",{ref:"reference",class:[e.prefixCls+"-submenu-title"],style:e.titleStyle,on:{click:function(t){return t.stopPropagation(),e.handleClick.apply(null,arguments)}}},[e._t("title"),t("Icon",{class:[e.prefixCls+"-submenu-title-icon"],attrs:{type:e.arrowType,custom:e.customArrowType,size:e.arrowSize}})],2),"vertical"===e.mode?t("collapse-transition",[t("ul",{directives:[{name:"show",rawName:"v-show",value:e.opened,expression:"opened"}],class:[e.prefixCls]},[e._t("default")],2)]):t("transition",{attrs:{name:"slide-up"}},[t("Drop",{directives:[{name:"show",rawName:"v-show",value:e.opened,expression:"opened"},{name:"transfer-dom",rawName:"v-transfer-dom"}],ref:"drop",class:e.menuDropdownCls,attrs:{placement:e.placement,"data-transfer":e.transfer,transfer:e.transfer},nativeOn:{mouseenter:function(t){return e.handleMouseenter.apply(null,arguments)},mouseleave:function(t){return e.handleMouseleave.apply(null,arguments)}}},[t("ul",{class:[e.prefixCls+"-drop-list"]},[e._t("default")],2)])],1)],1)},F=[],R=r["directives"].TransferDom,z={name:"Submenu",directives:{TransferDom:R},extends:r["Submenu"],props:{placement:{type:String,default:"bottom"},transfer:{type:Boolean}},computed:{menuDropdownCls:function(){var e;return["iv-menu-head-dropdown",(e={},e[this.prefixCls+"-dropdown-active"]=this.opened,e)]}},methods:{}},N=z,$=Object(m["a"])(N,D,F,!1,null,null,null),B=$.exports,H={name:"ISubmenuHead",components:{IMenuHeadItem:I,iMenuHeadTitle:g,SubmenuExtend:B},props:{menu:{type:Object,default:function(){return{}}}}},U=H,q=Object(m["a"])(U,y,b,!1,null,null,null),W=q.exports,G=r["utils"].assist,V=G.getStyle,Y={name:"IMenuHead",components:{iMenuHeadTitle:g,ISubmenuHead:W,IMenuHeadItem:I},mixins:[T],provide:function(){return{navigator:this}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["isMobile","headerTheme"]),Object(s["mapState"])("admin/menu",["headerName"]),Object(s["mapGetters"])("admin/menu",["filterHeader"])),data:function(){return{handleResize:function(){},isMenuLimit:!1,menuMaxWidth:0}},watch:{filterHeader:function(){this.handleGetMenuHeight()},isMobile:function(){this.handleGetMenuHeight()}},mounted:function(){this.handleGetMenuHeight()},beforeDestroy:function(){},methods:{handleGetMenuHeight:function(){var e=parseInt(V(this.$el,"width")),t=this.$refs.menu;if(t){var n=parseInt(V(this.$refs.menu.$el,"height"));n>64&&(this.isMenuLimit||(this.menuMaxWidth=e),this.isMenuLimit=!0)}else e>=this.menuMaxWidth&&(this.isMenuLimit=!1)}}},K=Y,X=Object(m["a"])(K,u,c,!1,null,null,null),J=X.exports,Z=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"i-layout-sider-logo",class:{"i-layout-sider-logo-dark":"dark"===e.siderTheme}},[e._t("logo",(function(){return[t("transition",{attrs:{name:"fade-quick"}},[t("i-link",{directives:[{name:"show",rawName:"v-show",value:!e.hideLogo,expression:"!hideLogo"}],attrs:{to:e.url}},[e.menuCollapse?t("img",{attrs:{src:e.ilogo.small}}):"light"===e.siderTheme?t("img",{attrs:{src:e.ilogo.normal}}):t("img",{attrs:{src:e.ilogo.dark}}),e.appTitle&&!e.menuCollapse?t("span",{staticClass:"i-layout-header-title",domProps:{innerHTML:e._s(e.appTitle)}}):e._e()])],1)]}))],2),e._t("pre"),t("Menu",{ref:"menu",staticClass:"i-layout-menu-side i-scrollbar-hide",class:{"i-layout-menu-side-collapse":e.menuCollapse},attrs:{theme:e.siderTheme,accordion:e.menuAccordion,"active-name":e.activePath,"open-names":e.openNames,width:"auto"}},[e._l(e.filterSider,(function(n,r){return[e.menuCollapse?[void 0!==n.children&&n.children.length?t("i-menu-side-collapse",{key:r,attrs:{menu:n,"top-level":""}}):t("Tooltip",{key:r,attrs:{content:e.tTitle(n.title),placement:"right"}},[t("i-menu-side-item",{attrs:{menu:n,"hide-title":""}})],1)]:[e.currentHeader.group?[t("MenuGroup",{key:r,attrs:{title:n.title}},[e._l(n.children,(function(e,n){return[void 0!==e.children&&e.children.length?t("i-menu-side-submenu",{key:n,attrs:{menu:e}}):t("i-menu-side-item",{key:n,attrs:{menu:e}})]}))],2)]:[void 0!==n.children&&n.children.length?t("i-menu-side-submenu",{key:r,attrs:{menu:n}}):t("i-menu-side-item",{key:r,attrs:{menu:n}})]]]}))],2),e._t("suffix")],2)},Q=[],ee=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("div",[t("MenuItem",{key:e.menu.id,attrs:{name:e.menu.id},nativeOn:{click:function(t){return e.handleClick(e.menu,"sider")}}},[t("i-menu-side-title",{attrs:{menu:e.menu,"hide-title":e.hideTitle}})],1)],1)},te=[],ne=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-menu-side-title"},[e.menu.icon||e.menu.custom||e.menu.img?t("span",{staticClass:"i-layout-menu-side-title-icon",class:{"i-layout-menu-side-title-icon-single":e.hideTitle}},[e.menu.icon?t("Icon",{attrs:{type:e.menu.icon}}):e.menu.custom?t("Icon",{attrs:{custom:e.menu.custom}}):e.menu.img?t("img",{attrs:{src:e.menu.img}}):e._e()],1):e._e(),e.hideTitle?e._e():t("span",{staticClass:"i-layout-menu-side-title-text",class:{"i-layout-menu-side-title-text-selected":e.selected}},[e._v(e._s(e.tTitle(e.menu.title)))])])},re=[],ie={name:"IMenuSideTitle",mixins:[h],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1},selected:{type:Boolean,default:!1}}},oe=ie,ae=Object(m["a"])(oe,ne,re,!1,null,null,null),ue=ae.exports,ce={name:"IMenuSideItem",components:{iMenuSideTitle:ue},mixins:[T],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1}}},se=ce,le=Object(m["a"])(se,ee,te,!1,null,null,null),fe=le.exports,he=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("Submenu",{key:e.menu.id,attrs:{name:e.menu.id}},[t("template",{slot:"title"},[t("i-menu-side-title",{attrs:{menu:e.menu}})],1),e._l(e.menu.children,(function(e,n){return[void 0!==e.children&&e.children.length?t("i-menu-side-submenu",{key:n,attrs:{menu:e}}):t("i-menu-side-item",{key:n,attrs:{menu:e}})]}))],2)},de=[],pe={name:"IMenuSideSubmenu",components:{iMenuSideItem:fe,iMenuSideTitle:ue},props:{menu:{type:Object,default:function(){return{}}}}},me=pe,ve=Object(m["a"])(me,he,de,!1,null,null,null),ge=ve.exports,ye=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("Dropdown",{class:e.dropdownClasses,attrs:{placement:"right-start",transfer:!1}},[e.topLevel?t("li",{class:e.menuItemClasses},[e.menu.hidden?e._e():t("i-menu-side-title",{attrs:{menu:e.menu,"hide-title":""}})],1):t("DropdownItem",[t("i-menu-side-title",{attrs:{menu:e.menu,selected:e.openNames.indexOf(e.menu.path)>=0}}),t("Icon",{staticClass:"i-layout-menu-side-arrow",attrs:{type:"ios-arrow-forward"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e.showCollapseMenuTitle?t("div",{staticClass:"i-layout-menu-side-collapse-title"},[t("i-menu-side-title",{attrs:{menu:e.menu}})],1):e._e(),e._l(e.menu.children,(function(n,r){return[void 0!==n.children&&n.children.length?t("i-menu-side-collapse",{key:r,attrs:{menu:n}}):[n.hidden?e._e():t("i-link",{key:r,nativeOn:{click:function(t){return e.handleClick(n,"sider")}}},[t("DropdownItem",{class:{"i-layout-menu-side-collapse-item-selected":n.id===e.activePath||n.path===e.activePath},attrs:{divided:n.divided}},[t("i-menu-side-title",{attrs:{menu:n}})],1)],1)]]}))],2)],1)},be=[],we={name:"IMenuSideCollapse",components:{iMenuSideTitle:ue},mixins:[T],props:{menu:{type:Object,default:function(){return{}}},topLevel:{type:Boolean,default:!1}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["siderTheme","showCollapseMenuTitle"]),Object(s["mapState"])("admin/menu",["activePath","openNames"]),{dropdownClasses:function(){return{"i-layout-menu-side-collapse-top":this.topLevel,"i-layout-menu-side-collapse-dark":"dark"===this.siderTheme}},menuItemClasses:function(){return["ivu-menu-item i-layout-menu-side-collapse-top-item",{"ivu-menu-item-selected ivu-menu-item-active":this.openNames.indexOf(this.menu.path)>=0||this.openNames.indexOf(this.menu.id)>=0}]}}),methods:{}},_e=we,xe=Object(m["a"])(_e,ye,be,!1,null,null,null),Oe=xe.exports,je=n("8ccc");function ke(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Se(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Se(e,t){if(e){if("string"==typeof e)return Ce(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Me={name:"IMenuSide",components:{iMenuSideItem:fe,iMenuSideSubmenu:ge,iMenuSideCollapse:Oe},mixins:[h],provide:function(){return{navigator:this}},props:{hideLogo:{type:Boolean,default:!1},logo:{type:Object,default:function(){return{}}},url:{type:String,default:"/"}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["siderTheme","menuAccordion","menuCollapse","appTitle"]),Object(s["mapState"])("admin/layout",{slogo:"logo"}),Object(s["mapState"])("admin/menu",["group"]),{ilogo:function(){return{small:this.logo&&this.logo.small?this.logo.small:this.slogo?this.slogo:i["Utils"].assetPath("images/logo-small.png"),normal:this.logo&&this.logo.normal?this.logo.normal:this.slogo?this.slogo:i["Utils"].assetPath("./images/logo.png"),dark:this.logo&&this.logo.dark?this.logo.dark:this.slogo?this.slogo:i["Utils"].assetPath("./images/logo-dark.png")}},activePath:function(){var e=this,t=this.$store.state.admin.menu.activePath;return this.$nextTick((function(){e.$refs.menu&&e.$refs.menu.updateActiveName()})),t},openNames:function(){var e=this,t=this.$store.state.admin.menu.openNames;return this.$nextTick((function(){e.$refs.menu&&e.$refs.menu.updateOpened()})),t}},Object(s["mapGetters"])("admin/menu",["filterSider","filterHeader","currentHeader"])),watch:{$route:{handler:function(){var e=this.checkAutoRedirect();e||this.handleUpdateMenuState()},immediate:!0},menuCollapse:function(){this.handleUpdateMenuState()}},methods:{handleUpdateMenuState:function(){var e=this;this.$nextTick((function(){e.$refs.menu&&(e.$refs.menu.updateActiveName(),e.menuAccordion&&e.$refs.menu.updateOpened())}))},onClick:function(e){var t=Object.assign({returnValue:null,preventDefault:function(){this.returnValue=!1}},e);return this.$emit("click",t),t.returnValue},onReload:function(e){var t=Object.assign({returnValue:null,preventDefault:function(){this.returnValue=!1}},e);return this.$emit("reload",t),t.returnValue},checkAutoRedirect:function(){if("/"!==this.$route.path)return!1;if(this.toDefaultIndex())return!0;var e=this.filterHeader;if(Object(O["isEmpty"])(e))return this.onDeny();var t,n=Object(je["d"])(k["a"].siderMenus(),e[0].name);return Object(O["isEmpty"])(n)?this.onDeny():(i["Utils"].visitTree(n,(function(e){if(!e.children)return t=e,!1})),t?(this.$router.push({path:t.path}),!0):this.onDeny())},toDefaultIndex:function(){var e,t=i["ConfigHelper"].getConfigVal("settings.app.index");if(Object(O["isEmpty"])(t)||"/"===t)return!1;if(Object(O["isString"])(t))e=t;else if(Object(O["isArray"])(t))for(var n,r=ke(t);!(n=r()).done;){var o=n.value;if(Object(O["isEmpty"])(o.auth)||i["PermissionService"].hasPerm(o.auth)){e=o.path;break}}return!Object(O["isEmpty"])(e)&&(this.$router.push({path:Object(O["trimStart"])(e,"#")}),!0)},onDeny:function(){return this.$router.push({path:"/403"}),!1}}},Ee=Me,Te=Object(m["a"])(Ee,Z,Q,!1,null,null,null),Pe=Te.exports,Le=function(){var e=this,t=e._self._c;return t("i-link",{staticClass:"i-layout-header-logo",class:{"i-layout-header-logo-stick":!e.isMobile},attrs:{to:e.to}},[e.isMobile?t("img",{attrs:{src:e.finalLogo.small}}):"light"===e.headerTheme?t("img",{attrs:{src:e.finalLogo.normal}}):t("img",{attrs:{src:e.finalLogo.dark}}),e.appTitle?t("span",{staticClass:"i-layout-header-title",domProps:{innerHTML:e._s(e.tTitle(e.appTitle))}}):e._e()])},Ae=[],Ie={small:"./images/logo-small.png",normal:"./images/logo.png",dark:"./images/logo-dark.png"},De={name:"IHeaderLogo",mixins:[h],props:{logo:{type:Object},to:{type:String,default:"/"}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["isMobile","headerTheme","appTitle"]),{finalLogo:function(){return Object.assign({},Ie,this.logo)}})},Fe=De,Re=Object(m["a"])(Fe,Le,Ae,!1,null,null,null),ze=Re.exports,Ne=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger",class:{"i-layout-header-trigger-min":e.showReload},on:{click:e.handleToggleMenuSide}},[t("Icon",{directives:[{name:"show",rawName:"v-show",value:e.menuCollapse||e.isMobile,expression:"menuCollapse || isMobile"}],attrs:{type:"bingo-menu-unfold"}}),t("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.menuCollapse&&!e.isMobile,expression:"!menuCollapse && !isMobile"}],attrs:{type:"bingo-menu-fold"}})],1)},$e=[],Be={name:"iHeaderCollapse",computed:Object.assign({},Object(s["mapState"])("admin/layout",["isMobile","isTablet","isDesktop","menuCollapse","showReload"]),Object(i["mapGetters"])("admin/page",["currentPage"])),methods:Object.assign({},Object(s["mapMutations"])("admin/layout",["updateMenuCollapse","setKeepMenuCollapse"]),{handleToggleMenuSide:function(e){this.isMobile?(this.updateMenuCollapse(!1),this.currentPage.pst.siderCollapse=!0,this.setKeepMenuCollapse(!0),this.$emit("on-toggle-drawer",e)):(this.updateMenuCollapse(!this.menuCollapse),this.currentPage.pst.siderCollapse=this.menuCollapse,this.setKeepMenuCollapse(this.menuCollapse))}}),watch:{$route:function(){this.isMobile&&this.handleToggleMenuSide(!1)},isTablet:function(e){!this.isMobile&&e&&this.updateMenuCollapse(!0)},isDesktop:function(e){!this.isMobile&&e&&this.updateMenuCollapse(!1)}}},He=Be,Ue=Object(m["a"])(He,Ne,$e,!1,null,null,null),qe=Ue.exports,We=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger",class:{"i-layout-header-trigger-min":e.showSiderCollapse},on:{click:e.handleReload}},[t("Icon",{attrs:{type:"md-refresh"}})],1)},Ge=[],Ve={name:"iHeaderReload",computed:Object.assign({},Object(s["mapState"])("admin/layout",["isMobile","showSiderCollapse"])),methods:{handleReload:function(){this.$emit("on-reload")}}},Ye=Ve,Ke=Object(m["a"])(Ye,We,Ge,!1,null,null,null),Xe=Ke.exports,Je=function(){var e=this,t=e._self._c;return e.isLimit?e._e():t("Breadcrumb",{ref:"breadcrumb",staticClass:"i-layout-breadcrumb"},[e.topItem?t("BreadcrumbItem",[t("i-menu-head-title",{attrs:{menu:e.topItem,"hide-icon":!e.showBreadcrumbIcon}})],1):e._e(),e._l(e.items,(function(n){return t("BreadcrumbItem",{key:n.path},[t("i-menu-head-title",{attrs:{menu:n,"hide-icon":!e.showBreadcrumbIcon}})],1)})),t("BreadcrumbItem",[t("i-menu-head-title",{attrs:{menu:e.siderMenuObject[e.activePath],"hide-icon":!e.showBreadcrumbIcon}})],1)],2)},Ze=[],Qe=r["utils"].on,et=r["utils"].off,tt=r["utils"].assist,nt=tt.findComponentUpward,rt=tt.getStyle,it={name:"IHeaderBreadcrumb",components:{iMenuHeadTitle:g},computed:Object.assign({},Object(s["mapState"])("admin/layout",["showBreadcrumbIcon","menuCollapse"]),Object(s["mapState"])("admin/menu",["openNames","activePath","header","headerName"]),{siderMenuObject:function(){var e={};return this.allSiderMenu.forEach((function(t){"id"in t&&(e[t.id]=t)})),e},items:function(){var e=this,t=[].concat(this.openNames),n=[];return t.forEach((function(t){var r=e.siderMenuObject[t];r&&n.push(e.siderMenuObject[t])})),n},topItem:function(){var e=this;return this.header.find((function(t){return t.name===e.headerName}))}}),data:function(){return{allSiderMenu:Object(je["a"])(k["a"].siderMenus(),[]),handleResize:function(){},isLimit:!1,maxWidth:560,breadcrumbWidth:0}},watch:{topItem:{handler:function(){this.handleGetWidth(),this.handleCheckWidth()},deep:!0},items:{handler:function(){this.handleGetWidth(),this.handleCheckWidth()},deep:!0},activePath:{handler:function(){this.handleGetWidth(),this.handleCheckWidth()},deep:!0}},mounted:function(){this.handleResize=Object(O["throttle"])(this.handleCheckWidth,100,{leading:!1}),Qe(window,"resize",this.handleResize),this.handleGetWidth(),this.handleCheckWidth()},beforeDestroy:function(){et(window,"resize",this.handleResize)},methods:{handleCheckWidth:function(){var e=this,t=nt(this,"Header");if(t){var n=parseInt(rt(t.$el,"width"));this.$nextTick((function(){e.isLimit=n-e.maxWidth<=e.breadcrumbWidth}))}},handleGetWidth:function(){var e=this;this.isLimit=!1,this.$nextTick((function(){var t=e.$refs.breadcrumb;t&&(e.breadcrumbWidth=parseInt(rt(t.$el,"width")))}))}}},ot=it,at=Object(m["a"])(ot,Je,Ze,!1,null,null,null),ut=at.exports,ct=function(){var e=this,t=e._self._c;return t("Tooltip",{attrs:{content:e.tooltipContent,transfer:""}},[t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min",on:{click:e.handleOpenLog}},[t("Badge",{attrs:{count:0===e.lengthError?null:e.lengthError,"overflow-count":99,dot:e.showDot,offset:[0,"-2px"]}},[t("Icon",{attrs:{type:"md-radio-button-on"}})],1)],1)])},st=[],lt={name:"IHeaderLog",computed:Object.assign({},Object(s["mapGetters"])("admin/log",["length","lengthError"]),{showDot:function(){return!!this.length&&0===this.lengthError},tooltipContent:function(){if(this.length){var e=this.length+" 条日志";return this.lengthError&&(e+=" | 包含 "+this.lengthError+" 个异常"),e}return"没有日志或异常"}}),methods:{handleOpenLog:function(){this.$router.push({name:"log",query:{_tab:!0,_pid:"_blank",_mid:"_blank"}})}}},ft=lt,ht=Object(m["a"])(ft,ct,st,!1,null,null,null),dt=ht.exports,pt=function(){var e=this,t=e._self._c;return e.showFullscreen?t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min",on:{click:e.toggleFullscreen}},[t("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.isFullscreen,expression:"!isFullscreen"}],attrs:{type:"bingo-full-screen"}}),t("Icon",{directives:[{name:"show",rawName:"v-show",value:e.isFullscreen,expression:"isFullscreen"}],attrs:{type:"bingo-exit-full-screen"}})],1):e._e()},mt=[],vt={name:"iHeaderFullscreen",computed:Object.assign({},Object(s["mapState"])("admin/layout",["isFullscreen","showFullscreen"])),methods:Object.assign({},Object(s["mapActions"])("admin/layout",["toggleFullscreen"]))},gt=vt,yt=Object(m["a"])(gt,pt,mt,!1,null,null,null),bt=yt.exports,wt=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min"},[t("Dropdown",{staticClass:"i-layout-header-i18n",class:{"i-layout-header-user-mobile":e.isMobile},attrs:{trigger:e.isMobile?"click":"hover"},on:{"on-click":e.handleClick}},[t("Icon",{attrs:{type:"md-globe"}}),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},e._l(e.languages,(function(n,r){return t("DropdownItem",{key:r,attrs:{name:r,selected:e.locale===r}},[t("span",[e._v(e._s(n.language))])])})),1)],1)],1)},_t=[],xt=n("2e3d"),Ot={name:"iHeaderI18n",data:function(){return{languages:i["webApplication"].localeMessages}},computed:Object.assign({},Object(s["mapState"])("admin/i18n",["locale"]),Object(s["mapState"])("admin/layout",["isMobile"])),methods:Object.assign({},Object(s["mapActions"])("admin/i18n",["setLocale"]),{handleClick:function(e){e!==this.locale&&(this.setLocale({locale:e,vm:this}),window.location.reload(),this.$emit("on-change",e))}})},jt=Ot,kt=Object(m["a"])(jt,wt,_t,!1,null,null,null),St=kt.exports,Ct=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min",on:{click:e.showSetting}},[t("Icon",{attrs:{type:"ios-settings-outline"}}),t("Drawer",{attrs:{title:"页面配置",width:"300"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[e.visible?[t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("导航布局")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("div",{staticClass:"i-layout-header-setting-item-radio",class:{on:!1===e.headerStick},on:{click:function(t){return e.handleChangeThemeSetting({siderFix:!0,headerFix:!0,siderTheme:"dark",headerTheme:"light",headerStick:!1})}}},[t("Tooltip",{attrs:{content:"左右布局",placement:"top",transfer:""}},[t("img",{attrs:{src:n("71e8")}})])],1),t("div",{staticClass:"i-layout-header-setting-item-radio",class:{on:!0===e.headerStick},on:{click:function(t){return e.handleChangeThemeSetting({siderFix:!0,headerFix:!0,siderTheme:"light",headerTheme:"dark",headerStick:!0})}}},[t("Tooltip",{attrs:{content:"上下布局",placement:"top",transfer:""}},[t("img",{attrs:{src:n("14fe")}})])],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("导航风格")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("顶栏栏风格")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("RadioGroup",{attrs:{value:e.headerTheme,type:"button","button-style":"solid"},on:{"on-change":e.handleChangeHeaderTheme}},[t("Radio",{attrs:{label:"light"}},[e._v("浅色")]),t("Radio",{attrs:{label:"dark"}},[e._v("深色")]),t("Radio",{attrs:{label:"primary"}},[e._v("主题色")])],1)],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("侧边栏风格")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("RadioGroup",{attrs:{value:e.siderTheme,type:"button","button-style":"solid"},on:{"on-change":e.handleChangeSiderTheme}},[t("Radio",{attrs:{label:"light"}},[e._v("浅色")]),t("Radio",{attrs:{label:"dark"}},[e._v("深色")])],1)],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("导航设置")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("固定侧边栏")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.siderFix},on:{"on-change":function(t){return e.handleChangeSetting("siderFix",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("固定顶栏")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.headerFix},on:{"on-change":function(t){return e.handleChangeSetting("headerFix",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.headerFix}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 下滑时隐藏顶栏 "),t("Tooltip",{attrs:{placement:"top",content:"需开启固定顶栏",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.headerHide,disabled:!e.headerFix},on:{"on-change":function(t){return e.handleChangeSetting("headerHide",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.headerFix}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 置顶顶栏 "),t("Tooltip",{attrs:{placement:"top",content:"需开启固定顶栏",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.headerStick,disabled:!e.headerFix},on:{"on-change":function(t){return e.handleChangeSetting("headerStick",t)}}})],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("多标签Tab页")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("开启多页签")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.tabs},on:{"on-change":function(t){return e.handleChangeSetting("tabs",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.tabs}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 多页签显示图标 "),t("Tooltip",{attrs:{placement:"top",content:"需开启多页签",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showTabsIcon,disabled:!e.tabs},on:{"on-change":function(t){return e.handleChangeSetting("showTabsIcon",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.tabs}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 固定多页签 "),t("Tooltip",{attrs:{placement:"top",content:"需开启多页签",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.tabsFix,disabled:!e.tabs},on:{"on-change":function(t){return e.handleChangeSetting("tabsFix",t)}}})],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("面包屑")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 显示全局面包屑导航 "),t("Tooltip",{attrs:{placement:"top",content:"headerMenu 开启时无效",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showBreadcrumb},on:{"on-change":function(t){return e.handleChangeSetting("showBreadcrumb",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.showBreadcrumb}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 全局面包屑显示图标 "),t("Tooltip",{attrs:{placement:"top",content:"需开启全局面包屑导航",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showBreadcrumbIcon,disabled:!e.showBreadcrumb},on:{"on-change":function(t){return e.handleChangeSetting("showBreadcrumbIcon",t)}}})],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("其他配置")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("显示多语言选择")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showI18n},on:{"on-change":function(t){return e.handleChangeSetting("showI18n",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("显示重载页面按钮")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showReload},on:{"on-change":function(t){return e.handleChangeSetting("showReload",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("显示折叠侧边栏按钮")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showSiderCollapse},on:{"on-change":function(t){return e.handleChangeSetting("showSiderCollapse",t)}}})],1)])]:e._e()],2)],1)},Mt=[],Et={name:"IHeaderSetting",components:{},data:function(){return{visible:!1}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["themeDark","siderTheme","headerTheme","headerStick","siderFix","headerFix","headerHide","menuAccordion","showSiderCollapse","tabs","showTabsIcon","tabsFix","showBreadcrumb","showBreadcrumbIcon","showReload","showI18n","showCollapseMenuTitle"])),methods:Object.assign({},Object(s["mapMutations"])("admin/layout",["updateLayoutSetting"]),{showSetting:function(){this.visible=!0},handleChangeSetting:function(e,t){this.updateLayoutSetting({key:e,value:t})},handleChangeThemeSetting:function(e){for(var t in e){var n=e[t];this.updateLayoutSetting({key:t,value:n})}},handleChangeSiderTheme:function(e){this.updateLayoutSetting({key:"siderTheme",value:e})},handleChangeHeaderTheme:function(e){this.updateLayoutSetting({key:"headerTheme",value:e})}})},Tt=Et,Pt=Object(m["a"])(Tt,Ct,Mt,!1,null,null,null),Lt=Pt.exports,At=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min"},[t("Dropdown",{staticClass:"i-layout-header-user",attrs:{trigger:"click"},on:{"on-click":e.handleClick}},[t("Icon",{attrs:{type:e.themeIcon,size:"20"}}),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},e._l(e.themeList,(function(n,r){return t("DropdownItem",{key:r,attrs:{name:n.name,selected:e.theme===r}},[t("Icon",{staticClass:"mr-4",attrs:{type:n.icon,size:"16"}}),t("span",[e._v(e._s(n.label))])],1)})),1)],1)],1)},It=[],Dt=n("2c28"),Ft={light:{icon:"md-sunny",name:"light",label:"亮色模式"},dark:{icon:"ios-moon",name:"dark",label:"暗黑模式"},auto:{icon:"md-desktop",name:"auto",label:"跟随系统"}},Rt={data:function(){return{themeList:Ft,themeMode:null,theme:"",themeIcon:"light"}},watch:{theme:function(e){this.themeMode=e}},mounted:function(){var e=this;this.$nextTick((function(){e.init()}))},methods:{handleClick:function(e){this.theme=e,this.themeIcon=this.themeList[e].icon},init:function(){this.themeMode=Object(Dt["useColorMode"])({selector:"body",storageKey:"fly-theme",attribute:"fly-theme",emitAuto:!0,modes:{dark:"dark",light:"light",system:"auto"}}),this.theme=Object(i["config"])().layout.theme&&!Object(O["isEmpty"])(Object(i["config"])().layout.theme)?Object(i["config"])().layout.theme:this.themeMode,this.theme&&(this.themeIcon=this.themeList[this.theme].icon)}}},zt=Rt,Nt=Object(m["a"])(zt,At,It,!1,null,null,null),$t=Nt.exports,Bt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"i-layout-tabs",class:e.classes,style:e.styles},[t("div",{staticClass:"i-layout-tabs-main"},[t("Tabs",{attrs:{type:"card",value:e.current,animated:!1,closable:""},on:{"on-click":e.handleClickTab,"on-tab-remove":e.handleClickClose}},e._l(e.opened,(function(n){return t("TabPane",{key:n.tid,attrs:{label:function(t){return e.tabLabel(t,n)},name:n.fullPath,closable:n.meta&&n.meta.closable||!(e.defaultRouterName===n.name)}})})),1),t("Dropdown",{staticClass:"i-layout-tabs-close",attrs:{"transfer-class-name":"i-layout-tabs-dropdown-menu",transfer:""},on:{"on-click":e.handleClose}},[t("div",{staticClass:"i-layout-tabs-close-main"},[t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"left"}},[t("Icon",{attrs:{type:"md-arrow-back"}}),e._v(" "+e._s(e.$t("basicLayout.tabs.left"))+" ")],1),t("DropdownItem",{attrs:{name:"right"}},[t("Icon",{attrs:{type:"md-arrow-forward"}}),e._v(" "+e._s(e.$t("basicLayout.tabs.right"))+" ")],1),t("DropdownItem",{attrs:{name:"other"}},[t("Icon",{attrs:{type:"md-close"}}),e._v(" "+e._s(e.$t("basicLayout.tabs.other"))+" ")],1),t("DropdownItem",{attrs:{name:"all"}},[t("Icon",{attrs:{type:"md-close-circle"}}),e._v(" "+e._s(e.$t("basicLayout.tabs.all"))+" ")],1)],1)],1)],1)])},Ht=[],Ut={name:"ITabs",mixins:[h],computed:Object.assign({},Object(s["mapState"])("admin/page",["opened","current"]),Object(s["mapState"])("admin/layout",["tabsTheme","showTabsIcon","tabsFix","tabsReload","headerFix","headerStick","isMobile","menuCollapse"]),Object(s["mapGetters"])("admin/menu",["hideSider"]),Object(s["mapGetters"])("admin/page",["defaultRouterName"]),{classes:function(){return["i-layout-tabs-"+this.tabsTheme,{"i-layout-tabs-fix":this.tabsFix}]},isHeaderStick:function(){return this.hideSider},headerHeight:function(){return Object(i["config"])().headerHeight||64},styles:function(){var e={};this.tabsFix&&!this.headerFix&&(e.top=this.headerHeight-this.scrollTop+"px");var t=this.isHeaderStick?0:this.menuCollapse?Object(i["config"])().menuSideCollapseWidth||80:Object(i["config"])().menuSideWidth;return!this.isMobile&&this.tabsFix&&(e.width="calc(100% - "+t+"px)",e.left=t+"px"),e}}),data:function(){return{allSiderMenu:Object(je["b"])(k["a"].siderMenus()),scrollTop:0}},methods:Object.assign({},Object(s["mapActions"])("admin/page",["close","closeLeft","closeRight","closeOther","closeAll"]),{tabLabel:function(e,t){var n=e("span",this.tTitle(t.meta.title)||""),r=[];if(this.showTabsIcon){var i,o=t.fullPath.indexOf("?")>=0?t.fullPath.split("?")[0]:t.fullPath,a=this.allSiderMenu.find((function(e){return e.path===o}))||{};a.icon?i=e("Icon",{props:{type:a.icon}}):a.custom?i=e("Icon",{props:{custom:a.custom}}):a.img&&(i=e("img",{attrs:{src:a.img}})),i&&r.push(i),r.push(n)}else r.push(n);return e("div",{class:"i-layout-tabs-title"},r)},handleClickTab:function(e){if(e===this.current)this.tabsReload&&this.$emit("on-reload");else{var t=this.opened.find((function(t){return t.fullPath===e}));t&&this.$router.push({path:t.fullPath},(function(){}))}},handleClickClose:function(e){this.close({tagName:e})},handleScroll:function(){if(this.tabsFix&&!this.headerFix){var e=document.body.scrollTop+document.documentElement.scrollTop;this.scrollTop=e>this.headerHeight?this.headerHeight:e}},handleClose:function(e){var t={pageSelect:this.current};switch(e){case"left":this.closeLeft(t);break;case"right":this.closeRight(t);break;case"other":this.closeOther(t);break;case"all":this.closeAll();break}}}),mounted:function(){document.addEventListener("scroll",this.handleScroll,{passive:!0}),this.handleScroll()},beforeDestroy:function(){document.removeEventListener("scroll",this.handleScroll)}},qt=Ut,Wt=Object(m["a"])(qt,Bt,Ht,!1,null,null,null),Gt=Wt.exports,Vt=function(){var e=this,t=e._self._c;return t("GlobalFooter",{staticClass:"i-copyright",attrs:{links:e.links,copyright:e.copyright}})},Yt=[],Kt={name:"i-copyright",props:{links:{type:Array,default:function(){return[]}},copyright:{type:String,default:"Copyright © 2020 广州市品高软件股份有限公司"}}},Xt=Kt,Jt=(n("a5d5"),Object(m["a"])(Xt,Vt,Yt,!1,null,null,null)),Zt=Jt.exports,Qt=n("a6ed"),en=function(){return en=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},en.apply(this,arguments)},tn={iHeaderFullscreen:function(){return n.e("flyvue-admin-components").then(n.bind(null,"037d"))},iHeaderReload:function(){return n.e("flyvue-admin-components").then(n.bind(null,"2e53"))},iHeaderSetting:function(){return n.e("flyvue-admin-components").then(n.bind(null,"e2b7"))},iHeaderI18n:function(){return n.e("flyvue-admin-components").then(n.bind(null,"108e"))},iHeaderTargetLink:function(){return n.e("flyvue-admin-components").then(n.bind(null,"71cd"))},iHeaderTheme:function(){return n.e("flyvue-admin-components").then(n.bind(null,"9f8b"))},iLayoutFullscreen:function(){return n.e("flyvue-admin-components").then(n.bind(null,"037d"))},iLayoutReload:function(){return n.e("flyvue-admin-components").then(n.bind(null,"2e53"))},iLayoutSetting:function(){return n.e("flyvue-admin-components").then(n.bind(null,"e2b7"))},iLayoutI18n:function(){return n.e("flyvue-admin-components").then(n.bind(null,"108e"))},iLayoutTargetLink:function(){return n.e("flyvue-admin-components").then(n.bind(null,"71cd"))},iLayoutTheme:function(){return n.e("flyvue-admin-components").then(n.bind(null,"9f8b"))}},nn={iDasktopLayout:function(){return n.e("flyvue-admin-layout").then(n.bind(null,"8acc"))}},rn=en(en({},tn),nn),on={install:function(e,t){e.config.errorHandler=function(t,n,r){e.nextTick((function(){"development"===o.a.NODE_ENV&&(S["a"].log.capsule("@fly-vue/iview admin","ErrorHandler","error"),S["a"].log.error(">>>>>> 错误信息 >>>>>>"),console.error(r),S["a"].log.error(">>>>>> Vue 实例 >>>>>>"),console.error(n),S["a"].log.error(">>>>>> Error >>>>>>")),console.error(t),Object(i["store"])().dispatch("admin/log/push",{message:r+": "+t.message,type:"error",meta:{error:t}})}))}}},an={install:function(e,t){e.prototype.$log=Object.assign({},S["a"].log,{push:function(e){"string"===typeof e?Object(i["store"])().dispatch("admin/log/push",{message:e}):"object"===typeof e&&Object(i["store"])().dispatch("admin/log/push",e)}})}},un={inserted:function(e,t,n){var r=t.value;if(r){var o=i["PermissionService"].hasPerm(r);o||e.parentNode&&e.parentNode.removeChild(e)}}};function cn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */cn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new T(r||[]);return i(a,"_invoke",{value:S(e,n,u)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",m="completed",v={};function g(){}function y(){}function b(){}var w={};s(w,a,(function(){return this}));var _=Object.getPrototypeOf,x=_&&_(_(P([])));x&&x!==n&&r.call(x,a)&&(w=x);var O=b.prototype=g.prototype=Object.create(w);function j(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(i,o,a,u){var c=f(e[i],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function S(t,n,r){var i=h;return function(o,a){if(i===p)throw Error("Generator is already running");if(i===m){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var c=C(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var s=f(t,n,r);if("normal"===s.type){if(i=r.done?m:d,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=m,r.method="throw",r.arg=s.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,i(O,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:y,configurable:!0}),y.displayName=s(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},j(k.prototype),s(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new k(l(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},j(O),s(O,c,"Generator"),s(O,a,(function(){return this})),s(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=P,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function sn(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function ln(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){sn(o,r,i,a,u,"next",e)}function u(e){sn(o,r,i,a,u,"throw",e)}a(void 0)}))}}var fn={install:function(e,t){return ln(cn().mark((function t(){return cn().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.use(on),e.use(an),e.directive("auth",un);case 3:case"end":return t.stop()}}),t)})))()}},hn=n("5a13"),dn={};hn.keys().forEach((function(e){dn[e.replace(/(\.\/|\.js|\.ts)/g,"")]=hn(e).default}));var pn={namespaced:!0,modules:dn},mn=[{name:"ssoclient",component:n("cd38").default,path:"/ssoclient"},{name:"link-login",component:n("cd38").default,path:"/link-login"},{name:"preload",meta:{auth:!1},component:n("782f").default,path:"/preload"}],vn=[{path:"/403",name:"403",meta:{title:"403"},component:n("94df").default},{path:"/500",name:"500",meta:{title:"500"},component:n("33a1").default},{path:"*",name:"404",meta:{title:"404"},component:n("5c4b").default}],gn=[{path:"/log",name:"log",meta:{title:"日志"},component:function(){return n.e("chunk-2d0a4743").then(n.bind(null,"0706"))}},{name:"iframe",component:n("e470").default,path:"iframe/:id?"}],yn=[].concat(mn,vn),bn=n("eb44"),wn=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},_n=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},xn=function(){function e(){this._cache_db="requestCache",this._key_for_request_cache="cachable"}return e.prototype.onRequest=function(e){return wn(this,void 0,void 0,(function(){var t,n,r=this;return _n(this,(function(i){return t=this.buildRequestCacheConfig(e),t.cachable?(e[this._key_for_request_cache]=t,n=this.getDB().find({rid:t.cacheKey}).value(),n&&null!=n.cacheControl&&(e.headers[n.cacheControl.left]=n.cacheControl.right),t.disabled||this.isExpired(n)?[2,e]:(e.adapter=function(e){return r.buildAxiosResponse({data:n.data,status:200,statusText:"OK",headers:{"x-from-cache":!0},config:e})},[2])):[2,e]}))}))},e.prototype.onResponse=function(e){if(!e.headers["x-from-cache"]){var t=e.config[this._key_for_request_cache];if(200===e.status&&t&&t.cachable){var n=void 0;n=e.headers["last-modified"]?{left:"If-Modified-Since",right:e.headers["last-modified"]}:e.headers["etag"]?{left:"If-None-Match",right:e.headers["etag"]}:null,this.upsertCache({rid:t.cacheKey,data:e.data,cfg:e.config,createAt:Date.now(),cacheControl:n})}}},e.prototype.onResponseError=function(e){if(304===e.response.status){var t=e.config[this._key_for_request_cache];if(!t)return;var n=this.getDB().find({rid:t.cacheKey}).value();if(n)return e.response.data=n.data,this.buildAxiosResponse(e.response)}},e.prototype.clearAll=function(){this.getDB().remove().write()},e.prototype.disableCache=function(e){void 0===e&&(e=2e3);var t=this.getCacheConfig();return t.disabledBefore=Date.now()+e,i["ConfigHelper"].set("httpCache",t),t},e.prototype.updateCacheConfig=function(e){return i["ConfigHelper"].set("httpCache",e),e},e.prototype.getCacheConfig=function(){var e=Object(O["assign"])({enabled:!1,disabledBefore:0,keysForCache:[]},i["ConfigHelper"].getConfigVal("httpCache"));return e},e.prototype.buildRequestCacheConfig=function(e){var t={cacheKey:e.url,cachable:!1,disabled:!1};if("get"!=e.method.toLowerCase())return t;var n=e[this._key_for_request_cache];Object(O["isObject"])(n)?Object(O["assign"])(t,n):Object(O["isBoolean"])(n)&&n&&(t.cacheKey=e.url,t.cachable=!0);var r=this.getCacheConfig();return!t.cachable&&r.keysForCache.includes(t.cacheKey)&&(t.cachable=!0),t.cachable&&Date.now()<=r.disabledBefore&&(t.disabled=!0),t},e.prototype.getDB=function(){return S["a"].db.get(this._cache_db)},e.prototype.isExpired=function(e){var t=36e5;return null==e||null!=e.cacheControl||Date.now()-e.createAt>t},e.prototype.upsertCache=function(e){var t=this.getDB(),n=t.find({rid:e.rid}).value();n?t.find({rid:n.rid}).assign(e).write():t.push(e).write()},e.prototype.buildAxiosResponse=function(e){return new Promise((function(t,n){t(e)}))},e}(),On=n("cf26"),jn={theme:"dynamic-custom-theme",themeCss:"dynamic-custom-theme-css"};function kn(e){var t,n=null===(t=i["webApplication"].config.loadCustomTheme)||void 0===t||t;if(n){var r=Object(On["getAllTheme"])("pc",{color:e.color,other:e.other},{mergeDefault:!1});e.config&&Object(O["merge"])(r,e.config);var o=null,a="",u="";for(var c in r.light)a+=c+": "+r.light[c]+";\n";for(var c in r.dark)u+=c+": "+r.dark[c]+";\n";o="\n body {\n "+a+"\n }\n body[fly-theme='dark']{\n "+u+"\n }\n ",Sn(jn.theme,o),e.customStyles&&Sn(jn.themeCss,e.customStyles)}}function Sn(e,t){var n=document.head||document.getElementsByTagName("head")[0],r=document.getElementById(e);r||(r=document.createElement("style"),r.id=e,n.appendChild(r)),r.innerHTML=""+t}function Cn(e){var t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.head.appendChild(t)}function Mn(){var e=[jn.theme,jn.themeCss];e.forEach((function(e){var t=document.getElementById(e);t&&t.remove()}))}function En(e){var t,n,r=null===(n=null===(t=null===e||void 0===e?void 0:e.ideui)||void 0===t?void 0:t.loadTheme)||void 0===n||n;if(r){var i=e.apiBaseUrl||e.apiBaseURL;i&&i.endsWith("/")&&(i=i.slice(0,-1));var o=i?"/"===i?"":i:"",a=!o||o.endsWith("/")?o+"ui/styles/pc.css":o+"/ui/styles/pc.css";Cn(a)}}var Tn=En,Pn=n("1b5c"),Ln=n("5e20"),An=n("a53c"),In=n("4fab"),Dn=function(){var e=this,t=e._self._c;return t("bg-keep-alive",{attrs:{include:e.keepAlive}},[e.loadRouter?t("router-view"):e._e()],1)},Fn=[],Rn={name:"SubAppLayout",data:function(){return{loadRouter:!0}},computed:Object.assign({},Object(s["mapState"])("admin/page",["keepAlive"])),watch:{$route:function(e,t){e.name===t.name&&Object(i["config"])()["sameRouteForceUpdate"]&&this.handleReload()}},methods:Object.assign({},Object(s["mapMutations"])("admin/layout",["updateMenuCollapse"]),Object(s["mapMutations"])("admin/page",["keepAlivePush","keepAliveRemove"]),{handleScroll:function(){var e=this;if(this.headerHide){var t=document.body.scrollTop+document.documentElement.scrollTop;this.ticking||(this.ticking=!0,Object(S["b"])((function(){e.oldScrollTop>t?e.headerVisible=!0:t>300&&e.headerVisible?e.headerVisible=!1:t<300&&!e.headerVisible&&(e.headerVisible=!0),e.oldScrollTop=t,e.ticking=!1})))}},handleReload:function(){var e=this,t=this.keepAlive.indexOf(this.$route.name)>-1,n=this.$route.name;t&&this.keepAliveRemove(n),this.loadRouter=!1,this.$nextTick((function(){e.loadRouter=!0,t&&e.keepAlivePush(n)}))}}),mounted:function(){document.addEventListener("scroll",this.handleScroll,{passive:!0})},beforeDestroy:function(){document.removeEventListener("scroll",this.handleScroll)},created:function(){this.isTablet&&this.showSiderCollapse&&this.updateMenuCollapse(!0)}},zn=Rn,Nn=Object(m["a"])(zn,Dn,Fn,!1,null,null,null),$n=Nn.exports,Bn=n("40e0"),Hn=function(){return Hn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Hn.apply(this,arguments)},Un=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},qn=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Wn={iMenuHead:J,iMenuSide:Pe,iHeaderLogo:ze,iHeaderCollapse:qe,iHeaderReload:Xe,iHeaderBreadcrumb:ut,iHeaderLog:dt,iHeaderFullscreen:bt,iHeaderI18n:St,iHeaderSetting:Lt,iHeaderTheme:$t,iTabs:Gt,iCopyright:Zt,iLink:Qt["a"]},Gn=Hn({},Wn),Vn=Object.assign({},a["a"]),Yn=new xn,Kn=function(e){var t=this,n=e;e["_BINGO_UI_WEB_APPLICATIOIN"]&&(n=e.Vue),n.prototype.$ft=function(t,n,r){return void 0===n&&(n=""),e.i18n.te(t)?e.i18n.t(t,r):n},e.store.registerModule("admin",pn),Object.keys(Gn).forEach((function(e){n.component(e,Gn[e])})),e.store.dispatch("admin/i18n/getLocale");var o=e.store.state.admin.i18n.locale;e.use(fn).addConfig({locale:o}).addLocaleMessages(Vn).mixin({watch:{$route:function(e,t){x["a"].onRouteChange(e,t)}}}).registerEvent(i["WebApplicationEventType"].immediatelyAfterConfigLoaded,(function(){var t=e.config.apiBaseUrl||e.config.apiBaseURL;t&&i["HttpRequest"].setGlobalDefaults({baseURL:t}),Yn.getCacheConfig().enabled&&(i["HttpRequest"].addGlobalInterceptor(i["HttpInterceptorType"].request,(function(e){return Yn.onRequest(e)})),i["HttpRequest"].addGlobalInterceptor(i["HttpInterceptorType"].response,(function(e){return Yn.onResponse(e)})),i["HttpRequest"].addGlobalInterceptor(i["HttpInterceptorType"].responseError,(function(e){return Yn.onResponseError(e)})))})).registerEvent(i["WebApplicationEventType"].configLoaded,(function(){return Un(t,void 0,void 0,(function(){var t,n,r,o,a,u;return qn(this,(function(c){switch(c.label){case 0:if(Object(i["config"])(),t=Object(i["config"])().layout,!j.a.isEmpty(t))for(n in t)e.store.commit("admin/layout/updateLayoutSetting",{key:n,value:t[n]});return Object(i["config"])()["settings.app.title"]&&e.store.commit("admin/layout/updateLayoutSetting",{key:"appTitle",value:Object(i["config"])()["settings.app.title"]}),Object(i["config"])()["settings.app.logo"]&&e.store.commit("admin/layout/updateLayoutSetting",{key:"logo",value:Object(i["config"])()["settings.app.logo"]}),Object(i["config"])()["settings.app.favicon"]&&document&&(r=Object(i["config"])()["settings.app.favicon"],o=document.querySelector('link[rel="icon"]'),null!==o?o.href=r:(o=document.createElement("link"),o.rel="icon",o.href=r,document.head.appendChild(o))),a=Object(i["config"])().layout.menuCollapse,e.store.commit("admin/layout/updateMenuCollapse",a),u=i["ConfigHelper"].getConfigVal("allowPageAnonymous"),u?[4,Jn()]:[3,2];case 1:c.sent(),c.label=2;case 2:return[2]}}))}))})).registerEvent(i["WebApplicationEventType"].vueBeforeCreate,(function(t){var n,r,i,o,a,u=null===(n=e.config.loadCustomTheme)||void 0===n||n||null!==(o=null===(i=null===(r=e.config)||void 0===r?void 0:r.ideui)||void 0===i?void 0:i.loadTheme)&&void 0!==o&&o;e.config["theme"]&&u&&kn(e.config["theme"]);var c=null===(a=e.config.globalLinkCss)||void 0===a||a;c&&Tn(e.config)})).registerEvent(i["WebApplicationEventType"].routerLoading,(function(t){e.addRoutes(yn),e.addRoutes(gn,"/");var n=t.stringifyQueries;n.push((function(e,t){return x["a"].stringifyQuery(e,t)}))})).registerEvent(i["WebApplicationEventType"].routerLoaded,(function(n){return Un(t,void 0,void 0,(function(){return qn(this,(function(t){switch(t.label){case 0:return e.store.commit("admin/menu/setHeader",k["a"].headerMenus()),n.router.afterEach((function(){e.config.showProgressBar&&r["ViewUI"].LoadingBar.finish(),window.scrollTo(0,0)})),[4,Xn()];case 1:return t.sent(),[2]}}))}))})).registerEvent(i["WebApplicationEventType"].vueCreated,(function(){this.$store.dispatch("admin/layout/listenFullscreen"),bn["a"].inIframe()&&bn["a"].autoHeightForIframe()})).registerEvent(i["WebApplicationEventType"].userSignIn,(function(t){return Un(this,void 0,void 0,(function(){return qn(this,(function(n){switch(n.label){case 0:return e.store.dispatch("admin/user/set",t.user),[4,Jn()];case 1:return n.sent(),[2]}}))}))})).registerEvent(i["WebApplicationEventType"].userSignOut,(function(){return Un(this,void 0,void 0,(function(){return qn(this,(function(t){switch(t.label){case 0:return[4,e.store.dispatch("admin/page/closeAll")];case 1:return t.sent(),[2]}}))}))}))},Xn=function(e){return Un(this,void 0,void 0,(function(){var t,n;return qn(this,(function(r){switch(r.label){case 0:return t=Object(i["config"])(),t.layout.tabs?(n=e||i["webApplication"].routeManager.routes,i["webApplication"].store.commit("admin/page/init",n),[4,i["webApplication"].store.dispatch("admin/page/openedLoad",null,{root:!0})]):[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},Jn=function(){return Un(this,void 0,void 0,(function(){var e;return qn(this,(function(t){switch(t.label){case 0:return i["webApplication"].config.dynamicSiderMenu?(e=!0===i["webApplication"].config.dynamicSiderMenu?void 0:i["webApplication"].config.dynamicSiderMenu,[4,k["a"].loadRemoteMenu(e)]):[3,3];case 1:return t.sent(),0===k["a"].headerMenus().length&&k["a"].addHeaderMenus([{path:"/",title:"首页",icon:"md-home",hideSider:!1,name:"home"}]),i["webApplication"].store.commit("admin/menu/setGroup",k["a"].group),[4,Xn(k["a"].siderMenus())];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},Zn=function(e){k["a"].addMenus(e)},Qn=function(e){k["a"].addHeaderMenus(e)},er={name:"@fly-vue/iview-admin",version:"1.8.0-snapshot",dependencies:["@fly-vue/core"],install:Kn,addHeaderMenus:Qn,addSiderMenus:Zn,components:Hn(Hn({},rn),Wn)};Object.defineProperty(er,"i18n",{get:function(){return i["webApplication"].i18n},enumerable:!0}),t["default"]=er,i["webApplication"].use(r["ViewUI"],{i18n:function(e,t){return i["webApplication"].i18n["t"](e,t)}}).use(r["iViewPro"]).addModule(er);var tr=Yn},"4a19":function(e,t,n){"use strict";n.r(t);var r=n("5a0c"),i=n.n(r),o=n("2ef0"),a=n("6bc3");t["default"]={namespaced:!0,state:{log:[]},getters:{length:function(e){return e.log.length},lengthError:function(e){return e.log.filter((function(e){return"error"===e.type})).length}},actions:{push:function(e,t){var n=e.rootState,r=e.commit,u=t.message,c=t.type,s=void 0===c?"info":c,l=t.meta;r("push",{message:u,type:s,time:i()().format("YYYY-MM-DD HH:mm:ss"),meta:Object.assign({user:n.admin.user.info,uuid:a["a"].cookies.get("uuid"),token:a["a"].cookies.get("token"),url:Object(o["get"])(window,"location.href","")},l)})}},mutations:{push:function(e,t){e.log.push(t)},clean:function(e){e.log=[]}}}},"4fab":function(e,t,n){"use strict";n.d(t,"a",(function(){return re})),n.d(t,"b",(function(){return ie})),n.d(t,"c",(function(){return ee}));var r=n("a026"),i=n("dae4"),o=n.n(i),a=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.AdminModal,e._g(e._b({ref:"modalRef",attrs:{value:e.value,fullscreen:n.isFullScreen,draggable:"",sticky:"",scrollable:"",mask:!1,"mask-closable":!1,closabl:!1,closable:!1,"class-name":n.classNameEs,"top-container":[".i-layout-header",".i-layout-tabs"],"left-container":".i-layout-sider",minimize:n.isMinimize},scopedSlots:e._u([{key:"header-extra",fn:function(){return[e._t("header-extra",(function(){return[t("Button",{staticClass:"fly-view-modal-btn",attrs:{ghost:n.ghost,type:"text",size:"small",title:e.$t("iflyAdmin.base.min")},on:{click:n.handleExit}},[t("Icon",{attrs:{type:n.isMinimize?"md-copy":"md-remove",size:"14"}})],1),n.isMinimize?e._e():t("Button",{staticClass:"fly-view-modal-btn",attrs:{ghost:n.ghost,type:"text",size:"small",title:e.$t("iflyAdmin.base.max")},on:{click:n.handleFullScreen}},[t("Icon",{attrs:{type:n.isFullScreen?"md-copy":"md-square-outline",size:"14"}})],1),t("Button",{staticClass:"fly-view-modal-btn",attrs:{ghost:n.ghost,type:"text",title:e.$t("iflyAdmin.base.close"),size:"small"},on:{click:n.handleClose}},[t("Icon",{attrs:{type:"ios-close",size:"14"}})],1)]}))]},proxy:!0},n.slots.footer?{key:"footer",fn:function(){return[e._t("footer")]},proxy:!0}:null],null,!0)},"AdminModal",n.attrs,!1),n.listeners),[e._t("default")],2)},u=[],c=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"transfer-dom",rawName:"v-transfer-dom"}],attrs:{"data-transfer":e.transfer}},[t("transition",{attrs:{name:e.transitionNames[1]}},[e.showMask?t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:e.maskClasses,style:e.wrapStyles,on:{click:e.handleMask}}):e._e()]),t("div",{class:e.wrapClasses,style:e.wrapStyles,on:{click:e.handleWrapClick}},[t("transition",{attrs:{name:e.transitionNames[0]},on:{"after-leave":e.animationFinish}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:e.classes,style:e.mainStyles,on:{mousedown:e.handleMousedown}},[t("div",{ref:"content",class:e.contentClasses,style:e.contentStyles,on:{click:e.handleClickModal}},[e.closable?t("a",{class:[e.prefixCls+"-close"],on:{click:e.close}},[e._t("close",(function(){return[t("Icon",{attrs:{type:"ios-close"}})]}))],2):e._e(),e.showHead?t("div",{ref:"headerRef",class:[e.prefixCls+"-header"],on:{mousedown:e.handleMoveStart}},[t("Row",[t("Col",{staticStyle:{width:"0"},attrs:{flex:"1 0 auto"}},[e._t("header",(function(){return[t("div",{class:[e.prefixCls+"-header-inner"]},[e._v(e._s(e.title))])]}))],2),t("Col",{class:[e.prefixCls+"-header-extra"],attrs:{flex:" "}},[e._t("header-extra")],2)],1)],1):e._e(),t("div",{class:[e.prefixCls+"-body","i-scrollbar"],style:e.bodyStyleEs},[e._t("default")],2),e.footerHide?e._e():t("div",{class:[e.prefixCls+"-footer"]},[e._t("footer",(function(){return[t("i-button",{attrs:{type:e.cancelType},nativeOn:{click:function(t){return e.cancel.apply(null,arguments)}}},[e._v(e._s(e.localeCancelText))]),t("i-button",{attrs:{type:e.okType,loading:e.buttonLoading},nativeOn:{click:function(t){return e.ok.apply(null,arguments)}}},[e._v(e._s(e.localeOkText))])]}))],2),!e.resizable||e.fullscreen||e.minimize?e._e():[t("div",{class:[e.prefixCls+"-resize-handle",e.prefixCls+"-resize-handle-e"],on:{mousedown:function(t){return t.stopPropagation(),e.handleResizeStart("e",t)}}}),t("div",{class:[e.prefixCls+"-resize-handle",e.prefixCls+"-resize-handle-s"],on:{mousedown:function(t){return t.stopPropagation(),e.handleResizeStart("s",t)}}}),t("div",{class:[e.prefixCls+"-resize-handle",e.prefixCls+"-resize-handle-se"],on:{mousedown:function(t){return t.stopPropagation(),e.handleResizeStart("se",t)}}})]],2)])])],1),e.resizable||e.draggable?t("div",{directives:[{name:"show",rawName:"v-show",value:e.resizeData.resizing||e.dragData.dragging,expression:"resizeData.resizing || dragData.dragging"}],class:[e.prefixCls+"-resize-bg",e.prefixCls+"-resize-bg-"+(e.resizeData.direction||"move")],style:e.wrapStyles}):e._e()],1)},s=[],l=n("70da"),f=Object.prototype.toString;function h(e){return"[object String]"===f.call(e)}function d(e){return"[object Array]"===f.call(e)}var p=function(e,t){var n;return null!==(n=(null!==t&&void 0!==t?t:document).querySelector(e))&&void 0!==n?n:void 0},m=function(e,t){if(h(e)){var n="#"===e[0]?"[id='"+e.slice(1)+"']":e;return p(n,t)}return e},v=function(e,t){var n=m(e,t);return n?n.getBoundingClientRect():{width:0,height:0,top:0,left:0,bottom:0,right:0}},g="ivu-modal",y=l["utils"].on,b=l["utils"].off,w={name:"AdminModal",extends:l["Modal"],props:{height:{type:[Number,String],default:400},resizable:{type:Boolean,default:!0},minWidth:{type:Number,default:200},minHeight:{type:Number,default:200},bodyStyle:{type:Object,default:function(){return{}}},minimize:{type:Boolean,default:!1},offset:{type:Number,default:0},topOffset:{type:Number},leftOffset:{type:Number},topContainer:{type:[String,Object,Array]},leftContainer:{type:[String,Object,Array]}},data:function(){return{resizeData:{resizing:!1,direction:null,startX:0,startY:0,startWidth:0,startHeight:0},dragData:{x:null,y:null,minx:null,miny:null,dragX:null,dragY:null,dragging:!1,rect:null},modalData:{minWidth:200,width:this.width,height:this.height}}},computed:{classes:function(){var e;return[""+g,(e={},e[g+"-fullscreen"]=this.fullscreen,e[g+"-fullscreen-no-header"]=this.fullscreen&&!this.showHead,e[g+"-fullscreen-no-footer"]=this.fullscreen&&this.footerHide,e[g+"-minimize"]=this.minimize,e)]},contentClasses:function(){var e;return[g+"-content",(e={},e[g+"-content-no-mask"]=!this.showMask,e[g+"-content-drag"]=this.draggable&&!this.fullscreen,e[g+"-content-dragging"]=this.draggable&&this.dragData.dragging,e)]},bodyStyleEs:function(){var e={};return this.minimize&&(e={height:0,display:"none",overflow:"hidden",flex:"none"}),Object.assign({},this.bodyStyle,e)},contentStyles:function(){var e={},t=document.documentElement.clientWidth,n=document.documentElement.clientHeight;if(!this.fullscreen&&!this.minimize){var r=n-this.modalData.height,i=t-this.modalData.width;e.top=0,e.left=0,r>0&&(.382*(r-this.clientTopOffset())+this.clientTopOffset()+this.modalData.height+this.offset>n?e.top=n-this.modalData.height+"px":e.top=.382*(r-this.clientTopOffset())+this.clientTopOffset()+this.offset+"px"),i>0&&((i-this.clientLeftOffset())/2+this.clientLeftOffset()+this.offset+this.modalData.width>t?e.left=t-this.modalData.width+"px":e.left=(i-this.clientLeftOffset())/2+this.clientLeftOffset()+this.offset+"px")}if(this.draggable&&!this.fullscreen){var o=this.styles.top?parseFloat(this.styles.top):0,a=this.styles.left?parseFloat(this.styles.left):0;null!==this.dragData[this.dragName.x]&&(e.left=this.dragData[this.dragName.x]-a+"px"),null!==this.dragData[this.dragName.y]&&(e.top=this.dragData[this.dragName.y]-o+"px");var u=this.modalData.width,c=this.modalData.height,s={width:u<=100?u+"%":u+"px",height:c?c+"px":null};Object.assign(e,s)}if(this.minimize){var l=this.getMinOffset(this.modalData.minWidth);this.dragData.minx||(e.left=l.x+"px"),this.dragData.miny||(e.top=l.y-this.offset+"px"),e.width=this.modalData.minWidth+"px",e.height=null}return e},mainStyles:function(){var e={},t=(this.modalData.width,{});this.draggable||(t=null!==this.dragData.x?{top:0}:{});var n=this.styles;return this.fullscreen?(t.top=this.clientTopOffset()+"px",t.left=this.clientLeftOffset()+"px"):(t.top=null!==this.dragData.x?0:null,t.left=null),(this.minimize||this.fullscreen)&&(t.width=null),Object.assign(e,t,n),e},dragName:function(){return this.minimize?{x:"minx",y:"miny"}:{x:"x",y:"y"}}},watch:{width:function(e){this.modalData.width=e},height:function(e){this.modalData.height=e},minimize:function(e){e||(this.dragData.minx=null,this.dragData.miny=null)}},mounted:function(){this.initModal()},methods:{initModal:function(){var e=document.documentElement.clientWidth-this.clientLeftOffset(),t=document.documentElement.clientHeight-this.clientTopOffset(),n=parseInt(this.width),r=parseInt(this.height);this.modalData={minWidth:300,width:n>e?e:n,height:r>t?t:r}},clientLeftOffset:function(){return this.leftOffset||this.getoffset(this.leftContainer).width},clientTopOffset:function(){return this.topOffset||this.getoffset(this.topContainer).height},getMinOffset:function(e){var t=20,n=document.documentElement.clientWidth,r=document.documentElement.clientHeight,i=this.$refs.headerRef.getBoundingClientRect().height;return{x:n-e-t,y:r-Math.ceil(i)-t}},getoffset:function(e){return d(e)?e.reduce((function(e,t){return{width:e.width+v(t).width,height:e.height+v(t).height}}),{withd:0,height:0}):v(e)},handleMoveStart:function(e){if(!this.draggable||this.fullscreen)return!1;var t=this.$refs.headerRef,n=e.target;if(n!==t&&e.target.parentNode.classList.contains(g+"-header-extra"))return!1;var r=this.$refs.content,i=r.getBoundingClientRect();this.dragData.rect=i,this.dragData[this.dragName.x]=i.x||i.left,this.dragData[this.dragName.y]=i.y||i.top;var o={x:e.clientX,y:e.clientY};this.dragData.dragX=o.x,this.dragData.dragY=o.y,this.dragData.dragging=!0,this.sticky&&(this.dragData.leftOffset=this.clientLeftOffset(),this.dragData.topOffset=this.clientTopOffset()),this.updateZIndex(),y(window,"mousemove",this.handleMoveMove),y(window,"mouseup",this.handleMoveEnd)},handleMoveMove:function(e){if(!this.dragData.dragging||this.fullscreen)return!1;var t={x:e.clientX,y:e.clientY},n={x:t.x-this.dragData.dragX,y:t.y-this.dragData.dragY};if(this.sticky){var r=document.documentElement.clientWidth,i=document.documentElement.clientHeight;this.dragData[this.dragName.x]+n.x<=this.stickyDistance+this.dragData.leftOffset&&n.x<0?this.dragData[this.dragName.x]=this.dragData.leftOffset:this.dragData[this.dragName.x]+this.dragData.rect.width-r>-this.stickyDistance&&n.x>0?this.dragData[this.dragName.x]=r-this.dragData.rect.width:this.dragData[this.dragName.x]+=n.x,this.dragData[this.dragName.y]+n.y<=this.stickyDistance+this.dragData.topOffset&&n.y<0?this.dragData[this.dragName.y]=this.dragData.topOffset:this.dragData[this.dragName.y]+this.dragData.rect.height-i>-this.stickyDistance&&n.y>0?this.dragData[this.dragName.y]=i-this.dragData.rect.height:this.dragData[this.dragName.y]+=n.y}else this.dragData[this.dragName.x]+=n.x,this.dragData[this.dragName.y]+=n.y;this.dragData.dragX=t.x,this.dragData.dragY=t.y},handleResizeStart:function(e,t){if(t.preventDefault(),this.resizable&&!this.fullscreen&&!this.minimize){var n=this.$refs.content,r=n.getBoundingClientRect(),i=document.documentElement.clientWidth,o=document.documentElement.clientHeight;this.resizeData={resizing:!0,direction:e,startX:t.clientX,startY:t.clientY,startWidth:r.width,startHeight:r.height,maxWidth:i-this.clientLeftOffset(),maxHeight:o-this.clientTopOffset()},y(window,"mousemove",this.handleResizeMove),y(window,"mouseup",this.handleResizeEnd)}},handleResizeMove:function(e){if(this.resizeData.resizing){var t=this.resizeData,n=t.direction,r=t.startX,i=t.startY,o=t.startWidth,a=t.startHeight,u=e.clientX-r,c=e.clientY-i,s=o,l=a;n.includes("e")&&(s=Math.max(this.minWidth,o+u)),n.includes("s")&&(l=Math.max(this.minHeight,a+c)),s>this.resizeData.maxWidth&&(s=this.resizeData.maxWidth),l>this.resizeData.maxHeight&&(l=this.resizeData.maxHeight),this.modalData.width=s,this.modalData.height=l,this.$emit("on-resize",s,l)}},handleResizeEnd:function(){this.resizeData.resizing=!1,this.resizeData.direction=null,b(window,"mousemove",this.handleResizeMove),b(window,"mouseup",this.handleResizeEnd),this.$emit("on-resized")},updateZIndex:function(){this.modalIndex=this.handleGetModalIndex()}}},x=w,O=(n("b9ad"),n("2877")),j=Object(O["a"])(x,c,s,!1,null,null,null),k=j.exports,S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},S.apply(this,arguments)},C={inheritAttrs:!1},M=Object(r["defineComponent"])(S(S({},C),{__name:"view-modal.component",props:{value:{type:Boolean}},emits:["on-close","on-minimize"],setup:function(e,t){var n=t.expose,o=t.emit,a=e,u=Object(i["config"])(),c=Object(r["useListeners"])(),s=Object(r["useAttrs"])(),l=Object(r["useSlots"])(),f=Object(r["computed"])((function(){return"fly-view-modal fly-view-modal-"+u.layout.headerTheme})),h=Object(r["computed"])((function(){return"dark"==u.layout.headerTheme}));function d(){o("on-close",!1)}var p=Object(r["ref"])(!1);function m(){p.value=!p.value,v.value=!1}var v=Object(r["ref"])(!1);function g(){v.value=!v.value,p.value=!1,o("on-minimize",v.value)}var y=Object(r["ref"])(null);function b(){y.value&&y.value.updateZIndex()}return n({handleExit:g,resziseZindex:b}),{__sfc:!0,Setting:u,props:a,listeners:c,attrs:s,slots:l,emits:o,classNameEs:f,ghost:h,handleClose:d,isFullScreen:p,handleFullScreen:m,isMinimize:v,handleExit:g,modalRef:y,resziseZindex:b,AdminModal:k}}})),E=M,T=(n("d7ac"),Object(O["a"])(E,a,u,!1,null,null,null)),P=T.exports,L=function(){var e=this,t=e._self._c;return t("div",{staticClass:"fly-iframe-warp"},[e.loading?t("Spin",{attrs:{fix:""}},[t("Icon",{staticClass:"ivu-anim-loop",attrs:{type:"ios-loading",size:"18"}}),t("div",[e._v("加载中...")])],1):e._e(),e.isShow?t("iframe",{style:e.styleEs,attrs:{id:e.iframeId,loading:"lazy",scrolling:"auto",frameborder:"0",src:e.innerSrc},on:{load:e.onIframeLoad}}):e._e()],1)},A=[],I=n("2ef0"),D=n.n(I),F={props:{src:{type:String},height:{type:[String,Number],default:"100%"},overflow:{type:String,default:"hidden"},id:{type:String}},data:function(){return{iframeId:this.id||_.uniqueId("VIEW_Iframe_"),isShow:!1,loading:!0}},computed:{innerSrc:function(){var e=this.src;return e.includes("?")?e+="&":e+="?",e+"_iframeId="+this.iframeId},styleEs:function(){return{width:"100%",border:0,overflow:this.overflow,height:this.height}}},mounted:function(){var e=this;this.$nextTick((function(){e.isShow=!0,e.initMessage()}))},beforeDestroy:function(){window.removeEventListener?window.removeEventListener("message",this.onMessage,!1):window.detachEvent("onmessage",this.onMessage,!1)},methods:{initMessage:function(){window.addEventListener?window.addEventListener("message",this.onMessage,!1):window.attachEvent("onmessage",this.onMessage,!1)},onIframeLoad:function(){this.loading=!1,this.$emit("on-load")},onMessage:function(e){if(this.isShow){var t=e.data,n=t.iframeId;this.iframeId===n&&("close"===t.action&&(this.isShow=!1),this.$emit("on-message",e))}},postMessage:function(e,t){Object(I["isEmpty"])(t)&&(t="*");var n=document.getElementById(this.iframeId);n.contentWindow.postMessage(e,t)}}},R=F,z=(n("190f"),Object(O["a"])(R,L,A,!1,null,null,null)),N=z.exports,$=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return n.componentDef?t(n.componentDef,e._g(e._b({tag:"component"},"component",n.attrs,!1),n.listeners)):e._e()},B=[];function H(e){var t=e.name,n=t&&e.matched&&e.matched.find((function(e){return e.name==t}));return t&&n||(n=D.a.last(e.matched)),n}function U(e){var t=o.a.router.resolve(e),n=t.route,r=t.href,i=H(n),a=i&&i.components;return Promise.resolve(a&&a.default).then((function(e){return e?"_Ctor"in e||"cid"in e?{route:n,component:e,href:r}:D.a.isFunction(e)?e((function(){})).then((function(e){return e&&(e=e.default),{route:n,component:e,href:r}})):{route:n,component:null,href:r}:{route:n,component:null,href:r}}))}var q=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},W=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},G=Object(r["defineComponent"])({__name:"view.component",props:{url:null,query:null,params:null},setup:function(e){var t=e,n=Object(r["ref"])(null),i=Object(r["ref"])(null),o=Object(r["useListeners"])();function a(){var e=this;(function(){q(e,void 0,void 0,(function(){var e,o,a;return W(this,(function(u){switch(u.label){case 0:return[4,U(t.url)];case 1:return e=u.sent(),o=e.route,a=e.component,e.href,a?(n.value=null,[4,Object(r["nextTick"])()]):[3,3];case 2:u.sent(),n.value=a,i.value=Object.assign({},o.query,o.params),u.label=3;case 3:return[2]}}))}))})()}return a(),{__sfc:!0,props:t,componentDef:n,attrs:i,listeners:o,loadComponent:a}}}),V=G,Y=Object(O["a"])(V,$,B,!1,null,null,null),K=Y.exports,X=n("ae62"),J=function(){return J=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},J.apply(this,arguments)},Z=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},Q=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ee=new Map([["modal",{type:"modal"}],["drawer",{type:"drawer"}],["window",{type:"window"}],["_blank",{type:"_blank"}]]),te=function(){function e(){this.allList=[],this.offset=0,this.setpOffset=10,this.maxOffset=100}return e.prototype.addOffset=function(){this.offset+=this.setpOffset,this.offset>=this.maxOffset&&(this.offset=0)},e.prototype.addInstance=function(e,t){this.allList.push({id:e,instance:t,offset:this.offset})},e.prototype.removeInstance=function(e){this.allList=this.allList.filter((function(t){return t.id!==e})),0===this.allList.length&&(this.offset=0)},e.prototype.getInstance=function(e){return D.a.find(this.allList,(function(t){return t.id===e}))},e.prototype.getOffset=function(){return this.offset},e}(),ne=new te;function re(e,t){var n=this;(function(){Z(n,void 0,void 0,(function(){var t,n,o,a,u;return Q(this,(function(c){try{if(t=J(J({},e),{fullPath:e.fullPath||e.path,isLocalUrl:!1}),t.path.indexOf("://")<0&&(t.isLocalUrl=!0),n=ne.getInstance(t.fullPath),n)return n.instance.isMinimize&&n.instance.setMinmize(),n.instance.resziseZindex(),[2];o=ne.getOffset(),a=new r["default"]({i18n:i["webApplication"].i18n,data:function(){return{modalVisible:!1,isMinimize:!1}},methods:{onMinimize:function(e){this.isMinimize=e},onResize:function(e,n){t.onResize&&t.onResize(e,n)},onResized:function(){t.onResizeEnd&&t.onResizeEnd()},setMinmize:function(){this.$refs.viewModalRef.handleExit()},resziseZindex:function(){this.$refs.viewModalRef.resziseZindex()},close:function(){a&&(this.destroyDialog(),t.onClose&&t.onClose())},destroyDialog:function(){var e=this;this.modalVisible=!1,setTimeout((function(){e.$destroy(),e.$el&&document.body.removeChild(e.$el),a=null,ne.removeInstance(t.fullPath)}),300)}},render:function(){var e=this,n={padding:0,overflow:"hidden"},i=Object(r["h"])(N,{props:{src:t.fullPath},on:{"on-message":function(e){t.onMessage&&t.onMessage(e)}}});return t.isLocalUrl&&(n={overflowY:"auto",overflowX:"hidden"},i=Object(r["h"])(K,{props:{url:t.fullPath},on:{"on-close":function(t){return Z(e,void 0,void 0,(function(){return Q(this,(function(e){switch(e.label){case 0:return t?[4,t()]:[3,2];case 1:e.sent(),e.label=2;case 2:return this.close(),[2]}}))}))}}})),Object(r["h"])(P,{attrs:{footerHide:!0,width:t.width||700,height:t.height||400,title:t.title,offset:o,bodyStyle:n},props:{value:this.modalVisible},on:{"on-close":function(){e.close()},"on-minimize":function(t){e.onMinimize(t)},"on-resize":function(t,n){e.onResize(t,n)},"on-resized":function(){e.onResized()}},ref:"viewModalRef"},[Object(r["h"])("transition",{props:{name:"fade"}},[i])])}}),u=a.$mount(),document.body.appendChild(u.$el),a.modalVisible=!0,ne.addInstance(t.fullPath,a),ne.addOffset()}catch(s){console.error("CREATE_MODAL",s)}return[2]}))}))})()}function ie(e){var t=X["a"].prepareMenu(e);return re(t)}},5191:function(e,t,n){"use strict";n.r(t);var r=n("2ef0"),i=n("dae4"),o=n("8ccc"),a=n("ae62"),u=n("e2da"),c=n("eb44");function s(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */s=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),u=new P(r||[]);return i(a,"_invoke",{value:C(e,n,u)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",p="suspendedYield",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var _={};l(_,a,(function(){return this}));var x=Object.getPrototypeOf,O=x&&x(x(L([])));O&&O!==n&&r.call(O,a)&&(_=O);var j=w.prototype=y.prototype=Object.create(_);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,o,a,u){var c=h(e[i],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function C(t,n,r){var i=d;return function(o,a){if(i===m)throw Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var c=M(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var s=h(t,n,r);if("normal"===s.type){if(i=r.done?v:p,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=v,r.method="throw",r.arg=s.arg)}}}function M(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,M(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,i(j,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,c,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},k(S.prototype),l(S.prototype,u,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new S(f(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(j),l(j,c,"Generator"),l(j,a,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function l(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){l(o,r,i,a,u,"next",e)}function u(e){l(o,r,i,a,u,"throw",e)}a(void 0)}))}}var h=function(e){return Object(r["get"])(e,"meta.cache",!1)};function d(e,t){var n=t.opened.find((function(e){return u["a"].isUrlEqual(e.fullPath,t.current)}))||{meta:{},pid:Object(r["uniqueId"])("pid_"),pst:c["a"].defaultPageState()},i=Object.assign(Object(r["cloneDeep"])(n),{meta:Object(r["cloneDeep"])(e.meta),name:e.name,fullPath:e.fullPath}),o=e.query;return"_blank"===o["_pid"]?(i.pid=Object(r["uniqueId"])("pid_"),i):i}function p(e,t){if(Object(r["isEmpty"])(t.opened))return!0;if(e.query["_tab"]||e.params["_tab"])return!0;var n=t.pool.find((function(t){return t.name===e.name&&t.path===e.path}));if(n)return!0;var i=e.matched[e.matched.length-1],o=i.parent;return!(i.meta.hidden||!(i.meta.tab||o&&o.meta.tabForChild))||void 0}function m(e,t){var n=-1,r=null;return t&&(r=e.opened.find((function(e,r){var i=u["a"].isUrlEqual(e.fullPath,t);return n=i?r:n,i}))),{page:r,index:n}}t["default"]={namespaced:!0,state:{pool:[],opened:(Object(i["config"])().page||{}).opened,current:"",keepAlive:[]},getters:{currentPage:function(e){var t=m(e,e.current);return t.page},defaultRouterName:function(){return Object(i["config"])().page.defaultRouterName||"index"}},actions:{openedLoad:function(e){var t=e.state,n=e.commit,r=e.dispatch;return e.rootState,new Promise(function(){var e=f(s().mark((function e(u){var c,l;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r("admin/db/get",{dbName:"sys",path:"page.opened",defaultValue:(Object(i["config"])().page||{}).opened,user:!0},{root:!0});case 2:c=e.sent,l=[],t.opened=c.map((function(e){if("/index"===e.fullPath)return l.push(1),e;var n=t.pool.find((function(t){return t.name===e.name}));return l.push(n?1:0),n&&n.path.includes(":")?Object.assign({},n,e):Object.assign({},e,n)})).filter((function(e,t){return 1===l[t]})).filter((function(e){var t=Object(o["b"])(a["a"].siderMenus()),n=t.find((function(t){return t.path===e.fullPath})),r=!0;return n&&n.auth&&(i["PermissionService"].hasPerm(n.auth)||(r=!1)),r})),n("keepAliveRefresh"),u();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},opened2db:function(e){var t=e.state,n=e.dispatch;return new Promise(function(){var e=f(s().mark((function e(r){return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:n("admin/db/set",{dbName:"sys",path:"page.opened",value:t.opened,user:!0},{root:!0}),r();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},openedUpdate:function(e,t){var n=e.state,i=(e.commit,e.dispatch),o=t.index,a=t.name,u=t.params,c=t.query,l=t.fullPath,h=t.meta,d=t.pst,p=t.prePage;return new Promise(function(){var e=f(s().mark((function e(t){var f;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return f=n.opened[o],f.name=a||f.name,f.params=u||f.params,f.query=c||f.query,f.fullPath=l||f.fullPath,f.meta=h?Object(r["cloneDeep"])(h):f.meta,f.pst=d||f.pst,f.prePage=p||f.prePage,f.lastUpdated=(new Date).getTime(),n.opened.splice(o,1,f),e.next=12,i("opened2db");case 12:t();case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},currentUpdate:function(e,t){var n=e.state,i=(e.commit,e.dispatch),o=t.name,a=t.params,u=t.query,c=t.fullPath,l=t.meta,h=t.pst,d=t.prePage;return new Promise(function(){var e=f(s().mark((function e(t){return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:setTimeout(f(s().mark((function e(){var f,p,v,g;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return f=m(n,n.current),p=f.index,v=f.page,g=v&&v.meta?v.meta.title:"",l&&l.title&&(g=l.title),v.name=o||v.name,v.params=a||v.params,v.query=u||v.query,v.fullPath=c||v.fullPath,v.meta=l?Object(r["cloneDeep"])(l):v.meta,v.pst=h||v.pst,v.prePage=d||v.prePage,v.lastUpdated=(new Date).getTime(),v.meta.title=g,n.opened.splice(p,1,v),e.next=17,i("opened2db");case 17:t();case 18:case"end":return e.stop()}}),e)}))),0);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},add:function(e,t){var n=e.state,i=e.commit,o=e.dispatch,a=t.tag,u=t.params,c=t.query,l=t.fullPath,d=t.prePage;return new Promise(function(){var e=f(s().mark((function e(t){var f;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return f=a,f.tid=Object(r["uniqueId"])("tid_"),f.params=u||f.params,f.query=c||f.query,f.fullPath=l||f.fullPath,f.prePage=d||f.prePage,f.lastUpdated=(new Date).getTime(),n.opened.push(f),h(f)&&i("keepAlivePush",a.name),e.next=11,o("opened2db");case 11:t();case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},open:function(e,t){var n=e.state,r=e.commit,i=e.dispatch,o=t.to,a=t.from,u=o.name,c=o.params,l=o.query,h=o.fullPath,v=o.meta;return new Promise(function(){var e=f(s().mark((function e(t){var f,g,y,b,w,_;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("/"!==o.path){e.next=2;break}return e.abrupt("return");case 2:if((o.title||o.query.tabTitle)&&(v.title=o.title||o.query.tabTitle),f=a&&a.fullPath,m(n,f).index<0&&(f=n.current),g=m(n,o.fullPath),y=g.index,b=g.page,!b){e.next=13;break}return e.next=11,i("openedUpdate",{index:y,name:u,params:c,query:l,fullPath:h,prePage:f});case 11:e.next=22;break;case 13:if(w=p(o,n),!w){e.next=20;break}return _=d(o,n),e.next=18,i("add",{tag:_,params:c,query:l,fullPath:h,prePage:f});case 18:e.next=22;break;case 20:return e.next=22,i("currentUpdate",{name:u,params:c,query:l,fullPath:h,meta:v,prePage:f});case 22:r("currentSet",h),r("oneOpenedSet"),t();case 25:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},close:function(e,t){var n=e.state,r=e.commit,o=e.dispatch,a=t.tagName;return new Promise(function(){var e=f(s().mark((function e(t){var c,l,f,h,d,p,v,g,y,b,w,_,x,O;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(c={page:n.opened[0],index:0},l=u["a"].isUrlEqual(n.current,a||n.current),f=m(n,a||n.current),!l){e.next=18;break}if(h=m(n,f.page.prePage),!h.page){e.next=9;break}c=h,e.next=18;break;case 9:d=n.opened.length,p=0;case 11:if(!(p<d)){e.next=18;break}if(!u["a"].isUrlEqual(n.opened[p].fullPath,a)){e.next=15;break}return d>1?p===d-1?(c.page=n.opened[p-1],c.index=p-1):(c.page=n.opened[p+1],c.index=p+1):c={index:-1},e.abrupt("break",18);case 15:p++,e.next=11;break;case 18:return f.index>=0&&(r("keepAliveRemove",n.opened[f.index]),n.opened.splice(f.index,1)),e.next=21,o("opened2db");case 21:l&&(v=c.page,g=v.fullPath,y=void 0===g?"/":g,b=v.params,w=void 0===b?{}:b,_=v.query,x=void 0===_?{}:_,delete x["_cache_opener"],delete x["_no_cache"],O={path:y,params:w,query:x},Object(i["router"])().push(O,(function(){}))),r("oneOpenedSet"),t();case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeLeft:function(e,t){var n=e.state,r=e.commit,o=e.dispatch,a=void 0===t?{}:t,c=a.pageSelect;return new Promise(function(){var e=f(s().mark((function e(t){var a,l;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=c||n.current,l=0,n.opened.forEach((function(e,t){u["a"].isUrlEqual(e.fullPath,a)&&(l=t)})),l>0&&n.opened.splice(0,l).forEach((function(e){return r("keepAliveRemove",e)})),n.current=a,Object(i["router"])().app.$route.fullPath!==a&&Object(i["router"])().push(a),e.next=8,o("opened2db");case 8:r("oneOpenedSet"),t();case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeRight:function(e,t){var n=e.state,r=e.commit,o=e.dispatch,a=void 0===t?{}:t,c=a.pageSelect;return new Promise(function(){var e=f(s().mark((function e(t){var a,l;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=c||n.current,l=0,n.opened.forEach((function(e,t){u["a"].isUrlEqual(e.fullPath,a)&&(l=t)})),n.opened.splice(l+1).forEach((function(e){return r("keepAliveRemove",e)})),n.current=a,Object(i["router"])().app.$route.fullPath!==a&&Object(i["router"])().push(a),e.next=8,o("opened2db");case 8:r("oneOpenedSet"),t();case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeOther:function(e,t){var n=e.state,r=e.commit,o=e.dispatch,a=void 0===t?{}:t,c=a.pageSelect;return new Promise(function(){var e=f(s().mark((function e(t){var a,l;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=c||n.current,l=0,n.opened.forEach((function(e,t){u["a"].isUrlEqual(e.fullPath,a)&&(l=t)})),0===l?n.opened.splice(1).forEach((function(e){return r("keepAliveRemove",e)})):(n.opened.splice(l+1).forEach((function(e){return r("keepAliveRemove",e)})),n.opened.splice(0,l).forEach((function(e){return r("keepAliveRemove",e)}))),n.current=a,Object(i["router"])().app.$route.fullPath!==a&&Object(i["router"])().push(a),e.next=8,o("opened2db");case 8:r("oneOpenedSet"),t();case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeAll:function(e){var t=e.state,n=e.getters,r=e.commit,o=e.dispatch;return new Promise(function(){var e=f(s().mark((function e(a){return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.opened.splice(0).forEach((function(e){return r("keepAliveRemove",e)})),e.next=3,o("opened2db");case 3:Object(i["router"])().app.$route.name!==n.defaultRouterName&&Object(i["router"])().push({path:"/"},(function(){})),r("oneOpenedSet"),a();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},mutations:{keepAliveRefresh:function(e){e.keepAlive=e.opened.filter((function(e){return h(e)})).map((function(e){return e.name}))},keepAliveRemove:function(e,t){var n=[].concat(e.keepAlive),o=t,a=null;Object(r["isObject"])(t)&&(o=t.name,a=t);var u=n.findIndex((function(e){return e===o}));if(-1!==u&&(n.splice(u,1),e.keepAlive=n),a){var c=a.fullPath;c.includes("?")&&(c=c.substr(0,c.indexOf("?"))),i["KeepAliveManager"].cleanByRoute({path:c,params:a.params||{},query:a.query||{},matched:[]})}},keepAlivePush:function(e,t){var n=[].concat(e.keepAlive);n.push(t),e.keepAlive=n},keepAliveClean:function(e){e.keepAlive=[]},currentSet:function(e,t){e.current=t},init:function(e,t){var n=e.pool,r=function(e){e.forEach((function(e){if(e.children)r(e.children);else if(!e.hidden||e.meta&&!e.meta.hidden){var t=e.meta,i=e.name,o=e.path;n.push({meta:t,name:i,path:o})}}))};r(t),e.pool=n},oneOpenedSet:function(e){if(1==e.opened.length)e.opened=e.opened.map((function(e){return e.meta.closable=!1,e}));else{var t=Object(r["cloneDeep"])(e.opened[0]);t&&t.meta&&!1===t.meta.closable&&(delete t.meta.closable,e.opened[0]=t)}}}}},"5a0c":function(e,t,n){e.exports=n("0fbf")("./node_modules/dayjs/dayjs.min.js")},"5a13":function(e,t,n){var r={"./db.js":"a32f","./i18n.js":"eaca","./layout.js":"7673","./log.js":"4a19","./menu.ts":"cf14","./page.js":"5191","./user.js":"9164"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id="5a13"},"5c4b":function(e,t,n){"use strict";n.r(t);var r=n("b895"),i=n("7613");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var a=n("2877"),u=Object(a["a"])(i["default"],r["a"],r["b"],!1,null,null,null);t["default"]=u.exports},"5e20":function(e,t,n){"use strict";var r=n("a78e"),i=n.n(r),o=n("dae4"),a={set:function(e,t,n){void 0===e&&(e="default"),void 0===t&&(t=""),void 0===n&&(n={});var r={expires:Object(o["config"])().cookiesExpires};Object.assign(r,n),i.a.set("admin-"+e,t,r)},get:function(e){return void 0===e&&(e="default"),i.a.get("admin-"+e)},getAll:function(){return i.a.get()},remove:function(e){return void 0===e&&(e="default"),i.a.remove("admin-"+e)}};t["a"]=a},"5fb7":function(e,t){},6408:function(e,t,n){!function(t,r){e.exports=r(n("a026"))}("undefined"!=typeof self&&self,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/locale/",n(n.s=33)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r||void 0!==window.iview&&("langs"in iview||(iview.langs={}),iview.langs[e.i.locale]=e)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)).default.prototype.$isServer},1:function(t,n){t.exports=e},33:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={i:{locale:"zh-CN",select:{placeholder:"请选择",noMatch:"无匹配数据",loading:"加载中"},table:{noDataText:"暂无数据",noFilteredDataText:"暂无筛选结果",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},datepicker:{selectDate:"选择日期",selectTime:"选择时间",startTime:"开始时间",endTime:"结束时间",clear:"清空",ok:"确定",datePanelLabel:"[yyyy年] [m月]",month:"月",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",year:"年",weekStartDay:"0",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{m1:"1月",m2:"2月",m3:"3月",m4:"4月",m5:"5月",m6:"6月",m7:"7月",m8:"8月",m9:"9月",m10:"10月",m11:"11月",m12:"12月"}},transfer:{titles:{source:"源列表",target:"目的列表"},filterPlaceholder:"请输入搜索内容",notFoundText:"列表为空"},modal:{okText:"确定",cancelText:"取消"},poptip:{okText:"确定",cancelText:"取消"},drawer:{okText:"确定",cancelText:"取消"},page:{prev:"上一页",next:"下一页",total:"共",item:"条",items:"条",prev5:"向前 5 页",next5:"向后 5 页",page:"条/页",goto:"跳至",p:"页"},rate:{star:"星",stars:"星"},time:{before:"前",after:"后",just:"刚刚",seconds:"秒",minutes:"分钟",hours:"小时",days:"天"},tree:{emptyText:"暂无数据"}}};(0,function(e){return e&&e.__esModule?e:{default:e}}(n(0)).default)(r),t.default=r}})}))},"6ade":function(e,t){e.exports=_$fly_vue_iview_pro_},"6bc3":function(e,t,n){"use strict";n.d(t,"b",(function(){return s}));var r=n("5e20"),i=n("a53c"),o=n("1b5c"),a=n("dae4"),u={cookies:r["a"],log:i["a"],db:o["a"]};function c(e){return void 0===e&&(e=""),window&&window.$t?0===e.indexOf("$t:")?window.$t(e.split("$t:")[1]):e:a["i18n"].t(e.split("$t:")[1])}function s(e){if("requestAnimationFrame"in window)return window.requestAnimationFrame(e);setTimeout(e,16)}u.title=function(e){var t=e.title,n=e.count;t=c(t);var r=c(Object(a["config"])().titleSuffix),i=t;r&&(i=t?t+" - "+r:r),n&&(i="("+n+"条消息)"+i),window.document.title=i},u.event=function(e){var t=Object.assign({returnValue:null,preventDefault:function(){this.returnValue=!1}},e);return t},t["a"]=u},7074:function(e,t,n){"use strict";var r=n("2ef0"),i=n("2655");e.exports=function(e){if("object"!==typeof e)throw new Error("An adapter must be provided, see https://github.com/typicode/lowdb/#usage");var t=r.runInContext(),n=t.chain({});function o(e){return n.__wrapped__=e,n}return t.prototype.write=t.wrap(t.prototype.value,(function(e){var t=e.apply(this);return n.write(t)})),n._=t,n.read=function(){var t=e.read();return i(t)?t.then(o):o(t)},n.write=function(t){var r=e.write(n.getState());return i(r)?r.then((function(){return t})):t},n.getState=function(){return n.__wrapped__},n.setState=function(e){return o(e)},n.read()}},"70da":function(e,t,n){e.exports=n("6ade")("./node_modules/@fly-vue/iview-pro/index.js")},"71e8":function(e,t,n){e.exports=n.p+"modules/fly_vue_iview_admin/assets/img/nav-theme-dark.d6670ffe.svg"},"72bf":function(e,t,n){e.exports=n("0fbf")("./node_modules/query-string/index.js")},7613:function(e,t,n){"use strict";n.r(t);var r=n("2710"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},7673:function(e,t,n){"use strict";n.r(t);var r=n("93bf"),i=n.n(r),o=n("dae4");t["default"]={namespaced:!0,state:Object.assign({},Object(o["config"])().layout,{keepMenuCollapse:null,isMobile:!1,isTablet:!1,isDesktop:!0,isFullscreen:!1,historyLayout:{}}),getters:{menuCollapse:function(e){return e.menuCollapse},keepMenuCollapse:function(e){return e.keepMenuCollapse}},mutations:{setDevice:function(e,t){e.isMobile=!1,e.isTablet=!1,e.isDesktop=!1,e["is"+t]=!0},updateMenuCollapse:function(e,t){e.menuCollapse=t},setKeepMenuCollapse:function(e,t){e.keepMenuCollapse=t},setFullscreen:function(e,t){e.isFullscreen=t},updateLayoutSetting:function(e,t){var n=t.key,r=t.value;switch(e[n]=r,n){case"themeDark":!0===r?(e["siderTheme"]="dark",e["headerTheme"]="dark",document.getElementsByTagName("body")[0].classList.add("ivu-theme-dark")):document.getElementsByTagName("body")[0].classList.remove("ivu-theme-dark");break;case"spaceSize":"default"==r?document.getElementsByTagName("body")[0].classList.remove("bin-layout-space-samll"):document.getElementsByTagName("body")[0].classList.add("bin-layout-space-samll");break;default:break}}},actions:{listenFullscreen:function(e){var t=e.commit;return new Promise((function(e){i.a.enabled&&i.a.on("change",(function(){i.a.isFullscreen||t("setFullscreen",!1)})),e()}))},toggleFullscreen:function(e,t){var n=e.commit;return new Promise((function(e){"boolean"===typeof t?t?i.a.isFullscreen||(i.a.request(),n("setFullscreen",!0)):i.a.isFullscreen&&(i.a.exit(),n("setFullscreen",!1)):i.a.isFullscreen?(i.a.exit(),n("setFullscreen",!1)):(i.a.request(),n("setFullscreen",!0)),e()}))}}}},"782f":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[e._v(" 当前模式为预加载模式"),t("p"),t("input",{directives:[{name:"model",rawName:"v-model",value:e.params,expression:"params"}],staticStyle:{width:"80%"},domProps:{value:e.params},on:{input:function(t){t.target.composing||(e.params=t.target.value)}}}),e._v(" "),t("br"),t("button",{on:{click:e.quitPreloadMode}},[e._v("退出")])])},i=[],o={data:function(){return{params:null}},mounted:function(){},methods:{quitPreloadMode:function(){window.postMessage({type:"onSignIn",params:this.params?{}:JSON.parse(this.params)},"*")}}},a=o,u=n("2877"),c=Object(u["a"])(a,r,i,!1,null,null,null);t["default"]=c.exports},"8afd":function(e,t,n){"use strict";n.r(t),n.d(t,"createApp",(function(){return s})),n.d(t,"Vue2",(function(){return a})),n.d(t,"isVue2",(function(){return i})),n.d(t,"isVue3",(function(){return o})),n.d(t,"install",(function(){return c})),n.d(t,"warn",(function(){return u})),n.d(t,"Fragment",(function(){return f})),n.d(t,"Transition",(function(){return h})),n.d(t,"TransitionGroup",(function(){return d})),n.d(t,"Teleport",(function(){return p})),n.d(t,"Suspense",(function(){return m})),n.d(t,"KeepAlive",(function(){return v})),n.d(t,"hasInjectionContext",(function(){return g}));var r=n("a026");n.d(t,"Vue",(function(){return r["default"]})),n.d(t,"EffectScope",(function(){return r["EffectScope"]})),n.d(t,"computed",(function(){return r["computed"]})),n.d(t,"customRef",(function(){return r["customRef"]})),n.d(t,"defineAsyncComponent",(function(){return r["defineAsyncComponent"]})),n.d(t,"defineComponent",(function(){return r["defineComponent"]})),n.d(t,"del",(function(){return r["del"]})),n.d(t,"effectScope",(function(){return r["effectScope"]})),n.d(t,"getCurrentInstance",(function(){return r["getCurrentInstance"]})),n.d(t,"getCurrentScope",(function(){return r["getCurrentScope"]})),n.d(t,"h",(function(){return r["h"]})),n.d(t,"inject",(function(){return r["inject"]})),n.d(t,"isProxy",(function(){return r["isProxy"]})),n.d(t,"isReactive",(function(){return r["isReactive"]})),n.d(t,"isReadonly",(function(){return r["isReadonly"]})),n.d(t,"isRef",(function(){return r["isRef"]})),n.d(t,"isShallow",(function(){return r["isShallow"]})),n.d(t,"markRaw",(function(){return r["markRaw"]})),n.d(t,"mergeDefaults",(function(){return r["mergeDefaults"]})),n.d(t,"nextTick",(function(){return r["nextTick"]})),n.d(t,"onActivated",(function(){return r["onActivated"]})),n.d(t,"onBeforeMount",(function(){return r["onBeforeMount"]})),n.d(t,"onBeforeUnmount",(function(){return r["onBeforeUnmount"]})),n.d(t,"onBeforeUpdate",(function(){return r["onBeforeUpdate"]})),n.d(t,"onDeactivated",(function(){return r["onDeactivated"]})),n.d(t,"onErrorCaptured",(function(){return r["onErrorCaptured"]})),n.d(t,"onMounted",(function(){return r["onMounted"]})),n.d(t,"onRenderTracked",(function(){return r["onRenderTracked"]})),n.d(t,"onRenderTriggered",(function(){return r["onRenderTriggered"]})),n.d(t,"onScopeDispose",(function(){return r["onScopeDispose"]})),n.d(t,"onServerPrefetch",(function(){return r["onServerPrefetch"]})),n.d(t,"onUnmounted",(function(){return r["onUnmounted"]})),n.d(t,"onUpdated",(function(){return r["onUpdated"]})),n.d(t,"provide",(function(){return r["provide"]})),n.d(t,"proxyRefs",(function(){return r["proxyRefs"]})),n.d(t,"reactive",(function(){return r["reactive"]})),n.d(t,"readonly",(function(){return r["readonly"]})),n.d(t,"ref",(function(){return r["ref"]})),n.d(t,"set",(function(){return r["set"]})),n.d(t,"shallowReactive",(function(){return r["shallowReactive"]})),n.d(t,"shallowReadonly",(function(){return r["shallowReadonly"]})),n.d(t,"shallowRef",(function(){return r["shallowRef"]})),n.d(t,"toRaw",(function(){return r["toRaw"]})),n.d(t,"toRef",(function(){return r["toRef"]})),n.d(t,"toRefs",(function(){return r["toRefs"]})),n.d(t,"triggerRef",(function(){return r["triggerRef"]})),n.d(t,"unref",(function(){return r["unref"]})),n.d(t,"useAttrs",(function(){return r["useAttrs"]})),n.d(t,"useCssModule",(function(){return r["useCssModule"]})),n.d(t,"useCssVars",(function(){return r["useCssVars"]})),n.d(t,"useListeners",(function(){return r["useListeners"]})),n.d(t,"useSlots",(function(){return r["useSlots"]})),n.d(t,"version",(function(){return r["version"]})),n.d(t,"watch",(function(){return r["watch"]})),n.d(t,"watchEffect",(function(){return r["watchEffect"]})),n.d(t,"watchPostEffect",(function(){return r["watchPostEffect"]})),n.d(t,"watchSyncEffect",(function(){return r["watchSyncEffect"]}));var i=!0,o=!1,a=r["default"],u=r["default"].util.warn;function c(){}function s(e,t){var n,i={},o={config:r["default"].config,use:r["default"].use.bind(r["default"]),mixin:r["default"].mixin.bind(r["default"]),component:r["default"].component.bind(r["default"]),provide:function(e,t){return i[e]=t,this},directive:function(e,t){return t?(r["default"].directive(e,t),o):r["default"].directive(e)},mount:function(o,a){return n||(n=new r["default"](Object.assign({propsData:t},e,{provide:Object.assign(i,e.provide)})),n.$mount(o,a),n)},unmount:function(){n&&(n.$destroy(),n=void 0)}};return o}function l(e){return{setup(){throw new Error("[vue-demi] "+e+" is not supported in Vue 2. It's provided to avoid compiler errors.")}}}var f=l("Fragment"),h=l("Transition"),d=l("TransitionGroup"),p=l("Teleport"),m=l("Suspense"),v=l("KeepAlive");function g(){return!!Object(r["getCurrentInstance"])()}},"8ccc":function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return f})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return d}));var r=n("2ef0");function i(e,t){var n=[];t.forEach((function(e){var t=e.header||"",r=o(e,t);n.push({path:e.path,header:t}),r.forEach((function(e){return n.push(e)}))}));var r=n.find((function(t){return t.path===e}));return r?r.header:null}function o(e,t){return e.children&&e.children.length?e.children.reduce((function(e,n){e.push({path:n.path,header:t});var r=o(n,t);return e.concat(r)}),[]):[e]}function a(e,t){return void 0===t&&(t=""),t?e.filter((function(e){return e.header===t})):e}function u(e,t){var n=[];t.forEach((function(e){var t=c(e,[]);n.push({path:e.path,openNames:[]}),t.forEach((function(e){return n.push(e)}))}));var r=n.find((function(t){return t.path===e}));return r?r.openNames:[]}function c(e,t){if(e.children&&e.children.length){var n=t.concat([e.id]);return e.children.reduce((function(e,t){e.push({path:t.path,openNames:n});var r=c(t,n);return e.concat(r)}),[])}return[e].map((function(e){return{path:e.path,openNames:t}}))}function s(e){var t=[];return e.forEach((function(e){if(e.children&&e.children.length){var n=l(e);n.forEach((function(e){return t.push(e)}))}else t.push(e)})),t}function l(e){return e.children&&e.children.length?e.children.reduce((function(e,t){var n=l(t);return e.concat(n)}),[]):[e]}function f(e,t){return e.forEach((function(e){var n={};for(var i in e)"children"!==i&&(n[i]=Object(r["cloneDeep"])(e[i]));t.push(n),e.children&&f(e.children,t)})),t}function h(e,t){var n=!1;return t.forEach((function(t){e.includes(t)&&(n=!0)})),n}function d(e){void 0===e&&(e=32);for(var t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",n=t.length,r="",i=0;i<e;i++)r+=t.charAt(Math.floor(Math.random()*n));return r}},"90c0":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",[t("Exception",{attrs:{type:"500","img-color":"",desc:e.$t("iflyAdmin.page.exception.e500"),"back-text":e.$t("iflyAdmin.page.exception.btn")}})],1)},i=[]},9164:function(e,t,n){"use strict";function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),u=new P(r||[]);return o(a,"_invoke",{value:C(e,n,u)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",p="suspendedYield",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var _={};l(_,u,(function(){return this}));var x=Object.getPrototypeOf,O=x&&x(x(L([])));O&&O!==n&&i.call(O,u)&&(_=O);var j=w.prototype=y.prototype=Object.create(_);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(r,o,a,u){var c=h(e[r],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&i.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var r;o(this,"_invoke",{value:function(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}})}function C(t,n,r){var i=d;return function(o,a){if(i===m)throw Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var c=M(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var s=h(t,n,r);if("normal"===s.type){if(i=r.done?v:p,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=v,r.method="throw",r.arg=s.arg)}}}function M(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,M(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(i.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},k(S.prototype),l(S.prototype,c,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new S(f(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(j),l(j,s,"Generator"),l(j,u,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function i(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function u(e){i(a,r,o,u,c,"next",e)}function c(e){i(a,r,o,u,c,"throw",e)}u(void 0)}))}}n.r(t),t["default"]={namespaced:!0,state:{info:{}},actions:{set:function(e,t){var n=e.state,i=e.dispatch;return new Promise(function(){var e=o(r().mark((function e(o){return r().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.info=t,e.next=3,i("admin/db/set",{dbName:"sys",path:"user.info",value:t,user:!0},{root:!0});case 3:o();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},load:function(e){var t=e.state,n=e.dispatch;return new Promise(function(){var e=o(r().mark((function e(i){return r().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n("admin/db/get",{dbName:"sys",path:"user.info",defaultValue:{},user:!0},{root:!0});case 2:t.info=e.sent,i();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}}},"93bf":function(e,t,n){
1
+ (window["webpackJsonp_$fly_vue_lcdp_iview_"]=window["webpackJsonp_$fly_vue_lcdp_iview_"]||[]).push([["vendors~lcdp-renderer-components"],{bbda:function(e,t,n){(function(t,n){e.exports=n()})(window,(function(){return function(e){function t(t){for(var n,i,o=t[0],a=t[1],u=0,c=[];u<o.length;u++)i=o[u],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&c.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);s&&s(t);while(c.length)c.shift()()}var n={},r={app:0};function i(e){return o.p+"modules/fly_vue_iview_admin/"+({"flyvue-admin-components":"flyvue-admin-components","flyvue-admin-layout":"flyvue-admin-layout"}[e]||e)+".e788be766292ea5dad08.js"}function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=a);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=i(e);var s=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(l);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}r[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var a=window["webpackJsonp_$fly_vue_iview_admin_"]=window["webpackJsonp_$fly_vue_iview_admin_"]||[],u=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var s=u;return o(o.s=0)}({0:function(e,t,n){e.exports=n("4294")},"0cc9":function(e,t,n){"use strict";var r={locale:"zh-CN",language:"简体中文",iflyAdmin:{base:{min:"最小化",max:"最大化",close:"关闭"},basicLayout:{search:{placeholder:"搜索...",cancel:"取消"},user:{center:"个人中心",setting:"设置",logOut:"退出登录"},logout:{confirmTitle:"退出登录确认",confirmContent:"您确定退出登录当前账户吗?打开的标签页和个人设置将会保存。"},tabs:{left:"关闭左侧",right:"关闭右侧",other:"关闭其它",all:"全部关闭"}},login:{title:"登录",remember:"自动登录",forgot:"忘记密码",submit:"登录",other:"其它登录方式",signup:"注册账户"},register:{title:"注册",submit:"注册",other:"使用已有账户登录"},exception:{e403:"抱歉,你无权访问该页面",e404:"抱歉,你访问的页面不存在",e500:"抱歉,服务器出错了",btn:"返回首页"}}},i={locale:"zh-TW",language:"繁体中文",iflyAdmin:{base:{min:"最小化",max:"最大化",close:"關閉"},basicLayout:{search:{placeholder:"搜索...",cancel:"取消"},user:{center:"個人中心",setting:"設置",logOut:"退出登錄"},logout:{confirmTitle:"退出登錄確認",confirmContent:"您確定退出登錄當前賬戶嗎?打開的標籤頁和個人設置將會保存。"},tabs:{left:"關閉左側",right:"關閉右側",other:"關閉其它",all:"全部關閉"}},login:{title:"登錄",remember:"自動登錄",forgot:"忘記密碼",submit:"登錄",other:"其它登錄方式",signup:"註冊賬戶"},register:{title:"註冊",submit:"註冊",other:"使用已有賬戶登錄"},exception:{e403:"抱歉,你無權訪問該頁面",e404:"抱歉,你訪問的頁面不存在",e500:"抱歉,伺服器出錯了",btn:"返回首頁"}}},o={locale:"en-US",language:"English",iflyAdmin:{base:{min:"Min",max:"Max",close:"Close"},basicLayout:{search:{placeholder:"Search...",cancel:"Cancel"},user:{center:"My home",setting:"Setting",logOut:"Log out"},logout:{confirmTitle:"Logout confirmation",confirmContent:"Are you sure you are logged out of your current account? Open tabs and personal settings will be saved."},tabs:{left:"Close left",right:"Close right",other:"Close other",all:"Close all"}},login:{title:"Login",remember:"Remember me",forgot:"Forgot your password?",submit:"Login",other:"Sign in with",signup:"Sign up"},register:{title:"Register",submit:"Register",other:"Already have an account?"},exception:{e403:"Sorry, you don't have access to this page.",e404:"Sorry, the page you visited does not exist.",e500:"Sorry, the server is reporting an error.",btn:"Back to home"}}},a=n("6408"),u=n.n(a),c=n("6159"),s=n.n(c),l=n("ec0c"),f=n.n(l);t["a"]={"zh-CN":Object.assign(r,u.a),"zh-TW":Object.assign(i,s.a),"en-US":Object.assign(o,f.a)}},"0de5":function(e,t,n){},"0fbf":function(e,t){e.exports=_$fly_vue_core_},"14fe":function(e,t,n){e.exports=n.p+"modules/fly_vue_iview_admin/assets/img/header-theme-dark.7e6c9b32.svg"},"190f":function(e,t,n){"use strict";n("cbf0")},"1b32":function(e,t,n){},"1b5c":function(e,t,n){"use strict";var r,i=n("7074"),o=n.n(i),a=n("fd77"),u=n.n(a),c=n("dae4"),s=Object(c["config"])(),l=null!=(r=s.platformType)?r:null,f=l?l+"-admin":"admin",h=new u.a(f),d=o()(h);d.defaults({sys:{},database:{},requestCache:[]}).write(),t["a"]=d},"23b3":function(e,t){},2655:function(e,t){function n(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}e.exports=n,e.exports.default=n},2710:function(e,t){},2877:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,u){var c,s="function"===typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},s._ssrRegister=c):i&&(c=u?function(){i.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(s.functional){s._injectStyles=c;var l=s.render;s.render=function(e,t){return c.call(t),l(e,t)}}else{var f=s.beforeCreate;s.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:s}}n.d(t,"a",(function(){return r}))},"2c28":function(e,t,n){"use strict";(function(e){n.d(t,"useColorMode",(function(){return _}));var r=n("3654"),i=n("f890");function o(e){var t;const n=Object(r["toValue"])(e);return null!=(t=null==n?void 0:n.$el)?t:n}const a=r["isClient"]?window:void 0;function u(...e){let t,n,u,c;if("string"===typeof e[0]||Array.isArray(e[0])?([n,u,c]=e,t=a):[t,n,u,c]=e,!t)return r["noop"];Array.isArray(n)||(n=[n]),Array.isArray(u)||(u=[u]);const s=[],l=()=>{s.forEach(e=>e()),s.length=0},f=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),h=Object(i["watch"])(()=>[o(t),Object(r["toValue"])(c)],([e,t])=>{if(l(),!e)return;const i=Object(r["isObject"])(t)?{...t}:t;s.push(...n.flatMap(t=>u.map(n=>f(e,t,n,i))))},{immediate:!0,flush:"post"}),d=()=>{h(),l()};return Object(r["tryOnScopeDispose"])(d),d}function c(){const e=Object(i["ref"])(!1),t=Object(i["getCurrentInstance"])();return t&&Object(i["onMounted"])(()=>{e.value=!0},i["isVue2"]?void 0:t),e}function s(e){const t=c();return Object(i["computed"])(()=>(t.value,Boolean(e())))}function l(e,t={}){const{window:n=a}=t,o=s(()=>n&&"matchMedia"in n&&"function"===typeof n.matchMedia);let u;const c=Object(i["ref"])(!1),l=e=>{c.value=e.matches},f=()=>{u&&("removeEventListener"in u?u.removeEventListener("change",l):u.removeListener(l))},h=Object(i["watchEffect"])(()=>{o.value&&(f(),u=n.matchMedia(Object(r["toValue"])(e)),"addEventListener"in u?u.addEventListener("change",l):u.addListener(l),c.value=u.matches)});return Object(r["tryOnScopeDispose"])(()=>{h(),f(),u=void 0}),c}r["isClient"]&&window.document,r["isClient"]&&window.navigator,r["isClient"]&&window.location;const f="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{},h="__vueuse_ssr_handlers__",d=p();function p(){return h in f||(f[h]=f[h]||{}),f[h]}function m(e,t){return d[e]||t}function v(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"===typeof e?"boolean":"string"===typeof e?"string":"object"===typeof e?"object":Number.isNaN(e)?"any":"number"}const g={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},y="vueuse-storage";function b(e,t,n,o={}){var c;const{flush:s="pre",deep:l=!0,listenToStorageChanges:f=!0,writeDefaults:h=!0,mergeDefaults:d=!1,shallow:p,window:b=a,eventFilter:w,onError:_=(e=>{console.error(e)}),initOnMounted:x}=o,O=(p?i["shallowRef"]:i["ref"])("function"===typeof t?t():t);if(!n)try{n=m("getDefaultStorage",()=>{var e;return null==(e=a)?void 0:e.localStorage})()}catch(I){_(I)}if(!n)return O;const j=Object(r["toValue"])(t),k=v(j),S=null!=(c=o.serializer)?c:g[k],{pause:C,resume:M}=Object(r["pausableWatch"])(O,()=>T(O.value),{flush:s,deep:l,eventFilter:w});function E(t,r){b&&b.dispatchEvent(new CustomEvent(y,{detail:{key:e,oldValue:t,newValue:r,storageArea:n}}))}function T(t){try{const r=n.getItem(e);if(null==t)E(r,null),n.removeItem(e);else{const i=S.write(t);r!==i&&(n.setItem(e,i),E(r,i))}}catch(I){_(I)}}function P(t){const r=t?t.newValue:n.getItem(e);if(null==r)return h&&null!=j&&n.setItem(e,S.write(j)),j;if(!t&&d){const e=S.read(r);return"function"===typeof d?d(e,j):"object"!==k||Array.isArray(e)?e:{...j,...e}}return"string"!==typeof r?r:S.read(r)}function L(t){if(!t||t.storageArea===n)if(t&&null==t.key)O.value=j;else if(!t||t.key===e){C();try{(null==t?void 0:t.newValue)!==S.write(O.value)&&(O.value=P(t))}catch(I){_(I)}finally{t?Object(i["nextTick"])(M):M()}}}function A(e){L(e.detail)}return b&&f&&Object(r["tryOnMounted"])(()=>{u(b,"storage",L),u(b,y,A),x&&L()}),x||L(),O}function w(e){return l("(prefers-color-scheme: dark)",e)}function _(e={}){const{selector:t="html",attribute:n="class",initialValue:u="auto",window:c=a,storage:s,storageKey:l="vueuse-color-scheme",listenToStorageChanges:f=!0,storageRef:h,emitAuto:d,disableTransition:p=!0}=e,v={auto:"",light:"light",dark:"dark",...e.modes||{}},g=w({window:c}),y=Object(i["computed"])(()=>g.value?"dark":"light"),_=h||(null==l?Object(r["toRef"])(u):b(l,u,s,{window:c,listenToStorageChanges:f})),x=Object(i["computed"])(()=>"auto"===_.value?y.value:_.value),O=m("updateHTMLAttrs",(e,t,n)=>{const r="string"===typeof e?null==c?void 0:c.document.querySelector(e):o(e);if(!r)return;let i;if(p){i=c.document.createElement("style");const e="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";i.appendChild(document.createTextNode(e)),c.document.head.appendChild(i)}if("class"===t){const e=n.split(/\s/g);Object.values(v).flatMap(e=>(e||"").split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?r.classList.add(t):r.classList.remove(t)})}else r.setAttribute(t,n);p&&(c.getComputedStyle(i).opacity,document.head.removeChild(i))});function j(e){var r;O(t,n,null!=(r=v[e])?r:e)}function k(t){e.onChanged?e.onChanged(t,j):j(t)}Object(i["watch"])(x,k,{flush:"post",immediate:!0}),Object(r["tryOnMounted"])(()=>k(x.value));const S=Object(i["computed"])({get(){return d?_.value:x.value},set(e){_.value=e}});try{return Object.assign(S,{store:_,system:y,state:x})}catch(C){return S}}Number.POSITIVE_INFINITY;r["identity"]}).call(this,n("c8ba"))},"2e3d":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n("2ef0");var r=n("dae4"),i=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},o=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};function a(){var e,t,n,a;return i(this,void 0,void 0,(function(){var i,u,c,s,l,f,h;return o(this,(function(o){switch(o.label){case 0:return i=Object(r["config"])(),u=null!==(t=null===(e=i.i18n)||void 0===e?void 0:e.enabled)&&void 0!==t&&t,u?(c=null!==(a=null===(n=i.i18n)||void 0===n?void 0:n.url)&&void 0!==a?a:"/_meta/i18n",s=r["i18n"].getLocale(),l=new r["HttpRequest"],[4,l.params({locale:s}).get(c)]):[2];case 1:return f=o.sent(),h=f.data,h&&r["webApplication"].i18n.mergeLocaleMessage(s,h),[2]}}))}))}},"2ef0":function(e,t,n){e.exports=n("0fbf")("./node_modules/lodash/lodash.js")},"2f62":function(e,t,n){e.exports=n("0fbf")("./node_modules/vuex/dist/vuex.esm.js")},"33a1":function(e,t,n){"use strict";n.r(t);var r=n("90c0"),i=n("bdb3");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var a=n("2877"),u=Object(a["a"])(i["default"],r["a"],r["b"],!1,null,null,null);t["default"]=u.exports},3452:function(e,t,n){e.exports=n("0fbf")("./node_modules/crypto-js/index.js")},3654:function(e,t,n){"use strict";var r=n("8afd");function i(e,t){var n;const i=r.shallowRef();return r.watchEffect(()=>{i.value=e()},{...t,flush:null!=(n=null==t?void 0:t.flush)?n:"sync"}),r.readonly(i)}function o(e,t){let n,i,o=void 0;const a=r.ref(!0),u=()=>{a.value=!0,i()};r.watch(e,u,{flush:"sync"});const c="function"===typeof t?t:t.get,s="function"===typeof t?void 0:t.set,l=r.customRef((e,t)=>(n=e,i=t,{get(){return a.value&&(o=c(),a.value=!1),n(),o},set(e){null==s||s(e)}}));return Object.isExtensible(l)&&(l.trigger=u),l}function a(e){return!!r.getCurrentScope()&&(r.onScopeDispose(e),!0)}function u(){const e=new Set,t=t=>{e.delete(t)},n=n=>{e.add(n);const r=()=>t(n);return a(r),{off:r}},r=(...t)=>Promise.all(Array.from(e).map(e=>e(...t)));return{on:n,off:t,trigger:r}}function c(e){let t,n=!1;const i=r.effectScope(!0);return(...r)=>(n||(t=i.run(()=>e(...r)),n=!0),t)}const s=new WeakMap,l=(e,t)=>{var n;const i=null==(n=r.getCurrentInstance())?void 0:n.proxy;if(null==i)throw new Error("provideLocal must be called in setup");s.has(i)||s.set(i,Object.create(null));const o=s.get(i);o[e]=t,r.provide(e,t)},f=(...e)=>{var t;const n=e[0],i=null==(t=r.getCurrentInstance())?void 0:t.proxy;if(null==i)throw new Error("injectLocal must be called in setup");return s.has(i)&&n in s.get(i)?s.get(i)[n]:r.inject(...e)};function h(e,t){const n=(null==t?void 0:t.injectionKey)||Symbol(e.name||"InjectionState"),r=null==t?void 0:t.defaultValue,i=(...t)=>{const r=e(...t);return l(n,r),r},o=()=>f(n,r);return[i,o]}function d(e){let t,n,i=0;const o=()=>{i-=1,n&&i<=0&&(n.stop(),t=void 0,n=void 0)};return(...u)=>(i+=1,t||(n=r.effectScope(!0),t=n.run(()=>e(...u))),a(o),t)}function p(e,t,{enumerable:n=!1,unwrap:i=!0}={}){if(r.isVue3||r.version.startsWith("2.7.")){for(const[o,a]of Object.entries(t))"value"!==o&&(r.isRef(a)&&i?Object.defineProperty(e,o,{get(){return a.value},set(e){a.value=e},enumerable:n}):Object.defineProperty(e,o,{value:a,enumerable:n}));return e}}function m(e,t){return null==t?r.unref(e):r.unref(e)[t]}function v(e){return null!=r.unref(e)}function g(e,t){if("undefined"!==typeof Symbol){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}return Object.assign([...t],e)}function y(e){return"function"===typeof e?e():r.unref(e)}const b=y;function w(e,t){const n=!1===(null==t?void 0:t.computedGetter)?r.unref:y;return function(...t){return r.computed(()=>e.apply(this,t.map(e=>n(e))))}}function _(e,t={}){let n,r=[];if(Array.isArray(t))r=t;else{n=t;const{includeOwnProperties:i=!0}=t;r.push(...Object.keys(e)),i&&r.push(...Object.getOwnPropertyNames(e))}return Object.fromEntries(r.map(t=>{const r=e[t];return[t,"function"===typeof r?w(r.bind(e),n):r]}))}function x(e){if(!r.isRef(e))return r.reactive(e);const t=new Proxy({},{get(t,n,i){return r.unref(Reflect.get(e.value,n,i))},set(t,n,i){return r.isRef(e.value[n])&&!r.isRef(i)?e.value[n].value=i:e.value[n]=i,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return r.reactive(t)}function O(e){return x(r.computed(e))}function j(e,...t){const n=t.flat(),i=n[0];return O(()=>"function"===typeof i?Object.fromEntries(Object.entries(r.toRefs(e)).filter(([e,t])=>!i(y(t),e))):Object.fromEntries(Object.entries(r.toRefs(e)).filter(e=>!n.includes(e[0]))))}const k="undefined"!==typeof window&&"undefined"!==typeof document,S="undefined"!==typeof WorkerGlobalScope&&globalThis instanceof WorkerGlobalScope,C=e=>"undefined"!==typeof e,M=e=>null!=e,E=(e,...t)=>{e||console.warn(...t)},T=Object.prototype.toString,P=e=>"[object Object]"===T.call(e),L=()=>Date.now(),A=()=>+Date.now(),I=(e,t,n)=>Math.min(n,Math.max(t,e)),D=()=>{},F=(e,t)=>(e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e),R=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),z=N();function N(){var e,t;return k&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=null==window?void 0:window.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent))}function $(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}const B=e=>e();function H(e,t={}){let n,r,i=D;const o=e=>{clearTimeout(e),i(),i=D},a=a=>{const u=y(e),c=y(t.maxWait);return n&&o(n),u<=0||void 0!==c&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((e,s)=>{i=t.rejectOnCancel?s:e,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,e(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,e(a())},u)})};return a}function U(...e){let t,n,i,o,a,u,c=0,s=!0,l=D;r.isRef(e[0])||"object"!==typeof e[0]?[i,o=!0,a=!0,u=!1]=e:({delay:i,trailing:o=!0,leading:a=!0,rejectOnCancel:u=!1}=e[0]);const f=()=>{t&&(clearTimeout(t),t=void 0,l(),l=D)},h=e=>{const r=y(i),h=Date.now()-c,d=()=>n=e();return f(),r<=0?(c=Date.now(),d()):(h>r&&(a||!s)?(c=Date.now(),d()):o&&(n=new Promise((e,n)=>{l=u?n:e,t=setTimeout(()=>{c=Date.now(),s=!0,e(d()),f()},Math.max(0,r-h))})),a||t||(t=setTimeout(()=>s=!0,r)),s=!1,n)};return h}function q(e=B){const t=r.ref(!0);function n(){t.value=!1}function i(){t.value=!0}const o=(...n)=>{t.value&&e(...n)};return{isActive:r.readonly(t),pause:n,resume:i,eventFilter:o}}const W={mounted:r.isVue3?"mounted":"inserted",updated:r.isVue3?"updated":"componentUpdated",unmounted:r.isVue3?"unmounted":"unbind"};function G(e){const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}}const V=/\B([A-Z])/g,Y=G(e=>e.replace(V,"-$1").toLowerCase()),K=/-(\w)/g,X=G(e=>e.replace(K,(e,t)=>t?t.toUpperCase():""));function J(e,t=!1,n="Timeout"){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function Z(e){return e}function Q(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const e=t;t=void 0,e&&await e},n}function ee(e){return e()}function te(e,...t){return t.some(t=>t in e)}function ne(e,t){var n;if("number"===typeof e)return e+t;const r=(null==(n=e.match(/^-?\d+\.?\d*/))?void 0:n[0])||"",i=e.slice(r.length),o=Number.parseFloat(r)+t;return Number.isNaN(o)?e:o+i}function re(e,t,n=!1){return t.reduce((t,r)=>(r in e&&(n&&void 0===e[r]||(t[r]=e[r])),t),{})}function ie(e,t,n=!1){return Object.fromEntries(Object.entries(e).filter(([e,r])=>(!n||void 0!==r)&&!t.includes(e)))}function oe(e){return Object.entries(e)}function ae(e){return e||r.getCurrentInstance()}function ue(...e){if(1!==e.length)return r.toRef(...e);const t=e[0];return"function"===typeof t?r.readonly(r.customRef(()=>({get:t,set:D}))):r.ref(t)}const ce=ue;function se(e,...t){const n=t.flat(),i=n[0];return O(()=>"function"===typeof i?Object.fromEntries(Object.entries(r.toRefs(e)).filter(([e,t])=>i(y(t),e))):Object.fromEntries(n.map(t=>[t,ue(e,t)])))}function le(e,t=1e4){return r.customRef((n,r)=>{let i,o=y(e);const u=()=>setTimeout(()=>{o=y(e),r()},y(t));return a(()=>{clearTimeout(i)}),{get(){return n(),o},set(e){o=e,r(),clearTimeout(i),i=u()}}})}function fe(e,t=200,n={}){return $(H(t,n),e)}function he(e,t=200,n={}){const i=r.ref(e.value),o=fe(()=>{i.value=e.value},t,n);return r.watch(e,()=>o()),i}function de(e,t){return r.computed({get(){var n;return null!=(n=e.value)?n:t},set(t){e.value=t}})}function pe(e,t=200,n=!1,r=!0,i=!1){return $(U(t,n,r,i),e)}function me(e,t=200,n=!0,i=!0){if(t<=0)return e;const o=r.ref(e.value),a=pe(()=>{o.value=e.value},t,n,i);return r.watch(e,()=>a()),o}function ve(e,t={}){let n,i,o=e;const a=r.customRef((e,t)=>(n=e,i=t,{get(){return u()},set(e){c(e)}}));function u(e=!0){return e&&n(),o}function c(e,n=!0){var r,a;if(e===o)return;const u=o;!1!==(null==(r=t.onBeforeChange)?void 0:r.call(t,e,u))&&(o=e,null==(a=t.onChanged)||a.call(t,e,u),n&&i())}const s=()=>u(!1),l=e=>c(e,!1),f=()=>u(!1),h=e=>c(e,!1);return p(a,{get:u,set:c,untrackedGet:s,silentSet:l,peek:f,lay:h},{enumerable:!0})}const ge=ve;function ye(...e){if(2===e.length){const[t,n]=e;t.value=n}if(3===e.length)if(r.isVue2)r.set(...e);else{const[t,n,r]=e;t[n]=r}}function be(e,t,n={}){const{eventFilter:i=B,...o}=n;return r.watch(e,$(i,t),o)}function we(e,t,n={}){const{eventFilter:r,...i}=n,{eventFilter:o,pause:a,resume:u,isActive:c}=q(r),s=be(e,t,{...i,eventFilter:o});return{stop:s,pause:a,resume:u,isActive:c}}function _e(e,t,...[n]){const{flush:r="sync",deep:i=!1,immediate:o=!0,direction:a="both",transform:u={}}=n||{},c=[],s="ltr"in u&&u.ltr||(e=>e),l="rtl"in u&&u.rtl||(e=>e);"both"!==a&&"ltr"!==a||c.push(we(e,e=>{c.forEach(e=>e.pause()),t.value=s(e),c.forEach(e=>e.resume())},{flush:r,deep:i,immediate:o})),"both"!==a&&"rtl"!==a||c.push(we(t,t=>{c.forEach(e=>e.pause()),e.value=l(t),c.forEach(e=>e.resume())},{flush:r,deep:i,immediate:o}));const f=()=>{c.forEach(e=>e.stop())};return f}function xe(e,t,n={}){const{flush:i="sync",deep:o=!1,immediate:a=!0}=n;return Array.isArray(t)||(t=[t]),r.watch(e,e=>t.forEach(t=>t.value=e),{flush:i,deep:o,immediate:a})}function Oe(e,t={}){if(!r.isRef(e))return r.toRefs(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const i in e.value)n[i]=r.customRef(()=>({get(){return e.value[i]},set(n){var r;const o=null==(r=y(t.replaceRef))||r;if(o)if(Array.isArray(e.value)){const t=[...e.value];t[i]=n,e.value=t}else{const t={...e.value,[i]:n};Object.setPrototypeOf(t,Object.getPrototypeOf(e.value)),e.value=t}else e.value[i]=n}}));return n}function je(e,t=!0,n){const i=ae(n);i?r.onBeforeMount(e,n):t?e():r.nextTick(e)}function ke(e,t){const n=ae(t);n&&r.onBeforeUnmount(e,t)}function Se(e,t=!0,n){const i=ae();i?r.onMounted(e,n):t?e():r.nextTick(e)}function Ce(e,t){const n=ae(t);n&&r.onUnmounted(e,t)}function Me(e,t=!1){function n(n,{flush:i="sync",deep:o=!1,timeout:a,throwOnTimeout:u}={}){let c=null;const s=new Promise(a=>{c=r.watch(e,e=>{n(e)!==t&&(null==c||c(),a(e))},{flush:i,deep:o,immediate:!0})}),l=[s];return null!=a&&l.push(J(a,u).then(()=>y(e)).finally(()=>null==c?void 0:c())),Promise.race(l)}function i(i,o){if(!r.isRef(i))return n(e=>e===i,o);const{flush:a="sync",deep:u=!1,timeout:c,throwOnTimeout:s}=null!=o?o:{};let l=null;const f=new Promise(n=>{l=r.watch([e,i],([e,r])=>{t!==(e===r)&&(null==l||l(),n(e))},{flush:a,deep:u,immediate:!0})}),h=[f];return null!=c&&h.push(J(c,s).then(()=>y(e)).finally(()=>(null==l||l(),y(e)))),Promise.race(h)}function o(e){return n(e=>Boolean(e),e)}function a(e){return i(null,e)}function u(e){return i(void 0,e)}function c(e){return n(Number.isNaN,e)}function s(e,t){return n(t=>{const n=Array.from(t);return n.includes(e)||n.includes(y(e))},t)}function l(e){return f(1,e)}function f(e=1,t){let r=-1;return n(()=>(r+=1,r>=e),t)}if(Array.isArray(y(e))){const r={toMatch:n,toContains:s,changed:l,changedTimes:f,get not(){return Me(e,!t)}};return r}{const r={toMatch:n,toBe:i,toBeTruthy:o,toBeNull:a,toBeNaN:c,toBeUndefined:u,changed:l,changedTimes:f,get not(){return Me(e,!t)}};return r}}function Ee(e){return Me(e)}function Te(e,t){return e===t}function Pe(...e){var t;const n=e[0],i=e[1];let o=null!=(t=e[2])?t:Te;if("string"===typeof o){const e=o;o=(t,n)=>t[e]===n[e]}return r.computed(()=>y(n).filter(e=>-1===y(i).findIndex(t=>o(e,t))))}function Le(e,t){return r.computed(()=>y(e).every((e,n,r)=>t(y(e),n,r)))}function Ae(e,t){return r.computed(()=>y(e).map(e=>y(e)).filter(t))}function Ie(e,t){return r.computed(()=>y(y(e).find((e,n,r)=>t(y(e),n,r))))}function De(e,t){return r.computed(()=>y(e).findIndex((e,n,r)=>t(y(e),n,r)))}function Fe(e,t){let n=e.length;while(n-- >0)if(t(e[n],n,e))return e[n]}function Re(e,t){return r.computed(()=>y(Array.prototype.findLast?y(e).findLast((e,n,r)=>t(y(e),n,r)):Fe(y(e),(e,n,r)=>t(y(e),n,r))))}function ze(e){return P(e)&&te(e,"formIndex","comparator")}function Ne(...e){var t;const n=e[0],i=e[1];let o=e[2],a=0;if(ze(o)&&(a=null!=(t=o.fromIndex)?t:0,o=o.comparator),"string"===typeof o){const e=o;o=(t,n)=>t[e]===y(n)}return o=null!=o?o:(e,t)=>e===y(t),r.computed(()=>y(n).slice(a).some((e,t,n)=>o(y(e),y(i),t,y(n))))}function $e(e,t){return r.computed(()=>y(e).map(e=>y(e)).join(y(t)))}function Be(e,t){return r.computed(()=>y(e).map(e=>y(e)).map(t))}function He(e,t,...n){const i=(e,n,r)=>t(y(e),y(n),r);return r.computed(()=>{const t=y(e);return n.length?t.reduce(i,y(n[0])):t.reduce(i)})}function Ue(e,t){return r.computed(()=>y(e).some((e,n,r)=>t(y(e),n,r)))}function qe(e){return Array.from(new Set(e))}function We(e,t){return e.reduce((n,r)=>(n.some(n=>t(r,n,e))||n.push(r),n),[])}function Ge(e,t){return r.computed(()=>{const n=y(e).map(e=>y(e));return t?We(n,t):qe(n)})}function Ve(e=0,t={}){let n=r.unref(e);const i=r.ref(e),{max:o=Number.POSITIVE_INFINITY,min:a=Number.NEGATIVE_INFINITY}=t,u=(e=1)=>i.value=Math.max(Math.min(o,i.value+e),a),c=(e=1)=>i.value=Math.min(Math.max(a,i.value-e),o),s=()=>i.value,l=e=>i.value=Math.max(a,Math.min(o,e)),f=(e=n)=>(n=e,l(e));return{count:i,inc:u,dec:c,get:s,set:l,reset:f}}const Ye=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Ke=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Xe(e,t,n,r){let i=e<12?"AM":"PM";return r&&(i=i.split("").reduce((e,t)=>e+(t+"."),"")),n?i.toLowerCase():i}function Je(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function Ze(e,t,n={}){var r;const i=e.getFullYear(),o=e.getMonth(),a=e.getDate(),u=e.getHours(),c=e.getMinutes(),s=e.getSeconds(),l=e.getMilliseconds(),f=e.getDay(),h=null!=(r=n.customMeridiem)?r:Xe,d={Yo:()=>Je(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>o+1,Mo:()=>Je(o+1),MM:()=>(""+(o+1)).padStart(2,"0"),MMM:()=>e.toLocaleDateString(n.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(n.locales,{month:"long"}),D:()=>String(a),Do:()=>Je(a),DD:()=>(""+a).padStart(2,"0"),H:()=>String(u),Ho:()=>Je(u),HH:()=>(""+u).padStart(2,"0"),h:()=>(""+(u%12||12)).padStart(1,"0"),ho:()=>Je(u%12||12),hh:()=>(""+(u%12||12)).padStart(2,"0"),m:()=>String(c),mo:()=>Je(c),mm:()=>(""+c).padStart(2,"0"),s:()=>String(s),so:()=>Je(s),ss:()=>(""+s).padStart(2,"0"),SSS:()=>(""+l).padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(n.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(n.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(n.locales,{weekday:"long"}),A:()=>h(u,c),AA:()=>h(u,c,!1,!0),a:()=>h(u,c,!0),aa:()=>h(u,c,!0,!0)};return t.replace(Ke,(e,t)=>{var n,r;return null!=(r=null!=t?t:null==(n=d[e])?void 0:n.call(d))?r:e})}function Qe(e){if(null===e)return new Date(Number.NaN);if(void 0===e)return new Date;if(e instanceof Date)return new Date(e);if("string"===typeof e&&!/Z$/i.test(e)){const t=e.match(Ye);if(t){const e=t[2]-1||0,n=(t[7]||"0").substring(0,3);return new Date(t[1],e,t[3]||1,t[4]||0,t[5]||0,t[6]||0,n)}}return new Date(e)}function et(e,t="HH:mm:ss",n={}){return r.computed(()=>Ze(Qe(y(e)),y(t),n))}function tt(e,t=1e3,n={}){const{immediate:i=!0,immediateCallback:o=!1}=n;let u=null;const c=r.ref(!1);function s(){u&&(clearInterval(u),u=null)}function l(){c.value=!1,s()}function f(){const n=y(t);n<=0||(c.value=!0,o&&e(),s(),u=setInterval(e,n))}if(i&&k&&f(),r.isRef(t)||"function"===typeof t){const e=r.watch(t,()=>{c.value&&k&&f()});a(e)}return a(l),{isActive:c,pause:l,resume:f}}function nt(e=1e3,t={}){const{controls:n=!1,immediate:i=!0,callback:o}=t,a=r.ref(0),u=()=>a.value+=1,c=()=>{a.value=0},s=tt(o?()=>{u(),o(a.value)}:u,e,{immediate:i});return n?{counter:a,reset:c,...s}:a}function rt(e,t={}){var n;const i=r.ref(null!=(n=t.initialValue)?n:null);return r.watch(e,()=>i.value=A(),t),i}function it(e,t,n={}){const{immediate:i=!0}=n,o=r.ref(!1);let u=null;function c(){u&&(clearTimeout(u),u=null)}function s(){o.value=!1,c()}function l(...n){c(),o.value=!0,u=setTimeout(()=>{o.value=!1,u=null,e(...n)},y(t))}return i&&(o.value=!0,k&&l()),a(s),{isPending:r.readonly(o),start:l,stop:s}}function ot(e=1e3,t={}){const{controls:n=!1,callback:i}=t,o=it(null!=i?i:D,e,t),a=r.computed(()=>!o.isPending.value);return n?{ready:a,...o}:a}function at(e,t={}){const{method:n="parseFloat",radix:i,nanToZero:o}=t;return r.computed(()=>{let t=y(e);return"string"===typeof t&&(t=Number[n](t,i)),o&&Number.isNaN(t)&&(t=0),t})}function ut(e){return r.computed(()=>""+y(e))}function ct(e=!1,t={}){const{truthyValue:n=!0,falsyValue:i=!1}=t,o=r.isRef(e),a=r.ref(e);function u(e){if(arguments.length)return a.value=e,a.value;{const e=y(n);return a.value=a.value===e?y(i):e,a.value}}return o?u:[a,u]}function st(e,t,n){let i=(null==n?void 0:n.immediate)?[]:[...e instanceof Function?e():Array.isArray(e)?e:y(e)];return r.watch(e,(e,n,r)=>{const o=Array.from({length:i.length}),a=[];for(const t of e){let e=!1;for(let n=0;n<i.length;n++)if(!o[n]&&t===i[n]){o[n]=!0,e=!0;break}e||a.push(t)}const u=i.filter((e,t)=>!o[t]);t(e,i,a,u,r),i=[...e]},n)}function lt(e,t,n){const{count:i,...o}=n,a=r.ref(0),u=be(e,(...e)=>{a.value+=1,a.value>=y(i)&&r.nextTick(()=>u()),t(...e)},o);return{count:a,stop:u}}function ft(e,t,n={}){const{debounce:r=0,maxWait:i,...o}=n;return be(e,t,{...o,eventFilter:H(r,{maxWait:i})})}function ht(e,t,n){return r.watch(e,t,{...n,deep:!0})}function dt(e,t,n={}){const{eventFilter:i=B,...o}=n,a=$(i,t);let u,c,s;if("sync"===o.flush){const t=r.ref(!1);c=()=>{},u=e=>{t.value=!0,e(),t.value=!1},s=r.watch(e,(...e)=>{t.value||a(...e)},o)}else{const t=[],n=r.ref(0),i=r.ref(0);c=()=>{n.value=i.value},t.push(r.watch(e,()=>{i.value++},{...o,flush:"sync"})),u=e=>{const t=i.value;e(),n.value+=i.value-t},t.push(r.watch(e,(...e)=>{const t=n.value>0&&n.value===i.value;n.value=0,i.value=0,t||a(...e)},o)),s=()=>{t.forEach(e=>e())}}return{stop:s,ignoreUpdates:u,ignorePrevAsyncUpdates:c}}function pt(e,t,n){return r.watch(e,t,{...n,immediate:!0})}function mt(e,t,n){const i=r.watch(e,(...e)=>(r.nextTick(()=>i()),t(...e)),n);return i}function vt(e,t,n={}){const{throttle:r=0,trailing:i=!0,leading:o=!0,...a}=n;return be(e,t,{...a,eventFilter:U(r,i,o)})}function gt(e,t,n={}){let r;function i(){if(!r)return;const e=r;r=void 0,e()}function o(e){r=e}const a=(e,n)=>(i(),t(e,n,o)),u=dt(e,a,n),{ignoreUpdates:c}=u,s=()=>{let t;return c(()=>{t=a(yt(e),bt(e))}),t};return{...u,trigger:s}}function yt(e){return r.isReactive(e)?e:Array.isArray(e)?e.map(e=>y(e)):y(e)}function bt(e){return Array.isArray(e)?e.map(()=>{}):void 0}function wt(e,t,n){const i=r.watch(e,(e,o,a)=>{e&&((null==n?void 0:n.once)&&r.nextTick(()=>i()),t(e,o,a))},{...n,once:!1});return i}t.assert=E,t.autoResetRef=le,t.bypassFilter=B,t.camelize=X,t.clamp=I,t.computedEager=i,t.computedWithControl=o,t.containsProp=te,t.controlledComputed=o,t.controlledRef=ge,t.createEventHook=u,t.createFilterWrapper=$,t.createGlobalState=c,t.createInjectionState=h,t.createReactiveFn=w,t.createSharedComposable=d,t.createSingletonPromise=Q,t.debounceFilter=H,t.debouncedRef=he,t.debouncedWatch=ft,t.directiveHooks=W,t.eagerComputed=i,t.extendRef=p,t.formatDate=Ze,t.get=m,t.getLifeCycleTarget=ae,t.hasOwn=R,t.hyphenate=Y,t.identity=Z,t.ignorableWatch=dt,t.increaseWithUnit=ne,t.injectLocal=f,t.invoke=ee,t.isClient=k,t.isDef=C,t.isDefined=v,t.isIOS=z,t.isObject=P,t.isWorker=S,t.makeDestructurable=g,t.noop=D,t.normalizeDate=Qe,t.notNullish=M,t.now=L,t.objectEntries=oe,t.objectOmit=ie,t.objectPick=re,t.pausableFilter=q,t.pausableWatch=we,t.promiseTimeout=J,t.provideLocal=l,t.rand=F,t.reactify=w,t.reactifyObject=_,t.reactiveComputed=O,t.reactiveOmit=j,t.reactivePick=se,t.refAutoReset=le,t.refDebounced=he,t.refDefault=de,t.refThrottled=me,t.refWithControl=ve,t.resolveRef=ce,t.resolveUnref=b,t.set=ye,t.syncRef=_e,t.syncRefs=xe,t.throttleFilter=U,t.throttledRef=me,t.throttledWatch=vt,t.timestamp=A,t.toReactive=x,t.toRef=ue,t.toRefs=Oe,t.toValue=y,t.tryOnBeforeMount=je,t.tryOnBeforeUnmount=ke,t.tryOnMounted=Se,t.tryOnScopeDispose=a,t.tryOnUnmounted=Ce,t.until=Ee,t.useArrayDifference=Pe,t.useArrayEvery=Le,t.useArrayFilter=Ae,t.useArrayFind=Ie,t.useArrayFindIndex=De,t.useArrayFindLast=Re,t.useArrayIncludes=Ne,t.useArrayJoin=$e,t.useArrayMap=Be,t.useArrayReduce=He,t.useArraySome=Ue,t.useArrayUnique=Ge,t.useCounter=Ve,t.useDateFormat=et,t.useDebounce=he,t.useDebounceFn=fe,t.useInterval=nt,t.useIntervalFn=tt,t.useLastChanged=rt,t.useThrottle=me,t.useThrottleFn=pe,t.useTimeout=ot,t.useTimeoutFn=it,t.useToNumber=at,t.useToString=ut,t.useToggle=ct,t.watchArray=st,t.watchAtMost=lt,t.watchDebounced=ft,t.watchDeep=ht,t.watchIgnorable=dt,t.watchImmediate=pt,t.watchOnce=mt,t.watchPausable=we,t.watchThrottled=vt,t.watchTriggerable=gt,t.watchWithFilter=be,t.whenever=wt},"40e0":function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return o}));var i=!1;function o(){return{setMenuMatchedByPathParser:function(e){r=e},getMenuMatchedByPathParser:function(){return r},ignoreMenuAuthCheck:function(){i=!0},isIgnoreMenuAuthCheck:function(){return i}}}},4294:function(e,t,n){"use strict";n.r(t),n.d(t,"getHeaderName",(function(){return je["c"]})),n.d(t,"getMenuSider",(function(){return je["d"]})),n.d(t,"getSiderSubmenu",(function(){return je["e"]})),n.d(t,"getAllSiderMenu",(function(){return je["b"]})),n.d(t,"flattenSiderMenu",(function(){return je["a"]})),n.d(t,"includeArray",(function(){return je["f"]})),n.d(t,"random",(function(){return je["g"]})),n.d(t,"util",(function(){return S["a"]})),n.d(t,"requestAnimation",(function(){return S["b"]})),n.d(t,"db",(function(){return jn["a"]})),n.d(t,"cookies",(function(){return kn["a"]})),n.d(t,"log",(function(){return Sn["a"]})),n.d(t,"MenuService",(function(){return k["a"]})),n.d(t,"RouteHelper",(function(){return x["a"]})),n.d(t,"LayoutHelper",(function(){return hn["a"]})),n.d(t,"createModal",(function(){return Cn["a"]})),n.d(t,"openModal",(function(){return Cn["b"]})),n.d(t,"openTargetsMap",(function(){return Cn["c"]})),n.d(t,"subAppLayout",(function(){return An})),n.d(t,"useMenuMatcher",(function(){return In["a"]})),n.d(t,"setGlobalLinkCss",(function(){return On})),n.d(t,"setCustomTheme",(function(){return yn})),n.d(t,"clearCustomTheme",(function(){return _n})),n.d(t,"httpCacheService",(function(){return Kn})),n.d(t,"loadRemoteI18n",(function(){return Dn["a"]}));var r=n("70da"),i=n("dae4"),o=n.n(i),a=n("0cc9"),u=function(){var e=this,t=e._self._c;return t("div",{staticClass:"i-layout-menu-head",class:{"i-layout-menu-head-mobile":e.isMobile}},[e.isMobile||e.isMenuLimit?t("div",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min i-layout-header-trigger-in i-layout-header-trigger-no-height"},[t("Dropdown",{class:{"i-layout-menu-head-mobile-drop":e.isMobile},attrs:{trigger:"click"}},[t("Icon",{attrs:{type:"ios-apps"}}),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e._l(e.filterHeader,(function(n){return[n.hidden?e._e():t("i-link",{key:n.path,nativeOn:{click:function(t){return e.handleClick(n,"header")}}},[t("DropdownItem",[t("i-menu-head-title",{attrs:{menu:n}})],1)],1)]}))],2)],1)],1):t("Menu",{ref:"menu",attrs:{theme:e.headerTheme,mode:"horizontal","active-name":e.headerName}},[e._l(e.filterHeader,(function(e){return[e.children?t("ISubmenuHead",{attrs:{menu:e}}):t("IMenuHeadItem",{attrs:{menu:e}})]}))],2)],1)},c=[],s=n("2f62"),l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"i-layout-menu-head-title"},[(e.menu.icon||e.menu.custom||e.menu.img)&&!e.hideIcon?t("span",{staticClass:"i-layout-menu-head-title-icon"},[e.menu.icon?t("Icon",{attrs:{type:e.menu.icon}}):e.menu.custom?t("Icon",{attrs:{custom:e.menu.custom}}):e.menu.img?t("img",{attrs:{src:e.menu.img}}):e._e()],1):e._e(),t("span",{staticClass:"i-layout-menu-head-title-text"},[e._v(e._s(e.tTitle(e.menu.title)))])])},f=[],h={methods:{tTitle:function(e){return e&&0===e.indexOf("$t:")?this.$t(e.split("$t:")[1]):e}}},d={name:"IMenuHeadTitle",mixins:[h],props:{menu:{type:Object,default:function(){return{}}},hideIcon:{type:Boolean,default:!1}}},p=d,m=n("2877"),v=Object(m["a"])(p,l,f,!1,null,null,null),g=v.exports,y=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("SubmenuExtend",{attrs:{name:e.menu.name,transfer:!0}},[t("template",{slot:"title"},[t("iMenuHeadTitle",{attrs:{menu:e.menu}})],1),e._l(e.menu.children,(function(e,n){return[t("IMenuHeadItem",{key:n,attrs:{menu:e}})]}))],2)},b=[],w=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("MenuItem",{attrs:{name:e.menu.name},nativeOn:{click:function(t){return e.itemClick(e.menu)}}},[t("i-menu-head-title",{attrs:{menu:e.menu}})],1)},_=[],x=n("e2da"),O=n("2ef0"),j=n.n(O),k=n("ae62"),S=n("6bc3"),C=void 0,M=r["utils"].assist.findComponentUpward;function E(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.path)return n;if(Array.isArray(n.children)){var r=E(n.children);if(r)return r}}return null}var T={inject:{navigator:{default:function(){return C}}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["menuSiderReload","menuHeaderReload"])),methods:{handleClick:function(e,t){if(void 0===t&&(t="sider"),e.path||e.name){Object(O["isString"])(e)&&(e=k["a"].buildMenu({id:"_blank",path:e}));var n=this.$route.fullPath,r=x["a"].isUrlEqual(n,e.path);e.path||(e.path=this.getHeaderSidePath(e.name));var i={type:t,menu:e,duplicated:r,to:e.path,from:n},o=S["a"].event(i),a=this.navigator?this.navigator:this;a.$emit("click",o),!1!==o.returnValue&&(r?this.handleReload(i):(k["a"].open(e),"_blank"!==e.id&&this.$store.commit("admin/menu/setActivePath",e.id)))}},handleReload:function(e){if("sider"===e.type&&this.menuSiderReload||"header"===e.type&&this.menuHeaderReload){var t=S["a"].event(e),n=this.navigator?this.navigator:this;if(n.$emit("reload",t),!1===t.returnValue)return;var r=M(this,"iflyAdmin.basicLayout");r&&r.handleReload()}},getHeaderSidePath:function(e){var t=k["a"].filterSiderMenus(e);if(null!=t&&t.length){var n=E(t);return n.path}return""}}},P={name:"IMenuHeadItem",components:{iMenuHeadTitle:g},mixins:[T],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1}},methods:{itemClick:function(e){this.handleClick(e,"header")}}},L=P,A=Object(m["a"])(L,w,_,!1,null,null,null),I=A.exports,D=function(){var e=this,t=e._self._c;return t("li",{class:e.classes,on:{mouseenter:e.handleMouseenter,mouseleave:e.handleMouseleave}},[t("div",{ref:"reference",class:[e.prefixCls+"-submenu-title"],style:e.titleStyle,on:{click:function(t){return t.stopPropagation(),e.handleClick.apply(null,arguments)}}},[e._t("title"),t("Icon",{class:[e.prefixCls+"-submenu-title-icon"],attrs:{type:e.arrowType,custom:e.customArrowType,size:e.arrowSize}})],2),"vertical"===e.mode?t("collapse-transition",[t("ul",{directives:[{name:"show",rawName:"v-show",value:e.opened,expression:"opened"}],class:[e.prefixCls]},[e._t("default")],2)]):t("transition",{attrs:{name:"slide-up"}},[t("Drop",{directives:[{name:"show",rawName:"v-show",value:e.opened,expression:"opened"},{name:"transfer-dom",rawName:"v-transfer-dom"}],ref:"drop",class:e.menuDropdownCls,attrs:{placement:e.placement,"data-transfer":e.transfer,transfer:e.transfer},nativeOn:{mouseenter:function(t){return e.handleMouseenter.apply(null,arguments)},mouseleave:function(t){return e.handleMouseleave.apply(null,arguments)}}},[t("ul",{class:[e.prefixCls+"-drop-list"]},[e._t("default")],2)])],1)],1)},F=[],R=r["directives"].TransferDom,z={name:"Submenu",directives:{TransferDom:R},extends:r["Submenu"],props:{placement:{type:String,default:"bottom"},transfer:{type:Boolean}},computed:{menuDropdownCls:function(){var e;return["iv-menu-head-dropdown",(e={},e[this.prefixCls+"-dropdown-active"]=this.opened,e)]}},methods:{}},N=z,$=Object(m["a"])(N,D,F,!1,null,null,null),B=$.exports,H={name:"ISubmenuHead",components:{IMenuHeadItem:I,iMenuHeadTitle:g,SubmenuExtend:B},props:{menu:{type:Object,default:function(){return{}}}}},U=H,q=Object(m["a"])(U,y,b,!1,null,null,null),W=q.exports,G=r["utils"].assist,V=G.getStyle,Y={name:"IMenuHead",components:{iMenuHeadTitle:g,ISubmenuHead:W,IMenuHeadItem:I},mixins:[T],provide:function(){return{navigator:this}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["isMobile","headerTheme"]),Object(s["mapState"])("admin/menu",["headerName"]),Object(s["mapGetters"])("admin/menu",["filterHeader"])),data:function(){return{handleResize:function(){},isMenuLimit:!1,menuMaxWidth:0}},watch:{filterHeader:function(){this.handleGetMenuHeight()},isMobile:function(){this.handleGetMenuHeight()}},mounted:function(){this.handleGetMenuHeight()},beforeDestroy:function(){},methods:{handleGetMenuHeight:function(){var e=parseInt(V(this.$el,"width")),t=this.$refs.menu;if(t){var n=parseInt(V(this.$refs.menu.$el,"height"));n>64&&(this.isMenuLimit||(this.menuMaxWidth=e),this.isMenuLimit=!0)}else e>=this.menuMaxWidth&&(this.isMenuLimit=!1)}}},K=Y,X=Object(m["a"])(K,u,c,!1,null,null,null),J=X.exports,Z=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"i-layout-sider-logo",class:{"i-layout-sider-logo-dark":"dark"===e.siderTheme}},[e._t("logo",(function(){return[t("transition",{attrs:{name:"fade-quick"}},[t("i-link",{directives:[{name:"show",rawName:"v-show",value:!e.hideLogo,expression:"!hideLogo"}],attrs:{to:e.url}},[e.menuCollapse?t("img",{attrs:{src:e.ilogo.small}}):"light"===e.siderTheme?t("img",{attrs:{src:e.ilogo.normal}}):t("img",{attrs:{src:e.ilogo.dark}}),e.appTitle&&!e.menuCollapse?t("span",{staticClass:"i-layout-header-title",domProps:{innerHTML:e._s(e.appTitle)}}):e._e()])],1)]}))],2),e._t("pre"),t("Menu",{ref:"menu",staticClass:"i-layout-menu-side i-scrollbar-hide",class:{"i-layout-menu-side-collapse":e.menuCollapse},attrs:{theme:e.siderTheme,accordion:e.menuAccordion,"active-name":e.activePath,"open-names":e.openNames,width:"auto"}},[e._l(e.filterSider,(function(n,r){return[e.menuCollapse?[void 0!==n.children&&n.children.length?t("i-menu-side-collapse",{key:r,attrs:{menu:n,"top-level":""}}):t("Tooltip",{key:r,attrs:{content:e.tTitle(n.title),placement:"right"}},[t("i-menu-side-item",{attrs:{menu:n,"hide-title":""}})],1)]:[e.currentHeader.group?[t("MenuGroup",{key:r,attrs:{title:n.title}},[e._l(n.children,(function(e,n){return[void 0!==e.children&&e.children.length?t("i-menu-side-submenu",{key:n,attrs:{menu:e}}):t("i-menu-side-item",{key:n,attrs:{menu:e}})]}))],2)]:[void 0!==n.children&&n.children.length?t("i-menu-side-submenu",{key:r,attrs:{menu:n}}):t("i-menu-side-item",{key:r,attrs:{menu:n}})]]]}))],2),e._t("suffix")],2)},Q=[],ee=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("div",[t("MenuItem",{key:e.menu.id,attrs:{name:e.menu.id},nativeOn:{click:function(t){return e.handleClick(e.menu,"sider")}}},[t("i-menu-side-title",{attrs:{menu:e.menu,"hide-title":e.hideTitle}})],1)],1)},te=[],ne=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-menu-side-title"},[e.menu.icon||e.menu.custom||e.menu.img?t("span",{staticClass:"i-layout-menu-side-title-icon",class:{"i-layout-menu-side-title-icon-single":e.hideTitle}},[e.menu.icon?t("Icon",{attrs:{type:e.menu.icon}}):e.menu.custom?t("Icon",{attrs:{custom:e.menu.custom}}):e.menu.img?t("img",{attrs:{src:e.menu.img}}):e._e()],1):e._e(),e.hideTitle?e._e():t("span",{staticClass:"i-layout-menu-side-title-text",class:{"i-layout-menu-side-title-text-selected":e.selected}},[e._v(e._s(e.tTitle(e.menu.title)))])])},re=[],ie={name:"IMenuSideTitle",mixins:[h],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1},selected:{type:Boolean,default:!1}}},oe=ie,ae=Object(m["a"])(oe,ne,re,!1,null,null,null),ue=ae.exports,ce={name:"IMenuSideItem",components:{iMenuSideTitle:ue},mixins:[T],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1}}},se=ce,le=Object(m["a"])(se,ee,te,!1,null,null,null),fe=le.exports,he=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("Submenu",{key:e.menu.id,attrs:{name:e.menu.id}},[t("template",{slot:"title"},[t("i-menu-side-title",{attrs:{menu:e.menu}})],1),e._l(e.menu.children,(function(e,n){return[void 0!==e.children&&e.children.length?t("i-menu-side-submenu",{key:n,attrs:{menu:e}}):t("i-menu-side-item",{key:n,attrs:{menu:e}})]}))],2)},de=[],pe={name:"IMenuSideSubmenu",components:{iMenuSideItem:fe,iMenuSideTitle:ue},props:{menu:{type:Object,default:function(){return{}}}}},me=pe,ve=Object(m["a"])(me,he,de,!1,null,null,null),ge=ve.exports,ye=function(){var e=this,t=e._self._c;return e.menu.hidden?e._e():t("Dropdown",{class:e.dropdownClasses,attrs:{placement:"right-start",transfer:!1}},[e.topLevel?t("li",{class:e.menuItemClasses},[e.menu.hidden?e._e():t("i-menu-side-title",{attrs:{menu:e.menu,"hide-title":""}})],1):t("DropdownItem",[t("i-menu-side-title",{attrs:{menu:e.menu,selected:e.openNames.indexOf(e.menu.path)>=0}}),t("Icon",{staticClass:"i-layout-menu-side-arrow",attrs:{type:"ios-arrow-forward"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e.showCollapseMenuTitle?t("div",{staticClass:"i-layout-menu-side-collapse-title"},[t("i-menu-side-title",{attrs:{menu:e.menu}})],1):e._e(),e._l(e.menu.children,(function(n,r){return[void 0!==n.children&&n.children.length?t("i-menu-side-collapse",{key:r,attrs:{menu:n}}):[n.hidden?e._e():t("i-link",{key:r,nativeOn:{click:function(t){return e.handleClick(n,"sider")}}},[t("DropdownItem",{class:{"i-layout-menu-side-collapse-item-selected":n.id===e.activePath||n.path===e.activePath},attrs:{divided:n.divided}},[t("i-menu-side-title",{attrs:{menu:n}})],1)],1)]]}))],2)],1)},be=[],we={name:"IMenuSideCollapse",components:{iMenuSideTitle:ue},mixins:[T],props:{menu:{type:Object,default:function(){return{}}},topLevel:{type:Boolean,default:!1}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["siderTheme","showCollapseMenuTitle"]),Object(s["mapState"])("admin/menu",["activePath","openNames"]),{dropdownClasses:function(){return{"i-layout-menu-side-collapse-top":this.topLevel,"i-layout-menu-side-collapse-dark":"dark"===this.siderTheme}},menuItemClasses:function(){return["ivu-menu-item i-layout-menu-side-collapse-top-item",{"ivu-menu-item-selected ivu-menu-item-active":this.openNames.indexOf(this.menu.path)>=0||this.openNames.indexOf(this.menu.id)>=0}]}}),methods:{}},_e=we,xe=Object(m["a"])(_e,ye,be,!1,null,null,null),Oe=xe.exports,je=n("8ccc");function ke(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Se(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Se(e,t){if(e){if("string"==typeof e)return Ce(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Me={name:"IMenuSide",components:{iMenuSideItem:fe,iMenuSideSubmenu:ge,iMenuSideCollapse:Oe},mixins:[h],provide:function(){return{navigator:this}},props:{hideLogo:{type:Boolean,default:!1},logo:{type:Object,default:function(){return{}}},url:{type:String,default:"/"}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["siderTheme","menuAccordion","menuCollapse","appTitle"]),Object(s["mapState"])("admin/layout",{slogo:"logo"}),Object(s["mapState"])("admin/menu",["group"]),{ilogo:function(){return{small:this.logo&&this.logo.small?this.logo.small:this.slogo?this.slogo:i["Utils"].assetPath("images/logo-small.png"),normal:this.logo&&this.logo.normal?this.logo.normal:this.slogo?this.slogo:i["Utils"].assetPath("./images/logo.png"),dark:this.logo&&this.logo.dark?this.logo.dark:this.slogo?this.slogo:i["Utils"].assetPath("./images/logo-dark.png")}},activePath:function(){var e=this,t=this.$store.state.admin.menu.activePath;return this.$nextTick((function(){e.$refs.menu&&e.$refs.menu.updateActiveName()})),t},openNames:function(){var e=this,t=this.$store.state.admin.menu.openNames;return this.$nextTick((function(){e.$refs.menu&&e.$refs.menu.updateOpened()})),t}},Object(s["mapGetters"])("admin/menu",["filterSider","filterHeader","currentHeader"])),watch:{$route:{handler:function(){var e=this.checkAutoRedirect();e||this.handleUpdateMenuState()},immediate:!0},menuCollapse:function(){this.handleUpdateMenuState()}},methods:{handleUpdateMenuState:function(){var e=this;this.$nextTick((function(){e.$refs.menu&&(e.$refs.menu.updateActiveName(),e.menuAccordion&&e.$refs.menu.updateOpened())}))},onClick:function(e){var t=Object.assign({returnValue:null,preventDefault:function(){this.returnValue=!1}},e);return this.$emit("click",t),t.returnValue},onReload:function(e){var t=Object.assign({returnValue:null,preventDefault:function(){this.returnValue=!1}},e);return this.$emit("reload",t),t.returnValue},checkAutoRedirect:function(){if("/"!==this.$route.path)return!1;if(this.toDefaultIndex())return!0;var e=this.filterHeader;if(Object(O["isEmpty"])(e))return this.onDeny();var t,n=Object(je["d"])(k["a"].siderMenus(),e[0].name);return Object(O["isEmpty"])(n)?this.onDeny():(i["Utils"].visitTree(n,(function(e){if(!e.children)return t=e,!1})),t?(this.$router.push({path:t.path}),!0):this.onDeny())},toDefaultIndex:function(){var e,t=i["ConfigHelper"].getConfigVal("settings.app.index");if(Object(O["isEmpty"])(t)||"/"===t)return!1;if(Object(O["isString"])(t))e=t;else if(Object(O["isArray"])(t))for(var n,r=ke(t);!(n=r()).done;){var o=n.value;if(Object(O["isEmpty"])(o.auth)||i["PermissionService"].hasPerm(o.auth)){e=o.path;break}}return!Object(O["isEmpty"])(e)&&(this.$router.push({path:Object(O["trimStart"])(e,"#")}),!0)},onDeny:function(){return this.$router.push({path:"/403"}),!1}}},Ee=Me,Te=Object(m["a"])(Ee,Z,Q,!1,null,null,null),Pe=Te.exports,Le=function(){var e=this,t=e._self._c;return t("i-link",{staticClass:"i-layout-header-logo",class:{"i-layout-header-logo-stick":!e.isMobile},attrs:{to:e.to}},[e.isMobile?t("img",{attrs:{src:e.finalLogo.small}}):"light"===e.headerTheme?t("img",{attrs:{src:e.finalLogo.normal}}):t("img",{attrs:{src:e.finalLogo.dark}}),e.appTitle?t("span",{staticClass:"i-layout-header-title",domProps:{innerHTML:e._s(e.tTitle(e.appTitle))}}):e._e()])},Ae=[],Ie={small:"./images/logo-small.png",normal:"./images/logo.png",dark:"./images/logo-dark.png"},De={name:"IHeaderLogo",mixins:[h],props:{logo:{type:Object},to:{type:String,default:"/"}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["isMobile","headerTheme","appTitle"]),{finalLogo:function(){return Object.assign({},Ie,this.logo)}})},Fe=De,Re=Object(m["a"])(Fe,Le,Ae,!1,null,null,null),ze=Re.exports,Ne=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger",class:{"i-layout-header-trigger-min":e.showReload},on:{click:e.handleToggleMenuSide}},[t("Icon",{directives:[{name:"show",rawName:"v-show",value:e.menuCollapse||e.isMobile,expression:"menuCollapse || isMobile"}],attrs:{type:"bingo-menu-unfold"}}),t("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.menuCollapse&&!e.isMobile,expression:"!menuCollapse && !isMobile"}],attrs:{type:"bingo-menu-fold"}})],1)},$e=[],Be={name:"iHeaderCollapse",computed:Object.assign({},Object(s["mapState"])("admin/layout",["isMobile","isTablet","isDesktop","menuCollapse","showReload"]),Object(i["mapGetters"])("admin/page",["currentPage"])),methods:Object.assign({},Object(s["mapMutations"])("admin/layout",["updateMenuCollapse","setKeepMenuCollapse"]),{handleToggleMenuSide:function(e){this.isMobile?(this.updateMenuCollapse(!1),this.currentPage.pst.siderCollapse=!0,this.setKeepMenuCollapse(!0),this.$emit("on-toggle-drawer",e)):(this.updateMenuCollapse(!this.menuCollapse),this.currentPage.pst.siderCollapse=this.menuCollapse,this.setKeepMenuCollapse(this.menuCollapse))}}),watch:{$route:function(){this.isMobile&&this.handleToggleMenuSide(!1)},isTablet:function(e){!this.isMobile&&e&&this.updateMenuCollapse(!0)},isDesktop:function(e){!this.isMobile&&e&&this.updateMenuCollapse(!1)}}},He=Be,Ue=Object(m["a"])(He,Ne,$e,!1,null,null,null),qe=Ue.exports,We=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger",class:{"i-layout-header-trigger-min":e.showSiderCollapse},on:{click:e.handleReload}},[t("Icon",{attrs:{type:"md-refresh"}})],1)},Ge=[],Ve={name:"iHeaderReload",computed:Object.assign({},Object(s["mapState"])("admin/layout",["isMobile","showSiderCollapse"])),methods:{handleReload:function(){this.$emit("on-reload")}}},Ye=Ve,Ke=Object(m["a"])(Ye,We,Ge,!1,null,null,null),Xe=Ke.exports,Je=function(){var e=this,t=e._self._c;return e.isLimit?e._e():t("Breadcrumb",{ref:"breadcrumb",staticClass:"i-layout-breadcrumb"},[e.topItem?t("BreadcrumbItem",[t("i-menu-head-title",{attrs:{menu:e.topItem,"hide-icon":!e.showBreadcrumbIcon}})],1):e._e(),e._l(e.items,(function(n){return t("BreadcrumbItem",{key:n.path},[t("i-menu-head-title",{attrs:{menu:n,"hide-icon":!e.showBreadcrumbIcon}})],1)})),t("BreadcrumbItem",[t("i-menu-head-title",{attrs:{menu:e.siderMenuObject[e.activePath],"hide-icon":!e.showBreadcrumbIcon}})],1)],2)},Ze=[],Qe=r["utils"].on,et=r["utils"].off,tt=r["utils"].assist,nt=tt.findComponentUpward,rt=tt.getStyle,it={name:"IHeaderBreadcrumb",components:{iMenuHeadTitle:g},computed:Object.assign({},Object(s["mapState"])("admin/layout",["showBreadcrumbIcon","menuCollapse"]),Object(s["mapState"])("admin/menu",["openNames","activePath","header","headerName"]),{siderMenuObject:function(){var e={};return this.allSiderMenu.forEach((function(t){"id"in t&&(e[t.id]=t)})),e},items:function(){var e=this,t=[].concat(this.openNames),n=[];return t.forEach((function(t){var r=e.siderMenuObject[t];r&&n.push(e.siderMenuObject[t])})),n},topItem:function(){var e=this;return this.header.find((function(t){return t.name===e.headerName}))}}),data:function(){return{allSiderMenu:Object(je["a"])(k["a"].siderMenus(),[]),handleResize:function(){},isLimit:!1,maxWidth:560,breadcrumbWidth:0}},watch:{topItem:{handler:function(){this.handleGetWidth(),this.handleCheckWidth()},deep:!0},items:{handler:function(){this.handleGetWidth(),this.handleCheckWidth()},deep:!0},activePath:{handler:function(){this.handleGetWidth(),this.handleCheckWidth()},deep:!0}},mounted:function(){this.handleResize=Object(O["throttle"])(this.handleCheckWidth,100,{leading:!1}),Qe(window,"resize",this.handleResize),this.handleGetWidth(),this.handleCheckWidth()},beforeDestroy:function(){et(window,"resize",this.handleResize)},methods:{handleCheckWidth:function(){var e=this,t=nt(this,"Header");if(t){var n=parseInt(rt(t.$el,"width"));this.$nextTick((function(){e.isLimit=n-e.maxWidth<=e.breadcrumbWidth}))}},handleGetWidth:function(){var e=this;this.isLimit=!1,this.$nextTick((function(){var t=e.$refs.breadcrumb;t&&(e.breadcrumbWidth=parseInt(rt(t.$el,"width")))}))}}},ot=it,at=Object(m["a"])(ot,Je,Ze,!1,null,null,null),ut=at.exports,ct=function(){var e=this,t=e._self._c;return t("Tooltip",{attrs:{content:e.tooltipContent,transfer:""}},[t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min",on:{click:e.handleOpenLog}},[t("Badge",{attrs:{count:0===e.lengthError?null:e.lengthError,"overflow-count":99,dot:e.showDot,offset:[0,"-2px"]}},[t("Icon",{attrs:{type:"md-radio-button-on"}})],1)],1)])},st=[],lt={name:"IHeaderLog",computed:Object.assign({},Object(s["mapGetters"])("admin/log",["length","lengthError"]),{showDot:function(){return!!this.length&&0===this.lengthError},tooltipContent:function(){if(this.length){var e=this.length+" 条日志";return this.lengthError&&(e+=" | 包含 "+this.lengthError+" 个异常"),e}return"没有日志或异常"}}),methods:{handleOpenLog:function(){this.$router.push({name:"log",query:{_tab:!0,_pid:"_blank",_mid:"_blank"}})}}},ft=lt,ht=Object(m["a"])(ft,ct,st,!1,null,null,null),dt=ht.exports,pt=function(){var e=this,t=e._self._c;return e.showFullscreen?t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min",on:{click:e.toggleFullscreen}},[t("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.isFullscreen,expression:"!isFullscreen"}],attrs:{type:"bingo-full-screen"}}),t("Icon",{directives:[{name:"show",rawName:"v-show",value:e.isFullscreen,expression:"isFullscreen"}],attrs:{type:"bingo-exit-full-screen"}})],1):e._e()},mt=[],vt={name:"iHeaderFullscreen",computed:Object.assign({},Object(s["mapState"])("admin/layout",["isFullscreen","showFullscreen"])),methods:Object.assign({},Object(s["mapActions"])("admin/layout",["toggleFullscreen"]))},gt=vt,yt=Object(m["a"])(gt,pt,mt,!1,null,null,null),bt=yt.exports,wt=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min",on:{click:e.showSetting}},[t("Icon",{attrs:{type:"ios-settings-outline"}}),t("Drawer",{attrs:{title:"页面配置",width:"300"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[e.visible?[t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("导航布局")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("div",{staticClass:"i-layout-header-setting-item-radio",class:{on:!1===e.headerStick},on:{click:function(t){return e.handleChangeThemeSetting({siderFix:!0,headerFix:!0,siderTheme:"dark",headerTheme:"light",headerStick:!1})}}},[t("Tooltip",{attrs:{content:"左右布局",placement:"top",transfer:""}},[t("img",{attrs:{src:n("71e8")}})])],1),t("div",{staticClass:"i-layout-header-setting-item-radio",class:{on:!0===e.headerStick},on:{click:function(t){return e.handleChangeThemeSetting({siderFix:!0,headerFix:!0,siderTheme:"light",headerTheme:"dark",headerStick:!0})}}},[t("Tooltip",{attrs:{content:"上下布局",placement:"top",transfer:""}},[t("img",{attrs:{src:n("14fe")}})])],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("导航风格")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("顶栏栏风格")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("RadioGroup",{attrs:{value:e.headerTheme,type:"button","button-style":"solid"},on:{"on-change":e.handleChangeHeaderTheme}},[t("Radio",{attrs:{label:"light"}},[e._v("浅色")]),t("Radio",{attrs:{label:"dark"}},[e._v("深色")]),t("Radio",{attrs:{label:"primary"}},[e._v("主题色")])],1)],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("侧边栏风格")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("RadioGroup",{attrs:{value:e.siderTheme,type:"button","button-style":"solid"},on:{"on-change":e.handleChangeSiderTheme}},[t("Radio",{attrs:{label:"light"}},[e._v("浅色")]),t("Radio",{attrs:{label:"dark"}},[e._v("深色")])],1)],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("导航设置")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("固定侧边栏")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.siderFix},on:{"on-change":function(t){return e.handleChangeSetting("siderFix",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("固定顶栏")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.headerFix},on:{"on-change":function(t){return e.handleChangeSetting("headerFix",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.headerFix}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 下滑时隐藏顶栏 "),t("Tooltip",{attrs:{placement:"top",content:"需开启固定顶栏",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.headerHide,disabled:!e.headerFix},on:{"on-change":function(t){return e.handleChangeSetting("headerHide",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.headerFix}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 置顶顶栏 "),t("Tooltip",{attrs:{placement:"top",content:"需开启固定顶栏",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.headerStick,disabled:!e.headerFix},on:{"on-change":function(t){return e.handleChangeSetting("headerStick",t)}}})],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("多标签Tab页")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("开启多页签")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.tabs},on:{"on-change":function(t){return e.handleChangeSetting("tabs",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.tabs}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 多页签显示图标 "),t("Tooltip",{attrs:{placement:"top",content:"需开启多页签",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showTabsIcon,disabled:!e.tabs},on:{"on-change":function(t){return e.handleChangeSetting("showTabsIcon",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.tabs}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 固定多页签 "),t("Tooltip",{attrs:{placement:"top",content:"需开启多页签",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.tabsFix,disabled:!e.tabs},on:{"on-change":function(t){return e.handleChangeSetting("tabsFix",t)}}})],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("面包屑")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 显示全局面包屑导航 "),t("Tooltip",{attrs:{placement:"top",content:"headerMenu 开启时无效",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showBreadcrumb},on:{"on-change":function(t){return e.handleChangeSetting("showBreadcrumb",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.showBreadcrumb}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 全局面包屑显示图标 "),t("Tooltip",{attrs:{placement:"top",content:"需开启全局面包屑导航",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showBreadcrumbIcon,disabled:!e.showBreadcrumb},on:{"on-change":function(t){return e.handleChangeSetting("showBreadcrumbIcon",t)}}})],1)]),t("Divider",{attrs:{orientation:"left",size:"small"}},[e._v("其他配置")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("显示多语言选择")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showI18n},on:{"on-change":function(t){return e.handleChangeSetting("showI18n",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("显示重载页面按钮")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showReload},on:{"on-change":function(t){return e.handleChangeSetting("showReload",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("显示折叠侧边栏按钮")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showSiderCollapse},on:{"on-change":function(t){return e.handleChangeSetting("showSiderCollapse",t)}}})],1)])]:e._e()],2)],1)},_t=[],xt={name:"IHeaderSetting",components:{},data:function(){return{visible:!1}},computed:Object.assign({},Object(s["mapState"])("admin/layout",["themeDark","siderTheme","headerTheme","headerStick","siderFix","headerFix","headerHide","menuAccordion","showSiderCollapse","tabs","showTabsIcon","tabsFix","showBreadcrumb","showBreadcrumbIcon","showReload","showI18n","showCollapseMenuTitle"])),methods:Object.assign({},Object(s["mapMutations"])("admin/layout",["updateLayoutSetting"]),{showSetting:function(){this.visible=!0},handleChangeSetting:function(e,t){this.updateLayoutSetting({key:e,value:t})},handleChangeThemeSetting:function(e){for(var t in e){var n=e[t];this.updateLayoutSetting({key:t,value:n})}},handleChangeSiderTheme:function(e){this.updateLayoutSetting({key:"siderTheme",value:e})},handleChangeHeaderTheme:function(e){this.updateLayoutSetting({key:"headerTheme",value:e})}})},Ot=xt,jt=Object(m["a"])(Ot,wt,_t,!1,null,null,null),kt=jt.exports,St=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min"},[t("Dropdown",{staticClass:"i-layout-header-user",attrs:{trigger:"click"},on:{"on-click":e.handleClick}},[t("Icon",{attrs:{type:e.themeIcon,size:"20"}}),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},e._l(e.themeList,(function(n,r){return t("DropdownItem",{key:r,attrs:{name:n.name,selected:e.theme===r}},[t("Icon",{staticClass:"mr-4",attrs:{type:n.icon,size:"16"}}),t("span",[e._v(e._s(n.label))])],1)})),1)],1)],1)},Ct=[],Mt=n("2c28"),Et={light:{icon:"md-sunny",name:"light",label:"亮色模式"},dark:{icon:"ios-moon",name:"dark",label:"暗黑模式"},auto:{icon:"md-desktop",name:"auto",label:"跟随系统"}},Tt={data:function(){return{themeList:Et,themeMode:null,theme:"",themeIcon:"light"}},watch:{theme:function(e){this.themeMode=e}},mounted:function(){var e=this;this.$nextTick((function(){e.init()}))},methods:{handleClick:function(e){this.theme=e,this.themeIcon=this.themeList[e].icon},init:function(){this.themeMode=Object(Mt["useColorMode"])({selector:"body",storageKey:"fly-theme",attribute:"fly-theme",emitAuto:!0,modes:{dark:"dark",light:"light",system:"auto"}}),this.theme=Object(i["config"])().layout.theme&&!Object(O["isEmpty"])(Object(i["config"])().layout.theme)?Object(i["config"])().layout.theme:this.themeMode,this.theme&&(this.themeIcon=this.themeList[this.theme].icon)}}},Pt=Tt,Lt=Object(m["a"])(Pt,St,Ct,!1,null,null,null),At=Lt.exports,It=function(){var e=this,t=e._self._c;return t("div",{staticClass:"i-layout-tabs",class:e.classes,style:e.styles},[t("div",{staticClass:"i-layout-tabs-main"},[t("Tabs",{attrs:{type:"card",value:e.current,animated:!1,closable:""},on:{"on-click":e.handleClickTab,"on-tab-remove":e.handleClickClose}},e._l(e.opened,(function(n){return t("TabPane",{key:n.tid,attrs:{label:function(t){return e.tabLabel(t,n)},name:n.fullPath,closable:n.meta&&n.meta.closable||!(e.defaultRouterName===n.name)}})})),1),t("Dropdown",{staticClass:"i-layout-tabs-close",attrs:{"transfer-class-name":"i-layout-tabs-dropdown-menu",transfer:""},on:{"on-click":e.handleClose}},[t("div",{staticClass:"i-layout-tabs-close-main"},[t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"left"}},[t("Icon",{attrs:{type:"md-arrow-back"}}),e._v(" "+e._s(e.$t("iflyAdmin.basicLayout.tabs.left"))+" ")],1),t("DropdownItem",{attrs:{name:"right"}},[t("Icon",{attrs:{type:"md-arrow-forward"}}),e._v(" "+e._s(e.$t("iflyAdmin.basicLayout.tabs.right"))+" ")],1),t("DropdownItem",{attrs:{name:"other"}},[t("Icon",{attrs:{type:"md-close"}}),e._v(" "+e._s(e.$t("iflyAdmin.basicLayout.tabs.other"))+" ")],1),t("DropdownItem",{attrs:{name:"all"}},[t("Icon",{attrs:{type:"md-close-circle"}}),e._v(" "+e._s(e.$t("iflyAdmin.basicLayout.tabs.all"))+" ")],1)],1)],1)],1)])},Dt=[],Ft={name:"ITabs",mixins:[h],computed:Object.assign({},Object(s["mapState"])("admin/page",["opened","current"]),Object(s["mapState"])("admin/layout",["tabsTheme","showTabsIcon","tabsFix","tabsReload","headerFix","headerStick","isMobile","menuCollapse"]),Object(s["mapGetters"])("admin/menu",["hideSider"]),Object(s["mapGetters"])("admin/page",["defaultRouterName"]),{classes:function(){return["i-layout-tabs-"+this.tabsTheme,{"i-layout-tabs-fix":this.tabsFix}]},isHeaderStick:function(){return this.hideSider},headerHeight:function(){return Object(i["config"])().headerHeight||64},styles:function(){var e={};this.tabsFix&&!this.headerFix&&(e.top=this.headerHeight-this.scrollTop+"px");var t=this.isHeaderStick?0:this.menuCollapse?Object(i["config"])().menuSideCollapseWidth||80:Object(i["config"])().menuSideWidth;return!this.isMobile&&this.tabsFix&&(e.width="calc(100% - "+t+"px)",e.left=t+"px"),e}}),data:function(){return{allSiderMenu:Object(je["b"])(k["a"].siderMenus()),scrollTop:0}},methods:Object.assign({},Object(s["mapActions"])("admin/page",["close","closeLeft","closeRight","closeOther","closeAll"]),{tabLabel:function(e,t){var n=e("span",this.tTitle(t.meta.title)||""),r=[];if(this.showTabsIcon){var i,o=t.fullPath.indexOf("?")>=0?t.fullPath.split("?")[0]:t.fullPath,a=this.allSiderMenu.find((function(e){return e.path===o}))||{};a.icon?i=e("Icon",{props:{type:a.icon}}):a.custom?i=e("Icon",{props:{custom:a.custom}}):a.img&&(i=e("img",{attrs:{src:a.img}})),i&&r.push(i),r.push(n)}else r.push(n);return e("div",{class:"i-layout-tabs-title"},r)},handleClickTab:function(e){if(e===this.current)this.tabsReload&&this.$emit("on-reload");else{var t=this.opened.find((function(t){return t.fullPath===e}));t&&this.$router.push({path:t.fullPath},(function(){}))}},handleClickClose:function(e){this.close({tagName:e})},handleScroll:function(){if(this.tabsFix&&!this.headerFix){var e=document.body.scrollTop+document.documentElement.scrollTop;this.scrollTop=e>this.headerHeight?this.headerHeight:e}},handleClose:function(e){var t={pageSelect:this.current};switch(e){case"left":this.closeLeft(t);break;case"right":this.closeRight(t);break;case"other":this.closeOther(t);break;case"all":this.closeAll();break}}}),mounted:function(){document.addEventListener("scroll",this.handleScroll,{passive:!0}),this.handleScroll()},beforeDestroy:function(){document.removeEventListener("scroll",this.handleScroll)}},Rt=Ft,zt=Object(m["a"])(Rt,It,Dt,!1,null,null,null),Nt=zt.exports,$t=function(){var e=this,t=e._self._c;return t("GlobalFooter",{staticClass:"i-copyright",attrs:{links:e.links,copyright:e.copyright}})},Bt=[],Ht={name:"i-copyright",props:{links:{type:Array,default:function(){return[]}},copyright:{type:String,default:"Copyright © 2020 广州市品高软件股份有限公司"}}},Ut=Ht,qt=(n("a5d5"),Object(m["a"])(Ut,$t,Bt,!1,null,null,null)),Wt=qt.exports,Gt=n("a6ed"),Vt=function(){return Vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Vt.apply(this,arguments)},Yt={iHeaderFullscreen:function(){return n.e("flyvue-admin-components").then(n.bind(null,"037d"))},iHeaderReload:function(){return n.e("flyvue-admin-components").then(n.bind(null,"2e53"))},iHeaderSetting:function(){return n.e("flyvue-admin-components").then(n.bind(null,"e2b7"))},iHeaderI18n:function(){return n.e("flyvue-admin-components").then(n.bind(null,"108e"))},iHeaderTargetLink:function(){return n.e("flyvue-admin-components").then(n.bind(null,"71cd"))},iHeaderTheme:function(){return n.e("flyvue-admin-components").then(n.bind(null,"9f8b"))},iLayoutFullscreen:function(){return n.e("flyvue-admin-components").then(n.bind(null,"037d"))},iLayoutReload:function(){return n.e("flyvue-admin-components").then(n.bind(null,"2e53"))},iLayoutSetting:function(){return n.e("flyvue-admin-components").then(n.bind(null,"e2b7"))},iLayoutI18n:function(){return n.e("flyvue-admin-components").then(n.bind(null,"108e"))},iLayoutTargetLink:function(){return n.e("flyvue-admin-components").then(n.bind(null,"71cd"))},iLayoutTheme:function(){return n.e("flyvue-admin-components").then(n.bind(null,"9f8b"))}},Kt={iDasktopLayout:function(){return n.e("flyvue-admin-layout").then(n.bind(null,"8acc"))}},Xt=Vt(Vt({},Yt),Kt),Jt={install:function(e,t){e.config.errorHandler=function(t,n,r){e.nextTick((function(){"development"===o.a.NODE_ENV&&(S["a"].log.capsule("@fly-vue/iview admin","ErrorHandler","error"),S["a"].log.error(">>>>>> 错误信息 >>>>>>"),console.error(r),S["a"].log.error(">>>>>> Vue 实例 >>>>>>"),console.error(n),S["a"].log.error(">>>>>> Error >>>>>>")),console.error(t),Object(i["store"])().dispatch("admin/log/push",{message:r+": "+t.message,type:"error",meta:{error:t}})}))}}},Zt={install:function(e,t){e.prototype.$log=Object.assign({},S["a"].log,{push:function(e){"string"===typeof e?Object(i["store"])().dispatch("admin/log/push",{message:e}):"object"===typeof e&&Object(i["store"])().dispatch("admin/log/push",e)}})}},Qt={inserted:function(e,t,n){var r=t.value;if(r){var o=i["PermissionService"].hasPerm(r);o||e.parentNode&&e.parentNode.removeChild(e)}}};function en(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */en=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new T(r||[]);return i(a,"_invoke",{value:S(e,n,u)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",m="completed",v={};function g(){}function y(){}function b(){}var w={};s(w,a,(function(){return this}));var _=Object.getPrototypeOf,x=_&&_(_(P([])));x&&x!==n&&r.call(x,a)&&(w=x);var O=b.prototype=g.prototype=Object.create(w);function j(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(i,o,a,u){var c=f(e[i],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function S(t,n,r){var i=h;return function(o,a){if(i===p)throw Error("Generator is already running");if(i===m){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var c=C(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var s=f(t,n,r);if("normal"===s.type){if(i=r.done?m:d,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=m,r.method="throw",r.arg=s.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,i(O,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:y,configurable:!0}),y.displayName=s(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},j(k.prototype),s(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new k(l(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},j(O),s(O,c,"Generator"),s(O,a,(function(){return this})),s(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=P,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function tn(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function nn(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){tn(o,r,i,a,u,"next",e)}function u(e){tn(o,r,i,a,u,"throw",e)}a(void 0)}))}}var rn={install:function(e,t){return nn(en().mark((function t(){return en().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.use(Jt),e.use(Zt),e.directive("auth",Qt);case 3:case"end":return t.stop()}}),t)})))()}},on=n("5a13"),an={};on.keys().forEach((function(e){an[e.replace(/(\.\/|\.js|\.ts)/g,"")]=on(e).default}));var un={namespaced:!0,modules:an},cn=[{name:"ssoclient",component:n("cd38").default,path:"/ssoclient"},{name:"link-login",component:n("cd38").default,path:"/link-login"},{name:"preload",meta:{auth:!1},component:n("782f").default,path:"/preload"}],sn=[{path:"/403",name:"403",meta:{title:"403"},component:n("94df").default},{path:"/500",name:"500",meta:{title:"500"},component:n("33a1").default},{path:"*",name:"404",meta:{title:"404"},component:n("5c4b").default}],ln=[{path:"/log",name:"log",meta:{title:"日志"},component:function(){return n.e("chunk-2d0a4743").then(n.bind(null,"0706"))}},{name:"iframe",component:n("e470").default,path:"iframe/:id?"}],fn=[].concat(cn,sn),hn=n("eb44"),dn=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},pn=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},mn=function(){function e(){this._cache_db="requestCache",this._key_for_request_cache="cachable"}return e.prototype.onRequest=function(e){return dn(this,void 0,void 0,(function(){var t,n,r=this;return pn(this,(function(i){return t=this.buildRequestCacheConfig(e),t.cachable?(e[this._key_for_request_cache]=t,n=this.getDB().find({rid:t.cacheKey}).value(),n&&null!=n.cacheControl&&(e.headers[n.cacheControl.left]=n.cacheControl.right),t.disabled||this.isExpired(n)?[2,e]:(e.adapter=function(e){return r.buildAxiosResponse({data:n.data,status:200,statusText:"OK",headers:{"x-from-cache":!0},config:e})},[2])):[2,e]}))}))},e.prototype.onResponse=function(e){if(!e.headers["x-from-cache"]){var t=e.config[this._key_for_request_cache];if(200===e.status&&t&&t.cachable){var n=void 0;n=e.headers["last-modified"]?{left:"If-Modified-Since",right:e.headers["last-modified"]}:e.headers["etag"]?{left:"If-None-Match",right:e.headers["etag"]}:null,this.upsertCache({rid:t.cacheKey,data:e.data,cfg:e.config,createAt:Date.now(),cacheControl:n})}}},e.prototype.onResponseError=function(e){if(304===e.response.status){var t=e.config[this._key_for_request_cache];if(!t)return;var n=this.getDB().find({rid:t.cacheKey}).value();if(n)return e.response.data=n.data,this.buildAxiosResponse(e.response)}},e.prototype.clearAll=function(){this.getDB().remove().write()},e.prototype.disableCache=function(e){void 0===e&&(e=2e3);var t=this.getCacheConfig();return t.disabledBefore=Date.now()+e,i["ConfigHelper"].set("httpCache",t),t},e.prototype.updateCacheConfig=function(e){return i["ConfigHelper"].set("httpCache",e),e},e.prototype.getCacheConfig=function(){var e=Object(O["assign"])({enabled:!1,disabledBefore:0,keysForCache:[]},i["ConfigHelper"].getConfigVal("httpCache"));return e},e.prototype.buildRequestCacheConfig=function(e){var t={cacheKey:e.url,cachable:!1,disabled:!1};if("get"!=e.method.toLowerCase())return t;var n=e[this._key_for_request_cache];Object(O["isObject"])(n)?Object(O["assign"])(t,n):Object(O["isBoolean"])(n)&&n&&(t.cacheKey=e.url,t.cachable=!0);var r=this.getCacheConfig();return!t.cachable&&r.keysForCache.includes(t.cacheKey)&&(t.cachable=!0),t.cachable&&Date.now()<=r.disabledBefore&&(t.disabled=!0),t},e.prototype.getDB=function(){return S["a"].db.get(this._cache_db)},e.prototype.isExpired=function(e){var t=36e5;return null==e||null!=e.cacheControl||Date.now()-e.createAt>t},e.prototype.upsertCache=function(e){var t=this.getDB(),n=t.find({rid:e.rid}).value();n?t.find({rid:n.rid}).assign(e).write():t.push(e).write()},e.prototype.buildAxiosResponse=function(e){return new Promise((function(t,n){t(e)}))},e}(),vn=n("cf26"),gn={theme:"dynamic-custom-theme",themeCss:"dynamic-custom-theme-css"};function yn(e){var t,n=null===(t=i["webApplication"].config.loadCustomTheme)||void 0===t||t;if(n){var r=Object(vn["getAllTheme"])("pc",{color:e.color,other:e.other},{mergeDefault:!1});e.config&&Object(O["merge"])(r,e.config);var o=null,a="",u="";for(var c in r.light)a+=c+": "+r.light[c]+";\n";for(var c in r.dark)u+=c+": "+r.dark[c]+";\n";o="\n body {\n "+a+"\n }\n body[fly-theme='dark']{\n "+u+"\n }\n ",bn(gn.theme,o),e.customStyles&&bn(gn.themeCss,e.customStyles)}}function bn(e,t){var n=document.head||document.getElementsByTagName("head")[0],r=document.getElementById(e);r||(r=document.createElement("style"),r.id=e,n.appendChild(r)),r.innerHTML=""+t}function wn(e){var t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.head.appendChild(t)}function _n(){var e=[gn.theme,gn.themeCss];e.forEach((function(e){var t=document.getElementById(e);t&&t.remove()}))}function xn(e){var t,n,r=null===(n=null===(t=null===e||void 0===e?void 0:e.ideui)||void 0===t?void 0:t.loadTheme)||void 0===n||n;if(r){var i=e.apiBaseUrl||e.apiBaseURL;i&&i.endsWith("/")&&(i=i.slice(0,-1));var o=i?"/"===i?"":i:"",a=!o||o.endsWith("/")?o+"ui/styles/pc.css":o+"/ui/styles/pc.css";wn(a)}}var On=xn,jn=n("1b5c"),kn=n("5e20"),Sn=n("a53c"),Cn=n("4fab"),Mn=function(){var e=this,t=e._self._c;return t("bg-keep-alive",{attrs:{include:e.keepAlive}},[e.loadRouter?t("router-view"):e._e()],1)},En=[],Tn={name:"SubAppLayout",data:function(){return{loadRouter:!0}},computed:Object.assign({},Object(s["mapState"])("admin/page",["keepAlive"])),watch:{$route:function(e,t){e.name===t.name&&Object(i["config"])()["sameRouteForceUpdate"]&&this.handleReload()}},methods:Object.assign({},Object(s["mapMutations"])("admin/layout",["updateMenuCollapse"]),Object(s["mapMutations"])("admin/page",["keepAlivePush","keepAliveRemove"]),{handleScroll:function(){var e=this;if(this.headerHide){var t=document.body.scrollTop+document.documentElement.scrollTop;this.ticking||(this.ticking=!0,Object(S["b"])((function(){e.oldScrollTop>t?e.headerVisible=!0:t>300&&e.headerVisible?e.headerVisible=!1:t<300&&!e.headerVisible&&(e.headerVisible=!0),e.oldScrollTop=t,e.ticking=!1})))}},handleReload:function(){var e=this,t=this.keepAlive.indexOf(this.$route.name)>-1,n=this.$route.name;t&&this.keepAliveRemove(n),this.loadRouter=!1,this.$nextTick((function(){e.loadRouter=!0,t&&e.keepAlivePush(n)}))}}),mounted:function(){document.addEventListener("scroll",this.handleScroll,{passive:!0})},beforeDestroy:function(){document.removeEventListener("scroll",this.handleScroll)},created:function(){this.isTablet&&this.showSiderCollapse&&this.updateMenuCollapse(!0)}},Pn=Tn,Ln=Object(m["a"])(Pn,Mn,En,!1,null,null,null),An=Ln.exports,In=n("40e0"),Dn=n("2e3d"),Fn=function(){return Fn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Fn.apply(this,arguments)},Rn=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},zn=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Nn={iMenuHead:J,iMenuSide:Pe,iHeaderLogo:ze,iHeaderCollapse:qe,iHeaderReload:Xe,iHeaderBreadcrumb:ut,iHeaderLog:dt,iHeaderFullscreen:bt,iHeaderSetting:kt,iHeaderTheme:At,iTabs:Nt,iCopyright:Wt,iLink:Gt["a"]},$n=Fn({},Nn),Bn=Object.assign({},a["a"]),Hn=new mn,Un=function(e){var t=this,n=e;e["_BINGO_UI_WEB_APPLICATIOIN"]&&(n=e.Vue),n.prototype.$ft=function(t,n,r){return void 0===n&&(n=""),e.i18n.te(t)?e.i18n.t(t,r):n},e.store.registerModule("admin",un),Object.keys($n).forEach((function(e){n.component(e,$n[e])})),e.store.dispatch("admin/i18n/getLocale");var o=e.store.state.admin.i18n.locale;e.use(rn).addConfig({locale:o}).addLocaleMessages(Bn).mixin({watch:{$route:function(e,t){x["a"].onRouteChange(e,t)}}}).registerEvent(i["WebApplicationEventType"].immediatelyAfterConfigLoaded,(function(){var t=e.config.apiBaseUrl||e.config.apiBaseURL;t&&i["HttpRequest"].setGlobalDefaults({baseURL:t}),Hn.getCacheConfig().enabled&&(i["HttpRequest"].addGlobalInterceptor(i["HttpInterceptorType"].request,(function(e){return Hn.onRequest(e)})),i["HttpRequest"].addGlobalInterceptor(i["HttpInterceptorType"].response,(function(e){return Hn.onResponse(e)})),i["HttpRequest"].addGlobalInterceptor(i["HttpInterceptorType"].responseError,(function(e){return Hn.onResponseError(e)})))})).registerEvent(i["WebApplicationEventType"].configLoaded,(function(){return Rn(t,void 0,void 0,(function(){var t,n,r,o,a,u;return zn(this,(function(c){switch(c.label){case 0:if(Object(i["config"])(),t=Object(i["config"])().layout,!j.a.isEmpty(t))for(n in t)e.store.commit("admin/layout/updateLayoutSetting",{key:n,value:t[n]});return Object(i["config"])()["settings.app.title"]&&e.store.commit("admin/layout/updateLayoutSetting",{key:"appTitle",value:Object(i["config"])()["settings.app.title"]}),Object(i["config"])()["settings.app.logo"]&&e.store.commit("admin/layout/updateLayoutSetting",{key:"logo",value:Object(i["config"])()["settings.app.logo"]}),Object(i["config"])()["settings.app.favicon"]&&document&&(r=Object(i["config"])()["settings.app.favicon"],o=document.querySelector('link[rel="icon"]'),null!==o?o.href=r:(o=document.createElement("link"),o.rel="icon",o.href=r,document.head.appendChild(o))),a=Object(i["config"])().layout.menuCollapse,e.store.commit("admin/layout/updateMenuCollapse",a),u=i["ConfigHelper"].getConfigVal("allowPageAnonymous"),u?[4,Wn()]:[3,2];case 1:c.sent(),c.label=2;case 2:return[2]}}))}))})).registerEvent(i["WebApplicationEventType"].vueBeforeCreate,(function(t){var n,r,i,o,a,u=null===(n=e.config.loadCustomTheme)||void 0===n||n||null!==(o=null===(i=null===(r=e.config)||void 0===r?void 0:r.ideui)||void 0===i?void 0:i.loadTheme)&&void 0!==o&&o;e.config["theme"]&&u&&yn(e.config["theme"]);var c=null===(a=e.config.globalLinkCss)||void 0===a||a;c&&On(e.config)})).registerEvent(i["WebApplicationEventType"].routerLoading,(function(t){e.addRoutes(fn),e.addRoutes(ln,"/");var n=t.stringifyQueries;n.push((function(e,t){return x["a"].stringifyQuery(e,t)}))})).registerEvent(i["WebApplicationEventType"].routerLoaded,(function(n){return Rn(t,void 0,void 0,(function(){return zn(this,(function(t){switch(t.label){case 0:return e.store.commit("admin/menu/setHeader",k["a"].headerMenus()),n.router.afterEach((function(){e.config.showProgressBar&&r["ViewUI"].LoadingBar.finish(),window.scrollTo(0,0)})),[4,qn()];case 1:return t.sent(),[2]}}))}))})).registerEvent(i["WebApplicationEventType"].vueCreated,(function(){this.$store.dispatch("admin/layout/listenFullscreen"),hn["a"].inIframe()&&hn["a"].autoHeightForIframe()})).registerEvent(i["WebApplicationEventType"].userSignIn,(function(t){return Rn(this,void 0,void 0,(function(){return zn(this,(function(n){switch(n.label){case 0:return e.store.dispatch("admin/user/set",t.user),[4,Wn()];case 1:return n.sent(),[2]}}))}))})).registerEvent(i["WebApplicationEventType"].userSignOut,(function(){return Rn(this,void 0,void 0,(function(){return zn(this,(function(t){switch(t.label){case 0:return[4,e.store.dispatch("admin/page/closeAll")];case 1:return t.sent(),[2]}}))}))}))},qn=function(e){return Rn(this,void 0,void 0,(function(){var t,n;return zn(this,(function(r){switch(r.label){case 0:return t=Object(i["config"])(),t.layout.tabs?(n=e||i["webApplication"].routeManager.routes,i["webApplication"].store.commit("admin/page/init",n),[4,i["webApplication"].store.dispatch("admin/page/openedLoad",null,{root:!0})]):[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},Wn=function(){return Rn(this,void 0,void 0,(function(){var e;return zn(this,(function(t){switch(t.label){case 0:return i["webApplication"].config.dynamicSiderMenu?(e=!0===i["webApplication"].config.dynamicSiderMenu?void 0:i["webApplication"].config.dynamicSiderMenu,[4,k["a"].loadRemoteMenu(e)]):[3,3];case 1:return t.sent(),0===k["a"].headerMenus().length&&k["a"].addHeaderMenus([{path:"/",title:"首页",icon:"md-home",hideSider:!1,name:"home"}]),i["webApplication"].store.commit("admin/menu/setGroup",k["a"].group),[4,qn(k["a"].siderMenus())];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},Gn=function(e){k["a"].addMenus(e)},Vn=function(e){k["a"].addHeaderMenus(e)},Yn={name:"@fly-vue/iview-admin",version:"1.8.0-snapshot",dependencies:["@fly-vue/core"],install:Un,addHeaderMenus:Vn,addSiderMenus:Gn,components:Fn(Fn({},Xt),Nn)};Object.defineProperty(Yn,"i18n",{get:function(){return i["webApplication"].i18n},enumerable:!0}),t["default"]=Yn,i["webApplication"].use(r["ViewUI"],{i18n:function(e,t){return i["webApplication"].i18n["t"](e,t)}}).use(r["iViewPro"]).addModule(Yn);var Kn=Hn},"4a19":function(e,t,n){"use strict";n.r(t);var r=n("5a0c"),i=n.n(r),o=n("2ef0"),a=n("6bc3");t["default"]={namespaced:!0,state:{log:[]},getters:{length:function(e){return e.log.length},lengthError:function(e){return e.log.filter((function(e){return"error"===e.type})).length}},actions:{push:function(e,t){var n=e.rootState,r=e.commit,u=t.message,c=t.type,s=void 0===c?"info":c,l=t.meta;r("push",{message:u,type:s,time:i()().format("YYYY-MM-DD HH:mm:ss"),meta:Object.assign({user:n.admin.user.info,uuid:a["a"].cookies.get("uuid"),token:a["a"].cookies.get("token"),url:Object(o["get"])(window,"location.href","")},l)})}},mutations:{push:function(e,t){e.log.push(t)},clean:function(e){e.log=[]}}}},"4fab":function(e,t,n){"use strict";n.d(t,"a",(function(){return re})),n.d(t,"b",(function(){return ie})),n.d(t,"c",(function(){return ee}));var r=n("a026"),i=n("dae4"),o=n.n(i),a=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.AdminModal,e._g(e._b({ref:"modalRef",attrs:{value:e.value,fullscreen:n.isFullScreen,draggable:"",sticky:"",scrollable:"",mask:!1,"mask-closable":!1,closabl:!1,closable:!1,"class-name":n.classNameEs,"top-container":[".i-layout-header",".i-layout-tabs"],"left-container":".i-layout-sider",minimize:n.isMinimize},scopedSlots:e._u([{key:"header-extra",fn:function(){return[e._t("header-extra",(function(){return[t("Button",{staticClass:"fly-view-modal-btn",attrs:{ghost:n.ghost,type:"text",size:"small",title:e.$t("iflyAdmin.base.min")},on:{click:n.handleExit}},[t("Icon",{attrs:{type:n.isMinimize?"md-copy":"md-remove",size:"14"}})],1),n.isMinimize?e._e():t("Button",{staticClass:"fly-view-modal-btn",attrs:{ghost:n.ghost,type:"text",size:"small",title:e.$t("iflyAdmin.base.max")},on:{click:n.handleFullScreen}},[t("Icon",{attrs:{type:n.isFullScreen?"md-copy":"md-square-outline",size:"14"}})],1),t("Button",{staticClass:"fly-view-modal-btn",attrs:{ghost:n.ghost,type:"text",title:e.$t("iflyAdmin.base.close"),size:"small"},on:{click:n.handleClose}},[t("Icon",{attrs:{type:"ios-close",size:"14"}})],1)]}))]},proxy:!0},n.slots.footer?{key:"footer",fn:function(){return[e._t("footer")]},proxy:!0}:null],null,!0)},"AdminModal",n.attrs,!1),n.listeners),[e._t("default")],2)},u=[],c=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"transfer-dom",rawName:"v-transfer-dom"}],attrs:{"data-transfer":e.transfer}},[t("transition",{attrs:{name:e.transitionNames[1]}},[e.showMask?t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:e.maskClasses,style:e.wrapStyles,on:{click:e.handleMask}}):e._e()]),t("div",{class:e.wrapClasses,style:e.wrapStyles,on:{click:e.handleWrapClick}},[t("transition",{attrs:{name:e.transitionNames[0]},on:{"after-leave":e.animationFinish}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:e.classes,style:e.mainStyles,on:{mousedown:e.handleMousedown}},[t("div",{ref:"content",class:e.contentClasses,style:e.contentStyles,on:{click:e.handleClickModal}},[e.closable?t("a",{class:[e.prefixCls+"-close"],on:{click:e.close}},[e._t("close",(function(){return[t("Icon",{attrs:{type:"ios-close"}})]}))],2):e._e(),e.showHead?t("div",{ref:"headerRef",class:[e.prefixCls+"-header"],on:{mousedown:e.handleMoveStart}},[t("Row",[t("Col",{staticStyle:{width:"0"},attrs:{flex:"1 0 auto"}},[e._t("header",(function(){return[t("div",{class:[e.prefixCls+"-header-inner"]},[e._v(e._s(e.title))])]}))],2),t("Col",{class:[e.prefixCls+"-header-extra"],attrs:{flex:" "}},[e._t("header-extra")],2)],1)],1):e._e(),t("div",{class:[e.prefixCls+"-body","i-scrollbar"],style:e.bodyStyleEs},[e._t("default")],2),e.footerHide?e._e():t("div",{class:[e.prefixCls+"-footer"]},[e._t("footer",(function(){return[t("i-button",{attrs:{type:e.cancelType},nativeOn:{click:function(t){return e.cancel.apply(null,arguments)}}},[e._v(e._s(e.localeCancelText))]),t("i-button",{attrs:{type:e.okType,loading:e.buttonLoading},nativeOn:{click:function(t){return e.ok.apply(null,arguments)}}},[e._v(e._s(e.localeOkText))])]}))],2),!e.resizable||e.fullscreen||e.minimize?e._e():[t("div",{class:[e.prefixCls+"-resize-handle",e.prefixCls+"-resize-handle-e"],on:{mousedown:function(t){return t.stopPropagation(),e.handleResizeStart("e",t)}}}),t("div",{class:[e.prefixCls+"-resize-handle",e.prefixCls+"-resize-handle-s"],on:{mousedown:function(t){return t.stopPropagation(),e.handleResizeStart("s",t)}}}),t("div",{class:[e.prefixCls+"-resize-handle",e.prefixCls+"-resize-handle-se"],on:{mousedown:function(t){return t.stopPropagation(),e.handleResizeStart("se",t)}}})]],2)])])],1),e.resizable||e.draggable?t("div",{directives:[{name:"show",rawName:"v-show",value:e.resizeData.resizing||e.dragData.dragging,expression:"resizeData.resizing || dragData.dragging"}],class:[e.prefixCls+"-resize-bg",e.prefixCls+"-resize-bg-"+(e.resizeData.direction||"move")],style:e.wrapStyles}):e._e()],1)},s=[],l=n("70da"),f=Object.prototype.toString;function h(e){return"[object String]"===f.call(e)}function d(e){return"[object Array]"===f.call(e)}var p=function(e,t){var n;return null!==(n=(null!==t&&void 0!==t?t:document).querySelector(e))&&void 0!==n?n:void 0},m=function(e,t){if(h(e)){var n="#"===e[0]?"[id='"+e.slice(1)+"']":e;return p(n,t)}return e},v=function(e,t){var n=m(e,t);return n?n.getBoundingClientRect():{width:0,height:0,top:0,left:0,bottom:0,right:0}},g="ivu-modal",y=l["utils"].on,b=l["utils"].off,w={name:"AdminModal",extends:l["Modal"],props:{height:{type:[Number,String],default:400},resizable:{type:Boolean,default:!0},minWidth:{type:Number,default:200},minHeight:{type:Number,default:200},bodyStyle:{type:Object,default:function(){return{}}},minimize:{type:Boolean,default:!1},offset:{type:Number,default:0},topOffset:{type:Number},leftOffset:{type:Number},topContainer:{type:[String,Object,Array]},leftContainer:{type:[String,Object,Array]}},data:function(){return{resizeData:{resizing:!1,direction:null,startX:0,startY:0,startWidth:0,startHeight:0},dragData:{x:null,y:null,minx:null,miny:null,dragX:null,dragY:null,dragging:!1,rect:null},modalData:{minWidth:200,width:this.width,height:this.height}}},computed:{classes:function(){var e;return[""+g,(e={},e[g+"-fullscreen"]=this.fullscreen,e[g+"-fullscreen-no-header"]=this.fullscreen&&!this.showHead,e[g+"-fullscreen-no-footer"]=this.fullscreen&&this.footerHide,e[g+"-minimize"]=this.minimize,e)]},contentClasses:function(){var e;return[g+"-content",(e={},e[g+"-content-no-mask"]=!this.showMask,e[g+"-content-drag"]=this.draggable&&!this.fullscreen,e[g+"-content-dragging"]=this.draggable&&this.dragData.dragging,e)]},bodyStyleEs:function(){var e={};return this.minimize&&(e={height:0,display:"none",overflow:"hidden",flex:"none"}),Object.assign({},this.bodyStyle,e)},contentStyles:function(){var e={},t=document.documentElement.clientWidth,n=document.documentElement.clientHeight;if(!this.fullscreen&&!this.minimize){var r=n-this.modalData.height,i=t-this.modalData.width;e.top=0,e.left=0,r>0&&(.382*(r-this.clientTopOffset())+this.clientTopOffset()+this.modalData.height+this.offset>n?e.top=n-this.modalData.height+"px":e.top=.382*(r-this.clientTopOffset())+this.clientTopOffset()+this.offset+"px"),i>0&&((i-this.clientLeftOffset())/2+this.clientLeftOffset()+this.offset+this.modalData.width>t?e.left=t-this.modalData.width+"px":e.left=(i-this.clientLeftOffset())/2+this.clientLeftOffset()+this.offset+"px")}if(this.draggable&&!this.fullscreen){var o=this.styles.top?parseFloat(this.styles.top):0,a=this.styles.left?parseFloat(this.styles.left):0;null!==this.dragData[this.dragName.x]&&(e.left=this.dragData[this.dragName.x]-a+"px"),null!==this.dragData[this.dragName.y]&&(e.top=this.dragData[this.dragName.y]-o+"px");var u=this.modalData.width,c=this.modalData.height,s={width:u<=100?u+"%":u+"px",height:c?c+"px":null};Object.assign(e,s)}if(this.minimize){var l=this.getMinOffset(this.modalData.minWidth);this.dragData.minx||(e.left=l.x+"px"),this.dragData.miny||(e.top=l.y-this.offset+"px"),e.width=this.modalData.minWidth+"px",e.height=null}return e},mainStyles:function(){var e={},t=(this.modalData.width,{});this.draggable||(t=null!==this.dragData.x?{top:0}:{});var n=this.styles;return this.fullscreen?(t.top=this.clientTopOffset()+"px",t.left=this.clientLeftOffset()+"px"):(t.top=null!==this.dragData.x?0:null,t.left=null),(this.minimize||this.fullscreen)&&(t.width=null),Object.assign(e,t,n),e},dragName:function(){return this.minimize?{x:"minx",y:"miny"}:{x:"x",y:"y"}}},watch:{width:function(e){this.modalData.width=e},height:function(e){this.modalData.height=e},minimize:function(e){e||(this.dragData.minx=null,this.dragData.miny=null)}},mounted:function(){this.initModal()},methods:{initModal:function(){var e=document.documentElement.clientWidth-this.clientLeftOffset(),t=document.documentElement.clientHeight-this.clientTopOffset(),n=parseInt(this.width),r=parseInt(this.height);this.modalData={minWidth:300,width:n>e?e:n,height:r>t?t:r}},clientLeftOffset:function(){return this.leftOffset||this.getoffset(this.leftContainer).width},clientTopOffset:function(){return this.topOffset||this.getoffset(this.topContainer).height},getMinOffset:function(e){var t=20,n=document.documentElement.clientWidth,r=document.documentElement.clientHeight,i=this.$refs.headerRef.getBoundingClientRect().height;return{x:n-e-t,y:r-Math.ceil(i)-t}},getoffset:function(e){return d(e)?e.reduce((function(e,t){return{width:e.width+v(t).width,height:e.height+v(t).height}}),{withd:0,height:0}):v(e)},handleMoveStart:function(e){if(!this.draggable||this.fullscreen)return!1;var t=this.$refs.headerRef,n=e.target;if(n!==t&&e.target.parentNode.classList.contains(g+"-header-extra"))return!1;var r=this.$refs.content,i=r.getBoundingClientRect();this.dragData.rect=i,this.dragData[this.dragName.x]=i.x||i.left,this.dragData[this.dragName.y]=i.y||i.top;var o={x:e.clientX,y:e.clientY};this.dragData.dragX=o.x,this.dragData.dragY=o.y,this.dragData.dragging=!0,this.sticky&&(this.dragData.leftOffset=this.clientLeftOffset(),this.dragData.topOffset=this.clientTopOffset()),this.updateZIndex(),y(window,"mousemove",this.handleMoveMove),y(window,"mouseup",this.handleMoveEnd)},handleMoveMove:function(e){if(!this.dragData.dragging||this.fullscreen)return!1;var t={x:e.clientX,y:e.clientY},n={x:t.x-this.dragData.dragX,y:t.y-this.dragData.dragY};if(this.sticky){var r=document.documentElement.clientWidth,i=document.documentElement.clientHeight;this.dragData[this.dragName.x]+n.x<=this.stickyDistance+this.dragData.leftOffset&&n.x<0?this.dragData[this.dragName.x]=this.dragData.leftOffset:this.dragData[this.dragName.x]+this.dragData.rect.width-r>-this.stickyDistance&&n.x>0?this.dragData[this.dragName.x]=r-this.dragData.rect.width:this.dragData[this.dragName.x]+=n.x,this.dragData[this.dragName.y]+n.y<=this.stickyDistance+this.dragData.topOffset&&n.y<0?this.dragData[this.dragName.y]=this.dragData.topOffset:this.dragData[this.dragName.y]+this.dragData.rect.height-i>-this.stickyDistance&&n.y>0?this.dragData[this.dragName.y]=i-this.dragData.rect.height:this.dragData[this.dragName.y]+=n.y}else this.dragData[this.dragName.x]+=n.x,this.dragData[this.dragName.y]+=n.y;this.dragData.dragX=t.x,this.dragData.dragY=t.y},handleResizeStart:function(e,t){if(t.preventDefault(),this.resizable&&!this.fullscreen&&!this.minimize){var n=this.$refs.content,r=n.getBoundingClientRect(),i=document.documentElement.clientWidth,o=document.documentElement.clientHeight;this.resizeData={resizing:!0,direction:e,startX:t.clientX,startY:t.clientY,startWidth:r.width,startHeight:r.height,maxWidth:i-this.clientLeftOffset(),maxHeight:o-this.clientTopOffset()},y(window,"mousemove",this.handleResizeMove),y(window,"mouseup",this.handleResizeEnd)}},handleResizeMove:function(e){if(this.resizeData.resizing){var t=this.resizeData,n=t.direction,r=t.startX,i=t.startY,o=t.startWidth,a=t.startHeight,u=e.clientX-r,c=e.clientY-i,s=o,l=a;n.includes("e")&&(s=Math.max(this.minWidth,o+u)),n.includes("s")&&(l=Math.max(this.minHeight,a+c)),s>this.resizeData.maxWidth&&(s=this.resizeData.maxWidth),l>this.resizeData.maxHeight&&(l=this.resizeData.maxHeight),this.modalData.width=s,this.modalData.height=l,this.$emit("on-resize",s,l)}},handleResizeEnd:function(){this.resizeData.resizing=!1,this.resizeData.direction=null,b(window,"mousemove",this.handleResizeMove),b(window,"mouseup",this.handleResizeEnd),this.$emit("on-resized")},updateZIndex:function(){this.modalIndex=this.handleGetModalIndex()}}},x=w,O=(n("b9ad"),n("2877")),j=Object(O["a"])(x,c,s,!1,null,null,null),k=j.exports,S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},S.apply(this,arguments)},C={inheritAttrs:!1},M=Object(r["defineComponent"])(S(S({},C),{__name:"view-modal.component",props:{value:{type:Boolean}},emits:["on-close","on-minimize"],setup:function(e,t){var n=t.expose,o=t.emit,a=e,u=Object(i["config"])(),c=Object(r["useListeners"])(),s=Object(r["useAttrs"])(),l=Object(r["useSlots"])(),f=Object(r["computed"])((function(){return"fly-view-modal fly-view-modal-"+u.layout.headerTheme})),h=Object(r["computed"])((function(){return"dark"==u.layout.headerTheme}));function d(){o("on-close",!1)}var p=Object(r["ref"])(!1);function m(){p.value=!p.value,v.value=!1}var v=Object(r["ref"])(!1);function g(){v.value=!v.value,p.value=!1,o("on-minimize",v.value)}var y=Object(r["ref"])(null);function b(){y.value&&y.value.updateZIndex()}return n({handleExit:g,resziseZindex:b}),{__sfc:!0,Setting:u,props:a,listeners:c,attrs:s,slots:l,emits:o,classNameEs:f,ghost:h,handleClose:d,isFullScreen:p,handleFullScreen:m,isMinimize:v,handleExit:g,modalRef:y,resziseZindex:b,AdminModal:k}}})),E=M,T=(n("d7ac"),Object(O["a"])(E,a,u,!1,null,null,null)),P=T.exports,L=function(){var e=this,t=e._self._c;return t("div",{staticClass:"fly-iframe-warp"},[e.loading?t("Spin",{attrs:{fix:""}},[t("Icon",{staticClass:"ivu-anim-loop",attrs:{type:"ios-loading",size:"18"}}),t("div",[e._v("加载中...")])],1):e._e(),e.isShow?t("iframe",{style:e.styleEs,attrs:{id:e.iframeId,loading:"lazy",scrolling:"auto",frameborder:"0",src:e.innerSrc},on:{load:e.onIframeLoad}}):e._e()],1)},A=[],I=n("2ef0"),D=n.n(I),F={props:{src:{type:String},height:{type:[String,Number],default:"100%"},overflow:{type:String,default:"hidden"},id:{type:String}},data:function(){return{iframeId:this.id||_.uniqueId("VIEW_Iframe_"),isShow:!1,loading:!0}},computed:{innerSrc:function(){var e=this.src;return e.includes("?")?e+="&":e+="?",e+"_iframeId="+this.iframeId},styleEs:function(){return{width:"100%",border:0,overflow:this.overflow,height:this.height}}},mounted:function(){var e=this;this.$nextTick((function(){e.isShow=!0,e.initMessage()}))},beforeDestroy:function(){window.removeEventListener?window.removeEventListener("message",this.onMessage,!1):window.detachEvent("onmessage",this.onMessage,!1)},methods:{initMessage:function(){window.addEventListener?window.addEventListener("message",this.onMessage,!1):window.attachEvent("onmessage",this.onMessage,!1)},onIframeLoad:function(){this.loading=!1,this.$emit("on-load")},onMessage:function(e){if(this.isShow){var t=e.data,n=t.iframeId;this.iframeId===n&&("close"===t.action&&(this.isShow=!1),this.$emit("on-message",e))}},postMessage:function(e,t){Object(I["isEmpty"])(t)&&(t="*");var n=document.getElementById(this.iframeId);n.contentWindow.postMessage(e,t)}}},R=F,z=(n("190f"),Object(O["a"])(R,L,A,!1,null,null,null)),N=z.exports,$=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return n.componentDef?t(n.componentDef,e._g(e._b({tag:"component"},"component",n.attrs,!1),n.listeners)):e._e()},B=[];function H(e){var t=e.name,n=t&&e.matched&&e.matched.find((function(e){return e.name==t}));return t&&n||(n=D.a.last(e.matched)),n}function U(e){var t=o.a.router.resolve(e),n=t.route,r=t.href,i=H(n),a=i&&i.components;return Promise.resolve(a&&a.default).then((function(e){return e?"_Ctor"in e||"cid"in e?{route:n,component:e,href:r}:D.a.isFunction(e)?e((function(){})).then((function(e){return e&&(e=e.default),{route:n,component:e,href:r}})):{route:n,component:null,href:r}:{route:n,component:null,href:r}}))}var q=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},W=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},G=Object(r["defineComponent"])({__name:"view.component",props:{url:null,query:null,params:null},setup:function(e){var t=e,n=Object(r["ref"])(null),i=Object(r["ref"])(null),o=Object(r["useListeners"])();function a(){var e=this;(function(){q(e,void 0,void 0,(function(){var e,o,a;return W(this,(function(u){switch(u.label){case 0:return[4,U(t.url)];case 1:return e=u.sent(),o=e.route,a=e.component,e.href,a?(n.value=null,[4,Object(r["nextTick"])()]):[3,3];case 2:u.sent(),n.value=a,i.value=Object.assign({},o.query,o.params),u.label=3;case 3:return[2]}}))}))})()}return a(),{__sfc:!0,props:t,componentDef:n,attrs:i,listeners:o,loadComponent:a}}}),V=G,Y=Object(O["a"])(V,$,B,!1,null,null,null),K=Y.exports,X=n("ae62"),J=function(){return J=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},J.apply(this,arguments)},Z=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function u(e){try{c(r["throw"](e))}catch(t){o(t)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))},Q=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ee=new Map([["modal",{type:"modal"}],["drawer",{type:"drawer"}],["window",{type:"window"}],["_blank",{type:"_blank"}]]),te=function(){function e(){this.allList=[],this.offset=0,this.setpOffset=10,this.maxOffset=100}return e.prototype.addOffset=function(){this.offset+=this.setpOffset,this.offset>=this.maxOffset&&(this.offset=0)},e.prototype.addInstance=function(e,t){this.allList.push({id:e,instance:t,offset:this.offset})},e.prototype.removeInstance=function(e){this.allList=this.allList.filter((function(t){return t.id!==e})),0===this.allList.length&&(this.offset=0)},e.prototype.getInstance=function(e){return D.a.find(this.allList,(function(t){return t.id===e}))},e.prototype.getOffset=function(){return this.offset},e}(),ne=new te;function re(e,t){var n=this;(function(){Z(n,void 0,void 0,(function(){var t,n,o,a,u;return Q(this,(function(c){try{if(t=J(J({},e),{fullPath:e.fullPath||e.path,isLocalUrl:!1}),t.path.indexOf("://")<0&&(t.isLocalUrl=!0),n=ne.getInstance(t.fullPath),n)return n.instance.isMinimize&&n.instance.setMinmize(),n.instance.resziseZindex(),[2];o=ne.getOffset(),a=new r["default"]({i18n:i["webApplication"].i18n,data:function(){return{modalVisible:!1,isMinimize:!1}},methods:{onMinimize:function(e){this.isMinimize=e},onResize:function(e,n){t.onResize&&t.onResize(e,n)},onResized:function(){t.onResizeEnd&&t.onResizeEnd()},setMinmize:function(){this.$refs.viewModalRef.handleExit()},resziseZindex:function(){this.$refs.viewModalRef.resziseZindex()},close:function(){a&&(this.destroyDialog(),t.onClose&&t.onClose())},destroyDialog:function(){var e=this;this.modalVisible=!1,setTimeout((function(){e.$destroy(),e.$el&&document.body.removeChild(e.$el),a=null,ne.removeInstance(t.fullPath)}),300)}},render:function(){var e=this,n={padding:0,overflow:"hidden"},i=Object(r["h"])(N,{props:{src:t.fullPath},on:{"on-message":function(e){t.onMessage&&t.onMessage(e)}}});return t.isLocalUrl&&(n={overflowY:"auto",overflowX:"hidden"},i=Object(r["h"])(K,{props:{url:t.fullPath},on:{"on-close":function(t){return Z(e,void 0,void 0,(function(){return Q(this,(function(e){switch(e.label){case 0:return t?[4,t()]:[3,2];case 1:e.sent(),e.label=2;case 2:return this.close(),[2]}}))}))}}})),Object(r["h"])(P,{attrs:{footerHide:!0,width:t.width||700,height:t.height||400,title:t.title,offset:o,bodyStyle:n},props:{value:this.modalVisible},on:{"on-close":function(){e.close()},"on-minimize":function(t){e.onMinimize(t)},"on-resize":function(t,n){e.onResize(t,n)},"on-resized":function(){e.onResized()}},ref:"viewModalRef"},[Object(r["h"])("transition",{props:{name:"fade"}},[i])])}}),u=a.$mount(),document.body.appendChild(u.$el),a.modalVisible=!0,ne.addInstance(t.fullPath,a),ne.addOffset()}catch(s){console.error("CREATE_MODAL",s)}return[2]}))}))})()}function ie(e){var t=X["a"].prepareMenu(e);return re(t)}},5191:function(e,t,n){"use strict";n.r(t);var r=n("2ef0"),i=n("dae4"),o=n("8ccc"),a=n("ae62"),u=n("e2da"),c=n("eb44");function s(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */s=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),u=new P(r||[]);return i(a,"_invoke",{value:C(e,n,u)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",p="suspendedYield",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var _={};l(_,a,(function(){return this}));var x=Object.getPrototypeOf,O=x&&x(x(L([])));O&&O!==n&&r.call(O,a)&&(_=O);var j=w.prototype=y.prototype=Object.create(_);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,o,a,u){var c=h(e[i],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function C(t,n,r){var i=d;return function(o,a){if(i===m)throw Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var c=M(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var s=h(t,n,r);if("normal"===s.type){if(i=r.done?v:p,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=v,r.method="throw",r.arg=s.arg)}}}function M(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,M(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,i(j,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,c,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},k(S.prototype),l(S.prototype,u,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new S(f(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(j),l(j,c,"Generator"),l(j,a,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function l(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){l(o,r,i,a,u,"next",e)}function u(e){l(o,r,i,a,u,"throw",e)}a(void 0)}))}}var h=function(e){return Object(r["get"])(e,"meta.cache",!1)};function d(e,t){var n=t.opened.find((function(e){return u["a"].isUrlEqual(e.fullPath,t.current)}))||{meta:{},pid:Object(r["uniqueId"])("pid_"),pst:c["a"].defaultPageState()},i=Object.assign(Object(r["cloneDeep"])(n),{meta:Object(r["cloneDeep"])(e.meta),name:e.name,fullPath:e.fullPath}),o=e.query;return"_blank"===o["_pid"]?(i.pid=Object(r["uniqueId"])("pid_"),i):i}function p(e,t){if(Object(r["isEmpty"])(t.opened))return!0;if(e.query["_tab"]||e.params["_tab"])return!0;var n=t.pool.find((function(t){return t.name===e.name&&t.path===e.path}));if(n)return!0;var i=e.matched[e.matched.length-1],o=i.parent;return!(i.meta.hidden||!(i.meta.tab||o&&o.meta.tabForChild))||void 0}function m(e,t){var n=-1,r=null;return t&&(r=e.opened.find((function(e,r){var i=u["a"].isUrlEqual(e.fullPath,t);return n=i?r:n,i}))),{page:r,index:n}}t["default"]={namespaced:!0,state:{pool:[],opened:(Object(i["config"])().page||{}).opened,current:"",keepAlive:[]},getters:{currentPage:function(e){var t=m(e,e.current);return t.page},defaultRouterName:function(){return Object(i["config"])().page.defaultRouterName||"index"}},actions:{openedLoad:function(e){var t=e.state,n=e.commit,r=e.dispatch;return e.rootState,new Promise(function(){var e=f(s().mark((function e(u){var c,l;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r("admin/db/get",{dbName:"sys",path:"page.opened",defaultValue:(Object(i["config"])().page||{}).opened,user:!0},{root:!0});case 2:c=e.sent,l=[],t.opened=c.map((function(e){if("/index"===e.fullPath)return l.push(1),e;var n=t.pool.find((function(t){return t.name===e.name}));return l.push(n?1:0),n&&n.path.includes(":")?Object.assign({},n,e):Object.assign({},e,n)})).filter((function(e,t){return 1===l[t]})).filter((function(e){var t=Object(o["b"])(a["a"].siderMenus()),n=t.find((function(t){return t.path===e.fullPath})),r=!0;return n&&n.auth&&(i["PermissionService"].hasPerm(n.auth)||(r=!1)),r})),n("keepAliveRefresh"),u();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},opened2db:function(e){var t=e.state,n=e.dispatch;return new Promise(function(){var e=f(s().mark((function e(r){return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:n("admin/db/set",{dbName:"sys",path:"page.opened",value:t.opened,user:!0},{root:!0}),r();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},openedUpdate:function(e,t){var n=e.state,i=(e.commit,e.dispatch),o=t.index,a=t.name,u=t.params,c=t.query,l=t.fullPath,h=t.meta,d=t.pst,p=t.prePage;return new Promise(function(){var e=f(s().mark((function e(t){var f;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return f=n.opened[o],f.name=a||f.name,f.params=u||f.params,f.query=c||f.query,f.fullPath=l||f.fullPath,f.meta=h?Object(r["cloneDeep"])(h):f.meta,f.pst=d||f.pst,f.prePage=p||f.prePage,f.lastUpdated=(new Date).getTime(),n.opened.splice(o,1,f),e.next=12,i("opened2db");case 12:t();case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},currentUpdate:function(e,t){var n=e.state,i=(e.commit,e.dispatch),o=t.name,a=t.params,u=t.query,c=t.fullPath,l=t.meta,h=t.pst,d=t.prePage;return new Promise(function(){var e=f(s().mark((function e(t){return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:setTimeout(f(s().mark((function e(){var f,p,v,g;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return f=m(n,n.current),p=f.index,v=f.page,g=v&&v.meta?v.meta.title:"",l&&l.title&&(g=l.title),v.name=o||v.name,v.params=a||v.params,v.query=u||v.query,v.fullPath=c||v.fullPath,v.meta=l?Object(r["cloneDeep"])(l):v.meta,v.pst=h||v.pst,v.prePage=d||v.prePage,v.lastUpdated=(new Date).getTime(),v.meta.title=g,n.opened.splice(p,1,v),e.next=17,i("opened2db");case 17:t();case 18:case"end":return e.stop()}}),e)}))),0);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},add:function(e,t){var n=e.state,i=e.commit,o=e.dispatch,a=t.tag,u=t.params,c=t.query,l=t.fullPath,d=t.prePage;return new Promise(function(){var e=f(s().mark((function e(t){var f;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return f=a,f.tid=Object(r["uniqueId"])("tid_"),f.params=u||f.params,f.query=c||f.query,f.fullPath=l||f.fullPath,f.prePage=d||f.prePage,f.lastUpdated=(new Date).getTime(),n.opened.push(f),h(f)&&i("keepAlivePush",a.name),e.next=11,o("opened2db");case 11:t();case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},open:function(e,t){var n=e.state,r=e.commit,i=e.dispatch,o=t.to,a=t.from,u=o.name,c=o.params,l=o.query,h=o.fullPath,v=o.meta;return new Promise(function(){var e=f(s().mark((function e(t){var f,g,y,b,w,_;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("/"!==o.path){e.next=2;break}return e.abrupt("return");case 2:if((o.title||o.query.tabTitle)&&(v.title=o.title||o.query.tabTitle),f=a&&a.fullPath,m(n,f).index<0&&(f=n.current),g=m(n,o.fullPath),y=g.index,b=g.page,!b){e.next=13;break}return e.next=11,i("openedUpdate",{index:y,name:u,params:c,query:l,fullPath:h,prePage:f});case 11:e.next=22;break;case 13:if(w=p(o,n),!w){e.next=20;break}return _=d(o,n),e.next=18,i("add",{tag:_,params:c,query:l,fullPath:h,prePage:f});case 18:e.next=22;break;case 20:return e.next=22,i("currentUpdate",{name:u,params:c,query:l,fullPath:h,meta:v,prePage:f});case 22:r("currentSet",h),r("oneOpenedSet"),t();case 25:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},close:function(e,t){var n=e.state,r=e.commit,o=e.dispatch,a=t.tagName;return new Promise(function(){var e=f(s().mark((function e(t){var c,l,f,h,d,p,v,g,y,b,w,_,x,O;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(c={page:n.opened[0],index:0},l=u["a"].isUrlEqual(n.current,a||n.current),f=m(n,a||n.current),!l){e.next=18;break}if(h=m(n,f.page.prePage),!h.page){e.next=9;break}c=h,e.next=18;break;case 9:d=n.opened.length,p=0;case 11:if(!(p<d)){e.next=18;break}if(!u["a"].isUrlEqual(n.opened[p].fullPath,a)){e.next=15;break}return d>1?p===d-1?(c.page=n.opened[p-1],c.index=p-1):(c.page=n.opened[p+1],c.index=p+1):c={index:-1},e.abrupt("break",18);case 15:p++,e.next=11;break;case 18:return f.index>=0&&(r("keepAliveRemove",n.opened[f.index]),n.opened.splice(f.index,1)),e.next=21,o("opened2db");case 21:l&&(v=c.page,g=v.fullPath,y=void 0===g?"/":g,b=v.params,w=void 0===b?{}:b,_=v.query,x=void 0===_?{}:_,delete x["_cache_opener"],delete x["_no_cache"],O={path:y,params:w,query:x},Object(i["router"])().push(O,(function(){}))),r("oneOpenedSet"),t();case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeLeft:function(e,t){var n=e.state,r=e.commit,o=e.dispatch,a=void 0===t?{}:t,c=a.pageSelect;return new Promise(function(){var e=f(s().mark((function e(t){var a,l;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=c||n.current,l=0,n.opened.forEach((function(e,t){u["a"].isUrlEqual(e.fullPath,a)&&(l=t)})),l>0&&n.opened.splice(0,l).forEach((function(e){return r("keepAliveRemove",e)})),n.current=a,Object(i["router"])().app.$route.fullPath!==a&&Object(i["router"])().push(a),e.next=8,o("opened2db");case 8:r("oneOpenedSet"),t();case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeRight:function(e,t){var n=e.state,r=e.commit,o=e.dispatch,a=void 0===t?{}:t,c=a.pageSelect;return new Promise(function(){var e=f(s().mark((function e(t){var a,l;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=c||n.current,l=0,n.opened.forEach((function(e,t){u["a"].isUrlEqual(e.fullPath,a)&&(l=t)})),n.opened.splice(l+1).forEach((function(e){return r("keepAliveRemove",e)})),n.current=a,Object(i["router"])().app.$route.fullPath!==a&&Object(i["router"])().push(a),e.next=8,o("opened2db");case 8:r("oneOpenedSet"),t();case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeOther:function(e,t){var n=e.state,r=e.commit,o=e.dispatch,a=void 0===t?{}:t,c=a.pageSelect;return new Promise(function(){var e=f(s().mark((function e(t){var a,l;return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=c||n.current,l=0,n.opened.forEach((function(e,t){u["a"].isUrlEqual(e.fullPath,a)&&(l=t)})),0===l?n.opened.splice(1).forEach((function(e){return r("keepAliveRemove",e)})):(n.opened.splice(l+1).forEach((function(e){return r("keepAliveRemove",e)})),n.opened.splice(0,l).forEach((function(e){return r("keepAliveRemove",e)}))),n.current=a,Object(i["router"])().app.$route.fullPath!==a&&Object(i["router"])().push(a),e.next=8,o("opened2db");case 8:r("oneOpenedSet"),t();case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeAll:function(e){var t=e.state,n=e.getters,r=e.commit,o=e.dispatch;return new Promise(function(){var e=f(s().mark((function e(a){return s().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.opened.splice(0).forEach((function(e){return r("keepAliveRemove",e)})),e.next=3,o("opened2db");case 3:Object(i["router"])().app.$route.name!==n.defaultRouterName&&Object(i["router"])().push({path:"/"},(function(){})),r("oneOpenedSet"),a();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},mutations:{keepAliveRefresh:function(e){e.keepAlive=e.opened.filter((function(e){return h(e)})).map((function(e){return e.name}))},keepAliveRemove:function(e,t){var n=[].concat(e.keepAlive),o=t,a=null;Object(r["isObject"])(t)&&(o=t.name,a=t);var u=n.findIndex((function(e){return e===o}));if(-1!==u&&(n.splice(u,1),e.keepAlive=n),a){var c=a.fullPath;c.includes("?")&&(c=c.substr(0,c.indexOf("?"))),i["KeepAliveManager"].cleanByRoute({path:c,params:a.params||{},query:a.query||{},matched:[]})}},keepAlivePush:function(e,t){var n=[].concat(e.keepAlive);n.push(t),e.keepAlive=n},keepAliveClean:function(e){e.keepAlive=[]},currentSet:function(e,t){e.current=t},init:function(e,t){var n=e.pool,r=function(e){e.forEach((function(e){if(e.children)r(e.children);else if(!e.hidden||e.meta&&!e.meta.hidden){var t=e.meta,i=e.name,o=e.path;n.push({meta:t,name:i,path:o})}}))};r(t),e.pool=n},oneOpenedSet:function(e){if(1==e.opened.length)e.opened=e.opened.map((function(e){return e.meta.closable=!1,e}));else{var t=Object(r["cloneDeep"])(e.opened[0]);t&&t.meta&&!1===t.meta.closable&&(delete t.meta.closable,e.opened[0]=t)}}}}},"5a0c":function(e,t,n){e.exports=n("0fbf")("./node_modules/dayjs/dayjs.min.js")},"5a13":function(e,t,n){var r={"./db.js":"a32f","./i18n.js":"eaca","./layout.js":"7673","./log.js":"4a19","./menu.ts":"cf14","./page.js":"5191","./user.js":"9164"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id="5a13"},"5c4b":function(e,t,n){"use strict";n.r(t);var r=n("b895"),i=n("7613");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var a=n("2877"),u=Object(a["a"])(i["default"],r["a"],r["b"],!1,null,null,null);t["default"]=u.exports},"5e20":function(e,t,n){"use strict";var r=n("a78e"),i=n.n(r),o=n("dae4"),a={set:function(e,t,n){void 0===e&&(e="default"),void 0===t&&(t=""),void 0===n&&(n={});var r={expires:Object(o["config"])().cookiesExpires};Object.assign(r,n),i.a.set("admin-"+e,t,r)},get:function(e){return void 0===e&&(e="default"),i.a.get("admin-"+e)},getAll:function(){return i.a.get()},remove:function(e){return void 0===e&&(e="default"),i.a.remove("admin-"+e)}};t["a"]=a},"5fb7":function(e,t){},6159:function(e,t,n){!function(t,r){e.exports=r(n("a026"))}("undefined"!=typeof self&&self,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/locale/",n(n.s=34)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r||void 0!==window.iview&&("langs"in iview||(iview.langs={}),iview.langs[e.i.locale]=e)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)).default.prototype.$isServer},1:function(t,n){t.exports=e},34:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={i:{locale:"zh-TW",select:{placeholder:"請選擇",noMatch:"無匹配資料",loading:"加載中"},table:{noDataText:"暫無資料",noFilteredDataText:"暫無篩選結果",confirmFilter:"篩選",resetFilter:"重置",clearFilter:"全部",sumText:"合計"},datepicker:{selectDate:"選擇日期",selectTime:"選擇時間",startTime:"開始時間",endTime:"結束時間",clear:"清空",ok:"確定",datePanelLabel:"[yyyy年] [m月]",month:"月",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",year:"年",weekStartDay:"0",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{m1:"1月",m2:"2月",m3:"3月",m4:"4月",m5:"5月",m6:"6月",m7:"7月",m8:"8月",m9:"9月",m10:"10月",m11:"11月",m12:"12月"}},transfer:{titles:{source:"來源列表",target:"目標列表"},filterPlaceholder:"請輸入搜尋內容",notFoundText:"列表爲空"},modal:{okText:"確定",cancelText:"取消"},poptip:{okText:"確定",cancelText:"取消"},drawer:{okText:"确定",cancelText:"取消"},page:{prev:"上一頁",next:"下一頁",total:"共",item:"條",items:"條",prev5:"向前 5 頁",next5:"向後 5 頁",page:"條/頁",goto:"跳至",p:"頁"},rate:{star:"星",stars:"星"},tree:{emptyText:"暫無資料"}}};(0,function(e){return e&&e.__esModule?e:{default:e}}(n(0)).default)(r),t.default=r}})}))},6408:function(e,t,n){!function(t,r){e.exports=r(n("a026"))}("undefined"!=typeof self&&self,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/locale/",n(n.s=33)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r||void 0!==window.iview&&("langs"in iview||(iview.langs={}),iview.langs[e.i.locale]=e)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)).default.prototype.$isServer},1:function(t,n){t.exports=e},33:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={i:{locale:"zh-CN",select:{placeholder:"请选择",noMatch:"无匹配数据",loading:"加载中"},table:{noDataText:"暂无数据",noFilteredDataText:"暂无筛选结果",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},datepicker:{selectDate:"选择日期",selectTime:"选择时间",startTime:"开始时间",endTime:"结束时间",clear:"清空",ok:"确定",datePanelLabel:"[yyyy年] [m月]",month:"月",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",year:"年",weekStartDay:"0",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{m1:"1月",m2:"2月",m3:"3月",m4:"4月",m5:"5月",m6:"6月",m7:"7月",m8:"8月",m9:"9月",m10:"10月",m11:"11月",m12:"12月"}},transfer:{titles:{source:"源列表",target:"目的列表"},filterPlaceholder:"请输入搜索内容",notFoundText:"列表为空"},modal:{okText:"确定",cancelText:"取消"},poptip:{okText:"确定",cancelText:"取消"},drawer:{okText:"确定",cancelText:"取消"},page:{prev:"上一页",next:"下一页",total:"共",item:"条",items:"条",prev5:"向前 5 页",next5:"向后 5 页",page:"条/页",goto:"跳至",p:"页"},rate:{star:"星",stars:"星"},time:{before:"前",after:"后",just:"刚刚",seconds:"秒",minutes:"分钟",hours:"小时",days:"天"},tree:{emptyText:"暂无数据"}}};(0,function(e){return e&&e.__esModule?e:{default:e}}(n(0)).default)(r),t.default=r}})}))},"6ade":function(e,t){e.exports=_$fly_vue_iview_pro_},"6bc3":function(e,t,n){"use strict";n.d(t,"b",(function(){return s}));var r=n("5e20"),i=n("a53c"),o=n("1b5c"),a=n("dae4"),u={cookies:r["a"],log:i["a"],db:o["a"]};function c(e){return void 0===e&&(e=""),window&&window.$t?0===e.indexOf("$t:")?window.$t(e.split("$t:")[1]):e:0===e.indexOf("$t:")?a["i18n"].t(e.split("$t:")[1]):e}function s(e){if("requestAnimationFrame"in window)return window.requestAnimationFrame(e);setTimeout(e,16)}u.title=function(e){var t=e.title,n=e.count;t=c(t);var r=c(Object(a["config"])().titleSuffix),i=t;r&&(i=t?t+" - "+r:r),n&&(i="("+n+"条消息)"+i),window.document.title=i},u.event=function(e){var t=Object.assign({returnValue:null,preventDefault:function(){this.returnValue=!1}},e);return t},t["a"]=u},7074:function(e,t,n){"use strict";var r=n("2ef0"),i=n("2655");e.exports=function(e){if("object"!==typeof e)throw new Error("An adapter must be provided, see https://github.com/typicode/lowdb/#usage");var t=r.runInContext(),n=t.chain({});function o(e){return n.__wrapped__=e,n}return t.prototype.write=t.wrap(t.prototype.value,(function(e){var t=e.apply(this);return n.write(t)})),n._=t,n.read=function(){var t=e.read();return i(t)?t.then(o):o(t)},n.write=function(t){var r=e.write(n.getState());return i(r)?r.then((function(){return t})):t},n.getState=function(){return n.__wrapped__},n.setState=function(e){return o(e)},n.read()}},"70da":function(e,t,n){e.exports=n("6ade")("./node_modules/@fly-vue/iview-pro/index.js")},"71e8":function(e,t,n){e.exports=n.p+"modules/fly_vue_iview_admin/assets/img/nav-theme-dark.d6670ffe.svg"},"72bf":function(e,t,n){e.exports=n("0fbf")("./node_modules/query-string/index.js")},7613:function(e,t,n){"use strict";n.r(t);var r=n("2710"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},7673:function(e,t,n){"use strict";n.r(t);var r=n("93bf"),i=n.n(r),o=n("dae4");t["default"]={namespaced:!0,state:Object.assign({},Object(o["config"])().layout,{keepMenuCollapse:null,isMobile:!1,isTablet:!1,isDesktop:!0,isFullscreen:!1,historyLayout:{}}),getters:{menuCollapse:function(e){return e.menuCollapse},keepMenuCollapse:function(e){return e.keepMenuCollapse}},mutations:{setDevice:function(e,t){e.isMobile=!1,e.isTablet=!1,e.isDesktop=!1,e["is"+t]=!0},updateMenuCollapse:function(e,t){e.menuCollapse=t},setKeepMenuCollapse:function(e,t){e.keepMenuCollapse=t},setFullscreen:function(e,t){e.isFullscreen=t},updateLayoutSetting:function(e,t){var n=t.key,r=t.value;switch(e[n]=r,n){case"themeDark":!0===r?(e["siderTheme"]="dark",e["headerTheme"]="dark",document.getElementsByTagName("body")[0].classList.add("ivu-theme-dark")):document.getElementsByTagName("body")[0].classList.remove("ivu-theme-dark");break;case"spaceSize":"default"==r?document.getElementsByTagName("body")[0].classList.remove("bin-layout-space-samll"):document.getElementsByTagName("body")[0].classList.add("bin-layout-space-samll");break;default:break}}},actions:{listenFullscreen:function(e){var t=e.commit;return new Promise((function(e){i.a.enabled&&i.a.on("change",(function(){i.a.isFullscreen||t("setFullscreen",!1)})),e()}))},toggleFullscreen:function(e,t){var n=e.commit;return new Promise((function(e){"boolean"===typeof t?t?i.a.isFullscreen||(i.a.request(),n("setFullscreen",!0)):i.a.isFullscreen&&(i.a.exit(),n("setFullscreen",!1)):i.a.isFullscreen?(i.a.exit(),n("setFullscreen",!1)):(i.a.request(),n("setFullscreen",!0)),e()}))}}}},"782f":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[e._v(" 当前模式为预加载模式"),t("p"),t("input",{directives:[{name:"model",rawName:"v-model",value:e.params,expression:"params"}],staticStyle:{width:"80%"},domProps:{value:e.params},on:{input:function(t){t.target.composing||(e.params=t.target.value)}}}),e._v(" "),t("br"),t("button",{on:{click:e.quitPreloadMode}},[e._v("退出")])])},i=[],o={data:function(){return{params:null}},mounted:function(){},methods:{quitPreloadMode:function(){window.postMessage({type:"onSignIn",params:this.params?{}:JSON.parse(this.params)},"*")}}},a=o,u=n("2877"),c=Object(u["a"])(a,r,i,!1,null,null,null);t["default"]=c.exports},"8afd":function(e,t,n){"use strict";n.r(t),n.d(t,"createApp",(function(){return s})),n.d(t,"Vue2",(function(){return a})),n.d(t,"isVue2",(function(){return i})),n.d(t,"isVue3",(function(){return o})),n.d(t,"install",(function(){return c})),n.d(t,"warn",(function(){return u})),n.d(t,"Fragment",(function(){return f})),n.d(t,"Transition",(function(){return h})),n.d(t,"TransitionGroup",(function(){return d})),n.d(t,"Teleport",(function(){return p})),n.d(t,"Suspense",(function(){return m})),n.d(t,"KeepAlive",(function(){return v})),n.d(t,"hasInjectionContext",(function(){return g}));var r=n("a026");n.d(t,"Vue",(function(){return r["default"]})),n.d(t,"EffectScope",(function(){return r["EffectScope"]})),n.d(t,"computed",(function(){return r["computed"]})),n.d(t,"customRef",(function(){return r["customRef"]})),n.d(t,"defineAsyncComponent",(function(){return r["defineAsyncComponent"]})),n.d(t,"defineComponent",(function(){return r["defineComponent"]})),n.d(t,"del",(function(){return r["del"]})),n.d(t,"effectScope",(function(){return r["effectScope"]})),n.d(t,"getCurrentInstance",(function(){return r["getCurrentInstance"]})),n.d(t,"getCurrentScope",(function(){return r["getCurrentScope"]})),n.d(t,"h",(function(){return r["h"]})),n.d(t,"inject",(function(){return r["inject"]})),n.d(t,"isProxy",(function(){return r["isProxy"]})),n.d(t,"isReactive",(function(){return r["isReactive"]})),n.d(t,"isReadonly",(function(){return r["isReadonly"]})),n.d(t,"isRef",(function(){return r["isRef"]})),n.d(t,"isShallow",(function(){return r["isShallow"]})),n.d(t,"markRaw",(function(){return r["markRaw"]})),n.d(t,"mergeDefaults",(function(){return r["mergeDefaults"]})),n.d(t,"nextTick",(function(){return r["nextTick"]})),n.d(t,"onActivated",(function(){return r["onActivated"]})),n.d(t,"onBeforeMount",(function(){return r["onBeforeMount"]})),n.d(t,"onBeforeUnmount",(function(){return r["onBeforeUnmount"]})),n.d(t,"onBeforeUpdate",(function(){return r["onBeforeUpdate"]})),n.d(t,"onDeactivated",(function(){return r["onDeactivated"]})),n.d(t,"onErrorCaptured",(function(){return r["onErrorCaptured"]})),n.d(t,"onMounted",(function(){return r["onMounted"]})),n.d(t,"onRenderTracked",(function(){return r["onRenderTracked"]})),n.d(t,"onRenderTriggered",(function(){return r["onRenderTriggered"]})),n.d(t,"onScopeDispose",(function(){return r["onScopeDispose"]})),n.d(t,"onServerPrefetch",(function(){return r["onServerPrefetch"]})),n.d(t,"onUnmounted",(function(){return r["onUnmounted"]})),n.d(t,"onUpdated",(function(){return r["onUpdated"]})),n.d(t,"provide",(function(){return r["provide"]})),n.d(t,"proxyRefs",(function(){return r["proxyRefs"]})),n.d(t,"reactive",(function(){return r["reactive"]})),n.d(t,"readonly",(function(){return r["readonly"]})),n.d(t,"ref",(function(){return r["ref"]})),n.d(t,"set",(function(){return r["set"]})),n.d(t,"shallowReactive",(function(){return r["shallowReactive"]})),n.d(t,"shallowReadonly",(function(){return r["shallowReadonly"]})),n.d(t,"shallowRef",(function(){return r["shallowRef"]})),n.d(t,"toRaw",(function(){return r["toRaw"]})),n.d(t,"toRef",(function(){return r["toRef"]})),n.d(t,"toRefs",(function(){return r["toRefs"]})),n.d(t,"triggerRef",(function(){return r["triggerRef"]})),n.d(t,"unref",(function(){return r["unref"]})),n.d(t,"useAttrs",(function(){return r["useAttrs"]})),n.d(t,"useCssModule",(function(){return r["useCssModule"]})),n.d(t,"useCssVars",(function(){return r["useCssVars"]})),n.d(t,"useListeners",(function(){return r["useListeners"]})),n.d(t,"useSlots",(function(){return r["useSlots"]})),n.d(t,"version",(function(){return r["version"]})),n.d(t,"watch",(function(){return r["watch"]})),n.d(t,"watchEffect",(function(){return r["watchEffect"]})),n.d(t,"watchPostEffect",(function(){return r["watchPostEffect"]})),n.d(t,"watchSyncEffect",(function(){return r["watchSyncEffect"]}));var i=!0,o=!1,a=r["default"],u=r["default"].util.warn;function c(){}function s(e,t){var n,i={},o={config:r["default"].config,use:r["default"].use.bind(r["default"]),mixin:r["default"].mixin.bind(r["default"]),component:r["default"].component.bind(r["default"]),provide:function(e,t){return i[e]=t,this},directive:function(e,t){return t?(r["default"].directive(e,t),o):r["default"].directive(e)},mount:function(o,a){return n||(n=new r["default"](Object.assign({propsData:t},e,{provide:Object.assign(i,e.provide)})),n.$mount(o,a),n)},unmount:function(){n&&(n.$destroy(),n=void 0)}};return o}function l(e){return{setup(){throw new Error("[vue-demi] "+e+" is not supported in Vue 2. It's provided to avoid compiler errors.")}}}var f=l("Fragment"),h=l("Transition"),d=l("TransitionGroup"),p=l("Teleport"),m=l("Suspense"),v=l("KeepAlive");function g(){return!!Object(r["getCurrentInstance"])()}},"8ccc":function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return f})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return d}));var r=n("2ef0");function i(e,t){var n=[];t.forEach((function(e){var t=e.header||"",r=o(e,t);n.push({path:e.path,header:t}),r.forEach((function(e){return n.push(e)}))}));var r=n.find((function(t){return t.path===e}));return r?r.header:null}function o(e,t){return e.children&&e.children.length?e.children.reduce((function(e,n){e.push({path:n.path,header:t});var r=o(n,t);return e.concat(r)}),[]):[e]}function a(e,t){return void 0===t&&(t=""),t?e.filter((function(e){return e.header===t})):e}function u(e,t){var n=[];t.forEach((function(e){var t=c(e,[]);n.push({path:e.path,openNames:[]}),t.forEach((function(e){return n.push(e)}))}));var r=n.find((function(t){return t.path===e}));return r?r.openNames:[]}function c(e,t){if(e.children&&e.children.length){var n=t.concat([e.id]);return e.children.reduce((function(e,t){e.push({path:t.path,openNames:n});var r=c(t,n);return e.concat(r)}),[])}return[e].map((function(e){return{path:e.path,openNames:t}}))}function s(e){var t=[];return e.forEach((function(e){if(e.children&&e.children.length){var n=l(e);n.forEach((function(e){return t.push(e)}))}else t.push(e)})),t}function l(e){return e.children&&e.children.length?e.children.reduce((function(e,t){var n=l(t);return e.concat(n)}),[]):[e]}function f(e,t){return e.forEach((function(e){var n={};for(var i in e)"children"!==i&&(n[i]=Object(r["cloneDeep"])(e[i]));t.push(n),e.children&&f(e.children,t)})),t}function h(e,t){var n=!1;return t.forEach((function(t){e.includes(t)&&(n=!0)})),n}function d(e){void 0===e&&(e=32);for(var t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",n=t.length,r="",i=0;i<e;i++)r+=t.charAt(Math.floor(Math.random()*n));return r}},"90c0":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",[t("Exception",{attrs:{type:"500","img-color":"",desc:e.$t("iflyAdmin.page.exception.e500"),"back-text":e.$t("iflyAdmin.page.exception.btn")}})],1)},i=[]},9164:function(e,t,n){"use strict";function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),u=new P(r||[]);return o(a,"_invoke",{value:C(e,n,u)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",p="suspendedYield",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var _={};l(_,u,(function(){return this}));var x=Object.getPrototypeOf,O=x&&x(x(L([])));O&&O!==n&&i.call(O,u)&&(_=O);var j=w.prototype=y.prototype=Object.create(_);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(r,o,a,u){var c=h(e[r],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&i.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var r;o(this,"_invoke",{value:function(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}})}function C(t,n,r){var i=d;return function(o,a){if(i===m)throw Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var c=M(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var s=h(t,n,r);if("normal"===s.type){if(i=r.done?v:p,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=v,r.method="throw",r.arg=s.arg)}}}function M(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,M(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(i.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},k(S.prototype),l(S.prototype,c,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new S(f(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(j),l(j,s,"Generator"),l(j,u,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function i(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function u(e){i(a,r,o,u,c,"next",e)}function c(e){i(a,r,o,u,c,"throw",e)}u(void 0)}))}}n.r(t),t["default"]={namespaced:!0,state:{info:{}},actions:{set:function(e,t){var n=e.state,i=e.dispatch;return new Promise(function(){var e=o(r().mark((function e(o){return r().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.info=t,e.next=3,i("admin/db/set",{dbName:"sys",path:"user.info",value:t,user:!0},{root:!0});case 3:o();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},load:function(e){var t=e.state,n=e.dispatch;return new Promise(function(){var e=o(r().mark((function e(i){return r().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n("admin/db/get",{dbName:"sys",path:"user.info",defaultValue:{},user:!0},{root:!0});case 2:t.info=e.sent,i();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}}},"93bf":function(e,t,n){
2
2
  /*!
3
3
  * screenfull
4
4
  * v4.0.0 - 2018-12-15