@yuhufe/wtool-vdiff 0.0.9 → 0.0.11
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/dist/DiffFiles/FileExplore/FileExplore.vue.d.ts +3 -5
- package/dist/DiffViewer/DiffViewer.vue.d.ts +1 -1
- package/dist/DiffViewer/TopBar.vue.d.ts +0 -2
- package/dist/DiffViewer/utils/patch2Pair.d.ts +3 -3
- package/dist/utils/index.d.ts +1 -0
- package/dist/wtool-vdiff.cjs.js +39 -39
- package/dist/wtool-vdiff.es.js +5782 -5581
- package/package.json +13 -13
- package/src/DiffViewer/DiffViewer.vue +4 -3
- package/src/DiffViewer/TopBar.vue +2 -21
- package/src/DiffViewer/utils/patch2Pair.ts +18 -11
- package/src/utils/index.ts +5 -0
package/dist/wtool-vdiff.cjs.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.m-loading-parent--relative{position:relative}.m-loading-mask[data-v-da721280]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff9}@keyframes widgetLoading-da721280{0%{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}50%{opacity:1;transform:translateY(calc(var(--column-height) / 2)) scaleY(2)}to{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}}.loading-animate[data-v-da721280]{height:30px;position:relative}.loading-animate .loading-animate-column[data-v-da721280]{position:absolute;width:var(--column-width);height:var(--column-height);opacity:.2;animation:.6s ease-in-out 0s infinite widgetLoading-da721280;transform:translateY(var(--column-height)) scaleY(1);transform-origin:top}.xfade-enter[data-v-da721280],.xfade-enter-from[data-v-da721280]{opacity:0}.xfade-enter-active[data-v-da721280]{transition:opacity .4s ease}.xfade-leave-active[data-v-da721280]{transition:opacity .4s ease;opacity:0}.scroll-wrapper[data-v-2acac909]{overflow-y:auto;scrollbar-width:thin}.scroll-wrapper .virtual-item[data-v-2acac909]{width:100%;position:absolute;top:0;left:0}.monaco-editor-container[data-v-715fa2d2]{width:100%;height:100%}.context-view.monaco-component .workbench-hover-container .hover-contents{white-space:nowrap!important}.monaco-editor-container .codicon.codicon-widget-close{box-sizing:content-box!important}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget{cursor:not-allowed}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget .diff-hidden-lines{pointer-events:none;opacity:.75}.top-bar-wrap[data-v-e0325530]{box-sizing:border-box;display:flex;overflow:hidden;align-items:center;background-color:#f7f7f7;padding:4px 8px}.top-bar-wrap .title-area[data-v-e0325530]{flex:1;display:flex;align-items:center;overflow:hidden}.top-bar-wrap .title-area .filename[data-v-e0325530]{font-size:14px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-bar-wrap .title-area .diff-line-num[data-v-e0325530]{flex-shrink:0;display:inline-flex;font-size:12px;font-weight:700;margin-left:4px}.top-bar-wrap .title-area .diff-line-num .add[data-v-e0325530]{color:#1a7f37}.top-bar-wrap .title-area .diff-line-num .del[data-v-e0325530]{color:#d1242f;margin-left:4px}.top-bar-wrap .toolbar[data-v-e0325530]{font-size:12px;flex-shrink:0;display:flex;align-items:center;gap:4px}.top-bar-wrap .toolbar label[data-v-e0325530]{display:inline-flex;align-items:center;cursor:pointer;margin-right:4px}.top-bar-wrap .toolbar label.disabled[data-v-e0325530]{opacity:.4;cursor:not-allowed;pointer-events:none}.top-bar-wrap .toolbar label input[data-v-e0325530]{margin-right:2px}.diff-type-tag[data-v-e0325530]{flex-shrink:0;display:block;font-size:10px;font-weight:600;padding:2px 4px;border-radius:2px;margin-left:4px}.diff-type-tag.changed[data-v-e0325530]{background-color:#ddf4ff;color:#0969da}.diff-type-tag.add[data-v-e0325530]{background-color:#dafbe1;color:#1a7f37}.diff-type-tag.del[data-v-e0325530]{background-color:#ffebe9;color:#d1242f}.diff-type-tag.rename[data-v-e0325530]{background-color:#fff8c5;color:#9a6700}.diff-viewer-wrap[data-v-cfac6974]{width:var(--viewer-width);border:1px solid #ddd}.diff-viewer-wrap .top-bar[data-v-cfac6974]{flex-shrink:0}.diff-viewer-wrap .content-wrap[data-v-cfac6974]{height:var(--viewer-height);overflow:hidden}body{-webkit-tap-highlight-color:transparent}@-webkit-keyframes vtree-animation-spin{0%{-webkit-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0) translateZ(0)}to{-webkit-transform:rotate(360deg) translate3d(0,0,0);transform:rotate(360deg) translateZ(0)}}@keyframes vtree-animation-spin{0%{-webkit-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0) translateZ(0)}to{-webkit-transform:rotate(360deg) translate3d(0,0,0);transform:rotate(360deg) translateZ(0)}}@-webkit-keyframes vtree-animation-svg-circle-spin{0%{stroke-dasharray:1 130;stroke-dashoffset:0}50%{stroke-dasharray:90 130;stroke-dashoffset:-30}to{stroke-dasharray:90 130;stroke-dashoffset:-124}}@keyframes vtree-animation-svg-circle-spin{0%{stroke-dasharray:1 130;stroke-dashoffset:0}50%{stroke-dasharray:90 130;stroke-dashoffset:-30}to{stroke-dasharray:90 130;stroke-dashoffset:-124}}.vtree-tree__wrapper{width:100%;height:100%;position:relative}.vtree-tree__scroll-area{width:100%;height:100%;overflow:auto;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.vtree-tree__block-area{-webkit-box-flex:1;-ms-flex:1;flex:1}.vtree-tree__empty{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0}.vtree-tree__empty-text_default{width:100%;text-align:center}.vtree-tree__loading{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;background-color:#fffffff2}.vtree-tree__loading-wrapper{width:100%;text-align:center}.vtree-tree__loading-icon{display:inline-block;width:30px;height:30px;-webkit-animation:vtree-animation-spin 2s linear infinite;animation:vtree-animation-spin 2s linear infinite}.vtree-tree__loading-icon .vtree-loading-icon__circle{stroke:#2d8cf0;stroke-linecap:round;-webkit-animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite;animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite}.vtree-tree__iframe{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;display:block;border:none;padding:0;margin:0;opacity:0;z-index:-1000;pointer-events:none}.vtree-tree-node__indent-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.vtree-tree-node__wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vtree-tree-node__drop{width:100%;height:2px}.vtree-tree-node__drop_active{background-color:#5cadff}.vtree-tree-node__node-body{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vtree-tree-node__square{position:relative;width:20px;height:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vtree-tree-node__expand i{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;width:16px;height:16px;position:relative;-webkit-transition:-webkit-transform .2s linear;transition:-webkit-transform .2s linear;transition:transform .2s linear;transition:transform .2s linear,-webkit-transform .2s linear}.vtree-tree-node__expand i:after{content:"";display:block;width:0;height:0;position:absolute;border:5px solid transparent;border-left:5px solid #515a6e}.vtree-tree-node__expand_active i{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.vtree-tree-node__loading-icon{display:inline-block;width:14px;height:14px;-webkit-animation:vtree-animation-spin 2s linear infinite;animation:vtree-animation-spin 2s linear infinite}.vtree-tree-node__loading-icon .vtree-loading-icon__circle{stroke:#515a6e;stroke-linecap:round;-webkit-animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite;animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite}.vtree-tree-node__checkbox{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;width:14px;height:14px;position:absolute;border:1px solid;border-color:#dcdee2;border-radius:2px;background-color:#fff;-webkit-transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.vtree-tree-node__checkbox:after{content:"";display:table;position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid #fff;border-top:0;border-left:0;width:4px;height:8px;top:1px;left:4px;-webkit-transform:rotate(45deg) scale(0);transform:rotate(45deg) scale(0);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}@media(any-hover:hover){.vtree-tree-node__checkbox:hover{border-color:#c5c8ce}}.vtree-tree-node__checkbox:focus{-webkit-box-shadow:0 0 0 2px #5cadff;box-shadow:0 0 0 2px #5cadff}.vtree-tree-node__checkbox_checked{border-color:#2d8cf0;background-color:#2d8cf0}.vtree-tree-node__checkbox_checked:after{width:4px;height:8px;top:1px;left:4px;-webkit-transform:rotate(45deg) scale(1);transform:rotate(45deg) scale(1)}@media(any-hover:hover){.vtree-tree-node__checkbox_checked:hover{border-color:#2d8cf0;background-color:#2d8cf0}}.vtree-tree-node__checkbox_indeterminate{border-color:#2d8cf0;background-color:#2d8cf0}.vtree-tree-node__checkbox_indeterminate:after{width:8px;height:1px;top:5px;left:2px;-webkit-transform:scale(1);transform:scale(1)}@media(any-hover:hover){.vtree-tree-node__checkbox_indeterminate:hover{border-color:#2d8cf0;background-color:#2d8cf0}}.vtree-tree-node__checkbox_disabled{cursor:not-allowed;border-color:#dcdee2;background-color:#e8eaec}@media(any-hover:hover){.vtree-tree-node__checkbox_disabled:hover{border-color:#dcdee2;background-color:#e8eaec}}.vtree-tree-node__checkbox_disabled:after{border-color:#c5c8ce}.vtree-tree-node__title{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-flex:1;-ms-flex:1;flex:1;height:26px;line-height:26px;margin-left:5px;padding-left:5px;background-color:transparent;word-break:keep-all;white-space:nowrap;word-wrap:none}@media(any-hover:hover){.vtree-tree-node__title:hover{background-color:#ebf5ff}}.vtree-tree-node__title_selected{background-color:#d4e7fc}@media(any-hover:hover){.vtree-tree-node__title_selected:hover{background-color:#d4e7fc}}.vtree-tree-node__title_disabled{cursor:not-allowed;color:#c5c8ce}.vtree-expand-animation-enter-from,.vtree-expand-animation-leave-to{opacity:0;grid-template-rows:0fr}.vtree-expand-animation-enter-to,.vtree-expand-animation-leave-from{opacity:1;grid-template-rows:1fr}.vtree-expand-animation-enter-active,.vtree-expand-animation-leave-active{-webkit-transition:opacity .2s,grid-template-rows .2s;transition:opacity .2s,grid-template-rows .2s;transition:opacity .2s,grid-template-rows .2s,-ms-grid-rows .2s}.vtree-tree-search__wrapper{width:100%;height:100%;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vtree-tree-search__search{height:42px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box}.vtree-tree-search__check-all-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-pack:initial;-ms-flex-pack:initial;justify-content:initial;width:40px}.vtree-tree-search__check-all{margin-left:23px}.vtree-tree-search__input-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:5px;-webkit-box-flex:1;-ms-flex:1;flex:1}.vtree-tree-search__input{color:#515a6e;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:32px;border:1px solid #dcdee2;border-radius:4px;padding:4px 7px;outline:none;-webkit-transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.vtree-tree-search__input::-webkit-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::-moz-placeholder{color:#c5c8ce}.vtree-tree-search__input:-ms-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::-ms-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::placeholder{color:#c5c8ce}@media(any-hover:hover){.vtree-tree-search__input:hover{border-color:#57a3f3}}.vtree-tree-search__input:focus{border-color:#57a3f3;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px #2d8cf033}.vtree-tree-search__input_disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}@media(any-hover:hover){.vtree-tree-search__input_disabled:hover{border-color:#dcdee2}}.vtree-tree-search__action-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 10px}.vtree-tree-search__checked-button{cursor:pointer}@media(any-hover:hover){.vtree-tree-search__checked-button:hover{color:#5cadff}}.vtree-tree-search__checked-button_active{color:#2d8cf0}.vtree-tree-search__tree-wrapper{width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto}.vtree-tree-search__footer{padding:5px}.vtree-tree-drop__wrapper{position:relative}.vtree-tree-drop__reference{cursor:pointer}.vtree-tree-drop__display-input{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-right:20px}.vtree-tree-drop__display-input-text{display:block;height:100%;line-height:22px}.vtree-tree-drop__display-input-placeholder{color:#c5c8ce}.vtree-tree-drop__display-input_focus{border-color:#57a3f3;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px #2d8cf033}.vtree-tree-drop__display-icon-drop{position:absolute;top:8px;right:3px;width:14px;height:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border:3px solid #808695;border-top:none;border-left:none;-webkit-transform:rotate(45deg) scale(.5) translateX(-3.5px) translateY(-3.5px);transform:rotate(45deg) scale(.5) translate(-3.5px) translateY(-3.5px);-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.vtree-tree-drop__display-icon-drop_active{-webkit-transform:rotate(225deg) scale(.5) translateX(-3.5px) translateY(-3.5px);transform:rotate(225deg) scale(.5) translate(-3.5px) translateY(-3.5px)}.vtree-tree-drop__display-icon-clear{position:absolute;top:8px;right:3px;width:14px;height:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50%;background-color:#808695;overflow:hidden;-webkit-transform:scale(.9) rotate(45deg);transform:scale(.9) rotate(45deg);display:none}.vtree-tree-drop__display-icon-clear:before{content:"";width:1px;height:7px;display:block;background-color:#fff;position:absolute;top:3.5px;left:6.5px}.vtree-tree-drop__display-icon-clear:after{content:"";width:1px;height:7px;display:block;background-color:#fff;position:absolute;top:3.5px;left:6.5px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}@media(any-hover:hover){.vtree-tree-drop__display-input:hover .vtree-tree-drop__display-icon-clear{display:block}}.vtree-tree-drop__dropdown{position:absolute;top:-999px;left:-999px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px #0003;border-radius:4px;margin:5px 0;padding:5px 0;-webkit-transform-origin:center top 0px;transform-origin:center top 0px;background-color:#fff;z-index:9999}.vtree-tree-drop__dropdown .vtree-tree-search__search{border-bottom:1px solid #dcdee2;padding-bottom:5px;height:38px}.vtree-tree-drop__dropdown .vtree-tree-search__tree-wrapper{padding-top:5px}.vtree-dropdown-enter-from,.vtree-dropdown-leave-to{opacity:0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}.vtree-dropdown-enter-active,.vtree-dropdown-leave-active{-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s}.file-search[data-v-035db611]{flex:0 0 auto;padding:8px 9px;border-bottom:1px solid #dfe3e8;box-sizing:border-box;background:#fff}.file-search__input[data-v-035db611]{width:100%;height:32px;padding:4px 9px;border:1px solid #cbd2d9;border-radius:4px;box-sizing:border-box;color:#252a31;background:#fff;font:inherit;font-size:13px;letter-spacing:0;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.file-search__input[data-v-035db611]::placeholder{color:#8a929c}.file-search__input[data-v-035db611]:hover{border-color:#7aaed8}.file-search__input[data-v-035db611]:focus{border-color:#2979b8;box-shadow:0 0 0 2px #2979b829}.file-search__input[data-v-035db611]::-webkit-search-cancel-button{cursor:pointer}.file-explore-wrap[data-v-70ab28a6]{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#fff}.file-tree[data-v-70ab28a6]{flex:1 1 0;width:100%;height:0;min-height:0;overflow:hidden;color:#252a31;font-size:13px}.file-tree-node[data-v-70ab28a6]{display:flex;align-items:center;width:100%;min-width:0;padding-right:8px;box-sizing:border-box;font-size:14px}.file-tree-node .file-tree-node__icon[data-v-70ab28a6]{width:16px;height:16px;margin-right:7px;flex:0 0 16px}.file-tree-node .file-tree-node__label[data-v-70ab28a6]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree-node__title{min-width:0;flex:1;overflow:hidden;cursor:pointer;margin-left:0;padding-left:2px}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree-node__title_selected{color:#1261a6;background:#e7f2fc}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree__empty-text_default{color:#747b85;font-size:13px}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree__scroll-area{scrollbar-width:thin}.diff-list-wrap[data-v-9f37abdf]{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-gutter:stable;padding:8px;box-sizing:border-box}.diff-list-wrap .file-wrap[data-v-9f37abdf]{height:100%;box-sizing:border-box}.diff-list-wrap .file-wrap--selected[data-v-9f37abdf] .diff-viewer-wrap{border-color:#1677ff}.diff-files-wrap[data-v-1a22123f]{width:100%;height:100%;display:flex;flex-direction:column}.diff-files-wrap .content-wrap[data-v-1a22123f]{flex:1;min-height:0;display:flex;overflow:hidden}.diff-files-wrap .content-wrap .file-explore[data-v-1a22123f]{width:300px;min-width:220px;max-width:40%;flex:0 0 300px;border-right:1px solid #dfe3e8;box-sizing:border-box}.diff-files-wrap .content-wrap .filelist-viewer-wrap[data-v-1a22123f]{min-width:0;flex:1;overflow:hidden}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
3
|
-
`)}function qe(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=te(s)?ku(s):qe(s);if(i)for(const r in i)t[r]=i[r]}return t}else if(te(e)||he(e))return e}const gp=/;(?![^(]*\))/g,vp=/:([^]+)/,yp=/\/\*[^]*?\*\//g;function ku(e){const t={};return e.replace(yp,"").split(gp).forEach(n=>{if(n){const s=n.split(vp);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ep(e){if(!e)return"";if(te(e))return e;let t="";for(const n in e){const s=e[n];if(te(s)||typeof s=="number"){const i=n.startsWith("--")?n:ut(n);t+=`${i}:${s};`}}return t}function xe(e){let t="";if(te(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=xe(e[n]);s&&(t+=s+" ")}else if(he(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function _p(e){if(!e)return null;let{class:t,style:n}=e;return t&&!te(t)&&(e.class=xe(t)),n&&(e.style=qe(n)),e}const bp="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,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,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,summary,template,blockquote,iframe,tfoot",Np="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Sp="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Op="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Au=et(bp),Iu=et(Np),Mu=et(Sp),wp=et(Op),Pu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Cp=et(Pu),Ga=et(Pu+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Fl(e){return!!e||e===""}const Dp=et("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),xp=et("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function Tp(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Vp=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function kp(e,t){return e.replace(Vp,n=>`\\${n}`)}function Ap(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Yn(e[s],t[s]);return n}function Yn(e,t){if(e===t)return!0;let n=Wa(e),s=Wa(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=wt(e),s=wt(t),n||s)return e===t;if(n=K(e),s=K(t),n||s)return n&&s?Ap(e,t):!1;if(n=he(e),s=he(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!Yn(e[o],t[o]))return!1}}return String(e)===String(t)}function oo(e,t){return e.findIndex(n=>Yn(n,t))}const Lu=e=>!!(e&&e.__v_isRef===!0),sn=e=>te(e)?e:e==null?"":K(e)||he(e)&&(e.toString===Tu||!Q(e.toString))?Lu(e)?sn(e.value):JSON.stringify(e,Fu,2):String(e),Fu=(e,t)=>Lu(t)?Fu(e,t.value):cs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[ko(s,r)+" =>"]=i,n),{})}:Ss(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ko(n))}:wt(t)?ko(t):he(t)&&!K(t)&&!no(t)?String(t):t,ko=(e,t="")=>{var n;return wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Ru(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:((typeof e!="number"||!Number.isFinite(e))&&process.env.NODE_ENV!=="production"&&console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:",e),String(e))}function xt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let at;class Rl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=at,!t&&at&&(this.index=(at.scopes||(at.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=at;try{return at=this,t()}finally{at=n}}else process.env.NODE_ENV!=="production"&&xt("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=at,at=this)}off(){this._on>0&&--this._on===0&&(at=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Ip(e){return new Rl(e)}function $u(){return at}function ju(e,t=!1){at?at.cleanups.push(e):process.env.NODE_ENV!=="production"&&!t&&xt("onScopeDispose() is called when there is no active effect scope to be associated with.")}let Ne;const Ao=new WeakSet;class Di{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,at&&at.active&&at.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ao.has(this)&&(Ao.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ja(this),Ku(this);const t=Ne,n=Ut;Ne=this,Ut=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&Ne!==this&&xt("Active effect was not restored correctly - this is likely a Vue internal bug."),Uu(this),Ne=t,Ut=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Hl(t);this.deps=this.depsTail=void 0,Ja(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ao.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qo(this)&&this.run()}get dirty(){return Qo(this)}}let Hu=0,Ei,_i;function Bu(e,t=!1){if(e.flags|=8,t){e.next=_i,_i=e;return}e.next=Ei,Ei=e}function $l(){Hu++}function jl(){if(--Hu>0)return;if(_i){let t=_i;for(_i=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ei;){let t=Ei;for(Ei=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ku(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Uu(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Hl(s),Mp(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Qo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Wu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Wu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xi)||(e.globalVersion=xi,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qo(e))))return;e.flags|=2;const t=e.dep,n=Ne,s=Ut;Ne=e,Ut=!0;try{Ku(e);const i=e.fn(e._value);(t.version===0||gt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ne=n,Ut=s,Uu(e),e.flags&=-3}}function Hl(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=i),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Hl(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Mp(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Pp(e,t){e.effect instanceof Di&&(e=e.effect.fn);const n=new Di(e);t&&oe(n,t);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function Lp(e){e.effect.stop()}let Ut=!0;const zu=[];function qt(){zu.push(Ut),Ut=!1}function Gt(){const e=zu.pop();Ut=e===void 0?!0:e}function Ja(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ne;Ne=void 0;try{t()}finally{Ne=n}}}let xi=0;class Fp{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class lo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Ne||!Ut||Ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ne)n=this.activeLink=new Fp(Ne,this),Ne.deps?(n.prevDep=Ne.depsTail,Ne.depsTail.nextDep=n,Ne.depsTail=n):Ne.deps=Ne.depsTail=n,qu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Ne.depsTail,n.nextDep=void 0,Ne.depsTail.nextDep=n,Ne.depsTail=n,Ne.deps===n&&(Ne.deps=s)}return process.env.NODE_ENV!=="production"&&Ne.onTrack&&Ne.onTrack(oe({effect:Ne},t)),n}trigger(t){this.version++,xi++,this.notify(t)}notify(t){$l();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(oe({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{jl()}}}function qu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)qu(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Cr=new WeakMap,us=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),el=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Ti=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Ue(e,t,n){if(Ut&&Ne){let s=Cr.get(e);s||Cr.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new lo),i.map=s,i.key=n),process.env.NODE_ENV!=="production"?i.track({target:e,type:t,key:n}):i.track()}}function nn(e,t,n,s,i,r){const o=Cr.get(e);if(!o){xi++;return}const l=a=>{a&&(process.env.NODE_ENV!=="production"?a.trigger({target:e,type:t,key:n,newValue:s,oldValue:i,oldTarget:r}):a.trigger())};if($l(),t==="clear")o.forEach(l);else{const a=K(e),c=a&&so(n);if(a&&n==="length"){const u=Number(s);o.forEach((f,d)=>{(d==="length"||d===Ti||!wt(d)&&d>=u)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(Ti)),t){case"add":a?c&&l(o.get("length")):(l(o.get(us)),cs(e)&&l(o.get(el)));break;case"delete":a||(l(o.get(us)),cs(e)&&l(o.get(el)));break;case"set":cs(e)&&l(o.get(us));break}}jl()}function Rp(e,t){const n=Cr.get(e);return n&&n.get(t)}function Ts(e){const t=re(e);return t===e?t:(Ue(t,"iterate",Ti),ot(e)?t:t.map(Jt))}function ao(e){return Ue(e=re(e),"iterate",Ti),e}function Ln(e,t){return Pt(e)?Ws(on(e)?Jt(t):t):Jt(t)}const $p={__proto__:null,[Symbol.iterator](){return Io(this,Symbol.iterator,e=>Ln(this,e))},concat(...e){return Ts(this).concat(...e.map(t=>K(t)?Ts(t):t))},entries(){return Io(this,"entries",e=>(e[1]=Ln(this,e[1]),e))},every(e,t){return pn(this,"every",e,t,void 0,arguments)},filter(e,t){return pn(this,"filter",e,t,n=>n.map(s=>Ln(this,s)),arguments)},find(e,t){return pn(this,"find",e,t,n=>Ln(this,n),arguments)},findIndex(e,t){return pn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return pn(this,"findLast",e,t,n=>Ln(this,n),arguments)},findLastIndex(e,t){return pn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return pn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Mo(this,"includes",e)},indexOf(...e){return Mo(this,"indexOf",e)},join(e){return Ts(this).join(e)},lastIndexOf(...e){return Mo(this,"lastIndexOf",e)},map(e,t){return pn(this,"map",e,t,void 0,arguments)},pop(){return li(this,"pop")},push(...e){return li(this,"push",e)},reduce(e,...t){return Za(this,"reduce",e,t)},reduceRight(e,...t){return Za(this,"reduceRight",e,t)},shift(){return li(this,"shift")},some(e,t){return pn(this,"some",e,t,void 0,arguments)},splice(...e){return li(this,"splice",e)},toReversed(){return Ts(this).toReversed()},toSorted(e){return Ts(this).toSorted(e)},toSpliced(...e){return Ts(this).toSpliced(...e)},unshift(...e){return li(this,"unshift",e)},values(){return Io(this,"values",e=>Ln(this,e))}};function Io(e,t,n){const s=ao(e),i=s[t]();return s!==e&&!ot(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const jp=Array.prototype;function pn(e,t,n,s,i,r){const o=ao(e),l=o!==e&&!ot(e),a=o[t];if(a!==jp[t]){const f=a.apply(e,r);return l?Jt(f):f}let c=n;o!==e&&(l?c=function(f,d){return n.call(this,Ln(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=a.call(o,c,s);return l&&i?i(u):u}function Za(e,t,n,s){const i=ao(e);let r=n;return i!==e&&(ot(e)?n.length>3&&(r=function(o,l,a){return n.call(this,o,l,a,e)}):r=function(o,l,a){return n.call(this,o,Ln(e,l),a,e)}),i[t](r,...s)}function Mo(e,t,n){const s=re(e);Ue(s,"iterate",Ti);const i=s[t](...n);return(i===-1||i===!1)&&vs(n[0])?(n[0]=re(n[0]),s[t](...n)):i}function li(e,t,n=[]){qt(),$l();const s=re(e)[t].apply(e,n);return jl(),Gt(),s}const Hp=et("__proto__,__v_isRef,__isVue"),Gu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(wt));function Bp(e){wt(e)||(e=String(e));const t=re(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class Ju{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?tf:ef:r?Qu:Xu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=K(t);if(!i){let a;if(o&&(a=$p[n]))return a;if(n==="hasOwnProperty")return Bp}const l=Reflect.get(t,n,Ie(t)?t:s);if((wt(n)?Gu.has(n):Hp(n))||(i||Ue(t,"get",n),r))return l;if(Ie(l)){const a=o&&so(n)?l:l.value;return i&&he(a)?Vi(a):a}return he(l)?i?Vi(l):ii(l):l}}class Zu extends Ju{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];const o=K(t)&&so(n);if(!this._isShallow){const c=Pt(r);if(!ot(s)&&!Pt(s)&&(r=re(r),s=re(s)),!o&&Ie(r)&&!Ie(s))return c?(process.env.NODE_ENV!=="production"&&xt(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(r.value=s,!0)}const l=o?Number(n)<t.length:ve(t,n),a=Reflect.set(t,n,s,Ie(t)?t:i);return t===re(i)&&(l?gt(s,r)&&nn(t,"set",n,s,r):nn(t,"add",n,s)),a}deleteProperty(t,n){const s=ve(t,n),i=t[n],r=Reflect.deleteProperty(t,n);return r&&s&&nn(t,"delete",n,void 0,i),r}has(t,n){const s=Reflect.has(t,n);return(!wt(n)||!Gu.has(n))&&Ue(t,"has",n),s}ownKeys(t){return Ue(t,"iterate",K(t)?"length":us),Reflect.ownKeys(t)}}class Yu extends Ju{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&xt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&xt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Kp=new Zu,Up=new Yu,Wp=new Zu(!0),zp=new Yu(!0),tl=e=>e,nr=e=>Reflect.getPrototypeOf(e);function qp(e,t,n){return function(...s){const i=this.__v_raw,r=re(i),o=cs(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=i[e](...s),u=n?tl:t?Ws:Jt;return!t&&Ue(r,"iterate",a?el:us),oe(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function sr(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";xt(`${an(e)} operation ${n}failed: target is readonly.`,re(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Gp(e,t){const n={get(i){const r=this.__v_raw,o=re(r),l=re(i);e||(gt(i,l)&&Ue(o,"get",i),Ue(o,"get",l));const{has:a}=nr(o),c=t?tl:e?Ws:Jt;if(a.call(o,i))return c(r.get(i));if(a.call(o,l))return c(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&Ue(re(i),"iterate",us),i.size},has(i){const r=this.__v_raw,o=re(r),l=re(i);return e||(gt(i,l)&&Ue(o,"has",i),Ue(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,a=re(l),c=t?tl:e?Ws:Jt;return!e&&Ue(a,"iterate",us),l.forEach((u,f)=>i.call(r,c(u),c(f),o))}};return oe(n,e?{add:sr("add"),set:sr("set"),delete:sr("delete"),clear:sr("clear")}:{add(i){!t&&!ot(i)&&!Pt(i)&&(i=re(i));const r=re(this);return nr(r).has.call(r,i)||(r.add(i),nn(r,"add",i,i)),this},set(i,r){!t&&!ot(r)&&!Pt(r)&&(r=re(r));const o=re(this),{has:l,get:a}=nr(o);let c=l.call(o,i);c?process.env.NODE_ENV!=="production"&&Ya(o,l,i):(i=re(i),c=l.call(o,i));const u=a.call(o,i);return o.set(i,r),c?gt(r,u)&&nn(o,"set",i,r,u):nn(o,"add",i,r),this},delete(i){const r=re(this),{has:o,get:l}=nr(r);let a=o.call(r,i);a?process.env.NODE_ENV!=="production"&&Ya(r,o,i):(i=re(i),a=o.call(r,i));const c=l?l.call(r,i):void 0,u=r.delete(i);return a&&nn(r,"delete",i,void 0,c),u},clear(){const i=re(this),r=i.size!==0,o=process.env.NODE_ENV!=="production"?cs(i)?new Map(i):new Set(i):void 0,l=i.clear();return r&&nn(i,"clear",void 0,void 0,o),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=qp(i,e,t)}),n}function co(e,t){const n=Gp(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(ve(n,i)&&i in s?n:s,i,r)}const Jp={get:co(!1,!1)},Zp={get:co(!1,!0)},Yp={get:co(!0,!1)},Xp={get:co(!0,!0)};function Ya(e,t,n){const s=re(n);if(s!==n&&t.call(e,s)){const i=Ll(e);xt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Xu=new WeakMap,Qu=new WeakMap,ef=new WeakMap,tf=new WeakMap;function Qp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function em(e){return e.__v_skip||!Object.isExtensible(e)?0:Qp(Ll(e))}function ii(e){return Pt(e)?e:uo(e,!1,Kp,Jp,Xu)}function nf(e){return uo(e,!1,Wp,Zp,Qu)}function Vi(e){return uo(e,!0,Up,Yp,ef)}function Bt(e){return uo(e,!0,zp,Xp,tf)}function uo(e,t,n,s,i){if(!he(e))return process.env.NODE_ENV!=="production"&&xt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=em(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function on(e){return Pt(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function Pt(e){return!!(e&&e.__v_isReadonly)}function ot(e){return!!(e&&e.__v_isShallow)}function vs(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function sf(e){return!ve(e,"__v_skip")&&Object.isExtensible(e)&&Us(e,"__v_skip",!0),e}const Jt=e=>he(e)?ii(e):e,Ws=e=>he(e)?Vi(e):e;function Ie(e){return e?e.__v_isRef===!0:!1}function ne(e){return rf(e,!1)}function Un(e){return rf(e,!0)}function rf(e,t){return Ie(e)?e:new tm(e,t)}class tm{constructor(t,n){this.dep=new lo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:re(t),this._value=n?t:Jt(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||ot(t)||Pt(t);t=s?t:re(t),gt(t,n)&&(this._rawValue=t,this._value=s?t:Jt(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function nl(e){e.dep&&(process.env.NODE_ENV!=="production"?e.dep.trigger({target:e,type:"set",key:"value",newValue:e._value}):e.dep.trigger())}function Y(e){return Ie(e)?e.value:e}function nm(e){return Q(e)?e():Y(e)}const sm={get:(e,t,n)=>t==="__v_raw"?e:Y(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ie(i)&&!Ie(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Bl(e){return on(e)?e:new Proxy(e,sm)}class im{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new lo,{get:s,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function of(e){return new im(e)}function lf(e){process.env.NODE_ENV!=="production"&&!vs(e)&&xt("toRefs() expects a reactive object but received a plain one.");const t=K(e)?new Array(e.length):{};for(const n in e)t[n]=af(e,n);return t}class rm{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=re(t);let i=!0,r=t;if(!K(t)||!so(String(n)))do i=!vs(r)||ot(r);while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=Y(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ie(this._raw[this._key])){const n=this._object[this._key];if(Ie(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Rp(this._raw,this._key)}}class om{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function lm(e,t,n){return Ie(e)?e:Q(e)?new om(e):he(e)&&arguments.length>1?af(e,t,n):ne(e)}function af(e,t,n){return new rm(e,t,n)}class am{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new lo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ne!==this)return Bu(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Wu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&xt("Write operation failed: computed value is readonly")}}function cm(e,t,n=!1){let s,i;Q(e)?s=e:(s=e.get,i=e.set);const r=new am(s,i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const um={GET:"get",HAS:"has",ITERATE:"iterate"},fm={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},ir={},Dr=new WeakMap;let Fn;function dm(){return Fn}function cf(e,t=!1,n=Fn){if(n){let s=Dr.get(n);s||Dr.set(n,s=[]),s.push(e)}else process.env.NODE_ENV!=="production"&&!t&&xt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function hm(e,t,n=ue){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:a}=n,c=y=>{(n.onWarn||xt)("Invalid watch source: ",y,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=y=>i?y:ot(y)||i===!1||i===0?Nn(y,1):Nn(y);let f,d,h,m,p=!1,S=!1;if(Ie(e)?(d=()=>e.value,p=ot(e)):on(e)?(d=()=>u(e),p=!0):K(e)?(S=!0,p=e.some(y=>on(y)||ot(y)),d=()=>e.map(y=>{if(Ie(y))return y.value;if(on(y))return u(y);if(Q(y))return a?a(y,2):y();process.env.NODE_ENV!=="production"&&c(y)})):Q(e)?t?d=a?()=>a(e,2):e:d=()=>{if(h){qt();try{h()}finally{Gt()}}const y=Fn;Fn=f;try{return a?a(e,3,[m]):e(m)}finally{Fn=y}}:(d=ke,process.env.NODE_ENV!=="production"&&c(e)),t&&i){const y=d,w=i===!0?1/0:i;d=()=>Nn(y(),w)}const N=$u(),E=()=>{f.stop(),N&&N.active&&Pl(N.effects,f)};if(r&&t){const y=t;t=(...w)=>{y(...w),E()}}let g=S?new Array(e.length).fill(ir):ir;const _=y=>{if(!(!(f.flags&1)||!f.dirty&&!y))if(t){const w=f.run();if(i||p||(S?w.some((P,T)=>gt(P,g[T])):gt(w,g))){h&&h();const P=Fn;Fn=f;try{const T=[w,g===ir?void 0:S&&g[0]===ir?[]:g,m];g=w,a?a(t,3,T):t(...T)}finally{Fn=P}}}else f.run()};return l&&l(_),f=new Di(d),f.scheduler=o?()=>o(_,!1):_,m=y=>cf(y,!1,f),h=f.onStop=()=>{const y=Dr.get(f);if(y){if(a)a(y,4);else for(const w of y)w();Dr.delete(f)}},process.env.NODE_ENV!=="production"&&(f.onTrack=n.onTrack,f.onTrigger=n.onTrigger),t?s?_(!0):g=f.run():o?o(_.bind(null,!0),!0):f.run(),E.pause=f.pause.bind(f),E.resume=f.resume.bind(f),E.stop=E,E}function Nn(e,t=1/0,n){if(t<=0||!he(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ie(e))Nn(e.value,t,n);else if(K(e))for(let s=0;s<e.length;s++)Nn(e[s],t,n);else if(Ss(e)||cs(e))e.forEach(s=>{Nn(s,t,n)});else if(no(e)){for(const s in e)Nn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Nn(e[s],t,n)}return e}const fs=[];function Fs(e){fs.push(e)}function Rs(){fs.pop()}let Po=!1;function k(e,...t){if(Po)return;Po=!0,qt();const n=fs.length?fs[fs.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=pm();if(s)Os(s,n,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,i.map(({vnode:r})=>`at <${Gi(n,r.type)}>`).join(`
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.m-loading-parent--relative{position:relative}.m-loading-mask[data-v-da721280]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff9}@keyframes widgetLoading-da721280{0%{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}50%{opacity:1;transform:translateY(calc(var(--column-height) / 2)) scaleY(2)}to{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}}.loading-animate[data-v-da721280]{height:30px;position:relative}.loading-animate .loading-animate-column[data-v-da721280]{position:absolute;width:var(--column-width);height:var(--column-height);opacity:.2;animation:.6s ease-in-out 0s infinite widgetLoading-da721280;transform:translateY(var(--column-height)) scaleY(1);transform-origin:top}.xfade-enter[data-v-da721280],.xfade-enter-from[data-v-da721280]{opacity:0}.xfade-enter-active[data-v-da721280]{transition:opacity .4s ease}.xfade-leave-active[data-v-da721280]{transition:opacity .4s ease;opacity:0}.scroll-wrapper[data-v-2acac909]{overflow-y:auto;scrollbar-width:thin}.scroll-wrapper .virtual-item[data-v-2acac909]{width:100%;position:absolute;top:0;left:0}.monaco-editor-container[data-v-715fa2d2]{width:100%;height:100%}.context-view.monaco-component .workbench-hover-container .hover-contents{white-space:nowrap!important}.monaco-editor-container .codicon.codicon-widget-close{box-sizing:content-box!important}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget{cursor:not-allowed}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget .diff-hidden-lines{pointer-events:none;opacity:.75}.top-bar-wrap[data-v-6518c9f2]{box-sizing:border-box;display:flex;overflow:hidden;align-items:center;background-color:#f7f7f7;padding:4px 8px}.top-bar-wrap .title-area[data-v-6518c9f2]{flex:1;display:flex;align-items:center;overflow:hidden}.top-bar-wrap .title-area .filename[data-v-6518c9f2]{font-size:14px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-bar-wrap .title-area .diff-line-num[data-v-6518c9f2]{flex-shrink:0;display:inline-flex;font-size:12px;font-weight:700;margin-left:4px}.top-bar-wrap .title-area .diff-line-num .add[data-v-6518c9f2]{color:#1a7f37}.top-bar-wrap .title-area .diff-line-num .del[data-v-6518c9f2]{color:#d1242f;margin-left:4px}.top-bar-wrap .toolbar[data-v-6518c9f2]{font-size:12px;flex-shrink:0;display:flex;align-items:center;gap:4px}.top-bar-wrap .toolbar label[data-v-6518c9f2]{display:inline-flex;align-items:center;cursor:pointer;margin-right:4px}.top-bar-wrap .toolbar label.disabled[data-v-6518c9f2]{opacity:.4;cursor:not-allowed;pointer-events:none}.top-bar-wrap .toolbar label input[data-v-6518c9f2]{margin-right:2px}.diff-type-tag[data-v-6518c9f2]{flex-shrink:0;display:block;font-size:10px;font-weight:600;padding:2px 4px;border-radius:2px;margin-left:4px}.diff-type-tag.changed[data-v-6518c9f2]{background-color:#ddf4ff;color:#0969da}.diff-type-tag.add[data-v-6518c9f2]{background-color:#dafbe1;color:#1a7f37}.diff-type-tag.del[data-v-6518c9f2]{background-color:#ffebe9;color:#d1242f}.diff-type-tag.rename[data-v-6518c9f2]{background-color:#fff8c5;color:#9a6700}.diff-viewer-wrap[data-v-fc4f3bfe]{width:var(--viewer-width);border:1px solid #ddd}.diff-viewer-wrap .top-bar[data-v-fc4f3bfe]{flex-shrink:0}.diff-viewer-wrap .content-wrap[data-v-fc4f3bfe]{height:var(--viewer-height);overflow:hidden}body{-webkit-tap-highlight-color:transparent}@-webkit-keyframes vtree-animation-spin{0%{-webkit-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0) translateZ(0)}to{-webkit-transform:rotate(360deg) translate3d(0,0,0);transform:rotate(360deg) translateZ(0)}}@keyframes vtree-animation-spin{0%{-webkit-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0) translateZ(0)}to{-webkit-transform:rotate(360deg) translate3d(0,0,0);transform:rotate(360deg) translateZ(0)}}@-webkit-keyframes vtree-animation-svg-circle-spin{0%{stroke-dasharray:1 130;stroke-dashoffset:0}50%{stroke-dasharray:90 130;stroke-dashoffset:-30}to{stroke-dasharray:90 130;stroke-dashoffset:-124}}@keyframes vtree-animation-svg-circle-spin{0%{stroke-dasharray:1 130;stroke-dashoffset:0}50%{stroke-dasharray:90 130;stroke-dashoffset:-30}to{stroke-dasharray:90 130;stroke-dashoffset:-124}}.vtree-tree__wrapper{width:100%;height:100%;position:relative}.vtree-tree__scroll-area{width:100%;height:100%;overflow:auto;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.vtree-tree__block-area{-webkit-box-flex:1;-ms-flex:1;flex:1}.vtree-tree__empty{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0}.vtree-tree__empty-text_default{width:100%;text-align:center}.vtree-tree__loading{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;background-color:#fffffff2}.vtree-tree__loading-wrapper{width:100%;text-align:center}.vtree-tree__loading-icon{display:inline-block;width:30px;height:30px;-webkit-animation:vtree-animation-spin 2s linear infinite;animation:vtree-animation-spin 2s linear infinite}.vtree-tree__loading-icon .vtree-loading-icon__circle{stroke:#2d8cf0;stroke-linecap:round;-webkit-animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite;animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite}.vtree-tree__iframe{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;display:block;border:none;padding:0;margin:0;opacity:0;z-index:-1000;pointer-events:none}.vtree-tree-node__indent-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.vtree-tree-node__wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vtree-tree-node__drop{width:100%;height:2px}.vtree-tree-node__drop_active{background-color:#5cadff}.vtree-tree-node__node-body{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vtree-tree-node__square{position:relative;width:20px;height:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vtree-tree-node__expand i{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;width:16px;height:16px;position:relative;-webkit-transition:-webkit-transform .2s linear;transition:-webkit-transform .2s linear;transition:transform .2s linear;transition:transform .2s linear,-webkit-transform .2s linear}.vtree-tree-node__expand i:after{content:"";display:block;width:0;height:0;position:absolute;border:5px solid transparent;border-left:5px solid #515a6e}.vtree-tree-node__expand_active i{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.vtree-tree-node__loading-icon{display:inline-block;width:14px;height:14px;-webkit-animation:vtree-animation-spin 2s linear infinite;animation:vtree-animation-spin 2s linear infinite}.vtree-tree-node__loading-icon .vtree-loading-icon__circle{stroke:#515a6e;stroke-linecap:round;-webkit-animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite;animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite}.vtree-tree-node__checkbox{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;width:14px;height:14px;position:absolute;border:1px solid;border-color:#dcdee2;border-radius:2px;background-color:#fff;-webkit-transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.vtree-tree-node__checkbox:after{content:"";display:table;position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid #fff;border-top:0;border-left:0;width:4px;height:8px;top:1px;left:4px;-webkit-transform:rotate(45deg) scale(0);transform:rotate(45deg) scale(0);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}@media(any-hover:hover){.vtree-tree-node__checkbox:hover{border-color:#c5c8ce}}.vtree-tree-node__checkbox:focus{-webkit-box-shadow:0 0 0 2px #5cadff;box-shadow:0 0 0 2px #5cadff}.vtree-tree-node__checkbox_checked{border-color:#2d8cf0;background-color:#2d8cf0}.vtree-tree-node__checkbox_checked:after{width:4px;height:8px;top:1px;left:4px;-webkit-transform:rotate(45deg) scale(1);transform:rotate(45deg) scale(1)}@media(any-hover:hover){.vtree-tree-node__checkbox_checked:hover{border-color:#2d8cf0;background-color:#2d8cf0}}.vtree-tree-node__checkbox_indeterminate{border-color:#2d8cf0;background-color:#2d8cf0}.vtree-tree-node__checkbox_indeterminate:after{width:8px;height:1px;top:5px;left:2px;-webkit-transform:scale(1);transform:scale(1)}@media(any-hover:hover){.vtree-tree-node__checkbox_indeterminate:hover{border-color:#2d8cf0;background-color:#2d8cf0}}.vtree-tree-node__checkbox_disabled{cursor:not-allowed;border-color:#dcdee2;background-color:#e8eaec}@media(any-hover:hover){.vtree-tree-node__checkbox_disabled:hover{border-color:#dcdee2;background-color:#e8eaec}}.vtree-tree-node__checkbox_disabled:after{border-color:#c5c8ce}.vtree-tree-node__title{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-flex:1;-ms-flex:1;flex:1;height:26px;line-height:26px;margin-left:5px;padding-left:5px;background-color:transparent;word-break:keep-all;white-space:nowrap;word-wrap:none}@media(any-hover:hover){.vtree-tree-node__title:hover{background-color:#ebf5ff}}.vtree-tree-node__title_selected{background-color:#d4e7fc}@media(any-hover:hover){.vtree-tree-node__title_selected:hover{background-color:#d4e7fc}}.vtree-tree-node__title_disabled{cursor:not-allowed;color:#c5c8ce}.vtree-expand-animation-enter-from,.vtree-expand-animation-leave-to{opacity:0;grid-template-rows:0fr}.vtree-expand-animation-enter-to,.vtree-expand-animation-leave-from{opacity:1;grid-template-rows:1fr}.vtree-expand-animation-enter-active,.vtree-expand-animation-leave-active{-webkit-transition:opacity .2s,grid-template-rows .2s;transition:opacity .2s,grid-template-rows .2s;transition:opacity .2s,grid-template-rows .2s,-ms-grid-rows .2s}.vtree-tree-search__wrapper{width:100%;height:100%;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vtree-tree-search__search{height:42px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box}.vtree-tree-search__check-all-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-pack:initial;-ms-flex-pack:initial;justify-content:initial;width:40px}.vtree-tree-search__check-all{margin-left:23px}.vtree-tree-search__input-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:5px;-webkit-box-flex:1;-ms-flex:1;flex:1}.vtree-tree-search__input{color:#515a6e;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:32px;border:1px solid #dcdee2;border-radius:4px;padding:4px 7px;outline:none;-webkit-transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.vtree-tree-search__input::-webkit-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::-moz-placeholder{color:#c5c8ce}.vtree-tree-search__input:-ms-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::-ms-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::placeholder{color:#c5c8ce}@media(any-hover:hover){.vtree-tree-search__input:hover{border-color:#57a3f3}}.vtree-tree-search__input:focus{border-color:#57a3f3;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px #2d8cf033}.vtree-tree-search__input_disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}@media(any-hover:hover){.vtree-tree-search__input_disabled:hover{border-color:#dcdee2}}.vtree-tree-search__action-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 10px}.vtree-tree-search__checked-button{cursor:pointer}@media(any-hover:hover){.vtree-tree-search__checked-button:hover{color:#5cadff}}.vtree-tree-search__checked-button_active{color:#2d8cf0}.vtree-tree-search__tree-wrapper{width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto}.vtree-tree-search__footer{padding:5px}.vtree-tree-drop__wrapper{position:relative}.vtree-tree-drop__reference{cursor:pointer}.vtree-tree-drop__display-input{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-right:20px}.vtree-tree-drop__display-input-text{display:block;height:100%;line-height:22px}.vtree-tree-drop__display-input-placeholder{color:#c5c8ce}.vtree-tree-drop__display-input_focus{border-color:#57a3f3;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px #2d8cf033}.vtree-tree-drop__display-icon-drop{position:absolute;top:8px;right:3px;width:14px;height:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border:3px solid #808695;border-top:none;border-left:none;-webkit-transform:rotate(45deg) scale(.5) translateX(-3.5px) translateY(-3.5px);transform:rotate(45deg) scale(.5) translate(-3.5px) translateY(-3.5px);-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.vtree-tree-drop__display-icon-drop_active{-webkit-transform:rotate(225deg) scale(.5) translateX(-3.5px) translateY(-3.5px);transform:rotate(225deg) scale(.5) translate(-3.5px) translateY(-3.5px)}.vtree-tree-drop__display-icon-clear{position:absolute;top:8px;right:3px;width:14px;height:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50%;background-color:#808695;overflow:hidden;-webkit-transform:scale(.9) rotate(45deg);transform:scale(.9) rotate(45deg);display:none}.vtree-tree-drop__display-icon-clear:before{content:"";width:1px;height:7px;display:block;background-color:#fff;position:absolute;top:3.5px;left:6.5px}.vtree-tree-drop__display-icon-clear:after{content:"";width:1px;height:7px;display:block;background-color:#fff;position:absolute;top:3.5px;left:6.5px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}@media(any-hover:hover){.vtree-tree-drop__display-input:hover .vtree-tree-drop__display-icon-clear{display:block}}.vtree-tree-drop__dropdown{position:absolute;top:-999px;left:-999px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px #0003;border-radius:4px;margin:5px 0;padding:5px 0;-webkit-transform-origin:center top 0px;transform-origin:center top 0px;background-color:#fff;z-index:9999}.vtree-tree-drop__dropdown .vtree-tree-search__search{border-bottom:1px solid #dcdee2;padding-bottom:5px;height:38px}.vtree-tree-drop__dropdown .vtree-tree-search__tree-wrapper{padding-top:5px}.vtree-dropdown-enter-from,.vtree-dropdown-leave-to{opacity:0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}.vtree-dropdown-enter-active,.vtree-dropdown-leave-active{-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s}.file-search[data-v-035db611]{flex:0 0 auto;padding:8px 9px;border-bottom:1px solid #dfe3e8;box-sizing:border-box;background:#fff}.file-search__input[data-v-035db611]{width:100%;height:32px;padding:4px 9px;border:1px solid #cbd2d9;border-radius:4px;box-sizing:border-box;color:#252a31;background:#fff;font:inherit;font-size:13px;letter-spacing:0;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.file-search__input[data-v-035db611]::placeholder{color:#8a929c}.file-search__input[data-v-035db611]:hover{border-color:#7aaed8}.file-search__input[data-v-035db611]:focus{border-color:#2979b8;box-shadow:0 0 0 2px #2979b829}.file-search__input[data-v-035db611]::-webkit-search-cancel-button{cursor:pointer}.file-explore-wrap[data-v-70ab28a6]{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#fff}.file-tree[data-v-70ab28a6]{flex:1 1 0;width:100%;height:0;min-height:0;overflow:hidden;color:#252a31;font-size:13px}.file-tree-node[data-v-70ab28a6]{display:flex;align-items:center;width:100%;min-width:0;padding-right:8px;box-sizing:border-box;font-size:14px}.file-tree-node .file-tree-node__icon[data-v-70ab28a6]{width:16px;height:16px;margin-right:7px;flex:0 0 16px}.file-tree-node .file-tree-node__label[data-v-70ab28a6]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree-node__title{min-width:0;flex:1;overflow:hidden;cursor:pointer;margin-left:0;padding-left:2px}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree-node__title_selected{color:#1261a6;background:#e7f2fc}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree__empty-text_default{color:#747b85;font-size:13px}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree__scroll-area{scrollbar-width:thin}.diff-list-wrap[data-v-9f37abdf]{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-gutter:stable;padding:8px;box-sizing:border-box}.diff-list-wrap .file-wrap[data-v-9f37abdf]{height:100%;box-sizing:border-box}.diff-list-wrap .file-wrap--selected[data-v-9f37abdf] .diff-viewer-wrap{border-color:#1677ff}.diff-files-wrap[data-v-1a22123f]{width:100%;height:100%;display:flex;flex-direction:column}.diff-files-wrap .content-wrap[data-v-1a22123f]{flex:1;min-height:0;display:flex;overflow:hidden}.diff-files-wrap .content-wrap .file-explore[data-v-1a22123f]{width:300px;min-width:220px;max-width:40%;flex:0 0 300px;border-right:1px solid #dfe3e8;box-sizing:border-box}.diff-files-wrap .content-wrap .filelist-viewer-wrap[data-v-1a22123f]{min-width:0;flex:1;overflow:hidden}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function nt(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Fs=process.env.NODE_ENV!=="production"?Object.freeze([]):[],Pe=()=>{},Ls=()=>!1,An=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ai=e=>e.startsWith("onUpdate:"),ie=Object.assign,Bl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},up=Object.prototype.hasOwnProperty,Ee=(e,t)=>up.call(e,t),B=Array.isArray,ds=e=>ri(e)==="[object Map]",ws=e=>ri(e)==="[object Set]",ec=e=>ri(e)==="[object Date]",fp=e=>ri(e)==="[object RegExp]",Q=e=>typeof e=="function",ee=e=>typeof e=="string",ct=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",lo=e=>(de(e)||Q(e))&&Q(e.then)&&Q(e.catch),Lu=Object.prototype.toString,ri=e=>Lu.call(e),Kl=e=>ri(e).slice(8,-1),ao=e=>ri(e)==="[object Object]",co=e=>ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xn=nt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ru=nt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),uo=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},dp=/-\w/g,Oe=uo(e=>e.replace(dp,t=>t.slice(1).toUpperCase())),hp=/\B([A-Z])/g,ht=uo(e=>e.replace(hp,"-$1").toLowerCase()),fn=uo(e=>e.charAt(0).toUpperCase()+e.slice(1)),en=uo(e=>e?`on${fn(e)}`:""),tt=(e,t)=>!Object.is(e,t),Wn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},qs=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},fo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Tr=e=>{const t=ee(e)?Number(e):NaN;return isNaN(t)?e:t};let tc;const Yi=()=>tc||(tc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pp(e,t){return e+JSON.stringify(t,(n,s)=>typeof s=="function"?s.toString():s)}const Si={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},mp={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},gp="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",vp=nt(gp),nc=2;function yp(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let s=e.split(/(\r?\n)/);const i=s.filter((l,a)=>a%2===1);s=s.filter((l,a)=>a%2===0);let r=0;const o=[];for(let l=0;l<s.length;l++)if(r+=s[l].length+(i[l]&&i[l].length||0),r>=t){for(let a=l-nc;a<=l+nc||n>r;a++){if(a<0||a>=s.length)continue;const c=a+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[a]}`);const u=s[a].length,f=i[a]&&i[a].length||0;if(a===l){const d=t-(r-(u+f)),h=Math.max(1,n>r?u-d:n-t);o.push(" | "+" ".repeat(d)+"^".repeat(h))}else if(a>l){if(n>r){const d=Math.max(Math.min(n-r,u),1);o.push(" | "+"^".repeat(d))}r+=u+f}}break}return o.join(`
|
|
3
|
+
`)}function Xe(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=ee(s)?Fu(s):Xe(s);if(i)for(const r in i)t[r]=i[r]}return t}else if(ee(e)||de(e))return e}const Ep=/;(?![^(]*\))/g,_p=/:([^]+)/,bp=/\/\*[^]*?\*\//g;function Fu(e){const t={};return e.replace(bp,"").split(Ep).forEach(n=>{if(n){const s=n.split(_p);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Np(e){if(!e)return"";if(ee(e))return e;let t="";for(const n in e){const s=e[n];if(ee(s)||typeof s=="number"){const i=n.startsWith("--")?n:ht(n);t+=`${i}:${s};`}}return t}function Ve(e){let t="";if(ee(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=Ve(e[n]);s&&(t+=s+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Sp(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ee(t)&&(e.class=Ve(t)),n&&(e.style=Xe(n)),e}const Op="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,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,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,summary,template,blockquote,iframe,tfoot",wp="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Cp="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Dp="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",$u=nt(Op),ju=nt(wp),Hu=nt(Cp),xp=nt(Dp),Bu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tp=nt(Bu),sc=nt(Bu+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Ul(e){return!!e||e===""}const kp=nt("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),Vp=nt("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function Ap(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Ip=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function Mp(e,t){return e.replace(Ip,n=>`\\${n}`)}function Pp(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=In(e[s],t[s]);return n}function In(e,t){if(e===t)return!0;let n=ec(e),s=ec(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ct(e),s=ct(t),n||s)return e===t;if(n=B(e),s=B(t),n||s)return n&&s?Pp(e,t):!1;if(n=de(e),s=de(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!In(e[o],t[o]))return!1}}return String(e)===String(t)}function ho(e,t){return e.findIndex(n=>In(n,t))}const Ku=e=>!!(e&&e.__v_isRef===!0),on=e=>ee(e)?e:e==null?"":B(e)||de(e)&&(e.toString===Lu||!Q(e.toString))?Ku(e)?on(e.value):JSON.stringify(e,Uu,2):String(e),Uu=(e,t)=>Ku(t)?Uu(e,t.value):ds(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[Ro(s,r)+" =>"]=i,n),{})}:ws(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ro(n))}:ct(t)?Ro(t):de(t)&&!B(t)&&!ao(t)?String(t):t,Ro=(e,t="")=>{var n;return ct(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Wu(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:((typeof e!="number"||!Number.isFinite(e))&&process.env.NODE_ENV!=="production"&&console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:",e),String(e))}function Tt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Je;class Wl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Je&&(Je.active?(this.parent=Je,this.index=(Je.scopes||(Je.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const i=this.scopes.slice();for(t=0,n=i.length;t<n;t++)i[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=Je;try{return Je=this,t()}finally{Je=n}}else process.env.NODE_ENV!=="production"&&this._warnOnRun&&Tt("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=Je,Je=this)}off(){if(this._on>0&&--this._on===0){if(Je===this)Je=this.prevScope;else{let t=Je;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const i=this.scopes.slice();for(n=0,s=i.length;n<s;n++)i[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Lp(e){return new Wl(e)}function zu(){return Je}function qu(e,t=!1){Je?Je.cleanups.push(e):process.env.NODE_ENV!=="production"&&!t&&Tt("onScopeDispose() is called when there is no active effect scope to be associated with.")}let Ce;const Fo=new WeakSet;class Ii{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Je&&(Je.active?Je.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Fo.has(this)&&(Fo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ju(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ic(this),Zu(this);const t=Ce,n=Wt;Ce=this,Wt=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&Ce!==this&&Tt("Active effect was not restored correctly - this is likely a Vue internal bug."),Yu(this),Ce=t,Wt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gl(t);this.deps=this.depsTail=void 0,ic(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Fo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){rl(this)&&this.run()}get dirty(){return rl(this)}}let Gu=0,Oi,wi;function Ju(e,t=!1){if(e.flags|=8,t){e.next=wi,wi=e;return}e.next=Oi,Oi=e}function zl(){Gu++}function ql(){if(--Gu>0)return;if(wi){let t=wi;for(wi=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Oi;){let t=Oi;for(Oi=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Zu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Yu(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Gl(s),Rp(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function rl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Mi)||(e.globalVersion=Mi,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!rl(e))))return;e.flags|=2;const t=e.dep,n=Ce,s=Wt;Ce=e,Wt=!0;try{Zu(e);const i=e.fn(e._value);(t.version===0||tt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ce=n,Wt=s,Yu(e),e.flags&=-3}}function Gl(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=i),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Gl(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Rp(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Fp(e,t){e.effect instanceof Ii&&(e=e.effect.fn);const n=new Ii(e);t&&ie(n,t);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function $p(e){e.effect.stop()}let Wt=!0;const Qu=[];function Gt(){Qu.push(Wt),Wt=!1}function Jt(){const e=Qu.pop();Wt=e===void 0?!0:e}function ic(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ce;Ce=void 0;try{t()}finally{Ce=n}}}let Mi=0;class jp{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class po{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Ce||!Wt||Ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ce)n=this.activeLink=new jp(Ce,this),Ce.deps?(n.prevDep=Ce.depsTail,Ce.depsTail.nextDep=n,Ce.depsTail=n):Ce.deps=Ce.depsTail=n,ef(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Ce.depsTail,n.nextDep=void 0,Ce.depsTail.nextDep=n,Ce.depsTail=n,Ce.deps===n&&(Ce.deps=s)}return process.env.NODE_ENV!=="production"&&Ce.onTrack&&Ce.onTrack(ie({effect:Ce},t)),n}trigger(t){this.version++,Mi++,this.notify(t)}notify(t){zl();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(ie({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ql()}}}function ef(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ef(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const kr=new WeakMap,hs=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),ol=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Pi=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Ze(e,t,n){if(Wt&&Ce){let s=kr.get(e);s||kr.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new po),i.map=s,i.key=n),process.env.NODE_ENV!=="production"?i.track({target:e,type:t,key:n}):i.track()}}function rn(e,t,n,s,i,r){const o=kr.get(e);if(!o){Mi++;return}const l=a=>{a&&(process.env.NODE_ENV!=="production"?a.trigger({target:e,type:t,key:n,newValue:s,oldValue:i,oldTarget:r}):a.trigger())};if(zl(),t==="clear")o.forEach(l);else{const a=B(e),c=a&&co(n);if(a&&n==="length"){const u=Number(s);o.forEach((f,d)=>{(d==="length"||d===Pi||!ct(d)&&d>=u)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(Pi)),t){case"add":a?c&&l(o.get("length")):(l(o.get(hs)),ds(e)&&l(o.get(ol)));break;case"delete":a||(l(o.get(hs)),ds(e)&&l(o.get(ol)));break;case"set":ds(e)&&l(o.get(hs));break}}ql()}function Hp(e,t){const n=kr.get(e);return n&&n.get(t)}function Vs(e){const t=re(e);return t===e?t:(Ze(t,"iterate",Pi),at(e)?t:t.map(Zt))}function mo(e){return Ze(e=re(e),"iterate",Pi),e}function tn(e,t){return Rt(e)?Gs(an(e)?Zt(t):t):Zt(t)}const Bp={__proto__:null,[Symbol.iterator](){return $o(this,Symbol.iterator,e=>tn(this,e))},concat(...e){return Vs(this).concat(...e.map(t=>B(t)?Vs(t):t))},entries(){return $o(this,"entries",e=>(e[1]=tn(this,e[1]),e))},every(e,t){return vn(this,"every",e,t,void 0,arguments)},filter(e,t){return vn(this,"filter",e,t,n=>n.map(s=>tn(this,s)),arguments)},find(e,t){return vn(this,"find",e,t,n=>tn(this,n),arguments)},findIndex(e,t){return vn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return vn(this,"findLast",e,t,n=>tn(this,n),arguments)},findLastIndex(e,t){return vn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return vn(this,"forEach",e,t,void 0,arguments)},includes(...e){return jo(this,"includes",e)},indexOf(...e){return jo(this,"indexOf",e)},join(e){return Vs(this).join(e)},lastIndexOf(...e){return jo(this,"lastIndexOf",e)},map(e,t){return vn(this,"map",e,t,void 0,arguments)},pop(){return ui(this,"pop")},push(...e){return ui(this,"push",e)},reduce(e,...t){return rc(this,"reduce",e,t)},reduceRight(e,...t){return rc(this,"reduceRight",e,t)},shift(){return ui(this,"shift")},some(e,t){return vn(this,"some",e,t,void 0,arguments)},splice(...e){return ui(this,"splice",e)},toReversed(){return Vs(this).toReversed()},toSorted(e){return Vs(this).toSorted(e)},toSpliced(...e){return Vs(this).toSpliced(...e)},unshift(...e){return ui(this,"unshift",e)},values(){return $o(this,"values",e=>tn(this,e))}};function $o(e,t,n){const s=mo(e),i=s[t]();return s!==e&&!at(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const Kp=Array.prototype;function vn(e,t,n,s,i,r){const o=mo(e),l=o!==e&&!at(e),a=o[t];if(a!==Kp[t]){const f=a.apply(e,r);return l?Zt(f):f}let c=n;o!==e&&(l?c=function(f,d){return n.call(this,tn(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=a.call(o,c,s);return l&&i?i(u):u}function rc(e,t,n,s){const i=mo(e),r=i!==e&&!at(e);let o=n,l=!1;i!==e&&(r?(l=s.length===0,o=function(c,u,f){return l&&(l=!1,c=tn(e,c)),n.call(this,c,tn(e,u),f,e)}):n.length>3&&(o=function(c,u,f){return n.call(this,c,u,f,e)}));const a=i[t](o,...s);return l?tn(e,a):a}function jo(e,t,n){const s=re(e);Ze(s,"iterate",Pi);const i=s[t](...n);return(i===-1||i===!1)&&Es(n[0])?(n[0]=re(n[0]),s[t](...n)):i}function ui(e,t,n=[]){Gt(),zl();const s=re(e)[t].apply(e,n);return ql(),Jt(),s}const Up=nt("__proto__,__v_isRef,__isVue"),tf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ct));function Wp(e){ct(e)||(e=String(e));const t=re(this);return Ze(t,"has",e),t.hasOwnProperty(e)}class nf{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?cf:af:r?lf:of).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!i){let a;if(o&&(a=Bp[n]))return a;if(n==="hasOwnProperty")return Wp}const l=Reflect.get(t,n,Re(t)?t:s);if((ct(n)?tf.has(n):Up(n))||(i||Ze(t,"get",n),r))return l;if(Re(l)){const a=o&&co(n)?l:l.value;return i&&de(a)?Li(a):a}return de(l)?i?Li(l):oi(l):l}}class sf extends nf{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];const o=B(t)&&co(n);if(!this._isShallow){const c=Rt(r);if(!at(s)&&!Rt(s)&&(r=re(r),s=re(s)),!o&&Re(r)&&!Re(s))return c?(process.env.NODE_ENV!=="production"&&Tt(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(r.value=s,!0)}const l=o?Number(n)<t.length:Ee(t,n),a=Reflect.set(t,n,s,Re(t)?t:i);return t===re(i)&&a&&(l?tt(s,r)&&rn(t,"set",n,s,r):rn(t,"add",n,s)),a}deleteProperty(t,n){const s=Ee(t,n),i=t[n],r=Reflect.deleteProperty(t,n);return r&&s&&rn(t,"delete",n,void 0,i),r}has(t,n){const s=Reflect.has(t,n);return(!ct(n)||!tf.has(n))&&Ze(t,"has",n),s}ownKeys(t){return Ze(t,"iterate",B(t)?"length":hs),Reflect.ownKeys(t)}}class rf extends nf{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&Tt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&Tt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const zp=new sf,qp=new rf,Gp=new sf(!0),Jp=new rf(!0),ll=e=>e,ur=e=>Reflect.getPrototypeOf(e);function Zp(e,t,n){return function(...s){const i=this.__v_raw,r=re(i),o=ds(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=i[e](...s),u=n?ll:t?Gs:Zt;return!t&&Ze(r,"iterate",a?ol:hs),ie(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function fr(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";Tt(`${fn(e)} operation ${n}failed: target is readonly.`,re(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Yp(e,t){const n={get(i){const r=this.__v_raw,o=re(r),l=re(i);e||(tt(i,l)&&Ze(o,"get",i),Ze(o,"get",l));const{has:a}=ur(o),c=t?ll:e?Gs:Zt;if(a.call(o,i))return c(r.get(i));if(a.call(o,l))return c(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&Ze(re(i),"iterate",hs),i.size},has(i){const r=this.__v_raw,o=re(r),l=re(i);return e||(tt(i,l)&&Ze(o,"has",i),Ze(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,a=re(l),c=t?ll:e?Gs:Zt;return!e&&Ze(a,"iterate",hs),l.forEach((u,f)=>i.call(r,c(u),c(f),o))}};return ie(n,e?{add:fr("add"),set:fr("set"),delete:fr("delete"),clear:fr("clear")}:{add(i){const r=re(this),o=ur(r),l=re(i),a=!t&&!at(i)&&!Rt(i)?l:i;return o.has.call(r,a)||tt(i,a)&&o.has.call(r,i)||tt(l,a)&&o.has.call(r,l)||(r.add(a),rn(r,"add",a,a)),this},set(i,r){!t&&!at(r)&&!Rt(r)&&(r=re(r));const o=re(this),{has:l,get:a}=ur(o);let c=l.call(o,i);c?process.env.NODE_ENV!=="production"&&oc(o,l,i):(i=re(i),c=l.call(o,i));const u=a.call(o,i);return o.set(i,r),c?tt(r,u)&&rn(o,"set",i,r,u):rn(o,"add",i,r),this},delete(i){const r=re(this),{has:o,get:l}=ur(r);let a=o.call(r,i);a?process.env.NODE_ENV!=="production"&&oc(r,o,i):(i=re(i),a=o.call(r,i));const c=l?l.call(r,i):void 0,u=r.delete(i);return a&&rn(r,"delete",i,void 0,c),u},clear(){const i=re(this),r=i.size!==0,o=process.env.NODE_ENV!=="production"?ds(i)?new Map(i):new Set(i):void 0,l=i.clear();return r&&rn(i,"clear",void 0,void 0,o),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Zp(i,e,t)}),n}function go(e,t){const n=Yp(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(Ee(n,i)&&i in s?n:s,i,r)}const Xp={get:go(!1,!1)},Qp={get:go(!1,!0)},em={get:go(!0,!1)},tm={get:go(!0,!0)};function oc(e,t,n){const s=re(n);if(s!==n&&t.call(e,s)){const i=Kl(e);Tt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const of=new WeakMap,lf=new WeakMap,af=new WeakMap,cf=new WeakMap;function nm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function oi(e){return Rt(e)?e:vo(e,!1,zp,Xp,of)}function uf(e){return vo(e,!1,Gp,Qp,lf)}function Li(e){return vo(e,!0,qp,em,af)}function Kt(e){return vo(e,!0,Jp,tm,cf)}function vo(e,t,n,s,i){if(!de(e))return process.env.NODE_ENV!=="production"&&Tt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=nm(Kl(e));if(o===0)return e;const l=new Proxy(e,o===2?s:n);return i.set(e,l),l}function an(e){return Rt(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function Rt(e){return!!(e&&e.__v_isReadonly)}function at(e){return!!(e&&e.__v_isShallow)}function Es(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function ff(e){return!Ee(e,"__v_skip")&&Object.isExtensible(e)&&qs(e,"__v_skip",!0),e}const Zt=e=>de(e)?oi(e):e,Gs=e=>de(e)?Li(e):e;function Re(e){return e?e.__v_isRef===!0:!1}function ne(e){return df(e,!1)}function Gn(e){return df(e,!0)}function df(e,t){return Re(e)?e:new sm(e,t)}class sm{constructor(t,n){this.dep=new po,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:re(t),this._value=n?t:Zt(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||at(t)||Rt(t);t=s?t:re(t),tt(t,n)&&(this._rawValue=t,this._value=s?t:Zt(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function al(e){e.dep&&(process.env.NODE_ENV!=="production"?e.dep.trigger({target:e,type:"set",key:"value",newValue:e._value}):e.dep.trigger())}function Z(e){return Re(e)?e.value:e}function im(e){return Q(e)?e():Z(e)}const rm={get:(e,t,n)=>t==="__v_raw"?e:Z(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Re(i)&&!Re(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Jl(e){return an(e)?e:new Proxy(e,rm)}class om{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new po,{get:s,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function hf(e){return new om(e)}function pf(e){process.env.NODE_ENV!=="production"&&!Es(e)&&Tt("toRefs() expects a reactive object but received a plain one.");const t=B(e)?new Array(e.length):{};for(const n in e)t[n]=mf(e,n);return t}class lm{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=ct(n)?n:String(n),this._raw=re(t);let i=!0,r=t;if(!B(t)||ct(this._key)||!co(this._key))do i=!Es(r)||at(r);while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=Z(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Re(this._raw[this._key])){const n=this._object[this._key];if(Re(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Hp(this._raw,this._key)}}class am{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function cm(e,t,n){return Re(e)?e:Q(e)?new am(e):de(e)&&arguments.length>1?mf(e,t,n):ne(e)}function mf(e,t,n){return new lm(e,t,n)}class um{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new po(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Mi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ce!==this)return Ju(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Xu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&Tt("Write operation failed: computed value is readonly")}}function fm(e,t,n=!1){let s,i;Q(e)?s=e:(s=e.get,i=e.set);const r=new um(s,i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const dm={GET:"get",HAS:"has",ITERATE:"iterate"},hm={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},dr={},Vr=new WeakMap;let Bn;function pm(){return Bn}function gf(e,t=!1,n=Bn){if(n){let s=Vr.get(n);s||Vr.set(n,s=[]),s.push(e)}else process.env.NODE_ENV!=="production"&&!t&&Tt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function mm(e,t,n=ce){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:a}=n,c=y=>{(n.onWarn||Tt)("Invalid watch source: ",y,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=y=>i?y:at(y)||i===!1||i===0?wn(y,1):wn(y);let f,d,h,m,p=!1,S=!1;if(Re(e)?(d=()=>e.value,p=at(e)):an(e)?(d=()=>u(e),p=!0):B(e)?(S=!0,p=e.some(y=>an(y)||at(y)),d=()=>e.map(y=>{if(Re(y))return y.value;if(an(y))return u(y);if(Q(y))return a?a(y,2):y();process.env.NODE_ENV!=="production"&&c(y)})):Q(e)?t?d=a?()=>a(e,2):e:d=()=>{if(h){Gt();try{h()}finally{Jt()}}const y=Bn;Bn=f;try{return a?a(e,3,[m]):e(m)}finally{Bn=y}}:(d=Pe,process.env.NODE_ENV!=="production"&&c(e)),t&&i){const y=d,D=i===!0?1/0:i;d=()=>wn(y(),D)}const N=zu(),_=()=>{f.stop(),N&&N.active&&Bl(N.effects,f)};if(r&&t){const y=t;t=(...D)=>{const T=y(...D);return _(),T}}let v=S?new Array(e.length).fill(dr):dr;const E=y=>{if(!(!(f.flags&1)||!f.dirty&&!y))if(t){const D=f.run();if(y||i||p||(S?D.some((T,C)=>tt(T,v[C])):tt(D,v))){h&&h();const T=Bn;Bn=f;try{const C=[D,v===dr?void 0:S&&v[0]===dr?[]:v,m];v=D,a?a(t,3,C):t(...C)}finally{Bn=T}}}else f.run()};return l&&l(E),f=new Ii(d),f.scheduler=o?()=>o(E,!1):E,m=y=>gf(y,!1,f),h=f.onStop=()=>{const y=Vr.get(f);if(y){if(a)a(y,4);else for(const D of y)D();Vr.delete(f)}},process.env.NODE_ENV!=="production"&&(f.onTrack=n.onTrack,f.onTrigger=n.onTrigger),t?s?E(!0):v=f.run():o?o(E.bind(null,!0),!0):f.run(),_.pause=f.pause.bind(f),_.resume=f.resume.bind(f),_.stop=_,_}function wn(e,t=1/0,n){if(t<=0||!de(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Re(e))wn(e.value,t,n);else if(B(e))for(let s=0;s<e.length;s++)wn(e[s],t,n);else if(ws(e)||ds(e))e.forEach(s=>{wn(s,t,n)});else if(ao(e)){for(const s in e)wn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&wn(e[s],t,n)}return e}const ps=[];function $s(e){ps.push(e)}function js(){ps.pop()}let Ho=!1;function I(e,...t){if(Ho)return;Ho=!0,Gt();const n=ps.length?ps[ps.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=gm();if(s)Cs(s,n,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,i.map(({vnode:r})=>`at <${nr(n,r.type)}>`).join(`
|
|
4
4
|
`),i]);else{const r=[`[Vue warn]: ${e}`,...t];i.length&&r.push(`
|
|
5
|
-
`,...
|
|
6
|
-
`],...gm(n))}),t}function gm({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${Gi(e.component,e.type,s)}`,r=">"+n;return e.props?[i,...vm(e.props),r]:[i+r]}function vm(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...uf(s,e[s]))}),n.length>3&&t.push(" ..."),t}function uf(e,t,n){return te(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ie(t)?(t=uf(e,re(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Q(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=re(t),n?t:[`${e}=`,t])}function Kl(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?k(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&k(`${t} is NaN - the duration expression might be incorrect.`))}const ym={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},fo={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Os(e,t,n,s){try{return s?e(...s):e()}catch(i){es(i,t,n)}}function Lt(e,t,n,s){if(Q(e)){const i=Os(e,t,n,s);return i&&to(i)&&i.catch(r=>{es(r,t,n)}),i}if(K(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Lt(e[r],t,n,s));return i}else process.env.NODE_ENV!=="production"&&k(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function es(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ue;if(t){let l=t.parent;const a=t.proxy,c=process.env.NODE_ENV!=="production"?fo[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}l=l.parent}if(r){qt(),Os(r,null,10,[e,a,c]),Gt();return}}Em(e,n,i,s,o)}function Em(e,t,n,s=!0,i=!1){if(process.env.NODE_ENV!=="production"){const r=fo[t];if(n&&Fs(n),k(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Rs(),s)throw e;console.error(e)}else{if(i)throw e;console.error(e)}}const vt=[];let Yt=-1;const $s=[];let Rn=null,Is=0;const ff=Promise.resolve();let xr=null;const _m=100;function Xn(e){const t=xr||ff;return e?t.then(this?e.bind(this):e):t}function bm(e){let t=Yt+1,n=vt.length;for(;t<n;){const s=t+n>>>1,i=vt[s],r=ki(i);r<e||r===e&&i.flags&2?t=s+1:n=s}return t}function ho(e){if(!(e.flags&1)){const t=ki(e),n=vt[vt.length-1];!n||!(e.flags&2)&&t>=ki(n)?vt.push(e):vt.splice(bm(t),0,e),e.flags|=1,df()}}function df(){xr||(xr=ff.then(hf))}function zs(e){K(e)?$s.push(...e):Rn&&e.id===-1?Rn.splice(Is+1,0,e):e.flags&1||($s.push(e),e.flags|=1),df()}function Xa(e,t,n=Yt+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<vt.length;n++){const s=vt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid||process.env.NODE_ENV!=="production"&&Ul(t,s))continue;vt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Tr(e){if($s.length){const t=[...new Set($s)].sort((n,s)=>ki(n)-ki(s));if($s.length=0,Rn){Rn.push(...t);return}for(Rn=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Is=0;Is<Rn.length;Is++){const n=Rn[Is];process.env.NODE_ENV!=="production"&&Ul(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}Rn=null,Is=0}}const ki=e=>e.id==null?e.flags&2?-1:1/0:e.id;function hf(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Ul(e,n):ke;try{for(Yt=0;Yt<vt.length;Yt++){const n=vt[Yt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Os(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Yt<vt.length;Yt++){const n=vt[Yt];n&&(n.flags&=-2)}Yt=-1,vt.length=0,Tr(e),xr=null,(vt.length||$s.length)&&hf(e)}}function Ul(e,t){const n=e.get(t)||0;if(n>_m){const s=t.i,i=s&&Js(s.type);return es(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let At=!1;const pr=new Map;process.env.NODE_ENV!=="production"&&(Ui().__VUE_HMR_RUNTIME__={createRecord:Lo(pf),rerender:Lo(Om),reload:Lo(wm)});const ys=new Map;function Nm(e){const t=e.type.__hmrId;let n=ys.get(t);n||(pf(t,e.type),n=ys.get(t)),n.instances.add(e)}function Sm(e){ys.get(e.type.__hmrId).instances.delete(e)}function pf(e,t){return ys.has(e)?!1:(ys.set(e,{initialDef:Vr(t),instances:new Set}),!0)}function Vr(e){return bd(e)?e.__vccOpts:e}function Om(e,t){const n=ys.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,Vr(s.type).render=t),s.renderCache=[],At=!0,s.job.flags&8||s.update(),At=!1}))}function wm(e,t){const n=ys.get(e);if(!n)return;t=Vr(t),Qa(n.initialDef,t);const s=[...n.instances];for(let i=0;i<s.length;i++){const r=s[i],o=Vr(r.type);let l=pr.get(o);l||(o!==n.initialDef&&Qa(o,t),pr.set(o,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(t.styles),l.delete(r)):r.parent?ho(()=>{r.job.flags&8||(At=!0,r.parent.update(),At=!1,l.delete(r))}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(o)}zs(()=>{pr.clear()})}function Qa(e,t){oe(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Lo(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let jt,hi=[],sl=!1;function Wi(e,...t){jt?jt.emit(e,...t):sl||hi.push({event:e,args:t})}function Wl(e,t){var n,s;jt=e,jt?(jt.enabled=!0,hi.forEach(({event:i,args:r})=>jt.emit(i,...r)),hi=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Wl(r,t)}),setTimeout(()=>{jt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,sl=!0,hi=[])},3e3)):(sl=!0,hi=[])}function Cm(e,t){Wi("app:init",e,t,{Fragment:we,Text:ln,Comment:Ae,Static:qn})}function Dm(e){Wi("app:unmount",e)}const il=zl("component:added"),mf=zl("component:updated"),xm=zl("component:removed"),Tm=e=>{jt&&typeof jt.cleanupBuffer=="function"&&!jt.cleanupBuffer(e)&&xm(e)};function zl(e){return t=>{Wi(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Vm=gf("perf:start"),km=gf("perf:end");function gf(e){return(t,n,s)=>{Wi(e,t.appContext.app,t.uid,t,n,s)}}function Am(e,t,n){Wi("component:emit",e.appContext.app,e,t,n)}let Re=null,po=null;function Ai(e){const t=Re;return Re=e,po=e&&e.type.__scopeId||null,t}function Im(e){po=e}function Mm(){po=null}const Pm=e=>rn;function rn(e,t=Re,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Pi(-1);const r=Ai(t);let o;try{o=e(...i)}finally{Ai(r),s._d&&Pi(1)}return process.env.NODE_ENV!=="production"&&mf(t),o};return s._n=!0,s._c=!0,s._d=!0,s}function vf(e){Vu(e)&&k("Do not use built-in directive ids as custom directive id: "+e)}function zn(e,t){if(Re===null)return process.env.NODE_ENV!=="production"&&k("withDirectives can only be used inside render functions."),e;const n=qi(Re),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,a=ue]=t[i];r&&(Q(r)&&(r={mounted:r,updated:r}),r.deep&&Nn(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function Xt(e,t,n,s){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let a=l.dir[s];a&&(qt(),Lt(a,n,8,[e.el,l,e,t]),Gt())}}function ql(e,t){if(process.env.NODE_ENV!=="production"&&(!Fe||Fe.isMounted)&&k("provide() can only be used inside setup()."),Fe){let n=Fe.provides;const s=Fe.parent&&Fe.parent.provides;s===n&&(n=Fe.provides=Object.create(s)),n[e]=t}}function js(e,t,n=!1){const s=ze();if(s||ms){let i=ms?ms._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Q(t)?t.call(s&&s.proxy):t;process.env.NODE_ENV!=="production"&&k(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&k("inject() can only be used inside setup() or functional components.")}function Lm(){return!!(ze()||ms)}const yf=Symbol.for("v-scx"),Ef=()=>{{const e=js(yf);return e||process.env.NODE_ENV!=="production"&&k("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Fm(e,t){return zi(e,null,t)}function Rm(e,t){return zi(e,null,process.env.NODE_ENV!=="production"?oe({},t,{flush:"post"}):{flush:"post"})}function _f(e,t){return zi(e,null,process.env.NODE_ENV!=="production"?oe({},t,{flush:"sync"}):{flush:"sync"})}function ft(e,t,n){return process.env.NODE_ENV!=="production"&&!Q(t)&&k("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),zi(e,t,n)}function zi(e,t,n=ue){const{immediate:s,deep:i,flush:r,once:o}=n;process.env.NODE_ENV!=="production"&&!t&&(s!==void 0&&k('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&k('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&k('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=oe({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=k);const a=t&&s||!t&&r!=="post";let c;if(Gs){if(r==="sync"){const h=Ef();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=ke,h.resume=ke,h.pause=ke,h}}const u=Fe;l.call=(h,m,p)=>Lt(h,u,m,p);let f=!1;r==="post"?l.scheduler=h=>{He(h,u&&u.suspense)}:r!=="sync"&&(f=!0,l.scheduler=(h,m)=>{m?h():ho(h)}),l.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=hm(e,t,l);return Gs&&(c?c.push(d):a&&d()),d}function $m(e,t,n){const s=this.proxy,i=te(e)?e.includes(".")?bf(s,e):()=>s[e]:e.bind(s,s);let r;Q(t)?r=t:(r=t.handler,n=t);const o=bs(this),l=zi(i,r.bind(s),n);return o(),l}function bf(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const Nf=Symbol("_vte"),Sf=e=>e.__isTeleport,ds=e=>e&&(e.disabled||e.disabled===""),ec=e=>e&&(e.defer||e.defer===""),tc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,nc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,rl=(e,t)=>{const n=e&&e.to;if(te(n))if(t){const s=t(n);return process.env.NODE_ENV!=="production"&&!s&&!ds(e)&&k(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),s}else return process.env.NODE_ENV!=="production"&&k("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!ds(e)&&k(`Invalid Teleport target: ${n}`),n},Of={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,r,o,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:m,createText:p,createComment:S}}=c,N=ds(t.props);let{shapeFlag:E,children:g,dynamicChildren:_}=t;if(process.env.NODE_ENV!=="production"&&At&&(a=!1,_=null),e==null){const y=t.el=process.env.NODE_ENV!=="production"?S("teleport start"):p(""),w=t.anchor=process.env.NODE_ENV!=="production"?S("teleport end"):p("");h(y,n,s),h(w,n,s);const P=(O,D)=>{E&16&&u(g,O,D,i,r,o,l,a)},T=()=>{const O=t.target=rl(t.props,m),D=wf(O,t,p,h);O?(o!=="svg"&&tc(O)?o="svg":o!=="mathml"&&nc(O)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(O),N||(P(O,D),mr(t,!1))):process.env.NODE_ENV!=="production"&&!N&&k("Invalid Teleport target on mount:",O,`(${typeof O})`)};N&&(P(n,w),mr(t,!0)),ec(t.props)?(t.el.__isMounted=!1,He(()=>{T(),delete t.el.__isMounted},r)):T()}else{if(ec(t.props)&&e.el.__isMounted===!1){He(()=>{Of.process(e,t,n,s,i,r,o,l,a,c)},r);return}t.el=e.el,t.targetStart=e.targetStart;const y=t.anchor=e.anchor,w=t.target=e.target,P=t.targetAnchor=e.targetAnchor,T=ds(e.props),O=T?n:w,D=T?y:P;if(o==="svg"||tc(w)?o="svg":(o==="mathml"||nc(w))&&(o="mathml"),_?(d(e.dynamicChildren,_,O,i,r,o,l),Ni(e,t,process.env.NODE_ENV==="production")):a||f(e,t,O,D,i,r,o,l,!1),N)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rr(t,n,y,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=rl(t.props,m);I?rr(t,I,null,c,0):process.env.NODE_ENV!=="production"&&k("Invalid Teleport target on update:",w,`(${typeof w})`)}else T&&rr(t,w,P,c,1);mr(t,N)}},remove(e,t,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:a,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(i(c),i(u)),r&&i(a),o&16){const h=r||!ds(d);for(let m=0;m<l.length;m++){const p=l[m];s(p,t,n,h,!!p.dynamicChildren)}}},move:rr,hydrate:jm};function rr(e,t,n,{o:{insert:s},m:i},r=2){r===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:a,children:c,props:u}=e,f=r===2;if(f&&s(o,t,n),(!f||ds(u))&&a&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&s(l,t,n)}function jm(e,t,n,s,i,r,{o:{nextSibling:o,parentNode:l,querySelector:a,insert:c,createText:u}},f){function d(p,S,N,E){S.anchor=f(o(p),S,l(p),n,s,i,r),S.targetStart=N,S.targetAnchor=E}const h=t.target=rl(t.props,a),m=ds(t.props);if(h){const p=h._lpa||h.firstChild;if(t.shapeFlag&16)if(m)d(e,t,p,p&&o(p));else{t.anchor=o(e);let S=p;for(;S;){if(S&&S.nodeType===8){if(S.data==="teleport start anchor")t.targetStart=S;else if(S.data==="teleport anchor"){t.targetAnchor=S,h._lpa=t.targetAnchor&&o(t.targetAnchor);break}}S=o(S)}t.targetAnchor||wf(h,t,u,c),f(p&&o(p),t,h,n,s,i,r)}mr(t,m)}else m&&t.shapeFlag&16&&d(e,t,e,o(e));return t.anchor&&o(t.anchor)}const Hm=Of;function mr(e,t){const n=e.ctx;if(n&&n.ut){let s,i;for(t?(s=e.el,i=e.anchor):(s=e.targetStart,i=e.targetAnchor);s&&s!==i;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function wf(e,t,n,s){const i=t.targetStart=n(""),r=t.targetAnchor=n("");return i[Nf]=r,e&&(s(i,e),s(r,e)),r}const _n=Symbol("_leaveCb"),or=Symbol("_enterCb");function Gl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return un(()=>{e.isMounted=!0}),ws(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],Jl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},Cf=e=>{const t=e.subTree;return t.component?Cf(t.component):t},Bm={name:"BaseTransition",props:Jl,setup(e,{slots:t}){const n=ze(),s=Gl();return()=>{const i=t.default&&mo(t.default(),!0);if(!i||!i.length)return;const r=Df(i),o=re(e),{mode:l}=o;if(process.env.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&k(`invalid <transition> mode: ${l}`),s.isLeaving)return Fo(r);const a=sc(r);if(!a)return Fo(r);let c=qs(a,o,s,n,f=>c=f);a.type!==Ae&&Tn(a,c);let u=n.subTree&&sc(n.subTree);if(u&&u.type!==Ae&&!Ht(u,a)&&Cf(n).type!==Ae){let f=qs(u,o,s,n);if(Tn(u,f),l==="out-in"&&a.type!==Ae)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Fo(r);l==="in-out"&&a.type!==Ae?f.delayLeave=(d,h,m)=>{const p=Tf(s,u);p[String(u.key)]=u,d[_n]=()=>{h(),d[_n]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Df(e){let t=e[0];if(e.length>1){let n=!1;for(const s of e)if(s.type!==Ae){if(process.env.NODE_ENV!=="production"&&n){k("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=s,n=!0,process.env.NODE_ENV==="production")break}}return t}const xf=Bm;function Tf(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function qs(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:S,onAppear:N,onAfterAppear:E,onAppearCancelled:g}=t,_=String(e.key),y=Tf(n,e),w=(O,D)=>{O&&Lt(O,s,9,D)},P=(O,D)=>{const I=D[1];w(O,D),K(O)?O.every(C=>C.length<=1)&&I():O.length<=1&&I()},T={mode:o,persisted:l,beforeEnter(O){let D=a;if(!n.isMounted)if(r)D=S||a;else return;O[_n]&&O[_n](!0);const I=y[_];I&&Ht(e,I)&&I.el[_n]&&I.el[_n](),w(D,[O])},enter(O){let D=c,I=u,C=f;if(!n.isMounted)if(r)D=N||c,I=E||u,C=g||f;else return;let R=!1;const G=O[or]=z=>{R||(R=!0,z?w(C,[O]):w(I,[O]),T.delayedLeave&&T.delayedLeave(),O[or]=void 0)};D?P(D,[O,G]):G()},leave(O,D){const I=String(e.key);if(O[or]&&O[or](!0),n.isUnmounting)return D();w(d,[O]);let C=!1;const R=O[_n]=G=>{C||(C=!0,D(),G?w(p,[O]):w(m,[O]),O[_n]=void 0,y[I]===e&&delete y[I])};y[I]=e,h?P(h,[O,R]):R()},clone(O){const D=qs(O,t,n,s,i);return i&&i(D),D}};return T}function Fo(e){if(ri(e))return e=Ft(e),e.children=null,e}function sc(e){if(!ri(e))return Sf(e.type)&&e.children?Df(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Q(n.default))return n.default()}}function Tn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Tn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mo(e,t=!1,n){let s=[],i=0;for(let r=0;r<e.length;r++){let o=e[r];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:r);o.type===we?(o.patchFlag&128&&i++,s=s.concat(mo(o.children,t,l))):(t||o.type!==Ae)&&s.push(l!=null?Ft(o,{key:l}):o)}if(i>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function pt(e,t){return Q(e)?oe({name:e.name},t,{setup:e}):e}function Km(){const e=ze();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:(process.env.NODE_ENV!=="production"&&k("useId() is called when there is no active component instance to be associated with."),"")}function Zl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const ol=new WeakSet;function Um(e){const t=ze(),n=Un(null);if(t){const i=t.refs===ue?t.refs={}:t.refs;let r;process.env.NODE_ENV!=="production"&&(r=Object.getOwnPropertyDescriptor(i,e))&&!r.configurable?k(`useTemplateRef('${e}') already exists.`):Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}else process.env.NODE_ENV!=="production"&&k("useTemplateRef() is called when there is no active component instance to be associated with.");const s=process.env.NODE_ENV!=="production"?Vi(n):n;return process.env.NODE_ENV!=="production"&&ol.add(s),s}const kr=new WeakMap;function Hs(e,t,n,s,i=!1){if(K(e)){e.forEach((p,S)=>Hs(p,t&&(K(t)?t[S]:t),n,s,i));return}if(wn(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Hs(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?qi(s.component):s.el,o=i?null:r,{i:l,r:a}=e;if(process.env.NODE_ENV!=="production"&&!l){k("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=t&&t.r,u=l.refs===ue?l.refs={}:l.refs,f=l.setupState,d=re(f),h=f===ue?Ms:p=>process.env.NODE_ENV!=="production"&&(ve(d,p)&&!Ie(d[p])&&k(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),ol.has(d[p]))?!1:ve(d,p),m=p=>process.env.NODE_ENV==="production"||!ol.has(p);if(c!=null&&c!==a){if(ic(t),te(c))u[c]=null,h(c)&&(f[c]=null);else if(Ie(c)){m(c)&&(c.value=null);const p=t;p.k&&(u[p.k]=null)}}if(Q(a))Os(a,l,12,[o,u]);else{const p=te(a),S=Ie(a);if(p||S){const N=()=>{if(e.f){const E=p?h(a)?f[a]:u[a]:m(a)||!e.k?a.value:u[e.k];if(i)K(E)&&Pl(E,r);else if(K(E))E.includes(r)||E.push(r);else if(p)u[a]=[r],h(a)&&(f[a]=u[a]);else{const g=[r];m(a)&&(a.value=g),e.k&&(u[e.k]=g)}}else p?(u[a]=o,h(a)&&(f[a]=o)):S?(m(a)&&(a.value=o),e.k&&(u[e.k]=o)):process.env.NODE_ENV!=="production"&&k("Invalid template ref type:",a,`(${typeof a})`)};if(o){const E=()=>{N(),kr.delete(e)};E.id=-1,kr.set(e,E),He(E,n)}else ic(e),N()}else process.env.NODE_ENV!=="production"&&k("Invalid template ref type:",a,`(${typeof a})`)}}function ic(e){const t=kr.get(e);t&&(t.flags|=8,kr.delete(e))}let rc=!1;const ts=()=>{rc||(console.error("Hydration completed but contains mismatches."),rc=!0)},Wm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",zm=e=>e.namespaceURI.includes("MathML"),lr=e=>{if(e.nodeType===1){if(Wm(e))return"svg";if(zm(e))return"mathml"}},os=e=>e.nodeType===8;function qm(e){const{mt:t,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:l,insert:a,createComment:c}}=e,u=(g,_)=>{if(!_.hasChildNodes()){process.env.NODE_ENV!=="production"&&k("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,g,_),Tr(),_._vnode=g;return}f(_.firstChild,g,null,null,null),Tr(),_._vnode=g},f=(g,_,y,w,P,T=!1)=>{T=T||!!_.dynamicChildren;const O=os(g)&&g.data==="[",D=()=>p(g,_,y,w,P,O),{type:I,ref:C,shapeFlag:R,patchFlag:G}=_;let z=g.nodeType;_.el=g,process.env.NODE_ENV!=="production"&&(Us(g,"__vnode",_,!0),Us(g,"__vueParentComponent",y,!0)),G===-2&&(T=!1,_.dynamicChildren=null);let W=null;switch(I){case ln:z!==3?_.children===""?(a(_.el=i(""),o(g),g),W=g):W=D():(g.data!==_.children&&(process.env.NODE_ENV!=="production"&&k("Hydration text mismatch in",g.parentNode,`
|
|
7
|
-
- rendered on server: ${JSON.stringify(
|
|
8
|
-
- expected on client: ${JSON.stringify(
|
|
9
|
-
Server rendered element contains more child nodes than client vdom.`),
|
|
10
|
-
`&&(
|
|
11
|
-
`)&&(
|
|
12
|
-
- rendered on server: ${
|
|
13
|
-
- expected on client: ${
|
|
14
|
-
Server rendered element contains fewer child nodes than client vdom.`),
|
|
15
|
-
- rendered on server:`,
|
|
16
|
-
- expected on client:`,
|
|
5
|
+
`,...vm(i)),console.warn(...r)}Jt(),Ho=!1}function gm(){let e=ps[ps.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function vm(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
|
|
6
|
+
`],...ym(n))}),t}function ym({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${nr(e.component,e.type,s)}`,r=">"+n;return e.props?[i,...Em(e.props),r]:[i+r]}function Em(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...vf(s,e[s]))}),n.length>3&&t.push(" ..."),t}function vf(e,t,n){return ee(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Re(t)?(t=vf(e,re(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Q(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=re(t),n?t:[`${e}=`,t])}function Zl(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?I(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&I(`${t} is NaN - the duration expression might be incorrect.`))}const _m={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},yo={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Cs(e,t,n,s){try{return s?e(...s):e()}catch(i){ss(i,t,n)}}function kt(e,t,n,s){if(Q(e)){const i=Cs(e,t,n,s);return i&&lo(i)&&i.catch(r=>{ss(r,t,n)}),i}if(B(e)){const i=[];for(let r=0;r<e.length;r++)i.push(kt(e[r],t,n,s));return i}else process.env.NODE_ENV!=="production"&&I(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function ss(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ce;if(t){let l=t.parent;const a=t.proxy,c=process.env.NODE_ENV!=="production"?yo[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}l=l.parent}if(r){Gt(),Cs(r,null,10,[e,a,c]),Jt();return}}bm(e,n,i,s,o)}function bm(e,t,n,s=!0,i=!1){if(process.env.NODE_ENV!=="production"){const r=yo[t];if(n&&$s(n),I(`Unhandled error${r?` during execution of ${r}`:""}`),n&&js(),s)throw e;console.error(e)}else{if(i)throw e;console.error(e)}}const Et=[];let Xt=-1;const Hs=[];let Kn=null,Ps=0;const yf=Promise.resolve();let Ar=null;const Nm=100;function ts(e){const t=Ar||yf;return e?t.then(this?e.bind(this):e):t}function Sm(e){let t=Xt+1,n=Et.length;for(;t<n;){const s=t+n>>>1,i=Et[s],r=Ri(i);r<e||r===e&&i.flags&2?t=s+1:n=s}return t}function Eo(e){if(!(e.flags&1)){const t=Ri(e),n=Et[Et.length-1];!n||!(e.flags&2)&&t>=Ri(n)?Et.push(e):Et.splice(Sm(t),0,e),e.flags|=1,Ef()}}function Ef(){Ar||(Ar=yf.then(_f))}function Js(e){B(e)?Hs.push(...e):Kn&&e.id===-1?Kn.splice(Ps+1,0,e):e.flags&1||(Hs.push(e),e.flags|=1),Ef()}function lc(e,t,n=Xt+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<Et.length;n++){const s=Et[n];if(s&&s.flags&2){if(e&&s.id!==e.uid||process.env.NODE_ENV!=="production"&&Yl(t,s))continue;Et.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ir(e){if(Hs.length){const t=[...new Set(Hs)].sort((n,s)=>Ri(n)-Ri(s));if(Hs.length=0,Kn){Kn.push(...t);return}for(Kn=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Ps=0;Ps<Kn.length;Ps++){const n=Kn[Ps];process.env.NODE_ENV!=="production"&&Yl(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}Kn=null,Ps=0}}const Ri=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _f(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Yl(e,n):Pe;try{for(Xt=0;Xt<Et.length;Xt++){const n=Et[Xt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Cs(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Xt<Et.length;Xt++){const n=Et[Xt];n&&(n.flags&=-2)}Xt=-1,Et.length=0,Ir(e),Ar=null,(Et.length||Hs.length)&&_f(e)}}function Yl(e,t){const n=e.get(t)||0;if(n>Nm){const s=t.i,i=s&&Ys(s.type);return ss(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let bt=!1;const ac=e=>{try{return bt}finally{bt=e}},br=new Map;process.env.NODE_ENV!=="production"&&(Yi().__VUE_HMR_RUNTIME__={createRecord:Bo(bf),rerender:Bo(Cm),reload:Bo(Dm)});const _s=new Map;function Om(e){const t=e.type.__hmrId;let n=_s.get(t);n||(bf(t,e.type),n=_s.get(t)),n.instances.add(e)}function wm(e){_s.get(e.type.__hmrId).instances.delete(e)}function bf(e,t){return _s.has(e)?!1:(_s.set(e,{initialDef:Mr(t),instances:new Set}),!0)}function Mr(e){return Cd(e)?e.__vccOpts:e}function Cm(e,t){const n=_s.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,Mr(s.type).render=t),s.renderCache=[],bt=!0,s.job.flags&8||s.update(),bt=!1}))}function Dm(e,t){const n=_s.get(e);if(!n)return;t=Mr(t),cc(n.initialDef,t);const s=[...n.instances];for(let i=0;i<s.length;i++){const r=s[i],o=Mr(r.type);let l=br.get(o);l||(o!==n.initialDef&&cc(o,t),br.set(o,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(t.styles),l.delete(r)):r.parent?Eo(()=>{r.job.flags&8||(bt=!0,r.parent.update(),bt=!1,l.delete(r))}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(o)}Js(()=>{br.clear()})}function cc(e,t){ie(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Bo(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Ht,vi=[],cl=!1;function Xi(e,...t){Ht?Ht.emit(e,...t):cl||vi.push({event:e,args:t})}function Xl(e,t){var n,s;Ht=e,Ht?(Ht.enabled=!0,vi.forEach(({event:i,args:r})=>Ht.emit(i,...r)),vi=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Xl(r,t)}),setTimeout(()=>{Ht||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,cl=!0,vi=[])},3e3)):(cl=!0,vi=[])}function xm(e,t){Xi("app:init",e,t,{Fragment:Te,Text:cn,Comment:Le,Static:Yn})}function Tm(e){Xi("app:unmount",e)}const ul=Ql("component:added"),Nf=Ql("component:updated"),km=Ql("component:removed"),Vm=e=>{Ht&&typeof Ht.cleanupBuffer=="function"&&!Ht.cleanupBuffer(e)&&km(e)};function Ql(e){return t=>{Xi(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Am=Sf("perf:start"),Im=Sf("perf:end");function Sf(e){return(t,n,s)=>{Xi(e,t.appContext.app,t.uid,t,n,s)}}function Mm(e,t,n){Xi("component:emit",e.appContext.app,e,t,n)}let Ke=null,_o=null;function Fi(e){const t=Ke;return Ke=e,_o=e&&e.type.__scopeId||null,t}function Pm(e){_o=e}function Lm(){_o=null}const Rm=e=>ln;function ln(e,t=Ke,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Hi(-1);const r=Fi(t),o=kn.length;let l;try{l=e(...i)}finally{for(let a=kn.length;a>o;a--)Do();Fi(r),s._d&&Hi(1)}return process.env.NODE_ENV!=="production"&&Nf(t),l};return s._n=!0,s._c=!0,s._d=!0,s}function Of(e){Ru(e)&&I("Do not use built-in directive ids as custom directive id: "+e)}function Zn(e,t){if(Ke===null)return process.env.NODE_ENV!=="production"&&I("withDirectives can only be used inside render functions."),e;const n=tr(Ke),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,a=ce]=t[i];r&&(Q(r)&&(r={mounted:r,updated:r}),r.deep&&wn(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function Qt(e,t,n,s){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let a=l.dir[s];a&&(Gt(),kt(a,n,8,[e.el,l,e,t]),Jt())}}function ea(e,t){if(process.env.NODE_ENV!=="production"&&(!Be||Be.isMounted)&&I("provide() can only be used inside setup()."),Be){let n=Be.provides;const s=Be.parent&&Be.parent.provides;s===n&&(n=Be.provides=Object.create(s)),n[e]=t}}function Bs(e,t,n=!1){const s=ze();if(s||vs){let i=vs?vs._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Q(t)?t.call(s&&s.proxy):t;process.env.NODE_ENV!=="production"&&I(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&I("inject() can only be used inside setup() or functional components.")}function Fm(){return!!(ze()||vs)}const wf=Symbol.for("v-scx"),Cf=()=>{{const e=Bs(wf);return e||process.env.NODE_ENV!=="production"&&I("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function $m(e,t){return Qi(e,null,t)}function jm(e,t){return Qi(e,null,process.env.NODE_ENV!=="production"?ie({},t,{flush:"post"}):{flush:"post"})}function Df(e,t){return Qi(e,null,process.env.NODE_ENV!=="production"?ie({},t,{flush:"sync"}):{flush:"sync"})}function pt(e,t,n){return process.env.NODE_ENV!=="production"&&!Q(t)&&I("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Qi(e,t,n)}function Qi(e,t,n=ce){const{immediate:s,deep:i,flush:r,once:o}=n;process.env.NODE_ENV!=="production"&&!t&&(s!==void 0&&I('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&I('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&I('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=ie({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=I);const a=t&&s||!t&&r!=="post";let c;if(Ss){if(r==="sync"){const h=Cf();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=Pe,h.resume=Pe,h.pause=Pe,h}}const u=Be;l.call=(h,m,p)=>kt(h,u,m,p);let f=!1;r==="post"?l.scheduler=h=>{We(h,u&&u.suspense)}:r!=="sync"&&(f=!0,l.scheduler=(h,m)=>{m?h():Eo(h)}),l.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=mm(e,t,l);return Ss&&(c?c.push(d):a&&d()),d}function Hm(e,t,n){const s=this.proxy,i=ee(e)?e.includes(".")?xf(s,e):()=>s[e]:e.bind(s,s);let r;Q(t)?r=t:(r=t.handler,n=t);const o=ai(this),l=Qi(i,r.bind(s),n);return o(),l}function xf(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const jn=new WeakMap,Tf=Symbol("_vte"),kf=e=>e.__isTeleport,Cn=e=>e&&(e.disabled||e.disabled===""),Bm=e=>e&&(e.defer||e.defer===""),uc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,fc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fl=(e,t)=>{const n=e&&e.to;if(ee(n))if(t){const s=t(n);return process.env.NODE_ENV!=="production"&&!s&&!Cn(e)&&I(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),s}else return process.env.NODE_ENV!=="production"&&I("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!Cn(e)&&I(`Invalid Teleport target: ${n}`),n},Km={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,r,o,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:m,createText:p,createComment:S,parentNode:N}}=c,_=Cn(t.props);let{dynamicChildren:v}=t;process.env.NODE_ENV!=="production"&&bt&&(a=!1,v=null);const E=(T,C,O)=>{T.shapeFlag&16&&u(T.children,C,O,i,r,o,l,a)},y=(T=t)=>{const C=Cn(T.props),O=T.target=fl(T.props,m),k=dl(O,T,p,h);O?(o!=="svg"&&uc(O)?o="svg":o!=="mathml"&&fc(O)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(O),C||(E(T,O,k),yi(T,!1))):process.env.NODE_ENV!=="production"&&!C&&I("Invalid Teleport target on mount:",O,`(${typeof O})`)},D=T=>{const C=()=>{if(jn.get(T)===C){if(jn.delete(T),Cn(T.props)){const O=N(T.el)||n;E(T,O,T.anchor),yi(T,!0)}y(T)}};jn.set(T,C),We(C,r)};if(e==null){const T=t.el=process.env.NODE_ENV!=="production"?S("teleport start"):p(""),C=t.anchor=process.env.NODE_ENV!=="production"?S("teleport end"):p("");if(h(T,n,s),h(C,n,s),Bm(t.props)||r&&r.pendingBranch){D(t);return}_&&(E(t,n,C),yi(t,!0)),y()}else{t.el=e.el;const T=t.anchor=e.anchor,C=jn.get(e);if(C){C.flags|=8,jn.delete(e),D(t);return}t.targetStart=e.targetStart;const O=t.target=e.target,k=t.targetAnchor=e.targetAnchor,A=Cn(e.props),w=A?n:O,F=A?T:k;if(o==="svg"||uc(O)?o="svg":(o==="mathml"||fc(O))&&(o="mathml"),v?(d(e.dynamicChildren,v,w,i,r,o,l),xi(e,t,process.env.NODE_ENV==="production")):a||f(e,t,w,F,i,r,o,l,!1),_)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):hr(t,n,T,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=fl(t.props,m);U?(t.target=U,hr(t,U,null,c,0)):process.env.NODE_ENV!=="production"&&I("Invalid Teleport target on update:",O,`(${typeof O})`)}else A&&hr(t,O,k,c,1);yi(t,_)}},remove(e,t,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:a,targetStart:c,targetAnchor:u,target:f,props:d}=e,h=Cn(d),m=r||!h,p=jn.get(e);if(p&&(p.flags|=8,jn.delete(e)),f&&(i(c),i(u)),r&&i(a),!p&&(h||f)&&o&16)for(let S=0;S<l.length;S++){const N=l[S];s(N,t,n,m,!!N.dynamicChildren)}},move:hr,hydrate:Um};function hr(e,t,n,{o:{insert:s},m:i},r=2){r===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:a,children:c,props:u}=e,f=r===2;if(f&&s(o,t,n),!jn.has(e)&&(!f||Cn(u))&&a&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&s(l,t,n)}function Um(e,t,n,s,i,r,{o:{nextSibling:o,parentNode:l,querySelector:a,insert:c,createText:u}},f){function d(S,N){let _=N;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,S._lpa=t.targetAnchor&&o(t.targetAnchor);break}}_=o(_)}}function h(S,N){N.anchor=f(o(S),N,l(S),n,s,i,r)}const m=t.target=fl(t.props,a),p=Cn(t.props);if(m){const S=m._lpa||m.firstChild;t.shapeFlag&16&&(p?(h(e,t),d(m,S),t.targetAnchor||dl(m,t,u,c,l(e)===m?e:null)):(t.anchor=o(e),d(m,S),t.targetAnchor||dl(m,t,u,c),f(S&&o(S),t,m,n,s,i,r))),yi(t,p)}else p&&t.shapeFlag&16&&(h(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const Wm=Km;function yi(e,t){const n=e.ctx;if(n&&n.ut){let s,i;for(t?(s=e.el,i=e.anchor):(s=e.targetStart,i=e.targetAnchor);s&&s!==i;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function dl(e,t,n,s,i=null){const r=t.targetStart=n(""),o=t.targetAnchor=n("");return r[Tf]=o,e&&(s(r,e,i),s(o,e,i)),o}const Mt=Symbol("_leaveCb"),fi=Symbol("_enterCb");function ta(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return hn(()=>{e.isMounted=!0}),Ds(()=>{e.isUnmounting=!0}),e}const It=[Function,Array],na={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:It,onEnter:It,onAfterEnter:It,onEnterCancelled:It,onBeforeLeave:It,onLeave:It,onAfterLeave:It,onLeaveCancelled:It,onBeforeAppear:It,onAppear:It,onAfterAppear:It,onAppearCancelled:It},Vf=e=>{const t=e.subTree;return t.component?Vf(t.component):t},zm={name:"BaseTransition",props:na,setup(e,{slots:t}){const n=ze(),s=ta();return()=>{const i=t.default&&bo(t.default(),!0),r=i&&i.length?Af(i):n.subTree?un():void 0;if(!r)return;const o=re(e),{mode:l}=o;if(process.env.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&I(`invalid <transition> mode: ${l}`),s.isLeaving)return Ko(r);const a=dc(r);if(!a)return Ko(r);let c=Zs(a,o,s,n,f=>c=f);a.type!==Le&&Mn(a,c);let u=n.subTree&&dc(n.subTree);if(u&&u.type!==Le&&!Bt(u,a)&&Vf(n).type!==Le){let f=Zs(u,o,s,n);if(Mn(u,f),l==="out-in"&&a.type!==Le)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Ko(r);l==="in-out"&&a.type!==Le?f.delayLeave=(d,h,m)=>{const p=Mf(s,u);p[String(u.key)]=u,d[Mt]=()=>{h(),d[Mt]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Af(e){let t=e[0];if(e.length>1){let n=!1;for(const s of e)if(s.type!==Le){if(process.env.NODE_ENV!=="production"&&n){I("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=s,n=!0,process.env.NODE_ENV==="production")break}}return t}const If=zm;function Mf(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Zs(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:S,onAppear:N,onAfterAppear:_,onAppearCancelled:v}=t,E=String(e.key),y=Mf(n,e),D=(O,k)=>{O&&kt(O,s,9,k)},T=(O,k)=>{const A=k[1];D(O,k),B(O)?O.every(w=>w.length<=1)&&A():O.length<=1&&A()},C={mode:o,persisted:l,beforeEnter(O){let k=a;if(!n.isMounted)if(r)k=S||a;else return;O[Mt]&&O[Mt](!0);const A=y[E];A&&Bt(e,A)&&A.el[Mt]&&A.el[Mt](),D(k,[O])},enter(O){if(!bt&&y[E]===e)return;let k=c,A=u,w=f;if(!n.isMounted)if(r)k=N||c,A=_||u,w=v||f;else return;let F=!1;O[fi]=z=>{F||(F=!0,z?D(w,[O]):D(A,[O]),C.delayedLeave&&C.delayedLeave(),O[fi]=void 0)};const U=O[fi].bind(null,!1);k?T(k,[O,U]):U()},leave(O,k){const A=String(e.key);if(O[fi]&&O[fi](!0),n.isUnmounting)return k();D(d,[O]);let w=!1;O[Mt]=U=>{w||(w=!0,k(),U?D(p,[O]):D(m,[O]),O[Mt]=void 0,y[A]===e&&delete y[A])};const F=O[Mt].bind(null,!1);y[A]=e,h?T(h,[O,F]):F()},clone(O){const k=Zs(O,t,n,s,i);return i&&i(k),k}};return C}function Ko(e){if(li(e))return e=Ft(e),e.children=null,e}function dc(e){if(!li(e))return kf(e.type)&&e.children?Af(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Q(n.default))return n.default()}}function Mn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Mn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bo(e,t=!1,n){let s=[],i=0;for(let r=0;r<e.length;r++){let o=e[r];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:r);o.type===Te?(o.patchFlag&128&&i++,s=s.concat(bo(o.children,t,l))):(t||o.type!==Le)&&s.push(l!=null?Ft(o,{key:l}):o)}if(i>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function vt(e,t){return Q(e)?ie({name:e.name},t,{setup:e}):e}function qm(){const e=ze();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:(process.env.NODE_ENV!=="production"&&I("useId() is called when there is no active component instance to be associated with."),"")}function sa(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const hl=new WeakSet;function Gm(e){const t=ze(),n=Gn(null);if(t){const i=t.refs===ce?t.refs={}:t.refs;process.env.NODE_ENV!=="production"&&pl(i,e)?I(`useTemplateRef('${e}') already exists.`):Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:r=>n.value=r})}else process.env.NODE_ENV!=="production"&&I("useTemplateRef() is called when there is no active component instance to be associated with.");const s=process.env.NODE_ENV!=="production"?Li(n):n;return process.env.NODE_ENV!=="production"&&hl.add(s),s}function pl(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Pr=new WeakMap;function Ks(e,t,n,s,i=!1){if(B(e)){e.forEach((p,S)=>Ks(p,t&&(B(t)?t[S]:t),n,s,i));return}if(Tn(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Ks(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?tr(s.component):s.el,o=i?null:r,{i:l,r:a}=e;if(process.env.NODE_ENV!=="production"&&!l){I("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=t&&t.r,u=l.refs===ce?l.refs={}:l.refs,f=l.setupState,d=re(f),h=f===ce?Ls:p=>process.env.NODE_ENV!=="production"&&(Ee(d,p)&&!Re(d[p])&&I(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),hl.has(d[p]))||pl(u,p)?!1:Ee(d,p),m=(p,S)=>!(process.env.NODE_ENV!=="production"&&hl.has(p)||S&&pl(u,S));if(c!=null&&c!==a){if(hc(t),ee(c))u[c]=null,h(c)&&(f[c]=null);else if(Re(c)){const p=t;m(c,p.k)&&(c.value=null),p.k&&(u[p.k]=null)}}if(Q(a))Cs(a,l,12,[o,u]);else{const p=ee(a),S=Re(a);if(p||S){const N=()=>{if(e.f){const _=p?h(a)?f[a]:u[a]:m(a)||!e.k?a.value:u[e.k];if(i)B(_)&&Bl(_,r);else if(B(_))_.includes(r)||_.push(r);else if(p)u[a]=[r],h(a)&&(f[a]=u[a]);else{const v=[r];m(a,e.k)&&(a.value=v),e.k&&(u[e.k]=v)}}else p?(u[a]=o,h(a)&&(f[a]=o)):S?(m(a,e.k)&&(a.value=o),e.k&&(u[e.k]=o)):process.env.NODE_ENV!=="production"&&I("Invalid template ref type:",a,`(${typeof a})`)};if(o){const _=()=>{N(),Pr.delete(e)};_.id=-1,Pr.set(e,_),We(_,n)}else hc(e),N()}else process.env.NODE_ENV!=="production"&&I("Invalid template ref type:",a,`(${typeof a})`)}}function hc(e){const t=Pr.get(e);t&&(t.flags|=8,Pr.delete(e))}let pc=!1;const is=()=>{pc||(console.error("Hydration completed but contains mismatches."),pc=!0)},Jm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Zm=e=>e.namespaceURI.includes("MathML"),pr=e=>{if(e.nodeType===1){if(Jm(e))return"svg";if(Zm(e))return"mathml"}},cs=e=>e.nodeType===8;function Ym(e){const{mt:t,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:l,insert:a,createComment:c}}=e,u=(v,E)=>{if(!E.hasChildNodes()){process.env.NODE_ENV!=="production"&&I("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,v,E),Ir(),E._vnode=v;return}f(E.firstChild,v,null,null,null),Ir(),E._vnode=v},f=(v,E,y,D,T,C=!1)=>{C=C||!!E.dynamicChildren;const O=cs(v)&&v.data==="[",k=()=>p(v,E,y,D,T,O),{type:A,ref:w,shapeFlag:F,patchFlag:U}=E;let z=v.nodeType;E.el=v,process.env.NODE_ENV!=="production"&&(qs(v,"__vnode",E,!0),qs(v,"__vueParentComponent",y,!0)),U===-2&&(C=!1,E.dynamicChildren=null);let W=null;switch(A){case cn:z!==3?E.children===""?(a(E.el=i(""),o(v),v),W=v):W=k():(v.data!==E.children&&(process.env.NODE_ENV!=="production"&&I("Hydration text mismatch in",v.parentNode,`
|
|
7
|
+
- rendered on server: ${JSON.stringify(v.data)}
|
|
8
|
+
- expected on client: ${JSON.stringify(E.children)}`),is(),v.data=E.children),W=r(v));break;case Le:_(v)?(W=r(v),N(E.el=v.content.firstChild,v,y)):z!==8||O?W=k():W=r(v);break;case Yn:if(O&&(v=r(v),z=v.nodeType),z===1||z===3){W=v;const Y=!E.children.length;for(let G=0;G<E.staticCount;G++)Y&&(E.children+=W.nodeType===1?W.outerHTML:W.data),G===E.staticCount-1&&(E.anchor=W),W=r(W);return O?r(W):W}else k();break;case Te:O?W=m(v,E,y,D,T,C):W=k();break;default:if(F&1)(z!==1||E.type.toLowerCase()!==v.tagName.toLowerCase())&&!_(v)?W=k():W=d(v,E,y,D,T,C);else if(F&6){E.slotScopeIds=T;const Y=o(v);if(O?W=S(v):cs(v)&&v.data==="teleport start"?W=S(v,v.data,"teleport end"):W=r(v),t(E,Y,null,y,D,pr(Y),C),Tn(E)&&!E.type.__asyncResolved){let G;O?(G=_e(Te),G.anchor=W?W.previousSibling:Y.lastChild):G=v.nodeType===3?Ns(""):_e("div"),G.el=v,E.component.subTree=G}}else F&64?z!==8?W=k():W=E.type.hydrate(v,E,y,D,T,C,e,h):F&128?W=E.type.hydrate(v,E,y,D,pr(o(v)),T,C,e,f):process.env.NODE_ENV!=="production"&&I("Invalid HostVNode type:",A,`(${typeof A})`)}return w!=null&&Ks(w,null,D,E),W},d=(v,E,y,D,T,C)=>{C=C||!!E.dynamicChildren;const{type:O,dynamicProps:k,props:A,patchFlag:w,shapeFlag:F,dirs:U,transition:z}=E,W=O==="input"||O==="option",Y=!!k;if(process.env.NODE_ENV!=="production"||W||Y||w!==-1){U&&Qt(E,null,y,"created");let G=!1;if(_(v)){G=ud(null,z)&&y&&y.vnode.props&&y.vnode.props.appear;const ue=v.content.firstChild;if(G){const xe=ue.getAttribute("class");xe&&(ue.$cls=xe),z.beforeEnter(ue)}N(ue,v,y),E.el=v=ue}if(F&16&&!(A&&(A.innerHTML||A.textContent))){let ue=h(v.firstChild,E,v,y,D,T,C);for(ue&&!Ci(v,1)&&(process.env.NODE_ENV!=="production"&&I("Hydration children mismatch on",v,`
|
|
9
|
+
Server rendered element contains more child nodes than client vdom.`),is());ue;){const xe=ue;ue=ue.nextSibling,l(xe)}}else if(F&8){let ue=E.children;ue[0]===`
|
|
10
|
+
`&&(v.tagName==="PRE"||v.tagName==="TEXTAREA")&&(ue=ue.slice(1));const{textContent:xe}=v;xe!==ue&&xe!==ue.replace(/\r\n|\r/g,`
|
|
11
|
+
`)&&(Ci(v,0)||(process.env.NODE_ENV!=="production"&&I("Hydration text content mismatch on",v,`
|
|
12
|
+
- rendered on server: ${xe}
|
|
13
|
+
- expected on client: ${ue}`),is()),v.textContent=E.children)}if(A){if(process.env.NODE_ENV!=="production"||W||Y||!C||w&48){const ue=v.tagName.includes("-"),xe=v.namespaceURI.includes("svg")?"svg":v.namespaceURI.includes("MathML")?"mathml":void 0;for(const we in A)process.env.NODE_ENV!=="production"&&!(U&&U.some(ut=>ut.dir.created))&&Xm(v,we,A[we],E,y)&&is(),(W&&(we.endsWith("value")||we==="indeterminate")||An(we)&&!xn(we)||we[0]==="."||ue&&!xn(we)||k&&k.includes(we))&&s(v,we,null,A[we],xe,y)}else if(A.onClick)s(v,"onClick",null,A.onClick,void 0,y);else if(w&4&&an(A.style))for(const ue in A.style)A.style[ue]}let Se;(Se=A&&A.onVnodeBeforeMount)&&Ot(Se,y,E),U&&Qt(E,null,y,"beforeMount"),((Se=A&&A.onVnodeMounted)||U||G)&&pd(()=>{Se&&Ot(Se,y,E),G&&z.enter(v),U&&Qt(E,null,y,"mounted")},D)}return v.nextSibling},h=(v,E,y,D,T,C,O)=>{O=O||!!E.dynamicChildren;const k=E.children,A=k.length;let w=!1;for(let F=0;F<A;F++){const U=O?k[F]:k[F]=_t(k[F]),z=U.type===cn;v?(z&&!O&&F+1<A&&_t(k[F+1]).type===cn&&(a(i(v.data.slice(U.children.length)),y,r(v)),v.data=U.children),v=f(v,U,D,T,C,O)):z&&!U.children?a(U.el=i(""),y):(w||(w=!0,Ci(y,1)||(process.env.NODE_ENV!=="production"&&I("Hydration children mismatch on",y,`
|
|
14
|
+
Server rendered element contains fewer child nodes than client vdom.`),is())),n(null,U,y,null,D,T,pr(y),C))}return v},m=(v,E,y,D,T,C)=>{const{slotScopeIds:O}=E;O&&(T=T?T.concat(O):O);const k=o(v),A=h(r(v),E,k,y,D,T,C);return A&&cs(A)&&A.data==="]"?r(E.anchor=A):(is(),a(E.anchor=c("]"),k,A),A)},p=(v,E,y,D,T,C)=>{if(tg(v,E)||(process.env.NODE_ENV!=="production"&&I(`Hydration node mismatch:
|
|
15
|
+
- rendered on server:`,v,v.nodeType===3?"(text)":cs(v)&&v.data==="["?"(start of fragment)":"",`
|
|
16
|
+
- expected on client:`,E.type),is()),E.el=null,C){const A=S(v);for(;;){const w=r(v);if(w&&w!==A)l(w);else break}}const O=r(v),k=o(v);return l(v),n(null,E,k,O,y,D,pr(k),T),y&&(y.vnode.el=E.el,Co(y,E.el)),O},S=(v,E="[",y="]")=>{let D=0;for(;v;)if(v=r(v),v&&cs(v)&&(v.data===E&&D++,v.data===y)){if(D===0)return r(v);D--}return v},N=(v,E,y)=>{const D=E.parentNode;D&&D.replaceChild(v,E);let T=y;for(;T;)T.vnode.el===E&&(T.vnode.el=T.subTree.el=v),T=T.parent},_=v=>v.nodeType===1&&v.tagName==="TEMPLATE";return[u,f]}function Xm(e,t,n,s,i){let r,o,l,a;if(t==="class")e.$cls?(l=e.$cls,delete e.$cls):l=e.getAttribute("class"),a=Ve(n),Qm(mc(l||""),mc(a))||(r=2,o="class");else if(t==="style"){l=e.getAttribute("style")||"",a=ee(n)?n:Np(Xe(n));const c=gc(l),u=gc(a);if(s.dirs)for(const{dir:f,value:d}of s.dirs)f.name==="show"&&!d&&u.set("display","none");i&&Pf(i,s,u),eg(c,u)||(r=3,o="style")}else(e instanceof SVGElement&&Vp(t)||e instanceof HTMLElement&&(sc(t)||kp(t)))&&(sc(t)?(l=e.hasAttribute(t),a=Ul(n)):n==null?(l=e.hasAttribute(t),a=!1):(e.hasAttribute(t)?l=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?l=e.value:l=!1,a=Ap(n)?String(n):!1),l!==a&&(r=4,o=t));if(r!=null&&!Ci(e,r)){const c=d=>d===!1?"(not rendered)":`${o}="${d}"`,u=`Hydration ${Lf[r]} mismatch on`,f=`
|
|
17
17
|
- rendered on server: ${c(l)}
|
|
18
18
|
- expected on client: ${c(a)}
|
|
19
19
|
Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
|
|
20
|
-
You should fix the source of the mismatch.`;return
|
|
21
|
-
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";k(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return o}else process.env.NODE_ENV!=="production"&&k(`resolve${an(e.slice(0,-1))} can only be used in render() or setup().`)}function cc(e,t){return e&&(e[t]||e[De(t)]||e[an(De(t))])}function hs(e,t,n,s){let i;const r=n&&n[s],o=K(e);if(o||te(e)){const l=o&&on(e);let a=!1,c=!1;l&&(a=!ot(e),c=Pt(e),e=ao(e)),i=new Array(e.length);for(let u=0,f=e.length;u<f;u++)i[u]=t(a?c?Ws(Jt(e[u])):Jt(e[u]):e[u],u,void 0,r&&r[u])}else if(typeof e=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(e)&&k(`The v-for range expect an integer value but got ${e}.`),i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r&&r[l])}else if(he(e))if(e[Symbol.iterator])i=Array.from(e,(l,a)=>t(l,a,void 0,r&&r[a]));else{const l=Object.keys(e);i=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const u=l[a];i[a]=t(e[u],u,a,r&&r[a])}}else i=[];return n&&(n[s]=i),i}function dg(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(K(s))for(let i=0;i<s.length;i++)e[s[i].name]=s[i].fn;else s&&(e[s.name]=s.key?(...i)=>{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return e}function Bn(e,t,n={},s,i){if(Re.ce||Re.parent&&wn(Re.parent)&&Re.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),fe(),Wt(we,null,[_e("slot",n,s&&s())],c?-2:64)}let r=e[t];process.env.NODE_ENV!=="production"&&r&&r.length>1&&(k("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),r=()=>[]),r&&r._c&&(r._d=!1),fe();const o=r&&ta(r(n)),l=n.key||o&&o.key,a=Wt(we,{key:(l&&!wt(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function ta(e){return e.some(t=>cn(t)?!(t.type===Ae||t.type===we&&!ta(t.children)):!0)?e:null}function Bs(e,t){const n={};if(process.env.NODE_ENV!=="production"&&!he(e))return k("v-on with no argument expects an object value."),n;for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Qt(s)]=e[s];return n}const ll=e=>e?gd(e)?qi(e):ll(e.parent):null,ps=oe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Bt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Bt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Bt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Bt(e.refs):e.refs,$parent:e=>ll(e.parent),$root:e=>ll(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>sa(e),$forceUpdate:e=>e.f||(e.f=()=>{ho(e.update)}),$nextTick:e=>e.n||(e.n=Xn.bind(e.proxy)),$watch:e=>$m.bind(e)}),na=e=>e==="_"||e==="$",$o=(e,t)=>e!==ue&&!e.__isScriptSetup&&ve(e,t),bi={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:a}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if($o(s,t))return o[t]=1,s[t];if(i!==ue&&ve(i,t))return o[t]=2,i[t];if(ve(r,t))return o[t]=3,r[t];if(n!==ue&&ve(n,t))return o[t]=4,n[t];al&&(o[t]=0)}}const c=ps[t];let u,f;if(c)return t==="$attrs"?(Ue(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&Mr()):process.env.NODE_ENV!=="production"&&t==="$slots"&&Ue(e,"get",t),c(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==ue&&ve(n,t))return o[t]=4,n[t];if(f=a.config.globalProperties,ve(f,t))return f[t];process.env.NODE_ENV!=="production"&&Re&&(!te(t)||t.indexOf("__v")!==0)&&(i!==ue&&na(t[0])&&ve(i,t)?k(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Re&&k(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return $o(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&ve(i,t)?(k(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==ue&&ve(s,t)?(s[t]=n,!0):ve(e.props,t)?(process.env.NODE_ENV!=="production"&&k(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&k(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:n}):r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:r,type:o}},l){let a;return!!(n[l]||e!==ue&&l[0]!=="$"&&ve(e,l)||$o(t,l)||ve(r,l)||ve(s,l)||ve(ps,l)||ve(i.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(bi.ownKeys=e=>(k("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));const hg=oe({},bi,{get(e,t){if(t!==Symbol.unscopables)return bi.get(e,t,e)},has(e,t){const n=t[0]!=="_"&&!pp(t);return process.env.NODE_ENV!=="production"&&!n&&bi.has(e,t)&&k(`Property ${JSON.stringify(t)} should not start with _ which is a reserved prefix for Vue internals.`),n}});function pg(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(ps).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>ps[n](e),set:ke})}),t}function mg(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:ke})})}function gg(e){const{ctx:t,setupState:n}=e;Object.keys(re(n)).forEach(s=>{if(!n.__isScriptSetup){if(na(s[0])){k(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:ke})}})}const Cs=e=>k(`${e}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function vg(){return process.env.NODE_ENV!=="production"&&Cs("defineProps"),null}function yg(){return process.env.NODE_ENV!=="production"&&Cs("defineEmits"),null}function Eg(e){process.env.NODE_ENV!=="production"&&Cs("defineExpose")}function _g(e){process.env.NODE_ENV!=="production"&&Cs("defineOptions")}function bg(){return process.env.NODE_ENV!=="production"&&Cs("defineSlots"),null}function Ng(){process.env.NODE_ENV!=="production"&&Cs("defineModel")}function Sg(e,t){return process.env.NODE_ENV!=="production"&&Cs("withDefaults"),null}function Og(){return jf("useSlots").slots}function wg(){return jf("useAttrs").attrs}function jf(e){const t=ze();return process.env.NODE_ENV!=="production"&&!t&&k(`${e}() called without active instance.`),t.setupContext||(t.setupContext=_d(t))}function Ii(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Hf(e,t){const n=Ii(e);for(const s in t){if(s.startsWith("__skip"))continue;let i=n[s];i?K(i)||Q(i)?i=n[s]={type:i,default:t[s]}:i.default=t[s]:i===null?i=n[s]={default:t[s]}:process.env.NODE_ENV!=="production"&&k(`props default key "${s}" has no corresponding declaration.`),i&&t[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function Cg(e,t){return!e||!t?e||t:K(e)&&K(t)?e.concat(t):oe({},Ii(e),Ii(t))}function Dg(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function xg(e){const t=ze();process.env.NODE_ENV!=="production"&&!t&&k("withAsyncContext called without active current instance. This is likely a bug.");let n=e();return gl(),to(n)&&(n=n.catch(s=>{throw bs(t),s})),[n,()=>bs(t)]}function Tg(){const e=Object.create(null);return(t,n)=>{e[n]?k(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let al=!0;function Vg(e){const t=sa(e),n=e.proxy,s=e.ctx;al=!1,t.beforeCreate&&uc(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:p,deactivated:S,beforeDestroy:N,beforeUnmount:E,destroyed:g,unmounted:_,render:y,renderTracked:w,renderTriggered:P,errorCaptured:T,serverPrefetch:O,expose:D,inheritAttrs:I,components:C,directives:R,filters:G}=t,z=process.env.NODE_ENV!=="production"?Tg():null;if(process.env.NODE_ENV!=="production"){const[J]=e.propsOptions;if(J)for(const H in J)z("Props",H)}if(c&&kg(c,s,z),o)for(const J in o){const H=o[J];Q(H)?(process.env.NODE_ENV!=="production"?Object.defineProperty(s,J,{value:H.bind(n),configurable:!0,enumerable:!0,writable:!0}):s[J]=H.bind(n),process.env.NODE_ENV!=="production"&&z("Methods",J)):process.env.NODE_ENV!=="production"&&k(`Method "${J}" has type "${typeof H}" in the component definition. Did you reference the function correctly?`)}if(i){process.env.NODE_ENV!=="production"&&!Q(i)&&k("The data option must be a function. Plain object usage is no longer supported.");const J=i.call(n,n);if(process.env.NODE_ENV!=="production"&&to(J)&&k("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!he(J))process.env.NODE_ENV!=="production"&&k("data() should return an object.");else if(e.data=ii(J),process.env.NODE_ENV!=="production")for(const H in J)z("Data",H),na(H[0])||Object.defineProperty(s,H,{configurable:!0,enumerable:!0,get:()=>J[H],set:ke})}if(al=!0,r)for(const J in r){const H=r[J],le=Q(H)?H.bind(n,n):Q(H.get)?H.get.bind(n,n):ke;process.env.NODE_ENV!=="production"&&le===ke&&k(`Computed property "${J}" has no getter.`);const $e=!Q(H)&&Q(H.set)?H.set.bind(n):process.env.NODE_ENV!=="production"?()=>{k(`Write operation failed: computed property "${J}" is readonly.`)}:ke,Ge=ie({get:le,set:$e});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Je=>Ge.value=Je}),process.env.NODE_ENV!=="production"&&z("Computed",J)}if(l)for(const J in l)Bf(l[J],s,n,J);if(a){const J=Q(a)?a.call(n):a;Reflect.ownKeys(J).forEach(H=>{ql(H,J[H])})}u&&uc(u,e,"c");function W(J,H){K(H)?H.forEach(le=>J(le.bind(n))):H&&J(H.bind(n))}if(W(Yl,f),W(un,d),W(Xl,h),W(vo,m),W(Af,p),W(If,S),W(Rf,T),W(Ff,w),W(Lf,P),W(ws,E),W(yo,_),W(Pf,O),K(D))if(D.length){const J=e.exposed||(e.exposed={});D.forEach(H=>{Object.defineProperty(J,H,{get:()=>n[H],set:le=>n[H]=le,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===ke&&(e.render=y),I!=null&&(e.inheritAttrs=I),C&&(e.components=C),R&&(e.directives=R),O&&Zl(e)}function kg(e,t,n=ke){K(e)&&(e=cl(e));for(const s in e){const i=e[s];let r;he(i)?"default"in i?r=js(i.from||s,i.default,!0):r=js(i.from||s):r=js(i),Ie(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r,process.env.NODE_ENV!=="production"&&n("Inject",s)}}function uc(e,t,n){Lt(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Bf(e,t,n,s){let i=s.includes(".")?bf(n,s):()=>n[s];if(te(e)){const r=t[e];Q(r)?ft(i,r):process.env.NODE_ENV!=="production"&&k(`Invalid watch handler specified by key "${e}"`,r)}else if(Q(e))ft(i,e.bind(n));else if(he(e))if(K(e))e.forEach(r=>Bf(r,t,n,s));else{const r=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(r)?ft(i,r,e):process.env.NODE_ENV!=="production"&&k(`Invalid watch handler specified by key "${e.handler}"`,r)}else process.env.NODE_ENV!=="production"&&k(`Invalid watch option: "${s}"`,e)}function sa(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!i.length&&!n&&!s?a=t:(a={},i.length&&i.forEach(c=>Ir(a,c,o,!0)),Ir(a,t,o)),he(t)&&r.set(t,a),a}function Ir(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&Ir(e,r,n,!0),i&&i.forEach(o=>Ir(e,o,n,!0));for(const o in t)if(s&&o==="expose")process.env.NODE_ENV!=="production"&&k('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=Ag[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ag={data:fc,props:dc,emits:dc,methods:gi,computed:gi,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:gi,directives:gi,watch:Mg,provide:fc,inject:Ig};function fc(e,t){return t?e?function(){return oe(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Ig(e,t){return gi(cl(e),cl(t))}function cl(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mt(e,t){return e?[...new Set([].concat(e,t))]:t}function gi(e,t){return e?oe(Object.create(null),e,t):t}function dc(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:oe(Object.create(null),Ii(e),Ii(t??{})):t}function Mg(e,t){if(!e)return t;if(!t)return e;const n=oe(Object.create(null),e);for(const s in t)n[s]=mt(e[s],t[s]);return n}function Kf(){return{app:null,config:{isNativeTag:Ms,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Pg=0;function Lg(e,t){return function(s,i=null){Q(s)||(s=oe({},s)),i!=null&&!he(i)&&(process.env.NODE_ENV!=="production"&&k("root props passed to app.mount() must be an object."),i=null);const r=Kf(),o=new WeakSet,l=[];let a=!1;const c=r.app={_uid:Pg++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:_l,get config(){return r.config},set config(u){process.env.NODE_ENV!=="production"&&k("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return o.has(u)?process.env.NODE_ENV!=="production"&&k("Plugin has already been applied to target app."):u&&Q(u.install)?(o.add(u),u.install(c,...f)):Q(u)?(o.add(u),u(c,...f)):process.env.NODE_ENV!=="production"&&k('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return r.mixins.includes(u)?process.env.NODE_ENV!=="production"&&k("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),c},component(u,f){return process.env.NODE_ENV!=="production"&&vl(u,r.config),f?(process.env.NODE_ENV!=="production"&&r.components[u]&&k(`Component "${u}" has already been registered in target app.`),r.components[u]=f,c):r.components[u]},directive(u,f){return process.env.NODE_ENV!=="production"&&vf(u),f?(process.env.NODE_ENV!=="production"&&r.directives[u]&&k(`Directive "${u}" has already been registered in target app.`),r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(a)process.env.NODE_ENV!=="production"&&k("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&u.__vue_app__&&k("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=c._ceVNode||_e(s,i);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),process.env.NODE_ENV!=="production"&&(r.reload=()=>{const m=Ft(h);m.el=null,e(m,u,d)}),f&&t?t(h,u):e(h,u,d),a=!0,c._container=u,u.__vue_app__=c,process.env.NODE_ENV!=="production"&&(c._instance=h.component,Cm(c,_l)),qi(h.component)}},onUnmount(u){process.env.NODE_ENV!=="production"&&typeof u!="function"&&k(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),l.push(u)},unmount(){a?(Lt(l,c._instance,16),e(null,c._container),process.env.NODE_ENV!=="production"&&(c._instance=null,Dm(c)),delete c._container.__vue_app__):process.env.NODE_ENV!=="production"&&k("Cannot unmount an app that is not mounted.")},provide(u,f){return process.env.NODE_ENV!=="production"&&u in r.provides&&(ve(r.provides,u)?k(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`):k(`App already provides property with key "${String(u)}" inherited from its parent element. It will be overwritten with the new value.`)),r.provides[u]=f,c},runWithContext(u){const f=ms;ms=c;try{return u()}finally{ms=f}}};return c}}let ms=null;function Fg(e,t,n=ue){const s=ze();if(process.env.NODE_ENV!=="production"&&!s)return k("useModel() called without active instance."),ne();const i=De(t);if(process.env.NODE_ENV!=="production"&&!s.propsOptions[0][i])return k(`useModel() called with prop "${t}" which is not declared.`),ne();const r=ut(t),o=Uf(e,i),l=of((a,c)=>{let u,f=ue,d;return _f(()=>{const h=e[i];gt(u,h)&&(u=h,c())}),{get(){return a(),n.get?n.get(u):u},set(h){const m=n.set?n.set(h):h;if(!gt(m,u)&&!(f!==ue&>(h,f)))return;const p=s.vnode.props;p&&(t in p||i in p||r in p)&&(`onUpdate:${t}`in p||`onUpdate:${i}`in p||`onUpdate:${r}`in p)||(u=h,c()),s.emit(`update:${t}`,m),gt(h,m)&>(h,f)&&!gt(m,d)&&c(),f=h,d=m}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?o||ue:l,done:!1}:{done:!0}}}},l}const Uf=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${De(t)}Modifiers`]||e[`${ut(t)}Modifiers`];function Rg(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ue;if(process.env.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=e;if(u)if(!(t in u))(!f||!(Qt(De(t))in f))&&k(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Qt(De(t))}" prop.`);else{const d=u[t];Q(d)&&(d(...n)||k(`Invalid event arguments: event validation failed for event "${t}".`))}}let i=n;const r=t.startsWith("update:"),o=r&&Uf(s,t.slice(7));if(o&&(o.trim&&(i=n.map(u=>te(u)?u.trim():u)),o.number&&(i=n.map(ro))),process.env.NODE_ENV!=="production"&&Am(e,t,i),process.env.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&s[Qt(u)]&&k(`Event "${u}" is emitted in component ${Gi(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ut(t)}" instead of "${t}".`)}let l,a=s[l=Qt(t)]||s[l=Qt(De(t))];!a&&r&&(a=s[l=Qt(ut(t))]),a&&Lt(a,e,6,i);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Lt(c,e,6,i)}}const $g=new WeakMap;function Wf(e,t,n=!1){const s=n?$g:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!Q(e)){const a=c=>{const u=Wf(c,t,!0);u&&(l=!0,oe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(he(e)&&s.set(e,null),null):(K(r)?r.forEach(a=>o[a]=null):oe(o,r),he(e)&&s.set(e,o),o)}function Eo(e,t){return!e||!xn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,ut(t))||ve(e,t))}let ul=!1;function Mr(){ul=!0}function gr(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:m,inheritAttrs:p}=e,S=Ai(e);let N,E;process.env.NODE_ENV!=="production"&&(ul=!1);try{if(n.shapeFlag&4){const y=i||s,w=process.env.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(y,{get(P,T,O){return k(`Property '${String(T)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(P,T,O)}}):y;N=yt(c.call(w,y,u,process.env.NODE_ENV!=="production"?Bt(f):f,h,d,m)),E=l}else{const y=t;process.env.NODE_ENV!=="production"&&l===f&&Mr(),N=yt(y.length>1?y(process.env.NODE_ENV!=="production"?Bt(f):f,process.env.NODE_ENV!=="production"?{get attrs(){return Mr(),Bt(l)},slots:o,emit:a}:{attrs:l,slots:o,emit:a}):y(process.env.NODE_ENV!=="production"?Bt(f):f,null)),E=t.props?l:jg(l)}}catch(y){Si.length=0,es(y,e,1),N=_e(Ae)}let g=N,_;if(process.env.NODE_ENV!=="production"&&N.patchFlag>0&&N.patchFlag&2048&&([g,_]=zf(N)),E&&p!==!1){const y=Object.keys(E),{shapeFlag:w}=g;if(y.length){if(w&7)r&&y.some(Or)&&(E=Hg(E,r)),g=Ft(g,E,!1,!0);else if(process.env.NODE_ENV!=="production"&&!ul&&g.type!==Ae){const P=Object.keys(l),T=[],O=[];for(let D=0,I=P.length;D<I;D++){const C=P[D];xn(C)?Or(C)||T.push(C[2].toLowerCase()+C.slice(3)):O.push(C)}O.length&&k(`Extraneous non-props attributes (${O.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),T.length&&k(`Extraneous non-emits event listeners (${T.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!hc(g)&&k("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=Ft(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!hc(g)&&k("Component inside <Transition> renders non-element root node that cannot be animated."),Tn(g,n.transition)),process.env.NODE_ENV!=="production"&&_?_(g):N=g,Ai(S),N}const zf=e=>{const t=e.children,n=e.dynamicChildren,s=_o(t,!1);if(s){if(process.env.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return zf(s)}else return[e,void 0];const i=t.indexOf(s),r=n?n.indexOf(s):-1,o=l=>{t[i]=l,n&&(r>-1?n[r]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[yt(s),o]};function _o(e,t=!0){let n;for(let s=0;s<e.length;s++){const i=e[s];if(cn(i)){if(i.type!==Ae||i.children==="v-if"){if(n)return;if(n=i,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return _o(n.children)}}else return}return n}const jg=e=>{let t;for(const n in e)(n==="class"||n==="style"||xn(n))&&((t||(t={}))[n]=e[n]);return t},Hg=(e,t)=>{const n={};for(const s in e)(!Or(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},hc=e=>e.shapeFlag&7||e.type===Ae;function Bg(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:a}=t,c=r.emitsOptions;if(process.env.NODE_ENV!=="production"&&(i||l)&&At||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?pc(s,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==s[d]&&!Eo(c,d))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?pc(s,o,c):!0:!!o;return!1}function pc(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(t[r]!==e[r]&&!Eo(n,r))return!0}return!1}function bo({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const qf={},Gf=()=>Object.create(qf),Jf=e=>Object.getPrototypeOf(e)===qf;function Kg(e,t,n,s=!1){const i={},r=Gf();e.propsDefaults=Object.create(null),Zf(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);process.env.NODE_ENV!=="production"&&Xf(t||{},i,e),n?e.props=s?i:nf(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Ug(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Wg(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=re(i),[a]=e.propsOptions;let c=!1;if(!(process.env.NODE_ENV!=="production"&&Ug(e))&&(s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Eo(e.emitsOptions,d))continue;const h=t[d];if(a)if(ve(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const m=De(d);i[m]=fl(a,l,m,h,e,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{Zf(e,t,i,r)&&(c=!0);let u;for(const f in l)(!t||!ve(t,f)&&((u=ut(f))===f||!ve(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=fl(a,l,f,void 0,e,!0)):delete i[f]);if(r!==l)for(const f in r)(!t||!ve(t,f))&&(delete r[f],c=!0)}c&&nn(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&Xf(t||{},i,e)}function Zf(e,t,n,s){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(On(a))continue;const c=t[a];let u;i&&ve(i,u=De(a))?!r||!r.includes(u)?n[u]=c:(l||(l={}))[u]=c:Eo(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,o=!0)}if(r){const a=re(n),c=l||ue;for(let u=0;u<r.length;u++){const f=r[u];n[f]=fl(i,a,f,c[f],e,!ve(c,f))}}return o}function fl(e,t,n,s,i,r){const o=e[n];if(o!=null){const l=ve(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Q(a)){const{propsDefaults:c}=i;if(n in c)s=c[n];else{const u=bs(i);s=c[n]=a.call(null,t),u()}}else s=a;i.ce&&i.ce._setProp(n,s)}o[0]&&(r&&!l?s=!1:o[1]&&(s===""||s===ut(n))&&(s=!0))}return s}const zg=new WeakMap;function Yf(e,t,n=!1){const s=n?zg:t.propsCache,i=s.get(e);if(i)return i;const r=e.props,o={},l=[];let a=!1;if(!Q(e)){const u=f=>{a=!0;const[d,h]=Yf(f,t,!0);oe(o,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return he(e)&&s.set(e,Ls),Ls;if(K(r))for(let u=0;u<r.length;u++){process.env.NODE_ENV!=="production"&&!te(r[u])&&k("props must be strings when using array syntax.",r[u]);const f=De(r[u]);mc(f)&&(o[f]=ue)}else if(r){process.env.NODE_ENV!=="production"&&!he(r)&&k("invalid props options",r);for(const u in r){const f=De(u);if(mc(f)){const d=r[u],h=o[f]=K(d)||Q(d)?{type:d}:oe({},d),m=h.type;let p=!1,S=!0;if(K(m))for(let N=0;N<m.length;++N){const E=m[N],g=Q(E)&&E.name;if(g==="Boolean"){p=!0;break}else g==="String"&&(S=!1)}else p=Q(m)&&m.name==="Boolean";h[0]=p,h[1]=S,(p||ve(h,"default"))&&l.push(f)}}}const c=[o,l];return he(e)&&s.set(e,c),c}function mc(e){return e[0]!=="$"&&!On(e)?!0:(process.env.NODE_ENV!=="production"&&k(`Invalid prop name: "${e}" is a reserved property.`),!1)}function qg(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Xf(e,t,n){const s=re(t),i=n.propsOptions[0],r=Object.keys(e).map(o=>De(o));for(const o in i){let l=i[o];l!=null&&Gg(o,s[o],l,process.env.NODE_ENV!=="production"?Bt(s):s,!r.includes(o))}}function Gg(e,t,n,s,i){const{type:r,required:o,validator:l,skipCheck:a}=n;if(o&&i){k('Missing required prop: "'+e+'"');return}if(!(t==null&&!o)){if(r!=null&&r!==!0&&!a){let c=!1;const u=K(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:m}=Zg(t,u[d]);f.push(m||""),c=h}if(!c){k(Yg(e,t,f));return}}l&&!l(t,s)&&k('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Jg=et("String,Number,Boolean,Function,Symbol,BigInt");function Zg(e,t){let n;const s=qg(t);if(s==="null")n=e===null;else if(Jg(s)){const i=typeof e;n=i===s.toLowerCase(),!n&&i==="object"&&(n=e instanceof t)}else s==="Object"?n=he(e):s==="Array"?n=K(e):n=e instanceof t;return{valid:n,expectedType:s}}function Yg(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(an).join(" | ")}`;const i=n[0],r=Ll(t),o=gc(t,i),l=gc(t,r);return n.length===1&&vc(i)&&!Xg(i,r)&&(s+=` with value ${o}`),s+=`, got ${r} `,vc(r)&&(s+=`with value ${l}.`),s}function gc(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function vc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Xg(...e){return e.some(t=>t.toLowerCase()==="boolean")}const ia=e=>e==="_"||e==="_ctx"||e==="$stable",ra=e=>K(e)?e.map(yt):[yt(e)],Qg=(e,t,n)=>{if(t._n)return t;const s=rn((...i)=>(process.env.NODE_ENV!=="production"&&Fe&&!(n===null&&Re)&&!(n&&n.root!==Fe.root)&&k(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),ra(t(...i))),n);return s._c=!1,s},Qf=(e,t,n)=>{const s=e._ctx;for(const i in e){if(ia(i))continue;const r=e[i];if(Q(r))t[i]=Qg(i,r,s);else if(r!=null){process.env.NODE_ENV!=="production"&&k(`Non-function value encountered for slot "${i}". Prefer function slots for better performance.`);const o=ra(r);t[i]=()=>o}}},ed=(e,t)=>{process.env.NODE_ENV!=="production"&&!ri(e.vnode)&&k("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=ra(t);e.slots.default=()=>n},dl=(e,t,n)=>{for(const s in t)(n||!ia(s))&&(e[s]=t[s])},ev=(e,t,n)=>{const s=e.slots=Gf();if(e.vnode.shapeFlag&32){const i=t._;i?(dl(s,t,n),n&&Us(s,"_",i,!0)):Qf(t,s)}else t&&ed(e,t)},tv=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=ue;if(s.shapeFlag&32){const l=t._;l?process.env.NODE_ENV!=="production"&&At?(dl(i,t,n),nn(e,"set","$slots")):n&&l===1?r=!1:dl(i,t,n):(r=!t.$stable,Qf(t,i)),o=t}else t&&(ed(e,t),o={default:1});if(r)for(const l in i)!ia(l)&&o[l]==null&&delete i[l]};let ai,bn;function gn(e,t){e.appContext.config.performance&&Pr()&&bn.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Vm(e,t,Pr()?bn.now():Date.now())}function vn(e,t){if(e.appContext.config.performance&&Pr()){const n=`vue-${t}-${e.uid}`,s=n+":end",i=`<${Gi(e,e.type)}> ${t}`;bn.mark(s),bn.measure(i,n,s),bn.clearMeasures(i),bn.clearMarks(n),bn.clearMarks(s)}process.env.NODE_ENV!=="production"&&km(e,t,Pr()?bn.now():Date.now())}function Pr(){return ai!==void 0||(typeof window<"u"&&window.performance?(ai=!0,bn=window.performance):ai=!1),ai}function nv(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
20
|
+
You should fix the source of the mismatch.`;return I(u,e,f),!0}return!1}function mc(e){return new Set(e.trim().split(/\s+/))}function Qm(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function gc(e){const t=new Map;for(const n of e.split(";")){let[s,i]=n.split(":");s=s.trim(),i=i&&i.trim(),s&&i&&t.set(s,i)}return t}function eg(e,t){if(e.size!==t.size)return!1;for(const[n,s]of e)if(s!==t.get(n))return!1;return!0}function Pf(e,t,n){const s=e.subTree;if(e.getCssVars&&(t===s||s&&s.type===Te&&s.children.includes(t))){const i=e.getCssVars();for(const r in i){const o=Wu(i[r]);n.set(`--${Mp(r)}`,o)}}t===s&&e.parent&&Pf(e.parent,e.vnode,n)}const Lr="data-allow-mismatch",Lf={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ci(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Lr);)e=e.parentElement;return ia(e&&e.getAttribute(Lr),t)}function ia(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(Lf[t])}}function tg(e,t){return Ci(e.parentElement,1)||ng(e)||sg(t)}function ng(e){return e.nodeType===1&&ia(e.getAttribute(Lr),1)}function sg({props:e}){const t=e&&e[Lr];return typeof t=="string"&&ia(t,1)}const ig=Yi().requestIdleCallback||(e=>setTimeout(e,1)),rg=Yi().cancelIdleCallback||(e=>clearTimeout(e)),og=(e=1e4)=>t=>{const n=ig(t,{timeout:e});return()=>rg(n)};function lg(e){const{top:t,left:n,bottom:s,right:i}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:o}=window;return(t>0&&t<r||s>0&&s<r)&&(n>0&&n<o||i>0&&i<o)}const ag=e=>(t,n)=>{const s=new IntersectionObserver(i=>{for(const r of i)if(r.isIntersecting){s.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(lg(i))return t(),s.disconnect(),!1;s.observe(i)}}),()=>s.disconnect()},cg=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},ug=(e=[])=>(t,n)=>{ee(e)&&(e=[e]);let s=!1;const i=o=>{s||(s=!0,r(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},r=()=>{n(o=>{for(const l of e)o.removeEventListener(l,i)})};return n(o=>{for(const l of e)o.addEventListener(l,i,{once:!0})}),r};function fg(e,t){if(cs(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(cs(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const Tn=e=>!!e.type.__asyncLoader;function dg(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:i=200,hydrate:r,timeout:o,suspensible:l=!0,onError:a}=e;let c=null,u,f=0;const d=()=>(f++,c=null,h()),h=()=>{let m;return c||(m=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((S,N)=>{a(p,()=>S(d()),()=>N(p),f+1)});throw p}).then(p=>{if(m!==c&&c)return c;if(process.env.NODE_ENV!=="production"&&!p&&I("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),process.env.NODE_ENV!=="production"&&p&&!de(p)&&!Q(p))throw new Error(`Invalid async component load result: ${p}`);return u=p,p}))};return vt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(m,p,S){const N=m.isConnected;let _=!1;(p.bu||(p.bu=[])).push(()=>_=!0);const v=()=>{if(_){process.env.NODE_ENV!=="production"&&I(`Skipping lazy hydration for component '${Ys(u)||u.__file}': it was updated before lazy hydration performed.`);return}!m.parentNode||N&&!m.isConnected||S()},E=r?()=>{const y=r(v,D=>fg(m,D));y&&(p.bum||(p.bum=[])).push(y)}:v;u?E():h().then(()=>!p.isUnmounted&&E())},get __asyncResolved(){return u},setup(){const m=Be;if(sa(m),u)return()=>mr(u,m);const p=y=>{c=null,ss(y,m,13,!s)};if(l&&m.suspense||Ss)return h().then(y=>()=>mr(y,m)).catch(y=>(p(y),()=>s?_e(s,{error:y}):null));const S=ne(!1),N=ne(),_=ne(!!i);let v,E;return er(()=>{v!=null&&clearTimeout(v),E!=null&&clearTimeout(E)}),i&&(E=setTimeout(()=>{m.isUnmounted||(_.value=!1)},i)),o!=null&&(v=setTimeout(()=>{if(!m.isUnmounted&&!S.value&&!N.value){const y=new Error(`Async component timed out after ${o}ms.`);p(y),N.value=y}},o)),h().then(()=>{m.isUnmounted||(S.value=!0,m.parent&&li(m.parent.vnode)&&m.parent.update())}).catch(y=>{if(m.isUnmounted){c=null;return}p(y),N.value=y}),()=>{if(S.value&&u)return mr(u,m);if(N.value&&s)return _e(s,{error:N.value});if(n&&!_.value)return mr(n,m)}}})}function mr(e,t){const{ref:n,props:s,children:i,ce:r}=t.vnode,o=_e(e,s,i);return o.ref=n,o.ce=r,delete t.vnode.ce,o}const li=e=>e.type.__isKeepAlive,hg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ze(),s=n.ctx;if(!s.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const i=new Map,r=new Set;let o=null;process.env.NODE_ENV!=="production"&&(n.__v_cache=i);const l=n.suspense,{renderer:{p:a,m:c,um:u,o:{createElement:f}}}=s,d=f("div");s.activate=(_,v,E,y,D)=>{const T=_.component;c(_,v,E,0,l),a(T.vnode,_,v,E,T,l,y,_.slotScopeIds,D),We(()=>{T.isDeactivated=!1,T.a&&Wn(T.a);const C=_.props&&_.props.onVnodeMounted;C&&Ot(C,T.parent,_)},l),process.env.NODE_ENV!=="production"&&ul(T)},s.deactivate=_=>{const v=_.component;Hr(v.m),Hr(v.a),c(_,d,null,1,l),We(()=>{v.da&&Wn(v.da);const E=_.props&&_.props.onVnodeUnmounted;E&&Ot(E,v.parent,_),v.isDeactivated=!0},l),process.env.NODE_ENV!=="production"&&ul(v),process.env.NODE_ENV!=="production"&&(v.__keepAliveStorageContainer=d)};function h(_){Uo(_),u(_,n,l,!0)}function m(_){i.forEach((v,E)=>{const y=Ys(Tn(v)?v.type.__asyncResolved||{}:v.type);y&&!_(y)&&p(E)})}function p(_){const v=i.get(_);v&&(!o||!Bt(v,o))?h(v):o&&Uo(o),i.delete(_),r.delete(_)}pt(()=>[e.include,e.exclude],([_,v])=>{_&&m(E=>Ei(_,E)),v&&m(E=>!Ei(v,E))},{flush:"post",deep:!0});let S=null;const N=()=>{S!=null&&(Br(n.subTree.type)?We(()=>{i.set(S,gr(n.subTree))},n.subTree.suspense):i.set(S,gr(n.subTree)))};return hn(N),So(N),Ds(()=>{i.forEach(_=>{const{subTree:v,suspense:E}=n,y=gr(v);if(_.type===y.type&&_.key===y.key){Uo(y);const D=y.component.da;D&&We(D,E);return}h(_)})}),()=>{if(S=null,!t.default)return o=null;const _=t.default(),v=_[0];if(_.length>1)return process.env.NODE_ENV!=="production"&&I("KeepAlive should contain exactly one component child."),o=null,_;if(!dn(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return o=null,v;let E=gr(v);if(E.type===Le)return o=null,E;const y=E.type,D=Ys(Tn(E)?E.type.__asyncResolved||{}:y),{include:T,exclude:C,max:O}=e;if(T&&(!D||!Ei(T,D))||C&&D&&Ei(C,D))return E.shapeFlag&=-257,o=E,v;const k=E.key==null?y:E.key,A=i.get(k);return E.el&&(E=Ft(E),v.shapeFlag&128&&(v.ssContent=E)),S=k,A?(E.el=A.el,E.component=A.component,E.transition&&Mn(E,E.transition),E.shapeFlag|=512,r.delete(k),r.add(k)):(r.add(k),O&&r.size>parseInt(O,10)&&p(r.values().next().value)),E.shapeFlag|=256,o=E,Br(v.type)?v:E}}},pg=hg;function Ei(e,t){return B(e)?e.some(n=>Ei(n,t)):ee(e)?e.split(",").includes(t):fp(e)?(e.lastIndex=0,e.test(t)):!1}function Rf(e,t){$f(e,"a",t)}function Ff(e,t){$f(e,"da",t)}function $f(e,t,n=Be){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(No(t,s,n),n){let i=n.parent;for(;i&&i.parent;)li(i.parent.vnode)&&mg(s,t,n,i),i=i.parent}}function mg(e,t,n,s){const i=No(t,e,s,!0);er(()=>{Bl(s[t],i)},n)}function Uo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function gr(e){return e.shapeFlag&128?e.ssContent:e}function No(e,t,n=Be,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Gt();const l=ai(n),a=kt(t,n,e,o);return l(),Jt(),a});return s?i.unshift(r):i.push(r),r}else if(process.env.NODE_ENV!=="production"){const i=en(yo[e].replace(/ hook$/,""));I(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Pn=e=>(t,n=Be)=>{(!Ss||e==="sp")&&No(e,(...s)=>t(...s),n)},ra=Pn("bm"),hn=Pn("m"),oa=Pn("bu"),So=Pn("u"),Ds=Pn("bum"),er=Pn("um"),jf=Pn("sp"),Hf=Pn("rtg"),Bf=Pn("rtc");function Kf(e,t=Be){No("ec",e,t)}const Rr="components",gg="directives";function vg(e,t){return aa(Rr,e,!0,t)||e}const la=Symbol.for("v-ndc");function Uf(e){return ee(e)?aa(Rr,e,!1)||e:e||la}function yg(e){return aa(gg,e)}function aa(e,t,n=!0,s=!1){const i=Ke||Be;if(i){const r=i.type;if(e===Rr){const l=Ys(r,!1);if(l&&(l===t||l===Oe(t)||l===fn(Oe(t))))return r}const o=vc(i[e]||r[e],t)||vc(i.appContext[e],t);if(!o&&s)return r;if(process.env.NODE_ENV!=="production"&&n&&!o){const l=e===Rr?`
|
|
21
|
+
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";I(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return o}else process.env.NODE_ENV!=="production"&&I(`resolve${fn(e.slice(0,-1))} can only be used in render() or setup().`)}function vc(e,t){return e&&(e[t]||e[Oe(t)]||e[fn(Oe(t))])}function ms(e,t,n,s){let i;const r=n&&n[s],o=B(e);if(o||ee(e)){const l=o&&an(e);let a=!1,c=!1;l&&(a=!at(e),c=Rt(e),e=mo(e)),i=new Array(e.length);for(let u=0,f=e.length;u<f;u++)i[u]=t(a?c?Gs(Zt(e[u])):Zt(e[u]):e[u],u,void 0,r&&r[u])}else if(typeof e=="number")if(process.env.NODE_ENV!=="production"&&(!Number.isInteger(e)||e<0))I(`The v-for range expects a positive integer value but got ${e}.`),i=[];else{i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r&&r[l])}else if(de(e))if(e[Symbol.iterator])i=Array.from(e,(l,a)=>t(l,a,void 0,r&&r[a]));else{const l=Object.keys(e);i=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const u=l[a];i[a]=t(e[u],u,a,r&&r[a])}}else i=[];return n&&(n[s]=i),i}function Eg(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(B(s))for(let i=0;i<s.length;i++)e[s[i].name]=s[i].fn;else s&&(e[s.name]=s.key?(...i)=>{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return e}function zn(e,t,n={},s,i,r){if(Ke.ce||Ke.parent&&Tn(Ke.parent)&&Ke.parent.ce){const c=r!=null&&n.key==null?ie({},n,{key:r}):n,u=Object.keys(c).length>0;return t!=="default"&&(c.name=t),fe(),zt(Te,null,[_e("slot",c,s&&s())],u?-2:64)}let o=e[t];process.env.NODE_ENV!=="production"&&o&&o.length>1&&(I("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),o=()=>[]),o&&o._c&&(o._d=!1);const l=kn.length;fe();let a;try{const c=o&&ca(o(n)),u=n.key||r||c&&c.key;a=zt(Te,{key:(u&&!ct(u)?u:`_${t}`)+(!c&&s?"_fb":"")},c||(s?s():[]),c&&e._===1?64:-2)}catch(c){for(let u=kn.length;u>l;u--)Do();throw c}finally{o&&o._c&&(o._d=!0)}return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function ca(e){return e.some(t=>dn(t)?!(t.type===Le||t.type===Te&&!ca(t.children)):!0)?e:null}function Us(e,t){const n={};if(process.env.NODE_ENV!=="production"&&!de(e))return I("v-on with no argument expects an object value."),n;for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:en(s)]=e[s];return n}const ml=e=>e?bd(e)?tr(e):ml(e.parent):null,gs=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Kt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Kt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Kt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Kt(e.refs):e.refs,$parent:e=>ml(e.parent),$root:e=>ml(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>fa(e),$forceUpdate:e=>e.f||(e.f=()=>{Eo(e.update)}),$nextTick:e=>e.n||(e.n=ts.bind(e.proxy)),$watch:e=>Hm.bind(e)}),ua=e=>e==="_"||e==="$",Wo=(e,t)=>e!==ce&&!e.__isScriptSetup&&Ee(e,t),Di={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:a}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(Wo(s,t))return o[t]=1,s[t];if(i!==ce&&Ee(i,t))return o[t]=2,i[t];if(Ee(r,t))return o[t]=3,r[t];if(n!==ce&&Ee(n,t))return o[t]=4,n[t];gl&&(o[t]=0)}}const c=gs[t];let u,f;if(c)return t==="$attrs"?(Ze(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&$r()):process.env.NODE_ENV!=="production"&&t==="$slots"&&Ze(e,"get",t),c(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==ce&&Ee(n,t))return o[t]=4,n[t];if(f=a.config.globalProperties,Ee(f,t))return f[t];process.env.NODE_ENV!=="production"&&Ke&&(!ee(t)||t.indexOf("__v")!==0)&&(i!==ce&&ua(t[0])&&Ee(i,t)?I(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Ke&&I(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return Wo(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&Ee(i,t)?(I(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==ce&&Ee(s,t)?(s[t]=n,!0):Ee(e.props,t)?(process.env.NODE_ENV!=="production"&&I(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&I(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:n}):r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:r,type:o}},l){let a;return!!(n[l]||e!==ce&&l[0]!=="$"&&Ee(e,l)||Wo(t,l)||Ee(r,l)||Ee(s,l)||Ee(gs,l)||Ee(i.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ee(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(Di.ownKeys=e=>(I("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));const _g=ie({},Di,{get(e,t){if(t!==Symbol.unscopables)return Di.get(e,t,e)},has(e,t){const n=t[0]!=="_"&&!vp(t);return process.env.NODE_ENV!=="production"&&!n&&Di.has(e,t)&&I(`Property ${JSON.stringify(t)} should not start with _ which is a reserved prefix for Vue internals.`),n}});function bg(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(gs).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>gs[n](e),set:Pe})}),t}function Ng(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:Pe})})}function Sg(e){const{ctx:t,setupState:n}=e;Object.keys(re(n)).forEach(s=>{if(!n.__isScriptSetup){if(ua(s[0])){I(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:Pe})}})}const xs=e=>I(`${e}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function Og(){return process.env.NODE_ENV!=="production"&&xs("defineProps"),null}function wg(){return process.env.NODE_ENV!=="production"&&xs("defineEmits"),null}function Cg(e){process.env.NODE_ENV!=="production"&&xs("defineExpose")}function Dg(e){process.env.NODE_ENV!=="production"&&xs("defineOptions")}function xg(){return process.env.NODE_ENV!=="production"&&xs("defineSlots"),null}function Tg(){process.env.NODE_ENV!=="production"&&xs("defineModel")}function kg(e,t){return process.env.NODE_ENV!=="production"&&xs("withDefaults"),null}function Vg(){return Wf("useSlots").slots}function Ag(){return Wf("useAttrs").attrs}function Wf(e){const t=ze();return process.env.NODE_ENV!=="production"&&!t&&I(`${e}() called without active instance.`),t.setupContext||(t.setupContext=wd(t))}function $i(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function zf(e,t){const n=$i(e);for(const s in t){if(s.startsWith("__skip"))continue;let i=n[s];i?B(i)||Q(i)?i=n[s]={type:i,default:t[s]}:i.default=t[s]:i===null?i=n[s]={default:t[s]}:process.env.NODE_ENV!=="production"&&I(`props default key "${s}" has no corresponding declaration.`),i&&t[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function Ig(e,t){return!e||!t?e||t:B(e)&&B(t)?e.concat(t):ie({},$i(e),$i(t))}function Mg(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function Pg(e){const t=ze(),n=Ss;process.env.NODE_ENV!=="production"&&!t&&I("withAsyncContext called without active current instance. This is likely a bug.");let s=e();Bi(),n&&zs(!1);const i=()=>{ai(t),n&&zs(!0)},r=()=>{ze()!==t&&t.scope.off(),Bi(),n&&zs(!1)};return lo(s)&&(s=s.catch(o=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(r)),o})),[s,()=>{i(),Promise.resolve().then(r)}]}function Lg(){const e=Object.create(null);return(t,n)=>{e[n]?I(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let gl=!0;function Rg(e){const t=fa(e),n=e.proxy,s=e.ctx;gl=!1,t.beforeCreate&&yc(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:p,deactivated:S,beforeDestroy:N,beforeUnmount:_,destroyed:v,unmounted:E,render:y,renderTracked:D,renderTriggered:T,errorCaptured:C,serverPrefetch:O,expose:k,inheritAttrs:A,components:w,directives:F,filters:U}=t,z=process.env.NODE_ENV!=="production"?Lg():null;if(process.env.NODE_ENV!=="production"){const[Y]=e.propsOptions;if(Y)for(const G in Y)z("Props",G)}if(c&&Fg(c,s,z),o)for(const Y in o){const G=o[Y];Q(G)?(process.env.NODE_ENV!=="production"?Object.defineProperty(s,Y,{value:G.bind(n),configurable:!0,enumerable:!0,writable:!0}):s[Y]=G.bind(n),process.env.NODE_ENV!=="production"&&z("Methods",Y)):process.env.NODE_ENV!=="production"&&I(`Method "${Y}" has type "${typeof G}" in the component definition. Did you reference the function correctly?`)}if(i){process.env.NODE_ENV!=="production"&&!Q(i)&&I("The data option must be a function. Plain object usage is no longer supported.");const Y=i.call(n,n);if(process.env.NODE_ENV!=="production"&&lo(Y)&&I("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!de(Y))process.env.NODE_ENV!=="production"&&I("data() should return an object.");else if(e.data=oi(Y),process.env.NODE_ENV!=="production")for(const G in Y)z("Data",G),ua(G[0])||Object.defineProperty(s,G,{configurable:!0,enumerable:!0,get:()=>Y[G],set:Pe})}if(gl=!0,r)for(const Y in r){const G=r[Y],Se=Q(G)?G.bind(n,n):Q(G.get)?G.get.bind(n,n):Pe;process.env.NODE_ENV!=="production"&&Se===Pe&&I(`Computed property "${Y}" has no getter.`);const ue=!Q(G)&&Q(G.set)?G.set.bind(n):process.env.NODE_ENV!=="production"?()=>{I(`Write operation failed: computed property "${Y}" is readonly.`)}:Pe,xe=oe({get:Se,set:ue});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>xe.value,set:we=>xe.value=we}),process.env.NODE_ENV!=="production"&&z("Computed",Y)}if(l)for(const Y in l)qf(l[Y],s,n,Y);if(a){const Y=Q(a)?a.call(n):a;Reflect.ownKeys(Y).forEach(G=>{ea(G,Y[G])})}u&&yc(u,e,"c");function W(Y,G){B(G)?G.forEach(Se=>Y(Se.bind(n))):G&&Y(G.bind(n))}if(W(ra,f),W(hn,d),W(oa,h),W(So,m),W(Rf,p),W(Ff,S),W(Kf,C),W(Bf,D),W(Hf,T),W(Ds,_),W(er,E),W(jf,O),B(k))if(k.length){const Y=e.exposed||(e.exposed={});k.forEach(G=>{Object.defineProperty(Y,G,{get:()=>n[G],set:Se=>n[G]=Se,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===Pe&&(e.render=y),A!=null&&(e.inheritAttrs=A),w&&(e.components=w),F&&(e.directives=F),O&&sa(e)}function Fg(e,t,n=Pe){B(e)&&(e=vl(e));for(const s in e){const i=e[s];let r;de(i)?"default"in i?r=Bs(i.from||s,i.default,!0):r=Bs(i.from||s):r=Bs(i),Re(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r,process.env.NODE_ENV!=="production"&&n("Inject",s)}}function yc(e,t,n){kt(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function qf(e,t,n,s){let i=s.includes(".")?xf(n,s):()=>n[s];if(ee(e)){const r=t[e];Q(r)?pt(i,r):process.env.NODE_ENV!=="production"&&I(`Invalid watch handler specified by key "${e}"`,r)}else if(Q(e))pt(i,e.bind(n));else if(de(e))if(B(e))e.forEach(r=>qf(r,t,n,s));else{const r=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(r)?pt(i,r,e):process.env.NODE_ENV!=="production"&&I(`Invalid watch handler specified by key "${e.handler}"`,r)}else process.env.NODE_ENV!=="production"&&I(`Invalid watch option: "${s}"`,e)}function fa(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!i.length&&!n&&!s?a=t:(a={},i.length&&i.forEach(c=>Fr(a,c,o,!0)),Fr(a,t,o)),de(t)&&r.set(t,a),a}function Fr(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&Fr(e,r,n,!0),i&&i.forEach(o=>Fr(e,o,n,!0));for(const o in t)if(s&&o==="expose")process.env.NODE_ENV!=="production"&&I('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=$g[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const $g={data:Ec,props:_c,emits:_c,methods:_i,computed:_i,beforeCreate:yt,created:yt,beforeMount:yt,mounted:yt,beforeUpdate:yt,updated:yt,beforeDestroy:yt,beforeUnmount:yt,destroyed:yt,unmounted:yt,activated:yt,deactivated:yt,errorCaptured:yt,serverPrefetch:yt,components:_i,directives:_i,watch:Hg,provide:Ec,inject:jg};function Ec(e,t){return t?e?function(){return ie(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function jg(e,t){return _i(vl(e),vl(t))}function vl(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function yt(e,t){return e?[...new Set([].concat(e,t))]:t}function _i(e,t){return e?ie(Object.create(null),e,t):t}function _c(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:ie(Object.create(null),$i(e),$i(t??{})):t}function Hg(e,t){if(!e)return t;if(!t)return e;const n=ie(Object.create(null),e);for(const s in t)n[s]=yt(e[s],t[s]);return n}function Gf(){return{app:null,config:{isNativeTag:Ls,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Bg=0;function Kg(e,t){return function(s,i=null){Q(s)||(s=ie({},s)),i!=null&&!de(i)&&(process.env.NODE_ENV!=="production"&&I("root props passed to app.mount() must be an object."),i=null);const r=Gf(),o=new WeakSet,l=[];let a=!1;const c=r.app={_uid:Bg++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:Cl,get config(){return r.config},set config(u){process.env.NODE_ENV!=="production"&&I("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return o.has(u)?process.env.NODE_ENV!=="production"&&I("Plugin has already been applied to target app."):u&&Q(u.install)?(o.add(u),u.install(c,...f)):Q(u)?(o.add(u),u(c,...f)):process.env.NODE_ENV!=="production"&&I('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return r.mixins.includes(u)?process.env.NODE_ENV!=="production"&&I("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),c},component(u,f){return process.env.NODE_ENV!=="production"&&Sl(u,r.config),f?(process.env.NODE_ENV!=="production"&&r.components[u]&&I(`Component "${u}" has already been registered in target app.`),r.components[u]=f,c):r.components[u]},directive(u,f){return process.env.NODE_ENV!=="production"&&Of(u),f?(process.env.NODE_ENV!=="production"&&r.directives[u]&&I(`Directive "${u}" has already been registered in target app.`),r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(a)process.env.NODE_ENV!=="production"&&I("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&u.__vue_app__&&I("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=c._ceVNode||_e(s,i);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),process.env.NODE_ENV!=="production"&&(r.reload=()=>{const m=Ft(h);m.el=null,e(m,u,d)}),f&&t?t(h,u):e(h,u,d),a=!0,c._container=u,u.__vue_app__=c,process.env.NODE_ENV!=="production"&&(c._instance=h.component,xm(c,Cl)),tr(h.component)}},onUnmount(u){process.env.NODE_ENV!=="production"&&typeof u!="function"&&I(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),l.push(u)},unmount(){a?(kt(l,c._instance,16),e(null,c._container),process.env.NODE_ENV!=="production"&&(c._instance=null,Tm(c)),delete c._container.__vue_app__):process.env.NODE_ENV!=="production"&&I("Cannot unmount an app that is not mounted.")},provide(u,f){return process.env.NODE_ENV!=="production"&&u in r.provides&&(Ee(r.provides,u)?I(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`):I(`App already provides property with key "${String(u)}" inherited from its parent element. It will be overwritten with the new value.`)),r.provides[u]=f,c},runWithContext(u){const f=vs;vs=c;try{return u()}finally{vs=f}}};return c}}let vs=null;function Ug(e,t,n=ce){const s=ze();if(process.env.NODE_ENV!=="production"&&!s)return I("useModel() called without active instance."),ne();const i=Oe(t);if(process.env.NODE_ENV!=="production"&&!s.propsOptions[0][i])return I(`useModel() called with prop "${t}" which is not declared.`),ne();const r=ht(t),o=Jf(e,i),l=hf((a,c)=>{let u,f=ce,d;return Df(()=>{const h=e[i];tt(u,h)&&(u=h,c())}),{get(){return a(),n.get?n.get(u):u},set(h){const m=n.set?n.set(h):h;if(!tt(m,u)&&!(f!==ce&&tt(h,f)))return;const p=s.vnode.props,S=!!(p&&(t in p||i in p||r in p)&&(`onUpdate:${t}`in p||`onUpdate:${i}`in p||`onUpdate:${r}`in p));S||(u=h,c()),s.emit(`update:${t}`,m),tt(h,f)&&(tt(h,m)&&!tt(m,d)||S&&f!==ce&&!tt(m,u))&&c(),f=h,d=m}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?o||ce:l,done:!1}:{done:!0}}}},l}const Jf=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${ht(t)}Modifiers`];function Wg(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ce;if(process.env.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=e;if(u)if(!(t in u))(!f||!(en(Oe(t))in f))&&I(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${en(Oe(t))}" prop.`);else{const d=u[t];Q(d)&&(d(...n)||I(`Invalid event arguments: event validation failed for event "${t}".`))}}let i=n;const r=t.startsWith("update:"),o=r&&Jf(s,t.slice(7));if(o&&(o.trim&&(i=n.map(u=>ee(u)?u.trim():u)),o.number&&(i=n.map(fo))),process.env.NODE_ENV!=="production"&&Mm(e,t,i),process.env.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&s[en(u)]&&I(`Event "${u}" is emitted in component ${nr(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ht(t)}" instead of "${t}".`)}let l,a=s[l=en(t)]||s[l=en(Oe(t))];!a&&r&&(a=s[l=en(ht(t))]),a&&kt(a,e,6,i);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,kt(c,e,6,i)}}const zg=new WeakMap;function Zf(e,t,n=!1){const s=n?zg:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!Q(e)){const a=c=>{const u=Zf(c,t,!0);u&&(l=!0,ie(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(de(e)&&s.set(e,null),null):(B(r)?r.forEach(a=>o[a]=null):ie(o,r),de(e)&&s.set(e,o),o)}function Oo(e,t){return!e||!An(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ee(e,t[0].toLowerCase()+t.slice(1))||Ee(e,ht(t))||Ee(e,t))}let yl=!1;function $r(){yl=!0}function Nr(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:m,inheritAttrs:p}=e,S=Fi(e);let N,_;process.env.NODE_ENV!=="production"&&(yl=!1);try{if(n.shapeFlag&4){const y=i||s,D=process.env.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(y,{get(T,C,O){return I(`Property '${String(C)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(T,C,O)}}):y;N=_t(c.call(D,y,u,process.env.NODE_ENV!=="production"?Kt(f):f,h,d,m)),_=l}else{const y=t;process.env.NODE_ENV!=="production"&&l===f&&$r(),N=_t(y.length>1?y(process.env.NODE_ENV!=="production"?Kt(f):f,process.env.NODE_ENV!=="production"?{get attrs(){return $r(),Kt(l)},slots:o,emit:a}:{attrs:l,slots:o,emit:a}):y(process.env.NODE_ENV!=="production"?Kt(f):f,null)),_=t.props?l:qg(l)}}catch(y){kn.length=0,ss(y,e,1),N=_e(Le)}let v=N,E;if(process.env.NODE_ENV!=="production"&&N.patchFlag>0&&N.patchFlag&2048&&([v,E]=Yf(N)),_&&p!==!1){const y=Object.keys(_),{shapeFlag:D}=v;if(y.length){if(D&7)r&&y.some(Ai)&&(_=Gg(_,r)),v=Ft(v,_,!1,!0);else if(process.env.NODE_ENV!=="production"&&!yl&&v.type!==Le){const T=Object.keys(l),C=[],O=[];for(let k=0,A=T.length;k<A;k++){const w=T[k];An(w)?Ai(w)||C.push(w[2].toLowerCase()+w.slice(3)):O.push(w)}O.length&&I(`Extraneous non-props attributes (${O.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),C.length&&I(`Extraneous non-emits event listeners (${C.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!bc(v)&&I("Runtime directive used on component with non-element root node. The directives will not function as intended."),v=Ft(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!bc(v)&&I("Component inside <Transition> renders non-element root node that cannot be animated."),Mn(v,n.transition)),process.env.NODE_ENV!=="production"&&E?E(v):N=v,Fi(S),N}const Yf=e=>{const t=e.children,n=e.dynamicChildren,s=wo(t,!1);if(s){if(process.env.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return Yf(s)}else return[e,void 0];const i=t.indexOf(s),r=n?n.indexOf(s):-1,o=l=>{t[i]=l,n&&(r>-1?n[r]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[_t(s),o]};function wo(e,t=!0){let n;for(let s=0;s<e.length;s++){const i=e[s];if(dn(i)){if(i.type!==Le||i.children==="v-if"){if(n)return;if(n=i,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return wo(n.children)}}else return}return n}const qg=e=>{let t;for(const n in e)(n==="class"||n==="style"||An(n))&&((t||(t={}))[n]=e[n]);return t},Gg=(e,t)=>{const n={};for(const s in e)(!Ai(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},bc=e=>e.shapeFlag&7||e.type===Le;function Jg(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:a}=t,c=r.emitsOptions;if(process.env.NODE_ENV!=="production"&&(i||l)&&bt||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Nc(s,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(Xf(o,s,d)&&!Oo(c,d))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Nc(s,o,c):!0:!!o;return!1}function Nc(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(Xf(t,e,r)&&!Oo(n,r))return!0}return!1}function Xf(e,t,n){const s=e[n],i=t[n];return n==="style"&&de(s)&&de(i)?!In(s,i):s!==i}function Co({vnode:e,parent:t,suspense:n},s){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=s,e=i),i===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Qf={},ed=()=>Object.create(Qf),td=e=>Object.getPrototypeOf(e)===Qf;function Zg(e,t,n,s=!1){const i={},r=ed();e.propsDefaults=Object.create(null),nd(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);process.env.NODE_ENV!=="production"&&id(t||{},i,e),n?e.props=s?i:uf(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Yg(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Xg(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=re(i),[a]=e.propsOptions;let c=!1;if(!(process.env.NODE_ENV!=="production"&&Yg(e))&&(s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Oo(e.emitsOptions,d))continue;const h=t[d];if(a)if(Ee(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const m=Oe(d);i[m]=El(a,l,m,h,e,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{nd(e,t,i,r)&&(c=!0);let u;for(const f in l)(!t||!Ee(t,f)&&((u=ht(f))===f||!Ee(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=El(a,l,f,void 0,e,!0)):delete i[f]);if(r!==l)for(const f in r)(!t||!Ee(t,f))&&(delete r[f],c=!0)}c&&rn(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&id(t||{},i,e)}function nd(e,t,n,s){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(xn(a))continue;const c=t[a];let u;i&&Ee(i,u=Oe(a))?!r||!r.includes(u)?n[u]=c:(l||(l={}))[u]=c:Oo(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,o=!0)}if(r){const a=re(n),c=l||ce;for(let u=0;u<r.length;u++){const f=r[u];n[f]=El(i,a,f,c[f],e,!Ee(c,f))}}return o}function El(e,t,n,s,i,r){const o=e[n];if(o!=null){const l=Ee(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Q(a)){const{propsDefaults:c}=i;if(n in c)s=c[n];else{const u=ai(i);s=c[n]=a.call(null,t),u()}}else s=a;i.ce&&i.ce._setProp(n,s)}o[0]&&(r&&!l?s=!1:o[1]&&(s===""||s===ht(n))&&(s=!0))}return s}const Qg=new WeakMap;function sd(e,t,n=!1){const s=n?Qg:t.propsCache,i=s.get(e);if(i)return i;const r=e.props,o={},l=[];let a=!1;if(!Q(e)){const u=f=>{a=!0;const[d,h]=sd(f,t,!0);ie(o,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return de(e)&&s.set(e,Fs),Fs;if(B(r))for(let u=0;u<r.length;u++){process.env.NODE_ENV!=="production"&&!ee(r[u])&&I("props must be strings when using array syntax.",r[u]);const f=Oe(r[u]);Sc(f)&&(o[f]=ce)}else if(r){process.env.NODE_ENV!=="production"&&!de(r)&&I("invalid props options",r);for(const u in r){const f=Oe(u);if(Sc(f)){const d=r[u],h=o[f]=B(d)||Q(d)?{type:d}:ie({},d),m=h.type;let p=!1,S=!0;if(B(m))for(let N=0;N<m.length;++N){const _=m[N],v=Q(_)&&_.name;if(v==="Boolean"){p=!0;break}else v==="String"&&(S=!1)}else p=Q(m)&&m.name==="Boolean";h[0]=p,h[1]=S,(p||Ee(h,"default"))&&l.push(f)}}}const c=[o,l];return de(e)&&s.set(e,c),c}function Sc(e){return e[0]!=="$"&&!xn(e)?!0:(process.env.NODE_ENV!=="production"&&I(`Invalid prop name: "${e}" is a reserved property.`),!1)}function ev(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function id(e,t,n){const s=re(t),i=n.propsOptions[0],r=Object.keys(e).map(o=>Oe(o));for(const o in i){let l=i[o];l!=null&&tv(o,s[o],l,process.env.NODE_ENV!=="production"?Kt(s):s,!r.includes(o))}}function tv(e,t,n,s,i){const{type:r,required:o,validator:l,skipCheck:a}=n;if(o&&i){I('Missing required prop: "'+e+'"');return}if(!(t==null&&!o)){if(r!=null&&r!==!0&&!a){let c=!1;const u=B(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:m}=sv(t,u[d]);f.push(m||""),c=h}if(!c){I(iv(e,t,f));return}}l&&!l(t,s)&&I('Invalid prop: custom validator check failed for prop "'+e+'".')}}const nv=nt("String,Number,Boolean,Function,Symbol,BigInt");function sv(e,t){let n;const s=ev(t);if(s==="null")n=e===null;else if(nv(s)){const i=typeof e;n=i===s.toLowerCase(),!n&&i==="object"&&(n=e instanceof t)}else s==="Object"?n=de(e):s==="Array"?n=B(e):n=e instanceof t;return{valid:n,expectedType:s}}function iv(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(fn).join(" | ")}`;const i=n[0],r=Kl(t),o=Oc(t,i),l=Oc(t,r);return n.length===1&&wc(i)&&rv(i,r)&&(s+=` with value ${o}`),s+=`, got ${r} `,wc(r)&&(s+=`with value ${l}.`),s}function Oc(e,t){return ct(e)?e.toString():t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function wc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function rv(...e){return e.every(t=>{const n=t.toLowerCase();return n!=="boolean"&&n!=="symbol"})}const da=e=>e==="_"||e==="_ctx"||e==="$stable",ha=e=>B(e)?e.map(_t):[_t(e)],ov=(e,t,n)=>{if(t._n)return t;const s=ln((...i)=>(process.env.NODE_ENV!=="production"&&Be&&!(n===null&&Ke)&&!(n&&n.root!==Be.root)&&I(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),ha(t(...i))),n);return s._c=!1,s},rd=(e,t,n)=>{const s=e._ctx;for(const i in e){if(da(i))continue;const r=e[i];if(Q(r))t[i]=ov(i,r,s);else if(r!=null){process.env.NODE_ENV!=="production"&&I(`Non-function value encountered for slot "${i}". Prefer function slots for better performance.`);const o=ha(r);t[i]=()=>o}}},od=(e,t)=>{process.env.NODE_ENV!=="production"&&!li(e.vnode)&&I("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=ha(t);e.slots.default=()=>n},_l=(e,t,n)=>{for(const s in t)(n||!da(s))&&(e[s]=t[s])},lv=(e,t,n)=>{const s=e.slots=ed();if(e.vnode.shapeFlag&32){const i=t._;i?(_l(s,t,n),n&&qs(s,"_",i,!0)):rd(t,s)}else t&&od(e,t)},av=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=ce;if(s.shapeFlag&32){const l=t._;l?process.env.NODE_ENV!=="production"&&bt?(_l(i,t,n),rn(e,"set","$slots")):n&&l===1?r=!1:_l(i,t,n):(r=!t.$stable,rd(t,i)),o=t}else t&&(od(e,t),o={default:1});if(r)for(const l in i)!da(l)&&o[l]==null&&delete i[l]};let di,Sn;function En(e,t){e.appContext.config.performance&&jr()&&Sn.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Am(e,t,jr()?Sn.now():Date.now())}function _n(e,t){if(e.appContext.config.performance&&jr()){const n=`vue-${t}-${e.uid}`,s=n+":end",i=`<${nr(e,e.type)}> ${t}`;Sn.mark(s),Sn.measure(i,n,s),Sn.clearMeasures(i),Sn.clearMarks(n),Sn.clearMarks(s)}process.env.NODE_ENV!=="production"&&Im(e,t,jr()?Sn.now():Date.now())}function jr(){return di!==void 0||(typeof window<"u"&&window.performance?(di=!0,Sn=window.performance):di=!1),di}function cv(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
22
22
|
|
|
23
|
-
For more details, see https://link.vuejs.org/feature-flags.`)}}const He=ad;function td(e){return sd(e)}function nd(e){return sd(e,qm)}function sd(e,t){nv();const n=Ui();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&Wl(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=ke,insertStaticContent:m}=e,p=(v,b,x,F=null,M=null,A=null,B=void 0,$=null,j=process.env.NODE_ENV!=="production"&&At?!1:!!b.dynamicChildren)=>{if(v===b)return;v&&!Ht(v,b)&&(F=Ze(v),Et(v,M,A,!0),v=null),b.patchFlag===-2&&(j=!1,b.dynamicChildren=null);const{type:L,ref:ee,shapeFlag:U}=b;switch(L){case ln:S(v,b,x,F);break;case Ae:N(v,b,x,F);break;case qn:v==null?E(b,x,F,B):process.env.NODE_ENV!=="production"&&g(v,b,x,B);break;case we:R(v,b,x,F,M,A,B,$,j);break;default:U&1?w(v,b,x,F,M,A,B,$,j):U&6?G(v,b,x,F,M,A,B,$,j):U&64||U&128?L.process(v,b,x,F,M,A,B,$,j,tt):process.env.NODE_ENV!=="production"&&k("Invalid VNode type:",L,`(${typeof L})`)}ee!=null&&M?Hs(ee,v&&v.ref,A,b||v,!b):ee==null&&v&&v.ref!=null&&Hs(v.ref,null,A,v,!0)},S=(v,b,x,F)=>{if(v==null)s(b.el=l(b.children),x,F);else{const M=b.el=v.el;if(b.children!==v.children)if(process.env.NODE_ENV!=="production"&&At&&b.patchFlag===-1&&"__elIndex"in v){const A=x.childNodes,B=l(b.children),$=A[b.__elIndex=v.__elIndex];s(B,x,$),i($)}else c(M,b.children)}},N=(v,b,x,F)=>{v==null?s(b.el=a(b.children||""),x,F):b.el=v.el},E=(v,b,x,F)=>{[v.el,v.anchor]=m(v.children,b,x,F,v.el,v.anchor)},g=(v,b,x,F)=>{if(b.children!==v.children){const M=d(v.anchor);y(v),[b.el,b.anchor]=m(b.children,x,M,F)}else b.el=v.el,b.anchor=v.anchor},_=({el:v,anchor:b},x,F)=>{let M;for(;v&&v!==b;)M=d(v),s(v,x,F),v=M;s(b,x,F)},y=({el:v,anchor:b})=>{let x;for(;v&&v!==b;)x=d(v),i(v),v=x;i(b)},w=(v,b,x,F,M,A,B,$,j)=>{if(b.type==="svg"?B="svg":b.type==="math"&&(B="mathml"),v==null)P(b,x,F,M,A,B,$,j);else{const L=v.el&&v.el._isVueCE?v.el:null;try{L&&L._beginPatch(),D(v,b,M,A,B,$,j)}finally{L&&L._endPatch()}}},P=(v,b,x,F,M,A,B,$)=>{let j,L;const{props:ee,shapeFlag:U,transition:X,dirs:se}=v;if(j=v.el=o(v.type,A,ee&&ee.is,ee),U&8?u(j,v.children):U&16&&O(v.children,j,null,F,M,jo(v,A),B,$),se&&Xt(v,null,F,"created"),T(j,v,v.scopeId,B,F),ee){for(const Oe in ee)Oe!=="value"&&!On(Oe)&&r(j,Oe,null,ee[Oe],A,F);"value"in ee&&r(j,"value",null,ee.value,A),(L=ee.onVnodeBeforeMount)&&Nt(L,F,v)}process.env.NODE_ENV!=="production"&&(Us(j,"__vnode",v,!0),Us(j,"__vueParentComponent",F,!0)),se&&Xt(v,null,F,"beforeMount");const pe=id(M,X);pe&&X.beforeEnter(j),s(j,b,x),((L=ee&&ee.onVnodeMounted)||pe||se)&&He(()=>{L&&Nt(L,F,v),pe&&X.enter(j),se&&Xt(v,null,F,"mounted")},M)},T=(v,b,x,F,M)=>{if(x&&h(v,x),F)for(let A=0;A<F.length;A++)h(v,F[A]);if(M){let A=M.subTree;if(process.env.NODE_ENV!=="production"&&A.patchFlag>0&&A.patchFlag&2048&&(A=_o(A.children)||A),b===A||Fr(A.type)&&(A.ssContent===b||A.ssFallback===b)){const B=M.vnode;T(v,B,B.scopeId,B.slotScopeIds,M.parent)}}},O=(v,b,x,F,M,A,B,$,j=0)=>{for(let L=j;L<v.length;L++){const ee=v[L]=$?$n(v[L]):yt(v[L]);p(null,ee,b,x,F,M,A,B,$)}},D=(v,b,x,F,M,A,B)=>{const $=b.el=v.el;process.env.NODE_ENV!=="production"&&($.__vnode=b);let{patchFlag:j,dynamicChildren:L,dirs:ee}=b;j|=v.patchFlag&16;const U=v.props||ue,X=b.props||ue;let se;if(x&&ns(x,!1),(se=X.onVnodeBeforeUpdate)&&Nt(se,x,b,v),ee&&Xt(b,v,x,"beforeUpdate"),x&&ns(x,!0),process.env.NODE_ENV!=="production"&&At&&(j=0,B=!1,L=null),(U.innerHTML&&X.innerHTML==null||U.textContent&&X.textContent==null)&&u($,""),L?(I(v.dynamicChildren,L,$,x,F,jo(b,M),A),process.env.NODE_ENV!=="production"&&Ni(v,b)):B||le(v,b,$,null,x,F,jo(b,M),A,!1),j>0){if(j&16)C($,U,X,x,M);else if(j&2&&U.class!==X.class&&r($,"class",null,X.class,M),j&4&&r($,"style",U.style,X.style,M),j&8){const pe=b.dynamicProps;for(let Oe=0;Oe<pe.length;Oe++){const Ee=pe[Oe],Ye=U[Ee],Xe=X[Ee];(Xe!==Ye||Ee==="value")&&r($,Ee,Ye,Xe,M,x)}}j&1&&v.children!==b.children&&u($,b.children)}else!B&&L==null&&C($,U,X,x,M);((se=X.onVnodeUpdated)||ee)&&He(()=>{se&&Nt(se,x,b,v),ee&&Xt(b,v,x,"updated")},F)},I=(v,b,x,F,M,A,B)=>{for(let $=0;$<b.length;$++){const j=v[$],L=b[$],ee=j.el&&(j.type===we||!Ht(j,L)||j.shapeFlag&198)?f(j.el):x;p(j,L,ee,null,F,M,A,B,!0)}},C=(v,b,x,F,M)=>{if(b!==x){if(b!==ue)for(const A in b)!On(A)&&!(A in x)&&r(v,A,b[A],null,M,F);for(const A in x){if(On(A))continue;const B=x[A],$=b[A];B!==$&&A!=="value"&&r(v,A,$,B,M,F)}"value"in x&&r(v,"value",b.value,x.value,M)}},R=(v,b,x,F,M,A,B,$,j)=>{const L=b.el=v?v.el:l(""),ee=b.anchor=v?v.anchor:l("");let{patchFlag:U,dynamicChildren:X,slotScopeIds:se}=b;process.env.NODE_ENV!=="production"&&(At||U&2048)&&(U=0,j=!1,X=null),se&&($=$?$.concat(se):se),v==null?(s(L,x,F),s(ee,x,F),O(b.children||[],x,ee,M,A,B,$,j)):U>0&&U&64&&X&&v.dynamicChildren&&v.dynamicChildren.length===X.length?(I(v.dynamicChildren,X,x,M,A,B,$),process.env.NODE_ENV!=="production"?Ni(v,b):(b.key!=null||M&&b===M.subTree)&&Ni(v,b,!0)):le(v,b,x,ee,M,A,B,$,j)},G=(v,b,x,F,M,A,B,$,j)=>{b.slotScopeIds=$,v==null?b.shapeFlag&512?M.ctx.activate(b,x,F,B,j):z(b,x,F,M,A,B,j):W(v,b,j)},z=(v,b,x,F,M,A,B)=>{const $=v.component=md(v,F,M);if(process.env.NODE_ENV!=="production"&&$.type.__hmrId&&Nm($),process.env.NODE_ENV!=="production"&&(Fs(v),gn($,"mount")),ri(v)&&($.ctx.renderer=tt),process.env.NODE_ENV!=="production"&&gn($,"init"),vd($,!1,B),process.env.NODE_ENV!=="production"&&vn($,"init"),process.env.NODE_ENV!=="production"&&At&&(v.el=null),$.asyncDep){if(M&&M.registerDep($,J,B),!v.el){const j=$.subTree=_e(Ae);N(null,j,b,x),v.placeholder=j.el}}else J($,v,b,x,M,A,B);process.env.NODE_ENV!=="production"&&(Rs(),vn($,"mount"))},W=(v,b,x)=>{const F=b.component=v.component;if(Bg(v,b,x))if(F.asyncDep&&!F.asyncResolved){process.env.NODE_ENV!=="production"&&Fs(b),H(F,b,x),process.env.NODE_ENV!=="production"&&Rs();return}else F.next=b,F.update();else b.el=v.el,F.vnode=b},J=(v,b,x,F,M,A,B)=>{const $=()=>{if(v.isMounted){let{next:U,bu:X,u:se,parent:pe,vnode:Oe}=v;{const st=rd(v);if(st){U&&(U.el=Oe.el,H(v,U,B)),st.asyncDep.then(()=>{v.isUnmounted||$()});return}}let Ee=U,Ye;process.env.NODE_ENV!=="production"&&Fs(U||v.vnode),ns(v,!1),U?(U.el=Oe.el,H(v,U,B)):U=Oe,X&&Hn(X),(Ye=U.props&&U.props.onVnodeBeforeUpdate)&&Nt(Ye,pe,U,Oe),ns(v,!0),process.env.NODE_ENV!=="production"&&gn(v,"render");const Xe=gr(v);process.env.NODE_ENV!=="production"&&vn(v,"render");const nt=v.subTree;v.subTree=Xe,process.env.NODE_ENV!=="production"&&gn(v,"patch"),p(nt,Xe,f(nt.el),Ze(nt),v,M,A),process.env.NODE_ENV!=="production"&&vn(v,"patch"),U.el=Xe.el,Ee===null&&bo(v,Xe.el),se&&He(se,M),(Ye=U.props&&U.props.onVnodeUpdated)&&He(()=>Nt(Ye,pe,U,Oe),M),process.env.NODE_ENV!=="production"&&mf(v),process.env.NODE_ENV!=="production"&&Rs()}else{let U;const{el:X,props:se}=b,{bm:pe,m:Oe,parent:Ee,root:Ye,type:Xe}=v,nt=wn(b);if(ns(v,!1),pe&&Hn(pe),!nt&&(U=se&&se.onVnodeBeforeMount)&&Nt(U,Ee,b),ns(v,!0),X&&oi){const st=()=>{process.env.NODE_ENV!=="production"&&gn(v,"render"),v.subTree=gr(v),process.env.NODE_ENV!=="production"&&vn(v,"render"),process.env.NODE_ENV!=="production"&&gn(v,"hydrate"),oi(X,v.subTree,v,M,null),process.env.NODE_ENV!=="production"&&vn(v,"hydrate")};nt&&Xe.__asyncHydrate?Xe.__asyncHydrate(X,v,st):st()}else{Ye.ce&&Ye.ce._def.shadowRoot!==!1&&Ye.ce._injectChildStyle(Xe),process.env.NODE_ENV!=="production"&&gn(v,"render");const st=v.subTree=gr(v);process.env.NODE_ENV!=="production"&&vn(v,"render"),process.env.NODE_ENV!=="production"&&gn(v,"patch"),p(null,st,x,F,v,M,A),process.env.NODE_ENV!=="production"&&vn(v,"patch"),b.el=st.el}if(Oe&&He(Oe,M),!nt&&(U=se&&se.onVnodeMounted)){const st=b;He(()=>Nt(U,Ee,st),M)}(b.shapeFlag&256||Ee&&wn(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&v.a&&He(v.a,M),v.isMounted=!0,process.env.NODE_ENV!=="production"&&il(v),b=x=F=null}};v.scope.on();const j=v.effect=new Di($);v.scope.off();const L=v.update=j.run.bind(j),ee=v.job=j.runIfDirty.bind(j);ee.i=v,ee.id=v.uid,j.scheduler=()=>ho(ee),ns(v,!0),process.env.NODE_ENV!=="production"&&(j.onTrack=v.rtc?U=>Hn(v.rtc,U):void 0,j.onTrigger=v.rtg?U=>Hn(v.rtg,U):void 0),L()},H=(v,b,x)=>{b.component=v;const F=v.vnode.props;v.vnode=b,v.next=null,Wg(v,b.props,F,x),tv(v,b.children,x),qt(),Xa(v),Gt()},le=(v,b,x,F,M,A,B,$,j=!1)=>{const L=v&&v.children,ee=v?v.shapeFlag:0,U=b.children,{patchFlag:X,shapeFlag:se}=b;if(X>0){if(X&128){Ge(L,U,x,F,M,A,B,$,j);return}else if(X&256){$e(L,U,x,F,M,A,B,$,j);return}}se&8?(ee&16&&be(L,M,A),U!==L&&u(x,U)):ee&16?se&16?Ge(L,U,x,F,M,A,B,$,j):be(L,M,A,!0):(ee&8&&u(x,""),se&16&&O(U,x,F,M,A,B,$,j))},$e=(v,b,x,F,M,A,B,$,j)=>{v=v||Ls,b=b||Ls;const L=v.length,ee=b.length,U=Math.min(L,ee);let X;for(X=0;X<U;X++){const se=b[X]=j?$n(b[X]):yt(b[X]);p(v[X],se,x,null,M,A,B,$,j)}L>ee?be(v,M,A,!0,!1,U):O(b,x,F,M,A,B,$,j,U)},Ge=(v,b,x,F,M,A,B,$,j)=>{let L=0;const ee=b.length;let U=v.length-1,X=ee-1;for(;L<=U&&L<=X;){const se=v[L],pe=b[L]=j?$n(b[L]):yt(b[L]);if(Ht(se,pe))p(se,pe,x,null,M,A,B,$,j);else break;L++}for(;L<=U&&L<=X;){const se=v[U],pe=b[X]=j?$n(b[X]):yt(b[X]);if(Ht(se,pe))p(se,pe,x,null,M,A,B,$,j);else break;U--,X--}if(L>U){if(L<=X){const se=X+1,pe=se<ee?b[se].el:F;for(;L<=X;)p(null,b[L]=j?$n(b[L]):yt(b[L]),x,pe,M,A,B,$,j),L++}}else if(L>X)for(;L<=U;)Et(v[L],M,A,!0),L++;else{const se=L,pe=L,Oe=new Map;for(L=pe;L<=X;L++){const Ke=b[L]=j?$n(b[L]):yt(b[L]);Ke.key!=null&&(process.env.NODE_ENV!=="production"&&Oe.has(Ke.key)&&k("Duplicate keys found during update:",JSON.stringify(Ke.key),"Make sure keys are unique."),Oe.set(Ke.key,L))}let Ee,Ye=0;const Xe=X-pe+1;let nt=!1,st=0;const dn=new Array(Xe);for(L=0;L<Xe;L++)dn[L]=0;for(L=se;L<=U;L++){const Ke=v[L];if(Ye>=Xe){Et(Ke,M,A,!0);continue}let Vt;if(Ke.key!=null)Vt=Oe.get(Ke.key);else for(Ee=pe;Ee<=X;Ee++)if(dn[Ee-pe]===0&&Ht(Ke,b[Ee])){Vt=Ee;break}Vt===void 0?Et(Ke,M,A,!0):(dn[Vt-pe]=L+1,Vt>=st?st=Vt:nt=!0,p(Ke,b[Vt],x,null,M,A,B,$,j),Ye++)}const Ds=nt?sv(dn):Ls;for(Ee=Ds.length-1,L=Xe-1;L>=0;L--){const Ke=pe+L,Vt=b[Ke],Qi=b[Ke+1],er=Ke+1<ee?Qi.el||od(Qi):F;dn[L]===0?p(null,Vt,x,er,M,A,B,$,j):nt&&(Ee<0||L!==Ds[Ee]?Je(Vt,x,er,2):Ee--)}}},Je=(v,b,x,F,M=null)=>{const{el:A,type:B,transition:$,children:j,shapeFlag:L}=v;if(L&6){Je(v.component.subTree,b,x,F);return}if(L&128){v.suspense.move(b,x,F);return}if(L&64){B.move(v,b,x,tt);return}if(B===we){s(A,b,x);for(let U=0;U<j.length;U++)Je(j[U],b,x,F);s(v.anchor,b,x);return}if(B===qn){_(v,b,x);return}if(F!==2&&L&1&&$)if(F===0)$.beforeEnter(A),s(A,b,x),He(()=>$.enter(A),M);else{const{leave:U,delayLeave:X,afterLeave:se}=$,pe=()=>{v.ctx.isUnmounted?i(A):s(A,b,x)},Oe=()=>{A._isLeaving&&A[_n](!0),U(A,()=>{pe(),se&&se()})};X?X(A,pe,Oe):Oe()}else s(A,b,x)},Et=(v,b,x,F=!1,M=!1)=>{const{type:A,props:B,ref:$,children:j,dynamicChildren:L,shapeFlag:ee,patchFlag:U,dirs:X,cacheIndex:se}=v;if(U===-2&&(M=!1),$!=null&&(qt(),Hs($,null,x,v,!0),Gt()),se!=null&&(b.renderCache[se]=void 0),ee&256){b.ctx.deactivate(v);return}const pe=ee&1&&X,Oe=!wn(v);let Ee;if(Oe&&(Ee=B&&B.onVnodeBeforeUnmount)&&Nt(Ee,b,v),ee&6)Z(v.component,x,F);else{if(ee&128){v.suspense.unmount(x,F);return}pe&&Xt(v,null,b,"beforeUnmount"),ee&64?v.type.remove(v,b,x,tt,F):L&&!L.hasOnce&&(A!==we||U>0&&U&64)?be(L,b,x,!1,!0):(A===we&&U&384||!M&&ee&16)&&be(j,b,x),F&&fn(v)}(Oe&&(Ee=B&&B.onVnodeUnmounted)||pe)&&He(()=>{Ee&&Nt(Ee,b,v),pe&&Xt(v,null,b,"unmounted")},x)},fn=v=>{const{type:b,el:x,anchor:F,transition:M}=v;if(b===we){process.env.NODE_ENV!=="production"&&v.patchFlag>0&&v.patchFlag&2048&&M&&!M.persisted?v.children.forEach(B=>{B.type===Ae?i(B.el):fn(B)}):V(x,F);return}if(b===qn){y(v);return}const A=()=>{i(x),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(v.shapeFlag&1&&M&&!M.persisted){const{leave:B,delayLeave:$}=M,j=()=>B(x,A);$?$(v.el,A,j):j()}else A()},V=(v,b)=>{let x;for(;v!==b;)x=d(v),i(v),v=x;i(b)},Z=(v,b,x)=>{process.env.NODE_ENV!=="production"&&v.type.__hmrId&&Sm(v);const{bum:F,scope:M,job:A,subTree:B,um:$,m:j,a:L}=v;Lr(j),Lr(L),F&&Hn(F),M.stop(),A&&(A.flags|=8,Et(B,v,b,x)),$&&He($,b),He(()=>{v.isUnmounted=!0},b),process.env.NODE_ENV!=="production"&&Tm(v)},be=(v,b,x,F=!1,M=!1,A=0)=>{for(let B=A;B<v.length;B++)Et(v[B],b,x,F,M)},Ze=v=>{if(v.shapeFlag&6)return Ze(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const b=d(v.anchor||v.el),x=b&&b[Nf];return x?d(x):b};let lt=!1;const Rt=(v,b,x)=>{let F;v==null?b._vnode&&(Et(b._vnode,null,null,!0),F=b._vnode.component):p(b._vnode||null,v,b,null,null,null,x),b._vnode=v,lt||(lt=!0,Xa(F),Tr(),lt=!1)},tt={p,um:Et,m:Je,r:fn,mt:z,mc:O,pc:le,pbc:I,n:Ze,o:e};let $t,oi;return t&&([$t,oi]=t(tt)),{render:Rt,hydrate:$t,createApp:Lg(Rt,$t)}}function jo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ns({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function id(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ni(e,t,n=!1){const s=e.children,i=t.children;if(K(s)&&K(i))for(let r=0;r<s.length;r++){const o=s[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=$n(i[r]),l.el=o.el),!n&&l.patchFlag!==-2&&Ni(o,l)),l.type===ln&&(l.patchFlag!==-1?l.el=o.el:l.__elIndex=r+(e.type===we?1:0)),l.type===Ae&&!l.el&&(l.el=o.el),process.env.NODE_ENV!=="production"&&l.el&&(l.el.__vnode=l)}}function sv(e){const t=e.slice(),n=[0];let s,i,r,o,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(i=n[n.length-1],e[i]<c){t[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)l=r+o>>1,e[n[l]]<c?r=l+1:o=l;c<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function rd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:rd(t)}function Lr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function od(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?od(t.subTree):null}const Fr=e=>e.__isSuspense;let hl=0;const iv={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,r,o,l,a,c){if(e==null)ov(t,n,s,i,r,o,l,a,c);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}lv(e,t,n,s,i,o,l,a,c)}},hydrate:av,normalize:cv},rv=iv;function Mi(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function ov(e,t,n,s,i,r,o,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=ld(e,i,s,t,f,n,r,o,l,a);c(null,d.pendingBranch=e.ssContent,f,null,s,d,r,o),d.deps>0?(Mi(e,"onPending"),Mi(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,r,o),Ks(d,e.ssFallback)):d.resolve(!1,!0)}function lv(e,t,n,s,i,r,o,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:p,isInFallback:S,isHydrating:N}=f;if(p)f.pendingBranch=d,Ht(p,d)?(a(p,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():S&&(N||(a(m,h,n,s,i,null,r,o,l),Ks(f,h)))):(f.pendingId=hl++,N?(f.isHydrating=!1,f.activeBranch=p):c(p,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),S?(a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():(a(m,h,n,s,i,null,r,o,l),Ks(f,h))):m&&Ht(m,d)?(a(m,d,n,s,i,f,r,o,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0&&f.resolve()));else if(m&&Ht(m,d))a(m,d,n,s,i,f,r,o,l),Ks(f,d);else if(Mi(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=hl++,a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:g}=f;E>0?setTimeout(()=>{f.pendingId===g&&f.fallback(h)},E):E===0&&f.fallback(h)}}let yc=!1;function ld(e,t,n,s,i,r,o,l,a,c,u=!1){process.env.NODE_ENV!=="production"&&!yc&&(yc=!0,console[console.info?"info":"log"]("<Suspense> is an experimental feature and its API will likely change."));const{p:f,m:d,um:h,n:m,o:{parentNode:p,remove:S}}=c;let N;const E=uv(e);E&&t&&t.pendingBranch&&(N=t.pendingId,t.deps++);const g=e.props?wr(e.props.timeout):void 0;process.env.NODE_ENV!=="production"&&Kl(g,"Suspense timeout");const _=r,y={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:hl++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(w=!1,P=!1){if(process.env.NODE_ENV!=="production"){if(!w&&!y.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(y.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:T,activeBranch:O,pendingBranch:D,pendingId:I,effects:C,parentComponent:R,container:G,isInFallback:z}=y;let W=!1;y.isHydrating?y.isHydrating=!1:w||(W=O&&D.transition&&D.transition.mode==="out-in",W&&(O.transition.afterLeave=()=>{I===y.pendingId&&(d(D,G,r===_?m(O):r,0),zs(C),z&&T.ssFallback&&(T.ssFallback.el=null))}),O&&(p(O.el)===G&&(r=m(O)),h(O,R,y,!0),!W&&z&&T.ssFallback&&He(()=>T.ssFallback.el=null,y)),W||d(D,G,r,0)),Ks(y,D),y.pendingBranch=null,y.isInFallback=!1;let J=y.parent,H=!1;for(;J;){if(J.pendingBranch){J.effects.push(...C),H=!0;break}J=J.parent}!H&&!W&&zs(C),y.effects=[],E&&t&&t.pendingBranch&&N===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),Mi(T,"onResolve")},fallback(w){if(!y.pendingBranch)return;const{vnode:P,activeBranch:T,parentComponent:O,container:D,namespace:I}=y;Mi(P,"onFallback");const C=m(T),R=()=>{y.isInFallback&&(f(null,w,D,C,O,null,I,l,a),Ks(y,w))},G=w.transition&&w.transition.mode==="out-in";G&&(T.transition.afterLeave=R),y.isInFallback=!0,h(T,O,null,!0),G||R()},move(w,P,T){y.activeBranch&&d(y.activeBranch,w,P,T),y.container=w},next(){return y.activeBranch&&m(y.activeBranch)},registerDep(w,P,T){const O=!!y.pendingBranch;O&&y.deps++;const D=w.vnode.el;w.asyncDep.catch(I=>{es(I,w,0)}).then(I=>{if(w.isUnmounted||y.isUnmounted||y.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:C}=w;process.env.NODE_ENV!=="production"&&Fs(C),yl(w,I,!1),D&&(C.el=D);const R=!D&&w.subTree.el;P(w,C,p(D||w.subTree.el),D?null:m(w.subTree),y,o,T),R&&(C.placeholder=null,S(R)),bo(w,C.el),process.env.NODE_ENV!=="production"&&Rs(),O&&--y.deps===0&&y.resolve()})},unmount(w,P){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,w,P),y.pendingBranch&&h(y.pendingBranch,n,w,P)}};return y}function av(e,t,n,s,i,r,o,l,a){const c=t.suspense=ld(t,s,n,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function cv(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Ec(s?n.default:n),e.ssFallback=s?Ec(n.fallback):_e(Ae)}function Ec(e){let t;if(Q(e)){const n=Es&&e._c;n&&(e._d=!1,fe()),e=e(),n&&(e._d=!0,t=dt,cd())}if(K(e)){const n=_o(e);process.env.NODE_ENV!=="production"&&!n&&e.filter(s=>s!==Ql).length>0&&k("<Suspense> slots expect a single root node."),e=n}return e=yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ad(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):zs(e)}function Ks(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,bo(s,i))}function uv(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const we=Symbol.for("v-fgt"),ln=Symbol.for("v-txt"),Ae=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),Si=[];let dt=null;function fe(e=!1){Si.push(dt=e?null:[])}function cd(){Si.pop(),dt=Si[Si.length-1]||null}let Es=1;function Pi(e,t=!1){Es+=e,e<0&&dt&&t&&(dt.hasOnce=!0)}function ud(e){return e.dynamicChildren=Es>0?dt||Ls:null,cd(),Es>0&&dt&&dt.push(e),e}function Ce(e,t,n,s,i,r){return ud(ae(e,t,n,s,i,r,!0))}function Wt(e,t,n,s,i){return ud(_e(e,t,n,s,i,!0))}function cn(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=pr.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}let pl;function fv(e){pl=e}const dv=(...e)=>dd(...pl?pl(e,Re):e),fd=({key:e})=>e??null,vr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?te(e)||Ie(e)||Q(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function ae(e,t=null,n=null,s=0,i=null,r=e===we?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fd(t),ref:t&&vr(t),scopeId:po,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Re};return l?(oa(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=te(n)?8:16),process.env.NODE_ENV!=="production"&&a.key!==a.key&&k("VNode created with invalid key (NaN). VNode type:",a.type),Es>0&&!o&&dt&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&dt.push(a),a}const _e=process.env.NODE_ENV!=="production"?dv:dd;function dd(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===Ql)&&(process.env.NODE_ENV!=="production"&&!e&&k(`Invalid vnode type when creating vnode: ${e}.`),e=Ae),cn(e)){const l=Ft(e,t,!0);return n&&oa(l,n),Es>0&&!r&&dt&&(l.shapeFlag&6?dt[dt.indexOf(e)]=l:dt.push(l)),l.patchFlag=-2,l}if(bd(e)&&(e=e.__vccOpts),t){t=hd(t);let{class:l,style:a}=t;l&&!te(l)&&(t.class=xe(l)),he(a)&&(vs(a)&&!K(a)&&(a=oe({},a)),t.style=qe(a))}const o=te(e)?1:Fr(e)?128:Sf(e)?64:he(e)?4:Q(e)?2:0;return process.env.NODE_ENV!=="production"&&o&4&&vs(e)&&(e=re(e),k("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
24
|
-
Component that was made reactive: `,e)),ae(e,t,n,s,i,o,r,!0)}function hd(e){return e?vs(e)||Jf(e)?oe({},e):e:null}function Ft(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=e,c=t?en(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&fd(c),ref:t&&t.ref?n&&r?K(r)?r.concat(vr(t)):[r,vr(t)]:vr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&o===-1&&K(l)?l.map(pd):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ft(e.ssContent),ssFallback:e.ssFallback&&Ft(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&Tn(u,a.clone(u)),u}function pd(e){const t=Ft(e);return K(e.children)&&(t.children=e.children.map(pd)),t}function _s(e=" ",t=0){return _e(ln,null,e,t)}function hv(e,t){const n=_e(qn,null,e);return n.staticCount=t,n}function Cn(e="",t=!1){return t?(fe(),Wt(Ae,null,e)):_e(Ae,null,e)}function yt(e){return e==null||typeof e=="boolean"?_e(Ae):K(e)?_e(we,null,e.slice()):cn(e)?$n(e):_e(ln,null,String(e))}function $n(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ft(e)}function oa(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),oa(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Jf(t)?t._ctx=Re:i===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),s&64?(n=16,t=[_s(t)]):n=8);e.children=t,e.shapeFlag|=n}function en(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=xe([t.class,s.class]));else if(i==="style")t.style=qe([t.style,s.style]);else if(xn(i)){const r=t[i],o=s[i];o&&r!==o&&!(K(r)&&r.includes(o))&&(t[i]=r?[].concat(r,o):o)}else i!==""&&(t[i]=s[i])}return t}function Nt(e,t,n,s=null){Lt(e,t,7,[n,s])}const pv=Kf();let mv=0;function md(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||pv,r={uid:mv++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Rl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Yf(s,i),emitsOptions:Wf(s,i),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:s.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return process.env.NODE_ENV!=="production"?r.ctx=pg(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Rg.bind(null,r),e.ce&&e.ce(r),r}let Fe=null;const ze=()=>Fe||Re;let Rr,ml;{const e=Ui(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Rr=t("__VUE_INSTANCE_SETTERS__",n=>Fe=n),ml=t("__VUE_SSR_SETTERS__",n=>Gs=n)}const bs=e=>{const t=Fe;return Rr(e),e.scope.on(),()=>{e.scope.off(),Rr(t)}},gl=()=>{Fe&&Fe.scope.off(),Rr(null)},gv=et("slot,component");function vl(e,{isNativeTag:t}){(gv(e)||t(e))&&k("Do not use built-in or reserved HTML elements as component id: "+e)}function gd(e){return e.vnode.shapeFlag&4}let Gs=!1;function vd(e,t=!1,n=!1){t&&ml(t);const{props:s,children:i}=e.vnode,r=gd(e);Kg(e,s,r,t),ev(e,i,n||t);const o=r?vv(e,t):void 0;return t&&ml(!1),o}function vv(e,t){const n=e.type;if(process.env.NODE_ENV!=="production"){if(n.name&&vl(n.name,e.appContext.config),n.components){const i=Object.keys(n.components);for(let r=0;r<i.length;r++)vl(i[r],e.appContext.config)}if(n.directives){const i=Object.keys(n.directives);for(let r=0;r<i.length;r++)vf(i[r])}n.compilerOptions&&la()&&k('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bi),process.env.NODE_ENV!=="production"&&mg(e);const{setup:s}=n;if(s){qt();const i=e.setupContext=s.length>1?_d(e):null,r=bs(e),o=Os(s,e,0,[process.env.NODE_ENV!=="production"?Bt(e.props):e.props,i]),l=to(o);if(Gt(),r(),(l||e.sp)&&!wn(e)&&Zl(e),l){if(o.then(gl,gl),t)return o.then(a=>{yl(e,a,t)}).catch(a=>{es(a,e,0)});if(e.asyncDep=o,process.env.NODE_ENV!=="production"&&!e.suspense){const a=Gi(e,n);k(`Component <${a}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else yl(e,o,t)}else Ed(e,t)}function yl(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)?(process.env.NODE_ENV!=="production"&&cn(t)&&k("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Bl(t),process.env.NODE_ENV!=="production"&&gg(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&k(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Ed(e,n)}let Oi,El;function yd(e){Oi=e,El=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,hg))}}const la=()=>!Oi;function Ed(e,t,n){const s=e.type;if(!e.render){if(!t&&Oi&&!s.render){const i=s.template||sa(e).template;if(i){process.env.NODE_ENV!=="production"&&gn(e,"compile");const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=oe(oe({isCustomElement:r,delimiters:l},o),a);s.render=Oi(i,c),process.env.NODE_ENV!=="production"&&vn(e,"compile")}}e.render=s.render||ke,El&&El(e)}{const i=bs(e);qt();try{Vg(e)}finally{Gt(),i()}}process.env.NODE_ENV!=="production"&&!s.render&&e.render===ke&&!t&&(!Oi&&s.template?k('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):k("Component is missing template or render function: ",s))}const _c=process.env.NODE_ENV!=="production"?{get(e,t){return Mr(),Ue(e,"get",""),e[t]},set(){return k("setupContext.attrs is readonly."),!1},deleteProperty(){return k("setupContext.attrs is readonly."),!1}}:{get(e,t){return Ue(e,"get",""),e[t]}};function yv(e){return new Proxy(e.slots,{get(t,n){return Ue(e,"get","$slots"),t[n]}})}function _d(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&k("expose() should be called only once per setup()."),n!=null)){let s=typeof n;s==="object"&&(K(n)?s="array":Ie(n)&&(s="ref")),s!=="object"&&k(`expose() should be passed a plain object, received ${s}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,s;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,_c))},get slots(){return s||(s=yv(e))},get emit(){return(i,...r)=>e.emit(i,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,_c),slots:e.slots,emit:e.emit,expose:t}}function qi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Bl(sf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ps)return ps[n](e)},has(t,n){return n in t||n in ps}})):e.proxy}const Ev=/(?:^|[-_])\w/g,_v=e=>e.replace(Ev,t=>t.toUpperCase()).replace(/[-_]/g,"");function Js(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Gi(e,t,n=!1){let s=Js(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};s=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return s?_v(s):n?"App":"Anonymous"}function bd(e){return Q(e)&&"__vccOpts"in e}const ie=(e,t)=>{const n=cm(e,t,Gs);if(process.env.NODE_ENV!=="production"){const s=ze();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function aa(e,t,n){try{Pi(-1);const s=arguments.length;return s===2?he(t)&&!K(t)?cn(t)?_e(e,null,[t]):_e(e,t):_e(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&cn(n)&&(n=[n]),_e(e,t,n))}finally{Pi(1)}}function Nd(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},i={__vue_custom_formatter:!0,header(f){if(!he(f))return null;if(f.__isVue)return["div",e,"VueInstance"];if(Ie(f)){qt();const d=f.value;return Gt(),["div",{},["span",e,u(f)],"<",l(d),">"]}else{if(on(f))return["div",{},["span",e,ot(f)?"ShallowReactive":"Reactive"],"<",l(f),`>${Pt(f)?" (readonly)":""}`];if(Pt(f))return["div",{},["span",e,ot(f)?"ShallowReadonly":"Readonly"],"<",l(f),">"]}return null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...r(f.$)]}};function r(f){const d=[];f.type.props&&f.props&&d.push(o("props",re(f.props))),f.setupState!==ue&&d.push(o("setup",f.setupState)),f.data!==ue&&d.push(o("data",re(f.data)));const h=a(f,"computed");h&&d.push(o("computed",h));const m=a(f,"inject");return m&&d.push(o("injected",m)),d.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function o(f,d){return d=oe({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",s,h+": "],l(d[h],!1)])]]:["span",{}]}function l(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",s,f]:he(f)?["object",{object:d?re(f):f}]:["span",n,String(f)]}function a(f,d){const h=f.type;if(Q(h))return;const m={};for(const p in f.ctx)c(h,p,d)&&(m[p]=f.ctx[p]);return m}function c(f,d,h){const m=f[h];if(K(m)&&m.includes(d)||he(m)&&d in m||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(p=>c(p,d,h)))return!0}function u(f){return ot(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}function bv(e,t,n,s){const i=n[s];if(i&&Sd(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function Sd(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(gt(n[s],t[s]))return!1;return Es>0&&dt&&dt.push(e),!0}const _l="3.5.27",Pe=process.env.NODE_ENV!=="production"?k:ke,Nv=fo,Sv=(process.env.NODE_ENV,jt),Ov=(process.env.NODE_ENV,Wl),wv={createComponentInstance:md,setupComponent:vd,renderComponentRoot:gr,setCurrentRenderingInstance:Ai,isVNode:cn,normalizeVNode:yt,getComponentPublicInstance:qi,ensureValidVNode:ta,pushWarningContext:Fs,popWarningContext:Rs},Cv=wv,Dv=null,xv=null,Tv=null;let bl;const bc=typeof window<"u"&&window.trustedTypes;if(bc)try{bl=bc.createPolicy("vue",{createHTML:e=>e})}catch(e){process.env.NODE_ENV!=="production"&&Pe(`Error creating trusted types policy: ${e}`)}const Od=bl?e=>bl.createHTML(e):e=>e,Vv="http://www.w3.org/2000/svg",kv="http://www.w3.org/1998/Math/MathML",En=typeof document<"u"?document:null,Nc=En&&En.createElement("template"),wd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?En.createElementNS(Vv,e):t==="mathml"?En.createElementNS(kv,e):n?En.createElement(e,{is:n}):En.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>En.createTextNode(e),createComment:e=>En.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>En.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Nc.innerHTML=Od(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Nc.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},An="transition",ci="animation",Zs=Symbol("_vtc"),Cd={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Dd=oe({},Jl,Cd),Av=e=>(e.displayName="Transition",e.props=Dd,e),ca=Av((e,{slots:t})=>aa(xf,xd(e),t)),ss=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Sc=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function xd(e){const t={};for(const C in e)C in Cd||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Iv(i),p=m&&m[0],S=m&&m[1],{onBeforeEnter:N,onEnter:E,onEnterCancelled:g,onLeave:_,onLeaveCancelled:y,onBeforeAppear:w=N,onAppear:P=E,onAppearCancelled:T=g}=t,O=(C,R,G,z)=>{C._enterCancelled=z,Pn(C,R?u:l),Pn(C,R?c:o),G&&G()},D=(C,R)=>{C._isLeaving=!1,Pn(C,f),Pn(C,h),Pn(C,d),R&&R()},I=C=>(R,G)=>{const z=C?P:E,W=()=>O(R,C,G);ss(z,[R,W]),Oc(()=>{Pn(R,C?a:r),Zt(R,C?u:l),Sc(z)||wc(R,s,p,W)})};return oe(t,{onBeforeEnter(C){ss(N,[C]),Zt(C,r),Zt(C,o)},onBeforeAppear(C){ss(w,[C]),Zt(C,a),Zt(C,c)},onEnter:I(!1),onAppear:I(!0),onLeave(C,R){C._isLeaving=!0;const G=()=>D(C,R);Zt(C,f),C._enterCancelled?(Zt(C,d),Nl(C)):(Nl(C),Zt(C,d)),Oc(()=>{C._isLeaving&&(Pn(C,f),Zt(C,h),Sc(_)||wc(C,s,S,G))}),ss(_,[C,G])},onEnterCancelled(C){O(C,!1,void 0,!0),ss(g,[C])},onAppearCancelled(C){O(C,!0,void 0,!0),ss(T,[C])},onLeaveCancelled(C){D(C),ss(y,[C])}})}function Iv(e){if(e==null)return null;if(he(e))return[Ho(e.enter),Ho(e.leave)];{const t=Ho(e);return[t,t]}}function Ho(e){const t=wr(e);return process.env.NODE_ENV!=="production"&&Kl(t,"<transition> explicit duration"),t}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zs]||(e[Zs]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Zs];n&&(n.delete(t),n.size||(e[Zs]=void 0))}function Oc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mv=0;function wc(e,t,n,s){const i=e._endId=++Mv,r=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:l,propCount:a}=Td(e,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,d),r()},d=h=>{h.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},l+1),e.addEventListener(c,d)}function Td(e,t){const n=window.getComputedStyle(e),s=m=>(n[m]||"").split(", "),i=s(`${An}Delay`),r=s(`${An}Duration`),o=Cc(i,r),l=s(`${ci}Delay`),a=s(`${ci}Duration`),c=Cc(l,a);let u=null,f=0,d=0;t===An?o>0&&(u=An,f=o,d=r.length):t===ci?c>0&&(u=ci,f=c,d=a.length):(f=Math.max(o,c),u=f>0?o>c?An:ci:null,d=u?u===An?r.length:a.length:0);const h=u===An&&/\b(?:transform|all)(?:,|$)/.test(s(`${An}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Cc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Dc(n)+Dc(e[s])))}function Dc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Nl(e){return(e?e.ownerDocument:document).body.offsetHeight}function Pv(e,t,n){const s=e[Zs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $r=Symbol("_vod"),Vd=Symbol("_vsh"),Gn={name:"show",beforeMount(e,{value:t},{transition:n}){e[$r]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ui(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),ui(e,!0),s.enter(e)):s.leave(e,()=>{ui(e,!1)}):ui(e,t))},beforeUnmount(e,{value:t}){ui(e,t)}};function ui(e,t){e.style.display=t?e[$r]:"none",e[Vd]=!t}function Lv(){Gn.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const kd=Symbol(process.env.NODE_ENV!=="production"?"CSS_VAR_TEXT":"");function Fv(e){const t=ze();if(!t){process.env.NODE_ENV!=="production"&&Pe("useCssVars is called without current active component instance.");return}const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>jr(r,i))};process.env.NODE_ENV!=="production"&&(t.getCssVars=()=>e(t.proxy));const s=()=>{const i=e(t.proxy);t.ce?jr(t.ce,i):Sl(t.subTree,i),n(i)};Xl(()=>{zs(s)}),un(()=>{ft(s,ke,{flush:"post"});const i=new MutationObserver(s);i.observe(t.subTree.el.parentNode,{childList:!0}),yo(()=>i.disconnect())})}function Sl(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Sl(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)jr(e.el,t);else if(e.type===we)e.children.forEach(n=>Sl(n,t));else if(e.type===qn){let{el:n,anchor:s}=e;for(;n&&(jr(n,t),n!==s);)n=n.nextSibling}}function jr(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const i in t){const r=Ru(t[i]);n.setProperty(`--${i}`,r),s+=`--${i}: ${r};`}n[kd]=s}}const Rv=/(?:^|;)\s*display\s*:/;function $v(e,t,n){const s=e.style,i=te(n);let r=!1;if(n&&!i){if(t)if(te(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&yr(s,l,"")}else for(const o in t)n[o]==null&&yr(s,o,"");for(const o in n)o==="display"&&(r=!0),yr(s,o,n[o])}else if(i){if(t!==n){const o=s[kd];o&&(n+=";"+o),s.cssText=n,r=Rv.test(n)}}else t&&e.removeAttribute("style");$r in e&&(e[$r]=r?s.display:"",e[Vd]&&(s.display="none"))}const jv=/[^\\];\s*$/,xc=/\s*!important$/;function yr(e,t,n){if(K(n))n.forEach(s=>yr(e,t,s));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&jv.test(n)&&Pe(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=Hv(e,t);xc.test(n)?e.setProperty(ut(s),n.replace(xc,""),"important"):e[s]=n}}const Tc=["Webkit","Moz","ms"],Bo={};function Hv(e,t){const n=Bo[t];if(n)return n;let s=De(t);if(s!=="filter"&&s in e)return Bo[t]=s;s=an(s);for(let i=0;i<Tc.length;i++){const r=Tc[i]+s;if(r in e)return Bo[t]=r}return t}const Vc="http://www.w3.org/1999/xlink";function kc(e,t,n,s,i,r=Cp(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Vc,t.slice(6,t.length)):e.setAttributeNS(Vc,t,n):n==null||r&&!Fl(n)?e.removeAttribute(t):e.setAttribute(t,r?"":wt(n)?String(n):n)}function Ac(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Od(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Fl(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch(l){process.env.NODE_ENV!=="production"&&!o&&Pe(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${n} is invalid.`,l)}o&&e.removeAttribute(i||t)}function Sn(e,t,n,s){e.addEventListener(t,n,s)}function Bv(e,t,n,s){e.removeEventListener(t,n,s)}const Ic=Symbol("_vei");function Kv(e,t,n,s,i=null){const r=e[Ic]||(e[Ic]={}),o=r[t];if(s&&o)o.value=process.env.NODE_ENV!=="production"?Pc(s,t):s;else{const[l,a]=Uv(t);if(s){const c=r[t]=qv(process.env.NODE_ENV!=="production"?Pc(s,t):s,i);Sn(e,l,c,a)}else o&&(Bv(e,l,o,a),r[t]=void 0)}}const Mc=/(?:Once|Passive|Capture)$/;function Uv(e){let t;if(Mc.test(e)){t={};let s;for(;s=e.match(Mc);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ut(e.slice(2)),t]}let Ko=0;const Wv=Promise.resolve(),zv=()=>Ko||(Wv.then(()=>Ko=0),Ko=Date.now());function qv(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Lt(Gv(s,n.value),t,5,[s])};return n.value=e,n.attached=zv(),n}function Pc(e,t){return Q(e)||K(e)?e:(Pe(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
25
|
-
Expected function or array of functions, received type ${typeof e}.`),ke)}function Gv(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Lc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ad=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?Pv(e,s,o):t==="style"?$v(e,n,s):xn(t)?Or(t)||Kv(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jv(e,t,s,o))?(Ac(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&kc(e,t,s,o,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!te(s))?Ac(e,De(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),kc(e,t,s,o))};function Jv(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Lc(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Lc(t)&&te(n)?!1:t in e}const Fc={};function No(e,t,n){let s=pt(e,t);no(s)&&(s=oe({},s,t));class i extends So{constructor(o){super(s,o,n)}}return i.def=s,i}const Zv=((e,t)=>No(e,t,Ud)),Yv=typeof HTMLElement<"u"?HTMLElement:class{};class So extends Yv{constructor(t,n={},s=Br){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==Br?this._root=this.shadowRoot:(process.env.NODE_ENV!=="production"&&this.shadowRoot&&Pe("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow(oe({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof So){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Xn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(s,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=s;let l;if(r&&!K(r))for(const a in r){const c=r[a];(c===Number||c&&c.type===Number)&&(a in this._props&&(this._props[a]=wr(this._props[a])),(l||(l=Object.create(null)))[De(a)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot?this._applyStyles(o):process.env.NODE_ENV!=="production"&&o&&Pe("Custom element style injection is not supported when using shadowRoot: false"),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}):t(this._def)}_mount(t){process.env.NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)ve(this,s)?process.env.NODE_ENV!=="production"&&Pe(`Exposed property "${s}" already exists on custom element.`):Object.defineProperty(this,s,{get:()=>Y(n[s])})}_resolveProps(t){const{props:n}=t,s=K(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(De))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):Fc;const i=De(t);n&&this._numberProps&&this._numberProps[i]&&(s=wr(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===Fc?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),n===!0?this.setAttribute(ut(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ut(t),n+""):n||this.removeAttribute(ut(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Kd(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=_e(this._def,oe(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0,process.env.NODE_ENV!=="production"&&(s.ceReload=r=>{this._styles&&(this._styles.forEach(o=>this._root.removeChild(o)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,no(o[0])?oe({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),ut(r)!==r&&i(ut(r),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce;for(let i=t.length-1;i>=0;i--){const r=document.createElement("style");if(s&&r.setAttribute("nonce",s),r.textContent=t[i],this.shadowRoot.prepend(r),process.env.NODE_ENV!=="production")if(n){if(n.__hmrId){this._childStyles||(this._childStyles=new Map);let o=this._childStyles.get(n.__hmrId);o||this._childStyles.set(n.__hmrId,o=[]),o.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const i=t[s],r=i.getAttribute("name")||"default",o=this._slots[r],l=i.parentNode;if(o)for(const a of o){if(n&&a.nodeType===1){const c=n+"-s",u=document.createTreeWalker(a,1);a.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}l.insertBefore(a,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const s of t){const i=s.querySelectorAll("slot");for(let r=0;r<i.length;r++)n.add(i[r])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){if(process.env.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const n=this._childStyles.get(t.__hmrId);n&&(n.forEach(s=>this._root.removeChild(s)),n.length=0)}}}function Ol(e){const t=ze(),n=t&&t.ce;return n||(process.env.NODE_ENV!=="production"&&Pe(t?`${e||"useHost"} can only be used in components defined via defineCustomElement.`:`${e||"useHost"} called without an active component instance.`),null)}function Xv(){const e=process.env.NODE_ENV!=="production"?Ol("useShadowRoot"):Ol();return e&&e.shadowRoot}function Qv(e="$style"){{const t=ze();if(!t)return process.env.NODE_ENV!=="production"&&Pe("useCssModule must be called inside setup()"),ue;const n=t.type.__cssModules;if(!n)return process.env.NODE_ENV!=="production"&&Pe("Current instance does not have CSS modules injected."),ue;const s=n[e];return s||(process.env.NODE_ENV!=="production"&&Pe(`Current instance does not have CSS module named "${e}".`),ue)}}const Id=new WeakMap,Md=new WeakMap,Hr=Symbol("_moveCb"),Rc=Symbol("_enterCb"),ey=e=>(delete e.props.mode,e),ty=ey({name:"TransitionGroup",props:oe({},Dd,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ze(),s=Gl();let i,r;return vo(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!oy(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(sy),i.forEach(iy);const l=i.filter(ry);Nl(n.vnode.el),l.forEach(a=>{const c=a.el,u=c.style;Zt(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Hr]=d=>{d&&d.target!==c||(!d||d.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[Hr]=null,Pn(c,o))};c.addEventListener("transitionend",f)}),i=[]}),()=>{const o=re(e),l=xd(o);let a=o.tag||we;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),Tn(u,qs(u,l,s,n)),Id.set(u,{left:u.el.offsetLeft,top:u.el.offsetTop}))}r=t.default?mo(t.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null?Tn(u,qs(u,l,s,n)):process.env.NODE_ENV!=="production"&&u.type!==ln&&Pe("<TransitionGroup> children must be keyed.")}return _e(a,null,r)}}}),ny=ty;function sy(e){const t=e.el;t[Hr]&&t[Hr](),t[Rc]&&t[Rc]()}function iy(e){Md.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function ry(e){const t=Id.get(e),n=Md.get(e),s=t.left-n.left,i=t.top-n.top;if(s||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",e}}function oy(e,t,n){const s=e.cloneNode(),i=e[Zs];i&&i.forEach(l=>{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=Td(s);return r.removeChild(s),o}const Qn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>Hn(t,n):t};function ly(e){e.target.composing=!0}function $c(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mt=Symbol("_assign");function jc(e,t,n){return t&&(e=e.trim()),n&&(e=ro(e)),e}const Li={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Mt]=Qn(i);const r=s||i.props&&i.props.type==="number";Sn(e,t?"change":"input",o=>{o.target.composing||e[Mt](jc(e.value,n,r))}),(n||r)&&Sn(e,"change",()=>{e.value=jc(e.value,n,r)}),t||(Sn(e,"compositionstart",ly),Sn(e,"compositionend",$c),Sn(e,"change",$c))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[Mt]=Qn(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?ro(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===a)||(e.value=a))}},ua={deep:!0,created(e,t,n){e[Mt]=Qn(n),Sn(e,"change",()=>{const s=e._modelValue,i=Ys(e),r=e.checked,o=e[Mt];if(K(s)){const l=oo(s,i),a=l!==-1;if(r&&!a)o(s.concat(i));else if(!r&&a){const c=[...s];c.splice(l,1),o(c)}}else if(Ss(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(Ld(e,r))})},mounted:Hc,beforeUpdate(e,t,n){e[Mt]=Qn(n),Hc(e,t,n)}};function Hc(e,{value:t,oldValue:n},s){e._modelValue=t;let i;if(K(t))i=oo(t,s.props.value)>-1;else if(Ss(t))i=t.has(s.props.value);else{if(t===n)return;i=Yn(t,Ld(e,!0))}e.checked!==i&&(e.checked=i)}const fa={created(e,{value:t},n){e.checked=Yn(t,n.props.value),e[Mt]=Qn(n),Sn(e,"change",()=>{e[Mt](Ys(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Mt]=Qn(s),t!==n&&(e.checked=Yn(t,s.props.value))}},Pd={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Ss(t);Sn(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?ro(Ys(o)):Ys(o));e[Mt](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,Xn(()=>{e._assigning=!1})}),e[Mt]=Qn(s)},mounted(e,{value:t}){Bc(e,t)},beforeUpdate(e,t,n){e[Mt]=Qn(n)},updated(e,{value:t}){e._assigning||Bc(e,t)}};function Bc(e,t){const n=e.multiple,s=K(t);if(n&&!s&&!Ss(t)){process.env.NODE_ENV!=="production"&&Pe(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let i=0,r=e.options.length;i<r;i++){const o=e.options[i],l=Ys(o);if(n)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(c=>String(c)===String(l)):o.selected=oo(t,l)>-1}else o.selected=t.has(l);else if(Yn(Ys(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function Ys(e){return"_value"in e?e._value:e.value}function Ld(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Fd={created(e,t,n){ur(e,t,n,null,"created")},mounted(e,t,n){ur(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){ur(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){ur(e,t,n,s,"updated")}};function Rd(e,t){switch(e){case"SELECT":return Pd;case"TEXTAREA":return Li;default:switch(t){case"checkbox":return ua;case"radio":return fa;default:return Li}}}function ur(e,t,n,s,i){const o=Rd(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}function ay(){Li.getSSRProps=({value:e})=>({value:e}),fa.getSSRProps=({value:e},t)=>{if(t.props&&Yn(t.props.value,e))return{checked:!0}},ua.getSSRProps=({value:e},t)=>{if(K(e)){if(t.props&&oo(e,t.props.value)>-1)return{checked:!0}}else if(Ss(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Fd.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Rd(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const cy=["ctrl","shift","alt","meta"],uy={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>cy.some(n=>e[`${n}Key`]&&!t.includes(n))},$d=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((i,...r)=>{for(let o=0;o<t.length;o++){const l=uy[t[o]];if(l&&l(i,t))return}return e(i,...r)}))},fy={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},dy=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(i=>{if(!("key"in i))return;const r=ut(i.key);if(t.some(o=>o===r||fy[o]===r))return e(i)}))},jd=oe({patchProp:Ad},wd);let wi,Kc=!1;function Hd(){return wi||(wi=td(jd))}function Bd(){return wi=Kc?wi:nd(jd),Kc=!0,wi}const Kd=((...e)=>{Hd().render(...e)}),hy=((...e)=>{Bd().hydrate(...e)}),Br=((...e)=>{const t=Hd().createApp(...e);process.env.NODE_ENV!=="production"&&(zd(t),qd(t));const{mount:n}=t;return t.mount=s=>{const i=Gd(s);if(!i)return;const r=t._component;!Q(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Wd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}),Ud=((...e)=>{const t=Bd().createApp(...e);process.env.NODE_ENV!=="production"&&(zd(t),qd(t));const{mount:n}=t;return t.mount=s=>{const i=Gd(s);if(i)return n(i,!0,Wd(i))},t});function Wd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zd(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Au(t)||Iu(t)||Mu(t),writable:!1})}function qd(e){if(la()){const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){Pe("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,s='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return Pe(s),n},set(){Pe(s)}})}}function Gd(e){if(te(e)){const t=document.querySelector(e);return process.env.NODE_ENV!=="production"&&!t&&Pe(`Failed to mount app: mount target selector "${e}" returned null.`),t}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&Pe('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}let Uc=!1;const py=()=>{Uc||(Uc=!0,ay(),Lv())},my=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:xf,BaseTransitionPropsValidators:Jl,Comment:Ae,DeprecationTypes:Tv,EffectScope:Rl,ErrorCodes:ym,ErrorTypeStrings:Nv,Fragment:we,KeepAlive:lg,ReactiveEffect:Di,Static:qn,Suspense:rv,Teleport:Hm,Text:ln,TrackOpTypes:um,Transition:ca,TransitionGroup:ny,TriggerOpTypes:fm,VueElement:So,assertNumber:Kl,callWithAsyncErrorHandling:Lt,callWithErrorHandling:Os,camelize:De,capitalize:an,cloneVNode:Ft,compatUtils:xv,computed:ie,createApp:Br,createBlock:Wt,createCommentVNode:Cn,createElementBlock:Ce,createElementVNode:ae,createHydrationRenderer:nd,createPropsRestProxy:Dg,createRenderer:td,createSSRApp:Ud,createSlots:dg,createStaticVNode:hv,createTextVNode:_s,createVNode:_e,customRef:of,defineAsyncComponent:rg,defineComponent:pt,defineCustomElement:No,defineEmits:yg,defineExpose:Eg,defineModel:Ng,defineOptions:_g,defineProps:vg,defineSSRCustomElement:Zv,defineSlots:bg,devtools:Sv,effect:Pp,effectScope:Ip,getCurrentInstance:ze,getCurrentScope:$u,getCurrentWatcher:dm,getTransitionRawChildren:mo,guardReactiveProps:hd,h:aa,handleError:es,hasInjectionContext:Lm,hydrate:hy,hydrateOnIdle:Qm,hydrateOnInteraction:sg,hydrateOnMediaQuery:ng,hydrateOnVisible:tg,initCustomFormatter:Nd,initDirectivesForSSR:py,inject:js,isMemoSame:Sd,isProxy:vs,isReactive:on,isReadonly:Pt,isRef:Ie,isRuntimeOnly:la,isShallow:ot,isVNode:cn,markRaw:sf,mergeDefaults:Hf,mergeModels:Cg,mergeProps:en,nextTick:Xn,nodeOps:wd,normalizeClass:xe,normalizeProps:_p,normalizeStyle:qe,onActivated:Af,onBeforeMount:Yl,onBeforeUnmount:ws,onBeforeUpdate:Xl,onDeactivated:If,onErrorCaptured:Rf,onMounted:un,onRenderTracked:Ff,onRenderTriggered:Lf,onScopeDispose:ju,onServerPrefetch:Pf,onUnmounted:yo,onUpdated:vo,onWatcherCleanup:cf,openBlock:fe,patchProp:Ad,popScopeId:Mm,provide:ql,proxyRefs:Bl,pushScopeId:Im,queuePostFlushCb:zs,reactive:ii,readonly:Vi,ref:ne,registerRuntimeCompiler:yd,render:Kd,renderList:hs,renderSlot:Bn,resolveComponent:ug,resolveDirective:fg,resolveDynamicComponent:$f,resolveFilter:Dv,resolveTransitionHooks:qs,setBlockTracking:Pi,setDevtoolsHook:Ov,setTransitionHooks:Tn,shallowReactive:nf,shallowReadonly:Bt,shallowRef:Un,ssrContextKey:yf,ssrUtils:Cv,stop:Lp,toDisplayString:sn,toHandlerKey:Qt,toHandlers:Bs,toRaw:re,toRef:lm,toRefs:lf,toValue:nm,transformVNodeArgs:fv,triggerRef:nl,unref:Y,useAttrs:wg,useCssModule:Qv,useCssVars:Fv,useHost:Ol,useId:Km,useModel:Fg,useSSRContext:Ef,useShadowRoot:Xv,useSlots:Og,useTemplateRef:Um,useTransitionState:Gl,vModelCheckbox:ua,vModelDynamic:Fd,vModelRadio:fa,vModelSelect:Pd,vModelText:Li,vShow:Gn,version:_l,warn:Pe,watch:ft,watchEffect:Fm,watchPostEffect:Rm,watchSyncEffect:_f,withAsyncContext:xg,withCtx:rn,withDefaults:Sg,withDirectives:zn,withKeys:dy,withMemo:bv,withModifiers:$d,withScopeId:Pm},Symbol.toStringTag,{value:"Module"}));const Fi=Symbol(process.env.NODE_ENV!=="production"?"Fragment":""),Ci=Symbol(process.env.NODE_ENV!=="production"?"Teleport":""),da=Symbol(process.env.NODE_ENV!=="production"?"Suspense":""),Kr=Symbol(process.env.NODE_ENV!=="production"?"KeepAlive":""),Jd=Symbol(process.env.NODE_ENV!=="production"?"BaseTransition":""),Ns=Symbol(process.env.NODE_ENV!=="production"?"openBlock":""),Zd=Symbol(process.env.NODE_ENV!=="production"?"createBlock":""),Yd=Symbol(process.env.NODE_ENV!=="production"?"createElementBlock":""),ha=Symbol(process.env.NODE_ENV!=="production"?"createVNode":""),pa=Symbol(process.env.NODE_ENV!=="production"?"createElementVNode":""),Ji=Symbol(process.env.NODE_ENV!=="production"?"createCommentVNode":""),ma=Symbol(process.env.NODE_ENV!=="production"?"createTextVNode":""),Xd=Symbol(process.env.NODE_ENV!=="production"?"createStaticVNode":""),ga=Symbol(process.env.NODE_ENV!=="production"?"resolveComponent":""),va=Symbol(process.env.NODE_ENV!=="production"?"resolveDynamicComponent":""),ya=Symbol(process.env.NODE_ENV!=="production"?"resolveDirective":""),Ea=Symbol(process.env.NODE_ENV!=="production"?"resolveFilter":""),_a=Symbol(process.env.NODE_ENV!=="production"?"withDirectives":""),ba=Symbol(process.env.NODE_ENV!=="production"?"renderList":""),Qd=Symbol(process.env.NODE_ENV!=="production"?"renderSlot":""),eh=Symbol(process.env.NODE_ENV!=="production"?"createSlots":""),Oo=Symbol(process.env.NODE_ENV!=="production"?"toDisplayString":""),Ur=Symbol(process.env.NODE_ENV!=="production"?"mergeProps":""),Na=Symbol(process.env.NODE_ENV!=="production"?"normalizeClass":""),Sa=Symbol(process.env.NODE_ENV!=="production"?"normalizeStyle":""),Ri=Symbol(process.env.NODE_ENV!=="production"?"normalizeProps":""),Zi=Symbol(process.env.NODE_ENV!=="production"?"guardReactiveProps":""),Oa=Symbol(process.env.NODE_ENV!=="production"?"toHandlers":""),wl=Symbol(process.env.NODE_ENV!=="production"?"camelize":""),gy=Symbol(process.env.NODE_ENV!=="production"?"capitalize":""),Cl=Symbol(process.env.NODE_ENV!=="production"?"toHandlerKey":""),Wr=Symbol(process.env.NODE_ENV!=="production"?"setBlockTracking":""),vy=Symbol(process.env.NODE_ENV!=="production"?"pushScopeId":""),yy=Symbol(process.env.NODE_ENV!=="production"?"popScopeId":""),wa=Symbol(process.env.NODE_ENV!=="production"?"withCtx":""),Ey=Symbol(process.env.NODE_ENV!=="production"?"unref":""),_y=Symbol(process.env.NODE_ENV!=="production"?"isRef":""),Ca=Symbol(process.env.NODE_ENV!=="production"?"withMemo":""),th=Symbol(process.env.NODE_ENV!=="production"?"isMemoSame":""),Xs={[Fi]:"Fragment",[Ci]:"Teleport",[da]:"Suspense",[Kr]:"KeepAlive",[Jd]:"BaseTransition",[Ns]:"openBlock",[Zd]:"createBlock",[Yd]:"createElementBlock",[ha]:"createVNode",[pa]:"createElementVNode",[Ji]:"createCommentVNode",[ma]:"createTextVNode",[Xd]:"createStaticVNode",[ga]:"resolveComponent",[va]:"resolveDynamicComponent",[ya]:"resolveDirective",[Ea]:"resolveFilter",[_a]:"withDirectives",[ba]:"renderList",[Qd]:"renderSlot",[eh]:"createSlots",[Oo]:"toDisplayString",[Ur]:"mergeProps",[Na]:"normalizeClass",[Sa]:"normalizeStyle",[Ri]:"normalizeProps",[Zi]:"guardReactiveProps",[Oa]:"toHandlers",[wl]:"camelize",[gy]:"capitalize",[Cl]:"toHandlerKey",[Wr]:"setBlockTracking",[vy]:"pushScopeId",[yy]:"popScopeId",[wa]:"withCtx",[Ey]:"unref",[_y]:"isRef",[Ca]:"withMemo",[th]:"isMemoSame"};function by(e){Object.getOwnPropertySymbols(e).forEach(t=>{Xs[t]=e[t]})}const Tt={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Ny(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Tt}}function $i(e,t,n,s,i,r,o,l=!1,a=!1,c=!1,u=Tt){return e&&(l?(e.helper(Ns),e.helper(ti(e.inSSR,c))):e.helper(ei(e.inSSR,c)),o&&e.helper(_a)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function gs(e,t=Tt){return{type:17,loc:t,elements:e}}function It(e,t=Tt){return{type:15,loc:t,properties:e}}function Be(e,t){return{type:16,loc:Tt,key:te(e)?ce(e,!0):e,value:t}}function ce(e,t=!1,n=Tt,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function zt(e,t=Tt){return{type:8,loc:t,children:e}}function We(e,t=[],n=Tt){return{type:14,loc:n,callee:e,arguments:t}}function Qs(e,t=void 0,n=!1,s=!1,i=Tt){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Dl(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:Tt}}function Sy(e,t,n=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Tt}}function Oy(e){return{type:21,body:e,loc:Tt}}function ei(e,t){return e||t?ha:pa}function ti(e,t){return e||t?Zd:Yd}function Da(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(ei(s,e.isComponent)),t(Ns),t(ti(s,e.isComponent)))}const Wc=new Uint8Array([123,123]),zc=new Uint8Array([125,125]);function qc(e){return e>=97&&e<=122||e>=65&&e<=90}function Ct(e){return e===32||e===10||e===9||e===12||e===13}function In(e){return e===47||e===62||Ct(e)}function zr(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const it={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class wy{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Wc,this.delimiterClose=zc,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Wc,this.delimiterClose=zc}getPos(t){let n=1,s=t+1;const i=this.newlines.length;let r=-1;if(i>100){let o=-1,l=i;for(;o+1<l;){const a=o+l>>>1;this.newlines[a]<t?o=a:l=a}r=o}else for(let o=i-1;o>=0;o--)if(t>this.newlines[o]){r=o;break}return r>=0&&(n=r+2,s=t-this.newlines[r]),{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?In(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Ct(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const s=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=s}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===it.TitleEnd||this.currentSequence===it.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===it.Cdata[this.sequenceIndex]?++this.sequenceIndex===it.Cdata.length&&(this.state=28,this.currentSequence=it.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===it.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):qc(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){In(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(In(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(zr("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Ct(t)||(t===62?(process.env.NODE_ENV!=="production"&&this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=qc(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Ct(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,process.env.NODE_ENV!=="production"&&this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Ct(t)||(process.env.NODE_ENV!=="production"&&t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Ct(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||In(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):process.env.NODE_ENV!=="production"&&(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||In(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||In(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||In(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),process.env.NODE_ENV!=="production"&&this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||In(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Ct(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Ct(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Ct(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(process.env.NODE_ENV!=="production"&&t===34||t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=it.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===it.ScriptEnd[3]?this.startSpecial(it.ScriptEnd,4):t===it.StyleEnd[3]?this.startSpecial(it.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===it.TitleEnd[3]?this.startSpecial(it.TitleEnd,4):t===it.TextareaEnd[3]?this.startSpecial(it.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===it.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const Cy={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function xl(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function Jn(e,t){const n=xl("MODE",t),s=xl(e,t);return n===3?s===!0:s!==!1}function ni(e,t,n,...s){const i=Jn(e,t);return process.env.NODE_ENV!=="production"&&i&&qr(e,t,n,...s),i}function qr(e,t,n,...s){if(xl(e,t)==="suppress-warning")return;const{message:r,link:o}=Cy[e],l=`(deprecation ${e}) ${typeof r=="function"?r(...s):r}${o?`
|
|
26
|
-
Details: ${o}`:""}`,a=new SyntaxError(l);a.code=e,n&&(a.loc=n),t.onWarn(a)}function
|
|
27
|
-
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""},Ot=e=>e.type===4&&e.isStatic;function sh(e){switch(e){case"Teleport":case"teleport":return Ci;case"Suspense":case"suspense":return da;case"KeepAlive":case"keep-alive":return Kr;case"BaseTransition":case"base-transition":return Jd}}const xy=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Ta=e=>!xy.test(e),ih=/[A-Za-z_$\xA0-\uFFFF]/,Ty=/[\.\?\w$\xA0-\uFFFF]/,Vy=/\s+[.[]\s*|\s*[.[]\s+/g,rh=e=>e.type===4?e.content:e.loc.source,ky=e=>{const t=rh(e).trim().replace(Vy,l=>l.trim());let n=0,s=[],i=0,r=0,o=null;for(let l=0;l<t.length;l++){const a=t.charAt(l);switch(n){case 0:if(a==="[")s.push(n),n=1,i++;else if(a==="(")s.push(n),n=2,r++;else if(!(l===0?ih:Ty).test(a))return!1;break;case 1:a==="'"||a==='"'||a==="`"?(s.push(n),n=3,o=a):a==="["?i++:a==="]"&&(--i||(n=s.pop()));break;case 2:if(a==="'"||a==='"'||a==="`")s.push(n),n=3,o=a;else if(a==="(")r++;else if(a===")"){if(l===t.length-1)return!1;--r||(n=s.pop())}break;case 3:a===o&&(n=s.pop(),o=null);break}}return!i&&!r},oh=ky,Ay=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Iy=e=>Ay.test(rh(e)),My=Iy;function Gc(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function St(e,t,n=!1){for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&(n||i.exp)&&(te(t)?i.name===t:t.test(i.name)))return i}}function ji(e,t,n=!1,s=!1){for(let i=0;i<e.props.length;i++){const r=e.props[i];if(r.type===6){if(n)continue;if(r.name===t&&(r.value||s))return r}else if(r.name==="bind"&&(r.exp||s)&&Wn(r.arg,t))return r}}function Wn(e,t){return!!(e&&Ot(e)&&e.content===t)}function Py(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Uo(e){return e.type===5||e.type===2}function Jc(e){return e.type===7&&e.name==="pre"}function Ly(e){return e.type===7&&e.name==="slot"}function Gr(e){return e.type===1&&e.tagType===3}function Jr(e){return e.type===1&&e.tagType===2}const Fy=new Set([Ri,Zi]);function lh(e,t=[]){if(e&&!te(e)&&e.type===14){const n=e.callee;if(!te(n)&&Fy.has(n))return lh(e.arguments[0],t.concat(e))}return[e,t]}function Zr(e,t,n){let s,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!te(i)&&i.type===14){const l=lh(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||te(i))s=It([t]);else if(i.type===14){const l=i.arguments[0];!te(l)&&l.type===15?Zc(t,l)||l.properties.unshift(t):i.callee===Oa?s=We(n.helper(Ur),[It([t]),i]):i.arguments.unshift(It([t])),!s&&(s=i)}else i.type===15?(Zc(t,i)||i.properties.unshift(t),s=i):(s=We(n.helper(Ur),[It([t]),i]),o&&o.callee===Zi&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function Zc(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function Hi(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function Ry(e){return e.type===14&&e.callee===Ca?e.arguments[1].returns:e}const $y=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function ah(e){for(let t=0;t<e.length;t++)if(!Ct(e.charCodeAt(t)))return!1;return!0}function Va(e){return e.type===2&&ah(e.content)||e.type===12&&Va(e.content)}function ka(e){return e.type===3||Va(e)}const ch={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Ms,isPreTag:Ms,isIgnoreNewlineTag:Ms,isCustomElement:Ms,onError:xa,onWarn:nh,comments:process.env.NODE_ENV!=="production",prefixIdentifiers:!1};let ye=ch,Bi=null,Dn="",ct=null,ge=null,bt="",yn=-1,is=-1,Aa=0,jn=!1,Tl=null;const Me=[],Ve=new wy(Me,{onerr:_t,ontext(e,t){fr(rt(e,t),e,t)},ontextentity(e,t,n){fr(e,t,n)},oninterpolation(e,t){if(jn)return fr(rt(e,t),e,t);let n=e+Ve.delimiterOpen.length,s=t-Ve.delimiterClose.length;for(;Ct(Dn.charCodeAt(n));)n++;for(;Ct(Dn.charCodeAt(s-1));)s--;let i=rt(n,s);i.includes("&")&&(i=ye.decodeEntities(i,!1)),Vl({type:5,content:_r(i,!1,Le(n,s)),loc:Le(e,t)})},onopentagname(e,t){const n=rt(e,t);ct={type:1,tag:n,ns:ye.getNamespace(n,Me[0],ye.ns),tagType:0,props:[],children:[],loc:Le(e-1,t),codegenNode:void 0}},onopentagend(e){Xc(e)},onclosetag(e,t){const n=rt(e,t);if(!ye.isVoidTag(n)){let s=!1;for(let i=0;i<Me.length;i++)if(Me[i].tag.toLowerCase()===n.toLowerCase()){s=!0,i>0&&_t(24,Me[0].loc.start.offset);for(let o=0;o<=i;o++){const l=Me.shift();Er(l,t,o<i)}break}s||_t(23,uh(e,60))}},onselfclosingtag(e){const t=ct.tag;ct.isSelfClosing=!0,Xc(e),Me[0]&&Me[0].tag===t&&Er(Me.shift(),e)},onattribname(e,t){ge={type:6,name:rt(e,t),nameLoc:Le(e,t),value:void 0,loc:Le(e)}},ondirname(e,t){const n=rt(e,t),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!jn&&s===""&&_t(26,e),jn||s==="")ge={type:6,name:n,nameLoc:Le(e,t),value:void 0,loc:Le(e)};else if(ge={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[ce("prop")]:[],loc:Le(e)},s==="pre"){jn=Ve.inVPre=!0,Tl=ct;const i=ct.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=Jy(i[r]))}},ondirarg(e,t){if(e===t)return;const n=rt(e,t);if(jn&&!Jc(ge))ge.name+=n,ls(ge.nameLoc,t);else{const s=n[0]!=="[";ge.arg=_r(s?n:n.slice(1,-1),s,Le(e,t),s?3:0)}},ondirmodifier(e,t){const n=rt(e,t);if(jn&&!Jc(ge))ge.name+="."+n,ls(ge.nameLoc,t);else if(ge.name==="slot"){const s=ge.arg;s&&(s.content+="."+n,ls(s.loc,t))}else{const s=ce(n,!0,Le(e,t));ge.modifiers.push(s)}},onattribdata(e,t){bt+=rt(e,t),yn<0&&(yn=e),is=t},onattribentity(e,t,n){bt+=e,yn<0&&(yn=t),is=n},onattribnameend(e){const t=ge.loc.start.offset,n=rt(t,e);ge.type===7&&(ge.rawName=n),ct.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&_t(2,t)},onattribend(e,t){if(ct&&ge){if(ls(ge.loc,t),e!==0)if(bt.includes("&")&&(bt=ye.decodeEntities(bt,!0)),ge.type===6)ge.name==="class"&&(bt=dh(bt).trim()),e===1&&!bt&&_t(13,t),ge.value={type:2,content:bt,loc:e===1?Le(yn,is):Le(yn-1,is+1)},Ve.inSFCRoot&&ct.tag==="template"&&ge.name==="lang"&&bt&&bt!=="html"&&Ve.enterRCDATA(zr("</template"),0);else{let n=0;ge.exp=_r(bt,!1,Le(yn,is),0,n),ge.name==="for"&&(ge.forParseResult=Hy(ge.exp));let s=-1;ge.name==="bind"&&(s=ge.modifiers.findIndex(i=>i.content==="sync"))>-1&&ni("COMPILER_V_BIND_SYNC",ye,ge.loc,ge.arg.loc.source)&&(ge.name="model",ge.modifiers.splice(s,1))}(ge.type!==7||ge.name!=="pre")&&ct.props.push(ge)}bt="",yn=is=-1},oncomment(e,t){ye.comments&&Vl({type:3,content:rt(e,t),loc:Le(e-4,t+3)})},onend(){const e=Dn.length;if(process.env.NODE_ENV!=="production"&&Ve.state!==1)switch(Ve.state){case 5:case 8:_t(5,e);break;case 3:case 4:_t(25,Ve.sectionStart);break;case 28:Ve.currentSequence===it.CdataEnd?_t(6,e):_t(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:_t(9,e);break}for(let t=0;t<Me.length;t++)Er(Me[t],e-1),_t(24,Me[t].loc.start.offset)},oncdata(e,t){Me[0].ns!==0?fr(rt(e,t),e,t):_t(1,e-9)},onprocessinginstruction(e){(Me[0]?Me[0].ns:ye.ns)===0&&_t(21,e-1)}}),Yc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,jy=/^\(|\)$/g;function Hy(e){const t=e.loc,n=e.content,s=n.match($y);if(!s)return;const[,i,r]=s,o=(f,d,h=!1)=>{const m=t.start.offset+d,p=m+f.length;return _r(f,!1,Le(m,p),0,h?1:0)},l={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(jy,"").trim();const c=i.indexOf(a),u=a.match(Yc);if(u){a=a.replace(Yc,"").trim();const f=u[1].trim();let d;if(f&&(d=n.indexOf(f,c+a.length),l.key=o(f,d,!0)),u[2]){const h=u[2].trim();h&&(l.index=o(h,n.indexOf(h,l.key?d+f.length:c+a.length),!0))}}return a&&(l.value=o(a,c,!0)),l}function rt(e,t){return Dn.slice(e,t)}function Xc(e){Ve.inSFCRoot&&(ct.innerLoc=Le(e+1,e+1)),Vl(ct);const{tag:t,ns:n}=ct;n===0&&ye.isPreTag(t)&&Aa++,ye.isVoidTag(t)?Er(ct,e):(Me.unshift(ct),(n===1||n===2)&&(Ve.inXML=!0)),ct=null}function fr(e,t,n){{const r=Me[0]&&Me[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=ye.decodeEntities(e,!1))}const s=Me[0]||Bi,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,ls(i.loc,n)):s.children.push({type:2,content:e,loc:Le(t,n)})}function Er(e,t,n=!1){n?ls(e.loc,uh(t,60)):ls(e.loc,By(t,62)+1),Ve.inSFCRoot&&(e.children.length?e.innerLoc.end=oe({},e.children[e.children.length-1].loc.end):e.innerLoc.end=oe({},e.innerLoc.start),e.innerLoc.source=rt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i,children:r}=e;if(jn||(s==="slot"?e.tagType=2:Qc(e)?e.tagType=3:Uy(e)&&(e.tagType=1)),Ve.inRCDATA||(e.children=fh(r)),i===0&&ye.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&ye.isPreTag(s)&&Aa--,Tl===e&&(jn=Ve.inVPre=!1,Tl=null),Ve.inXML&&(Me[0]?Me[0].ns:ye.ns)===0&&(Ve.inXML=!1);{const o=e.props;if(process.env.NODE_ENV!=="production"&&Jn("COMPILER_V_IF_V_FOR_PRECEDENCE",ye)){let a=!1,c=!1;for(let u=0;u<o.length;u++){const f=o[u];if(f.type===7&&(f.name==="if"?a=!0:f.name==="for"&&(c=!0)),a&&c){qr("COMPILER_V_IF_V_FOR_PRECEDENCE",ye,e.loc);break}}}if(!Ve.inSFCRoot&&Jn("COMPILER_NATIVE_TEMPLATE",ye)&&e.tag==="template"&&!Qc(e)){process.env.NODE_ENV!=="production"&&qr("COMPILER_NATIVE_TEMPLATE",ye,e.loc);const a=Me[0]||Bi,c=a.children.indexOf(e);a.children.splice(c,1,...e.children)}const l=o.find(a=>a.type===6&&a.name==="inline-template");l&&ni("COMPILER_INLINE_TEMPLATE",ye,l.loc)&&e.children.length&&(l.value={type:2,content:rt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function By(e,t){let n=e;for(;Dn.charCodeAt(n)!==t&&n<Dn.length-1;)n++;return n}function uh(e,t){let n=e;for(;Dn.charCodeAt(n)!==t&&n>=0;)n--;return n}const Ky=new Set(["if","else","else-if","for","slot"]);function Qc({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Ky.has(t[n].name))return!0}return!1}function Uy({tag:e,props:t}){if(ye.isCustomElement(e))return!1;if(e==="component"||Wy(e.charCodeAt(0))||sh(e)||ye.isBuiltInComponent&&ye.isBuiltInComponent(e)||ye.isNativeTag&&!ye.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const s=t[n];if(s.type===6){if(s.name==="is"&&s.value){if(s.value.content.startsWith("vue:"))return!0;if(ni("COMPILER_IS_ON_ELEMENT",ye,s.loc))return!0}}else if(s.name==="bind"&&Wn(s.arg,"is")&&ni("COMPILER_IS_ON_ELEMENT",ye,s.loc))return!0}return!1}function Wy(e){return e>64&&e<91}const zy=/\r\n/g;function fh(e){const t=ye.whitespace!=="preserve";let n=!1;for(let s=0;s<e.length;s++){const i=e[s];if(i.type===2)if(Aa)i.content=i.content.replace(zy,`
|
|
28
|
-
`);else if(ah(i.content)){const r=e[s-1]&&e[s-1].type,o=e[s+1]&&e[s+1].type;!r||!o||t&&(r===3&&(o===3||o===1)||r===1&&(o===3||o===1&&qy(i.content)))?(n=!0,e[s]=null):i.content=" "}else t&&(i.content=dh(i.content))}return n?e.filter(Boolean):e}function qy(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function dh(e){let t="",n=!1;for(let s=0;s<e.length;s++)Ct(e.charCodeAt(s))?n||(t+=" ",n=!0):(t+=e[s],n=!1);return t}function Vl(e){(Me[0]||Bi).children.push(e)}function Le(e,t){return{start:Ve.getPos(e),end:t==null?t:Ve.getPos(t),source:t==null?t:rt(e,t)}}function Gy(e){return Le(e.start.offset,e.end.offset)}function ls(e,t){e.end=Ve.getPos(t),e.source=rt(e.start.offset,t)}function Jy(e){const t={type:6,name:e.rawName,nameLoc:Le(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function _r(e,t=!1,n,s=0,i=0){return ce(e,t,n,s)}function _t(e,t,n){ye.onError(Se(e,Le(t,t),void 0,n))}function Zy(){Ve.reset(),ct=null,ge=null,bt="",yn=-1,is=-1,Me.length=0}function Yy(e,t){if(Zy(),Dn=e,ye=oe({},ch),t){let i;for(i in t)t[i]!=null&&(ye[i]=t[i])}if(process.env.NODE_ENV!=="production"&&!ye.decodeEntities)throw new Error("[@vue/compiler-core] decodeEntities option is required in browser builds.");Ve.mode=ye.parseMode==="html"?1:ye.parseMode==="sfc"?2:0,Ve.inXML=ye.ns===1||ye.ns===2;const n=t&&t.delimiters;n&&(Ve.delimiterOpen=zr(n[0]),Ve.delimiterClose=zr(n[1]));const s=Bi=Ny([],e);return Ve.parse(Dn),s.loc=Le(0,e.length),s.children=fh(s.children),Bi=null,s}function Xy(e,t){br(e,void 0,t,!!hh(e))}function hh(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!Jr(t[0])?t[0]:null}function br(e,t,n,s=!1,i=!1){const{children:r}=e,o=[];for(let u=0;u<r.length;u++){const f=r[u];if(f.type===1&&f.tagType===0){const d=s?0:Dt(f,n);if(d>0){if(d>=2){f.codegenNode.patchFlag=-1,o.push(f);continue}}else{const h=f.codegenNode;if(h.type===13){const m=h.patchFlag;if((m===void 0||m===512||m===1)&&mh(f,n)>=2){const p=gh(f);p&&(h.props=n.hoist(p))}h.dynamicProps&&(h.dynamicProps=n.hoist(h.dynamicProps))}}}else if(f.type===12&&(s?0:Dt(f,n))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push(-1+(process.env.NODE_ENV!=="production"?` /* ${yi[-1]} */`:"")),o.push(f);continue}if(f.type===1){const d=f.tagType===1;d&&n.scopes.vSlot++,br(f,e,n,!1,i),d&&n.scopes.vSlot--}else if(f.type===11)br(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let d=0;d<f.branches.length;d++)br(f.branches[d],e,n,f.branches[d].children.length===1,i)}let l=!1;if(o.length===r.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&K(e.codegenNode.children))e.codegenNode.children=a(gs(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!K(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=c(e.codegenNode,"default");u&&(u.returns=a(gs(u.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!K(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=St(e,"slot",!0),f=u&&u.arg&&c(t.codegenNode,u.arg);f&&(f.returns=a(gs(f.returns)),l=!0)}}if(!l)for(const u of o)u.codegenNode=n.cache(u.codegenNode);function a(u){const f=n.cache(u);return f.needArraySpread=!0,f}function c(u,f){if(u.children&&!K(u.children)&&u.children.type===15){const d=u.children.properties.find(h=>h.key===f||h.key.content===f);return d&&d.value}}o.length&&n.transformHoist&&n.transformHoist(r,n,e)}function Dt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const s=n.get(e);if(s!==void 0)return s;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const l=mh(e,t);if(l===0)return n.set(e,0),0;l<o&&(o=l);for(let a=0;a<e.children.length;a++){const c=Dt(e.children[a],t);if(c===0)return n.set(e,0),0;c<o&&(o=c)}if(o>1)for(let a=0;a<e.props.length;a++){const c=e.props[a];if(c.type===7&&c.name==="bind"&&c.exp){const u=Dt(c.exp,t);if(u===0)return n.set(e,0),0;u<o&&(o=u)}}if(i.isBlock){for(let a=0;a<e.props.length;a++)if(e.props[a].type===7)return n.set(e,0),0;t.removeHelper(Ns),t.removeHelper(ti(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(ei(t.inSSR,i.isComponent))}return n.set(e,o),o}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Dt(e.content,t);case 4:return e.constType;case 8:let r=3;for(let o=0;o<e.children.length;o++){const l=e.children[o];if(te(l)||wt(l))continue;const a=Dt(l,t);if(a===0)return 0;a<r&&(r=a)}return r;case 20:return 2;default:return process.env.NODE_ENV,0}}const Qy=new Set([Na,Sa,Ri,Zi]);function ph(e,t){if(e.type===14&&!te(e.callee)&&Qy.has(e.callee)){const n=e.arguments[0];if(n.type===4)return Dt(n,t);if(n.type===14)return ph(n,t)}return 0}function mh(e,t){let n=3;const s=gh(e);if(s&&s.type===15){const{properties:i}=s;for(let r=0;r<i.length;r++){const{key:o,value:l}=i[r],a=Dt(o,t);if(a===0)return a;a<n&&(n=a);let c;if(l.type===4?c=Dt(l,t):l.type===14?c=ph(l,t):c=0,c===0)return c;c<n&&(n=c)}}return n}function gh(e){const t=e.codegenNode;if(t.type===13)return t.props}function e0(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:c=ke,isCustomElement:u=ke,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,inSSR:p=!1,ssrCssVars:S="",bindingMetadata:N=ue,inline:E=!1,isTS:g=!1,onError:_=xa,onWarn:y=nh,compatConfig:w}){const P=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),T={filename:t,selfName:P&&an(De(P[1])),prefixIdentifiers:n,hoistStatic:s,hmr:i,cacheHandlers:r,nodeTransforms:o,directiveTransforms:l,transformHoist:a,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,inSSR:p,ssrCssVars:S,bindingMetadata:N,inline:E,isTS:g,onError:_,onWarn:y,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(O){const D=T.helpers.get(O)||0;return T.helpers.set(O,D+1),O},removeHelper(O){const D=T.helpers.get(O);if(D){const I=D-1;I?T.helpers.set(O,I):T.helpers.delete(O)}},helperString(O){return`_${Xs[T.helper(O)]}`},replaceNode(O){if(process.env.NODE_ENV!=="production"){if(!T.currentNode)throw new Error("Node being replaced is already removed.");if(!T.parent)throw new Error("Cannot replace root node.")}T.parent.children[T.childIndex]=T.currentNode=O},removeNode(O){if(process.env.NODE_ENV!=="production"&&!T.parent)throw new Error("Cannot remove root node.");const D=T.parent.children,I=O?D.indexOf(O):T.currentNode?T.childIndex:-1;if(process.env.NODE_ENV!=="production"&&I<0)throw new Error("node being removed is not a child of current parent");!O||O===T.currentNode?(T.currentNode=null,T.onNodeRemoved()):T.childIndex>I&&(T.childIndex--,T.onNodeRemoved()),T.parent.children.splice(I,1)},onNodeRemoved:ke,addIdentifiers(O){},removeIdentifiers(O){},hoist(O){te(O)&&(O=ce(O)),T.hoists.push(O);const D=ce(`_hoisted_${T.hoists.length}`,!1,O.loc,2);return D.hoisted=O,D},cache(O,D=!1,I=!1){const C=Sy(T.cached.length,O,D,I);return T.cached.push(C),C}};return T.filters=new Set,T}function t0(e,t){const n=e0(e,t);wo(e,n),t.hoistStatic&&Xy(e,n),t.ssr||n0(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function n0(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const i=hh(e);if(i&&i.codegenNode){const r=i.codegenNode;r.type===13&&Da(r,t),e.codegenNode=r}else e.codegenNode=s[0]}else if(s.length>1){let i=64;process.env.NODE_ENV!=="production"&&s.filter(r=>r.type!==3).length===1&&(i|=2048),e.codegenNode=$i(t,n(Fi),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function s0(e,t){let n=0;const s=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];te(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=s,wo(i,t))}}function wo(e,t){t.currentNode=e;const{nodeTransforms:n}=t,s=[];for(let r=0;r<n.length;r++){const o=n[r](e,t);if(o&&(K(o)?s.push(...o):s.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Ji);break;case 5:t.ssr||t.helper(Oo);break;case 9:for(let r=0;r<e.branches.length;r++)wo(e.branches[r],t);break;case 10:case 11:case 1:case 0:s0(e,t);break}t.currentNode=e;let i=s.length;for(;i--;)s[i]()}function vh(e,t){const n=te(e)?s=>s===e:s=>e.test(s);return(s,i)=>{if(s.type===1){const{props:r}=s;if(s.tagType===3&&r.some(Ly))return;const o=[];for(let l=0;l<r.length;l++){const a=r[l];if(a.type===7&&n(a.name)){r.splice(l,1),l--;const c=t(s,a,i);c&&o.push(c)}}return o}}}const Co="/*@__PURE__*/",yh=e=>`${Xs[e]}: _${Xs[e]}`;function i0(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(p){return`_${Xs[p]}`},push(p,S=-2,N){h.code+=p},indent(){m(++h.indentLevel)},deindent(p=!1){p?--h.indentLevel:m(--h.indentLevel)},newline(){m(h.indentLevel)}};function m(p){h.push(`
|
|
29
|
-
`+" ".repeat(p),0)}return h}function
|
|
30
|
-
`,-1),a())),e.components.length&&(
|
|
31
|
-
`,0),a()),u||i("return "),e.codegenNode?
|
|
32
|
-
`,-1),e.hoists.length)){const f=[
|
|
33
|
-
`,-1)}l0(e.hoists,t),r(),i("return ")}function Wo(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Ea:t==="component"?ga:ya);for(let l=0;l<e.length;l++){let a=e[l];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${Hi(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function l0(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),ht(r,t),s())}t.pure=!1}function a0(e){return te(e)||e.type===4||e.type===2||e.type===5||e.type===8}function Ia(e,t){const n=e.length>3||process.env.NODE_ENV!=="production"&&e.some(s=>K(s)||!a0(s));t.push("["),n&&t.indent(),Yi(e,t,n),n&&t.deindent(),t.push("]")}function Yi(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];te(l)?i(l,-3):K(l)?Ia(l,t):ht(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function ht(e,t){if(te(e)){t.push(e,-3);return}if(wt(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:process.env.NODE_ENV!=="production"&&Gc(e.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),ht(e.codegenNode,t);break;case 2:c0(e,t);break;case 4:Eh(e,t);break;case 5:u0(e,t);break;case 12:ht(e.codegenNode,t);break;case 8:_h(e,t);break;case 3:d0(e,t);break;case 13:h0(e,t);break;case 14:m0(e,t);break;case 15:g0(e,t);break;case 17:v0(e,t);break;case 18:y0(e,t);break;case 19:E0(e,t);break;case 20:_0(e,t);break;case 21:Yi(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:if(process.env.NODE_ENV!=="production")return Gc(!1,`unhandled codegen node type: ${e.type}`),e}}function c0(e,t){t.push(JSON.stringify(e.content),-3,e)}function Eh(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function u0(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Co),n(`${s(Oo)}(`),ht(e.content,t),n(")")}function _h(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];te(s)?t.push(s,-3):ht(s,t)}}function f0(e,t){const{push:n}=t;if(e.type===8)n("["),_h(e,t),n("]");else if(e.isStatic){const s=Ta(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function d0(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Co),n(`${s(Ji)}(${JSON.stringify(e.content)})`,-3,e)}function h0(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:a,dynamicProps:c,directives:u,isBlock:f,disableTracking:d,isComponent:h}=e;let m;if(a)if(process.env.NODE_ENV!=="production")if(a<0)m=a+` /* ${yi[a]} */`;else{const S=Object.keys(yi).map(Number).filter(N=>N>0&&a&N).map(N=>yi[N]).join(", ");m=a+` /* ${S} */`}else m=String(a);u&&n(s(_a)+"("),f&&n(`(${s(Ns)}(${d?"true":""}), `),i&&n(Co);const p=f?ti(t.inSSR,h):ei(t.inSSR,h);n(s(p)+"(",-2,e),Yi(p0([r,o,l,m,c]),t),n(")"),f&&n(")"),u&&(n(", "),ht(u,t),n(")"))}function p0(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function m0(e,t){const{push:n,helper:s,pure:i}=t,r=te(e.callee)?e.callee:s(e.callee);i&&n(Co),n(r+"(",-2,e),Yi(e.arguments,t),n(")")}function g0(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||process.env.NODE_ENV!=="production"&&o.some(a=>a.value.type!==4);n(l?"{":"{ "),l&&s();for(let a=0;a<o.length;a++){const{key:c,value:u}=o[a];f0(c,t),n(": "),ht(u,t),a<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function v0(e,t){Ia(e.elements,t)}function y0(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:a,isSlot:c}=e;c&&n(`_${Xs[wa]}(`),n("(",-2,e),K(r)?Yi(r,t):r&&ht(r,t),n(") => "),(a||l)&&(n("{"),s()),o?(a&&n("return "),K(o)?Ia(o,t):ht(o,t)):l&&ht(l,t),(a||l)&&(i(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function E0(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:a,newline:c}=t;if(n.type===4){const f=!Ta(n.content);f&&o("("),Eh(n,t),f&&o(")")}else o("("),ht(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),ht(s,t),t.indentLevel--,r&&c(),r||o(" "),o(": ");const u=i.type===19;u||t.indentLevel++,ht(i,t),u||t.indentLevel--,r&&a(!0)}function _0(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:a}=e;a&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(Wr)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),ht(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(Wr)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),a&&n(")]")}const b0=new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b"),N0=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function as(e,t,n=!1,s=!1){const i=e.content;if(i.trim())try{new Function(s?` ${i} `:`return ${n?`(${i}) => {}`:`(${i})`}`)}catch(r){let o=r.message;const l=i.replace(N0,"").match(b0);l&&(o=`avoid using JavaScript keyword as property name: "${l[0]}"`),t.onError(Se(46,e.loc,void 0,o))}}const S0=(e,t)=>{if(e.type===5)e.content=zo(e.content,t);else if(e.type===1){const n=St(e,"memo");for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&i.name!=="for"){const r=i.exp,o=i.arg;r&&r.type===4&&!(i.name==="on"&&o)&&!(n&&o&&o.type===4&&o.content==="key")&&(i.exp=zo(r,t,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=zo(o,t))}}}};function zo(e,t,n=!1,s=!1,i=Object.create(t.identifiers)){return process.env.NODE_ENV!=="production"&&as(e,t,n,s),e}const O0=vh(/^(?:if|else|else-if)$/,(e,t,n)=>w0(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),a=0;for(;l-->=0;){const c=o[l];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(r)s.codegenNode=tu(i,a,n);else{const c=D0(s.codegenNode);c.alternate=tu(i,a+s.branches.length-1,n)}}}));function w0(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(Se(28,t.loc)),t.exp=ce("true",!1,i)}if(process.env.NODE_ENV!=="production"&&t.exp&&as(t.exp,n),t.name==="if"){const i=eu(e,t),r={type:9,loc:Gy(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children,r=[];let o=i.indexOf(e);for(;o-->=-1;){const l=i[o];if(l&&ka(l)){n.removeNode(l),process.env.NODE_ENV!=="production"&&l.type===3&&r.unshift(l);continue}if(l&&l.type===9){(t.name==="else-if"||t.name==="else")&&l.branches[l.branches.length-1].condition===void 0&&n.onError(Se(30,e.loc)),n.removeNode();const a=eu(e,t);if(process.env.NODE_ENV!=="production"&&r.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag==="transition"||n.parent.tag==="Transition"))&&(a.children=[...r,...a.children]),process.env.NODE_ENV!=="production"){const u=a.userKey;u&&l.branches.forEach(({userKey:f})=>{C0(f,u)&&n.onError(Se(29,a.userKey.loc))})}l.branches.push(a);const c=s&&s(l,a,!1);wo(a,n),c&&c(),n.currentNode=null}else n.onError(Se(30,e.loc));break}}}function eu(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!St(e,"for")?e.children:[e],userKey:ji(e,"key"),isTemplateIf:n}}function tu(e,t,n){return e.condition?Dl(e.condition,nu(e,t,n),We(n.helper(Ji),[process.env.NODE_ENV!=="production"?'"v-if"':'""',"true"])):nu(e,t,n)}function nu(e,t,n){const{helper:s}=n,i=Be("key",ce(`${t}`,!1,Tt,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const a=o.codegenNode;return Zr(a,i,n),a}else{let a=64;return process.env.NODE_ENV!=="production"&&!e.isTemplateIf&&r.filter(c=>c.type!==3).length===1&&(a|=2048),$i(n,s(Fi),It([i]),r,a,void 0,void 0,!0,!1,!1,e.loc)}else{const a=o.codegenNode,c=Ry(a);return c.type===13&&Da(c,n),Zr(c,i,n),a}}function C0(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{const n=e.exp,s=t.exp;if(n.type!==s.type||n.type!==4||n.isStatic!==s.isStatic||n.content!==s.content)return!1}return!0}function D0(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const x0=vh("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return T0(e,t,n,r=>{const o=We(s(ba),[r.source]),l=Gr(e),a=St(e,"memo"),c=ji(e,"key",!1,!0);c&&c.type;let u=c&&(c.type===6?c.value?ce(c.value.content,!0):void 0:c.exp);const f=c&&u?Be("key",u):null,d=r.source.type===4&&r.source.constType>0,h=d?64:c?128:256;return r.codegenNode=$i(n,s(Fi),void 0,o,h,void 0,void 0,!0,!d,!1,e.loc),()=>{let m;const{children:p}=r;process.env.NODE_ENV!=="production"&&l&&e.children.some(E=>{if(E.type===1){const g=ji(E,"key");if(g)return n.onError(Se(33,g.loc)),!0}});const S=p.length!==1||p[0].type!==1,N=Jr(e)?e:l&&e.children.length===1&&Jr(e.children[0])?e.children[0]:null;if(N?(m=N.codegenNode,l&&f&&Zr(m,f,n)):S?m=$i(n,s(Fi),f?It([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(m=p[0].codegenNode,l&&f&&Zr(m,f,n),m.isBlock!==!d&&(m.isBlock?(i(Ns),i(ti(n.inSSR,m.isComponent))):i(ei(n.inSSR,m.isComponent))),m.isBlock=!d,m.isBlock?(s(Ns),s(ti(n.inSSR,m.isComponent))):s(ei(n.inSSR,m.isComponent))),a){const E=Qs(kl(r.parseResult,[ce("_cached")]));E.body=Oy([zt(["const _memo = (",a.exp,")"]),zt(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(th)}(_cached, _memo)) return _cached`]),zt(["const _item = ",m]),ce("_item.memo = _memo"),ce("return _item")]),o.arguments.push(E,ce("_cache"),ce(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Qs(kl(r.parseResult),m,!0))}})});function T0(e,t,n,s){if(!t.exp){n.onError(Se(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(Se(32,t.loc));return}bh(i,n);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:a,value:c,key:u,index:f}=i,d={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:i,children:Gr(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const h=s&&s(d);return()=>{l.vFor--,h&&h()}}function bh(e,t){e.finalized||(process.env.NODE_ENV!=="production"&&(as(e.source,t),e.key&&as(e.key,t,!0),e.index&&as(e.index,t,!0),e.value&&as(e.value,t,!0)),e.finalized=!0)}function kl({value:e,key:t,index:n},s=[]){return V0([e,t,n,...s])}function V0(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||ce("_".repeat(s+1),!1))}const su=ce("undefined",!1),k0=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=St(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},A0=(e,t,n,s)=>Qs(e,n,!1,!0,n.length?n[0].loc:s);function I0(e,t,n=A0){t.helper(wa);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=St(e,"slot",!0);if(a){const{arg:S,exp:N}=a;S&&!Ot(S)&&(l=!0),r.push(Be(S||ce("default",!0),n(N,void 0,s,i)))}let c=!1,u=!1;const f=[],d=new Set;let h=0;for(let S=0;S<s.length;S++){const N=s[S];let E;if(!Gr(N)||!(E=St(N,"slot",!0))){N.type!==3&&f.push(N);continue}if(a){t.onError(Se(37,E.loc));break}c=!0;const{children:g,loc:_}=N,{arg:y=ce("default",!0),exp:w,loc:P}=E;let T;Ot(y)?T=y?y.content:"default":l=!0;const O=St(N,"for"),D=n(w,O,g,_);let I,C;if(I=St(N,"if"))l=!0,o.push(Dl(I.exp,dr(y,D,h++),su));else if(C=St(N,/^else(?:-if)?$/,!0)){let R=S,G;for(;R--&&(G=s[R],!!ka(G)););if(G&&Gr(G)&&St(G,/^(?:else-)?if$/)){let z=o[o.length-1];for(;z.alternate.type===19;)z=z.alternate;z.alternate=C.exp?Dl(C.exp,dr(y,D,h++),su):dr(y,D,h++)}else t.onError(Se(30,C.loc))}else if(O){l=!0;const R=O.forParseResult;R?(bh(R,t),o.push(We(t.helper(ba),[R.source,Qs(kl(R),dr(y,D),!0)]))):t.onError(Se(32,O.loc))}else{if(T){if(d.has(T)){t.onError(Se(38,P));continue}d.add(T),T==="default"&&(u=!0)}r.push(Be(y,D))}}if(!a){const S=(N,E)=>{const g=n(N,void 0,E,i);return t.compatConfig&&(g.isNonScopedSlot=!0),Be("default",g)};c?f.length&&!f.every(Va)&&(u?t.onError(Se(39,f[0].loc)):r.push(S(void 0,f))):r.push(S(void 0,s))}const m=l?2:Nr(e.children)?3:1;let p=It(r.concat(Be("_",ce(m+(process.env.NODE_ENV!=="production"?` /* ${dp[m]} */`:""),!1))),i);return o.length&&(p=We(t.helper(eh),[p,gs(o)])),{slots:p,hasDynamicSlots:l}}function dr(e,t,n){const s=[Be("name",e),Be("fn",t)];return n!=null&&s.push(Be("key",ce(String(n),!0))),It(s)}function Nr(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Nr(n.children))return!0;break;case 9:if(Nr(n.branches))return!0;break;case 10:case 11:if(Nr(n.children))return!0;break}}return!1}const Nh=new WeakMap,M0=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?P0(e,t):`"${s}"`;const l=he(o)&&o.callee===va;let a,c,u=0,f,d,h,m=l||o===Ci||o===da||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const p=Sh(e,t,void 0,r,l);a=p.props,u=p.patchFlag,d=p.dynamicPropNames;const S=p.directives;h=S&&S.length?gs(S.map(N=>F0(N,t))):void 0,p.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(o===Kr&&(m=!0,u|=1024,process.env.NODE_ENV!=="production"&&e.children.length>1&&t.onError(Se(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),r&&o!==Ci&&o!==Kr){const{slots:S,hasDynamicSlots:N}=I0(e,t);c=S,N&&(u|=1024)}else if(e.children.length===1&&o!==Ci){const S=e.children[0],N=S.type,E=N===5||N===8;E&&Dt(S,t)===0&&(u|=1),E||N===2?c=S:c=e.children}else c=e.children;d&&d.length&&(f=R0(d)),e.codegenNode=$i(t,o,a,c,u===0?void 0:u,f,h,!!m,!1,r,e.loc)};function P0(e,t,n=!1){let{tag:s}=e;const i=Al(s),r=ji(e,"is",!1,!0);if(r)if(i||Jn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&ce(r.value.content,!0):(l=r.exp,l||(l=ce("is",!1,r.arg.loc))),l)return We(t.helper(va),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=sh(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(ga),t.components.add(s),Hi(s,"component"))}function Sh(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:a}=e;let c=[];const u=[],f=[],d=a.length>0;let h=!1,m=0,p=!1,S=!1,N=!1,E=!1,g=!1,_=!1;const y=[],w=D=>{c.length&&(u.push(It(iu(c),l)),c=[]),D&&u.push(D)},P=()=>{t.scopes.vFor>0&&c.push(Be(ce("ref_for",!0),ce("true")))},T=({key:D,value:I})=>{if(Ot(D)){const C=D.content,R=xn(C);if(R&&(!s||i)&&C.toLowerCase()!=="onclick"&&C!=="onUpdate:modelValue"&&!On(C)&&(E=!0),R&&On(C)&&(_=!0),R&&I.type===14&&(I=I.arguments[0]),I.type===20||(I.type===4||I.type===8)&&Dt(I,t)>0)return;C==="ref"?p=!0:C==="class"?S=!0:C==="style"?N=!0:C!=="key"&&!y.includes(C)&&y.push(C),s&&(C==="class"||C==="style")&&!y.includes(C)&&y.push(C)}else g=!0};for(let D=0;D<n.length;D++){const I=n[D];if(I.type===6){const{loc:C,name:R,nameLoc:G,value:z}=I;let W=!0;if(R==="ref"&&(p=!0,P()),R==="is"&&(Al(o)||z&&z.content.startsWith("vue:")||Jn("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Be(ce(R,!0,G),ce(z?z.content:"",W,z?z.loc:C)))}else{const{name:C,arg:R,exp:G,loc:z,modifiers:W}=I,J=C==="bind",H=C==="on";if(C==="slot"){s||t.onError(Se(40,z));continue}if(C==="once"||C==="memo"||C==="is"||J&&Wn(R,"is")&&(Al(o)||Jn("COMPILER_IS_ON_ELEMENT",t))||H&&r)continue;if((J&&Wn(R,"key")||H&&d&&Wn(R,"vue:before-update"))&&(h=!0),J&&Wn(R,"ref")&&P(),!R&&(J||H)){if(g=!0,G)if(J){if(w(),process.env.NODE_ENV!=="production"&&u.some(Ge=>Ge.type===15?Ge.properties.some(({key:Je})=>Je.type!==4||!Je.isStatic?!0:Je.content!=="class"&&Je.content!=="style"&&!xn(Je.content)):!0)&&ni("COMPILER_V_BIND_OBJECT_ORDER",t,z),Jn("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(G);continue}P(),w(),u.push(G)}else w({type:14,loc:z,callee:t.helper(Oa),arguments:s?[G]:[G,"true"]});else t.onError(Se(J?34:35,z));continue}J&&W.some($e=>$e.content==="prop")&&(m|=32);const le=t.directiveTransforms[C];if(le){const{props:$e,needRuntime:Ge}=le(I,e,t);!r&&$e.forEach(T),H&&R&&!Ot(R)?w(It($e,l)):c.push(...$e),Ge&&(f.push(I),wt(Ge)&&Nh.set(I,Ge))}else Vu(C)||(f.push(I),d&&(h=!0))}}let O;if(u.length?(w(),u.length>1?O=We(t.helper(Ur),u,l):O=u[0]):c.length&&(O=It(iu(c),l)),g?m|=16:(S&&!s&&(m|=2),N&&!s&&(m|=4),y.length&&(m|=8),E&&(m|=32)),!h&&(m===0||m===32)&&(p||_||f.length>0)&&(m|=512),!t.inSSR&&O)switch(O.type){case 15:let D=-1,I=-1,C=!1;for(let z=0;z<O.properties.length;z++){const W=O.properties[z].key;Ot(W)?W.content==="class"?D=z:W.content==="style"&&(I=z):W.isHandlerKey||(C=!0)}const R=O.properties[D],G=O.properties[I];C?O=We(t.helper(Ri),[O]):(R&&!Ot(R.value)&&(R.value=We(t.helper(Na),[R.value])),G&&(N||G.value.type===4&&G.value.content.trim()[0]==="["||G.value.type===17)&&(G.value=We(t.helper(Sa),[G.value])));break;case 14:break;default:O=We(t.helper(Ri),[We(t.helper(Zi),[O])]);break}return{props:O,directives:f,patchFlag:m,dynamicPropNames:y,shouldUseBlock:h}}function iu(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||xn(r))&&L0(o,i):(t.set(r,i),n.push(i))}return n}function L0(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=gs([e.value,t.value],e.loc)}function F0(e,t){const n=[],s=Nh.get(e);s?n.push(t.helperString(s)):(t.helper(ya),t.directives.add(e.name),n.push(Hi(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=ce("true",!1,i);n.push(It(e.modifiers.map(o=>Be(o,r)),i))}return gs(n,e.loc)}function R0(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Al(e){return e==="component"||e==="Component"}const $0=(e,t)=>{if(Jr(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=j0(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=Qs([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=We(t.helper(Qd),o,s)}};function j0(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=De(o.name),i.push(o)));else if(o.name==="bind"&&Wn(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=De(o.arg.content);n=o.exp=ce(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ot(o.arg)&&(o.arg.content=De(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Sh(e,t,i,!1,!1);s=r,o.length&&t.onError(Se(36,o[0].loc))}return{slotName:n,slotProps:s}}const Oh=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(Se(35,i));let l;if(o.type===4)if(o.isStatic){let f=o.content;process.env.NODE_ENV!=="production"&&f.startsWith("vnode")&&n.onError(Se(52,o.loc)),f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const d=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Qt(De(f)):`on:${f}`;l=ce(d,!0,o.loc)}else l=zt([`${n.helperString(Cl)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Cl)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const f=oh(a),d=!(f||My(a)),h=a.content.includes(";");process.env.NODE_ENV!=="production"&&as(a,n,!1,h),(d||c&&f)&&(a=zt([`${d?"$event":"(...args)"} => ${h?"{":"("}`,a,h?"}":")"]))}let u={props:[Be(l,a||ce("() => {}",!1,i))]};return s&&(u=s(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(f=>f.key.isHandlerKey=!0),u},H0=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=De(r.content):r.content=`${n.helperString(wl)}(${r.content})`:(r.children.unshift(`${n.helperString(wl)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&ru(r,"."),s.some(l=>l.content==="attr")&&ru(r,"^")),{props:[Be(r,o)]}},ru=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},B0=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(Uo(o)){i=!0;for(let l=r+1;l<n.length;l++){const a=n[l];if(Uo(a))s||(s=n[r]=zt([o],o.loc)),s.children.push(" + ",a),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(Uo(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Dt(o,t)===0&&l.push(1+(process.env.NODE_ENV!=="production"?` /* ${yi[1]} */`:"")),n[r]={type:12,content:o,loc:o.loc,codegenNode:We(t.helper(ma),l)}}}}},ou=new WeakSet,K0=(e,t)=>{if(e.type===1&&St(e,"once",!0))return ou.has(e)||t.inVOnce||t.inSSR?void 0:(ou.add(e),t.inVOnce=!0,t.helper(Wr),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},wh=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(Se(41,e.loc)),fi();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(Se(44,s.loc)),fi();if(l==="literal-const"||l==="setup-const")return n.onError(Se(45,s.loc)),fi();if(!o.trim()||!oh(s))return n.onError(Se(42,s.loc)),fi();const a=i||ce("modelValue",!0),c=i?Ot(i)?`onUpdate:${De(i.content)}`:zt(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const f=n.isTS?"($event: any)":"$event";u=zt([`${f} => ((`,s,") = $event)"]);const d=[Be(a,e.exp),Be(c,u)];if(e.modifiers.length&&t.tagType===1){const h=e.modifiers.map(p=>p.content).map(p=>(Ta(p)?p:JSON.stringify(p))+": true").join(", "),m=i?Ot(i)?`${i.content}Modifiers`:zt([i,' + "Modifiers"']):"modelModifiers";d.push(Be(m,ce(`{ ${h} }`,!1,e.loc,2)))}return fi(d)};function fi(e=[]){return{props:e}}const U0=/[\w).+\-_$\]]/,W0=(e,t)=>{Jn("COMPILER_FILTERS",t)&&(e.type===5?Yr(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Yr(n.exp,t)}))};function Yr(e,t){if(e.type===4)lu(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?lu(s,t):s.type===8?Yr(e,t):s.type===5&&Yr(s.content,t))}}function lu(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,a=0,c=0,u=0,f,d,h,m,p=[];for(h=0;h<n.length;h++)if(d=f,f=n.charCodeAt(h),s)f===39&&d!==92&&(s=!1);else if(i)f===34&&d!==92&&(i=!1);else if(r)f===96&&d!==92&&(r=!1);else if(o)f===47&&d!==92&&(o=!1);else if(f===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!l&&!a&&!c)m===void 0?(u=h+1,m=n.slice(0,h).trim()):S();else{switch(f){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:c++;break;case 41:c--;break;case 91:a++;break;case 93:a--;break;case 123:l++;break;case 125:l--;break}if(f===47){let N=h-1,E;for(;N>=0&&(E=n.charAt(N),E===" ");N--);(!E||!U0.test(E))&&(o=!0)}}m===void 0?m=n.slice(0,h).trim():u!==0&&S();function S(){p.push(n.slice(u,h).trim()),u=h+1}if(p.length){for(process.env.NODE_ENV!=="production"&&qr("COMPILER_FILTERS",t,e.loc),h=0;h<p.length;h++)m=z0(m,p[h],t);e.content=m,e.ast=void 0}}function z0(e,t,n){n.helper(Ea);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${Hi(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${Hi(i,"filter")}(${e}${r!==")"?","+r:r}`}}const au=new WeakSet,q0=(e,t)=>{if(e.type===1){const n=St(e,"memo");return!n||au.has(e)||t.inSSR?void 0:(au.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Da(s,t),e.codegenNode=We(t.helper(Ca),[n.exp,Qs(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}},G0=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const s=n.arg;if(s.type!==4||!s.isStatic)t.onError(Se(53,s.loc)),n.exp=ce("",!0,s.loc);else{const i=De(s.content);(ih.test(i[0])||i[0]==="-")&&(n.exp=ce(i,!1,s.loc))}}}};function J0(e){return[[G0,K0,O0,q0,x0,W0,...process.env.NODE_ENV!=="production"?[S0]:[],$0,M0,k0,B0],{on:Oh,bind:H0,model:wh}]}function Z0(e,t={}){const n=t.onError||xa,s=t.mode==="module";t.prefixIdentifiers===!0?n(Se(48)):s&&n(Se(49));const i=!1;t.cacheHandlers&&n(Se(50)),t.scopeId&&!s&&n(Se(51));const r=oe({},t,{prefixIdentifiers:i}),o=te(e)?Yy(e,r):e,[l,a]=J0();return t0(o,oe({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:oe({},a,t.directiveTransforms||{})})),r0(o,r)}const Y0=()=>({props:[]});const Ch=Symbol(process.env.NODE_ENV!=="production"?"vModelRadio":""),Dh=Symbol(process.env.NODE_ENV!=="production"?"vModelCheckbox":""),xh=Symbol(process.env.NODE_ENV!=="production"?"vModelText":""),Th=Symbol(process.env.NODE_ENV!=="production"?"vModelSelect":""),Il=Symbol(process.env.NODE_ENV!=="production"?"vModelDynamic":""),Vh=Symbol(process.env.NODE_ENV!=="production"?"vOnModifiersGuard":""),kh=Symbol(process.env.NODE_ENV!=="production"?"vOnKeysGuard":""),Ah=Symbol(process.env.NODE_ENV!=="production"?"vShow":""),Ma=Symbol(process.env.NODE_ENV!=="production"?"Transition":""),Ih=Symbol(process.env.NODE_ENV!=="production"?"TransitionGroup":"");by({[Ch]:"vModelRadio",[Dh]:"vModelCheckbox",[xh]:"vModelText",[Th]:"vModelSelect",[Il]:"vModelDynamic",[Vh]:"withModifiers",[kh]:"withKeys",[Ah]:"vShow",[Ma]:"Transition",[Ih]:"TransitionGroup"});let Vs;function X0(e,t=!1){return Vs||(Vs=document.createElement("div")),t?(Vs.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Vs.children[0].getAttribute("foo")):(Vs.innerHTML=e,Vs.textContent)}const Q0={parseMode:"html",isVoidTag:wp,isNativeTag:e=>Au(e)||Iu(e)||Mu(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:X0,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Ma;if(e==="TransitionGroup"||e==="transition-group")return Ih},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},eE=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:ce("style",!0,t.loc),exp:tE(t.value.content,t.loc),modifiers:[],loc:t.loc})})},tE=(e,t)=>{const n=ku(e);return ce(JSON.stringify(n),!1,t,3)};function Kt(e,t){return Se(e,t,process.env.NODE_ENV!=="production"?nE:void 0)}const nE={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},sE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Kt(54,i)),t.children.length&&(n.onError(Kt(55,i)),t.children.length=0),{props:[Be(ce("innerHTML",!0,i),s||ce("",!0))]}},iE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Kt(56,i)),t.children.length&&(n.onError(Kt(57,i)),t.children.length=0),{props:[Be(ce("textContent",!0),s?Dt(s,n)>0?s:We(n.helperString(Oo),[s],i):ce("",!0))]}},rE=(e,t,n)=>{const s=wh(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(Kt(59,e.arg.loc));function i(){const l=St(t,"bind");l&&Wn(l.arg,"value")&&n.onError(Kt(61,l.loc))}const{tag:r}=t,o=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||o){let l=xh,a=!1;if(r==="input"||o){const c=ji(t,"type");if(c){if(c.type===7)l=Il;else if(c.value)switch(c.value.content){case"radio":l=Ch;break;case"checkbox":l=Dh;break;case"file":a=!0,n.onError(Kt(60,e.loc));break;default:process.env.NODE_ENV!=="production"&&i();break}}else Py(t)?l=Il:process.env.NODE_ENV!=="production"&&i()}else r==="select"?l=Th:process.env.NODE_ENV!=="production"&&i();a||(s.needRuntime=n.helper(l))}else n.onError(Kt(58,e.loc));return s.props=s.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),s},oE=et("passive,once,capture"),lE=et("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),aE=et("left,right"),Mh=et("onkeyup,onkeydown,onkeypress"),cE=(e,t,n,s)=>{const i=[],r=[],o=[];for(let l=0;l<t.length;l++){const a=t[l].content;a==="native"&&ni("COMPILER_V_ON_NATIVE",n,s)||oE(a)?o.push(a):aE(a)?Ot(e)?Mh(e.content.toLowerCase())?i.push(a):r.push(a):(i.push(a),r.push(a)):lE(a)?r.push(a):i.push(a)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},cu=(e,t)=>Ot(e)&&e.content.toLowerCase()==="onclick"?ce(t,!0):e.type!==4?zt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,uE=(e,t,n)=>Oh(e,t,n,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:a,eventOptionModifiers:c}=cE(r,i,n,e.loc);if(a.includes("right")&&(r=cu(r,"onContextmenu")),a.includes("middle")&&(r=cu(r,"onMouseup")),a.length&&(o=We(n.helper(Vh),[o,JSON.stringify(a)])),l.length&&(!Ot(r)||Mh(r.content.toLowerCase()))&&(o=We(n.helper(kh),[o,JSON.stringify(l)])),c.length){const u=c.map(an).join("");r=Ot(r)?ce(`${r.content}${u}`,!0):zt(["(",r,`) + "${u}"`])}return{props:[Be(r,o)]}}),fE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Kt(62,i)),{props:[],needRuntime:n.helper(Ah)}},dE=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===Ma)return()=>{if(!e.children.length)return;Ph(e)&&t.onError(Kt(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const s=e.children[0];if(s.type===1)for(const i of s.props)i.type===7&&i.name==="show"&&e.props.push({type:6,name:"persisted",nameLoc:e.loc,value:void 0,loc:e.loc})}};function Ph(e){const t=e.children=e.children.filter(s=>!ka(s)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(Ph)}const hE=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(process.env.NODE_ENV!=="production"&&t.onError(Kt(64,e.loc)),t.removeNode())};function pE(e,t){return e==="template"?!0:e in uu?uu[e].has(t):t in fu?fu[t].has(e):!(e in du&&du[e].has(t)||t in hu&&hu[t].has(e))}const ks=new Set(["h1","h2","h3","h4","h5","h6"]),rs=new Set([]),uu={head:new Set(["base","basefront","bgsound","link","meta","title","noscript","noframes","style","script","template"]),optgroup:new Set(["option"]),select:new Set(["optgroup","option","hr"]),table:new Set(["caption","colgroup","tbody","tfoot","thead"]),tr:new Set(["td","th"]),colgroup:new Set(["col"]),tbody:new Set(["tr"]),thead:new Set(["tr"]),tfoot:new Set(["tr"]),script:rs,iframe:rs,option:rs,textarea:rs,style:rs,title:rs},fu={html:rs,body:new Set(["html"]),head:new Set(["html"]),td:new Set(["tr"]),colgroup:new Set(["table"]),caption:new Set(["table"]),tbody:new Set(["table"]),tfoot:new Set(["table"]),col:new Set(["colgroup"]),th:new Set(["tr"]),thead:new Set(["table"]),tr:new Set(["tbody","thead","tfoot"]),dd:new Set(["dl","div"]),dt:new Set(["dl","div"]),figcaption:new Set(["figure"]),summary:new Set(["details"]),area:new Set(["map"])},du={p:new Set(["address","article","aside","blockquote","center","details","dialog","dir","div","dl","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","menu","ol","p","pre","section","table","ul"]),svg:new Set(["b","blockquote","br","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","hr","i","img","li","menu","meta","ol","p","pre","ruby","s","small","span","strong","sub","sup","table","u","ul","var"])},hu={a:new Set(["a"]),button:new Set(["button"]),dd:new Set(["dd","dt"]),dt:new Set(["dd","dt"]),form:new Set(["form"]),li:new Set(["li"]),h1:ks,h2:ks,h3:ks,h4:ks,h5:ks,h6:ks},mE=(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!pE(t.parent.tag,e.tag)){const n=new SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}},gE=[eE,...process.env.NODE_ENV!=="production"?[dE,mE]:[]],vE={cloak:Y0,html:sE,text:iE,model:rE,on:uE,show:fE};function yE(e,t={}){return Z0(e,oe({},Q0,t,{nodeTransforms:[hE,...gE,...t.nodeTransforms||[]],directiveTransforms:oe({},vE,t.directiveTransforms||{}),transformHoist:null}))}function EE(){Nd()}process.env.NODE_ENV!=="production"&&EE();const pu=Object.create(null);function _E(e,t){if(!te(e))if(e.nodeType)e=e.innerHTML;else return process.env.NODE_ENV!=="production"&&Pe("invalid template option: ",e),ke;const n=fp(e,t),s=pu[n];if(s)return s;if(e[0]==="#"){const a=document.querySelector(e);process.env.NODE_ENV!=="production"&&!a&&Pe(`Template element not found or is empty: ${e}`),e=a?a.innerHTML:""}const i=oe({hoistStatic:!0,onError:process.env.NODE_ENV!=="production"?o:void 0,onWarn:process.env.NODE_ENV!=="production"?a=>o(a,!0):ke},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=a=>!!customElements.get(a));const{code:r}=yE(e,i);function o(a,c=!1){const u=c?a.message:`Template compilation error: ${a.message}`,f=a.loc&&mp(e,a.loc.start.offset,a.loc.end.offset);Pe(f?`${u}
|
|
34
|
-
${f}`:u)}const l=new Function("Vue",r)(
|
|
23
|
+
For more details, see https://link.vuejs.org/feature-flags.`)}}const We=pd;function ld(e){return cd(e)}function ad(e){return cd(e,Ym)}function cd(e,t){cv();const n=Yi();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&Xl(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Pe,insertStaticContent:m}=e,p=(g,b,x,R=null,P=null,M=null,H=void 0,j=null,$=process.env.NODE_ENV!=="production"&&bt?!1:!!b.dynamicChildren)=>{if(g===b)return;g&&!Bt(g,b)&&(R=Qe(g),ut(g,P,M,!0),g=null),b.patchFlag===-2&&($=!1,b.dynamicChildren=null);const{type:L,ref:te,shapeFlag:K}=b;switch(L){case cn:S(g,b,x,R);break;case Le:N(g,b,x,R);break;case Yn:g==null?_(b,x,R,H):process.env.NODE_ENV!=="production"&&v(g,b,x,H);break;case Te:F(g,b,x,R,P,M,H,j,$);break;default:K&1?D(g,b,x,R,P,M,H,j,$):K&6?U(g,b,x,R,P,M,H,j,$):K&64||K&128?L.process(g,b,x,R,P,M,H,j,$,st):process.env.NODE_ENV!=="production"&&I("Invalid VNode type:",L,`(${typeof L})`)}te!=null&&P?Ks(te,g&&g.ref,M,b||g,!b):te==null&&g&&g.ref!=null&&Ks(g.ref,null,M,g,!0)},S=(g,b,x,R)=>{if(g==null)s(b.el=l(b.children),x,R);else{const P=b.el=g.el;b.children!==g.children&&c(P,b.children)}},N=(g,b,x,R)=>{g==null?s(b.el=a(b.children||""),x,R):b.el=g.el},_=(g,b,x,R)=>{[g.el,g.anchor]=m(g.children,b,x,R,g.el,g.anchor)},v=(g,b,x,R)=>{if(b.children!==g.children){const P=d(g.anchor);y(g),[b.el,b.anchor]=m(b.children,x,P,R)}else b.el=g.el,b.anchor=g.anchor},E=({el:g,anchor:b},x,R)=>{let P;for(;g&&g!==b;)P=d(g),s(g,x,R),g=P;s(b,x,R)},y=({el:g,anchor:b})=>{let x;for(;g&&g!==b;)x=d(g),i(g),g=x;i(b)},D=(g,b,x,R,P,M,H,j,$)=>{if(b.type==="svg"?H="svg":b.type==="math"&&(H="mathml"),g==null)T(b,x,R,P,M,H,j,$);else{const L=g.el&&g.el._isVueCE?g.el:null;try{L&&L._beginPatch(),k(g,b,P,M,H,j,$)}finally{L&&L._endPatch()}}},T=(g,b,x,R,P,M,H,j)=>{let $,L;const{props:te,shapeFlag:K,transition:X,dirs:se}=g;if($=g.el=o(g.type,M,te&&te.is,te),K&8?u($,g.children):K&16&&O(g.children,$,null,R,P,zo(g,M),H,j),se&&Qt(g,null,R,"created"),C($,g,g.scopeId,H,R),te){for(const Ne in te)Ne!=="value"&&!xn(Ne)&&r($,Ne,null,te[Ne],M,R);"value"in te&&r($,"value",null,te.value,M),(L=te.onVnodeBeforeMount)&&Ot(L,R,g)}process.env.NODE_ENV!=="production"&&(qs($,"__vnode",g,!0),qs($,"__vueParentComponent",R,!0)),se&&Qt(g,null,R,"beforeMount");const ve=ud(P,X);if(ve&&X.beforeEnter($),s($,b,x),(L=te&&te.onVnodeMounted)||ve||se){const Ne=process.env.NODE_ENV!=="production"&&bt;We(()=>{let ye;process.env.NODE_ENV!=="production"&&(ye=ac(Ne));try{L&&Ot(L,R,g),ve&&X.enter($),se&&Qt(g,null,R,"mounted")}finally{process.env.NODE_ENV!=="production"&&ac(ye)}},P)}},C=(g,b,x,R,P)=>{if(x&&h(g,x),R)for(let M=0;M<R.length;M++)h(g,R[M]);if(P){let M=P.subTree;if(process.env.NODE_ENV!=="production"&&M.patchFlag>0&&M.patchFlag&2048&&(M=wo(M.children)||M),b===M||Br(M.type)&&(M.ssContent===b||M.ssFallback===b)){const H=P.vnode;C(g,H,H.scopeId,H.slotScopeIds,P.parent)}}},O=(g,b,x,R,P,M,H,j,$=0)=>{for(let L=$;L<g.length;L++){const te=g[L]=j?On(g[L]):_t(g[L]);p(null,te,b,x,R,P,M,H,j)}},k=(g,b,x,R,P,M,H)=>{const j=b.el=g.el;process.env.NODE_ENV!=="production"&&(j.__vnode=b);let{patchFlag:$,dynamicChildren:L,dirs:te}=b;$|=g.patchFlag&16;const K=g.props||ce,X=b.props||ce;let se;if(x&&rs(x,!1),(se=X.onVnodeBeforeUpdate)&&Ot(se,x,b,g),te&&Qt(b,g,x,"beforeUpdate"),x&&rs(x,!0),(process.env.NODE_ENV!=="production"&&bt||L&&(!g.dynamicChildren||g.dynamicChildren.length!==L.length))&&($=0,H=!1,L=null),(K.innerHTML&&X.innerHTML==null||K.textContent&&X.textContent==null)&&u(j,""),L?(A(g.dynamicChildren,L,j,x,R,zo(b,P),M),process.env.NODE_ENV!=="production"&&xi(g,b)):H||Se(g,b,j,null,x,R,zo(b,P),M,!1),$>0){if($&16)w(j,K,X,x,P);else if($&2&&K.class!==X.class&&r(j,"class",null,X.class,P),$&4&&r(j,"style",K.style,X.style,P),$&8){const ve=b.dynamicProps;for(let Ne=0;Ne<ve.length;Ne++){const ye=ve[Ne],Fe=K[ye],je=X[ye];(je!==Fe||ye==="value")&&r(j,ye,Fe,je,P,x)}}$&1&&g.children!==b.children&&u(j,b.children)}else!H&&L==null&&w(j,K,X,x,P);((se=X.onVnodeUpdated)||te)&&We(()=>{se&&Ot(se,x,b,g),te&&Qt(b,g,x,"updated")},R)},A=(g,b,x,R,P,M,H)=>{for(let j=0;j<b.length;j++){const $=g[j],L=b[j],te=$.el&&($.type===Te||!Bt($,L)||$.shapeFlag&198)?f($.el):x;p($,L,te,null,R,P,M,H,!0)}},w=(g,b,x,R,P)=>{if(b!==x){if(b!==ce)for(const M in b)!xn(M)&&!(M in x)&&r(g,M,b[M],null,P,R);for(const M in x){if(xn(M))continue;const H=x[M],j=b[M];H!==j&&M!=="value"&&r(g,M,j,H,P,R)}"value"in x&&r(g,"value",b.value,x.value,P)}},F=(g,b,x,R,P,M,H,j,$)=>{const L=b.el=g?g.el:l(""),te=b.anchor=g?g.anchor:l("");let{patchFlag:K,dynamicChildren:X,slotScopeIds:se}=b;process.env.NODE_ENV!=="production"&&(bt||K&2048)&&(K=0,$=!1,X=null),se&&(j=j?j.concat(se):se),g==null?(s(L,x,R),s(te,x,R),O(b.children||[],x,te,P,M,H,j,$)):K>0&&K&64&&X&&g.dynamicChildren&&g.dynamicChildren.length===X.length?(A(g.dynamicChildren,X,x,P,M,H,j),process.env.NODE_ENV!=="production"?xi(g,b):(b.key!=null||P&&b===P.subTree)&&xi(g,b,!0)):Se(g,b,x,te,P,M,H,j,$)},U=(g,b,x,R,P,M,H,j,$)=>{b.slotScopeIds=j,g==null?b.shapeFlag&512?P.ctx.activate(b,x,R,H,$):z(b,x,R,P,M,H,$):W(g,b,$)},z=(g,b,x,R,P,M,H)=>{const j=g.component=_d(g,R,P);if(process.env.NODE_ENV!=="production"&&j.type.__hmrId&&Om(j),process.env.NODE_ENV!=="production"&&($s(g),En(j,"mount")),li(g)&&(j.ctx.renderer=st),process.env.NODE_ENV!=="production"&&En(j,"init"),Nd(j,!1,H),process.env.NODE_ENV!=="production"&&_n(j,"init"),process.env.NODE_ENV!=="production"&&bt&&(g.el=null),j.asyncDep){if(P&&P.registerDep(j,Y,H),!g.el){const $=j.subTree=_e(Le);N(null,$,b,x),g.placeholder=$.el}}else Y(j,g,b,x,P,M,H);process.env.NODE_ENV!=="production"&&(js(),_n(j,"mount"))},W=(g,b,x)=>{const R=b.component=g.component;if(Jg(g,b,x))if(R.asyncDep&&!R.asyncResolved){process.env.NODE_ENV!=="production"&&$s(b),G(R,b,x),process.env.NODE_ENV!=="production"&&js();return}else R.next=b,R.update();else b.el=g.el,R.vnode=b},Y=(g,b,x,R,P,M,H)=>{const j=()=>{if(g.isMounted){let{next:K,bu:X,u:se,parent:ve,vnode:Ne}=g;{const rt=fd(g);if(rt){K&&(K.el=Ne.el,G(g,K,H)),rt.asyncDep.then(()=>{We(()=>{g.isUnmounted||L()},P)});return}}let ye=K,Fe;process.env.NODE_ENV!=="production"&&$s(K||g.vnode),rs(g,!1),K?(K.el=Ne.el,G(g,K,H)):K=Ne,X&&Wn(X),(Fe=K.props&&K.props.onVnodeBeforeUpdate)&&Ot(Fe,ve,K,Ne),rs(g,!0),process.env.NODE_ENV!=="production"&&En(g,"render");const je=Nr(g);process.env.NODE_ENV!=="production"&&_n(g,"render");const it=g.subTree;g.subTree=je,process.env.NODE_ENV!=="production"&&En(g,"patch"),p(it,je,f(it.el),Qe(it),g,P,M),process.env.NODE_ENV!=="production"&&_n(g,"patch"),K.el=je.el,ye===null&&Co(g,je.el),se&&We(se,P),(Fe=K.props&&K.props.onVnodeUpdated)&&We(()=>Ot(Fe,ve,K,Ne),P),process.env.NODE_ENV!=="production"&&Nf(g),process.env.NODE_ENV!=="production"&&js()}else{let K;const{el:X,props:se}=b,{bm:ve,m:Ne,parent:ye,root:Fe,type:je}=g,it=Tn(b);if(rs(g,!1),ve&&Wn(ve),!it&&(K=se&&se.onVnodeBeforeMount)&&Ot(K,ye,b),rs(g,!0),X&&ci){const rt=()=>{process.env.NODE_ENV!=="production"&&En(g,"render"),g.subTree=Nr(g),process.env.NODE_ENV!=="production"&&_n(g,"render"),process.env.NODE_ENV!=="production"&&En(g,"hydrate"),ci(X,g.subTree,g,P,null),process.env.NODE_ENV!=="production"&&_n(g,"hydrate")};it&&je.__asyncHydrate?je.__asyncHydrate(X,g,rt):rt()}else{Fe.ce&&Fe.ce._hasShadowRoot()&&Fe.ce._injectChildStyle(je,g.parent?g.parent.type:void 0),process.env.NODE_ENV!=="production"&&En(g,"render");const rt=g.subTree=Nr(g);process.env.NODE_ENV!=="production"&&_n(g,"render"),process.env.NODE_ENV!=="production"&&En(g,"patch"),p(null,rt,x,R,g,P,M),process.env.NODE_ENV!=="production"&&_n(g,"patch"),b.el=rt.el}if(Ne&&We(Ne,P),!it&&(K=se&&se.onVnodeMounted)){const rt=b;We(()=>Ot(K,ye,rt),P)}(b.shapeFlag&256||ye&&Tn(ye.vnode)&&ye.vnode.shapeFlag&256)&&g.a&&We(g.a,P),g.isMounted=!0,process.env.NODE_ENV!=="production"&&ul(g),b=x=R=null}};g.scope.on();const $=g.effect=new Ii(j);g.scope.off();const L=g.update=$.run.bind($),te=g.job=$.runIfDirty.bind($);te.i=g,te.id=g.uid,$.scheduler=()=>Eo(te),rs(g,!0),process.env.NODE_ENV!=="production"&&($.onTrack=g.rtc?K=>Wn(g.rtc,K):void 0,$.onTrigger=g.rtg?K=>Wn(g.rtg,K):void 0),L()},G=(g,b,x)=>{b.component=g;const R=g.vnode.props;g.vnode=b,g.next=null,Xg(g,b.props,R,x),av(g,b.children,x),Gt(),lc(g),Jt()},Se=(g,b,x,R,P,M,H,j,$=!1)=>{const L=g&&g.children,te=g?g.shapeFlag:0,K=b.children,{patchFlag:X,shapeFlag:se}=b;if(X>0){if(X&128){xe(L,K,x,R,P,M,H,j,$);return}else if(X&256){ue(L,K,x,R,P,M,H,j,$);return}}se&8?(te&16&&be(L,P,M),K!==L&&u(x,K)):te&16?se&16?xe(L,K,x,R,P,M,H,j,$):be(L,P,M,!0):(te&8&&u(x,""),se&16&&O(K,x,R,P,M,H,j,$))},ue=(g,b,x,R,P,M,H,j,$)=>{g=g||Fs,b=b||Fs;const L=g.length,te=b.length,K=Math.min(L,te);let X;for(X=0;X<K;X++){const se=b[X]=$?On(b[X]):_t(b[X]);p(g[X],se,x,null,P,M,H,j,$)}L>te?be(g,P,M,!0,!1,K):O(b,x,R,P,M,H,j,$,K)},xe=(g,b,x,R,P,M,H,j,$)=>{let L=0;const te=b.length;let K=g.length-1,X=te-1;for(;L<=K&&L<=X;){const se=g[L],ve=b[L]=$?On(b[L]):_t(b[L]);if(Bt(se,ve))p(se,ve,x,null,P,M,H,j,$);else break;L++}for(;L<=K&&L<=X;){const se=g[K],ve=b[X]=$?On(b[X]):_t(b[X]);if(Bt(se,ve))p(se,ve,x,null,P,M,H,j,$);else break;K--,X--}if(L>K){if(L<=X){const se=X+1,ve=se<te?b[se].el:R;for(;L<=X;)p(null,b[L]=$?On(b[L]):_t(b[L]),x,ve,P,M,H,j,$),L++}}else if(L>X)for(;L<=K;)ut(g[L],P,M,!0),L++;else{const se=L,ve=L,Ne=new Map;for(L=ve;L<=X;L++){const Ge=b[L]=$?On(b[L]):_t(b[L]);Ge.key!=null&&(process.env.NODE_ENV!=="production"&&Ne.has(Ge.key)&&I("Duplicate keys found during update:",JSON.stringify(Ge.key),"Make sure keys are unique."),Ne.set(Ge.key,L))}let ye,Fe=0;const je=X-ve+1;let it=!1,rt=0;const mn=new Array(je);for(L=0;L<je;L++)mn[L]=0;for(L=se;L<=K;L++){const Ge=g[L];if(Fe>=je){ut(Ge,P,M,!0);continue}let At;if(Ge.key!=null)At=Ne.get(Ge.key);else for(ye=ve;ye<=X;ye++)if(mn[ye-ve]===0&&Bt(Ge,b[ye])){At=ye;break}At===void 0?ut(Ge,P,M,!0):(mn[At-ve]=L+1,At>=rt?rt=At:it=!0,p(Ge,b[At],x,null,P,M,H,j,$),Fe++)}const Ts=it?uv(mn):Fs;for(ye=Ts.length-1,L=je-1;L>=0;L--){const Ge=ve+L,At=b[Ge],lr=b[Ge+1],ar=Ge+1<te?lr.el||dd(lr):R;mn[L]===0?p(null,At,x,ar,P,M,H,j,$):it&&(ye<0||L!==Ts[ye]?we(At,x,ar,2):ye--)}}},we=(g,b,x,R,P=null)=>{const{el:M,type:H,transition:j,children:$,shapeFlag:L}=g;if(L&6){we(g.component.subTree,b,x,R);return}if(L&128){g.suspense.move(b,x,R);return}if(L&64){H.move(g,b,x,st);return}if(H===Te){s(M,b,x);for(let K=0;K<$.length;K++)we($[K],b,x,R);s(g.anchor,b,x);return}if(H===Yn){E(g,b,x);return}if(R!==2&&L&1&&j)if(R===0)j.persisted&&!M[Mt]?s(M,b,x):(j.beforeEnter(M),s(M,b,x),We(()=>j.enter(M),P));else{const{leave:K,delayLeave:X,afterLeave:se}=j,ve=()=>{g.ctx.isUnmounted?i(M):s(M,b,x)},Ne=()=>{const ye=M._isLeaving||!!M[Mt];M._isLeaving&&M[Mt](!0),j.persisted&&!ye?ve():K(M,()=>{ve(),se&&se()})};X?X(M,ve,Ne):Ne()}else s(M,b,x)},ut=(g,b,x,R=!1,P=!1)=>{const{type:M,props:H,ref:j,children:$,dynamicChildren:L,shapeFlag:te,patchFlag:K,dirs:X,cacheIndex:se,memo:ve}=g;if(K===-2&&(P=!1),j!=null&&(Gt(),Ks(j,null,x,g,!0),Jt()),se!=null&&(b.renderCache[se]=void 0),te&256){b.ctx.deactivate(g);return}const Ne=te&1&&X,ye=!Tn(g);let Fe;if(ye&&(Fe=H&&H.onVnodeBeforeUnmount)&&Ot(Fe,b,g),te&6)J(g.component,x,R);else{if(te&128){g.suspense.unmount(x,R);return}Ne&&Qt(g,null,b,"beforeUnmount"),te&64?g.type.remove(g,b,x,st,R):L&&!L.hasOnce&&(M!==Te||K>0&&K&64)?be(L,b,x,!1,!0):(M===Te&&K&384||!P&&te&16)&&be($,b,x),R&&pn(g)}const je=ve!=null&&se==null;(ye&&(Fe=H&&H.onVnodeUnmounted)||Ne||je)&&We(()=>{Fe&&Ot(Fe,b,g),Ne&&Qt(g,null,b,"unmounted"),je&&(g.el=null)},x)},pn=g=>{const{type:b,el:x,anchor:R,transition:P}=g;if(b===Te){process.env.NODE_ENV!=="production"&&g.patchFlag>0&&g.patchFlag&2048&&P&&!P.persisted?g.children.forEach(H=>{H.type===Le?i(H.el):pn(H)}):V(x,R);return}if(b===Yn){y(g);return}const M=()=>{i(x),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(g.shapeFlag&1&&P&&!P.persisted){const{leave:H,delayLeave:j}=P,$=()=>H(x,M);j?j(g.el,M,$):$()}else M()},V=(g,b)=>{let x;for(;g!==b;)x=d(g),i(g),g=x;i(b)},J=(g,b,x)=>{process.env.NODE_ENV!=="production"&&g.type.__hmrId&&wm(g);const{bum:R,scope:P,job:M,subTree:H,um:j,m:$,a:L}=g;Hr($),Hr(L),R&&Wn(R),P.stop(),M&&(M.flags|=8,ut(H,g,b,x)),j&&We(j,b),We(()=>{g.isUnmounted=!0},b),process.env.NODE_ENV!=="production"&&Vm(g)},be=(g,b,x,R=!1,P=!1,M=0)=>{for(let H=M;H<g.length;H++)ut(g[H],b,x,R,P)},Qe=g=>{if(g.shapeFlag&6)return Qe(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const b=d(g.anchor||g.el),x=b&&b[Tf];return x?d(x):b};let ft=!1;const $t=(g,b,x)=>{let R;g==null?b._vnode&&(ut(b._vnode,null,null,!0),R=b._vnode.component):p(b._vnode||null,g,b,null,null,null,x),b._vnode=g,ft||(ft=!0,lc(R),Ir(),ft=!1)},st={p,um:ut,m:we,r:pn,mt:z,mc:O,pc:Se,pbc:A,n:Qe,o:e};let jt,ci;return t&&([jt,ci]=t(st)),{render:$t,hydrate:jt,createApp:Kg($t,jt)}}function zo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ud(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xi(e,t,n=!1){const s=e.children,i=t.children;if(B(s)&&B(i))for(let r=0;r<s.length;r++){const o=s[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=On(i[r]),l.el=o.el),!n&&l.patchFlag!==-2&&xi(o,l)),l.type===cn&&(l.patchFlag===-1&&(l=i[r]=On(l)),l.el=o.el),l.type===Le&&!l.el&&(l.el=o.el),process.env.NODE_ENV!=="production"&&l.el&&(l.el.__vnode=l)}}function uv(e){const t=e.slice(),n=[0];let s,i,r,o,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(i=n[n.length-1],e[i]<c){t[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)l=r+o>>1,e[n[l]]<c?r=l+1:o=l;c<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function fd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fd(t)}function Hr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function dd(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?dd(t.subTree):null}const Br=e=>e.__isSuspense;let bl=0;const fv={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,r,o,l,a,c){if(e==null)hv(t,n,s,i,r,o,l,a,c);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}pv(e,t,n,s,i,o,l,a,c)}},hydrate:mv,normalize:gv},dv=fv;function ji(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function hv(e,t,n,s,i,r,o,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=hd(e,i,s,t,f,n,r,o,l,a);c(null,d.pendingBranch=e.ssContent,f,null,s,d,r,o),d.deps>0?(ji(e,"onPending"),ji(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,r,o),Ws(d,e.ssFallback)):d.resolve(!1,!0)}function pv(e,t,n,s,i,r,o,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:p,isInFallback:S,isHydrating:N}=f;if(p)f.pendingBranch=d,Bt(p,d)?(a(p,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():S&&(N||(a(m,h,n,s,i,null,r,o,l),Ws(f,h)))):(f.pendingId=bl++,N?(f.isHydrating=!1,f.activeBranch=p):c(p,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),S?(a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():(a(m,h,n,s,i,null,r,o,l),Ws(f,h))):m&&Bt(m,d)?(a(m,d,n,s,i,f,r,o,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0&&f.resolve()));else if(m&&Bt(m,d))a(m,d,n,s,i,f,r,o,l),Ws(f,d);else if(ji(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=bl++,a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0)f.resolve();else{const{timeout:_,pendingId:v}=f;_>0?setTimeout(()=>{f.pendingId===v&&f.fallback(h)},_):_===0&&f.fallback(h)}}let Cc=!1;function hd(e,t,n,s,i,r,o,l,a,c,u=!1){process.env.NODE_ENV!=="production"&&!Cc&&(Cc=!0,console[console.info?"info":"log"]("<Suspense> is an experimental feature and its API will likely change."));const{p:f,m:d,um:h,n:m,o:{parentNode:p,remove:S}}=c;let N;const _=vv(e);_&&t&&t.pendingBranch&&(N=t.pendingId,t.deps++);const v=e.props?Tr(e.props.timeout):void 0;process.env.NODE_ENV!=="production"&&Zl(v,"Suspense timeout");const E=r,y={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:bl++,timeout:typeof v=="number"?v:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(D=!1,T=!1){if(process.env.NODE_ENV!=="production"){if(!D&&!y.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(y.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:C,activeBranch:O,pendingBranch:k,pendingId:A,effects:w,parentComponent:F,container:U,isInFallback:z}=y;let W=!1;if(y.isHydrating)y.isHydrating=!1;else if(!D){W=O&&k.transition&&k.transition.mode==="out-in";let Se=!1;W&&(O.transition.afterLeave=()=>{A===y.pendingId&&(d(k,U,r===E&&!Se?m(O):r,0),Js(w),z&&C.ssFallback&&(C.ssFallback.el=null))}),O&&!y.isFallbackMountPending&&(p(O.el)===U&&(r=m(O),Se=!0),h(O,F,y,!0),!W&&z&&C.ssFallback&&We(()=>C.ssFallback.el=null,y)),W||d(k,U,r,0)}y.isFallbackMountPending=!1,Ws(y,k),y.pendingBranch=null,y.isInFallback=!1;let Y=y.parent,G=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...w),G=!0;break}Y=Y.parent}!G&&!W&&Js(w),y.effects=[],_&&t&&t.pendingBranch&&N===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),ji(C,"onResolve")},fallback(D){if(!y.pendingBranch)return;const{vnode:T,activeBranch:C,parentComponent:O,container:k,namespace:A}=y;ji(T,"onFallback");const w=m(C),F=()=>{y.isFallbackMountPending=!1,y.isInFallback&&(f(null,D,k,w,O,null,A,l,a),Ws(y,D))},U=D.transition&&D.transition.mode==="out-in";U&&(y.isFallbackMountPending=!0,C.transition.afterLeave=F),y.isInFallback=!0,h(C,O,null,!0),U||F()},move(D,T,C){y.activeBranch&&d(y.activeBranch,D,T,C),y.container=D},next(){return y.activeBranch&&m(y.activeBranch)},registerDep(D,T,C){const O=!!y.pendingBranch;O&&y.deps++;const k=D.vnode.el;D.asyncDep.catch(A=>{ss(A,D,0)}).then(A=>{if(D.isUnmounted||y.isUnmounted||y.pendingId!==D.suspenseId)return;Bi(),D.asyncResolved=!0;const{vnode:w}=D;process.env.NODE_ENV!=="production"&&$s(w),Ol(D,A,!1),k&&(w.el=k);const F=!k&&D.subTree.el;T(D,w,p(k||D.subTree.el),k?null:m(D.subTree),y,o,C),F&&(w.placeholder=null,S(F)),Co(D,w.el),process.env.NODE_ENV!=="production"&&js(),O&&--y.deps===0&&y.resolve()})},unmount(D,T){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,D,T),y.pendingBranch&&h(y.pendingBranch,n,D,T)}};return y}function mv(e,t,n,s,i,r,o,l,a){const c=t.suspense=hd(t,s,n,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function gv(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Dc(s?n.default:n),e.ssFallback=s?Dc(n.fallback):_e(Le)}function Dc(e){let t;if(Q(e)){const n=bs&&e._c;n&&(e._d=!1,fe()),e=e(),n&&(e._d=!0,t=mt,Do())}if(B(e)){const n=wo(e);process.env.NODE_ENV!=="production"&&!n&&e.filter(s=>s!==la).length>0&&I("<Suspense> slots expect a single root node."),e=n}return e=_t(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function pd(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Js(e)}function Ws(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,Co(s,i))}function vv(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Te=Symbol.for("v-fgt"),cn=Symbol.for("v-txt"),Le=Symbol.for("v-cmt"),Yn=Symbol.for("v-stc"),kn=[];let mt=null;function fe(e=!1){kn.push(mt=e?null:[])}function Do(){kn.pop(),mt=kn[kn.length-1]||null}let bs=1;function Hi(e,t=!1){bs+=e,e<0&&mt&&t&&(mt.hasOnce=!0)}function md(e){return e.dynamicChildren=bs>0?mt||Fs:null,Do(),bs>0&&mt&&mt.push(e),e}function ke(e,t,n,s,i,r){return md(le(e,t,n,s,i,r,!0))}function zt(e,t,n,s,i){return md(_e(e,t,n,s,i,!0))}function dn(e){return e?e.__v_isVNode===!0:!1}function Bt(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=br.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}let Nl;function yv(e){Nl=e}const Ev=(...e)=>vd(...Nl?Nl(e,Ke):e),gd=({key:e})=>e??null,Sr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ee(e)||Re(e)||Q(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function le(e,t=null,n=null,s=0,i=null,r=e===Te?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gd(t),ref:t&&Sr(t),scopeId:_o,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ke};return l?(Kr(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=ee(n)?8:16),process.env.NODE_ENV!=="production"&&a.key!==a.key&&I("VNode created with invalid key (NaN). VNode type:",a.type),bs>0&&!o&&mt&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&mt.push(a),a}const _e=process.env.NODE_ENV!=="production"?Ev:vd;function vd(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===la)&&(process.env.NODE_ENV!=="production"&&!e&&I(`Invalid vnode type when creating vnode: ${e}.`),e=Le),dn(e)){const l=Ft(e,t,!0);return n&&Kr(l,n),bs>0&&!r&&mt&&(l.shapeFlag&6?mt[mt.indexOf(e)]=l:mt.push(l)),l.patchFlag=-2,l}if(Cd(e)&&(e=e.__vccOpts),t){t=yd(t);let{class:l,style:a}=t;l&&!ee(l)&&(t.class=Ve(l)),de(a)&&(Es(a)&&!B(a)&&(a=ie({},a)),t.style=Xe(a))}const o=ee(e)?1:Br(e)?128:kf(e)?64:de(e)?4:Q(e)?2:0;return process.env.NODE_ENV!=="production"&&o&4&&Es(e)&&(e=re(e),I("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
24
|
+
Component that was made reactive: `,e)),le(e,t,n,s,i,o,r,!0)}function yd(e){return e?Es(e)||td(e)?ie({},e):e:null}function Ft(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=e,c=t?nn(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&gd(c),ref:t&&t.ref?n&&r?B(r)?r.concat(Sr(t)):[r,Sr(t)]:Sr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&o===-1&&B(l)?l.map(Ed):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ft(e.ssContent),ssFallback:e.ssFallback&&Ft(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&Mn(u,a.clone(u)),u}function Ed(e){const t=Ft(e);return B(e.children)&&(t.children=e.children.map(Ed)),t}function Ns(e=" ",t=0){return _e(cn,null,e,t)}function _v(e,t){const n=_e(Yn,null,e);return n.staticCount=t,n}function un(e="",t=!1){return t?(fe(),zt(Le,null,e)):_e(Le,null,e)}function _t(e){return e==null||typeof e=="boolean"?_e(Le):B(e)?_e(Te,null,e.slice()):dn(e)?On(e):_e(cn,null,String(e))}function On(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ft(e)}function Kr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Kr(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!td(t)?t._ctx=Ke:i===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Q(t)){if(s&65){Kr(e,{default:t});return}t={default:t,_ctx:Ke},n=32}else t=String(t),s&64?(n=16,t=[Ns(t)]):n=8;e.children=t,e.shapeFlag|=n}function nn(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=Ve([t.class,s.class]));else if(i==="style")t.style=Xe([t.style,s.style]);else if(An(i)){const r=t[i],o=s[i];o&&r!==o&&!(B(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!Ai(i)&&(t[i]=o)}else i!==""&&(t[i]=s[i])}return t}function Ot(e,t,n,s=null){kt(e,t,7,[n,s])}const bv=Gf();let Nv=0;function _d(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||bv,r={uid:Nv++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Wl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:sd(s,i),emitsOptions:Zf(s,i),emit:null,emitted:null,propsDefaults:ce,inheritAttrs:s.inheritAttrs,ctx:ce,data:ce,props:ce,attrs:ce,slots:ce,refs:ce,setupState:ce,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return process.env.NODE_ENV!=="production"?r.ctx=bg(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Wg.bind(null,r),e.ce&&e.ce(r),r}let Be=null;const ze=()=>Be||Ke;let Ur,zs;{const e=Yi(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Ur=t("__VUE_INSTANCE_SETTERS__",n=>Be=n),zs=t("__VUE_SSR_SETTERS__",n=>Ss=n)}const ai=e=>{const t=Be;return Ur(e),e.scope.on(),()=>{e.scope.off(),Ur(t)}},Bi=()=>{Be&&Be.scope.off(),Ur(null)},Sv=nt("slot,component");function Sl(e,{isNativeTag:t}){(Sv(e)||t(e))&&I("Do not use built-in or reserved HTML elements as component id: "+e)}function bd(e){return e.vnode.shapeFlag&4}let Ss=!1;function Nd(e,t=!1,n=!1){t&&zs(t);const{props:s,children:i}=e.vnode,r=bd(e);Zg(e,s,r,t),lv(e,i,n||t);const o=r?Ov(e,t):void 0;return t&&zs(!1),o}function Ov(e,t){const n=e.type;if(process.env.NODE_ENV!=="production"){if(n.name&&Sl(n.name,e.appContext.config),n.components){const i=Object.keys(n.components);for(let r=0;r<i.length;r++)Sl(i[r],e.appContext.config)}if(n.directives){const i=Object.keys(n.directives);for(let r=0;r<i.length;r++)Of(i[r])}n.compilerOptions&&pa()&&I('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Di),process.env.NODE_ENV!=="production"&&Ng(e);const{setup:s}=n;if(s){Gt();const i=e.setupContext=s.length>1?wd(e):null,r=ai(e),o=Cs(s,e,0,[process.env.NODE_ENV!=="production"?Kt(e.props):e.props,i]),l=lo(o);if(Jt(),r(),(l||e.sp)&&!Tn(e)&&sa(e),l){if(o.then(Bi,Bi),t)return o.then(a=>{Ol(e,a,t)}).catch(a=>{ss(a,e,0)});if(e.asyncDep=o,process.env.NODE_ENV!=="production"&&!e.suspense){const a=nr(e,n);I(`Component <${a}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Ol(e,o,t)}else Od(e,t)}function Ol(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)?(process.env.NODE_ENV!=="production"&&dn(t)&&I("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Jl(t),process.env.NODE_ENV!=="production"&&Sg(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&I(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Od(e,n)}let Ti,wl;function Sd(e){Ti=e,wl=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,_g))}}const pa=()=>!Ti;function Od(e,t,n){const s=e.type;if(!e.render){if(!t&&Ti&&!s.render){const i=s.template||fa(e).template;if(i){process.env.NODE_ENV!=="production"&&En(e,"compile");const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=ie(ie({isCustomElement:r,delimiters:l},o),a);s.render=Ti(i,c),process.env.NODE_ENV!=="production"&&_n(e,"compile")}}e.render=s.render||Pe,wl&&wl(e)}{const i=ai(e);Gt();try{Rg(e)}finally{Jt(),i()}}process.env.NODE_ENV!=="production"&&!s.render&&e.render===Pe&&!t&&(!Ti&&s.template?I('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):I("Component is missing template or render function: ",s))}const xc=process.env.NODE_ENV!=="production"?{get(e,t){return $r(),Ze(e,"get",""),e[t]},set(){return I("setupContext.attrs is readonly."),!1},deleteProperty(){return I("setupContext.attrs is readonly."),!1}}:{get(e,t){return Ze(e,"get",""),e[t]}};function wv(e){return new Proxy(e.slots,{get(t,n){return Ze(e,"get","$slots"),t[n]}})}function wd(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&I("expose() should be called only once per setup()."),n!=null)){let s=typeof n;s==="object"&&(B(n)?s="array":Re(n)&&(s="ref")),s!=="object"&&I(`expose() should be passed a plain object, received ${s}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,s;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,xc))},get slots(){return s||(s=wv(e))},get emit(){return(i,...r)=>e.emit(i,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,xc),slots:e.slots,emit:e.emit,expose:t}}function tr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Jl(ff(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in gs)return gs[n](e)},has(t,n){return n in t||n in gs}})):e.proxy}const Cv=/(?:^|[-_])\w/g,Dv=e=>e.replace(Cv,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ys(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function nr(e,t,n=!1){let s=Ys(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};s=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return s?Dv(s):n?"App":"Anonymous"}function Cd(e){return Q(e)&&"__vccOpts"in e}const oe=(e,t)=>{const n=fm(e,t,Ss);if(process.env.NODE_ENV!=="production"){const s=ze();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function ma(e,t,n){try{Hi(-1);const s=arguments.length;return s===2?de(t)&&!B(t)?dn(t)?_e(e,null,[t]):_e(e,t):_e(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&dn(n)&&(n=[n]),_e(e,t,n))}finally{Hi(1)}}function Dd(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},i={__vue_custom_formatter:!0,header(f){if(!de(f))return null;if(f.__isVue)return["div",e,"VueInstance"];if(Re(f)){Gt();const d=f.value;return Jt(),["div",{},["span",e,u(f)],"<",l(d),">"]}else{if(an(f))return["div",{},["span",e,at(f)?"ShallowReactive":"Reactive"],"<",l(f),`>${Rt(f)?" (readonly)":""}`];if(Rt(f))return["div",{},["span",e,at(f)?"ShallowReadonly":"Readonly"],"<",l(f),">"]}return null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...r(f.$)]}};function r(f){const d=[];f.type.props&&f.props&&d.push(o("props",re(f.props))),f.setupState!==ce&&d.push(o("setup",f.setupState)),f.data!==ce&&d.push(o("data",re(f.data)));const h=a(f,"computed");h&&d.push(o("computed",h));const m=a(f,"inject");return m&&d.push(o("injected",m)),d.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function o(f,d){return d=ie({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",s,h+": "],l(d[h],!1)])]]:["span",{}]}function l(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",s,f]:de(f)?["object",{object:d?re(f):f}]:["span",n,String(f)]}function a(f,d){const h=f.type;if(Q(h))return;const m={};for(const p in f.ctx)c(h,p,d)&&(m[p]=f.ctx[p]);return m}function c(f,d,h){const m=f[h];if(B(m)&&m.includes(d)||de(m)&&d in m||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(p=>c(p,d,h)))return!0}function u(f){return at(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}function xv(e,t,n,s){const i=n[s];if(i&&xd(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function xd(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(tt(n[s],t[s]))return!1;return bs>0&&mt&&mt.push(e),!0}const Cl="3.5.40",$e=process.env.NODE_ENV!=="production"?I:Pe,Tv=yo,kv=(process.env.NODE_ENV,Ht),Vv=(process.env.NODE_ENV,Xl),Av={createComponentInstance:_d,setupComponent:Nd,renderComponentRoot:Nr,setCurrentRenderingInstance:Fi,isVNode:dn,normalizeVNode:_t,getComponentPublicInstance:tr,ensureValidVNode:ca,pushWarningContext:$s,popWarningContext:js},Iv=Av,Mv=null,Pv=null,Lv=null;let Dl;const Tc=typeof window<"u"&&window.trustedTypes;if(Tc)try{Dl=Tc.createPolicy("vue",{createHTML:e=>e})}catch(e){process.env.NODE_ENV!=="production"&&$e(`Error creating trusted types policy: ${e}`)}const Td=Dl?e=>Dl.createHTML(e):e=>e,Rv="http://www.w3.org/2000/svg",Fv="http://www.w3.org/1998/Math/MathML",Nn=typeof document<"u"?document:null,kc=Nn&&Nn.createElement("template"),kd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?Nn.createElementNS(Rv,e):t==="mathml"?Nn.createElementNS(Fv,e):n?Nn.createElement(e,{is:n}):Nn.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Nn.createTextNode(e),createComment:e=>Nn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Nn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{kc.innerHTML=Td(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=kc.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rn="transition",hi="animation",Xs=Symbol("_vtc"),Vd={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ad=ie({},na,Vd),$v=e=>(e.displayName="Transition",e.props=Ad,e),ga=$v((e,{slots:t})=>ma(If,Id(e),t)),os=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Vc=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Id(e){const t={};for(const w in e)w in Vd||(t[w]=e[w]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=jv(i),p=m&&m[0],S=m&&m[1],{onBeforeEnter:N,onEnter:_,onEnterCancelled:v,onLeave:E,onLeaveCancelled:y,onBeforeAppear:D=N,onAppear:T=_,onAppearCancelled:C=v}=t,O=(w,F,U,z)=>{w._enterCancelled=z,Hn(w,F?u:l),Hn(w,F?c:o),U&&U()},k=(w,F)=>{w._isLeaving=!1,Hn(w,f),Hn(w,h),Hn(w,d),F&&F()},A=w=>(F,U)=>{const z=w?T:_,W=()=>O(F,w,U);os(z,[F,W]),Ac(()=>{Hn(F,w?a:r),Yt(F,w?u:l),Vc(z)||Ic(F,s,p,W)})};return ie(t,{onBeforeEnter(w){os(N,[w]),Yt(w,r),Yt(w,o)},onBeforeAppear(w){os(D,[w]),Yt(w,a),Yt(w,c)},onEnter:A(!1),onAppear:A(!0),onLeave(w,F){w._isLeaving=!0;const U=()=>k(w,F);Yt(w,f),w._enterCancelled?(Yt(w,d),xl(w)):(xl(w),Yt(w,d)),Ac(()=>{w._isLeaving&&(Hn(w,f),Yt(w,h),Vc(E)||Ic(w,s,S,U))}),os(E,[w,U])},onEnterCancelled(w){O(w,!1,void 0,!0),os(v,[w])},onAppearCancelled(w){O(w,!0,void 0,!0),os(C,[w])},onLeaveCancelled(w){k(w),os(y,[w])}})}function jv(e){if(e==null)return null;if(de(e))return[qo(e.enter),qo(e.leave)];{const t=qo(e);return[t,t]}}function qo(e){const t=Tr(e);return process.env.NODE_ENV!=="production"&&Zl(t,"<transition> explicit duration"),t}function Yt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Xs]||(e[Xs]=new Set)).add(t)}function Hn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Xs];n&&(n.delete(t),n.size||(e[Xs]=void 0))}function Ac(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hv=0;function Ic(e,t,n,s){const i=e._endId=++Hv,r=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:l,propCount:a}=Md(e,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,d),r()},d=h=>{h.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},l+1),e.addEventListener(c,d)}function Md(e,t){const n=window.getComputedStyle(e),s=m=>(n[m]||"").split(", "),i=s(`${Rn}Delay`),r=s(`${Rn}Duration`),o=Mc(i,r),l=s(`${hi}Delay`),a=s(`${hi}Duration`),c=Mc(l,a);let u=null,f=0,d=0;t===Rn?o>0&&(u=Rn,f=o,d=r.length):t===hi?c>0&&(u=hi,f=c,d=a.length):(f=Math.max(o,c),u=f>0?o>c?Rn:hi:null,d=u?u===Rn?r.length:a.length:0);const h=u===Rn&&/\b(?:transform|all)(?:,|$)/.test(s(`${Rn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Mc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Pc(n)+Pc(e[s])))}function Pc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function xl(e){return(e?e.ownerDocument:document).body.offsetHeight}function Bv(e,t,n){const s=e[Xs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Wr=Symbol("_vod"),va=Symbol("_vsh"),Xn={name:"show",beforeMount(e,{value:t},{transition:n}){e[Wr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):pi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),pi(e,!0),s.enter(e)):s.leave(e,()=>{pi(e,!1)}):pi(e,t))},beforeUnmount(e,{value:t}){pi(e,t)}};function pi(e,t){e.style.display=t?e[Wr]:"none",e[va]=!t}function Kv(){Xn.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Pd=Symbol(process.env.NODE_ENV!=="production"?"CSS_VAR_TEXT":"");function Uv(e){const t=ze();if(!t){process.env.NODE_ENV!=="production"&&$e("useCssVars is called without current active component instance.");return}const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>zr(r,i))};process.env.NODE_ENV!=="production"&&(t.getCssVars=()=>e(t.proxy));const s=()=>{const i=e(t.proxy);t.ce?zr(t.ce,i):Tl(t.subTree,i),n(i)};oa(()=>{Js(s)}),hn(()=>{pt(s,Pe,{flush:"post"});const i=new MutationObserver(s);i.observe(t.subTree.el.parentNode,{childList:!0}),er(()=>i.disconnect())})}function Tl(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Tl(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)zr(e.el,t);else if(e.type===Te)e.children.forEach(n=>Tl(n,t));else if(e.type===Yn){let{el:n,anchor:s}=e;for(;n&&(zr(n,t),n!==s);)n=n.nextSibling}}function zr(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const i in t){const r=Wu(t[i]);n.setProperty(`--${i}`,r),s+=`--${i}: ${r};`}n[Pd]=s}}const Wv=/(?:^|;)\s*display\s*:/;function zv(e,t,n){const s=e.style,i=ee(n);let r=!1;if(n&&!i){if(t)if(ee(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&bi(s,l,"")}else for(const o in t)n[o]==null&&bi(s,o,"");for(const o in n){o==="display"&&(r=!0);const l=n[o];l!=null?Jv(e,o,!ee(t)&&t?t[o]:void 0,l)||bi(s,o,l):bi(s,o,"")}}else if(i){if(t!==n){const o=s[Pd];o&&(n+=";"+o),s.cssText=n,r=Wv.test(n)}}else t&&e.removeAttribute("style");Wr in e&&(e[Wr]=r?s.display:"",e[va]&&(s.display="none"))}const qv=/[^\\];\s*$/,Lc=/\s*!important$/;function bi(e,t,n){if(B(n))n.forEach(s=>bi(e,t,s));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&qv.test(n)&&$e(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=Gv(e,t);Lc.test(n)?e.setProperty(ht(s),n.replace(Lc,""),"important"):e[s]=n}}const Rc=["Webkit","Moz","ms"],Go={};function Gv(e,t){const n=Go[t];if(n)return n;let s=Oe(t);if(s!=="filter"&&s in e)return Go[t]=s;s=fn(s);for(let i=0;i<Rc.length;i++){const r=Rc[i]+s;if(r in e)return Go[t]=r}return t}function Jv(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ee(s)&&n===s}const Fc="http://www.w3.org/1999/xlink";function $c(e,t,n,s,i,r=Tp(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Fc,t.slice(6,t.length)):e.setAttributeNS(Fc,t,n):n==null||r&&!Ul(n)?e.removeAttribute(t):e.setAttribute(t,r?"":ct(n)?String(n):n)}function jc(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Td(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ul(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch(l){process.env.NODE_ENV!=="production"&&!o&&$e(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${n} is invalid.`,l)}o&&e.removeAttribute(i||t)}function Dn(e,t,n,s){e.addEventListener(t,n,s)}function Zv(e,t,n,s){e.removeEventListener(t,n,s)}const Hc=Symbol("_vei");function Yv(e,t,n,s,i=null){const r=e[Hc]||(e[Hc]={}),o=r[t];if(s&&o)o.value=process.env.NODE_ENV!=="production"?Bc(s,t):s;else{const[l,a]=ey(t);if(s){const c=r[t]=sy(process.env.NODE_ENV!=="production"?Bc(s,t):s,i);Dn(e,l,c,a)}else o&&(Zv(e,l,o,a),r[t]=void 0)}}const Xv=/(Once|Passive|Capture)$/,Qv=/^on:?(?:Once|Passive|Capture)$/;function ey(e){let t,n;for(;(n=e.match(Xv))&&!Qv.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):ht(e.slice(2)),t]}let Jo=0;const ty=Promise.resolve(),ny=()=>Jo||(ty.then(()=>Jo=0),Jo=Date.now());function sy(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const i=n.value;if(B(i)){const r=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{r.call(s),s._stopped=!0};const o=i.slice(),l=[s];for(let a=0;a<o.length&&!s._stopped;a++){const c=o[a];c&&kt(c,t,5,l)}}else kt(i,t,5,[s])};return n.value=e,n.attached=ny(),n}function Bc(e,t){return Q(e)||B(e)?e:($e(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
25
|
+
Expected function or array of functions, received type ${typeof e}.`),Pe)}const Kc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ld=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?Bv(e,s,o):t==="style"?zv(e,n,s):An(t)?Ai(t)||Yv(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):iy(e,t,s,o))?(jc(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&$c(e,t,s,o,r,t!=="value")):e._isVueCE&&(ry(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ee(s)))?jc(e,Oe(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),$c(e,t,s,o))};function iy(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Kc(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Kc(t)&&ee(n)?!1:t in e}function ry(e,t){const n=e._def.props;if(!n)return!1;const s=Oe(t);return Array.isArray(n)?n.some(i=>Oe(i)===s):Object.keys(n).some(i=>Oe(i)===s)}const Uc={};function xo(e,t,n){let s=vt(e,t);ao(s)&&(s=ie({},s,t));class i extends To{constructor(o){super(s,o,n)}}return i.def=s,i}const oy=((e,t)=>xo(e,t,Jd)),ly=typeof HTMLElement<"u"?HTMLElement:class{};class To extends ly{constructor(t,n={},s=Gr){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&s!==Gr?this._root=this.shadowRoot:(process.env.NODE_ENV!=="production"&&this.shadowRoot&&$e("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow(ie({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof To){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,ts(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(s,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=s;let l;if(r&&!B(r))for(const a in r){const c=r[a];(c===Number||c&&c.type===Number)&&(a in this._props&&(this._props[a]=Tr(this._props[a])),(l||(l=Object.create(null)))[Oe(a)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot?this._applyStyles(o):process.env.NODE_ENV!=="production"&&o&&$e("Custom element style injection is not supported when using shadowRoot: false"),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}):t(this._def)}_mount(t){process.env.NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)Ee(this,s)?process.env.NODE_ENV!=="production"&&$e(`Exposed property "${s}" already exists on custom element.`):Object.defineProperty(this,s,{get:()=>Z(n[s])})}_resolveProps(t){const{props:n}=t,s=B(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(Oe))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):Uc;const i=Oe(t);n&&this._numberProps&&this._numberProps[i]&&(s=Tr(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===Uc?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),n===!0?this.setAttribute(ht(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ht(t),n+""):n||this.removeAttribute(ht(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Gd(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=_e(this._def,ie(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0,process.env.NODE_ENV!=="production"&&(s.ceReload=r=>{this._styles&&(this._styles.forEach(o=>this._root.removeChild(o)),this._styles.length=0),this._styleAnchors.delete(this._def),this._applyStyles(r),this._instance=null,this._update()});const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,ao(o[0])?ie({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),ht(r)!==r&&i(ht(r),o)},this._setParent()}),n}_applyStyles(t,n,s){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const i=this._nonce,r=this.shadowRoot,o=s?this._getStyleAnchor(s)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let l=null;for(let a=t.length-1;a>=0;a--){const c=document.createElement("style");if(i&&c.setAttribute("nonce",i),c.textContent=t[a],r.insertBefore(c,l||o),l=c,a===0&&(s||this._styleAnchors.set(this._def,c),n&&this._styleAnchors.set(n,c)),process.env.NODE_ENV!=="production")if(n){if(n.__hmrId){this._childStyles||(this._childStyles=new Map);let u=this._childStyles.get(n.__hmrId);u||this._childStyles.set(n.__hmrId,u=[]),u.push(c)}}else(this._styles||(this._styles=[])).push(c)}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;n<t.childNodes.length;n++){const s=t.childNodes[n];if(!(s instanceof HTMLStyleElement))return s}return null}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const i=t[s],r=i.getAttribute("name")||"default",o=this._slots[r],l=i.parentNode;if(o)for(const a of o){if(n&&a.nodeType===1){const c=n+"-s",u=document.createTreeWalker(a,1);a.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}l.insertBefore(a,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const s of t){const i=s.querySelectorAll("slot");for(let r=0;r<i.length;r++)n.add(i[r])}return Array.from(n)}_injectChildStyle(t,n){this._applyStyles(t.styles,t,n)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){if(process.env.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._styleAnchors.delete(t),this._childStyles&&t.__hmrId)){const n=this._childStyles.get(t.__hmrId);n&&(n.forEach(s=>this._root.removeChild(s)),n.length=0)}}}function kl(e){const t=ze(),n=t&&t.ce;return n||(process.env.NODE_ENV!=="production"&&$e(t?`${e||"useHost"} can only be used in components defined via defineCustomElement.`:`${e||"useHost"} called without an active component instance.`),null)}function ay(){const e=process.env.NODE_ENV!=="production"?kl("useShadowRoot"):kl();return e&&e.shadowRoot}function cy(e="$style"){{const t=ze();if(!t)return process.env.NODE_ENV!=="production"&&$e("useCssModule must be called inside setup()"),ce;const n=t.type.__cssModules;if(!n)return process.env.NODE_ENV!=="production"&&$e("Current instance does not have CSS modules injected."),ce;const s=n[e];return s||(process.env.NODE_ENV!=="production"&&$e(`Current instance does not have CSS module named "${e}".`),ce)}}const Rd=new WeakMap,Fd=new WeakMap,qr=Symbol("_moveCb"),Wc=Symbol("_enterCb"),uy=e=>(delete e.props.mode,e),fy=uy({name:"TransitionGroup",props:ie({},Ad,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ze(),s=ta();let i,r;return So(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!gy(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(hy),i.forEach(py);const l=i.filter(my);xl(n.vnode.el),l.forEach(a=>{const c=a.el,u=c.style;Yt(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[qr]=d=>{d&&d.target!==c||(!d||d.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[qr]=null,Hn(c,o))};c.addEventListener("transitionend",f)}),i=[]}),()=>{const o=re(e),l=Id(o);let a=o.tag||Te;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&!u.el[va]&&(i.push(u),Mn(u,Zs(u,l,s,n)),Rd.set(u,$d(u.el)))}r=t.default?bo(t.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null?Mn(u,Zs(u,l,s,n)):process.env.NODE_ENV!=="production"&&u.type!==cn&&$e("<TransitionGroup> children must be keyed.")}return _e(a,null,r)}}}),dy=fy;function hy(e){const t=e.el;t[qr]&&t[qr](),t[Wc]&&t[Wc]()}function py(e){Fd.set(e,$d(e.el))}function my(e){const t=Rd.get(e),n=Fd.get(e),s=t.left-n.left,i=t.top-n.top;if(s||i){const r=e.el,o=r.style,l=r.getBoundingClientRect();let a=1,c=1;return r.offsetWidth&&(a=l.width/r.offsetWidth),r.offsetHeight&&(c=l.height/r.offsetHeight),(!Number.isFinite(a)||a===0)&&(a=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(a-1)<.01&&(a=1),Math.abs(c-1)<.01&&(c=1),o.transform=o.webkitTransform=`translate(${s/a}px,${i/c}px)`,o.transitionDuration="0s",e}}function $d(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function gy(e,t,n){const s=e.cloneNode(),i=e[Xs];i&&i.forEach(l=>{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=Md(s);return r.removeChild(s),o}const ns=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>Wn(t,n):t};function vy(e){e.target.composing=!0}function zc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Lt=Symbol("_assign");function qc(e,t,n){return t&&(e=e.trim()),n&&(e=fo(e)),e}const Ki={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Lt]=ns(i);const r=s||i.props&&i.props.type==="number";Dn(e,t?"change":"input",o=>{o.target.composing||e[Lt](qc(e.value,n,r))}),(n||r)&&Dn(e,"change",()=>{e.value=qc(e.value,n,r)}),t||(Dn(e,"compositionstart",vy),Dn(e,"compositionend",zc),Dn(e,"change",zc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[Lt]=ns(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?fo(e.value):e.value,a=t??"";if(l===a)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===a)||(e.value=a)}},ya={deep:!0,created(e,t,n){e[Lt]=ns(n),Dn(e,"change",()=>{const s=e._modelValue,i=Qs(e),r=e.checked,o=e[Lt];if(B(s)){const l=ho(s,i),a=l!==-1;if(r&&!a)o(s.concat(i));else if(!r&&a){const c=[...s];c.splice(l,1),o(c)}}else if(ws(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(Hd(e,r))})},mounted:Gc,beforeUpdate(e,t,n){e[Lt]=ns(n),Gc(e,t,n)}};function Gc(e,{value:t,oldValue:n},s){e._modelValue=t;let i;if(B(t))i=ho(t,s.props.value)>-1;else if(ws(t))i=t.has(s.props.value);else{if(t===n)return;i=In(t,Hd(e,!0))}e.checked!==i&&(e.checked=i)}const Ea={created(e,{value:t},n){e.checked=In(t,n.props.value),e[Lt]=ns(n),Dn(e,"change",()=>{e[Lt](Qs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Lt]=ns(s),t!==n&&(e.checked=In(t,s.props.value))}},jd={deep:!0,created(e,{value:t,modifiers:{number:n}},s){e._modelValue=t,Dn(e,"change",()=>{const i=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?fo(Qs(r)):Qs(r));e[Lt](e.multiple?ws(e._modelValue)?new Set(i):i:i[0]),e._assigning=!0,ts(()=>{e._assigning=!1})}),e[Lt]=ns(s)},mounted(e,{value:t}){Jc(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Lt]=ns(n)},updated(e,{value:t}){e._assigning||Jc(e,t)}};function Jc(e,t){const n=e.multiple,s=B(t);if(n&&!s&&!ws(t)){process.env.NODE_ENV!=="production"&&$e(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let i=0,r=e.options.length;i<r;i++){const o=e.options[i],l=Qs(o);if(n)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(c=>String(c)===String(l)):o.selected=ho(t,l)>-1}else o.selected=t.has(l);else if(In(Qs(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function Qs(e){return"_value"in e?e._value:e.value}function Hd(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Bd={created(e,t,n){vr(e,t,n,null,"created")},mounted(e,t,n){vr(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){vr(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){vr(e,t,n,s,"updated")}};function Kd(e,t){switch(e){case"SELECT":return jd;case"TEXTAREA":return Ki;default:switch(t){case"checkbox":return ya;case"radio":return Ea;default:return Ki}}}function vr(e,t,n,s,i){const o=Kd(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}function yy(){Ki.getSSRProps=({value:e})=>({value:e}),Ea.getSSRProps=({value:e},t)=>{if(t.props&&In(t.props.value,e))return{checked:!0}},ya.getSSRProps=({value:e},t)=>{if(B(e)){if(t.props&&ho(e,t.props.value)>-1)return{checked:!0}}else if(ws(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Bd.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Kd(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Ey=["ctrl","shift","alt","meta"],_y={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ey.some(n=>e[`${n}Key`]&&!t.includes(n))},Ud=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((i,...r)=>{for(let o=0;o<t.length;o++){const l=_y[t[o]];if(l&&l(i,t))return}return e(i,...r)}))},by={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ny=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(i=>{if(!("key"in i))return;const r=ht(i.key);if(t.some(o=>o===r||by[o]===r))return e(i)}))},Wd=ie({patchProp:Ld},kd);let ki,Zc=!1;function zd(){return ki||(ki=ld(Wd))}function qd(){return ki=Zc?ki:ad(Wd),Zc=!0,ki}const Gd=((...e)=>{zd().render(...e)}),Sy=((...e)=>{qd().hydrate(...e)}),Gr=((...e)=>{const t=zd().createApp(...e);process.env.NODE_ENV!=="production"&&(Yd(t),Xd(t));const{mount:n}=t;return t.mount=s=>{const i=Qd(s);if(!i)return;const r=t._component;!Q(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Zd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}),Jd=((...e)=>{const t=qd().createApp(...e);process.env.NODE_ENV!=="production"&&(Yd(t),Xd(t));const{mount:n}=t;return t.mount=s=>{const i=Qd(s);if(i)return n(i,!0,Zd(i))},t});function Zd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Yd(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>$u(t)||ju(t)||Hu(t),writable:!1})}function Xd(e){if(pa()){const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){$e("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,s='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return $e(s),n},set(){$e(s)}})}}function Qd(e){if(ee(e)){const t=document.querySelector(e);return process.env.NODE_ENV!=="production"&&!t&&$e(`Failed to mount app: mount target selector "${e}" returned null.`),t}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&$e('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}let Yc=!1;const Oy=()=>{Yc||(Yc=!0,yy(),Kv())},wy=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:If,BaseTransitionPropsValidators:na,Comment:Le,DeprecationTypes:Lv,EffectScope:Wl,ErrorCodes:_m,ErrorTypeStrings:Tv,Fragment:Te,KeepAlive:pg,ReactiveEffect:Ii,Static:Yn,Suspense:dv,Teleport:Wm,Text:cn,TrackOpTypes:dm,Transition:ga,TransitionGroup:dy,TriggerOpTypes:hm,VueElement:To,assertNumber:Zl,callWithAsyncErrorHandling:kt,callWithErrorHandling:Cs,camelize:Oe,capitalize:fn,cloneVNode:Ft,compatUtils:Pv,computed:oe,createApp:Gr,createBlock:zt,createCommentVNode:un,createElementBlock:ke,createElementVNode:le,createHydrationRenderer:ad,createPropsRestProxy:Mg,createRenderer:ld,createSSRApp:Jd,createSlots:Eg,createStaticVNode:_v,createTextVNode:Ns,createVNode:_e,customRef:hf,defineAsyncComponent:dg,defineComponent:vt,defineCustomElement:xo,defineEmits:wg,defineExpose:Cg,defineModel:Tg,defineOptions:Dg,defineProps:Og,defineSSRCustomElement:oy,defineSlots:xg,devtools:kv,effect:Fp,effectScope:Lp,getCurrentInstance:ze,getCurrentScope:zu,getCurrentWatcher:pm,getTransitionRawChildren:bo,guardReactiveProps:yd,h:ma,handleError:ss,hasInjectionContext:Fm,hydrate:Sy,hydrateOnIdle:og,hydrateOnInteraction:ug,hydrateOnMediaQuery:cg,hydrateOnVisible:ag,initCustomFormatter:Dd,initDirectivesForSSR:Oy,inject:Bs,isMemoSame:xd,isProxy:Es,isReactive:an,isReadonly:Rt,isRef:Re,isRuntimeOnly:pa,isShallow:at,isVNode:dn,markRaw:ff,mergeDefaults:zf,mergeModels:Ig,mergeProps:nn,nextTick:ts,nodeOps:kd,normalizeClass:Ve,normalizeProps:Sp,normalizeStyle:Xe,onActivated:Rf,onBeforeMount:ra,onBeforeUnmount:Ds,onBeforeUpdate:oa,onDeactivated:Ff,onErrorCaptured:Kf,onMounted:hn,onRenderTracked:Bf,onRenderTriggered:Hf,onScopeDispose:qu,onServerPrefetch:jf,onUnmounted:er,onUpdated:So,onWatcherCleanup:gf,openBlock:fe,patchProp:Ld,popScopeId:Lm,provide:ea,proxyRefs:Jl,pushScopeId:Pm,queuePostFlushCb:Js,reactive:oi,readonly:Li,ref:ne,registerRuntimeCompiler:Sd,render:Gd,renderList:ms,renderSlot:zn,resolveComponent:vg,resolveDirective:yg,resolveDynamicComponent:Uf,resolveFilter:Mv,resolveTransitionHooks:Zs,setBlockTracking:Hi,setDevtoolsHook:Vv,setTransitionHooks:Mn,shallowReactive:uf,shallowReadonly:Kt,shallowRef:Gn,ssrContextKey:wf,ssrUtils:Iv,stop:$p,toDisplayString:on,toHandlerKey:en,toHandlers:Us,toRaw:re,toRef:cm,toRefs:pf,toValue:im,transformVNodeArgs:yv,triggerRef:al,unref:Z,useAttrs:Ag,useCssModule:cy,useCssVars:Uv,useHost:kl,useId:qm,useModel:Ug,useSSRContext:Cf,useShadowRoot:ay,useSlots:Vg,useTemplateRef:Gm,useTransitionState:ta,vModelCheckbox:ya,vModelDynamic:Bd,vModelRadio:Ea,vModelSelect:jd,vModelText:Ki,vShow:Xn,version:Cl,warn:$e,watch:pt,watchEffect:$m,watchPostEffect:jm,watchSyncEffect:Df,withAsyncContext:Pg,withCtx:ln,withDefaults:kg,withDirectives:Zn,withKeys:Ny,withMemo:xv,withModifiers:Ud,withScopeId:Rm},Symbol.toStringTag,{value:"Module"}));const Ui=Symbol(process.env.NODE_ENV!=="production"?"Fragment":""),Vi=Symbol(process.env.NODE_ENV!=="production"?"Teleport":""),_a=Symbol(process.env.NODE_ENV!=="production"?"Suspense":""),Jr=Symbol(process.env.NODE_ENV!=="production"?"KeepAlive":""),eh=Symbol(process.env.NODE_ENV!=="production"?"BaseTransition":""),Os=Symbol(process.env.NODE_ENV!=="production"?"openBlock":""),th=Symbol(process.env.NODE_ENV!=="production"?"createBlock":""),nh=Symbol(process.env.NODE_ENV!=="production"?"createElementBlock":""),ba=Symbol(process.env.NODE_ENV!=="production"?"createVNode":""),Na=Symbol(process.env.NODE_ENV!=="production"?"createElementVNode":""),sr=Symbol(process.env.NODE_ENV!=="production"?"createCommentVNode":""),Sa=Symbol(process.env.NODE_ENV!=="production"?"createTextVNode":""),sh=Symbol(process.env.NODE_ENV!=="production"?"createStaticVNode":""),Oa=Symbol(process.env.NODE_ENV!=="production"?"resolveComponent":""),wa=Symbol(process.env.NODE_ENV!=="production"?"resolveDynamicComponent":""),Ca=Symbol(process.env.NODE_ENV!=="production"?"resolveDirective":""),Da=Symbol(process.env.NODE_ENV!=="production"?"resolveFilter":""),xa=Symbol(process.env.NODE_ENV!=="production"?"withDirectives":""),Ta=Symbol(process.env.NODE_ENV!=="production"?"renderList":""),ih=Symbol(process.env.NODE_ENV!=="production"?"renderSlot":""),rh=Symbol(process.env.NODE_ENV!=="production"?"createSlots":""),ko=Symbol(process.env.NODE_ENV!=="production"?"toDisplayString":""),Zr=Symbol(process.env.NODE_ENV!=="production"?"mergeProps":""),ka=Symbol(process.env.NODE_ENV!=="production"?"normalizeClass":""),Va=Symbol(process.env.NODE_ENV!=="production"?"normalizeStyle":""),Wi=Symbol(process.env.NODE_ENV!=="production"?"normalizeProps":""),ir=Symbol(process.env.NODE_ENV!=="production"?"guardReactiveProps":""),Aa=Symbol(process.env.NODE_ENV!=="production"?"toHandlers":""),Vl=Symbol(process.env.NODE_ENV!=="production"?"camelize":""),Cy=Symbol(process.env.NODE_ENV!=="production"?"capitalize":""),Al=Symbol(process.env.NODE_ENV!=="production"?"toHandlerKey":""),Yr=Symbol(process.env.NODE_ENV!=="production"?"setBlockTracking":""),Dy=Symbol(process.env.NODE_ENV!=="production"?"pushScopeId":""),xy=Symbol(process.env.NODE_ENV!=="production"?"popScopeId":""),Ia=Symbol(process.env.NODE_ENV!=="production"?"withCtx":""),Ty=Symbol(process.env.NODE_ENV!=="production"?"unref":""),ky=Symbol(process.env.NODE_ENV!=="production"?"isRef":""),Ma=Symbol(process.env.NODE_ENV!=="production"?"withMemo":""),oh=Symbol(process.env.NODE_ENV!=="production"?"isMemoSame":""),ei={[Ui]:"Fragment",[Vi]:"Teleport",[_a]:"Suspense",[Jr]:"KeepAlive",[eh]:"BaseTransition",[Os]:"openBlock",[th]:"createBlock",[nh]:"createElementBlock",[ba]:"createVNode",[Na]:"createElementVNode",[sr]:"createCommentVNode",[Sa]:"createTextVNode",[sh]:"createStaticVNode",[Oa]:"resolveComponent",[wa]:"resolveDynamicComponent",[Ca]:"resolveDirective",[Da]:"resolveFilter",[xa]:"withDirectives",[Ta]:"renderList",[ih]:"renderSlot",[rh]:"createSlots",[ko]:"toDisplayString",[Zr]:"mergeProps",[ka]:"normalizeClass",[Va]:"normalizeStyle",[Wi]:"normalizeProps",[ir]:"guardReactiveProps",[Aa]:"toHandlers",[Vl]:"camelize",[Cy]:"capitalize",[Al]:"toHandlerKey",[Yr]:"setBlockTracking",[Dy]:"pushScopeId",[xy]:"popScopeId",[Ia]:"withCtx",[Ty]:"unref",[ky]:"isRef",[Ma]:"withMemo",[oh]:"isMemoSame"};function Vy(e){Object.getOwnPropertySymbols(e).forEach(t=>{ei[t]=e[t]})}const Vt={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Ay(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Vt}}function zi(e,t,n,s,i,r,o,l=!1,a=!1,c=!1,u=Vt){return e&&(l?(e.helper(Os),e.helper(si(e.inSSR,c))):e.helper(ni(e.inSSR,c)),o&&e.helper(xa)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function ys(e,t=Vt){return{type:17,loc:t,elements:e}}function Pt(e,t=Vt){return{type:15,loc:t,properties:e}}function qe(e,t){return{type:16,loc:Vt,key:ee(e)?ae(e,!0):e,value:t}}function ae(e,t=!1,n=Vt,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function qt(e,t=Vt){return{type:8,loc:t,children:e}}function Ye(e,t=[],n=Vt){return{type:14,loc:n,callee:e,arguments:t}}function ti(e,t=void 0,n=!1,s=!1,i=Vt){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Il(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:Vt}}function Iy(e,t,n=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Vt}}function My(e){return{type:21,body:e,loc:Vt}}function ni(e,t){return e||t?ba:Na}function si(e,t){return e||t?th:nh}function Pa(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(ni(s,e.isComponent)),t(Os),t(si(s,e.isComponent)))}const Xc=new Uint8Array([123,123]),Qc=new Uint8Array([125,125]);function eu(e){return e>=97&&e<=122||e>=65&&e<=90}function Dt(e){return e===32||e===10||e===9||e===12||e===13}function Fn(e){return e===47||e===62||Dt(e)}function Xr(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const ot={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Py{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Xc,this.delimiterClose=Qc,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Xc,this.delimiterClose=Qc}getPos(t){let n=1,s=t+1;const i=this.newlines.length;let r=-1;if(i>100){let o=-1,l=i;for(;o+1<l;){const a=o+l>>>1;this.newlines[a]<t?o=a:l=a}r=o}else for(let o=i-1;o>=0;o--)if(t>this.newlines[o]){r=o;break}return r>=0&&(n=r+2,s=t-this.newlines[r]),{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Fn(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Dt(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const s=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=s}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===ot.TitleEnd||this.currentSequence===ot.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===ot.Cdata[this.sequenceIndex]?++this.sequenceIndex===ot.Cdata.length&&(this.state=28,this.currentSequence=ot.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===ot.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):eu(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Fn(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Fn(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(Xr("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Dt(t)||(t===62?(process.env.NODE_ENV!=="production"&&this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=eu(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Dt(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,process.env.NODE_ENV!=="production"&&this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Dt(t)||(process.env.NODE_ENV!=="production"&&t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Dt(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||Fn(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):process.env.NODE_ENV!=="production"&&(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||Fn(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Fn(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Fn(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),process.env.NODE_ENV!=="production"&&this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||Fn(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Dt(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Dt(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Dt(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(process.env.NODE_ENV!=="production"&&t===34||t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=ot.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===ot.ScriptEnd[3]?this.startSpecial(ot.ScriptEnd,4):t===ot.StyleEnd[3]?this.startSpecial(ot.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===ot.TitleEnd[3]?this.startSpecial(ot.TitleEnd,4):t===ot.TextareaEnd[3]?this.startSpecial(ot.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===ot.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const Ly={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Ml(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function Qn(e,t){const n=Ml("MODE",t),s=Ml(e,t);return n===3?s===!0:s!==!1}function ii(e,t,n,...s){const i=Qn(e,t);return process.env.NODE_ENV!=="production"&&i&&Qr(e,t,n,...s),i}function Qr(e,t,n,...s){if(Ml(e,t)==="suppress-warning")return;const{message:r,link:o}=Ly[e],l=`(deprecation ${e}) ${typeof r=="function"?r(...s):r}${o?`
|
|
26
|
+
Details: ${o}`:""}`,a=new SyntaxError(l);a.code=e,n&&(a.loc=n),t.onWarn(a)}function La(e){throw e}function lh(e){process.env.NODE_ENV!=="production"&&console.warn(`[Vue warn] ${e.message}`)}function De(e,t,n,s){const i=process.env.NODE_ENV!=="production"?(n||Ry)[e]+(s||""):`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(i));return r.code=e,r.loc=t,r}const Ry={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
27
|
+
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""},Ct=e=>e.type===4&&e.isStatic;function ah(e){switch(e){case"Teleport":case"teleport":return Vi;case"Suspense":case"suspense":return _a;case"KeepAlive":case"keep-alive":return Jr;case"BaseTransition":case"base-transition":return eh}}const Fy=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Ra=e=>!Fy.test(e),ch=/[A-Za-z_$\xA0-\uFFFF]/,$y=/[\.\?\w$\xA0-\uFFFF]/,jy=/\s+[.[]\s*|\s*[.[]\s+/g,uh=e=>e.type===4?e.content:e.loc.source,Hy=e=>{const t=uh(e).trim().replace(jy,l=>l.trim());let n=0,s=[],i=0,r=0,o=null;for(let l=0;l<t.length;l++){const a=t.charAt(l);switch(n){case 0:if(a==="[")s.push(n),n=1,i++;else if(a==="(")s.push(n),n=2,r++;else if(!(l===0?ch:$y).test(a))return!1;break;case 1:a==="'"||a==='"'||a==="`"?(s.push(n),n=3,o=a):a==="["?i++:a==="]"&&(--i||(n=s.pop()));break;case 2:if(a==="'"||a==='"'||a==="`")s.push(n),n=3,o=a;else if(a==="(")r++;else if(a===")"){if(l===t.length-1)return!1;--r||(n=s.pop())}break;case 3:a===o&&(n=s.pop(),o=null);break}}return!i&&!r},fh=Hy,By=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Ky=e=>By.test(uh(e)),Uy=Ky;function tu(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function wt(e,t,n=!1){for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&(n||i.exp)&&(ee(t)?i.name===t:t.test(i.name)))return i}}function qi(e,t,n=!1,s=!1){for(let i=0;i<e.props.length;i++){const r=e.props[i];if(r.type===6){if(n)continue;if(r.name===t&&(r.value||s))return r}else if(r.name==="bind"&&(r.exp||s)&&Jn(r.arg,t))return r}}function Jn(e,t){return!!(e&&Ct(e)&&e.content===t)}function Wy(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Zo(e){return e.type===5||e.type===2}function nu(e){return e.type===7&&e.name==="pre"}function zy(e){return e.type===7&&e.name==="slot"}function eo(e){return e.type===1&&e.tagType===3}function to(e){return e.type===1&&e.tagType===2}const qy=new Set([Wi,ir]);function Fa(e,t=[]){if(e&&!ee(e)&&e.type===14){const n=e.callee;if(!ee(n)&&qy.has(n))return Fa(e.arguments[0],t.concat(e))}return[e,t]}function no(e,t,n){if(e.type!==13&&Gy(e,t))return;let s,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!ee(i)&&i.type===14){const l=Fa(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||ee(i))s=Pt([t]);else if(i.type===14){const l=i.arguments[0];!ee(l)&&l.type===15?Pl(t,l)||l.properties.unshift(t):i.callee===Aa?s=Ye(n.helper(Zr),[Pt([t]),i]):i.arguments.unshift(Pt([t])),!s&&(s=i)}else i.type===15?(Pl(t,i)||i.properties.unshift(t),s=i):(s=Ye(n.helper(Zr),[Pt([t]),i]),o&&o.callee===ir&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function Gy(e,t){var n,s,i;if(t.key.type!==4||t.key.content!=="key")return!1;const r=e.arguments[2];if(r&&!ee(r)){const[o]=Fa(r);if(o&&!ee(o)&&o.type===15&&Pl(t,o))return!0}return(n=e.arguments)[2]||(n[2]="{}"),(s=e.arguments)[3]||(s[3]="undefined"),(i=e.arguments)[4]||(i[4]="undefined"),e.arguments[5]=t.value,!0}function Pl(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function Gi(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function Jy(e){return e.type===14&&e.callee===Ma?e.arguments[1].returns:e}const Zy=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function dh(e){for(let t=0;t<e.length;t++)if(!Dt(e.charCodeAt(t)))return!1;return!0}function $a(e){return e.type===2&&dh(e.content)||e.type===12&&$a(e.content)}function ja(e){return e.type===3||$a(e)}const hh={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Ls,isPreTag:Ls,isIgnoreNewlineTag:Ls,isCustomElement:Ls,onError:La,onWarn:lh,comments:process.env.NODE_ENV!=="production",prefixIdentifiers:!1};let ge=hh,Ji=null,Vn="",dt=null,me=null,St="",bn=-1,ls=-1,Ha=0,Un=!1,Ll=null;const Me=[],Ie=new Py(Me,{onerr:Nt,ontext(e,t){yr(lt(e,t),e,t)},ontextentity(e,t,n){yr(e,t,n)},oninterpolation(e,t){if(Un)return yr(lt(e,t),e,t);let n=e+Ie.delimiterOpen.length,s=t-Ie.delimiterClose.length;for(;Dt(Vn.charCodeAt(n));)n++;for(;Dt(Vn.charCodeAt(s-1));)s--;let i=lt(n,s);i.includes("&")&&(i=ge.decodeEntities(i,!1)),Rl({type:5,content:wr(i,!1,He(n,s)),loc:He(e,t)})},onopentagname(e,t){const n=lt(e,t);dt={type:1,tag:n,ns:ge.getNamespace(n,Me[0],ge.ns),tagType:0,props:[],children:[],loc:He(e-1,t),codegenNode:void 0}},onopentagend(e){iu(e)},onclosetag(e,t){const n=lt(e,t);if(!ge.isVoidTag(n)){let s=!1;for(let i=0;i<Me.length;i++)if(Me[i].tag.toLowerCase()===n.toLowerCase()){s=!0,i>0&&Nt(24,Me[0].loc.start.offset);for(let o=0;o<=i;o++){const l=Me.shift();Or(l,t,o<i)}break}s||Nt(23,ph(e,60))}},onselfclosingtag(e){const t=dt.tag;dt.isSelfClosing=!0,iu(e),Me[0]&&Me[0].tag===t&&Or(Me.shift(),e)},onattribname(e,t){me={type:6,name:lt(e,t),nameLoc:He(e,t),value:void 0,loc:He(e)}},ondirname(e,t){const n=lt(e,t),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Un&&s===""&&Nt(26,e),Un||s==="")me={type:6,name:n,nameLoc:He(e,t),value:void 0,loc:He(e)};else if(me={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[ae("prop")]:[],loc:He(e)},s==="pre"){Un=Ie.inVPre=!0,Ll=dt;const i=dt.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=o0(i[r]))}},ondirarg(e,t){if(e===t)return;const n=lt(e,t);if(Un&&!nu(me))me.name+=n,us(me.nameLoc,t);else{const s=n[0]!=="[";me.arg=wr(s?n:n.slice(1,-1),s,He(e,t),s?3:0)}},ondirmodifier(e,t){const n=lt(e,t);if(Un&&!nu(me))me.name+="."+n,us(me.nameLoc,t);else if(me.name==="slot"){const s=me.arg;s&&(s.content+="."+n,us(s.loc,t))}else{const s=ae(n,!0,He(e,t));me.modifiers.push(s)}},onattribdata(e,t){St+=lt(e,t),bn<0&&(bn=e),ls=t},onattribentity(e,t,n){St+=e,bn<0&&(bn=t),ls=n},onattribnameend(e){const t=me.loc.start.offset,n=lt(t,e);me.type===7&&(me.rawName=n),dt.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&Nt(2,t)},onattribend(e,t){if(dt&&me){if(us(me.loc,t),e!==0)if(St.includes("&")&&(St=ge.decodeEntities(St,!0)),me.type===6)me.name==="class"&&(St=gh(St).trim()),e===1&&!St&&Nt(13,t),me.value={type:2,content:St,loc:e===1?He(bn,ls):He(bn-1,ls+1)},Ie.inSFCRoot&&dt.tag==="template"&&me.name==="lang"&&St&&St!=="html"&&Ie.enterRCDATA(Xr("</template"),0);else{let n=0;me.exp=wr(St,!1,He(bn,ls),0,n),me.name==="for"&&(me.forParseResult=Xy(me.exp));let s=-1;me.name==="bind"&&(s=me.modifiers.findIndex(i=>i.content==="sync"))>-1&&ii("COMPILER_V_BIND_SYNC",ge,me.loc,me.arg.loc.source)&&(me.name="model",me.modifiers.splice(s,1))}(me.type!==7||me.name!=="pre")&&dt.props.push(me)}St="",bn=ls=-1},oncomment(e,t){ge.comments&&Rl({type:3,content:lt(e,t),loc:He(e-4,t+3)})},onend(){const e=Vn.length;if(process.env.NODE_ENV!=="production"&&Ie.state!==1)switch(Ie.state){case 5:case 8:Nt(5,e);break;case 3:case 4:Nt(25,Ie.sectionStart);break;case 28:Ie.currentSequence===ot.CdataEnd?Nt(6,e):Nt(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:Nt(9,e);break}for(let t=0;t<Me.length;t++)Or(Me[t],e-1),Nt(24,Me[t].loc.start.offset)},oncdata(e,t){(Me[0]?Me[0].ns:ge.ns)!==0?yr(lt(e,t),e,t):Nt(1,e-9)},onprocessinginstruction(e){(Me[0]?Me[0].ns:ge.ns)===0&&Nt(21,e-1)}}),su=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Yy=/^\(|\)$/g;function Xy(e){const t=e.loc,n=e.content,s=n.match(Zy);if(!s)return;const[,i,r]=s,o=(f,d,h=!1)=>{const m=t.start.offset+d,p=m+f.length;return wr(f,!1,He(m,p),0,h?1:0)},l={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(Yy,"").trim();const c=i.indexOf(a),u=a.match(su);if(u){a=a.replace(su,"").trim();const f=u[1].trim();let d;if(f&&(d=n.indexOf(f,c+a.length),l.key=o(f,d,!0)),u[2]){const h=u[2].trim();h&&(l.index=o(h,n.indexOf(h,l.key?d+f.length:c+a.length),!0))}}return a&&(l.value=o(a,c,!0)),l}function lt(e,t){return Vn.slice(e,t)}function iu(e){Ie.inSFCRoot&&(dt.innerLoc=He(e+1,e+1)),Rl(dt);const{tag:t,ns:n}=dt;n===0&&ge.isPreTag(t)&&Ha++,ge.isVoidTag(t)?Or(dt,e):(Me.unshift(dt),(n===1||n===2)&&(Ie.inXML=!0)),dt=null}function yr(e,t,n){{const r=Me[0]&&Me[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=ge.decodeEntities(e,!1))}const s=Me[0]||Ji,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,us(i.loc,n)):s.children.push({type:2,content:e,loc:He(t,n)})}function Or(e,t,n=!1){n?us(e.loc,ph(t,60)):us(e.loc,Qy(t,62)+1),Ie.inSFCRoot&&(e.children.length?e.innerLoc.end=ie({},e.children[e.children.length-1].loc.end):e.innerLoc.end=ie({},e.innerLoc.start),e.innerLoc.source=lt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i,children:r}=e;if(Un||(s==="slot"?e.tagType=2:ru(e)?e.tagType=3:t0(e)&&(e.tagType=1)),Ie.inRCDATA||(e.children=mh(r)),i===0&&ge.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&ge.isPreTag(s)&&Ha--,Ll===e&&(Un=Ie.inVPre=!1,Ll=null),Ie.inXML&&(Me[0]?Me[0].ns:ge.ns)===0&&(Ie.inXML=!1);{const o=e.props;if(process.env.NODE_ENV!=="production"&&Qn("COMPILER_V_IF_V_FOR_PRECEDENCE",ge)){let a=!1,c=!1;for(let u=0;u<o.length;u++){const f=o[u];if(f.type===7&&(f.name==="if"?a=!0:f.name==="for"&&(c=!0)),a&&c){Qr("COMPILER_V_IF_V_FOR_PRECEDENCE",ge,e.loc);break}}}if(!Ie.inSFCRoot&&Qn("COMPILER_NATIVE_TEMPLATE",ge)&&e.tag==="template"&&!ru(e)){process.env.NODE_ENV!=="production"&&Qr("COMPILER_NATIVE_TEMPLATE",ge,e.loc);const a=Me[0]||Ji,c=a.children.indexOf(e);a.children.splice(c,1,...e.children)}const l=o.find(a=>a.type===6&&a.name==="inline-template");l&&ii("COMPILER_INLINE_TEMPLATE",ge,l.loc)&&e.children.length&&(l.value={type:2,content:lt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function Qy(e,t){let n=e;for(;Vn.charCodeAt(n)!==t&&n<Vn.length-1;)n++;return n}function ph(e,t){let n=e;for(;Vn.charCodeAt(n)!==t&&n>=0;)n--;return n}const e0=new Set(["if","else","else-if","for","slot"]);function ru({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&e0.has(t[n].name))return!0}return!1}function t0({tag:e,props:t}){if(ge.isCustomElement(e))return!1;if(e==="component"||n0(e.charCodeAt(0))||ah(e)||ge.isBuiltInComponent&&ge.isBuiltInComponent(e)||ge.isNativeTag&&!ge.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const s=t[n];if(s.type===6){if(s.name==="is"&&s.value){if(s.value.content.startsWith("vue:"))return!0;if(ii("COMPILER_IS_ON_ELEMENT",ge,s.loc))return!0}}else if(s.name==="bind"&&Jn(s.arg,"is")&&ii("COMPILER_IS_ON_ELEMENT",ge,s.loc))return!0}return!1}function n0(e){return e>64&&e<91}const s0=/\r\n/g;function mh(e){const t=ge.whitespace!=="preserve";let n=!1;for(let s=0;s<e.length;s++){const i=e[s];if(i.type===2)if(Ha)i.content=i.content.replace(s0,`
|
|
28
|
+
`);else if(dh(i.content)){const r=e[s-1]&&e[s-1].type,o=e[s+1]&&e[s+1].type;!r||!o||t&&(r===3&&(o===3||o===1)||r===1&&(o===3||o===1&&i0(i.content)))?(n=!0,e[s]=null):i.content=" "}else t&&(i.content=gh(i.content))}return n?e.filter(Boolean):e}function i0(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function gh(e){let t="",n=!1;for(let s=0;s<e.length;s++)Dt(e.charCodeAt(s))?n||(t+=" ",n=!0):(t+=e[s],n=!1);return t}function Rl(e){(Me[0]||Ji).children.push(e)}function He(e,t){return{start:Ie.getPos(e),end:t==null?t:Ie.getPos(t),source:t==null?t:lt(e,t)}}function r0(e){return He(e.start.offset,e.end.offset)}function us(e,t){e.end=Ie.getPos(t),e.source=lt(e.start.offset,t)}function o0(e){const t={type:6,name:e.rawName,nameLoc:He(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function wr(e,t=!1,n,s=0,i=0){return ae(e,t,n,s)}function Nt(e,t,n){ge.onError(De(e,He(t,t),void 0,n))}function l0(){Ie.reset(),dt=null,me=null,St="",bn=-1,ls=-1,Me.length=0}function a0(e,t){if(l0(),Vn=e,ge=ie({},hh),t){let i;for(i in t)t[i]!=null&&(ge[i]=t[i])}if(process.env.NODE_ENV!=="production"&&!ge.decodeEntities)throw new Error("[@vue/compiler-core] decodeEntities option is required in browser builds.");Ie.mode=ge.parseMode==="html"?1:ge.parseMode==="sfc"?2:0,Ie.inXML=ge.ns===1||ge.ns===2;const n=t&&t.delimiters;n&&(Ie.delimiterOpen=Xr(n[0]),Ie.delimiterClose=Xr(n[1]));const s=Ji=Ay([],e);return Ie.parse(Vn),s.loc=He(0,e.length),s.children=mh(s.children),Ji=null,s}function c0(e,t){Cr(e,void 0,t,!!vh(e))}function vh(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!to(t[0])?t[0]:null}function Cr(e,t,n,s=!1,i=!1){const{children:r}=e,o=[];for(let u=0;u<r.length;u++){const f=r[u];if(f.type===1&&f.tagType===0){const d=s?0:xt(f,n);if(d>0){if(d>=2){f.codegenNode.patchFlag=-1,o.push(f);continue}}else{const h=f.codegenNode;if(h.type===13){const m=h.patchFlag;if((m===void 0||m===512||m===1)&&Eh(f,n)>=2){const p=_h(f);p&&(h.props=n.hoist(p))}h.dynamicProps&&(h.dynamicProps=n.hoist(h.dynamicProps))}}}else if(f.type===12&&(s?0:xt(f,n))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push(-1+(process.env.NODE_ENV!=="production"?` /* ${Si[-1]} */`:"")),o.push(f);continue}if(f.type===1){const d=f.tagType===1;d&&n.scopes.vSlot++,Cr(f,e,n,!1,i),d&&n.scopes.vSlot--}else if(f.type===11)Cr(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let d=0;d<f.branches.length;d++)Cr(f.branches[d],e,n,f.branches[d].children.length===1,i)}let l=!1;if(o.length===r.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&B(e.codegenNode.children))e.codegenNode.children=a(ys(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!B(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=c(e.codegenNode,"default");u&&(u.returns=a(ys(u.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!B(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=wt(e,"slot",!0),f=u&&u.arg&&c(t.codegenNode,u.arg);f&&(f.returns=a(ys(f.returns)),l=!0)}}if(!l)for(const u of o)u.codegenNode=n.cache(u.codegenNode);function a(u){const f=n.cache(u);return f.needArraySpread=!0,f}function c(u,f){if(u.children&&!B(u.children)&&u.children.type===15){const d=u.children.properties.find(h=>h.key===f||h.key.content===f);return d&&d.value}}o.length&&n.transformHoist&&n.transformHoist(r,n,e)}function xt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const s=n.get(e);if(s!==void 0)return s;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const l=Eh(e,t);if(l===0)return n.set(e,0),0;l<o&&(o=l);for(let a=0;a<e.children.length;a++){const c=xt(e.children[a],t);if(c===0)return n.set(e,0),0;c<o&&(o=c)}if(o>1)for(let a=0;a<e.props.length;a++){const c=e.props[a];if(c.type===7&&c.name==="bind"&&c.exp){const u=xt(c.exp,t);if(u===0)return n.set(e,0),0;u<o&&(o=u)}}if(i.isBlock){for(let a=0;a<e.props.length;a++)if(e.props[a].type===7)return n.set(e,0),0;t.removeHelper(Os),t.removeHelper(si(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(ni(t.inSSR,i.isComponent))}return n.set(e,o),o}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return xt(e.content,t);case 4:return e.constType;case 8:let r=3;for(let o=0;o<e.children.length;o++){const l=e.children[o];if(ee(l)||ct(l))continue;const a=xt(l,t);if(a===0)return 0;a<r&&(r=a)}return r;case 20:return 2;default:return process.env.NODE_ENV,0}}const u0=new Set([ka,Va,Wi,ir]);function yh(e,t){if(e.type===14&&!ee(e.callee)&&u0.has(e.callee)){const n=e.arguments[0];if(n.type===4)return xt(n,t);if(n.type===14)return yh(n,t)}return 0}function Eh(e,t){let n=3;const s=_h(e);if(s&&s.type===15){const{properties:i}=s;for(let r=0;r<i.length;r++){const{key:o,value:l}=i[r],a=xt(o,t);if(a===0)return a;a<n&&(n=a);let c;if(l.type===4?c=xt(l,t):l.type===14?c=yh(l,t):c=0,c===0)return c;c<n&&(n=c)}}return n}function _h(e){const t=e.codegenNode;if(t.type===13)return t.props}function f0(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:c=Pe,isCustomElement:u=Pe,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,inSSR:p=!1,ssrCssVars:S="",bindingMetadata:N=ce,inline:_=!1,isTS:v=!1,onError:E=La,onWarn:y=lh,compatConfig:D}){const T=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={filename:t,selfName:T&&fn(Oe(T[1])),prefixIdentifiers:n,hoistStatic:s,hmr:i,cacheHandlers:r,nodeTransforms:o,directiveTransforms:l,transformHoist:a,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,inSSR:p,ssrCssVars:S,bindingMetadata:N,inline:_,isTS:v,onError:E,onWarn:y,compatConfig:D,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,vForMemoKeyedNodes:new WeakSet,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(O){const k=C.helpers.get(O)||0;return C.helpers.set(O,k+1),O},removeHelper(O){const k=C.helpers.get(O);if(k){const A=k-1;A?C.helpers.set(O,A):C.helpers.delete(O)}},helperString(O){return`_${ei[C.helper(O)]}`},replaceNode(O){if(process.env.NODE_ENV!=="production"){if(!C.currentNode)throw new Error("Node being replaced is already removed.");if(!C.parent)throw new Error("Cannot replace root node.")}C.parent.children[C.childIndex]=C.currentNode=O},removeNode(O){if(process.env.NODE_ENV!=="production"&&!C.parent)throw new Error("Cannot remove root node.");const k=C.parent.children,A=O?k.indexOf(O):C.currentNode?C.childIndex:-1;if(process.env.NODE_ENV!=="production"&&A<0)throw new Error("node being removed is not a child of current parent");!O||O===C.currentNode?(C.currentNode=null,C.onNodeRemoved()):C.childIndex>A&&(C.childIndex--,C.onNodeRemoved()),C.parent.children.splice(A,1)},onNodeRemoved:Pe,addIdentifiers(O){},removeIdentifiers(O){},hoist(O){ee(O)&&(O=ae(O)),C.hoists.push(O);const k=ae(`_hoisted_${C.hoists.length}`,!1,O.loc,2);return k.hoisted=O,k},cache(O,k=!1,A=!1){const w=Iy(C.cached.length,O,k,A);return C.cached.push(w),w}};return C.filters=new Set,C}function d0(e,t){const n=f0(e,t);Vo(e,n),t.hoistStatic&&c0(e,n),t.ssr||h0(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function h0(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const i=vh(e);if(i&&i.codegenNode){const r=i.codegenNode;r.type===13&&Pa(r,t),e.codegenNode=r}else e.codegenNode=s[0]}else if(s.length>1){let i=64;process.env.NODE_ENV!=="production"&&s.filter(r=>r.type!==3).length===1&&(i|=2048),e.codegenNode=zi(t,n(Ui),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function p0(e,t){let n=0;const s=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];ee(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=s,Vo(i,t))}}function Vo(e,t){t.currentNode=e;const{nodeTransforms:n}=t,s=[];for(let r=0;r<n.length;r++){const o=n[r](e,t);if(o&&(B(o)?s.push(...o):s.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(sr);break;case 5:t.ssr||t.helper(ko);break;case 9:for(let r=0;r<e.branches.length;r++)Vo(e.branches[r],t);break;case 10:case 11:case 1:case 0:p0(e,t);break}t.currentNode=e;let i=s.length;for(;i--;)s[i]()}function bh(e,t){const n=ee(e)?s=>s===e:s=>e.test(s);return(s,i)=>{if(s.type===1){const{props:r}=s;if(s.tagType===3&&r.some(zy))return;const o=[];for(let l=0;l<r.length;l++){const a=r[l];if(a.type===7&&n(a.name)){r.splice(l,1),l--;const c=t(s,a,i);c&&o.push(c)}}return o}}}const Ao="/*@__PURE__*/",Nh=e=>`${ei[e]}: _${ei[e]}`;function m0(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(p){return`_${ei[p]}`},push(p,S=-2,N){h.code+=p},indent(){m(++h.indentLevel)},deindent(p=!1){p?--h.indentLevel:m(--h.indentLevel)},newline(){m(h.indentLevel)}};function m(p){h.push(`
|
|
29
|
+
`+" ".repeat(p),0)}return h}function g0(e,t={}){const n=m0(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:i,prefixIdentifiers:r,indent:o,deindent:l,newline:a,scopeId:c,ssr:u}=n,f=Array.from(e.helpers),d=f.length>0,h=!r&&s!=="module";v0(e,n);const p=u?"ssrRender":"render",N=(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${p}(${N}) {`),o(),h&&(i("with (_ctx) {"),o(),d&&(i(`const { ${f.map(Nh).join(", ")} } = _Vue
|
|
30
|
+
`,-1),a())),e.components.length&&(Yo(e.components,"component",n),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(Yo(e.directives,"directive",n),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),Yo(e.filters,"filter",n),a()),e.temps>0){i("let ");for(let _=0;_<e.temps;_++)i(`${_>0?", ":""}_temp${_}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
31
|
+
`,0),a()),u||i("return "),e.codegenNode?gt(e.codegenNode,n):i("null"),h&&(l(),i("}")),l(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function v0(e,t){const{ssr:n,prefixIdentifiers:s,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:a}=t,c=l,u=Array.from(e.helpers);if(u.length>0&&(i(`const _Vue = ${c}
|
|
32
|
+
`,-1),e.hoists.length)){const f=[ba,Na,sr,Sa,sh].filter(d=>u.includes(d)).map(Nh).join(", ");i(`const { ${f} } = _Vue
|
|
33
|
+
`,-1)}y0(e.hoists,t),r(),i("return ")}function Yo(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Da:t==="component"?Oa:Ca);for(let l=0;l<e.length;l++){let a=e[l];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${Gi(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function y0(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),gt(r,t),s())}t.pure=!1}function E0(e){return ee(e)||e.type===4||e.type===2||e.type===5||e.type===8}function Ba(e,t){const n=e.length>3||process.env.NODE_ENV!=="production"&&e.some(s=>B(s)||!E0(s));t.push("["),n&&t.indent(),rr(e,t,n),n&&t.deindent(),t.push("]")}function rr(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];ee(l)?i(l,-3):B(l)?Ba(l,t):gt(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function gt(e,t){if(ee(e)){t.push(e,-3);return}if(ct(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:process.env.NODE_ENV!=="production"&&tu(e.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),gt(e.codegenNode,t);break;case 2:_0(e,t);break;case 4:Sh(e,t);break;case 5:b0(e,t);break;case 12:gt(e.codegenNode,t);break;case 8:Oh(e,t);break;case 3:S0(e,t);break;case 13:O0(e,t);break;case 14:C0(e,t);break;case 15:D0(e,t);break;case 17:x0(e,t);break;case 18:T0(e,t);break;case 19:k0(e,t);break;case 20:V0(e,t);break;case 21:rr(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:if(process.env.NODE_ENV!=="production")return tu(!1,`unhandled codegen node type: ${e.type}`),e}}function _0(e,t){t.push(JSON.stringify(e.content),-3,e)}function Sh(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function b0(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Ao),n(`${s(ko)}(`),gt(e.content,t),n(")")}function Oh(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];ee(s)?t.push(s,-3):gt(s,t)}}function N0(e,t){const{push:n}=t;if(e.type===8)n("["),Oh(e,t),n("]");else if(e.isStatic){const s=Ra(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function S0(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Ao),n(`${s(sr)}(${JSON.stringify(e.content)})`,-3,e)}function O0(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:a,dynamicProps:c,directives:u,isBlock:f,disableTracking:d,isComponent:h}=e;let m;if(a)if(process.env.NODE_ENV!=="production")if(a<0)m=a+` /* ${Si[a]} */`;else{const S=Object.keys(Si).map(Number).filter(N=>N>0&&a&N).map(N=>Si[N]).join(", ");m=a+` /* ${S} */`}else m=String(a);u&&n(s(xa)+"("),f&&n(`(${s(Os)}(${d?"true":""}), `),i&&n(Ao);const p=f?si(t.inSSR,h):ni(t.inSSR,h);n(s(p)+"(",-2,e),rr(w0([r,o,l,m,c]),t),n(")"),f&&n(")"),u&&(n(", "),gt(u,t),n(")"))}function w0(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function C0(e,t){const{push:n,helper:s,pure:i}=t,r=ee(e.callee)?e.callee:s(e.callee);i&&n(Ao),n(r+"(",-2,e),rr(e.arguments,t),n(")")}function D0(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||process.env.NODE_ENV!=="production"&&o.some(a=>a.value.type!==4);n(l?"{":"{ "),l&&s();for(let a=0;a<o.length;a++){const{key:c,value:u}=o[a];N0(c,t),n(": "),gt(u,t),a<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function x0(e,t){Ba(e.elements,t)}function T0(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:a,isSlot:c}=e;c&&n(`_${ei[Ia]}(`),n("(",-2,e),B(r)?rr(r,t):r&>(r,t),n(") => "),(a||l)&&(n("{"),s()),o?(a&&n("return "),B(o)?Ba(o,t):gt(o,t)):l&>(l,t),(a||l)&&(i(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function k0(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:a,newline:c}=t;if(n.type===4){const f=!Ra(n.content);f&&o("("),Sh(n,t),f&&o(")")}else o("("),gt(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),gt(s,t),t.indentLevel--,r&&c(),r||o(" "),o(": ");const u=i.type===19;u||t.indentLevel++,gt(i,t),u||t.indentLevel--,r&&a(!0)}function V0(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:a}=e;a&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(Yr)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),gt(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(Yr)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),a&&n(")]")}const A0=new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b"),I0=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function fs(e,t,n=!1,s=!1){const i=e.content;if(i.trim())try{new Function(s?` ${i} `:`return ${n?`(${i}) => {}`:`(${i})`}`)}catch(r){let o=r.message;const l=i.replace(I0,"").match(A0);l&&(o=`avoid using JavaScript keyword as property name: "${l[0]}"`),t.onError(De(46,e.loc,void 0,o))}}const M0=(e,t)=>{if(e.type===5)e.content=Xo(e.content,t);else if(e.type===1){const n=wt(e,"memo");for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&i.name!=="for"){const r=i.exp,o=i.arg;r&&r.type===4&&!(i.name==="on"&&o)&&!(n&&t.vForMemoKeyedNodes.has(e)&&o&&o.type===4&&o.content==="key")&&(i.exp=Xo(r,t,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=Xo(o,t))}}}};function Xo(e,t,n=!1,s=!1,i=Object.create(t.identifiers)){return process.env.NODE_ENV!=="production"&&fs(e,t,n,s),e}const P0=bh(/^(?:if|else|else-if)$/,(e,t,n)=>L0(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),a=0;for(;l-->=0;){const c=o[l];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(r)s.codegenNode=lu(i,a,n);else{const c=F0(s.codegenNode);c.alternate=lu(i,a+s.branches.length-1,n)}}}));function L0(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(De(28,t.loc)),t.exp=ae("true",!1,i)}if(process.env.NODE_ENV!=="production"&&t.exp&&fs(t.exp,n),t.name==="if"){const i=ou(e,t),r={type:9,loc:r0(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children,r=[];let o=i.indexOf(e);for(;o-->=-1;){const l=i[o];if(l&&ja(l)){n.removeNode(l),process.env.NODE_ENV!=="production"&&l.type===3&&r.unshift(l);continue}if(l&&l.type===9){(t.name==="else-if"||t.name==="else")&&l.branches[l.branches.length-1].condition===void 0&&n.onError(De(30,e.loc)),n.removeNode();const a=ou(e,t);if(process.env.NODE_ENV!=="production"&&r.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag==="transition"||n.parent.tag==="Transition"))&&(a.children=[...r,...a.children]),process.env.NODE_ENV!=="production"){const u=a.userKey;u&&l.branches.forEach(({userKey:f})=>{R0(f,u)&&n.onError(De(29,a.userKey.loc))})}l.branches.push(a);const c=s&&s(l,a,!1);Vo(a,n),c&&c(),n.currentNode=null}else n.onError(De(30,e.loc));break}}}function ou(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!wt(e,"for")?e.children:[e],userKey:qi(e,"key"),isTemplateIf:n}}function lu(e,t,n){return e.condition?Il(e.condition,au(e,t,n),Ye(n.helper(sr),[process.env.NODE_ENV!=="production"?'"v-if"':'""',"true"])):au(e,t,n)}function au(e,t,n){const{helper:s}=n,i=qe("key",ae(`${t}`,!1,Vt,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const a=o.codegenNode;return no(a,i,n),a}else{let a=64;return process.env.NODE_ENV!=="production"&&!e.isTemplateIf&&r.filter(c=>c.type!==3).length===1&&(a|=2048),zi(n,s(Ui),Pt([i]),r,a,void 0,void 0,!0,!1,!1,e.loc)}else{const a=o.codegenNode,c=Jy(a);return c.type===13&&Pa(c,n),no(c,i,n),a}}function R0(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{const n=e.exp,s=t.exp;if(n.type!==s.type||n.type!==4||n.isStatic!==s.isStatic||n.content!==s.content)return!1}return!0}function F0(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const $0=bh("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return j0(e,t,n,r=>{const o=Ye(s(Ta),[r.source]),l=eo(e),a=wt(e,"memo"),c=qi(e,"key",!1,!0);c&&c.type;let u=c&&(c.type===6?c.value?ae(c.value.content,!0):void 0:c.exp);const f=u?qe("key",u):null,d=r.source.type===4&&r.source.constType>0,h=d?64:c?128:256;return r.codegenNode=zi(n,s(Ui),void 0,o,h,void 0,void 0,!0,!d,!1,e.loc),()=>{let m;const{children:p}=r;process.env.NODE_ENV!=="production"&&l&&e.children.some(_=>{if(_.type===1){const v=qi(_,"key");if(v)return n.onError(De(33,v.loc)),!0}});const S=p.length!==1||p[0].type!==1,N=to(e)?e:l&&e.children.length===1&&to(e.children[0])?e.children[0]:null;if(N?(m=N.codegenNode,l&&f&&no(m,f,n)):S?m=zi(n,s(Ui),f?Pt([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(m=p[0].codegenNode,l&&f&&no(m,f,n),m.isBlock!==!d&&(m.isBlock?(i(Os),i(si(n.inSSR,m.isComponent))):i(ni(n.inSSR,m.isComponent))),m.isBlock=!d,m.isBlock?(s(Os),s(si(n.inSSR,m.isComponent))):s(ni(n.inSSR,m.isComponent))),a){const _=ti(Fl(r.parseResult,[ae("_cached")]));_.body=My([qt(["const _memo = (",a.exp,")"]),qt(["if (_cached && _cached.el",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(oh)}(_cached, _memo)) return _cached`]),qt(["const _item = ",m]),ae("_item.memo = _memo"),ae("return _item")]),o.arguments.push(_,ae("_cache"),ae(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(ti(Fl(r.parseResult),m,!0))}})});function j0(e,t,n,s){if(!t.exp){n.onError(De(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(De(32,t.loc));return}wh(i,n);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:a,value:c,key:u,index:f}=i,d={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:i,children:eo(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const h=s&&s(d);return()=>{l.vFor--,h&&h()}}function wh(e,t){e.finalized||(process.env.NODE_ENV!=="production"&&(fs(e.source,t),e.key&&fs(e.key,t,!0),e.index&&fs(e.index,t,!0),e.value&&fs(e.value,t,!0)),e.finalized=!0)}function Fl({value:e,key:t,index:n},s=[]){return H0([e,t,n,...s])}function H0(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||ae("_".repeat(s+1),!1))}const cu=ae("undefined",!1),B0=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=wt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},K0=(e,t,n,s)=>ti(e,n,!1,!0,n.length?n[0].loc:s);function U0(e,t,n=K0){t.helper(Ia);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=wt(e,"slot",!0);if(a){const{arg:S,exp:N}=a;S&&!Ct(S)&&(l=!0),r.push(qe(S||ae("default",!0),n(N,void 0,s,i)))}let c=!1,u=!1;const f=[],d=new Set;let h=0;for(let S=0;S<s.length;S++){const N=s[S];let _;if(!eo(N)||!(_=wt(N,"slot",!0))){N.type!==3&&f.push(N);continue}if(a){t.onError(De(37,_.loc));break}c=!0;const{children:v,loc:E}=N,{arg:y=ae("default",!0),exp:D,loc:T}=_;let C;Ct(y)?C=y?y.content:"default":l=!0;const O=wt(N,"for"),k=n(D,O,v,E);let A,w;if(A=wt(N,"if"))l=!0,o.push(Il(A.exp,Er(y,k,h++),cu));else if(w=wt(N,/^else(?:-if)?$/,!0)){let F=S,U;for(;F--&&(U=s[F],!!ja(U)););if(U&&eo(U)&&wt(U,/^(?:else-)?if$/)){let z=o[o.length-1];for(;z.alternate.type===19;)z=z.alternate;z.alternate=w.exp?Il(w.exp,Er(y,k,h++),cu):Er(y,k,h++)}else t.onError(De(30,w.loc))}else if(O){l=!0;const F=O.forParseResult;F?(wh(F,t),o.push(Ye(t.helper(Ta),[F.source,ti(Fl(F),Er(y,k),!0)]))):t.onError(De(32,O.loc))}else{if(C){if(d.has(C)){t.onError(De(38,T));continue}d.add(C),C==="default"&&(u=!0)}r.push(qe(y,k))}}if(!a){const S=(N,_)=>{const v=n(N,void 0,_,i);return t.compatConfig&&(v.isNonScopedSlot=!0),qe("default",v)};c?f.length&&!f.every($a)&&(u?t.onError(De(39,f[0].loc)):r.push(S(void 0,f))):r.push(S(void 0,s))}const m=l?2:Dr(e.children)?3:1;let p=Pt(r.concat(qe("_",ae(m+(process.env.NODE_ENV!=="production"?` /* ${mp[m]} */`:""),!1))),i);return o.length&&(p=Ye(t.helper(rh),[p,ys(o)])),{slots:p,hasDynamicSlots:l}}function Er(e,t,n){const s=[qe("name",e),qe("fn",t)];return n!=null&&s.push(qe("key",ae(String(n),!0))),Pt(s)}function Dr(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Dr(n.children))return!0;break;case 9:if(Dr(n.branches))return!0;break;case 10:case 11:if(Dr(n.children))return!0;break}}return!1}const Ch=new WeakMap,W0=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?z0(e,t):`"${s}"`;const l=de(o)&&o.callee===wa;let a,c,u=0,f,d,h,m=l||o===Vi||o===_a||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const p=Dh(e,t,void 0,r,l);a=p.props,u=p.patchFlag,d=p.dynamicPropNames;const S=p.directives;h=S&&S.length?ys(S.map(N=>G0(N,t))):void 0,p.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(o===Jr&&(m=!0,u|=1024,process.env.NODE_ENV!=="production"&&e.children.length>1&&t.onError(De(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),r&&o!==Vi&&o!==Jr){const{slots:S,hasDynamicSlots:N}=U0(e,t);c=S,N&&(u|=1024)}else if(e.children.length===1&&o!==Vi){const S=e.children[0],N=S.type,_=N===5||N===8;_&&xt(S,t)===0&&(u|=1),_||N===2?c=S:c=e.children}else c=e.children;d&&d.length&&(f=J0(d)),e.codegenNode=zi(t,o,a,c,u===0?void 0:u,f,h,!!m,!1,r,e.loc)};function z0(e,t,n=!1){let{tag:s}=e;const i=$l(s),r=qi(e,"is",!1,!0);if(r)if(i||Qn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&ae(r.value.content,!0):(l=r.exp,l||(l=ae("is",!1,r.arg.loc))),l)return Ye(t.helper(wa),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=ah(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(Oa),t.components.add(s),Gi(s,"component"))}function Dh(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:a}=e;let c=[];const u=[],f=[],d=a.length>0;let h=!1,m=0,p=!1,S=!1,N=!1,_=!1,v=!1,E=!1;const y=[],D=k=>{c.length&&(u.push(Pt(uu(c),l)),c=[]),k&&u.push(k)},T=()=>{t.scopes.vFor>0&&c.push(qe(ae("ref_for",!0),ae("true")))},C=({key:k,value:A})=>{if(Ct(k)){const w=k.content,F=An(w);if(F&&(!s||i)&&w.toLowerCase()!=="onclick"&&w!=="onUpdate:modelValue"&&!xn(w)&&(_=!0),F&&xn(w)&&(E=!0),F&&A.type===14&&(A=A.arguments[0]),A.type===20||(A.type===4||A.type===8)&&xt(A,t)>0)return;w==="ref"?p=!0:w==="class"?S=!0:w==="style"?N=!0:w!=="key"&&!y.includes(w)&&y.push(w),s&&(w==="class"||w==="style")&&!y.includes(w)&&y.push(w)}else v=!0};for(let k=0;k<n.length;k++){const A=n[k];if(A.type===6){const{loc:w,name:F,nameLoc:U,value:z}=A;let W=!0;if(F==="ref"&&(p=!0,T()),F==="is"&&($l(o)||z&&z.content.startsWith("vue:")||Qn("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(qe(ae(F,!0,U),ae(z?z.content:"",W,z?z.loc:w)))}else{const{name:w,arg:F,exp:U,loc:z,modifiers:W}=A,Y=w==="bind",G=w==="on";if(w==="slot"){s||t.onError(De(40,z));continue}if(w==="once"||w==="memo"||w==="is"||Y&&Jn(F,"is")&&($l(o)||Qn("COMPILER_IS_ON_ELEMENT",t))||G&&r)continue;if((Y&&Jn(F,"key")||G&&d&&Jn(F,"vue:before-update"))&&(h=!0),Y&&Jn(F,"ref")&&T(),!F&&(Y||G)){if(v=!0,U)if(Y){if(D(),process.env.NODE_ENV!=="production"&&u.some(xe=>xe.type===15?xe.properties.some(({key:we})=>we.type!==4||!we.isStatic?!0:we.content!=="class"&&we.content!=="style"&&!An(we.content)):!0)&&ii("COMPILER_V_BIND_OBJECT_ORDER",t,z),Qn("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(U);continue}T(),D(),u.push(U)}else D({type:14,loc:z,callee:t.helper(Aa),arguments:s?[U]:[U,"true"]});else t.onError(De(Y?34:35,z));continue}Y&&W.some(ue=>ue.content==="prop")&&(m|=32);const Se=t.directiveTransforms[w];if(Se){const{props:ue,needRuntime:xe}=Se(A,e,t);!r&&ue.forEach(C),G&&F&&!Ct(F)?D(Pt(ue,l)):c.push(...ue),xe&&(f.push(A),ct(xe)&&Ch.set(A,xe))}else Ru(w)||(f.push(A),d&&(h=!0))}}let O;if(u.length?(D(),u.length>1?O=Ye(t.helper(Zr),u,l):O=u[0]):c.length&&(O=Pt(uu(c),l)),v?m|=16:(S&&!s&&(m|=2),N&&!s&&(m|=4),y.length&&(m|=8),_&&(m|=32)),!h&&(m===0||m===32)&&(p||E||f.length>0)&&(m|=512),!t.inSSR&&O)switch(O.type){case 15:let k=-1,A=-1,w=!1;for(let z=0;z<O.properties.length;z++){const W=O.properties[z].key;Ct(W)?W.content==="class"?k=z:W.content==="style"&&(A=z):W.isHandlerKey||(w=!0)}const F=O.properties[k],U=O.properties[A];w?O=Ye(t.helper(Wi),[O]):(F&&!Ct(F.value)&&(F.value=Ye(t.helper(ka),[F.value])),U&&(N||U.value.type===4&&U.value.content.trim()[0]==="["||U.value.type===17)&&(U.value=Ye(t.helper(Va),[U.value])));break;case 14:break;default:O=Ye(t.helper(Wi),[Ye(t.helper(ir),[O])]);break}return{props:O,directives:f,patchFlag:m,dynamicPropNames:y,shouldUseBlock:h}}function uu(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||An(r))&&q0(o,i):(t.set(r,i),n.push(i))}return n}function q0(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=ys([e.value,t.value],e.loc)}function G0(e,t){const n=[],s=Ch.get(e);s?n.push(t.helperString(s)):(t.helper(Ca),t.directives.add(e.name),n.push(Gi(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=ae("true",!1,i);n.push(Pt(e.modifiers.map(o=>qe(o,r)),i))}return ys(n,e.loc)}function J0(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function $l(e){return e==="component"||e==="Component"}const Z0=(e,t)=>{if(to(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=Y0(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=ti([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=Ye(t.helper(ih),o,s)}};function Y0(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=Oe(o.name),i.push(o)));else if(o.name==="bind"&&Jn(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=Oe(o.arg.content);n=o.exp=ae(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ct(o.arg)&&(o.arg.content=Oe(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Dh(e,t,i,!1,!1);s=r,o.length&&t.onError(De(36,o[0].loc))}return{slotName:n,slotProps:s}}const xh=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(De(35,i));let l;if(o.type===4)if(o.isStatic){let f=o.content;process.env.NODE_ENV!=="production"&&f.startsWith("vnode")&&n.onError(De(52,o.loc)),f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const d=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?en(Oe(f)):`on:${f}`;l=ae(d,!0,o.loc)}else l=qt([`${n.helperString(Al)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Al)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const f=fh(a),d=!(f||Uy(a)),h=a.content.includes(";");process.env.NODE_ENV!=="production"&&fs(a,n,!1,h),(d||c&&f)&&(a=qt([`${d?"$event":"(...args)"} => ${h?"{":"("}`,a,h?"}":")"]))}let u={props:[qe(l,a||ae("() => {}",!1,i))]};return s&&(u=s(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(f=>f.key.isHandlerKey=!0),u},X0=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=Oe(r.content):r.content=`${n.helperString(Vl)}(${r.content})`:(r.children.unshift(`${n.helperString(Vl)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&fu(r,"."),s.some(l=>l.content==="attr")&&fu(r,"^")),{props:[qe(r,o)]}},fu=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Q0=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(Zo(o)){i=!0;for(let l=r+1;l<n.length;l++){const a=n[l];if(Zo(a))s||(s=n[r]=qt([o],o.loc)),s.children.push(" + ",a),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(Zo(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&xt(o,t)===0&&l.push(1+(process.env.NODE_ENV!=="production"?` /* ${Si[1]} */`:"")),n[r]={type:12,content:o,loc:o.loc,codegenNode:Ye(t.helper(Sa),l)}}}}},du=new WeakSet,eE=(e,t)=>{if(e.type===1&&wt(e,"once",!0))return du.has(e)||t.inVOnce||t.inSSR?void 0:(du.add(e),t.inVOnce=!0,t.helper(Yr),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},Th=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(De(41,e.loc)),mi();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(De(44,s.loc)),mi();if(l==="literal-const"||l==="setup-const")return n.onError(De(45,s.loc)),mi();if(!o.trim()||!fh(s))return n.onError(De(42,s.loc)),mi();const a=i||ae("modelValue",!0),c=i?Ct(i)?`onUpdate:${Oe(i.content)}`:qt(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const f=n.isTS?"($event: any)":"$event";u=qt([`${f} => ((`,s,") = $event)"]);const d=[qe(a,e.exp),qe(c,u)];if(e.modifiers.length&&t.tagType===1){const h=e.modifiers.map(p=>p.content).map(p=>(Ra(p)?p:JSON.stringify(p))+": true").join(", "),m=i?Ct(i)?`${i.content}Modifiers`:qt([i,' + "Modifiers"']):"modelModifiers";d.push(qe(m,ae(`{ ${h} }`,!1,e.loc,2)))}return mi(d)};function mi(e=[]){return{props:e}}const tE=/[\w).+\-_$\]]/,nE=(e,t)=>{Qn("COMPILER_FILTERS",t)&&(e.type===5?so(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&so(n.exp,t)}))};function so(e,t){if(e.type===4)hu(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?hu(s,t):s.type===8?so(s,t):s.type===5&&so(s.content,t))}}function hu(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,a=0,c=0,u=0,f,d,h,m,p=[];for(h=0;h<n.length;h++)if(d=f,f=n.charCodeAt(h),s)f===39&&d!==92&&(s=!1);else if(i)f===34&&d!==92&&(i=!1);else if(r)f===96&&d!==92&&(r=!1);else if(o)f===47&&d!==92&&(o=!1);else if(f===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!l&&!a&&!c)m===void 0?(u=h+1,m=n.slice(0,h).trim()):S();else{switch(f){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:c++;break;case 41:c--;break;case 91:a++;break;case 93:a--;break;case 123:l++;break;case 125:l--;break}if(f===47){let N=h-1,_;for(;N>=0&&(_=n.charAt(N),_===" ");N--);(!_||!tE.test(_))&&(o=!0)}}m===void 0?m=n.slice(0,h).trim():u!==0&&S();function S(){p.push(n.slice(u,h).trim()),u=h+1}if(p.length){for(process.env.NODE_ENV!=="production"&&Qr("COMPILER_FILTERS",t,e.loc),h=0;h<p.length;h++)m=sE(m,p[h],t);e.content=m,e.ast=void 0}}function sE(e,t,n){n.helper(Da);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${Gi(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${Gi(i,"filter")}(${e}${r!==")"?","+r:r}`}}const pu=new WeakSet,iE=(e,t)=>{if(e.type===1){const n=wt(e,"memo");return!n||pu.has(e)||t.inSSR?void 0:(pu.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Pa(s,t),e.codegenNode=Ye(t.helper(Ma),[n.exp,ti(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}},rE=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const s=n.arg;if(s.type!==4||!s.isStatic)t.onError(De(53,s.loc)),n.exp=ae("",!0,s.loc);else{const i=Oe(s.content);(ch.test(i[0])||i[0]==="-")&&(n.exp=ae(i,!1,s.loc))}}}};function oE(e){return[[rE,eE,P0,iE,$0,nE,...process.env.NODE_ENV!=="production"?[M0]:[],Z0,W0,B0,Q0],{on:xh,bind:X0,model:Th}]}function lE(e,t={}){const n=t.onError||La,s=t.mode==="module";t.prefixIdentifiers===!0?n(De(48)):s&&n(De(49));const i=!1;t.cacheHandlers&&n(De(50)),t.scopeId&&!s&&n(De(51));const r=ie({},t,{prefixIdentifiers:i}),o=ee(e)?a0(e,r):e,[l,a]=oE();return d0(o,ie({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ie({},a,t.directiveTransforms||{})})),g0(o,r)}const aE=()=>({props:[]});const kh=Symbol(process.env.NODE_ENV!=="production"?"vModelRadio":""),Vh=Symbol(process.env.NODE_ENV!=="production"?"vModelCheckbox":""),Ah=Symbol(process.env.NODE_ENV!=="production"?"vModelText":""),Ih=Symbol(process.env.NODE_ENV!=="production"?"vModelSelect":""),jl=Symbol(process.env.NODE_ENV!=="production"?"vModelDynamic":""),Mh=Symbol(process.env.NODE_ENV!=="production"?"vOnModifiersGuard":""),Ph=Symbol(process.env.NODE_ENV!=="production"?"vOnKeysGuard":""),Lh=Symbol(process.env.NODE_ENV!=="production"?"vShow":""),Ka=Symbol(process.env.NODE_ENV!=="production"?"Transition":""),Rh=Symbol(process.env.NODE_ENV!=="production"?"TransitionGroup":"");Vy({[kh]:"vModelRadio",[Vh]:"vModelCheckbox",[Ah]:"vModelText",[Ih]:"vModelSelect",[jl]:"vModelDynamic",[Mh]:"withModifiers",[Ph]:"withKeys",[Lh]:"vShow",[Ka]:"Transition",[Rh]:"TransitionGroup"});let As;function cE(e,t=!1){return As||(As=document.createElement("div")),t?(As.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,As.children[0].getAttribute("foo")):(As.innerHTML=e,As.textContent)}const uE={parseMode:"html",isVoidTag:xp,isNativeTag:e=>$u(e)||ju(e)||Hu(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:cE,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Ka;if(e==="TransitionGroup"||e==="transition-group")return Rh},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},fE=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:ae("style",!0,t.loc),exp:dE(t.value.content,t.loc),modifiers:[],loc:t.loc})})},dE=(e,t)=>{const n=Fu(e);return ae(JSON.stringify(n),!1,t,3)};function Ut(e,t){return De(e,t,process.env.NODE_ENV!=="production"?hE:void 0)}const hE={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},pE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Ut(54,i)),t.children.length&&(n.onError(Ut(55,i)),t.children.length=0),{props:[qe(ae("innerHTML",!0,i),s||ae("",!0))]}},mE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Ut(56,i)),t.children.length&&(n.onError(Ut(57,i)),t.children.length=0),{props:[qe(ae("textContent",!0),s?xt(s,n)>0?s:Ye(n.helperString(ko),[s],i):ae("",!0))]}},gE=(e,t,n)=>{const s=Th(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(Ut(59,e.arg.loc));function i(){const l=wt(t,"bind");l&&Jn(l.arg,"value")&&n.onError(Ut(61,l.loc))}const{tag:r}=t,o=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||o){let l=Ah,a=!1;if(r==="input"||o){const c=qi(t,"type");if(c){if(c.type===7)l=jl;else if(c.value)switch(c.value.content){case"radio":l=kh;break;case"checkbox":l=Vh;break;case"file":a=!0,n.onError(Ut(60,e.loc));break;default:process.env.NODE_ENV!=="production"&&i();break}}else Wy(t)?l=jl:process.env.NODE_ENV!=="production"&&i()}else r==="select"?l=Ih:process.env.NODE_ENV!=="production"&&i();a||(s.needRuntime=n.helper(l))}else n.onError(Ut(58,e.loc));return s.props=s.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),s},vE=nt("passive,once,capture"),yE=nt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),EE=nt("left,right"),Fh=nt("onkeyup,onkeydown,onkeypress"),_E=(e,t,n,s)=>{const i=[],r=[],o=[];for(let l=0;l<t.length;l++){const a=t[l].content;a==="native"&&ii("COMPILER_V_ON_NATIVE",n,s)||vE(a)?o.push(a):EE(a)?Ct(e)?Fh(e.content.toLowerCase())?i.push(a):r.push(a):(i.push(a),r.push(a)):yE(a)?r.push(a):i.push(a)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},mu=(e,t)=>Ct(e)&&e.content.toLowerCase()==="onclick"?ae(t,!0):e.type!==4?qt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,bE=(e,t,n)=>xh(e,t,n,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:a,eventOptionModifiers:c}=_E(r,i,n,e.loc);if(a.includes("right")&&(r=mu(r,"onContextmenu")),a.includes("middle")&&(r=mu(r,"onMouseup")),a.length&&(o=Ye(n.helper(Mh),[o,JSON.stringify(a)])),l.length&&(!Ct(r)||Fh(r.content.toLowerCase()))&&(o=Ye(n.helper(Ph),[o,JSON.stringify(l)])),c.length){const u=c.map(fn).join("");r=Ct(r)?ae(`${r.content}${u}`,!0):qt(["(",r,`) + "${u}"`])}return{props:[qe(r,o)]}}),NE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Ut(62,i)),{props:[],needRuntime:n.helper(Lh)}},SE=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===Ka)return()=>{if(!e.children.length)return;$h(e)&&t.onError(Ut(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const s=e.children[0];if(s.type===1)for(const i of s.props)i.type===7&&i.name==="show"&&e.props.push({type:6,name:"persisted",nameLoc:e.loc,value:void 0,loc:e.loc})}};function $h(e){const t=e.children=e.children.filter(s=>!ja(s)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some($h)}const OE=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(process.env.NODE_ENV!=="production"&&t.onError(Ut(64,e.loc)),t.removeNode())};function wE(e,t){return e==="template"?!0:e in gu?gu[e].has(t):t in vu?vu[t].has(e):!(e in yu&&yu[e].has(t)||t in Eu&&Eu[t].has(e))}const Is=new Set(["h1","h2","h3","h4","h5","h6"]),as=new Set([]),gu={head:new Set(["base","basefront","bgsound","link","meta","title","noscript","noframes","style","script","template"]),optgroup:new Set(["option"]),select:new Set(["optgroup","option","hr"]),table:new Set(["caption","colgroup","tbody","tfoot","thead"]),tr:new Set(["td","th"]),colgroup:new Set(["col"]),tbody:new Set(["tr"]),thead:new Set(["tr"]),tfoot:new Set(["tr"]),script:as,iframe:as,option:as,textarea:as,style:as,title:as},vu={html:as,body:new Set(["html"]),head:new Set(["html"]),td:new Set(["tr"]),colgroup:new Set(["table"]),caption:new Set(["table"]),tbody:new Set(["table"]),tfoot:new Set(["table"]),col:new Set(["colgroup"]),th:new Set(["tr"]),thead:new Set(["table"]),tr:new Set(["tbody","thead","tfoot"]),dd:new Set(["dl","div"]),dt:new Set(["dl","div"]),figcaption:new Set(["figure"]),summary:new Set(["details"]),area:new Set(["map"])},yu={p:new Set(["address","article","aside","blockquote","center","details","dialog","dir","div","dl","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","menu","ol","p","pre","section","table","ul"]),svg:new Set(["b","blockquote","br","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","hr","i","img","li","menu","meta","ol","p","pre","ruby","s","small","span","strong","sub","sup","table","u","ul","var"])},Eu={a:new Set(["a"]),button:new Set(["button"]),dd:new Set(["dd","dt"]),dt:new Set(["dd","dt"]),form:new Set(["form"]),li:new Set(["li"]),h1:Is,h2:Is,h3:Is,h4:Is,h5:Is,h6:Is},CE=(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!wE(t.parent.tag,e.tag)){const n=new SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}},DE=[fE,...process.env.NODE_ENV!=="production"?[SE,CE]:[]],xE={cloak:aE,html:pE,text:mE,model:gE,on:bE,show:NE};function TE(e,t={}){return lE(e,ie({},uE,t,{nodeTransforms:[OE,...DE,...t.nodeTransforms||[]],directiveTransforms:ie({},xE,t.directiveTransforms||{}),transformHoist:null}))}function kE(){Dd()}process.env.NODE_ENV!=="production"&&kE();const _u=Object.create(null);function VE(e,t){if(!ee(e))if(e.nodeType)e=e.innerHTML;else return process.env.NODE_ENV!=="production"&&$e("invalid template option: ",e),Pe;const n=pp(e,t),s=_u[n];if(s)return s;if(e[0]==="#"){const a=document.querySelector(e);process.env.NODE_ENV!=="production"&&!a&&$e(`Template element not found or is empty: ${e}`),e=a?a.innerHTML:""}const i=ie({hoistStatic:!0,onError:process.env.NODE_ENV!=="production"?o:void 0,onWarn:process.env.NODE_ENV!=="production"?a=>o(a,!0):Pe},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=a=>!!customElements.get(a));const{code:r}=TE(e,i);function o(a,c=!1){const u=c?a.message:`Template compilation error: ${a.message}`,f=a.loc&&yp(e,a.loc.start.offset,a.loc.end.offset);$e(f?`${u}
|
|
34
|
+
${f}`:u)}const l=new Function("Vue",r)(wy);return l._rc=!0,_u[n]=l}Sd(VE);const AE=vt({name:"kx-loading",props:{text:String,customClass:{type:String,default:""},customStyle:{default:()=>({})},size:{type:String,default:"medium"}},setup(e,{emit:t}){const n=ne(!1),s=ne([{id:0,delay:0},{id:1,delay:.15},{id:2,delay:.3}]),i=c=>`${c}px`,r=oe(()=>({medium:{width:4,height:10},mini:{width:2,height:6}})[e.size]),o=oe(()=>{const c=r.value;return{"--column-width":i(c.width),"--column-height":i(c.height),width:i(c.width*2*3)}}),l=function(c){return{left:i(c*r.value.width*2),backgroundColor:"#327dff",animationDelay:`${.15*c}s`}};function a(){t("after-leave")}return{visible:n,animateOptions:s,getColumnStyle:l,handleAfterLeave:a,containerStyle:o}}}),Ln=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},IE={key:0,class:"m-loading-text"};function ME(e,t,n,s,i,r){return fe(),zt(ga,{name:"xfade",onAfterLeave:e.handleAfterLeave},{default:ln(()=>[Zn(le("div",{class:Ve(["m-loading-mask",[e.customClass]]),style:Xe(e.customStyle)},[le("div",{class:"loading-animate",style:Xe(e.containerStyle)},[(fe(!0),ke(Te,null,ms(e.animateOptions,(o,l)=>(fe(),ke("div",{key:o.id,class:"loading-animate-column",style:Xe(e.getColumnStyle(l))},null,4))),128))],4),e.text?(fe(),ke("p",IE,on(e.text),1)):un("",!0)],6),[[Xn,e.visible]])]),_:1},8,["onAfterLeave"])}const PE=Ln(AE,[["render",ME],["__scopeId","data-v-da721280"]]),Qo={create(e,t){const n=document.createElement("div"),s=Gr(PE,t),i=s.mount(n);e._loadingInstance={app:s,vm:i,dom:n}},destroy(e){const t=e._loadingInstance;t&&(t.app.unmount(),t.dom.remove(),delete e._loadingInstance)},getLoadingDom(e){return e._loadingInstance?.dom}},el=(e,t)=>{const n=e._loadingInstance;n&&(n.vm.visible=t)},LE=(e,t)=>{if(!e||!t)return null;try{const n=document.defaultView?.getComputedStyle(e,"");return(e.style[t]||n?.[t])??null}catch{return e.style[t]}},RE={mounted(e,t){const n=LE(e,"position"),{modifiers:s}=t;!s?.fullscreen&&(!n||n==="static")&&e.classList.add("m-loading-parent--relative");const i={};s?.mini&&(i.size="mini"),Qo.create(e,i);const r=Qo.getLoadingDom(e);s?.fullscreen?document.body.appendChild(r):e.appendChild(r),t.value&&el(e,!0)},updated(e,t){t.oldValue!==t.value&&el(e,!!t.value)},unmounted(e,t){el(e,!1),Qo.destroy(e)}},Ua=function({isMaster:e=!0,key:t="compExp"}={}){if(e){const n={},s=function(i){Object.assign(n,i)};return ea(t,{funcs:n,registerFunc:s}),{funcs:n,registerFunc:s}}else{const{funcs:n,registerFunc:s}=Bs(t,{funcs:{},registerFunc:(...i)=>{}});return{funcs:n,registerFunc:s}}};function FE(e,t,n){const s=new Array(e);return new Proxy(s,{get(i,r,o){if(typeof r=="string"){const l=r.charCodeAt(0);if(l>=48&&l<=57){const a=+r;if(Number.isInteger(a)&&a>=0&&a<e){let c=i[a];if(!c){const u=t[a*2];c=i[a]={index:a,key:n(a),start:u,size:t[a*2+1],end:u+t[a*2+1],lane:0}}return c}}if(r==="length")return e}return Reflect.get(i,r,o)}})}function Ms(e,t,n){let s=n.initialDeps??[],i,r=!0;function o(){var l;const a=process.env.NODE_ENV!=="production"&&!!n.key&&!!((l=n.debug)!=null&&l.call(n));let c=0;a&&(c=Date.now());const u=e();if(!(u.length!==s.length||u.some((h,m)=>s[m]!==h)))return i;s=u;let d=0;if(a&&(d=Date.now()),i=t(...u),a){const h=Math.round((Date.now()-c)*100)/100,m=Math.round((Date.now()-d)*100)/100,p=m/16,S=(N,_)=>{for(N=String(N);N.length<_;)N=" "+N;return N};console.info(`%c⏱ ${S(m,5)} /${S(h,5)} ms`,`
|
|
35
35
|
font-size: .6rem;
|
|
36
36
|
font-weight: bold;
|
|
37
|
-
color: hsl(${Math.max(0,Math.min(120-120*p,120))}deg 100% 31%);`,n?.key)}return n?.onChange&&!(r&&n.skipInitialOnChange)&&n.onChange(i),r=!1,i}return o.updateDeps=l=>{s=l},o}function mu(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const xE=(e,t)=>Math.abs(e-t)<1.01,TE=(e,t,n)=>{let s;return function(...i){e.clearTimeout(s),s=e.setTimeout(()=>t.apply(this,i),n)}};let di;const Jo=()=>{if(di!==void 0)return di;if(typeof navigator>"u")return di=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return di=!0;const e=navigator.maxTouchPoints;return di=navigator.platform==="MacIntel"&&e!==void 0&&e>0},gu=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},VE=e=>e,kE=e=>{const t=Math.max(e.startIndex-e.overscan,0),s=Math.min(e.endIndex+e.overscan,e.count-1)-t+1,i=new Array(s);for(let r=0;r<s;r++)i[r]=t+r;return i},AE=(e,t)=>{const n=e.scrollElement;if(!n)return;const s=e.targetWindow;if(!s)return;const i=o=>{const{width:l,height:a}=o;t({width:Math.round(l),height:Math.round(a)})};if(i(gu(n)),!s.ResizeObserver)return()=>{};const r=new s.ResizeObserver(o=>{const l=()=>{const a=o[0];if(a?.borderBoxSize){const c=a.borderBoxSize[0];if(c){i({width:c.inlineSize,height:c.blockSize});return}}i(gu(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(l):l()});return r.observe(n,{box:"border-box"}),()=>{r.unobserve(n)}},Xr={passive:!0},IE=typeof window>"u"?!0:"onscrollend"in window,ME=(e,t,n)=>{const s=e.scrollElement;if(!s)return;const i=e.targetWindow;if(!i)return;const r=e.options.useScrollendEvent&&IE;let o=0;const l=r?null:TE(i,()=>t(o,!1),e.options.isScrollingResetDelay),a=f=>()=>{o=n(s),l?.(),t(o,f)},c=a(!0),u=a(!1);return s.addEventListener("scroll",c,Xr),r&&s.addEventListener("scrollend",u,Xr),()=>{s.removeEventListener("scroll",c),r&&s.removeEventListener("scrollend",u)}},PE=(e,t)=>ME(e,t,n=>{const{horizontal:s,isRtl:i}=e.options;return s?n.scrollLeft*(i&&-1||1):n.scrollTop}),LE=(e,t,n)=>{if(n.options.useCachedMeasurements){const s=n.indexFromElement(e),i=n.options.getItemKey(s);return n.itemSizeCache.get(i)??n.options.estimateSize(s)}if(t?.borderBoxSize){const s=t.borderBoxSize[0];if(s)return Math.round(s[n.options.horizontal?"inlineSize":"blockSize"])}if(!t){const s=n.indexFromElement(e),i=n.options.getItemKey(s),r=n.itemSizeCache.get(i);if(r!==void 0)return r}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},FE=(e,{adjustments:t=0,behavior:n},s)=>{var i,r;(r=(i=s.scrollElement)==null?void 0:i.scrollTo)==null||r.call(i,{[s.options.horizontal?"left":"top"]:e+t,behavior:n})},RE=FE;class $E{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._flatMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._intendedScrollOffset=null,this.elementsCache=new Map,this.now=()=>{var n,s,i;return((i=(s=(n=this.targetWindow)==null?void 0:n.performance)==null?void 0:s.now)==null?void 0:i.call(s))??Date.now()},this.observer=(()=>{let n=null;const s=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(i=>{i.forEach(r=>{const o=()=>{const l=r.target,a=this.indexFromElement(l);if(!l.isConnected){this.observer.unobserve(l);for(const[c,u]of this.elementsCache)if(u===l){this.elementsCache.delete(c);break}return}this.shouldMeasureDuringScroll(a)&&this.resizeItem(a,this.options.measureElement(l,r,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()})}));return{disconnect:()=>{var i;(i=s())==null||i.disconnect(),n=null},observe:i=>{var r;return(r=s())==null?void 0:r.observe(i,{box:"border-box"})},unobserve:i=>{var r;return(r=s())==null?void 0:r.unobserve(i)}}})(),this.range=null,this.setOptions=n=>{var s,i;const r={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:VE,rangeExtractor:kE,onChange:()=>{},measureElement:LE,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,anchorTo:"start",followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",useCachedMeasurements:!1};for(const d in n){const h=n[d];h!==void 0&&(r[d]=h)}const o=this.options;let l=null,a=null,c=!1;if(o!==void 0&&o.enabled&&r.enabled&&r.anchorTo==="end"&&this.scrollElement!==null){const d=o.count,h=r.count,m=this.getMeasurements(),p=d>0?((s=m[0])==null?void 0:s.key)??o.getItemKey(0):null,S=d>0?((i=m[d-1])==null?void 0:i.key)??o.getItemKey(d-1):null;if(h!==d||d>0&&h>0&&(r.getItemKey(0)!==p||r.getItemKey(h-1)!==S)){c=!0;const g=d>0?this.getVirtualItemForOffset(this.getScrollOffset())??m[0]:null;g&&(l=[g.key,this.getScrollOffset()-g.start]);const _=r.followOnAppend===!0?"auto":r.followOnAppend||null;_&&h>d&&this.isAtEnd(o.scrollEndThreshold)&&(d===0||r.getItemKey(h-1)!==S)&&(a=_)}}this.options=r,c&&(this.pendingMin=0,this.itemSizeCacheVersion++);let u=!1,f=0;if(l&&this.scrollOffset!==null){const[d,h]=l,m=this.getMeasurements(),{count:p,getItemKey:S}=this.options;let N=0;for(;N<p&&S(N)!==d;)N++;if(N<p){const E=m[N];if(E){const g=E.start+h;g!==this.scrollOffset&&(f=g-this.scrollOffset,this.scrollOffset=g,u=!0)}}}(u||a)&&(this.pendingScrollAnchor=[u?l[0]:null,u?l[1]:0,a,f])},this.notify=n=>{var s,i;(i=(s=this.options).onChange)==null||i.call(s,this,n)},this.maybeNotify=As(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}if(this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(r=>{this.observer.observe(r)}),this.unsubs.push(this.options.observeElementRect(this,r=>{this.scrollRect=r,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(r,o)=>{if(o&&this._intendedScrollOffset===null&&r===this.scrollOffset)return;this._intendedScrollOffset!==null&&Math.abs(r-this._intendedScrollOffset)<1.5&&(r=this._intendedScrollOffset),this._intendedScrollOffset=null,this.scrollAdjustments=0;const l=this.getScrollOffset();this.scrollDirection=o?l===r?this.scrollDirection:l<r?"forward":"backward":null,this.scrollOffset=r,this.isScrolling=o,this._flushIosDeferredIfReady(),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),"addEventListener"in this.scrollElement){const r=this.scrollElement,o=()=>{this._iosTouching=!0,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)},l=()=>{this._iosTouching=!1,!(!Jo()||this.targetWindow==null)&&(this._iosJustTouchEnded=!0,this._iosTouchEndTimerId=this.targetWindow.setTimeout(()=>{this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._flushIosDeferredIfReady()},150))};r.addEventListener("touchstart",o,Xr),r.addEventListener("touchend",l,Xr),this.unsubs.push(()=>{r.removeEventListener("touchstart",o),r.removeEventListener("touchend",l),this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)})}this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}const i=this.pendingScrollAnchor;if(this.pendingScrollAnchor=null,i&&this.scrollElement&&this.options.enabled){const[r,o,l,a]=i;r!==null&&!l&&(Jo()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?a!==0&&(this._iosDeferredAdjustment+=a):this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})),l&&this.scrollToEnd({behavior:l})}},this._flushIosDeferredIfReady=()=>{if(this._iosDeferredAdjustment===0||this.isScrolling||this._iosTouching||this._iosJustTouchEnded)return;const n=this.getScrollOffset(),s=this.getMaxScrollOffset();if(n<0||n>s)return;const i=this._iosDeferredAdjustment;this._iosDeferredAdjustment=0,this._scrollToOffset(n,{adjustments:this.scrollAdjustments+=i,behavior:void 0})},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getMeasurementOptions=As(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode,this.options.gap],(n,s,i,r,o,l,a,c)=>(this.prevLanes!==void 0&&this.prevLanes!==l&&(this.lanesChangedFlag=!0),this.prevLanes=l,this.pendingMin=null,{count:n,paddingStart:s,scrollMargin:i,getItemKey:r,enabled:o,lanes:l,laneAssignmentMode:a,gap:c}),{key:!1}),this.getMeasurements=As(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:n,paddingStart:s,scrollMargin:i,getItemKey:r,enabled:o,lanes:l,laneAssignmentMode:a,gap:c},u)=>{const f=this.itemSizeCache;if(!o)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>n)for(const N of this.laneAssignments.keys())N>=n&&this.laneAssignments.delete(N);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(N=>{this.itemSizeCache.set(N.key,N.size)}));const d=this.lanesSettling?0:this.pendingMin??0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===n&&(this.lanesSettling=!1),l===1){const N=n*2;let E=this._flatMeasurements;if(!E||E.length<N){const y=new Float64Array(N);E&&d>0&&y.set(E.subarray(0,d*2)),E=y,this._flatMeasurements=E}let g;if(d===0)g=s+i;else{const y=d-1;g=E[y*2]+E[y*2+1]+c}for(let y=d;y<n;y++){const w=r(y),P=f.get(w),T=typeof P=="number"?P:this.options.estimateSize(y);E[y*2]=g,E[y*2+1]=T,g+=T+c}const _=DE(n,E,r);return this.measurementsCache=_,_}const h=this.measurementsCache.slice(0,d),m=new Array(l).fill(void 0),p=new Float64Array(l);let S=0;for(let N=0;N<d;N++){const E=h[N];E&&(m[E.lane]===void 0&&S++,m[E.lane]=N,p[E.lane]=E.end)}for(let N=d;N<n;N++){const E=r(N),g=this.laneAssignments.get(N);let _,y;const w=a==="estimate"||f.has(E);if(g!==void 0&&this.options.lanes>1){_=g;const D=m[_],I=D!==void 0?h[D]:void 0;y=I?I.end+c:s+i}else if(S===l){let D=0,I=p[0],C=m[0];for(let R=1;R<l;R++){const G=p[R];(G<I||G===I&&m[R]<C)&&(D=R,I=G,C=m[R])}_=D,y=I+c,w&&this.laneAssignments.set(N,_)}else _=N%this.options.lanes,y=s+i,w&&this.laneAssignments.set(N,_);const P=f.get(E),T=typeof P=="number"?P:this.options.estimateSize(N),O=y+T;h[N]={index:N,start:y,size:T,end:O,key:E,lane:_},m[_]===void 0&&S++,m[_]=N,p[_]=O}return this.measurementsCache=h,h},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=As(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,s,i,r)=>n.length===0||s===0?(this.range=null,null):(this.range=HE(n,s,i,r,r===1&&this._flatMeasurements!=null?this._flatMeasurements:null),this.range),{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=As(()=>{let n=null,s=null;const i=this.calculateRange();return i&&(n=i.startIndex,s=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,s]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,s]},(n,s,i,r,o)=>r===null||o===null?[]:n({startIndex:r,endIndex:o,overscan:s,count:i}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=n=>{const s=this.options.indexAttribute,i=n.getAttribute(s);return i?parseInt(i,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=n=>{var s;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const i=this.scrollState.index??((s=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:s.index);if(i!==void 0&&this.range){const r=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),o=Math.max(0,i-r),l=Math.min(this.options.count-1,i+r);return n>=o&&n<=l}return!0},this.measureElement=n=>{if(!n){this.elementsCache.forEach((o,l)=>{o.isConnected||(this.observer.unobserve(o),this.elementsCache.delete(l))});return}const s=this.indexFromElement(n),i=this.options.getItemKey(s),r=this.elementsCache.get(i);r!==n&&(r&&this.observer.unobserve(r),this.observer.observe(n),this.elementsCache.set(i,n)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(s)&&this.resizeItem(s,this.options.measureElement(n,void 0,this))},this.resizeItem=(n,s)=>{var i,r;if(n<0||n>=this.options.count)return;let o,l,a;const c=this._flatMeasurements;if(this.options.lanes===1&&c!==null)a=this.options.getItemKey(n),l=c[n*2],o=c[n*2+1];else{const d=this.measurementsCache[n];if(!d)return;a=d.key,l=d.start,o=d.size}const u=this.itemSizeCache.get(a)??o,f=s-u;if(f!==0){const d=this.options.anchorTo==="end"&&((i=this.scrollState)==null?void 0:i.behavior)!=="smooth"&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,h=d?this.getTotalSize():0,m=((r=this.scrollState)==null?void 0:r.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[n]??{index:n,key:a,start:l,size:o,end:l+o,lane:0},f,this):l<this.getScrollOffset()+this.scrollAdjustments&&(!this.itemSizeCache.has(a)||this.scrollDirection!=="backward"));(this.pendingMin===null||n<this.pendingMin)&&(this.pendingMin=n),this.itemSizeCache.set(a,s),this.itemSizeCacheVersion++,d?this.applyScrollAdjustment(this.getTotalSize()-h):m&&this.applyScrollAdjustment(f),this.notify(!1)}},this.getVirtualItems=As(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,s)=>{const i=[];for(let r=0,o=n.length;r<o;r++){const l=n[r],a=s[l];i.push(a)}return i},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const s=this.getMeasurements();if(s.length===0)return;const i=this._flatMeasurements,r=this.options.lanes===1&&i!=null,o=Lh(0,s.length-1,r?l=>i[l*2]:l=>mu(s[l]).start,n);return mu(s[o])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const n=this.scrollElement.document.documentElement;return this.options.horizontal?n.scrollWidth-this.scrollElement.innerWidth:n.scrollHeight-this.scrollElement.innerHeight}},this.getVirtualDistanceFromEnd=()=>Math.max(this.getTotalSize()-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(n=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=n,this.getOffsetForAlignment=(n,s,i=0)=>{if(!this.scrollElement)return 0;const r=this.getSize(),o=this.getScrollOffset();s==="auto"&&(s=n>=o+r?"end":"start"),s==="center"?n+=(i-r)/2:s==="end"&&(n-=r);const l=this.getMaxScrollOffset();return Math.max(Math.min(l,n),0)},this.getOffsetForIndex=(n,s="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=this.getSize(),r=this.getScrollOffset(),o=this.measurementsCache[n];if(!o)return;if(s==="auto")if(o.end>=r+i-this.options.scrollPaddingEnd)s="end";else if(o.start<=r+this.options.scrollPaddingStart)s="start";else return[r,s];if(s==="end"&&n===this.options.count-1)return[this.getMaxScrollOffset(),s];const l=s==="end"?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(l,s,o.size),s]},this.scrollToOffset=(n,{align:s="start",behavior:i="auto"}={})=>{const r=this.getOffsetForAlignment(n,s),o=this.now();this.scrollState={index:null,align:s,behavior:i,startedAt:o,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollToIndex=(n,{align:s="auto",behavior:i="auto"}={})=>{n=Math.max(0,Math.min(n,this.options.count-1));const r=this.getOffsetForIndex(n,s);if(!r)return;const[o,l]=r,a=this.now();this.scrollState={index:n,align:l,behavior:i,startedAt:a,lastTargetOffset:o,stableFrames:0},this._scrollToOffset(o,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollBy=(n,{behavior:s="auto"}={})=>{const i=this.getScrollOffset()+n,r=this.now();this.scrollState={index:null,align:"start",behavior:s,startedAt:r,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:s}),this.scheduleScrollReconcile()},this.scrollToEnd=({behavior:n="auto"}={})=>{if(this.options.count>0){this.scrollToIndex(this.options.count-1,{align:"end",behavior:n});return}this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:n})},this.getTotalSize=()=>{var n;const s=this.getMeasurements();let i;if(s.length===0)i=this.options.paddingStart;else if(this.options.lanes===1){const r=s.length-1,o=this._flatMeasurements;o!=null?i=o[r*2]+o[r*2+1]:i=((n=s[r])==null?void 0:n.end)??0}else{const r=Array(this.options.lanes).fill(null);let o=s.length-1;for(;o>=0&&r.some(l=>l===null);){const l=s[o];r[l.lane]===null&&(r[l.lane]=l.end),o--}i=Math.max(...r.filter(l=>l!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{const n=[];if(this.itemSizeCache.size===0)return n;const s=this.getMeasurements();for(const i of s)i&&this.itemSizeCache.has(i.key)&&n.push({index:i.index,key:i.key,start:i.start,size:i.size,end:i.end,lane:i.lane});return n},this._scrollToOffset=(n,{adjustments:s,behavior:i})=>{this._intendedScrollOffset=n+(s??0),this.options.scrollToFn(n,{behavior:i,adjustments:s},this)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(t)}applyScrollAdjustment(t,n){t!==0&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",t),Jo()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?this._iosDeferredAdjustment+=t:(this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=t,behavior:n}),this.scrollOffset!==null&&(this.scrollOffset+=this.scrollAdjustments,this.scrollAdjustments=0)))}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const s=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,i=s?s[0]:this.scrollState.lastTargetOffset,r=1,o=i!==this.scrollState.lastTargetOffset;if(!o&&xE(i,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=r){this.getScrollOffset()!==i&&this._scrollToOffset(i,{adjustments:void 0,behavior:"auto"}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,o){const l=this.getSize()||600,a=Math.abs(i-this.getScrollOffset()),c=this.scrollState.behavior==="smooth"&&a>l;this.scrollState.lastTargetOffset=i,c||(this.scrollState.behavior="auto"),this._scrollToOffset(i,{adjustments:void 0,behavior:c?"smooth":"auto"})}this.scheduleScrollReconcile()}}const Lh=(e,t,n,s)=>{for(;e<=t;){const i=(e+t)/2|0,r=n(i);if(r<s)e=i+1;else if(r>s)t=i-1;else return i}return e>0?e-1:0};function jE(e,t,n){let s=0;for(;s<=t;){const i=(s+t)/2|0,r=e[i*2];if(r<n)s=i+1;else if(r>n)t=i-1;else return i}return s>0?s-1:0}function HE(e,t,n,s,i){const r=e.length-1;if(e.length<=s)return{startIndex:0,endIndex:r};if(s===1&&i!==null){const c=jE(i,r,n);let u=c;const f=n+t;for(;u<r&&i[u*2]+i[u*2+1]<f;)u++;return{startIndex:c,endIndex:u}}let l=Lh(0,r,c=>e[c].start,n),a=l;if(s===1)for(;a<r&&e[a].end<n+t;)a++;else if(s>1){const c=Array(s).fill(0);for(;a<r&&c.some(f=>f<n+t);){const f=e[a];c[f.lane]=f.end,a++}const u=Array(s).fill(n+t);for(;l>=0&&u.some(f=>f>=n);){const f=e[l];u[f.lane]=f.start,l--}l=Math.max(0,l-l%s),a=Math.min(r,a+(s-1-a%s))}return{startIndex:l,endIndex:a}}function BE(e){const t=new $E(Y(e)),n=Un(t),s=t._didMount();return ft(()=>Y(e).getScrollElement(),i=>{i&&t._willUpdate()},{immediate:!0}),ft(()=>Y(e),i=>{t.setOptions({...i,onChange:(r,o)=>{var l;nl(n),(l=i.onChange)==null||l.call(i,r,o)}}),t._willUpdate(),nl(n)},{immediate:!0}),ju(s),n}function KE(e){return BE(ie(()=>({observeElementRect:AE,observeElementOffset:PE,scrollToFn:RE,...Y(e)})))}const Fh=function({isMaster:e=!0}={}){return{...Pa({isMaster:e,key:"virtualExp"})}},UE=pt({name:"VirtualScroll",props:{items:{required:!0,type:Array},itemSize:{required:!0,type:[Number,Function]},keyField:{default:"key",type:String},overscan:{default:5,type:Number}},setup(e,{emit:t}){const n=ne(null),s=ie(()=>({count:e.items.length||0,getScrollElement:()=>n.value,estimateSize:d=>{const h=typeof e.itemSize=="function"?e.itemSize(e.items[d],d):e.itemSize;return Math.max(0,Number(h)||0)},getItemKey:d=>e.items[d]?.[e.keyField]??d,overscan:e.overscan})),i=KE(s),r=ie(()=>i.value?.getTotalSize()||0),o=ie(()=>(i.value?.getVirtualItems()||[]).map(h=>{const m=e.items[h.index];return{...h,key:m?.[e.keyField]??h.key}})),l=()=>i.value,{registerFunc:a}=Fh({isMaster:!1});a({virtualer:i,resizeItem(d,h){const m=e.items.findIndex(p=>p[e.keyField]===d);i.value.resizeItem(m,h)}});let c=0,u=0;function f(d){const{scrollTop:h,scrollLeft:m}=d.target;h!==c&&(c=h,t("scrollY",{scrollTop:h,evt:d})),m!==u&&(u=m,t("scrollX",{scrollLeft:m,evt:d}))}return{scrollCtn:n,onScroll:f,totalHeight:r,virtualItems:o,getVirtualer:l}}});function WE(e,t,n,s,i,r){return fe(),Ce("div",{class:"scroll-wrapper",ref:"scrollCtn",onScroll:t[0]||(t[0]=(...o)=>e.onScroll&&e.onScroll(...o))},[ae("div",{class:"scroll-inner-wrapper",style:qe({height:e.totalHeight+"px",position:"relative"})},[(fe(!0),Ce(we,null,hs(e.virtualItems,o=>(fe(),Ce("div",{class:"virtual-item",key:o.key,style:qe({height:`${o.size}px`,transform:`translateY(${o.start}px)`})},[Bn(e.$slots,"default",{item:e.items[o.index],index:o.index},void 0,!0)],4))),128))],4)],544)}const zE=kn(UE,[["render",WE],["__scopeId","data-v-2acac909"]]),qE={like(e,t){return t?e?String(e).trim().toLowerCase().includes(String(t).trim().toLowerCase()):!1:!0}},GE=globalThis.crypto.randomUUID?()=>crypto.randomUUID():()=>`${Date.now()}-${Math.random().toString(16).slice(2)}`,vu=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})();function JE(e,t,{signal:n,edges:s}={}){let i,r=null;const o=s!=null&&s.includes("leading"),l=s==null||s.includes("trailing"),a=()=>{r!==null&&(e.apply(i,r),i=void 0,r=null)},c=()=>{l&&a(),h()};let u=null;const f=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,c()},t)},d=()=>{u!==null&&(clearTimeout(u),u=null)},h=()=>{d(),i=void 0,r=null},m=()=>{a()},p=function(...S){if(n?.aborted)return;i=this,r=S;const N=u==null;f(),o&&N&&a()};return p.schedule=f,p.cancel=h,p.flush=m,n?.addEventListener("abort",h,{once:!0}),p}function ZE(e){return e==null||typeof e!="object"&&typeof e!="function"}function YE(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function XE(e){return typeof vu.Buffer<"u"&&vu.Buffer.isBuffer(e)}function QE(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function e_(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const t_="[object RegExp]",n_="[object String]",s_="[object Number]",i_="[object Boolean]",r_="[object Arguments]",o_="[object Symbol]",l_="[object Date]",a_="[object Map]",c_="[object Set]",u_="[object Array]",f_="[object ArrayBuffer]",d_="[object Object]",h_="[object DataView]",p_="[object Uint8Array]",m_="[object Uint8ClampedArray]",g_="[object Uint16Array]",v_="[object Uint32Array]",y_="[object Int8Array]",E_="[object Int16Array]",__="[object Int32Array]",b_="[object Float32Array]",N_="[object Float64Array]";function Ps(e,t,n,s=new Map,i=void 0){const r=i?.(e,t,n,s);if(r!==void 0)return r;if(ZE(e))return e;if(s.has(e))return s.get(e);if(Array.isArray(e)){const o=new Array(e.length);s.set(e,o);for(let l=0;l<e.length;l++)o[l]=Ps(e[l],l,n,s,i);return Object.hasOwn(e,"index")&&(o.index=e.index),Object.hasOwn(e,"input")&&(o.input=e.input),o}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){const o=new RegExp(e.source,e.flags);return o.lastIndex=e.lastIndex,o}if(e instanceof Map){const o=new Map;s.set(e,o);for(const[l,a]of e)o.set(l,Ps(a,l,n,s,i));return o}if(e instanceof Set){const o=new Set;s.set(e,o);for(const l of e)o.add(Ps(l,void 0,n,s,i));return o}if(XE(e))return e.subarray();if(YE(e)){const o=new(Object.getPrototypeOf(e)).constructor(e.length);s.set(e,o);for(let l=0;l<e.length;l++)o[l]=Ps(e[l],l,n,s,i);return o}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){const o=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return s.set(e,o),Mn(o,e,n,s,i),o}if(typeof File<"u"&&e instanceof File){const o=new File([e],e.name,{type:e.type});return s.set(e,o),Mn(o,e,n,s,i),o}if(typeof Blob<"u"&&e instanceof Blob){const o=new Blob([e],{type:e.type});return s.set(e,o),Mn(o,e,n,s,i),o}if(e instanceof Error){const o=structuredClone(e);return s.set(e,o),o.message=e.message,o.name=e.name,o.stack=e.stack,o.cause=e.cause,o.constructor=e.constructor,Mn(o,e,n,s,i),o}if(e instanceof Boolean){const o=new Boolean(e.valueOf());return s.set(e,o),Mn(o,e,n,s,i),o}if(e instanceof Number){const o=new Number(e.valueOf());return s.set(e,o),Mn(o,e,n,s,i),o}if(e instanceof String){const o=new String(e.valueOf());return s.set(e,o),Mn(o,e,n,s,i),o}if(typeof e=="object"&&S_(e)){const o=Object.create(Object.getPrototypeOf(e));return s.set(e,o),Mn(o,e,n,s,i),o}return e}function Mn(e,t,n=e,s,i){const r=[...Object.keys(t),...QE(t)];for(let o=0;o<r.length;o++){const l=r[o],a=Object.getOwnPropertyDescriptor(e,l);(a==null||a.writable)&&(e[l]=Ps(t[l],l,n,s,i))}}function S_(e){switch(e_(e)){case r_:case u_:case f_:case h_:case i_:case l_:case b_:case N_:case y_:case E_:case __:case a_:case s_:case d_:case t_:case c_:case n_:case o_:case p_:case m_:case g_:case v_:return!0;default:return!1}}function O_(e){return Ps(e,void 0,e,new Map,void 0)}const w_={tranverse(e,t){if(!e)return;function n(s,i){if(t(s,i)===!1)return;const o=s.children||[];for(let l=0,a=o.length;l<a;l++){const c={...i};n(o[l],{...i,parent:s}),i=c}}Array.isArray(e)?e.forEach(s=>n(s,{parent:null})):n(e,{parent:null})},search(e,t,n="node"){if(!e)return null;Array.isArray(e)&&(e={__fake:!0,children:e});const s=[];function i(o){const l=o.children||[];if(!o.__fake&&s.push(o),!o.__fake&&(s.push(o),t(o)))return o;for(let a=0,c=l.length;a<c;a++){const u=i(l[a]);if(u)return u}return!o.__fake&&s.pop(),!1}const r=i(e);return r?n==="node"?r:s:!1},filter(e,t,n="node"){if(!e)return e;Array.isArray(e)&&(e={_fake:!0,children:e}),e=O_(e);function s(i,r){const o={...r};return i.children=i.children?.filter(l=>s(l,r)),r=o,t(i,r)}return e.children=e.children?.filter(i=>s(i,{})),e._fake?e.children:e}};function yu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=Array(t);n<t;n++)s[n]=e[n];return s}function C_(e){if(Array.isArray(e))return e}function D_(e,t,n){return(t=M_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x_(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var s,i,r,o,l=[],a=!0,c=!1;try{if(r=(n=n.call(e)).next,t!==0)for(;!(a=(s=r.call(n)).done)&&(l.push(s.value),l.length!==t);a=!0);}catch(u){c=!0,i=u}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function T_(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
38
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
37
|
+
color: hsl(${Math.max(0,Math.min(120-120*p,120))}deg 100% 31%);`,n?.key)}return n?.onChange&&!(r&&n.skipInitialOnChange)&&n.onChange(i),r=!1,i}return o.updateDeps=l=>{s=l},o}function bu(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const $E=(e,t)=>Math.abs(e-t)<1.01,jE=(e,t,n)=>{let s;return function(...i){e.clearTimeout(s),s=e.setTimeout(()=>t.apply(this,i),n)}};let gi;const tl=()=>{if(gi!==void 0)return gi;if(typeof navigator>"u")return gi=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return gi=!0;const e=navigator.maxTouchPoints;return gi=navigator.platform==="MacIntel"&&e!==void 0&&e>0},Nu=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},HE=e=>e,BE=e=>{const t=Math.max(e.startIndex-e.overscan,0),s=Math.min(e.endIndex+e.overscan,e.count-1)-t+1,i=new Array(s);for(let r=0;r<s;r++)i[r]=t+r;return i},KE=(e,t)=>{const n=e.scrollElement;if(!n)return;const s=e.targetWindow;if(!s)return;const i=o=>{const{width:l,height:a}=o;t({width:Math.round(l),height:Math.round(a)})};if(i(Nu(n)),!s.ResizeObserver)return()=>{};const r=new s.ResizeObserver(o=>{const l=()=>{const a=o[0];if(a?.borderBoxSize){const c=a.borderBoxSize[0];if(c){i({width:c.inlineSize,height:c.blockSize});return}}i(Nu(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(l):l()});return r.observe(n,{box:"border-box"}),()=>{r.unobserve(n)}},io={passive:!0},UE=typeof window>"u"?!0:"onscrollend"in window,WE=(e,t,n)=>{const s=e.scrollElement;if(!s)return;const i=e.targetWindow;if(!i)return;const r=e.options.useScrollendEvent&&UE;let o=0;const l=r?null:jE(i,()=>t(o,!1),e.options.isScrollingResetDelay),a=f=>()=>{o=n(s),l?.(),t(o,f)},c=a(!0),u=a(!1);return s.addEventListener("scroll",c,io),r&&s.addEventListener("scrollend",u,io),()=>{s.removeEventListener("scroll",c),r&&s.removeEventListener("scrollend",u)}},zE=(e,t)=>WE(e,t,n=>{const{horizontal:s,isRtl:i}=e.options;return s?n.scrollLeft*(i&&-1||1):n.scrollTop}),qE=(e,t,n)=>{if(n.options.useCachedMeasurements){const s=n.indexFromElement(e),i=n.options.getItemKey(s);return n.itemSizeCache.get(i)??n.options.estimateSize(s)}if(t?.borderBoxSize){const s=t.borderBoxSize[0];if(s)return Math.round(s[n.options.horizontal?"inlineSize":"blockSize"])}if(!t){const s=n.indexFromElement(e),i=n.options.getItemKey(s),r=n.itemSizeCache.get(i);if(r!==void 0)return r}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},GE=(e,{adjustments:t=0,behavior:n},s)=>{var i,r;(r=(i=s.scrollElement)==null?void 0:i.scrollTo)==null||r.call(i,{[s.options.horizontal?"left":"top"]:e+t,behavior:n})},JE=GE;class ZE{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._flatMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._intendedScrollOffset=null,this.elementsCache=new Map,this.now=()=>{var n,s,i;return((i=(s=(n=this.targetWindow)==null?void 0:n.performance)==null?void 0:s.now)==null?void 0:i.call(s))??Date.now()},this.observer=(()=>{let n=null;const s=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(i=>{i.forEach(r=>{const o=()=>{const l=r.target,a=this.indexFromElement(l);if(!l.isConnected){this.observer.unobserve(l);for(const[c,u]of this.elementsCache)if(u===l){this.elementsCache.delete(c);break}return}this.shouldMeasureDuringScroll(a)&&this.resizeItem(a,this.options.measureElement(l,r,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()})}));return{disconnect:()=>{var i;(i=s())==null||i.disconnect(),n=null},observe:i=>{var r;return(r=s())==null?void 0:r.observe(i,{box:"border-box"})},unobserve:i=>{var r;return(r=s())==null?void 0:r.unobserve(i)}}})(),this.range=null,this.setOptions=n=>{var s,i;const r={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:HE,rangeExtractor:BE,onChange:()=>{},measureElement:qE,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,anchorTo:"start",followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",useCachedMeasurements:!1};for(const d in n){const h=n[d];h!==void 0&&(r[d]=h)}const o=this.options;let l=null,a=null,c=!1;if(o!==void 0&&o.enabled&&r.enabled&&r.anchorTo==="end"&&this.scrollElement!==null){const d=o.count,h=r.count,m=this.getMeasurements(),p=d>0?((s=m[0])==null?void 0:s.key)??o.getItemKey(0):null,S=d>0?((i=m[d-1])==null?void 0:i.key)??o.getItemKey(d-1):null;if(h!==d||d>0&&h>0&&(r.getItemKey(0)!==p||r.getItemKey(h-1)!==S)){c=!0;const v=d>0?this.getVirtualItemForOffset(this.getScrollOffset())??m[0]:null;v&&(l=[v.key,this.getScrollOffset()-v.start]);const E=r.followOnAppend===!0?"auto":r.followOnAppend||null;E&&h>d&&this.isAtEnd(o.scrollEndThreshold)&&(d===0||r.getItemKey(h-1)!==S)&&(a=E)}}this.options=r,c&&(this.pendingMin=0,this.itemSizeCacheVersion++);let u=!1,f=0;if(l&&this.scrollOffset!==null){const[d,h]=l,m=this.getMeasurements(),{count:p,getItemKey:S}=this.options;let N=0;for(;N<p&&S(N)!==d;)N++;if(N<p){const _=m[N];if(_){const v=_.start+h;v!==this.scrollOffset&&(f=v-this.scrollOffset,this.scrollOffset=v,u=!0)}}}(u||a)&&(this.pendingScrollAnchor=[u?l[0]:null,u?l[1]:0,a,f])},this.notify=n=>{var s,i;(i=(s=this.options).onChange)==null||i.call(s,this,n)},this.maybeNotify=Ms(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}if(this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(r=>{this.observer.observe(r)}),this.unsubs.push(this.options.observeElementRect(this,r=>{this.scrollRect=r,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(r,o)=>{if(o&&this._intendedScrollOffset===null&&r===this.scrollOffset)return;this._intendedScrollOffset!==null&&Math.abs(r-this._intendedScrollOffset)<1.5&&(r=this._intendedScrollOffset),this._intendedScrollOffset=null,this.scrollAdjustments=0;const l=this.getScrollOffset();this.scrollDirection=o?l===r?this.scrollDirection:l<r?"forward":"backward":null,this.scrollOffset=r,this.isScrolling=o,this._flushIosDeferredIfReady(),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),"addEventListener"in this.scrollElement){const r=this.scrollElement,o=()=>{this._iosTouching=!0,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)},l=()=>{this._iosTouching=!1,!(!tl()||this.targetWindow==null)&&(this._iosJustTouchEnded=!0,this._iosTouchEndTimerId=this.targetWindow.setTimeout(()=>{this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._flushIosDeferredIfReady()},150))};r.addEventListener("touchstart",o,io),r.addEventListener("touchend",l,io),this.unsubs.push(()=>{r.removeEventListener("touchstart",o),r.removeEventListener("touchend",l),this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)})}this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}const i=this.pendingScrollAnchor;if(this.pendingScrollAnchor=null,i&&this.scrollElement&&this.options.enabled){const[r,o,l,a]=i;r!==null&&!l&&(tl()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?a!==0&&(this._iosDeferredAdjustment+=a):this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})),l&&this.scrollToEnd({behavior:l})}},this._flushIosDeferredIfReady=()=>{if(this._iosDeferredAdjustment===0||this.isScrolling||this._iosTouching||this._iosJustTouchEnded)return;const n=this.getScrollOffset(),s=this.getMaxScrollOffset();if(n<0||n>s)return;const i=this._iosDeferredAdjustment;this._iosDeferredAdjustment=0,this._scrollToOffset(n,{adjustments:this.scrollAdjustments+=i,behavior:void 0})},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getMeasurementOptions=Ms(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode,this.options.gap],(n,s,i,r,o,l,a,c)=>(this.prevLanes!==void 0&&this.prevLanes!==l&&(this.lanesChangedFlag=!0),this.prevLanes=l,this.pendingMin=null,{count:n,paddingStart:s,scrollMargin:i,getItemKey:r,enabled:o,lanes:l,laneAssignmentMode:a,gap:c}),{key:!1}),this.getMeasurements=Ms(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:n,paddingStart:s,scrollMargin:i,getItemKey:r,enabled:o,lanes:l,laneAssignmentMode:a,gap:c},u)=>{const f=this.itemSizeCache;if(!o)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>n)for(const N of this.laneAssignments.keys())N>=n&&this.laneAssignments.delete(N);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(N=>{this.itemSizeCache.set(N.key,N.size)}));const d=this.lanesSettling?0:this.pendingMin??0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===n&&(this.lanesSettling=!1),l===1){const N=n*2;let _=this._flatMeasurements;if(!_||_.length<N){const y=new Float64Array(N);_&&d>0&&y.set(_.subarray(0,d*2)),_=y,this._flatMeasurements=_}let v;if(d===0)v=s+i;else{const y=d-1;v=_[y*2]+_[y*2+1]+c}for(let y=d;y<n;y++){const D=r(y),T=f.get(D),C=typeof T=="number"?T:this.options.estimateSize(y);_[y*2]=v,_[y*2+1]=C,v+=C+c}const E=FE(n,_,r);return this.measurementsCache=E,E}const h=this.measurementsCache.slice(0,d),m=new Array(l).fill(void 0),p=new Float64Array(l);let S=0;for(let N=0;N<d;N++){const _=h[N];_&&(m[_.lane]===void 0&&S++,m[_.lane]=N,p[_.lane]=_.end)}for(let N=d;N<n;N++){const _=r(N),v=this.laneAssignments.get(N);let E,y;const D=a==="estimate"||f.has(_);if(v!==void 0&&this.options.lanes>1){E=v;const k=m[E],A=k!==void 0?h[k]:void 0;y=A?A.end+c:s+i}else if(S===l){let k=0,A=p[0],w=m[0];for(let F=1;F<l;F++){const U=p[F];(U<A||U===A&&m[F]<w)&&(k=F,A=U,w=m[F])}E=k,y=A+c,D&&this.laneAssignments.set(N,E)}else E=N%this.options.lanes,y=s+i,D&&this.laneAssignments.set(N,E);const T=f.get(_),C=typeof T=="number"?T:this.options.estimateSize(N),O=y+C;h[N]={index:N,start:y,size:C,end:O,key:_,lane:E},m[E]===void 0&&S++,m[E]=N,p[E]=O}return this.measurementsCache=h,h},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=Ms(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,s,i,r)=>n.length===0||s===0?(this.range=null,null):(this.range=XE(n,s,i,r,r===1&&this._flatMeasurements!=null?this._flatMeasurements:null),this.range),{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=Ms(()=>{let n=null,s=null;const i=this.calculateRange();return i&&(n=i.startIndex,s=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,s]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,s]},(n,s,i,r,o)=>r===null||o===null?[]:n({startIndex:r,endIndex:o,overscan:s,count:i}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=n=>{const s=this.options.indexAttribute,i=n.getAttribute(s);return i?parseInt(i,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=n=>{var s;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const i=this.scrollState.index??((s=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:s.index);if(i!==void 0&&this.range){const r=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),o=Math.max(0,i-r),l=Math.min(this.options.count-1,i+r);return n>=o&&n<=l}return!0},this.measureElement=n=>{if(!n){this.elementsCache.forEach((o,l)=>{o.isConnected||(this.observer.unobserve(o),this.elementsCache.delete(l))});return}const s=this.indexFromElement(n),i=this.options.getItemKey(s),r=this.elementsCache.get(i);r!==n&&(r&&this.observer.unobserve(r),this.observer.observe(n),this.elementsCache.set(i,n)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(s)&&this.resizeItem(s,this.options.measureElement(n,void 0,this))},this.resizeItem=(n,s)=>{var i,r;if(n<0||n>=this.options.count)return;let o,l,a;const c=this._flatMeasurements;if(this.options.lanes===1&&c!==null)a=this.options.getItemKey(n),l=c[n*2],o=c[n*2+1];else{const d=this.measurementsCache[n];if(!d)return;a=d.key,l=d.start,o=d.size}const u=this.itemSizeCache.get(a)??o,f=s-u;if(f!==0){const d=this.options.anchorTo==="end"&&((i=this.scrollState)==null?void 0:i.behavior)!=="smooth"&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,h=d?this.getTotalSize():0,m=((r=this.scrollState)==null?void 0:r.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[n]??{index:n,key:a,start:l,size:o,end:l+o,lane:0},f,this):l<this.getScrollOffset()+this.scrollAdjustments&&(!this.itemSizeCache.has(a)||this.scrollDirection!=="backward"));(this.pendingMin===null||n<this.pendingMin)&&(this.pendingMin=n),this.itemSizeCache.set(a,s),this.itemSizeCacheVersion++,d?this.applyScrollAdjustment(this.getTotalSize()-h):m&&this.applyScrollAdjustment(f),this.notify(!1)}},this.getVirtualItems=Ms(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,s)=>{const i=[];for(let r=0,o=n.length;r<o;r++){const l=n[r],a=s[l];i.push(a)}return i},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const s=this.getMeasurements();if(s.length===0)return;const i=this._flatMeasurements,r=this.options.lanes===1&&i!=null,o=jh(0,s.length-1,r?l=>i[l*2]:l=>bu(s[l]).start,n);return bu(s[o])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const n=this.scrollElement.document.documentElement;return this.options.horizontal?n.scrollWidth-this.scrollElement.innerWidth:n.scrollHeight-this.scrollElement.innerHeight}},this.getVirtualDistanceFromEnd=()=>Math.max(this.getTotalSize()-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(n=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=n,this.getOffsetForAlignment=(n,s,i=0)=>{if(!this.scrollElement)return 0;const r=this.getSize(),o=this.getScrollOffset();s==="auto"&&(s=n>=o+r?"end":"start"),s==="center"?n+=(i-r)/2:s==="end"&&(n-=r);const l=this.getMaxScrollOffset();return Math.max(Math.min(l,n),0)},this.getOffsetForIndex=(n,s="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=this.getSize(),r=this.getScrollOffset(),o=this.measurementsCache[n];if(!o)return;if(s==="auto")if(o.end>=r+i-this.options.scrollPaddingEnd)s="end";else if(o.start<=r+this.options.scrollPaddingStart)s="start";else return[r,s];if(s==="end"&&n===this.options.count-1)return[this.getMaxScrollOffset(),s];const l=s==="end"?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(l,s,o.size),s]},this.scrollToOffset=(n,{align:s="start",behavior:i="auto"}={})=>{const r=this.getOffsetForAlignment(n,s),o=this.now();this.scrollState={index:null,align:s,behavior:i,startedAt:o,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollToIndex=(n,{align:s="auto",behavior:i="auto"}={})=>{n=Math.max(0,Math.min(n,this.options.count-1));const r=this.getOffsetForIndex(n,s);if(!r)return;const[o,l]=r,a=this.now();this.scrollState={index:n,align:l,behavior:i,startedAt:a,lastTargetOffset:o,stableFrames:0},this._scrollToOffset(o,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollBy=(n,{behavior:s="auto"}={})=>{const i=this.getScrollOffset()+n,r=this.now();this.scrollState={index:null,align:"start",behavior:s,startedAt:r,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:s}),this.scheduleScrollReconcile()},this.scrollToEnd=({behavior:n="auto"}={})=>{if(this.options.count>0){this.scrollToIndex(this.options.count-1,{align:"end",behavior:n});return}this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:n})},this.getTotalSize=()=>{var n;const s=this.getMeasurements();let i;if(s.length===0)i=this.options.paddingStart;else if(this.options.lanes===1){const r=s.length-1,o=this._flatMeasurements;o!=null?i=o[r*2]+o[r*2+1]:i=((n=s[r])==null?void 0:n.end)??0}else{const r=Array(this.options.lanes).fill(null);let o=s.length-1;for(;o>=0&&r.some(l=>l===null);){const l=s[o];r[l.lane]===null&&(r[l.lane]=l.end),o--}i=Math.max(...r.filter(l=>l!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{const n=[];if(this.itemSizeCache.size===0)return n;const s=this.getMeasurements();for(const i of s)i&&this.itemSizeCache.has(i.key)&&n.push({index:i.index,key:i.key,start:i.start,size:i.size,end:i.end,lane:i.lane});return n},this._scrollToOffset=(n,{adjustments:s,behavior:i})=>{this._intendedScrollOffset=n+(s??0),this.options.scrollToFn(n,{behavior:i,adjustments:s},this)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(t)}applyScrollAdjustment(t,n){t!==0&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",t),tl()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?this._iosDeferredAdjustment+=t:(this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=t,behavior:n}),this.scrollOffset!==null&&(this.scrollOffset+=this.scrollAdjustments,this.scrollAdjustments=0)))}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const s=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,i=s?s[0]:this.scrollState.lastTargetOffset,r=1,o=i!==this.scrollState.lastTargetOffset;if(!o&&$E(i,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=r){this.getScrollOffset()!==i&&this._scrollToOffset(i,{adjustments:void 0,behavior:"auto"}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,o){const l=this.getSize()||600,a=Math.abs(i-this.getScrollOffset()),c=this.scrollState.behavior==="smooth"&&a>l;this.scrollState.lastTargetOffset=i,c||(this.scrollState.behavior="auto"),this._scrollToOffset(i,{adjustments:void 0,behavior:c?"smooth":"auto"})}this.scheduleScrollReconcile()}}const jh=(e,t,n,s)=>{for(;e<=t;){const i=(e+t)/2|0,r=n(i);if(r<s)e=i+1;else if(r>s)t=i-1;else return i}return e>0?e-1:0};function YE(e,t,n){let s=0;for(;s<=t;){const i=(s+t)/2|0,r=e[i*2];if(r<n)s=i+1;else if(r>n)t=i-1;else return i}return s>0?s-1:0}function XE(e,t,n,s,i){const r=e.length-1;if(e.length<=s)return{startIndex:0,endIndex:r};if(s===1&&i!==null){const c=YE(i,r,n);let u=c;const f=n+t;for(;u<r&&i[u*2]+i[u*2+1]<f;)u++;return{startIndex:c,endIndex:u}}let l=jh(0,r,c=>e[c].start,n),a=l;if(s===1)for(;a<r&&e[a].end<n+t;)a++;else if(s>1){const c=Array(s).fill(0);for(;a<r&&c.some(f=>f<n+t);){const f=e[a];c[f.lane]=f.end,a++}const u=Array(s).fill(n+t);for(;l>=0&&u.some(f=>f>=n);){const f=e[l];u[f.lane]=f.start,l--}l=Math.max(0,l-l%s),a=Math.min(r,a+(s-1-a%s))}return{startIndex:l,endIndex:a}}function QE(e){const t=new ZE(Z(e)),n=Gn(t),s=t._didMount();return pt(()=>Z(e).getScrollElement(),i=>{i&&t._willUpdate()},{immediate:!0}),pt(()=>Z(e),i=>{t.setOptions({...i,onChange:(r,o)=>{var l;al(n),(l=i.onChange)==null||l.call(i,r,o)}}),t._willUpdate(),al(n)},{immediate:!0}),qu(s),n}function e_(e){return QE(oe(()=>({observeElementRect:KE,observeElementOffset:zE,scrollToFn:JE,...Z(e)})))}const Hh=function({isMaster:e=!0}={}){return{...Ua({isMaster:e,key:"virtualExp"})}},t_=vt({name:"VirtualScroll",props:{items:{required:!0,type:Array},itemSize:{required:!0,type:[Number,Function]},keyField:{default:"key",type:String},overscan:{default:5,type:Number}},setup(e,{emit:t}){const n=ne(null),s=oe(()=>({count:e.items.length||0,getScrollElement:()=>n.value,estimateSize:d=>{const h=typeof e.itemSize=="function"?e.itemSize(e.items[d],d):e.itemSize;return Math.max(0,Number(h)||0)},getItemKey:d=>e.items[d]?.[e.keyField]??d,overscan:e.overscan})),i=e_(s),r=oe(()=>i.value?.getTotalSize()||0),o=oe(()=>(i.value?.getVirtualItems()||[]).map(h=>{const m=e.items[h.index];return{...h,key:m?.[e.keyField]??h.key}})),l=()=>i.value,{registerFunc:a}=Hh({isMaster:!1});a({virtualer:i,resizeItem(d,h){const m=e.items.findIndex(p=>p[e.keyField]===d);i.value.resizeItem(m,h)}});let c=0,u=0;function f(d){const{scrollTop:h,scrollLeft:m}=d.target;h!==c&&(c=h,t("scrollY",{scrollTop:h,evt:d})),m!==u&&(u=m,t("scrollX",{scrollLeft:m,evt:d}))}return{scrollCtn:n,onScroll:f,totalHeight:r,virtualItems:o,getVirtualer:l}}});function n_(e,t,n,s,i,r){return fe(),ke("div",{class:"scroll-wrapper",ref:"scrollCtn",onScroll:t[0]||(t[0]=(...o)=>e.onScroll&&e.onScroll(...o))},[le("div",{class:"scroll-inner-wrapper",style:Xe({height:e.totalHeight+"px",position:"relative"})},[(fe(!0),ke(Te,null,ms(e.virtualItems,o=>(fe(),ke("div",{class:"virtual-item",key:o.key,style:Xe({height:`${o.size}px`,transform:`translateY(${o.start}px)`})},[zn(e.$slots,"default",{item:e.items[o.index],index:o.index},void 0,!0)],4))),128))],4)],544)}const s_=Ln(t_,[["render",n_],["__scopeId","data-v-2acac909"]]),i_={like(e,t){return t?e?String(e).trim().toLowerCase().includes(String(t).trim().toLowerCase()):!1:!0}},r_=globalThis.crypto.randomUUID?()=>crypto.randomUUID():()=>`${Date.now()}-${Math.random().toString(16).slice(2)}`,Su=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})();function o_(e,t,{signal:n,edges:s}={}){let i,r=null;const o=s!=null&&s.includes("leading"),l=s==null||s.includes("trailing"),a=()=>{r!==null&&(e.apply(i,r),i=void 0,r=null)},c=()=>{l&&a(),h()};let u=null;const f=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,c()},t)},d=()=>{u!==null&&(clearTimeout(u),u=null)},h=()=>{d(),i=void 0,r=null},m=()=>{a()},p=function(...S){if(n?.aborted)return;i=this,r=S;const N=u==null;f(),o&&N&&a()};return p.schedule=f,p.cancel=h,p.flush=m,n?.addEventListener("abort",h,{once:!0}),p}function l_(e){return e==null||typeof e!="object"&&typeof e!="function"}function a_(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function c_(e){return typeof Su.Buffer<"u"&&Su.Buffer.isBuffer(e)}function u_(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function f_(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const d_="[object RegExp]",h_="[object String]",p_="[object Number]",m_="[object Boolean]",g_="[object Arguments]",v_="[object Symbol]",y_="[object Date]",E_="[object Map]",__="[object Set]",b_="[object Array]",N_="[object ArrayBuffer]",S_="[object Object]",O_="[object DataView]",w_="[object Uint8Array]",C_="[object Uint8ClampedArray]",D_="[object Uint16Array]",x_="[object Uint32Array]",T_="[object Int8Array]",k_="[object Int16Array]",V_="[object Int32Array]",A_="[object Float32Array]",I_="[object Float64Array]";function Rs(e,t,n,s=new Map,i=void 0){const r=i?.(e,t,n,s);if(r!==void 0)return r;if(l_(e))return e;if(s.has(e))return s.get(e);if(Array.isArray(e)){const o=new Array(e.length);s.set(e,o);for(let l=0;l<e.length;l++)o[l]=Rs(e[l],l,n,s,i);return Object.hasOwn(e,"index")&&(o.index=e.index),Object.hasOwn(e,"input")&&(o.input=e.input),o}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){const o=new RegExp(e.source,e.flags);return o.lastIndex=e.lastIndex,o}if(e instanceof Map){const o=new Map;s.set(e,o);for(const[l,a]of e)o.set(l,Rs(a,l,n,s,i));return o}if(e instanceof Set){const o=new Set;s.set(e,o);for(const l of e)o.add(Rs(l,void 0,n,s,i));return o}if(c_(e))return e.subarray();if(a_(e)){const o=new(Object.getPrototypeOf(e)).constructor(e.length);s.set(e,o);for(let l=0;l<e.length;l++)o[l]=Rs(e[l],l,n,s,i);return o}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){const o=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return s.set(e,o),$n(o,e,n,s,i),o}if(typeof File<"u"&&e instanceof File){const o=new File([e],e.name,{type:e.type});return s.set(e,o),$n(o,e,n,s,i),o}if(typeof Blob<"u"&&e instanceof Blob){const o=new Blob([e],{type:e.type});return s.set(e,o),$n(o,e,n,s,i),o}if(e instanceof Error){const o=structuredClone(e);return s.set(e,o),o.message=e.message,o.name=e.name,o.stack=e.stack,o.cause=e.cause,o.constructor=e.constructor,$n(o,e,n,s,i),o}if(e instanceof Boolean){const o=new Boolean(e.valueOf());return s.set(e,o),$n(o,e,n,s,i),o}if(e instanceof Number){const o=new Number(e.valueOf());return s.set(e,o),$n(o,e,n,s,i),o}if(e instanceof String){const o=new String(e.valueOf());return s.set(e,o),$n(o,e,n,s,i),o}if(typeof e=="object"&&M_(e)){const o=Object.create(Object.getPrototypeOf(e));return s.set(e,o),$n(o,e,n,s,i),o}return e}function $n(e,t,n=e,s,i){const r=[...Object.keys(t),...u_(t)];for(let o=0;o<r.length;o++){const l=r[o],a=Object.getOwnPropertyDescriptor(e,l);(a==null||a.writable)&&(e[l]=Rs(t[l],l,n,s,i))}}function M_(e){switch(f_(e)){case g_:case b_:case N_:case O_:case m_:case y_:case A_:case I_:case T_:case k_:case V_:case E_:case p_:case S_:case d_:case __:case h_:case v_:case w_:case C_:case D_:case x_:return!0;default:return!1}}function P_(e){return Rs(e,void 0,e,new Map,void 0)}const L_={tranverse(e,t){if(!e)return;function n(s,i){if(t(s,i)===!1)return;const o=s.children||[];for(let l=0,a=o.length;l<a;l++){const c={...i};n(o[l],{...i,parent:s}),i=c}}Array.isArray(e)?e.forEach(s=>n(s,{parent:null})):n(e,{parent:null})},search(e,t,n="node"){if(!e)return null;Array.isArray(e)&&(e={__fake:!0,children:e});const s=[];function i(o){const l=o.children||[];if(!o.__fake&&s.push(o),!o.__fake&&(s.push(o),t(o)))return o;for(let a=0,c=l.length;a<c;a++){const u=i(l[a]);if(u)return u}return!o.__fake&&s.pop(),!1}const r=i(e);return r?n==="node"?r:s:!1},filter(e,t,n="node"){if(!e)return e;Array.isArray(e)&&(e={_fake:!0,children:e}),e=P_(e);function s(i,r){const o={...r};return i.children=i.children?.filter(l=>s(l,r)),r=o,t(i,r)}return e.children=e.children?.filter(i=>s(i,{})),e._fake?e.children:e}};function Ou(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=Array(t);n<t;n++)s[n]=e[n];return s}function R_(e){if(Array.isArray(e))return e}function F_(e,t,n){return(t=W_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $_(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var s,i,r,o,l=[],a=!0,c=!1;try{if(r=(n=n.call(e)).next,t!==0)for(;!(a=(s=r.call(n)).done)&&(l.push(s.value),l.length!==t);a=!0);}catch(u){c=!0,i=u}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function j_(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
38
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,s)}return n}function Cu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wu(Object(n),!0).forEach(function(s){F_(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wu(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function H_(e,t){if(e==null)return{};var n,s,i=B_(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(s=0;s<r.length;s++)n=r[s],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function B_(e,t){if(e==null)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)!==-1)continue;n[s]=e[s]}return n}function K_(e,t){return R_(e)||$_(e,t)||z_(e,t)||j_()}function U_(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function W_(e){var t=U_(e,"string");return typeof t=="symbol"?t:t+""}function z_(e,t){if(e){if(typeof e=="string")return Ou(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ou(e,t):void 0}}function q_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Du(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,s)}return n}function xu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Du(Object(n),!0).forEach(function(s){q_(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Du(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function G_(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(s){return t.reduceRight(function(i,r){return r(i)},s)}}function Ni(e){return function t(){for(var n=this,s=arguments.length,i=new Array(s),r=0;r<s;r++)i[r]=arguments[r];return i.length>=e.length?e.apply(this,i):function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return t.apply(n,[].concat(i,l))}}}function ro(e){return{}.toString.call(e).includes("Object")}function J_(e){return!Object.keys(e).length}function Zi(e){return typeof e=="function"}function Z_(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Y_(e,t){return ro(t)||es("changeType"),Object.keys(t).some(function(n){return!Z_(e,n)})&&es("changeField"),t}function X_(e){Zi(e)||es("selectorType")}function Q_(e){Zi(e)||ro(e)||es("handlerType"),ro(e)&&Object.values(e).some(function(t){return!Zi(t)})&&es("handlersType")}function eb(e){e||es("initialIsRequired"),ro(e)||es("initialType"),J_(e)&&es("initialContent")}function tb(e,t){throw new Error(e[t]||e.default)}var nb={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},es=Ni(tb)(nb),_r={changes:Y_,selector:X_,handler:Q_,initial:eb};function sb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_r.initial(e),_r.handler(t);var n={current:e},s=Ni(ob)(n,t),i=Ni(rb)(n),r=Ni(_r.changes)(e),o=Ni(ib)(n);function l(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(u){return u};return _r.selector(c),c(n.current)}function a(c){G_(s,i,r,o)(c)}return[l,a]}function ib(e,t){return Zi(t)?t(e.current):t}function rb(e,t){return e.current=xu(xu({},e.current),t),t}function ob(e,t,n){return Zi(t)?t(e.current):Object.keys(n).forEach(function(s){var i;return(i=t[s])===null||i===void 0?void 0:i.call(t,e.current[s])}),n}var lb={create:sb},ab={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}};function cb(e){return function t(){for(var n=this,s=arguments.length,i=new Array(s),r=0;r<s;r++)i[r]=arguments[r];return i.length>=e.length?e.apply(this,i):function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return t.apply(n,[].concat(i,l))}}}function ub(e){return{}.toString.call(e).includes("Object")}function fb(e){return e||Tu("configIsRequired"),ub(e)||Tu("configType"),e.urls?(db(),{paths:{vs:e.urls.monacoBase}}):e}function db(){console.warn(Bh.deprecation)}function hb(e,t){throw new Error(e[t]||e.default)}var Bh={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
|
|
39
39
|
You are using deprecated way of configuration.
|
|
40
40
|
|
|
41
41
|
Instead of using
|
|
@@ -44,15 +44,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44
44
|
monaco.config({ paths: { vs: '...' } })
|
|
45
45
|
|
|
46
46
|
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
|
47
|
-
`},
|
|
48
|
-
`,s),r=i===-1?e.slice(s):e.slice(s,i);if(s=i===-1?e.length:i+1,r.startsWith("--- ")){if(t=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("+++ ")){if(n=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("@@"))break}return{origFilename:t,modFilename:n}}function
|
|
49
|
-
`),n=[];let s=null;for(const i of t){const r=i.match(/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);if(r){s={origStart:parseInt(r[1],10),origCount:r[2]!==void 0?parseInt(r[2],10):1,modStart:parseInt(r[3],10),modCount:r[4]!==void 0?parseInt(r[4],10):1,lines:[]},n.push(s);continue}if(s){if(i.startsWith("\\"))continue;s.lines.push(i)}}return n}const
|
|
50
|
-
`)
|
|
51
|
-
`)}],changedLineBlocks:o,totalLines:
|
|
47
|
+
`},Tu=cb(hb)(Bh),pb={config:fb},mb=function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return function(i){return n.reduceRight(function(r,o){return o(r)},i)}};function Kh(e,t){return Object.keys(t).forEach(function(n){t[n]instanceof Object&&e[n]&&Object.assign(t[n],Kh(e[n],t[n]))}),Cu(Cu({},e),t)}var gb={type:"cancelation",msg:"operation is manually canceled"};function nl(e){var t=!1,n=new Promise(function(s,i){e.then(function(r){return t?i(gb):s(r)}),e.catch(i)});return n.cancel=function(){return t=!0},n}var vb=["monaco"],yb=lb.create({config:ab,isInitialized:!1,resolve:null,reject:null,monaco:null}),Uh=K_(yb,2),or=Uh[0],Io=Uh[1];function Eb(e){var t=pb.config(e),n=t.monaco,s=H_(t,vb);Io(function(i){return{config:Kh(i.config,s),monaco:n}})}function _b(){var e=or(function(t){var n=t.monaco,s=t.isInitialized,i=t.resolve;return{monaco:n,isInitialized:s,resolve:i}});if(!e.isInitialized){if(Io({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),nl(sl);if(window.monaco&&window.monaco.editor)return Wh(window.monaco),e.resolve(window.monaco),nl(sl);mb(bb,Sb)(Ob)}return nl(sl)}function bb(e){return document.body.appendChild(e)}function Nb(e){var t=document.createElement("script");return e&&(t.src=e),t}function Sb(e){var t=or(function(s){var i=s.config,r=s.reject;return{config:i,reject:r}}),n=Nb("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function Ob(){var e=or(function(n){var s=n.config,i=n.resolve,r=n.reject;return{config:s,resolve:i,reject:r}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(n){var s=n.m||n;Wh(s),e.resolve(s)},function(n){e.reject(n)})}function Wh(e){or().monaco||Io({monaco:e})}function wb(){return or(function(e){var t=e.monaco;return t})}var sl=new Promise(function(e,t){return Io({resolve:e,reject:t})}),zh={config:Eb,init:_b,__getMonacoInstance:wb};const Wa=function({isMaster:e=!1}={}){return{...Ua({isMaster:e,key:"diffViewer"})}},qh=32,za=18,Cb=24,qa=8,Db=vt({__name:"MonacoDiffViewer",props:{originalCode:{default:""},modifiedCode:{default:""},language:{default:"plaintext"},options:{default:()=>({})},modelOptions:{default:()=>({})}},emits:["renderComplete"],setup(e,{emit:t}){const n=e,s=t,{funcs:i}=Wa(),r=i.canUnchangeVisible,o=ne(null),l=Gn(null),a=Gn(null),c=Gn(null),u=Gn(null);let f=!1;return hn(()=>{f=!1,(async()=>{const h=await zh.init();if(f||!o.value)return;l.value=h,c.value=h.editor.createModel(n.originalCode,n.language),u.value=h.editor.createModel(n.modifiedCode,n.language),a.value=h.editor.createDiffEditor(o.value,{automaticLayout:!0,readOnly:!0,renderSideBySide:!0,useInlineViewWhenSpaceIsLimited:!1,scrollBeyondLastLine:!1,lineHeight:za,hideUnchangedRegions:{enabled:!0,contextLineCount:3},...n.options,scrollbar:{verticalScrollbarSize:8,horizontalScrollbarSize:qa,alwaysConsumeMouseWheel:!1,...n.options.scrollbar}}),a.value.setModel({original:c.value,modified:u.value}),Object.keys(n.modelOptions).length>0&&(c.value.updateOptions(n.modelOptions),u.value.updateOptions(n.modelOptions));const m=a.value.onDidUpdateDiff(()=>{const p=a.value?.getLineChanges()??[],S=(v,E)=>E===0?0:E-v+1,N=p.reduce((v,E)=>v+S(E.modifiedStartLineNumber,E.modifiedEndLineNumber),0),_=p.reduce((v,E)=>v+S(E.originalStartLineNumber,E.originalEndLineNumber),0);i.updateChangedLines?.({added:N,removed:_}),s("renderComplete"),m.dispose()})})()}),Ds(()=>{f=!0,a.value?.dispose(),c.value?.dispose(),u.value?.dispose(),a.value=null,c.value=null,u.value=null,l.value=null}),pt(()=>n.options,d=>{a.value&&a.value.updateOptions(d)},{deep:!0}),pt(()=>n.originalCode,d=>{c.value&&c.value.getValue()!==d&&c.value.setValue(d)}),pt(()=>n.modifiedCode,d=>{u.value&&u.value.getValue()!==d&&u.value.setValue(d)}),pt(()=>n.language,d=>{const h=l.value,m=c.value,p=u.value;!h||!m||!p||(h.editor.setModelLanguage(m,d),h.editor.setModelLanguage(p,d))}),pt(()=>n.modelOptions,d=>{!c.value||!u.value||(c.value.updateOptions(d),u.value.updateOptions(d))},{deep:!0}),(d,h)=>(fe(),ke("div",{ref_key:"containerEl",ref:o,class:Ve(["monaco-editor-container",{"hide-unchanged-actions":!Z(r)}])},null,2))}}),xb=Ln(Db,[["__scopeId","data-v-715fa2d2"]]),Tb={class:"title-area"},kb={class:"filename"},Vb={class:"diff-line-num"},Ab={key:0,class:"add"},Ib={key:1,class:"del"},Mb={class:"toolbar"},Pb=["checked"],Lb={key:0},Rb=["checked"],Fb=vt({__name:"TopBar",props:{diffPair:{default:()=>[]}},setup(e){const{funcs:t,registerFunc:n}=Wa(),s=e,i=oe(()=>{const[m,p]=s.diffPair;if(!m||!p)return"changed";const S=m.content===null,N=p.content===null;return S&&!N?"add":!S&&N?"del":m.filename!==p.filename?"rename":"changed"}),r=oe(()=>({changed:"changed",add:"added",del:"deleted",rename:"renamed"})[i.value]),o=oe(()=>{const[m,p]=s.diffPair;return m?i.value==="rename"?`${m.filename} → ${p.filename}`:m.filename:""}),{viewed:l,rawed:a,canUnchangeVisible:c}=t,u=function(m){const p=m.target.checked;t.updateViewed(p)},f=function(m){const p=m.target.checked;t.updateRawed(p)};hn(()=>{});const d=ne({added:0,removed:0});function h(m){Object.assign(d.value,m)}return n({viewed:l,rawed:a,updateChangedLines:h}),(m,p)=>(fe(),ke("div",{class:"top-bar-wrap",style:Xe({height:`${Z(qh)}px`})},[le("div",Tb,[le("div",kb,on(o.value),1),le("span",{class:Ve(["diff-type-tag",i.value])},on(r.value),3),le("div",Vb,[i.value!=="del"?(fe(),ke("div",Ab,"+"+on(d.value.added),1)):un("",!0),i.value!=="add"?(fe(),ke("div",Ib,"-"+on(d.value.removed),1)):un("",!0)])]),le("div",Mb,[le("label",null,[le("input",{type:"checkbox",checked:Z(l),onChange:u},null,40,Pb),p[0]||(p[0]=Ns(" viewed ",-1))]),Z(c)?(fe(),ke("label",Lb,[le("input",{type:"checkbox",checked:Z(a),onChange:f},null,40,Rb),p[1]||(p[1]=Ns(" raw ",-1))])):un("",!0)])],4))}}),$b=Ln(Fb,[["__scopeId","data-v-6518c9f2"]]);function Gh(e){let t="",n="",s=0;for(;s<e.length;){const i=e.indexOf(`
|
|
48
|
+
`,s),r=i===-1?e.slice(s):e.slice(s,i);if(s=i===-1?e.length:i+1,r.startsWith("--- ")){if(t=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("+++ ")){if(n=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("@@"))break}return{origFilename:t,modFilename:n}}function jb(e){const t=e.split(`
|
|
49
|
+
`),n=[];let s=null;for(const i of t){const r=i.match(/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);if(r){s={origStart:parseInt(r[1],10),origCount:r[2]!==void 0?parseInt(r[2],10):1,modStart:parseInt(r[3],10),modCount:r[4]!==void 0?parseInt(r[4],10):1,lines:[]},n.push(s);continue}if(s){if(i.startsWith("\\"))continue;s.lines.push(i)}}return n}const Jh=function(e){if(!e)return{pair:[{filename:"",content:""},{filename:"",content:""}],changedLineBlocks:[],totalLines:1};const{origFilename:t,modFilename:n}=Gh(e),s=jb(e),i=[],r=[],o=[],l=[],a=[];let c=0;const u=()=>{const p=Math.max(l.length,a.length);if(p>0){const S=c+1;o.push({start:S,end:S+p-1}),c+=p}i.push(...l),r.push(...a),l.length=0,a.length=0};let f=1,d=1;for(const p of s){const S=p.origStart-f,N=p.modStart-d;for(;f<p.origStart;)i.push(""),f++;for(;d<p.modStart;)r.push(""),d++;c+=Math.max(0,S,N);for(const _ of p.lines){const v=_[0],E=_.slice(1);v===" "?(u(),i.push(E),r.push(E),f++,d++,c++):v==="-"?(l.push(E),f++):v==="+"&&(a.push(E),d++)}u()}const h=i.length===0&&r.length>0?null:i.join(`
|
|
50
|
+
`),m=r.length===0&&i.length>0?null:r.join(`
|
|
51
|
+
`);return{pair:[{filename:t,content:h},{filename:n,content:m}],changedLineBlocks:o,totalLines:c}},Hb=function(e){return Jh(e).pair};class Bb{diff(t,n,s={}){let i;typeof s=="function"?(i=s,s={}):"callback"in s&&(i=s.callback);const r=this.castInput(t,s),o=this.castInput(n,s),l=this.removeEmpty(this.tokenize(r,s)),a=this.removeEmpty(this.tokenize(o,s));return this.diffWithOptionsObj(l,a,s,i)}diffWithOptionsObj(t,n,s,i){var r;const o=_=>{if(_=this.postProcess(_,s),i){setTimeout(function(){i(_)},0);return}else return _},l=n.length,a=t.length;let c=1,u=l+a;s.maxEditLength!=null&&(u=Math.min(u,s.maxEditLength));const f=(r=s.timeout)!==null&&r!==void 0?r:1/0,d=Date.now()+f,h=[{oldPos:-1,lastComponent:void 0}];let m=this.extractCommon(h[0],n,t,0,s);if(h[0].oldPos+1>=a&&m+1>=l)return o(this.buildValues(h[0].lastComponent,n,t));let p=-1/0,S=1/0;const N=()=>{for(let _=Math.max(p,-c);_<=Math.min(S,c);_+=2){let v;const E=h[_-1],y=h[_+1];E&&(h[_-1]=void 0);let D=!1;if(y){const C=y.oldPos-_;D=y&&0<=C&&C<l}const T=E&&E.oldPos+1<a;if(!D&&!T){h[_]=void 0;continue}if(!T||D&&E.oldPos<y.oldPos?v=this.addToPath(y,!0,!1,0,s):v=this.addToPath(E,!1,!0,1,s),m=this.extractCommon(v,n,t,_,s),v.oldPos+1>=a&&m+1>=l)return o(this.buildValues(v.lastComponent,n,t))||!0;h[_]=v,v.oldPos+1>=a&&(S=Math.min(S,_-1)),m+1>=l&&(p=Math.max(p,_+1))}c++};if(i)(function _(){setTimeout(function(){if(c>u||Date.now()>d)return i(void 0);N()||_()},0)})();else for(;c<=u&&Date.now()<=d;){const _=N();if(_)return _}}addToPath(t,n,s,i,r){const o=t.lastComponent;return o&&!r.oneChangePerToken&&o.added===n&&o.removed===s?{oldPos:t.oldPos+i,lastComponent:{count:o.count+1,added:n,removed:s,previousComponent:o.previousComponent}}:{oldPos:t.oldPos+i,lastComponent:{count:1,added:n,removed:s,previousComponent:o}}}extractCommon(t,n,s,i,r){const o=n.length,l=s.length;let a=t.oldPos,c=a-i,u=0;for(;c+1<o&&a+1<l&&this.equals(s[a+1],n[c+1],r);)c++,a++,u++,r.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return u&&!r.oneChangePerToken&&(t.lastComponent={count:u,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=a,c}equals(t,n,s){return s.comparator?s.comparator(t,n):t===n||!!s.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){const n=[];for(let s=0;s<t.length;s++)t[s]&&n.push(t[s]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,s){const i=[];let r;for(;t;)i.push(t),r=t.previousComponent,delete t.previousComponent,t=r;i.reverse();const o=i.length;let l=0,a=0,c=0;for(;l<o;l++){const u=i[l];if(u.removed)u.value=this.join(s.slice(c,c+u.count)),c+=u.count;else{if(!u.added&&this.useLongestToken){let f=n.slice(a,a+u.count);f=f.map(function(d,h){const m=s[c+h];return m.length>d.length?m:d}),u.value=this.join(f)}else u.value=this.join(n.slice(a,a+u.count));a+=u.count,u.added||(c+=u.count)}}return i}}class Kb extends Bb{constructor(){super(...arguments),this.tokenize=zb}equals(t,n,s){return s.ignoreWhitespace?((!s.newlineIsToken||!t.includes(`
|
|
52
52
|
`))&&(t=t.trim()),(!s.newlineIsToken||!n.includes(`
|
|
53
53
|
`))&&(n=n.trim())):s.ignoreNewlineAtEof&&!s.newlineIsToken&&(t.endsWith(`
|
|
54
54
|
`)&&(t=t.slice(0,-1)),n.endsWith(`
|
|
55
|
-
`)&&(n=n.slice(0,-1))),super.equals(t,n,s)}}const
|
|
56
|
-
`));const n=[],s=e.split(/(\n|\r\n)/);s[s.length-1]||s.pop();for(let i=0;i<s.length;i++){const r=s[i];i%2&&!t.newlineIsToken?n[n.length-1]+=r:n.push(r)}return n}const
|
|
55
|
+
`)&&(n=n.slice(0,-1))),super.equals(t,n,s)}}const Ub=new Kb;function Wb(e,t,n){return Ub.diff(e,t,n)}function zb(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
56
|
+
`));const n=[],s=e.split(/(\n|\r\n)/);s[s.length-1]||s.pop();for(let i=0;i<s.length;i++){const r=s[i];i%2&&!t.newlineIsToken?n[n.length-1]+=r:n.push(r)}return n}const ku=new Map;function qb(e,t){const n=Wb(e,t),s=[];let i=1,r=0,o=0;const l=()=>{const a=Math.max(r,o);a>0&&(s.push({start:i,end:i+a-1}),i+=a,r=0,o=0)};for(const a of n){const c=a.count??0;a.removed?r+=c:a.added?o+=c:(l(),i+=c)}return l(),{blocks:s,totalLines:Math.max(0,i-1)}}function Zh(e,t,n,s){let i=0,r=0,o=-1,l=-1;const a=()=>i*za+r*Cb+qa,c=()=>{o!==-1&&(o>1&&(r+=1),i+=l-o+1,o=-1,l=-1)};return{feed(u,f){let d=Math.max(1,u-t);const h=Math.min(e,f+t);if(l===-1){d-1<n&&(d=1),o=d,l=h;return}const m=d-l-1;m>0&&m>=n?(c(),o=d,l=h):l=Math.max(l,h)},flush(){const u=l;c();const f=e-u;return i>0&&f>0&&(f>=n?r+=1:i+=f),a()},get usedPx(){return a()},get gaps(){return r},get maxReached(){return a()>=s}}}const Gb=function({patch:e,minPx:t,maxPx:n,unchangedCtxLineNum:s,unchangedMinLineNum:i}){const{changedLineBlocks:r,totalLines:o}=Jh(e);if(r.length===0)return t;const l=Zh(o,s,i,n);for(const a of r)if(l.feed(a.start,a.end),l.maxReached)return n;return Math.min(n,Math.max(t,l.flush()))},Jb=function({pair:e,minPx:t,maxPx:n,unchangedVisiable:s,unchangedCtxLineNum:i,unchangedMinLineNum:r}){if(!e||e.length<2)return t;const o=e[0].content??"",l=e[1].content??"",a=o.split(`
|
|
57
57
|
`),c=l.split(`
|
|
58
|
-
`),u=Math.max(a.length,c.length);if(s){const p=u*Fa+Ra;return Math.max(t,Math.min(p,n))}const{blocks:f,totalLines:d}=Pb(o,l);if(f.length===0)return t;const h=qh(d,i,r,n);for(const p of f)if(h.feed(p.start,p.end),h.maxReached)return n;let m=h.flush();return m=Math.max(t,m),m=Math.min(n,m),m},Gh=e=>{if(e.endsWith("vh")){const t=parseFloat(e);return Math.round(t/100*document.documentElement.clientHeight)}return Math.round(parseFloat(e))},Jh=function({id:e,patch:t,pair:n,maxHeight:s,minHeight:i,unchangedVisiable:r,unchangedCtxLineNum:o,unchangedMinLineNum:l=1}){const a=r?"visible":"hidden",[c,u]=[i,s].map(Gh),f=n?.[0]?.content,d=n?.[1]?.content,h=Ou.get(e),m=h?.patch===t&&h?.origContent===f&&h?.modContent===d&&h?.minPx===c&&h?.maxPx===u&&h?.unchangedCtxLineNum===o&&h?.unchangedMinLineNum===l,p=m?h.heights[a]:void 0;if(p!==void 0)return p;const S={minPx:c,maxPx:u,unchangedVisiable:r,unchangedCtxLineNum:o,unchangedMinLineNum:l},N=t?Lb({patch:t,...S}):Fb({pair:n,...S});return Ou.set(e,{patch:t,origContent:f,modContent:d,minPx:c,maxPx:u,unchangedCtxLineNum:o,unchangedMinLineNum:l,heights:{...m?h.heights:{},[a]:N}}),N},Rb={class:"content-wrap"},$b=pt({__name:"DiffViewer",props:{fileId:{default:""},diffPair:{default:()=>[]},diffPatch:{default:""},language:{default:"plaintext"},options:{default:()=>({})},modelOptions:{default:()=>({})},viewerStyle:{}},emits:["viewStateChange"],setup(e,{emit:t}){const n=t,s=CE,i=ne(!0),r=performance.now(),o=async()=>{const _=performance.now()-r;console.log(`[DiffViewer] 渲染耗时: ${_.toFixed(2)} ms`),i.value=!1},l=e,a=ne(l.diffPair||null);(function(){a.value?.length||(a.value=Tb(l.diffPatch))})(),console.log(`[DiffViewer] patch耗时: ${(performance.now()-r).toFixed(2)} ms`);const u=ie(()=>a.value[0]?.content??""),f=ie(()=>a.value[1]?.content??""),{funcs:d,registerFunc:h}=La({isMaster:!0}),m=ie(()=>{const _=!N.value;let y=l.options.hideUnchangedRegions||{};return!_&&S.value?y={enabled:!1,...y}:y={enabled:!0,contextLineCount:3,minimumLineCount:1,...y},{...l.options,hideUnchangedRegions:y}}),p=ne(l.viewerStyle?.viewed??!1),S=ne(l.viewerStyle?.rawed??!1),N=ne(!l.diffPatch),E=ie(()=>{if(l.viewerStyle?.height)return l.viewerStyle.height;const _={minHeight:"100px",maxHeight:"250px",...l.viewerStyle||{}},y=l.fileId||GE();return`${Jh({id:y,patch:l.diffPatch,pair:l.diffPair,..._,unchangedVisiable:d.rawed.value,unchangedCtxLineNum:m.value.hideUnchangedRegions.contextLineCount??3,unchangedMinLineNum:m.value.hideUnchangedRegions.minimumLineCount??1})}px`}),g=ie(()=>({"--viewer-width":l.viewerStyle?.width||"100%","--viewer-height":E.value}));return h({viewed:p,updateViewed(_){p.value=_,n("viewStateChange",{rawed:S.value,viewed:_})},rawed:S,updateRawed(_){S.value=_,n("viewStateChange",{rawed:_,viewed:p.value})},canUnchangeVisible:N}),(_,y)=>(fe(),Ce("div",{class:"diff-viewer-wrap",style:qe(g.value),"on:viewStateChange":y[0]||(y[0]=()=>{})},[_e(xb,{class:"top-bar",diffPair:a.value,diffPatch:e.diffPatch},null,8,["diffPair","diffPatch"]),zn((fe(),Ce("div",Rb,[_e(vb,{class:"monaco-container",style:qe({opacity:i.value?0:1}),originalCode:u.value,modifiedCode:f.value,language:e.language,options:m.value,modelOptions:e.modelOptions,onRenderComplete:o},null,8,["style","originalCode","modifiedCode","language","options","modelOptions"])])),[[Gn,!p.value],[Y(s),i.value]])],36))}}),Zh=kn($b,[["__scopeId","data-v-cfac6974"]]),Yh="wtool-diff-viewer",$a=No(Zh,{shadowRoot:!1});function Xh(e=Yh){customElements.get(e)||customElements.define(e,$a)}function wu(e,t){const n=e;for(const s of Object.keys(t)){const i=t[s];i!==void 0&&(n[s]=i)}}function jb(e,t={}){Xh();const n=new $a;return wu(n,t),e.appendChild(n),{update(s){wu(n,s)},destroy(){n.remove()}}}var Hb=Object.defineProperty,Bb=(e,t,n)=>t in e?Hb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,je=(e,t,n)=>(Bb(e,typeof t!="symbol"?t+"":t,n),n);const Kb=["_level","_filterVisible","_parent","_loading","_loaded","_remote","_keyField","children","setChildren"];class Kn{constructor(t,n=null,s="id",i=!1){je(this,"_level",0),je(this,"checked",!1),je(this,"selected",!1),je(this,"indeterminate",!1),je(this,"disabled",!1),je(this,"expand",!1),je(this,"visible",!0),je(this,"_filterVisible",!0),je(this,"_parent",null),je(this,"children",[]),je(this,"isLeaf",!1),je(this,"_loading",!1),je(this,"_loaded",!1),this._keyField=s,this._remote=i;for(let r in t)Kb.indexOf(r)===-1&&(this[r]=t[r]);this[s]==null&&(this[s]=Math.random().toString(36).substring(2)),this._parent=n,this._parent&&(this._level=this._parent._level+1),this.visible=this._parent===null||this._parent.expand&&this._parent.visible,Array.isArray(t.children)&&this.setChildren(t.children),this.children.length&&(this._loaded=!0),this._remote||(this.isLeaf=!this.children.length)}setChildren(t){this.children=t.map(n=>new Kn(Object.assign({},n),this,this._keyField,this._remote))}}var eo=(e=>(e.none="none",e.parents="parents",e.children="children",e))(eo||{}),Qh=(e=>(e["bottom-start"]="bottom-start",e["bottom-end"]="bottom-end",e.bottom="bottom",e["top-start"]="top-start",e["top-end"]="top-end",e.top="top",e))(Qh||{}),Sr=(e=>(e.top="top",e.center="center",e.bottom="bottom",e))(Sr||{}),tn=(e=>(e.before="before",e.body="body",e.after="after",e))(tn||{}),Ml=(e=>(e.dashed="dashed",e.solid="solid",e))(Ml||{});class Ub{constructor(){je(this,"listenersMap",{})}on(t,n){this.listenersMap[t]||(this.listenersMap[t]=[]);let s=[];Array.isArray(n)?s=n:s=[n],s.forEach(i=>{this.listenersMap[t].indexOf(i)===-1&&this.listenersMap[t].push(i)})}off(t,n){if(this.listenersMap[t])if(!n)this.listenersMap[t]=[];else{const s=this.listenersMap[t].indexOf(n);s>-1&&this.listenersMap[t].splice(s,1)}}emit(t,...n){if(!this.listenersMap[t])return;const s=this.listenersMap[t].length;for(let i=0;i<s;i++)this.listenersMap[t][i](...n)}disposeListeners(){for(const t in this.listenersMap)this.listenersMap[t]=[]}}class Wb extends Ub{constructor(t){super(),je(this,"data",[]),je(this,"flatData",[]),je(this,"mapData",Object.create(null)),je(this,"unloadCheckedKeys",[]),je(this,"unloadSelectedKey",null),je(this,"currentSelectedKey",null),this.options=t}insertIntoFlatData(t,n){this.flatData=this.flatData.slice(0,t).concat(n,this.flatData.slice(t))}setData(t,n=null,s=null){this.data=t.map(i=>new Kn(i,null,this.options.keyField,!!this.options.load));for(let i in this.mapData)delete this.mapData[i];this.currentSelectedKey=null,this.flatData=this.flattenData(this.data),this.setUnloadCheckedKeys(s||[]),n&&(this.currentSelectedKey=null,this.setUnloadSelectedKey(n)),this.emit("visible-data-change"),this.emit("set-data")}setChecked(t,n,s=!0,i=!0,r=!1){const o=this.mapData[t];if(!o)return this.setUnloadChecked(t,n,s,i);o.disabled||o.checked&&n||!o.checked&&!o.indeterminate&&!n||(this.options.cascade?(this.checkNodeDownward(o,n,r),this.checkNodeUpward(o)):o.checked=n,s&&(o.checked?this.emit("check",o):this.emit("uncheck",o)),this.triggerCheckedChange(s,i))}setUnloadChecked(t,n,s=!0,i=!0){const r=this.findIndex(t,this.unloadCheckedKeys);n?r===-1&&this.unloadCheckedKeys.push(t):r!==-1&&this.unloadCheckedKeys.splice(r,1),this.triggerCheckedChange(s,i)}setCheckedKeys(t,n,s=!0,i=!0){t.forEach(r=>{this.setChecked(r,n,!1,!1)}),this.triggerCheckedChange(s,i)}checkAll(t=!0,n=!0){if(this.options.cascade){const s=i=>{i.forEach(r=>{r.disabled?s(r.children):this.setChecked(r[this.options.keyField],!0,!1,!1)})};s(this.data)}else{const s=this.flatData.length;for(let i=0;i<s;i++){const r=this.flatData[i];this.setChecked(r[this.options.keyField],!0,!1,!1)}}this.triggerCheckedChange(t,n)}clearChecked(t=!0,n=!0){this.getCheckedNodes().forEach(s=>{this.setChecked(s[this.options.keyField],!1,!1,!1)}),this.unloadCheckedKeys=[],this.triggerCheckedChange(t,n)}triggerCheckedChange(t=!0,n=!0){t&&this.emit("checked-change",this.getCheckedNodes(),this.getCheckedKeys()),n&&this.emit("render-data-change")}triggerSelectedChange(t=!0,n=!0){t&&this.emit("selected-change",this.getSelectedNode(),this.getSelectedKey()),n&&this.emit("render-data-change")}setSelected(t,n,s=!0,i=!0){const r=this.mapData[t];if(!r)return this.setUnloadSelected(t,n,s,i);r.disabled||r.selected!==n&&(t===this.currentSelectedKey?n||(r.selected=n,this.currentSelectedKey=null):n&&(this.currentSelectedKey!==null&&this.mapData[this.currentSelectedKey]&&(this.mapData[this.currentSelectedKey].selected=!1),r.selected=n,this.currentSelectedKey=r[this.options.keyField],this.unloadSelectedKey=null),s&&(r.selected?this.emit("select",r):this.emit("unselect",r)),this.triggerSelectedChange(s,i))}setUnloadSelected(t,n,s=!0,i=!0){n?(this.currentSelectedKey=null,this.unloadSelectedKey=t):this.unloadSelectedKey===t&&(this.unloadSelectedKey=null),this.triggerSelectedChange(s,i)}clearSelected(t=!0,n=!0){this.currentSelectedKey&&this.mapData[this.currentSelectedKey]?this.setSelected(this.currentSelectedKey,!1,t,n):this.unloadSelectedKey!==null&&(this.unloadSelectedKey=null,this.triggerSelectedChange(t,n))}setExpand(t,n,s=!1,i=!0,r=!0){const o=this.mapData[t];if(!(!o||!s&&o.isLeaf)&&o.expand!==n){if(!o.isLeaf){if(typeof this.options.load=="function"){if(!o._loaded&&!o._loading&&n){o._loading=!0,r&&this.emit("visible-data-change"),new Promise((a,c)=>{const u=this.options.load;u(o,a,c)}).then(a=>{Array.isArray(a)&&(this.loadChildren(o,a,n),this.emit("set-data"))}).catch(a=>{let c=a;a instanceof Error||(c=new Error(a)),console.error("[VTree] load tree nodes error.",c)}).then(()=>{o._loading=!1,i&&this.emit("expand",o),r&&this.emit("visible-data-change")});return}else if(o._loading)return}o.expand=n;let l=o.children.concat();for(;l.length;){const a=l.pop();a&&(a.expand&&a.children.length&&(l=a.children.concat(l)),a._filterVisible===!1?a.visible=!1:a.visible=a._parent===null||a._parent.expand&&a._parent.visible)}i&&this.emit("expand",o),r&&this.emit("visible-data-change")}s&&o._parent&&n&&this.setExpand(o._parent[this.options.keyField],n,s,!1,r)}}setExpandKeys(t,n,s=!0){t.forEach(i=>{this.setExpand(i,n,!1,!1,!1)}),s&&this.emit("visible-data-change")}setExpandAll(t,n=!0){this.flatData.forEach(s=>{(!this.options.load||s._loaded)&&this.setExpand(s[this.options.keyField],t,!1,!1,!1)}),n&&this.emit("visible-data-change")}isChildrenChanged(t,n){var s;return"children"in n&&(!!t.children.length||!!((s=n.children)!=null&&s.length))}updateNode(t,n,s=!0,i=!0){var r;const o=this.mapData[t];if(!o)return;const l={},a=[this.options.keyField,"indeterminate","visible","isLeaf"];Object.keys(n).forEach(m=>{!m.startsWith("_")&&!a.includes(m)&&(l[m]=n[m])});const c=this.getCheckedKeys(),u=this.getSelectedKey();let f=this.isChildrenChanged(o,l);"children"in l&&(o.children.length||(r=l.children)!=null&&r.length)&&(this.removeChildren(t,!1,!1),Array.isArray(l.children)&&this.loadChildren(o,l.children,o.expand),delete l.children),"checked"in l&&(this.setChecked(t,l.checked,!1,!1),delete l.checked),"selected"in l&&(this.setSelected(t,l.selected,!1,!1),delete l.selected),"expand"in l&&(this.setExpand(t,l.expand,!1,!1,!1),delete l.expand),Object.keys(l).forEach(m=>{o[m]=l[m]});const d=this.getCheckedKeys(),h=this.getSelectedKey();s&&(JSON.stringify(d.sort())!==JSON.stringify(c.sort())&&this.triggerCheckedChange(!0,!1),h!==u&&this.triggerSelectedChange(!0,!1)),i&&(f&&this.emit("set-data"),this.emit("visible-data-change"))}updateNodes(t){const n=t.filter(a=>a[this.options.keyField]!=null);if(!n.length)return;const s=this.getCheckedKeys(),i=this.getSelectedKey();let r=!1;n.forEach(a=>{const c=a[this.options.keyField],u=this.mapData[c];u&&(r=r||this.isChildrenChanged(u,a),this.updateNode(c,a,!1,!1))});const o=this.getCheckedKeys(),l=this.getSelectedKey();JSON.stringify(o.sort())!==JSON.stringify(s.sort())&&this.triggerCheckedChange(!0,!1),l!==i&&this.triggerSelectedChange(!0,!1),r&&this.emit("set-data"),this.emit("visible-data-change")}getCheckedNodes(t=this.options.ignoreMode){if(t===eo.children){const n=[],s=i=>{i.forEach(r=>{r.checked?n.push(r):!r.isLeaf&&r.indeterminate&&s(r.children)})};return s(this.data),n}else return this.flatData.filter(n=>t===eo.parents?n.checked&&n.isLeaf:n.checked)}getCheckedKeys(t=this.options.ignoreMode){return this.getCheckedNodes(t).map(n=>n[this.options.keyField]).concat(this.unloadCheckedKeys)}getIndeterminateNodes(){return this.flatData.filter(t=>t.indeterminate)}getSelectedNode(){return this.currentSelectedKey===null?null:this.mapData[this.currentSelectedKey]||null}getSelectedKey(){return this.currentSelectedKey||this.unloadSelectedKey||null}getUnloadCheckedKeys(){return this.unloadCheckedKeys}getExpandNodes(){return this.flatData.filter(t=>!t.isLeaf&&t.expand)}getExpandKeys(){return this.getExpandNodes().map(t=>t[this.options.keyField])}getNode(t){return this.mapData[t]||null}insertBefore(t,n,s=!0,i=!0){const r=this.getInsertedNode(t,n);if(!r)return null;this.remove(r[this.options.keyField],!1,!1);const o=this.mapData[n]._parent,l=this.findIndex(n,o&&o.children),a=this.findIndex(n),c=o&&-1||this.findIndex(n,this.data);return this.insertIntoStore(r,o,l,a,c,s,i),i&&this.emit("visible-data-change"),r}insertAfter(t,n,s=!0,i=!0){const r=this.getInsertedNode(t,n);if(!r)return null;this.remove(r[this.options.keyField],!1,!1);const o=this.mapData[n],l=o._parent,a=this.findIndex(n,l&&l.children)+1,c=this.flatData.length,u=this.findIndex(n);let f=u+1;for(let h=u+1;h<=c;h++){if(h===c){f=h;break}if(this.flatData[h]._level<=o._level){f=h;break}}const d=l&&-1||this.findIndex(n,this.data)+1;return this.insertIntoStore(r,l,a,f,d,s,i),i&&this.emit("visible-data-change"),r}append(t,n,s=!0,i=!0){const r=this.mapData[n];if(!r.isLeaf){const a=r.children.length;return this.insertAfter(t,r.children[a-1][this.options.keyField],s,i)}const o=this.getInsertedNode(t,n,!0);if(!o)return null;this.remove(o[this.options.keyField],!1,!1);const l=this.findIndex(n)+1;return this.insertIntoStore(o,r,0,l,void 0,s,i),i&&this.emit("visible-data-change"),o}prepend(t,n,s=!0,i=!0){const r=this.mapData[n];if(!r.isLeaf)return this.insertBefore(t,r.children[0][this.options.keyField],s,i);const o=this.getInsertedNode(t,n,!0);if(!o)return null;this.remove(o[this.options.keyField],!1,!1);const l=this.findIndex(n)+1;return this.insertIntoStore(o,r,0,l,void 0,s,i),i&&this.emit("visible-data-change"),o}remove(t,n=!0,s=!0){const i=this.mapData[t];if(!i)return null;const r=this.findIndex(i);if(r===-1)return null;let o=1;const l=this.flatData.length;for(let c=r+1;c<l&&this.flatData[c]._level>i._level;c++)o++;this.flatData.splice(r,o);const a=c=>{const u=this.mapData[c];delete this.mapData[c],u.children.forEach(f=>a(f[this.options.keyField]))};if(a(t),!i._parent){const c=this.findIndex(i,this.data);c>-1&&this.data.splice(c,1)}if(i._parent){const c=this.findIndex(i,i._parent.children);c!==-1&&i._parent.children.splice(c,1),i._parent.isLeaf=!i._parent.children.length,i._parent.isLeaf&&(i._parent.expand=!1,i._parent.indeterminate=!1),this.updateMovingNodeStatus(i,n,s)}return s&&this.emit("visible-data-change"),i}removeChildren(t,n=!0,s=!0){const i=this.mapData[t];if(!i||!i.children.length)return null;let r=i.children[0];const o=this.findIndex(i);if(o===-1)return null;let l=0;const a=this.flatData.length;for(let c=o+1;c<a&&this.flatData[c]._level>i._level;c++)delete this.mapData[this.flatData[c][this.options.keyField]],l++,this.flatData[c].selected&&(r=this.flatData[c]);return this.flatData.splice(o+1,l),i.children.splice(0,i.children.length),i.isLeaf=!0,i.indeterminate=!1,this.updateMovingNodeStatus(r,n,s),s&&this.emit("visible-data-change"),i}loadChildren(t,n,s){const i=this.findIndex(t);if(i===-1)return;t._loaded=!0,t.expand=s,t.setChildren(n),t.isLeaf=!t.children.length;const r=this.getCheckedKeys(),o=this.flattenData(t.children,this.getSelectedKey()===null);this.insertIntoFlatData(i+1,o),this.setUnloadCheckedKeys(r),this.unloadSelectedKey!==null&&this.setUnloadSelectedKey(this.unloadSelectedKey),this.checkNodeUpward(t,!0)}getInsertedNode(t,n,s=!1){const i=this.mapData[n];if(!i)return null;const r=s?i:i._parent;return t instanceof Kn?t[this.options.keyField]===n?null:t:typeof t=="object"?t[this.options.keyField]===n?null:this.mapData[t[this.options.keyField]]||new Kn(t,r,this.options.keyField,!!this.options.load):!this.mapData[t]||t===n?null:this.mapData[t]}insertIntoStore(t,n,s,i,r,o=!0,l=!0){if(i===-1)return;s!==-1&&n&&n.children.splice(s,0,t),t._parent=n,n?(n.isLeaf=!1,this.setExpand(n[this.options.keyField],!0,!1,!1,!1)):typeof r=="number"&&r>-1&&this.data.splice(r,0,t);const a=this.flattenData([t]);t._level=n?n._level+1:0,a.forEach(c=>c._level=c._parent?c._parent._level+1:0),this.insertIntoFlatData(i,a),this.updateMovingNodeStatus(t,o,l)}updateMovingNodeStatus(t,n=!0,s=!0){this.checkNodeUpward(t),this.triggerCheckedChange(n,s),t.selected&&this.setSelected(t[this.options.keyField],!0,n,s)}filter(t,n){const s=[];this.flatData.forEach(i=>{i._filterVisible=i._parent&&i._parent._filterVisible||n(t,i),i.visible=i._filterVisible,i._filterVisible&&s.push(i)}),s.forEach(i=>{const r=[];let o=i._parent;for(;o;)r.unshift(o),o=o._parent;r.forEach(l=>{l._filterVisible=!0,l.visible=(l._parent===null||l._parent.expand&&l._parent.visible)&&l._filterVisible,this.options.expandOnFilter&&this.setExpand(l[this.options.keyField],!0,!1,!1,!1)}),i.visible=i._parent===null||i._parent.expand&&i._parent.visible}),this.emit("visible-data-change")}setUnloadCheckedKeys(t){this.unloadCheckedKeys=t;const n=t.concat(),s=this.unloadCheckedKeys.length;for(let r=s-1;r>=0;r--){const o=this.unloadCheckedKeys[r];this.mapData[o]&&(this.setChecked(o,!0,!1,!1),this.unloadCheckedKeys.splice(r,1))}const i=this.getCheckedKeys();i.length===n.length&&i.every(r=>n.some(o=>o===r))||this.emit("checked-change",this.getCheckedNodes(),i)}setUnloadSelectedKey(t){const n=this.getSelectedKey();this.mapData[t]?(this.setSelected(t,!0,!1),this.unloadSelectedKey=null):(this.currentSelectedKey&&this.setSelected(this.currentSelectedKey,!1,!1),this.unloadSelectedKey=t);const s=this.getSelectedKey();s!==n&&this.emit("selected-change",this.getSelectedNode(),s)}flattenData(t,n=!0,s=[]){const i=t.length;for(let r=0;r<i;r++){const o=t[r],l=o[this.options.keyField];if(s.push(o),this.mapData[l])throw new Error("[VTree] Duplicate tree node key.");this.mapData[l]=o,o.checked&&this.options.cascade&&this.checkNodeDownward(o,!0),o.selected&&n&&(this.clearSelected(!1,!1),this.currentSelectedKey=o[this.options.keyField],this.emit("selected-change",o,this.currentSelectedKey)),(this.options.defaultExpandAll||o.expand)&&!this.options.load&&!o.isLeaf&&(o.expand=!1,this.setExpand(o[this.options.keyField],!0,!1,!1,!1)),o.children.length&&this.flattenData(o.children,n,s)}return this.options.cascade&&i&&this.checkNodeUpward(t[0]),s}checkNodeDownward(t,n,s=!1){if(t.children.forEach(i=>{this.checkNodeDownward(i,n,s)}),t.isLeaf||this.options.load&&!t.children.length){if(!t.disabled){if(s&&!this.options.filteredNodeCheckable&&!t._filterVisible)return;t.checked=n,t.indeterminate=!1}}else this.checkParentNode(t)}checkNodeUpward(t,n=!1){let s=n?t:t._parent;for(;s;)this.checkParentNode(s),s=s._parent}checkParentNode(t){const n=t.children.length;if(!n)return;let s=!1,i=!1,r=!1;for(let o=0;o<n;o++){const l=t.children[o];if(l.checked?s=!0:i=!0,s&&i||l.indeterminate){r=!0,t.checked=!1,t.indeterminate=!0;break}}r||(t.checked=s,t.indeterminate=!1)}findIndex(t,n=this.flatData){if(n!==null){let s=t instanceof Kn?t[this.options.keyField]:t;const i=n.length;for(let r=0;r<i;r++)if(n[0]instanceof Kn){if(s===n[r][this.options.keyField])return r}else if(s===n[r])return r}return-1}}const zb=pt({name:"CLoadingIcon"}),qb=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},Gb={viewBox:"0 0 50 50"},Jb=ae("circle",{class:"vtree-loading-icon__circle",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5","stroke-miterlimit":"10"},null,-1),Zb=[Jb];function Yb(e,t,n,s,i,r){return fe(),Ce("svg",Gb,Zb)}const ep=qb(zb,[["render",Yb]]),ja=["expand","check","click","select","node-dblclick","node-right-click","node-dragstart","node-dragenter","node-dragover","node-dragleave","node-drop"],tp=["expand","select","unselect","selected-change","check","uncheck","checked-change","set-data"],Xb=[...ja,...tp],Te="vtree-tree-node",Qb=(e,t)=>{const{dragoverBody:n,dragoverBefore:s,dragoverAfter:i}=t,r=ie(()=>[`${Te}__indent-wrapper`]),o=ie(()=>{var p,S,N,E,g;return[`${Te}__wrapper`,{[`${Te}__wrapper_is-leaf`]:(p=e.data)==null?void 0:p.isLeaf,[`${Te}_disabled`]:e.disableAll||((S=e.data)==null?void 0:S.disabled)},{[`${Te}_checked`]:e.checkable&&((N=e.data)==null?void 0:N.checked),[`${Te}_indeterminate`]:e.checkable&&((E=e.data)==null?void 0:E.indeterminate)},{[`${Te}_selected`]:(g=e.data)==null?void 0:g.selected}]}),l=ie(()=>[`${Te}__node-body`,{[`${Te}__drop_active`]:n.value}]),a=ie(()=>[`${Te}__drop`,{[`${Te}__drop_active`]:s.value}]),c=ie(()=>[`${Te}__drop`,{[`${Te}__drop_active`]:i.value}]),u=ie(()=>[`${Te}__square`,`${Te}__checkbox_wrapper`]),f=ie(()=>{var p;return[`${Te}__square`,`${Te}__expand`,{[`${Te}__expand_active`]:(p=e.data)==null?void 0:p.expand}]}),d=ie(()=>[`${Te}__loading-icon`]),h=ie(()=>{var p,S,N;return[`${Te}__checkbox`,{[`${Te}__checkbox_checked`]:(p=e.data)==null?void 0:p.checked,[`${Te}__checkbox_indeterminate`]:(S=e.data)==null?void 0:S.indeterminate,[`${Te}__checkbox_disabled`]:e.disableAll||((N=e.data)==null?void 0:N.disabled)}]}),m=ie(()=>{var p,S;return[`${Te}__title`,{[`${Te}__title_selected`]:(p=e.data)==null?void 0:p.selected,[`${Te}__title_disabled`]:e.disableAll||((S=e.data)==null?void 0:S.disabled)}]});return{indentWrapperCls:r,wrapperCls:o,nodeBodyCls:l,dropBeforeCls:a,dropAfterCls:c,checkboxWrapperCls:u,expandCls:f,loadingIconCls:d,checkboxCls:h,titleCls:m}},eN=["d","stroke-width","stroke","stroke-dasharray"],tN=["draggable"],Xo=pt({name:"VTreeNode",__name:"TreeNode",props:{titleField:{},keyField:{},checkable:{type:Boolean},selectable:{type:Boolean},unselectOnClick:{type:Boolean},disableAll:{type:Boolean},draggable:{type:Boolean},droppable:{type:Boolean},nodeIndent:{},render:{type:Function},showLine:{type:[Boolean,Object]},data:{},getNode:{type:Function},noSiblingNodeMap:{}},emits:[...ja],setup(e,{emit:t}){var n;const s=e,i=t,r=ne(!1),o=ne(!1),l=ne(!1),a=ie(()=>{const V={width:1,type:Ml.solid,color:"#D3D3D3",polyline:!1,dashDensity:3};let Z=V;if(typeof s.showLine=="object"){let be=V.dashDensity;typeof s.showLine.dashDensity=="number"&&s.showLine.dashDensity>=1&&s.showLine.dashDensity<=10&&(be=s.showLine.dashDensity),Z={width:s.showLine.width??V.width,type:s.showLine.type??V.type,color:s.showLine.color??V.color,polyline:s.showLine.polyline??V.polyline,dashDensity:be}}return Z}),c=ie(()=>a.value.width*100/s.nodeIndent),u=ie(()=>a.value.type===Ml.dashed?100/(a.value.dashDensity*2):"none"),f=V=>{var Z;if(!a.value.polyline||!V)return"M50,0 L50,100";const be=(Z=s.getNode(s.data[s.keyField]))==null?void 0:Z._parent;return be&&s.noSiblingNodeMap[be[s.keyField]]&&s.noSiblingNodeMap[s.data[s.keyField]]?"M50,0 L50,50 M100,50 L50,50":"M50,0 L50,100 M100,50 L50,50"},{indentWrapperCls:d,wrapperCls:h,nodeBodyCls:m,dropBeforeCls:p,dropAfterCls:S,checkboxWrapperCls:N,expandCls:E,loadingIconCls:g,checkboxCls:_,titleCls:y}=Qb(s,{dragoverBody:r,dragoverBefore:o,dragoverAfter:l}),w=ie(()=>s.getNode(s.data?s.data[s.keyField]:"")||s.data||{}),P=ie(()=>s.checkable),T=((n=s.data)==null?void 0:n.render)||s.render||null,O=ie(()=>pt({name:"Render",functional:!0,render(){return typeof T!="function"?aa("div"):T(w.value)}})),D=ie(()=>{var V;let Z={};return s.draggable&&!s.disableAll&&!((V=s.data)!=null&&V.disabled)&&(Z={dragstart:$e}),Z}),I=ie(()=>{let V={};return s.droppable&&(V={dragenter:Ge.bind(ze()),dragover:Je.bind(ze()),dragleave:Et.bind(ze()),drop:fn.bind(ze())}),V});function C(){var V;(V=s.data)!=null&&V.isLeaf||i("expand",w.value)}function R(){var V;s.disableAll||(V=s.data)!=null&&V.disabled||!s.checkable||i("check",w.value)}function G(V){var Z,be;if(i("click",w.value,V),s.selectable){if(s.disableAll||(Z=s.data)!=null&&Z.disabled||(be=s.data)!=null&&be.selected&&!s.unselectOnClick)return;i("select",w.value)}else s.checkable?R():C()}function z(V){i("node-dblclick",w.value,V)}function W(V){i("node-right-click",w.value,V)}const J=ne();function H(V){const Z=J.value.getBoundingClientRect(),be=Z.height,Ze=V.clientY-Z.top;return Ze<=be*.3?tn.before:Ze<=be*(.3+.4)?tn.body:tn.after}function le(V,Z=!1){o.value=!1,r.value=!1,l.value=!1,Z||(V===tn.before?o.value=!0:V===tn.body?r.value=!0:V===tn.after&&(l.value=!0))}function $e(V){var Z;V.dataTransfer&&V.dataTransfer.setData("node",JSON.stringify(s.data)),(Z=s.data)!=null&&Z.expand&&C(),i("node-dragstart",w.value,V)}function Ge(V){V.preventDefault();const Z=H(V);le(Z),i("node-dragenter",w.value,V,Z)}function Je(V){V.preventDefault();const Z=H(V);le(Z),i("node-dragover",w.value,V,Z)}function Et(V){const Z=H(V);le(Z,!0),i("node-dragleave",w.value,V,Z)}function fn(V){const Z=H(V);le(Z,!0),i("node-drop",w.value,V,Z)}return(V,Z)=>{var be,Ze,lt,Rt;return fe(),Ce("div",{class:xe(Y(d))},[V.showLine?(fe(!0),Ce(we,{key:0},hs(V.data._level,(tt,$t)=>(fe(),Ce("svg",{key:tt,viewBox:"0 0 100 100",preserveAspectRatio:"none",style:qe({alignSelf:"stretch",width:`${V.nodeIndent}px`})},[ae("path",{fill:"none",d:f($t===V.data._level-1),"stroke-width":c.value,stroke:a.value.color,"stroke-dasharray":u.value},null,8,eN)],4))),128)):Cn("",!0),ae("div",{class:xe(Y(h)),style:qe({paddingLeft:V.showLine?"none":`${V.data._level*V.nodeIndent}px`})},[ae("div",{class:xe(Y(p))},null,2),ae("div",en({ref_key:"nodeBody",ref:J,class:Y(m)},Bs(I.value,!0)),[ae("div",{class:xe(Y(E))},[zn(ae("i",{onClick:C},null,512),[[Gn,!((be=V.data)!=null&&be.isLeaf)&&!((Ze=V.data)!=null&&Ze._loading)]]),(lt=V.data)!=null&<._loading?(fe(),Wt(ep,{key:0,class:xe(Y(g))},null,8,["class"])):Cn("",!0)],2),P.value?(fe(),Ce("div",{key:0,class:xe(Y(N))},[ae("div",{class:xe(Y(_)),onClick:R},null,2)],2)):Cn("",!0),ae("div",en({class:Y(y),onClick:G,onDblclick:z,onContextmenu:W},Bs(D.value,!0),{draggable:V.draggable&&!V.disableAll&&!((Rt=V.data)!=null&&Rt.disabled)}),[Bn(V.$slots,"default",{node:w.value},()=>[Y(T)?(fe(),Wt($f(O.value),{key:0})):(fe(),Ce(we,{key:1},[_s(sn(V.data?V.data[V.titleField]:""),1)],64))])],16,tN)],16),ae("div",{class:xe(Y(S))},null,2)],6)],2)}}}),mn="vtree-tree",nN=()=>{const e=ie(()=>[`${mn}__wrapper`]),t=ie(()=>[`${mn}__scroll-area`]),n=ie(()=>[`${mn}__block-area`]),s=ie(()=>[`${mn}__empty`]),i=ie(()=>[`${mn}__empty-text_default`]),r=ie(()=>[`${mn}__loading`]),o=ie(()=>[`${mn}__loading-wrapper`]),l=ie(()=>[`${mn}__loading-icon`]),a=ie(()=>[`${mn}__iframe`]);return{wrapperCls:e,scrollAreaCls:t,blockAreaCls:n,emptyCls:s,emptyTextDefaultCls:i,loadingCls:r,loadingWrapperCls:o,loadingIconCls:l,iframeCls:a}},sN=(e,t)=>{const n=ne(),s=ne([]),i=ne(0),r=ne(0),o=ne(0),l=ne(0),a=ne(0),c=ne(0),u=ne(0),f=ne(0),d=ne(void 0),h=()=>{o.value=0,l.value=0,n.value&&(n.value.scrollTop=0)},m=()=>{const g=n.value.clientHeight;a.value=Math.max(t.renderNodeAmount,Math.ceil(g/t.nodeMinHeight)+t.bufferNodeAmount)},p=(g=!1)=>{if(i.value>a.value){const _=Math.max(n.value.scrollTop,0),y=Math.floor(_/t.nodeMinHeight);u.value=Math.floor(y/t.bufferNodeAmount)*t.bufferNodeAmount}else u.value=0;g&&c.value===a.value&&f.value===u.value||(s.value=e.blockNodes.slice(u.value,u.value+a.value).map(_=>Object.assign({},_,{_parent:null,children:[]})),o.value=u.value*t.nodeMinHeight,l.value=r.value-(o.value+s.value.length*t.nodeMinHeight))},S=()=>{m(),p()},N=()=>{e.blockNodes=e.store.flatData.filter(g=>g.visible),E(),S()},E=()=>{i.value=e.blockNodes.length,r.value=t.nodeMinHeight*i.value};return{scrollArea:n,renderNodes:s,blockLength:i,blockAreaHeight:r,topSpaceHeight:o,bottomSpaceHeight:l,renderAmount:a,renderAmountCache:c,renderStart:u,renderStartCache:f,resetSpaceHeights:h,updateRenderAmount:m,updateRenderNodes:p,updateRender:S,updateBlockNodes:N,updateBlockData:E,handleTreeScroll:()=>{d.value&&window.cancelAnimationFrame(d.value),c.value=a.value,f.value=u.value,d.value=window.requestAnimationFrame(p.bind(null,!0))},scrollTo:(g,_=Sr.top)=>{const y=e.store.mapData[g];if(!y||!y.visible)return;let w=-1;for(let T=0;T<i.value;T++)if(e.blockNodes[T][t.keyField]===g){w=T;break}if(w===-1)return;let P=w*t.nodeMinHeight;if(_===Sr.center){const T=n.value.clientHeight;P=P-(T-t.nodeMinHeight)/2}else if(_===Sr.bottom){const T=n.value.clientHeight;P=P-(T-t.nodeMinHeight)}else typeof _=="number"&&(P=P-_);n.value&&(n.value.scrollTop=P)}}},iN=e=>{const t=ne();un(()=>{const n=t.value;n!=null&&n.contentWindow&&n.contentWindow.addEventListener("resize",e)}),ws(()=>{const n=t.value;n!=null&&n.contentWindow&&n.contentWindow.removeEventListener("resize",e)})},rN=(e,t,n)=>{const{resetSpaceHeights:s,updateExpandedKeys:i,updateBlockData:r,updateRender:o}=n,l=ne([]),a=ne(!1);function c(V){s();let Z=null,be=null;t.checkable?Array.isArray(t.modelValue)?Z=t.modelValue.concat():typeof t.modelValue=="string"&&(Z=t.modelValue===""?[]:t.modelValue.split(t.separator)):t.selectable&&!Array.isArray(t.modelValue)&&(be=t.modelValue),e.store.setData(V,be,Z),i()}function u(V,Z){e.store.setChecked(V,Z)}function f(V,Z){e.store.setCheckedKeys(V,Z)}function d(){e.store.checkAll()}function h(){e.store.clearChecked()}function m(V,Z){e.store.setSelected(V,Z)}function p(){e.store.clearSelected()}function S(V,Z,be=!0){e.store.setExpand(V,Z,be)}function N(V,Z){e.store.setExpandKeys(V,Z)}function E(V){e.store.setExpandAll(V)}function g(V){return V=V||t.ignoreMode,e.store.getCheckedNodes(V)}function _(V){return V=V||t.ignoreMode,e.store.getCheckedKeys(V)}function y(){return e.store.getIndeterminateNodes()}function w(){return e.store.getSelectedNode()}function P(){return e.store.getSelectedKey()}function T(){return e.store.getExpandNodes()}function O(){return e.store.getExpandKeys()}function D(){return e.store.flatData.filter(V=>V._filterVisible)}function I(V){return e.store.getNode(V)}function C(){return e.store.data}function R(){return e.store.flatData}function G(){return e.store.flatData.length}function z(V,Z){return e.store.insertBefore(V,Z)}function W(V,Z){return e.store.insertAfter(V,Z)}function J(V,Z){return e.store.append(V,Z)}function H(V,Z){return e.store.prepend(V,Z)}function le(V){return e.store.remove(V)}function $e(V,Z){const be=(lt,Rt)=>{const tt=Rt[t.titleField];return tt==null||!tt.toString?!1:tt.toString().toLowerCase().indexOf(lt.toLowerCase())>-1},Ze=Z||t.filterMethod||be;e.store.filter(V,Ze)}function Ge(V){if(!t.checkable)return;V=V??t.showUnloadCheckedNodes;const Z=e.store.getCheckedNodes();if(e.store.filter("",(Ze,lt)=>lt.checked),!V)return;const be=e.store.getUnloadCheckedKeys();if(be.length){const Ze=be.map(lt=>{const Rt=t.unloadDataList.concat(Z);let tt=lt;return Rt.some($t=>$t[t.keyField]===lt&&$t[t.titleField]!=null?(tt=$t[t.titleField],!0):!1),new Kn({[t.keyField]:lt,[t.titleField]:tt,checked:!0,isLeaf:!0},null,t.keyField,!!t.load)});l.value=Ze,e.blockNodes=e.blockNodes.concat(Ze),r(),o()}}function Je(){return a.value=!0,new Promise((V,Z)=>{t.load&&t.load(null,V,Z)}).then(V=>{Array.isArray(V)&&c(V)}).catch(()=>{}).then(()=>{a.value=!1})}function Et(V,Z){return e.store.updateNode(V,Z)}function fn(V){return e.store.updateNodes(V)}return{unloadCheckedNodes:l,isRootLoading:a,setData:c,setChecked:u,setCheckedKeys:f,checkAll:d,clearChecked:h,setSelected:m,clearSelected:p,setExpand:S,setExpandKeys:N,setExpandAll:E,getCheckedNodes:g,getCheckedKeys:_,getIndeterminateNodes:y,getSelectedNode:w,getSelectedKey:P,getExpandNodes:T,getExpandKeys:O,getCurrentVisibleNodes:D,getNode:I,getTreeData:C,getFlatData:R,getNodesCount:G,insertBefore:z,insertAfter:W,append:J,prepend:H,remove:le,filter:$e,showCheckedNodes:Ge,loadRootNodes:Je,updateNode:Et,updateNodes:fn}},oN=(e,...t)=>{const n={};return t.forEach(s=>{e.hasOwnProperty(s)&&(n[s]=e[s])}),n},lN=(e,t,n)=>{const s=ne(!1),i=ne(!1),r=ne(-1),o=ne(-1),l=ne(!1),a=ne(!1),c=ne(0),u=ne([]),f=ne([]),d=ne([]),h=()=>{s.value=!1,i.value=!1,r.value=-1,o.value=-1,c.value=0,u.value=[],f.value=[],d.value=[]},m=()=>{const p=o.value,S=[],N=e.value.length,E=t.value-c.value;for(let g=r.value-E+1;g<N&&e.value[g]._level>p;g++)S.push(e.value[g]);f.value=S};return{ready:i,currentExpandState:l,topNodes:u,middleNodes:f,bottomNodes:d,updateBeforeExpand:p=>{if(!n.animation)return;h();const S=p[n.keyField],N=e.value.findIndex(E=>E[n.keyField]===S);N>-1&&(r.value=N,o.value=p._level,s.value=!0,l.value=p.expand,a.value=!p.expand,c.value=t.value,a.value?d.value=e.value.slice(r.value+1):m())},updateAfterExpand:()=>{if(n.animation){if(!s.value){s.value=!1;return}r.value!==-1&&Xn(()=>{const p=t.value-c.value;u.value=e.value.slice(0,r.value-p+1),a.value?m():d.value=e.value.slice(r.value-p+1),i.value=!0,Xn(()=>{l.value=!l.value})})}},onExpandAnimationFinish:()=>{h()}}},aN={style:{display:"grid"}},cN={style:{overflow:"hidden"}},np={data:()=>[],unloadDataList:()=>[],showUnloadCheckedNodes:!0,emptyText:"暂无数据",titleField:"title",keyField:"id",separator:",",checkable:!1,selectable:!1,filteredNodeCheckable:!1,cascade:!0,enableLeafOnly:!1,disableAll:!1,defaultExpandAll:!1,defaultExpandedKeys:()=>[],expandedKeys:()=>[],draggable:!1,droppable:!1,beforeDropMethod:()=>()=>!0,ignoreMode:eo.none,autoLoad:!0,expandOnFilter:!0,unselectOnClick:!0,loading:!1,nodeMinHeight:30,nodeIndent:20,renderNodeAmount:100,bufferNodeAmount:20},uN=pt({name:"VTree",inheritAttrs:!1,__name:"Tree",props:Hf({data:{},emptyText:{},modelValue:{},selectable:{type:Boolean},checkable:{type:Boolean},separator:{},ignoreMode:{},titleField:{},keyField:{},filterMethod:{type:Function},showUnloadCheckedNodes:{type:Boolean},unloadDataList:{},load:{type:Function},filteredNodeCheckable:{type:Boolean},cascade:{type:Boolean},enableLeafOnly:{type:Boolean},disableAll:{type:Boolean},defaultExpandAll:{type:Boolean},defaultExpandedKeys:{},expandedKeys:{},draggable:{type:Boolean},droppable:{type:Boolean},beforeDropMethod:{type:Function},autoLoad:{type:Boolean},render:{type:Function},expandOnFilter:{type:Boolean},unselectOnClick:{type:Boolean},loading:{type:Boolean},nodeClassName:{type:[String,Object,Array,Function]},showLine:{type:[Boolean,Object]},animation:{type:Boolean},nodeIndent:{},renderNodeAmount:{},nodeMinHeight:{},bufferNodeAmount:{}},np),emits:["update:modelValue",...Xb],setup(e,{expose:t,emit:n}){const s=e,i=n,r=["node-drop","check","select","expand"],o=ja.reduce((q,me)=>(r.indexOf(me)<0&&(q[me]=(...de)=>{i(me,...de)}),q),{}),l=()=>({store:new Wb({keyField:s.keyField,ignoreMode:s.ignoreMode,filteredNodeCheckable:s.filteredNodeCheckable,cascade:s.cascade,defaultExpandAll:s.defaultExpandAll,load:s.load,expandOnFilter:s.expandOnFilter}),blockNodes:[]});let a=l();tp.forEach(q=>{a.store.on(q,(...me)=>{i(q,...me)})});const c=()=>{s.expandedKeys.length&&(a.store.setExpandAll(!1,!1),a.store.setExpandKeys(s.expandedKeys,!0))},{wrapperCls:u,scrollAreaCls:f,blockAreaCls:d,emptyCls:h,emptyTextDefaultCls:m,loadingCls:p,loadingWrapperCls:S,loadingIconCls:N,iframeCls:E}=nN(),{scrollArea:g,renderNodes:_,blockLength:y,topSpaceHeight:w,bottomSpaceHeight:P,renderStart:T,resetSpaceHeights:O,updateRender:D,updateBlockNodes:I,updateBlockData:C,handleTreeScroll:R,scrollTo:G}=sN(a,s),z=lN(_,T,s),{unloadCheckedNodes:W,isRootLoading:J,setData:H,setChecked:le,setCheckedKeys:$e,checkAll:Ge,clearChecked:Je,setSelected:Et,clearSelected:fn,setExpand:V,setExpandKeys:Z,setExpandAll:be,getCheckedNodes:Ze,getCheckedKeys:lt,getIndeterminateNodes:Rt,getSelectedNode:tt,getSelectedKey:$t,getExpandNodes:oi,getExpandKeys:v,getCurrentVisibleNodes:b,getNode:x,getTreeData:F,getFlatData:M,getNodesCount:A,insertBefore:B,insertAfter:$,append:j,prepend:L,remove:ee,filter:U,showCheckedNodes:X,loadRootNodes:se,updateNode:pe,updateNodes:Oe}=rN(a,s,{resetSpaceHeights:O,updateExpandedKeys:c,updateBlockData:C,updateRender:D}),Ee=q=>typeof s.nodeClassName=="function"?s.nodeClassName(q):s.nodeClassName,Ye=ie(()=>{var q;const me=[];let de=(q=_.value[0])==null?void 0:q._parent;for(;de;)me.push(de),de=de._parent;const Qe=me.concat(_.value),hn={},xs=[];return Qe.forEach(tr=>{const Ba=tr._level;let Vo=xs.length;for(;Vo;){const Ka=xs[Vo-1],Ua=Ka._level;if(Ua>Ba)hn[Ka[s.keyField]]=!0,xs.pop();else if(Ua===Ba){xs.pop();break}else break;Vo--}xs.push(tr)}),xs.forEach(tr=>{hn[tr[s.keyField]]=!0}),hn}),Xe=(q,me)=>{if(Array.isArray(q)&&Array.isArray(me)){if(q.length===me.length&&q.every(de=>me.some(Qe=>Qe===de)))return!0}else if(q===me)return!0;return!1},nt=ne(Array.isArray(s.modelValue)?s.modelValue.concat():s.modelValue),st=q=>{!s.cascade&&s.enableLeafOnly&&!q.isLeaf||a.store.setChecked(q[s.keyField],q.indeterminate?!0:!q.checked,!0,!0,!0)},dn=q=>{s.enableLeafOnly&&!q.isLeaf||a.store.setSelected(q[s.keyField],!q.selected)},Ds=q=>{z.updateBeforeExpand(q),a.store.setExpand(q[s.keyField],!q.expand)},Ke=(q,me,de)=>{if(s.droppable&&me.dataTransfer)try{const Qe=JSON.parse(me.dataTransfer.getData("node"))[s.keyField],hn=q[s.keyField];if(s.beforeDropMethod(Qe,hn,de)){if(Qe===hn)return;de===tn.before?a.store.insertBefore(Qe,hn):de===tn.body||!q.isLeaf&&q.expand?a.store.prepend(Qe,hn):de===tn.after&&a.store.insertAfter(Qe,hn),i("node-drop",q,me,de,x(Qe))}}catch(Qe){throw new Error(Qe)}};ft(()=>s.modelValue,q=>{if(s.checkable){if(Xe(q,nt.value))return;let me=[];Array.isArray(q)?me=q.concat():typeof q=="string"&&(me=q===""?[]:q.split(s.separator)),a.store.clearChecked(!1,!1),a.store.setCheckedKeys(me,!0)}else if(s.selectable){if(q===nt.value)return;const me=a.store.getSelectedKey();q!==""&&q!=null?a.store.setSelected(q,!0):(q===""||q==null)&&me&&a.store.setSelected(me,!1)}}),ft(()=>s.data,q=>{H(q)}),ft(()=>s.expandedKeys,()=>{c()});const Vt=()=>{if(W.value.length){const q=a.store.getUnloadCheckedKeys();W.value.forEach(me=>{me.checked=q.indexOf(me[s.keyField])>-1})}},Qi=(q,me)=>{if(s.checkable){let de=me;Array.isArray(s.modelValue)||(de=de.join(s.separator)),Array.isArray(de)?nt.value=de.concat():nt.value=de,i("update:modelValue",de)}},er=(q,me)=>{if(s.selectable&&!s.checkable){const de=me||"";nt.value=de,i("update:modelValue",de)}};un(()=>{a.store.on("expand",z.updateAfterExpand),a.store.on("visible-data-change",I),a.store.on("render-data-change",D),a.store.on("checked-change",(q,me)=>{Qi(q,me),Vt()}),a.store.on("selected-change",er),s.data.length?(H(s.data),s.defaultExpandedKeys.length&&a.store.setExpandKeys(s.defaultExpandedKeys,!0)):typeof s.load=="function"&&s.autoLoad&&((s.modelValue||s.unloadDataList)&&H([]),se())}),ws(()=>{a.store.disposeListeners();const q=l();a.store=q.store,a.blockNodes=q.blockNodes}),iN(D);const op=["titleField","keyField","checkable","selectable","unselectOnClick","disableAll","draggable","droppable","render","nodeIndent","showLine"],To=ii(oN(lf(s),...op));return t({setData:H,setChecked:le,setCheckedKeys:$e,checkAll:Ge,clearChecked:Je,setSelected:Et,clearSelected:fn,setExpand:V,setExpandKeys:Z,setExpandAll:be,getCheckedNodes:Ze,getCheckedKeys:lt,getIndeterminateNodes:Rt,getSelectedNode:tt,getSelectedKey:$t,getExpandNodes:oi,getExpandKeys:v,getCurrentVisibleNodes:b,getNode:x,getTreeData:F,getFlatData:M,getNodesCount:A,insertBefore:B,insertAfter:$,append:j,prepend:L,remove:ee,filter:U,showCheckedNodes:X,loadRootNodes:se,updateNode:pe,updateNodes:Oe,scrollTo:G}),(q,me)=>(fe(),Ce("div",{class:xe(Y(u))},[ae("div",{ref_key:"scrollArea",ref:g,class:xe(Y(f)),onScrollPassive:me[0]||(me[0]=$d((...de)=>Y(R)&&Y(R)(...de),["stop"]))},[ae("div",{class:xe(Y(d))},[ae("div",{style:qe({height:`${Y(w)}px`})},null,4),(fe(!0),Ce(we,null,hs(Y(z).ready.value?Y(z).topNodes.value:Y(_),de=>(fe(),Wt(Xo,en({ref_for:!0},To,{key:de[q.keyField],data:de,getNode:Y(x),noSiblingNodeMap:Ye.value},Bs(Y(o)),{class:Ee(de),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:st,onSelect:dn,onExpand:Ds,onNodeDrop:Ke}),{default:rn(Qe=>[Bn(q.$slots,"node",en({ref_for:!0},Qe))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128)),Y(z).ready.value?(fe(),Ce(we,{key:0},[_e(ca,{name:"vtree-expand-animation",onAfterEnter:Y(z).onExpandAnimationFinish,onAfterLeave:Y(z).onExpandAnimationFinish},{default:rn(()=>[zn(ae("div",aN,[ae("div",cN,[(fe(!0),Ce(we,null,hs(Y(z).middleNodes.value,de=>(fe(),Wt(Xo,en({ref_for:!0},To,{key:de[q.keyField],data:de,getNode:Y(x),noSiblingNodeMap:Ye.value},Bs(Y(o)),{class:Ee(de),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:st,onSelect:dn,onExpand:Ds,onNodeDrop:Ke}),{default:rn(Qe=>[Bn(q.$slots,"node",en({ref_for:!0},Qe))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128))])],512),[[Gn,Y(z).currentExpandState.value]])]),_:3},8,["onAfterEnter","onAfterLeave"]),(fe(!0),Ce(we,null,hs(Y(z).bottomNodes.value,de=>(fe(),Wt(Xo,en({ref_for:!0},To,{key:de[q.keyField],data:de,getNode:Y(x),noSiblingNodeMap:Ye.value},Bs(Y(o)),{class:Ee(de),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:st,onSelect:dn,onExpand:Ds,onNodeDrop:Ke}),{default:rn(Qe=>[Bn(q.$slots,"node",en({ref_for:!0},Qe))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128))],64)):Cn("",!0),ae("div",{style:qe({height:`${Y(P)}px`})},null,4)],2)],34),zn(ae("div",{class:xe(Y(h))},[ae("span",{class:xe(Y(m))},[Bn(q.$slots,"empty",{},()=>[_s(sn(q.emptyText),1)])],2)],2),[[Gn,!Y(y)]]),zn(ae("div",{class:xe(Y(p))},[ae("div",{class:xe(Y(S))},[Bn(q.$slots,"loading",{},()=>[_e(ep,{class:xe(Y(N))},null,8,["class"])])],2)],2),[[Gn,q.loading||Y(J)]]),ae("iframe",{ref:"iframe",class:xe(Y(E))},null,2)],2))}}),fN={...np,searchPlaceholder:"搜索关键字",showCheckAll:!0,showCheckedButton:!0,checkedButtonText:"已选",showFooter:!0,searchLength:1,searchDisabled:!1,searchRemote:!1,searchDebounceTime:300};({...fN,placement:Qh["bottom-start"]});const dN="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13%203L13.7071%202.29289C13.5196%202.10536%2013.2652%202%2013%202V3ZM19%209H20C20%208.73478%2019.8946%208.48043%2019.7071%208.29289L19%209ZM13.109%208.45399L14%208V8L13.109%208.45399ZM13.546%208.89101L14%208L13.546%208.89101ZM10%2013C10%2012.4477%209.55228%2012%209%2012C8.44772%2012%208%2012.4477%208%2013H10ZM8%2016C8%2016.5523%208.44772%2017%209%2017C9.55228%2017%2010%2016.5523%2010%2016H8ZM8.5%209C7.94772%209%207.5%209.44772%207.5%2010C7.5%2010.5523%207.94772%2011%208.5%2011V9ZM9.5%2011C10.0523%2011%2010.5%2010.5523%2010.5%2010C10.5%209.44772%2010.0523%209%209.5%209V11ZM8.5%206C7.94772%206%207.5%206.44772%207.5%207C7.5%207.55228%207.94772%208%208.5%208V6ZM9.5%208C10.0523%208%2010.5%207.55228%2010.5%207C10.5%206.44772%2010.0523%206%209.5%206V8ZM17.908%2020.782L17.454%2019.891L17.454%2019.891L17.908%2020.782ZM18.782%2019.908L19.673%2020.362L18.782%2019.908ZM5.21799%2019.908L4.32698%2020.362H4.32698L5.21799%2019.908ZM6.09202%2020.782L6.54601%2019.891L6.54601%2019.891L6.09202%2020.782ZM6.09202%203.21799L5.63803%202.32698L5.63803%202.32698L6.09202%203.21799ZM5.21799%204.09202L4.32698%203.63803L4.32698%203.63803L5.21799%204.09202ZM12%203V7.4H14V3H12ZM14.6%2010H19V8H14.6V10ZM12%207.4C12%207.66353%2011.9992%207.92131%2012.0169%208.13823C12.0356%208.36682%2012.0797%208.63656%2012.218%208.90798L14%208C14.0293%208.05751%2014.0189%208.08028%2014.0103%207.97537C14.0008%207.85878%2014%207.69653%2014%207.4H12ZM14.6%208C14.3035%208%2014.1412%207.99922%2014.0246%207.9897C13.9197%207.98113%2013.9425%207.9707%2014%208L13.092%209.78201C13.3634%209.92031%2013.6332%209.96438%2013.8618%209.98305C14.0787%2010.0008%2014.3365%2010%2014.6%2010V8ZM12.218%208.90798C12.4097%209.2843%2012.7157%209.59027%2013.092%209.78201L14%208V8L12.218%208.90798ZM8%2013V16H10V13H8ZM8.5%2011H9.5V9H8.5V11ZM8.5%208H9.5V6H8.5V8ZM13%202H8.2V4H13V2ZM4%206.2V17.8H6V6.2H4ZM8.2%2022H15.8V20H8.2V22ZM20%2017.8V9H18V17.8H20ZM19.7071%208.29289L13.7071%202.29289L12.2929%203.70711L18.2929%209.70711L19.7071%208.29289ZM15.8%2022C16.3436%2022%2016.8114%2022.0008%2017.195%2021.9694C17.5904%2021.9371%2017.9836%2021.8658%2018.362%2021.673L17.454%2019.891C17.4045%2019.9162%2017.3038%2019.9539%2017.0322%2019.9761C16.7488%2019.9992%2016.3766%2020%2015.8%2020V22ZM18%2017.8C18%2018.3766%2017.9992%2018.7488%2017.9761%2019.0322C17.9539%2019.3038%2017.9162%2019.4045%2017.891%2019.454L19.673%2020.362C19.8658%2019.9836%2019.9371%2019.5904%2019.9694%2019.195C20.0008%2018.8114%2020%2018.3436%2020%2017.8H18ZM18.362%2021.673C18.9265%2021.3854%2019.3854%2020.9265%2019.673%2020.362L17.891%2019.454C17.7951%2019.6422%2017.6422%2019.7951%2017.454%2019.891L18.362%2021.673ZM4%2017.8C4%2018.3436%203.99922%2018.8114%204.03057%2019.195C4.06287%2019.5904%204.13419%2019.9836%204.32698%2020.362L6.10899%2019.454C6.0838%2019.4045%206.04612%2019.3038%206.02393%2019.0322C6.00078%2018.7488%206%2018.3766%206%2017.8H4ZM8.2%2020C7.62345%2020%207.25117%2019.9992%206.96784%2019.9761C6.69617%2019.9539%206.59545%2019.9162%206.54601%2019.891L5.63803%2021.673C6.01641%2021.8658%206.40963%2021.9371%206.80497%2021.9694C7.18864%2022.0008%207.65645%2022%208.2%2022V20ZM4.32698%2020.362C4.6146%2020.9265%205.07354%2021.3854%205.63803%2021.673L6.54601%2019.891C6.35785%2019.7951%206.20487%2019.6422%206.10899%2019.454L4.32698%2020.362ZM8.2%202C7.65645%202%207.18864%201.99922%206.80497%202.03057C6.40963%202.06287%206.01641%202.13419%205.63803%202.32698L6.54601%204.10899C6.59545%204.0838%206.69617%204.04612%206.96784%204.02393C7.25117%204.00078%207.62345%204%208.2%204V2ZM6%206.2C6%205.62345%206.00078%205.25117%206.02393%204.96784C6.04612%204.69617%206.0838%204.59545%206.10899%204.54601L4.32698%203.63803C4.13419%204.01641%204.06287%204.40963%204.03057%204.80497C3.99922%205.18864%204%205.65645%204%206.2H6ZM5.63803%202.32698C5.07354%202.6146%204.6146%203.07354%204.32698%203.63803L6.10899%204.54601C6.20487%204.35785%206.35785%204.20487%206.54601%204.10899L5.63803%202.32698Z'%20fill='%23000000'/%3e%3c/svg%3e",hN="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%201H6L9%204H16V14H0V1Z'%20fill='%2354aeff'/%3e%3c/svg%3e",xo=function({isMaster:e=!1}={}){return{...Pa({isMaster:e,key:"diffFiles"})}};function pN(e){function t(i){return i.fullPath?i.fullPath:i.diffPair?i.diffPair[1]?.filename||i.diffPair[0]?.filename:typeof i.diffPatch=="string"?Uh(i.diffPatch).modFilename:""}const n=e.map((i,r)=>{const o=t(i),l=o.split("/"),a=l.at(-1)||"",c=a.split(".").at(-1);return{...i,fullPath:o,name:a,folderPath:l.slice(0,-1).join("/"),type:c?.toLowerCase()}});n.sort((i,r)=>i.fullPath===r.fullPath?0:i.fullPath>r.fullPath?1:-1);const s=Object.fromEntries(n.map(i=>[i.fullPath,i]));return{files:n,fileMap:s}}const mN={class:"file-search"},gN=["placeholder"],vN=pt({__name:"FileSearch",props:{placeholder:{default:"Search files"}},emits:["update:modelValue"],setup(e,{emit:t}){const{funcs:n}=xo(),{searchKeyword:s}=n,i=JE(r=>{n.filterTree(r.target.value)},300);return(r,o)=>(fe(),Ce("div",mN,[zn(ae("input",{class:"file-search__input",type:"search","onUpdate:modelValue":o[0]||(o[0]=l=>Ie(s)?s.value=l:null),placeholder:e.placeholder,autocomplete:"off",spellcheck:"false",onInput:o[1]||(o[1]=(...l)=>Y(i)&&Y(i)(...l))},null,40,gN),[[Li,Y(s)]])]))}}),yN=kn(vN,[["__scopeId","data-v-035db611"]]);function Cu(e,t){return{id:t,title:e,name:e,fullPath:t,isDirectory:!0,children:[]}}function sp(e){const t=e.children?.map(s=>s.isDirectory?sp(s):s)||[];let n={id:e.id,title:e.title,name:e.name,fullPath:e.fullPath,isDirectory:!0,children:t};for(;n.children?.length===1&&n.children[0].isDirectory;){const s=n.children[0],i=`${n.name}/${s.name}`;n={id:s.id,title:i,name:i,fullPath:s.fullPath,isDirectory:!0,children:s.children}}return n}function EN(e){const t=Cu("","");return e.forEach(n=>{const{fullPath:s,folderPath:i="",name:r}=n,o=i.split("/").filter(Boolean);let l=t,a="";o.forEach(c=>{a=a?`${a}/${c}`:c;let u=l.children?.find(f=>f.isDirectory&&f.name===c);u||(u=Cu(c,a),l.children?.push(u)),l=u}),l.children?.push({...n,id:s,title:r||"",name:r,fullPath:s,isDirectory:!1})}),t.children.map(n=>n.isDirectory?sp(n):n)}function _N(e,t){return t?.trim()?w_.filter(e,s=>[s.title,s.fullPath].find(r=>qE.like(r,t))||!!s.children?.length)||[]:e}const bN={class:"file-explore-wrap"},NN={class:"file-tree"},SN=["title","onClick"],ON=["src"],wN={class:"file-tree-node__label"},CN=pt({__name:"FileExplore",props:{diffFiles:{default:()=>[]}},emits:["select-file"],setup(e,{emit:t}){const n=e,s=t,{funcs:i,registerFunc:r}=xo(),o=ne(null),l=Un([]),a=ne(""),c=ne(""),u=p=>{const S=_N(l.value,p);o.value?.setData(S)};r({searchKeyword:a,selectedFileKey:c,filterTree:u});const f=async()=>{l.value=EN(n.diffFiles),await Xn(),o.value?.clearSelected(),u(a.value)},d=p=>{i.selectFile?.(p),s("select-file",{fullPath:p})},h=p=>{if(p=p,p.isDirectory){o.value?.setExpand(p.id,!p.expand,!1);return}d(p.fullPath)},m=p=>{!p||p.isDirectory||i.selectedFileKey.value===p.fullPath||d(p.fullPath)};return un(()=>{f()}),(p,S)=>(fe(),Ce("div",bN,[_e(yN),ae("div",NN,[_e(Y(uN),{ref_key:"treeRef",ref:o,selectable:"","enable-leaf-only":"","unselect-on-click":!1,"default-expand-all":!0,animation:!1,"node-min-height":32,"node-indent":8,"render-node-amount":60,"buffer-node-amount":20,"empty-text":"No changed files",onSelectedChange:m},{node:rn(({node:N})=>[ae("div",{class:"file-tree-node",title:N.fullPath||N.title,onClick:E=>h(N)},[ae("img",{class:"file-tree-node__icon",src:N.isDirectory?Y(hN):Y(dN),alt:""},null,8,ON),ae("span",wN,sn(N.title),1)],8,SN)]),_:1},512)])]))}}),DN=kn(CN,[["__scopeId","data-v-70ab28a6"]]),Du=12,xN=2,TN=pt({__name:"DiffList",props:{diffFiles:{default:()=>[]},fileOverScan:{default:30},fileViewMap:{default:()=>({})},viewerStyle:{default:()=>({})}},emits:["view-state-change"],setup(e,{emit:t}){const n=Kh+xN+Du,s=e,i=t,r=ne(null),{funcs:o}=Fh(),{funcs:l,registerFunc:a}=xo(),{selectedFileKey:c}=l;a({selectFile:async m=>{const p=s.diffFiles.findIndex(S=>S.fullPath===m);if(p<0){c.value="";return}c.value=m,await Xn(),o.virtualer?.value.scrollToIndex(p,{align:"start"})}});const f=m=>{const p=s.fileViewMap[m.fullPath];return{...s.viewerStyle,height:`${p?.height||0}px`,viewed:p?.viewed??!1,rawed:p?.rawed??!1}},d=m=>{let{height:p,viewed:S}=s.fileViewMap[m.fullPath];return S&&(p=0),p+n},h=(m,p)=>{i("view-state-change",m,p),o.resizeItem(m.fullPath,d(m))};return(m,p)=>(fe(),Wt(Y(zE),{ref_key:"virtualScrollRef",ref:r,class:"diff-list-wrap",items:e.diffFiles,itemSize:d,keyField:"fullPath",overscan:e.fileOverScan},{default:rn(({item:S})=>[ae("div",{class:xe(["file-wrap",{"file-wrap--selected":Y(c)===S.fullPath}]),style:qe({paddingBottom:`${Du}px`})},[_e(Zh,{fileId:S.fullPath,diffPair:S.diffPair,diffPatch:S.diffPatch,viewerStyle:f(S),onViewStateChange:N=>h(S,N)},null,8,["fileId","diffPair","diffPatch","viewerStyle","onViewStateChange"])],6)]),_:1},8,["items","overscan"]))}}),VN=kn(TN,[["__scopeId","data-v-9f37abdf"]]),kN={class:"diff-files-wrap"},AN={class:"content-wrap"},IN={class:"filelist-viewer-wrap"},MN=3,PN=pt({__name:"DiffFiles",props:{diffFiles:{default:()=>[]},fileOverScan:{default:30},viewerStyle:{default:()=>({})}},emits:["select-file"],setup(e,{emit:t}){const n=e,{files:s,fileMap:i}=pN(n.diffFiles),r=c=>{const u=o[c.fullPath];return n.viewerStyle.height?Gh(n.viewerStyle.height):(()=>{const d={minHeight:"0px",maxHeight:"500px",...n.viewerStyle};return Jh({id:c.fullPath,patch:c.diffPatch,pair:c.diffPair,minHeight:d.minHeight,maxHeight:d.maxHeight,unchangedVisiable:u.rawed,unchangedCtxLineNum:MN,unchangedMinLineNum:1})})()},o=ii(Object.fromEntries(s.map(c=>[c.fullPath,{height:0,viewed:!1,rawed:!1}])));Yl(()=>{Object.entries(o).forEach(([c,u])=>{a(i[c])})});const l=t;xo({isMaster:!0});const a=(c,u={})=>{const f=o[c.fullPath];Object.assign(f,u),f.height=r(c)};return(c,u)=>(fe(),Ce("div",kN,[ae("div",AN,[_e(DN,{class:"file-explore",diffFiles:Y(s),onSelectFile:u[0]||(u[0]=f=>l("select-file",f))},null,8,["diffFiles"]),ae("div",IN,[_e(VN,{diffFiles:Y(s),fileOverScan:e.fileOverScan,fileViewMap:o,viewerStyle:e.viewerStyle,onViewStateChange:a},null,8,["diffFiles","fileOverScan","fileViewMap","viewerStyle"])])])]))}}),LN=kn(PN,[["__scopeId","data-v-1a22123f"]]),ip="wtool-diff-files",Ha=No(LN,{shadowRoot:!1});function rp(e=ip){customElements.get(e)||customElements.define(e,Ha)}function xu(e,t){const n=e;for(const s of Object.keys(t)){const i=t[s];i!==void 0&&(n[s]=i)}}function FN(e,t={}){rp();const n=new Ha,s=new Set;return xu(n,t),e.appendChild(n),{update(i){xu(n,i)},onSelectFile(i){const r=o=>{const[l]=o.detail;i(l)};return s.add(r),n.addEventListener("select-file",r),()=>{s.delete(r),n.removeEventListener("select-file",r)}},destroy(){s.forEach(i=>{n.removeEventListener("select-file",i)}),s.clear(),n.remove()}}}exports.WTOOL_DIFF_FILES_TAG=ip;exports.WTOOL_DIFF_VIEWER_TAG=Yh;exports.WtoolDiffFiles=Ha;exports.WtoolDiffViewer=$a;exports.createDiffFiles=FN;exports.createDiffViewer=jb;exports.loader=Bh;exports.registerDiffFiles=rp;exports.registerDiffViewer=Xh;
|
|
58
|
+
`),u=Math.max(a.length,c.length);if(s){const p=u*za+qa;return Math.max(t,Math.min(p,n))}const{blocks:f,totalLines:d}=qb(o,l);if(f.length===0)return t;const h=Zh(d,i,r,n);for(const p of f)if(h.feed(p.start,p.end),h.maxReached)return n;let m=h.flush();return m=Math.max(t,m),m=Math.min(n,m),m},Yh=e=>{if(e.endsWith("vh")){const t=parseFloat(e);return Math.round(t/100*document.documentElement.clientHeight)}return Math.round(parseFloat(e))},Xh=function({id:e,patch:t,pair:n,maxHeight:s,minHeight:i,unchangedVisiable:r,unchangedCtxLineNum:o,unchangedMinLineNum:l=1}){const a=r?"visible":"hidden",[c,u]=[i,s].map(Yh),f=n?.[0]?.content,d=n?.[1]?.content,h=ku.get(e),m=h?.patch===t&&h?.origContent===f&&h?.modContent===d&&h?.minPx===c&&h?.maxPx===u&&h?.unchangedCtxLineNum===o&&h?.unchangedMinLineNum===l,p=m?h.heights[a]:void 0;if(p!==void 0)return p;const S={minPx:c,maxPx:u,unchangedVisiable:r,unchangedCtxLineNum:o,unchangedMinLineNum:l},N=t?Gb({patch:t,...S}):Jb({pair:n,...S});return ku.set(e,{patch:t,origContent:f,modContent:d,minPx:c,maxPx:u,unchangedCtxLineNum:o,unchangedMinLineNum:l,heights:{...m?h.heights:{},[a]:N}}),N},Vu=function(...e){},Zb={class:"content-wrap"},Yb=vt({__name:"DiffViewer",props:{fileId:{default:""},diffPair:{default:()=>[]},diffPatch:{default:""},language:{default:"plaintext"},options:{default:()=>({})},modelOptions:{default:()=>({})},viewerStyle:{}},emits:["viewStateChange"],setup(e,{emit:t}){const n=t,s=RE,i=ne(!0),r=performance.now(),o=async()=>{const E=performance.now()-r;Vu(`[DiffViewer] 渲染耗时: ${E.toFixed(2)} ms`),i.value=!1},l=e,a=ne(l.diffPair||null);(function(){a.value?.length||(a.value=Hb(l.diffPatch))})(),Vu(`[DiffViewer] patch耗时: ${(performance.now()-r).toFixed(2)} ms`);const u=oe(()=>a.value[0]?.content??""),f=oe(()=>a.value[1]?.content??""),{funcs:d,registerFunc:h}=Wa({isMaster:!0}),m=oe(()=>{const E=!N.value;let y=l.options.hideUnchangedRegions||{};return!E&&S.value?y={enabled:!1,...y}:y={enabled:!0,contextLineCount:3,minimumLineCount:1,...y},{...l.options,hideUnchangedRegions:y}}),p=ne(l.viewerStyle?.viewed??!1),S=ne(l.viewerStyle?.rawed??!1),N=ne(!l.diffPatch),_=oe(()=>{if(l.viewerStyle?.height)return l.viewerStyle.height;const E={minHeight:"100px",maxHeight:"250px",...l.viewerStyle||{}},y=l.fileId||r_();return`${Xh({id:y,patch:l.diffPatch,pair:l.diffPair,...E,unchangedVisiable:d.rawed.value,unchangedCtxLineNum:m.value.hideUnchangedRegions.contextLineCount??3,unchangedMinLineNum:m.value.hideUnchangedRegions.minimumLineCount??1})}px`}),v=oe(()=>({"--viewer-width":l.viewerStyle?.width||"100%","--viewer-height":_.value}));return h({viewed:p,updateViewed(E){p.value=E,n("viewStateChange",{rawed:S.value,viewed:E})},rawed:S,updateRawed(E){S.value=E,n("viewStateChange",{rawed:E,viewed:p.value})},canUnchangeVisible:N}),(E,y)=>(fe(),ke("div",{class:"diff-viewer-wrap",style:Xe(v.value),"on:viewStateChange":y[0]||(y[0]=()=>{})},[_e($b,{class:"top-bar",diffPair:a.value},null,8,["diffPair"]),Zn((fe(),ke("div",Zb,[_e(xb,{class:"monaco-container",style:Xe({opacity:i.value?0:1}),originalCode:u.value,modifiedCode:f.value,language:e.language,options:m.value,modelOptions:e.modelOptions,onRenderComplete:o},null,8,["style","originalCode","modifiedCode","language","options","modelOptions"])])),[[Xn,!p.value],[Z(s),i.value]])],36))}}),Qh=Ln(Yb,[["__scopeId","data-v-fc4f3bfe"]]),ep="wtool-diff-viewer",Ga=xo(Qh,{shadowRoot:!1});function tp(e=ep){customElements.get(e)||customElements.define(e,Ga)}function Au(e,t){const n=e;for(const s of Object.keys(t)){const i=t[s];i!==void 0&&(n[s]=i)}}function Xb(e,t={}){tp();const n=new Ga;return Au(n,t),e.appendChild(n),{update(s){Au(n,s)},destroy(){n.remove()}}}var Qb=Object.defineProperty,eN=(e,t,n)=>t in e?Qb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ue=(e,t,n)=>(eN(e,typeof t!="symbol"?t+"":t,n),n);const tN=["_level","_filterVisible","_parent","_loading","_loaded","_remote","_keyField","children","setChildren"];class qn{constructor(t,n=null,s="id",i=!1){Ue(this,"_level",0),Ue(this,"checked",!1),Ue(this,"selected",!1),Ue(this,"indeterminate",!1),Ue(this,"disabled",!1),Ue(this,"expand",!1),Ue(this,"visible",!0),Ue(this,"_filterVisible",!0),Ue(this,"_parent",null),Ue(this,"children",[]),Ue(this,"isLeaf",!1),Ue(this,"_loading",!1),Ue(this,"_loaded",!1),this._keyField=s,this._remote=i;for(let r in t)tN.indexOf(r)===-1&&(this[r]=t[r]);this[s]==null&&(this[s]=Math.random().toString(36).substring(2)),this._parent=n,this._parent&&(this._level=this._parent._level+1),this.visible=this._parent===null||this._parent.expand&&this._parent.visible,Array.isArray(t.children)&&this.setChildren(t.children),this.children.length&&(this._loaded=!0),this._remote||(this.isLeaf=!this.children.length)}setChildren(t){this.children=t.map(n=>new qn(Object.assign({},n),this,this._keyField,this._remote))}}var oo=(e=>(e.none="none",e.parents="parents",e.children="children",e))(oo||{}),np=(e=>(e["bottom-start"]="bottom-start",e["bottom-end"]="bottom-end",e.bottom="bottom",e["top-start"]="top-start",e["top-end"]="top-end",e.top="top",e))(np||{}),xr=(e=>(e.top="top",e.center="center",e.bottom="bottom",e))(xr||{}),sn=(e=>(e.before="before",e.body="body",e.after="after",e))(sn||{}),Hl=(e=>(e.dashed="dashed",e.solid="solid",e))(Hl||{});class nN{constructor(){Ue(this,"listenersMap",{})}on(t,n){this.listenersMap[t]||(this.listenersMap[t]=[]);let s=[];Array.isArray(n)?s=n:s=[n],s.forEach(i=>{this.listenersMap[t].indexOf(i)===-1&&this.listenersMap[t].push(i)})}off(t,n){if(this.listenersMap[t])if(!n)this.listenersMap[t]=[];else{const s=this.listenersMap[t].indexOf(n);s>-1&&this.listenersMap[t].splice(s,1)}}emit(t,...n){if(!this.listenersMap[t])return;const s=this.listenersMap[t].length;for(let i=0;i<s;i++)this.listenersMap[t][i](...n)}disposeListeners(){for(const t in this.listenersMap)this.listenersMap[t]=[]}}class sN extends nN{constructor(t){super(),Ue(this,"data",[]),Ue(this,"flatData",[]),Ue(this,"mapData",Object.create(null)),Ue(this,"unloadCheckedKeys",[]),Ue(this,"unloadSelectedKey",null),Ue(this,"currentSelectedKey",null),this.options=t}insertIntoFlatData(t,n){this.flatData=this.flatData.slice(0,t).concat(n,this.flatData.slice(t))}setData(t,n=null,s=null){this.data=t.map(i=>new qn(i,null,this.options.keyField,!!this.options.load));for(let i in this.mapData)delete this.mapData[i];this.currentSelectedKey=null,this.flatData=this.flattenData(this.data),this.setUnloadCheckedKeys(s||[]),n&&(this.currentSelectedKey=null,this.setUnloadSelectedKey(n)),this.emit("visible-data-change"),this.emit("set-data")}setChecked(t,n,s=!0,i=!0,r=!1){const o=this.mapData[t];if(!o)return this.setUnloadChecked(t,n,s,i);o.disabled||o.checked&&n||!o.checked&&!o.indeterminate&&!n||(this.options.cascade?(this.checkNodeDownward(o,n,r),this.checkNodeUpward(o)):o.checked=n,s&&(o.checked?this.emit("check",o):this.emit("uncheck",o)),this.triggerCheckedChange(s,i))}setUnloadChecked(t,n,s=!0,i=!0){const r=this.findIndex(t,this.unloadCheckedKeys);n?r===-1&&this.unloadCheckedKeys.push(t):r!==-1&&this.unloadCheckedKeys.splice(r,1),this.triggerCheckedChange(s,i)}setCheckedKeys(t,n,s=!0,i=!0){t.forEach(r=>{this.setChecked(r,n,!1,!1)}),this.triggerCheckedChange(s,i)}checkAll(t=!0,n=!0){if(this.options.cascade){const s=i=>{i.forEach(r=>{r.disabled?s(r.children):this.setChecked(r[this.options.keyField],!0,!1,!1)})};s(this.data)}else{const s=this.flatData.length;for(let i=0;i<s;i++){const r=this.flatData[i];this.setChecked(r[this.options.keyField],!0,!1,!1)}}this.triggerCheckedChange(t,n)}clearChecked(t=!0,n=!0){this.getCheckedNodes().forEach(s=>{this.setChecked(s[this.options.keyField],!1,!1,!1)}),this.unloadCheckedKeys=[],this.triggerCheckedChange(t,n)}triggerCheckedChange(t=!0,n=!0){t&&this.emit("checked-change",this.getCheckedNodes(),this.getCheckedKeys()),n&&this.emit("render-data-change")}triggerSelectedChange(t=!0,n=!0){t&&this.emit("selected-change",this.getSelectedNode(),this.getSelectedKey()),n&&this.emit("render-data-change")}setSelected(t,n,s=!0,i=!0){const r=this.mapData[t];if(!r)return this.setUnloadSelected(t,n,s,i);r.disabled||r.selected!==n&&(t===this.currentSelectedKey?n||(r.selected=n,this.currentSelectedKey=null):n&&(this.currentSelectedKey!==null&&this.mapData[this.currentSelectedKey]&&(this.mapData[this.currentSelectedKey].selected=!1),r.selected=n,this.currentSelectedKey=r[this.options.keyField],this.unloadSelectedKey=null),s&&(r.selected?this.emit("select",r):this.emit("unselect",r)),this.triggerSelectedChange(s,i))}setUnloadSelected(t,n,s=!0,i=!0){n?(this.currentSelectedKey=null,this.unloadSelectedKey=t):this.unloadSelectedKey===t&&(this.unloadSelectedKey=null),this.triggerSelectedChange(s,i)}clearSelected(t=!0,n=!0){this.currentSelectedKey&&this.mapData[this.currentSelectedKey]?this.setSelected(this.currentSelectedKey,!1,t,n):this.unloadSelectedKey!==null&&(this.unloadSelectedKey=null,this.triggerSelectedChange(t,n))}setExpand(t,n,s=!1,i=!0,r=!0){const o=this.mapData[t];if(!(!o||!s&&o.isLeaf)&&o.expand!==n){if(!o.isLeaf){if(typeof this.options.load=="function"){if(!o._loaded&&!o._loading&&n){o._loading=!0,r&&this.emit("visible-data-change"),new Promise((a,c)=>{const u=this.options.load;u(o,a,c)}).then(a=>{Array.isArray(a)&&(this.loadChildren(o,a,n),this.emit("set-data"))}).catch(a=>{let c=a;a instanceof Error||(c=new Error(a)),console.error("[VTree] load tree nodes error.",c)}).then(()=>{o._loading=!1,i&&this.emit("expand",o),r&&this.emit("visible-data-change")});return}else if(o._loading)return}o.expand=n;let l=o.children.concat();for(;l.length;){const a=l.pop();a&&(a.expand&&a.children.length&&(l=a.children.concat(l)),a._filterVisible===!1?a.visible=!1:a.visible=a._parent===null||a._parent.expand&&a._parent.visible)}i&&this.emit("expand",o),r&&this.emit("visible-data-change")}s&&o._parent&&n&&this.setExpand(o._parent[this.options.keyField],n,s,!1,r)}}setExpandKeys(t,n,s=!0){t.forEach(i=>{this.setExpand(i,n,!1,!1,!1)}),s&&this.emit("visible-data-change")}setExpandAll(t,n=!0){this.flatData.forEach(s=>{(!this.options.load||s._loaded)&&this.setExpand(s[this.options.keyField],t,!1,!1,!1)}),n&&this.emit("visible-data-change")}isChildrenChanged(t,n){var s;return"children"in n&&(!!t.children.length||!!((s=n.children)!=null&&s.length))}updateNode(t,n,s=!0,i=!0){var r;const o=this.mapData[t];if(!o)return;const l={},a=[this.options.keyField,"indeterminate","visible","isLeaf"];Object.keys(n).forEach(m=>{!m.startsWith("_")&&!a.includes(m)&&(l[m]=n[m])});const c=this.getCheckedKeys(),u=this.getSelectedKey();let f=this.isChildrenChanged(o,l);"children"in l&&(o.children.length||(r=l.children)!=null&&r.length)&&(this.removeChildren(t,!1,!1),Array.isArray(l.children)&&this.loadChildren(o,l.children,o.expand),delete l.children),"checked"in l&&(this.setChecked(t,l.checked,!1,!1),delete l.checked),"selected"in l&&(this.setSelected(t,l.selected,!1,!1),delete l.selected),"expand"in l&&(this.setExpand(t,l.expand,!1,!1,!1),delete l.expand),Object.keys(l).forEach(m=>{o[m]=l[m]});const d=this.getCheckedKeys(),h=this.getSelectedKey();s&&(JSON.stringify(d.sort())!==JSON.stringify(c.sort())&&this.triggerCheckedChange(!0,!1),h!==u&&this.triggerSelectedChange(!0,!1)),i&&(f&&this.emit("set-data"),this.emit("visible-data-change"))}updateNodes(t){const n=t.filter(a=>a[this.options.keyField]!=null);if(!n.length)return;const s=this.getCheckedKeys(),i=this.getSelectedKey();let r=!1;n.forEach(a=>{const c=a[this.options.keyField],u=this.mapData[c];u&&(r=r||this.isChildrenChanged(u,a),this.updateNode(c,a,!1,!1))});const o=this.getCheckedKeys(),l=this.getSelectedKey();JSON.stringify(o.sort())!==JSON.stringify(s.sort())&&this.triggerCheckedChange(!0,!1),l!==i&&this.triggerSelectedChange(!0,!1),r&&this.emit("set-data"),this.emit("visible-data-change")}getCheckedNodes(t=this.options.ignoreMode){if(t===oo.children){const n=[],s=i=>{i.forEach(r=>{r.checked?n.push(r):!r.isLeaf&&r.indeterminate&&s(r.children)})};return s(this.data),n}else return this.flatData.filter(n=>t===oo.parents?n.checked&&n.isLeaf:n.checked)}getCheckedKeys(t=this.options.ignoreMode){return this.getCheckedNodes(t).map(n=>n[this.options.keyField]).concat(this.unloadCheckedKeys)}getIndeterminateNodes(){return this.flatData.filter(t=>t.indeterminate)}getSelectedNode(){return this.currentSelectedKey===null?null:this.mapData[this.currentSelectedKey]||null}getSelectedKey(){return this.currentSelectedKey||this.unloadSelectedKey||null}getUnloadCheckedKeys(){return this.unloadCheckedKeys}getExpandNodes(){return this.flatData.filter(t=>!t.isLeaf&&t.expand)}getExpandKeys(){return this.getExpandNodes().map(t=>t[this.options.keyField])}getNode(t){return this.mapData[t]||null}insertBefore(t,n,s=!0,i=!0){const r=this.getInsertedNode(t,n);if(!r)return null;this.remove(r[this.options.keyField],!1,!1);const o=this.mapData[n]._parent,l=this.findIndex(n,o&&o.children),a=this.findIndex(n),c=o&&-1||this.findIndex(n,this.data);return this.insertIntoStore(r,o,l,a,c,s,i),i&&this.emit("visible-data-change"),r}insertAfter(t,n,s=!0,i=!0){const r=this.getInsertedNode(t,n);if(!r)return null;this.remove(r[this.options.keyField],!1,!1);const o=this.mapData[n],l=o._parent,a=this.findIndex(n,l&&l.children)+1,c=this.flatData.length,u=this.findIndex(n);let f=u+1;for(let h=u+1;h<=c;h++){if(h===c){f=h;break}if(this.flatData[h]._level<=o._level){f=h;break}}const d=l&&-1||this.findIndex(n,this.data)+1;return this.insertIntoStore(r,l,a,f,d,s,i),i&&this.emit("visible-data-change"),r}append(t,n,s=!0,i=!0){const r=this.mapData[n];if(!r.isLeaf){const a=r.children.length;return this.insertAfter(t,r.children[a-1][this.options.keyField],s,i)}const o=this.getInsertedNode(t,n,!0);if(!o)return null;this.remove(o[this.options.keyField],!1,!1);const l=this.findIndex(n)+1;return this.insertIntoStore(o,r,0,l,void 0,s,i),i&&this.emit("visible-data-change"),o}prepend(t,n,s=!0,i=!0){const r=this.mapData[n];if(!r.isLeaf)return this.insertBefore(t,r.children[0][this.options.keyField],s,i);const o=this.getInsertedNode(t,n,!0);if(!o)return null;this.remove(o[this.options.keyField],!1,!1);const l=this.findIndex(n)+1;return this.insertIntoStore(o,r,0,l,void 0,s,i),i&&this.emit("visible-data-change"),o}remove(t,n=!0,s=!0){const i=this.mapData[t];if(!i)return null;const r=this.findIndex(i);if(r===-1)return null;let o=1;const l=this.flatData.length;for(let c=r+1;c<l&&this.flatData[c]._level>i._level;c++)o++;this.flatData.splice(r,o);const a=c=>{const u=this.mapData[c];delete this.mapData[c],u.children.forEach(f=>a(f[this.options.keyField]))};if(a(t),!i._parent){const c=this.findIndex(i,this.data);c>-1&&this.data.splice(c,1)}if(i._parent){const c=this.findIndex(i,i._parent.children);c!==-1&&i._parent.children.splice(c,1),i._parent.isLeaf=!i._parent.children.length,i._parent.isLeaf&&(i._parent.expand=!1,i._parent.indeterminate=!1),this.updateMovingNodeStatus(i,n,s)}return s&&this.emit("visible-data-change"),i}removeChildren(t,n=!0,s=!0){const i=this.mapData[t];if(!i||!i.children.length)return null;let r=i.children[0];const o=this.findIndex(i);if(o===-1)return null;let l=0;const a=this.flatData.length;for(let c=o+1;c<a&&this.flatData[c]._level>i._level;c++)delete this.mapData[this.flatData[c][this.options.keyField]],l++,this.flatData[c].selected&&(r=this.flatData[c]);return this.flatData.splice(o+1,l),i.children.splice(0,i.children.length),i.isLeaf=!0,i.indeterminate=!1,this.updateMovingNodeStatus(r,n,s),s&&this.emit("visible-data-change"),i}loadChildren(t,n,s){const i=this.findIndex(t);if(i===-1)return;t._loaded=!0,t.expand=s,t.setChildren(n),t.isLeaf=!t.children.length;const r=this.getCheckedKeys(),o=this.flattenData(t.children,this.getSelectedKey()===null);this.insertIntoFlatData(i+1,o),this.setUnloadCheckedKeys(r),this.unloadSelectedKey!==null&&this.setUnloadSelectedKey(this.unloadSelectedKey),this.checkNodeUpward(t,!0)}getInsertedNode(t,n,s=!1){const i=this.mapData[n];if(!i)return null;const r=s?i:i._parent;return t instanceof qn?t[this.options.keyField]===n?null:t:typeof t=="object"?t[this.options.keyField]===n?null:this.mapData[t[this.options.keyField]]||new qn(t,r,this.options.keyField,!!this.options.load):!this.mapData[t]||t===n?null:this.mapData[t]}insertIntoStore(t,n,s,i,r,o=!0,l=!0){if(i===-1)return;s!==-1&&n&&n.children.splice(s,0,t),t._parent=n,n?(n.isLeaf=!1,this.setExpand(n[this.options.keyField],!0,!1,!1,!1)):typeof r=="number"&&r>-1&&this.data.splice(r,0,t);const a=this.flattenData([t]);t._level=n?n._level+1:0,a.forEach(c=>c._level=c._parent?c._parent._level+1:0),this.insertIntoFlatData(i,a),this.updateMovingNodeStatus(t,o,l)}updateMovingNodeStatus(t,n=!0,s=!0){this.checkNodeUpward(t),this.triggerCheckedChange(n,s),t.selected&&this.setSelected(t[this.options.keyField],!0,n,s)}filter(t,n){const s=[];this.flatData.forEach(i=>{i._filterVisible=i._parent&&i._parent._filterVisible||n(t,i),i.visible=i._filterVisible,i._filterVisible&&s.push(i)}),s.forEach(i=>{const r=[];let o=i._parent;for(;o;)r.unshift(o),o=o._parent;r.forEach(l=>{l._filterVisible=!0,l.visible=(l._parent===null||l._parent.expand&&l._parent.visible)&&l._filterVisible,this.options.expandOnFilter&&this.setExpand(l[this.options.keyField],!0,!1,!1,!1)}),i.visible=i._parent===null||i._parent.expand&&i._parent.visible}),this.emit("visible-data-change")}setUnloadCheckedKeys(t){this.unloadCheckedKeys=t;const n=t.concat(),s=this.unloadCheckedKeys.length;for(let r=s-1;r>=0;r--){const o=this.unloadCheckedKeys[r];this.mapData[o]&&(this.setChecked(o,!0,!1,!1),this.unloadCheckedKeys.splice(r,1))}const i=this.getCheckedKeys();i.length===n.length&&i.every(r=>n.some(o=>o===r))||this.emit("checked-change",this.getCheckedNodes(),i)}setUnloadSelectedKey(t){const n=this.getSelectedKey();this.mapData[t]?(this.setSelected(t,!0,!1),this.unloadSelectedKey=null):(this.currentSelectedKey&&this.setSelected(this.currentSelectedKey,!1,!1),this.unloadSelectedKey=t);const s=this.getSelectedKey();s!==n&&this.emit("selected-change",this.getSelectedNode(),s)}flattenData(t,n=!0,s=[]){const i=t.length;for(let r=0;r<i;r++){const o=t[r],l=o[this.options.keyField];if(s.push(o),this.mapData[l])throw new Error("[VTree] Duplicate tree node key.");this.mapData[l]=o,o.checked&&this.options.cascade&&this.checkNodeDownward(o,!0),o.selected&&n&&(this.clearSelected(!1,!1),this.currentSelectedKey=o[this.options.keyField],this.emit("selected-change",o,this.currentSelectedKey)),(this.options.defaultExpandAll||o.expand)&&!this.options.load&&!o.isLeaf&&(o.expand=!1,this.setExpand(o[this.options.keyField],!0,!1,!1,!1)),o.children.length&&this.flattenData(o.children,n,s)}return this.options.cascade&&i&&this.checkNodeUpward(t[0]),s}checkNodeDownward(t,n,s=!1){if(t.children.forEach(i=>{this.checkNodeDownward(i,n,s)}),t.isLeaf||this.options.load&&!t.children.length){if(!t.disabled){if(s&&!this.options.filteredNodeCheckable&&!t._filterVisible)return;t.checked=n,t.indeterminate=!1}}else this.checkParentNode(t)}checkNodeUpward(t,n=!1){let s=n?t:t._parent;for(;s;)this.checkParentNode(s),s=s._parent}checkParentNode(t){const n=t.children.length;if(!n)return;let s=!1,i=!1,r=!1;for(let o=0;o<n;o++){const l=t.children[o];if(l.checked?s=!0:i=!0,s&&i||l.indeterminate){r=!0,t.checked=!1,t.indeterminate=!0;break}}r||(t.checked=s,t.indeterminate=!1)}findIndex(t,n=this.flatData){if(n!==null){let s=t instanceof qn?t[this.options.keyField]:t;const i=n.length;for(let r=0;r<i;r++)if(n[0]instanceof qn){if(s===n[r][this.options.keyField])return r}else if(s===n[r])return r}return-1}}const iN=vt({name:"CLoadingIcon"}),rN=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},oN={viewBox:"0 0 50 50"},lN=le("circle",{class:"vtree-loading-icon__circle",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5","stroke-miterlimit":"10"},null,-1),aN=[lN];function cN(e,t,n,s,i,r){return fe(),ke("svg",oN,aN)}const sp=rN(iN,[["render",cN]]),Ja=["expand","check","click","select","node-dblclick","node-right-click","node-dragstart","node-dragenter","node-dragover","node-dragleave","node-drop"],ip=["expand","select","unselect","selected-change","check","uncheck","checked-change","set-data"],uN=[...Ja,...ip],Ae="vtree-tree-node",fN=(e,t)=>{const{dragoverBody:n,dragoverBefore:s,dragoverAfter:i}=t,r=oe(()=>[`${Ae}__indent-wrapper`]),o=oe(()=>{var p,S,N,_,v;return[`${Ae}__wrapper`,{[`${Ae}__wrapper_is-leaf`]:(p=e.data)==null?void 0:p.isLeaf,[`${Ae}_disabled`]:e.disableAll||((S=e.data)==null?void 0:S.disabled)},{[`${Ae}_checked`]:e.checkable&&((N=e.data)==null?void 0:N.checked),[`${Ae}_indeterminate`]:e.checkable&&((_=e.data)==null?void 0:_.indeterminate)},{[`${Ae}_selected`]:(v=e.data)==null?void 0:v.selected}]}),l=oe(()=>[`${Ae}__node-body`,{[`${Ae}__drop_active`]:n.value}]),a=oe(()=>[`${Ae}__drop`,{[`${Ae}__drop_active`]:s.value}]),c=oe(()=>[`${Ae}__drop`,{[`${Ae}__drop_active`]:i.value}]),u=oe(()=>[`${Ae}__square`,`${Ae}__checkbox_wrapper`]),f=oe(()=>{var p;return[`${Ae}__square`,`${Ae}__expand`,{[`${Ae}__expand_active`]:(p=e.data)==null?void 0:p.expand}]}),d=oe(()=>[`${Ae}__loading-icon`]),h=oe(()=>{var p,S,N;return[`${Ae}__checkbox`,{[`${Ae}__checkbox_checked`]:(p=e.data)==null?void 0:p.checked,[`${Ae}__checkbox_indeterminate`]:(S=e.data)==null?void 0:S.indeterminate,[`${Ae}__checkbox_disabled`]:e.disableAll||((N=e.data)==null?void 0:N.disabled)}]}),m=oe(()=>{var p,S;return[`${Ae}__title`,{[`${Ae}__title_selected`]:(p=e.data)==null?void 0:p.selected,[`${Ae}__title_disabled`]:e.disableAll||((S=e.data)==null?void 0:S.disabled)}]});return{indentWrapperCls:r,wrapperCls:o,nodeBodyCls:l,dropBeforeCls:a,dropAfterCls:c,checkboxWrapperCls:u,expandCls:f,loadingIconCls:d,checkboxCls:h,titleCls:m}},dN=["d","stroke-width","stroke","stroke-dasharray"],hN=["draggable"],il=vt({name:"VTreeNode",__name:"TreeNode",props:{titleField:{},keyField:{},checkable:{type:Boolean},selectable:{type:Boolean},unselectOnClick:{type:Boolean},disableAll:{type:Boolean},draggable:{type:Boolean},droppable:{type:Boolean},nodeIndent:{},render:{type:Function},showLine:{type:[Boolean,Object]},data:{},getNode:{type:Function},noSiblingNodeMap:{}},emits:[...Ja],setup(e,{emit:t}){var n;const s=e,i=t,r=ne(!1),o=ne(!1),l=ne(!1),a=oe(()=>{const V={width:1,type:Hl.solid,color:"#D3D3D3",polyline:!1,dashDensity:3};let J=V;if(typeof s.showLine=="object"){let be=V.dashDensity;typeof s.showLine.dashDensity=="number"&&s.showLine.dashDensity>=1&&s.showLine.dashDensity<=10&&(be=s.showLine.dashDensity),J={width:s.showLine.width??V.width,type:s.showLine.type??V.type,color:s.showLine.color??V.color,polyline:s.showLine.polyline??V.polyline,dashDensity:be}}return J}),c=oe(()=>a.value.width*100/s.nodeIndent),u=oe(()=>a.value.type===Hl.dashed?100/(a.value.dashDensity*2):"none"),f=V=>{var J;if(!a.value.polyline||!V)return"M50,0 L50,100";const be=(J=s.getNode(s.data[s.keyField]))==null?void 0:J._parent;return be&&s.noSiblingNodeMap[be[s.keyField]]&&s.noSiblingNodeMap[s.data[s.keyField]]?"M50,0 L50,50 M100,50 L50,50":"M50,0 L50,100 M100,50 L50,50"},{indentWrapperCls:d,wrapperCls:h,nodeBodyCls:m,dropBeforeCls:p,dropAfterCls:S,checkboxWrapperCls:N,expandCls:_,loadingIconCls:v,checkboxCls:E,titleCls:y}=fN(s,{dragoverBody:r,dragoverBefore:o,dragoverAfter:l}),D=oe(()=>s.getNode(s.data?s.data[s.keyField]:"")||s.data||{}),T=oe(()=>s.checkable),C=((n=s.data)==null?void 0:n.render)||s.render||null,O=oe(()=>vt({name:"Render",functional:!0,render(){return typeof C!="function"?ma("div"):C(D.value)}})),k=oe(()=>{var V;let J={};return s.draggable&&!s.disableAll&&!((V=s.data)!=null&&V.disabled)&&(J={dragstart:ue}),J}),A=oe(()=>{let V={};return s.droppable&&(V={dragenter:xe.bind(ze()),dragover:we.bind(ze()),dragleave:ut.bind(ze()),drop:pn.bind(ze())}),V});function w(){var V;(V=s.data)!=null&&V.isLeaf||i("expand",D.value)}function F(){var V;s.disableAll||(V=s.data)!=null&&V.disabled||!s.checkable||i("check",D.value)}function U(V){var J,be;if(i("click",D.value,V),s.selectable){if(s.disableAll||(J=s.data)!=null&&J.disabled||(be=s.data)!=null&&be.selected&&!s.unselectOnClick)return;i("select",D.value)}else s.checkable?F():w()}function z(V){i("node-dblclick",D.value,V)}function W(V){i("node-right-click",D.value,V)}const Y=ne();function G(V){const J=Y.value.getBoundingClientRect(),be=J.height,Qe=V.clientY-J.top;return Qe<=be*.3?sn.before:Qe<=be*(.3+.4)?sn.body:sn.after}function Se(V,J=!1){o.value=!1,r.value=!1,l.value=!1,J||(V===sn.before?o.value=!0:V===sn.body?r.value=!0:V===sn.after&&(l.value=!0))}function ue(V){var J;V.dataTransfer&&V.dataTransfer.setData("node",JSON.stringify(s.data)),(J=s.data)!=null&&J.expand&&w(),i("node-dragstart",D.value,V)}function xe(V){V.preventDefault();const J=G(V);Se(J),i("node-dragenter",D.value,V,J)}function we(V){V.preventDefault();const J=G(V);Se(J),i("node-dragover",D.value,V,J)}function ut(V){const J=G(V);Se(J,!0),i("node-dragleave",D.value,V,J)}function pn(V){const J=G(V);Se(J,!0),i("node-drop",D.value,V,J)}return(V,J)=>{var be,Qe,ft,$t;return fe(),ke("div",{class:Ve(Z(d))},[V.showLine?(fe(!0),ke(Te,{key:0},ms(V.data._level,(st,jt)=>(fe(),ke("svg",{key:st,viewBox:"0 0 100 100",preserveAspectRatio:"none",style:Xe({alignSelf:"stretch",width:`${V.nodeIndent}px`})},[le("path",{fill:"none",d:f(jt===V.data._level-1),"stroke-width":c.value,stroke:a.value.color,"stroke-dasharray":u.value},null,8,dN)],4))),128)):un("",!0),le("div",{class:Ve(Z(h)),style:Xe({paddingLeft:V.showLine?"none":`${V.data._level*V.nodeIndent}px`})},[le("div",{class:Ve(Z(p))},null,2),le("div",nn({ref_key:"nodeBody",ref:Y,class:Z(m)},Us(A.value,!0)),[le("div",{class:Ve(Z(_))},[Zn(le("i",{onClick:w},null,512),[[Xn,!((be=V.data)!=null&&be.isLeaf)&&!((Qe=V.data)!=null&&Qe._loading)]]),(ft=V.data)!=null&&ft._loading?(fe(),zt(sp,{key:0,class:Ve(Z(v))},null,8,["class"])):un("",!0)],2),T.value?(fe(),ke("div",{key:0,class:Ve(Z(N))},[le("div",{class:Ve(Z(E)),onClick:F},null,2)],2)):un("",!0),le("div",nn({class:Z(y),onClick:U,onDblclick:z,onContextmenu:W},Us(k.value,!0),{draggable:V.draggable&&!V.disableAll&&!(($t=V.data)!=null&&$t.disabled)}),[zn(V.$slots,"default",{node:D.value},()=>[Z(C)?(fe(),zt(Uf(O.value),{key:0})):(fe(),ke(Te,{key:1},[Ns(on(V.data?V.data[V.titleField]:""),1)],64))])],16,hN)],16),le("div",{class:Ve(Z(S))},null,2)],6)],2)}}}),yn="vtree-tree",pN=()=>{const e=oe(()=>[`${yn}__wrapper`]),t=oe(()=>[`${yn}__scroll-area`]),n=oe(()=>[`${yn}__block-area`]),s=oe(()=>[`${yn}__empty`]),i=oe(()=>[`${yn}__empty-text_default`]),r=oe(()=>[`${yn}__loading`]),o=oe(()=>[`${yn}__loading-wrapper`]),l=oe(()=>[`${yn}__loading-icon`]),a=oe(()=>[`${yn}__iframe`]);return{wrapperCls:e,scrollAreaCls:t,blockAreaCls:n,emptyCls:s,emptyTextDefaultCls:i,loadingCls:r,loadingWrapperCls:o,loadingIconCls:l,iframeCls:a}},mN=(e,t)=>{const n=ne(),s=ne([]),i=ne(0),r=ne(0),o=ne(0),l=ne(0),a=ne(0),c=ne(0),u=ne(0),f=ne(0),d=ne(void 0),h=()=>{o.value=0,l.value=0,n.value&&(n.value.scrollTop=0)},m=()=>{const v=n.value.clientHeight;a.value=Math.max(t.renderNodeAmount,Math.ceil(v/t.nodeMinHeight)+t.bufferNodeAmount)},p=(v=!1)=>{if(i.value>a.value){const E=Math.max(n.value.scrollTop,0),y=Math.floor(E/t.nodeMinHeight);u.value=Math.floor(y/t.bufferNodeAmount)*t.bufferNodeAmount}else u.value=0;v&&c.value===a.value&&f.value===u.value||(s.value=e.blockNodes.slice(u.value,u.value+a.value).map(E=>Object.assign({},E,{_parent:null,children:[]})),o.value=u.value*t.nodeMinHeight,l.value=r.value-(o.value+s.value.length*t.nodeMinHeight))},S=()=>{m(),p()},N=()=>{e.blockNodes=e.store.flatData.filter(v=>v.visible),_(),S()},_=()=>{i.value=e.blockNodes.length,r.value=t.nodeMinHeight*i.value};return{scrollArea:n,renderNodes:s,blockLength:i,blockAreaHeight:r,topSpaceHeight:o,bottomSpaceHeight:l,renderAmount:a,renderAmountCache:c,renderStart:u,renderStartCache:f,resetSpaceHeights:h,updateRenderAmount:m,updateRenderNodes:p,updateRender:S,updateBlockNodes:N,updateBlockData:_,handleTreeScroll:()=>{d.value&&window.cancelAnimationFrame(d.value),c.value=a.value,f.value=u.value,d.value=window.requestAnimationFrame(p.bind(null,!0))},scrollTo:(v,E=xr.top)=>{const y=e.store.mapData[v];if(!y||!y.visible)return;let D=-1;for(let C=0;C<i.value;C++)if(e.blockNodes[C][t.keyField]===v){D=C;break}if(D===-1)return;let T=D*t.nodeMinHeight;if(E===xr.center){const C=n.value.clientHeight;T=T-(C-t.nodeMinHeight)/2}else if(E===xr.bottom){const C=n.value.clientHeight;T=T-(C-t.nodeMinHeight)}else typeof E=="number"&&(T=T-E);n.value&&(n.value.scrollTop=T)}}},gN=e=>{const t=ne();hn(()=>{const n=t.value;n!=null&&n.contentWindow&&n.contentWindow.addEventListener("resize",e)}),Ds(()=>{const n=t.value;n!=null&&n.contentWindow&&n.contentWindow.removeEventListener("resize",e)})},vN=(e,t,n)=>{const{resetSpaceHeights:s,updateExpandedKeys:i,updateBlockData:r,updateRender:o}=n,l=ne([]),a=ne(!1);function c(V){s();let J=null,be=null;t.checkable?Array.isArray(t.modelValue)?J=t.modelValue.concat():typeof t.modelValue=="string"&&(J=t.modelValue===""?[]:t.modelValue.split(t.separator)):t.selectable&&!Array.isArray(t.modelValue)&&(be=t.modelValue),e.store.setData(V,be,J),i()}function u(V,J){e.store.setChecked(V,J)}function f(V,J){e.store.setCheckedKeys(V,J)}function d(){e.store.checkAll()}function h(){e.store.clearChecked()}function m(V,J){e.store.setSelected(V,J)}function p(){e.store.clearSelected()}function S(V,J,be=!0){e.store.setExpand(V,J,be)}function N(V,J){e.store.setExpandKeys(V,J)}function _(V){e.store.setExpandAll(V)}function v(V){return V=V||t.ignoreMode,e.store.getCheckedNodes(V)}function E(V){return V=V||t.ignoreMode,e.store.getCheckedKeys(V)}function y(){return e.store.getIndeterminateNodes()}function D(){return e.store.getSelectedNode()}function T(){return e.store.getSelectedKey()}function C(){return e.store.getExpandNodes()}function O(){return e.store.getExpandKeys()}function k(){return e.store.flatData.filter(V=>V._filterVisible)}function A(V){return e.store.getNode(V)}function w(){return e.store.data}function F(){return e.store.flatData}function U(){return e.store.flatData.length}function z(V,J){return e.store.insertBefore(V,J)}function W(V,J){return e.store.insertAfter(V,J)}function Y(V,J){return e.store.append(V,J)}function G(V,J){return e.store.prepend(V,J)}function Se(V){return e.store.remove(V)}function ue(V,J){const be=(ft,$t)=>{const st=$t[t.titleField];return st==null||!st.toString?!1:st.toString().toLowerCase().indexOf(ft.toLowerCase())>-1},Qe=J||t.filterMethod||be;e.store.filter(V,Qe)}function xe(V){if(!t.checkable)return;V=V??t.showUnloadCheckedNodes;const J=e.store.getCheckedNodes();if(e.store.filter("",(Qe,ft)=>ft.checked),!V)return;const be=e.store.getUnloadCheckedKeys();if(be.length){const Qe=be.map(ft=>{const $t=t.unloadDataList.concat(J);let st=ft;return $t.some(jt=>jt[t.keyField]===ft&&jt[t.titleField]!=null?(st=jt[t.titleField],!0):!1),new qn({[t.keyField]:ft,[t.titleField]:st,checked:!0,isLeaf:!0},null,t.keyField,!!t.load)});l.value=Qe,e.blockNodes=e.blockNodes.concat(Qe),r(),o()}}function we(){return a.value=!0,new Promise((V,J)=>{t.load&&t.load(null,V,J)}).then(V=>{Array.isArray(V)&&c(V)}).catch(()=>{}).then(()=>{a.value=!1})}function ut(V,J){return e.store.updateNode(V,J)}function pn(V){return e.store.updateNodes(V)}return{unloadCheckedNodes:l,isRootLoading:a,setData:c,setChecked:u,setCheckedKeys:f,checkAll:d,clearChecked:h,setSelected:m,clearSelected:p,setExpand:S,setExpandKeys:N,setExpandAll:_,getCheckedNodes:v,getCheckedKeys:E,getIndeterminateNodes:y,getSelectedNode:D,getSelectedKey:T,getExpandNodes:C,getExpandKeys:O,getCurrentVisibleNodes:k,getNode:A,getTreeData:w,getFlatData:F,getNodesCount:U,insertBefore:z,insertAfter:W,append:Y,prepend:G,remove:Se,filter:ue,showCheckedNodes:xe,loadRootNodes:we,updateNode:ut,updateNodes:pn}},yN=(e,...t)=>{const n={};return t.forEach(s=>{e.hasOwnProperty(s)&&(n[s]=e[s])}),n},EN=(e,t,n)=>{const s=ne(!1),i=ne(!1),r=ne(-1),o=ne(-1),l=ne(!1),a=ne(!1),c=ne(0),u=ne([]),f=ne([]),d=ne([]),h=()=>{s.value=!1,i.value=!1,r.value=-1,o.value=-1,c.value=0,u.value=[],f.value=[],d.value=[]},m=()=>{const p=o.value,S=[],N=e.value.length,_=t.value-c.value;for(let v=r.value-_+1;v<N&&e.value[v]._level>p;v++)S.push(e.value[v]);f.value=S};return{ready:i,currentExpandState:l,topNodes:u,middleNodes:f,bottomNodes:d,updateBeforeExpand:p=>{if(!n.animation)return;h();const S=p[n.keyField],N=e.value.findIndex(_=>_[n.keyField]===S);N>-1&&(r.value=N,o.value=p._level,s.value=!0,l.value=p.expand,a.value=!p.expand,c.value=t.value,a.value?d.value=e.value.slice(r.value+1):m())},updateAfterExpand:()=>{if(n.animation){if(!s.value){s.value=!1;return}r.value!==-1&&ts(()=>{const p=t.value-c.value;u.value=e.value.slice(0,r.value-p+1),a.value?m():d.value=e.value.slice(r.value-p+1),i.value=!0,ts(()=>{l.value=!l.value})})}},onExpandAnimationFinish:()=>{h()}}},_N={style:{display:"grid"}},bN={style:{overflow:"hidden"}},rp={data:()=>[],unloadDataList:()=>[],showUnloadCheckedNodes:!0,emptyText:"暂无数据",titleField:"title",keyField:"id",separator:",",checkable:!1,selectable:!1,filteredNodeCheckable:!1,cascade:!0,enableLeafOnly:!1,disableAll:!1,defaultExpandAll:!1,defaultExpandedKeys:()=>[],expandedKeys:()=>[],draggable:!1,droppable:!1,beforeDropMethod:()=>()=>!0,ignoreMode:oo.none,autoLoad:!0,expandOnFilter:!0,unselectOnClick:!0,loading:!1,nodeMinHeight:30,nodeIndent:20,renderNodeAmount:100,bufferNodeAmount:20},NN=vt({name:"VTree",inheritAttrs:!1,__name:"Tree",props:zf({data:{},emptyText:{},modelValue:{},selectable:{type:Boolean},checkable:{type:Boolean},separator:{},ignoreMode:{},titleField:{},keyField:{},filterMethod:{type:Function},showUnloadCheckedNodes:{type:Boolean},unloadDataList:{},load:{type:Function},filteredNodeCheckable:{type:Boolean},cascade:{type:Boolean},enableLeafOnly:{type:Boolean},disableAll:{type:Boolean},defaultExpandAll:{type:Boolean},defaultExpandedKeys:{},expandedKeys:{},draggable:{type:Boolean},droppable:{type:Boolean},beforeDropMethod:{type:Function},autoLoad:{type:Boolean},render:{type:Function},expandOnFilter:{type:Boolean},unselectOnClick:{type:Boolean},loading:{type:Boolean},nodeClassName:{type:[String,Object,Array,Function]},showLine:{type:[Boolean,Object]},animation:{type:Boolean},nodeIndent:{},renderNodeAmount:{},nodeMinHeight:{},bufferNodeAmount:{}},rp),emits:["update:modelValue",...uN],setup(e,{expose:t,emit:n}){const s=e,i=n,r=["node-drop","check","select","expand"],o=Ja.reduce((q,pe)=>(r.indexOf(pe)<0&&(q[pe]=(...he)=>{i(pe,...he)}),q),{}),l=()=>({store:new sN({keyField:s.keyField,ignoreMode:s.ignoreMode,filteredNodeCheckable:s.filteredNodeCheckable,cascade:s.cascade,defaultExpandAll:s.defaultExpandAll,load:s.load,expandOnFilter:s.expandOnFilter}),blockNodes:[]});let a=l();ip.forEach(q=>{a.store.on(q,(...pe)=>{i(q,...pe)})});const c=()=>{s.expandedKeys.length&&(a.store.setExpandAll(!1,!1),a.store.setExpandKeys(s.expandedKeys,!0))},{wrapperCls:u,scrollAreaCls:f,blockAreaCls:d,emptyCls:h,emptyTextDefaultCls:m,loadingCls:p,loadingWrapperCls:S,loadingIconCls:N,iframeCls:_}=pN(),{scrollArea:v,renderNodes:E,blockLength:y,topSpaceHeight:D,bottomSpaceHeight:T,renderStart:C,resetSpaceHeights:O,updateRender:k,updateBlockNodes:A,updateBlockData:w,handleTreeScroll:F,scrollTo:U}=mN(a,s),z=EN(E,C,s),{unloadCheckedNodes:W,isRootLoading:Y,setData:G,setChecked:Se,setCheckedKeys:ue,checkAll:xe,clearChecked:we,setSelected:ut,clearSelected:pn,setExpand:V,setExpandKeys:J,setExpandAll:be,getCheckedNodes:Qe,getCheckedKeys:ft,getIndeterminateNodes:$t,getSelectedNode:st,getSelectedKey:jt,getExpandNodes:ci,getExpandKeys:g,getCurrentVisibleNodes:b,getNode:x,getTreeData:R,getFlatData:P,getNodesCount:M,insertBefore:H,insertAfter:j,append:$,prepend:L,remove:te,filter:K,showCheckedNodes:X,loadRootNodes:se,updateNode:ve,updateNodes:Ne}=vN(a,s,{resetSpaceHeights:O,updateExpandedKeys:c,updateBlockData:w,updateRender:k}),ye=q=>typeof s.nodeClassName=="function"?s.nodeClassName(q):s.nodeClassName,Fe=oe(()=>{var q;const pe=[];let he=(q=E.value[0])==null?void 0:q._parent;for(;he;)pe.push(he),he=he._parent;const et=pe.concat(E.value),gn={},ks=[];return et.forEach(cr=>{const Ya=cr._level;let Lo=ks.length;for(;Lo;){const Xa=ks[Lo-1],Qa=Xa._level;if(Qa>Ya)gn[Xa[s.keyField]]=!0,ks.pop();else if(Qa===Ya){ks.pop();break}else break;Lo--}ks.push(cr)}),ks.forEach(cr=>{gn[cr[s.keyField]]=!0}),gn}),je=(q,pe)=>{if(Array.isArray(q)&&Array.isArray(pe)){if(q.length===pe.length&&q.every(he=>pe.some(et=>et===he)))return!0}else if(q===pe)return!0;return!1},it=ne(Array.isArray(s.modelValue)?s.modelValue.concat():s.modelValue),rt=q=>{!s.cascade&&s.enableLeafOnly&&!q.isLeaf||a.store.setChecked(q[s.keyField],q.indeterminate?!0:!q.checked,!0,!0,!0)},mn=q=>{s.enableLeafOnly&&!q.isLeaf||a.store.setSelected(q[s.keyField],!q.selected)},Ts=q=>{z.updateBeforeExpand(q),a.store.setExpand(q[s.keyField],!q.expand)},Ge=(q,pe,he)=>{if(s.droppable&&pe.dataTransfer)try{const et=JSON.parse(pe.dataTransfer.getData("node"))[s.keyField],gn=q[s.keyField];if(s.beforeDropMethod(et,gn,he)){if(et===gn)return;he===sn.before?a.store.insertBefore(et,gn):he===sn.body||!q.isLeaf&&q.expand?a.store.prepend(et,gn):he===sn.after&&a.store.insertAfter(et,gn),i("node-drop",q,pe,he,x(et))}}catch(et){throw new Error(et)}};pt(()=>s.modelValue,q=>{if(s.checkable){if(je(q,it.value))return;let pe=[];Array.isArray(q)?pe=q.concat():typeof q=="string"&&(pe=q===""?[]:q.split(s.separator)),a.store.clearChecked(!1,!1),a.store.setCheckedKeys(pe,!0)}else if(s.selectable){if(q===it.value)return;const pe=a.store.getSelectedKey();q!==""&&q!=null?a.store.setSelected(q,!0):(q===""||q==null)&&pe&&a.store.setSelected(pe,!1)}}),pt(()=>s.data,q=>{G(q)}),pt(()=>s.expandedKeys,()=>{c()});const At=()=>{if(W.value.length){const q=a.store.getUnloadCheckedKeys();W.value.forEach(pe=>{pe.checked=q.indexOf(pe[s.keyField])>-1})}},lr=(q,pe)=>{if(s.checkable){let he=pe;Array.isArray(s.modelValue)||(he=he.join(s.separator)),Array.isArray(he)?it.value=he.concat():it.value=he,i("update:modelValue",he)}},ar=(q,pe)=>{if(s.selectable&&!s.checkable){const he=pe||"";it.value=he,i("update:modelValue",he)}};hn(()=>{a.store.on("expand",z.updateAfterExpand),a.store.on("visible-data-change",A),a.store.on("render-data-change",k),a.store.on("checked-change",(q,pe)=>{lr(q,pe),At()}),a.store.on("selected-change",ar),s.data.length?(G(s.data),s.defaultExpandedKeys.length&&a.store.setExpandKeys(s.defaultExpandedKeys,!0)):typeof s.load=="function"&&s.autoLoad&&((s.modelValue||s.unloadDataList)&&G([]),se())}),Ds(()=>{a.store.disposeListeners();const q=l();a.store=q.store,a.blockNodes=q.blockNodes}),gN(k);const cp=["titleField","keyField","checkable","selectable","unselectOnClick","disableAll","draggable","droppable","render","nodeIndent","showLine"],Po=oi(yN(pf(s),...cp));return t({setData:G,setChecked:Se,setCheckedKeys:ue,checkAll:xe,clearChecked:we,setSelected:ut,clearSelected:pn,setExpand:V,setExpandKeys:J,setExpandAll:be,getCheckedNodes:Qe,getCheckedKeys:ft,getIndeterminateNodes:$t,getSelectedNode:st,getSelectedKey:jt,getExpandNodes:ci,getExpandKeys:g,getCurrentVisibleNodes:b,getNode:x,getTreeData:R,getFlatData:P,getNodesCount:M,insertBefore:H,insertAfter:j,append:$,prepend:L,remove:te,filter:K,showCheckedNodes:X,loadRootNodes:se,updateNode:ve,updateNodes:Ne,scrollTo:U}),(q,pe)=>(fe(),ke("div",{class:Ve(Z(u))},[le("div",{ref_key:"scrollArea",ref:v,class:Ve(Z(f)),onScrollPassive:pe[0]||(pe[0]=Ud((...he)=>Z(F)&&Z(F)(...he),["stop"]))},[le("div",{class:Ve(Z(d))},[le("div",{style:Xe({height:`${Z(D)}px`})},null,4),(fe(!0),ke(Te,null,ms(Z(z).ready.value?Z(z).topNodes.value:Z(E),he=>(fe(),zt(il,nn({ref_for:!0},Po,{key:he[q.keyField],data:he,getNode:Z(x),noSiblingNodeMap:Fe.value},Us(Z(o)),{class:ye(he),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:rt,onSelect:mn,onExpand:Ts,onNodeDrop:Ge}),{default:ln(et=>[zn(q.$slots,"node",nn({ref_for:!0},et))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128)),Z(z).ready.value?(fe(),ke(Te,{key:0},[_e(ga,{name:"vtree-expand-animation",onAfterEnter:Z(z).onExpandAnimationFinish,onAfterLeave:Z(z).onExpandAnimationFinish},{default:ln(()=>[Zn(le("div",_N,[le("div",bN,[(fe(!0),ke(Te,null,ms(Z(z).middleNodes.value,he=>(fe(),zt(il,nn({ref_for:!0},Po,{key:he[q.keyField],data:he,getNode:Z(x),noSiblingNodeMap:Fe.value},Us(Z(o)),{class:ye(he),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:rt,onSelect:mn,onExpand:Ts,onNodeDrop:Ge}),{default:ln(et=>[zn(q.$slots,"node",nn({ref_for:!0},et))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128))])],512),[[Xn,Z(z).currentExpandState.value]])]),_:3},8,["onAfterEnter","onAfterLeave"]),(fe(!0),ke(Te,null,ms(Z(z).bottomNodes.value,he=>(fe(),zt(il,nn({ref_for:!0},Po,{key:he[q.keyField],data:he,getNode:Z(x),noSiblingNodeMap:Fe.value},Us(Z(o)),{class:ye(he),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:rt,onSelect:mn,onExpand:Ts,onNodeDrop:Ge}),{default:ln(et=>[zn(q.$slots,"node",nn({ref_for:!0},et))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128))],64)):un("",!0),le("div",{style:Xe({height:`${Z(T)}px`})},null,4)],2)],34),Zn(le("div",{class:Ve(Z(h))},[le("span",{class:Ve(Z(m))},[zn(q.$slots,"empty",{},()=>[Ns(on(q.emptyText),1)])],2)],2),[[Xn,!Z(y)]]),Zn(le("div",{class:Ve(Z(p))},[le("div",{class:Ve(Z(S))},[zn(q.$slots,"loading",{},()=>[_e(sp,{class:Ve(Z(N))},null,8,["class"])])],2)],2),[[Xn,q.loading||Z(Y)]]),le("iframe",{ref:"iframe",class:Ve(Z(_))},null,2)],2))}}),SN={...rp,searchPlaceholder:"搜索关键字",showCheckAll:!0,showCheckedButton:!0,checkedButtonText:"已选",showFooter:!0,searchLength:1,searchDisabled:!1,searchRemote:!1,searchDebounceTime:300};({...SN,placement:np["bottom-start"]});const ON="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13%203L13.7071%202.29289C13.5196%202.10536%2013.2652%202%2013%202V3ZM19%209H20C20%208.73478%2019.8946%208.48043%2019.7071%208.29289L19%209ZM13.109%208.45399L14%208V8L13.109%208.45399ZM13.546%208.89101L14%208L13.546%208.89101ZM10%2013C10%2012.4477%209.55228%2012%209%2012C8.44772%2012%208%2012.4477%208%2013H10ZM8%2016C8%2016.5523%208.44772%2017%209%2017C9.55228%2017%2010%2016.5523%2010%2016H8ZM8.5%209C7.94772%209%207.5%209.44772%207.5%2010C7.5%2010.5523%207.94772%2011%208.5%2011V9ZM9.5%2011C10.0523%2011%2010.5%2010.5523%2010.5%2010C10.5%209.44772%2010.0523%209%209.5%209V11ZM8.5%206C7.94772%206%207.5%206.44772%207.5%207C7.5%207.55228%207.94772%208%208.5%208V6ZM9.5%208C10.0523%208%2010.5%207.55228%2010.5%207C10.5%206.44772%2010.0523%206%209.5%206V8ZM17.908%2020.782L17.454%2019.891L17.454%2019.891L17.908%2020.782ZM18.782%2019.908L19.673%2020.362L18.782%2019.908ZM5.21799%2019.908L4.32698%2020.362H4.32698L5.21799%2019.908ZM6.09202%2020.782L6.54601%2019.891L6.54601%2019.891L6.09202%2020.782ZM6.09202%203.21799L5.63803%202.32698L5.63803%202.32698L6.09202%203.21799ZM5.21799%204.09202L4.32698%203.63803L4.32698%203.63803L5.21799%204.09202ZM12%203V7.4H14V3H12ZM14.6%2010H19V8H14.6V10ZM12%207.4C12%207.66353%2011.9992%207.92131%2012.0169%208.13823C12.0356%208.36682%2012.0797%208.63656%2012.218%208.90798L14%208C14.0293%208.05751%2014.0189%208.08028%2014.0103%207.97537C14.0008%207.85878%2014%207.69653%2014%207.4H12ZM14.6%208C14.3035%208%2014.1412%207.99922%2014.0246%207.9897C13.9197%207.98113%2013.9425%207.9707%2014%208L13.092%209.78201C13.3634%209.92031%2013.6332%209.96438%2013.8618%209.98305C14.0787%2010.0008%2014.3365%2010%2014.6%2010V8ZM12.218%208.90798C12.4097%209.2843%2012.7157%209.59027%2013.092%209.78201L14%208V8L12.218%208.90798ZM8%2013V16H10V13H8ZM8.5%2011H9.5V9H8.5V11ZM8.5%208H9.5V6H8.5V8ZM13%202H8.2V4H13V2ZM4%206.2V17.8H6V6.2H4ZM8.2%2022H15.8V20H8.2V22ZM20%2017.8V9H18V17.8H20ZM19.7071%208.29289L13.7071%202.29289L12.2929%203.70711L18.2929%209.70711L19.7071%208.29289ZM15.8%2022C16.3436%2022%2016.8114%2022.0008%2017.195%2021.9694C17.5904%2021.9371%2017.9836%2021.8658%2018.362%2021.673L17.454%2019.891C17.4045%2019.9162%2017.3038%2019.9539%2017.0322%2019.9761C16.7488%2019.9992%2016.3766%2020%2015.8%2020V22ZM18%2017.8C18%2018.3766%2017.9992%2018.7488%2017.9761%2019.0322C17.9539%2019.3038%2017.9162%2019.4045%2017.891%2019.454L19.673%2020.362C19.8658%2019.9836%2019.9371%2019.5904%2019.9694%2019.195C20.0008%2018.8114%2020%2018.3436%2020%2017.8H18ZM18.362%2021.673C18.9265%2021.3854%2019.3854%2020.9265%2019.673%2020.362L17.891%2019.454C17.7951%2019.6422%2017.6422%2019.7951%2017.454%2019.891L18.362%2021.673ZM4%2017.8C4%2018.3436%203.99922%2018.8114%204.03057%2019.195C4.06287%2019.5904%204.13419%2019.9836%204.32698%2020.362L6.10899%2019.454C6.0838%2019.4045%206.04612%2019.3038%206.02393%2019.0322C6.00078%2018.7488%206%2018.3766%206%2017.8H4ZM8.2%2020C7.62345%2020%207.25117%2019.9992%206.96784%2019.9761C6.69617%2019.9539%206.59545%2019.9162%206.54601%2019.891L5.63803%2021.673C6.01641%2021.8658%206.40963%2021.9371%206.80497%2021.9694C7.18864%2022.0008%207.65645%2022%208.2%2022V20ZM4.32698%2020.362C4.6146%2020.9265%205.07354%2021.3854%205.63803%2021.673L6.54601%2019.891C6.35785%2019.7951%206.20487%2019.6422%206.10899%2019.454L4.32698%2020.362ZM8.2%202C7.65645%202%207.18864%201.99922%206.80497%202.03057C6.40963%202.06287%206.01641%202.13419%205.63803%202.32698L6.54601%204.10899C6.59545%204.0838%206.69617%204.04612%206.96784%204.02393C7.25117%204.00078%207.62345%204%208.2%204V2ZM6%206.2C6%205.62345%206.00078%205.25117%206.02393%204.96784C6.04612%204.69617%206.0838%204.59545%206.10899%204.54601L4.32698%203.63803C4.13419%204.01641%204.06287%204.40963%204.03057%204.80497C3.99922%205.18864%204%205.65645%204%206.2H6ZM5.63803%202.32698C5.07354%202.6146%204.6146%203.07354%204.32698%203.63803L6.10899%204.54601C6.20487%204.35785%206.35785%204.20487%206.54601%204.10899L5.63803%202.32698Z'%20fill='%23000000'/%3e%3c/svg%3e",wN="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%201H6L9%204H16V14H0V1Z'%20fill='%2354aeff'/%3e%3c/svg%3e",Mo=function({isMaster:e=!1}={}){return{...Ua({isMaster:e,key:"diffFiles"})}};function CN(e){function t(i){return i.fullPath?i.fullPath:i.diffPair?i.diffPair[1]?.filename||i.diffPair[0]?.filename:typeof i.diffPatch=="string"?Gh(i.diffPatch).modFilename:""}const n=e.map((i,r)=>{const o=t(i),l=o.split("/"),a=l.at(-1)||"",c=a.split(".").at(-1);return{...i,fullPath:o,name:a,folderPath:l.slice(0,-1).join("/"),type:c?.toLowerCase()}});n.sort((i,r)=>i.fullPath===r.fullPath?0:i.fullPath>r.fullPath?1:-1);const s=Object.fromEntries(n.map(i=>[i.fullPath,i]));return{files:n,fileMap:s}}const DN={class:"file-search"},xN=["placeholder"],TN=vt({__name:"FileSearch",props:{placeholder:{default:"Search files"}},emits:["update:modelValue"],setup(e,{emit:t}){const{funcs:n}=Mo(),{searchKeyword:s}=n,i=o_(r=>{n.filterTree(r.target.value)},300);return(r,o)=>(fe(),ke("div",DN,[Zn(le("input",{class:"file-search__input",type:"search","onUpdate:modelValue":o[0]||(o[0]=l=>Re(s)?s.value=l:null),placeholder:e.placeholder,autocomplete:"off",spellcheck:"false",onInput:o[1]||(o[1]=(...l)=>Z(i)&&Z(i)(...l))},null,40,xN),[[Ki,Z(s)]])]))}}),kN=Ln(TN,[["__scopeId","data-v-035db611"]]);function Iu(e,t){return{id:t,title:e,name:e,fullPath:t,isDirectory:!0,children:[]}}function op(e){const t=e.children?.map(s=>s.isDirectory?op(s):s)||[];let n={id:e.id,title:e.title,name:e.name,fullPath:e.fullPath,isDirectory:!0,children:t};for(;n.children?.length===1&&n.children[0].isDirectory;){const s=n.children[0],i=`${n.name}/${s.name}`;n={id:s.id,title:i,name:i,fullPath:s.fullPath,isDirectory:!0,children:s.children}}return n}function VN(e){const t=Iu("","");return e.forEach(n=>{const{fullPath:s,folderPath:i="",name:r}=n,o=i.split("/").filter(Boolean);let l=t,a="";o.forEach(c=>{a=a?`${a}/${c}`:c;let u=l.children?.find(f=>f.isDirectory&&f.name===c);u||(u=Iu(c,a),l.children?.push(u)),l=u}),l.children?.push({...n,id:s,title:r||"",name:r,fullPath:s,isDirectory:!1})}),t.children.map(n=>n.isDirectory?op(n):n)}function AN(e,t){return t?.trim()?L_.filter(e,s=>[s.title,s.fullPath].find(r=>i_.like(r,t))||!!s.children?.length)||[]:e}const IN={class:"file-explore-wrap"},MN={class:"file-tree"},PN=["title","onClick"],LN=["src"],RN={class:"file-tree-node__label"},FN=vt({__name:"FileExplore",props:{diffFiles:{default:()=>[]}},emits:["select-file"],setup(e,{emit:t}){const n=e,s=t,{funcs:i,registerFunc:r}=Mo(),o=ne(null),l=Gn([]),a=ne(""),c=ne(""),u=p=>{const S=AN(l.value,p);o.value?.setData(S)};r({searchKeyword:a,selectedFileKey:c,filterTree:u});const f=async()=>{l.value=VN(n.diffFiles),await ts(),o.value?.clearSelected(),u(a.value)},d=p=>{i.selectFile?.(p),s("select-file",{fullPath:p})},h=p=>{if(p=p,p.isDirectory){o.value?.setExpand(p.id,!p.expand,!1);return}d(p.fullPath)},m=p=>{!p||p.isDirectory||i.selectedFileKey.value===p.fullPath||d(p.fullPath)};return hn(()=>{f()}),(p,S)=>(fe(),ke("div",IN,[_e(kN),le("div",MN,[_e(Z(NN),{ref_key:"treeRef",ref:o,selectable:"","enable-leaf-only":"","unselect-on-click":!1,"default-expand-all":!0,animation:!1,"node-min-height":32,"node-indent":8,"render-node-amount":60,"buffer-node-amount":20,"empty-text":"No changed files",onSelectedChange:m},{node:ln(({node:N})=>[le("div",{class:"file-tree-node",title:N.fullPath||N.title,onClick:_=>h(N)},[le("img",{class:"file-tree-node__icon",src:N.isDirectory?Z(wN):Z(ON),alt:""},null,8,LN),le("span",RN,on(N.title),1)],8,PN)]),_:1},512)])]))}}),$N=Ln(FN,[["__scopeId","data-v-70ab28a6"]]),Mu=12,jN=2,HN=vt({__name:"DiffList",props:{diffFiles:{default:()=>[]},fileOverScan:{default:30},fileViewMap:{default:()=>({})},viewerStyle:{default:()=>({})}},emits:["view-state-change"],setup(e,{emit:t}){const n=qh+jN+Mu,s=e,i=t,r=ne(null),{funcs:o}=Hh(),{funcs:l,registerFunc:a}=Mo(),{selectedFileKey:c}=l;a({selectFile:async m=>{const p=s.diffFiles.findIndex(S=>S.fullPath===m);if(p<0){c.value="";return}c.value=m,await ts(),o.virtualer?.value.scrollToIndex(p,{align:"start"})}});const f=m=>{const p=s.fileViewMap[m.fullPath];return{...s.viewerStyle,height:`${p?.height||0}px`,viewed:p?.viewed??!1,rawed:p?.rawed??!1}},d=m=>{let{height:p,viewed:S}=s.fileViewMap[m.fullPath];return S&&(p=0),p+n},h=(m,p)=>{i("view-state-change",m,p),o.resizeItem(m.fullPath,d(m))};return(m,p)=>(fe(),zt(Z(s_),{ref_key:"virtualScrollRef",ref:r,class:"diff-list-wrap",items:e.diffFiles,itemSize:d,keyField:"fullPath",overscan:e.fileOverScan},{default:ln(({item:S})=>[le("div",{class:Ve(["file-wrap",{"file-wrap--selected":Z(c)===S.fullPath}]),style:Xe({paddingBottom:`${Mu}px`})},[_e(Qh,{fileId:S.fullPath,diffPair:S.diffPair,diffPatch:S.diffPatch,viewerStyle:f(S),onViewStateChange:N=>h(S,N)},null,8,["fileId","diffPair","diffPatch","viewerStyle","onViewStateChange"])],6)]),_:1},8,["items","overscan"]))}}),BN=Ln(HN,[["__scopeId","data-v-9f37abdf"]]),KN={class:"diff-files-wrap"},UN={class:"content-wrap"},WN={class:"filelist-viewer-wrap"},zN=3,qN=vt({__name:"DiffFiles",props:{diffFiles:{default:()=>[]},fileOverScan:{default:30},viewerStyle:{default:()=>({})}},emits:["select-file"],setup(e,{emit:t}){const n=e,{files:s,fileMap:i}=CN(n.diffFiles),r=c=>{const u=o[c.fullPath];return n.viewerStyle.height?Yh(n.viewerStyle.height):(()=>{const d={minHeight:"0px",maxHeight:"500px",...n.viewerStyle};return Xh({id:c.fullPath,patch:c.diffPatch,pair:c.diffPair,minHeight:d.minHeight,maxHeight:d.maxHeight,unchangedVisiable:u.rawed,unchangedCtxLineNum:zN,unchangedMinLineNum:1})})()},o=oi(Object.fromEntries(s.map(c=>[c.fullPath,{height:0,viewed:!1,rawed:!1}])));ra(()=>{Object.entries(o).forEach(([c,u])=>{a(i[c])})});const l=t;Mo({isMaster:!0});const a=(c,u={})=>{const f=o[c.fullPath];Object.assign(f,u),f.height=r(c)};return(c,u)=>(fe(),ke("div",KN,[le("div",UN,[_e($N,{class:"file-explore",diffFiles:Z(s),onSelectFile:u[0]||(u[0]=f=>l("select-file",f))},null,8,["diffFiles"]),le("div",WN,[_e(BN,{diffFiles:Z(s),fileOverScan:e.fileOverScan,fileViewMap:o,viewerStyle:e.viewerStyle,onViewStateChange:a},null,8,["diffFiles","fileOverScan","fileViewMap","viewerStyle"])])])]))}}),GN=Ln(qN,[["__scopeId","data-v-1a22123f"]]),lp="wtool-diff-files",Za=xo(GN,{shadowRoot:!1});function ap(e=lp){customElements.get(e)||customElements.define(e,Za)}function Pu(e,t){const n=e;for(const s of Object.keys(t)){const i=t[s];i!==void 0&&(n[s]=i)}}function JN(e,t={}){ap();const n=new Za,s=new Set;return Pu(n,t),e.appendChild(n),{update(i){Pu(n,i)},onSelectFile(i){const r=o=>{const[l]=o.detail;i(l)};return s.add(r),n.addEventListener("select-file",r),()=>{s.delete(r),n.removeEventListener("select-file",r)}},destroy(){s.forEach(i=>{n.removeEventListener("select-file",i)}),s.clear(),n.remove()}}}exports.WTOOL_DIFF_FILES_TAG=lp;exports.WTOOL_DIFF_VIEWER_TAG=ep;exports.WtoolDiffFiles=Za;exports.WtoolDiffViewer=Ga;exports.createDiffFiles=JN;exports.createDiffViewer=Xb;exports.loader=zh;exports.registerDiffFiles=ap;exports.registerDiffViewer=tp;
|