diff --git a/frontend/dist/assets/index-DIsRwQnG.css b/frontend/dist/assets/index-DIsRwQnG.css new file mode 100644 index 0000000..fb42391 --- /dev/null +++ b/frontend/dist/assets/index-DIsRwQnG.css @@ -0,0 +1 @@ +.sidebar[data-v-cd451cf6]{width:25%;min-width:200px;background-color:#1b1d23;color:#fff;padding:1.5rem 1rem;box-sizing:border-box;border-right:1px solid #2c2e34;display:flex;flex-direction:column}.sidebar h2[data-v-cd451cf6]{font-size:1.25rem;margin-bottom:1rem;color:#5a90ff}.new-chat-btn[data-v-cd451cf6]{margin-bottom:10px;padding:8px;font-size:14px;cursor:pointer;background-color:#5a90ff;color:#fff;border:none;border-radius:8px;transition:background-color .2s ease}.new-chat-btn[data-v-cd451cf6]:hover{background-color:#4076e0}.chat-list[data-v-cd451cf6]{list-style:none;padding:0;margin:0;overflow-y:auto;flex-grow:1}.chat-list li[data-v-cd451cf6]{padding:.5rem .75rem;cursor:pointer;border-radius:8px;transition:background-color .2s ease;font-size:.95rem}.chat-list li[data-v-cd451cf6]:hover{background-color:#2c2f3a}.chat-list li.active[data-v-cd451cf6]{background-color:#3451d1;color:#fff;font-weight:700}.spinner-container[data-v-3c00ddcf]{display:flex;justify-content:center;align-items:center;padding:1rem}.spinner-container.overlay[data-v-3c00ddcf]{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#fff9;z-index:9999}.spinner[data-v-3c00ddcf]{animation:rotate-3c00ddcf 2s linear infinite}.spinner-path[data-v-3c00ddcf]{stroke:#5a90ff;stroke-linecap:round;animation:dash-3c00ddcf 1.5s ease-in-out infinite}@keyframes rotate-3c00ddcf{to{transform:rotate(360deg)}}@keyframes dash-3c00ddcf{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.chat-log[data-v-f5568b7c]{flex:1 1 auto;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:1.25rem 1.5rem;box-sizing:border-box;background-color:#1a1c22;border-radius:16px;scrollbar-width:thin;scrollbar-color:#5a90ff33 transparent}.chat-log[data-v-f5568b7c]::-webkit-scrollbar{width:6px}.chat-log[data-v-f5568b7c]::-webkit-scrollbar-thumb{background-color:#5a90ff55;border-radius:3px}.bubble[data-v-f5568b7c]{max-width:75%;padding:14px 18px;border-radius:20px;line-height:1.5;font-size:1rem;word-wrap:break-word;-webkit-user-select:text;user-select:text;transition:background-color .3s ease,color .3s ease;opacity:0;transform:translateY(10px);animation:slideFadeIn-f5568b7c .3s forwards}@keyframes slideFadeIn-f5568b7c{to{opacity:1;transform:translateY(0)}}.user[data-v-f5568b7c]{background-color:#3451d1;align-self:flex-end;color:#fff;border-radius:20px 20px 4px}.bot[data-v-f5568b7c]{background-color:#2a2d35;align-self:flex-start;color:#a4c8ff;font-style:italic;border-radius:20px 20px 20px 4px}.timestamp[data-v-f5568b7c]{display:block;text-align:right;font-size:.75rem;color:#999;margin-top:6px;font-style:normal;opacity:.7;-webkit-user-select:none;user-select:none}.thinking-text[data-v-f5568b7c]{text-align:center;color:#5a90ff;font-style:italic;margin-top:.5rem;font-weight:600;-webkit-user-select:none;user-select:none}.chat-form[data-v-dca915bb]{flex-shrink:0;margin-top:1.25rem;display:flex;gap:12px;padding:0;box-sizing:border-box;background:transparent;border-radius:0}textarea[data-v-dca915bb]{flex-grow:1;min-height:4.25rem;border-radius:16px;border:1px solid #2d2f36;padding:1rem 1.25rem;font-size:1rem;resize:none;outline:none;background-color:#1c1e24;color:#e6e9ef;font-family:inherit;max-width:100%;overflow-y:auto;box-sizing:border-box;transition:border-color .25s ease,background-color .25s ease}textarea[data-v-dca915bb]::placeholder{color:#6a6e7c;font-style:italic;opacity:.9}textarea[data-v-dca915bb]:focus{border-color:#5a90ff;background-color:#20232a}button[data-v-dca915bb]{background-color:#5a90ff;border:none;border-radius:14px;color:#fff;padding:0 1.75rem;font-weight:600;font-size:1rem;cursor:pointer;transition:background-color .25s ease,transform .1s ease;white-space:nowrap}button[data-v-dca915bb]:hover:not(:disabled){background-color:#4076e0}button[data-v-dca915bb]:active:not(:disabled){transform:translateY(1px);background-color:#305dc0}button[data-v-dca915bb]:disabled{opacity:.5;cursor:not-allowed;background-color:#3a4a6a}.main-content[data-v-2c6be2f2]{width:75%;box-sizing:border-box;display:flex;flex-direction:column;padding:2rem 1.25rem 1rem;background-color:#121217;overflow:hidden}.main-title[data-v-2c6be2f2]{text-align:center;margin-bottom:1.25rem;color:#5a90ff;font-weight:700;font-size:1.75rem;letter-spacing:.05em;-webkit-user-select:none;user-select:none}.layout-container[data-v-96dd9922]{display:flex;height:100vh;width:100vw;overflow:hidden}#app{height:100vh;width:100vw}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.v-toast--fade-out{animation-name:fadeOut}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}.v-toast--fade-in-down{animation-name:fadeInDown}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}.v-toast--fade-in-up{animation-name:fadeInUp}.fade-enter-active,.fade-leave-active{transition:opacity .15s ease-out}.fade-enter,.fade-leave-to{opacity:0}.v-toast{position:fixed;display:flex;top:0;bottom:0;left:0;right:0;padding:2em;overflow:hidden;z-index:1090;pointer-events:none}.v-toast__item{display:inline-flex;align-items:center;animation-duration:.15s;margin:.5em 0;box-shadow:0 1px 4px #0000001f,0 0 6px #0000000a;border-radius:.25em;pointer-events:auto;opacity:.92;color:#fff;min-height:3em;cursor:pointer}.v-toast__item--success{background-color:#28a745}.v-toast__item--info{background-color:#17a2b8}.v-toast__item--warning{background-color:#ffc107}.v-toast__item--error{background-color:#dc3545}.v-toast__item--default{background-color:#343a40}.v-toast__item--warning{color:#000}.v-toast__item.v-toast__item--top,.v-toast__item.v-toast__item--bottom{align-self:center}.v-toast__item.v-toast__item--top-right,.v-toast__item.v-toast__item--bottom-right{align-self:flex-end}.v-toast__item.v-toast__item--top-left,.v-toast__item.v-toast__item--bottom-left{align-self:flex-start}.v-toast__text{margin:0;padding:.5em 1em;word-break:break-word}.v-toast__icon{display:none}.v-toast.v-toast--top{flex-direction:column}.v-toast.v-toast--bottom{flex-direction:column-reverse}.v-toast.v-toast--custom-parent{position:absolute}@media screen and (max-width: 768px){.v-toast{padding:0;position:fixed!important}}.v-toast__item{opacity:1;min-height:4em}.v-toast__item .v-toast__text{padding:1.5em 1em}.v-toast__item .v-toast__icon{display:block;width:27px;min-width:27px;height:27px;margin-left:1em;background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45.999 45.999'%3e %3cpath fill='%23fff' d='M39.264 6.736c-8.982-8.981-23.545-8.982-32.528 0-8.982 8.982-8.981 23.545 0 32.528 8.982 8.98 23.545 8.981 32.528 0 8.981-8.983 8.98-23.545 0-32.528zM25.999 33a3 3 0 11-6 0V21a3 3 0 116 0v12zm-3.053-17.128c-1.728 0-2.88-1.224-2.844-2.735-.036-1.584 1.116-2.771 2.879-2.771 1.764 0 2.88 1.188 2.917 2.771-.001 1.511-1.152 2.735-2.952 2.735z'/%3e %3c/svg%3e") no-repeat}[dir=rtl] .v-toast__item .v-toast__icon{margin-left:unset;margin-right:1em}.v-toast__item.v-toast__item--success .v-toast__icon{background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3e %3cpath fill='%23fff' d='M26 0C11.664 0 0 11.663 0 26s11.664 26 26 26 26-11.663 26-26S40.336 0 26 0zm14.495 17.329l-16 18a1.997 1.997 0 01-2.745.233l-10-8a2 2 0 012.499-3.124l8.517 6.813L37.505 14.67a2.001 2.001 0 012.99 2.659z'/%3e %3c/svg%3e") no-repeat}.v-toast__item.v-toast__item--error .v-toast__icon{background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 51.976 51.976'%3e %3cpath fill='%23fff' d='M44.373 7.603c-10.137-10.137-26.632-10.138-36.77 0-10.138 10.138-10.137 26.632 0 36.77s26.632 10.138 36.77 0c10.137-10.138 10.137-26.633 0-36.77zm-8.132 28.638a2 2 0 01-2.828 0l-7.425-7.425-7.778 7.778a2 2 0 11-2.828-2.828l7.778-7.778-7.425-7.425a2 2 0 112.828-2.828l7.425 7.425 7.071-7.071a2 2 0 112.828 2.828l-7.071 7.071 7.425 7.425a2 2 0 010 2.828z'/%3e %3c/svg%3e") no-repeat}.v-toast__item.v-toast__item--warning .v-toast__icon{background:url("data:image/svg+xml,%3csvg viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill='%23000' d='M49.466 41.26L29.216 6.85c-.69-1.16-1.89-1.85-3.22-1.85-1.32 0-2.53.69-3.21 1.85L2.536 41.26c-.71 1.2-.72 2.64-.03 3.85.68 1.18 1.89 1.89 3.24 1.89h40.51c1.35 0 2.56-.71 3.23-1.89.7-1.21.69-2.65-.02-3.85zm-25.53-21.405h3.381v3.187l-.724 8.92H24.66l-.725-8.92v-3.187zm2.97 17.344a1.712 1.712 0 01-1.267.543c-.491 0-.914-.181-1.268-.543a1.788 1.788 0 01-.531-1.297c0-.502.176-.935.53-1.297a1.712 1.712 0 011.269-.544c.49 0 .914.181 1.268.544s.53.795.53 1.297c0 .503-.176.934-.53 1.297z'/%3e %3c/svg%3e") no-repeat}html,body{margin:0;padding:0;height:100%;background:#121217;color:#e0e4e8;font-family:Segoe UI Variable,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;padding:0;height:100vh;background-color:#121217}@media (max-width: 768px){.layout-container{flex-direction:column}.sidebar{width:100%!important;border-right:none;border-bottom:1px solid #2c2e34}.main-content{width:100%!important}} diff --git a/frontend/dist/assets/index-DTfx5B6F.css b/frontend/dist/assets/index-DTfx5B6F.css deleted file mode 100644 index 46dd6e4..0000000 --- a/frontend/dist/assets/index-DTfx5B6F.css +++ /dev/null @@ -1 +0,0 @@ -.sidebar[data-v-cd451cf6]{width:25%;min-width:200px;background-color:#1b1d23;color:#fff;padding:1.5rem 1rem;box-sizing:border-box;border-right:1px solid #2c2e34;display:flex;flex-direction:column}.sidebar h2[data-v-cd451cf6]{font-size:1.25rem;margin-bottom:1rem;color:#5a90ff}.new-chat-btn[data-v-cd451cf6]{margin-bottom:10px;padding:8px;font-size:14px;cursor:pointer;background-color:#5a90ff;color:#fff;border:none;border-radius:8px;transition:background-color .2s ease}.new-chat-btn[data-v-cd451cf6]:hover{background-color:#4076e0}.chat-list[data-v-cd451cf6]{list-style:none;padding:0;margin:0;overflow-y:auto;flex-grow:1}.chat-list li[data-v-cd451cf6]{padding:.5rem .75rem;cursor:pointer;border-radius:8px;transition:background-color .2s ease;font-size:.95rem}.chat-list li[data-v-cd451cf6]:hover{background-color:#2c2f3a}.chat-list li.active[data-v-cd451cf6]{background-color:#3451d1;color:#fff;font-weight:700}.chat-log[data-v-96cd1719]{flex:1 1 auto;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:1.25rem 1.5rem;box-sizing:border-box;background-color:#1a1c22;border-radius:16px;scrollbar-width:thin;scrollbar-color:#5a90ff33 transparent}.chat-log[data-v-96cd1719]::-webkit-scrollbar{width:6px}.chat-log[data-v-96cd1719]::-webkit-scrollbar-thumb{background-color:#5a90ff55;border-radius:3px}.bubble[data-v-96cd1719]{max-width:75%;padding:14px 18px;border-radius:20px;line-height:1.5;font-size:1rem;word-wrap:break-word;-webkit-user-select:text;user-select:text;transition:background-color .3s ease,color .3s ease;opacity:0;transform:translateY(10px);animation:slideFadeIn-96cd1719 .3s forwards}@keyframes slideFadeIn-96cd1719{to{opacity:1;transform:translateY(0)}}.user[data-v-96cd1719]{background-color:#3451d1;align-self:flex-end;color:#fff;border-radius:20px 20px 4px}.bot[data-v-96cd1719]{background-color:#2a2d35;align-self:flex-start;color:#a4c8ff;font-style:italic;border-radius:20px 20px 20px 4px}.timestamp[data-v-96cd1719]{display:block;text-align:right;font-size:.75rem;color:#999;margin-top:6px;font-style:normal;opacity:.7;-webkit-user-select:none;user-select:none}.spinner[data-v-96cd1719]{margin:1rem auto;width:36px;height:36px;border:4px solid rgba(90,144,255,.2);border-top-color:#5a90ff;border-radius:50%;animation:spin-96cd1719 1s linear infinite}@keyframes spin-96cd1719{to{transform:rotate(360deg)}}.thinking-text[data-v-96cd1719]{text-align:center;color:#5a90ff;font-style:italic;margin-top:.5rem;font-weight:600;-webkit-user-select:none;user-select:none}.chat-form[data-v-dca915bb]{flex-shrink:0;margin-top:1.25rem;display:flex;gap:12px;padding:0;box-sizing:border-box;background:transparent;border-radius:0}textarea[data-v-dca915bb]{flex-grow:1;min-height:4.25rem;border-radius:16px;border:1px solid #2d2f36;padding:1rem 1.25rem;font-size:1rem;resize:none;outline:none;background-color:#1c1e24;color:#e6e9ef;font-family:inherit;max-width:100%;overflow-y:auto;box-sizing:border-box;transition:border-color .25s ease,background-color .25s ease}textarea[data-v-dca915bb]::placeholder{color:#6a6e7c;font-style:italic;opacity:.9}textarea[data-v-dca915bb]:focus{border-color:#5a90ff;background-color:#20232a}button[data-v-dca915bb]{background-color:#5a90ff;border:none;border-radius:14px;color:#fff;padding:0 1.75rem;font-weight:600;font-size:1rem;cursor:pointer;transition:background-color .25s ease,transform .1s ease;white-space:nowrap}button[data-v-dca915bb]:hover:not(:disabled){background-color:#4076e0}button[data-v-dca915bb]:active:not(:disabled){transform:translateY(1px);background-color:#305dc0}button[data-v-dca915bb]:disabled{opacity:.5;cursor:not-allowed;background-color:#3a4a6a}.main-content[data-v-2c6be2f2]{width:75%;box-sizing:border-box;display:flex;flex-direction:column;padding:2rem 1.25rem 1rem;background-color:#121217;overflow:hidden}.main-title[data-v-2c6be2f2]{text-align:center;margin-bottom:1.25rem;color:#5a90ff;font-weight:700;font-size:1.75rem;letter-spacing:.05em;-webkit-user-select:none;user-select:none}.layout-container[data-v-643ced73]{display:flex;height:100vh;width:100vw;overflow:hidden}#app{height:100vh;width:100vw}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.v-toast--fade-out{animation-name:fadeOut}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}.v-toast--fade-in-down{animation-name:fadeInDown}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}.v-toast--fade-in-up{animation-name:fadeInUp}.fade-enter-active,.fade-leave-active{transition:opacity .15s ease-out}.fade-enter,.fade-leave-to{opacity:0}.v-toast{position:fixed;display:flex;top:0;bottom:0;left:0;right:0;padding:2em;overflow:hidden;z-index:1090;pointer-events:none}.v-toast__item{display:inline-flex;align-items:center;animation-duration:.15s;margin:.5em 0;box-shadow:0 1px 4px #0000001f,0 0 6px #0000000a;border-radius:.25em;pointer-events:auto;opacity:.92;color:#fff;min-height:3em;cursor:pointer}.v-toast__item--success{background-color:#28a745}.v-toast__item--info{background-color:#17a2b8}.v-toast__item--warning{background-color:#ffc107}.v-toast__item--error{background-color:#dc3545}.v-toast__item--default{background-color:#343a40}.v-toast__item--warning{color:#000}.v-toast__item.v-toast__item--top,.v-toast__item.v-toast__item--bottom{align-self:center}.v-toast__item.v-toast__item--top-right,.v-toast__item.v-toast__item--bottom-right{align-self:flex-end}.v-toast__item.v-toast__item--top-left,.v-toast__item.v-toast__item--bottom-left{align-self:flex-start}.v-toast__text{margin:0;padding:.5em 1em;word-break:break-word}.v-toast__icon{display:none}.v-toast.v-toast--top{flex-direction:column}.v-toast.v-toast--bottom{flex-direction:column-reverse}.v-toast.v-toast--custom-parent{position:absolute}@media screen and (max-width: 768px){.v-toast{padding:0;position:fixed!important}}html,body{margin:0;padding:0;height:100%;background:#121217;color:#e0e4e8;font-family:Segoe UI Variable,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;padding:0;height:100vh;background-color:#121217}@media (max-width: 768px){.layout-container{flex-direction:column}.sidebar{width:100%!important;border-right:none;border-bottom:1px solid #2c2e34}.main-content{width:100%!important}} diff --git a/frontend/dist/assets/index-adnA05sT.js b/frontend/dist/assets/index-lEa7rgri.js similarity index 76% rename from frontend/dist/assets/index-adnA05sT.js rename to frontend/dist/assets/index-lEa7rgri.js index 10e24fa..a44efc6 100644 --- a/frontend/dist/assets/index-adnA05sT.js +++ b/frontend/dist/assets/index-lEa7rgri.js @@ -2,22 +2,22 @@ * @vue/shared v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function ds(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Q={},Dt=[],Le=()=>{},Wl=()=>!1,Cn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),mr=e=>e.startsWith("onUpdate:"),se=Object.assign,_r=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ql=Object.prototype.hasOwnProperty,z=(e,t)=>ql.call(e,t),$=Array.isArray,Ht=e=>Gt(e)==="[object Map]",Ot=e=>Gt(e)==="[object Set]",Xr=e=>Gt(e)==="[object Date]",Gl=e=>Gt(e)==="[object RegExp]",W=e=>typeof e=="function",le=e=>typeof e=="string",Ue=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",yr=e=>(ne(e)||W(e))&&W(e.then)&&W(e.catch),Hi=Object.prototype.toString,Gt=e=>Hi.call(e),Yl=e=>Gt(e).slice(8,-1),hs=e=>Gt(e)==="[object Object]",br=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$t=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ps=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Jl=/-(\w)/g,_e=ps(e=>e.replace(Jl,(t,n)=>n?n.toUpperCase():"")),Ql=/\B([A-Z])/g,Ae=ps(e=>e.replace(Ql,"-$1").toLowerCase()),En=ps(e=>e.charAt(0).toUpperCase()+e.slice(1)),sn=ps(e=>e?`on${En(e)}`:""),Ee=(e,t)=>!Object.is(e,t),kt=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Jn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qn=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let Zr;const gs=()=>Zr||(Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Xl="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",Zl=ds(Xl);function wn(e){if($(e)){const t={};for(let n=0;n{if(n){const s=n.split(ec);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function At(e){let t="";if(le(e))t=e;else if($(e))for(let n=0;nmt(n,t))}const ki=e=>!!(e&&e.__v_isRef===!0),dn=e=>le(e)?e:e==null?"":$(e)||ne(e)&&(e.toString===Hi||!W(e.toString))?ki(e)?dn(e.value):JSON.stringify(e,Bi,2):String(e),Bi=(e,t)=>ki(t)?Bi(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Ds(s,i)+" =>"]=r,n),{})}:Ot(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ds(n))}:Ue(t)?Ds(t):ne(t)&&!$(t)&&!hs(t)?String(t):t,Ds=(e,t="")=>{var n;return Ue(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function ds(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Q={},Dt=[],Fe=()=>{},Wl=()=>!1,wn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),mr=e=>e.startsWith("onUpdate:"),se=Object.assign,_r=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ql=Object.prototype.hasOwnProperty,z=(e,t)=>ql.call(e,t),$=Array.isArray,Ht=e=>Gt(e)==="[object Map]",At=e=>Gt(e)==="[object Set]",Xr=e=>Gt(e)==="[object Date]",Gl=e=>Gt(e)==="[object RegExp]",W=e=>typeof e=="function",le=e=>typeof e=="string",Ue=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",yr=e=>(ne(e)||W(e))&&W(e.then)&&W(e.catch),Hi=Object.prototype.toString,Gt=e=>Hi.call(e),Yl=e=>Gt(e).slice(8,-1),hs=e=>Gt(e)==="[object Object]",br=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$t=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ps=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Jl=/-(\w)/g,_e=ps(e=>e.replace(Jl,(t,n)=>n?n.toUpperCase():"")),Ql=/\B([A-Z])/g,Ae=ps(e=>e.replace(Ql,"-$1").toLowerCase()),xn=ps(e=>e.charAt(0).toUpperCase()+e.slice(1)),rn=ps(e=>e?`on${xn(e)}`:""),Ee=(e,t)=>!Object.is(e,t),kt=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Qn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xn=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let Zr;const gs=()=>Zr||(Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Xl="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",Zl=ds(Xl);function Sn(e){if($(e)){const t={};for(let n=0;n{if(n){const s=n.split(ec);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function yt(e){let t="";if(le(e))t=e;else if($(e))for(let n=0;nmt(n,t))}const ki=e=>!!(e&&e.__v_isRef===!0),hn=e=>le(e)?e:e==null?"":$(e)||ne(e)&&(e.toString===Hi||!W(e.toString))?ki(e)?hn(e.value):JSON.stringify(e,Bi,2):String(e),Bi=(e,t)=>ki(t)?Bi(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Ds(s,i)+" =>"]=r,n),{})}:At(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ds(n))}:Ue(t)?Ds(t):ne(t)&&!$(t)&&!hs(t)?String(t):t,Ds=(e,t="")=>{var n;return Ue(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let be;class vr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=be,!t&&be&&(this.index=(be.scopes||(be.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;t0&&--this._on===0&&(be=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(on){let t=on;for(on=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;rn;){let t=rn;for(rn=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 Ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Wi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Er(s),ac(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===pn)||(e.globalVersion=pn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Js(e))))return;e.flags|=2;const t=e.dep,n=oe,s=je;oe=e,je=!0;try{Ki(e);const r=e.fn(e._value);(t.version===0||Ee(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{oe=n,je=s,Wi(e),e.flags&=-3}}function Er(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Er(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ac(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function fc(e,t){e.effect instanceof hn&&(e=e.effect.fn);const n=new hn(e);t&&se(n,t);try{n.run()}catch(r){throw n.stop(),r}const s=n.run.bind(n);return s.effect=n,s}function uc(e){e.effect.stop()}let je=!0;const Gi=[];function tt(){Gi.push(je),je=!1}function nt(){const e=Gi.pop();je=e===void 0?!0:e}function zr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=oe;oe=void 0;try{t()}finally{oe=n}}}let pn=0;class dc{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 _s{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}track(t){if(!oe||!je||oe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==oe)n=this.activeLink=new dc(oe,this),oe.deps?(n.prevDep=oe.depsTail,oe.depsTail.nextDep=n,oe.depsTail=n):oe.deps=oe.depsTail=n,Yi(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=oe.depsTail,n.nextDep=void 0,oe.depsTail.nextDep=n,oe.depsTail=n,oe.deps===n&&(oe.deps=s)}return n}trigger(t){this.version++,pn++,this.notify(t)}notify(t){Tr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Cr()}}}function Yi(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)Yi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Xn=new WeakMap,Tt=Symbol(""),Qs=Symbol(""),gn=Symbol("");function ve(e,t,n){if(je&&oe){let s=Xn.get(e);s||Xn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new _s),r.map=s,r.key=n),r.track()}}function Ze(e,t,n,s,r,i){const o=Xn.get(e);if(!o){pn++;return}const l=c=>{c&&c.trigger()};if(Tr(),t==="clear")o.forEach(l);else{const c=$(e),u=c&&br(n);if(c&&n==="length"){const a=Number(s);o.forEach((d,_)=>{(_==="length"||_===gn||!Ue(_)&&_>=a)&&l(d)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(gn)),t){case"add":c?u&&l(o.get("length")):(l(o.get(Tt)),Ht(e)&&l(o.get(Qs)));break;case"delete":c||(l(o.get(Tt)),Ht(e)&&l(o.get(Qs)));break;case"set":Ht(e)&&l(o.get(Tt));break}}Cr()}function hc(e,t){const n=Xn.get(e);return n&&n.get(t)}function Rt(e){const t=Z(e);return t===e?t:(ve(t,"iterate",gn),Ne(e)?t:t.map(ge))}function ys(e){return ve(e=Z(e),"iterate",gn),e}const pc={__proto__:null,[Symbol.iterator](){return $s(this,Symbol.iterator,ge)},concat(...e){return Rt(this).concat(...e.map(t=>$(t)?Rt(t):t))},entries(){return $s(this,"entries",e=>(e[1]=ge(e[1]),e))},every(e,t){return Qe(this,"every",e,t,void 0,arguments)},filter(e,t){return Qe(this,"filter",e,t,n=>n.map(ge),arguments)},find(e,t){return Qe(this,"find",e,t,ge,arguments)},findIndex(e,t){return Qe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qe(this,"findLast",e,t,ge,arguments)},findLastIndex(e,t){return Qe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qe(this,"forEach",e,t,void 0,arguments)},includes(...e){return ks(this,"includes",e)},indexOf(...e){return ks(this,"indexOf",e)},join(e){return Rt(this).join(e)},lastIndexOf(...e){return ks(this,"lastIndexOf",e)},map(e,t){return Qe(this,"map",e,t,void 0,arguments)},pop(){return Zt(this,"pop")},push(...e){return Zt(this,"push",e)},reduce(e,...t){return ei(this,"reduce",e,t)},reduceRight(e,...t){return ei(this,"reduceRight",e,t)},shift(){return Zt(this,"shift")},some(e,t){return Qe(this,"some",e,t,void 0,arguments)},splice(...e){return Zt(this,"splice",e)},toReversed(){return Rt(this).toReversed()},toSorted(e){return Rt(this).toSorted(e)},toSpliced(...e){return Rt(this).toSpliced(...e)},unshift(...e){return Zt(this,"unshift",e)},values(){return $s(this,"values",ge)}};function $s(e,t,n){const s=ys(e),r=s[t]();return s!==e&&!Ne(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const gc=Array.prototype;function Qe(e,t,n,s,r,i){const o=ys(e),l=o!==e&&!Ne(e),c=o[t];if(c!==gc[t]){const d=c.apply(e,i);return l?ge(d):d}let u=n;o!==e&&(l?u=function(d,_){return n.call(this,ge(d),_,e)}:n.length>2&&(u=function(d,_){return n.call(this,d,_,e)}));const a=c.call(o,u,s);return l&&r?r(a):a}function ei(e,t,n,s){const r=ys(e);let i=n;return r!==e&&(Ne(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ge(l),c,e)}),r[t](i,...s)}function ks(e,t,n){const s=Z(e);ve(s,"iterate",gn);const r=s[t](...n);return(r===-1||r===!1)&&Cs(n[0])?(n[0]=Z(n[0]),s[t](...n)):r}function Zt(e,t,n=[]){tt(),Tr();const s=Z(e)[t].apply(e,n);return Cr(),nt(),s}const mc=ds("__proto__,__v_isRef,__isVue"),Ji=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ue));function _c(e){Ue(e)||(e=String(e));const t=Z(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Qi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?no:to:i?eo:zi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=$(t);if(!r){let c;if(o&&(c=pc[n]))return c;if(n==="hasOwnProperty")return _c}const l=Reflect.get(t,n,pe(t)?t:s);return(Ue(n)?Ji.has(n):mc(n))||(r||ve(t,"get",n),i)?l:pe(l)?o&&br(n)?l:l.value:ne(l)?r?wr(l):vs(l):l}}class Xi extends Qi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=st(i);if(!Ne(s)&&!st(s)&&(i=Z(i),s=Z(s)),!$(t)&&pe(i)&&!pe(s))return c?!1:(i.value=s,!0)}const o=$(t)&&br(n)?Number(n)e,Nn=e=>Reflect.getPrototypeOf(e);function Cc(e,t,n){return function(...s){const r=this.__v_raw,i=Z(r),o=Ht(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),a=n?Xs:t?Zn:ge;return!t&&ve(i,"iterate",c?Qs:Tt),{next(){const{value:d,done:_}=u.next();return _?{value:d,done:_}:{value:l?[a(d[0]),a(d[1])]:a(d),done:_}},[Symbol.iterator](){return this}}}}function In(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ec(e,t){const n={get(r){const i=this.__v_raw,o=Z(i),l=Z(r);e||(Ee(r,l)&&ve(o,"get",r),ve(o,"get",l));const{has:c}=Nn(o),u=t?Xs:e?Zn:ge;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ve(Z(r),"iterate",Tt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=Z(i),l=Z(r);return e||(Ee(r,l)&&ve(o,"has",r),ve(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Z(l),u=t?Xs:e?Zn:ge;return!e&&ve(c,"iterate",Tt),l.forEach((a,d)=>r.call(i,u(a),u(d),o))}};return se(n,e?{add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear")}:{add(r){!t&&!Ne(r)&&!st(r)&&(r=Z(r));const i=Z(this);return Nn(i).has.call(i,r)||(i.add(r),Ze(i,"add",r,r)),this},set(r,i){!t&&!Ne(i)&&!st(i)&&(i=Z(i));const o=Z(this),{has:l,get:c}=Nn(o);let u=l.call(o,r);u||(r=Z(r),u=l.call(o,r));const a=c.call(o,r);return o.set(r,i),u?Ee(i,a)&&Ze(o,"set",r,i):Ze(o,"add",r,i),this},delete(r){const i=Z(this),{has:o,get:l}=Nn(i);let c=o.call(i,r);c||(r=Z(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&Ze(i,"delete",r,void 0),u},clear(){const r=Z(this),i=r.size!==0,o=r.clear();return i&&Ze(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Cc(r,e,t)}),n}function bs(e,t){const n=Ec(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const wc={get:bs(!1,!1)},xc={get:bs(!1,!0)},Sc={get:bs(!0,!1)},Oc={get:bs(!0,!0)},zi=new WeakMap,eo=new WeakMap,to=new WeakMap,no=new WeakMap;function Ac(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pc(e){return e.__v_skip||!Object.isExtensible(e)?0:Ac(Yl(e))}function vs(e){return st(e)?e:Ts(e,!1,yc,wc,zi)}function so(e){return Ts(e,!1,vc,xc,eo)}function wr(e){return Ts(e,!0,bc,Sc,to)}function Mc(e){return Ts(e,!0,Tc,Oc,no)}function Ts(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Pc(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function ht(e){return st(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function st(e){return!!(e&&e.__v_isReadonly)}function Ne(e){return!!(e&&e.__v_isShallow)}function Cs(e){return e?!!e.__v_raw:!1}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function ro(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&Ys(e,"__v_skip",!0),e}const ge=e=>ne(e)?vs(e):e,Zn=e=>ne(e)?wr(e):e;function pe(e){return e?e.__v_isRef===!0:!1}function Ve(e){return oo(e,!1)}function io(e){return oo(e,!0)}function oo(e,t){return pe(e)?e:new Rc(e,t)}class Rc{constructor(t,n){this.dep=new _s,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Z(t),this._value=n?t:ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ne(t)||st(t);t=s?t:Z(t),Ee(t,n)&&(this._rawValue=t,this._value=s?t:ge(t),this.dep.trigger())}}function Nc(e){e.dep&&e.dep.trigger()}function Es(e){return pe(e)?e.value:e}function Ic(e){return W(e)?e():Es(e)}const Lc={get:(e,t,n)=>t==="__v_raw"?e:Es(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return pe(r)&&!pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function xr(e){return ht(e)?e:new Proxy(e,Lc)}class Fc{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new _s,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function lo(e){return new Fc(e)}function Dc(e){const t=$(e)?new Array(e.length):{};for(const n in e)t[n]=co(e,n);return t}class Hc{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return hc(Z(this._object),this._key)}}class $c{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 kc(e,t,n){return pe(e)?e:W(e)?new $c(e):ne(e)&&arguments.length>1?co(e,t,n):Ve(e)}function co(e,t,n){const s=e[t];return pe(s)?s:new Hc(e,t,n)}class Bc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new _s(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=pn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&oe!==this)return Ui(this,!0),!0}get value(){const t=this.dep.track();return qi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Vc(e,t,n=!1){let s,r;return W(e)?s=e:(s=e.get,r=e.set),new Bc(s,r,n)}const jc={GET:"get",HAS:"has",ITERATE:"iterate"},Uc={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Ln={},zn=new WeakMap;let at;function Kc(){return at}function ao(e,t=!1,n=at){if(n){let s=zn.get(n);s||zn.set(n,s=[]),s.push(e)}}function Wc(e,t,n=Q){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=g=>r?g:Ne(g)||r===!1||r===0?ze(g,1):ze(g);let a,d,_,y,w=!1,E=!1;if(pe(e)?(d=()=>e.value,w=Ne(e)):ht(e)?(d=()=>u(e),w=!0):$(e)?(E=!0,w=e.some(g=>ht(g)||Ne(g)),d=()=>e.map(g=>{if(pe(g))return g.value;if(ht(g))return u(g);if(W(g))return c?c(g,2):g()})):W(e)?t?d=c?()=>c(e,2):e:d=()=>{if(_){tt();try{_()}finally{nt()}}const g=at;at=a;try{return c?c(e,3,[y]):e(y)}finally{at=g}}:d=Le,t&&r){const g=d,T=r===!0?1/0:r;d=()=>ze(g(),T)}const q=Vi(),k=()=>{a.stop(),q&&q.active&&_r(q.effects,a)};if(i&&t){const g=t;t=(...T)=>{g(...T),k()}}let R=E?new Array(e.length).fill(Ln):Ln;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const T=a.run();if(r||w||(E?T.some((M,H)=>Ee(M,R[H])):Ee(T,R))){_&&_();const M=at;at=a;try{const H=[T,R===Ln?void 0:E&&R[0]===Ln?[]:R,y];R=T,c?c(t,3,H):t(...H)}finally{at=M}}}else a.run()};return l&&l(p),a=new hn(d),a.scheduler=o?()=>o(p,!1):p,y=g=>ao(g,!1,a),_=a.onStop=()=>{const g=zn.get(a);if(g){if(c)c(g,4);else for(const T of g)T();zn.delete(a)}},t?s?p(!0):R=a.run():o?o(p.bind(null,!0),!0):a.run(),k.pause=a.pause.bind(a),k.resume=a.resume.bind(a),k.stop=k,k}function ze(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,pe(e))ze(e.value,t,n);else if($(e))for(let s=0;s{ze(s,t,n)});else if(hs(e)){for(const s in e)ze(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ze(e[s],t,n)}return e}/** +**/let be;class vr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=be,!t&&be&&(this.index=(be.scopes||(be.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;t0&&--this._on===0&&(be=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(ln){let t=ln;for(ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;on;){let t=on;for(on=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 Ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Wi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Er(s),ac(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===gn)||(e.globalVersion=gn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Js(e))))return;e.flags|=2;const t=e.dep,n=oe,s=je;oe=e,je=!0;try{Ki(e);const r=e.fn(e._value);(t.version===0||Ee(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{oe=n,je=s,Wi(e),e.flags&=-3}}function Er(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Er(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ac(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function fc(e,t){e.effect instanceof pn&&(e=e.effect.fn);const n=new pn(e);t&&se(n,t);try{n.run()}catch(r){throw n.stop(),r}const s=n.run.bind(n);return s.effect=n,s}function uc(e){e.effect.stop()}let je=!0;const Gi=[];function tt(){Gi.push(je),je=!1}function nt(){const e=Gi.pop();je=e===void 0?!0:e}function zr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=oe;oe=void 0;try{t()}finally{oe=n}}}let gn=0;class dc{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 _s{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}track(t){if(!oe||!je||oe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==oe)n=this.activeLink=new dc(oe,this),oe.deps?(n.prevDep=oe.depsTail,oe.depsTail.nextDep=n,oe.depsTail=n):oe.deps=oe.depsTail=n,Yi(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=oe.depsTail,n.nextDep=void 0,oe.depsTail.nextDep=n,oe.depsTail=n,oe.deps===n&&(oe.deps=s)}return n}trigger(t){this.version++,gn++,this.notify(t)}notify(t){Tr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Cr()}}}function Yi(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)Yi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Zn=new WeakMap,Ct=Symbol(""),Qs=Symbol(""),mn=Symbol("");function ve(e,t,n){if(je&&oe){let s=Zn.get(e);s||Zn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new _s),r.map=s,r.key=n),r.track()}}function Ze(e,t,n,s,r,i){const o=Zn.get(e);if(!o){gn++;return}const l=c=>{c&&c.trigger()};if(Tr(),t==="clear")o.forEach(l);else{const c=$(e),u=c&&br(n);if(c&&n==="length"){const a=Number(s);o.forEach((d,_)=>{(_==="length"||_===mn||!Ue(_)&&_>=a)&&l(d)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(mn)),t){case"add":c?u&&l(o.get("length")):(l(o.get(Ct)),Ht(e)&&l(o.get(Qs)));break;case"delete":c||(l(o.get(Ct)),Ht(e)&&l(o.get(Qs)));break;case"set":Ht(e)&&l(o.get(Ct));break}}Cr()}function hc(e,t){const n=Zn.get(e);return n&&n.get(t)}function Rt(e){const t=Z(e);return t===e?t:(ve(t,"iterate",mn),Ie(e)?t:t.map(me))}function ys(e){return ve(e=Z(e),"iterate",mn),e}const pc={__proto__:null,[Symbol.iterator](){return $s(this,Symbol.iterator,me)},concat(...e){return Rt(this).concat(...e.map(t=>$(t)?Rt(t):t))},entries(){return $s(this,"entries",e=>(e[1]=me(e[1]),e))},every(e,t){return Qe(this,"every",e,t,void 0,arguments)},filter(e,t){return Qe(this,"filter",e,t,n=>n.map(me),arguments)},find(e,t){return Qe(this,"find",e,t,me,arguments)},findIndex(e,t){return Qe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qe(this,"findLast",e,t,me,arguments)},findLastIndex(e,t){return Qe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qe(this,"forEach",e,t,void 0,arguments)},includes(...e){return ks(this,"includes",e)},indexOf(...e){return ks(this,"indexOf",e)},join(e){return Rt(this).join(e)},lastIndexOf(...e){return ks(this,"lastIndexOf",e)},map(e,t){return Qe(this,"map",e,t,void 0,arguments)},pop(){return zt(this,"pop")},push(...e){return zt(this,"push",e)},reduce(e,...t){return ei(this,"reduce",e,t)},reduceRight(e,...t){return ei(this,"reduceRight",e,t)},shift(){return zt(this,"shift")},some(e,t){return Qe(this,"some",e,t,void 0,arguments)},splice(...e){return zt(this,"splice",e)},toReversed(){return Rt(this).toReversed()},toSorted(e){return Rt(this).toSorted(e)},toSpliced(...e){return Rt(this).toSpliced(...e)},unshift(...e){return zt(this,"unshift",e)},values(){return $s(this,"values",me)}};function $s(e,t,n){const s=ys(e),r=s[t]();return s!==e&&!Ie(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const gc=Array.prototype;function Qe(e,t,n,s,r,i){const o=ys(e),l=o!==e&&!Ie(e),c=o[t];if(c!==gc[t]){const d=c.apply(e,i);return l?me(d):d}let u=n;o!==e&&(l?u=function(d,_){return n.call(this,me(d),_,e)}:n.length>2&&(u=function(d,_){return n.call(this,d,_,e)}));const a=c.call(o,u,s);return l&&r?r(a):a}function ei(e,t,n,s){const r=ys(e);let i=n;return r!==e&&(Ie(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,me(l),c,e)}),r[t](i,...s)}function ks(e,t,n){const s=Z(e);ve(s,"iterate",mn);const r=s[t](...n);return(r===-1||r===!1)&&Cs(n[0])?(n[0]=Z(n[0]),s[t](...n)):r}function zt(e,t,n=[]){tt(),Tr();const s=Z(e)[t].apply(e,n);return Cr(),nt(),s}const mc=ds("__proto__,__v_isRef,__isVue"),Ji=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ue));function _c(e){Ue(e)||(e=String(e));const t=Z(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Qi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?no:to:i?eo:zi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=$(t);if(!r){let c;if(o&&(c=pc[n]))return c;if(n==="hasOwnProperty")return _c}const l=Reflect.get(t,n,pe(t)?t:s);return(Ue(n)?Ji.has(n):mc(n))||(r||ve(t,"get",n),i)?l:pe(l)?o&&br(n)?l:l.value:ne(l)?r?wr(l):vs(l):l}}class Xi extends Qi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=st(i);if(!Ie(s)&&!st(s)&&(i=Z(i),s=Z(s)),!$(t)&&pe(i)&&!pe(s))return c?!1:(i.value=s,!0)}const o=$(t)&&br(n)?Number(n)e,In=e=>Reflect.getPrototypeOf(e);function Cc(e,t,n){return function(...s){const r=this.__v_raw,i=Z(r),o=Ht(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),a=n?Xs:t?zn:me;return!t&&ve(i,"iterate",c?Qs:Ct),{next(){const{value:d,done:_}=u.next();return _?{value:d,done:_}:{value:l?[a(d[0]),a(d[1])]:a(d),done:_}},[Symbol.iterator](){return this}}}}function Ln(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ec(e,t){const n={get(r){const i=this.__v_raw,o=Z(i),l=Z(r);e||(Ee(r,l)&&ve(o,"get",r),ve(o,"get",l));const{has:c}=In(o),u=t?Xs:e?zn:me;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ve(Z(r),"iterate",Ct),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=Z(i),l=Z(r);return e||(Ee(r,l)&&ve(o,"has",r),ve(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Z(l),u=t?Xs:e?zn:me;return!e&&ve(c,"iterate",Ct),l.forEach((a,d)=>r.call(i,u(a),u(d),o))}};return se(n,e?{add:Ln("add"),set:Ln("set"),delete:Ln("delete"),clear:Ln("clear")}:{add(r){!t&&!Ie(r)&&!st(r)&&(r=Z(r));const i=Z(this);return In(i).has.call(i,r)||(i.add(r),Ze(i,"add",r,r)),this},set(r,i){!t&&!Ie(i)&&!st(i)&&(i=Z(i));const o=Z(this),{has:l,get:c}=In(o);let u=l.call(o,r);u||(r=Z(r),u=l.call(o,r));const a=c.call(o,r);return o.set(r,i),u?Ee(i,a)&&Ze(o,"set",r,i):Ze(o,"add",r,i),this},delete(r){const i=Z(this),{has:o,get:l}=In(i);let c=o.call(i,r);c||(r=Z(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&Ze(i,"delete",r,void 0),u},clear(){const r=Z(this),i=r.size!==0,o=r.clear();return i&&Ze(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Cc(r,e,t)}),n}function bs(e,t){const n=Ec(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const wc={get:bs(!1,!1)},xc={get:bs(!1,!0)},Sc={get:bs(!0,!1)},Oc={get:bs(!0,!0)},zi=new WeakMap,eo=new WeakMap,to=new WeakMap,no=new WeakMap;function Ac(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pc(e){return e.__v_skip||!Object.isExtensible(e)?0:Ac(Yl(e))}function vs(e){return st(e)?e:Ts(e,!1,yc,wc,zi)}function so(e){return Ts(e,!1,vc,xc,eo)}function wr(e){return Ts(e,!0,bc,Sc,to)}function Mc(e){return Ts(e,!0,Tc,Oc,no)}function Ts(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Pc(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function ht(e){return st(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function st(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function Cs(e){return e?!!e.__v_raw:!1}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function ro(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&Ys(e,"__v_skip",!0),e}const me=e=>ne(e)?vs(e):e,zn=e=>ne(e)?wr(e):e;function pe(e){return e?e.__v_isRef===!0:!1}function Ve(e){return oo(e,!1)}function io(e){return oo(e,!0)}function oo(e,t){return pe(e)?e:new Rc(e,t)}class Rc{constructor(t,n){this.dep=new _s,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Z(t),this._value=n?t:me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ie(t)||st(t);t=s?t:Z(t),Ee(t,n)&&(this._rawValue=t,this._value=s?t:me(t),this.dep.trigger())}}function Nc(e){e.dep&&e.dep.trigger()}function Es(e){return pe(e)?e.value:e}function Ic(e){return W(e)?e():Es(e)}const Lc={get:(e,t,n)=>t==="__v_raw"?e:Es(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return pe(r)&&!pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function xr(e){return ht(e)?e:new Proxy(e,Lc)}class Fc{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new _s,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function lo(e){return new Fc(e)}function Dc(e){const t=$(e)?new Array(e.length):{};for(const n in e)t[n]=co(e,n);return t}class Hc{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return hc(Z(this._object),this._key)}}class $c{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 kc(e,t,n){return pe(e)?e:W(e)?new $c(e):ne(e)&&arguments.length>1?co(e,t,n):Ve(e)}function co(e,t,n){const s=e[t];return pe(s)?s:new Hc(e,t,n)}class Bc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new _s(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=gn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&oe!==this)return Ui(this,!0),!0}get value(){const t=this.dep.track();return qi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Vc(e,t,n=!1){let s,r;return W(e)?s=e:(s=e.get,r=e.set),new Bc(s,r,n)}const jc={GET:"get",HAS:"has",ITERATE:"iterate"},Uc={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Fn={},es=new WeakMap;let at;function Kc(){return at}function ao(e,t=!1,n=at){if(n){let s=es.get(n);s||es.set(n,s=[]),s.push(e)}}function Wc(e,t,n=Q){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=g=>r?g:Ie(g)||r===!1||r===0?ze(g,1):ze(g);let a,d,_,y,w=!1,E=!1;if(pe(e)?(d=()=>e.value,w=Ie(e)):ht(e)?(d=()=>u(e),w=!0):$(e)?(E=!0,w=e.some(g=>ht(g)||Ie(g)),d=()=>e.map(g=>{if(pe(g))return g.value;if(ht(g))return u(g);if(W(g))return c?c(g,2):g()})):W(e)?t?d=c?()=>c(e,2):e:d=()=>{if(_){tt();try{_()}finally{nt()}}const g=at;at=a;try{return c?c(e,3,[y]):e(y)}finally{at=g}}:d=Fe,t&&r){const g=d,T=r===!0?1/0:r;d=()=>ze(g(),T)}const q=Vi(),k=()=>{a.stop(),q&&q.active&&_r(q.effects,a)};if(i&&t){const g=t;t=(...T)=>{g(...T),k()}}let R=E?new Array(e.length).fill(Fn):Fn;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const T=a.run();if(r||w||(E?T.some((M,H)=>Ee(M,R[H])):Ee(T,R))){_&&_();const M=at;at=a;try{const H=[T,R===Fn?void 0:E&&R[0]===Fn?[]:R,y];R=T,c?c(t,3,H):t(...H)}finally{at=M}}}else a.run()};return l&&l(p),a=new pn(d),a.scheduler=o?()=>o(p,!1):p,y=g=>ao(g,!1,a),_=a.onStop=()=>{const g=es.get(a);if(g){if(c)c(g,4);else for(const T of g)T();es.delete(a)}},t?s?p(!0):R=a.run():o?o(p.bind(null,!0),!0):a.run(),k.pause=a.pause.bind(a),k.resume=a.resume.bind(a),k.stop=k,k}function ze(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,pe(e))ze(e.value,t,n);else if($(e))for(let s=0;s{ze(s,t,n)});else if(hs(e)){for(const s in e)ze(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ze(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const fo=[];function qc(e){fo.push(e)}function Gc(){fo.pop()}function Yc(e,t){}const Jc={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"},Qc={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 Yt(e,t,n,s){try{return s?e(...s):e()}catch(r){Pt(r,t,n)}}function He(e,t,n,s){if(W(e)){const r=Yt(e,t,n,s);return r&&yr(r)&&r.catch(i=>{Pt(i,t,n)}),r}if($(e)){const r=[];for(let i=0;i>>1,r=we[s],i=_n(r);i=_n(n)?we.push(e):we.splice(Zc(t),0,e),e.flags|=1,ho()}}function ho(){es||(es=uo.then(po))}function mn(e){$(e)?Bt.push(...e):ft&&e.id===-1?ft.splice(It+1,0,e):e.flags&1||(Bt.push(e),e.flags|=1),ho()}function ti(e,t,n=Ge+1){for(;n_n(n)-_n(s));if(Bt.length=0,ft){ft.push(...t);return}for(ft=t,It=0;Ite.id==null?e.flags&2?-1:1/0:e.id;function po(e){try{for(Ge=0;GeLt.emit(r,...i)),Fn=[]):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(i=>{go(i,t)}),setTimeout(()=>{Lt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Fn=[])},3e3)):Fn=[]}let he=null,ws=null;function yn(e){const t=he;return he=e,ws=e&&e.type.__scopeId||null,t}function zc(e){ws=e}function ea(){ws=null}const ta=e=>Or;function Or(e,t=he,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ir(-1);const i=yn(t);let o;try{o=e(...r)}finally{yn(i),s._d&&ir(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ar(e,t){if(he===null)return e;const n=An(he),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,ln=e=>e&&(e.disabled||e.disabled===""),ni=e=>e&&(e.defer||e.defer===""),si=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ri=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Zs=(e,t)=>{const n=e&&e.to;return le(n)?t?t(n):null:n},yo={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:a,pc:d,pbc:_,o:{insert:y,querySelector:w,createText:E,createComment:q}}=u,k=ln(t.props);let{shapeFlag:R,children:p,dynamicChildren:g}=t;if(e==null){const T=t.el=E(""),M=t.anchor=E("");y(T,n,s),y(M,n,s);const H=(m,b)=>{R&16&&(r&&r.isCE&&(r.ce._teleportTarget=m),a(p,m,b,r,i,o,l,c))},C=()=>{const m=t.target=Zs(t.props,w),b=bo(m,t,E,y);m&&(o!=="svg"&&si(m)?o="svg":o!=="mathml"&&ri(m)&&(o="mathml"),k||(H(m,b),Kn(t,!1)))};k&&(H(n,M),Kn(t,!0)),ni(t.props)?(t.el.__isMounted=!1,ue(()=>{C(),delete t.el.__isMounted},i)):C()}else{if(ni(t.props)&&e.el.__isMounted===!1){ue(()=>{yo.process(e,t,n,s,r,i,o,l,c,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,M=t.target=e.target,H=t.targetAnchor=e.targetAnchor,C=ln(e.props),m=C?n:M,b=C?T:H;if(o==="svg"||si(M)?o="svg":(o==="mathml"||ri(M))&&(o="mathml"),g?(_(e.dynamicChildren,g,m,r,i,o,l),Vr(e,t,!0)):c||d(e,t,m,b,r,i,o,l,!1),k)C?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Dn(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const L=t.target=Zs(t.props,w);L&&Dn(t,L,null,u,0)}else C&&Dn(t,M,H,u,1);Kn(t,k)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:d,props:_}=e;if(d&&(r(u),r(a)),i&&r(c),o&16){const y=i||!ln(_);for(let w=0;w{e.isMounted=!0}),As(()=>{e.isUnmounting=!0}),e}const Ie=[Function,Array],Mr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ie,onEnter:Ie,onAfterEnter:Ie,onEnterCancelled:Ie,onBeforeLeave:Ie,onLeave:Ie,onAfterLeave:Ie,onLeaveCancelled:Ie,onBeforeAppear:Ie,onAppear:Ie,onAfterAppear:Ie,onAppearCancelled:Ie},vo=e=>{const t=e.subTree;return t.component?vo(t.component):t},ra={name:"BaseTransition",props:Mr,setup(e,{slots:t}){const n=$e(),s=Pr();return()=>{const r=t.default&&xs(t.default(),!0);if(!r||!r.length)return;const i=To(r),o=Z(e),{mode:l}=o;if(s.isLeaving)return Bs(i);const c=ii(i);if(!c)return Bs(i);let u=Ut(c,o,s,n,d=>u=d);c.type!==ae&&rt(c,u);let a=n.subTree&&ii(n.subTree);if(a&&a.type!==ae&&!Be(c,a)&&vo(n).type!==ae){let d=Ut(a,o,s,n);if(rt(a,d),l==="out-in"&&c.type!==ae)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,a=void 0},Bs(i);l==="in-out"&&c.type!==ae?d.delayLeave=(_,y,w)=>{const E=Eo(s,a);E[String(a.key)]=a,_[ut]=()=>{y(),_[ut]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{w(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function To(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ae){t=n;break}}return t}const Co=ra;function Eo(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 Ut(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:_,onLeave:y,onAfterLeave:w,onLeaveCancelled:E,onBeforeAppear:q,onAppear:k,onAfterAppear:R,onAppearCancelled:p}=t,g=String(e.key),T=Eo(n,e),M=(m,b)=>{m&&He(m,s,9,b)},H=(m,b)=>{const L=b[1];M(m,b),$(m)?m.every(x=>x.length<=1)&&L():m.length<=1&&L()},C={mode:o,persisted:l,beforeEnter(m){let b=c;if(!n.isMounted)if(i)b=q||c;else return;m[ut]&&m[ut](!0);const L=T[g];L&&Be(e,L)&&L.el[ut]&&L.el[ut](),M(b,[m])},enter(m){let b=u,L=a,x=d;if(!n.isMounted)if(i)b=k||u,L=R||a,x=p||d;else return;let B=!1;const J=m[Hn]=re=>{B||(B=!0,re?M(x,[m]):M(L,[m]),C.delayedLeave&&C.delayedLeave(),m[Hn]=void 0)};b?H(b,[m,J]):J()},leave(m,b){const L=String(e.key);if(m[Hn]&&m[Hn](!0),n.isUnmounting)return b();M(_,[m]);let x=!1;const B=m[ut]=J=>{x||(x=!0,b(),J?M(E,[m]):M(w,[m]),m[ut]=void 0,T[L]===e&&delete T[L])};T[L]=e,y?H(y,[m,B]):B()},clone(m){const b=Ut(m,t,n,s,r);return r&&r(b),b}};return C}function Bs(e){if(Sn(e))return e=Je(e),e.children=null,e}function ii(e){if(!Sn(e))return _o(e.type)&&e.children?To(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&&W(n.default))return n.default()}}function rt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,rt(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 xs(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;in.value,set:i=>n.value=i})}return n}function Vt(e,t,n,s,r=!1){if($(e)){e.forEach((w,E)=>Vt(w,t&&($(t)?t[E]:t),n,s,r));return}if(pt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Vt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?An(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===Q?l.refs={}:l.refs,d=l.setupState,_=Z(d),y=d===Q?()=>!1:w=>z(_,w);if(u!=null&&u!==c&&(le(u)?(a[u]=null,y(u)&&(d[u]=null)):pe(u)&&(u.value=null)),W(c))Yt(c,l,12,[o,a]);else{const w=le(c),E=pe(c);if(w||E){const q=()=>{if(e.f){const k=w?y(c)?d[c]:a[c]:c.value;r?$(k)&&_r(k,i):$(k)?k.includes(i)||k.push(i):w?(a[c]=[i],y(c)&&(d[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else w?(a[c]=o,y(c)&&(d[c]=o)):E&&(c.value=o,e.k&&(a[e.k]=o))};o?(q.id=-1,ue(q,n)):q()}}}let oi=!1;const Nt=()=>{oi||(console.error("Hydration completed but contains mismatches."),oi=!0)},la=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ca=e=>e.namespaceURI.includes("MathML"),$n=e=>{if(e.nodeType===1){if(la(e))return"svg";if(ca(e))return"mathml"}},Ft=e=>e.nodeType===8;function aa(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),ts(),g._vnode=p;return}d(g.firstChild,p,null,null,null),ts(),g._vnode=p},d=(p,g,T,M,H,C=!1)=>{C=C||!!g.dynamicChildren;const m=Ft(p)&&p.data==="[",b=()=>E(p,g,T,M,H,m),{type:L,ref:x,shapeFlag:B,patchFlag:J}=g;let re=p.nodeType;g.el=p,J===-2&&(C=!1,g.dynamicChildren=null);let V=null;switch(L){case gt:re!==3?g.children===""?(c(g.el=r(""),o(p),p),V=p):V=b():(p.data!==g.children&&(Nt(),p.data=g.children),V=i(p));break;case ae:R(p)?(V=i(p),k(g.el=p.content.firstChild,p,T)):re!==8||m?V=b():V=i(p);break;case wt:if(m&&(p=i(p),re=p.nodeType),re===1||re===3){V=p;const Y=!g.children.length;for(let U=0;U{C=C||!!g.dynamicChildren;const{type:m,props:b,patchFlag:L,shapeFlag:x,dirs:B,transition:J}=g,re=m==="input"||m==="option";if(re||L!==-1){B&&Ye(g,null,T,"created");let V=!1;if(R(p)){V=Yo(null,J)&&T&&T.vnode.props&&T.vnode.props.appear;const U=p.content.firstChild;if(V){const fe=U.getAttribute("class");fe&&(U.$cls=fe),J.beforeEnter(U)}k(U,p,T),g.el=p=U}if(x&16&&!(b&&(b.innerHTML||b.textContent))){let U=y(p.firstChild,g,p,T,M,H,C);for(;U;){kn(p,1)||Nt();const fe=U;U=U.nextSibling,l(fe)}}else if(x&8){let U=g.children;U[0]===` -`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(U=U.slice(1)),p.textContent!==U&&(kn(p,0)||Nt(),p.textContent=g.children)}if(b){if(re||!C||L&48){const U=p.tagName.includes("-");for(const fe in b)(re&&(fe.endsWith("value")||fe==="indeterminate")||Cn(fe)&&!$t(fe)||fe[0]==="."||U)&&s(p,fe,null,b[fe],void 0,T)}else if(b.onClick)s(p,"onClick",null,b.onClick,void 0,T);else if(L&4&&ht(b.style))for(const U in b.style)b.style[U]}let Y;(Y=b&&b.onVnodeBeforeMount)&&Se(Y,T,g),B&&Ye(g,null,T,"beforeMount"),((Y=b&&b.onVnodeMounted)||B||V)&&sl(()=>{Y&&Se(Y,T,g),V&&J.enter(p),B&&Ye(g,null,T,"mounted")},M)}return p.nextSibling},y=(p,g,T,M,H,C,m)=>{m=m||!!g.dynamicChildren;const b=g.children,L=b.length;for(let x=0;x{const{slotScopeIds:m}=g;m&&(H=H?H.concat(m):m);const b=o(p),L=y(i(p),g,b,T,M,H,C);return L&&Ft(L)&&L.data==="]"?i(g.anchor=L):(Nt(),c(g.anchor=u("]"),b,L),L)},E=(p,g,T,M,H,C)=>{if(kn(p.parentElement,1)||Nt(),g.el=null,C){const L=q(p);for(;;){const x=i(p);if(x&&x!==L)l(x);else break}}const m=i(p),b=o(p);return l(p),n(null,g,b,m,T,M,$n(b),H),T&&(T.vnode.el=g.el,Rs(T,g.el)),m},q=(p,g="[",T="]")=>{let M=0;for(;p;)if(p=i(p),p&&Ft(p)&&(p.data===g&&M++,p.data===T)){if(M===0)return i(p);M--}return p},k=(p,g,T)=>{const M=g.parentNode;M&&M.replaceChild(p,g);let H=T;for(;H;)H.vnode.el===g&&(H.vnode.el=H.subTree.el=p),H=H.parent},R=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const li="data-allow-mismatch",fa={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function kn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(li);)e=e.parentElement;const n=e&&e.getAttribute(li);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(fa[t])}}const ua=gs().requestIdleCallback||(e=>setTimeout(e,1)),da=gs().cancelIdleCallback||(e=>clearTimeout(e)),ha=(e=1e4)=>t=>{const n=ua(t,{timeout:e});return()=>da(n)};function pa(e){const{top:t,left:n,bottom:s,right:r}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:o}=window;return(t>0&&t0&&s0&&n0&&r(t,n)=>{const s=new IntersectionObserver(r=>{for(const i of r)if(i.isIntersecting){s.disconnect(),t();break}},e);return n(r=>{if(r instanceof Element){if(pa(r))return t(),s.disconnect(),!1;s.observe(r)}}),()=>s.disconnect()},ma=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},_a=(e=[])=>(t,n)=>{le(e)&&(e=[e]);let s=!1;const r=o=>{s||(s=!0,i(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},i=()=>{n(o=>{for(const l of e)o.removeEventListener(l,r)})};return n(o=>{for(const l of e)o.addEventListener(l,r,{once:!0})}),i};function ya(e,t){if(Ft(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Ft(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const pt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ba(e){W(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,d=0;const _=()=>(d++,u=null,y()),y=()=>{let w;return u||(w=u=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((q,k)=>{c(E,()=>q(_()),()=>k(E),d+1)});throw E}).then(E=>w!==u&&u?u:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return Rr({name:"AsyncComponentWrapper",__asyncLoader:y,__asyncHydrate(w,E,q){const k=i?()=>{const p=i(()=>{q()},g=>ya(w,g));p&&(E.bum||(E.bum=[])).push(p),(E.u||(E.u=[])).push(()=>!0)}:q;a?k():y().then(()=>!E.isUnmounted&&k())},get __asyncResolved(){return a},setup(){const w=de;if(Nr(w),a)return()=>Vs(a,w);const E=p=>{u=null,Pt(p,w,13,!s)};if(l&&w.suspense||Kt)return y().then(p=>()=>Vs(p,w)).catch(p=>(E(p),()=>s?ee(s,{error:p}):null));const q=Ve(!1),k=Ve(),R=Ve(!!r);return r&&setTimeout(()=>{R.value=!1},r),o!=null&&setTimeout(()=>{if(!q.value&&!k.value){const p=new Error(`Async component timed out after ${o}ms.`);E(p),k.value=p}},o),y().then(()=>{q.value=!0,w.parent&&Sn(w.parent.vnode)&&w.parent.update()}).catch(p=>{E(p),k.value=p}),()=>{if(q.value&&a)return Vs(a,w);if(k.value&&s)return ee(s,{error:k.value});if(n&&!R.value)return ee(n)}}})}function Vs(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ee(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const Sn=e=>e.type.__isKeepAlive,va={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=$e(),s=n.ctx;if(!s.renderer)return()=>{const R=t.default&&t.default();return R&&R.length===1?R[0]:R};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:u,um:a,o:{createElement:d}}}=s,_=d("div");s.activate=(R,p,g,T,M)=>{const H=R.component;u(R,p,g,0,l),c(H.vnode,R,p,g,H,l,T,R.slotScopeIds,M),ue(()=>{H.isDeactivated=!1,H.a&&kt(H.a);const C=R.props&&R.props.onVnodeMounted;C&&Se(C,H.parent,R)},l)},s.deactivate=R=>{const p=R.component;ss(p.m),ss(p.a),u(R,_,null,1,l),ue(()=>{p.da&&kt(p.da);const g=R.props&&R.props.onVnodeUnmounted;g&&Se(g,p.parent,R),p.isDeactivated=!0},l)};function y(R){js(R),a(R,n,l,!0)}function w(R){r.forEach((p,g)=>{const T=ur(p.type);T&&!R(T)&&E(g)})}function E(R){const p=r.get(R);p&&(!o||!Be(p,o))?y(p):o&&js(o),r.delete(R),i.delete(R)}Et(()=>[e.include,e.exclude],([R,p])=>{R&&w(g=>tn(R,g)),p&&w(g=>!tn(p,g))},{flush:"post",deep:!0});let q=null;const k=()=>{q!=null&&(rs(n.subTree.type)?ue(()=>{r.set(q,Bn(n.subTree))},n.subTree.suspense):r.set(q,Bn(n.subTree)))};return Jt(k),Os(k),As(()=>{r.forEach(R=>{const{subTree:p,suspense:g}=n,T=Bn(p);if(R.type===T.type&&R.key===T.key){js(T);const M=T.component.da;M&&ue(M,g);return}y(R)})}),()=>{if(q=null,!t.default)return o=null;const R=t.default(),p=R[0];if(R.length>1)return o=null,R;if(!it(p)||!(p.shapeFlag&4)&&!(p.shapeFlag&128))return o=null,p;let g=Bn(p);if(g.type===ae)return o=null,g;const T=g.type,M=ur(pt(g)?g.type.__asyncResolved||{}:T),{include:H,exclude:C,max:m}=e;if(H&&(!M||!tn(H,M))||C&&M&&tn(C,M))return g.shapeFlag&=-257,o=g,p;const b=g.key==null?T:g.key,L=r.get(b);return g.el&&(g=Je(g),p.shapeFlag&128&&(p.ssContent=g)),q=b,L?(g.el=L.el,g.component=L.component,g.transition&&rt(g,g.transition),g.shapeFlag|=512,i.delete(b),i.add(b)):(i.add(b),m&&i.size>parseInt(m,10)&&E(i.values().next().value)),g.shapeFlag|=256,o=g,rs(p.type)?p:g}}},Ta=va;function tn(e,t){return $(e)?e.some(n=>tn(n,t)):le(e)?e.split(",").includes(t):Gl(e)?(e.lastIndex=0,e.test(t)):!1}function wo(e,t){So(e,"a",t)}function xo(e,t){So(e,"da",t)}function So(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ss(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Sn(r.parent.vnode)&&Ca(s,t,n,r),r=r.parent}}function Ca(e,t,n,s){const r=Ss(t,e,s,!0);Ps(()=>{_r(s[t],r)},n)}function js(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Bn(e){return e.shapeFlag&128?e.ssContent:e}function Ss(e,t,n=de,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{tt();const l=St(n),c=He(t,n,e,o);return l(),nt(),c});return s?r.unshift(i):r.push(i),i}}const ot=e=>(t,n=de)=>{(!Kt||e==="sp")&&Ss(e,(...s)=>t(...s),n)},Oo=ot("bm"),Jt=ot("m"),Ir=ot("bu"),Os=ot("u"),As=ot("bum"),Ps=ot("um"),Ao=ot("sp"),Po=ot("rtg"),Mo=ot("rtc");function Ro(e,t=de){Ss("ec",e,t)}const Lr="components",Ea="directives";function wa(e,t){return Fr(Lr,e,!0,t)||e}const No=Symbol.for("v-ndc");function xa(e){return le(e)?Fr(Lr,e,!1)||e:e||No}function Sa(e){return Fr(Ea,e)}function Fr(e,t,n=!0,s=!1){const r=he||de;if(r){const i=r.type;if(e===Lr){const l=ur(i,!1);if(l&&(l===t||l===_e(t)||l===En(_e(t))))return i}const o=ci(r[e]||i[e],t)||ci(r.appContext[e],t);return!o&&s?i:o}}function ci(e,t){return e&&(e[t]||e[_e(t)]||e[En(_e(t))])}function Dr(e,t,n,s){let r;const i=n&&n[s],o=$(e);if(o||le(e)){const l=o&&ht(e);let c=!1,u=!1;l&&(c=!Ne(e),u=st(e),e=ys(e)),r=new Array(e.length);for(let a=0,d=e.length;at(l,c,void 0,i&&i[c]));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;c{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Aa(e,t,n={},s,r){if(he.ce||he.parent&&pt(he.parent)&&he.parent.ce)return t!=="default"&&(n.name=t),me(),is(ce,null,[ee("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),me();const o=i&&Hr(i(n)),l=n.key||o&&o.key,c=is(ce,{key:(l&&!Ue(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Hr(e){return e.some(t=>it(t)?!(t.type===ae||t.type===ce&&!Hr(t.children)):!0)?e:null}function Pa(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:sn(s)]=e[s];return n}const zs=e=>e?fl(e)?An(e):zs(e.parent):null,cn=se(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>zs(e.parent),$root:e=>zs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$r(e),$forceUpdate:e=>e.f||(e.f=()=>{Sr(e.update)}),$nextTick:e=>e.n||(e.n=xn.bind(e.proxy)),$watch:e=>cf.bind(e)}),Us=(e,t)=>e!==Q&&!e.__isScriptSetup&&z(e,t),er={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const y=o[t];if(y!==void 0)switch(y){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Us(s,t))return o[t]=1,s[t];if(r!==Q&&z(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&z(u,t))return o[t]=3,i[t];if(n!==Q&&z(n,t))return o[t]=4,n[t];tr&&(o[t]=0)}}const a=cn[t];let d,_;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Q&&z(n,t))return o[t]=4,n[t];if(_=c.config.globalProperties,z(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Us(r,t)?(r[t]=n,!0):s!==Q&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Q&&z(e,o)||Us(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(cn,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ma=se({},er,{get(e,t){if(t!==Symbol.unscopables)return er.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Zl(t)}});function Ra(){return null}function Na(){return null}function Ia(e){}function La(e){}function Fa(){return null}function Da(){}function Ha(e,t){return null}function $a(){return Io().slots}function ka(){return Io().attrs}function Io(){const e=$e();return e.setupContext||(e.setupContext=hl(e))}function bn(e){return $(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Ba(e,t){const n=bn(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?$(r)||W(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function Va(e,t){return!e||!t?e||t:$(e)&&$(t)?e.concat(t):se({},bn(e),bn(t))}function ja(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function Ua(e){const t=$e();let n=e();return cr(),yr(n)&&(n=n.catch(s=>{throw St(t),s})),[n,()=>St(t)]}let tr=!0;function Ka(e){const t=$r(e),n=e.proxy,s=e.ctx;tr=!1,t.beforeCreate&&ai(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:d,mounted:_,beforeUpdate:y,updated:w,activated:E,deactivated:q,beforeDestroy:k,beforeUnmount:R,destroyed:p,unmounted:g,render:T,renderTracked:M,renderTriggered:H,errorCaptured:C,serverPrefetch:m,expose:b,inheritAttrs:L,components:x,directives:B,filters:J}=t;if(u&&Wa(u,s,null),o)for(const Y in o){const U=o[Y];W(U)&&(s[Y]=U.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=vs(Y))}if(tr=!0,i)for(const Y in i){const U=i[Y],fe=W(U)?U.bind(n,n):W(U.get)?U.get.bind(n,n):Le,Mn=!W(U)&&W(U.set)?U.set.bind(n):Le,yt=pl({get:fe,set:Mn});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>yt.value,set:Ke=>yt.value=Ke})}if(l)for(const Y in l)Lo(l[Y],s,n,Y);if(c){const Y=W(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(U=>{Do(U,Y[U])})}a&&ai(a,e,"c");function V(Y,U){$(U)?U.forEach(fe=>Y(fe.bind(n))):U&&Y(U.bind(n))}if(V(Oo,d),V(Jt,_),V(Ir,y),V(Os,w),V(wo,E),V(xo,q),V(Ro,C),V(Mo,M),V(Po,H),V(As,R),V(Ps,g),V(Ao,m),$(b))if(b.length){const Y=e.exposed||(e.exposed={});b.forEach(U=>{Object.defineProperty(Y,U,{get:()=>n[U],set:fe=>n[U]=fe})})}else e.exposed||(e.exposed={});T&&e.render===Le&&(e.render=T),L!=null&&(e.inheritAttrs=L),x&&(e.components=x),B&&(e.directives=B),m&&Nr(e)}function Wa(e,t,n=Le){$(e)&&(e=nr(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=an(r.from||s,r.default,!0):i=an(r.from||s):i=an(r),pe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function ai(e,t,n){He($(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lo(e,t,n,s){let r=s.includes(".")?zo(n,s):()=>n[s];if(le(e)){const i=t[e];W(i)&&Et(r,i)}else if(W(e))Et(r,e.bind(n));else if(ne(e))if($(e))e.forEach(i=>Lo(i,t,n,s));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&Et(r,i,e)}}function $r(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>ns(c,u,o,!0)),ns(c,t,o)),ne(t)&&i.set(t,c),c}function ns(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&ns(e,i,n,!0),r&&r.forEach(o=>ns(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=qa[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const qa={data:fi,props:ui,emits:ui,methods:nn,computed:nn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:nn,directives:nn,watch:Ya,provide:fi,inject:Ga};function fi(e,t){return t?e?function(){return se(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Ga(e,t){return nn(nr(e),nr(t))}function nr(e){if($(e)){const t={};for(let n=0;n1)return n&&W(t)?t.call(s&&s.proxy):t}}function Xa(){return!!(de||he||Ct)}const Ho={},$o=()=>Object.create(Ho),ko=e=>Object.getPrototypeOf(e)===Ho;function Za(e,t,n,s=!1){const r={},i=$o();e.propsDefaults=Object.create(null),Bo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:so(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function za(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[_,y]=Vo(d,t,!0);se(o,_),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&s.set(e,Dt),Dt;if($(i))for(let a=0;ae[0]==="_"||e==="$stable",Br=e=>$(e)?e.map(Oe):[Oe(e)],tf=(e,t,n)=>{if(t._n)return t;const s=Or((...r)=>Br(t(...r)),n);return s._c=!1,s},jo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(kr(r))continue;const i=e[r];if(W(i))t[r]=tf(r,i,s);else if(i!=null){const o=Br(i);t[r]=()=>o}}},Uo=(e,t)=>{const n=Br(t);e.slots.default=()=>n},Ko=(e,t,n)=>{for(const s in t)(n||!kr(s))&&(e[s]=t[s])},nf=(e,t,n)=>{const s=e.slots=$o();if(e.vnode.shapeFlag&32){const r=t.__;r&&Ys(s,"__",r,!0);const i=t._;i?(Ko(s,t,n),n&&Ys(s,"_",i,!0)):jo(t,s)}else t&&Uo(e,t)},sf=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Ko(r,t,n):(i=!t.$stable,jo(t,r)),o=t}else t&&(Uo(e,t),o={default:1});if(i)for(const l in r)!kr(l)&&o[l]==null&&delete r[l]},ue=sl;function Wo(e){return Go(e)}function qo(e){return Go(e,aa)}function Go(e,t){const n=gs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:d,nextSibling:_,setScopeId:y=Le,insertStaticContent:w}=e,E=(f,h,v,A=null,S=null,O=null,F=void 0,I=null,N=!!h.dynamicChildren)=>{if(f===h)return;f&&!Be(f,h)&&(A=Rn(f),Ke(f,S,O,!0),f=null),h.patchFlag===-2&&(N=!1,h.dynamicChildren=null);const{type:P,ref:K,shapeFlag:D}=h;switch(P){case gt:q(f,h,v,A);break;case ae:k(f,h,v,A);break;case wt:f==null&&R(h,v,A,F);break;case ce:x(f,h,v,A,S,O,F,I,N);break;default:D&1?T(f,h,v,A,S,O,F,I,N):D&6?B(f,h,v,A,S,O,F,I,N):(D&64||D&128)&&P.process(f,h,v,A,S,O,F,I,N,Mt)}K!=null&&S?Vt(K,f&&f.ref,O,h||f,!h):K==null&&f&&f.ref!=null&&Vt(f.ref,null,O,f,!0)},q=(f,h,v,A)=>{if(f==null)s(h.el=l(h.children),v,A);else{const S=h.el=f.el;h.children!==f.children&&u(S,h.children)}},k=(f,h,v,A)=>{f==null?s(h.el=c(h.children||""),v,A):h.el=f.el},R=(f,h,v,A)=>{[f.el,f.anchor]=w(f.children,h,v,A,f.el,f.anchor)},p=({el:f,anchor:h},v,A)=>{let S;for(;f&&f!==h;)S=_(f),s(f,v,A),f=S;s(h,v,A)},g=({el:f,anchor:h})=>{let v;for(;f&&f!==h;)v=_(f),r(f),f=v;r(h)},T=(f,h,v,A,S,O,F,I,N)=>{h.type==="svg"?F="svg":h.type==="math"&&(F="mathml"),f==null?M(h,v,A,S,O,F,I,N):m(f,h,S,O,F,I,N)},M=(f,h,v,A,S,O,F,I)=>{let N,P;const{props:K,shapeFlag:D,transition:j,dirs:G}=f;if(N=f.el=o(f.type,O,K&&K.is,K),D&8?a(N,f.children):D&16&&C(f.children,N,null,A,S,Ks(f,O),F,I),G&&Ye(f,null,A,"created"),H(N,f,f.scopeId,F,A),K){for(const ie in K)ie!=="value"&&!$t(ie)&&i(N,ie,null,K[ie],O,A);"value"in K&&i(N,"value",null,K.value,O),(P=K.onVnodeBeforeMount)&&Se(P,A,f)}G&&Ye(f,null,A,"beforeMount");const X=Yo(S,j);X&&j.beforeEnter(N),s(N,h,v),((P=K&&K.onVnodeMounted)||X||G)&&ue(()=>{P&&Se(P,A,f),X&&j.enter(N),G&&Ye(f,null,A,"mounted")},S)},H=(f,h,v,A,S)=>{if(v&&y(f,v),A)for(let O=0;O{for(let P=N;P{const I=h.el=f.el;let{patchFlag:N,dynamicChildren:P,dirs:K}=h;N|=f.patchFlag&16;const D=f.props||Q,j=h.props||Q;let G;if(v&&bt(v,!1),(G=j.onVnodeBeforeUpdate)&&Se(G,v,h,f),K&&Ye(h,f,v,"beforeUpdate"),v&&bt(v,!0),(D.innerHTML&&j.innerHTML==null||D.textContent&&j.textContent==null)&&a(I,""),P?b(f.dynamicChildren,P,I,v,A,Ks(h,S),O):F||U(f,h,I,null,v,A,Ks(h,S),O,!1),N>0){if(N&16)L(I,D,j,v,S);else if(N&2&&D.class!==j.class&&i(I,"class",null,j.class,S),N&4&&i(I,"style",D.style,j.style,S),N&8){const X=h.dynamicProps;for(let ie=0;ie{G&&Se(G,v,h,f),K&&Ye(h,f,v,"updated")},A)},b=(f,h,v,A,S,O,F)=>{for(let I=0;I{if(h!==v){if(h!==Q)for(const O in h)!$t(O)&&!(O in v)&&i(f,O,h[O],null,S,A);for(const O in v){if($t(O))continue;const F=v[O],I=h[O];F!==I&&O!=="value"&&i(f,O,I,F,S,A)}"value"in v&&i(f,"value",h.value,v.value,S)}},x=(f,h,v,A,S,O,F,I,N)=>{const P=h.el=f?f.el:l(""),K=h.anchor=f?f.anchor:l("");let{patchFlag:D,dynamicChildren:j,slotScopeIds:G}=h;G&&(I=I?I.concat(G):G),f==null?(s(P,v,A),s(K,v,A),C(h.children||[],v,K,S,O,F,I,N)):D>0&&D&64&&j&&f.dynamicChildren?(b(f.dynamicChildren,j,v,S,O,F,I),(h.key!=null||S&&h===S.subTree)&&Vr(f,h,!0)):U(f,h,v,K,S,O,F,I,N)},B=(f,h,v,A,S,O,F,I,N)=>{h.slotScopeIds=I,f==null?h.shapeFlag&512?S.ctx.activate(h,v,A,F,N):J(h,v,A,S,O,F,N):re(f,h,N)},J=(f,h,v,A,S,O,F)=>{const I=f.component=al(f,A,S);if(Sn(f)&&(I.ctx.renderer=Mt),ul(I,!1,F),I.asyncDep){if(S&&S.registerDep(I,V,F),!f.el){const N=I.subTree=ee(ae);k(null,N,h,v)}}else V(I,f,h,v,S,O,F)},re=(f,h,v)=>{const A=h.component=f.component;if(pf(f,h,v))if(A.asyncDep&&!A.asyncResolved){Y(A,h,v);return}else A.next=h,A.update();else h.el=f.el,A.vnode=h},V=(f,h,v,A,S,O,F)=>{const I=()=>{if(f.isMounted){let{next:D,bu:j,u:G,parent:X,vnode:ie}=f;{const Pe=Jo(f);if(Pe){D&&(D.el=ie.el,Y(f,D,F)),Pe.asyncDep.then(()=>{f.isUnmounted||I()});return}}let te=D,xe;bt(f,!1),D?(D.el=ie.el,Y(f,D,F)):D=ie,j&&kt(j),(xe=D.props&&D.props.onVnodeBeforeUpdate)&&Se(xe,X,D,ie),bt(f,!0);const ye=Wn(f),ke=f.subTree;f.subTree=ye,E(ke,ye,d(ke.el),Rn(ke),f,S,O),D.el=ye.el,te===null&&Rs(f,ye.el),G&&ue(G,S),(xe=D.props&&D.props.onVnodeUpdated)&&ue(()=>Se(xe,X,D,ie),S)}else{let D;const{el:j,props:G}=h,{bm:X,m:ie,parent:te,root:xe,type:ye}=f,ke=pt(h);if(bt(f,!1),X&&kt(X),!ke&&(D=G&&G.onVnodeBeforeMount)&&Se(D,te,h),bt(f,!0),j&&Fs){const Pe=()=>{f.subTree=Wn(f),Fs(j,f.subTree,f,S,null)};ke&&ye.__asyncHydrate?ye.__asyncHydrate(j,f,Pe):Pe()}else{xe.ce&&xe.ce._def.shadowRoot!==!1&&xe.ce._injectChildStyle(ye);const Pe=f.subTree=Wn(f);E(null,Pe,v,A,f,S,O),h.el=Pe.el}if(ie&&ue(ie,S),!ke&&(D=G&&G.onVnodeMounted)){const Pe=h;ue(()=>Se(D,te,Pe),S)}(h.shapeFlag&256||te&&pt(te.vnode)&&te.vnode.shapeFlag&256)&&f.a&&ue(f.a,S),f.isMounted=!0,h=v=A=null}};f.scope.on();const N=f.effect=new hn(I);f.scope.off();const P=f.update=N.run.bind(N),K=f.job=N.runIfDirty.bind(N);K.i=f,K.id=f.uid,N.scheduler=()=>Sr(K),bt(f,!0),P()},Y=(f,h,v)=>{h.component=f;const A=f.vnode.props;f.vnode=h,f.next=null,za(f,h.props,A,v),sf(f,h.children,v),tt(),ti(f),nt()},U=(f,h,v,A,S,O,F,I,N=!1)=>{const P=f&&f.children,K=f?f.shapeFlag:0,D=h.children,{patchFlag:j,shapeFlag:G}=h;if(j>0){if(j&128){Mn(P,D,v,A,S,O,F,I,N);return}else if(j&256){fe(P,D,v,A,S,O,F,I,N);return}}G&8?(K&16&&Qt(P,S,O),D!==P&&a(v,D)):K&16?G&16?Mn(P,D,v,A,S,O,F,I,N):Qt(P,S,O,!0):(K&8&&a(v,""),G&16&&C(D,v,A,S,O,F,I,N))},fe=(f,h,v,A,S,O,F,I,N)=>{f=f||Dt,h=h||Dt;const P=f.length,K=h.length,D=Math.min(P,K);let j;for(j=0;jK?Qt(f,S,O,!0,!1,D):C(h,v,A,S,O,F,I,N,D)},Mn=(f,h,v,A,S,O,F,I,N)=>{let P=0;const K=h.length;let D=f.length-1,j=K-1;for(;P<=D&&P<=j;){const G=f[P],X=h[P]=N?dt(h[P]):Oe(h[P]);if(Be(G,X))E(G,X,v,null,S,O,F,I,N);else break;P++}for(;P<=D&&P<=j;){const G=f[D],X=h[j]=N?dt(h[j]):Oe(h[j]);if(Be(G,X))E(G,X,v,null,S,O,F,I,N);else break;D--,j--}if(P>D){if(P<=j){const G=j+1,X=Gj)for(;P<=D;)Ke(f[P],S,O,!0),P++;else{const G=P,X=P,ie=new Map;for(P=X;P<=j;P++){const Me=h[P]=N?dt(h[P]):Oe(h[P]);Me.key!=null&&ie.set(Me.key,P)}let te,xe=0;const ye=j-X+1;let ke=!1,Pe=0;const Xt=new Array(ye);for(P=0;P=ye){Ke(Me,S,O,!0);continue}let We;if(Me.key!=null)We=ie.get(Me.key);else for(te=X;te<=j;te++)if(Xt[te-X]===0&&Be(Me,h[te])){We=te;break}We===void 0?Ke(Me,S,O,!0):(Xt[We-X]=P+1,We>=Pe?Pe=We:ke=!0,E(Me,h[We],v,null,S,O,F,I,N),xe++)}const Jr=ke?rf(Xt):Dt;for(te=Jr.length-1,P=ye-1;P>=0;P--){const Me=X+P,We=h[Me],Qr=Me+1{const{el:O,type:F,transition:I,children:N,shapeFlag:P}=f;if(P&6){yt(f.component.subTree,h,v,A);return}if(P&128){f.suspense.move(h,v,A);return}if(P&64){F.move(f,h,v,Mt);return}if(F===ce){s(O,h,v);for(let D=0;DI.enter(O),S);else{const{leave:D,delayLeave:j,afterLeave:G}=I,X=()=>{f.ctx.isUnmounted?r(O):s(O,h,v)},ie=()=>{D(O,()=>{X(),G&&G()})};j?j(O,X,ie):ie()}else s(O,h,v)},Ke=(f,h,v,A=!1,S=!1)=>{const{type:O,props:F,ref:I,children:N,dynamicChildren:P,shapeFlag:K,patchFlag:D,dirs:j,cacheIndex:G}=f;if(D===-2&&(S=!1),I!=null&&(tt(),Vt(I,null,v,f,!0),nt()),G!=null&&(h.renderCache[G]=void 0),K&256){h.ctx.deactivate(f);return}const X=K&1&&j,ie=!pt(f);let te;if(ie&&(te=F&&F.onVnodeBeforeUnmount)&&Se(te,h,f),K&6)Kl(f.component,v,A);else{if(K&128){f.suspense.unmount(v,A);return}X&&Ye(f,null,h,"beforeUnmount"),K&64?f.type.remove(f,h,v,Mt,A):P&&!P.hasOnce&&(O!==ce||D>0&&D&64)?Qt(P,h,v,!1,!0):(O===ce&&D&384||!S&&K&16)&&Qt(N,h,v),A&&Gr(f)}(ie&&(te=F&&F.onVnodeUnmounted)||X)&&ue(()=>{te&&Se(te,h,f),X&&Ye(f,null,h,"unmounted")},v)},Gr=f=>{const{type:h,el:v,anchor:A,transition:S}=f;if(h===ce){Ul(v,A);return}if(h===wt){g(f);return}const O=()=>{r(v),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(f.shapeFlag&1&&S&&!S.persisted){const{leave:F,delayLeave:I}=S,N=()=>F(v,O);I?I(f.el,O,N):N()}else O()},Ul=(f,h)=>{let v;for(;f!==h;)v=_(f),r(f),f=v;r(h)},Kl=(f,h,v)=>{const{bum:A,scope:S,job:O,subTree:F,um:I,m:N,a:P,parent:K,slots:{__:D}}=f;ss(N),ss(P),A&&kt(A),K&&$(D)&&D.forEach(j=>{K.renderCache[j]=void 0}),S.stop(),O&&(O.flags|=8,Ke(F,f,h,v)),I&&ue(I,h),ue(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Qt=(f,h,v,A=!1,S=!1,O=0)=>{for(let F=O;F{if(f.shapeFlag&6)return Rn(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=_(f.anchor||f.el),v=h&&h[mo];return v?_(v):h};let Is=!1;const Yr=(f,h,v)=>{f==null?h._vnode&&Ke(h._vnode,null,null,!0):E(h._vnode||null,f,h,null,null,null,v),h._vnode=f,Is||(Is=!0,ti(),ts(),Is=!1)},Mt={p:E,um:Ke,m:yt,r:Gr,mt:J,mc:C,pc:U,pbc:b,n:Rn,o:e};let Ls,Fs;return t&&([Ls,Fs]=t(Mt)),{render:Yr,hydrate:Ls,createApp:Qa(Yr,Ls)}}function Ks({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 bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Yo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vr(e,t,n=!1){const s=e.children,r=t.children;if($(s)&&$(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Jo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jo(t)}function ss(e){if(e)for(let t=0;tan(Qo);function of(e,t){return On(e,null,t)}function lf(e,t){return On(e,null,{flush:"post"})}function Zo(e,t){return On(e,null,{flush:"sync"})}function Et(e,t,n){return On(e,t,n)}function On(e,t,n=Q){const{immediate:s,deep:r,flush:i,once:o}=n,l=se({},n),c=t&&s||!t&&i!=="post";let u;if(Kt){if(i==="sync"){const y=Xo();u=y.__watcherHandles||(y.__watcherHandles=[])}else if(!c){const y=()=>{};return y.stop=Le,y.resume=Le,y.pause=Le,y}}const a=de;l.call=(y,w,E)=>He(y,a,w,E);let d=!1;i==="post"?l.scheduler=y=>{ue(y,a&&a.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(y,w)=>{w?y():Sr(y)}),l.augmentJob=y=>{t&&(y.flags|=4),d&&(y.flags|=2,a&&(y.id=a.uid,y.i=a))};const _=Wc(e,t,l);return Kt&&(u?u.push(_):c&&_()),_}function cf(e,t,n){const s=this.proxy,r=le(e)?e.includes(".")?zo(s,e):()=>s[e]:e.bind(s,s);let i;W(t)?i=t:(i=t.handler,n=t);const o=St(this),l=On(r,i.bind(s),n);return o(),l}function zo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{let a,d=Q,_;return Zo(()=>{const y=e[r];Ee(a,y)&&(a=y,u())}),{get(){return c(),n.get?n.get(a):a},set(y){const w=n.set?n.set(y):y;if(!Ee(w,a)&&!(d!==Q&&Ee(y,d)))return;const E=s.vnode.props;E&&(t in E||r in E||i in E)&&(`onUpdate:${t}`in E||`onUpdate:${r}`in E||`onUpdate:${i}`in E)||(a=y,u()),s.emit(`update:${t}`,w),Ee(y,w)&&Ee(y,d)&&!Ee(w,_)&&u(),d=y,_=w}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||Q:l,done:!1}:{done:!0}}}},l}const el=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${_e(t)}Modifiers`]||e[`${Ae(t)}Modifiers`];function ff(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Q;let r=n;const i=t.startsWith("update:"),o=i&&el(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>le(a)?a.trim():a)),o.number&&(r=n.map(Jn)));let l,c=s[l=sn(t)]||s[l=sn(_e(t))];!c&&i&&(c=s[l=sn(Ae(t))]),c&&He(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(u,e,6,r)}}function tl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!W(e)){const c=u=>{const a=tl(u,t,!0);a&&(l=!0,se(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&s.set(e,null),null):($(i)?i.forEach(c=>o[c]=null):se(o,i),ne(e)&&s.set(e,o),o)}function Ms(e,t){return!e||!Cn(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ae(t))||z(e,t))}function Wn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:d,data:_,setupState:y,ctx:w,inheritAttrs:E}=e,q=yn(e);let k,R;try{if(n.shapeFlag&4){const g=r||s,T=g;k=Oe(u.call(T,g,a,d,y,_,w)),R=l}else{const g=t;k=Oe(g.length>1?g(d,{attrs:l,slots:o,emit:c}):g(d,null)),R=t.props?l:df(l)}}catch(g){fn.length=0,Pt(g,e,1),k=ee(ae)}let p=k;if(R&&E!==!1){const g=Object.keys(R),{shapeFlag:T}=p;g.length&&T&7&&(i&&g.some(mr)&&(R=hf(R,i)),p=Je(p,R,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&rt(p,n.transition),k=p,yn(q),k}function uf(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||Cn(n))&&((t||(t={}))[n]=e[n]);return t},hf=(e,t)=>{const n={};for(const s in e)(!mr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function pf(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?hi(s,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let d=0;de.__isSuspense;let rr=0;const gf={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,u){if(e==null)_f(t,n,s,r,i,o,l,c,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}yf(e,t,n,s,r,o,l,c,u)}},hydrate:bf,normalize:vf},mf=gf;function vn(e,t){const n=e.props&&e.props[t];W(n)&&n()}function _f(e,t,n,s,r,i,o,l,c){const{p:u,o:{createElement:a}}=c,d=a("div"),_=e.suspense=nl(e,r,s,t,d,n,i,o,l,c);u(null,_.pendingBranch=e.ssContent,d,null,s,_,i,o),_.deps>0?(vn(e,"onPending"),vn(e,"onFallback"),u(null,e.ssFallback,t,n,s,null,i,o),jt(_,e.ssFallback)):_.resolve(!1,!0)}function yf(e,t,n,s,r,i,o,l,{p:c,um:u,o:{createElement:a}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const _=t.ssContent,y=t.ssFallback,{activeBranch:w,pendingBranch:E,isInFallback:q,isHydrating:k}=d;if(E)d.pendingBranch=_,Be(_,E)?(c(E,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0?d.resolve():q&&(k||(c(w,y,n,s,r,null,i,o,l),jt(d,y)))):(d.pendingId=rr++,k?(d.isHydrating=!1,d.activeBranch=E):u(E,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=a("div"),q?(c(null,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0?d.resolve():(c(w,y,n,s,r,null,i,o,l),jt(d,y))):w&&Be(_,w)?(c(w,_,n,s,r,d,i,o,l),d.resolve(!0)):(c(null,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0&&d.resolve()));else if(w&&Be(_,w))c(w,_,n,s,r,d,i,o,l),jt(d,_);else if(vn(t,"onPending"),d.pendingBranch=_,_.shapeFlag&512?d.pendingId=_.component.suspenseId:d.pendingId=rr++,c(null,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0)d.resolve();else{const{timeout:R,pendingId:p}=d;R>0?setTimeout(()=>{d.pendingId===p&&d.fallback(y)},R):R===0&&d.fallback(y)}}function nl(e,t,n,s,r,i,o,l,c,u,a=!1){const{p:d,m:_,um:y,n:w,o:{parentNode:E,remove:q}}=u;let k;const R=Tf(e);R&&t&&t.pendingBranch&&(k=t.pendingId,t.deps++);const p=e.props?Qn(e.props.timeout):void 0,g=i,T={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:rr++,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!a,isHydrating:a,isUnmounted:!1,effects:[],resolve(M=!1,H=!1){const{vnode:C,activeBranch:m,pendingBranch:b,pendingId:L,effects:x,parentComponent:B,container:J}=T;let re=!1;T.isHydrating?T.isHydrating=!1:M||(re=m&&b.transition&&b.transition.mode==="out-in",re&&(m.transition.afterLeave=()=>{L===T.pendingId&&(_(b,J,i===g?w(m):i,0),mn(x))}),m&&(E(m.el)===J&&(i=w(m)),y(m,B,T,!0)),re||_(b,J,i,0)),jt(T,b),T.pendingBranch=null,T.isInFallback=!1;let V=T.parent,Y=!1;for(;V;){if(V.pendingBranch){V.effects.push(...x),Y=!0;break}V=V.parent}!Y&&!re&&mn(x),T.effects=[],R&&t&&t.pendingBranch&&k===t.pendingId&&(t.deps--,t.deps===0&&!H&&t.resolve()),vn(C,"onResolve")},fallback(M){if(!T.pendingBranch)return;const{vnode:H,activeBranch:C,parentComponent:m,container:b,namespace:L}=T;vn(H,"onFallback");const x=w(C),B=()=>{T.isInFallback&&(d(null,M,b,x,m,null,L,l,c),jt(T,M))},J=M.transition&&M.transition.mode==="out-in";J&&(C.transition.afterLeave=B),T.isInFallback=!0,y(C,m,null,!0),J||B()},move(M,H,C){T.activeBranch&&_(T.activeBranch,M,H,C),T.container=M},next(){return T.activeBranch&&w(T.activeBranch)},registerDep(M,H,C){const m=!!T.pendingBranch;m&&T.deps++;const b=M.vnode.el;M.asyncDep.catch(L=>{Pt(L,M,0)}).then(L=>{if(M.isUnmounted||T.isUnmounted||T.pendingId!==M.suspenseId)return;M.asyncResolved=!0;const{vnode:x}=M;ar(M,L,!1),b&&(x.el=b);const B=!b&&M.subTree.el;H(M,x,E(b||M.subTree.el),b?null:w(M.subTree),T,o,C),B&&q(B),Rs(M,x.el),m&&--T.deps===0&&T.resolve()})},unmount(M,H){T.isUnmounted=!0,T.activeBranch&&y(T.activeBranch,n,M,H),T.pendingBranch&&y(T.pendingBranch,n,M,H)}};return T}function bf(e,t,n,s,r,i,o,l,c){const u=t.suspense=nl(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),a=c(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),a}function vf(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=pi(s?n.default:n),e.ssFallback=s?pi(n.fallback):ee(ae)}function pi(e){let t;if(W(e)){const n=xt&&e._c;n&&(e._d=!1,me()),e=e(),n&&(e._d=!0,t=Te,rl())}return $(e)&&(e=uf(e)),e=Oe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function sl(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):mn(e)}function jt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Rs(s,r))}function Tf(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ce=Symbol.for("v-fgt"),gt=Symbol.for("v-txt"),ae=Symbol.for("v-cmt"),wt=Symbol.for("v-stc"),fn=[];let Te=null;function me(e=!1){fn.push(Te=e?null:[])}function rl(){fn.pop(),Te=fn[fn.length-1]||null}let xt=1;function ir(e,t=!1){xt+=e,e<0&&Te&&t&&(Te.hasOnce=!0)}function il(e){return e.dynamicChildren=xt>0?Te||Dt:null,rl(),xt>0&&Te&&Te.push(e),e}function Re(e,t,n,s,r,i){return il(Fe(e,t,n,s,r,i,!0))}function is(e,t,n,s,r){return il(ee(e,t,n,s,r,!0))}function it(e){return e?e.__v_isVNode===!0:!1}function Be(e,t){return e.type===t.type&&e.key===t.key}function Cf(e){}const ol=({key:e})=>e??null,qn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||pe(e)||W(e)?{i:he,r:e,k:t,f:!!n}:e:null);function Fe(e,t=null,n=null,s=0,r=null,i=e===ce?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ol(t),ref:t&&qn(t),scopeId:ws,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:he};return l?(Ur(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=le(n)?8:16),xt>0&&!o&&Te&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Te.push(c),c}const ee=Ef;function Ef(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===No)&&(e=ae),it(e)){const l=Je(e,t,!0);return n&&Ur(l,n),xt>0&&!i&&Te&&(l.shapeFlag&6?Te[Te.indexOf(e)]=l:Te.push(l)),l.patchFlag=-2,l}if(Rf(e)&&(e=e.__vccOpts),t){t=ll(t);let{class:l,style:c}=t;l&&!le(l)&&(t.class=At(l)),ne(c)&&(Cs(c)&&!$(c)&&(c=se({},c)),t.style=wn(c))}const o=le(e)?1:rs(e)?128:_o(e)?64:ne(e)?4:W(e)?2:0;return Fe(e,t,n,s,r,o,i,!0)}function ll(e){return e?Cs(e)||ko(e)?se({},e):e:null}function Je(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?cl(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ol(u),ref:t&&t.ref?n&&i?$(i)?i.concat(qn(t)):[i,qn(t)]:qn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&rt(a,c.clone(a)),a}function jr(e=" ",t=0){return ee(gt,null,e,t)}function wf(e,t){const n=ee(wt,null,e);return n.staticCount=t,n}function or(e="",t=!1){return t?(me(),is(ae,null,e)):ee(ae,null,e)}function Oe(e){return e==null||typeof e=="boolean"?ee(ae):$(e)?ee(ce,null,e.slice()):it(e)?dt(e):ee(gt,null,String(e))}function dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Ur(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if($(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ur(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ko(t)?t._ctx=he:r===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:he},n=32):(t=String(t),s&64?(n=16,t=[jr(t)]):n=8);e.children=t,e.shapeFlag|=n}function cl(...e){const t={};for(let n=0;nde||he;let os,lr;{const e=gs(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};os=t("__VUE_INSTANCE_SETTERS__",n=>de=n),lr=t("__VUE_SSR_SETTERS__",n=>Kt=n)}const St=e=>{const t=de;return os(e),e.scope.on(),()=>{e.scope.off(),os(t)}},cr=()=>{de&&de.scope.off(),os(null)};function fl(e){return e.vnode.shapeFlag&4}let Kt=!1;function ul(e,t=!1,n=!1){t&&lr(t);const{props:s,children:r}=e.vnode,i=fl(e);Za(e,s,i,t),nf(e,r,n||t);const o=i?Of(e,t):void 0;return t&&lr(!1),o}function Of(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,er);const{setup:s}=n;if(s){tt();const r=e.setupContext=s.length>1?hl(e):null,i=St(e),o=Yt(s,e,0,[e.props,r]),l=yr(o);if(nt(),i(),(l||e.sp)&&!pt(e)&&Nr(e),l){if(o.then(cr,cr),t)return o.then(c=>{ar(e,c,t)}).catch(c=>{Pt(c,e,0)});e.asyncDep=o}else ar(e,o,t)}else dl(e,t)}function ar(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=xr(t)),dl(e,n)}let ls,fr;function Af(e){ls=e,fr=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Ma))}}const Pf=()=>!ls;function dl(e,t,n){const s=e.type;if(!e.render){if(!t&&ls&&!s.render){const r=s.template||$r(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=se(se({isCustomElement:i,delimiters:l},o),c);s.render=ls(r,u)}}e.render=s.render||Le,fr&&fr(e)}{const r=St(e);tt();try{Ka(e)}finally{nt(),r()}}}const Mf={get(e,t){return ve(e,"get",""),e[t]}};function hl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Mf),slots:e.slots,emit:e.emit,expose:t}}function An(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xr(ro(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}})):e.proxy}function ur(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Rf(e){return W(e)&&"__vccOpts"in e}const pl=(e,t)=>Vc(e,t,Kt);function gl(e,t,n){const s=arguments.length;return s===2?ne(t)&&!$(t)?it(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&it(n)&&(n=[n]),ee(e,t,n))}function Nf(){}function If(e,t,n,s){const r=n[s];if(r&&ml(r,e))return r;const i=t();return i.memo=e.slice(),i.cacheIndex=s,n[s]=i}function ml(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&Te&&Te.push(e),!0}const _l="3.5.17",Lf=Le,Ff=Qc,Df=Lt,Hf=go,$f={createComponentInstance:al,setupComponent:ul,renderComponentRoot:Wn,setCurrentRenderingInstance:yn,isVNode:it,normalizeVNode:Oe,getComponentPublicInstance:An,ensureValidVNode:Hr,pushWarningContext:qc,popWarningContext:Gc},kf=$f,Bf=null,Vf=null,jf=null;/** +**/const fo=[];function qc(e){fo.push(e)}function Gc(){fo.pop()}function Yc(e,t){}const Jc={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"},Qc={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 Yt(e,t,n,s){try{return s?e(...s):e()}catch(r){Pt(r,t,n)}}function He(e,t,n,s){if(W(e)){const r=Yt(e,t,n,s);return r&&yr(r)&&r.catch(i=>{Pt(i,t,n)}),r}if($(e)){const r=[];for(let i=0;i>>1,r=we[s],i=yn(r);i=yn(n)?we.push(e):we.splice(Zc(t),0,e),e.flags|=1,ho()}}function ho(){ts||(ts=uo.then(po))}function _n(e){$(e)?Bt.push(...e):ft&&e.id===-1?ft.splice(It+1,0,e):e.flags&1||(Bt.push(e),e.flags|=1),ho()}function ti(e,t,n=Ge+1){for(;nyn(n)-yn(s));if(Bt.length=0,ft){ft.push(...t);return}for(ft=t,It=0;Ite.id==null?e.flags&2?-1:1/0:e.id;function po(e){try{for(Ge=0;GeLt.emit(r,...i)),Dn=[]):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(i=>{go(i,t)}),setTimeout(()=>{Lt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Dn=[])},3e3)):Dn=[]}let he=null,ws=null;function bn(e){const t=he;return he=e,ws=e&&e.type.__scopeId||null,t}function zc(e){ws=e}function ea(){ws=null}const ta=e=>Or;function Or(e,t=he,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ir(-1);const i=bn(t);let o;try{o=e(...r)}finally{bn(i),s._d&&ir(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ar(e,t){if(he===null)return e;const n=Mn(he),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,cn=e=>e&&(e.disabled||e.disabled===""),ni=e=>e&&(e.defer||e.defer===""),si=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ri=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Zs=(e,t)=>{const n=e&&e.to;return le(n)?t?t(n):null:n},yo={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:a,pc:d,pbc:_,o:{insert:y,querySelector:w,createText:E,createComment:q}}=u,k=cn(t.props);let{shapeFlag:R,children:p,dynamicChildren:g}=t;if(e==null){const T=t.el=E(""),M=t.anchor=E("");y(T,n,s),y(M,n,s);const H=(m,b)=>{R&16&&(r&&r.isCE&&(r.ce._teleportTarget=m),a(p,m,b,r,i,o,l,c))},C=()=>{const m=t.target=Zs(t.props,w),b=bo(m,t,E,y);m&&(o!=="svg"&&si(m)?o="svg":o!=="mathml"&&ri(m)&&(o="mathml"),k||(H(m,b),Wn(t,!1)))};k&&(H(n,M),Wn(t,!0)),ni(t.props)?(t.el.__isMounted=!1,ue(()=>{C(),delete t.el.__isMounted},i)):C()}else{if(ni(t.props)&&e.el.__isMounted===!1){ue(()=>{yo.process(e,t,n,s,r,i,o,l,c,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,M=t.target=e.target,H=t.targetAnchor=e.targetAnchor,C=cn(e.props),m=C?n:M,b=C?T:H;if(o==="svg"||si(M)?o="svg":(o==="mathml"||ri(M))&&(o="mathml"),g?(_(e.dynamicChildren,g,m,r,i,o,l),Vr(e,t,!0)):c||d(e,t,m,b,r,i,o,l,!1),k)C?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Hn(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const L=t.target=Zs(t.props,w);L&&Hn(t,L,null,u,0)}else C&&Hn(t,M,H,u,1);Wn(t,k)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:d,props:_}=e;if(d&&(r(u),r(a)),i&&r(c),o&16){const y=i||!cn(_);for(let w=0;w{e.isMounted=!0}),As(()=>{e.isUnmounting=!0}),e}const Le=[Function,Array],Mr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Le,onEnter:Le,onAfterEnter:Le,onEnterCancelled:Le,onBeforeLeave:Le,onLeave:Le,onAfterLeave:Le,onLeaveCancelled:Le,onBeforeAppear:Le,onAppear:Le,onAfterAppear:Le,onAppearCancelled:Le},vo=e=>{const t=e.subTree;return t.component?vo(t.component):t},ra={name:"BaseTransition",props:Mr,setup(e,{slots:t}){const n=$e(),s=Pr();return()=>{const r=t.default&&xs(t.default(),!0);if(!r||!r.length)return;const i=To(r),o=Z(e),{mode:l}=o;if(s.isLeaving)return Bs(i);const c=ii(i);if(!c)return Bs(i);let u=Ut(c,o,s,n,d=>u=d);c.type!==ae&&rt(c,u);let a=n.subTree&&ii(n.subTree);if(a&&a.type!==ae&&!Be(c,a)&&vo(n).type!==ae){let d=Ut(a,o,s,n);if(rt(a,d),l==="out-in"&&c.type!==ae)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,a=void 0},Bs(i);l==="in-out"&&c.type!==ae?d.delayLeave=(_,y,w)=>{const E=Eo(s,a);E[String(a.key)]=a,_[ut]=()=>{y(),_[ut]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{w(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function To(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ae){t=n;break}}return t}const Co=ra;function Eo(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 Ut(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:_,onLeave:y,onAfterLeave:w,onLeaveCancelled:E,onBeforeAppear:q,onAppear:k,onAfterAppear:R,onAppearCancelled:p}=t,g=String(e.key),T=Eo(n,e),M=(m,b)=>{m&&He(m,s,9,b)},H=(m,b)=>{const L=b[1];M(m,b),$(m)?m.every(x=>x.length<=1)&&L():m.length<=1&&L()},C={mode:o,persisted:l,beforeEnter(m){let b=c;if(!n.isMounted)if(i)b=q||c;else return;m[ut]&&m[ut](!0);const L=T[g];L&&Be(e,L)&&L.el[ut]&&L.el[ut](),M(b,[m])},enter(m){let b=u,L=a,x=d;if(!n.isMounted)if(i)b=k||u,L=R||a,x=p||d;else return;let B=!1;const J=m[$n]=re=>{B||(B=!0,re?M(x,[m]):M(L,[m]),C.delayedLeave&&C.delayedLeave(),m[$n]=void 0)};b?H(b,[m,J]):J()},leave(m,b){const L=String(e.key);if(m[$n]&&m[$n](!0),n.isUnmounting)return b();M(_,[m]);let x=!1;const B=m[ut]=J=>{x||(x=!0,b(),J?M(E,[m]):M(w,[m]),m[ut]=void 0,T[L]===e&&delete T[L])};T[L]=e,y?H(y,[m,B]):B()},clone(m){const b=Ut(m,t,n,s,r);return r&&r(b),b}};return C}function Bs(e){if(An(e))return e=Je(e),e.children=null,e}function ii(e){if(!An(e))return _o(e.type)&&e.children?To(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&&W(n.default))return n.default()}}function rt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,rt(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 xs(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;in.value,set:i=>n.value=i})}return n}function Vt(e,t,n,s,r=!1){if($(e)){e.forEach((w,E)=>Vt(w,t&&($(t)?t[E]:t),n,s,r));return}if(pt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Vt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Mn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===Q?l.refs={}:l.refs,d=l.setupState,_=Z(d),y=d===Q?()=>!1:w=>z(_,w);if(u!=null&&u!==c&&(le(u)?(a[u]=null,y(u)&&(d[u]=null)):pe(u)&&(u.value=null)),W(c))Yt(c,l,12,[o,a]);else{const w=le(c),E=pe(c);if(w||E){const q=()=>{if(e.f){const k=w?y(c)?d[c]:a[c]:c.value;r?$(k)&&_r(k,i):$(k)?k.includes(i)||k.push(i):w?(a[c]=[i],y(c)&&(d[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else w?(a[c]=o,y(c)&&(d[c]=o)):E&&(c.value=o,e.k&&(a[e.k]=o))};o?(q.id=-1,ue(q,n)):q()}}}let oi=!1;const Nt=()=>{oi||(console.error("Hydration completed but contains mismatches."),oi=!0)},la=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ca=e=>e.namespaceURI.includes("MathML"),kn=e=>{if(e.nodeType===1){if(la(e))return"svg";if(ca(e))return"mathml"}},Ft=e=>e.nodeType===8;function aa(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),ns(),g._vnode=p;return}d(g.firstChild,p,null,null,null),ns(),g._vnode=p},d=(p,g,T,M,H,C=!1)=>{C=C||!!g.dynamicChildren;const m=Ft(p)&&p.data==="[",b=()=>E(p,g,T,M,H,m),{type:L,ref:x,shapeFlag:B,patchFlag:J}=g;let re=p.nodeType;g.el=p,J===-2&&(C=!1,g.dynamicChildren=null);let V=null;switch(L){case gt:re!==3?g.children===""?(c(g.el=r(""),o(p),p),V=p):V=b():(p.data!==g.children&&(Nt(),p.data=g.children),V=i(p));break;case ae:R(p)?(V=i(p),k(g.el=p.content.firstChild,p,T)):re!==8||m?V=b():V=i(p);break;case xt:if(m&&(p=i(p),re=p.nodeType),re===1||re===3){V=p;const Y=!g.children.length;for(let U=0;U{C=C||!!g.dynamicChildren;const{type:m,props:b,patchFlag:L,shapeFlag:x,dirs:B,transition:J}=g,re=m==="input"||m==="option";if(re||L!==-1){B&&Ye(g,null,T,"created");let V=!1;if(R(p)){V=Yo(null,J)&&T&&T.vnode.props&&T.vnode.props.appear;const U=p.content.firstChild;if(V){const fe=U.getAttribute("class");fe&&(U.$cls=fe),J.beforeEnter(U)}k(U,p,T),g.el=p=U}if(x&16&&!(b&&(b.innerHTML||b.textContent))){let U=y(p.firstChild,g,p,T,M,H,C);for(;U;){Bn(p,1)||Nt();const fe=U;U=U.nextSibling,l(fe)}}else if(x&8){let U=g.children;U[0]===` +`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(U=U.slice(1)),p.textContent!==U&&(Bn(p,0)||Nt(),p.textContent=g.children)}if(b){if(re||!C||L&48){const U=p.tagName.includes("-");for(const fe in b)(re&&(fe.endsWith("value")||fe==="indeterminate")||wn(fe)&&!$t(fe)||fe[0]==="."||U)&&s(p,fe,null,b[fe],void 0,T)}else if(b.onClick)s(p,"onClick",null,b.onClick,void 0,T);else if(L&4&&ht(b.style))for(const U in b.style)b.style[U]}let Y;(Y=b&&b.onVnodeBeforeMount)&&Se(Y,T,g),B&&Ye(g,null,T,"beforeMount"),((Y=b&&b.onVnodeMounted)||B||V)&&sl(()=>{Y&&Se(Y,T,g),V&&J.enter(p),B&&Ye(g,null,T,"mounted")},M)}return p.nextSibling},y=(p,g,T,M,H,C,m)=>{m=m||!!g.dynamicChildren;const b=g.children,L=b.length;for(let x=0;x{const{slotScopeIds:m}=g;m&&(H=H?H.concat(m):m);const b=o(p),L=y(i(p),g,b,T,M,H,C);return L&&Ft(L)&&L.data==="]"?i(g.anchor=L):(Nt(),c(g.anchor=u("]"),b,L),L)},E=(p,g,T,M,H,C)=>{if(Bn(p.parentElement,1)||Nt(),g.el=null,C){const L=q(p);for(;;){const x=i(p);if(x&&x!==L)l(x);else break}}const m=i(p),b=o(p);return l(p),n(null,g,b,m,T,M,kn(b),H),T&&(T.vnode.el=g.el,Rs(T,g.el)),m},q=(p,g="[",T="]")=>{let M=0;for(;p;)if(p=i(p),p&&Ft(p)&&(p.data===g&&M++,p.data===T)){if(M===0)return i(p);M--}return p},k=(p,g,T)=>{const M=g.parentNode;M&&M.replaceChild(p,g);let H=T;for(;H;)H.vnode.el===g&&(H.vnode.el=H.subTree.el=p),H=H.parent},R=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const li="data-allow-mismatch",fa={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Bn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(li);)e=e.parentElement;const n=e&&e.getAttribute(li);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(fa[t])}}const ua=gs().requestIdleCallback||(e=>setTimeout(e,1)),da=gs().cancelIdleCallback||(e=>clearTimeout(e)),ha=(e=1e4)=>t=>{const n=ua(t,{timeout:e});return()=>da(n)};function pa(e){const{top:t,left:n,bottom:s,right:r}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:o}=window;return(t>0&&t0&&s0&&n0&&r(t,n)=>{const s=new IntersectionObserver(r=>{for(const i of r)if(i.isIntersecting){s.disconnect(),t();break}},e);return n(r=>{if(r instanceof Element){if(pa(r))return t(),s.disconnect(),!1;s.observe(r)}}),()=>s.disconnect()},ma=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},_a=(e=[])=>(t,n)=>{le(e)&&(e=[e]);let s=!1;const r=o=>{s||(s=!0,i(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},i=()=>{n(o=>{for(const l of e)o.removeEventListener(l,r)})};return n(o=>{for(const l of e)o.addEventListener(l,r,{once:!0})}),i};function ya(e,t){if(Ft(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Ft(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const pt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ba(e){W(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,d=0;const _=()=>(d++,u=null,y()),y=()=>{let w;return u||(w=u=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((q,k)=>{c(E,()=>q(_()),()=>k(E),d+1)});throw E}).then(E=>w!==u&&u?u:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return Rr({name:"AsyncComponentWrapper",__asyncLoader:y,__asyncHydrate(w,E,q){const k=i?()=>{const p=i(()=>{q()},g=>ya(w,g));p&&(E.bum||(E.bum=[])).push(p),(E.u||(E.u=[])).push(()=>!0)}:q;a?k():y().then(()=>!E.isUnmounted&&k())},get __asyncResolved(){return a},setup(){const w=de;if(Nr(w),a)return()=>Vs(a,w);const E=p=>{u=null,Pt(p,w,13,!s)};if(l&&w.suspense||Kt)return y().then(p=>()=>Vs(p,w)).catch(p=>(E(p),()=>s?ee(s,{error:p}):null));const q=Ve(!1),k=Ve(),R=Ve(!!r);return r&&setTimeout(()=>{R.value=!1},r),o!=null&&setTimeout(()=>{if(!q.value&&!k.value){const p=new Error(`Async component timed out after ${o}ms.`);E(p),k.value=p}},o),y().then(()=>{q.value=!0,w.parent&&An(w.parent.vnode)&&w.parent.update()}).catch(p=>{E(p),k.value=p}),()=>{if(q.value&&a)return Vs(a,w);if(k.value&&s)return ee(s,{error:k.value});if(n&&!R.value)return ee(n)}}})}function Vs(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ee(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const An=e=>e.type.__isKeepAlive,va={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=$e(),s=n.ctx;if(!s.renderer)return()=>{const R=t.default&&t.default();return R&&R.length===1?R[0]:R};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:u,um:a,o:{createElement:d}}}=s,_=d("div");s.activate=(R,p,g,T,M)=>{const H=R.component;u(R,p,g,0,l),c(H.vnode,R,p,g,H,l,T,R.slotScopeIds,M),ue(()=>{H.isDeactivated=!1,H.a&&kt(H.a);const C=R.props&&R.props.onVnodeMounted;C&&Se(C,H.parent,R)},l)},s.deactivate=R=>{const p=R.component;rs(p.m),rs(p.a),u(R,_,null,1,l),ue(()=>{p.da&&kt(p.da);const g=R.props&&R.props.onVnodeUnmounted;g&&Se(g,p.parent,R),p.isDeactivated=!0},l)};function y(R){js(R),a(R,n,l,!0)}function w(R){r.forEach((p,g)=>{const T=ur(p.type);T&&!R(T)&&E(g)})}function E(R){const p=r.get(R);p&&(!o||!Be(p,o))?y(p):o&&js(o),r.delete(R),i.delete(R)}wt(()=>[e.include,e.exclude],([R,p])=>{R&&w(g=>nn(R,g)),p&&w(g=>!nn(p,g))},{flush:"post",deep:!0});let q=null;const k=()=>{q!=null&&(is(n.subTree.type)?ue(()=>{r.set(q,Vn(n.subTree))},n.subTree.suspense):r.set(q,Vn(n.subTree)))};return Jt(k),Os(k),As(()=>{r.forEach(R=>{const{subTree:p,suspense:g}=n,T=Vn(p);if(R.type===T.type&&R.key===T.key){js(T);const M=T.component.da;M&&ue(M,g);return}y(R)})}),()=>{if(q=null,!t.default)return o=null;const R=t.default(),p=R[0];if(R.length>1)return o=null,R;if(!it(p)||!(p.shapeFlag&4)&&!(p.shapeFlag&128))return o=null,p;let g=Vn(p);if(g.type===ae)return o=null,g;const T=g.type,M=ur(pt(g)?g.type.__asyncResolved||{}:T),{include:H,exclude:C,max:m}=e;if(H&&(!M||!nn(H,M))||C&&M&&nn(C,M))return g.shapeFlag&=-257,o=g,p;const b=g.key==null?T:g.key,L=r.get(b);return g.el&&(g=Je(g),p.shapeFlag&128&&(p.ssContent=g)),q=b,L?(g.el=L.el,g.component=L.component,g.transition&&rt(g,g.transition),g.shapeFlag|=512,i.delete(b),i.add(b)):(i.add(b),m&&i.size>parseInt(m,10)&&E(i.values().next().value)),g.shapeFlag|=256,o=g,is(p.type)?p:g}}},Ta=va;function nn(e,t){return $(e)?e.some(n=>nn(n,t)):le(e)?e.split(",").includes(t):Gl(e)?(e.lastIndex=0,e.test(t)):!1}function wo(e,t){So(e,"a",t)}function xo(e,t){So(e,"da",t)}function So(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ss(t,s,n),n){let r=n.parent;for(;r&&r.parent;)An(r.parent.vnode)&&Ca(s,t,n,r),r=r.parent}}function Ca(e,t,n,s){const r=Ss(t,e,s,!0);Ps(()=>{_r(s[t],r)},n)}function js(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Vn(e){return e.shapeFlag&128?e.ssContent:e}function Ss(e,t,n=de,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{tt();const l=Ot(n),c=He(t,n,e,o);return l(),nt(),c});return s?r.unshift(i):r.push(i),i}}const ot=e=>(t,n=de)=>{(!Kt||e==="sp")&&Ss(e,(...s)=>t(...s),n)},Oo=ot("bm"),Jt=ot("m"),Ir=ot("bu"),Os=ot("u"),As=ot("bum"),Ps=ot("um"),Ao=ot("sp"),Po=ot("rtg"),Mo=ot("rtc");function Ro(e,t=de){Ss("ec",e,t)}const Lr="components",Ea="directives";function wa(e,t){return Fr(Lr,e,!0,t)||e}const No=Symbol.for("v-ndc");function xa(e){return le(e)?Fr(Lr,e,!1)||e:e||No}function Sa(e){return Fr(Ea,e)}function Fr(e,t,n=!0,s=!1){const r=he||de;if(r){const i=r.type;if(e===Lr){const l=ur(i,!1);if(l&&(l===t||l===_e(t)||l===xn(_e(t))))return i}const o=ci(r[e]||i[e],t)||ci(r.appContext[e],t);return!o&&s?i:o}}function ci(e,t){return e&&(e[t]||e[_e(t)]||e[xn(_e(t))])}function Dr(e,t,n,s){let r;const i=n&&n[s],o=$(e);if(o||le(e)){const l=o&&ht(e);let c=!1,u=!1;l&&(c=!Ie(e),u=st(e),e=ys(e)),r=new Array(e.length);for(let a=0,d=e.length;at(l,c,void 0,i&&i[c]));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;c{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Aa(e,t,n={},s,r){if(he.ce||he.parent&&pt(he.parent)&&he.parent.ce)return t!=="default"&&(n.name=t),ge(),Cn(ce,null,[ee("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),ge();const o=i&&Hr(i(n)),l=n.key||o&&o.key,c=Cn(ce,{key:(l&&!Ue(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Hr(e){return e.some(t=>it(t)?!(t.type===ae||t.type===ce&&!Hr(t.children)):!0)?e:null}function Pa(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:rn(s)]=e[s];return n}const zs=e=>e?fl(e)?Mn(e):zs(e.parent):null,an=se(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>zs(e.parent),$root:e=>zs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$r(e),$forceUpdate:e=>e.f||(e.f=()=>{Sr(e.update)}),$nextTick:e=>e.n||(e.n=On.bind(e.proxy)),$watch:e=>cf.bind(e)}),Us=(e,t)=>e!==Q&&!e.__isScriptSetup&&z(e,t),er={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const y=o[t];if(y!==void 0)switch(y){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Us(s,t))return o[t]=1,s[t];if(r!==Q&&z(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&z(u,t))return o[t]=3,i[t];if(n!==Q&&z(n,t))return o[t]=4,n[t];tr&&(o[t]=0)}}const a=an[t];let d,_;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Q&&z(n,t))return o[t]=4,n[t];if(_=c.config.globalProperties,z(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Us(r,t)?(r[t]=n,!0):s!==Q&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Q&&z(e,o)||Us(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(an,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ma=se({},er,{get(e,t){if(t!==Symbol.unscopables)return er.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Zl(t)}});function Ra(){return null}function Na(){return null}function Ia(e){}function La(e){}function Fa(){return null}function Da(){}function Ha(e,t){return null}function $a(){return Io().slots}function ka(){return Io().attrs}function Io(){const e=$e();return e.setupContext||(e.setupContext=hl(e))}function vn(e){return $(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Ba(e,t){const n=vn(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?$(r)||W(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function Va(e,t){return!e||!t?e||t:$(e)&&$(t)?e.concat(t):se({},vn(e),vn(t))}function ja(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function Ua(e){const t=$e();let n=e();return cr(),yr(n)&&(n=n.catch(s=>{throw Ot(t),s})),[n,()=>Ot(t)]}let tr=!0;function Ka(e){const t=$r(e),n=e.proxy,s=e.ctx;tr=!1,t.beforeCreate&&ai(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:d,mounted:_,beforeUpdate:y,updated:w,activated:E,deactivated:q,beforeDestroy:k,beforeUnmount:R,destroyed:p,unmounted:g,render:T,renderTracked:M,renderTriggered:H,errorCaptured:C,serverPrefetch:m,expose:b,inheritAttrs:L,components:x,directives:B,filters:J}=t;if(u&&Wa(u,s,null),o)for(const Y in o){const U=o[Y];W(U)&&(s[Y]=U.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=vs(Y))}if(tr=!0,i)for(const Y in i){const U=i[Y],fe=W(U)?U.bind(n,n):W(U.get)?U.get.bind(n,n):Fe,Rn=!W(U)&&W(U.set)?U.set.bind(n):Fe,bt=pl({get:fe,set:Rn});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>bt.value,set:Ke=>bt.value=Ke})}if(l)for(const Y in l)Lo(l[Y],s,n,Y);if(c){const Y=W(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(U=>{Do(U,Y[U])})}a&&ai(a,e,"c");function V(Y,U){$(U)?U.forEach(fe=>Y(fe.bind(n))):U&&Y(U.bind(n))}if(V(Oo,d),V(Jt,_),V(Ir,y),V(Os,w),V(wo,E),V(xo,q),V(Ro,C),V(Mo,M),V(Po,H),V(As,R),V(Ps,g),V(Ao,m),$(b))if(b.length){const Y=e.exposed||(e.exposed={});b.forEach(U=>{Object.defineProperty(Y,U,{get:()=>n[U],set:fe=>n[U]=fe})})}else e.exposed||(e.exposed={});T&&e.render===Fe&&(e.render=T),L!=null&&(e.inheritAttrs=L),x&&(e.components=x),B&&(e.directives=B),m&&Nr(e)}function Wa(e,t,n=Fe){$(e)&&(e=nr(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=fn(r.from||s,r.default,!0):i=fn(r.from||s):i=fn(r),pe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function ai(e,t,n){He($(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lo(e,t,n,s){let r=s.includes(".")?zo(n,s):()=>n[s];if(le(e)){const i=t[e];W(i)&&wt(r,i)}else if(W(e))wt(r,e.bind(n));else if(ne(e))if($(e))e.forEach(i=>Lo(i,t,n,s));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&wt(r,i,e)}}function $r(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>ss(c,u,o,!0)),ss(c,t,o)),ne(t)&&i.set(t,c),c}function ss(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&ss(e,i,n,!0),r&&r.forEach(o=>ss(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=qa[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const qa={data:fi,props:ui,emits:ui,methods:sn,computed:sn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:sn,directives:sn,watch:Ya,provide:fi,inject:Ga};function fi(e,t){return t?e?function(){return se(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Ga(e,t){return sn(nr(e),nr(t))}function nr(e){if($(e)){const t={};for(let n=0;n1)return n&&W(t)?t.call(s&&s.proxy):t}}function Xa(){return!!(de||he||Et)}const Ho={},$o=()=>Object.create(Ho),ko=e=>Object.getPrototypeOf(e)===Ho;function Za(e,t,n,s=!1){const r={},i=$o();e.propsDefaults=Object.create(null),Bo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:so(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function za(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[_,y]=Vo(d,t,!0);se(o,_),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&s.set(e,Dt),Dt;if($(i))for(let a=0;ae[0]==="_"||e==="$stable",Br=e=>$(e)?e.map(Oe):[Oe(e)],tf=(e,t,n)=>{if(t._n)return t;const s=Or((...r)=>Br(t(...r)),n);return s._c=!1,s},jo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(kr(r))continue;const i=e[r];if(W(i))t[r]=tf(r,i,s);else if(i!=null){const o=Br(i);t[r]=()=>o}}},Uo=(e,t)=>{const n=Br(t);e.slots.default=()=>n},Ko=(e,t,n)=>{for(const s in t)(n||!kr(s))&&(e[s]=t[s])},nf=(e,t,n)=>{const s=e.slots=$o();if(e.vnode.shapeFlag&32){const r=t.__;r&&Ys(s,"__",r,!0);const i=t._;i?(Ko(s,t,n),n&&Ys(s,"_",i,!0)):jo(t,s)}else t&&Uo(e,t)},sf=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Ko(r,t,n):(i=!t.$stable,jo(t,r)),o=t}else t&&(Uo(e,t),o={default:1});if(i)for(const l in r)!kr(l)&&o[l]==null&&delete r[l]},ue=sl;function Wo(e){return Go(e)}function qo(e){return Go(e,aa)}function Go(e,t){const n=gs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:d,nextSibling:_,setScopeId:y=Fe,insertStaticContent:w}=e,E=(f,h,v,A=null,S=null,O=null,F=void 0,I=null,N=!!h.dynamicChildren)=>{if(f===h)return;f&&!Be(f,h)&&(A=Nn(f),Ke(f,S,O,!0),f=null),h.patchFlag===-2&&(N=!1,h.dynamicChildren=null);const{type:P,ref:K,shapeFlag:D}=h;switch(P){case gt:q(f,h,v,A);break;case ae:k(f,h,v,A);break;case xt:f==null&&R(h,v,A,F);break;case ce:x(f,h,v,A,S,O,F,I,N);break;default:D&1?T(f,h,v,A,S,O,F,I,N):D&6?B(f,h,v,A,S,O,F,I,N):(D&64||D&128)&&P.process(f,h,v,A,S,O,F,I,N,Mt)}K!=null&&S?Vt(K,f&&f.ref,O,h||f,!h):K==null&&f&&f.ref!=null&&Vt(f.ref,null,O,f,!0)},q=(f,h,v,A)=>{if(f==null)s(h.el=l(h.children),v,A);else{const S=h.el=f.el;h.children!==f.children&&u(S,h.children)}},k=(f,h,v,A)=>{f==null?s(h.el=c(h.children||""),v,A):h.el=f.el},R=(f,h,v,A)=>{[f.el,f.anchor]=w(f.children,h,v,A,f.el,f.anchor)},p=({el:f,anchor:h},v,A)=>{let S;for(;f&&f!==h;)S=_(f),s(f,v,A),f=S;s(h,v,A)},g=({el:f,anchor:h})=>{let v;for(;f&&f!==h;)v=_(f),r(f),f=v;r(h)},T=(f,h,v,A,S,O,F,I,N)=>{h.type==="svg"?F="svg":h.type==="math"&&(F="mathml"),f==null?M(h,v,A,S,O,F,I,N):m(f,h,S,O,F,I,N)},M=(f,h,v,A,S,O,F,I)=>{let N,P;const{props:K,shapeFlag:D,transition:j,dirs:G}=f;if(N=f.el=o(f.type,O,K&&K.is,K),D&8?a(N,f.children):D&16&&C(f.children,N,null,A,S,Ks(f,O),F,I),G&&Ye(f,null,A,"created"),H(N,f,f.scopeId,F,A),K){for(const ie in K)ie!=="value"&&!$t(ie)&&i(N,ie,null,K[ie],O,A);"value"in K&&i(N,"value",null,K.value,O),(P=K.onVnodeBeforeMount)&&Se(P,A,f)}G&&Ye(f,null,A,"beforeMount");const X=Yo(S,j);X&&j.beforeEnter(N),s(N,h,v),((P=K&&K.onVnodeMounted)||X||G)&&ue(()=>{P&&Se(P,A,f),X&&j.enter(N),G&&Ye(f,null,A,"mounted")},S)},H=(f,h,v,A,S)=>{if(v&&y(f,v),A)for(let O=0;O{for(let P=N;P{const I=h.el=f.el;let{patchFlag:N,dynamicChildren:P,dirs:K}=h;N|=f.patchFlag&16;const D=f.props||Q,j=h.props||Q;let G;if(v&&vt(v,!1),(G=j.onVnodeBeforeUpdate)&&Se(G,v,h,f),K&&Ye(h,f,v,"beforeUpdate"),v&&vt(v,!0),(D.innerHTML&&j.innerHTML==null||D.textContent&&j.textContent==null)&&a(I,""),P?b(f.dynamicChildren,P,I,v,A,Ks(h,S),O):F||U(f,h,I,null,v,A,Ks(h,S),O,!1),N>0){if(N&16)L(I,D,j,v,S);else if(N&2&&D.class!==j.class&&i(I,"class",null,j.class,S),N&4&&i(I,"style",D.style,j.style,S),N&8){const X=h.dynamicProps;for(let ie=0;ie{G&&Se(G,v,h,f),K&&Ye(h,f,v,"updated")},A)},b=(f,h,v,A,S,O,F)=>{for(let I=0;I{if(h!==v){if(h!==Q)for(const O in h)!$t(O)&&!(O in v)&&i(f,O,h[O],null,S,A);for(const O in v){if($t(O))continue;const F=v[O],I=h[O];F!==I&&O!=="value"&&i(f,O,I,F,S,A)}"value"in v&&i(f,"value",h.value,v.value,S)}},x=(f,h,v,A,S,O,F,I,N)=>{const P=h.el=f?f.el:l(""),K=h.anchor=f?f.anchor:l("");let{patchFlag:D,dynamicChildren:j,slotScopeIds:G}=h;G&&(I=I?I.concat(G):G),f==null?(s(P,v,A),s(K,v,A),C(h.children||[],v,K,S,O,F,I,N)):D>0&&D&64&&j&&f.dynamicChildren?(b(f.dynamicChildren,j,v,S,O,F,I),(h.key!=null||S&&h===S.subTree)&&Vr(f,h,!0)):U(f,h,v,K,S,O,F,I,N)},B=(f,h,v,A,S,O,F,I,N)=>{h.slotScopeIds=I,f==null?h.shapeFlag&512?S.ctx.activate(h,v,A,F,N):J(h,v,A,S,O,F,N):re(f,h,N)},J=(f,h,v,A,S,O,F)=>{const I=f.component=al(f,A,S);if(An(f)&&(I.ctx.renderer=Mt),ul(I,!1,F),I.asyncDep){if(S&&S.registerDep(I,V,F),!f.el){const N=I.subTree=ee(ae);k(null,N,h,v)}}else V(I,f,h,v,S,O,F)},re=(f,h,v)=>{const A=h.component=f.component;if(pf(f,h,v))if(A.asyncDep&&!A.asyncResolved){Y(A,h,v);return}else A.next=h,A.update();else h.el=f.el,A.vnode=h},V=(f,h,v,A,S,O,F)=>{const I=()=>{if(f.isMounted){let{next:D,bu:j,u:G,parent:X,vnode:ie}=f;{const Me=Jo(f);if(Me){D&&(D.el=ie.el,Y(f,D,F)),Me.asyncDep.then(()=>{f.isUnmounted||I()});return}}let te=D,xe;vt(f,!1),D?(D.el=ie.el,Y(f,D,F)):D=ie,j&&kt(j),(xe=D.props&&D.props.onVnodeBeforeUpdate)&&Se(xe,X,D,ie),vt(f,!0);const ye=qn(f),ke=f.subTree;f.subTree=ye,E(ke,ye,d(ke.el),Nn(ke),f,S,O),D.el=ye.el,te===null&&Rs(f,ye.el),G&&ue(G,S),(xe=D.props&&D.props.onVnodeUpdated)&&ue(()=>Se(xe,X,D,ie),S)}else{let D;const{el:j,props:G}=h,{bm:X,m:ie,parent:te,root:xe,type:ye}=f,ke=pt(h);if(vt(f,!1),X&&kt(X),!ke&&(D=G&&G.onVnodeBeforeMount)&&Se(D,te,h),vt(f,!0),j&&Fs){const Me=()=>{f.subTree=qn(f),Fs(j,f.subTree,f,S,null)};ke&&ye.__asyncHydrate?ye.__asyncHydrate(j,f,Me):Me()}else{xe.ce&&xe.ce._def.shadowRoot!==!1&&xe.ce._injectChildStyle(ye);const Me=f.subTree=qn(f);E(null,Me,v,A,f,S,O),h.el=Me.el}if(ie&&ue(ie,S),!ke&&(D=G&&G.onVnodeMounted)){const Me=h;ue(()=>Se(D,te,Me),S)}(h.shapeFlag&256||te&&pt(te.vnode)&&te.vnode.shapeFlag&256)&&f.a&&ue(f.a,S),f.isMounted=!0,h=v=A=null}};f.scope.on();const N=f.effect=new pn(I);f.scope.off();const P=f.update=N.run.bind(N),K=f.job=N.runIfDirty.bind(N);K.i=f,K.id=f.uid,N.scheduler=()=>Sr(K),vt(f,!0),P()},Y=(f,h,v)=>{h.component=f;const A=f.vnode.props;f.vnode=h,f.next=null,za(f,h.props,A,v),sf(f,h.children,v),tt(),ti(f),nt()},U=(f,h,v,A,S,O,F,I,N=!1)=>{const P=f&&f.children,K=f?f.shapeFlag:0,D=h.children,{patchFlag:j,shapeFlag:G}=h;if(j>0){if(j&128){Rn(P,D,v,A,S,O,F,I,N);return}else if(j&256){fe(P,D,v,A,S,O,F,I,N);return}}G&8?(K&16&&Xt(P,S,O),D!==P&&a(v,D)):K&16?G&16?Rn(P,D,v,A,S,O,F,I,N):Xt(P,S,O,!0):(K&8&&a(v,""),G&16&&C(D,v,A,S,O,F,I,N))},fe=(f,h,v,A,S,O,F,I,N)=>{f=f||Dt,h=h||Dt;const P=f.length,K=h.length,D=Math.min(P,K);let j;for(j=0;jK?Xt(f,S,O,!0,!1,D):C(h,v,A,S,O,F,I,N,D)},Rn=(f,h,v,A,S,O,F,I,N)=>{let P=0;const K=h.length;let D=f.length-1,j=K-1;for(;P<=D&&P<=j;){const G=f[P],X=h[P]=N?dt(h[P]):Oe(h[P]);if(Be(G,X))E(G,X,v,null,S,O,F,I,N);else break;P++}for(;P<=D&&P<=j;){const G=f[D],X=h[j]=N?dt(h[j]):Oe(h[j]);if(Be(G,X))E(G,X,v,null,S,O,F,I,N);else break;D--,j--}if(P>D){if(P<=j){const G=j+1,X=Gj)for(;P<=D;)Ke(f[P],S,O,!0),P++;else{const G=P,X=P,ie=new Map;for(P=X;P<=j;P++){const Re=h[P]=N?dt(h[P]):Oe(h[P]);Re.key!=null&&ie.set(Re.key,P)}let te,xe=0;const ye=j-X+1;let ke=!1,Me=0;const Zt=new Array(ye);for(P=0;P=ye){Ke(Re,S,O,!0);continue}let We;if(Re.key!=null)We=ie.get(Re.key);else for(te=X;te<=j;te++)if(Zt[te-X]===0&&Be(Re,h[te])){We=te;break}We===void 0?Ke(Re,S,O,!0):(Zt[We-X]=P+1,We>=Me?Me=We:ke=!0,E(Re,h[We],v,null,S,O,F,I,N),xe++)}const Jr=ke?rf(Zt):Dt;for(te=Jr.length-1,P=ye-1;P>=0;P--){const Re=X+P,We=h[Re],Qr=Re+1{const{el:O,type:F,transition:I,children:N,shapeFlag:P}=f;if(P&6){bt(f.component.subTree,h,v,A);return}if(P&128){f.suspense.move(h,v,A);return}if(P&64){F.move(f,h,v,Mt);return}if(F===ce){s(O,h,v);for(let D=0;DI.enter(O),S);else{const{leave:D,delayLeave:j,afterLeave:G}=I,X=()=>{f.ctx.isUnmounted?r(O):s(O,h,v)},ie=()=>{D(O,()=>{X(),G&&G()})};j?j(O,X,ie):ie()}else s(O,h,v)},Ke=(f,h,v,A=!1,S=!1)=>{const{type:O,props:F,ref:I,children:N,dynamicChildren:P,shapeFlag:K,patchFlag:D,dirs:j,cacheIndex:G}=f;if(D===-2&&(S=!1),I!=null&&(tt(),Vt(I,null,v,f,!0),nt()),G!=null&&(h.renderCache[G]=void 0),K&256){h.ctx.deactivate(f);return}const X=K&1&&j,ie=!pt(f);let te;if(ie&&(te=F&&F.onVnodeBeforeUnmount)&&Se(te,h,f),K&6)Kl(f.component,v,A);else{if(K&128){f.suspense.unmount(v,A);return}X&&Ye(f,null,h,"beforeUnmount"),K&64?f.type.remove(f,h,v,Mt,A):P&&!P.hasOnce&&(O!==ce||D>0&&D&64)?Xt(P,h,v,!1,!0):(O===ce&&D&384||!S&&K&16)&&Xt(N,h,v),A&&Gr(f)}(ie&&(te=F&&F.onVnodeUnmounted)||X)&&ue(()=>{te&&Se(te,h,f),X&&Ye(f,null,h,"unmounted")},v)},Gr=f=>{const{type:h,el:v,anchor:A,transition:S}=f;if(h===ce){Ul(v,A);return}if(h===xt){g(f);return}const O=()=>{r(v),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(f.shapeFlag&1&&S&&!S.persisted){const{leave:F,delayLeave:I}=S,N=()=>F(v,O);I?I(f.el,O,N):N()}else O()},Ul=(f,h)=>{let v;for(;f!==h;)v=_(f),r(f),f=v;r(h)},Kl=(f,h,v)=>{const{bum:A,scope:S,job:O,subTree:F,um:I,m:N,a:P,parent:K,slots:{__:D}}=f;rs(N),rs(P),A&&kt(A),K&&$(D)&&D.forEach(j=>{K.renderCache[j]=void 0}),S.stop(),O&&(O.flags|=8,Ke(F,f,h,v)),I&&ue(I,h),ue(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Xt=(f,h,v,A=!1,S=!1,O=0)=>{for(let F=O;F{if(f.shapeFlag&6)return Nn(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=_(f.anchor||f.el),v=h&&h[mo];return v?_(v):h};let Is=!1;const Yr=(f,h,v)=>{f==null?h._vnode&&Ke(h._vnode,null,null,!0):E(h._vnode||null,f,h,null,null,null,v),h._vnode=f,Is||(Is=!0,ti(),ns(),Is=!1)},Mt={p:E,um:Ke,m:bt,r:Gr,mt:J,mc:C,pc:U,pbc:b,n:Nn,o:e};let Ls,Fs;return t&&([Ls,Fs]=t(Mt)),{render:Yr,hydrate:Ls,createApp:Qa(Yr,Ls)}}function Ks({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 vt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Yo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vr(e,t,n=!1){const s=e.children,r=t.children;if($(s)&&$(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Jo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jo(t)}function rs(e){if(e)for(let t=0;tfn(Qo);function of(e,t){return Pn(e,null,t)}function lf(e,t){return Pn(e,null,{flush:"post"})}function Zo(e,t){return Pn(e,null,{flush:"sync"})}function wt(e,t,n){return Pn(e,t,n)}function Pn(e,t,n=Q){const{immediate:s,deep:r,flush:i,once:o}=n,l=se({},n),c=t&&s||!t&&i!=="post";let u;if(Kt){if(i==="sync"){const y=Xo();u=y.__watcherHandles||(y.__watcherHandles=[])}else if(!c){const y=()=>{};return y.stop=Fe,y.resume=Fe,y.pause=Fe,y}}const a=de;l.call=(y,w,E)=>He(y,a,w,E);let d=!1;i==="post"?l.scheduler=y=>{ue(y,a&&a.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(y,w)=>{w?y():Sr(y)}),l.augmentJob=y=>{t&&(y.flags|=4),d&&(y.flags|=2,a&&(y.id=a.uid,y.i=a))};const _=Wc(e,t,l);return Kt&&(u?u.push(_):c&&_()),_}function cf(e,t,n){const s=this.proxy,r=le(e)?e.includes(".")?zo(s,e):()=>s[e]:e.bind(s,s);let i;W(t)?i=t:(i=t.handler,n=t);const o=Ot(this),l=Pn(r,i.bind(s),n);return o(),l}function zo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{let a,d=Q,_;return Zo(()=>{const y=e[r];Ee(a,y)&&(a=y,u())}),{get(){return c(),n.get?n.get(a):a},set(y){const w=n.set?n.set(y):y;if(!Ee(w,a)&&!(d!==Q&&Ee(y,d)))return;const E=s.vnode.props;E&&(t in E||r in E||i in E)&&(`onUpdate:${t}`in E||`onUpdate:${r}`in E||`onUpdate:${i}`in E)||(a=y,u()),s.emit(`update:${t}`,w),Ee(y,w)&&Ee(y,d)&&!Ee(w,_)&&u(),d=y,_=w}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||Q:l,done:!1}:{done:!0}}}},l}const el=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${_e(t)}Modifiers`]||e[`${Ae(t)}Modifiers`];function ff(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Q;let r=n;const i=t.startsWith("update:"),o=i&&el(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>le(a)?a.trim():a)),o.number&&(r=n.map(Qn)));let l,c=s[l=rn(t)]||s[l=rn(_e(t))];!c&&i&&(c=s[l=rn(Ae(t))]),c&&He(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(u,e,6,r)}}function tl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!W(e)){const c=u=>{const a=tl(u,t,!0);a&&(l=!0,se(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&s.set(e,null),null):($(i)?i.forEach(c=>o[c]=null):se(o,i),ne(e)&&s.set(e,o),o)}function Ms(e,t){return!e||!wn(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ae(t))||z(e,t))}function qn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:d,data:_,setupState:y,ctx:w,inheritAttrs:E}=e,q=bn(e);let k,R;try{if(n.shapeFlag&4){const g=r||s,T=g;k=Oe(u.call(T,g,a,d,y,_,w)),R=l}else{const g=t;k=Oe(g.length>1?g(d,{attrs:l,slots:o,emit:c}):g(d,null)),R=t.props?l:df(l)}}catch(g){un.length=0,Pt(g,e,1),k=ee(ae)}let p=k;if(R&&E!==!1){const g=Object.keys(R),{shapeFlag:T}=p;g.length&&T&7&&(i&&g.some(mr)&&(R=hf(R,i)),p=Je(p,R,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&rt(p,n.transition),k=p,bn(q),k}function uf(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||wn(n))&&((t||(t={}))[n]=e[n]);return t},hf=(e,t)=>{const n={};for(const s in e)(!mr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function pf(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?hi(s,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let d=0;de.__isSuspense;let rr=0;const gf={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,u){if(e==null)_f(t,n,s,r,i,o,l,c,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}yf(e,t,n,s,r,o,l,c,u)}},hydrate:bf,normalize:vf},mf=gf;function Tn(e,t){const n=e.props&&e.props[t];W(n)&&n()}function _f(e,t,n,s,r,i,o,l,c){const{p:u,o:{createElement:a}}=c,d=a("div"),_=e.suspense=nl(e,r,s,t,d,n,i,o,l,c);u(null,_.pendingBranch=e.ssContent,d,null,s,_,i,o),_.deps>0?(Tn(e,"onPending"),Tn(e,"onFallback"),u(null,e.ssFallback,t,n,s,null,i,o),jt(_,e.ssFallback)):_.resolve(!1,!0)}function yf(e,t,n,s,r,i,o,l,{p:c,um:u,o:{createElement:a}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const _=t.ssContent,y=t.ssFallback,{activeBranch:w,pendingBranch:E,isInFallback:q,isHydrating:k}=d;if(E)d.pendingBranch=_,Be(_,E)?(c(E,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0?d.resolve():q&&(k||(c(w,y,n,s,r,null,i,o,l),jt(d,y)))):(d.pendingId=rr++,k?(d.isHydrating=!1,d.activeBranch=E):u(E,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=a("div"),q?(c(null,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0?d.resolve():(c(w,y,n,s,r,null,i,o,l),jt(d,y))):w&&Be(_,w)?(c(w,_,n,s,r,d,i,o,l),d.resolve(!0)):(c(null,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0&&d.resolve()));else if(w&&Be(_,w))c(w,_,n,s,r,d,i,o,l),jt(d,_);else if(Tn(t,"onPending"),d.pendingBranch=_,_.shapeFlag&512?d.pendingId=_.component.suspenseId:d.pendingId=rr++,c(null,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0)d.resolve();else{const{timeout:R,pendingId:p}=d;R>0?setTimeout(()=>{d.pendingId===p&&d.fallback(y)},R):R===0&&d.fallback(y)}}function nl(e,t,n,s,r,i,o,l,c,u,a=!1){const{p:d,m:_,um:y,n:w,o:{parentNode:E,remove:q}}=u;let k;const R=Tf(e);R&&t&&t.pendingBranch&&(k=t.pendingId,t.deps++);const p=e.props?Xn(e.props.timeout):void 0,g=i,T={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:rr++,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!a,isHydrating:a,isUnmounted:!1,effects:[],resolve(M=!1,H=!1){const{vnode:C,activeBranch:m,pendingBranch:b,pendingId:L,effects:x,parentComponent:B,container:J}=T;let re=!1;T.isHydrating?T.isHydrating=!1:M||(re=m&&b.transition&&b.transition.mode==="out-in",re&&(m.transition.afterLeave=()=>{L===T.pendingId&&(_(b,J,i===g?w(m):i,0),_n(x))}),m&&(E(m.el)===J&&(i=w(m)),y(m,B,T,!0)),re||_(b,J,i,0)),jt(T,b),T.pendingBranch=null,T.isInFallback=!1;let V=T.parent,Y=!1;for(;V;){if(V.pendingBranch){V.effects.push(...x),Y=!0;break}V=V.parent}!Y&&!re&&_n(x),T.effects=[],R&&t&&t.pendingBranch&&k===t.pendingId&&(t.deps--,t.deps===0&&!H&&t.resolve()),Tn(C,"onResolve")},fallback(M){if(!T.pendingBranch)return;const{vnode:H,activeBranch:C,parentComponent:m,container:b,namespace:L}=T;Tn(H,"onFallback");const x=w(C),B=()=>{T.isInFallback&&(d(null,M,b,x,m,null,L,l,c),jt(T,M))},J=M.transition&&M.transition.mode==="out-in";J&&(C.transition.afterLeave=B),T.isInFallback=!0,y(C,m,null,!0),J||B()},move(M,H,C){T.activeBranch&&_(T.activeBranch,M,H,C),T.container=M},next(){return T.activeBranch&&w(T.activeBranch)},registerDep(M,H,C){const m=!!T.pendingBranch;m&&T.deps++;const b=M.vnode.el;M.asyncDep.catch(L=>{Pt(L,M,0)}).then(L=>{if(M.isUnmounted||T.isUnmounted||T.pendingId!==M.suspenseId)return;M.asyncResolved=!0;const{vnode:x}=M;ar(M,L,!1),b&&(x.el=b);const B=!b&&M.subTree.el;H(M,x,E(b||M.subTree.el),b?null:w(M.subTree),T,o,C),B&&q(B),Rs(M,x.el),m&&--T.deps===0&&T.resolve()})},unmount(M,H){T.isUnmounted=!0,T.activeBranch&&y(T.activeBranch,n,M,H),T.pendingBranch&&y(T.pendingBranch,n,M,H)}};return T}function bf(e,t,n,s,r,i,o,l,c){const u=t.suspense=nl(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),a=c(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),a}function vf(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=pi(s?n.default:n),e.ssFallback=s?pi(n.fallback):ee(ae)}function pi(e){let t;if(W(e)){const n=St&&e._c;n&&(e._d=!1,ge()),e=e(),n&&(e._d=!0,t=Te,rl())}return $(e)&&(e=uf(e)),e=Oe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function sl(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):_n(e)}function jt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Rs(s,r))}function Tf(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ce=Symbol.for("v-fgt"),gt=Symbol.for("v-txt"),ae=Symbol.for("v-cmt"),xt=Symbol.for("v-stc"),un=[];let Te=null;function ge(e=!1){un.push(Te=e?null:[])}function rl(){un.pop(),Te=un[un.length-1]||null}let St=1;function ir(e,t=!1){St+=e,e<0&&Te&&t&&(Te.hasOnce=!0)}function il(e){return e.dynamicChildren=St>0?Te||Dt:null,rl(),St>0&&Te&&Te.push(e),e}function Ne(e,t,n,s,r,i){return il(Pe(e,t,n,s,r,i,!0))}function Cn(e,t,n,s,r){return il(ee(e,t,n,s,r,!0))}function it(e){return e?e.__v_isVNode===!0:!1}function Be(e,t){return e.type===t.type&&e.key===t.key}function Cf(e){}const ol=({key:e})=>e??null,Gn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||pe(e)||W(e)?{i:he,r:e,k:t,f:!!n}:e:null);function Pe(e,t=null,n=null,s=0,r=null,i=e===ce?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ol(t),ref:t&&Gn(t),scopeId:ws,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:he};return l?(Ur(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=le(n)?8:16),St>0&&!o&&Te&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Te.push(c),c}const ee=Ef;function Ef(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===No)&&(e=ae),it(e)){const l=Je(e,t,!0);return n&&Ur(l,n),St>0&&!i&&Te&&(l.shapeFlag&6?Te[Te.indexOf(e)]=l:Te.push(l)),l.patchFlag=-2,l}if(Rf(e)&&(e=e.__vccOpts),t){t=ll(t);let{class:l,style:c}=t;l&&!le(l)&&(t.class=yt(l)),ne(c)&&(Cs(c)&&!$(c)&&(c=se({},c)),t.style=Sn(c))}const o=le(e)?1:is(e)?128:_o(e)?64:ne(e)?4:W(e)?2:0;return Pe(e,t,n,s,r,o,i,!0)}function ll(e){return e?Cs(e)||ko(e)?se({},e):e:null}function Je(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?cl(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ol(u),ref:t&&t.ref?n&&i?$(i)?i.concat(Gn(t)):[i,Gn(t)]:Gn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&rt(a,c.clone(a)),a}function jr(e=" ",t=0){return ee(gt,null,e,t)}function wf(e,t){const n=ee(xt,null,e);return n.staticCount=t,n}function or(e="",t=!1){return t?(ge(),Cn(ae,null,e)):ee(ae,null,e)}function Oe(e){return e==null||typeof e=="boolean"?ee(ae):$(e)?ee(ce,null,e.slice()):it(e)?dt(e):ee(gt,null,String(e))}function dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Ur(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if($(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ur(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ko(t)?t._ctx=he:r===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:he},n=32):(t=String(t),s&64?(n=16,t=[jr(t)]):n=8);e.children=t,e.shapeFlag|=n}function cl(...e){const t={};for(let n=0;nde||he;let os,lr;{const e=gs(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};os=t("__VUE_INSTANCE_SETTERS__",n=>de=n),lr=t("__VUE_SSR_SETTERS__",n=>Kt=n)}const Ot=e=>{const t=de;return os(e),e.scope.on(),()=>{e.scope.off(),os(t)}},cr=()=>{de&&de.scope.off(),os(null)};function fl(e){return e.vnode.shapeFlag&4}let Kt=!1;function ul(e,t=!1,n=!1){t&&lr(t);const{props:s,children:r}=e.vnode,i=fl(e);Za(e,s,i,t),nf(e,r,n||t);const o=i?Of(e,t):void 0;return t&&lr(!1),o}function Of(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,er);const{setup:s}=n;if(s){tt();const r=e.setupContext=s.length>1?hl(e):null,i=Ot(e),o=Yt(s,e,0,[e.props,r]),l=yr(o);if(nt(),i(),(l||e.sp)&&!pt(e)&&Nr(e),l){if(o.then(cr,cr),t)return o.then(c=>{ar(e,c,t)}).catch(c=>{Pt(c,e,0)});e.asyncDep=o}else ar(e,o,t)}else dl(e,t)}function ar(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=xr(t)),dl(e,n)}let ls,fr;function Af(e){ls=e,fr=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Ma))}}const Pf=()=>!ls;function dl(e,t,n){const s=e.type;if(!e.render){if(!t&&ls&&!s.render){const r=s.template||$r(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=se(se({isCustomElement:i,delimiters:l},o),c);s.render=ls(r,u)}}e.render=s.render||Fe,fr&&fr(e)}{const r=Ot(e);tt();try{Ka(e)}finally{nt(),r()}}}const Mf={get(e,t){return ve(e,"get",""),e[t]}};function hl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Mf),slots:e.slots,emit:e.emit,expose:t}}function Mn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xr(ro(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in an)return an[n](e)},has(t,n){return n in t||n in an}})):e.proxy}function ur(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Rf(e){return W(e)&&"__vccOpts"in e}const pl=(e,t)=>Vc(e,t,Kt);function gl(e,t,n){const s=arguments.length;return s===2?ne(t)&&!$(t)?it(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&it(n)&&(n=[n]),ee(e,t,n))}function Nf(){}function If(e,t,n,s){const r=n[s];if(r&&ml(r,e))return r;const i=t();return i.memo=e.slice(),i.cacheIndex=s,n[s]=i}function ml(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&Te&&Te.push(e),!0}const _l="3.5.17",Lf=Fe,Ff=Qc,Df=Lt,Hf=go,$f={createComponentInstance:al,setupComponent:ul,renderComponentRoot:qn,setCurrentRenderingInstance:bn,isVNode:it,normalizeVNode:Oe,getComponentPublicInstance:Mn,ensureValidVNode:Hr,pushWarningContext:qc,popWarningContext:Gc},kf=$f,Bf=null,Vf=null,jf=null;/** * @vue/runtime-dom v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let dr;const gi=typeof window<"u"&&window.trustedTypes;if(gi)try{dr=gi.createPolicy("vue",{createHTML:e=>e})}catch{}const yl=dr?e=>dr.createHTML(e):e=>e,Uf="http://www.w3.org/2000/svg",Kf="http://www.w3.org/1998/Math/MathML",Xe=typeof document<"u"?document:null,mi=Xe&&Xe.createElement("template"),Wf={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 r=t==="svg"?Xe.createElementNS(Uf,e):t==="mathml"?Xe.createElementNS(Kf,e):n?Xe.createElement(e,{is:n}):Xe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Xe.createTextNode(e),createComment:e=>Xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{mi.innerHTML=yl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=mi.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lt="transition",zt="animation",Wt=Symbol("_vtc"),bl={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},vl=se({},Mr,bl),qf=e=>(e.displayName="Transition",e.props=vl,e),Gf=qf((e,{slots:t})=>gl(Co,Tl(e),t)),vt=(e,t=[])=>{$(e)?e.forEach(n=>n(...t)):e&&e(...t)},_i=e=>e?$(e)?e.some(t=>t.length>1):e.length>1:!1;function Tl(e){const t={};for(const x in e)x in bl||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,w=Yf(r),E=w&&w[0],q=w&&w[1],{onBeforeEnter:k,onEnter:R,onEnterCancelled:p,onLeave:g,onLeaveCancelled:T,onBeforeAppear:M=k,onAppear:H=R,onAppearCancelled:C=p}=t,m=(x,B,J,re)=>{x._enterCancelled=re,ct(x,B?a:l),ct(x,B?u:o),J&&J()},b=(x,B)=>{x._isLeaving=!1,ct(x,d),ct(x,y),ct(x,_),B&&B()},L=x=>(B,J)=>{const re=x?H:R,V=()=>m(B,x,J);vt(re,[B,V]),yi(()=>{ct(B,x?c:i),qe(B,x?a:l),_i(re)||bi(B,s,E,V)})};return se(t,{onBeforeEnter(x){vt(k,[x]),qe(x,i),qe(x,o)},onBeforeAppear(x){vt(M,[x]),qe(x,c),qe(x,u)},onEnter:L(!1),onAppear:L(!0),onLeave(x,B){x._isLeaving=!0;const J=()=>b(x,B);qe(x,d),x._enterCancelled?(qe(x,_),hr()):(hr(),qe(x,_)),yi(()=>{x._isLeaving&&(ct(x,d),qe(x,y),_i(g)||bi(x,s,q,J))}),vt(g,[x,J])},onEnterCancelled(x){m(x,!1,void 0,!0),vt(p,[x])},onAppearCancelled(x){m(x,!0,void 0,!0),vt(C,[x])},onLeaveCancelled(x){b(x),vt(T,[x])}})}function Yf(e){if(e==null)return null;if(ne(e))return[Ws(e.enter),Ws(e.leave)];{const t=Ws(e);return[t,t]}}function Ws(e){return Qn(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Wt]||(e[Wt]=new Set)).add(t)}function ct(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Wt];n&&(n.delete(t),n.size||(e[Wt]=void 0))}function yi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Jf=0;function bi(e,t,n,s){const r=e._endId=++Jf,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Cl(e,t);if(!o)return s();const u=o+"end";let a=0;const d=()=>{e.removeEventListener(u,_),i()},_=y=>{y.target===e&&++a>=c&&d()};setTimeout(()=>{a(n[w]||"").split(", "),r=s(`${lt}Delay`),i=s(`${lt}Duration`),o=vi(r,i),l=s(`${zt}Delay`),c=s(`${zt}Duration`),u=vi(l,c);let a=null,d=0,_=0;t===lt?o>0&&(a=lt,d=o,_=i.length):t===zt?u>0&&(a=zt,d=u,_=c.length):(d=Math.max(o,u),a=d>0?o>u?lt:zt:null,_=a?a===lt?i.length:c.length:0);const y=a===lt&&/\b(transform|all)(,|$)/.test(s(`${lt}Property`).toString());return{type:a,timeout:d,propCount:_,hasTransform:y}}function vi(e,t){for(;e.lengthTi(n)+Ti(e[s])))}function Ti(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function hr(){return document.body.offsetHeight}function Qf(e,t,n){const s=e[Wt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cs=Symbol("_vod"),El=Symbol("_vsh"),Kr={beforeMount(e,{value:t},{transition:n}){e[cs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):en(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),en(e,!0),s.enter(e)):s.leave(e,()=>{en(e,!1)}):en(e,t))},beforeUnmount(e,{value:t}){en(e,t)}};function en(e,t){e.style.display=t?e[cs]:"none",e[El]=!t}function Xf(){Kr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const wl=Symbol("");function Zf(e){const t=$e();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>as(i,r))},s=()=>{const r=e(t.proxy);t.ce?as(t.ce,r):pr(t.subTree,r),n(r)};Ir(()=>{mn(s)}),Jt(()=>{Et(s,Le,{flush:"post"});const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Ps(()=>r.disconnect())})}function pr(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{pr(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)as(e.el,t);else if(e.type===ce)e.children.forEach(n=>pr(n,t));else if(e.type===wt){let{el:n,anchor:s}=e;for(;n&&(as(n,t),n!==s);)n=n.nextSibling}}function as(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[wl]=s}}const zf=/(^|;)\s*display\s*:/;function eu(e,t,n){const s=e.style,r=le(n);let i=!1;if(n&&!r){if(t)if(le(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Gn(s,l,"")}else for(const o in t)n[o]==null&&Gn(s,o,"");for(const o in n)o==="display"&&(i=!0),Gn(s,o,n[o])}else if(r){if(t!==n){const o=s[wl];o&&(n+=";"+o),s.cssText=n,i=zf.test(n)}}else t&&e.removeAttribute("style");cs in e&&(e[cs]=i?s.display:"",e[El]&&(s.display="none"))}const Ci=/\s*!important$/;function Gn(e,t,n){if($(n))n.forEach(s=>Gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=tu(e,t);Ci.test(n)?e.setProperty(Ae(s),n.replace(Ci,""),"important"):e[s]=n}}const Ei=["Webkit","Moz","ms"],qs={};function tu(e,t){const n=qs[t];if(n)return n;let s=_e(t);if(s!=="filter"&&s in e)return qs[t]=s;s=En(s);for(let r=0;rGs||(iu.then(()=>Gs=0),Gs=Date.now());function lu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(cu(s,n.value),t,5,[s])};return n.value=e,n.attached=ou(),n}function cu(e,t){if($(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,au=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Qf(e,s,o):t==="style"?eu(e,n,s):Cn(t)?mr(t)||su(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fu(e,t,s,o))?(Si(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xi(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!le(s))?Si(e,_e(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),xi(e,t,s,o))};function fu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Pi(t)&&W(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Pi(t)&&le(n)?!1:t in e}const Mi={};/*! #__NO_SIDE_EFFECTS__ */function xl(e,t,n){const s=Rr(e,t);hs(s)&&se(s,t);class r extends Ns{constructor(o){super(s,o,n)}}return r.def=s,r}/*! #__NO_SIDE_EFFECTS__ */const uu=(e,t)=>xl(e,t,Hl),du=typeof HTMLElement<"u"?HTMLElement:class{};class Ns extends du{constructor(t,n={},s=us){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._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==us?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({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 Ns){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)})}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s{for(const r of s)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:o}=s;let l;if(i&&!$(i))for(const c in i){const u=i[c];(u===Number||u&&u.type===Number)&&(c in this._props&&(this._props[c]=Qn(this._props[c])),(l||(l=Object.create(null)))[_e(c)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),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){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)z(this,s)||Object.defineProperty(this,s,{get:()=>Es(n[s])})}_resolveProps(t){const{props:n}=t,s=$(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r]);for(const r of s.map(_e))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):Mi;const r=_e(t);n&&this._numberProps&&this._numberProps[r]&&(s=Qn(s)),this._setProp(r,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!1){if(n!==this._props[t]&&(n===Mi?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),r&&this._instance&&this._update(),s)){const i=this._ob;i&&i.disconnect(),n===!0?this.setAttribute(Ae(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ae(t),n+""):n||this.removeAttribute(Ae(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Dl(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=ee(this._def,se(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0;const r=(i,o)=>{this.dispatchEvent(new CustomEvent(i,hs(o[0])?se({detail:o},o[0]):{detail:o}))};s.emit=(i,...o)=>{r(i,o),Ae(i)!==i&&r(Ae(i),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 r=t.length-1;r>=0;r--){const i=document.createElement("style");s&&i.setAttribute("nonce",s),i.textContent=t[r],this.shadowRoot.prepend(i)}}_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._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let s=0;s(delete e.props.mode,e),mu=gu({name:"TransitionGroup",props:se({},vl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=$e(),s=Pr();let r,i;return Os(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Tu(r[0].el,n.vnode.el,o)){r=[];return}r.forEach(yu),r.forEach(bu);const l=r.filter(vu);hr(),l.forEach(c=>{const u=c.el,a=u.style;qe(u,o),a.transform=a.webkitTransform=a.transitionDuration="";const d=u[fs]=_=>{_&&_.target!==u||(!_||/transform$/.test(_.propertyName))&&(u.removeEventListener("transitionend",d),u[fs]=null,ct(u,o))};u.addEventListener("transitionend",d)}),r=[]}),()=>{const o=Z(e),l=Tl(o);let c=o.tag||ce;if(r=[],i)for(let u=0;u{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=Cl(s);return i.removeChild(s),o}const _t=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $(t)?n=>kt(t,n):t};function Cu(e){e.target.composing=!0}function Ni(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const De=Symbol("_assign"),Tn={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[De]=_t(r);const i=s||r.props&&r.props.type==="number";et(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Jn(l)),e[De](l)}),n&&et(e,"change",()=>{e.value=e.value.trim()}),t||(et(e,"compositionstart",Cu),et(e,"compositionend",Ni),et(e,"change",Ni))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[De]=_t(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Jn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Wr={deep:!0,created(e,t,n){e[De]=_t(n),et(e,"change",()=>{const s=e._modelValue,r=qt(e),i=e.checked,o=e[De];if($(s)){const l=ms(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const u=[...s];u.splice(l,1),o(u)}}else if(Ot(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(Ml(e,i))})},mounted:Ii,beforeUpdate(e,t,n){e[De]=_t(n),Ii(e,t,n)}};function Ii(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if($(t))r=ms(t,s.props.value)>-1;else if(Ot(t))r=t.has(s.props.value);else{if(t===n)return;r=mt(t,Ml(e,!0))}e.checked!==r&&(e.checked=r)}const qr={created(e,{value:t},n){e.checked=mt(t,n.props.value),e[De]=_t(n),et(e,"change",()=>{e[De](qt(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[De]=_t(s),t!==n&&(e.checked=mt(t,s.props.value))}},Pl={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Ot(t);et(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Jn(qt(o)):qt(o));e[De](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,xn(()=>{e._assigning=!1})}),e[De]=_t(s)},mounted(e,{value:t}){Li(e,t)},beforeUpdate(e,t,n){e[De]=_t(n)},updated(e,{value:t}){e._assigning||Li(e,t)}};function Li(e,t){const n=e.multiple,s=$(t);if(!(n&&!s&&!Ot(t))){for(let r=0,i=e.options.length;rString(u)===String(l)):o.selected=ms(t,l)>-1}else o.selected=t.has(l);else if(mt(qt(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function qt(e){return"_value"in e?e._value:e.value}function Ml(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Rl={created(e,t,n){Vn(e,t,n,null,"created")},mounted(e,t,n){Vn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Vn(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Vn(e,t,n,s,"updated")}};function Nl(e,t){switch(e){case"SELECT":return Pl;case"TEXTAREA":return Tn;default:switch(t){case"checkbox":return Wr;case"radio":return qr;default:return Tn}}}function Vn(e,t,n,s,r){const o=Nl(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}function Eu(){Tn.getSSRProps=({value:e})=>({value:e}),qr.getSSRProps=({value:e},t)=>{if(t.props&&mt(t.props.value,e))return{checked:!0}},Wr.getSSRProps=({value:e},t)=>{if($(e)){if(t.props&&ms(e,t.props.value)>-1)return{checked:!0}}else if(Ot(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Rl.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Nl(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const wu=["ctrl","shift","alt","meta"],xu={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)=>wu.some(n=>e[`${n}Key`]&&!t.includes(n))},Yn=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=Ae(r.key);if(t.some(o=>o===i||Su[o]===i))return e(r)})},Il=se({patchProp:au},Wf);let un,Fi=!1;function Ll(){return un||(un=Wo(Il))}function Fl(){return un=Fi?un:qo(Il),Fi=!0,un}const Dl=(...e)=>{Ll().render(...e)},Ou=(...e)=>{Fl().hydrate(...e)},us=(...e)=>{const t=Ll().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=kl(s);if(!r)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,$l(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Hl=(...e)=>{const t=Fl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=kl(s);if(r)return n(r,!0,$l(r))},t};function $l(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function kl(e){return le(e)?document.querySelector(e):e}let Di=!1;const Au=()=>{Di||(Di=!0,Eu(),Xf())};/** +**/let dr;const gi=typeof window<"u"&&window.trustedTypes;if(gi)try{dr=gi.createPolicy("vue",{createHTML:e=>e})}catch{}const yl=dr?e=>dr.createHTML(e):e=>e,Uf="http://www.w3.org/2000/svg",Kf="http://www.w3.org/1998/Math/MathML",Xe=typeof document<"u"?document:null,mi=Xe&&Xe.createElement("template"),Wf={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 r=t==="svg"?Xe.createElementNS(Uf,e):t==="mathml"?Xe.createElementNS(Kf,e):n?Xe.createElement(e,{is:n}):Xe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Xe.createTextNode(e),createComment:e=>Xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{mi.innerHTML=yl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=mi.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lt="transition",en="animation",Wt=Symbol("_vtc"),bl={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},vl=se({},Mr,bl),qf=e=>(e.displayName="Transition",e.props=vl,e),Gf=qf((e,{slots:t})=>gl(Co,Tl(e),t)),Tt=(e,t=[])=>{$(e)?e.forEach(n=>n(...t)):e&&e(...t)},_i=e=>e?$(e)?e.some(t=>t.length>1):e.length>1:!1;function Tl(e){const t={};for(const x in e)x in bl||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,w=Yf(r),E=w&&w[0],q=w&&w[1],{onBeforeEnter:k,onEnter:R,onEnterCancelled:p,onLeave:g,onLeaveCancelled:T,onBeforeAppear:M=k,onAppear:H=R,onAppearCancelled:C=p}=t,m=(x,B,J,re)=>{x._enterCancelled=re,ct(x,B?a:l),ct(x,B?u:o),J&&J()},b=(x,B)=>{x._isLeaving=!1,ct(x,d),ct(x,y),ct(x,_),B&&B()},L=x=>(B,J)=>{const re=x?H:R,V=()=>m(B,x,J);Tt(re,[B,V]),yi(()=>{ct(B,x?c:i),qe(B,x?a:l),_i(re)||bi(B,s,E,V)})};return se(t,{onBeforeEnter(x){Tt(k,[x]),qe(x,i),qe(x,o)},onBeforeAppear(x){Tt(M,[x]),qe(x,c),qe(x,u)},onEnter:L(!1),onAppear:L(!0),onLeave(x,B){x._isLeaving=!0;const J=()=>b(x,B);qe(x,d),x._enterCancelled?(qe(x,_),hr()):(hr(),qe(x,_)),yi(()=>{x._isLeaving&&(ct(x,d),qe(x,y),_i(g)||bi(x,s,q,J))}),Tt(g,[x,J])},onEnterCancelled(x){m(x,!1,void 0,!0),Tt(p,[x])},onAppearCancelled(x){m(x,!0,void 0,!0),Tt(C,[x])},onLeaveCancelled(x){b(x),Tt(T,[x])}})}function Yf(e){if(e==null)return null;if(ne(e))return[Ws(e.enter),Ws(e.leave)];{const t=Ws(e);return[t,t]}}function Ws(e){return Xn(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Wt]||(e[Wt]=new Set)).add(t)}function ct(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Wt];n&&(n.delete(t),n.size||(e[Wt]=void 0))}function yi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Jf=0;function bi(e,t,n,s){const r=e._endId=++Jf,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Cl(e,t);if(!o)return s();const u=o+"end";let a=0;const d=()=>{e.removeEventListener(u,_),i()},_=y=>{y.target===e&&++a>=c&&d()};setTimeout(()=>{a(n[w]||"").split(", "),r=s(`${lt}Delay`),i=s(`${lt}Duration`),o=vi(r,i),l=s(`${en}Delay`),c=s(`${en}Duration`),u=vi(l,c);let a=null,d=0,_=0;t===lt?o>0&&(a=lt,d=o,_=i.length):t===en?u>0&&(a=en,d=u,_=c.length):(d=Math.max(o,u),a=d>0?o>u?lt:en:null,_=a?a===lt?i.length:c.length:0);const y=a===lt&&/\b(transform|all)(,|$)/.test(s(`${lt}Property`).toString());return{type:a,timeout:d,propCount:_,hasTransform:y}}function vi(e,t){for(;e.lengthTi(n)+Ti(e[s])))}function Ti(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function hr(){return document.body.offsetHeight}function Qf(e,t,n){const s=e[Wt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cs=Symbol("_vod"),El=Symbol("_vsh"),Kr={beforeMount(e,{value:t},{transition:n}){e[cs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):tn(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),tn(e,!0),s.enter(e)):s.leave(e,()=>{tn(e,!1)}):tn(e,t))},beforeUnmount(e,{value:t}){tn(e,t)}};function tn(e,t){e.style.display=t?e[cs]:"none",e[El]=!t}function Xf(){Kr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const wl=Symbol("");function Zf(e){const t=$e();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>as(i,r))},s=()=>{const r=e(t.proxy);t.ce?as(t.ce,r):pr(t.subTree,r),n(r)};Ir(()=>{_n(s)}),Jt(()=>{wt(s,Fe,{flush:"post"});const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Ps(()=>r.disconnect())})}function pr(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{pr(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)as(e.el,t);else if(e.type===ce)e.children.forEach(n=>pr(n,t));else if(e.type===xt){let{el:n,anchor:s}=e;for(;n&&(as(n,t),n!==s);)n=n.nextSibling}}function as(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[wl]=s}}const zf=/(^|;)\s*display\s*:/;function eu(e,t,n){const s=e.style,r=le(n);let i=!1;if(n&&!r){if(t)if(le(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Yn(s,l,"")}else for(const o in t)n[o]==null&&Yn(s,o,"");for(const o in n)o==="display"&&(i=!0),Yn(s,o,n[o])}else if(r){if(t!==n){const o=s[wl];o&&(n+=";"+o),s.cssText=n,i=zf.test(n)}}else t&&e.removeAttribute("style");cs in e&&(e[cs]=i?s.display:"",e[El]&&(s.display="none"))}const Ci=/\s*!important$/;function Yn(e,t,n){if($(n))n.forEach(s=>Yn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=tu(e,t);Ci.test(n)?e.setProperty(Ae(s),n.replace(Ci,""),"important"):e[s]=n}}const Ei=["Webkit","Moz","ms"],qs={};function tu(e,t){const n=qs[t];if(n)return n;let s=_e(t);if(s!=="filter"&&s in e)return qs[t]=s;s=xn(s);for(let r=0;rGs||(iu.then(()=>Gs=0),Gs=Date.now());function lu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(cu(s,n.value),t,5,[s])};return n.value=e,n.attached=ou(),n}function cu(e,t){if($(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,au=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Qf(e,s,o):t==="style"?eu(e,n,s):wn(t)?mr(t)||su(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fu(e,t,s,o))?(Si(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xi(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!le(s))?Si(e,_e(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),xi(e,t,s,o))};function fu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Pi(t)&&W(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Pi(t)&&le(n)?!1:t in e}const Mi={};/*! #__NO_SIDE_EFFECTS__ */function xl(e,t,n){const s=Rr(e,t);hs(s)&&se(s,t);class r extends Ns{constructor(o){super(s,o,n)}}return r.def=s,r}/*! #__NO_SIDE_EFFECTS__ */const uu=(e,t)=>xl(e,t,Hl),du=typeof HTMLElement<"u"?HTMLElement:class{};class Ns extends du{constructor(t,n={},s=us){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._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==us?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({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 Ns){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,On(()=>{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)})}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s{for(const r of s)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:o}=s;let l;if(i&&!$(i))for(const c in i){const u=i[c];(u===Number||u&&u.type===Number)&&(c in this._props&&(this._props[c]=Xn(this._props[c])),(l||(l=Object.create(null)))[_e(c)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),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){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)z(this,s)||Object.defineProperty(this,s,{get:()=>Es(n[s])})}_resolveProps(t){const{props:n}=t,s=$(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r]);for(const r of s.map(_e))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):Mi;const r=_e(t);n&&this._numberProps&&this._numberProps[r]&&(s=Xn(s)),this._setProp(r,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!1){if(n!==this._props[t]&&(n===Mi?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),r&&this._instance&&this._update(),s)){const i=this._ob;i&&i.disconnect(),n===!0?this.setAttribute(Ae(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ae(t),n+""):n||this.removeAttribute(Ae(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Dl(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=ee(this._def,se(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0;const r=(i,o)=>{this.dispatchEvent(new CustomEvent(i,hs(o[0])?se({detail:o},o[0]):{detail:o}))};s.emit=(i,...o)=>{r(i,o),Ae(i)!==i&&r(Ae(i),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 r=t.length-1;r>=0;r--){const i=document.createElement("style");s&&i.setAttribute("nonce",s),i.textContent=t[r],this.shadowRoot.prepend(i)}}_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._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let s=0;s(delete e.props.mode,e),mu=gu({name:"TransitionGroup",props:se({},vl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=$e(),s=Pr();let r,i;return Os(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Tu(r[0].el,n.vnode.el,o)){r=[];return}r.forEach(yu),r.forEach(bu);const l=r.filter(vu);hr(),l.forEach(c=>{const u=c.el,a=u.style;qe(u,o),a.transform=a.webkitTransform=a.transitionDuration="";const d=u[fs]=_=>{_&&_.target!==u||(!_||/transform$/.test(_.propertyName))&&(u.removeEventListener("transitionend",d),u[fs]=null,ct(u,o))};u.addEventListener("transitionend",d)}),r=[]}),()=>{const o=Z(e),l=Tl(o);let c=o.tag||ce;if(r=[],i)for(let u=0;u{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=Cl(s);return i.removeChild(s),o}const _t=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $(t)?n=>kt(t,n):t};function Cu(e){e.target.composing=!0}function Ni(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const De=Symbol("_assign"),En={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[De]=_t(r);const i=s||r.props&&r.props.type==="number";et(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Qn(l)),e[De](l)}),n&&et(e,"change",()=>{e.value=e.value.trim()}),t||(et(e,"compositionstart",Cu),et(e,"compositionend",Ni),et(e,"change",Ni))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[De]=_t(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Qn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Wr={deep:!0,created(e,t,n){e[De]=_t(n),et(e,"change",()=>{const s=e._modelValue,r=qt(e),i=e.checked,o=e[De];if($(s)){const l=ms(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const u=[...s];u.splice(l,1),o(u)}}else if(At(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(Ml(e,i))})},mounted:Ii,beforeUpdate(e,t,n){e[De]=_t(n),Ii(e,t,n)}};function Ii(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if($(t))r=ms(t,s.props.value)>-1;else if(At(t))r=t.has(s.props.value);else{if(t===n)return;r=mt(t,Ml(e,!0))}e.checked!==r&&(e.checked=r)}const qr={created(e,{value:t},n){e.checked=mt(t,n.props.value),e[De]=_t(n),et(e,"change",()=>{e[De](qt(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[De]=_t(s),t!==n&&(e.checked=mt(t,s.props.value))}},Pl={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=At(t);et(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Qn(qt(o)):qt(o));e[De](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,On(()=>{e._assigning=!1})}),e[De]=_t(s)},mounted(e,{value:t}){Li(e,t)},beforeUpdate(e,t,n){e[De]=_t(n)},updated(e,{value:t}){e._assigning||Li(e,t)}};function Li(e,t){const n=e.multiple,s=$(t);if(!(n&&!s&&!At(t))){for(let r=0,i=e.options.length;rString(u)===String(l)):o.selected=ms(t,l)>-1}else o.selected=t.has(l);else if(mt(qt(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function qt(e){return"_value"in e?e._value:e.value}function Ml(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Rl={created(e,t,n){jn(e,t,n,null,"created")},mounted(e,t,n){jn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){jn(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){jn(e,t,n,s,"updated")}};function Nl(e,t){switch(e){case"SELECT":return Pl;case"TEXTAREA":return En;default:switch(t){case"checkbox":return Wr;case"radio":return qr;default:return En}}}function jn(e,t,n,s,r){const o=Nl(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}function Eu(){En.getSSRProps=({value:e})=>({value:e}),qr.getSSRProps=({value:e},t)=>{if(t.props&&mt(t.props.value,e))return{checked:!0}},Wr.getSSRProps=({value:e},t)=>{if($(e)){if(t.props&&ms(e,t.props.value)>-1)return{checked:!0}}else if(At(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Rl.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Nl(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const wu=["ctrl","shift","alt","meta"],xu={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)=>wu.some(n=>e[`${n}Key`]&&!t.includes(n))},Jn=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=Ae(r.key);if(t.some(o=>o===i||Su[o]===i))return e(r)})},Il=se({patchProp:au},Wf);let dn,Fi=!1;function Ll(){return dn||(dn=Wo(Il))}function Fl(){return dn=Fi?dn:qo(Il),Fi=!0,dn}const Dl=(...e)=>{Ll().render(...e)},Ou=(...e)=>{Fl().hydrate(...e)},us=(...e)=>{const t=Ll().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=kl(s);if(!r)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,$l(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Hl=(...e)=>{const t=Fl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=kl(s);if(r)return n(r,!0,$l(r))},t};function $l(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function kl(e){return le(e)?document.querySelector(e):e}let Di=!1;const Au=()=>{Di||(Di=!0,Eu(),Xf())};/** * vue v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Pu=()=>{},Mu=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Co,BaseTransitionPropsValidators:Mr,Comment:ae,DeprecationTypes:jf,EffectScope:vr,ErrorCodes:Jc,ErrorTypeStrings:Ff,Fragment:ce,KeepAlive:Ta,ReactiveEffect:hn,Static:wt,Suspense:mf,Teleport:sa,Text:gt,TrackOpTypes:jc,Transition:Gf,TransitionGroup:_u,TriggerOpTypes:Uc,VueElement:Ns,assertNumber:Yc,callWithAsyncErrorHandling:He,callWithErrorHandling:Yt,camelize:_e,capitalize:En,cloneVNode:Je,compatUtils:Vf,compile:Pu,computed:pl,createApp:us,createBlock:is,createCommentVNode:or,createElementBlock:Re,createElementVNode:Fe,createHydrationRenderer:qo,createPropsRestProxy:ja,createRenderer:Wo,createSSRApp:Hl,createSlots:Oa,createStaticVNode:wf,createTextVNode:jr,createVNode:ee,customRef:lo,defineAsyncComponent:ba,defineComponent:Rr,defineCustomElement:xl,defineEmits:Na,defineExpose:Ia,defineModel:Da,defineOptions:La,defineProps:Ra,defineSSRCustomElement:uu,defineSlots:Fa,devtools:Df,effect:fc,effectScope:lc,getCurrentInstance:$e,getCurrentScope:Vi,getCurrentWatcher:Kc,getTransitionRawChildren:xs,guardReactiveProps:ll,h:gl,handleError:Pt,hasInjectionContext:Xa,hydrate:Ou,hydrateOnIdle:ha,hydrateOnInteraction:_a,hydrateOnMediaQuery:ma,hydrateOnVisible:ga,initCustomFormatter:Nf,initDirectivesForSSR:Au,inject:an,isMemoSame:ml,isProxy:Cs,isReactive:ht,isReadonly:st,isRef:pe,isRuntimeOnly:Pf,isShallow:Ne,isVNode:it,markRaw:ro,mergeDefaults:Ba,mergeModels:Va,mergeProps:cl,nextTick:xn,normalizeClass:At,normalizeProps:sc,normalizeStyle:wn,onActivated:wo,onBeforeMount:Oo,onBeforeUnmount:As,onBeforeUpdate:Ir,onDeactivated:xo,onErrorCaptured:Ro,onMounted:Jt,onRenderTracked:Mo,onRenderTriggered:Po,onScopeDispose:cc,onServerPrefetch:Ao,onUnmounted:Ps,onUpdated:Os,onWatcherCleanup:ao,openBlock:me,popScopeId:ea,provide:Do,proxyRefs:xr,pushScopeId:zc,queuePostFlushCb:mn,reactive:vs,readonly:wr,ref:Ve,registerRuntimeCompiler:Af,render:Dl,renderList:Dr,renderSlot:Aa,resolveComponent:wa,resolveDirective:Sa,resolveDynamicComponent:xa,resolveFilter:Bf,resolveTransitionHooks:Ut,setBlockTracking:ir,setDevtoolsHook:Hf,setTransitionHooks:rt,shallowReactive:so,shallowReadonly:Mc,shallowRef:io,ssrContextKey:Qo,ssrUtils:kf,stop:uc,toDisplayString:dn,toHandlerKey:sn,toHandlers:Pa,toRaw:Z,toRef:kc,toRefs:Dc,toValue:Ic,transformVNodeArgs:Cf,triggerRef:Nc,unref:Es,useAttrs:ka,useCssModule:pu,useCssVars:Zf,useHost:Sl,useId:ia,useModel:af,useSSRContext:Xo,useShadowRoot:hu,useSlots:$a,useTemplateRef:oa,useTransitionState:Pr,vModelCheckbox:Wr,vModelDynamic:Rl,vModelRadio:qr,vModelSelect:Pl,vModelText:Tn,vShow:Kr,version:_l,warn:Lf,watch:Et,watchEffect:of,watchPostEffect:lf,watchSyncEffect:Zo,withAsyncContext:Ua,withCtx:Or,withDefaults:Ha,withDirectives:Ar,withKeys:gr,withMemo:If,withModifiers:Yn,withScopeId:ta},Symbol.toStringTag,{value:"Module"})),Pn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ru={class:"sidebar"},Nu={class:"chat-list"},Iu=["onClick"],Lu={__name:"ChatSidebar",props:{chats:{type:Array,required:!0},currentChatId:{type:String,default:""}},emits:["select-chat","create-chat"],setup(e){return(t,n)=>(me(),Re("aside",Ru,[n[1]||(n[1]=Fe("h2",null,"🗂️ Chats",-1)),Fe("button",{class:"new-chat-btn",onClick:n[0]||(n[0]=s=>t.$emit("create-chat"))}," ➕ Nuevo chat "),Fe("ul",Nu,[(me(!0),Re(ce,null,Dr(e.chats,s=>(me(),Re("li",{key:s.id,class:At({active:s.id===e.currentChatId}),onClick:r=>t.$emit("select-chat",s.id)},dn(s.name),11,Iu))),128))])]))}},Fu=Pn(Lu,[["__scopeId","data-v-cd451cf6"]]),Du={formatDate(e){if(!e)return"";const t=new Date(e),n=t.getDate().toString().padStart(2,"0"),s=(t.getMonth()+1).toString().padStart(2,"0"),r=t.getFullYear(),i=t.getHours().toString().padStart(2,"0"),o=t.getMinutes().toString().padStart(2,"0");return`${n}/${s}/${r} ${i}:${o}`}},Hu={class:"timestamp"},$u={key:0,class:"spinner"},ku={key:1,class:"thinking-text"},Bu={__name:"ChatMessages",props:{messages:{type:Array,required:!0},isLoading:{type:Boolean,default:!1}},setup(e){const t=e,n=Ve(null);Et(()=>t.messages.length,async()=>{await xn(),n.value&&(n.value.scrollTop=n.value.scrollHeight)});const s=r=>Du.formatDate(r);return(r,i)=>(me(),Re(ce,null,[Fe("div",{class:"chat-log",ref_key:"chatLog",ref:n},[(me(!0),Re(ce,null,Dr(e.messages,(o,l)=>Ar((me(),Re("div",{key:l,class:At(["bubble",o.role])},[Fe("span",null,dn(o.text),1),Fe("em",Hu,dn(s(o.date)),1)],2)),[[Kr,o.text]])),128))],512),e.isLoading?(me(),Re("div",$u)):or("",!0),e.isLoading?(me(),Re("div",ku,"Pensando...")):or("",!0)],64))}},Vu=Pn(Bu,[["__scopeId","data-v-96cd1719"]]),ju=["disabled","onKeydown"],Uu=["disabled"],Ku={__name:"ChatForm",props:{disabled:{type:Boolean,default:!1}},emits:["send-message"],setup(e,{emit:t}){const n=t,s=Ve(""),r=()=>{s.value.trim()&&(n("send-message",s.value.trim()),s.value="")},i=()=>{s.value+=` -`};return(o,l)=>(me(),Re("form",{class:"chat-form",onSubmit:Yn(r,["prevent"])},[Ar(Fe("textarea",{"onUpdate:modelValue":l[0]||(l[0]=c=>s.value=c),"aria-label":"Pregunta del usuario",placeholder:"Escribe tu mensaje...",autocomplete:"off",required:"",disabled:e.disabled,onKeydown:[gr(Yn(r,["exact","prevent"]),["enter"]),gr(Yn(i,["shift","exact"]),["enter"])]},null,40,ju),[[Tn,s.value]]),Fe("button",{type:"submit",disabled:e.disabled||!s.value.trim()}," Enviar ",8,Uu)],32))}},Wu=Pn(Ku,[["__scopeId","data-v-dca915bb"]]),qu={class:"main-content"},Gu={__name:"ChatMain",props:{messages:{type:Array,required:!0},isLoading:{type:Boolean,default:!1}},emits:["send-message"],setup(e,{emit:t}){const n=t,s=r=>{n("send-message",r)};return(r,i)=>(me(),Re("main",qu,[i[0]||(i[0]=Fe("h1",{class:"main-title"},"🤖 Chat IA Offline",-1)),ee(Vu,{messages:e.messages,"is-loading":e.isLoading},null,8,["messages","is-loading"]),ee(Wu,{onSendMessage:s,disabled:e.isLoading},null,8,["disabled"])]))}},Yu=Pn(Gu,[["__scopeId","data-v-2c6be2f2"]]);var Ju=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Xu(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function s(){return this instanceof s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var Bl={exports:{}};const Zu=Xu(Mu);(function(e,t){(function(s,r){e.exports=r(Zu)})(Ju,n=>(()=>{var s={113:(C,m)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.default=(b,L)=>{const x=b.__vccOpts||b;for(const[B,J]of L)x[B]=J;return x}},594:C=>{C.exports=n}},r={};function i(C){var m=r[C];if(m!==void 0)return m.exports;var b=r[C]={exports:{}};return s[C](b,b.exports,i),b.exports}i.d=(C,m)=>{for(var b in m)i.o(m,b)&&!i.o(C,b)&&Object.defineProperty(C,b,{enumerable:!0,get:m[b]})},i.o=(C,m)=>Object.prototype.hasOwnProperty.call(C,m),i.r=C=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>g,ToastPlugin:()=>M,ToastPositions:()=>y,default:()=>H,useToast:()=>T});var l=i(594);const c=["innerHTML"];function u(C,m,b,L,x,B){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":C.transition.enter,"leave-active-class":C.transition.leave},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"root",role:"alert",class:(0,l.normalizeClass)(["v-toast__item",[`v-toast__item--${C.type}`,`v-toast__item--${C.position}`]]),onMouseover:m[0]||(m[0]=J=>C.toggleTimer(!0)),onMouseleave:m[1]||(m[1]=J=>C.toggleTimer(!1)),onClick:m[2]||(m[2]=function(){return C.whenClicked&&C.whenClicked(...arguments)})},[m[3]||(m[3]=(0,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:C.message},null,8,c)],34),[[l.vShow,C.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function a(C){var m;typeof C.remove<"u"?C.remove():(m=C.parentNode)==null||m.removeChild(C)}function d(C,m,b){let L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const x=(0,l.h)(C,m,L),B=document.createElement("div");return B.classList.add("v-toast--pending"),b.appendChild(B),(0,l.render)(x,B),x.component}class _{constructor(m,b){this.startedAt=Date.now(),this.callback=m,this.delay=b,this.timer=setTimeout(m,b)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const y=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function w(C){return{all:C=C||new Map,on:function(m,b){var L=C.get(m);L?L.push(b):C.set(m,[b])},off:function(m,b){var L=C.get(m);L&&(b?L.splice(L.indexOf(b)>>>0,1):C.set(m,[]))},emit:function(m,b){var L=C.get(m);L&&L.slice().map(function(x){x(b)}),(L=C.get("*"))&&L.slice().map(function(x){x(m,b)})}}}const q=w(),k=(0,l.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:y.BOTTOM_RIGHT,validator(C){return Object.values(y).includes(C)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),q.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const C=document.body;C.appendChild(this.parentTop),C.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const C=this.$refs.root;(0,l.render)(null,C),a(C)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const C=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),a(C),this.isActive=!0,this.duration&&(this.timer=new _(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(C){!this.pauseOnHover||!this.timer||(C?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case y.TOP:case y.TOP_RIGHT:case y.TOP_LEFT:return this.parentTop;case y.BOTTOM:case y.BOTTOM_RIGHT:case y.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case y.TOP:case y.TOP_RIGHT:case y.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case y.BOTTOM:case y.BOTTOM_RIGHT:case y.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){q.off("toast-clear",this.dismiss)}});var R=i(113);const g=(0,R.default)(k,[["render",u]]),T=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(m){let b=null;typeof m=="string"&&(b=m);const x=Object.assign({},{message:b},C,m);return{dismiss:d(g,x,document.body).ctx.dismiss}},clear(){q.emit("toast-clear")},success(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"success"},b))},error(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"error"},b))},info(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"info"},b))},warning(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"warning"},b))},default(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"default"},b))}}},M={install:function(C){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=T(m);C.config.globalProperties.$toast=b,C.provide("$toast",b)}},H=M;return o})())})(Bl);var Vl=Bl.exports;const zu=Qu(Vl),jn=Vl.useToast();class ed{async getChats(){try{const t=await fetch("/api/v1/chats",{method:"GET"});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return await t.json()}catch(t){throw console.error("Error fetching chats:",t),jn.error("Error loading chats"),t}}async createChat(){try{const t=await fetch("/api/v1/chats",{method:"POST"});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return await t.text()}catch(t){throw console.error("Error creating chat:",t),jn.error("Could not create chat"),t}}async getChatMessages(t){try{const n=await fetch(`/api/v1/chats/${t}`);if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);return await n.json()}catch(n){throw console.error("Error fetching messages:",n),jn.error("Failed to load messages"),n}}async sendMessage(t,n){try{const s=await fetch(`/api/v1/chats/${t}`,{method:"PUT",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({prompt:n})});if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);return await s.json()}catch(s){throw console.error("Error sending message:",s),jn.error("Message could not be sent"),s}}}const Un=new ed,td={class:"layout-container"},nd={__name:"ChatLayout",setup(e){const t=Ve(""),n=Ve([]),s=Ve([]),r=Ve(!1),i=async()=>{try{const a=await Un.getChats();n.value=a,!t.value&&a.length>0&&(t.value=a[0].id,await o(t.value))}catch(a){console.error("Error cargando historial:",a)}},o=async a=>{try{const d=await Un.getChatMessages(a);s.value=d}catch(d){console.error("Error al cargar mensajes:",d),s.value.push({role:"bot",text:"❌ Error cargando mensajes del chat.",date:new Date().toISOString()})}},l=async a=>{a!==t.value&&(t.value=a,await o(t.value))},c=async()=>{try{const a=await Un.createChat();t.value=a,await i(),await o(t.value)}catch(a){console.error("Error al crear nuevo chat:",a),s.value&&s.value.push({role:"bot",text:"❌ Error creando nuevo chat.",date:new Date().toISOString()})}},u=async a=>{t.value||await c();const d={role:"user",text:a,date:new Date().toISOString()};s.value.push(d),r.value=!0;try{const _=await Un.sendMessage(t.value,a);t.value=_.chatId;const y={role:"bot",text:_.text,date:_.date};s.value.push(y),await i()}catch(_){console.error("Error enviando mensaje:",_),s.value.push({role:"bot",text:"❌ Error procesando la respuesta.",date:new Date().toISOString()})}finally{r.value=!1}};return Jt(async()=>{await i()}),(a,d)=>(me(),Re("div",td,[ee(Fu,{chats:n.value,"current-chat-id":t.value,onSelectChat:l,onCreateChat:c},null,8,["chats","current-chat-id"]),ee(Yu,{messages:s.value,"is-loading":r.value,onSendMessage:u},null,8,["messages","is-loading"])]))}},sd=Pn(nd,[["__scopeId","data-v-643ced73"]]),rd={id:"app"},id={__name:"App",setup(e){return(t,n)=>(me(),Re("div",rd,[ee(sd)]))}},jl=us(id);jl.use(zu,{position:"top-left",duration:1e3,dismissible:!0,queue:!0,maxToasts:3,pauseOnHover:!0,animation:"slide"});jl.mount("#app"); +**/const Pu=()=>{},Mu=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Co,BaseTransitionPropsValidators:Mr,Comment:ae,DeprecationTypes:jf,EffectScope:vr,ErrorCodes:Jc,ErrorTypeStrings:Ff,Fragment:ce,KeepAlive:Ta,ReactiveEffect:pn,Static:xt,Suspense:mf,Teleport:sa,Text:gt,TrackOpTypes:jc,Transition:Gf,TransitionGroup:_u,TriggerOpTypes:Uc,VueElement:Ns,assertNumber:Yc,callWithAsyncErrorHandling:He,callWithErrorHandling:Yt,camelize:_e,capitalize:xn,cloneVNode:Je,compatUtils:Vf,compile:Pu,computed:pl,createApp:us,createBlock:Cn,createCommentVNode:or,createElementBlock:Ne,createElementVNode:Pe,createHydrationRenderer:qo,createPropsRestProxy:ja,createRenderer:Wo,createSSRApp:Hl,createSlots:Oa,createStaticVNode:wf,createTextVNode:jr,createVNode:ee,customRef:lo,defineAsyncComponent:ba,defineComponent:Rr,defineCustomElement:xl,defineEmits:Na,defineExpose:Ia,defineModel:Da,defineOptions:La,defineProps:Ra,defineSSRCustomElement:uu,defineSlots:Fa,devtools:Df,effect:fc,effectScope:lc,getCurrentInstance:$e,getCurrentScope:Vi,getCurrentWatcher:Kc,getTransitionRawChildren:xs,guardReactiveProps:ll,h:gl,handleError:Pt,hasInjectionContext:Xa,hydrate:Ou,hydrateOnIdle:ha,hydrateOnInteraction:_a,hydrateOnMediaQuery:ma,hydrateOnVisible:ga,initCustomFormatter:Nf,initDirectivesForSSR:Au,inject:fn,isMemoSame:ml,isProxy:Cs,isReactive:ht,isReadonly:st,isRef:pe,isRuntimeOnly:Pf,isShallow:Ie,isVNode:it,markRaw:ro,mergeDefaults:Ba,mergeModels:Va,mergeProps:cl,nextTick:On,normalizeClass:yt,normalizeProps:sc,normalizeStyle:Sn,onActivated:wo,onBeforeMount:Oo,onBeforeUnmount:As,onBeforeUpdate:Ir,onDeactivated:xo,onErrorCaptured:Ro,onMounted:Jt,onRenderTracked:Mo,onRenderTriggered:Po,onScopeDispose:cc,onServerPrefetch:Ao,onUnmounted:Ps,onUpdated:Os,onWatcherCleanup:ao,openBlock:ge,popScopeId:ea,provide:Do,proxyRefs:xr,pushScopeId:zc,queuePostFlushCb:_n,reactive:vs,readonly:wr,ref:Ve,registerRuntimeCompiler:Af,render:Dl,renderList:Dr,renderSlot:Aa,resolveComponent:wa,resolveDirective:Sa,resolveDynamicComponent:xa,resolveFilter:Bf,resolveTransitionHooks:Ut,setBlockTracking:ir,setDevtoolsHook:Hf,setTransitionHooks:rt,shallowReactive:so,shallowReadonly:Mc,shallowRef:io,ssrContextKey:Qo,ssrUtils:kf,stop:uc,toDisplayString:hn,toHandlerKey:rn,toHandlers:Pa,toRaw:Z,toRef:kc,toRefs:Dc,toValue:Ic,transformVNodeArgs:Cf,triggerRef:Nc,unref:Es,useAttrs:ka,useCssModule:pu,useCssVars:Zf,useHost:Sl,useId:ia,useModel:af,useSSRContext:Xo,useShadowRoot:hu,useSlots:$a,useTemplateRef:oa,useTransitionState:Pr,vModelCheckbox:Wr,vModelDynamic:Rl,vModelRadio:qr,vModelSelect:Pl,vModelText:En,vShow:Kr,version:_l,warn:Lf,watch:wt,watchEffect:of,watchPostEffect:lf,watchSyncEffect:Zo,withAsyncContext:Ua,withCtx:Or,withDefaults:Ha,withDirectives:Ar,withKeys:gr,withMemo:If,withModifiers:Jn,withScopeId:ta},Symbol.toStringTag,{value:"Module"})),Qt=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ru={class:"sidebar"},Nu={class:"chat-list"},Iu=["onClick"],Lu={__name:"ChatSidebar",props:{chats:{type:Array,required:!0},currentChatId:{type:String,default:""}},emits:["select-chat","create-chat"],setup(e){return(t,n)=>(ge(),Ne("aside",Ru,[n[1]||(n[1]=Pe("h2",null,"🗂️ Chats",-1)),Pe("button",{class:"new-chat-btn",onClick:n[0]||(n[0]=s=>t.$emit("create-chat"))}," ➕ Nuevo chat "),Pe("ul",Nu,[(ge(!0),Ne(ce,null,Dr(e.chats,s=>(ge(),Ne("li",{key:s.id,class:yt({active:s.id===e.currentChatId}),onClick:r=>t.$emit("select-chat",s.id)},hn(s.name),11,Iu))),128))])]))}},Fu=Qt(Lu,[["__scopeId","data-v-cd451cf6"]]),Du={__name:"Spinner",props:{overlay:{type:Boolean,default:!1}},setup(e){return(t,n)=>(ge(),Ne("div",{class:yt(["spinner-container",{overlay:e.overlay}])},n[0]||(n[0]=[Pe("svg",{class:"spinner",width:"50",height:"50",viewBox:"0 0 50 50","aria-label":"Cargando",role:"img"},[Pe("circle",{class:"spinner-path",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"})],-1)]),2))}},Hu=Qt(Du,[["__scopeId","data-v-3c00ddcf"]]),$u={class:"timestamp"},ku={key:1,class:"thinking-text"},Bu={__name:"ChatMessages",props:{messages:{type:Array,required:!0},isLoading:{type:Boolean,default:!1}},setup(e){const t=e,n=Ve(null);return wt(()=>t.messages.length,async()=>{await On(),n.value&&(n.value.scrollTop=n.value.scrollHeight)}),(s,r)=>(ge(),Ne(ce,null,[Pe("div",{class:"chat-log",ref_key:"chatLog",ref:n},[(ge(!0),Ne(ce,null,Dr(e.messages,(i,o)=>Ar((ge(),Ne("div",{key:o,class:yt(["bubble",i.role])},[Pe("span",null,hn(i.text),1),Pe("em",$u,hn(i.date),1)],2)),[[Kr,i.text]])),128))],512),e.isLoading?(ge(),Cn(Hu,{key:0,overlay:!1})):or("",!0),e.isLoading?(ge(),Ne("div",ku,"Pensando...")):or("",!0)],64))}},Vu=Qt(Bu,[["__scopeId","data-v-f5568b7c"]]),ju=["disabled","onKeydown"],Uu=["disabled"],Ku={__name:"ChatForm",props:{disabled:{type:Boolean,default:!1}},emits:["send-message"],setup(e,{emit:t}){const n=t,s=Ve(""),r=()=>{s.value.trim()&&(n("send-message",s.value.trim()),s.value="")},i=()=>{s.value+=` +`};return(o,l)=>(ge(),Ne("form",{class:"chat-form",onSubmit:Jn(r,["prevent"])},[Ar(Pe("textarea",{"onUpdate:modelValue":l[0]||(l[0]=c=>s.value=c),"aria-label":"Pregunta del usuario",placeholder:"Escribe tu mensaje...",autocomplete:"off",required:"",disabled:e.disabled,onKeydown:[gr(Jn(r,["exact","prevent"]),["enter"]),gr(Jn(i,["shift","exact"]),["enter"])]},null,40,ju),[[En,s.value]]),Pe("button",{type:"submit",disabled:e.disabled||!s.value.trim()}," Enviar ",8,Uu)],32))}},Wu=Qt(Ku,[["__scopeId","data-v-dca915bb"]]),qu={class:"main-content"},Gu={__name:"ChatMain",props:{messages:{type:Array,required:!0},isLoading:{type:Boolean,default:!1}},emits:["send-message"],setup(e,{emit:t}){const n=t,s=r=>{n("send-message",r)};return(r,i)=>(ge(),Ne("main",qu,[i[0]||(i[0]=Pe("h1",{class:"main-title"},"🤖 Chat IA Offline",-1)),ee(Vu,{messages:e.messages,"is-loading":e.isLoading},null,8,["messages","is-loading"]),ee(Wu,{onSendMessage:s,disabled:e.isLoading},null,8,["disabled"])]))}},Yu=Qt(Gu,[["__scopeId","data-v-2c6be2f2"]]);var Ju=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Xu(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function s(){return this instanceof s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var Bl={exports:{}};const Zu=Xu(Mu);(function(e,t){(function(s,r){e.exports=r(Zu)})(Ju,n=>(()=>{var s={113:(C,m)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.default=(b,L)=>{const x=b.__vccOpts||b;for(const[B,J]of L)x[B]=J;return x}},594:C=>{C.exports=n}},r={};function i(C){var m=r[C];if(m!==void 0)return m.exports;var b=r[C]={exports:{}};return s[C](b,b.exports,i),b.exports}i.d=(C,m)=>{for(var b in m)i.o(m,b)&&!i.o(C,b)&&Object.defineProperty(C,b,{enumerable:!0,get:m[b]})},i.o=(C,m)=>Object.prototype.hasOwnProperty.call(C,m),i.r=C=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>g,ToastPlugin:()=>M,ToastPositions:()=>y,default:()=>H,useToast:()=>T});var l=i(594);const c=["innerHTML"];function u(C,m,b,L,x,B){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":C.transition.enter,"leave-active-class":C.transition.leave},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"root",role:"alert",class:(0,l.normalizeClass)(["v-toast__item",[`v-toast__item--${C.type}`,`v-toast__item--${C.position}`]]),onMouseover:m[0]||(m[0]=J=>C.toggleTimer(!0)),onMouseleave:m[1]||(m[1]=J=>C.toggleTimer(!1)),onClick:m[2]||(m[2]=function(){return C.whenClicked&&C.whenClicked(...arguments)})},[m[3]||(m[3]=(0,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:C.message},null,8,c)],34),[[l.vShow,C.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function a(C){var m;typeof C.remove<"u"?C.remove():(m=C.parentNode)==null||m.removeChild(C)}function d(C,m,b){let L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const x=(0,l.h)(C,m,L),B=document.createElement("div");return B.classList.add("v-toast--pending"),b.appendChild(B),(0,l.render)(x,B),x.component}class _{constructor(m,b){this.startedAt=Date.now(),this.callback=m,this.delay=b,this.timer=setTimeout(m,b)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const y=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function w(C){return{all:C=C||new Map,on:function(m,b){var L=C.get(m);L?L.push(b):C.set(m,[b])},off:function(m,b){var L=C.get(m);L&&(b?L.splice(L.indexOf(b)>>>0,1):C.set(m,[]))},emit:function(m,b){var L=C.get(m);L&&L.slice().map(function(x){x(b)}),(L=C.get("*"))&&L.slice().map(function(x){x(m,b)})}}}const q=w(),k=(0,l.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:y.BOTTOM_RIGHT,validator(C){return Object.values(y).includes(C)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),q.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const C=document.body;C.appendChild(this.parentTop),C.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const C=this.$refs.root;(0,l.render)(null,C),a(C)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const C=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),a(C),this.isActive=!0,this.duration&&(this.timer=new _(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(C){!this.pauseOnHover||!this.timer||(C?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case y.TOP:case y.TOP_RIGHT:case y.TOP_LEFT:return this.parentTop;case y.BOTTOM:case y.BOTTOM_RIGHT:case y.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case y.TOP:case y.TOP_RIGHT:case y.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case y.BOTTOM:case y.BOTTOM_RIGHT:case y.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){q.off("toast-clear",this.dismiss)}});var R=i(113);const g=(0,R.default)(k,[["render",u]]),T=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(m){let b=null;typeof m=="string"&&(b=m);const x=Object.assign({},{message:b},C,m);return{dismiss:d(g,x,document.body).ctx.dismiss}},clear(){q.emit("toast-clear")},success(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"success"},b))},error(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"error"},b))},info(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"info"},b))},warning(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"warning"},b))},default(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"default"},b))}}},M={install:function(C){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=T(m);C.config.globalProperties.$toast=b,C.provide("$toast",b)}},H=M;return o})())})(Bl);var Vl=Bl.exports;const zu=Qu(Vl),Un=Vl.useToast({position:"top-right",duration:3e3,dismissible:!0,queue:!1,pauseOnHover:!0});class ed{async getChats(){try{const t=await fetch("/api/v1/chats",{method:"GET"});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return await t.json()}catch(t){throw console.error("Error fetching chats:",t),Un.error("Error loading chats"),t}}async createChat(){try{const t=await fetch("/api/v1/chats",{method:"POST"});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return await t.text()}catch(t){throw console.error("Error creating chat:",t),Un.error("Could not create chat"),t}}async getChatMessages(t){try{const n=await fetch(`/api/v1/chats/${t}`);if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);return await n.json()}catch(n){throw console.error("Error fetching messages:",n),Un.error("Failed to load messages"),n}}async sendMessage(t,n){try{const s=await fetch(`/api/v1/chats/${t}`,{method:"PUT",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({prompt:n})});if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);return await s.json()}catch(s){throw console.error("Error sending message:",s),Un.error("Message could not be sent"),s}}}const Kn=new ed,td={formatDate(e){if(!e)return"";const t=new Date(e),n=t.getDate().toString().padStart(2,"0"),s=(t.getMonth()+1).toString().padStart(2,"0"),r=t.getFullYear(),i=t.getHours().toString().padStart(2,"0"),o=t.getMinutes().toString().padStart(2,"0");return`${n}/${s}/${r} ${i}:${o}`}},nd={class:"layout-container"},sd={__name:"ChatLayout",setup(e){const t=Ve(""),n=Ve([]),s=Ve([]),r=Ve(!1),i=async()=>{try{const a=await Kn.getChats();n.value=a,!t.value&&a.length>0&&(t.value=a[0].id,await o(t.value))}catch(a){console.error("Error cargando historial:",a)}},o=async a=>{try{const d=await Kn.getChatMessages(a);s.value=d}catch(d){console.error("Error al cargar mensajes:",d)}},l=async a=>{a!==t.value&&(t.value=a,await o(t.value))},c=async()=>{try{const a=await Kn.createChat();t.value=a,await i(),await o(t.value)}catch(a){console.error("Error al crear nuevo chat:",a)}},u=async a=>{t.value||await c();const d={role:"user",text:a,date:td.formatDate(new Date)};s.value.push(d),r.value=!0;try{const _=await Kn.sendMessage(t.value,a);t.value=_.chatId;const y={role:"bot",text:_.text,date:_.date};s.value.push(y),await i()}catch(_){console.error("Error enviando mensaje:",_)}finally{r.value=!1}};return Jt(async()=>{await i()}),(a,d)=>(ge(),Ne("div",nd,[ee(Fu,{chats:n.value,"current-chat-id":t.value,onSelectChat:l,onCreateChat:c},null,8,["chats","current-chat-id"]),ee(Yu,{messages:s.value,"is-loading":r.value,onSendMessage:u},null,8,["messages","is-loading"])]))}},rd=Qt(sd,[["__scopeId","data-v-96dd9922"]]),id={id:"app"},od={__name:"App",setup(e){return(t,n)=>(ge(),Ne("div",id,[ee(rd)]))}},jl=us(od);jl.use(zu);jl.mount("#app"); diff --git a/frontend/dist/index.html b/frontend/dist/index.html index aa35679..40880b2 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -10,8 +10,8 @@ - - + +
diff --git a/frontend/src/components/ChatLayout.vue b/frontend/src/components/ChatLayout.vue index 576c93a..9921976 100644 --- a/frontend/src/components/ChatLayout.vue +++ b/frontend/src/components/ChatLayout.vue @@ -22,6 +22,7 @@ import { ref, onMounted } from 'vue' import ChatSidebar from './ChatSidebar.vue' import ChatMain from './ChatMain.vue' import { chatService } from '../services/chatService.ts' +import { dateUtils } from '../utils/dateUtils.ts' // Estado reactivo const chatId = ref('') @@ -86,7 +87,7 @@ const sendMessage = async (prompt) => { const userMessage = { role: "user", text: prompt, - date: new Date().toISOString() + date: dateUtils.formatDate(new Date()) } messages.value.push(userMessage) diff --git a/frontend/src/components/ChatMessages.vue b/frontend/src/components/ChatMessages.vue index 7d734c0..ec18fd6 100644 --- a/frontend/src/components/ChatMessages.vue +++ b/frontend/src/components/ChatMessages.vue @@ -7,7 +7,7 @@ v-show="msg.text" > {{ msg.text }} - {{ formatDate(msg.date) }} + {{ msg.date }} @@ -17,7 +17,6 @@