diff --git a/cmd/evening_detective/main.go b/cmd/evening_detective/main.go index a329ec9..5a9085f 100644 --- a/cmd/evening_detective/main.go +++ b/cmd/evening_detective/main.go @@ -50,6 +50,9 @@ func main() { log.Fatalln(err) } + clientHost := config.GetHost() + fileHost := config.GetFileHost() + cleaner := cleaner.NewCleaner() formatter := formatter.NewFormatter() @@ -58,18 +61,22 @@ func main() { storyStorage := story_storage.NewFileStoryStorage(storyFilepath) - storyService, err := story_service.NewStoryService(cleaner, formatter, storyStorage) + storyService, err := story_service.NewStoryService( + cleaner, + formatter, + storyStorage, + link.NewLinkService(fileHost), + ) if err != nil { log.Fatalln(err) } - linkService := link.NewLinkService() + linkService := link.NewLinkService(clientHost) passwordGenerator := password.NewPasswordGenerator() pdfGenerator := pdf.NewPDFGenerator() - clientHost := config.GetHost() proto.RegisterEveningDetectiveServer( s, app.NewServer( @@ -79,7 +86,6 @@ func main() { linkService, passwordGenerator, pdfGenerator, - clientHost, ), ), ) diff --git a/cmd/evening_detective/static/user/assets/index-2Py9RyJv.css b/cmd/evening_detective/static/user/assets/index-BJOT4xui.css similarity index 68% rename from cmd/evening_detective/static/user/assets/index-2Py9RyJv.css rename to cmd/evening_detective/static/user/assets/index-BJOT4xui.css index 0d274d7..9c8c151 100644 --- a/cmd/evening_detective/static/user/assets/index-2Py9RyJv.css +++ b/cmd/evening_detective/static/user/assets/index-BJOT4xui.css @@ -1 +1 @@ -:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64);--main-color: rgba(34, 50, 60, 1);--second-color: rgb(97, 74, 22);--main-back-color: rgba(240, 240, 240, 1);--main-back-item-color: rgba(254, 254, 254, 1)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100dvh;color:var(--color-text);background:var(--main-back-color);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.header-block{height:60px;background-color:var(--main-color);font-size:large;color:#fff;vertical-align:middle;padding:15px 0 10px 16px;font-weight:700}.input-custom{width:100%;box-sizing:border-box;margin-bottom:15px}.button-custom{margin-left:auto;background-color:var(--main-color);font-weight:600;color:#fff}.button-custom:hover{background-color:var(--main-color);opacity:.9}.button-custom:disabled{opacity:.5}.button-dialog{background-color:var(--main-color);font-weight:600;color:#fff;padding:6px 14px;border:1px solid #ddd;border-radius:15px;font-size:16px;margin-right:6px}.button-dialog:hover{background-color:var(--main-color);opacity:.9}.button-dialog:disabled{opacity:.5}.input-custom,.button-custom{padding:12px 16px;border:1px solid #ddd;border-radius:15px;font-size:16px}.button-container{display:flex}.center-message{display:flex;justify-content:center;align-items:center;height:calc(100dvh - 100px);text-align:center}header[data-v-913ef6b1]{line-height:1.5;max-height:100vh}.logo[data-v-913ef6b1]{display:block;margin:0 auto 2rem}nav[data-v-913ef6b1]{width:100%;font-size:12px;text-align:center;margin-top:2rem}nav a.router-link-exact-active[data-v-913ef6b1]{color:var(--color-text)}nav a.router-link-exact-active[data-v-913ef6b1]:hover{background-color:transparent}nav a[data-v-913ef6b1]{display:inline-block;padding:0 1rem;border-left:1px solid var(--color-border)}nav a[data-v-913ef6b1]:first-of-type{border:0}@media (min-width: 1024px){header[data-v-913ef6b1]{display:flex;place-items:center;padding-right:calc(var(--section-gap) / 2)}.logo[data-v-913ef6b1]{margin:0 2rem 0 0}header .wrapper[data-v-913ef6b1]{display:flex;place-items:flex-start;flex-wrap:wrap}nav[data-v-913ef6b1]{text-align:left;margin-left:-1rem;font-size:1rem;padding:1rem 0;margin-top:1rem}}body[data-v-dec355e5]{overflow:hidden}.hr[data-v-dec355e5]{margin:7px 0}.body-custom[data-v-dec355e5]{font-size:medium}.info-custom[data-v-dec355e5]{padding-left:15px}.logo[data-v-dec355e5]{float:left;margin:10px}.logo-right[data-v-dec355e5]{float:right;margin:12px}.second-color[data-v-dec355e5]{color:var(--second-color)}.form-custom[data-v-dec355e5]{border:1px solid #444444;background-color:var(--main-back-color);position:fixed;bottom:0;left:0;width:100%;padding:20px;color:#fff}.message-cloud[data-v-dec355e5]{border:1px solid #444444;border-radius:15px;margin:12px 10px;padding:16px;background-color:var(--main-back-item-color)}.message-header[data-v-dec355e5]{font-size:large;font-weight:200}.message-content[data-v-dec355e5]{font-weight:500;white-space:pre-wrap}.message-footer[data-v-dec355e5]{font-weight:400;color:var(--second-color)}.form-block[data-v-dec355e5]{height:140px}.messages-block[data-v-dec355e5]{height:calc(100dvh - 200px);overflow-y:auto;scrollbar-width:none}@media (min-width: 1025px){.center-block-custom[data-v-dec355e5]{width:700px;margin:0 auto}}.center-message[data-v-dec355e5]{height:calc(100dvh - 140px)}.qr[data-v-dec355e5]{text-align:center;width:200px}.collapse-icon[data-v-dec355e5]{padding:0 15px;cursor:pointer}.team-name-block[data-v-dec355e5]{float:right;padding:0 20px}.text-truncate[data-v-dec355e5]{width:100px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 7px;margin:0 20px;background:#284557;border-radius:4px;font-size:medium}.error-message[data-v-13746d20]{color:brown;margin:16px 0} +:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64);--main-color: rgba(34, 50, 60, 1);--second-color: rgb(97, 74, 22);--main-back-color: rgba(240, 240, 240, 1);--main-back-item-color: rgba(254, 254, 254, 1)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100dvh;color:var(--color-text);background:var(--main-back-color);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.header-block{height:60px;background-color:var(--main-color);font-size:large;color:#fff;vertical-align:middle;padding:15px 0 10px 16px;font-weight:700}.input-custom{width:100%;box-sizing:border-box;margin-bottom:15px}.button-custom{margin-left:auto;background-color:var(--main-color);font-weight:600;color:#fff}.button-custom:hover{background-color:var(--main-color);opacity:.9}.button-custom:disabled{opacity:.5}.button-dialog{background-color:var(--main-color);font-weight:600;color:#fff;padding:6px 14px;border:1px solid #ddd;border-radius:15px;font-size:16px;margin-right:6px}.button-dialog:hover{background-color:var(--main-color);opacity:.9}.button-dialog:disabled{opacity:.5}.input-custom,.button-custom{padding:12px 16px;border:1px solid #ddd;border-radius:15px;font-size:16px}.button-container{display:flex}.center-message{display:flex;justify-content:center;align-items:center;height:calc(100dvh - 100px);text-align:center}header[data-v-913ef6b1]{line-height:1.5;max-height:100vh}.logo[data-v-913ef6b1]{display:block;margin:0 auto 2rem}nav[data-v-913ef6b1]{width:100%;font-size:12px;text-align:center;margin-top:2rem}nav a.router-link-exact-active[data-v-913ef6b1]{color:var(--color-text)}nav a.router-link-exact-active[data-v-913ef6b1]:hover{background-color:transparent}nav a[data-v-913ef6b1]{display:inline-block;padding:0 1rem;border-left:1px solid var(--color-border)}nav a[data-v-913ef6b1]:first-of-type{border:0}@media (min-width: 1024px){header[data-v-913ef6b1]{display:flex;place-items:center;padding-right:calc(var(--section-gap) / 2)}.logo[data-v-913ef6b1]{margin:0 2rem 0 0}header .wrapper[data-v-913ef6b1]{display:flex;place-items:flex-start;flex-wrap:wrap}nav[data-v-913ef6b1]{text-align:left;margin-left:-1rem;font-size:1rem;padding:1rem 0;margin-top:1rem}}body[data-v-127d6c85]{overflow:hidden}.hr[data-v-127d6c85]{margin:7px 0}.body-custom[data-v-127d6c85]{font-size:medium}.info-custom[data-v-127d6c85]{padding-left:15px}.logo[data-v-127d6c85]{float:left;margin:10px}.logo-right[data-v-127d6c85]{float:right;margin:12px}.second-color[data-v-127d6c85]{color:var(--second-color)}.form-custom[data-v-127d6c85]{border:1px solid #444444;background-color:var(--main-back-color);position:fixed;bottom:0;left:0;width:100%;padding:20px;color:#fff}.message-cloud[data-v-127d6c85]{border:1px solid #444444;border-radius:15px;margin:12px 10px;padding:16px;background-color:var(--main-back-item-color);display:flow-root}.message-header[data-v-127d6c85]{font-size:large;font-weight:200}.message-content[data-v-127d6c85]{font-weight:500;white-space:pre-wrap}.message-image[data-v-127d6c85]{width:40%;float:left;margin-right:15px}.message-footer[data-v-127d6c85]{font-weight:400;color:var(--second-color)}.form-block[data-v-127d6c85]{height:140px}.messages-block[data-v-127d6c85]{height:calc(100dvh - 200px);overflow-y:auto;scrollbar-width:none}@media (min-width: 1025px){.center-block-custom[data-v-127d6c85]{width:700px;margin:0 auto}}.center-message[data-v-127d6c85]{height:calc(100dvh - 140px)}.qr[data-v-127d6c85]{text-align:center;width:200px}.collapse-icon[data-v-127d6c85]{padding:0 15px;cursor:pointer}.team-name-block[data-v-127d6c85]{float:right;padding:0 20px}.text-truncate[data-v-127d6c85]{width:100px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 7px;margin:0 20px;background:#284557;border-radius:4px;font-size:medium}.error-message[data-v-13746d20]{color:brown;margin:16px 0} diff --git a/cmd/evening_detective/static/user/assets/index-7Qo2US5x.js b/cmd/evening_detective/static/user/assets/index-bGblozls.js similarity index 63% rename from cmd/evening_detective/static/user/assets/index-7Qo2US5x.js rename to cmd/evening_detective/static/user/assets/index-bGblozls.js index e9aa2b8..65c973d 100644 --- a/cmd/evening_detective/static/user/assets/index-7Qo2US5x.js +++ b/cmd/evening_detective/static/user/assets/index-bGblozls.js @@ -2,31 +2,31 @@ * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Gr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Ot=[],Qe=()=>{},yl=()=>!1,Mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jr=e=>e.startsWith("onUpdate:"),ve=Object.assign,Yr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vl=Object.prototype.hasOwnProperty,re=(e,t)=>vl.call(e,t),J=Array.isArray,Bt=e=>Nn(e)==="[object Map]",qo=e=>Nn(e)==="[object Set]",Y=e=>typeof e=="function",ae=e=>typeof e=="string",gt=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",Ko=e=>(fe(e)||Y(e))&&Y(e.then)&&Y(e.catch),zo=Object.prototype.toString,Nn=e=>zo.call(e),_l=e=>Nn(e).slice(8,-1),Wo=e=>Nn(e)==="[object Object]",Qr=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gt=Gr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),On=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bl=/-(\w)/g,pt=On(e=>e.replace(bl,(t,n)=>n?n.toUpperCase():"")),wl=/\B([A-Z])/g,Rt=On(e=>e.replace(wl,"-$1").toLowerCase()),Go=On(e=>e.charAt(0).toUpperCase()+e.slice(1)),Kn=On(e=>e?`on${Go(e)}`:""),dt=(e,t)=>!Object.is(e,t),yn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ir=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ws;const Bn=()=>ws||(ws=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xr(e){if(J(e)){const t={};for(let n=0;n{if(n){const r=n.split(Cl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Zr(e){let t="";if(ae(e))t=e;else if(J(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Ue=e=>ae(e)?e:e==null?"":J(e)||fe(e)&&(e.toString===zo||!Y(e.toString))?Qo(e)?Ue(e.value):JSON.stringify(e,Xo,2):String(e),Xo=(e,t)=>Qo(t)?Xo(e,t.value):Bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[zn(r,o)+" =>"]=s,n),{})}:qo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zn(n))}:gt(t)?zn(t):fe(t)&&!J(t)&&!Wo(t)?String(t):t,zn=(e,t="")=>{var n;return gt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function Jr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Ot=[],Qe=()=>{},yl=()=>!1,Nn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Yr=e=>e.startsWith("onUpdate:"),ve=Object.assign,Qr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vl=Object.prototype.hasOwnProperty,re=(e,t)=>vl.call(e,t),J=Array.isArray,Bt=e=>On(e)==="[object Map]",qo=e=>On(e)==="[object Set]",Y=e=>typeof e=="function",ae=e=>typeof e=="string",gt=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",Ko=e=>(fe(e)||Y(e))&&Y(e.then)&&Y(e.catch),zo=Object.prototype.toString,On=e=>zo.call(e),_l=e=>On(e).slice(8,-1),Wo=e=>On(e)==="[object Object]",Xr=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gt=Jr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bl=/-(\w)/g,pt=Bn(e=>e.replace(bl,(t,n)=>n?n.toUpperCase():"")),wl=/\B([A-Z])/g,Rt=Bn(e=>e.replace(wl,"-$1").toLowerCase()),Go=Bn(e=>e.charAt(0).toUpperCase()+e.slice(1)),zn=Bn(e=>e?`on${Go(e)}`:""),dt=(e,t)=>!Object.is(e,t),yn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Nr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Es;const Ln=()=>Es||(Es=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zr(e){if(J(e)){const t={};for(let n=0;n{if(n){const r=n.split(Cl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function es(e){let t="";if(ae(e))t=e;else if(J(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Ue=e=>ae(e)?e:e==null?"":J(e)||fe(e)&&(e.toString===zo||!Y(e.toString))?Qo(e)?Ue(e.value):JSON.stringify(e,Xo,2):String(e),Xo=(e,t)=>Qo(t)?Xo(e,t.value):Bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Wn(r,o)+" =>"]=s,n),{})}:qo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wn(n))}:gt(t)?Wn(t):fe(t)&&!J(t)&&!Wo(t)?String(t):t,Wn=(e,t="")=>{var n;return gt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Ie;class Zo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ie,!t&&Ie&&(this.index=(Ie.scopes||(Ie.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)return;if(Yt){let t=Yt;for(Yt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Jt;){let t=Jt;for(Jt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function ri(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function si(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ns(r),Il(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Mr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(oi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function oi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===rn))return;e.globalVersion=rn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Mr(e)){e.flags&=-3;return}const n=ce,r=ke;ce=e,ke=!0;try{ri(e);const s=e.fn(e._value);(t.version===0||dt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ce=n,ke=r,si(e),e.flags&=-3}}function ns(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)ns(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Il(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ke=!0;const ii=[];function mt(){ii.push(ke),ke=!1}function yt(){const e=ii.pop();ke=e===void 0?!0:e}function Es(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let rn=0;class Ml{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 rs{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}track(t){if(!ce||!ke||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new Ml(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,li(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=r)}return n}trigger(t){this.version++,rn++,this.notify(t)}notify(t){es();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ts()}}}function li(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)li(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Nr=new WeakMap,Et=Symbol(""),Or=Symbol(""),sn=Symbol("");function ge(e,t,n){if(ke&&ce){let r=Nr.get(e);r||Nr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new rs),s.map=r,s.key=n),s.track()}}function nt(e,t,n,r,s,o){const i=Nr.get(e);if(!i){rn++;return}const c=l=>{l&&l.trigger()};if(es(),t==="clear")i.forEach(c);else{const l=J(e),f=l&&Qr(n);if(l&&n==="length"){const u=Number(r);i.forEach((a,p)=>{(p==="length"||p===sn||!gt(p)&&p>=u)&&c(a)})}else switch((n!==void 0||i.has(void 0))&&c(i.get(n)),f&&c(i.get(sn)),t){case"add":l?f&&c(i.get("length")):(c(i.get(Et)),Bt(e)&&c(i.get(Or)));break;case"delete":l||(c(i.get(Et)),Bt(e)&&c(i.get(Or)));break;case"set":Bt(e)&&c(i.get(Et));break}}ts()}function Tt(e){const t=ne(e);return t===e?t:(ge(t,"iterate",sn),De(e)?t:t.map(me))}function Ln(e){return ge(e=ne(e),"iterate",sn),e}const Nl={__proto__:null,[Symbol.iterator](){return Gn(this,Symbol.iterator,me)},concat(...e){return Tt(this).concat(...e.map(t=>J(t)?Tt(t):t))},entries(){return Gn(this,"entries",e=>(e[1]=me(e[1]),e))},every(e,t){return Ze(this,"every",e,t,void 0,arguments)},filter(e,t){return Ze(this,"filter",e,t,n=>n.map(me),arguments)},find(e,t){return Ze(this,"find",e,t,me,arguments)},findIndex(e,t){return Ze(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ze(this,"findLast",e,t,me,arguments)},findLastIndex(e,t){return Ze(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ze(this,"forEach",e,t,void 0,arguments)},includes(...e){return Jn(this,"includes",e)},indexOf(...e){return Jn(this,"indexOf",e)},join(e){return Tt(this).join(e)},lastIndexOf(...e){return Jn(this,"lastIndexOf",e)},map(e,t){return Ze(this,"map",e,t,void 0,arguments)},pop(){return jt(this,"pop")},push(...e){return jt(this,"push",e)},reduce(e,...t){return Cs(this,"reduce",e,t)},reduceRight(e,...t){return Cs(this,"reduceRight",e,t)},shift(){return jt(this,"shift")},some(e,t){return Ze(this,"some",e,t,void 0,arguments)},splice(...e){return jt(this,"splice",e)},toReversed(){return Tt(this).toReversed()},toSorted(e){return Tt(this).toSorted(e)},toSpliced(...e){return Tt(this).toSpliced(...e)},unshift(...e){return jt(this,"unshift",e)},values(){return Gn(this,"values",me)}};function Gn(e,t,n){const r=Ln(e),s=r[t]();return r!==e&&!De(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const Ol=Array.prototype;function Ze(e,t,n,r,s,o){const i=Ln(e),c=i!==e&&!De(e),l=i[t];if(l!==Ol[t]){const a=l.apply(e,o);return c?me(a):a}let f=n;i!==e&&(c?f=function(a,p){return n.call(this,me(a),p,e)}:n.length>2&&(f=function(a,p){return n.call(this,a,p,e)}));const u=l.call(i,f,r);return c&&s?s(u):u}function Cs(e,t,n,r){const s=Ln(e);let o=n;return s!==e&&(De(e)?n.length>3&&(o=function(i,c,l){return n.call(this,i,c,l,e)}):o=function(i,c,l){return n.call(this,i,me(c),l,e)}),s[t](o,...r)}function Jn(e,t,n){const r=ne(e);ge(r,"iterate",sn);const s=r[t](...n);return(s===-1||s===!1)&&is(n[0])?(n[0]=ne(n[0]),r[t](...n)):s}function jt(e,t,n=[]){mt(),es();const r=ne(e)[t].apply(e,n);return ts(),yt(),r}const Bl=Gr("__proto__,__v_isRef,__isVue"),ci=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gt));function Ll(e){gt(e)||(e=String(e));const t=ne(this);return ge(t,"has",e),t.hasOwnProperty(e)}class ui{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Kl:hi:o?di:ai).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=J(t);if(!s){let l;if(i&&(l=Nl[n]))return l;if(n==="hasOwnProperty")return Ll}const c=Reflect.get(t,n,ye(t)?t:r);return(gt(n)?ci.has(n):Bl(n))||(s||ge(t,"get",n),o)?c:ye(c)?i&&Qr(n)?c:c.value:fe(c)?s?gi(c):Dn(c):c}}class fi extends ui{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=Ct(o);if(!De(r)&&!Ct(r)&&(o=ne(o),r=ne(r)),!J(t)&&ye(o)&&!ye(r))return l?!1:(o.value=r,!0)}const i=J(t)&&Qr(n)?Number(n)e,hn=e=>Reflect.getPrototypeOf(e);function kl(e,t,n){return function(...r){const s=this.__v_raw,o=ne(s),i=Bt(o),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=s[e](...r),u=n?Br:t?Lr:me;return!t&&ge(o,"iterate",l?Or:Et),{next(){const{value:a,done:p}=f.next();return p?{value:a,done:p}:{value:c?[u(a[0]),u(a[1])]:u(a),done:p}},[Symbol.iterator](){return this}}}}function pn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Hl(e,t){const n={get(s){const o=this.__v_raw,i=ne(o),c=ne(s);e||(dt(s,c)&&ge(i,"get",s),ge(i,"get",c));const{has:l}=hn(i),f=t?Br:e?Lr:me;if(l.call(i,s))return f(o.get(s));if(l.call(i,c))return f(o.get(c));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&ge(ne(s),"iterate",Et),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=ne(o),c=ne(s);return e||(dt(s,c)&&ge(i,"has",s),ge(i,"has",c)),s===c?o.has(s):o.has(s)||o.has(c)},forEach(s,o){const i=this,c=i.__v_raw,l=ne(c),f=t?Br:e?Lr:me;return!e&&ge(l,"iterate",Et),c.forEach((u,a)=>s.call(o,f(u),f(a),i))}};return ve(n,e?{add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(s){!t&&!De(s)&&!Ct(s)&&(s=ne(s));const o=ne(this);return hn(o).has.call(o,s)||(o.add(s),nt(o,"add",s,s)),this},set(s,o){!t&&!De(o)&&!Ct(o)&&(o=ne(o));const i=ne(this),{has:c,get:l}=hn(i);let f=c.call(i,s);f||(s=ne(s),f=c.call(i,s));const u=l.call(i,s);return i.set(s,o),f?dt(o,u)&&nt(i,"set",s,o):nt(i,"add",s,o),this},delete(s){const o=ne(this),{has:i,get:c}=hn(o);let l=i.call(o,s);l||(s=ne(s),l=i.call(o,s)),c&&c.call(o,s);const f=o.delete(s);return l&&nt(o,"delete",s,void 0),f},clear(){const s=ne(this),o=s.size!==0,i=s.clear();return o&&nt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=kl(s,e,t)}),n}function ss(e,t){const n=Hl(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(re(n,s)&&s in r?n:r,s,o)}const jl={get:ss(!1,!1)},Vl={get:ss(!1,!0)},ql={get:ss(!0,!1)};const ai=new WeakMap,di=new WeakMap,hi=new WeakMap,Kl=new WeakMap;function zl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wl(e){return e.__v_skip||!Object.isExtensible(e)?0:zl(_l(e))}function Dn(e){return Ct(e)?e:os(e,!1,Fl,jl,ai)}function pi(e){return os(e,!1,$l,Vl,di)}function gi(e){return os(e,!0,Ul,ql,hi)}function os(e,t,n,r,s){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Wl(e);if(i===0)return e;const c=new Proxy(e,i===2?r:n);return s.set(e,c),c}function Lt(e){return Ct(e)?Lt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ct(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function is(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function mi(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&Jo(e,"__v_skip",!0),e}const me=e=>fe(e)?Dn(e):e,Lr=e=>fe(e)?gi(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function he(e){return yi(e,!1)}function Gl(e){return yi(e,!0)}function yi(e,t){return ye(e)?e:new Jl(e,t)}class Jl{constructor(t,n){this.dep=new rs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(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,r=this.__v_isShallow||De(t)||Ct(t);t=r?t:ne(t),dt(t,n)&&(this._rawValue=t,this._value=r?t:me(t),this.dep.trigger())}}function ht(e){return ye(e)?e.value:e}const Yl={get:(e,t,n)=>t==="__v_raw"?e:ht(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ye(s)&&!ye(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function vi(e){return Lt(e)?e:new Proxy(e,Yl)}class Ql{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new rs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=rn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return ni(this,!0),!0}get value(){const t=this.dep.track();return oi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Xl(e,t,n=!1){let r,s;return Y(e)?r=e:(r=e.get,s=e.set),new Ql(r,s,n)}const gn={},En=new WeakMap;let wt;function Zl(e,t=!1,n=wt){if(n){let r=En.get(n);r||En.set(n,r=[]),r.push(e)}}function ec(e,t,n=ie){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:c,call:l}=n,f=y=>s?y:De(y)||s===!1||s===0?rt(y,1):rt(y);let u,a,p,g,w=!1,C=!1;if(ye(e)?(a=()=>e.value,w=De(e)):Lt(e)?(a=()=>f(e),w=!0):J(e)?(C=!0,w=e.some(y=>Lt(y)||De(y)),a=()=>e.map(y=>{if(ye(y))return y.value;if(Lt(y))return f(y);if(Y(y))return l?l(y,2):y()})):Y(e)?t?a=l?()=>l(e,2):e:a=()=>{if(p){mt();try{p()}finally{yt()}}const y=wt;wt=u;try{return l?l(e,3,[g]):e(g)}finally{wt=y}}:a=Qe,t&&s){const y=a,$=s===!0?1/0:s;a=()=>rt(y(),$)}const U=xl(),R=()=>{u.stop(),U&&U.active&&Yr(U.effects,u)};if(o&&t){const y=t;t=(...$)=>{y(...$),R()}}let A=C?new Array(e.length).fill(gn):gn;const S=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const $=u.run();if(s||w||(C?$.some((P,N)=>dt(P,A[N])):dt($,A))){p&&p();const P=wt;wt=u;try{const N=[$,A===gn?void 0:C&&A[0]===gn?[]:A,g];l?l(t,3,N):t(...N),A=$}finally{wt=P}}}else u.run()};return c&&c(S),u=new ei(a),u.scheduler=i?()=>i(S,!1):S,g=y=>Zl(y,!1,u),p=u.onStop=()=>{const y=En.get(u);if(y){if(l)l(y,4);else for(const $ of y)$();En.delete(u)}},t?r?S(!0):A=u.run():i?i(S.bind(null,!0),!0):u.run(),R.pause=u.pause.bind(u),R.resume=u.resume.bind(u),R.stop=R,R}function rt(e,t=1/0,n){if(t<=0||!fe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ye(e))rt(e.value,t,n);else if(J(e))for(let r=0;r{rt(r,t,n)});else if(Wo(e)){for(const r in e)rt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&rt(e[r],t,n)}return e}/** +**/let Me;class Zo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.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)return;if(Yt){let t=Yt;for(Yt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Jt;){let t=Jt;for(Jt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function ri(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function si(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),rs(r),Il(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Or(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(oi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function oi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===rn))return;e.globalVersion=rn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Or(e)){e.flags&=-3;return}const n=ce,r=$e;ce=e,$e=!0;try{ri(e);const s=e.fn(e._value);(t.version===0||dt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ce=n,$e=r,si(e),e.flags&=-3}}function rs(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)rs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Il(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let $e=!0;const ii=[];function mt(){ii.push($e),$e=!1}function yt(){const e=ii.pop();$e=e===void 0?!0:e}function Cs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let rn=0;class Ml{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 ss{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}track(t){if(!ce||!$e||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new Ml(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,li(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=r)}return n}trigger(t){this.version++,rn++,this.notify(t)}notify(t){ts();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ns()}}}function li(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)li(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Br=new WeakMap,Et=Symbol(""),Lr=Symbol(""),sn=Symbol("");function ge(e,t,n){if($e&&ce){let r=Br.get(e);r||Br.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new ss),s.map=r,s.key=n),s.track()}}function nt(e,t,n,r,s,o){const i=Br.get(e);if(!i){rn++;return}const c=l=>{l&&l.trigger()};if(ts(),t==="clear")i.forEach(c);else{const l=J(e),f=l&&Xr(n);if(l&&n==="length"){const u=Number(r);i.forEach((a,p)=>{(p==="length"||p===sn||!gt(p)&&p>=u)&&c(a)})}else switch((n!==void 0||i.has(void 0))&&c(i.get(n)),f&&c(i.get(sn)),t){case"add":l?f&&c(i.get("length")):(c(i.get(Et)),Bt(e)&&c(i.get(Lr)));break;case"delete":l||(c(i.get(Et)),Bt(e)&&c(i.get(Lr)));break;case"set":Bt(e)&&c(i.get(Et));break}}ns()}function Tt(e){const t=ne(e);return t===e?t:(ge(t,"iterate",sn),De(e)?t:t.map(me))}function Dn(e){return ge(e=ne(e),"iterate",sn),e}const Nl={__proto__:null,[Symbol.iterator](){return Jn(this,Symbol.iterator,me)},concat(...e){return Tt(this).concat(...e.map(t=>J(t)?Tt(t):t))},entries(){return Jn(this,"entries",e=>(e[1]=me(e[1]),e))},every(e,t){return Ze(this,"every",e,t,void 0,arguments)},filter(e,t){return Ze(this,"filter",e,t,n=>n.map(me),arguments)},find(e,t){return Ze(this,"find",e,t,me,arguments)},findIndex(e,t){return Ze(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ze(this,"findLast",e,t,me,arguments)},findLastIndex(e,t){return Ze(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ze(this,"forEach",e,t,void 0,arguments)},includes(...e){return Yn(this,"includes",e)},indexOf(...e){return Yn(this,"indexOf",e)},join(e){return Tt(this).join(e)},lastIndexOf(...e){return Yn(this,"lastIndexOf",e)},map(e,t){return Ze(this,"map",e,t,void 0,arguments)},pop(){return jt(this,"pop")},push(...e){return jt(this,"push",e)},reduce(e,...t){return Ss(this,"reduce",e,t)},reduceRight(e,...t){return Ss(this,"reduceRight",e,t)},shift(){return jt(this,"shift")},some(e,t){return Ze(this,"some",e,t,void 0,arguments)},splice(...e){return jt(this,"splice",e)},toReversed(){return Tt(this).toReversed()},toSorted(e){return Tt(this).toSorted(e)},toSpliced(...e){return Tt(this).toSpliced(...e)},unshift(...e){return jt(this,"unshift",e)},values(){return Jn(this,"values",me)}};function Jn(e,t,n){const r=Dn(e),s=r[t]();return r!==e&&!De(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const Ol=Array.prototype;function Ze(e,t,n,r,s,o){const i=Dn(e),c=i!==e&&!De(e),l=i[t];if(l!==Ol[t]){const a=l.apply(e,o);return c?me(a):a}let f=n;i!==e&&(c?f=function(a,p){return n.call(this,me(a),p,e)}:n.length>2&&(f=function(a,p){return n.call(this,a,p,e)}));const u=l.call(i,f,r);return c&&s?s(u):u}function Ss(e,t,n,r){const s=Dn(e);let o=n;return s!==e&&(De(e)?n.length>3&&(o=function(i,c,l){return n.call(this,i,c,l,e)}):o=function(i,c,l){return n.call(this,i,me(c),l,e)}),s[t](o,...r)}function Yn(e,t,n){const r=ne(e);ge(r,"iterate",sn);const s=r[t](...n);return(s===-1||s===!1)&&ls(n[0])?(n[0]=ne(n[0]),r[t](...n)):s}function jt(e,t,n=[]){mt(),ts();const r=ne(e)[t].apply(e,n);return ns(),yt(),r}const Bl=Jr("__proto__,__v_isRef,__isVue"),ci=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gt));function Ll(e){gt(e)||(e=String(e));const t=ne(this);return ge(t,"has",e),t.hasOwnProperty(e)}class ui{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Kl:hi:o?di:ai).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=J(t);if(!s){let l;if(i&&(l=Nl[n]))return l;if(n==="hasOwnProperty")return Ll}const c=Reflect.get(t,n,ye(t)?t:r);return(gt(n)?ci.has(n):Bl(n))||(s||ge(t,"get",n),o)?c:ye(c)?i&&Xr(n)?c:c.value:fe(c)?s?gi(c):Fn(c):c}}class fi extends ui{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=Ct(o);if(!De(r)&&!Ct(r)&&(o=ne(o),r=ne(r)),!J(t)&&ye(o)&&!ye(r))return l?!1:(o.value=r,!0)}const i=J(t)&&Xr(n)?Number(n)e,hn=e=>Reflect.getPrototypeOf(e);function $l(e,t,n){return function(...r){const s=this.__v_raw,o=ne(s),i=Bt(o),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=s[e](...r),u=n?Dr:t?Fr:me;return!t&&ge(o,"iterate",l?Lr:Et),{next(){const{value:a,done:p}=f.next();return p?{value:a,done:p}:{value:c?[u(a[0]),u(a[1])]:u(a),done:p}},[Symbol.iterator](){return this}}}}function pn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Hl(e,t){const n={get(s){const o=this.__v_raw,i=ne(o),c=ne(s);e||(dt(s,c)&&ge(i,"get",s),ge(i,"get",c));const{has:l}=hn(i),f=t?Dr:e?Fr:me;if(l.call(i,s))return f(o.get(s));if(l.call(i,c))return f(o.get(c));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&ge(ne(s),"iterate",Et),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=ne(o),c=ne(s);return e||(dt(s,c)&&ge(i,"has",s),ge(i,"has",c)),s===c?o.has(s):o.has(s)||o.has(c)},forEach(s,o){const i=this,c=i.__v_raw,l=ne(c),f=t?Dr:e?Fr:me;return!e&&ge(l,"iterate",Et),c.forEach((u,a)=>s.call(o,f(u),f(a),i))}};return ve(n,e?{add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(s){!t&&!De(s)&&!Ct(s)&&(s=ne(s));const o=ne(this);return hn(o).has.call(o,s)||(o.add(s),nt(o,"add",s,s)),this},set(s,o){!t&&!De(o)&&!Ct(o)&&(o=ne(o));const i=ne(this),{has:c,get:l}=hn(i);let f=c.call(i,s);f||(s=ne(s),f=c.call(i,s));const u=l.call(i,s);return i.set(s,o),f?dt(o,u)&&nt(i,"set",s,o):nt(i,"add",s,o),this},delete(s){const o=ne(this),{has:i,get:c}=hn(o);let l=i.call(o,s);l||(s=ne(s),l=i.call(o,s)),c&&c.call(o,s);const f=o.delete(s);return l&&nt(o,"delete",s,void 0),f},clear(){const s=ne(this),o=s.size!==0,i=s.clear();return o&&nt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=$l(s,e,t)}),n}function os(e,t){const n=Hl(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(re(n,s)&&s in r?n:r,s,o)}const jl={get:os(!1,!1)},Vl={get:os(!1,!0)},ql={get:os(!0,!1)};const ai=new WeakMap,di=new WeakMap,hi=new WeakMap,Kl=new WeakMap;function zl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wl(e){return e.__v_skip||!Object.isExtensible(e)?0:zl(_l(e))}function Fn(e){return Ct(e)?e:is(e,!1,Fl,jl,ai)}function pi(e){return is(e,!1,kl,Vl,di)}function gi(e){return is(e,!0,Ul,ql,hi)}function is(e,t,n,r,s){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Wl(e);if(i===0)return e;const c=new Proxy(e,i===2?r:n);return s.set(e,c),c}function Lt(e){return Ct(e)?Lt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ct(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function ls(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function mi(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&Jo(e,"__v_skip",!0),e}const me=e=>fe(e)?Fn(e):e,Fr=e=>fe(e)?gi(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function pe(e){return yi(e,!1)}function Gl(e){return yi(e,!0)}function yi(e,t){return ye(e)?e:new Jl(e,t)}class Jl{constructor(t,n){this.dep=new ss,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(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,r=this.__v_isShallow||De(t)||Ct(t);t=r?t:ne(t),dt(t,n)&&(this._rawValue=t,this._value=r?t:me(t),this.dep.trigger())}}function ht(e){return ye(e)?e.value:e}const Yl={get:(e,t,n)=>t==="__v_raw"?e:ht(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ye(s)&&!ye(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function vi(e){return Lt(e)?e:new Proxy(e,Yl)}class Ql{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ss(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=rn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return ni(this,!0),!0}get value(){const t=this.dep.track();return oi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Xl(e,t,n=!1){let r,s;return Y(e)?r=e:(r=e.get,s=e.set),new Ql(r,s,n)}const gn={},Cn=new WeakMap;let wt;function Zl(e,t=!1,n=wt){if(n){let r=Cn.get(n);r||Cn.set(n,r=[]),r.push(e)}}function ec(e,t,n=ie){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:c,call:l}=n,f=y=>s?y:De(y)||s===!1||s===0?rt(y,1):rt(y);let u,a,p,g,w=!1,C=!1;if(ye(e)?(a=()=>e.value,w=De(e)):Lt(e)?(a=()=>f(e),w=!0):J(e)?(C=!0,w=e.some(y=>Lt(y)||De(y)),a=()=>e.map(y=>{if(ye(y))return y.value;if(Lt(y))return f(y);if(Y(y))return l?l(y,2):y()})):Y(e)?t?a=l?()=>l(e,2):e:a=()=>{if(p){mt();try{p()}finally{yt()}}const y=wt;wt=u;try{return l?l(e,3,[g]):e(g)}finally{wt=y}}:a=Qe,t&&s){const y=a,k=s===!0?1/0:s;a=()=>rt(y(),k)}const U=xl(),P=()=>{u.stop(),U&&U.active&&Qr(U.effects,u)};if(o&&t){const y=t;t=(...k)=>{y(...k),P()}}let A=C?new Array(e.length).fill(gn):gn;const R=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const k=u.run();if(s||w||(C?k.some((S,N)=>dt(S,A[N])):dt(k,A))){p&&p();const S=wt;wt=u;try{const N=[k,A===gn?void 0:C&&A[0]===gn?[]:A,g];l?l(t,3,N):t(...N),A=k}finally{wt=S}}}else u.run()};return c&&c(R),u=new ei(a),u.scheduler=i?()=>i(R,!1):R,g=y=>Zl(y,!1,u),p=u.onStop=()=>{const y=Cn.get(u);if(y){if(l)l(y,4);else for(const k of y)k();Cn.delete(u)}},t?r?R(!0):A=u.run():i?i(R.bind(null,!0),!0):u.run(),P.pause=u.pause.bind(u),P.resume=u.resume.bind(u),P.stop=P,P}function rt(e,t=1/0,n){if(t<=0||!fe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ye(e))rt(e.value,t,n);else if(J(e))for(let r=0;r{rt(r,t,n)});else if(Wo(e)){for(const r in e)rt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&rt(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function an(e,t,n,r){try{return r?e(...r):e()}catch(s){Fn(s,t,n)}}function Xe(e,t,n,r){if(Y(e)){const s=an(e,t,n,r);return s&&Ko(s)&&s.catch(o=>{Fn(o,t,n)}),s}if(J(e)){const s=[];for(let o=0;o>>1,s=Ce[r],o=on(s);o=on(n)?Ce.push(e):Ce.splice(nc(t),0,e),e.flags|=1,bi()}}function bi(){Cn||(Cn=_i.then(Ei))}function rc(e){J(e)?Dt.push(...e):ut&&e.id===-1?ut.splice(It+1,0,e):e.flags&1||(Dt.push(e),e.flags|=1),bi()}function Ss(e,t,n=Je+1){for(;non(n)-on(r));if(Dt.length=0,ut){ut.push(...t);return}for(ut=t,It=0;Ite.id==null?e.flags&2?-1:1/0:e.id;function Ei(e){try{for(Je=0;Je{r._d&&Os(-1);const o=Sn(t);let i;try{i=e(...s)}finally{Sn(o),r._d&&Os(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Rn(e,t){if(Le===null)return e;const n=jn(Le),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport;function us(e,t){e.shapeFlag&6&&e.component?(e.transition=t,us(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function vt(e,t){return Y(e)?ve({name:e.name},t,{setup:e}):e}function Si(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Pn(e,t,n,r,s=!1){if(J(e)){e.forEach((w,C)=>Pn(w,t&&(J(t)?t[C]:t),n,r,s));return}if(Qt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Pn(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?jn(r.component):r.el,i=s?null:o,{i:c,r:l}=e,f=t&&t.r,u=c.refs===ie?c.refs={}:c.refs,a=c.setupState,p=ne(a),g=a===ie?()=>!1:w=>re(p,w);if(f!=null&&f!==l&&(ae(f)?(u[f]=null,g(f)&&(a[f]=null)):ye(f)&&(f.value=null)),Y(l))an(l,c,12,[i,u]);else{const w=ae(l),C=ye(l);if(w||C){const U=()=>{if(e.f){const R=w?g(l)?a[l]:u[l]:l.value;s?J(R)&&Yr(R,o):J(R)?R.includes(o)||R.push(o):w?(u[l]=[o],g(l)&&(a[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else w?(u[l]=i,g(l)&&(a[l]=i)):C&&(l.value=i,e.k&&(u[e.k]=i))};i?(U.id=-1,xe(U,n)):U()}}}Bn().requestIdleCallback;Bn().cancelIdleCallback;const Qt=e=>!!e.type.__asyncLoader,Ri=e=>e.type.__isKeepAlive;function lc(e,t){Pi(e,"a",t)}function cc(e,t){Pi(e,"da",t)}function Pi(e,t,n=Se){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Un(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ri(s.parent.vnode)&&uc(r,t,n,s),s=s.parent}}function uc(e,t,n,r){const s=Un(t,e,r,!0);Ai(()=>{Yr(r[t],s)},n)}function Un(e,t,n=Se,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{mt();const c=dn(n),l=Xe(t,n,e,i);return c(),yt(),l});return r?s.unshift(o):s.push(o),o}}const st=e=>(t,n=Se)=>{(!cn||e==="sp")&&Un(e,(...r)=>t(...r),n)},fc=st("bm"),fs=st("m"),ac=st("bu"),dc=st("u"),hc=st("bum"),Ai=st("um"),pc=st("sp"),gc=st("rtg"),mc=st("rtc");function yc(e,t=Se){Un("ec",e,t)}const vc=Symbol.for("v-ndc");function Yn(e,t,n,r){let s;const o=n,i=J(e);if(i||ae(e)){const c=i&&Lt(e);let l=!1;c&&(l=!De(e),e=Ln(e)),s=new Array(e.length);for(let f=0,u=e.length;ft(c,l,void 0,o));else{const c=Object.keys(e);s=new Array(c.length);for(let l=0,f=c.length;le?Gi(e)?jn(e):Dr(e.parent):null,Xt=ve(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=>Dr(e.parent),$root:e=>Dr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xi(e),$forceUpdate:e=>e.f||(e.f=()=>{cs(e.update)}),$nextTick:e=>e.n||(e.n=ls.bind(e.proxy)),$watch:e=>$c.bind(e)}),Qn=(e,t)=>e!==ie&&!e.__isScriptSetup&&re(e,t),_c={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:c,appContext:l}=e;let f;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Qn(r,t))return i[t]=1,r[t];if(s!==ie&&re(s,t))return i[t]=2,s[t];if((f=e.propsOptions[0])&&re(f,t))return i[t]=3,o[t];if(n!==ie&&re(n,t))return i[t]=4,n[t];Fr&&(i[t]=0)}}const u=Xt[t];let a,p;if(u)return t==="$attrs"&&ge(e.attrs,"get",""),u(e);if((a=c.__cssModules)&&(a=a[t]))return a;if(n!==ie&&re(n,t))return i[t]=4,n[t];if(p=l.config.globalProperties,re(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Qn(s,t)?(s[t]=n,!0):r!==ie&&re(r,t)?(r[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let c;return!!n[i]||e!==ie&&re(e,i)||Qn(t,i)||(c=o[0])&&re(c,i)||re(r,i)||re(Xt,i)||re(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Rs(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Fr=!0;function bc(e){const t=xi(e),n=e.proxy,r=e.ctx;Fr=!1,t.beforeCreate&&Ps(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:c,provide:l,inject:f,created:u,beforeMount:a,mounted:p,beforeUpdate:g,updated:w,activated:C,deactivated:U,beforeDestroy:R,beforeUnmount:A,destroyed:S,unmounted:y,render:$,renderTracked:P,renderTriggered:N,errorCaptured:x,serverPrefetch:F,expose:V,inheritAttrs:j,components:q,directives:H,filters:W}=t;if(f&&wc(f,r,null),i)for(const ee in i){const Z=i[ee];Y(Z)&&(r[ee]=Z.bind(n))}if(s){const ee=s.call(n,n);fe(ee)&&(e.data=Dn(ee))}if(Fr=!0,o)for(const ee in o){const Z=o[ee],Fe=Y(Z)?Z.bind(n,n):Y(Z.get)?Z.get.bind(n,n):Qe,Oe=!Y(Z)&&Y(Z.set)?Z.set.bind(n):Qe,be=$e({get:Fe,set:Oe});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>be.value,set:de=>be.value=de})}if(c)for(const ee in c)Ti(c[ee],r,n,ee);if(l){const ee=Y(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(Z=>{vn(Z,ee[Z])})}u&&Ps(u,e,"c");function ue(ee,Z){J(Z)?Z.forEach(Fe=>ee(Fe.bind(n))):Z&&ee(Z.bind(n))}if(ue(fc,a),ue(fs,p),ue(ac,g),ue(dc,w),ue(lc,C),ue(cc,U),ue(yc,x),ue(mc,P),ue(gc,N),ue(hc,A),ue(Ai,y),ue(pc,F),J(V))if(V.length){const ee=e.exposed||(e.exposed={});V.forEach(Z=>{Object.defineProperty(ee,Z,{get:()=>n[Z],set:Fe=>n[Z]=Fe})})}else e.exposed||(e.exposed={});$&&e.render===Qe&&(e.render=$),j!=null&&(e.inheritAttrs=j),q&&(e.components=q),H&&(e.directives=H),F&&Si(e)}function wc(e,t,n=Qe){J(e)&&(e=Ur(e));for(const r in e){const s=e[r];let o;fe(s)?"default"in s?o=He(s.from||r,s.default,!0):o=He(s.from||r):o=He(s),ye(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Ps(e,t,n){Xe(J(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ti(e,t,n,r){let s=r.includes(".")?Vi(n,r):()=>n[r];if(ae(e)){const o=t[e];Y(o)&&Zt(s,o)}else if(Y(e))Zt(s,e.bind(n));else if(fe(e))if(J(e))e.forEach(o=>Ti(o,t,n,r));else{const o=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(o)&&Zt(s,o,e)}}function xi(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let l;return c?l=c:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(f=>An(l,f,i,!0)),An(l,t,i)),fe(t)&&o.set(t,l),l}function An(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&An(e,o,n,!0),s&&s.forEach(i=>An(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const c=Ec[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Ec={data:As,props:Ts,emits:Ts,methods:Wt,computed:Wt,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:Wt,directives:Wt,watch:Sc,provide:As,inject:Cc};function As(e,t){return t?e?function(){return ve(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function Cc(e,t){return Wt(Ur(e),Ur(t))}function Ur(e){if(J(e)){const t={};for(let n=0;n1)return n&&Y(t)?t.call(r&&r.proxy):t}}const Mi={},Ni=()=>Object.create(Mi),Oi=e=>Object.getPrototypeOf(e)===Mi;function Ac(e,t,n,r=!1){const s={},o=Ni();e.propsDefaults=Object.create(null),Bi(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:pi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Tc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,c=ne(s),[l]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let a=0;a{l=!0;const[p,g]=Li(a,t,!0);ve(i,p),g&&c.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return fe(e)&&r.set(e,Ot),Ot;if(J(o))for(let u=0;ue[0]==="_"||e==="$stable",as=e=>J(e)?e.map(Ye):[Ye(e)],Ic=(e,t,n)=>{if(t._n)return t;const r=sc((...s)=>as(t(...s)),n);return r._c=!1,r},Fi=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Di(s))continue;const o=e[s];if(Y(o))t[s]=Ic(s,o,r);else if(o!=null){const i=as(o);t[s]=()=>i}}},Ui=(e,t)=>{const n=as(t);e.slots.default=()=>n},$i=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Mc=(e,t,n)=>{const r=e.slots=Ni();if(e.vnode.shapeFlag&32){const s=t._;s?($i(r,t,n),n&&Jo(r,"_",s,!0)):Fi(t,r)}else t&&Ui(e,t)},Nc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ie;if(r.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:$i(s,t,n):(o=!t.$stable,Fi(t,s)),i=t}else t&&(Ui(e,t),i={default:1});if(o)for(const c in s)!Di(c)&&i[c]==null&&delete s[c]},xe=zc;function Oc(e){return Bc(e)}function Bc(e,t){const n=Bn();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:c,createComment:l,setText:f,setElementText:u,parentNode:a,nextSibling:p,setScopeId:g=Qe,insertStaticContent:w}=e,C=(d,h,m,_=null,E=null,b=null,L=void 0,O=null,I=!!h.dynamicChildren)=>{if(d===h)return;d&&!Vt(d,h)&&(_=v(d),de(d,E,b,!0),d=null),h.patchFlag===-2&&(I=!1,h.dynamicChildren=null);const{type:T,ref:z,shapeFlag:D}=h;switch(T){case kn:U(d,h,m,_);break;case St:R(d,h,m,_);break;case Zn:d==null&&A(h,m,_,L);break;case Me:q(d,h,m,_,E,b,L,O,I);break;default:D&1?$(d,h,m,_,E,b,L,O,I):D&6?H(d,h,m,_,E,b,L,O,I):(D&64||D&128)&&T.process(d,h,m,_,E,b,L,O,I,k)}z!=null&&E&&Pn(z,d&&d.ref,b,h||d,!h)},U=(d,h,m,_)=>{if(d==null)r(h.el=c(h.children),m,_);else{const E=h.el=d.el;h.children!==d.children&&f(E,h.children)}},R=(d,h,m,_)=>{d==null?r(h.el=l(h.children||""),m,_):h.el=d.el},A=(d,h,m,_)=>{[d.el,d.anchor]=w(d.children,h,m,_,d.el,d.anchor)},S=({el:d,anchor:h},m,_)=>{let E;for(;d&&d!==h;)E=p(d),r(d,m,_),d=E;r(h,m,_)},y=({el:d,anchor:h})=>{let m;for(;d&&d!==h;)m=p(d),s(d),d=m;s(h)},$=(d,h,m,_,E,b,L,O,I)=>{h.type==="svg"?L="svg":h.type==="math"&&(L="mathml"),d==null?P(h,m,_,E,b,L,O,I):F(d,h,E,b,L,O,I)},P=(d,h,m,_,E,b,L,O)=>{let I,T;const{props:z,shapeFlag:D,transition:K,dirs:G}=d;if(I=d.el=i(d.type,b,z&&z.is,z),D&8?u(I,d.children):D&16&&x(d.children,I,null,_,E,Xn(d,b),L,O),G&&_t(d,null,_,"created"),N(I,d,d.scopeId,L,_),z){for(const le in z)le!=="value"&&!Gt(le)&&o(I,le,null,z[le],b,_);"value"in z&&o(I,"value",null,z.value,b),(T=z.onVnodeBeforeMount)&&We(T,_,d)}G&&_t(d,null,_,"beforeMount");const Q=Lc(E,K);Q&&K.beforeEnter(I),r(I,h,m),((T=z&&z.onVnodeMounted)||Q||G)&&xe(()=>{T&&We(T,_,d),Q&&K.enter(I),G&&_t(d,null,_,"mounted")},E)},N=(d,h,m,_,E)=>{if(m&&g(d,m),_)for(let b=0;b<_.length;b++)g(d,_[b]);if(E){let b=E.subTree;if(h===b||Ki(b.type)&&(b.ssContent===h||b.ssFallback===h)){const L=E.vnode;N(d,L,L.scopeId,L.slotScopeIds,E.parent)}}},x=(d,h,m,_,E,b,L,O,I=0)=>{for(let T=I;T{const O=h.el=d.el;let{patchFlag:I,dynamicChildren:T,dirs:z}=h;I|=d.patchFlag&16;const D=d.props||ie,K=h.props||ie;let G;if(m&&bt(m,!1),(G=K.onVnodeBeforeUpdate)&&We(G,m,h,d),z&&_t(h,d,m,"beforeUpdate"),m&&bt(m,!0),(D.innerHTML&&K.innerHTML==null||D.textContent&&K.textContent==null)&&u(O,""),T?V(d.dynamicChildren,T,O,m,_,Xn(h,E),b):L||Z(d,h,O,null,m,_,Xn(h,E),b,!1),I>0){if(I&16)j(O,D,K,m,E);else if(I&2&&D.class!==K.class&&o(O,"class",null,K.class,E),I&4&&o(O,"style",D.style,K.style,E),I&8){const Q=h.dynamicProps;for(let le=0;le{G&&We(G,m,h,d),z&&_t(h,d,m,"updated")},_)},V=(d,h,m,_,E,b,L)=>{for(let O=0;O{if(h!==m){if(h!==ie)for(const b in h)!Gt(b)&&!(b in m)&&o(d,b,h[b],null,E,_);for(const b in m){if(Gt(b))continue;const L=m[b],O=h[b];L!==O&&b!=="value"&&o(d,b,O,L,E,_)}"value"in m&&o(d,"value",h.value,m.value,E)}},q=(d,h,m,_,E,b,L,O,I)=>{const T=h.el=d?d.el:c(""),z=h.anchor=d?d.anchor:c("");let{patchFlag:D,dynamicChildren:K,slotScopeIds:G}=h;G&&(O=O?O.concat(G):G),d==null?(r(T,m,_),r(z,m,_),x(h.children||[],m,z,E,b,L,O,I)):D>0&&D&64&&K&&d.dynamicChildren?(V(d.dynamicChildren,K,m,E,b,L,O),(h.key!=null||E&&h===E.subTree)&&ki(d,h,!0)):Z(d,h,m,z,E,b,L,O,I)},H=(d,h,m,_,E,b,L,O,I)=>{h.slotScopeIds=O,d==null?h.shapeFlag&512?E.ctx.activate(h,m,_,L,I):W(h,m,_,E,b,L,I):_e(d,h,I)},W=(d,h,m,_,E,b,L)=>{const O=d.component=Zc(d,_,E);if(Ri(d)&&(O.ctx.renderer=k),eu(O,!1,L),O.asyncDep){if(E&&E.registerDep(O,ue,L),!d.el){const I=O.subTree=Pe(St);R(null,I,h,m)}}else ue(O,d,h,m,E,b,L)},_e=(d,h,m)=>{const _=h.component=d.component;if(qc(d,h,m))if(_.asyncDep&&!_.asyncResolved){ee(_,h,m);return}else _.next=h,_.update();else h.el=d.el,_.vnode=h},ue=(d,h,m,_,E,b,L)=>{const O=()=>{if(d.isMounted){let{next:D,bu:K,u:G,parent:Q,vnode:le}=d;{const Ke=Hi(d);if(Ke){D&&(D.el=le.el,ee(d,D,L)),Ke.asyncDep.then(()=>{d.isUnmounted||O()});return}}let se=D,Ae;bt(d,!1),D?(D.el=le.el,ee(d,D,L)):D=le,K&&yn(K),(Ae=D.props&&D.props.onVnodeBeforeUpdate)&&We(Ae,Q,D,le),bt(d,!0);const Re=Ms(d),qe=d.subTree;d.subTree=Re,C(qe,Re,a(qe.el),v(qe),d,E,b),D.el=Re.el,se===null&&Kc(d,Re.el),G&&xe(G,E),(Ae=D.props&&D.props.onVnodeUpdated)&&xe(()=>We(Ae,Q,D,le),E)}else{let D;const{el:K,props:G}=h,{bm:Q,m:le,parent:se,root:Ae,type:Re}=d,qe=Qt(h);bt(d,!1),Q&&yn(Q),!qe&&(D=G&&G.onVnodeBeforeMount)&&We(D,se,h),bt(d,!0);{Ae.ce&&Ae.ce._injectChildStyle(Re);const Ke=d.subTree=Ms(d);C(null,Ke,m,_,d,E,b),h.el=Ke.el}if(le&&xe(le,E),!qe&&(D=G&&G.onVnodeMounted)){const Ke=h;xe(()=>We(D,se,Ke),E)}(h.shapeFlag&256||se&&Qt(se.vnode)&&se.vnode.shapeFlag&256)&&d.a&&xe(d.a,E),d.isMounted=!0,h=m=_=null}};d.scope.on();const I=d.effect=new ei(O);d.scope.off();const T=d.update=I.run.bind(I),z=d.job=I.runIfDirty.bind(I);z.i=d,z.id=d.uid,I.scheduler=()=>cs(z),bt(d,!0),T()},ee=(d,h,m)=>{h.component=d;const _=d.vnode.props;d.vnode=h,d.next=null,Tc(d,h.props,_,m),Nc(d,h.children,m),mt(),Ss(d),yt()},Z=(d,h,m,_,E,b,L,O,I=!1)=>{const T=d&&d.children,z=d?d.shapeFlag:0,D=h.children,{patchFlag:K,shapeFlag:G}=h;if(K>0){if(K&128){Oe(T,D,m,_,E,b,L,O,I);return}else if(K&256){Fe(T,D,m,_,E,b,L,O,I);return}}G&8?(z&16&&we(T,E,b),D!==T&&u(m,D)):z&16?G&16?Oe(T,D,m,_,E,b,L,O,I):we(T,E,b,!0):(z&8&&u(m,""),G&16&&x(D,m,_,E,b,L,O,I))},Fe=(d,h,m,_,E,b,L,O,I)=>{d=d||Ot,h=h||Ot;const T=d.length,z=h.length,D=Math.min(T,z);let K;for(K=0;Kz?we(d,E,b,!0,!1,D):x(h,m,_,E,b,L,O,I,D)},Oe=(d,h,m,_,E,b,L,O,I)=>{let T=0;const z=h.length;let D=d.length-1,K=z-1;for(;T<=D&&T<=K;){const G=d[T],Q=h[T]=I?ft(h[T]):Ye(h[T]);if(Vt(G,Q))C(G,Q,m,null,E,b,L,O,I);else break;T++}for(;T<=D&&T<=K;){const G=d[D],Q=h[K]=I?ft(h[K]):Ye(h[K]);if(Vt(G,Q))C(G,Q,m,null,E,b,L,O,I);else break;D--,K--}if(T>D){if(T<=K){const G=K+1,Q=GK)for(;T<=D;)de(d[T],E,b,!0),T++;else{const G=T,Q=T,le=new Map;for(T=Q;T<=K;T++){const Te=h[T]=I?ft(h[T]):Ye(h[T]);Te.key!=null&&le.set(Te.key,T)}let se,Ae=0;const Re=K-Q+1;let qe=!1,Ke=0;const Ht=new Array(Re);for(T=0;T=Re){de(Te,E,b,!0);continue}let ze;if(Te.key!=null)ze=le.get(Te.key);else for(se=Q;se<=K;se++)if(Ht[se-Q]===0&&Vt(Te,h[se])){ze=se;break}ze===void 0?de(Te,E,b,!0):(Ht[ze-Q]=T+1,ze>=Ke?Ke=ze:qe=!0,C(Te,h[ze],m,null,E,b,L,O,I),Ae++)}const _s=qe?Dc(Ht):Ot;for(se=_s.length-1,T=Re-1;T>=0;T--){const Te=Q+T,ze=h[Te],bs=Te+1{const{el:b,type:L,transition:O,children:I,shapeFlag:T}=d;if(T&6){be(d.component.subTree,h,m,_);return}if(T&128){d.suspense.move(h,m,_);return}if(T&64){L.move(d,h,m,k);return}if(L===Me){r(b,h,m);for(let D=0;DO.enter(b),E);else{const{leave:D,delayLeave:K,afterLeave:G}=O,Q=()=>r(b,h,m),le=()=>{D(b,()=>{Q(),G&&G()})};K?K(b,Q,le):le()}else r(b,h,m)},de=(d,h,m,_=!1,E=!1)=>{const{type:b,props:L,ref:O,children:I,dynamicChildren:T,shapeFlag:z,patchFlag:D,dirs:K,cacheIndex:G}=d;if(D===-2&&(E=!1),O!=null&&Pn(O,null,m,d,!0),G!=null&&(h.renderCache[G]=void 0),z&256){h.ctx.deactivate(d);return}const Q=z&1&&K,le=!Qt(d);let se;if(le&&(se=L&&L.onVnodeBeforeUnmount)&&We(se,h,d),z&6)it(d.component,m,_);else{if(z&128){d.suspense.unmount(m,_);return}Q&&_t(d,null,h,"beforeUnmount"),z&64?d.type.remove(d,h,m,k,_):T&&!T.hasOnce&&(b!==Me||D>0&&D&64)?we(T,h,m,!1,!0):(b===Me&&D&384||!E&&z&16)&&we(I,h,m),_&&Ve(d)}(le&&(se=L&&L.onVnodeUnmounted)||Q)&&xe(()=>{se&&We(se,h,d),Q&&_t(d,null,h,"unmounted")},m)},Ve=d=>{const{type:h,el:m,anchor:_,transition:E}=d;if(h===Me){ot(m,_);return}if(h===Zn){y(d);return}const b=()=>{s(m),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(d.shapeFlag&1&&E&&!E.persisted){const{leave:L,delayLeave:O}=E,I=()=>L(m,b);O?O(d.el,b,I):I()}else b()},ot=(d,h)=>{let m;for(;d!==h;)m=p(d),s(d),d=m;s(h)},it=(d,h,m)=>{const{bum:_,scope:E,job:b,subTree:L,um:O,m:I,a:T}=d;Is(I),Is(T),_&&yn(_),E.stop(),b&&(b.flags|=8,de(L,d,h,m)),O&&xe(O,h),xe(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},we=(d,h,m,_=!1,E=!1,b=0)=>{for(let L=b;L{if(d.shapeFlag&6)return v(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),m=h&&h[oc];return m?p(m):h};let B=!1;const M=(d,h,m)=>{d==null?h._vnode&&de(h._vnode,null,null,!0):C(h._vnode||null,d,h,null,null,null,m),h._vnode=d,B||(B=!0,Ss(),wi(),B=!1)},k={p:C,um:de,m:be,r:Ve,mt:W,mc:x,pc:Z,pbc:V,n:v,o:e};return{render:M,hydrate:void 0,createApp:Pc(M)}}function Xn({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 Lc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ki(e,t,n=!1){const r=e.children,s=t.children;if(J(r)&&J(s))for(let o=0;o>1,e[n[c]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Hi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Hi(t)}function Is(e){if(e)for(let t=0;tHe(Fc);function Zt(e,t,n){return ji(e,t,n)}function ji(e,t,n=ie){const{immediate:r,deep:s,flush:o,once:i}=n,c=ve({},n),l=t&&r||!t&&o!=="post";let f;if(cn){if(o==="sync"){const g=Uc();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!l){const g=()=>{};return g.stop=Qe,g.resume=Qe,g.pause=Qe,g}}const u=Se;c.call=(g,w,C)=>Xe(g,u,w,C);let a=!1;o==="post"?c.scheduler=g=>{xe(g,u&&u.suspense)}:o!=="sync"&&(a=!0,c.scheduler=(g,w)=>{w?g():cs(g)}),c.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const p=ec(e,t,c);return cn&&(f?f.push(p):l&&p()),p}function $c(e,t,n){const r=this.proxy,s=ae(e)?e.includes(".")?Vi(r,e):()=>r[e]:e.bind(r,r);let o;Y(t)?o=t:(o=t.handler,n=t);const i=dn(this),c=ji(s,o.bind(r),n);return i(),c}function Vi(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${pt(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function Hc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ie;let s=n;const o=t.startsWith("update:"),i=o&&kc(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>ae(u)?u.trim():u)),i.number&&(s=n.map(Ir)));let c,l=r[c=Kn(t)]||r[c=Kn(pt(t))];!l&&o&&(l=r[c=Kn(Rt(t))]),l&&Xe(l,e,6,s);const f=r[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Xe(f,e,6,s)}}function qi(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},c=!1;if(!Y(e)){const l=f=>{const u=qi(f,t,!0);u&&(c=!0,ve(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!c?(fe(e)&&r.set(e,null),null):(J(o)?o.forEach(l=>i[l]=null):ve(i,o),fe(e)&&r.set(e,i),i)}function $n(e,t){return!e||!Mn(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Rt(t))||re(e,t))}function Ms(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:c,emit:l,render:f,renderCache:u,props:a,data:p,setupState:g,ctx:w,inheritAttrs:C}=e,U=Sn(e);let R,A;try{if(n.shapeFlag&4){const y=s||r,$=y;R=Ye(f.call($,y,u,a,g,p,w)),A=c}else{const y=t;R=Ye(y.length>1?y(a,{attrs:c,slots:i,emit:l}):y(a,null)),A=t.props?c:jc(c)}}catch(y){en.length=0,Fn(y,e,1),R=Pe(St)}let S=R;if(A&&C!==!1){const y=Object.keys(A),{shapeFlag:$}=S;y.length&&$&7&&(o&&y.some(Jr)&&(A=Vc(A,o)),S=Ut(S,A,!1,!0))}return n.dirs&&(S=Ut(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&us(S,n.transition),R=S,Sn(U),R}const jc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Mn(n))&&((t||(t={}))[n]=e[n]);return t},Vc=(e,t)=>{const n={};for(const r in e)(!Jr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function qc(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:c,patchFlag:l}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ns(r,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let a=0;ae.__isSuspense;function zc(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):rc(e)}const Me=Symbol.for("v-fgt"),kn=Symbol.for("v-txt"),St=Symbol.for("v-cmt"),Zn=Symbol.for("v-stc"),en=[];let Ne=null;function pe(e=!1){en.push(Ne=e?null:[])}function Wc(){en.pop(),Ne=en[en.length-1]||null}let ln=1;function Os(e,t=!1){ln+=e,e<0&&Ne&&t&&(Ne.hasOnce=!0)}function zi(e){return e.dynamicChildren=ln>0?Ne||Ot:null,Wc(),ln>0&&Ne&&Ne.push(e),e}function Be(e,t,n,r,s,o){return zi(X(e,t,n,r,s,o,!0))}function Hn(e,t,n,r,s){return zi(Pe(e,t,n,r,s,!0))}function Tn(e){return e?e.__v_isVNode===!0:!1}function Vt(e,t){return e.type===t.type&&e.key===t.key}const Wi=({key:e})=>e??null,_n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||ye(e)||Y(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function X(e,t=null,n=null,r=0,s=null,o=e===Me?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wi(t),ref:t&&_n(t),scopeId:Ci,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Le};return c?(ds(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ae(n)?8:16),ln>0&&!i&&Ne&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ne.push(l),l}const Pe=Gc;function Gc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===vc)&&(e=St),Tn(e)){const c=Ut(e,t,!0);return n&&ds(c,n),ln>0&&!o&&Ne&&(c.shapeFlag&6?Ne[Ne.indexOf(e)]=c:Ne.push(c)),c.patchFlag=-2,c}if(su(e)&&(e=e.__vccOpts),t){t=Jc(t);let{class:c,style:l}=t;c&&!ae(c)&&(t.class=Zr(c)),fe(l)&&(is(l)&&!J(l)&&(l=ve({},l)),t.style=Xr(l))}const i=ae(e)?1:Ki(e)?128:ic(e)?64:fe(e)?4:Y(e)?2:0;return X(e,t,n,r,s,i,o,!0)}function Jc(e){return e?is(e)||Oi(e)?ve({},e):e:null}function Ut(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:c,transition:l}=e,f=t?Yc(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Wi(f),ref:t&&t.ref?n&&o?J(o)?o.concat(_n(t)):[o,_n(t)]:_n(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ut(e.ssContent),ssFallback:e.ssFallback&&Ut(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&us(u,l.clone(u)),u}function kr(e=" ",t=0){return Pe(kn,null,e,t)}function Bs(e="",t=!1){return t?(pe(),Hn(St,null,e)):Pe(St,null,e)}function Ye(e){return e==null||typeof e=="boolean"?Pe(St):J(e)?Pe(Me,null,e.slice()):Tn(e)?ft(e):Pe(kn,null,String(e))}function ft(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ut(e)}function ds(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ds(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Oi(t)?t._ctx=Le:s===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),r&64?(n=16,t=[kr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yc(...e){const t={};for(let n=0;n{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};xn=t("__VUE_INSTANCE_SETTERS__",n=>Se=n),Hr=t("__VUE_SSR_SETTERS__",n=>cn=n)}const dn=e=>{const t=Se;return xn(e),e.scope.on(),()=>{e.scope.off(),xn(t)}},Ls=()=>{Se&&Se.scope.off(),xn(null)};function Gi(e){return e.vnode.shapeFlag&4}let cn=!1;function eu(e,t=!1,n=!1){t&&Hr(t);const{props:r,children:s}=e.vnode,o=Gi(e);Ac(e,r,o,t),Mc(e,s,n);const i=o?tu(e,t):void 0;return t&&Hr(!1),i}function tu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_c);const{setup:r}=n;if(r){mt();const s=e.setupContext=r.length>1?ru(e):null,o=dn(e),i=an(r,e,0,[e.props,s]),c=Ko(i);if(yt(),o(),(c||e.sp)&&!Qt(e)&&Si(e),c){if(i.then(Ls,Ls),t)return i.then(l=>{Ds(e,l)}).catch(l=>{Fn(l,e,0)});e.asyncDep=i}else Ds(e,i)}else Ji(e)}function Ds(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=vi(t)),Ji(e)}function Ji(e,t,n){const r=e.type;e.render||(e.render=r.render||Qe);{const s=dn(e);mt();try{bc(e)}finally{yt(),s()}}}const nu={get(e,t){return ge(e,"get",""),e[t]}};function ru(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,nu),slots:e.slots,emit:e.emit,expose:t}}function jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vi(mi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xt)return Xt[n](e)},has(t,n){return n in t||n in Xt}})):e.proxy}function su(e){return Y(e)&&"__vccOpts"in e}const $e=(e,t)=>Xl(e,t,cn);function hs(e,t,n){const r=arguments.length;return r===2?fe(t)&&!J(t)?Tn(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Tn(n)&&(n=[n]),Pe(e,t,n))}const ou="3.5.13";/** +**/function an(e,t,n,r){try{return r?e(...r):e()}catch(s){Un(s,t,n)}}function Xe(e,t,n,r){if(Y(e)){const s=an(e,t,n,r);return s&&Ko(s)&&s.catch(o=>{Un(o,t,n)}),s}if(J(e)){const s=[];for(let o=0;o>>1,s=Ce[r],o=on(s);o=on(n)?Ce.push(e):Ce.splice(nc(t),0,e),e.flags|=1,bi()}}function bi(){Sn||(Sn=_i.then(Ei))}function rc(e){J(e)?Dt.push(...e):ut&&e.id===-1?ut.splice(It+1,0,e):e.flags&1||(Dt.push(e),e.flags|=1),bi()}function Rs(e,t,n=Je+1){for(;non(n)-on(r));if(Dt.length=0,ut){ut.push(...t);return}for(ut=t,It=0;Ite.id==null?e.flags&2?-1:1/0:e.id;function Ei(e){try{for(Je=0;Je{r._d&&Bs(-1);const o=Rn(t);let i;try{i=e(...s)}finally{Rn(o),r._d&&Bs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Pn(e,t){if(Le===null)return e;const n=Vn(Le),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport;function fs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function vt(e,t){return Y(e)?ve({name:e.name},t,{setup:e}):e}function Si(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function An(e,t,n,r,s=!1){if(J(e)){e.forEach((w,C)=>An(w,t&&(J(t)?t[C]:t),n,r,s));return}if(Qt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&An(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Vn(r.component):r.el,i=s?null:o,{i:c,r:l}=e,f=t&&t.r,u=c.refs===ie?c.refs={}:c.refs,a=c.setupState,p=ne(a),g=a===ie?()=>!1:w=>re(p,w);if(f!=null&&f!==l&&(ae(f)?(u[f]=null,g(f)&&(a[f]=null)):ye(f)&&(f.value=null)),Y(l))an(l,c,12,[i,u]);else{const w=ae(l),C=ye(l);if(w||C){const U=()=>{if(e.f){const P=w?g(l)?a[l]:u[l]:l.value;s?J(P)&&Qr(P,o):J(P)?P.includes(o)||P.push(o):w?(u[l]=[o],g(l)&&(a[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else w?(u[l]=i,g(l)&&(a[l]=i)):C&&(l.value=i,e.k&&(u[e.k]=i))};i?(U.id=-1,Ie(U,n)):U()}}}Ln().requestIdleCallback;Ln().cancelIdleCallback;const Qt=e=>!!e.type.__asyncLoader,Ri=e=>e.type.__isKeepAlive;function lc(e,t){Pi(e,"a",t)}function cc(e,t){Pi(e,"da",t)}function Pi(e,t,n=Se){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(kn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ri(s.parent.vnode)&&uc(r,t,n,s),s=s.parent}}function uc(e,t,n,r){const s=kn(t,e,r,!0);Ai(()=>{Qr(r[t],s)},n)}function kn(e,t,n=Se,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{mt();const c=dn(n),l=Xe(t,n,e,i);return c(),yt(),l});return r?s.unshift(o):s.push(o),o}}const st=e=>(t,n=Se)=>{(!cn||e==="sp")&&kn(e,(...r)=>t(...r),n)},fc=st("bm"),as=st("m"),ac=st("bu"),dc=st("u"),hc=st("bum"),Ai=st("um"),pc=st("sp"),gc=st("rtg"),mc=st("rtc");function yc(e,t=Se){kn("ec",e,t)}const vc=Symbol.for("v-ndc");function Qn(e,t,n,r){let s;const o=n,i=J(e);if(i||ae(e)){const c=i&&Lt(e);let l=!1;c&&(l=!De(e),e=Dn(e)),s=new Array(e.length);for(let f=0,u=e.length;ft(c,l,void 0,o));else{const c=Object.keys(e);s=new Array(c.length);for(let l=0,f=c.length;le?Gi(e)?Vn(e):Ur(e.parent):null,Xt=ve(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=>Ur(e.parent),$root:e=>Ur(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xi(e),$forceUpdate:e=>e.f||(e.f=()=>{us(e.update)}),$nextTick:e=>e.n||(e.n=cs.bind(e.proxy)),$watch:e=>kc.bind(e)}),Xn=(e,t)=>e!==ie&&!e.__isScriptSetup&&re(e,t),_c={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:c,appContext:l}=e;let f;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Xn(r,t))return i[t]=1,r[t];if(s!==ie&&re(s,t))return i[t]=2,s[t];if((f=e.propsOptions[0])&&re(f,t))return i[t]=3,o[t];if(n!==ie&&re(n,t))return i[t]=4,n[t];kr&&(i[t]=0)}}const u=Xt[t];let a,p;if(u)return t==="$attrs"&&ge(e.attrs,"get",""),u(e);if((a=c.__cssModules)&&(a=a[t]))return a;if(n!==ie&&re(n,t))return i[t]=4,n[t];if(p=l.config.globalProperties,re(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Xn(s,t)?(s[t]=n,!0):r!==ie&&re(r,t)?(r[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let c;return!!n[i]||e!==ie&&re(e,i)||Xn(t,i)||(c=o[0])&&re(c,i)||re(r,i)||re(Xt,i)||re(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ps(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let kr=!0;function bc(e){const t=xi(e),n=e.proxy,r=e.ctx;kr=!1,t.beforeCreate&&As(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:c,provide:l,inject:f,created:u,beforeMount:a,mounted:p,beforeUpdate:g,updated:w,activated:C,deactivated:U,beforeDestroy:P,beforeUnmount:A,destroyed:R,unmounted:y,render:k,renderTracked:S,renderTriggered:N,errorCaptured:x,serverPrefetch:F,expose:V,inheritAttrs:j,components:q,directives:H,filters:W}=t;if(f&&wc(f,r,null),i)for(const ee in i){const Z=i[ee];Y(Z)&&(r[ee]=Z.bind(n))}if(s){const ee=s.call(n,n);fe(ee)&&(e.data=Fn(ee))}if(kr=!0,o)for(const ee in o){const Z=o[ee],Fe=Y(Z)?Z.bind(n,n):Y(Z.get)?Z.get.bind(n,n):Qe,Be=!Y(Z)&&Y(Z.set)?Z.set.bind(n):Qe,be=ke({get:Fe,set:Be});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>be.value,set:de=>be.value=de})}if(c)for(const ee in c)Ti(c[ee],r,n,ee);if(l){const ee=Y(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(Z=>{vn(Z,ee[Z])})}u&&As(u,e,"c");function ue(ee,Z){J(Z)?Z.forEach(Fe=>ee(Fe.bind(n))):Z&&ee(Z.bind(n))}if(ue(fc,a),ue(as,p),ue(ac,g),ue(dc,w),ue(lc,C),ue(cc,U),ue(yc,x),ue(mc,S),ue(gc,N),ue(hc,A),ue(Ai,y),ue(pc,F),J(V))if(V.length){const ee=e.exposed||(e.exposed={});V.forEach(Z=>{Object.defineProperty(ee,Z,{get:()=>n[Z],set:Fe=>n[Z]=Fe})})}else e.exposed||(e.exposed={});k&&e.render===Qe&&(e.render=k),j!=null&&(e.inheritAttrs=j),q&&(e.components=q),H&&(e.directives=H),F&&Si(e)}function wc(e,t,n=Qe){J(e)&&(e=$r(e));for(const r in e){const s=e[r];let o;fe(s)?"default"in s?o=He(s.from||r,s.default,!0):o=He(s.from||r):o=He(s),ye(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function As(e,t,n){Xe(J(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ti(e,t,n,r){let s=r.includes(".")?Vi(n,r):()=>n[r];if(ae(e)){const o=t[e];Y(o)&&Zt(s,o)}else if(Y(e))Zt(s,e.bind(n));else if(fe(e))if(J(e))e.forEach(o=>Ti(o,t,n,r));else{const o=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(o)&&Zt(s,o,e)}}function xi(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let l;return c?l=c:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(f=>Tn(l,f,i,!0)),Tn(l,t,i)),fe(t)&&o.set(t,l),l}function Tn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Tn(e,o,n,!0),s&&s.forEach(i=>Tn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const c=Ec[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Ec={data:Ts,props:xs,emits:xs,methods:Wt,computed:Wt,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:Wt,directives:Wt,watch:Sc,provide:Ts,inject:Cc};function Ts(e,t){return t?e?function(){return ve(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function Cc(e,t){return Wt($r(e),$r(t))}function $r(e){if(J(e)){const t={};for(let n=0;n1)return n&&Y(t)?t.call(r&&r.proxy):t}}const Mi={},Ni=()=>Object.create(Mi),Oi=e=>Object.getPrototypeOf(e)===Mi;function Ac(e,t,n,r=!1){const s={},o=Ni();e.propsDefaults=Object.create(null),Bi(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:pi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Tc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,c=ne(s),[l]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let a=0;a{l=!0;const[p,g]=Li(a,t,!0);ve(i,p),g&&c.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return fe(e)&&r.set(e,Ot),Ot;if(J(o))for(let u=0;ue[0]==="_"||e==="$stable",ds=e=>J(e)?e.map(Ye):[Ye(e)],Ic=(e,t,n)=>{if(t._n)return t;const r=sc((...s)=>ds(t(...s)),n);return r._c=!1,r},Fi=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Di(s))continue;const o=e[s];if(Y(o))t[s]=Ic(s,o,r);else if(o!=null){const i=ds(o);t[s]=()=>i}}},Ui=(e,t)=>{const n=ds(t);e.slots.default=()=>n},ki=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Mc=(e,t,n)=>{const r=e.slots=Ni();if(e.vnode.shapeFlag&32){const s=t._;s?(ki(r,t,n),n&&Jo(r,"_",s,!0)):Fi(t,r)}else t&&Ui(e,t)},Nc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ie;if(r.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:ki(s,t,n):(o=!t.$stable,Fi(t,s)),i=t}else t&&(Ui(e,t),i={default:1});if(o)for(const c in s)!Di(c)&&i[c]==null&&delete s[c]},Ie=zc;function Oc(e){return Bc(e)}function Bc(e,t){const n=Ln();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:c,createComment:l,setText:f,setElementText:u,parentNode:a,nextSibling:p,setScopeId:g=Qe,insertStaticContent:w}=e,C=(d,h,m,_=null,E=null,b=null,L=void 0,O=null,I=!!h.dynamicChildren)=>{if(d===h)return;d&&!Vt(d,h)&&(_=v(d),de(d,E,b,!0),d=null),h.patchFlag===-2&&(I=!1,h.dynamicChildren=null);const{type:T,ref:z,shapeFlag:D}=h;switch(T){case Hn:U(d,h,m,_);break;case St:P(d,h,m,_);break;case er:d==null&&A(h,m,_,L);break;case Ne:q(d,h,m,_,E,b,L,O,I);break;default:D&1?k(d,h,m,_,E,b,L,O,I):D&6?H(d,h,m,_,E,b,L,O,I):(D&64||D&128)&&T.process(d,h,m,_,E,b,L,O,I,$)}z!=null&&E&&An(z,d&&d.ref,b,h||d,!h)},U=(d,h,m,_)=>{if(d==null)r(h.el=c(h.children),m,_);else{const E=h.el=d.el;h.children!==d.children&&f(E,h.children)}},P=(d,h,m,_)=>{d==null?r(h.el=l(h.children||""),m,_):h.el=d.el},A=(d,h,m,_)=>{[d.el,d.anchor]=w(d.children,h,m,_,d.el,d.anchor)},R=({el:d,anchor:h},m,_)=>{let E;for(;d&&d!==h;)E=p(d),r(d,m,_),d=E;r(h,m,_)},y=({el:d,anchor:h})=>{let m;for(;d&&d!==h;)m=p(d),s(d),d=m;s(h)},k=(d,h,m,_,E,b,L,O,I)=>{h.type==="svg"?L="svg":h.type==="math"&&(L="mathml"),d==null?S(h,m,_,E,b,L,O,I):F(d,h,E,b,L,O,I)},S=(d,h,m,_,E,b,L,O)=>{let I,T;const{props:z,shapeFlag:D,transition:K,dirs:G}=d;if(I=d.el=i(d.type,b,z&&z.is,z),D&8?u(I,d.children):D&16&&x(d.children,I,null,_,E,Zn(d,b),L,O),G&&_t(d,null,_,"created"),N(I,d,d.scopeId,L,_),z){for(const le in z)le!=="value"&&!Gt(le)&&o(I,le,null,z[le],b,_);"value"in z&&o(I,"value",null,z.value,b),(T=z.onVnodeBeforeMount)&&We(T,_,d)}G&&_t(d,null,_,"beforeMount");const X=Lc(E,K);X&&K.beforeEnter(I),r(I,h,m),((T=z&&z.onVnodeMounted)||X||G)&&Ie(()=>{T&&We(T,_,d),X&&K.enter(I),G&&_t(d,null,_,"mounted")},E)},N=(d,h,m,_,E)=>{if(m&&g(d,m),_)for(let b=0;b<_.length;b++)g(d,_[b]);if(E){let b=E.subTree;if(h===b||Ki(b.type)&&(b.ssContent===h||b.ssFallback===h)){const L=E.vnode;N(d,L,L.scopeId,L.slotScopeIds,E.parent)}}},x=(d,h,m,_,E,b,L,O,I=0)=>{for(let T=I;T{const O=h.el=d.el;let{patchFlag:I,dynamicChildren:T,dirs:z}=h;I|=d.patchFlag&16;const D=d.props||ie,K=h.props||ie;let G;if(m&&bt(m,!1),(G=K.onVnodeBeforeUpdate)&&We(G,m,h,d),z&&_t(h,d,m,"beforeUpdate"),m&&bt(m,!0),(D.innerHTML&&K.innerHTML==null||D.textContent&&K.textContent==null)&&u(O,""),T?V(d.dynamicChildren,T,O,m,_,Zn(h,E),b):L||Z(d,h,O,null,m,_,Zn(h,E),b,!1),I>0){if(I&16)j(O,D,K,m,E);else if(I&2&&D.class!==K.class&&o(O,"class",null,K.class,E),I&4&&o(O,"style",D.style,K.style,E),I&8){const X=h.dynamicProps;for(let le=0;le{G&&We(G,m,h,d),z&&_t(h,d,m,"updated")},_)},V=(d,h,m,_,E,b,L)=>{for(let O=0;O{if(h!==m){if(h!==ie)for(const b in h)!Gt(b)&&!(b in m)&&o(d,b,h[b],null,E,_);for(const b in m){if(Gt(b))continue;const L=m[b],O=h[b];L!==O&&b!=="value"&&o(d,b,O,L,E,_)}"value"in m&&o(d,"value",h.value,m.value,E)}},q=(d,h,m,_,E,b,L,O,I)=>{const T=h.el=d?d.el:c(""),z=h.anchor=d?d.anchor:c("");let{patchFlag:D,dynamicChildren:K,slotScopeIds:G}=h;G&&(O=O?O.concat(G):G),d==null?(r(T,m,_),r(z,m,_),x(h.children||[],m,z,E,b,L,O,I)):D>0&&D&64&&K&&d.dynamicChildren?(V(d.dynamicChildren,K,m,E,b,L,O),(h.key!=null||E&&h===E.subTree)&&$i(d,h,!0)):Z(d,h,m,z,E,b,L,O,I)},H=(d,h,m,_,E,b,L,O,I)=>{h.slotScopeIds=O,d==null?h.shapeFlag&512?E.ctx.activate(h,m,_,L,I):W(h,m,_,E,b,L,I):_e(d,h,I)},W=(d,h,m,_,E,b,L)=>{const O=d.component=Zc(d,_,E);if(Ri(d)&&(O.ctx.renderer=$),eu(O,!1,L),O.asyncDep){if(E&&E.registerDep(O,ue,L),!d.el){const I=O.subTree=Pe(St);P(null,I,h,m)}}else ue(O,d,h,m,E,b,L)},_e=(d,h,m)=>{const _=h.component=d.component;if(qc(d,h,m))if(_.asyncDep&&!_.asyncResolved){ee(_,h,m);return}else _.next=h,_.update();else h.el=d.el,_.vnode=h},ue=(d,h,m,_,E,b,L)=>{const O=()=>{if(d.isMounted){let{next:D,bu:K,u:G,parent:X,vnode:le}=d;{const Ke=Hi(d);if(Ke){D&&(D.el=le.el,ee(d,D,L)),Ke.asyncDep.then(()=>{d.isUnmounted||O()});return}}let se=D,Ae;bt(d,!1),D?(D.el=le.el,ee(d,D,L)):D=le,K&&yn(K),(Ae=D.props&&D.props.onVnodeBeforeUpdate)&&We(Ae,X,D,le),bt(d,!0);const Re=Ns(d),qe=d.subTree;d.subTree=Re,C(qe,Re,a(qe.el),v(qe),d,E,b),D.el=Re.el,se===null&&Kc(d,Re.el),G&&Ie(G,E),(Ae=D.props&&D.props.onVnodeUpdated)&&Ie(()=>We(Ae,X,D,le),E)}else{let D;const{el:K,props:G}=h,{bm:X,m:le,parent:se,root:Ae,type:Re}=d,qe=Qt(h);bt(d,!1),X&&yn(X),!qe&&(D=G&&G.onVnodeBeforeMount)&&We(D,se,h),bt(d,!0);{Ae.ce&&Ae.ce._injectChildStyle(Re);const Ke=d.subTree=Ns(d);C(null,Ke,m,_,d,E,b),h.el=Ke.el}if(le&&Ie(le,E),!qe&&(D=G&&G.onVnodeMounted)){const Ke=h;Ie(()=>We(D,se,Ke),E)}(h.shapeFlag&256||se&&Qt(se.vnode)&&se.vnode.shapeFlag&256)&&d.a&&Ie(d.a,E),d.isMounted=!0,h=m=_=null}};d.scope.on();const I=d.effect=new ei(O);d.scope.off();const T=d.update=I.run.bind(I),z=d.job=I.runIfDirty.bind(I);z.i=d,z.id=d.uid,I.scheduler=()=>us(z),bt(d,!0),T()},ee=(d,h,m)=>{h.component=d;const _=d.vnode.props;d.vnode=h,d.next=null,Tc(d,h.props,_,m),Nc(d,h.children,m),mt(),Rs(d),yt()},Z=(d,h,m,_,E,b,L,O,I=!1)=>{const T=d&&d.children,z=d?d.shapeFlag:0,D=h.children,{patchFlag:K,shapeFlag:G}=h;if(K>0){if(K&128){Be(T,D,m,_,E,b,L,O,I);return}else if(K&256){Fe(T,D,m,_,E,b,L,O,I);return}}G&8?(z&16&&we(T,E,b),D!==T&&u(m,D)):z&16?G&16?Be(T,D,m,_,E,b,L,O,I):we(T,E,b,!0):(z&8&&u(m,""),G&16&&x(D,m,_,E,b,L,O,I))},Fe=(d,h,m,_,E,b,L,O,I)=>{d=d||Ot,h=h||Ot;const T=d.length,z=h.length,D=Math.min(T,z);let K;for(K=0;Kz?we(d,E,b,!0,!1,D):x(h,m,_,E,b,L,O,I,D)},Be=(d,h,m,_,E,b,L,O,I)=>{let T=0;const z=h.length;let D=d.length-1,K=z-1;for(;T<=D&&T<=K;){const G=d[T],X=h[T]=I?ft(h[T]):Ye(h[T]);if(Vt(G,X))C(G,X,m,null,E,b,L,O,I);else break;T++}for(;T<=D&&T<=K;){const G=d[D],X=h[K]=I?ft(h[K]):Ye(h[K]);if(Vt(G,X))C(G,X,m,null,E,b,L,O,I);else break;D--,K--}if(T>D){if(T<=K){const G=K+1,X=GK)for(;T<=D;)de(d[T],E,b,!0),T++;else{const G=T,X=T,le=new Map;for(T=X;T<=K;T++){const Te=h[T]=I?ft(h[T]):Ye(h[T]);Te.key!=null&&le.set(Te.key,T)}let se,Ae=0;const Re=K-X+1;let qe=!1,Ke=0;const Ht=new Array(Re);for(T=0;T=Re){de(Te,E,b,!0);continue}let ze;if(Te.key!=null)ze=le.get(Te.key);else for(se=X;se<=K;se++)if(Ht[se-X]===0&&Vt(Te,h[se])){ze=se;break}ze===void 0?de(Te,E,b,!0):(Ht[ze-X]=T+1,ze>=Ke?Ke=ze:qe=!0,C(Te,h[ze],m,null,E,b,L,O,I),Ae++)}const bs=qe?Dc(Ht):Ot;for(se=bs.length-1,T=Re-1;T>=0;T--){const Te=X+T,ze=h[Te],ws=Te+1{const{el:b,type:L,transition:O,children:I,shapeFlag:T}=d;if(T&6){be(d.component.subTree,h,m,_);return}if(T&128){d.suspense.move(h,m,_);return}if(T&64){L.move(d,h,m,$);return}if(L===Ne){r(b,h,m);for(let D=0;DO.enter(b),E);else{const{leave:D,delayLeave:K,afterLeave:G}=O,X=()=>r(b,h,m),le=()=>{D(b,()=>{X(),G&&G()})};K?K(b,X,le):le()}else r(b,h,m)},de=(d,h,m,_=!1,E=!1)=>{const{type:b,props:L,ref:O,children:I,dynamicChildren:T,shapeFlag:z,patchFlag:D,dirs:K,cacheIndex:G}=d;if(D===-2&&(E=!1),O!=null&&An(O,null,m,d,!0),G!=null&&(h.renderCache[G]=void 0),z&256){h.ctx.deactivate(d);return}const X=z&1&&K,le=!Qt(d);let se;if(le&&(se=L&&L.onVnodeBeforeUnmount)&&We(se,h,d),z&6)it(d.component,m,_);else{if(z&128){d.suspense.unmount(m,_);return}X&&_t(d,null,h,"beforeUnmount"),z&64?d.type.remove(d,h,m,$,_):T&&!T.hasOnce&&(b!==Ne||D>0&&D&64)?we(T,h,m,!1,!0):(b===Ne&&D&384||!E&&z&16)&&we(I,h,m),_&&Ve(d)}(le&&(se=L&&L.onVnodeUnmounted)||X)&&Ie(()=>{se&&We(se,h,d),X&&_t(d,null,h,"unmounted")},m)},Ve=d=>{const{type:h,el:m,anchor:_,transition:E}=d;if(h===Ne){ot(m,_);return}if(h===er){y(d);return}const b=()=>{s(m),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(d.shapeFlag&1&&E&&!E.persisted){const{leave:L,delayLeave:O}=E,I=()=>L(m,b);O?O(d.el,b,I):I()}else b()},ot=(d,h)=>{let m;for(;d!==h;)m=p(d),s(d),d=m;s(h)},it=(d,h,m)=>{const{bum:_,scope:E,job:b,subTree:L,um:O,m:I,a:T}=d;Ms(I),Ms(T),_&&yn(_),E.stop(),b&&(b.flags|=8,de(L,d,h,m)),O&&Ie(O,h),Ie(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},we=(d,h,m,_=!1,E=!1,b=0)=>{for(let L=b;L{if(d.shapeFlag&6)return v(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),m=h&&h[oc];return m?p(m):h};let B=!1;const M=(d,h,m)=>{d==null?h._vnode&&de(h._vnode,null,null,!0):C(h._vnode||null,d,h,null,null,null,m),h._vnode=d,B||(B=!0,Rs(),wi(),B=!1)},$={p:C,um:de,m:be,r:Ve,mt:W,mc:x,pc:Z,pbc:V,n:v,o:e};return{render:M,hydrate:void 0,createApp:Pc(M)}}function Zn({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 Lc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $i(e,t,n=!1){const r=e.children,s=t.children;if(J(r)&&J(s))for(let o=0;o>1,e[n[c]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Hi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Hi(t)}function Ms(e){if(e)for(let t=0;tHe(Fc);function Zt(e,t,n){return ji(e,t,n)}function ji(e,t,n=ie){const{immediate:r,deep:s,flush:o,once:i}=n,c=ve({},n),l=t&&r||!t&&o!=="post";let f;if(cn){if(o==="sync"){const g=Uc();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!l){const g=()=>{};return g.stop=Qe,g.resume=Qe,g.pause=Qe,g}}const u=Se;c.call=(g,w,C)=>Xe(g,u,w,C);let a=!1;o==="post"?c.scheduler=g=>{Ie(g,u&&u.suspense)}:o!=="sync"&&(a=!0,c.scheduler=(g,w)=>{w?g():us(g)}),c.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const p=ec(e,t,c);return cn&&(f?f.push(p):l&&p()),p}function kc(e,t,n){const r=this.proxy,s=ae(e)?e.includes(".")?Vi(r,e):()=>r[e]:e.bind(r,r);let o;Y(t)?o=t:(o=t.handler,n=t);const i=dn(this),c=ji(s,o.bind(r),n);return i(),c}function Vi(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${pt(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function Hc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ie;let s=n;const o=t.startsWith("update:"),i=o&&$c(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>ae(u)?u.trim():u)),i.number&&(s=n.map(Nr)));let c,l=r[c=zn(t)]||r[c=zn(pt(t))];!l&&o&&(l=r[c=zn(Rt(t))]),l&&Xe(l,e,6,s);const f=r[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Xe(f,e,6,s)}}function qi(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},c=!1;if(!Y(e)){const l=f=>{const u=qi(f,t,!0);u&&(c=!0,ve(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!c?(fe(e)&&r.set(e,null),null):(J(o)?o.forEach(l=>i[l]=null):ve(i,o),fe(e)&&r.set(e,i),i)}function $n(e,t){return!e||!Nn(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Rt(t))||re(e,t))}function Ns(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:c,emit:l,render:f,renderCache:u,props:a,data:p,setupState:g,ctx:w,inheritAttrs:C}=e,U=Rn(e);let P,A;try{if(n.shapeFlag&4){const y=s||r,k=y;P=Ye(f.call(k,y,u,a,g,p,w)),A=c}else{const y=t;P=Ye(y.length>1?y(a,{attrs:c,slots:i,emit:l}):y(a,null)),A=t.props?c:jc(c)}}catch(y){en.length=0,Un(y,e,1),P=Pe(St)}let R=P;if(A&&C!==!1){const y=Object.keys(A),{shapeFlag:k}=R;y.length&&k&7&&(o&&y.some(Yr)&&(A=Vc(A,o)),R=Ut(R,A,!1,!0))}return n.dirs&&(R=Ut(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&fs(R,n.transition),P=R,Rn(U),P}const jc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Nn(n))&&((t||(t={}))[n]=e[n]);return t},Vc=(e,t)=>{const n={};for(const r in e)(!Yr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function qc(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:c,patchFlag:l}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Os(r,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let a=0;ae.__isSuspense;function zc(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):rc(e)}const Ne=Symbol.for("v-fgt"),Hn=Symbol.for("v-txt"),St=Symbol.for("v-cmt"),er=Symbol.for("v-stc"),en=[];let Oe=null;function he(e=!1){en.push(Oe=e?null:[])}function Wc(){en.pop(),Oe=en[en.length-1]||null}let ln=1;function Bs(e,t=!1){ln+=e,e<0&&Oe&&t&&(Oe.hasOnce=!0)}function zi(e){return e.dynamicChildren=ln>0?Oe||Ot:null,Wc(),ln>0&&Oe&&Oe.push(e),e}function xe(e,t,n,r,s,o){return zi(Q(e,t,n,r,s,o,!0))}function jn(e,t,n,r,s){return zi(Pe(e,t,n,r,s,!0))}function xn(e){return e?e.__v_isVNode===!0:!1}function Vt(e,t){return e.type===t.type&&e.key===t.key}const Wi=({key:e})=>e??null,_n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||ye(e)||Y(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function Q(e,t=null,n=null,r=0,s=null,o=e===Ne?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wi(t),ref:t&&_n(t),scopeId:Ci,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Le};return c?(hs(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ae(n)?8:16),ln>0&&!i&&Oe&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Oe.push(l),l}const Pe=Gc;function Gc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===vc)&&(e=St),xn(e)){const c=Ut(e,t,!0);return n&&hs(c,n),ln>0&&!o&&Oe&&(c.shapeFlag&6?Oe[Oe.indexOf(e)]=c:Oe.push(c)),c.patchFlag=-2,c}if(su(e)&&(e=e.__vccOpts),t){t=Jc(t);let{class:c,style:l}=t;c&&!ae(c)&&(t.class=es(c)),fe(l)&&(ls(l)&&!J(l)&&(l=ve({},l)),t.style=Zr(l))}const i=ae(e)?1:Ki(e)?128:ic(e)?64:fe(e)?4:Y(e)?2:0;return Q(e,t,n,r,s,i,o,!0)}function Jc(e){return e?ls(e)||Oi(e)?ve({},e):e:null}function Ut(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:c,transition:l}=e,f=t?Yc(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Wi(f),ref:t&&t.ref?n&&o?J(o)?o.concat(_n(t)):[o,_n(t)]:_n(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ne?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ut(e.ssContent),ssFallback:e.ssFallback&&Ut(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&fs(u,l.clone(u)),u}function bn(e=" ",t=0){return Pe(Hn,null,e,t)}function tr(e="",t=!1){return t?(he(),jn(St,null,e)):Pe(St,null,e)}function Ye(e){return e==null||typeof e=="boolean"?Pe(St):J(e)?Pe(Ne,null,e.slice()):xn(e)?ft(e):Pe(Hn,null,String(e))}function ft(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ut(e)}function hs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),hs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Oi(t)?t._ctx=Le:s===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),r&64?(n=16,t=[bn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yc(...e){const t={};for(let n=0;n{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};In=t("__VUE_INSTANCE_SETTERS__",n=>Se=n),jr=t("__VUE_SSR_SETTERS__",n=>cn=n)}const dn=e=>{const t=Se;return In(e),e.scope.on(),()=>{e.scope.off(),In(t)}},Ls=()=>{Se&&Se.scope.off(),In(null)};function Gi(e){return e.vnode.shapeFlag&4}let cn=!1;function eu(e,t=!1,n=!1){t&&jr(t);const{props:r,children:s}=e.vnode,o=Gi(e);Ac(e,r,o,t),Mc(e,s,n);const i=o?tu(e,t):void 0;return t&&jr(!1),i}function tu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_c);const{setup:r}=n;if(r){mt();const s=e.setupContext=r.length>1?ru(e):null,o=dn(e),i=an(r,e,0,[e.props,s]),c=Ko(i);if(yt(),o(),(c||e.sp)&&!Qt(e)&&Si(e),c){if(i.then(Ls,Ls),t)return i.then(l=>{Ds(e,l)}).catch(l=>{Un(l,e,0)});e.asyncDep=i}else Ds(e,i)}else Ji(e)}function Ds(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=vi(t)),Ji(e)}function Ji(e,t,n){const r=e.type;e.render||(e.render=r.render||Qe);{const s=dn(e);mt();try{bc(e)}finally{yt(),s()}}}const nu={get(e,t){return ge(e,"get",""),e[t]}};function ru(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,nu),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vi(mi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xt)return Xt[n](e)},has(t,n){return n in t||n in Xt}})):e.proxy}function su(e){return Y(e)&&"__vccOpts"in e}const ke=(e,t)=>Xl(e,t,cn);function ps(e,t,n){const r=arguments.length;return r===2?fe(t)&&!J(t)?xn(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&xn(n)&&(n=[n]),Pe(e,t,n))}const ou="3.5.13";/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let jr;const Fs=typeof window<"u"&&window.trustedTypes;if(Fs)try{jr=Fs.createPolicy("vue",{createHTML:e=>e})}catch{}const Yi=jr?e=>jr.createHTML(e):e=>e,iu="http://www.w3.org/2000/svg",lu="http://www.w3.org/1998/Math/MathML",tt=typeof document<"u"?document:null,Us=tt&&tt.createElement("template"),cu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?tt.createElementNS(iu,e):t==="mathml"?tt.createElementNS(lu,e):n?tt.createElement(e,{is:n}):tt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>tt.createTextNode(e),createComment:e=>tt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>tt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Us.innerHTML=Yi(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const c=Us.content;if(r==="svg"||r==="mathml"){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},uu=Symbol("_vtc");function fu(e,t,n){const r=e[uu];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const In=Symbol("_vod"),Qi=Symbol("_vsh"),au={beforeMount(e,{value:t},{transition:n}){e[In]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):qt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),qt(e,!0),r.enter(e)):r.leave(e,()=>{qt(e,!1)}):qt(e,t))},beforeUnmount(e,{value:t}){qt(e,t)}};function qt(e,t){e.style.display=t?e[In]:"none",e[Qi]=!t}const du=Symbol(""),hu=/(^|;)\s*display\s*:/;function pu(e,t,n){const r=e.style,s=ae(n);let o=!1;if(n&&!s){if(t)if(ae(t))for(const i of t.split(";")){const c=i.slice(0,i.indexOf(":")).trim();n[c]==null&&bn(r,c,"")}else for(const i in t)n[i]==null&&bn(r,i,"");for(const i in n)i==="display"&&(o=!0),bn(r,i,n[i])}else if(s){if(t!==n){const i=r[du];i&&(n+=";"+i),r.cssText=n,o=hu.test(n)}}else t&&e.removeAttribute("style");In in e&&(e[In]=o?r.display:"",e[Qi]&&(r.display="none"))}const $s=/\s*!important$/;function bn(e,t,n){if(J(n))n.forEach(r=>bn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=gu(e,t);$s.test(n)?e.setProperty(Rt(r),n.replace($s,""),"important"):e[r]=n}}const ks=["Webkit","Moz","ms"],er={};function gu(e,t){const n=er[t];if(n)return n;let r=pt(t);if(r!=="filter"&&r in e)return er[t]=r;r=Go(r);for(let s=0;str||(_u.then(()=>tr=0),tr=Date.now());function wu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Xe(Eu(r,n.value),t,5,[r])};return n.value=e,n.attached=bu(),n}function Eu(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const zs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Cu=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?fu(e,r,i):t==="style"?pu(e,n,r):Mn(t)?Jr(t)||yu(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Su(e,t,r,i))?(Vs(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&js(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ae(r))?Vs(e,pt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),js(e,t,r,i))};function Su(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&zs(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return zs(t)&&ae(n)?!1:t in e}const Ws=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>yn(t,n):t};function Ru(e){e.target.composing=!0}function Gs(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const nr=Symbol("_assign"),Vr={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[nr]=Ws(s);const o=r||s.props&&s.props.type==="number";Mt(e,t?"change":"input",i=>{if(i.target.composing)return;let c=e.value;n&&(c=c.trim()),o&&(c=Ir(c)),e[nr](c)}),n&&Mt(e,"change",()=>{e.value=e.value.trim()}),t||(Mt(e,"compositionstart",Ru),Mt(e,"compositionend",Gs),Mt(e,"change",Gs))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[nr]=Ws(i),e.composing)return;const c=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ir(e.value):e.value,l=t??"";c!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},Pu=["ctrl","shift","alt","meta"],Au={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)=>Pu.some(n=>e[`${n}Key`]&&!t.includes(n))},Xi=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const t=xu().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Nu(r);if(!s)return;const o=t._component;!Y(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Mu(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function Mu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Nu(e){return ae(e)?document.querySelector(e):e}/*! +**/let Vr;const Fs=typeof window<"u"&&window.trustedTypes;if(Fs)try{Vr=Fs.createPolicy("vue",{createHTML:e=>e})}catch{}const Yi=Vr?e=>Vr.createHTML(e):e=>e,iu="http://www.w3.org/2000/svg",lu="http://www.w3.org/1998/Math/MathML",tt=typeof document<"u"?document:null,Us=tt&&tt.createElement("template"),cu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?tt.createElementNS(iu,e):t==="mathml"?tt.createElementNS(lu,e):n?tt.createElement(e,{is:n}):tt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>tt.createTextNode(e),createComment:e=>tt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>tt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Us.innerHTML=Yi(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const c=Us.content;if(r==="svg"||r==="mathml"){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},uu=Symbol("_vtc");function fu(e,t,n){const r=e[uu];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Mn=Symbol("_vod"),Qi=Symbol("_vsh"),au={beforeMount(e,{value:t},{transition:n}){e[Mn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):qt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),qt(e,!0),r.enter(e)):r.leave(e,()=>{qt(e,!1)}):qt(e,t))},beforeUnmount(e,{value:t}){qt(e,t)}};function qt(e,t){e.style.display=t?e[Mn]:"none",e[Qi]=!t}const du=Symbol(""),hu=/(^|;)\s*display\s*:/;function pu(e,t,n){const r=e.style,s=ae(n);let o=!1;if(n&&!s){if(t)if(ae(t))for(const i of t.split(";")){const c=i.slice(0,i.indexOf(":")).trim();n[c]==null&&wn(r,c,"")}else for(const i in t)n[i]==null&&wn(r,i,"");for(const i in n)i==="display"&&(o=!0),wn(r,i,n[i])}else if(s){if(t!==n){const i=r[du];i&&(n+=";"+i),r.cssText=n,o=hu.test(n)}}else t&&e.removeAttribute("style");Mn in e&&(e[Mn]=o?r.display:"",e[Qi]&&(r.display="none"))}const ks=/\s*!important$/;function wn(e,t,n){if(J(n))n.forEach(r=>wn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=gu(e,t);ks.test(n)?e.setProperty(Rt(r),n.replace(ks,""),"important"):e[r]=n}}const $s=["Webkit","Moz","ms"],nr={};function gu(e,t){const n=nr[t];if(n)return n;let r=pt(t);if(r!=="filter"&&r in e)return nr[t]=r;r=Go(r);for(let s=0;s<$s.length;s++){const o=$s[s]+r;if(o in e)return nr[t]=o}return t}const Hs="http://www.w3.org/1999/xlink";function js(e,t,n,r,s,o=Al(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Hs,t.slice(6,t.length)):e.setAttributeNS(Hs,t,n):n==null||o&&!Yo(n)?e.removeAttribute(t):e.setAttribute(t,o?"":gt(n)?String(n):n)}function Vs(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Yi(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const c=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(c!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Yo(n):n==null&&c==="string"?(n="",i=!0):c==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function Mt(e,t,n,r){e.addEventListener(t,n,r)}function mu(e,t,n,r){e.removeEventListener(t,n,r)}const qs=Symbol("_vei");function yu(e,t,n,r,s=null){const o=e[qs]||(e[qs]={}),i=o[t];if(r&&i)i.value=r;else{const[c,l]=vu(t);if(r){const f=o[t]=wu(r,s);Mt(e,c,f,l)}else i&&(mu(e,c,i,l),o[t]=void 0)}}const Ks=/(?:Once|Passive|Capture)$/;function vu(e){let t;if(Ks.test(e)){t={};let r;for(;r=e.match(Ks);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rt(e.slice(2)),t]}let rr=0;const _u=Promise.resolve(),bu=()=>rr||(_u.then(()=>rr=0),rr=Date.now());function wu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Xe(Eu(r,n.value),t,5,[r])};return n.value=e,n.attached=bu(),n}function Eu(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const zs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Cu=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?fu(e,r,i):t==="style"?pu(e,n,r):Nn(t)?Yr(t)||yu(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Su(e,t,r,i))?(Vs(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&js(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ae(r))?Vs(e,pt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),js(e,t,r,i))};function Su(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&zs(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return zs(t)&&ae(n)?!1:t in e}const Ws=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>yn(t,n):t};function Ru(e){e.target.composing=!0}function Gs(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const sr=Symbol("_assign"),qr={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[sr]=Ws(s);const o=r||s.props&&s.props.type==="number";Mt(e,t?"change":"input",i=>{if(i.target.composing)return;let c=e.value;n&&(c=c.trim()),o&&(c=Nr(c)),e[sr](c)}),n&&Mt(e,"change",()=>{e.value=e.value.trim()}),t||(Mt(e,"compositionstart",Ru),Mt(e,"compositionend",Gs),Mt(e,"change",Gs))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[sr]=Ws(i),e.composing)return;const c=(o||e.type==="number")&&!/^0\d/.test(e.value)?Nr(e.value):e.value,l=t??"";c!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},Pu=["ctrl","shift","alt","meta"],Au={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)=>Pu.some(n=>e[`${n}Key`]&&!t.includes(n))},Xi=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const t=xu().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Nu(r);if(!s)return;const o=t._component;!Y(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Mu(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function Mu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Nu(e){return ae(e)?document.querySelector(e):e}/*! * pinia v3.0.2 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const Ou=Symbol();var Ys;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ys||(Ys={}));function Bu(){const e=Tl(!0),t=e.run(()=>he({}));let n=[],r=[];const s=mi({install(o){s._a=o,o.provide(Ou,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}/*! + */const Ou=Symbol();var Ys;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ys||(Ys={}));function Bu(){const e=Tl(!0),t=e.run(()=>pe({}));let n=[],r=[];const s=mi({install(o){s._a=o,o.provide(Ou,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const Nt=typeof document<"u";function Zi(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Lu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Zi(e.default)}const te=Object.assign;function rr(e,t){const n={};for(const r in t){const s=t[r];n[r]=je(s)?s.map(e):e(s)}return n}const tn=()=>{},je=Array.isArray,el=/#/g,Du=/&/g,Fu=/\//g,Uu=/=/g,$u=/\?/g,tl=/\+/g,ku=/%5B/g,Hu=/%5D/g,nl=/%5E/g,ju=/%60/g,rl=/%7B/g,Vu=/%7C/g,sl=/%7D/g,qu=/%20/g;function ps(e){return encodeURI(""+e).replace(Vu,"|").replace(ku,"[").replace(Hu,"]")}function Ku(e){return ps(e).replace(rl,"{").replace(sl,"}").replace(nl,"^")}function qr(e){return ps(e).replace(tl,"%2B").replace(qu,"+").replace(el,"%23").replace(Du,"%26").replace(ju,"`").replace(rl,"{").replace(sl,"}").replace(nl,"^")}function zu(e){return qr(e).replace(Uu,"%3D")}function Wu(e){return ps(e).replace(el,"%23").replace($u,"%3F")}function Gu(e){return e==null?"":Wu(e).replace(Fu,"%2F")}function un(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ju=/\/$/,Yu=e=>e.replace(Ju,"");function sr(e,t,n="/"){let r,s={},o="",i="";const c=t.indexOf("#");let l=t.indexOf("?");return c=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,c>-1?c:t.length),s=e(o)),c>-1&&(r=r||t.slice(0,c),i=t.slice(c,t.length)),r=ef(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:un(i)}}function Qu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qs(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Xu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&$t(t.matched[r],n.matched[s])&&ol(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $t(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ol(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Zu(e[n],t[n]))return!1;return!0}function Zu(e,t){return je(e)?Xs(e,t):je(t)?Xs(t,e):e===t}function Xs(e,t){return je(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ef(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,c;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const lt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var fn;(function(e){e.pop="pop",e.push="push"})(fn||(fn={}));var nn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(nn||(nn={}));function tf(e){if(!e)if(Nt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Yu(e)}const nf=/^[^#]+#/;function rf(e,t){return e.replace(nf,"#")+t}function sf(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Vn=()=>({left:window.scrollX,top:window.scrollY});function of(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=sf(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Zs(e,t){return(history.state?history.state.position-t:-1)+e}const Kr=new Map;function lf(e,t){Kr.set(e,t)}function cf(e){const t=Kr.get(e);return Kr.delete(e),t}let uf=()=>location.protocol+"//"+location.host;function il(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let c=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(c);return l[0]!=="/"&&(l="/"+l),Qs(l,"")}return Qs(n,e)+r+s}function ff(e,t,n,r){let s=[],o=[],i=null;const c=({state:p})=>{const g=il(e,location),w=n.value,C=t.value;let U=0;if(p){if(n.value=g,t.value=p,i&&i===w){i=null;return}U=C?p.position-C.position:0}else r(g);s.forEach(R=>{R(n.value,w,{delta:U,type:fn.pop,direction:U?U>0?nn.forward:nn.back:nn.unknown})})};function l(){i=n.value}function f(p){s.push(p);const g=()=>{const w=s.indexOf(p);w>-1&&s.splice(w,1)};return o.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(te({},p.state,{scroll:Vn()}),"")}function a(){for(const p of o)p();o=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:a}}function eo(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Vn():null}}function af(e){const{history:t,location:n}=window,r={value:il(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,f,u){const a=e.indexOf("#"),p=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+l:uf()+e+l;try{t[u?"replaceState":"pushState"](f,"",p),s.value=f}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function i(l,f){const u=te({},t.state,eo(s.value.back,l,s.value.forward,!0),f,{position:s.value.position});o(l,u,!0),r.value=l}function c(l,f){const u=te({},s.value,t.state,{forward:l,scroll:Vn()});o(u.current,u,!0);const a=te({},eo(r.value,l,null),{position:u.position+1},f);o(l,a,!1),r.value=l}return{location:r,state:s,push:c,replace:i}}function df(e){e=tf(e);const t=af(e),n=ff(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=te({location:"",base:e,go:r,createHref:rf.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function hf(e){return typeof e=="string"||e&&typeof e=="object"}function ll(e){return typeof e=="string"||typeof e=="symbol"}const cl=Symbol("");var to;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(to||(to={}));function kt(e,t){return te(new Error,{type:e,[cl]:!0},t)}function et(e,t){return e instanceof Error&&cl in e&&(t==null||!!(e.type&t))}const no="[^/]+?",pf={sensitive:!1,strict:!1,start:!0,end:!0},gf=/[.+*?^${}()[\]/\\]/g;function mf(e,t){const n=te({},pf,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(s+="/");for(let a=0;at.length?t.length===1&&t[0]===80?1:-1:0}function ul(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const vf={type:0,value:""},_f=/[a-zA-Z0-9_]/;function bf(e){if(!e)return[[]];if(e==="/")return[[vf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let c=0,l,f="",u="";function a(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=l}for(;c{i(S)}:tn}function i(a){if(ll(a)){const p=r.get(a);p&&(r.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&r.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function c(){return n}function l(a){const p=Rf(a,n);n.splice(p,0,a),a.record.name&&!io(a)&&r.set(a.record.name,a)}function f(a,p){let g,w={},C,U;if("name"in a&&a.name){if(g=r.get(a.name),!g)throw kt(1,{location:a});U=g.record.name,w=te(so(p.params,g.keys.filter(S=>!S.optional).concat(g.parent?g.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),a.params&&so(a.params,g.keys.map(S=>S.name))),C=g.stringify(w)}else if(a.path!=null)C=a.path,g=n.find(S=>S.re.test(C)),g&&(w=g.parse(C),U=g.record.name);else{if(g=p.name?r.get(p.name):n.find(S=>S.re.test(p.path)),!g)throw kt(1,{location:a,currentLocation:p});U=g.record.name,w=te({},p.params,a.params),C=g.stringify(w)}const R=[];let A=g;for(;A;)R.unshift(A.record),A=A.parent;return{name:U,path:C,params:w,matched:R,meta:Sf(R)}}e.forEach(a=>o(a));function u(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:c,getRecordMatcher:s}}function so(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function oo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Cf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Cf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function io(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Sf(e){return e.reduce((t,n)=>te(t,n.meta),{})}function lo(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Rf(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;ul(e,t[o])<0?r=o:n=o+1}const s=Pf(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Pf(e){let t=e;for(;t=t.parent;)if(fl(t)&&ul(e,t)===0)return t}function fl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Af(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&qr(o)):[r&&qr(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Tf(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=je(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const xf=Symbol(""),uo=Symbol(""),qn=Symbol(""),gs=Symbol(""),zr=Symbol("");function Kt(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function at(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((c,l)=>{const f=p=>{p===!1?l(kt(4,{from:n,to:t})):p instanceof Error?l(p):hf(p)?l(kt(2,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),c())},u=o(()=>e.call(r&&r.instances[s],t,n,f));let a=Promise.resolve(u);e.length<3&&(a=a.then(f)),a.catch(p=>l(p))})}function or(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const c in i.components){let l=i.components[c];if(!(t!=="beforeRouteEnter"&&!i.instances[c]))if(Zi(l)){const u=(l.__vccOpts||l)[t];u&&o.push(at(u,n,r,i,c,s))}else{let f=l();o.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${c}" at "${i.path}"`);const a=Lu(u)?u.default:u;i.mods[c]=u,i.components[c]=a;const g=(a.__vccOpts||a)[t];return g&&at(g,n,r,i,c,s)()}))}}return o}function fo(e){const t=He(qn),n=He(gs),r=$e(()=>{const l=ht(e.to);return t.resolve(l)}),s=$e(()=>{const{matched:l}=r.value,{length:f}=l,u=l[f-1],a=n.matched;if(!u||!a.length)return-1;const p=a.findIndex($t.bind(null,u));if(p>-1)return p;const g=ao(l[f-2]);return f>1&&ao(u)===g&&a[a.length-1].path!==g?a.findIndex($t.bind(null,l[f-2])):p}),o=$e(()=>s.value>-1&&Bf(n.params,r.value.params)),i=$e(()=>s.value>-1&&s.value===n.matched.length-1&&ol(n.params,r.value.params));function c(l={}){if(Of(l)){const f=t[ht(e.replace)?"replace":"push"](ht(e.to)).catch(tn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:$e(()=>r.value.href),isActive:o,isExactActive:i,navigate:c}}function If(e){return e.length===1?e[0]:e}const Mf=vt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:fo,setup(e,{slots:t}){const n=Dn(fo(e)),{options:r}=He(qn),s=$e(()=>({[ho(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ho(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&If(t.default(n));return e.custom?o:hs("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Nf=Mf;function Of(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Bf(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!je(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function ao(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ho=(e,t,n)=>e??t??n,Lf=vt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=He(zr),s=$e(()=>e.route||r.value),o=He(uo,0),i=$e(()=>{let f=ht(o);const{matched:u}=s.value;let a;for(;(a=u[f])&&!a.components;)f++;return f}),c=$e(()=>s.value.matched[i.value]);vn(uo,$e(()=>i.value+1)),vn(xf,c),vn(zr,s);const l=he();return Zt(()=>[l.value,c.value,e.name],([f,u,a],[p,g,w])=>{u&&(u.instances[a]=f,g&&g!==u&&f&&f===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),f&&u&&(!g||!$t(u,g)||!p)&&(u.enterCallbacks[a]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=s.value,u=e.name,a=c.value,p=a&&a.components[u];if(!p)return po(n.default,{Component:p,route:f});const g=a.props[u],w=g?g===!0?f.params:typeof g=="function"?g(f):g:null,U=hs(p,te({},w,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(a.instances[u]=null)},ref:l}));return po(n.default,{Component:U,route:f})||U}}});function po(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const al=Lf;function Df(e){const t=Ef(e.routes,e),n=e.parseQuery||Af,r=e.stringifyQuery||co,s=e.history,o=Kt(),i=Kt(),c=Kt(),l=Gl(lt);let f=lt;Nt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=rr.bind(null,v=>""+v),a=rr.bind(null,Gu),p=rr.bind(null,un);function g(v,B){let M,k;return ll(v)?(M=t.getRecordMatcher(v),k=B):k=v,t.addRoute(k,M)}function w(v){const B=t.getRecordMatcher(v);B&&t.removeRoute(B)}function C(){return t.getRoutes().map(v=>v.record)}function U(v){return!!t.getRecordMatcher(v)}function R(v,B){if(B=te({},B||l.value),typeof v=="string"){const m=sr(n,v,B.path),_=t.resolve({path:m.path},B),E=s.createHref(m.fullPath);return te(m,_,{params:p(_.params),hash:un(m.hash),redirectedFrom:void 0,href:E})}let M;if(v.path!=null)M=te({},v,{path:sr(n,v.path,B.path).path});else{const m=te({},v.params);for(const _ in m)m[_]==null&&delete m[_];M=te({},v,{params:a(m)}),B.params=a(B.params)}const k=t.resolve(M,B),oe=v.hash||"";k.params=u(p(k.params));const d=Qu(r,te({},v,{hash:Ku(oe),path:k.path})),h=s.createHref(d);return te({fullPath:d,hash:oe,query:r===co?Tf(v.query):v.query||{}},k,{redirectedFrom:void 0,href:h})}function A(v){return typeof v=="string"?sr(n,v,l.value.path):te({},v)}function S(v,B){if(f!==v)return kt(8,{from:B,to:v})}function y(v){return N(v)}function $(v){return y(te(A(v),{replace:!0}))}function P(v){const B=v.matched[v.matched.length-1];if(B&&B.redirect){const{redirect:M}=B;let k=typeof M=="function"?M(v):M;return typeof k=="string"&&(k=k.includes("?")||k.includes("#")?k=A(k):{path:k},k.params={}),te({query:v.query,hash:v.hash,params:k.path!=null?{}:v.params},k)}}function N(v,B){const M=f=R(v),k=l.value,oe=v.state,d=v.force,h=v.replace===!0,m=P(M);if(m)return N(te(A(m),{state:typeof m=="object"?te({},oe,m.state):oe,force:d,replace:h}),B||M);const _=M;_.redirectedFrom=B;let E;return!d&&Xu(r,k,M)&&(E=kt(16,{to:_,from:k}),be(k,k,!0,!1)),(E?Promise.resolve(E):V(_,k)).catch(b=>et(b)?et(b,2)?b:Oe(b):Z(b,_,k)).then(b=>{if(b){if(et(b,2))return N(te({replace:h},A(b.to),{state:typeof b.to=="object"?te({},oe,b.to.state):oe,force:d}),B||_)}else b=q(_,k,!0,h,oe);return j(_,k,b),b})}function x(v,B){const M=S(v,B);return M?Promise.reject(M):Promise.resolve()}function F(v){const B=ot.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(v):v()}function V(v,B){let M;const[k,oe,d]=Ff(v,B);M=or(k.reverse(),"beforeRouteLeave",v,B);for(const m of k)m.leaveGuards.forEach(_=>{M.push(at(_,v,B))});const h=x.bind(null,v,B);return M.push(h),we(M).then(()=>{M=[];for(const m of o.list())M.push(at(m,v,B));return M.push(h),we(M)}).then(()=>{M=or(oe,"beforeRouteUpdate",v,B);for(const m of oe)m.updateGuards.forEach(_=>{M.push(at(_,v,B))});return M.push(h),we(M)}).then(()=>{M=[];for(const m of d)if(m.beforeEnter)if(je(m.beforeEnter))for(const _ of m.beforeEnter)M.push(at(_,v,B));else M.push(at(m.beforeEnter,v,B));return M.push(h),we(M)}).then(()=>(v.matched.forEach(m=>m.enterCallbacks={}),M=or(d,"beforeRouteEnter",v,B,F),M.push(h),we(M))).then(()=>{M=[];for(const m of i.list())M.push(at(m,v,B));return M.push(h),we(M)}).catch(m=>et(m,8)?m:Promise.reject(m))}function j(v,B,M){c.list().forEach(k=>F(()=>k(v,B,M)))}function q(v,B,M,k,oe){const d=S(v,B);if(d)return d;const h=B===lt,m=Nt?history.state:{};M&&(k||h?s.replace(v.fullPath,te({scroll:h&&m&&m.scroll},oe)):s.push(v.fullPath,oe)),l.value=v,be(v,B,M,h),Oe()}let H;function W(){H||(H=s.listen((v,B,M)=>{if(!it.listening)return;const k=R(v),oe=P(k);if(oe){N(te(oe,{replace:!0,force:!0}),k).catch(tn);return}f=k;const d=l.value;Nt&&lf(Zs(d.fullPath,M.delta),Vn()),V(k,d).catch(h=>et(h,12)?h:et(h,2)?(N(te(A(h.to),{force:!0}),k).then(m=>{et(m,20)&&!M.delta&&M.type===fn.pop&&s.go(-1,!1)}).catch(tn),Promise.reject()):(M.delta&&s.go(-M.delta,!1),Z(h,k,d))).then(h=>{h=h||q(k,d,!1),h&&(M.delta&&!et(h,8)?s.go(-M.delta,!1):M.type===fn.pop&&et(h,20)&&s.go(-1,!1)),j(k,d,h)}).catch(tn)}))}let _e=Kt(),ue=Kt(),ee;function Z(v,B,M){Oe(v);const k=ue.list();return k.length?k.forEach(oe=>oe(v,B,M)):console.error(v),Promise.reject(v)}function Fe(){return ee&&l.value!==lt?Promise.resolve():new Promise((v,B)=>{_e.add([v,B])})}function Oe(v){return ee||(ee=!v,W(),_e.list().forEach(([B,M])=>v?M(v):B()),_e.reset()),v}function be(v,B,M,k){const{scrollBehavior:oe}=e;if(!Nt||!oe)return Promise.resolve();const d=!M&&cf(Zs(v.fullPath,0))||(k||!M)&&history.state&&history.state.scroll||null;return ls().then(()=>oe(v,B,d)).then(h=>h&&of(h)).catch(h=>Z(h,v,B))}const de=v=>s.go(v);let Ve;const ot=new Set,it={currentRoute:l,listening:!0,addRoute:g,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:U,getRoutes:C,resolve:R,options:e,push:y,replace:$,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:i.add,afterEach:c.add,onError:ue.add,isReady:Fe,install(v){const B=this;v.component("RouterLink",Nf),v.component("RouterView",al),v.config.globalProperties.$router=B,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),Nt&&!Ve&&l.value===lt&&(Ve=!0,y(s.location).catch(oe=>{}));const M={};for(const oe in lt)Object.defineProperty(M,oe,{get:()=>l.value[oe],enumerable:!0});v.provide(qn,B),v.provide(gs,pi(M)),v.provide(zr,l);const k=v.unmount;ot.add(v),v.unmount=function(){ot.delete(v),ot.size<1&&(f=lt,H&&H(),H=null,l.value=lt,Ve=!1,ee=!1),k()}}};function we(v){return v.reduce((B,M)=>B.then(()=>F(M)),Promise.resolve())}return it}function Ff(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i$t(f,c))?r.push(c):n.push(c));const l=e.matched[i];l&&(t.matched.find(f=>$t(f,l))||s.push(l))}return[n,r,s]}function dl(){return He(qn)}function Uf(e){return He(gs)}const $f=vt({__name:"App",setup(e){return(t,n)=>(pe(),Hn(ht(al)))}}),ms=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},kf=ms($f,[["__scopeId","data-v-913ef6b1"]]),Hf="/assets/logo-BnUTTh_g.png";function wn(e){return"http://"+window.location.host.split(":")[0]+":8090"+e}function Wr(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16))))}var xt={},ir,go;function jf(){return go||(go=1,ir=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ir}var lr={},ct={},mo;function Pt(){if(mo)return ct;mo=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return ct.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},ct.getSymbolTotalCodewords=function(r){return t[r]},ct.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},ct.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');e=r},ct.isKanjiModeEnabled=function(){return typeof e<"u"},ct.toSJIS=function(r){return e(r)},ct}var cr={},yo;function ys(){return yo||(yo=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,s){if(e.isValid(r))return r;try{return t(r)}catch{return s}}}(cr)),cr}var ur,vo;function Vf(){if(vo)return ur;vo=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let r=0;r>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},ur=e,ur}var fr,_o;function qf(){if(_o)return fr;_o=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,r,s){const o=t*this.size+n;this.data[o]=r,s&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,r){this.data[t*this.size+n]^=r},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},fr=e,fr}var ar={},bo;function Kf(){return bo||(bo=1,function(e){const t=Pt().getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const s=Math.floor(r/7)+2,o=t(r),i=o===145?26:Math.ceil((o-13)/(2*s-2))*2,c=[o-7];for(let l=1;l=0&&s<=7},e.from=function(s){return e.isValid(s)?parseInt(s,10):void 0},e.getPenaltyN1=function(s){const o=s.size;let i=0,c=0,l=0,f=null,u=null;for(let a=0;a=5&&(i+=t.N1+(c-5)),f=g,c=1),g=s.get(p,a),g===u?l++:(l>=5&&(i+=t.N1+(l-5)),u=g,l=1)}c>=5&&(i+=t.N1+(c-5)),l>=5&&(i+=t.N1+(l-5))}return i},e.getPenaltyN2=function(s){const o=s.size;let i=0;for(let c=0;c=10&&(c===1488||c===93)&&i++,l=l<<1&2047|s.get(u,f),u>=10&&(l===1488||l===93)&&i++}return i*t.N3},e.getPenaltyN4=function(s){let o=0;const i=s.data.length;for(let l=0;l=0;){const i=o[0];for(let l=0;l0){const c=new Uint8Array(this.degree);return c.set(o,i),c}return o},gr=t,gr}var mr={},yr={},vr={},Ao;function pl(){return Ao||(Ao=1,vr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),vr}var Ge={},To;function gl(){if(To)return Ge;To=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r -]))+`;Ge.KANJI=new RegExp(n,"g"),Ge.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Ge.BYTE=new RegExp(r,"g"),Ge.NUMERIC=new RegExp(e,"g"),Ge.ALPHANUMERIC=new RegExp(t,"g");const s=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Ge.testKanji=function(l){return s.test(l)},Ge.testNumeric=function(l){return o.test(l)},Ge.testAlphanumeric=function(l){return i.test(l)},Ge}var xo;function At(){return xo||(xo=1,function(e){const t=pl(),n=gl();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,i){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?o.ccBits[0]:i<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function r(s){if(typeof s!="string")throw new Error("Param is not a string");switch(s.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+s)}}e.from=function(o,i){if(e.isValid(o))return o;try{return r(o)}catch{return i}}}(yr)),yr}var Io;function Qf(){return Io||(Io=1,function(e){const t=Pt(),n=hl(),r=ys(),s=At(),o=pl(),i=7973,c=t.getBCHDigit(i);function l(p,g,w){for(let C=1;C<=40;C++)if(g<=e.getCapacity(C,w,p))return C}function f(p,g){return s.getCharCountIndicator(p,g)+4}function u(p,g){let w=0;return p.forEach(function(C){const U=f(C.mode,g);w+=U+C.getBitsLength()}),w}function a(p,g){for(let w=1;w<=40;w++)if(u(p,w)<=e.getCapacity(w,g,s.MIXED))return w}e.from=function(g,w){return o.isValid(g)?parseInt(g,10):w},e.getCapacity=function(g,w,C){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof C>"u"&&(C=s.BYTE);const U=t.getSymbolTotalCodewords(g),R=n.getTotalCodewordsCount(g,w),A=(U-R)*8;if(C===s.MIXED)return A;const S=A-f(C,g);switch(C){case s.NUMERIC:return Math.floor(S/10*3);case s.ALPHANUMERIC:return Math.floor(S/11*2);case s.KANJI:return Math.floor(S/13);case s.BYTE:default:return Math.floor(S/8)}},e.getBestVersionForData=function(g,w){let C;const U=r.from(w,r.M);if(Array.isArray(g)){if(g.length>1)return a(g,U);if(g.length===0)return 1;C=g[0]}else C=g;return l(C.mode,C.getLength(),U)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let w=g<<12;for(;t.getBCHDigit(w)-c>=0;)w^=i<=0;)l^=t<0&&(o=this.data.substr(s),i=parseInt(o,10),r.put(i,c*3+1))},wr=t,wr}var Er,Oo;function ea(){if(Oo)return Er;Oo=1;const e=At(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(r){this.mode=e.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(s){return 11*Math.floor(s/2)+6*(s%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(s){let o;for(o=0;o+2<=this.data.length;o+=2){let i=t.indexOf(this.data[o])*45;i+=t.indexOf(this.data[o+1]),s.put(i,11)}this.data.length%2&&s.put(t.indexOf(this.data[o]),6)},Er=n,Er}var Cr,Bo;function ta(){if(Bo)return Cr;Bo=1;const e=At();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(r){return r*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let r=0,s=this.data.length;r=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[s]+` -Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),r.put(o,13)}},Sr=n,Sr}var Rr={exports:{}},Do;function ra(){return Do||(Do=1,function(e){var t={single_source_shortest_paths:function(n,r,s){var o={},i={};i[r]=0;var c=t.PriorityQueue.make();c.push(r,0);for(var l,f,u,a,p,g,w,C,U;!c.empty();){l=c.pop(),f=l.value,a=l.cost,p=n[f]||{};for(u in p)p.hasOwnProperty(u)&&(g=p[u],w=a+g,C=i[u],U=typeof i[u]>"u",(U||C>w)&&(i[u]=w,c.push(u,w),o[u]=f))}if(typeof s<"u"&&typeof i[s]>"u"){var R=["Could not find a path from ",r," to ",s,"."].join("");throw new Error(R)}return o},extract_shortest_path_from_predecessor_list:function(n,r){for(var s=[],o=r;o;)s.push(o),n[o],o=n[o];return s.reverse(),s},find_path:function(n,r,s){var o=t.single_source_shortest_paths(n,r,s);return t.extract_shortest_path_from_predecessor_list(o,s)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,s={},o;n=n||{};for(o in r)r.hasOwnProperty(o)&&(s[o]=r[o]);return s.queue=[],s.sorter=n.sorter||r.default_sorter,s},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var s={value:n,cost:r};this.queue.push(s),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Rr)),Rr.exports}var Fo;function sa(){return Fo||(Fo=1,function(e){const t=At(),n=Zf(),r=ea(),s=ta(),o=na(),i=gl(),c=Pt(),l=ra();function f(R){return unescape(encodeURIComponent(R)).length}function u(R,A,S){const y=[];let $;for(;($=R.exec(S))!==null;)y.push({data:$[0],index:$.index,mode:A,length:$[0].length});return y}function a(R){const A=u(i.NUMERIC,t.NUMERIC,R),S=u(i.ALPHANUMERIC,t.ALPHANUMERIC,R);let y,$;return c.isKanjiModeEnabled()?(y=u(i.BYTE,t.BYTE,R),$=u(i.KANJI,t.KANJI,R)):(y=u(i.BYTE_KANJI,t.BYTE,R),$=[]),A.concat(S,y,$).sort(function(N,x){return N.index-x.index}).map(function(N){return{data:N.data,mode:N.mode,length:N.length}})}function p(R,A){switch(A){case t.NUMERIC:return n.getBitsLength(R);case t.ALPHANUMERIC:return r.getBitsLength(R);case t.KANJI:return o.getBitsLength(R);case t.BYTE:return s.getBitsLength(R)}}function g(R){return R.reduce(function(A,S){const y=A.length-1>=0?A[A.length-1]:null;return y&&y.mode===S.mode?(A[A.length-1].data+=S.data,A):(A.push(S),A)},[])}function w(R){const A=[];for(let S=0;S=0&&H<=6&&(W===0||W===6)||W>=0&&W<=6&&(H===0||H===6)||H>=2&&H<=4&&W>=2&&W<=4?P.set(j+H,q+W,!0,!0):P.set(j+H,q+W,!1,!0))}}function w(P){const N=P.size;for(let x=8;x>H&1)===1,P.set(V,j,q,!0),P.set(j,V,q,!0)}function R(P,N,x){const F=P.size,V=u.getEncodedBits(N,x);let j,q;for(j=0;j<15;j++)q=(V>>j&1)===1,j<6?P.set(j,8,q,!0):j<8?P.set(j+1,8,q,!0):P.set(F-15+j,8,q,!0),j<8?P.set(8,F-j-1,q,!0):j<9?P.set(8,15-j-1+1,q,!0):P.set(8,15-j-1,q,!0);P.set(F-8,8,1,!0)}function A(P,N){const x=P.size;let F=-1,V=x-1,j=7,q=0;for(let H=x-1;H>0;H-=2)for(H===6&&H--;;){for(let W=0;W<2;W++)if(!P.isReserved(V,H-W)){let _e=!1;q>>j&1)===1),P.set(V,H-W,_e),j--,j===-1&&(q++,j=7)}if(V+=F,V<0||x<=V){V-=F,F=-F;break}}}function S(P,N,x){const F=new n;x.forEach(function(W){F.put(W.mode.bit,4),F.put(W.getLength(),a.getCharCountIndicator(W.mode,P)),W.write(F)});const V=e.getSymbolTotalCodewords(P),j=c.getTotalCodewordsCount(P,N),q=(V-j)*8;for(F.getLengthInBits()+4<=q&&F.put(0,4);F.getLengthInBits()%8!==0;)F.putBit(0);const H=(q-F.getLengthInBits())/8;for(let W=0;W{},je=Array.isArray,el=/#/g,Du=/&/g,Fu=/\//g,Uu=/=/g,ku=/\?/g,tl=/\+/g,$u=/%5B/g,Hu=/%5D/g,nl=/%5E/g,ju=/%60/g,rl=/%7B/g,Vu=/%7C/g,sl=/%7D/g,qu=/%20/g;function gs(e){return encodeURI(""+e).replace(Vu,"|").replace($u,"[").replace(Hu,"]")}function Ku(e){return gs(e).replace(rl,"{").replace(sl,"}").replace(nl,"^")}function Kr(e){return gs(e).replace(tl,"%2B").replace(qu,"+").replace(el,"%23").replace(Du,"%26").replace(ju,"`").replace(rl,"{").replace(sl,"}").replace(nl,"^")}function zu(e){return Kr(e).replace(Uu,"%3D")}function Wu(e){return gs(e).replace(el,"%23").replace(ku,"%3F")}function Gu(e){return e==null?"":Wu(e).replace(Fu,"%2F")}function un(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ju=/\/$/,Yu=e=>e.replace(Ju,"");function ir(e,t,n="/"){let r,s={},o="",i="";const c=t.indexOf("#");let l=t.indexOf("?");return c=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,c>-1?c:t.length),s=e(o)),c>-1&&(r=r||t.slice(0,c),i=t.slice(c,t.length)),r=ef(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:un(i)}}function Qu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qs(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Xu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&kt(t.matched[r],n.matched[s])&&ol(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function kt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ol(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Zu(e[n],t[n]))return!1;return!0}function Zu(e,t){return je(e)?Xs(e,t):je(t)?Xs(t,e):e===t}function Xs(e,t){return je(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ef(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,c;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const lt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var fn;(function(e){e.pop="pop",e.push="push"})(fn||(fn={}));var nn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(nn||(nn={}));function tf(e){if(!e)if(Nt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Yu(e)}const nf=/^[^#]+#/;function rf(e,t){return e.replace(nf,"#")+t}function sf(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const qn=()=>({left:window.scrollX,top:window.scrollY});function of(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=sf(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Zs(e,t){return(history.state?history.state.position-t:-1)+e}const zr=new Map;function lf(e,t){zr.set(e,t)}function cf(e){const t=zr.get(e);return zr.delete(e),t}let uf=()=>location.protocol+"//"+location.host;function il(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let c=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(c);return l[0]!=="/"&&(l="/"+l),Qs(l,"")}return Qs(n,e)+r+s}function ff(e,t,n,r){let s=[],o=[],i=null;const c=({state:p})=>{const g=il(e,location),w=n.value,C=t.value;let U=0;if(p){if(n.value=g,t.value=p,i&&i===w){i=null;return}U=C?p.position-C.position:0}else r(g);s.forEach(P=>{P(n.value,w,{delta:U,type:fn.pop,direction:U?U>0?nn.forward:nn.back:nn.unknown})})};function l(){i=n.value}function f(p){s.push(p);const g=()=>{const w=s.indexOf(p);w>-1&&s.splice(w,1)};return o.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(te({},p.state,{scroll:qn()}),"")}function a(){for(const p of o)p();o=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:a}}function eo(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?qn():null}}function af(e){const{history:t,location:n}=window,r={value:il(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,f,u){const a=e.indexOf("#"),p=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+l:uf()+e+l;try{t[u?"replaceState":"pushState"](f,"",p),s.value=f}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function i(l,f){const u=te({},t.state,eo(s.value.back,l,s.value.forward,!0),f,{position:s.value.position});o(l,u,!0),r.value=l}function c(l,f){const u=te({},s.value,t.state,{forward:l,scroll:qn()});o(u.current,u,!0);const a=te({},eo(r.value,l,null),{position:u.position+1},f);o(l,a,!1),r.value=l}return{location:r,state:s,push:c,replace:i}}function df(e){e=tf(e);const t=af(e),n=ff(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=te({location:"",base:e,go:r,createHref:rf.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function hf(e){return typeof e=="string"||e&&typeof e=="object"}function ll(e){return typeof e=="string"||typeof e=="symbol"}const cl=Symbol("");var to;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(to||(to={}));function $t(e,t){return te(new Error,{type:e,[cl]:!0},t)}function et(e,t){return e instanceof Error&&cl in e&&(t==null||!!(e.type&t))}const no="[^/]+?",pf={sensitive:!1,strict:!1,start:!0,end:!0},gf=/[.+*?^${}()[\]/\\]/g;function mf(e,t){const n=te({},pf,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(s+="/");for(let a=0;at.length?t.length===1&&t[0]===80?1:-1:0}function ul(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const vf={type:0,value:""},_f=/[a-zA-Z0-9_]/;function bf(e){if(!e)return[[]];if(e==="/")return[[vf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let c=0,l,f="",u="";function a(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=l}for(;c{i(R)}:tn}function i(a){if(ll(a)){const p=r.get(a);p&&(r.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&r.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function c(){return n}function l(a){const p=Rf(a,n);n.splice(p,0,a),a.record.name&&!io(a)&&r.set(a.record.name,a)}function f(a,p){let g,w={},C,U;if("name"in a&&a.name){if(g=r.get(a.name),!g)throw $t(1,{location:a});U=g.record.name,w=te(so(p.params,g.keys.filter(R=>!R.optional).concat(g.parent?g.parent.keys.filter(R=>R.optional):[]).map(R=>R.name)),a.params&&so(a.params,g.keys.map(R=>R.name))),C=g.stringify(w)}else if(a.path!=null)C=a.path,g=n.find(R=>R.re.test(C)),g&&(w=g.parse(C),U=g.record.name);else{if(g=p.name?r.get(p.name):n.find(R=>R.re.test(p.path)),!g)throw $t(1,{location:a,currentLocation:p});U=g.record.name,w=te({},p.params,a.params),C=g.stringify(w)}const P=[];let A=g;for(;A;)P.unshift(A.record),A=A.parent;return{name:U,path:C,params:w,matched:P,meta:Sf(P)}}e.forEach(a=>o(a));function u(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:c,getRecordMatcher:s}}function so(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function oo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Cf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Cf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function io(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Sf(e){return e.reduce((t,n)=>te(t,n.meta),{})}function lo(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Rf(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;ul(e,t[o])<0?r=o:n=o+1}const s=Pf(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Pf(e){let t=e;for(;t=t.parent;)if(fl(t)&&ul(e,t)===0)return t}function fl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Af(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Kr(o)):[r&&Kr(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Tf(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=je(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const xf=Symbol(""),uo=Symbol(""),Kn=Symbol(""),ms=Symbol(""),Wr=Symbol("");function Kt(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function at(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((c,l)=>{const f=p=>{p===!1?l($t(4,{from:n,to:t})):p instanceof Error?l(p):hf(p)?l($t(2,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),c())},u=o(()=>e.call(r&&r.instances[s],t,n,f));let a=Promise.resolve(u);e.length<3&&(a=a.then(f)),a.catch(p=>l(p))})}function lr(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const c in i.components){let l=i.components[c];if(!(t!=="beforeRouteEnter"&&!i.instances[c]))if(Zi(l)){const u=(l.__vccOpts||l)[t];u&&o.push(at(u,n,r,i,c,s))}else{let f=l();o.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${c}" at "${i.path}"`);const a=Lu(u)?u.default:u;i.mods[c]=u,i.components[c]=a;const g=(a.__vccOpts||a)[t];return g&&at(g,n,r,i,c,s)()}))}}return o}function fo(e){const t=He(Kn),n=He(ms),r=ke(()=>{const l=ht(e.to);return t.resolve(l)}),s=ke(()=>{const{matched:l}=r.value,{length:f}=l,u=l[f-1],a=n.matched;if(!u||!a.length)return-1;const p=a.findIndex(kt.bind(null,u));if(p>-1)return p;const g=ao(l[f-2]);return f>1&&ao(u)===g&&a[a.length-1].path!==g?a.findIndex(kt.bind(null,l[f-2])):p}),o=ke(()=>s.value>-1&&Bf(n.params,r.value.params)),i=ke(()=>s.value>-1&&s.value===n.matched.length-1&&ol(n.params,r.value.params));function c(l={}){if(Of(l)){const f=t[ht(e.replace)?"replace":"push"](ht(e.to)).catch(tn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:ke(()=>r.value.href),isActive:o,isExactActive:i,navigate:c}}function If(e){return e.length===1?e[0]:e}const Mf=vt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:fo,setup(e,{slots:t}){const n=Fn(fo(e)),{options:r}=He(Kn),s=ke(()=>({[ho(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ho(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&If(t.default(n));return e.custom?o:ps("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Nf=Mf;function Of(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Bf(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!je(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function ao(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ho=(e,t,n)=>e??t??n,Lf=vt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=He(Wr),s=ke(()=>e.route||r.value),o=He(uo,0),i=ke(()=>{let f=ht(o);const{matched:u}=s.value;let a;for(;(a=u[f])&&!a.components;)f++;return f}),c=ke(()=>s.value.matched[i.value]);vn(uo,ke(()=>i.value+1)),vn(xf,c),vn(Wr,s);const l=pe();return Zt(()=>[l.value,c.value,e.name],([f,u,a],[p,g,w])=>{u&&(u.instances[a]=f,g&&g!==u&&f&&f===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),f&&u&&(!g||!kt(u,g)||!p)&&(u.enterCallbacks[a]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=s.value,u=e.name,a=c.value,p=a&&a.components[u];if(!p)return po(n.default,{Component:p,route:f});const g=a.props[u],w=g?g===!0?f.params:typeof g=="function"?g(f):g:null,U=ps(p,te({},w,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(a.instances[u]=null)},ref:l}));return po(n.default,{Component:U,route:f})||U}}});function po(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const al=Lf;function Df(e){const t=Ef(e.routes,e),n=e.parseQuery||Af,r=e.stringifyQuery||co,s=e.history,o=Kt(),i=Kt(),c=Kt(),l=Gl(lt);let f=lt;Nt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=or.bind(null,v=>""+v),a=or.bind(null,Gu),p=or.bind(null,un);function g(v,B){let M,$;return ll(v)?(M=t.getRecordMatcher(v),$=B):$=v,t.addRoute($,M)}function w(v){const B=t.getRecordMatcher(v);B&&t.removeRoute(B)}function C(){return t.getRoutes().map(v=>v.record)}function U(v){return!!t.getRecordMatcher(v)}function P(v,B){if(B=te({},B||l.value),typeof v=="string"){const m=ir(n,v,B.path),_=t.resolve({path:m.path},B),E=s.createHref(m.fullPath);return te(m,_,{params:p(_.params),hash:un(m.hash),redirectedFrom:void 0,href:E})}let M;if(v.path!=null)M=te({},v,{path:ir(n,v.path,B.path).path});else{const m=te({},v.params);for(const _ in m)m[_]==null&&delete m[_];M=te({},v,{params:a(m)}),B.params=a(B.params)}const $=t.resolve(M,B),oe=v.hash||"";$.params=u(p($.params));const d=Qu(r,te({},v,{hash:Ku(oe),path:$.path})),h=s.createHref(d);return te({fullPath:d,hash:oe,query:r===co?Tf(v.query):v.query||{}},$,{redirectedFrom:void 0,href:h})}function A(v){return typeof v=="string"?ir(n,v,l.value.path):te({},v)}function R(v,B){if(f!==v)return $t(8,{from:B,to:v})}function y(v){return N(v)}function k(v){return y(te(A(v),{replace:!0}))}function S(v){const B=v.matched[v.matched.length-1];if(B&&B.redirect){const{redirect:M}=B;let $=typeof M=="function"?M(v):M;return typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=A($):{path:$},$.params={}),te({query:v.query,hash:v.hash,params:$.path!=null?{}:v.params},$)}}function N(v,B){const M=f=P(v),$=l.value,oe=v.state,d=v.force,h=v.replace===!0,m=S(M);if(m)return N(te(A(m),{state:typeof m=="object"?te({},oe,m.state):oe,force:d,replace:h}),B||M);const _=M;_.redirectedFrom=B;let E;return!d&&Xu(r,$,M)&&(E=$t(16,{to:_,from:$}),be($,$,!0,!1)),(E?Promise.resolve(E):V(_,$)).catch(b=>et(b)?et(b,2)?b:Be(b):Z(b,_,$)).then(b=>{if(b){if(et(b,2))return N(te({replace:h},A(b.to),{state:typeof b.to=="object"?te({},oe,b.to.state):oe,force:d}),B||_)}else b=q(_,$,!0,h,oe);return j(_,$,b),b})}function x(v,B){const M=R(v,B);return M?Promise.reject(M):Promise.resolve()}function F(v){const B=ot.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(v):v()}function V(v,B){let M;const[$,oe,d]=Ff(v,B);M=lr($.reverse(),"beforeRouteLeave",v,B);for(const m of $)m.leaveGuards.forEach(_=>{M.push(at(_,v,B))});const h=x.bind(null,v,B);return M.push(h),we(M).then(()=>{M=[];for(const m of o.list())M.push(at(m,v,B));return M.push(h),we(M)}).then(()=>{M=lr(oe,"beforeRouteUpdate",v,B);for(const m of oe)m.updateGuards.forEach(_=>{M.push(at(_,v,B))});return M.push(h),we(M)}).then(()=>{M=[];for(const m of d)if(m.beforeEnter)if(je(m.beforeEnter))for(const _ of m.beforeEnter)M.push(at(_,v,B));else M.push(at(m.beforeEnter,v,B));return M.push(h),we(M)}).then(()=>(v.matched.forEach(m=>m.enterCallbacks={}),M=lr(d,"beforeRouteEnter",v,B,F),M.push(h),we(M))).then(()=>{M=[];for(const m of i.list())M.push(at(m,v,B));return M.push(h),we(M)}).catch(m=>et(m,8)?m:Promise.reject(m))}function j(v,B,M){c.list().forEach($=>F(()=>$(v,B,M)))}function q(v,B,M,$,oe){const d=R(v,B);if(d)return d;const h=B===lt,m=Nt?history.state:{};M&&($||h?s.replace(v.fullPath,te({scroll:h&&m&&m.scroll},oe)):s.push(v.fullPath,oe)),l.value=v,be(v,B,M,h),Be()}let H;function W(){H||(H=s.listen((v,B,M)=>{if(!it.listening)return;const $=P(v),oe=S($);if(oe){N(te(oe,{replace:!0,force:!0}),$).catch(tn);return}f=$;const d=l.value;Nt&&lf(Zs(d.fullPath,M.delta),qn()),V($,d).catch(h=>et(h,12)?h:et(h,2)?(N(te(A(h.to),{force:!0}),$).then(m=>{et(m,20)&&!M.delta&&M.type===fn.pop&&s.go(-1,!1)}).catch(tn),Promise.reject()):(M.delta&&s.go(-M.delta,!1),Z(h,$,d))).then(h=>{h=h||q($,d,!1),h&&(M.delta&&!et(h,8)?s.go(-M.delta,!1):M.type===fn.pop&&et(h,20)&&s.go(-1,!1)),j($,d,h)}).catch(tn)}))}let _e=Kt(),ue=Kt(),ee;function Z(v,B,M){Be(v);const $=ue.list();return $.length?$.forEach(oe=>oe(v,B,M)):console.error(v),Promise.reject(v)}function Fe(){return ee&&l.value!==lt?Promise.resolve():new Promise((v,B)=>{_e.add([v,B])})}function Be(v){return ee||(ee=!v,W(),_e.list().forEach(([B,M])=>v?M(v):B()),_e.reset()),v}function be(v,B,M,$){const{scrollBehavior:oe}=e;if(!Nt||!oe)return Promise.resolve();const d=!M&&cf(Zs(v.fullPath,0))||($||!M)&&history.state&&history.state.scroll||null;return cs().then(()=>oe(v,B,d)).then(h=>h&&of(h)).catch(h=>Z(h,v,B))}const de=v=>s.go(v);let Ve;const ot=new Set,it={currentRoute:l,listening:!0,addRoute:g,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:U,getRoutes:C,resolve:P,options:e,push:y,replace:k,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:i.add,afterEach:c.add,onError:ue.add,isReady:Fe,install(v){const B=this;v.component("RouterLink",Nf),v.component("RouterView",al),v.config.globalProperties.$router=B,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),Nt&&!Ve&&l.value===lt&&(Ve=!0,y(s.location).catch(oe=>{}));const M={};for(const oe in lt)Object.defineProperty(M,oe,{get:()=>l.value[oe],enumerable:!0});v.provide(Kn,B),v.provide(ms,pi(M)),v.provide(Wr,l);const $=v.unmount;ot.add(v),v.unmount=function(){ot.delete(v),ot.size<1&&(f=lt,H&&H(),H=null,l.value=lt,Ve=!1,ee=!1),$()}}};function we(v){return v.reduce((B,M)=>B.then(()=>F(M)),Promise.resolve())}return it}function Ff(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;ikt(f,c))?r.push(c):n.push(c));const l=e.matched[i];l&&(t.matched.find(f=>kt(f,l))||s.push(l))}return[n,r,s]}function dl(){return He(Kn)}function Uf(e){return He(ms)}const kf=vt({__name:"App",setup(e){return(t,n)=>(he(),jn(ht(al)))}}),ys=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},$f=ys(kf,[["__scopeId","data-v-913ef6b1"]]),Hf="/assets/logo-BnUTTh_g.png";function En(e){return"http://"+window.location.host.split(":")[0]+":8090"+e}function Gr(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16))))}var xt={},cr,go;function jf(){return go||(go=1,cr=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),cr}var ur={},ct={},mo;function Pt(){if(mo)return ct;mo=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return ct.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},ct.getSymbolTotalCodewords=function(r){return t[r]},ct.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},ct.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');e=r},ct.isKanjiModeEnabled=function(){return typeof e<"u"},ct.toSJIS=function(r){return e(r)},ct}var fr={},yo;function vs(){return yo||(yo=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,s){if(e.isValid(r))return r;try{return t(r)}catch{return s}}}(fr)),fr}var ar,vo;function Vf(){if(vo)return ar;vo=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let r=0;r>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},ar=e,ar}var dr,_o;function qf(){if(_o)return dr;_o=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,r,s){const o=t*this.size+n;this.data[o]=r,s&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,r){this.data[t*this.size+n]^=r},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},dr=e,dr}var hr={},bo;function Kf(){return bo||(bo=1,function(e){const t=Pt().getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const s=Math.floor(r/7)+2,o=t(r),i=o===145?26:Math.ceil((o-13)/(2*s-2))*2,c=[o-7];for(let l=1;l=0&&s<=7},e.from=function(s){return e.isValid(s)?parseInt(s,10):void 0},e.getPenaltyN1=function(s){const o=s.size;let i=0,c=0,l=0,f=null,u=null;for(let a=0;a=5&&(i+=t.N1+(c-5)),f=g,c=1),g=s.get(p,a),g===u?l++:(l>=5&&(i+=t.N1+(l-5)),u=g,l=1)}c>=5&&(i+=t.N1+(c-5)),l>=5&&(i+=t.N1+(l-5))}return i},e.getPenaltyN2=function(s){const o=s.size;let i=0;for(let c=0;c=10&&(c===1488||c===93)&&i++,l=l<<1&2047|s.get(u,f),u>=10&&(l===1488||l===93)&&i++}return i*t.N3},e.getPenaltyN4=function(s){let o=0;const i=s.data.length;for(let l=0;l=0;){const i=o[0];for(let l=0;l0){const c=new Uint8Array(this.degree);return c.set(o,i),c}return o},yr=t,yr}var vr={},_r={},br={},Ao;function pl(){return Ao||(Ao=1,br.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),br}var Ge={},To;function gl(){if(To)return Ge;To=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r +]))+`;Ge.KANJI=new RegExp(n,"g"),Ge.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Ge.BYTE=new RegExp(r,"g"),Ge.NUMERIC=new RegExp(e,"g"),Ge.ALPHANUMERIC=new RegExp(t,"g");const s=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Ge.testKanji=function(l){return s.test(l)},Ge.testNumeric=function(l){return o.test(l)},Ge.testAlphanumeric=function(l){return i.test(l)},Ge}var xo;function At(){return xo||(xo=1,function(e){const t=pl(),n=gl();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,i){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?o.ccBits[0]:i<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function r(s){if(typeof s!="string")throw new Error("Param is not a string");switch(s.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+s)}}e.from=function(o,i){if(e.isValid(o))return o;try{return r(o)}catch{return i}}}(_r)),_r}var Io;function Qf(){return Io||(Io=1,function(e){const t=Pt(),n=hl(),r=vs(),s=At(),o=pl(),i=7973,c=t.getBCHDigit(i);function l(p,g,w){for(let C=1;C<=40;C++)if(g<=e.getCapacity(C,w,p))return C}function f(p,g){return s.getCharCountIndicator(p,g)+4}function u(p,g){let w=0;return p.forEach(function(C){const U=f(C.mode,g);w+=U+C.getBitsLength()}),w}function a(p,g){for(let w=1;w<=40;w++)if(u(p,w)<=e.getCapacity(w,g,s.MIXED))return w}e.from=function(g,w){return o.isValid(g)?parseInt(g,10):w},e.getCapacity=function(g,w,C){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof C>"u"&&(C=s.BYTE);const U=t.getSymbolTotalCodewords(g),P=n.getTotalCodewordsCount(g,w),A=(U-P)*8;if(C===s.MIXED)return A;const R=A-f(C,g);switch(C){case s.NUMERIC:return Math.floor(R/10*3);case s.ALPHANUMERIC:return Math.floor(R/11*2);case s.KANJI:return Math.floor(R/13);case s.BYTE:default:return Math.floor(R/8)}},e.getBestVersionForData=function(g,w){let C;const U=r.from(w,r.M);if(Array.isArray(g)){if(g.length>1)return a(g,U);if(g.length===0)return 1;C=g[0]}else C=g;return l(C.mode,C.getLength(),U)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let w=g<<12;for(;t.getBCHDigit(w)-c>=0;)w^=i<=0;)l^=t<0&&(o=this.data.substr(s),i=parseInt(o,10),r.put(i,c*3+1))},Cr=t,Cr}var Sr,Oo;function ea(){if(Oo)return Sr;Oo=1;const e=At(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(r){this.mode=e.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(s){return 11*Math.floor(s/2)+6*(s%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(s){let o;for(o=0;o+2<=this.data.length;o+=2){let i=t.indexOf(this.data[o])*45;i+=t.indexOf(this.data[o+1]),s.put(i,11)}this.data.length%2&&s.put(t.indexOf(this.data[o]),6)},Sr=n,Sr}var Rr,Bo;function ta(){if(Bo)return Rr;Bo=1;const e=At();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(r){return r*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let r=0,s=this.data.length;r=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[s]+` +Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),r.put(o,13)}},Pr=n,Pr}var Ar={exports:{}},Do;function ra(){return Do||(Do=1,function(e){var t={single_source_shortest_paths:function(n,r,s){var o={},i={};i[r]=0;var c=t.PriorityQueue.make();c.push(r,0);for(var l,f,u,a,p,g,w,C,U;!c.empty();){l=c.pop(),f=l.value,a=l.cost,p=n[f]||{};for(u in p)p.hasOwnProperty(u)&&(g=p[u],w=a+g,C=i[u],U=typeof i[u]>"u",(U||C>w)&&(i[u]=w,c.push(u,w),o[u]=f))}if(typeof s<"u"&&typeof i[s]>"u"){var P=["Could not find a path from ",r," to ",s,"."].join("");throw new Error(P)}return o},extract_shortest_path_from_predecessor_list:function(n,r){for(var s=[],o=r;o;)s.push(o),n[o],o=n[o];return s.reverse(),s},find_path:function(n,r,s){var o=t.single_source_shortest_paths(n,r,s);return t.extract_shortest_path_from_predecessor_list(o,s)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,s={},o;n=n||{};for(o in r)r.hasOwnProperty(o)&&(s[o]=r[o]);return s.queue=[],s.sorter=n.sorter||r.default_sorter,s},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var s={value:n,cost:r};this.queue.push(s),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Ar)),Ar.exports}var Fo;function sa(){return Fo||(Fo=1,function(e){const t=At(),n=Zf(),r=ea(),s=ta(),o=na(),i=gl(),c=Pt(),l=ra();function f(P){return unescape(encodeURIComponent(P)).length}function u(P,A,R){const y=[];let k;for(;(k=P.exec(R))!==null;)y.push({data:k[0],index:k.index,mode:A,length:k[0].length});return y}function a(P){const A=u(i.NUMERIC,t.NUMERIC,P),R=u(i.ALPHANUMERIC,t.ALPHANUMERIC,P);let y,k;return c.isKanjiModeEnabled()?(y=u(i.BYTE,t.BYTE,P),k=u(i.KANJI,t.KANJI,P)):(y=u(i.BYTE_KANJI,t.BYTE,P),k=[]),A.concat(R,y,k).sort(function(N,x){return N.index-x.index}).map(function(N){return{data:N.data,mode:N.mode,length:N.length}})}function p(P,A){switch(A){case t.NUMERIC:return n.getBitsLength(P);case t.ALPHANUMERIC:return r.getBitsLength(P);case t.KANJI:return o.getBitsLength(P);case t.BYTE:return s.getBitsLength(P)}}function g(P){return P.reduce(function(A,R){const y=A.length-1>=0?A[A.length-1]:null;return y&&y.mode===R.mode?(A[A.length-1].data+=R.data,A):(A.push(R),A)},[])}function w(P){const A=[];for(let R=0;R=0&&H<=6&&(W===0||W===6)||W>=0&&W<=6&&(H===0||H===6)||H>=2&&H<=4&&W>=2&&W<=4?S.set(j+H,q+W,!0,!0):S.set(j+H,q+W,!1,!0))}}function w(S){const N=S.size;for(let x=8;x>H&1)===1,S.set(V,j,q,!0),S.set(j,V,q,!0)}function P(S,N,x){const F=S.size,V=u.getEncodedBits(N,x);let j,q;for(j=0;j<15;j++)q=(V>>j&1)===1,j<6?S.set(j,8,q,!0):j<8?S.set(j+1,8,q,!0):S.set(F-15+j,8,q,!0),j<8?S.set(8,F-j-1,q,!0):j<9?S.set(8,15-j-1+1,q,!0):S.set(8,15-j-1,q,!0);S.set(F-8,8,1,!0)}function A(S,N){const x=S.size;let F=-1,V=x-1,j=7,q=0;for(let H=x-1;H>0;H-=2)for(H===6&&H--;;){for(let W=0;W<2;W++)if(!S.isReserved(V,H-W)){let _e=!1;q>>j&1)===1),S.set(V,H-W,_e),j--,j===-1&&(q++,j=7)}if(V+=F,V<0||x<=V){V-=F,F=-F;break}}}function R(S,N,x){const F=new n;x.forEach(function(W){F.put(W.mode.bit,4),F.put(W.getLength(),a.getCharCountIndicator(W.mode,S)),W.write(F)});const V=e.getSymbolTotalCodewords(S),j=c.getTotalCodewordsCount(S,N),q=(V-j)*8;for(F.getLengthInBits()+4<=q&&F.put(0,4);F.getLengthInBits()%8!==0;)F.putBit(0);const H=(q-F.getLengthInBits())/8;for(let W=0;W=7&&U(W,N),A(W,q),isNaN(F)&&(F=i.getBestMask(W,R.bind(null,W,x))),i.applyMask(F,W),R(W,x,F),{modules:W,version:N,errorCorrectionLevel:x,maskPattern:F,segments:V}}return lr.create=function(N,x){if(typeof N>"u"||N==="")throw new Error("No input text");let F=t.M,V,j;return typeof x<"u"&&(F=t.from(x.errorCorrectionLevel,t.M),V=f.from(x.version),j=i.from(x.maskPattern),x.toSJISFunc&&e.setToSJISFunction(x.toSJISFunc)),$(N,V,F,j)},lr}var Pr={},Ar={},$o;function ml(){return $o||($o=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(o){return[o,o]}))),r.length===6&&r.push("F","F");const s=parseInt(r.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:s&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,o=r.width&&r.width>=21?r.width:void 0,i=r.scale||4;return{width:o,scale:o?4:i,margin:s,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,s){return s.width&&s.width>=r+s.margin*2?s.width/(r+s.margin*2):s.scale},e.getImageWidth=function(r,s){const o=e.getScale(r,s);return Math.floor((r+s.margin*2)*o)},e.qrToImageData=function(r,s,o){const i=s.modules.size,c=s.modules.data,l=e.getScale(i,o),f=Math.floor((i+o.margin*2)*l),u=o.margin*l,a=[o.color.light,o.color.dark];for(let p=0;p=u&&g>=u&&p"u"&&(!i||!i.getContext)&&(l=i,i=void 0),i||(f=r()),l=t.getOptions(l);const u=t.getImageWidth(o.modules.size,l),a=f.getContext("2d"),p=a.createImageData(u,u);return t.qrToImageData(p.data,o,l),n(a,f,u),a.putImageData(p,0,0),f},e.renderToDataURL=function(o,i,c){let l=c;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),l||(l={});const f=e.render(o,i,l),u=l.type||"image/png",a=l.rendererOpts||{};return f.toDataURL(u,a.quality)}}(Pr)),Pr}var Tr={},Ho;function la(){if(Ho)return Tr;Ho=1;const e=ml();function t(s,o){const i=s.a/255,c=o+'="'+s.hex+'"';return i<1?c+" "+o+'-opacity="'+i.toFixed(2).slice(1)+'"':c}function n(s,o,i){let c=s+o;return typeof i<"u"&&(c+=" "+i),c}function r(s,o,i){let c="",l=0,f=!1,u=0;for(let a=0;a0&&p>0&&s[a-1]||(c+=f?n("M",p+i,.5+g+i):n("m",l,0),l=0,f=!1),p+1':"",g="',w='viewBox="0 0 '+a+" "+a+'"',U=''+p+g+` -`;return typeof c=="function"&&c(null,U),U},Tr}var jo;function ca(){if(jo)return xt;jo=1;const e=jf(),t=oa(),n=ia(),r=la();function s(o,i,c,l,f){const u=[].slice.call(arguments,1),a=u.length,p=typeof u[a-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){if(a<2)throw new Error("Too few arguments provided");a===2?(f=c,c=i,i=l=void 0):a===3&&(i.getContext&&typeof f>"u"?(f=l,l=void 0):(f=l,l=c,c=i,i=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(c=i,i=l=void 0):a===2&&!i.getContext&&(l=c,c=i,i=void 0),new Promise(function(g,w){try{const C=t.create(c,l);g(o(C,i,l))}catch(C){w(C)}})}try{const g=t.create(c,l);f(null,o(g,i,l))}catch(g){f(g)}}return xt.create=t.create,xt.toCanvas=s.bind(null,n.render),xt.toDataURL=s.bind(null,n.renderToDataURL),xt.toString=s.bind(null,function(o,i,c){return r.render(o,c)}),xt}var xr=ca();/*! vue-qrcode v2.0.0 | (c) 2018-present Chen Fengyuan | MIT */const Vo="ready";var ua=vt({name:"VueQrcode",props:{value:{type:String,default:void 0},options:{type:Object,default:void 0},tag:{type:String,default:"canvas"}},emits:[Vo],watch:{$props:{deep:!0,immediate:!0,handler(){this.$el&&this.generate()}}},mounted(){this.generate()},methods:{generate(){const e=this.options||{},t=String(this.value),n=()=>{this.$emit(Vo,this.$el)};switch(this.tag){case"canvas":xr.toCanvas(this.$el,t,e,r=>{if(r)throw r;n()});break;case"img":xr.toDataURL(t,e,(r,s)=>{if(r)throw r;this.$el.src=s,this.$el.onload=n});break;case"svg":xr.toString(t,e,(r,s)=>{if(r)throw r;const o=document.createElement("div");o.innerHTML=s;const i=o.querySelector("svg");if(i){const{attributes:c,childNodes:l}=i;Object.keys(c).forEach(f=>{const u=c[Number(f)];this.$el.setAttribute(u.name,u.value)}),Object.keys(l).forEach(f=>{const u=l[Number(f)];this.$el.appendChild(u.cloneNode(!0))}),n()}});break}}},render(){return hs(this.tag,this.$slots.default)}});const fa={class:"body-custom"},aa={class:"header-block"},da={class:"team-name-block text-truncate"},ha={class:"form-custom form-block"},pa={class:"center-block-custom"},ga=["disabled"],ma={class:"button-container"},ya={class:"second-color info-custom"},va=["disabled"],_a={class:"center-block-custom"},ba={key:0},wa={class:"center-message"},Ea={class:"qr"},Ca={key:1},Sa={class:"message-cloud"},Ra={class:"message-header"},Pa=["onClick"],Aa={class:"message-content"},Ta={key:0,class:"hr"},xa=["onClick","disabled"],Ia={key:1,class:"hr"},Ma=vt({__name:"GameWindow",setup(e){const t=dl(),n=Uf(),r=he(!1),s=he(""),o=he(""),i=he(""),c=he({name:"",actions:[]}),l=he([]),f=he(),u=he("STOP"),a=he(""),p=he("-"),g=he({width:200,margin:1,color:{dark:"#303030",light:"f0f0f0"}});function w(){fetch(wn("/team"),{method:"GET",headers:{"X-Id":Wr(s.value),"X-Password":o.value}}).then(y=>{if(y.status==401){t.push("/login");return}return y.json()}).then(y=>{var N;const $=c.value.actions;c.value=y;const P=(N=c.value)==null?void 0:N.actions;P.forEach(x=>{x.isOpen=!0});for(let x=0;xV.show)}}).catch(y=>{console.error("Ошибка:",y)})}function C(){r.value=!0;const y=i.value.trim();if(y===""){i.value="";return}U(y),i.value=""}function U(y){console.log("letsgo to "+y),fetch(wn("/team/actions"),{method:"POST",headers:{"X-Id":Wr(s.value),"X-Password":o.value},body:JSON.stringify({place:y})})}const R=async(y="smooth")=>{await ls(),f.value&&f.value.scrollTo({top:f.value.scrollHeight,behavior:y})};function A(){p.value=location.href,fetch(wn("/game")).then(y=>y.json()).then(y=>{u.value=y.state,y.state==="NEW"&&(a.value="Игра ещё не началась"),y.state==="RUN"&&(a.value=""),y.state==="STOP"&&(a.value="Игра остановлена")}).catch(y=>{console.error("Ошибка:",y)})}Zt(l,()=>{r.value!==!1&&(R(),r.value=!1)},{deep:!0});let S=0;return fs(()=>{var y,$;s.value=sessionStorage.getItem("teamId")||"",o.value=sessionStorage.getItem("password")||"",s.value==""&&(s.value=((y=n.query.name)==null?void 0:y.toString())||"",o.value=(($=n.query.password)==null?void 0:$.toString())||"",sessionStorage.setItem("teamId",s.value),sessionStorage.setItem("password",o.value)),w(),S=setInterval(()=>{w(),A()},2e3),t.beforeEach((P,N,x)=>{clearInterval(S),x()})}),(y,$)=>(pe(),Be("div",fa,[$[4]||($[4]=X("img",{alt:"Вечерний детектив",class:"logo",src:Hf,width:"40",height:"40"},null,-1)),X("div",aa,[$[1]||($[1]=kr(" Вечерний детектив ")),X("span",da,Ue(c.value.name),1)]),X("div",ha,[X("div",pa,[X("form",{onSubmit:Xi(C,["prevent"])},[X("div",null,[Rn(X("input",{class:"input-custom","onUpdate:modelValue":$[0]||($[0]=P=>i.value=P),type:"text",placeholder:"Место назначения (А-1, а-1, а1)",disabled:u.value!=="RUN"},null,8,ga),[[Vr,i.value]])]),X("div",ma,[X("div",ya,Ue(a.value),1),X("button",{class:"button-custom",type:"submit",disabled:u.value!=="RUN"},"Поехали",8,va)])],32)])]),X("div",{class:"messages-block",ref_key:"scrollContainer",ref:f},[X("div",_a,[!c.value||!c.value.actions.length?(pe(),Be("div",ba,[X("div",wa,[X("div",Ea,[Pe(ht(ua),{value:p.value,options:g.value,tag:"svg",class:"qr-code"},null,8,["value","options"]),$[2]||($[2]=X("div",null," Пора решать загадку ",-1))])])])):(pe(),Be("div",Ca,[(pe(!0),Be(Me,null,Yn(c.value.actions,P=>{var N;return pe(),Be("div",{key:P.id},[X("div",Sa,[X("div",Ra,[kr(Ue(P.place)+": "+Ue(P.name)+" ",1),X("span",{class:"collapse-icon",onClick:x=>P.isOpen=!P.isOpen,style:{float:"right"}},Ue(P.isOpen?"−":"+"),9,Pa)]),Rn(X("div",null,[$[3]||($[3]=X("hr",{class:"hr"},null,-1)),X("div",Aa,Ue(P.text),1),(N=P.buttons)!=null&&N.length?(pe(),Be("hr",Ta)):Bs("",!0),(pe(!0),Be(Me,null,Yn(P.buttons,x=>(pe(),Be("button",{key:x.code,class:"button-dialog",onClick:F=>U(x.code),disabled:u.value!=="RUN"||!x.show},Ue(x.name),9,xa))),128)),P.applications.length?(pe(),Be("hr",Ia)):Bs("",!0),(pe(!0),Be(Me,null,Yn(P.applications,x=>(pe(),Be("div",{class:"message-footer",key:x.name}," Приложение: "+Ue(x.name),1))),128))],512),[[au,P.isOpen]])])])}),128))]))])],512)]))}}),Na=ms(Ma,[["__scopeId","data-v-dec355e5"]]),Oa=vt({__name:"HomeView",setup(e){return(t,n)=>(pe(),Hn(Na))}}),Ba={class:"center-message"},La={class:"button-container"},Da={class:"button-custom",type:"submit"},Fa={class:"error-message"},Ua=vt({__name:"LoginWindow",setup(e){const t=dl(),n=he(""),r=he(""),s=he("Вход"),o=he("");function i(){const c=s.value;s.value="Загрузка...",o.value="",fetch(wn("/team"),{method:"GET",headers:{"X-Id":Wr(n.value),"X-Password":r.value}}).then(l=>{if(l.status==200){sessionStorage.setItem("teamId",n.value),sessionStorage.setItem("password",r.value),t.push("/");return}if(l.status==401){if(n.value==""&&r.value=="")return;o.value="Не верны название команды или пароль";return}o.value="ХЗ что это "+l}).catch(()=>{o.value="Сервер не доступен"}).finally(()=>{s.value=c})}return fs(()=>{n.value=sessionStorage.getItem("teamId")||"",r.value=sessionStorage.getItem("password")||"",i()}),(c,l)=>(pe(),Be(Me,null,[l[2]||(l[2]=X("div",{class:"header-block"}," Вечерний детектив ",-1)),X("div",Ba,[X("form",{onSubmit:Xi(i,["prevent"])},[X("div",null,[Rn(X("input",{class:"input-custom","onUpdate:modelValue":l[0]||(l[0]=f=>n.value=f),type:"text",placeholder:"Название команды"},null,512),[[Vr,n.value]])]),X("div",null,[Rn(X("input",{class:"input-custom","onUpdate:modelValue":l[1]||(l[1]=f=>r.value=f),type:"text",placeholder:"Пароль",autocapitalize:"off"},null,512),[[Vr,r.value]])]),X("div",La,[X("button",Da,Ue(s.value),1)]),X("div",Fa,Ue(o.value),1)],32)])],64))}}),$a=ms(Ua,[["__scopeId","data-v-13746d20"]]),ka=vt({__name:"LoginView",setup(e){return(t,n)=>(pe(),Hn($a))}}),Ha=Df({history:df("/"),routes:[{path:"/",name:"home",component:Oa},{path:"/login",name:"login",component:ka}]}),vs=Iu(kf);vs.use(Bu());vs.use(Ha);vs.mount("#app"); +`);const q=R(N,x,V),H=e.getSymbolSize(N),W=new r(H);return g(W,N),w(W),C(W,N),P(W,x,0),N>=7&&U(W,N),A(W,q),isNaN(F)&&(F=i.getBestMask(W,P.bind(null,W,x))),i.applyMask(F,W),P(W,x,F),{modules:W,version:N,errorCorrectionLevel:x,maskPattern:F,segments:V}}return ur.create=function(N,x){if(typeof N>"u"||N==="")throw new Error("No input text");let F=t.M,V,j;return typeof x<"u"&&(F=t.from(x.errorCorrectionLevel,t.M),V=f.from(x.version),j=i.from(x.maskPattern),x.toSJISFunc&&e.setToSJISFunction(x.toSJISFunc)),k(N,V,F,j)},ur}var Tr={},xr={},ko;function ml(){return ko||(ko=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(o){return[o,o]}))),r.length===6&&r.push("F","F");const s=parseInt(r.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:s&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,o=r.width&&r.width>=21?r.width:void 0,i=r.scale||4;return{width:o,scale:o?4:i,margin:s,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,s){return s.width&&s.width>=r+s.margin*2?s.width/(r+s.margin*2):s.scale},e.getImageWidth=function(r,s){const o=e.getScale(r,s);return Math.floor((r+s.margin*2)*o)},e.qrToImageData=function(r,s,o){const i=s.modules.size,c=s.modules.data,l=e.getScale(i,o),f=Math.floor((i+o.margin*2)*l),u=o.margin*l,a=[o.color.light,o.color.dark];for(let p=0;p=u&&g>=u&&p"u"&&(!i||!i.getContext)&&(l=i,i=void 0),i||(f=r()),l=t.getOptions(l);const u=t.getImageWidth(o.modules.size,l),a=f.getContext("2d"),p=a.createImageData(u,u);return t.qrToImageData(p.data,o,l),n(a,f,u),a.putImageData(p,0,0),f},e.renderToDataURL=function(o,i,c){let l=c;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),l||(l={});const f=e.render(o,i,l),u=l.type||"image/png",a=l.rendererOpts||{};return f.toDataURL(u,a.quality)}}(Tr)),Tr}var Ir={},Ho;function la(){if(Ho)return Ir;Ho=1;const e=ml();function t(s,o){const i=s.a/255,c=o+'="'+s.hex+'"';return i<1?c+" "+o+'-opacity="'+i.toFixed(2).slice(1)+'"':c}function n(s,o,i){let c=s+o;return typeof i<"u"&&(c+=" "+i),c}function r(s,o,i){let c="",l=0,f=!1,u=0;for(let a=0;a0&&p>0&&s[a-1]||(c+=f?n("M",p+i,.5+g+i):n("m",l,0),l=0,f=!1),p+1':"",g="',w='viewBox="0 0 '+a+" "+a+'"',U=''+p+g+` +`;return typeof c=="function"&&c(null,U),U},Ir}var jo;function ca(){if(jo)return xt;jo=1;const e=jf(),t=oa(),n=ia(),r=la();function s(o,i,c,l,f){const u=[].slice.call(arguments,1),a=u.length,p=typeof u[a-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){if(a<2)throw new Error("Too few arguments provided");a===2?(f=c,c=i,i=l=void 0):a===3&&(i.getContext&&typeof f>"u"?(f=l,l=void 0):(f=l,l=c,c=i,i=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(c=i,i=l=void 0):a===2&&!i.getContext&&(l=c,c=i,i=void 0),new Promise(function(g,w){try{const C=t.create(c,l);g(o(C,i,l))}catch(C){w(C)}})}try{const g=t.create(c,l);f(null,o(g,i,l))}catch(g){f(g)}}return xt.create=t.create,xt.toCanvas=s.bind(null,n.render),xt.toDataURL=s.bind(null,n.renderToDataURL),xt.toString=s.bind(null,function(o,i,c){return r.render(o,c)}),xt}var Mr=ca();/*! vue-qrcode v2.0.0 | (c) 2018-present Chen Fengyuan | MIT */const Vo="ready";var ua=vt({name:"VueQrcode",props:{value:{type:String,default:void 0},options:{type:Object,default:void 0},tag:{type:String,default:"canvas"}},emits:[Vo],watch:{$props:{deep:!0,immediate:!0,handler(){this.$el&&this.generate()}}},mounted(){this.generate()},methods:{generate(){const e=this.options||{},t=String(this.value),n=()=>{this.$emit(Vo,this.$el)};switch(this.tag){case"canvas":Mr.toCanvas(this.$el,t,e,r=>{if(r)throw r;n()});break;case"img":Mr.toDataURL(t,e,(r,s)=>{if(r)throw r;this.$el.src=s,this.$el.onload=n});break;case"svg":Mr.toString(t,e,(r,s)=>{if(r)throw r;const o=document.createElement("div");o.innerHTML=s;const i=o.querySelector("svg");if(i){const{attributes:c,childNodes:l}=i;Object.keys(c).forEach(f=>{const u=c[Number(f)];this.$el.setAttribute(u.name,u.value)}),Object.keys(l).forEach(f=>{const u=l[Number(f)];this.$el.appendChild(u.cloneNode(!0))}),n()}});break}}},render(){return ps(this.tag,this.$slots.default)}});const fa={class:"body-custom"},aa={class:"header-block"},da={class:"team-name-block text-truncate"},ha={class:"form-custom form-block"},pa={class:"center-block-custom"},ga=["disabled"],ma={class:"button-container"},ya={class:"second-color info-custom"},va=["disabled"],_a={class:"center-block-custom"},ba={key:0},wa={class:"center-message"},Ea={class:"qr"},Ca={key:1},Sa={class:"message-cloud"},Ra={class:"message-header"},Pa=["onClick"],Aa={class:"message-content"},Ta={key:0},xa=["src"],Ia={key:0,class:"hr"},Ma=["onClick","disabled"],Na={key:1,class:"hr"},Oa=vt({__name:"GameWindow",setup(e){const t=dl(),n=Uf(),r=pe(!1),s=pe(""),o=pe(""),i=pe(""),c=pe({name:"",actions:[]}),l=pe([]),f=pe(),u=pe("STOP"),a=pe(""),p=pe("-"),g=pe({width:200,margin:1,color:{dark:"#303030",light:"f0f0f0"}});function w(){fetch(En("/team"),{method:"GET",headers:{"X-Id":Gr(s.value),"X-Password":o.value}}).then(y=>{if(y.status==401){t.push("/login");return}return y.json()}).then(y=>{var N;const k=c.value.actions;c.value=y;const S=(N=c.value)==null?void 0:N.actions;S.forEach(x=>{x.isOpen=!0});for(let x=0;xV.show)}}).catch(y=>{console.error("Ошибка:",y)})}function C(){r.value=!0;const y=i.value.trim();if(y===""){i.value="";return}U(y),i.value=""}function U(y){console.log("letsgo to "+y),fetch(En("/team/actions"),{method:"POST",headers:{"X-Id":Gr(s.value),"X-Password":o.value},body:JSON.stringify({place:y})})}const P=async(y="smooth")=>{await cs(),f.value&&f.value.scrollTo({top:f.value.scrollHeight,behavior:y})};function A(){p.value=location.href,fetch(En("/game")).then(y=>y.json()).then(y=>{u.value=y.state,y.state==="NEW"&&(a.value="Игра ещё не началась"),y.state==="RUN"&&(a.value=""),y.state==="STOP"&&(a.value="Игра остановлена")}).catch(y=>{console.error("Ошибка:",y)})}Zt(l,()=>{r.value!==!1&&(P(),r.value=!1)},{deep:!0});let R=0;return as(()=>{var y,k;s.value=sessionStorage.getItem("teamId")||"",o.value=sessionStorage.getItem("password")||"",s.value==""&&(s.value=((y=n.query.name)==null?void 0:y.toString())||"",o.value=((k=n.query.password)==null?void 0:k.toString())||"",sessionStorage.setItem("teamId",s.value),sessionStorage.setItem("password",o.value)),w(),R=setInterval(()=>{w(),A()},2e3),t.beforeEach((S,N,x)=>{clearInterval(R),x()})}),(y,k)=>(he(),xe("div",fa,[k[4]||(k[4]=Q("img",{alt:"Вечерний детектив",class:"logo",src:Hf,width:"40",height:"40"},null,-1)),Q("div",aa,[k[1]||(k[1]=bn(" Вечерний детектив ")),Q("span",da,Ue(c.value.name),1)]),Q("div",ha,[Q("div",pa,[Q("form",{onSubmit:Xi(C,["prevent"])},[Q("div",null,[Pn(Q("input",{class:"input-custom","onUpdate:modelValue":k[0]||(k[0]=S=>i.value=S),type:"text",placeholder:"Место назначения (А-1, а-1, а1)",disabled:u.value!=="RUN"},null,8,ga),[[qr,i.value]])]),Q("div",ma,[Q("div",ya,Ue(a.value),1),Q("button",{class:"button-custom",type:"submit",disabled:u.value!=="RUN"},"Поехали",8,va)])],32)])]),Q("div",{class:"messages-block",ref_key:"scrollContainer",ref:f},[Q("div",_a,[!c.value||!c.value.actions.length?(he(),xe("div",ba,[Q("div",wa,[Q("div",Ea,[Pe(ht(ua),{value:p.value,options:g.value,tag:"svg",class:"qr-code"},null,8,["value","options"]),k[2]||(k[2]=Q("div",null," Пора решать загадку ",-1))])])])):(he(),xe("div",Ca,[(he(!0),xe(Ne,null,Qn(c.value.actions,S=>{var N;return he(),xe("div",{key:S.id},[Q("div",Sa,[Q("div",Ra,[bn(Ue(S.place)+": "+Ue(S.name)+" ",1),Q("span",{class:"collapse-icon",onClick:x=>S.isOpen=!S.isOpen,style:{float:"right"}},Ue(S.isOpen?"−":"+"),9,Pa)]),Pn(Q("div",null,[k[3]||(k[3]=Q("hr",{class:"hr"},null,-1)),Q("div",Aa,[S.image.length?(he(),xe("div",Ta,[Q("img",{src:S.image,class:"message-image"},null,8,xa)])):tr("",!0),bn(Ue(S.text),1)]),(N=S.buttons)!=null&&N.length?(he(),xe("hr",Ia)):tr("",!0),(he(!0),xe(Ne,null,Qn(S.buttons,x=>(he(),xe("button",{key:x.code,class:"button-dialog",onClick:F=>U(x.code),disabled:u.value!=="RUN"||!x.show},Ue(x.name),9,Ma))),128)),S.applications.length?(he(),xe("hr",Na)):tr("",!0),(he(!0),xe(Ne,null,Qn(S.applications,x=>(he(),xe("div",{class:"message-footer",key:x.name}," Приложение: "+Ue(x.name),1))),128))],512),[[au,S.isOpen]])])])}),128))]))])],512)]))}}),Ba=ys(Oa,[["__scopeId","data-v-127d6c85"]]),La=vt({__name:"HomeView",setup(e){return(t,n)=>(he(),jn(Ba))}}),Da={class:"center-message"},Fa={class:"button-container"},Ua={class:"button-custom",type:"submit"},ka={class:"error-message"},$a=vt({__name:"LoginWindow",setup(e){const t=dl(),n=pe(""),r=pe(""),s=pe("Вход"),o=pe("");function i(){const c=s.value;s.value="Загрузка...",o.value="",fetch(En("/team"),{method:"GET",headers:{"X-Id":Gr(n.value),"X-Password":r.value}}).then(l=>{if(l.status==200){sessionStorage.setItem("teamId",n.value),sessionStorage.setItem("password",r.value),t.push("/");return}if(l.status==401){if(n.value==""&&r.value=="")return;o.value="Не верны название команды или пароль";return}o.value="ХЗ что это "+l}).catch(()=>{o.value="Сервер не доступен"}).finally(()=>{s.value=c})}return as(()=>{n.value=sessionStorage.getItem("teamId")||"",r.value=sessionStorage.getItem("password")||"",i()}),(c,l)=>(he(),xe(Ne,null,[l[2]||(l[2]=Q("div",{class:"header-block"}," Вечерний детектив ",-1)),Q("div",Da,[Q("form",{onSubmit:Xi(i,["prevent"])},[Q("div",null,[Pn(Q("input",{class:"input-custom","onUpdate:modelValue":l[0]||(l[0]=f=>n.value=f),type:"text",placeholder:"Название команды"},null,512),[[qr,n.value]])]),Q("div",null,[Pn(Q("input",{class:"input-custom","onUpdate:modelValue":l[1]||(l[1]=f=>r.value=f),type:"text",placeholder:"Пароль",autocapitalize:"off"},null,512),[[qr,r.value]])]),Q("div",Fa,[Q("button",Ua,Ue(s.value),1)]),Q("div",ka,Ue(o.value),1)],32)])],64))}}),Ha=ys($a,[["__scopeId","data-v-13746d20"]]),ja=vt({__name:"LoginView",setup(e){return(t,n)=>(he(),jn(Ha))}}),Va=Df({history:df("/"),routes:[{path:"/",name:"home",component:La},{path:"/login",name:"login",component:ja}]}),_s=Iu($f);_s.use(Bu());_s.use(Va);_s.mount("#app"); diff --git a/cmd/evening_detective/static/user/index.html b/cmd/evening_detective/static/user/index.html index b1dfce2..36215cd 100644 --- a/cmd/evening_detective/static/user/index.html +++ b/cmd/evening_detective/static/user/index.html @@ -5,8 +5,8 @@ Вечерний детектив - - + +
diff --git a/internal/config/config.go b/internal/config/config.go index 79c5dc1..c9df866 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -8,6 +8,7 @@ import ( const ( ClientPort = ":8100" + FilePort = ":8120" ) func GetStoryFilepath() string { @@ -30,6 +31,18 @@ func GetHost() string { return "http://" + ips[0] + ClientPort } +func GetFileHost() string { + host := os.Getenv("FILE_HOST") + if host != "" { + return host + } + ips, err := getLocalIPs() + if err != nil || len(ips) == 0 { + return "http://127.0.0.1" + FilePort + } + return "http://" + ips[0] + FilePort +} + func getFilepath(env string, defaultFilepath string) string { filepath := selectFilepath(env, defaultFilepath) ensureDirExists(filepath) diff --git a/internal/services/link/interface.go b/internal/services/link/interface.go index f5185b7..7c5ccb9 100644 --- a/internal/services/link/interface.go +++ b/internal/services/link/interface.go @@ -1,5 +1,6 @@ package link type ILinkService interface { - GetTeamClientLink(host string, name string, password string) string + GetTeamClientLink(name string, password string) string + GetImageLink(name string) string } diff --git a/internal/services/link/service.go b/internal/services/link/service.go index 172d840..bcdad95 100644 --- a/internal/services/link/service.go +++ b/internal/services/link/service.go @@ -5,12 +5,20 @@ import ( "net/url" ) -type service struct{} - -func NewLinkService() ILinkService { - return &service{} +type service struct { + host string } -func (s *service) GetTeamClientLink(host string, name string, password string) string { - return fmt.Sprintf("%s?name=%s&password=%s", host, url.PathEscape(name), password) +func NewLinkService(host string) ILinkService { + return &service{ + host: host, + } +} + +func (s *service) GetTeamClientLink(name string, password string) string { + return fmt.Sprintf("%s?name=%s&password=%s", s.host, url.PathEscape(name), password) +} + +func (s *service) GetImageLink(name string) string { + return fmt.Sprintf("%s/%s", s.host, name) } diff --git a/internal/services/services.go b/internal/services/services.go index 0a6c203..0a4ae6e 100644 --- a/internal/services/services.go +++ b/internal/services/services.go @@ -25,7 +25,6 @@ type Services struct { linkService link.ILinkService passwordGenerator password.IPasswordGenerator pdfGenerator pdf.IPDFGenerator - clientHost string } func NewServices( @@ -34,7 +33,6 @@ func NewServices( linkService link.ILinkService, passwordGenerator password.IPasswordGenerator, pdfGenerator pdf.IPDFGenerator, - clientHost string, ) *Services { return &Services{ dbService: dbService, @@ -42,7 +40,6 @@ func NewServices( linkService: linkService, passwordGenerator: passwordGenerator, pdfGenerator: pdfGenerator, - clientHost: clientHost, } } @@ -141,8 +138,9 @@ func (s *Services) GetTeam(ctx context.Context, req *proto.GetTeamReq) (*proto.G res := make([]*proto.Action, 0, len(actions)) for _, place := range s.storyService.GetPlaces(actionsCodes) { newAction := mapPlaceToProtoAction(place) - newAction.Text = place.Text newAction.Name = place.Name + newAction.Text = place.Text + newAction.Image = place.Image newAction.Applications = make([]*proto.Application, 0, len(place.Applications)) for _, application := range place.Applications { newAction.Applications = append(newAction.Applications, mapStoryApplicationToProtoApplication(application)) @@ -176,7 +174,7 @@ func (s *Services) GetTeams(ctx context.Context, _ *proto.GetTeamsReq) (*proto.G if err != nil { return nil, err } - newTeam.Url = s.linkService.GetTeamClientLink(s.clientHost, team.Name, team.Password) + newTeam.Url = s.linkService.GetTeamClientLink(team.Name, team.Password) newTeam.SpendTime = int64(len(actions)) currentApplications, err := s.dbService.GetApplicationsByState(ctx, team.ID, "NEW") if err != nil { @@ -214,7 +212,7 @@ func (s *Services) DownloadTeamsQrCodesFile(ctx context.Context, req *proto.Down return nil, err } for _, team := range teams { - team.Link = s.linkService.GetTeamClientLink(s.clientHost, team.Name, team.Password) + team.Link = s.linkService.GetTeamClientLink(team.Name, team.Password) } b, err := s.pdfGenerator.CreateTeamsPDF(teams) if err != nil { diff --git a/internal/services/story_service/service.go b/internal/services/story_service/service.go index c37bf4d..3068260 100644 --- a/internal/services/story_service/service.go +++ b/internal/services/story_service/service.go @@ -4,6 +4,7 @@ import ( "context" "evening_detective/internal/modules/cleaner" "evening_detective/internal/modules/formatter" + "evening_detective/internal/services/link" "evening_detective/internal/services/story_service/models" "regexp" "strings" @@ -14,17 +15,20 @@ type StoryService struct { formatter formatter.IFormatter story *models.Story storyStorage IStoryStorage + linkService link.ILinkService } func NewStoryService( cleaner cleaner.ICleaner, formatter formatter.IFormatter, storyStorage IStoryStorage, + linkService link.ILinkService, ) (*StoryService, error) { s := &StoryService{ cleaner: cleaner, formatter: formatter, storyStorage: storyStorage, + linkService: linkService, } story, err := s.storyStorage.Load(context.Background()) if err != nil { @@ -77,7 +81,7 @@ func (s *StoryService) GetPlace(code string) *models.Place { place.Code, place.Name, s.cleaner.ClearText(place.Text), - models.WithPlaceImage(place.Image), + models.WithPlaceImage(s.linkService.GetImageLink(place.Image)), models.WithPlaceApplication(applications...), models.WithPlaceHidden(place.Hidden), models.WithPlaceDoors(doors...), diff --git a/internal/services/story_service/service_test.go b/internal/services/story_service/service_test.go index 2afe2a3..34682fe 100644 --- a/internal/services/story_service/service_test.go +++ b/internal/services/story_service/service_test.go @@ -3,6 +3,7 @@ package story_service_test import ( "evening_detective/internal/modules/cleaner" "evening_detective/internal/modules/formatter" + "evening_detective/internal/services/link" "evening_detective/internal/services/story_service" "evening_detective/internal/services/story_service/models" "evening_detective/internal/services/story_storage" @@ -147,6 +148,7 @@ func TestStoryService_GetPlace(t *testing.T) { cleaner.NewCleaner(), formatter.NewFormatter(), story_storage.NewVarStoryStorage(tt.story), + link.NewLinkService("http://localhost:8120"), ) if err != nil { t.Fatalf("could not construct receiver type: %v", err) @@ -461,6 +463,7 @@ func TestStoryService_GetPlaces(t *testing.T) { cleaner.NewCleaner(), formatter.NewFormatter(), story_storage.NewVarStoryStorage(tt.story), + link.NewLinkService("http://localhost:8120"), ) assert.Nil(t, err)