diff --git a/polylan_submitter/static_source/vite/assets/home-BOcY-OpH.js b/polylan_submitter/static_source/vite/assets/home-BOcY-OpH.js new file mode 100644 index 0000000..355ba9a --- /dev/null +++ b/polylan_submitter/static_source/vite/assets/home-BOcY-OpH.js @@ -0,0 +1 @@ +import{k as b,c as v,r as g,l as a,p as n,s as t,F as h,x,v as i,A as f,O as _}from"./style-D1Ozo1PL.js";const y={class:"min-h-screen bg-base-300 flex items-center justify-center px-4"},w={class:"w-full max-w-6xl"},k={class:"grid grid-cols-1 md:grid-cols-2 gap-8"},S=["onClick"],I={class:"relative h-60 bg-base-300 overflow-hidden"},j=["src","alt","onError"],E={key:1,class:"w-full h-full bg-gradient-to-br from-blue-600 to-blue-400 flex items-center justify-center text-white"},N={class:"card-body"},C={class:"card-title text-2xl"},A={class:"text-base-content/70"},B=b({__name:"Home",setup(z){const c=v(()=>[{id:"opus-magnum",title:"Opus Magnum",description:"Submit your best Opus Magnum puzzle solutions",appId:558990,path:"/opus-magnum"},{id:"noita",title:"Noita",description:"Submit your greatest Noita achievements",appId:881100,path:"/noita"}]),r=g(new Set),d=o=>`https://cdn.akamai.steamstatic.com/steam/apps/${o}/header.jpg`,u=o=>{r.value.add(o)},p=o=>{window.location.href=o};return(o,e)=>(n(),a("div",y,[t("div",w,[e[3]||(e[3]=t("div",{class:"text-center mb-12"},[t("h1",{class:"text-5xl font-bold mb-4"},"PolyLAN Submitter"),t("p",{class:"text-xl text-base-content/70"}," Choose a game and submit your best solutions ")],-1)),t("div",k,[(n(!0),a(h,null,x(c.value,s=>(n(),a("div",{key:s.id,onClick:m=>p(s.path),class:"card card-xl bg-base-200 shadow-xl hover:shadow-2xl transition-all cursor-pointer transform hover:-translate-y-2 hover:scale-[1.05] hover:bg-base-100 overflow-hidden"},[t("figure",I,[r.value.has(s.appId)?(n(),a("div",E,[...e[0]||(e[0]=[t("i",{class:"mdi mdi-gamepad-variant text-5xl"},null,-1)])])):(n(),a("img",{key:0,src:d(s.appId),alt:s.title,onError:m=>u(s.appId),class:"w-full h-full object-cover"},null,40,j)),e[1]||(e[1]=t("div",{class:"absolute inset-0 bg-black/30 group-hover:bg-black/20 transition-colors"},null,-1))]),t("div",N,[t("h2",C,i(s.title),1),t("p",A,i(s.description),1),e[2]||(e[2]=t("div",{class:"card-actions justify-end mt-4"},[t("button",{class:"btn btn-primary"},[t("i",{class:"mdi mdi-arrow-right mr-2"}),f(" Submit results ")])],-1))])],8,S))),128))]),e[4]||(e[4]=t("div",{class:"text-center mt-12 text-base-content/50"},[t("p",null,"Select a game above to begin submitting")],-1))])]))}}),l="#app",O=document.querySelector(l),$=_(B,{...O?.dataset});$.mount(l); diff --git a/polylan_submitter/static_source/vite/assets/noita-BhIRpzeI.js b/polylan_submitter/static_source/vite/assets/noita-BhIRpzeI.js new file mode 100644 index 0000000..2e4de70 --- /dev/null +++ b/polylan_submitter/static_source/vite/assets/noita-BhIRpzeI.js @@ -0,0 +1 @@ +import{k as A,r as d,I as B,l,p as a,s as t,u as p,A as c,v as n,q as g,F as _,x as k,O as M}from"./style-D1Ozo1PL.js";const U={class:"min-h-screen bg-base-200"},$={class:"container mx-auto px-4 py-8"},z={class:"grid grid-cols-1 lg:grid-cols-3 gap-8"},T={class:"lg:col-span-1"},V={class:"card bg-base-100 shadow-lg sticky top-8"},I={class:"card-body"},Y={class:"text-center mb-6"},q={class:"text-3xl font-bold"},G={key:0,class:"flex justify-center py-8"},H={key:1,class:"space-y-4"},J={class:"text-center"},K={key:0,class:"text-4xl font-bold text-primary"},Q={key:1,class:"text-2xl text-base-content/50"},W={class:"text-center"},X={class:"text-2xl font-bold"},Z={class:"text-center"},tt={class:"text-2xl font-bold"},st={class:"lg:col-span-2"},et={class:"card bg-base-100 shadow-lg"},ot={class:"card-body"},lt={for:"file-upload",class:"cursor-pointer flex flex-col items-center gap-3"},at={key:0,class:"mb-6"},nt={class:"space-y-2"},rt={class:"flex-1 min-w-0"},it={class:"font-medium truncate"},dt={class:"text-xs text-base-content/70"},ct=["onClick"],ut={class:"flex gap-3"},bt=["disabled"],mt={key:0,class:"mdi mdi-send mr-2"},pt={class:"card bg-base-100 shadow-lg mt-8"},vt={class:"card-body"},ft={key:0,class:"flex justify-center py-8"},gt={key:1,class:"text-center py-8"},xt={key:2,class:"overflow-x-auto"},ht={class:"table table-zebra w-full"},yt={class:"font-medium"},_t={class:"text-right"},kt={class:"badge badge-primary badge-lg"},wt={key:0,class:"modal modal-open"},jt={class:"modal-box max-w-4xl"},St={class:"flex justify-between items-center mb-4"},Ct={class:"overflow-x-auto"},Dt={class:"table table-zebra w-full"},Ft={class:"font-bold"},Pt={key:0,class:"badge badge-warning badge-lg"},Et={key:1,class:"badge badge-lg"},Lt={key:2,class:"badge badge-lg"},Nt={key:3},Ot={class:"font-medium"},Rt={key:0,class:"badge badge-primary badge-sm ml-2"},At={class:"text-right"},Bt={class:"text-right font-bold"},Mt={key:0,class:"text-center py-8"},Ut=A({__name:"Noita",setup(Tt){const r=d({username:"Player",rank:null,score:0,runsSubmitted:0}),i=d([]),u=d(!1),m=d(!1),x=d([]),h=d(!1),y=d(!1),v=d([]),f=d(!1),F=e=>{const s=e.target;s.files&&(i.value=Array.from(s.files))},P=e=>{e.preventDefault(),e.stopPropagation(),m.value=!0},E=e=>{e.preventDefault(),e.stopPropagation(),m.value=!1},L=e=>{e.preventDefault(),e.stopPropagation(),m.value=!1,e.dataTransfer?.files&&(i.value=Array.from(e.dataTransfer.files))},N=async()=>{if(i.value.length!==0){u.value=!0;try{for(const e of i.value){const s=new FormData;s.append("file",e);const o=await fetch("/api/noita/submit",{method:"POST",body:s});if(!o.ok){const C=await o.json();alert(`Error submitting ${e.name}: ${C.detail||"Unknown error"}`);return}const b=await o.json();console.log("Submission successful:",b)}i.value=[],alert("Run submitted successfully!"),await Promise.all([w(),j(),S()])}catch(e){console.error("Error submitting run:",e),alert("Error submitting run. Please try again.")}finally{u.value=!1}}},O=()=>{window.location.href="/"},w=async()=>{h.value=!0;try{const e=await fetch("/api/noita/objectives");if(!e.ok)throw new Error("Failed to fetch objectives");x.value=await e.json()}catch(e){console.error("Error fetching objectives:",e)}finally{h.value=!1}},j=async()=>{try{const e=await fetch("/api/noita/results");if(!e.ok)throw new Error("Failed to fetch results");const s=await e.json();r.value.score=s.total_score,r.value.runsSubmitted=s.objectives.length}catch(e){console.error("Error fetching results:",e)}},S=async()=>{y.value=!0;try{const e=await fetch("/api/noita/leaderboard");if(!e.ok)throw new Error("Failed to fetch leaderboard");const s=await e.json();v.value=s.leaderboard;const o=v.value.find(b=>b.username===r.value.username);o&&(r.value.rank=o.rank,r.value.score=o.total_score)}catch(e){console.error("Error fetching leaderboard:",e)}finally{y.value=!1}},R=async()=>{try{const e=await fetch("/api/user");if(e.ok){const s=await e.json();s.is_authenticated&&(r.value.username=s.username)}}catch(e){console.error("Error fetching user info:",e)}await Promise.all([w(),j(),S()])};return B(()=>{R()}),(e,s)=>(a(),l("div",U,[t("div",{class:"navbar bg-base-100 shadow-lg"},[t("div",{class:"container mx-auto w-full flex items-center gap-4"},[t("button",{onClick:O,class:"btn btn-primary btn-sm"},[...s[3]||(s[3]=[t("i",{class:"mdi mdi-arrow-left"},null,-1),c(" Back ",-1)])]),s[4]||(s[4]=t("h1",{class:"text-xl font-bold"},"Noita Submitter",-1)),s[5]||(s[5]=t("div",{class:"flex-1"},null,-1)),s[6]||(s[6]=t("a",{href:"/api/docs",class:"btn btn-xs"},"API docs",-1)),s[7]||(s[7]=t("a",{href:"/admin",class:"btn btn-xs btn-warning"},"Admin panel",-1))])]),t("div",$,[t("div",z,[t("div",T,[t("div",V,[s[15]||(s[15]=t("div",{class:"bg-gradient-to-br from-purple-600 to-purple-400 p-6 text-white rounded-t-2xl"},[t("i",{class:"mdi mdi-trophy text-4xl"}),t("h2",{class:"text-2xl font-bold mt-2"},"Your Ranking")],-1)),t("div",I,[t("div",Y,[s[8]||(s[8]=t("p",{class:"text-sm text-base-content/70"},"Player",-1)),t("p",q,n(r.value.username),1)]),s[14]||(s[14]=t("div",{class:"divider"},null,-1)),y.value?(a(),l("div",G,[...s[9]||(s[9]=[t("span",{class:"loading loading-spinner loading-lg"},null,-1)])])):(a(),l("div",H,[t("div",J,[s[10]||(s[10]=t("p",{class:"text-sm text-base-content/70 mb-1"},"Current Rank",-1)),r.value.rank!==null?(a(),l("p",K," #"+n(r.value.rank),1)):(a(),l("p",Q,"No rank yet"))]),t("div",W,[s[11]||(s[11]=t("p",{class:"text-sm text-base-content/70 mb-1"},"Total Score",-1)),t("p",X,n(r.value.score.toLocaleString()),1)]),t("div",Z,[s[12]||(s[12]=t("p",{class:"text-sm text-base-content/70 mb-1"},"Objectives Completed",-1)),t("p",tt,n(r.value.runsSubmitted),1)])])),t("button",{onClick:s[0]||(s[0]=o=>f.value=!0),class:"btn btn-outline btn-sm w-full mt-6"},[...s[13]||(s[13]=[t("i",{class:"mdi mdi-trophy mr-1"},null,-1),c(" View Full Leaderboard ",-1)])])])])]),t("div",st,[t("div",et,[t("div",ot,[s[21]||(s[21]=t("h2",{class:"card-title text-2xl mb-6"},[t("i",{class:"mdi mdi-cloud-upload text-purple-500 mr-2"}),c(" Submit Your Run ")],-1)),t("div",{onDragover:P,onDragleave:E,onDrop:L,class:g(["border-2 border-dashed rounded-lg p-8 text-center transition-colors cursor-pointer bg-base-200/50 mb-6",m.value?"border-primary bg-primary/10":"border-base-300 hover:border-primary"])},[t("input",{type:"file",multiple:"",onChange:F,class:"hidden",id:"file-upload",accept:"video/*,image/*"},null,32),t("label",lt,[t("i",{class:g(["mdi text-4xl",m.value?"mdi-cloud-check text-primary":"mdi-file-upload text-base-content/50"])},null,2),s[16]||(s[16]=t("div",null,[t("p",{class:"font-semibold"},"Click to upload or drag and drop"),t("p",{class:"text-sm text-base-content/70"},"Video or image files (MP4, PNG, etc.)")],-1))])],34),i.value.length>0?(a(),l("div",at,[s[19]||(s[19]=t("p",{class:"font-semibold mb-3"},"Selected Files:",-1)),t("div",nt,[(a(!0),l(_,null,k(i.value,(o,b)=>(a(),l("div",{key:b,class:"flex items-center gap-3 bg-base-200 p-3 rounded-lg"},[s[18]||(s[18]=t("i",{class:"mdi mdi-file text-primary"},null,-1)),t("div",rt,[t("p",it,n(o.name),1),t("p",dt,n((o.size/1024/1024).toFixed(2))+" MB",1)]),t("button",{onClick:C=>i.value.splice(b,1),class:"btn btn-ghost btn-xs"},[...s[17]||(s[17]=[t("i",{class:"mdi mdi-close"},null,-1)])],8,ct)]))),128))])])):p("",!0),t("div",ut,[s[20]||(s[20]=t("label",{for:"file-upload",class:"btn btn-outline flex-1"},[t("i",{class:"mdi mdi-folder-open mr-2"}),c(" Choose Files ")],-1)),t("button",{onClick:N,disabled:i.value.length===0||u.value,class:g(["btn btn-primary flex-1",{loading:u.value}])},[u.value?p("",!0):(a(),l("i",mt)),c(" "+n(u.value?"Submitting...":"Submit Run"),1)],10,bt)]),s[22]||(s[22]=t("p",{class:"text-xs text-base-content/70 text-center mt-4"}," Maximum file size: 256 MB per file ",-1))])]),t("div",pt,[t("div",vt,[s[26]||(s[26]=t("h2",{class:"card-title text-2xl mb-6"},[t("i",{class:"mdi mdi-view-list text-purple-500 mr-2"}),c(" Your Objectives ")],-1)),h.value?(a(),l("div",ft,[...s[23]||(s[23]=[t("span",{class:"loading loading-spinner loading-lg"},null,-1)])])):x.value.length===0?(a(),l("div",gt,[...s[24]||(s[24]=[t("p",{class:"text-base-content/70 mb-2"},"No objectives completed yet",-1),t("p",{class:"text-sm text-base-content/50"},"Submit your runs to unlock objectives!",-1)])])):(a(),l("div",xt,[t("table",ht,[s[25]||(s[25]=t("thead",null,[t("tr",null,[t("th",null,"Objective ID"),t("th",{class:"text-right"},"Count")])],-1)),t("tbody",null,[(a(!0),l(_,null,k(x.value,o=>(a(),l("tr",{key:o.objectiv_id},[t("td",yt,n(o.objectiv_id),1),t("td",_t,[t("span",kt,n(o.count),1)])]))),128))])])]))])])])])]),f.value?(a(),l("div",wt,[t("div",jt,[t("div",St,[s[28]||(s[28]=t("h3",{class:"font-bold text-lg"},[t("i",{class:"mdi mdi-trophy text-yellow-500 mr-2"}),c(" Global Leaderboard ")],-1)),t("button",{onClick:s[1]||(s[1]=o=>f.value=!1),class:"btn btn-sm btn-circle btn-ghost"},[...s[27]||(s[27]=[t("i",{class:"mdi mdi-close"},null,-1)])])]),t("div",Ct,[t("table",Dt,[s[29]||(s[29]=t("thead",null,[t("tr",null,[t("th",null,"Rank"),t("th",null,"Username"),t("th",{class:"text-right"},"Objectives"),t("th",{class:"text-right"},"Score")])],-1)),t("tbody",null,[(a(!0),l(_,null,k(v.value,o=>(a(),l("tr",{key:o.username,class:g({"bg-primary/20":o.username===r.value.username})},[t("td",Ft,[o.rank===1?(a(),l("span",Pt," 🏆 #"+n(o.rank),1)):o.rank===2?(a(),l("span",Et," 🥈 #"+n(o.rank),1)):o.rank===3?(a(),l("span",Lt," 🥉 #"+n(o.rank),1)):(a(),l("span",Nt,"#"+n(o.rank),1))]),t("td",Ot,[c(n(o.username)+" ",1),o.username===r.value.username?(a(),l("span",Rt," You ")):p("",!0)]),t("td",At,n(o.objectives_count),1),t("td",Bt,n(o.total_score.toLocaleString()),1)],2))),128))])])]),v.value.length===0?(a(),l("div",Mt,[...s[30]||(s[30]=[t("p",{class:"text-base-content/70"},"No entries yet",-1)])])):p("",!0)]),t("div",{class:"modal-backdrop",onClick:s[2]||(s[2]=o=>f.value=!1)})])):p("",!0)]))}}),D="#app",$t=document.querySelector(D),zt=M(Ut,{...$t?.dataset});zt.mount(D); diff --git a/polylan_submitter/static_source/vite/assets/opus_magnum-Be8w3rHR.js b/polylan_submitter/static_source/vite/assets/opus_magnum-Be8w3rHR.js new file mode 100644 index 0000000..cd7c164 --- /dev/null +++ b/polylan_submitter/static_source/vite/assets/opus_magnum-Be8w3rHR.js @@ -0,0 +1,5 @@ +import{e as Ft,r as j,m as Ut,t as Bt,c as ne,i as ve,a as nt,b as us,d as ds,h as fs,f as hs,g as Vt,o as Gt,w as $e,n as Se,j as vs,k as me,l as h,p as f,q as re,s as e,u as A,v as x,F as Q,x as ee,y as I,z as Xe,A as q,B as ms,C as ce,D as Wt,E as ze,G as ke,H as gs,I as ot,J as dt,K as Ht,L as ps,M as xe,N as bs,O as ys}from"./style-D1Ozo1PL.js";/*! + * pinia v3.0.3 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let Jt;const Ce=n=>Jt=n,Kt=Symbol();function et(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var _e;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(_e||(_e={}));function _s(){const n=Ft(!0),a=n.run(()=>j({}));let t=[],s=[];const o=Ut({install(r){Ce(o),o._a=r,r.provide(Kt,o),r.config.globalProperties.$pinia=o,s.forEach(c=>t.push(c)),s=[]},use(r){return this._a?t.push(r):s.push(r),this},_p:t,_a:null,_e:n,_s:new Map,state:a});return o}const Yt=()=>{};function ft(n,a,t,s=Yt){n.push(a);const o=()=>{const r=n.indexOf(a);r>-1&&(n.splice(r,1),s())};return!t&&Vt()&&Gt(o),o}function he(n,...a){n.slice().forEach(t=>{t(...a)})}const ws=n=>n(),ht=Symbol(),Re=Symbol();function tt(n,a){n instanceof Map&&a instanceof Map?a.forEach((t,s)=>n.set(s,t)):n instanceof Set&&a instanceof Set&&a.forEach(n.add,n);for(const t in a){if(!a.hasOwnProperty(t))continue;const s=a[t],o=n[t];et(o)&&et(s)&&n.hasOwnProperty(t)&&!ve(s)&&!nt(s)?n[t]=tt(o,s):n[t]=s}return n}const zs=Symbol();function ks(n){return!et(n)||!Object.prototype.hasOwnProperty.call(n,zs)}const{assign:de}=Object;function xs(n){return!!(ve(n)&&n.effect)}function Ss(n,a,t,s){const{state:o,actions:r,getters:c}=a,u=t.state.value[n];let p;function g(){u||(t.state.value[n]=o?o():{});const d=vs(t.state.value[n]);return de(d,r,Object.keys(c||{}).reduce((y,w)=>(y[w]=Ut(ne(()=>{Ce(t);const _=t._s.get(n);return c[w].call(_,_)})),y),{}))}return p=Zt(n,g,a,t,s,!0),p}function Zt(n,a,t={},s,o,r){let c;const u=de({actions:{}},t),p={deep:!0};let g,d,y=[],w=[],_;const P=s.state.value[n];!r&&!P&&(s.state.value[n]={}),j({});let L;function S(N){let E;g=d=!1,typeof N=="function"?(N(s.state.value[n]),E={type:_e.patchFunction,storeId:n,events:_}):(tt(s.state.value[n],N),E={type:_e.patchObject,payload:N,storeId:n,events:_});const F=L=Symbol();Se().then(()=>{L===F&&(g=!0)}),d=!0,he(y,E,s.state.value[n])}const i=r?function(){const{state:E}=t,F=E?E():{};this.$patch(H=>{de(H,F)})}:Yt;function l(){c.stop(),y=[],w=[],s._s.delete(n)}const v=(N,E="")=>{if(ht in N)return N[Re]=E,N;const F=function(){Ce(s);const H=Array.from(arguments),oe=[],ue=[];function ge(U){oe.push(U)}function X(U){ue.push(U)}he(w,{args:H,name:F[Re],store:k,after:ge,onError:X});let se;try{se=N.apply(this&&this.$id===n?this:k,H)}catch(U){throw he(ue,U),U}return se instanceof Promise?se.then(U=>(he(oe,U),U)).catch(U=>(he(ue,U),Promise.reject(U))):(he(oe,se),se)};return F[ht]=!0,F[Re]=E,F},$={_p:s,$id:n,$onAction:ft.bind(null,w),$patch:S,$reset:i,$subscribe(N,E={}){const F=ft(y,N,E.detached,()=>H()),H=c.run(()=>$e(()=>s.state.value[n],oe=>{(E.flush==="sync"?d:g)&&N({storeId:n,type:_e.direct,events:_},oe)},de({},p,E)));return F},$dispose:l},k=hs($);s._s.set(n,k);const te=(s._a&&s._a.runWithContext||ws)(()=>s._e.run(()=>(c=Ft()).run(()=>a({action:v}))));for(const N in te){const E=te[N];if(ve(E)&&!xs(E)||nt(E))r||(P&&ks(E)&&(ve(E)?E.value=P[N]:tt(E,P[N])),s.state.value[n][N]=E);else if(typeof E=="function"){const F=v(E,N);te[N]=F,u.actions[N]=E}}return de(k,te),de(Bt(k),te),Object.defineProperty(k,"$state",{get:()=>s.state.value[n],set:N=>{S(E=>{de(E,N)})}}),s._p.forEach(N=>{de(k,c.run(()=>N({store:k,app:s._a,pinia:s,options:u})))}),P&&r&&t.hydrate&&t.hydrate(k.$state,P),g=!0,d=!0,k}/*! #__NO_SIDE_EFFECTS__ */function at(n,a,t){let s;const o=typeof a=="function";s=o?t:a;function r(c,u){const p=fs();return c=c||(p?ds(Kt,null):null),c&&Ce(c),c=Jt,c._s.has(n)||(o?Zt(n,a,s,c):Ss(n,s,c)),c._s.get(n)}return r.$id=n,r}function rt(n){const a=Bt(n),t={};for(const s in a){const o=a[s];o.effect?t[s]=ne({get:()=>n[s],set(r){n[s]=r}}):(ve(o)||nt(o))&&(t[s]=us(n,s))}return t}const vt="/api";class $s{async request(a,t={}){try{const s=await fetch(`${vt}${a}`,{headers:{"Content-Type":"application/json",...t.headers},...t}),o=await s.json();return s.ok?{data:o,status:s.status}:{error:o.detail||`HTTP ${s.status}`,status:s.status}}catch(s){return{error:s instanceof Error?s.message:"Network error",status:0}}}async uploadRequest(a,t){try{const s=await fetch(`${vt}${a}`,{method:"POST",body:t}),o=await s.json();return s.ok?{data:o,status:s.status}:{error:o.detail||`HTTP ${s.status}`,status:s.status}}catch(s){return{error:s instanceof Error?s.message:"Network error",status:0}}}async getPuzzles(){return this.request("/submissions/puzzles")}async getSubmissions(a=20,t=0){return this.request(`/submissions/submissions?limit=${a}&offset=${t}`)}async getSubmission(a){return this.request(`/submissions/submissions/${a}`)}async createSubmission(a,t){const s=new FormData;return s.append("data",JSON.stringify(a)),t.forEach(o=>{s.append("files",o)}),this.uploadRequest("/submissions/submissions",s)}async validateResponse(a,t){return this.request(`/submissions/responses/${a}/validate`,{method:"PUT",body:JSON.stringify(t)})}async autoValidateResponses(a){return this.request(`/submissions/responses/${a}/validate/auto`,{method:"PUT"})}async getResponsesNeedingValidation(){return this.request("/submissions/responses/needs-validation")}async validateSubmission(a){return this.request(`/submissions/submissions/${a}/validate`,{method:"POST"})}async deleteSubmission(a){return this.request(`/submissions/submissions/${a}`,{method:"DELETE"})}async getStats(){return this.request("/submissions/stats")}async healthCheck(){return this.request("/health")}async getUserInfo(){return this.request("/user")}}const ae=new $s,Cs={async loadPuzzles(){const n=await ae.getPuzzles();return n.error?(console.error("Failed to load puzzles:",n.error),[]):n.data||[]},findPuzzleByName(n,a){if(!a)return null;let t=n.find(s=>s.title.toLowerCase()===a.toLowerCase());return t||(t=n.find(s=>s.title.toLowerCase().includes(a.toLowerCase())||a.toLowerCase().includes(s.title.toLowerCase()))),t||null}},mt={async createFromFiles(n,a,t,s){const o=n.map(c=>{const u=Cs.findPuzzleByName(a,c.ocrData?.puzzle||"");if(u)return{puzzle_id:u.id,puzzle_name:c.ocrData?.puzzle||"",cost:c.ocrData?.cost,cycles:c.ocrData?.cycles,area:c.ocrData?.area,needs_manual_validation:(c.ocrData?.confidence.overall??0)<=.8,ocr_confidence_cost:c.ocrData?.confidence?.cost||0,ocr_confidence_cycles:c.ocrData?.confidence?.cycles||0,ocr_confidence_area:c.ocrData?.confidence?.area||0}}).filter(c=>c!==void 0),r=n.map(c=>c.file);return ae.createSubmission({notes:t,manual_validation_requested:s,responses:o},r)},async loadSubmissions(n=20,a=0){const t=await ae.getSubmissions(n,a);return t.error?(console.error("Failed to load submissions:",t.error),[]):t.data?.items||[]}},Qt={getErrorMessage(n){return typeof n=="string"?n:n instanceof Error?n.message:typeof n=="object"&&n!==null&&"detail"in n?String(n.detail):"An unknown error occurred"},isNetworkError(n){return typeof n=="string"&&n.includes("Network")},isValidationError(n){return n===400},isAuthError(n){return n===401||n===403}},Le=at("puzzles",()=>{const n=j([]),a=j(!1),t=j(""),s=ne(()=>n.value.map(u=>u.title)),o=ne(()=>u=>{if(!u)return null;const p=n.value.find(d=>d.title.toLowerCase()===u.toLowerCase());return p||n.value.find(d=>d.title.toLowerCase().includes(u.toLowerCase())||u.toLowerCase().includes(d.title.toLowerCase()))||null}),r=async()=>{if(!(n.value.length>0))try{a.value=!0,t.value="";const u=await ae.getPuzzles();if(u.error){t.value=u.error,console.error("Failed to load puzzles:",u.error);return}u.data&&(n.value=u.data)}catch(u){t.value="Failed to load puzzles",console.error("Error loading puzzles:",u)}finally{a.value=!1}};return{puzzles:n,isLoading:a,error:t,puzzleNames:s,findPuzzleByName:o,loadPuzzles:r,refreshPuzzles:async()=>{n.value=[],await r()}}}),it=at("submissions",()=>{const n=j([]),a=j(!1),t=j(""),s=j(!1),o=Le(),{puzzles:r}=rt(o),c=async(w=20,_=0)=>{try{a.value=!0,t.value="";const P=await mt.loadSubmissions(w,_);_===0?n.value=P:n.value.push(...P)}catch(P){t.value="Failed to load submissions",console.error("Error loading submissions:",P)}finally{a.value=!1}},u=async(w,_,P)=>{try{a.value=!0,t.value="";const L=await mt.createFromFiles(w,r.value,_,P);if(L.error)throw t.value=L.error,new Error(L.error);return L.data?(n.value.unshift(L.data),L.data):void 0}catch(L){throw t.value=L instanceof Error?L.message:"Failed to create submission",L}finally{a.value=!1}},p=()=>{s.value=!0},g=()=>{s.value=!1};return{submissions:n,isLoading:a,error:t,isSubmissionModalOpen:s,loadSubmissions:c,createSubmission:u,openSubmissionModal:p,closeSubmissionModal:g,refreshSubmissions:async()=>{n.value=[],await c()},handleSubmission:async w=>{try{a.value=!0,t.value="";const _=await u(w.files,w.notes,w.manualValidationRequested);if(_){const P=_.responses.map(L=>L.puzzle_name).join(", ");alert(`Solutions submitted successfully for puzzles: ${P}`)}else alert("Submission created successfully!");g()}catch(_){const P=Qt.getErrorMessage(_);t.value=P,alert(`Submission failed: ${P}`),console.error("Submission error:",_)}finally{a.value=!1}}}}),Ls={class:"card-body"},Ps={class:"flex items-start justify-between"},Rs={class:"flex-1"},Os={class:"card-title text-lg font-bold"},Es={class:"text-sm text-base-content/70 mb-2"},Ms={class:"flex items-center gap-2 mb-3"},Ns={class:"badge badge-primary badge-sm"},As={class:"badge badge-ghost badge-sm"},Ds={key:0,class:"text-sm text-base-content/80 mb-4"},js={key:1,class:"flex flex-wrap gap-1 mb-4"},Is={key:0,class:"badge badge-outline badge-xs"},Ts={class:"flex flex-col items-end gap-2"},qs={class:"tooltip","data-tip":"View on Steam Workshop"},Fs=["href"],Us={key:0,class:"mt-6"},Bs={class:"divider"},Vs={class:"text-sm font-medium"},Gs={class:"table table-xs"},Ws={key:0,class:"badge badge-success badge-xs"},Hs={key:1,class:"text-base-content/50"},Js={key:0,class:"badge badge-info badge-xs"},Ks={key:1,class:"text-base-content/50"},Ys={key:0,class:"badge badge-warning badge-xs"},Zs={key:1,class:"text-base-content/50"},Qs={class:"flex items-center gap-1"},Xs={class:"badge badge-ghost badge-xs"},en=["data-tip"],tn={key:1,class:"tooltip","data-tip":"Needs manual validation"},sn=me({__name:"PuzzleCard",props:{puzzle:{},responses:{}},setup(n){const{openSubmissionModal:a}=it();return(t,s)=>(f(),h("div",{class:re(["card bg-base-100 shadow-lg hover:shadow-2xl transition-shadow duration-300",n.responses?.length==0?"shadow-red-900":"shadow-primary-300"])},[e("div",Ls,[e("div",Ps,[e("div",Rs,[e("h3",Os,x(n.puzzle.title),1),e("p",Es," by "+x(n.puzzle.author_name),1),e("div",Ms,[e("div",Ns,x(n.puzzle.steam_item_id),1),e("div",As,"ID: "+x(n.puzzle.id),1)]),n.puzzle.description?(f(),h("p",Ds,x(n.puzzle.description),1)):A("",!0),n.puzzle.tags&&n.puzzle.tags.length>0?(f(),h("div",js,[(f(!0),h(Q,null,ee(n.puzzle.tags.slice(0,3),o=>(f(),h("span",{key:o,class:"badge badge-outline badge-xs"},x(o),1))),128)),n.puzzle.tags.length>3?(f(),h("span",Is," +"+x(n.puzzle.tags.length-3)+" more ",1)):A("",!0)])):A("",!0)]),e("div",Ts,[e("div",qs,[e("a",{href:`https://steamcommunity.com/workshop/filedetails/?id=${n.puzzle.steam_item_id}`,target:"_blank",class:"btn btn-ghost btn-sm btn-square"},[...s[1]||(s[1]=[e("i",{class:"mdi mdi-steam text-lg"},null,-1)])],8,Fs)])])]),n.responses&&n.responses.length>0?(f(),h("div",Us,[e("div",Bs,[e("span",Vs,"Solutions ("+x(n.responses.length)+")",1)]),e("div",null,[e("table",Gs,[s[4]||(s[4]=e("thead",null,[e("tr",null,[e("th",null,"Cost"),e("th",null,"Cycles"),e("th",null,"Area"),e("th",null,"Files")])],-1)),e("tbody",null,[(f(!0),h(Q,null,ee(n.responses,o=>(f(),h("tr",{key:o.id,class:"hover"},[e("td",null,[o.final_cost||o.cost?(f(),h("span",Ws,x(o.final_cost||o.cost),1)):(f(),h("span",Hs,"-"))]),e("td",null,[o.final_cycles||o.cycles?(f(),h("span",Js,x(o.final_cycles||o.cycles),1)):(f(),h("span",Ks,"-"))]),e("td",null,[o.final_area||o.area?(f(),h("span",Ys,x(o.final_area||o.area),1)):(f(),h("span",Zs,"-"))]),e("td",null,[e("div",Qs,[e("span",Xs,x(o.files?.length||0),1),o.files?.length?(f(),h("div",{key:0,class:"tooltip","data-tip":o.files.map(r=>r.original_filename||r.file?.name).join(", ")},[...s[2]||(s[2]=[e("i",{class:"mdi mdi-information-outline text-xs"},null,-1)])],8,en)):A("",!0),o.needs_manual_validation?(f(),h("div",tn,[...s[3]||(s[3]=[e("i",{class:"mdi mdi-alert-circle text-xs text-warning"},null,-1)])])):A("",!0)])])]))),128))])])])])):(f(),h("div",{key:1,class:"mt-6 text-center py-4 border-2 border-dashed border-base-300 rounded-lg hover:border-primary transition-colors duration-300 cursor-pointer",onClick:s[0]||(s[0]=(...o)=>I(a)&&I(a)(...o))},[...s[5]||(s[5]=[e("i",{class:"mdi mdi-upload text-2xl text-base-content/40"},null,-1),e("p",{class:"text-sm text-base-content/60 mt-2"},"No solutions yet",-1),e("p",{class:"text-xs text-base-content/40"}," Upload solutions using the submit button ",-1)])]))])],2))}});var Oe={exports:{}},gt;function nn(){return gt||(gt=1,(function(n){var a=(function(t){var s=Object.prototype,o=s.hasOwnProperty,r=Object.defineProperty||function(b,m,z){b[m]=z.value},c,u=typeof Symbol=="function"?Symbol:{},p=u.iterator||"@@iterator",g=u.asyncIterator||"@@asyncIterator",d=u.toStringTag||"@@toStringTag";function y(b,m,z){return Object.defineProperty(b,m,{value:z,enumerable:!0,configurable:!0,writable:!0}),b[m]}try{y({},"")}catch{y=function(m,z,R){return m[z]=R}}function w(b,m,z,R){var C=m&&m.prototype instanceof v?m:v,D=Object.create(C.prototype),W=new se(R||[]);return r(D,"_invoke",{value:oe(b,z,W)}),D}t.wrap=w;function _(b,m,z){try{return{type:"normal",arg:b.call(m,z)}}catch(R){return{type:"throw",arg:R}}}var P="suspendedStart",L="suspendedYield",S="executing",i="completed",l={};function v(){}function $(){}function k(){}var T={};y(T,p,function(){return this});var te=Object.getPrototypeOf,N=te&&te(te(U([])));N&&N!==s&&o.call(N,p)&&(T=N);var E=k.prototype=v.prototype=Object.create(T);$.prototype=k,r(E,"constructor",{value:k,configurable:!0}),r(k,"constructor",{value:$,configurable:!0}),$.displayName=y(k,d,"GeneratorFunction");function F(b){["next","throw","return"].forEach(function(m){y(b,m,function(z){return this._invoke(m,z)})})}t.isGeneratorFunction=function(b){var m=typeof b=="function"&&b.constructor;return m?m===$||(m.displayName||m.name)==="GeneratorFunction":!1},t.mark=function(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,k):(b.__proto__=k,y(b,d,"GeneratorFunction")),b.prototype=Object.create(E),b},t.awrap=function(b){return{__await:b}};function H(b,m){function z(D,W,V,Y){var B=_(b[D],b,W);if(B.type==="throw")Y(B.arg);else{var pe=B.arg,fe=pe.value;return fe&&typeof fe=="object"&&o.call(fe,"__await")?m.resolve(fe.__await).then(function(ie){z("next",ie,V,Y)},function(ie){z("throw",ie,V,Y)}):m.resolve(fe).then(function(ie){pe.value=ie,V(pe)},function(ie){return z("throw",ie,V,Y)})}}var R;function C(D,W){function V(){return new m(function(Y,B){z(D,W,Y,B)})}return R=R?R.then(V,V):V()}r(this,"_invoke",{value:C})}F(H.prototype),y(H.prototype,g,function(){return this}),t.AsyncIterator=H,t.async=function(b,m,z,R,C){C===void 0&&(C=Promise);var D=new H(w(b,m,z,R),C);return t.isGeneratorFunction(m)?D:D.next().then(function(W){return W.done?W.value:D.next()})};function oe(b,m,z){var R=P;return function(D,W){if(R===S)throw new Error("Generator is already running");if(R===i){if(D==="throw")throw W;return K()}for(z.method=D,z.arg=W;;){var V=z.delegate;if(V){var Y=ue(V,z);if(Y){if(Y===l)continue;return Y}}if(z.method==="next")z.sent=z._sent=z.arg;else if(z.method==="throw"){if(R===P)throw R=i,z.arg;z.dispatchException(z.arg)}else z.method==="return"&&z.abrupt("return",z.arg);R=S;var B=_(b,m,z);if(B.type==="normal"){if(R=z.done?i:L,B.arg===l)continue;return{value:B.arg,done:z.done}}else B.type==="throw"&&(R=i,z.method="throw",z.arg=B.arg)}}}function ue(b,m){var z=m.method,R=b.iterator[z];if(R===c)return m.delegate=null,z==="throw"&&b.iterator.return&&(m.method="return",m.arg=c,ue(b,m),m.method==="throw")||z!=="return"&&(m.method="throw",m.arg=new TypeError("The iterator does not provide a '"+z+"' method")),l;var C=_(R,b.iterator,m.arg);if(C.type==="throw")return m.method="throw",m.arg=C.arg,m.delegate=null,l;var D=C.arg;if(!D)return m.method="throw",m.arg=new TypeError("iterator result is not an object"),m.delegate=null,l;if(D.done)m[b.resultName]=D.value,m.next=b.nextLoc,m.method!=="return"&&(m.method="next",m.arg=c);else return D;return m.delegate=null,l}F(E),y(E,d,"Generator"),y(E,p,function(){return this}),y(E,"toString",function(){return"[object Generator]"});function ge(b){var m={tryLoc:b[0]};1 in b&&(m.catchLoc=b[1]),2 in b&&(m.finallyLoc=b[2],m.afterLoc=b[3]),this.tryEntries.push(m)}function X(b){var m=b.completion||{};m.type="normal",delete m.arg,b.completion=m}function se(b){this.tryEntries=[{tryLoc:"root"}],b.forEach(ge,this),this.reset(!0)}t.keys=function(b){var m=Object(b),z=[];for(var R in m)z.push(R);return z.reverse(),function C(){for(;z.length;){var D=z.pop();if(D in m)return C.value=D,C.done=!1,C}return C.done=!0,C}};function U(b){if(b){var m=b[p];if(m)return m.call(b);if(typeof b.next=="function")return b;if(!isNaN(b.length)){var z=-1,R=function C(){for(;++z=0;--R){var C=this.tryEntries[R],D=C.completion;if(C.tryLoc==="root")return z("end");if(C.tryLoc<=this.prev){var W=o.call(C,"catchLoc"),V=o.call(C,"finallyLoc");if(W&&V){if(this.prev=0;--z){var R=this.tryEntries[z];if(R.tryLoc<=this.prev&&o.call(R,"finallyLoc")&&this.prev=0;--m){var z=this.tryEntries[m];if(z.finallyLoc===b)return this.complete(z.completion,z.afterLoc),X(z),l}},catch:function(b){for(var m=this.tryEntries.length-1;m>=0;--m){var z=this.tryEntries[m];if(z.tryLoc===b){var R=z.completion;if(R.type==="throw"){var C=R.arg;X(z)}return C}}throw new Error("illegal catch attempt")},delegateYield:function(b,m,z){return this.delegate={iterator:U(b),resultName:m,nextLoc:z},this.method==="next"&&(this.arg=c),l}},t})(n.exports);try{regeneratorRuntime=a}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}})(Oe)),Oe.exports}var Ee,pt;function lt(){return pt||(pt=1,Ee=(n,a)=>`${n}-${a}-${Math.random().toString(16).slice(3,8)}`),Ee}var Me,bt;function Xt(){if(bt)return Me;bt=1;const n=lt();let a=0;return Me=({id:t,action:s,payload:o={}})=>{let r=t;return typeof r>"u"&&(r=n("Job",a),a+=1),{id:r,action:s,payload:o}},Me}var be={},yt;function ct(){if(yt)return be;yt=1;let n=!1;return be.logging=n,be.setLogging=a=>{n=a},be.log=(...a)=>n?console.log.apply(this,a):null,be}var Ne,_t;function on(){if(_t)return Ne;_t=1;const n=Xt(),{log:a}=ct(),t=lt();let s=0;return Ne=()=>{const o=t("Scheduler",s),r={},c={};let u=[];s+=1;const p=()=>u.length,g=()=>Object.keys(r).length,d=()=>{if(u.length!==0){const L=Object.keys(r);for(let S=0;S"u"){u[0](r[L[S]]);break}}},y=(L,S)=>new Promise((i,l)=>{const v=n({action:L,payload:S});u.push(async $=>{u.shift(),c[$.id]=v;try{i(await $[L].apply(this,[...S,v.id]))}catch(k){l(k)}finally{delete c[$.id],d()}}),a(`[${o}]: Add ${v.id} to JobQueue`),a(`[${o}]: JobQueue length=${u.length}`),d()});return{addWorker:L=>(r[L.id]=L,a(`[${o}]: Add ${L.id}`),a(`[${o}]: Number of workers=${g()}`),d(),L.id),addJob:async(L,...S)=>{if(g()===0)throw Error(`[${o}]: You need to have at least one worker before adding jobs`);return y(L,S)},terminate:async()=>{Object.keys(r).forEach(async L=>{await r[L].terminate()}),u=[]},getQueueLen:p,getNumWorkers:g}},Ne}function an(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ae,wt;function rn(){if(wt)return Ae;wt=1;function n(){return!!(typeof window<"u"&&typeof window.process=="object"&&window.process.type==="renderer"||typeof process<"u"&&typeof process.versions=="object"&&process.versions.electron||typeof navigator=="object"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Electron")>=0)}return Ae=n,Ae}var De,zt;function ln(){if(zt)return De;zt=1;const n=rn();return De=a=>{const t={};return typeof WorkerGlobalScope<"u"?t.type="webworker":n()?t.type="electron":typeof document=="object"?t.type="browser":typeof process=="object"&&typeof an=="function"&&(t.type="node"),typeof a>"u"?t:t[a]},De}var je,kt;function cn(){if(kt)return je;kt=1;const a=ln()("type")==="browser"?t=>new URL(t,window.location.href).href:t=>t;return je=t=>{const s={...t};return["corePath","workerPath","langPath"].forEach(o=>{t[o]&&(s[o]=a(s[o]))}),s},je}var Ie,xt;function un(){return xt||(xt=1,Ie=n=>{const a=[],t=[],s=[],o=[],r=[];return n.blocks&&n.blocks.forEach(c=>{c.paragraphs.forEach(u=>{u.lines.forEach(p=>{p.words.forEach(g=>{g.symbols.forEach(d=>{r.push({...d,page:n,block:c,paragraph:u,line:p,word:g})}),o.push({...g,page:n,block:c,paragraph:u,line:p})}),s.push({...p,page:n,block:c,paragraph:u})}),t.push({...u,page:n,block:c})}),a.push({...c,page:n})}),{...n,blocks:a,paragraphs:t,lines:s,words:o,symbols:r}}),Ie}var Te,St;function es(){return St||(St=1,Te={TESSERACT_ONLY:0,LSTM_ONLY:1,TESSERACT_LSTM_COMBINED:2,DEFAULT:3}),Te}const dn="5.1.1",fn={version:dn};var qe,$t;function hn(){return $t||($t=1,qe={workerBlobURL:!0,logger:()=>{}}),qe}var Fe,Ct;function vn(){if(Ct)return Fe;Ct=1;const n=fn.version;return Fe={...hn(),workerPath:`https://cdn.jsdelivr.net/npm/tesseract.js@v${n}/dist/worker.min.js`},Fe}var Ue,Lt;function mn(){return Lt||(Lt=1,Ue=({workerPath:n,workerBlobURL:a})=>{let t;if(Blob&&URL&&a){const s=new Blob([`importScripts("${n}");`],{type:"application/javascript"});t=new Worker(URL.createObjectURL(s))}else t=new Worker(n);return t}),Ue}var Be,Pt;function gn(){return Pt||(Pt=1,Be=n=>{n.terminate()}),Be}var Ve,Rt;function pn(){return Rt||(Rt=1,Ve=(n,a)=>{n.onmessage=({data:t})=>{a(t)}}),Ve}var Ge,Ot;function bn(){return Ot||(Ot=1,Ge=async(n,a)=>{n.postMessage(a)}),Ge}var We,Et;function yn(){if(Et)return We;Et=1;const n=t=>new Promise((s,o)=>{const r=new FileReader;r.onload=()=>{s(r.result)},r.onerror=({target:{error:{code:c}}})=>{o(Error(`File could not be read! Code=${c}`))},r.readAsArrayBuffer(t)}),a=async t=>{let s=t;if(typeof t>"u")return"undefined";if(typeof t=="string")/data:image\/([a-zA-Z]*);base64,([^"]*)/.test(t)?s=atob(t.split(",")[1]).split("").map(o=>o.charCodeAt(0)):s=await(await fetch(t)).arrayBuffer();else if(typeof HTMLElement<"u"&&t instanceof HTMLElement)t.tagName==="IMG"&&(s=await a(t.src)),t.tagName==="VIDEO"&&(s=await a(t.poster)),t.tagName==="CANVAS"&&await new Promise(o=>{t.toBlob(async r=>{s=await n(r),o()})});else if(typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas){const o=await t.convertToBlob();s=await n(o)}else(t instanceof File||t instanceof Blob)&&(s=await n(t));return new Uint8Array(s)};return We=a,We}var He,Mt;function _n(){if(Mt)return He;Mt=1;const n=vn(),a=mn(),t=gn(),s=pn(),o=bn(),r=yn();return He={defaultOptions:n,spawnWorker:a,terminateWorker:t,onMessage:s,send:o,loadImage:r},He}var Je,Nt;function ts(){if(Nt)return Je;Nt=1;const n=cn(),a=un(),t=Xt(),{log:s}=ct(),o=lt(),r=es(),{defaultOptions:c,spawnWorker:u,terminateWorker:p,onMessage:g,loadImage:d,send:y}=_n();let w=0;return Je=async(_="eng",P=r.LSTM_ONLY,L={},S={})=>{const i=o("Worker",w),{logger:l,errorHandler:v,...$}=n({...c,...L}),k={},T={},te=typeof _=="string"?_.split("+"):_;let N=P,E=S;const F=[r.DEFAULT,r.LSTM_ONLY].includes(P)&&!$.legacyCore;let H,oe;const ue=new Promise((O,M)=>{oe=O,H=M}),ge=O=>{H(O.message)};let X=u($);X.onerror=ge,w+=1;const se=(O,M)=>{k[O]=M},U=(O,M)=>{T[O]=M},K=({id:O,action:M,payload:G})=>new Promise((Z,J)=>{s(`[${i}]: Start ${O}, action=${M}`);const le=`${M}-${O}`;se(le,Z),U(le,J),y(X,{workerId:i,jobId:O,action:M,payload:G})}),b=()=>console.warn("`load` is depreciated and should be removed from code (workers now come pre-loaded)"),m=O=>K(t({id:O,action:"load",payload:{options:{lstmOnly:F,corePath:$.corePath,logging:$.logging}}})),z=(O,M,G)=>K(t({id:G,action:"FS",payload:{method:"writeFile",args:[O,M]}})),R=(O,M)=>K(t({id:M,action:"FS",payload:{method:"readFile",args:[O,{encoding:"utf8"}]}})),C=(O,M)=>K(t({id:M,action:"FS",payload:{method:"unlink",args:[O]}})),D=(O,M,G)=>K(t({id:G,action:"FS",payload:{method:O,args:M}})),W=()=>console.warn("`loadLanguage` is depreciated and should be removed from code (workers now come with language pre-loaded)"),V=(O,M)=>K(t({id:M,action:"loadLanguage",payload:{langs:O,options:{langPath:$.langPath,dataPath:$.dataPath,cachePath:$.cachePath,cacheMethod:$.cacheMethod,gzip:$.gzip,lstmOnly:[r.DEFAULT,r.LSTM_ONLY].includes(N)&&!$.legacyLang}}})),Y=()=>console.warn("`initialize` is depreciated and should be removed from code (workers now come pre-initialized)"),B=(O,M,G,Z)=>K(t({id:Z,action:"initialize",payload:{langs:O,oem:M,config:G}})),pe=(O="eng",M,G,Z)=>{if(F&&[r.TESSERACT_ONLY,r.TESSERACT_LSTM_COMBINED].includes(M))throw Error("Legacy model requested but code missing.");const J=M||N;N=J;const le=G||E;E=le;const Pe=(typeof O=="string"?O.split("+"):O).filter(cs=>!te.includes(cs));return te.push(...Pe),Pe.length>0?V(Pe,Z).then(()=>B(O,J,le,Z)):B(O,J,le,Z)},fe=(O={},M)=>K(t({id:M,action:"setParameters",payload:{params:O}})),ie=async(O,M={},G={blocks:!0,text:!0,hocr:!0,tsv:!0},Z)=>K(t({id:Z,action:"recognize",payload:{image:await d(O),options:M,output:G}})),as=(O="Tesseract OCR Result",M=!1,G)=>(console.log("`getPDF` function is depreciated. `recognize` option `savePDF` should be used instead."),K(t({id:G,action:"getPDF",payload:{title:O,textonly:M}}))),rs=async(O,M)=>{if(F)throw Error("`worker.detect` requires Legacy model, which was not loaded.");return K(t({id:M,action:"detect",payload:{image:await d(O)}}))},is=async()=>(X!==null&&(p(X),X=null),Promise.resolve());g(X,({workerId:O,jobId:M,status:G,action:Z,data:J})=>{const le=`${Z}-${M}`;if(G==="resolve"){s(`[${O}]: Complete ${M}`);let we=J;Z==="recognize"?we=a(J):Z==="getPDF"&&(we=Array.from({...J,length:Object.keys(J).length})),k[le]({jobId:M,data:we})}else if(G==="reject")if(T[le](J),Z==="load"&&H(J),v)v(J);else throw Error(J);else G==="progress"&&l({...J,userJobId:M})});const ls={id:i,worker:X,setResolve:se,setReject:U,load:b,writeText:z,readText:R,removeFile:C,FS:D,loadLanguage:W,initialize:Y,reinitialize:pe,setParameters:fe,recognize:ie,getPDF:as,detect:rs,terminate:is};return m().then(()=>V(_)).then(()=>B(_,P,S)).then(()=>oe(ls)).catch(()=>{}),ue},Je}var Ke,At;function wn(){if(At)return Ke;At=1;const n=ts();return Ke={recognize:async(s,o,r)=>{const c=await n(o,1,r);return c.recognize(s).finally(async()=>{await c.terminate()})},detect:async(s,o)=>{const r=await n("osd",0,o);return r.detect(s).finally(async()=>{await r.terminate()})}},Ke}var Ye,Dt;function zn(){return Dt||(Dt=1,Ye={AFR:"afr",AMH:"amh",ARA:"ara",ASM:"asm",AZE:"aze",AZE_CYRL:"aze_cyrl",BEL:"bel",BEN:"ben",BOD:"bod",BOS:"bos",BUL:"bul",CAT:"cat",CEB:"ceb",CES:"ces",CHI_SIM:"chi_sim",CHI_TRA:"chi_tra",CHR:"chr",CYM:"cym",DAN:"dan",DEU:"deu",DZO:"dzo",ELL:"ell",ENG:"eng",ENM:"enm",EPO:"epo",EST:"est",EUS:"eus",FAS:"fas",FIN:"fin",FRA:"fra",FRK:"frk",FRM:"frm",GLE:"gle",GLG:"glg",GRC:"grc",GUJ:"guj",HAT:"hat",HEB:"heb",HIN:"hin",HRV:"hrv",HUN:"hun",IKU:"iku",IND:"ind",ISL:"isl",ITA:"ita",ITA_OLD:"ita_old",JAV:"jav",JPN:"jpn",KAN:"kan",KAT:"kat",KAT_OLD:"kat_old",KAZ:"kaz",KHM:"khm",KIR:"kir",KOR:"kor",KUR:"kur",LAO:"lao",LAT:"lat",LAV:"lav",LIT:"lit",MAL:"mal",MAR:"mar",MKD:"mkd",MLT:"mlt",MSA:"msa",MYA:"mya",NEP:"nep",NLD:"nld",NOR:"nor",ORI:"ori",PAN:"pan",POL:"pol",POR:"por",PUS:"pus",RON:"ron",RUS:"rus",SAN:"san",SIN:"sin",SLK:"slk",SLV:"slv",SPA:"spa",SPA_OLD:"spa_old",SQI:"sqi",SRP:"srp",SRP_LATN:"srp_latn",SWA:"swa",SWE:"swe",SYR:"syr",TAM:"tam",TEL:"tel",TGK:"tgk",TGL:"tgl",THA:"tha",TIR:"tir",TUR:"tur",UIG:"uig",UKR:"ukr",URD:"urd",UZB:"uzb",UZB_CYRL:"uzb_cyrl",VIE:"vie",YID:"yid"}),Ye}var Ze,jt;function kn(){return jt||(jt=1,Ze={OSD_ONLY:"0",AUTO_OSD:"1",AUTO_ONLY:"2",AUTO:"3",SINGLE_COLUMN:"4",SINGLE_BLOCK_VERT_TEXT:"5",SINGLE_BLOCK:"6",SINGLE_LINE:"7",SINGLE_WORD:"8",CIRCLE_WORD:"9",SINGLE_CHAR:"10",SPARSE_TEXT:"11",SPARSE_TEXT_OSD:"12",RAW_LINE:"13"}),Ze}var Qe,It;function xn(){if(It)return Qe;It=1,nn();const n=on(),a=ts(),t=wn(),s=zn(),o=es(),r=kn(),{setLogging:c}=ct();return Qe={languages:s,OEM:o,PSM:r,createScheduler:n,createWorker:a,setLogging:c,...t},Qe}var Sn=xn();class ut{worker=null;availablePuzzleNames=[];regions={puzzle:{x:15,y:600,width:330,height:28},cost:{x:412,y:603,width:65,height:22},cycles:{x:577,y:603,width:65,height:22},area:{x:739,y:603,width:65,height:22}};async initialize(){this.worker||(this.worker=await Sn.createWorker("eng"),await this.worker.setParameters({tessedit_ocr_engine_mode:"3",tessedit_pageseg_mode:7}))}setAvailablePuzzleNames(a){this.availablePuzzleNames=a,console.log("OCR service updated with puzzle names:",a)}async configurePuzzleOCR(){this.worker&&(await this.worker.setParameters({load_system_dawg:"0",load_freq_dawg:"0",load_punc_dawg:"0",load_number_dawg:"0",load_unambig_dawg:"0",load_bigram_dawg:"0",load_fixed_length_dawgs:"0",tessedit_char_whitelist:this.getPuzzleCharacterSet(),tessedit_pageseg_mode:8,segment_penalty_dict_nonword:"2.0",segment_penalty_dict_frequent_word:"0.001",segment_penalty_dict_case_ok:"0.001",segment_penalty_dict_case_bad:"0.1",classify_enable_learning:"0",classify_enable_adaptive_matcher:"1",preserve_interword_spaces:"1"}),console.log("OCR configured for puzzle names with character set:",this.getPuzzleCharacterSet()))}getPuzzleCharacterSet(){if(this.availablePuzzleNames.length===0)return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 -";const a=new Set;return this.availablePuzzleNames.forEach(t=>{for(const s of t)a.add(s)}),Array.from(a).join("")}async extractOpusMagnumData(a){this.worker||await this.initialize();const t=URL.createObjectURL(a),s=new Image;return new Promise((o,r)=>{s.onload=async()=>{try{const c=document.createElement("canvas"),u=c.getContext("2d");c.width=s.width,c.height=s.height,u.drawImage(s,0,0);const p={},g={};for(const[w,_]of Object.entries(this.regions)){const P=document.createElement("canvas"),L=P.getContext("2d");P.width=_.width,P.height=_.height,L.drawImage(c,_.x,_.y,_.width,_.height,0,0,_.width,_.height);const S=L.getImageData(0,0,_.width,_.height);this.preprocessImage(S),L.putImageData(S,0,0),w==="cost"?await this.worker.setParameters({tessedit_char_whitelist:"0123456789G"}):w==="cycles"||w==="area"?await this.worker.setParameters({tessedit_char_whitelist:"0123456789"}):w==="puzzle"?await this.configurePuzzleOCR():await this.worker.setParameters({tessedit_char_whitelist:""});const{data:{text:i,confidence:l}}=await this.worker.recognize(P);let v=i.trim();if(g[w]=l/100,w==="cost"){if(v.endsWith("6")&&v.length>1){const $=v.slice(0,-1);/^\d+$/.test($)&&(v=$)}v=v.replace(/G+$/g,""),v=v.replace(/[^0-9]/g,"")}else if(w==="cycles"||w==="area")v=v.replace(/[^0-9]/g,"");else if(w==="puzzle"&&(v=this.findBestPuzzleMatch(v),this.availablePuzzleNames.length>0&&!this.availablePuzzleNames.includes(v))){const $=this.findBestPuzzleMatchForced(v);$&&(v=$,console.log(`Forced OCR match: "${i.trim()}" -> "${v}"`))}p[w]=v}URL.revokeObjectURL(t);const d=Object.values(g),y=d.length>0?d.reduce((w,_)=>w+_,0)/d.length:0;o({puzzle:p.puzzle||"",cost:parseInt(p.cost||""),cycles:parseInt(p.cycles||""),area:parseInt(p.area||""),confidence:{puzzle:g.puzzle||0,cost:g.cost||0,cycles:g.cycles||0,area:g.area||0,overall:y}})}catch(c){URL.revokeObjectURL(t),r(c)}},s.onerror=()=>{URL.revokeObjectURL(t),r(new Error("Failed to load image"))},s.src=t})}preprocessImage(a){const t=a.data;for(let s=0;sArray(a.length+1).fill(null));for(let o=0;o<=a.length;o++)s[0][o]=o;for(let o=0;o<=t.length;o++)s[o][0]=o;for(let o=1;o<=t.length;o++)for(let r=1;r<=a.length;r++){const c=a[r-1]===t[o-1]?0:1;s[o][r]=Math.min(s[o][r-1]+1,s[o-1][r]+1,s[o-1][r-1]+c)}return s[t.length][a.length]}findBestPuzzleMatch(a){if(!this.availablePuzzleNames.length)return a.trim();const t=a.trim();if(!t)return"";const s=this.availablePuzzleNames.find(u=>u.toLowerCase()===t.toLowerCase());if(s)return s;const o=this.availablePuzzleNames.find(u=>u.toLowerCase().includes(t.toLowerCase())||t.toLowerCase().includes(u.toLowerCase()));if(o)return o;let r=t,c=0;for(const u of this.availablePuzzleNames){const p=[this.calculateLevenshteinSimilarity(t,u),this.calculateJaroWinklerSimilarity(t,u),this.calculateNGramSimilarity(t,u,2)],g=Math.max(...p);g>c&&g>.4&&(c=g,r=u)}if(c<.6){const u=this.findBestCharacterMatch(t);u&&(r=u)}return r}calculateLevenshteinSimilarity(a,t){const s=this.levenshteinDistance(a.toLowerCase(),t.toLowerCase()),o=Math.max(a.length,t.length);return o===0?1:1-s/o}calculateJaroWinklerSimilarity(a,t){const s=a.toLowerCase(),o=t.toLowerCase();if(s===o)return 1;const r=Math.floor(Math.max(s.length,o.length)/2)-1;if(r<0)return 0;const c=new Array(s.length).fill(!1),u=new Array(o.length).fill(!1);let p=0,g=0;for(let _=0;_u.has(d))),g=new Set([...c,...u]);return p.size/g.size}findBestCharacterMatch(a){let t=null,s=0;for(const o of this.availablePuzzleNames){const r=this.calculateCharacterFrequencyScore(a.toLowerCase(),o.toLowerCase());r>s&&r>.3&&(s=r,t=o)}return t}calculateCharacterFrequencyScore(a,t){const s=new Map,o=new Map;for(const p of a)s.set(p,(s.get(p)||0)+1);for(const p of t)o.set(p,(o.get(p)||0)+1);const r=new Set([...s.keys(),...o.keys()]);let c=0,u=0;for(const p of r){const g=s.get(p)||0,d=o.get(p)||0;c+=Math.min(g,d),u+=Math.max(g,d)}return u===0?0:c/u}findBestPuzzleMatchForced(a){if(!this.availablePuzzleNames.length||!a.trim())return null;const t=a.trim().toLowerCase();let s=this.availablePuzzleNames[0],o=0;for(const r of this.availablePuzzleNames){const c=[this.calculateLevenshteinSimilarity(t,r),this.calculateJaroWinklerSimilarity(t,r),this.calculateNGramSimilarity(t,r,2),this.calculateCharacterFrequencyScore(t,r.toLowerCase()),this.calculateLengthSimilarity(t,r.toLowerCase())],u=c[0]*.25+c[1]*.25+c[2]*.2+c[3]*.2+c[4]*.1;u>o&&(o=u,s=r)}return console.log(`Forced match for "${a}": "${s}" (score: ${o.toFixed(3)})`),s}calculateLengthSimilarity(a,t){const s=a.length,o=t.length,r=Math.max(s,o),c=Math.min(s,o);return r===0?1:c/r}async terminate(){this.worker&&(await this.worker.terminate(),this.worker=null)}static isValidOpusMagnumImage(a){return["image/jpeg","image/jpg","image/png","image/gif"].includes(a.type)}static drawDebugRegions(a){return new Promise((t,s)=>{const o=URL.createObjectURL(a),r=new Image;r.onload=()=>{const c=document.createElement("canvas"),u=c.getContext("2d");c.width=r.width,c.height=r.height,u.drawImage(r,0,0),u.strokeStyle="#00ff00",u.lineWidth=2;const p=new ut;Object.values(p.regions).forEach(g=>{u.strokeRect(g.x,g.y,g.width,g.height)}),URL.revokeObjectURL(o),t(c.toDataURL())},r.onerror=()=>{URL.revokeObjectURL(o),s(new Error("Failed to load image for debug"))},r.src=o})}}const st=new ut,ye=.8,ss=at("uploads",()=>{const n=j([]),a=ne(()=>n.value.some(p=>p.ocrProcessing)),t=ne(()=>n.value.some(p=>o(p))),s=ne(()=>n.value.filter(p=>p.needsManualPuzzleSelection)),o=p=>p.ocrData?.confidence?p.ocrData.confidence.cost{for(;a.value;){const d=Math.floor(Math.random()*400)+100;console.log(`OCR is already processing, waiting ${d}ms...`),await new Promise(y=>setTimeout(y,d))}const g=n.value.indexOf(p);n.value[g].ocrProcessing=!0,n.value[g].ocrError=void 0,n.value[g].ocrData=void 0;try{console.log("Starting OCR processing for:",p.file.name),await st.initialize();const d=await st.extractOpusMagnumData(p.file);console.log("OCR completed:",d),await Se(),n.value[g].ocrData=d,d.confidence.puzzle{const p=n.value.filter(g=>o(g));for(const g of p)r(g)},clearFiles:()=>{n.value=[]},isProcessingOCR:a,hasLowConfidence:t,CONFIDENCE_VALUE:ye}}),$n={class:"form-control w-full"},Cn={key:0,class:"space-y-4"},Ln={key:1,class:"space-y-4"},Pn={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-2 gap-4"},Rn={class:"aspect-square rounded-lg overflow-hidden bg-base-200"},On=["src","alt"],En={class:"absolute inset-0 bg-black/80 opacity-0 group-hover:opacity-100 transition-opacity duration-200 rounded-lg flex items-center justify-center"},Mn=["onClick"],Nn={class:"mt-2"},An={class:"text-xs font-medium truncate"},Dn={class:"text-xs text-base-content/60"},jn={key:0,class:"mt-1 flex items-center gap-1"},In={key:1,class:"mt-1"},Tn={class:"text-xs text-error"},qn={key:2,class:"mt-1 space-y-1"},Fn={class:"text-xs flex items-center justify-between"},Un={class:"flex items-center gap-2"},Bn=["title"],Vn=["onClick"],Gn={class:"text-xs space-y-1 bg-base-200 p-2 rounded"},Wn={key:0},Hn=["title"],Jn={key:1},Kn=["title"],Yn={key:2},Zn=["title"],Qn={key:3},Xn=["title"],eo={key:3,class:"mt-2"},to={class:"mt-2"},so=["onUpdate:modelValue","onChange"],no=["value"],oo={key:4,class:"mt-1"},ao=["onClick"],ro={class:"flex justify-center"},io={key:0,class:"label"},lo={class:"label-text-alt text-error"},co=me({__name:"FileUpload",setup(n){const a=Le(),{submissionFiles:t,processOCR:s}=ss(),o=j(),r=j(!1),c=j("");$e(()=>a.puzzles,i=>{i&&i.length>0&&st.setAvailablePuzzleNames(a.puzzleNames)},{immediate:!0});const u=i=>{const l=i.target;l.files&&g(Array.from(l.files))},p=i=>{i.preventDefault(),r.value=!1,i.dataTransfer?.files&&g(Array.from(i.dataTransfer.files))},g=async i=>{c.value="";for(const l of i)if(d(l))try{const v=await y(l),$=l.type.startsWith("image/gif")?"gif":"image",k={file:l,file_url:"",preview:v,type:$,ocrProcessing:!1,ocrError:void 0,ocrData:void 0};t.push(k),P(l)&&Se(()=>{s(k)})}catch{c.value=`Failed to process ${l.name}`}},d=i=>i.type.startsWith("image/")?i.size>256*1024*1024?(c.value=`${i.name} is too large (max 256MB)`,!1):!0:(c.value=`${i.name} is not a valid image file`,!1),y=i=>new Promise((l,v)=>{const $=new FileReader;$.onload=k=>l(k.target?.result),$.onerror=v,$.readAsDataURL(i)}),w=i=>{t.splice(i,1)},_=i=>{if(i===0)return"0 Bytes";const l=1024,v=["Bytes","KB","MB","GB"],$=Math.floor(Math.log(i)/Math.log(l));return parseFloat((i/Math.pow(l,$)).toFixed(2))+" "+v[$]},P=i=>i.type.startsWith("image/")&&i.size>5e4,L=i=>i>=.8?"badge-success":i>=.6?"badge-warning":"badge-error",S=i=>{const l=t.findIndex(v=>v.file===i.file);l!==-1&&t[l].manualPuzzleSelection&&(t[l].needsManualPuzzleSelection=!1,console.log(`Manual puzzle selection: ${i.file.name} -> ${t[l].manualPuzzleSelection}`))};return(i,l)=>(f(),h("div",$n,[l[19]||(l[19]=e("label",{class:"label"},[e("span",{class:"label-text font-medium"},"Upload Solution Files"),e("span",{class:"label-text-alt text-xs"},"Images or GIFs only")],-1)),e("div",{class:re(["border-2 border-dashed border-base-300 rounded-lg p-6 text-center hover:border-primary transition-colors duration-300",{"border-primary bg-primary/5":r.value}]),onDrop:p,onDragover:l[2]||(l[2]=Xe(v=>r.value=!0,["prevent"])),onDragleave:l[3]||(l[3]=v=>r.value=!1),onDragenter:l[4]||(l[4]=Xe(()=>{},["prevent"]))},[e("input",{ref_key:"fileInput",ref:o,type:"file",multiple:"",accept:"image/*,.gif",class:"hidden",onChange:u},null,544),I(t).length===0?(f(),h("div",Cn,[l[6]||(l[6]=e("div",{class:"mx-auto w-12 h-12 text-base-content/40 flex items-center justify-center"},[e("i",{class:"mdi mdi-cloud-upload text-5xl"})],-1)),e("div",null,[l[5]||(l[5]=e("p",{class:"text-base-content/70 mb-2"},"Drop your files here or",-1)),e("button",{type:"button",onClick:l[0]||(l[0]=v=>o.value?.click()),class:"btn btn-primary btn-sm"}," Choose Files ")]),l[7]||(l[7]=e("p",{class:"text-xs text-base-content/50"}," Supported formats: JPG, PNG, GIF (max 256MB each) ",-1))])):(f(),h("div",Ln,[e("div",Pn,[(f(!0),h(Q,null,ee(I(t),(v,$)=>(f(),h("div",{key:$,class:"relative group"},[e("div",Rn,[e("img",{src:v.preview,alt:v.file.name,class:"w-full h-full object-cover"},null,8,On)]),e("div",En,[e("button",{onClick:k=>w($),class:"btn btn-error btn-lg btn-circle"},[...l[8]||(l[8]=[e("i",{class:"mdi mdi-close"},null,-1)])],8,Mn)]),e("div",Nn,[e("p",An,x(v.file.name),1),e("p",Dn,x(_(v.file.size))+" • "+x(v.type.toUpperCase()),1),v.ocrProcessing?(f(),h("div",jn,[...l[9]||(l[9]=[e("span",{class:"loading loading-spinner loading-xs"},null,-1),e("span",{class:"text-xs text-info"},"Extracting puzzle data...",-1)])])):v.ocrError?(f(),h("div",In,[e("p",Tn,x(v.ocrError),1)])):v.ocrData?(f(),h("div",qn,[e("div",Fn,[e("div",Un,[l[10]||(l[10]=e("span",{class:"font-medium text-success"},"✓ OCR Complete",-1)),v.ocrData.confidence?(f(),h("span",{key:0,class:re(["badge badge-xs",L(v.ocrData.confidence.overall)]),title:`Overall confidence: ${Math.round(v.ocrData.confidence.overall*100)}%`},x(Math.round(v.ocrData.confidence.overall*100))+"% ",11,Bn)):A("",!0)]),e("button",{onClick:k=>I(s)(v),class:"btn btn-xs btn-ghost",title:"Retry OCR"},[...l[11]||(l[11]=[e("i",{class:"mdi mdi-refresh"},null,-1)])],8,Vn)]),e("div",Gn,[v.ocrData.puzzle?(f(),h("div",Wn,[l[12]||(l[12]=e("strong",null,"Puzzle:",-1)),q(" "+x(v.ocrData.puzzle)+" ",1),v.ocrData.confidence?.puzzle?(f(),h("span",{key:0,class:"ml-2 opacity-60",title:`Puzzle confidence: ${Math.round(v.ocrData.confidence.puzzle*100)}%`}," ("+x(Math.round(v.ocrData.confidence.puzzle*100))+"%) ",9,Hn)):A("",!0)])):A("",!0),v.ocrData.cost?(f(),h("div",Jn,[l[13]||(l[13]=e("strong",null,"Cost:",-1)),q(" "+x(v.ocrData.cost)+" ",1),v.ocrData.confidence?.cost?(f(),h("span",{key:0,class:"ml-2 opacity-60",title:`Cost confidence: ${Math.round(v.ocrData.confidence.cost*100)}%`}," ("+x(Math.round(v.ocrData.confidence.cost*100))+"%) ",9,Kn)):A("",!0)])):A("",!0),v.ocrData.cycles?(f(),h("div",Yn,[l[14]||(l[14]=e("strong",null,"Cycles:",-1)),q(" "+x(v.ocrData.cycles)+" ",1),v.ocrData.confidence?.cycles?(f(),h("span",{key:0,class:"ml-2 opacity-60",title:`Cycles confidence: ${Math.round(v.ocrData.confidence.cycles*100)}%`}," ("+x(Math.round(v.ocrData.confidence.cycles*100))+"%) ",9,Zn)):A("",!0)])):A("",!0),v.ocrData.area?(f(),h("div",Qn,[l[15]||(l[15]=e("strong",null,"Area:",-1)),q(" "+x(v.ocrData.area)+" ",1),v.ocrData.confidence?.area?(f(),h("span",{key:0,class:"ml-2 opacity-60",title:`Area confidence: ${Math.round(v.ocrData.confidence.area*100)}%`}," ("+x(Math.round(v.ocrData.confidence.area*100))+"%) ",9,Xn)):A("",!0)])):A("",!0)])])):A("",!0),v.needsManualPuzzleSelection?(f(),h("div",eo,[l[17]||(l[17]=ms('
Low OCR Confidence
Please select the correct puzzle manually
',1)),e("div",to,[ce(e("select",{"onUpdate:modelValue":k=>v.manualPuzzleSelection=k,class:"select select-bordered select-sm w-full",onChange:k=>S(v)},[l[16]||(l[16]=e("option",{value:""},"Select puzzle...",-1)),(f(!0),h(Q,null,ee(I(a).puzzles,k=>(f(),h("option",{key:k.id,value:k.title},x(k.title),9,no))),128))],40,so),[[Wt,v.manualPuzzleSelection]])])])):!v.ocrProcessing&&!v.ocrError&&!v.ocrData?(f(),h("div",oo,[e("button",{onClick:k=>I(s)(v),class:"btn btn-xs btn-outline"},[...l[18]||(l[18]=[e("i",{class:"mdi mdi-text-recognition"},null,-1),q(" Extract Puzzle Data ",-1)])],8,ao)])):A("",!0)])]))),128))]),e("div",ro,[e("button",{type:"button",onClick:l[1]||(l[1]=v=>o.value?.click()),class:"btn btn-outline btn-sm"}," Add More Files ")])]))],34),c.value?(f(),h("div",io,[e("span",lo,x(c.value),1)])):A("",!0)]))}}),uo={class:"card bg-base-100 shadow-xl"},fo={class:"card-body"},ho={key:0,class:"alert alert-info"},vo={class:"flex-1"},mo={class:"font-bold"},go={class:"text-sm space-y-1 mt-1"},po={class:"badge badge-ghost badge-sm ml-2"},bo={key:1,class:"alert alert-warning"},yo={class:"flex-1"},_o={class:"text-sm"},wo={class:"form-control"},zo={class:"flex-1"},ko={class:"flex label"},xo={class:"label-text-alt"},So={class:"form-control"},$o={class:"label cursor-pointer justify-start gap-3"},Co=["disabled"],Lo={class:"card-actions justify-end"},Po=["disabled"],Ro={key:0,class:"loading loading-spinner loading-sm"},Oo={key:1},Eo={key:2},Mo={key:3},No=me({__name:"SubmissionForm",props:{puzzles:{},findPuzzleByName:{type:Function}},setup(n){const a=n,t=ss(),{submissionFiles:s,hasLowConfidence:o,submissionFilesNeedingManualSelection:r}=rt(t),{clearFiles:c,processLowConfidenceOCRFiles:u}=t,{handleSubmission:p}=it(),g=j(""),d=j(!1),y=j(!1),w=ne(()=>g.value.length),_=ne(()=>{const S=s.value.length>0,i=!s.value.some(l=>l.needsManualPuzzleSelection);return S&&!y.value&&i});$e(o,S=>{S&&(d.value=!0)});const P=ne(()=>{const S={};return s.value.forEach(i=>{const l=i.manualPuzzleSelection||i.ocrData?.puzzle;l&&(S[l]||(S[l]={puzzle:a.findPuzzleByName(l),files:[]}),S[l].files.push(i))}),S}),L=async()=>{if(_.value){y.value=!0;try{p({files:s.value,notes:g.value.trim()||void 0,manualValidationRequested:o.value||d.value}),c(),g.value="",d.value=!1}catch(S){console.error("Submission error:",S)}finally{y.value=!1}}};return(S,i)=>(f(),h("div",uo,[e("div",fo,[i[9]||(i[9]=e("h2",{class:"card-title text-xl mb-6"},[e("i",{class:"mdi mdi-check-circle text-2xl text-primary"}),q(" Submit Solution ")],-1)),e("form",{onSubmit:Xe(L,["prevent"]),class:"space-y-6"},[Object.keys(P.value).length>0?(f(),h("div",ho,[i[3]||(i[3]=e("i",{class:"mdi mdi-information-outline text-xl"},null,-1)),e("div",vo,[e("h4",mo," Detected Puzzles ("+x(Object.keys(P.value).length)+") ",1),e("div",go,[(f(!0),h(Q,null,ee(P.value,(l,v)=>(f(),h("div",{key:v,class:"flex justify-between"},[e("span",null,x(v),1),e("span",po,x(l.files.length)+" file(s)",1)]))),128))])])])):A("",!0),ze(co),I(r).length>0?(f(),h("div",bo,[i[6]||(i[6]=e("i",{class:"mdi mdi-alert-circle text-xl"},null,-1)),e("div",yo,[i[5]||(i[5]=e("div",{class:"font-bold"},"Manual Puzzle Selection Required",-1)),e("div",_o,x(I(r).length)+" file(s) have low OCR confidence for puzzle names. Please select the correct puzzle for each file before submitting. ",1),e("button",{class:"btn mt-3 w-full",onClick:i[0]||(i[0]=(...l)=>I(u)&&I(u)(...l))},[...i[4]||(i[4]=[e("span",{class:"mdi mdi-reload text-2xl"},null,-1),q(" Retry OCR on low confidence puzzle ",-1)])])])])):A("",!0),e("div",wo,[e("div",zo,[e("label",ko,[i[7]||(i[7]=e("span",{class:"label-text font-medium"},"Notes (Optional)",-1)),e("span",xo,x(w.value)+"/500",1)]),ce(e("textarea",{"onUpdate:modelValue":i[1]||(i[1]=l=>g.value=l),class:"flex textarea textarea-bordered h-24 w-full resize-none",placeholder:"Add any notes about your solution, approach, or interesting findings...",maxlength:"500"},null,512),[[ke,g.value]])])]),e("div",So,[e("label",$o,[ce(e("input",{type:"checkbox","onUpdate:modelValue":i[2]||(i[2]=l=>d.value=l),class:"checkbox checkbox-primary",disabled:I(o)},null,8,Co),[[gs,d.value]]),i[8]||(i[8]=e("div",{class:"flex-1"},[e("span",{class:"label-text font-medium"},"Request manual validation"),e("div",{class:"label-text-alt text-xs opacity-70 mt-1"},[q(" Check this if you want an admin to manually review your submission, even if OCR confidence is high. "),e("br"),e("em",null,"Note: This will be automatically checked if any OCR confidence is below 80%.")])],-1))])]),e("div",Lo,[e("button",{type:"submit",class:"btn btn-primary",disabled:!_.value},[y.value?(f(),h("span",Ro)):A("",!0),y.value?(f(),h("span",Oo,"Submitting...")):I(r).length>0?(f(),h("span",Eo," Select Puzzles ("+x(I(r).length)+" remaining) ",1)):(f(),h("span",Mo,"Submit Solution"))],8,Po)])],32)])]))}}),Ao={class:"card bg-base-100 shadow-xl"},Do={class:"card-body"},jo={class:"stats stats-vertical lg:stats-horizontal shadow mb-6"},Io={class:"stat"},To={class:"stat-value text-primary"},qo={class:"stat"},Fo={class:"stat-value text-secondary"},Uo={class:"stat"},Bo={class:"stat-value text-warning"},Vo={class:"stat"},Go={class:"stat-value text-success"},Wo={key:0},Ho={class:"overflow-x-auto"},Jo={class:"table table-zebra"},Ko={class:"font-bold"},Yo={class:"text-sm opacity-50"},Zo={class:"text-sm space-y-1"},Qo={class:"flex justify-between items-center"},Xo={class:"flex justify-between items-center"},ea={class:"flex justify-between items-center"},ta={class:"badge badge-warning badge-sm"},sa=["onClick"],na=["onClick"],oa={key:1,class:"text-center py-8"},aa={key:0,class:"modal modal-open"},ra={class:"modal-box w-11/12 max-w-5xl"},ia=["src"],la={key:0,class:"space-y-4"},ca={class:"alert alert-info"},ua={class:"font-bold"},da={class:"grid grid-cols-4 gap-4"},fa={class:"form-control"},ha=["value"],va={class:"form-control"},ma=["placeholder"],ga={class:"form-control"},pa=["placeholder"],ba={class:"form-control"},ya=["placeholder"],_a={class:"modal-action"},wa=["disabled"],za={key:0,class:"loading loading-spinner loading-sm"},ka={class:"mockup-code w-full"},xa=me({__name:"AdminPanel",setup(n,{expose:a}){const t=Le(),s=j({total_submissions:0,total_responses:0,needs_validation:0,validated_submissions:0,validation_rate:0}),o=j([]),r=j(!1),c=j(!1),u=j({show:!1,response:null,data:{puzzle:-1,validated_cost:0,validated_cycles:0,validated_area:0}}),p=async()=>{try{r.value=!0;try{const i=await ae.getStats();i.data&&(s.value=i.data)}catch(i){console.warn("Stats endpoint not available:",i),s.value={total_submissions:0,total_responses:0,needs_validation:0,validated_submissions:0,validation_rate:0}}const S=await ae.getResponsesNeedingValidation();S.data&&(o.value=S.data)}catch(S){console.error("Failed to load admin data:",S)}finally{r.value=!1}},g=async()=>{for(const S of Array.from(o.value)){if(!S.id)continue;const{data:i,error:l}=await ae.autoValidateResponses(S.id);if(i&&!i.needs_manual_validation)o.value=o.value.filter(v=>v.id!==S.id),s.value.needs_validation-=1;else if(l)break}},d=S=>{u.value.response=S,u.value.data={puzzle:S.puzzle_id||-1,validated_cost:S.cost||0,validated_cycles:S.cycles||0,validated_area:S.area||0},u.value.show=!0},y=()=>{u.value.show=!1,u.value.response=null,u.value.data={puzzle:-1,validated_cost:0,validated_cycles:0,validated_area:0}},w=async S=>{const{data:i}=await ae.autoValidateResponses(S);console.log(i),i&&!i.needs_manual_validation&&(o.value=o.value.filter(l=>l.id!==S),console.log(s.value),s.value.needs_validation-=1,console.log(s.value))},_=async()=>{if(u.value.response?.id)try{c.value=!0;const S=await ae.validateResponse(u.value.response.id,u.value.data);if(S.error){alert(`Validation failed: ${S.error}`);return}o.value=o.value.filter(i=>i.id!==u.value.response?.id),s.value.needs_validation=Math.max(0,s.value.needs_validation-1),y()}catch(S){console.error("Validation error:",S),alert("Validation failed")}finally{c.value=!1}};ot(()=>{p()});const P=S=>S>=.8?"badge-success":S>=.6?"badge-warning":"badge-error",L=S=>{const i=[S.ocr_confidence_cost,S.ocr_confidence_cycles,S.ocr_confidence_area].filter(v=>v!=null);if(i.length===0)return 0;const l=i.reduce((v,$)=>v+$,0)/i.length;return Math.round(l*100)};return a({refresh:p}),(S,i)=>(f(),h(Q,null,[e("div",Ao,[e("div",Do,[i[14]||(i[14]=e("h2",{class:"card-title"},[e("i",{class:"mdi mdi-shield-account text-2xl text-warning"}),q(" Admin Panel ")],-1)),e("div",jo,[e("div",Io,[i[4]||(i[4]=e("div",{class:"stat-title"},"Total Submissions",-1)),e("div",To,x(s.value.total_submissions),1)]),e("div",qo,[i[5]||(i[5]=e("div",{class:"stat-title"},"Total Responses",-1)),e("div",Fo,x(s.value.total_responses),1)]),e("div",Uo,[i[6]||(i[6]=e("div",{class:"stat-title"},"Need Validation",-1)),e("div",Bo,x(s.value.needs_validation),1)]),e("div",Vo,[i[7]||(i[7]=e("div",{class:"stat-title"},"Validation Rate",-1)),e("div",Go,x(Math.round(s.value.validation_rate*100))+"% ",1)])]),e("button",{class:"btn btn-sm btn-primary",onClick:g},[...i[8]||(i[8]=[e("i",{class:"mdi mdi-check-circle mr-1"},null,-1),q(" Auto validation for all responses ",-1)])]),o.value.length>0?(f(),h("div",Wo,[i[12]||(i[12]=e("h3",{class:"text-lg font-bold mb-4"},"Responses Needing Validation",-1)),e("div",Ho,[e("table",Jo,[i[11]||(i[11]=e("thead",null,[e("tr",null,[e("th",null,"Puzzle"),e("th",null,"OCR Data"),e("th",null,"Confidence"),e("th",null,"Actions")])],-1)),e("tbody",null,[(f(!0),h(Q,null,ee(o.value,l=>(f(),h("tr",{key:l.id},[e("td",null,[e("div",Ko,x(l.puzzle_name),1),e("div",Yo,"ID: "+x(l.id),1)]),e("td",null,[e("div",Zo,[e("div",Qo,[e("span",null,"Cost: "+x(l.cost||"-"),1),l.ocr_confidence_cost?(f(),h("span",{key:0,class:re(["badge badge-xs",P(l.ocr_confidence_cost)])},x(Math.round(l.ocr_confidence_cost*100))+"% ",3)):A("",!0)]),e("div",Xo,[e("span",null,"Cycles: "+x(l.cycles||"-"),1),l.ocr_confidence_cycles?(f(),h("span",{key:0,class:re(["badge badge-xs",P(l.ocr_confidence_cycles)])},x(Math.round(l.ocr_confidence_cycles*100))+"% ",3)):A("",!0)]),e("div",ea,[e("span",null,"Area: "+x(l.area||"-"),1),l.ocr_confidence_area?(f(),h("span",{key:0,class:re(["badge badge-xs",P(l.ocr_confidence_area)])},x(Math.round(l.ocr_confidence_area*100))+"% ",3)):A("",!0)])])]),e("td",null,[e("div",ta,x(L(l))+"% ",1)]),e("td",null,[e("button",{onClick:v=>d(l),class:"btn btn-sm btn-primary mr-2"},[...i[9]||(i[9]=[e("i",{class:"mdi mdi-check-circle mr-1"},null,-1),q(" Validate ",-1)])],8,sa),l.id?(f(),h("button",{key:0,onClick:v=>w(l.id),class:"btn btn-sm btn-warning"},[...i[10]||(i[10]=[e("i",{class:"mdi mdi-check-circle mr-1"},null,-1),q(" Auto Validation ",-1)])],8,na)):A("",!0)])]))),128))])])])])):(f(),h("div",oa,[...i[13]||(i[13]=[e("i",{class:"mdi mdi-check-all text-6xl text-success opacity-50"},null,-1),e("p",{class:"text-lg font-medium mt-2"},"All responses validated!",-1),e("p",{class:"text-sm opacity-70"}," No responses currently need manual validation. ",-1)])]))])]),u.value.show?(f(),h("div",aa,[e("div",ra,[i[22]||(i[22]=e("h3",{class:"font-bold text-lg mb-4"},"Validate Response",-1)),(f(!0),h(Q,null,ee(u.value.response?.files??[],l=>(f(),h("div",null,[e("img",{src:l.file_url},null,8,ia)]))),256)),u.value.response?(f(),h("div",la,[e("div",ca,[i[16]||(i[16]=e("i",{class:"mdi mdi-information-outline"},null,-1)),e("div",null,[e("div",ua,x(u.value.response.puzzle_name),1),i[15]||(i[15]=e("div",{class:"text-sm"},"Review and correct the OCR data below",-1))])]),e("div",da,[e("div",fa,[i[18]||(i[18]=e("label",{class:"label"},[e("span",{class:"label-text"},"Puzzle")],-1)),ce(e("select",{"onUpdate:modelValue":i[0]||(i[0]=l=>u.value.data.puzzle=l),class:"select select-bordered select-sm w-full"},[i[17]||(i[17]=e("option",{value:""},"Select puzzle...",-1)),(f(!0),h(Q,null,ee(I(t).puzzles,l=>(f(),h("option",{key:l.id,value:l.id},x(l.title),9,ha))),128))],512),[[Wt,u.value.data.puzzle]])]),e("div",va,[i[19]||(i[19]=e("label",{class:"label"},[e("span",{class:"label-text"},"Cost")],-1)),ce(e("input",{"onUpdate:modelValue":i[1]||(i[1]=l=>u.value.data.validated_cost=l),type:"text",class:"input input-bordered input-sm",placeholder:u.value.response.cost?.toString()||"Enter cost"},null,8,ma),[[ke,u.value.data.validated_cost]])]),e("div",ga,[i[20]||(i[20]=e("label",{class:"label"},[e("span",{class:"label-text"},"Cycles")],-1)),ce(e("input",{"onUpdate:modelValue":i[2]||(i[2]=l=>u.value.data.validated_cycles=l),type:"text",class:"input input-bordered input-sm",placeholder:u.value.response.cycles?.toString()||"Enter cycles"},null,8,pa),[[ke,u.value.data.validated_cycles]])]),e("div",ba,[i[21]||(i[21]=e("label",{class:"label"},[e("span",{class:"label-text"},"Area")],-1)),ce(e("input",{"onUpdate:modelValue":i[3]||(i[3]=l=>u.value.data.validated_area=l),type:"text",class:"input input-bordered input-sm",placeholder:u.value.response.area?.toString()||"Enter area"},null,8,ya),[[ke,u.value.data.validated_area]])])]),e("div",_a,[e("button",{onClick:y,class:"btn btn-ghost"}," Cancel "),e("button",{onClick:_,class:"btn btn-primary",disabled:c.value},[c.value?(f(),h("span",za)):A("",!0),q(" "+x(c.value?"Validating...":"Validate"),1)],8,wa)]),e("div",ka,[e("pre",null,[e("code",null,x(u.value),1)])])])):A("",!0)]),e("div",{class:"modal-backdrop",onClick:y})])):A("",!0)],64))}}),Sa={class:"mb-8"},$a={class:"card bg-base-100 shadow-lg"},Ca={class:"card-body"},La={key:0,class:"flex justify-center py-8"},Pa={key:1,class:"text-center py-8"},Ra={key:2,class:"space-y-6"},Oa={class:"tabs tabs-boxed"},Ea={class:"space-y-4"},Ma={key:0,class:"text-center py-8"},Na={key:1,class:"overflow-x-auto"},Aa={class:"table table-zebra w-full"},Da={class:"font-bold"},ja={key:0,class:"badge badge-warning badge-lg"},Ia={key:1,class:"badge badge-lg"},Ta={key:2,class:"badge badge-lg"},qa={key:3},Fa={class:"font-medium"},Ua={class:"text-right"},Ba={class:"text-right font-bold"},Va={class:"space-y-6"},Ga=["onClick"],Wa={class:"ml-auto badge badge-sm"},Ha={key:0,class:"card-body"},Ja={key:0,class:"text-center py-8"},Ka={key:1,class:"space-y-6"},Ya={class:"grid grid-cols-1 md:grid-cols-3 gap-4"},Za={class:"card-body p-4"},Qa={class:"text-xs text-base-content/70 font-bold"},Xa={class:"font-bold text-lg"},er={class:"space-y-2 text-sm"},tr={class:"flex justify-between"},sr={class:"badge badge-sm"},nr={class:"flex justify-between"},or={class:"badge badge-sm"},ar={class:"flex justify-between"},rr={class:"badge badge-sm"},ir={class:"flex justify-between pt-2 border-t"},lr={class:"badge badge-sm"},cr={class:"flex justify-between pt-2 border-t"},ur={class:"badge badge-primary"},dr={class:"overflow-x-auto"},fr={class:"table table-zebra w-full table-sm"},hr={class:"font-bold"},vr={key:0,class:"badge badge-warning"},mr={key:1,class:"badge"},gr={key:2,class:"badge"},pr={key:3},br={class:"font-medium"},yr={class:"text-center"},_r={key:0,class:"badge badge-sm"},wr={key:1,class:"text-base-content/40"},zr={class:"text-center"},kr={key:0,class:"badge badge-sm"},xr={key:1,class:"text-base-content/40"},Sr={class:"text-center"},$r={key:0,class:"badge badge-sm"},Cr={key:1,class:"text-base-content/40"},Lr={class:"text-center"},Pr={key:0,class:"badge badge-sm"},Rr={key:1,class:"text-base-content/40"},Or={class:"text-right font-bold text-primary text-lg"},Er=me({__name:"Results",setup(n){const a=j(!0),t=j(null),s=j("overall"),o=j(null),r=async()=>{a.value=!0;try{const g=await fetch("/api/results/results");if(!g.ok)throw new Error("Failed to fetch results");t.value=await g.json()}catch(g){console.error("Error fetching results:",g)}finally{a.value=!1}},c=()=>t.value?t.value.users.map(d=>{const y=t.value.responses_by_userid[d.id]||[],w=y.reduce((P,L)=>P+(L.rank_points||0),0),_=y.length;return{username:d.username,totalPoints:w,puzzlesSolved:_}}).sort((d,y)=>y.totalPoints-d.totalPoints):[],u=g=>t.value?(t.value.ranking_by_puzzle[g]||[]).map(y=>(console.log(y),{username:t.value.users.find(_=>_.id===y.user_id)?.username||"Unknown",cost:y.final_cost,cycles:y.final_cycles,area:y.final_area,points:y.points,rank_points:y.rank_points||0})):[],p=g=>{o.value=o.value===g?null:g};return ot(()=>{r()}),(g,d)=>(f(),h("div",Sa,[e("div",$a,[e("div",Ca,[d[16]||(d[16]=e("h2",{class:"card-title text-2xl mb-6"},[e("i",{class:"mdi mdi-trophy text-yellow-500 mr-2"}),q(" General Results ")],-1)),a.value?(f(),h("div",La,[...d[2]||(d[2]=[e("span",{class:"loading loading-spinner loading-lg"},null,-1)])])):t.value?(f(),h("div",Ra,[e("div",Oa,[e("button",{onClick:d[0]||(d[0]=y=>s.value="overall"),class:re(["tab",s.value==="overall"?"tab-active":""])},[...d[4]||(d[4]=[e("i",{class:"mdi mdi-chart-line mr-2"},null,-1),q(" Overall Ranking ",-1)])],2),e("button",{onClick:d[1]||(d[1]=y=>s.value="byPuzzle"),class:re(["tab",s.value==="byPuzzle"?"tab-active":""])},[...d[5]||(d[5]=[e("i",{class:"mdi mdi-puzzle mr-2"},null,-1),q(" By Puzzle ",-1)])],2)]),ce(e("div",Ea,[c().length===0?(f(),h("div",Ma,[...d[6]||(d[6]=[e("p",{class:"text-base-content/70"},"No submissions yet",-1)])])):(f(),h("div",Na,[e("table",Aa,[d[7]||(d[7]=e("thead",null,[e("tr",null,[e("th",null,"Rank"),e("th",null,"Player"),e("th",{class:"text-right"},"Puzzles Solved"),e("th",{class:"text-right"},"Total Points")])],-1)),e("tbody",null,[(f(!0),h(Q,null,ee(c(),(y,w)=>(f(),h("tr",{key:y.username},[e("td",Da,[w===0?(f(),h("span",ja," 🏆 #1 ")):w===1?(f(),h("span",Ia," 🥈 #2 ")):w===2?(f(),h("span",Ta," 🥉 #3 ")):(f(),h("span",qa,"#"+x(w+1),1))]),e("td",Fa,x(y.username),1),e("td",Ua,x(y.puzzlesSolved),1),e("td",Ba,x(y.totalPoints),1)]))),128))])])]))],512),[[dt,s.value==="overall"]]),ce(e("div",Va,[(f(!0),h(Q,null,ee(t.value.puzzles,y=>(f(),h("div",{key:y.id,class:"card bg-base-100 border border-base-300"},[e("button",{onClick:w=>p(y.id),class:"btn btn-ghost btn-lg w-full justify-start text-lg font-bold hover:bg-primary/20 rounded-b-none"},[e("i",{class:re(["mdi mr-2",o.value===y.id?"mdi-chevron-down":"mdi-chevron-right"])},null,2),q(" "+x(y.title)+" ",1),e("span",Wa,x(u(y.id).length)+" submissions ",1)],8,Ga),o.value===y.id?(f(),h("div",Ha,[u(y.id).length===0?(f(),h("div",Ja,[...d[8]||(d[8]=[e("p",{class:"text-base-content/70 text-lg"},"No submissions yet",-1)])])):(f(),h("div",Ka,[e("div",Ya,[(f(!0),h(Q,null,ee(u(y.id).slice(0,3),(w,_)=>(f(),h("div",{key:_,class:"card bg-base-200"},[e("div",Za,[e("div",Qa,x(_===0?"🏆 1st Place":_===1?"🥈 2nd Place":"🥉 3rd Place"),1),e("h4",Xa,x(w.username),1),d[14]||(d[14]=e("div",{class:"divider my-2"},null,-1)),e("div",er,[e("div",tr,[d[9]||(d[9]=e("span",null,"Cost",-1)),e("span",sr,x(w.cost||"N/A"),1)]),e("div",nr,[d[10]||(d[10]=e("span",null,"Cycles",-1)),e("span",or,x(w.cycles||"N/A"),1)]),e("div",ar,[d[11]||(d[11]=e("span",null,"Area",-1)),e("span",rr,x(w.area||"N/A"),1)]),e("div",ir,[d[12]||(d[12]=e("span",null,"Total (with coef.)",-1)),e("span",lr,x(w.points||"N/A"),1)]),e("div",cr,[d[13]||(d[13]=e("span",{class:"font-bold"},"Points",-1)),e("span",ur,x(w.rank_points)+" pts",1)])])])]))),128))]),e("div",dr,[e("table",fr,[d[15]||(d[15]=e("thead",null,[e("tr",null,[e("th",{class:"w-12"},"Rank"),e("th",null,"Player"),e("th",{class:"text-center"},"Cost"),e("th",{class:"text-center"},"Cycles"),e("th",{class:"text-center"},"Area"),e("th",{class:"text-center"},"Total (with coef.)"),e("th",{class:"text-right"},"Points")])],-1)),e("tbody",null,[(f(!0),h(Q,null,ee(u(y.id),(w,_)=>(f(),h("tr",{key:_,class:re({"bg-primary/10":_<3})},[e("td",hr,[_===0?(f(),h("span",vr,"🏆")):_===1?(f(),h("span",mr,"🥈")):_===2?(f(),h("span",gr,"🥉")):(f(),h("span",pr,"#"+x(_+1),1))]),e("td",br,x(w.username),1),e("td",yr,[w.cost?(f(),h("span",_r,x(w.cost),1)):(f(),h("span",wr,"—"))]),e("td",zr,[w.cycles?(f(),h("span",kr,x(w.cycles),1)):(f(),h("span",xr,"—"))]),e("td",Sr,[w.area?(f(),h("span",$r,x(w.area),1)):(f(),h("span",Cr,"—"))]),e("td",Lr,[w.points?(f(),h("span",Pr,x(w.points),1)):(f(),h("span",Rr,"—"))]),e("td",Or,x(w.rank_points),1)],2))),128))])])])]))])):A("",!0)]))),128))],512),[[dt,s.value==="byPuzzle"]])])):(f(),h("div",Pa,[...d[3]||(d[3]=[e("p",{class:"text-base-content/70"},"No results available yet",-1)])]))])])]))}});function Tt(n,a){return Vt()?(Gt(n,a),!0):!1}const qt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function Mr(n,a=1e3,t={}){const{immediate:s=!0,immediateCallback:o=!1}=t;let r=null;const c=Ht(!1);function u(){r&&(clearInterval(r),r=null)}function p(){c.value=!1,u()}function g(){const d=xe(a);d<=0||(c.value=!0,o&&n(),u(),c.value&&(r=setInterval(n,d)))}return s&&qt&&g(),(ve(a)||typeof a=="function")&&Tt($e(a,()=>{c.value&&qt&&g()})),Tt(p),{isActive:ps(c),pause:p,resume:g}}function Nr(n,a){var t,s;const o=Ht(xe(n)),r=Mr(()=>{var d;const y=o.value-1;if(o.value=y<0?0:y,a==null||(d=a.onTick)===null||d===void 0||d.call(a),o.value<=0){var w;r.pause(),a==null||(w=a.onComplete)===null||w===void 0||w.call(a)}},(t=a?.interval)!==null&&t!==void 0?t:1e3,{immediate:(s=a?.immediate)!==null&&s!==void 0?s:!1}),c=d=>{var y;o.value=(y=xe(d))!==null&&y!==void 0?y:xe(n)},u=()=>{r.pause(),c()},p=()=>{r.isActive.value||o.value>0&&r.resume()};return{remaining:o,reset:c,stop:u,start:d=>{c(d),r.resume()},pause:r.pause,resume:p,isActive:r.isActive}}const Ar={class:"min-h-screen bg-base-200"},Dr={class:"navbar bg-base-100 shadow-lg"},jr={class:"container mx-auto w-full flex items-center gap-4"},Ir={class:"flex items-center gap-4"},Tr={key:0,class:"flex items-center gap-2"},qr={class:"text-sm"},Fr={class:"font-medium"},Ur={key:0,class:"badge badge-warning badge-xs ml-1"},Br={key:1,class:"text-sm text-base-content/70"},Vr={class:"container mx-auto px-4 py-8"},Gr={key:0,class:"flex justify-center"},Wr={class:"text-center"},Hr={class:"mb-6 text-base-content/70"},Jr={key:1,class:"flex justify-center items-center min-h-[400px]"},Kr={key:2,class:"alert alert-error max-w-2xl mx-auto"},Yr={class:"text-sm"},Zr={key:3,class:"space-y-8"},Qr={class:"mb-8"},Xr={class:"card bg-base-100 shadow-lg"},ei={class:"card-body"},ti={class:"card-title text-2xl"},si={class:"text-base-content/70"},ni={class:"flex flex-wrap gap-4 mt-4"},oi={key:0},ai={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"},ri={key:1,class:"text-center py-12"},ii={key:0,class:"modal modal-open"},li={class:"modal-box max-w-6xl"},ci={class:"flex justify-between items-center mb-4"},ui=me({__name:"OpusMagnum",props:{collectionTitle:{},collectionUrl:{},collectionDescription:{}},setup(n){const a=n,t=Le(),s=it(),{submissions:o,isSubmissionModalOpen:r}=rt(s),{openSubmissionModal:c,loadSubmissions:u,closeSubmissionModal:p}=s,g=j(null),d=j(!0),y=j(""),w=ne(()=>g.value?.is_superuser||!1),_=ne(()=>{const $={};return o.value.forEach(k=>{k.responses.forEach(T=>{$[T.puzzle_id]||($[T.puzzle_id]=[]),$[T.puzzle_id].push(T)})}),$});async function P(){try{d.value=!0,y.value="",console.log("Starting data load..."),console.log("Loading user info...");const $=await ae.getUserInfo();$.data?(g.value=$.data,console.log("User info loaded:",$.data)):$.error&&console.warn("User info error:",$.error),console.log("Loading puzzles..."),await t.loadPuzzles(),console.log("Puzzles loaded:",t.puzzles.length),console.log("Loading submissions..."),await u(),console.log("Submissions loaded:",o.value.length),console.log("Data load complete!")}catch($){y.value=Qt.getErrorMessage($),console.error("Failed to load data:",$)}finally{d.value=!1,console.log("Loading state set to false")}g.value?.is_superuser&&S()}const{remaining:L,start:S}=Nr(60,{onComplete(){P()}});ot(async()=>{await P()});const i=$=>t.findPuzzleByName($),l=()=>{window.location.reload()},v=()=>{window.location.href="/"};return($,k)=>(f(),h("div",Ar,[e("div",Dr,[e("div",jr,[e("button",{onClick:v,class:"btn btn-primary btn-sm"},[...k[3]||(k[3]=[e("i",{class:"mdi mdi-arrow-left"},null,-1),q(" Back ",-1)])]),k[6]||(k[6]=e("h1",{class:"text-xl font-bold"},"Opus Magnum Puzzle Submitter",-1)),k[7]||(k[7]=e("div",{class:"flex-1"},null,-1)),e("div",Ir,[g.value?.is_authenticated?(f(),h("div",Tr,[e("div",qr,[e("span",Fr,x(g.value.username),1),g.value.is_superuser?(f(),h("span",Ur,"Admin")):A("",!0)])])):(f(),h("div",Br,"Not logged in")),k[4]||(k[4]=e("a",{href:"/api/docs",class:"btn btn-xs"},"API docs",-1)),k[5]||(k[5]=e("a",{href:"/admin",class:"btn btn-xs btn-warning"},"Admin panel",-1))])])]),e("div",Vr,[g.value?.is_superuser?(f(),h("div",Gr,[e("div",Wr,[e("p",Hr,[k[8]||(k[8]=e("span",{class:"loading loading-spinner loading-lg"},null,-1)),q(" Auto reload page in "+x(I(L))+" seconds ... ",1)])])])):A("",!0),d.value?(f(),h("div",Jr,[...k[9]||(k[9]=[e("div",{class:"text-center"},[e("span",{class:"loading loading-spinner loading-lg"}),e("p",{class:"mt-4 text-base-content/70"},"Loading puzzles...")],-1)])])):y.value?(f(),h("div",Kr,[k[12]||(k[12]=e("i",{class:"mdi mdi-alert-circle text-xl"},null,-1)),e("div",null,[k[10]||(k[10]=e("h3",{class:"font-bold"},"Error Loading Data",-1)),e("div",Yr,x(y.value),1)]),e("button",{onClick:l,class:"btn btn-sm btn-outline"},[...k[11]||(k[11]=[e("i",{class:"mdi mdi-refresh mr-1"},null,-1),q(" Retry ",-1)])])])):(f(),h("div",Zr,[e("div",Qr,[e("div",Xr,[e("div",ei,[e("h2",ti,x(a.collectionTitle),1),e("p",si,x(a.collectionDescription),1),e("div",ni,[e("button",{onClick:k[0]||(k[0]=(...T)=>I(c)&&I(c)(...T)),class:"btn btn-primary"},[...k[13]||(k[13]=[e("i",{class:"mdi mdi-plus mr-2"},null,-1),q(" Submit Solution ",-1)])])])])])]),ze(Er),w.value?(f(),h("div",oi,[ze(xa)])):A("",!0),e("div",ai,[(f(!0),h(Q,null,ee(I(t).puzzles,T=>(f(),bs(sn,{key:T.id,puzzle:T,responses:_.value[T.id]||[]},null,8,["puzzle","responses"]))),128))]),I(t).puzzles.length===0?(f(),h("div",ri,[...k[14]||(k[14]=[e("div",{class:"text-6xl mb-4"},"🧩",-1),e("h3",{class:"text-xl font-bold mb-2"},"No Puzzles Available",-1),e("p",{class:"text-base-content/70"}," Check back later for new puzzle collections! ",-1)])])):A("",!0)]))]),I(r)?(f(),h("div",ii,[e("div",li,[e("div",ci,[k[16]||(k[16]=e("h3",{class:"font-bold text-lg"},"Submit Solution",-1)),e("button",{onClick:k[1]||(k[1]=(...T)=>I(p)&&I(p)(...T)),class:"btn btn-sm btn-circle btn-ghost"},[...k[15]||(k[15]=[e("i",{class:"mdi mdi-close"},null,-1)])])]),ze(No,{puzzles:I(t).puzzles,"find-puzzle-by-name":i},null,8,["puzzles"])]),e("div",{class:"modal-backdrop",onClick:k[2]||(k[2]=(...T)=>I(p)&&I(p)(...T))})])):A("",!0)]))}}),di=_s(),ns="#app",fi=document.querySelector(ns),os=ys(ui,{...fi?.dataset});os.use(di);os.mount(ns); diff --git a/polylan_submitter/static_source/vite/assets/opus_magnum-CDmJjerY.js b/polylan_submitter/static_source/vite/assets/opus_magnum-CDmJjerY.js deleted file mode 100644 index 113e6eb..0000000 --- a/polylan_submitter/static_source/vite/assets/opus_magnum-CDmJjerY.js +++ /dev/null @@ -1,21 +0,0 @@ -/** -* @vue/shared v3.5.22 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Fn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const ae={},Mt=[],Xe=()=>{},yr=()=>!1,Os=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),jn=e=>e.startsWith("onUpdate:"),$e=Object.assign,Un=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Wi=Object.prototype.hasOwnProperty,se=(e,t)=>Wi.call(e,t),B=Array.isArray,Lt=e=>as(e)==="[object Map]",Nt=e=>as(e)==="[object Set]",ho=e=>as(e)==="[object Date]",W=e=>typeof e=="function",_e=e=>typeof e=="string",et=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",wr=e=>(ce(e)||W(e))&&W(e.then)&&W(e.catch),xr=Object.prototype.toString,as=e=>xr.call(e),Ki=e=>as(e).slice(8,-1),Sr=e=>as(e)==="[object Object]",Vn=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kt=Fn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ms=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Gi=/-\w/g,_t=Ms(e=>e.replace(Gi,t=>t.slice(1).toUpperCase())),Ji=/\B([A-Z])/g,kt=Ms(e=>e.replace(Ji,"-$1").toLowerCase()),zr=Ms(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ws=Ms(e=>e?`on${zr(e)}`:""),bt=(e,t)=>!Object.is(e,t),gs=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},ws=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let po;const Ls=()=>po||(po=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qn(e){if(B(e)){const t={};for(let s=0;s{if(s){const n=s.split(Zi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ne(e){let t="";if(_e(e))t=e;else if(B(e))for(let s=0;scs(s,t))}const Pr=e=>!!(e&&e.__v_isRef===!0),N=e=>_e(e)?e:e==null?"":B(e)||ce(e)&&(e.toString===xr||!W(e.toString))?Pr(e)?N(e.value):JSON.stringify(e,kr,2):String(e),kr=(e,t)=>Pr(t)?kr(e,t.value):Lt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,o],r)=>(s[Ks(n,r)+" =>"]=o,s),{})}:Nt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Ks(s))}:et(t)?Ks(t):ce(t)&&!B(t)&&!Sr(t)?String(t):t,Ks=(e,t="")=>{var s;return et(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** -* @vue/reactivity v3.5.22 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let ze;class Er{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ze,!t&&ze&&(this.index=(ze.scopes||(ze.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t0&&--this._on===0&&(ze=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s0)return;if(Jt){let t=Jt;for(Jt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Gt;){let t=Gt;for(Gt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Ar(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ir(e){let t,s=e.depsTail,n=s;for(;n;){const o=n.prevDep;n.version===-1?(n===s&&(s=o),Gn(n),nl(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=s}function Cn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Dr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Dr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ss)||(e.globalVersion=ss,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Cn(e))))return;e.flags|=2;const t=e.dep,s=fe,n=Be;fe=e,Be=!0;try{Ar(e);const o=e.fn(e._value);(t.version===0||bt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{fe=s,Be=n,Ir(e),e.flags&=-3}}function Gn(e,t=!1){const{dep:s,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Gn(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function nl(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Be=!0;const Nr=[];function ut(){Nr.push(Be),Be=!1}function ft(){const e=Nr.pop();Be=e===void 0?!0:e}function go(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=fe;fe=void 0;try{t()}finally{fe=s}}}let ss=0;class ol{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Jn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!fe||!Be||fe===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==fe)s=this.activeLink=new ol(fe,this),fe.deps?(s.prevDep=fe.depsTail,fe.depsTail.nextDep=s,fe.depsTail=s):fe.deps=fe.depsTail=s,Fr(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=fe.depsTail,s.nextDep=void 0,fe.depsTail.nextDep=s,fe.depsTail=s,fe.deps===s&&(fe.deps=n)}return s}trigger(t){this.version++,ss++,this.notify(t)}notify(t){Wn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Kn()}}}function Fr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Fr(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const xs=new WeakMap,Ct=Symbol(""),$n=Symbol(""),ns=Symbol("");function Ce(e,t,s){if(Be&&fe){let n=xs.get(e);n||xs.set(e,n=new Map);let o=n.get(s);o||(n.set(s,o=new Jn),o.map=n,o.key=s),o.track()}}function rt(e,t,s,n,o,r){const i=xs.get(e);if(!i){ss++;return}const l=c=>{c&&c.trigger()};if(Wn(),t==="clear")i.forEach(l);else{const c=B(e),d=c&&Vn(s);if(c&&s==="length"){const u=Number(n);i.forEach((h,v)=>{(v==="length"||v===ns||!et(v)&&v>=u)&&l(h)})}else switch((s!==void 0||i.has(void 0))&&l(i.get(s)),d&&l(i.get(ns)),t){case"add":c?d&&l(i.get("length")):(l(i.get(Ct)),Lt(e)&&l(i.get($n)));break;case"delete":c||(l(i.get(Ct)),Lt(e)&&l(i.get($n)));break;case"set":Lt(e)&&l(i.get(Ct));break}}Kn()}function rl(e,t){const s=xs.get(e);return s&&s.get(t)}function Et(e){const t=Q(e);return t===e?t:(Ce(t,"iterate",ns),qe(e)?t:t.map(xe))}function Ts(e){return Ce(e=Q(e),"iterate",ns),e}const il={__proto__:null,[Symbol.iterator](){return Js(this,Symbol.iterator,xe)},concat(...e){return Et(this).concat(...e.map(t=>B(t)?Et(t):t))},entries(){return Js(this,"entries",e=>(e[1]=xe(e[1]),e))},every(e,t){return nt(this,"every",e,t,void 0,arguments)},filter(e,t){return nt(this,"filter",e,t,s=>s.map(xe),arguments)},find(e,t){return nt(this,"find",e,t,xe,arguments)},findIndex(e,t){return nt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return nt(this,"findLast",e,t,xe,arguments)},findLastIndex(e,t){return nt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return nt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ys(this,"includes",e)},indexOf(...e){return Ys(this,"indexOf",e)},join(e){return Et(this).join(e)},lastIndexOf(...e){return Ys(this,"lastIndexOf",e)},map(e,t){return nt(this,"map",e,t,void 0,arguments)},pop(){return Ut(this,"pop")},push(...e){return Ut(this,"push",e)},reduce(e,...t){return mo(this,"reduce",e,t)},reduceRight(e,...t){return mo(this,"reduceRight",e,t)},shift(){return Ut(this,"shift")},some(e,t){return nt(this,"some",e,t,void 0,arguments)},splice(...e){return Ut(this,"splice",e)},toReversed(){return Et(this).toReversed()},toSorted(e){return Et(this).toSorted(e)},toSpliced(...e){return Et(this).toSpliced(...e)},unshift(...e){return Ut(this,"unshift",e)},values(){return Js(this,"values",xe)}};function Js(e,t,s){const n=Ts(e),o=n[t]();return n!==e&&!qe(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.done||(r.value=s(r.value)),r}),o}const ll=Array.prototype;function nt(e,t,s,n,o,r){const i=Ts(e),l=i!==e&&!qe(e),c=i[t];if(c!==ll[t]){const h=c.apply(e,r);return l?xe(h):h}let d=s;i!==e&&(l?d=function(h,v){return s.call(this,xe(h),v,e)}:s.length>2&&(d=function(h,v){return s.call(this,h,v,e)}));const u=c.call(i,d,n);return l&&o?o(u):u}function mo(e,t,s,n){const o=Ts(e);let r=s;return o!==e&&(qe(e)?s.length>3&&(r=function(i,l,c){return s.call(this,i,l,c,e)}):r=function(i,l,c){return s.call(this,i,xe(l),c,e)}),o[t](r,...n)}function Ys(e,t,s){const n=Q(e);Ce(n,"iterate",ns);const o=n[t](...s);return(o===-1||o===!1)&&Yn(s[0])?(s[0]=Q(s[0]),n[t](...s)):o}function Ut(e,t,s=[]){ut(),Wn();const n=Q(e)[t].apply(e,s);return Kn(),ft(),n}const al=Fn("__proto__,__v_isRef,__isVue"),jr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function cl(e){et(e)||(e=String(e));const t=Q(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class Ur{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(o?r?Kr:Wr:r?Hr:Br).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=B(t);if(!o){let c;if(i&&(c=il[s]))return c;if(s==="hasOwnProperty")return cl}const l=Reflect.get(t,s,de(t)?t:n);if((et(s)?jr.has(s):al(s))||(o||Ce(t,"get",s),r))return l;if(de(l)){const c=i&&Vn(s)?l:l.value;return o&&ce(c)?kn(c):c}return ce(l)?o?kn(l):Is(l):l}}class Vr extends Ur{constructor(t=!1){super(!1,t)}set(t,s,n,o){let r=t[s];if(!this._isShallow){const c=yt(r);if(!qe(n)&&!yt(n)&&(r=Q(r),n=Q(n)),!B(t)&&de(r)&&!de(n))return c||(r.value=n),!0}const i=B(t)&&Vn(s)?Number(s)e,ds=e=>Reflect.getPrototypeOf(e);function pl(e,t,s){return function(...n){const o=this.__v_raw,r=Q(o),i=Lt(r),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,d=o[e](...n),u=s?Pn:t?Ss:xe;return!t&&Ce(r,"iterate",c?$n:Ct),{next(){const{value:h,done:v}=d.next();return v?{value:h,done:v}:{value:l?[u(h[0]),u(h[1])]:u(h),done:v}},[Symbol.iterator](){return this}}}}function hs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function gl(e,t){const s={get(o){const r=this.__v_raw,i=Q(r),l=Q(o);e||(bt(o,l)&&Ce(i,"get",o),Ce(i,"get",l));const{has:c}=ds(i),d=t?Pn:e?Ss:xe;if(c.call(i,o))return d(r.get(o));if(c.call(i,l))return d(r.get(l));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&Ce(Q(o),"iterate",Ct),o.size},has(o){const r=this.__v_raw,i=Q(r),l=Q(o);return e||(bt(o,l)&&Ce(i,"has",o),Ce(i,"has",l)),o===l?r.has(o):r.has(o)||r.has(l)},forEach(o,r){const i=this,l=i.__v_raw,c=Q(l),d=t?Pn:e?Ss:xe;return!e&&Ce(c,"iterate",Ct),l.forEach((u,h)=>o.call(r,d(u),d(h),i))}};return $e(s,e?{add:hs("add"),set:hs("set"),delete:hs("delete"),clear:hs("clear")}:{add(o){!t&&!qe(o)&&!yt(o)&&(o=Q(o));const r=Q(this);return ds(r).has.call(r,o)||(r.add(o),rt(r,"add",o,o)),this},set(o,r){!t&&!qe(r)&&!yt(r)&&(r=Q(r));const i=Q(this),{has:l,get:c}=ds(i);let d=l.call(i,o);d||(o=Q(o),d=l.call(i,o));const u=c.call(i,o);return i.set(o,r),d?bt(r,u)&&rt(i,"set",o,r):rt(i,"add",o,r),this},delete(o){const r=Q(this),{has:i,get:l}=ds(r);let c=i.call(r,o);c||(o=Q(o),c=i.call(r,o)),l&&l.call(r,o);const d=r.delete(o);return c&&rt(r,"delete",o,void 0),d},clear(){const o=Q(this),r=o.size!==0,i=o.clear();return r&&rt(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=pl(o,e,t)}),s}function As(e,t){const s=gl(e,t);return(n,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(se(s,o)&&o in n?s:n,o,r)}const ml={get:As(!1,!1)},vl={get:As(!1,!0)},bl={get:As(!0,!1)},_l={get:As(!0,!0)},Br=new WeakMap,Hr=new WeakMap,Wr=new WeakMap,Kr=new WeakMap;function yl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wl(e){return e.__v_skip||!Object.isExtensible(e)?0:yl(Ki(e))}function Is(e){return yt(e)?e:Ds(e,!1,ul,ml,Br)}function xl(e){return Ds(e,!1,dl,vl,Hr)}function kn(e){return Ds(e,!0,fl,bl,Wr)}function Sl(e){return Ds(e,!0,hl,_l,Kr)}function Ds(e,t,s,n,o){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=wl(e);if(r===0)return e;const i=o.get(e);if(i)return i;const l=new Proxy(e,r===2?n:s);return o.set(e,l),l}function at(e){return yt(e)?at(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function qe(e){return!!(e&&e.__v_isShallow)}function Yn(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Zn(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&Cr(e,"__v_skip",!0),e}const xe=e=>ce(e)?Is(e):e,Ss=e=>ce(e)?kn(e):e;function de(e){return e?e.__v_isRef===!0:!1}function oe(e){return Jr(e,!1)}function Gr(e){return Jr(e,!0)}function Jr(e,t){return de(e)?e:new zl(e,t)}class zl{constructor(t,s){this.dep=new Jn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:Q(t),this._value=s?t:xe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||qe(t)||yt(t);t=n?t:Q(t),bt(t,s)&&(this._rawValue=t,this._value=n?t:xe(t),this.dep.trigger())}}function ie(e){return de(e)?e.value:e}function ms(e){return W(e)?e():ie(e)}const Cl={get:(e,t,s)=>t==="__v_raw"?e:ie(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const o=e[t];return de(o)&&!de(s)?(o.value=s,!0):Reflect.set(e,t,s,n)}};function Yr(e){return at(e)?e:new Proxy(e,Cl)}function $l(e){const t=B(e)?new Array(e.length):{};for(const s in e)t[s]=Zr(e,s);return t}class Pl{constructor(t,s,n){this._object=t,this._key=s,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return rl(Q(this._object),this._key)}}class kl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function El(e,t,s){return de(e)?e:W(e)?new kl(e):ce(e)&&arguments.length>1?Zr(e,t,s):oe(e)}function Zr(e,t,s){const n=e[t];return de(n)?n:new Pl(e,t,s)}class Rl{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Jn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ss-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return Tr(this,!0),!0}get value(){const t=this.dep.track();return Dr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ol(e,t,s=!1){let n,o;return W(e)?n=e:(n=e.get,o=e.set),new Rl(n,o,s)}const ps={},zs=new WeakMap;let zt;function Ml(e,t=!1,s=zt){if(s){let n=zs.get(s);n||zs.set(s,n=[]),n.push(e)}}function Ll(e,t,s=ae){const{immediate:n,deep:o,once:r,scheduler:i,augmentJob:l,call:c}=s,d=C=>o?C:qe(C)||o===!1||o===0?it(C,1):it(C);let u,h,v,_,I=!1,A=!1;if(de(e)?(h=()=>e.value,I=qe(e)):at(e)?(h=()=>d(e),I=!0):B(e)?(A=!0,I=e.some(C=>at(C)||qe(C)),h=()=>e.map(C=>{if(de(C))return C.value;if(at(C))return d(C);if(W(C))return c?c(C,2):C()})):W(e)?t?h=c?()=>c(e,2):e:h=()=>{if(v){ut();try{v()}finally{ft()}}const C=zt;zt=u;try{return c?c(e,3,[_]):e(_)}finally{zt=C}}:h=Xe,t&&o){const C=h,R=o===!0?1/0:o;h=()=>it(C(),R)}const T=Hn(),g=()=>{u.stop(),T&&T.active&&Un(T.effects,u)};if(r&&t){const C=t;t=(...R)=>{C(...R),g()}}let m=A?new Array(e.length).fill(ps):ps;const x=C=>{if(!(!(u.flags&1)||!u.dirty&&!C))if(t){const R=u.run();if(o||I||(A?R.some((te,he)=>bt(te,m[he])):bt(R,m))){v&&v();const te=zt;zt=u;try{const he=[R,m===ps?void 0:A&&m[0]===ps?[]:m,_];m=R,c?c(t,3,he):t(...he)}finally{zt=te}}}else u.run()};return l&&l(x),u=new Mr(h),u.scheduler=i?()=>i(x,!1):x,_=C=>Ml(C,!1,u),v=u.onStop=()=>{const C=zs.get(u);if(C){if(c)c(C,4);else for(const R of C)R();zs.delete(u)}},t?n?x(!0):m=u.run():i?i(x.bind(null,!0),!0):u.run(),g.pause=u.pause.bind(u),g.resume=u.resume.bind(u),g.stop=g,g}function it(e,t=1/0,s){if(t<=0||!ce(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,de(e))it(e.value,t,s);else if(B(e))for(let n=0;n{it(n,t,s)});else if(Sr(e)){for(const n in e)it(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&it(e[n],t,s)}return e}/** -* @vue/runtime-core v3.5.22 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function us(e,t,s,n){try{return n?e(...n):e()}catch(o){Ns(o,t,s)}}function tt(e,t,s,n){if(W(e)){const o=us(e,t,s,n);return o&&wr(o)&&o.catch(r=>{Ns(r,t,s)}),o}if(B(e)){const o=[];for(let r=0;r>>1,o=Ee[n],r=os(o);r=os(s)?Ee.push(e):Ee.splice(Al(t),0,e),e.flags|=1,Xr()}}function Xr(){Cs||(Cs=Qr.then(ti))}function Il(e){B(e)?Tt.push(...e):gt&&e.id===-1?gt.splice(Ot+1,0,e):e.flags&1||(Tt.push(e),e.flags|=1),Xr()}function vo(e,t,s=Ye+1){for(;sos(s)-os(n));if(Tt.length=0,gt){gt.push(...t);return}for(gt=t,Ot=0;Ote.id==null?e.flags&2?-1:1/0:e.id;function ti(e){try{for(Ye=0;Ye{n._d&&Po(-1);const r=$s(t);let i;try{i=e(...o)}finally{$s(r),n._d&&Po(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function lt(e,t){if(Ve===null)return e;const s=qs(Ve),n=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,jl=Symbol("_leaveCb");function Xn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ft(e,t){return W(e)?$e({name:e.name},t,{setup:e}):e}function ni(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Ps=new WeakMap;function Yt(e,t,s,n,o=!1){if(B(e)){e.forEach((I,A)=>Yt(I,t&&(B(t)?t[A]:t),s,n,o));return}if(Zt(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Yt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?qs(n.component):n.el,i=o?null:r,{i:l,r:c}=e,d=t&&t.r,u=l.refs===ae?l.refs={}:l.refs,h=l.setupState,v=Q(h),_=h===ae?yr:I=>se(v,I);if(d!=null&&d!==c){if(bo(t),_e(d))u[d]=null,_(d)&&(h[d]=null);else if(de(d)){d.value=null;const I=t;I.k&&(u[I.k]=null)}}if(W(c))us(c,l,12,[i,u]);else{const I=_e(c),A=de(c);if(I||A){const T=()=>{if(e.f){const g=I?_(c)?h[c]:u[c]:c.value;if(o)B(g)&&Un(g,r);else if(B(g))g.includes(r)||g.push(r);else if(I)u[c]=[r],_(c)&&(h[c]=u[c]);else{const m=[r];c.value=m,e.k&&(u[e.k]=m)}}else I?(u[c]=i,_(c)&&(h[c]=i)):A&&(c.value=i,e.k&&(u[e.k]=i))};if(i){const g=()=>{T(),Ps.delete(e)};g.id=-1,Ps.set(e,g),De(g,s)}else bo(e),T()}}}function bo(e){const t=Ps.get(e);t&&(t.flags|=8,Ps.delete(e))}Ls().requestIdleCallback;Ls().cancelIdleCallback;const Zt=e=>!!e.type.__asyncLoader,oi=e=>e.type.__isKeepAlive;function Ul(e,t){ri(e,"a",t)}function Vl(e,t){ri(e,"da",t)}function ri(e,t,s=Re){const n=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Fs(t,n,s),s){let o=s.parent;for(;o&&o.parent;)oi(o.parent.vnode)&&ql(n,t,s,o),o=o.parent}}function ql(e,t,s,n){const o=Fs(t,e,n,!0);ii(()=>{Un(n[t],o)},s)}function Fs(e,t,s=Re,n=!1){if(s){const o=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...i)=>{ut();const l=fs(s),c=tt(t,s,e,i);return l(),ft(),c});return n?o.unshift(r):o.push(r),r}}const dt=e=>(t,s=Re)=>{(!is||e==="sp")&&Fs(e,(...n)=>t(...n),s)},Bl=dt("bm"),js=dt("m"),Hl=dt("bu"),Wl=dt("u"),Kl=dt("bum"),ii=dt("um"),Gl=dt("sp"),Jl=dt("rtg"),Yl=dt("rtc");function Zl(e,t=Re){Fs("ec",e,t)}const Ql=Symbol.for("v-ndc");function Fe(e,t,s,n){let o;const r=s,i=B(e);if(i||_e(e)){const l=i&&at(e);let c=!1,d=!1;l&&(c=!qe(e),d=yt(e),e=Ts(e)),o=new Array(e.length);for(let u=0,h=e.length;ut(l,c,void 0,r));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,d=l.length;ce?Ei(e)?qs(e):En(e.parent):null,Qt=$e(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=>En(e.parent),$root:e=>En(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ai(e),$forceUpdate:e=>e.f||(e.f=()=>{Qn(e.update)}),$nextTick:e=>e.n||(e.n=At.bind(e.proxy)),$watch:e=>wa.bind(e)}),Zs=(e,t)=>e!==ae&&!e.__isScriptSetup&&se(e,t),Xl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:o,props:r,accessCache:i,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const _=i[t];if(_!==void 0)switch(_){case 1:return n[t];case 2:return o[t];case 4:return s[t];case 3:return r[t]}else{if(Zs(n,t))return i[t]=1,n[t];if(o!==ae&&se(o,t))return i[t]=2,o[t];if((d=e.propsOptions[0])&&se(d,t))return i[t]=3,r[t];if(s!==ae&&se(s,t))return i[t]=4,s[t];Rn&&(i[t]=0)}}const u=Qt[t];let h,v;if(u)return t==="$attrs"&&Ce(e.attrs,"get",""),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(s!==ae&&se(s,t))return i[t]=4,s[t];if(v=c.config.globalProperties,se(v,t))return v[t]},set({_:e},t,s){const{data:n,setupState:o,ctx:r}=e;return Zs(o,t)?(o[t]=s,!0):n!==ae&&se(n,t)?(n[t]=s,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:o,propsOptions:r,type:i}},l){let c,d;return!!(s[l]||e!==ae&&l[0]!=="$"&&se(e,l)||Zs(t,l)||(c=r[0])&&se(c,l)||se(n,l)||se(Qt,l)||se(o.config.globalProperties,l)||(d=i.__cssModules)&&d[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:se(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function _o(e){return B(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Rn=!0;function ea(e){const t=ai(e),s=e.proxy,n=e.ctx;Rn=!1,t.beforeCreate&&yo(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:c,inject:d,created:u,beforeMount:h,mounted:v,beforeUpdate:_,updated:I,activated:A,deactivated:T,beforeDestroy:g,beforeUnmount:m,destroyed:x,unmounted:C,render:R,renderTracked:te,renderTriggered:he,errorCaptured:K,serverPrefetch:J,expose:le,inheritAttrs:be,components:Pe,directives:Te,filters:st}=t;if(d&&ta(d,n,null),i)for(const G in i){const Y=i[G];W(Y)&&(n[G]=Y.bind(s))}if(o){const G=o.call(s,s);ce(G)&&(e.data=Is(G))}if(Rn=!0,r)for(const G in r){const Y=r[G],E=W(Y)?Y.bind(s,s):W(Y.get)?Y.get.bind(s,s):Xe,$=!W(Y)&&W(Y.set)?Y.set.bind(s):Xe,D=Ue({get:E,set:$});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>D.value,set:q=>D.value=q})}if(l)for(const G in l)li(l[G],n,s,G);if(c){const G=W(c)?c.call(s):c;Reflect.ownKeys(G).forEach(Y=>{la(Y,G[Y])})}u&&yo(u,e,"c");function re(G,Y){B(Y)?Y.forEach(E=>G(E.bind(s))):Y&&G(Y.bind(s))}if(re(Bl,h),re(js,v),re(Hl,_),re(Wl,I),re(Ul,A),re(Vl,T),re(Zl,K),re(Yl,te),re(Jl,he),re(Kl,m),re(ii,C),re(Gl,J),B(le))if(le.length){const G=e.exposed||(e.exposed={});le.forEach(Y=>{Object.defineProperty(G,Y,{get:()=>s[Y],set:E=>s[Y]=E,enumerable:!0})})}else e.exposed||(e.exposed={});R&&e.render===Xe&&(e.render=R),be!=null&&(e.inheritAttrs=be),Pe&&(e.components=Pe),Te&&(e.directives=Te),J&&ni(e)}function ta(e,t,s=Xe){B(e)&&(e=On(e));for(const n in e){const o=e[n];let r;ce(o)?"default"in o?r=Xt(o.from||n,o.default,!0):r=Xt(o.from||n):r=Xt(o),de(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[n]=r}}function yo(e,t,s){tt(B(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function li(e,t,s,n){let o=n.includes(".")?wi(s,n):()=>s[n];if(_e(e)){const r=t[e];W(r)&&Pt(o,r)}else if(W(e))Pt(o,e.bind(s));else if(ce(e))if(B(e))e.forEach(r=>li(r,t,s,n));else{const r=W(e.handler)?e.handler.bind(s):t[e.handler];W(r)&&Pt(o,r,e)}}function ai(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let c;return l?c=l:!o.length&&!s&&!n?c=t:(c={},o.length&&o.forEach(d=>ks(c,d,i,!0)),ks(c,t,i)),ce(t)&&r.set(t,c),c}function ks(e,t,s,n=!1){const{mixins:o,extends:r}=t;r&&ks(e,r,s,!0),o&&o.forEach(i=>ks(e,i,s,!0));for(const i in t)if(!(n&&i==="expose")){const l=sa[i]||s&&s[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const sa={data:wo,props:xo,emits:xo,methods:Wt,computed:Wt,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:Wt,directives:Wt,watch:oa,provide:wo,inject:na};function wo(e,t){return t?e?function(){return $e(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function na(e,t){return Wt(On(e),On(t))}function On(e){if(B(e)){const t={};for(let s=0;s1)return s&&W(t)?t.call(n&&n.proxy):t}}function aa(){return!!(ki()||$t)}const ui={},fi=()=>Object.create(ui),di=e=>Object.getPrototypeOf(e)===ui;function ca(e,t,s,n=!1){const o={},r=fi();e.propsDefaults=Object.create(null),hi(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);s?e.props=n?o:xl(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function ua(e,t,s,n){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=Q(o),[c]=e.propsOptions;let d=!1;if((n||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[v,_]=pi(h,t,!0);$e(i,v),_&&l.push(..._)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!c)return ce(e)&&n.set(e,Mt),Mt;if(B(r))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",to=e=>B(e)?e.map(Ze):[Ze(e)],da=(e,t,s)=>{if(t._n)return t;const n=Dl((...o)=>to(t(...o)),s);return n._c=!1,n},gi=(e,t,s)=>{const n=e._ctx;for(const o in e){if(eo(o))continue;const r=e[o];if(W(r))t[o]=da(o,r,n);else if(r!=null){const i=to(r);t[o]=()=>i}}},mi=(e,t)=>{const s=to(t);e.slots.default=()=>s},vi=(e,t,s)=>{for(const n in t)(s||!eo(n))&&(e[n]=t[n])},ha=(e,t,s)=>{const n=e.slots=fi();if(e.vnode.shapeFlag&32){const o=t._;o?(vi(n,t,s),s&&Cr(n,"_",o,!0)):gi(t,n)}else t&&mi(e,t)},pa=(e,t,s)=>{const{vnode:n,slots:o}=e;let r=!0,i=ae;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:vi(o,t,s):(r=!t.$stable,gi(t,o)),i=t}else t&&(mi(e,t),i={default:1});if(r)for(const l in o)!eo(l)&&i[l]==null&&delete o[l]},De=Ea;function ga(e){return ma(e)}function ma(e,t){const s=Ls();s.__VUE__=!0;const{insert:n,remove:o,patchProp:r,createElement:i,createText:l,createComment:c,setText:d,setElementText:u,parentNode:h,nextSibling:v,setScopeId:_=Xe,insertStaticContent:I}=e,A=(f,p,w,O=null,b=null,y=null,L=void 0,M=null,k=!!p.dynamicChildren)=>{if(f===p)return;f&&!Vt(f,p)&&(O=ye(f),q(f,b,y,!0),f=null),p.patchFlag===-2&&(k=!1,p.dynamicChildren=null);const{type:P,ref:U,shapeFlag:F}=p;switch(P){case Vs:T(f,p,w,O);break;case wt:g(f,p,w,O);break;case vs:f==null&&m(p,w,O,L);break;case ge:Pe(f,p,w,O,b,y,L,M,k);break;default:F&1?R(f,p,w,O,b,y,L,M,k):F&6?Te(f,p,w,O,b,y,L,M,k):(F&64||F&128)&&P.process(f,p,w,O,b,y,L,M,k,Ae)}U!=null&&b?Yt(U,f&&f.ref,y,p||f,!p):U==null&&f&&f.ref!=null&&Yt(f.ref,null,y,f,!0)},T=(f,p,w,O)=>{if(f==null)n(p.el=l(p.children),w,O);else{const b=p.el=f.el;p.children!==f.children&&d(b,p.children)}},g=(f,p,w,O)=>{f==null?n(p.el=c(p.children||""),w,O):p.el=f.el},m=(f,p,w,O)=>{[f.el,f.anchor]=I(f.children,p,w,O,f.el,f.anchor)},x=({el:f,anchor:p},w,O)=>{let b;for(;f&&f!==p;)b=v(f),n(f,w,O),f=b;n(p,w,O)},C=({el:f,anchor:p})=>{let w;for(;f&&f!==p;)w=v(f),o(f),f=w;o(p)},R=(f,p,w,O,b,y,L,M,k)=>{p.type==="svg"?L="svg":p.type==="math"&&(L="mathml"),f==null?te(p,w,O,b,y,L,M,k):J(f,p,b,y,L,M,k)},te=(f,p,w,O,b,y,L,M)=>{let k,P;const{props:U,shapeFlag:F,transition:V,dirs:H}=f;if(k=f.el=i(f.type,y,U&&U.is,U),F&8?u(k,f.children):F&16&&K(f.children,k,null,O,b,Qs(f,y),L,M),H&&xt(f,null,O,"created"),he(k,f,f.scopeId,L,O),U){for(const ue in U)ue!=="value"&&!Kt(ue)&&r(k,ue,null,U[ue],y,O);"value"in U&&r(k,"value",null,U.value,y),(P=U.onVnodeBeforeMount)&&Je(P,O,f)}H&&xt(f,null,O,"beforeMount");const Z=va(b,V);Z&&V.beforeEnter(k),n(k,p,w),((P=U&&U.onVnodeMounted)||Z||H)&&De(()=>{P&&Je(P,O,f),Z&&V.enter(k),H&&xt(f,null,O,"mounted")},b)},he=(f,p,w,O,b)=>{if(w&&_(f,w),O)for(let y=0;y{for(let P=k;P{const M=p.el=f.el;let{patchFlag:k,dynamicChildren:P,dirs:U}=p;k|=f.patchFlag&16;const F=f.props||ae,V=p.props||ae;let H;if(w&&St(w,!1),(H=V.onVnodeBeforeUpdate)&&Je(H,w,p,f),U&&xt(p,f,w,"beforeUpdate"),w&&St(w,!0),(F.innerHTML&&V.innerHTML==null||F.textContent&&V.textContent==null)&&u(M,""),P?le(f.dynamicChildren,P,M,w,O,Qs(p,b),y):L||Y(f,p,M,null,w,O,Qs(p,b),y,!1),k>0){if(k&16)be(M,F,V,w,b);else if(k&2&&F.class!==V.class&&r(M,"class",null,V.class,b),k&4&&r(M,"style",F.style,V.style,b),k&8){const Z=p.dynamicProps;for(let ue=0;ue{H&&Je(H,w,p,f),U&&xt(p,f,w,"updated")},O)},le=(f,p,w,O,b,y,L)=>{for(let M=0;M{if(p!==w){if(p!==ae)for(const y in p)!Kt(y)&&!(y in w)&&r(f,y,p[y],null,b,O);for(const y in w){if(Kt(y))continue;const L=w[y],M=p[y];L!==M&&y!=="value"&&r(f,y,M,L,b,O)}"value"in w&&r(f,"value",p.value,w.value,b)}},Pe=(f,p,w,O,b,y,L,M,k)=>{const P=p.el=f?f.el:l(""),U=p.anchor=f?f.anchor:l("");let{patchFlag:F,dynamicChildren:V,slotScopeIds:H}=p;H&&(M=M?M.concat(H):H),f==null?(n(P,w,O),n(U,w,O),K(p.children||[],w,U,b,y,L,M,k)):F>0&&F&64&&V&&f.dynamicChildren?(le(f.dynamicChildren,V,w,b,y,L,M),(p.key!=null||b&&p===b.subTree)&&bi(f,p,!0)):Y(f,p,w,U,b,y,L,M,k)},Te=(f,p,w,O,b,y,L,M,k)=>{p.slotScopeIds=M,f==null?p.shapeFlag&512?b.ctx.activate(p,w,O,L,k):st(p,w,O,b,y,L,k):Se(f,p,k)},st=(f,p,w,O,b,y,L)=>{const M=f.component=Da(f,O,b);if(oi(f)&&(M.ctx.renderer=Ae),Na(M,!1,L),M.asyncDep){if(b&&b.registerDep(M,re,L),!f.el){const k=M.subTree=Le(wt);g(null,k,p,w),f.placeholder=k.el}}else re(M,f,p,w,b,y,L)},Se=(f,p,w)=>{const O=p.component=f.component;if(Pa(f,p,w))if(O.asyncDep&&!O.asyncResolved){G(O,p,w);return}else O.next=p,O.update();else p.el=f.el,O.vnode=p},re=(f,p,w,O,b,y,L)=>{const M=()=>{if(f.isMounted){let{next:F,bu:V,u:H,parent:Z,vnode:ue}=f;{const Ke=_i(f);if(Ke){F&&(F.el=ue.el,G(f,F,L)),Ke.asyncDep.then(()=>{f.isUnmounted||M()});return}}let ne=F,Oe;St(f,!1),F?(F.el=ue.el,G(f,F,L)):F=ue,V&&gs(V),(Oe=F.props&&F.props.onVnodeBeforeUpdate)&&Je(Oe,Z,F,ue),St(f,!0);const Me=Co(f),We=f.subTree;f.subTree=Me,A(We,Me,h(We.el),ye(We),f,b,y),F.el=Me.el,ne===null&&ka(f,Me.el),H&&De(H,b),(Oe=F.props&&F.props.onVnodeUpdated)&&De(()=>Je(Oe,Z,F,ue),b)}else{let F;const{el:V,props:H}=p,{bm:Z,m:ue,parent:ne,root:Oe,type:Me}=f,We=Zt(p);St(f,!1),Z&&gs(Z),!We&&(F=H&&H.onVnodeBeforeMount)&&Je(F,ne,p),St(f,!0);{Oe.ce&&Oe.ce._def.shadowRoot!==!1&&Oe.ce._injectChildStyle(Me);const Ke=f.subTree=Co(f);A(null,Ke,w,O,f,b,y),p.el=Ke.el}if(ue&&De(ue,b),!We&&(F=H&&H.onVnodeMounted)){const Ke=p;De(()=>Je(F,ne,Ke),b)}(p.shapeFlag&256||ne&&Zt(ne.vnode)&&ne.vnode.shapeFlag&256)&&f.a&&De(f.a,b),f.isMounted=!0,p=w=O=null}};f.scope.on();const k=f.effect=new Mr(M);f.scope.off();const P=f.update=k.run.bind(k),U=f.job=k.runIfDirty.bind(k);U.i=f,U.id=f.uid,k.scheduler=()=>Qn(U),St(f,!0),P()},G=(f,p,w)=>{p.component=f;const O=f.vnode.props;f.vnode=p,f.next=null,ua(f,p.props,O,w),pa(f,p.children,w),ut(),vo(f),ft()},Y=(f,p,w,O,b,y,L,M,k=!1)=>{const P=f&&f.children,U=f?f.shapeFlag:0,F=p.children,{patchFlag:V,shapeFlag:H}=p;if(V>0){if(V&128){$(P,F,w,O,b,y,L,M,k);return}else if(V&256){E(P,F,w,O,b,y,L,M,k);return}}H&8?(U&16&&pe(P,b,y),F!==P&&u(w,F)):U&16?H&16?$(P,F,w,O,b,y,L,M,k):pe(P,b,y,!0):(U&8&&u(w,""),H&16&&K(F,w,O,b,y,L,M,k))},E=(f,p,w,O,b,y,L,M,k)=>{f=f||Mt,p=p||Mt;const P=f.length,U=p.length,F=Math.min(P,U);let V;for(V=0;VU?pe(f,b,y,!0,!1,F):K(p,w,O,b,y,L,M,k,F)},$=(f,p,w,O,b,y,L,M,k)=>{let P=0;const U=p.length;let F=f.length-1,V=U-1;for(;P<=F&&P<=V;){const H=f[P],Z=p[P]=k?mt(p[P]):Ze(p[P]);if(Vt(H,Z))A(H,Z,w,null,b,y,L,M,k);else break;P++}for(;P<=F&&P<=V;){const H=f[F],Z=p[V]=k?mt(p[V]):Ze(p[V]);if(Vt(H,Z))A(H,Z,w,null,b,y,L,M,k);else break;F--,V--}if(P>F){if(P<=V){const H=V+1,Z=HV)for(;P<=F;)q(f[P],b,y,!0),P++;else{const H=P,Z=P,ue=new Map;for(P=Z;P<=V;P++){const Ie=p[P]=k?mt(p[P]):Ze(p[P]);Ie.key!=null&&ue.set(Ie.key,P)}let ne,Oe=0;const Me=V-Z+1;let We=!1,Ke=0;const jt=new Array(Me);for(P=0;P=Me){q(Ie,b,y,!0);continue}let Ge;if(Ie.key!=null)Ge=ue.get(Ie.key);else for(ne=Z;ne<=V;ne++)if(jt[ne-Z]===0&&Vt(Ie,p[ne])){Ge=ne;break}Ge===void 0?q(Ie,b,y,!0):(jt[Ge-Z]=P+1,Ge>=Ke?Ke=Ge:We=!0,A(Ie,p[Ge],w,null,b,y,L,M,k),Oe++)}const co=We?ba(jt):Mt;for(ne=co.length-1,P=Me-1;P>=0;P--){const Ie=Z+P,Ge=p[Ie],uo=p[Ie+1],fo=Ie+1{const{el:y,type:L,transition:M,children:k,shapeFlag:P}=f;if(P&6){D(f.component.subTree,p,w,O);return}if(P&128){f.suspense.move(p,w,O);return}if(P&64){L.move(f,p,w,Ae);return}if(L===ge){n(y,p,w);for(let F=0;FM.enter(y),b);else{const{leave:F,delayLeave:V,afterLeave:H}=M,Z=()=>{f.ctx.isUnmounted?o(y):n(y,p,w)},ue=()=>{y._isLeaving&&y[jl](!0),F(y,()=>{Z(),H&&H()})};V?V(y,Z,ue):ue()}else n(y,p,w)},q=(f,p,w,O=!1,b=!1)=>{const{type:y,props:L,ref:M,children:k,dynamicChildren:P,shapeFlag:U,patchFlag:F,dirs:V,cacheIndex:H}=f;if(F===-2&&(b=!1),M!=null&&(ut(),Yt(M,null,w,f,!0),ft()),H!=null&&(p.renderCache[H]=void 0),U&256){p.ctx.deactivate(f);return}const Z=U&1&&V,ue=!Zt(f);let ne;if(ue&&(ne=L&&L.onVnodeBeforeUnmount)&&Je(ne,p,f),U&6)we(f.component,w,O);else{if(U&128){f.suspense.unmount(w,O);return}Z&&xt(f,null,p,"beforeUnmount"),U&64?f.type.remove(f,p,w,Ae,O):P&&!P.hasOnce&&(y!==ge||F>0&&F&64)?pe(P,p,w,!1,!0):(y===ge&&F&384||!b&&U&16)&&pe(k,p,w),O&&j(f)}(ue&&(ne=L&&L.onVnodeUnmounted)||Z)&&De(()=>{ne&&Je(ne,p,f),Z&&xt(f,null,p,"unmounted")},w)},j=f=>{const{type:p,el:w,anchor:O,transition:b}=f;if(p===ge){ee(w,O);return}if(p===vs){C(f);return}const y=()=>{o(w),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(f.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:M}=b,k=()=>L(w,y);M?M(f.el,y,k):k()}else y()},ee=(f,p)=>{let w;for(;f!==p;)w=v(f),o(f),f=w;o(p)},we=(f,p,w)=>{const{bum:O,scope:b,job:y,subTree:L,um:M,m:k,a:P}=f;zo(k),zo(P),O&&gs(O),b.stop(),y&&(y.flags|=8,q(L,f,p,w)),M&&De(M,p),De(()=>{f.isUnmounted=!0},p)},pe=(f,p,w,O=!1,b=!1,y=0)=>{for(let L=y;L{if(f.shapeFlag&6)return ye(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const p=v(f.anchor||f.el),w=p&&p[Nl];return w?v(w):p};let me=!1;const ht=(f,p,w)=>{f==null?p._vnode&&q(p._vnode,null,null,!0):A(p._vnode||null,f,p,null,null,null,w),p._vnode=f,me||(me=!0,vo(),ei(),me=!1)},Ae={p:A,um:q,m:D,r:j,mt:st,mc:K,pc:Y,pbc:le,n:ye,o:e};return{render:ht,hydrate:void 0,createApp:ia(ht)}}function Qs({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function St({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function va(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function bi(e,t,s=!1){const n=e.children,o=t.children;if(B(n)&&B(o))for(let r=0;r>1,e[s[l]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,i=s[r-1];r-- >0;)s[r]=i,i=t[i];return s}function _i(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:_i(t)}function zo(e){if(e)for(let t=0;tXt(_a);function Pt(e,t,s){return yi(e,t,s)}function yi(e,t,s=ae){const{immediate:n,deep:o,flush:r,once:i}=s,l=$e({},s),c=t&&n||!t&&r!=="post";let d;if(is){if(r==="sync"){const _=ya();d=_.__watcherHandles||(_.__watcherHandles=[])}else if(!c){const _=()=>{};return _.stop=Xe,_.resume=Xe,_.pause=Xe,_}}const u=Re;l.call=(_,I,A)=>tt(_,u,I,A);let h=!1;r==="post"?l.scheduler=_=>{De(_,u&&u.suspense)}:r!=="sync"&&(h=!0,l.scheduler=(_,I)=>{I?_():Qn(_)}),l.augmentJob=_=>{t&&(_.flags|=4),h&&(_.flags|=2,u&&(_.id=u.uid,_.i=u))};const v=Ll(e,t,l);return is&&(d?d.push(v):c&&v()),v}function wa(e,t,s){const n=this.proxy,o=_e(e)?e.includes(".")?wi(n,e):()=>n[e]:e.bind(n,n);let r;W(t)?r=t:(r=t.handler,s=t);const i=fs(this),l=yi(o,r.bind(n),s);return i(),l}function wi(e,t){const s=t.split(".");return()=>{let n=e;for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${_t(t)}Modifiers`]||e[`${kt(t)}Modifiers`];function Sa(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||ae;let o=s;const r=t.startsWith("update:"),i=r&&xa(n,t.slice(7));i&&(i.trim&&(o=s.map(u=>_e(u)?u.trim():u)),i.number&&(o=s.map(ws)));let l,c=n[l=Ws(t)]||n[l=Ws(_t(t))];!c&&r&&(c=n[l=Ws(kt(t))]),c&&tt(c,e,6,o);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,tt(d,e,6,o)}}const za=new WeakMap;function xi(e,t,s=!1){const n=s?za:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!W(e)){const c=d=>{const u=xi(d,t,!0);u&&(l=!0,$e(i,u))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(ce(e)&&n.set(e,null),null):(B(r)?r.forEach(c=>i[c]=null):$e(i,r),ce(e)&&n.set(e,i),i)}function Us(e,t){return!e||!Os(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,kt(t))||se(e,t))}function Co(e){const{type:t,vnode:s,proxy:n,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:c,render:d,renderCache:u,props:h,data:v,setupState:_,ctx:I,inheritAttrs:A}=e,T=$s(e);let g,m;try{if(s.shapeFlag&4){const C=o||n,R=C;g=Ze(d.call(R,C,u,h,_,v,I)),m=l}else{const C=t;g=Ze(C.length>1?C(h,{attrs:l,slots:i,emit:c}):C(h,null)),m=t.props?l:Ca(l)}}catch(C){es.length=0,Ns(C,e,1),g=Le(wt)}let x=g;if(m&&A!==!1){const C=Object.keys(m),{shapeFlag:R}=x;C.length&&R&7&&(r&&C.some(jn)&&(m=$a(m,r)),x=It(x,m,!1,!0))}return s.dirs&&(x=It(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(s.dirs):s.dirs),s.transition&&Xn(x,s.transition),g=x,$s(T),g}const Ca=e=>{let t;for(const s in e)(s==="class"||s==="style"||Os(s))&&((t||(t={}))[s]=e[s]);return t},$a=(e,t)=>{const s={};for(const n in e)(!jn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Pa(e,t,s){const{props:n,children:o,component:r}=e,{props:i,children:l,patchFlag:c}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?$o(n,i,d):!!i;if(c&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function Ea(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Il(e)}const ge=Symbol.for("v-fgt"),Vs=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),vs=Symbol.for("v-stc"),es=[];let je=null;function S(e=!1){es.push(je=e?null:[])}function Ra(){es.pop(),je=es[es.length-1]||null}let rs=1;function Po(e,t=!1){rs+=e,e<0&&je&&t&&(je.hasOnce=!0)}function zi(e){return e.dynamicChildren=rs>0?je||Mt:null,Ra(),rs>0&&je&&je.push(e),e}function z(e,t,s,n,o,r){return zi(a(e,t,s,n,o,r,!0))}function Ci(e,t,s,n,o){return zi(Le(e,t,s,n,o,!0))}function $i(e){return e?e.__v_isVNode===!0:!1}function Vt(e,t){return e.type===t.type&&e.key===t.key}const Pi=({key:e})=>e??null,bs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||de(e)||W(e)?{i:Ve,r:e,k:t,f:!!s}:e:null);function a(e,t=null,s=null,n=0,o=null,r=e===ge?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pi(t),ref:t&&bs(t),scopeId:si,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ve};return l?(so(c,s),r&128&&e.normalize(c)):s&&(c.shapeFlag|=_e(s)?8:16),rs>0&&!i&&je&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&je.push(c),c}const Le=Oa;function Oa(e,t=null,s=null,n=0,o=null,r=!1){if((!e||e===Ql)&&(e=wt),$i(e)){const l=It(e,t,!0);return s&&so(l,s),rs>0&&!r&&je&&(l.shapeFlag&6?je[je.indexOf(e)]=l:je.push(l)),l.patchFlag=-2,l}if(Va(e)&&(e=e.__vccOpts),t){t=Ma(t);let{class:l,style:c}=t;l&&!_e(l)&&(t.class=Ne(l)),ce(c)&&(Yn(c)&&!B(c)&&(c=$e({},c)),t.style=qn(c))}const i=_e(e)?1:Si(e)?128:Fl(e)?64:ce(e)?4:W(e)?2:0;return a(e,t,s,n,o,i,r,!0)}function Ma(e){return e?Yn(e)||di(e)?$e({},e):e:null}function It(e,t,s=!1,n=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:c}=e,d=t?Ta(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Pi(d),ref:t&&t.ref?s&&r?B(r)?r.concat(bs(t)):[r,bs(t)]:bs(t):r,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!==ge?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),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&Xn(u,c.clone(u)),u}function ve(e=" ",t=0){return Le(Vs,null,e,t)}function La(e,t){const s=Le(vs,null,e);return s.staticCount=t,s}function X(e="",t=!1){return t?(S(),Ci(wt,null,e)):Le(wt,null,e)}function Ze(e){return e==null||typeof e=="boolean"?Le(wt):B(e)?Le(ge,null,e.slice()):$i(e)?mt(e):Le(Vs,null,String(e))}function mt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:It(e)}function so(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(B(t))s=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),so(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!di(t)?t._ctx=Ve:o===3&&Ve&&(Ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:Ve},s=32):(t=String(t),n&64?(s=16,t=[ve(t)]):s=8);e.children=t,e.shapeFlag|=s}function Ta(...e){const t={};for(let s=0;sRe||Ve;let Es,Ln;{const e=Ls(),t=(s,n)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(n),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};Es=t("__VUE_INSTANCE_SETTERS__",s=>Re=s),Ln=t("__VUE_SSR_SETTERS__",s=>is=s)}const fs=e=>{const t=Re;return Es(e),e.scope.on(),()=>{e.scope.off(),Es(t)}},ko=()=>{Re&&Re.scope.off(),Es(null)};function Ei(e){return e.vnode.shapeFlag&4}let is=!1;function Na(e,t=!1,s=!1){t&&Ln(t);const{props:n,children:o}=e.vnode,r=Ei(e);ca(e,n,r,t),ha(e,o,s||t);const i=r?Fa(e,t):void 0;return t&&Ln(!1),i}function Fa(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Xl);const{setup:n}=s;if(n){ut();const o=e.setupContext=n.length>1?Ua(e):null,r=fs(e),i=us(n,e,0,[e.props,o]),l=wr(i);if(ft(),r(),(l||e.sp)&&!Zt(e)&&ni(e),l){if(i.then(ko,ko),t)return i.then(c=>{Eo(e,c)}).catch(c=>{Ns(c,e,0)});e.asyncDep=i}else Eo(e,i)}else Ri(e)}function Eo(e,t,s){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=Yr(t)),Ri(e)}function Ri(e,t,s){const n=e.type;e.render||(e.render=n.render||Xe);{const o=fs(e);ut();try{ea(e)}finally{ft(),o()}}}const ja={get(e,t){return Ce(e,"get",""),e[t]}};function Ua(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,ja),slots:e.slots,emit:e.emit,expose:t}}function qs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yr(Zn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Qt)return Qt[s](e)},has(t,s){return s in t||s in Qt}})):e.proxy}function Va(e){return W(e)&&"__vccOpts"in e}const Ue=(e,t)=>Ol(e,t,is),qa="3.5.22";/** -* @vue/runtime-dom v3.5.22 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Tn;const Ro=typeof window<"u"&&window.trustedTypes;if(Ro)try{Tn=Ro.createPolicy("vue",{createHTML:e=>e})}catch{}const Oi=Tn?e=>Tn.createHTML(e):e=>e,Ba="http://www.w3.org/2000/svg",Ha="http://www.w3.org/1998/Math/MathML",ot=typeof document<"u"?document:null,Oo=ot&&ot.createElement("template"),Wa={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const o=t==="svg"?ot.createElementNS(Ba,e):t==="mathml"?ot.createElementNS(Ha,e):s?ot.createElement(e,{is:s}):ot.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,r){const i=s?s.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===r||!(o=o.nextSibling)););else{Oo.innerHTML=Oi(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const l=Oo.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Ka=Symbol("_vtc");function Ga(e,t,s){const n=e[Ka];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Rs=Symbol("_vod"),Mi=Symbol("_vsh"),Mo={name:"show",beforeMount(e,{value:t},{transition:s}){e[Rs]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):qt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),qt(e,!0),n.enter(e)):n.leave(e,()=>{qt(e,!1)}):qt(e,t))},beforeUnmount(e,{value:t}){qt(e,t)}};function qt(e,t){e.style.display=t?e[Rs]:"none",e[Mi]=!t}const Ja=Symbol(""),Ya=/(?:^|;)\s*display\s*:/;function Za(e,t,s){const n=e.style,o=_e(s);let r=!1;if(s&&!o){if(t)if(_e(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&_s(n,l,"")}else for(const i in t)s[i]==null&&_s(n,i,"");for(const i in s)i==="display"&&(r=!0),_s(n,i,s[i])}else if(o){if(t!==s){const i=n[Ja];i&&(s+=";"+i),n.cssText=s,r=Ya.test(s)}}else t&&e.removeAttribute("style");Rs in e&&(e[Rs]=r?n.display:"",e[Mi]&&(n.display="none"))}const Lo=/\s*!important$/;function _s(e,t,s){if(B(s))s.forEach(n=>_s(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Qa(e,t);Lo.test(s)?e.setProperty(kt(n),s.replace(Lo,""),"important"):e[n]=s}}const To=["Webkit","Moz","ms"],Xs={};function Qa(e,t){const s=Xs[t];if(s)return s;let n=_t(t);if(n!=="filter"&&n in e)return Xs[t]=n;n=zr(n);for(let o=0;oen||(sc.then(()=>en=0),en=Date.now());function oc(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;tt(rc(n,s.value),t,5,[n])};return s.value=e,s.attached=nc(),s}function rc(e,t){if(B(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const jo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ic=(e,t,s,n,o,r)=>{const i=o==="svg";t==="class"?Ga(e,n,i):t==="style"?Za(e,s,n):Os(t)?jn(t)||ec(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):lc(e,t,n,i))?(Do(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Io(e,t,n,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!_e(n))?Do(e,_t(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Io(e,t,n,i))};function lc(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&jo(t)&&W(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return jo(t)&&_e(s)?!1:t in e}const Dt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?s=>gs(t,s):t};function ac(e){e.target.composing=!0}function Uo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ct=Symbol("_assign"),ys={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[ct]=Dt(o);const r=n||o.props&&o.props.type==="number";vt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;s&&(l=l.trim()),r&&(l=ws(l)),e[ct](l)}),s&&vt(e,"change",()=>{e.value=e.value.trim()}),t||(vt(e,"compositionstart",ac),vt(e,"compositionend",Uo),vt(e,"change",Uo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:r}},i){if(e[ct]=Dt(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?ws(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||o&&e.value.trim()===c)||(e.value=c))}},cc={deep:!0,created(e,t,s){e[ct]=Dt(s),vt(e,"change",()=>{const n=e._modelValue,o=ls(e),r=e.checked,i=e[ct];if(B(n)){const l=Bn(n,o),c=l!==-1;if(r&&!c)i(n.concat(o));else if(!r&&c){const d=[...n];d.splice(l,1),i(d)}}else if(Nt(n)){const l=new Set(n);r?l.add(o):l.delete(o),i(l)}else i(Ti(e,r))})},mounted:Vo,beforeUpdate(e,t,s){e[ct]=Dt(s),Vo(e,t,s)}};function Vo(e,{value:t,oldValue:s},n){e._modelValue=t;let o;if(B(t))o=Bn(t,n.props.value)>-1;else if(Nt(t))o=t.has(n.props.value);else{if(t===s)return;o=cs(t,Ti(e,!0))}e.checked!==o&&(e.checked=o)}const Li={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const o=Nt(t);vt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>s?ws(ls(i)):ls(i));e[ct](e.multiple?o?new Set(r):r:r[0]),e._assigning=!0,At(()=>{e._assigning=!1})}),e[ct]=Dt(n)},mounted(e,{value:t}){qo(e,t)},beforeUpdate(e,t,s){e[ct]=Dt(s)},updated(e,{value:t}){e._assigning||qo(e,t)}};function qo(e,t){const s=e.multiple,n=B(t);if(!(s&&!n&&!Nt(t))){for(let o=0,r=e.options.length;oString(d)===String(l)):i.selected=Bn(t,l)>-1}else i.selected=t.has(l);else if(cs(ls(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ls(e){return"_value"in e?e._value:e.value}function Ti(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const uc=["ctrl","shift","alt","meta"],fc={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)=>uc.some(s=>e[`${s}Key`]&&!t.includes(s))},An=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((o,...r)=>{for(let i=0;i{const t=hc().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=mc(n);if(!o)return;const r=t._component;!W(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=s(o,!1,gc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function gc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function mc(e){return _e(e)?document.querySelector(e):e}/*! - * pinia v3.0.3 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */let Ai;const Bs=e=>Ai=e,Ii=Symbol();function In(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ts;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ts||(ts={}));function vc(){const e=Rr(!0),t=e.run(()=>oe({}));let s=[],n=[];const o=Zn({install(r){Bs(o),o._a=r,r.provide(Ii,o),r.config.globalProperties.$pinia=o,n.forEach(i=>s.push(i)),n=[]},use(r){return this._a?s.push(r):n.push(r),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return o}const Di=()=>{};function Ho(e,t,s,n=Di){e.push(t);const o=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),n())};return!s&&Hn()&&Or(o),o}function Rt(e,...t){e.slice().forEach(s=>{s(...t)})}const bc=e=>e(),Wo=Symbol(),tn=Symbol();function Dn(e,t){e instanceof Map&&t instanceof Map?t.forEach((s,n)=>e.set(n,s)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const s in t){if(!t.hasOwnProperty(s))continue;const n=t[s],o=e[s];In(o)&&In(n)&&e.hasOwnProperty(s)&&!de(n)&&!at(n)?e[s]=Dn(o,n):e[s]=n}return e}const _c=Symbol();function yc(e){return!In(e)||!Object.prototype.hasOwnProperty.call(e,_c)}const{assign:pt}=Object;function wc(e){return!!(de(e)&&e.effect)}function xc(e,t,s,n){const{state:o,actions:r,getters:i}=t,l=s.state.value[e];let c;function d(){l||(s.state.value[e]=o?o():{});const u=$l(s.state.value[e]);return pt(u,r,Object.keys(i||{}).reduce((h,v)=>(h[v]=Zn(Ue(()=>{Bs(s);const _=s._s.get(e);return i[v].call(_,_)})),h),{}))}return c=Ni(e,d,t,s,n,!0),c}function Ni(e,t,s={},n,o,r){let i;const l=pt({actions:{}},s),c={deep:!0};let d,u,h=[],v=[],_;const I=n.state.value[e];!r&&!I&&(n.state.value[e]={}),oe({});let A;function T(K){let J;d=u=!1,typeof K=="function"?(K(n.state.value[e]),J={type:ts.patchFunction,storeId:e,events:_}):(Dn(n.state.value[e],K),J={type:ts.patchObject,payload:K,storeId:e,events:_});const le=A=Symbol();At().then(()=>{A===le&&(d=!0)}),u=!0,Rt(h,J,n.state.value[e])}const g=r?function(){const{state:J}=s,le=J?J():{};this.$patch(be=>{pt(be,le)})}:Di;function m(){i.stop(),h=[],v=[],n._s.delete(e)}const x=(K,J="")=>{if(Wo in K)return K[tn]=J,K;const le=function(){Bs(n);const be=Array.from(arguments),Pe=[],Te=[];function st(G){Pe.push(G)}function Se(G){Te.push(G)}Rt(v,{args:be,name:le[tn],store:R,after:st,onError:Se});let re;try{re=K.apply(this&&this.$id===e?this:R,be)}catch(G){throw Rt(Te,G),G}return re instanceof Promise?re.then(G=>(Rt(Pe,G),G)).catch(G=>(Rt(Te,G),Promise.reject(G))):(Rt(Pe,re),re)};return le[Wo]=!0,le[tn]=J,le},C={_p:n,$id:e,$onAction:Ho.bind(null,v),$patch:T,$reset:g,$subscribe(K,J={}){const le=Ho(h,K,J.detached,()=>be()),be=i.run(()=>Pt(()=>n.state.value[e],Pe=>{(J.flush==="sync"?u:d)&&K({storeId:e,type:ts.direct,events:_},Pe)},pt({},c,J)));return le},$dispose:m},R=Is(C);n._s.set(e,R);const he=(n._a&&n._a.runWithContext||bc)(()=>n._e.run(()=>(i=Rr()).run(()=>t({action:x}))));for(const K in he){const J=he[K];if(de(J)&&!wc(J)||at(J))r||(I&&yc(J)&&(de(J)?J.value=I[K]:Dn(J,I[K])),n.state.value[e][K]=J);else if(typeof J=="function"){const le=x(J,K);he[K]=le,l.actions[K]=J}}return pt(R,he),pt(Q(R),he),Object.defineProperty(R,"$state",{get:()=>n.state.value[e],set:K=>{T(J=>{pt(J,K)})}}),n._p.forEach(K=>{pt(R,i.run(()=>K({store:R,app:n._a,pinia:n,options:l})))}),I&&r&&s.hydrate&&s.hydrate(R.$state,I),d=!0,u=!0,R}/*! #__NO_SIDE_EFFECTS__ */function no(e,t,s){let n;const o=typeof t=="function";n=o?s:t;function r(i,l){const c=aa();return i=i||(c?Xt(Ii,null):null),i&&Bs(i),i=Ai,i._s.has(e)||(o?Ni(e,t,n,i):xc(e,n,i)),i._s.get(e)}return r.$id=e,r}function oo(e){const t=Q(e),s={};for(const n in t){const o=t[n];o.effect?s[n]=Ue({get:()=>e[n],set(r){e[n]=r}}):(de(o)||at(o))&&(s[n]=El(e,n))}return s}const Ko="/api";class Sc{async request(t,s={}){try{const n=await fetch(`${Ko}${t}`,{headers:{"Content-Type":"application/json",...s.headers},...s}),o=await n.json();return n.ok?{data:o,status:n.status}:{error:o.detail||`HTTP ${n.status}`,status:n.status}}catch(n){return{error:n instanceof Error?n.message:"Network error",status:0}}}async uploadRequest(t,s){try{const n=await fetch(`${Ko}${t}`,{method:"POST",body:s}),o=await n.json();return n.ok?{data:o,status:n.status}:{error:o.detail||`HTTP ${n.status}`,status:n.status}}catch(n){return{error:n instanceof Error?n.message:"Network error",status:0}}}async getPuzzles(){return this.request("/submissions/puzzles")}async getSubmissions(t=20,s=0){return this.request(`/submissions/submissions?limit=${t}&offset=${s}`)}async getSubmission(t){return this.request(`/submissions/submissions/${t}`)}async createSubmission(t,s){const n=new FormData;return n.append("data",JSON.stringify(t)),s.forEach(o=>{n.append("files",o)}),this.uploadRequest("/submissions/submissions",n)}async validateResponse(t,s){return this.request(`/submissions/responses/${t}/validate`,{method:"PUT",body:JSON.stringify(s)})}async autoValidateResponses(t){return this.request(`/submissions/responses/${t}/validate/auto`,{method:"PUT"})}async getResponsesNeedingValidation(){return this.request("/submissions/responses/needs-validation")}async validateSubmission(t){return this.request(`/submissions/submissions/${t}/validate`,{method:"POST"})}async deleteSubmission(t){return this.request(`/submissions/submissions/${t}`,{method:"DELETE"})}async getStats(){return this.request("/submissions/stats")}async healthCheck(){return this.request("/health")}async getUserInfo(){return this.request("/user")}}const Qe=new Sc,zc={async loadPuzzles(){const e=await Qe.getPuzzles();return e.error?(console.error("Failed to load puzzles:",e.error),[]):e.data||[]},findPuzzleByName(e,t){if(!t)return null;let s=e.find(n=>n.title.toLowerCase()===t.toLowerCase());return s||(s=e.find(n=>n.title.toLowerCase().includes(t.toLowerCase())||t.toLowerCase().includes(n.title.toLowerCase()))),s||null}},Go={async createFromFiles(e,t,s,n){const o=e.map(i=>{const l=zc.findPuzzleByName(t,i.ocrData?.puzzle||"");if(l)return{puzzle_id:l.id,puzzle_name:i.ocrData?.puzzle||"",cost:i.ocrData?.cost,cycles:i.ocrData?.cycles,area:i.ocrData?.area,needs_manual_validation:(i.ocrData?.confidence.overall??0)<=.8,ocr_confidence_cost:i.ocrData?.confidence?.cost||0,ocr_confidence_cycles:i.ocrData?.confidence?.cycles||0,ocr_confidence_area:i.ocrData?.confidence?.area||0}}).filter(i=>i!==void 0),r=e.map(i=>i.file);return Qe.createSubmission({notes:s,manual_validation_requested:n,responses:o},r)},async loadSubmissions(e=20,t=0){const s=await Qe.getSubmissions(e,t);return s.error?(console.error("Failed to load submissions:",s.error),[]):s.data?.items||[]}},Fi={getErrorMessage(e){return typeof e=="string"?e:e instanceof Error?e.message:typeof e=="object"&&e!==null&&"detail"in e?String(e.detail):"An unknown error occurred"},isNetworkError(e){return typeof e=="string"&&e.includes("Network")},isValidationError(e){return e===400},isAuthError(e){return e===401||e===403}},Hs=no("puzzles",()=>{const e=oe([]),t=oe(!1),s=oe(""),n=Ue(()=>e.value.map(l=>l.title)),o=Ue(()=>l=>{if(!l)return null;const c=e.value.find(u=>u.title.toLowerCase()===l.toLowerCase());return c||e.value.find(u=>u.title.toLowerCase().includes(l.toLowerCase())||l.toLowerCase().includes(u.title.toLowerCase()))||null}),r=async()=>{if(!(e.value.length>0))try{t.value=!0,s.value="";const l=await Qe.getPuzzles();if(l.error){s.value=l.error,console.error("Failed to load puzzles:",l.error);return}l.data&&(e.value=l.data)}catch(l){s.value="Failed to load puzzles",console.error("Error loading puzzles:",l)}finally{t.value=!1}};return{puzzles:e,isLoading:t,error:s,puzzleNames:n,findPuzzleByName:o,loadPuzzles:r,refreshPuzzles:async()=>{e.value=[],await r()}}}),ro=no("submissions",()=>{const e=oe([]),t=oe(!1),s=oe(""),n=oe(!1),o=Hs(),{puzzles:r}=oo(o),i=async(v=20,_=0)=>{try{t.value=!0,s.value="";const I=await Go.loadSubmissions(v,_);_===0?e.value=I:e.value.push(...I)}catch(I){s.value="Failed to load submissions",console.error("Error loading submissions:",I)}finally{t.value=!1}},l=async(v,_,I)=>{try{t.value=!0,s.value="";const A=await Go.createFromFiles(v,r.value,_,I);if(A.error)throw s.value=A.error,new Error(A.error);return A.data?(e.value.unshift(A.data),A.data):void 0}catch(A){throw s.value=A instanceof Error?A.message:"Failed to create submission",A}finally{t.value=!1}},c=()=>{n.value=!0},d=()=>{n.value=!1};return{submissions:e,isLoading:t,error:s,isSubmissionModalOpen:n,loadSubmissions:i,createSubmission:l,openSubmissionModal:c,closeSubmissionModal:d,refreshSubmissions:async()=>{e.value=[],await i()},handleSubmission:async v=>{try{t.value=!0,s.value="";const _=await l(v.files,v.notes,v.manualValidationRequested);if(_){const I=_.responses.map(A=>A.puzzle_name).join(", ");alert(`Solutions submitted successfully for puzzles: ${I}`)}else alert("Submission created successfully!");d()}catch(_){const I=Fi.getErrorMessage(_);s.value=I,alert(`Submission failed: ${I}`),console.error("Submission error:",_)}finally{t.value=!1}}}}),Cc={class:"card-body"},$c={class:"flex items-start justify-between"},Pc={class:"flex-1"},kc={class:"card-title text-lg font-bold"},Ec={class:"text-sm text-base-content/70 mb-2"},Rc={class:"flex items-center gap-2 mb-3"},Oc={class:"badge badge-primary badge-sm"},Mc={class:"badge badge-ghost badge-sm"},Lc={key:0,class:"text-sm text-base-content/80 mb-4"},Tc={key:1,class:"flex flex-wrap gap-1 mb-4"},Ac={key:0,class:"badge badge-outline badge-xs"},Ic={class:"flex flex-col items-end gap-2"},Dc={class:"tooltip","data-tip":"View on Steam Workshop"},Nc=["href"],Fc={key:0,class:"mt-6"},jc={class:"divider"},Uc={class:"text-sm font-medium"},Vc={class:"table table-xs"},qc={key:0,class:"badge badge-success badge-xs"},Bc={key:1,class:"text-base-content/50"},Hc={key:0,class:"badge badge-info badge-xs"},Wc={key:1,class:"text-base-content/50"},Kc={key:0,class:"badge badge-warning badge-xs"},Gc={key:1,class:"text-base-content/50"},Jc={class:"flex items-center gap-1"},Yc={class:"badge badge-ghost badge-xs"},Zc=["data-tip"],Qc={key:1,class:"tooltip","data-tip":"Needs manual validation"},Xc=Ft({__name:"PuzzleCard",props:{puzzle:{},responses:{}},setup(e){const{openSubmissionModal:t}=ro();return(s,n)=>(S(),z("div",{class:Ne(["card bg-base-100 shadow-lg hover:shadow-2xl transition-shadow duration-300",e.responses?.length==0?"shadow-red-900":"shadow-primary-300"])},[a("div",Cc,[a("div",$c,[a("div",Pc,[a("h3",kc,N(e.puzzle.title),1),a("p",Ec," by "+N(e.puzzle.author_name),1),a("div",Rc,[a("div",Oc,N(e.puzzle.steam_item_id),1),a("div",Mc,"ID: "+N(e.puzzle.id),1)]),e.puzzle.description?(S(),z("p",Lc,N(e.puzzle.description),1)):X("",!0),e.puzzle.tags&&e.puzzle.tags.length>0?(S(),z("div",Tc,[(S(!0),z(ge,null,Fe(e.puzzle.tags.slice(0,3),o=>(S(),z("span",{key:o,class:"badge badge-outline badge-xs"},N(o),1))),128)),e.puzzle.tags.length>3?(S(),z("span",Ac," +"+N(e.puzzle.tags.length-3)+" more ",1)):X("",!0)])):X("",!0)]),a("div",Ic,[a("div",Dc,[a("a",{href:`https://steamcommunity.com/workshop/filedetails/?id=${e.puzzle.steam_item_id}`,target:"_blank",class:"btn btn-ghost btn-sm btn-square"},[...n[1]||(n[1]=[a("i",{class:"mdi mdi-steam text-lg"},null,-1)])],8,Nc)])])]),e.responses&&e.responses.length>0?(S(),z("div",Fc,[a("div",jc,[a("span",Uc,"Solutions ("+N(e.responses.length)+")",1)]),a("div",null,[a("table",Vc,[n[4]||(n[4]=a("thead",null,[a("tr",null,[a("th",null,"Cost"),a("th",null,"Cycles"),a("th",null,"Area"),a("th",null,"Files")])],-1)),a("tbody",null,[(S(!0),z(ge,null,Fe(e.responses,o=>(S(),z("tr",{key:o.id,class:"hover"},[a("td",null,[o.final_cost||o.cost?(S(),z("span",qc,N(o.final_cost||o.cost),1)):(S(),z("span",Bc,"-"))]),a("td",null,[o.final_cycles||o.cycles?(S(),z("span",Hc,N(o.final_cycles||o.cycles),1)):(S(),z("span",Wc,"-"))]),a("td",null,[o.final_area||o.area?(S(),z("span",Kc,N(o.final_area||o.area),1)):(S(),z("span",Gc,"-"))]),a("td",null,[a("div",Jc,[a("span",Yc,N(o.files?.length||0),1),o.files?.length?(S(),z("div",{key:0,class:"tooltip","data-tip":o.files.map(r=>r.original_filename||r.file?.name).join(", ")},[...n[2]||(n[2]=[a("i",{class:"mdi mdi-information-outline text-xs"},null,-1)])],8,Zc)):X("",!0),o.needs_manual_validation?(S(),z("div",Qc,[...n[3]||(n[3]=[a("i",{class:"mdi mdi-alert-circle text-xs text-warning"},null,-1)])])):X("",!0)])])]))),128))])])])])):(S(),z("div",{key:1,class:"mt-6 text-center py-4 border-2 border-dashed border-base-300 rounded-lg hover:border-primary transition-colors duration-300 cursor-pointer",onClick:n[0]||(n[0]=(...o)=>ie(t)&&ie(t)(...o))},[...n[5]||(n[5]=[a("i",{class:"mdi mdi-upload text-2xl text-base-content/40"},null,-1),a("p",{class:"text-sm text-base-content/60 mt-2"},"No solutions yet",-1),a("p",{class:"text-xs text-base-content/40"}," Upload solutions using the submit button ",-1)])]))])],2))}});var sn={exports:{}},Jo;function eu(){return Jo||(Jo=1,(function(e){var t=(function(s){var n=Object.prototype,o=n.hasOwnProperty,r=Object.defineProperty||function(E,$,D){E[$]=D.value},i,l=typeof Symbol=="function"?Symbol:{},c=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function h(E,$,D){return Object.defineProperty(E,$,{value:D,enumerable:!0,configurable:!0,writable:!0}),E[$]}try{h({},"")}catch{h=function($,D,q){return $[D]=q}}function v(E,$,D,q){var j=$&&$.prototype instanceof x?$:x,ee=Object.create(j.prototype),we=new re(q||[]);return r(ee,"_invoke",{value:Pe(E,D,we)}),ee}s.wrap=v;function _(E,$,D){try{return{type:"normal",arg:E.call($,D)}}catch(q){return{type:"throw",arg:q}}}var I="suspendedStart",A="suspendedYield",T="executing",g="completed",m={};function x(){}function C(){}function R(){}var te={};h(te,c,function(){return this});var he=Object.getPrototypeOf,K=he&&he(he(G([])));K&&K!==n&&o.call(K,c)&&(te=K);var J=R.prototype=x.prototype=Object.create(te);C.prototype=R,r(J,"constructor",{value:R,configurable:!0}),r(R,"constructor",{value:C,configurable:!0}),C.displayName=h(R,u,"GeneratorFunction");function le(E){["next","throw","return"].forEach(function($){h(E,$,function(D){return this._invoke($,D)})})}s.isGeneratorFunction=function(E){var $=typeof E=="function"&&E.constructor;return $?$===C||($.displayName||$.name)==="GeneratorFunction":!1},s.mark=function(E){return Object.setPrototypeOf?Object.setPrototypeOf(E,R):(E.__proto__=R,h(E,u,"GeneratorFunction")),E.prototype=Object.create(J),E},s.awrap=function(E){return{__await:E}};function be(E,$){function D(ee,we,pe,ye){var me=_(E[ee],E,we);if(me.type==="throw")ye(me.arg);else{var ht=me.arg,Ae=ht.value;return Ae&&typeof Ae=="object"&&o.call(Ae,"__await")?$.resolve(Ae.__await).then(function(He){D("next",He,pe,ye)},function(He){D("throw",He,pe,ye)}):$.resolve(Ae).then(function(He){ht.value=He,pe(ht)},function(He){return D("throw",He,pe,ye)})}}var q;function j(ee,we){function pe(){return new $(function(ye,me){D(ee,we,ye,me)})}return q=q?q.then(pe,pe):pe()}r(this,"_invoke",{value:j})}le(be.prototype),h(be.prototype,d,function(){return this}),s.AsyncIterator=be,s.async=function(E,$,D,q,j){j===void 0&&(j=Promise);var ee=new be(v(E,$,D,q),j);return s.isGeneratorFunction($)?ee:ee.next().then(function(we){return we.done?we.value:ee.next()})};function Pe(E,$,D){var q=I;return function(ee,we){if(q===T)throw new Error("Generator is already running");if(q===g){if(ee==="throw")throw we;return Y()}for(D.method=ee,D.arg=we;;){var pe=D.delegate;if(pe){var ye=Te(pe,D);if(ye){if(ye===m)continue;return ye}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if(q===I)throw q=g,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);q=T;var me=_(E,$,D);if(me.type==="normal"){if(q=D.done?g:A,me.arg===m)continue;return{value:me.arg,done:D.done}}else me.type==="throw"&&(q=g,D.method="throw",D.arg=me.arg)}}}function Te(E,$){var D=$.method,q=E.iterator[D];if(q===i)return $.delegate=null,D==="throw"&&E.iterator.return&&($.method="return",$.arg=i,Te(E,$),$.method==="throw")||D!=="return"&&($.method="throw",$.arg=new TypeError("The iterator does not provide a '"+D+"' method")),m;var j=_(q,E.iterator,$.arg);if(j.type==="throw")return $.method="throw",$.arg=j.arg,$.delegate=null,m;var ee=j.arg;if(!ee)return $.method="throw",$.arg=new TypeError("iterator result is not an object"),$.delegate=null,m;if(ee.done)$[E.resultName]=ee.value,$.next=E.nextLoc,$.method!=="return"&&($.method="next",$.arg=i);else return ee;return $.delegate=null,m}le(J),h(J,u,"Generator"),h(J,c,function(){return this}),h(J,"toString",function(){return"[object Generator]"});function st(E){var $={tryLoc:E[0]};1 in E&&($.catchLoc=E[1]),2 in E&&($.finallyLoc=E[2],$.afterLoc=E[3]),this.tryEntries.push($)}function Se(E){var $=E.completion||{};$.type="normal",delete $.arg,E.completion=$}function re(E){this.tryEntries=[{tryLoc:"root"}],E.forEach(st,this),this.reset(!0)}s.keys=function(E){var $=Object(E),D=[];for(var q in $)D.push(q);return D.reverse(),function j(){for(;D.length;){var ee=D.pop();if(ee in $)return j.value=ee,j.done=!1,j}return j.done=!0,j}};function G(E){if(E){var $=E[c];if($)return $.call(E);if(typeof E.next=="function")return E;if(!isNaN(E.length)){var D=-1,q=function j(){for(;++D=0;--q){var j=this.tryEntries[q],ee=j.completion;if(j.tryLoc==="root")return D("end");if(j.tryLoc<=this.prev){var we=o.call(j,"catchLoc"),pe=o.call(j,"finallyLoc");if(we&&pe){if(this.prev=0;--D){var q=this.tryEntries[D];if(q.tryLoc<=this.prev&&o.call(q,"finallyLoc")&&this.prev=0;--$){var D=this.tryEntries[$];if(D.finallyLoc===E)return this.complete(D.completion,D.afterLoc),Se(D),m}},catch:function(E){for(var $=this.tryEntries.length-1;$>=0;--$){var D=this.tryEntries[$];if(D.tryLoc===E){var q=D.completion;if(q.type==="throw"){var j=q.arg;Se(D)}return j}}throw new Error("illegal catch attempt")},delegateYield:function(E,$,D){return this.delegate={iterator:G(E),resultName:$,nextLoc:D},this.method==="next"&&(this.arg=i),m}},s})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(sn)),sn.exports}var nn,Yo;function io(){return Yo||(Yo=1,nn=(e,t)=>`${e}-${t}-${Math.random().toString(16).slice(3,8)}`),nn}var on,Zo;function ji(){if(Zo)return on;Zo=1;const e=io();let t=0;return on=({id:s,action:n,payload:o={}})=>{let r=s;return typeof r>"u"&&(r=e("Job",t),t+=1),{id:r,action:n,payload:o}},on}var Bt={},Qo;function lo(){if(Qo)return Bt;Qo=1;let e=!1;return Bt.logging=e,Bt.setLogging=t=>{e=t},Bt.log=(...t)=>e?console.log.apply(this,t):null,Bt}var rn,Xo;function tu(){if(Xo)return rn;Xo=1;const e=ji(),{log:t}=lo(),s=io();let n=0;return rn=()=>{const o=s("Scheduler",n),r={},i={};let l=[];n+=1;const c=()=>l.length,d=()=>Object.keys(r).length,u=()=>{if(l.length!==0){const A=Object.keys(r);for(let T=0;T"u"){l[0](r[A[T]]);break}}},h=(A,T)=>new Promise((g,m)=>{const x=e({action:A,payload:T});l.push(async C=>{l.shift(),i[C.id]=x;try{g(await C[A].apply(this,[...T,x.id]))}catch(R){m(R)}finally{delete i[C.id],u()}}),t(`[${o}]: Add ${x.id} to JobQueue`),t(`[${o}]: JobQueue length=${l.length}`),u()});return{addWorker:A=>(r[A.id]=A,t(`[${o}]: Add ${A.id}`),t(`[${o}]: Number of workers=${d()}`),u(),A.id),addJob:async(A,...T)=>{if(d()===0)throw Error(`[${o}]: You need to have at least one worker before adding jobs`);return h(A,T)},terminate:async()=>{Object.keys(r).forEach(async A=>{await r[A].terminate()}),l=[]},getQueueLen:c,getNumWorkers:d}},rn}function su(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ln,er;function nu(){if(er)return ln;er=1;function e(){return!!(typeof window<"u"&&typeof window.process=="object"&&window.process.type==="renderer"||typeof process<"u"&&typeof process.versions=="object"&&process.versions.electron||typeof navigator=="object"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Electron")>=0)}return ln=e,ln}var an,tr;function ou(){if(tr)return an;tr=1;const e=nu();return an=t=>{const s={};return typeof WorkerGlobalScope<"u"?s.type="webworker":e()?s.type="electron":typeof document=="object"?s.type="browser":typeof process=="object"&&typeof su=="function"&&(s.type="node"),typeof t>"u"?s:s[t]},an}var cn,sr;function ru(){if(sr)return cn;sr=1;const t=ou()("type")==="browser"?s=>new URL(s,window.location.href).href:s=>s;return cn=s=>{const n={...s};return["corePath","workerPath","langPath"].forEach(o=>{s[o]&&(n[o]=t(n[o]))}),n},cn}var un,nr;function iu(){return nr||(nr=1,un=e=>{const t=[],s=[],n=[],o=[],r=[];return e.blocks&&e.blocks.forEach(i=>{i.paragraphs.forEach(l=>{l.lines.forEach(c=>{c.words.forEach(d=>{d.symbols.forEach(u=>{r.push({...u,page:e,block:i,paragraph:l,line:c,word:d})}),o.push({...d,page:e,block:i,paragraph:l,line:c})}),n.push({...c,page:e,block:i,paragraph:l})}),s.push({...l,page:e,block:i})}),t.push({...i,page:e})}),{...e,blocks:t,paragraphs:s,lines:n,words:o,symbols:r}}),un}var fn,or;function Ui(){return or||(or=1,fn={TESSERACT_ONLY:0,LSTM_ONLY:1,TESSERACT_LSTM_COMBINED:2,DEFAULT:3}),fn}const lu="5.1.1",au={version:lu};var dn,rr;function cu(){return rr||(rr=1,dn={workerBlobURL:!0,logger:()=>{}}),dn}var hn,ir;function uu(){if(ir)return hn;ir=1;const e=au.version;return hn={...cu(),workerPath:`https://cdn.jsdelivr.net/npm/tesseract.js@v${e}/dist/worker.min.js`},hn}var pn,lr;function fu(){return lr||(lr=1,pn=({workerPath:e,workerBlobURL:t})=>{let s;if(Blob&&URL&&t){const n=new Blob([`importScripts("${e}");`],{type:"application/javascript"});s=new Worker(URL.createObjectURL(n))}else s=new Worker(e);return s}),pn}var gn,ar;function du(){return ar||(ar=1,gn=e=>{e.terminate()}),gn}var mn,cr;function hu(){return cr||(cr=1,mn=(e,t)=>{e.onmessage=({data:s})=>{t(s)}}),mn}var vn,ur;function pu(){return ur||(ur=1,vn=async(e,t)=>{e.postMessage(t)}),vn}var bn,fr;function gu(){if(fr)return bn;fr=1;const e=s=>new Promise((n,o)=>{const r=new FileReader;r.onload=()=>{n(r.result)},r.onerror=({target:{error:{code:i}}})=>{o(Error(`File could not be read! Code=${i}`))},r.readAsArrayBuffer(s)}),t=async s=>{let n=s;if(typeof s>"u")return"undefined";if(typeof s=="string")/data:image\/([a-zA-Z]*);base64,([^"]*)/.test(s)?n=atob(s.split(",")[1]).split("").map(o=>o.charCodeAt(0)):n=await(await fetch(s)).arrayBuffer();else if(typeof HTMLElement<"u"&&s instanceof HTMLElement)s.tagName==="IMG"&&(n=await t(s.src)),s.tagName==="VIDEO"&&(n=await t(s.poster)),s.tagName==="CANVAS"&&await new Promise(o=>{s.toBlob(async r=>{n=await e(r),o()})});else if(typeof OffscreenCanvas<"u"&&s instanceof OffscreenCanvas){const o=await s.convertToBlob();n=await e(o)}else(s instanceof File||s instanceof Blob)&&(n=await e(s));return new Uint8Array(n)};return bn=t,bn}var _n,dr;function mu(){if(dr)return _n;dr=1;const e=uu(),t=fu(),s=du(),n=hu(),o=pu(),r=gu();return _n={defaultOptions:e,spawnWorker:t,terminateWorker:s,onMessage:n,send:o,loadImage:r},_n}var yn,hr;function Vi(){if(hr)return yn;hr=1;const e=ru(),t=iu(),s=ji(),{log:n}=lo(),o=io(),r=Ui(),{defaultOptions:i,spawnWorker:l,terminateWorker:c,onMessage:d,loadImage:u,send:h}=mu();let v=0;return yn=async(_="eng",I=r.LSTM_ONLY,A={},T={})=>{const g=o("Worker",v),{logger:m,errorHandler:x,...C}=e({...i,...A}),R={},te={},he=typeof _=="string"?_.split("+"):_;let K=I,J=T;const le=[r.DEFAULT,r.LSTM_ONLY].includes(I)&&!C.legacyCore;let be,Pe;const Te=new Promise((b,y)=>{Pe=b,be=y}),st=b=>{be(b.message)};let Se=l(C);Se.onerror=st,v+=1;const re=(b,y)=>{R[b]=y},G=(b,y)=>{te[b]=y},Y=({id:b,action:y,payload:L})=>new Promise((M,k)=>{n(`[${g}]: Start ${b}, action=${y}`);const P=`${y}-${b}`;re(P,M),G(P,k),h(Se,{workerId:g,jobId:b,action:y,payload:L})}),E=()=>console.warn("`load` is depreciated and should be removed from code (workers now come pre-loaded)"),$=b=>Y(s({id:b,action:"load",payload:{options:{lstmOnly:le,corePath:C.corePath,logging:C.logging}}})),D=(b,y,L)=>Y(s({id:L,action:"FS",payload:{method:"writeFile",args:[b,y]}})),q=(b,y)=>Y(s({id:y,action:"FS",payload:{method:"readFile",args:[b,{encoding:"utf8"}]}})),j=(b,y)=>Y(s({id:y,action:"FS",payload:{method:"unlink",args:[b]}})),ee=(b,y,L)=>Y(s({id:L,action:"FS",payload:{method:b,args:y}})),we=()=>console.warn("`loadLanguage` is depreciated and should be removed from code (workers now come with language pre-loaded)"),pe=(b,y)=>Y(s({id:y,action:"loadLanguage",payload:{langs:b,options:{langPath:C.langPath,dataPath:C.dataPath,cachePath:C.cachePath,cacheMethod:C.cacheMethod,gzip:C.gzip,lstmOnly:[r.DEFAULT,r.LSTM_ONLY].includes(K)&&!C.legacyLang}}})),ye=()=>console.warn("`initialize` is depreciated and should be removed from code (workers now come pre-initialized)"),me=(b,y,L,M)=>Y(s({id:M,action:"initialize",payload:{langs:b,oem:y,config:L}})),ht=(b="eng",y,L,M)=>{if(le&&[r.TESSERACT_ONLY,r.TESSERACT_LSTM_COMBINED].includes(y))throw Error("Legacy model requested but code missing.");const k=y||K;K=k;const P=L||J;J=P;const F=(typeof b=="string"?b.split("+"):b).filter(V=>!he.includes(V));return he.push(...F),F.length>0?pe(F,M).then(()=>me(b,k,P,M)):me(b,k,P,M)},Ae=(b={},y)=>Y(s({id:y,action:"setParameters",payload:{params:b}})),He=async(b,y={},L={blocks:!0,text:!0,hocr:!0,tsv:!0},M)=>Y(s({id:M,action:"recognize",payload:{image:await u(b),options:y,output:L}})),f=(b="Tesseract OCR Result",y=!1,L)=>(console.log("`getPDF` function is depreciated. `recognize` option `savePDF` should be used instead."),Y(s({id:L,action:"getPDF",payload:{title:b,textonly:y}}))),p=async(b,y)=>{if(le)throw Error("`worker.detect` requires Legacy model, which was not loaded.");return Y(s({id:y,action:"detect",payload:{image:await u(b)}}))},w=async()=>(Se!==null&&(c(Se),Se=null),Promise.resolve());d(Se,({workerId:b,jobId:y,status:L,action:M,data:k})=>{const P=`${M}-${y}`;if(L==="resolve"){n(`[${b}]: Complete ${y}`);let U=k;M==="recognize"?U=t(k):M==="getPDF"&&(U=Array.from({...k,length:Object.keys(k).length})),R[P]({jobId:y,data:U})}else if(L==="reject")if(te[P](k),M==="load"&&be(k),x)x(k);else throw Error(k);else L==="progress"&&m({...k,userJobId:y})});const O={id:g,worker:Se,setResolve:re,setReject:G,load:E,writeText:D,readText:q,removeFile:j,FS:ee,loadLanguage:we,initialize:ye,reinitialize:ht,setParameters:Ae,recognize:He,getPDF:f,detect:p,terminate:w};return $().then(()=>pe(_)).then(()=>me(_,I,T)).then(()=>Pe(O)).catch(()=>{}),Te},yn}var wn,pr;function vu(){if(pr)return wn;pr=1;const e=Vi();return wn={recognize:async(n,o,r)=>{const i=await e(o,1,r);return i.recognize(n).finally(async()=>{await i.terminate()})},detect:async(n,o)=>{const r=await e("osd",0,o);return r.detect(n).finally(async()=>{await r.terminate()})}},wn}var xn,gr;function bu(){return gr||(gr=1,xn={AFR:"afr",AMH:"amh",ARA:"ara",ASM:"asm",AZE:"aze",AZE_CYRL:"aze_cyrl",BEL:"bel",BEN:"ben",BOD:"bod",BOS:"bos",BUL:"bul",CAT:"cat",CEB:"ceb",CES:"ces",CHI_SIM:"chi_sim",CHI_TRA:"chi_tra",CHR:"chr",CYM:"cym",DAN:"dan",DEU:"deu",DZO:"dzo",ELL:"ell",ENG:"eng",ENM:"enm",EPO:"epo",EST:"est",EUS:"eus",FAS:"fas",FIN:"fin",FRA:"fra",FRK:"frk",FRM:"frm",GLE:"gle",GLG:"glg",GRC:"grc",GUJ:"guj",HAT:"hat",HEB:"heb",HIN:"hin",HRV:"hrv",HUN:"hun",IKU:"iku",IND:"ind",ISL:"isl",ITA:"ita",ITA_OLD:"ita_old",JAV:"jav",JPN:"jpn",KAN:"kan",KAT:"kat",KAT_OLD:"kat_old",KAZ:"kaz",KHM:"khm",KIR:"kir",KOR:"kor",KUR:"kur",LAO:"lao",LAT:"lat",LAV:"lav",LIT:"lit",MAL:"mal",MAR:"mar",MKD:"mkd",MLT:"mlt",MSA:"msa",MYA:"mya",NEP:"nep",NLD:"nld",NOR:"nor",ORI:"ori",PAN:"pan",POL:"pol",POR:"por",PUS:"pus",RON:"ron",RUS:"rus",SAN:"san",SIN:"sin",SLK:"slk",SLV:"slv",SPA:"spa",SPA_OLD:"spa_old",SQI:"sqi",SRP:"srp",SRP_LATN:"srp_latn",SWA:"swa",SWE:"swe",SYR:"syr",TAM:"tam",TEL:"tel",TGK:"tgk",TGL:"tgl",THA:"tha",TIR:"tir",TUR:"tur",UIG:"uig",UKR:"ukr",URD:"urd",UZB:"uzb",UZB_CYRL:"uzb_cyrl",VIE:"vie",YID:"yid"}),xn}var Sn,mr;function _u(){return mr||(mr=1,Sn={OSD_ONLY:"0",AUTO_OSD:"1",AUTO_ONLY:"2",AUTO:"3",SINGLE_COLUMN:"4",SINGLE_BLOCK_VERT_TEXT:"5",SINGLE_BLOCK:"6",SINGLE_LINE:"7",SINGLE_WORD:"8",CIRCLE_WORD:"9",SINGLE_CHAR:"10",SPARSE_TEXT:"11",SPARSE_TEXT_OSD:"12",RAW_LINE:"13"}),Sn}var zn,vr;function yu(){if(vr)return zn;vr=1,eu();const e=tu(),t=Vi(),s=vu(),n=bu(),o=Ui(),r=_u(),{setLogging:i}=lo();return zn={languages:n,OEM:o,PSM:r,createScheduler:e,createWorker:t,setLogging:i,...s},zn}var wu=yu();class ao{worker=null;availablePuzzleNames=[];regions={puzzle:{x:15,y:600,width:330,height:28},cost:{x:412,y:603,width:65,height:22},cycles:{x:577,y:603,width:65,height:22},area:{x:739,y:603,width:65,height:22}};async initialize(){this.worker||(this.worker=await wu.createWorker("eng"),await this.worker.setParameters({tessedit_ocr_engine_mode:"3",tessedit_pageseg_mode:7}))}setAvailablePuzzleNames(t){this.availablePuzzleNames=t,console.log("OCR service updated with puzzle names:",t)}async configurePuzzleOCR(){this.worker&&(await this.worker.setParameters({load_system_dawg:"0",load_freq_dawg:"0",load_punc_dawg:"0",load_number_dawg:"0",load_unambig_dawg:"0",load_bigram_dawg:"0",load_fixed_length_dawgs:"0",tessedit_char_whitelist:this.getPuzzleCharacterSet(),tessedit_pageseg_mode:8,segment_penalty_dict_nonword:"2.0",segment_penalty_dict_frequent_word:"0.001",segment_penalty_dict_case_ok:"0.001",segment_penalty_dict_case_bad:"0.1",classify_enable_learning:"0",classify_enable_adaptive_matcher:"1",preserve_interword_spaces:"1"}),console.log("OCR configured for puzzle names with character set:",this.getPuzzleCharacterSet()))}getPuzzleCharacterSet(){if(this.availablePuzzleNames.length===0)return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 -";const t=new Set;return this.availablePuzzleNames.forEach(s=>{for(const n of s)t.add(n)}),Array.from(t).join("")}async extractOpusMagnumData(t){this.worker||await this.initialize();const s=URL.createObjectURL(t),n=new Image;return new Promise((o,r)=>{n.onload=async()=>{try{const i=document.createElement("canvas"),l=i.getContext("2d");i.width=n.width,i.height=n.height,l.drawImage(n,0,0);const c={},d={};for(const[v,_]of Object.entries(this.regions)){const I=document.createElement("canvas"),A=I.getContext("2d");I.width=_.width,I.height=_.height,A.drawImage(i,_.x,_.y,_.width,_.height,0,0,_.width,_.height);const T=A.getImageData(0,0,_.width,_.height);this.preprocessImage(T),A.putImageData(T,0,0),v==="cost"?await this.worker.setParameters({tessedit_char_whitelist:"0123456789G"}):v==="cycles"||v==="area"?await this.worker.setParameters({tessedit_char_whitelist:"0123456789"}):v==="puzzle"?await this.configurePuzzleOCR():await this.worker.setParameters({tessedit_char_whitelist:""});const{data:{text:g,confidence:m}}=await this.worker.recognize(I);let x=g.trim();if(d[v]=m/100,v==="cost"){if(x.endsWith("6")&&x.length>1){const C=x.slice(0,-1);/^\d+$/.test(C)&&(x=C)}x=x.replace(/G+$/g,""),x=x.replace(/[^0-9]/g,"")}else if(v==="cycles"||v==="area")x=x.replace(/[^0-9]/g,"");else if(v==="puzzle"&&(x=this.findBestPuzzleMatch(x),this.availablePuzzleNames.length>0&&!this.availablePuzzleNames.includes(x))){const C=this.findBestPuzzleMatchForced(x);C&&(x=C,console.log(`Forced OCR match: "${g.trim()}" -> "${x}"`))}c[v]=x}URL.revokeObjectURL(s);const u=Object.values(d),h=u.length>0?u.reduce((v,_)=>v+_,0)/u.length:0;o({puzzle:c.puzzle||"",cost:parseInt(c.cost||""),cycles:parseInt(c.cycles||""),area:parseInt(c.area||""),confidence:{puzzle:d.puzzle||0,cost:d.cost||0,cycles:d.cycles||0,area:d.area||0,overall:h}})}catch(i){URL.revokeObjectURL(s),r(i)}},n.onerror=()=>{URL.revokeObjectURL(s),r(new Error("Failed to load image"))},n.src=s})}preprocessImage(t){const s=t.data;for(let n=0;nArray(t.length+1).fill(null));for(let o=0;o<=t.length;o++)n[0][o]=o;for(let o=0;o<=s.length;o++)n[o][0]=o;for(let o=1;o<=s.length;o++)for(let r=1;r<=t.length;r++){const i=t[r-1]===s[o-1]?0:1;n[o][r]=Math.min(n[o][r-1]+1,n[o-1][r]+1,n[o-1][r-1]+i)}return n[s.length][t.length]}findBestPuzzleMatch(t){if(!this.availablePuzzleNames.length)return t.trim();const s=t.trim();if(!s)return"";const n=this.availablePuzzleNames.find(l=>l.toLowerCase()===s.toLowerCase());if(n)return n;const o=this.availablePuzzleNames.find(l=>l.toLowerCase().includes(s.toLowerCase())||s.toLowerCase().includes(l.toLowerCase()));if(o)return o;let r=s,i=0;for(const l of this.availablePuzzleNames){const c=[this.calculateLevenshteinSimilarity(s,l),this.calculateJaroWinklerSimilarity(s,l),this.calculateNGramSimilarity(s,l,2)],d=Math.max(...c);d>i&&d>.4&&(i=d,r=l)}if(i<.6){const l=this.findBestCharacterMatch(s);l&&(r=l)}return r}calculateLevenshteinSimilarity(t,s){const n=this.levenshteinDistance(t.toLowerCase(),s.toLowerCase()),o=Math.max(t.length,s.length);return o===0?1:1-n/o}calculateJaroWinklerSimilarity(t,s){const n=t.toLowerCase(),o=s.toLowerCase();if(n===o)return 1;const r=Math.floor(Math.max(n.length,o.length)/2)-1;if(r<0)return 0;const i=new Array(n.length).fill(!1),l=new Array(o.length).fill(!1);let c=0,d=0;for(let _=0;_l.has(u))),d=new Set([...i,...l]);return c.size/d.size}findBestCharacterMatch(t){let s=null,n=0;for(const o of this.availablePuzzleNames){const r=this.calculateCharacterFrequencyScore(t.toLowerCase(),o.toLowerCase());r>n&&r>.3&&(n=r,s=o)}return s}calculateCharacterFrequencyScore(t,s){const n=new Map,o=new Map;for(const c of t)n.set(c,(n.get(c)||0)+1);for(const c of s)o.set(c,(o.get(c)||0)+1);const r=new Set([...n.keys(),...o.keys()]);let i=0,l=0;for(const c of r){const d=n.get(c)||0,u=o.get(c)||0;i+=Math.min(d,u),l+=Math.max(d,u)}return l===0?0:i/l}findBestPuzzleMatchForced(t){if(!this.availablePuzzleNames.length||!t.trim())return null;const s=t.trim().toLowerCase();let n=this.availablePuzzleNames[0],o=0;for(const r of this.availablePuzzleNames){const i=[this.calculateLevenshteinSimilarity(s,r),this.calculateJaroWinklerSimilarity(s,r),this.calculateNGramSimilarity(s,r,2),this.calculateCharacterFrequencyScore(s,r.toLowerCase()),this.calculateLengthSimilarity(s,r.toLowerCase())],l=i[0]*.25+i[1]*.25+i[2]*.2+i[3]*.2+i[4]*.1;l>o&&(o=l,n=r)}return console.log(`Forced match for "${t}": "${n}" (score: ${o.toFixed(3)})`),n}calculateLengthSimilarity(t,s){const n=t.length,o=s.length,r=Math.max(n,o),i=Math.min(n,o);return r===0?1:i/r}async terminate(){this.worker&&(await this.worker.terminate(),this.worker=null)}static isValidOpusMagnumImage(t){return["image/jpeg","image/jpg","image/png","image/gif"].includes(t.type)}static drawDebugRegions(t){return new Promise((s,n)=>{const o=URL.createObjectURL(t),r=new Image;r.onload=()=>{const i=document.createElement("canvas"),l=i.getContext("2d");i.width=r.width,i.height=r.height,l.drawImage(r,0,0),l.strokeStyle="#00ff00",l.lineWidth=2;const c=new ao;Object.values(c.regions).forEach(d=>{l.strokeRect(d.x,d.y,d.width,d.height)}),URL.revokeObjectURL(o),s(i.toDataURL())},r.onerror=()=>{URL.revokeObjectURL(o),n(new Error("Failed to load image for debug"))},r.src=o})}}const Nn=new ao,Ht=.8,qi=no("uploads",()=>{const e=oe([]),t=Ue(()=>e.value.some(c=>c.ocrProcessing)),s=Ue(()=>e.value.some(c=>o(c))),n=Ue(()=>e.value.filter(c=>c.needsManualPuzzleSelection)),o=c=>c.ocrData?.confidence?c.ocrData.confidence.cost{for(;t.value;){const u=Math.floor(Math.random()*400)+100;console.log(`OCR is already processing, waiting ${u}ms...`),await new Promise(h=>setTimeout(h,u))}const d=e.value.indexOf(c);e.value[d].ocrProcessing=!0,e.value[d].ocrError=void 0,e.value[d].ocrData=void 0;try{console.log("Starting OCR processing for:",c.file.name),await Nn.initialize();const u=await Nn.extractOpusMagnumData(c.file);console.log("OCR completed:",u),await At(),e.value[d].ocrData=u,u.confidence.puzzle{const c=e.value.filter(d=>o(d));for(const d of c)r(d)},clearFiles:()=>{e.value=[]},isProcessingOCR:t,hasLowConfidence:s,CONFIDENCE_VALUE:Ht}}),xu={class:"form-control w-full"},Su={key:0,class:"space-y-4"},zu={key:1,class:"space-y-4"},Cu={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-2 gap-4"},$u={class:"aspect-square rounded-lg overflow-hidden bg-base-200"},Pu=["src","alt"],ku={class:"absolute inset-0 bg-black/80 opacity-0 group-hover:opacity-100 transition-opacity duration-200 rounded-lg flex items-center justify-center"},Eu=["onClick"],Ru={class:"mt-2"},Ou={class:"text-xs font-medium truncate"},Mu={class:"text-xs text-base-content/60"},Lu={key:0,class:"mt-1 flex items-center gap-1"},Tu={key:1,class:"mt-1"},Au={class:"text-xs text-error"},Iu={key:2,class:"mt-1 space-y-1"},Du={class:"text-xs flex items-center justify-between"},Nu={class:"flex items-center gap-2"},Fu=["title"],ju=["onClick"],Uu={class:"text-xs space-y-1 bg-base-200 p-2 rounded"},Vu={key:0},qu=["title"],Bu={key:1},Hu=["title"],Wu={key:2},Ku=["title"],Gu={key:3},Ju=["title"],Yu={key:3,class:"mt-2"},Zu={class:"mt-2"},Qu=["onUpdate:modelValue","onChange"],Xu=["value"],ef={key:4,class:"mt-1"},tf=["onClick"],sf={class:"flex justify-center"},nf={key:0,class:"label"},of={class:"label-text-alt text-error"},rf=Ft({__name:"FileUpload",setup(e){const t=Hs(),{submissionFiles:s,processOCR:n}=qi(),o=oe(),r=oe(!1),i=oe("");Pt(()=>t.puzzles,g=>{g&&g.length>0&&Nn.setAvailablePuzzleNames(t.puzzleNames)},{immediate:!0});const l=g=>{const m=g.target;m.files&&d(Array.from(m.files))},c=g=>{g.preventDefault(),r.value=!1,g.dataTransfer?.files&&d(Array.from(g.dataTransfer.files))},d=async g=>{i.value="";for(const m of g)if(u(m))try{const x=await h(m),C=m.type.startsWith("image/gif")?"gif":"image",R={file:m,file_url:"",preview:x,type:C,ocrProcessing:!1,ocrError:void 0,ocrData:void 0};s.push(R),I(m)&&At(()=>{n(R)})}catch{i.value=`Failed to process ${m.name}`}},u=g=>g.type.startsWith("image/")?g.size>256*1024*1024?(i.value=`${g.name} is too large (max 256MB)`,!1):!0:(i.value=`${g.name} is not a valid image file`,!1),h=g=>new Promise((m,x)=>{const C=new FileReader;C.onload=R=>m(R.target?.result),C.onerror=x,C.readAsDataURL(g)}),v=g=>{s.splice(g,1)},_=g=>{if(g===0)return"0 Bytes";const m=1024,x=["Bytes","KB","MB","GB"],C=Math.floor(Math.log(g)/Math.log(m));return parseFloat((g/Math.pow(m,C)).toFixed(2))+" "+x[C]},I=g=>g.type.startsWith("image/")&&g.size>5e4,A=g=>g>=.8?"badge-success":g>=.6?"badge-warning":"badge-error",T=g=>{const m=s.findIndex(x=>x.file===g.file);m!==-1&&s[m].manualPuzzleSelection&&(s[m].needsManualPuzzleSelection=!1,console.log(`Manual puzzle selection: ${g.file.name} -> ${s[m].manualPuzzleSelection}`))};return(g,m)=>(S(),z("div",xu,[m[19]||(m[19]=a("label",{class:"label"},[a("span",{class:"label-text font-medium"},"Upload Solution Files"),a("span",{class:"label-text-alt text-xs"},"Images or GIFs only")],-1)),a("div",{class:Ne(["border-2 border-dashed border-base-300 rounded-lg p-6 text-center hover:border-primary transition-colors duration-300",{"border-primary bg-primary/5":r.value}]),onDrop:c,onDragover:m[2]||(m[2]=An(x=>r.value=!0,["prevent"])),onDragleave:m[3]||(m[3]=x=>r.value=!1),onDragenter:m[4]||(m[4]=An(()=>{},["prevent"]))},[a("input",{ref_key:"fileInput",ref:o,type:"file",multiple:"",accept:"image/*,.gif",class:"hidden",onChange:l},null,544),ie(s).length===0?(S(),z("div",Su,[m[6]||(m[6]=a("div",{class:"mx-auto w-12 h-12 text-base-content/40 flex items-center justify-center"},[a("i",{class:"mdi mdi-cloud-upload text-5xl"})],-1)),a("div",null,[m[5]||(m[5]=a("p",{class:"text-base-content/70 mb-2"},"Drop your files here or",-1)),a("button",{type:"button",onClick:m[0]||(m[0]=x=>o.value?.click()),class:"btn btn-primary btn-sm"}," Choose Files ")]),m[7]||(m[7]=a("p",{class:"text-xs text-base-content/50"}," Supported formats: JPG, PNG, GIF (max 256MB each) ",-1))])):(S(),z("div",zu,[a("div",Cu,[(S(!0),z(ge,null,Fe(ie(s),(x,C)=>(S(),z("div",{key:C,class:"relative group"},[a("div",$u,[a("img",{src:x.preview,alt:x.file.name,class:"w-full h-full object-cover"},null,8,Pu)]),a("div",ku,[a("button",{onClick:R=>v(C),class:"btn btn-error btn-lg btn-circle"},[...m[8]||(m[8]=[a("i",{class:"mdi mdi-close"},null,-1)])],8,Eu)]),a("div",Ru,[a("p",Ou,N(x.file.name),1),a("p",Mu,N(_(x.file.size))+" • "+N(x.type.toUpperCase()),1),x.ocrProcessing?(S(),z("div",Lu,[...m[9]||(m[9]=[a("span",{class:"loading loading-spinner loading-xs"},null,-1),a("span",{class:"text-xs text-info"},"Extracting puzzle data...",-1)])])):x.ocrError?(S(),z("div",Tu,[a("p",Au,N(x.ocrError),1)])):x.ocrData?(S(),z("div",Iu,[a("div",Du,[a("div",Nu,[m[10]||(m[10]=a("span",{class:"font-medium text-success"},"✓ OCR Complete",-1)),x.ocrData.confidence?(S(),z("span",{key:0,class:Ne(["badge badge-xs",A(x.ocrData.confidence.overall)]),title:`Overall confidence: ${Math.round(x.ocrData.confidence.overall*100)}%`},N(Math.round(x.ocrData.confidence.overall*100))+"% ",11,Fu)):X("",!0)]),a("button",{onClick:R=>ie(n)(x),class:"btn btn-xs btn-ghost",title:"Retry OCR"},[...m[11]||(m[11]=[a("i",{class:"mdi mdi-refresh"},null,-1)])],8,ju)]),a("div",Uu,[x.ocrData.puzzle?(S(),z("div",Vu,[m[12]||(m[12]=a("strong",null,"Puzzle:",-1)),ve(" "+N(x.ocrData.puzzle)+" ",1),x.ocrData.confidence?.puzzle?(S(),z("span",{key:0,class:"ml-2 opacity-60",title:`Puzzle confidence: ${Math.round(x.ocrData.confidence.puzzle*100)}%`}," ("+N(Math.round(x.ocrData.confidence.puzzle*100))+"%) ",9,qu)):X("",!0)])):X("",!0),x.ocrData.cost?(S(),z("div",Bu,[m[13]||(m[13]=a("strong",null,"Cost:",-1)),ve(" "+N(x.ocrData.cost)+" ",1),x.ocrData.confidence?.cost?(S(),z("span",{key:0,class:"ml-2 opacity-60",title:`Cost confidence: ${Math.round(x.ocrData.confidence.cost*100)}%`}," ("+N(Math.round(x.ocrData.confidence.cost*100))+"%) ",9,Hu)):X("",!0)])):X("",!0),x.ocrData.cycles?(S(),z("div",Wu,[m[14]||(m[14]=a("strong",null,"Cycles:",-1)),ve(" "+N(x.ocrData.cycles)+" ",1),x.ocrData.confidence?.cycles?(S(),z("span",{key:0,class:"ml-2 opacity-60",title:`Cycles confidence: ${Math.round(x.ocrData.confidence.cycles*100)}%`}," ("+N(Math.round(x.ocrData.confidence.cycles*100))+"%) ",9,Ku)):X("",!0)])):X("",!0),x.ocrData.area?(S(),z("div",Gu,[m[15]||(m[15]=a("strong",null,"Area:",-1)),ve(" "+N(x.ocrData.area)+" ",1),x.ocrData.confidence?.area?(S(),z("span",{key:0,class:"ml-2 opacity-60",title:`Area confidence: ${Math.round(x.ocrData.confidence.area*100)}%`}," ("+N(Math.round(x.ocrData.confidence.area*100))+"%) ",9,Ju)):X("",!0)])):X("",!0)])])):X("",!0),x.needsManualPuzzleSelection?(S(),z("div",Yu,[m[17]||(m[17]=La('
Low OCR Confidence
Please select the correct puzzle manually
',1)),a("div",Zu,[lt(a("select",{"onUpdate:modelValue":R=>x.manualPuzzleSelection=R,class:"select select-bordered select-sm w-full",onChange:R=>T(x)},[m[16]||(m[16]=a("option",{value:""},"Select puzzle...",-1)),(S(!0),z(ge,null,Fe(ie(t).puzzles,R=>(S(),z("option",{key:R.id,value:R.title},N(R.title),9,Xu))),128))],40,Qu),[[Li,x.manualPuzzleSelection]])])])):!x.ocrProcessing&&!x.ocrError&&!x.ocrData?(S(),z("div",ef,[a("button",{onClick:R=>ie(n)(x),class:"btn btn-xs btn-outline"},[...m[18]||(m[18]=[a("i",{class:"mdi mdi-text-recognition"},null,-1),ve(" Extract Puzzle Data ",-1)])],8,tf)])):X("",!0)])]))),128))]),a("div",sf,[a("button",{type:"button",onClick:m[1]||(m[1]=x=>o.value?.click()),class:"btn btn-outline btn-sm"}," Add More Files ")])]))],34),i.value?(S(),z("div",nf,[a("span",of,N(i.value),1)])):X("",!0)]))}}),lf={class:"card bg-base-100 shadow-xl"},af={class:"card-body"},cf={key:0,class:"alert alert-info"},uf={class:"flex-1"},ff={class:"font-bold"},df={class:"text-sm space-y-1 mt-1"},hf={class:"badge badge-ghost badge-sm ml-2"},pf={key:1,class:"alert alert-warning"},gf={class:"flex-1"},mf={class:"text-sm"},vf={class:"form-control"},bf={class:"flex-1"},_f={class:"flex label"},yf={class:"label-text-alt"},wf={class:"form-control"},xf={class:"label cursor-pointer justify-start gap-3"},Sf=["disabled"],zf={class:"card-actions justify-end"},Cf=["disabled"],$f={key:0,class:"loading loading-spinner loading-sm"},Pf={key:1},kf={key:2},Ef={key:3},Rf=Ft({__name:"SubmissionForm",props:{puzzles:{},findPuzzleByName:{type:Function}},setup(e){const t=e,s=qi(),{submissionFiles:n,hasLowConfidence:o,submissionFilesNeedingManualSelection:r}=oo(s),{clearFiles:i,processLowConfidenceOCRFiles:l}=s,{handleSubmission:c}=ro(),d=oe(""),u=oe(!1),h=oe(!1),v=Ue(()=>d.value.length),_=Ue(()=>{const T=n.value.length>0,g=!n.value.some(m=>m.needsManualPuzzleSelection);return T&&!h.value&&g});Pt(o,T=>{T&&(u.value=!0)});const I=Ue(()=>{const T={};return n.value.forEach(g=>{const m=g.manualPuzzleSelection||g.ocrData?.puzzle;m&&(T[m]||(T[m]={puzzle:t.findPuzzleByName(m),files:[]}),T[m].files.push(g))}),T}),A=async()=>{if(_.value){h.value=!0;try{c({files:n.value,notes:d.value.trim()||void 0,manualValidationRequested:o.value||u.value}),i(),d.value="",u.value=!1}catch(T){console.error("Submission error:",T)}finally{h.value=!1}}};return(T,g)=>(S(),z("div",lf,[a("div",af,[g[9]||(g[9]=a("h2",{class:"card-title text-xl mb-6"},[a("i",{class:"mdi mdi-check-circle text-2xl text-primary"}),ve(" Submit Solution ")],-1)),a("form",{onSubmit:An(A,["prevent"]),class:"space-y-6"},[Object.keys(I.value).length>0?(S(),z("div",cf,[g[3]||(g[3]=a("i",{class:"mdi mdi-information-outline text-xl"},null,-1)),a("div",uf,[a("h4",ff," Detected Puzzles ("+N(Object.keys(I.value).length)+") ",1),a("div",df,[(S(!0),z(ge,null,Fe(I.value,(m,x)=>(S(),z("div",{key:x,class:"flex justify-between"},[a("span",null,N(x),1),a("span",hf,N(m.files.length)+" file(s)",1)]))),128))])])])):X("",!0),Le(rf),ie(r).length>0?(S(),z("div",pf,[g[6]||(g[6]=a("i",{class:"mdi mdi-alert-circle text-xl"},null,-1)),a("div",gf,[g[5]||(g[5]=a("div",{class:"font-bold"},"Manual Puzzle Selection Required",-1)),a("div",mf,N(ie(r).length)+" file(s) have low OCR confidence for puzzle names. Please select the correct puzzle for each file before submitting. ",1),a("button",{class:"btn mt-3 w-full",onClick:g[0]||(g[0]=(...m)=>ie(l)&&ie(l)(...m))},[...g[4]||(g[4]=[a("span",{class:"mdi mdi-reload text-2xl"},null,-1),ve(" Retry OCR on low confidence puzzle ",-1)])])])])):X("",!0),a("div",vf,[a("div",bf,[a("label",_f,[g[7]||(g[7]=a("span",{class:"label-text font-medium"},"Notes (Optional)",-1)),a("span",yf,N(v.value)+"/500",1)]),lt(a("textarea",{"onUpdate:modelValue":g[1]||(g[1]=m=>d.value=m),class:"flex textarea textarea-bordered h-24 w-full resize-none",placeholder:"Add any notes about your solution, approach, or interesting findings...",maxlength:"500"},null,512),[[ys,d.value]])])]),a("div",wf,[a("label",xf,[lt(a("input",{type:"checkbox","onUpdate:modelValue":g[2]||(g[2]=m=>u.value=m),class:"checkbox checkbox-primary",disabled:ie(o)},null,8,Sf),[[cc,u.value]]),g[8]||(g[8]=a("div",{class:"flex-1"},[a("span",{class:"label-text font-medium"},"Request manual validation"),a("div",{class:"label-text-alt text-xs opacity-70 mt-1"},[ve(" Check this if you want an admin to manually review your submission, even if OCR confidence is high. "),a("br"),a("em",null,"Note: This will be automatically checked if any OCR confidence is below 80%.")])],-1))])]),a("div",zf,[a("button",{type:"submit",class:"btn btn-primary",disabled:!_.value},[h.value?(S(),z("span",$f)):X("",!0),h.value?(S(),z("span",Pf,"Submitting...")):ie(r).length>0?(S(),z("span",kf," Select Puzzles ("+N(ie(r).length)+" remaining) ",1)):(S(),z("span",Ef,"Submit Solution"))],8,Cf)])],32)])]))}}),Of={class:"card bg-base-100 shadow-xl"},Mf={class:"card-body"},Lf={class:"stats stats-vertical lg:stats-horizontal shadow mb-6"},Tf={class:"stat"},Af={class:"stat-value text-primary"},If={class:"stat"},Df={class:"stat-value text-secondary"},Nf={class:"stat"},Ff={class:"stat-value text-warning"},jf={class:"stat"},Uf={class:"stat-value text-success"},Vf={key:0},qf={class:"overflow-x-auto"},Bf={class:"table table-zebra"},Hf={class:"font-bold"},Wf={class:"text-sm opacity-50"},Kf={class:"text-sm space-y-1"},Gf={class:"flex justify-between items-center"},Jf={class:"flex justify-between items-center"},Yf={class:"flex justify-between items-center"},Zf={class:"badge badge-warning badge-sm"},Qf=["onClick"],Xf=["onClick"],ed={key:1,class:"text-center py-8"},td={key:0,class:"modal modal-open"},sd={class:"modal-box w-11/12 max-w-5xl"},nd=["src"],od={key:0,class:"space-y-4"},rd={class:"alert alert-info"},id={class:"font-bold"},ld={class:"grid grid-cols-4 gap-4"},ad={class:"form-control"},cd=["value"],ud={class:"form-control"},fd=["placeholder"],dd={class:"form-control"},hd=["placeholder"],pd={class:"form-control"},gd=["placeholder"],md={class:"modal-action"},vd=["disabled"],bd={key:0,class:"loading loading-spinner loading-sm"},_d={class:"mockup-code w-full"},yd=Ft({__name:"AdminPanel",setup(e,{expose:t}){const s=Hs(),n=oe({total_submissions:0,total_responses:0,needs_validation:0,validated_submissions:0,validation_rate:0}),o=oe([]),r=oe(!1),i=oe(!1),l=oe({show:!1,response:null,data:{puzzle:-1,validated_cost:0,validated_cycles:0,validated_area:0}}),c=async()=>{try{r.value=!0;try{const g=await Qe.getStats();g.data&&(n.value=g.data)}catch(g){console.warn("Stats endpoint not available:",g),n.value={total_submissions:0,total_responses:0,needs_validation:0,validated_submissions:0,validation_rate:0}}const T=await Qe.getResponsesNeedingValidation();T.data&&(o.value=T.data)}catch(T){console.error("Failed to load admin data:",T)}finally{r.value=!1}},d=async()=>{for(const T of Array.from(o.value)){if(!T.id)continue;const{data:g,error:m}=await Qe.autoValidateResponses(T.id);if(g&&!g.needs_manual_validation)o.value=o.value.filter(x=>x.id!==T.id),n.value.needs_validation-=1;else if(m)break}},u=T=>{l.value.response=T,l.value.data={puzzle:T.puzzle_id||-1,validated_cost:T.cost||0,validated_cycles:T.cycles||0,validated_area:T.area||0},l.value.show=!0},h=()=>{l.value.show=!1,l.value.response=null,l.value.data={puzzle:-1,validated_cost:0,validated_cycles:0,validated_area:0}},v=async T=>{const{data:g}=await Qe.autoValidateResponses(T);console.log(g),g&&!g.needs_manual_validation&&(o.value=o.value.filter(m=>m.id!==T),console.log(n.value),n.value.needs_validation-=1,console.log(n.value))},_=async()=>{if(l.value.response?.id)try{i.value=!0;const T=await Qe.validateResponse(l.value.response.id,l.value.data);if(T.error){alert(`Validation failed: ${T.error}`);return}o.value=o.value.filter(g=>g.id!==l.value.response?.id),n.value.needs_validation=Math.max(0,n.value.needs_validation-1),h()}catch(T){console.error("Validation error:",T),alert("Validation failed")}finally{i.value=!1}};js(()=>{c()});const I=T=>T>=.8?"badge-success":T>=.6?"badge-warning":"badge-error",A=T=>{const g=[T.ocr_confidence_cost,T.ocr_confidence_cycles,T.ocr_confidence_area].filter(x=>x!=null);if(g.length===0)return 0;const m=g.reduce((x,C)=>x+C,0)/g.length;return Math.round(m*100)};return t({refresh:c}),(T,g)=>(S(),z(ge,null,[a("div",Of,[a("div",Mf,[g[14]||(g[14]=a("h2",{class:"card-title"},[a("i",{class:"mdi mdi-shield-account text-2xl text-warning"}),ve(" Admin Panel ")],-1)),a("div",Lf,[a("div",Tf,[g[4]||(g[4]=a("div",{class:"stat-title"},"Total Submissions",-1)),a("div",Af,N(n.value.total_submissions),1)]),a("div",If,[g[5]||(g[5]=a("div",{class:"stat-title"},"Total Responses",-1)),a("div",Df,N(n.value.total_responses),1)]),a("div",Nf,[g[6]||(g[6]=a("div",{class:"stat-title"},"Need Validation",-1)),a("div",Ff,N(n.value.needs_validation),1)]),a("div",jf,[g[7]||(g[7]=a("div",{class:"stat-title"},"Validation Rate",-1)),a("div",Uf,N(Math.round(n.value.validation_rate*100))+"% ",1)])]),a("button",{class:"btn btn-sm btn-primary",onClick:d},[...g[8]||(g[8]=[a("i",{class:"mdi mdi-check-circle mr-1"},null,-1),ve(" Auto validation for all responses ",-1)])]),o.value.length>0?(S(),z("div",Vf,[g[12]||(g[12]=a("h3",{class:"text-lg font-bold mb-4"},"Responses Needing Validation",-1)),a("div",qf,[a("table",Bf,[g[11]||(g[11]=a("thead",null,[a("tr",null,[a("th",null,"Puzzle"),a("th",null,"OCR Data"),a("th",null,"Confidence"),a("th",null,"Actions")])],-1)),a("tbody",null,[(S(!0),z(ge,null,Fe(o.value,m=>(S(),z("tr",{key:m.id},[a("td",null,[a("div",Hf,N(m.puzzle_name),1),a("div",Wf,"ID: "+N(m.id),1)]),a("td",null,[a("div",Kf,[a("div",Gf,[a("span",null,"Cost: "+N(m.cost||"-"),1),m.ocr_confidence_cost?(S(),z("span",{key:0,class:Ne(["badge badge-xs",I(m.ocr_confidence_cost)])},N(Math.round(m.ocr_confidence_cost*100))+"% ",3)):X("",!0)]),a("div",Jf,[a("span",null,"Cycles: "+N(m.cycles||"-"),1),m.ocr_confidence_cycles?(S(),z("span",{key:0,class:Ne(["badge badge-xs",I(m.ocr_confidence_cycles)])},N(Math.round(m.ocr_confidence_cycles*100))+"% ",3)):X("",!0)]),a("div",Yf,[a("span",null,"Area: "+N(m.area||"-"),1),m.ocr_confidence_area?(S(),z("span",{key:0,class:Ne(["badge badge-xs",I(m.ocr_confidence_area)])},N(Math.round(m.ocr_confidence_area*100))+"% ",3)):X("",!0)])])]),a("td",null,[a("div",Zf,N(A(m))+"% ",1)]),a("td",null,[a("button",{onClick:x=>u(m),class:"btn btn-sm btn-primary mr-2"},[...g[9]||(g[9]=[a("i",{class:"mdi mdi-check-circle mr-1"},null,-1),ve(" Validate ",-1)])],8,Qf),m.id?(S(),z("button",{key:0,onClick:x=>v(m.id),class:"btn btn-sm btn-warning"},[...g[10]||(g[10]=[a("i",{class:"mdi mdi-check-circle mr-1"},null,-1),ve(" Auto Validation ",-1)])],8,Xf)):X("",!0)])]))),128))])])])])):(S(),z("div",ed,[...g[13]||(g[13]=[a("i",{class:"mdi mdi-check-all text-6xl text-success opacity-50"},null,-1),a("p",{class:"text-lg font-medium mt-2"},"All responses validated!",-1),a("p",{class:"text-sm opacity-70"}," No responses currently need manual validation. ",-1)])]))])]),l.value.show?(S(),z("div",td,[a("div",sd,[g[22]||(g[22]=a("h3",{class:"font-bold text-lg mb-4"},"Validate Response",-1)),(S(!0),z(ge,null,Fe(l.value.response?.files??[],m=>(S(),z("div",null,[a("img",{src:m.file_url},null,8,nd)]))),256)),l.value.response?(S(),z("div",od,[a("div",rd,[g[16]||(g[16]=a("i",{class:"mdi mdi-information-outline"},null,-1)),a("div",null,[a("div",id,N(l.value.response.puzzle_name),1),g[15]||(g[15]=a("div",{class:"text-sm"},"Review and correct the OCR data below",-1))])]),a("div",ld,[a("div",ad,[g[18]||(g[18]=a("label",{class:"label"},[a("span",{class:"label-text"},"Puzzle")],-1)),lt(a("select",{"onUpdate:modelValue":g[0]||(g[0]=m=>l.value.data.puzzle=m),class:"select select-bordered select-sm w-full"},[g[17]||(g[17]=a("option",{value:""},"Select puzzle...",-1)),(S(!0),z(ge,null,Fe(ie(s).puzzles,m=>(S(),z("option",{key:m.id,value:m.id},N(m.title),9,cd))),128))],512),[[Li,l.value.data.puzzle]])]),a("div",ud,[g[19]||(g[19]=a("label",{class:"label"},[a("span",{class:"label-text"},"Cost")],-1)),lt(a("input",{"onUpdate:modelValue":g[1]||(g[1]=m=>l.value.data.validated_cost=m),type:"text",class:"input input-bordered input-sm",placeholder:l.value.response.cost?.toString()||"Enter cost"},null,8,fd),[[ys,l.value.data.validated_cost]])]),a("div",dd,[g[20]||(g[20]=a("label",{class:"label"},[a("span",{class:"label-text"},"Cycles")],-1)),lt(a("input",{"onUpdate:modelValue":g[2]||(g[2]=m=>l.value.data.validated_cycles=m),type:"text",class:"input input-bordered input-sm",placeholder:l.value.response.cycles?.toString()||"Enter cycles"},null,8,hd),[[ys,l.value.data.validated_cycles]])]),a("div",pd,[g[21]||(g[21]=a("label",{class:"label"},[a("span",{class:"label-text"},"Area")],-1)),lt(a("input",{"onUpdate:modelValue":g[3]||(g[3]=m=>l.value.data.validated_area=m),type:"text",class:"input input-bordered input-sm",placeholder:l.value.response.area?.toString()||"Enter area"},null,8,gd),[[ys,l.value.data.validated_area]])])]),a("div",md,[a("button",{onClick:h,class:"btn btn-ghost"}," Cancel "),a("button",{onClick:_,class:"btn btn-primary",disabled:i.value},[i.value?(S(),z("span",bd)):X("",!0),ve(" "+N(i.value?"Validating...":"Validate"),1)],8,vd)]),a("div",_d,[a("pre",null,[a("code",null,N(l.value),1)])])])):X("",!0)]),a("div",{class:"modal-backdrop",onClick:h})])):X("",!0)],64))}}),wd={class:"mb-8"},xd={class:"card bg-base-100 shadow-lg"},Sd={class:"card-body"},zd={key:0,class:"flex justify-center py-8"},Cd={key:1,class:"text-center py-8"},$d={key:2,class:"space-y-6"},Pd={class:"tabs tabs-boxed"},kd={class:"space-y-4"},Ed={key:0,class:"text-center py-8"},Rd={key:1,class:"overflow-x-auto"},Od={class:"table table-zebra w-full"},Md={class:"font-bold"},Ld={key:0,class:"badge badge-warning badge-lg"},Td={key:1,class:"badge badge-lg"},Ad={key:2,class:"badge badge-lg"},Id={key:3},Dd={class:"font-medium"},Nd={class:"text-right"},Fd={class:"text-right font-bold"},jd={class:"space-y-6"},Ud=["onClick"],Vd={class:"ml-auto badge badge-sm"},qd={key:0,class:"card-body"},Bd={key:0,class:"text-center py-8"},Hd={key:1,class:"space-y-6"},Wd={class:"grid grid-cols-1 md:grid-cols-3 gap-4"},Kd={class:"card-body p-4"},Gd={class:"text-xs text-base-content/70 font-bold"},Jd={class:"font-bold text-lg"},Yd={class:"space-y-2 text-sm"},Zd={class:"flex justify-between"},Qd={class:"badge badge-sm"},Xd={class:"flex justify-between"},eh={class:"badge badge-sm"},th={class:"flex justify-between"},sh={class:"badge badge-sm"},nh={class:"flex justify-between pt-2 border-t"},oh={class:"badge badge-sm"},rh={class:"flex justify-between pt-2 border-t"},ih={class:"badge badge-primary"},lh={class:"overflow-x-auto"},ah={class:"table table-zebra w-full table-sm"},ch={class:"font-bold"},uh={key:0,class:"badge badge-warning"},fh={key:1,class:"badge"},dh={key:2,class:"badge"},hh={key:3},ph={class:"font-medium"},gh={class:"text-center"},mh={key:0,class:"badge badge-sm"},vh={key:1,class:"text-base-content/40"},bh={class:"text-center"},_h={key:0,class:"badge badge-sm"},yh={key:1,class:"text-base-content/40"},wh={class:"text-center"},xh={key:0,class:"badge badge-sm"},Sh={key:1,class:"text-base-content/40"},zh={class:"text-center"},Ch={key:0,class:"badge badge-sm"},$h={key:1,class:"text-base-content/40"},Ph={class:"text-right font-bold text-primary text-lg"},kh=Ft({__name:"Results",setup(e){const t=oe(!0),s=oe(null),n=oe("overall"),o=oe(null),r=async()=>{t.value=!0;try{const d=await fetch("/api/results/results");if(!d.ok)throw new Error("Failed to fetch results");s.value=await d.json()}catch(d){console.error("Error fetching results:",d)}finally{t.value=!1}},i=()=>s.value?s.value.users.map(u=>{const h=s.value.responses_by_userid[u.id]||[],v=h.reduce((I,A)=>I+(A.rank_points||0),0),_=h.length;return{username:u.username,totalPoints:v,puzzlesSolved:_}}).sort((u,h)=>h.totalPoints-u.totalPoints):[],l=d=>s.value?(s.value.ranking_by_puzzle[d]||[]).map(h=>(console.log(h),{username:s.value.users.find(_=>_.id===h.user_id)?.username||"Unknown",cost:h.final_cost,cycles:h.final_cycles,area:h.final_area,points:h.points,rank_points:h.rank_points||0})):[],c=d=>{o.value=o.value===d?null:d};return js(()=>{r()}),(d,u)=>(S(),z("div",wd,[a("div",xd,[a("div",Sd,[u[16]||(u[16]=a("h2",{class:"card-title text-2xl mb-6"},[a("i",{class:"mdi mdi-trophy text-yellow-500 mr-2"}),ve(" General Results ")],-1)),t.value?(S(),z("div",zd,[...u[2]||(u[2]=[a("span",{class:"loading loading-spinner loading-lg"},null,-1)])])):s.value?(S(),z("div",$d,[a("div",Pd,[a("button",{onClick:u[0]||(u[0]=h=>n.value="overall"),class:Ne(["tab",n.value==="overall"?"tab-active":""])},[...u[4]||(u[4]=[a("i",{class:"mdi mdi-chart-line mr-2"},null,-1),ve(" Overall Ranking ",-1)])],2),a("button",{onClick:u[1]||(u[1]=h=>n.value="byPuzzle"),class:Ne(["tab",n.value==="byPuzzle"?"tab-active":""])},[...u[5]||(u[5]=[a("i",{class:"mdi mdi-puzzle mr-2"},null,-1),ve(" By Puzzle ",-1)])],2)]),lt(a("div",kd,[i().length===0?(S(),z("div",Ed,[...u[6]||(u[6]=[a("p",{class:"text-base-content/70"},"No submissions yet",-1)])])):(S(),z("div",Rd,[a("table",Od,[u[7]||(u[7]=a("thead",null,[a("tr",null,[a("th",null,"Rank"),a("th",null,"Player"),a("th",{class:"text-right"},"Puzzles Solved"),a("th",{class:"text-right"},"Total Points")])],-1)),a("tbody",null,[(S(!0),z(ge,null,Fe(i(),(h,v)=>(S(),z("tr",{key:h.username},[a("td",Md,[v===0?(S(),z("span",Ld," 🏆 #1 ")):v===1?(S(),z("span",Td," 🥈 #2 ")):v===2?(S(),z("span",Ad," 🥉 #3 ")):(S(),z("span",Id,"#"+N(v+1),1))]),a("td",Dd,N(h.username),1),a("td",Nd,N(h.puzzlesSolved),1),a("td",Fd,N(h.totalPoints),1)]))),128))])])]))],512),[[Mo,n.value==="overall"]]),lt(a("div",jd,[(S(!0),z(ge,null,Fe(s.value.puzzles,h=>(S(),z("div",{key:h.id,class:"card bg-base-100 border border-base-300"},[a("button",{onClick:v=>c(h.id),class:"btn btn-ghost btn-lg w-full justify-start text-lg font-bold hover:bg-primary/20 rounded-b-none"},[a("i",{class:Ne(["mdi mr-2",o.value===h.id?"mdi-chevron-down":"mdi-chevron-right"])},null,2),ve(" "+N(h.title)+" ",1),a("span",Vd,N(l(h.id).length)+" submissions ",1)],8,Ud),o.value===h.id?(S(),z("div",qd,[l(h.id).length===0?(S(),z("div",Bd,[...u[8]||(u[8]=[a("p",{class:"text-base-content/70 text-lg"},"No submissions yet",-1)])])):(S(),z("div",Hd,[a("div",Wd,[(S(!0),z(ge,null,Fe(l(h.id).slice(0,3),(v,_)=>(S(),z("div",{key:_,class:"card bg-base-200"},[a("div",Kd,[a("div",Gd,N(_===0?"🏆 1st Place":_===1?"🥈 2nd Place":"🥉 3rd Place"),1),a("h4",Jd,N(v.username),1),u[14]||(u[14]=a("div",{class:"divider my-2"},null,-1)),a("div",Yd,[a("div",Zd,[u[9]||(u[9]=a("span",null,"Cost",-1)),a("span",Qd,N(v.cost||"N/A"),1)]),a("div",Xd,[u[10]||(u[10]=a("span",null,"Cycles",-1)),a("span",eh,N(v.cycles||"N/A"),1)]),a("div",th,[u[11]||(u[11]=a("span",null,"Area",-1)),a("span",sh,N(v.area||"N/A"),1)]),a("div",nh,[u[12]||(u[12]=a("span",null,"Total (with coef.)",-1)),a("span",oh,N(v.points||"N/A"),1)]),a("div",rh,[u[13]||(u[13]=a("span",{class:"font-bold"},"Points",-1)),a("span",ih,N(v.rank_points)+" pts",1)])])])]))),128))]),a("div",lh,[a("table",ah,[u[15]||(u[15]=a("thead",null,[a("tr",null,[a("th",{class:"w-12"},"Rank"),a("th",null,"Player"),a("th",{class:"text-center"},"Cost"),a("th",{class:"text-center"},"Cycles"),a("th",{class:"text-center"},"Area"),a("th",{class:"text-center"},"Total (with coef.)"),a("th",{class:"text-right"},"Points")])],-1)),a("tbody",null,[(S(!0),z(ge,null,Fe(l(h.id),(v,_)=>(S(),z("tr",{key:_,class:Ne({"bg-primary/10":_<3})},[a("td",ch,[_===0?(S(),z("span",uh,"🏆")):_===1?(S(),z("span",fh,"🥈")):_===2?(S(),z("span",dh,"🥉")):(S(),z("span",hh,"#"+N(_+1),1))]),a("td",ph,N(v.username),1),a("td",gh,[v.cost?(S(),z("span",mh,N(v.cost),1)):(S(),z("span",vh,"—"))]),a("td",bh,[v.cycles?(S(),z("span",_h,N(v.cycles),1)):(S(),z("span",yh,"—"))]),a("td",wh,[v.area?(S(),z("span",xh,N(v.area),1)):(S(),z("span",Sh,"—"))]),a("td",zh,[v.points?(S(),z("span",Ch,N(v.points),1)):(S(),z("span",$h,"—"))]),a("td",Ph,N(v.rank_points),1)],2))),128))])])])]))])):X("",!0)]))),128))],512),[[Mo,n.value==="byPuzzle"]])])):(S(),z("div",Cd,[...u[3]||(u[3]=[a("p",{class:"text-base-content/70"},"No results available yet",-1)])]))])])]))}});function br(e,t){return Hn()?(Or(e,t),!0):!1}const _r=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function Eh(e,t=1e3,s={}){const{immediate:n=!0,immediateCallback:o=!1}=s;let r=null;const i=Gr(!1);function l(){r&&(clearInterval(r),r=null)}function c(){i.value=!1,l()}function d(){const u=ms(t);u<=0||(i.value=!0,o&&e(),l(),i.value&&(r=setInterval(e,u)))}return n&&_r&&d(),(de(t)||typeof t=="function")&&br(Pt(t,()=>{i.value&&_r&&d()})),br(c),{isActive:Sl(i),pause:c,resume:d}}function Rh(e,t){var s,n;const o=Gr(ms(e)),r=Eh(()=>{var u;const h=o.value-1;if(o.value=h<0?0:h,t==null||(u=t.onTick)===null||u===void 0||u.call(t),o.value<=0){var v;r.pause(),t==null||(v=t.onComplete)===null||v===void 0||v.call(t)}},(s=t?.interval)!==null&&s!==void 0?s:1e3,{immediate:(n=t?.immediate)!==null&&n!==void 0?n:!1}),i=u=>{var h;o.value=(h=ms(u))!==null&&h!==void 0?h:ms(e)},l=()=>{r.pause(),i()},c=()=>{r.isActive.value||o.value>0&&r.resume()};return{remaining:o,reset:i,stop:l,start:u=>{i(u),r.resume()},pause:r.pause,resume:c,isActive:r.isActive}}const Oh={class:"min-h-screen bg-base-200"},Mh={class:"navbar bg-base-100 shadow-lg"},Lh={class:"container mx-auto w-full flex items-center gap-4"},Th={class:"flex items-center gap-4"},Ah={key:0,class:"flex items-center gap-2"},Ih={class:"text-sm"},Dh={class:"font-medium"},Nh={key:0,class:"badge badge-warning badge-xs ml-1"},Fh={key:1,class:"text-sm text-base-content/70"},jh={class:"container mx-auto px-4 py-8"},Uh={key:0,class:"flex justify-center"},Vh={class:"text-center"},qh={class:"mb-6 text-base-content/70"},Bh={key:1,class:"flex justify-center items-center min-h-[400px]"},Hh={key:2,class:"alert alert-error max-w-2xl mx-auto"},Wh={class:"text-sm"},Kh={key:3,class:"space-y-8"},Gh={class:"mb-8"},Jh={class:"card bg-base-100 shadow-lg"},Yh={class:"card-body"},Zh={class:"card-title text-2xl"},Qh={class:"text-base-content/70"},Xh={class:"flex flex-wrap gap-4 mt-4"},ep={key:0},tp={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"},sp={key:1,class:"text-center py-12"},np={key:0,class:"modal modal-open"},op={class:"modal-box max-w-6xl"},rp={class:"flex justify-between items-center mb-4"},ip=Ft({__name:"OpusMagnum",props:{collectionTitle:{},collectionUrl:{},collectionDescription:{}},setup(e){const t=e,s=Hs(),n=ro(),{submissions:o,isSubmissionModalOpen:r}=oo(n),{openSubmissionModal:i,loadSubmissions:l,closeSubmissionModal:c}=n,d=oe(null),u=oe(!0),h=oe(""),v=Ue(()=>d.value?.is_superuser||!1),_=Ue(()=>{const C={};return o.value.forEach(R=>{R.responses.forEach(te=>{C[te.puzzle_id]||(C[te.puzzle_id]=[]),C[te.puzzle_id].push(te)})}),C});async function I(){try{u.value=!0,h.value="",console.log("Starting data load..."),console.log("Loading user info...");const C=await Qe.getUserInfo();C.data?(d.value=C.data,console.log("User info loaded:",C.data)):C.error&&console.warn("User info error:",C.error),console.log("Loading puzzles..."),await s.loadPuzzles(),console.log("Puzzles loaded:",s.puzzles.length),console.log("Loading submissions..."),await l(),console.log("Submissions loaded:",o.value.length),console.log("Data load complete!")}catch(C){h.value=Fi.getErrorMessage(C),console.error("Failed to load data:",C)}finally{u.value=!1,console.log("Loading state set to false")}d.value?.is_superuser&&T()}const{remaining:A,start:T}=Rh(60,{onComplete(){I()}});js(async()=>{await I()});const g=C=>s.findPuzzleByName(C),m=()=>{window.location.reload()},x=()=>{window.location.href="/"};return(C,R)=>(S(),z("div",Oh,[a("div",Mh,[a("div",Lh,[a("button",{onClick:x,class:"btn btn-primary btn-sm"},[...R[3]||(R[3]=[a("i",{class:"mdi mdi-arrow-left"},null,-1),ve(" Back ",-1)])]),R[6]||(R[6]=a("h1",{class:"text-xl font-bold"},"Opus Magnum Puzzle Submitter",-1)),R[7]||(R[7]=a("div",{class:"flex-1"},null,-1)),a("div",Th,[d.value?.is_authenticated?(S(),z("div",Ah,[a("div",Ih,[a("span",Dh,N(d.value.username),1),d.value.is_superuser?(S(),z("span",Nh,"Admin")):X("",!0)])])):(S(),z("div",Fh,"Not logged in")),R[4]||(R[4]=a("a",{href:"/api/docs",class:"btn btn-xs"},"API docs",-1)),R[5]||(R[5]=a("a",{href:"/admin",class:"btn btn-xs btn-warning"},"Admin panel",-1))])])]),a("div",jh,[d.value?.is_superuser?(S(),z("div",Uh,[a("div",Vh,[a("p",qh,[R[8]||(R[8]=a("span",{class:"loading loading-spinner loading-lg"},null,-1)),ve(" Auto reload page in "+N(ie(A))+" seconds ... ",1)])])])):X("",!0),u.value?(S(),z("div",Bh,[...R[9]||(R[9]=[a("div",{class:"text-center"},[a("span",{class:"loading loading-spinner loading-lg"}),a("p",{class:"mt-4 text-base-content/70"},"Loading puzzles...")],-1)])])):h.value?(S(),z("div",Hh,[R[12]||(R[12]=a("i",{class:"mdi mdi-alert-circle text-xl"},null,-1)),a("div",null,[R[10]||(R[10]=a("h3",{class:"font-bold"},"Error Loading Data",-1)),a("div",Wh,N(h.value),1)]),a("button",{onClick:m,class:"btn btn-sm btn-outline"},[...R[11]||(R[11]=[a("i",{class:"mdi mdi-refresh mr-1"},null,-1),ve(" Retry ",-1)])])])):(S(),z("div",Kh,[a("div",Gh,[a("div",Jh,[a("div",Yh,[a("h2",Zh,N(t.collectionTitle),1),a("p",Qh,N(t.collectionDescription),1),a("div",Xh,[a("button",{onClick:R[0]||(R[0]=(...te)=>ie(i)&&ie(i)(...te)),class:"btn btn-primary"},[...R[13]||(R[13]=[a("i",{class:"mdi mdi-plus mr-2"},null,-1),ve(" Submit Solution ",-1)])])])])])]),Le(kh),v.value?(S(),z("div",ep,[Le(yd)])):X("",!0),a("div",tp,[(S(!0),z(ge,null,Fe(ie(s).puzzles,te=>(S(),Ci(Xc,{key:te.id,puzzle:te,responses:_.value[te.id]||[]},null,8,["puzzle","responses"]))),128))]),ie(s).puzzles.length===0?(S(),z("div",sp,[...R[14]||(R[14]=[a("div",{class:"text-6xl mb-4"},"🧩",-1),a("h3",{class:"text-xl font-bold mb-2"},"No Puzzles Available",-1),a("p",{class:"text-base-content/70"}," Check back later for new puzzle collections! ",-1)])])):X("",!0)]))]),ie(r)?(S(),z("div",np,[a("div",op,[a("div",rp,[R[16]||(R[16]=a("h3",{class:"font-bold text-lg"},"Submit Solution",-1)),a("button",{onClick:R[1]||(R[1]=(...te)=>ie(c)&&ie(c)(...te)),class:"btn btn-sm btn-circle btn-ghost"},[...R[15]||(R[15]=[a("i",{class:"mdi mdi-close"},null,-1)])])]),Le(Rf,{puzzles:ie(s).puzzles,"find-puzzle-by-name":g},null,8,["puzzles"])]),a("div",{class:"modal-backdrop",onClick:R[2]||(R[2]=(...te)=>ie(c)&&ie(c)(...te))})])):X("",!0)]))}}),lp=vc(),Bi="#app",ap=document.querySelector(Bi),Hi=pc(ip,{...ap?.dataset});Hi.use(lp);Hi.mount(Bi); diff --git a/polylan_submitter/static_source/vite/assets/style-D1Ozo1PL.js b/polylan_submitter/static_source/vite/assets/style-D1Ozo1PL.js new file mode 100644 index 0000000..effa873 --- /dev/null +++ b/polylan_submitter/static_source/vite/assets/style-D1Ozo1PL.js @@ -0,0 +1,17 @@ +/** +* @vue/shared v3.5.22 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Fs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const V={},Qe=[],xe=()=>{},jn=()=>!1,es=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ds=e=>e.startsWith("onUpdate:"),Z=Object.assign,js=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ki=Object.prototype.hasOwnProperty,H=(e,t)=>ki.call(e,t),O=Array.isArray,et=e=>Ot(e)==="[object Map]",rt=e=>Ot(e)==="[object Set]",nn=e=>Ot(e)==="[object Date]",R=e=>typeof e=="function",G=e=>typeof e=="string",Se=e=>typeof e=="symbol",$=e=>e!==null&&typeof e=="object",Hn=e=>($(e)||R(e))&&R(e.then)&&R(e.catch),Nn=Object.prototype.toString,Ot=e=>Nn.call(e),Xi=e=>Ot(e).slice(8,-1),Vn=e=>Ot(e)==="[object Object]",Hs=e=>G(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pt=Fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ts=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Zi=/-\w/g,$e=ts(e=>e.replace(Zi,t=>t.slice(1).toUpperCase())),Qi=/\B([A-Z])/g,ke=ts(e=>e.replace(Qi,"-$1").toLowerCase()),$n=ts(e=>e.charAt(0).toUpperCase()+e.slice(1)),hs=ts(e=>e?`on${$n(e)}`:""),Ve=(e,t)=>!Object.is(e,t),$t=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Wt=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let rn;const ss=()=>rn||(rn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ns(e){if(O(e)){const t={};for(let s=0;s{if(s){const n=s.split(tr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Vs(e){let t="";if(G(e))t=e;else if(O(e))for(let s=0;sAt(s,t))}const Un=e=>!!(e&&e.__v_isRef===!0),lr=e=>G(e)?e:e==null?"":O(e)||$(e)&&(e.toString===Nn||!R(e.toString))?Un(e)?lr(e.value):JSON.stringify(e,Bn,2):String(e),Bn=(e,t)=>Un(t)?Bn(e,t.value):et(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[ps(n,r)+" =>"]=i,s),{})}:rt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>ps(s))}:Se(t)?ps(t):$(t)&&!O(t)&&!Vn(t)?String(t):t,ps=(e,t="")=>{var s;return Se(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +* @vue/reactivity v3.5.22 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let k;class Wn{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=k,!t&&k&&(this.index=(k.scopes||(k.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t0&&--this._on===0&&(k=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s0)return;if(_t){let t=_t;for(_t=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;gt;){let t=gt;for(gt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Yn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function zn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Us(n),cr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function ws(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(kn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function kn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===vt)||(e.globalVersion=vt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ws(e))))return;e.flags|=2;const t=e.dep,s=U,n=ae;U=e,ae=!0;try{Yn(e);const i=e.fn(e._value);(t.version===0||Ve(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{U=s,ae=n,zn(e),e.flags&=-3}}function Us(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Us(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function cr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let ae=!0;const Xn=[];function Re(){Xn.push(ae),ae=!1}function Pe(){const e=Xn.pop();ae=e===void 0?!0:e}function on(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=U;U=void 0;try{t()}finally{U=s}}}let vt=0;class ur{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Bs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!U||!ae||U===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==U)s=this.activeLink=new ur(U,this),U.deps?(s.prevDep=U.depsTail,U.depsTail.nextDep=s,U.depsTail=s):U.deps=U.depsTail=s,Zn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=U.depsTail,s.nextDep=void 0,U.depsTail.nextDep=s,U.depsTail=s,U.deps===s&&(U.deps=n)}return s}trigger(t){this.version++,vt++,this.notify(t)}notify(t){Ls();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ks()}}}function Zn(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Zn(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const qt=new WeakMap,Ye=Symbol(""),Cs=Symbol(""),St=Symbol("");function X(e,t,s){if(ae&&U){let n=qt.get(e);n||qt.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Bs),i.map=n,i.key=s),i.track()}}function Oe(e,t,s,n,i,r){const o=qt.get(e);if(!o){vt++;return}const l=c=>{c&&c.trigger()};if(Ls(),t==="clear")o.forEach(l);else{const c=O(e),h=c&&Hs(s);if(c&&s==="length"){const a=Number(n);o.forEach((p,w)=>{(w==="length"||w===St||!Se(w)&&w>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),h&&l(o.get(St)),t){case"add":c?h&&l(o.get("length")):(l(o.get(Ye)),et(e)&&l(o.get(Cs)));break;case"delete":c||(l(o.get(Ye)),et(e)&&l(o.get(Cs)));break;case"set":et(e)&&l(o.get(Ye));break}}Ks()}function ar(e,t){const s=qt.get(e);return s&&s.get(t)}function Xe(e){const t=j(e);return t===e?t:(X(t,"iterate",St),ue(e)?t:t.map(z))}function ns(e){return X(e=j(e),"iterate",St),e}const dr={__proto__:null,[Symbol.iterator](){return _s(this,Symbol.iterator,z)},concat(...e){return Xe(this).concat(...e.map(t=>O(t)?Xe(t):t))},entries(){return _s(this,"entries",e=>(e[1]=z(e[1]),e))},every(e,t){return Ce(this,"every",e,t,void 0,arguments)},filter(e,t){return Ce(this,"filter",e,t,s=>s.map(z),arguments)},find(e,t){return Ce(this,"find",e,t,z,arguments)},findIndex(e,t){return Ce(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ce(this,"findLast",e,t,z,arguments)},findLastIndex(e,t){return Ce(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ce(this,"forEach",e,t,void 0,arguments)},includes(...e){return ms(this,"includes",e)},indexOf(...e){return ms(this,"indexOf",e)},join(e){return Xe(this).join(e)},lastIndexOf(...e){return ms(this,"lastIndexOf",e)},map(e,t){return Ce(this,"map",e,t,void 0,arguments)},pop(){return ut(this,"pop")},push(...e){return ut(this,"push",e)},reduce(e,...t){return ln(this,"reduce",e,t)},reduceRight(e,...t){return ln(this,"reduceRight",e,t)},shift(){return ut(this,"shift")},some(e,t){return Ce(this,"some",e,t,void 0,arguments)},splice(...e){return ut(this,"splice",e)},toReversed(){return Xe(this).toReversed()},toSorted(e){return Xe(this).toSorted(e)},toSpliced(...e){return Xe(this).toSpliced(...e)},unshift(...e){return ut(this,"unshift",e)},values(){return _s(this,"values",z)}};function _s(e,t,s){const n=ns(e),i=n[t]();return n!==e&&!ue(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const hr=Array.prototype;function Ce(e,t,s,n,i,r){const o=ns(e),l=o!==e&&!ue(e),c=o[t];if(c!==hr[t]){const p=c.apply(e,r);return l?z(p):p}let h=s;o!==e&&(l?h=function(p,w){return s.call(this,z(p),w,e)}:s.length>2&&(h=function(p,w){return s.call(this,p,w,e)}));const a=c.call(o,h,n);return l&&i?i(a):a}function ln(e,t,s,n){const i=ns(e);let r=s;return i!==e&&(ue(e)?s.length>3&&(r=function(o,l,c){return s.call(this,o,l,c,e)}):r=function(o,l,c){return s.call(this,o,z(l),c,e)}),i[t](r,...n)}function ms(e,t,s){const n=j(e);X(n,"iterate",St);const i=n[t](...s);return(i===-1||i===!1)&&qs(s[0])?(s[0]=j(s[0]),n[t](...s)):i}function ut(e,t,s=[]){Re(),Ls();const n=j(e)[t].apply(e,s);return Ks(),Pe(),n}const pr=Fs("__proto__,__v_isRef,__isVue"),Qn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Se));function gr(e){Se(e)||(e=String(e));const t=j(this);return X(t,"has",e),t.hasOwnProperty(e)}class ei{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?oi:ri:r?ii:ni).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=O(t);if(!i){let c;if(o&&(c=dr[s]))return c;if(s==="hasOwnProperty")return gr}const l=Reflect.get(t,s,Y(t)?t:n);if((Se(s)?Qn.has(s):pr(s))||(i||X(t,"get",s),r))return l;if(Y(l)){const c=o&&Hs(s)?l:l.value;return i&&$(c)?Es(c):c}return $(l)?i?Es(l):Ws(l):l}}class ti extends ei{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];if(!this._isShallow){const c=Le(r);if(!ue(n)&&!Le(n)&&(r=j(r),n=j(n)),!O(t)&&Y(r)&&!Y(n))return c||(r.value=n),!0}const o=O(t)&&Hs(s)?Number(s)e,Ht=e=>Reflect.getPrototypeOf(e);function xr(e,t,s){return function(...n){const i=this.__v_raw,r=j(i),o=et(r),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,h=i[e](...n),a=s?Ts:t?Gt:z;return!t&&X(r,"iterate",c?Cs:Ye),{next(){const{value:p,done:w}=h.next();return w?{value:p,done:w}:{value:l?[a(p[0]),a(p[1])]:a(p),done:w}},[Symbol.iterator](){return this}}}}function Nt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function vr(e,t){const s={get(i){const r=this.__v_raw,o=j(r),l=j(i);e||(Ve(i,l)&&X(o,"get",i),X(o,"get",l));const{has:c}=Ht(o),h=t?Ts:e?Gt:z;if(c.call(o,i))return h(r.get(i));if(c.call(o,l))return h(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&X(j(i),"iterate",Ye),i.size},has(i){const r=this.__v_raw,o=j(r),l=j(i);return e||(Ve(i,l)&&X(o,"has",i),X(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,c=j(l),h=t?Ts:e?Gt:z;return!e&&X(c,"iterate",Ye),l.forEach((a,p)=>i.call(r,h(a),h(p),o))}};return Z(s,e?{add:Nt("add"),set:Nt("set"),delete:Nt("delete"),clear:Nt("clear")}:{add(i){!t&&!ue(i)&&!Le(i)&&(i=j(i));const r=j(this);return Ht(r).has.call(r,i)||(r.add(i),Oe(r,"add",i,i)),this},set(i,r){!t&&!ue(r)&&!Le(r)&&(r=j(r));const o=j(this),{has:l,get:c}=Ht(o);let h=l.call(o,i);h||(i=j(i),h=l.call(o,i));const a=c.call(o,i);return o.set(i,r),h?Ve(r,a)&&Oe(o,"set",i,r):Oe(o,"add",i,r),this},delete(i){const r=j(this),{has:o,get:l}=Ht(r);let c=o.call(r,i);c||(i=j(i),c=o.call(r,i)),l&&l.call(r,i);const h=r.delete(i);return c&&Oe(r,"delete",i,void 0),h},clear(){const i=j(this),r=i.size!==0,o=i.clear();return r&&Oe(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=xr(i,e,t)}),s}function is(e,t){const s=vr(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(H(s,i)&&i in n?s:n,i,r)}const Sr={get:is(!1,!1)},wr={get:is(!1,!0)},Cr={get:is(!0,!1)},Tr={get:is(!0,!0)},ni=new WeakMap,ii=new WeakMap,ri=new WeakMap,oi=new WeakMap;function Er(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Or(e){return e.__v_skip||!Object.isExtensible(e)?0:Er(Xi(e))}function Ws(e){return Le(e)?e:rs(e,!1,_r,Sr,ni)}function Ar(e){return rs(e,!1,br,wr,ii)}function Es(e){return rs(e,!0,mr,Cr,ri)}function Ol(e){return rs(e,!0,yr,Tr,oi)}function rs(e,t,s,n,i){if(!$(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=Or(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?n:s);return i.set(e,l),l}function tt(e){return Le(e)?tt(e.__v_raw):!!(e&&e.__v_isReactive)}function Le(e){return!!(e&&e.__v_isReadonly)}function ue(e){return!!(e&&e.__v_isShallow)}function qs(e){return e?!!e.__v_raw:!1}function j(e){const t=e&&e.__v_raw;return t?j(t):e}function Mr(e){return!H(e,"__v_skip")&&Object.isExtensible(e)&&Ln(e,"__v_skip",!0),e}const z=e=>$(e)?Ws(e):e,Gt=e=>$(e)?Es(e):e;function Y(e){return e?e.__v_isRef===!0:!1}function Rr(e){return li(e,!1)}function Al(e){return li(e,!0)}function li(e,t){return Y(e)?e:new Pr(e,t)}class Pr{constructor(t,s){this.dep=new Bs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:j(t),this._value=s?t:z(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ue(t)||Le(t);t=n?t:j(t),Ve(t,s)&&(this._rawValue=t,this._value=n?t:z(t),this.dep.trigger())}}function fi(e){return Y(e)?e.value:e}function Ml(e){return R(e)?e():fi(e)}const Ir={get:(e,t,s)=>t==="__v_raw"?e:fi(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return Y(i)&&!Y(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function ci(e){return tt(e)?e:new Proxy(e,Ir)}function Rl(e){const t=O(e)?new Array(e.length):{};for(const s in e)t[s]=ui(e,s);return t}class Fr{constructor(t,s,n){this._object=t,this._key=s,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ar(j(this._object),this._key)}}class Dr{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Pl(e,t,s){return Y(e)?e:R(e)?new Dr(e):$(e)&&arguments.length>1?ui(e,t,s):Rr(e)}function ui(e,t,s){const n=e[t];return Y(n)?n:new Fr(e,t,s)}class jr{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Bs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=vt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&U!==this)return Jn(this,!0),!0}get value(){const t=this.dep.track();return kn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Hr(e,t,s=!1){let n,i;return R(e)?n=e:(n=e.get,i=e.set),new jr(n,i,s)}const Vt={},Jt=new WeakMap;let Je;function Nr(e,t=!1,s=Je){if(s){let n=Jt.get(s);n||Jt.set(s,n=[]),n.push(e)}}function Vr(e,t,s=V){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:c}=s,h=A=>i?A:ue(A)||i===!1||i===0?Ae(A,1):Ae(A);let a,p,w,C,P=!1,F=!1;if(Y(e)?(p=()=>e.value,P=ue(e)):tt(e)?(p=()=>h(e),P=!0):O(e)?(F=!0,P=e.some(A=>tt(A)||ue(A)),p=()=>e.map(A=>{if(Y(A))return A.value;if(tt(A))return h(A);if(R(A))return c?c(A,2):A()})):R(e)?t?p=c?()=>c(e,2):e:p=()=>{if(w){Re();try{w()}finally{Pe()}}const A=Je;Je=a;try{return c?c(e,3,[C]):e(C)}finally{Je=A}}:p=xe,t&&i){const A=p,J=i===!0?1/0:i;p=()=>Ae(A(),J)}const Q=fr(),D=()=>{a.stop(),Q&&Q.active&&js(Q.effects,a)};if(r&&t){const A=t;t=(...J)=>{A(...J),D()}}let B=F?new Array(e.length).fill(Vt):Vt;const q=A=>{if(!(!(a.flags&1)||!a.dirty&&!A))if(t){const J=a.run();if(i||P||(F?J.some((Fe,de)=>Ve(Fe,B[de])):Ve(J,B))){w&&w();const Fe=Je;Je=a;try{const de=[J,B===Vt?void 0:F&&B[0]===Vt?[]:B,C];B=J,c?c(t,3,de):t(...de)}finally{Je=Fe}}}else a.run()};return l&&l(q),a=new qn(p),a.scheduler=o?()=>o(q,!1):q,C=A=>Nr(A,!1,a),w=a.onStop=()=>{const A=Jt.get(a);if(A){if(c)c(A,4);else for(const J of A)J();Jt.delete(a)}},t?n?q(!0):B=a.run():o?o(q.bind(null,!0),!0):a.run(),D.pause=a.pause.bind(a),D.resume=a.resume.bind(a),D.stop=D,D}function Ae(e,t=1/0,s){if(t<=0||!$(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,Y(e))Ae(e.value,t,s);else if(O(e))for(let n=0;n{Ae(n,t,s)});else if(Vn(e)){for(const n in e)Ae(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ae(e[n],t,s)}return e}/** +* @vue/runtime-core v3.5.22 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Mt(e,t,s,n){try{return n?e(...n):e()}catch(i){os(i,t,s)}}function we(e,t,s,n){if(R(e)){const i=Mt(e,t,s,n);return i&&Hn(i)&&i.catch(r=>{os(r,t,s)}),i}if(O(e)){const i=[];for(let r=0;r>>1,i=se[n],r=wt(i);r=wt(s)?se.push(e):se.splice(Lr(t),0,e),e.flags|=1,hi()}}function hi(){Yt||(Yt=ai.then(gi))}function Kr(e){O(e)?st.push(...e):je&&e.id===-1?je.splice(Ze+1,0,e):e.flags&1||(st.push(e),e.flags|=1),hi()}function fn(e,t,s=be+1){for(;swt(s)-wt(n));if(st.length=0,je){je.push(...t);return}for(je=t,Ze=0;Zee.id==null?e.flags&2?-1:1/0:e.id;function gi(e){try{for(be=0;be{n._d&&bn(-1);const r=zt(t);let o;try{o=e(...i)}finally{zt(r),n._d&&bn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Il(e,t){if(ce===null)return e;const s=us(ce),n=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,qr=Symbol("_leaveCb");function Js(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Js(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fl(e,t){return R(e)?Z({name:e.name},t,{setup:e}):e}function mi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const kt=new WeakMap;function mt(e,t,s,n,i=!1){if(O(e)){e.forEach((P,F)=>mt(P,t&&(O(t)?t[F]:t),s,n,i));return}if(bt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&mt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?us(n.component):n.el,o=i?null:r,{i:l,r:c}=e,h=t&&t.r,a=l.refs===V?l.refs={}:l.refs,p=l.setupState,w=j(p),C=p===V?jn:P=>H(w,P);if(h!=null&&h!==c){if(cn(t),G(h))a[h]=null,C(h)&&(p[h]=null);else if(Y(h)){h.value=null;const P=t;P.k&&(a[P.k]=null)}}if(R(c))Mt(c,l,12,[o,a]);else{const P=G(c),F=Y(c);if(P||F){const Q=()=>{if(e.f){const D=P?C(c)?p[c]:a[c]:c.value;if(i)O(D)&&js(D,r);else if(O(D))D.includes(r)||D.push(r);else if(P)a[c]=[r],C(c)&&(p[c]=a[c]);else{const B=[r];c.value=B,e.k&&(a[e.k]=B)}}else P?(a[c]=o,C(c)&&(p[c]=o)):F&&(c.value=o,e.k&&(a[e.k]=o))};if(o){const D=()=>{Q(),kt.delete(e)};D.id=-1,kt.set(e,D),le(D,s)}else cn(e),Q()}}}function cn(e){const t=kt.get(e);t&&(t.flags|=8,kt.delete(e))}ss().requestIdleCallback;ss().cancelIdleCallback;const bt=e=>!!e.type.__asyncLoader,bi=e=>e.type.__isKeepAlive;function Gr(e,t){yi(e,"a",t)}function Jr(e,t){yi(e,"da",t)}function yi(e,t,s=ne){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ls(t,n,s),s){let i=s.parent;for(;i&&i.parent;)bi(i.parent.vnode)&&Yr(n,t,s,i),i=i.parent}}function Yr(e,t,s,n){const i=ls(t,e,n,!0);xi(()=>{js(n[t],i)},s)}function ls(e,t,s=ne,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Re();const l=Rt(s),c=we(t,s,e,o);return l(),Pe(),c});return n?i.unshift(r):i.push(r),r}}const Ie=e=>(t,s=ne)=>{(!Tt||e==="sp")&&ls(e,(...n)=>t(...n),s)},zr=Ie("bm"),kr=Ie("m"),Xr=Ie("bu"),Zr=Ie("u"),Qr=Ie("bum"),xi=Ie("um"),eo=Ie("sp"),to=Ie("rtg"),so=Ie("rtc");function no(e,t=ne){ls("ec",e,t)}const io=Symbol.for("v-ndc");function Dl(e,t,s,n){let i;const r=s,o=O(e);if(o||G(e)){const l=o&&tt(e);let c=!1,h=!1;l&&(c=!ue(e),h=Le(e),e=ns(e)),i=new Array(e.length);for(let a=0,p=e.length;at(l,c,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,h=l.length;ce?Bi(e)?us(e):Os(e.parent):null,yt=Z(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=>Os(e.parent),$root:e=>Os(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Si(e),$forceUpdate:e=>e.f||(e.f=()=>{Gs(e.update)}),$nextTick:e=>e.n||(e.n=di.bind(e.proxy)),$watch:e=>Oo.bind(e)}),bs=(e,t)=>e!==V&&!e.__isScriptSetup&&H(e,t),ro={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:c}=e;let h;if(t[0]!=="$"){const C=o[t];if(C!==void 0)switch(C){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(bs(n,t))return o[t]=1,n[t];if(i!==V&&H(i,t))return o[t]=2,i[t];if((h=e.propsOptions[0])&&H(h,t))return o[t]=3,r[t];if(s!==V&&H(s,t))return o[t]=4,s[t];As&&(o[t]=0)}}const a=yt[t];let p,w;if(a)return t==="$attrs"&&X(e.attrs,"get",""),a(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(s!==V&&H(s,t))return o[t]=4,s[t];if(w=c.config.globalProperties,H(w,t))return w[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return bs(i,t)?(i[t]=s,!0):n!==V&&H(n,t)?(n[t]=s,!0):H(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,propsOptions:r,type:o}},l){let c,h;return!!(s[l]||e!==V&&l[0]!=="$"&&H(e,l)||bs(t,l)||(c=r[0])&&H(c,l)||H(n,l)||H(yt,l)||H(i.config.globalProperties,l)||(h=o.__cssModules)&&h[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:H(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function un(e){return O(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let As=!0;function oo(e){const t=Si(e),s=e.proxy,n=e.ctx;As=!1,t.beforeCreate&&an(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:c,inject:h,created:a,beforeMount:p,mounted:w,beforeUpdate:C,updated:P,activated:F,deactivated:Q,beforeDestroy:D,beforeUnmount:B,destroyed:q,unmounted:A,render:J,renderTracked:Fe,renderTriggered:de,errorCaptured:De,serverPrefetch:Pt,expose:Ue,inheritAttrs:ot,components:It,directives:Ft,filters:as}=t;if(h&&lo(h,n,null),o)for(const W in o){const L=o[W];R(L)&&(n[W]=L.bind(s))}if(i){const W=i.call(s,s);$(W)&&(e.data=Ws(W))}if(As=!0,r)for(const W in r){const L=r[W],Be=R(L)?L.bind(s,s):R(L.get)?L.get.bind(s,s):xe,Dt=!R(L)&&R(L.set)?L.set.bind(s):xe,We=Xo({get:Be,set:Dt});Object.defineProperty(n,W,{enumerable:!0,configurable:!0,get:()=>We.value,set:he=>We.value=he})}if(l)for(const W in l)vi(l[W],n,s,W);if(c){const W=R(c)?c.call(s):c;Reflect.ownKeys(W).forEach(L=>{po(L,W[L])})}a&&an(a,e,"c");function ee(W,L){O(L)?L.forEach(Be=>W(Be.bind(s))):L&&W(L.bind(s))}if(ee(zr,p),ee(kr,w),ee(Xr,C),ee(Zr,P),ee(Gr,F),ee(Jr,Q),ee(no,De),ee(so,Fe),ee(to,de),ee(Qr,B),ee(xi,A),ee(eo,Pt),O(Ue))if(Ue.length){const W=e.exposed||(e.exposed={});Ue.forEach(L=>{Object.defineProperty(W,L,{get:()=>s[L],set:Be=>s[L]=Be,enumerable:!0})})}else e.exposed||(e.exposed={});J&&e.render===xe&&(e.render=J),ot!=null&&(e.inheritAttrs=ot),It&&(e.components=It),Ft&&(e.directives=Ft),Pt&&mi(e)}function lo(e,t,s=xe){O(e)&&(e=Ms(e));for(const n in e){const i=e[n];let r;$(i)?"default"in i?r=Lt(i.from||n,i.default,!0):r=Lt(i.from||n):r=Lt(i),Y(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function an(e,t,s){we(O(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function vi(e,t,s,n){let i=n.includes(".")?ji(s,n):()=>s[n];if(G(e)){const r=t[e];R(r)&&xs(i,r)}else if(R(e))xs(i,e.bind(s));else if($(e))if(O(e))e.forEach(r=>vi(r,t,s,n));else{const r=R(e.handler)?e.handler.bind(s):t[e.handler];R(r)&&xs(i,r,e)}}function Si(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let c;return l?c=l:!i.length&&!s&&!n?c=t:(c={},i.length&&i.forEach(h=>Xt(c,h,o,!0)),Xt(c,t,o)),$(t)&&r.set(t,c),c}function Xt(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Xt(e,r,s,!0),i&&i.forEach(o=>Xt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=fo[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const fo={data:dn,props:hn,emits:hn,methods:ht,computed:ht,beforeCreate:te,created:te,beforeMount:te,mounted:te,beforeUpdate:te,updated:te,beforeDestroy:te,beforeUnmount:te,destroyed:te,unmounted:te,activated:te,deactivated:te,errorCaptured:te,serverPrefetch:te,components:ht,directives:ht,watch:uo,provide:dn,inject:co};function dn(e,t){return t?e?function(){return Z(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function co(e,t){return ht(Ms(e),Ms(t))}function Ms(e){if(O(e)){const t={};for(let s=0;s1)return s&&R(t)?t.call(n&&n.proxy):t}}function jl(){return!!(Ui()||ze)}const Ci={},Ti=()=>Object.create(Ci),Ei=e=>Object.getPrototypeOf(e)===Ci;function go(e,t,s,n=!1){const i={},r=Ti();e.propsDefaults=Object.create(null),Oi(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:Ar(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function _o(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=j(i),[c]=e.propsOptions;let h=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[w,C]=Ai(p,t,!0);Z(o,w),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!c)return $(e)&&n.set(e,Qe),Qe;if(O(r))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",zs=e=>O(e)?e.map(ye):[ye(e)],bo=(e,t,s)=>{if(t._n)return t;const n=Ur((...i)=>zs(t(...i)),s);return n._c=!1,n},Mi=(e,t,s)=>{const n=e._ctx;for(const i in e){if(Ys(i))continue;const r=e[i];if(R(r))t[i]=bo(i,r,n);else if(r!=null){const o=zs(r);t[i]=()=>o}}},Ri=(e,t)=>{const s=zs(t);e.slots.default=()=>s},Pi=(e,t,s)=>{for(const n in t)(s||!Ys(n))&&(e[n]=t[n])},yo=(e,t,s)=>{const n=e.slots=Ti();if(e.vnode.shapeFlag&32){const i=t._;i?(Pi(n,t,s),s&&Ln(n,"_",i,!0)):Mi(t,n)}else t&&Ri(e,t)},xo=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=V;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Pi(i,t,s):(r=!t.$stable,Mi(t,i)),o=t}else t&&(Ri(e,t),o={default:1});if(r)for(const l in i)!Ys(l)&&o[l]==null&&delete i[l]},le=jo;function vo(e){return So(e)}function So(e,t){const s=ss();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:c,setText:h,setElementText:a,parentNode:p,nextSibling:w,setScopeId:C=xe,insertStaticContent:P}=e,F=(f,u,d,m=null,g=null,_=null,v=void 0,x=null,y=!!u.dynamicChildren)=>{if(f===u)return;f&&!at(f,u)&&(m=jt(f),he(f,g,_,!0),f=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:b,ref:E,shapeFlag:S}=u;switch(b){case cs:Q(f,u,d,m);break;case Ke:D(f,u,d,m);break;case Kt:f==null&&B(u,d,m,v);break;case Ee:It(f,u,d,m,g,_,v,x,y);break;default:S&1?J(f,u,d,m,g,_,v,x,y):S&6?Ft(f,u,d,m,g,_,v,x,y):(S&64||S&128)&&b.process(f,u,d,m,g,_,v,x,y,ft)}E!=null&&g?mt(E,f&&f.ref,_,u||f,!u):E==null&&f&&f.ref!=null&&mt(f.ref,null,_,f,!0)},Q=(f,u,d,m)=>{if(f==null)n(u.el=l(u.children),d,m);else{const g=u.el=f.el;u.children!==f.children&&h(g,u.children)}},D=(f,u,d,m)=>{f==null?n(u.el=c(u.children||""),d,m):u.el=f.el},B=(f,u,d,m)=>{[f.el,f.anchor]=P(f.children,u,d,m,f.el,f.anchor)},q=({el:f,anchor:u},d,m)=>{let g;for(;f&&f!==u;)g=w(f),n(f,d,m),f=g;n(u,d,m)},A=({el:f,anchor:u})=>{let d;for(;f&&f!==u;)d=w(f),i(f),f=d;i(u)},J=(f,u,d,m,g,_,v,x,y)=>{u.type==="svg"?v="svg":u.type==="math"&&(v="mathml"),f==null?Fe(u,d,m,g,_,v,x,y):Pt(f,u,g,_,v,x,y)},Fe=(f,u,d,m,g,_,v,x)=>{let y,b;const{props:E,shapeFlag:S,transition:T,dirs:M}=f;if(y=f.el=o(f.type,_,E&&E.is,E),S&8?a(y,f.children):S&16&&De(f.children,y,null,m,g,ys(f,_),v,x),M&&qe(f,null,m,"created"),de(y,f,f.scopeId,v,m),E){for(const K in E)K!=="value"&&!pt(K)&&r(y,K,null,E[K],_,m);"value"in E&&r(y,"value",null,E.value,_),(b=E.onVnodeBeforeMount)&&me(b,m,f)}M&&qe(f,null,m,"beforeMount");const I=wo(g,T);I&&T.beforeEnter(y),n(y,u,d),((b=E&&E.onVnodeMounted)||I||M)&&le(()=>{b&&me(b,m,f),I&&T.enter(y),M&&qe(f,null,m,"mounted")},g)},de=(f,u,d,m,g)=>{if(d&&C(f,d),m)for(let _=0;_{for(let b=y;b{const x=u.el=f.el;let{patchFlag:y,dynamicChildren:b,dirs:E}=u;y|=f.patchFlag&16;const S=f.props||V,T=u.props||V;let M;if(d&&Ge(d,!1),(M=T.onVnodeBeforeUpdate)&&me(M,d,u,f),E&&qe(u,f,d,"beforeUpdate"),d&&Ge(d,!0),(S.innerHTML&&T.innerHTML==null||S.textContent&&T.textContent==null)&&a(x,""),b?Ue(f.dynamicChildren,b,x,d,m,ys(u,g),_):v||L(f,u,x,null,d,m,ys(u,g),_,!1),y>0){if(y&16)ot(x,S,T,d,g);else if(y&2&&S.class!==T.class&&r(x,"class",null,T.class,g),y&4&&r(x,"style",S.style,T.style,g),y&8){const I=u.dynamicProps;for(let K=0;K{M&&me(M,d,u,f),E&&qe(u,f,d,"updated")},m)},Ue=(f,u,d,m,g,_,v)=>{for(let x=0;x{if(u!==d){if(u!==V)for(const _ in u)!pt(_)&&!(_ in d)&&r(f,_,u[_],null,g,m);for(const _ in d){if(pt(_))continue;const v=d[_],x=u[_];v!==x&&_!=="value"&&r(f,_,x,v,g,m)}"value"in d&&r(f,"value",u.value,d.value,g)}},It=(f,u,d,m,g,_,v,x,y)=>{const b=u.el=f?f.el:l(""),E=u.anchor=f?f.anchor:l("");let{patchFlag:S,dynamicChildren:T,slotScopeIds:M}=u;M&&(x=x?x.concat(M):M),f==null?(n(b,d,m),n(E,d,m),De(u.children||[],d,E,g,_,v,x,y)):S>0&&S&64&&T&&f.dynamicChildren?(Ue(f.dynamicChildren,T,d,g,_,v,x),(u.key!=null||g&&u===g.subTree)&&Ii(f,u,!0)):L(f,u,d,E,g,_,v,x,y)},Ft=(f,u,d,m,g,_,v,x,y)=>{u.slotScopeIds=x,f==null?u.shapeFlag&512?g.ctx.activate(u,d,m,v,y):as(u,d,m,g,_,v,y):Xs(f,u,y)},as=(f,u,d,m,g,_,v)=>{const x=f.component=qo(f,m,g);if(bi(f)&&(x.ctx.renderer=ft),Go(x,!1,v),x.asyncDep){if(g&&g.registerDep(x,ee,v),!f.el){const y=x.subTree=ve(Ke);D(null,y,u,d),f.placeholder=y.el}}else ee(x,f,u,d,g,_,v)},Xs=(f,u,d)=>{const m=u.component=f.component;if(Fo(f,u,d))if(m.asyncDep&&!m.asyncResolved){W(m,u,d);return}else m.next=u,m.update();else u.el=f.el,m.vnode=u},ee=(f,u,d,m,g,_,v)=>{const x=()=>{if(f.isMounted){let{next:S,bu:T,u:M,parent:I,vnode:K}=f;{const ge=Fi(f);if(ge){S&&(S.el=K.el,W(f,S,v)),ge.asyncDep.then(()=>{f.isUnmounted||x()});return}}let N=S,ie;Ge(f,!1),S?(S.el=K.el,W(f,S,v)):S=K,T&&$t(T),(ie=S.props&&S.props.onVnodeBeforeUpdate)&&me(ie,I,S,K),Ge(f,!0);const re=_n(f),pe=f.subTree;f.subTree=re,F(pe,re,p(pe.el),jt(pe),f,g,_),S.el=re.el,N===null&&Do(f,re.el),M&&le(M,g),(ie=S.props&&S.props.onVnodeUpdated)&&le(()=>me(ie,I,S,K),g)}else{let S;const{el:T,props:M}=u,{bm:I,m:K,parent:N,root:ie,type:re}=f,pe=bt(u);Ge(f,!1),I&&$t(I),!pe&&(S=M&&M.onVnodeBeforeMount)&&me(S,N,u),Ge(f,!0);{ie.ce&&ie.ce._def.shadowRoot!==!1&&ie.ce._injectChildStyle(re);const ge=f.subTree=_n(f);F(null,ge,d,m,f,g,_),u.el=ge.el}if(K&&le(K,g),!pe&&(S=M&&M.onVnodeMounted)){const ge=u;le(()=>me(S,N,ge),g)}(u.shapeFlag&256||N&&bt(N.vnode)&&N.vnode.shapeFlag&256)&&f.a&&le(f.a,g),f.isMounted=!0,u=d=m=null}};f.scope.on();const y=f.effect=new qn(x);f.scope.off();const b=f.update=y.run.bind(y),E=f.job=y.runIfDirty.bind(y);E.i=f,E.id=f.uid,y.scheduler=()=>Gs(E),Ge(f,!0),b()},W=(f,u,d)=>{u.component=f;const m=f.vnode.props;f.vnode=u,f.next=null,_o(f,u.props,m,d),xo(f,u.children,d),Re(),fn(f),Pe()},L=(f,u,d,m,g,_,v,x,y=!1)=>{const b=f&&f.children,E=f?f.shapeFlag:0,S=u.children,{patchFlag:T,shapeFlag:M}=u;if(T>0){if(T&128){Dt(b,S,d,m,g,_,v,x,y);return}else if(T&256){Be(b,S,d,m,g,_,v,x,y);return}}M&8?(E&16&<(b,g,_),S!==b&&a(d,S)):E&16?M&16?Dt(b,S,d,m,g,_,v,x,y):lt(b,g,_,!0):(E&8&&a(d,""),M&16&&De(S,d,m,g,_,v,x,y))},Be=(f,u,d,m,g,_,v,x,y)=>{f=f||Qe,u=u||Qe;const b=f.length,E=u.length,S=Math.min(b,E);let T;for(T=0;TE?lt(f,g,_,!0,!1,S):De(u,d,m,g,_,v,x,y,S)},Dt=(f,u,d,m,g,_,v,x,y)=>{let b=0;const E=u.length;let S=f.length-1,T=E-1;for(;b<=S&&b<=T;){const M=f[b],I=u[b]=y?He(u[b]):ye(u[b]);if(at(M,I))F(M,I,d,null,g,_,v,x,y);else break;b++}for(;b<=S&&b<=T;){const M=f[S],I=u[T]=y?He(u[T]):ye(u[T]);if(at(M,I))F(M,I,d,null,g,_,v,x,y);else break;S--,T--}if(b>S){if(b<=T){const M=T+1,I=MT)for(;b<=S;)he(f[b],g,_,!0),b++;else{const M=b,I=b,K=new Map;for(b=I;b<=T;b++){const oe=u[b]=y?He(u[b]):ye(u[b]);oe.key!=null&&K.set(oe.key,b)}let N,ie=0;const re=T-I+1;let pe=!1,ge=0;const ct=new Array(re);for(b=0;b=re){he(oe,g,_,!0);continue}let _e;if(oe.key!=null)_e=K.get(oe.key);else for(N=I;N<=T;N++)if(ct[N-I]===0&&at(oe,u[N])){_e=N;break}_e===void 0?he(oe,g,_,!0):(ct[_e-I]=b+1,_e>=ge?ge=_e:pe=!0,F(oe,u[_e],d,null,g,_,v,x,y),ie++)}const en=pe?Co(ct):Qe;for(N=en.length-1,b=re-1;b>=0;b--){const oe=I+b,_e=u[oe],tn=u[oe+1],sn=oe+1{const{el:_,type:v,transition:x,children:y,shapeFlag:b}=f;if(b&6){We(f.component.subTree,u,d,m);return}if(b&128){f.suspense.move(u,d,m);return}if(b&64){v.move(f,u,d,ft);return}if(v===Ee){n(_,u,d);for(let S=0;Sx.enter(_),g);else{const{leave:S,delayLeave:T,afterLeave:M}=x,I=()=>{f.ctx.isUnmounted?i(_):n(_,u,d)},K=()=>{_._isLeaving&&_[qr](!0),S(_,()=>{I(),M&&M()})};T?T(_,I,K):K()}else n(_,u,d)},he=(f,u,d,m=!1,g=!1)=>{const{type:_,props:v,ref:x,children:y,dynamicChildren:b,shapeFlag:E,patchFlag:S,dirs:T,cacheIndex:M}=f;if(S===-2&&(g=!1),x!=null&&(Re(),mt(x,null,d,f,!0),Pe()),M!=null&&(u.renderCache[M]=void 0),E&256){u.ctx.deactivate(f);return}const I=E&1&&T,K=!bt(f);let N;if(K&&(N=v&&v.onVnodeBeforeUnmount)&&me(N,u,f),E&6)zi(f.component,d,m);else{if(E&128){f.suspense.unmount(d,m);return}I&&qe(f,null,u,"beforeUnmount"),E&64?f.type.remove(f,u,d,ft,m):b&&!b.hasOnce&&(_!==Ee||S>0&&S&64)?lt(b,u,d,!1,!0):(_===Ee&&S&384||!g&&E&16)&<(y,u,d),m&&Zs(f)}(K&&(N=v&&v.onVnodeUnmounted)||I)&&le(()=>{N&&me(N,u,f),I&&qe(f,null,u,"unmounted")},d)},Zs=f=>{const{type:u,el:d,anchor:m,transition:g}=f;if(u===Ee){Yi(d,m);return}if(u===Kt){A(f);return}const _=()=>{i(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(f.shapeFlag&1&&g&&!g.persisted){const{leave:v,delayLeave:x}=g,y=()=>v(d,_);x?x(f.el,_,y):y()}else _()},Yi=(f,u)=>{let d;for(;f!==u;)d=w(f),i(f),f=d;i(u)},zi=(f,u,d)=>{const{bum:m,scope:g,job:_,subTree:v,um:x,m:y,a:b}=f;gn(y),gn(b),m&&$t(m),g.stop(),_&&(_.flags|=8,he(v,f,u,d)),x&&le(x,u),le(()=>{f.isUnmounted=!0},u)},lt=(f,u,d,m=!1,g=!1,_=0)=>{for(let v=_;v{if(f.shapeFlag&6)return jt(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=w(f.anchor||f.el),d=u&&u[Br];return d?w(d):u};let ds=!1;const Qs=(f,u,d)=>{f==null?u._vnode&&he(u._vnode,null,null,!0):F(u._vnode||null,f,u,null,null,null,d),u._vnode=f,ds||(ds=!0,fn(),pi(),ds=!1)},ft={p:F,um:he,m:We,r:Zs,mt:as,mc:De,pc:L,pbc:Ue,n:jt,o:e};return{render:Qs,hydrate:void 0,createApp:ho(Qs)}}function ys({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Ge({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ii(e,t,s=!1){const n=e.children,i=t.children;if(O(n)&&O(i))for(let r=0;r>1,e[s[l]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function Fi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fi(t)}function gn(e){if(e)for(let t=0;tLt(To);function xs(e,t,s){return Di(e,t,s)}function Di(e,t,s=V){const{immediate:n,deep:i,flush:r,once:o}=s,l=Z({},s),c=t&&n||!t&&r!=="post";let h;if(Tt){if(r==="sync"){const C=Eo();h=C.__watcherHandles||(C.__watcherHandles=[])}else if(!c){const C=()=>{};return C.stop=xe,C.resume=xe,C.pause=xe,C}}const a=ne;l.call=(C,P,F)=>we(C,a,P,F);let p=!1;r==="post"?l.scheduler=C=>{le(C,a&&a.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(C,P)=>{P?C():Gs(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const w=Vr(e,t,l);return Tt&&(h?h.push(w):c&&w()),w}function Oo(e,t,s){const n=this.proxy,i=G(e)?e.includes(".")?ji(n,e):()=>n[e]:e.bind(n,n);let r;R(t)?r=t:(r=t.handler,s=t);const o=Rt(this),l=Di(i,r.bind(n),s);return o(),l}function ji(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;it==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${$e(t)}Modifiers`]||e[`${ke(t)}Modifiers`];function Mo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||V;let i=s;const r=t.startsWith("update:"),o=r&&Ao(n,t.slice(7));o&&(o.trim&&(i=s.map(a=>G(a)?a.trim():a)),o.number&&(i=s.map(Wt)));let l,c=n[l=hs(t)]||n[l=hs($e(t))];!c&&r&&(c=n[l=hs(ke(t))]),c&&we(c,e,6,i);const h=n[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,we(h,e,6,i)}}const Ro=new WeakMap;function Hi(e,t,s=!1){const n=s?Ro:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!R(e)){const c=h=>{const a=Hi(h,t,!0);a&&(l=!0,Z(o,a))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?($(e)&&n.set(e,null),null):(O(r)?r.forEach(c=>o[c]=null):Z(o,r),$(e)&&n.set(e,o),o)}function fs(e,t){return!e||!es(t)?!1:(t=t.slice(2).replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,ke(t))||H(e,t))}function _n(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:c,render:h,renderCache:a,props:p,data:w,setupState:C,ctx:P,inheritAttrs:F}=e,Q=zt(e);let D,B;try{if(s.shapeFlag&4){const A=i||n,J=A;D=ye(h.call(J,A,a,p,C,w,P)),B=l}else{const A=t;D=ye(A.length>1?A(p,{attrs:l,slots:o,emit:c}):A(p,null)),B=t.props?l:Po(l)}}catch(A){xt.length=0,os(A,e,1),D=ve(Ke)}let q=D;if(B&&F!==!1){const A=Object.keys(B),{shapeFlag:J}=q;A.length&&J&7&&(r&&A.some(Ds)&&(B=Io(B,r)),q=nt(q,B,!1,!0))}return s.dirs&&(q=nt(q,null,!1,!0),q.dirs=q.dirs?q.dirs.concat(s.dirs):s.dirs),s.transition&&Js(q,s.transition),D=q,zt(Q),D}const Po=e=>{let t;for(const s in e)(s==="class"||s==="style"||es(s))&&((t||(t={}))[s]=e[s]);return t},Io=(e,t)=>{const s={};for(const n in e)(!Ds(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Fo(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:c}=t,h=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?mn(n,o,h):!!o;if(c&8){const a=t.dynamicProps;for(let p=0;pe.__isSuspense;function jo(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):Kr(e)}const Ee=Symbol.for("v-fgt"),cs=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),Kt=Symbol.for("v-stc"),xt=[];let fe=null;function Ho(e=!1){xt.push(fe=e?null:[])}function No(){xt.pop(),fe=xt[xt.length-1]||null}let Ct=1;function bn(e,t=!1){Ct+=e,e<0&&fe&&t&&(fe.hasOnce=!0)}function Vi(e){return e.dynamicChildren=Ct>0?fe||Qe:null,No(),Ct>0&&fe&&fe.push(e),e}function Hl(e,t,s,n,i,r){return Vi(Ki(e,t,s,n,i,r,!0))}function Vo(e,t,s,n,i){return Vi(ve(e,t,s,n,i,!0))}function $i(e){return e?e.__v_isVNode===!0:!1}function at(e,t){return e.type===t.type&&e.key===t.key}const Li=({key:e})=>e??null,Ut=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?G(e)||Y(e)||R(e)?{i:ce,r:e,k:t,f:!!s}:e:null);function Ki(e,t=null,s=null,n=0,i=null,r=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Li(t),ref:t&&Ut(t),scopeId:_i,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ce};return l?(ks(c,s),r&128&&e.normalize(c)):s&&(c.shapeFlag|=G(s)?8:16),Ct>0&&!o&&fe&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&fe.push(c),c}const ve=$o;function $o(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===io)&&(e=Ke),$i(e)){const l=nt(e,t,!0);return s&&ks(l,s),Ct>0&&!r&&fe&&(l.shapeFlag&6?fe[fe.indexOf(e)]=l:fe.push(l)),l.patchFlag=-2,l}if(ko(e)&&(e=e.__vccOpts),t){t=Lo(t);let{class:l,style:c}=t;l&&!G(l)&&(t.class=Vs(l)),$(c)&&(qs(c)&&!O(c)&&(c=Z({},c)),t.style=Ns(c))}const o=G(e)?1:Ni(e)?128:Wr(e)?64:$(e)?4:R(e)?2:0;return Ki(e,t,s,n,i,o,r,!0)}function Lo(e){return e?qs(e)||Ei(e)?Z({},e):e:null}function nt(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:c}=e,h=t?Uo(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Li(h),ref:t&&t.ref?s&&r?O(r)?r.concat(Ut(t)):[r,Ut(t)]:Ut(t):r,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!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&Js(a,c.clone(a)),a}function Ko(e=" ",t=0){return ve(cs,null,e,t)}function Nl(e,t){const s=ve(Kt,null,e);return s.staticCount=t,s}function Vl(e="",t=!1){return t?(Ho(),Vo(Ke,null,e)):ve(Ke,null,e)}function ye(e){return e==null||typeof e=="boolean"?ve(Ke):O(e)?ve(Ee,null,e.slice()):$i(e)?He(e):ve(cs,null,String(e))}function He(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function ks(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(O(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),ks(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ei(t)?t._ctx=ce:i===3&&ce&&(ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:ce},s=32):(t=String(t),n&64?(s=16,t=[Ko(t)]):s=8);e.children=t,e.shapeFlag|=s}function Uo(...e){const t={};for(let s=0;sne||ce;let Zt,Ps;{const e=ss(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Zt=t("__VUE_INSTANCE_SETTERS__",s=>ne=s),Ps=t("__VUE_SSR_SETTERS__",s=>Tt=s)}const Rt=e=>{const t=ne;return Zt(e),e.scope.on(),()=>{e.scope.off(),Zt(t)}},yn=()=>{ne&&ne.scope.off(),Zt(null)};function Bi(e){return e.vnode.shapeFlag&4}let Tt=!1;function Go(e,t=!1,s=!1){t&&Ps(t);const{props:n,children:i}=e.vnode,r=Bi(e);go(e,n,r,t),yo(e,i,s||t);const o=r?Jo(e,t):void 0;return t&&Ps(!1),o}function Jo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ro);const{setup:n}=s;if(n){Re();const i=e.setupContext=n.length>1?zo(e):null,r=Rt(e),o=Mt(n,e,0,[e.props,i]),l=Hn(o);if(Pe(),r(),(l||e.sp)&&!bt(e)&&mi(e),l){if(o.then(yn,yn),t)return o.then(c=>{xn(e,c)}).catch(c=>{os(c,e,0)});e.asyncDep=o}else xn(e,o)}else Wi(e)}function xn(e,t,s){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$(t)&&(e.setupState=ci(t)),Wi(e)}function Wi(e,t,s){const n=e.type;e.render||(e.render=n.render||xe);{const i=Rt(e);Re();try{oo(e)}finally{Pe(),i()}}}const Yo={get(e,t){return X(e,"get",""),e[t]}};function zo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Yo),slots:e.slots,emit:e.emit,expose:t}}function us(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ci(Mr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in yt)return yt[s](e)},has(t,s){return s in t||s in yt}})):e.proxy}function ko(e){return R(e)&&"__vccOpts"in e}const Xo=(e,t)=>Hr(e,t,Tt),Zo="3.5.22";/** +* @vue/runtime-dom v3.5.22 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Is;const vn=typeof window<"u"&&window.trustedTypes;if(vn)try{Is=vn.createPolicy("vue",{createHTML:e=>e})}catch{}const qi=Is?e=>Is.createHTML(e):e=>e,Qo="http://www.w3.org/2000/svg",el="http://www.w3.org/1998/Math/MathML",Te=typeof document<"u"?document:null,Sn=Te&&Te.createElement("template"),tl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Te.createElementNS(Qo,e):t==="mathml"?Te.createElementNS(el,e):s?Te.createElement(e,{is:s}):Te.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Te.createTextNode(e),createComment:e=>Te.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Te.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Sn.innerHTML=qi(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const l=Sn.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},sl=Symbol("_vtc");function nl(e,t,s){const n=e[sl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Qt=Symbol("_vod"),Gi=Symbol("_vsh"),$l={name:"show",beforeMount(e,{value:t},{transition:s}){e[Qt]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):dt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),dt(e,!0),n.enter(e)):n.leave(e,()=>{dt(e,!1)}):dt(e,t))},beforeUnmount(e,{value:t}){dt(e,t)}};function dt(e,t){e.style.display=t?e[Qt]:"none",e[Gi]=!t}const il=Symbol(""),rl=/(?:^|;)\s*display\s*:/;function ol(e,t,s){const n=e.style,i=G(s);let r=!1;if(s&&!i){if(t)if(G(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Bt(n,l,"")}else for(const o in t)s[o]==null&&Bt(n,o,"");for(const o in s)o==="display"&&(r=!0),Bt(n,o,s[o])}else if(i){if(t!==s){const o=n[il];o&&(s+=";"+o),n.cssText=s,r=rl.test(s)}}else t&&e.removeAttribute("style");Qt in e&&(e[Qt]=r?n.display:"",e[Gi]&&(n.display="none"))}const wn=/\s*!important$/;function Bt(e,t,s){if(O(s))s.forEach(n=>Bt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ll(e,t);wn.test(s)?e.setProperty(ke(n),s.replace(wn,""),"important"):e[n]=s}}const Cn=["Webkit","Moz","ms"],vs={};function ll(e,t){const s=vs[t];if(s)return s;let n=$e(t);if(n!=="filter"&&n in e)return vs[t]=n;n=$n(n);for(let i=0;iSs||(al.then(()=>Ss=0),Ss=Date.now());function hl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;we(pl(n,s.value),t,5,[n])};return s.value=e,s.attached=dl(),s}function pl(e,t){if(O(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Rn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gl=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?nl(e,n,o):t==="style"?ol(e,s,n):es(t)?Ds(t)||cl(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_l(e,t,n,o))?(On(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&En(e,t,n,o,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!G(n))?On(e,$e(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),En(e,t,n,o))};function _l(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Rn(t)&&R(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Rn(t)&&G(s)?!1:t in e}const it=e=>{const t=e.props["onUpdate:modelValue"]||!1;return O(t)?s=>$t(t,s):t};function ml(e){e.target.composing=!0}function Pn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Me=Symbol("_assign"),Ll={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[Me]=it(i);const r=n||i.props&&i.props.type==="number";Ne(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;s&&(l=l.trim()),r&&(l=Wt(l)),e[Me](l)}),s&&Ne(e,"change",()=>{e.value=e.value.trim()}),t||(Ne(e,"compositionstart",ml),Ne(e,"compositionend",Pn),Ne(e,"change",Pn))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(e[Me]=it(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Wt(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===c)||(e.value=c))}},Kl={deep:!0,created(e,t,s){e[Me]=it(s),Ne(e,"change",()=>{const n=e._modelValue,i=Et(e),r=e.checked,o=e[Me];if(O(n)){const l=$s(n,i),c=l!==-1;if(r&&!c)o(n.concat(i));else if(!r&&c){const h=[...n];h.splice(l,1),o(h)}}else if(rt(n)){const l=new Set(n);r?l.add(i):l.delete(i),o(l)}else o(Ji(e,r))})},mounted:In,beforeUpdate(e,t,s){e[Me]=it(s),In(e,t,s)}};function In(e,{value:t,oldValue:s},n){e._modelValue=t;let i;if(O(t))i=$s(t,n.props.value)>-1;else if(rt(t))i=t.has(n.props.value);else{if(t===s)return;i=At(t,Ji(e,!0))}e.checked!==i&&(e.checked=i)}const Ul={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const i=rt(t);Ne(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>s?Wt(Et(o)):Et(o));e[Me](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,di(()=>{e._assigning=!1})}),e[Me]=it(n)},mounted(e,{value:t}){Fn(e,t)},beforeUpdate(e,t,s){e[Me]=it(s)},updated(e,{value:t}){e._assigning||Fn(e,t)}};function Fn(e,t){const s=e.multiple,n=O(t);if(!(s&&!n&&!rt(t))){for(let i=0,r=e.options.length;iString(h)===String(l)):o.selected=$s(t,l)>-1}else o.selected=t.has(l);else if(At(Et(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Et(e){return"_value"in e?e._value:e.value}function Ji(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const bl=["ctrl","shift","alt","meta"],yl={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)=>bl.some(s=>e[`${s}Key`]&&!t.includes(s))},Bl=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((i,...r)=>{for(let o=0;o{const t=vl().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=wl(n);if(!i)return;const r=t._component;!R(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Sl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function Sl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wl(e){return G(e)?document.querySelector(e):e}export{Ko as A,Nl as B,Il as C,Ul as D,ve as E,Ee as F,Ll as G,Kl as H,kr as I,$l as J,Al as K,Ol as L,Ml as M,Vo as N,Wl as O,tt as a,Pl as b,Xo as c,Lt as d,Tl as e,Ws as f,fr as g,jl as h,Y as i,Rl as j,Fl as k,Hl as l,Mr as m,di as n,El as o,Ho as p,Vs as q,Rr as r,Ki as s,j as t,Vl as u,lr as v,xs as w,Dl as x,fi as y,Bl as z}; diff --git a/polylan_submitter/static_source/vite/assets/opus_magnum-IIn-gCA5.css b/polylan_submitter/static_source/vite/assets/style-IIn-gCA5.css similarity index 100% rename from polylan_submitter/static_source/vite/assets/opus_magnum-IIn-gCA5.css rename to polylan_submitter/static_source/vite/assets/style-IIn-gCA5.css diff --git a/polylan_submitter/static_source/vite/manifest.json b/polylan_submitter/static_source/vite/manifest.json index 559ccc0..a3ae6d2 100644 --- a/polylan_submitter/static_source/vite/manifest.json +++ b/polylan_submitter/static_source/vite/manifest.json @@ -1,4 +1,21 @@ { + "_style-D1Ozo1PL.js": { + "file": "assets/style-D1Ozo1PL.js", + "name": "style", + "css": [ + "assets/style-IIn-gCA5.css" + ], + "assets": [ + "assets/materialdesignicons-webfont-CSr8KVlo.eot", + "assets/materialdesignicons-webfont-Dp5v-WZN.woff2", + "assets/materialdesignicons-webfont-PXm3-2wK.woff", + "assets/materialdesignicons-webfont-B7mPwVP_.ttf" + ] + }, + "_style-IIn-gCA5.css": { + "file": "assets/style-IIn-gCA5.css", + "src": "_style-IIn-gCA5.css" + }, "node_modules/.pnpm/@mdi+font@7.4.47/node_modules/@mdi/font/fonts/materialdesignicons-webfont.eot": { "file": "assets/materialdesignicons-webfont-CSr8KVlo.eot", "src": "node_modules/.pnpm/@mdi+font@7.4.47/node_modules/@mdi/font/fonts/materialdesignicons-webfont.eot" @@ -15,19 +32,31 @@ "file": "assets/materialdesignicons-webfont-Dp5v-WZN.woff2", "src": "node_modules/.pnpm/@mdi+font@7.4.47/node_modules/@mdi/font/fonts/materialdesignicons-webfont.woff2" }, + "src/home.ts": { + "file": "assets/home-BOcY-OpH.js", + "name": "home", + "src": "src/home.ts", + "isEntry": true, + "imports": [ + "_style-D1Ozo1PL.js" + ] + }, + "src/noita.ts": { + "file": "assets/noita-BhIRpzeI.js", + "name": "noita", + "src": "src/noita.ts", + "isEntry": true, + "imports": [ + "_style-D1Ozo1PL.js" + ] + }, "src/opus-magnum.ts": { - "file": "assets/opus_magnum-CDmJjerY.js", + "file": "assets/opus_magnum-Be8w3rHR.js", "name": "opus_magnum", "src": "src/opus-magnum.ts", "isEntry": true, - "css": [ - "assets/opus_magnum-IIn-gCA5.css" - ], - "assets": [ - "assets/materialdesignicons-webfont-CSr8KVlo.eot", - "assets/materialdesignicons-webfont-Dp5v-WZN.woff2", - "assets/materialdesignicons-webfont-PXm3-2wK.woff", - "assets/materialdesignicons-webfont-B7mPwVP_.ttf" + "imports": [ + "_style-D1Ozo1PL.js" ] } } \ No newline at end of file diff --git a/polylan_submitter/tsconfig.node.tsbuildinfo b/polylan_submitter/tsconfig.node.tsbuildinfo index 33b03bc..46a2b80 100644 --- a/polylan_submitter/tsconfig.node.tsbuildinfo +++ b/polylan_submitter/tsconfig.node.tsbuildinfo @@ -1 +1 @@ -{"fileNames":["./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/compatibility/iterators.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/globals.typedarray.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/buffer.buffer.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/globals.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/abortcontroller.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/crypto.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/domexception.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/events.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/utility.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/header.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/readable.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/fetch.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/formdata.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/connector.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/client-stats.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/client.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/errors.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/dispatcher.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/global-dispatcher.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/global-origin.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/pool-stats.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/pool.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/handlers.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/balanced-pool.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/h2c-client.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-interceptor.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-call-history.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-client.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-pool.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/snapshot-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-errors.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/proxy-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/env-http-proxy-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/retry-handler.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/retry-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/api.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cache-interceptor.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/interceptors.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/util.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cookies.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/patch.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/websocket.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/eventsource.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/diagnostics-channel.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/content-type.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cache.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/index.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/fetch.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/navigator.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/storage.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/streams.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/assert.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/assert/strict.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/async_hooks.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/buffer.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/child_process.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/cluster.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/console.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/constants.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/crypto.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/dgram.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/dns.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/dns/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/domain.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/events.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/fs.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/fs/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/http.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/http2.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/https.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/inspector.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/inspector.generated.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/module.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/net.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/os.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/path.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/perf_hooks.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/process.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/punycode.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/querystring.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/readline.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/readline/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/repl.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/sea.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/sqlite.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/stream.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/stream/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/stream/consumers.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/stream/web.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/string_decoder.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/test.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/timers.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/timers/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/tls.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/trace_events.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/tty.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/url.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/util.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/v8.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/vm.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/wasi.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/worker_threads.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/zlib.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/index.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/hmrPayload.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/customEvent.d.ts","./node_modules/.pnpm/@types+estree@1.0.8/node_modules/@types/estree/index.d.ts","./node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/rollup.d.ts","./node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/parseAst.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/hot.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/dist/node/module-runner.d.ts","./node_modules/.pnpm/esbuild@0.25.11/node_modules/esbuild/lib/main.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/internal/terserOptions.d.ts","./node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/previous-map.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/input.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/css-syntax-error.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/declaration.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/root.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/warning.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/lazy-result.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/no-work-result.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/processor.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/result.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/document.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/rule.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/node.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/comment.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/container.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/at-rule.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/list.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/postcss.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/postcss.d.mts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts","./node_modules/.pnpm/lightningcss@1.30.2/node_modules/lightningcss/node/ast.d.ts","./node_modules/.pnpm/lightningcss@1.30.2/node_modules/lightningcss/node/targets.d.ts","./node_modules/.pnpm/lightningcss@1.30.2/node_modules/lightningcss/node/index.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/internal/lightningcssOptions.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/importGlob.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/metadata.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/dist/node/index.d.ts","./node_modules/.pnpm/@babel+types@7.28.5/node_modules/@babel/types/lib/index.d.ts","./node_modules/.pnpm/@vue+shared@3.5.22/node_modules/@vue/shared/dist/shared.d.ts","./node_modules/.pnpm/@babel+parser@7.28.5/node_modules/@babel/parser/typings/babel-parser.d.ts","./node_modules/.pnpm/@vue+compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","./node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.d.mts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.d.ts","./node_modules/.pnpm/@vue+compiler-sfc@3.5.22/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts","./node_modules/.pnpm/vue@3.5.22_typescript@5.9.3/node_modules/vue/compiler-sfc/index.d.mts","./node_modules/.pnpm/@vitejs+plugin-vue@6.0.1_vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2_zxc5uuhydtfp3q25cwk2yrksve/node_modules/@vitejs/plugin-vue/dist/index.d.ts","./node_modules/.pnpm/@tailwindcss+vite@4.1.16_vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4_/node_modules/@tailwindcss/vite/dist/index.d.mts","./vite.config.ts"],"fileIdsList":[[54,108,125,126,197],[54,108,125,126],[54,108,125,126,196],[54,105,106,108,125,126],[54,107,108,125,126],[108,125,126],[54,108,113,125,126,143],[54,108,109,114,119,125,126,128,140,151],[54,108,109,110,119,125,126,128],[54,108,111,125,126,152],[54,108,112,113,120,125,126,129],[54,108,113,125,126,140,148],[54,108,114,116,119,125,126,128],[54,107,108,115,125,126],[54,108,116,117,125,126],[54,108,118,119,125,126],[54,107,108,119,125,126],[54,108,119,120,121,125,126,140,151],[54,108,119,120,121,125,126,135,140,143],[54,100,108,116,119,122,125,126,128,140,151],[54,108,119,120,122,123,125,126,128,140,148,151],[54,108,122,124,125,126,140,148,151],[52,53,54,55,56,57,58,59,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157],[54,108,119,125,126],[54,108,125,126,127,151],[54,108,116,119,125,126,128,140],[54,108,125,126,129],[54,108,125,126,130],[54,107,108,125,126,131],[54,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157],[54,108,125,126,133],[54,108,125,126,134],[54,108,119,125,126,135,136],[54,108,125,126,135,137,152,154],[54,108,120,125,126],[54,108,119,125,126,140,141,143],[54,108,125,126,142,143],[54,108,125,126,140,141],[54,108,125,126,143],[54,108,125,126,144],[54,105,108,125,126,140,145],[54,108,119,125,126,146,147],[54,108,125,126,146,147],[54,108,113,125,126,128,140,148],[54,108,125,126,149],[54,108,125,126,128,150],[54,108,122,125,126,134,151],[54,108,113,125,126,152],[54,108,125,126,140,153],[54,108,125,126,127,154],[54,108,125,126,155],[54,108,113,125,126],[54,100,108,125,126],[54,108,125,126,156],[54,100,108,119,121,125,126,131,140,143,151,153,154,156],[54,108,125,126,140,157],[54,108,125,126,196,204],[54,108,125,126,197,198,199],[54,108,125,126,188,197,199,200,201,202],[54,108,125,126,190,191],[54,108,125,126,184],[54,108,125,126,182,184],[54,108,125,126,173,181,182,183,185,187],[54,108,125,126,171],[54,108,125,126,174,179,184,187],[54,108,125,126,170,187],[54,108,125,126,174,175,178,179,180,187],[54,108,125,126,174,175,176,178,179,187],[54,108,125,126,171,172,173,174,175,179,180,181,183,184,185,187],[54,108,125,126,187],[54,108,125,126,169,171,172,173,174,175,176,178,179,180,181,182,183,184,185,186],[54,108,125,126,169,187],[54,108,125,126,174,176,177,179,180,187],[54,108,125,126,178,187],[54,108,125,126,179,180,184,187],[54,108,125,126,172,182],[54,108,125,126,163,195,196],[54,108,125,126,162,163],[54,66,69,72,73,108,125,126,151],[54,69,108,125,126,140,151],[54,69,73,108,125,126,151],[54,108,125,126,140],[54,63,108,125,126],[54,67,108,125,126],[54,65,66,69,108,125,126,151],[54,108,125,126,128,148],[54,108,125,126,158],[54,63,108,125,126,158],[54,65,69,108,125,126,128,151],[54,60,61,62,64,68,108,119,125,126,140,151],[54,69,77,85,108,125,126],[54,61,67,108,125,126],[54,69,94,95,108,125,126],[54,61,64,69,108,125,126,143,151,158],[54,69,108,125,126],[54,65,69,108,125,126,151],[54,60,108,125,126],[54,63,64,65,67,68,69,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,95,96,97,98,99,108,125,126],[54,69,87,90,108,116,125,126],[54,69,77,78,79,108,125,126],[54,67,69,78,80,108,125,126],[54,68,108,125,126],[54,61,63,69,108,125,126],[54,69,73,78,80,108,125,126],[54,73,108,125,126],[54,67,69,72,108,125,126,151],[54,61,65,69,77,108,125,126],[54,69,87,108,125,126],[54,80,108,125,126],[54,63,69,94,108,125,126,143,156,158],[54,108,125,126,159],[54,108,119,120,122,123,124,125,126,128,140,148,151,157,158,159,160,161,163,164,166,167,168,188,189,193,194,195,196],[54,108,125,126,159,160,161,165],[54,108,125,126,161],[54,108,125,126,192],[54,108,125,126,163,196],[54,108,125,126,203],[54,108,125,126,130,151,196,205,206]],"fileInfos":[{"version":"a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa","impliedFormat":1},{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"378281aa35786c27d5811af7e6bcaa492eebd0c7013d48137c35bbc69a2b9751","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b2dd1cbeb0cc6ae20795958ba5950395ebb2849b7c8326853dd15530c77ab0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"387a023d363f755eb63450a66c28b14cdd7bc30a104565e2dbf0a8988bb4a56c","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"830171b27c5fdf9bcbe4cf7d428fcf3ae2c67780fb7fbdccdf70d1623d938bc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ea15fd99b2e34cb25fe8346c955000bb70c8b423ae4377a972ef46bfb37f595","impliedFormat":1},{"version":"7cf69dd5502c41644c9e5106210b5da7144800670cbe861f66726fa209e231c4","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"f9b4137a0d285bd77dba2e6e895530112264310ae47e07bf311feae428fb8b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b21e13ed07d0df176ae31d6b7f01f7b17d66dbeb489c0d31d00de2ca14883da","impliedFormat":1},{"version":"51aecd2df90a3cffea1eb4696b33b2d78594ea2aa2138e6b9471ec4841c6c2ee","impliedFormat":1},{"version":"2c91d8366ff2506296191c26fd97cc1990bab3ee22576275d28b654a21261a44","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"f929f0b6b3421a2d34344b0f421f45aeb2c84ad365ebf29d04312023b3accc58","impliedFormat":1},{"version":"db9ada976f9e52e13f7ae8b9a320f4b67b87685938c5879187d8864b2fbe97f3","impliedFormat":1},{"version":"9f39e70a354d0fba29ac3cdf6eca00b7f9e96f64b2b2780c432e8ea27f133743","impliedFormat":1},{"version":"0dace96cc0f7bc6d0ee2044921bdf19fe42d16284dbcc8ae200800d1c9579335","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"c64e1888baaa3253ca4405b455e4bf44f76357868a1bd0a52998ade9a092ad78","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8cf132379078d0974a59df26069689a2d33c7dc826b5be56231841cb2f32e58","impliedFormat":1},{"version":"fbf413fc617837453c878a9174a1f1b383616857a3f8366bc41cf30df4aea7d5","impliedFormat":1},{"version":"148c73ec11318850f571172ceae3e55ce479d850fe18ec8eae0abd99d9f6c319","impliedFormat":1},{"version":"230bdc111d7578276e4a3bb9d075d85c78c6b68f428c3a9935e2eaa10f4ae1f5","impliedFormat":1},{"version":"e8aabbee5e7b9101b03bb4222607d57f38859b8115a8050a4eb91b4ee43a3a73","impliedFormat":1},{"version":"bbf42f98a5819f4f06e18c8b669a994afe9a17fe520ae3454a195e6eabf7700d","impliedFormat":1},{"version":"c0bb1b65757c72bbf8ddf7eaa532223bacf58041ff16c883e76f45506596e925","impliedFormat":1},{"version":"c8b85f7aed29f8f52b813f800611406b0bfe5cf3224d20a4bdda7c7f73ce368e","affectsGlobalScope":true,"impliedFormat":1},{"version":"145dcf25fd4967c610c53d93d7bc4dce8fbb1b6dd7935362472d4ae49363c7ba","impliedFormat":1},{"version":"ff65b8a8bd380c6d129becc35de02f7c29ad7ce03300331ca91311fb4044d1a9","impliedFormat":1},{"version":"76957a6d92b94b9e2852cf527fea32ad2dc0ef50f67fe2b14bd027c9ceef2d86","impliedFormat":1},{"version":"9043daec15206650fa119bad6b8d70136021ea7d52673a71f79a87a42ee38d44","affectsGlobalScope":true,"impliedFormat":1},{"version":"8ba0db41ed773e152647a78e9053e36a747891db41d6a51c7030a0d0f01babb2","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"5fb39858b2459864b139950a09adae4f38dad87c25bf572ce414f10e4bd7baab","impliedFormat":1},{"version":"28e3631087ecef78fef8efdb21d4d2509f776ef6f0d660ff605b5ee6a22ebb8c","impliedFormat":1},{"version":"b33b74b97952d9bf4fbd2951dcfbb5136656ddb310ce1c84518aaa77dbca9992","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"6b306cd4282bbb54d4a6bb23cfb7a271160983dfc38c67b5a132504cfcc34896","affectsGlobalScope":true,"impliedFormat":1},{"version":"c119835edf36415081dfd9ed15fc0cd37aaa28d232be029ad073f15f3d88c323","impliedFormat":1},{"version":"450172a56b944c2d83f45cc11c9a388ea967cd301a21202aa0a23c34c7506a18","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"72f8936aebf0c4a1adab767b97d34ba7d3a308afcf76de4417b9c16fb92ed548","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"04aa8fb012abeecf5666b013c59ba01dca5aa0c28173cb5385bc88d4adeb8d64","affectsGlobalScope":true,"impliedFormat":1},{"version":"3585d6891e9ea18e07d0755a6d90d71331558ba5dc5561933553209f886db106","affectsGlobalScope":true,"impliedFormat":1},{"version":"86be71cbb0593468644932a6eb96d527cfa600cecfc0b698af5f52e51804451d","impliedFormat":1},{"version":"84dd6b0fd2505135692935599d6606f50a421389e8d4535194bcded307ee5cf2","impliedFormat":1},{"version":"0d5b085f36e6dc55bc6332ecb9c733be3a534958c238fb8d8d18d4a2b6f2a15a","impliedFormat":1},{"version":"db19ea066fdc5f97df3f769e582ae3000380ab7942e266654bdb1a4650d19eaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"2a034894bf28c220a331c7a0229d33564803abe2ac1b9a5feee91b6b9b6e88ea","impliedFormat":1},{"version":"d7e9ab1b0996639047c61c1e62f85c620e4382206b3abb430d9a21fb7bc23c77","impliedFormat":1},{"version":"a7ca8df4f2931bef2aa4118078584d84a0b16539598eaadf7dce9104dfaa381c","impliedFormat":1},{"version":"4d37fa53d2873c4c97b1ff3c0dadfbb8024aaf7a310af89e3de0aa7d1abb2819","impliedFormat":99},{"version":"11443a1dcfaaa404c68d53368b5b818712b95dd19f188cab1669c39bee8b84b3","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"67f0933742a1e547fc31cc52c4183b2be0726ffa9689586b761cef241ca6b251","affectsGlobalScope":true,"impliedFormat":1},{"version":"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","impliedFormat":1},{"version":"36977c14a7f7bfc8c0426ae4343875689949fb699f3f84ecbe5b300ebf9a2c55","impliedFormat":1},{"version":"561d779a3525dce3fcadfbbf38407eda7f89ced9df3baf35844fcc4ee8ad2c46","impliedFormat":99},{"version":"161c8e0690c46021506e32fda85956d785b70f309ae97011fd27374c065cac9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f582b0fcbf1eea9b318ab92fb89ea9ab2ebb84f9b60af89328a91155e1afce72","impliedFormat":1},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","impliedFormat":1},{"version":"333caa2bfff7f06017f114de738050dd99a765c7eb16571c6d25a38c0d5365dc","impliedFormat":1},{"version":"e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","impliedFormat":1},{"version":"459920181700cec8cbdf2a5faca127f3f17fd8dd9d9e577ed3f5f3af5d12a2e4","impliedFormat":1},{"version":"4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","impliedFormat":1},{"version":"70790a7f0040993ca66ab8a07a059a0f8256e7bb57d968ae945f696cbff4ac7a","impliedFormat":1},{"version":"d1b9a81e99a0050ca7f2d98d7eedc6cda768f0eb9fa90b602e7107433e64c04c","impliedFormat":1},{"version":"a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","impliedFormat":1},{"version":"b215c4f0096f108020f666ffcc1f072c81e9f2f95464e894a5d5f34c5ea2a8b1","impliedFormat":1},{"version":"644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","impliedFormat":1},{"version":"dfe54dab1fa4961a6bcfba68c4ca955f8b5bbeb5f2ab3c915aa7adaa2eabc03a","impliedFormat":1},{"version":"1251d53755b03cde02466064260bb88fd83c30006a46395b7d9167340bc59b73","impliedFormat":1},{"version":"47865c5e695a382a916b1eedda1b6523145426e48a2eae4647e96b3b5e52024f","impliedFormat":1},{"version":"4cdf27e29feae6c7826cdd5c91751cc35559125e8304f9e7aed8faef97dcf572","impliedFormat":1},{"version":"331b8f71bfae1df25d564f5ea9ee65a0d847c4a94baa45925b6f38c55c7039bf","impliedFormat":1},{"version":"2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","impliedFormat":1},{"version":"0146fd6262c3fd3da51cb0254bb6b9a4e42931eb2f56329edd4c199cb9aaf804","impliedFormat":1},{"version":"183f480885db5caa5a8acb833c2be04f98056bdcc5fb29e969ff86e07efe57ab","impliedFormat":99},{"version":"960bd764c62ac43edc24eaa2af958a4b4f1fa5d27df5237e176d0143b36a39c6","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7eebe1b25040d805aefe8971310b805cd49b8602ec206d25b38dc48c542f165","impliedFormat":1},{"version":"a18642ddf216f162052a16cba0944892c4c4c977d3306a87cb673d46abbb0cbf","impliedFormat":1},{"version":"509f8efdfc5f9f6b52284170e8d7413552f02d79518d1db691ee15acc0088676","impliedFormat":1},{"version":"4ec16d7a4e366c06a4573d299e15fe6207fc080f41beac5da06f4af33ea9761e","impliedFormat":1},{"version":"59f8dc89b9e724a6a667f52cdf4b90b6816ae6c9842ce176d38fcc973669009e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e4af494f7a14b226bbe732e9c130d8811f8c7025911d7c58dd97121a85519715","impliedFormat":1},{"version":"b1cc6653d2f28c4e1ade75566fecbd3a263faa654f797603c3b13b87b91f12bf","impliedFormat":99},{"version":"c2c2a861a338244d7dd700d0c52a78916b4bb75b98fc8ca5e7c501899fc03796","impliedFormat":1},{"version":"f468b74459f1ad4473b36a36d49f2b255f3c6b5d536c81239c2b2971df089eaf","impliedFormat":1},{"version":"adb467429462e3891de5bb4a82a4189b92005d61c7f9367c089baf03997c104e","impliedFormat":1},{"version":"7f108fc2f0dd96e1ce5e6942c555538afc4d836d4e22b60cdbe034caaac7b521","impliedFormat":1},{"version":"2be2227c3810dfd84e46674fd33b8d09a4a28ad9cb633ed536effd411665ea1e","impliedFormat":99},{"version":"e134052a6b1ded61693b4037f615dc72f14e2881e79c1ddbff6c514c8a516b05","impliedFormat":1},{"version":"83eeb5fc6bc433785dec98525eb003a02134024a8630134ecc67404d0075c26e","impliedFormat":1},{"version":"3feec212c0aeb91e5a6e62caaf9f128954590210f8c302910ea377c088f6b61a","impliedFormat":99},{"version":"7fd978ea8f69444fb258da99a6d1174ab08aa1f2ff8220d0a3bbe30f4de1e0cc","impliedFormat":99},{"version":"7757c6ca7a8ad1992401c6aff33633d6a088515be5a39d7ee188b35bfc8e5f8e","impliedFormat":99},{"version":"33fb2cce2ccec382419a60edf3bdfb953c3e7c7de6bfe8ac925185986b761961","signature":"4b96dd19fd2949d28ce80e913412b0026dc421e5bf6c31d87c7b5eb11b5753b4"}],"root":[207],"options":{"allowSyntheticDefaultImports":true,"composite":true,"module":99,"skipLibCheck":true},"referencedMap":[[199,1],[197,2],[206,3],[162,2],[105,4],[106,4],[107,5],[54,6],[108,7],[109,8],[110,9],[52,2],[111,10],[112,11],[113,12],[114,13],[115,14],[116,15],[117,15],[118,16],[119,17],[120,18],[121,19],[55,2],[53,2],[122,20],[123,21],[124,22],[158,23],[125,24],[126,2],[127,25],[128,26],[129,27],[130,28],[131,29],[132,30],[133,31],[134,32],[135,33],[136,33],[137,34],[138,2],[139,35],[140,36],[142,37],[141,38],[143,39],[144,40],[145,41],[146,42],[147,43],[148,44],[149,45],[150,46],[151,47],[152,48],[153,49],[154,50],[155,51],[56,2],[57,52],[58,2],[59,2],[101,53],[102,54],[103,2],[104,39],[156,55],[157,56],[205,57],[200,58],[203,59],[198,2],[167,2],[190,2],[192,60],[191,2],[201,2],[185,61],[183,62],[184,63],[172,64],[173,62],[180,65],[171,66],[176,67],[186,2],[177,68],[182,69],[188,70],[187,71],[170,72],[178,73],[179,74],[174,75],[181,61],[175,76],[164,77],[163,78],[169,2],[1,2],[50,2],[51,2],[9,2],[13,2],[12,2],[3,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[4,2],[22,2],[23,2],[5,2],[24,2],[28,2],[25,2],[26,2],[27,2],[29,2],[30,2],[31,2],[6,2],[32,2],[33,2],[34,2],[35,2],[7,2],[39,2],[36,2],[37,2],[38,2],[40,2],[8,2],[41,2],[46,2],[47,2],[42,2],[43,2],[44,2],[45,2],[2,2],[48,2],[49,2],[11,2],[10,2],[202,2],[77,79],[89,80],[75,81],[90,82],[99,83],[66,84],[67,85],[65,86],[98,87],[93,88],[97,89],[69,90],[86,91],[68,92],[96,93],[63,94],[64,88],[70,95],[71,2],[76,96],[74,95],[61,97],[100,98],[91,99],[80,100],[79,95],[81,101],[84,102],[78,103],[82,104],[94,87],[72,105],[73,106],[85,107],[62,82],[88,108],[87,95],[83,109],[92,2],[60,2],[95,110],[160,111],[196,112],[166,113],[161,111],[159,2],[165,114],[194,2],[189,2],[193,115],[168,2],[195,116],[204,117],[207,118]],"latestChangedDtsFile":"./vite.config.d.ts","version":"5.9.3"} \ No newline at end of file +{"fileNames":["./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/compatibility/iterators.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/globals.typedarray.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/buffer.buffer.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/globals.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/abortcontroller.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/crypto.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/domexception.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/events.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/utility.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/header.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/readable.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/fetch.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/formdata.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/connector.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/client-stats.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/client.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/errors.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/dispatcher.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/global-dispatcher.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/global-origin.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/pool-stats.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/pool.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/handlers.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/balanced-pool.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/h2c-client.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-interceptor.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-call-history.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-client.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-pool.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/snapshot-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-errors.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/proxy-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/env-http-proxy-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/retry-handler.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/retry-agent.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/api.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cache-interceptor.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/interceptors.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/util.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cookies.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/patch.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/websocket.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/eventsource.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/diagnostics-channel.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/content-type.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cache.d.ts","./node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/index.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/fetch.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/navigator.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/storage.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/web-globals/streams.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/assert.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/assert/strict.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/async_hooks.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/buffer.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/child_process.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/cluster.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/console.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/constants.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/crypto.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/dgram.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/dns.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/dns/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/domain.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/events.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/fs.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/fs/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/http.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/http2.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/https.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/inspector.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/inspector.generated.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/module.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/net.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/os.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/path.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/perf_hooks.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/process.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/punycode.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/querystring.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/readline.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/readline/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/repl.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/sea.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/sqlite.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/stream.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/stream/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/stream/consumers.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/stream/web.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/string_decoder.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/test.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/timers.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/timers/promises.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/tls.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/trace_events.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/tty.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/url.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/util.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/v8.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/vm.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/wasi.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/worker_threads.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/zlib.d.ts","./node_modules/.pnpm/@types+node@24.9.2/node_modules/@types/node/index.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/hmrPayload.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/customEvent.d.ts","./node_modules/.pnpm/@types+estree@1.0.8/node_modules/@types/estree/index.d.ts","./node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/rollup.d.ts","./node_modules/.pnpm/rollup@4.52.5/node_modules/rollup/dist/parseAst.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/hot.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/dist/node/module-runner.d.ts","./node_modules/.pnpm/esbuild@0.25.11/node_modules/esbuild/lib/main.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/internal/terserOptions.d.ts","./node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/previous-map.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/input.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/css-syntax-error.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/declaration.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/root.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/warning.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/lazy-result.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/no-work-result.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/processor.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/result.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/document.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/rule.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/node.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/comment.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/container.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/at-rule.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/list.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/postcss.d.ts","./node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/lib/postcss.d.mts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts","./node_modules/.pnpm/lightningcss@1.30.2/node_modules/lightningcss/node/ast.d.ts","./node_modules/.pnpm/lightningcss@1.30.2/node_modules/lightningcss/node/targets.d.ts","./node_modules/.pnpm/lightningcss@1.30.2/node_modules/lightningcss/node/index.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/internal/lightningcssOptions.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/importGlob.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/types/metadata.d.ts","./node_modules/.pnpm/vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4/node_modules/vite/dist/node/index.d.ts","./node_modules/.pnpm/@babel+types@7.28.5/node_modules/@babel/types/lib/index.d.ts","./node_modules/.pnpm/@vue+shared@3.5.22/node_modules/@vue/shared/dist/shared.d.ts","./node_modules/.pnpm/@babel+parser@7.28.5/node_modules/@babel/parser/typings/babel-parser.d.ts","./node_modules/.pnpm/@vue+compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","./node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.d.mts","./node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.d.ts","./node_modules/.pnpm/@vue+compiler-sfc@3.5.22/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts","./node_modules/.pnpm/vue@3.5.22_typescript@5.9.3/node_modules/vue/compiler-sfc/index.d.mts","./node_modules/.pnpm/@vitejs+plugin-vue@6.0.1_vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2_zxc5uuhydtfp3q25cwk2yrksve/node_modules/@vitejs/plugin-vue/dist/index.d.ts","./node_modules/.pnpm/@tailwindcss+vite@4.1.16_vite@7.1.12_@types+node@24.9.2_jiti@2.6.1_lightningcss@1.30.2_yaml@2.8.4_/node_modules/@tailwindcss/vite/dist/index.d.mts","./vite.config.ts"],"fileIdsList":[[54,108,125,126,197],[54,108,125,126],[54,108,125,126,196],[54,105,106,108,125,126],[54,107,108,125,126],[108,125,126],[54,108,113,125,126,143],[54,108,109,114,119,125,126,128,140,151],[54,108,109,110,119,125,126,128],[54,108,111,125,126,152],[54,108,112,113,120,125,126,129],[54,108,113,125,126,140,148],[54,108,114,116,119,125,126,128],[54,107,108,115,125,126],[54,108,116,117,125,126],[54,108,118,119,125,126],[54,107,108,119,125,126],[54,108,119,120,121,125,126,140,151],[54,108,119,120,121,125,126,135,140,143],[54,100,108,116,119,122,125,126,128,140,151],[54,108,119,120,122,123,125,126,128,140,148,151],[54,108,122,124,125,126,140,148,151],[52,53,54,55,56,57,58,59,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157],[54,108,119,125,126],[54,108,125,126,127,151],[54,108,116,119,125,126,128,140],[54,108,125,126,129],[54,108,125,126,130],[54,107,108,125,126,131],[54,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157],[54,108,125,126,133],[54,108,125,126,134],[54,108,119,125,126,135,136],[54,108,125,126,135,137,152,154],[54,108,120,125,126],[54,108,119,125,126,140,141,143],[54,108,125,126,142,143],[54,108,125,126,140,141],[54,108,125,126,143],[54,108,125,126,144],[54,105,108,125,126,140,145],[54,108,119,125,126,146,147],[54,108,125,126,146,147],[54,108,113,125,126,128,140,148],[54,108,125,126,149],[54,108,125,126,128,150],[54,108,122,125,126,134,151],[54,108,113,125,126,152],[54,108,125,126,140,153],[54,108,125,126,127,154],[54,108,125,126,155],[54,108,113,125,126],[54,100,108,125,126],[54,108,125,126,156],[54,100,108,119,121,125,126,131,140,143,151,153,154,156],[54,108,125,126,140,157],[54,108,125,126,196,204],[54,108,125,126,197,198,199],[54,108,125,126,188,197,199,200,201,202],[54,108,125,126,190,191],[54,108,125,126,184],[54,108,125,126,182,184],[54,108,125,126,173,181,182,183,185,187],[54,108,125,126,171],[54,108,125,126,174,179,184,187],[54,108,125,126,170,187],[54,108,125,126,174,175,178,179,180,187],[54,108,125,126,174,175,176,178,179,187],[54,108,125,126,171,172,173,174,175,179,180,181,183,184,185,187],[54,108,125,126,187],[54,108,125,126,169,171,172,173,174,175,176,178,179,180,181,182,183,184,185,186],[54,108,125,126,169,187],[54,108,125,126,174,176,177,179,180,187],[54,108,125,126,178,187],[54,108,125,126,179,180,184,187],[54,108,125,126,172,182],[54,108,125,126,163,195,196],[54,108,125,126,162,163],[54,66,69,72,73,108,125,126,151],[54,69,108,125,126,140,151],[54,69,73,108,125,126,151],[54,108,125,126,140],[54,63,108,125,126],[54,67,108,125,126],[54,65,66,69,108,125,126,151],[54,108,125,126,128,148],[54,108,125,126,158],[54,63,108,125,126,158],[54,65,69,108,125,126,128,151],[54,60,61,62,64,68,108,119,125,126,140,151],[54,69,77,85,108,125,126],[54,61,67,108,125,126],[54,69,94,95,108,125,126],[54,61,64,69,108,125,126,143,151,158],[54,69,108,125,126],[54,65,69,108,125,126,151],[54,60,108,125,126],[54,63,64,65,67,68,69,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,95,96,97,98,99,108,125,126],[54,69,87,90,108,116,125,126],[54,69,77,78,79,108,125,126],[54,67,69,78,80,108,125,126],[54,68,108,125,126],[54,61,63,69,108,125,126],[54,69,73,78,80,108,125,126],[54,73,108,125,126],[54,67,69,72,108,125,126,151],[54,61,65,69,77,108,125,126],[54,69,87,108,125,126],[54,80,108,125,126],[54,63,69,94,108,125,126,143,156,158],[54,108,125,126,159],[54,108,119,120,122,123,124,125,126,128,140,148,151,157,158,159,160,161,163,164,166,167,168,188,189,193,194,195,196],[54,108,125,126,159,160,161,165],[54,108,125,126,161],[54,108,125,126,192],[54,108,125,126,163,196],[54,108,125,126,203],[54,108,125,126,130,151,196,205,206]],"fileInfos":[{"version":"a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa","impliedFormat":1},{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"378281aa35786c27d5811af7e6bcaa492eebd0c7013d48137c35bbc69a2b9751","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b2dd1cbeb0cc6ae20795958ba5950395ebb2849b7c8326853dd15530c77ab0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"387a023d363f755eb63450a66c28b14cdd7bc30a104565e2dbf0a8988bb4a56c","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"830171b27c5fdf9bcbe4cf7d428fcf3ae2c67780fb7fbdccdf70d1623d938bc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ea15fd99b2e34cb25fe8346c955000bb70c8b423ae4377a972ef46bfb37f595","impliedFormat":1},{"version":"7cf69dd5502c41644c9e5106210b5da7144800670cbe861f66726fa209e231c4","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"f9b4137a0d285bd77dba2e6e895530112264310ae47e07bf311feae428fb8b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b21e13ed07d0df176ae31d6b7f01f7b17d66dbeb489c0d31d00de2ca14883da","impliedFormat":1},{"version":"51aecd2df90a3cffea1eb4696b33b2d78594ea2aa2138e6b9471ec4841c6c2ee","impliedFormat":1},{"version":"2c91d8366ff2506296191c26fd97cc1990bab3ee22576275d28b654a21261a44","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"f929f0b6b3421a2d34344b0f421f45aeb2c84ad365ebf29d04312023b3accc58","impliedFormat":1},{"version":"db9ada976f9e52e13f7ae8b9a320f4b67b87685938c5879187d8864b2fbe97f3","impliedFormat":1},{"version":"9f39e70a354d0fba29ac3cdf6eca00b7f9e96f64b2b2780c432e8ea27f133743","impliedFormat":1},{"version":"0dace96cc0f7bc6d0ee2044921bdf19fe42d16284dbcc8ae200800d1c9579335","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"c64e1888baaa3253ca4405b455e4bf44f76357868a1bd0a52998ade9a092ad78","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8cf132379078d0974a59df26069689a2d33c7dc826b5be56231841cb2f32e58","impliedFormat":1},{"version":"fbf413fc617837453c878a9174a1f1b383616857a3f8366bc41cf30df4aea7d5","impliedFormat":1},{"version":"148c73ec11318850f571172ceae3e55ce479d850fe18ec8eae0abd99d9f6c319","impliedFormat":1},{"version":"230bdc111d7578276e4a3bb9d075d85c78c6b68f428c3a9935e2eaa10f4ae1f5","impliedFormat":1},{"version":"e8aabbee5e7b9101b03bb4222607d57f38859b8115a8050a4eb91b4ee43a3a73","impliedFormat":1},{"version":"bbf42f98a5819f4f06e18c8b669a994afe9a17fe520ae3454a195e6eabf7700d","impliedFormat":1},{"version":"c0bb1b65757c72bbf8ddf7eaa532223bacf58041ff16c883e76f45506596e925","impliedFormat":1},{"version":"c8b85f7aed29f8f52b813f800611406b0bfe5cf3224d20a4bdda7c7f73ce368e","affectsGlobalScope":true,"impliedFormat":1},{"version":"145dcf25fd4967c610c53d93d7bc4dce8fbb1b6dd7935362472d4ae49363c7ba","impliedFormat":1},{"version":"ff65b8a8bd380c6d129becc35de02f7c29ad7ce03300331ca91311fb4044d1a9","impliedFormat":1},{"version":"76957a6d92b94b9e2852cf527fea32ad2dc0ef50f67fe2b14bd027c9ceef2d86","impliedFormat":1},{"version":"9043daec15206650fa119bad6b8d70136021ea7d52673a71f79a87a42ee38d44","affectsGlobalScope":true,"impliedFormat":1},{"version":"8ba0db41ed773e152647a78e9053e36a747891db41d6a51c7030a0d0f01babb2","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"5fb39858b2459864b139950a09adae4f38dad87c25bf572ce414f10e4bd7baab","impliedFormat":1},{"version":"28e3631087ecef78fef8efdb21d4d2509f776ef6f0d660ff605b5ee6a22ebb8c","impliedFormat":1},{"version":"b33b74b97952d9bf4fbd2951dcfbb5136656ddb310ce1c84518aaa77dbca9992","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"6b306cd4282bbb54d4a6bb23cfb7a271160983dfc38c67b5a132504cfcc34896","affectsGlobalScope":true,"impliedFormat":1},{"version":"c119835edf36415081dfd9ed15fc0cd37aaa28d232be029ad073f15f3d88c323","impliedFormat":1},{"version":"450172a56b944c2d83f45cc11c9a388ea967cd301a21202aa0a23c34c7506a18","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"72f8936aebf0c4a1adab767b97d34ba7d3a308afcf76de4417b9c16fb92ed548","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"04aa8fb012abeecf5666b013c59ba01dca5aa0c28173cb5385bc88d4adeb8d64","affectsGlobalScope":true,"impliedFormat":1},{"version":"3585d6891e9ea18e07d0755a6d90d71331558ba5dc5561933553209f886db106","affectsGlobalScope":true,"impliedFormat":1},{"version":"86be71cbb0593468644932a6eb96d527cfa600cecfc0b698af5f52e51804451d","impliedFormat":1},{"version":"84dd6b0fd2505135692935599d6606f50a421389e8d4535194bcded307ee5cf2","impliedFormat":1},{"version":"0d5b085f36e6dc55bc6332ecb9c733be3a534958c238fb8d8d18d4a2b6f2a15a","impliedFormat":1},{"version":"db19ea066fdc5f97df3f769e582ae3000380ab7942e266654bdb1a4650d19eaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"2a034894bf28c220a331c7a0229d33564803abe2ac1b9a5feee91b6b9b6e88ea","impliedFormat":1},{"version":"d7e9ab1b0996639047c61c1e62f85c620e4382206b3abb430d9a21fb7bc23c77","impliedFormat":1},{"version":"a7ca8df4f2931bef2aa4118078584d84a0b16539598eaadf7dce9104dfaa381c","impliedFormat":1},{"version":"4d37fa53d2873c4c97b1ff3c0dadfbb8024aaf7a310af89e3de0aa7d1abb2819","impliedFormat":99},{"version":"11443a1dcfaaa404c68d53368b5b818712b95dd19f188cab1669c39bee8b84b3","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"67f0933742a1e547fc31cc52c4183b2be0726ffa9689586b761cef241ca6b251","affectsGlobalScope":true,"impliedFormat":1},{"version":"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","impliedFormat":1},{"version":"36977c14a7f7bfc8c0426ae4343875689949fb699f3f84ecbe5b300ebf9a2c55","impliedFormat":1},{"version":"561d779a3525dce3fcadfbbf38407eda7f89ced9df3baf35844fcc4ee8ad2c46","impliedFormat":99},{"version":"161c8e0690c46021506e32fda85956d785b70f309ae97011fd27374c065cac9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f582b0fcbf1eea9b318ab92fb89ea9ab2ebb84f9b60af89328a91155e1afce72","impliedFormat":1},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","impliedFormat":1},{"version":"333caa2bfff7f06017f114de738050dd99a765c7eb16571c6d25a38c0d5365dc","impliedFormat":1},{"version":"e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","impliedFormat":1},{"version":"459920181700cec8cbdf2a5faca127f3f17fd8dd9d9e577ed3f5f3af5d12a2e4","impliedFormat":1},{"version":"4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","impliedFormat":1},{"version":"70790a7f0040993ca66ab8a07a059a0f8256e7bb57d968ae945f696cbff4ac7a","impliedFormat":1},{"version":"d1b9a81e99a0050ca7f2d98d7eedc6cda768f0eb9fa90b602e7107433e64c04c","impliedFormat":1},{"version":"a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","impliedFormat":1},{"version":"b215c4f0096f108020f666ffcc1f072c81e9f2f95464e894a5d5f34c5ea2a8b1","impliedFormat":1},{"version":"644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","impliedFormat":1},{"version":"dfe54dab1fa4961a6bcfba68c4ca955f8b5bbeb5f2ab3c915aa7adaa2eabc03a","impliedFormat":1},{"version":"1251d53755b03cde02466064260bb88fd83c30006a46395b7d9167340bc59b73","impliedFormat":1},{"version":"47865c5e695a382a916b1eedda1b6523145426e48a2eae4647e96b3b5e52024f","impliedFormat":1},{"version":"4cdf27e29feae6c7826cdd5c91751cc35559125e8304f9e7aed8faef97dcf572","impliedFormat":1},{"version":"331b8f71bfae1df25d564f5ea9ee65a0d847c4a94baa45925b6f38c55c7039bf","impliedFormat":1},{"version":"2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","impliedFormat":1},{"version":"0146fd6262c3fd3da51cb0254bb6b9a4e42931eb2f56329edd4c199cb9aaf804","impliedFormat":1},{"version":"183f480885db5caa5a8acb833c2be04f98056bdcc5fb29e969ff86e07efe57ab","impliedFormat":99},{"version":"960bd764c62ac43edc24eaa2af958a4b4f1fa5d27df5237e176d0143b36a39c6","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7eebe1b25040d805aefe8971310b805cd49b8602ec206d25b38dc48c542f165","impliedFormat":1},{"version":"a18642ddf216f162052a16cba0944892c4c4c977d3306a87cb673d46abbb0cbf","impliedFormat":1},{"version":"509f8efdfc5f9f6b52284170e8d7413552f02d79518d1db691ee15acc0088676","impliedFormat":1},{"version":"4ec16d7a4e366c06a4573d299e15fe6207fc080f41beac5da06f4af33ea9761e","impliedFormat":1},{"version":"59f8dc89b9e724a6a667f52cdf4b90b6816ae6c9842ce176d38fcc973669009e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e4af494f7a14b226bbe732e9c130d8811f8c7025911d7c58dd97121a85519715","impliedFormat":1},{"version":"b1cc6653d2f28c4e1ade75566fecbd3a263faa654f797603c3b13b87b91f12bf","impliedFormat":99},{"version":"c2c2a861a338244d7dd700d0c52a78916b4bb75b98fc8ca5e7c501899fc03796","impliedFormat":1},{"version":"f468b74459f1ad4473b36a36d49f2b255f3c6b5d536c81239c2b2971df089eaf","impliedFormat":1},{"version":"adb467429462e3891de5bb4a82a4189b92005d61c7f9367c089baf03997c104e","impliedFormat":1},{"version":"7f108fc2f0dd96e1ce5e6942c555538afc4d836d4e22b60cdbe034caaac7b521","impliedFormat":1},{"version":"2be2227c3810dfd84e46674fd33b8d09a4a28ad9cb633ed536effd411665ea1e","impliedFormat":99},{"version":"e134052a6b1ded61693b4037f615dc72f14e2881e79c1ddbff6c514c8a516b05","impliedFormat":1},{"version":"83eeb5fc6bc433785dec98525eb003a02134024a8630134ecc67404d0075c26e","impliedFormat":1},{"version":"3feec212c0aeb91e5a6e62caaf9f128954590210f8c302910ea377c088f6b61a","impliedFormat":99},{"version":"7fd978ea8f69444fb258da99a6d1174ab08aa1f2ff8220d0a3bbe30f4de1e0cc","impliedFormat":99},{"version":"7757c6ca7a8ad1992401c6aff33633d6a088515be5a39d7ee188b35bfc8e5f8e","impliedFormat":99},{"version":"820279f60dc42e29f1e53b8f0ea3eef79f8e93de0f7208674eaa15226ec09a84","signature":"4b96dd19fd2949d28ce80e913412b0026dc421e5bf6c31d87c7b5eb11b5753b4"}],"root":[207],"options":{"allowSyntheticDefaultImports":true,"composite":true,"module":99,"skipLibCheck":true},"referencedMap":[[199,1],[197,2],[206,3],[162,2],[105,4],[106,4],[107,5],[54,6],[108,7],[109,8],[110,9],[52,2],[111,10],[112,11],[113,12],[114,13],[115,14],[116,15],[117,15],[118,16],[119,17],[120,18],[121,19],[55,2],[53,2],[122,20],[123,21],[124,22],[158,23],[125,24],[126,2],[127,25],[128,26],[129,27],[130,28],[131,29],[132,30],[133,31],[134,32],[135,33],[136,33],[137,34],[138,2],[139,35],[140,36],[142,37],[141,38],[143,39],[144,40],[145,41],[146,42],[147,43],[148,44],[149,45],[150,46],[151,47],[152,48],[153,49],[154,50],[155,51],[56,2],[57,52],[58,2],[59,2],[101,53],[102,54],[103,2],[104,39],[156,55],[157,56],[205,57],[200,58],[203,59],[198,2],[167,2],[190,2],[192,60],[191,2],[201,2],[185,61],[183,62],[184,63],[172,64],[173,62],[180,65],[171,66],[176,67],[186,2],[177,68],[182,69],[188,70],[187,71],[170,72],[178,73],[179,74],[174,75],[181,61],[175,76],[164,77],[163,78],[169,2],[1,2],[50,2],[51,2],[9,2],[13,2],[12,2],[3,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[4,2],[22,2],[23,2],[5,2],[24,2],[28,2],[25,2],[26,2],[27,2],[29,2],[30,2],[31,2],[6,2],[32,2],[33,2],[34,2],[35,2],[7,2],[39,2],[36,2],[37,2],[38,2],[40,2],[8,2],[41,2],[46,2],[47,2],[42,2],[43,2],[44,2],[45,2],[2,2],[48,2],[49,2],[11,2],[10,2],[202,2],[77,79],[89,80],[75,81],[90,82],[99,83],[66,84],[67,85],[65,86],[98,87],[93,88],[97,89],[69,90],[86,91],[68,92],[96,93],[63,94],[64,88],[70,95],[71,2],[76,96],[74,95],[61,97],[100,98],[91,99],[80,100],[79,95],[81,101],[84,102],[78,103],[82,104],[94,87],[72,105],[73,106],[85,107],[62,82],[88,108],[87,95],[83,109],[92,2],[60,2],[95,110],[160,111],[196,112],[166,113],[161,111],[159,2],[165,114],[194,2],[189,2],[193,115],[168,2],[195,116],[204,117],[207,118]],"latestChangedDtsFile":"./vite.config.d.ts","version":"5.9.3"} \ No newline at end of file diff --git a/polylan_submitter/vite.config.js b/polylan_submitter/vite.config.js index c734e1a..9f491f7 100644 --- a/polylan_submitter/vite.config.js +++ b/polylan_submitter/vite.config.js @@ -19,7 +19,11 @@ export default defineConfig({ manifest: 'manifest.json', outDir: resolve("./static_source/vite"), rollupOptions: { - input: { opus_magnum: resolve('./src/opus-magnum.ts') } + input: { + opus_magnum: resolve('./src/opus-magnum.ts'), + home: resolve('./src/home.ts'), + noita: resolve('./src/noita.ts'), + } } }, }); diff --git a/polylan_submitter/vite.config.ts b/polylan_submitter/vite.config.ts index a2e6315..d360614 100644 --- a/polylan_submitter/vite.config.ts +++ b/polylan_submitter/vite.config.ts @@ -21,7 +21,11 @@ export default defineConfig({ outDir: resolve("./static_source/vite"), rollupOptions: { input: - { opus_magnum: resolve('./src/opus-magnum.ts') } + { + opus_magnum: resolve('./src/opus-magnum.ts'), + home: resolve('./src/home.ts'), + noita: resolve('./src/noita.ts'), + } } }, })