From 202f7b7eb6bebd0dd428eb382283dfdd77f799f2 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 9 Jul 2024 13:22:06 +0200 Subject: [PATCH] chg: [build] Rebuild assets --- dist/assets/{index-BJjpd8Qi.js => index-BbC5Fp4k.js} | 2 +- dist/assets/{index-CiEfiGI-.css => index-XAPeN3Gs.css} | 2 +- dist/index.html | 4 ++-- src/socket.js | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) rename dist/assets/{index-BJjpd8Qi.js => index-BbC5Fp4k.js} (97%) rename dist/assets/{index-CiEfiGI-.css => index-XAPeN3Gs.css} (77%) diff --git a/dist/assets/index-BJjpd8Qi.js b/dist/assets/index-BbC5Fp4k.js similarity index 97% rename from dist/assets/index-BJjpd8Qi.js rename to dist/assets/index-BbC5Fp4k.js index 541fbc4..fae6388 100644 --- a/dist/assets/index-BJjpd8Qi.js +++ b/dist/assets/index-BbC5Fp4k.js @@ -1477,4 +1477,4 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { color: var(--fa-inverse, #fff); }`;function Rc(){var s=Lc,n=Ec,c=ft.cssPrefix,d=ft.replacementClass,m=Rf;if(c!==s||d!==n){var y=new RegExp("\\.".concat(s,"\\-"),"g"),S=new RegExp("\\--".concat(s,"\\-"),"g"),L=new RegExp("\\.".concat(n),"g");m=m.replace(y,".".concat(c,"-")).replace(S,"--".concat(c,"-")).replace(L,".".concat(d))}return m}var _o=!1;function rr(){ft.autoAddCss&&!_o&&(Tf(Rc()),_o=!0)}var zf={mixout:function(){return{dom:{css:Rc,insertCss:rr}}},hooks:function(){return{beforeDOMElementCreation:function(){rr()},beforeI2svg:function(){rr()}}}},si=vi||{};si[ai]||(si[ai]={});si[ai].styles||(si[ai].styles={});si[ai].hooks||(si[ai].hooks={});si[ai].shims||(si[ai].shims=[]);var Ye=si[ai],zc=[],Ff=function s(){jt.removeEventListener("DOMContentLoaded",s),Cs=1,zc.map(function(n){return n()})},Cs=!1;oi&&(Cs=(jt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(jt.readyState),Cs||jt.addEventListener("DOMContentLoaded",Ff));function Nf(s){oi&&(Cs?setTimeout(s,0):zc.push(s))}function Ra(s){var n=s.tag,c=s.attributes,d=c===void 0?{}:c,m=s.children,y=m===void 0?[]:m;return typeof s=="string"?Oc(s):"<".concat(n," ").concat(If(d),">").concat(y.map(Ra).join(""),"")}function Io(s,n,c){if(s&&s[n]&&s[n][c])return{prefix:n,iconName:c,icon:s[n][c]}}var nr=function(n,c,d,m){var y=Object.keys(n),S=y.length,L=c,I,F,z;for(d===void 0?(I=1,z=n[y[0]]):(I=0,z=d);I=55296&&m<=56319&&c=55296&&d<=56319&&c>n+1&&(m=s.charCodeAt(n+1),m>=56320&&m<=57343)?(d-55296)*1024+m-56320+65536:d}function Mo(s){return Object.keys(s).reduce(function(n,c){var d=s[c],m=!!d.icon;return m?n[d.iconName]=d.icon:n[c]=d,n},{})}function Or(s,n){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=c.skipHooks,m=d===void 0?!1:d,y=Mo(n);typeof Ye.hooks.addPack=="function"&&!m?Ye.hooks.addPack(s,Mo(n)):Ye.styles[s]=ot(ot({},Ye.styles[s]||{}),y),s==="fas"&&Or("fa",n)}var Ja,Qa,ts,Ui=Ye.styles,Df=Ye.shims,Hf=(Ja={},ce(Ja,Gt,Object.values(Pa[Gt])),ce(Ja,te,Object.values(Pa[te])),Ja),yn=null,Fc={},Nc={},Xc={},Yc={},Dc={},Bf=(Qa={},ce(Qa,Gt,Object.keys(Sa[Gt])),ce(Qa,te,Object.keys(Sa[te])),Qa);function Wf(s){return~Sf.indexOf(s)}function Vf(s,n){var c=n.split("-"),d=c[0],m=c.slice(1).join("-");return d===s&&m!==""&&!Wf(m)?m:null}var Hc=function(){var n=function(y){return nr(Ui,function(S,L,I){return S[I]=nr(L,y,{}),S},{})};Fc=n(function(m,y,S){if(y[3]&&(m[y[3]]=S),y[2]){var L=y[2].filter(function(I){return typeof I=="number"});L.forEach(function(I){m[I.toString(16)]=S})}return m}),Nc=n(function(m,y,S){if(m[S]=S,y[2]){var L=y[2].filter(function(I){return typeof I=="string"});L.forEach(function(I){m[I]=S})}return m}),Dc=n(function(m,y,S){var L=y[2];return m[S]=S,L.forEach(function(I){m[I]=S}),m});var c="far"in Ui||ft.autoFetchSvg,d=nr(Df,function(m,y){var S=y[0],L=y[1],I=y[2];return L==="far"&&!c&&(L="fas"),typeof S=="string"&&(m.names[S]={prefix:L,iconName:I}),typeof S=="number"&&(m.unicodes[S.toString(16)]={prefix:L,iconName:I}),m},{names:{},unicodes:{}});Xc=d.names,Yc=d.unicodes,yn=Hs(ft.styleDefault,{family:ft.familyDefault})};Ef(function(s){yn=Hs(s.styleDefault,{family:ft.familyDefault})});Hc();function wn(s,n){return(Fc[s]||{})[n]}function Gf(s,n){return(Nc[s]||{})[n]}function Ri(s,n){return(Dc[s]||{})[n]}function Bc(s){return Xc[s]||{prefix:null,iconName:null}}function jf(s){var n=Yc[s],c=wn("fas",s);return n||(c?{prefix:"fas",iconName:c}:null)||{prefix:null,iconName:null}}function yi(){return yn}var kn=function(){return{prefix:null,iconName:null,rest:[]}};function Hs(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=n.family,d=c===void 0?Gt:c,m=Sa[d][s],y=Ca[d][s]||Ca[d][m],S=s in Ye.styles?s:null;return y||S||null}var Oo=(ts={},ce(ts,Gt,Object.keys(Pa[Gt])),ce(ts,te,Object.keys(Pa[te])),ts);function Bs(s){var n,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=c.skipLookups,m=d===void 0?!1:d,y=(n={},ce(n,Gt,"".concat(ft.cssPrefix,"-").concat(Gt)),ce(n,te,"".concat(ft.cssPrefix,"-").concat(te)),n),S=null,L=Gt;(s.includes(y[Gt])||s.some(function(F){return Oo[Gt].includes(F)}))&&(L=Gt),(s.includes(y[te])||s.some(function(F){return Oo[te].includes(F)}))&&(L=te);var I=s.reduce(function(F,z){var H=Vf(ft.cssPrefix,z);if(Ui[z]?(z=Hf[L].includes(z)?bf[L][z]:z,S=z,F.prefix=z):Bf[L].indexOf(z)>-1?(S=z,F.prefix=Hs(z,{family:L})):H?F.iconName=H:z!==ft.replacementClass&&z!==y[Gt]&&z!==y[te]&&F.rest.push(z),!m&&F.prefix&&F.iconName){var G=S==="fa"?Bc(F.iconName):{},J=Ri(F.prefix,F.iconName);G.prefix&&(S=null),F.iconName=G.iconName||J||F.iconName,F.prefix=G.prefix||F.prefix,F.prefix==="far"&&!Ui.far&&Ui.fas&&!ft.autoFetchSvg&&(F.prefix="fas")}return F},kn());return(s.includes("fa-brands")||s.includes("fab"))&&(I.prefix="fab"),(s.includes("fa-duotone")||s.includes("fad"))&&(I.prefix="fad"),!I.prefix&&L===te&&(Ui.fass||ft.autoFetchSvg)&&(I.prefix="fass",I.iconName=Ri(I.prefix,I.iconName)||I.iconName),(I.prefix==="fa"||S==="fa")&&(I.prefix=yi()||"fas"),I}var Uf=function(){function s(){rf(this,s),this.definitions={}}return of(s,[{key:"add",value:function(){for(var c=this,d=arguments.length,m=new Array(d),y=0;y0&&z.forEach(function(H){typeof H=="string"&&(c[L][H]=F)}),c[L][I]=F}),c}}]),s}(),Ro=[],$i={},Ji={},$f=Object.keys(Ji);function qf(s,n){var c=n.mixoutsTo;return Ro=s,$i={},Object.keys(Ji).forEach(function(d){$f.indexOf(d)===-1&&delete Ji[d]}),Ro.forEach(function(d){var m=d.mixout?d.mixout():{};if(Object.keys(m).forEach(function(S){typeof m[S]=="function"&&(c[S]=m[S]),Ss(m[S])==="object"&&Object.keys(m[S]).forEach(function(L){c[S]||(c[S]={}),c[S][L]=m[S][L]})}),d.hooks){var y=d.hooks();Object.keys(y).forEach(function(S){$i[S]||($i[S]=[]),$i[S].push(y[S])})}d.provides&&d.provides(Ji)}),c}function Rr(s,n){for(var c=arguments.length,d=new Array(c>2?c-2:0),m=2;m1?n-1:0),d=1;d0&&arguments[0]!==void 0?arguments[0]:{};return oi?(Di("beforeI2svg",n),ri("pseudoElements2svg",n),ri("i2svg",n)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=n.autoReplaceSvgRoot;ft.autoReplaceSvg===!1&&(ft.autoReplaceSvg=!0),ft.observeMutations=!0,Nf(function(){Qf({autoReplaceSvgRoot:c}),Di("watch",n)})}},Jf={icon:function(n){if(n===null)return null;if(Ss(n)==="object"&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:Ri(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&n.length===2){var c=n[1].indexOf("fa-")===0?n[1].slice(3):n[1],d=Hs(n[0]);return{prefix:d,iconName:Ri(d,c)||c}}if(typeof n=="string"&&(n.indexOf("".concat(ft.cssPrefix,"-"))>-1||n.match(vf))){var m=Bs(n.split(" "),{skipLookups:!0});return{prefix:m.prefix||yi(),iconName:Ri(m.prefix,m.iconName)||m.iconName}}if(typeof n=="string"){var y=yi();return{prefix:y,iconName:Ri(y,n)||n}}}},_e={noAuto:Zf,config:ft,dom:Kf,parse:Jf,library:Wc,findIconDefinition:zr,toHtml:Ra},Qf=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=n.autoReplaceSvgRoot,d=c===void 0?jt:c;(Object.keys(Ye.styles).length>0||ft.autoFetchSvg)&&oi&&ft.autoReplaceSvg&&_e.dom.i2svg({node:d})};function Ws(s,n){return Object.defineProperty(s,"abstract",{get:n}),Object.defineProperty(s,"html",{get:function(){return s.abstract.map(function(d){return Ra(d)})}}),Object.defineProperty(s,"node",{get:function(){if(oi){var d=jt.createElement("div");return d.innerHTML=s.html,d.children}}}),s}function tg(s){var n=s.children,c=s.main,d=s.mask,m=s.attributes,y=s.styles,S=s.transform;if(vn(S)&&c.found&&!d.found){var L=c.width,I=c.height,F={x:L/I/2,y:.5};m.style=Ds(ot(ot({},y),{},{"transform-origin":"".concat(F.x+S.x/16,"em ").concat(F.y+S.y/16,"em")}))}return[{tag:"svg",attributes:m,children:n}]}function eg(s){var n=s.prefix,c=s.iconName,d=s.children,m=s.attributes,y=s.symbol,S=y===!0?"".concat(n,"-").concat(ft.cssPrefix,"-").concat(c):y;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ot(ot({},m),{},{id:S}),children:d}]}]}function An(s){var n=s.icons,c=n.main,d=n.mask,m=s.prefix,y=s.iconName,S=s.transform,L=s.symbol,I=s.title,F=s.maskId,z=s.titleId,H=s.extra,G=s.watchable,J=G===void 0?!1:G,bt=d.found?d:c,lt=bt.width,Ot=bt.height,et=m==="fak",R=[ft.replacementClass,y?"".concat(ft.cssPrefix,"-").concat(y):""].filter(function(re){return H.classes.indexOf(re)===-1}).filter(function(re){return re!==""||!!re}).concat(H.classes).join(" "),ct={children:[],attributes:ot(ot({},H.attributes),{},{"data-prefix":m,"data-icon":y,class:R,role:H.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(lt," ").concat(Ot)})},ut=et&&!~H.classes.indexOf("fa-fw")?{width:"".concat(lt/Ot*16*.0625,"em")}:{};J&&(ct.attributes[Yi]=""),I&&(ct.children.push({tag:"title",attributes:{id:ct.attributes["aria-labelledby"]||"title-".concat(z||Ea())},children:[I]}),delete ct.attributes.title);var W=ot(ot({},ct),{},{prefix:m,iconName:y,main:c,mask:d,maskId:F,transform:S,symbol:L,styles:ot(ot({},ut),H.styles)}),it=d.found&&c.found?ri("generateAbstractMask",W)||{children:[],attributes:{}}:ri("generateAbstractIcon",W)||{children:[],attributes:{}},Mt=it.children,Ut=it.attributes;return W.children=Mt,W.attributes=Ut,L?eg(W):tg(W)}function zo(s){var n=s.content,c=s.width,d=s.height,m=s.transform,y=s.title,S=s.extra,L=s.watchable,I=L===void 0?!1:L,F=ot(ot(ot({},S.attributes),y?{title:y}:{}),{},{class:S.classes.join(" ")});I&&(F[Yi]="");var z=ot({},S.styles);vn(m)&&(z.transform=Of({transform:m,startCentered:!0,width:c,height:d}),z["-webkit-transform"]=z.transform);var H=Ds(z);H.length>0&&(F.style=H);var G=[];return G.push({tag:"span",attributes:F,children:[n]}),y&&G.push({tag:"span",attributes:{class:"sr-only"},children:[y]}),G}function ig(s){var n=s.content,c=s.title,d=s.extra,m=ot(ot(ot({},d.attributes),c?{title:c}:{}),{},{class:d.classes.join(" ")}),y=Ds(d.styles);y.length>0&&(m.style=y);var S=[];return S.push({tag:"span",attributes:m,children:[n]}),c&&S.push({tag:"span",attributes:{class:"sr-only"},children:[c]}),S}var or=Ye.styles;function Fr(s){var n=s[0],c=s[1],d=s.slice(4),m=fn(d,1),y=m[0],S=null;return Array.isArray(y)?S={tag:"g",attributes:{class:"".concat(ft.cssPrefix,"-").concat(Oi.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ft.cssPrefix,"-").concat(Oi.SECONDARY),fill:"currentColor",d:y[0]}},{tag:"path",attributes:{class:"".concat(ft.cssPrefix,"-").concat(Oi.PRIMARY),fill:"currentColor",d:y[1]}}]}:S={tag:"path",attributes:{fill:"currentColor",d:y}},{found:!0,width:n,height:c,icon:S}}var ag={found:!1,width:512,height:512};function sg(s,n){!Tc&&!ft.showMissingIcons&&s&&console.error('Icon with name "'.concat(s,'" and prefix "').concat(n,'" is missing.'))}function Nr(s,n){var c=n;return n==="fa"&&ft.styleDefault!==null&&(n=yi()),new Promise(function(d,m){if(ri("missingIconAbstract"),c==="fa"){var y=Bc(s)||{};s=y.iconName||s,n=y.prefix||n}if(s&&n&&or[n]&&or[n][s]){var S=or[n][s];return d(Fr(S))}sg(s,n),d(ot(ot({},ag),{},{icon:ft.showMissingIcons&&s?ri("missingIconAbstract")||{}:{}}))})}var Fo=function(){},Xr=ft.measurePerformance&&ja&&ja.mark&&ja.measure?ja:{mark:Fo,measure:Fo},ha='FA "6.5.2"',rg=function(n){return Xr.mark("".concat(ha," ").concat(n," begins")),function(){return Vc(n)}},Vc=function(n){Xr.mark("".concat(ha," ").concat(n," ends")),Xr.measure("".concat(ha," ").concat(n),"".concat(ha," ").concat(n," begins"),"".concat(ha," ").concat(n," ends"))},Sn={begin:rg,end:Vc},us=function(){};function No(s){var n=s.getAttribute?s.getAttribute(Yi):null;return typeof n=="string"}function ng(s){var n=s.getAttribute?s.getAttribute(pn):null,c=s.getAttribute?s.getAttribute(xn):null;return n&&c}function og(s){return s&&s.classList&&s.classList.contains&&s.classList.contains(ft.replacementClass)}function lg(){if(ft.autoReplaceSvg===!0)return fs.replace;var s=fs[ft.autoReplaceSvg];return s||fs.replace}function cg(s){return jt.createElementNS("http://www.w3.org/2000/svg",s)}function hg(s){return jt.createElement(s)}function Gc(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=n.ceFn,d=c===void 0?s.tag==="svg"?cg:hg:c;if(typeof s=="string")return jt.createTextNode(s);var m=d(s.tag);Object.keys(s.attributes||[]).forEach(function(S){m.setAttribute(S,s.attributes[S])});var y=s.children||[];return y.forEach(function(S){m.appendChild(Gc(S,{ceFn:d}))}),m}function dg(s){var n=" ".concat(s.outerHTML," ");return n="".concat(n,"Font Awesome fontawesome.com "),n}var fs={replace:function(n){var c=n[0];if(c.parentNode)if(n[1].forEach(function(m){c.parentNode.insertBefore(Gc(m),c)}),c.getAttribute(Yi)===null&&ft.keepOriginalSource){var d=jt.createComment(dg(c));c.parentNode.replaceChild(d,c)}else c.remove()},nest:function(n){var c=n[0],d=n[1];if(~bn(c).indexOf(ft.replacementClass))return fs.replace(n);var m=new RegExp("".concat(ft.cssPrefix,"-.*"));if(delete d[0].attributes.id,d[0].attributes.class){var y=d[0].attributes.class.split(" ").reduce(function(L,I){return I===ft.replacementClass||I.match(m)?L.toSvg.push(I):L.toNode.push(I),L},{toNode:[],toSvg:[]});d[0].attributes.class=y.toSvg.join(" "),y.toNode.length===0?c.removeAttribute("class"):c.setAttribute("class",y.toNode.join(" "))}var S=d.map(function(L){return Ra(L)}).join(` `);c.setAttribute(Yi,""),c.innerHTML=S}};function Xo(s){s()}function jc(s,n){var c=typeof n=="function"?n:us;if(s.length===0)c();else{var d=Xo;ft.mutateApproach===xf&&(d=vi.requestAnimationFrame||Xo),d(function(){var m=lg(),y=Sn.begin("mutate");s.map(m),y(),c()})}}var Cn=!1;function Uc(){Cn=!0}function Yr(){Cn=!1}var Ps=null;function Yo(s){if(Eo&&ft.observeMutations){var n=s.treeCallback,c=n===void 0?us:n,d=s.nodeCallback,m=d===void 0?us:d,y=s.pseudoElementsCallback,S=y===void 0?us:y,L=s.observeMutationsRoot,I=L===void 0?jt:L;Ps=new Eo(function(F){if(!Cn){var z=yi();ia(F).forEach(function(H){if(H.type==="childList"&&H.addedNodes.length>0&&!No(H.addedNodes[0])&&(ft.searchPseudoElements&&S(H.target),c(H.target)),H.type==="attributes"&&H.target.parentNode&&ft.searchPseudoElements&&S(H.target.parentNode),H.type==="attributes"&&No(H.target)&&~Af.indexOf(H.attributeName))if(H.attributeName==="class"&&ng(H.target)){var G=Bs(bn(H.target)),J=G.prefix,bt=G.iconName;H.target.setAttribute(pn,J||z),bt&&H.target.setAttribute(xn,bt)}else og(H.target)&&m(H.target)})}}),oi&&Ps.observe(I,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ug(){Ps&&Ps.disconnect()}function fg(s){var n=s.getAttribute("style"),c=[];return n&&(c=n.split(";").reduce(function(d,m){var y=m.split(":"),S=y[0],L=y.slice(1);return S&&L.length>0&&(d[S]=L.join(":").trim()),d},{})),c}function gg(s){var n=s.getAttribute("data-prefix"),c=s.getAttribute("data-icon"),d=s.innerText!==void 0?s.innerText.trim():"",m=Bs(bn(s));return m.prefix||(m.prefix=yi()),n&&c&&(m.prefix=n,m.iconName=c),m.iconName&&m.prefix||(m.prefix&&d.length>0&&(m.iconName=Gf(m.prefix,s.innerText)||wn(m.prefix,Mr(s.innerText))),!m.iconName&&ft.autoFetchSvg&&s.firstChild&&s.firstChild.nodeType===Node.TEXT_NODE&&(m.iconName=s.firstChild.data)),m}function pg(s){var n=ia(s.attributes).reduce(function(m,y){return m.name!=="class"&&m.name!=="style"&&(m[y.name]=y.value),m},{}),c=s.getAttribute("title"),d=s.getAttribute("data-fa-title-id");return ft.autoA11y&&(c?n["aria-labelledby"]="".concat(ft.replacementClass,"-title-").concat(d||Ea()):(n["aria-hidden"]="true",n.focusable="false")),n}function xg(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ge,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Do(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},c=gg(s),d=c.iconName,m=c.prefix,y=c.rest,S=pg(s),L=Rr("parseNodeAttributes",{},s),I=n.styleParser?fg(s):[];return ot({iconName:d,title:s.getAttribute("title"),titleId:s.getAttribute("data-fa-title-id"),prefix:m,transform:Ge,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:y,styles:I,attributes:S}},L)}var mg=Ye.styles;function $c(s){var n=ft.autoReplaceSvg==="nest"?Do(s,{styleParser:!1}):Do(s);return~n.extra.classes.indexOf(_c)?ri("generateLayersText",s,n):ri("generateSvgReplacementMutation",s,n)}var wi=new Set;mn.map(function(s){wi.add("fa-".concat(s))});Object.keys(Sa[Gt]).map(wi.add.bind(wi));Object.keys(Sa[te]).map(wi.add.bind(wi));wi=Ma(wi);function Ho(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!oi)return Promise.resolve();var c=jt.documentElement.classList,d=function(H){return c.add("".concat(To,"-").concat(H))},m=function(H){return c.remove("".concat(To,"-").concat(H))},y=ft.autoFetchSvg?wi:mn.map(function(z){return"fa-".concat(z)}).concat(Object.keys(mg));y.includes("fa")||y.push("fa");var S=[".".concat(_c,":not([").concat(Yi,"])")].concat(y.map(function(z){return".".concat(z,":not([").concat(Yi,"])")})).join(", ");if(S.length===0)return Promise.resolve();var L=[];try{L=ia(s.querySelectorAll(S))}catch{}if(L.length>0)d("pending"),m("complete");else return Promise.resolve();var I=Sn.begin("onTree"),F=L.reduce(function(z,H){try{var G=$c(H);G&&z.push(G)}catch(J){Tc||J.name==="MissingIcon"&&console.error(J)}return z},[]);return new Promise(function(z,H){Promise.all(F).then(function(G){jc(G,function(){d("active"),d("complete"),m("pending"),typeof n=="function"&&n(),I(),z()})}).catch(function(G){I(),H(G)})})}function bg(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;$c(s).then(function(c){c&&jc([c],n)})}function vg(s){return function(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=(n||{}).icon?n:zr(n||{}),m=c.mask;return m&&(m=(m||{}).icon?m:zr(m||{})),s(d,ot(ot({},c),{},{mask:m}))}}var yg=function(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=c.transform,m=d===void 0?Ge:d,y=c.symbol,S=y===void 0?!1:y,L=c.mask,I=L===void 0?null:L,F=c.maskId,z=F===void 0?null:F,H=c.title,G=H===void 0?null:H,J=c.titleId,bt=J===void 0?null:J,lt=c.classes,Ot=lt===void 0?[]:lt,et=c.attributes,R=et===void 0?{}:et,ct=c.styles,ut=ct===void 0?{}:ct;if(n){var W=n.prefix,it=n.iconName,Mt=n.icon;return Ws(ot({type:"icon"},n),function(){return Di("beforeDOMElementCreation",{iconDefinition:n,params:c}),ft.autoA11y&&(G?R["aria-labelledby"]="".concat(ft.replacementClass,"-title-").concat(bt||Ea()):(R["aria-hidden"]="true",R.focusable="false")),An({icons:{main:Fr(Mt),mask:I?Fr(I.icon):{found:!1,width:null,height:null,icon:{}}},prefix:W,iconName:it,transform:ot(ot({},Ge),m),symbol:S,title:G,maskId:z,titleId:bt,extra:{attributes:R,styles:ut,classes:Ot}})})}},wg={mixout:function(){return{icon:vg(yg)}},hooks:function(){return{mutationObserverCallbacks:function(c){return c.treeCallback=Ho,c.nodeCallback=bg,c}}},provides:function(n){n.i2svg=function(c){var d=c.node,m=d===void 0?jt:d,y=c.callback,S=y===void 0?function(){}:y;return Ho(m,S)},n.generateSvgReplacementMutation=function(c,d){var m=d.iconName,y=d.title,S=d.titleId,L=d.prefix,I=d.transform,F=d.symbol,z=d.mask,H=d.maskId,G=d.extra;return new Promise(function(J,bt){Promise.all([Nr(m,L),z.iconName?Nr(z.iconName,z.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(lt){var Ot=fn(lt,2),et=Ot[0],R=Ot[1];J([c,An({icons:{main:et,mask:R},prefix:L,iconName:m,transform:I,symbol:F,maskId:H,title:y,titleId:S,extra:G,watchable:!0})])}).catch(bt)})},n.generateAbstractIcon=function(c){var d=c.children,m=c.attributes,y=c.main,S=c.transform,L=c.styles,I=Ds(L);I.length>0&&(m.style=I);var F;return vn(S)&&(F=ri("generateAbstractTransformGrouping",{main:y,transform:S,containerWidth:y.width,iconWidth:y.width})),d.push(F||y.icon),{children:d,attributes:m}}}},kg={mixout:function(){return{layer:function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=d.classes,y=m===void 0?[]:m;return Ws({type:"layer"},function(){Di("beforeDOMElementCreation",{assembler:c,params:d});var S=[];return c(function(L){Array.isArray(L)?L.map(function(I){S=S.concat(I.abstract)}):S=S.concat(L.abstract)}),[{tag:"span",attributes:{class:["".concat(ft.cssPrefix,"-layers")].concat(Ma(y)).join(" ")},children:S}]})}}}},Ag={mixout:function(){return{counter:function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=d.title,y=m===void 0?null:m,S=d.classes,L=S===void 0?[]:S,I=d.attributes,F=I===void 0?{}:I,z=d.styles,H=z===void 0?{}:z;return Ws({type:"counter",content:c},function(){return Di("beforeDOMElementCreation",{content:c,params:d}),ig({content:c.toString(),title:y,extra:{attributes:F,styles:H,classes:["".concat(ft.cssPrefix,"-layers-counter")].concat(Ma(L))}})})}}}},Sg={mixout:function(){return{text:function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=d.transform,y=m===void 0?Ge:m,S=d.title,L=S===void 0?null:S,I=d.classes,F=I===void 0?[]:I,z=d.attributes,H=z===void 0?{}:z,G=d.styles,J=G===void 0?{}:G;return Ws({type:"text",content:c},function(){return Di("beforeDOMElementCreation",{content:c,params:d}),zo({content:c,transform:ot(ot({},Ge),y),title:L,extra:{attributes:H,styles:J,classes:["".concat(ft.cssPrefix,"-layers-text")].concat(Ma(F))}})})}}},provides:function(n){n.generateLayersText=function(c,d){var m=d.title,y=d.transform,S=d.extra,L=null,I=null;if(Pc){var F=parseInt(getComputedStyle(c).fontSize,10),z=c.getBoundingClientRect();L=z.width/F,I=z.height/F}return ft.autoA11y&&!m&&(S.attributes["aria-hidden"]="true"),Promise.resolve([c,zo({content:c.innerHTML,width:L,height:I,transform:y,title:m,extra:S,watchable:!0})])}}},Cg=new RegExp('"',"ug"),Bo=[1105920,1112319];function Pg(s){var n=s.replace(Cg,""),c=Yf(n,0),d=c>=Bo[0]&&c<=Bo[1],m=n.length===2?n[0]===n[1]:!1;return{value:Mr(m?n[0]:n),isSecondary:d||m}}function Wo(s,n){var c="".concat(pf).concat(n.replace(":","-"));return new Promise(function(d,m){if(s.getAttribute(c)!==null)return d();var y=ia(s.children),S=y.filter(function(Mt){return Mt.getAttribute(Ir)===n})[0],L=vi.getComputedStyle(s,n),I=L.getPropertyValue("font-family").match(yf),F=L.getPropertyValue("font-weight"),z=L.getPropertyValue("content");if(S&&!I)return s.removeChild(S),d();if(I&&z!=="none"&&z!==""){var H=L.getPropertyValue("content"),G=~["Sharp"].indexOf(I[2])?te:Gt,J=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(I[2])?Ca[G][I[2].toLowerCase()]:wf[G][F],bt=Pg(H),lt=bt.value,Ot=bt.isSecondary,et=I[0].startsWith("FontAwesome"),R=wn(J,lt),ct=R;if(et){var ut=jf(lt);ut.iconName&&ut.prefix&&(R=ut.iconName,J=ut.prefix)}if(R&&!Ot&&(!S||S.getAttribute(pn)!==J||S.getAttribute(xn)!==ct)){s.setAttribute(c,ct),S&&s.removeChild(S);var W=xg(),it=W.extra;it.attributes[Ir]=n,Nr(R,J).then(function(Mt){var Ut=An(ot(ot({},W),{},{icons:{main:Mt,mask:kn()},prefix:J,iconName:ct,extra:it,watchable:!0})),re=jt.createElementNS("http://www.w3.org/2000/svg","svg");n==="::before"?s.insertBefore(re,s.firstChild):s.appendChild(re),re.outerHTML=Ut.map(function(de){return Ra(de)}).join(` -`),s.removeAttribute(c),d()}).catch(m)}else d()}else d()})}function Lg(s){return Promise.all([Wo(s,"::before"),Wo(s,"::after")])}function Eg(s){return s.parentNode!==document.head&&!~mf.indexOf(s.tagName.toUpperCase())&&!s.getAttribute(Ir)&&(!s.parentNode||s.parentNode.tagName!=="svg")}function Vo(s){if(oi)return new Promise(function(n,c){var d=ia(s.querySelectorAll("*")).filter(Eg).map(Lg),m=Sn.begin("searchPseudoElements");Uc(),Promise.all(d).then(function(){m(),Yr(),n()}).catch(function(){m(),Yr(),c()})})}var Tg={hooks:function(){return{mutationObserverCallbacks:function(c){return c.pseudoElementsCallback=Vo,c}}},provides:function(n){n.pseudoElements2svg=function(c){var d=c.node,m=d===void 0?jt:d;ft.searchPseudoElements&&Vo(m)}}},Go=!1,_g={mixout:function(){return{dom:{unwatch:function(){Uc(),Go=!0}}}},hooks:function(){return{bootstrap:function(){Yo(Rr("mutationObserverCallbacks",{}))},noAuto:function(){ug()},watch:function(c){var d=c.observeMutationsRoot;Go?Yr():Yo(Rr("mutationObserverCallbacks",{observeMutationsRoot:d}))}}}},jo=function(n){var c={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return n.toLowerCase().split(" ").reduce(function(d,m){var y=m.toLowerCase().split("-"),S=y[0],L=y.slice(1).join("-");if(S&&L==="h")return d.flipX=!0,d;if(S&&L==="v")return d.flipY=!0,d;if(L=parseFloat(L),isNaN(L))return d;switch(S){case"grow":d.size=d.size+L;break;case"shrink":d.size=d.size-L;break;case"left":d.x=d.x-L;break;case"right":d.x=d.x+L;break;case"up":d.y=d.y-L;break;case"down":d.y=d.y+L;break;case"rotate":d.rotate=d.rotate+L;break}return d},c)},Ig={mixout:function(){return{parse:{transform:function(c){return jo(c)}}}},hooks:function(){return{parseNodeAttributes:function(c,d){var m=d.getAttribute("data-fa-transform");return m&&(c.transform=jo(m)),c}}},provides:function(n){n.generateAbstractTransformGrouping=function(c){var d=c.main,m=c.transform,y=c.containerWidth,S=c.iconWidth,L={transform:"translate(".concat(y/2," 256)")},I="translate(".concat(m.x*32,", ").concat(m.y*32,") "),F="scale(".concat(m.size/16*(m.flipX?-1:1),", ").concat(m.size/16*(m.flipY?-1:1),") "),z="rotate(".concat(m.rotate," 0 0)"),H={transform:"".concat(I," ").concat(F," ").concat(z)},G={transform:"translate(".concat(S/2*-1," -256)")},J={outer:L,inner:H,path:G};return{tag:"g",attributes:ot({},J.outer),children:[{tag:"g",attributes:ot({},J.inner),children:[{tag:d.icon.tag,children:d.icon.children,attributes:ot(ot({},d.icon.attributes),J.path)}]}]}}}},lr={x:0,y:0,width:"100%",height:"100%"};function Uo(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return s.attributes&&(s.attributes.fill||n)&&(s.attributes.fill="black"),s}function Mg(s){return s.tag==="g"?s.children:[s]}var Og={hooks:function(){return{parseNodeAttributes:function(c,d){var m=d.getAttribute("data-fa-mask"),y=m?Bs(m.split(" ").map(function(S){return S.trim()})):kn();return y.prefix||(y.prefix=yi()),c.mask=y,c.maskId=d.getAttribute("data-fa-mask-id"),c}}},provides:function(n){n.generateAbstractMask=function(c){var d=c.children,m=c.attributes,y=c.main,S=c.mask,L=c.maskId,I=c.transform,F=y.width,z=y.icon,H=S.width,G=S.icon,J=Mf({transform:I,containerWidth:H,iconWidth:F}),bt={tag:"rect",attributes:ot(ot({},lr),{},{fill:"white"})},lt=z.children?{children:z.children.map(Uo)}:{},Ot={tag:"g",attributes:ot({},J.inner),children:[Uo(ot({tag:z.tag,attributes:ot(ot({},z.attributes),J.path)},lt))]},et={tag:"g",attributes:ot({},J.outer),children:[Ot]},R="mask-".concat(L||Ea()),ct="clip-".concat(L||Ea()),ut={tag:"mask",attributes:ot(ot({},lr),{},{id:R,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[bt,et]},W={tag:"defs",children:[{tag:"clipPath",attributes:{id:ct},children:Mg(G)},ut]};return d.push(W,{tag:"rect",attributes:ot({fill:"currentColor","clip-path":"url(#".concat(ct,")"),mask:"url(#".concat(R,")")},lr)}),{children:d,attributes:m}}}},Rg={provides:function(n){var c=!1;vi.matchMedia&&(c=vi.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){var d=[],m={fill:"currentColor"},y={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};d.push({tag:"path",attributes:ot(ot({},m),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var S=ot(ot({},y),{},{attributeName:"opacity"}),L={tag:"circle",attributes:ot(ot({},m),{},{cx:"256",cy:"364",r:"28"}),children:[]};return c||L.children.push({tag:"animate",attributes:ot(ot({},y),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ot(ot({},S),{},{values:"1;0;1;1;0;1;"})}),d.push(L),d.push({tag:"path",attributes:ot(ot({},m),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:c?[]:[{tag:"animate",attributes:ot(ot({},S),{},{values:"1;0;0;0;0;1;"})}]}),c||d.push({tag:"path",attributes:ot(ot({},m),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ot(ot({},S),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:d}}}},zg={hooks:function(){return{parseNodeAttributes:function(c,d){var m=d.getAttribute("data-fa-symbol"),y=m===null?!1:m===""?!0:m;return c.symbol=y,c}}}},Fg=[zf,wg,kg,Ag,Sg,Tg,_g,Ig,Og,Rg,zg];qf(Fg,{mixoutsTo:_e});_e.noAuto;_e.config;_e.library;_e.dom;var Dr=_e.parse;_e.findIconDefinition;_e.toHtml;var Ng=_e.icon;_e.layer;_e.text;_e.counter;function $o(s,n){var c=Object.keys(s);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(s);n&&(d=d.filter(function(m){return Object.getOwnPropertyDescriptor(s,m).enumerable})),c.push.apply(c,d)}return c}function ei(s){for(var n=1;n=0)continue;c[d]=s[d]}return c}function Hg(s,n){if(s==null)return{};var c=Dg(s,n),d,m;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(s);for(m=0;m=0)&&Object.prototype.propertyIsEnumerable.call(s,d)&&(c[d]=s[d])}return c}var Bg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qc={exports:{}};(function(s){(function(n){var c=function(et,R,ct){if(!F(R)||H(R)||G(R)||J(R)||I(R))return R;var ut,W=0,it=0;if(z(R))for(ut=[],it=R.length;W1&&arguments[1]!==void 0?arguments[1]:{},c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof s=="string")return s;var d=(s.children||[]).map(function(I){return Zc(I)}),m=Object.keys(s.attributes||{}).reduce(function(I,F){var z=s.attributes[F];switch(F){case"class":I.class=jg(z);break;case"style":I.style=Gg(z);break;default:I.attrs[F]=z}return I},{attrs:{},class:{},style:{}});c.class;var y=c.style,S=y===void 0?{}:y,L=Hg(c,Vg);return yc(s.tag,ei(ei(ei({},n),{},{class:m.class,style:ei(ei({},m.style),S)},m.attrs),L),d)}var Kc=!1;try{Kc=!0}catch{}function Ug(){if(!Kc&&console&&typeof console.error=="function"){var s;(s=console).error.apply(s,arguments)}}function cr(s,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?ke({},s,n):{}}function $g(s){var n,c=(n={"fa-spin":s.spin,"fa-pulse":s.pulse,"fa-fw":s.fixedWidth,"fa-border":s.border,"fa-li":s.listItem,"fa-inverse":s.inverse,"fa-flip":s.flip===!0,"fa-flip-horizontal":s.flip==="horizontal"||s.flip==="both","fa-flip-vertical":s.flip==="vertical"||s.flip==="both"},ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(n,"fa-".concat(s.size),s.size!==null),"fa-rotate-".concat(s.rotation),s.rotation!==null),"fa-pull-".concat(s.pull),s.pull!==null),"fa-swap-opacity",s.swapOpacity),"fa-bounce",s.bounce),"fa-shake",s.shake),"fa-beat",s.beat),"fa-fade",s.fade),"fa-beat-fade",s.beatFade),"fa-flash",s.flash),ke(ke(n,"fa-spin-pulse",s.spinPulse),"fa-spin-reverse",s.spinReverse));return Object.keys(c).map(function(d){return c[d]?d:null}).filter(function(d){return d})}function qo(s){if(s&&Ls(s)==="object"&&s.prefix&&s.iconName&&s.icon)return s;if(Dr.icon)return Dr.icon(s);if(s===null)return null;if(Ls(s)==="object"&&s.prefix&&s.iconName)return s;if(Array.isArray(s)&&s.length===2)return{prefix:s[0],iconName:s[1]};if(typeof s=="string")return{prefix:"fas",iconName:s}}var oe=Jl({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(n){return[!0,!1,"horizontal","vertical","both"].indexOf(n)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(n){return["right","left"].indexOf(n)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(n){return[90,180,270].indexOf(Number.parseInt(n,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(n){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(n)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(n,c){var d=c.attrs,m=Et(function(){return qo(n.icon)}),y=Et(function(){return cr("classes",$g(n))}),S=Et(function(){return cr("transform",typeof n.transform=="string"?Dr.transform(n.transform):n.transform)}),L=Et(function(){return cr("mask",qo(n.mask))}),I=Et(function(){return Ng(m.value,ei(ei(ei(ei({},y.value),S.value),L.value),{},{symbol:n.symbol,title:n.title,titleId:n.titleId,maskId:n.maskId}))});Te(I,function(z){if(!z)return Ug("Could not find one or more icon(s)",m.value,L.value)},{immediate:!0});var F=Et(function(){return I.value?Zc(I.value.abstract[0],{},d):null});return function(){return F.value}}}),hr={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]},qg={prefix:"fas",iconName:"hourglass-half",icon:[384,512,["hourglass-2"],"f252","M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64V75c0 42.4 16.9 83.1 46.9 113.1L146.7 256 78.9 323.9C48.9 353.9 32 394.6 32 437v11c-17.7 0-32 14.3-32 32s14.3 32 32 32H64 320h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V437c0-42.4-16.9-83.1-46.9-113.1L237.3 256l67.9-67.9c30-30 46.9-70.7 46.9-113.1V64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320 64 32zM96 75V64H288V75c0 19-5.6 37.4-16 53H112c-10.3-15.6-16-34-16-53zm16 309c3.5-5.3 7.6-10.3 12.1-14.9L192 301.3l67.9 67.9c4.6 4.6 8.6 9.6 12.1 14.9H112z"]},Zg={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]},Kg={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},Zo={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},Jg={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},Ko={prefix:"fas",iconName:"signal",icon:[640,512,[128246,"signal-5","signal-perfect"],"f012","M576 0c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V32c0-17.7 14.3-32 32-32zM448 96c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V128c0-17.7 14.3-32 32-32zM352 224V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32s32 14.3 32 32zM192 288c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V320c0-17.7 14.3-32 32-32zM96 416v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V416c0-17.7 14.3-32 32-32s32 14.3 32 32z"]},Qg={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},tp={prefix:"fas",iconName:"suitcase-medical",icon:[512,512,["medkit"],"f0fa","M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96v32V480H384V128 96 56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM96 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H96V96zM416 480h32c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H416V480zM224 208c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H288v48c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V320H176c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h48V208z"]},ep={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},dr=ep,ip={prefix:"fas",iconName:"medal",icon:[512,512,[127941],"f5a2","M4.1 38.2C1.4 34.2 0 29.4 0 24.6C0 11 11 0 24.6 0H133.9c11.2 0 21.7 5.9 27.4 15.5l68.5 114.1c-48.2 6.1-91.3 28.6-123.4 61.9L4.1 38.2zm503.7 0L405.6 191.5c-32.1-33.3-75.2-55.8-123.4-61.9L350.7 15.5C356.5 5.9 366.9 0 378.1 0H487.4C501 0 512 11 512 24.6c0 4.8-1.4 9.6-4.1 13.6zM80 336a176 176 0 1 1 352 0A176 176 0 1 1 80 336zm184.4-94.9c-3.4-7-13.3-7-16.8 0l-22.4 45.4c-1.4 2.8-4 4.7-7 5.1L168 298.9c-7.7 1.1-10.7 10.5-5.2 16l36.3 35.4c2.2 2.2 3.2 5.2 2.7 8.3l-8.6 49.9c-1.3 7.6 6.7 13.5 13.6 9.9l44.8-23.6c2.7-1.4 6-1.4 8.7 0l44.8 23.6c6.9 3.6 14.9-2.2 13.6-9.9l-8.6-49.9c-.5-3 .5-6.1 2.7-8.3l36.3-35.4c5.6-5.4 2.5-14.8-5.2-16l-50.1-7.3c-3-.4-5.7-2.4-7-5.1l-22.4-45.4z"]},ap={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},sp=ap,rp={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]},np={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},Jc={prefix:"fas",iconName:"graduation-cap",icon:[640,512,[127891,"mortar-board"],"f19d","M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z"]};const Hr=He(!0),ti=Et(()=>Hr.value),op={class:"flex"},lp={class:"grid cursor-pointer place-items-center"},cp=["checked"],hp=mu('',2),dp={__name:"TheThemeButton",setup(s){const n=He(Hr.value);return Te(n,c=>{Hr.value=c,c?document.getElementsByTagName("body")[0].classList.add("dark"):document.getElementsByTagName("body")[0].classList.remove("dark")}),(c,d)=>(yt(),At("div",op,[j("label",lp,[j("input",{type:"checkbox",onClick:d[0]||(d[0]=m=>n.value=!n.value),checked:n.value,class:"toggle theme-controller bg-slate-400 col-span-2 col-start-1 row-start-1 [--tglbg:#e2e8f0]"},null,8,cp),hp])]))}},$e=Object.create(null);$e.open="0";$e.close="1";$e.ping="2";$e.pong="3";$e.message="4";$e.upgrade="5";$e.noop="6";const gs=Object.create(null);Object.keys($e).forEach(s=>{gs[$e[s]]=s});const Br={type:"error",data:"parser error"},Qc=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",th=typeof ArrayBuffer=="function",eh=s=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s&&s.buffer instanceof ArrayBuffer,Pn=({type:s,data:n},c,d)=>Qc&&n instanceof Blob?c?d(n):Jo(n,d):th&&(n instanceof ArrayBuffer||eh(n))?c?d(n):Jo(new Blob([n]),d):d($e[s]+(n||"")),Jo=(s,n)=>{const c=new FileReader;return c.onload=function(){const d=c.result.split(",")[1];n("b"+(d||""))},c.readAsDataURL(s)};function Qo(s){return s instanceof Uint8Array?s:s instanceof ArrayBuffer?new Uint8Array(s):new Uint8Array(s.buffer,s.byteOffset,s.byteLength)}let ur;function up(s,n){if(Qc&&s.data instanceof Blob)return s.data.arrayBuffer().then(Qo).then(n);if(th&&(s.data instanceof ArrayBuffer||eh(s.data)))return n(Qo(s.data));Pn(s,!1,c=>{ur||(ur=new TextEncoder),n(ur.encode(c))})}const tl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",da=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let s=0;s{let n=s.length*.75,c=s.length,d,m=0,y,S,L,I;s[s.length-1]==="="&&(n--,s[s.length-2]==="="&&n--);const F=new ArrayBuffer(n),z=new Uint8Array(F);for(d=0;d>4,z[m++]=(S&15)<<4|L>>2,z[m++]=(L&3)<<6|I&63;return F},gp=typeof ArrayBuffer=="function",Ln=(s,n)=>{if(typeof s!="string")return{type:"message",data:ih(s,n)};const c=s.charAt(0);return c==="b"?{type:"message",data:pp(s.substring(1),n)}:gs[c]?s.length>1?{type:gs[c],data:s.substring(1)}:{type:gs[c]}:Br},pp=(s,n)=>{if(gp){const c=fp(s);return ih(c,n)}else return{base64:!0,data:s}},ih=(s,n)=>{switch(n){case"blob":return s instanceof Blob?s:new Blob([s]);case"arraybuffer":default:return s instanceof ArrayBuffer?s:s.buffer}},ah="",xp=(s,n)=>{const c=s.length,d=new Array(c);let m=0;s.forEach((y,S)=>{Pn(y,!1,L=>{d[S]=L,++m===c&&n(d.join(ah))})})},mp=(s,n)=>{const c=s.split(ah),d=[];for(let m=0;m{const d=c.length;let m;if(d<126)m=new Uint8Array(1),new DataView(m.buffer).setUint8(0,d);else if(d<65536){m=new Uint8Array(3);const y=new DataView(m.buffer);y.setUint8(0,126),y.setUint16(1,d)}else{m=new Uint8Array(9);const y=new DataView(m.buffer);y.setUint8(0,127),y.setBigUint64(1,BigInt(d))}s.data&&typeof s.data!="string"&&(m[0]|=128),n.enqueue(m),n.enqueue(c)})}})}let fr;function es(s){return s.reduce((n,c)=>n+c.length,0)}function is(s,n){if(s[0].length===n)return s.shift();const c=new Uint8Array(n);let d=0;for(let m=0;mMath.pow(2,21)-1){L.enqueue(Br);break}m=z*Math.pow(2,32)+F.getUint32(4),d=3}else{if(es(c)s){L.enqueue(Br);break}}}})}const sh=4;function ae(s){if(s)return yp(s)}function yp(s){for(var n in ae.prototype)s[n]=ae.prototype[n];return s}ae.prototype.on=ae.prototype.addEventListener=function(s,n){return this._callbacks=this._callbacks||{},(this._callbacks["$"+s]=this._callbacks["$"+s]||[]).push(n),this};ae.prototype.once=function(s,n){function c(){this.off(s,c),n.apply(this,arguments)}return c.fn=n,this.on(s,c),this};ae.prototype.off=ae.prototype.removeListener=ae.prototype.removeAllListeners=ae.prototype.removeEventListener=function(s,n){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var c=this._callbacks["$"+s];if(!c)return this;if(arguments.length==1)return delete this._callbacks["$"+s],this;for(var d,m=0;m(s.hasOwnProperty(d)&&(c[d]=s[d]),c),{})}const wp=Ie.setTimeout,kp=Ie.clearTimeout;function Vs(s,n){n.useNativeTimers?(s.setTimeoutFn=wp.bind(Ie),s.clearTimeoutFn=kp.bind(Ie)):(s.setTimeoutFn=Ie.setTimeout.bind(Ie),s.clearTimeoutFn=Ie.clearTimeout.bind(Ie))}const Ap=1.33;function Sp(s){return typeof s=="string"?Cp(s):Math.ceil((s.byteLength||s.size)*Ap)}function Cp(s){let n=0,c=0;for(let d=0,m=s.length;d=57344?c+=3:(d++,c+=4);return c}function Pp(s){let n="";for(let c in s)s.hasOwnProperty(c)&&(n.length&&(n+="&"),n+=encodeURIComponent(c)+"="+encodeURIComponent(s[c]));return n}function Lp(s){let n={},c=s.split("&");for(let d=0,m=c.length;d0);return n}function oh(){const s=al(+new Date);return s!==il?(el=0,il=s):s+"."+al(el++)}for(;as{this.readyState="paused",n()};if(this.polling||!this.writable){let d=0;this.polling&&(d++,this.once("pollComplete",function(){--d||c()})),this.writable||(d++,this.once("drain",function(){--d||c()}))}else c()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(n){const c=d=>{if(this.readyState==="opening"&&d.type==="open"&&this.onOpen(),d.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(d)};mp(n,this.socket.binaryType).forEach(c),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const n=()=>{this.write([{type:"close"}])};this.readyState==="open"?n():this.once("open",n)}write(n){this.writable=!1,xp(n,c=>{this.doWrite(c,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const n=this.opts.secure?"https":"http",c=this.query||{};return this.opts.timestampRequests!==!1&&(c[this.opts.timestampParam]=oh()),!this.supportsBinary&&!c.sid&&(c.b64=1),this.createUri(n,c)}request(n={}){return Object.assign(n,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new je(this.uri(),n)}doWrite(n,c){const d=this.request({method:"POST",data:n});d.on("success",c),d.on("error",(m,y)=>{this.onError("xhr post error",m,y)})}doPoll(){const n=this.request();n.on("data",this.onData.bind(this)),n.on("error",(c,d)=>{this.onError("xhr poll error",c,d)}),this.pollXhr=n}}class je extends ae{constructor(n,c){super(),Vs(this,c),this.opts=c,this.method=c.method||"GET",this.uri=n,this.data=c.data!==void 0?c.data:null,this.create()}create(){var n;const c=rh(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");c.xdomain=!!this.opts.xd;const d=this.xhr=new ch(c);try{d.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){d.setDisableHeaderCheck&&d.setDisableHeaderCheck(!0);for(let m in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(m)&&d.setRequestHeader(m,this.opts.extraHeaders[m])}}catch{}if(this.method==="POST")try{d.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{d.setRequestHeader("Accept","*/*")}catch{}(n=this.opts.cookieJar)===null||n===void 0||n.addCookies(d),"withCredentials"in d&&(d.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(d.timeout=this.opts.requestTimeout),d.onreadystatechange=()=>{var m;d.readyState===3&&((m=this.opts.cookieJar)===null||m===void 0||m.parseCookies(d)),d.readyState===4&&(d.status===200||d.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof d.status=="number"?d.status:0)},0))},d.send(this.data)}catch(m){this.setTimeoutFn(()=>{this.onError(m)},0);return}typeof document<"u"&&(this.index=je.requestsCount++,je.requests[this.index]=this)}onError(n){this.emitReserved("error",n,this.xhr),this.cleanup(!0)}cleanup(n){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Ip,n)try{this.xhr.abort()}catch{}typeof document<"u"&&delete je.requests[this.index],this.xhr=null}}onLoad(){const n=this.xhr.responseText;n!==null&&(this.emitReserved("data",n),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}je.requestsCount=0;je.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",sl);else if(typeof addEventListener=="function"){const s="onpagehide"in Ie?"pagehide":"unload";addEventListener(s,sl,!1)}}function sl(){for(let s in je.requests)je.requests.hasOwnProperty(s)&&je.requests[s].abort()}const Tn=typeof Promise=="function"&&typeof Promise.resolve=="function"?n=>Promise.resolve().then(n):(n,c)=>c(n,0),ss=Ie.WebSocket||Ie.MozWebSocket,rl=!0,Rp="arraybuffer",nl=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class zp extends En{constructor(n){super(n),this.supportsBinary=!n.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const n=this.uri(),c=this.opts.protocols,d=nl?{}:rh(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(d.headers=this.opts.extraHeaders);try{this.ws=rl&&!nl?c?new ss(n,c):new ss(n):new ss(n,c,d)}catch(m){return this.emitReserved("error",m)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=n=>this.onClose({description:"websocket connection closed",context:n}),this.ws.onmessage=n=>this.onData(n.data),this.ws.onerror=n=>this.onError("websocket error",n)}write(n){this.writable=!1;for(let c=0;c{const S={};try{rl&&this.ws.send(y)}catch{}m&&Tn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const n=this.opts.secure?"wss":"ws",c=this.query||{};return this.opts.timestampRequests&&(c[this.opts.timestampParam]=oh()),this.supportsBinary||(c.b64=1),this.createUri(n,c)}check(){return!!ss}}class Fp extends En{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(n=>{this.onError("webtransport error",n)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(n=>{const c=vp(Number.MAX_SAFE_INTEGER,this.socket.binaryType),d=n.readable.pipeThrough(c).getReader(),m=bp();m.readable.pipeTo(n.writable),this.writer=m.writable.getWriter();const y=()=>{d.read().then(({done:L,value:I})=>{L||(this.onPacket(I),y())}).catch(L=>{})};y();const S={type:"open"};this.query.sid&&(S.data=`{"sid":"${this.query.sid}"}`),this.writer.write(S).then(()=>this.onOpen())})}))}write(n){this.writable=!1;for(let c=0;c{m&&Tn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var n;(n=this.transport)===null||n===void 0||n.close()}}const Np={websocket:zp,webtransport:Fp,polling:Op},Xp=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Yp=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Vr(s){if(s.length>2e3)throw"URI too long";const n=s,c=s.indexOf("["),d=s.indexOf("]");c!=-1&&d!=-1&&(s=s.substring(0,c)+s.substring(c,d).replace(/:/g,";")+s.substring(d,s.length));let m=Xp.exec(s||""),y={},S=14;for(;S--;)y[Yp[S]]=m[S]||"";return c!=-1&&d!=-1&&(y.source=n,y.host=y.host.substring(1,y.host.length-1).replace(/;/g,":"),y.authority=y.authority.replace("[","").replace("]","").replace(/;/g,":"),y.ipv6uri=!0),y.pathNames=Dp(y,y.path),y.queryKey=Hp(y,y.query),y}function Dp(s,n){const c=/\/{2,9}/g,d=n.replace(c,"/").split("/");return(n.slice(0,1)=="/"||n.length===0)&&d.splice(0,1),n.slice(-1)=="/"&&d.splice(d.length-1,1),d}function Hp(s,n){const c={};return n.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(d,m,y){m&&(c[m]=y)}),c}let hh=class Vi extends ae{constructor(n,c={}){super(),this.binaryType=Rp,this.writeBuffer=[],n&&typeof n=="object"&&(c=n,n=null),n?(n=Vr(n),c.hostname=n.host,c.secure=n.protocol==="https"||n.protocol==="wss",c.port=n.port,n.query&&(c.query=n.query)):c.host&&(c.hostname=Vr(c.host).host),Vs(this,c),this.secure=c.secure!=null?c.secure:typeof location<"u"&&location.protocol==="https:",c.hostname&&!c.port&&(c.port=this.secure?"443":"80"),this.hostname=c.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=c.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=c.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},c),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Lp(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(n){const c=Object.assign({},this.opts.query);c.EIO=sh,c.transport=n,this.id&&(c.sid=this.id);const d=Object.assign({},this.opts,{query:c,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[n]);return new Np[n](d)}open(){let n;if(this.opts.rememberUpgrade&&Vi.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)n="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else n=this.transports[0];this.readyState="opening";try{n=this.createTransport(n)}catch{this.transports.shift(),this.open();return}n.open(),this.setTransport(n)}setTransport(n){this.transport&&this.transport.removeAllListeners(),this.transport=n,n.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",c=>this.onClose("transport close",c))}probe(n){let c=this.createTransport(n),d=!1;Vi.priorWebsocketSuccess=!1;const m=()=>{d||(c.send([{type:"ping",data:"probe"}]),c.once("packet",H=>{if(!d)if(H.type==="pong"&&H.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",c),!c)return;Vi.priorWebsocketSuccess=c.name==="websocket",this.transport.pause(()=>{d||this.readyState!=="closed"&&(z(),this.setTransport(c),c.send([{type:"upgrade"}]),this.emitReserved("upgrade",c),c=null,this.upgrading=!1,this.flush())})}else{const G=new Error("probe error");G.transport=c.name,this.emitReserved("upgradeError",G)}}))};function y(){d||(d=!0,z(),c.close(),c=null)}const S=H=>{const G=new Error("probe error: "+H);G.transport=c.name,y(),this.emitReserved("upgradeError",G)};function L(){S("transport closed")}function I(){S("socket closed")}function F(H){c&&H.name!==c.name&&y()}const z=()=>{c.removeListener("open",m),c.removeListener("error",S),c.removeListener("close",L),this.off("close",I),this.off("upgrading",F)};c.once("open",m),c.once("error",S),c.once("close",L),this.once("close",I),this.once("upgrading",F),this.upgrades.indexOf("webtransport")!==-1&&n!=="webtransport"?this.setTimeoutFn(()=>{d||c.open()},200):c.open()}onOpen(){if(this.readyState="open",Vi.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let n=0;const c=this.upgrades.length;for(;n{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const n=this.getWritablePackets();this.transport.send(n),this.prevBufferLen=n.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let c=1;for(let d=0;d0&&c>this.maxPayload)return this.writeBuffer.slice(0,d);c+=2}return this.writeBuffer}write(n,c,d){return this.sendPacket("message",n,c,d),this}send(n,c,d){return this.sendPacket("message",n,c,d),this}sendPacket(n,c,d,m){if(typeof c=="function"&&(m=c,c=void 0),typeof d=="function"&&(m=d,d=null),this.readyState==="closing"||this.readyState==="closed")return;d=d||{},d.compress=d.compress!==!1;const y={type:n,data:c,options:d};this.emitReserved("packetCreate",y),this.writeBuffer.push(y),m&&this.once("flush",m),this.flush()}close(){const n=()=>{this.onClose("forced close"),this.transport.close()},c=()=>{this.off("upgrade",c),this.off("upgradeError",c),n()},d=()=>{this.once("upgrade",c),this.once("upgradeError",c)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?d():n()}):this.upgrading?d():n()),this}onError(n){Vi.priorWebsocketSuccess=!1,this.emitReserved("error",n),this.onClose("transport error",n)}onClose(n,c){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",n,c),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(n){const c=[];let d=0;const m=n.length;for(;dtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s.buffer instanceof ArrayBuffer,dh=Object.prototype.toString,Gp=typeof Blob=="function"||typeof Blob<"u"&&dh.call(Blob)==="[object BlobConstructor]",jp=typeof File=="function"||typeof File<"u"&&dh.call(File)==="[object FileConstructor]";function _n(s){return Wp&&(s instanceof ArrayBuffer||Vp(s))||Gp&&s instanceof Blob||jp&&s instanceof File}function ps(s,n){if(!s||typeof s!="object")return!1;if(Array.isArray(s)){for(let c=0,d=s.length;c=0&&s.num{delete this.acks[n];for(let L=0;L{this.io.clearTimeoutFn(y),c.apply(this,L)};S.withError=!0,this.acks[n]=S}emitWithAck(n,...c){return new Promise((d,m)=>{const y=(S,L)=>S?m(S):d(L);y.withError=!0,c.push(y),this.emit(n,...c)})}_addToQueue(n){let c;typeof n[n.length-1]=="function"&&(c=n.pop());const d={id:this._queueSeq++,tryCount:0,pending:!1,args:n,flags:Object.assign({fromQueue:!0},this.flags)};n.push((m,...y)=>d!==this._queue[0]?void 0:(m!==null?d.tryCount>this._opts.retries&&(this._queue.shift(),c&&c(m)):(this._queue.shift(),c&&c(null,...y)),d.pending=!1,this._drainQueue())),this._queue.push(d),this._drainQueue()}_drainQueue(n=!1){if(!this.connected||this._queue.length===0)return;const c=this._queue[0];c.pending&&!n||(c.pending=!0,c.tryCount++,this.flags=c.flags,this.emit.apply(this,c.args))}packet(n){n.nsp=this.nsp,this.io._packet(n)}onopen(){typeof this.auth=="function"?this.auth(n=>{this._sendConnectPacket(n)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(n){this.packet({type:zt.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},n):n})}onerror(n){this.connected||this.emitReserved("connect_error",n)}onclose(n,c){this.connected=!1,delete this.id,this.emitReserved("disconnect",n,c),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(n=>{if(!this.sendBuffer.some(d=>String(d.id)===n)){const d=this.acks[n];delete this.acks[n],d.withError&&d.call(this,new Error("socket has been disconnected"))}})}onpacket(n){if(n.nsp===this.nsp)switch(n.type){case zt.CONNECT:n.data&&n.data.sid?this.onconnect(n.data.sid,n.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case zt.EVENT:case zt.BINARY_EVENT:this.onevent(n);break;case zt.ACK:case zt.BINARY_ACK:this.onack(n);break;case zt.DISCONNECT:this.ondisconnect();break;case zt.CONNECT_ERROR:this.destroy();const d=new Error(n.data.message);d.data=n.data.data,this.emitReserved("connect_error",d);break}}onevent(n){const c=n.data||[];n.id!=null&&c.push(this.ack(n.id)),this.connected?this.emitEvent(c):this.receiveBuffer.push(Object.freeze(c))}emitEvent(n){if(this._anyListeners&&this._anyListeners.length){const c=this._anyListeners.slice();for(const d of c)d.apply(this,n)}super.emit.apply(this,n),this._pid&&n.length&&typeof n[n.length-1]=="string"&&(this._lastOffset=n[n.length-1])}ack(n){const c=this;let d=!1;return function(...m){d||(d=!0,c.packet({type:zt.ACK,id:n,data:m}))}}onack(n){const c=this.acks[n.id];typeof c=="function"&&(delete this.acks[n.id],c.withError&&n.data.unshift(null),c.apply(this,n.data))}onconnect(n,c){this.id=n,this.recovered=c&&this._pid===c,this._pid=c,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(n=>this.emitEvent(n)),this.receiveBuffer=[],this.sendBuffer.forEach(n=>{this.notifyOutgoingListeners(n),this.packet(n)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(n=>n()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:zt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(n){return this.flags.compress=n,this}get volatile(){return this.flags.volatile=!0,this}timeout(n){return this.flags.timeout=n,this}onAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(n),this}prependAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(n),this}offAny(n){if(!this._anyListeners)return this;if(n){const c=this._anyListeners;for(let d=0;d0&&s.jitter<=1?s.jitter:0,this.attempts=0}aa.prototype.duration=function(){var s=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),c=Math.floor(n*this.jitter*s);s=Math.floor(n*10)&1?s+c:s-c}return Math.min(s,this.max)|0};aa.prototype.reset=function(){this.attempts=0};aa.prototype.setMin=function(s){this.ms=s};aa.prototype.setMax=function(s){this.max=s};aa.prototype.setJitter=function(s){this.jitter=s};class Ur extends ae{constructor(n,c){var d;super(),this.nsps={},this.subs=[],n&&typeof n=="object"&&(c=n,n=void 0),c=c||{},c.path=c.path||"/socket.io",this.opts=c,Vs(this,c),this.reconnection(c.reconnection!==!1),this.reconnectionAttempts(c.reconnectionAttempts||1/0),this.reconnectionDelay(c.reconnectionDelay||1e3),this.reconnectionDelayMax(c.reconnectionDelayMax||5e3),this.randomizationFactor((d=c.randomizationFactor)!==null&&d!==void 0?d:.5),this.backoff=new aa({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(c.timeout==null?2e4:c.timeout),this._readyState="closed",this.uri=n;const m=c.parser||Qp;this.encoder=new m.Encoder,this.decoder=new m.Decoder,this._autoConnect=c.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(n){return arguments.length?(this._reconnection=!!n,this):this._reconnection}reconnectionAttempts(n){return n===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=n,this)}reconnectionDelay(n){var c;return n===void 0?this._reconnectionDelay:(this._reconnectionDelay=n,(c=this.backoff)===null||c===void 0||c.setMin(n),this)}randomizationFactor(n){var c;return n===void 0?this._randomizationFactor:(this._randomizationFactor=n,(c=this.backoff)===null||c===void 0||c.setJitter(n),this)}reconnectionDelayMax(n){var c;return n===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=n,(c=this.backoff)===null||c===void 0||c.setMax(n),this)}timeout(n){return arguments.length?(this._timeout=n,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(n){if(~this._readyState.indexOf("open"))return this;this.engine=new hh(this.uri,this.opts);const c=this.engine,d=this;this._readyState="opening",this.skipReconnect=!1;const m=Ne(c,"open",function(){d.onopen(),n&&n()}),y=L=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",L),n?n(L):this.maybeReconnectOnOpen()},S=Ne(c,"error",y);if(this._timeout!==!1){const L=this._timeout,I=this.setTimeoutFn(()=>{m(),y(new Error("timeout")),c.close()},L);this.opts.autoUnref&&I.unref(),this.subs.push(()=>{this.clearTimeoutFn(I)})}return this.subs.push(m),this.subs.push(S),this}connect(n){return this.open(n)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const n=this.engine;this.subs.push(Ne(n,"ping",this.onping.bind(this)),Ne(n,"data",this.ondata.bind(this)),Ne(n,"error",this.onerror.bind(this)),Ne(n,"close",this.onclose.bind(this)),Ne(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(n){try{this.decoder.add(n)}catch(c){this.onclose("parse error",c)}}ondecoded(n){Tn(()=>{this.emitReserved("packet",n)},this.setTimeoutFn)}onerror(n){this.emitReserved("error",n)}socket(n,c){let d=this.nsps[n];return d?this._autoConnect&&!d.active&&d.connect():(d=new uh(this,n,c),this.nsps[n]=d),d}_destroy(n){const c=Object.keys(this.nsps);for(const d of c)if(this.nsps[d].active)return;this._close()}_packet(n){const c=this.encoder.encode(n);for(let d=0;dn()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(n,c){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",n,c),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const n=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const c=this.backoff.duration();this._reconnecting=!0;const d=this.setTimeoutFn(()=>{n.skipReconnect||(this.emitReserved("reconnect_attempt",n.backoff.attempts),!n.skipReconnect&&n.open(m=>{m?(n._reconnecting=!1,n.reconnect(),this.emitReserved("reconnect_error",m)):n.onreconnect()}))},c);this.opts.autoUnref&&d.unref(),this.subs.push(()=>{this.clearTimeoutFn(d)})}}onreconnect(){const n=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",n)}}const la={};function xs(s,n){typeof s=="object"&&(n=s,s=void 0),n=n||{};const c=Bp(s,n.path||"/socket.io"),d=c.source,m=c.id,y=c.path,S=la[m]&&y in la[m].nsps,L=n.forceNew||n["force new connection"]||n.multiplex===!1||S;let I;return L?I=new Ur(d,n):(la[m]||(la[m]=new Ur(d,n)),I=la[m]),c.query&&!n.query&&(n.query=c.queryKey),I.socket(c.path,n)}Object.assign(xs,{Manager:Ur,Socket:uh,io:xs,connect:xs});var rs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ex(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ix="Expected a function",ll=NaN,ax="[object Symbol]",sx=/^\s+|\s+$/g,rx=/^[-+]0x[0-9a-f]+$/i,nx=/^0b[01]+$/i,ox=/^0o[0-7]+$/i,lx=parseInt,cx=typeof rs=="object"&&rs&&rs.Object===Object&&rs,hx=typeof self=="object"&&self&&self.Object===Object&&self,dx=cx||hx||Function("return this")(),ux=Object.prototype,fx=ux.toString,gx=Math.max,px=Math.min,gr=function(){return dx.Date.now()};function xx(s,n,c){var d,m,y,S,L,I,F=0,z=!1,H=!1,G=!0;if(typeof s!="function")throw new TypeError(ix);n=cl(n)||0,$r(c)&&(z=!!c.leading,H="maxWait"in c,y=H?gx(cl(c.maxWait)||0,n):y,G="trailing"in c?!!c.trailing:G);function J(it){var Mt=d,Ut=m;return d=m=void 0,F=it,S=s.apply(Ut,Mt),S}function bt(it){return F=it,L=setTimeout(et,n),z?J(it):S}function lt(it){var Mt=it-I,Ut=it-F,re=n-Mt;return H?px(re,y-Ut):re}function Ot(it){var Mt=it-I,Ut=it-F;return I===void 0||Mt>=n||Mt<0||H&&Ut>=y}function et(){var it=gr();if(Ot(it))return R(it);L=setTimeout(et,lt(it))}function R(it){return L=void 0,G&&d?J(it):(d=m=void 0,S)}function ct(){L!==void 0&&clearTimeout(L),F=0,d=I=m=L=void 0}function ut(){return L===void 0?S:R(gr())}function W(){var it=gr(),Mt=Ot(it);if(d=arguments,m=this,I=it,Mt){if(L===void 0)return bt(I);if(H)return L=setTimeout(et,n),J(I)}return L===void 0&&(L=setTimeout(et,n)),S}return W.cancel=ct,W.flush=ut,W}function $r(s){var n=typeof s;return!!s&&(n=="object"||n=="function")}function mx(s){return!!s&&typeof s=="object"}function bx(s){return typeof s=="symbol"||mx(s)&&fx.call(s)==ax}function cl(s){if(typeof s=="number")return s;if(bx(s))return ll;if($r(s)){var n=typeof s.valueOf=="function"?s.valueOf():s;s=$r(n)?n+"":n}if(typeof s!="string")return s===0?s:+s;s=s.replace(sx,"");var c=nx.test(s);return c||ox.test(s)?lx(s.slice(2),c?2:8):rx.test(s)?ll:+s}var vx=xx;const fh=ex(vx),yx=void 0,wx=30,gh={notificationEvents:[],notificationCounter:0,notificationAPICounter:0,notificationHistory:[],notificationHistoryConfig:{},userActivity:{},userActivityConfig:{},exercises:[],selected_exercises:[],progresses:{},diagnostic:{}},Dt=Ta({...gh}),za=Ta({connected:!1,zmq_last_time:!1}),se=xs(yx,{autoConnect:!0}),kx=Et(()=>Dt.exercises),hl=Et(()=>Dt.selected_exercises),dl=Et(()=>Dt.exercises.filter(s=>Dt.selected_exercises.includes(s.uuid))),ul=Et(()=>Dt.progresses),fl=Et(()=>Dt.notificationEvents),Ax=Et(()=>Dt.notificationCounter),Sx=Et(()=>Dt.notificationAPICounter),Cx=Et(()=>Object.keys(Dt.progresses).length),Wi=Et(()=>Dt.diagnostic),pr=Et(()=>Dt.notificationHistory),Px=Et(()=>Dt.notificationHistoryConfig),xr=Et(()=>Dt.userActivity),gl=Et(()=>Dt.userActivityConfig),Gi=Et(()=>za.connected),pl=Et(()=>za.zmq_last_time);function Lx(){Object.assign(Dt,gh)}function qr(){zx(),xh(),mh(),Gs(),Fx()}function Ex(s,n,c,d){Xx(s,{user_id:n,exercise_uuid:c,task_uuid:d})}function Tx(){Yx()}function _x(){Dx()}function Ix(s,n){Hx({exercise_uuid:s,selected:n})}function Mx(s){Bx(s)}function Ox(s){Wx(s)}const ph=fh(Gs,200,{leading:!0}),Rx=fh(Nx,1e3,{leading:!0});function zx(){se.emit("get_exercises",s=>{Dt.exercises=s})}function xh(){se.emit("get_selected_exercises",s=>{Dt.selected_exercises=s})}function mh(){se.emit("get_notifications",s=>{Dt.notificationEvents=s})}function Gs(){se.emit("get_progress",s=>{Dt.progresses=s})}function Fx(){se.emit("get_users_activity",s=>{console.log(s),Dt.userActivity=s.activity,Dt.userActivityConfig=s.config})}function Nx(){Dt.diagnostic={},se.emit("get_diagnostic",s=>{Dt.diagnostic=s})}function Xx(s,n){const c=s?"mark_task_incomplete":"mark_task_completed";se.emit(c,n,()=>{Gs()})}function Yx(){se.emit("reset_all_exercise_progress",()=>{Gs()})}function Dx(){se.emit("reset_notifications",()=>{mh()})}function Hx(s){se.emit("change_exercise_selection",s,()=>{xh()})}function Bx(s){const n={verbose:s};se.emit("toggle_verbose_mode",n,()=>{})}function Wx(s){const n={apiquery:s};se.emit("toggle_apiquery_mode",n,()=>{})}se.on("connect",()=>{za.connected=!0});se.on("disconnect",()=>{za.connected=!1});se.on("notification",s=>{Dt.notificationCounter+=1,s.is_api_request&&(Dt.notificationAPICounter+=1),Vx(Dt.notificationEvents,s,wx)});se.on("new_user",s=>{ph()});se.on("refresh_score",s=>{ph()});se.on("keep_alive",s=>{za.zmq_last_time=s.zmq_last_time});se.on("update_notification_history",s=>{Dt.notificationHistory=s.history,Dt.notificationHistoryConfig=s.config});se.on("update_users_activity",s=>{Dt.userActivity=s.activity,Dt.userActivityConfig=s.config});function Vx(s,n,c){s.unshift(n),s.length>c&&(s.length=c)}const Gx={class:"modal-box w-11/12 max-w-6xl top-24 absolute bg-slate-200 dark:bg-slate-600 text-slate-700 dark:text-slate-200"},jx={class:"text-2xl font-bold"},Ux=j("div",{class:"modal-action"},[j("form",{method:"dialog"},[j("button",{class:"btn btn-sm btn-circle btn-ghost absolute right-2 top-2"},"✕")])],-1),$x={class:"flex mb-5 gap-2"},qx={class:"text-lg font-semibold"},Zx={class:"label cursor-pointer justify-start"},Kx=["onChange","checked","value"],Jx={class:"font-mono font-semibold text-base ml-3"},Qx={class:"text-lg font-semibold mt-4"},tm={class:"font-semibold ml-1 my-3"},em=j("strong",null,"MISP Status:",-1),im={class:"ml-2"},am={key:0,class:"loading loading-dots loading-sm h-4 inline-block align-middle"},sm={key:1,class:"font-bold"},rm={class:"font-semibold ml-1 my-3"},nm=j("strong",null,"ZMQ Status:",-1),om={class:"ml-2"},lm={key:0,class:"loading loading-dots loading-sm h-4 inline-block align-middle"},cm={key:1,class:"font-bold"},hm=j("h4",{class:"font-semibold ml-1"},[j("strong",null,"MISP Settings:")],-1),dm={class:"ml-3"},um={key:0,class:"flex justify-center"},fm=j("span",{class:"loading loading-dots loading-lg"},null,-1),gm=[fm],pm={class:"label cursor-pointer justify-start p-0 pt-1"},xm=["checked","value"],mm={class:"font-mono font-semibold text-base ml-3"},bm=j("form",{method:"dialog",class:"modal-backdrop"},[j("button",null,"close")],-1),vm={__name:"TheAdminPanel",setup(s){const n=He(null),c=Et(()=>Object.keys(Wi.value).length==0),d=Et(()=>{var I;return((I=Wi.value.version)==null?void 0:I.version)!==void 0}),m=Et(()=>Wi.value.zmq_message_count>0),y=Et(()=>Wi.value.zmq_message_count);function S(I,F){Ix(F,I)}function L(){n.value.showModal(),Rx()}return(I,F)=>(yt(),At(Kt,null,[j("button",{onClick:F[0]||(F[0]=z=>L()),class:"px-2 py-1 rounded-md focus-outline font-semibold bg-blue-600 text-slate-200 hover:bg-blue-700"},[It(dt(oe),{icon:dt(Zo),class:"mr-1"},null,8,["icon"]),ne(" Admin panel ")]),j("dialog",{ref_key:"admin_modal",ref:n,class:"modal"},[j("div",Gx,[j("h2",jx,[It(dt(oe),{icon:dt(Zo),class:""},null,8,["icon"]),ne(" Admin panel ")]),Ux,j("div",null,[j("div",$x,[j("button",{onClick:F[1]||(F[1]=z=>dt(qr)()),class:"h-10 min-h-10 px-2 py-1 font-semibold bg-blue-600 text-slate-200 hover:bg-blue-700 btn btn-sm gap-1"},[It(dt(oe),{icon:dt(rp),size:"lg","fixed-width":""},null,8,["icon"]),ne(" Full refresh ")]),j("button",{onClick:F[2]||(F[2]=z=>dt(Tx)()),class:"h-10 min-h-10 px-2 py-1 font-semibold bg-red-600 text-slate-200 hover:bg-red-700 btn btn-sm gap-1"},[It(dt(oe),{icon:dt(Qg),size:"lg","fixed-width":""},null,8,["icon"]),ne(" Reset All Exercises ")]),j("button",{onClick:F[3]||(F[3]=z=>dt(_x)()),class:"h-10 min-h-10 px-2 py-1 font-semibold bg-amber-600 text-slate-200 hover:bg-amber-700 btn btn-sm gap-1"},[It(dt(oe),{icon:dt(Kg),size:"lg"},{default:Ul(()=>[ne(" fixed-width")]),_:1},8,["icon"]),ne(" Clear Live Logs ")])]),j("h3",qx,[It(dt(oe),{icon:dt(Jc),class:"mr-1"},null,8,["icon"]),ne(" Selected Exercises ")]),(yt(!0),At(Kt,null,Mi(dt(kx),z=>(yt(),At("div",{key:z.name,class:"form-control pl-3"},[j("label",Zx,[j("input",{onChange:H=>S(H.target.checked,z.uuid),type:"checkbox",checked:dt(hl).includes(z.uuid),value:z.uuid,class:ie(`checkbox ${dt(hl).includes(z.uuid)?"checkbox-success":""} [--fallback-bc:#94a3b8]`)},null,42,Kx),j("span",Jx,Wt(z.name),1)])]))),128)),j("h3",Qx,[It(dt(oe),{icon:dt(tp),class:"mr-1"},null,8,["icon"]),ne(" Diagnostic ")]),j("h4",tm,[em,j("span",im,[j("span",{class:ie({"rounded-lg py-1 px-2":!0,"dark:bg-neutral-800 bg-neutral-400 text-slate-800 dark:text-slate-200":c.value,"dark:bg-green-700 bg-green-500 text-slate-800 dark:text-slate-200":!c.value&&d.value,"dark:bg-red-700 bg-red-700 text-slate-200 dark:text-slate-200":!c.value&&!d.value})},[c.value?(yt(),At("span",am)):(yt(),At("span",sm,Wt(d.value?`Online (${dt(Wi).version.version})`:"Unreachable"),1))],2)])]),j("h4",rm,[nm,j("span",om,[j("span",{class:ie({"rounded-lg py-1 px-2":!0,"dark:bg-neutral-800 bg-neutral-400 text-slate-800 dark:text-slate-200":c.value,"dark:bg-green-700 bg-green-500 text-slate-800 dark:text-slate-200":!c.value&&m.value,"dark:bg-red-700 bg-red-700 text-slate-200 dark:text-slate-200":!c.value&&!m.value})},[c.value?(yt(),At("span",lm)):(yt(),At("span",cm,Wt(m.value?`ZMQ Active (${y.value} messages)`:"No message received yet"),1))],2)])]),c.value||d.value?(yt(),At(Kt,{key:0},[hm,j("div",dm,[c.value?(yt(),At("div",um,gm)):Xi("",!0),(yt(!0),At(Kt,null,Mi(dt(Wi).settings,(z,H)=>(yt(),At("div",{key:H},[j("div",null,[j("label",pm,[j("input",{type:"checkbox",checked:z,value:H,class:ie(`checkbox ${z?"checkbox-success":"checkbox-danger"} [--fallback-bc:#cbd5e1]`),disabled:""},null,10,xm),j("span",mm,Wt(H),1)])])]))),128))])],64)):Xi("",!0)])]),bm],512)],64))}},ym={class:"flex flex-col justify-center mt-1"},wm=j("span",{class:"mr-1"},"Socket.IO:",-1),km={class:"font-semibold text-green-600 dark:text-green-400"},Am={class:"font-semibold text-slate-50"},Sm={key:0,class:"text-xs font-thin leading-3 inline-block text-center"},Cm={__name:"TheSocketConnectionState",setup(s){const n=He("?");function c(){pl.value!==!1?n.value=parseInt((new Date().getTime()-pl.value*1e3)/1e3):n.value="?"}return _a(()=>{setInterval(()=>{c()},1e3)}),(d,m)=>(yt(),At("span",ym,[j("span",{class:ie({"px-2 rounded-md inline-block w-48 leading-4":!0,"text-slate-900 dark:text-slate-400":dt(Gi),"text-slate-50 bg-red-600 px-2 py-1":!dt(Gi)})},[wm,Kn(j("span",km,"Connected",512),[[fo,dt(Gi)]]),Kn(j("span",Am,"Disconnected",512),[[fo,!dt(Gi)]])],2),dt(Gi)?(yt(),At("span",Sm,[n.value==0?(yt(),At(Kt,{key:0},[ne(" online ")],64)):(yt(),At(Kt,{key:1},[ne(" Last keep-alive: "+Wt(n.value)+"s ago ",1)],64))])):Xi("",!0)]))}},Pm={class:"my-2 --ml-1 bg-slate-50 dark:bg-slate-600 py-1 pl-1 pr-3 rounded-md relative flex flex-col"},Lm={class:"text-xxs flex justify-between h-full items-center text-slate-500 dark:text-slate-300"},Em={class:"-rotate-90 w-8 -ml-3"},Tm=j("span",{class:"-rotate-90 w-8 text-xs"},"–",-1),_m=j("span",{class:"-rotate-90 w-8 text-lg"},"–",-1),Im=j("span",{class:"-rotate-90 w-8 text-xs"},"–",-1),Mm=j("span",{class:"-rotate-90 w-8 -mr-1.5"},"- 0min",-1),Om={__name:"TheLiveLogsActivityGraph",setup(s){const n=He(null),c=[{data:Array.from(Array(12*20)).map(()=>0)}],d=Et(()=>pr.value.length>0),m=Et(()=>pr.value?y.value:c.value),y=Et(()=>[{data:Array.from(pr.value)}]),S=Et(()=>({chart:{type:"bar",width:"100%",height:32,sparkline:{enabled:!0},dropShadow:{enabled:!0,enabledOnSeries:void 0,top:2,left:1,blur:2,color:"#000",opacity:ti.value?.35:.15},animations:{enabled:!1,easing:"easeinout",speed:200}},colors:[ti.value?"#008ffb":"#1f9eff"],plotOptions:{bar:{columnWidth:"80%"}},yaxis:{min:0,labels:{show:!1}},tooltip:{enabled:!1}}));return(L,I)=>{const F=$l("apexchart");return yt(),At("div",Pm,[j("div",{class:ie(`${d.value?"absolute":"hidden"} h-10 -mt-1 w-full z-40`)},[j("div",Lm,[j("span",Em,"- "+Wt(dt(Px).buffer_timestamp_min)+"min",1),Tm,_m,Im,Mm])],2),j("i",{class:ie(["text-center text-slate-600 dark:text-slate-400",d.value?"hidden":"block"])}," - No recorded activity - ",2),It(F,{ref_key:"theChart",ref:n,class:ie(d.value?"block":"absolute h-8 w-full"),height:"32",width:"100%",options:S.value,series:m.value},null,8,["class","options","series"])])}}},Rm={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},zm={class:"mb-2 flex flex-wrap gap-x-3"},Fm={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Nm={class:"mr-1"},Xm={class:"font-bold"},Ym={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Dm={class:"mr-1"},Hm={class:"font-bold"},Bm={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Wm={class:"mr-1"},Vm={class:"font-bold"},Gm={class:"flex items-center"},jm={class:"mr-1 flex items-center cursor-pointer text-slate-700 dark:text-slate-300"},Um=["checked"],$m={class:"flex items-center"},qm={class:"mr-1 flex items-center cursor-pointer text-slate-700 dark:text-slate-300"},Zm=["checked"],Km={class:"bg-white dark:bg-slate-800 rounded-lg shadow-xl w-full"},Jm=j("thead",null,[j("tr",{class:"font-medium dark:text-slate-200 text-slate-600"},[j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-6 text-left"}),j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-2 text-left"},"User"),j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Time"),j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"URL"),j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Payload")])],-1),Qm={key:0},tb=j("td",{colspan:"5",class:"text-center border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-3 pl-6"},[j("i",null,"- No logs yet -")],-1),eb=[tb],ib={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1 pl-2 w-12 whitespace-nowrap"},ab={class:"inline ml-1"},sb=["title"],rb={class:"text-lg font-bold font-mono"},nb={class:"text-xs font-mono"},ob={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1"},lb={class:"border-b border-slate-100 dark:border-slate-700 text-sky-600 dark:text-sky-400 p-1"},cb={class:"flex items-center"},hb={key:0,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-amber-600 dark:text-neutral-100 bg-amber-600 text-neutral-100"},db={key:1,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-amber-600 dark:text-neutral-100 bg-amber-600 text-neutral-100"},ub={key:2,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-red-600 dark:text-neutral-100 bg-red-600 text-neutral-100"},fb={key:3,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-blue-600 dark:text-neutral-100 bg-blue-600 text-neutral-100"},gb={class:"text-sm inline"},pb={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-300 p-1"},xb={key:0,class:"border border-slate-200 dark:border-slate-600 bg-slate-100 dark:bg-slate-600 rounded-md"},mb={class:"p-1 text-xs"},bb={__name:"TheLiveLogs",setup(s){const n=He(!1),c=He(!1);Te(n,m=>{Mx(m==!0)}),Te(c,m=>{Ox(m==!0)});function d(m){return String(m).startsWith("2")?"text-green-500":String(m).startsWith("5")?"text-red-600":"text-amber-600"}return(m,y)=>(yt(),At(Kt,null,[j("h3",Rm,[It(dt(oe),{icon:dt(Ko)},null,8,["icon"]),ne(" Live logs ")]),j("div",zm,[j("span",Fm,[j("span",Nm,[It(dt(oe),{icon:dt(Zg),size:"sm"},null,8,["icon"]),ne(" Players: ")]),j("span",Xm,Wt(dt(Cx)),1)]),j("span",Ym,[j("span",Dm,[It(dt(oe),{icon:dt(Ko),size:"sm"},null,8,["icon"]),ne(" Total Queries: ")]),j("span",Hm,Wt(dt(Ax)),1)]),j("span",Bm,[j("span",Wm,[It(dt(oe),{icon:dt(dr),size:"sm",mask:dt(hr),transform:"shrink-7 left-1"},null,8,["icon","mask"]),ne(" Total API Queries: ")]),j("span",Vm,Wt(dt(Sx)),1)]),j("span",Gm,[j("label",jm,[j("input",{type:"checkbox",class:"toggle toggle-warning [--fallback-su:#22c55e] mr-1",checked:n.value,onChange:y[0]||(y[0]=S=>n.value=!n.value)},null,40,Um),ne(" Verbose ")])]),j("span",$m,[j("label",qm,[j("input",{type:"checkbox",class:"toggle toggle-success [--fallback-su:#22c55e] mr-1",checked:c.value,onChange:y[1]||(y[1]=S=>c.value=!c.value)},null,40,Zm),It(dt(oe),{icon:dt(dr),size:"sm",mask:dt(hr),transform:"shrink-7 left-1",class:"mr-1"},null,8,["icon","mask"]),ne(" API Queries ")])])]),It(Om),j("table",Km,[Jm,j("tbody",null,[dt(fl).length==0?(yt(),At("tr",Qm,eb)):(yt(!0),At(Kt,{key:1},Mi(dt(fl),S=>(yt(),At("tr",{key:S.id},[j("td",ib,[It(dt(oe),{icon:dt(Jg),size:"xs",class:ie(d(S.response_code))},null,8,["icon","class"]),j("pre",ab,Wt(S.response_code),1)]),j("td",{class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1 pl-2",title:S.user_id},[j("span",rb,Wt(S.user.split("@")[0]),1),j("span",nb,"@"+Wt(S.user.split("@")[1]),1)],8,sb),j("td",ob,Wt(S.time),1),j("td",lb,[j("div",cb,[S.http_method=="POST"?(yt(),At("span",hb,"POST")):S.http_method=="PUT"?(yt(),At("span",db,"PUT")):S.http_method=="DELETE"?(yt(),At("span",ub,"DEL")):(yt(),At("span",fb,Wt(S.http_method),1)),S.is_api_request?(yt(),ji(dt(oe),{key:4,class:"text-slate-800 dark:text-slate-100 mr-1 inline-block",icon:dt(dr),mask:dt(hr),transform:"shrink-7 left-1"},null,8,["icon","mask"])):Xi("",!0),j("pre",gb,Wt(S.url),1)])]),j("td",pb,[S.http_method=="POST"?(yt(),At("div",xb,[j("pre",mb,Wt(JSON.stringify(S.payload,null,2)),1)])):Xi("",!0)])]))),128))])])],64))}},vb=["title"],yb={__name:"LiveLogsUserActivityGraph",props:["user_id"],setup(s){const n=s;He(null);const c=Et(()=>gl.value.activity_buffer_size),d=Et(()=>gl.value.timestamp_min),m=Array.from(Array(c.value)).map(()=>0),y=Et(()=>xr.value.length!=0),S=Et(()=>y.value?L.value:m),L=Et(()=>{const z=xr.value[n.user_id]===void 0?m:xr.value[n.user_id];return[{data:Array.from(z)}]}),I=[1,3,5,7,9,1e3],F=Et(()=>({chart:{height:12,width:208,type:"heatmap",sparkline:{enabled:!0},animations:{enabled:!1,easing:"easeinout",speed:200}},dataLabels:{enabled:!1,style:{fontSize:"10px",fontWeight:"400"}},plotOptions:{heatmap:{radius:2,enableShades:!1,shadeIntensity:.5,reverseNegativeShade:!0,distributed:!1,useFillColorAsStroke:!1,colorScale:{ranges:[{from:0,to:I[0],color:ti.value?"#1e3a8a":"#bfdbfe"},{from:I[0]+1,to:I[1],color:ti.value?"#1d4ed8":"#93c5fd"},{from:I[1]+1,to:I[2],color:ti.value?"#2563eb":"#60a5fa"},{from:I[2]+1,to:I[3],color:(ti.value,"#3b82f6")},{from:I[3]+1,to:I[4],color:ti.value?"#60a5fa":"#2563eb"},{from:I[4]+1,to:I[5],color:ti.value?"#93c5fd":"#1d4ed8"}],min:0,max:1e3}}},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},grid:{show:!1},legend:{show:!0},stroke:{width:0},tooltip:{enabled:!1}}));return(z,H)=>{const G=$l("apexchart");return yt(),At("span",{class:"h-3 w-52",title:`Activity over ${d.value}min`},[It(G,{type:"heatmap",height:"12",width:"208",options:F.value,series:S.value},null,8,["options","series"])],8,vb)}}},wb={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},kb={key:0,class:"text-center text-slate-600 dark:text-slate-400 p-3 pl-6"},Ab=j("i",null,"- No Exercise available -",-1),Sb=[Ab],Cb=["onClick"],Pb=["colspan"],Lb={class:"flex justify-between items-center"},Eb={class:"dark:text-blue-200 text-slate-200"},Tb={class:"text-lg"},_b={class:""},Ib=j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-6 text-left"},"User",-1),Mb=["title"],Ob={class:"flex flex-col"},Rb={class:"text-center font-normal text-sm dark:text-blue-200 text-slate-500 text-nowrap"},zb={class:"text-center"},Fb=j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Progress",-1),Nb={key:0},Xb=["colspan"],Yb=j("i",null,"- No user yet -",-1),Db=[Yb],Hb={class:"border-b border-slate-200 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-0 pl-2 relative"},Bb={class:"flex flex-col"},Wb=["title"],Vb={class:"text-lg font-bold font-mono leading-5"},Gb={class:"text-xs font-mono"},jb=["onClick"],Ub={class:"flex flex-col"},$b={class:"text-nowrap"},qb={class:"text-sm leading-3"},Zb={key:1},Kb={class:"border-b border-slate-200 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-3"},Jb=["aria-valuenow"],Qb={__name:"TheScores",setup(s){const n=He([]);function c(S,L,I,F){Ex(S,L,I,F)}function d(S){const L=n.value.indexOf(S);L>=0?n.value.splice(L,1):n.value.push(S)}const m=Et(()=>dl.value.length>0),y=Et(()=>Object.keys(ul.value).length>0);return(S,L)=>(yt(),At(Kt,null,[j("h3",wb,[It(dt(oe),{icon:dt(Jc)},null,8,["icon"]),ne(" Active Exercises ")]),m.value?Xi("",!0):(yt(),At("div",kb,Sb)),(yt(!0),At(Kt,null,Mi(dt(dl),(I,F)=>(yt(),At("table",{key:I.name,class:"bg-white dark:bg-slate-800 rounded-lg shadow-xl w-full mb-4"},[j("thead",null,[j("tr",{onClick:z=>d(F),class:"cursor-pointer"},[j("th",{colspan:2+I.tasks.length,class:"rounded-t-lg border-b border-slate-100 dark:border-slate-700 text-md p-3 pl-6 text-center dark:bg-blue-800 bg-blue-500 dark:text-slate-300 text-slate-100"},[j("div",Lb,[j("span",Eb,"# "+Wt(F+1),1),j("span",Tb,Wt(I.name),1),j("span",_b,[ne(" Level: "),j("span",{class:ie({"rounded-lg px-1 ml-2":!0,"dark:bg-sky-400 bg-sky-400 text-neutral-950":I.level=="beginner","dark:bg-orange-400 bg-orange-400 text-neutral-950":I.level=="advanced","dark:bg-red-600 bg-red-600 text-neutral-950":I.level=="expert"})},Wt(I.level),3)])])],8,Pb)],8,Cb),j("tr",{class:ie(`font-medium text-slate-600 dark:text-slate-200 ${n.value.includes(F)?"hidden":""}`)},[Ib,(yt(!0),At(Kt,null,Mi(I.tasks,(z,H)=>(yt(),At("th",{key:z.name,class:"border-b border-slate-100 dark:border-slate-700 p-3 align-top",title:z.description},[j("div",Ob,[j("span",Rb,"Task "+Wt(H+1),1),j("i",zb,Wt(z.name),1)])],8,Mb))),128)),Fb],2)]),j("tbody",{class:ie(`${n.value.includes(F)?"hidden":""}`)},[y.value?(yt(!0),At(Kt,{key:1},Mi(dt(ul),(z,H)=>(yt(),At("tr",{key:H,class:"bg-slate-100 dark:bg-slate-900"},[j("td",Hb,[j("span",Bb,[j("span",{title:H,class:"text-nowrap inline-block leading-5"},[z.exercises[I.uuid].score/z.exercises[I.uuid].max_score==1?(yt(),ji(dt(oe),{key:0,icon:dt(ip),class:"mr-1 text-amber-300"},null,8,["icon"])):Xi("",!0),j("span",Vb,Wt(z.email.split("@")[0]),1),j("span",Gb,"@"+Wt(z.email.split("@")[1]),1)],8,Wb),It(yb,{user_id:H},null,8,["user_id"])])]),(yt(!0),At(Kt,null,Mi(I.tasks,(G,J)=>{var bt;return yt(),At("td",{key:J,class:"text-center border-b border-slate-200 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-2"},[j("span",{class:"select-none cursor-pointer flex justify-center content-center flex-wrap h-9",onClick:lt=>c(z.exercises[I.uuid].tasks_completion[G.uuid],H,I.uuid,G.uuid)},[j("span",Ub,[j("span",$b,[z.exercises[I.uuid].tasks_completion[G.uuid]?(yt(),ji(dt(oe),{key:0,icon:dt(np),class:ie(`text-xl ${z.exercises[I.uuid].tasks_completion[G.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400"}`)},null,8,["icon","class"])):((bt=G.requirements)==null?void 0:bt.inject_uuid)!==void 0&&!z.exercises[I.uuid].tasks_completion[G.requirements.inject_uuid]?(yt(),ji(dt(oe),{key:1,title:"All requirements for that task haven't been fullfilled yet",icon:dt(qg),class:ie(`text-lg ${z.exercises[I.uuid].tasks_completion[G.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400"}`)},null,8,["icon","class"])):(yt(),ji(dt(oe),{key:2,icon:dt(sp),class:ie(`text-xl ${z.exercises[I.uuid].tasks_completion[G.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400"}`)},null,8,["icon","class"])),j("small",{class:ie(z.exercises[I.uuid].tasks_completion[G.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400")}," (+"+Wt(G.score)+")",3)]),j("span",qb,[z.exercises[I.uuid].tasks_completion[G.uuid].timestamp?(yt(),At("span",{key:0,class:ie(z.exercises[I.uuid].tasks_completion[G.uuid].first_completion?"font-bold":"font-extralight")},Wt(new Date(z.exercises[I.uuid].tasks_completion[G.uuid].timestamp*1e3).toTimeString().split(" ",1)[0]),3)):(yt(),At("span",Zb))])])],8,jb)])}),128)),j("td",Kb,[j("div",{class:"flex w-full h-2 bg-gray-200 rounded-full overflow-hidden dark:bg-neutral-600",role:"progressbar","aria-valuenow":z.exercises[I.uuid].score,"aria-valuemin":0,"aria-valuemax":"100"},[j("div",{class:"flex flex-col justify-center rounded-full overflow-hidden bg-green-600 text-xs text-white text-center whitespace-nowrap transition duration-500 dark:bg-green-500 transition-width transition-slowest ease",style:Ms(`width: ${100*(z.exercises[I.uuid].score/z.exercises[I.uuid].max_score)}%`)},null,4)],8,Jb)])]))),128)):(yt(),At("tr",Nb,[j("td",{colspan:2+I.tasks.length,class:"text-center border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-3 pl-6"},Db,8,Xb)]))],2)]))),128))],64))}},tv={__name:"TheDahboard",setup(s){return Te(Gi,n=>{n&&(Lx(),qr())}),_a(()=>{qr()}),(n,c)=>(yt(),At(Kt,null,[It(Qb),It(bb)],64))}},ev=j("h1",{class:"text-2xl text-center text-slate-500 dark:text-slate-400 absolute top-1 left-1"},"Exercise Dashboard",-1),iv={class:"absolute top-1 right-1"},av={class:"flex gap-2"},sv={__name:"App",setup(s){return _a(()=>{ti.value&&document.getElementsByTagName("body")[0].classList.add("dark")}),(n,c)=>(yt(),At("main",null,[ev,j("div",iv,[j("div",av,[It(dp),It(vm),It(Cm)])]),It(tv)]))}},bh=Ju(sv);bh.use(As);bh.mount("#app"); +`),s.removeAttribute(c),d()}).catch(m)}else d()}else d()})}function Lg(s){return Promise.all([Wo(s,"::before"),Wo(s,"::after")])}function Eg(s){return s.parentNode!==document.head&&!~mf.indexOf(s.tagName.toUpperCase())&&!s.getAttribute(Ir)&&(!s.parentNode||s.parentNode.tagName!=="svg")}function Vo(s){if(oi)return new Promise(function(n,c){var d=ia(s.querySelectorAll("*")).filter(Eg).map(Lg),m=Sn.begin("searchPseudoElements");Uc(),Promise.all(d).then(function(){m(),Yr(),n()}).catch(function(){m(),Yr(),c()})})}var Tg={hooks:function(){return{mutationObserverCallbacks:function(c){return c.pseudoElementsCallback=Vo,c}}},provides:function(n){n.pseudoElements2svg=function(c){var d=c.node,m=d===void 0?jt:d;ft.searchPseudoElements&&Vo(m)}}},Go=!1,_g={mixout:function(){return{dom:{unwatch:function(){Uc(),Go=!0}}}},hooks:function(){return{bootstrap:function(){Yo(Rr("mutationObserverCallbacks",{}))},noAuto:function(){ug()},watch:function(c){var d=c.observeMutationsRoot;Go?Yr():Yo(Rr("mutationObserverCallbacks",{observeMutationsRoot:d}))}}}},jo=function(n){var c={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return n.toLowerCase().split(" ").reduce(function(d,m){var y=m.toLowerCase().split("-"),S=y[0],L=y.slice(1).join("-");if(S&&L==="h")return d.flipX=!0,d;if(S&&L==="v")return d.flipY=!0,d;if(L=parseFloat(L),isNaN(L))return d;switch(S){case"grow":d.size=d.size+L;break;case"shrink":d.size=d.size-L;break;case"left":d.x=d.x-L;break;case"right":d.x=d.x+L;break;case"up":d.y=d.y-L;break;case"down":d.y=d.y+L;break;case"rotate":d.rotate=d.rotate+L;break}return d},c)},Ig={mixout:function(){return{parse:{transform:function(c){return jo(c)}}}},hooks:function(){return{parseNodeAttributes:function(c,d){var m=d.getAttribute("data-fa-transform");return m&&(c.transform=jo(m)),c}}},provides:function(n){n.generateAbstractTransformGrouping=function(c){var d=c.main,m=c.transform,y=c.containerWidth,S=c.iconWidth,L={transform:"translate(".concat(y/2," 256)")},I="translate(".concat(m.x*32,", ").concat(m.y*32,") "),F="scale(".concat(m.size/16*(m.flipX?-1:1),", ").concat(m.size/16*(m.flipY?-1:1),") "),z="rotate(".concat(m.rotate," 0 0)"),H={transform:"".concat(I," ").concat(F," ").concat(z)},G={transform:"translate(".concat(S/2*-1," -256)")},J={outer:L,inner:H,path:G};return{tag:"g",attributes:ot({},J.outer),children:[{tag:"g",attributes:ot({},J.inner),children:[{tag:d.icon.tag,children:d.icon.children,attributes:ot(ot({},d.icon.attributes),J.path)}]}]}}}},lr={x:0,y:0,width:"100%",height:"100%"};function Uo(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return s.attributes&&(s.attributes.fill||n)&&(s.attributes.fill="black"),s}function Mg(s){return s.tag==="g"?s.children:[s]}var Og={hooks:function(){return{parseNodeAttributes:function(c,d){var m=d.getAttribute("data-fa-mask"),y=m?Bs(m.split(" ").map(function(S){return S.trim()})):kn();return y.prefix||(y.prefix=yi()),c.mask=y,c.maskId=d.getAttribute("data-fa-mask-id"),c}}},provides:function(n){n.generateAbstractMask=function(c){var d=c.children,m=c.attributes,y=c.main,S=c.mask,L=c.maskId,I=c.transform,F=y.width,z=y.icon,H=S.width,G=S.icon,J=Mf({transform:I,containerWidth:H,iconWidth:F}),bt={tag:"rect",attributes:ot(ot({},lr),{},{fill:"white"})},lt=z.children?{children:z.children.map(Uo)}:{},Ot={tag:"g",attributes:ot({},J.inner),children:[Uo(ot({tag:z.tag,attributes:ot(ot({},z.attributes),J.path)},lt))]},et={tag:"g",attributes:ot({},J.outer),children:[Ot]},R="mask-".concat(L||Ea()),ct="clip-".concat(L||Ea()),ut={tag:"mask",attributes:ot(ot({},lr),{},{id:R,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[bt,et]},W={tag:"defs",children:[{tag:"clipPath",attributes:{id:ct},children:Mg(G)},ut]};return d.push(W,{tag:"rect",attributes:ot({fill:"currentColor","clip-path":"url(#".concat(ct,")"),mask:"url(#".concat(R,")")},lr)}),{children:d,attributes:m}}}},Rg={provides:function(n){var c=!1;vi.matchMedia&&(c=vi.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){var d=[],m={fill:"currentColor"},y={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};d.push({tag:"path",attributes:ot(ot({},m),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var S=ot(ot({},y),{},{attributeName:"opacity"}),L={tag:"circle",attributes:ot(ot({},m),{},{cx:"256",cy:"364",r:"28"}),children:[]};return c||L.children.push({tag:"animate",attributes:ot(ot({},y),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ot(ot({},S),{},{values:"1;0;1;1;0;1;"})}),d.push(L),d.push({tag:"path",attributes:ot(ot({},m),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:c?[]:[{tag:"animate",attributes:ot(ot({},S),{},{values:"1;0;0;0;0;1;"})}]}),c||d.push({tag:"path",attributes:ot(ot({},m),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ot(ot({},S),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:d}}}},zg={hooks:function(){return{parseNodeAttributes:function(c,d){var m=d.getAttribute("data-fa-symbol"),y=m===null?!1:m===""?!0:m;return c.symbol=y,c}}}},Fg=[zf,wg,kg,Ag,Sg,Tg,_g,Ig,Og,Rg,zg];qf(Fg,{mixoutsTo:_e});_e.noAuto;_e.config;_e.library;_e.dom;var Dr=_e.parse;_e.findIconDefinition;_e.toHtml;var Ng=_e.icon;_e.layer;_e.text;_e.counter;function $o(s,n){var c=Object.keys(s);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(s);n&&(d=d.filter(function(m){return Object.getOwnPropertyDescriptor(s,m).enumerable})),c.push.apply(c,d)}return c}function ei(s){for(var n=1;n=0)continue;c[d]=s[d]}return c}function Hg(s,n){if(s==null)return{};var c=Dg(s,n),d,m;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(s);for(m=0;m=0)&&Object.prototype.propertyIsEnumerable.call(s,d)&&(c[d]=s[d])}return c}var Bg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qc={exports:{}};(function(s){(function(n){var c=function(et,R,ct){if(!F(R)||H(R)||G(R)||J(R)||I(R))return R;var ut,W=0,it=0;if(z(R))for(ut=[],it=R.length;W1&&arguments[1]!==void 0?arguments[1]:{},c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof s=="string")return s;var d=(s.children||[]).map(function(I){return Zc(I)}),m=Object.keys(s.attributes||{}).reduce(function(I,F){var z=s.attributes[F];switch(F){case"class":I.class=jg(z);break;case"style":I.style=Gg(z);break;default:I.attrs[F]=z}return I},{attrs:{},class:{},style:{}});c.class;var y=c.style,S=y===void 0?{}:y,L=Hg(c,Vg);return yc(s.tag,ei(ei(ei({},n),{},{class:m.class,style:ei(ei({},m.style),S)},m.attrs),L),d)}var Kc=!1;try{Kc=!0}catch{}function Ug(){if(!Kc&&console&&typeof console.error=="function"){var s;(s=console).error.apply(s,arguments)}}function cr(s,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?ke({},s,n):{}}function $g(s){var n,c=(n={"fa-spin":s.spin,"fa-pulse":s.pulse,"fa-fw":s.fixedWidth,"fa-border":s.border,"fa-li":s.listItem,"fa-inverse":s.inverse,"fa-flip":s.flip===!0,"fa-flip-horizontal":s.flip==="horizontal"||s.flip==="both","fa-flip-vertical":s.flip==="vertical"||s.flip==="both"},ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(n,"fa-".concat(s.size),s.size!==null),"fa-rotate-".concat(s.rotation),s.rotation!==null),"fa-pull-".concat(s.pull),s.pull!==null),"fa-swap-opacity",s.swapOpacity),"fa-bounce",s.bounce),"fa-shake",s.shake),"fa-beat",s.beat),"fa-fade",s.fade),"fa-beat-fade",s.beatFade),"fa-flash",s.flash),ke(ke(n,"fa-spin-pulse",s.spinPulse),"fa-spin-reverse",s.spinReverse));return Object.keys(c).map(function(d){return c[d]?d:null}).filter(function(d){return d})}function qo(s){if(s&&Ls(s)==="object"&&s.prefix&&s.iconName&&s.icon)return s;if(Dr.icon)return Dr.icon(s);if(s===null)return null;if(Ls(s)==="object"&&s.prefix&&s.iconName)return s;if(Array.isArray(s)&&s.length===2)return{prefix:s[0],iconName:s[1]};if(typeof s=="string")return{prefix:"fas",iconName:s}}var oe=Jl({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(n){return[!0,!1,"horizontal","vertical","both"].indexOf(n)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(n){return["right","left"].indexOf(n)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(n){return[90,180,270].indexOf(Number.parseInt(n,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(n){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(n)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(n,c){var d=c.attrs,m=Et(function(){return qo(n.icon)}),y=Et(function(){return cr("classes",$g(n))}),S=Et(function(){return cr("transform",typeof n.transform=="string"?Dr.transform(n.transform):n.transform)}),L=Et(function(){return cr("mask",qo(n.mask))}),I=Et(function(){return Ng(m.value,ei(ei(ei(ei({},y.value),S.value),L.value),{},{symbol:n.symbol,title:n.title,titleId:n.titleId,maskId:n.maskId}))});Te(I,function(z){if(!z)return Ug("Could not find one or more icon(s)",m.value,L.value)},{immediate:!0});var F=Et(function(){return I.value?Zc(I.value.abstract[0],{},d):null});return function(){return F.value}}}),hr={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]},qg={prefix:"fas",iconName:"hourglass-half",icon:[384,512,["hourglass-2"],"f252","M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64V75c0 42.4 16.9 83.1 46.9 113.1L146.7 256 78.9 323.9C48.9 353.9 32 394.6 32 437v11c-17.7 0-32 14.3-32 32s14.3 32 32 32H64 320h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V437c0-42.4-16.9-83.1-46.9-113.1L237.3 256l67.9-67.9c30-30 46.9-70.7 46.9-113.1V64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320 64 32zM96 75V64H288V75c0 19-5.6 37.4-16 53H112c-10.3-15.6-16-34-16-53zm16 309c3.5-5.3 7.6-10.3 12.1-14.9L192 301.3l67.9 67.9c4.6 4.6 8.6 9.6 12.1 14.9H112z"]},Zg={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]},Kg={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},Zo={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},Jg={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},Ko={prefix:"fas",iconName:"signal",icon:[640,512,[128246,"signal-5","signal-perfect"],"f012","M576 0c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V32c0-17.7 14.3-32 32-32zM448 96c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V128c0-17.7 14.3-32 32-32zM352 224V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32s32 14.3 32 32zM192 288c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V320c0-17.7 14.3-32 32-32zM96 416v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V416c0-17.7 14.3-32 32-32s32 14.3 32 32z"]},Qg={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},tp={prefix:"fas",iconName:"suitcase-medical",icon:[512,512,["medkit"],"f0fa","M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96v32V480H384V128 96 56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM96 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H96V96zM416 480h32c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H416V480zM224 208c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H288v48c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V320H176c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h48V208z"]},ep={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},dr=ep,ip={prefix:"fas",iconName:"medal",icon:[512,512,[127941],"f5a2","M4.1 38.2C1.4 34.2 0 29.4 0 24.6C0 11 11 0 24.6 0H133.9c11.2 0 21.7 5.9 27.4 15.5l68.5 114.1c-48.2 6.1-91.3 28.6-123.4 61.9L4.1 38.2zm503.7 0L405.6 191.5c-32.1-33.3-75.2-55.8-123.4-61.9L350.7 15.5C356.5 5.9 366.9 0 378.1 0H487.4C501 0 512 11 512 24.6c0 4.8-1.4 9.6-4.1 13.6zM80 336a176 176 0 1 1 352 0A176 176 0 1 1 80 336zm184.4-94.9c-3.4-7-13.3-7-16.8 0l-22.4 45.4c-1.4 2.8-4 4.7-7 5.1L168 298.9c-7.7 1.1-10.7 10.5-5.2 16l36.3 35.4c2.2 2.2 3.2 5.2 2.7 8.3l-8.6 49.9c-1.3 7.6 6.7 13.5 13.6 9.9l44.8-23.6c2.7-1.4 6-1.4 8.7 0l44.8 23.6c6.9 3.6 14.9-2.2 13.6-9.9l-8.6-49.9c-.5-3 .5-6.1 2.7-8.3l36.3-35.4c5.6-5.4 2.5-14.8-5.2-16l-50.1-7.3c-3-.4-5.7-2.4-7-5.1l-22.4-45.4z"]},ap={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},sp=ap,rp={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]},np={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},Jc={prefix:"fas",iconName:"graduation-cap",icon:[640,512,[127891,"mortar-board"],"f19d","M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z"]};const Hr=He(!0),ti=Et(()=>Hr.value),op={class:"flex"},lp={class:"grid cursor-pointer place-items-center"},cp=["checked"],hp=mu('',2),dp={__name:"TheThemeButton",setup(s){const n=He(Hr.value);return Te(n,c=>{Hr.value=c,c?document.getElementsByTagName("body")[0].classList.add("dark"):document.getElementsByTagName("body")[0].classList.remove("dark")}),(c,d)=>(yt(),At("div",op,[j("label",lp,[j("input",{type:"checkbox",onClick:d[0]||(d[0]=m=>n.value=!n.value),checked:n.value,class:"toggle theme-controller bg-slate-400 col-span-2 col-start-1 row-start-1 [--tglbg:#e2e8f0]"},null,8,cp),hp])]))}},$e=Object.create(null);$e.open="0";$e.close="1";$e.ping="2";$e.pong="3";$e.message="4";$e.upgrade="5";$e.noop="6";const gs=Object.create(null);Object.keys($e).forEach(s=>{gs[$e[s]]=s});const Br={type:"error",data:"parser error"},Qc=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",th=typeof ArrayBuffer=="function",eh=s=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s&&s.buffer instanceof ArrayBuffer,Pn=({type:s,data:n},c,d)=>Qc&&n instanceof Blob?c?d(n):Jo(n,d):th&&(n instanceof ArrayBuffer||eh(n))?c?d(n):Jo(new Blob([n]),d):d($e[s]+(n||"")),Jo=(s,n)=>{const c=new FileReader;return c.onload=function(){const d=c.result.split(",")[1];n("b"+(d||""))},c.readAsDataURL(s)};function Qo(s){return s instanceof Uint8Array?s:s instanceof ArrayBuffer?new Uint8Array(s):new Uint8Array(s.buffer,s.byteOffset,s.byteLength)}let ur;function up(s,n){if(Qc&&s.data instanceof Blob)return s.data.arrayBuffer().then(Qo).then(n);if(th&&(s.data instanceof ArrayBuffer||eh(s.data)))return n(Qo(s.data));Pn(s,!1,c=>{ur||(ur=new TextEncoder),n(ur.encode(c))})}const tl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",da=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let s=0;s{let n=s.length*.75,c=s.length,d,m=0,y,S,L,I;s[s.length-1]==="="&&(n--,s[s.length-2]==="="&&n--);const F=new ArrayBuffer(n),z=new Uint8Array(F);for(d=0;d>4,z[m++]=(S&15)<<4|L>>2,z[m++]=(L&3)<<6|I&63;return F},gp=typeof ArrayBuffer=="function",Ln=(s,n)=>{if(typeof s!="string")return{type:"message",data:ih(s,n)};const c=s.charAt(0);return c==="b"?{type:"message",data:pp(s.substring(1),n)}:gs[c]?s.length>1?{type:gs[c],data:s.substring(1)}:{type:gs[c]}:Br},pp=(s,n)=>{if(gp){const c=fp(s);return ih(c,n)}else return{base64:!0,data:s}},ih=(s,n)=>{switch(n){case"blob":return s instanceof Blob?s:new Blob([s]);case"arraybuffer":default:return s instanceof ArrayBuffer?s:s.buffer}},ah="",xp=(s,n)=>{const c=s.length,d=new Array(c);let m=0;s.forEach((y,S)=>{Pn(y,!1,L=>{d[S]=L,++m===c&&n(d.join(ah))})})},mp=(s,n)=>{const c=s.split(ah),d=[];for(let m=0;m{const d=c.length;let m;if(d<126)m=new Uint8Array(1),new DataView(m.buffer).setUint8(0,d);else if(d<65536){m=new Uint8Array(3);const y=new DataView(m.buffer);y.setUint8(0,126),y.setUint16(1,d)}else{m=new Uint8Array(9);const y=new DataView(m.buffer);y.setUint8(0,127),y.setBigUint64(1,BigInt(d))}s.data&&typeof s.data!="string"&&(m[0]|=128),n.enqueue(m),n.enqueue(c)})}})}let fr;function es(s){return s.reduce((n,c)=>n+c.length,0)}function is(s,n){if(s[0].length===n)return s.shift();const c=new Uint8Array(n);let d=0;for(let m=0;mMath.pow(2,21)-1){L.enqueue(Br);break}m=z*Math.pow(2,32)+F.getUint32(4),d=3}else{if(es(c)s){L.enqueue(Br);break}}}})}const sh=4;function ae(s){if(s)return yp(s)}function yp(s){for(var n in ae.prototype)s[n]=ae.prototype[n];return s}ae.prototype.on=ae.prototype.addEventListener=function(s,n){return this._callbacks=this._callbacks||{},(this._callbacks["$"+s]=this._callbacks["$"+s]||[]).push(n),this};ae.prototype.once=function(s,n){function c(){this.off(s,c),n.apply(this,arguments)}return c.fn=n,this.on(s,c),this};ae.prototype.off=ae.prototype.removeListener=ae.prototype.removeAllListeners=ae.prototype.removeEventListener=function(s,n){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var c=this._callbacks["$"+s];if(!c)return this;if(arguments.length==1)return delete this._callbacks["$"+s],this;for(var d,m=0;m(s.hasOwnProperty(d)&&(c[d]=s[d]),c),{})}const wp=Ie.setTimeout,kp=Ie.clearTimeout;function Vs(s,n){n.useNativeTimers?(s.setTimeoutFn=wp.bind(Ie),s.clearTimeoutFn=kp.bind(Ie)):(s.setTimeoutFn=Ie.setTimeout.bind(Ie),s.clearTimeoutFn=Ie.clearTimeout.bind(Ie))}const Ap=1.33;function Sp(s){return typeof s=="string"?Cp(s):Math.ceil((s.byteLength||s.size)*Ap)}function Cp(s){let n=0,c=0;for(let d=0,m=s.length;d=57344?c+=3:(d++,c+=4);return c}function Pp(s){let n="";for(let c in s)s.hasOwnProperty(c)&&(n.length&&(n+="&"),n+=encodeURIComponent(c)+"="+encodeURIComponent(s[c]));return n}function Lp(s){let n={},c=s.split("&");for(let d=0,m=c.length;d0);return n}function oh(){const s=al(+new Date);return s!==il?(el=0,il=s):s+"."+al(el++)}for(;as{this.readyState="paused",n()};if(this.polling||!this.writable){let d=0;this.polling&&(d++,this.once("pollComplete",function(){--d||c()})),this.writable||(d++,this.once("drain",function(){--d||c()}))}else c()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(n){const c=d=>{if(this.readyState==="opening"&&d.type==="open"&&this.onOpen(),d.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(d)};mp(n,this.socket.binaryType).forEach(c),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const n=()=>{this.write([{type:"close"}])};this.readyState==="open"?n():this.once("open",n)}write(n){this.writable=!1,xp(n,c=>{this.doWrite(c,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const n=this.opts.secure?"https":"http",c=this.query||{};return this.opts.timestampRequests!==!1&&(c[this.opts.timestampParam]=oh()),!this.supportsBinary&&!c.sid&&(c.b64=1),this.createUri(n,c)}request(n={}){return Object.assign(n,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new je(this.uri(),n)}doWrite(n,c){const d=this.request({method:"POST",data:n});d.on("success",c),d.on("error",(m,y)=>{this.onError("xhr post error",m,y)})}doPoll(){const n=this.request();n.on("data",this.onData.bind(this)),n.on("error",(c,d)=>{this.onError("xhr poll error",c,d)}),this.pollXhr=n}}class je extends ae{constructor(n,c){super(),Vs(this,c),this.opts=c,this.method=c.method||"GET",this.uri=n,this.data=c.data!==void 0?c.data:null,this.create()}create(){var n;const c=rh(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");c.xdomain=!!this.opts.xd;const d=this.xhr=new ch(c);try{d.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){d.setDisableHeaderCheck&&d.setDisableHeaderCheck(!0);for(let m in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(m)&&d.setRequestHeader(m,this.opts.extraHeaders[m])}}catch{}if(this.method==="POST")try{d.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{d.setRequestHeader("Accept","*/*")}catch{}(n=this.opts.cookieJar)===null||n===void 0||n.addCookies(d),"withCredentials"in d&&(d.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(d.timeout=this.opts.requestTimeout),d.onreadystatechange=()=>{var m;d.readyState===3&&((m=this.opts.cookieJar)===null||m===void 0||m.parseCookies(d)),d.readyState===4&&(d.status===200||d.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof d.status=="number"?d.status:0)},0))},d.send(this.data)}catch(m){this.setTimeoutFn(()=>{this.onError(m)},0);return}typeof document<"u"&&(this.index=je.requestsCount++,je.requests[this.index]=this)}onError(n){this.emitReserved("error",n,this.xhr),this.cleanup(!0)}cleanup(n){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Ip,n)try{this.xhr.abort()}catch{}typeof document<"u"&&delete je.requests[this.index],this.xhr=null}}onLoad(){const n=this.xhr.responseText;n!==null&&(this.emitReserved("data",n),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}je.requestsCount=0;je.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",sl);else if(typeof addEventListener=="function"){const s="onpagehide"in Ie?"pagehide":"unload";addEventListener(s,sl,!1)}}function sl(){for(let s in je.requests)je.requests.hasOwnProperty(s)&&je.requests[s].abort()}const Tn=typeof Promise=="function"&&typeof Promise.resolve=="function"?n=>Promise.resolve().then(n):(n,c)=>c(n,0),ss=Ie.WebSocket||Ie.MozWebSocket,rl=!0,Rp="arraybuffer",nl=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class zp extends En{constructor(n){super(n),this.supportsBinary=!n.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const n=this.uri(),c=this.opts.protocols,d=nl?{}:rh(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(d.headers=this.opts.extraHeaders);try{this.ws=rl&&!nl?c?new ss(n,c):new ss(n):new ss(n,c,d)}catch(m){return this.emitReserved("error",m)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=n=>this.onClose({description:"websocket connection closed",context:n}),this.ws.onmessage=n=>this.onData(n.data),this.ws.onerror=n=>this.onError("websocket error",n)}write(n){this.writable=!1;for(let c=0;c{const S={};try{rl&&this.ws.send(y)}catch{}m&&Tn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const n=this.opts.secure?"wss":"ws",c=this.query||{};return this.opts.timestampRequests&&(c[this.opts.timestampParam]=oh()),this.supportsBinary||(c.b64=1),this.createUri(n,c)}check(){return!!ss}}class Fp extends En{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(n=>{this.onError("webtransport error",n)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(n=>{const c=vp(Number.MAX_SAFE_INTEGER,this.socket.binaryType),d=n.readable.pipeThrough(c).getReader(),m=bp();m.readable.pipeTo(n.writable),this.writer=m.writable.getWriter();const y=()=>{d.read().then(({done:L,value:I})=>{L||(this.onPacket(I),y())}).catch(L=>{})};y();const S={type:"open"};this.query.sid&&(S.data=`{"sid":"${this.query.sid}"}`),this.writer.write(S).then(()=>this.onOpen())})}))}write(n){this.writable=!1;for(let c=0;c{m&&Tn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var n;(n=this.transport)===null||n===void 0||n.close()}}const Np={websocket:zp,webtransport:Fp,polling:Op},Xp=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Yp=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Vr(s){if(s.length>2e3)throw"URI too long";const n=s,c=s.indexOf("["),d=s.indexOf("]");c!=-1&&d!=-1&&(s=s.substring(0,c)+s.substring(c,d).replace(/:/g,";")+s.substring(d,s.length));let m=Xp.exec(s||""),y={},S=14;for(;S--;)y[Yp[S]]=m[S]||"";return c!=-1&&d!=-1&&(y.source=n,y.host=y.host.substring(1,y.host.length-1).replace(/;/g,":"),y.authority=y.authority.replace("[","").replace("]","").replace(/;/g,":"),y.ipv6uri=!0),y.pathNames=Dp(y,y.path),y.queryKey=Hp(y,y.query),y}function Dp(s,n){const c=/\/{2,9}/g,d=n.replace(c,"/").split("/");return(n.slice(0,1)=="/"||n.length===0)&&d.splice(0,1),n.slice(-1)=="/"&&d.splice(d.length-1,1),d}function Hp(s,n){const c={};return n.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(d,m,y){m&&(c[m]=y)}),c}let hh=class Vi extends ae{constructor(n,c={}){super(),this.binaryType=Rp,this.writeBuffer=[],n&&typeof n=="object"&&(c=n,n=null),n?(n=Vr(n),c.hostname=n.host,c.secure=n.protocol==="https"||n.protocol==="wss",c.port=n.port,n.query&&(c.query=n.query)):c.host&&(c.hostname=Vr(c.host).host),Vs(this,c),this.secure=c.secure!=null?c.secure:typeof location<"u"&&location.protocol==="https:",c.hostname&&!c.port&&(c.port=this.secure?"443":"80"),this.hostname=c.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=c.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=c.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},c),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Lp(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(n){const c=Object.assign({},this.opts.query);c.EIO=sh,c.transport=n,this.id&&(c.sid=this.id);const d=Object.assign({},this.opts,{query:c,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[n]);return new Np[n](d)}open(){let n;if(this.opts.rememberUpgrade&&Vi.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)n="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else n=this.transports[0];this.readyState="opening";try{n=this.createTransport(n)}catch{this.transports.shift(),this.open();return}n.open(),this.setTransport(n)}setTransport(n){this.transport&&this.transport.removeAllListeners(),this.transport=n,n.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",c=>this.onClose("transport close",c))}probe(n){let c=this.createTransport(n),d=!1;Vi.priorWebsocketSuccess=!1;const m=()=>{d||(c.send([{type:"ping",data:"probe"}]),c.once("packet",H=>{if(!d)if(H.type==="pong"&&H.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",c),!c)return;Vi.priorWebsocketSuccess=c.name==="websocket",this.transport.pause(()=>{d||this.readyState!=="closed"&&(z(),this.setTransport(c),c.send([{type:"upgrade"}]),this.emitReserved("upgrade",c),c=null,this.upgrading=!1,this.flush())})}else{const G=new Error("probe error");G.transport=c.name,this.emitReserved("upgradeError",G)}}))};function y(){d||(d=!0,z(),c.close(),c=null)}const S=H=>{const G=new Error("probe error: "+H);G.transport=c.name,y(),this.emitReserved("upgradeError",G)};function L(){S("transport closed")}function I(){S("socket closed")}function F(H){c&&H.name!==c.name&&y()}const z=()=>{c.removeListener("open",m),c.removeListener("error",S),c.removeListener("close",L),this.off("close",I),this.off("upgrading",F)};c.once("open",m),c.once("error",S),c.once("close",L),this.once("close",I),this.once("upgrading",F),this.upgrades.indexOf("webtransport")!==-1&&n!=="webtransport"?this.setTimeoutFn(()=>{d||c.open()},200):c.open()}onOpen(){if(this.readyState="open",Vi.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let n=0;const c=this.upgrades.length;for(;n{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const n=this.getWritablePackets();this.transport.send(n),this.prevBufferLen=n.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let c=1;for(let d=0;d0&&c>this.maxPayload)return this.writeBuffer.slice(0,d);c+=2}return this.writeBuffer}write(n,c,d){return this.sendPacket("message",n,c,d),this}send(n,c,d){return this.sendPacket("message",n,c,d),this}sendPacket(n,c,d,m){if(typeof c=="function"&&(m=c,c=void 0),typeof d=="function"&&(m=d,d=null),this.readyState==="closing"||this.readyState==="closed")return;d=d||{},d.compress=d.compress!==!1;const y={type:n,data:c,options:d};this.emitReserved("packetCreate",y),this.writeBuffer.push(y),m&&this.once("flush",m),this.flush()}close(){const n=()=>{this.onClose("forced close"),this.transport.close()},c=()=>{this.off("upgrade",c),this.off("upgradeError",c),n()},d=()=>{this.once("upgrade",c),this.once("upgradeError",c)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?d():n()}):this.upgrading?d():n()),this}onError(n){Vi.priorWebsocketSuccess=!1,this.emitReserved("error",n),this.onClose("transport error",n)}onClose(n,c){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",n,c),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(n){const c=[];let d=0;const m=n.length;for(;dtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s.buffer instanceof ArrayBuffer,dh=Object.prototype.toString,Gp=typeof Blob=="function"||typeof Blob<"u"&&dh.call(Blob)==="[object BlobConstructor]",jp=typeof File=="function"||typeof File<"u"&&dh.call(File)==="[object FileConstructor]";function _n(s){return Wp&&(s instanceof ArrayBuffer||Vp(s))||Gp&&s instanceof Blob||jp&&s instanceof File}function ps(s,n){if(!s||typeof s!="object")return!1;if(Array.isArray(s)){for(let c=0,d=s.length;c=0&&s.num{delete this.acks[n];for(let L=0;L{this.io.clearTimeoutFn(y),c.apply(this,L)};S.withError=!0,this.acks[n]=S}emitWithAck(n,...c){return new Promise((d,m)=>{const y=(S,L)=>S?m(S):d(L);y.withError=!0,c.push(y),this.emit(n,...c)})}_addToQueue(n){let c;typeof n[n.length-1]=="function"&&(c=n.pop());const d={id:this._queueSeq++,tryCount:0,pending:!1,args:n,flags:Object.assign({fromQueue:!0},this.flags)};n.push((m,...y)=>d!==this._queue[0]?void 0:(m!==null?d.tryCount>this._opts.retries&&(this._queue.shift(),c&&c(m)):(this._queue.shift(),c&&c(null,...y)),d.pending=!1,this._drainQueue())),this._queue.push(d),this._drainQueue()}_drainQueue(n=!1){if(!this.connected||this._queue.length===0)return;const c=this._queue[0];c.pending&&!n||(c.pending=!0,c.tryCount++,this.flags=c.flags,this.emit.apply(this,c.args))}packet(n){n.nsp=this.nsp,this.io._packet(n)}onopen(){typeof this.auth=="function"?this.auth(n=>{this._sendConnectPacket(n)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(n){this.packet({type:zt.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},n):n})}onerror(n){this.connected||this.emitReserved("connect_error",n)}onclose(n,c){this.connected=!1,delete this.id,this.emitReserved("disconnect",n,c),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(n=>{if(!this.sendBuffer.some(d=>String(d.id)===n)){const d=this.acks[n];delete this.acks[n],d.withError&&d.call(this,new Error("socket has been disconnected"))}})}onpacket(n){if(n.nsp===this.nsp)switch(n.type){case zt.CONNECT:n.data&&n.data.sid?this.onconnect(n.data.sid,n.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case zt.EVENT:case zt.BINARY_EVENT:this.onevent(n);break;case zt.ACK:case zt.BINARY_ACK:this.onack(n);break;case zt.DISCONNECT:this.ondisconnect();break;case zt.CONNECT_ERROR:this.destroy();const d=new Error(n.data.message);d.data=n.data.data,this.emitReserved("connect_error",d);break}}onevent(n){const c=n.data||[];n.id!=null&&c.push(this.ack(n.id)),this.connected?this.emitEvent(c):this.receiveBuffer.push(Object.freeze(c))}emitEvent(n){if(this._anyListeners&&this._anyListeners.length){const c=this._anyListeners.slice();for(const d of c)d.apply(this,n)}super.emit.apply(this,n),this._pid&&n.length&&typeof n[n.length-1]=="string"&&(this._lastOffset=n[n.length-1])}ack(n){const c=this;let d=!1;return function(...m){d||(d=!0,c.packet({type:zt.ACK,id:n,data:m}))}}onack(n){const c=this.acks[n.id];typeof c=="function"&&(delete this.acks[n.id],c.withError&&n.data.unshift(null),c.apply(this,n.data))}onconnect(n,c){this.id=n,this.recovered=c&&this._pid===c,this._pid=c,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(n=>this.emitEvent(n)),this.receiveBuffer=[],this.sendBuffer.forEach(n=>{this.notifyOutgoingListeners(n),this.packet(n)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(n=>n()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:zt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(n){return this.flags.compress=n,this}get volatile(){return this.flags.volatile=!0,this}timeout(n){return this.flags.timeout=n,this}onAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(n),this}prependAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(n),this}offAny(n){if(!this._anyListeners)return this;if(n){const c=this._anyListeners;for(let d=0;d0&&s.jitter<=1?s.jitter:0,this.attempts=0}aa.prototype.duration=function(){var s=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),c=Math.floor(n*this.jitter*s);s=Math.floor(n*10)&1?s+c:s-c}return Math.min(s,this.max)|0};aa.prototype.reset=function(){this.attempts=0};aa.prototype.setMin=function(s){this.ms=s};aa.prototype.setMax=function(s){this.max=s};aa.prototype.setJitter=function(s){this.jitter=s};class Ur extends ae{constructor(n,c){var d;super(),this.nsps={},this.subs=[],n&&typeof n=="object"&&(c=n,n=void 0),c=c||{},c.path=c.path||"/socket.io",this.opts=c,Vs(this,c),this.reconnection(c.reconnection!==!1),this.reconnectionAttempts(c.reconnectionAttempts||1/0),this.reconnectionDelay(c.reconnectionDelay||1e3),this.reconnectionDelayMax(c.reconnectionDelayMax||5e3),this.randomizationFactor((d=c.randomizationFactor)!==null&&d!==void 0?d:.5),this.backoff=new aa({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(c.timeout==null?2e4:c.timeout),this._readyState="closed",this.uri=n;const m=c.parser||Qp;this.encoder=new m.Encoder,this.decoder=new m.Decoder,this._autoConnect=c.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(n){return arguments.length?(this._reconnection=!!n,this):this._reconnection}reconnectionAttempts(n){return n===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=n,this)}reconnectionDelay(n){var c;return n===void 0?this._reconnectionDelay:(this._reconnectionDelay=n,(c=this.backoff)===null||c===void 0||c.setMin(n),this)}randomizationFactor(n){var c;return n===void 0?this._randomizationFactor:(this._randomizationFactor=n,(c=this.backoff)===null||c===void 0||c.setJitter(n),this)}reconnectionDelayMax(n){var c;return n===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=n,(c=this.backoff)===null||c===void 0||c.setMax(n),this)}timeout(n){return arguments.length?(this._timeout=n,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(n){if(~this._readyState.indexOf("open"))return this;this.engine=new hh(this.uri,this.opts);const c=this.engine,d=this;this._readyState="opening",this.skipReconnect=!1;const m=Ne(c,"open",function(){d.onopen(),n&&n()}),y=L=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",L),n?n(L):this.maybeReconnectOnOpen()},S=Ne(c,"error",y);if(this._timeout!==!1){const L=this._timeout,I=this.setTimeoutFn(()=>{m(),y(new Error("timeout")),c.close()},L);this.opts.autoUnref&&I.unref(),this.subs.push(()=>{this.clearTimeoutFn(I)})}return this.subs.push(m),this.subs.push(S),this}connect(n){return this.open(n)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const n=this.engine;this.subs.push(Ne(n,"ping",this.onping.bind(this)),Ne(n,"data",this.ondata.bind(this)),Ne(n,"error",this.onerror.bind(this)),Ne(n,"close",this.onclose.bind(this)),Ne(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(n){try{this.decoder.add(n)}catch(c){this.onclose("parse error",c)}}ondecoded(n){Tn(()=>{this.emitReserved("packet",n)},this.setTimeoutFn)}onerror(n){this.emitReserved("error",n)}socket(n,c){let d=this.nsps[n];return d?this._autoConnect&&!d.active&&d.connect():(d=new uh(this,n,c),this.nsps[n]=d),d}_destroy(n){const c=Object.keys(this.nsps);for(const d of c)if(this.nsps[d].active)return;this._close()}_packet(n){const c=this.encoder.encode(n);for(let d=0;dn()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(n,c){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",n,c),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const n=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const c=this.backoff.duration();this._reconnecting=!0;const d=this.setTimeoutFn(()=>{n.skipReconnect||(this.emitReserved("reconnect_attempt",n.backoff.attempts),!n.skipReconnect&&n.open(m=>{m?(n._reconnecting=!1,n.reconnect(),this.emitReserved("reconnect_error",m)):n.onreconnect()}))},c);this.opts.autoUnref&&d.unref(),this.subs.push(()=>{this.clearTimeoutFn(d)})}}onreconnect(){const n=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",n)}}const la={};function xs(s,n){typeof s=="object"&&(n=s,s=void 0),n=n||{};const c=Bp(s,n.path||"/socket.io"),d=c.source,m=c.id,y=c.path,S=la[m]&&y in la[m].nsps,L=n.forceNew||n["force new connection"]||n.multiplex===!1||S;let I;return L?I=new Ur(d,n):(la[m]||(la[m]=new Ur(d,n)),I=la[m]),c.query&&!n.query&&(n.query=c.queryKey),I.socket(c.path,n)}Object.assign(xs,{Manager:Ur,Socket:uh,io:xs,connect:xs});var rs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ex(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ix="Expected a function",ll=NaN,ax="[object Symbol]",sx=/^\s+|\s+$/g,rx=/^[-+]0x[0-9a-f]+$/i,nx=/^0b[01]+$/i,ox=/^0o[0-7]+$/i,lx=parseInt,cx=typeof rs=="object"&&rs&&rs.Object===Object&&rs,hx=typeof self=="object"&&self&&self.Object===Object&&self,dx=cx||hx||Function("return this")(),ux=Object.prototype,fx=ux.toString,gx=Math.max,px=Math.min,gr=function(){return dx.Date.now()};function xx(s,n,c){var d,m,y,S,L,I,F=0,z=!1,H=!1,G=!0;if(typeof s!="function")throw new TypeError(ix);n=cl(n)||0,$r(c)&&(z=!!c.leading,H="maxWait"in c,y=H?gx(cl(c.maxWait)||0,n):y,G="trailing"in c?!!c.trailing:G);function J(it){var Mt=d,Ut=m;return d=m=void 0,F=it,S=s.apply(Ut,Mt),S}function bt(it){return F=it,L=setTimeout(et,n),z?J(it):S}function lt(it){var Mt=it-I,Ut=it-F,re=n-Mt;return H?px(re,y-Ut):re}function Ot(it){var Mt=it-I,Ut=it-F;return I===void 0||Mt>=n||Mt<0||H&&Ut>=y}function et(){var it=gr();if(Ot(it))return R(it);L=setTimeout(et,lt(it))}function R(it){return L=void 0,G&&d?J(it):(d=m=void 0,S)}function ct(){L!==void 0&&clearTimeout(L),F=0,d=I=m=L=void 0}function ut(){return L===void 0?S:R(gr())}function W(){var it=gr(),Mt=Ot(it);if(d=arguments,m=this,I=it,Mt){if(L===void 0)return bt(I);if(H)return L=setTimeout(et,n),J(I)}return L===void 0&&(L=setTimeout(et,n)),S}return W.cancel=ct,W.flush=ut,W}function $r(s){var n=typeof s;return!!s&&(n=="object"||n=="function")}function mx(s){return!!s&&typeof s=="object"}function bx(s){return typeof s=="symbol"||mx(s)&&fx.call(s)==ax}function cl(s){if(typeof s=="number")return s;if(bx(s))return ll;if($r(s)){var n=typeof s.valueOf=="function"?s.valueOf():s;s=$r(n)?n+"":n}if(typeof s!="string")return s===0?s:+s;s=s.replace(sx,"");var c=nx.test(s);return c||ox.test(s)?lx(s.slice(2),c?2:8):rx.test(s)?ll:+s}var vx=xx;const fh=ex(vx),yx=void 0,wx=30,gh={notificationEvents:[],notificationCounter:0,notificationAPICounter:0,notificationHistory:[],notificationHistoryConfig:{},userActivity:{},userActivityConfig:{},exercises:[],selected_exercises:[],progresses:{},diagnostic:{}},Dt=Ta({...gh}),za=Ta({connected:!1,zmq_last_time:!1}),se=xs(yx,{autoConnect:!0}),kx=Et(()=>Dt.exercises),hl=Et(()=>Dt.selected_exercises),dl=Et(()=>Dt.exercises.filter(s=>Dt.selected_exercises.includes(s.uuid))),ul=Et(()=>Dt.progresses),fl=Et(()=>Dt.notificationEvents),Ax=Et(()=>Dt.notificationCounter),Sx=Et(()=>Dt.notificationAPICounter),Cx=Et(()=>Object.keys(Dt.progresses).length),Wi=Et(()=>Dt.diagnostic),pr=Et(()=>Dt.notificationHistory),Px=Et(()=>Dt.notificationHistoryConfig),xr=Et(()=>Dt.userActivity),gl=Et(()=>Dt.userActivityConfig),Gi=Et(()=>za.connected),pl=Et(()=>za.zmq_last_time);function Lx(){Object.assign(Dt,gh)}function qr(){zx(),xh(),mh(),Gs(),Fx()}function Ex(s,n,c,d){Xx(s,{user_id:n,exercise_uuid:c,task_uuid:d})}function Tx(){Yx()}function _x(){Dx()}function Ix(s,n){Hx({exercise_uuid:s,selected:n})}function Mx(s){Bx(s)}function Ox(s){Wx(s)}const ph=fh(Gs,200,{leading:!0}),Rx=fh(Nx,1e3,{leading:!0});function zx(){se.emit("get_exercises",s=>{Dt.exercises=s})}function xh(){se.emit("get_selected_exercises",s=>{Dt.selected_exercises=s})}function mh(){se.emit("get_notifications",s=>{Dt.notificationEvents=s})}function Gs(){se.emit("get_progress",s=>{Dt.progresses=s})}function Fx(){se.emit("get_users_activity",s=>{Dt.userActivity=s.activity,Dt.userActivityConfig=s.config})}function Nx(){Dt.diagnostic={},se.emit("get_diagnostic",s=>{Dt.diagnostic=s})}function Xx(s,n){const c=s?"mark_task_incomplete":"mark_task_completed";se.emit(c,n,()=>{Gs()})}function Yx(){se.emit("reset_all_exercise_progress",()=>{Gs()})}function Dx(){se.emit("reset_notifications",()=>{mh()})}function Hx(s){se.emit("change_exercise_selection",s,()=>{xh()})}function Bx(s){const n={verbose:s};se.emit("toggle_verbose_mode",n,()=>{})}function Wx(s){const n={apiquery:s};se.emit("toggle_apiquery_mode",n,()=>{})}se.on("connect",()=>{za.connected=!0});se.on("disconnect",()=>{za.connected=!1});se.on("notification",s=>{Dt.notificationCounter+=1,s.is_api_request&&(Dt.notificationAPICounter+=1),Vx(Dt.notificationEvents,s,wx)});se.on("new_user",s=>{ph()});se.on("refresh_score",s=>{ph()});se.on("keep_alive",s=>{za.zmq_last_time=s.zmq_last_time});se.on("update_notification_history",s=>{Dt.notificationHistory=s.history,Dt.notificationHistoryConfig=s.config});se.on("update_users_activity",s=>{Dt.userActivity=s.activity,Dt.userActivityConfig=s.config});function Vx(s,n,c){s.unshift(n),s.length>c&&(s.length=c)}const Gx={class:"modal-box w-11/12 max-w-6xl top-24 absolute bg-slate-200 dark:bg-slate-600 text-slate-700 dark:text-slate-200"},jx={class:"text-2xl font-bold"},Ux=j("div",{class:"modal-action"},[j("form",{method:"dialog"},[j("button",{class:"btn btn-sm btn-circle btn-ghost absolute right-2 top-2"},"✕")])],-1),$x={class:"flex mb-5 gap-2"},qx={class:"text-lg font-semibold"},Zx={class:"label cursor-pointer justify-start"},Kx=["onChange","checked","value"],Jx={class:"font-mono font-semibold text-base ml-3"},Qx={class:"text-lg font-semibold mt-4"},tm={class:"font-semibold ml-1 my-3"},em=j("strong",null,"MISP Status:",-1),im={class:"ml-2"},am={key:0,class:"loading loading-dots loading-sm h-4 inline-block align-middle"},sm={key:1,class:"font-bold"},rm={class:"font-semibold ml-1 my-3"},nm=j("strong",null,"ZMQ Status:",-1),om={class:"ml-2"},lm={key:0,class:"loading loading-dots loading-sm h-4 inline-block align-middle"},cm={key:1,class:"font-bold"},hm=j("h4",{class:"font-semibold ml-1"},[j("strong",null,"MISP Settings:")],-1),dm={class:"ml-3"},um={key:0,class:"flex justify-center"},fm=j("span",{class:"loading loading-dots loading-lg"},null,-1),gm=[fm],pm={class:"label cursor-pointer justify-start p-0 pt-1"},xm=["checked","value"],mm={class:"font-mono font-semibold text-base ml-3"},bm=j("form",{method:"dialog",class:"modal-backdrop"},[j("button",null,"close")],-1),vm={__name:"TheAdminPanel",setup(s){const n=He(null),c=Et(()=>Object.keys(Wi.value).length==0),d=Et(()=>{var I;return((I=Wi.value.version)==null?void 0:I.version)!==void 0}),m=Et(()=>Wi.value.zmq_message_count>0),y=Et(()=>Wi.value.zmq_message_count);function S(I,F){Ix(F,I)}function L(){n.value.showModal(),Rx()}return(I,F)=>(yt(),At(Kt,null,[j("button",{onClick:F[0]||(F[0]=z=>L()),class:"px-2 py-1 rounded-md focus-outline font-semibold bg-blue-600 text-slate-200 hover:bg-blue-700"},[It(dt(oe),{icon:dt(Zo),class:"mr-1"},null,8,["icon"]),ne(" Admin panel ")]),j("dialog",{ref_key:"admin_modal",ref:n,class:"modal"},[j("div",Gx,[j("h2",jx,[It(dt(oe),{icon:dt(Zo),class:""},null,8,["icon"]),ne(" Admin panel ")]),Ux,j("div",null,[j("div",$x,[j("button",{onClick:F[1]||(F[1]=z=>dt(qr)()),class:"h-10 min-h-10 px-2 py-1 font-semibold bg-blue-600 text-slate-200 hover:bg-blue-700 btn btn-sm gap-1"},[It(dt(oe),{icon:dt(rp),size:"lg","fixed-width":""},null,8,["icon"]),ne(" Full refresh ")]),j("button",{onClick:F[2]||(F[2]=z=>dt(Tx)()),class:"h-10 min-h-10 px-2 py-1 font-semibold bg-red-600 text-slate-200 hover:bg-red-700 btn btn-sm gap-1"},[It(dt(oe),{icon:dt(Qg),size:"lg","fixed-width":""},null,8,["icon"]),ne(" Reset All Exercises ")]),j("button",{onClick:F[3]||(F[3]=z=>dt(_x)()),class:"h-10 min-h-10 px-2 py-1 font-semibold bg-amber-600 text-slate-200 hover:bg-amber-700 btn btn-sm gap-1"},[It(dt(oe),{icon:dt(Kg),size:"lg"},{default:Ul(()=>[ne(" fixed-width")]),_:1},8,["icon"]),ne(" Clear Live Logs ")])]),j("h3",qx,[It(dt(oe),{icon:dt(Jc),class:"mr-1"},null,8,["icon"]),ne(" Selected Exercises ")]),(yt(!0),At(Kt,null,Mi(dt(kx),z=>(yt(),At("div",{key:z.name,class:"form-control pl-3"},[j("label",Zx,[j("input",{onChange:H=>S(H.target.checked,z.uuid),type:"checkbox",checked:dt(hl).includes(z.uuid),value:z.uuid,class:ie(`checkbox ${dt(hl).includes(z.uuid)?"checkbox-success":""} [--fallback-bc:#94a3b8]`)},null,42,Kx),j("span",Jx,Wt(z.name),1)])]))),128)),j("h3",Qx,[It(dt(oe),{icon:dt(tp),class:"mr-1"},null,8,["icon"]),ne(" Diagnostic ")]),j("h4",tm,[em,j("span",im,[j("span",{class:ie({"rounded-lg py-1 px-2":!0,"dark:bg-neutral-800 bg-neutral-400 text-slate-800 dark:text-slate-200":c.value,"dark:bg-green-700 bg-green-500 text-slate-800 dark:text-slate-200":!c.value&&d.value,"dark:bg-red-700 bg-red-700 text-slate-200 dark:text-slate-200":!c.value&&!d.value})},[c.value?(yt(),At("span",am)):(yt(),At("span",sm,Wt(d.value?`Online (${dt(Wi).version.version})`:"Unreachable"),1))],2)])]),j("h4",rm,[nm,j("span",om,[j("span",{class:ie({"rounded-lg py-1 px-2":!0,"dark:bg-neutral-800 bg-neutral-400 text-slate-800 dark:text-slate-200":c.value,"dark:bg-green-700 bg-green-500 text-slate-800 dark:text-slate-200":!c.value&&m.value,"dark:bg-red-700 bg-red-700 text-slate-200 dark:text-slate-200":!c.value&&!m.value})},[c.value?(yt(),At("span",lm)):(yt(),At("span",cm,Wt(m.value?`ZMQ Active (${y.value} messages)`:"No message received yet"),1))],2)])]),c.value||d.value?(yt(),At(Kt,{key:0},[hm,j("div",dm,[c.value?(yt(),At("div",um,gm)):Xi("",!0),(yt(!0),At(Kt,null,Mi(dt(Wi).settings,(z,H)=>(yt(),At("div",{key:H},[j("div",null,[j("label",pm,[j("input",{type:"checkbox",checked:z,value:H,class:ie(`checkbox ${z?"checkbox-success":"checkbox-danger"} [--fallback-bc:#cbd5e1]`),disabled:""},null,10,xm),j("span",mm,Wt(H),1)])])]))),128))])],64)):Xi("",!0)])]),bm],512)],64))}},ym={class:"flex flex-col justify-center mt-1"},wm=j("span",{class:"mr-1"},"Socket.IO:",-1),km={class:"font-semibold text-green-600 dark:text-green-400"},Am={class:"font-semibold text-slate-50"},Sm={key:0,class:"text-xs font-thin leading-3 inline-block text-center"},Cm={__name:"TheSocketConnectionState",setup(s){const n=He("?");function c(){pl.value!==!1?n.value=parseInt((new Date().getTime()-pl.value*1e3)/1e3):n.value="?"}return _a(()=>{setInterval(()=>{c()},1e3)}),(d,m)=>(yt(),At("span",ym,[j("span",{class:ie({"px-2 rounded-md inline-block w-48 leading-4":!0,"text-slate-900 dark:text-slate-400":dt(Gi),"text-slate-50 bg-red-600 px-2 py-1":!dt(Gi)})},[wm,Kn(j("span",km,"Connected",512),[[fo,dt(Gi)]]),Kn(j("span",Am,"Disconnected",512),[[fo,!dt(Gi)]])],2),dt(Gi)?(yt(),At("span",Sm,[n.value==0?(yt(),At(Kt,{key:0},[ne(" online ")],64)):(yt(),At(Kt,{key:1},[ne(" Last keep-alive: "+Wt(n.value)+"s ago ",1)],64))])):Xi("",!0)]))}},Pm={class:"my-2 --ml-1 bg-slate-50 dark:bg-slate-600 py-1 pl-1 pr-3 rounded-md relative flex flex-col"},Lm={class:"text-xxs flex justify-between h-full items-center text-slate-500 dark:text-slate-300"},Em={class:"-rotate-90 w-8 -ml-3"},Tm=j("span",{class:"-rotate-90 w-8 text-xs"},"–",-1),_m=j("span",{class:"-rotate-90 w-8 text-lg"},"–",-1),Im=j("span",{class:"-rotate-90 w-8 text-xs"},"–",-1),Mm=j("span",{class:"-rotate-90 w-8 -mr-1.5"},"- 0min",-1),Om={__name:"TheLiveLogsActivityGraph",setup(s){const n=He(null),c=[{data:Array.from(Array(12*20)).map(()=>0)}],d=Et(()=>pr.value.length>0),m=Et(()=>pr.value?y.value:c.value),y=Et(()=>[{data:Array.from(pr.value)}]),S=Et(()=>({chart:{type:"bar",width:"100%",height:32,sparkline:{enabled:!0},dropShadow:{enabled:!0,enabledOnSeries:void 0,top:2,left:1,blur:2,color:"#000",opacity:ti.value?.35:.15},animations:{enabled:!1,easing:"easeinout",speed:200}},colors:[ti.value?"#008ffb":"#1f9eff"],plotOptions:{bar:{columnWidth:"80%"}},yaxis:{min:0,labels:{show:!1}},tooltip:{enabled:!1}}));return(L,I)=>{const F=$l("apexchart");return yt(),At("div",Pm,[j("div",{class:ie(`${d.value?"absolute":"hidden"} h-10 -mt-1 w-full z-40`)},[j("div",Lm,[j("span",Em,"- "+Wt(dt(Px).buffer_timestamp_min)+"min",1),Tm,_m,Im,Mm])],2),j("i",{class:ie(["text-center text-slate-600 dark:text-slate-400",d.value?"hidden":"block"])}," - No recorded activity - ",2),It(F,{ref_key:"theChart",ref:n,class:ie(d.value?"block":"absolute h-8 w-full"),height:"32",width:"100%",options:S.value,series:m.value},null,8,["class","options","series"])])}}},Rm={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},zm={class:"mb-2 flex flex-wrap gap-x-3"},Fm={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Nm={class:"mr-1"},Xm={class:"font-bold"},Ym={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Dm={class:"mr-1"},Hm={class:"font-bold"},Bm={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Wm={class:"mr-1"},Vm={class:"font-bold"},Gm={class:"flex items-center"},jm={class:"mr-1 flex items-center cursor-pointer text-slate-700 dark:text-slate-300"},Um=["checked"],$m={class:"flex items-center"},qm={class:"mr-1 flex items-center cursor-pointer text-slate-700 dark:text-slate-300"},Zm=["checked"],Km={class:"bg-white dark:bg-slate-800 rounded-lg shadow-xl w-full"},Jm=j("thead",null,[j("tr",{class:"font-medium dark:text-slate-200 text-slate-600"},[j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-6 text-left"}),j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-2 text-left"},"User"),j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Time"),j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"URL"),j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Payload")])],-1),Qm={key:0},tb=j("td",{colspan:"5",class:"text-center border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-3 pl-6"},[j("i",null,"- No logs yet -")],-1),eb=[tb],ib={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1 pl-2 w-12 whitespace-nowrap"},ab={class:"inline ml-1"},sb=["title"],rb={class:"text-lg font-bold font-mono"},nb={class:"text-xs font-mono"},ob={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1"},lb={class:"border-b border-slate-100 dark:border-slate-700 text-sky-600 dark:text-sky-400 p-1"},cb={class:"flex items-center"},hb={key:0,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-amber-600 dark:text-neutral-100 bg-amber-600 text-neutral-100"},db={key:1,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-amber-600 dark:text-neutral-100 bg-amber-600 text-neutral-100"},ub={key:2,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-red-600 dark:text-neutral-100 bg-red-600 text-neutral-100"},fb={key:3,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-blue-600 dark:text-neutral-100 bg-blue-600 text-neutral-100"},gb={class:"text-sm inline"},pb={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-300 p-1"},xb={key:0,class:"border border-slate-200 dark:border-slate-600 bg-slate-100 dark:bg-slate-600 rounded-md"},mb={class:"p-1 text-xs"},bb={__name:"TheLiveLogs",setup(s){const n=He(!1),c=He(!1);Te(n,m=>{Mx(m==!0)}),Te(c,m=>{Ox(m==!0)});function d(m){return String(m).startsWith("2")?"text-green-500":String(m).startsWith("5")?"text-red-600":"text-amber-600"}return(m,y)=>(yt(),At(Kt,null,[j("h3",Rm,[It(dt(oe),{icon:dt(Ko)},null,8,["icon"]),ne(" Live logs ")]),j("div",zm,[j("span",Fm,[j("span",Nm,[It(dt(oe),{icon:dt(Zg),size:"sm"},null,8,["icon"]),ne(" Players: ")]),j("span",Xm,Wt(dt(Cx)),1)]),j("span",Ym,[j("span",Dm,[It(dt(oe),{icon:dt(Ko),size:"sm"},null,8,["icon"]),ne(" Total Queries: ")]),j("span",Hm,Wt(dt(Ax)),1)]),j("span",Bm,[j("span",Wm,[It(dt(oe),{icon:dt(dr),size:"sm",mask:dt(hr),transform:"shrink-7 left-1"},null,8,["icon","mask"]),ne(" Total API Queries: ")]),j("span",Vm,Wt(dt(Sx)),1)]),j("span",Gm,[j("label",jm,[j("input",{type:"checkbox",class:"toggle toggle-warning [--fallback-su:#22c55e] mr-1",checked:n.value,onChange:y[0]||(y[0]=S=>n.value=!n.value)},null,40,Um),ne(" Verbose ")])]),j("span",$m,[j("label",qm,[j("input",{type:"checkbox",class:"toggle toggle-success [--fallback-su:#22c55e] mr-1",checked:c.value,onChange:y[1]||(y[1]=S=>c.value=!c.value)},null,40,Zm),It(dt(oe),{icon:dt(dr),size:"sm",mask:dt(hr),transform:"shrink-7 left-1",class:"mr-1"},null,8,["icon","mask"]),ne(" API Queries ")])])]),It(Om),j("table",Km,[Jm,j("tbody",null,[dt(fl).length==0?(yt(),At("tr",Qm,eb)):(yt(!0),At(Kt,{key:1},Mi(dt(fl),S=>(yt(),At("tr",{key:S.id},[j("td",ib,[It(dt(oe),{icon:dt(Jg),size:"xs",class:ie(d(S.response_code))},null,8,["icon","class"]),j("pre",ab,Wt(S.response_code),1)]),j("td",{class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1 pl-2",title:S.user_id},[j("span",rb,Wt(S.user.split("@")[0]),1),j("span",nb,"@"+Wt(S.user.split("@")[1]),1)],8,sb),j("td",ob,Wt(S.time),1),j("td",lb,[j("div",cb,[S.http_method=="POST"?(yt(),At("span",hb,"POST")):S.http_method=="PUT"?(yt(),At("span",db,"PUT")):S.http_method=="DELETE"?(yt(),At("span",ub,"DEL")):(yt(),At("span",fb,Wt(S.http_method),1)),S.is_api_request?(yt(),ji(dt(oe),{key:4,class:"text-slate-800 dark:text-slate-100 mr-1 inline-block",icon:dt(dr),mask:dt(hr),transform:"shrink-7 left-1"},null,8,["icon","mask"])):Xi("",!0),j("pre",gb,Wt(S.url),1)])]),j("td",pb,[S.http_method=="POST"?(yt(),At("div",xb,[j("pre",mb,Wt(JSON.stringify(S.payload,null,2)),1)])):Xi("",!0)])]))),128))])])],64))}},vb=["title"],yb={__name:"LiveLogsUserActivityGraph",props:["user_id"],setup(s){const n=s;He(null);const c=Et(()=>gl.value.activity_buffer_size),d=Et(()=>gl.value.timestamp_min),m=Array.from(Array(c.value)).map(()=>0),y=Et(()=>xr.value.length!=0),S=Et(()=>y.value?L.value:m),L=Et(()=>{const z=xr.value[n.user_id]===void 0?m:xr.value[n.user_id];return[{data:Array.from(z)}]}),I=[1,3,5,7,9,1e3],F=Et(()=>({chart:{height:12,width:224,type:"heatmap",sparkline:{enabled:!0},animations:{enabled:!1,easing:"easeinout",speed:200}},dataLabels:{enabled:!1,style:{fontSize:"10px",fontWeight:"400"}},plotOptions:{heatmap:{radius:2,enableShades:!1,shadeIntensity:.5,reverseNegativeShade:!0,distributed:!1,useFillColorAsStroke:!1,colorScale:{ranges:[{from:0,to:I[0],color:ti.value?"#1e3a8a":"#bfdbfe"},{from:I[0]+1,to:I[1],color:ti.value?"#1d4ed8":"#93c5fd"},{from:I[1]+1,to:I[2],color:ti.value?"#2563eb":"#60a5fa"},{from:I[2]+1,to:I[3],color:(ti.value,"#3b82f6")},{from:I[3]+1,to:I[4],color:ti.value?"#60a5fa":"#2563eb"},{from:I[4]+1,to:I[5],color:ti.value?"#93c5fd":"#1d4ed8"}],min:0,max:1e3}}},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},grid:{show:!1},legend:{show:!0},stroke:{width:0},tooltip:{enabled:!1}}));return(z,H)=>{const G=$l("apexchart");return yt(),At("span",{class:"h-3 w-52",title:`Activity over ${d.value}min`},[It(G,{type:"heatmap",height:"12",width:"224",options:F.value,series:S.value},null,8,["options","series"])],8,vb)}}},wb={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},kb={key:0,class:"text-center text-slate-600 dark:text-slate-400 p-3 pl-6"},Ab=j("i",null,"- No Exercise available -",-1),Sb=[Ab],Cb=["onClick"],Pb=["colspan"],Lb={class:"flex justify-between items-center"},Eb={class:"dark:text-blue-200 text-slate-200"},Tb={class:"text-lg"},_b={class:""},Ib=j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-6 text-left"},"User",-1),Mb=["title"],Ob={class:"flex flex-col"},Rb={class:"text-center font-normal text-sm dark:text-blue-200 text-slate-500 text-nowrap"},zb={class:"text-center"},Fb=j("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Progress",-1),Nb={key:0},Xb=["colspan"],Yb=j("i",null,"- No user yet -",-1),Db=[Yb],Hb={class:"border-b border-slate-200 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-0 pl-2 relative"},Bb={class:"flex flex-col max-w-60"},Wb=["title"],Vb={class:"text-lg font-bold font-mono leading-5 tracking-tight"},Gb={class:"text-xs font-mono tracking-tight"},jb=["onClick"],Ub={class:"flex flex-col"},$b={class:"text-nowrap"},qb={class:"text-sm leading-3"},Zb={key:1},Kb={class:"border-b border-slate-200 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-3"},Jb=["aria-valuenow"],Qb={__name:"TheScores",setup(s){const n=He([]);function c(S,L,I,F){Ex(S,L,I,F)}function d(S){const L=n.value.indexOf(S);L>=0?n.value.splice(L,1):n.value.push(S)}const m=Et(()=>dl.value.length>0),y=Et(()=>Object.keys(ul.value).length>0);return(S,L)=>(yt(),At(Kt,null,[j("h3",wb,[It(dt(oe),{icon:dt(Jc)},null,8,["icon"]),ne(" Active Exercises ")]),m.value?Xi("",!0):(yt(),At("div",kb,Sb)),(yt(!0),At(Kt,null,Mi(dt(dl),(I,F)=>(yt(),At("table",{key:I.name,class:"bg-white dark:bg-slate-800 rounded-lg shadow-xl w-full mb-4"},[j("thead",null,[j("tr",{onClick:z=>d(F),class:"cursor-pointer"},[j("th",{colspan:2+I.tasks.length,class:"rounded-t-lg border-b border-slate-100 dark:border-slate-700 text-md p-3 pl-6 text-center dark:bg-blue-800 bg-blue-500 dark:text-slate-300 text-slate-100"},[j("div",Lb,[j("span",Eb,"# "+Wt(F+1),1),j("span",Tb,Wt(I.name),1),j("span",_b,[ne(" Level: "),j("span",{class:ie({"rounded-lg px-1 ml-2":!0,"dark:bg-sky-400 bg-sky-400 text-neutral-950":I.level=="beginner","dark:bg-orange-400 bg-orange-400 text-neutral-950":I.level=="advanced","dark:bg-red-600 bg-red-600 text-neutral-950":I.level=="expert"})},Wt(I.level),3)])])],8,Pb)],8,Cb),j("tr",{class:ie(`font-medium text-slate-600 dark:text-slate-200 ${n.value.includes(F)?"hidden":""}`)},[Ib,(yt(!0),At(Kt,null,Mi(I.tasks,(z,H)=>(yt(),At("th",{key:z.name,class:"border-b border-slate-100 dark:border-slate-700 p-3 align-top",title:z.description},[j("div",Ob,[j("span",Rb,"Task "+Wt(H+1),1),j("i",zb,Wt(z.name),1)])],8,Mb))),128)),Fb],2)]),j("tbody",{class:ie(`${n.value.includes(F)?"hidden":""}`)},[y.value?(yt(!0),At(Kt,{key:1},Mi(dt(ul),(z,H)=>(yt(),At("tr",{key:H,class:"bg-slate-100 dark:bg-slate-900"},[j("td",Hb,[j("span",Bb,[j("span",{title:H,class:"text-nowrap inline-block leading-5 truncate"},[z.exercises[I.uuid].score/z.exercises[I.uuid].max_score==1?(yt(),ji(dt(oe),{key:0,icon:dt(ip),class:"mr-1 text-amber-300"},null,8,["icon"])):Xi("",!0),j("span",Vb,Wt(z.email.split("@")[0]),1),j("span",Gb,"@"+Wt(z.email.split("@")[1]),1)],8,Wb),It(yb,{user_id:H},null,8,["user_id"])])]),(yt(!0),At(Kt,null,Mi(I.tasks,(G,J)=>{var bt;return yt(),At("td",{key:J,class:"text-center border-b border-slate-200 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-2"},[j("span",{class:"select-none cursor-pointer flex justify-center content-center flex-wrap h-9",onClick:lt=>c(z.exercises[I.uuid].tasks_completion[G.uuid],H,I.uuid,G.uuid)},[j("span",Ub,[j("span",$b,[z.exercises[I.uuid].tasks_completion[G.uuid]?(yt(),ji(dt(oe),{key:0,icon:dt(np),class:ie(`text-xl ${z.exercises[I.uuid].tasks_completion[G.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400"}`)},null,8,["icon","class"])):((bt=G.requirements)==null?void 0:bt.inject_uuid)!==void 0&&!z.exercises[I.uuid].tasks_completion[G.requirements.inject_uuid]?(yt(),ji(dt(oe),{key:1,title:"All requirements for that task haven't been fullfilled yet",icon:dt(qg),class:ie(`text-lg ${z.exercises[I.uuid].tasks_completion[G.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400"}`)},null,8,["icon","class"])):(yt(),ji(dt(oe),{key:2,icon:dt(sp),class:ie(`text-xl ${z.exercises[I.uuid].tasks_completion[G.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400"}`)},null,8,["icon","class"])),j("small",{class:ie(z.exercises[I.uuid].tasks_completion[G.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400")}," (+"+Wt(G.score)+")",3)]),j("span",qb,[z.exercises[I.uuid].tasks_completion[G.uuid].timestamp?(yt(),At("span",{key:0,class:ie(z.exercises[I.uuid].tasks_completion[G.uuid].first_completion?"font-bold":"font-extralight")},Wt(new Date(z.exercises[I.uuid].tasks_completion[G.uuid].timestamp*1e3).toTimeString().split(" ",1)[0]),3)):(yt(),At("span",Zb))])])],8,jb)])}),128)),j("td",Kb,[j("div",{class:"flex w-full h-2 bg-gray-200 rounded-full overflow-hidden dark:bg-neutral-600",role:"progressbar","aria-valuenow":z.exercises[I.uuid].score,"aria-valuemin":0,"aria-valuemax":"100"},[j("div",{class:"flex flex-col justify-center rounded-full overflow-hidden bg-green-600 text-xs text-white text-center whitespace-nowrap transition duration-500 dark:bg-green-500 transition-width transition-slowest ease",style:Ms(`width: ${100*(z.exercises[I.uuid].score/z.exercises[I.uuid].max_score)}%`)},null,4)],8,Jb)])]))),128)):(yt(),At("tr",Nb,[j("td",{colspan:2+I.tasks.length,class:"text-center border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-3 pl-6"},Db,8,Xb)]))],2)]))),128))],64))}},tv={__name:"TheDahboard",setup(s){return Te(Gi,n=>{n&&(Lx(),qr())}),_a(()=>{qr()}),(n,c)=>(yt(),At(Kt,null,[It(Qb),It(bb)],64))}},ev=j("h1",{class:"text-2xl text-center text-slate-500 dark:text-slate-400 absolute top-1 left-1"},"Exercise Dashboard",-1),iv={class:"absolute top-1 right-1"},av={class:"flex gap-2"},sv={__name:"App",setup(s){return _a(()=>{ti.value&&document.getElementsByTagName("body")[0].classList.add("dark")}),(n,c)=>(yt(),At("main",null,[ev,j("div",iv,[j("div",av,[It(dp),It(vm),It(Cm)])]),It(tv)]))}},bh=Ju(sv);bh.use(As);bh.mount("#app"); diff --git a/dist/assets/index-CiEfiGI-.css b/dist/assets/index-XAPeN3Gs.css similarity index 77% rename from dist/assets/index-CiEfiGI-.css rename to dist/assets/index-XAPeN3Gs.css index 94825ec..7ef53b0 100644 --- a/dist/assets/index-CiEfiGI-.css +++ b/dist/assets/index-XAPeN3Gs.css @@ -1 +1 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{color-scheme:light;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 89.824% .06192 275.75;--ac: 15.352% .0368 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 49.12% .3096 275.75;--s: 69.71% .329 342.55;--sc: 98.71% .0106 342.55;--a: 76.76% .184 183.61;--n: 32.1785% .02476 255.701624;--nc: 89.4994% .011585 252.096176;--b1: 100% 0 0;--b2: 96.1151% 0 0;--b3: 92.4169% .00108 197.137559;--bc: 27.8078% .029596 256.847952}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 13.138% .0392 275.75;--sc: 14.96% .052 342.55;--ac: 14.902% .0334 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 65.69% .196 275.75;--s: 74.8% .26 342.55;--a: 74.51% .167 183.61;--n: 31.3815% .021108 254.139175;--nc: 74.6477% .0216 264.435964;--b1: 25.3267% .015896 252.417568;--b2: 23.2607% .013807 253.100675;--b3: 21.1484% .01165 254.087939;--bc: 74.6477% .0216 264.435964}}[data-theme=light]{color-scheme:light;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 89.824% .06192 275.75;--ac: 15.352% .0368 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 49.12% .3096 275.75;--s: 69.71% .329 342.55;--sc: 98.71% .0106 342.55;--a: 76.76% .184 183.61;--n: 32.1785% .02476 255.701624;--nc: 89.4994% .011585 252.096176;--b1: 100% 0 0;--b2: 96.1151% 0 0;--b3: 92.4169% .00108 197.137559;--bc: 27.8078% .029596 256.847952}:root:has(input.theme-controller[value=light]:checked){color-scheme:light;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 89.824% .06192 275.75;--ac: 15.352% .0368 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 49.12% .3096 275.75;--s: 69.71% .329 342.55;--sc: 98.71% .0106 342.55;--a: 76.76% .184 183.61;--n: 32.1785% .02476 255.701624;--nc: 89.4994% .011585 252.096176;--b1: 100% 0 0;--b2: 96.1151% 0 0;--b3: 92.4169% .00108 197.137559;--bc: 27.8078% .029596 256.847952}[data-theme=dark]{color-scheme:dark;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 13.138% .0392 275.75;--sc: 14.96% .052 342.55;--ac: 14.902% .0334 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 65.69% .196 275.75;--s: 74.8% .26 342.55;--a: 74.51% .167 183.61;--n: 31.3815% .021108 254.139175;--nc: 74.6477% .0216 264.435964;--b1: 25.3267% .015896 252.417568;--b2: 23.2607% .013807 253.100675;--b3: 21.1484% .01165 254.087939;--bc: 74.6477% .0216 264.435964}:root:has(input.theme-controller[value=dark]:checked){color-scheme:dark;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 13.138% .0392 275.75;--sc: 14.96% .052 342.55;--ac: 14.902% .0334 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 65.69% .196 275.75;--s: 74.8% .26 342.55;--a: 74.51% .167 183.61;--n: 31.3815% .021108 254.139175;--nc: 74.6477% .0216 264.435964;--b1: 25.3267% .015896 252.417568;--b2: 23.2607% .013807 253.100675;--b3: 21.1484% .01165 254.087939;--bc: 74.6477% .0216 264.435964}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }@media (hover:hover){.checkbox-success:hover{--tw-border-opacity: 1;border-color:var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)))}.label a:hover{--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}.menu li>*:not(ul,.menu-title,details,.btn):active,.menu li>*:not(ul,.menu-title,details,.btn).active,.menu li>details>summary:active{--tw-bg-opacity: 1;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)))}.table tr.hover:hover,.table tr.hover:nth-child(2n):hover{--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)))}.table-zebra tr.hover:hover,.table-zebra tr.hover:nth-child(2n):hover{--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}}.btn{display:inline-flex;height:3rem;min-height:3rem;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;border-radius:var(--rounded-btn, .5rem);border-color:transparent;border-color:oklch(var(--btn-color, var(--b2)) / var(--tw-border-opacity));padding-left:1rem;padding-right:1rem;text-align:center;font-size:.875rem;line-height:1em;gap:.5rem;font-weight:600;text-decoration-line:none;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);border-width:var(--border-btn, 1px);transition-property:color,background-color,border-color,opacity,box-shadow,transform;--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-color:var(--fallback-bc,oklch(var(--bc)/1));background-color:oklch(var(--btn-color, var(--b2)) / var(--tw-bg-opacity));--tw-bg-opacity: 1;--tw-border-opacity: 1}.btn-disabled,.btn[disabled],.btn:disabled{pointer-events:none}.btn-circle{height:3rem;width:3rem;border-radius:9999px;padding:0}:where(.btn:is(input[type=checkbox])),:where(.btn:is(input[type=radio])){width:auto;-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn:is(input[type=checkbox]):after,.btn:is(input[type=radio]):after{--tw-content: attr(aria-label);content:var(--tw-content)}.checkbox{flex-shrink:0;--chkbg: var(--fallback-bc,oklch(var(--bc)/1));--chkfg: var(--fallback-b1,oklch(var(--b1)/1));height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));--tw-border-opacity: .2}.collapse:not(td):not(tr):not(colgroup){visibility:visible}.collapse{position:relative;display:grid;overflow:hidden;grid-template-rows:auto 0fr;transition:grid-template-rows .2s;width:100%;border-radius:var(--rounded-box, 1rem)}.collapse-title,.collapse>input[type=checkbox],.collapse>input[type=radio],.collapse-content{grid-column-start:1;grid-row-start:1}.collapse>input[type=checkbox],.collapse>input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0}.collapse[open],.collapse-open,.collapse:focus:not(.collapse-close){grid-template-rows:auto 1fr}.collapse:not(.collapse-close):has(>input[type=checkbox]:checked),.collapse:not(.collapse-close):has(>input[type=radio]:checked){grid-template-rows:auto 1fr}.collapse[open]>.collapse-content,.collapse-open>.collapse-content,.collapse:focus:not(.collapse-close)>.collapse-content,.collapse:not(.collapse-close)>input[type=checkbox]:checked~.collapse-content,.collapse:not(.collapse-close)>input[type=radio]:checked~.collapse-content{visibility:visible;min-height:-moz-fit-content;min-height:fit-content}@media (hover: hover){.btm-nav>*.disabled:hover,.btm-nav>*[disabled]:hover{pointer-events:none;--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}.btn:hover{--tw-border-opacity: 1;border-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}@supports (color: color-mix(in oklab,black,black)){.btn:hover{background-color:color-mix(in oklab,oklch(var(--btn-color, var(--b2)) / var(--tw-bg-opacity, 1)) 90%,black);border-color:color-mix(in oklab,oklch(var(--btn-color, var(--b2)) / var(--tw-border-opacity, 1)) 90%,black)}}@supports not (color: oklch(0% 0 0)){.btn:hover{background-color:var(--btn-color, var(--fallback-b2));border-color:var(--btn-color, var(--fallback-b2))}}.btn.glass:hover{--glass-opacity: 25%;--glass-border-opacity: 15%}.btn-ghost:hover{border-color:transparent}@supports (color: oklch(0% 0 0)){.btn-ghost:hover{background-color:var(--fallback-bc,oklch(var(--bc)/.2))}}.btn-disabled:hover,.btn[disabled]:hover,.btn:disabled:hover{--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .2;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}@supports (color: color-mix(in oklab,black,black)){.btn:is(input[type=checkbox]:checked):hover,.btn:is(input[type=radio]:checked):hover{background-color:color-mix(in oklab,var(--fallback-p,oklch(var(--p)/1)) 90%,black);border-color:color-mix(in oklab,var(--fallback-p,oklch(var(--p)/1)) 90%,black)}}}.form-control{display:flex;flex-direction:column}.label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding:.5rem .25rem}.input{flex-shrink:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:2;line-height:1.5rem;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.input[type=number]::-webkit-inner-spin-button,.input-md[type=number]::-webkit-inner-spin-button{margin-top:-1rem;margin-bottom:-1rem;margin-inline-end:-1rem}.link{cursor:pointer;text-decoration-line:underline}.mask{-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.menu li.disabled{cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--fallback-bc,oklch(var(--bc)/.3))}.modal{pointer-events:none;position:fixed;top:0;right:0;bottom:0;left:0;margin:0;display:grid;height:100%;max-height:none;width:100%;max-width:none;justify-items:center;padding:0;opacity:0;overscroll-behavior:contain;z-index:999;background-color:transparent;color:inherit;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);transition-property:transform,opacity,visibility;overflow-y:hidden}:where(.modal){align-items:center}.modal-box{max-height:calc(100vh - 5em);grid-column-start:1;grid-row-start:1;width:91.666667%;max-width:32rem;--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-bottom-right-radius:var(--rounded-box, 1rem);border-bottom-left-radius:var(--rounded-box, 1rem);border-top-left-radius:var(--rounded-box, 1rem);border-top-right-radius:var(--rounded-box, 1rem);--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));padding:1.5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);transition-duration:.2s;box-shadow:#00000040 0 25px 50px -12px;overflow-y:auto;overscroll-behavior:contain}.modal-open,.modal:target,.modal-toggle:checked+.modal,.modal[open]{pointer-events:auto;visibility:visible;opacity:1}.modal-action{display:flex;margin-top:1.5rem;justify-content:flex-end}:root:has(:is(.modal-open,.modal:target,.modal-toggle:checked+.modal,.modal[open])){overflow:hidden;scrollbar-gutter:stable}.\!progress{position:relative!important;width:100%!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;overflow:hidden!important;height:.5rem!important;border-radius:var(--rounded-box, 1rem)!important;background-color:var(--fallback-bc,oklch(var(--bc)/.2))!important}.progress{position:relative;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;height:.5rem;border-radius:var(--rounded-box, 1rem);background-color:var(--fallback-bc,oklch(var(--bc)/.2))}.table{position:relative;width:100%;border-radius:var(--rounded-box, 1rem);text-align:left;font-size:.875rem;line-height:1.25rem}.table :where(.table-pin-rows thead tr){position:sticky;top:0;z-index:1;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.table :where(.table-pin-rows tfoot tr){position:sticky;bottom:0;z-index:1;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.table :where(.table-pin-cols tr th){position:sticky;left:0;right:0;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.toggle{flex-shrink:0;--tglbg: var(--fallback-b1,oklch(var(--b1)/1));--handleoffset: 1.5rem;--handleoffsetcalculator: calc(var(--handleoffset) * -1);--togglehandleborder: 0 0;height:1.5rem;width:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rounded-badge, 1.9rem);border-width:1px;border-color:currentColor;background-color:currentColor;color:var(--fallback-bc,oklch(var(--bc)/.5));transition:background,box-shadow var(--animation-input, .2s) ease-out;box-shadow:var(--handleoffsetcalculator) 0 0 2px var(--tglbg) inset,0 0 0 2px var(--tglbg) inset,var(--togglehandleborder)}.btm-nav>*:where(.active){border-top-width:2px;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.btm-nav>*.disabled,.btm-nav>*[disabled]{pointer-events:none;--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}.btm-nav>* .label{font-size:1rem;line-height:1.5rem}@media (prefers-reduced-motion: no-preference){.btn{animation:button-pop var(--animation-btn, .25s) ease-out}}.btn:active:hover,.btn:active:focus{animation:button-pop 0s ease-out;transform:scale(var(--btn-focus-scale, .97))}@supports not (color: oklch(0% 0 0)){.btn{background-color:var(--btn-color, var(--fallback-b2));border-color:var(--btn-color, var(--fallback-b2))}}.btn:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px}.btn.glass{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-color:currentColor}.btn.glass.btn-active{--glass-opacity: 25%;--glass-border-opacity: 15%}.btn-ghost{border-width:1px;border-color:transparent;background-color:transparent;color:currentColor;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-color:currentColor}.btn-ghost.btn-active{border-color:transparent;background-color:var(--fallback-bc,oklch(var(--bc)/.2))}.btn.btn-disabled,.btn[disabled],.btn:disabled{--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .2;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}.btn:is(input[type=checkbox]:checked),.btn:is(input[type=radio]:checked){--tw-border-opacity: 1;border-color:var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)))}.btn:is(input[type=checkbox]:checked):focus-visible,.btn:is(input[type=radio]:checked):focus-visible{outline-color:var(--fallback-p,oklch(var(--p)/1))}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale, .98))}40%{transform:scale(1.02)}to{transform:scale(1)}}.checkbox:focus{box-shadow:none}.checkbox:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}.checkbox:disabled{border-width:0px;cursor:not-allowed;border-color:transparent;--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));opacity:.2}.checkbox:checked,.checkbox[aria-checked=true]{background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-out;background-color:var(--chkbg);background-image:linear-gradient(-45deg,transparent 65%,var(--chkbg) 65.99%),linear-gradient(45deg,transparent 75%,var(--chkbg) 75.99%),linear-gradient(-45deg,var(--chkbg) 40%,transparent 40.99%),linear-gradient(45deg,var(--chkbg) 30%,var(--chkfg) 30.99%,var(--chkfg) 40%,transparent 40.99%),linear-gradient(-45deg,var(--chkfg) 50%,var(--chkbg) 50.99%)}.checkbox:indeterminate{--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-out;background-image:linear-gradient(90deg,transparent 80%,var(--chkbg) 80%),linear-gradient(-90deg,transparent 80%,var(--chkbg) 80%),linear-gradient(0deg,var(--chkbg) 43%,var(--chkfg) 43%,var(--chkfg) 57%,var(--chkbg) 57%)}.checkbox-success{--chkbg: var(--fallback-su,oklch(var(--su)/1));--chkfg: var(--fallback-suc,oklch(var(--suc)/1));--tw-border-opacity: 1;border-color:var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)))}.checkbox-success:focus-visible{outline-color:var(--fallback-su,oklch(var(--su)/1))}.checkbox-success:checked,.checkbox-success[aria-checked=true]{--tw-border-opacity: 1;border-color:var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-su,oklch(var(--su)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-suc,oklch(var(--suc)/var(--tw-text-opacity)))}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}details.collapse{width:100%}details.collapse summary{position:relative;display:block;outline:2px solid transparent;outline-offset:2px}details.collapse summary::-webkit-details-marker{display:none}.collapse:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}.collapse:has(.collapse-title:focus-visible),.collapse:has(>input[type=checkbox]:focus-visible),.collapse:has(>input[type=radio]:focus-visible){outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}.collapse:not(.collapse-open):not(.collapse-close)>input[type=checkbox],.collapse:not(.collapse-open):not(.collapse-close)>input[type=radio]:not(:checked),.collapse:not(.collapse-open):not(.collapse-close)>.collapse-title{cursor:pointer}.collapse:focus:not(.collapse-open):not(.collapse-close):not(.collapse[open])>.collapse-title{cursor:unset}:where(.collapse>input[type=checkbox]),:where(.collapse>input[type=radio]){z-index:1}.collapse-title,:where(.collapse>input[type=checkbox]),:where(.collapse>input[type=radio]){width:100%;padding:1rem;padding-inline-end:3rem;min-height:3.75rem;transition:background-color .2s ease-out}.collapse[open]>:where(.collapse-content),.collapse-open>:where(.collapse-content),.collapse:focus:not(.collapse-close)>:where(.collapse-content),.collapse:not(.collapse-close)>:where(input[type=checkbox]:checked~.collapse-content),.collapse:not(.collapse-close)>:where(input[type=radio]:checked~.collapse-content){padding-bottom:1rem;transition:padding .2s ease-out,background-color .2s ease-out}.collapse[open].collapse-arrow>.collapse-title:after,.collapse-open.collapse-arrow>.collapse-title:after,.collapse-arrow:focus:not(.collapse-close)>.collapse-title:after,.collapse-arrow:not(.collapse-close)>input[type=checkbox]:checked~.collapse-title:after,.collapse-arrow:not(.collapse-close)>input[type=radio]:checked~.collapse-title:after{--tw-translate-y: -50%;--tw-rotate: 225deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.collapse[open].collapse-plus>.collapse-title:after,.collapse-open.collapse-plus>.collapse-title:after,.collapse-plus:focus:not(.collapse-close)>.collapse-title:after,.collapse-plus:not(.collapse-close)>input[type=checkbox]:checked~.collapse-title:after,.collapse-plus:not(.collapse-close)>input[type=radio]:checked~.collapse-title:after{content:"−"}.input input{--tw-bg-opacity: 1;background-color:var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));background-color:transparent}.input input:focus{outline:2px solid transparent;outline-offset:2px}.input[list]::-webkit-calendar-picker-indicator{line-height:1em}.input:focus,.input:focus-within{box-shadow:none;border-color:var(--fallback-bc,oklch(var(--bc)/.2));outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/.2))}.input:has(>input[disabled]),.input-disabled,.input:disabled,.input[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));color:var(--fallback-bc,oklch(var(--bc)/.4))}.input:has(>input[disabled])::-moz-placeholder,.input-disabled::-moz-placeholder,.input:disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.input:has(>input[disabled])::placeholder,.input-disabled::placeholder,.input:disabled::placeholder,.input[disabled]::placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.input:has(>input[disabled])>input[disabled]{cursor:not-allowed}.input::-webkit-date-and-time-value{text-align:inherit}.join>:where(*:not(:first-child)):is(.btn){margin-inline-start:calc(var(--border-btn) * -1)}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.loading{pointer-events:none;display:inline-block;aspect-ratio:1 / 1;width:1.5rem;background-color:currentColor;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E")}.loading-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_qM83%7Banimation:spinner_8HQG 1.05s infinite%7D.spinner_oXPr%7Banimation-delay:.1s%7D.spinner_ZTLf%7Banimation-delay:.2s%7D@keyframes spinner_8HQG%7B0%25,57.14%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);transform:translate(0)%7D28.57%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);transform:translateY(-6px)%7D100%25%7Btransform:translate(0)%7D%7D%3C/style%3E%3Ccircle class='spinner_qM83' cx='4' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_oXPr' cx='12' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_ZTLf' cx='20' cy='12' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_qM83%7Banimation:spinner_8HQG 1.05s infinite%7D.spinner_oXPr%7Banimation-delay:.1s%7D.spinner_ZTLf%7Banimation-delay:.2s%7D@keyframes spinner_8HQG%7B0%25,57.14%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);transform:translate(0)%7D28.57%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);transform:translateY(-6px)%7D100%25%7Btransform:translate(0)%7D%7D%3C/style%3E%3Ccircle class='spinner_qM83' cx='4' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_oXPr' cx='12' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_ZTLf' cx='20' cy='12' r='3'/%3E%3C/svg%3E")}.loading-sm{width:1.25rem}.loading-lg{width:2.5rem}.menu li>*:not(ul,.menu-title,details,.btn):active,.menu li>*:not(ul,.menu-title,details,.btn).active,.menu li>details>summary:active{--tw-bg-opacity: 1;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)))}.mockup-browser .mockup-browser-toolbar .input{position:relative;margin-left:auto;margin-right:auto;display:block;height:1.75rem;width:24rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));padding-left:2rem;direction:ltr}.mockup-browser .mockup-browser-toolbar .input:before{content:"";position:absolute;left:.5rem;top:50%;aspect-ratio:1 / 1;height:.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;border-width:2px;border-color:currentColor;opacity:.6}.mockup-browser .mockup-browser-toolbar .input:after{content:"";position:absolute;left:1.25rem;top:50%;height:.5rem;--tw-translate-y: 25%;--tw-rotate: -45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;border-width:1px;border-color:currentColor;opacity:.6}.modal:not(dialog:not(.modal-open)),.modal::backdrop{background-color:#0006;animation:modal-pop .2s ease-out}.modal-backdrop{z-index:-1;grid-column-start:1;grid-row-start:1;display:grid;align-self:stretch;justify-self:stretch;color:transparent}.modal-open .modal-box,.modal-toggle:checked+.modal .modal-box,.modal:target .modal-box,.modal[open] .modal-box{--tw-translate-y: 0px;--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.modal-action>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}@keyframes modal-pop{0%{opacity:0}}.\!progress::-moz-progress-bar{border-radius:var(--rounded-box, 1rem)!important;--tw-bg-opacity: 1 !important;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)))!important}.progress::-moz-progress-bar{border-radius:var(--rounded-box, 1rem);--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)))}.\!progress:indeterminate{--progress-color: var(--fallback-bc,oklch(var(--bc)/1)) !important;background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%)!important;background-size:200%!important;background-position-x:15%!important;animation:progress-loading 5s ease-in-out infinite!important}.progress:indeterminate{--progress-color: var(--fallback-bc,oklch(var(--bc)/1));background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%);background-size:200%;background-position-x:15%;animation:progress-loading 5s ease-in-out infinite}.\!progress::-webkit-progress-bar{border-radius:var(--rounded-box, 1rem)!important;background-color:transparent!important}.progress::-webkit-progress-bar{border-radius:var(--rounded-box, 1rem);background-color:transparent}.\!progress::-webkit-progress-value{border-radius:var(--rounded-box, 1rem)!important;--tw-bg-opacity: 1 !important;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)))!important}.progress::-webkit-progress-value{border-radius:var(--rounded-box, 1rem);--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)))}.\!progress:indeterminate::-moz-progress-bar{background-color:transparent!important;background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%)!important;background-size:200%!important;background-position-x:15%!important;animation:progress-loading 5s ease-in-out infinite!important}.progress:indeterminate::-moz-progress-bar{background-color:transparent;background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%);background-size:200%;background-position-x:15%;animation:progress-loading 5s ease-in-out infinite}@keyframes progress-loading{50%{background-position-x:-115%}}@keyframes radiomark{0%{box-shadow:0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset,0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset}50%{box-shadow:0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset,0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset}to{box-shadow:0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset,0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset}}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}.table:where([dir=rtl],[dir=rtl] *){text-align:right}.table :where(th,td){padding:.75rem 1rem;vertical-align:middle}.table tr.active,.table tr.active:nth-child(2n),.table-zebra tbody tr:nth-child(2n){--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)))}.table-zebra tr.active,.table-zebra tr.active:nth-child(2n),.table-zebra-zebra tbody tr:nth-child(2n){--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}.table :where(thead tr,tbody tr:not(:last-child),tbody tr:first-child:last-child){border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)))}.table :where(thead,tfoot){white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:700;color:var(--fallback-bc,oklch(var(--bc)/.6))}.table :where(tfoot){border-top-width:1px;--tw-border-opacity: 1;border-top-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)))}@keyframes toast-pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}[dir=rtl] .toggle{--handleoffsetcalculator: calc(var(--handleoffset) * 1)}.toggle:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/.2))}.toggle:hover{background-color:currentColor}.toggle:checked,.toggle[aria-checked=true]{background-image:none;--handleoffsetcalculator: var(--handleoffset);--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}[dir=rtl] .toggle:checked,[dir=rtl] .toggle[aria-checked=true]{--handleoffsetcalculator: calc(var(--handleoffset) * -1)}.toggle:indeterminate{--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));box-shadow:calc(var(--handleoffset) / 2) 0 0 2px var(--tglbg) inset,calc(var(--handleoffset) / -2) 0 0 2px var(--tglbg) inset,0 0 0 2px var(--tglbg) inset}[dir=rtl] .toggle:indeterminate{box-shadow:calc(var(--handleoffset) / 2) 0 0 2px var(--tglbg) inset,calc(var(--handleoffset) / -2) 0 0 2px var(--tglbg) inset,0 0 0 2px var(--tglbg) inset}.toggle-success:focus-visible{outline-color:var(--fallback-su,oklch(var(--su)/1))}.toggle-success:checked,.toggle-success[aria-checked=true]{border-color:var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)));--tw-border-opacity: .1;--tw-bg-opacity: 1;background-color:var(--fallback-su,oklch(var(--su)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-suc,oklch(var(--suc)/var(--tw-text-opacity)))}.toggle-warning:focus-visible{outline-color:var(--fallback-wa,oklch(var(--wa)/1))}.toggle-warning:checked,.toggle-warning[aria-checked=true]{border-color:var(--fallback-wa,oklch(var(--wa)/var(--tw-border-opacity)));--tw-border-opacity: .1;--tw-bg-opacity: 1;background-color:var(--fallback-wa,oklch(var(--wa)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-wac,oklch(var(--wac)/var(--tw-text-opacity)))}.toggle:disabled{cursor:not-allowed;--tw-border-opacity: 1;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));background-color:transparent;opacity:.3;--togglehandleborder: 0 0 0 3px var(--fallback-bc,oklch(var(--bc)/1)) inset, var(--handleoffsetcalculator) 0 0 3px var(--fallback-bc,oklch(var(--bc)/1)) inset}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.left-1{left:.25rem}.right-1{right:.25rem}.right-2{right:.5rem}.top-1{top:.25rem}.top-2{top:.5rem}.top-24{top:6rem}.z-40{z-index:40}.col-span-2{grid-column:span 2 / span 2}.col-start-1{grid-column-start:1}.col-start-2{grid-column-start:2}.row-start-1{grid-row-start:1}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.-ml-1{margin-left:-.25rem}.-ml-3{margin-left:-.75rem}.-mr-1{margin-right:-.25rem}.-mr-1\.5{margin-right:-.375rem}.-mt-1{margin-top:-.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-10{min-height:2.5rem}.w-10{width:2.5rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-48{width:12rem}.w-52{width:13rem}.w-8{width:2rem}.w-full{width:100%}.max-w-6xl{max-width:72rem}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-center{align-content:center}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-slate-400{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.fill-base-100{fill:var(--fallback-b1,oklch(var(--b1)/1))}.stroke-base-100{stroke:var(--fallback-b1,oklch(var(--b1)/1))}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xxs{font-size:.6rem}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.leading-3{line-height:.75rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-neutral-100{--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.text-neutral-950{--tw-text-opacity: 1;color:rgb(10 10 10 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-sky-600{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-500{transition-duration:.5s}.\[--fallback-bc\:\#94a3b8\]{--fallback-bc: #94a3b8}.\[--fallback-bc\:\#cbd5e1\]{--fallback-bc: #cbd5e1}.\[--fallback-su\:\#22c55e\]{--fallback-su: #22c55e}.\[--tglbg\:\#e2e8f0\]{--tglbg: #e2e8f0}@media (min-width: 1800px){.\33xl\:container{width:100%}@media (min-width: 640px){.\33xl\:container{max-width:640px}}@media (min-width: 768px){.\33xl\:container{max-width:768px}}@media (min-width: 1024px){.\33xl\:container{max-width:1024px}}@media (min-width: 1280px){.\33xl\:container{max-width:1280px}}@media (min-width: 1536px){.\33xl\:container{max-width:1536px}}.\33xl\:container{max-width:1800px}}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.dark\:border-slate-600:where(.dark,.dark *){--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.dark\:border-slate-700:where(.dark,.dark *){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.dark\:bg-amber-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.dark\:bg-blue-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.dark\:bg-blue-800:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.dark\:bg-green-500:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.dark\:bg-green-700:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.dark\:bg-neutral-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.dark\:bg-neutral-800:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.dark\:bg-orange-400:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.dark\:bg-red-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.dark\:bg-red-700:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.dark\:bg-sky-400:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.dark\:bg-sky-700:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.dark\:bg-slate-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.dark\:bg-slate-800:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.dark\:bg-slate-900:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.dark\:text-blue-200:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}.dark\:text-blue-400:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.dark\:text-green-400:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.dark\:text-neutral-100:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.dark\:text-sky-400:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}.dark\:text-slate-100:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark\:text-slate-200:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.dark\:text-slate-300:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.dark\:text-slate-400:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.dark\:text-slate-500:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}body{display:flex;--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}body:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}body{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}body:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}#app{margin-left:auto;margin-right:auto}@media (min-width: 1800px){#app{width:100%}@media (min-width: 640px){#app{max-width:640px}}@media (min-width: 768px){#app{max-width:768px}}@media (min-width: 1024px){#app{max-width:1024px}}@media (min-width: 1280px){#app{max-width:1280px}}@media (min-width: 1536px){#app{max-width:1536px}}#app{max-width:1800px}}#app{margin-left:auto;margin-right:auto;margin-top:1rem}@media (min-width: 1800px){#app{width:91.666667%}}@media (min-width: 1024px){#app{width:83.333333%}} +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{color-scheme:light;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 89.824% .06192 275.75;--ac: 15.352% .0368 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 49.12% .3096 275.75;--s: 69.71% .329 342.55;--sc: 98.71% .0106 342.55;--a: 76.76% .184 183.61;--n: 32.1785% .02476 255.701624;--nc: 89.4994% .011585 252.096176;--b1: 100% 0 0;--b2: 96.1151% 0 0;--b3: 92.4169% .00108 197.137559;--bc: 27.8078% .029596 256.847952}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 13.138% .0392 275.75;--sc: 14.96% .052 342.55;--ac: 14.902% .0334 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 65.69% .196 275.75;--s: 74.8% .26 342.55;--a: 74.51% .167 183.61;--n: 31.3815% .021108 254.139175;--nc: 74.6477% .0216 264.435964;--b1: 25.3267% .015896 252.417568;--b2: 23.2607% .013807 253.100675;--b3: 21.1484% .01165 254.087939;--bc: 74.6477% .0216 264.435964}}[data-theme=light]{color-scheme:light;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 89.824% .06192 275.75;--ac: 15.352% .0368 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 49.12% .3096 275.75;--s: 69.71% .329 342.55;--sc: 98.71% .0106 342.55;--a: 76.76% .184 183.61;--n: 32.1785% .02476 255.701624;--nc: 89.4994% .011585 252.096176;--b1: 100% 0 0;--b2: 96.1151% 0 0;--b3: 92.4169% .00108 197.137559;--bc: 27.8078% .029596 256.847952}:root:has(input.theme-controller[value=light]:checked){color-scheme:light;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 89.824% .06192 275.75;--ac: 15.352% .0368 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 49.12% .3096 275.75;--s: 69.71% .329 342.55;--sc: 98.71% .0106 342.55;--a: 76.76% .184 183.61;--n: 32.1785% .02476 255.701624;--nc: 89.4994% .011585 252.096176;--b1: 100% 0 0;--b2: 96.1151% 0 0;--b3: 92.4169% .00108 197.137559;--bc: 27.8078% .029596 256.847952}[data-theme=dark]{color-scheme:dark;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 13.138% .0392 275.75;--sc: 14.96% .052 342.55;--ac: 14.902% .0334 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 65.69% .196 275.75;--s: 74.8% .26 342.55;--a: 74.51% .167 183.61;--n: 31.3815% .021108 254.139175;--nc: 74.6477% .0216 264.435964;--b1: 25.3267% .015896 252.417568;--b2: 23.2607% .013807 253.100675;--b3: 21.1484% .01165 254.087939;--bc: 74.6477% .0216 264.435964}:root:has(input.theme-controller[value=dark]:checked){color-scheme:dark;--in: 72.06% .191 231.6;--su: 64.8% .15 160;--wa: 84.71% .199 83.87;--er: 71.76% .221 22.18;--pc: 13.138% .0392 275.75;--sc: 14.96% .052 342.55;--ac: 14.902% .0334 183.61;--inc: 0% 0 0;--suc: 0% 0 0;--wac: 0% 0 0;--erc: 0% 0 0;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 65.69% .196 275.75;--s: 74.8% .26 342.55;--a: 74.51% .167 183.61;--n: 31.3815% .021108 254.139175;--nc: 74.6477% .0216 264.435964;--b1: 25.3267% .015896 252.417568;--b2: 23.2607% .013807 253.100675;--b3: 21.1484% .01165 254.087939;--bc: 74.6477% .0216 264.435964}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }@media (hover:hover){.checkbox-success:hover{--tw-border-opacity: 1;border-color:var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)))}.label a:hover{--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}.menu li>*:not(ul,.menu-title,details,.btn):active,.menu li>*:not(ul,.menu-title,details,.btn).active,.menu li>details>summary:active{--tw-bg-opacity: 1;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)))}.table tr.hover:hover,.table tr.hover:nth-child(2n):hover{--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)))}.table-zebra tr.hover:hover,.table-zebra tr.hover:nth-child(2n):hover{--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}}.btn{display:inline-flex;height:3rem;min-height:3rem;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:center;border-radius:var(--rounded-btn, .5rem);border-color:transparent;border-color:oklch(var(--btn-color, var(--b2)) / var(--tw-border-opacity));padding-left:1rem;padding-right:1rem;text-align:center;font-size:.875rem;line-height:1em;gap:.5rem;font-weight:600;text-decoration-line:none;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);border-width:var(--border-btn, 1px);transition-property:color,background-color,border-color,opacity,box-shadow,transform;--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-color:var(--fallback-bc,oklch(var(--bc)/1));background-color:oklch(var(--btn-color, var(--b2)) / var(--tw-bg-opacity));--tw-bg-opacity: 1;--tw-border-opacity: 1}.btn-disabled,.btn[disabled],.btn:disabled{pointer-events:none}.btn-circle{height:3rem;width:3rem;border-radius:9999px;padding:0}:where(.btn:is(input[type=checkbox])),:where(.btn:is(input[type=radio])){width:auto;-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn:is(input[type=checkbox]):after,.btn:is(input[type=radio]):after{--tw-content: attr(aria-label);content:var(--tw-content)}.checkbox{flex-shrink:0;--chkbg: var(--fallback-bc,oklch(var(--bc)/1));--chkfg: var(--fallback-b1,oklch(var(--b1)/1));height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));--tw-border-opacity: .2}.collapse:not(td):not(tr):not(colgroup){visibility:visible}.collapse{position:relative;display:grid;overflow:hidden;grid-template-rows:auto 0fr;transition:grid-template-rows .2s;width:100%;border-radius:var(--rounded-box, 1rem)}.collapse-title,.collapse>input[type=checkbox],.collapse>input[type=radio],.collapse-content{grid-column-start:1;grid-row-start:1}.collapse>input[type=checkbox],.collapse>input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0}.collapse[open],.collapse-open,.collapse:focus:not(.collapse-close){grid-template-rows:auto 1fr}.collapse:not(.collapse-close):has(>input[type=checkbox]:checked),.collapse:not(.collapse-close):has(>input[type=radio]:checked){grid-template-rows:auto 1fr}.collapse[open]>.collapse-content,.collapse-open>.collapse-content,.collapse:focus:not(.collapse-close)>.collapse-content,.collapse:not(.collapse-close)>input[type=checkbox]:checked~.collapse-content,.collapse:not(.collapse-close)>input[type=radio]:checked~.collapse-content{visibility:visible;min-height:-moz-fit-content;min-height:fit-content}@media (hover: hover){.btm-nav>*.disabled:hover,.btm-nav>*[disabled]:hover{pointer-events:none;--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}.btn:hover{--tw-border-opacity: 1;border-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}@supports (color: color-mix(in oklab,black,black)){.btn:hover{background-color:color-mix(in oklab,oklch(var(--btn-color, var(--b2)) / var(--tw-bg-opacity, 1)) 90%,black);border-color:color-mix(in oklab,oklch(var(--btn-color, var(--b2)) / var(--tw-border-opacity, 1)) 90%,black)}}@supports not (color: oklch(0% 0 0)){.btn:hover{background-color:var(--btn-color, var(--fallback-b2));border-color:var(--btn-color, var(--fallback-b2))}}.btn.glass:hover{--glass-opacity: 25%;--glass-border-opacity: 15%}.btn-ghost:hover{border-color:transparent}@supports (color: oklch(0% 0 0)){.btn-ghost:hover{background-color:var(--fallback-bc,oklch(var(--bc)/.2))}}.btn-disabled:hover,.btn[disabled]:hover,.btn:disabled:hover{--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .2;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}@supports (color: color-mix(in oklab,black,black)){.btn:is(input[type=checkbox]:checked):hover,.btn:is(input[type=radio]:checked):hover{background-color:color-mix(in oklab,var(--fallback-p,oklch(var(--p)/1)) 90%,black);border-color:color-mix(in oklab,var(--fallback-p,oklch(var(--p)/1)) 90%,black)}}}.form-control{display:flex;flex-direction:column}.label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding:.5rem .25rem}.input{flex-shrink:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:2;line-height:1.5rem;border-radius:var(--rounded-btn, .5rem);border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.input[type=number]::-webkit-inner-spin-button,.input-md[type=number]::-webkit-inner-spin-button{margin-top:-1rem;margin-bottom:-1rem;margin-inline-end:-1rem}.link{cursor:pointer;text-decoration-line:underline}.mask{-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.menu li.disabled{cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--fallback-bc,oklch(var(--bc)/.3))}.modal{pointer-events:none;position:fixed;top:0;right:0;bottom:0;left:0;margin:0;display:grid;height:100%;max-height:none;width:100%;max-width:none;justify-items:center;padding:0;opacity:0;overscroll-behavior:contain;z-index:999;background-color:transparent;color:inherit;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);transition-property:transform,opacity,visibility;overflow-y:hidden}:where(.modal){align-items:center}.modal-box{max-height:calc(100vh - 5em);grid-column-start:1;grid-row-start:1;width:91.666667%;max-width:32rem;--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-bottom-right-radius:var(--rounded-box, 1rem);border-bottom-left-radius:var(--rounded-box, 1rem);border-top-left-radius:var(--rounded-box, 1rem);border-top-right-radius:var(--rounded-box, 1rem);--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));padding:1.5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);transition-duration:.2s;box-shadow:#00000040 0 25px 50px -12px;overflow-y:auto;overscroll-behavior:contain}.modal-open,.modal:target,.modal-toggle:checked+.modal,.modal[open]{pointer-events:auto;visibility:visible;opacity:1}.modal-action{display:flex;margin-top:1.5rem;justify-content:flex-end}:root:has(:is(.modal-open,.modal:target,.modal-toggle:checked+.modal,.modal[open])){overflow:hidden;scrollbar-gutter:stable}.\!progress{position:relative!important;width:100%!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;overflow:hidden!important;height:.5rem!important;border-radius:var(--rounded-box, 1rem)!important;background-color:var(--fallback-bc,oklch(var(--bc)/.2))!important}.progress{position:relative;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;height:.5rem;border-radius:var(--rounded-box, 1rem);background-color:var(--fallback-bc,oklch(var(--bc)/.2))}.table{position:relative;width:100%;border-radius:var(--rounded-box, 1rem);text-align:left;font-size:.875rem;line-height:1.25rem}.table :where(.table-pin-rows thead tr){position:sticky;top:0;z-index:1;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.table :where(.table-pin-rows tfoot tr){position:sticky;bottom:0;z-index:1;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.table :where(.table-pin-cols tr th){position:sticky;left:0;right:0;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.toggle{flex-shrink:0;--tglbg: var(--fallback-b1,oklch(var(--b1)/1));--handleoffset: 1.5rem;--handleoffsetcalculator: calc(var(--handleoffset) * -1);--togglehandleborder: 0 0;height:1.5rem;width:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--rounded-badge, 1.9rem);border-width:1px;border-color:currentColor;background-color:currentColor;color:var(--fallback-bc,oklch(var(--bc)/.5));transition:background,box-shadow var(--animation-input, .2s) ease-out;box-shadow:var(--handleoffsetcalculator) 0 0 2px var(--tglbg) inset,0 0 0 2px var(--tglbg) inset,var(--togglehandleborder)}.btm-nav>*:where(.active){border-top-width:2px;--tw-bg-opacity: 1;background-color:var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)))}.btm-nav>*.disabled,.btm-nav>*[disabled]{pointer-events:none;--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}.btm-nav>* .label{font-size:1rem;line-height:1.5rem}@media (prefers-reduced-motion: no-preference){.btn{animation:button-pop var(--animation-btn, .25s) ease-out}}.btn:active:hover,.btn:active:focus{animation:button-pop 0s ease-out;transform:scale(var(--btn-focus-scale, .97))}@supports not (color: oklch(0% 0 0)){.btn{background-color:var(--btn-color, var(--fallback-b2));border-color:var(--btn-color, var(--fallback-b2))}}.btn:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px}.btn.glass{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-color:currentColor}.btn.glass.btn-active{--glass-opacity: 25%;--glass-border-opacity: 15%}.btn-ghost{border-width:1px;border-color:transparent;background-color:transparent;color:currentColor;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-color:currentColor}.btn-ghost.btn-active{border-color:transparent;background-color:var(--fallback-bc,oklch(var(--bc)/.2))}.btn.btn-disabled,.btn[disabled],.btn:disabled{--tw-border-opacity: 0;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-bg-opacity: .2;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));--tw-text-opacity: .2}.btn:is(input[type=checkbox]:checked),.btn:is(input[type=radio]:checked){--tw-border-opacity: 1;border-color:var(--fallback-p,oklch(var(--p)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-pc,oklch(var(--pc)/var(--tw-text-opacity)))}.btn:is(input[type=checkbox]:checked):focus-visible,.btn:is(input[type=radio]:checked):focus-visible{outline-color:var(--fallback-p,oklch(var(--p)/1))}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale, .98))}40%{transform:scale(1.02)}to{transform:scale(1)}}.checkbox:focus{box-shadow:none}.checkbox:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}.checkbox:disabled{border-width:0px;cursor:not-allowed;border-color:transparent;--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));opacity:.2}.checkbox:checked,.checkbox[aria-checked=true]{background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-out;background-color:var(--chkbg);background-image:linear-gradient(-45deg,transparent 65%,var(--chkbg) 65.99%),linear-gradient(45deg,transparent 75%,var(--chkbg) 75.99%),linear-gradient(-45deg,var(--chkbg) 40%,transparent 40.99%),linear-gradient(45deg,var(--chkbg) 30%,var(--chkfg) 30.99%,var(--chkfg) 40%,transparent 40.99%),linear-gradient(-45deg,var(--chkfg) 50%,var(--chkbg) 50.99%)}.checkbox:indeterminate{--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-out;background-image:linear-gradient(90deg,transparent 80%,var(--chkbg) 80%),linear-gradient(-90deg,transparent 80%,var(--chkbg) 80%),linear-gradient(0deg,var(--chkbg) 43%,var(--chkfg) 43%,var(--chkfg) 57%,var(--chkbg) 57%)}.checkbox-success{--chkbg: var(--fallback-su,oklch(var(--su)/1));--chkfg: var(--fallback-suc,oklch(var(--suc)/1));--tw-border-opacity: 1;border-color:var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)))}.checkbox-success:focus-visible{outline-color:var(--fallback-su,oklch(var(--su)/1))}.checkbox-success:checked,.checkbox-success[aria-checked=true]{--tw-border-opacity: 1;border-color:var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-su,oklch(var(--su)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-suc,oklch(var(--suc)/var(--tw-text-opacity)))}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}details.collapse{width:100%}details.collapse summary{position:relative;display:block;outline:2px solid transparent;outline-offset:2px}details.collapse summary::-webkit-details-marker{display:none}.collapse:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}.collapse:has(.collapse-title:focus-visible),.collapse:has(>input[type=checkbox]:focus-visible),.collapse:has(>input[type=radio]:focus-visible){outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/1))}.collapse:not(.collapse-open):not(.collapse-close)>input[type=checkbox],.collapse:not(.collapse-open):not(.collapse-close)>input[type=radio]:not(:checked),.collapse:not(.collapse-open):not(.collapse-close)>.collapse-title{cursor:pointer}.collapse:focus:not(.collapse-open):not(.collapse-close):not(.collapse[open])>.collapse-title{cursor:unset}:where(.collapse>input[type=checkbox]),:where(.collapse>input[type=radio]){z-index:1}.collapse-title,:where(.collapse>input[type=checkbox]),:where(.collapse>input[type=radio]){width:100%;padding:1rem;padding-inline-end:3rem;min-height:3.75rem;transition:background-color .2s ease-out}.collapse[open]>:where(.collapse-content),.collapse-open>:where(.collapse-content),.collapse:focus:not(.collapse-close)>:where(.collapse-content),.collapse:not(.collapse-close)>:where(input[type=checkbox]:checked~.collapse-content),.collapse:not(.collapse-close)>:where(input[type=radio]:checked~.collapse-content){padding-bottom:1rem;transition:padding .2s ease-out,background-color .2s ease-out}.collapse[open].collapse-arrow>.collapse-title:after,.collapse-open.collapse-arrow>.collapse-title:after,.collapse-arrow:focus:not(.collapse-close)>.collapse-title:after,.collapse-arrow:not(.collapse-close)>input[type=checkbox]:checked~.collapse-title:after,.collapse-arrow:not(.collapse-close)>input[type=radio]:checked~.collapse-title:after{--tw-translate-y: -50%;--tw-rotate: 225deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.collapse[open].collapse-plus>.collapse-title:after,.collapse-open.collapse-plus>.collapse-title:after,.collapse-plus:focus:not(.collapse-close)>.collapse-title:after,.collapse-plus:not(.collapse-close)>input[type=checkbox]:checked~.collapse-title:after,.collapse-plus:not(.collapse-close)>input[type=radio]:checked~.collapse-title:after{content:"−"}.input input{--tw-bg-opacity: 1;background-color:var(--fallback-p,oklch(var(--p)/var(--tw-bg-opacity)));background-color:transparent}.input input:focus{outline:2px solid transparent;outline-offset:2px}.input[list]::-webkit-calendar-picker-indicator{line-height:1em}.input:focus,.input:focus-within{box-shadow:none;border-color:var(--fallback-bc,oklch(var(--bc)/.2));outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/.2))}.input:has(>input[disabled]),.input-disabled,.input:disabled,.input[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));color:var(--fallback-bc,oklch(var(--bc)/.4))}.input:has(>input[disabled])::-moz-placeholder,.input-disabled::-moz-placeholder,.input:disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.input:has(>input[disabled])::placeholder,.input-disabled::placeholder,.input:disabled::placeholder,.input[disabled]::placeholder{color:var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));--tw-placeholder-opacity: .2}.input:has(>input[disabled])>input[disabled]{cursor:not-allowed}.input::-webkit-date-and-time-value{text-align:inherit}.join>:where(*:not(:first-child)):is(.btn){margin-inline-start:calc(var(--border-btn) * -1)}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.loading{pointer-events:none;display:inline-block;aspect-ratio:1 / 1;width:1.5rem;background-color:currentColor;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_V8m1%7Btransform-origin:center;animation:spinner_zKoa 2s linear infinite%7D.spinner_V8m1 circle%7Bstroke-linecap:round;animation:spinner_YpZS 1.5s ease-out infinite%7D%40keyframes spinner_zKoa%7B100%25%7Btransform:rotate(360deg)%7D%7D%40keyframes spinner_YpZS%7B0%25%7Bstroke-dasharray:0 150;stroke-dashoffset:0%7D47.5%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-16%7D95%25%2C100%25%7Bstroke-dasharray:42 150;stroke-dashoffset:-59%7D%7D%3C%2Fstyle%3E%3Cg class='spinner_V8m1'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E")}.loading-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_qM83%7Banimation:spinner_8HQG 1.05s infinite%7D.spinner_oXPr%7Banimation-delay:.1s%7D.spinner_ZTLf%7Banimation-delay:.2s%7D@keyframes spinner_8HQG%7B0%25,57.14%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);transform:translate(0)%7D28.57%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);transform:translateY(-6px)%7D100%25%7Btransform:translate(0)%7D%7D%3C/style%3E%3Ccircle class='spinner_qM83' cx='4' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_oXPr' cx='12' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_ZTLf' cx='20' cy='12' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_qM83%7Banimation:spinner_8HQG 1.05s infinite%7D.spinner_oXPr%7Banimation-delay:.1s%7D.spinner_ZTLf%7Banimation-delay:.2s%7D@keyframes spinner_8HQG%7B0%25,57.14%25%7Banimation-timing-function:cubic-bezier(0.33,.66,.66,1);transform:translate(0)%7D28.57%25%7Banimation-timing-function:cubic-bezier(0.33,0,.66,.33);transform:translateY(-6px)%7D100%25%7Btransform:translate(0)%7D%7D%3C/style%3E%3Ccircle class='spinner_qM83' cx='4' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_oXPr' cx='12' cy='12' r='3'/%3E%3Ccircle class='spinner_qM83 spinner_ZTLf' cx='20' cy='12' r='3'/%3E%3C/svg%3E")}.loading-sm{width:1.25rem}.loading-lg{width:2.5rem}.menu li>*:not(ul,.menu-title,details,.btn):active,.menu li>*:not(ul,.menu-title,details,.btn).active,.menu li>details>summary:active{--tw-bg-opacity: 1;background-color:var(--fallback-n,oklch(var(--n)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity)))}.mockup-browser .mockup-browser-toolbar .input{position:relative;margin-left:auto;margin-right:auto;display:block;height:1.75rem;width:24rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));padding-left:2rem;direction:ltr}.mockup-browser .mockup-browser-toolbar .input:before{content:"";position:absolute;left:.5rem;top:50%;aspect-ratio:1 / 1;height:.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;border-width:2px;border-color:currentColor;opacity:.6}.mockup-browser .mockup-browser-toolbar .input:after{content:"";position:absolute;left:1.25rem;top:50%;height:.5rem;--tw-translate-y: 25%;--tw-rotate: -45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;border-width:1px;border-color:currentColor;opacity:.6}.modal:not(dialog:not(.modal-open)),.modal::backdrop{background-color:#0006;animation:modal-pop .2s ease-out}.modal-backdrop{z-index:-1;grid-column-start:1;grid-row-start:1;display:grid;align-self:stretch;justify-self:stretch;color:transparent}.modal-open .modal-box,.modal-toggle:checked+.modal .modal-box,.modal:target .modal-box,.modal[open] .modal-box{--tw-translate-y: 0px;--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.modal-action>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}@keyframes modal-pop{0%{opacity:0}}.\!progress::-moz-progress-bar{border-radius:var(--rounded-box, 1rem)!important;--tw-bg-opacity: 1 !important;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)))!important}.progress::-moz-progress-bar{border-radius:var(--rounded-box, 1rem);--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)))}.\!progress:indeterminate{--progress-color: var(--fallback-bc,oklch(var(--bc)/1)) !important;background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%)!important;background-size:200%!important;background-position-x:15%!important;animation:progress-loading 5s ease-in-out infinite!important}.progress:indeterminate{--progress-color: var(--fallback-bc,oklch(var(--bc)/1));background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%);background-size:200%;background-position-x:15%;animation:progress-loading 5s ease-in-out infinite}.\!progress::-webkit-progress-bar{border-radius:var(--rounded-box, 1rem)!important;background-color:transparent!important}.progress::-webkit-progress-bar{border-radius:var(--rounded-box, 1rem);background-color:transparent}.\!progress::-webkit-progress-value{border-radius:var(--rounded-box, 1rem)!important;--tw-bg-opacity: 1 !important;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)))!important}.progress::-webkit-progress-value{border-radius:var(--rounded-box, 1rem);--tw-bg-opacity: 1;background-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)))}.\!progress:indeterminate::-moz-progress-bar{background-color:transparent!important;background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%)!important;background-size:200%!important;background-position-x:15%!important;animation:progress-loading 5s ease-in-out infinite!important}.progress:indeterminate::-moz-progress-bar{background-color:transparent;background-image:repeating-linear-gradient(90deg,var(--progress-color) -1%,var(--progress-color) 10%,transparent 10%,transparent 90%);background-size:200%;background-position-x:15%;animation:progress-loading 5s ease-in-out infinite}@keyframes progress-loading{50%{background-position-x:-115%}}@keyframes radiomark{0%{box-shadow:0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset,0 0 0 12px var(--fallback-b1,oklch(var(--b1)/1)) inset}50%{box-shadow:0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset,0 0 0 3px var(--fallback-b1,oklch(var(--b1)/1)) inset}to{box-shadow:0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset,0 0 0 4px var(--fallback-b1,oklch(var(--b1)/1)) inset}}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}.table:where([dir=rtl],[dir=rtl] *){text-align:right}.table :where(th,td){padding:.75rem 1rem;vertical-align:middle}.table tr.active,.table tr.active:nth-child(2n),.table-zebra tbody tr:nth-child(2n){--tw-bg-opacity: 1;background-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)))}.table-zebra tr.active,.table-zebra tr.active:nth-child(2n),.table-zebra-zebra tbody tr:nth-child(2n){--tw-bg-opacity: 1;background-color:var(--fallback-b3,oklch(var(--b3)/var(--tw-bg-opacity)))}.table :where(thead tr,tbody tr:not(:last-child),tbody tr:first-child:last-child){border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)))}.table :where(thead,tfoot){white-space:nowrap;font-size:.75rem;line-height:1rem;font-weight:700;color:var(--fallback-bc,oklch(var(--bc)/.6))}.table :where(tfoot){border-top-width:1px;--tw-border-opacity: 1;border-top-color:var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)))}@keyframes toast-pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}[dir=rtl] .toggle{--handleoffsetcalculator: calc(var(--handleoffset) * 1)}.toggle:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--fallback-bc,oklch(var(--bc)/.2))}.toggle:hover{background-color:currentColor}.toggle:checked,.toggle[aria-checked=true]{background-image:none;--handleoffsetcalculator: var(--handleoffset);--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)))}[dir=rtl] .toggle:checked,[dir=rtl] .toggle[aria-checked=true]{--handleoffsetcalculator: calc(var(--handleoffset) * -1)}.toggle:indeterminate{--tw-text-opacity: 1;color:var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity)));box-shadow:calc(var(--handleoffset) / 2) 0 0 2px var(--tglbg) inset,calc(var(--handleoffset) / -2) 0 0 2px var(--tglbg) inset,0 0 0 2px var(--tglbg) inset}[dir=rtl] .toggle:indeterminate{box-shadow:calc(var(--handleoffset) / 2) 0 0 2px var(--tglbg) inset,calc(var(--handleoffset) / -2) 0 0 2px var(--tglbg) inset,0 0 0 2px var(--tglbg) inset}.toggle-success:focus-visible{outline-color:var(--fallback-su,oklch(var(--su)/1))}.toggle-success:checked,.toggle-success[aria-checked=true]{border-color:var(--fallback-su,oklch(var(--su)/var(--tw-border-opacity)));--tw-border-opacity: .1;--tw-bg-opacity: 1;background-color:var(--fallback-su,oklch(var(--su)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-suc,oklch(var(--suc)/var(--tw-text-opacity)))}.toggle-warning:focus-visible{outline-color:var(--fallback-wa,oklch(var(--wa)/1))}.toggle-warning:checked,.toggle-warning[aria-checked=true]{border-color:var(--fallback-wa,oklch(var(--wa)/var(--tw-border-opacity)));--tw-border-opacity: .1;--tw-bg-opacity: 1;background-color:var(--fallback-wa,oklch(var(--wa)/var(--tw-bg-opacity)));--tw-text-opacity: 1;color:var(--fallback-wac,oklch(var(--wac)/var(--tw-text-opacity)))}.toggle:disabled{cursor:not-allowed;--tw-border-opacity: 1;border-color:var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));background-color:transparent;opacity:.3;--togglehandleborder: 0 0 0 3px var(--fallback-bc,oklch(var(--bc)/1)) inset, var(--handleoffsetcalculator) 0 0 3px var(--fallback-bc,oklch(var(--bc)/1)) inset}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.left-1{left:.25rem}.right-1{right:.25rem}.right-2{right:.5rem}.top-1{top:.25rem}.top-2{top:.5rem}.top-24{top:6rem}.z-40{z-index:40}.col-span-2{grid-column:span 2 / span 2}.col-start-1{grid-column-start:1}.col-start-2{grid-column-start:2}.row-start-1{grid-row-start:1}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.-ml-1{margin-left:-.25rem}.-ml-3{margin-left:-.75rem}.-mr-1{margin-right:-.25rem}.-mr-1\.5{margin-right:-.375rem}.-mt-1{margin-top:-.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-10{min-height:2.5rem}.w-10{width:2.5rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-48{width:12rem}.w-52{width:13rem}.w-8{width:2rem}.w-full{width:100%}.max-w-60{max-width:15rem}.max-w-6xl{max-width:72rem}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-center{align-content:center}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.overflow-hidden{overflow:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-slate-400{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.fill-base-100{fill:var(--fallback-b1,oklch(var(--b1)/1))}.stroke-base-100{stroke:var(--fallback-b1,oklch(var(--b1)/1))}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xxs{font-size:.6rem}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.leading-3{line-height:.75rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.tracking-tight{letter-spacing:-.025em}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-neutral-100{--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.text-neutral-950{--tw-text-opacity: 1;color:rgb(10 10 10 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-sky-600{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-500{transition-duration:.5s}.\[--fallback-bc\:\#94a3b8\]{--fallback-bc: #94a3b8}.\[--fallback-bc\:\#cbd5e1\]{--fallback-bc: #cbd5e1}.\[--fallback-su\:\#22c55e\]{--fallback-su: #22c55e}.\[--tglbg\:\#e2e8f0\]{--tglbg: #e2e8f0}@media (min-width: 1800px){.\33xl\:container{width:100%}@media (min-width: 640px){.\33xl\:container{max-width:640px}}@media (min-width: 768px){.\33xl\:container{max-width:768px}}@media (min-width: 1024px){.\33xl\:container{max-width:1024px}}@media (min-width: 1280px){.\33xl\:container{max-width:1280px}}@media (min-width: 1536px){.\33xl\:container{max-width:1536px}}.\33xl\:container{max-width:1800px}}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.dark\:border-slate-600:where(.dark,.dark *){--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.dark\:border-slate-700:where(.dark,.dark *){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.dark\:bg-amber-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.dark\:bg-blue-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.dark\:bg-blue-800:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.dark\:bg-green-500:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.dark\:bg-green-700:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.dark\:bg-neutral-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.dark\:bg-neutral-800:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.dark\:bg-orange-400:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.dark\:bg-red-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.dark\:bg-red-700:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.dark\:bg-sky-400:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.dark\:bg-sky-700:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.dark\:bg-slate-600:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.dark\:bg-slate-800:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.dark\:bg-slate-900:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.dark\:text-blue-200:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}.dark\:text-blue-400:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.dark\:text-green-400:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.dark\:text-neutral-100:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.dark\:text-sky-400:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}.dark\:text-slate-100:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.dark\:text-slate-200:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.dark\:text-slate-300:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.dark\:text-slate-400:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.dark\:text-slate-500:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}body{display:flex;--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}body:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}body{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}body:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}#app{margin-left:auto;margin-right:auto}@media (min-width: 1800px){#app{width:100%}@media (min-width: 640px){#app{max-width:640px}}@media (min-width: 768px){#app{max-width:768px}}@media (min-width: 1024px){#app{max-width:1024px}}@media (min-width: 1280px){#app{max-width:1280px}}@media (min-width: 1536px){#app{max-width:1536px}}#app{max-width:1800px}}#app{margin-left:auto;margin-right:auto;margin-top:1rem}@media (min-width: 1800px){#app{width:91.666667%}}@media (min-width: 1024px){#app{width:83.333333%}} diff --git a/dist/index.html b/dist/index.html index 5ab4250..c64cf88 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,8 +5,8 @@ Vite App - - + +
diff --git a/src/socket.js b/src/socket.js index df96614..34b8bf9 100644 --- a/src/socket.js +++ b/src/socket.js @@ -129,7 +129,6 @@ function getProgress() { function getUsersActivity() { socket.emit("get_users_activity", (user_activity_bundle) => { - console.log(user_activity_bundle); state.userActivity = user_activity_bundle.activity state.userActivityConfig = user_activity_bundle.config });