diff --git a/internal/services/story_service/service.go b/internal/services/story_service/service.go index a6aaccc..3f3eb96 100644 --- a/internal/services/story_service/service.go +++ b/internal/services/story_service/service.go @@ -71,6 +71,7 @@ func (s *StoryService) GetPlace(code string) *Place { func clearCode(code string) string { code = strings.ToLower(code) + code = strings.TrimSpace(code) code = strings.ReplaceAll(code, "-", "") for latin, cyrillic := range replaceMap { code = strings.ReplaceAll(code, latin, cyrillic) diff --git a/static/admin/assets/AboutView-fi4KgNfo.js b/static/admin/assets/AboutView-CfidTnm_.js similarity index 72% rename from static/admin/assets/AboutView-fi4KgNfo.js rename to static/admin/assets/AboutView-CfidTnm_.js index bc5f5af..75815a6 100644 --- a/static/admin/assets/AboutView-fi4KgNfo.js +++ b/static/admin/assets/AboutView-CfidTnm_.js @@ -1 +1 @@ -import{_ as o,c as s,a as t,o as a}from"./index-D6xztpmF.js";const n={},c={class:"about"};function r(_,e){return a(),s("div",c,e[0]||(e[0]=[t("h1",null,"This is an about page",-1)]))}const l=o(n,[["render",r]]);export{l as default}; +import{_ as o,c as s,a as t,o as a}from"./index-CdxbIVaR.js";const n={},c={class:"about"};function r(_,e){return a(),s("div",c,e[0]||(e[0]=[t("h1",null,"This is an about page",-1)]))}const l=o(n,[["render",r]]);export{l as default}; diff --git a/static/admin/assets/index-kteZgO2L.css b/static/admin/assets/index-C3dpn_mY.css similarity index 73% rename from static/admin/assets/index-kteZgO2L.css rename to static/admin/assets/index-C3dpn_mY.css index 314e312..ef2ad9a 100644 --- a/static/admin/assets/index-kteZgO2L.css +++ b/static/admin/assets/index-C3dpn_mY.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(136, 105, 31);--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:50px;background-color:var(--main-color);font-size:large;color:#fff;vertical-align:middle;padding:10px 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(--second-color)}.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-e5db0c22]{line-height:1.5;max-height:100vh}.logo[data-v-e5db0c22]{display:block;margin:0 auto 2rem}nav[data-v-e5db0c22]{width:100%;font-size:12px;text-align:center;margin-top:2rem}nav a.router-link-exact-active[data-v-e5db0c22]{color:var(--color-text)}nav a.router-link-exact-active[data-v-e5db0c22]:hover{background-color:transparent}nav a[data-v-e5db0c22]{display:inline-block;padding:0 1rem;border-left:1px solid var(--color-border)}nav a[data-v-e5db0c22]:first-of-type{border:0}@media (min-width: 1024px){header[data-v-e5db0c22]{display:flex;place-items:center;padding-right:calc(var(--section-gap) / 2)}.logo[data-v-e5db0c22]{margin:0 2rem 0 0}header .wrapper[data-v-e5db0c22]{display:flex;place-items:flex-start;flex-wrap:wrap}nav[data-v-e5db0c22]{text-align:left;margin-left:-1rem;font-size:1rem;padding:1rem 0;margin-top:1rem}}body[data-v-c09bd2b8]{font-family:Arial,sans-serif;margin:20px}.buttons-block[data-v-c09bd2b8]{padding-top:20px}.button-menu[data-v-c09bd2b8]{margin:5px}table[data-v-c09bd2b8]{width:700px;border-collapse:collapse;margin:30px auto;border:1px solid #444444}th[data-v-c09bd2b8],td[data-v-c09bd2b8]{padding:12px;text-align:left}th[data-v-c09bd2b8]{background-color:var(--main-color);color:#fff;font-weight:700}tr[data-v-c09bd2b8]:nth-child(odd){background-color:#efefef}tr[data-v-c09bd2b8]:nth-child(2n){background-color:#fff}tr[data-v-c09bd2b8]:hover{background-color:#cfcfcf}.time[data-v-c09bd2b8]{white-space:nowrap}.team-name[data-v-c09bd2b8]{font-weight:600}.link-button[data-v-c09bd2b8]{display:inline;border:none;background:none;padding:0;margin:0;font:inherit;cursor:pointer;color:var(--main-color);text-decoration:underline;font-weight:600;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:inherit;text-align:left}.link-button[data-v-c09bd2b8]:hover{color:var(--second-color);text-decoration:none}.link-button[data-v-c09bd2b8]:active{color:#036}.link-button[data-v-c09bd2b8]:focus{outline:none;text-decoration:none;box-shadow:0 0 0 2px #0066cc4d}.form-block[data-v-c09bd2b8]{width:700px;margin:0 auto}a[data-v-c09bd2b8]{color:var(--second-color);text-decoration:none;transition:all .2s ease;cursor:pointer}a[data-v-c09bd2b8]:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}a[data-v-c09bd2b8]:focus-visible{outline:2px solid #3182ce;outline-offset:2px;border-radius:2px}a[disabled][data-v-c09bd2b8]{color:#a0aec0;pointer-events:none;cursor:not-allowed}.qr[data-v-c09bd2b8]{position:absolute;top:80px;right:30px;text-align:center;width:120px}.button-container[data-v-c09bd2b8]{margin-bottom:30px} +: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(136, 105, 31);--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:50px;background-color:var(--main-color);font-size:large;color:#fff;vertical-align:middle;padding:10px 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(--second-color)}.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-e5db0c22]{line-height:1.5;max-height:100vh}.logo[data-v-e5db0c22]{display:block;margin:0 auto 2rem}nav[data-v-e5db0c22]{width:100%;font-size:12px;text-align:center;margin-top:2rem}nav a.router-link-exact-active[data-v-e5db0c22]{color:var(--color-text)}nav a.router-link-exact-active[data-v-e5db0c22]:hover{background-color:transparent}nav a[data-v-e5db0c22]{display:inline-block;padding:0 1rem;border-left:1px solid var(--color-border)}nav a[data-v-e5db0c22]:first-of-type{border:0}@media (min-width: 1024px){header[data-v-e5db0c22]{display:flex;place-items:center;padding-right:calc(var(--section-gap) / 2)}.logo[data-v-e5db0c22]{margin:0 2rem 0 0}header .wrapper[data-v-e5db0c22]{display:flex;place-items:flex-start;flex-wrap:wrap}nav[data-v-e5db0c22]{text-align:left;margin-left:-1rem;font-size:1rem;padding:1rem 0;margin-top:1rem}}body[data-v-8c48c65f]{font-family:Arial,sans-serif;margin:20px}.buttons-block[data-v-8c48c65f]{padding-top:20px}.button-menu[data-v-8c48c65f]{margin:5px}table[data-v-8c48c65f]{width:700px;border-collapse:collapse;margin:30px auto;border:1px solid #444444}th[data-v-8c48c65f],td[data-v-8c48c65f]{padding:12px;text-align:left}th[data-v-8c48c65f]{background-color:var(--main-color);color:#fff;font-weight:700}tr[data-v-8c48c65f]:nth-child(odd){background-color:#efefef}tr[data-v-8c48c65f]:nth-child(2n){background-color:#fff}tr[data-v-8c48c65f]:hover{background-color:#cfcfcf}.time[data-v-8c48c65f]{white-space:nowrap}.team-name[data-v-8c48c65f]{font-weight:600}.link-button[data-v-8c48c65f]{display:inline;border:none;background:none;padding:0;margin:0;font:inherit;cursor:pointer;color:var(--main-color);text-decoration:underline;font-weight:600;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:inherit;text-align:left}.link-button[data-v-8c48c65f]:hover{color:var(--second-color);text-decoration:none}.link-button[data-v-8c48c65f]:active{color:#036}.link-button[data-v-8c48c65f]:focus{outline:none;text-decoration:none;box-shadow:0 0 0 2px #0066cc4d}.form-block[data-v-8c48c65f]{width:700px;margin:0 auto}a[data-v-8c48c65f]{color:var(--second-color);text-decoration:none;transition:all .2s ease;cursor:pointer}a[data-v-8c48c65f]:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}a[data-v-8c48c65f]:focus-visible{outline:2px solid #3182ce;outline-offset:2px;border-radius:2px}a[disabled][data-v-8c48c65f]{color:#a0aec0;pointer-events:none;cursor:not-allowed}.qr[data-v-8c48c65f]{position:absolute;top:80px;right:30px;text-align:center;width:120px}.button-container[data-v-8c48c65f]{margin-bottom:30px} diff --git a/static/admin/assets/index-D6xztpmF.js b/static/admin/assets/index-CdxbIVaR.js similarity index 98% rename from static/admin/assets/index-D6xztpmF.js rename to static/admin/assets/index-CdxbIVaR.js index 21071d3..dcf205a 100644 --- a/static/admin/assets/index-D6xztpmF.js +++ b/static/admin/assets/index-CdxbIVaR.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AboutView-fi4KgNfo.js","assets/AboutView-CSIvawM9.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AboutView-CfidTnm_.js","assets/AboutView-CSIvawM9.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors @@ -30,4 +30,4 @@ Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),r.put(o,13)}},_r=n,_ The chosen QR Code version cannot contain this amount of data. Minimum version required to store current data is: `+$+`. `);const q=P(L,H,j),k=e.getSymbolSize(L),W=new r(k);return g(W,L),y(W),v(W,L),R(W,H,0),L>=7&&N(W,L),S(W,q),isNaN(F)&&(F=i.getBestMask(W,R.bind(null,W,H))),i.applyMask(F,W),R(W,H,F),{modules:W,version:L,errorCorrectionLevel:H,maskPattern:F,segments:j}}return tr.create=function(L,H){if(typeof L>"u"||L==="")throw new Error("No input text");let F=t.M,j,$;return typeof H<"u"&&(F=t.from(H.errorCorrectionLevel,t.M),j=f.from(H.version),$=i.from(H.maskPattern),H.toSJISFunc&&e.setToSJISFunction(H.toSJISFunc)),z(L,j,F,$)},tr}var vr={},wr={},Io;function ul(){return Io||(Io=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,l=s.modules.data,c=e.getScale(i,o),f=Math.floor((i+o.margin*2)*c),u=o.margin*c,a=[o.color.light,o.color.dark];for(let p=0;p=u&&g>=u&&p"u"&&(!i||!i.getContext)&&(c=i,i=void 0),i||(f=r()),c=t.getOptions(c);const u=t.getImageWidth(o.modules.size,c),a=f.getContext("2d"),p=a.createImageData(u,u);return t.qrToImageData(p.data,o,c),n(a,f,u),a.putImageData(p,0,0),f},e.renderToDataURL=function(o,i,l){let c=l;typeof c>"u"&&(!i||!i.getContext)&&(c=i,i=void 0),c||(c={});const f=e.render(o,i,c),u=c.type||"image/png",a=c.rendererOpts||{};return f.toDataURL(u,a.quality)}}(vr)),vr}var Er={},No;function oa(){if(No)return Er;No=1;const e=ul();function t(s,o){const i=s.a/255,l=o+'="'+s.hex+'"';return i<1?l+" "+o+'-opacity="'+i.toFixed(2).slice(1)+'"':l}function n(s,o,i){let l=s+o;return typeof i<"u"&&(l+=" "+i),l}function r(s,o,i){let l="",c=0,f=!1,u=0;for(let a=0;a0&&p>0&&s[a-1]||(l+=f?n("M",p+i,.5+g+i):n("m",c,0),c=0,f=!1),p+1':"",g="',y='viewBox="0 0 '+a+" "+a+'"',N=''+p+g+` -`;return typeof l=="function"&&l(null,N),N},Er}var Oo;function ia(){if(Oo)return At;Oo=1;const e=Hf(),t=ra(),n=sa(),r=oa();function s(o,i,l,c,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=l,l=i,i=c=void 0):a===3&&(i.getContext&&typeof f>"u"?(f=c,c=void 0):(f=c,c=l,l=i,i=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(l=i,i=c=void 0):a===2&&!i.getContext&&(c=l,l=i,i=void 0),new Promise(function(g,y){try{const v=t.create(l,c);g(o(v,i,c))}catch(v){y(v)}})}try{const g=t.create(l,c);f(null,o(g,i,c))}catch(g){f(g)}}return At.create=t.create,At.toCanvas=s.bind(null,n.render),At.toDataURL=s.bind(null,n.renderToDataURL),At.toString=s.bind(null,function(o,i,l){return r.render(o,l)}),At}var Cr=ia();/*! vue-qrcode v2.0.0 | (c) 2018-present Chen Fengyuan | MIT */const Bo="ready";var la=kt({name:"VueQrcode",props:{value:{type:String,default:void 0},options:{type:Object,default:void 0},tag:{type:String,default:"canvas"}},emits:[Bo],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(Bo,this.$el)};switch(this.tag){case"canvas":Cr.toCanvas(this.$el,t,e,r=>{if(r)throw r;n()});break;case"img":Cr.toDataURL(t,e,(r,s)=>{if(r)throw r;this.$el.src=s,this.$el.onload=n});break;case"svg":Cr.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:l,childNodes:c}=i;Object.keys(l).forEach(f=>{const u=l[Number(f)];this.$el.setAttribute(u.name,u.value)}),Object.keys(c).forEach(f=>{const u=c[Number(f)];this.$el.appendChild(u.cloneNode(!0))}),n()}});break}}},render(){return rs(this.tag,this.$slots.default)}});const ca={class:"header-block"},ua={class:"qr"},fa={class:"table-custom"},aa={class:"team-name"},da=["href"],ha=["onClick"],pa=["onClick"],ga={class:"form-custom form-block"},ma={class:"center-block-custom"},ya=kt({__name:"AdminWindow",setup(e){const t=ot("-"),n=ot("-"),r=ot(""),s=ot({teams:[]});function o(){fetch(Pt("/teams")).then(y=>y.json()).then(y=>{s.value=y}).catch(y=>{console.error("Ошибка:",y)})}function i(y,v){fetch(Pt("/teams/"+y+"/applications"),{method:"POST",body:JSON.stringify({applications:[{id:v}]})}).then(()=>{}).catch(N=>{console.error("Ошибка:",N)})}const l=ot("");function c(){fetch(Pt("/teams"),{method:"POST",body:JSON.stringify({teams:[{name:l.value}]})}).then(()=>{l.value=""}).catch(y=>{console.error("Ошибка:",y)})}const f=ot({width:100,margin:1,color:{dark:"#000000",light:"f0f0f0"}});function u(){fetch(Pt("/game")).then(y=>y.json()).then(y=>{y.state==="NEW"&&(r.value="Игра ещё не началась"),y.state==="RUN"&&(r.value="Игра идет"),y.state==="STOP"&&(r.value="Игра остановлена")}).catch(y=>{console.error("Ошибка:",y)})}function a(){r.value="Загрузка...",fetch(Pt("/game/start"),{method:"POST"}).catch(y=>{console.error("Ошибка:",y)})}function p(){r.value="Загрузка...",fetch(Pt("/game/stop"),{method:"POST"}).catch(y=>{console.error("Ошибка:",y)})}let g=0;return bi(()=>{o(),g=setInterval(()=>{o(),u()},2e3),fl.beforeEach((y,v,N)=>{clearInterval(g),N()})}),(y,v)=>(bt(),jt(Me,null,[Z("div",ca," Вечерний детектив - "+yt(r.value),1),Z("div",ua,[xe(ft(la),{value:t.value,options:f.value,tag:"svg",class:"qr-code"},null,8,["value","options"]),Z("div",null,yt(n.value),1)]),Z("div",{class:"form-block buttons-block"},[Z("a",{onClick:a,class:"button-menu"},"Начать"),Z("a",{onClick:p,class:"button-menu"},"Остановить")]),Z("table",fa,[v[1]||(v[1]=Z("thead",null,[Z("tr",null,[Z("th",null,"№"),Z("th",null,"Название команды"),Z("th",null,"Время мин."),Z("th",null,"Приложения"),Z("th",null,"Действия")])],-1)),Z("tbody",null,[(bt(!0),jt(Me,null,ps(s.value.teams,(N,R)=>(bt(),jt("tr",{key:N.name},[Z("td",null,yt(R+1),1),Z("td",aa,[Br(yt(N.name)+" ",1),Z("a",{href:N.url,target:"_blank"},"[url]",8,da)]),Z("td",null,yt(N.spendTime),1),Z("td",null,[(bt(!0),jt(Me,null,ps(N.applications,S=>(bt(),jt("div",{key:S.id},[Br(yt(S.name)+" ",1),Z("button",{class:"link-button",onClick:P=>i(N.id,S.id)},"Выдано",8,ha)]))),128))]),Z("td",null,[Z("a",{onClick:S=>(t.value=N.url,n.value=N.name)},"QR",8,pa)])]))),128))])]),Z("div",ga,[Z("div",ma,[Z("form",{onSubmit:Su(c,["prevent"])},[Z("div",null,[Zl(Z("input",{class:"input-custom","onUpdate:modelValue":v[0]||(v[0]=N=>l.value=N),type:"text",placeholder:"Название команды"},null,512),[[wu,l.value]])]),v[2]||(v[2]=Z("div",{class:"button-container"},[Z("button",{class:"button-custom",type:"submit"},"Добавить")],-1))],32)])])],64))}}),_a=ol(ya,[["__scopeId","data-v-c09bd2b8"]]),ba=kt({__name:"HomeView",setup(e){return(t,n)=>(bt(),Hi(_a))}}),fl=Of({history:uf("/"),routes:[{path:"/",name:"home",component:ba},{path:"/about",name:"about",component:()=>kf(()=>import("./AboutView-fi4KgNfo.js"),__vite__mapDeps([0,1]))}]}),ls=Au(Df);ls.use(Mu());ls.use(fl);ls.mount("#app");export{ol as _,Z as a,jt as c,bt as o}; +`;return typeof l=="function"&&l(null,N),N},Er}var Oo;function ia(){if(Oo)return At;Oo=1;const e=Hf(),t=ra(),n=sa(),r=oa();function s(o,i,l,c,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=l,l=i,i=c=void 0):a===3&&(i.getContext&&typeof f>"u"?(f=c,c=void 0):(f=c,c=l,l=i,i=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(l=i,i=c=void 0):a===2&&!i.getContext&&(c=l,l=i,i=void 0),new Promise(function(g,y){try{const v=t.create(l,c);g(o(v,i,c))}catch(v){y(v)}})}try{const g=t.create(l,c);f(null,o(g,i,c))}catch(g){f(g)}}return At.create=t.create,At.toCanvas=s.bind(null,n.render),At.toDataURL=s.bind(null,n.renderToDataURL),At.toString=s.bind(null,function(o,i,l){return r.render(o,l)}),At}var Cr=ia();/*! vue-qrcode v2.0.0 | (c) 2018-present Chen Fengyuan | MIT */const Bo="ready";var la=kt({name:"VueQrcode",props:{value:{type:String,default:void 0},options:{type:Object,default:void 0},tag:{type:String,default:"canvas"}},emits:[Bo],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(Bo,this.$el)};switch(this.tag){case"canvas":Cr.toCanvas(this.$el,t,e,r=>{if(r)throw r;n()});break;case"img":Cr.toDataURL(t,e,(r,s)=>{if(r)throw r;this.$el.src=s,this.$el.onload=n});break;case"svg":Cr.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:l,childNodes:c}=i;Object.keys(l).forEach(f=>{const u=l[Number(f)];this.$el.setAttribute(u.name,u.value)}),Object.keys(c).forEach(f=>{const u=c[Number(f)];this.$el.appendChild(u.cloneNode(!0))}),n()}});break}}},render(){return rs(this.tag,this.$slots.default)}});const ca={class:"header-block"},ua={class:"qr"},fa={class:"table-custom"},aa={class:"team-name"},da=["href"],ha=["onClick"],pa=["onClick"],ga={class:"form-custom form-block"},ma={class:"center-block-custom"},ya=kt({__name:"AdminWindow",setup(e){const t=ot("-"),n=ot("-"),r=ot(""),s=ot({teams:[]});function o(){fetch(Pt("/teams")).then(y=>y.json()).then(y=>{s.value=y}).catch(y=>{console.error("Ошибка:",y)})}function i(y,v){fetch(Pt("/teams/"+y+"/applications"),{method:"POST",body:JSON.stringify({applications:[{id:v}]})}).then(()=>{}).catch(N=>{console.error("Ошибка:",N)})}const l=ot("");function c(){fetch(Pt("/teams"),{method:"POST",body:JSON.stringify({teams:[{name:l.value}]})}).then(()=>{l.value=""}).catch(y=>{console.error("Ошибка:",y)})}const f=ot({width:100,margin:1,color:{dark:"#000000",light:"f0f0f0"}});function u(){fetch(Pt("/game")).then(y=>y.json()).then(y=>{y.state==="NEW"&&(r.value="Игра ещё не началась"),y.state==="RUN"&&(r.value="Игра идет"),y.state==="STOP"&&(r.value="Игра остановлена")}).catch(y=>{console.error("Ошибка:",y)})}function a(){r.value="Загрузка...",fetch(Pt("/game/start"),{method:"POST"}).catch(y=>{console.error("Ошибка:",y)})}function p(){r.value="Загрузка...",fetch(Pt("/game/stop"),{method:"POST"}).catch(y=>{console.error("Ошибка:",y)})}let g=0;return bi(()=>{o(),g=setInterval(()=>{o(),u()},2e3),fl.beforeEach((y,v,N)=>{clearInterval(g),N()})}),(y,v)=>(bt(),jt(Me,null,[Z("div",ca," Вечерний детектив - "+yt(r.value),1),Z("div",ua,[xe(ft(la),{value:t.value,options:f.value,tag:"svg",class:"qr-code"},null,8,["value","options"]),Z("div",null,yt(n.value),1)]),Z("div",{class:"form-block buttons-block"},[Z("a",{onClick:a,class:"button-menu"},"Начать"),Z("a",{onClick:p,class:"button-menu"},"Остановить")]),Z("table",fa,[v[1]||(v[1]=Z("thead",null,[Z("tr",null,[Z("th",null,"№"),Z("th",null,"Название команды"),Z("th",null,"Поездки"),Z("th",null,"Приложения"),Z("th",null,"Действия")])],-1)),Z("tbody",null,[(bt(!0),jt(Me,null,ps(s.value.teams,(N,R)=>(bt(),jt("tr",{key:N.name},[Z("td",null,yt(R+1),1),Z("td",aa,[Br(yt(N.name)+" ",1),Z("a",{href:N.url,target:"_blank"},"[url]",8,da)]),Z("td",null,yt(N.spendTime),1),Z("td",null,[(bt(!0),jt(Me,null,ps(N.applications,S=>(bt(),jt("div",{key:S.id},[Br(yt(S.name)+" ",1),Z("button",{class:"link-button",onClick:P=>i(N.id,S.id)},"Выдано",8,ha)]))),128))]),Z("td",null,[Z("a",{onClick:S=>(t.value=N.url,n.value=N.name)},"QR",8,pa)])]))),128))])]),Z("div",ga,[Z("div",ma,[Z("form",{onSubmit:Su(c,["prevent"])},[Z("div",null,[Zl(Z("input",{class:"input-custom","onUpdate:modelValue":v[0]||(v[0]=N=>l.value=N),type:"text",placeholder:"Название команды"},null,512),[[wu,l.value]])]),v[2]||(v[2]=Z("div",{class:"button-container"},[Z("button",{class:"button-custom",type:"submit"},"Добавить")],-1))],32)])])],64))}}),_a=ol(ya,[["__scopeId","data-v-8c48c65f"]]),ba=kt({__name:"HomeView",setup(e){return(t,n)=>(bt(),Hi(_a))}}),fl=Of({history:uf("/"),routes:[{path:"/",name:"home",component:ba},{path:"/about",name:"about",component:()=>kf(()=>import("./AboutView-CfidTnm_.js"),__vite__mapDeps([0,1]))}]}),ls=Au(Df);ls.use(Mu());ls.use(fl);ls.mount("#app");export{ol as _,Z as a,jt as c,bt as o}; diff --git a/static/admin/index.html b/static/admin/index.html index d1c395b..20214ee 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -5,8 +5,8 @@ ВД Админка - - + +
diff --git a/static/user/.DS_Store b/static/user/.DS_Store deleted file mode 100644 index 86c746c..0000000 Binary files a/static/user/.DS_Store and /dev/null differ diff --git a/static/user/assets/AboutView-QKow2O0u.js b/static/user/assets/AboutView-Bka3SLpW.js similarity index 72% rename from static/user/assets/AboutView-QKow2O0u.js rename to static/user/assets/AboutView-Bka3SLpW.js index 48a8ff9..c1f323d 100644 --- a/static/user/assets/AboutView-QKow2O0u.js +++ b/static/user/assets/AboutView-Bka3SLpW.js @@ -1 +1 @@ -import{_ as o,c as s,a as t,o as a}from"./index-26SZfl8b.js";const n={},c={class:"about"};function r(_,e){return a(),s("div",c,e[0]||(e[0]=[t("h1",null,"This is an about page",-1)]))}const l=o(n,[["render",r]]);export{l as default}; +import{_ as o,c as s,a as t,o as a}from"./index-CvMfxbnk.js";const n={},c={class:"about"};function r(_,e){return a(),s("div",c,e[0]||(e[0]=[t("h1",null,"This is an about page",-1)]))}const l=o(n,[["render",r]]);export{l as default}; diff --git a/static/user/assets/index-CUBaWbUl.css b/static/user/assets/index-4RELVI5s.css similarity index 78% rename from static/user/assets/index-CUBaWbUl.css rename to static/user/assets/index-4RELVI5s.css index e5d9f07..f4928f1 100644 --- a/static/user/assets/index-CUBaWbUl.css +++ b/static/user/assets/index-4RELVI5s.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(136, 105, 31);--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}.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-4c98eada]{overflow:hidden}.hr[data-v-4c98eada]{margin:7px 0}.body-custom[data-v-4c98eada]{font-size:medium}.info-custom[data-v-4c98eada]{padding-left:15px}.logo[data-v-4c98eada]{float:left;margin:10px}.second-color[data-v-4c98eada]{color:var(--second-color)}.form-custom[data-v-4c98eada]{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-4c98eada]{border:1px solid #444444;border-radius:15px;margin:12px 2px;padding:16px;background-color:var(--main-back-item-color)}.message-header[data-v-4c98eada]{font-size:large;font-weight:200}.message-content[data-v-4c98eada]{font-weight:500;white-space:pre-line}.message-footer[data-v-4c98eada]{font-weight:400;color:var(--second-color)}.form-block[data-v-4c98eada]{height:140px}.messages-block[data-v-4c98eada]{height:calc(100dvh - 200px);overflow-y:auto;scrollbar-width:none}@media (min-width: 1025px){.center-block-custom[data-v-4c98eada]{width:700px;margin:0 auto}}.center-message[data-v-4c98eada]{height:calc(100dvh - 140px)}.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(136, 105, 31);--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}.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-b046e79d]{overflow:hidden}.hr[data-v-b046e79d]{margin:7px 0}.body-custom[data-v-b046e79d]{font-size:medium}.info-custom[data-v-b046e79d]{padding-left:15px}.logo[data-v-b046e79d]{float:left;margin:10px}.second-color[data-v-b046e79d]{color:var(--second-color)}.form-custom[data-v-b046e79d]{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-b046e79d]{border:1px solid #444444;border-radius:15px;margin:12px 2px;padding:16px;background-color:var(--main-back-item-color)}.message-header[data-v-b046e79d]{font-size:large;font-weight:200}.message-content[data-v-b046e79d]{font-weight:500;white-space:pre-line}.message-footer[data-v-b046e79d]{font-weight:400;color:var(--second-color)}.form-block[data-v-b046e79d]{height:140px}.messages-block[data-v-b046e79d]{height:calc(100dvh - 200px);overflow-y:auto;scrollbar-width:none}@media (min-width: 1025px){.center-block-custom[data-v-b046e79d]{width:700px;margin:0 auto}}.center-message[data-v-b046e79d]{height:calc(100dvh - 140px)}.error-message[data-v-13746d20]{color:brown;margin:16px 0} diff --git a/static/user/assets/index-26SZfl8b.js b/static/user/assets/index-CvMfxbnk.js similarity index 88% rename from static/user/assets/index-26SZfl8b.js rename to static/user/assets/index-CvMfxbnk.js index dedfbf1..4e01c82 100644 --- a/static/user/assets/index-26SZfl8b.js +++ b/static/user/assets/index-CvMfxbnk.js @@ -1,21 +1,21 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AboutView-QKow2O0u.js","assets/AboutView-CSIvawM9.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AboutView-Bka3SLpW.js","assets/AboutView-CSIvawM9.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function hs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Y={},Pt=[],Ue=()=>{},si=()=>!1,xn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ps=e=>e.startsWith("onUpdate:"),ce=Object.assign,gs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ri=Object.prototype.hasOwnProperty,W=(e,t)=>ri.call(e,t),D=Array.isArray,Ct=e=>Sn(e)==="[object Map]",$r=e=>Sn(e)==="[object Set]",U=e=>typeof e=="function",ne=e=>typeof e=="string",it=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Fr=e=>(ee(e)||U(e))&&U(e.then)&&U(e.catch),Lr=Object.prototype.toString,Sn=e=>Lr.call(e),oi=e=>Sn(e).slice(8,-1),Nr=e=>Sn(e)==="[object Object]",ms=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ut=hs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ii=/-(\w)/g,ot=wn(e=>e.replace(ii,(t,n)=>n?n.toUpperCase():"")),li=/\B([A-Z])/g,_t=wn(e=>e.replace(li,"-$1").toLowerCase()),jr=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ln=wn(e=>e?`on${jr(e)}`:""),rt=(e,t)=>!Object.is(e,t),un=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Jn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Hs;const En=()=>Hs||(Hs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _s(e){if(D(e)){const t={};for(let n=0;n{if(n){const s=n.split(ui);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function vs(e){let t="";if(ne(e))t=e;else if(D(e))for(let n=0;n!!(e&&e.__v_isRef===!0),st=e=>ne(e)?e:e==null?"":D(e)||ee(e)&&(e.toString===Lr||!U(e.toString))?Ur(e)?st(e.value):JSON.stringify(e,Br,2):String(e),Br=(e,t)=>Ur(t)?Br(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Nn(s,o)+" =>"]=r,n),{})}:$r(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Nn(n))}:it(t)?Nn(t):ee(t)&&!D(t)&&!Nr(t)?String(t):t,Nn=(e,t="")=>{var n;return it(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function hs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Y={},Pt=[],Ue=()=>{},si=()=>!1,xn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ps=e=>e.startsWith("onUpdate:"),ce=Object.assign,gs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ri=Object.prototype.hasOwnProperty,W=(e,t)=>ri.call(e,t),D=Array.isArray,Ct=e=>Sn(e)==="[object Map]",$r=e=>Sn(e)==="[object Set]",U=e=>typeof e=="function",ne=e=>typeof e=="string",it=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Fr=e=>(ee(e)||U(e))&&U(e.then)&&U(e.catch),Lr=Object.prototype.toString,Sn=e=>Lr.call(e),oi=e=>Sn(e).slice(8,-1),Nr=e=>Sn(e)==="[object Object]",ms=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ut=hs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ii=/-(\w)/g,ot=wn(e=>e.replace(ii,(t,n)=>n?n.toUpperCase():"")),li=/\B([A-Z])/g,_t=wn(e=>e.replace(li,"-$1").toLowerCase()),jr=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ln=wn(e=>e?`on${jr(e)}`:""),rt=(e,t)=>!Object.is(e,t),un=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Jn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Hs;const En=()=>Hs||(Hs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _s(e){if(D(e)){const t={};for(let n=0;n{if(n){const s=n.split(ui);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function vs(e){let t="";if(ne(e))t=e;else if(D(e))for(let n=0;n!!(e&&e.__v_isRef===!0),st=e=>ne(e)?e:e==null?"":D(e)||ee(e)&&(e.toString===Lr||!U(e.toString))?Ur(e)?st(e.value):JSON.stringify(e,Vr,2):String(e),Vr=(e,t)=>Ur(t)?Vr(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Nn(s,o)+" =>"]=r,n),{})}:$r(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Nn(n))}:it(t)?Nn(t):ee(t)&&!D(t)&&!Nr(t)?String(t):t,Nn=(e,t="")=>{var n;return it(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 ve;class Vr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.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(Vt){let t=Vt;for(Vt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Bt;){let t=Bt;for(Bt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function qr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Gr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),xs(s),mi(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Qn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jt))return;e.globalVersion=Jt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Qn(e)){e.flags&=-3;return}const n=Z,s=Ce;Z=e,Ce=!0;try{qr(e);const r=e.fn(e._value);(t.version===0||rt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Z=n,Ce=s,Gr(e),e.flags&=-3}}function xs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)xs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function mi(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ce=!0;const Jr=[];function lt(){Jr.push(Ce),Ce=!1}function ct(){const e=Jr.pop();Ce=e===void 0?!0:e}function Ds(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Z;Z=void 0;try{t()}finally{Z=n}}}let Jt=0;class _i{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(!Z||!Ce||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new _i(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,Qr(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=s)}return n}trigger(t){this.version++,Jt++,this.notify(t)}notify(t){ys();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{bs()}}}function Qr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Qr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Yn=new WeakMap,ht=Symbol(""),Xn=Symbol(""),Qt=Symbol("");function oe(e,t,n){if(Ce&&Z){let s=Yn.get(e);s||Yn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ss),r.map=s,r.key=n),r.track()}}function Ge(e,t,n,s,r,o){const i=Yn.get(e);if(!i){Jt++;return}const l=c=>{c&&c.trigger()};if(ys(),t==="clear")i.forEach(l);else{const c=D(e),d=c&&ms(n);if(c&&n==="length"){const f=Number(s);i.forEach((h,g)=>{(g==="length"||g===Qt||!it(g)&&g>=f)&&l(h)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),d&&l(i.get(Qt)),t){case"add":c?d&&l(i.get("length")):(l(i.get(ht)),Ct(e)&&l(i.get(Xn)));break;case"delete":c||(l(i.get(ht)),Ct(e)&&l(i.get(Xn)));break;case"set":Ct(e)&&l(i.get(ht));break}}bs()}function St(e){const t=K(e);return t===e?t:(oe(t,"iterate",Qt),Re(e)?t:t.map(ie))}function Rn(e){return oe(e=K(e),"iterate",Qt),e}const vi={__proto__:null,[Symbol.iterator](){return Hn(this,Symbol.iterator,ie)},concat(...e){return St(this).concat(...e.map(t=>D(t)?St(t):t))},entries(){return Hn(this,"entries",e=>(e[1]=ie(e[1]),e))},every(e,t){return ke(this,"every",e,t,void 0,arguments)},filter(e,t){return ke(this,"filter",e,t,n=>n.map(ie),arguments)},find(e,t){return ke(this,"find",e,t,ie,arguments)},findIndex(e,t){return ke(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ke(this,"findLast",e,t,ie,arguments)},findLastIndex(e,t){return ke(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ke(this,"forEach",e,t,void 0,arguments)},includes(...e){return Dn(this,"includes",e)},indexOf(...e){return Dn(this,"indexOf",e)},join(e){return St(this).join(e)},lastIndexOf(...e){return Dn(this,"lastIndexOf",e)},map(e,t){return ke(this,"map",e,t,void 0,arguments)},pop(){return Nt(this,"pop")},push(...e){return Nt(this,"push",e)},reduce(e,...t){return Us(this,"reduce",e,t)},reduceRight(e,...t){return Us(this,"reduceRight",e,t)},shift(){return Nt(this,"shift")},some(e,t){return ke(this,"some",e,t,void 0,arguments)},splice(...e){return Nt(this,"splice",e)},toReversed(){return St(this).toReversed()},toSorted(e){return St(this).toSorted(e)},toSpliced(...e){return St(this).toSpliced(...e)},unshift(...e){return Nt(this,"unshift",e)},values(){return Hn(this,"values",ie)}};function Hn(e,t,n){const s=Rn(e),r=s[t]();return s!==e&&!Re(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const yi=Array.prototype;function ke(e,t,n,s,r,o){const i=Rn(e),l=i!==e&&!Re(e),c=i[t];if(c!==yi[t]){const h=c.apply(e,o);return l?ie(h):h}let d=n;i!==e&&(l?d=function(h,g){return n.call(this,ie(h),g,e)}:n.length>2&&(d=function(h,g){return n.call(this,h,g,e)}));const f=c.call(i,d,s);return l&&r?r(f):f}function Us(e,t,n,s){const r=Rn(e);let o=n;return r!==e&&(Re(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,ie(l),c,e)}),r[t](o,...s)}function Dn(e,t,n){const s=K(e);oe(s,"iterate",Qt);const r=s[t](...n);return(r===-1||r===!1)&&Rs(n[0])?(n[0]=K(n[0]),s[t](...n)):r}function Nt(e,t,n=[]){lt(),ys();const s=K(e)[t].apply(e,n);return bs(),ct(),s}const bi=hs("__proto__,__v_isRef,__isVue"),Yr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(it));function xi(e){it(e)||(e=String(e));const t=K(this);return oe(t,"has",e),t.hasOwnProperty(e)}class Xr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Ii:no:o?to:eo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=D(t);if(!r){let c;if(i&&(c=vi[n]))return c;if(n==="hasOwnProperty")return xi}const l=Reflect.get(t,n,le(t)?t:s);return(it(n)?Yr.has(n):bi(n))||(r||oe(t,"get",n),o)?l:le(l)?i&&ms(n)?l:l.value:ee(l)?r?ro(l):Pn(l):l}}class Zr extends Xr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=gt(o);if(!Re(s)&&!gt(s)&&(o=K(o),s=K(s)),!D(t)&&le(o)&&!le(s))return c?!1:(o.value=s,!0)}const i=D(t)&&ms(n)?Number(n)e,on=e=>Reflect.getPrototypeOf(e);function Pi(e,t,n){return function(...s){const r=this.__v_raw,o=K(r),i=Ct(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,d=r[e](...s),f=n?Zn:t?es:ie;return!t&&oe(o,"iterate",c?Xn:ht),{next(){const{value:h,done:g}=d.next();return g?{value:h,done:g}:{value:l?[f(h[0]),f(h[1])]:f(h),done:g}},[Symbol.iterator](){return this}}}}function ln(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ci(e,t){const n={get(r){const o=this.__v_raw,i=K(o),l=K(r);e||(rt(r,l)&&oe(i,"get",r),oe(i,"get",l));const{has:c}=on(i),d=t?Zn:e?es:ie;if(c.call(i,r))return d(o.get(r));if(c.call(i,l))return d(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&oe(K(r),"iterate",ht),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=K(o),l=K(r);return e||(rt(r,l)&&oe(i,"has",r),oe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=K(l),d=t?Zn:e?es:ie;return!e&&oe(c,"iterate",ht),l.forEach((f,h)=>r.call(o,d(f),d(h),i))}};return ce(n,e?{add:ln("add"),set:ln("set"),delete:ln("delete"),clear:ln("clear")}:{add(r){!t&&!Re(r)&&!gt(r)&&(r=K(r));const o=K(this);return on(o).has.call(o,r)||(o.add(r),Ge(o,"add",r,r)),this},set(r,o){!t&&!Re(o)&&!gt(o)&&(o=K(o));const i=K(this),{has:l,get:c}=on(i);let d=l.call(i,r);d||(r=K(r),d=l.call(i,r));const f=c.call(i,r);return i.set(r,o),d?rt(o,f)&&Ge(i,"set",r,o):Ge(i,"add",r,o),this},delete(r){const o=K(this),{has:i,get:l}=on(o);let c=i.call(o,r);c||(r=K(r),c=i.call(o,r)),l&&l.call(o,r);const d=o.delete(r);return c&&Ge(o,"delete",r,void 0),d},clear(){const r=K(this),o=r.size!==0,i=r.clear();return o&&Ge(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Pi(r,e,t)}),n}function ws(e,t){const n=Ci(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(W(n,r)&&r in s?n:s,r,o)}const Ti={get:ws(!1,!1)},Ai={get:ws(!1,!0)},Oi={get:ws(!0,!1)};const eo=new WeakMap,to=new WeakMap,no=new WeakMap,Ii=new WeakMap;function Mi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $i(e){return e.__v_skip||!Object.isExtensible(e)?0:Mi(oi(e))}function Pn(e){return gt(e)?e:Es(e,!1,wi,Ti,eo)}function so(e){return Es(e,!1,Ri,Ai,to)}function ro(e){return Es(e,!0,Ei,Oi,no)}function Es(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=$i(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Tt(e){return gt(e)?Tt(e.__v_raw):!!(e&&e.__v_isReactive)}function gt(e){return!!(e&&e.__v_isReadonly)}function Re(e){return!!(e&&e.__v_isShallow)}function Rs(e){return e?!!e.__v_raw:!1}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function oo(e){return!W(e,"__v_skip")&&Object.isExtensible(e)&&Hr(e,"__v_skip",!0),e}const ie=e=>ee(e)?Pn(e):e,es=e=>ee(e)?ro(e):e;function le(e){return e?e.__v_isRef===!0:!1}function pe(e){return io(e,!1)}function Fi(e){return io(e,!0)}function io(e,t){return le(e)?e:new Li(e,t)}class Li{constructor(t,n){this.dep=new Ss,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:K(t),this._value=n?t:ie(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Re(t)||gt(t);t=s?t:K(t),rt(t,n)&&(this._rawValue=t,this._value=s?t:ie(t),this.dep.trigger())}}function pt(e){return le(e)?e.value:e}const Ni={get:(e,t,n)=>t==="__v_raw"?e:pt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function lo(e){return Tt(e)?e:new Proxy(e,Ni)}class ji{constructor(t,n,s){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=Jt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Z!==this)return Wr(this,!0),!0}get value(){const t=this.dep.track();return zr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Hi(e,t,n=!1){let s,r;return U(e)?s=e:(s=e.get,r=e.set),new ji(s,r,n)}const cn={},pn=new WeakMap;let dt;function Di(e,t=!1,n=dt){if(n){let s=pn.get(n);s||pn.set(n,s=[]),s.push(e)}}function Ui(e,t,n=Y){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,d=$=>r?$:Re($)||r===!1||r===0?ze($,1):ze($);let f,h,g,m,A=!1,I=!1;if(le(e)?(h=()=>e.value,A=Re(e)):Tt(e)?(h=()=>d(e),A=!0):D(e)?(I=!0,A=e.some($=>Tt($)||Re($)),h=()=>e.map($=>{if(le($))return $.value;if(Tt($))return d($);if(U($))return c?c($,2):$()})):U(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){lt();try{g()}finally{ct()}}const $=dt;dt=f;try{return c?c(e,3,[m]):e(m)}finally{dt=$}}:h=Ue,t&&r){const $=h,J=r===!0?1/0:r;h=()=>ze($(),J)}const M=gi(),P=()=>{f.stop(),M&&M.active&&gs(M.effects,f)};if(o&&t){const $=t;t=(...J)=>{$(...J),P()}}let T=I?new Array(e.length).fill(cn):cn;const L=$=>{if(!(!(f.flags&1)||!f.dirty&&!$))if(t){const J=f.run();if(r||A||(I?J.some((re,te)=>rt(re,T[te])):rt(J,T))){g&&g();const re=dt;dt=f;try{const te=[J,T===cn?void 0:I&&T[0]===cn?[]:T,m];c?c(t,3,te):t(...te),T=J}finally{dt=re}}}else f.run()};return l&&l(L),f=new kr(h),f.scheduler=i?()=>i(L,!1):L,m=$=>Di($,!1,f),g=f.onStop=()=>{const $=pn.get(f);if($){if(c)c($,4);else for(const J of $)J();pn.delete(f)}},t?s?L(!0):T=f.run():i?i(L.bind(null,!0),!0):f.run(),P.pause=f.pause.bind(f),P.resume=f.resume.bind(f),P.stop=P,P}function ze(e,t=1/0,n){if(t<=0||!ee(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,le(e))ze(e.value,t,n);else if(D(e))for(let s=0;s{ze(s,t,n)});else if(Nr(e)){for(const s in e)ze(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ze(e[s],t,n)}return e}/** +**/let ve;class Br{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.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(Bt){let t=Bt;for(Bt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vt;){let t=Vt;for(Vt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function qr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Gr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),xs(s),mi(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Qn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jt))return;e.globalVersion=Jt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Qn(e)){e.flags&=-3;return}const n=Z,s=Ce;Z=e,Ce=!0;try{qr(e);const r=e.fn(e._value);(t.version===0||rt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Z=n,Ce=s,Gr(e),e.flags&=-3}}function xs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)xs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function mi(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ce=!0;const Jr=[];function lt(){Jr.push(Ce),Ce=!1}function ct(){const e=Jr.pop();Ce=e===void 0?!0:e}function Ds(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Z;Z=void 0;try{t()}finally{Z=n}}}let Jt=0;class _i{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(!Z||!Ce||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new _i(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,Qr(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=s)}return n}trigger(t){this.version++,Jt++,this.notify(t)}notify(t){ys();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{bs()}}}function Qr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Qr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Yn=new WeakMap,ht=Symbol(""),Xn=Symbol(""),Qt=Symbol("");function oe(e,t,n){if(Ce&&Z){let s=Yn.get(e);s||Yn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ss),r.map=s,r.key=n),r.track()}}function Ge(e,t,n,s,r,o){const i=Yn.get(e);if(!i){Jt++;return}const l=c=>{c&&c.trigger()};if(ys(),t==="clear")i.forEach(l);else{const c=D(e),d=c&&ms(n);if(c&&n==="length"){const f=Number(s);i.forEach((h,g)=>{(g==="length"||g===Qt||!it(g)&&g>=f)&&l(h)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),d&&l(i.get(Qt)),t){case"add":c?d&&l(i.get("length")):(l(i.get(ht)),Ct(e)&&l(i.get(Xn)));break;case"delete":c||(l(i.get(ht)),Ct(e)&&l(i.get(Xn)));break;case"set":Ct(e)&&l(i.get(ht));break}}bs()}function St(e){const t=K(e);return t===e?t:(oe(t,"iterate",Qt),Re(e)?t:t.map(ie))}function Rn(e){return oe(e=K(e),"iterate",Qt),e}const vi={__proto__:null,[Symbol.iterator](){return Hn(this,Symbol.iterator,ie)},concat(...e){return St(this).concat(...e.map(t=>D(t)?St(t):t))},entries(){return Hn(this,"entries",e=>(e[1]=ie(e[1]),e))},every(e,t){return ke(this,"every",e,t,void 0,arguments)},filter(e,t){return ke(this,"filter",e,t,n=>n.map(ie),arguments)},find(e,t){return ke(this,"find",e,t,ie,arguments)},findIndex(e,t){return ke(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ke(this,"findLast",e,t,ie,arguments)},findLastIndex(e,t){return ke(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ke(this,"forEach",e,t,void 0,arguments)},includes(...e){return Dn(this,"includes",e)},indexOf(...e){return Dn(this,"indexOf",e)},join(e){return St(this).join(e)},lastIndexOf(...e){return Dn(this,"lastIndexOf",e)},map(e,t){return ke(this,"map",e,t,void 0,arguments)},pop(){return Nt(this,"pop")},push(...e){return Nt(this,"push",e)},reduce(e,...t){return Us(this,"reduce",e,t)},reduceRight(e,...t){return Us(this,"reduceRight",e,t)},shift(){return Nt(this,"shift")},some(e,t){return ke(this,"some",e,t,void 0,arguments)},splice(...e){return Nt(this,"splice",e)},toReversed(){return St(this).toReversed()},toSorted(e){return St(this).toSorted(e)},toSpliced(...e){return St(this).toSpliced(...e)},unshift(...e){return Nt(this,"unshift",e)},values(){return Hn(this,"values",ie)}};function Hn(e,t,n){const s=Rn(e),r=s[t]();return s!==e&&!Re(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const yi=Array.prototype;function ke(e,t,n,s,r,o){const i=Rn(e),l=i!==e&&!Re(e),c=i[t];if(c!==yi[t]){const h=c.apply(e,o);return l?ie(h):h}let d=n;i!==e&&(l?d=function(h,g){return n.call(this,ie(h),g,e)}:n.length>2&&(d=function(h,g){return n.call(this,h,g,e)}));const f=c.call(i,d,s);return l&&r?r(f):f}function Us(e,t,n,s){const r=Rn(e);let o=n;return r!==e&&(Re(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,ie(l),c,e)}),r[t](o,...s)}function Dn(e,t,n){const s=K(e);oe(s,"iterate",Qt);const r=s[t](...n);return(r===-1||r===!1)&&Rs(n[0])?(n[0]=K(n[0]),s[t](...n)):r}function Nt(e,t,n=[]){lt(),ys();const s=K(e)[t].apply(e,n);return bs(),ct(),s}const bi=hs("__proto__,__v_isRef,__isVue"),Yr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(it));function xi(e){it(e)||(e=String(e));const t=K(this);return oe(t,"has",e),t.hasOwnProperty(e)}class Xr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Ii:no:o?to:eo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=D(t);if(!r){let c;if(i&&(c=vi[n]))return c;if(n==="hasOwnProperty")return xi}const l=Reflect.get(t,n,le(t)?t:s);return(it(n)?Yr.has(n):bi(n))||(r||oe(t,"get",n),o)?l:le(l)?i&&ms(n)?l:l.value:ee(l)?r?ro(l):Pn(l):l}}class Zr extends Xr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=gt(o);if(!Re(s)&&!gt(s)&&(o=K(o),s=K(s)),!D(t)&&le(o)&&!le(s))return c?!1:(o.value=s,!0)}const i=D(t)&&ms(n)?Number(n)e,on=e=>Reflect.getPrototypeOf(e);function Pi(e,t,n){return function(...s){const r=this.__v_raw,o=K(r),i=Ct(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,d=r[e](...s),f=n?Zn:t?es:ie;return!t&&oe(o,"iterate",c?Xn:ht),{next(){const{value:h,done:g}=d.next();return g?{value:h,done:g}:{value:l?[f(h[0]),f(h[1])]:f(h),done:g}},[Symbol.iterator](){return this}}}}function ln(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ci(e,t){const n={get(r){const o=this.__v_raw,i=K(o),l=K(r);e||(rt(r,l)&&oe(i,"get",r),oe(i,"get",l));const{has:c}=on(i),d=t?Zn:e?es:ie;if(c.call(i,r))return d(o.get(r));if(c.call(i,l))return d(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&oe(K(r),"iterate",ht),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=K(o),l=K(r);return e||(rt(r,l)&&oe(i,"has",r),oe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=K(l),d=t?Zn:e?es:ie;return!e&&oe(c,"iterate",ht),l.forEach((f,h)=>r.call(o,d(f),d(h),i))}};return ce(n,e?{add:ln("add"),set:ln("set"),delete:ln("delete"),clear:ln("clear")}:{add(r){!t&&!Re(r)&&!gt(r)&&(r=K(r));const o=K(this);return on(o).has.call(o,r)||(o.add(r),Ge(o,"add",r,r)),this},set(r,o){!t&&!Re(o)&&!gt(o)&&(o=K(o));const i=K(this),{has:l,get:c}=on(i);let d=l.call(i,r);d||(r=K(r),d=l.call(i,r));const f=c.call(i,r);return i.set(r,o),d?rt(o,f)&&Ge(i,"set",r,o):Ge(i,"add",r,o),this},delete(r){const o=K(this),{has:i,get:l}=on(o);let c=i.call(o,r);c||(r=K(r),c=i.call(o,r)),l&&l.call(o,r);const d=o.delete(r);return c&&Ge(o,"delete",r,void 0),d},clear(){const r=K(this),o=r.size!==0,i=r.clear();return o&&Ge(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Pi(r,e,t)}),n}function ws(e,t){const n=Ci(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(W(n,r)&&r in s?n:s,r,o)}const Ti={get:ws(!1,!1)},Ai={get:ws(!1,!0)},Oi={get:ws(!0,!1)};const eo=new WeakMap,to=new WeakMap,no=new WeakMap,Ii=new WeakMap;function Mi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $i(e){return e.__v_skip||!Object.isExtensible(e)?0:Mi(oi(e))}function Pn(e){return gt(e)?e:Es(e,!1,wi,Ti,eo)}function so(e){return Es(e,!1,Ri,Ai,to)}function ro(e){return Es(e,!0,Ei,Oi,no)}function Es(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=$i(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Tt(e){return gt(e)?Tt(e.__v_raw):!!(e&&e.__v_isReactive)}function gt(e){return!!(e&&e.__v_isReadonly)}function Re(e){return!!(e&&e.__v_isShallow)}function Rs(e){return e?!!e.__v_raw:!1}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function oo(e){return!W(e,"__v_skip")&&Object.isExtensible(e)&&Hr(e,"__v_skip",!0),e}const ie=e=>ee(e)?Pn(e):e,es=e=>ee(e)?ro(e):e;function le(e){return e?e.__v_isRef===!0:!1}function pe(e){return io(e,!1)}function Fi(e){return io(e,!0)}function io(e,t){return le(e)?e:new Li(e,t)}class Li{constructor(t,n){this.dep=new Ss,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:K(t),this._value=n?t:ie(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Re(t)||gt(t);t=s?t:K(t),rt(t,n)&&(this._rawValue=t,this._value=s?t:ie(t),this.dep.trigger())}}function pt(e){return le(e)?e.value:e}const Ni={get:(e,t,n)=>t==="__v_raw"?e:pt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function lo(e){return Tt(e)?e:new Proxy(e,Ni)}class ji{constructor(t,n,s){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=Jt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Z!==this)return Wr(this,!0),!0}get value(){const t=this.dep.track();return zr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Hi(e,t,n=!1){let s,r;return U(e)?s=e:(s=e.get,r=e.set),new ji(s,r,n)}const cn={},pn=new WeakMap;let dt;function Di(e,t=!1,n=dt){if(n){let s=pn.get(n);s||pn.set(n,s=[]),s.push(e)}}function Ui(e,t,n=Y){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,d=$=>r?$:Re($)||r===!1||r===0?ze($,1):ze($);let f,h,g,m,A=!1,I=!1;if(le(e)?(h=()=>e.value,A=Re(e)):Tt(e)?(h=()=>d(e),A=!0):D(e)?(I=!0,A=e.some($=>Tt($)||Re($)),h=()=>e.map($=>{if(le($))return $.value;if(Tt($))return d($);if(U($))return c?c($,2):$()})):U(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){lt();try{g()}finally{ct()}}const $=dt;dt=f;try{return c?c(e,3,[m]):e(m)}finally{dt=$}}:h=Ue,t&&r){const $=h,J=r===!0?1/0:r;h=()=>ze($(),J)}const M=gi(),P=()=>{f.stop(),M&&M.active&&gs(M.effects,f)};if(o&&t){const $=t;t=(...J)=>{$(...J),P()}}let T=I?new Array(e.length).fill(cn):cn;const L=$=>{if(!(!(f.flags&1)||!f.dirty&&!$))if(t){const J=f.run();if(r||A||(I?J.some((re,te)=>rt(re,T[te])):rt(J,T))){g&&g();const re=dt;dt=f;try{const te=[J,T===cn?void 0:I&&T[0]===cn?[]:T,m];c?c(t,3,te):t(...te),T=J}finally{dt=re}}}else f.run()};return l&&l(L),f=new kr(h),f.scheduler=i?()=>i(L,!1):L,m=$=>Di($,!1,f),g=f.onStop=()=>{const $=pn.get(f);if($){if(c)c($,4);else for(const J of $)J();pn.delete(f)}},t?s?L(!0):T=f.run():i?i(L.bind(null,!0),!0):f.run(),P.pause=f.pause.bind(f),P.resume=f.resume.bind(f),P.stop=P,P}function ze(e,t=1/0,n){if(t<=0||!ee(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,le(e))ze(e.value,t,n);else if(D(e))for(let s=0;s{ze(s,t,n)});else if(Nr(e)){for(const s in e)ze(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ze(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function nn(e,t,n,s){try{return s?e(...s):e()}catch(r){Cn(r,t,n)}}function Be(e,t,n,s){if(U(e)){const r=nn(e,t,n,s);return r&&Fr(r)&&r.catch(o=>{Cn(o,t,n)}),r}if(D(e)){const r=[];for(let o=0;o>>1,r=fe[s],o=Yt(r);o=Yt(n)?fe.push(e):fe.splice(Vi(t),0,e),e.flags|=1,uo()}}function uo(){gn||(gn=co.then(ao))}function ki(e){D(e)?At.push(...e):et&&e.id===-1?et.splice(wt+1,0,e):e.flags&1||(At.push(e),e.flags|=1),uo()}function Bs(e,t,n=He+1){for(;nYt(n)-Yt(s));if(At.length=0,et){et.push(...t);return}for(et=t,wt=0;wte.id==null?e.flags&2?-1:1/0:e.id;function ao(e){try{for(He=0;He{s._d&&Ys(-1);const o=mn(t);let i;try{i=e(...r)}finally{mn(o),s._d&&Ys(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ts(e,t){if(Ee===null)return e;const n=Mn(Ee),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function Ts(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ts(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 U(e)?ce({name:e.name},t,{setup:e}):e}function po(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function _n(e,t,n,s,r=!1){if(D(e)){e.forEach((A,I)=>_n(A,t&&(D(t)?t[I]:t),n,s,r));return}if(kt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&_n(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Mn(s.component):s.el,i=r?null:o,{i:l,r:c}=e,d=t&&t.r,f=l.refs===Y?l.refs={}:l.refs,h=l.setupState,g=K(h),m=h===Y?()=>!1:A=>W(g,A);if(d!=null&&d!==c&&(ne(d)?(f[d]=null,m(d)&&(h[d]=null)):le(d)&&(d.value=null)),U(c))nn(c,l,12,[i,f]);else{const A=ne(c),I=le(c);if(A||I){const M=()=>{if(e.f){const P=A?m(c)?h[c]:f[c]:c.value;r?D(P)&&gs(P,o):D(P)?P.includes(o)||P.push(o):A?(f[c]=[o],m(c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else A?(f[c]=i,m(c)&&(h[c]=i)):I&&(c.value=i,e.k&&(f[e.k]=i))};i?(M.id=-1,_e(M,n)):M()}}}En().requestIdleCallback;En().cancelIdleCallback;const kt=e=>!!e.type.__asyncLoader,go=e=>e.type.__isKeepAlive;function Gi(e,t){mo(e,"a",t)}function zi(e,t){mo(e,"da",t)}function mo(e,t,n=ae){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Tn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)go(r.parent.vnode)&&Ji(s,t,n,r),r=r.parent}}function Ji(e,t,n,s){const r=Tn(t,e,s,!0);_o(()=>{gs(s[t],r)},n)}function Tn(e,t,n=ae,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{lt();const l=sn(n),c=Be(t,n,e,i);return l(),ct(),c});return s?r.unshift(o):r.push(o),o}}const Je=e=>(t,n=ae)=>{(!Zt||e==="sp")&&Tn(e,(...s)=>t(...s),n)},Qi=Je("bm"),As=Je("m"),Yi=Je("bu"),Xi=Je("u"),Zi=Je("bum"),_o=Je("um"),el=Je("sp"),tl=Je("rtg"),nl=Je("rtc");function sl(e,t=ae){Tn("ec",e,t)}const rl=Symbol.for("v-ndc");function Vs(e,t,n,s){let r;const o=n,i=D(e);if(i||ne(e)){const l=i&&Tt(e);let c=!1;l&&(c=!Re(e),e=Rn(e)),r=new Array(e.length);for(let d=0,f=e.length;dt(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,d=l.length;ce?Ho(e)?Mn(e):ns(e.parent):null,Kt=ce(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=>ns(e.parent),$root:e=>ns(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yo(e),$forceUpdate:e=>e.f||(e.f=()=>{Cs(e.update)}),$nextTick:e=>e.n||(e.n=Ps.bind(e.proxy)),$watch:e=>Rl.bind(e)}),Un=(e,t)=>e!==Y&&!e.__isScriptSetup&&W(e,t),ol={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Un(s,t))return i[t]=1,s[t];if(r!==Y&&W(r,t))return i[t]=2,r[t];if((d=e.propsOptions[0])&&W(d,t))return i[t]=3,o[t];if(n!==Y&&W(n,t))return i[t]=4,n[t];ss&&(i[t]=0)}}const f=Kt[t];let h,g;if(f)return t==="$attrs"&&oe(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Y&&W(n,t))return i[t]=4,n[t];if(g=c.config.globalProperties,W(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Un(r,t)?(r[t]=n,!0):s!==Y&&W(s,t)?(s[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==Y&&W(e,i)||Un(t,i)||(l=o[0])&&W(l,i)||W(s,i)||W(Kt,i)||W(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ks(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ss=!0;function il(e){const t=yo(e),n=e.proxy,s=e.ctx;ss=!1,t.beforeCreate&&Ks(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:d,created:f,beforeMount:h,mounted:g,beforeUpdate:m,updated:A,activated:I,deactivated:M,beforeDestroy:P,beforeUnmount:T,destroyed:L,unmounted:$,render:J,renderTracked:re,renderTriggered:te,errorCaptured:Oe,serverPrefetch:Qe,expose:Ie,inheritAttrs:Ye,components:ut,directives:Me,filters:Ft}=t;if(d&&ll(d,s,null),i)for(const z in i){const V=i[z];U(V)&&(s[z]=V.bind(n))}if(r){const z=r.call(n,n);ee(z)&&(e.data=Pn(z))}if(ss=!0,o)for(const z in o){const V=o[z],Ve=U(V)?V.bind(n,n):U(V.get)?V.get.bind(n,n):Ue,Xe=!U(V)&&U(V.set)?V.set.bind(n):Ue,$e=Pe({get:Ve,set:Xe});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>$e.value,set:de=>$e.value=de})}if(l)for(const z in l)vo(l[z],s,n,z);if(c){const z=U(c)?c.call(n):c;Reflect.ownKeys(z).forEach(V=>{fn(V,z[V])})}f&&Ks(f,e,"c");function se(z,V){D(V)?V.forEach(Ve=>z(Ve.bind(n))):V&&z(V.bind(n))}if(se(Qi,h),se(As,g),se(Yi,m),se(Xi,A),se(Gi,I),se(zi,M),se(sl,Oe),se(nl,re),se(tl,te),se(Zi,T),se(_o,$),se(el,Qe),D(Ie))if(Ie.length){const z=e.exposed||(e.exposed={});Ie.forEach(V=>{Object.defineProperty(z,V,{get:()=>n[V],set:Ve=>n[V]=Ve})})}else e.exposed||(e.exposed={});J&&e.render===Ue&&(e.render=J),Ye!=null&&(e.inheritAttrs=Ye),ut&&(e.components=ut),Me&&(e.directives=Me),Qe&&po(e)}function ll(e,t,n=Ue){D(e)&&(e=rs(e));for(const s in e){const r=e[s];let o;ee(r)?"default"in r?o=Te(r.from||s,r.default,!0):o=Te(r.from||s):o=Te(r),le(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Ks(e,t,n){Be(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function vo(e,t,n,s){let r=s.includes(".")?$o(n,s):()=>n[s];if(ne(e)){const o=t[e];U(o)&&Wt(r,o)}else if(U(e))Wt(r,e.bind(n));else if(ee(e))if(D(e))e.forEach(o=>vo(o,t,n,s));else{const o=U(e.handler)?e.handler.bind(n):t[e.handler];U(o)&&Wt(r,o,e)}}function yo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(d=>vn(c,d,i,!0)),vn(c,t,i)),ee(t)&&o.set(t,c),c}function vn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&vn(e,o,n,!0),r&&r.forEach(i=>vn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=cl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const cl={data:Ws,props:qs,emits:qs,methods:Dt,computed:Dt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Dt,directives:Dt,watch:fl,provide:Ws,inject:ul};function Ws(e,t){return t?e?function(){return ce(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function ul(e,t){return Dt(rs(e),rs(t))}function rs(e){if(D(e)){const t={};for(let n=0;n1)return n&&U(t)?t.call(s&&s.proxy):t}}const xo={},So=()=>Object.create(xo),wo=e=>Object.getPrototypeOf(e)===xo;function hl(e,t,n,s=!1){const r={},o=So();e.propsDefaults=Object.create(null),Eo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:so(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function pl(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=K(r),[c]=e.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,m]=Ro(h,t,!0);ce(i,g),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return ee(e)&&s.set(e,Pt),Pt;if(D(o))for(let f=0;fe[0]==="_"||e==="$stable",Os=e=>D(e)?e.map(De):[De(e)],ml=(e,t,n)=>{if(t._n)return t;const s=Ki((...r)=>Os(t(...r)),n);return s._c=!1,s},Co=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Po(r))continue;const o=e[r];if(U(o))t[r]=ml(r,o,s);else if(o!=null){const i=Os(o);t[r]=()=>i}}},To=(e,t)=>{const n=Os(t);e.slots.default=()=>n},Ao=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},_l=(e,t,n)=>{const s=e.slots=So();if(e.vnode.shapeFlag&32){const r=t._;r?(Ao(s,t,n),n&&Hr(s,"_",r,!0)):Co(t,s)}else t&&To(e,t)},vl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=Y;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Ao(r,t,n):(o=!t.$stable,Co(t,r)),i=t}else t&&(To(e,t),i={default:1});if(o)for(const l in r)!Po(l)&&i[l]==null&&delete r[l]},_e=Ml;function yl(e){return bl(e)}function bl(e,t){const n=En();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:d,setElementText:f,parentNode:h,nextSibling:g,setScopeId:m=Ue,insertStaticContent:A}=e,I=(u,a,p,_=null,b=null,y=null,E=void 0,w=null,S=!!a.dynamicChildren)=>{if(u===a)return;u&&!jt(u,a)&&(_=v(u),de(u,b,y,!0),u=null),a.patchFlag===-2&&(S=!1,a.dynamicChildren=null);const{type:x,ref:j,shapeFlag:C}=a;switch(x){case On:M(u,a,p,_);break;case mt:P(u,a,p,_);break;case Vn:u==null&&T(a,p,_,E);break;case we:ut(u,a,p,_,b,y,E,w,S);break;default:C&1?J(u,a,p,_,b,y,E,w,S):C&6?Me(u,a,p,_,b,y,E,w,S):(C&64||C&128)&&x.process(u,a,p,_,b,y,E,w,S,F)}j!=null&&b&&_n(j,u&&u.ref,y,a||u,!a)},M=(u,a,p,_)=>{if(u==null)s(a.el=l(a.children),p,_);else{const b=a.el=u.el;a.children!==u.children&&d(b,a.children)}},P=(u,a,p,_)=>{u==null?s(a.el=c(a.children||""),p,_):a.el=u.el},T=(u,a,p,_)=>{[u.el,u.anchor]=A(u.children,a,p,_,u.el,u.anchor)},L=({el:u,anchor:a},p,_)=>{let b;for(;u&&u!==a;)b=g(u),s(u,p,_),u=b;s(a,p,_)},$=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},J=(u,a,p,_,b,y,E,w,S)=>{a.type==="svg"?E="svg":a.type==="math"&&(E="mathml"),u==null?re(a,p,_,b,y,E,w,S):Qe(u,a,b,y,E,w,S)},re=(u,a,p,_,b,y,E,w)=>{let S,x;const{props:j,shapeFlag:C,transition:N,dirs:H}=u;if(S=u.el=i(u.type,y,j&&j.is,j),C&8?f(S,u.children):C&16&&Oe(u.children,S,null,_,b,Bn(u,y),E,w),H&&ft(u,null,_,"created"),te(S,u,u.scopeId,E,_),j){for(const X in j)X!=="value"&&!Ut(X)&&o(S,X,null,j[X],y,_);"value"in j&&o(S,"value",null,j.value,y),(x=j.onVnodeBeforeMount)&&je(x,_,u)}H&&ft(u,null,_,"beforeMount");const B=xl(b,N);B&&N.beforeEnter(S),s(S,a,p),((x=j&&j.onVnodeMounted)||B||H)&&_e(()=>{x&&je(x,_,u),B&&N.enter(S),H&&ft(u,null,_,"mounted")},b)},te=(u,a,p,_,b)=>{if(p&&m(u,p),_)for(let y=0;y<_.length;y++)m(u,_[y]);if(b){let y=b.subTree;if(a===y||Lo(y.type)&&(y.ssContent===a||y.ssFallback===a)){const E=b.vnode;te(u,E,E.scopeId,E.slotScopeIds,b.parent)}}},Oe=(u,a,p,_,b,y,E,w,S=0)=>{for(let x=S;x{const w=a.el=u.el;let{patchFlag:S,dynamicChildren:x,dirs:j}=a;S|=u.patchFlag&16;const C=u.props||Y,N=a.props||Y;let H;if(p&&at(p,!1),(H=N.onVnodeBeforeUpdate)&&je(H,p,a,u),j&&ft(a,u,p,"beforeUpdate"),p&&at(p,!0),(C.innerHTML&&N.innerHTML==null||C.textContent&&N.textContent==null)&&f(w,""),x?Ie(u.dynamicChildren,x,w,p,_,Bn(a,b),y):E||V(u,a,w,null,p,_,Bn(a,b),y,!1),S>0){if(S&16)Ye(w,C,N,p,b);else if(S&2&&C.class!==N.class&&o(w,"class",null,N.class,b),S&4&&o(w,"style",C.style,N.style,b),S&8){const B=a.dynamicProps;for(let X=0;X{H&&je(H,p,a,u),j&&ft(a,u,p,"updated")},_)},Ie=(u,a,p,_,b,y,E)=>{for(let w=0;w{if(a!==p){if(a!==Y)for(const y in a)!Ut(y)&&!(y in p)&&o(u,y,a[y],null,b,_);for(const y in p){if(Ut(y))continue;const E=p[y],w=a[y];E!==w&&y!=="value"&&o(u,y,w,E,b,_)}"value"in p&&o(u,"value",a.value,p.value,b)}},ut=(u,a,p,_,b,y,E,w,S)=>{const x=a.el=u?u.el:l(""),j=a.anchor=u?u.anchor:l("");let{patchFlag:C,dynamicChildren:N,slotScopeIds:H}=a;H&&(w=w?w.concat(H):H),u==null?(s(x,p,_),s(j,p,_),Oe(a.children||[],p,j,b,y,E,w,S)):C>0&&C&64&&N&&u.dynamicChildren?(Ie(u.dynamicChildren,N,p,b,y,E,w),(a.key!=null||b&&a===b.subTree)&&Oo(u,a,!0)):V(u,a,p,j,b,y,E,w,S)},Me=(u,a,p,_,b,y,E,w,S)=>{a.slotScopeIds=w,u==null?a.shapeFlag&512?b.ctx.activate(a,p,_,E,S):Ft(a,p,_,b,y,E,S):yt(u,a,S)},Ft=(u,a,p,_,b,y,E)=>{const w=u.component=Bl(u,_,b);if(go(u)&&(w.ctx.renderer=F),Vl(w,!1,E),w.asyncDep){if(b&&b.registerDep(w,se,E),!u.el){const S=w.subTree=xe(mt);P(null,S,a,p)}}else se(w,u,a,p,b,y,E)},yt=(u,a,p)=>{const _=a.component=u.component;if(Ol(u,a,p))if(_.asyncDep&&!_.asyncResolved){z(_,a,p);return}else _.next=a,_.update();else a.el=u.el,_.vnode=a},se=(u,a,p,_,b,y,E)=>{const w=()=>{if(u.isMounted){let{next:C,bu:N,u:H,parent:B,vnode:X}=u;{const Le=Io(u);if(Le){C&&(C.el=X.el,z(u,C,E)),Le.asyncDep.then(()=>{u.isUnmounted||w()});return}}let q=C,ge;at(u,!1),C?(C.el=X.el,z(u,C,E)):C=X,N&&un(N),(ge=C.props&&C.props.onVnodeBeforeUpdate)&&je(ge,B,C,X),at(u,!0);const he=Js(u),Fe=u.subTree;u.subTree=he,I(Fe,he,h(Fe.el),v(Fe),u,b,y),C.el=he.el,q===null&&Il(u,he.el),H&&_e(H,b),(ge=C.props&&C.props.onVnodeUpdated)&&_e(()=>je(ge,B,C,X),b)}else{let C;const{el:N,props:H}=a,{bm:B,m:X,parent:q,root:ge,type:he}=u,Fe=kt(a);at(u,!1),B&&un(B),!Fe&&(C=H&&H.onVnodeBeforeMount)&&je(C,q,a),at(u,!0);{ge.ce&&ge.ce._injectChildStyle(he);const Le=u.subTree=Js(u);I(null,Le,p,_,u,b,y),a.el=Le.el}if(X&&_e(X,b),!Fe&&(C=H&&H.onVnodeMounted)){const Le=a;_e(()=>je(C,q,Le),b)}(a.shapeFlag&256||q&&kt(q.vnode)&&q.vnode.shapeFlag&256)&&u.a&&_e(u.a,b),u.isMounted=!0,a=p=_=null}};u.scope.on();const S=u.effect=new kr(w);u.scope.off();const x=u.update=S.run.bind(S),j=u.job=S.runIfDirty.bind(S);j.i=u,j.id=u.uid,S.scheduler=()=>Cs(j),at(u,!0),x()},z=(u,a,p)=>{a.component=u;const _=u.vnode.props;u.vnode=a,u.next=null,pl(u,a.props,_,p),vl(u,a.children,p),lt(),Bs(u),ct()},V=(u,a,p,_,b,y,E,w,S=!1)=>{const x=u&&u.children,j=u?u.shapeFlag:0,C=a.children,{patchFlag:N,shapeFlag:H}=a;if(N>0){if(N&128){Xe(x,C,p,_,b,y,E,w,S);return}else if(N&256){Ve(x,C,p,_,b,y,E,w,S);return}}H&8?(j&16&&Se(x,b,y),C!==x&&f(p,C)):j&16?H&16?Xe(x,C,p,_,b,y,E,w,S):Se(x,b,y,!0):(j&8&&f(p,""),H&16&&Oe(C,p,_,b,y,E,w,S))},Ve=(u,a,p,_,b,y,E,w,S)=>{u=u||Pt,a=a||Pt;const x=u.length,j=a.length,C=Math.min(x,j);let N;for(N=0;Nj?Se(u,b,y,!0,!1,C):Oe(a,p,_,b,y,E,w,S,C)},Xe=(u,a,p,_,b,y,E,w,S)=>{let x=0;const j=a.length;let C=u.length-1,N=j-1;for(;x<=C&&x<=N;){const H=u[x],B=a[x]=S?tt(a[x]):De(a[x]);if(jt(H,B))I(H,B,p,null,b,y,E,w,S);else break;x++}for(;x<=C&&x<=N;){const H=u[C],B=a[N]=S?tt(a[N]):De(a[N]);if(jt(H,B))I(H,B,p,null,b,y,E,w,S);else break;C--,N--}if(x>C){if(x<=N){const H=N+1,B=HN)for(;x<=C;)de(u[x],b,y,!0),x++;else{const H=x,B=x,X=new Map;for(x=B;x<=N;x++){const me=a[x]=S?tt(a[x]):De(a[x]);me.key!=null&&X.set(me.key,x)}let q,ge=0;const he=N-B+1;let Fe=!1,Le=0;const Lt=new Array(he);for(x=0;x=he){de(me,b,y,!0);continue}let Ne;if(me.key!=null)Ne=X.get(me.key);else for(q=B;q<=N;q++)if(Lt[q-B]===0&&jt(me,a[q])){Ne=q;break}Ne===void 0?de(me,b,y,!0):(Lt[Ne-B]=x+1,Ne>=Le?Le=Ne:Fe=!0,I(me,a[Ne],p,null,b,y,E,w,S),ge++)}const Ns=Fe?Sl(Lt):Pt;for(q=Ns.length-1,x=he-1;x>=0;x--){const me=B+x,Ne=a[me],js=me+1{const{el:y,type:E,transition:w,children:S,shapeFlag:x}=u;if(x&6){$e(u.component.subTree,a,p,_);return}if(x&128){u.suspense.move(a,p,_);return}if(x&64){E.move(u,a,p,F);return}if(E===we){s(y,a,p);for(let C=0;Cw.enter(y),b);else{const{leave:C,delayLeave:N,afterLeave:H}=w,B=()=>s(y,a,p),X=()=>{C(y,()=>{B(),H&&H()})};N?N(y,B,X):X()}else s(y,a,p)},de=(u,a,p,_=!1,b=!1)=>{const{type:y,props:E,ref:w,children:S,dynamicChildren:x,shapeFlag:j,patchFlag:C,dirs:N,cacheIndex:H}=u;if(C===-2&&(b=!1),w!=null&&_n(w,null,p,u,!0),H!=null&&(a.renderCache[H]=void 0),j&256){a.ctx.deactivate(u);return}const B=j&1&&N,X=!kt(u);let q;if(X&&(q=E&&E.onVnodeBeforeUnmount)&&je(q,a,u),j&6)rn(u.component,p,_);else{if(j&128){u.suspense.unmount(p,_);return}B&&ft(u,null,a,"beforeUnmount"),j&64?u.type.remove(u,a,p,F,_):x&&!x.hasOnce&&(y!==we||C>0&&C&64)?Se(x,a,p,!1,!0):(y===we&&C&384||!b&&j&16)&&Se(S,a,p),_&&bt(u)}(X&&(q=E&&E.onVnodeUnmounted)||B)&&_e(()=>{q&&je(q,a,u),B&&ft(u,null,a,"unmounted")},p)},bt=u=>{const{type:a,el:p,anchor:_,transition:b}=u;if(a===we){xt(p,_);return}if(a===Vn){$(u);return}const y=()=>{r(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:E,delayLeave:w}=b,S=()=>E(p,y);w?w(u.el,y,S):S()}else y()},xt=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},rn=(u,a,p)=>{const{bum:_,scope:b,job:y,subTree:E,um:w,m:S,a:x}=u;zs(S),zs(x),_&&un(_),b.stop(),y&&(y.flags|=8,de(E,u,a,p)),w&&_e(w,a),_e(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},Se=(u,a,p,_=!1,b=!1,y=0)=>{for(let E=y;E{if(u.shapeFlag&6)return v(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const a=g(u.anchor||u.el),p=a&&a[Wi];return p?g(p):a};let O=!1;const R=(u,a,p)=>{u==null?a._vnode&&de(a._vnode,null,null,!0):I(a._vnode||null,u,a,null,null,null,p),a._vnode=u,O||(O=!0,Bs(),fo(),O=!1)},F={p:I,um:de,m:$e,r:bt,mt:Ft,mc:Oe,pc:V,pbc:Ie,n:v,o:e};return{render:R,hydrate:void 0,createApp:dl(R)}}function Bn({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 at({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function xl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Oo(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Io(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Io(t)}function zs(e){if(e)for(let t=0;tTe(wl);function Wt(e,t,n){return Mo(e,t,n)}function Mo(e,t,n=Y){const{immediate:s,deep:r,flush:o,once:i}=n,l=ce({},n),c=t&&s||!t&&o!=="post";let d;if(Zt){if(o==="sync"){const m=El();d=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ue,m.resume=Ue,m.pause=Ue,m}}const f=ae;l.call=(m,A,I)=>Be(m,f,A,I);let h=!1;o==="post"?l.scheduler=m=>{_e(m,f&&f.suspense)}:o!=="sync"&&(h=!0,l.scheduler=(m,A)=>{A?m():Cs(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const g=Ui(e,t,l);return Zt&&(d?d.push(g):c&&g()),g}function Rl(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?$o(s,e):()=>s[e]:e.bind(s,s);let o;U(t)?o=t:(o=t.handler,n=t);const i=sn(this),l=Mo(r,o.bind(s),n);return i(),l}function $o(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ot(t)}Modifiers`]||e[`${_t(t)}Modifiers`];function Cl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Y;let r=n;const o=t.startsWith("update:"),i=o&&Pl(s,t.slice(7));i&&(i.trim&&(r=n.map(f=>ne(f)?f.trim():f)),i.number&&(r=n.map(Jn)));let l,c=s[l=Ln(t)]||s[l=Ln(ot(t))];!c&&o&&(c=s[l=Ln(_t(t))]),c&&Be(c,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Be(d,e,6,r)}}function Fo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!U(e)){const c=d=>{const f=Fo(d,t,!0);f&&(l=!0,ce(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ee(e)&&s.set(e,null),null):(D(o)?o.forEach(c=>i[c]=null):ce(i,o),ee(e)&&s.set(e,i),i)}function An(e,t){return!e||!xn(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,_t(t))||W(e,t))}function Js(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:d,renderCache:f,props:h,data:g,setupState:m,ctx:A,inheritAttrs:I}=e,M=mn(e);let P,T;try{if(n.shapeFlag&4){const $=r||s,J=$;P=De(d.call(J,$,f,h,m,g,A)),T=l}else{const $=t;P=De($.length>1?$(h,{attrs:l,slots:i,emit:c}):$(h,null)),T=t.props?l:Tl(l)}}catch($){qt.length=0,Cn($,e,1),P=xe(mt)}let L=P;if(T&&I!==!1){const $=Object.keys(T),{shapeFlag:J}=L;$.length&&J&7&&(o&&$.some(ps)&&(T=Al(T,o)),L=It(L,T,!1,!0))}return n.dirs&&(L=It(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&Ts(L,n.transition),P=L,mn(M),P}const Tl=e=>{let t;for(const n in e)(n==="class"||n==="style"||xn(n))&&((t||(t={}))[n]=e[n]);return t},Al=(e,t)=>{const n={};for(const s in e)(!ps(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ol(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Qs(s,i,d):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function Ml(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):ki(e)}const we=Symbol.for("v-fgt"),On=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),Vn=Symbol.for("v-stc"),qt=[];let be=null;function ye(e=!1){qt.push(be=e?null:[])}function $l(){qt.pop(),be=qt[qt.length-1]||null}let Xt=1;function Ys(e,t=!1){Xt+=e,e<0&&be&&t&&(be.hasOnce=!0)}function No(e){return e.dynamicChildren=Xt>0?be||Pt:null,$l(),Xt>0&&be&&be.push(e),e}function We(e,t,n,s,r,o){return No(G(e,t,n,s,r,o,!0))}function In(e,t,n,s,r){return No(xe(e,t,n,s,r,!0))}function yn(e){return e?e.__v_isVNode===!0:!1}function jt(e,t){return e.type===t.type&&e.key===t.key}const jo=({key:e})=>e??null,an=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||le(e)||U(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function G(e,t=null,n=null,s=0,r=null,o=e===we?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jo(t),ref:t&&an(t),scopeId:ho,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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ee};return l?(Is(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Xt>0&&!i&&be&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&be.push(c),c}const xe=Fl;function Fl(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===rl)&&(e=mt),yn(e)){const l=It(e,t,!0);return n&&Is(l,n),Xt>0&&!o&&be&&(l.shapeFlag&6?be[be.indexOf(e)]=l:be.push(l)),l.patchFlag=-2,l}if(ql(e)&&(e=e.__vccOpts),t){t=Ll(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=vs(l)),ee(c)&&(Rs(c)&&!D(c)&&(c=ce({},c)),t.style=_s(c))}const i=ne(e)?1:Lo(e)?128:qi(e)?64:ee(e)?4:U(e)?2:0;return G(e,t,n,s,r,i,o,!0)}function Ll(e){return e?Rs(e)||wo(e)?ce({},e):e:null}function It(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,d=t?Hl(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&jo(d),ref:t&&t.ref?n&&o?D(o)?o.concat(an(t)):[o,an(t)]:an(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&It(e.ssContent),ssFallback:e.ssFallback&&It(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ts(f,c.clone(f)),f}function Nl(e=" ",t=0){return xe(On,null,e,t)}function jl(e="",t=!1){return t?(ye(),In(mt,null,e)):xe(mt,null,e)}function De(e){return e==null||typeof e=="boolean"?xe(mt):D(e)?xe(we,null,e.slice()):yn(e)?tt(e):xe(On,null,String(e))}function tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:It(e)}function Is(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Is(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!wo(t)?t._ctx=Ee:r===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),s&64?(n=16,t=[Nl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Hl(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};bn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),is=t("__VUE_SSR_SETTERS__",n=>Zt=n)}const sn=e=>{const t=ae;return bn(e),e.scope.on(),()=>{e.scope.off(),bn(t)}},Xs=()=>{ae&&ae.scope.off(),bn(null)};function Ho(e){return e.vnode.shapeFlag&4}let Zt=!1;function Vl(e,t=!1,n=!1){t&&is(t);const{props:s,children:r}=e.vnode,o=Ho(e);hl(e,s,o,t),_l(e,r,n);const i=o?kl(e,t):void 0;return t&&is(!1),i}function kl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ol);const{setup:s}=n;if(s){lt();const r=e.setupContext=s.length>1?Wl(e):null,o=sn(e),i=nn(s,e,0,[e.props,r]),l=Fr(i);if(ct(),o(),(l||e.sp)&&!kt(e)&&po(e),l){if(i.then(Xs,Xs),t)return i.then(c=>{Zs(e,c)}).catch(c=>{Cn(c,e,0)});e.asyncDep=i}else Zs(e,i)}else Do(e)}function Zs(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=lo(t)),Do(e)}function Do(e,t,n){const s=e.type;e.render||(e.render=s.render||Ue);{const r=sn(e);lt();try{il(e)}finally{ct(),r()}}}const Kl={get(e,t){return oe(e,"get",""),e[t]}};function Wl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Kl),slots:e.slots,emit:e.emit,expose:t}}function Mn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(lo(oo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Kt)return Kt[n](e)},has(t,n){return n in t||n in Kt}})):e.proxy}function ql(e){return U(e)&&"__vccOpts"in e}const Pe=(e,t)=>Hi(e,t,Zt);function Uo(e,t,n){const s=arguments.length;return s===2?ee(t)&&!D(t)?yn(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&yn(n)&&(n=[n]),xe(e,t,n))}const Gl="3.5.13";/** +**/function nn(e,t,n,s){try{return s?e(...s):e()}catch(r){Cn(r,t,n)}}function Ve(e,t,n,s){if(U(e)){const r=nn(e,t,n,s);return r&&Fr(r)&&r.catch(o=>{Cn(o,t,n)}),r}if(D(e)){const r=[];for(let o=0;o>>1,r=fe[s],o=Yt(r);o=Yt(n)?fe.push(e):fe.splice(Bi(t),0,e),e.flags|=1,uo()}}function uo(){gn||(gn=co.then(ao))}function ki(e){D(e)?At.push(...e):et&&e.id===-1?et.splice(wt+1,0,e):e.flags&1||(At.push(e),e.flags|=1),uo()}function Vs(e,t,n=He+1){for(;nYt(n)-Yt(s));if(At.length=0,et){et.push(...t);return}for(et=t,wt=0;wte.id==null?e.flags&2?-1:1/0:e.id;function ao(e){try{for(He=0;He{s._d&&Ys(-1);const o=mn(t);let i;try{i=e(...r)}finally{mn(o),s._d&&Ys(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ts(e,t){if(Ee===null)return e;const n=Mn(Ee),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function Ts(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ts(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 U(e)?ce({name:e.name},t,{setup:e}):e}function po(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function _n(e,t,n,s,r=!1){if(D(e)){e.forEach((A,I)=>_n(A,t&&(D(t)?t[I]:t),n,s,r));return}if(kt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&_n(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Mn(s.component):s.el,i=r?null:o,{i:l,r:c}=e,d=t&&t.r,f=l.refs===Y?l.refs={}:l.refs,h=l.setupState,g=K(h),m=h===Y?()=>!1:A=>W(g,A);if(d!=null&&d!==c&&(ne(d)?(f[d]=null,m(d)&&(h[d]=null)):le(d)&&(d.value=null)),U(c))nn(c,l,12,[i,f]);else{const A=ne(c),I=le(c);if(A||I){const M=()=>{if(e.f){const P=A?m(c)?h[c]:f[c]:c.value;r?D(P)&&gs(P,o):D(P)?P.includes(o)||P.push(o):A?(f[c]=[o],m(c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else A?(f[c]=i,m(c)&&(h[c]=i)):I&&(c.value=i,e.k&&(f[e.k]=i))};i?(M.id=-1,_e(M,n)):M()}}}En().requestIdleCallback;En().cancelIdleCallback;const kt=e=>!!e.type.__asyncLoader,go=e=>e.type.__isKeepAlive;function Gi(e,t){mo(e,"a",t)}function zi(e,t){mo(e,"da",t)}function mo(e,t,n=ae){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Tn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)go(r.parent.vnode)&&Ji(s,t,n,r),r=r.parent}}function Ji(e,t,n,s){const r=Tn(t,e,s,!0);_o(()=>{gs(s[t],r)},n)}function Tn(e,t,n=ae,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{lt();const l=sn(n),c=Ve(t,n,e,i);return l(),ct(),c});return s?r.unshift(o):r.push(o),o}}const Je=e=>(t,n=ae)=>{(!Zt||e==="sp")&&Tn(e,(...s)=>t(...s),n)},Qi=Je("bm"),As=Je("m"),Yi=Je("bu"),Xi=Je("u"),Zi=Je("bum"),_o=Je("um"),el=Je("sp"),tl=Je("rtg"),nl=Je("rtc");function sl(e,t=ae){Tn("ec",e,t)}const rl=Symbol.for("v-ndc");function Bs(e,t,n,s){let r;const o=n,i=D(e);if(i||ne(e)){const l=i&&Tt(e);let c=!1;l&&(c=!Re(e),e=Rn(e)),r=new Array(e.length);for(let d=0,f=e.length;dt(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,d=l.length;ce?Ho(e)?Mn(e):ns(e.parent):null,Kt=ce(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=>ns(e.parent),$root:e=>ns(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yo(e),$forceUpdate:e=>e.f||(e.f=()=>{Cs(e.update)}),$nextTick:e=>e.n||(e.n=Ps.bind(e.proxy)),$watch:e=>Rl.bind(e)}),Un=(e,t)=>e!==Y&&!e.__isScriptSetup&&W(e,t),ol={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Un(s,t))return i[t]=1,s[t];if(r!==Y&&W(r,t))return i[t]=2,r[t];if((d=e.propsOptions[0])&&W(d,t))return i[t]=3,o[t];if(n!==Y&&W(n,t))return i[t]=4,n[t];ss&&(i[t]=0)}}const f=Kt[t];let h,g;if(f)return t==="$attrs"&&oe(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Y&&W(n,t))return i[t]=4,n[t];if(g=c.config.globalProperties,W(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Un(r,t)?(r[t]=n,!0):s!==Y&&W(s,t)?(s[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==Y&&W(e,i)||Un(t,i)||(l=o[0])&&W(l,i)||W(s,i)||W(Kt,i)||W(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ks(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ss=!0;function il(e){const t=yo(e),n=e.proxy,s=e.ctx;ss=!1,t.beforeCreate&&Ks(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:d,created:f,beforeMount:h,mounted:g,beforeUpdate:m,updated:A,activated:I,deactivated:M,beforeDestroy:P,beforeUnmount:T,destroyed:L,unmounted:$,render:J,renderTracked:re,renderTriggered:te,errorCaptured:Oe,serverPrefetch:Qe,expose:Ie,inheritAttrs:Ye,components:ut,directives:Me,filters:Ft}=t;if(d&&ll(d,s,null),i)for(const z in i){const B=i[z];U(B)&&(s[z]=B.bind(n))}if(r){const z=r.call(n,n);ee(z)&&(e.data=Pn(z))}if(ss=!0,o)for(const z in o){const B=o[z],Be=U(B)?B.bind(n,n):U(B.get)?B.get.bind(n,n):Ue,Xe=!U(B)&&U(B.set)?B.set.bind(n):Ue,$e=Pe({get:Be,set:Xe});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>$e.value,set:de=>$e.value=de})}if(l)for(const z in l)vo(l[z],s,n,z);if(c){const z=U(c)?c.call(n):c;Reflect.ownKeys(z).forEach(B=>{fn(B,z[B])})}f&&Ks(f,e,"c");function se(z,B){D(B)?B.forEach(Be=>z(Be.bind(n))):B&&z(B.bind(n))}if(se(Qi,h),se(As,g),se(Yi,m),se(Xi,A),se(Gi,I),se(zi,M),se(sl,Oe),se(nl,re),se(tl,te),se(Zi,T),se(_o,$),se(el,Qe),D(Ie))if(Ie.length){const z=e.exposed||(e.exposed={});Ie.forEach(B=>{Object.defineProperty(z,B,{get:()=>n[B],set:Be=>n[B]=Be})})}else e.exposed||(e.exposed={});J&&e.render===Ue&&(e.render=J),Ye!=null&&(e.inheritAttrs=Ye),ut&&(e.components=ut),Me&&(e.directives=Me),Qe&&po(e)}function ll(e,t,n=Ue){D(e)&&(e=rs(e));for(const s in e){const r=e[s];let o;ee(r)?"default"in r?o=Te(r.from||s,r.default,!0):o=Te(r.from||s):o=Te(r),le(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Ks(e,t,n){Ve(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function vo(e,t,n,s){let r=s.includes(".")?$o(n,s):()=>n[s];if(ne(e)){const o=t[e];U(o)&&Wt(r,o)}else if(U(e))Wt(r,e.bind(n));else if(ee(e))if(D(e))e.forEach(o=>vo(o,t,n,s));else{const o=U(e.handler)?e.handler.bind(n):t[e.handler];U(o)&&Wt(r,o,e)}}function yo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(d=>vn(c,d,i,!0)),vn(c,t,i)),ee(t)&&o.set(t,c),c}function vn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&vn(e,o,n,!0),r&&r.forEach(i=>vn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=cl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const cl={data:Ws,props:qs,emits:qs,methods:Dt,computed:Dt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Dt,directives:Dt,watch:fl,provide:Ws,inject:ul};function Ws(e,t){return t?e?function(){return ce(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function ul(e,t){return Dt(rs(e),rs(t))}function rs(e){if(D(e)){const t={};for(let n=0;n1)return n&&U(t)?t.call(s&&s.proxy):t}}const xo={},So=()=>Object.create(xo),wo=e=>Object.getPrototypeOf(e)===xo;function hl(e,t,n,s=!1){const r={},o=So();e.propsDefaults=Object.create(null),Eo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:so(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function pl(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=K(r),[c]=e.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,m]=Ro(h,t,!0);ce(i,g),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return ee(e)&&s.set(e,Pt),Pt;if(D(o))for(let f=0;fe[0]==="_"||e==="$stable",Os=e=>D(e)?e.map(De):[De(e)],ml=(e,t,n)=>{if(t._n)return t;const s=Ki((...r)=>Os(t(...r)),n);return s._c=!1,s},Co=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Po(r))continue;const o=e[r];if(U(o))t[r]=ml(r,o,s);else if(o!=null){const i=Os(o);t[r]=()=>i}}},To=(e,t)=>{const n=Os(t);e.slots.default=()=>n},Ao=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},_l=(e,t,n)=>{const s=e.slots=So();if(e.vnode.shapeFlag&32){const r=t._;r?(Ao(s,t,n),n&&Hr(s,"_",r,!0)):Co(t,s)}else t&&To(e,t)},vl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=Y;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Ao(r,t,n):(o=!t.$stable,Co(t,r)),i=t}else t&&(To(e,t),i={default:1});if(o)for(const l in r)!Po(l)&&i[l]==null&&delete r[l]},_e=Ml;function yl(e){return bl(e)}function bl(e,t){const n=En();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:d,setElementText:f,parentNode:h,nextSibling:g,setScopeId:m=Ue,insertStaticContent:A}=e,I=(u,a,p,_=null,b=null,y=null,E=void 0,w=null,S=!!a.dynamicChildren)=>{if(u===a)return;u&&!jt(u,a)&&(_=v(u),de(u,b,y,!0),u=null),a.patchFlag===-2&&(S=!1,a.dynamicChildren=null);const{type:x,ref:j,shapeFlag:C}=a;switch(x){case On:M(u,a,p,_);break;case mt:P(u,a,p,_);break;case Bn:u==null&&T(a,p,_,E);break;case we:ut(u,a,p,_,b,y,E,w,S);break;default:C&1?J(u,a,p,_,b,y,E,w,S):C&6?Me(u,a,p,_,b,y,E,w,S):(C&64||C&128)&&x.process(u,a,p,_,b,y,E,w,S,F)}j!=null&&b&&_n(j,u&&u.ref,y,a||u,!a)},M=(u,a,p,_)=>{if(u==null)s(a.el=l(a.children),p,_);else{const b=a.el=u.el;a.children!==u.children&&d(b,a.children)}},P=(u,a,p,_)=>{u==null?s(a.el=c(a.children||""),p,_):a.el=u.el},T=(u,a,p,_)=>{[u.el,u.anchor]=A(u.children,a,p,_,u.el,u.anchor)},L=({el:u,anchor:a},p,_)=>{let b;for(;u&&u!==a;)b=g(u),s(u,p,_),u=b;s(a,p,_)},$=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},J=(u,a,p,_,b,y,E,w,S)=>{a.type==="svg"?E="svg":a.type==="math"&&(E="mathml"),u==null?re(a,p,_,b,y,E,w,S):Qe(u,a,b,y,E,w,S)},re=(u,a,p,_,b,y,E,w)=>{let S,x;const{props:j,shapeFlag:C,transition:N,dirs:H}=u;if(S=u.el=i(u.type,y,j&&j.is,j),C&8?f(S,u.children):C&16&&Oe(u.children,S,null,_,b,Vn(u,y),E,w),H&&ft(u,null,_,"created"),te(S,u,u.scopeId,E,_),j){for(const X in j)X!=="value"&&!Ut(X)&&o(S,X,null,j[X],y,_);"value"in j&&o(S,"value",null,j.value,y),(x=j.onVnodeBeforeMount)&&je(x,_,u)}H&&ft(u,null,_,"beforeMount");const V=xl(b,N);V&&N.beforeEnter(S),s(S,a,p),((x=j&&j.onVnodeMounted)||V||H)&&_e(()=>{x&&je(x,_,u),V&&N.enter(S),H&&ft(u,null,_,"mounted")},b)},te=(u,a,p,_,b)=>{if(p&&m(u,p),_)for(let y=0;y<_.length;y++)m(u,_[y]);if(b){let y=b.subTree;if(a===y||Lo(y.type)&&(y.ssContent===a||y.ssFallback===a)){const E=b.vnode;te(u,E,E.scopeId,E.slotScopeIds,b.parent)}}},Oe=(u,a,p,_,b,y,E,w,S=0)=>{for(let x=S;x{const w=a.el=u.el;let{patchFlag:S,dynamicChildren:x,dirs:j}=a;S|=u.patchFlag&16;const C=u.props||Y,N=a.props||Y;let H;if(p&&at(p,!1),(H=N.onVnodeBeforeUpdate)&&je(H,p,a,u),j&&ft(a,u,p,"beforeUpdate"),p&&at(p,!0),(C.innerHTML&&N.innerHTML==null||C.textContent&&N.textContent==null)&&f(w,""),x?Ie(u.dynamicChildren,x,w,p,_,Vn(a,b),y):E||B(u,a,w,null,p,_,Vn(a,b),y,!1),S>0){if(S&16)Ye(w,C,N,p,b);else if(S&2&&C.class!==N.class&&o(w,"class",null,N.class,b),S&4&&o(w,"style",C.style,N.style,b),S&8){const V=a.dynamicProps;for(let X=0;X{H&&je(H,p,a,u),j&&ft(a,u,p,"updated")},_)},Ie=(u,a,p,_,b,y,E)=>{for(let w=0;w{if(a!==p){if(a!==Y)for(const y in a)!Ut(y)&&!(y in p)&&o(u,y,a[y],null,b,_);for(const y in p){if(Ut(y))continue;const E=p[y],w=a[y];E!==w&&y!=="value"&&o(u,y,w,E,b,_)}"value"in p&&o(u,"value",a.value,p.value,b)}},ut=(u,a,p,_,b,y,E,w,S)=>{const x=a.el=u?u.el:l(""),j=a.anchor=u?u.anchor:l("");let{patchFlag:C,dynamicChildren:N,slotScopeIds:H}=a;H&&(w=w?w.concat(H):H),u==null?(s(x,p,_),s(j,p,_),Oe(a.children||[],p,j,b,y,E,w,S)):C>0&&C&64&&N&&u.dynamicChildren?(Ie(u.dynamicChildren,N,p,b,y,E,w),(a.key!=null||b&&a===b.subTree)&&Oo(u,a,!0)):B(u,a,p,j,b,y,E,w,S)},Me=(u,a,p,_,b,y,E,w,S)=>{a.slotScopeIds=w,u==null?a.shapeFlag&512?b.ctx.activate(a,p,_,E,S):Ft(a,p,_,b,y,E,S):yt(u,a,S)},Ft=(u,a,p,_,b,y,E)=>{const w=u.component=Vl(u,_,b);if(go(u)&&(w.ctx.renderer=F),Bl(w,!1,E),w.asyncDep){if(b&&b.registerDep(w,se,E),!u.el){const S=w.subTree=xe(mt);P(null,S,a,p)}}else se(w,u,a,p,b,y,E)},yt=(u,a,p)=>{const _=a.component=u.component;if(Ol(u,a,p))if(_.asyncDep&&!_.asyncResolved){z(_,a,p);return}else _.next=a,_.update();else a.el=u.el,_.vnode=a},se=(u,a,p,_,b,y,E)=>{const w=()=>{if(u.isMounted){let{next:C,bu:N,u:H,parent:V,vnode:X}=u;{const Le=Io(u);if(Le){C&&(C.el=X.el,z(u,C,E)),Le.asyncDep.then(()=>{u.isUnmounted||w()});return}}let q=C,ge;at(u,!1),C?(C.el=X.el,z(u,C,E)):C=X,N&&un(N),(ge=C.props&&C.props.onVnodeBeforeUpdate)&&je(ge,V,C,X),at(u,!0);const he=Js(u),Fe=u.subTree;u.subTree=he,I(Fe,he,h(Fe.el),v(Fe),u,b,y),C.el=he.el,q===null&&Il(u,he.el),H&&_e(H,b),(ge=C.props&&C.props.onVnodeUpdated)&&_e(()=>je(ge,V,C,X),b)}else{let C;const{el:N,props:H}=a,{bm:V,m:X,parent:q,root:ge,type:he}=u,Fe=kt(a);at(u,!1),V&&un(V),!Fe&&(C=H&&H.onVnodeBeforeMount)&&je(C,q,a),at(u,!0);{ge.ce&&ge.ce._injectChildStyle(he);const Le=u.subTree=Js(u);I(null,Le,p,_,u,b,y),a.el=Le.el}if(X&&_e(X,b),!Fe&&(C=H&&H.onVnodeMounted)){const Le=a;_e(()=>je(C,q,Le),b)}(a.shapeFlag&256||q&&kt(q.vnode)&&q.vnode.shapeFlag&256)&&u.a&&_e(u.a,b),u.isMounted=!0,a=p=_=null}};u.scope.on();const S=u.effect=new kr(w);u.scope.off();const x=u.update=S.run.bind(S),j=u.job=S.runIfDirty.bind(S);j.i=u,j.id=u.uid,S.scheduler=()=>Cs(j),at(u,!0),x()},z=(u,a,p)=>{a.component=u;const _=u.vnode.props;u.vnode=a,u.next=null,pl(u,a.props,_,p),vl(u,a.children,p),lt(),Vs(u),ct()},B=(u,a,p,_,b,y,E,w,S=!1)=>{const x=u&&u.children,j=u?u.shapeFlag:0,C=a.children,{patchFlag:N,shapeFlag:H}=a;if(N>0){if(N&128){Xe(x,C,p,_,b,y,E,w,S);return}else if(N&256){Be(x,C,p,_,b,y,E,w,S);return}}H&8?(j&16&&Se(x,b,y),C!==x&&f(p,C)):j&16?H&16?Xe(x,C,p,_,b,y,E,w,S):Se(x,b,y,!0):(j&8&&f(p,""),H&16&&Oe(C,p,_,b,y,E,w,S))},Be=(u,a,p,_,b,y,E,w,S)=>{u=u||Pt,a=a||Pt;const x=u.length,j=a.length,C=Math.min(x,j);let N;for(N=0;Nj?Se(u,b,y,!0,!1,C):Oe(a,p,_,b,y,E,w,S,C)},Xe=(u,a,p,_,b,y,E,w,S)=>{let x=0;const j=a.length;let C=u.length-1,N=j-1;for(;x<=C&&x<=N;){const H=u[x],V=a[x]=S?tt(a[x]):De(a[x]);if(jt(H,V))I(H,V,p,null,b,y,E,w,S);else break;x++}for(;x<=C&&x<=N;){const H=u[C],V=a[N]=S?tt(a[N]):De(a[N]);if(jt(H,V))I(H,V,p,null,b,y,E,w,S);else break;C--,N--}if(x>C){if(x<=N){const H=N+1,V=HN)for(;x<=C;)de(u[x],b,y,!0),x++;else{const H=x,V=x,X=new Map;for(x=V;x<=N;x++){const me=a[x]=S?tt(a[x]):De(a[x]);me.key!=null&&X.set(me.key,x)}let q,ge=0;const he=N-V+1;let Fe=!1,Le=0;const Lt=new Array(he);for(x=0;x=he){de(me,b,y,!0);continue}let Ne;if(me.key!=null)Ne=X.get(me.key);else for(q=V;q<=N;q++)if(Lt[q-V]===0&&jt(me,a[q])){Ne=q;break}Ne===void 0?de(me,b,y,!0):(Lt[Ne-V]=x+1,Ne>=Le?Le=Ne:Fe=!0,I(me,a[Ne],p,null,b,y,E,w,S),ge++)}const Ns=Fe?Sl(Lt):Pt;for(q=Ns.length-1,x=he-1;x>=0;x--){const me=V+x,Ne=a[me],js=me+1{const{el:y,type:E,transition:w,children:S,shapeFlag:x}=u;if(x&6){$e(u.component.subTree,a,p,_);return}if(x&128){u.suspense.move(a,p,_);return}if(x&64){E.move(u,a,p,F);return}if(E===we){s(y,a,p);for(let C=0;Cw.enter(y),b);else{const{leave:C,delayLeave:N,afterLeave:H}=w,V=()=>s(y,a,p),X=()=>{C(y,()=>{V(),H&&H()})};N?N(y,V,X):X()}else s(y,a,p)},de=(u,a,p,_=!1,b=!1)=>{const{type:y,props:E,ref:w,children:S,dynamicChildren:x,shapeFlag:j,patchFlag:C,dirs:N,cacheIndex:H}=u;if(C===-2&&(b=!1),w!=null&&_n(w,null,p,u,!0),H!=null&&(a.renderCache[H]=void 0),j&256){a.ctx.deactivate(u);return}const V=j&1&&N,X=!kt(u);let q;if(X&&(q=E&&E.onVnodeBeforeUnmount)&&je(q,a,u),j&6)rn(u.component,p,_);else{if(j&128){u.suspense.unmount(p,_);return}V&&ft(u,null,a,"beforeUnmount"),j&64?u.type.remove(u,a,p,F,_):x&&!x.hasOnce&&(y!==we||C>0&&C&64)?Se(x,a,p,!1,!0):(y===we&&C&384||!b&&j&16)&&Se(S,a,p),_&&bt(u)}(X&&(q=E&&E.onVnodeUnmounted)||V)&&_e(()=>{q&&je(q,a,u),V&&ft(u,null,a,"unmounted")},p)},bt=u=>{const{type:a,el:p,anchor:_,transition:b}=u;if(a===we){xt(p,_);return}if(a===Bn){$(u);return}const y=()=>{r(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:E,delayLeave:w}=b,S=()=>E(p,y);w?w(u.el,y,S):S()}else y()},xt=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},rn=(u,a,p)=>{const{bum:_,scope:b,job:y,subTree:E,um:w,m:S,a:x}=u;zs(S),zs(x),_&&un(_),b.stop(),y&&(y.flags|=8,de(E,u,a,p)),w&&_e(w,a),_e(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},Se=(u,a,p,_=!1,b=!1,y=0)=>{for(let E=y;E{if(u.shapeFlag&6)return v(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const a=g(u.anchor||u.el),p=a&&a[Wi];return p?g(p):a};let O=!1;const R=(u,a,p)=>{u==null?a._vnode&&de(a._vnode,null,null,!0):I(a._vnode||null,u,a,null,null,null,p),a._vnode=u,O||(O=!0,Vs(),fo(),O=!1)},F={p:I,um:de,m:$e,r:bt,mt:Ft,mc:Oe,pc:B,pbc:Ie,n:v,o:e};return{render:R,hydrate:void 0,createApp:dl(R)}}function Vn({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 at({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function xl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Oo(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Io(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Io(t)}function zs(e){if(e)for(let t=0;tTe(wl);function Wt(e,t,n){return Mo(e,t,n)}function Mo(e,t,n=Y){const{immediate:s,deep:r,flush:o,once:i}=n,l=ce({},n),c=t&&s||!t&&o!=="post";let d;if(Zt){if(o==="sync"){const m=El();d=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ue,m.resume=Ue,m.pause=Ue,m}}const f=ae;l.call=(m,A,I)=>Ve(m,f,A,I);let h=!1;o==="post"?l.scheduler=m=>{_e(m,f&&f.suspense)}:o!=="sync"&&(h=!0,l.scheduler=(m,A)=>{A?m():Cs(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const g=Ui(e,t,l);return Zt&&(d?d.push(g):c&&g()),g}function Rl(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?$o(s,e):()=>s[e]:e.bind(s,s);let o;U(t)?o=t:(o=t.handler,n=t);const i=sn(this),l=Mo(r,o.bind(s),n);return i(),l}function $o(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ot(t)}Modifiers`]||e[`${_t(t)}Modifiers`];function Cl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Y;let r=n;const o=t.startsWith("update:"),i=o&&Pl(s,t.slice(7));i&&(i.trim&&(r=n.map(f=>ne(f)?f.trim():f)),i.number&&(r=n.map(Jn)));let l,c=s[l=Ln(t)]||s[l=Ln(ot(t))];!c&&o&&(c=s[l=Ln(_t(t))]),c&&Ve(c,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ve(d,e,6,r)}}function Fo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!U(e)){const c=d=>{const f=Fo(d,t,!0);f&&(l=!0,ce(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ee(e)&&s.set(e,null),null):(D(o)?o.forEach(c=>i[c]=null):ce(i,o),ee(e)&&s.set(e,i),i)}function An(e,t){return!e||!xn(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,_t(t))||W(e,t))}function Js(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:d,renderCache:f,props:h,data:g,setupState:m,ctx:A,inheritAttrs:I}=e,M=mn(e);let P,T;try{if(n.shapeFlag&4){const $=r||s,J=$;P=De(d.call(J,$,f,h,m,g,A)),T=l}else{const $=t;P=De($.length>1?$(h,{attrs:l,slots:i,emit:c}):$(h,null)),T=t.props?l:Tl(l)}}catch($){qt.length=0,Cn($,e,1),P=xe(mt)}let L=P;if(T&&I!==!1){const $=Object.keys(T),{shapeFlag:J}=L;$.length&&J&7&&(o&&$.some(ps)&&(T=Al(T,o)),L=It(L,T,!1,!0))}return n.dirs&&(L=It(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&Ts(L,n.transition),P=L,mn(M),P}const Tl=e=>{let t;for(const n in e)(n==="class"||n==="style"||xn(n))&&((t||(t={}))[n]=e[n]);return t},Al=(e,t)=>{const n={};for(const s in e)(!ps(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ol(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Qs(s,i,d):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function Ml(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):ki(e)}const we=Symbol.for("v-fgt"),On=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),Bn=Symbol.for("v-stc"),qt=[];let be=null;function ye(e=!1){qt.push(be=e?null:[])}function $l(){qt.pop(),be=qt[qt.length-1]||null}let Xt=1;function Ys(e,t=!1){Xt+=e,e<0&&be&&t&&(be.hasOnce=!0)}function No(e){return e.dynamicChildren=Xt>0?be||Pt:null,$l(),Xt>0&&be&&be.push(e),e}function We(e,t,n,s,r,o){return No(G(e,t,n,s,r,o,!0))}function In(e,t,n,s,r){return No(xe(e,t,n,s,r,!0))}function yn(e){return e?e.__v_isVNode===!0:!1}function jt(e,t){return e.type===t.type&&e.key===t.key}const jo=({key:e})=>e??null,an=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||le(e)||U(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function G(e,t=null,n=null,s=0,r=null,o=e===we?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jo(t),ref:t&&an(t),scopeId:ho,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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ee};return l?(Is(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Xt>0&&!i&&be&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&be.push(c),c}const xe=Fl;function Fl(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===rl)&&(e=mt),yn(e)){const l=It(e,t,!0);return n&&Is(l,n),Xt>0&&!o&&be&&(l.shapeFlag&6?be[be.indexOf(e)]=l:be.push(l)),l.patchFlag=-2,l}if(ql(e)&&(e=e.__vccOpts),t){t=Ll(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=vs(l)),ee(c)&&(Rs(c)&&!D(c)&&(c=ce({},c)),t.style=_s(c))}const i=ne(e)?1:Lo(e)?128:qi(e)?64:ee(e)?4:U(e)?2:0;return G(e,t,n,s,r,i,o,!0)}function Ll(e){return e?Rs(e)||wo(e)?ce({},e):e:null}function It(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,d=t?Hl(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&jo(d),ref:t&&t.ref?n&&o?D(o)?o.concat(an(t)):[o,an(t)]:an(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&It(e.ssContent),ssFallback:e.ssFallback&&It(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ts(f,c.clone(f)),f}function Nl(e=" ",t=0){return xe(On,null,e,t)}function jl(e="",t=!1){return t?(ye(),In(mt,null,e)):xe(mt,null,e)}function De(e){return e==null||typeof e=="boolean"?xe(mt):D(e)?xe(we,null,e.slice()):yn(e)?tt(e):xe(On,null,String(e))}function tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:It(e)}function Is(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Is(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!wo(t)?t._ctx=Ee:r===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),s&64?(n=16,t=[Nl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Hl(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};bn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),is=t("__VUE_SSR_SETTERS__",n=>Zt=n)}const sn=e=>{const t=ae;return bn(e),e.scope.on(),()=>{e.scope.off(),bn(t)}},Xs=()=>{ae&&ae.scope.off(),bn(null)};function Ho(e){return e.vnode.shapeFlag&4}let Zt=!1;function Bl(e,t=!1,n=!1){t&&is(t);const{props:s,children:r}=e.vnode,o=Ho(e);hl(e,s,o,t),_l(e,r,n);const i=o?kl(e,t):void 0;return t&&is(!1),i}function kl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ol);const{setup:s}=n;if(s){lt();const r=e.setupContext=s.length>1?Wl(e):null,o=sn(e),i=nn(s,e,0,[e.props,r]),l=Fr(i);if(ct(),o(),(l||e.sp)&&!kt(e)&&po(e),l){if(i.then(Xs,Xs),t)return i.then(c=>{Zs(e,c)}).catch(c=>{Cn(c,e,0)});e.asyncDep=i}else Zs(e,i)}else Do(e)}function Zs(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=lo(t)),Do(e)}function Do(e,t,n){const s=e.type;e.render||(e.render=s.render||Ue);{const r=sn(e);lt();try{il(e)}finally{ct(),r()}}}const Kl={get(e,t){return oe(e,"get",""),e[t]}};function Wl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Kl),slots:e.slots,emit:e.emit,expose:t}}function Mn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(lo(oo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Kt)return Kt[n](e)},has(t,n){return n in t||n in Kt}})):e.proxy}function ql(e){return U(e)&&"__vccOpts"in e}const Pe=(e,t)=>Hi(e,t,Zt);function Uo(e,t,n){const s=arguments.length;return s===2?ee(t)&&!D(t)?yn(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&yn(n)&&(n=[n]),xe(e,t,n))}const Gl="3.5.13";/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let ls;const er=typeof window<"u"&&window.trustedTypes;if(er)try{ls=er.createPolicy("vue",{createHTML:e=>e})}catch{}const Bo=ls?e=>ls.createHTML(e):e=>e,zl="http://www.w3.org/2000/svg",Jl="http://www.w3.org/1998/Math/MathML",qe=typeof document<"u"?document:null,tr=qe&&qe.createElement("template"),Ql={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?qe.createElementNS(zl,e):t==="mathml"?qe.createElementNS(Jl,e):n?qe.createElement(e,{is:n}):qe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>qe.createTextNode(e),createComment:e=>qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{tr.innerHTML=Bo(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=tr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yl=Symbol("_vtc");function Xl(e,t,n){const s=e[Yl];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const nr=Symbol("_vod"),Zl=Symbol("_vsh"),ec=Symbol(""),tc=/(^|;)\s*display\s*:/;function nc(e,t,n){const s=e.style,r=ne(n);let o=!1;if(n&&!r){if(t)if(ne(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&dn(s,l,"")}else for(const i in t)n[i]==null&&dn(s,i,"");for(const i in n)i==="display"&&(o=!0),dn(s,i,n[i])}else if(r){if(t!==n){const i=s[ec];i&&(n+=";"+i),s.cssText=n,o=tc.test(n)}}else t&&e.removeAttribute("style");nr in e&&(e[nr]=o?s.display:"",e[Zl]&&(s.display="none"))}const sr=/\s*!important$/;function dn(e,t,n){if(D(n))n.forEach(s=>dn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=sc(e,t);sr.test(n)?e.setProperty(_t(s),n.replace(sr,""),"important"):e[s]=n}}const rr=["Webkit","Moz","ms"],kn={};function sc(e,t){const n=kn[t];if(n)return n;let s=ot(t);if(s!=="filter"&&s in e)return kn[t]=s;s=jr(s);for(let r=0;rKn||(lc.then(()=>Kn=0),Kn=Date.now());function uc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Be(fc(s,n.value),t,5,[s])};return n.value=e,n.attached=cc(),n}function fc(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ac=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Xl(e,s,i):t==="style"?nc(e,n,s):xn(t)?ps(t)||oc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):dc(e,t,s,i))?(lr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ir(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ne(s))?lr(e,ot(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ir(e,t,s,i))};function dc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&fr(t)&&U(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return fr(t)&&ne(n)?!1:t in e}const ar=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>un(t,n):t};function hc(e){e.target.composing=!0}function dr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Wn=Symbol("_assign"),cs={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Wn]=ar(r);const o=s||r.props&&r.props.type==="number";Et(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Jn(l)),e[Wn](l)}),n&&Et(e,"change",()=>{e.value=e.value.trim()}),t||(Et(e,"compositionstart",hc),Et(e,"compositionend",dr),Et(e,"change",dr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Wn]=ar(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Jn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},pc=["ctrl","shift","alt","meta"],gc={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)=>pc.some(n=>e[`${n}Key`]&&!t.includes(n))},Vo=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const t=_c().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=bc(s);if(!r)return;const o=t._component;!U(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,yc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function yc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function bc(e){return ne(e)?document.querySelector(e):e}/*! +**/let ls;const er=typeof window<"u"&&window.trustedTypes;if(er)try{ls=er.createPolicy("vue",{createHTML:e=>e})}catch{}const Vo=ls?e=>ls.createHTML(e):e=>e,zl="http://www.w3.org/2000/svg",Jl="http://www.w3.org/1998/Math/MathML",qe=typeof document<"u"?document:null,tr=qe&&qe.createElement("template"),Ql={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?qe.createElementNS(zl,e):t==="mathml"?qe.createElementNS(Jl,e):n?qe.createElement(e,{is:n}):qe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>qe.createTextNode(e),createComment:e=>qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{tr.innerHTML=Vo(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=tr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yl=Symbol("_vtc");function Xl(e,t,n){const s=e[Yl];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const nr=Symbol("_vod"),Zl=Symbol("_vsh"),ec=Symbol(""),tc=/(^|;)\s*display\s*:/;function nc(e,t,n){const s=e.style,r=ne(n);let o=!1;if(n&&!r){if(t)if(ne(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&dn(s,l,"")}else for(const i in t)n[i]==null&&dn(s,i,"");for(const i in n)i==="display"&&(o=!0),dn(s,i,n[i])}else if(r){if(t!==n){const i=s[ec];i&&(n+=";"+i),s.cssText=n,o=tc.test(n)}}else t&&e.removeAttribute("style");nr in e&&(e[nr]=o?s.display:"",e[Zl]&&(s.display="none"))}const sr=/\s*!important$/;function dn(e,t,n){if(D(n))n.forEach(s=>dn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=sc(e,t);sr.test(n)?e.setProperty(_t(s),n.replace(sr,""),"important"):e[s]=n}}const rr=["Webkit","Moz","ms"],kn={};function sc(e,t){const n=kn[t];if(n)return n;let s=ot(t);if(s!=="filter"&&s in e)return kn[t]=s;s=jr(s);for(let r=0;rKn||(lc.then(()=>Kn=0),Kn=Date.now());function uc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ve(fc(s,n.value),t,5,[s])};return n.value=e,n.attached=cc(),n}function fc(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ac=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Xl(e,s,i):t==="style"?nc(e,n,s):xn(t)?ps(t)||oc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):dc(e,t,s,i))?(lr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ir(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ne(s))?lr(e,ot(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ir(e,t,s,i))};function dc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&fr(t)&&U(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return fr(t)&&ne(n)?!1:t in e}const ar=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>un(t,n):t};function hc(e){e.target.composing=!0}function dr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Wn=Symbol("_assign"),cs={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Wn]=ar(r);const o=s||r.props&&r.props.type==="number";Et(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Jn(l)),e[Wn](l)}),n&&Et(e,"change",()=>{e.value=e.value.trim()}),t||(Et(e,"compositionstart",hc),Et(e,"compositionend",dr),Et(e,"change",dr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Wn]=ar(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Jn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},pc=["ctrl","shift","alt","meta"],gc={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)=>pc.some(n=>e[`${n}Key`]&&!t.includes(n))},Bo=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const t=_c().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=bc(s);if(!r)return;const o=t._component;!U(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,yc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function yc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function bc(e){return ne(e)?document.querySelector(e):e}/*! * pinia v3.0.2 * (c) 2025 Eduardo San Martin Morote * @license MIT @@ -23,4 +23,4 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AboutView-QKow2 * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const Rt=typeof document<"u";function ko(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ko(e.default)}const k=Object.assign;function qn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ae(r)?r.map(e):e(r)}return n}const Gt=()=>{},Ae=Array.isArray,Ko=/#/g,Ec=/&/g,Rc=/\//g,Pc=/=/g,Cc=/\?/g,Wo=/\+/g,Tc=/%5B/g,Ac=/%5D/g,qo=/%5E/g,Oc=/%60/g,Go=/%7B/g,Ic=/%7C/g,zo=/%7D/g,Mc=/%20/g;function Ms(e){return encodeURI(""+e).replace(Ic,"|").replace(Tc,"[").replace(Ac,"]")}function $c(e){return Ms(e).replace(Go,"{").replace(zo,"}").replace(qo,"^")}function us(e){return Ms(e).replace(Wo,"%2B").replace(Mc,"+").replace(Ko,"%23").replace(Ec,"%26").replace(Oc,"`").replace(Go,"{").replace(zo,"}").replace(qo,"^")}function Fc(e){return us(e).replace(Pc,"%3D")}function Lc(e){return Ms(e).replace(Ko,"%23").replace(Cc,"%3F")}function Nc(e){return e==null?"":Lc(e).replace(Rc,"%2F")}function en(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const jc=/\/$/,Hc=e=>e.replace(jc,"");function Gn(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Vc(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:en(i)}}function Dc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function gr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Uc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Mt(t.matched[s],n.matched[r])&&Jo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Mt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Bc(e[n],t[n]))return!1;return!0}function Bc(e,t){return Ae(e)?mr(e,t):Ae(t)?mr(t,e):e===t}function mr(e,t){return Ae(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Vc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var tn;(function(e){e.pop="pop",e.push="push"})(tn||(tn={}));var zt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zt||(zt={}));function kc(e){if(!e)if(Rt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Hc(e)}const Kc=/^[^#]+#/;function Wc(e,t){return e.replace(Kc,"#")+t}function qc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const $n=()=>({left:window.scrollX,top:window.scrollY});function Gc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=qc(r,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 _r(e,t){return(history.state?history.state.position-t:-1)+e}const fs=new Map;function zc(e,t){fs.set(e,t)}function Jc(e){const t=fs.get(e);return fs.delete(e),t}let Qc=()=>location.protocol+"//"+location.host;function Qo(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),gr(c,"")}return gr(n,e)+s+r}function Yc(e,t,n,s){let r=[],o=[],i=null;const l=({state:g})=>{const m=Qo(e,location),A=n.value,I=t.value;let M=0;if(g){if(n.value=m,t.value=g,i&&i===A){i=null;return}M=I?g.position-I.position:0}else s(m);r.forEach(P=>{P(n.value,A,{delta:M,type:tn.pop,direction:M?M>0?zt.forward:zt.back:zt.unknown})})};function c(){i=n.value}function d(g){r.push(g);const m=()=>{const A=r.indexOf(g);A>-1&&r.splice(A,1)};return o.push(m),m}function f(){const{history:g}=window;g.state&&g.replaceState(k({},g.state,{scroll:$n()}),"")}function h(){for(const g of o)g();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function vr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?$n():null}}function Xc(e){const{history:t,location:n}=window,s={value:Qo(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,d,f){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:Qc()+e+c;try{t[f?"replaceState":"pushState"](d,"",g),r.value=d}catch(m){console.error(m),n[f?"replace":"assign"](g)}}function i(c,d){const f=k({},t.state,vr(r.value.back,c,r.value.forward,!0),d,{position:r.value.position});o(c,f,!0),s.value=c}function l(c,d){const f=k({},r.value,t.state,{forward:c,scroll:$n()});o(f.current,f,!0);const h=k({},vr(s.value,c,null),{position:f.position+1},d);o(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Zc(e){e=kc(e);const t=Xc(e),n=Yc(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=k({location:"",base:e,go:s,createHref:Wc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function eu(e){return typeof e=="string"||e&&typeof e=="object"}function Yo(e){return typeof e=="string"||typeof e=="symbol"}const Xo=Symbol("");var yr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yr||(yr={}));function $t(e,t){return k(new Error,{type:e,[Xo]:!0},t)}function Ke(e,t){return e instanceof Error&&Xo in e&&(t==null||!!(e.type&t))}const br="[^/]+?",tu={sensitive:!1,strict:!1,start:!0,end:!0},nu=/[.+*?^${}()[\]/\\]/g;function su(e,t){const n=k({},tu,t),s=[];let r=n.start?"^":"";const o=[];for(const d of e){const f=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function Zo(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ou={type:0,value:""},iu=/[a-zA-Z0-9_]/;function lu(e){if(!e)return[[]];if(e==="/")return[[ou]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${d}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,d="",f="";function h(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function g(){d+=c}for(;l{i(L)}:Gt}function i(h){if(Yo(h)){const g=s.get(h);g&&(s.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(i),g.alias.forEach(i))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function l(){return n}function c(h){const g=du(h,n);n.splice(g,0,h),h.record.name&&!Er(h)&&s.set(h.record.name,h)}function d(h,g){let m,A={},I,M;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw $t(1,{location:h});M=m.record.name,A=k(Sr(g.params,m.keys.filter(L=>!L.optional).concat(m.parent?m.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),h.params&&Sr(h.params,m.keys.map(L=>L.name))),I=m.stringify(A)}else if(h.path!=null)I=h.path,m=n.find(L=>L.re.test(I)),m&&(A=m.parse(I),M=m.record.name);else{if(m=g.name?s.get(g.name):n.find(L=>L.re.test(g.path)),!m)throw $t(1,{location:h,currentLocation:g});M=m.record.name,A=k({},g.params,h.params),I=m.stringify(A)}const P=[];let T=m;for(;T;)P.unshift(T.record),T=T.parent;return{name:M,path:I,params:A,matched:P,meta:au(P)}}e.forEach(h=>o(h));function f(){n.length=0,s.clear()}return{addRoute:o,resolve:d,removeRoute:i,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Sr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function wr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:fu(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 fu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Er(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function au(e){return e.reduce((t,n)=>k(t,n.meta),{})}function Rr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function du(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Zo(e,t[o])<0?s=o:n=o+1}const r=hu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function hu(e){let t=e;for(;t=t.parent;)if(ei(t)&&Zo(e,t)===0)return t}function ei({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pu(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&us(o)):[s&&us(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function gu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ae(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const mu=Symbol(""),Cr=Symbol(""),Fn=Symbol(""),$s=Symbol(""),as=Symbol("");function Ht(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function nt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=g=>{g===!1?c($t(4,{from:n,to:t})):g instanceof Error?c(g):eu(g)?c($t(2,{from:t,to:g})):(i&&s.enterCallbacks[r]===i&&typeof g=="function"&&i.push(g),l())},f=o(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(f);e.length<3&&(h=h.then(d)),h.catch(g=>c(g))})}function zn(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(ko(c)){const f=(c.__vccOpts||c)[t];f&&o.push(nt(f,n,s,i,l,r))}else{let d=c();o.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const h=wc(f)?f.default:f;i.mods[l]=f,i.components[l]=h;const m=(h.__vccOpts||h)[t];return m&&nt(m,n,s,i,l,r)()}))}}return o}function Tr(e){const t=Te(Fn),n=Te($s),s=Pe(()=>{const c=pt(e.to);return t.resolve(c)}),r=Pe(()=>{const{matched:c}=s.value,{length:d}=c,f=c[d-1],h=n.matched;if(!f||!h.length)return-1;const g=h.findIndex(Mt.bind(null,f));if(g>-1)return g;const m=Ar(c[d-2]);return d>1&&Ar(f)===m&&h[h.length-1].path!==m?h.findIndex(Mt.bind(null,c[d-2])):g}),o=Pe(()=>r.value>-1&&xu(n.params,s.value.params)),i=Pe(()=>r.value>-1&&r.value===n.matched.length-1&&Jo(n.params,s.value.params));function l(c={}){if(bu(c)){const d=t[pt(e.replace)?"replace":"push"](pt(e.to)).catch(Gt);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:Pe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function _u(e){return e.length===1?e[0]:e}const vu=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:Tr,setup(e,{slots:t}){const n=Pn(Tr(e)),{options:s}=Te(Fn),r=Pe(()=>({[Or(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Or(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&_u(t.default(n));return e.custom?o:Uo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),yu=vu;function bu(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 xu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ae(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Ar(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Or=(e,t,n)=>e??t??n,Su=vt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Te(as),r=Pe(()=>e.route||s.value),o=Te(Cr,0),i=Pe(()=>{let d=pt(o);const{matched:f}=r.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),l=Pe(()=>r.value.matched[i.value]);fn(Cr,Pe(()=>i.value+1)),fn(mu,l),fn(as,r);const c=pe();return Wt(()=>[c.value,l.value,e.name],([d,f,h],[g,m,A])=>{f&&(f.instances[h]=d,m&&m!==f&&d&&d===g&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),d&&f&&(!m||!Mt(f,m)||!g)&&(f.enterCallbacks[h]||[]).forEach(I=>I(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,h=l.value,g=h&&h.components[f];if(!g)return Ir(n.default,{Component:g,route:d});const m=h.props[f],A=m?m===!0?d.params:typeof m=="function"?m(d):m:null,M=Uo(g,k({},A,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return Ir(n.default,{Component:M,route:d})||M}}});function Ir(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ti=Su;function wu(e){const t=uu(e.routes,e),n=e.parseQuery||pu,s=e.stringifyQuery||Pr,r=e.history,o=Ht(),i=Ht(),l=Ht(),c=Fi(Ze);let d=Ze;Rt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=qn.bind(null,v=>""+v),h=qn.bind(null,Nc),g=qn.bind(null,en);function m(v,O){let R,F;return Yo(v)?(R=t.getRecordMatcher(v),F=O):F=v,t.addRoute(F,R)}function A(v){const O=t.getRecordMatcher(v);O&&t.removeRoute(O)}function I(){return t.getRoutes().map(v=>v.record)}function M(v){return!!t.getRecordMatcher(v)}function P(v,O){if(O=k({},O||c.value),typeof v=="string"){const p=Gn(n,v,O.path),_=t.resolve({path:p.path},O),b=r.createHref(p.fullPath);return k(p,_,{params:g(_.params),hash:en(p.hash),redirectedFrom:void 0,href:b})}let R;if(v.path!=null)R=k({},v,{path:Gn(n,v.path,O.path).path});else{const p=k({},v.params);for(const _ in p)p[_]==null&&delete p[_];R=k({},v,{params:h(p)}),O.params=h(O.params)}const F=t.resolve(R,O),Q=v.hash||"";F.params=f(g(F.params));const u=Dc(s,k({},v,{hash:$c(Q),path:F.path})),a=r.createHref(u);return k({fullPath:u,hash:Q,query:s===Pr?gu(v.query):v.query||{}},F,{redirectedFrom:void 0,href:a})}function T(v){return typeof v=="string"?Gn(n,v,c.value.path):k({},v)}function L(v,O){if(d!==v)return $t(8,{from:O,to:v})}function $(v){return te(v)}function J(v){return $(k(T(v),{replace:!0}))}function re(v){const O=v.matched[v.matched.length-1];if(O&&O.redirect){const{redirect:R}=O;let F=typeof R=="function"?R(v):R;return typeof F=="string"&&(F=F.includes("?")||F.includes("#")?F=T(F):{path:F},F.params={}),k({query:v.query,hash:v.hash,params:F.path!=null?{}:v.params},F)}}function te(v,O){const R=d=P(v),F=c.value,Q=v.state,u=v.force,a=v.replace===!0,p=re(R);if(p)return te(k(T(p),{state:typeof p=="object"?k({},Q,p.state):Q,force:u,replace:a}),O||R);const _=R;_.redirectedFrom=O;let b;return!u&&Uc(s,F,R)&&(b=$t(16,{to:_,from:F}),$e(F,F,!0,!1)),(b?Promise.resolve(b):Ie(_,F)).catch(y=>Ke(y)?Ke(y,2)?y:Xe(y):V(y,_,F)).then(y=>{if(y){if(Ke(y,2))return te(k({replace:a},T(y.to),{state:typeof y.to=="object"?k({},Q,y.to.state):Q,force:u}),O||_)}else y=ut(_,F,!0,a,Q);return Ye(_,F,y),y})}function Oe(v,O){const R=L(v,O);return R?Promise.reject(R):Promise.resolve()}function Qe(v){const O=xt.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(v):v()}function Ie(v,O){let R;const[F,Q,u]=Eu(v,O);R=zn(F.reverse(),"beforeRouteLeave",v,O);for(const p of F)p.leaveGuards.forEach(_=>{R.push(nt(_,v,O))});const a=Oe.bind(null,v,O);return R.push(a),Se(R).then(()=>{R=[];for(const p of o.list())R.push(nt(p,v,O));return R.push(a),Se(R)}).then(()=>{R=zn(Q,"beforeRouteUpdate",v,O);for(const p of Q)p.updateGuards.forEach(_=>{R.push(nt(_,v,O))});return R.push(a),Se(R)}).then(()=>{R=[];for(const p of u)if(p.beforeEnter)if(Ae(p.beforeEnter))for(const _ of p.beforeEnter)R.push(nt(_,v,O));else R.push(nt(p.beforeEnter,v,O));return R.push(a),Se(R)}).then(()=>(v.matched.forEach(p=>p.enterCallbacks={}),R=zn(u,"beforeRouteEnter",v,O,Qe),R.push(a),Se(R))).then(()=>{R=[];for(const p of i.list())R.push(nt(p,v,O));return R.push(a),Se(R)}).catch(p=>Ke(p,8)?p:Promise.reject(p))}function Ye(v,O,R){l.list().forEach(F=>Qe(()=>F(v,O,R)))}function ut(v,O,R,F,Q){const u=L(v,O);if(u)return u;const a=O===Ze,p=Rt?history.state:{};R&&(F||a?r.replace(v.fullPath,k({scroll:a&&p&&p.scroll},Q)):r.push(v.fullPath,Q)),c.value=v,$e(v,O,R,a),Xe()}let Me;function Ft(){Me||(Me=r.listen((v,O,R)=>{if(!rn.listening)return;const F=P(v),Q=re(F);if(Q){te(k(Q,{replace:!0,force:!0}),F).catch(Gt);return}d=F;const u=c.value;Rt&&zc(_r(u.fullPath,R.delta),$n()),Ie(F,u).catch(a=>Ke(a,12)?a:Ke(a,2)?(te(k(T(a.to),{force:!0}),F).then(p=>{Ke(p,20)&&!R.delta&&R.type===tn.pop&&r.go(-1,!1)}).catch(Gt),Promise.reject()):(R.delta&&r.go(-R.delta,!1),V(a,F,u))).then(a=>{a=a||ut(F,u,!1),a&&(R.delta&&!Ke(a,8)?r.go(-R.delta,!1):R.type===tn.pop&&Ke(a,20)&&r.go(-1,!1)),Ye(F,u,a)}).catch(Gt)}))}let yt=Ht(),se=Ht(),z;function V(v,O,R){Xe(v);const F=se.list();return F.length?F.forEach(Q=>Q(v,O,R)):console.error(v),Promise.reject(v)}function Ve(){return z&&c.value!==Ze?Promise.resolve():new Promise((v,O)=>{yt.add([v,O])})}function Xe(v){return z||(z=!v,Ft(),yt.list().forEach(([O,R])=>v?R(v):O()),yt.reset()),v}function $e(v,O,R,F){const{scrollBehavior:Q}=e;if(!Rt||!Q)return Promise.resolve();const u=!R&&Jc(_r(v.fullPath,0))||(F||!R)&&history.state&&history.state.scroll||null;return Ps().then(()=>Q(v,O,u)).then(a=>a&&Gc(a)).catch(a=>V(a,v,O))}const de=v=>r.go(v);let bt;const xt=new Set,rn={currentRoute:c,listening:!0,addRoute:m,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:M,getRoutes:I,resolve:P,options:e,push:$,replace:J,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:se.add,isReady:Ve,install(v){const O=this;v.component("RouterLink",yu),v.component("RouterView",ti),v.config.globalProperties.$router=O,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>pt(c)}),Rt&&!bt&&c.value===Ze&&(bt=!0,$(r.location).catch(Q=>{}));const R={};for(const Q in Ze)Object.defineProperty(R,Q,{get:()=>c.value[Q],enumerable:!0});v.provide(Fn,O),v.provide($s,so(R)),v.provide(as,c);const F=v.unmount;xt.add(v),v.unmount=function(){xt.delete(v),xt.size<1&&(d=Ze,Me&&Me(),Me=null,c.value=Ze,bt=!1,z=!1),F()}}};function Se(v){return v.reduce((O,R)=>O.then(()=>Qe(R)),Promise.resolve())}return rn}function Eu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iMt(d,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(d=>Mt(d,c))||r.push(c))}return[n,s,r]}function ni(){return Te(Fn)}function Ru(e){return Te($s)}const Pu=vt({__name:"App",setup(e){return(t,n)=>(ye(),In(pt(ti)))}}),Fs=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Cu=Fs(Pu,[["__scopeId","data-v-913ef6b1"]]),Tu="modulepreload",Au=function(e){return"/"+e},Mr={},Ou=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=i(n.map(d=>{if(d=Au(d),d in Mr)return;Mr[d]=!0;const f=d.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${h}`))return;const g=document.createElement("link");if(g.rel=f?"stylesheet":Tu,f||(g.as="script"),g.crossOrigin="",g.href=d,c&&g.setAttribute("nonce",c),document.head.appendChild(g),f)return new Promise((m,A)=>{g.addEventListener("load",m),g.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Iu="/assets/logo-BnUTTh_g.png";function hn(e){const t="http://"+window.location.host.split(":")[0]+":8090"+e;return console.log(t),t}function ds(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16))))}const Mu={class:"body-custom"},$u={class:"form-custom form-block"},Fu={class:"center-block-custom"},Lu=["disabled"],Nu={class:"button-container"},ju={class:"second-color info-custom"},Hu=["disabled"],Du={class:"center-block-custom"},Uu={key:0},Bu={key:1},Vu={class:"message-cloud"},ku={class:"message-header"},Ku={class:"message-content"},Wu={key:0,class:"hr"},qu=vt({__name:"GameWindow",setup(e){const t=ni(),n=Ru(),s=pe(""),r=pe(""),o=pe(""),i=pe({name:"",actions:[]}),l=pe([]),c=pe(),d=pe("STOP"),f=pe("");function h(){fetch(hn("/team"),{method:"GET",headers:{"X-Id":ds(s.value),"X-Password":r.value}}).then(M=>{if(M.status==401){t.push("/login");return}return M.json()}).then(M=>{var T;i.value=M;const P=(T=i.value)==null?void 0:T.actions;l.value.length!==(P==null?void 0:P.length)&&(l.value=P)}).catch(M=>{console.error("Ошибка:",M)})}function g(){fetch(hn("/team/actions"),{method:"POST",headers:{"X-Id":ds(s.value),"X-Password":r.value},body:JSON.stringify({place:o.value})}).then(async()=>{o.value=""})}const m=async(M="smooth")=>{await Ps(),c.value&&c.value.scrollTo({top:c.value.scrollHeight,behavior:M})};function A(){fetch(hn("/game")).then(M=>M.json()).then(M=>{d.value=M.state,M.state==="NEW"&&(f.value="Игра ещё не началась"),M.state==="RUN"&&(f.value=""),M.state==="STOP"&&(f.value="Игра остановлена")}).catch(M=>{console.error("Ошибка:",M)})}Wt(l,()=>{m()},{deep:!0});let I=0;return As(()=>{var M,P;s.value=sessionStorage.getItem("teamId")||"",r.value=sessionStorage.getItem("password")||"",s.value==""&&(s.value=((M=n.query.name)==null?void 0:M.toString())||"",r.value=((P=n.query.password)==null?void 0:P.toString())||"",sessionStorage.setItem("teamId",s.value),sessionStorage.setItem("password",r.value)),h(),I=setInterval(()=>{h(),A()},2e3),t.beforeEach((T,L,$)=>{clearInterval(I),$()})}),(M,P)=>(ye(),We("div",Mu,[P[3]||(P[3]=G("img",{alt:"Вечерний детектив",class:"logo",src:Iu,width:"40",height:"40"},null,-1)),P[4]||(P[4]=G("div",{class:"header-block"}," Вечерний детектив ",-1)),G("div",$u,[G("div",Fu,[G("form",{onSubmit:Vo(g,["prevent"])},[G("div",null,[ts(G("input",{class:"input-custom","onUpdate:modelValue":P[0]||(P[0]=T=>o.value=T),type:"text",placeholder:"Место назначения (А-1, а-1, а1)",disabled:d.value!=="RUN"},null,8,Lu),[[cs,o.value]])]),G("div",Nu,[G("div",ju,st(f.value),1),G("button",{class:"button-custom",type:"submit",disabled:d.value!=="RUN"},"Поехали",8,Hu)])],32)])]),G("div",{class:"messages-block",ref_key:"scrollContainer",ref:c},[G("div",Du,[!i.value||!i.value.actions.length?(ye(),We("div",Uu,P[1]||(P[1]=[G("div",{class:"center-message"}," Пора решать загадку ",-1)]))):(ye(),We("div",Bu,[(ye(!0),We(we,null,Vs(i.value.actions,T=>(ye(),We("div",{key:T.id},[G("div",Vu,[G("div",ku,st(T.place)+": "+st(T.name),1),P[2]||(P[2]=G("hr",{class:"hr"},null,-1)),G("div",Ku,st(T.text),1),T.applications.length?(ye(),We("hr",Wu)):jl("",!0),(ye(!0),We(we,null,Vs(T.applications,L=>(ye(),We("div",{class:"message-footer",key:L.name}," Приложение: "+st(L.name),1))),128))])]))),128))]))])],512)]))}}),Gu=Fs(qu,[["__scopeId","data-v-4c98eada"]]),zu=vt({__name:"HomeView",setup(e){return(t,n)=>(ye(),In(Gu))}}),Ju={class:"center-message"},Qu={class:"button-container"},Yu={class:"button-custom",type:"submit"},Xu={class:"error-message"},Zu=vt({__name:"LoginWindow",setup(e){const t=ni(),n=pe(""),s=pe(""),r=pe("Вход"),o=pe("");function i(){const l=r.value;r.value="Загрузка...",o.value="",fetch(hn("/team"),{method:"GET",headers:{"X-Id":ds(n.value),"X-Password":s.value}}).then(c=>{if(c.status==200){sessionStorage.setItem("teamId",n.value),sessionStorage.setItem("password",s.value),t.push("/");return}if(c.status==401){if(n.value==""&&s.value=="")return;o.value="Не верны название команды или пароль";return}o.value="ХЗ что это "+c}).catch(()=>{o.value="Сервер не доступен"}).finally(()=>{r.value=l})}return As(()=>{n.value=sessionStorage.getItem("teamId")||"",s.value=sessionStorage.getItem("password")||"",i()}),(l,c)=>(ye(),We(we,null,[c[2]||(c[2]=G("div",{class:"header-block"}," Вечерний детектив ",-1)),G("div",Ju,[G("form",{onSubmit:Vo(i,["prevent"])},[G("div",null,[ts(G("input",{class:"input-custom","onUpdate:modelValue":c[0]||(c[0]=d=>n.value=d),type:"text",placeholder:"Название команды"},null,512),[[cs,n.value]])]),G("div",null,[ts(G("input",{class:"input-custom","onUpdate:modelValue":c[1]||(c[1]=d=>s.value=d),type:"text",placeholder:"Пароль",autocapitalize:"off"},null,512),[[cs,s.value]])]),G("div",Qu,[G("button",Yu,st(r.value),1)]),G("div",Xu,st(o.value),1)],32)])],64))}}),ef=Fs(Zu,[["__scopeId","data-v-13746d20"]]),tf=vt({__name:"LoginView",setup(e){return(t,n)=>(ye(),In(ef))}}),nf=wu({history:Zc("/"),routes:[{path:"/",name:"home",component:zu},{path:"/login",name:"login",component:tf},{path:"/about",name:"about",component:()=>Ou(()=>import("./AboutView-QKow2O0u.js"),__vite__mapDeps([0,1]))}]}),Ls=vc(Cu);Ls.use(Sc());Ls.use(nf);Ls.mount("#app");export{Fs as _,G as a,We as c,ye as o}; + */const Rt=typeof document<"u";function ko(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ko(e.default)}const k=Object.assign;function qn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ae(r)?r.map(e):e(r)}return n}const Gt=()=>{},Ae=Array.isArray,Ko=/#/g,Ec=/&/g,Rc=/\//g,Pc=/=/g,Cc=/\?/g,Wo=/\+/g,Tc=/%5B/g,Ac=/%5D/g,qo=/%5E/g,Oc=/%60/g,Go=/%7B/g,Ic=/%7C/g,zo=/%7D/g,Mc=/%20/g;function Ms(e){return encodeURI(""+e).replace(Ic,"|").replace(Tc,"[").replace(Ac,"]")}function $c(e){return Ms(e).replace(Go,"{").replace(zo,"}").replace(qo,"^")}function us(e){return Ms(e).replace(Wo,"%2B").replace(Mc,"+").replace(Ko,"%23").replace(Ec,"%26").replace(Oc,"`").replace(Go,"{").replace(zo,"}").replace(qo,"^")}function Fc(e){return us(e).replace(Pc,"%3D")}function Lc(e){return Ms(e).replace(Ko,"%23").replace(Cc,"%3F")}function Nc(e){return e==null?"":Lc(e).replace(Rc,"%2F")}function en(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const jc=/\/$/,Hc=e=>e.replace(jc,"");function Gn(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Bc(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:en(i)}}function Dc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function gr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Uc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Mt(t.matched[s],n.matched[r])&&Jo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Mt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Vc(e[n],t[n]))return!1;return!0}function Vc(e,t){return Ae(e)?mr(e,t):Ae(t)?mr(t,e):e===t}function mr(e,t){return Ae(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Bc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var tn;(function(e){e.pop="pop",e.push="push"})(tn||(tn={}));var zt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zt||(zt={}));function kc(e){if(!e)if(Rt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Hc(e)}const Kc=/^[^#]+#/;function Wc(e,t){return e.replace(Kc,"#")+t}function qc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const $n=()=>({left:window.scrollX,top:window.scrollY});function Gc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=qc(r,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 _r(e,t){return(history.state?history.state.position-t:-1)+e}const fs=new Map;function zc(e,t){fs.set(e,t)}function Jc(e){const t=fs.get(e);return fs.delete(e),t}let Qc=()=>location.protocol+"//"+location.host;function Qo(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),gr(c,"")}return gr(n,e)+s+r}function Yc(e,t,n,s){let r=[],o=[],i=null;const l=({state:g})=>{const m=Qo(e,location),A=n.value,I=t.value;let M=0;if(g){if(n.value=m,t.value=g,i&&i===A){i=null;return}M=I?g.position-I.position:0}else s(m);r.forEach(P=>{P(n.value,A,{delta:M,type:tn.pop,direction:M?M>0?zt.forward:zt.back:zt.unknown})})};function c(){i=n.value}function d(g){r.push(g);const m=()=>{const A=r.indexOf(g);A>-1&&r.splice(A,1)};return o.push(m),m}function f(){const{history:g}=window;g.state&&g.replaceState(k({},g.state,{scroll:$n()}),"")}function h(){for(const g of o)g();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function vr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?$n():null}}function Xc(e){const{history:t,location:n}=window,s={value:Qo(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,d,f){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:Qc()+e+c;try{t[f?"replaceState":"pushState"](d,"",g),r.value=d}catch(m){console.error(m),n[f?"replace":"assign"](g)}}function i(c,d){const f=k({},t.state,vr(r.value.back,c,r.value.forward,!0),d,{position:r.value.position});o(c,f,!0),s.value=c}function l(c,d){const f=k({},r.value,t.state,{forward:c,scroll:$n()});o(f.current,f,!0);const h=k({},vr(s.value,c,null),{position:f.position+1},d);o(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Zc(e){e=kc(e);const t=Xc(e),n=Yc(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=k({location:"",base:e,go:s,createHref:Wc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function eu(e){return typeof e=="string"||e&&typeof e=="object"}function Yo(e){return typeof e=="string"||typeof e=="symbol"}const Xo=Symbol("");var yr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yr||(yr={}));function $t(e,t){return k(new Error,{type:e,[Xo]:!0},t)}function Ke(e,t){return e instanceof Error&&Xo in e&&(t==null||!!(e.type&t))}const br="[^/]+?",tu={sensitive:!1,strict:!1,start:!0,end:!0},nu=/[.+*?^${}()[\]/\\]/g;function su(e,t){const n=k({},tu,t),s=[];let r=n.start?"^":"";const o=[];for(const d of e){const f=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function Zo(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ou={type:0,value:""},iu=/[a-zA-Z0-9_]/;function lu(e){if(!e)return[[]];if(e==="/")return[[ou]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${d}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,d="",f="";function h(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function g(){d+=c}for(;l{i(L)}:Gt}function i(h){if(Yo(h)){const g=s.get(h);g&&(s.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(i),g.alias.forEach(i))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function l(){return n}function c(h){const g=du(h,n);n.splice(g,0,h),h.record.name&&!Er(h)&&s.set(h.record.name,h)}function d(h,g){let m,A={},I,M;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw $t(1,{location:h});M=m.record.name,A=k(Sr(g.params,m.keys.filter(L=>!L.optional).concat(m.parent?m.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),h.params&&Sr(h.params,m.keys.map(L=>L.name))),I=m.stringify(A)}else if(h.path!=null)I=h.path,m=n.find(L=>L.re.test(I)),m&&(A=m.parse(I),M=m.record.name);else{if(m=g.name?s.get(g.name):n.find(L=>L.re.test(g.path)),!m)throw $t(1,{location:h,currentLocation:g});M=m.record.name,A=k({},g.params,h.params),I=m.stringify(A)}const P=[];let T=m;for(;T;)P.unshift(T.record),T=T.parent;return{name:M,path:I,params:A,matched:P,meta:au(P)}}e.forEach(h=>o(h));function f(){n.length=0,s.clear()}return{addRoute:o,resolve:d,removeRoute:i,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Sr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function wr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:fu(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 fu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Er(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function au(e){return e.reduce((t,n)=>k(t,n.meta),{})}function Rr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function du(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Zo(e,t[o])<0?s=o:n=o+1}const r=hu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function hu(e){let t=e;for(;t=t.parent;)if(ei(t)&&Zo(e,t)===0)return t}function ei({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pu(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&us(o)):[s&&us(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function gu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ae(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const mu=Symbol(""),Cr=Symbol(""),Fn=Symbol(""),$s=Symbol(""),as=Symbol("");function Ht(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function nt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=g=>{g===!1?c($t(4,{from:n,to:t})):g instanceof Error?c(g):eu(g)?c($t(2,{from:t,to:g})):(i&&s.enterCallbacks[r]===i&&typeof g=="function"&&i.push(g),l())},f=o(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(f);e.length<3&&(h=h.then(d)),h.catch(g=>c(g))})}function zn(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(ko(c)){const f=(c.__vccOpts||c)[t];f&&o.push(nt(f,n,s,i,l,r))}else{let d=c();o.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const h=wc(f)?f.default:f;i.mods[l]=f,i.components[l]=h;const m=(h.__vccOpts||h)[t];return m&&nt(m,n,s,i,l,r)()}))}}return o}function Tr(e){const t=Te(Fn),n=Te($s),s=Pe(()=>{const c=pt(e.to);return t.resolve(c)}),r=Pe(()=>{const{matched:c}=s.value,{length:d}=c,f=c[d-1],h=n.matched;if(!f||!h.length)return-1;const g=h.findIndex(Mt.bind(null,f));if(g>-1)return g;const m=Ar(c[d-2]);return d>1&&Ar(f)===m&&h[h.length-1].path!==m?h.findIndex(Mt.bind(null,c[d-2])):g}),o=Pe(()=>r.value>-1&&xu(n.params,s.value.params)),i=Pe(()=>r.value>-1&&r.value===n.matched.length-1&&Jo(n.params,s.value.params));function l(c={}){if(bu(c)){const d=t[pt(e.replace)?"replace":"push"](pt(e.to)).catch(Gt);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:Pe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function _u(e){return e.length===1?e[0]:e}const vu=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:Tr,setup(e,{slots:t}){const n=Pn(Tr(e)),{options:s}=Te(Fn),r=Pe(()=>({[Or(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Or(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&_u(t.default(n));return e.custom?o:Uo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),yu=vu;function bu(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 xu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ae(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Ar(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Or=(e,t,n)=>e??t??n,Su=vt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Te(as),r=Pe(()=>e.route||s.value),o=Te(Cr,0),i=Pe(()=>{let d=pt(o);const{matched:f}=r.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),l=Pe(()=>r.value.matched[i.value]);fn(Cr,Pe(()=>i.value+1)),fn(mu,l),fn(as,r);const c=pe();return Wt(()=>[c.value,l.value,e.name],([d,f,h],[g,m,A])=>{f&&(f.instances[h]=d,m&&m!==f&&d&&d===g&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),d&&f&&(!m||!Mt(f,m)||!g)&&(f.enterCallbacks[h]||[]).forEach(I=>I(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,h=l.value,g=h&&h.components[f];if(!g)return Ir(n.default,{Component:g,route:d});const m=h.props[f],A=m?m===!0?d.params:typeof m=="function"?m(d):m:null,M=Uo(g,k({},A,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return Ir(n.default,{Component:M,route:d})||M}}});function Ir(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ti=Su;function wu(e){const t=uu(e.routes,e),n=e.parseQuery||pu,s=e.stringifyQuery||Pr,r=e.history,o=Ht(),i=Ht(),l=Ht(),c=Fi(Ze);let d=Ze;Rt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=qn.bind(null,v=>""+v),h=qn.bind(null,Nc),g=qn.bind(null,en);function m(v,O){let R,F;return Yo(v)?(R=t.getRecordMatcher(v),F=O):F=v,t.addRoute(F,R)}function A(v){const O=t.getRecordMatcher(v);O&&t.removeRoute(O)}function I(){return t.getRoutes().map(v=>v.record)}function M(v){return!!t.getRecordMatcher(v)}function P(v,O){if(O=k({},O||c.value),typeof v=="string"){const p=Gn(n,v,O.path),_=t.resolve({path:p.path},O),b=r.createHref(p.fullPath);return k(p,_,{params:g(_.params),hash:en(p.hash),redirectedFrom:void 0,href:b})}let R;if(v.path!=null)R=k({},v,{path:Gn(n,v.path,O.path).path});else{const p=k({},v.params);for(const _ in p)p[_]==null&&delete p[_];R=k({},v,{params:h(p)}),O.params=h(O.params)}const F=t.resolve(R,O),Q=v.hash||"";F.params=f(g(F.params));const u=Dc(s,k({},v,{hash:$c(Q),path:F.path})),a=r.createHref(u);return k({fullPath:u,hash:Q,query:s===Pr?gu(v.query):v.query||{}},F,{redirectedFrom:void 0,href:a})}function T(v){return typeof v=="string"?Gn(n,v,c.value.path):k({},v)}function L(v,O){if(d!==v)return $t(8,{from:O,to:v})}function $(v){return te(v)}function J(v){return $(k(T(v),{replace:!0}))}function re(v){const O=v.matched[v.matched.length-1];if(O&&O.redirect){const{redirect:R}=O;let F=typeof R=="function"?R(v):R;return typeof F=="string"&&(F=F.includes("?")||F.includes("#")?F=T(F):{path:F},F.params={}),k({query:v.query,hash:v.hash,params:F.path!=null?{}:v.params},F)}}function te(v,O){const R=d=P(v),F=c.value,Q=v.state,u=v.force,a=v.replace===!0,p=re(R);if(p)return te(k(T(p),{state:typeof p=="object"?k({},Q,p.state):Q,force:u,replace:a}),O||R);const _=R;_.redirectedFrom=O;let b;return!u&&Uc(s,F,R)&&(b=$t(16,{to:_,from:F}),$e(F,F,!0,!1)),(b?Promise.resolve(b):Ie(_,F)).catch(y=>Ke(y)?Ke(y,2)?y:Xe(y):B(y,_,F)).then(y=>{if(y){if(Ke(y,2))return te(k({replace:a},T(y.to),{state:typeof y.to=="object"?k({},Q,y.to.state):Q,force:u}),O||_)}else y=ut(_,F,!0,a,Q);return Ye(_,F,y),y})}function Oe(v,O){const R=L(v,O);return R?Promise.reject(R):Promise.resolve()}function Qe(v){const O=xt.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(v):v()}function Ie(v,O){let R;const[F,Q,u]=Eu(v,O);R=zn(F.reverse(),"beforeRouteLeave",v,O);for(const p of F)p.leaveGuards.forEach(_=>{R.push(nt(_,v,O))});const a=Oe.bind(null,v,O);return R.push(a),Se(R).then(()=>{R=[];for(const p of o.list())R.push(nt(p,v,O));return R.push(a),Se(R)}).then(()=>{R=zn(Q,"beforeRouteUpdate",v,O);for(const p of Q)p.updateGuards.forEach(_=>{R.push(nt(_,v,O))});return R.push(a),Se(R)}).then(()=>{R=[];for(const p of u)if(p.beforeEnter)if(Ae(p.beforeEnter))for(const _ of p.beforeEnter)R.push(nt(_,v,O));else R.push(nt(p.beforeEnter,v,O));return R.push(a),Se(R)}).then(()=>(v.matched.forEach(p=>p.enterCallbacks={}),R=zn(u,"beforeRouteEnter",v,O,Qe),R.push(a),Se(R))).then(()=>{R=[];for(const p of i.list())R.push(nt(p,v,O));return R.push(a),Se(R)}).catch(p=>Ke(p,8)?p:Promise.reject(p))}function Ye(v,O,R){l.list().forEach(F=>Qe(()=>F(v,O,R)))}function ut(v,O,R,F,Q){const u=L(v,O);if(u)return u;const a=O===Ze,p=Rt?history.state:{};R&&(F||a?r.replace(v.fullPath,k({scroll:a&&p&&p.scroll},Q)):r.push(v.fullPath,Q)),c.value=v,$e(v,O,R,a),Xe()}let Me;function Ft(){Me||(Me=r.listen((v,O,R)=>{if(!rn.listening)return;const F=P(v),Q=re(F);if(Q){te(k(Q,{replace:!0,force:!0}),F).catch(Gt);return}d=F;const u=c.value;Rt&&zc(_r(u.fullPath,R.delta),$n()),Ie(F,u).catch(a=>Ke(a,12)?a:Ke(a,2)?(te(k(T(a.to),{force:!0}),F).then(p=>{Ke(p,20)&&!R.delta&&R.type===tn.pop&&r.go(-1,!1)}).catch(Gt),Promise.reject()):(R.delta&&r.go(-R.delta,!1),B(a,F,u))).then(a=>{a=a||ut(F,u,!1),a&&(R.delta&&!Ke(a,8)?r.go(-R.delta,!1):R.type===tn.pop&&Ke(a,20)&&r.go(-1,!1)),Ye(F,u,a)}).catch(Gt)}))}let yt=Ht(),se=Ht(),z;function B(v,O,R){Xe(v);const F=se.list();return F.length?F.forEach(Q=>Q(v,O,R)):console.error(v),Promise.reject(v)}function Be(){return z&&c.value!==Ze?Promise.resolve():new Promise((v,O)=>{yt.add([v,O])})}function Xe(v){return z||(z=!v,Ft(),yt.list().forEach(([O,R])=>v?R(v):O()),yt.reset()),v}function $e(v,O,R,F){const{scrollBehavior:Q}=e;if(!Rt||!Q)return Promise.resolve();const u=!R&&Jc(_r(v.fullPath,0))||(F||!R)&&history.state&&history.state.scroll||null;return Ps().then(()=>Q(v,O,u)).then(a=>a&&Gc(a)).catch(a=>B(a,v,O))}const de=v=>r.go(v);let bt;const xt=new Set,rn={currentRoute:c,listening:!0,addRoute:m,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:M,getRoutes:I,resolve:P,options:e,push:$,replace:J,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:se.add,isReady:Be,install(v){const O=this;v.component("RouterLink",yu),v.component("RouterView",ti),v.config.globalProperties.$router=O,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>pt(c)}),Rt&&!bt&&c.value===Ze&&(bt=!0,$(r.location).catch(Q=>{}));const R={};for(const Q in Ze)Object.defineProperty(R,Q,{get:()=>c.value[Q],enumerable:!0});v.provide(Fn,O),v.provide($s,so(R)),v.provide(as,c);const F=v.unmount;xt.add(v),v.unmount=function(){xt.delete(v),xt.size<1&&(d=Ze,Me&&Me(),Me=null,c.value=Ze,bt=!1,z=!1),F()}}};function Se(v){return v.reduce((O,R)=>O.then(()=>Qe(R)),Promise.resolve())}return rn}function Eu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iMt(d,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(d=>Mt(d,c))||r.push(c))}return[n,s,r]}function ni(){return Te(Fn)}function Ru(e){return Te($s)}const Pu=vt({__name:"App",setup(e){return(t,n)=>(ye(),In(pt(ti)))}}),Fs=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Cu=Fs(Pu,[["__scopeId","data-v-913ef6b1"]]),Tu="modulepreload",Au=function(e){return"/"+e},Mr={},Ou=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=i(n.map(d=>{if(d=Au(d),d in Mr)return;Mr[d]=!0;const f=d.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${h}`))return;const g=document.createElement("link");if(g.rel=f?"stylesheet":Tu,f||(g.as="script"),g.crossOrigin="",g.href=d,c&&g.setAttribute("nonce",c),document.head.appendChild(g),f)return new Promise((m,A)=>{g.addEventListener("load",m),g.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Iu="/assets/logo-BnUTTh_g.png";function hn(e){const t="http://"+window.location.host.split(":")[0]+":8090"+e;return console.log(t),t}function ds(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16))))}const Mu={class:"body-custom"},$u={class:"form-custom form-block"},Fu={class:"center-block-custom"},Lu=["disabled"],Nu={class:"button-container"},ju={class:"second-color info-custom"},Hu=["disabled"],Du={class:"center-block-custom"},Uu={key:0},Vu={key:1},Bu={class:"message-cloud"},ku={class:"message-header"},Ku={class:"message-content"},Wu={key:0,class:"hr"},qu=vt({__name:"GameWindow",setup(e){const t=ni(),n=Ru(),s=pe(""),r=pe(""),o=pe(""),i=pe({name:"",actions:[]}),l=pe([]),c=pe(),d=pe("STOP"),f=pe("");function h(){fetch(hn("/team"),{method:"GET",headers:{"X-Id":ds(s.value),"X-Password":r.value}}).then(M=>{if(M.status==401){t.push("/login");return}return M.json()}).then(M=>{var T;i.value=M;const P=(T=i.value)==null?void 0:T.actions;l.value.length!==(P==null?void 0:P.length)&&(l.value=P)}).catch(M=>{console.error("Ошибка:",M)})}function g(){const M=o.value.trim();if(M===""){o.value="";return}fetch(hn("/team/actions"),{method:"POST",headers:{"X-Id":ds(s.value),"X-Password":r.value},body:JSON.stringify({place:M})}).then(async()=>{o.value=""})}const m=async(M="smooth")=>{await Ps(),c.value&&c.value.scrollTo({top:c.value.scrollHeight,behavior:M})};function A(){fetch(hn("/game")).then(M=>M.json()).then(M=>{d.value=M.state,M.state==="NEW"&&(f.value="Игра ещё не началась"),M.state==="RUN"&&(f.value=""),M.state==="STOP"&&(f.value="Игра остановлена")}).catch(M=>{console.error("Ошибка:",M)})}Wt(l,()=>{m()},{deep:!0});let I=0;return As(()=>{var M,P;s.value=sessionStorage.getItem("teamId")||"",r.value=sessionStorage.getItem("password")||"",s.value==""&&(s.value=((M=n.query.name)==null?void 0:M.toString())||"",r.value=((P=n.query.password)==null?void 0:P.toString())||"",sessionStorage.setItem("teamId",s.value),sessionStorage.setItem("password",r.value)),h(),I=setInterval(()=>{h(),A()},2e3),t.beforeEach((T,L,$)=>{clearInterval(I),$()})}),(M,P)=>(ye(),We("div",Mu,[P[3]||(P[3]=G("img",{alt:"Вечерний детектив",class:"logo",src:Iu,width:"40",height:"40"},null,-1)),P[4]||(P[4]=G("div",{class:"header-block"}," Вечерний детектив ",-1)),G("div",$u,[G("div",Fu,[G("form",{onSubmit:Bo(g,["prevent"])},[G("div",null,[ts(G("input",{class:"input-custom","onUpdate:modelValue":P[0]||(P[0]=T=>o.value=T),type:"text",placeholder:"Место назначения (А-1, а-1, а1)",disabled:d.value!=="RUN"},null,8,Lu),[[cs,o.value]])]),G("div",Nu,[G("div",ju,st(f.value),1),G("button",{class:"button-custom",type:"submit",disabled:d.value!=="RUN"},"Поехали",8,Hu)])],32)])]),G("div",{class:"messages-block",ref_key:"scrollContainer",ref:c},[G("div",Du,[!i.value||!i.value.actions.length?(ye(),We("div",Uu,P[1]||(P[1]=[G("div",{class:"center-message"}," Пора решать загадку ",-1)]))):(ye(),We("div",Vu,[(ye(!0),We(we,null,Bs(i.value.actions,T=>(ye(),We("div",{key:T.id},[G("div",Bu,[G("div",ku,st(T.place)+": "+st(T.name),1),P[2]||(P[2]=G("hr",{class:"hr"},null,-1)),G("div",Ku,st(T.text),1),T.applications.length?(ye(),We("hr",Wu)):jl("",!0),(ye(!0),We(we,null,Bs(T.applications,L=>(ye(),We("div",{class:"message-footer",key:L.name}," Приложение: "+st(L.name),1))),128))])]))),128))]))])],512)]))}}),Gu=Fs(qu,[["__scopeId","data-v-b046e79d"]]),zu=vt({__name:"HomeView",setup(e){return(t,n)=>(ye(),In(Gu))}}),Ju={class:"center-message"},Qu={class:"button-container"},Yu={class:"button-custom",type:"submit"},Xu={class:"error-message"},Zu=vt({__name:"LoginWindow",setup(e){const t=ni(),n=pe(""),s=pe(""),r=pe("Вход"),o=pe("");function i(){const l=r.value;r.value="Загрузка...",o.value="",fetch(hn("/team"),{method:"GET",headers:{"X-Id":ds(n.value),"X-Password":s.value}}).then(c=>{if(c.status==200){sessionStorage.setItem("teamId",n.value),sessionStorage.setItem("password",s.value),t.push("/");return}if(c.status==401){if(n.value==""&&s.value=="")return;o.value="Не верны название команды или пароль";return}o.value="ХЗ что это "+c}).catch(()=>{o.value="Сервер не доступен"}).finally(()=>{r.value=l})}return As(()=>{n.value=sessionStorage.getItem("teamId")||"",s.value=sessionStorage.getItem("password")||"",i()}),(l,c)=>(ye(),We(we,null,[c[2]||(c[2]=G("div",{class:"header-block"}," Вечерний детектив ",-1)),G("div",Ju,[G("form",{onSubmit:Bo(i,["prevent"])},[G("div",null,[ts(G("input",{class:"input-custom","onUpdate:modelValue":c[0]||(c[0]=d=>n.value=d),type:"text",placeholder:"Название команды"},null,512),[[cs,n.value]])]),G("div",null,[ts(G("input",{class:"input-custom","onUpdate:modelValue":c[1]||(c[1]=d=>s.value=d),type:"text",placeholder:"Пароль",autocapitalize:"off"},null,512),[[cs,s.value]])]),G("div",Qu,[G("button",Yu,st(r.value),1)]),G("div",Xu,st(o.value),1)],32)])],64))}}),ef=Fs(Zu,[["__scopeId","data-v-13746d20"]]),tf=vt({__name:"LoginView",setup(e){return(t,n)=>(ye(),In(ef))}}),nf=wu({history:Zc("/"),routes:[{path:"/",name:"home",component:zu},{path:"/login",name:"login",component:tf},{path:"/about",name:"about",component:()=>Ou(()=>import("./AboutView-Bka3SLpW.js"),__vite__mapDeps([0,1]))}]}),Ls=vc(Cu);Ls.use(Sc());Ls.use(nf);Ls.mount("#app");export{Fs as _,G as a,We as c,ye as o}; diff --git a/static/user/index.html b/static/user/index.html index 03d5550..4c4f9ae 100644 --- a/static/user/index.html +++ b/static/user/index.html @@ -5,8 +5,8 @@ Вечерний детектив - - + +
diff --git a/story/story.json b/story/story.json index 58fcc06..2f9d911 100644 --- a/story/story.json +++ b/story/story.json @@ -43,7 +43,7 @@ { "code": "М", "name": "Медпункт", - "text": "Небольшое побелено-голубое здание в тени сосен. Внутри – приемная с выцветшими плакатами про \"чистые руки\" и \"опасность клещей\", изолятор с двумя койками за занавеской, а дальше – общий душ и туалет. На столе стоят 3 кружки из под чая. Печенье \"Юбилейное\" в открытой пачке. Медицинская карта с последней записью: \"24.08.99 – Волков С. (отряд \"Орлы\") – жалобы на температуру и тошноту. Диагноз: пищевое отравление?\" В мусорном ведре вы замечаете упаковку от таблетки, 3 пакетика чая и использованный презерватив. Слабый аромат духов – дешевый, сладкий, явно не медицинский." + "text": "Небольшое побелено-голубое здание в тени сосен. Внутри – приемная с выцветшими плакатами про \"чистые руки\" и \"опасность клещей\", изолятор с двумя койками за занавеской, а дальше – общий душ и туалет. На столе стоят 3 кружки из под чая. Печенье \"Юбилейное\" в открытой пачке. Медицинская карта с последней записью: \"24.08.99 – Волкова С. (отряд \"Орлы\") – жалобы на температуру и тошноту. Диагноз: пищевое отравление?\" В мусорном ведре вы замечаете упаковку от таблетки, 3 пакетика чая и использованный презерватив. Слабый аромат духов – дешевый, сладкий, явно не медицинский." }, { "code": "О-1", @@ -53,7 +53,7 @@ { "code": "О-2", "name": "Отряд 2", - "text": "" + "text": "Тени от сосен за окном рисуют на стенах полосатые узоры. Заходя внутрь здания, вы замечаете одного из вожатых Кирилла. Заведя разговор о произошедшем, по секрету узнаёте, что его напарница Даша бегает на свиданки с вожатым первого отряда Максимом. Больше ничего необычного вы не заметили" }, { "code": "О-3", @@ -63,7 +63,7 @@ { "code": "О-4", "name": "Отряд 4", - "text": "У входа в отряд вы десятки пар обуви, аккуратно выставленных в ряд. Среди них вы сразу замечаете те самые кроссовки — с характерным зигзагообразным протектором, слегка запачканные грязью и... чем-то тёмным у носка. — Это Катины! — оживляется девочка с косичками, тыча пальцем в обувь. — Она их всегда носит, даже когда дождь!" + "text": "У входа в отряд вы видите десятки пар обуви, аккуратно выставленных в ряд. Среди них вы сразу замечаете те самые кроссовки — с характерным зигзагообразным протектором, слегка запачканные грязью и... чем-то тёмным у носка. — Это Катины! — оживляется девочка с косичками, тыча пальцем в обувь. — Она их всегда носит, даже когда дождь!" }, { "code": "П",