w-web-api 1.0.52 → 1.0.55
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.
- package/README.md +1 -1
- package/dist/css/app.cad4a1ca.css +1 -0
- package/dist/index.tmp +4 -2
- package/dist/js/app-legacy.7687b23b.js +1 -0
- package/dist/js/app.7687b23b.js +1 -0
- package/dist/js/chunk-vendors-legacy.4c27cf51.js +15 -0
- package/dist/js/chunk-vendors.4c27cf51.js +15 -0
- package/dist/w-web-api.umd.js +2 -2
- package/dist/w-web-api.umd.js.map +1 -1
- package/docs/WWebApi.html +2 -2
- package/docs/index.html +1 -1
- package/docs/{WWebApi.mjs.html → server_WWebApi.mjs.html} +113 -66
- package/docs/src_components_Common_CheckYesNo.vue.html +187 -0
- package/g.getSettings.mjs +3 -0
- package/logs/2026-06-19T16.log +6 -0
- package/logs/2026-06-20T11.log +4 -0
- package/logs/2026-06-20T14.log +2 -0
- package/logs/2026-06-21T20.log +1 -0
- package/logs/2026-06-21T21.log +4 -0
- package/logs/2026-06-22T07.log +12 -0
- package/logs/2026-06-22T08.log +808 -0
- package/logs/2026-06-22T09.log +104 -0
- package/logs/2026-06-22T10.log +26 -0
- package/logs/2026-06-22T11.log +860 -0
- package/logs/2026-06-22T12.log +430 -0
- package/logs/2026-06-22T23.log +1547 -0
- package/logs/2026-06-23T00.log +473 -0
- package/logs/2026-06-23T08.log +231 -0
- package/logs/2026-06-23T09.log +179 -0
- package/logs/2026-07-01T11.log +488 -0
- package/logs/2026-07-09T22.log +370 -0
- package/logs/2026-07-09T23.log +370 -0
- package/logs/2026-07-10T12.log +284 -0
- package/logs/2026-07-10T13.log +777 -0
- package/logs/2026-07-11T17.log +2 -0
- package/package.json +20 -15
- package/public/index.html +9 -2
- package/server/WWebApi.mjs +110 -63
- package/server/procApis.mjs +62 -0
- package/server/procLang.mjs +372 -66
- package/server/procProxy.mjs +120 -0
- package/server/srLog.mjs +30 -0
- package/server/staLogs/filterVpfsByWindow.mjs +27 -0
- package/server/staLogs/staEvent.mjs +131 -0
- package/server/staLogs/test_staEvent.mjs +198 -0
- package/settings.json +18 -0
- package/src/App.vue +11 -7
- package/src/assets/scalar-ui.css +113 -0
- package/src/components/Common/CheckYes.vue +102 -0
- package/src/components/Common/CheckYesNo.vue +115 -0
- package/src/components/Common/LoadingWinBar.vue +114 -0
- package/src/components/Layout.vue +8 -26
- package/src/components/LayoutContent.vue +299 -350
- package/src/components/LayoutContentEdit.vue +577 -0
- package/src/components/LayoutContentStats.vue +485 -0
- package/src/components/LayoutContentTest.vue +781 -0
- package/src/components/MdPanel.vue +80 -58
- package/src/main.js +11 -8
- package/src/plugins/mUI.mjs +19 -39
- package/src/schema/tables/apis.mjs +30 -0
- package/src/store/mutations.mjs +0 -14
- package/src/store/types.mjs +0 -3
- package/srv.mjs +50 -20
- package/tableTags.json +1 -1
- package/z/344/277/256/346/255/243/350/246/217/345/212/203/346/233/270.md +246 -0
- package/.github/workflows/ci-test.yml +0 -24
- package/.vscode/launch.json +0 -18
- package/db/wapis/apis/data.mdb +0 -0
- package/db/wapis/apis/lock.mdb +0 -0
- package/dist/css/app.b5cf2ef5.css +0 -1
- package/dist/js/app-legacy.927b5679.js +0 -1
- package/dist/js/app.927b5679.js +0 -1
- package/dist/js/chunk-vendors-legacy.ffb0c6c5.js +0 -13
- package/dist/js/chunk-vendors.ffb0c6c5.js +0 -13
- package/src/plugins/mDataSelectorSchema.mjs +0 -30
- package/src/plugins/mShare.mjs +0 -44
- package/tableTags-web-api.json +0 -1
- package/test/all.test.mjs +0 -10
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
(self["webpackChunkw_web_api"]=self["webpackChunkw_web_api"]||[]).push([[504],{9165:function(e,t,n){"use strict";n.d(t,{$hf:function(){return h},BCx:function(){return f},BIl:function(){return v},H9P:function(){return w},K5o:function(){return i},NG3:function(){return s},NSe:function(){return o},TdJ:function(){return m},Tfj:function(){return l},UCA:function(){return y},XHW:function(){return g},Znq:function(){return r},_Jj:function(){return c},aFw:function(){return a},hyP:function(){return d},qYB:function(){return b},rZW:function(){return p},sQ3:function(){return A},uHb:function(){return u},zru:function(){return C}});var r="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",o="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",i="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",a="M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z",l="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",s="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",u="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",c="M2 2V22H22V2H2M20 12H16V16H20V20H16V16H12V20H8V16H4V12H8V8H4V4H8V8H12V4H16V8H20V12M16 8V12H12V8H16M12 12V16H8V12H12Z",d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",f="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",p="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z",h="M21.86 12.5C21.1 11.63 20.15 11.13 19 11C19 9.05 18.32 7.4 16.96 6.04C15.6 4.68 13.95 4 12 4C10.42 4 9 4.47 7.75 5.43S5.67 7.62 5.25 9.15C4 9.43 2.96 10.08 2.17 11.1S1 13.28 1 14.58C1 16.09 1.54 17.38 2.61 18.43C3.69 19.5 5 20 6.5 20H18.5C19.75 20 20.81 19.56 21.69 18.69C22.56 17.81 23 16.75 23 15.5C23 14.35 22.62 13.35 21.86 12.5M10.5 10H9V11C9 12.11 8.11 13 7 13C8.11 13 9 13.9 9 15V16H10.5V18H9C7.9 18 7 17.11 7 16V15C7 14.45 6.55 14 6 14H5.5V12H6C6.55 12 7 11.55 7 11V10C7 8.9 7.9 8 9 8H10.5V10M18.5 14H18C17.45 14 17 14.45 17 15V16C17 17.11 16.11 18 15 18H13.5V16H15V15C15 13.9 15.9 13 17 13C15.9 13 15 12.11 15 11V10H13.5V8H15C16.11 8 17 8.9 17 10V11C17 11.55 17.45 12 18 12H18.5V14Z",g="M6.5 20Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13Q12.18 20 11.59 19.41 11 18.83 11 18V12.85L9.4 14.4L8 13L12 9L16 13L14.6 14.4L13 12.85V18H18.5Q19.55 18 20.27 17.27 21 16.55 21 15.5 21 14.45 20.27 13.73 19.55 13 18.5 13H17V11Q17 8.93 15.54 7.46 14.08 6 12 6 9.93 6 8.46 7.46 7 8.93 7 11H6.5Q5.05 11 4.03 12.03 3 13.05 3 14.5 3 15.95 4.03 17 5.05 18 6.5 18H9V20M12 13Z",m="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",v="M13,8V11H3V13H13V16L17,12L13,8M19,20H21V4H19V20Z",b="M16,13H13V3H11V13H8L12,17L16,13M4,19V21H20V19H4Z",y="M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z",A="M19 8L15 12H18C18 15.31 15.31 18 12 18C11 18 10.03 17.75 9.2 17.3L7.74 18.76C8.97 19.54 10.43 20 12 20C16.42 20 20 16.42 20 12H23M6 12C6 8.69 8.69 6 12 6C13 6 13.97 6.25 14.8 6.7L16.26 5.24C15.03 4.46 13.57 4 12 4C7.58 4 4 7.58 4 12H1L5 16L9 12M14 12C14 13.11 13.11 14 12 14S10 13.11 10 12 10.9 10 12 10 14 10.9 14 12Z",w="M8,5.14V19.14L19,12.14L8,5.14Z",C="M15 16L11 20H21V16H15M12.06 7.19L3 16.25V20H6.75L15.81 10.94L12.06 7.19M5.92 18H5V17.08L12.06 10L13 10.94L5.92 18M18.71 8.04C19.1 7.65 19.1 7 18.71 6.63L16.37 4.29C16.17 4.09 15.92 4 15.66 4C15.41 4 15.15 4.1 14.96 4.29L13.13 6.12L16.88 9.87L18.71 8.04Z"},999:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=function(){var e=this,t=e._self._c;return t("div",[e._t("default")],2)},o=[],i={props:{to:{type:String,default:null}},computed:{toEl:function(){let e=this,t=null;try{t=document.querySelector(e.to)}catch(n){}return t}},watch:{toEl:function(e){let t=this;t.teleport()}},mounted:function(){let e=this;e.teleport()},destroyed:function(){let e=this;try{e.$el.remove()}catch(t){}},methods:{teleport:function(){let e=this;try{e.$el&&e.$el.parentElement!==e.toEl&&e.toEl.appendChild(e.$el)}catch(t){}}}},a=i,l=n(1656),s=(0,l.A)(a,r,o,!1,null,"418d3368",null),u=s.exports},7156:function(e,t,n){"use strict";n.d(t,{A:function(){return H}});var r=function(){var e=this,t=e._self._c;return t("div",{style:`${e.useDisplayType} vertical-align:middle; outline:none; user-select:none;`,attrs:{role:e.editable?e.role:"",changeActive:e.changeActive,changeProg:e.changeProg,changeLoading:e.changeLoading}},[t("div",{staticStyle:{position:"relative"}},[t("WTooltip",{attrs:{displayType:"line",isolated:!0,borderRadius:e.tooltipBorderRadius,paddingStyle:e.tooltipPaddingStyle,textFontSize:e.tooltipTextFontSize,textColor:e.tooltipTextColor,backgroundColor:e.tooltipBackgroundColor,editable:e.hasTooltop},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("div",{directives:[{name:"domripple",rawName:"v-domripple",value:e.useRipple,expression:"useRipple"}],style:`transition:all 0.3s; ${e.useBorderRadius} background:${e.useBackgroundColor}; ${e.editable&&e.cursorPointer?"cursor:pointer;":""} ${e.useShadow}; outline:none; user-select:none; overflow:hidden;`,attrs:{tabindex:"0"},on:{mouseenter:function(t){e.hoverTrans=!0,e.$emit("mouseenter",t)},mouseleave:function(t){e.hoverTrans=!1,e.$emit("mouseleave",t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.clickBtn(t)},click:function(t){return e.clickBtn(t)}}},[t("div",{style:`transition:all 0.3s; ${e.usePadding} ${e.useBorderRadius} ${e.useBorderWidth} ${e.useBorderColor} border-style:solid; outline:none; user-select:none;`,attrs:{tabindex:"1"}},[t("div",{style:"display:flex; align-items:center; "+("line"===e.displayType?"justify-content:center;":"")},[t("div",[e._t("default",function(){return[t("div",{staticStyle:{display:"flex","align-items":"center","white-space":"nowrap"}},[e.hasIcon?t("WIcon",{style:`margin-left:-6px; margin-right:${e.hasText?5:-6}px;`,attrs:{icon:e.icon,color:e.useIconColor,colorHover:e.useIconColor,size:e.iconSize}}):e._e(),e.hasText?t("div",{style:`transition:all 0.3s; text-transform:none; color:${e.useTextColor}; ${e.useTextFontSize} ${e.hasIcon?"min-height:"+e.iconSize+"px":""}; display:flex; align-items:center;`},[e._v(" "+e._s(e.text)+" ")]):e._e()],1)]})],2),e.close?t("div",{style:"margin:0px -9px 0px 5px; display:inline-block; outline:none; user-select:none;",attrs:{tabindex:"2"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.clickClose(t)},click:function(t){return e.clickClose(t)}}},[t("WIcon",{attrs:{icon:e.mdiCloseCircle,color:e.useIconColor,colorHover:e.useIconColor,size:e.iconSize}})],1):e._e()])])])]},proxy:!0},{key:"content",fn:function(){return[e._v(" "+e._s(e.tooltip)+" ")]},proxy:!0}],null,!0)}),e.isProging?t("div",{staticStyle:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0"}},[t("div",{style:`${e.useBorderRadius} overflow:hidden; width:100%; height:100%;`},[t("div",{style:`background:${e.effProgBackgroundColor}; height:100%;`},[t("div",{style:`background:${e.effProgColor}; width:${e.useProg}%; height:100%;`})])])]):e._e(),!e.editable||e.loadingTrans?t("div",{staticStyle:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0"}},[t("div",{style:`${e.useBorderRadius} overflow:hidden; width:100%; height:100%;`},[t("div",{style:`background:${e.effDisabledColor}; height:100%;`})])]):e._e(),!e.isProging&&e.loadingTrans?t("div",{staticStyle:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0"}},[t("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center",height:"100%"}},[t("WIconLoading",{attrs:{name:"cir-rotate",color:e.effLoadingColor,size:e.iconSize}})],1)]):e._e()],1)])},o=[],i=n(9165),a=n(4722),l=n(4554),s=n(7500),u=n(8351),c=n(4958),d=n(8842),f=n(5021),p=n(6224),h=n(7417),g=n(545),m=n(2942),v=n(6077),b=n(1291),y=n(3294),A=n(3665),w=n(6192),C=n(293),x=n(9602),_=n(9789),k={directives:{domripple:(0,w.A)()},components:{WIcon:C.A,WIconLoading:x.A,WTooltip:_.A},props:{text:{type:String,default:""},tooltip:{type:String,default:""},icon:{type:String,default:""},iconColor:{type:String,default:"black"},iconColorHover:{type:String,default:"grey darken-3"},iconColorActive:{type:String,default:"white"},iconSize:{type:Number,default:22},prog:{type:Number,default:null},progColor:{type:String,default:"rgba(150,150,150,0.4)"},progBackgroundColor:{type:String,default:"rgba(150,150,150,0.075)"},textColor:{type:String,default:"black"},textColorHover:{type:String,default:"grey darken-3"},textColorActive:{type:String,default:"white"},textFontSize:{type:String,default:"0.85rem"},borderUsed:{type:Object,default:()=>({top:!0,bottom:!0,left:!0,right:!0})},borderWidth:{type:Object,default:()=>({top:1,bottom:1,left:1,right:1})},borderRadius:{type:Number,default:30},borderRadiusStyle:{type:Object,default:()=>({left:!0,right:!0})},borderColor:{type:String,default:"transparent"},borderColorHover:{type:String,default:"transparent"},borderColorActive:{type:String,default:"transparent"},backgroundColor:{type:String,default:"rgb(241,241,241)"},backgroundColorHover:{type:String,default:"rgb(236,236,236)"},backgroundColorActive:{type:String,default:"orange"},tooltipBorderRadius:{type:Number,default:4},tooltipPaddingStyle:{type:Object,default:()=>({v:5,h:8})},tooltipTextFontSize:{type:String,default:"0.85rem"},tooltipTextColor:{type:String,default:"white"},tooltipBackgroundColor:{type:String,default:"rgba(60,60,60,0.75)"},shadow:{type:Boolean,default:!0},shadowStyle:{type:String,default:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},shadowActive:{type:Boolean,default:!0},shadowActiveStyle:{type:String,default:"0 12px 20px -10px {backgroundColorActiveAlpha=0.28}, 0 4px 20px 0 rgba(0,0,0,.12), 0 7px 8px -5px {backgroundColorActiveAlpha=0.2}"},rippleColor:{type:String,default:"rgba(255,255,255,0.4)"},displayType:{type:String,default:"block"},paddingStyle:{type:Object,default:()=>({v:3,h:15})},shiftLeft:{type:Number,default:0},shiftRight:{type:Number,default:0},active:{type:Boolean,default:!1},close:{type:Boolean,default:!1},cursorPointer:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingColor:{type:String,default:"grey darken-2"},promiseUnlock:{type:Boolean,default:!1},role:{type:String,default:"button"},editable:{type:Boolean,default:!0},disabledColor:{type:String,default:"rgba(255,255,255,0.5)"}},data:function(){return{mdiCloseCircle:i.BCx,activeTrans:!1,hoverTrans:!1,loadingTrans:!1,progTrans:null}},mounted:function(){},computed:{changeActive:function(){let e=this;return e.activeTrans=e.active,""},changeProg:function(){let e=this;return e.progTrans=e.prog,""},changeLoading:function(){let e=this;return e.loadingTrans=e.loading,""},useDisplayType:function(){let e=this;return"line"===e.displayType?"display:block;":"display:inline-block;"},usePadding:function(){let e=this,t=(0,A.A)(e.paddingStyle,{ext:{left:e.shiftLeft,right:e.shiftRight}}),n=`padding:${t};`;return n},effIconColor:function(){let e=this;return(0,y.A)(e.iconColor)},effIconColorHover:function(){let e=this;return(0,y.A)(e.iconColorHover)},effIconColorActive:function(){let e=this;return(0,y.A)(e.iconColorActive)},hasIcon:function(){let e=this;return""!==e.icon},hasText:function(){let e=this;return""!==e.text},useIconColor:function(){let e,t=this;return t.loadingTrans||t.isProging?t.effIconColor:(e=t.activeTrans?t.effIconColorActive:t.hoverTrans?t.effIconColorHover:t.effIconColor,t.editable||(e=t.activeTrans?t.effIconColorActive:t.effIconColor),e)},effDisabledColor:function(){let e=this;return(0,y.A)(e.disabledColor)},effProgColor:function(){let e=this;return(0,y.A)(e.progColor)},effProgBackgroundColor:function(){let e=this;return(0,y.A)(e.progBackgroundColor)},effTextColor:function(){let e=this;return(0,y.A)(e.textColor)},effTextColorHover:function(){let e=this;return(0,y.A)(e.textColorHover)},effTextColorActive:function(){let e=this;return(0,y.A)(e.textColorActive)},useTextColor:function(){let e,t=this;return t.loadingTrans||t.isProging?t.effTextColor:(e=t.activeTrans?t.effTextColorActive:t.hoverTrans?t.effTextColorHover:t.effTextColor,t.editable||(e=t.activeTrans?t.effTextColorActive:t.effTextColor),e)},useTextFontSize:function(){let e=this,t=e.textFontSize;return t=(0,h.A)(t,";",""),`font-size:${t};`},effBorderColor:function(){let e=this;return(0,y.A)(e.borderColor)},effBorderColorHover:function(){let e=this;return(0,y.A)(e.borderColorHover)},effBorderColorActive:function(){let e=this;return(0,y.A)(e.borderColorActive)},useBorderColor:function(){let e,t=this;(t.loadingTrans||t.isProging)&&(e=t.effBorderColor),e=t.activeTrans?t.effBorderColorActive:t.hoverTrans?t.effBorderColorHover:t.effBorderColor,t.editable||(e=t.activeTrans?t.effBorderColorActive:t.effBorderColor);let n=(0,a.A)(t.useBorderUsed,(t,n)=>{let r=t?e:"transparent";return`border-${n}-color:${r};`}),r=(0,l.A)(n," ");return r},useBorderUsed:function(){let e=this,t=!0,n=!0,r=!0,o=!0;return(0,d.A)((0,s.A)(e,"borderUsed.left"))&&(t=(0,s.A)(e,"borderUsed.left")),(0,d.A)((0,s.A)(e,"borderUsed.right"))&&(n=(0,s.A)(e,"borderUsed.right")),(0,d.A)((0,s.A)(e,"borderUsed.top"))&&(r=(0,s.A)(e,"borderUsed.top")),(0,d.A)((0,s.A)(e,"borderUsed.bottom"))&&(o=(0,s.A)(e,"borderUsed.bottom")),{left:t,right:n,top:r,bottom:o}},useBorderWidth:function(){let e=this,t=(0,A.A)(e.borderWidth),n=`border-width:${t};`;return n},useBorderRadius:function(){let e=this,t=0,n=0,r=0,o=0;!0===(0,s.A)(e,"borderRadiusStyle.left")&&(t=e.borderRadius,r=e.borderRadius),!0===(0,s.A)(e,"borderRadiusStyle.right")&&(n=e.borderRadius,o=e.borderRadius),!0===(0,s.A)(e,"borderRadiusStyle.top")&&(t=e.borderRadius,n=e.borderRadius),!0===(0,s.A)(e,"borderRadiusStyle.bottom")&&(r=e.borderRadius,o=e.borderRadius),!0!==(0,s.A)(e,"borderRadiusStyle.topLeft")&&!0!==(0,s.A)(e,"borderRadiusStyle.top-left")||(t=e.borderRadius),!0!==(0,s.A)(e,"borderRadiusStyle.topRight")&&!0!==(0,s.A)(e,"borderRadiusStyle.top-right")||(n=e.borderRadius),!0!==(0,s.A)(e,"borderRadiusStyle.bottomLeft")&&!0!==(0,s.A)(e,"borderRadiusStyle.bottom-left")||(r=e.borderRadius),!0!==(0,s.A)(e,"borderRadiusStyle.bottomRight")&&!0!==(0,s.A)(e,"borderRadiusStyle.bottom-right")||(o=e.borderRadius);let i=`border-top-left-radius:${t}px; border-top-right-radius:${n}px; border-bottom-left-radius:${r}px; border-bottom-right-radius:${o}px;`;return i},effBackgroundColor:function(){let e=this;return(0,y.A)(e.backgroundColor)},effBackgroundColorHover:function(){let e=this;return(0,y.A)(e.backgroundColorHover)},effBackgroundColorActive:function(){let e=this;return(0,y.A)(e.backgroundColorActive)},useBackgroundColor:function(){let e,t=this;return t.loadingTrans||t.isProging?t.effBackgroundColor:(e=t.activeTrans?t.effBackgroundColorActive:t.hoverTrans?t.effBackgroundColorHover:t.effBackgroundColor,t.editable||(e=t.activeTrans?t.effBackgroundColorActive:t.effBackgroundColor),e)},useShadow:function(){let e=this;function t(e,t){let n=(0,y.A)(e),r=v.A.toRgba(n);r.a=t;let o=v.A.toRgbaString(r);return o}function n(e,n,r){e=(0,h.A)(e,"}","{");let o=(0,u.A)(e,"{");return o=(0,a.A)(o,e=>{if(e.indexOf(n)>=0){let n=(0,g.A)(e,"="),o=n[1];return o=(0,c.A)(o)?(0,p.A)(o):.2,t(r,o)}return e}),(0,l.A)(o,"")}return e.activeTrans&&e.shadowActive?(0,f.A)(e.shadowActiveStyle)?"box-shadow:"+n(e.shadowActiveStyle,"backgroundColorActiveAlpha",e.backgroundColorActive):"":e.shadow&&(0,f.A)(e.shadowStyle)?"box-shadow:"+n(e.shadowStyle,"backgroundColorAlpha",e.backgroundColor):""},isProging:function(){let e=this;return(0,c.A)(e.useProg)},useProg:function(){let e=this,t=e.progTrans;return(0,c.A)(t)?(t=(0,p.A)(t),t<0||t>100?null:t):null},effLoadingColor:function(){let e=this;return(0,y.A)(e.loadingColor)},useRipple:function(){let e=this;if(e.editable&&!e.loadingTrans&&!e.isProging)return{color:e.rippleColor,timeDuration:700}},hasTooltop:function(){let e=this;return(0,f.A)(e.tooltip)}},methods:{clickBtn:function(e){let t=this;if(!t.editable)return;if(t.isProging)return;if(t.loadingTrans)return;let n={setProg:e=>{null===e||(0,c.A)(e)?((0,c.A)(e)&&(e=(0,p.A)(e)),t.progTrans=e,t.$nextTick(()=>{t.$emit("update:prog",t.progTrans)}),e>=100&&t.$nextTick(()=>{t.progTrans=null,t.$emit("update:prog",t.progTrans)})):console.log("prog is not number")},setLoading:e=>{(0,d.A)(e)?(t.loadingTrans=e,t.$nextTick(()=>{t.$emit("update:loading",t.loadingTrans)})):console.log("loading is not boolean")}};if(t.promiseUnlock){t.loadingTrans=!0,t.$nextTick(()=>{t.$emit("update:loading",t.loadingTrans)});let e=(0,m.A)();n.pm=e,e.catch().finally(()=>{t.loadingTrans=!1,t.$nextTick(()=>{t.$emit("update:loading",t.loadingTrans)})})}t.$nextTick(()=>{t.$emit("click",n)})},clickClose:function(e){let t=this;(0,b.A)(e),t.editable&&t.$nextTick(()=>{t.$emit("click-close")})}}},S=k,I=n(1656),T=(0,I.A)(S,r,o,!1,null,"74bb02c6",null),H=T.exports},6759:function(e,t,n){"use strict";n.d(t,{A:function(){return S}});var r=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"inline-block","vertical-align":"middle",outline:"none","user-select":"none"},attrs:{role:e.editable?e.role:"",changeActive:e.changeActive,changeLoading:e.changeLoading}},[t("WTooltip",{attrs:{displayType:"line",isolated:!0,borderRadius:e.tooltipBorderRadius,paddingStyle:e.tooltipPaddingStyle,textFontSize:e.tooltipTextFontSize,textColor:e.tooltipTextColor,backgroundColor:e.tooltipBackgroundColor,editable:e.hasTooltop},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("div",{style:`position:relative; transition:all 0.3s; ${e.usePadding} ${e.useBorderRadius} border:${e.borderWidth}px solid ${e.useBorderColor}; background:${e.useBackgroundColor}; ${e.editable&&e.cursorPointer?"cursor:pointer;":""} ${e.useShadow}; outline:none; user-select:none; overflow:hidden;`,attrs:{tabindex:"0"},on:{mouseenter:function(t){e.hoverTrans=!0,e.$emit("mouseenter",t)},mouseleave:function(t){e.hoverTrans=!1,e.$emit("mouseleave",t)},focus:function(t){e.focusTrans=!0},blur:function(t){e.focusTrans=!1},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.clickBtn(t)},click:function(t){e.ripple(t),e.clickBtn(t)}}},[t("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[e.loadingTrans?e._e():t("WIcon",{attrs:{icon:e.icon,color:e.useIconColor,colorHover:e.useIconColor,size:e.iconSize}}),e.loadingTrans?t("WIconLoading",{attrs:{name:"cir-rotate",color:e.effLoadingColor,size:e.iconSize}}):e._e()],1),e.editable?e._e():t("div",{staticStyle:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0"}},[t("div",{style:`${e.useBorderRadius} overflow:hidden; width:100%; height:100%;`},[t("div",{style:`background:${e.effDisabledColor}; height:100%;`})])])])]},proxy:!0},{key:"content",fn:function(){return[e._v(" "+e._s(e.tooltip)+" ")]},proxy:!0}])})],1)},o=[],i=n(7500),a=n(4722),l=n(4554),s=n(8351),u=n(4958),c=n(5021),d=n(6224),f=n(7417),p=n(545),h=n(2942),g=n(8559),m=n(6077),v=n(3294),b=n(3665),y=n(293),A=n(9602),w=n(9789),C={components:{WIcon:y.A,WIconLoading:A.A,WTooltip:w.A},props:{tooltip:{type:String,default:""},icon:{type:String,default:""},iconSize:{type:Number,default:22},iconColor:{type:String,default:"grey darken-1"},iconColorHover:{type:String,default:"grey darken-2"},iconColorFocus:{type:String,default:"grey darken-3"},iconColorActive:{type:String,default:"grey darken-3"},borderRadius:{type:[Number,String],default:"50%"},borderRadiusStyle:{type:Object,default:()=>({left:!0,right:!0})},borderWidth:{type:Number,default:0},borderColor:{type:String,default:"transparent"},borderColorHover:{type:String,default:"transparent"},borderColorFocus:{type:String,default:"transparent"},borderColorActive:{type:String,default:"transparent"},backgroundColor:{type:String,default:"rgb(241,241,241)"},backgroundColorHover:{type:String,default:"rgb(236,236,236)"},backgroundColorFocus:{type:String,default:"rgb(230,230,230)"},backgroundColorActive:{type:String,default:"rgb(230,230,230)"},tooltipBorderRadius:{type:Number,default:4},tooltipPaddingStyle:{type:Object,default:()=>({v:5,h:8})},tooltipTextFontSize:{type:String,default:"0.85rem"},tooltipTextColor:{type:String,default:"white"},tooltipBackgroundColor:{type:String,default:"rgba(60,60,60,0.75)"},rippleColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},paddingStyle:{type:Object,default:()=>({v:4,h:4})},shadow:{type:Boolean,default:!0},shadowStyle:{type:String,default:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},active:{type:Boolean,default:!1},cursorPointer:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingColor:{type:String,default:"grey darken-2"},promiseUnlock:{type:Boolean,default:!1},role:{type:String,default:"button"},editable:{type:Boolean,default:!0},disabledColor:{type:String,default:"rgba(255,255,255,0.5)"}},data:function(){return{activeTrans:!1,hoverTrans:!1,focusTrans:!1,loadingTrans:!1}},mounted:function(){},computed:{changeActive:function(){let e=this;return e.activeTrans=e.active,""},changeLoading:function(){let e=this;return e.loadingTrans=e.loading,""},effIconColor:function(){let e=this;return(0,v.A)(e.iconColor)},effIconColorHover:function(){let e=this;return(0,v.A)(e.iconColorHover)},effIconColorFocus:function(){let e=this;return(0,v.A)(e.iconColorFocus)},effIconColorActive:function(){let e=this;return(0,v.A)(e.iconColorActive)},useIconColor:function(){let e,t=this;return t.loadingTrans?t.effIconColor:(e=t.activeTrans?t.effIconColorActive:t.focusTrans?t.effIconColorFocus:t.hoverTrans?t.effIconColorHover:t.effIconColor,t.editable||(e=t.activeTrans?t.effIconColorActive:t.effIconColor),e)},useBorderRadius:function(){let e=this,t="0px";if((0,u.A)(e.borderRadius)){let n=(0,d.A)(e.borderRadius);t=`${n}px;`}else(0,c.A)(e.borderRadius)&&(t=e.borderRadius);let n="0px",r="0px",o="0px",a="0px";!0===(0,i.A)(e,"borderRadiusStyle.left")&&(n=t,o=t),!0===(0,i.A)(e,"borderRadiusStyle.right")&&(r=t,a=t),!0===(0,i.A)(e,"borderRadiusStyle.top")&&(n=t,r=t),!0===(0,i.A)(e,"borderRadiusStyle.bottom")&&(o=t,a=t),!0!==(0,i.A)(e,"borderRadiusStyle.topLeft")&&!0!==(0,i.A)(e,"borderRadiusStyle.top-left")||(n=t),!0!==(0,i.A)(e,"borderRadiusStyle.topRight")&&!0!==(0,i.A)(e,"borderRadiusStyle.top-right")||(r=t),!0!==(0,i.A)(e,"borderRadiusStyle.bottomLeft")&&!0!==(0,i.A)(e,"borderRadiusStyle.bottom-left")||(o=t),!0!==(0,i.A)(e,"borderRadiusStyle.bottomRight")&&!0!==(0,i.A)(e,"borderRadiusStyle.bottom-right")||(a=t);let l=`border-top-left-radius:${n}; border-top-right-radius:${r}; border-bottom-left-radius:${o}; border-bottom-right-radius:${a};`;return l},effBorderColor:function(){let e=this;return(0,v.A)(e.borderColor)},effBorderColorHover:function(){let e=this;return(0,v.A)(e.borderColorHover)},effBorderColorFocus:function(){let e=this;return(0,v.A)(e.borderColorFocus)},effBorderColorActive:function(){let e=this;return(0,v.A)(e.borderColorActive)},useBorderColor:function(){let e,t=this;return t.loadingTrans?t.effBorderColor:(e=t.activeTrans?t.effBorderColorActive:t.focusTrans?t.effBorderColorFocus:t.hoverTrans?t.effBorderColorHover:t.effBorderColor,t.editable||(e=t.activeTrans?t.effBorderColorActive:t.effBorderColor),e)},effBackgroundColor:function(){let e=this;return(0,v.A)(e.backgroundColor)},effBackgroundColorHover:function(){let e=this;return(0,v.A)(e.backgroundColorHover)},effBackgroundColorFocus:function(){let e=this;return(0,v.A)(e.backgroundColorFocus)},effBackgroundColorActive:function(){let e=this;return(0,v.A)(e.backgroundColorActive)},useBackgroundColor:function(){let e,t=this;return t.loadingTrans?t.effBackgroundColor:(e=t.activeTrans?t.effBackgroundColorActive:t.focusTrans?t.effBackgroundColorFocus:t.hoverTrans?t.effBackgroundColorHover:t.effBackgroundColor,t.editable||(e=t.activeTrans?t.effBackgroundColorActive:t.effBackgroundColor),e)},effRippleColor:function(){let e=this;return(0,v.A)(e.rippleColor)},effLoadingColor:function(){let e=this;return(0,v.A)(e.loadingColor)},effDisabledColor:function(){let e=this;return(0,v.A)(e.disabledColor)},usePadding:function(){let e=this,t=(0,b.A)(e.paddingStyle,{ext:{}}),n=`padding:${t};`;return n},useShadow:function(){let e=this;function t(e,t){let n=(0,v.A)(e),r=m.A.toRgba(n);r.a=t;let o=m.A.toRgbaString(r);return o}function n(e,n,r){e=(0,f.A)(e,"}","{");let o=(0,s.A)(e,"{");return o=(0,a.A)(o,e=>{if(e.indexOf(n)>=0){let n=(0,p.A)(e,"="),o=n[1];return o=(0,u.A)(o)?(0,d.A)(o):.2,t(r,o)}return e}),(0,l.A)(o,"")}return e.shadow&&(0,c.A)(e.shadowStyle)?"box-shadow:"+n(e.shadowStyle,"backgroundColorAlpha",e.backgroundColor):""},hasTooltop:function(){let e=this;return(0,c.A)(e.tooltip)}},methods:{ripple:function(e){let t=this;t.editable&&(t.loadingTrans||t.$nextTick(()=>{(0,g.A)(e.currentTarget,e,{color:t.effRippleColor,timeDuration:500})}))},clickBtn:function(e){let t=this;if(t.editable&&!t.loadingTrans)if(t.promiseUnlock){t.loadingTrans=!0,t.$nextTick(()=>{t.$emit("update:loading",t.loadingTrans)});let e=(0,h.A)();t.$nextTick(()=>{t.$emit("click",{pm:e})}),e.catch().finally(()=>{t.loadingTrans=!1,t.$nextTick(()=>{t.$emit("update:loading",t.loadingTrans)})})}else t.$nextTick(()=>{t.$emit("click")})}}},x=C,_=n(1656),k=(0,_.A)(x,r,o,!1,null,"edc74e68",null),S=k.exports},6985:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=function(){var e=this,t=e._self._c;return t("WDialog",{attrs:{minWidth:e.minWidth,maxWidth:e.maxWidth,headerShadow:!1,show:e.showTrans,changeParam:e.changeParam},on:{"update:show":function(t){e.showTrans=t}},scopedSlots:e._u([{key:"header",fn:function(){return[e.showTrans?t("div",[e._t("header",function(){return[t("div",{style:e.useHeaderStyle},[e._v(" "+e._s(e.title)+" ")])]})],2):e._e()]},proxy:!0},{key:"content",fn:function(){return[e.showTrans?t("div",[e._t("content",function(){return[t("div",{style:e.useContentStyle},[t("div",{staticStyle:{display:"table-cell","vertical-align":"middle","padding-right":"15px"}},[t("WIcon",{attrs:{icon:e.contentIcon,size:e.contentIconSize,color:e.contentIconColor,colorHover:e.contentIconColor}})],1),t("div",{staticStyle:{display:"table-cell","vertical-align":"middle",width:"100%"}},[e._v(e._s(e.content))])])]})],2):e._e()]},proxy:!0},{key:"footer",fn:function(){return[e.showTrans?t("div",[e._t("footer",function(){return[t("div",{style:e.useFooterStyle},[e.hasNoBtn?t("WButtonChip",{staticStyle:{"margin-left":"10px"},attrs:{shiftLeft:-5,icon:e.mdiCloseCircle,iconColor:e.noBtnTextColor,iconColorHover:e.noBtnTextColorHover,text:e.noBtnText,textColor:e.noBtnTextColor,textColorHover:e.noBtnTextColorHover,backgroundColor:e.noBtnBackgroundColor,backgroundColorHover:e.noBtnBackgroundColorHover},on:{click:function(t){return e.clickBtns(!1)}}}):e._e(),t("WButtonChip",{staticStyle:{"margin-left":"10px"},attrs:{shiftLeft:-5,icon:e.mdiCheckboxMarkedCircle,iconColor:e.yesBtnTextColor,iconColorHover:e.yesBtnTextColorHover,text:e.yesBtnText,textColor:e.yesBtnTextColor,textColorHover:e.yesBtnTextColorHover,backgroundColor:e.yesBtnBackgroundColor,backgroundColorHover:e.yesBtnBackgroundColorHover},on:{click:function(t){return e.clickBtns(!0)}}})],1)]})],2):e._e()]},proxy:!0}],null,!0)})},o=[],i=n(9165),a=n(3294),l=n(7156),s=n(293),u=n(7287),c={components:{WButtonChip:l.A,WIcon:s.A,WDialog:u.A},props:{show:{type:Boolean,default:!1},title:{type:String,default:""},titleColor:{type:String,default:"black"},content:{type:String,default:""},contentColor:{type:String,default:"grey darken-2"},contentIcon:{type:String,default:i.Znq},contentIconColor:{type:String,default:"orange"},contentIconSize:{type:Number,default:40},hasNoBtn:{type:Boolean,default:!0},noBtnText:{type:String,default:"Cancel"},noBtnTextColor:{type:String,default:"#444"},noBtnTextColorHover:{type:String,default:"#444"},noBtnBackgroundColor:{type:String,default:"#fff"},noBtnBackgroundColorHover:{type:String,default:"#f2f2f2"},yesBtnText:{type:String,default:"Yes"},yesBtnTextColor:{type:String,default:"#fff"},yesBtnTextColorHover:{type:String,default:"#fff"},yesBtnBackgroundColor:{type:String,default:"#f15"},yesBtnBackgroundColorHover:{type:String,default:"#f26"},headerBackgroundColor:{type:String,default:"grey lighten-5"},contentBackgroundColor:{type:String,default:"white"},footerBackgroundColor:{type:String,default:"grey lighten-5"},minWidth:{type:Number,default:200},maxWidth:{type:Number,default:500}},data:function(){return{mdiAlert:i.Znq,mdiCheckboxMarkedCircle:i.uHb,mdiCloseCircle:i.BCx,showTrans:null}},mounted:function(){},computed:{changeParam:function(){let e=this;return e.showTrans=e.show,""},useHeaderStyle:function(){let e=this,t={padding:"15px 20px"};return t["background-color"]=(0,a.A)(e.headerBackgroundColor),t["border-bottom"]="1px solid #ddd",t["font-size"]="1.2rem",t["color"]=(0,a.A)(e.titleColor),t},useContentStyle:function(){let e=this,t={padding:"20px 15px"};return t["background-color"]=(0,a.A)(e.contentBackgroundColor),t["display"]="table",t["width"]="100%",t["color"]=(0,a.A)(e.contentColor),t["overflow-y"]="auto",t["box-sizing"]="border-box",t},useFooterStyle:function(){let e=this,t={padding:"15px"};return t["background-color"]=(0,a.A)(e.footerBackgroundColor),t["border-top"]="1px solid #ddd",t["text-align"]="right",t}},methods:{clickBtns:function(e){let t=this;t.showTrans=!1,t.$nextTick(()=>{t.$emit("update:show",t.showTrans);let n="no";e&&(n="yes"),t.$emit("click-"+n)})}}},d=c,f=n(1656),p=(0,f.A)(d,r,o,!1,null,"7a752638",null),h=p.exports},7287:function(e,t,n){"use strict";n.d(t,{A:function(){return R}});var r=function(){var e=this,t=e._self._c;return t("div",{attrs:{changeParam:e.changeParam}},[e.showTrans?t("div",{ref:"divShield",style:`\n position:fixed; left:0px; top:0px;\n width:calc( 100svw + ${e.nativeBarWidth}px ); height:100svh;\n overflow:clip;\n z-index:${e.useDialogZIndex};\n overscroll-behavior:none;\n user-select:none;\n touch-action:none;\n `},[t("div",{style:`\n width:calc( 100svw + ${e.nativeBarWidth+1}px ); height:100svh;\n `},[t("div",{ref:"divOverlay",style:`\n position:sticky; left:0px; top:0px;\n width:100svw; height:100svh;\n display:flex; align-items:center; justify-content:center;\n ${e.overlayStyleShow}\n background:${e.useOverlayColor};\n `,attrs:{tabindex:"0"},on:{mousedown:e.mousedownOverlay,click:e.clickOutside}},[t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],ref:"divPanel",style:`\n transition:all 100ms ease-out;\n ${e.panelStyleShow}\n ${e.panelStylePlus}\n ${e.useWidth} ${e.useHeight} ${e.useBorder}\n background:${e.useContentBackgroundColor};\n ${e.usePanelShadowStyle}\n user-select:text;\n `,on:{domresize:e.resizePanel}},[e._t("panel",function(){return[t("div",{ref:"divHeader",style:`\n background:${e.useHeaderBackgroundColor};\n ${e.useHeaderShadowStyle}\n `},[e._t("header",function(){return[t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],style:`\n display:table;\n padding:0px ${e.headSpace}px;\n height:${e.headerHeight}px; max-height:${e.headerHeight}px;\n `,on:{domresize:e.resizeHead}},[t("div",{ref:"hdIcon",staticStyle:{"padding-right":"10px",display:"table-cell","vertical-align":"middle"}},[t("WIcon",{attrs:{icon:e.useHeaderIcon,color:e.headerIconColor,colorHover:e.headerIconColor}})],1),t("div",{ref:"hdTitleAndStl",staticStyle:{width:"100%",display:"table-cell","vertical-align":"middle"}},[t("div",{style:"display:flex; align-items:center;"},[t("div",{style:`max-width:${e.titleWidth}px; ${e.useTitleFontSize} color:${e.useTitleColor}; text-overflow:ellipsis; white-space:nowrap; overflow-x:hidden;`},[e._v(" "+e._s(e.title)+" ")]),t("div",{ref:"hdStl"},[e._t("header-left")],2)])]),t("div",{ref:"hdStr",staticStyle:{display:"table-cell","vertical-align":"middle"}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[e._t("header-right")],2)]),t("div",{ref:"hdBtns",staticStyle:{display:"table-cell","vertical-align":"middle"}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[e._l(e.headerBtns,function(n,r){return[t("WButtonCircle",{key:r,staticStyle:{"padding-left":"5px"},attrs:{icon:e.get(n,"icon"),shadow:!1,paddingStyle:{v:9,h:9},loadingColor:e.get(n,"iconColor")||e.headerIconColor,iconColor:e.get(n,"iconColor")||e.headerIconColor,iconColorHover:e.get(n,"iconColor")||e.headerIconColor,iconColorFocus:e.get(n,"iconColor")||e.headerIconColor,backgroundColor:e.get(n,"backgroundColor")||"transparent",backgroundColorHover:"rgba(255, 255, 255, 0.1)",backgroundColorFocus:"rgba(255, 255, 255, 0.3)",rippleColor:"rgba(255, 255, 255, 0.4)",tooltip:e.get(n,"tooltip")},on:{click:function(t){return e.clickBtns(n)}}})]}),e.hasSaveBtn?[t("WButtonCircle",{staticStyle:{"padding-left":"5px"},attrs:{icon:e.mdiCheckCircle,shadow:!1,paddingStyle:{v:9,h:9},loadingColor:e.headerIconColor,iconColor:e.headerIconColor,iconColorHover:e.headerIconColor,iconColorFocus:e.headerIconColor,backgroundColor:"transparent",backgroundColorHover:"rgba(255, 255, 255, 0.1)",backgroundColorFocus:"rgba(255, 255, 255, 0.3)",rippleColor:"rgba(255, 255, 255, 0.4)",tooltip:e.saveBtnTooltip,promiseUnlock:!0},on:{click:e.clickSave}})]:e._e(),e.hasCloseBtn?[t("WButtonCircle",{staticStyle:{"padding-left":"5px"},attrs:{icon:e.mdiClose,shadow:!1,paddingStyle:{v:9,h:9},loadingColor:e.headerIconColor,iconColor:e.headerIconColor,iconColorHover:e.headerIconColor,iconColorFocus:e.headerIconColor,backgroundColor:"transparent",backgroundColorHover:"rgba(255, 255, 255, 0.1)",backgroundColorFocus:"rgba(255, 255, 255, 0.3)",rippleColor:"rgba(255, 255, 255, 0.4)",tooltip:e.closeBtnTooltip},on:{click:function(t){return e.clickClose(!1)}}})]:e._e()],2)])])]},{panelWidth:e.panelWidth,headerHeight:e.headerHeight,contentHeight:e.contentHeight,contentHeightMax:e.contentHeightMax,footerHeight:e.footerHeight})],2),t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],ref:"divContent",style:`\n color:${e.useContentTextColor};\n ${e.useContentHeight}\n overflow-y:auto;\n `,on:{domresize:e.resizeContent}},[e._t("content",null,{panelWidth:e.panelWidth,headerHeight:e.headerHeight,contentHeight:e.contentHeight,contentHeightMax:e.contentHeightMax,footerHeight:e.footerHeight})],2),t("div",{ref:"divFooter",style:"\n "},[e._t("footer",null,{panelWidth:e.panelWidth,headerHeight:e.headerHeight,contentHeight:e.contentHeight,contentHeightMax:e.contentHeightMax,footerHeight:e.footerHeight})],2)]},{panelWidth:e.panelWidth,headerHeight:e.headerHeight,contentHeight:e.contentHeight,contentHeightMax:e.contentHeightMax,footerHeight:e.footerHeight})],2)])])]):e._e()])},o=[],i=n(9165),a=n(7500),l=n(6996),s=n(903),u=n(7120),c=n(2942),d=n(7417),f=n(1236),p=n(3294),h=n(889),g=n(1879),m=n(8207),v=n(6902),b=n(2559),y=n(8951),A=n(9008);function w(e){return e&&e.length?(0,b.A)(e,A.A,y.A):void 0}var C=w,x=n(6702);let _={};function k(e,t){(0,x.A)(_,e)||(_[e]={});let n=(0,a.A)(_,e,{}),r=(0,a.A)(n,t,null);if((0,g.A)(r))return r;let o=(0,m.A)(_[e]);return 0===(0,v.A)(o)?(r=1,_[e][t]=r,r):(r=C(o)+1,_[e][t]=r,r)}function S(e,t){(0,x.A)(_,e)&&delete _[e][t]}let I={getLevel:k,destroyLevel:S};var T=I,H=n(6759),P=n(293),B={directives:{domresize:(0,h.A)()},components:{WButtonCircle:H.A,WIcon:P.A},props:{show:{type:Boolean,default:!1},isModal:{type:Boolean,default:!0},dialogZIndex:{type:Number,default:2e3},fullscreen:{type:Boolean,default:!1},minWidth:{type:Number,default:200},maxWidth:{type:Number,default:1e3},ratioHeightMax:{type:Number,default:.9},autoFullscreenWhenNarrow:{type:Boolean,default:!0},overlayColor:{type:String,default:"rgba(0,0,0,0.3)"},panelBorderRadius:{type:Number,default:4},panelShadow:{type:Boolean,default:!0},panelShadowStyle:{type:String,default:"0 11px 15px -7px rgb(0 0 0 / 20%), 0 24px 38px 3px rgb(0 0 0 / 14%), 0 9px 46px 8px rgb(0 0 0 / 12%)"},icon:{type:String,default:""},title:{type:String,default:""},titleColor:{type:String,default:"white"},titleFontSize:{type:String,default:"1.3rem"},headerHeight:{type:Number,default:56},headerIconColor:{type:String,default:"white"},headerBackgroundColor:{type:String,default:"light-blue darken-3"},headerShadow:{type:Boolean,default:!0},headerShadowStyle:{type:String,default:"0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%)"},headerBtns:{type:Array,default:()=>[]},hasSaveBtn:{type:Boolean,default:!0},saveBtnTooltip:{type:String,default:"Save"},hasCloseBtn:{type:Boolean,default:!0},closeBtnTooltip:{type:String,default:"Close"},closeWithInterceptor:{type:Boolean,default:!1},contentTextColor:{type:String,default:"black"},contentBackgroundColor:{type:String,default:"#fff"}},data:function(){return{get:a.A,mmkey:(0,u.A)(),zind:0,mdiCheckCircle:i.NG3,mdiClose:i.hyP,mdiCheckerboard:i._Jj,nativeBarWidth:16,showTrans:!1,fullscreenForce:!1,overlayStyleShow:"",panelWidth:0,panelHeight:0,panelStyleShow:"",panelStylePlus:"",headSpace:12,titleWidth:0,contentWidth:0,contentHeight:0,contentHeightMax:0,contentScrollHSize:0,useContentHeight:"",footerHeight:0,mousedownOutside:!1,resizeMsgTemp:null}},computed:{changeParam:function(){let e=this;return e.showTrans=e.show,e.showTrans?(e.zind=T.getLevel("dialog",e.mmkey),e.showPanel()):T.destroyLevel("dialog",e.mmkey),""},useDialogZIndex:function(){let e=this,t=e.dialogZIndex+e.zind;return t},useIsModal:function(){let e=this;return e.isModal},useFullscreen:function(){let e=this;return!!e.fullscreen||e.fullscreenForce},useBorder:function(){let e=this,t="";return e.useFullscreen||(t=`border-radius:${e.panelBorderRadius}px; overflow:hidden;`),t},useHeaderIcon:function(){let e=this;return e.icon?e.icon:i._Jj},useRatioHeight:function(){let e=this;return e.useFullscreen?1:e.ratioHeightMax},useWidth:function(){let e=this;return e.useFullscreen?"width:100svw; max-width:100svw;":`min-width:${e.minWidth}px; max-width:${e.maxWidth}px;`},useHeight:function(){let e=this,t="";return t=e.useFullscreen?"height":"max-height",t=`${t}:${100*e.useRatioHeight}svh;`,t},useOverlayColor:function(){let e=this;return(0,p.A)(e.overlayColor)},usePanelShadowStyle:function(){let e=this;if(!e.panelShadow)return"";let t=(0,d.A)(e.panelShadowStyle,";","");return`box-shadow:${t};`},useTitleFontSize:function(){let e=this,t=e.titleFontSize;return t=(0,d.A)(t,";",""),`font-size:${t};`},useTitleColor:function(){let e=this;return(0,p.A)(e.titleColor)},useHeaderBackgroundColor:function(){let e=this;return(0,p.A)(e.headerBackgroundColor)},useHeaderShadowStyle:function(){let e=this;if(!e.headerShadow)return"";let t=(0,d.A)(e.headerShadowStyle,";","");return`box-shadow:${t};`},useContentTextColor:function(){let e=this;return(0,p.A)(e.contentTextColor)},useContentBackgroundColor:function(){let e=this;return(0,p.A)(e.contentBackgroundColor)}},methods:{resizePanel:function(e){let t=this;t.panelWidth=e.snew.offsetWidth,t.panelHeight=e.snew.offsetHeight;let n=(0,a.A)(t,"$refs.divFooter");t.footerHeight=n?n.clientHeight:0,t.fullscreenForce=!1,t.autoFullscreenWhenNarrow&&(t.fullscreenForce=t.maxWidth>=window.innerWidth),t.contentHeightMax=Math.max(window.innerHeight*t.useRatioHeight-t.headerHeight-t.footerHeight,0),0===t.contentHeightMax?t.useContentHeight="":t.useContentHeight=`max-height:${t.contentHeightMax}px;`;let r=(0,a.A)(t,"$refs.divShield");if(r){let e=r.offsetWidth-r.clientWidth;t.nativeBarWidth!==e&&(t.nativeBarWidth=e)}t.updateTitleWidth("resizePanel"),t.triggerResize("resizePanel")},resizeHead:function(e){let t=this;t.updateTitleWidth("resizeHead")},resizeContent:function(e){let t=this;t.contentWidth=e.snew.offsetWidth,t.contentHeight=e.snew.offsetHeight,t.contentScrollHSize=e.snew.offsetHeight-e.snew.clientHeight},showPanel:function(){let e=this,t=200;e.overlayStyleShow=`transition:all ${t}ms ease-out; opacity:0;`,setTimeout(()=>{e.overlayStyleShow=`transition:all ${t}ms ease-out; opacity:1;`},1),setTimeout(()=>{e.overlayStyleShow=""},t),e.panelStyleShow=`transition:all ${t}ms ease-out; opacity:0; transform:scale(0.2);`,setTimeout(()=>{e.panelStyleShow=`transition:all ${t}ms ease-out; opacity:1; transform:scale(1);`},1),setTimeout(()=>{e.panelStyleShow=""},t)},triggerResize:function(e){let t=this;if(!t.showTrans)return;if(0===t.panelWidth||0===t.panelHeight)return;let n={panelWidth:t.panelWidth,panelHeight:t.panelHeight,headerHeight:t.headerHeight,contentHeight:t.contentHeight,contentHeightMax:t.contentHeightMax,contentScrollHSize:t.contentScrollHSize,footerHeight:t.footerHeight};(0,l.A)(t.resizeMsgTemp,n)||(t.resizeMsgTemp=n,t.$nextTick(()=>{t.$emit("resize",(0,s.A)(n))}))},updateTitleWidth:function(e){let t=this,n=(0,a.A)(t,"$refs.hdIcon.clientWidth",0),r=(0,a.A)(t,"$refs.hdStl.clientWidth",0),o=(0,a.A)(t,"$refs.hdStr.clientWidth",0),i=(0,a.A)(t,"$refs.hdBtns.clientWidth",0),l=t.panelWidth-2*t.headSpace-n-r-o-i;l=Math.max(l,0),t.titleWidth=l},mousedownOverlay:function(e){let t=this,n=!1;try{n=t.$refs.divPanel.contains(e.target)}catch(r){}if(!n)try{n=(0,f.A)(e.clientX,e.clientY,t.$refs.divPanel)}catch(r){}t.mousedownOutside=!n},clickOutside:function(e){let t=this;if(!0!==t.mousedownOutside)return;let n=!1;try{n=!t.$refs.divPanel.contains(e.target)}catch(r){}if(n)try{n=!(0,f.A)(e.clientX,e.clientY,t.$refs.divPanel)}catch(r){}if(n)if(t.useIsModal){let e=20,n=1.02;t.panelWidth>0&&(n=(t.panelWidth+e)/t.panelWidth);let r=100;t.panelStylePlus=`transition:all ${r}ms; transform:scale(${n});`,setTimeout(()=>{t.panelStylePlus=`transition:all ${r}ms;`},r),setTimeout(()=>{t.panelStylePlus=""},2*r)}else t.$nextTick(()=>{t.showTrans=!1,t.$emit("update:show",t.showTrans)})},clickBtns:function(e){let t=this;t.$nextTick(()=>{t.$emit("click-btns",(0,s.A)(e))})},clickSave:function(e){let t=this;t.$nextTick(()=>{t.$emit("click-save",e)})},clickClose:function(e){let t=this;if(!t.hasCloseBtn||!e)if(t.closeWithInterceptor){let e=(0,c.A)();t.$nextTick(()=>{t.$emit("click-close",{pm:e})}),e.then(()=>{t.$nextTick(()=>{t.showTrans=!1,t.$emit("update:show",t.showTrans)})}).catch(e=>{})}else t.$nextTick(()=>{t.showTrans=!1,t.$emit("update:show",t.showTrans),t.$emit("click-close")})}}},$=B,j=n(1656),O=(0,j.A)($,r,o,!1,null,"4d105201",null),R=O.exports},1059:function(e,t,n){"use strict";n.d(t,{A:function(){return E}});var r=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{state:e.state,changeValue:e.changeValue,changeDrawerWidth:e.changeDrawerWidth,changeAfloat:e.changeAfloat},on:{domresize:e.resizePanel}},[t("div",{ref:"divPanel",staticStyle:{position:"relative",width:"100%",height:"100%",overflow:"hidden"}},[t("div",{staticStyle:{width:"100%",height:"100%",display:"flex",overflow:"hidden"}},[e.isAtLeft?t("div",{staticClass:"ts",style:`${e.useNoTransStyle} width:${e.virtualZoneWidth}px; min-width:${e.virtualZoneWidth}px;`}):e._e(),t("div",{style:"width:100%; height:100%; overflow:hidden;"},[e._t("content",null,{width:e.panelWidth-e.virtualZoneWidth,height:e.panelHeight})],2),e.isAtLeft?e._e():t("div",{staticClass:"ts",style:`${e.useNoTransStyle} width:${e.virtualZoneWidth}px; min-width:${e.virtualZoneWidth}px;`})]),e.showAni1Basic?t("div",{staticClass:"ts",style:`position:${e.useAniPosition}; ${e.useDrawerDetectLoction} top:0px; bottom:0px; z-index:${e.useDrawerZIndex+1}; width:${e.useDrawerDetectWidth}; height:100%; opacity:${e.useAniOpacity}; background:${e.useAniColor};`}):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showAni2Detect,expression:"showAni2Detect"}],style:`position:${e.useAniPosition}; ${e.useDrawerDetectLoction} top:0px; bottom:0px; z-index:${e.useDrawerZIndex+2}; width:${e.useDrawerDetectWidth}; height:100%;`,on:{click:t=>{e.ckToggle(t,!1)}}},[t("div",{style:`width:100%; height:100%; display:flex; justify-content:${e.isAtLeft?"start":"end"};`},[t("div",{directives:[{name:"domstable",rawName:"v-domstable"}],ref:"divDrawer",class:`ts ${e.useDrawerClassShadow}`,style:`${e.useNoTransStyle} width:${e.useDrawerWidthTrans}px; height:100%; transform:translateX(${e.useDrawerTranslateX}%);`,on:{domstable:e.getStableDrawer}},[t("div",{staticClass:"ts",style:`${e.useNoTransStyle} position:relative; width:${e.useDrawerWidthTrans}px; height:100%; display:flex;`},[e.dragDrawerWidth&&!e.isAtLeft?t("div",{style:`padding-left:${e.useDrawerBarSize/2}px;`}):e._e(),t("div",{staticClass:"ts",style:`${e.useNoTransStyle} width:${e.useEffDrawerWidthTrans}px;`},[e._t("drawer",null,{width:e.useEffDrawerWidthTrans,height:e.panelHeight})],2),e.dragDrawerWidth&&e.isAtLeft?t("div",{style:`padding-left:${e.useDrawerBarSize/2}px;`}):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:e.valueTrans&&e.dragDrawerWidth,expression:"valueTrans && dragDrawerWidth"}],ref:"divBar",style:`position:${e.useAniPosition}; top:0px; ${e.isAtLeft?"left":"right"}:${e.useDrawerWidthTrans-e.useDrawerBarWidth/2}px; width:${e.useDrawerBarWidth}px; height:100%; border-left:${e.drawerBarBorderSize}px solid ${e.useDrawerBarBorderColor}; border-right:${e.drawerBarBorderSize}px solid ${e.useDrawerBarBorderColor}; box-sizing:border-box; opacity:${e.showAni5DragDrawerBar?1:0}; cursor:col-resize; user-select:none;`},[t("div",{style:`width:${e.useDrawerBarSize}px; height:100%; background:${e.useDrawerBarColor};`})])])])])])])])},o=[],i=n(7500),a=n(1879),l=n(7120),s=n(4958),u=n(106),c=n(6224),d=n(1236),f=n(1662),p=n(719),h=n(1388);function g(){let e=(0,h.A)(),t=()=>{let t=(0,i.A)(e,"innerWidth"),n=(0,i.A)(e,"document.documentElement.clientWidth"),r=(0,i.A)(e,"document.body.clientWidth"),o=[t,n,r];o=(0,f.A)(o,a.A);let l=(0,p.A)(o);return l},n=()=>{let t=(0,i.A)(e,"innerHeight"),n=(0,i.A)(e,"document.documentElement.clientHeight"),r=(0,i.A)(e,"document.body.clientHeight"),o=[t,n,r];o=(0,f.A)(o,a.A);let l=(0,p.A)(o);return l},r={width:t(),height:n()};return r}var m=g,v=n(8916),b=n(9610),y=n(6246),A=n(1291);function w(e,t,n={}){let r=null,o=null,a=null,l=null,s=null,u=null,c=null,d=null,f=null,p=null,h=null,g=null,m=null,w=null,C=null,x=!1,_=(0,i.A)(n,"getHeighRatio",null);(0,b.A)(_)||(_=()=>1);let k=(0,i.A)(n,"getWidthRatio",null);(0,b.A)(k)||(k=()=>1);let S=(0,i.A)(n,"stopScrollPropagationForPanel",null);(0,v.A)(S)||(S=!1);let I=(0,i.A)(n,"stopTouchDragPropagationForPanel",null);(0,v.A)(I)||(I=!1);let T=(0,i.A)(n,"useTouchDragForPanel",null);(0,v.A)(T)||(T=!0);let H=e,P=t,B=(0,y.A)();function $(){r=e=>{let t=e.deltaY/Math.abs(e.deltaY),n=e.deltaX/Math.abs(e.deltaX);B.emit("scrollPanel",{ratioY:t,ratioX:n}),S&&(0,A.A)(e)},H.addEventListener("wheel",r),o=e=>{if(T){let t=(0,i.A)(e,"touches.0.clientY",0),n=(0,i.A)(e,"touches.0.clientX",0),r=-t*_(),o=-n*k();x=!0,B.emit("pressBar",{clientY:r,clientX:o}),I&&(0,A.A)(e)}},H.addEventListener("touchstart",o),a=e=>{if(T&&x){let t=(0,i.A)(e,"touches.0.clientY",0),n=(0,i.A)(e,"touches.0.clientX",0),r=-t*_(),o=-n*k();B.emit("dragBar",{clientY:r,clientX:o}),I&&(0,A.A)(e)}},H.addEventListener("touchmove",a,{passive:!1}),l=e=>{T&&x&&(x=!1,B.emit("freeBar"),I&&(0,A.A)(e))},H.addEventListener("touchend",l),s=e=>{x=!0,B.emit("pressBar",{clientY:e.clientY,clientX:e.clientX})},P.addEventListener("mousedown",s),u=e=>{x&&(x=!1,B.emit("freeBar"))},P.addEventListener("mouseup",u),c=e=>{x=!0,B.emit("pressBar",{clientY:e.touches[0].clientY,clientX:e.touches[0].clientX})},P.addEventListener("touchstart",c),d=e=>{x&&(B.emit("dragBar",{clientY:e.touches[0].clientY,clientX:e.touches[0].clientX}),(0,A.A)(e))},P.addEventListener("touchmove",d,{passive:!1}),f=e=>{x&&(x=!1,B.emit("freeBar"))},P.addEventListener("touchend",f),p=e=>{x&&B.emit("dragBar",{clientY:e.clientY,clientX:e.clientX})},window.addEventListener("mousemove",p),h=e=>{x&&(x=!1,B.emit("freeBar"),S&&(0,A.A)(e))},window.addEventListener("mouseup",h),g=e=>{},window.addEventListener("scroll",g,{passive:!1}),m=e=>{},window.addEventListener("wheel",m,{passive:!1}),w=e=>{},document.addEventListener("scroll",w,{passive:!1}),C=e=>{},document.addEventListener("wheel",C,{passive:!1})}function j(){H.removeEventListener("wheel",r),H.removeEventListener("touchstart",o),H.removeEventListener("touchmove",a),H.removeEventListener("touchend",l),P.removeEventListener("mousedown",s),P.removeEventListener("mouseup",u),P.removeEventListener("touchstart",c),P.removeEventListener("touchmove",d),P.removeEventListener("touchend",f),window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",h),window.removeEventListener("scroll",g),window.removeEventListener("wheel",m),document.removeEventListener("scroll",w),document.removeEventListener("wheel",C)}return $(),B.clear=j,B}var C=w,x=n(6035),_=n(889),k=n(8332),S=n(2942),I=n(3360);function T(e,t={}){if(!(0,k.A)(e))return Promise.reject("invalid element");if(!(0,u.A)(e.getBoundingClientRect))return Promise.reject("invalid element.getBoundingClientRect");let n=(0,i.A)(t,"mode","");"promise"!==n&&"event"!==n&&(n="promise");let r=(0,i.A)(t,"tolerance",0),o=(0,i.A)(t,"timeDiff",100),a=(0,i.A)(t,"timeDetect",50),l=()=>{let t=e.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width,h:t.height}},s=(e,t)=>!!e&&!!t&&Math.abs(e.x-t.x)<=r&&Math.abs(e.y-t.y)<=r&&Math.abs(e.w-t.w)<=r&&Math.abs(e.h-t.h)<=r,c=()=>{try{return e.getAnimations({subtree:!0})}catch(t){return[]}},d=async()=>{let e=(0,S.A)();try{let t=l();await(0,I.A)(o);let n=l(),r=s(t,n);await Promise.allSettled(c().map(e=>e.finished));let i=0===c().length,a=r&&i;e.resolve(a)}catch(t){e.reject(t)}return e},f=d,p=()=>{let t=(0,y.A)(),n=!1,r=null,o=null,i=!1,l=e=>{let n=!1;if(!(0,k.A)(e))return n;try{let e=!1,r=!1;o=setInterval(()=>{i?clearInterval(o):e||(e=!0,d().then(e=>{i||r!==e&&(r=e,t.emit("stable",e))}).catch(()=>{}).finally(()=>{e=!1}))},a),n=!0}catch(r){}return n},s=()=>{r=setInterval(()=>{n=l(e),n&&clearInterval(r)},50)},u=()=>{let e=!1;try{clearInterval(r),clearInterval(o),i=!0,e=!0}catch(t){}return e};return t.create=s,t.dispose=u,t},h=null;return"promise"===n?h=f():"event"===n&&(h=p()),h}var H=T;function P(){let e={};function t(e,t,n){let r=e.data&&e.data.on||e.componentOptions&&e.componentOptions.listeners;r&&r[t]&&r[t].fns(n)}function n(n,r,o){let i=`r${(0,l.A)()}`;n.setAttribute("ev-stable",i);let a=H(n,{mode:"event"});a.on("stable",e=>{t(o,"domstable",e)}),a.create(),e[i]=a}function r(t){let n=t.getAttribute("ev-stable");t.setAttribute("ev-stable",null),e[n]&&(e[n].dispose(),e[n]=null,delete e[n])}return{bind:n,unbind:r}}var B=P,$=n(3294),j={directives:{domresize:(0,_.A)(),domstable:B()},props:{value:{type:Boolean,default:!1},mode:{type:String,default:"from-left"},drawerWidth:{type:Number,default:200},drawerWidthMin:{type:Number,default:null},drawerWidthMax:{type:Number,default:null},afloat:{type:Boolean,default:!1},afloatByFix:{type:Boolean,default:!1},overlayOpacity:{type:Number,default:.45},overlayColor:{type:String,default:"grey darken-2"},drawerZIndex:{type:Number,default:1e3},dragDrawerWidth:{type:Boolean,default:!1},drawerBarColor:{type:String,default:"#ddd"},drawerBarSize:{type:Number,default:2},drawerBarBorderColor:{type:String,default:"transparent"},drawerBarBorderSize:{type:Number,default:3},autoSwitchToHide:{type:Boolean,default:!1},autoSwitchToFloat:{type:Boolean,default:!1},autoSwitchToShow:{type:Boolean,default:!1},switchWidth:{type:Number,default:340}},data:function(){return{panelWidth:0,panelHeight:0,das:null,state:"hidden",valueTrans:!1,dragging:!1,drawerWidthTrans:200,afloatTrans:!1,drawerStable:!0,timerAni1Basic:null,showAni1Basic:!1,effAni1Basic:!1,timerAni2Detect:null,showAni2Detect:!1,timerAni3Shadow:null,showAni3Shadow:!1,timerAni4Translate:null,effAni4Translate:!1,timerAni5DragDrawerBar:null,showAni5DragDrawerBar:!1,timerAni6State:null,tagStateNow:""}},mounted:function(){let e=this,t=C(e.$refs.divPanel,e.$refs.divBar,{useTouchDragForPanel:!1});t.on("dragBar",e.dragBar),t.on("pressBar",()=>{e.dragging=!0}),t.on("freeBar",()=>{setTimeout(()=>{e.dragging=!1},1)}),e.das=t},beforeDestroy:function(){let e=this;e.das&&e.das.clear()},computed:{changeValue:function(){let e=this;return e.valueTrans!==e.value&&e.toggleValue(e.value),e.valueTrans=e.value,""},changeDrawerWidth:function(){let e=this;return e.drawerWidthTrans=e.drawerWidth,""},changeAfloat:function(){let e=this;return e.afloatTrans=e.afloat,""},useDrawerWidthTrans:function(){let e=this;e.___drawerWidthTrans___=e.drawerWidthTrans,e.___panelWidth___=e.panelWidth;let t=e.getPanelEffWidth(),n=null;return n=(0,a.A)(t)?Math.min(e.drawerWidthTrans,t):e.drawerWidthTrans,n},useEffDrawerWidthTrans:function(){let e=this,t=Math.max(e.useDrawerWidthTrans-e.useDrawerBarSize/2,0);return t},virtualZoneWidth:function(){return this.valueTrans?this.afloatTrans?0:this.useDrawerWidthTrans:0},isAtLeft:function(){return"from-right"!==this.mode},useDrawerZIndex:function(){let e=this.drawerZIndex;return this.afloatTrans&&(e+=1),this.afloatByFix&&(e+=500),e},useAniColor:function(){return this.afloatTrans?(0,$.A)(this.overlayColor):"transparent"},useAniPosition:function(){return this.afloatByFix?"fixed":"absolute"},useAniOpacity:function(){return this.afloatTrans&&this.effAni1Basic?this.overlayOpacity:0},useDrawerTranslateX:function(){if(this.effAni4Translate)return 0;let e=this.isAtLeft?-100:100;return e},useDrawerDetectLoction:function(){return this.isAtLeft?"left:0px;":"right:0px;"},useDrawerDetectWidth:function(){return this.afloatTrans?"100%":`${this.useDrawerWidthTrans}px`},useDrawerClassShadow:function(){return this.afloatTrans&&this.showAni3Shadow?"bs":""},useDrawerBarWidth:function(){let e=this;return e.drawerBarSize+2*e.drawerBarBorderSize},useDrawerBarSize:function(){let e=this;return e.dragDrawerWidth?e.drawerBarSize:0},useDrawerBarColor:function(){return(0,$.A)(this.drawerBarColor)},useDrawerBarBorderColor:function(){return(0,$.A)(this.drawerBarBorderColor)},useNoTransStyle:function(){let e=this;return e.dragging?"transition:none;":""}},methods:{resizePanel:function(e){let t=this;if(t.afloatByFix){let e=m();t.panelWidth=e.width,t.panelHeight=e.height}else t.panelWidth=e.snew.offsetWidth,t.panelHeight=e.snew.offsetHeight;let n=t.switchWidth,r=(0,i.A)(e,"smode.width","");t.autoSwitchToHide&&t.valueTrans&&"smaller"===r&&t.panelWidth<n&&(t.toggleValue(!1),t.$emit("input",!1)),t.autoSwitchToShow&&!t.valueTrans&&"larger"===r&&t.panelWidth>=n&&(t.toggleValue(!0),t.$emit("input",!0)),t.autoSwitchToFloat&&t.valueTrans&&!t.afloatTrans&&"smaller"===r&&t.panelWidth<n&&(t.afloatTrans=!0,t.$emit("update:afloat",!0)),t.$emit("resize",e)},ckToggle:function(e,t){let n=this;if(!n.afloatTrans)return;if(n.dragging)return;let r=!1;try{r=!n.$refs.divDrawer.contains(e.target)}catch(o){}if(r)try{r=!(0,d.A)(e.clientX,e.clientY,n.$refs.divDrawer)}catch(o){}r&&(n.toggleValue(t),n.$emit("input",t))},toggleValue:async function(e){let t=this;await(0,x.A)(()=>void 0!==t.$el,{attemptNum:800,timeInterval:250}),clearTimeout(t.timerAni1Basic),clearTimeout(t.timerAni2Detect),clearTimeout(t.timerAni3Shadow),clearTimeout(t.timerAni4Translate),clearTimeout(t.timerAni5DragDrawerBar),clearTimeout(t.timerAni6State),t.drawerStable=!1;let n,r=(0,l.A)();t.tagStateNow=r,e?(n=20,t.state="opening",t.showAni1Basic=!0,t.timerAni1Basic=setTimeout(()=>{t.effAni1Basic=!0},n),t.showAni2Detect=!0,t.showAni3Shadow=!0,t.timerAni4Translate=setTimeout(()=>{t.effAni4Translate=!0},n),t.timerAni5DragDrawerBar=setTimeout(()=>{t.showAni5DragDrawerBar=!0},300),t.timerAni6State=setTimeout(()=>{let e=()=>{t.tagStateNow===r&&(t.state="opened")};(0,x.A)(()=>!0===t.drawerStable,{attemptNum:800,timeInterval:250}).then(e).catch(e)},300)):(n=300,t.state="hiding",t.effAni1Basic=!1,t.timerAni1Basic=setTimeout(()=>{t.showAni1Basic=!1},n),t.timerAni2Detect=setTimeout(()=>{t.showAni2Detect=!1},n),t.timerAni3Shadow=setTimeout(()=>{t.showAni3Shadow=!1},n/2),t.effAni4Translate=!1,t.showAni5DragDrawerBar=!1,t.timerAni6State=setTimeout(()=>{let e=()=>{t.tagStateNow===r&&(t.state="hidden")};(0,x.A)(()=>!0===t.drawerStable,{attemptNum:800,timeInterval:250}).then(e).catch(e)},300))},getStableDrawer:function(e){let t=this;t.drawerStable=e},getPanelBounding:function(){let e=this,t=null;if(e.afloatByFix){let e=(0,i.A)(m(),"width");t={left:0,width:e}}else{let n=(0,i.A)(e,"$el.getBoundingClientRect");t=(0,u.A)(n)?e.$el.getBoundingClientRect():{left:0,width:0}}return t},getPanelEffWidth:function(){let e=this,t=null;return t=e.afloatByFix?(0,i.A)(m(),"width"):(0,i.A)(e,"$el.offsetWidth",null),t},dragBar:function({clientX:e}){let t=this;if(!t.dragDrawerWidth)return;if(!t.valueTrans)return;let n=t.getPanelBounding(),r=e,o=null;o=t.isAtLeft?r-n.left:n.width-(r-n.left);let i=t.getPanelEffWidth();(0,s.A)(t.drawerWidthMax)&&(i=(0,c.A)(t.drawerWidthMax));let l=0;(0,s.A)(t.drawerWidthMin)&&(l=(0,c.A)(t.drawerWidthMin)),(0,a.A)(i)&&(o=Math.min(o,i)),(0,a.A)(l)&&(o=Math.max(o,l)),t.drawerWidthTrans=o,t.$emit("update:drawerWidth",o)}}},O=j,R=n(1656),W=(0,R.A)(O,r,o,!1,null,"46cd394a",null),E=W.exports},6184:function(e,t,n){"use strict";n.d(t,{A:function(){return ue}});var r=function(){var e=this,t=e._self._c;return t("WPanelScrollyCore",{ref:"wpsc",attrs:{scrollTop:e.scrollTop,viewHeightMax:e.viewHeightMax,changeFilterKeyWords:e.changeFilterKeyWords},on:{"update:scrollTop":function(t){e.scrollTop=t},"update:scroll-top":function(t){e.scrollTop=t},"change-infor":e.changeInfor}},[t("div",{style:`padding-top:${e.itemsHeightPre}px; padding-bottom:${e.itemsHeightAft}px;`},[e._l(e.useItems,function(n,r){return[t("div",{key:`kitem-${r}`,ref:"wdsDiv",refInFor:!0,style:`_opacity:${n.nowShow?1:.001};`,attrs:{kitem:r,index:n.index,nowShow:"c:"+n.nowShow,y:n.y,h:n.height,top:n.top}},[e._t("default",null,{row:n.row,index:n.index})],2)]})],2),!e.disableLoadingText&&e.lockFromSetRows?t("div",{style:`${e.useStatePadding} font-size:0.8rem;`},[e._v(" "+e._s(e.loadingText)+" ")]):[0===e.useItems.length&&e.searchingResults>0?t("div",{style:`${e.useStatePadding} font-size:0.8rem;`},[e._v(" "+e._s(e.searchingText)+" ")]):[0===e.searchingResults&&""!==e.noResultsText?t("div",{style:`${e.useStatePadding} font-size:0.8rem;`},[e._v(" "+e._s(e.noResultsText)+" ")]):e._e()]]],2)},o=[],i=n(7500),a=n(6036),l=n(4722),s=n(4554),u=n(1879),c=n(8207),d=n(6996),f=n(6902),p=n(8182),h=n(903),g=n(1669),m=n(7120),v=n(3360),b=n(6956),y=n(1969),A=n(9860),w=n(4958),C=n(8135),x=n(106),_=n(2982),k=n(6670),S=n(8842),I=n(8332),T=n(662),H=n(8621),P=n(5021),B=n(545),$=n(483),j=n(6024);function O(e,t){if(!(0,y.A)(e))return[];if(!(0,P.A)(t)&&!(0,y.A)(t))return[];let n=null;n=(0,P.A)(t)?(0,B.A)(t," "):t;let r=(0,f.A)(n);function o(e){let t=!1,o=0;for(let i=0;i<r;i++){let a=n[i],l=a,s="+"===(0,$.A)(a,1),u="-"===(0,$.A)(a,1);if((s||u)&&(l=(0,j.A)(a,1)),""===(0,H.A)(l))continue;let c=e.indexOf(l)>=0;if(s){if(c){t=!0,o=1;break}t=!1,o=0;break}if(u){if(c){t=!1,o=0;break}t=!0,o=1;break}if(c){t=!0;let e=1-i/r;e=e**2,o+=e}}return{hasKeyword:t,weight:o}}let i=(0,l.A)(e,e=>o(e));return i}var R=O,W=n(3633);function E(e,t=!1){if((0,W.A)(e))return"";let n="";try{n=t?JSON.stringify(e,null,2):JSON.stringify(e)}catch(r){n=""}return n}var L=E,Z=n(9526),X=n(2942),F=n(2561);let V=F.A;var N=V,z=n(6246);function M(){let e=(0,z.A)(),t=[],n=null,r=!1;function o(){null===n&&(n=setInterval(async()=>{if(r)return;r=!0;let o=t.pop();for(let n=0;n<t.length;n++){let r=t[n].id,o={state:"cancelled"};e.emit(r,o)}if(t=[],o){let t,n=o.id;t=(0,x.A)(o.func)?await N(o.func)(...o.input):{state:"error",msg:"fun is not a function"},e.emit(n,t)}r=!1,r||0!==t.length||(clearInterval(n),n=null)},20))}function i(n,...r){let i=(0,X.A)();if(!(0,x.A)(n))return void console.log("func is not a function");let a=(0,m.A)();return t.push({id:a,func:n,input:r}),o(),e.once(a,e=>{"success"===e.state?i.resolve(e.msg):"cancelled"===e.state?i.reject({reason:"cancelled"}):i.reject(e.msg)}),i}return i}var D=M,G=n(1662),U=n(2559),K=n(8951),J=n(2816);function Y(e,t){return e&&e.length?(0,U.A)(e,(0,J.A)(t,2),K.A):void 0}var Q=Y;function q(e,t){let n=(0,f.A)(e),r=0,o=t(r),i=n-1,a=t(i),l=!0,s=null;while(l){let e=Math.floor((i+r)/2),n=t(e);if(o<0&&n<0&&a<0){s=null,l=!1;break}if(o>0&&n>0&&a>0){s=null,l=!1;break}if(0===o){s=r,l=!1;break}if(0===n){s=e,l=!1;break}if(0===a){s=i,l=!1;break}if(e===r||e===i){let t=[{i:r,v:o},{i:e,v:n},{i:i,v:a}];t=(0,G.A)(t,e=>e.v<=0);let u=Q(t,"v");s=u.i,l=!1;break}o*n>0?(r=e,o=n):(i=e,a=n)}return s}var ee=q,te=n(3730),ne=n(3665),re=n(6850);let oe=(0,te.A)();var ie={components:{WPanelScrollyCore:re.A},props:{rows:{type:Array,default:()=>[]},filterKeywords:{type:String,default:""},viewHeightMax:{type:Number,default:400},itemMinHeight:{type:Number,default:24},itemsPreload:{type:Number,default:5},loadingText:{type:String,default:"Loading..."},noResultsText:{type:String,default:"No results"},searchingText:{type:String,default:"Searching..."},statePaddingStyle:{type:Object,default:()=>({v:12,h:12})},show:{type:Boolean,default:!0}},data:function(){return{pmtRefresh:D(),dbcRefresh:(0,Z.A)(),mmkey:(0,m.A)(),changeHeight:!0,changeDisplay:!1,changeFilter:!1,lockFromSetRows:!1,lockFromProcess:!1,lockFromRefreshUseItems:!1,disableLoadingText:!1,searchingResults:-1,scrollTop:0,scrollInfor:null,lockedAnchorIdx:null,filterKeywordsTemp:"",rowsTemp:null,itemsHeight:0,itemsHeightPre:0,itemsHeightAft:0,useItems:[],emItemsTemp:[]}},mounted:function(){let e=this;e.refresh("mounted")},beforeDestroy:function(){let e=this;null!==e.mmkey&&oe.remove(e.mmkey),e.rowsTemp=null},watch:{rows:{immediate:!0,deep:!0,handler(e){let t=this;t.setRows(e)}}},computed:{changeFilterKeyWords:function(){let e=this,t=e.filterKeywords;return e.filterDebounce(),t},useStatePadding:function(){let e=this,t=(0,ne.A)(e.statePaddingStyle,{ext:{}}),n=`padding:${t};`;return n}},methods:{getRows:function(){let e=this,t=oe.get(e.mmkey);return t},setRowsCore:function(e){let t=this;if(t.lockFromProcess){t.rowsTemp=e;let n="deferred";return n}if(!(0,b.A)(e)){t.rowsTemp=null;let e="rows is not array";return e}t.rowsTemp=null,null!==t.mmkey&&oe.remove(t.mmkey);let n=(0,l.A)(e,(e,n)=>({index:n,height:t.itemMinHeight,displayShow:!0,filterShow:!0,y:n*t.itemMinHeight,row:e}));oe.set(t.mmkey,n),t.changeDisplay=!0,t.lockedAnchorIdx=null},setRows:async function(e){let t=this;async function n(){t.lockFromSetRows=!0,t.disableLoadingText=(0,f.A)(e)<=1e4,t.setRowsCore(e),await t.refreshCore("setRows")}await n().catch(e=>{console.log(e)}).finally(()=>{t.lockFromSetRows=!1,t.disableLoadingText=!1})},genUseItems:function(){let e=this;if(null===e.mmkey)return;let t=oe.get(e.mmkey),n=(0,f.A)(t),r=[],o=!1,i=!1;if(n>0){let i=ee(t,n=>{let r=t[n],o=e.scrollInfor.t-(r.y+r.height);return o});null===i&&(i=0);let a=Math.max(i-1,0);null!==e.lockedAnchorIdx&&(a=Math.min(Math.max(e.lockedAnchorIdx,0),n-1));let l=ee(t,n=>{let r=t[n],o=e.scrollInfor.b-r.y;return o});null===l&&(l=n-1);let s=Math.min(l+e.itemsPreload,n-1),u=0;for(let e=0;e<a;e++){let n=t[e];n.displayShow&&n.filterShow&&(u+=n.height)}let c=0;for(let e=s+1;e<=n-1;e++){let n=t[e];n.displayShow&&n.filterShow&&(c+=n.height)}for(let n=a;n<=s;n++){let o=(0,h.A)(t[n]);o.displayShow&&o.filterShow&&(o.nowShow=!0,o.top=o.y-e.scrollInfor.t,r.push(o))}e.itemsHeightPre!==u&&(o=!0,e.itemsHeightPre=u),e.itemsHeightAft!==c&&(o=!0,e.itemsHeightAft=c)}(0,d.A)(e.useItems,r)||(i=!0,e.useItems=r);let a=o||i;if(e.$refs.wdsDiv){let t=(0,l.A)(r,"row"),n=(0,l.A)(r,"row.item");a&&e.$emit("render",{eles:e.$refs.wdsDiv,rows:t,items:n}),(0,d.A)(e.emItemsTemp,n)||(e.$emit("change-view-items",{eles:e.$refs.wdsDiv,rows:t,items:n}),e.emItemsTemp=n)}return{change:a}},syncItemsHeight:function(e,t){let n=this,r=!1;if(0===(0,f.A)(e))return r;let o=(0,i.A)(n,"$refs.wdsDiv",[]);return(0,a.A)(o,(n,o)=>{if(!n.getAttribute)return console.log("找不到getAttribute"),!0;let a=n.getAttribute("index");if(!(0,k.A)(a))return console.log("!isp0int(index)",a),!0;a=(0,g.A)(a);let l=(0,i.A)(n,"children.0");if(!(0,I.A)(l))return console.log("!isEle(cnode)",l),!0;let s=l.offsetHeight;e[a].height!==s&&((0,x.A)(t)&&t(a,s),r=!0)}),r},updateItemsHeight:function(){let e=this;if(null===e.mmkey)return!1;let t=oe.get(e.mmkey),n=(0,f.A)(t);e.changeHeight=e.syncItemsHeight(t,(e,n)=>{t[e].height=n}),e.show||(e.changeHeight=!1);let r=null,o=e.changeHeight||e.changeDisplay||e.changeFilter;if(o){let o=0;for(let e=0;e<n;e++){let n=t[e];n.y!==o&&(t[e].y=o),n.displayShow&&n.filterShow&&(o+=n.height)}r=e.itemsHeight,r!==o&&(r=o),0===r&&(r=43),e.changeHeight=!1,e.changeDisplay=!1,e.changeFilter=!1}return{change:o,itemsHeight:r}},refreshCore:async function(e){let t=this;if(null===t.mmkey)return;if(!t.show)return;null===t.scrollInfor&&(t.scrollInfor={r:0,t:0,b:t.viewHeightMax,ch:t.itemsHeight});let n=async()=>{t.filterItems();let e=t.genUseItems();await(0,v.A)(20);let n=t.updateItemsHeight(),r={genUseItems:e,updateItemsHeight:n};return r},r=async()=>{t.lockFromRefreshUseItems=!0;let e=(0,h.A)(t.scrollInfor),r=await n(),o=(0,i.A)(r,"genUseItems.change",!1)||(0,i.A)(r,"updateItemsHeight.change",!1),a=(0,i.A)(r,"updateItemsHeight.itemsHeight",null);if((0,u.A)(a))if(a<=t.viewHeightMax)t.scrollTop>0&&(t.scrollTop=0);else{let n=0;"up"===e.dir&&(n=a-e.ch);let r=t.scrollTop+n;t.scrollTop!==r&&(t.scrollTop=r),t.itemsHeight=a,t.$emit("change-height-of-items",{height:a})}o&&(t.lockFromRefreshUseItems=!1,t.triggerEvent("mutation",{from:"wdl-refreshCore"}))};await r().catch(e=>{console.log(e)}).finally(()=>{t.lockFromRefreshUseItems=!1})},refresh:function(e){let t=this;t.pmtRefresh(t.refreshCore,e).catch(()=>{})},filterDebounce:function(){let e=this;e.dbcRefresh(()=>{e.refreshCore("filterDebounce")})},changeInfor:function(e){let t=this;null!==t.mmkey&&(t.lockFromProcess||t.lockFromSetRows||t.lockFromRefreshUseItems||t.dbcRefresh(()=>{t.scrollInfor=e;let n=(0,i.A)(e,"evMsg.from","");if("scroll"===e.evName&&"bar"===n){let e=oe.get(t.mmkey);if((0,y.A)(e)){let n=ee(e,n=>{let r=e[n],o=t.scrollInfor.t-(r.y+r.height);return o});null===n&&(n=0),t.lockedAnchorIdx=Math.max(n,0)}}else"wdl-refreshCore"===n||(t.lockedAnchorIdx=null);t.refresh("changeInfor")}))},processItems:async function(e={}){let t=this;async function n(){if(null===t.mmkey)return;t.lockFromProcess=!0;let n=oe.get(t.mmkey);if(!(0,b.A)(n))return;let r=(0,i.A)(e,"fun",null);if((0,x.A)(r)){let e=r(n);(0,T.A)(e)&&(e=await e),t.changeDisplay=!0,t.changeFilter=!0}let o=(0,i.A)(e,"indStart",null),a=(0,i.A)(e,"indEnd",null);if((0,_.A)(o)&&(0,_.A)(a)){let r=(0,i.A)(e,"displayShow",null);if((0,S.A)(r)){for(let e=o;e<=a;e++){let t=(0,i.A)(n,e,null);t&&(n[e].displayShow=r)}t.changeDisplay=!0}let l=(0,i.A)(e,"filterShow",null);if((0,S.A)(l)){for(let e=o;e<=a;e++){let t=(0,i.A)(n,e,null);t&&(n[e].filterShow=l)}t.changeFilter=!0}}await t.refreshCore("processItems"),t.lockFromProcess=!1,t.triggerEvent("mutation",{from:"wdl-processItems"})}await n().catch(e=>{console.log(e)}).finally(()=>{if(t.lockFromProcess=!1,(0,b.A)(t.rowsTemp)){let e=t.rowsTemp;t.rowsTemp=null,t.setRows(e)}})},setSearchingResults:function(e){this.searchingResults=e},filterItems:function(){let e=this;if(null===e.mmkey)return;if(e.filterKeywordsTemp===e.filterKeywords)return;e.filterKeywordsTemp=e.filterKeywords;let t=oe.get(e.mmkey),n=(0,f.A)(t);if(e.searchingResults=-1,0===(0,f.A)(e.filterKeywords)){for(let e=0;e<n;e++)t[e].filterShow=!0;e.searchingResults=1}else{let n=e.filterKeywords.toLowerCase(),r=(0,l.A)(t,e=>{let t=e.row,n="";return n=(0,A.A)(t)?t:(0,w.A)(t)?(0,p.A)(t):(0,C.A)(t)?(0,s.A)((0,c.A)(t)," "):L(t),n=n.toLowerCase(),n}),o=R(r,n),i=0;(0,a.A)(t,(e,n)=>{let r=o[n];t[n].filterShow=r.hasKeyword,r.hasKeyword&&i++}),e.searchingResults=i}e.changeFilter=!0},triggerEvent:function(e,t){let n=this,r=(0,i.A)(n,"$refs.wpsc.triggerEvent",null);r&&r(e,t)}}},ae=ie,le=n(1656),se=(0,le.A)(ae,r,o,!1,null,"030636bd",null),ue=se.exports},666:function(e,t,n){"use strict";n.d(t,{A:function(){return J}});var r=function(){var e=this,t=e._self._c;return t(e.cmpName,{ref:"$self",tag:"component",attrs:{options:e.options,autoresize:""}})},o=[],i=n(7500),a=n(6702),l=n(2942),s=n(5021),u=n(8842),c=n(7688),d=n(8593);function f(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:(0,d.A)(t),(0,c.A)(e,t<0?0:t,r)):[]}var p=f,h=n(6036),g=n(6956),m=n(1714),v=n(106);function b(e,t){let n=(0,l.A)();if(!(0,g.A)(e)&&!(0,m.A)(e))return n.reject("rs is not an array or object"),n;let r=!1;if((0,m.A)(e)){r=!0;let t=[];(0,h.A)(e,(e,n)=>{t.push({k:n,v:e})}),e=t}(0,v.A)(t)||(t=function(e){return e});let o=-1,i=[];return e.reduce(function(e,n){return e.then(function(e){i.push(e),o+=1;let a=o,l=n;return r&&(a=n.k,l=n.v),(0,v.A)(t)?t(l,a):l})},Promise.resolve()).then(function(e){i.push(e),i=p(i),n.resolve(i)}).catch(function(e){n.reject(e)}),n}var y=b,A=n(7417),w=n(545),C=n(6024),x=n(4722),_=n(4554),k=n(9860),S=n(6035),I=n(6262),T=n(3360);let H={},P={};function B({tagName:e,path:t,attributes:n={},func:r}){let o=(0,l.A)();if("done"===H[t])return o.resolve("loaded"),o;if("loading"===H[t])return(0,S.A)(()=>"done"===H[t]).then(function(){o.resolve("loaded")}),o;H[t]="loading";let i=document.createElement(e);(0,h.A)(n,(e,t)=>{i.setAttribute(t,e)}),n.rel&&"stylesheet"===n.rel?(i.setAttribute("href",t),setTimeout(()=>{o.resolve(i),H[t]="done"},1)):(i.src=t,i.addEventListener("load",()=>{let e;(0,v.A)(r)?e=(0,S.A)(r):(e=(0,l.A)(),e.resolve()),e.then(()=>(0,T.A)(500)).then(function(){o.resolve(i),H[t]="done"})}),i.addEventListener("error",()=>{o.reject(i),H[t]="done"}));let a=document.getElementsByTagName("head")[0];return a.appendChild(i),o}function $(e){let t=(0,l.A)();(0,g.A)(e)||(e=[e]),(0,h.A)(e,(t,n)=>{(0,k.A)(t)&&(e[n]={path:t})});let n=(0,_.A)((0,x.A)(e,"path"),"|");return"done"===P[n]?(t.resolve("loaded"),t):"loading"===P[n]?((0,S.A)(()=>"done"===P[n]).then(function(){t.resolve("loaded")}),t):(P[n]="loading",(0,h.A)(e,(e,t)=>{e.type||(".js"===(0,I.A)(e.path,3)?e.type="js":".css"===(0,I.A)(e.path,4)?e.type="css":e.type="unknow")}),y(e,e=>{let t=(0,l.A)();if("js"===e.type)t=B({tagName:"script",path:e.path,attributes:{type:"text/javascript"},func:e.func});else if("css"===e.type)t=B({tagName:"link",path:e.path,attributes:{rel:"stylesheet"}});else{let n="invalid pathItem.type: "+e.type;console.log(n),t.reject(n)}return t}).finally(()=>{P[n]="done"}))}var j=$;let O={},R=async(e,t={})=>{if((0,a.A)(O,e)){let t=await O[e];return t}let n=(0,i.A)(t,"useCache");(0,u.A)(n)||(n=!1);let r=(0,l.A)();O[e]=r;let o={cache:n?"force-cache":"reload"},s=await fetch(e,o);if(!s.ok)throw new Error(`can not get res from url[${e}]`);let c=await s.json();return r.resolve(c),c},W={},E=async(e,t="")=>{let n=`${e}|${t}`;if((0,a.A)(W,n)){let e=await W[n];return e}let r=(0,l.A)();W[n]=r;let o=`https://raw.githubusercontent.com/yuda-lyu/${e}/refs/heads/master/package.json`,u=`https://cdn.jsdelivr.net/npm/${e}@{version}/dist/{fn}`,c=await R(o),d=(0,i.A)(c,"version");if(!(0,s.A)(d))throw new Error("找不到 version");let f=`${e}.umd.js`;(0,s.A)(t)&&(f=t);let p=u;return p=(0,A.A)(p,"{version}",d),p=(0,A.A)(p,"{fn}",f),r.resolve(p),p},L=async e=>{let t=await y(e,async e=>{let t="",n="",r=e.indexOf("base:")>=0,o=e.indexOf("file:")>=0,a=(0,w.A)(e,"|"),l=(0,i.A)(a,0,""),u=(0,i.A)(a,1,"");if(r&&o&&(t=(0,C.A)(l,5),n=(0,C.A)(u,5)),r&&!o&&(t=(0,C.A)(e,5)),!r&&!o)return e;let c=e;if((0,s.A)(t)&&!(0,s.A)(n))c=await E(t);else{if(!(0,s.A)(t)||!(0,s.A)(n))throw console.log("url",c),new Error("invalid url");c=await E(t,n)}return c}),n=await j(t);return n};var Z=L,X=n(5471),F=n(1388);function V(){X.Ay&&!window.Vue&&(window.Vue=X.Ay)}function N(){let e=(0,F.A)(),t=X.Ay||e.Vue;return t}V();var z=N,M=n(9602),D={components:{WIconLoading:M.A},props:{pathItems:{type:Array,default:()=>["https://cdn.jsdelivr.net/npm/echarts@5.6.0/dist/echarts.min.js","https://cdn.jsdelivr.net/npm/echarts@5.6.0/i18n/langEN.js","https://cdn.jsdelivr.net/npm/echarts-gl@2.0.9/dist/echarts-gl.min.js","https://cdn.jsdelivr.net/npm/vue-echarts@4.1.0/dist/vue-echarts.min.js"]},options:{type:Object,default:()=>{}}},data:function(){return{cmpName:"WIconLoading"}},mounted:function(){let e=this;Z(e.pathItems).then(t=>{if("loaded"!==t){let e=window["VueECharts"];e.default&&(e=e.default),z().component("v-chart",e)}e.cmpName="v-chart"})},computed:{},methods:{}},G=D,U=n(1656),K=(0,U.A)(G,r,o,!1,null,"e908d4bc",null),J=K.exports},293:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=function(){var e=this,t=e._self._c;return e.icon?t("div",{style:[e.useStyleSize,{display:"flex","align-items":"center","user-select":"none",border:"0px solid #ddd"}],on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t=>{e.$emit("click",t)}).apply(null,arguments)},click:t=>{e.$emit("click",t)}}},[e.isSvg?t("svg",{style:`transition:all ${e.timeTransition}s linear; fill:${e.useIconColor};`,attrs:{width:e.size,height:e.size,viewBox:`0 0 ${e.sizeOriginal} ${e.sizeOriginal}`},on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1}}},e._l(e.usePaths,function(n,r){return t("path",{key:r,attrs:{d:e.icon}})}),0):e._e(),e.isMdi?t("div",{style:`transition:all ${e.timeTransition}s linear; width:${e.size}px; height:${e.size}px; color:${e.useIconColor}; display:flex; align-items:center; justify-content:center;`,on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1}}},[t("span",{class:`mdi ${e.icon}`,style:`font-size:${e.size}px;`})]):e._e(),e.isFa?t("div",{style:`transition:all ${e.timeTransition}s linear; width:${e.size}px; height:${e.size}px; color:${e.useIconColor}; display:flex; align-items:center; justify-content:center;`,on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1}}},[t("div",{style:`width:${e.size}px; height:${e.size}px; _transform-origin:center; transform:translateX(0px) translateY(0px) scale(${e.r});`},[t("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[t("i",{class:`fas ${e.icon}`,style:`font-size:${e.size}px;`})])])]):e._e()]):e._e()},o=[],i=n(3294),a=n(1969),l=n(5021),s={components:{},props:{icon:{type:[String,Array],default:""},color:{type:String,default:"grey darken-1"},colorHover:{type:String,default:"grey darken-3"},sizeOriginal:{type:Number,default:24},size:{type:Number,default:24},timeTransition:{type:Number,default:.15}},data:function(){return{mouseEnter:!1,r:.83,paths:[]}},computed:{hasIcon:function(){let e=this;return(0,l.A)(e.icon)},isMdi:function(){let e=this;return!!e.hasIcon&&e.icon.indexOf("mdi-")>=0},isFa:function(){let e=this;return!!e.hasIcon&&e.icon.indexOf(" fa-")>=0},isSvg:function(){let e=this;if(e.isMdi||e.isFa)return!1;let t=(0,l.A)(e.icon),n=(0,a.A)(e.icon),r=t||n;return r},usePaths:function(){let e=this;if(!e.isSvg)return[];let t=e.icon;return(0,l.A)(e.icon)&&(t=[e.icon]),t},useIconColor:function(){let e=this;return e.mouseEnter?(0,i.A)(e.colorHover):(0,i.A)(e.color)},useStyleSize:function(){let e=this,t={width:`${e.size}px`,height:`${e.size}px`,"line-height":`${e.size}px`,"max-height":`${e.size}px`,"min-height":`${e.size}px`};return t}},methods:{}},u=s,c=n(1656),d=(0,c.A)(u,r,o,!1,null,"4e989b46",null),f=d.exports},9602:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("div",{style:`display:inline-block; vertical-align:middle; outline:none; user-select:none; height:${e.size}px; width:${e.size}px;`,attrs:{cmp:"loading",loadtype:e.name}},["cir-wave"===e.name?[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",width:e.size,height:e.size}},[t("circle",{attrs:{cx:"50",cy:"50",r:"14.6699",fill:"none",stroke:"#420457","stroke-width":"10"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;40",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"-0.5s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"-0.5s"}})]),t("circle",{attrs:{cx:"50",cy:"50",r:"33.9915",fill:"none",stroke:"#5a3faa","stroke-width":"10"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;40",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline"}})])])]:"cir-rotate"===e.name?[t("div",{style:`position:relative; display:inline-flex; align-items:center; justify-content:center; height:${e.size}px; width:${e.size}px;`},[t("svg",{staticClass:"pgc-rotate",staticStyle:{transform:"rotate(0deg)"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"21.904761904761905 21.904761904761905 43.80952380952381 43.80952380952381"}},[t("circle",{staticClass:"pgc-dash",attrs:{fill:"transparent",cx:"43.80952380952381",cy:"43.80952380952381",r:"20","stroke-width":"4","stroke-dasharray":"100","stroke-dashoffset":"50px",stroke:e.effColor}})])])]:e._e()],2)},o=[],i=n(3294),a={components:{},props:{name:{type:String,default:"cir-wave"},size:{type:Number,default:48},color:{type:String,default:"#666"}},data:function(){return{}},computed:{effColor:function(){let e=this;return(0,i.A)(e.color)}},methods:{}},l=a,s=n(1656),u=(0,s.A)(l,r,o,!1,null,"5b4e8bee",null),c=u.exports},6850:function(e,t,n){"use strict";n.d(t,{A:function(){return T}});var r=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],style:"box-sizing:content-box;",attrs:{changeScrollTop:e.changeScrollTop},on:{domresize:e.resizePanel,mouseenter:function(t){e.mouseEntering=!0},mouseleave:function(t){e.mouseEntering=!1}}},[t("div",{staticStyle:{position:"relative",width:"0px",height:"0px",opacity:"0"}},[t("div",{staticStyle:{position:"absolute",left:"0",top:"0"}},[t("div",{ref:"divDetect",staticStyle:{width:"50px",height:"50px",overflow:"scroll"}},[t("div",{staticStyle:{width:"100px",height:"100px"}})])])]),t("div",{style:"position:relative; width:100%; overflow-x:hidden;"},[t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],ref:"divShell",style:`\n position:relative;\n width:calc( 100% + ${e.nativeBarWidth+1}px ); height:${e.panelHeight}px;\n box-sizing:content-box;\n overflow-x:hidden; overflow-y:scroll;\n `,on:{domresize:e.resizeShell,scroll:e.scrollShell}},[t("div",{directives:[{name:"dommutation",rawName:"v-dommutation"},{name:"domvisible",rawName:"v-domvisible"}],ref:"divContent",style:"",on:{dommutation:e.mutation,domvisible:e.visible}},[e._t("default")],2)]),t("div",{style:`\n position:absolute; top:0px; right:${e.isMobile?-8:0}px;\n width:${e.contentHeightEff>0?8:0}px;\n overflow-x:hidden;\n `},[t("div",{ref:"divBar",staticClass:"sb",style:`\n width:8px; height:${e.panelHeight}px;\n box-sizing:content-box;\n overflow-x:hidden; overflow-y:auto;\n opacity:${e.mouseEntering?e.barOpacityHover:e.barOpacity};\n `,on:{scroll:e.scrollBar}},[t("div",{style:`width:1px; height:${e.contentHeight}px;`})])])])])},o=[],i=n(7500),a=n(6996),l=n(6035),s=n(9526),u=n(889),c=n(7979),d=n(7120),f=n(106),p=n(8332),h=n(2942),g=n(6246);function m(){try{return"IntersectionObserver"in window}catch(e){return!1}}function v(){try{return"IntersectionObserverEntry"in window}catch(e){return!1}}function b(){function e(){try{return"intersectionRatio"in window.IntersectionObserverEntry.prototype}catch(e){return!1}}function t(){return(0,f.A)(window.IntersectionObserverEntry)}return e()||t()}function y(){return!m()||!v()||!b()}function A(e,t={}){if(!(0,p.A)(e))return Promise.reject("invalid element");if(y())return Promise.reject("invalid IntersectionObserver");let n=(0,i.A)(t,"mode","");"promise"!==n&&"event"!==n&&(n="promise");let r=()=>{let t=(0,h.A)();try{let n=new IntersectionObserver(e=>{t.resolve(e[0].isIntersecting),n.disconnect()});n.observe(e)}catch(n){t.reject(n)}return t},o=()=>{let t=(0,g.A)(),n=!1,r=null,o=!1,i=new IntersectionObserver(e=>{if(o)return;let n=e[0].isIntersecting;t.emit("visible",n)}),a=e=>{let t=!1;if(!(0,p.A)(e))return t;try{i.observe(e),t=!0}catch(n){}return t},l=()=>{r=setInterval(()=>{o?clearInterval(r):(n=a(e),n&&clearInterval(r))},50)},s=()=>{let e=!1;try{clearInterval(r),i.disconnect(),o=!0,e=!0}catch(t){}return e};return t.create=l,t.dispose=s,t},a=null;return"promise"===n?a=r():"event"===n&&(a=o()),a}var w=A;function C(){let e={};function t(e,t,n){let r=e.data&&e.data.on||e.componentOptions&&e.componentOptions.listeners;r&&r[t]&&r[t].fns(n)}function n(n,r,o){let i=`r${(0,d.A)()}`;n.setAttribute("ev-visible",i);let a=!1,l=setInterval(()=>{w(n).then(e=>{a!==e&&(a=e,t(o,"domvisible",e))}).catch(()=>{})},50);e[i]=l}function r(t){let n=t.getAttribute("ev-visible");t.setAttribute("ev-visible",null),e[n]&&(clearInterval(e[n]),e[n]=null,delete e[n])}return{bind:n,unbind:r}}var x=C,_={directives:{domresize:(0,u.A)(),dommutation:(0,c.A)(),domvisible:x()},components:{},props:{viewHeightMax:{type:Number,default:400},scrollTop:{type:Number,default:0},barOpacity:{type:Number,default:.6},barOpacityHover:{type:Number,default:1}},data:function(){return{dbc:(0,s.A)(),nativeBarWidth:16,useEmitEvent:!0,mouseEntering:!1,mouseLoc:"",viewHeight:0,contentHeight:2,ratio:0,scrollInfor:null}},computed:{changeScrollTop:function(){let e=this;return e.updateScrollTop(e.scrollTop),""},panelHeight:function(){let e=this;return Math.min(e.contentHeight,e.viewHeightMax)},isMobile:function(){let e=this;return e.nativeBarWidth<=0},contentHeightEff:function(){let e=this;return Math.max(e.contentHeight-e.panelHeight,0)},viewTop:function(){let e=this;return e.ratio*e.contentHeightEff},viewBottom:function(){let e=this;return e.viewTop+e.viewHeightMax}},methods:{resizePanel:function(e){let t=this,n=(0,i.A)(t,"$refs.divDetect");if(n){let e=n.offsetWidth-n.clientWidth;t.nativeBarWidth!==e&&(t.nativeBarWidth=e)}t.viewHeight!==e.snew.offsetHeight&&(t.viewHeight=e.snew.offsetHeight);let r=(0,i.A)(t,"$refs.divShell");r&&t.$emit("update:scrollTop",r.scrollTop),t.triggerEvent("resize",{...e,from:"panel"})},resizeShell:function(e){let t=this,n=(0,i.A)(t,"$refs.divContent");n&&0!==n.offsetHeight&&t.contentHeight!==n.offsetHeight&&(t.contentHeight=n.offsetHeight);let r=(0,i.A)(t,"$refs.divShell");r&&t.$emit("update:scrollTop",r.scrollTop),t.triggerEvent("resize",{...e,from:"shell"})},mutation:function(e){let t=this,n=(0,i.A)(t,"$refs.divContent");n&&0!==n.offsetHeight&&t.contentHeight!==n.offsetHeight&&(t.contentHeight=n.offsetHeight),t.updateRatio(),t.triggerEvent("mutation",{...e,from:"content"})},visible:function(e){let t=this,n=(0,i.A)(t,"$refs.divContent");n&&0!==n.offsetHeight&&t.contentHeight!==n.offsetHeight&&(t.contentHeight=n.offsetHeight),t.updateRatio(),t.triggerEvent("visible",{visible:e,from:"content"})},updateRatio:function(){let e=this;if(!e.$refs.divShell)return;let t=0;e.contentHeightEff>0&&(t=e.$refs.divShell.scrollTop/e.contentHeightEff),e.ratio=t},updateScrollTop:function(e){let t=this;async function n(){await(0,l.A)(()=>void 0!==t.$refs.divShell&&void 0!==t.$refs.divBar,{timeInterval:20}),t.$refs.divShell&&(t.$refs.divShell.scrollTop=e),t.$refs.divBar&&(t.$refs.divBar.scrollTop=e)}n().catch(e=>{console.log(e)})},updateScrollInfor:function(){let e=this;if(!e.$refs.divShell)return;let t={r:e.ratio,sti:e.scrollTop,stn:e.$refs.divShell.scrollTop,dir:e.scrollTop>e.$refs.divShell.scrollTop?"up":"down",t:e.viewTop,b:e.viewBottom,ch:e.contentHeight,che:e.contentHeightEff};(0,a.A)(e.scrollInfor,t)||(e.scrollInfor=t)},scrollShell:function(e){let t=this;if(""===t.mouseLoc&&(t.mouseLoc="enter shell"),"enter shell"!==t.mouseLoc)return;let n=(0,i.A)(t,"$refs.divShell");if(!n)return;let r=(0,i.A)(t,"$refs.divBar");r&&(t.$refs.divBar.scrollTop=t.$refs.divShell.scrollTop,t.$emit("update:scrollTop",t.$refs.divShell.scrollTop),t.updateRatio(),t.triggerEvent("scroll",{ev:e,from:"shell"}),t.dbc(()=>{t.mouseLoc=""}))},scrollBar:function(e){let t=this;if(""===t.mouseLoc&&(t.mouseLoc="enter bar"),"enter bar"!==t.mouseLoc)return;let n=(0,i.A)(t,"$refs.divShell");if(!n)return;let r=(0,i.A)(t,"$refs.divBar");r&&(t.$refs.divShell.scrollTop=t.$refs.divBar.scrollTop,t.$emit("update:scrollTop",t.$refs.divShell.scrollTop),t.updateRatio(),t.triggerEvent("scroll",{ev:e,from:"bar"}),t.dbc(()=>{t.mouseLoc=""}))},triggerEvent:function(e,t){let n=this;n.useEmitEvent&&(n.$emit(e,t),n.updateScrollInfor(),n.$emit("change-infor",{evName:e,evMsg:t,...n.scrollInfor}))}}},k=_,S=n(1656),I=(0,S.A)(k,r,o,!1,null,"84274e1c",null),T=I.exports},5480:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=function(){var e=this,t=e._self._c;return t("WTooltip",e._g(e._b({scopedSlots:e._u([{key:"trigger",fn:function(){return[e._t("trigger")]},proxy:!0},{key:"content",fn:function(t){return[e._t("content",null,{funHide:t.funHide})]}}],null,!0)},"WTooltip",{...e.$props,mode:"popup"},!1),e.$listeners))},o=[],i=n(9789),a={components:{WTooltip:i.A},props:{value:{type:Boolean,default:!1},displayType:{type:String,default:"block"},cmpZIndex:{type:Number,default:3e3},isolated:{type:Boolean,default:!1},minWidth:{type:Number,default:null},maxWidth:{type:Number,default:null},autoFitMinWidth:{type:Boolean,default:!1},autoFitMaxWidth:{type:Boolean,default:!1},placement:{type:String,default:"bottom-start"},placementDistX:{type:Number,default:0},placementDistY:{type:Number,default:5},borderRadius:{type:Number,default:4},textFontSize:{type:String,default:"inherit"},textColor:{type:String,default:"black"},backgroundColor:{type:String,default:"white"},paddingStyle:{type:Object,default:()=>({v:0,h:0})},modeHide:{type:String,default:"click"},shadow:{type:Boolean,default:!0},shadowStyle:{type:String,default:"0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12)"},transitionTime:{type:Number,default:200},labelContent:{type:String,default:null},editable:{type:Boolean,default:!0}},data:function(){return{}},mounted:function(){},computed:{},methods:{}},l=a,s=n(1656),u=(0,s.A)(l,r,o,!1,null,"5b32df3c",null),c=u.exports},6630:function(e,t,n){"use strict";n.d(t,{A:function(){return g}});var r=function(){var e=this,t=e._self._c;return t("div",{attrs:{changeContinuous:e.changeContinuous}},[e.hasTitle?t("div",{style:`color:${e.useTitleTextColor}; ${e.useTitleTextFontSize};`},[e._v(" "+e._s(e.title)+" ")]):e._e(),e.enableContinuous?e._e():t("div",{style:"display:flex; align-items:center;"},[t("div",{style:`${e.useBorderRadius} overflow:hidden; width:100%; height:${e.height}px;`},[t("div",{style:`background:${e.useProgBackgroundColor}; height:${e.height}px;`},[t("div",{style:`background:${e.useProgColor}; width:${e.useProg}%; height:${e.height}px;`})])]),t("div",{staticStyle:{"padding-left":"5px"}},[e.enableIconWaiting&&"waiting"===e.status||e.enableIconFinish&&"finish"===e.status?t("WIcon",{attrs:{icon:"waiting"===e.status?e.iconWaiting:e.iconFinish,color:"waiting"===e.status?e.useIconWaitingColor:e.useIconFinishColor,colorHover:"waiting"===e.status?e.useIconWaitingColor:e.useIconFinishColor,size:e.iconSize}}):t("div",{style:`color:${e.useValueTextColor}; ${e.useValueTextFontSize};`},[t("div",[e._v(e._s(e.useProg)+"%")])])],1)]),e.enableContinuous?t("div",{style:`${e.useBorderRadius} overflow:hidden; width:100%; height:${e.height}px;`},[t("div",{style:`position:relative; background:${e.useProgBackgroundColor}; height:${e.height}px;`},[t("div",{style:`position:absolute; transition:all ${e.continuousFirst?0:e.continuousPeriod}ms linear; left:${e.continuousShiftX}%; top:0px; background:${e.useProgColor}; width:${e.continuousWidth}%; height:${e.height}px;`})])]):e._e()])},o=[],i=n(9165),a=n(5021),l=n(125),s=n(7417),u=n(3294),c=n(293),d={components:{WIcon:c.A},props:{value:{type:Number,default:0},decimal:{type:Number,default:1},title:{type:String,default:""},titleTextColor:{type:String,default:"grey darken-2"},titleTextFontSize:{type:String,default:"0.85rem"},height:{type:Number,default:4},borderRadius:{type:Number,default:5},progColor:{type:String,default:"lime accent-4"},progBackgroundColor:{type:String,default:"light-green lighten-5"},iconSize:{type:Number,default:20},iconWaiting:{type:String,default:i.sQ3},iconFinish:{type:String,default:i.Tfj},iconWaitingColor:{type:String,default:"grey"},iconFinishColor:{type:String,default:"green"},enableIconWaiting:{type:Boolean,default:!0},enableIconFinish:{type:Boolean,default:!0},valueTextColor:{type:String,default:"grey darken-2"},valueTextFontSize:{type:String,default:"0.85rem"},enableContinuous:{type:Boolean,default:!1},continuousIncrease:{type:Number,default:12},continuousPeriod:{type:Number,default:100}},data:function(){return{mdiCheck:i.Tfj,mdiOrbitVariant:i.sQ3,timer:null,continuousFirst:!0,continuousRatio:0,continuousShiftX:0,continuousWidth:0}},beforeDestroy:function(){let e=this;null!==e.timer&&(clearInterval(e.timer),e.timer=null)},computed:{changeContinuous:function(){let e=this;return e.enableContinuous?e.runContinuous():e.destroyContinuous(),""},hasTitle:function(){let e=this,t=(0,a.A)(e.title);return t},status:function(){let e=this;return e.value<=0?"waiting":e.value>=100?"finish":"running"},useProg:function(){let e=this,t=e.value;return t=Math.max(t,0),t=Math.min(t,100),t=e.digValue(t),t},useTitleTextFontSize:function(){let e=this,t=e.titleTextFontSize;return t=(0,s.A)(t,";",""),`font-size:${t};`},useBorderRadius:function(){let e=this;return`border-radius:${e.borderRadius}px;`},useProgColor:function(){let e=this;return(0,u.A)(e.progColor)},useProgBackgroundColor:function(){let e=this;return(0,u.A)(e.progBackgroundColor)},useTitleTextColor:function(){let e=this;return(0,u.A)(e.titleTextColor)},useIconWaitingColor:function(){let e=this;return(0,u.A)(e.iconWaitingColor)},useIconFinishColor:function(){let e=this;return(0,u.A)(e.iconFinishColor)},useValueTextColor:function(){let e=this;return(0,u.A)(e.valueTextColor)},useValueTextFontSize:function(){let e=this,t=e.valueTextFontSize;return t=(0,s.A)(t,";",""),`font-size:${t};`}},methods:{digValue:function(e){let t=this;return(0,l.A)(e,t.decimal)},runContinuous:function(){let e=this,t=e=>{e/=100;let t=e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2;return t=Math.max(Math.min(t,1),0),t*=100,t},n=e=>{e-=50,e*=2,e/=100,e=Math.max(Math.min(e,1),-1);let t=1,n=2,r=t*Math.exp(-n*e**2);r=Math.max(Math.min(r,1),0);let o=.1353352832366127;return r-=o,r*=1.1565176427496657,r*=100,r};null===e.timer&&(e.timer=setInterval(()=>{e.continuousRatio+=e.continuousIncrease,e.continuousFirst=!1,e.continuousRatio>=100+e.continuousIncrease&&(e.continuousFirst=!0,e.continuousRatio=-e.continuousIncrease),e.continuousShiftX=t(e.continuousRatio),e.continuousWidth=n(e.continuousRatio)},e.continuousPeriod))},destroyContinuous:function(){let e=this;null!==e.timer&&(clearInterval(e.timer),e.timer=null)}}},f=d,p=n(1656),h=(0,p.A)(f,r,o,!1,null,"70cde27f",null),g=h.exports},2694:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=function(){var e=this,t=e._self._c;return t("div",{attrs:{changeParam:e.changeParam}},[t("div",{style:[{transition:"all 0.3s",display:"flex","justify-content":"flex-start","border-radius":e.borderRadius+"px",opacity:e.editable?1:.6},e.usePadding,e.useBackgroundColor,e.useBorder,e.useShadow,e.useVerticalAlign],on:{mouseenter:e.mouseenter,mouseleave:e.mouseleave}},[e.leftIcon?t("div",{style:`margin-left:${e.iconShiftOuter}px; margin-right:${e.iconShiftInner}px; user-select:none; cursor:pointer; outline:none;`,attrs:{tabindex:"0"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.clickIcon("left")},click:function(t){return e.clickIcon("left")}}},[t("WTooltip",{attrs:{displayType:"line",isolated:!0,borderRadius:e.tooltipBorderRadius,paddingStyle:e.tooltipPaddingStyle,textFontSize:e.tooltipTextFontSize,textColor:e.tooltipTextColor,backgroundColor:e.tooltipBackgroundColor,editable:e.hasLeftIconTooltop},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("div",{attrs:{ShellEllipse:"leftIcon"}},[t("WIcon",{attrs:{icon:e.leftIcon,size:e.leftIconSize,color:e.useLeftIconColor,colorHover:e.useLeftIconColor}})],1)]},proxy:!0},{key:"content",fn:function(){return[e._v(" "+e._s(e.leftIconTooltip)+" ")]},proxy:!0}],null,!1,4026576343)})],1):e._e(),t("div",{style:[{width:"100%"}]},[e._t("default")],2),e.rightIcon?t("div",{style:`margin-right:${e.iconShiftOuter}px; margin-left:${e.iconShiftInner}px; user-select:none; cursor:pointer; outline:none;`,attrs:{tabindex:"0"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.clickIcon("right")},click:function(t){return e.clickIcon("right")}}},[t("WTooltip",{attrs:{displayType:"line",isolated:!0,borderRadius:e.tooltipBorderRadius,paddingStyle:e.tooltipPaddingStyle,textFontSize:e.tooltipTextFontSize,textColor:e.tooltipTextColor,backgroundColor:e.tooltipBackgroundColor,editable:e.hasRightIconTooltop},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("div",{attrs:{ShellEllipse:"rightIcon"}},[t("WIcon",{attrs:{icon:e.rightIcon,size:e.rightIconSize,color:e.useRightIconColor,colorHover:e.useRightIconColor}})],1)]},proxy:!0},{key:"content",fn:function(){return[e._v(" "+e._s(e.rightIconTooltip)+" ")]},proxy:!0}],null,!1,4152733303)})],1):e._e()])])},o=[],i=n(5021),a=n(3294),l=n(3665),s=n(293),u=n(9789),c={components:{WIcon:s.A,WTooltip:u.A},props:{paddingStyle:{type:Object,default:()=>({v:0,h:15})},backgroundColor:{type:String,default:"transparent"},backgroundColorHover:{type:String,default:"transparent"},backgroundColorFocus:{type:String,default:"transparent"},borderWidth:{type:Number,default:1},borderRadius:{type:Number,default:30},borderColor:{type:String,default:"transparent"},borderColorHover:{type:String,default:"transparent"},borderColorFocus:{type:String,default:"transparent"},shadow:{type:Boolean,default:!0},leftIcon:{type:String,default:""},leftIconSize:{type:Number,default:24},leftIconColor:{type:String,default:"deep-orange lighten-2"},leftIconColorHover:{type:String,default:"deep-orange lighten-1"},leftIconColorFocus:{type:String,default:"deep-orange lighten-1"},leftIconTooltip:{type:String,default:""},rightIcon:{type:String,default:""},rightIconSize:{type:Number,default:24},rightIconColor:{type:String,default:"deep-orange lighten-2"},rightIconColorHover:{type:String,default:"deep-orange lighten-2"},rightIconColorFocus:{type:String,default:"deep-orange lighten-1"},rightIconTooltip:{type:String,default:""},iconShiftOuter:{type:Number,default:-10},iconShiftInner:{type:Number,default:5},tooltipBorderRadius:{type:Number,default:4},tooltipPaddingStyle:{type:Object,default:()=>({v:5,h:8})},tooltipTextFontSize:{type:String,default:"0.85rem"},tooltipTextColor:{type:String,default:"white"},tooltipBackgroundColor:{type:String,default:"rgba(60,60,60,0.75)"},verticalAlign:{type:String,default:"center"},editable:{type:Boolean,default:!0},hovered:{type:Boolean,default:!1},focused:{type:Boolean,default:!1}},data:function(){return{hoveredTrans:!1,focusedTrans:!1}},computed:{changeParam:function(){let e=this;return e.hoveredTrans=e.hovered,e.focusedTrans=e.focused,""},useBackgroundColor:function(){let e=this,t={};return e.focusedTrans?(t["background-color"]=(0,a.A)(e.backgroundColorFocus),t):e.hoveredTrans?(t["background-color"]=(0,a.A)(e.backgroundColorHover),t):(t["background-color"]=(0,a.A)(e.backgroundColor),t)},useBorder:function(){let e=this,t={};return e.focusedTrans?(t["border"]=`${e.borderWidth}px solid ${(0,a.A)(e.borderColorFocus)}`,t):e.hoveredTrans?(t["border"]=`${e.borderWidth}px solid ${(0,a.A)(e.borderColorHover)}`,t):(t["border"]=`${e.borderWidth}px solid ${(0,a.A)(e.borderColor)}`,t)},useShadow:function(){let e=this,t={};return e.shadow&&(t["box-shadow"]="0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12)"),t},useLeftIconColor:function(){let e=this;return e.hoveredTrans?(0,a.A)(e.leftIconColorHover):e.focusedTrans?(0,a.A)(e.leftIconColorFocus):(0,a.A)(e.leftIconColor)},useRightIconColor:function(){let e=this;return e.hoveredTrans?(0,a.A)(e.rightIconColorHover):e.focusedTrans?(0,a.A)(e.rightIconColorFocus):(0,a.A)(e.rightIconColor)},useTitleColor:function(){let e=this,t={};return t["color"]=(0,a.A)(e.titleColor),t},usePadding:function(){let e=this,t=(0,l.A)(e.paddingStyle,{semicolon:!1}),n={padding:t};return n},hasLeftIconTooltop:function(){let e=this;return(0,i.A)(e.leftIconTooltip)},hasRightIconTooltop:function(){let e=this;return(0,i.A)(e.rightIconTooltip)},useVerticalAlign:function(){let e=this,t={};return"center"===e.verticalAlign?t["align-items"]="center":"top"===e.verticalAlign?t["align-items"]="flex-start":"bottom"===e.verticalAlign&&(t["align-items"]="flex-end"),t}},methods:{clickIcon:function(e){let t=this;!1!==t.editable&&t.$nextTick(()=>{t.$emit("click-"+e)})},mouseenter:function(){let e=this;e.hoveredTrans=!0,e.$nextTick(()=>{e.$emit("update:hovered",!0)})},mouseleave:function(){let e=this;e.hoveredTrans=!1,e.$nextTick(()=>{e.$emit("update:hovered",!1)})}}},d=c,f=n(1656),p=(0,f.A)(d,r,o,!1,null,"688b882c",null),h=p.exports},2002:function(e,t,n){"use strict";n.d(t,{A:function(){return $}});var r=function(){var e=this,t=e._self._c;return t("div",{attrs:{changeValue:e.changeValue}},["checkbox"===(e.password?"password":"text")?t("input",{directives:[{name:"model",rawName:"v-model",value:e.valueTrans,expression:"valueTrans"}],ref:"inp",style:`transition:all 0.3s; display:block; outline:none; width:100%; box-sizing:border-box; border-style:none; background:transparent; color:${e.useTextColor}; ${e.useHeight} text-align:${e.textAlign}; ${e.useTextFontSize} opacity:${""!==e.valueTrans||e.focused?1:.6};`,attrs:{readonly:!e.editable,placeholder:e.placeholder,type:"checkbox"},domProps:{checked:Array.isArray(e.valueTrans)?e._i(e.valueTrans,null)>-1:e.valueTrans},on:{input:t=>{e.updateValue(t),e.trigger("input",t),e.updateFocused(!0)},change:[function(t){var n=e.valueTrans,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=null,a=e._i(n,i);r.checked?a<0&&(e.valueTrans=n.concat([i])):a>-1&&(e.valueTrans=n.slice(0,a).concat(n.slice(a+1)))}else e.valueTrans=o},t=>{e.trigger("change",t)}],focus:function(t){return e.updateFocused(!0)},blur:t=>{e.trigger("blur",t),e.updateFocused(!1)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t=>{e.trigger("enter",t)}).apply(null,arguments)},select:t=>{e.trigger("select",t)}}}):"radio"===(e.password?"password":"text")?t("input",{directives:[{name:"model",rawName:"v-model",value:e.valueTrans,expression:"valueTrans"}],ref:"inp",style:`transition:all 0.3s; display:block; outline:none; width:100%; box-sizing:border-box; border-style:none; background:transparent; color:${e.useTextColor}; ${e.useHeight} text-align:${e.textAlign}; ${e.useTextFontSize} opacity:${""!==e.valueTrans||e.focused?1:.6};`,attrs:{readonly:!e.editable,placeholder:e.placeholder,type:"radio"},domProps:{checked:e._q(e.valueTrans,null)},on:{input:t=>{e.updateValue(t),e.trigger("input",t),e.updateFocused(!0)},change:[function(t){e.valueTrans=null},t=>{e.trigger("change",t)}],focus:function(t){return e.updateFocused(!0)},blur:t=>{e.trigger("blur",t),e.updateFocused(!1)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t=>{e.trigger("enter",t)}).apply(null,arguments)},select:t=>{e.trigger("select",t)}}}):t("input",{directives:[{name:"model",rawName:"v-model",value:e.valueTrans,expression:"valueTrans"}],ref:"inp",style:`transition:all 0.3s; display:block; outline:none; width:100%; box-sizing:border-box; border-style:none; background:transparent; color:${e.useTextColor}; ${e.useHeight} text-align:${e.textAlign}; ${e.useTextFontSize} opacity:${""!==e.valueTrans||e.focused?1:.6};`,attrs:{readonly:!e.editable,placeholder:e.placeholder,type:e.password?"password":"text"},domProps:{value:e.valueTrans},on:{input:[function(t){t.target.composing||(e.valueTrans=t.target.value)},t=>{e.updateValue(t),e.trigger("input",t),e.updateFocused(!0)}],change:t=>{e.trigger("change",t)},focus:function(t){return e.updateFocused(!0)},blur:t=>{e.trigger("blur",t),e.updateFocused(!1)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t=>{e.trigger("enter",t)}).apply(null,arguments)},select:t=>{e.trigger("select",t)}}})])},o=[],i=n(4958),a=n(5021),l=n(7500),s=n(8842),u=n(9860),c=n(6224);function d(e){if(!(0,i.A)(e))return!1;let t=(0,c.A)(e)>=0;return t}var f=d;function p(e){if(!(0,i.A)(e))return!1;let t=(0,c.A)(e)<=0;return t}var h=p,g=n(2982),m=n(5940),v=n(6670),b=n(1669);function y(e){if(!(0,g.A)(e))return!1;let t=(0,b.A)(e)<0;return t}var A=y;function w(e){if(!(0,g.A)(e))return!1;let t=(0,b.A)(e)<=0;return t}var C=w,x=n(106);function _(e,t,n={}){let r=!1,o="";if("isstr"===t)(0,u.A)(e)||(r=!0,o="需要為字串",e="");else if("isnum"===t)(0,i.A)(e)||(r=!0,o="需要為數字",e=0);else if("isp0num"===t)f(e)||(r=!0,o="需要為含0的正浮點數",e=0);else if("isn0num"===t)h(e)||(r=!0,o="需要為含0的負浮點數",e=0);else if("isint"===t)(0,g.A)(e)||(r=!0,o="需要為整數",e=0);else if("ispint"===t)(0,m.A)(e)||(r=!0,o="需要為不含0正整數",e=0);else if("isp0int"===t)(0,v.A)(e)||(r=!0,o="需要為含0正整數",e=0);else if("isnint"===t)A(e)||(r=!0,o="需要為不含0負整數",e=0);else if("isn0int"===t)C(e)||(r=!0,o="需要為含0負整數",e=0);else if("custom"===t){let t=(0,l.A)(n,"funCustom");if(!(0,x.A)(t))throw new Error("invalid opt.funCustom when type='custom'");let c=t(e);if(!(0,s.A)(c.err))throw new Error("invalid return.err for type='custom'");if(c.err&&!(0,a.A)(c.errmsg))throw new Error("invalid return.errmsg when return.err=true for type='custom'");if(!(0,i.A)(c.value)&!(0,u.A)(c.value))throw new Error("invalid return.value for type='custom'");r=c.err,o=c.errmsg,e=c.value}else if((0,x.A)(t)){let n=t;e=n(e)}else"any"===t?(0,i.A)(e)||(0,u.A)(e)||(r=!0,o="需要為字串或數字",e=""):(r=!0,o="需要指定驗證類型",e=null);let c={value:e,err:r,errmsg:o};return c}var k=_,S=n(7417),I=n(3294),T={props:{type:{type:String,default:"any"},funVerify:{type:Function,default:null},value:{type:[String,Number],default:""},textFontSize:{type:String,default:"1rem"},textColor:{type:String,default:"black"},textAlign:{type:String,default:"left"},placeholder:{type:String,default:""},height:{type:[Number,String],default:""},password:{type:Boolean,default:!1},editable:{type:Boolean,default:!0},focused:{type:Boolean,default:!1}},data:function(){return{valueTrans:"",errmsg:""}},mounted:function(){},computed:{changeValue:function(){let e=this;return e.valueTrans=e.value,""},useHeight:function(){let e=this,t="";return(0,i.A)(e.height)?t=`height:${e.height}px;`:(0,a.A)(e.height)&&(t=`height:${e.height}; line-height:${e.height};`),t},useTextFontSize:function(){let e=this,t=e.textFontSize;return t=(0,S.A)(t,";",""),`font-size:${t};`},useTextColor:function(){let e=this;return(0,I.A)(e.textColor)}},methods:{setValue:function(e){let t=this;t.valueTrans=e},setFocus:function(){let e=this;e.$refs.inp.focus()},updateFocused:function(e){let t=this;t.focused!==e&&t.$nextTick(()=>{t.$emit("update:focused",e)})},updateValue:function(e){let t=this,n=k(t.valueTrans,t.type,{funCustom:t.funVerify});t.valueTrans=n.value,t.errmsg=n.errmsg},trigger:function(e,t){let n=this;n.$nextTick(()=>{n.$emit(e,n.valueTrans,n.errmsg,t)})}}},H=T,P=n(1656),B=(0,P.A)(H,r,o,!1,null,"18378297",null),$=B.exports},3206:function(e,t,n){"use strict";n.d(t,{A:function(){return H}});var r=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeParam:e.changeParam},on:{domresize:e.resize}},[t("WShellEllipse",{attrs:{paddingStyle:e.paddingStyle,borderWidth:e.constBorderWidth,borderRadius:e.borderRadius,shadow:e.shadow,leftIcon:e.leftIcon,leftIconSize:e.leftIconSize,leftIconColor:e.leftIconColor,leftIconColorHover:e.leftIconColorHover,leftIconColorFocus:e.leftIconColorFocus,leftIconTooltip:e.leftIconTooltip,rightIcon:e.rightIcon,rightIconSize:e.rightIconSize,rightIconColor:e.rightIconColor,rightIconColorHover:e.rightIconColorHover,rightIconColorFocus:e.rightIconColorFocus,rightIconTooltip:e.rightIconTooltip,iconShiftOuter:e.iconShiftOuter,iconShiftInner:e.iconShiftInner,backgroundColor:e.backgroundColor,backgroundColorHover:e.backgroundColorHover,backgroundColorFocus:e.backgroundColorFocus,borderColor:e.borderColor,borderColorHover:e.borderColorHover,borderColorFocus:e.borderColorFocus,editable:e.editable,focused:e.focusedTrans},on:{"click-left":function(t){return e.$emit("click-left")},"click-right":function(t){return e.$emit("click-right")}}},[t("div",{staticStyle:{"margin-right":"-5px"}},[t("WTextSuggestCore",{attrs:{mode:"select",items:e.items,value:e.value,keyText:e.keyText,textFontSize:e.textFontSize,textColor:e.textColor,itemTextFontSize:e.itemTextFontSize,itemTextColor:e.itemTextColor,itemTextColorHover:e.itemTextColorHover,itemBackgroundColor:e.itemBackgroundColor,itemBackgroundColorHover:e.itemBackgroundColorHover,itemPaddingStyle:e.itemPaddingStyle,expansionIcon:e.showExpansionIcon?void 0:"",expansionIconSize:e.expansionIconSize,expansionIconColor:e.expansionIconColor,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth,autoFitMinWidth:e.autoFitMinWidth,autoFitMaxWidth:e.autoFitMaxWidth,placementDistX:e.placementDistX,placementDistY:e.useDistY,defItemHeight:e.defItemHeight,labelContent:e.labelContent,editable:e.editable,focused:e.focusedTrans,showPanel:e.showPanelTrans},on:{"update:focused":t=>{e.updateFocused(t),e.$emit("blur",null,null)},"update:showPanel":e.updateShowPanel,input:(t,n)=>{e.$emit("input",t,n)},"click-item":(t,n)=>{e.$emit("click-item",t,n)}},scopedSlots:e._u([{key:"select",fn:function(t){return[e._t("select",function(){return[e._v(" "+e._s(t.text)+" ")]},{item:t.item,text:t.text})]}},{key:"item",fn:function(n){return[e._t("item",function(){return[t("div",[e._v(e._s(e.getText(n.item)))])]},{item:n.item,index:n.index})]}}],null,!0)})],1)])],1)},o=[],i=n(7500),a=n(1714),l=n(3665),s=n(889),u=n(2694),c=function(){var e=this,t=e._self._c;return t("WPopup",{attrs:{displayType:"line",minWidth:e.minWidth,maxWidth:e.maxWidth,autoFitMinWidth:e.autoFitMinWidth,autoFitMaxWidth:e.autoFitMaxWidth,placementDistX:e.placementDistX,placementDistY:e.placementDistY,labelContent:e.labelContent,editable:e.editable,value:e.showPanelTrans,changeValueFromPopup:e.changeValueFromPopup,changeFocusedFromPopup:e.changeFocusedFromPopup,changeShowPanelFromPopup:e.changeShowPanelFromPopup},on:{input:t=>{e.updateShowPanel(t,"WPopup")}},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("div",[t("div",{staticStyle:{display:"flex","align-items":"center"}},["select"===e.mode?t("div",{style:`width:100%; color:${e.useTextColor}; ${e.useTextFontSize} vertical-align:middle; white-space:nowrap; text-overflow:ellipsis; cursor:pointer; outline:none;`,attrs:{_tabindex:"0"},on:{focus:e.focusText}},[e._t("select",function(){return[e._v(" "+e._s(e.valueTrans)+" ")]},{item:e.value,text:e.valueTrans})],2):e._e(),"suggest"===e.mode?t("WTextCore",{staticStyle:{width:"100%"},attrs:{textFontSize:e.textFontSize,textColor:e.useTextColor,textAlign:e.textAlign,placeholder:e.placeholder,height:e.height,editable:e.editable,focused:e.focusedTrans,value:e.valueTrans},on:{"update:focused":t=>{e.updateFocused(t,"update:focused"),e.triggerEvent("blur",e.value,null,"blur")},enter:function(t){return e.triggerEvent("enter",e.value,null,"enter")},input:e.updateValue,select:e.selectText}}):e._e(),t("div",{},[t("div",{style:`transform:rotate(${e.useRotateDeg+90}deg); transition:all 0.25s; cursor:pointer;`},[t("WIcon",{attrs:{icon:e.expansionIcon,color:e.uesExpansionIconColor,colorHover:e.uesExpansionIconColor,size:e.expansionIconSize}})],1)])],1)])]},proxy:!0},{key:"content",fn:function(){return[t("div",[t("WDynamicList",{attrs:{rows:e.items,filterKeywords:"suggest"===e.mode?e.valueTrans:"",viewHeightMax:e.maxHeight,itemMinHeight:e.defItemHeight,loadingText:e.loadingText,noResultsText:e.noResultsText,searchingText:e.searchingText,show:e.showPanelTrans},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",{style:`transition:all 0.2s; cursor:pointer; outline:none; background:${e.useItemBackgroundColor}; color:${e.useItemTextColor}; ${e.useItemTextFontSize} ${e.useItemPadding}`,attrs:{tabindex:"0"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.clickItem(n.row,n.index)},click:function(t){return e.clickItem(n.row,n.index)},mouseenter:t=>{let n=t.currentTarget.style;n.backgroundColor=e.useItemBackgroundColorHover,n.color=e.useItemTextColorHover},mouseleave:t=>{let n=t.currentTarget.style;n.backgroundColor=e.useItemBackgroundColor,n.color=e.useItemTextColor},focus:t=>{let n=t.currentTarget.style;n.backgroundColor=e.useItemBackgroundColorHover,n.color=e.useItemTextColorHover},blur:t=>{let n=t.currentTarget.style;n.backgroundColor=e.useItemBackgroundColor,n.color=e.useItemTextColor}}},[e._t("item",function(){return[t("div",[e._v(e._s(e.getText(n.row)))])]},{item:n.row,index:n.index})],2)]}}],null,!0)})],1)]},proxy:!0}],null,!0)})},d=[],f=n(9165),p=n(6902),h=n(8842),g=n(7417),m=n(3294),v=n(5480),b=n(2002),y=n(6184),A=n(293),w={components:{WPopup:v.A,WTextCore:b.A,WDynamicList:y.A,WIcon:A.A},props:{mode:{type:String,default:"suggest"},value:{type:[Object,String,Number],default:null},items:{type:Array,default:()=>[]},height:{type:[Number,String],default:""},keyText:{type:String,default:"text"},textFontSize:{type:String,default:"0.85rem"},textColor:{type:String,default:"black"},textAlign:{type:String,default:"left"},itemTextFontSize:{type:String,default:"0.8rem"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#333"},itemBackgroundColor:{type:String,default:"white"},itemBackgroundColorHover:{type:String,default:"#f2f2f2"},itemPaddingStyle:{type:Object,default:()=>({v:10,h:14})},expansionIcon:{type:String,default:f.H9P},expansionIconSize:{type:Number,default:18},expansionIconColor:{type:String,default:"grey"},maxHeight:{type:Number,default:200},minWidth:{type:Number,default:null},maxWidth:{type:Number,default:null},autoFitMinWidth:{type:Boolean,default:!0},autoFitMaxWidth:{type:Boolean,default:!0},placementDistX:{type:Number,default:0},placementDistY:{type:Number,default:5},placeholder:{type:String,default:""},loadingText:{type:String,default:"Loading..."},noResultsText:{type:String,default:"No results"},searchingText:{type:String,default:"Searching..."},defItemHeight:{type:Number,default:43},labelContent:{type:String,default:null},editable:{type:Boolean,default:!0},focused:{type:Boolean,default:!1},showPanel:{type:Boolean,default:!1}},data:function(){return{focusedTrans:!1,showPanelTrans:!1,valueTrans:null}},computed:{changeFocusedFromPopup:function(){let e=this;return e.focusedTrans=e.focused,""},changeShowPanelFromPopup:function(){let e=this;return(0,p.A)(e.items)>0?e.showPanelTrans=e.showPanel:e.showPanelTrans=!1,""},changeValueFromPopup:function(){let e=this;return(0,a.A)(e.value)?e.valueTrans=e.value[e.keyText]:e.valueTrans=e.value,""},useTextFontSize:function(){let e=this,t=e.textFontSize;return t=(0,g.A)(t,";",""),`font-size:${t};`},useTextColor:function(){let e=this;return(0,m.A)(e.textColor)},useItemBackgroundColor:function(){let e=this;return(0,m.A)(e.itemBackgroundColor)},useItemBackgroundColorHover:function(){let e=this;return(0,m.A)(e.itemBackgroundColorHover)},useItemTextFontSize:function(){let e=this,t=e.itemTextFontSize;return t=(0,g.A)(t,";",""),`font-size:${t};`},useItemTextColor:function(){let e=this;return(0,m.A)(e.itemTextColor)},useItemTextColorHover:function(){let e=this;return(0,m.A)(e.itemTextColorHover)},useItemPadding:function(){let e=this,t=(0,l.A)(e.itemPaddingStyle),n=`padding:${t};`;return n},uesExpansionIconColor:function(){let e=this;return(0,m.A)(e.expansionIconColor)},useRotateDeg:function(){let e=this;return e.showPanelTrans?180:0}},methods:{getText:function(e){let t=this;return(0,a.A)(e)?e[t.keyText]:e},selectText:function(){let e=this;e.editable&&(e.showPanelTrans||e.triggerAll({showPanel:!0,focused:!0},"selectText"))},focusText:function(){let e=this;e.editable&&(e.showPanelTrans||e.triggerAll({showPanel:!0,focused:!0},"focusText"))},updateFocused:function(e,t){let n=this;n.editable&&n.triggerAll({focused:e},"updateFocused")},updateShowPanel:function(e,t){let n=this;n.editable&&n.triggerAll({showPanel:e,focused:e},"updateShowPanel")},updateValue:function(e){let t=this;t.editable&&(t.valueTrans=e,t.triggerEvent("input",e,null,"updateValue"),t.triggerAll({showPanel:!0,focused:!0},"updateValue"))},clickItem:function(e,t){let n=this;n.editable&&(n.triggerEvent("input",e,t,"clickItem"),n.triggerEvent("click-item",e,t,"clickItem"),n.triggerAll({showPanel:!1,focused:!1},"clickItem"))},triggerEvent:function(e,t,n,r){let o=this;o.editable&&o.$nextTick(()=>{o.$emit(e,t,n)})},triggerAll:function(e,t){let n=this;if(!n.editable)return;let r=(0,i.A)(e,"showPanel",null),o=(0,i.A)(e,"focused",null);setTimeout(()=>{(0,h.A)(o)&&n.focusedTrans!==o&&(n.focusedTrans=o,n.triggerEvent("update:focused",o,null,"triggerAll")),(0,h.A)(r)&&n.showPanelTrans!==r&&((0,p.A)(n.items)>0?n.showPanelTrans=r:n.showPanelTrans=!1,n.triggerEvent("update:showPanel",r,null,"triggerAll"))},20)}}},C=w,x=n(1656),_=(0,x.A)(C,c,d,!1,null,"4d65091e",null),k=_.exports,S={directives:{domresize:(0,s.A)()},components:{WShellEllipse:u.A,WTextSuggestCore:k},props:{paddingStyle:{type:Object,default:()=>({v:2,h:15})},borderRadius:{type:Number,default:30},shadow:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},value:{type:[Object,String,Number],default:null},keyText:{type:String,default:"text"},textFontSize:{type:String,default:"0.85rem"},textColor:{type:String,default:"black"},itemTextFontSize:{type:String,default:"0.8rem"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#333"},itemBackgroundColor:{type:String,default:"white"},itemBackgroundColorHover:{type:String,default:"#f2f2f2"},itemPaddingStyle:{type:Object,default:()=>({v:10,h:14})},leftIcon:{type:String,default:""},leftIconSize:{type:Number,default:24},leftIconColor:{type:String,default:"deep-orange lighten-2"},leftIconColorHover:{type:String,default:"deep-orange lighten-1"},leftIconColorFocus:{type:String,default:"deep-orange lighten-1"},leftIconTooltip:{type:String,default:""},rightIcon:{type:String,default:""},rightIconSize:{type:Number,default:24},rightIconColor:{type:String,default:"deep-orange lighten-2"},rightIconColorHover:{type:String,default:"deep-orange lighten-1"},rightIconColorFocus:{type:String,default:"deep-orange lighten-1"},rightIconTooltip:{type:String,default:""},iconShiftOuter:{type:Number,default:-10},iconShiftInner:{type:Number,default:5},backgroundColor:{type:String,default:"white"},backgroundColorHover:{type:String,default:"white"},backgroundColorFocus:{type:String,default:"white"},borderColor:{type:String,default:"white"},borderColorHover:{type:String,default:"white"},borderColorFocus:{type:String,default:"white"},showExpansionIcon:{type:Boolean,default:!0},expansionIconSize:{type:Number,default:18},expansionIconColor:{type:String,default:"grey"},placementDistX:{type:Number,default:0},maxHeight:{type:Number,default:200},minWidth:{type:Number,default:null},maxWidth:{type:Number,default:null},autoFitMinWidth:{type:Boolean,default:!0},autoFitMaxWidth:{type:Boolean,default:!0},defItemHeight:{type:Number,default:43},labelContent:{type:String,default:null},editable:{type:Boolean,default:!0},focused:{type:Boolean,default:!1},showPanel:{type:Boolean,default:!1}},data:function(){return{constBorderWidth:1,focusedTrans:!1,showPanelTrans:!1,useDistY:0}},mounted:function(){},computed:{changeParam:function(){let e=this;return e.focusedTrans=e.focused,""}},methods:{resize:function(e){let t=this,n=(0,l.A)(t.paddingStyle,{returnObj:!0}),r=2,o=n.bottom-r,a=(0,i.A)(t,"$el.offsetHeight",0),s=a-26-2*o;s/=2;let u=5;t.useDistY=o+s+u},getText:function(e){let t=this;return(0,a.A)(e)?e[t.keyText]:e},updateFocused:function(e){let t=this;t.focusedTrans=e,t.$nextTick(()=>{t.$emit("update:focused",e)})},updateShowPanel:function(e){let t=this;t.showPanelTrans=e,t.$nextTick(()=>{t.$emit("update:showPanel",e)})}}},I=S,T=(0,x.A)(I,r,o,!1,null,"093f7c69",null),H=T.exports},9789:function(e,t,n){"use strict";n.d(t,{A:function(){return jt}});var r=function(){var e=this,t=e._self._c;return t("div",{style:`${e.useDisplayType}`,attrs:{changeValue:e.changeValue}},[t("div",{ref:"divTrigger",staticStyle:{outline:"none"},attrs:{tabindex:"0"},on:{click:function(t){return e.evShow("popup","click")},mouseenter:function(t){return e.evShow("tooltip","mouseenter")},mouseleave:function(t){return e.evHide("tooltip","mouseleave")}}},[e._t("trigger")],2),t("Teleport",{attrs:{to:"body"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.valueTrans,expression:"valueTrans"},{name:"domresize",rawName:"v-domresize"}],ref:"divContent",staticClass:"WPopperFix",style:`z-index:${e.cmpZIndex};`,attrs:{wtlp:e.labelContent},on:{domresize:e.updatePopper}},[e.valueTrans?t("div",{style:`${e.contentStyle} ${e.usePadding} ${e.useTextFontSize} color:${e.useTextColor}; background:${e.useBackgroundColor}; ${e.useMinWidth} ${e.useMaxWidth} ${e.useBorderRadius} ${e.useShadow}`},[e._t("content",null,{funHide:()=>{e.updateValue(!1,"slot")}})],2):e._e()])])],1)},o=[],i=n(7500),a=n(6666),l=n(1363),s=n(1879),u=n(7120),c=n(7417),d=n(106),f=n(999),p=n(3294),h=n(3665),g=n(889),m=n(6036),v=n(6702),b=n(8332),y=n(6246),A=n(1236);function w(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function C(e){var t=w(e).Element;return e instanceof t||e instanceof Element}function x(e){var t=w(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function _(e){if("undefined"===typeof ShadowRoot)return!1;var t=w(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var k=Math.max,S=Math.min,I=Math.round;function T(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function H(){return!/^((?!chrome|android).)*safari/i.test(T())}function P(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&x(e)&&(o=e.offsetWidth>0&&I(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&I(r.height)/e.offsetHeight||1);var a=C(e)?w(e):window,l=a.visualViewport,s=!H()&&n,u=(r.left+(s&&l?l.offsetLeft:0))/o,c=(r.top+(s&&l?l.offsetTop:0))/i,d=r.width/o,f=r.height/i;return{width:d,height:f,top:c,right:u+d,bottom:c+f,left:u,x:u,y:c}}function B(e){var t=w(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function $(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function j(e){return e!==w(e)&&x(e)?$(e):B(e)}function O(e){return e?(e.nodeName||"").toLowerCase():null}function R(e){return((C(e)?e.ownerDocument:e.document)||window.document).documentElement}function W(e){return P(R(e)).left+B(e).scrollLeft}function E(e){return w(e).getComputedStyle(e)}function L(e){var t=E(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Z(e){var t=e.getBoundingClientRect(),n=I(t.width)/e.offsetWidth||1,r=I(t.height)/e.offsetHeight||1;return 1!==n||1!==r}function X(e,t,n){void 0===n&&(n=!1);var r=x(t),o=x(t)&&Z(t),i=R(t),a=P(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==O(t)||L(i))&&(l=j(t)),x(t)?(s=P(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=W(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function F(e){var t=P(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function V(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(_(e)?e.host:null)||R(e)}function N(e){return["html","body","#document"].indexOf(O(e))>=0?e.ownerDocument.body:x(e)&&L(e)?e:N(V(e))}function z(e,t){var n;void 0===t&&(t=[]);var r=N(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=w(r),a=o?[i].concat(i.visualViewport||[],L(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(z(V(a)))}function M(e){return["table","td","th"].indexOf(O(e))>=0}function D(e){return x(e)&&"fixed"!==E(e).position?e.offsetParent:null}function G(e){var t=/firefox/i.test(T()),n=/Trident/i.test(T());if(n&&x(e)){var r=E(e);if("fixed"===r.position)return null}var o=V(e);_(o)&&(o=o.host);while(x(o)&&["html","body"].indexOf(O(o))<0){var i=E(o);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return o;o=o.parentNode}return null}function U(e){var t=w(e),n=D(e);while(n&&M(n)&&"static"===E(n).position)n=D(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===E(n).position)?t:n||G(e)||t}var K="top",J="bottom",Y="right",Q="left",q="auto",ee=[K,J,Y,Q],te="start",ne="end",re="clippingParents",oe="viewport",ie="popper",ae="reference",le=ee.reduce(function(e,t){return e.concat([t+"-"+te,t+"-"+ne])},[]),se=[].concat(ee,[q]).reduce(function(e,t){return e.concat([t,t+"-"+te,t+"-"+ne])},[]),ue="beforeRead",ce="read",de="afterRead",fe="beforeMain",pe="main",he="afterMain",ge="beforeWrite",me="write",ve="afterWrite",be=[ue,ce,de,fe,pe,he,ge,me,ve];function ye(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}function Ae(e){var t=ye(e);return be.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function we(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ce(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var xe={placement:"bottom",modifiers:[],strategy:"absolute"};function _e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"===typeof e.getBoundingClientRect)})}function ke(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?xe:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){var a="function"===typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,a),o.scrollParents={reference:C(e)?z(e):e.contextElement?z(e.contextElement):[],popper:z(t)};var l=Ae(Ce([].concat(r,o.options.modifiers)));return o.orderedModifiers=l.filter(function(e){return e.enabled}),u(),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(_e(t,n)){o.rects={reference:X(t,U(n),"fixed"===o.options.strategy),popper:F(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,u=i.options,c=void 0===u?{}:u,d=i.name;"function"===typeof a&&(o=a({state:o,options:c,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:we(function(){return new Promise(function(e){s.forceUpdate(),e(o)})}),destroy:function(){c(),l=!0}};if(!_e(e,t))return s;function u(){o.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var l=i({state:o,name:t,instance:s,options:r}),u=function(){};a.push(l||u)}})}function c(){a.forEach(function(e){return e()}),a=[]}return s.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),s}}var Se={passive:!0};function Ie(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=w(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",n.update,Se)}),l&&s.addEventListener("resize",n.update,Se),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",n.update,Se)}),l&&s.removeEventListener("resize",n.update,Se)}}var Te={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ie,data:{}};function He(e){return e.split("-")[0]}function Pe(e){return e.split("-")[1]}function Be(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $e(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?He(o):null,a=o?Pe(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case K:t={x:l,y:n.y-r.height};break;case J:t={x:l,y:n.y+n.height};break;case Y:t={x:n.x+n.width,y:s};break;case Q:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Be(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case te:t[u]=t[u]-(n[c]/2-r[c]/2);break;case ne:t[u]=t[u]+(n[c]/2-r[c]/2);break;default:}}return t}function je(e){var t=e.state,n=e.name;t.modifiersData[n]=$e({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Oe={name:"popperOffsets",enabled:!0,phase:"read",fn:je,data:{}},Re={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:I(n*o)/o||0,y:I(r*o)/o||0}}function Ee(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,g=void 0===h?0:h,m="function"===typeof c?c({x:p,y:g}):{x:p,y:g};p=m.x,g=m.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=Q,A=K,C=window;if(u){var x=U(n),_="clientHeight",k="clientWidth";if(x===w(n)&&(x=R(n),"static"!==E(x).position&&"absolute"===l&&(_="scrollHeight",k="scrollWidth")),o===K||(o===Q||o===Y)&&i===ne){A=J;var S=d&&x===C&&C.visualViewport?C.visualViewport.height:x[_];g-=S-r.height,g*=s?1:-1}if(o===Q||(o===K||o===J)&&i===ne){y=Y;var I=d&&x===C&&C.visualViewport?C.visualViewport.width:x[k];p-=I-r.width,p*=s?1:-1}}var T,H=Object.assign({position:l},u&&Re),P=!0===c?We({x:p,y:g},w(n)):{x:p,y:g};return p=P.x,g=P.y,s?Object.assign({},H,(T={},T[A]=b?"0":"",T[y]=v?"0":"",T.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",T)):Object.assign({},H,(t={},t[A]=b?g+"px":"",t[y]=v?p+"px":"",t.transform="",t))}function Le(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,u={placement:He(t.placement),variation:Pe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ee(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ee(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ze={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Le,data:{}};function Xe(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];x(o)&&O(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})}function Fe(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),a=i.reduce(function(e,t){return e[t]="",e},{});x(r)&&O(r)&&(Object.assign(r.style,a),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}}var Ve={name:"applyStyles",enabled:!0,phase:"write",fn:Xe,effect:Fe,requires:["computeStyles"]},Ne=[Te,Oe,Ze,Ve],ze=ke({defaultModifiers:Ne}),Me={left:"right",right:"left",bottom:"top",top:"bottom"};function De(e){return e.replace(/left|right|bottom|top/g,function(e){return Me[e]})}var Ge={start:"end",end:"start"};function Ue(e){return e.replace(/start|end/g,function(e){return Ge[e]})}function Ke(e,t){var n=w(e),r=R(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var u=H();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+W(e),y:s}}function Je(e){var t,n=R(e),r=B(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=k(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=k(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+W(e),s=-r.scrollTop;return"rtl"===E(o||n).direction&&(l+=k(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}function Ye(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Qe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qe(e,t){var n=P(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function et(e,t,n){return t===oe?Qe(Ke(e,n)):C(t)?qe(t,n):Qe(Je(R(e)))}function tt(e){var t=z(V(e)),n=["absolute","fixed"].indexOf(E(e).position)>=0,r=n&&x(e)?U(e):e;return C(r)?t.filter(function(e){return C(e)&&Ye(e,r)&&"body"!==O(e)}):[]}function nt(e,t,n,r){var o="clippingParents"===t?tt(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce(function(t,n){var o=et(e,n,r);return t.top=k(o.top,t.top),t.right=S(o.right,t.right),t.bottom=S(o.bottom,t.bottom),t.left=k(o.left,t.left),t},et(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function rt(){return{top:0,right:0,bottom:0,left:0}}function ot(e){return Object.assign({},rt(),e)}function it(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function at(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?re:l,u=n.rootBoundary,c=void 0===u?oe:u,d=n.elementContext,f=void 0===d?ie:d,p=n.altBoundary,h=void 0!==p&&p,g=n.padding,m=void 0===g?0:g,v=ot("number"!==typeof m?m:it(m,ee)),b=f===ie?ae:ie,y=e.rects.popper,A=e.elements[h?b:f],w=nt(C(A)?A:A.contextElement||R(e.elements.popper),s,c,a),x=P(e.elements.reference),_=$e({reference:x,element:y,strategy:"absolute",placement:o}),k=Qe(Object.assign({},y,_)),S=f===ie?k:x,I={top:w.top-S.top+v.top,bottom:S.bottom-w.bottom+v.bottom,left:w.left-S.left+v.left,right:S.right-w.right+v.right},T=e.modifiersData.offset;if(f===ie&&T){var H=T[o];Object.keys(I).forEach(function(e){var t=[Y,J].indexOf(e)>=0?1:-1,n=[K,J].indexOf(e)>=0?"y":"x";I[e]+=H[n]*t})}return I}function lt(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?se:s,c=Pe(r),d=c?l?le:le.filter(function(e){return Pe(e)===c}):ee,f=d.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=d);var p=f.reduce(function(t,n){return t[n]=at(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[He(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}function st(e){if(He(e)===q)return[];var t=De(e);return[Ue(e),t,Ue(t)]}function ut(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,g=n.allowedAutoPlacements,m=t.options.placement,v=He(m),b=v===m,y=s||(b||!h?[De(m)]:st(m)),A=[m].concat(y).reduce(function(e,n){return e.concat(He(n)===q?lt(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:g}):n)},[]),w=t.rects.reference,C=t.rects.popper,x=new Map,_=!0,k=A[0],S=0;S<A.length;S++){var I=A[S],T=He(I),H=Pe(I)===te,P=[K,J].indexOf(T)>=0,B=P?"width":"height",$=at(t,{placement:I,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),j=P?H?Y:Q:H?J:K;w[B]>C[B]&&(j=De(j));var O=De(j),R=[];if(i&&R.push($[T]<=0),l&&R.push($[j]<=0,$[O]<=0),R.every(function(e){return e})){k=I,_=!1;break}x.set(I,R)}if(_)for(var W=h?3:1,E=function(e){var t=A.find(function(t){var n=x.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return k=t,"break"},L=W;L>0;L--){var Z=E(L);if("break"===Z)break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}}var ct={name:"flip",enabled:!0,phase:"main",fn:ut,requiresIfExists:["offset"],data:{_skip:!1}};function dt(e,t,n){var r=He(e),o=[Q,K].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[Q,Y].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function ft(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=se.reduce(function(e,n){return e[n]=dt(n,t.rects,i),e},{}),l=a[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}var pt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ft};function ht(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function gt(e){return[K,Y,J,Q].some(function(t){return e[t]>=0})}function mt(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=at(t,{elementContext:"reference"}),l=at(t,{altBoundary:!0}),s=ht(a,r),u=ht(l,o,i),c=gt(s),d=gt(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}var vt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:mt};function bt(e){return"x"===e?"y":"x"}function yt(e,t,n){return k(e,S(t,n))}function At(e,t,n){var r=yt(e,t,n);return r>n?n:r}function wt(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,g=void 0===h?0:h,m=at(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),v=He(t.placement),b=Pe(t.placement),y=!b,A=Be(v),w=bt(A),C=t.modifiersData.popperOffsets,x=t.rects.reference,_=t.rects.popper,I="function"===typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,T="number"===typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(C){if(i){var B,$="y"===A?K:Q,j="y"===A?J:Y,O="y"===A?"height":"width",R=C[A],W=R+m[$],E=R-m[j],L=p?-_[O]/2:0,Z=b===te?x[O]:_[O],X=b===te?-_[O]:-x[O],V=t.elements.arrow,N=p&&V?F(V):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:rt(),M=z[$],D=z[j],G=yt(0,x[O],N[O]),q=y?x[O]/2-L-G-M-T.mainAxis:Z-G-M-T.mainAxis,ee=y?-x[O]/2+L+G+D+T.mainAxis:X+G+D+T.mainAxis,ne=t.elements.arrow&&U(t.elements.arrow),re=ne?"y"===A?ne.clientTop||0:ne.clientLeft||0:0,oe=null!=(B=null==H?void 0:H[A])?B:0,ie=R+q-oe-re,ae=R+ee-oe,le=yt(p?S(W,ie):W,R,p?k(E,ae):E);C[A]=le,P[A]=le-R}if(l){var se,ue="x"===A?K:Q,ce="x"===A?J:Y,de=C[w],fe="y"===w?"height":"width",pe=de+m[ue],he=de-m[ce],ge=-1!==[K,Q].indexOf(v),me=null!=(se=null==H?void 0:H[w])?se:0,ve=ge?pe:de-x[fe]-_[fe]-me+T.altAxis,be=ge?de+x[fe]+_[fe]-me-T.altAxis:he,ye=p&&ge?At(ve,de,be):yt(p?ve:pe,de,p?be:he);C[w]=ye,P[w]=ye-de}t.modifiersData[r]=P}}var Ct={name:"preventOverflow",enabled:!0,phase:"main",fn:wt,requiresIfExists:["offset"]};function xt(e,t,n,r,o,a={}){let l=(0,y.A)(),s=["mode","mmkey",r,"triggerWidth","placement","placementDistX","placementDistY","transitionTime","isolated","editable","contentStyle"];if((0,m.A)(s,t=>{if(!(0,v.A)(e,t))throw new Error(`invalid vo.${t}`)}),!(0,d.A)(t))throw new Error("funGetDivTrigger is not a function");if(!(0,d.A)(n))throw new Error("funGetDivContent is not a function");let u=(0,i.A)(a,"funAddTrigger"),c=(0,i.A)(a,"funCheckTrigger"),f=(0,i.A)(a,"funRemoveTrigger"),p=(0,i.A)(a,"modeHide",null);"click"!==p&&"mousedown"!==p&&(p="click");let h={mouseClientX:0,mouseClientY:0,cursorTriggerInner:!1,clickContentInner:!1,popperShow:!1,popperInstance:null,removeTriggerTimer:null},g=()=>{h.windowMousemove=e=>{h.mouseClientX=e.clientX,h.mouseClientY=e.clientY},window.addEventListener("mousemove",h.windowMousemove,!1),h.windowMousedown=o=>{let i=t();(0,b.A)(i)?h.cursorTriggerInner=(0,A.A)(o.clientX,o.clientY,i):h.cursorTriggerInner=!1;let a=n();if(e[r]&&a?h.clickContentInner=(0,A.A)(o.clientX,o.clientY,a):h.clickContentInner=!1,"mousedown"===p){if(!x())return;!e[r]||h.cursorTriggerInner||h.clickContentInner||e.evHide("popup","windowMousedown")}},window.addEventListener("mousedown",h.windowMousedown,!1),h.windowMouseup=t=>{x()&&(!e[r]||h.cursorTriggerInner||h.clickContentInner?(h.cursorTriggerInner=!1,h.clickContentInner=!1):e.evHide("popup","windowMouseup"))},window.addEventListener("mouseup",h.windowMouseup,!1),h.windowScroll=n=>{if("tooltip"!==e.mode)return;let o=t();(0,b.A)(o)&&(h.cursorTriggerInner=!!o&&(0,A.A)(h.mouseClientX,h.mouseClientY,o),h.cursorTriggerInner?e[r]||B("tooltip","windowScroll"):e[r]&&$("tooltip","windowScroll"))},window.addEventListener("scroll",h.windowScroll,!1)},w=()=>{window.removeEventListener("mousemove",h.windowMousemove,!1),window.removeEventListener("mousedown",h.windowMousedown,!1),window.removeEventListener("mouseup",h.windowMouseup,!1),window.removeEventListener("scroll",h.windowMouseup,!1),P(!1)},C=()=>(0,d.A)(u)?u(e.mode,e.mmkey):null,x=()=>!(0,d.A)(c)||c(e.mode,e.mmkey),_=()=>(0,d.A)(f)?f(e.mode,e.mmkey):null,k=r=>{let o=t();if(!(0,b.A)(o))return;e.$nextTick(()=>{e.triggerWidth=o.offsetWidth});let a=n();if(!(0,b.A)(a))return;null!==h.removeTriggerTimer&&(clearTimeout(h.removeTriggerTimer),h.removeTriggerTimer=null),C();let s={strategy:"fixed",placement:e.placement,modifiers:[Ct,Ze,{name:"computeStyles",options:{gpuAcceleration:!1}},ct,{name:"flip",options:{}},pt,{name:"offset",options:{offset:[e.placementDistX,e.placementDistY]}},vt,{name:"emitPlacement",enabled:!0,phase:"afterWrite",fn:({state:t})=>{let n=(0,i.A)(t,"placement",null);null!==n&&(e.$emit("placement-change",n),l.emit("placement-change",n))}}]};h.popperInstance=ze(o,a,s)},S=e=>{h.popperInstance&&(h.popperInstance.destroy(),h.popperInstance=null),h.removeTriggerTimer=setTimeout(()=>{h.removeTriggerTimer=null,_()},20)},I=(t,n)=>{h.popperInstance&&h.popperInstance.update(),e.$emit("resize",t),l.emit("resize",t)},T=t=>{e.$nextTick(()=>{let t=e.editable&&e[r];if(t&&!h.popperShow){let t=-15;e.contentStyle=`opacity:0; pointer-events:none; transform:translateY(${t}px);`,k("displayPopper"),h.popperShow=!0,e.$emit("show"),l.emit("show"),setTimeout(()=>{e.contentStyle=`transition:all ${e.transitionTime}ms ease-out; opacity:1; pointer-events:none;`},1),setTimeout(()=>{e.contentStyle=""},e.transitionTime)}else!t&&h.popperShow&&(S("displayPopper"),h.popperShow=!1,e.$emit("hide"),l.emit("hide"))})},H=(t,n)=>{e.editable&&(e[r]=t,T("updateValue"))},P=(t,n)=>{e.editable&&(e.isolated&&H(t,"triggerEvent"),e.$nextTick(()=>{e.$emit(o,t),l.emit(o,t)}))},B=(t,n)=>{e.editable&&(e[r]||e.mode===t&&P(!0))},$=(t,n)=>{e.editable&&e[r]&&e.mode===t&&P(!1)};return l.mounted=g,l.destroy=w,l.showPopper=k,l.hidePopper=S,l.updatePopper=I,l.displayPopper=T,l.updateValue=H,l.triggerEvent=P,l.evShow=B,l.evHide=$,l}var _t=xt;let kt={tooltip:[],popup:[]};function St(e,t){kt[e].push(t)}function It(e,t){return(0,a.A)(kt[e])===t}function Tt(e,t){(0,l.A)(kt[e],t)}var Ht={directives:{domresize:(0,g.A)()},components:{Teleport:f.A},props:{mode:{type:String,default:"tooltip"},value:{type:Boolean,default:!1},displayType:{type:String,default:"block"},cmpZIndex:{type:Number,default:3e3},isolated:{type:Boolean,default:!1},minWidth:{type:Number,default:null},maxWidth:{type:Number,default:null},autoFitMinWidth:{type:Boolean,default:!1},autoFitMaxWidth:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},placementDistX:{type:Number,default:0},placementDistY:{type:Number,default:5},borderRadius:{type:Number,default:4},textFontSize:{type:String,default:"0.85rem"},textColor:{type:String,default:"white"},backgroundColor:{type:String,default:"rgba(60,60,60,0.75)"},paddingStyle:{type:Object,default:()=>({v:2,h:10})},modeHide:{type:String,default:"click"},shadow:{type:Boolean,default:!0},shadowStyle:{type:String,default:"0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12)"},transitionTime:{type:Number,default:200},labelContent:{type:String,default:null},editable:{type:Boolean,default:!0}},data:function(){return{mmkey:(0,u.A)(),valueTrans:!1,triggerWidth:null,contentStyle:"",bp:null}},mounted:function(){let e=this,t="valueTrans",n="input";e.bp=new _t(e,e.funGetDivTrigger,e.funGetDivContent,t,n,{funAddTrigger:St,funCheckTrigger:It,funRemoveTrigger:Tt,modeHide:e.modeHide}),e.bp.mounted()},beforeDestroy:function(){let e=this;e.bp.destroy()},computed:{changeValue:function(){let e=this,t=e.value,n=e.isolated;return n||e.updateValue(t,"changeValue"),""},useDisplayType:function(){let e=this;return"line"===e.displayType?"display:block;":"display:inline-block;"},useMinWidth:function(){let e=this;return(0,s.A)(e.minWidth)?`min-width:${e.minWidth}px;`:e.autoFitMinWidth?`min-width:${e.triggerWidth}px;`:""},useMaxWidth:function(){let e=this;return(0,s.A)(e.maxWidth)?`max-width:${e.maxWidth}px;`:e.autoFitMaxWidth?`max-width:${e.triggerWidth}px;`:""},useBorderRadius:function(){let e=this;return(0,s.A)(e.borderRadius)?`border-radius:${e.borderRadius}px;`:""},useTextFontSize:function(){let e=this,t=e.textFontSize;return t=(0,c.A)(t,";",""),`font-size:${t};`},useTextColor:function(){let e=this;return(0,p.A)(e.textColor)},useBackgroundColor:function(){let e=this;return(0,p.A)(e.backgroundColor)},usePadding:function(){let e=this,t=(0,h.A)(e.paddingStyle),n=`padding:${t};`;return n},useShadow:function(){let e=this;if(!e.shadow)return"";let t=(0,c.A)(e.shadowStyle,";","");return""!==t?`box-shadow:${t};`:""}},methods:{funGetDivTrigger:function(){let e=this,t=(0,i.A)(e,"$refs.divTrigger",null);return t},funGetDivContent:function(){let e=this,t=(0,i.A)(e,"$refs.divContent",null);return t},evShow:function(e,t){let n=this,r=(0,i.A)(n,"bp.evShow");(0,d.A)(r)&&n.bp.evShow(e,t)},evHide:function(e,t){let n=this,r=(0,i.A)(n,"bp.evHide");(0,d.A)(r)&&n.bp.evHide(e,t)},updatePopper:function(e,t){let n=this,r=(0,i.A)(n,"bp.updatePopper");(0,d.A)(r)&&n.bp.updatePopper(e,t)},updateValue:function(e,t){let n=this,r=(0,i.A)(n,"bp.updateValue");(0,d.A)(r)&&n.bp.updateValue(e,t)}}},Pt=Ht,Bt=n(1656),$t=(0,Bt.A)(Pt,r,o,!1,null,"1e17fd0a",null),jt=$t.exports},6891:function(e,t,n){"use strict";n.d(t,{A:function(){return Qt}});var r=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{position:"relative",overflow:"hidden"},attrs:{changeViewHeightMax:e.changeViewHeightMax,changeActiveItem:e.changeActiveItem,changeDefaultDisplayLevel:e.changeDefaultDisplayLevel,changeDraggableAndOperatable:e.changeDraggableAndOperatable,changeFilterKeyWords:e.changeFilterKeyWords}},[t("WDynamicList",{ref:"wdl",attrs:{viewHeightMax:e.viewHeightMaxTrans,itemMinHeight:e.defItemHeight,itemsPreload:e.itemsPreload,loadingText:e.loadingText,noResultsText:e.noResultsText,searchingText:e.searchingText,statePaddingStyle:e.statePaddingStyle,show:e.show},on:{render:t=>{e.$emit("render",t)},"change-view-items":t=>{e.updateOperateShow(!1),e.$emit("change-view-items",t)},"change-height-of-items":t=>{e.updateViewHeightMaxTrans(t),e.$emit("change-height-of-items",t)}},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",{directives:[{name:"domdragdrop",rawName:"v-domdragdrop",value:e.useDraggable?e.getDgOpt():null,expression:"useDraggable?getDgOpt():null"},{name:"domripple",rawName:"v-domripple",value:{color:e.itemRippleColor},expression:"{color:itemRippleColor}"}],key:`wt-${n.index}`,style:`\n transition:all 0.3s; ${e.draggable?"user-select:none;":""}\n ${e.getUseActivable(n)?"cursor:pointer;":""}\n color:${e.getTextColor(n.row.item)};\n background:${e.getBackgroundColor(n.row.item)};\n `,attrs:{dragindex:n.index,draggable:"false"},on:{domdragdrop:e.dragdrop,mouseenter:t=>{e.mouseenterItem(t,n)},mouseleave:t=>{e.mouseleaveItem(t,n)},click:t=>{e.clickItem(t,n)}}},[t("div",{style:`position:relative; display:table; ${e.usePadding}`},[t("div",{style:"display:table-cell; vertical-align:top;"},[e._t("head",null,{index:n.index,data:n.row.item,row:n.row})],2),t("div",{style:`display:table-cell; vertical-align:top; padding-right:${e.getLevel(n.row)*e.useIndent}px;`}),t("div",{style:`display:table-cell; vertical-align:top; padding-right:${2*e.separation}px;`}),t("div",{style:`display:table-cell; vertical-align:top; padding-right:${e.separation}px;`},[e.hasChildren(n.index)?t("div",{style:`min-height:${e.useItemHeightMin}px; display:flex; align-items:center; justify-content:center;`},[t("WTreeIconToggle",{attrs:{dir:""+(n.row.unfolding?"bottom":"right"),iconSize:e.iconSize,iconColor:e.iconToggleColor,iconDisabledColor:e.iconToggleDisabledColor,iconBackgroundColor:e.iconToggleBackgroundColor,iconBackgroundColorHover:e.iconToggleBackgroundColorHover,editable:!e.useDraggableOrOperatable},on:{click:function(t){return t.stopPropagation(),e.toggleItems(n.row,null)}}})],1):t("div",{style:`min-height:${e.useItemHeightMin}px; padding-right:${e.iconSize}px;`})]),e.selectable?t("div",{style:`display:table-cell; vertical-align:top; padding-right:${3*e.separation}px;`},[t("div",{style:`min-height:${e.useItemHeightMin}px; display:flex; align-items:center; justify-content:center;`},[t("WTreeIconCheckbox",{attrs:{mode:n.row.checked,iconSize:e.iconSize,editable:e.getEditable(n.row.item),uncheckedColor:e.iconUncheckedColor,uncheckedDisabledColor:e.iconUncheckedDisabledColor,checkedColor:e.iconCheckedColor,checkedDisabledColor:e.iconCheckedDisabledColor,checkedPartiallyColor:e.iconCheckedPartiallyColor,checkedPartiallyDisabledColor:e.iconCheckedPartiallyDisabledColor},on:{click:function(t){return e.checkItems(n.row)}}})],1)]):e._e(),t("div",{style:"display:table-cell; vertical-align:top; width:100%;"},[e._t("item",function(){return[t("div",{style:`min-height:${e.useItemHeightMin}px; display:flex; align-items:center;`},[e._v(" "+e._s(e.getText(n.row.item))+" ")])]},{index:n.index,data:n.row.item,row:n.row,keyPrimary:e.keyPrimary,keyText:e.keyText,keyChildren:e.keyChildren,setDataByPathAndValue:e.setDataByPathAndValue,isHover:e.pkHover===n.row.item[e.keyPrimary],isActive:e.pkActive===n.row.item[e.keyPrimary]})],2),e.getUseOperatable(n)?t("div",{style:`position:absolute; top:${(e.useItemHeightMin-(e.operateBtnIconSize+4))/2}px; right:8px;`,on:{mousedown:t=>{e.operateDisableEvent(t,"mousedown")},touchstart:t=>{e.operateDisableEvent(t,"touchstart")},click:t=>{e.operateDisableEvent(t,"click")}}},[t("WPopup",{attrs:{isolated:!0,displayType:"line",labelContent:e.labelPanelForOperate,cmpZIndex:e.cmpZIndex},on:{show:function(t){return e.operateDisplayEvent("show")},hide:function(t){return e.operateDisplayEvent("hide")}},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("WButtonCircle",{staticStyle:{display:"block"},attrs:{paddingStyle:{v:2,h:2},icon:e.mdiDotsVertical,iconSize:e.operateBtnIconSize,backgroundColor:e.operateBtnBackgroundColor,backgroundColorHover:e.operateBtnBackgroundColorHover,backgroundColorFocus:e.operateBtnBackgroundColorFocus,shadow:!1,tooltip:e.operateBtnTooltip}})]},proxy:!0},{key:"content",fn:function(r){return[t("WListVertical",{style:`${e.getOperatePanelHeight(n)} width:${e.operatePanelWidth}px;`,attrs:{items:e.getUseOperateItems(n),itemTextFontSize:"0.8rem",enableActive:!1,paddingStyle:e.operateItemPaddingStyle,itemBackgroundColor:e.operateItemBackgroundColor,itemBackgroundColorHover:e.operateItemBackgroundColorHover,itemTextColor:e.operateItemTextColor,itemTextColorHover:e.operateItemTextColorHover,itemIconSize:e.operateItemIconSize,itemIconColor:e.operateItemIconColor,itemIconColorHover:e.operateItemIconColorHover},on:{click:t=>{r.funHide(),e.clickOperateItem({opItem:t,rowItem:n})},mousedown:function(e){e.stopPropagation()}}})]}}],null,!0)})],1):e._e()])])]}}],null,!0)}),""!==e.dgTipMode?t("div",{style:`position:absolute; z-index:1; pointer-events:none; left:${e.dgTipLeft}px; top:${e.dgTipTop}px;`},["lineTop"===e.dgTipMode?[t("div",{style:`display:inline-block; width:${e.dgTipWidth}px; height:${e.dgTipHeight}px; background:${e.useDgInsertBackgroundColor}; border-top:1px solid ${e.useDgInsertLineColor};`})]:"lineBottom"===e.dgTipMode?[t("div",{style:`display:inline-block; width:${e.dgTipWidth}px; height:${e.dgTipHeight}px; background:${e.useDgInsertBackgroundColor}; border-bottom:1px solid ${e.useDgInsertLineColor};`})]:"block"===e.dgTipMode?[t("div",{style:`display:inline-block; width:${e.dgTipWidth}px; height:${e.dgTipHeight}px; background:${e.uesDgBelongBackgroundColor};`})]:"disabled"===e.dgTipMode?[t("div",{style:`display:inline-block; width:${e.dgTipWidth}px; height:${e.dgTipHeight}px; background:${e.useDgTextDisabledBackgroundColor};`},[t("div",{style:`height:${e.dgTipHeight}px; display:flex; align-items:center;`},[t("div",{style:`color:${e.useDgTextDisabledColor}; padding-left:${e.dgTextDisabledPaddingLeft}px; font-size:${e.dgTextDisabledFontSize};`},[e._v(" "+e._s(e.dgTextDisabled)+" ")])])])]:e._e()],2):e._e(),t("Teleport",{attrs:{to:"body"}},[t("WDialog",{attrs:{wtre:e.labelDialogForEditor,show:e.editorShow,minWidth:300,maxWidth:300},on:{"update:show":function(t){e.editorShow=t}},scopedSlots:e._u([{key:"panel",fn:function(){return[t("div",{style:`padding:20px; border-bottom:1px solid #ddd; background:${e.useEditorContentBackgroundColor};`},[t("div",{staticStyle:{width:"100%"}},[t("WText",{attrs:{textColor:e.editorRenameInputTextColor,bottomLineBorderColor:e.editorRenameInputTextBottomLineBorderColor,bottomLineBorderColorHover:e.editorRenameInputTextBottomLineBorderColorHover,bottomLineBorderColorFocus:e.editorRenameInputTextBottomLineBorderColorFocus},on:{enter:e.saveRename},model:{value:e.editorRenameInputText,callback:function(t){e.editorRenameInputText=t},expression:"editorRenameInputText"}})],1)]),t("div",{style:`padding:10px; background:${e.useEditorFooterBackgroundColor}; display:flex; justify-content:flex-end;`},[t("WButtonChip",{attrs:{shiftLeft:-5,icon:e.editorRenameCancelBtnIcon,iconColor:e.editorRenameCancelBtnIconColor,iconColorHover:e.editorRenameCancelBtnIconColorHover,iconSize:e.editorRenameCancelBtnIconSize,text:e.editorRenameCancelBtnText,textColor:e.editorRenameCancelBtnTextColor,textColorHover:e.editorRenameCancelBtnTextColorHover,backgroundColor:e.editorRenameCancelBtnBackgroundColor,backgroundColorHover:e.editorRenameCancelBtnBackgroundColorHover,rippleColor:e.editorRenameCancelBtnIconRippleColor},on:{click:e.cancelEditor}}),t("div",{staticStyle:{"padding-left":"10px"}}),t("WButtonChip",{attrs:{shiftLeft:-5,icon:e.editorRenameSaveBtnIcon,iconColor:e.editorRenameSaveBtnIconColor,iconColorHover:e.editorRenameSaveBtnIconColorHover,iconSize:e.editorRenameSaveBtnIconSize,text:e.editorRenameSaveBtnText,textColor:e.editorRenameSaveBtnTextColor,textColorHover:e.editorRenameSaveBtnTextColorHover,backgroundColor:e.editorRenameSaveBtnBackgroundColor,backgroundColorHover:e.editorRenameSaveBtnBackgroundColorHover,rippleColor:e.editorRenameSaveBtnIconRippleColor},on:{click:e.saveRename}})],1)]},proxy:!0}])})],1)],1)},o=[],i=n(9165),a=n(6036),l=n(7500),s=n(8395),u=n(4722),c=n(4554),d=n(719),f=n(7688),p=n(8593);function h(e,t,n){return e&&e.length?(t=n||void 0===t?1:(0,p.A)(t),(0,f.A)(e,0,t<0?0:t)):[]}var g=h;function m(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:(0,p.A)(t),t=r-t,(0,f.A)(e,t<0?0:t,r)):[]}var v=m,b=n(6145),y=n(6902),A=n(6996),w=n(1879),C=Array.prototype,x=C.reverse;function _(e){return null==e?e:x.call(e)}var k=_,S=n(2816),I=n(4783),T=n(5353),H=Array.prototype,P=H.splice;function B(e,t){var n=e?t.length:0,r=n-1;while(n--){var o=t[n];if(n==r||o!==i){var i=o;(0,T.A)(o)?P.call(e,o,1):(0,I.A)(e,o)}}return e}var $=B;function j(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;t=(0,S.A)(t,3);while(++r<i){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return $(e,o),n}var O=j,R=n(5572);function W(e,t){var n=-1,r=t.length,o=Array(r),i=null==e;while(++n<r)o[n]=i?void 0:(0,l.A)(e,t[n]);return o}var E=W,L=n(8562),Z=n(9036),X=(0,Z.A)(function(e,t){var n=null==e?0:e.length,r=E(e,t);return $(e,(0,R.A)(t,function(e){return(0,T.A)(e,n)?+e:e}).sort(L.A)),r}),F=X,V=n(903),N=n(3422),z=n(8993),M=n(7120),D=n(2942),G=n(545),U=n(6956),K=n(6670),J=n(1714),Y=n(8135),Q=n(106),q=n(5021),ee=n(4958),te=n(8842),ne=n(662),re=n(1669),oe=n(6224),ie=n(7517),ae=n(6702),le=n(6035),se=n(9526);const ue="function"==typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0}):void 0,ce=("function"==typeof TextEncoder&&new TextEncoder,Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),de=(()=>{let e={};return ce.forEach((t,n)=>e[t]=n),e})(),fe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,pe=String.fromCharCode.bind(String),he="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),ge=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),me=e=>{let t,n,r,o,i="";const a=e.length%3;for(let l=0;l<e.length;){if((n=e.charCodeAt(l++))>255||(r=e.charCodeAt(l++))>255||(o=e.charCodeAt(l++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=ce[t>>18&63]+ce[t>>12&63]+ce[t>>6&63]+ce[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},ve=(Uint8Array.prototype.toBase64,/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g),be=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return pe((t>>>10)+55296)+pe(56320+(1023&t));case 3:return pe((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return pe((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},ye=e=>e.replace(ve,be),Ae=e=>{if(e=e.replace(/\s+/g,""),!fe.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let o=[];for(let i=0;i<e.length;)t=de[e.charAt(i++)]<<18|de[e.charAt(i++)]<<12|(n=de[e.charAt(i++)])<<6|(r=de[e.charAt(i++)]),64===n?o.push(pe(t>>16&255)):64===r?o.push(pe(t>>16&255,t>>8&255)):o.push(pe(t>>16&255,t>>8&255,255&t));return o.join("")},we="function"==typeof atob?e=>atob(ge(e)):Ae,Ce="function"==typeof Uint8Array.fromBase64?e=>Uint8Array.fromBase64(e):e=>he(we(e).split("").map(e=>e.charCodeAt(0))),xe=ue?e=>ue.decode(Ce(e)):e=>ye(we(e)),_e=e=>ge(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),ke=e=>xe(_e(e)),Se=ke;function Ie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Te={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var l=new o(r,i||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],l]:e._events[s].push(l):(e._events[s]=l,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},l.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,o,i,a){var l=n?n+e:e;if(!this._events[l])return!1;var s,u,c=this._events[l],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,o),!0;case 5:return c.fn.call(c.context,t,r,o,i),!0;case 6:return c.fn.call(c.context,t,r,o,i,a),!0}for(u=1,s=new Array(d-1);u<d;u++)s[u-1]=arguments[u];c.fn.apply(c.context,s)}else{var f,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,r);break;case 4:c[u].fn.call(c[u].context,t,r,o);break;default:if(!s)for(f=1,s=new Array(d-1);f<d;f++)s[f-1]=arguments[f];c[u].fn.apply(c[u].context,s)}}return!0},l.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},l.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},l.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var l=this._events[i];if(l.fn)l.fn!==t||o&&!l.once||r&&l.context!==r||a(this,i);else{for(var s=0,u=[],c=l.length;s<c;s++)(l[s].fn!==t||o&&!l[s].once||r&&l[s].context!==r)&&u.push(l[s]);u.length?this._events[i]=1===u.length?u[0]:u:a(this,i)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,e.exports=l}(Te);var He=Ie(Te.exports);let Pe;!function(){if("browser"!==("undefined"!=typeof window&&void 0!==window.document?"browser":"nodejs"))return null;let e=Se("CgoKInVzZSBzdHJpY3QiO3ZhciB0PUFycmF5LmlzQXJyYXksZT0ib2JqZWN0Ij09dHlwZW9mIGdsb2JhbCYmZ2xvYmFsJiZnbG9iYWwuT2JqZWN0PT09T2JqZWN0JiZnbG9iYWwscj0ib2JqZWN0Ij09dHlwZW9mIHNlbGYmJnNlbGYmJnNlbGYuT2JqZWN0PT09T2JqZWN0JiZzZWxmLG49ZXx8cnx8RnVuY3Rpb24oInJldHVybiB0aGlzIikoKSxvPW4uU3ltYm9sLHU9T2JqZWN0LnByb3RvdHlwZSxjPXUuaGFzT3duUHJvcGVydHksaT11LnRvU3RyaW5nLGE9bz9vLnRvU3RyaW5nVGFnOnZvaWQgMDt2YXIgZj1PYmplY3QucHJvdG90eXBlLnRvU3RyaW5nO3ZhciBsPW8/by50b1N0cmluZ1RhZzp2b2lkIDA7ZnVuY3Rpb24gcyh0KXtyZXR1cm4gbnVsbD09dD92b2lkIDA9PT10PyJbb2JqZWN0IFVuZGVmaW5lZF0iOiJbb2JqZWN0IE51bGxdIjpsJiZsIGluIE9iamVjdCh0KT9mdW5jdGlvbih0KXt2YXIgZT1jLmNhbGwodCxhKSxyPXRbYV07dHJ5e3RbYV09dm9pZCAwO3ZhciBuPSEwfWNhdGNoKHQpe312YXIgbz1pLmNhbGwodCk7cmV0dXJuIG4mJihlP3RbYV09cjpkZWxldGUgdFthXSksb30odCk6ZnVuY3Rpb24odCl7cmV0dXJuIGYuY2FsbCh0KX0odCl9ZnVuY3Rpb24gcCh0KXtyZXR1cm4gbnVsbCE9dCYmIm9iamVjdCI9PXR5cGVvZiB0fWZ1bmN0aW9uIGIodCl7cmV0dXJuInN5bWJvbCI9PXR5cGVvZiB0fHxwKHQpJiYiW29iamVjdCBTeW1ib2xdIj09cyh0KX12YXIgeT0vXC58XFsoPzpbXltcXV0qfChbIiddKSg/Oig/IVwxKVteXFxdfFxcLikqP1wxKVxdLyx2PS9eXHcqJC87ZnVuY3Rpb24gaCh0KXt2YXIgZT10eXBlb2YgdDtyZXR1cm4gbnVsbCE9dCYmKCJvYmplY3QiPT1lfHwiZnVuY3Rpb24iPT1lKX1mdW5jdGlvbiBqKHQpe2lmKCFoKHQpKXJldHVybiExO3ZhciBlPXModCk7cmV0dXJuIltvYmplY3QgRnVuY3Rpb25dIj09ZXx8IltvYmplY3QgR2VuZXJhdG9yRnVuY3Rpb25dIj09ZXx8IltvYmplY3QgQXN5bmNGdW5jdGlvbl0iPT1lfHwiW29iamVjdCBQcm94eV0iPT1lfXZhciBkLF89blsiX19jb3JlLWpzX3NoYXJlZF9fIl0sZz0oZD0vW14uXSskLy5leGVjKF8mJl8ua2V5cyYmXy5rZXlzLklFX1BST1RPfHwiIikpPyJTeW1ib2woc3JjKV8xLiIrZDoiIjt2YXIgTz1GdW5jdGlvbi5wcm90b3R5cGUudG9TdHJpbmc7ZnVuY3Rpb24gbSh0KXtpZihudWxsIT10KXt0cnl7cmV0dXJuIE8uY2FsbCh0KX1jYXRjaCh0KXt9dHJ5e3JldHVybiB0KyIifWNhdGNoKHQpe319cmV0dXJuIiJ9dmFyIHc9L15cW29iamVjdCAuKz9Db25zdHJ1Y3RvclxdJC8sQT1GdW5jdGlvbi5wcm90b3R5cGUseD1PYmplY3QucHJvdG90eXBlLFM9QS50b1N0cmluZyx6PXguaGFzT3duUHJvcGVydHksUD1SZWdFeHAoIl4iK1MuY2FsbCh6KS5yZXBsYWNlKC9bXFxeJC4qKz8oKVtcXXt9fF0vZywiXFwkJiIpLnJlcGxhY2UoL2hhc093blByb3BlcnR5fChmdW5jdGlvbikuKj8oPz1cXFwoKXwgZm9yIC4rPyg/PVxcXF0pL2csIiQxLio/IikrIiQiKTtmdW5jdGlvbiBJKHQpe3JldHVybiEoIWgodCl8fChlPXQsZyYmZyBpbiBlKSkmJihqKHQpP1A6dykudGVzdChtKHQpKTt2YXIgZX1mdW5jdGlvbiBFKHQsZSl7dmFyIHI9ZnVuY3Rpb24odCxlKXtyZXR1cm4gbnVsbD09dD92b2lkIDA6dFtlXX0odCxlKTtyZXR1cm4gSShyKT9yOnZvaWQgMH12YXIgRj1FKE9iamVjdCwiY3JlYXRlIik7dmFyIFU9T2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eTt2YXIgTT1PYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5O2Z1bmN0aW9uICQodCl7dmFyIGU9LTEscj1udWxsPT10PzA6dC5sZW5ndGg7Zm9yKHRoaXMuY2xlYXIoKTsrK2U8cjspe3ZhciBuPXRbZV07dGhpcy5zZXQoblswXSxuWzFdKX19ZnVuY3Rpb24gQih0LGUpe3JldHVybiB0PT09ZXx8dCE9dCYmZSE9ZX1mdW5jdGlvbiBUKHQsZSl7Zm9yKHZhciByPXQubGVuZ3RoO3ItLTspaWYoQih0W3JdWzBdLGUpKXJldHVybiByO3JldHVybi0xfSQucHJvdG90eXBlLmNsZWFyPWZ1bmN0aW9uKCl7dGhpcy5fX2RhdGFfXz1GP0YobnVsbCk6e30sdGhpcy5zaXplPTB9LCQucHJvdG90eXBlLmRlbGV0ZT1mdW5jdGlvbih0KXt2YXIgZT10aGlzLmhhcyh0KSYmZGVsZXRlIHRoaXMuX19kYXRhX19bdF07cmV0dXJuIHRoaXMuc2l6ZS09ZT8xOjAsZX0sJC5wcm90b3R5cGUuZ2V0PWZ1bmN0aW9uKHQpe3ZhciBlPXRoaXMuX19kYXRhX187aWYoRil7dmFyIHI9ZVt0XTtyZXR1cm4iX19sb2Rhc2hfaGFzaF91bmRlZmluZWRfXyI9PT1yP3ZvaWQgMDpyfXJldHVybiBVLmNhbGwoZSx0KT9lW3RdOnZvaWQgMH0sJC5wcm90b3R5cGUuaGFzPWZ1bmN0aW9uKHQpe3ZhciBlPXRoaXMuX19kYXRhX187cmV0dXJuIEY/dm9pZCAwIT09ZVt0XTpNLmNhbGwoZSx0KX0sJC5wcm90b3R5cGUuc2V0PWZ1bmN0aW9uKHQsZSl7dmFyIHI9dGhpcy5fX2RhdGFfXztyZXR1cm4gdGhpcy5zaXplKz10aGlzLmhhcyh0KT8wOjEsclt0XT1GJiZ2b2lkIDA9PT1lPyJfX2xvZGFzaF9oYXNoX3VuZGVmaW5lZF9fIjplLHRoaXN9O3ZhciBOPUFycmF5LnByb3RvdHlwZS5zcGxpY2U7ZnVuY3Rpb24gayh0KXt2YXIgZT0tMSxyPW51bGw9PXQ/MDp0Lmxlbmd0aDtmb3IodGhpcy5jbGVhcigpOysrZTxyOyl7dmFyIG49dFtlXTt0aGlzLnNldChuWzBdLG5bMV0pfX1rLnByb3RvdHlwZS5jbGVhcj1mdW5jdGlvbigpe3RoaXMuX19kYXRhX189W10sdGhpcy5zaXplPTB9LGsucHJvdG90eXBlLmRlbGV0ZT1mdW5jdGlvbih0KXt2YXIgZT10aGlzLl9fZGF0YV9fLHI9VChlLHQpO3JldHVybiEocjwwKSYmKHI9PWUubGVuZ3RoLTE/ZS5wb3AoKTpOLmNhbGwoZSxyLDEpLC0tdGhpcy5zaXplLCEwKX0say5wcm90b3R5cGUuZ2V0PWZ1bmN0aW9uKHQpe3ZhciBlPXRoaXMuX19kYXRhX18scj1UKGUsdCk7cmV0dXJuIHI8MD92b2lkIDA6ZVtyXVsxXX0say5wcm90b3R5cGUuaGFzPWZ1bmN0aW9uKHQpe3JldHVybiBUKHRoaXMuX19kYXRhX18sdCk+LTF9LGsucHJvdG90eXBlLnNldD1mdW5jdGlvbih0LGUpe3ZhciByPXRoaXMuX19kYXRhX18sbj1UKHIsdCk7cmV0dXJuIG48MD8oKyt0aGlzLnNpemUsci5wdXNoKFt0LGVdKSk6cltuXVsxXT1lLHRoaXN9O3ZhciBDPUUobiwiTWFwIik7ZnVuY3Rpb24gRCh0LGUpe3ZhciByLG4sbz10Ll9fZGF0YV9fO3JldHVybigic3RyaW5nIj09KG49dHlwZW9mKHI9ZSkpfHwibnVtYmVyIj09bnx8InN5bWJvbCI9PW58fCJib29sZWFuIj09bj8iX19wcm90b19fIiE9PXI6bnVsbD09PXIpP29bInN0cmluZyI9PXR5cGVvZiBlPyJzdHJpbmciOiJoYXNoIl06by5tYXB9ZnVuY3Rpb24gUih0KXt2YXIgZT0tMSxyPW51bGw9PXQ/MDp0Lmxlbmd0aDtmb3IodGhpcy5jbGVhcigpOysrZTxyOyl7dmFyIG49dFtlXTt0aGlzLnNldChuWzBdLG5bMV0pfX1SLnByb3RvdHlwZS5jbGVhcj1mdW5jdGlvbigpe3RoaXMuc2l6ZT0wLHRoaXMuX19kYXRhX189e2hhc2g6bmV3ICQsbWFwOm5ldyhDfHxrKSxzdHJpbmc6bmV3ICR9fSxSLnByb3RvdHlwZS5kZWxldGU9ZnVuY3Rpb24odCl7dmFyIGU9RCh0aGlzLHQpLmRlbGV0ZSh0KTtyZXR1cm4gdGhpcy5zaXplLT1lPzE6MCxlfSxSLnByb3RvdHlwZS5nZXQ9ZnVuY3Rpb24odCl7cmV0dXJuIEQodGhpcyx0KS5nZXQodCl9LFIucHJvdG90eXBlLmhhcz1mdW5jdGlvbih0KXtyZXR1cm4gRCh0aGlzLHQpLmhhcyh0KX0sUi5wcm90b3R5cGUuc2V0PWZ1bmN0aW9uKHQsZSl7dmFyIHI9RCh0aGlzLHQpLG49ci5zaXplO3JldHVybiByLnNldCh0LGUpLHRoaXMuc2l6ZSs9ci5zaXplPT1uPzA6MSx0aGlzfTtmdW5jdGlvbiBWKHQsZSl7aWYoImZ1bmN0aW9uIiE9dHlwZW9mIHR8fG51bGwhPWUmJiJmdW5jdGlvbiIhPXR5cGVvZiBlKXRocm93IG5ldyBUeXBlRXJyb3IoIkV4cGVjdGVkIGEgZnVuY3Rpb24iKTt2YXIgcj1mdW5jdGlvbigpe3ZhciBuPWFyZ3VtZW50cyxvPWU/ZS5hcHBseSh0aGlzLG4pOm5bMF0sdT1yLmNhY2hlO2lmKHUuaGFzKG8pKXJldHVybiB1LmdldChvKTt2YXIgYz10LmFwcGx5KHRoaXMsbik7cmV0dXJuIHIuY2FjaGU9dS5zZXQobyxjKXx8dSxjfTtyZXR1cm4gci5jYWNoZT1uZXcoVi5DYWNoZXx8Uikscn1WLkNhY2hlPVI7dmFyIFcsTCxxLEc9L1teLltcXV0rfFxbKD86KC0/XGQrKD86XC5cZCspPyl8KFsiJ10pKCg/Oig/IVwyKVteXFxdfFxcLikqPylcMilcXXwoPz0oPzpcLnxcW1xdKSg/OlwufFxbXF18JCkpL2csSz0vXFwoXFwpPy9nLEg9KFc9ZnVuY3Rpb24odCl7dmFyIGU9W107cmV0dXJuIDQ2PT09dC5jaGFyQ29kZUF0KDApJiZlLnB1c2goIiIpLHQucmVwbGFjZShHLGZ1bmN0aW9uKHQscixuLG8pe2UucHVzaChuP28ucmVwbGFjZShLLCIkMSIpOnJ8fHQpfSksZX0sTD1WKFcsZnVuY3Rpb24odCl7cmV0dXJuIDUwMD09PXEuc2l6ZSYmcS5jbGVhcigpLHR9KSxxPUwuY2FjaGUsTCksSj1IO3ZhciBRPW8/by5wcm90b3R5cGU6dm9pZCAwLFg9UT9RLnRvU3RyaW5nOnZvaWQgMDtmdW5jdGlvbiBZKGUpe2lmKCJzdHJpbmciPT10eXBlb2YgZSlyZXR1cm4gZTtpZih0KGUpKXJldHVybiBmdW5jdGlvbih0LGUpe2Zvcih2YXIgcj0tMSxuPW51bGw9PXQ/MDp0Lmxlbmd0aCxvPUFycmF5KG4pOysrcjxuOylvW3JdPWUodFtyXSxyLHQpO3JldHVybiBvfShlLFkpKyIiO2lmKGIoZSkpcmV0dXJuIFg/WC5jYWxsKGUpOiIiO3ZhciByPWUrIiI7cmV0dXJuIjAiPT1yJiYxL2U9PS0xLzA/Ii0wIjpyfWZ1bmN0aW9uIFooZSxyKXtyZXR1cm4gdChlKT9lOmZ1bmN0aW9uKGUscil7aWYodChlKSlyZXR1cm4hMTt2YXIgbj10eXBlb2YgZTtyZXR1cm4hKCJudW1iZXIiIT1uJiYic3ltYm9sIiE9biYmImJvb2xlYW4iIT1uJiZudWxsIT1lJiYhYihlKSl8fHYudGVzdChlKXx8IXkudGVzdChlKXx8bnVsbCE9ciYmZSBpbiBPYmplY3Qocil9KGUscik/W2VdOkooZnVuY3Rpb24odCl7cmV0dXJuIG51bGw9PXQ/IiI6WSh0KX0oZSkpfWZ1bmN0aW9uIHR0KHQpe2lmKCJzdHJpbmciPT10eXBlb2YgdHx8Yih0KSlyZXR1cm4gdDt2YXIgZT10KyIiO3JldHVybiIwIj09ZSYmMS90PT0tMS8wPyItMCI6ZX1mdW5jdGlvbiBldCh0LGUscil7dmFyIG49bnVsbD09dD92b2lkIDA6ZnVuY3Rpb24odCxlKXtmb3IodmFyIHI9MCxuPShlPVooZSx0KSkubGVuZ3RoO251bGwhPXQmJnI8bjspdD10W3R0KGVbcisrXSldO3JldHVybiByJiZyPT1uP3Q6dm9pZCAwfSh0LGUpO3JldHVybiB2b2lkIDA9PT1uP3I6bn12YXIgcnQ9T2JqZWN0LnByb3RvdHlwZTtmdW5jdGlvbiBudCh0KXt2YXIgZT10JiZ0LmNvbnN0cnVjdG9yO3JldHVybiB0PT09KCJmdW5jdGlvbiI9PXR5cGVvZiBlJiZlLnByb3RvdHlwZXx8cnQpfWZ1bmN0aW9uIG90KHQsZSl7cmV0dXJuIGZ1bmN0aW9uKHIpe3JldHVybiB0KGUocikpfX12YXIgdXQ9b3QoT2JqZWN0LmtleXMsT2JqZWN0KSxjdD1PYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5O2Z1bmN0aW9uIGl0KHQpe2lmKCFudCh0KSlyZXR1cm4gdXQodCk7dmFyIGU9W107Zm9yKHZhciByIGluIE9iamVjdCh0KSljdC5jYWxsKHQscikmJiJjb25zdHJ1Y3RvciIhPXImJmUucHVzaChyKTtyZXR1cm4gZX12YXIgYXQ9RShuLCJEYXRhVmlldyIpLGZ0PUUobiwiUHJvbWlzZSIpLGx0PUUobiwiU2V0Iiksc3Q9RShuLCJXZWFrTWFwIikscHQ9IltvYmplY3QgTWFwXSIsYnQ9IltvYmplY3QgUHJvbWlzZV0iLHl0PSJbb2JqZWN0IFNldF0iLHZ0PSJbb2JqZWN0IFdlYWtNYXBdIixodD0iW29iamVjdCBEYXRhVmlld10iLGp0PW0oYXQpLGR0PW0oQyksX3Q9bShmdCksZ3Q9bShsdCksT3Q9bShzdCksbXQ9czsoYXQmJm10KG5ldyBhdChuZXcgQXJyYXlCdWZmZXIoMSkpKSE9aHR8fEMmJm10KG5ldyBDKSE9cHR8fGZ0JiZtdChmdC5yZXNvbHZlKCkpIT1idHx8bHQmJm10KG5ldyBsdCkhPXl0fHxzdCYmbXQobmV3IHN0KSE9dnQpJiYobXQ9ZnVuY3Rpb24odCl7dmFyIGU9cyh0KSxyPSJbb2JqZWN0IE9iamVjdF0iPT1lP3QuY29uc3RydWN0b3I6dm9pZCAwLG49cj9tKHIpOiIiO2lmKG4pc3dpdGNoKG4pe2Nhc2UganQ6cmV0dXJuIGh0O2Nhc2UgZHQ6cmV0dXJuIHB0O2Nhc2UgX3Q6cmV0dXJuIGJ0O2Nhc2UgZ3Q6cmV0dXJuIHl0O2Nhc2UgT3Q6cmV0dXJuIHZ0fXJldHVybiBlfSk7dmFyIHd0PW10O2Z1bmN0aW9uIEF0KHQpe3JldHVybiJudW1iZXIiPT10eXBlb2YgdCYmdD4tMSYmdCUxPT0wJiZ0PD05MDA3MTk5MjU0NzQwOTkxfWZ1bmN0aW9uIHh0KHQpe3JldHVybiBudWxsIT10JiZBdCh0Lmxlbmd0aCkmJiFqKHQpfXZhciBTdCx6dD0oU3Q9Imxlbmd0aCIsZnVuY3Rpb24odCl7cmV0dXJuIG51bGw9PXQ/dm9pZCAwOnRbU3RdfSksUHQ9UmVnRXhwKCJbXFx1MjAwZFxcdWQ4MDAtXFx1ZGZmZlxcdTAzMDAtXFx1MDM2ZlxcdWZlMjAtXFx1ZmUyZlxcdTIwZDAtXFx1MjBmZlxcdWZlMGVcXHVmZTBmXSIpO3ZhciBJdD0iXFx1ZDgwMC1cXHVkZmZmIixFdD0iWyIrSXQrIl0iLEZ0PSJbXFx1MDMwMC1cXHUwMzZmXFx1ZmUyMC1cXHVmZTJmXFx1MjBkMC1cXHUyMGZmXSIsVXQ9IlxcdWQ4M2NbXFx1ZGZmYi1cXHVkZmZmXSIsTXQ9IlteIitJdCsiXSIsJHQ9Iig/OlxcdWQ4M2NbXFx1ZGRlNi1cXHVkZGZmXSl7Mn0iLEJ0PSJbXFx1ZDgwMC1cXHVkYmZmXVtcXHVkYzAwLVxcdWRmZmZdIixUdD0iKD86IitGdCsifCIrVXQrIikiKyI/IixOdD0iW1xcdWZlMGVcXHVmZTBmXT8iLGt0PU50K1R0KygiKD86XFx1MjAwZCg/OiIrW010LCR0LEJ0XS5qb2luKCJ8IikrIikiK050K1R0KyIpKiIpLEN0PSIoPzoiK1tNdCtGdCsiPyIsRnQsJHQsQnQsRXRdLmpvaW4oInwiKSsiKSIsRHQ9UmVnRXhwKFV0KyIoPz0iK1V0KyIpfCIrQ3Qra3QsImciKTtmdW5jdGlvbiBSdCh0KXtyZXR1cm4gZnVuY3Rpb24odCl7cmV0dXJuIFB0LnRlc3QodCl9KHQpP2Z1bmN0aW9uKHQpe2Zvcih2YXIgZT1EdC5sYXN0SW5kZXg9MDtEdC50ZXN0KHQpOykrK2U7cmV0dXJuIGV9KHQpOnp0KHQpfWZ1bmN0aW9uIFZ0KGUpe2lmKG51bGw9PWUpcmV0dXJuIDA7aWYoeHQoZSkpcmV0dXJuInN0cmluZyI9PXR5cGVvZihyPWUpfHwhdChyKSYmcChyKSYmIltvYmplY3QgU3RyaW5nXSI9PXMocik/UnQoZSk6ZS5sZW5ndGg7dmFyIHIsbj13dChlKTtyZXR1cm4iW29iamVjdCBNYXBdIj09bnx8IltvYmplY3QgU2V0XSI9PW4/ZS5zaXplOml0KGUpLmxlbmd0aH12YXIgV3Q9TWF0aC5jZWlsLEx0PU1hdGgubWF4O3ZhciBxdD0vXig/OjB8WzEtOV1cZCopJC87ZnVuY3Rpb24gR3QodCxlKXt2YXIgcj10eXBlb2YgdDtyZXR1cm4hIShlPW51bGw9PWU/OTAwNzE5OTI1NDc0MDk5MTplKSYmKCJudW1iZXIiPT1yfHwic3ltYm9sIiE9ciYmcXQudGVzdCh0KSkmJnQ+LTEmJnQlMT09MCYmdDxlfXZhciBLdD0vXHMvO3ZhciBIdD0vXlxzKy87ZnVuY3Rpb24gSnQodCl7cmV0dXJuIHQ/dC5zbGljZSgwLGZ1bmN0aW9uKHQpe2Zvcih2YXIgZT10Lmxlbmd0aDtlLS0mJkt0LnRlc3QodC5jaGFyQXQoZSkpOyk7cmV0dXJuIGV9KHQpKzEpLnJlcGxhY2UoSHQsIiIpOnR9dmFyIFF0PS9eWy0rXTB4WzAtOWEtZl0rJC9pLFh0PS9eMGJbMDFdKyQvaSxZdD0vXjBvWzAtN10rJC9pLFp0PXBhcnNlSW50O3ZhciB0ZT0xLzA7ZnVuY3Rpb24gZWUodCl7cmV0dXJuIHQ/KHQ9ZnVuY3Rpb24odCl7aWYoIm51bWJlciI9PXR5cGVvZiB0KXJldHVybiB0O2lmKGIodCkpcmV0dXJuIE5hTjtpZihoKHQpKXt2YXIgZT0iZnVuY3Rpb24iPT10eXBlb2YgdC52YWx1ZU9mP3QudmFsdWVPZigpOnQ7dD1oKGUpP2UrIiI6ZX1pZigic3RyaW5nIiE9dHlwZW9mIHQpcmV0dXJuIDA9PT10P3Q6K3Q7dD1KdCh0KTt2YXIgcj1YdC50ZXN0KHQpO3JldHVybiByfHxZdC50ZXN0KHQpP1p0KHQuc2xpY2UoMikscj8yOjgpOlF0LnRlc3QodCk/TmFOOit0fSh0KSk9PT10ZXx8dD09PS0xLzA/MTc5NzY5MzEzNDg2MjMxNTdlMjkyKih0PDA/LTE6MSk6dD09dD90OjA6MD09PXQ/dDowfXZhciByZSxuZT1mdW5jdGlvbih0LGUscil7cmV0dXJuIHImJiJudW1iZXIiIT10eXBlb2YgciYmZnVuY3Rpb24odCxlLHIpe2lmKCFoKHIpKXJldHVybiExO3ZhciBuPXR5cGVvZiBlO3JldHVybiEhKCJudW1iZXIiPT1uP3h0KHIpJiZHdChlLHIubGVuZ3RoKToic3RyaW5nIj09biYmZSBpbiByKSYmQihyW2VdLHQpfSh0LGUscikmJihlPXI9dm9pZCAwKSx0PWVlKHQpLHZvaWQgMD09PWU/KGU9dCx0PTApOmU9ZWUoZSksZnVuY3Rpb24odCxlLHIsbil7Zm9yKHZhciBvPS0xLHU9THQoV3QoKGUtdCkvKHJ8fDEpKSwwKSxjPUFycmF5KHUpO3UtLTspY1tuP3U6KytvXT10LHQrPXI7cmV0dXJuIGN9KHQsZSxyPXZvaWQgMD09PXI/dDxlPzE6LTE6ZWUocikscmUpfSxvZT1uZTtmdW5jdGlvbiB1ZSh0KXt2YXIgZT10aGlzLl9fZGF0YV9fPW5ldyBrKHQpO3RoaXMuc2l6ZT1lLnNpemV9dWUucHJvdG90eXBlLmNsZWFyPWZ1bmN0aW9uKCl7dGhpcy5fX2RhdGFfXz1uZXcgayx0aGlzLnNpemU9MH0sdWUucHJvdG90eXBlLmRlbGV0ZT1mdW5jdGlvbih0KXt2YXIgZT10aGlzLl9fZGF0YV9fLHI9ZS5kZWxldGUodCk7cmV0dXJuIHRoaXMuc2l6ZT1lLnNpemUscn0sdWUucHJvdG90eXBlLmdldD1mdW5jdGlvbih0KXtyZXR1cm4gdGhpcy5fX2RhdGFfXy5nZXQodCl9LHVlLnByb3RvdHlwZS5oYXM9ZnVuY3Rpb24odCl7cmV0dXJuIHRoaXMuX19kYXRhX18uaGFzKHQpfSx1ZS5wcm90b3R5cGUuc2V0PWZ1bmN0aW9uKHQsZSl7dmFyIHI9dGhpcy5fX2RhdGFfXztpZihyIGluc3RhbmNlb2Ygayl7dmFyIG49ci5fX2RhdGFfXztpZighQ3x8bi5sZW5ndGg8MTk5KXJldHVybiBuLnB1c2goW3QsZV0pLHRoaXMuc2l6ZT0rK3Iuc2l6ZSx0aGlzO3I9dGhpcy5fX2RhdGFfXz1uZXcgUihuKX1yZXR1cm4gci5zZXQodCxlKSx0aGlzLnNpemU9ci5zaXplLHRoaXN9O3ZhciBjZT1mdW5jdGlvbigpe3RyeXt2YXIgdD1FKE9iamVjdCwiZGVmaW5lUHJvcGVydHkiKTtyZXR1cm4gdCh7fSwiIix7fSksdH1jYXRjaCh0KXt9fSgpLGllPWNlO2Z1bmN0aW9uIGFlKHQsZSxyKXsiX19wcm90b19fIj09ZSYmaWU/aWUodCxlLHtjb25maWd1cmFibGU6ITAsZW51bWVyYWJsZTohMCx2YWx1ZTpyLHdyaXRhYmxlOiEwfSk6dFtlXT1yfXZhciBmZT1PYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5O2Z1bmN0aW9uIGxlKHQsZSxyKXt2YXIgbj10W2VdO2ZlLmNhbGwodCxlKSYmQihuLHIpJiYodm9pZCAwIT09cnx8ZSBpbiB0KXx8YWUodCxlLHIpfWZ1bmN0aW9uIHNlKHQsZSxyLG4pe3ZhciBvPSFyO3J8fChyPXt9KTtmb3IodmFyIHU9LTEsYz1lLmxlbmd0aDsrK3U8Yzspe3ZhciBpPWVbdV0sYT1uP24ocltpXSx0W2ldLGkscix0KTp2b2lkIDA7dm9pZCAwPT09YSYmKGE9dFtpXSksbz9hZShyLGksYSk6bGUocixpLGEpfXJldHVybiByfWZ1bmN0aW9uIHBlKHQpe3JldHVybiBwKHQpJiYiW29iamVjdCBBcmd1bWVudHNdIj09cyh0KX12YXIgYmU9T2JqZWN0LnByb3RvdHlwZSx5ZT1iZS5oYXNPd25Qcm9wZXJ0eSx2ZT1iZS5wcm9wZXJ0eUlzRW51bWVyYWJsZSxoZT1wZShmdW5jdGlvbigpe3JldHVybiBhcmd1bWVudHN9KCkpP3BlOmZ1bmN0aW9uKHQpe3JldHVybiBwKHQpJiZ5ZS5jYWxsKHQsImNhbGxlZSIpJiYhdmUuY2FsbCh0LCJjYWxsZWUiKX07dmFyIGplPSJvYmplY3QiPT10eXBlb2YgZXhwb3J0cyYmZXhwb3J0cyYmIWV4cG9ydHMubm9kZVR5cGUmJmV4cG9ydHMsZGU9amUmJiJvYmplY3QiPT10eXBlb2YgbW9kdWxlJiZtb2R1bGUmJiFtb2R1bGUubm9kZVR5cGUmJm1vZHVsZSxfZT1kZSYmZGUuZXhwb3J0cz09PWplP24uQnVmZmVyOnZvaWQgMCxnZT0oX2U/X2UuaXNCdWZmZXI6dm9pZCAwKXx8ZnVuY3Rpb24oKXtyZXR1cm4hMX0sT2U9e307ZnVuY3Rpb24gbWUodCl7cmV0dXJuIGZ1bmN0aW9uKGUpe3JldHVybiB0KGUpfX1PZVsiW29iamVjdCBGbG9hdDMyQXJyYXldIl09T2VbIltvYmplY3QgRmxvYXQ2NEFycmF5XSJdPU9lWyJbb2JqZWN0IEludDhBcnJheV0iXT1PZVsiW29iamVjdCBJbnQxNkFycmF5XSJdPU9lWyJbb2JqZWN0IEludDMyQXJyYXldIl09T2VbIltvYmplY3QgVWludDhBcnJheV0iXT1PZVsiW29iamVjdCBVaW50OENsYW1wZWRBcnJheV0iXT1PZVsiW29iamVjdCBVaW50MTZBcnJheV0iXT1PZVsiW29iamVjdCBVaW50MzJBcnJheV0iXT0hMCxPZVsiW29iamVjdCBBcmd1bWVudHNdIl09T2VbIltvYmplY3QgQXJyYXldIl09T2VbIltvYmplY3QgQXJyYXlCdWZmZXJdIl09T2VbIltvYmplY3QgQm9vbGVhbl0iXT1PZVsiW29iamVjdCBEYXRhVmlld10iXT1PZVsiW29iamVjdCBEYXRlXSJdPU9lWyJbb2JqZWN0IEVycm9yXSJdPU9lWyJbb2JqZWN0IEZ1bmN0aW9uXSJdPU9lWyJbb2JqZWN0IE1hcF0iXT1PZVsiW29iamVjdCBOdW1iZXJdIl09T2VbIltvYmplY3QgT2JqZWN0XSJdPU9lWyJbb2JqZWN0IFJlZ0V4cF0iXT1PZVsiW29iamVjdCBTZXRdIl09T2VbIltvYmplY3QgU3RyaW5nXSJdPU9lWyJbb2JqZWN0IFdlYWtNYXBdIl09ITE7dmFyIHdlPSJvYmplY3QiPT10eXBlb2YgZXhwb3J0cyYmZXhwb3J0cyYmIWV4cG9ydHMubm9kZVR5cGUmJmV4cG9ydHMsQWU9d2UmJiJvYmplY3QiPT10eXBlb2YgbW9kdWxlJiZtb2R1bGUmJiFtb2R1bGUubm9kZVR5cGUmJm1vZHVsZSx4ZT1BZSYmQWUuZXhwb3J0cz09PXdlJiZlLnByb2Nlc3MsU2U9ZnVuY3Rpb24oKXt0cnl7dmFyIHQ9QWUmJkFlLnJlcXVpcmUmJkFlLnJlcXVpcmUoInV0aWwiKS50eXBlcztyZXR1cm4gdHx8eGUmJnhlLmJpbmRpbmcmJnhlLmJpbmRpbmcoInV0aWwiKX1jYXRjaCh0KXt9fSgpLHplPVNlJiZTZS5pc1R5cGVkQXJyYXksUGU9emU/bWUoemUpOmZ1bmN0aW9uKHQpe3JldHVybiBwKHQpJiZBdCh0Lmxlbmd0aCkmJiEhT2Vbcyh0KV19LEllPU9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHk7ZnVuY3Rpb24gRWUoZSxyKXt2YXIgbj10KGUpLG89IW4mJmhlKGUpLHU9IW4mJiFvJiZnZShlKSxjPSFuJiYhbyYmIXUmJlBlKGUpLGk9bnx8b3x8dXx8YyxhPWk/ZnVuY3Rpb24odCxlKXtmb3IodmFyIHI9LTEsbj1BcnJheSh0KTsrK3I8dDspbltyXT1lKHIpO3JldHVybiBufShlLmxlbmd0aCxTdHJpbmcpOltdLGY9YS5sZW5ndGg7Zm9yKHZhciBsIGluIGUpIXImJiFJZS5jYWxsKGUsbCl8fGkmJigibGVuZ3RoIj09bHx8dSYmKCJvZmZzZXQiPT1sfHwicGFyZW50Ij09bCl8fGMmJigiYnVmZmVyIj09bHx8ImJ5dGVMZW5ndGgiPT1sfHwiYnl0ZU9mZnNldCI9PWwpfHxHdChsLGYpKXx8YS5wdXNoKGwpO3JldHVybiBhfWZ1bmN0aW9uIEZlKHQpe3JldHVybiB4dCh0KT9FZSh0KTppdCh0KX12YXIgVWU9T2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eTtmdW5jdGlvbiBNZSh0KXtpZighaCh0KSlyZXR1cm4gZnVuY3Rpb24odCl7dmFyIGU9W107aWYobnVsbCE9dClmb3IodmFyIHIgaW4gT2JqZWN0KHQpKWUucHVzaChyKTtyZXR1cm4gZX0odCk7dmFyIGU9bnQodCkscj1bXTtmb3IodmFyIG4gaW4gdCkoImNvbnN0cnVjdG9yIiE9bnx8IWUmJlVlLmNhbGwodCxuKSkmJnIucHVzaChuKTtyZXR1cm4gcn1mdW5jdGlvbiAkZSh0KXtyZXR1cm4geHQodCk/RWUodCwhMCk6TWUodCl9dmFyIEJlPSJvYmplY3QiPT10eXBlb2YgZXhwb3J0cyYmZXhwb3J0cyYmIWV4cG9ydHMubm9kZVR5cGUmJmV4cG9ydHMsVGU9QmUmJiJvYmplY3QiPT10eXBlb2YgbW9kdWxlJiZtb2R1bGUmJiFtb2R1bGUubm9kZVR5cGUmJm1vZHVsZSxOZT1UZSYmVGUuZXhwb3J0cz09PUJlP24uQnVmZmVyOnZvaWQgMCxrZT1OZT9OZS5hbGxvY1Vuc2FmZTp2b2lkIDA7ZnVuY3Rpb24gQ2UoKXtyZXR1cm5bXX12YXIgRGU9T2JqZWN0LnByb3RvdHlwZS5wcm9wZXJ0eUlzRW51bWVyYWJsZSxSZT1PYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzLFZlPVJlP2Z1bmN0aW9uKHQpe3JldHVybiBudWxsPT10P1tdOih0PU9iamVjdCh0KSxmdW5jdGlvbih0LGUpe2Zvcih2YXIgcj0tMSxuPW51bGw9PXQ/MDp0Lmxlbmd0aCxvPTAsdT1bXTsrK3I8bjspe3ZhciBjPXRbcl07ZShjLHIsdCkmJih1W28rK109Yyl9cmV0dXJuIHV9KFJlKHQpLGZ1bmN0aW9uKGUpe3JldHVybiBEZS5jYWxsKHQsZSl9KSl9OkNlLFdlPVZlO2Z1bmN0aW9uIExlKHQsZSl7Zm9yKHZhciByPS0xLG49ZS5sZW5ndGgsbz10Lmxlbmd0aDsrK3I8bjspdFtvK3JdPWVbcl07cmV0dXJuIHR9dmFyIHFlPW90KE9iamVjdC5nZXRQcm90b3R5cGVPZixPYmplY3QpLEdlPU9iamVjdC5nZXRPd25Qcm9wZXJ0eVN5bWJvbHM/ZnVuY3Rpb24odCl7Zm9yKHZhciBlPVtdO3Q7KUxlKGUsV2UodCkpLHQ9cWUodCk7cmV0dXJuIGV9OkNlLEtlPUdlO2Z1bmN0aW9uIEhlKGUscixuKXt2YXIgbz1yKGUpO3JldHVybiB0KGUpP286TGUobyxuKGUpKX1mdW5jdGlvbiBKZSh0KXtyZXR1cm4gSGUodCxGZSxXZSl9ZnVuY3Rpb24gUWUodCl7cmV0dXJuIEhlKHQsJGUsS2UpfXZhciBYZT1PYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5O3ZhciBZZT1uLlVpbnQ4QXJyYXk7ZnVuY3Rpb24gWmUodCl7dmFyIGU9bmV3IHQuY29uc3RydWN0b3IodC5ieXRlTGVuZ3RoKTtyZXR1cm4gbmV3IFllKGUpLnNldChuZXcgWWUodCkpLGV9dmFyIHRyPS9cdyokLzt2YXIgZXI9bz9vLnByb3RvdHlwZTp2b2lkIDAscnI9ZXI/ZXIudmFsdWVPZjp2b2lkIDA7ZnVuY3Rpb24gbnIodCxlLHIpe3ZhciBuLG89dC5jb25zdHJ1Y3Rvcjtzd2l0Y2goZSl7Y2FzZSJbb2JqZWN0IEFycmF5QnVmZmVyXSI6cmV0dXJuIFplKHQpO2Nhc2UiW29iamVjdCBCb29sZWFuXSI6Y2FzZSJbb2JqZWN0IERhdGVdIjpyZXR1cm4gbmV3IG8oK3QpO2Nhc2UiW29iamVjdCBEYXRhVmlld10iOnJldHVybiBmdW5jdGlvbih0LGUpe3ZhciByPWU/WmUodC5idWZmZXIpOnQuYnVmZmVyO3JldHVybiBuZXcgdC5jb25zdHJ1Y3RvcihyLHQuYnl0ZU9mZnNldCx0LmJ5dGVMZW5ndGgpfSh0LHIpO2Nhc2UiW29iamVjdCBGbG9hdDMyQXJyYXldIjpjYXNlIltvYmplY3QgRmxvYXQ2NEFycmF5XSI6Y2FzZSJbb2JqZWN0IEludDhBcnJheV0iOmNhc2UiW29iamVjdCBJbnQxNkFycmF5XSI6Y2FzZSJbb2JqZWN0IEludDMyQXJyYXldIjpjYXNlIltvYmplY3QgVWludDhBcnJheV0iOmNhc2UiW29iamVjdCBVaW50OENsYW1wZWRBcnJheV0iOmNhc2UiW29iamVjdCBVaW50MTZBcnJheV0iOmNhc2UiW29iamVjdCBVaW50MzJBcnJheV0iOnJldHVybiBmdW5jdGlvbih0LGUpe3ZhciByPWU/WmUodC5idWZmZXIpOnQuYnVmZmVyO3JldHVybiBuZXcgdC5jb25zdHJ1Y3RvcihyLHQuYnl0ZU9mZnNldCx0Lmxlbmd0aCl9KHQscik7Y2FzZSJbb2JqZWN0IE1hcF0iOmNhc2UiW29iamVjdCBTZXRdIjpyZXR1cm4gbmV3IG87Y2FzZSJbb2JqZWN0IE51bWJlcl0iOmNhc2UiW29iamVjdCBTdHJpbmddIjpyZXR1cm4gbmV3IG8odCk7Y2FzZSJbb2JqZWN0IFJlZ0V4cF0iOnJldHVybiBmdW5jdGlvbih0KXt2YXIgZT1uZXcgdC5jb25zdHJ1Y3Rvcih0LnNvdXJjZSx0ci5leGVjKHQpKTtyZXR1cm4gZS5sYXN0SW5kZXg9dC5sYXN0SW5kZXgsZX0odCk7Y2FzZSJbb2JqZWN0IFN5bWJvbF0iOnJldHVybiBuPXQscnI/T2JqZWN0KHJyLmNhbGwobikpOnt9fX12YXIgb3I9T2JqZWN0LmNyZWF0ZSx1cj1mdW5jdGlvbigpe2Z1bmN0aW9uIHQoKXt9cmV0dXJuIGZ1bmN0aW9uKGUpe2lmKCFoKGUpKXJldHVybnt9O2lmKG9yKXJldHVybiBvcihlKTt0LnByb3RvdHlwZT1lO3ZhciByPW5ldyB0O3JldHVybiB0LnByb3RvdHlwZT12b2lkIDAscn19KCksY3I9dXI7dmFyIGlyPVNlJiZTZS5pc01hcCxhcj1pcj9tZShpcik6ZnVuY3Rpb24odCl7cmV0dXJuIHAodCkmJiJbb2JqZWN0IE1hcF0iPT13dCh0KX07dmFyIGZyPVNlJiZTZS5pc1NldCxscj1mcj9tZShmcik6ZnVuY3Rpb24odCl7cmV0dXJuIHAodCkmJiJbb2JqZWN0IFNldF0iPT13dCh0KX0sc3I9IltvYmplY3QgQXJndW1lbnRzXSIscHI9IltvYmplY3QgRnVuY3Rpb25dIixicj0iW29iamVjdCBPYmplY3RdIix5cj17fTtmdW5jdGlvbiB2cihlLHIsbixvLHUsYyl7dmFyIGksYT0xJnIsZj0yJnIsbD00JnI7aWYobiYmKGk9dT9uKGUsbyx1LGMpOm4oZSkpLHZvaWQgMCE9PWkpcmV0dXJuIGk7aWYoIWgoZSkpcmV0dXJuIGU7dmFyIHM9dChlKTtpZihzKXtpZihpPWZ1bmN0aW9uKHQpe3ZhciBlPXQubGVuZ3RoLHI9bmV3IHQuY29uc3RydWN0b3IoZSk7cmV0dXJuIGUmJiJzdHJpbmciPT10eXBlb2YgdFswXSYmWGUuY2FsbCh0LCJpbmRleCIpJiYoci5pbmRleD10LmluZGV4LHIuaW5wdXQ9dC5pbnB1dCkscn0oZSksIWEpcmV0dXJuIGZ1bmN0aW9uKHQsZSl7dmFyIHI9LTEsbj10Lmxlbmd0aDtmb3IoZXx8KGU9QXJyYXkobikpOysrcjxuOyllW3JdPXRbcl07cmV0dXJuIGV9KGUsaSl9ZWxzZXt2YXIgcD13dChlKSxiPXA9PXByfHwiW29iamVjdCBHZW5lcmF0b3JGdW5jdGlvbl0iPT1wO2lmKGdlKGUpKXJldHVybiBmdW5jdGlvbih0LGUpe2lmKGUpcmV0dXJuIHQuc2xpY2UoKTt2YXIgcj10Lmxlbmd0aCxuPWtlP2tlKHIpOm5ldyB0LmNvbnN0cnVjdG9yKHIpO3JldHVybiB0LmNvcHkobiksbn0oZSxhKTtpZihwPT1icnx8cD09c3J8fGImJiF1KXtpZihpPWZ8fGI/e306ZnVuY3Rpb24odCl7cmV0dXJuImZ1bmN0aW9uIiE9dHlwZW9mIHQuY29uc3RydWN0b3J8fG50KHQpP3t9OmNyKHFlKHQpKX0oZSksIWEpcmV0dXJuIGY/ZnVuY3Rpb24odCxlKXtyZXR1cm4gc2UodCxLZSh0KSxlKX0oZSxmdW5jdGlvbih0LGUpe3JldHVybiB0JiZzZShlLCRlKGUpLHQpfShpLGUpKTpmdW5jdGlvbih0LGUpe3JldHVybiBzZSh0LFdlKHQpLGUpfShlLGZ1bmN0aW9uKHQsZSl7cmV0dXJuIHQmJnNlKGUsRmUoZSksdCl9KGksZSkpfWVsc2V7aWYoIXlyW3BdKXJldHVybiB1P2U6e307aT1ucihlLHAsYSl9fWN8fChjPW5ldyB1ZSk7dmFyIHk9Yy5nZXQoZSk7aWYoeSlyZXR1cm4geTtjLnNldChlLGkpLGxyKGUpP2UuZm9yRWFjaChmdW5jdGlvbih0KXtpLmFkZCh2cih0LHIsbix0LGUsYykpfSk6YXIoZSkmJmUuZm9yRWFjaChmdW5jdGlvbih0LG8pe2kuc2V0KG8sdnIodCxyLG4sbyxlLGMpKX0pO3ZhciB2PXM/dm9pZCAwOihsP2Y/UWU6SmU6Zj8kZTpGZSkoZSk7cmV0dXJuIGZ1bmN0aW9uKHQsZSl7Zm9yKHZhciByPS0xLG49bnVsbD09dD8wOnQubGVuZ3RoOysrcjxuJiYhMSE9PWUodFtyXSxyLHQpOyk7fSh2fHxlLGZ1bmN0aW9uKHQsbyl7diYmKHQ9ZVtvPXRdKSxsZShpLG8sdnIodCxyLG4sbyxlLGMpKX0pLGl9eXJbc3JdPXlyWyJbb2JqZWN0IEFycmF5XSJdPXlyWyJbb2JqZWN0IEFycmF5QnVmZmVyXSJdPXlyWyJbb2JqZWN0IERhdGFWaWV3XSJdPXlyWyJbb2JqZWN0IEJvb2xlYW5dIl09eXJbIltvYmplY3QgRGF0ZV0iXT15clsiW29iamVjdCBGbG9hdDMyQXJyYXldIl09eXJbIltvYmplY3QgRmxvYXQ2NEFycmF5XSJdPXlyWyJbb2JqZWN0IEludDhBcnJheV0iXT15clsiW29iamVjdCBJbnQxNkFycmF5XSJdPXlyWyJbb2JqZWN0IEludDMyQXJyYXldIl09eXJbIltvYmplY3QgTWFwXSJdPXlyWyJbb2JqZWN0IE51bWJlcl0iXT15clticl09eXJbIltvYmplY3QgUmVnRXhwXSJdPXlyWyJbb2JqZWN0IFNldF0iXT15clsiW29iamVjdCBTdHJpbmddIl09eXJbIltvYmplY3QgU3ltYm9sXSJdPXlyWyJbb2JqZWN0IFVpbnQ4QXJyYXldIl09eXJbIltvYmplY3QgVWludDhDbGFtcGVkQXJyYXldIl09eXJbIltvYmplY3QgVWludDE2QXJyYXldIl09eXJbIltvYmplY3QgVWludDMyQXJyYXldIl09ITAseXJbIltvYmplY3QgRXJyb3JdIl09eXJbcHJdPXlyWyJbb2JqZWN0IFdlYWtNYXBdIl09ITE7ZnVuY3Rpb24gaHIodCl7cmV0dXJuIHZyKHQsNSl9ZnVuY3Rpb24ganIodCl7cmV0dXJuIltvYmplY3QgQXJyYXldIj09PU9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuY2FsbCh0KX1mdW5jdGlvbiBkcih0KXtyZXR1cm4iW29iamVjdCBPYmplY3RdIj09PU9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuY2FsbCh0KX1mdW5jdGlvbiBfcih0KXtyZXR1cm4hMD09PShlPXQpfHwhMT09PWV8fHAoZSkmJiJbb2JqZWN0IEJvb2xlYW5dIj09cyhlKTt2YXIgZX1mdW5jdGlvbiBncih0LGU9bnVsbCxyPXt9KXtqKGUpfHwoZT10PT50KTtsZXQgbj1ldChyLCJmb3JjZSIsITEpO3JldHVybiBfcihuKXx8KG49ITEpLGZ1bmN0aW9uKHQsZSxyPSExKXtsZXQgbj1bXTtpZighanIodCkmJiFkcih0KSlyZXR1cm4gZSh0LG51bGwsW10pO2Z1bmN0aW9uIG8odCl7aWYoanIodCkpcmV0dXJuIG9lKFZ0KHQpKTtpZihkcih0KSl7bGV0IGU9T2JqZWN0LmdldE93blByb3BlcnR5TmFtZXModCksbj1udWxsO3JldHVybiByJiYobj1PYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzKHQpKSxqcihlKXx8KGU9W10pLGpyKG4pfHwobj1bXSksWy4uLmUsLi4ubl19cmV0dXJuIHR9cmV0dXJuIGZ1bmN0aW9uIHQocix1KXtpZihqcihyKSlyZXR1cm4gbyhyKS5tYXAobz0+e2xldCB1PXJbb10sYz1ocihuKTtyZXR1cm4gbi5wdXNoKG8pLHU9ZSh1LG8sYyksdT10KHUpLG4ucG9wKCksdX0pO2lmKGRyKHIpKXtsZXQgdT1vKHIpLGM9e307cmV0dXJuIHUubWFwKG89PntsZXQgdT1yW29dLGk9aHIobik7bi5wdXNoKG8pLHU9ZSh1LG8saSksdT10KHUpLG4ucG9wKCksY1tvXT11fSksY31yZXR1cm4gcn0odCl9KHQsZSxuKX1mdW5jdGlvbiBPcih0KXtyZXR1cm4hKCFmdW5jdGlvbih0KXtyZXR1cm4iW29iamVjdCBTdHJpbmddIj09PU9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuY2FsbCh0KX0odCl8fCIiPT09dCl9ZnVuY3Rpb24gbXIodCxlPXt9KXtpZihqcih0KSl7aWYoMD09PXQubGVuZ3RoKXJldHVybltdfWVsc2V7aWYoIWRyKHQpKXJldHVybltdO2lmKGZ1bmN0aW9uKHQpe2lmKGRyKHQpKXtmb3IobGV0IGUgaW4gdClyZXR1cm4hMTtyZXR1cm4hMH1yZXR1cm4hMX0odCkpcmV0dXJuW119bGV0IHI9ZXQoZSwiYmluZEtleSIsbnVsbCk7T3Iocil8fChyPSJpZCIpO2xldCBuPWV0KGUsImJpbmRDaGlsZHJlbiIsbnVsbCk7T3Iobil8fChuPSJjaGlsZHJlbiIpO2xldCBvPSExO2RyKHQpJiYobz0hMCx0PVt0XSk7bGV0IHU9W107cmV0dXJuIGdyKHQsKHQsZSxvKT0+e2xldCBjPWV0KHQscixudWxsKSxpPWV0KHQsbixudWxsKTtpZihjKXtsZXQgcj1mdW5jdGlvbih0KXtsZXQgZT1bdFswXV07Zm9yKGxldCByPTE7cjx0Lmxlbmd0aDtyKyspe2xldCBvPXRbcl07ZS5wdXNoKG4pLGUucHVzaChvKX1yZXR1cm4gZX0oWy4uLm8sZV0pO2lmKHUucHVzaCh7Li4udCxsZXZlbDooVnQociktMSkvMixuazpyfSksaSlyZXR1cm4gaX19KSxvJiYodT11WzBdKSx1fWxldCBmbGF0dGVuVHJlZVdrPWFzeW5jIGZ1bmN0aW9uKHQsZT17fSl7cmV0dXJuIG1yKHQsZSl9OwoKCmxldCBpbnN0YW5jZSA9IG51bGwKZnVuY3Rpb24gaW5pdChpbnB1dCl7CgogICAgLy9pbml0CiAgICBsZXQgcgogICAgCiAgICAgICAgciA9IHsKICAgICAgICAgICAgbWFpbjogZmxhdHRlblRyZWVXawogICAgICAgIH0KICAgICAgICAKCiAgICAvL29uCiAgICAKCiAgICAvL3NhdmUKICAgIGluc3RhbmNlID0gcgoKfQoKZnVuY3Rpb24gc2VuZE1lc3NhZ2UoZGF0YSkgewogICAgCiAgICAgICAgc2VsZi5wb3N0TWVzc2FnZShkYXRhKQogICAgICAgIAp9Cgphc3luYyBmdW5jdGlvbiBydW4oZGF0YSkgewogICAgLy8gY29uc29sZS5sb2coJ2lubmVyIHdvcmtlciBydW4nLGRhdGEpCgogICAgLy9tb2RlCiAgICBsZXQgbW9kZSA9IGRhdGEubW9kZQoKICAgIC8vY2hlY2sKICAgIGlmKG1vZGUgIT09ICdpbml0JyAmJiBtb2RlICE9PSAnY2FsbCcpewogICAgICAgIHJldHVybgogICAgfQoKICAgIC8vaW5pdAogICAgaWYobW9kZSA9PT0gJ2luaXQnKXsKICAgICAgICAKICAgICAgICB0cnl7CgogICAgICAgICAgICAvL3R5cGUKICAgICAgICAgICAgbGV0IHR5cGUgPSBkYXRhLnR5cGUKCiAgICAgICAgICAgIC8vaW5wdXQKICAgICAgICAgICAgbGV0IGlucHV0ID0gZGF0YS5pbnB1dAogICAgCiAgICAgICAgICAgIC8vaW5zdGFuY2UKICAgICAgICAgICAgaWYodHlwZSA9PT0gJ2Z1bmN0aW9uJyl7CiAgICAgICAgICAgICAgICBpbml0KC4uLmlucHV0KQogICAgICAgICAgICB9CiAgICAgICAgICAgIGVsc2UgaWYodHlwZSA9PT0gJ29iamVjdCcpewogICAgICAgICAgICAgICAgaW5zdGFuY2UgPSBmbGF0dGVuVHJlZVdrCiAgICAgICAgICAgIH0KCiAgICAgICAgfQogICAgICAgIGNhdGNoKGVycil7CiAgICAgICAgCiAgICAgICAgICAgIC8vc2VuZE1lc3NhZ2UKICAgICAgICAgICAgbGV0IHJlcyA9IHsKICAgICAgICAgICAgICAgIG1vZGU6ICdlbWl0JywKICAgICAgICAgICAgICAgIGV2TmFtZTogJ2Vycm9yJywKICAgICAgICAgICAgICAgIG1zZzogZXJyLAogICAgICAgICAgICB9CiAgICAgICAgICAgIHNlbmRNZXNzYWdlKHJlcykKCiAgICAgICAgfQogICAgICAgICAgICAKICAgIH0KCiAgICAvL2NoZWNrCiAgICBpZihtb2RlID09PSAnY2FsbCcpewogICAgICAgIGxldCBzdGF0ZSA9ICcnCiAgICAgICAgbGV0IG1zZyA9IG51bGwKCiAgICAgICAgdHJ5ewoKICAgICAgICAgICAgLy9mdW4KICAgICAgICAgICAgbGV0IGZ1biA9IGluc3RhbmNlW2RhdGEuZnVuXQoKICAgICAgICAgICAgLy9pbnB1dAogICAgICAgICAgICBsZXQgaW5wdXQgPSBkYXRhLmlucHV0CgogICAgICAgICAgICAvL2V4ZWMKICAgICAgICAgICAgYXdhaXQgZnVuKC4uLmlucHV0KQogICAgICAgICAgICAgICAgLnRoZW4oKHN1YykgPT4gewogICAgICAgICAgICAgICAgICAgIHN0YXRlPSdzdWNjZXNzJwogICAgICAgICAgICAgICAgICAgIG1zZz1zdWMKICAgICAgICAgICAgICAgIH0pCiAgICAgICAgICAgICAgICAuY2F0Y2goKGVycikgPT4gewogICAgICAgICAgICAgICAgICAgIHN0YXRlPSdlcnJvcicKICAgICAgICAgICAgICAgICAgICBtc2c9ZXJyCiAgICAgICAgICAgICAgICB9KQoKICAgICAgICB9CiAgICAgICAgY2F0Y2goZXJyKXsKICAgICAgICAgICAgc3RhdGUgPSAnZXJyb3InCiAgICAgICAgICAgIG1zZyA9IGVycgogICAgICAgIH0KICAgICAgICAKICAgICAgICAvL3NlbmRNZXNzYWdlCiAgICAgICAgbGV0IHJlcyA9IHsKICAgICAgICAgICAgbW9kZTogJ3JldHVybicsCiAgICAgICAgICAgIGlkOiBkYXRhLmlkLAogICAgICAgICAgICBmdW46IGRhdGEuZnVuLAogICAgICAgICAgICBzdGF0ZSwKICAgICAgICAgICAgbXNnLAogICAgICAgIH0KICAgICAgICBzZW5kTWVzc2FnZShyZXMpCgogICAgfQoKfQoKZnVuY3Rpb24gcmVjdk1lc3NhZ2UoZGF0YSkgewogICAgLy8gY29uc29sZS5sb2coJ2lubmVyIHdvcmtlciByZWN2OicsIGRhdGEpCgogICAgLy9kYXRhUmVjdgogICAgbGV0IGRhdGFSZWN2ID0gZGF0YQoKICAgIC8vcnVuCiAgICBydW4oZGF0YVJlY3YpCgp9CgoKICAgICAgICBzZWxmLm9ubWVzc2FnZSA9IGZ1bmN0aW9uIChlKSB7CiAgICAgICAgICAgIHJlY3ZNZXNzYWdlKGUuZGF0YSkKICAgICAgICB9CiAgICAgICAgCgp0cnl7CiAgICBwcm9jZXNzLm9uKCd1bmhhbmRsZWRSZWplY3Rpb24nLCAoZXJyKSA9PiB7CiAgICAgICAgY29uc29sZS5sb2coJ2lubmVyOnVuaGFuZGxlZFJlamVjdGlvbicsIGVycikKICAgIH0pCiAgICBwcm9jZXNzLm9uKCd1bmNhdWdodEV4Y2VwdGlvbicsIChlcnIpID0+IHsKICAgICAgICBjb25zb2xlLmxvZygnaW5uZXI6dW5jYXVnaHRFeGNlcHRpb24nLCBlcnIpCiAgICB9KQogICAgcHJvY2Vzcy5vbigndW5jYXVnaHRFeGNlcHRpb25Nb25pdG9yJywgKGVycikgPT4gewogICAgICAgIGNvbnNvbGUubG9nKCdpbm5lcjp1bmNhdWdodEV4Y2VwdGlvbk1vbml0b3InLCBlcnIpCiAgICB9KQp9CmNhdGNoKGVycil7fQoK");function t(){let t=new He,n=function(e){try{let t=new Blob([e]),n=window.URL||window.webkitURL;return new Worker(n.createObjectURL(t))}catch(e){o(e)}}(e);if(!n)return o("invalid worker"),null;function r(){let e=function(){let e,t,n=new Promise(function(){e=arguments[0],t=arguments[1]});return n.resolve=e,n.reject=t,n}(),r=function(e=10){let t=[],n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=n.length;for(let o=0;o<e;o++)t[o]=n[0|Math.random()*r];return t.join("")}(),o={mode:"call",id:r,fun:"main",input:[...arguments]};return n.postMessage(o),t.once(r,t=>{"success"===t.state?e.resolve(t.msg):e.reject(t.msg)}),e}function o(e){t.emit("error",e)}return n.onmessage=function(e){!function(e){let n=e,r=n.mode;"emit"!==r&&"return"!==r||("emit"===r&&t.emit(n.evName,n.msg),"return"===r&&t.emit(n.id,n))}(e.data)},n.onerror=o,n.onmessageerror=function(e){o(e.data)},function(){let e={mode:"init",type:"function",input:[...arguments]};n.postMessage(e)}([...arguments]),t.main=r,t.main=r,t.terminate=function(){n?(n.terminate(),n=void 0):o("worker has been terminated")},t}Pe=async function(){let e=[...arguments],n=t();return await n.main(...e).finally(()=>{n.terminate()})}}();try{process.on("unhandledRejection",e=>{console.log("outer:unhandledRejection",e)}),process.on("uncaughtException",e=>{console.log("outer:uncaughtException",e)}),process.on("uncaughtExceptionMonitor",e=>{console.log("outer:uncaughtExceptionMonitor",e)})}catch(ue){}var Be=Pe,$e=n(3730),je=n(3665),Oe=n(3294),Re=n(355),We=n(6192),Ee=n(6184),Le=n(6759),Ze=n(7156),Xe=function(){var e=this,t=e._self._c;return t("div",{attrs:{changeFocused:e.changeFocused}},[t("WShellBottomLine",{attrs:{borderColor:e.bottomLineBorderColor,borderColorHover:e.bottomLineBorderColorHover,borderColorFocus:e.bottomLineBorderColorFocus,borderWidth:e.bottomLineBorderWidth,borderWidthHover:e.bottomLineBorderWidthHover,borderWidthFocus:e.bottomLineBorderWidthFocus,focused:e.focusedTrans}},[t("WShellEllipse",{attrs:{paddingStyle:e.paddingStyle,borderRadius:e.borderRadius,shadow:e.shadow,leftIcon:e.leftIcon,leftIconSize:e.leftIconSize,leftIconColor:e.leftIconColor,leftIconColorHover:e.leftIconColorHover,leftIconColorFocus:e.leftIconColorFocus,leftIconTooltip:e.leftIconTooltip,rightIcon:e.rightIcon,rightIconSize:e.rightIconSize,rightIconColor:e.rightIconColor,rightIconColorHover:e.rightIconColorHover,rightIconColorFocus:e.rightIconColorFocus,rightIconTooltip:e.rightIconTooltip,iconShiftOuter:e.iconShiftOuter,iconShiftInner:e.iconShiftInner,backgroundColor:e.backgroundColor,backgroundColorHover:e.backgroundColorHover,backgroundColorFocus:e.backgroundColorFocus,borderColor:e.borderColor,borderColorHover:e.borderColorHover,borderColorFocus:e.borderColorFocus,editable:e.editable,focused:e.focusedTrans},on:{"click-left":function(t){return e.$emit("click-left")},"click-right":function(t){return e.$emit("click-right")}}},[t("WTextCore",{attrs:{type:e.type,funVerify:e.funVerify,textFontSize:e.textFontSize,textColor:e.textColor,textAlign:e.textAlign,placeholder:e.placeholder,height:e.height,password:e.password,editable:e.editable,value:e.value,focused:e.focusedTrans},on:{"update:focused":e.modifyFocused,select:(t,n,r)=>{e.$emit("select",t,n,r)},blur:(t,n,r)=>{e.$emit("blur",t,n,r)},enter:(t,n,r)=>{e.$emit("enter",t,n,r)},input:(t,n,r)=>{e.$emit("input",t,n,r)},change:(t,n,r)=>{e.$emit("change",t,n,r)}}})],1)],1)],1)},Fe=[],Ve=n(2694),Ne=function(){var e=this,t=e._self._c;return t("div",{attrs:{changeParam:e.changeParam}},[t("div",{staticStyle:{position:"relative"},on:{mouseenter:function(t){e.hoverTrans=!0},mouseleave:function(t){e.hoverTrans=!1}}},[e._t("default"),t("div",{style:`position:absolute; left:0px; right:0px; bottom:0px; z-index:1; border-bottom:${e.useBorderWidth}px solid ${e.useBorderColor};`}),t("transition",{attrs:{name:"fade"}},[e.focused?t("div",{style:`position:absolute; left:0px; right:0px; bottom:0px; z-index:2; border-bottom:${e.borderWidthFocus}px solid ${e.useBorderColorFocus};`}):e._e()])],2)])},ze=[],Me={components:{},props:{borderColor:{type:String,default:"grey lighten-1"},borderColorHover:{type:String,default:"grey"},borderColorFocus:{type:String,default:"blue darken-2"},borderWidth:{type:Number,default:1},borderWidthHover:{type:Number,default:1},borderWidthFocus:{type:Number,default:2},focused:{type:Boolean,default:!1}},data:function(){return{focusedTrans:!1,hoverTrans:!1}},computed:{changeParam:function(){let e=this;return e.focusedTrans=e.focused,""},useBorderWidth:function(){let e=this;return e.hoverTrans?e.borderWidthHover:e.borderWidth},useBorderColor:function(){let e=this;return e.hoverTrans?(0,Oe.A)(e.borderColorHover):(0,Oe.A)(e.borderColor)},useBorderColorFocus:function(){let e=this;return(0,Oe.A)(e.borderColorFocus)}},methods:{}},De=Me,Ge=n(1656),Ue=(0,Ge.A)(De,Ne,ze,!1,null,"a0c94508",null),Ke=Ue.exports,Je=n(2002),Ye={components:{WShellEllipse:Ve.A,WShellBottomLine:Ke,WTextCore:Je.A},props:{paddingStyle:{type:Object,default:()=>({v:0,h:0})},borderRadius:{type:Number,default:30},shadow:{type:Boolean,default:!1},type:{type:String,default:"any"},funVerify:{type:Function,default:null},value:{type:[String,Number]},textFontSize:{type:String,default:"1rem"},textColor:{type:String,default:"black"},textAlign:{type:String,default:"left"},leftIcon:{type:String,default:""},leftIconSize:{type:Number,default:24},leftIconColor:{type:String,default:"blue"},leftIconColorHover:{type:String,default:"blue darken-1"},leftIconColorFocus:{type:String,default:"blue darken-1"},leftIconTooltip:{type:String,default:""},rightIcon:{type:String,default:""},rightIconSize:{type:Number,default:24},rightIconColor:{type:String,default:"blue"},rightIconColorHover:{type:String,default:"blue darken-1"},rightIconColorFocus:{type:String,default:"blue darken-1"},rightIconTooltip:{type:String,default:""},iconShiftOuter:{type:Number,default:0},iconShiftInner:{type:Number,default:5},backgroundColor:{type:String,default:"transparent"},backgroundColorHover:{type:String,default:"transparent"},backgroundColorFocus:{type:String,default:"transparent"},borderColor:{type:String,default:"transparent"},borderColorHover:{type:String,default:"transparent"},borderColorFocus:{type:String,default:"transparent"},bottomLineBorderColor:{type:String,default:"grey lighten-1"},bottomLineBorderColorHover:{type:String,default:"grey"},bottomLineBorderColorFocus:{type:String,default:"blue darken-1"},bottomLineBorderWidth:{type:Number,default:1},bottomLineBorderWidthHover:{type:Number,default:1},bottomLineBorderWidthFocus:{type:Number,default:2},placeholder:{type:String,default:""},height:{type:Number,default:28},password:{type:Boolean,default:!1},editable:{type:Boolean,default:!0},focused:{type:Boolean,default:!1}},data:function(){return{focusedTrans:!1}},mounted:function(){},computed:{changeFocused:function(){let e=this;return e.focusedTrans=e.focused,""}},methods:{modifyFocused:function(e){let t=this;t.focusedTrans=e,t.$nextTick(()=>{t.$emit("update:focused",e)})}}},Qe=Ye,qe=(0,Ge.A)(Qe,Xe,Fe,!1,null,"a8cc839a",null),et=qe.exports,tt=n(5480),nt=n(7287),rt=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeParams:e.changeParams,changeItemActive:e.changeItemActive},on:{domresize:e.resize}},[t("div",{style:`height:${e.panelHeight}px;`},[t("div",{ref:"refHeader"},[e._t("header")],2),t("WPanelScrolly",{style:`height:${e.listHeight}px;`},e._l(e.useItems,function(n,r){return t("div",{key:r},[t("WListItem",{attrs:{icon:e.getIcon(n),text:e.getText(n),textFontSize:e.itemTextFontSize,active:e.getActive(n),paddingStyle:e.paddingStyle,backgroundColor:e.itemBackgroundColor,backgroundColorHover:e.itemBackgroundColorHover,backgroundColorActive:e.itemBackgroundColorActive,backgroundColorDisabled:e.itemBackgroundColorDisabled,textColor:e.itemTextColor,textColorHover:e.itemTextColorHover,textColorActive:e.itemTextColorActive,textColorDisabled:e.itemTextColorDisabled,iconSize:e.itemIconSize,iconColor:e.itemIconColor,iconColorHover:e.itemIconColorHover,iconColorActive:e.itemIconColorActive,iconColorDisabled:e.itemIconColorDisabled,rippleColor:e.getEditable(n)?e.itemRippleColor:null,editable:e.getEditable(n),disabledColor:e.itemDisabledColor,cursorPointer:!e.getActive(n)&&e.itemCursorPointer},on:{click:function(t){return e.ckItem(n,r)}},scopedSlots:e._u([{key:"item",fn:function(t){return[e._t("item",null,{item:n,kitem:r,isHover:t.isHover,isActive:t.isActive})]}},{key:"item-left",fn:function(t){return[e._t("item-left",null,{item:n,kitem:r,isHover:t.isHover,isActive:t.isActive})]}},{key:"item-content",fn:function(t){return[e._t("item-content",null,{item:n,kitem:r,isHover:t.isHover,isActive:t.isActive})]}},{key:"item-right",fn:function(t){return[e._t("item-right",null,{item:n,kitem:r,isHover:t.isHover,isActive:t.isActive})]}}],null,!0)})],1)}),0),t("div",{ref:"refFooter"},[e._t("footer")],2)],1)])},ot=[];function it(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!t(e[n],n,e))return!1;return!0}var at=it,lt=n(6098);function st(e,t){var n=!0;return(0,lt.A)(e,function(e,r,o){return n=!!t(e,r,o),n}),n}var ut=st,ct=n(2049),dt=n(6832);function ft(e,t,n){var r=(0,ct.A)(e)?at:ut;return n&&(0,dt.A)(e,t,n)&&(t=void 0),r(e,(0,S.A)(t,3))}var pt=ft,ht=n(8332),gt=n(889),mt=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],on:{domresize:e.resizePanel}},[t("WPanelScrollyCore",e._g({attrs:{viewHeightMax:e.viewHeight,scrollTop:e.scrollTop,barOpacity:e.barOpacity,barOpacityHover:e.barOpacityHover}},e.$listeners),[e._t("default")],2)],1)},vt=[],bt=n(6850),yt={directives:{domresize:(0,gt.A)()},components:{WPanelScrollyCore:bt.A},props:{viewHeightMax:{type:Number,default:400},scrollTop:{type:Number,default:0},barOpacity:{type:Number,default:.6},barOpacityHover:{type:Number,default:1}},data:function(){return{top:0,viewHeight:0,viewHeightTemp:0,contentHeight:0,contentHeightTemp:0}},computed:{},methods:{resizePanel:function(e){let t=this;t.viewHeight=e.snew.offsetHeight}}},At=yt,wt=(0,Ge.A)(At,mt,vt,!1,null,"151ed1c6",null),Ct=wt.exports,xt=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"domripple",rawName:"v-domripple",value:{color:e.rippleColor},expression:"{color:rippleColor}"}],style:`position:relative; transition:all 0.3s; border-top-left-radius:${e.borderRadius}px; border-top-right-radius:${e.borderRadius}px; ${e.usePadding} background:${e.useBackgroundColor}; ${e.editable&&e.cursorPointer?"cursor:pointer;":"cursor:context-menu;"}`,on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1},click:e.clickItem}},[t("div",{style:`transition:all 0.3s; color:${e.useTextColor}; ${e.useTextFontSize}`},[e._t("item",function(){return[t("div",{staticStyle:{display:"flex","align-items":"center"}},[e._t("item-left",null,{isHover:e.mouseEnter,isActive:e.active}),e._t("item-content",function(){return[e.hasIcon?t("WIcon",{staticStyle:{"margin-right":"8px"},attrs:{icon:e.icon,color:e.useIconColor,colorHover:e.useIconColor,size:e.iconSize}}):e._e(),t("div",[e._v(" "+e._s(e.text)+" ")])]},{isHover:e.mouseEnter,isActive:e.active}),e._t("item-right",null,{isHover:e.mouseEnter,isActive:e.active})],2)]},{isHover:e.mouseEnter,isActive:e.active}),e.editable?e._e():t("div",{staticStyle:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0"}},[t("div",{style:"overflow:hidden; width:100%; height:100%;"},[t("div",{style:`background:${e.effDisabledColor}; height:100%;`})])])],2)])},_t=[],kt=n(7417),St=n(293),It={directives:{domripple:(0,We.A)()},components:{WIcon:St.A},props:{text:{type:String,default:""},textFontSize:{type:String,default:"1rem"},active:{type:Boolean,default:!1},paddingStyle:{type:Object,default:()=>({v:10,h:12})},borderRadius:{type:Number,default:0},backgroundColor:{type:String,default:"white"},backgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},backgroundColorActive:{type:String,default:"orange lighten-1"},backgroundColorDisabled:{type:String,default:"white"},textColor:{type:String,default:"#444"},textColorHover:{type:String,default:"#222"},textColorActive:{type:String,default:"white"},textColorDisabled:{type:String,default:"#444"},icon:{type:String,default:""},iconSize:{type:Number,default:22},iconColor:{type:String,default:"#444"},iconColorHover:{type:String,default:"#222"},iconColorActive:{type:String,default:"white"},iconColorDisabled:{type:String,default:"#444"},rippleColor:{type:String,default:"rgba(255,255,255,0.4)"},editable:{type:Boolean,default:!0},disabledColor:{type:String,default:"rgba(255,255,255,0.5)"},cursorPointer:{type:Boolean,default:!0}},data:function(){return{mouseEnter:!1}},computed:{useTextFontSize:function(){let e=this,t=e.textFontSize;return t=(0,kt.A)(t,";",""),`font-size:${t};`},hasIcon:function(){let e=this;return""!==e.icon},usePadding:function(){let e=this,t=(0,je.A)(e.paddingStyle,{ext:{}}),n=`padding:${t};`;return n},effBackgroundColor:function(){let e=this;return(0,Oe.A)(e.backgroundColor)},effBackgroundColorHover:function(){let e=this;return(0,Oe.A)(e.backgroundColorHover)},effBackgroundActive:function(){let e=this;return(0,Oe.A)(e.backgroundColorActive)},effBackgroundColorDisabled:function(){let e=this;return(0,Oe.A)(e.backgroundColorDisabled)},useBackgroundColor:function(){let e=this;return e.editable?e.active?e.effBackgroundActive:e.mouseEnter?e.effBackgroundColorHover:e.effBackgroundColor:e.effBackgroundColorDisabled},effTextColor:function(){let e=this;return(0,Oe.A)(e.textColor)},effTextColorHover:function(){let e=this;return(0,Oe.A)(e.textColorHover)},effTextActive:function(){let e=this;return(0,Oe.A)(e.textColorActive)},effTextColorDisabled:function(){let e=this;return(0,Oe.A)(e.textColorDisabled)},useTextColor:function(){let e=this;return e.editable?e.active?e.effTextActive:e.mouseEnter?e.effTextColorHover:e.effTextColor:e.effTextColorDisabled},effIconColor:function(){let e=this;return(0,Oe.A)(e.iconColor)},effIconColorHover:function(){let e=this;return(0,Oe.A)(e.iconColorHover)},effIconActive:function(){let e=this;return(0,Oe.A)(e.iconColorActive)},effIconColorDisabled:function(){let e=this;return(0,Oe.A)(e.iconColorDisabled)},useIconColor:function(){let e=this;return e.editable?e.active?e.effIconActive:e.mouseEnter?e.effIconColorHover:e.effIconColor:e.effIconColorDisabled},effDisabledColor:function(){let e=this;return(0,Oe.A)(e.disabledColor)}},methods:{clickItem:function(){let e=this;e.editable&&e.$emit("click",{icon:e.icon,text:e.text})}}},Tt=It,Ht=(0,Ge.A)(Tt,xt,_t,!1,null,"4263d1a4",null),Pt=Ht.exports,Bt={directives:{domresize:(0,gt.A)()},components:{WPanelScrolly:Ct,WListItem:Pt},props:{items:{type:Array,default:()=>[]},enableActive:{type:Boolean,default:!0},itemActive:{type:[String,Object],default:null},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},paddingStyle:{type:Object,default:()=>({v:10,h:12})},itemBackgroundColor:{type:String,default:"white"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"orange lighten-1"},itemBackgroundColorDisabled:{type:String,default:"white"},itemTextFontSize:{type:String,default:"1rem"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"white"},itemTextColorDisabled:{type:String,default:"#444"},itemIconSize:{type:Number,default:22},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"white"},itemIconColorDisabled:{type:String,default:"#444"},itemRippleColor:{type:String,default:"rgba(255,255,255,0.4)"},itemDisabledColor:{type:String,default:"transparent"},itemCursorPointer:{type:Boolean,default:!0},query:{type:String,default:""},funFilter:{type:Function,default:null}},data:function(){return{panelHeight:0,listHeight:0,queryTrans:"",useItems:[],itemActiveTrans:null}},computed:{changeParams:function(){let e=this;return e.queryTrans=e.query,e.updateUseItems(),""},changeItemActive:function(){let e=this;return e.enableActive&&(e.itemActiveTrans=e.itemActive),""},isObjValue:function(){let e=this;return 0!==(0,y.A)(e.items)&&pt(e.items,e=>(0,J.A)(e))}},methods:{resize:function(e){let t=this;t.panelHeight=e.snew.offsetHeight;let n=0,r=(0,l.A)(t,"$refs.refHeader");(0,ht.A)(r)&&(n=r.offsetHeight);let o=0,i=(0,l.A)(t,"$refs.refFooter");(0,ht.A)(i)&&(o=i.offsetHeight);let a=t.panelHeight-n-o;a>0&&t.listHeight!==a&&(t.listHeight=a)},getIcon:function(e){let t=this;return t.isObjValue?(0,l.A)(e,t.keyIcon,""):""},getText:function(e){let t=this;if(t.isObjValue){let n=(0,l.A)(e,t.keyText,"");return n}return e},getActive:function(e){let t=this,n=!1;return t.enableActive&&(n=(0,A.A)(e,t.itemActiveTrans)),n},getEditable:function(e){let t=(0,l.A)(e,"editable",!0);return t},updateUseItems:function(){let e=this;async function t(){let t=[];if((0,q.A)(e.queryTrans))for(let n=0;n<(0,y.A)(e.items);n++){let r=e.items[n],o=!1;if((0,Q.A)(e.funFilter))o=e.funFilter(r,n),(0,ne.A)(o)&&(o=await o);else{let t=(0,G.A)(e.queryTrans.toLowerCase()," "),n="";n=e.isObjValue?e.getText(r):(0,ie.A)(r),n=n.toLowerCase();for(let e=0;e<(0,y.A)(t);e++){let r=t[e];if(n.indexOf(r)>=0){o=!0;break}}}o&&t.push((0,V.A)(r))}else t=(0,V.A)(e.items);e.useItems=t}t().catch(e=>{console.log(e)})},ckItem:function(e,t){let n=this;if(!n.getEditable(e))return;n.itemActiveTrans=e;let r=null;r=n.isObjValue?{...e}:e,n.$emit("click",r,t),n.$emit("update:itemActive",r)}}},$t=Bt,jt=(0,Ge.A)($t,rt,ot,!1,null,"4f011df0",null),Ot=jt.exports,Rt=function(){var e=this,t=e._self._c;return t("div",{style:`display:inline-block; width:${e.iconSize}px; height:${e.iconSize}px; overflow:hidden;`},[t("div",{style:`transform:scale(${e.useScale}); transform-origin:0% 0%;`},[t("div",{style:`position:relative; display:inline-block; width:${e.defIconSize}px; height:${e.defIconSize}px; user-select:none; cursor:pointer; outline:none;`,attrs:{tabindex:"0"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t=>{e.$emit("click",t)}).apply(null,arguments)},click:t=>{e.$emit("click",t)}}},[t("div",{staticClass:"cc",staticStyle:{height:"100%"}},[t("div",{style:`transition:all 0.1s; transform:rotate(${e.useRotate}deg); transform-origin:50% 50%;`},[t("div",{staticClass:"cc circle",style:`background:${e.useIconBackgroundColor};`,on:{mouseenter:e.mouseenter,mouseleave:e.mouseleave}},[t("div",{staticClass:"caretRight"},[t("span",{staticStyle:{display:"flex"}},[t("svg",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:e.useIconColor,width:"11px",height:"11px",x:"0px",y:"0px",viewBox:"-70 0 475.346 415.346","xml:space":"preserve"}},[t("g",[t("path",{attrs:{d:"M41.712,415.346c-11.763,0-21.3-9.537-21.3-21.3V21.299C20.412,9.536,29.949,0,41.712,0l346.122,191.697 c0,0,15.975,15.975,0,31.951C371.859,239.622,41.712,415.346,41.712,415.346z"}})])])])])])])]),[t("div",{staticStyle:{position:"absolute","z-index":"1",left:"0px",top:"0px",bottom:"0",right:"0",margin:"auto",opacity:"0.75"}},[e.editable?e._e():t("div",{style:`height:${e.defIconSize}px; transform:rotate(45deg) translateY(-5px);`},[t("div",{style:"display:inline-block; width:24px; height:1px; border-top:2px solid #fff;"})])]),t("div",{staticStyle:{position:"absolute","z-index":"1",left:"0px",top:"0px",bottom:"0",right:"0",margin:"auto",opacity:"0.75"}},[e.editable?e._e():t("div",{style:`height:${e.defIconSize}px; transform:rotate(45deg) translateY(-3px);`},[t("div",{style:`display:inline-block; width:24px; height:1px; border-top:2px solid ${e.useIconColor};`})])])]],2)])])},Wt=[],Et={components:{},props:{dir:{type:String,default:"right"},iconSize:{type:Number,default:24},iconColor:{type:String,default:"grey"},iconDisabledColor:{type:String,default:"grey lighten-1"},iconBackgroundColor:{type:String,default:"transparent"},iconBackgroundColorHover:{type:String,default:"rgba(128,128,128,0.15)"},editable:{type:Boolean,default:!0}},data:function(){return{defIconSize:24}},computed:{useRotate:function(){let e=this,t={left:180,right:0,top:270,bottom:90};return(0,l.A)(t,e.dir,0)},useScale:function(){return this.iconSize/this.defIconSize},useIconColor:function(){let e=this;return e.editable?(0,Oe.A)(e.iconColor):(0,Oe.A)(e.iconDisabledColor)},useIconBackgroundColor:function(){let e=this;return(0,Oe.A)(e.iconBackgroundColor)},useIconBackgroundColorHover:function(){let e=this;return(0,Oe.A)(e.iconBackgroundColorHover)}},methods:{mouseenter:function(e){let t=this;e.currentTarget.style.background=t.useIconBackgroundColorHover},mouseleave:function(e){let t=this;e.currentTarget.style.background=t.useIconBackgroundColor}}},Lt=Et,Zt=(0,Ge.A)(Lt,Rt,Wt,!1,null,"26dfca3e",null),Xt=Zt.exports,Ft=function(){var e=this,t=e._self._c;return t("div",{style:`display:inline-block; width:${e.iconSize}px; height:${e.iconSize}px; overflow:hidden;`},[t("div",{style:`transform:scale(${e.useScale}); transform-origin:0% 0%;`},[t("div",{style:`position:relative; display:inline-block; width:${e.defIconSize}px; height:${e.defIconSize}px; user-select:none; ${e.editable?"cursor:pointer;":""} outline:none;`,attrs:{tabindex:"0"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emitClick.apply(null,arguments)},click:e.emitClick}},["unchecked"===e.mode?t("div",{style:"display:flex; align-items:center; justify-content:center;"},[t("span",{staticStyle:{display:"flex"}},[t("svg",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:e.useUncheckedColor,width:"24px",height:"24px",viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}})])])]):e._e(),"checked"===e.mode?t("div",{style:"display:flex; align-items:center; justify-content:center;"},[t("span",{staticStyle:{display:"flex"}},[t("svg",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:e.useCheckedColor,width:"24px",height:"24px",viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}})])])]):e._e(),"checkedPartially"===e.mode?t("div",{style:"display:flex; align-items:center; justify-content:center;"},[t("span",{staticStyle:{display:"flex"}},[t("svg",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:e.useCheckedPartiallyColor,width:"24px",height:"24px",viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}})])])]):e._e(),t("div",{staticStyle:{position:"absolute","z-index":"1",left:"0px",top:"0px",bottom:"0",right:"0",margin:"auto"}},[e.editable?e._e():t("div",{style:`height:${e.defIconSize}px; transform:rotate(45deg) translateY(-3px);`},[t("div",{style:"display:inline-block; width:30px; height:2px; border-top:2px solid #fff;"})])]),t("div",{staticStyle:{position:"absolute","z-index":"1",left:"0px",top:"0px",bottom:"0",right:"0",margin:"auto"}},[e.editable?e._e():t("div",{style:`height:${e.defIconSize}px; transform:rotate(45deg) translateY(-1px);`},[t("div",{style:`display:inline-block; width:30px; height:2px; border-top:2px solid ${e.useDisabledColor};`})])])])])])},Vt=[],Nt={components:{},props:{mode:{type:String,default:"unchecked"},iconSize:{type:Number,default:24},uncheckedColor:{type:String,default:"grey darken-2"},uncheckedDisabledColor:{type:String,default:"grey"},checkedColor:{type:String,default:"blue darken-3"},checkedDisabledColor:{type:String,default:"grey"},checkedPartiallyColor:{type:String,default:"blue darken-3"},checkedPartiallyDisabledColor:{type:String,default:"grey"},editable:{type:Boolean,default:!0}},data:function(){return{defIconSize:24}},computed:{useScale:function(){return this.iconSize/this.defIconSize},useDisabledColor:function(){let e=this;return"checked"===e.mode?(0,Oe.A)(e.checkedDisabledColor):"unchecked"===e.mode?(0,Oe.A)(e.uncheckedDisabledColor):(0,Oe.A)(e.checkedPartiallyDisabledColor)},useUncheckedColor:function(){let e=this;return e.editable?(0,Oe.A)(e.uncheckedColor):(0,Oe.A)(e.uncheckedDisabledColor)},useCheckedColor:function(){let e=this;return e.editable?(0,Oe.A)(e.checkedColor):(0,Oe.A)(e.checkedDisabledColor)},useCheckedPartiallyColor:function(){let e=this;return e.editable?(0,Oe.A)(e.checkedPartiallyColor):(0,Oe.A)(e.checkedPartiallyDisabledColor)}},methods:{emitClick:function(e){this.editable&&this.$emit("click",e)}}},zt=Nt,Mt=(0,Ge.A)(zt,Ft,Vt,!1,null,"367a8ef4",null),Dt=Mt.exports,Gt=n(999);let Ut=(0,$e.A)();var Kt={directives:{domdragdrop:(0,Re.A)(),domripple:(0,We.A)()},components:{WDynamicList:Ee.A,WButtonCircle:Le.A,WButtonChip:Ze.A,WText:et,WPopup:tt.A,WDialog:nt.A,WListVertical:Ot,WTreeIconToggle:Xt,WTreeIconCheckbox:Dt,Teleport:Gt.A},props:{data:{type:[Array,Object],default:()=>[]},viewHeightMax:{type:Number,default:400},defaultDisplayLevel:{type:Number,default:null},activable:{type:Boolean,default:!1},funActive:{type:Function,default:null},itemActive:{type:Object,default:()=>{}},selectable:{type:Boolean,default:!1},selections:{type:Array,default:()=>[]},keyPrimary:{type:String,default:"id"},keyText:{type:String,default:"text"},keyChildren:{type:String,default:"children"},keyLocked:{type:String,default:"locked"},paddingStyle:{type:Object,default:()=>({v:0,h:0})},indent:{type:Number,default:1},iconSize:{type:Number,default:24},iconToggleColor:{type:String,default:"grey"},iconToggleDisabledColor:{type:String,default:"grey lighten-1"},iconToggleBackgroundColor:{type:String,default:"transparent"},iconToggleBackgroundColorHover:{type:String,default:"rgba(128,128,128,0.15)"},iconUncheckedColor:{type:String,default:"grey darken-2"},iconUncheckedDisabledColor:{type:String,default:"grey"},iconCheckedColor:{type:String,default:"blue darken-3"},iconCheckedDisabledColor:{type:String,default:"grey"},iconCheckedPartiallyColor:{type:String,default:"blue darken-3"},iconCheckedPartiallyDisabledColor:{type:String,default:"grey"},filterKeywords:{type:String,default:""},funFilter:{type:Function,default:null},loadingText:{type:String,default:"Loading..."},noResultsText:{type:String,default:"No results"},searchingText:{type:String,default:"Searching..."},statePaddingStyle:{type:Object,default:()=>({v:12,h:12})},defItemHeight:{type:Number,default:34},itemsPreload:{type:Number,default:5},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"#d72"},itemBackgroundColor:{type:String,default:"transparent"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"rgba(255,167,38,0.2)"},itemRippleColor:{type:String,default:"rgba(200,200,200,0.4)"},draggable:{type:Boolean,default:!1},dgTextDisabled:{type:String,default:"Can not drop here"},dgTextDisabledColor:{type:String,default:"#812"},dgTextDisabledPaddingLeft:{type:Number,default:15},dgTextDisabledFontSize:{type:String,default:"0.9rem"},dgTextDisabledBackgroundColor:{type:String,default:"rgba(255,220,240,0.6)"},dgInsertLineColor:{type:String,default:"#29f"},dgInsertBackgroundColor:{type:String,default:"rgba(80,150,255,0.15)"},dgBelongBackgroundColor:{type:String,default:"rgba(80,150,255,0.3)"},dgPreviewOpacity:{type:Number,default:1},dgPreviewDisabledOpacity:{type:Number,default:1},dgPreviewBorderWidth:{type:Number,default:0},dgPreviewBorderColor:{type:String,default:"#f26"},dgPreviewBackground:{type:String,default:"transparent"},operatable:{type:Boolean,default:!1},operateItemTextForRename:{type:String,default:"Rename"},operateItemTextForInsertBefore:{type:String,default:"Insert before"},operateItemTextForInsertChild:{type:String,default:"Insert child"},operateItemTextForInsertAfter:{type:String,default:"Insert after"},operateItemTextForDelete:{type:String,default:"Delete"},operateItemIconForRename:{type:String,default:i.zru},operateItemIconForInsertBefore:{type:String,default:i.UCA},operateItemIconForInsertChild:{type:String,default:i.BIl},operateItemIconForInsertAfter:{type:String,default:i.qYB},operateItemIconForDelete:{type:String,default:i.hyP},operateItemPaddingStyle:{type:Object,default:()=>({v:10,h:12})},operatePanelWidth:{type:Number,default:150},operatePanelHeight:{type:Number,default:null},operateBtnTooltip:{type:String,default:"Operations"},operateBtnIconSize:{type:Number,default:22},operateBtnBackgroundColor:{type:String,default:"transparent"},operateBtnBackgroundColorHover:{type:String,default:"rgba(230,230,230,0.7)"},operateBtnBackgroundColorFocus:{type:String,default:"rgba(230,230,230,0.9)"},operateItemBackgroundColor:{type:String,default:"transparent"},operateItemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},operateItemHeight:{type:Number,default:42},operateItemTextColor:{type:String,default:"#444"},operateItemTextColorHover:{type:String,default:"#222"},operateItemIconSize:{type:Number,default:22},operateItemIconColor:{type:String,default:"#444"},operateItemIconColorHover:{type:String,default:"#222"},funOperateItem:{type:Function,default:null},editorRenameContentBackgroundColor:{type:String,default:"white"},editorRenameFooterBackgroundColor:{type:String,default:"grey lighten-5"},editorRenameInputTextColor:{type:String,default:"grey darken-3"},editorRenameInputTextBottomLineBorderColor:{type:String,default:"grey lighten-1"},editorRenameInputTextBottomLineBorderColorHover:{type:String,default:"grey"},editorRenameInputTextBottomLineBorderColorFocus:{type:String,default:"blue darken-1"},editorRenameCancelBtnText:{type:String,default:"Cancel"},editorRenameCancelBtnTextColor:{type:String,default:"grey darken-3"},editorRenameCancelBtnTextColorHover:{type:String,default:"grey darken-2"},editorRenameCancelBtnIcon:{type:String,default:i.rZW},editorRenameCancelBtnIconSize:{type:Number,default:22},editorRenameCancelBtnIconColor:{type:String,default:"grey darken-1"},editorRenameCancelBtnIconColorHover:{type:String,default:"grey darken-2"},editorRenameCancelBtnIconRippleColor:{type:String,default:"rgba(200,200,200,0.4)"},editorRenameCancelBtnBackgroundColor:{type:String,default:"white"},editorRenameCancelBtnBackgroundColorHover:{type:String,default:"grey lighten-3"},editorRenameSaveBtnText:{type:String,default:"Save"},editorRenameSaveBtnTextColor:{type:String,default:"grey darken-3"},editorRenameSaveBtnTextColorHover:{type:String,default:"grey darken-2"},editorRenameSaveBtnIcon:{type:String,default:i.XHW},editorRenameSaveBtnIconSize:{type:Number,default:22},editorRenameSaveBtnIconColor:{type:String,default:"grey darken-1"},editorRenameSaveBtnIconColorHover:{type:String,default:"grey darken-2"},editorRenameSaveBtnIconRippleColor:{type:String,default:"rgba(200,200,200,0.4)"},editorRenameSaveBtnBackgroundColor:{type:String,default:"white"},editorRenameSaveBtnBackgroundColorHover:{type:String,default:"grey lighten-3"},labelPanelForOperate:{type:String,default:null},labelDialogForEditor:{type:String,default:null},cmpZIndex:{type:Number,default:3e3},show:{type:Boolean,default:!0}},data:function(){return{mdiDotsVertical:i.TdJ,dbc:(0,se.A)(),mmkey:(0,M.A)(),viewHeightMaxTrans:400,separation:3,defIconSize:24,selectionsTrans:[],filterMode:"keywords",filterKeywordsTrans:"",filterKeywordsTransTemp:"",filterFun:null,filterRunning:!1,filterPending:!1,defaultDisplayLevelTrans:null,dgGroupKey:null,dgTipMode:"",dgTipLeft:0,dgTipTop:0,dgTipWidth:0,dgTipHeight:0,pkActive:"",pkHover:"",operateShow:!1,editorShow:!1,editorPm:null,editorRenameData:null,editorRenameItem:{},editorRenameInputText:""}},beforeDestroy:function(){let e=this;null!==e.mmkey&&Ut.remove(e.mmkey)},watch:{data:{immediate:!0,deep:!0,handler(e){let t=this;t.setData(e)}},selections:{immediate:!0,deep:!0,handler(e){let t=this;t.updateSelections()}}},computed:{changeViewHeightMax:function(){let e=this;return(0,w.A)(e.viewHeightMax)&&(e.viewHeightMaxTrans=e.viewHeightMax),""},changeActiveItem:function(){let e=this,t=(0,l.A)(e.itemActive,e.keyPrimary);return e.isKey(t)?e.pkActive=t:e.pkActive="",""},changeDefaultDisplayLevel:function(){let e=this;return e.defaultDisplayLevelTrans=e.defaultDisplayLevel,""},useDraggableOrOperatable:function(){let e=this;return e.draggable||e.operatable},changeDraggableAndOperatable:function(){let e=this;return e.useDraggableOrOperatable&&(e.defaultDisplayLevelTrans=null,e.filterKeywordsTrans=""),""},changeFilterKeyWords:function(){let e=this;return e.filterKeywordsTrans=e.filterKeywords,e.filterByKeywordsDebounce(),""},useItemHeightMin:function(){let e=this;return Math.max(e.iconSize,e.defItemHeight)},useIndent:function(){let e=this;return e.indent*(e.defIconSize+2*e.separation)},usePadding:function(){let e=this,t=(0,je.A)(e.paddingStyle),n=`padding:${t};`;return n},useItemTextColor:function(){let e=this;return(0,Oe.A)(e.itemTextColor)},useItemBackgroundColor:function(){let e=this;return(0,Oe.A)(e.itemBackgroundColor)},useItemTextColorHover:function(){let e=this;return(0,Oe.A)(e.itemTextColorHover)},useItemBackgroundColorHover:function(){let e=this;return(0,Oe.A)(e.itemBackgroundColorHover)},useItemTextColorActive:function(){let e=this;return(0,Oe.A)(e.itemTextColorActive)},useItemBackgroundColorActive:function(){let e=this;return(0,Oe.A)(e.itemBackgroundColorActive)},useDgTextDisabledColor:function(){let e=this;return(0,Oe.A)(e.dgTextDisabledColor)},useDgTextDisabledBackgroundColor:function(){let e=this;return(0,Oe.A)(e.dgTextDisabledBackgroundColor)},useDgInsertLineColor:function(){let e=this;return(0,Oe.A)(e.dgInsertLineColor)},useDgInsertBackgroundColor:function(){let e=this;return(0,Oe.A)(e.dgInsertBackgroundColor)},uesDgBelongBackgroundColor:function(){let e=this;return(0,Oe.A)(e.dgBelongBackgroundColor)},operateItems:function(){let e=this,t=[{key:"Rename",text:e.operateItemTextForRename,icon:e.operateItemIconForRename},{key:"InsertBefore",text:e.operateItemTextForInsertBefore,icon:e.operateItemIconForInsertBefore},{key:"InsertChild",text:e.operateItemTextForInsertChild,icon:e.operateItemIconForInsertChild},{key:"InsertAfter",text:e.operateItemTextForInsertAfter,icon:e.operateItemIconForInsertAfter},{key:"Delete",text:e.operateItemTextForDelete,icon:e.operateItemIconForDelete}];return t},useDraggable:function(){let e=this,t=e.draggable&&!e.operateShow;return t},useEditorContentBackgroundColor:function(){let e=this;return(0,Oe.A)(e.editorRenameContentBackgroundColor)},useEditorFooterBackgroundColor:function(){let e=this;return(0,Oe.A)(e.editorRenameFooterBackgroundColor)}},methods:{getEmitData:function(e,t){let n={event:e,ele:(0,l.A)(e,"currentTarget",null),row:t.row,item:t.row.item,index:t.index};return n},updateViewHeightMaxTrans:function(e){let t=this;if((0,w.A)(t.viewHeightMax))return;let n=(0,l.A)(e,"height");(0,w.A)(n)&&(t.viewHeightMaxTrans=n)},getRowsFromData:async function(e){let t=this,n=await Be(e,{bindKey:t.keyPrimary,bindChildren:t.keyChildren}),r=(0,u.A)(n,(e,t)=>({index:t,unfolding:!0,checked:"unchecked",item:e}));return r},setData:function(e){let t=this;async function n(){if(!(0,U.A)(e)&&!(0,J.A)(e)){let e="data is not an array or object";return e}null!==t.mmkey&&Ut.remove(t.mmkey),e=(0,V.A)(e);let n=await t.getRowsFromData(e);Ut.set(t.mmkey,n),await(0,le.A)(()=>void 0!==t.$refs.wdl,{attemptNum:1e4,timeInterval:20}),t.$refs.wdl&&await t.$refs.wdl.setRows(n),t.defaultToggleItems(),t.updateSelections(),t.filterKeywordsTransTemp="",t.filterItems()}n().catch(e=>{console.log(e)})},getText:function(e){let t=this,n=(0,l.A)(e,t.keyText,"");return n=(0,ie.A)(n),n},getEditable:function(e){let t=this;return!(0,l.A)(e,t.keyLocked,!1)},isKey:function(e){return(0,q.A)(e)||(0,ee.A)(e)},getUseActivable:function(e){let t=this;if(!t.activable)return!1;let n=!0;if((0,Q.A)(t.funActive)&&(n=t.funActive(t.getEmitData({},e)),!(0,te.A)(n)))throw new Error("funActive return value is not a boolean");return n},getTextColor:function(e){let t=this,n=(0,l.A)(e,t.keyPrimary);return t.isKey(n)?t.isKey(t.pkActive)&&n===t.pkActive?t.useItemTextColorActive:t.isKey(t.pkHover)&&n===t.pkHover?t.useItemTextColorHover:t.useItemTextColor:t.useItemTextColor},getBackgroundColor:function(e){let t=this,n=(0,l.A)(e,t.keyPrimary);return t.isKey(n)?t.isKey(t.pkActive)&&n===t.pkActive?t.useItemBackgroundColorActive:t.isKey(t.pkHover)&&n===t.pkHover?t.useItemBackgroundColorHover:t.useItemBackgroundColor:t.useItemBackgroundColor},mouseenterItem:function(e,t){let n=this,r=(0,l.A)(t,"row.item"),o=(0,l.A)(r,n.keyPrimary);n.isKey(o)&&(n.pkHover=o),n.$emit("mouseenter",n.getEmitData(e,t))},mouseleaveItem:function(e,t){let n=this;n.pkHover="",n.$emit("mouseleave",n.getEmitData(e,t))},clickItem:function(e,t){let n=this;if(n.activable)while(1){let r=(0,l.A)(t,"row.item"),o=!0;if((0,Q.A)(n.funActive)&&(o=n.funActive(n.getEmitData(e,t))),!o)break;let i=(0,l.A)(r,n.keyPrimary);if(!n.isKey(i))break;n.pkActive=i;let a={[n.keyPrimary]:i};n.$emit("update:itemActive",a);break}n.$emit("click",n.getEmitData(e,t))},updateSelections:function(){let e=this;async function t(){let t=[];if(!e.selectable)return;if((0,A.A)(e.selectionsTrans,e.selections))return;await(0,le.A)(()=>void 0!==e.$refs.wdl,{attemptNum:1e4,timeInterval:20});let n={fun:function(n){let r={};(0,a.A)(n,(t,o)=>{let i=(0,l.A)(t,`row.item.${e.keyPrimary}`);if((0,ae.A)(r,i))throw new Error(`Duplicate primary key[${e.keyPrimary}] in items`);r[i]=o,n[o].row.checked="unchecked"});let o=(0,V.A)(e.selections);(0,a.A)(o,o=>{let i=o[e.keyPrimary],a=r[i];if((0,K.A)(a)){let r=n[a].row.checked;"checked"!==r&&(r="checked",e.checkItemsCore(t,n,a,r))}})}};e.$refs.wdl&&await e.$refs.wdl.processItems(n),e.selectionsTrans=t,(0,A.A)(t,e.selections)||setTimeout(()=>{e.$emit("update:selections",(0,V.A)(t))},20)}t().catch(e=>{console.log(e)})},addSelection:function(e,t){let n=this,r=(0,l.A)(t,n.keyPrimary,null);if(null!==r){let o=(0,b.A)(e,{[n.keyPrimary]:r});if(!o){let r={};(0,a.A)(t,(e,t)=>{t!==n.keyChildren&&"level"!==t&&"nk"!==t&&"msg"!==t&&(r[t]=(0,V.A)(e))}),e.push(r)}}},removeSelection:function(e,t){let n=this,r=(0,l.A)(t,n.keyPrimary,null);if(null!==r){let t=(0,b.A)(e,{[n.keyPrimary]:r});t&&O(e,{[n.keyPrimary]:r})}},modifySelection:function(e,t,n,r){let o=this;t!==n&&("checked"===n?o.addSelection(e,r):o.removeSelection(e,r))},hasChildren:function(e){let t=this;return t.getLevelDiff(e)>0},hasChildrenFromItems:function(e,t){let n=this;return n.getLevelDiffFromItems(e,t)>0},getRows:function(){let e=this,t=Ut.get(e.mmkey);return t},getLevelDiff:function(e){let t=this,n=Ut.get(t.mmkey);return t.getLevelDiffFromRows(n,e)},getLevelDiffFromRows:function(e,t){let n=this,r=(0,l.A)(e,`${t}.item.level`,null),o=(0,l.A)(e,`${t+1}.item.level`,null);return n.calcLevelDiff(r,o)},getLevelDiffFromItems:function(e,t){let n=this,r=(0,l.A)(e,`${t}.row.item.level`,null),o=(0,l.A)(e,`${t+1}.row.item.level`,null);return n.calcLevelDiff(r,o)},calcLevelDiff:function(e,t){return(0,N.A)(e)&&(0,N.A)(t)?t-e:0},getLevel:function(e){return(0,l.A)(e,"item.level",0)},toggleItemsCore:function(e,t,n){let r=this,o=[];function i(){for(let e=0;e<o.length;e++)if(!1===o[e])return!1;return!0}function a(t,n){e[t].row.unfolding=n,o.push(n)}function s(t,n){let a=(0,l.A)(e,`${t}.row.item.level`,null);if(null!==a)for(let s=t+1;s<e.length;s++){let t=(0,l.A)(e,`${s}.row.item.level`,null);if(null===t)return void console.log("invalid items[i].row.item.level");if(a>=t)break;let n=i();e[s].displayShow=n;let u=r.getLevelDiffFromItems(e,s);if(u>0){let t=(0,l.A)(e,`${s}.row.unfolding`,null);if(null===t)return void console.log("invalid unfoldingNow");o.push(t)}u<0&&(o=(0,z.A)(o,-u))}else console.log("invalid items[i].row.item.level")}a(t,n),s(t,n)},unfoldingItemParentsCore:function(e,t){let n=this,r=1e20,o=[];for(let i=t;i>=0;i--){let t=(0,l.A)(e,`${i}.row.item.level`,null);if(null===t)return void console.log("invalid items[i].row.item.level");if(r>t){let n=(0,l.A)(e,`${i}.row.index`,null);if(null===n)return void console.log("invalid items[i].row.index");o.push(n),r=t}if(0===r)break}o=k(o),o=(0,z.A)(o),(0,a.A)(o,t=>{n.toggleItemsCore(e,t,!0)})},defaultToggleItems:function(){let e=this;async function t(){if(!(0,w.A)(e.defaultDisplayLevelTrans))return;if(!e.$refs.wdl)return;let t={fun:function(t){let n=(0,re.A)(e.defaultDisplayLevelTrans);(0,a.A)(t,(r,o)=>{r.row.item.level>=n&&r.row.unfolding&&e.toggleItemsCore(t,o,!1)})}};e.$refs.wdl&&await e.$refs.wdl.processItems(t)}t().catch(e=>{console.log(e)})},toggleItemsAllCore:function(e,t,n=0){let r=this;n<0&&(n=0),n>0&&(t=!1),(0,a.A)(e,(o,i)=>{o.row.item.level>=n&&o.row.unfolding!==t?r.toggleItemsCore(e,i,t):o.row.item.level<n&&o.row.unfolding!==!t&&r.toggleItemsCore(e,i,!t)})},toggleItemsAll:function(e,t=0){let n=this;async function r(){if(!n.$refs.wdl)return;let r={fun:function(r){n.toggleItemsAllCore(r,e,t)}};n.$refs.wdl&&await n.$refs.wdl.processItems(r)}r().catch(e=>{console.log(e)})},toggleItems:function(e,t){let n=this;async function r(){if(!n.$refs.wdl)return;if(n.useDraggableOrOperatable)return;let r={fun:function(r){let o=(0,l.A)(e,"index",null);if(null===o)return void console.log("invalid item.index");let i=(0,l.A)(r,`${o}.row.unfolding`,null);null!==i?((0,te.A)(t)?(i=t,t&&n.unfoldingItemParentsCore(r,o)):(i=!i,i&&n.unfoldingItemParentsCore(r,o)),n.toggleItemsCore(r,o,i)):console.log("invalid unfolding")}};n.$refs.wdl&&await n.$refs.wdl.processItems(r)}r().catch(e=>{console.log(e)})},toggleItemsByFun:async function(e){let t=this;if(!(0,Q.A)(e))return;let n=t.getRows(),r=e(n);(0,ne.A)(r)&&(r=await r);let o=(0,l.A)(r,"row");if(!(0,Y.A)(o))return void console.log("invalid row",o);let i=(0,l.A)(r,"toUnfolding");(0,te.A)(i)||(i=null),t.toggleItems(o,i)},getAllParentIndex:function(e,t){let n=this,r=t,o=[];while(1){let t=n.getParentIndex(e,r);if(null===t)break;o.push(t),r=t}let i=(0,c.A)(k(o),"-");return{inds:o,path:i}},getParentIndex:function(e,t){let n=(0,l.A)(e,`${t}.row.item.level`,null);if(null===n)return null;for(let r=t-1;r>=0;r--){let t=(0,l.A)(e,`${r}.row.item.level`,null);if(null===t)return null;if(n>t)return r}return null},checkItemsCore:function(e,t,n,r){let o=this;function i(e,n,r){let i=t[n].row.checked;t[n].row.checked=r,o.modifySelection(e,i,r,t[n].row.item)}function s(e,n,r){if(o.hasChildrenFromItems(t,n)){let i=(0,l.A)(t,`${n}.row.item.level`,null);if(null===i)return void console.log("invalid items[i].row.item.level");for(let a=n+1;a<t.length;a++){let n=(0,l.A)(t,`${a}.row.item.level`,null);if(null===n)return void console.log("invalid items[i].row.item.level");if(i>=n)break;let s=t[a].row.checked;t[a].row.checked=r,o.modifySelection(e,s,r,t[a].row.item)}}}function u(e){let n=(0,l.A)(t,`${e}.row.item.level`,null);if(null===n)return console.log("invalid items[i].row.item.level"),null;let r=[{ind:e,checked:(0,l.A)(t,`${e}.row.checked`,"")}];for(let a=e-1;a>=0;a--){let e=(0,l.A)(t,`${a}.row.item.level`,null);if(null===e)return void console.log("invalid items[i].row.item.level");if(n>e)break;n===e&&r.push({ind:a,checked:(0,l.A)(t,`${a}.row.checked`,"")})}for(let a=e+1;a<t.length;a++){let e=(0,l.A)(t,`${a}.row.item.level`,null);if(null===e)return void console.log("invalid items[i].row.item.level");if(n>e)break;n===e&&r.push({ind:a,checked:(0,l.A)(t,`${a}.row.checked`,"")})}let o=(0,y.A)(r),i=0,s=0;return(0,a.A)(r,e=>{"checked"===e.checked?i+=1:"unchecked"===e.checked&&(s+=1)}),i===o?"checked":s===o?"unchecked":"checkedPartially"}function c(e,n){let r=o.getParentIndex(t,n);if(null===r)return;let i=(0,l.A)(t,r,null),a=(0,l.A)(i,"row.checked",""),s=u(n);if(a!==s){let n=t[r].row.checked;t[r].row.checked=s,o.modifySelection(e,n,s,t[r].row.item),c(e,r)}}i(e,n,r),s(e,n,r),c(e,n)},checkItems:function(e){let t=this;async function n(){let n=(0,V.A)(t.selectionsTrans);if(!t.$refs.wdl)return;let r={fun:function(r){let o=e.index,i=(0,l.A)(r,`${o}.row.checked`,null);null!==i?(i="checked"===i?"unchecked":"checked",t.checkItemsCore(n,r,o,i)):console.log("invalid checked")}};t.$refs.wdl&&await t.$refs.wdl.processItems(r),t.selectionsTrans=n,(0,A.A)(n,t.selections)||setTimeout(()=>{t.$emit("update:selections",(0,V.A)(n))},20)}n().catch(e=>{console.log(e)})},filterItemsCore:async function(e){let t=this,n=t.filterFun,r="fun"===t.filterMode;if(!r&&t.useDraggableOrOperatable)return-1;if(!r&&t.filterKeywordsTransTemp===t.filterKeywordsTrans)return-1;t.filterKeywordsTransTemp=t.filterKeywordsTrans;let o=0;if(r||0!==(0,y.A)(t.filterKeywordsTrans)){let i=(0,G.A)(t.filterKeywordsTrans.toLowerCase()," "),l={};for(let s=0;s<e.length;s++){let u=!1;if(r)u=n(e[s].row.item),(0,ne.A)(u)&&(u=await u);else if((0,Q.A)(t.funFilter))u=t.funFilter(e[s].row.item,i),(0,ne.A)(u)&&(u=await u);else{let n=t.getText(e[s].row.item);n=n.toLowerCase();for(let e=0;e<i.length;e++){let t=i[e];if(n.indexOf(t)>=0){u=!0;break}}}if(u){e[s].filterShow=!0;let n=t.getAllParentIndex(e,s);""!==n.path&&((0,ae.A)(l,n.path)||((0,a.A)(n.inds,t=>{e[t].filterShow=!0}),l[n.path]=n)),o++}else e[s].filterShow=!1}}else{for(let t=0;t<e.length;t++)e[t].filterShow=!0;o=e.length}return o},filterItems:function(){let e=this;async function t(){if(!e.$refs.wdl)return;if(e.filterRunning)return void(e.filterPending=!0);e.filterRunning=!0;let t=-1,n={fun:async function(n){t=await e.filterItemsCore(n)}};e.$refs.wdl.setSearchingResults(-1),e.$refs.wdl&&await e.$refs.wdl.processItems(n),e.$refs.wdl&&e.$refs.wdl.setSearchingResults(t),e.filterRunning=!1,e.filterPending&&(e.filterPending=!1,e.filterItems())}t().catch(e=>{console.log(e)})},filterByFun:function(e){let t=this;t.filterMode="fun",t.filterFun=e,t.filterItems()},filterByKeywords:function(){let e=this;e.filterMode="keywords",e.filterFun=null,e.filterItems()},filterByKeywordsDebounce:function(){let e=this;e.dbc(()=>{e.filterByKeywords()})},deleteItem:function(e,t){if(0===(0,y.A)(t))throw new Error("invalid nk");if(1===(0,y.A)(t))F(e,t);else{let n=(0,z.A)(t),r=v(t),o=(0,l.A)(e,n,[]);F(o,[r])}},getPathInfors:function(e,t){let n=this,r=[];for(let o=0;o<(0,y.A)(t);o++){let i=t[o];if(i===n.keyChildren)continue;let s=[];for(let e=0;e<=o;e++)s.push(t[e]);let u=(0,l.A)(e,s),c={};(0,a.A)(u,(e,t)=>{if(t===n.keyChildren)return!0;c[t]=e}),r.push(c)}return r},dragItem:function(e,t,n,r){let o=this,i=Ut.get(o.mmkey),a=(0,V.A)(o.data),u=i[e],c=i[t],d=u.item.nk,f=c.item.nk,p=(0,V.A)((0,l.A)(a,d)),h=o.getPathInfors(a,d),g=[],m=d,b=[];if("forward"===n&&o.deleteItem(a,d),"before"===r||"after"===r){let e,t=v(f)[0];if(1===(0,y.A)(f))e=a;else{let t=(0,z.A)(f);e=(0,l.A)(a,t,[])}"before"===r||"after"===r&&(t+=1),e.splice(t,0,p);let n=(0,z.A)(f);n=[...n,t],b=n,g=o.getPathInfors(a,n)}else if("belongto"===r){let e=[...f,o.keyChildren],t=(0,l.A)(a,e,[]);t.push(p),(0,s.A)(a,e,t);let n=[...e,(0,y.A)(t)-1];b=n,g=o.getPathInfors(a,n)}"backward"===n&&o.deleteItem(a,d),o.$nextTick(()=>{o.$emit("update:data",(0,V.A)(a)),o.$emit("change-item",{from:"drag",mode:"move",dir:n,kind:r,nkOri:m,pathInforsOri:h,nkNew:b,pathInforsNew:g})})},getUseOperateItems:function(e){let t=this;if(!t.operatable)return[];let n=null;if((0,Q.A)(t.funOperateItem)){let r=t.funOperateItem(t.getEmitData({},e));if(!(0,te.A)(r)&&!(0,U.A)(r))throw new Error("funOperateItem return value is not a boolean or an array");!0===r?n=t.operateItems:!1===r?n=[]:(n=[],(0,a.A)(r,e=>{let r=(0,b.A)(t.operateItems,{key:e});(0,Y.A)(r)&&n.push(r)}))}else n=t.operateItems;return n},getUseOperatable:function(e){let t=this,n=t.getUseOperateItems(e),r=(0,y.A)(n)>0;return r},getOperatePanelHeight:function(e){let t=this,n="";if((0,ee.A)(t.operatePanelHeight))n=`height:${t.operatePanelHeight}px;`;else if((0,q.A)(t.operatePanelHeight))n=`height:${t.operatePanelHeight};`;else if((0,ee.A)(t.operateItemHeight)){let r=(0,oe.A)(t.operateItemHeight),o=t.getUseOperateItems(e);n=`height:${(0,y.A)(o)*r}px;`}return n},operateItem:async function(e,t,n){let r=this;async function o(){let o=Ut.get(r.mmkey),i=(0,V.A)(r.data),a=o[e],u=a.item.nk,c="",d=[],f=[],p=[],h=[];if("Delete"===t)c="self",p=u,d=r.getPathInfors(i,u),r.deleteItem(i,u),h=[],f=[];else if("Rename"===t){r.editorRenameData=i,r.editorRenameItem=(0,l.A)(a,"item",{}),r.editorRenameInputText=(0,l.A)(a,`item.${r.keyText}`,"");let e=await r.showEditor();if("save"!==e)return;c="self",p=u,d=r.getPathInfors(r.data,u),i=r.editorRenameData,h=p,f=r.getPathInfors(i,u)}else{if(!(0,Q.A)(n))throw new Error("invalid fun");let e=n();if((0,ne.A)(e)&&(e=await e),"InsertBefore"===t)c="before";else if("InsertAfter"===t)c="after";else{if("InsertChild"!==t)throw new Error(`invalid mode[${t}]`);c="belongto"}let o=c;if("before"===o||"after"===o){p=[],d=[];let t,n=v(u)[0];if(1===(0,y.A)(u))t=i;else{let e=(0,z.A)(u);t=(0,l.A)(i,e,[])}"before"===o||"after"===o&&(n+=1),t.splice(n,0,e);let a=(0,z.A)(u);a=[...a,n],h=a,f=r.getPathInfors(i,a)}else if("belongto"===o){p=[],d=[];let t=[...u,r.keyChildren],n=(0,l.A)(i,t,[]);n.push(e),(0,s.A)(i,t,n);let o=[...t,(0,y.A)(n)-1];h=o,f=r.getPathInfors(i,o)}}r.$nextTick(()=>{r.$emit("update:data",(0,V.A)(i));let e="";e="Delete"===t?"delete":"Rename"===t?"rename":"add",r.$emit("change-item",{from:"operate",mode:e,dir:"",kind:c,nkOri:p,pathInforsOri:d,nkNew:h,pathInforsNew:f})})}await o().catch(e=>{console.log(e)})},getDgGroupKey:function(){let e=this;return null===e.dgGroupKey&&(e.dgGroupKey=`r${(0,M.A)()}`),e.dgGroupKey},getDgOpt:function(){let e=this,t={group:e.getDgGroupKey(),attIndex:"dragindex",attGroup:"draggroup",previewOpacity:e.dgPreviewOpacity,previewDisabledOpacity:e.dgPreviewDisabledOpacity,previewBorderWidth:e.dgPreviewBorderWidth,previewBorderColor:e.dgPreviewBorderColor,previewBackground:e.dgPreviewBackground,timeDragStartDelay:1};return t},isBelong:function(e,t){function n(e,t){let n=(0,d.A)([(0,y.A)(e),(0,y.A)(t)]),r=g(e,n),o=g(t,n),i=(0,A.A)(r,o);return i}return(0,y.A)(e)>=(0,y.A)(t)&&n(e,t)},dragdrop:function(e){let t=this;if("move"===e.evName){let n=Ut.get(t.mmkey),r=n[e.startInd],o=n[e.endInd],i=t.isBelong(o.item.nk,r.item.nk),a=(0,l.A)(e,"endEle.parentNode");if(!a.getAttribute)return void console.log("invalud ele.getAttribute",a);t.dgTipTop=(0,oe.A)(a.getAttribute("top")),t.dgTipLeft=0,t.dgTipWidth=a.offsetWidth,t.dgTipHeight=a.offsetHeight,i?t.dgTipMode="disabled":e.ry<=.3?t.dgTipMode="lineTop":e.ry>=.7?t.dgTipMode="lineBottom":e.ry>.3&&e.ry<.7?t.dgTipMode="block":t.dgTipMode=""}else if("leave"===e.evName)t.dgTipMode="";else if("drop"===e.evName){if(e.startInd===e.endInd)return void(t.dgTipMode="");if(""===t.dgTipMode)return;let n,r;if(e.startInd<e.endInd)n="backward";else{if(!(e.startInd>e.endInd))throw new Error("invalid modeDir");n="forward"}if("disabled"===t.dgTipMode)t.dgTipMode="";else if("lineTop"===t.dgTipMode)r="before";else if("lineBottom"===t.dgTipMode)r="after";else{if("block"!==t.dgTipMode)throw console.log("dgTipMode",t.dgTipMode),new Error("invalid dgTipMode");r="belongto"}if(""===t.dgTipMode)return;t.dgTipMode="",t.dragItem(e.startInd,e.endInd,n,r)}},clickOperateItem:function(e){let t=this;e.operateItem=t.operateItem,t.$emit("click-operate-item",e)},setDataByPathAndValue:function(e,t,n){let r=this;(0,s.A)(e,t,n),r.setData(e)},saveRename:function(){let e=this,t=(0,l.A)(e.editorRenameItem,"nk",[]),n=[...t,e.keyText],r=e.editorRenameInputText;(0,s.A)(e.editorRenameData,n,r),e.editorPm.resolve("save"),e.editorShow=!1},cancelEditor:function(){let e=this;e.editorPm.resolve("cancel"),e.editorShow=!1},showEditor:async function(){let e=this,t=(0,D.A)();return e.editorShow=!0,e.editorPm=t,t},operateDisableEvent:function(e,t){let n=this;n.operateShow||e.stopPropagation()},operateDisplayEvent:function(e){let t=this;t.operateShow="show"===e},updateOperateShow:function(e){let t=this;t.operateShow=e}}},Jt=Kt,Yt=(0,Ge.A)(Jt,r,o,!1,null,"5f1ad6e2",null),Qt=Yt.exports},1656:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,l){var s,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(s=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=s):o&&(s=l?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var c=u.render;u.render=function(e,t){return s.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,s):[s]}return{exports:e,options:u}}n.d(t,{A:function(){return r}})},9021:function(e,t,n){(function(t,n){e.exports=n()})(0,function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(m){}var o=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},l=a.lib={},s=l.Base=function(){return{extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=l.WordArray=s.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var l=0;l<o;l+=4)t[r+l>>>2]=n[l>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(o());return new u.init(t,e)}}),c=a.enc={},d=c.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u.init(n,t/2)}},f=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new u.init(n,t)}},p=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=l.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,l=4*a,s=i/l;s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0);var c=s*a,d=e.min(4*c,i);if(c){for(var f=0;f<c;f+=a)this._doProcessBlock(o,f);n=o.splice(0,c),r.sigBytes-=d}return new u.init(n,d)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(l.Hasher=h.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new g.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math);return e})},754:function(e,t,n){(function(t,r){e.exports=r(n(9021))})(0,function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.enc;o.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var a=t[i>>>2]>>>24-i%4*8&255,l=t[i+1>>>2]>>>24-(i+1)%4*8&255,s=t[i+2>>>2]>>>24-(i+2)%4*8&255,u=a<<16|l<<8|s,c=0;c<4&&i+.75*c<n;c++)o.push(r.charAt(u>>>6*(3-c)&63));var d=r.charAt(64);if(d)while(o.length%4)o.push(d);return o.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<n.length;o++)r[n.charCodeAt(o)]=o}var a=n.charAt(64);if(a){var l=e.indexOf(a);-1!==l&&(t=l)}return i(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function i(e,t,n){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var l=n[e.charCodeAt(a-1)]<<a%4*2,s=n[e.charCodeAt(a)]>>>6-a%4*2,u=l|s;o[i>>>2]|=u<<24-i%4*8,i++}return r.create(o,i)}}(),e.enc.Base64})},5178:function(e,t,n){(function(t,r){e.exports=r(n(9021))})(0,function(e){return e.enc.Utf8})},6440:function(e,t,n){(function(t,r){e.exports=r(n(9021))})(0,function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,o=r.init,i=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r<t;r++)n[r>>>2]|=e[r]<<24-r%4*8;o.call(this,n,t)}else o.apply(this,arguments)};i.prototype=r}}(),e.lib.WordArray})},4353:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",l="day",s="week",u="month",c="quarter",d="year",f="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,u),i=n-o<0,a=t.clone().add(r+(i?-1:1),u);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:d,w:s,d:l,D:f,h:a,m:i,s:o,ms:r,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",A={};A[y]=m;var w="$isDayjsObject",C=function(e){return e instanceof S||!(!e||!e[w])},x=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();A[i]&&(o=i),n&&(A[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var l=t.name;A[l]=t,o=l}return!r&&o&&(y=o),o||!r&&y},_=function(e,t){if(C(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},k=b;k.l=x,k.i=C,k.w=function(e,t){return _(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function m(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var v=m.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===p)},v.isSame=function(e,t){var n=_(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return _(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<_(e)},v.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!k.u(t)||t,c=k.p(e),p=function(e,t){var o=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(l)},h=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,m=this.$M,v=this.$D,b="set"+(this.$u?"UTC":"");switch(c){case d:return r?p(1,0):p(31,11);case u:return r?p(1,m):p(0,m+1);case s:var y=this.$locale().weekStart||0,A=(g<y?g+7:g)-y;return p(r?v-A:v+(6-A),m);case l:case f:return h(b+"Hours",0);case a:return h(b+"Minutes",1);case i:return h(b+"Seconds",2);case o:return h(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,s=k.p(e),c="set"+(this.$u?"UTC":""),p=(n={},n[l]=c+"Date",n[f]=c+"Date",n[u]=c+"Month",n[d]=c+"FullYear",n[a]=c+"Hours",n[i]=c+"Minutes",n[o]=c+"Seconds",n[r]=c+"Milliseconds",n)[s],h=s===l?this.$D+(t-this.$W):t;if(s===u||s===d){var g=this.clone().set(f,1);g.$d[p](h),g.init(),this.$d=g.set(f,Math.min(this.$D,g.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[k.p(e)]()},v.add=function(r,c){var f,p=this;r=Number(r);var h=k.p(c),g=function(e){var t=_(p);return k.w(t.date(t.date()+Math.round(e*r)),p)};if(h===u)return this.set(u,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===l)return g(1);if(h===s)return g(7);var m=(f={},f[i]=t,f[a]=n,f[o]=e,f)[h]||1,v=this.$d.getTime()+r*m;return k.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=k.z(this),i=this.$H,a=this.$m,l=this.$M,s=n.weekdays,u=n.months,c=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},f=function(e){return k.s(i%12||12,e,"0")},h=c||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(g,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return l+1;case"MM":return k.s(l+1,2,"0");case"MMM":return d(n.monthsShort,l,u,3);case"MMMM":return d(u,l);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,s,2);case"ddd":return d(n.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(i);case"HH":return k.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,p){var h,g=this,m=k.p(f),v=_(r),b=(v.utcOffset()-this.utcOffset())*t,y=this-v,A=function(){return k.m(g,v)};switch(m){case d:h=A()/12;break;case u:h=A();break;case c:h=A()/3;break;case s:h=(y-b)/6048e5;break;case l:h=(y-b)/864e5;break;case a:h=y/n;break;case i:h=y/t;break;case o:h=y/e;break;default:h=y}return p?h:k.a(h)},v.daysInMonth=function(){return this.endOf(u).$D},v.$locale=function(){return A[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=x(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},m}(),I=S.prototype;return _.prototype=I,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",l],["$M",u],["$y",d],["$D",f]].forEach(function(e){I[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),_.extend=function(e,t){return e.$i||(e(t,S,_),e.$i=!0),_},_.locale=x,_.isDayjs=C,_.unix=function(e){return _(1e3*e)},_.en=A[y],_.Ls=A,_.p={},_})},228:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var l=new o(r,i||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],l]:e._events[s].push(l):(e._events[s]=l,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},l.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,o,i,a){var l=n?n+e:e;if(!this._events[l])return!1;var s,u,c=this._events[l],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,o),!0;case 5:return c.fn.call(c.context,t,r,o,i),!0;case 6:return c.fn.call(c.context,t,r,o,i,a),!0}for(u=1,s=new Array(d-1);u<d;u++)s[u-1]=arguments[u];c.fn.apply(c.context,s)}else{var f,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,r);break;case 4:c[u].fn.call(c[u].context,t,r,o);break;default:if(!s)for(f=1,s=new Array(d-1);f<d;f++)s[f-1]=arguments[f];c[u].fn.apply(c[u].context,s)}}return!0},l.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},l.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},l.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var l=this._events[i];if(l.fn)l.fn!==t||o&&!l.once||r&&l.context!==r||a(this,i);else{for(var s=0,u=[],c=l.length;s<c;s++)(l[s].fn!==t||o&&!l[s].once||r&&l[s].context!==r)&&u.push(l[s]);u.length?this._events[i]=1===u.length?u[0]:u:a(this,i)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,e.exports=l},1552:function(e,t,n){var r;/*! showdown v 2.1.0 - 21-04-2022 */
|
|
2
|
+
(function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}function i(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}var a={},l={},s={},u=o(!0),c="vanilla",d={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:i()};function f(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};a.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var i=n+" sub-extension "+o+": ",l=e[o];if("object"!==typeof l)return r.valid=!1,r.error=i+"must be an object, but "+typeof l+" given",r;if(!a.helper.isString(l.type))return r.valid=!1,r.error=i+'property "type" must be a string, but '+typeof l.type+" given",r;var s=l.type=l.type.toLowerCase();if("language"===s&&(s=l.type="lang"),"html"===s&&(s=l.type="output"),"lang"!==s&&"output"!==s&&"listener"!==s)return r.valid=!1,r.error=i+"type "+s+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===s){if(a.helper.isUndefined(l.listeners))return r.valid=!1,r.error=i+'. Extensions of type "listener" must have a property called "listeners"',r}else if(a.helper.isUndefined(l.filter)&&a.helper.isUndefined(l.regex))return r.valid=!1,r.error=i+s+' extensions must define either a "regex" property or a "filter" method',r;if(l.listeners){if("object"!==typeof l.listeners)return r.valid=!1,r.error=i+'"listeners" property must be an object but '+typeof l.listeners+" given",r;for(var u in l.listeners)if(l.listeners.hasOwnProperty(u)&&"function"!==typeof l.listeners[u])return r.valid=!1,r.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+u+" must be a function but "+typeof l.listeners[u]+" given",r}if(l.filter){if("function"!==typeof l.filter)return r.valid=!1,r.error=i+'"filter" must be a function, but '+typeof l.filter+" given",r}else if(l.regex){if(a.helper.isString(l.regex)&&(l.regex=new RegExp(l.regex,"g")),!(l.regex instanceof RegExp))return r.valid=!1,r.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof l.regex+" given",r;if(a.helper.isUndefined(l.replace))return r.valid=!1,r.error=i+'"regex" extensions must implement a replace string or function',r}}return r}function p(e,t){"use strict";var n=t.charCodeAt(0);return"¨E"+n+"E"}a.helper={},a.extensions={},a.setOption=function(e,t){"use strict";return u[e]=t,this},a.getOption=function(e){"use strict";return u[e]},a.getOptions=function(){"use strict";return u},a.resetOptions=function(){"use strict";u=o(!0)},a.setFlavor=function(e){"use strict";if(!d.hasOwnProperty(e))throw Error(e+" flavor was not found");a.resetOptions();var t=d[e];for(var n in c=e,t)t.hasOwnProperty(n)&&(u[n]=t[n])},a.getFlavor=function(){"use strict";return c},a.getFlavorOptions=function(e){"use strict";if(d.hasOwnProperty(e))return d[e]},a.getDefaultOptions=function(e){"use strict";return o(e)},a.subParser=function(e,t){"use strict";if(a.helper.isString(e)){if("undefined"===typeof t){if(l.hasOwnProperty(e))return l[e];throw Error("SubParser named "+e+" not registered!")}l[e]=t}},a.extension=function(e,t){"use strict";if(!a.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=a.helper.stdExtName(e),a.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"===typeof t&&(t=t()),a.helper.isArray(t)||(t=[t]);var n=f(t,e);if(!n.valid)throw Error(n.error);s[e]=t},a.getAllExtensions=function(){"use strict";return s},a.removeExtension=function(e){"use strict";delete s[e]},a.resetExtensions=function(){"use strict";s={}},a.validateExtension=function(e){"use strict";var t=f(e,null);return!!t.valid||(console.warn(t.error),!1)},a.hasOwnProperty("helper")||(a.helper={}),a.helper.isString=function(e){"use strict";return"string"===typeof e||e instanceof String},a.helper.isFunction=function(e){"use strict";var t={};return e&&"[object Function]"===t.toString.call(e)},a.helper.isArray=function(e){"use strict";return Array.isArray(e)},a.helper.isUndefined=function(e){"use strict";return"undefined"===typeof e},a.helper.forEach=function(e,t){"use strict";if(a.helper.isUndefined(e))throw new Error("obj param is required");if(a.helper.isUndefined(t))throw new Error("callback param is required");if(!a.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"===typeof e.forEach)e.forEach(t);else if(a.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!==typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},a.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},a.helper.escapeCharactersCallback=p,a.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,p),e},a.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var h=function(e,t,n,r){"use strict";var o,i,a,l,s,u=r||"",c=u.indexOf("g")>-1,d=new RegExp(t+"|"+n,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),p=[];do{o=0;while(a=d.exec(e))if(f.test(a[0]))o++||(i=d.lastIndex,l=i-a[0].length);else if(o&&! --o){s=a.index+a[0].length;var h={left:{start:l,end:i},match:{start:i,end:a.index},right:{start:a.index,end:s},wholeMatch:{start:l,end:s}};if(p.push(h),!c)return p}}while(o&&(d.lastIndex=i));return p};a.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=h(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},a.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!a.helper.isFunction(t)){var i=t;t=function(){return i}}var l=h(e,n,r,o),s=e,u=l.length;if(u>0){var c=[];0!==l[0].wholeMatch.start&&c.push(e.slice(0,l[0].wholeMatch.start));for(var d=0;d<u;++d)c.push(t(e.slice(l[d].wholeMatch.start,l[d].wholeMatch.end),e.slice(l[d].match.start,l[d].match.end),e.slice(l[d].left.start,l[d].left.end),e.slice(l[d].right.start,l[d].right.end))),d<u-1&&c.push(e.slice(l[d].wholeMatch.end,l[d+1].wholeMatch.start));l[u-1].wholeMatch.end<e.length&&c.push(e.slice(l[u-1].wholeMatch.end)),s=c.join("")}return s},a.helper.regexIndexOf=function(e,t,n){"use strict";if(!a.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp===!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},a.helper.splitAtIndex=function(e,t){"use strict";if(!a.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},a.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}),e},a.helper.padEnd=function(e,t,n){"use strict";return t|=0,n=String(n||" "),e.length>t?String(e):(t-=e.length,t>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"===typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),a.helper.regexes={asteriskDashAndColon:/([*_:~])/g},a.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},a.Converter=function(e){"use strict";var t={},n=[],r=[],o={},i=c,l={parsed:{},raw:"",format:""};function p(){for(var n in e=e||{},u)u.hasOwnProperty(n)&&(t[n]=u[n]);if("object"!==typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.extensions&&a.helper.forEach(t.extensions,h)}function h(e,t){if(t=t||null,a.helper.isString(e)){if(e=a.helper.stdExtName(e),t=e,a.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void g(a.extensions[e],e);if(a.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"===typeof e&&(e=e()),a.helper.isArray(e)||(e=[e]);var o=f(e,t);if(!o.valid)throw Error(o.error);for(var i=0;i<e.length;++i){switch(e[i].type){case"lang":n.push(e[i]);break;case"output":r.push(e[i]);break}if(e[i].hasOwnProperty("listeners"))for(var l in e[i].listeners)e[i].listeners.hasOwnProperty(l)&&m(l,e[i].listeners[l])}}function g(e,t){"function"===typeof e&&(e=e(new a.Converter)),a.helper.isArray(e)||(e=[e]);var o=f(e,t);if(!o.valid)throw Error(o.error);for(var i=0;i<e.length;++i)switch(e[i].type){case"lang":n.push(e[i]);break;case"output":r.push(e[i]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function m(e,t){if(!a.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!==typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}function v(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}p(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&"undefined"!==typeof a&&(t=a)}return t},this.listen=function(e,t){return m(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=e.replace(/¨/g,"¨T"),e=e.replace(/\$/g,"¨D"),e=e.replace(/\r\n/g,"\n"),e=e.replace(/\r/g,"\n"),e=e.replace(/\u00A0/g," "),t.smartIndentationFix&&(e=v(e)),e="\n\n"+e+"\n\n",e=a.subParser("detab")(e,t,o),e=e.replace(/^[ \t]+$/gm,""),a.helper.forEach(n,function(n){e=a.subParser("runExtension")(n,e,t,o)}),e=a.subParser("metadata")(e,t,o),e=a.subParser("hashPreCodeTags")(e,t,o),e=a.subParser("githubCodeBlocks")(e,t,o),e=a.subParser("hashHTMLBlocks")(e,t,o),e=a.subParser("hashCodeTags")(e,t,o),e=a.subParser("stripLinkDefinitions")(e,t,o),e=a.subParser("blockGamut")(e,t,o),e=a.subParser("unhashHTMLSpans")(e,t,o),e=a.subParser("unescapeSpecialChars")(e,t,o),e=e.replace(/¨D/g,"$$"),e=e.replace(/¨T/g,"¨"),e=a.subParser("completeHTMLDocument")(e,t,o),a.helper.forEach(r,function(n){e=a.subParser("runExtension")(n,e,t,o)}),l=o.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=e.replace(/\r\n/g,"\n"),e=e.replace(/\r/g,"\n"),e=e.replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:u(n)};s(n);for(var o=n.childNodes,i="",l=0;l<o.length;l++)i+=a.subParser("makeMarkdown.node")(o[l],r);function s(e){for(var t=0;t<e.childNodes.length;++t){var n=e.childNodes[t];3===n.nodeType?/\S/.test(n.nodeValue)||/^[ ]+$/.test(n.nodeValue)?(n.nodeValue=n.nodeValue.split("\n").join(" "),n.nodeValue=n.nodeValue.replace(/(\s)+/g,"$1")):(e.removeChild(n),--t):1===n.nodeType&&s(n)}}function u(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r<t.length;++r)if(1===t[r].childElementCount&&"code"===t[r].firstChild.tagName.toLowerCase()){var o=t[r].firstChild.innerHTML.trim(),i=t[r].firstChild.getAttribute("data-language")||"";if(""===i)for(var l=t[r].firstChild.className.split(" "),s=0;s<l.length;++s){var u=l[s].match(/^language-(.+)$/);if(null!==u){i=u[1];break}}o=a.helper.unescapeHTMLEntities(o),n.push(o),t[r].outerHTML='<precode language="'+i+'" precodenum="'+r.toString()+'"></precode>'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}return i},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){t=t||null,h(e,t)},this.useExtension=function(e){h(e)},this.setFlavor=function(e){if(!d.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=d[e];for(var r in i=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return i},this.removeExtension=function(e){a.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],i=0;i<n.length;++i)n[i]===o&&n.splice(i,1);for(var l=0;l<r.length;++l)r[l]===o&&r.splice(l,1)}},this.getAllExtensions=function(){return{language:n,output:r}},this.getMetadata=function(e){return e?l.raw:l.parsed},this.getMetadataFormat=function(){return l.format},this._setMetadataPair=function(e,t){l.parsed[e]=t},this._setMetadataFormat=function(e){l.format=e},this._setMetadataRaw=function(e){l.raw=e}},a.subParser("anchors",function(e,t,n){"use strict";e=n.converter._dispatch("anchors.before",e,t,n);var r=function(e,r,o,i,l,s,u){if(a.helper.isUndefined(u)&&(u=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),i="#"+o,a.helper.isUndefined(n.gUrls[o]))return e;i=n.gUrls[o],a.helper.isUndefined(n.gTitles[o])||(u=n.gTitles[o])}i=i.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback);var c='<a href="'+i+'"';return""!==u&&null!==u&&(u=u.replace(/"/g,"""),u=u.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback),c+=' title="'+u+'"'),t.openLinksInNewWindow&&!/^#/.test(i)&&(c+=' rel="noopener noreferrer" target="¨E95Eblank"'),c+=">"+r+"</a>",c};return e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,n,r,o,i){if("\\"===r)return n+o;if(!a.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var l=t.ghMentionsLink.replace(/\{u}/g,i),s="";return t.openLinksInNewWindow&&(s=' rel="noopener noreferrer" target="¨E95Eblank"'),n+'<a href="'+l+'"'+s+">"+o+"</a>"})),e=n.converter._dispatch("anchors.after",e,t,n),e});var g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,m=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,v=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,b=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,y=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,A=function(e){"use strict";return function(t,n,r,o,i,l,s){r=r.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback);var u=r,c="",d="",f=n||"",p=s||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&l&&(c=l),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),f+'<a href="'+r+'"'+d+">"+u+"</a>"+c+p}},w=function(e,t){"use strict";return function(n,r,o){var i="mailto:";return r=r||"",o=a.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(i=a.helper.encodeEmailAddress(i+o),o=a.helper.encodeEmailAddress(o)):i+=o,r+'<a href="'+i+'">'+o+"</a>"}};a.subParser("autoLinks",function(e,t,n){"use strict";return e=n.converter._dispatch("autoLinks.before",e,t,n),e=e.replace(v,A(t)),e=e.replace(y,w(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n),e}),a.subParser("simplifiedAutoLinks",function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=t.excludeTrailingPunctuationFromURLs?e.replace(m,A(t)):e.replace(g,A(t)),e=e.replace(b,w(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n),e):e}),a.subParser("blockGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=a.subParser("blockQuotes")(e,t,n),e=a.subParser("headers")(e,t,n),e=a.subParser("horizontalRule")(e,t,n),e=a.subParser("lists")(e,t,n),e=a.subParser("codeBlocks")(e,t,n),e=a.subParser("tables")(e,t,n),e=a.subParser("hashHTMLBlocks")(e,t,n),e=a.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n),e}),a.subParser("blockQuotes",function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,function(e){return e=e.replace(/^[ \t]*>[ \t]?/gm,""),e=e.replace(/¨0/g,""),e=e.replace(/^[ \t]+$/gm,""),e=a.subParser("githubCodeBlocks")(e,t,n),e=a.subParser("blockGamut")(e,t,n),e=e.replace(/(^|\n)/g,"$1 "),e=e.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=n.replace(/^ /gm,"¨0"),n=n.replace(/¨0/g,""),n}),a.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n),e}),a.subParser("codeBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n),e+="¨0";var r=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return e=e.replace(r,function(e,r,o){var i=r,l=o,s="\n";return i=a.subParser("outdent")(i,t,n),i=a.subParser("encodeCode")(i,t,n),i=a.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(s=""),i="<pre><code>"+i+s+"</code></pre>",a.subParser("hashBlock")(i,t,n)+l}),e=e.replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n),e}),a.subParser("codeSpans",function(e,t,n){"use strict";return e=n.converter._dispatch("codeSpans.before",e,t,n),"undefined"===typeof e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,o,i){var l=i;return l=l.replace(/^([ \t]*)/g,""),l=l.replace(/[ \t]*$/g,""),l=a.subParser("encodeCode")(l,t,n),l=r+"<code>"+l+"</code>",l=a.subParser("hashHTMLSpans")(l,t,n),l}),e=n.converter._dispatch("codeSpans.after",e,t,n),e}),a.subParser("completeHTMLDocument",function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",o="<!DOCTYPE HTML>\n",i="",a='<meta charset="utf-8">\n',l="",s="";for(var u in"undefined"!==typeof n.metadata.parsed.doctype&&(o="<!DOCTYPE "+n.metadata.parsed.doctype+">\n",r=n.metadata.parsed.doctype.toString().toLowerCase(),"html"!==r&&"html5"!==r||(a='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(u))switch(u.toLowerCase()){case"doctype":break;case"title":i="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":a="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":l=' lang="'+n.metadata.parsed[u]+'"',s+='<meta name="'+u+'" content="'+n.metadata.parsed[u]+'">\n';break;default:s+='<meta name="'+u+'" content="'+n.metadata.parsed[u]+'">\n'}return e=o+"<html"+l+">\n<head>\n"+i+a+s+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n),e}),a.subParser("detab",function(e,t,n){"use strict";return e=n.converter._dispatch("detab.before",e,t,n),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}),e=e.replace(/¨A/g," "),e=e.replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n),e}),a.subParser("ellipsis",function(e,t,n){"use strict";return t.ellipsis?(e=n.converter._dispatch("ellipsis.before",e,t,n),e=e.replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n),e):e}),a.subParser("emoji",function(e,t,n){"use strict";if(!t.emoji)return e;e=n.converter._dispatch("emoji.before",e,t,n);var r=/:([\S]+?):/g;return e=e.replace(r,function(e,t){return a.helper.emojis.hasOwnProperty(t)?a.helper.emojis[t]:e}),e=n.converter._dispatch("emoji.after",e,t,n),e}),a.subParser("encodeAmpsAndAngles",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n),e=e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"),e=e.replace(/<(?![a-z\/?$!])/gi,"<"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n),e}),a.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n),e=e.replace(/\\(\\)/g,a.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,a.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n),e}),a.subParser("encodeCode",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeCode.before",e,t,n),e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,a.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n),e}),a.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n);var r=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,o=/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return e=e.replace(r,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,a.helper.escapeCharactersCallback)}),e=e.replace(o,function(e){return e.replace(/([\\`*_~=|])/g,a.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n),e}),a.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,r,o,i){var l=t.omitExtraWLInCodeBlocks?"":"\n";return i=a.subParser("encodeCode")(i,t,n),i=a.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),i="<pre><code"+(o?' class="'+o+" language-"+o+'"':"")+">"+i+l+"</code></pre>",i=a.subParser("hashBlock")(i,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}),e=e.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),a.subParser("hashBlock",function(e,t,n){"use strict";return e=n.converter._dispatch("hashBlock.before",e,t,n),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n),e}),a.subParser("hashCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);var r=function(e,r,o,i){var l=o+a.subParser("encodeCode")(r,t,n)+i;return"¨C"+(n.gHtmlSpans.push(l)-1)+"C"};return e=a.helper.replaceRecursiveRegExp(e,r,"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n),e}),a.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var r=t;return r=r.replace(/\n\n/g,"\n"),r=r.replace(/^\n/,""),r=r.replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n",r}}),a.subParser("hashHTMLBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var i=0;i<r.length;++i){var l,s=new RegExp("^ {0,3}(<"+r[i]+"\\b[^>]*>)","im"),u="<"+r[i]+"\\b[^>]*>",c="</"+r[i]+">";while(-1!==(l=a.helper.regexIndexOf(e,s))){var d=a.helper.splitAtIndex(e,l),f=a.helper.replaceRecursiveRegExp(d[1],o,u,c,"im");if(f===d[1])break;e=d[0].concat(f)}}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,a.subParser("hashElement")(e,t,n)),e=a.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,a.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n),e}),a.subParser("hashHTMLSpans",function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=n.converter._dispatch("hashHTMLSpans.before",e,t,n),e=e.replace(/<[^>]+?\/>/gi,function(e){return r(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n),e}),a.subParser("unhashHTMLSpans",function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){var o=n.gHtmlSpans[r],i=0;while(/¨C(\d+)C/.test(o)){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i){console.error("maximum nesting of 10 spans reached!!!");break}++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n),e}),a.subParser("hashPreCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);var r=function(e,r,o,i){var l=o+a.subParser("encodeCode")(r,t,n)+i;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:l})-1)+"G\n\n"};return e=a.helper.replaceRecursiveRegExp(e,r,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n),e}),a.subParser("headers",function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,i=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=e.replace(o,function(e,o){var i=a.subParser("spanGamut")(o,t,n),l=t.noHeaderId?"":' id="'+s(o)+'"',u=r,c="<h"+u+l+">"+i+"</h"+u+">";return a.subParser("hashBlock")(c,t,n)}),e=e.replace(i,function(e,o){var i=a.subParser("spanGamut")(o,t,n),l=t.noHeaderId?"":' id="'+s(o)+'"',u=r+1,c="<h"+u+l+">"+i+"</h"+u+">";return a.subParser("hashBlock")(c,t,n)});var l=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function s(e){var r,o;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return r=e,o=a.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}return e=e.replace(l,function(e,o,i){var l=i;t.customizedHeaderId&&(l=i.replace(/\s?\{([^{]+?)}\s*$/,""));var u=a.subParser("spanGamut")(l,t,n),c=t.noHeaderId?"":' id="'+s(i)+'"',d=r-1+o.length,f="<h"+d+c+">"+u+"</h"+d+">";return a.subParser("hashBlock")(f,t,n)}),e=n.converter._dispatch("headers.after",e,t,n),e}),a.subParser("horizontalRule",function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=a.subParser("hashBlock")("<hr />",t,n);return e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n),e}),a.subParser("images",function(e,t,n){"use strict";e=n.converter._dispatch("images.before",e,t,n);var r=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,o=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,i=/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,l=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,s=/!\[([^\[\]]+)]()()()()()/g;function u(e,t,n,r,o,i,a,l){return r=r.replace(/\s/g,""),c(e,t,n,r,o,i,a,l)}function c(e,t,r,o,i,l,s,u){var c=n.gUrls,d=n.gTitles,f=n.gDimensions;if(r=r.toLowerCase(),u||(u=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,a.helper.isUndefined(c[r]))return e;o=c[r],a.helper.isUndefined(d[r])||(u=d[r]),a.helper.isUndefined(f[r])||(i=f[r].width,l=f[r].height)}t=t.replace(/"/g,""").replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback),o=o.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback);var p='<img src="'+o+'" alt="'+t+'"';return u&&a.helper.isString(u)&&(u=u.replace(/"/g,""").replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback),p+=' title="'+u+'"'),i&&l&&(i="*"===i?"auto":i,l="*"===l?"auto":l,p+=' width="'+i+'"',p+=' height="'+l+'"'),p+=" />",p}return e=e.replace(l,c),e=e.replace(i,u),e=e.replace(o,c),e=e.replace(r,c),e=e.replace(s,c),e=n.converter._dispatch("images.after",e,t,n),e}),a.subParser("italicsAndBold",function(e,t,n){"use strict";function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")}),e=e.replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return r(t,"<strong>","</strong>")}),e=e.replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),t.literalMidWordAsterisks?(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")}),e=e.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<strong>","</strong>")}),e=e.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<em>","</em>")})):(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n),e}),a.subParser("lists",function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n"),e+="¨0";var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e);return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(o,function(e,r,o,l,s,u,c){c=c&&""!==c.trim();var d=a.subParser("outdent")(s,t,n),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return c&&(e+=" checked"),e+=">",e})),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),r||d.search(/\n{2,}/)>-1?(d=a.subParser("githubCodeBlocks")(d,t,n),d=a.subParser("blockGamut")(d,t,n)):(d=a.subParser("lists")(d,t,n),d=d.replace(/\n$/,""),d=a.subParser("hashHTMLBlocks")(d,t,n),d=d.replace(/\n\n+/g,"\n\n"),d=i?a.subParser("paragraphs")(d,t,n):a.subParser("spanGamut")(d,t,n)),d=d.replace("¨A",""),d="<li"+f+">"+d+"</li>\n",d}),e=e.replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function i(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,l=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,s="ul"===n?a:l,u="";if(-1!==e.search(s))(function t(c){var d=c.search(s),f=o(e,n);-1!==d?(u+="\n\n<"+n+f+">\n"+r(c.slice(0,d),!!i)+"</"+n+">\n",n="ul"===n?"ol":"ul",s="ul"===n?a:l,t(c.slice(d))):u+="\n\n<"+n+f+">\n"+r(c,!!i)+"</"+n+">\n"})(e);else{var c=o(e,n);u="\n\n<"+n+c+">\n"+r(e,!!i)+"</"+n+">\n"}return u}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){var r=n.search(/[*+-]/g)>-1?"ul":"ol";return i(t,r,!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,r){var o=r.search(/[*+-]/g)>-1?"ul":"ol";return i(n,o,!1)}),e=e.replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n),e}),a.subParser("metadata",function(e,t,n){"use strict";if(!t.metadata)return e;function r(e){n.metadata.raw=e,e=e.replace(/&/g,"&").replace(/"/g,"""),e=e.replace(/\n {4}/g," "),e.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,r){return n.metadata.parsed[t]=r,""})}return e=n.converter._dispatch("metadata.before",e,t,n),e=e.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(e,t,n){return r(n),"¨M"}),e=e.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,o){return t&&(n.metadata.format=t),r(o),"¨M"}),e=e.replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n),e}),a.subParser("outdent",function(e,t,n){"use strict";return e=n.converter._dispatch("outdent.before",e,t,n),e=e.replace(/^(\t|[ ]{1,4})/gm,"¨0"),e=e.replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n),e}),a.subParser("paragraphs",function(e,t,n){"use strict";e=n.converter._dispatch("paragraphs.before",e,t,n),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,"");for(var r=e.split(/\n{2,}/g),o=[],i=r.length,l=0;l<i;l++){var s=r[l];s.search(/¨(K|G)(\d+)\1/g)>=0?o.push(s):s.search(/\S/)>=0&&(s=a.subParser("spanGamut")(s,t,n),s=s.replace(/^([ \t]*)/g,"<p>"),s+="</p>",o.push(s))}for(i=o.length,l=0;l<i;l++){var u="",c=o[l],d=!1;while(/¨(K|G)(\d+)\1/.test(c)){var f=RegExp.$1,p=RegExp.$2;u="K"===f?n.gHtmlBlocks[p]:d?a.subParser("encodeCode")(n.ghCodeBlocks[p].text,t,n):n.ghCodeBlocks[p].codeblock,u=u.replace(/\$/g,"$$$$"),c=c.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,u),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(c)&&(d=!0)}o[l]=c}return e=o.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),a.subParser("runExtension",function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t}),a.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=a.subParser("codeSpans")(e,t,n),e=a.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=a.subParser("encodeBackslashEscapes")(e,t,n),e=a.subParser("images")(e,t,n),e=a.subParser("anchors")(e,t,n),e=a.subParser("autoLinks")(e,t,n),e=a.subParser("simplifiedAutoLinks")(e,t,n),e=a.subParser("emoji")(e,t,n),e=a.subParser("underline")(e,t,n),e=a.subParser("italicsAndBold")(e,t,n),e=a.subParser("strikethrough")(e,t,n),e=a.subParser("ellipsis")(e,t,n),e=a.subParser("hashHTMLSpans")(e,t,n),e=a.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n),e}),a.subParser("strikethrough",function(e,t,n){"use strict";function r(e){return t.simplifiedAutoLink&&(e=a.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}return t.strikethrough&&(e=n.converter._dispatch("strikethrough.before",e,t,n),e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return r(t)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),a.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,o=/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;e+="¨0";var i=function(r,o,i,l,s,u,c){return o=o.toLowerCase(),e.toLowerCase().split(o).length-1<2?r:(i.match(/^data:.+?\/.+?;base64,/)?n.gUrls[o]=i.replace(/\s/g,""):n.gUrls[o]=a.subParser("encodeAmpsAndAngles")(i,t,n),u?u+c:(c&&(n.gTitles[o]=c.replace(/"|'/g,""")),t.parseImgDimensions&&l&&s&&(n.gDimensions[o]={width:l,height:s}),""))};return e=e.replace(o,i),e=e.replace(r,i),e=e.replace(/¨0/,""),e}),a.subParser("tables",function(e,t,n){"use strict";if(!t.tables)return e;var r=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o=/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;function i(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function l(e,r){var o="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(o=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=a.subParser("spanGamut")(e,t,n),"<th"+o+r+">"+e+"</th>\n"}function s(e,r){var o=a.subParser("spanGamut")(e,t,n);return"<td"+r+">"+o+"</td>\n"}function u(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n",n}function c(e){var r,o=e.split("\n");for(r=0;r<o.length;++r)/^ {0,3}\|/.test(o[r])&&(o[r]=o[r].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(o[r])&&(o[r]=o[r].replace(/\|[ \t]*$/,"")),o[r]=a.subParser("codeSpans")(o[r],t,n);var c=o[0].split("|").map(function(e){return e.trim()}),d=o[1].split("|").map(function(e){return e.trim()}),f=[],p=[],h=[],g=[];for(o.shift(),o.shift(),r=0;r<o.length;++r)""!==o[r].trim()&&f.push(o[r].split("|").map(function(e){return e.trim()}));if(c.length<d.length)return e;for(r=0;r<d.length;++r)h.push(i(d[r]));for(r=0;r<c.length;++r)a.helper.isUndefined(h[r])&&(h[r]=""),p.push(l(c[r],h[r]));for(r=0;r<f.length;++r){for(var m=[],v=0;v<p.length;++v)a.helper.isUndefined(f[r][v]),m.push(s(f[r][v],h[v]));g.push(m)}return u(p,g)}return e=n.converter._dispatch("tables.before",e,t,n),e=e.replace(/\\(\|)/g,a.helper.escapeCharactersCallback),e=e.replace(r,c),e=e.replace(o,c),e=n.converter._dispatch("tables.after",e,t,n),e}),a.subParser("underline",function(e,t,n){"use strict";return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return"<u>"+t+"</u>"}),e=e.replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})),e=e.replace(/(_)/g,a.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n),e):e}),a.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n),e=e.replace(/¨E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n),e}),a.subParser("makeMarkdown.blockquote",function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,i=0;i<o;++i){var l=a.subParser("makeMarkdown.node")(r[i],t);""!==l&&(n+=l)}return n=n.trim(),n="> "+n.split("\n").join("\n> "),n}),a.subParser("makeMarkdown.codeBlock",function(e,t){"use strict";var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"}),a.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),a.subParser("makeMarkdown.emphasis",function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,o=r.length,i=0;i<o;++i)n+=a.subParser("makeMarkdown.node")(r[i],t);n+="*"}return n}),a.subParser("makeMarkdown.header",function(e,t,n){"use strict";var r=new Array(n+1).join("#"),o="";if(e.hasChildNodes()){o=r+" ";for(var i=e.childNodes,l=i.length,s=0;s<l;++s)o+=a.subParser("makeMarkdown.node")(i[s],t)}return o}),a.subParser("makeMarkdown.hr",function(){"use strict";return"---"}),a.subParser("makeMarkdown.image",function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),a.subParser("makeMarkdown.links",function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,o=r.length;n="[";for(var i=0;i<o;++i)n+=a.subParser("makeMarkdown.node")(r[i],t);n+="](",n+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n}),a.subParser("makeMarkdown.list",function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,i=o.length,l=e.getAttribute("start")||1,s=0;s<i;++s)if("undefined"!==typeof o[s].tagName&&"li"===o[s].tagName.toLowerCase()){var u="";u="ol"===n?l.toString()+". ":"- ",r+=u+a.subParser("makeMarkdown.listItem")(o[s],t),++l}return r+="\n\x3c!-- --\x3e\n",r.trim()}),a.subParser("makeMarkdown.listItem",function(e,t){"use strict";for(var n="",r=e.childNodes,o=r.length,i=0;i<o;++i)n+=a.subParser("makeMarkdown.node")(r[i],t);return/\n$/.test(n)?n=n.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):n+="\n",n}),a.subParser("makeMarkdown.node",function(e,t,n){"use strict";n=n||!1;var r="";if(3===e.nodeType)return a.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";var o=e.tagName.toLowerCase();switch(o){case"h1":n||(r=a.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":n||(r=a.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":n||(r=a.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":n||(r=a.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":n||(r=a.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":n||(r=a.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":n||(r=a.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":n||(r=a.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":n||(r=a.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":n||(r=a.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":n||(r=a.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":n||(r=a.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":n||(r=a.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":n||(r=a.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":r=a.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":r=a.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":r=a.subParser("makeMarkdown.strong")(e,t);break;case"del":r=a.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":r=a.subParser("makeMarkdown.links")(e,t);break;case"img":r=a.subParser("makeMarkdown.image")(e,t);break;default:r=e.outerHTML+"\n\n"}return r}),a.subParser("makeMarkdown.paragraph",function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,i=0;i<o;++i)n+=a.subParser("makeMarkdown.node")(r[i],t);return n=n.trim(),n}),a.subParser("makeMarkdown.pre",function(e,t){"use strict";var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"}),a.subParser("makeMarkdown.strikethrough",function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,o=r.length,i=0;i<o;++i)n+=a.subParser("makeMarkdown.node")(r[i],t);n+="~~"}return n}),a.subParser("makeMarkdown.strong",function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="**";for(var r=e.childNodes,o=r.length,i=0;i<o;++i)n+=a.subParser("makeMarkdown.node")(r[i],t);n+="**"}return n}),a.subParser("makeMarkdown.table",function(e,t){"use strict";var n,r,o="",i=[[],[]],l=e.querySelectorAll("thead>tr>th"),s=e.querySelectorAll("tbody>tr");for(n=0;n<l.length;++n){var u=a.subParser("makeMarkdown.tableCell")(l[n],t),c="---";if(l[n].hasAttribute("style")){var d=l[n].getAttribute("style").toLowerCase().replace(/\s/g,"");switch(d){case"text-align:left;":c=":---";break;case"text-align:right;":c="---:";break;case"text-align:center;":c=":---:";break}}i[0][n]=u.trim(),i[1][n]=c}for(n=0;n<s.length;++n){var f=i.push([])-1,p=s[n].getElementsByTagName("td");for(r=0;r<l.length;++r){var h=" ";"undefined"!==typeof p[r]&&(h=a.subParser("makeMarkdown.tableCell")(p[r],t)),i[f].push(h)}}var g=3;for(n=0;n<i.length;++n)for(r=0;r<i[n].length;++r){var m=i[n][r].length;m>g&&(g=m)}for(n=0;n<i.length;++n){for(r=0;r<i[n].length;++r)1===n?":"===i[n][r].slice(-1)?i[n][r]=a.helper.padEnd(i[n][r].slice(-1),g-1,"-")+":":i[n][r]=a.helper.padEnd(i[n][r],g,"-"):i[n][r]=a.helper.padEnd(i[n][r],g);o+="| "+i[n].join(" | ")+" |\n"}return o.trim()}),a.subParser("makeMarkdown.tableCell",function(e,t){"use strict";var n="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,o=r.length,i=0;i<o;++i)n+=a.subParser("makeMarkdown.node")(r[i],t,!0);return n.trim()}),a.subParser("makeMarkdown.txt",function(e){"use strict";var t=e.nodeValue;return t=t.replace(/ +/g," "),t=t.replace(/¨NBSP;/g," "),t=a.helper.unescapeHTMLEntities(t),t=t.replace(/([*_~|`])/g,"\\$1"),t=t.replace(/^(\s*)>/g,"\\$1>"),t=t.replace(/^#/gm,"\\#"),t=t.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),t=t.replace(/^( {0,3}\d+)\./gm,"$1\\."),t=t.replace(/^( {0,3})([+-])/gm,"$1\\$2"),t=t.replace(/]([\s]*)\(/g,"\\]$1\\("),t=t.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),t});r=function(){"use strict";return a}.call(t,n,t,e),void 0===r||(e.exports=r)}).call(this)},5471:function(e,t,n){"use strict";n.d(t,{Ay:function(){return Qr}});
|
|
3
|
+
/*!
|
|
4
|
+
* Vue.js v2.7.16
|
|
5
|
+
* (c) 2014-2023 Evan You
|
|
6
|
+
* Released under the MIT License.
|
|
7
|
+
*/
|
|
8
|
+
var r=Object.freeze({}),o=Array.isArray;function i(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function l(e){return!0===e}function s(e){return!1===e}function u(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return"function"===typeof e}function d(e){return null!==e&&"object"===typeof e}var f=Object.prototype.toString;function p(e){return"[object Object]"===f.call(e)}function h(e){return"[object RegExp]"===f.call(e)}function g(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return a(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||p(e)&&e.toString===f?JSON.stringify(e,b,2):String(e)}function b(e,t){return t&&t.__v_isRef?t.value:t}function y(e){var t=parseFloat(e);return isNaN(t)?e:t}function A(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}A("slot,component",!0);var w=A("key,ref,slot,slot-scope,is");function C(e,t){var n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var x=Object.prototype.hasOwnProperty;function _(e,t){return x.call(e,t)}function k(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var S=/-(\w)/g,I=k(function(e){return e.replace(S,function(e,t){return t?t.toUpperCase():""})}),T=k(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),H=/\B([A-Z])/g,P=k(function(e){return e.replace(H,"-$1").toLowerCase()});function B(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function $(e,t){return e.bind(t)}var j=Function.prototype.bind?$:B;function O(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function R(e,t){for(var n in t)e[n]=t[n];return e}function W(e){for(var t={},n=0;n<e.length;n++)e[n]&&R(t,e[n]);return t}function E(e,t,n){}var L=function(e,t,n){return!1},Z=function(e){return e};function X(e,t){if(e===t)return!0;var n=d(e),r=d(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every(function(e,n){return X(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||i)return!1;var a=Object.keys(e),l=Object.keys(t);return a.length===l.length&&a.every(function(n){return X(e[n],t[n])})}catch(s){return!1}}function F(e,t){for(var n=0;n<e.length;n++)if(X(e[n],t))return n;return-1}function V(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function N(e,t){return e===t?0===e&&1/e!==1/t:e===e||t===t}var z="data-server-rendered",M=["component","directive","filter"],D=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],G={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:E,parsePlatformTagName:Z,mustUseProp:L,async:!0,_lifecycleHooks:D},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function J(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Y=new RegExp("[^".concat(U.source,".$_\\d]"));function Q(e){if(!Y.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var q="__proto__"in{},ee="undefined"!==typeof window,te=ee&&window.navigator.userAgent.toLowerCase(),ne=te&&/msie|trident/.test(te),re=te&&te.indexOf("msie 9.0")>0,oe=te&&te.indexOf("edge/")>0;te&&te.indexOf("android");var ie=te&&/iphone|ipad|ipod|ios/.test(te);te&&/chrome\/\d+/.test(te),te&&/phantomjs/.test(te);var ae,le=te&&te.match(/firefox\/(\d+)/),se={}.watch,ue=!1;if(ee)try{var ce={};Object.defineProperty(ce,"passive",{get:function(){ue=!0}}),window.addEventListener("test-passive",null,ce)}catch(qa){}var de=function(){return void 0===ae&&(ae=!ee&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),ae},fe=ee&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pe(e){return"function"===typeof e&&/native code/.test(e.toString())}var he,ge="undefined"!==typeof Symbol&&pe(Symbol)&&"undefined"!==typeof Reflect&&pe(Reflect.ownKeys);he="undefined"!==typeof Set&&pe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var me=null;function ve(e){void 0===e&&(e=null),e||me&&me._scope.off(),me=e,e&&e._scope.on()}var be=function(){function e(e,t,n,r,o,i,a,l){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),ye=function(e){void 0===e&&(e="");var t=new be;return t.text=e,t.isComment=!0,t};function Ae(e){return new be(void 0,void 0,void 0,String(e))}function we(e){var t=new be(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}"function"===typeof SuppressedError&&SuppressedError;var Ce=0,xe=[],_e=function(){for(var e=0;e<xe.length;e++){var t=xe[e];t.subs=t.subs.filter(function(e){return e}),t._pending=!1}xe.length=0},ke=function(){function e(){this._pending=!1,this.id=Ce++,this.subs=[]}return e.prototype.addSub=function(e){this.subs.push(e)},e.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,xe.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(e){var t=this.subs.filter(function(e){return e});for(var n=0,r=t.length;n<r;n++){var o=t[n];0,o.update()}},e}();ke.target=null;var Se=[];function Ie(e){Se.push(e),ke.target=e}function Te(){Se.pop(),ke.target=Se[Se.length-1]}var He=Array.prototype,Pe=Object.create(He),Be=["push","pop","shift","unshift","splice","sort","reverse"];Be.forEach(function(e){var t=He[e];J(Pe,e,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2);break}return o&&a.observeArray(o),a.dep.notify(),i})});var $e=Object.getOwnPropertyNames(Pe),je={},Oe=!0;function Re(e){Oe=e}var We={notify:E,depend:E,addSub:E,removeSub:E},Ee=function(){function e(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),this.value=e,this.shallow=t,this.mock=n,this.dep=n?We:new ke,this.vmCount=0,J(e,"__ob__",this),o(e)){if(!n)if(q)e.__proto__=Pe;else for(var r=0,i=$e.length;r<i;r++){var a=$e[r];J(e,a,Pe[a])}t||this.observeArray(e)}else{var l=Object.keys(e);for(r=0;r<l.length;r++){a=l[r];Ze(e,a,je,void 0,t,n)}}}return e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Le(e[t],!1,this.mock)},e}();function Le(e,t,n){return e&&_(e,"__ob__")&&e.__ob__ instanceof Ee?e.__ob__:!Oe||!n&&de()||!o(e)&&!p(e)||!Object.isExtensible(e)||e.__v_skip||De(e)||e instanceof be?void 0:new Ee(e,t,n)}function Ze(e,t,n,r,i,a,l){void 0===l&&(l=!1);var s=new ke,u=Object.getOwnPropertyDescriptor(e,t);if(!u||!1!==u.configurable){var c=u&&u.get,d=u&&u.set;c&&!d||n!==je&&2!==arguments.length||(n=e[t]);var f=i?n&&n.__ob__:Le(n,!1,a);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=c?c.call(e):n;return ke.target&&(s.depend(),f&&(f.dep.depend(),o(t)&&Ve(t))),De(t)&&!i?t.value:t},set:function(t){var r=c?c.call(e):n;if(N(r,t)){if(d)d.call(e,t);else{if(c)return;if(!i&&De(r)&&!De(t))return void(r.value=t);n=t}f=i?t&&t.__ob__:Le(t,!1,a),s.notify()}}}),s}}function Xe(e,t,n){if(!Me(e)){var r=e.__ob__;return o(e)&&g(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Le(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(Ze(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function Fe(e,t){if(o(e)&&g(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||Me(e)||_(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ve(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),o(t)&&Ve(t)}function Ne(e){return ze(e,!0),J(e,"__v_isShallow",!0),e}function ze(e,t){if(!Me(e)){Le(e,t,de());0}}function Me(e){return!(!e||!e.__v_isReadonly)}function De(e){return!(!e||!0!==e.__v_isRef)}function Ge(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];if(De(e))return e.value;var r=e&&e.__ob__;return r&&r.dep.depend(),e},set:function(e){var r=t[n];De(r)&&!De(e)?r.value=e:t[n]=e}})}var Ue="watcher";"".concat(Ue," callback"),"".concat(Ue," getter"),"".concat(Ue," cleanup");var Ke;var Je=function(){function e(e){void 0===e&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ke,!e&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}return e.prototype.run=function(e){if(this.active){var t=Ke;try{return Ke=this,e()}finally{Ke=t}}else 0},e.prototype.on=function(){Ke=this},e.prototype.off=function(){Ke=this.parent},e.prototype.stop=function(e){if(this.active){var t=void 0,n=void 0;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},e}();function Ye(e,t){void 0===t&&(t=Ke),t&&t.active&&t.effects.push(e)}function Qe(){return Ke}function qe(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}var et=k(function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}});function tt(e,t){function n(){var e=n.fns;if(!o(e))return Yt(e,null,arguments,t,"v-on handler");for(var r=e.slice(),i=0;i<r.length;i++)Yt(r[i],null,arguments,t,"v-on handler")}return n.fns=e,n}function nt(e,t,n,r,o,a){var s,u,c,d;for(s in e)u=e[s],c=t[s],d=et(s),i(u)||(i(c)?(i(u.fns)&&(u=e[s]=tt(u,a)),l(d.once)&&(u=e[s]=o(d.name,u,d.capture)),n(d.name,u,d.capture,d.passive,d.params)):u!==c&&(c.fns=u,e[s]=c));for(s in t)i(e[s])&&(d=et(s),r(d.name,t[s],d.capture))}function rt(e,t,n){var r;e instanceof be&&(e=e.data.hook||(e.data.hook={}));var o=e[t];function s(){n.apply(this,arguments),C(r.fns,s)}i(o)?r=tt([s]):a(o.fns)&&l(o.merged)?(r=o,r.fns.push(s)):r=tt([o,s]),r.merged=!0,e[t]=r}function ot(e,t,n){var r=t.options.props;if(!i(r)){var o={},l=e.attrs,s=e.props;if(a(l)||a(s))for(var u in r){var c=P(u);it(o,s,u,c,!0)||it(o,l,u,c,!1)}return o}}function it(e,t,n,r,o){if(a(t)){if(_(t,n))return e[n]=t[n],o||delete t[n],!0;if(_(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function at(e){for(var t=0;t<e.length;t++)if(o(e[t]))return Array.prototype.concat.apply([],e);return e}function lt(e){return u(e)?[Ae(e)]:o(e)?ut(e):void 0}function st(e){return a(e)&&a(e.text)&&s(e.isComment)}function ut(e,t){var n,r,s,c,d=[];for(n=0;n<e.length;n++)r=e[n],i(r)||"boolean"===typeof r||(s=d.length-1,c=d[s],o(r)?r.length>0&&(r=ut(r,"".concat(t||"","_").concat(n)),st(r[0])&&st(c)&&(d[s]=Ae(c.text+r[0].text),r.shift()),d.push.apply(d,r)):u(r)?st(c)?d[s]=Ae(c.text+r):""!==r&&d.push(Ae(r)):st(r)&&st(c)?d[s]=Ae(c.text+r.text):(l(e._isVList)&&a(r.tag)&&i(r.key)&&a(t)&&(r.key="__vlist".concat(t,"_").concat(n,"__")),d.push(r)));return d}function ct(e,t){var n,r,i,l,s=null;if(o(e)||"string"===typeof e)for(s=new Array(e.length),n=0,r=e.length;n<r;n++)s[n]=t(e[n],n);else if("number"===typeof e)for(s=new Array(e),n=0;n<e;n++)s[n]=t(n+1,n);else if(d(e))if(ge&&e[Symbol.iterator]){s=[];var u=e[Symbol.iterator](),c=u.next();while(!c.done)s.push(t(c.value,s.length)),c=u.next()}else for(i=Object.keys(e),s=new Array(i.length),n=0,r=i.length;n<r;n++)l=i[n],s[n]=t(e[l],l,n);return a(s)||(s=[]),s._isVList=!0,s}function dt(e,t,n,r){var o,i=this.$scopedSlots[e];i?(n=n||{},r&&(n=R(R({},r),n)),o=i(n)||(c(t)?t():t)):o=this.$slots[e]||(c(t)?t():t);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function ft(e){return kr(this.$options,"filters",e,!0)||Z}function pt(e,t){return o(e)?-1===e.indexOf(t):e!==t}function ht(e,t,n,r,o){var i=G.keyCodes[t]||n;return o&&r&&!G.keyCodes[t]?pt(o,r):i?pt(i,e):r?P(r)!==t:void 0===e}function gt(e,t,n,r,i){if(n)if(d(n)){o(n)&&(n=W(n));var a=void 0,l=function(o){if("class"===o||"style"===o||w(o))a=e;else{var l=e.attrs&&e.attrs.type;a=r||G.mustUseProp(t,l,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var s=I(o),u=P(o);if(!(s in a)&&!(u in a)&&(a[o]=n[o],i)){var c=e.on||(e.on={});c["update:".concat(o)]=function(e){n[o]=e}}};for(var s in n)l(s)}else;return e}function mt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),bt(r,"__static__".concat(e),!1)),r}function vt(e,t,n){return bt(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function bt(e,t,n){if(o(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&yt(e[r],"".concat(t,"_").concat(r),n);else yt(e,t,n)}function yt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function At(e,t){if(t)if(p(t)){var n=e.on=e.on?R({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else;return e}function wt(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var a=e[i];o(a)?wt(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return r&&(t.$key=r),t}function Ct(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"===typeof r&&r&&(e[t[n]]=t[n+1])}return e}function xt(e,t){return"string"===typeof e?t+e:e}function _t(e){e._o=vt,e._n=y,e._s=v,e._l=ct,e._t=dt,e._q=X,e._i=F,e._m=mt,e._f=ft,e._k=ht,e._b=gt,e._v=Ae,e._e=ye,e._u=wt,e._g=At,e._d=Ct,e._p=xt}function kt(e,t){if(!e||!e.length)return{};for(var n={},r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var l=a.slot,s=n[l]||(n[l]=[]);"template"===i.tag?s.push.apply(s,i.children||[]):s.push(i)}}for(var u in n)n[u].every(St)&&delete n[u];return n}function St(e){return e.isComment&&!e.asyncFactory||" "===e.text}function It(e){return e.isComment&&e.asyncFactory}function Tt(e,t,n,o){var i,a=Object.keys(n).length>0,l=t?!!t.$stable:!a,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(l&&o&&o!==r&&s===o.$key&&!a&&!o.$hasNormal)return o;for(var u in i={},t)t[u]&&"$"!==u[0]&&(i[u]=Ht(e,n,u,t[u]))}else i={};for(var c in n)c in i||(i[c]=Pt(n,c));return t&&Object.isExtensible(t)&&(t._normalized=i),J(i,"$stable",l),J(i,"$key",s),J(i,"$hasNormal",a),i}function Ht(e,t,n,r){var i=function(){var t=me;ve(e);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!o(n)?[n]:lt(n);var i=n&&n[0];return ve(t),n&&(!i||1===n.length&&i.isComment&&!It(i))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function Pt(e,t){return function(){return e[t]}}function Bt(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=$t(e);ve(e),Ie();var o=Yt(n,null,[e._props||Ne({}),r],e,"setup");if(Te(),ve(),c(o))t.render=o;else if(d(o))if(e._setupState=o,o.__sfc){var i=e._setupProxy={};for(var a in o)"__sfc"!==a&&Ge(i,o,a)}else for(var a in o)K(a)||Ge(e,o,a);else 0}}function $t(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};J(t,"_v_attr_proxy",!0),jt(t,e.$attrs,r,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};jt(t,e.$listeners,r,e,"$listeners")}return e._listenersProxy},get slots(){return Rt(e)},emit:j(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return Ge(e,t,n)})}}}function jt(e,t,n,r,o){var i=!1;for(var a in t)a in e?t[a]!==n[a]&&(i=!0):(i=!0,Ot(e,a,r,o));for(var a in e)a in t||(i=!0,delete e[a]);return i}function Ot(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function Rt(e){return e._slotsProxy||Wt(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function Wt(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function Et(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=kt(t._renderChildren,o),e.$scopedSlots=n?Tt(e.$parent,n.data.scopedSlots,e.$slots):r,e._c=function(t,n,r,o){return Dt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Dt(e,t,n,r,o,!0)};var i=n&&n.data;Ze(e,"$attrs",i&&i.attrs||r,null,!0),Ze(e,"$listeners",t._parentListeners||r,null,!0)}var Lt=null;function Zt(e){_t(e.prototype),e.prototype.$nextTick=function(e){return cn(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t._parentVnode;r&&e._isMounted&&(e.$scopedSlots=Tt(e.$parent,r.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Wt(e._slotsProxy,e.$scopedSlots)),e.$vnode=r;var i,a=me,l=Lt;try{ve(e),Lt=e,i=n.call(e._renderProxy,e.$createElement)}catch(qa){Jt(qa,e,"render"),i=e._vnode}finally{Lt=l,ve(a)}return o(i)&&1===i.length&&(i=i[0]),i instanceof be||(i=ye()),i.parent=r,i}}function Xt(e,t){return(e.__esModule||ge&&"Module"===e[Symbol.toStringTag])&&(e=e.default),d(e)?t.extend(e):e}function Ft(e,t,n,r,o){var i=ye();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}function Vt(e,t){if(l(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;var n=Lt;if(n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),l(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){var r=e.owners=[n],o=!0,s=null,u=null;n.$on("hook:destroyed",function(){return C(r,n)});var c=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==s&&(clearTimeout(s),s=null),null!==u&&(clearTimeout(u),u=null))},f=V(function(n){e.resolved=Xt(n,t),o?r.length=0:c(!0)}),p=V(function(t){a(e.errorComp)&&(e.error=!0,c(!0))}),h=e(f,p);return d(h)&&(m(h)?i(e.resolved)&&h.then(f,p):m(h.component)&&(h.component.then(f,p),a(h.error)&&(e.errorComp=Xt(h.error,t)),a(h.loading)&&(e.loadingComp=Xt(h.loading,t),0===h.delay?e.loading=!0:s=setTimeout(function(){s=null,i(e.resolved)&&i(e.error)&&(e.loading=!0,c(!1))},h.delay||200)),a(h.timeout)&&(u=setTimeout(function(){u=null,i(e.resolved)&&p(null)},h.timeout)))),o=!1,e.loading?e.loadingComp:e.resolved}}function Nt(e){if(o(e))for(var t=0;t<e.length;t++){var n=e[t];if(a(n)&&(a(n.componentOptions)||It(n)))return n}}var zt=1,Mt=2;function Dt(e,t,n,r,i,a){return(o(n)||u(n))&&(i=r,r=n,n=void 0),l(a)&&(i=Mt),Gt(e,t,n,r,i)}function Gt(e,t,n,r,i){if(a(n)&&a(n.__ob__))return ye();if(a(n)&&a(n.is)&&(t=n.is),!t)return ye();var l,s;if(o(r)&&c(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===Mt?r=lt(r):i===zt&&(r=at(r)),"string"===typeof t){var u=void 0;s=e.$vnode&&e.$vnode.ns||G.getTagNamespace(t),l=G.isReservedTag(t)?new be(G.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!a(u=kr(e.$options,"components",t))?new be(t,n,r,void 0,void 0,e):sr(u,n,e,r,t)}else l=sr(t,n,e,r);return o(l)?l:a(l)?(a(s)&&Ut(l,s),a(n)&&Kt(n),l):ye()}function Ut(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),a(e.children))for(var r=0,o=e.children.length;r<o;r++){var s=e.children[r];a(s.tag)&&(i(s.ns)||l(n)&&"svg"!==s.tag)&&Ut(s,t,n)}}function Kt(e){d(e.style)&&gn(e.style),d(e.class)&&gn(e.class)}function Jt(e,t,n){Ie();try{if(t){var r=t;while(r=r.$parent){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(r,e,t,n);if(a)return}catch(qa){Qt(qa,r,"errorCaptured hook")}}}Qt(e,t,n)}finally{Te()}}function Yt(e,t,n,r,o){var i;try{i=n?e.apply(t,n):e.call(t),i&&!i._isVue&&m(i)&&!i._handled&&(i.catch(function(e){return Jt(e,r,o+" (Promise/async)")}),i._handled=!0)}catch(qa){Jt(qa,r,o)}return i}function Qt(e,t,n){if(G.errorHandler)try{return G.errorHandler.call(null,e,t,n)}catch(qa){qa!==e&&qt(qa,null,"config.errorHandler")}qt(e,t,n)}function qt(e,t,n){if(!ee||"undefined"===typeof console)throw e;console.error(e)}var en,tn=!1,nn=[],rn=!1;function on(){rn=!1;var e=nn.slice(0);nn.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&pe(Promise)){var an=Promise.resolve();en=function(){an.then(on),ie&&setTimeout(E)},tn=!0}else if(ne||"undefined"===typeof MutationObserver||!pe(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())en="undefined"!==typeof setImmediate&&pe(setImmediate)?function(){setImmediate(on)}:function(){setTimeout(on,0)};else{var ln=1,sn=new MutationObserver(on),un=document.createTextNode(String(ln));sn.observe(un,{characterData:!0}),en=function(){ln=(ln+1)%2,un.data=String(ln)},tn=!0}function cn(e,t){var n;if(nn.push(function(){if(e)try{e.call(t)}catch(qa){Jt(qa,t,"nextTick")}else n&&n(t)}),rn||(rn=!0,en()),!e&&"undefined"!==typeof Promise)return new Promise(function(e){n=e})}function dn(e){return function(t,n){if(void 0===n&&(n=me),n)return fn(n,e,t)}}function fn(e,t,n){var r=e.$options;r[t]=vr(r[t],n)}dn("beforeMount"),dn("mounted"),dn("beforeUpdate"),dn("updated"),dn("beforeDestroy"),dn("destroyed"),dn("activated"),dn("deactivated"),dn("serverPrefetch"),dn("renderTracked"),dn("renderTriggered"),dn("errorCaptured");var pn="2.7.16";var hn=new he;function gn(e){return mn(e,hn),hn.clear(),e}function mn(e,t){var n,r,i=o(e);if(!(!i&&!d(e)||e.__v_skip||Object.isFrozen(e)||e instanceof be)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i){n=e.length;while(n--)mn(e[n],t)}else if(De(e))mn(e.value,t);else{r=Object.keys(e),n=r.length;while(n--)mn(e[r[n]],t)}}}var vn,bn=0,yn=function(){function e(e,t,n,r,o){Ye(this,Ke&&!Ke._vm?Ke:e?e._scope:void 0),(this.vm=e)&&o&&(e._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++bn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new he,this.newDepIds=new he,this.expression="",c(t)?this.getter=t:(this.getter=Q(t),this.getter||(this.getter=E)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){var e;Ie(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(qa){if(!this.user)throw qa;Jt(qa,t,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&gn(e),Te(),this.cleanupDeps()}return e},e.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},e.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Yn(this)},e.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||d(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Yt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&C(this.vm._scope.effects,this),this.active){var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}();function An(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&_n(e,t)}function wn(e,t){vn.$on(e,t)}function Cn(e,t){vn.$off(e,t)}function xn(e,t){var n=vn;return function r(){var o=t.apply(null,arguments);null!==o&&n.$off(e,r)}}function _n(e,t,n){vn=e,nt(t,n||{},wn,Cn,xn,e),vn=void 0}function kn(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(o(e))for(var i=0,a=e.length;i<a;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(o(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var a,l=n._events[e];if(!l)return n;if(!t)return n._events[e]=null,n;var s=l.length;while(s--)if(a=l[s],a===t||a.fn===t){l.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?O(n):n;for(var r=O(arguments,1),o='event handler for "'.concat(e,'"'),i=0,a=n.length;i<a;i++)Yt(n[i],t,r,t,o)}return t}}var Sn=null;function In(e){var t=Sn;return Sn=e,function(){Sn=t}}function Tn(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Hn(e){e.prototype._update=function(e,t){var n=this,r=n.$el,o=n._vnode,i=In(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);var a=n;while(a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Rn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||C(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Rn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Pn(e,t,n){var r;e.$el=t,e.$options.render||(e.$options.render=ye),Rn(e,"beforeMount"),r=function(){e._update(e._render(),n)};var o={before:function(){e._isMounted&&!e._isDestroyed&&Rn(e,"beforeUpdate")}};new yn(e,r,E,o,!0),n=!1;var i=e._preWatchers;if(i)for(var a=0;a<i.length;a++)i[a].run();return null==e.$vnode&&(e._isMounted=!0,Rn(e,"mounted")),e}function Bn(e,t,n,o,i){var a=o.data.scopedSlots,l=e.$scopedSlots,s=!!(a&&!a.$stable||l!==r&&!l.$stable||a&&e.$scopedSlots.$key!==a.$key||!a&&e.$scopedSlots.$key),u=!!(i||e.$options._renderChildren||s),c=e.$vnode;e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=i;var d=o.data.attrs||r;e._attrsProxy&&jt(e._attrsProxy,d,c.data&&c.data.attrs||r,e,"$attrs")&&(u=!0),e.$attrs=d,n=n||r;var f=e.$options._parentListeners;if(e._listenersProxy&&jt(e._listenersProxy,n,f||r,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,_n(e,n,f),t&&e.$options.props){Re(!1);for(var p=e._props,h=e.$options._propKeys||[],g=0;g<h.length;g++){var m=h[g],v=e.$options.props;p[m]=Sr(m,v,t,e)}Re(!0),e.$options.propsData=t}u&&(e.$slots=kt(i,o.context),e.$forceUpdate())}function $n(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function jn(e,t){if(t){if(e._directInactive=!1,$n(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)jn(e.$children[n]);Rn(e,"activated")}}function On(e,t){if((!t||(e._directInactive=!0,!$n(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)On(e.$children[n]);Rn(e,"deactivated")}}function Rn(e,t,n,r){void 0===r&&(r=!0),Ie();var o=me,i=Qe();r&&ve(e);var a=e.$options[t],l="".concat(t," hook");if(a)for(var s=0,u=a.length;s<u;s++)Yt(a[s],e,n||null,e,l);e._hasHookEvent&&e.$emit("hook:"+t),r&&(ve(o),i&&i.on()),Te()}var Wn=[],En=[],Ln={},Zn=!1,Xn=!1,Fn=0;function Vn(){Fn=Wn.length=En.length=0,Ln={},Zn=Xn=!1}var Nn=0,zn=Date.now;if(ee&&!ne){var Mn=window.performance;Mn&&"function"===typeof Mn.now&&zn()>document.createEvent("Event").timeStamp&&(zn=function(){return Mn.now()})}var Dn=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Gn(){var e,t;for(Nn=zn(),Xn=!0,Wn.sort(Dn),Fn=0;Fn<Wn.length;Fn++)e=Wn[Fn],e.before&&e.before(),t=e.id,Ln[t]=null,e.run();var n=En.slice(),r=Wn.slice();Vn(),Jn(n),Un(r),_e(),fe&&G.devtools&&fe.emit("flush")}function Un(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Rn(r,"updated")}}function Kn(e){e._inactive=!1,En.push(e)}function Jn(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,jn(e[t],!0)}function Yn(e){var t=e.id;if(null==Ln[t]&&(e!==ke.target||!e.noRecurse)){if(Ln[t]=!0,Xn){var n=Wn.length-1;while(n>Fn&&Wn[n].id>e.id)n--;Wn.splice(n+1,0,e)}else Wn.push(e);Zn||(Zn=!0,cn(Gn))}}function Qn(e){var t=e.$options.provide;if(t){var n=c(t)?t.call(e):t;if(!d(n))return;for(var r=qe(e),o=ge?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var a=o[i];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}function qn(e){var t=er(e.$options.inject,e);t&&(Re(!1),Object.keys(t).forEach(function(n){Ze(e,n,t[n])}),Re(!0))}function er(e,t){if(e){for(var n=Object.create(null),r=ge?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var a=e[i].from;if(a in t._provided)n[i]=t._provided[a];else if("default"in e[i]){var l=e[i].default;n[i]=c(l)?l.call(t):l}else 0}}return n}}function tr(e,t,n,i,a){var s,u=this,c=a.options;_(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var d=l(c._compiled),f=!d;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||r,this.injections=er(c.inject,i),this.slots=function(){return u.$slots||Tt(i,e.scopedSlots,u.$slots=kt(n,i)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Tt(i,e.scopedSlots,this.slots())}}),d&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Tt(i,e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,r){var a=Dt(s,e,t,n,r,f);return a&&!o(a)&&(a.fnScopeId=c._scopeId,a.fnContext=i),a}:this._c=function(e,t,n,r){return Dt(s,e,t,n,r,f)}}function nr(e,t,n,i,l){var s=e.options,u={},c=s.props;if(a(c))for(var d in c)u[d]=Sr(d,c,t||r);else a(n.attrs)&&or(u,n.attrs),a(n.props)&&or(u,n.props);var f=new tr(n,u,l,i,e),p=s.render.call(null,f._c,f);if(p instanceof be)return rr(p,n,f.parent,s,f);if(o(p)){for(var h=lt(p)||[],g=new Array(h.length),m=0;m<h.length;m++)g[m]=rr(h[m],n,f.parent,s,f);return g}}function rr(e,t,n,r,o){var i=we(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function or(e,t){for(var n in t)e[I(n)]=t[n]}function ir(e){return e.name||e.__name||e._componentTag}_t(tr.prototype);var ar={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;ar.prepatch(n,n)}else{var r=e.componentInstance=ur(e,Sn);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;Bn(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Rn(n,"mounted")),e.data.keepAlive&&(t._isMounted?Kn(n):jn(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?On(t,!0):t.$destroy())}},lr=Object.keys(ar);function sr(e,t,n,r,o){if(!i(e)){var s=n.$options._base;if(d(e)&&(e=s.extend(e)),"function"===typeof e){var u;if(i(e.cid)&&(u=e,e=Vt(u,s),void 0===e))return Ft(u,t,n,r,o);t=t||{},Jr(e),a(t.model)&&fr(e.options,t);var c=ot(t,e,o);if(l(e.options.functional))return nr(e,c,t,n,r);var f=t.on;if(t.on=t.nativeOn,l(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}cr(t);var h=ir(e.options)||o,g=new be("vue-component-".concat(e.cid).concat(h?"-".concat(h):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:c,listeners:f,tag:o,children:r},u);return g}}}function ur(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function cr(e){for(var t=e.hook||(e.hook={}),n=0;n<lr.length;n++){var r=lr[n],o=t[r],i=ar[r];o===i||o&&o._merged||(t[r]=o?dr(i,o):i)}}function dr(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function fr(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),l=i[r],s=t.model.callback;a(l)?(o(l)?-1===l.indexOf(s):l!==s)&&(i[r]=[s].concat(l)):i[r]=s}var pr=E,hr=G.optionMergeStrategies;function gr(e,t,n){if(void 0===n&&(n=!0),!t)return e;for(var r,o,i,a=ge?Reflect.ownKeys(t):Object.keys(t),l=0;l<a.length;l++)r=a[l],"__ob__"!==r&&(o=e[r],i=t[r],n&&_(e,r)?o!==i&&p(o)&&p(i)&&gr(o,i):Xe(e,r,i));return e}function mr(e,t,n){return n?function(){var r=c(t)?t.call(n,n):t,o=c(e)?e.call(n,n):e;return r?gr(r,o):o}:t?e?function(){return gr(c(t)?t.call(this,this):t,c(e)?e.call(this,this):e)}:t:e}function vr(e,t){var n=t?e?e.concat(t):o(t)?t:[t]:e;return n?br(n):n}function br(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function yr(e,t,n,r){var o=Object.create(e||null);return t?R(o,t):o}hr.data=function(e,t,n){return n?mr(e,t,n):t&&"function"!==typeof t?e:mr(e,t)},D.forEach(function(e){hr[e]=vr}),M.forEach(function(e){hr[e+"s"]=yr}),hr.watch=function(e,t,n,r){if(e===se&&(e=void 0),t===se&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var a in R(i,e),t){var l=i[a],s=t[a];l&&!o(l)&&(l=[l]),i[a]=l?l.concat(s):o(s)?s:[s]}return i},hr.props=hr.methods=hr.inject=hr.computed=function(e,t,n,r){if(!e)return t;var o=Object.create(null);return R(o,e),t&&R(o,t),o},hr.provide=function(e,t){return e?function(){var n=Object.create(null);return gr(n,c(e)?e.call(this):e),t&&gr(n,c(t)?t.call(this):t,!1),n}:t};var Ar=function(e,t){return void 0===t?e:t};function wr(e,t){var n=e.props;if(n){var r,i,a,l={};if(o(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(a=I(i),l[a]={type:null})}else if(p(n))for(var s in n)i=n[s],a=I(s),l[a]=p(i)?i:{type:i};else 0;e.props=l}}function Cr(e,t){var n=e.inject;if(n){var r=e.inject={};if(o(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(p(n))for(var a in n){var l=n[a];r[a]=p(l)?R({from:a},l):{from:l}}else 0}}function xr(e){var t=e.directives;if(t)for(var n in t){var r=t[n];c(r)&&(t[n]={bind:r,update:r})}}function _r(e,t,n){if(c(t)&&(t=t.options),wr(t,n),Cr(t,n),xr(t),!t._base&&(t.extends&&(e=_r(e,t.extends,n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=_r(e,t.mixins[r],n);var i,a={};for(i in e)l(i);for(i in t)_(e,i)||l(i);function l(r){var o=hr[r]||Ar;a[r]=o(e[r],t[r],n,r)}return a}function kr(e,t,n,r){if("string"===typeof n){var o=e[t];if(_(o,n))return o[n];var i=I(n);if(_(o,i))return o[i];var a=T(i);if(_(o,a))return o[a];var l=o[n]||o[i]||o[a];return l}}function Sr(e,t,n,r){var o=t[e],i=!_(n,e),a=n[e],l=Br(Boolean,o.type);if(l>-1)if(i&&!_(o,"default"))a=!1;else if(""===a||a===P(e)){var s=Br(String,o.type);(s<0||l<s)&&(a=!0)}if(void 0===a){a=Ir(r,o,e);var u=Oe;Re(!0),Le(a),Re(u)}return a}function Ir(e,t,n){if(_(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:c(r)&&"Function"!==Hr(t.type)?r.call(e):r}}var Tr=/^\s*function (\w+)/;function Hr(e){var t=e&&e.toString().match(Tr);return t?t[1]:""}function Pr(e,t){return Hr(e)===Hr(t)}function Br(e,t){if(!o(t))return Pr(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Pr(t[n],e))return n;return-1}var $r={enumerable:!0,configurable:!0,get:E,set:E};function jr(e,t,n){$r.get=function(){return this[t][n]},$r.set=function(e){this[t][n]=e},Object.defineProperty(e,n,$r)}function Or(e){var t=e.$options;if(t.props&&Rr(e,t.props),Bt(e),t.methods&&Nr(e,t.methods),t.data)Wr(e);else{var n=Le(e._data={});n&&n.vmCount++}t.computed&&Zr(e,t.computed),t.watch&&t.watch!==se&&zr(e,t.watch)}function Rr(e,t){var n=e.$options.propsData||{},r=e._props=Ne({}),o=e.$options._propKeys=[],i=!e.$parent;i||Re(!1);var a=function(i){o.push(i);var a=Sr(i,t,n,e);Ze(r,i,a,void 0,!0),i in e||jr(e,"_props",i)};for(var l in t)a(l);Re(!0)}function Wr(e){var t=e.$options.data;t=e._data=c(t)?Er(t,e):t||{},p(t)||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);while(o--){var i=n[o];0,r&&_(r,i)||K(i)||jr(e,"_data",i)}var a=Le(t);a&&a.vmCount++}function Er(e,t){Ie();try{return e.call(t,t)}catch(qa){return Jt(qa,t,"data()"),{}}finally{Te()}}var Lr={lazy:!0};function Zr(e,t){var n=e._computedWatchers=Object.create(null),r=de();for(var o in t){var i=t[o],a=c(i)?i:i.get;0,r||(n[o]=new yn(e,a||E,E,Lr)),o in e||Xr(e,o,i)}}function Xr(e,t,n){var r=!de();c(n)?($r.get=r?Fr(t):Vr(n),$r.set=E):($r.get=n.get?r&&!1!==n.cache?Fr(t):Vr(n.get):E,$r.set=n.set||E),Object.defineProperty(e,t,$r)}function Fr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ke.target&&t.depend(),t.value}}function Vr(e){return function(){return e.call(this,this)}}function Nr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?E:j(t[n],e)}function zr(e,t){for(var n in t){var r=t[n];if(o(r))for(var i=0;i<r.length;i++)Mr(e,n,r[i]);else Mr(e,n,r)}}function Mr(e,t,n,r){return p(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}function Dr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Xe,e.prototype.$delete=Fe,e.prototype.$watch=function(e,t,n){var r=this;if(p(t))return Mr(r,e,t,n);n=n||{},n.user=!0;var o=new yn(r,e,t,n);if(n.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');Ie(),Yt(t,r,[o.value],r,i),Te()}return function(){o.teardown()}}}var Gr=0;function Ur(e){e.prototype._init=function(e){var t=this;t._uid=Gr++,t._isVue=!0,t.__v_skip=!0,t._scope=new Je(!0),t._scope.parent=void 0,t._scope._vm=!0,e&&e._isComponent?Kr(t,e):t.$options=_r(Jr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Tn(t),An(t),Et(t),Rn(t,"beforeCreate",void 0,!1),qn(t),Or(t),Qn(t),Rn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function Kr(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function Jr(e){var t=e.options;if(e.super){var n=Jr(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var o=Yr(e);o&&R(e.extendOptions,o),t=e.options=_r(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Yr(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}function Qr(e){this._init(e)}function qr(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=O(arguments,1);return n.unshift(this),c(e.install)?e.install.apply(e,n):c(e)&&e.apply(null,n),t.push(e),this}}function eo(e){e.mixin=function(e){return this.options=_r(this.options,e),this}}function to(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=ir(e)||ir(n.options);var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=_r(n.options,e),a["super"]=n,a.options.props&&no(a),a.options.computed&&ro(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,M.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=R({},a.options),o[r]=a,a}}function no(e){var t=e.options.props;for(var n in t)jr(e.prototype,"_props",n)}function ro(e){var t=e.options.computed;for(var n in t)Xr(e.prototype,n,t[n])}function oo(e){M.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&p(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&c(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function io(e){return e&&(ir(e.Ctor.options)||e.tag)}function ao(e,t){return o(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!h(e)&&e.test(t)}function lo(e,t){var n=e.cache,r=e.keys,o=e._vnode,i=e.$vnode;for(var a in n){var l=n[a];if(l){var s=l.name;s&&!t(s)&&so(n,a,r,o)}}i.componentOptions.children=void 0}function so(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,C(n,t)}Ur(Qr),Dr(Qr),kn(Qr),Hn(Qr),Zt(Qr);var uo=[String,RegExp,Array],co={name:"keep-alive",abstract:!0,props:{include:uo,exclude:uo,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,o=e.keyToCache;if(r){var i=r.tag,a=r.componentInstance,l=r.componentOptions;t[o]={name:io(l),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&so(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)so(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){lo(e,function(e){return ao(t,e)})}),this.$watch("exclude",function(t){lo(e,function(e){return!ao(t,e)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Nt(e),n=t&&t.componentOptions;if(n){var r=io(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!ao(i,r))||a&&r&&ao(a,r))return t;var l=this,s=l.cache,u=l.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;s[c]?(t.componentInstance=s[c].componentInstance,C(u,c),u.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},fo={KeepAlive:co};function po(e){var t={get:function(){return G}};Object.defineProperty(e,"config",t),e.util={warn:pr,extend:R,mergeOptions:_r,defineReactive:Ze},e.set=Xe,e.delete=Fe,e.nextTick=cn,e.observable=function(e){return Le(e),e},e.options=Object.create(null),M.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,R(e.options.components,fo),qr(e),eo(e),to(e),oo(e)}po(Qr),Object.defineProperty(Qr.prototype,"$isServer",{get:de}),Object.defineProperty(Qr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Qr,"FunctionalRenderContext",{value:tr}),Qr.version=pn;var ho=A("style,class"),go=A("input,textarea,option,select,progress"),mo=function(e,t,n){return"value"===n&&go(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},vo=A("contenteditable,draggable,spellcheck"),bo=A("events,caret,typing,plaintext-only"),yo=function(e,t){return _o(t)||"false"===t?"false":"contenteditable"===e&&bo(t)?t:"true"},Ao=A("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),wo="http://www.w3.org/1999/xlink",Co=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},xo=function(e){return Co(e)?e.slice(6,e.length):""},_o=function(e){return null==e||!1===e};function ko(e){var t=e.data,n=e,r=e;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=So(r.data,t));while(a(n=n.parent))n&&n.data&&(t=So(t,n.data));return Io(t.staticClass,t.class)}function So(e,t){return{staticClass:To(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Io(e,t){return a(e)||a(t)?To(e,Ho(t)):""}function To(e,t){return e?t?e+" "+t:e:t||""}function Ho(e){return Array.isArray(e)?Po(e):d(e)?Bo(e):"string"===typeof e?e:""}function Po(e){for(var t,n="",r=0,o=e.length;r<o;r++)a(t=Ho(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Bo(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var $o={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},jo=A("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Oo=A("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ro=function(e){return jo(e)||Oo(e)};function Wo(e){return Oo(e)?"svg":"math"===e?"math":void 0}var Eo=Object.create(null);function Lo(e){if(!ee)return!0;if(Ro(e))return!1;if(e=e.toLowerCase(),null!=Eo[e])return Eo[e];var t=document.createElement(e);return e.indexOf("-")>-1?Eo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Eo[e]=/HTMLUnknownElement/.test(t.toString())}var Zo=A("text,number,password,search,email,tel,url");function Xo(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Fo(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Vo(e,t){return document.createElementNS($o[e],t)}function No(e){return document.createTextNode(e)}function zo(e){return document.createComment(e)}function Mo(e,t,n){e.insertBefore(t,n)}function Do(e,t){e.removeChild(t)}function Go(e,t){e.appendChild(t)}function Uo(e){return e.parentNode}function Ko(e){return e.nextSibling}function Jo(e){return e.tagName}function Yo(e,t){e.textContent=t}function Qo(e,t){e.setAttribute(t,"")}var qo=Object.freeze({__proto__:null,createElement:Fo,createElementNS:Vo,createTextNode:No,createComment:zo,insertBefore:Mo,removeChild:Do,appendChild:Go,parentNode:Uo,nextSibling:Ko,tagName:Jo,setTextContent:Yo,setStyleScope:Qo}),ei={create:function(e,t){ti(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ti(e,!0),ti(t))},destroy:function(e){ti(e,!0)}};function ti(e,t){var n=e.data.ref;if(a(n)){var r=e.context,i=e.componentInstance||e.elm,l=t?null:i,s=t?void 0:i;if(c(n))Yt(n,r,[l],r,"template ref function");else{var u=e.data.refInFor,d="string"===typeof n||"number"===typeof n,f=De(n),p=r.$refs;if(d||f)if(u){var h=d?p[n]:n.value;t?o(h)&&C(h,i):o(h)?h.includes(i)||h.push(i):d?(p[n]=[i],ni(r,n,p[n])):n.value=[i]}else if(d){if(t&&p[n]!==i)return;p[n]=s,ni(r,n,l)}else if(f){if(t&&n.value!==i)return;n.value=l}else 0}}}function ni(e,t,n){var r=e._setupState;r&&_(r,t)&&(De(r[t])?r[t].value=n:r[t]=n)}var ri=new be("",{},[]),oi=["create","activate","update","remove","destroy"];function ii(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&ai(e,t)||l(e.isAsyncPlaceholder)&&i(t.asyncFactory.error))}function ai(e,t){if("input"!==e.tag)return!0;var n,r=a(n=e.data)&&a(n=n.attrs)&&n.type,o=a(n=t.data)&&a(n=n.attrs)&&n.type;return r===o||Zo(r)&&Zo(o)}function li(e,t,n){var r,o,i={};for(r=t;r<=n;++r)o=e[r].key,a(o)&&(i[o]=r);return i}function si(e){var t,n,r={},s=e.modules,c=e.nodeOps;for(t=0;t<oi.length;++t)for(r[oi[t]]=[],n=0;n<s.length;++n)a(s[n][oi[t]])&&r[oi[t]].push(s[n][oi[t]]);function d(e){return new be(c.tagName(e).toLowerCase(),{},[],void 0,e)}function f(e,t){function n(){0===--n.listeners&&p(e)}return n.listeners=t,n}function p(e){var t=c.parentNode(e);a(t)&&c.removeChild(t,e)}function h(e,t,n,r,o,i,s){if(a(e.elm)&&a(i)&&(e=i[s]=we(e)),e.isRootInsert=!o,!g(e,t,n,r)){var u=e.data,d=e.children,f=e.tag;a(f)?(e.elm=e.ns?c.createElementNS(e.ns,f):c.createElement(f,e),x(e),y(e,d,t),a(u)&&C(e,t),b(n,e.elm,r)):l(e.isComment)?(e.elm=c.createComment(e.text),b(n,e.elm,r)):(e.elm=c.createTextNode(e.text),b(n,e.elm,r))}}function g(e,t,n,r){var o=e.data;if(a(o)){var i=a(e.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(e,!1),a(e.componentInstance))return m(e,t),b(n,e.elm,r),l(i)&&v(e,t,n,r),!0}}function m(e,t){a(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,w(e)?(C(e,t),x(e)):(ti(e),t.push(e))}function v(e,t,n,o){var i,l=e;while(l.componentInstance)if(l=l.componentInstance._vnode,a(i=l.data)&&a(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](ri,l);t.push(l);break}b(n,e.elm,o)}function b(e,t,n){a(e)&&(a(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function y(e,t,n){if(o(t)){0;for(var r=0;r<t.length;++r)h(t[r],n,e.elm,null,!0,t,r)}else u(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function w(e){while(e.componentInstance)e=e.componentInstance._vnode;return a(e.tag)}function C(e,n){for(var o=0;o<r.create.length;++o)r.create[o](ri,e);t=e.data.hook,a(t)&&(a(t.create)&&t.create(ri,e),a(t.insert)&&n.push(e))}function x(e){var t;if(a(t=e.fnScopeId))c.setStyleScope(e.elm,t);else{var n=e;while(n)a(t=n.context)&&a(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent}a(t=Sn)&&t!==e.context&&t!==e.fnContext&&a(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function _(e,t,n,r,o,i){for(;r<=o;++r)h(n[r],i,e,t,!1,n,r)}function k(e){var t,n,o=e.data;if(a(o))for(a(t=o.hook)&&a(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(a(t=e.children))for(n=0;n<e.children.length;++n)k(e.children[n])}function S(e,t,n){for(;t<=n;++t){var r=e[t];a(r)&&(a(r.tag)?(I(r),k(r)):p(r.elm))}}function I(e,t){if(a(t)||a(e.data)){var n,o=r.remove.length+1;for(a(t)?t.listeners+=o:t=f(e.elm,o),a(n=e.componentInstance)&&a(n=n._vnode)&&a(n.data)&&I(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);a(n=e.data.hook)&&a(n=n.remove)?n(e,t):t()}else p(e.elm)}function T(e,t,n,r,o){var l,s,u,d,f=0,p=0,g=t.length-1,m=t[0],v=t[g],b=n.length-1,y=n[0],A=n[b],w=!o;while(f<=g&&p<=b)i(m)?m=t[++f]:i(v)?v=t[--g]:ii(m,y)?(P(m,y,r,n,p),m=t[++f],y=n[++p]):ii(v,A)?(P(v,A,r,n,b),v=t[--g],A=n[--b]):ii(m,A)?(P(m,A,r,n,b),w&&c.insertBefore(e,m.elm,c.nextSibling(v.elm)),m=t[++f],A=n[--b]):ii(v,y)?(P(v,y,r,n,p),w&&c.insertBefore(e,v.elm,m.elm),v=t[--g],y=n[++p]):(i(l)&&(l=li(t,f,g)),s=a(y.key)?l[y.key]:H(y,t,f,g),i(s)?h(y,r,e,m.elm,!1,n,p):(u=t[s],ii(u,y)?(P(u,y,r,n,p),t[s]=void 0,w&&c.insertBefore(e,u.elm,m.elm)):h(y,r,e,m.elm,!1,n,p)),y=n[++p]);f>g?(d=i(n[b+1])?null:n[b+1].elm,_(e,d,n,p,b,r)):p>b&&S(t,f,g)}function H(e,t,n,r){for(var o=n;o<r;o++){var i=t[o];if(a(i)&&ii(e,i))return o}}function P(e,t,n,o,s,u){if(e!==t){a(t.elm)&&a(o)&&(t=o[s]=we(t));var d=t.elm=e.elm;if(l(e.isAsyncPlaceholder))a(t.asyncFactory.resolved)?j(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(l(t.isStatic)&&l(e.isStatic)&&t.key===e.key&&(l(t.isCloned)||l(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,p=t.data;a(p)&&a(f=p.hook)&&a(f=f.prepatch)&&f(e,t);var h=e.children,g=t.children;if(a(p)&&w(t)){for(f=0;f<r.update.length;++f)r.update[f](e,t);a(f=p.hook)&&a(f=f.update)&&f(e,t)}i(t.text)?a(h)&&a(g)?h!==g&&T(d,h,g,n,u):a(g)?(a(e.text)&&c.setTextContent(d,""),_(d,null,g,0,g.length-1,n)):a(h)?S(h,0,h.length-1):a(e.text)&&c.setTextContent(d,""):e.text!==t.text&&c.setTextContent(d,t.text),a(p)&&a(f=p.hook)&&a(f=f.postpatch)&&f(e,t)}}}function B(e,t,n){if(l(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var $=A("attrs,class,staticClass,staticStyle,key");function j(e,t,n,r){var o,i=t.tag,s=t.data,u=t.children;if(r=r||s&&s.pre,t.elm=e,l(t.isComment)&&a(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(a(s)&&(a(o=s.hook)&&a(o=o.init)&&o(t,!0),a(o=t.componentInstance)))return m(t,n),!0;if(a(i)){if(a(u))if(e.hasChildNodes())if(a(o=s)&&a(o=o.domProps)&&a(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var c=!0,d=e.firstChild,f=0;f<u.length;f++){if(!d||!j(d,u[f],n,r)){c=!1;break}d=d.nextSibling}if(!c||d)return!1}else y(t,u,n);if(a(s)){var p=!1;for(var h in s)if(!$(h)){p=!0,C(t,n);break}!p&&s["class"]&&gn(s["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,o){if(!i(t)){var s=!1,u=[];if(i(e))s=!0,h(t,u);else{var f=a(e.nodeType);if(!f&&ii(e,t))P(e,t,u,null,null,o);else{if(f){if(1===e.nodeType&&e.hasAttribute(z)&&(e.removeAttribute(z),n=!0),l(n)&&j(e,t,u))return B(t,u,!0),e;e=d(e)}var p=e.elm,g=c.parentNode(p);if(h(t,u,p._leaveCb?null:g,c.nextSibling(p)),a(t.parent)){var m=t.parent,v=w(t);while(m){for(var b=0;b<r.destroy.length;++b)r.destroy[b](m);if(m.elm=t.elm,v){for(var y=0;y<r.create.length;++y)r.create[y](ri,m);var A=m.data.hook.insert;if(A.merged)for(var C=A.fns.slice(1),x=0;x<C.length;x++)C[x]()}else ti(m);m=m.parent}}a(g)?S([e],0,0):a(e.tag)&&k(e)}}return B(t,u,s),t.elm}a(e)&&k(e)}}var ui={create:ci,update:ci,destroy:function(e){ci(e,ri)}};function ci(e,t){(e.data.directives||t.data.directives)&&di(e,t)}function di(e,t){var n,r,o,i=e===ri,a=t===ri,l=pi(e.data.directives,e.context),s=pi(t.data.directives,t.context),u=[],c=[];for(n in s)r=l[n],o=s[n],r?(o.oldValue=r.value,o.oldArg=r.arg,gi(o,"update",t,e),o.def&&o.def.componentUpdated&&c.push(o)):(gi(o,"bind",t,e),o.def&&o.def.inserted&&u.push(o));if(u.length){var d=function(){for(var n=0;n<u.length;n++)gi(u[n],"inserted",t,e)};i?rt(t,"insert",d):d()}if(c.length&&rt(t,"postpatch",function(){for(var n=0;n<c.length;n++)gi(c[n],"componentUpdated",t,e)}),!i)for(n in l)s[n]||gi(l[n],"unbind",e,e,a)}var fi=Object.create(null);function pi(e,t){var n,r,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++){if(r=e[n],r.modifiers||(r.modifiers=fi),o[hi(r)]=r,t._setupState&&t._setupState.__sfc){var i=r.def||kr(t,"_setupState","v-"+r.name);r.def="function"===typeof i?{bind:i,update:i}:i}r.def=r.def||kr(t.$options,"directives",r.name,!0)}return o}function hi(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function gi(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(qa){Jt(qa,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var mi=[ei,ui];function vi(e,t){var n=t.componentOptions;if((!a(n)||!1!==n.Ctor.options.inheritAttrs)&&(!i(e.data.attrs)||!i(t.data.attrs))){var r,o,s,u=t.elm,c=e.data.attrs||{},d=t.data.attrs||{};for(r in(a(d.__ob__)||l(d._v_attr_proxy))&&(d=t.data.attrs=R({},d)),d)o=d[r],s=c[r],s!==o&&bi(u,r,o,t.data.pre);for(r in(ne||oe)&&d.value!==c.value&&bi(u,"value",d.value),c)i(d[r])&&(Co(r)?u.removeAttributeNS(wo,xo(r)):vo(r)||u.removeAttribute(r))}}function bi(e,t,n,r){r||e.tagName.indexOf("-")>-1?yi(e,t,n):Ao(t)?_o(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):vo(t)?e.setAttribute(t,yo(t,n)):Co(t)?_o(n)?e.removeAttributeNS(wo,xo(t)):e.setAttributeNS(wo,t,n):yi(e,t,n)}function yi(e,t,n){if(_o(n))e.removeAttribute(t);else{if(ne&&!re&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Ai={create:vi,update:vi};function wi(e,t){var n=t.elm,r=t.data,o=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var l=ko(t),s=n._transitionClasses;a(s)&&(l=To(l,Ho(s))),l!==n._prevClass&&(n.setAttribute("class",l),n._prevClass=l)}}var Ci,xi={create:wi,update:wi},_i="__r",ki="__c";function Si(e){if(a(e[_i])){var t=ne?"change":"input";e[t]=[].concat(e[_i],e[t]||[]),delete e[_i]}a(e[ki])&&(e.change=[].concat(e[ki],e.change||[]),delete e[ki])}function Ii(e,t,n){var r=Ci;return function o(){var i=t.apply(null,arguments);null!==i&&Pi(e,o,n,r)}}var Ti=tn&&!(le&&Number(le[1])<=53);function Hi(e,t,n,r){if(Ti){var o=Nn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}Ci.addEventListener(e,t,ue?{capture:n,passive:r}:n)}function Pi(e,t,n,r){(r||Ci).removeEventListener(e,t._wrapper||t,n)}function Bi(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Ci=t.elm||e.elm,Si(n),nt(n,r,Hi,Pi,Ii,t.context),Ci=void 0}}var $i,ji={create:Bi,update:Bi,destroy:function(e){return Bi(e,ri)}};function Oi(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,r,o=t.elm,s=e.data.domProps||{},u=t.data.domProps||{};for(n in(a(u.__ob__)||l(u._v_attr_proxy))&&(u=t.data.domProps=R({},u)),s)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var c=i(r)?"":String(r);Ri(o,c)&&(o.value=c)}else if("innerHTML"===n&&Oo(o.tagName)&&i(o.innerHTML)){$i=$i||document.createElement("div"),$i.innerHTML="<svg>".concat(r,"</svg>");var d=$i.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(d.firstChild)o.appendChild(d.firstChild)}else if(r!==s[n])try{o[n]=r}catch(qa){}}}}function Ri(e,t){return!e.composing&&("OPTION"===e.tagName||Wi(e,t)||Ei(e,t))}function Wi(e,t){var n=!0;try{n=document.activeElement!==e}catch(qa){}return n&&e.value!==t}function Ei(e,t){var n=e.value,r=e._vModifiers;if(a(r)){if(r.number)return y(n)!==y(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var Li={create:Oi,update:Oi},Zi=k(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t});function Xi(e){var t=Fi(e.style);return e.staticStyle?R(e.staticStyle,t):t}function Fi(e){return Array.isArray(e)?W(e):"string"===typeof e?Zi(e):e}function Vi(e,t){var n,r={};if(t){var o=e;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Xi(o.data))&&R(r,n)}(n=Xi(e.data))&&R(r,n);var i=e;while(i=i.parent)i.data&&(n=Xi(i.data))&&R(r,n);return r}var Ni,zi=/^--/,Mi=/\s*!important$/,Di=function(e,t,n){if(zi.test(t))e.style.setProperty(t,n);else if(Mi.test(n))e.style.setProperty(P(t),n.replace(Mi,""),"important");else{var r=Ui(t);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)e.style[r]=n[o];else e.style[r]=n}},Gi=["Webkit","Moz","ms"],Ui=k(function(e){if(Ni=Ni||document.createElement("div").style,e=I(e),"filter"!==e&&e in Ni)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Gi.length;n++){var r=Gi[n]+t;if(r in Ni)return r}});function Ki(e,t){var n=t.data,r=e.data;if(!(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))){var o,l,s=t.elm,u=r.staticStyle,c=r.normalizedStyle||r.style||{},d=u||c,f=Fi(t.data.style)||{};t.data.normalizedStyle=a(f.__ob__)?R({},f):f;var p=Vi(t,!0);for(l in d)i(p[l])&&Di(s,l,"");for(l in p)o=p[l],Di(s,l,null==o?"":o)}}var Ji={create:Ki,update:Ki},Yi=/\s+/;function Qi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Yi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function qi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Yi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function ea(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&R(t,ta(e.name||"v")),R(t,e),t}return"string"===typeof e?ta(e):void 0}}var ta=k(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),na=ee&&!re,ra="transition",oa="animation",ia="transition",aa="transitionend",la="animation",sa="animationend";na&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ia="WebkitTransition",aa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(la="WebkitAnimation",sa="webkitAnimationEnd"));var ua=ee?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ca(e){ua(function(){ua(e)})}function da(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Qi(e,t))}function fa(e,t){e._transitionClasses&&C(e._transitionClasses,t),qi(e,t)}function pa(e,t,n){var r=ga(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var l=o===ra?aa:sa,s=0,u=function(){e.removeEventListener(l,c),n()},c=function(t){t.target===e&&++s>=a&&u()};setTimeout(function(){s<a&&u()},i+1),e.addEventListener(l,c)}var ha=/\b(transform|all)(,|$)/;function ga(e,t){var n,r=window.getComputedStyle(e),o=(r[ia+"Delay"]||"").split(", "),i=(r[ia+"Duration"]||"").split(", "),a=ma(o,i),l=(r[la+"Delay"]||"").split(", "),s=(r[la+"Duration"]||"").split(", "),u=ma(l,s),c=0,d=0;t===ra?a>0&&(n=ra,c=a,d=i.length):t===oa?u>0&&(n=oa,c=u,d=s.length):(c=Math.max(a,u),n=c>0?a>u?ra:oa:null,d=n?n===ra?i.length:s.length:0);var f=n===ra&&ha.test(r[ia+"Property"]);return{type:n,timeout:c,propCount:d,hasTransform:f}}function ma(e,t){while(e.length<t.length)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return va(t)+va(e[n])}))}function va(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ba(e,t){var n=e.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=ea(e.data.transition);if(!i(r)&&!a(n._enterCb)&&1===n.nodeType){var o=r.css,l=r.type,s=r.enterClass,u=r.enterToClass,f=r.enterActiveClass,p=r.appearClass,h=r.appearToClass,g=r.appearActiveClass,m=r.beforeEnter,v=r.enter,b=r.afterEnter,A=r.enterCancelled,w=r.beforeAppear,C=r.appear,x=r.afterAppear,_=r.appearCancelled,k=r.duration,S=Sn,I=Sn.$vnode;while(I&&I.parent)S=I.context,I=I.parent;var T=!S._isMounted||!e.isRootInsert;if(!T||C||""===C){var H=T&&p?p:s,P=T&&g?g:f,B=T&&h?h:u,$=T&&w||m,j=T&&c(C)?C:v,O=T&&x||b,R=T&&_||A,W=y(d(k)?k.enter:k);0;var E=!1!==o&&!re,L=wa(j),Z=n._enterCb=V(function(){E&&(fa(n,B),fa(n,P)),Z.cancelled?(E&&fa(n,H),R&&R(n)):O&&O(n),n._enterCb=null});e.data.show||rt(e,"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),j&&j(n,Z)}),$&&$(n),E&&(da(n,H),da(n,P),ca(function(){fa(n,H),Z.cancelled||(da(n,B),L||(Aa(W)?setTimeout(Z,W):pa(n,l,Z)))})),e.data.show&&(t&&t(),j&&j(n,Z)),E||L||Z()}}}function ya(e,t){var n=e.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=ea(e.data.transition);if(i(r)||1!==n.nodeType)return t();if(!a(n._leaveCb)){var o=r.css,l=r.type,s=r.leaveClass,u=r.leaveToClass,c=r.leaveActiveClass,f=r.beforeLeave,p=r.leave,h=r.afterLeave,g=r.leaveCancelled,m=r.delayLeave,v=r.duration,b=!1!==o&&!re,A=wa(p),w=y(d(v)?v.leave:v);0;var C=n._leaveCb=V(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(fa(n,u),fa(n,c)),C.cancelled?(b&&fa(n,s),g&&g(n)):(t(),h&&h(n)),n._leaveCb=null});m?m(x):x()}function x(){C.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),f&&f(n),b&&(da(n,s),da(n,c),ca(function(){fa(n,s),C.cancelled||(da(n,u),A||(Aa(w)?setTimeout(C,w):pa(n,l,C)))})),p&&p(n,C),b||A||C())}}function Aa(e){return"number"===typeof e&&!isNaN(e)}function wa(e){if(i(e))return!1;var t=e.fns;return a(t)?wa(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ca(e,t){!0!==t.data.show&&ba(t)}var xa=ee?{create:Ca,activate:Ca,remove:function(e,t){!0!==e.data.show?ya(e,t):t()}}:{},_a=[Ai,xi,ji,Li,Ji,xa],ka=_a.concat(mi),Sa=si({nodeOps:qo,modules:ka});re&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Oa(e,"input")});var Ia={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?rt(n,"postpatch",function(){Ia.componentUpdated(e,t,n)}):Ta(e,t,n.context),e._vOptions=[].map.call(e.options,Ba)):("textarea"===n.tag||Zo(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",$a),e.addEventListener("compositionend",ja),e.addEventListener("change",ja),re&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ta(e,t,n.context);var r=e._vOptions,o=e._vOptions=[].map.call(e.options,Ba);if(o.some(function(e,t){return!X(e,r[t])})){var i=e.multiple?t.value.some(function(e){return Pa(e,o)}):t.value!==t.oldValue&&Pa(t.value,o);i&&Oa(e,"change")}}}};function Ta(e,t,n){Ha(e,t,n),(ne||oe)&&setTimeout(function(){Ha(e,t,n)},0)}function Ha(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,l=0,s=e.options.length;l<s;l++)if(a=e.options[l],o)i=F(r,Ba(a))>-1,a.selected!==i&&(a.selected=i);else if(X(Ba(a),r))return void(e.selectedIndex!==l&&(e.selectedIndex=l));o||(e.selectedIndex=-1)}}function Pa(e,t){return t.every(function(t){return!X(t,e)})}function Ba(e){return"_value"in e?e._value:e.value}function $a(e){e.target.composing=!0}function ja(e){e.target.composing&&(e.target.composing=!1,Oa(e.target,"input"))}function Oa(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ra(e){return!e.componentInstance||e.data&&e.data.transition?e:Ra(e.componentInstance._vnode)}var Wa={bind:function(e,t,n){var r=t.value;n=Ra(n);var o=n.data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,ba(n,function(){e.style.display=i})):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value,o=t.oldValue;if(!r!==!o){n=Ra(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?ba(n,function(){e.style.display=e.__vOriginalDisplay}):ya(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}},Ea={model:Ia,show:Wa},La={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Za(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Za(Nt(t.children)):e}function Xa(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var r in o)t[I(r)]=o[r];return t}function Fa(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Va(e){while(e=e.parent)if(e.data.transition)return!0}function Na(e,t){return t.key===e.key&&t.tag===e.tag}var za=function(e){return e.tag||It(e)},Ma=function(e){return"show"===e.name},Da={name:"transition",props:La,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(za),n.length)){0;var r=this.mode;0;var o=n[0];if(Va(this.$vnode))return o;var i=Za(o);if(!i)return o;if(this._leaving)return Fa(e,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:u(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var l=(i.data||(i.data={})).transition=Xa(this),s=this._vnode,c=Za(s);if(i.data.directives&&i.data.directives.some(Ma)&&(i.data.show=!0),c&&c.data&&!Na(i,c)&&!It(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=R({},l);if("out-in"===r)return this._leaving=!0,rt(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Fa(e,o);if("in-out"===r){if(It(i))return s;var f,p=function(){f()};rt(l,"afterEnter",p),rt(l,"enterCancelled",p),rt(d,"delayLeave",function(e){f=e})}}return o}}},Ga=R({tag:String,moveClass:String},La);delete Ga.mode;var Ua={props:Ga,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=In(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Xa(this),l=0;l<o.length;l++){var s=o[l];if(s.tag)if(null!=s.key&&0!==String(s.key).indexOf("__vlist"))i.push(s),n[s.key]=s,(s.data||(s.data={})).transition=a;else;}if(r){var u=[],c=[];for(l=0;l<r.length;l++){s=r[l];s.data.transition=a,s.data.pos=s.elm.getBoundingClientRect(),n[s.key]?u.push(s):c.push(s)}this.kept=e(t,null,u),this.removed=c}return e(t,null,i)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Ka),e.forEach(Ja),e.forEach(Ya),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;da(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(aa,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(aa,e),n._moveCb=null,fa(n,t))})}}))},methods:{hasMove:function(e,t){if(!na)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){qi(n,e)}),Qi(n,t),n.style.display="none",this.$el.appendChild(n);var r=ga(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Ka(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ja(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ya(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var Qa={Transition:Da,TransitionGroup:Ua};Qr.config.mustUseProp=mo,Qr.config.isReservedTag=Ro,Qr.config.isReservedAttr=ho,Qr.config.getTagNamespace=Wo,Qr.config.isUnknownElement=Lo,R(Qr.options.directives,Ea),R(Qr.options.components,Qa),Qr.prototype.__patch__=ee?Sa:E,Qr.prototype.$mount=function(e,t){return e=e&&ee?Xo(e):void 0,Pn(this,e,t)},ee&&setTimeout(function(){G.devtools&&fe&&fe.emit("init",Qr)},0)},7734:function(e,t,n){"use strict";
|
|
9
|
+
/*!
|
|
10
|
+
* vuex v3.6.2
|
|
11
|
+
* (c) 2021 Evan You
|
|
12
|
+
* @license MIT
|
|
13
|
+
*/function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var o="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},i=o.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(e,t){i.emit("vuex:mutation",e,t)},{prepend:!0}),e.subscribeAction(function(e,t){i.emit("vuex:action",e,t)},{prepend:!0}))}function l(e,t){return e.filter(t)[0]}function s(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=l(t,function(t){return t.original===e});if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach(function(n){r[n]=s(e[n],t)}),r}function u(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function c(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var p=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},h={namespaced:{configurable:!0}};h.namespaced.get=function(){return!!this._rawModule.namespaced},p.prototype.addChild=function(e,t){this._children[e]=t},p.prototype.removeChild=function(e){delete this._children[e]},p.prototype.getChild=function(e){return this._children[e]},p.prototype.hasChild=function(e){return e in this._children},p.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},p.prototype.forEachChild=function(e){u(this._children,e)},p.prototype.forEachGetter=function(e){this._rawModule.getters&&u(this._rawModule.getters,e)},p.prototype.forEachAction=function(e){this._rawModule.actions&&u(this._rawModule.actions,e)},p.prototype.forEachMutation=function(e){this._rawModule.mutations&&u(this._rawModule.mutations,e)},Object.defineProperties(p.prototype,h);var g=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;m(e.concat(r),t.getChild(r),n.modules[r])}}g.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},g.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")},"")},g.prototype.update=function(e){m([],this.root,e)},g.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var o=new p(t,n);if(0===e.length)this.root=o;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],o)}t.modules&&u(t.modules,function(t,o){r.register(e.concat(o),t,n)})},g.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},g.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var v;var b=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&$(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new g(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var o=this,i=this,l=i.dispatch,s=i.commit;this.dispatch=function(e,t){return l.call(o,e,t)},this.commit=function(e,t,n){return s.call(o,e,t,n)},this.strict=r;var u=this._modules.root.state;x(this,u,[],this._modules.root),C(this,u),n.forEach(function(e){return e(t)});var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&a(this)},y={state:{configurable:!0}};function A(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;x(e,n,[],e._modules.root,!0),C(e,n,t)}function C(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={};u(o,function(t,n){i[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})});var a=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:i}),v.config.silent=a,e.strict&&H(e),r&&(n&&e._withCommit(function(){r._data.$$state=null}),v.nextTick(function(){return r.$destroy()}))}function x(e,t,n,r,o){var i=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!i&&!o){var l=P(t,n.slice(0,-1)),s=n[n.length-1];e._withCommit(function(){v.set(l,s,r.state)})}var u=r.context=_(e,a,n);r.forEachMutation(function(t,n){var r=a+n;S(e,r,t,u)}),r.forEachAction(function(t,n){var r=t.root?n:a+n,o=t.handler||t;I(e,r,o,u)}),r.forEachGetter(function(t,n){var r=a+n;T(e,r,t,u)}),r.forEachChild(function(r,i){x(e,t,n.concat(i),r,o)})}function _(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var i=B(n,r,o),a=i.payload,l=i.options,s=i.type;return l&&l.root||(s=t+s),e.dispatch(s,a)},commit:r?e.commit:function(n,r,o){var i=B(n,r,o),a=i.payload,l=i.options,s=i.type;l&&l.root||(s=t+s),e.commit(s,a,l)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return P(e.state,n)}}}),o}function k(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function S(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(t){n.call(e,r.state,t)})}function I(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(t){var o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return d(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):o})}function T(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function H(e){e._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}function P(e,t){return t.reduce(function(e,t){return e[t]},e)}function B(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function $(e){v&&e===v||(v=e,r(v))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(e){0},b.prototype.commit=function(e,t,n){var r=this,o=B(e,t,n),i=o.type,a=o.payload,l=(o.options,{type:i,payload:a}),s=this._mutations[i];s&&(this._withCommit(function(){s.forEach(function(e){e(a)})}),this._subscribers.slice().forEach(function(e){return e(l,r.state)}))},b.prototype.dispatch=function(e,t){var n=this,r=B(e,t),o=r.type,i=r.payload,a={type:o,payload:i},l=this._actions[o];if(l){try{this._actionSubscribers.slice().filter(function(e){return e.before}).forEach(function(e){return e.before(a,n.state)})}catch(u){0}var s=l.length>1?Promise.all(l.map(function(e){return e(i)})):l[0](i);return new Promise(function(e,t){s.then(function(t){try{n._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(a,n.state)})}catch(u){0}e(t)},function(e){try{n._actionSubscribers.filter(function(e){return e.error}).forEach(function(t){return t.error(a,n.state,e)})}catch(u){0}t(e)})})}},b.prototype.subscribe=function(e,t){return A(e,this._subscribers,t)},b.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return A(n,this._actionSubscribers,t)},b.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch(function(){return e(r.state,r.getters)},t,n)},b.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},b.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),x(this,this.state,e,this._modules.get(e),n.preserveState),C(this,this.state)},b.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=P(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])}),w(this)},b.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},b.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},b.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(b.prototype,y);var j=X(function(e,t){var n={};return L(t).forEach(function(t){var r=t.key,o=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=F(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,t,n):t[o]},n[r].vuex=!0}),n}),O=X(function(e,t){var n={};return L(t).forEach(function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var i=F(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}}),n}),R=X(function(e,t){var n={};return L(t).forEach(function(t){var r=t.key,o=t.val;o=e+o,n[r]=function(){if(!e||F(this.$store,"mapGetters",e))return this.$store.getters[o]},n[r].vuex=!0}),n}),W=X(function(e,t){var n={};return L(t).forEach(function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var i=F(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}}),n}),E=function(e){return{mapState:j.bind(null,e),mapGetters:R.bind(null,e),mapMutations:O.bind(null,e),mapActions:W.bind(null,e)}};function L(e){return Z(e)?Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function Z(e){return Array.isArray(e)||c(e)}function X(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function F(e,t,n){var r=e._modulesNamespaceMap[n];return r}function V(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var o=e.mutationTransformer;void 0===o&&(o=function(e){return e});var i=e.actionFilter;void 0===i&&(i=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var l=e.logMutations;void 0===l&&(l=!0);var u=e.logActions;void 0===u&&(u=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var d=s(e.state);"undefined"!==typeof c&&(l&&e.subscribe(function(e,i){var a=s(i);if(n(e,d,a)){var l=M(),u=o(e),f="mutation "+e.type+l;N(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),z(c)}d=a}),u&&e.subscribeAction(function(e,n){if(i(e,n)){var r=M(),o=a(e),l="action "+e.type+r;N(c,l,t),c.log("%c action","color: #03A9F4; font-weight: bold",o),z(c)}}))}}function N(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(o){e.log(t)}}function z(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function M(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function D(e,t){return new Array(t+1).join(e)}function G(e,t){return D("0",t-e.toString().length)+e}var U={Store:b,install:$,version:"3.6.2",mapState:j,mapMutations:O,mapGetters:R,mapActions:W,createNamespacedHelpers:E,createLogger:V};t.Ay=U},5172:function(e){function t(e,t){this.v=e,this.k=t}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},6993:function(e,t,n){var r=n(5546);function o(){
|
|
14
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
15
|
+
var t,n,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.toStringTag||"@@toStringTag";function s(e,o,i,a){var l=o&&o.prototype instanceof c?o:c,s=Object.create(l.prototype);return r(s,"_invoke",function(e,r,o){var i,a,l,s=0,c=o||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return i=e,a=0,l=t,f.n=n,u}};function p(e,r){for(a=e,l=r,n=0;!d&&s&&!o&&n<c.length;n++){var o,i=c[n],p=f.p,h=i[2];e>3?(o=h===r)&&(l=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=e<2&&p<i[1])?(a=0,f.v=r,f.n=i[1]):p<h&&(o=e<3||i[0]>r||r>h)&&(i[4]=e,i[5]=r,f.n=h,a=0))}if(o||e>1)return u;throw d=!0,r}return function(o,c,h){if(s>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,h),a=c,l=h;(n=a<2?t:l)||!d;){i||(a?a<3?(a>1&&(f.n=-1),p(a,l)):f.n=l:f.v=l);try{if(s=2,i){if(a||(o="next"),n=i[o]){if(!(n=n.call(i,l)))throw TypeError("iterator result is not an object");if(!n.done)return n;l=n.value,a<2&&(a=0)}else 1===a&&(n=i["return"])&&n.call(i),a<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((n=(d=f.n<0)?l:e.call(r,f))!==u)break}catch(n){i=t,a=1,l=n}finally{s=1}}return{value:n,done:d}}}(e,i,a),!0),s}var u={};function c(){}function d(){}function f(){}n=Object.getPrototypeOf;var p=[][a]?n(n([][a]())):(r(n={},a,function(){return this}),n),h=f.prototype=c.prototype=Object.create(p);function g(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,l,"GeneratorFunction")),e.prototype=Object.create(h),e}return d.prototype=f,r(h,"constructor",f),r(f,"constructor",d),d.displayName="GeneratorFunction",r(f,l,"GeneratorFunction"),r(h),r(h,l,"Generator"),r(h,a,function(){return this}),r(h,"toString",function(){return"[object Generator]"}),(e.exports=o=function(){return{w:s,m:g}},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},5869:function(e,t,n){var r=n(887);function o(e,t,n,o,i){var a=r(e,t,n,o,i);return a.next().then(function(e){return e.done?e.value:a.next()})}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},887:function(e,t,n){var r=n(6993),o=n(1791);function i(e,t,n,i,a){return new o(r().w(e,t,n,i),a||Promise)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},1791:function(e,t,n){var r=n(5172),o=n(5546);function i(e,t){function n(o,i,a,l){try{var s=e[o](i),u=s.value;return u instanceof r?t.resolve(u.v).then(function(e){n("next",e,a,l)},function(e){n("throw",e,a,l)}):t.resolve(u).then(function(e){s.value=e,a(s)},function(e){return n("throw",e,a,l)})}catch(e){l(e)}}var a;this.next||(o(i.prototype),o(i.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(e,r,o){function i(){return new t(function(t,r){n(e,o,t,r)})}return a=a?a.then(i,i):i()},!0)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},5546:function(e){function t(n,r,o,i){var a=Object.defineProperty;try{a({},"",{})}catch(n){a=0}e.exports=t=function(e,n,r,o){function i(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?a?a(e,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[n]=r:(i("next",0),i("throw",1),i("return",2))},e.exports.__esModule=!0,e.exports["default"]=e.exports,t(n,r,o,i)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},4373:function(e){function t(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},4633:function(e,t,n){var r=n(5172),o=n(6993),i=n(5869),a=n(887),l=n(1791),s=n(4373),u=n(579);function c(){"use strict";var t=o(),n=t.m(c),d=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function f(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))}var p={throw:1,return:2,break:3,continue:3};function h(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,p[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,u(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(e.exports=c=function(){return{wrap:function(e,n,r,o){return t.w(h(e),n,r,o&&o.reverse())},isGeneratorFunction:f,mark:t.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:l,async:function(e,t,n,r,o){return(f(t)?a:i)(h(e),t,n,r,o)},keys:s,values:u}},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=c,e.exports.__esModule=!0,e.exports["default"]=e.exports},579:function(e,t,n){var r=n(3738)["default"];function o(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(r(e)+" is not iterable")}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},3738:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},4756:function(e,t,n){var r=n(4633)();e.exports=r;try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},467:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function l(e){r(a,o,i,l,s,"next",e)}function s(e){r(a,o,i,l,s,"throw",e)}l(void 0)})}}n.d(t,{A:function(){return o}})},9842:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function i(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""}function a(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:function(){return a}})},3041:function(e,t,n){"use strict";n.d(t,{A:function(){return Yn}});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:function(){return ht},hasStandardBrowserEnv:function(){return mt},hasStandardBrowserWebWorkerEnv:function(){return vt},navigator:function(){return gt},origin:function(){return bt}});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,{iterator:l,toStringTag:s}=Symbol,u=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),c=(e,t)=>{let n=e;const r=[];while(null!=n&&n!==Object.prototype){if(-1!==r.indexOf(n))return!1;if(r.push(n),u(n,t))return!0;n=a(n)}return!1},d=(e,t)=>null!=e&&c(e,t)?e[t]:void 0,f=(e=>t=>{const n=i.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),p=e=>(e=e.toLowerCase(),t=>f(t)===e),h=e=>t=>typeof t===e,{isArray:g}=Array,m=h("undefined");function v(e){return null!==e&&!m(e)&&null!==e.constructor&&!m(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const b=p("ArrayBuffer");function y(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&b(e.buffer),t}const A=h("string"),w=h("function"),C=h("number"),x=e=>null!==e&&"object"===typeof e,_=e=>!0===e||!1===e,k=e=>{if(!x(e))return!1;const t=a(e);return(null===t||t===Object.prototype||null===a(t))&&!c(e,s)&&!c(e,l)},S=e=>{if(!x(e)||v(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},I=p("Date"),T=p("File"),H=e=>!(!e||"undefined"===typeof e.uri),P=e=>e&&"undefined"!==typeof e.getParts,B=p("Blob"),$=p("FileList"),j=e=>x(e)&&w(e.pipe);function O(){return"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{}}const R=O(),W="undefined"!==typeof R.FormData?R.FormData:void 0,E=e=>{if(!e)return!1;if(W&&e instanceof W)return!0;const t=a(e);if(!t||t===Object.prototype)return!1;if(!w(e.append))return!1;const n=f(e);return"formdata"===n||"object"===n&&w(e.toString)&&"[object FormData]"===e.toString()},L=p("URLSearchParams"),[Z,X,F,V]=["ReadableStream","Request","Response","Headers"].map(p),N=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function z(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,o;if("object"!==typeof e&&(e=[e]),g(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(v(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function M(e,t){if(v(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;while(o-- >0)if(r=n[o],t===r.toLowerCase())return r;return null}const D=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:n.g)(),G=e=>!m(e)&&e!==D;function U(...e){const{caseless:t,skipUndefined:n}=G(this)&&this||{},r={},o=(e,o)=>{if("__proto__"===o||"constructor"===o||"prototype"===o)return;const i=t&&"string"===typeof o&&M(r,o)||o,a=u(r,i)?r[i]:void 0;k(a)&&k(e)?r[i]=U(a,e):k(e)?r[i]=U({},e):g(e)?r[i]=e.slice():n&&m(e)||(r[i]=e)};for(let i=0,a=e.length;i<a;i++){const t=e[i];if(!t||v(t))continue;if(z(t,o),"object"!==typeof t||g(t))continue;const n=Object.getOwnPropertySymbols(t);for(let e=0;e<n.length;e++){const r=n[e];ae.call(t,r)&&o(t[r],r)}}return r}const K=(e,t,n,{allOwnKeys:r}={})=>(z(t,(t,r)=>{n&&w(t)?Object.defineProperty(e,r,{__proto__:null,value:o(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),J=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),Y=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},Q=(e,t,n,r)=>{let o,i,l;const s={};if(t=t||{},null==e)return t;do{o=Object.getOwnPropertyNames(e),i=o.length;while(i-- >0)l=o[i],r&&!r(l,e,t)||s[l]||(t[l]=e[l],s[l]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},q=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},ee=e=>{if(!e)return null;if(g(e))return e;let t=e.length;if(!C(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},te=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&a(Uint8Array)),ne=(e,t)=>{const n=e&&e[l],r=n.call(e);let o;while((o=r.next())&&!o.done){const n=o.value;t.call(e,n[0],n[1])}},re=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},oe=p("HTMLFormElement"),ie=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:ae}=Object.prototype,le=p("RegExp"),se=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};z(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)},ue=e=>{se(e,(t,n)=>{if(w(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];w(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},ce=(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return g(e)?r(e):r(String(e).split(t)),n},de=()=>{},fe=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t;function pe(e){return!!(e&&w(e.append)&&"FormData"===e[s]&&e[l])}const he=e=>{const t=new WeakSet,n=e=>{if(x(e)){if(t.has(e))return;if(v(e))return e;if(!("toJSON"in e)){t.add(e);const r=g(e)?[]:{};return z(e,(e,t)=>{const o=n(e);!m(o)&&(r[t]=o)}),t.delete(e),r}}return e};return n(e)},ge=p("AsyncFunction"),me=e=>e&&(x(e)||w(e))&&w(e.then)&&w(e.catch),ve=((e,t)=>e?setImmediate:t?((e,t)=>(D.addEventListener("message",({source:n,data:r})=>{n===D&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),D.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))("function"===typeof setImmediate,w(D.postMessage)),be="undefined"!==typeof queueMicrotask?queueMicrotask.bind(D):"undefined"!==typeof process&&process.nextTick||ve,ye=e=>null!=e&&w(e[l]),Ae=e=>null!=e&&c(e,l)&&ye(e);var we={isArray:g,isArrayBuffer:b,isBuffer:v,isFormData:E,isArrayBufferView:y,isString:A,isNumber:C,isBoolean:_,isObject:x,isPlainObject:k,isEmptyObject:S,isReadableStream:Z,isRequest:X,isResponse:F,isHeaders:V,isUndefined:m,isDate:I,isFile:T,isReactNativeBlob:H,isReactNative:P,isBlob:B,isRegExp:le,isFunction:w,isStream:j,isURLSearchParams:L,isTypedArray:te,isFileList:$,forEach:z,merge:U,extend:K,trim:N,stripBOM:J,inherits:Y,toFlatObject:Q,kindOf:f,kindOfTest:p,endsWith:q,toArray:ee,forEachEntry:ne,matchAll:re,isHTMLForm:oe,hasOwnProperty:u,hasOwnProp:u,hasOwnInPrototypeChain:c,getSafeProp:d,reduceDescriptors:se,freezeMethods:ue,toObjectSet:ce,toCamelCase:ie,noop:de,toFiniteNumber:fe,findKey:M,global:D,isContextDefined:G,isSpecCompliantForm:pe,toJSONObject:he,isAsyncFn:ge,isThenable:me,setImmediate:ve,asap:be,isIterable:ye,isSafeIterable:Ae};const Ce=we.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var xe=e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Ce[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};function _e(e){let t=0,n=e.length;while(t<n){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}while(n>t){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}n.dn(xe);const ke=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Se=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ie(e,t){return we.isArray(e)?e.map(e=>Ie(e,t)):_e(String(e).replace(t,""))}const Te=e=>Ie(e,ke),He=e=>Ie(e,Se);function Pe(e){const t=Object.create(null);return we.forEach(e.toJSON(),(e,n)=>{t[n]=He(e)}),t}const Be=Symbol("internals");function $e(e){return e&&String(e).trim().toLowerCase()}function je(e){return!1===e||null==e?e:we.isArray(e)?e.map(je):Te(String(e))}function Oe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}const Re=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function We(e,t,n,r,o){return we.isFunction(r)?r.call(this,t,n):(o&&(t=n),we.isString(t)?we.isString(r)?-1!==t.indexOf(r):we.isRegExp(r)?r.test(t):void 0:void 0)}function Ee(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function Le(e,t){const n=we.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}class Ze{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=$e(t);if(!o)return;const i=we.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=je(e))}const i=(e,t)=>we.forEach(e,(e,n)=>o(e,n,t));if(we.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(we.isString(e)&&(e=e.trim())&&!Re(e))i(xe(e),t);else if(we.isObject(e)&&we.isSafeIterable(e)){let n,r,o=Object.create(null);for(const t of e){if(!we.isArray(t))throw new TypeError("Object iterator must return a key-value pair");r=t[0],we.hasOwnProp(o,r)?(n=o[r],o[r]=we.isArray(n)?[...n,t[1]]:[n,t[1]]):o[r]=t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=$e(e),e){const n=we.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return Oe(e);if(we.isFunction(t))return t.call(this,e,n);if(we.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=$e(e),e){const n=we.findKey(this,e);return!(!n||void 0===this[n]||t&&!We(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=$e(e),e){const o=we.findKey(n,e);!o||t&&!We(n,n[o],o,t)||(delete n[o],r=!0)}}return we.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;while(n--){const o=t[n];e&&!We(this,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return we.forEach(this,(r,o)=>{const i=we.findKey(n,o);if(i)return t[i]=je(r),void delete t[o];const a=e?Ee(o):String(o).trim();a!==o&&delete t[o],t[a]=je(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return we.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&we.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=this[Be]=this[Be]={accessors:{}},n=t.accessors,r=this.prototype;function o(e){const t=$e(e);n[t]||(Le(r,e),n[t]=!0)}return we.isArray(e)?e.forEach(o):o(e),this}}Ze.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),we.reduceDescriptors(Ze.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),we.freezeMethods(Ze);var Xe=Ze;const Fe="[REDACTED ****]";function Ve(e){if(we.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);while(t&&t!==Object.prototype){if(we.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Ne(e,t){const n=new Set(t.map(e=>String(e).toLowerCase())),r=[],o=e=>{if(null===e||"object"!==typeof e)return e;if(we.isBuffer(e))return e;if(-1!==r.indexOf(e))return;let t;if(e instanceof Xe&&(e=e.toJSON()),r.push(e),we.isArray(e))t=[],e.forEach((e,n)=>{const r=o(e);we.isUndefined(r)||(t[n]=r)});else{if(!we.isPlainObject(e)&&Ve(e))return r.pop(),e;t=Object.create(null);for(const[r,i]of Object.entries(e)){const e=n.has(r.toLowerCase())?Fe:o(i);we.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return o(e)}class ze extends Error{static from(e,t,n,r,o,i){const a=new ze(e.message,t||e.code,n,r,o);return Object.defineProperty(a,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),i&&Object.assign(a,i),a}constructor(e,t,n,r,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&we.hasOwnProp(e,"redact")?e.redact:void 0,n=we.isArray(t)&&t.length>0?Ne(e,t):we.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}}ze.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ze.ERR_BAD_OPTION="ERR_BAD_OPTION",ze.ECONNABORTED="ECONNABORTED",ze.ETIMEDOUT="ETIMEDOUT",ze.ECONNREFUSED="ECONNREFUSED",ze.ERR_NETWORK="ERR_NETWORK",ze.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ze.ERR_DEPRECATED="ERR_DEPRECATED",ze.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ze.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ze.ERR_CANCELED="ERR_CANCELED",ze.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ze.ERR_INVALID_URL="ERR_INVALID_URL",ze.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Me=ze,De=null;const Ge=100;function Ue(e){return we.isPlainObject(e)||we.isArray(e)}function Ke(e){return we.endsWith(e,"[]")?e.slice(0,-2):e}function Je(e,t,n){return e?e.concat(t).map(function(e,t){return e=Ke(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}function Ye(e){return we.isArray(e)&&!e.some(Ue)}const Qe=we.toFlatObject(we,{},null,function(e){return/^is[A-Z]/.test(e)});function qe(e,t,n){if(!we.isObject(e))throw new TypeError("target must be an object");t=t||new(De||FormData),n=we.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!we.isUndefined(t[e])});const r=n.metaTokens,o=n.visitor||h,i=n.dots,a=n.indexes,l=n.Blob||"undefined"!==typeof Blob&&Blob,s=void 0===n.maxDepth?Ge:n.maxDepth,u=l&&we.isSpecCompliantForm(t),c=[];if(!we.isFunction(o))throw new TypeError("visitor must be a function");function d(e){if(null===e)return"";if(we.isDate(e))return e.toISOString();if(we.isBoolean(e))return e.toString();if(!u&&we.isBlob(e))throw new Me("Blob is not supported. Use a Buffer instead.");if(we.isArrayBuffer(e)||we.isTypedArray(e)){if(u&&"function"===typeof l)return new l([e]);if("undefined"!==typeof Buffer)return Buffer.from(e);throw new Me("Blob is not supported. Use a Buffer instead.",Me.ERR_NOT_SUPPORT)}return e}function f(e){if(e>s)throw new Me("Object is too deeply nested ("+e+" levels). Max depth: "+s,Me.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,t){if(s===1/0)return JSON.stringify(e);const n=[];return JSON.stringify(e,function(e,r){if(!we.isObject(r))return r;while(n.length&&n[n.length-1]!==this)n.pop();return n.push(r),f(t+n.length-1),r})}function h(e,n,o){let l=e;if(we.isReactNative(t)&&we.isReactNativeBlob(e))return t.append(Je(o,n,i),d(e)),!1;if(e&&!o&&"object"===typeof e)if(we.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=p(e,1);else if(we.isArray(e)&&Ye(e)||(we.isFileList(e)||we.endsWith(n,"[]"))&&(l=we.toArray(e)))return n=Ke(n),l.forEach(function(e,r){!we.isUndefined(e)&&null!==e&&t.append(!0===a?Je([n],r,i):null===a?n:n+"[]",d(e))}),!1;return!!Ue(e)||(t.append(Je(o,n,i),d(e)),!1)}const g=Object.assign(Qe,{defaultVisitor:h,convertValue:d,isVisitable:Ue});function m(e,n,r=0){if(!we.isUndefined(e)){if(f(r),-1!==c.indexOf(e))throw new Error("Circular reference detected in "+n.join("."));c.push(e),we.forEach(e,function(e,i){const a=!(we.isUndefined(e)||null===e)&&o.call(t,e,we.isString(i)?i.trim():i,n,g);!0===a&&m(e,n?n.concat(i):[i],r+1)}),c.pop()}}if(!we.isObject(e))throw new TypeError("data must be an object");return m(e),t}var et=qe;function tt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function nt(e,t){this._pairs=[],e&&et(e,this,t)}const rt=nt.prototype;rt.append=function(e,t){this._pairs.push([e,t])},rt.toString=function(e){const t=e?t=>e.call(this,t,tt):tt;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var ot=nt;function it(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function at(e,t,n){if(!t)return e;e=e||"";const r=we.isFunction(n)?{serialize:n}:n,o=we.getSafeProp(r,"encode")||it,i=we.getSafeProp(r,"serialize");let a;if(a=i?i(t,r):we.isURLSearchParams(t)?t.toString():new ot(t,r).toString(o),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}class lt{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){we.forEach(this.handlers,function(t){null!==t&&e(t)})}}var st=lt,ut={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},ct="undefined"!==typeof URLSearchParams?URLSearchParams:ot,dt="undefined"!==typeof FormData?FormData:null,ft="undefined"!==typeof Blob?Blob:null,pt={isBrowser:!0,classes:{URLSearchParams:ct,FormData:dt,Blob:ft},protocols:["http","https","file","blob","url","data"]};const ht="undefined"!==typeof window&&"undefined"!==typeof document,gt="object"===typeof navigator&&navigator||void 0,mt=ht&&(!gt||["ReactNative","NativeScript","NS"].indexOf(gt.product)<0),vt=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),bt=ht&&window.location.href||"http://localhost";var yt={...r,...pt};function At(e,t){return et(e,new yt.classes.URLSearchParams,{visitor:function(e,t,n,r){return yt.isNode&&we.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}const wt=Ge;function Ct(e){if(e>wt)throw new Me("FormData field is too deeply nested ("+e+" levels). Max depth: "+wt,Me.ERR_FORM_DATA_DEPTH_EXCEEDED)}function xt(e){const t=[],n=/\w+|\[(\w*)]/g;let r;while(null!==(r=n.exec(e)))Ct(t.length),t.push("[]"===r[0]?"":r[1]||r[0]);return t}function _t(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function kt(e){function t(e,n,r,o){Ct(o);let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),l=o>=e.length;if(i=!i&&we.isArray(r)?r.length:i,l)return we.hasOwnProp(r,i)?r[i]=we.isArray(r[i])?r[i].concat(n):[r[i],n]:r[i]=n,!a;we.hasOwnProp(r,i)&&we.isObject(r[i])||(r[i]=[]);const s=t(e,n,r[i],o);return s&&we.isArray(r[i])&&(r[i]=_t(r[i])),!a}if(we.isFormData(e)&&we.isFunction(e.entries)){const n={};return we.forEachEntry(e,(e,r)=>{t(xt(e),r,n,0)}),n}return null}var St=kt;const It=(e,t)=>null!=e&&we.hasOwnProp(e,t)?e[t]:void 0;function Tt(e,t,n){if(we.isString(e))try{return(t||JSON.parse)(e),we.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}const Ht={transitional:ut,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=we.isObject(e);o&&we.isHTMLForm(e)&&(e=new FormData(e));const i=we.isFormData(e);if(i)return r?JSON.stringify(St(e)):e;if(we.isArrayBuffer(e)||we.isBuffer(e)||we.isStream(e)||we.isFile(e)||we.isBlob(e)||we.isReadableStream(e))return e;if(we.isArrayBufferView(e))return e.buffer;if(we.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){const t=It(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return At(e,t).toString();if((a=we.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=It(this,"env"),r=n&&n.FormData;return et(a?{"files[]":e}:e,r&&new r,t)}}return o||r?(t.setContentType("application/json",!1),Tt(e)):e}],transformResponse:[function(e){const t=It(this,"transitional")||Ht.transitional,n=t&&t.forcedJSONParsing,r=It(this,"responseType"),o="json"===r;if(we.isResponse(e)||we.isReadableStream(e))return e;if(e&&we.isString(e)&&(n&&!r||o)){const n=t&&t.silentJSONParsing,r=!n&&o;try{return JSON.parse(e,It(this,"parseReviver"))}catch(i){if(r){if("SyntaxError"===i.name)throw Me.from(i,Me.ERR_BAD_RESPONSE,this,null,It(this,"response"));throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yt.classes.FormData,Blob:yt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};we.forEach(["delete","get","head","post","put","patch","query"],e=>{Ht.headers[e]={}});var Pt=Ht;function Bt(e,t){const n=this||Pt,r=t||n,o=Xe.from(r.headers);let i=r.data;return we.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function $t(e){return!(!e||!e.__CANCEL__)}class jt extends Me{constructor(e,t,n){super(null==e?"canceled":e,Me.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}}var Ot=jt;function Rt(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Me("Request failed with status code "+n.status,n.status>=400&&n.status<500?Me.ERR_BAD_REQUEST:Me.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}function Wt(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function Et(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),u=r[a];o||(o=s),n[i]=l,r[i]=s;let c=a,d=0;while(c!==i)d+=n[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),s-o<t)return;const f=u&&s-u;return f?Math.round(1e3*d/f):void 0}}var Lt=Et;function Zt(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)},l=(...e)=>{const t=Date.now(),l=t-o;l>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-l)))},s=()=>n&&a(n);return[l,s]}var Xt=Zt;const Ft=(e,t,n=3)=>{let r=0;const o=Lt(50,250);return Xt(n=>{if(!n||"number"!==typeof n.loaded)return;const i=n.loaded,a=n.lengthComputable?n.total:void 0,l=null!=a?Math.min(i,a):i,s=Math.max(0,l-r),u=o(s);r=Math.max(r,l);const c={loaded:l,total:a,progress:a?l/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a?(a-l)/u:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0};e(c)},n)},Vt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Nt=e=>(...t)=>we.asap(()=>e(...t));var zt=yt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,yt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(yt.origin),yt.navigator&&/(msie|trident)/i.test(yt.navigator.userAgent)):()=>!0,Mt=yt.hasStandardBrowserEnv?{write(e,t,n,r,o,i,a){if("undefined"===typeof document)return;const l=[`${e}=${encodeURIComponent(t)}`];we.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),we.isString(r)&&l.push(`path=${r}`),we.isString(o)&&l.push(`domain=${o}`),!0===i&&l.push("secure"),we.isString(a)&&l.push(`SameSite=${a}`),document.cookie=l.join("; ")},read(e){if("undefined"===typeof document)return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const o=t[r].replace(/^\s+/,""),i=o.indexOf("=");if(-1!==i&&o.slice(0,i)===e)try{return decodeURIComponent(o.slice(i+1))}catch(n){return o.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Dt(e){return"string"===typeof e&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Gt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const Ut=/^https?:(?!\/\/)/i,Kt=/[\t\n\r]/g;function Jt(e){let t=0;while(t<e.length&&e.charCodeAt(t)<=32)t++;return e.slice(t)}function Yt(e){return Jt(e).replace(Kt,"")}function Qt(e,t){if("string"===typeof e&&Ut.test(Yt(e)))throw new Me('Invalid URL: missing "//" after protocol',Me.ERR_INVALID_URL,t)}function qt(e,t,n,r){Qt(t,r);let o=!Dt(t);return e&&(o||!1===n)?(Qt(e,r),Gt(e,t)):t}const en=e=>e instanceof Xe?{...e}:e;function tn(e,t){e=e||{},t=t||{};const n=Object.create(null);function r(e,t,n,r){return we.isPlainObject(e)&&we.isPlainObject(t)?we.merge.call({caseless:r},e,t):we.isPlainObject(t)?we.merge({},t):we.isArray(t)?t.slice():t}function o(e,t,n,o){return we.isUndefined(t)?we.isUndefined(e)?void 0:r(void 0,e,n,o):r(e,t,n,o)}function i(e,t){if(!we.isUndefined(t))return r(void 0,t)}function a(e,t){return we.isUndefined(t)?we.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n){const r=we.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!we.isUndefined(r)){if(!we.isPlainObject(r))return;if(we.hasOwnProp(r,n))return r[n]}const o=we.hasOwnProp(e,"transitional")?e.transitional:void 0;if(we.isPlainObject(o)&&we.hasOwnProp(o,n))return o[n]}function s(n,o,i){return we.hasOwnProp(t,i)?r(n,o):we.hasOwnProp(e,i)?r(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(en(e),en(t),n,!0)};return we.forEach(Object.keys({...e,...t}),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const i=we.hasOwnProp(u,r)?u[r]:o,a=we.hasOwnProp(e,r)?e[r]:void 0,l=we.hasOwnProp(t,r)?t[r]:void 0,c=i(a,l,r);we.isUndefined(c)&&i!==s||(n[r]=c)}),we.hasOwnProp(t,"validateStatus")&&we.isUndefined(t.validateStatus)&&!1===l("validateStatusUndefinedResolves")&&(we.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const nn=["content-type","content-length"];function rn(e,t,n){"content-only"===n?Object.entries(t||{}).forEach(([t,n])=>{nn.includes(t.toLowerCase())&&e.set(t,n)}):e.set(t)}const on=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function an(e){const t=tn({},e),n=e=>we.hasOwnProp(t,e)?t[e]:void 0,r=n("data");let o=n("withXSRFToken");const i=n("xsrfHeaderName"),a=n("xsrfCookieName");let l=n("headers");const s=n("auth"),u=n("baseURL"),c=n("allowAbsoluteUrls"),d=n("url");if(t.headers=l=Xe.from(l),t.url=at(qt(u,d,c,t),n("params"),n("paramsSerializer")),s){const t=we.getSafeProp(s,"username")||"",n=we.getSafeProp(s,"password")||"";try{l.set("Authorization","Basic "+btoa(t+":"+(n?on(n):"")))}catch(f){throw Me.from(f,Me.ERR_BAD_OPTION_VALUE,e)}}if(we.isFormData(r)&&(yt.hasStandardBrowserEnv||yt.hasStandardBrowserWebWorkerEnv||we.isReactNative(r)?l.setContentType(void 0):we.isFunction(r.getHeaders)&&rn(l,r.getHeaders(),n("formDataHeaderPolicy"))),yt.hasStandardBrowserEnv){we.isFunction(o)&&(o=o(t));const e=!0===o||null==o&&zt(t.url);if(e){const e=i&&a&&Mt.read(a);e&&l.set(i,e)}}return t}var ln=an;const sn="undefined"!==typeof XMLHttpRequest;var un=sn&&function(e){return new Promise(function(t,n){const r=ln(e);let o=r.data;const i=Xe.from(r.headers).normalize();let a,l,s,u,c,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=r;function h(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=Xe.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),o=d&&"text"!==d&&"json"!==d?g.response:g.responseText,i={data:o,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};Rt(function(e){t(e),h()},function(e){n(e),h()},i),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&g.responseURL.startsWith("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new Me("Request aborted",Me.ECONNABORTED,e,g)),h(),g=null)},g.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new Me(r,Me.ERR_NETWORK,e,g);o.event=t||null,n(o),h(),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ut;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Me(t,o.clarifyTimeoutError?Me.ETIMEDOUT:Me.ECONNABORTED,e,g)),h(),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&we.forEach(Pe(i),function(e,t){g.setRequestHeader(t,e)}),we.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),p&&([s,c]=Ft(p,!0),g.addEventListener("progress",s)),f&&g.upload&&([l,u]=Ft(f),g.upload.addEventListener("progress",l),g.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{g&&(n(!t||t.type?new Ot(null,e,g):t),g.abort(),h(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=Wt(r.url);if(v&&!yt.protocols.includes(v))return n(new Me("Unsupported protocol "+v+":",Me.ERR_BAD_REQUEST,e)),void h();g.send(o||null)})};const cn=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(e){if(!r){r=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Me?t:new Ot(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Me(`timeout of ${t}ms exceeded`,Me.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o,{once:!0}));const{signal:l}=n;return l.unsubscribe=()=>we.asap(a),l};var dn=cn;const fn=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;while(o<n)r=o+t,yield e.slice(o,r),o=r},pn=async function*(e,t){for await(const n of hn(e))yield*fn(n,t)},hn=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},gn=(e,t,n,r)=>{const o=pn(e,t);let i,a=0,l=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return l(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw l(t),t}},cancel(e){return l(e),o.return()}},{highWaterMark:2})},mn=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,vn=(e,t,n)=>t+2<n&&mn(e.charCodeAt(t+1))&&mn(e.charCodeAt(t+2));function bn(e){if(!e||"string"!==typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1),o=/;base64/i.test(n);if(o){let e=r.length;const t=r.length;for(let s=0;s<t;s++)if(37===r.charCodeAt(s)&&s+2<t){const t=r.charCodeAt(s+1),n=r.charCodeAt(s+2),o=mn(t)&&mn(n);o&&(e-=2,s+=2)}let n=0,o=t-1;const i=e=>e>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));o>=0&&(61===r.charCodeAt(o)?(n++,o--):i(o)&&(n++,o-=3)),1===n&&o>=0&&(61===r.charCodeAt(o)||i(o))&&n++;const a=Math.floor(e/4),l=3*a-(n||0);return l>0?l:0}let i=0;for(let a=0,l=r.length;a<l;a++){const e=r.charCodeAt(a);if(37===e&&vn(r,a,l))i+=1,a+=2;else if(e<128)i+=1;else if(e<2048)i+=2;else if(e>=55296&&e<=56319&&a+1<l){const e=r.charCodeAt(a+1);e>=56320&&e<=57343?(i+=4,a++):i+=3}else i+=3}return i}const yn="1.18.1",An=65536,{isFunction:wn}=we,Cn=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),xn=e=>{if(!we.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},_n=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},kn=e=>{const t=e.indexOf("://");let n=e;return-1!==t&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},Sn=e=>{const t=void 0!==we.global&&null!==we.global?we.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=we.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:i,Response:a}=e,l=o?wn(o):"function"===typeof fetch,s=wn(i),u=wn(a);if(!l)return!1;const c=l&&wn(n),d=l&&("function"===typeof r?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new i(e).arrayBuffer())),f=s&&c&&_n(()=>{let e=!1;const t=new i(yt.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),p=u&&c&&_n(()=>we.isReadableStream(new a("").body)),h={stream:p&&(e=>e.body)};l&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!h[e]&&(h[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Me(`Response type '${e}' is not supported`,Me.ERR_NOT_SUPPORT,n)})})})();const g=async e=>{if(null==e)return 0;if(we.isBlob(e))return e.size;if(we.isSpecCompliantForm(e)){const t=new i(yt.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return we.isArrayBufferView(e)||we.isArrayBuffer(e)?e.byteLength:(we.isURLSearchParams(e)&&(e+=""),we.isString(e)?(await d(e)).byteLength:void 0)},m=async(e,t)=>{const n=we.toFiniteNumber(e.getContentLength());return null==n?g(t):n};return async e=>{let{url:t,method:n,data:l,signal:u,cancelToken:d,timeout:v,onDownloadProgress:b,onUploadProgress:y,responseType:A,headers:w,withCredentials:C="same-origin",fetchOptions:x,maxContentLength:_,maxBodyLength:k}=ln(e);const S=we.isNumber(_)&&_>-1,I=we.isNumber(k)&&k>-1,T=t=>we.hasOwnProp(e,t)?e[t]:void 0;let H=o||fetch;A=A?(A+"").toLowerCase():"text";let P=dn([u,d&&d.toAbortSignal()],v),B=null;const $=P&&P.unsubscribe&&(()=>{P.unsubscribe()});let j,O=null;const R=()=>new Me("Request body larger than maxBodyLength limit",Me.ERR_BAD_REQUEST,e,B);try{let o;const u=T("auth");if(u){const e=we.getSafeProp(u,"username")||"",t=we.getSafeProp(u,"password")||"";o={username:e,password:t}}if(kn(t)){const e=new URL(t,yt.origin);if(!o&&(e.username||e.password)){const t=xn(e.username),n=xn(e.password);o={username:t,password:n}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(o&&(w.delete("authorization"),w.set("Authorization","Basic "+btoa(Cn((o.username||"")+":"+(o.password||""))))),S&&"string"===typeof t&&t.startsWith("data:")){const n=bn(t);if(n>_)throw new Me("maxContentLength size of "+_+" exceeded",Me.ERR_BAD_RESPONSE,e,B)}if(I&&"get"!==n&&"head"!==n){const e=await g(l);if("number"===typeof e&&isFinite(e)&&(j=e,e>k))throw R()}const d=I&&(we.isReadableStream(l)||we.isStream(l)),v=(e,t,n)=>gn(e,An,e=>{if(I&&e>k)throw O=R();t&&t(e)},n);if(f&&"get"!==n&&"head"!==n&&(y||d)){if(j=null==j?await m(w,l):j,0!==j||d){let e,n=new i(t,{method:"POST",body:l,duplex:"half"});if(we.isFormData(l)&&(e=n.headers.get("content-type"))&&w.setContentType(e),n.body){const[e,t]=y&&Vt(j,Ft(Nt(y)))||[];l=v(n.body,e,t)}}}else if(d&&!s&&c&&"get"!==n&&"head"!==n)l=v(l);else if(d&&s&&!f&&"get"!==n&&"head"!==n)throw new Me("Stream request bodies are not supported by the current fetch implementation",Me.ERR_NOT_SUPPORT,e,B);we.isString(C)||(C=C?"include":"omit");const W=s&&"credentials"in i.prototype;if(we.isFormData(l)){const e=w.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&w.delete("content-type")}w.set("User-Agent","axios/"+yn,!1);const E={...x,signal:P,method:n.toUpperCase(),headers:Pe(w.normalize()),body:l,duplex:"half",credentials:W?C:void 0};B=s&&new i(t,E);let L=await(s?H(B,x):H(t,E));const Z=Xe.from(L.headers);if(S){const t=we.toFiniteNumber(Z.getContentLength());if(null!=t&&t>_)throw new Me("maxContentLength size of "+_+" exceeded",Me.ERR_BAD_RESPONSE,e,B)}const X=p&&("stream"===A||"response"===A);if(p&&L.body&&(b||S||X&&$)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=L[e]});const n=we.toFiniteNumber(Z.getContentLength()),[r,o]=b&&Vt(n,Ft(Nt(b),!0))||[];let i=0;const l=t=>{if(S&&(i=t,i>_))throw new Me("maxContentLength size of "+_+" exceeded",Me.ERR_BAD_RESPONSE,e,B);r&&r(t)};L=new a(gn(L.body,An,l,()=>{o&&o(),$&&$()}),t)}A=A||"text";let F=await h[we.findKey(h,A)||"text"](L,e);if(S&&!p&&!X){let t;if(null!=F&&("number"===typeof F.byteLength?t=F.byteLength:"number"===typeof F.size?t=F.size:"string"===typeof F&&(t="function"===typeof r?(new r).encode(F).byteLength:F.length)),"number"===typeof t&&t>_)throw new Me("maxContentLength size of "+_+" exceeded",Me.ERR_BAD_RESPONSE,e,B)}return!X&&$&&$(),await new Promise((t,n)=>{Rt(t,n,{data:F,headers:Xe.from(L.headers),status:L.status,statusText:L.statusText,config:e,request:B})})}catch(W){if($&&$(),P&&P.aborted&&P.reason instanceof Me){const t=P.reason;throw t.config=e,B&&(t.request=B),W!==t&&Object.defineProperty(t,"cause",{__proto__:null,value:W,writable:!0,enumerable:!1,configurable:!0}),t}if(O)throw B&&!O.request&&(O.request=B),O;if(W instanceof Me)throw B&&!W.request&&(W.request=B),W;if(W&&"TypeError"===W.name&&/Load failed|fetch/i.test(W.message)){const t=new Me("Network Error",Me.ERR_NETWORK,e,B,W&&W.response);throw Object.defineProperty(t,"cause",{__proto__:null,value:W.cause||W,writable:!0,enumerable:!1,configurable:!0}),t}throw Me.from(W,W&&W.code,e,B,W&&W.response)}}},In=new Map,Tn=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a,l,s=i.length,u=s,c=In;while(u--)a=i[u],l=c.get(a),void 0===l&&c.set(a,l=u?new Map:Sn(t)),c=l;return l};Tn();const Hn={http:De,xhr:un,fetch:{get:Tn}};we.forEach(Hn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(n){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Pn=e=>`- ${e}`,Bn=e=>we.isFunction(e)||null===e||!1===e;function $n(e,t){e=we.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=e[a],o=r,!Bn(r)&&(o=Hn[(n=String(r)).toLowerCase()],void 0===o))throw new Me(`Unknown adapter '${n}'`);if(o&&(we.isFunction(o)||(o=o.get(t))))break;i[n||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(Pn).join("\n"):" "+Pn(e[0]):"as no adapter specified";throw new Me("There is no suitable adapter to dispatch the request "+t,Me.ERR_NOT_SUPPORT)}return o}var jn={getAdapter:$n,adapters:Hn};function On(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ot(null,e)}function Rn(e){On(e),e.headers=Xe.from(e.headers),e.data=Bt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=jn.getAdapter(e.adapter||Pt.adapter,e);return t(e).then(function(t){On(e),e.response=t;try{t.data=Bt.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Xe.from(t.headers),t},function(t){if(!$t(t)&&(On(e),t&&t.response)){e.response=t.response;try{t.response.data=Bt.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Xe.from(t.response.headers)}return Promise.reject(t)})}const Wn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Wn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const En={};function Ln(e,t,n){if("object"!==typeof e||null===e)throw new Me("options must be an object",Me.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;while(o-- >0){const i=r[o],a=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Me("option "+i+" must be "+n,Me.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new Me("Unknown option "+i,Me.ERR_BAD_OPTION)}}Wn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+yn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Me(r(o," has been removed"+(t?" in "+t:"")),Me.ERR_DEPRECATED);return t&&!En[o]&&(En[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Wn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Zn={assertOptions:Ln,validators:Wn};const Xn=Zn.validators;class Fn{constructor(e){this.defaults=e||{},this.interceptors={request:new st,response:new st}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=(()=>{if(!e.stack)return"";const t=e.stack.indexOf("\n");return-1===t?"":e.stack.slice(t+1)})();try{if(n.stack){if(t){const e=t.indexOf("\n"),r=-1===e?-1:t.indexOf("\n",e+1),o=-1===r?"":t.slice(r+1);String(n.stack).endsWith(o)||(n.stack+="\n"+t)}}else n.stack=t}catch(r){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=tn(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Zn.assertOptions(n,{silentJSONParsing:Xn.transitional(Xn.boolean),forcedJSONParsing:Xn.transitional(Xn.boolean),clarifyTimeoutError:Xn.transitional(Xn.boolean),legacyInterceptorReqResOrdering:Xn.transitional(Xn.boolean),advertiseZstdAcceptEncoding:Xn.transitional(Xn.boolean),validateStatusUndefinedResolves:Xn.transitional(Xn.boolean)},!1),null!=r&&(we.isFunction(r)?t.paramsSerializer={serialize:r}:Zn.assertOptions(r,{encode:Xn.function,serialize:Xn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Zn.assertOptions(t,{baseUrl:Xn.spelling("baseURL"),withXsrfToken:Xn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&we.merge(o.common,o[t.method]);o&&we.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete o[e]}),t.headers=Xe.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(e){if("function"===typeof e.runWhen&&!1===e.runWhen(t))return;l=l&&e.synchronous;const n=t.transitional||ut,r=n&&n.legacyInterceptorReqResOrdering;r?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const s=[];let u;this.interceptors.response.forEach(function(e){s.push(e.fulfilled,e.rejected)});let c,d=0;if(!l){const e=[Rn.bind(this),void 0];e.unshift(...a),e.push(...s),c=e.length,u=Promise.resolve(t);while(d<c)u=u.then(e[d++],e[d++]);return u}c=a.length;let f=t;while(d<c){const e=a[d++],t=a[d++];try{f=e(f)}catch(p){t.call(this,p);break}}try{u=Rn.call(this,f)}catch(p){return Promise.reject(p)}d=0,c=s.length;while(d<c)u=u.then(s[d++],s[d++]);return u}getUri(e){e=tn(this.defaults,e);const t=qt(e.baseURL,e.url,e.allowAbsoluteUrls,e);return at(t,e.params,e.paramsSerializer)}}we.forEach(["delete","get","head","options"],function(e){Fn.prototype[e]=function(t,n){return this.request(tn(n||{},{method:e,url:t,data:n&&we.hasOwnProp(n,"data")?n.data:void 0}))}}),we.forEach(["post","put","patch","query"],function(e){function t(t){return function(n,r,o){return this.request(tn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Fn.prototype[e]=t(),"query"!==e&&(Fn.prototype[e+"Form"]=t(!0))});var Vn=Fn;class Nn{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new Ot(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new Nn(function(t){e=t});return{token:t,cancel:e}}}var zn=Nn;function Mn(e){return function(t){return e.apply(null,t)}}function Dn(e){return we.isObject(e)&&!0===e.isAxiosError}const Gn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Gn).forEach(([e,t])=>{Gn[t]=e});var Un=Gn;function Kn(e){const t=new Vn(e),n=o(Vn.prototype.request,t);return we.extend(n,Vn.prototype,t,{allOwnKeys:!0}),we.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Kn(tn(e,t))},n}const Jn=Kn(Pt);Jn.Axios=Vn,Jn.CanceledError=Ot,Jn.CancelToken=zn,Jn.isCancel=$t,Jn.VERSION=yn,Jn.toFormData=et,Jn.AxiosError=Me,Jn.Cancel=Jn.CanceledError,Jn.all=function(e){return Promise.all(e)},Jn.spread=Mn,Jn.isAxiosError=Dn,Jn.mergeConfig=tn,Jn.AxiosHeaders=Xe,Jn.formToJSON=e=>St(we.isHTMLForm(e)?new FormData(e):e),Jn.getAdapter=jn.getAdapter,Jn.HttpStatusCode=Un,Jn.default=Jn;var Yn=Jn},127:function(e,t,n){"use strict";function r(){this.__data__=[],this.size=0}n.d(t,{A:function(){return y}});var o=r,i=n(6984);function a(e,t){var n=e.length;while(n--)if((0,i.A)(e[n][0],t))return n;return-1}var l=a,s=Array.prototype,u=s.splice;function c(e){var t=this.__data__,n=l(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():u.call(t,n,1),--this.size,!0}var d=c;function f(e){var t=this.__data__,n=l(t,e);return n<0?void 0:t[n][1]}var p=f;function h(e){return l(this.__data__,e)>-1}var g=h;function m(e,t){var n=this.__data__,r=l(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var v=m;function b(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}b.prototype.clear=o,b.prototype["delete"]=d,b.prototype.get=p,b.prototype.has=g,b.prototype.set=v;var y=b},8335:function(e,t,n){"use strict";var r=n(8744),o=n(1917),i=(0,r.A)(o.A,"Map");t.A=i},9471:function(e,t,n){"use strict";n.d(t,{A:function(){return F}});var r=n(8744),o=(0,r.A)(Object,"create"),i=o;function a(){this.__data__=i?i(null):{},this.size=0}var l=a;function s(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var u=s,c="__lodash_hash_undefined__",d=Object.prototype,f=d.hasOwnProperty;function p(e){var t=this.__data__;if(i){var n=t[e];return n===c?void 0:n}return f.call(t,e)?t[e]:void 0}var h=p,g=Object.prototype,m=g.hasOwnProperty;function v(e){var t=this.__data__;return i?void 0!==t[e]:m.call(t,e)}var b=v,y="__lodash_hash_undefined__";function A(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?y:t,this}var w=A;function C(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}C.prototype.clear=l,C.prototype["delete"]=u,C.prototype.get=h,C.prototype.has=b,C.prototype.set=w;var x=C,_=n(127),k=n(8335);function S(){this.size=0,this.__data__={hash:new x,map:new(k.A||_.A),string:new x}}var I=S;function T(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}var H=T;function P(e,t){var n=e.__data__;return H(t)?n["string"==typeof t?"string":"hash"]:n.map}var B=P;function $(e){var t=B(this,e)["delete"](e);return this.size-=t?1:0,t}var j=$;function O(e){return B(this,e).get(e)}var R=O;function W(e){return B(this,e).has(e)}var E=W;function L(e,t){var n=B(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Z=L;function X(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}X.prototype.clear=I,X.prototype["delete"]=j,X.prototype.get=R,X.prototype.has=E,X.prototype.set=Z;var F=X},1754:function(e,t,n){"use strict";n.d(t,{A:function(){return b}});var r=n(127);function o(){this.__data__=new r.A,this.size=0}var i=o;function a(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}var l=a;function s(e){return this.__data__.get(e)}var u=s;function c(e){return this.__data__.has(e)}var d=c,f=n(8335),p=n(9471),h=200;function g(e,t){var n=this.__data__;if(n instanceof r.A){var o=n.__data__;if(!f.A||o.length<h-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new p.A(o)}return n.set(e,t),this.size=n.size,this}var m=g;function v(e){var t=this.__data__=new r.A(e);this.size=t.size}v.prototype.clear=i,v.prototype["delete"]=l,v.prototype.get=u,v.prototype.has=d,v.prototype.set=m;var b=v},241:function(e,t,n){"use strict";var r=n(1917),o=r.A.Symbol;t.A=o},3988:function(e,t,n){"use strict";var r=n(1917),o=r.A.Uint8Array;t.A=o},2641:function(e,t){"use strict";function n(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}t.A=n},2634:function(e,t){"use strict";function n(e,t){var n=-1,r=null==e?0:e.length,o=0,i=[];while(++n<r){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}t.A=n},3607:function(e,t,n){"use strict";function r(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}n.d(t,{A:function(){return p}});var o=r,i=n(2274),a=n(2049),l=n(9912),s=n(5353),u=n(3858),c=Object.prototype,d=c.hasOwnProperty;function f(e,t){var n=(0,a.A)(e),r=!n&&(0,i.A)(e),c=!n&&!r&&(0,l.A)(e),f=!n&&!r&&!c&&(0,u.A)(e),p=n||r||c||f,h=p?o(e.length,String):[],g=h.length;for(var m in e)!t&&!d.call(e,m)||p&&("length"==m||c&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.A)(m,g))||h.push(m);return h}var p=f},5572:function(e,t){"use strict";function n(e,t){var n=-1,r=null==e?0:e.length,o=Array(r);while(++n<r)o[n]=t(e[n],n,e);return o}t.A=n},6912:function(e,t){"use strict";function n(e,t){var n=-1,r=t.length,o=e.length;while(++n<r)e[o+n]=t[n];return e}t.A=n},5154:function(e,t){"use strict";function n(e,t,n,r){var o=-1,i=null==e?0:e.length;r&&i&&(n=e[++o]);while(++o<i)n=t(n,e[o],o,e);return n}t.A=n},2851:function(e,t,n){"use strict";var r=n(2528),o=n(6984),i=Object.prototype,a=i.hasOwnProperty;function l(e,t,n){var i=e[t];a.call(e,t)&&(0,o.A)(i,n)&&(void 0!==n||t in e)||(0,r.A)(e,t,n)}t.A=l},2528:function(e,t,n){"use strict";var r=n(4171);function o(e,t,n){"__proto__"==t&&r.A?(0,r.A)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}t.A=o},5268:function(e,t,n){"use strict";n.d(t,{A:function(){return yt}});var r=n(1754),o=n(2641),i=n(2851),a=n(2031),l=n(7422);function s(e,t){return e&&(0,a.A)(t,(0,l.A)(t),e)}var u=s,c=n(5615);function d(e,t){return e&&(0,a.A)(t,(0,c.A)(t),e)}var f=d,p=n(1917),h="object"==typeof exports&&exports&&!exports.nodeType&&exports,g=h&&"object"==typeof module&&module&&!module.nodeType&&module,m=g&&g.exports===h,v=m?p.A.Buffer:void 0,b=v?v.allocUnsafe:void 0;function y(e,t){if(t)return e.slice();var n=e.length,r=b?b(n):new e.constructor(n);return e.copy(r),r}var A=y,w=n(9759),C=n(4792);function x(e,t){return(0,a.A)(e,(0,C.A)(e),t)}var _=x,k=n(3511);function S(e,t){return(0,a.A)(e,(0,k.A)(e),t)}var I=S,T=n(9042),H=n(3973),P=n(4906),B=Object.prototype,$=B.hasOwnProperty;function j(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&$.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var O=j,R=n(3988);function W(e){var t=new e.constructor(e.byteLength);return new R.A(t).set(new R.A(e)),t}var E=W;function L(e,t){var n=t?E(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Z=L,X=/\w*$/;function F(e){var t=new e.constructor(e.source,X.exec(e));return t.lastIndex=e.lastIndex,t}var V=F,N=n(241),z=N.A?N.A.prototype:void 0,M=z?z.valueOf:void 0;function D(e){return M?Object(M.call(e)):{}}var G=D;function U(e,t){var n=t?E(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var K=U,J="[object Boolean]",Y="[object Date]",Q="[object Map]",q="[object Number]",ee="[object RegExp]",te="[object Set]",ne="[object String]",re="[object Symbol]",oe="[object ArrayBuffer]",ie="[object DataView]",ae="[object Float32Array]",le="[object Float64Array]",se="[object Int8Array]",ue="[object Int16Array]",ce="[object Int32Array]",de="[object Uint8Array]",fe="[object Uint8ClampedArray]",pe="[object Uint16Array]",he="[object Uint32Array]";function ge(e,t,n){var r=e.constructor;switch(t){case oe:return E(e);case J:case Y:return new r(+e);case ie:return Z(e,n);case ae:case le:case se:case ue:case ce:case de:case fe:case pe:case he:return K(e,n);case Q:return new r;case q:case ne:return new r(e);case ee:return V(e);case te:return new r;case re:return G(e)}}var me=ge,ve=n(3149),be=Object.create,ye=function(){function e(){}return function(t){if(!(0,ve.A)(t))return{};if(be)return be(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Ae=ye,we=n(5647),Ce=n(7271);function xe(e){return"function"!=typeof e.constructor||(0,Ce.A)(e)?{}:Ae((0,we.A)(e))}var _e=xe,ke=n(2049),Se=n(9912),Ie=n(3098),Te="[object Map]";function He(e){return(0,Ie.A)(e)&&(0,P.A)(e)==Te}var Pe=He,Be=n(2789),$e=n(4841),je=$e.A&&$e.A.isMap,Oe=je?(0,Be.A)(je):Pe,Re=Oe,We="[object Set]";function Ee(e){return(0,Ie.A)(e)&&(0,P.A)(e)==We}var Le=Ee,Ze=$e.A&&$e.A.isSet,Xe=Ze?(0,Be.A)(Ze):Le,Fe=Xe,Ve=1,Ne=2,ze=4,Me="[object Arguments]",De="[object Array]",Ge="[object Boolean]",Ue="[object Date]",Ke="[object Error]",Je="[object Function]",Ye="[object GeneratorFunction]",Qe="[object Map]",qe="[object Number]",et="[object Object]",tt="[object RegExp]",nt="[object Set]",rt="[object String]",ot="[object Symbol]",it="[object WeakMap]",at="[object ArrayBuffer]",lt="[object DataView]",st="[object Float32Array]",ut="[object Float64Array]",ct="[object Int8Array]",dt="[object Int16Array]",ft="[object Int32Array]",pt="[object Uint8Array]",ht="[object Uint8ClampedArray]",gt="[object Uint16Array]",mt="[object Uint32Array]",vt={};function bt(e,t,n,a,s,d){var p,h=t&Ve,g=t&Ne,m=t&ze;if(n&&(p=s?n(e,a,s,d):n(e)),void 0!==p)return p;if(!(0,ve.A)(e))return e;var v=(0,ke.A)(e);if(v){if(p=O(e),!h)return(0,w.A)(e,p)}else{var b=(0,P.A)(e),y=b==Je||b==Ye;if((0,Se.A)(e))return A(e,h);if(b==et||b==Me||y&&!s){if(p=g||y?{}:_e(e),!h)return g?I(e,f(p,e)):_(e,u(p,e))}else{if(!vt[b])return s?e:{};p=me(e,b,h)}}d||(d=new r.A);var C=d.get(e);if(C)return C;d.set(e,p),Fe(e)?e.forEach(function(r){p.add(bt(r,t,n,r,e,d))}):Re(e)&&e.forEach(function(r,o){p.set(o,bt(r,t,n,o,e,d))});var x=m?g?H.A:T.A:g?c.A:l.A,k=v?void 0:x(e);return(0,o.A)(k||e,function(r,o){k&&(o=r,r=e[o]),(0,i.A)(p,o,bt(r,t,n,o,e,d))}),p}vt[Me]=vt[De]=vt[at]=vt[lt]=vt[Ge]=vt[Ue]=vt[st]=vt[ut]=vt[ct]=vt[dt]=vt[ft]=vt[Qe]=vt[qe]=vt[et]=vt[tt]=vt[nt]=vt[rt]=vt[ot]=vt[pt]=vt[ht]=vt[gt]=vt[mt]=!0,vt[Ke]=vt[Je]=vt[it]=!1;var yt=bt},6098:function(e,t,n){"use strict";function r(e){return function(t,n,r){var o=-1,i=Object(t),a=r(t),l=a.length;while(l--){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}n.d(t,{A:function(){return h}});var o=r,i=o(),a=i,l=n(7422);function s(e,t){return e&&a(e,t,l.A)}var u=s,c=n(8446);function d(e,t){return function(n,r){if(null==n)return n;if(!(0,c.A)(n))return e(n,r);var o=n.length,i=t?o:-1,a=Object(n);while(t?i--:++i<o)if(!1===r(a[i],i,a))break;return n}}var f=d,p=f(u),h=p},2559:function(e,t,n){"use strict";var r=n(1882);function o(e,t,n){var o=-1,i=e.length;while(++o<i){var a=e[o],l=t(a);if(null!=l&&(void 0===s?l===l&&!(0,r.A)(l):n(l,s)))var s=l,u=a}return u}t.A=o},5707:function(e,t){"use strict";function n(e,t,n,r){var o=e.length,i=n+(r?1:-1);while(r?i--:++i<o)if(t(e[i],i,e))return i;return-1}t.A=n},3588:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(6912),o=n(241),i=n(2274),a=n(2049),l=o.A?o.A.isConcatSpreadable:void 0;function s(e){return(0,a.A)(e)||(0,i.A)(e)||!!(l&&e&&e[l])}var u=s;function c(e,t,n,o,i){var a=-1,l=e.length;n||(n=u),i||(i=[]);while(++a<l){var s=e[a];t>0&&n(s)?t>1?c(s,t-1,n,o,i):(0,r.A)(i,s):o||(i[i.length]=s)}return i}var d=c},6318:function(e,t,n){"use strict";var r=n(3442),o=n(901);function i(e,t){t=(0,r.A)(t,e);var n=0,i=t.length;while(null!=e&&n<i)e=e[(0,o.A)(t[n++])];return n&&n==i?e:void 0}t.A=i},3831:function(e,t,n){"use strict";var r=n(6912),o=n(2049);function i(e,t,n){var i=t(e);return(0,o.A)(e)?i:(0,r.A)(i,n(e))}t.A=i},8496:function(e,t,n){"use strict";n.d(t,{A:function(){return b}});var r=n(241),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r.A?r.A.toStringTag:void 0;function s(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(s){}var o=a.call(e);return r&&(t?e[l]=n:delete e[l]),o}var u=s,c=Object.prototype,d=c.toString;function f(e){return d.call(e)}var p=f,h="[object Null]",g="[object Undefined]",m=r.A?r.A.toStringTag:void 0;function v(e){return null==e?void 0===e?g:h:m&&m in Object(e)?u(e):p(e)}var b=v},8951:function(e,t){"use strict";function n(e,t){return e>t}t.A=n},818:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(5707);function o(e){return e!==e}var i=o;function a(e,t,n){var r=n-1,o=e.length;while(++r<o)if(e[r]===t)return r;return-1}var l=a;function s(e,t,n){return t===t?l(e,t,n):(0,r.A)(e,i,n)}var u=s},8571:function(e,t,n){"use strict";n.d(t,{A:function(){return ce}});var r=n(1754),o=n(9471),i="__lodash_hash_undefined__";function a(e){return this.__data__.set(e,i),this}var l=a;function s(e){return this.__data__.has(e)}var u=s;function c(e){var t=-1,n=null==e?0:e.length;this.__data__=new o.A;while(++t<n)this.add(e[t])}c.prototype.add=c.prototype.push=l,c.prototype.has=u;var d=c;function f(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var p=f;function h(e,t){return e.has(t)}var g=h,m=1,v=2;function b(e,t,n,r,o,i){var a=n&m,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var f=-1,h=!0,b=n&v?new d:void 0;i.set(e,t),i.set(t,e);while(++f<l){var y=e[f],A=t[f];if(r)var w=a?r(A,y,f,t,e,i):r(y,A,f,e,t,i);if(void 0!==w){if(w)continue;h=!1;break}if(b){if(!p(t,function(e,t){if(!g(b,t)&&(y===e||o(y,e,n,r,i)))return b.push(t)})){h=!1;break}}else if(y!==A&&!o(y,A,n,r,i)){h=!1;break}}return i["delete"](e),i["delete"](t),h}var y=b,A=n(241),w=n(3988),C=n(6984);function x(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}var _=x;function k(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var S=k,I=1,T=2,H="[object Boolean]",P="[object Date]",B="[object Error]",$="[object Map]",j="[object Number]",O="[object RegExp]",R="[object Set]",W="[object String]",E="[object Symbol]",L="[object ArrayBuffer]",Z="[object DataView]",X=A.A?A.A.prototype:void 0,F=X?X.valueOf:void 0;function V(e,t,n,r,o,i,a){switch(n){case Z:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case L:return!(e.byteLength!=t.byteLength||!i(new w.A(e),new w.A(t)));case H:case P:case j:return(0,C.A)(+e,+t);case B:return e.name==t.name&&e.message==t.message;case O:case W:return e==t+"";case $:var l=_;case R:var s=r&I;if(l||(l=S),e.size!=t.size&&!s)return!1;var u=a.get(e);if(u)return u==t;r|=T,a.set(e,t);var c=y(l(e),l(t),r,o,i,a);return a["delete"](e),c;case E:if(F)return F.call(e)==F.call(t)}return!1}var N=V,z=n(9042),M=1,D=Object.prototype,G=D.hasOwnProperty;function U(e,t,n,r,o,i){var a=n&M,l=(0,z.A)(e),s=l.length,u=(0,z.A)(t),c=u.length;if(s!=c&&!a)return!1;var d=s;while(d--){var f=l[d];if(!(a?f in t:G.call(t,f)))return!1}var p=i.get(e),h=i.get(t);if(p&&h)return p==t&&h==e;var g=!0;i.set(e,t),i.set(t,e);var m=a;while(++d<s){f=l[d];var v=e[f],b=t[f];if(r)var y=a?r(b,v,f,t,e,i):r(v,b,f,e,t,i);if(!(void 0===y?v===b||o(v,b,n,r,i):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var A=e.constructor,w=t.constructor;A==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof A&&A instanceof A&&"function"==typeof w&&w instanceof w||(g=!1)}return i["delete"](e),i["delete"](t),g}var K=U,J=n(4906),Y=n(2049),Q=n(9912),q=n(3858),ee=1,te="[object Arguments]",ne="[object Array]",re="[object Object]",oe=Object.prototype,ie=oe.hasOwnProperty;function ae(e,t,n,o,i,a){var l=(0,Y.A)(e),s=(0,Y.A)(t),u=l?ne:(0,J.A)(e),c=s?ne:(0,J.A)(t);u=u==te?re:u,c=c==te?re:c;var d=u==re,f=c==re,p=u==c;if(p&&(0,Q.A)(e)){if(!(0,Q.A)(t))return!1;l=!0,d=!1}if(p&&!d)return a||(a=new r.A),l||(0,q.A)(e)?y(e,t,n,o,i,a):N(e,t,u,n,o,i,a);if(!(n&ee)){var h=d&&ie.call(e,"__wrapped__"),g=f&&ie.call(t,"__wrapped__");if(h||g){var m=h?e.value():e,v=g?t.value():t;return a||(a=new r.A),i(m,v,n,o,a)}}return!!p&&(a||(a=new r.A),K(e,t,n,o,i,a))}var le=ae,se=n(3098);function ue(e,t,n,r,o){return e===t||(null==e||null==t||!(0,se.A)(e)&&!(0,se.A)(t)?e!==e&&t!==t:le(e,t,n,r,ue,o))}var ce=ue},2816:function(e,t,n){"use strict";n.d(t,{A:function(){return M}});var r=n(1754),o=n(8571),i=1,a=2;function l(e,t,n,l){var s=n.length,u=s,c=!l;if(null==e)return!u;e=Object(e);while(s--){var d=n[s];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}while(++s<u){d=n[s];var f=d[0],p=e[f],h=d[1];if(c&&d[2]){if(void 0===p&&!(f in e))return!1}else{var g=new r.A;if(l)var m=l(p,h,f,e,t,g);if(!(void 0===m?(0,o.A)(h,p,i|a,l,g):m))return!1}}return!0}var s=l,u=n(3149);function c(e){return e===e&&!(0,u.A)(e)}var d=c,f=n(7422);function p(e){var t=(0,f.A)(e),n=t.length;while(n--){var r=t[n],o=e[r];t[n]=[r,o,d(o)]}return t}var h=p;function g(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}var m=g;function v(e){var t=h(e);return 1==t.length&&t[0][2]?m(t[0][0],t[0][1]):function(n){return n===e||s(n,e,t)}}var b=v,y=n(7500);function A(e,t){return null!=e&&t in Object(e)}var w=A,C=n(3442),x=n(2274),_=n(2049),k=n(5353),S=n(5254),I=n(901);function T(e,t,n){t=(0,C.A)(t,e);var r=-1,o=t.length,i=!1;while(++r<o){var a=(0,I.A)(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=null==e?0:e.length,!!o&&(0,S.A)(o)&&(0,k.A)(a,o)&&((0,_.A)(e)||(0,x.A)(e)))}var H=T;function P(e,t){return null!=e&&H(e,t,w)}var B=P,$=n(6586),j=1,O=2;function R(e,t){return(0,$.A)(e)&&d(t)?m((0,I.A)(e),t):function(n){var r=(0,y.A)(n,e);return void 0===r&&r===t?B(n,e):(0,o.A)(t,r,j|O)}}var W=R,E=n(9008),L=n(805),Z=n(6318);function X(e){return function(t){return(0,Z.A)(t,e)}}var F=X;function V(e){return(0,$.A)(e)?(0,L.A)((0,I.A)(e)):F(e)}var N=V;function z(e){return"function"==typeof e?e:null==e?E.A:"object"==typeof e?(0,_.A)(e)?W(e[0],e[1]):b(e):N(e)}var M=z},1852:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(7271),o=n(367),i=(0,o.A)(Object.keys,Object),a=i,l=Object.prototype,s=l.hasOwnProperty;function u(e){if(!(0,r.A)(e))return a(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var c=u},2568:function(e,t,n){"use strict";var r=n(6098),o=n(8446);function i(e,t){var n=-1,i=(0,o.A)(e)?Array(e.length):[];return(0,r.A)(e,function(e,r,o){i[++n]=t(e,r,o)}),i}t.A=i},805:function(e,t){"use strict";function n(e){return function(t){return null==t?void 0:t[e]}}t.A=n},4326:function(e,t,n){"use strict";var r=n(9008),o=n(6875),i=n(9727);function a(e,t){return(0,i.A)((0,o.A)(e,t,r.A),e+"")}t.A=a},7688:function(e,t){"use strict";function n(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;var i=Array(o);while(++r<o)i[r]=e[r+t];return i}t.A=n},52:function(e,t,n){"use strict";var r=n(241),o=n(5572),i=n(2049),a=n(1882),l=1/0,s=r.A?r.A.prototype:void 0,u=s?s.toString:void 0;function c(e){if("string"==typeof e)return e;if((0,i.A)(e))return(0,o.A)(e,c)+"";if((0,a.A)(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}t.A=c},9489:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=/\s/;function o(e){var t=e.length;while(t--&&r.test(e.charAt(t)));return t}var i=o,a=/^\s+/;function l(e){return e?e.slice(0,i(e)+1).replace(a,""):e}var s=l},2789:function(e,t){"use strict";function n(e){return function(t){return e(t)}}t.A=n},4783:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var r=n(3442),o=n(6666),i=n(6318),a=n(7688);function l(e,t){return t.length<2?e:(0,i.A)(e,(0,a.A)(t,0,-1))}var s=l,u=n(901),c=Object.prototype,d=c.hasOwnProperty;function f(e,t){t=(0,r.A)(t,e);var n=-1,i=t.length;if(!i)return!0;while(++n<i){var a=(0,u.A)(t[n]);if("__proto__"===a&&!d.call(e,"__proto__"))return!1;if(("constructor"===a||"prototype"===a)&&n<i-1)return!1}var l=s(e,t);return null==l||delete l[(0,u.A)((0,o.A)(t))]}var p=f},3442:function(e,t,n){"use strict";n.d(t,{A:function(){return b}});var r=n(2049),o=n(6586),i=n(9471),a="Expected a function";function l(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(a);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(l.Cache||i.A),n}l.Cache=i.A;var s=l,u=500;function c(e){var t=s(e,function(e){return n.size===u&&n.clear(),e}),n=t.cache;return t}var d=c,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,h=d(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(f,function(e,n,r,o){t.push(r?o.replace(p,"$1"):n||e)}),t}),g=h,m=n(8182);function v(e,t){return(0,r.A)(e)?e:(0,o.A)(e,t)?[e]:g((0,m.A)(e))}var b=v},98:function(e,t,n){"use strict";var r=n(7688);function o(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:(0,r.A)(e,t,n)}t.A=o},8562:function(e,t,n){"use strict";var r=n(1882);function o(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=(0,r.A)(e),l=void 0!==t,s=null===t,u=t===t,c=(0,r.A)(t);if(!s&&!c&&!a&&e>t||a&&l&&u&&!s&&!c||o&&l&&u||!n&&u||!i)return 1;if(!o&&!a&&!c&&e<t||c&&n&&i&&!o&&!a||s&&n&&i||!l&&i||!u)return-1}return 0}t.A=o},9759:function(e,t){"use strict";function n(e,t){var n=-1,r=e.length;t||(t=Array(r));while(++n<r)t[n]=e[n];return t}t.A=n},2031:function(e,t,n){"use strict";var r=n(2851),o=n(2528);function i(e,t,n,i){var a=!n;n||(n={});var l=-1,s=t.length;while(++l<s){var u=t[l],c=i?i(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?(0,o.A)(n,u,c):(0,r.A)(n,u,c)}return n}t.A=i},4171:function(e,t,n){"use strict";var r=n(8744),o=function(){try{var e=(0,r.A)(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();t.A=o},9036:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(3588);function o(e){var t=null==e?0:e.length;return t?(0,r.A)(e,1):[]}var i=o,a=n(6875),l=n(9727);function s(e){return(0,l.A)((0,a.A)(e,void 0,i),e+"")}var u=s},2136:function(e,t,n){"use strict";var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.A=r},9042:function(e,t,n){"use strict";var r=n(3831),o=n(4792),i=n(7422);function a(e){return(0,r.A)(e,i.A,o.A)}t.A=a},3973:function(e,t,n){"use strict";var r=n(3831),o=n(3511),i=n(5615);function a(e){return(0,r.A)(e,i.A,o.A)}t.A=a},8744:function(e,t,n){"use strict";n.d(t,{A:function(){return _}});var r=n(9610),o=n(1917),i=o.A["__core-js_shared__"],a=i,l=function(){var e=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function s(e){return!!l&&l in e}var u=s,c=n(3149),d=n(1121),f=/[\\^$.*+?()[\]{}|]/g,p=/^\[object .+?Constructor\]$/,h=Function.prototype,g=Object.prototype,m=h.toString,v=g.hasOwnProperty,b=RegExp("^"+m.call(v).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function y(e){if(!(0,c.A)(e)||u(e))return!1;var t=(0,r.A)(e)?b:p;return t.test((0,d.A)(e))}var A=y;function w(e,t){return null==e?void 0:e[t]}var C=w;function x(e,t){var n=C(e,t);return A(n)?n:void 0}var _=x},5647:function(e,t,n){"use strict";var r=n(367),o=(0,r.A)(Object.getPrototypeOf,Object);t.A=o},4792:function(e,t,n){"use strict";var r=n(2634),o=n(3153),i=Object.prototype,a=i.propertyIsEnumerable,l=Object.getOwnPropertySymbols,s=l?function(e){return null==e?[]:(e=Object(e),(0,r.A)(l(e),function(t){return a.call(e,t)}))}:o.A;t.A=s},3511:function(e,t,n){"use strict";var r=n(6912),o=n(5647),i=n(4792),a=n(3153),l=Object.getOwnPropertySymbols,s=l?function(e){var t=[];while(e)(0,r.A)(t,(0,i.A)(e)),e=(0,o.A)(e);return t}:a.A;t.A=s},4906:function(e,t,n){"use strict";n.d(t,{A:function(){return T}});var r=n(8744),o=n(1917),i=(0,r.A)(o.A,"DataView"),a=i,l=n(8335),s=(0,r.A)(o.A,"Promise"),u=s,c=(0,r.A)(o.A,"Set"),d=c,f=(0,r.A)(o.A,"WeakMap"),p=f,h=n(8496),g=n(1121),m="[object Map]",v="[object Object]",b="[object Promise]",y="[object Set]",A="[object WeakMap]",w="[object DataView]",C=(0,g.A)(a),x=(0,g.A)(l.A),_=(0,g.A)(u),k=(0,g.A)(d),S=(0,g.A)(p),I=h.A;(a&&I(new a(new ArrayBuffer(1)))!=w||l.A&&I(new l.A)!=m||u&&I(u.resolve())!=b||d&&I(new d)!=y||p&&I(new p)!=A)&&(I=function(e){var t=(0,h.A)(e),n=t==v?e.constructor:void 0,r=n?(0,g.A)(n):"";if(r)switch(r){case C:return w;case x:return m;case _:return b;case k:return y;case S:return A}return t});var T=I},898:function(e,t){"use strict";var n="\\ud800-\\udfff",r="\\u0300-\\u036f",o="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",a=r+o+i,l="\\ufe0e\\ufe0f",s="\\u200d",u=RegExp("["+s+n+a+l+"]");function c(e){return u.test(e)}t.A=c},5353:function(e,t){"use strict";var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function o(e,t){var o=typeof e;return t=null==t?n:t,!!t&&("number"==o||"symbol"!=o&&r.test(e))&&e>-1&&e%1==0&&e<t}t.A=o},6832:function(e,t,n){"use strict";var r=n(6984),o=n(8446),i=n(5353),a=n(3149);function l(e,t,n){if(!(0,a.A)(n))return!1;var l=typeof t;return!!("number"==l?(0,o.A)(n)&&(0,i.A)(t,n.length):"string"==l&&t in n)&&(0,r.A)(n[t],e)}t.A=l},6586:function(e,t,n){"use strict";var r=n(2049),o=n(1882),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function l(e,t){if((0,r.A)(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!(0,o.A)(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}t.A=l},7271:function(e,t){"use strict";var n=Object.prototype;function r(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||n;return e===r}t.A=r},4841:function(e,t,n){"use strict";var r=n(2136),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===o,l=a&&r.A.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||l&&l.binding&&l.binding("util")}catch(t){}}();t.A=s},367:function(e,t){"use strict";function n(e,t){return function(n){return e(t(n))}}t.A=n},6875:function(e,t,n){"use strict";function r(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}n.d(t,{A:function(){return l}});var o=r,i=Math.max;function a(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){var r=arguments,a=-1,l=i(r.length-t,0),s=Array(l);while(++a<l)s[a]=r[t+a];a=-1;var u=Array(t+1);while(++a<t)u[a]=r[a];return u[t]=n(s),o(e,this,u)}}var l=a},1917:function(e,t,n){"use strict";var r=n(2136),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.A||o||Function("return this")();t.A=i},9727:function(e,t,n){"use strict";function r(e){return function(){return e}}n.d(t,{A:function(){return g}});var o=r,i=n(4171),a=n(9008),l=i.A?function(e,t){return(0,i.A)(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a.A,s=l,u=800,c=16,d=Date.now;function f(e){var t=0,n=0;return function(){var r=d(),o=c-(r-n);if(n=r,o>0){if(++t>=u)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var p=f,h=p(s),g=h},4862:function(e,t,n){"use strict";function r(e){return e.split("")}n.d(t,{A:function(){return H}});var o=r,i=n(898),a="\\ud800-\\udfff",l="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",c=l+s+u,d="\\ufe0e\\ufe0f",f="["+a+"]",p="["+c+"]",h="\\ud83c[\\udffb-\\udfff]",g="(?:"+p+"|"+h+")",m="[^"+a+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",y="\\u200d",A=g+"?",w="["+d+"]?",C="(?:"+y+"(?:"+[m,v,b].join("|")+")"+w+A+")*",x=w+A+C,_="(?:"+[m+p+"?",p,v,b,f].join("|")+")",k=RegExp(h+"(?="+h+")|"+_+x,"g");function S(e){return e.match(k)||[]}var I=S;function T(e){return(0,i.A)(e)?I(e):o(e)}var H=T},901:function(e,t,n){"use strict";var r=n(1882),o=1/0;function i(e){if("string"==typeof e||(0,r.A)(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}t.A=i},1121:function(e,t){"use strict";var n=Function.prototype,r=n.toString;function o(e){if(null!=e){try{return r.call(e)}catch(t){}try{return e+""}catch(t){}}return""}t.A=o},903:function(e,t,n){"use strict";var r=n(5268),o=1,i=4;function a(e){return(0,r.A)(e,o|i)}t.A=a},8993:function(e,t,n){"use strict";var r=n(7688),o=n(8593);function i(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:(0,o.A)(t),t=i-t,(0,r.A)(e,0,t<0?0:t)):[]}t.A=i},6984:function(e,t){"use strict";function n(e,t){return e===t||e!==e&&t!==t}t.A=n},1662:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(2634),o=n(6098);function i(e,t){var n=[];return(0,o.A)(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}var a=i,l=n(2816),s=n(2049);function u(e,t){var n=(0,s.A)(e)?r.A:a;return n(e,(0,l.A)(t,3))}var c=u},6145:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(2816),o=n(8446),i=n(7422);function a(e){return function(t,n,a){var l=Object(t);if(!(0,o.A)(t)){var s=(0,r.A)(n,3);t=(0,i.A)(t),n=function(e){return s(l[e],e,l)}}var u=e(t,n,a);return u>-1?l[s?t[u]:u]:void 0}}var l=a,s=n(5707),u=n(8593),c=Math.max;function d(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=null==n?0:(0,u.A)(n);return i<0&&(i=c(o+i,0)),(0,s.A)(e,(0,r.A)(t,3),i)}var f=d,p=l(f),h=p},6036:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(2641),o=n(6098),i=n(9008);function a(e){return"function"==typeof e?e:i.A}var l=a,s=n(2049);function u(e,t){var n=(0,s.A)(e)?r.A:o.A;return n(e,l(t))}var c=u},7500:function(e,t,n){"use strict";var r=n(6318);function o(e,t,n){var o=null==e?void 0:(0,r.A)(e,t);return void 0===o?n:o}t.A=o},4739:function(e,t,n){"use strict";n.d(t,{A:function(){return m}});var r=n(2528);function o(e,t,n,r){var o=-1,i=null==e?0:e.length;while(++o<i){var a=e[o];t(r,a,n(a),e)}return r}var i=o,a=n(6098);function l(e,t,n,r){return(0,a.A)(e,function(e,o,i){t(r,e,n(e),i)}),r}var s=l,u=n(2816),c=n(2049);function d(e,t){return function(n,r){var o=(0,c.A)(n)?i:s,a=t?t():{};return o(n,e,(0,u.A)(r,2),a)}}var f=d,p=Object.prototype,h=p.hasOwnProperty,g=f(function(e,t,n){h.call(e,n)?e[n].push(t):(0,r.A)(e,n,[t])}),m=g},9008:function(e,t){"use strict";function n(e){return e}t.A=n},2274:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(8496),o=n(3098),i="[object Arguments]";function a(e){return(0,o.A)(e)&&(0,r.A)(e)==i}var l=a,s=Object.prototype,u=s.hasOwnProperty,c=s.propertyIsEnumerable,d=l(function(){return arguments}())?l:function(e){return(0,o.A)(e)&&u.call(e,"callee")&&!c.call(e,"callee")},f=d},2049:function(e,t){"use strict";var n=Array.isArray;t.A=n},8446:function(e,t,n){"use strict";var r=n(9610),o=n(5254);function i(e){return null!=e&&(0,o.A)(e.length)&&!(0,r.A)(e)}t.A=i},8916:function(e,t,n){"use strict";var r=n(8496),o=n(3098),i="[object Boolean]";function a(e){return!0===e||!1===e||(0,o.A)(e)&&(0,r.A)(e)==i}t.A=a},9912:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(1917);function o(){return!1}var i=o,a="object"==typeof exports&&exports&&!exports.nodeType&&exports,l=a&&"object"==typeof module&&module&&!module.nodeType&&module,s=l&&l.exports===a,u=s?r.A.Buffer:void 0,c=u?u.isBuffer:void 0,d=c||i,f=d},6996:function(e,t,n){"use strict";var r=n(8571);function o(e,t){return(0,r.A)(e,t)}t.A=o},9610:function(e,t,n){"use strict";var r=n(8496),o=n(3149),i="[object AsyncFunction]",a="[object Function]",l="[object GeneratorFunction]",s="[object Proxy]";function u(e){if(!(0,o.A)(e))return!1;var t=(0,r.A)(e);return t==a||t==l||t==i||t==s}t.A=u},3422:function(e,t,n){"use strict";var r=n(8593);function o(e){return"number"==typeof e&&e==(0,r.A)(e)}t.A=o},5254:function(e,t){"use strict";var n=9007199254740991;function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}t.A=r},1879:function(e,t,n){"use strict";var r=n(8496),o=n(3098),i="[object Number]";function a(e){return"number"==typeof e||(0,o.A)(e)&&(0,r.A)(e)==i}t.A=a},3149:function(e,t){"use strict";function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}t.A=n},3098:function(e,t){"use strict";function n(e){return null!=e&&"object"==typeof e}t.A=n},4963:function(e,t,n){"use strict";var r=n(8496),o=n(5647),i=n(3098),a="[object Object]",l=Function.prototype,s=Object.prototype,u=l.toString,c=s.hasOwnProperty,d=u.call(Object);function f(e){if(!(0,i.A)(e)||(0,r.A)(e)!=a)return!1;var t=(0,o.A)(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==d}t.A=f},1882:function(e,t,n){"use strict";var r=n(8496),o=n(3098),i="[object Symbol]";function a(e){return"symbol"==typeof e||(0,o.A)(e)&&(0,r.A)(e)==i}t.A=a},3858:function(e,t,n){"use strict";n.d(t,{A:function(){return E}});var r=n(8496),o=n(5254),i=n(3098),a="[object Arguments]",l="[object Array]",s="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",g="[object RegExp]",m="[object Set]",v="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",A="[object DataView]",w="[object Float32Array]",C="[object Float64Array]",x="[object Int8Array]",_="[object Int16Array]",k="[object Int32Array]",S="[object Uint8Array]",I="[object Uint8ClampedArray]",T="[object Uint16Array]",H="[object Uint32Array]",P={};function B(e){return(0,i.A)(e)&&(0,o.A)(e.length)&&!!P[(0,r.A)(e)]}P[w]=P[C]=P[x]=P[_]=P[k]=P[S]=P[I]=P[T]=P[H]=!0,P[a]=P[l]=P[y]=P[s]=P[A]=P[u]=P[c]=P[d]=P[f]=P[p]=P[h]=P[g]=P[m]=P[v]=P[b]=!1;var $=B,j=n(2789),O=n(4841),R=O.A&&O.A.isTypedArray,W=R?(0,j.A)(R):$,E=W},4554:function(e,t){"use strict";var n=Array.prototype,r=n.join;function o(e,t){return null==e?"":r.call(e,t)}t.A=o},7422:function(e,t,n){"use strict";var r=n(3607),o=n(1852),i=n(8446);function a(e){return(0,i.A)(e)?(0,r.A)(e):(0,o.A)(e)}t.A=a},5615:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(3607),o=n(3149),i=n(7271);function a(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}var l=a,s=Object.prototype,u=s.hasOwnProperty;function c(e){if(!(0,o.A)(e))return l(e);var t=(0,i.A)(e),n=[];for(var r in e)("constructor"!=r||!t&&u.call(e,r))&&n.push(r);return n}var d=c,f=n(8446);function p(e){return(0,f.A)(e)?(0,r.A)(e,!0):d(e)}var h=p},6666:function(e,t){"use strict";function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}t.A=n},4722:function(e,t,n){"use strict";var r=n(5572),o=n(2816),i=n(2568),a=n(2049);function l(e,t){var n=(0,a.A)(e)?r.A:i.A;return n(e,(0,o.A)(t,3))}t.A=l},719:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(2559);function o(e,t){return e<t}var i=o,a=n(9008);function l(e){return e&&e.length?(0,r.A)(e,a.A,i):void 0}var s=l},1363:function(e,t,n){"use strict";n.d(t,{A:function(){return v}});var r=n(4326),o=n(5572),i=n(818);function a(e,t,n,r){var o=n-1,i=e.length;while(++o<i)if(r(e[o],t))return o;return-1}var l=a,s=n(2789),u=n(9759),c=Array.prototype,d=c.splice;function f(e,t,n,r){var a=r?l:i.A,c=-1,f=t.length,p=e;e===t&&(t=(0,u.A)(t)),n&&(p=(0,o.A)(e,(0,s.A)(n)));while(++c<f){var h=0,g=t[c],m=n?n(g):g;while((h=a(p,m,h,r))>-1)p!==e&&d.call(p,h,1),d.call(e,h,1)}return e}var p=f;function h(e,t){return e&&e.length&&t&&t.length?p(e,t):e}var g=h,m=(0,r.A)(g),v=m},5422:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(5154),o=n(6098),i=n(2816);function a(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}var l=a,s=n(2049);function u(e,t,n){var a=(0,s.A)(e)?r.A:l,u=arguments.length<3;return a(e,(0,i.A)(t,4),n,u,o.A)}var c=u},1898:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(1917),o=n(8593),i=n(1694),a=n(8182),l=r.A.isFinite,s=Math.min;function u(e){var t=Math[e];return function(e,n){if(e=(0,i.A)(e),n=null==n?0:s((0,o.A)(n),292),n&&l(e)){var r=((0,a.A)(e)+"e").split("e"),u=t(r[0]+"e"+(+r[1]+n));return r=((0,a.A)(u)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var c=u,d=c("round"),f=d},8395:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(2851),o=n(3442),i=n(5353),a=n(3149),l=n(901);function s(e,t,n,s){if(!(0,a.A)(e))return e;t=(0,o.A)(t,e);var u=-1,c=t.length,d=c-1,f=e;while(null!=f&&++u<c){var p=(0,l.A)(t[u]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(u!=d){var g=f[p];h=s?s(g,p,f):void 0,void 0===h&&(h=(0,a.A)(g)?g:(0,i.A)(t[u+1])?[]:{})}(0,r.A)(f,p,h),f=f[p]}return e}var u=s;function c(e,t,n){return null==e?e:u(e,t,n)}var d=c},6902:function(e,t,n){"use strict";n.d(t,{A:function(){return N}});var r=n(1852),o=n(4906),i=n(8446),a=n(8496),l=n(2049),s=n(3098),u="[object String]";function c(e){return"string"==typeof e||!(0,l.A)(e)&&(0,s.A)(e)&&(0,a.A)(e)==u}var d=c,f=n(805),p=(0,f.A)("length"),h=p,g=n(898),m="\\ud800-\\udfff",v="\\u0300-\\u036f",b="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",A=v+b+y,w="\\ufe0e\\ufe0f",C="["+m+"]",x="["+A+"]",_="\\ud83c[\\udffb-\\udfff]",k="(?:"+x+"|"+_+")",S="[^"+m+"]",I="(?:\\ud83c[\\udde6-\\uddff]){2}",T="[\\ud800-\\udbff][\\udc00-\\udfff]",H="\\u200d",P=k+"?",B="["+w+"]?",$="(?:"+H+"(?:"+[S,I,T].join("|")+")"+B+P+")*",j=B+P+$,O="(?:"+[S+x+"?",x,I,T,C].join("|")+")",R=RegExp(_+"(?="+_+")|"+O+j,"g");function W(e){var t=R.lastIndex=0;while(R.test(e))++t;return t}var E=W;function L(e){return(0,g.A)(e)?E(e):h(e)}var Z=L,X="[object Map]",F="[object Set]";function V(e){if(null==e)return 0;if((0,i.A)(e))return d(e)?Z(e):e.length;var t=(0,o.A)(e);return t==X||t==F?e.size:(0,r.A)(e).length}var N=V},5111:function(e,t,n){"use strict";n.d(t,{A:function(){return w}});var r=n(3588),o=n(5572),i=n(6318),a=n(2816),l=n(2568);function s(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}var u=s,c=n(2789),d=n(8562);function f(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,l=n.length;while(++r<a){var s=(0,d.A)(o[r],i[r]);if(s){if(r>=l)return s;var u=n[r];return s*("desc"==u?-1:1)}}return e.index-t.index}var p=f,h=n(9008),g=n(2049);function m(e,t,n){t=t.length?(0,o.A)(t,function(e){return(0,g.A)(e)?function(t){return(0,i.A)(t,1===e.length?e[0]:e)}:e}):[h.A];var r=-1;t=(0,o.A)(t,(0,c.A)(a.A));var s=(0,l.A)(e,function(e,n,i){var a=(0,o.A)(t,function(t){return t(e)});return{criteria:a,index:++r,value:e}});return u(s,function(e,t){return p(e,t,n)})}var v=m,b=n(4326),y=n(6832),A=(0,b.A)(function(e,t){if(null==e)return[];var n=t.length;return n>1&&(0,y.A)(e,t[0],t[1])?t=[]:n>2&&(0,y.A)(t[0],t[1],t[2])&&(t=[t[0]]),v(e,(0,r.A)(t,1),[])}),w=A},8351:function(e,t,n){"use strict";n.d(t,{A:function(){return w}});var r=n(52),o=n(98),i=n(898),a=n(6832),l=n(8496),s=n(3098),u="[object RegExp]";function c(e){return(0,s.A)(e)&&(0,l.A)(e)==u}var d=c,f=n(2789),p=n(4841),h=p.A&&p.A.isRegExp,g=h?(0,f.A)(h):d,m=g,v=n(4862),b=n(8182),y=4294967295;function A(e,t,n){return n&&"number"!=typeof n&&(0,a.A)(e,t,n)&&(t=n=void 0),n=void 0===n?y:n>>>0,n?(e=(0,b.A)(e),e&&("string"==typeof t||null!=t&&!m(t))&&(t=(0,r.A)(t),!t&&(0,i.A)(e))?(0,o.A)((0,v.A)(e),0,n):e.split(t,n)):[]}var w=A},3153:function(e,t){"use strict";function n(){return[]}t.A=n},7206:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var r=n(2816);function o(e,t){var n,r=-1,o=e.length;while(++r<o){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}var i=o;function a(e,t){return e&&e.length?i(e,(0,r.A)(t,2)):0}var l=a},8776:function(e,t,n){"use strict";var r=n(1694),o=1/0,i=17976931348623157e292;function a(e){if(!e)return 0===e?e:0;if(e=(0,r.A)(e),e===o||e===-o){var t=e<0?-1:1;return t*i}return e===e?e:0}t.A=a},8593:function(e,t,n){"use strict";var r=n(8776);function o(e){var t=(0,r.A)(e),n=t%1;return t===t?n?t-n:t:0}t.A=o},1694:function(e,t,n){"use strict";var r=n(9489),o=n(3149),i=n(1882),a=NaN,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function d(e){if("number"==typeof e)return e;if((0,i.A)(e))return a;if((0,o.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,o.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.A)(e);var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):l.test(e)?a:+e}t.A=d},8182:function(e,t,n){"use strict";var r=n(52);function o(e){return null==e?"":(0,r.A)(e)}t.A=o},8621:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(52),o=n(9489),i=n(98),a=n(818);function l(e,t){var n=e.length;while(n--&&(0,a.A)(t,e[n],0)>-1);return n}var s=l;function u(e,t){var n=-1,r=e.length;while(++n<r&&(0,a.A)(t,e[n],0)>-1);return n}var c=u,d=n(4862),f=n(8182);function p(e,t,n){if(e=(0,f.A)(e),e&&(n||void 0===t))return(0,o.A)(e);if(!e||!(t=(0,r.A)(t)))return e;var a=(0,d.A)(e),l=(0,d.A)(t),u=c(a,l),p=s(a,l)+1;return(0,i.A)(a,u,p).join("")}var h=p},8207:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(5572);function o(e,t){return(0,r.A)(t,function(t){return e[t]})}var i=o,a=n(7422);function l(e){return null==e?[]:i(e,(0,a.A)(e))}var s=l},7738:function(e,t,n){"use strict";n.d(t,{A:function(){return L}});var r=n(1879),o=n(6036),i=n(7500),a=n(1662),l=n(5111),s=n(1388),u=n(7120),c=n(2942),d=n(5021),f=n(8135),p=n(7417),h=n(6702),g=n(6224),m=n(8332),v=n(4958);function b(e,t={}){if(!(0,m.A)(e))return;let n=(0,i.A)(t,"duration",500);n=(0,g.A)(n),n<0&&(n=1e3);let r=(0,i.A)(t,"delay",0);r=(0,g.A)(r),r<0&&(r=0);let o=(0,i.A)(t,"opacityIni",0);o=(0,g.A)(o),o=Math.min(Math.max(o,0),1),(0,v.A)(e.style.opacity)&&(o=(0,g.A)(e.style.opacity));let a=10,l=a/n,s=`tag-${(0,u.A)()}`;e.setAttribute("dom-fade-tag",s),setTimeout(()=>{let t=setInterval(()=>{try{let n=e.getAttribute("dom-fade-tag");n!==s&&clearInterval(t),e.style.opacity=o,o>=1&&(clearInterval(t),e.removeAttribute("dom-fade-tag")),o+=l,o>1&&(o=1)}catch(n){console.log(n),clearInterval(t)}},a)},r)}var y=b;function A(e,t={}){if(!(0,m.A)(e))return;let n=(0,i.A)(t,"duration",500);n=(0,g.A)(n),n<0&&(n=1e3);let r=(0,i.A)(t,"delay",0);r=(0,g.A)(r),r<0&&(r=0);let o=(0,i.A)(t,"opacityIni",1);o=(0,g.A)(o),o=Math.min(Math.max(o,0),1),(0,v.A)(e.style.opacity)&&(o=(0,g.A)(e.style.opacity));let a=10,l=a/n,s=`tag-${(0,u.A)()}`;e.setAttribute("dom-fade-tag",s),setTimeout(()=>{let t=setInterval(()=>{try{let n=e.getAttribute("dom-fade-tag");n!==s&&clearInterval(t),e.style.opacity=o,o<=0&&(clearInterval(t),e.removeAttribute("dom-fade-tag")),o-=l,o<0&&(o=0)}catch(n){console.log(n),clearInterval(t)}},a)},r)}var w=A;let C='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 426.667 426.667" style="width:24px; height:24px; enable-background:new 0 0 426.667 426.667" xml:space="preserve"><path style="fill:#6ac259" d="M213.333,0C95.518,0,0,95.514,0,213.333s95.518,213.333,213.333,213.333 c117.828,0,213.333-95.514,213.333-213.333S331.157,0,213.333,0z M174.199,322.918l-93.935-93.931l31.309-31.309l62.626,62.622 l140.894-140.898l31.309,31.309L174.199,322.918z"/></svg>',x='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 496.158 496.158" style="width:24px; height:24px; enable-background:new 0 0 496.158 496.158" xml:space="preserve"><path style="fill:#e04f5f" d="M496.158,248.085c0-137.021-111.07-248.082-248.076-248.082C111.07,0.003,0,111.063,0,248.085 c0,137.002,111.07,248.07,248.082,248.07C385.088,496.155,496.158,385.087,496.158,248.085z"/><path style="fill:#fff" d="M277.042,248.082l72.528-84.196c7.91-9.182,6.876-23.041-2.31-30.951 c-9.172-7.904-23.032-6.876-30.947,2.306l-68.236,79.212l-68.229-79.212c-7.91-9.188-21.771-10.216-30.954-2.306 c-9.186,7.91-10.214,21.77-2.304,30.951l72.522,84.196l-72.522,84.192c-7.91,9.182-6.882,23.041,2.304,30.951 c4.143,3.569,9.241,5.318,14.316,5.318c6.161,0,12.294-2.586,16.638-7.624l68.229-79.212l68.236,79.212 c4.338,5.041,10.47,7.624,16.637,7.624c5.069,0,10.168-1.749,14.311-5.318c9.186-7.91,10.22-21.77,2.31-30.951L277.042,248.082z"/></svg>',_='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 497.472 497.472" style="width:24px; height:24px; enable-background:new 0 0 497.472 497.472" xml:space="preserve"><g transform="matrix(1.25 0 0 -1.25 0 45)"><path style="fill:#ffcc4d" d="M24.374-357.857c-20.958,0-30.197,15.223-20.548,33.826L181.421,17.928 c9.648,18.603,25.463,18.603,35.123,0L394.14-324.031c9.671-18.603,0.421-33.826-20.548-33.826H24.374z"/><path style="fill:#231f20" d="M173.605-80.922c0,14.814,10.934,23.984,25.395,23.984c14.12,0,25.407-9.512,25.407-23.984 V-216.75c0-14.461-11.287-23.984-25.407-23.984c-14.461,0-25.395,9.182-25.395,23.984V-80.922z M171.489-289.056 c0,15.167,12.345,27.511,27.511,27.511c15.167,0,27.523-12.345,27.523-27.511c0-15.178-12.356-27.523-27.523-27.523 C183.834-316.579,171.489-304.234,171.489-289.056"/></g></svg>',k='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 496.16 496.16" style="width:24px; height:24px; enable-background:new 0 0 496.158 496.158;" xml:space="preserve"><path d="m496.16 248.08c0-137.02-111.07-248.08-248.08-248.08-137.01 0-248.08 111.06-248.08 248.08 0 137 111.07 248.07 248.08 248.07 137.01 0 248.08-111.07 248.08-248.07z" fill="#25B7D3"/><g fill="#fff"><path d="m315.25 359.56c-1.387-2.032-4.048-2.755-6.27-1.702-24.582 11.637-52.482 23.94-57.958 25.015-0.138-0.123-0.357-0.348-0.644-0.737-0.742-1.005-1.103-2.318-1.103-4.015 0-13.905 10.495-56.205 31.192-125.72 17.451-58.406 19.469-70.499 19.469-74.514 0-6.198-2.373-11.435-6.865-15.146-4.267-3.519-10.229-5.302-17.719-5.302-12.459 0-26.899 4.73-44.146 14.461-16.713 9.433-35.352 25.41-55.396 47.487-1.569 1.729-1.733 4.314-0.395 6.228 1.34 1.915 3.825 2.644 5.986 1.764 7.037-2.872 42.402-17.359 47.557-20.597 4.221-2.646 7.875-3.989 10.861-3.989 0.107 0 0.199 4e-3 0.276 0.01 0.036 0.198 0.07 0.5 0.07 0.933 0 3.047-0.627 6.654-1.856 10.703-30.136 97.641-44.785 157.5-44.785 182.99 0 8.998 2.501 16.242 7.432 21.528 5.025 5.393 11.803 8.127 20.146 8.127 8.891 0 19.712-3.714 33.08-11.354 12.936-7.392 32.68-23.653 60.363-49.717 1.793-1.687 2.092-4.426 0.705-6.458z"/><path d="m314.28 76.672c-4.925-5.041-11.227-7.597-18.729-7.597-9.34 0-17.475 3.691-24.176 10.971-6.594 7.16-9.938 15.946-9.938 26.113 0 8.033 2.463 14.69 7.32 19.785 4.922 5.172 11.139 7.794 18.476 7.794 8.958 0 17.049-3.898 24.047-11.586 6.876-7.553 10.363-16.433 10.363-26.393 1e-3 -7.654-2.476-14.075-7.363-19.087z"/></g></svg>',S='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 512.001 512.001" style="width:12px; height:12px; enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><g><g><path d="M284.286,256.002L506.143,34.144c7.811-7.811,7.811-20.475,0-28.285c-7.811-7.81-20.475-7.811-28.285,0L256,227.717L34.143,5.859c-7.811-7.811-20.475-7.811-28.285,0c-7.81,7.811-7.811,20.475,0,28.285l221.857,221.857L5.858,477.859c-7.811,7.811-7.811,20.475,0,28.285c3.905,3.905,9.024,5.857,14.143,5.857c5.119,0,10.237-1.952,14.143-5.857L256,284.287l221.857,221.857c3.905,3.905,9.024,5.857,14.143,5.857s10.237-1.952,14.143-5.857c7.811-7.811,7.811-20.475,0-28.285L284.286,256.002z"/></g></g></svg>',I={success:C,error:x,warning:_,infor:k,cancel:S},T={},H=null,P=(0,s.A)();function B(e){let t=(0,a.A)(T,{position:e});t=(0,l.A)(t,"timeStart");let n=16,r=16,i=r;(0,o.A)(t,e=>{T[e.id].ele||(T[e.id].ele=document.querySelector(`#${e.id}`)),T[e.id].loc.top=i,T[e.id].loc.height=T[e.id].ele.offsetHeight,i+=T[e.id].loc.height+r}),(0,o.A)(t,t=>{e.indexOf("bottom-")>=0?(T[t.id].ele.style.bottom=`${T[t.id].loc.top}px`,T[t.id].loc.bottom=T[t.id].loc.top):T[t.id].ele.style.top=`${T[t.id].loc.top}px`,e.indexOf("-left")>=0?(T[t.id].ele.style.left=`${n}px`,T[t.id].loc.left=n):(T[t.id].ele.style.right=`${n}px`,T[t.id].loc.right=n),T[t.id].ele.style.zIndex=2e5,T[t.id].ele.style.opacity=1,T[t.id].ele.style.transform="",T[t.id].ele.style.transform=null})}function $(){let e=["top-right","top-left","bottom-right","bottom-left"];(0,o.A)(e,e=>{B(e)})}function j(e){T[e].ele&&T[e].ele.parentNode.removeChild(T[e].ele),T[e]&&delete T[e],$()}function O({id:e,position:t,time:n,pm:r}){T[e]={id:e,position:t,ele:null,loc:{height:null,top:null,bottom:null,left:null,right:null},timeShow:n,timeStart:Date.now(),pm:r},$(),null===H&&(H=setInterval(()=>{(0,o.A)(T,e=>{let t=Date.now()-e.timeStart;t>e.timeShow&&(e.pm.resolve(),j(e.id))}),(0,f.A)(T)||(clearInterval(H),H=null)},50))}function R(e,t={}){if(!(0,d.A)(e))return;let n=(0,i.A)(t,"type","success");(0,h.A)(I,n)||(n="success");let o=(0,i.A)(t,"icon",null);(0,d.A)(o)||(o=I[n]);let a="top-right";"top-left"!==t.position&&"bottom-right"!==t.position&&"bottom-left"!==t.position||(a=t.position);let l=(0,i.A)(t,"time");(0,r.A)(l)||(l=4e3),l<0&&(l=4e3);let s=(0,i.A)(t,"paddingStyle",null);null===s&&(s={top:14,right:26,bottom:14,left:14});let f="";{let e=(0,i.A)(s,"top",0),t=(0,i.A)(s,"bottom",0),n=(0,i.A)(s,"left",0),r=(0,i.A)(s,"right",0);f=`padding:${e}px ${r}px ${t}px ${n}px;`}let g=(0,i.A)(t,"textColor","#000");g=(0,p.A)(g,";","");let m=(0,i.A)(t,"backgroundColor","#fff");m=(0,p.A)(m,";","");let v=(0,i.A)(t,"borderWidth",1),b=(0,i.A)(t,"borderColor","#ebeef5");b=(0,p.A)(b,";","");let y=(0,i.A)(t,"borderRadius",8),A=(0,i.A)(t,"shadowStyle","0 2px 12px 0 rgba(0,0,0,.1)");A=(0,p.A)(A,";","");let w=(0,i.A)(t,"closeIconShift",null);null===w&&(w={top:10,right:10});let C="";{let e=(0,i.A)(w,"top",""),t=(0,i.A)(w,"bottom",""),n=(0,i.A)(w,"left",""),o=(0,i.A)(w,"right","");(0,r.A)(e)&&(e=`top:${e}px;`),(0,r.A)(t)&&(t=`bottom:${t}px;`),(0,r.A)(n)&&(n=`left:${n}px;`),(0,r.A)(o)&&(o=`right:${o}px;`),C=`position:absolute; ${e} ${o} ${t} ${n}`}let x=`alt-${(0,u.A)()}`,_=`alt-${(0,u.A)()}`,k=`\n <div \n style="display:inline-block; color:${g}; background:${m}; border:${v}px solid ${b}; border-radius:${y}px; box-shadow:${A};"\n onmouseenter="ttWAlertFadeIn('${_}')"\n onmouseleave="ttWAlertFadeOut('${_}')"\n >\n <div style="position:relative; ${f}">\n\n <div style="display:flex; align-items:center;">\n <div style="margin-right:10px;">\n <div style="display:flex;">${o}</div>\n </div>\n <div>${e}</div>\n </div>\n\n <div style="${C}">\n <div \n id="${_}" \n style="display:flex; cursor:pointer; opacity:0;" \n onclick="ttWAlertCancel('${x}')"\n >\n ${S}\n </div>\n </div>\n\n </div>\n </div>\n `,T=document.createElement("div");T.id=x,T.style.position="fixed",T.style.transition="transform 0.3s, top 0.5s, bottom 0.5s",T.style.zIndex=-1,T.style.opacity=.001,a.indexOf("-left")>=0?T.style.transform="translateX(-100%)":T.style.transform="translateX(100%)",T.innerHTML=k;let H=document.querySelector("body");H.appendChild(T);let P=(0,c.A)();return O({id:x,position:a,time:l,pm:P}),P}P.ttWAlertCancel=function(e){j(e)},P.ttWAlertFadeIn=function(e){y(document.querySelector(`#${e}`))},P.ttWAlertFadeOut=function(e){w(document.querySelector(`#${e}`))};var W=R;let E=W;var L=E},3294:function(e,t,n){"use strict";n.d(t,{A:function(){return Xe}});var r=n(8182),o=n(98),i=n(898),a=n(4862);function l(e){return function(t){t=(0,r.A)(t);var n=(0,i.A)(t)?(0,a.A)(t):void 0,l=n?n[0]:t.charAt(0),s=n?(0,o.A)(n,1).join(""):t.slice(1);return l[e]()+s}}var s=l,u=s("toUpperCase"),c=u;function d(e){return c((0,r.A)(e).toLowerCase())}var f=d,p=n(5154);function h(e){return function(t){return null==e?void 0:e[t]}}var g=h,m={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},v=g(m),b=v,y=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,A="\\u0300-\\u036f",w="\\ufe20-\\ufe2f",C="\\u20d0-\\u20ff",x=A+w+C,_="["+x+"]",k=RegExp(_,"g");function S(e){return e=(0,r.A)(e),e&&e.replace(y,b).replace(k,"")}var I=S,T=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function H(e){return e.match(T)||[]}var P=H,B=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function $(e){return B.test(e)}var j=$,O="\\ud800-\\udfff",R="\\u0300-\\u036f",W="\\ufe20-\\ufe2f",E="\\u20d0-\\u20ff",L=R+W+E,Z="\\u2700-\\u27bf",X="a-z\\xdf-\\xf6\\xf8-\\xff",F="\\xac\\xb1\\xd7\\xf7",V="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",N="\\u2000-\\u206f",z=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",M="A-Z\\xc0-\\xd6\\xd8-\\xde",D="\\ufe0e\\ufe0f",G=F+V+N+z,U="['’]",K="["+G+"]",J="["+L+"]",Y="\\d+",Q="["+Z+"]",q="["+X+"]",ee="[^"+O+G+Y+Z+X+M+"]",te="\\ud83c[\\udffb-\\udfff]",ne="(?:"+J+"|"+te+")",re="[^"+O+"]",oe="(?:\\ud83c[\\udde6-\\uddff]){2}",ie="[\\ud800-\\udbff][\\udc00-\\udfff]",ae="["+M+"]",le="\\u200d",se="(?:"+q+"|"+ee+")",ue="(?:"+ae+"|"+ee+")",ce="(?:"+U+"(?:d|ll|m|re|s|t|ve))?",de="(?:"+U+"(?:D|LL|M|RE|S|T|VE))?",fe=ne+"?",pe="["+D+"]?",he="(?:"+le+"(?:"+[re,oe,ie].join("|")+")"+pe+fe+")*",ge="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",me="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ve=pe+fe+he,be="(?:"+[Q,oe,ie].join("|")+")"+ve,ye=RegExp([ae+"?"+q+"+"+ce+"(?="+[K,ae,"$"].join("|")+")",ue+"+"+de+"(?="+[K,ae+se,"$"].join("|")+")",ae+"?"+se+"+"+ce,ae+"+"+de,me,ge,Y,be].join("|"),"g");function Ae(e){return e.match(ye)||[]}var we=Ae;function Ce(e,t,n){return e=(0,r.A)(e),t=n?void 0:t,void 0===t?j(e)?we(e):P(e):e.match(t)||[]}var xe=Ce,_e="['’]",ke=RegExp(_e,"g");function Se(e){return function(t){return(0,p.A)(xe(I(t).replace(ke,"")),e,"")}}var Ie=Se,Te=Ie(function(e,t,n){return t=t.toLowerCase(),e+(n?f(t):t)}),He=Te,Pe=n(8351),Be=n(6902),$e=n(7500),je=n(5021);let Oe={default:{red:{base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"},pink:{base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"},purple:{base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"},deepPurple:{base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"},indigo:{base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"},blue:{base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"},lightBlue:{base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"},cyan:{base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"},teal:{base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"},green:{base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"},lightGreen:{base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"},lime:{base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"},yellow:{base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"},amber:{base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"},orange:{base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"},deepOrange:{base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"},brown:{base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},blueGrey:{base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},grey:{base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},shades:{black:"#000000",white:"#ffffff",transparent:"transparent"}}};function Re(e){let t=(0,Pe.A)(e," ");return 1===(0,Be.A)(t)&&(t[1]=null),t}function We(e){let t=e.trim();return t=He(t),t}function Ee(e){(0,je.A)(e)||(e="base");let t=e.trim();return t=t.replace("-","").trim(),t}function Le(e,t,n){let r=(0,$e.A)(Oe,`default.${e}.${t}`,null);return null===r&&(r=n),r}function Ze(e){if("white"===e)return"#fff";if("black"===e)return"#000";if("transparent"===e)return"rgba(0,0,0,0)";let t=Re(e),n=We(t[0]),r=Ee(t[1]),o=Le(n,r,e);return o}var Xe=Ze},355:function(e,t,n){"use strict";n.d(t,{A:function(){return N}});var r=n(7500),o=n(5021),i=n(8135),a=n(7120),l=n(6036),s=n(1363),u=n(903),c=n(1879),d=n(8332),f=n(1669),p=n(6246),h=n(6702);function g(e){let t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))};if(!(e instanceof HTMLElement||e instanceof SVGElement))return[];let n=t(e.parentNode,[]);return n}var m=g,v=n(6902);function b(e){let t=(0,r.A)(e,"clientX",null),n=(0,r.A)(e,"clientY",null),o=(0,r.A)(e,"pageX",null),i=(0,r.A)(e,"pageY",null);if(null!==t&&null!==n&&null!==o&&null!==i)return{clientX:t,clientY:n,pageX:o,pageY:i};let a=(0,r.A)(e,"changedTouches",[]);if(1!==(0,v.A)(a))return null;let l=a[0];return{clientX:(0,r.A)(l,"clientX",null),clientY:(0,r.A)(l,"clientY",null),pageX:(0,r.A)(l,"pageX",null),pageY:(0,r.A)(l,"pageY",null)}}var y=b;function A(e,t){let n=[];try{n=document.elementsFromPoint(e,t)}catch(r){console.log(r)}return n}var w=A;function C(e,t){if(!(0,d.A)(e))return null;if(!(0,o.A)(t))return null;try{return e.getAttribute(t)}catch(n){}return null}var x=C;function _(e){if(!(0,d.A)(e))return null;try{return e.getBoundingClientRect()}catch(t){}return null}var k=_;function S(e,t){if(!(0,i.A)(e))return null;if(!(0,c.A)(e.clientX)||!(0,c.A)(e.clientY))return null;if(!(0,d.A)(t))return null;let n=k(t);if(!n)return null;let r=e.clientX-n.left,o=e.clientY-n.top,a=t.offsetWidth,l=t.offsetHeight;return{x:r,y:o,w:a,h:l}}var I=S,T=n(7587);function H(e={}){let t="dragpreviewid",n=null,i=null,s=null,u=null,d=null,f=!1,p=(0,r.A)(e,"attIdentify",null);(0,o.A)(p)||(p="dragprevid");let h=(0,r.A)(e,"containerOpacity",null);(0,c.A)(h)||(h=.4);let g=(0,r.A)(e,"containerBackground",null);(0,o.A)(g)||(g="white");let m=(0,r.A)(e,"containerBorderWidth",null);(0,c.A)(m)||(m=1);let v=(0,r.A)(e,"containerBorderColor",null);(0,o.A)(v)||(v="#f26");let b=`c${(0,a.A)(8)}`;function A(e,t,r){let o=k(e);if(!o)return null;n=e;let i=e.cloneNode(!0);return i.tShiftX=t-o.left,i.tShiftY=r-o.top,i.tWidth=e.offsetWidth,i.tHeight=e.offsetHeight,i.tParent=e.parentNode,i.setAttribute(p,""),i}function w(e,r,o){function a(){let n=A(e,r,o);if(null===n)return;let a=document.createElement("div");a.style.position="absolute",a.style.zIndex=1,a.style.top=0,a.style.left=0,a.style.width="100%",a.style.height="100%",a.appendChild(n);let l=document.createElement("div");l.style.position="relative",l.appendChild(a);let c=document.createElement("div");c.setAttribute(t,b),c.style.position="fixed",c.style.zIndex=1e5,c.style.width=`${n.tWidth+2*m}px`,c.style.height=`${n.tHeight+2*m}px`,c.style.opacity=h,c.style.background=g,c.style.border=`${m}px solid ${v}`,c.style.pointerEvents="none",c.appendChild(l),document.querySelector("body").appendChild(c),i=n,s=a,u=l,d=c,C(r,o,"createPreview")}try{a()}catch(c){}let l=setInterval(()=>{let e=x(n,p),t=document.querySelector(`[${p}='${e}']`);t||(clearInterval(l),S())},500)}function C(e,t,n){i&&s&&u&&d&&!f&&(d.style.top=t-i.tShiftY+"px",d.style.left=e-i.tShiftX+"px")}function _(e){f=e}function S(){(0,T.A)(`[${t}='${b}']`),i=null,s=null,u=null,d=null}let I=function(e){C(e.clientX,e.clientY,"window mousemove")};window.addEventListener("mousemove",I);let H=function(e){let t=y(e);t&&C(t.clientX,t.clientY,"window touchmove")};function P(e){try{(0,l.A)(e,(e,t)=>{i.style[t]=e})}catch(t){}}function B(e){try{(0,l.A)(e,(e,t)=>{s.style[t]=e})}catch(t){}}function $(e){try{(0,l.A)(e,(e,t)=>{u.style[t]=e})}catch(t){}}function j(e){try{(0,l.A)(e,(e,t)=>{d.style[t]=e})}catch(t){}}function O(){window.removeEventListener("mousemove",I),window.removeEventListener("touchmove",H)}return window.addEventListener("touchmove",H),{createPreview:w,updateDragPreview:C,pauseDragPreview:_,removeDragPreview:S,setNodeStyle:P,setCoverStyle:B,setSellStyle:$,setContainerStyle:j,clear:O}}var P=H;let B={};function $(e,t,{attIdentify:n,previewOpacity:r,previewBackground:o,previewBorderWidth:i,previewBorderColor:a}){if(!(0,h.A)(B,e)){let t=(0,p.A)(),l={dragMove:n=>{t.emit(e+"-dragMove",n)},dragDrop:n=>{t.emit(e+"-dragDrop",n)}},s=W(l);s.bind();let u=P({attIdentify:n,containerOpacity:r,containerBackground:o,containerBorderWidth:i,containerBorderColor:a});B[e]={eleIds:[],evg:t,oevg:s,pv:u,isInit:!1,isActive:!0}}return B[e].eleIds.push(t),B[e].evg}function j(e,t,n){let r=null,o=m(e.target);return(0,l.A)(o,e=>{let o=x(e,t);if(o===n)return r=e,!1}),r}function O(e,t,n){let r=null,o=y(e);if(!o)return r;let i=w(o.clientX,o.clientY);return(0,l.A)(i,e=>{let o=x(e,t);if(o===n)return r=e,!1}),r}function R(e,t){let n=x(e,t);return n=(0,f.A)(n),n}function W(e){let t=[];function n(){let n;n="mousemove";let r=function(t){e.dragMove({e:t,name:"mousemove"})};window.addEventListener(n,r),t.push({ele:window,name:n,f:r}),n="mouseup";let o=function(t){e.dragDrop({e:t,name:"mouseup"})};window.addEventListener(n,o),t.push({ele:window,name:n,f:o}),n="touchmove";let i=function(t){e.dragMove({e:t,name:"touchmove"})};window.addEventListener(n,i),t.push({ele:window,name:n,f:i}),n="touchend";let a=function(t){e.dragDrop({e:t,name:"touchend"})};window.addEventListener(n,a),t.push({ele:window,name:n,f:a})}function r(){(0,l.A)(t,({ele:e,name:t,f:n})=>{e.removeEventListener(t,n)})}return{bind:n,unbind:r}}function E(e,t,n,r){let o=[];function i(){let n;n="mousedown";let r=function(n){t.dragStart({e:n,ele:e,name:"mousedown"})};e.addEventListener(n,r,!1),o.push({ele:e,name:n,f:r}),n="touchstart";let i=function(n){t.dragStart({e:n,ele:e,name:"touchstart"})};e.addEventListener(n,i,!1),o.push({ele:e,name:n,f:i}),n="touchmove";let a=function(e){t.dragMove({e:e,name:"touchmove"}),e.cancelable&&e.preventDefault()};e.addEventListener(n,a,!1),o.push({ele:e,name:n,f:a})}function a(){(0,l.A)(o,({ele:e,name:t,f:n})=>{e.removeEventListener(t,n)})}return{bind:i,unbind:a}}function L(e,t){let n=B[e],r=(0,u.A)(n.eleIds);(0,s.A)(r,t),n.eleIds=r,0===r.length&&(n.oevg.unbind(),n.pv.clear(),delete B[e])}function Z({gid:e,attGroup:t,attIndex:n,attIdentify:r,timeDragStartDelay:o,previewOpacity:i,previewDisabledOpacity:a}){let l=null,s=null,u=null,c=null;if(B[e].isInit)return B[e].evg;B[e].isInit=!0;let d=B[e].evg;d.on(e+"-dragStart",p),d.on(e+"-dragMove",h),d.on(e+"-dragDrop",g);let f=B[e].pv;function p({e:t,ele:i,from:u}){if(!B[e].isActive)return;let c=R(i,n);if(null===c)return;l=c,s=i;let p={event:t,startInd:l,startEle:s,tarInd:l,tarEid:x(s,r)};d.emit(e+"-change",{mode:"start",...p}),d.emit(e+"-start",p);let h=y(t);h&&setTimeout(()=>{null!==l&&(f.createPreview(s,h.clientX,h.clientY),f.setContainerStyle({opacity:a}))},o)}function h({e:o,name:p,from:h}){if(!B[e].isActive)return;let g=j(o,t,e);if(null===l)return;let m=y(o);if(!m)return;function v(t,n){u=t,c=n;let a={event:o,startInd:l,startEle:s,endInd:u,endEle:c,tarInd:u,tarEid:x(c,r)};d.emit(e+"-change",{mode:"enter",...a}),d.emit(e+"-enter",a),f.setContainerStyle({opacity:i})}function b(){let t={event:o,startInd:l,startEle:s,endInd:u,endEle:c,tarInd:u,tarEid:x(c,r)};d.emit(e+"-change",{mode:"leave",...t}),d.emit(e+"-leave",t),u=null,c=null,f.setContainerStyle({opacity:a})}function A(t,n,a){let p={event:o,startInd:l,startEle:s,endInd:u,endEle:c,tarInd:u,tarEid:x(c,r),...t,rx:n,ry:a};d.emit(e+"-change",{mode:"move",...p}),d.emit(e+"-move",p),f.setContainerStyle({opacity:i})}if(!g)return void(null!==u&&b());let w=R(g,n);if(null!==w)if(w!==l)if(w!==u)null!==u&&b(),v(w,g);else{let e=I(m,g),t=0;e.w>0&&(t=e.x/e.w);let n=0;e.h>0&&(n=e.y/e.h),t>=0&&t<=1&&n>=0&&n<=1&&A(e,t,n)}else null!==u&&b()}function g({e:o,name:i,from:a}){if(f.removeDragPreview(),!B[e].isActive)return;if(null===l)return;function p(t,n){u=t,c=n;let i={event:o,startInd:l,startEle:s,endInd:u,endEle:c,tarInd:u,tarEid:x(c,r)};d.emit(e+"-change",{mode:"drop",...i}),d.emit(e+"-drop",i)}let h=O(o,t,e);if(!h)return l=null,s=null,u=null,void(c=null);let g=R(h,n);null!==g&&(p(g,h),l=null,s=null,u=null,c=null)}}function X(e,t={}){if(!(0,d.A)(e))return void console.log("ele is not a HTMLElement",e);let n=(0,r.A)(t,"attIdentify",null);(0,o.A)(n)||(n="dragid");let i=(0,r.A)(t,"attIndex",null);(0,o.A)(i)||(i="dragindex");let l=(0,r.A)(t,"attGroup",null);(0,o.A)(l)||(l="draggroup");let s=(0,r.A)(t,"group",null);(0,o.A)(s)||(s="group");let u=(0,r.A)(t,"previewOpacity",null);(0,c.A)(u)||(u=.4);let f=(0,r.A)(t,"previewDisabledOpacity",null);(0,c.A)(f)||(f=.2);let h=(0,r.A)(t,"previewBackground",null);(0,o.A)(h)||(h="white");let g=(0,r.A)(t,"previewBorderWidth",null);(0,c.A)(g)||(g=1);let m=(0,r.A)(t,"previewBorderColor",null);(0,o.A)(m)||(m="#f26");let v=(0,r.A)(t,"timeDragStartDelay",null);(0,c.A)(v)||(v=120);let b=`c${(0,a.A)(8)}`,y=s;e.setAttribute(l,y),e.setAttribute(n,b);let A=$(y,b,{attIdentify:n,previewOpacity:u,previewBackground:h,previewBorderWidth:g,previewBorderColor:m}),w={dragStart:e=>{A.emit(y+"-dragStart",e)},dragMove:e=>{A.emit(y+"-dragMove",e)}},C=E(e,w,y,b);function x(){C.unbind(),L(y,b)}function _(e){B[y].isActive=e}C.bind(),Z({gid:y,attGroup:l,attIndex:i,attIdentify:n,timeDragStartDelay:v,previewOpacity:u,previewDisabledOpacity:f});let k=(0,p.A)();return A.on(s+"-change",e=>{e.tarEid===b&&k.emit("change",e)}),A.on(s+"-start",e=>{e.tarEid===b&&k.emit("start",e)}),A.on(s+"-move",e=>{e.tarEid===b&&k.emit("move",e)}),A.on(s+"-enter",e=>{e.tarEid===b&&k.emit("enter",e)}),A.on(s+"-leave",e=>{e.tarEid===b&&k.emit("leave",e)}),A.on(s+"-drop",e=>{e.tarEid===b&&k.emit("drop",e)}),k.setIsActive=_,k.unbind=x,k}var F=X;function V(){let e={};function t(e,t,n){let r=e.data&&e.data.on||e.componentOptions&&e.componentOptions.listeners;r&&r[t]&&r[t].fns(n)}function n(e,t,n){let r=`r${(0,a.A)()}`;e.setAttribute("ev-dragdrop",r),u(e,t,n)}function l(e,t,n){c(e),u(e,t,n)}function s(e){c(e),e.setAttribute("ev-dragdrop",null)}function u(n,a,l){let s=n.getAttribute("ev-dragdrop"),u=(0,r.A)(a,"value");if(u=(0,i.A)(u),!u)return;let c=(0,r.A)(a,"value.group");if(!(0,o.A)(c))throw new Error("invalid group: v-domdragdrop=\"{group:'need to input key for group'}\"");let d=(0,r.A)(a,"value.attIdentify"),f=(0,r.A)(a,"value.attGroup"),p=(0,r.A)(a,"value.attIndex"),h=(0,r.A)(a,"value.previewOpacity"),g=(0,r.A)(a,"value.previewDisabledOpacity"),m=(0,r.A)(a,"value.previewBackground"),v=(0,r.A)(a,"value.previewBorderWidth"),b=(0,r.A)(a,"value.previewBorderColor"),y=(0,r.A)(a,"value.timeDragStartDelay"),A=F(n,{group:c,attIdentify:d,attGroup:f,attIndex:p,previewOpacity:h,previewDisabledOpacity:g,previewBackground:m,previewBorderWidth:v,previewBorderColor:b,timeDragStartDelay:y});A.on("start",e=>{t(l,"domdragdrop",{evName:"start",...e})}),A.on("move",e=>{t(l,"domdragdrop",{evName:"move",...e})}),A.on("enter",e=>{t(l,"domdragdrop",{evName:"enter",...e})}),A.on("leave",e=>{t(l,"domdragdrop",{evName:"leave",...e})}),A.on("drop",e=>{t(l,"domdragdrop",{evName:"drop",...e})}),e[s]=A}function c(t){let n=t.getAttribute("ev-dragdrop");e[n]&&(e[n].unbind(),e[n]=null,delete e[n])}return{bind:n,update:l,unbind:s}}var N=V},7979:function(e,t,n){"use strict";var r=n(7120);function o(){let e={};function t(e,t,n){let r=e.data&&e.data.on||e.componentOptions&&e.componentOptions.listeners;r&&r[t]&&r[t].fns(n)}function n(n,o,i){let a=`r${(0,r.A)()}`;n.setAttribute("ev-mutation",a);let l=new MutationObserver(function(e){let r={ele:n,mutations:e};t(i,"dommutation",r)}),s={attributes:!0,childList:!0,subtree:!0};l.observe(n,s),e[a]=l}function o(t){let n=t.getAttribute("ev-mutation");t.setAttribute("ev-mutation",null),e[n]&&(e[n].disconnect(),delete e[n])}return{bind:n,unbind:o}}t.A=o},889:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(7120),o=n(7500),i=n(903),a=n(5940),l=n(6246),s=n(106);function u(e,t={}){let n=(0,o.A)(t,"timeInterval",null);(0,a.A)(n)||(n=20);let r=(0,o.A)(t,"tolerancePixel",null);(0,a.A)(r)||(r=1);let u,c=(0,l.A)(),d={offsetWidth:0,offsetHeight:0,clientWidth:0,clientHeight:0,windowWidth:0,windowHeight:0},f=(0,i.A)(d),p={width:"",height:""};if(!(0,s.A)(e))return console.log("invalid f",e),null;u=setInterval(()=>{let t=e();if(t){let e={offsetWidth:t.offsetWidth,offsetHeight:t.offsetHeight,clientWidth:t.clientWidth,clientHeight:t.clientHeight,windowWidth:window.innerWidth,windowHeight:window.innerHeight},n=f.offsetWidth-e.offsetWidth,o=f.offsetHeight-e.offsetHeight,i=Math.abs(n)>r,a=Math.abs(o)>r,l="";n>0?l="smaller":n<0&&(l="larger");let s="";if(o>0?s="smaller":o<0&&(s="larger"),p={width:l,height:s},i||a){let n={...f};setTimeout(()=>{e.offsetWidth>0&&e.offsetHeight>0&&(c.emit("resize",{sold:n,snew:e,smode:p,ele:t}),c.emit("resizeWithWindow",{sold:n,snew:e,smode:p,ele:t,from:"dom"}))},1)}d=f,f=e}},n);let h=e=>{c.emit("resizeWithWindow",{sold:d,snew:f,smode:p,from:"window"})};return window.addEventListener("resize",h),c.clear=()=>{clearInterval(u),window.removeEventListener("resize",h)},c}var c=u;function d(){let e={};function t(e,t,n){let r=e.data&&e.data.on||e.componentOptions&&e.componentOptions.listeners;r&&r[t]&&r[t].fns(n)}function n(n,o,i){let a=`r${(0,r.A)()}`;n.setAttribute("ev-resize",a);let l=c(()=>n);l.on("resizeWithWindow",e=>{t(i,"domresize",e)}),e[a]=l}function o(t){let n=t.getAttribute("ev-resize");t.setAttribute("ev-resize",null),e[n]&&(e[n].clear(),e[n]=null,delete e[n])}return{bind:n,unbind:o}}var f=d},6192:function(e,t,n){"use strict";var r=n(7500),o=n(5021),i=n(4958),a=n(8135),l=n(6224),s=n(7120),u=n(8559),c=n(3294);function d(e={}){let t={};function n(e,t,n){let r=`r${(0,s.A)()}`;e.setAttribute("ev-ripple",r),f(e,t)}function d(e){p(e),e.setAttribute("ev-ripple",null)}function f(e,n){let s=e.getAttribute("ev-ripple"),d=(0,r.A)(n,"value");if(d=(0,a.A)(d),!d)return;let f=(0,r.A)(n,"value.color");if(!(0,o.A)(f))return;f=(0,c.A)(f);let p=(0,r.A)(n,"value.timeDuration");function h(e){(0,u.A)(e.currentTarget,e,{color:f,timeDuration:p})}(0,i.A)(p)||(p=1e3),p=(0,l.A)(p),e.addEventListener("click",h,!1),t[s]=h}function p(e){let n=e.getAttribute("ev-ripple");if(t[n]){let r=t[n];e.removeEventListener("click",r,!1),delete t[n]}}return{bind:n,unbind:d}}t.A=d},3730:function(e,t){"use strict";let n={};function r(){function e(e,t){n[e]=t}function t(e){return n[e]}function r(e){delete n[e]}return{set:e,get:t,remove:r}}t.A=r},3665:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(7500),o=n(8842),i=n(8135),a=n(1879),l=n(9860);function s(e,t={}){let n,o=(0,r.A)(t,"def",""),i=(0,r.A)(t,"type","");"num"!==i&&"text"!==i&&(i="num"),"num"===i?n=a.A:"text"===i&&(n=l.A);let s=o,u=o,c=o,d=o;n((0,r.A)(e,"h"))&&(s=(0,r.A)(e,"h"),u=s),n((0,r.A)(e,"v"))&&(c=(0,r.A)(e,"v"),d=c),n((0,r.A)(e,"left"))&&(s=(0,r.A)(e,"left")),n((0,r.A)(e,"right"))&&(u=(0,r.A)(e,"right")),n((0,r.A)(e,"top"))&&(c=(0,r.A)(e,"top")),n((0,r.A)(e,"bottom"))&&(d=(0,r.A)(e,"bottom"));let f={left:s,right:u,top:c,bottom:d};return f}var u=s;function c(e,t={}){let n=(0,r.A)(t,"parse");(0,o.A)(n)||(n=!0);let a=(0,r.A)(t,"ext");(0,i.A)(a)||(a={});let l=(0,r.A)(t,"semicolon");(0,o.A)(l)||(l=!0);let s=(0,r.A)(t,"returnObj");(0,o.A)(s)||(s=!1);let c=0,d=0,f=0,p=0;if(n){let t=u(e);c=t.left,d=t.right,f=t.top,p=t.bottom}c+=(0,r.A)(a,"left",0),d+=(0,r.A)(a,"right",0),f+=(0,r.A)(a,"top",0),p+=(0,r.A)(a,"bottom",0);let h=null;return s?h={left:c,right:d,top:f,bottom:p}:(h=`${f}px ${d}px ${p}px ${c}px`,l&&(h=`${h};`)),h}var d=c},1041:function(e,t,n){"use strict";var r=n(6036),o=n(7422),i=n(7500),a=n(6902),l=n(6702),s=n(5021),u=n(8135),c=n(106),d=n(8842),f=n(662);function p(e,t={}){let n=(0,i.A)(t,"useCreateStorage");(0,d.A)(n)||(n=!1);let{keyTable:p,tableNameCht:h,tableNameEng:g,settings:m,parser:v,funNew:b,funTest:y,ext:A}=e;if(!(0,s.A)(p))throw new Error(`invalid keyTable[${p}]`);if((0,s.A)(h)||(h=p),(0,s.A)(g)||(g=p),!(0,u.A)(m))throw new Error("invalid settings");(0,u.A)(A)||(A=null),(0,u.A)(v)||(v=null),(0,c.A)(b)||(b=null);let w=null;(0,c.A)(y)&&(w=async e=>{if(!(0,u.A)(e))throw new Error("invalid wo");if(!(0,l.A)(e,p))throw console.log(e),new Error(`keyTable[${p}] is not in wo`);let t=[];try{t=y(),(0,f.A)(t)&&(t=await t)}catch(r){throw console.log(`keyTable[${p}] funTest catch`,r),new Error(r)}if(0!==(0,a.A)(t))return n&&await e[p].createStorage(),await e[p].save(t),t});let C={},x={};(0,r.A)((0,o.A)(m),e=>{let t=(0,i.A)(m,`${e}.name`,"");(0,s.A)(t)&&(C[e]=t);let n=(0,i.A)(m,`${e}.type`,"");(0,s.A)(n)&&(x[e]=n)});let _={...e,keyTable:p,tableNameCht:h,tableNameEng:g,settings:m,keys:(0,o.A)(m),kpType:x,kpHead:C,parser:v,funNew:b,funTest:y,funTestAndSave:w,ext:A};return _}t.A=p},413:function(e,t,n){"use strict";n.d(t,{A:function(){return et}});var r=n(7500),o=n(5021),i=n(106),a=n(8842),l=n(6670),s=n(5940),u=n(662),c=n(6515),d=n(6035),f=n(3041),p=n(6902),h=n(6246),g=n(2942),m=n(6702),v=n(1714),b=n(8135),y=n(1669),A=n(125),w=n(6262),C=n(5178),x=n(754);function _(e){if(!(0,o.A)(e))return"";let t=x.parse(e),n=t.toString(C);return n}var k=_;function S(e){let t=(0,g.A)(),n=new FileReader;return n.onload=function(){let e=n.result;t.resolve(e)},n.onerror=function(e){t.reject(e)},n.readAsArrayBuffer(e),t}function I(e){return e.arrayBuffer()}function T(e){if(!(0,c.A)())return Promise.reject("no window");try{return I(e)}catch(t){return S(e)}}var H=T;function P(e){let t=(0,g.A)();return H(e).then(e=>{let n=new Uint8Array(e);t.resolve(n)}).catch(e=>{t.reject(e)}),t}var B=P,$=n(6036),j=n(1969);function O(e){let t=Object.prototype.toString.call(e);return"[object ArrayBuffer]"===t}var R=O;function W(e){let t=Object.prototype.toString.call(e);return"[object Blob]"===t}var E=W;function L(e){let t=Object.prototype.toString.call(e);return"[object Uint8Array]"===t}var Z=L;function X(e){let t=Object.prototype.toString.call(e);return"[object Uint16Array]"===t}var F=X;function V(e){if(!(R(e)||E(e)||Z(e)||F(e)))return null;try{if(e.byteLength)return e.byteLength}catch(t){}try{if(e.length)return e.length}catch(t){}try{if(e.size)return e.size}catch(t){}return null}var N=V,z=n(8496),M=n(3098),D=n(4963),G="[object DOMException]",U="[object Error]";function K(e){if(!(0,M.A)(e))return!1;var t=(0,z.A)(e);return t==U||t==G||"string"==typeof e.message&&"string"==typeof e.name&&!(0,D.A)(e)}var J=K,Y=n(8170);function Q(e){if(!(0,v.A)(e))return{results:"",binarys:[]};if((0,Y.A)(e))return{results:"",binarys:[]};let t="",n=[];try{let r=-1;t=JSON.stringify(e,function(e,t){if(Z(t)){r+=1;let e=`[Uint8Array]::${r}`;return n.push(t),e}if(F(t)){r+=1;let e=`[Uint16Array]::${r}`;return n.push(t),e}if(R(t)){r+=1;let e=`[ArrayBuffer]::${r}`;return n.push(t),e}return J(t)&&(t=t.toString()),t})}catch(r){}return{results:t,binarys:n}}var q=Q;function ee(e){if(!(0,o.A)(e))return"";let t=C.parse(e),n=x.stringify(t);return n}var te=ee,ne=n(9860);function re(e){if(!(0,ne.A)(e))return new Uint8Array;let t=x.parse(e),n=t.words,r=t.sigBytes,o=new Uint8Array(r);for(let i=0;i<r;i++){let e=n[i>>>2]>>>24-i%4*8&255;o[i]=e}return o}var oe=re;function ie(e){if(!(0,o.A)(e))return new Uint8Array;let t;try{t=oe(te(e))}catch(n){return new Uint8Array}return t}var ae=ie,le=n(4958),se=n(2982),ue=n(6224);function ce(e,t,n,r,o,i){if(!(0,le.A)(e))return null;if(!Z(t))return null;if(!(0,se.A)(n))return null;if(!(0,a.A)(r))return null;if(!(0,se.A)(o))return null;if(!(0,se.A)(i))return null;let l,s,u;e=(0,ue.A)(e);let c=8*i-o-1,d=(1<<c)-1,f=d>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?i-1:0,g=r?-1:1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,l=d):(l=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-l))<1&&(l--,u*=2),e+=l+f>=1?p/u:p*Math.pow(2,1-f),e*u>=2&&(l++,u/=2),l+f>=d?(s=0,l=d):l+f>=1?(s=(e*u-1)*Math.pow(2,o),l+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,o),l=0));o>=8;t[n+h]=255&s,h+=g,s/=256,o-=8);for(l=l<<o|s,c+=o;c>0;t[n+h]=255&l,h+=g,l/=256,c-=8);return t[n+h-g]|=128*m,null}var de=ce;function fe(e,t,n=0,r=!0,o=52,i=8){return de(e,t,n,r,o,i)}var pe=fe;function he(e,t){let n=N(e),r=N(t),o=new Uint8Array(n+r);return o.set(new Uint8Array(e),0),o.set(new Uint8Array(t),n),o}function ge(e){let t=[],n=[];if(!(0,j.A)(e)&&!(0,b.A)(e))return null;let r=[],o=[];function i(e){r.push(N(e)),o.push(e)}try{let a=q(e),l=ae(a.results);i(l),(0,$.A)(a.binarys,e=>{i(e)});let s=r,u=ae(JSON.stringify(s)),c=8,d=new Uint8Array(c);pe(N(u),d),t.push(d),t.push(u),(0,$.A)(o,e=>{t.push(e)}),(0,$.A)(t,e=>{n=he(n,e)})}catch(a){return null}return n}var me=ge;function ve(e,t,n,r,o){if(!Z(e))return null;if(!(0,se.A)(t))return null;if(!(0,a.A)(n))return null;if(!(0,se.A)(r))return null;if(!(0,se.A)(o))return null;let i,l,s=8*o-r-1,u=(1<<s)-1,c=u>>1,d=-7,f=n?0:o-1,p=n?1:-1,h=e[t+f];for(f+=p,i=h&(1<<-d)-1,h>>=-d,d+=s;d>0;i=256*i+e[t+f],f+=p,d-=8);for(l=i&(1<<-d)-1,i>>=-d,d+=r;d>0;l=256*l+e[t+f],f+=p,d-=8);if(0===i)i=1-c;else{if(i===u)return l?NaN:1/0*(h?-1:1);l+=Math.pow(2,r),i-=c}return(h?-1:1)*l*Math.pow(2,i-r)}var be=ve;function ye(e,t=0,n=!0,r=52,o=8){return be(e,t,n,r,o)}var Ae=ye,we=n(6440);function Ce(e){if(!Z(e))return"";let t=we.create(e),n=t.toString(x);return n}var xe=Ce;function _e(e){if(!Z(e))return"";let t;try{t=k(xe(e))}catch(n){return""}return t}var ke=_e,Se=n(6956);function Ie(e){if(!(0,b.A)(e))return{};let{results:t,binarys:n}=e;if(!(0,o.A)(t))return{};if(!(0,Se.A)(n))return{};let r={};try{r=JSON.parse(t,function(e,t){if((0,o.A)(t)){if(t.indexOf("[Uint8Array]::")>=0){let e=(0,y.A)(t.replace("[Uint8Array]::",""));return n[e]}if(t.indexOf("[Uint16Array]::")>=0){let e=(0,y.A)(t.replace("[Uint16Array]::",""));return n[e]}if(t.indexOf("[ArrayBuffer]::")>=0){let e=(0,y.A)(t.replace("[ArrayBuffer]::",""));return n[e]}}return t})}catch(i){}return r}var Te=Ie;function He(e,t){let n=0,r=0,o=[];return(0,$.A)(t,t=>{r=n+t;let i=e.slice(n,r);n=r,o.push(i)}),o}function Pe(e){let t=null;if(!Z(e))return null;try{let n=8,r=e.slice(0,n),o=e.slice(n,N(e)),i=Ae(r),a=o.slice(0,i),l=o.slice(i,N(o)),s=ke(a),u=JSON.parse(s),c=He(l,u),d=c.shift(),f=ke(d),p=c;t=Te({results:f,binarys:p})}catch(n){}return t}var Be=Pe,$e=n(2561),je=n(3360);const Oe=new Uint8Array([0,97,115,109,1,0,0,0,1,48,8,96,3,127,127,127,1,127,96,3,127,127,127,0,96,2,127,127,0,96,1,127,1,127,96,3,127,127,126,1,126,96,3,126,127,127,1,126,96,2,127,126,0,96,1,127,1,126,3,11,10,0,0,2,1,3,4,5,6,1,7,5,3,1,0,1,7,85,9,3,109,101,109,2,0,5,120,120,104,51,50,0,0,6,105,110,105,116,51,50,0,2,8,117,112,100,97,116,101,51,50,0,3,8,100,105,103,101,115,116,51,50,0,4,5,120,120,104,54,52,0,5,6,105,110,105,116,54,52,0,7,8,117,112,100,97,116,101,54,52,0,8,8,100,105,103,101,115,116,54,52,0,9,10,251,22,10,242,1,1,4,127,32,0,32,1,106,33,3,32,1,65,16,79,4,127,32,3,65,16,107,33,6,32,2,65,168,136,141,161,2,106,33,3,32,2,65,137,235,208,208,7,107,33,4,32,2,65,207,140,162,142,6,106,33,5,3,64,32,3,32,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,3,32,4,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,4,32,2,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,2,32,5,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,5,32,6,32,0,65,4,106,34,0,79,13,0,11,32,2,65,12,119,32,5,65,18,119,106,32,4,65,7,119,106,32,3,65,1,119,106,5,32,2,65,177,207,217,178,1,106,11,32,1,106,32,0,32,1,65,15,113,16,1,11,146,1,0,32,1,32,2,106,33,2,3,64,32,1,65,4,106,32,2,75,69,4,64,32,0,32,1,40,2,0,65,189,220,202,149,124,108,106,65,17,119,65,175,214,211,190,2,108,33,0,32,1,65,4,106,33,1,12,1,11,11,3,64,32,1,32,2,79,69,4,64,32,0,32,1,45,0,0,65,177,207,217,178,1,108,106,65,11,119,65,177,243,221,241,121,108,33,0,32,1,65,1,106,33,1,12,1,11,11,32,0,32,0,65,15,118,115,65,247,148,175,175,120,108,34,0,65,13,118,32,0,115,65,189,220,202,149,124,108,34,0,65,16,118,32,0,115,11,63,0,32,0,65,8,106,32,1,65,168,136,141,161,2,106,54,2,0,32,0,65,12,106,32,1,65,137,235,208,208,7,107,54,2,0,32,0,65,16,106,32,1,54,2,0,32,0,65,20,106,32,1,65,207,140,162,142,6,106,54,2,0,11,195,4,1,6,127,32,1,32,2,106,33,6,32,0,65,24,106,33,4,32,0,65,40,106,40,2,0,33,3,32,0,32,0,40,2,0,32,2,106,54,2,0,32,0,65,4,106,34,5,32,5,40,2,0,32,2,65,16,79,32,0,40,2,0,65,16,79,114,114,54,2,0,32,2,32,3,106,65,16,73,4,64,32,3,32,4,106,32,1,32,2,252,10,0,0,32,0,65,40,106,32,2,32,3,106,54,2,0,15,11,32,3,4,64,32,3,32,4,106,32,1,65,16,32,3,107,34,2,252,10,0,0,32,0,65,8,106,34,3,32,3,40,2,0,32,4,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,12,106,34,3,32,3,40,2,0,32,4,65,4,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,16,106,34,3,32,3,40,2,0,32,4,65,8,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,20,106,34,3,32,3,40,2,0,32,4,65,12,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,40,106,65,0,54,2,0,32,1,32,2,106,33,1,11,32,1,32,6,65,16,107,77,4,64,32,6,65,16,107,33,8,32,0,65,8,106,40,2,0,33,2,32,0,65,12,106,40,2,0,33,3,32,0,65,16,106,40,2,0,33,5,32,0,65,20,106,40,2,0,33,7,3,64,32,2,32,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,2,32,3,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,3,32,5,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,5,32,7,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,7,32,8,32,1,65,4,106,34,1,79,13,0,11,32,0,65,8,106,32,2,54,2,0,32,0,65,12,106,32,3,54,2,0,32,0,65,16,106,32,5,54,2,0,32,0,65,20,106,32,7,54,2,0,11,32,1,32,6,73,4,64,32,4,32,1,32,6,32,1,107,34,1,252,10,0,0,32,0,65,40,106,32,1,54,2,0,11,11,97,1,1,127,32,0,65,16,106,40,2,0,33,1,32,0,65,4,106,40,2,0,4,127,32,1,65,12,119,32,0,65,20,106,40,2,0,65,18,119,106,32,0,65,12,106,40,2,0,65,7,119,106,32,0,65,8,106,40,2,0,65,1,119,106,5,32,1,65,177,207,217,178,1,106,11,32,0,40,2,0,106,32,0,65,24,106,32,0,65,40,106,40,2,0,16,1,11,255,3,2,3,126,1,127,32,0,32,1,106,33,6,32,1,65,32,79,4,126,32,6,65,32,107,33,6,32,2,66,214,235,130,238,234,253,137,245,224,0,124,33,3,32,2,66,177,169,172,193,173,184,212,166,61,125,33,4,32,2,66,249,234,208,208,231,201,161,228,225,0,124,33,5,3,64,32,3,32,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,3,32,4,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,4,32,2,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,2,32,5,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,5,32,6,32,0,65,8,106,34,0,79,13,0,11,32,2,66,12,137,32,5,66,18,137,124,32,4,66,7,137,124,32,3,66,1,137,124,32,3,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,4,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,2,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,5,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,5,32,2,66,197,207,217,178,241,229,186,234,39,124,11,32,1,173,124,32,0,32,1,65,31,113,16,6,11,134,2,0,32,1,32,2,106,33,2,3,64,32,2,32,1,65,8,106,79,4,64,32,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,32,0,133,66,27,137,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,33,0,32,1,65,8,106,33,1,12,1,11,11,32,1,65,4,106,32,2,77,4,64,32,0,32,1,53,2,0,66,135,149,175,175,152,182,222,155,158,127,126,133,66,23,137,66,207,214,211,190,210,199,171,217,66,126,66,249,243,221,241,153,246,153,171,22,124,33,0,32,1,65,4,106,33,1,11,3,64,32,1,32,2,73,4,64,32,0,32,1,49,0,0,66,197,207,217,178,241,229,186,234,39,126,133,66,11,137,66,135,149,175,175,152,182,222,155,158,127,126,33,0,32,1,65,1,106,33,1,12,1,11,11,32,0,32,0,66,33,136,133,66,207,214,211,190,210,199,171,217,66,126,34,0,32,0,66,29,136,133,66,249,243,221,241,153,246,153,171,22,126,34,0,32,0,66,32,136,133,11,77,0,32,0,65,8,106,32,1,66,214,235,130,238,234,253,137,245,224,0,124,55,3,0,32,0,65,16,106,32,1,66,177,169,172,193,173,184,212,166,61,125,55,3,0,32,0,65,24,106,32,1,55,3,0,32,0,65,32,106,32,1,66,249,234,208,208,231,201,161,228,225,0,124,55,3,0,11,244,4,2,3,127,4,126,32,1,32,2,106,33,5,32,0,65,40,106,33,4,32,0,65,200,0,106,40,2,0,33,3,32,0,32,0,41,3,0,32,2,173,124,55,3,0,32,2,32,3,106,65,32,73,4,64,32,3,32,4,106,32,1,32,2,252,10,0,0,32,0,65,200,0,106,32,2,32,3,106,54,2,0,15,11,32,3,4,64,32,3,32,4,106,32,1,65,32,32,3,107,34,2,252,10,0,0,32,0,65,8,106,34,3,32,3,41,3,0,32,4,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,16,106,34,3,32,3,41,3,0,32,4,65,8,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,24,106,34,3,32,3,41,3,0,32,4,65,16,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,32,106,34,3,32,3,41,3,0,32,4,65,24,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,200,0,106,65,0,54,2,0,32,1,32,2,106,33,1,11,32,1,65,32,106,32,5,77,4,64,32,5,65,32,107,33,2,32,0,65,8,106,41,3,0,33,6,32,0,65,16,106,41,3,0,33,7,32,0,65,24,106,41,3,0,33,8,32,0,65,32,106,41,3,0,33,9,3,64,32,6,32,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,6,32,7,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,7,32,8,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,8,32,9,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,9,32,2,32,1,65,8,106,34,1,79,13,0,11,32,0,65,8,106,32,6,55,3,0,32,0,65,16,106,32,7,55,3,0,32,0,65,24,106,32,8,55,3,0,32,0,65,32,106,32,9,55,3,0,11,32,1,32,5,73,4,64,32,4,32,1,32,5,32,1,107,34,1,252,10,0,0,32,0,65,200,0,106,32,1,54,2,0,11,11,188,2,1,5,126,32,0,65,24,106,41,3,0,33,1,32,0,41,3,0,34,2,66,32,90,4,126,32,0,65,8,106,41,3,0,34,3,66,1,137,32,0,65,16,106,41,3,0,34,4,66,7,137,124,32,1,66,12,137,32,0,65,32,106,41,3,0,34,5,66,18,137,124,124,32,3,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,4,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,1,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,5,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,5,32,1,66,197,207,217,178,241,229,186,234,39,124,11,32,2,124,32,0,65,40,106,32,2,66,31,131,167,16,6,11]);async function Re(){return function(e){const{exports:{mem:t,xxh32:n,xxh64:r,init32:o,update32:i,digest32:a,init64:l,update64:s,digest64:u}}=e;let c=new Uint8Array(t.buffer);function d(e,n){if(t.buffer.byteLength<e+n){const r=Math.ceil((e+n-t.buffer.byteLength)/65536);t.grow(r),c=new Uint8Array(t.buffer)}}function f(e,t,n,r,o,i){d(e);const a=new Uint8Array(e);return c.set(a),n(0,t),a.set(c.subarray(0,e)),{update(t){let n;return c.set(a),"string"==typeof t?(d(3*t.length,e),n=m.encodeInto(t,c.subarray(e)).written):(d(t.byteLength,e),c.set(t,e),n=t.byteLength),r(0,e,n),a.set(c.subarray(0,e)),this},digest:()=>(c.set(a),i(o(0)))}}function p(e){return e>>>0}const h=2n**64n-1n;function g(e){return e&h}const m=new TextEncoder,v=0,b=0n;function y(e,t=v){return d(3*e.length,0),p(n(0,m.encodeInto(e,c).written,t))}function A(e,t=b){return d(3*e.length,0),g(r(0,m.encodeInto(e,c).written,t))}return{h32:y,h32ToString:(e,t=v)=>y(e,t).toString(16).padStart(8,"0"),h32Raw:(e,t=v)=>(d(e.byteLength,0),c.set(e),p(n(0,e.byteLength,t))),create32:(e=v)=>f(48,e,o,i,a,p),h64:A,h64ToString:(e,t=b)=>A(e,t).toString(16).padStart(16,"0"),h64Raw:(e,t=b)=>(d(e.byteLength,0),c.set(e),g(r(0,e.byteLength,t))),create64:(e=b)=>f(88,e,l,s,u,g)}}((await WebAssembly.instantiate(Oe)).instance)}function We(e){let t=Object.prototype.toString.call(e);return"[object File]"===t}var Ee=We;async function Le(e,t={}){if(!E(e)&&!Ee(e))return console.log("inp",e),Promise.reject("inp is not a Blob or File");let n=(0,r.A)(t,"chunkSize");(0,le.A)(n)||(n=67108864),n=(0,ue.A)(n);let{create64:o}=await Re(),i=o(),a=0;while(a<e.size){let t=e.slice(a,a+n),r=await t.arrayBuffer();i.update(new Uint8Array(r)),a+=n}let l=i.digest().toString(16).padStart(16,"0");return l}var Ze=Le;function Xe(e){let t=(0,r.A)(e,"url");(0,o.A)(t)||(t="http://localhost:8080");let d=(0,r.A)(e,"apiName");(0,o.A)(d)||(d="api");let C="";C="/"===(0,w.A)(t,1)?t+d:t+"/"+d;let x=(0,r.A)(e,"getToken",null);(0,i.A)(x)||(x=()=>"");let _=(0,r.A)(e,"tokenType");(0,o.A)(_)||(_="Bearer");let S=(0,r.A)(e,"sizeSlice");(0,s.A)(S)||(S=1048576);let I=(0,r.A)(e,"timeout");(0,l.A)(I)||(I=3e5);let T=(0,r.A)(e,"retryMain");(0,l.A)(T)||(T=3);let H=(0,r.A)(e,"retryUpload");(0,l.A)(H)||(H=10);let P=(0,r.A)(e,"retryDownload");(0,l.A)(P)||(P=2);let $=(0,c.A)()?"browser":"nodejs",j=(0,h.A)(),O=(e,...t)=>{setTimeout(()=>{j.emit(e,...t)},1)},R=e=>{let t="";if("basic"===e)t=`${C}/main`;else if("upload-controller"===e)t=`${C}/ulctr`;else if("slice"===e)t=`${C}/slc`;else if("download-get-filename"===e)t=`${C}/dwgfn`;else if("download-get"===e)t=`${C}/dwgf`;else{if("download"!==e)throw new Error(`invalid type[${e}]`);t=`${C}/dw`}return t},W=async e=>{let t;return t="browser"===$?await B(e):new Uint8Array(e),t},E=e=>{let t;return t="browser"===$?new Blob([e.buffer]):Buffer.from(e),t},L=async(e,t,o={})=>{let a=(0,r.A)(o,"headers");(0,v.A)(a)||(a={});let c=(0,r.A)(o,"dataType","");"blob"!==c&&"fmd"!==c&&"json"!==c&&(c="blob");let d=(0,r.A)(o,"cbProgress");(0,i.A)(d)||(d=()=>{});let p=(0,r.A)(o,"retry");(0,l.A)(p)||(p=1);let h=R(e),y=(0,g.A)(),w=null,C={};if("blob"===c)C={"Content-Type":"application/octet-stream"},w=t;else if("fmd"===c){let e;if("browser"===$)e=new FormData;else{if(!(0,i.A)(o.FormData))throw O("error","invalid opt.FormData, need [npm i form-data] and [import FormData from 'form-data'] to set opt.FormData = FormData"),new Error("invalid opt.FormData");e=new o.FormData({maxDataSize:1099511627776})}e.append("bb",t),"nodejs"===$&&(C={"Content-Type":`multipart/form-data; boundary=${e.getBoundary()}`}),w=e}else"json"===c&&(C={"Content-Type":"application/json"},w=JSON.stringify(t));let S=null;S="nodejs"===$?"download"===e?"stream":"arraybuffer":"blob";let T=x();(0,u.A)(T)&&(T=await T);let H=e=>{let t="unknow";try{let n=/filename="(.+?)"/,r=n.exec(e);t=r?r[1]:"unknown"}catch(n){}return t},P=async e=>{let t=(0,g.A)(),i=(0,r.A)(e,"headers['return-type']",""),a=(0,r.A)(e,"headers['return-msg']","");if("error"===i)return t.reject(a),t;let l=(0,r.A)(e,"headers['content-disposition']",""),s=H(l);s=k(s);let u=(0,r.A)(e,"data");if("browser"===$)t.resolve({filename:s,bb:u});else try{let e="path",i="fs",a=await n(643)(e),l=await n(80)(i),c=(0,r.A)(o,"fdDownload","");l.mkdirSync(c,{recursive:!0});let d=a.resolve(c,s),f=l.createWriteStream(d);u.pipe(f),f.on("finish",()=>{t.resolve(d)}),f.on("error",e=>{t.reject(e)})}catch(c){t.reject(c)}return t},B={method:"POST",url:h,data:w,headers:{Authorization:`${_} ${T}`,...C,...a},timeout:I,maxContentLength:1/0,maxBodyLength:1/0,responseType:S,onUploadProgress:function(e){let t=0,n=e.loaded,r=e.total;(0,s.A)(r)&&(t=100*n/r),d({prog:Math.floor(t),p:n,m:"upload"})},onDownloadProgress:function(e){let t=0,n=e.loaded,r=e.total;(0,s.A)(r)&&(t=100*n/r),d({prog:Math.floor(t),p:n,m:"download"})}},j=async()=>{let t=await(0,f.A)(B);if("download"===e)return await P(t);let n=(0,r.A)(t,"data"),o=await W(n),i=Be(o);return(0,b.A)(i)?(0,m.A)(i,"success")?Promise.resolve(i.success):(0,m.A)(i,"error")?(O("error",i.error),Promise.reject(i.error)):(O("error","data does not contain success or error"),Promise.reject("data does not contain success or error")):(O("error","data is not an effective object"),Promise.reject("data is not an effective object"))},E=async()=>{let e=(0,$e.A)(j),t=await e(B),n=10,r=1e3,o=Math.pow(18e4/r,1/(n-1)),i=0;while("error"===t.state){if(i+=1,i>p)break;let n=Math.round(r*Math.pow(o,i-1));console.log(`wait ${(0,A.A)(n/1e3,1)}(second) to retry...`),await(0,je.A)(n),console.log(`retry n=${i}...`),t=await e(B)}return"success"===t.state?t.msg:Promise.reject(t.msg)};return await E().then(e=>{y.resolve(e)}).catch(async e=>{let t=null,n=(0,r.A)(e,"response.statusText")||(0,r.A)(e,"message"),o=(0,r.A)(e,"response.data")||(0,r.A)(e,"stack");if(n)t=n;else if(o)t=o;else{try{e=e.toJSON()}catch(o){}O("error",e),t="Can not connect to server."}"Network Error"===t&&(t="Network Error. Make sure your space of hard drive is large enough or blocking by browser plugins."),y.reject(t)}),y},Z=async(e,t,n)=>{let r=null;try{let e=me(t);r=E(e)}catch(i){return Promise.reject(i)}let o=await L(e,r,{dataType:"blob",retry:T,cbProgress:n});return o},X=async e=>{let t=null;t="browser"===$?e:new Blob([e]);let n=await Ze(t);return n},F=async(e,t,n)=>{let r=0;if(0===r)try{r=t.size,r=(0,y.A)(r)}catch(b){}if(0===r)try{r=t.length,r=(0,y.A)(r)}catch(b){}0===r&&(r=1);let o=r,i=Math.ceil(o/S),a=0,l=.99,s=()=>{a++;let e=a/i,t=e*l*100,r=e*o;n({prog:t,p:r,m:"upload"})},u=e=>{let t=e.prog,r=e.m;"download"===r&&100===t&&n({prog:100,p:o,m:"upload"})},c=await X(t),d=await L("upload-controller",{mode:"check-total-hash",fileHash:c,filename:e,fileSize:o},{dataType:"json",retry:H});if(d.bAllHash){u({prog:100,m:"download"});let e=d.msg;return e}if(d.bSls){let e=[];for(let r=0;r<(0,p.A)(d.slks);r++){let n=d.slks[r],i=n*S,a=Math.min(i+S,o),l=t.slice(i,a),s=await X(l);e.push({i:n,h:s})}let n=await L("upload-controller",{mode:"check-slices-hash",fileHash:c,fileSliceHashs:e},{dataType:"json",retry:H});d.slks=n.slks}let f=c;for(let p=0;p<i;p++){if(d.slks.indexOf(p)>=0){s();continue}let e=p*S,n=Math.min(e+S,o),r=t.slice(e,n),a={"chunk-index":p,"chunk-total":i,"package-id":f};await L("slice",r,{headers:a,dataType:"blob",cbProgress:e=>{},retry:H}),s()}let h=await L("upload-controller",{mode:"merge-slices-push",fileHash:c,chunkTotal:i},{dataType:"json",retry:H}),m=()=>{let t=(0,g.A)(),n=h.queueId,r=setInterval(()=>{L("upload-controller",{mode:"merge-slices-get",fileHash:c,filename:e,queueId:n},{dataType:"json",retry:H}).then(e=>{"success"===e.state?(clearInterval(r),u({prog:100,m:"download"}),t.resolve(e.msg)):"error"===e.state&&(console.log("merge-slices-get error",e),clearInterval(r),t.resolve(e.msg))}).catch(e=>{console.log("merge-slices-get catch",e)})},2e3);return t},v=await m();return v},V=async(e,t,n)=>{let r={func:e,input:t},i="",a=null;return await Z("basic",r,n).then(e=>(0,o.A)(e)?(i="error",void(a=e)):(0,b.A)(e)?(0,m.A)(e,"output")?(i="success",void(a=e.output)):(console.log("invalid msg.output",e),i="error",void(a="invalid msg.output")):(console.log("msg is not an effective object",e),i="error",void(a="msg is not an effective object"))).catch(e=>{i="error",a=e}),""===i?(O("error","invalid state"),Promise.reject("invalid state")):"error"===i?Promise.reject(a):a},N=(e,t,n)=>{let r=t;return F(e,r,n)},z=async(e,t,n={})=>{let r={fileId:e},o=await L("download",r,{...n,dataType:"json",retry:P,cbProgress:t});return o},M=async(e,t,n={})=>{let o=(0,r.A)(n,"downloadByManager");if((0,a.A)(o)||(o=!0),o){let t=x();(0,u.A)(t)&&(t=await t);let n={fileId:e},o=await L("download-get-filename",n,{dataType:"json",retry:P}),i=(0,r.A)(o,"filename",""),a=R("download-get"),l=`${a}?fileId=${e}&token=${t}`,s=document.createElement("a");return s.href=l,s.download=i,s.click(),i}{let r={fileId:e},o=await L("download",r,{...n,dataType:"json",retry:P,cbProgress:t});return o}},D=async(e,t,n={})=>"browser"===$?M(e,t,n):z(e,t,n);return j.execute=V,j.upload=N,j.download=D,j}var Fe=Xe,Ve=n(8395),Ne=n(6666),ze=n(8993),Me=n(903);function De(e,t={}){let n={},o=!1;if((0,b.A)(e)||(console.log("instWConverClient is not an effective object, and set instWConverClient to an EventEmitter"),e=(0,h.A)()),!(0,m.A)(e,"emit"))throw new Error("instWConverClient is not an EventEmitter");let i=(0,r.A)(t,"autoPollingTableTagsForActive");(0,a.A)(i)||(i=!1);let l=(0,r.A)(t,"pollingDelayTime");(0,s.A)(l)||(l=2e3),l=(0,y.A)(l);let u=(t,...n)=>{setTimeout(()=>{e.emit(t,...n)},1)};function d(e={}){n=e}async function f(e={}){let t=[];u("beforeUpdateTableTags",{oldTableTags:(0,Me.A)(n),newTableTags:(0,Me.A)(e)});let r=!1;(0,$.A)(e,(e,t)=>{let o=n[t];o!==e&&(r=!0)}),u("refreshState",{needToRefresh:r,oldTableTags:(0,Me.A)(n),newTableTags:(0,Me.A)(e)}),(0,$.A)(e,(e,r)=>{let o=n[r];if(o!==e){let o=(0,g.A)(),i={tableName:r,timeTag:e,pm:o};t.push(o),u("refreshTable",i),o.then(t=>{n[r]=e,u("getData",{tableName:r,timeTag:e,data:t})}).catch(e=>{u("error",{msg:"can not get table data: "+r,err:e})})}}),await Promise.all(t),u("afterUpdateTableTags",{oldTableTags:(0,Me.A)(n),newTableTags:(0,Me.A)(e)})}async function p(){if(o)return;o=!0;let e=(0,g.A)();u("refreshTags",{pm:e});let t=await e.catch(e=>{u("error",{msg:"can not get tags data",err:e})});t&&await f(t),await(0,je.A)(l),o=!1}return i&&(0,c.A)()&&(window.addEventListener("mouseover",e=>{p()},!1),window.addEventListener("touchmove",e=>{p()},!1)),e.setTableTags=d,e.updateTableTags=f,e.pollingTableTags=p,e}var Ge=De,Ue=n(7120);function Ke(e,t={}){if((0,b.A)(e)||(console.log("instWConverClient is not an effective object, and set instWConverClient to an EventEmitter"),e=(0,h.A)()),!(0,m.A)(e,"emit"))throw new Error("instWConverClient is not an EventEmitter");let n=(0,r.A)(t,"timePolling");(0,l.A)(n)||(n=2e3),n=(0,y.A)(n);let i=(0,r.A)(e,"clientId");(0,o.A)(i)||(i=(0,Ue.A)());let a=(t,...n)=>{setTimeout(()=>{e.emit(t,...n)},1)},s=!1,u=!1,c=!1,d=setInterval(()=>{c||(c=!0,e.execute("[sys:polling]",{clientId:i},function({prog:e,p:t,m:n}){}).then(function(e){!1===s&&(s=!0,a("openOnce")),!1===u&&a("open"),u=!0,(0,j.A)(e)&&(0,$.A)(e,e=>{let t=(0,r.A)(e,"data",null);a("broadcast",t)})}).catch(function(e){u=!1,a("error",e)}).finally(()=>{c=!1}))},n),f=()=>{clearInterval(d)};return e.clearBroadcast=f,e}var Je=Ke;function Ye(e,t={}){let n={};if((0,b.A)(e)||(console.log("instWConverClient is not an effective object, and set instWConverClient to an EventEmitter"),e=(0,h.A)()),!(0,m.A)(e,"emit"))throw new Error("instWConverClient is not an EventEmitter");let a=(0,r.A)(t,"getToken",null);(0,i.A)(a)||(a=()=>"");let l=(0,r.A)(t,"getServerMethods",null);if(!(0,i.A)(l))return e.emit("error","invalid opt.getServerMethods"),e;let s=(0,r.A)(t,"recvData",null);if(!(0,i.A)(s))return e.emit("error","invalid opt.recvData"),e;let c=(0,r.A)(t,"getRefreshState",null),d=(0,r.A)(t,"getRefreshTable",null),f=(0,r.A)(t,"getBeforeUpdateTableTags",null),p=(0,r.A)(t,"getAfterUpdateTableTags",null);function v(t){async function n(){let n=(0,g.A)(),r=[...arguments],l=()=>{},s=(0,Ne.A)(r);(0,i.A)(s)&&(l=s,r=(0,ze.A)(r));let c=a();(0,u.A)(c)&&(c=await c),(0,o.A)(c)||(c="");let d={__sysInputArgs__:r,__sysToken__:c};return await e.execute(t,d,l).then(e=>{let t=e.msg;"success"===e.state?n.resolve(t):n.reject(t)}).catch(e=>{n.reject(e)}),n}return n}function y(e){n={},(0,$.A)(e,e=>{(0,Ve.A)(n,e,v(e))}),l(n)}function A(t){"syncKpTable"===(0,r.A)(t,"mode")&&e.updateTableTags((0,r.A)(t,"data"))}return e=new Ge(e),e=new Je(e),e.on("openOnce",function(){let t=async()=>{let e=await v("[sys:getFuncList]")();y(e);let t=await v("[sys:getTableTags]")();A(t)};t().catch(t=>{e.emit("error",t)})}),e.on("broadcast",function(e){A(e)}),e.on("refreshState",e=>{(0,i.A)(c)&&c(e)}),e.on("refreshTable",t=>{if(!(0,b.A)(n[t.tableName]))return void e.emit("error",`invalid kpExec[${t.tableName}]`);(0,i.A)(d)&&d(t);let o=(0,r.A)(n,t.tableName);if(!(0,b.A)(o))return void console.log(`kpExec[${t.tableName}] is not an effective object`);let a=(0,r.A)(o,"select");(0,i.A)(a)?a().then(e=>{t.pm.resolve(e)}).catch(e=>{console.log(`${t.tableName}.select: catch`,e),t.pm.resolve([])}):console.log(`kpExec[${t.tableName}].select is not a function`)}),e.on("getData",e=>{s(e)}),e.on("beforeUpdateTableTags",e=>{(0,i.A)(f)&&f(e)}),e.on("afterUpdateTableTags",e=>{(0,i.A)(p)&&p(e)}),e}var Qe=Ye;function qe(e={}){let t=null,n=(0,c.A)()?"browser":"nodejs";async function f(){let c=(0,r.A)(e,"FormData");"browser"===n&&(c=void 0);let f=(0,r.A)(e,"url");(0,o.A)(f)||(f="http://localhost:8080");let p=(0,r.A)(e,"apiName");(0,o.A)(p)||(p="api");let h=(0,r.A)(e,"useWaitToken",null);(0,a.A)(h)||(h=!1);let g=(0,r.A)(e,"getToken");if(!(0,i.A)(g)){if(h)throw new Error("invalid opt.getToken when opt.useWaitToken=true");g=()=>""}let m=(0,r.A)(e,"tokenType");(0,o.A)(m)||(m="Bearer");let v=(0,r.A)(e,"sizeSlice");(0,s.A)(v)||(v=1048576);let b=(0,r.A)(e,"timeout");(0,l.A)(b)||(b=3e5);let y=(0,r.A)(e,"retryMain");(0,l.A)(y)||(y=3);let A=(0,r.A)(e,"retryUpload");(0,l.A)(A)||(A=10);let w=(0,r.A)(e,"retryDownload");(0,l.A)(w)||(w=2);let C=(0,r.A)(e,"getServerMethods");(0,i.A)(C)||(C=()=>{});let x=(0,r.A)(e,"recvData");(0,i.A)(x)||(x=()=>{});let _=(0,r.A)(e,"getRefreshState"),k=(0,r.A)(e,"getRefreshTable"),S=(0,r.A)(e,"getBeforeUpdateTableTags"),I=(0,r.A)(e,"getAfterUpdateTableTags"),T=(0,r.A)(e,"showLog");(0,a.A)(T)||(T=!0),h&&(T&&console.log("waiting token..."),await(0,d.A)(async()=>{let e=g();return(0,u.A)(e)&&(e=await e),(0,o.A)(e)},{timeInterval:100}),T&&console.log("get token")),t=new Fe({FormData:c,url:f,apiName:p,getToken:g,tokenType:m,sizeSlice:v,timeout:b,retryMain:y,retryUpload:A,retryDownload:w}),t=new Qe(t,{getToken:g,getServerMethods:C,recvData:x,getRefreshState:_,getRefreshTable:k,getBeforeUpdateTableTags:S,getAfterUpdateTableTags:I})}return f().catch(e=>{try{t.emit("error",e)}catch(e){throw new Error(e)}}),t}var et=qe},7534:function(e,t,n){"use strict";var r=n(3041),o=n(7500),i=n(6167),a=n(5021),l=n(5940),s=n(8135),u=n(6670),c=n(106),d=n(662),f=n(1669),p=n(3360),h=n(2561);function g(e,t={}){if(!(0,a.A)(e))throw new Error("invalid site");let n=(0,o.A)(t,"params",{}),g=(0,o.A)(t,"keyGlobal","");(0,a.A)(g)||(g="___params___");let m=(0,o.A)(t,"timeWaitAnimation");(0,l.A)(m)||(m=0);let v=(0,o.A)(t,"defToken","");(0,a.A)(v)||(v="sys");let b=(0,o.A)(t,"apiName","");(0,a.A)(b)||(b="api");let y=(0,o.A)(t,"apiNameForVerify","");(0,a.A)(y)||(y="getUserByToken");let A=(0,o.A)(t,"urlForVerify","");(0,a.A)(A)||(A="");let w=(0,o.A)(t,"retry");(0,u.A)(w)||(w=3);let C=window.location.origin,x=window.location.origin+window.location.pathname,_=C,k=x;if((0,a.A)(window.location.port)){let e=`:${window.location.port}`;_=_.replace(e,""),k=k.replace(e,"")}window[g]={...n,site:e,origin:C,originNoPort:_,base:x,baseNoPort:k};let S=()=>{let e=new URLSearchParams(window.location.search),t={};return e.forEach((e,n)=>{t[n]=e}),t},I=()=>{let e=S(),t=(0,o.A)(e,"token","");return t},T=()=>{let t="";return(0,a.A)(t)||(t=I()),(0,a.A)(t)||(t=localStorage.getItem(`${e}:userToken`)),t},H=e=>{let t=(0,o.A)(window,`${g}.${e}`,"");return t},P=e=>{let t=T(),n=(0,o.A)(window,`${g}.origin`,""),r=(0,o.A)(window,`${g}.originNoPort`,""),i=(0,o.A)(window,`${g}.base`,""),a=(0,o.A)(window,`${g}.baseNoPort`,""),l=H(e);return l=l.replace("{token}",t),l=l.replace("{origin}",n),l=l.replace("{originNoPort}",r),l=l.replace("{base}",i),l=l.replace("{baseNoPort}",a),l},B=async e=>{let t,n=null;return await(0,r.A)({method:"GET",url:e}).then(e=>{t=e.data}).catch(e=>{n=e.toString()}),null!==n?Promise.reject(n):t},$=async e=>{let t=H("base"),n=`${t}${b}/${e}`,r=B(n);return r},j=async(e={})=>{let t,n,r=(0,o.A)(e,"afterGetUser"),l=(0,o.A)(e,"afterLogin"),u=(0,o.A)(e,"loginError"),f=(0,o.A)(e,"loginSuccess"),h=H("site");async function g(){let e=null;if(await(0,p.A)(m),!(0,a.A)(h))throw console.log("site",h),new Error("invalid site");let t="";if((0,a.A)(t)||(t=I()),(0,a.A)(t)||(t=localStorage.getItem(`${h}:userToken`)),(0,i.A)()){if((0,a.A)(t)||(t=v),"error"===t)return e={text:"登入時無效令牌",msg:"invalid token"},Promise.reject(e)}else if(!(0,a.A)(t))return e={text:"登入時無效令牌",msg:"invalid token"},Promise.reject(e);let n=null;n=(0,a.A)(A)?B(`${A}?token=${t}`):$(`${y}?token=${t}`);let l=await n.catch(t=>{e={text:"登入時無法連線",msg:t}});if(null!==e)return Promise.reject(e);if("error"===(0,o.A)(l,"state"))return e={text:"登入時驗證失敗",msg:(0,o.A)(l,"msg")},Promise.reject(e);let u=(0,o.A)(l,"msg");if(!(0,s.A)(u))return console.log("data",l),e={text:"登入時無法取得使用者資訊",msg:"invalid user"},Promise.reject(e);if((0,c.A)(r)){let e=r(u);(0,d.A)(e)&&(e=await e)}return{token:t,user:u}}await g().then(e=>{t=!0,n=e,localStorage.setItem(`${h}:userToken`,e.token)}).catch(e=>{t=!1,n=e,localStorage.setItem(`${h}:userToken`,"")});let b={state:t,data:n};if((0,c.A)(l)){let e=l(b);(0,d.A)(e)&&(e=await e)}if(t){if((0,c.A)(f)){let e=f(n);(0,d.A)(e)&&(e=await e)}}else if((0,c.A)(u)){let e=u(n);(0,d.A)(e)&&(e=await e)}return b},O=async(e={})=>{let t=(0,o.A)(e,"timePeriod");(0,l.A)(t)||(t=2e3),t=(0,f.A)(t);let n=(0,o.A)(e,"procCheckToken"),i=(0,o.A)(e,"procLogout"),s=H("site"),u=P("checkToken"),p=async()=>{let e=null,t=await(0,r.A)({method:"GET",url:u}).catch(t=>{e={text:"驗證令牌時遭遇錯誤",msg:t}});return null!==e?Promise.reject(e):t},g=async()=>{let e=(0,h.A)(p),t=await e(),n=0;while("error"===t.state){if(n+=1,n>w)break;console.log(`retry n=${n}`),t=await e()}return"success"===t.state?t.msg:Promise.reject(t.msg)},m=!1;async function v(){let e=null;if(m)return;m=!0;let t=localStorage.getItem(`${s}:userToken`);if(!(0,a.A)(t))return e={text:"令牌已清除",msg:"invalid token"},Promise.reject(e);let r=await g().catch(t=>{e=t});if(null!==e)return Promise.reject(e);if((0,c.A)(n)){let t=n(r);(0,d.A)(t)&&(t=await t),t||(e={text:"驗證令牌失敗",msg:r})}if(null!==e)return Promise.reject(e);m=!1}let b=setInterval(()=>{v().catch(e=>{clearInterval(b),(0,c.A)(i)&&i(e)})},t);return null},R=async(e={})=>{let t,n,i=(0,o.A)(e,"procLogout"),l=(0,o.A)(e,"afterLogout"),s=(0,o.A)(e,"logoutError"),u=(0,o.A)(e,"logoutSuccess"),f=H("site");async function p(){let e=null,t=T();if(!(0,a.A)(t))return e={text:"無法取得登出用token",msg:"invalid token"},Promise.reject(e);let n=P("logOut");if(!(0,a.A)(n))return e={text:"無法取得登出用設定資訊",msg:"invalid urlLogOut"},Promise.reject(e);let o=await(0,r.A)({method:"GET",url:n}).catch(t=>{e={text:"登出時遭遇錯誤",msg:t}});if(null!==e)return Promise.reject(e);if((0,c.A)(i)){let t=i(o);(0,d.A)(t)&&(t=await t),t||(e={text:"登出失敗",msg:o})}return null!==e?Promise.reject(e):{token:t}}await p().then(e=>{t=!0,n=e}).catch(e=>{t=!1,n=e});let h={state:t,data:n};if(localStorage.setItem(`${f}:userToken`,""),(0,c.A)(l)){let e=l(h);(0,d.A)(e)&&(e=await e)}if(t){if((0,c.A)(u)){let e=u(n);(0,d.A)(e)&&(e=await e)}}else if((0,c.A)(s)){let e=s(n);(0,d.A)(e)&&(e=await e)}return h},W={parseUrl:S,getTokenFromUrl:I,getToken:T,getValue:H,getUrl:P,getApi:$,login:j,detect:O,logout:R};return W}t.A=g},6224:function(e,t,n){"use strict";var r=n(8776),o=n(4958);function i(e){if(!(0,o.A)(e))return 0;let t=(0,r.A)(e);return t}t.A=i},1669:function(e,t,n){"use strict";var r=n(1898),o=n(4958),i=n(6224);function a(e){if(!(0,o.A)(e))return 0;e=(0,i.A)(e);let t=(0,r.A)(e);return"0"===String(t)?0:t}t.A=a},6077:function(e,t,n){"use strict";n.d(t,{A:function(){return st}});var r=n(8621),o=n(7500),i=n(4722),a=n(6036),l=n(6902),s=n(7422),u=n(1898),c=n(5111),d=n(8182);function f(e){return(0,d.A)(e).toLowerCase()}var p=f;function h(e){return(0,d.A)(e).toUpperCase()}var g=h,m=n(5021),v=n(8135),b=n(4958),y=n(6956),A=n(2982),w=n(483),C=n(6024),x=n(7417),_=n(545),k=n(6224),S=n(7517),I=n(1669),T=n(6702),H=n(6670),P=n(5940);function B(e,t,n=1){return(0,m.A)(e)&&(0,H.A)(t)?(n=(0,P.A)(n)?(0,I.A)(n):1,e.substring(t,t+n)):""}var $=B;let j={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function O(e){if("#"!==(0,w.A)(e,1))return!1;let t=/[0-9A-Fa-f]{2}/g,n=t.test(e);if(n)return!0;let r=/[0-9A-Fa-f]{3}/g,o=r.test(e);if(o)return!0;let i=/[0-9A-Fa-f]{6}/g,a=i.test(e);if(a)return!0;let l=/[0-9A-Fa-f]{8}/g,s=l.test(e);return!!s}function R(e){return(0,T.A)(j,e)}function W(e){return"rgb"===(0,w.A)(e,3)||"rgba"===(0,w.A)(e,4)}function E(e){return"hsl"===(0,w.A)(e,3)||"hsla"===(0,w.A)(e,4)}function L(e){return"hsv"===(0,w.A)(e,3)||"hsva"===(0,w.A)(e,4)}function Z(e){let t=j[e];return`#${t}`}function X(e){return N(e,1)}function F(e){return N(e,255)}function V(e){return N(e,360)}function N(e,t=1){if(e.indexOf("%")>=0){if(e=(0,x.A)(e,"%",""),!(0,b.A)(e))throw new Error("invalid color: value is not a number");e=(0,k.A)(e)/100}else{if(!(0,b.A)(e))throw new Error("invalid color: value is not a number");e=(0,k.A)(e)/t}if(e>1)throw new Error("invalid color: value > 1");if(e<0)throw new Error("invalid color: value < 0");return e}function z(e){if(!(0,b.A)(e))throw new Error("invalid color: value is not a number");if(e=(0,k.A)(e),e>1)throw new Error("invalid color: value > 1");if(e<0)throw new Error("invalid color: value < 0");return e}function M(e,t="rgba"){if(!(0,y.A)(e))throw new Error("invalid colors array");let n=(0,o.A)(e,0,0),r=(0,o.A)(e,1,0),i=(0,o.A)(e,2,0),a=(0,o.A)(e,3,1);if(t=t.split(""),4!==(0,l.A)(t))throw new Error("tar.length !== 4");let s=(0,o.A)(t,0),u=(0,o.A)(t,1),c=(0,o.A)(t,2),d=(0,o.A)(t,3);return{[s]:n,[u]:r,[c]:i,[d]:a}}function D(e){e=(0,C.A)(e,1);let t=e.length;if(2===t)e=`${e}${e}${e}ff`;else if(3===t){let t=$(e,0,1),n=$(e,1,1),r=$(e,2,1);e=`${t}${t}${n}${n}${r}${r}ff`}else if(6===t)e=`${e}ff`;else if(8!==t)throw new Error("invalid hex color");function n(e){if(2!==e.length)throw new Error("hex.length of color is not equal to 2");if(e=parseInt(e,16),!(0,b.A)(e))throw new Error("invalid hex of color");return e=(0,k.A)(e),e/255}let r=n($(e,0,2)),o=n($(e,2,2)),i=n($(e,4,2)),a=n($(e,6,2));return{r:r,g:o,b:i,a:a}}function G(e){e=(0,x.A)(e,"rgba",""),e=(0,x.A)(e,"rgb",""),e=e.replace(/[()]/g,""),e=(0,x.A)(e,","," ");let t=(0,_.A)(e," ");return U(t)}function U(e){return e=(0,i.A)(e,(e,t)=>t<=2?F(e):3===t?z(e):null),e=M(e,"rgba"),e}function K(e){e=(0,x.A)(e,"hsla",""),e=(0,x.A)(e,"hsl",""),e=e.replace(/[()]/g,""),e=(0,x.A)(e,","," ");let t=(0,_.A)(e," ");return J(t)}function J(e){return e=(0,i.A)(e,(e,t)=>0===t?V(e):1===t||2===t?X(e):3===t?z(e):null),e=M(e,"hsla"),e=pe(e),e}function Y(e){e=(0,x.A)(e,"hsva",""),e=(0,x.A)(e,"hsv",""),e=e.replace(/[()]/g,""),e=(0,x.A)(e,","," ");let t=(0,_.A)(e," ");return Q(t)}function Q(e){return e=(0,i.A)(e,(e,t)=>0===t?V(e):1===t||2===t?X(e):3===t?z(e):null),e=M(e,"hsva"),e=he(e),e}function q(e){if("transparent"===e)return{r:0,g:0,b:0,a:0};if(R(e))return e=Z(e),D(e);if(O(e))return D(e);if(W(e))return G(e);if(E(e))return K(e);if(L(e))return Y(e);throw new Error("format of color string is not hex-color, name-color, rgba, hsla, hsva")}function ee(e,t){t=p(t);let n=(0,T.A)(e,t);if(n)return!0;t=g(t);let r=(0,T.A)(e,t);return!!r}function te(e){let t=ee(e,"r"),n=ee(e,"g"),r=ee(e,"b");return t&&n&&r}function ne(e){let t=ee(e,"h"),n=ee(e,"s"),r=ee(e,"l");return t&&n&&r}function re(e){let t=ee(e,"h"),n=ee(e,"s"),r=ee(e,"v");return t&&n&&r}function oe(e,t,n){let r;return r=(0,o.A)(e,t,null),null!==r?r:(t=g(t),r=(0,o.A)(e,t,null),null!==r?r:n)}function ie(e){let t=oe(e,"r",null),n=oe(e,"g",null),r=oe(e,"b",null),o=oe(e,"a",1),a=[t,n,r,o];return a=(0,i.A)(a,S.A),U(a)}function ae(e){let t=oe(e,"h",null),n=oe(e,"s",null),r=oe(e,"l",null),o=oe(e,"a",1),a=[t,n,r,o];return a=(0,i.A)(a,S.A),J(a)}function le(e){let t=oe(e,"h",null),n=oe(e,"s",null),r=oe(e,"v",null),o=oe(e,"a",1),a=[t,n,r,o];return a=(0,i.A)(a,S.A),Q(a)}function se(e){if(te(e))return ie(e);if(ne(e))return ae(e);if(re(e))return le(e);throw new Error("color object is not one of rgba, hsla, hsva")}function ue(e){if(1!==e.a)throw new Error("alpha of color can not be equal to 1");return(299*e.r+587*e.g+114*e.b)/1e3}function ce(e){if(1!==e.a)throw new Error("alpha of color can not be equal to 1");let t,n,r,o=e.r,i=e.g,a=e.b;return t=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),n=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),r=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),.2126*t+.7152*n+.0722*r}function de(e){let t,n,r=e.r,o=e.g,i=e.b,a=Math.max(r,o,i),l=Math.min(r,o,i),s=(a+l)/2;if(a===l)t=n=0;else{let e=a-l;switch(n=s>.5?e/(2-a-l):e/(a+l),a){case r:t=(o-i)/e+(o<i?6:0);break;case o:t=(i-r)/e+2;break;case i:t=(r-o)/e+4;break}t/=6}return{h:t,s:n,l:s,a:e.a}}function fe(e){let t,n,r=e.r,o=e.g,i=e.b,a=Math.max(r,o,i),l=Math.min(r,o,i),s=a,u=a-l;if(n=0===a?0:u/a,a===l)t=0;else{switch(a){case r:t=(o-i)/u+(o<i?6:0);break;case o:t=(i-r)/u+2;break;case i:t=(r-o)/u+4;break}t/=6}return{h:t,s:n,v:s,a:e.a}}function pe(e){let t,n,r,o=e.h,i=e.s,a=e.l;function l(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(0===i)t=n=r=a;else{let e=a<.5?a*(1+i):a+i-a*i,s=2*a-e;t=l(s,e,o+1/3),n=l(s,e,o),r=l(s,e,o-1/3)}return{r:t,g:n,b:r,a:e.a}}function he(e){let t,n,r,o=e.h,i=e.s,a=e.v,l=Math.floor(6*o),s=6*o-l,u=a*(1-i),c=a*(1-s*i),d=a*(1-(1-s)*i);switch(l%6){case 0:t=a,n=d,r=u;break;case 1:t=c,n=a,r=u;break;case 2:t=u,n=a,r=d;break;case 3:t=u,n=c,r=a;break;case 4:t=d,n=u,r=a;break;case 5:t=a,n=u,r=c;break}return{r:t,g:n,b:r,a:e.a}}function ge(e){let t=Math.round(255*e).toString(16);if(1===t.length)return`0${t}`;if(2===t.length)return t;throw new Error("invalid value")}function me(e){return ve(e,!1)}function ve(e,t=!0){let n=e.r,r=e.g,o=e.b,i=e.a,a=`${ge(n)}${ge(r)}${ge(o)}`;return t&&(a=`${a}${ge(i)}`),a}function be(e){return Math.min(1,Math.max(0,e))}function ye(e,t){if(!(0,m.A)(t))throw new Error("fmtOutput is not a string");if(!at[t])throw console.log(`fmtOutput must be [${(0,s.A)(at)}]`),new Error("invalid fmtOutput");return e=at[t](e),e}function Ae(e,t,n="toRgbString"){if(t<0||t>1)throw new Error("amount < 0 or > 1");let r=de(e);r.s+=t,r.s=be(r.s);let o=pe(r);return ye(o,n)}function we(e,t="toRgbString"){let n=de(e);n.s=0;let r=pe(n);return ye(r,t)}function Ce(e,t,n="toRgbString"){if(t<0||t>1)throw new Error("amount < 0 or > 1");let r=de(e);r.l+=t,r.l=be(r.l);let o=pe(r);return ye(o,n)}function xe(e,t,n="toRgbString"){if(t<0||t>1)throw new Error("amount < 0 or > 1");e.r+=t,e.r=be(e.r),e.g+=t,e.g=be(e.g),e.b+=t,e.b=be(e.b);let r=e;return ye(r,n)}function _e(e,t,n="toRgbString"){if(t<0||t>1)throw new Error("amount < 0 or > 1");let r=de(e);r.h+=t,r.h=r.h%1;let o=pe(r);return ye(o,n)}function ke(e,t="toRgbString"){return _e(e,.5,t)}function Se(e,t,n="toRgbString"){if(!(0,A.A)(t))throw new Error("num is not an integer");if(t=(0,I.A)(t),t<=1)return[e];let r=de(e),o=1/t,i=[];for(let a=0;a<t;a++)i.push(ye(pe(r),n)),r.h+=o,r.h=r.h%1;return i}function Ie(e,t,n="toRgbString"){if(!(0,A.A)(t))throw new Error("num is not an integer");if(t=(0,I.A)(t),t<=1)return[e];let r=fe(e);r.s=1,r.l=1;let o=1/t,i=[];for(let a=0;a<t;a++)i.push(ye(he(r),n)),r.h-=o,r.l-=o;return i}function Te(e,t,n,r,o="toRgbString"){if(t<0||t>1)throw new Error("w1 < 0 or > 1");if(r<0||r>1)throw new Error("w1 < 0 or > 1");let i={r:e.r*t+n.r*r,g:e.g*t+n.g*r,b:e.b*t+n.b*r,a:e.a*t+n.a*r};return ye(i,o)}function He(e){return`${(0,u.A)(100*e,1)}%`}function Pe(e){return(0,u.A)(e,0)}function Be(e){return(0,u.A)(e,3)}function $e(e){return{r:Pe(255*e.r),g:Pe(255*e.g),b:Pe(255*e.b)}}function je(e){return`rgb(${Pe(255*e.r)}, ${Pe(255*e.g)}, ${Pe(255*e.b)})`}function Oe(e){return{r:Pe(255*e.r),g:Pe(255*e.g),b:Pe(255*e.b),a:Be(e.a)}}function Re(e){return`rgba(${Pe(255*e.r)}, ${Pe(255*e.g)}, ${Pe(255*e.b)}, ${Be(e.a)})`}function We(e){let t=de(e);return{h:Pe(360*t.h),s:Be(t.s),l:Be(t.l)}}function Ee(e){let t=de(e);return`hsl(${Pe(360*t.h)}, ${Be(t.s)}, ${Be(t.l)})`}function Le(e){let t=de(e);return{h:Pe(360*t.h),s:Be(t.s),l:Be(t.l),a:Be(t.a)}}function Ze(e){let t=de(e);return`hsla(${Pe(360*t.h)}, ${Be(t.s)}, ${Be(t.l)}, ${Be(t.a)})`}function Xe(e){let t=fe(e);return{h:Pe(360*t.h),s:Be(t.s),v:Be(t.v)}}function Fe(e){let t=fe(e);return`hsv(${Pe(360*t.h)}, ${Be(t.s)}, ${Be(t.v)})`}function Ve(e){let t=fe(e);return{h:Pe(360*t.h),s:Be(t.s),v:Be(t.v),a:Be(t.a)}}function Ne(e){let t=fe(e);return`hsva(${Pe(360*t.h)}, ${Be(t.s)}, ${Be(t.v)}, ${Be(t.a)})`}function ze(e){return{r:He(e.r),g:He(e.g),b:He(e.b)}}function Me(e){return`rgb(${He(e.r)}, ${He(e.g)}, ${He(e.b)})`}function De(e){return{r:He(e.r),g:He(e.g),b:He(e.b),a:Be(e.a)}}function Ge(e){return`rgba(${He(e.r)}, ${He(e.g)}, ${He(e.b)}, ${Be(e.a)})`}function Ue(e){let t=de(e);return{h:Pe(360*t.h),s:He(t.s),l:He(t.l)}}function Ke(e){let t=de(e);return`hsl(${Pe(360*t.h)}, ${He(t.s)}, ${He(t.l)})`}function Je(e){let t=de(e);return{h:Pe(360*t.h),s:He(t.s),l:He(t.l),a:Be(t.a)}}function Ye(e){let t=de(e);return`hsla(${Pe(360*t.h)}, ${He(t.s)}, ${He(t.l)}, ${Be(t.a)})`}function Qe(e){let t=fe(e);return{h:Pe(360*t.h),s:He(t.s),v:He(t.v)}}function qe(e){let t=fe(e);return`hsv(${Pe(360*t.h)}, ${He(t.s)}, ${He(t.v)})`}function et(e){let t=fe(e);return{h:Pe(360*t.h),s:He(t.s),v:He(t.v),a:Be(t.a)}}function tt(e){let t=fe(e);return`hsva(${Pe(360*t.h)}, ${He(t.s)}, ${He(t.v)}, ${Be(t.a)})`}function nt(e){let t=me(e);return`#${t}`}function rt(e){let t=ve(e);return`#${t}`}function ot(e){let t=null,n=null,o=null;if((0,m.A)(e))t=p((0,r.A)(e));else{if(!(0,v.A)(e))throw console.log("color=",e),new Error("color is not a string or an object");n=e}if(null!==t)try{o=q(t)}catch(i){throw console.log(i),new Error(`can not parse color: ${t}`)}else if(null!==n)try{o=se(n)}catch(i){throw console.log(i),new Error(`can not parse color: ${JSON.stringify(n)}`)}return o}function it(e){if(!(0,v.A)(e))return console.log("gradient is not an effective object"),e=>(e=Math.min(Math.max(e,0),1),`rgb(${255*e},${255*e},${255*e})`);let t=[];function n(e){let n=null;for(let r=1;r<t.length;r++){let o=t[r-1][0],i=t[r-1][1],a=t[r][0],l=t[r][1];if(o<=e&&a>=e){let t=(a-e)/(a-o),r=(e-o)/(a-o);n=Te(ot(i),t,ot(l),r,"toRgbaString");break}}return n}return(0,a.A)(e,(e,n)=>{t.push([(0,k.A)(n),Oe(ot(e)),e])}),t=(0,c.A)(t,0),n}let at={toRgb:$e,toRgbString:je,toRgba:Oe,toRgbaString:Re,toHsl:We,toHslString:Ee,toHsla:Le,toHslaString:Ze,toHsv:Xe,toHsvString:Fe,toHsva:Ve,toHsvaString:Ne,toRgbP:ze,toRgbPString:Me,toRgbaP:De,toRgbaPString:Ge,toHslP:Ue,toHslPString:Ke,toHslaP:Je,toHslaPString:Ye,toHsvP:Qe,toHsvPString:qe,toHsvaP:et,toHsvaPString:tt,toHexString:nt,toHex8String:rt};function lt(){let e={toRgb:e=>$e(ot(e)),toRgbString:e=>je(ot(e)),toRgba:e=>Oe(ot(e)),toRgbaString:e=>Re(ot(e)),toHsl:e=>We(ot(e)),toHslString:e=>Ee(ot(e)),toHsla:e=>Le(ot(e)),toHslaString:e=>Ze(ot(e)),toHsv:e=>Xe(ot(e)),toHsvString:e=>Fe(ot(e)),toHsva:e=>Ve(ot(e)),toHsvaString:e=>Ne(ot(e)),toRgbP:e=>ze(ot(e)),toRgbPString:e=>Me(ot(e)),toRgbaP:e=>De(ot(e)),toRgbaPString:e=>Ge(ot(e)),toHslP:e=>Ue(ot(e)),toHslPString:e=>Ke(ot(e)),toHslaP:e=>Je(ot(e)),toHslaPString:e=>Ye(ot(e)),toHsvP:e=>Qe(ot(e)),toHsvPString:e=>qe(ot(e)),toHsvaP:e=>et(ot(e)),toHsvaPString:e=>tt(ot(e)),toHexString:e=>nt(ot(e)),toHex8String:e=>rt(ot(e)),modSaturate:(e,t,n)=>Ae(ot(e),t,n),modGrey:(e,t)=>we(ot(e),t),modLighten:(e,t,n)=>Ce(ot(e),t,n),modBrighten:(e,t,n)=>xe(ot(e),t,n),modHue:(e,t,n)=>_e(ot(e),t,n),modComplement:(e,t)=>ke(ot(e),t),spreadHue:(e,t,n)=>Se(ot(e),t,n),spreadMonochromatic:(e,t,n)=>Ie(ot(e),t,n),mix:(e,t,n,r,o)=>Te(ot(e),t,ot(n),r,o),getBrightness:e=>ue(ot(e)),getLuminance:e=>ce(ot(e)),interp:it};return e}var st=lt()},7701:function(e,t,n){"use strict";n.d(t,{A:function(){return ne}});var r=n(7500),o=n(5021),i=n(8135),a=n(1969),l=n(8842),s=n(4722),u=n(4554),c=n(6902),d=n(7422),f=n(1879),p=n(1882),h=n(903),g=n(4958),m=n(1714),v=n(6956),b=n(7517),y=n(9610),A=Math.ceil,w=Math.max;function C(e,t,n,r){var o=-1,i=w(A((t-e)/(n||1)),0),a=Array(i);while(i--)a[r?i:++o]=e,e+=n;return a}var x=C,_=n(6832),k=n(8776);function S(e){return function(t,n,r){return r&&"number"!=typeof r&&(0,_.A)(t,n,r)&&(n=r=void 0),t=(0,k.A)(t),void 0===n?(n=t,t=0):n=(0,k.A)(n),r=void 0===r?t<n?1:-1:(0,k.A)(r),x(t,n,r,e)}}var I=S,T=I(),H=T;function P(e,t,n=!1){let r=[];if(!(0,v.A)(e)&&!(0,m.A)(e))return e=t(e,null,[]),e;function o(e){if((0,v.A)(e))return H((0,c.A)(e));if((0,m.A)(e)){let t=Object.getOwnPropertyNames(e),r=null;return n&&(r=Object.getOwnPropertySymbols(e)),(0,v.A)(t)||(t=[]),(0,v.A)(r)||(r=[]),[...t,...r]}return e}function i(e,n){if((0,v.A)(e)){let n=o(e);return n.map(n=>{let o=e[n],a=(0,h.A)(r);return r.push(n),o=t(o,n,a),o=i(o,n),r.pop(),o})}if((0,m.A)(e)){let n=o(e),a={};return n.map(n=>{let o=e[n],l=(0,h.A)(r);r.push(n),o=t(o,n,l),o=i(o,n),r.pop(),a[n]=o}),a}return e}return i(e,t)}function B(e,t=null,n={}){(0,y.A)(t)||(t=e=>e);let o=(0,r.A)(n,"force",!1);return(0,l.A)(o)||(o=!1),P(e,t,o)}var $=B;function j(e,t={}){if(!(0,i.A)(e)&&!(0,a.A)(e))return[];let n=(0,r.A)(t,"bindKey",null);(0,o.A)(n)||(n="id");let l=(0,r.A)(t,"bindParent",null);(0,o.A)(l)||(l="parentId");let y=(0,r.A)(t,"bindBelong",null);(0,o.A)(y)||(y="key");let A=(0,r.A)(t,"bindText",null);(0,o.A)(A)||(A="text");let w=(0,r.A)(t,"bindType",null);(0,o.A)(w)||(w="type");let C=(0,r.A)(t,"bindNumOfChilren",null);function x(e,t){e=(0,h.A)(e),e=(0,s.A)(e,e=>(0,p.A)(e)?(0,b.A)(e):e),(0,p.A)(t)&&(t=(0,b.A)(t)),((0,o.A)(t)||(0,g.A)(t))&&e.push(t);let n=(0,u.A)(e,"-");return n}(0,o.A)(C)||(C="numOfChilren");let _=[];return $(e,(e,t,r)=>{let i=x(r,t),a=x(r,null),s="node";(0,m.A)(e)?s="object":(0,v.A)(e)&&(s="array");let u={[n]:i,[l]:a,[w]:s};if(((0,o.A)(t)||(0,f.A)(t))&&(u[y]=t),(0,m.A)(e)||(0,v.A)(e)||(u[A]=e),(0,m.A)(e)||(0,v.A)(e)){let t=null;(0,m.A)(e)?t=(0,c.A)((0,d.A)(e)):(0,v.A)(e)&&(t=(0,c.A)(e)),u[C]=t}return _.push(u),e},{force:!0}),_}var O=j,R=n(6036),W=n(8395),E=n(5572),L=n(5268),Z=n(4783),X=n(3442),F=n(2031),V=n(4963);function N(e){return(0,V.A)(e)?void 0:e}var z=N,M=n(9036),D=n(3973),G=1,U=2,K=4,J=(0,M.A)(function(e,t){var n={};if(null==e)return n;var r=!1;t=(0,E.A)(t,function(t){return t=(0,X.A)(t,e),r||(r=t.length>1),t}),(0,F.A)(e,(0,D.A)(e),n),r&&(n=(0,L.A)(n,G|U|K,z));var o=t.length;while(o--)(0,Z.A)(n,t[o]);return n}),Y=J,Q=n(5418);function q(e,t={}){let n="$level",i="$parents";if(!(0,a.A)(e))return[];let s=(0,r.A)(t,"bindKey",null);(0,o.A)(s)||(s="id");let u=(0,r.A)(t,"bindParent",null);(0,o.A)(u)||(u="parentId");let c=(0,r.A)(t,"bindChildren",null);(0,o.A)(c)||(c="children");let d=(0,r.A)(t,"saveExtProps",null);function f(e){let t=[];function o(){let r=[];(0,R.A)(e,(e,o)=>{(0,Q.A)(e[u])?t.push({[n]:0,[i]:[],...e}):r.push(e)}),e=r}function a(o){let a=[];(0,R.A)(e,(e,l)=>{let c=(0,r.A)(e,u),d=(0,r.A)(o,s);if(c&&d&&c===d){let a=(0,r.A)(o,i,[]);a=(0,h.A)(a),a.push(o[s]),t.push({[n]:o[n]+1,[i]:a,...e})}else a.push(e)}),e=a}if(e=(0,h.A)(e),o(),0===t.length)return t;let l=-1;while(1){if(l+=1,l>t.length-1)break;let n=t[l];if(a(n),0===e.length)break}return t}function p(e){let t=[];function o(t){for(let n=0;n<e.length;n++){let r=e[n];if(t[u]===r[s])return r}return null}function a(e){return d?e:Y(e,[n,i])}let l={};return(0,R.A)(e,(e,i)=>{if(0===e[n]){let n=a(e);t.push(n),l[e[s]]=[i]}else{let n=o(e);if(null!==n){let o=l[n[s]];o=[...o,c];let i=(0,r.A)(t,o,[]),u=a(e);i.push(u),l[e[s]]=[...o,i.length-1],(0,W.A)(t,o,i)}else console.log(`can not find parent for ${(0,r.A)(e,u)}`)}}),t}(0,l.A)(d)||(d=!1),e=f(e);let g=p(e);return g}var ee=q;function te(e,t={}){if(!(0,i.A)(e)&&!(0,a.A)(e))return[];let n=(0,r.A)(t,"bindKey",null);(0,o.A)(n)||(n="id");let s=(0,r.A)(t,"bindParent",null);(0,o.A)(s)||(s="parentId");let u=(0,r.A)(t,"bindText",null);(0,o.A)(u)||(u="text");let c=(0,r.A)(t,"bindChildren",null);(0,o.A)(c)||(c="children");let d=(0,r.A)(t,"bindType",null);(0,o.A)(d)||(d="type");let f=(0,r.A)(t,"bindNumOfChilren",null);(0,o.A)(f)||(f="numOfChilren");let p=(0,r.A)(t,"bindRoot",null);(0,o.A)(p)||(p="root");let h=(0,r.A)(t,"saveExtProps",null);(0,l.A)(h)||(h=!1),(0,o.A)(p)&&(e={[p]:e});let g=O(e,{bindKey:n,bindParent:s,bindText:u,bindType:d,bindNumOfChilren:f}),m=ee(g,{bindKey:n,bindParent:s,bindChildren:c,saveExtProps:h});return m}var ne=te},7517:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(1882),o=n(5021),i=n(4958);function a(e){let t=Object.prototype.toString.call(e);return"[object BigInt]"===t}var l=a;function s(e){if(!(0,o.A)(e)&&!(0,i.A)(e)&&!(0,r.A)(e)&&!l(e))return"";let t="";try{t=String(e)}catch(n){}try{t=e.toString()}catch(n){}return t}var u=s},9526:function(e,t,n){"use strict";var r=n(6902),o=n(106),i=n(5940),a=n(1669);function l(e=300){function t(e){let t=[],n=null,l=Date.now();function s(){null===n&&(n=setInterval(()=>{if(0===(0,r.A)(t))return clearInterval(n),void(n=null);let o=Date.now()-l;if(o>e){let e=t.pop();t=[];try{e.func(...e.input)}catch(i){console.log("m.func catch",i)}}},10))}function u(e,...n){(0,o.A)(e)?(l=Date.now(),t.push({func:e,input:n}),s()):console.log("func is not a function")}return(0,i.A)(e)||(e=300),e=(0,a.A)(e),u}return new t(e)}t.A=l},3360:function(e,t,n){"use strict";var r=n(2942),o=n(4958);function i(e=10){(0,o.A)(e)||(e=10);let t=(0,r.A)();return setTimeout(function(){t.resolve()},e),t}t.A=i},125:function(e,t,n){"use strict";var r=n(1898),o=n(4958),i=n(6670),a=n(6224);function l(e,t=0){if(!(0,o.A)(e))return"";if(!(0,i.A)(t))return"";e=(0,a.A)(e);let n=(0,r.A)(e,t).toFixed(t);return n}t.A=l},1291:function(e,t,n){"use strict";function r(){let e=null!==navigator.userAgent.toLowerCase().match(/rv:([\d.]+)\) like gecko/);return e}n.d(t,{A:function(){return a}});var o=r;function i(e){if(!e)return"invalid event";if(!e.cancelable)return"event is not cancelable";try{o()?e.cancelBubble=!0:e.stopPropagation(),e.preventDefault()}catch(t){}}var a=i},1236:function(e,t,n){"use strict";var r=n(1879),o=n(8332);function i(e,t,n){if(!(0,r.A)(e))return void console.log("clientX is not a number",e);if(!(0,r.A)(t))return void console.log("clientY is not a number",t);if(!(0,o.A)(n))return void console.log("ele is not a HTMLElement",n);let i;try{i=n.getBoundingClientRect()}catch(l){return void console.log("invalid ele for getBoundingClientRect",l)}let a=!1;try{a=e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom}catch(l){console.log("catch when calculating page information of element",l)}return a}t.A=i},7587:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(6036),o=n(8332),i=n(5021);function a(e){let t=document.querySelectorAll(e);return t}var l=a;function s(e){function t(e){e.parentNode.removeChild(e)}if((0,o.A)(e)){let n=e;return void t(n)}if(!(0,i.A)(e))return;let n=e,a=l(n);(0,r.A)(a,function(e){t(e)})}var u=s},8559:function(e,t,n){"use strict";var r=n(7500),o=n(5940),i=n(5021),a=n(8332),l=n(7587);function s(e,t,n={}){let s=(0,r.A)(n,"timeDuration",null);(0,o.A)(s)||(s=1e3);let u=(0,r.A)(n,"color",null);if((0,i.A)(u)||(u="rgba(255, 255, 255, 0.5)"),!(0,a.A)(e))return;e.style.position="relative",e.style.overflow="hidden";let c=e.getBoundingClientRect(),d=t.clientX-c.left,f=t.clientY-c.top,p=2*Math.max(e.clientWidth,e.clientHeight),h=document.createElement("div");h.style.width=`${p}px`,h.style.height=`${p}px`,h.style.transition=`all ${s/1e3}s linear`,h.style.position="absolute",h.style.zIndex=1,h.style.left=`${d}px`,h.style.top=`${f}px`,h.style.borderRadius="50%",h.style.transformOrigin="center",h.style.transform="translate(-50%,-50%) scale(0)",h.style.background=u,h.style.userSelect="none",h.style.pointerEvents="none",e.appendChild(h),setTimeout(()=>{h.style.transform="translate(-50%,-50%) scale(2)",h.style.opacity=0},1),setTimeout(()=>{(0,l.A)(h)},s)}t.A=s},9651:function(e,t,n){"use strict";var r=n(6036),o=n(7500),i=n(1969);function a(e,t,n=""){if(!(0,i.A)(t))return{};let a={};return(0,r.A)(t,function(t){a[t]=(0,o.A)(e,t,n)}),a}t.A=a},6780:function(e,t,n){"use strict";var r=n(6036),o=n(7500),i=n(1714),a=n(1969),l=n(6702);function s(e,t){if(!(0,i.A)(e))return{};if(!(0,a.A)(t))return{};let n={};return(0,r.A)(t,function(t){(0,l.A)(e,t)&&(n[t]=(0,o.A)(e,t))}),n}t.A=s},6246:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(228),o=r;function i(){return new o}var a=i},7120:function(e,t,n){"use strict";var r=n(5940),o=n(1669);let i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),a=i.length;function l(e=32){let t=[];e=(0,r.A)(e)?(0,o.A)(e):32;for(let r=0;r<e;r++)t[r]=i[0|Math.random()*a];let n=t.join("");return n}t.A=l},5140:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});const r=new Uint8Array(16);function o(){return crypto.getRandomValues(r)}const i=[];for(let h=0;h<256;++h)i.push((h+256).toString(16).slice(1));function a(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}const l={};function s(e,t,n){let r;if(e)r=c(e.random??e.rng?.()??o(),e.msecs,e.seq,t,n);else{const e=Date.now(),i=o();u(l,e,i),r=c(i,l.msecs,l.seq,t,n)}return t??a(r)}function u(e,t,n){return e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=n[6]<<23|n[7]<<16|n[8]<<8|n[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++),e}function c(e,t,n,r,o=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(r){if(o<0||o+16>r.length)throw new RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`)}else r=new Uint8Array(16),o=0;return t??=Date.now(),n??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],r[o++]=t/1099511627776&255,r[o++]=t/4294967296&255,r[o++]=t/16777216&255,r[o++]=t/65536&255,r[o++]=t/256&255,r[o++]=255&t,r[o++]=112|n>>>28&15,r[o++]=n>>>20&255,r[o++]=128|n>>>14&63,r[o++]=n>>>6&255,r[o++]=n<<2&255|3&e[10],r[o++]=e[11],r[o++]=e[12],r[o++]=e[13],r[o++]=e[14],r[o++]=e[15],r}var d=s;function f(){let e=d();return e}var p=f},2942:function(e,t){"use strict";function n(){let e,t,n=new Promise(function(){e=arguments[0],t=arguments[1]});return n.resolve=e,n.reject=t,n}t.A=n},1388:function(e,t,n){"use strict";var r=n(6515);function o(){return"undefined"!==typeof self?self:(0,r.A)()?window:"undefined"!==typeof n.g?n.g:null}t.A=o},6702:function(e,t,n){"use strict";var r=n(1714),o=n(5021),i=n(4958);function a(e,t){return!!(0,r.A)(e)&&(!(!(0,o.A)(t)&&!(0,i.A)(t))&&t in e)}t.A=a},6167:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(6036),o=n(9860),i=n(5021),a=n(1969);function l(e,t,n="anyone"){if(!(0,i.A)(e))return!1;if("anyone"!==n&&"all"!==n)return!1;if((0,o.A)(t)){if(!(0,i.A)(t))return!1;t=[t]}if(!(0,a.A)(t))return!1;let l=!1;if((0,r.A)(t,function(e){(0,i.A)(e)||(l=!0)}),l)return!1;function s(e,t){return e.indexOf(t)}let u=0;return(0,r.A)(t,function(t){-1!==s(e,t)&&u++}),"anyone"===n?u>0:"all"===n&&u===t.length}var s=l;function u(){return!!location&&s(location.href,"localhost")}var c=u},8332:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(3098),o=n(4963);function i(e){return(0,r.A)(e)&&1===e.nodeType&&!(0,o.A)(e)}var a=i;function l(e){return a(e)}var s=l},6515:function(e,t){"use strict";function n(){return"undefined"!==typeof window&&"undefined"!==typeof window.document}t.A=n},6956:function(e,t){"use strict";function n(e){let t=Object.prototype.toString.call(e);return"[object Array]"===t}t.A=n},8842:function(e,t,n){"use strict";var r=n(8916);function o(e){return(0,r.A)(e)}t.A=o},1969:function(e,t,n){"use strict";var r=n(6956),o=n(5418);function i(e){return!!(0,r.A)(e)&&(0!==e.length&&(1!==e.length||!(0,o.A)(e[0])))}t.A=i},8135:function(e,t,n){"use strict";var r=n(1714);function o(e){if((0,r.A)(e)){for(let t in e)return!0;return!1}return!1}t.A=o},5418:function(e,t,n){"use strict";n.d(t,{A:function(){return g}});var r=n(3633);function o(e){let t=Object.prototype.toString.call(e);return"[object Null]"===t}var i=o,a=n(8170),l=n(9860);function s(e){return!(!(0,l.A)(e)||""!==e)}var u=s,c=n(6956);function d(e){return!!(0,c.A)(e)&&0===e.length}var f=d,p=n(590);function h(e){return!!(0,r.A)(e)||(!!i(e)||(!!(0,a.A)(e)||(!!u(e)||(!!f(e)||!!(0,p.A)(e)))))}var g=h},5021:function(e,t,n){"use strict";var r=n(9860);function o(e){return!(!(0,r.A)(e)||""===e)}t.A=o},106:function(e,t){"use strict";function n(e){let t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t}t.A=n},2982:function(e,t,n){"use strict";var r=n(3422),o=n(4958),i=n(6224);function a(e){return!!(0,o.A)(e)&&(e=(0,i.A)(e),(0,r.A)(e))}t.A=a},590:function(e,t){"use strict";function n(e){return e!==e}t.A=n},4958:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(5021);function o(e){let t=Object.prototype.toString.call(e);return"[object Number]"===t}var i=o,a=n(590);function l(e){let t=!1;if((0,r.A)(e))t=!isNaN(Number(e));else if(i(e)){if((0,a.A)(e))return!1;t=!0}return t}var s=l},1714:function(e,t){"use strict";function n(e){let t=Object.prototype.toString.call(e);return"[object Object]"===t}t.A=n},8170:function(e,t,n){"use strict";var r=n(1714);function o(e){if((0,r.A)(e)){for(let t in e)return!1;return!0}return!1}t.A=o},6670:function(e,t,n){"use strict";var r=n(2982),o=n(1669);function i(e){if(!(0,r.A)(e))return!1;let t=(0,o.A)(e)>=0;return t}t.A=i},5940:function(e,t,n){"use strict";var r=n(2982),o=n(1669);function i(e){if(!(0,r.A)(e))return!1;let t=(0,o.A)(e)>0;return t}t.A=i},662:function(e,t){"use strict";function n(e){let t,n=Object.prototype.toString.call(e);if(t="[object Promise]"===n,t)return!0;if("[object Function]"!==n)return!1;try{t="function"!==typeof e.subscribe&&"function"===typeof e.then}catch(r){}return t}t.A=n},9860:function(e,t){"use strict";function n(e){let t=Object.prototype.toString.call(e);return"[object String]"===t}t.A=n},3633:function(e,t){"use strict";function n(e){let t=Object.prototype.toString.call(e);return"[object Undefined]"===t}t.A=n},9858:function(e,t,n){"use strict";var r=n(5021);function o(e){if(!(0,r.A)(e))return{};let t={};try{t=JSON.parse(e)}catch(n){t={}}return t}t.A=o},7106:function(e,t,n){"use strict";var r=n(4353),o=n(106);function i(){if(!(0,o.A)(r))throw new Error("invalid dayjs");let e=r(),t=e.format("YYYY-MM-DDTHH:mm:ss.SSSZ");return t}t.A=i},2561:function(e,t,n){"use strict";var r=n(7500),o=n(2942),i=n(106),a=n(662);function l(e){if(!(0,i.A)(e))throw new Error("fn is not a function");return function(){let t=(0,o.A)(),n=null,i=null;try{n=e.apply(this,arguments)}catch(l){i=l}return null!==i?t.resolve({state:"error",msg:i}):(0,a.A)(n)?n.then(e=>{t.resolve({state:"success",msg:e})}).catch(e=>{"cancelled"===(0,r.A)(e,"reason")?t.resolve({state:"cancelled",msg:""}):t.resolve({state:"error",msg:e})}):t.resolve({state:"success",msg:n}),t}}t.A=l},7417:function(e,t,n){"use strict";var r=n(5021),o=n(9860);function i(e,t,n){if(!(0,r.A)(e))return"";if(!(0,r.A)(t))return"";if(!(0,o.A)(n))return"";let i=String(e).replaceAll(t,n);return i}t.A=i},545:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(6036),o=n(4722),i=n(8621),a=n(5021);function l(e,t){if(!(0,a.A)(e))return[];if(!(0,a.A)(t))return[];let n=e.split(t);return n}var s=l;function u(e,t){if(!(0,a.A)(e))return[];if(!(0,a.A)(t))return[];let n=s(e,t);n=(0,o.A)(n,i.A);let l=[];return(0,r.A)(n,function(e){(0,a.A)(e)&&l.push(e)}),l}var c=u},6024:function(e,t,n){"use strict";var r=n(5021),o=n(6670),i=n(6262),a=n(1669);function l(e,t){return(0,r.A)(e)&&(0,o.A)(t)?(t=(0,a.A)(t),0===t?e:(0,i.A)(e,e.length-t)):""}t.A=l},483:function(e,t,n){"use strict";var r=n(5021),o=n(6670),i=n(1669);function a(e,t){return(0,r.A)(e)&&(0,o.A)(t)?(t=(0,i.A)(t),0===t?"":e.substring(0,t)):""}t.A=a},6262:function(e,t,n){"use strict";var r=n(5021),o=n(6670),i=n(1669);function a(e,t){if(!(0,r.A)(e))return"";if(!(0,o.A)(t))return"";if(t=(0,i.A)(t),0===t)return"";let n=e.length-t;return n<0&&(n=0),e.substring(n,n+t)}t.A=a},6035:function(e,t,n){"use strict";var r=n(7500),o=n(2942),i=n(106),a=n(5940),l=n(662);async function s(e,t={}){let n=null,s=(0,o.A)();if(!(0,i.A)(e))return s.reject("waitfunction需輸入函數f"),s;let u=async()=>{let t=e();return(0,l.A)(t)&&(t=await t),t};if(n=await u(),!0===n)return s.resolve(),s;let c=(0,r.A)(t,"attemptNum",null);(0,a.A)(c)||(c=200);let d=(0,r.A)(t,"timeInterval",null);(0,a.A)(d)||(d=1e3);let f=0,p=setInterval(async()=>{f+=1,n=await u(),!0===n&&(clearInterval(p),s.resolve()),f>c&&(clearInterval(p),s.reject(`exceeded attemptNum[${c}]`))},d);return s}t.A=s}}]);
|