voodoojs 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +4 -3
  2. package/dist/{chunk-XG2UDP4O.js → chunk-AH2VXDZD.js} +13 -13
  3. package/dist/{chunk-FCJ2APGN.js → chunk-DCE5WIGA.js} +5 -5
  4. package/dist/{chunk-KE6WWJOB.js → chunk-DJJB35SR.js} +6 -6
  5. package/dist/{chunk-32J7GDLD.js → chunk-H2ZUEQWV.js} +17 -9
  6. package/dist/{chunk-OJDW7KXT.js → chunk-IGZSDZKU.js} +4 -4
  7. package/dist/{chunk-BEQEBFQ2.js → chunk-IS3DR2KY.js} +3 -3
  8. package/dist/{chunk-OHSGDVPA.js → chunk-KQYSJHZR.js} +5 -5
  9. package/dist/{chunk-GC3BKNPT.js → chunk-NFDXVIII.js} +3 -3
  10. package/dist/{chunk-TXWSOPF2.js → chunk-UV5PMS7P.js} +4 -4
  11. package/dist/{chunk-J6RTM5P4.js → chunk-V3O3WOZH.js} +4 -4
  12. package/dist/{chunk-FITEA237.js → chunk-WJP3YGUI.js} +4 -4
  13. package/dist/essential.cjs +12 -4
  14. package/dist/essential.d.cts +1 -1
  15. package/dist/essential.d.ts +1 -1
  16. package/dist/essential.js +10 -10
  17. package/dist/gpu.cjs +1 -1
  18. package/dist/gpu.js +10 -10
  19. package/dist/http.cjs +1 -1
  20. package/dist/http.js +5 -5
  21. package/dist/index.cjs +12 -4
  22. package/dist/index.d.cts +2 -2
  23. package/dist/index.d.ts +2 -2
  24. package/dist/index.js +20 -20
  25. package/dist/reactivity.cjs +1 -1
  26. package/dist/reactivity.js +2 -2
  27. package/dist/socket.cjs +11 -3
  28. package/dist/socket.js +9 -9
  29. package/dist/style-4X62SABN.js +5 -0
  30. package/dist/utils.cjs +1 -1
  31. package/dist/utils.js +2 -2
  32. package/dist/voodoo.core.js +12 -4
  33. package/dist/voodoo.core.min.js +3 -3
  34. package/dist/voodoo.full.js +12 -4
  35. package/dist/voodoo.full.min.js +22 -22
  36. package/dist/voodoo.js +12 -4
  37. package/dist/voodoo.min.js +8 -8
  38. package/package.json +1 -1
  39. package/dist/style-MX6ZATL4.js +0 -5
  40. package/dist/{query-p04Fl8VW.d.ts → query-Cf-7iibE.d.ts} +28 -28
  41. package/dist/{query-CbHihkvO.d.cts → query-DiQAS73Q.d.cts} +28 -28
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Voodoo.js v0.11.1
2
+ * Voodoo.js v0.11.2
3
3
  * JavaScript feels like magic.
4
4
  * (c) 2026 Voodoo.js contributors. MIT License.
5
5
  */
@@ -47,18 +47,18 @@
47
47
  --v-shadow:0 10px 30px rgba(0,0,0,.45);
48
48
  }
49
49
  [v-cloak]{display:none !important}
50
- `});var Hx={};Ao(Hx,{default:()=>Nx});me();var re=class extends Error{constructor(n,r,o){let i=`${r}
50
+ `});var Hx={};Ao(Hx,{default:()=>Nx});me();var ee=class extends Error{constructor(n,r,o){let i=`${r}
51
51
  ${" ".repeat(Math.max(0,o))}^`;super(`${n}
52
52
 
53
53
  ${i}`);P(this,"source",r);P(this,"position",o);this.name="VoodooSyntaxError"}},Cm=[">>>=","===","!==","**=","...",">>>","<<=",">>=","&&=","||=","??=","?.","=>","==","!=","<=",">=","&&","||","??","**","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<",">>","+","-","*","/","%","!","<",">","=","&","|","^","~","(",")","[","]","{","}",",",".","?",":",";"],Am=/[A-Za-z_$À-￿]/,Rm=/[A-Za-z0-9_$À-￿]/;function $m(e){return Am.test(e)}function Dm(e){return Rm.test(e)}function Ho(e){return e>="0"&&e<="9"}var Fc={n:`
54
54
  `,t:" ",r:"\r",b:"\b",f:"\f",v:"\v",0:"\0"};function Oo(e){var o,i;let t=[],n=0,r=e.length;for(;n<r;){let s=e[n];if(s===" "||s===" "||s===`
55
55
  `||s==="\r"||s==="\f"||s==="\v"){n++;continue}if(s==="/"&&e[n+1]==="/"){for(;n<r&&e[n]!==`
56
- `;)n++;continue}if(s==="/"&&e[n+1]==="*"){let c=e.indexOf("*/",n+2);if(c===-1)throw new re("Unclosed block comment",e,n);n=c+2;continue}let a=n;if(Ho(s)||s==="."&&Ho(e[n+1])){let c="";if(s==="0"&&(e[n+1]==="x"||e[n+1]==="X"))for(c="0x",n+=2;n<r&&/[0-9a-fA-F_]/.test(e[n]);)c+=e[n++];else if(s==="0"&&(e[n+1]==="b"||e[n+1]==="B"))for(c="0b",n+=2;n<r&&/[01_]/.test(e[n]);)c+=e[n++];else if(s==="0"&&(e[n+1]==="o"||e[n+1]==="O"))for(c="0o",n+=2;n<r&&/[0-7_]/.test(e[n]);)c+=e[n++];else{for(;n<r&&/[0-9_]/.test(e[n]);)c+=e[n++];if(e[n]===".")for(c+=e[n++];n<r&&/[0-9_]/.test(e[n]);)c+=e[n++];if(e[n]==="e"||e[n]==="E")for(c+=e[n++],(e[n]==="+"||e[n]==="-")&&(c+=e[n++]);n<r&&Ho(e[n]);)c+=e[n++]}let d=Number(c.replace(/_/g,""));if(Number.isNaN(d))throw new re("Invalid number",e,a);t.push({type:"num",value:c,parsed:d,start:a,end:n});continue}if(s==='"'||s==="'"){n++;let c="";for(;n<r&&e[n]!==s;)if(e[n]==="\\"){n++;let d=e[n];if(d==="u")if(e[n+1]==="{"){let u=e.indexOf("}",n);if(u===-1)throw new re("Unclosed Unicode escape",e,a);let p=e.slice(n+2,u);if(!/^[0-9a-fA-F]+$/.test(p)||parseInt(p,16)>1114111)throw new re(`Invalid Unicode escape "\\u{${p}}"`,e,n-1);c+=String.fromCodePoint(parseInt(p,16)),n=u+1}else{let u=e.slice(n+1,n+5);if(!/^[0-9a-fA-F]{4}$/.test(u))throw new re("Invalid Unicode escape: \\u needs 4 hexadecimal digits",e,n-1);c+=String.fromCharCode(parseInt(u,16)),n+=5}else if(d==="x"){let u=e.slice(n+1,n+3);if(!/^[0-9a-fA-F]{2}$/.test(u))throw new re("Invalid hexadecimal escape: \\x needs 2 hexadecimal digits",e,n-1);c+=String.fromCharCode(parseInt(u,16)),n+=3}else c+=(o=Fc[d])!=null?o:d,n++}else c+=e[n++];if(n>=r)throw new re("Unclosed string",e,a);n++,t.push({type:"str",value:c,parsed:c,start:a,end:n});continue}if(s==="`"){n++;let c=[],d=[],u="";for(;n<r&&e[n]!=="`";){if(e[n]==="\\"){let p=e[n+1];u+=(i=Fc[p])!=null?i:p,n+=2;continue}if(e[n]==="$"&&e[n+1]==="{"){c.push(u),u="",n+=2;let p=1,f="";for(;n<r;){let m=e[n];if(m==="{")p++;else if(m==="}"){if(p--,p===0)break}else if(m==='"'||m==="'"||m==="`"){let h=m;for(f+=e[n++];n<r&&e[n]!==h;)e[n]==="\\"&&(f+=e[n++]),f+=e[n++]}f+=e[n++]}if(p!==0)throw new re("Unclosed template interpolation",e,a);n++,d.push(f);continue}u+=e[n++]}if(n>=r)throw new re("Unclosed template literal",e,a);n++,c.push(u),t.push({type:"tpl",value:e.slice(a,n),tpl:{quasis:c,exprs:d},start:a,end:n});continue}if($m(s)){let c="";for(;n<r&&Dm(e[n]);)c+=e[n++];t.push({type:"ident",value:c,start:a,end:n});continue}let l;for(let c of Cm)if(e.startsWith(c,n)){if(c==="?."&&Ho(e[n+2]))continue;l=c;break}if(l){n+=l.length,t.push({type:"punct",value:l,start:a,end:n});continue}throw new re(`Unexpected character "${s}"`,e,n)}return t.push({type:"eof",value:"",start:r,end:r}),t}var Ic={"??":1,"||":2,"&&":3,"|":4,"^":5,"&":6,"==":7,"!=":7,"===":7,"!==":7,"<":8,">":8,"<=":8,">=":8,in:8,instanceof:8,"<<":9,">>":9,">>>":9,"+":10,"-":10,"*":11,"/":11,"%":11,"**":12},Pm=new Set(["=","+=","-=","*=","/=","%=","**=","&&=","||=","??="]),Nm=new Set(["!","-","+","~","typeof","void","delete"]),zc=Object.assign(Object.create(null),{true:!0,false:!1,null:null,undefined:void 0}),Bc=1200,jc=32,qs=0,Vs=class{constructor(t,n){P(this,"tokens",t);P(this,"source",n);P(this,"pos",0);P(this,"depth",0)}peek(t=0){return this.tokens[Math.min(this.pos+t,this.tokens.length-1)]}next(){return this.tokens[this.pos++]}isPunct(t,n=0){let r=this.peek(n);return r.type==="punct"&&r.value===t}isIdent(t,n=0){let r=this.peek(n);return r.type==="ident"&&r.value===t}expect(t){if(!this.isPunct(t)){let n=this.peek();throw new re(`Expected "${t}" but found "${n.value||"end of expression"}"`,this.source,n.start)}return this.next()}parseProgram(){let t=[];for(;this.peek().type!=="eof";)for(t.push(this.parseStatement());this.isPunct(";")||this.isPunct(",");)this.next();return t.length===0?{t:"lit",v:void 0}:t.length===1?t[0]:{t:"seq",body:t}}parseArrowBody(){if(!this.isPunct("{"))return this.parseAssignment();this.next();let t=[];for(;!this.isPunct("}")&&this.peek().type!=="eof";)for(t.push(this.parseStatement());this.isPunct(";")||this.isPunct(",");)this.next();return this.expect("}"),t.length===0?{t:"lit",v:void 0}:t.length===1?t[0]:{t:"seq",body:t}}parseStatement(){if(this.peek().type==="ident"&&this.peek().value==="return")return this.next(),this.isPunct(";")||this.isPunct(",")||this.isPunct("}")||this.peek().type==="eof"?{t:"return",a:null}:{t:"return",a:this.parseExpression()};if(this.peek().type==="ident"&&this.peek().value==="if"&&this.isPunct("(",1)){this.next(),this.expect("(");let t=this.parseExpression();this.expect(")");let n=this.parseBlockOrStatement(),r=null;return this.peek().type==="ident"&&this.peek().value==="else"&&(this.next(),r=this.parseBlockOrStatement()),{t:"if",test:t,cons:n,alt:r}}return this.parseExpression()}parseBlockOrStatement(){if(!this.isPunct("{"))return this.parseStatement();this.next();let t=[];for(;!this.isPunct("}")&&this.peek().type!=="eof";)for(t.push(this.parseStatement());this.isPunct(";")||this.isPunct(",");)this.next();return this.expect("}"),t.length===0?{t:"lit",v:void 0}:t.length===1?t[0]:{t:"seq",body:t}}parseExpression(){return this.parseAssignment()}enterLevel(){if(++this.depth>Bc){let t=this.peek();throw new re(`Expression too deeply nested (limit of ${Bc} levels)`,this.source,t.start)}}parseAssignment(){this.enterLevel();let t=this.parseAssignmentInternal();return this.depth--,t}parseAssignmentInternal(){if(this.peek().type==="ident"&&this.isPunct("=>",1)){let r=this.next().value;return this.next(),{t:"arrow",params:[{kind:"id",name:r}],body:this.parseArrowBody()}}if(this.isPunct("(")){let r=this.tryParseParenArrow();if(r)return r}let t=this.parseConditional(),n=this.peek();if(n.type==="punct"&&Pm.has(n.value)){if(t.t!=="id"&&t.t!=="member")throw new re("Invalid assignment target",this.source,n.start);this.next();let r=this.parseAssignment();return{t:"assign",op:n.value,target:t,value:r}}return t}tryParseParenArrow(){let t=this.pos,n=0,r=this.pos;for(;r<this.tokens.length;r++){let s=this.tokens[r];if(s.type==="punct"&&s.value==="(")n++;else if(s.type==="punct"&&s.value===")"){if(n--,n===0)break}else if(s.type==="eof")break}let o=this.tokens[r+1];if(!o||o.type!=="punct"||o.value!=="=>")return null;this.next();let i;try{i=this.parseParamList()}catch(s){return this.pos=t,null}return this.expect("=>"),{t:"arrow",params:i,body:this.parseArrowBody()}}parseParamList(){let t=[];for(;!this.isPunct(")")&&(t.push(this.parseParam()),this.isPunct(","));)this.next();return this.expect(")"),t}parseParam(){if(this.isPunct("...")){this.next();let n=this.next();if(n.type!=="ident")throw new re("Expected a name after ...",this.source,n.start);return{kind:"rest",name:n.value}}let t;if(this.isPunct("{")){this.next();let n=[],r;for(;!this.isPunct("}");){if(this.isPunct("...")){this.next();let o=this.next();if(o.type!=="ident")throw new re("Expected a name after ...",this.source,o.start);r=o.value}else{let o=this.next();if(o.type!=="ident"&&o.type!=="str")throw new re("Expected a property name",this.source,o.start);let i=this.isPunct(":")?(this.next(),this.parseParam()):{kind:"id",name:o.value};this.isPunct("=")&&(this.next(),i.def=this.parseAssignment()),n.push({key:String(o.value),value:i})}if(this.isPunct(","))this.next();else break}this.expect("}"),t={kind:"obj",props:n,rest:r}}else if(this.isPunct("[")){this.next();let n=[],r;for(;!this.isPunct("]");){if(this.isPunct(",")){this.next(),n.push(null);continue}if(this.isPunct("...")){this.next();let o=this.next();if(o.type!=="ident")throw new re("Expected a name after ...",this.source,o.start);r=o.value}else n.push(this.parseParam());if(this.isPunct(","))this.next();else break}this.expect("]"),t={kind:"arr",elements:n,rest:r}}else{let n=this.next();if(n.type!=="ident")throw new re("Expected a parameter name",this.source,n.start);t={kind:"id",name:n.value}}return this.isPunct("=")&&(this.next(),t.def=this.parseAssignment()),t}parseConditional(){let t=this.parseBinary(0);if(this.isPunct("?")){this.next();let n=this.parseAssignment();this.expect(":");let r=this.parseAssignment();return{t:"cond",test:t,cons:n,alt:r}}return t}parseBinary(t){this.enterLevel();let n=this.parseBinaryInternal(t);return this.depth--,n}parseBinaryInternal(t){let n=this.parseUnary();for(;;){let r=this.peek(),o=r.value;if(!(r.type==="punct"&&o in Ic||r.type==="ident"&&(o==="in"||o==="instanceof")))break;let s=Ic[o];if(s===void 0||s<=t)break;this.next();let a=this.parseBinary(o==="**"?s-1:s);n={t:o==="&&"||o==="||"||o==="??"?"logic":"bin",op:o,l:n,r:a}}return n}parseUnary(){this.enterLevel();let t=this.parseUnaryInternal();return this.depth--,t}parseUnaryInternal(){let t=this.peek();if((t.type==="punct"||t.type==="ident")&&Nm.has(t.value))return this.next(),{t:"unary",op:t.value,a:this.parseUnary()};if(t.type==="punct"&&(t.value==="++"||t.value==="--")){this.next();let o=this.parseUnary();return{t:"update",op:t.value,a:o,prefix:!0}}let n=this.parseCallMember(),r=this.peek();return r.type==="punct"&&(r.value==="++"||r.value==="--")&&(this.next(),n={t:"update",op:r.value,a:n,prefix:!1}),n}parseNew(){this.next();let t=this.parseMemberOnly(this.parsePrimary()),n=this.isPunct("(")?this.parseArguments():[];return{t:"new",callee:t,args:n}}parseMemberOnly(t){let n=t;for(;;)if(this.isPunct(".")){this.next();let r=this.next();if(r.type!=="ident")throw new re("Invalid property name",this.source,r.start);n={t:"member",o:n,p:{t:"lit",v:r.value},computed:!1,opt:!1}}else if(this.isPunct("[")){this.next();let r=this.parseExpression();this.expect("]"),n={t:"member",o:n,p:r,computed:!0,opt:!1}}else return n}parseCallMember(){let t=this.isIdent("new")?this.parseNew():this.parsePrimary();for(;;)if(this.isPunct(".")){this.next();let n=this.next();if(n.type!=="ident")throw new re("Invalid property name",this.source,n.start);t={t:"member",o:t,p:{t:"lit",v:n.value},computed:!1,opt:!1}}else if(this.isPunct("?."))if(this.next(),this.isPunct("("))t={t:"call",callee:t,args:this.parseArguments(),opt:!0};else if(this.isPunct("[")){this.next();let n=this.parseExpression();this.expect("]"),t={t:"member",o:t,p:n,computed:!0,opt:!0}}else{let n=this.next();if(n.type!=="ident")throw new re("Invalid property name",this.source,n.start);t={t:"member",o:t,p:{t:"lit",v:n.value},computed:!1,opt:!0}}else if(this.isPunct("[")){this.next();let n=this.parseExpression();this.expect("]"),t={t:"member",o:t,p:n,computed:!0,opt:!1}}else if(this.isPunct("("))t={t:"call",callee:t,args:this.parseArguments(),opt:!1};else return t}parseArguments(){this.expect("(");let t=[];for(;!this.isPunct(")")&&(this.isPunct("...")?(this.next(),t.push({t:"unary",op:"...",a:this.parseAssignment()})):t.push(this.parseAssignment()),this.isPunct(","));)this.next();return this.expect(")"),t}parsePrimary(){let t=this.peek();if(t.type==="ident"&&t.value==="function")return this.next(),this.peek().type==="ident"&&this.next(),this.expect("("),{t:"arrow",params:this.parseParamList(),body:this.parseArrowBody()};if(t.type==="num"||t.type==="str")return this.next(),{t:"lit",v:t.parsed};if(t.type==="tpl"){this.next();let n=t.tpl;if(qs>=jc)throw new re(`Template literal too deeply nested (limit of ${jc} levels)`,this.source,t.start);qs++;try{return{t:"tpl",quasis:n.quasis,exprs:n.exprs.map(r=>_e(r))}}finally{qs--}}if(t.type==="ident")return t.value in zc?(this.next(),{t:"lit",v:zc[t.value]}):(this.next(),{t:"id",n:t.value});if(t.type==="punct"){if(t.value==="("){this.next();let n=this.parseExpression();return this.expect(")"),n}if(t.value==="[")return this.parseArrayLiteral();if(t.value==="{")return this.parseObjectLiteral()}throw new re(`Unexpected token "${t.value||"end of expression"}"`,this.source,t.start)}parseArrayLiteral(){this.expect("[");let t=[];for(;!this.isPunct("]")&&(this.isPunct("...")?(this.next(),t.push({spread:this.parseAssignment()})):t.push(this.parseAssignment()),this.isPunct(","));)this.next();return this.expect("]"),{t:"arr",els:t}}parseObjectLiteral(){var n;this.expect("{");let t=[];for(;!this.isPunct("}");){if(this.isPunct("..."))this.next(),t.push({key:null,spread:this.parseAssignment()});else if(this.isPunct("[")){this.next();let r=this.parseAssignment();this.expect("]"),this.expect(":"),t.push({key:null,keyExpr:r,value:this.parseAssignment()})}else{if(this.peek().type==="ident"&&this.peek().value==="get"&&this.peek(1).type==="ident"&&this.isPunct("(",2)){this.next();let i=this.next();this.expect("("),this.expect(")"),t.push({key:String(i.value),getter:!0,value:{t:"method",params:[],body:this.parseArrowBody()}}),this.isPunct(",")&&this.next();continue}let r=this.next();if(r.type!=="ident"&&r.type!=="str"&&r.type!=="num")throw new re("Invalid object key",this.source,r.start);let o=String((n=r.parsed)!=null?n:r.value);if(this.isPunct(":"))this.next(),t.push({key:o,value:this.parseAssignment()});else if(this.isPunct("(")){this.next();let i=this.parseParamList();t.push({key:o,value:{t:"method",params:i,body:this.parseArrowBody()}})}else t.push({key:o,value:{t:"id",n:o}})}if(this.isPunct(","))this.next();else break}return this.expect("}"),{t:"obj",props:t}}},An=new Map,qc=2e3;function _e(e){let t=An.get(e);if(t)return t;let n=new Vs(Oo(e),e).parseProgram();return An.size>=qc&&Hm(),An.set(e,n),n}function Hm(){let e=Math.floor(qc/2),t=0;for(let n of An.keys())if(An.delete(n),++t>=e)break}function Vc(){An.clear()}var Kc,Om=Object.freeze({keys:Object.keys,values:Object.values,entries:Object.entries,fromEntries:Object.fromEntries,assign:Object.assign,is:Object.is,hasOwn:(Kc=Object.hasOwn)!=null?Kc:((e,t)=>Object.prototype.hasOwnProperty.call(e,t))}),Fm=new Set(["eval","Function","window","globalThis","self","top","parent","document","fetch","XMLHttpRequest","importScripts","require","process","Reflect","Proxy","WebAssembly","localStorage","sessionStorage","indexedDB","navigator","location","history","crypto","Worker","SharedWorker","ServiceWorker"]),He={Math,JSON,Date,Number,String,Boolean,Array,Object:Om,Intl,RegExp,Promise,parseInt,parseFloat,isNaN,isFinite,encodeURIComponent,decodeURIComponent,console},Ee=class extends Error{constructor(n,r){super(r?`${n}
56
+ `;)n++;continue}if(s==="/"&&e[n+1]==="*"){let c=e.indexOf("*/",n+2);if(c===-1)throw new ee("Unclosed block comment",e,n);n=c+2;continue}let a=n;if(Ho(s)||s==="."&&Ho(e[n+1])){let c="";if(s==="0"&&(e[n+1]==="x"||e[n+1]==="X"))for(c="0x",n+=2;n<r&&/[0-9a-fA-F_]/.test(e[n]);)c+=e[n++];else if(s==="0"&&(e[n+1]==="b"||e[n+1]==="B"))for(c="0b",n+=2;n<r&&/[01_]/.test(e[n]);)c+=e[n++];else if(s==="0"&&(e[n+1]==="o"||e[n+1]==="O"))for(c="0o",n+=2;n<r&&/[0-7_]/.test(e[n]);)c+=e[n++];else{for(;n<r&&/[0-9_]/.test(e[n]);)c+=e[n++];if(e[n]===".")for(c+=e[n++];n<r&&/[0-9_]/.test(e[n]);)c+=e[n++];if(e[n]==="e"||e[n]==="E")for(c+=e[n++],(e[n]==="+"||e[n]==="-")&&(c+=e[n++]);n<r&&Ho(e[n]);)c+=e[n++]}let d=Number(c.replace(/_/g,""));if(Number.isNaN(d))throw new ee("Invalid number",e,a);t.push({type:"num",value:c,parsed:d,start:a,end:n});continue}if(s==='"'||s==="'"){n++;let c="";for(;n<r&&e[n]!==s;)if(e[n]==="\\"){n++;let d=e[n];if(d==="u")if(e[n+1]==="{"){let u=e.indexOf("}",n);if(u===-1)throw new ee("Unclosed Unicode escape",e,a);let p=e.slice(n+2,u);if(!/^[0-9a-fA-F]+$/.test(p)||parseInt(p,16)>1114111)throw new ee(`Invalid Unicode escape "\\u{${p}}"`,e,n-1);c+=String.fromCodePoint(parseInt(p,16)),n=u+1}else{let u=e.slice(n+1,n+5);if(!/^[0-9a-fA-F]{4}$/.test(u))throw new ee("Invalid Unicode escape: \\u needs 4 hexadecimal digits",e,n-1);c+=String.fromCharCode(parseInt(u,16)),n+=5}else if(d==="x"){let u=e.slice(n+1,n+3);if(!/^[0-9a-fA-F]{2}$/.test(u))throw new ee("Invalid hexadecimal escape: \\x needs 2 hexadecimal digits",e,n-1);c+=String.fromCharCode(parseInt(u,16)),n+=3}else c+=(o=Fc[d])!=null?o:d,n++}else c+=e[n++];if(n>=r)throw new ee("Unclosed string",e,a);n++,t.push({type:"str",value:c,parsed:c,start:a,end:n});continue}if(s==="`"){n++;let c=[],d=[],u="";for(;n<r&&e[n]!=="`";){if(e[n]==="\\"){let p=e[n+1];u+=(i=Fc[p])!=null?i:p,n+=2;continue}if(e[n]==="$"&&e[n+1]==="{"){c.push(u),u="",n+=2;let p=1,f="";for(;n<r;){let m=e[n];if(m==="{")p++;else if(m==="}"){if(p--,p===0)break}else if(m==='"'||m==="'"||m==="`"){let h=m;for(f+=e[n++];n<r&&e[n]!==h;)e[n]==="\\"&&(f+=e[n++]),f+=e[n++]}f+=e[n++]}if(p!==0)throw new ee("Unclosed template interpolation",e,a);n++,d.push(f);continue}u+=e[n++]}if(n>=r)throw new ee("Unclosed template literal",e,a);n++,c.push(u),t.push({type:"tpl",value:e.slice(a,n),tpl:{quasis:c,exprs:d},start:a,end:n});continue}if($m(s)){let c="";for(;n<r&&Dm(e[n]);)c+=e[n++];t.push({type:"ident",value:c,start:a,end:n});continue}let l;for(let c of Cm)if(e.startsWith(c,n)){if(c==="?."&&Ho(e[n+2]))continue;l=c;break}if(l){n+=l.length,t.push({type:"punct",value:l,start:a,end:n});continue}throw new ee(`Unexpected character "${s}"`,e,n)}return t.push({type:"eof",value:"",start:r,end:r}),t}var Ic={"??":1,"||":2,"&&":3,"|":4,"^":5,"&":6,"==":7,"!=":7,"===":7,"!==":7,"<":8,">":8,"<=":8,">=":8,in:8,instanceof:8,"<<":9,">>":9,">>>":9,"+":10,"-":10,"*":11,"/":11,"%":11,"**":12},Pm=new Set(["=","+=","-=","*=","/=","%=","**=","&&=","||=","??="]),Nm=new Set(["!","-","+","~","typeof","void","delete"]),zc=Object.assign(Object.create(null),{true:!0,false:!1,null:null,undefined:void 0}),Bc=1200,jc=32,qs=0,Vs=class{constructor(t,n){P(this,"tokens",t);P(this,"source",n);P(this,"pos",0);P(this,"depth",0)}peek(t=0){return this.tokens[Math.min(this.pos+t,this.tokens.length-1)]}next(){return this.tokens[this.pos++]}isPunct(t,n=0){let r=this.peek(n);return r.type==="punct"&&r.value===t}isIdent(t,n=0){let r=this.peek(n);return r.type==="ident"&&r.value===t}expect(t){if(!this.isPunct(t)){let n=this.peek();throw new ee(`Expected "${t}" but found "${n.value||"end of expression"}"`,this.source,n.start)}return this.next()}parseProgram(){let t=[];for(;this.peek().type!=="eof";)for(t.push(this.parseStatement());this.isPunct(";")||this.isPunct(",");)this.next();return t.length===0?{t:"lit",v:void 0}:t.length===1?t[0]:{t:"seq",body:t}}parseArrowBody(){if(!this.isPunct("{"))return this.parseAssignment();this.next();let t=[];for(;!this.isPunct("}")&&this.peek().type!=="eof";)for(t.push(this.parseStatement());this.isPunct(";")||this.isPunct(",");)this.next();return this.expect("}"),t.length===0?{t:"lit",v:void 0}:t.length===1?t[0]:{t:"seq",body:t}}parseStatement(){if(this.peek().type==="ident"&&this.peek().value==="return")return this.next(),this.isPunct(";")||this.isPunct(",")||this.isPunct("}")||this.peek().type==="eof"?{t:"return",a:null}:{t:"return",a:this.parseExpression()};if(this.peek().type==="ident"&&this.peek().value==="if"&&this.isPunct("(",1)){this.next(),this.expect("(");let t=this.parseExpression();this.expect(")");let n=this.parseBlockOrStatement(),r=null;return this.peek().type==="ident"&&this.peek().value==="else"&&(this.next(),r=this.parseBlockOrStatement()),{t:"if",test:t,cons:n,alt:r}}return this.parseExpression()}parseBlockOrStatement(){if(!this.isPunct("{"))return this.parseStatement();this.next();let t=[];for(;!this.isPunct("}")&&this.peek().type!=="eof";)for(t.push(this.parseStatement());this.isPunct(";")||this.isPunct(",");)this.next();return this.expect("}"),t.length===0?{t:"lit",v:void 0}:t.length===1?t[0]:{t:"seq",body:t}}parseExpression(){return this.parseAssignment()}enterLevel(){if(++this.depth>Bc){let t=this.peek();throw new ee(`Expression too deeply nested (limit of ${Bc} levels)`,this.source,t.start)}}parseAssignment(){this.enterLevel();let t=this.parseAssignmentInternal();return this.depth--,t}parseAssignmentInternal(){if(this.peek().type==="ident"&&this.isPunct("=>",1)){let r=this.next().value;return this.next(),{t:"arrow",params:[{kind:"id",name:r}],body:this.parseArrowBody()}}if(this.isPunct("(")){let r=this.tryParseParenArrow();if(r)return r}let t=this.parseConditional(),n=this.peek();if(n.type==="punct"&&Pm.has(n.value)){if(t.t!=="id"&&t.t!=="member")throw new ee("Invalid assignment target",this.source,n.start);this.next();let r=this.parseAssignment();return{t:"assign",op:n.value,target:t,value:r}}return t}tryParseParenArrow(){let t=this.pos,n=0,r=this.pos;for(;r<this.tokens.length;r++){let s=this.tokens[r];if(s.type==="punct"&&s.value==="(")n++;else if(s.type==="punct"&&s.value===")"){if(n--,n===0)break}else if(s.type==="eof")break}let o=this.tokens[r+1];if(!o||o.type!=="punct"||o.value!=="=>")return null;this.next();let i;try{i=this.parseParamList()}catch(s){return this.pos=t,null}return this.expect("=>"),{t:"arrow",params:i,body:this.parseArrowBody()}}parseParamList(){let t=[];for(;!this.isPunct(")")&&(t.push(this.parseParam()),this.isPunct(","));)this.next();return this.expect(")"),t}parseParam(){if(this.isPunct("...")){this.next();let n=this.next();if(n.type!=="ident")throw new ee("Expected a name after ...",this.source,n.start);return{kind:"rest",name:n.value}}let t;if(this.isPunct("{")){this.next();let n=[],r;for(;!this.isPunct("}");){if(this.isPunct("...")){this.next();let o=this.next();if(o.type!=="ident")throw new ee("Expected a name after ...",this.source,o.start);r=o.value}else{let o=this.next();if(o.type!=="ident"&&o.type!=="str")throw new ee("Expected a property name",this.source,o.start);let i=this.isPunct(":")?(this.next(),this.parseParam()):{kind:"id",name:o.value};this.isPunct("=")&&(this.next(),i.def=this.parseAssignment()),n.push({key:String(o.value),value:i})}if(this.isPunct(","))this.next();else break}this.expect("}"),t={kind:"obj",props:n,rest:r}}else if(this.isPunct("[")){this.next();let n=[],r;for(;!this.isPunct("]");){if(this.isPunct(",")){this.next(),n.push(null);continue}if(this.isPunct("...")){this.next();let o=this.next();if(o.type!=="ident")throw new ee("Expected a name after ...",this.source,o.start);r=o.value}else n.push(this.parseParam());if(this.isPunct(","))this.next();else break}this.expect("]"),t={kind:"arr",elements:n,rest:r}}else{let n=this.next();if(n.type!=="ident")throw new ee("Expected a parameter name",this.source,n.start);t={kind:"id",name:n.value}}return this.isPunct("=")&&(this.next(),t.def=this.parseAssignment()),t}parseConditional(){let t=this.parseBinary(0);if(this.isPunct("?")){this.next();let n=this.parseAssignment();this.expect(":");let r=this.parseAssignment();return{t:"cond",test:t,cons:n,alt:r}}return t}parseBinary(t){this.enterLevel();let n=this.parseBinaryInternal(t);return this.depth--,n}parseBinaryInternal(t){let n=this.parseUnary();for(;;){let r=this.peek(),o=r.value;if(!(r.type==="punct"&&o in Ic||r.type==="ident"&&(o==="in"||o==="instanceof")))break;let s=Ic[o];if(s===void 0||s<=t)break;this.next();let a=this.parseBinary(o==="**"?s-1:s);n={t:o==="&&"||o==="||"||o==="??"?"logic":"bin",op:o,l:n,r:a}}return n}parseUnary(){this.enterLevel();let t=this.parseUnaryInternal();return this.depth--,t}parseUnaryInternal(){let t=this.peek();if((t.type==="punct"||t.type==="ident")&&Nm.has(t.value))return this.next(),{t:"unary",op:t.value,a:this.parseUnary()};if(t.type==="punct"&&(t.value==="++"||t.value==="--")){this.next();let o=this.parseUnary();return{t:"update",op:t.value,a:o,prefix:!0}}let n=this.parseCallMember(),r=this.peek();return r.type==="punct"&&(r.value==="++"||r.value==="--")&&(this.next(),n={t:"update",op:r.value,a:n,prefix:!1}),n}parseNew(){this.next();let t=this.parseMemberOnly(this.parsePrimary()),n=this.isPunct("(")?this.parseArguments():[];return{t:"new",callee:t,args:n}}parseMemberOnly(t){let n=t;for(;;)if(this.isPunct(".")){this.next();let r=this.next();if(r.type!=="ident")throw new ee("Invalid property name",this.source,r.start);n={t:"member",o:n,p:{t:"lit",v:r.value},computed:!1,opt:!1}}else if(this.isPunct("[")){this.next();let r=this.parseExpression();this.expect("]"),n={t:"member",o:n,p:r,computed:!0,opt:!1}}else return n}parseCallMember(){let t=this.isIdent("new")?this.parseNew():this.parsePrimary();for(;;)if(this.isPunct(".")){this.next();let n=this.next();if(n.type!=="ident")throw new ee("Invalid property name",this.source,n.start);t={t:"member",o:t,p:{t:"lit",v:n.value},computed:!1,opt:!1}}else if(this.isPunct("?."))if(this.next(),this.isPunct("("))t={t:"call",callee:t,args:this.parseArguments(),opt:!0};else if(this.isPunct("[")){this.next();let n=this.parseExpression();this.expect("]"),t={t:"member",o:t,p:n,computed:!0,opt:!0}}else{let n=this.next();if(n.type!=="ident")throw new ee("Invalid property name",this.source,n.start);t={t:"member",o:t,p:{t:"lit",v:n.value},computed:!1,opt:!0}}else if(this.isPunct("[")){this.next();let n=this.parseExpression();this.expect("]"),t={t:"member",o:t,p:n,computed:!0,opt:!1}}else if(this.isPunct("("))t={t:"call",callee:t,args:this.parseArguments(),opt:!1};else return t}parseArguments(){this.expect("(");let t=[];for(;!this.isPunct(")")&&(this.isPunct("...")?(this.next(),t.push({t:"unary",op:"...",a:this.parseAssignment()})):t.push(this.parseAssignment()),this.isPunct(","));)this.next();return this.expect(")"),t}parsePrimary(){let t=this.peek();if(t.type==="ident"&&t.value==="function")return this.next(),this.peek().type==="ident"&&this.next(),this.expect("("),{t:"arrow",params:this.parseParamList(),body:this.parseArrowBody()};if(t.type==="num"||t.type==="str")return this.next(),{t:"lit",v:t.parsed};if(t.type==="tpl"){this.next();let n=t.tpl;if(qs>=jc)throw new ee(`Template literal too deeply nested (limit of ${jc} levels)`,this.source,t.start);qs++;try{return{t:"tpl",quasis:n.quasis,exprs:n.exprs.map(r=>_e(r))}}finally{qs--}}if(t.type==="ident")return t.value in zc?(this.next(),{t:"lit",v:zc[t.value]}):(this.next(),{t:"id",n:t.value});if(t.type==="punct"){if(t.value==="("){this.next();let n=[this.parseExpression()];for(;this.isPunct(",");){if(this.next(),this.isPunct(")")){let r=this.peek();throw new ee("Trailing comma in a group",this.source,r.start)}n.push(this.parseExpression())}return this.expect(")"),n.length===1?n[0]:{t:"seq",body:n}}if(t.value==="[")return this.parseArrayLiteral();if(t.value==="{")return this.parseObjectLiteral()}throw new ee(`Unexpected token "${t.value||"end of expression"}"`,this.source,t.start)}parseArrayLiteral(){this.expect("[");let t=[];for(;!this.isPunct("]")&&(this.isPunct("...")?(this.next(),t.push({spread:this.parseAssignment()})):t.push(this.parseAssignment()),this.isPunct(","));)this.next();return this.expect("]"),{t:"arr",els:t}}parseObjectLiteral(){var n;this.expect("{");let t=[];for(;!this.isPunct("}");){if(this.isPunct("..."))this.next(),t.push({key:null,spread:this.parseAssignment()});else if(this.isPunct("[")){this.next();let r=this.parseAssignment();this.expect("]"),this.expect(":"),t.push({key:null,keyExpr:r,value:this.parseAssignment()})}else{if(this.peek().type==="ident"&&this.peek().value==="get"&&this.peek(1).type==="ident"&&this.isPunct("(",2)){this.next();let i=this.next();this.expect("("),this.expect(")"),t.push({key:String(i.value),getter:!0,value:{t:"method",params:[],body:this.parseArrowBody()}}),this.isPunct(",")&&this.next();continue}let r=this.next();if(r.type!=="ident"&&r.type!=="str"&&r.type!=="num")throw new ee("Invalid object key",this.source,r.start);let o=String((n=r.parsed)!=null?n:r.value);if(this.isPunct(":"))this.next(),t.push({key:o,value:this.parseAssignment()});else if(this.isPunct("(")){this.next();let i=this.parseParamList();t.push({key:o,value:{t:"method",params:i,body:this.parseArrowBody()}})}else t.push({key:o,value:{t:"id",n:o}})}if(this.isPunct(","))this.next();else break}return this.expect("}"),{t:"obj",props:t}}},An=new Map,qc=2e3;function _e(e){let t=An.get(e);if(t)return t;let n=new Vs(Oo(e),e).parseProgram();return An.size>=qc&&Hm(),An.set(e,n),n}function Hm(){let e=Math.floor(qc/2),t=0;for(let n of An.keys())if(An.delete(n),++t>=e)break}function Vc(){An.clear()}var Kc,Om=Object.freeze({keys:Object.keys,values:Object.values,entries:Object.entries,fromEntries:Object.fromEntries,assign:Object.assign,is:Object.is,hasOwn:(Kc=Object.hasOwn)!=null?Kc:((e,t)=>Object.prototype.hasOwnProperty.call(e,t))}),Fm=new Set(["eval","Function","window","globalThis","self","top","parent","document","fetch","XMLHttpRequest","importScripts","require","process","Reflect","Proxy","WebAssembly","localStorage","sessionStorage","indexedDB","navigator","location","history","crypto","Worker","SharedWorker","ServiceWorker"]),He={Math,JSON,Date,Number,String,Boolean,Array,Object:Om,Intl,RegExp,Promise,parseInt,parseFloat,isNaN,isFinite,encodeURIComponent,decodeURIComponent,console},Ee=class extends Error{constructor(n,r){super(r?`${n}
57
57
 
58
58
  Expression: ${r}`:n);P(this,"expression",r);this.name="VoodooRuntimeError"}},_s=Symbol("spread"),Cr=class{constructor(t){P(this,"value",t)}};function Fo(e){return e instanceof Cr?e.value:e}var Im=new Set(["__proto__","constructor","prototype"]);function Yc(e){return typeof e=="string"&&Im.has(e)}function Et(e,t){if(Yc(e))throw new Ee(`Access blocked to "${String(e)}": template expressions cannot reach the prototype chain. Expose a method in state instead.`,t);return e}function N(e,t){var n,r;switch(e.t){case"lit":return e.v;case"tpl":{let o=(n=e.quasis[0])!=null?n:"";for(let i=0;i<e.exprs.length;i++)o+=kt(N(e.exprs[i],t)),o+=(r=e.quasis[i+1])!=null?r:"";return o}case"id":{Et(e.n);let o=t.lookup(e.n);return o?o[e.n]:e.n in He?He[e.n]:void 0}case"member":{let o=N(e.o,t);if(o==null){if(e.opt)return;throw new Ee(`Could not read "${Us(e,t)}" from ${o===null?"null":"undefined"}`)}let i=Et(e.computed?N(e.p,t):e.p.v);return o[i]}case"new":{let o=N(e.callee,t);if(typeof o!="function")throw new Ee(`Cannot construct ${kt(o)}: it is not a constructor`);if(o===Function)throw new Ee("Cannot construct Function: expressions never compile code");let i=_c(e.args,t);return Reflect.construct(o,i)}case"call":{let o,i;if(e.callee.t==="member"){let s=N(e.callee.o,t);if(s==null){if(e.callee.opt||e.opt)return;throw new Ee(`Could not call "${Us(e.callee,t)}" from ${s===null?"null":"undefined"}`)}let a=Et(e.callee.computed?N(e.callee.p,t):e.callee.p.v);o=s,i=s[a]}else if(e.callee.t==="id"){Et(e.callee.n);let s=t.lookup(e.callee.n);s?(o=s,i=s[e.callee.n]):i=He[e.callee.n]}else i=N(e.callee,t);if(i==null&&e.opt)return;if(typeof i!="function"){let s=e.callee.t==="id"?e.callee.n:Us(e.callee,t);throw e.callee.t==="id"&&!t.lookup(s)&&!(s in He)?Fm.has(s)?new Ee(`"${s}" is blocked. Expressions run in a sandbox without access to it.`):new Ee(`"${s}" was not found. Expressions cannot reach window: expose it with V.config.globals.${s} = ..., or put it in scope with V.data({ ${s} }).`):new Ee(`"${s}" is not a function`)}return i.apply(o,_c(e.args,t))}case"unary":{if(e.op==="...")return{[_s]:N(e.a,t)};if(e.op==="delete"){if(e.a.t!=="member")throw new Ee("delete needs a property, as in `delete user.name` or `delete list[0]`");let i=N(e.a.o,t);if(i==null)return!0;let s=Et(e.a.computed?N(e.a.p,t):e.a.p.v);return delete i[s]}if(e.op==="typeof"){if(e.a.t==="id"){if(Yc(e.a.n))return"undefined";let i=t.lookup(e.a.n);return typeof(i?i[e.a.n]:He[e.a.n])}return typeof N(e.a,t)}let o=N(e.a,t);switch(e.op){case"!":return!o;case"-":return-o;case"+":return+o;case"~":return~o;case"void":return}throw new Ee(`Unsupported unary operator: ${e.op}`)}case"update":{let o=Number(N(e.a,t)),i=e.op==="++"?o+1:o-1;return Wc(e.a,i,t),e.prefix?i:o}case"bin":{let o=N(e.l,t),i=N(e.r,t);switch(e.op){case"+":return o+i;case"-":return o-i;case"*":return o*i;case"/":return o/i;case"%":return o%i;case"**":return o**i;case"==":return o==i;case"!=":return o!=i;case"===":return o===i;case"!==":return o!==i;case"<":return o<i;case">":return o>i;case"<=":return o<=i;case">=":return o>=i;case"in":return o in i;case"instanceof":return o instanceof i;case"&":return o&i;case"|":return o|i;case"^":return o^i;case"<<":return o<<i;case">>":return o>>i;case">>>":return o>>>i}throw new Ee(`Unsupported operator: ${e.op}`)}case"logic":{let o=N(e.l,t);return e.op==="&&"?o&&N(e.r,t):e.op==="||"?o||N(e.r,t):o!=null?o:N(e.r,t)}case"cond":return N(e.test,t)?N(e.cons,t):N(e.alt,t);case"assign":{let o;if(e.op==="=")o=N(e.value,t);else if(e.op==="&&="||e.op==="||="||e.op==="??="){let i=N(e.target,t);if(!(e.op==="&&="?!!i:e.op==="||="?!i:i==null))return i;o=N(e.value,t)}else{let i=N(e.target,t),s=N(e.value,t);switch(e.op){case"+=":o=i+s;break;case"-=":o=i-s;break;case"*=":o=i*s;break;case"/=":o=i/s;break;case"%=":o=i%s;break;case"**=":o=i**s;break;default:throw new Ee(`Unsupported assignment: ${e.op}`)}}return Wc(e.target,o,t),o}case"if":return N(e.test,t)?N(e.cons,t):e.alt?N(e.alt,t):void 0;case"method":{let o=e.params,i=e.body;return function(...s){let a=Uc(o,s,t),l=this,c=l!==null&&typeof l=="object"?t.child(l):t;return Fo(N(i,c.child(a)))}}case"arrow":{let o=e.params,i=e.body;return(...s)=>Fo(N(i,t.child(Uc(o,s,t))))}case"obj":{let o={};for(let i of e.props)if(i.spread)Object.assign(o,N(i.spread,t));else{let s=Et(i.key!==null?i.key:String(N(i.keyExpr,t)));if(i.getter){let a=N(i.value,t);Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get(){return a.call(this)}});continue}o[s]=N(i.value,t)}return o}case"arr":{let o=[];for(let i of e.els)i&&typeof i=="object"&&"spread"in i?o.push(...N(i.spread,t)):o.push(N(i,t));return o}case"return":return new Cr(e.a?N(e.a,t):void 0);case"seq":{let o;for(let i of e.body)if(o=N(i,t),o instanceof Cr)return o;return o}}throw new Ee(`Unknown node: ${e.t}`)}function Ws(e,t,n,r){if(e.kind==="rest"){n[e.name]=t;return}if(e.def!==void 0&&t===void 0&&(t=N(e.def,r.child(n))),e.kind==="id"){n[e.name]=t;return}if(e.kind==="obj"){if(t==null)throw new Ee(`Cannot destructure ${t===null?"null":"undefined"}`);let i=new Set;for(let{key:s,value:a}of e.props)i.add(s),Ws(a,t[Et(s)],n,r);if(e.rest){let s={};for(let a of Object.keys(t))i.has(a)||(s[a]=t[a]);n[e.rest]=s}return}let o=Array.isArray(t)?t:Array.from(t);e.elements.forEach((i,s)=>{i&&Ws(i,o[s],n,r)}),e.rest&&(n[e.rest]=o.slice(e.elements.length))}function Uc(e,t,n){let r={};for(let o=0;o<e.length;o++){let i=e[o];Ws(i,i.kind==="rest"?t.slice(o):t[o],r,n)}return r}function _c(e,t){let n=[];for(let r of e){let o=N(r,t);o&&typeof o=="object"&&_s in o?n.push(...o[_s]):n.push(o)}return n}function Wc(e,t,n){if(e.t==="id"){Et(e.n),n.set(e.n,t);return}if(e.t==="member"){let r=N(e.o,n);if(r==null)throw new Ee("Could not write to null or undefined");let o=Et(e.computed?N(e.p,n):e.p.v);r[o]=t;return}throw new Ee("Invalid assignment target")}function Us(e,t){return e.t==="member"?e.computed?String(N(e.p,t)):String(e.p.v):e.t==="id"?e.n:"value"}function kt(e){if(e==null)return"";if(typeof e=="string")return e;if(typeof e=="number"||typeof e=="boolean")return String(e);if(e instanceof Date)return e.toLocaleString();if(typeof e=="object")try{return JSON.stringify(e)}catch(t){return String(e)}return String(e)}ce();me();var Ar=new Map;function H(e,t){Ar.set(e.startsWith("$")?e:`$${e}`,t)}var Lt=class e{constructor(t={},n=null,r=null){this.refs={},this.component=null,this.provides=null,this.magicCache=null,this.data=t,this.parent=n,this.el=r}get root(){let t=this;for(;t.parent;)t=t.parent;return t}inject(t,n){let r=this;for(;r;){if(r.provides&&t in r.provides)return r.provides[t];r=r.parent}return n}get owner(){let t=this;for(;t;){if(t.component)return t;t=t.parent}return null}get allRefs(){let t=[],n=this;for(;n;)t.unshift(n),n=n.parent;let r={};for(let o of t)Object.assign(r,o.refs);return r}lookup(t){let n=this;for(;n;){if(t in n.data)return n.data;n=n.parent}if(t.charCodeAt(0)===36&&Ar.has(t))return this.magicContainer(t)}has(t){return this.lookup(t)!==void 0}get(t){let n=this.lookup(t);return n?n[t]:void 0}set(t,n){let r=this;for(;r;){if(t in r.data){r.data[t]=n;return}r=r.parent}this.data[t]=n}child(t={},n=null){return new e(t,this,n!=null?n:this.el)}reactiveChild(t,n=null){return new e(Y(t),this,n!=null?n:this.el)}magicContainer(t){this.magicCache||(this.magicCache=new Map);let n=this.magicCache.get(t);if(n)return n;let r=Ar.get(t),o=this,i={};return Object.defineProperty(i,t,{get:()=>r(o),set:s=>{let a=r(o);a&&typeof a=="object"&&"set"in a&&a.set(s)},enumerable:!0,configurable:!0}),this.magicCache.set(t,i),i}},We=new Lt(Y({}));me();ce();ce();function Mt(){return w.devtools===!0}function St(e){if(!e)return"(no element)";let t=e.tagName.toLowerCase();e.id&&(t+=`#${e.id}`);let n=(e.getAttribute("class")||"").trim().split(/\s+/).filter(Boolean);return n.length&&(t+=`.${n.slice(0,2).join(".")}`),`<${t}>`}function sn(e){Mt()&&console.warn(`[Voodoo] ${e}`)}var Gc=new Set;function Rr(e,t){Mt()&&(Gc.has(e)||(Gc.add(e),console.warn(`[Voodoo] ${t}`)))}var zm=new Set(["confirm-title","confirm-label","confirm-cancel","hold-duration"]);function Qc(e,t,n){Mt()&&(zm.has(n)||Rr(`unknown-directive:${n}`,`unknown directive "${t}" at ${St(e)}. No directive named "${n}" was registered. Check the spelling or register with V.directive("${n}", ...).`))}function Jc(e,t){Rr(`unknown-component:${t}`,`component "${t}" not registered at ${St(e)}. Register with V.component("${t}", { ... }) before using the tag, or remove the attribute to leave the element as plain HTML.`)}function Zc(e,t,n,r){if(!Mt())return;let o=r instanceof Error?r.message.split(`
59
59
  `)[0]:String(r);sn(`invalid expression in ${t}="${n}" on element ${St(e)}.
60
60
  Reason: ${o}
61
- Suggestion: attribute expressions accept a single value. If the logic spans more than one line, move it to a component method and call the method here.`)}function ed(e,t,n){Mt()&&sn(`duplicate key "${String(t)}" in v-for="${n}" on element ${St(e)}. Two rows with the same key cause the list to reuse the wrong block when reordering. Use a unique key, like the item id.`)}function td(e,t,n){Mt()&&sn(`required prop "${n}" missing from component "${t}" at ${St(e)}. Pass the value on the tag with ${n}="..." for a fixed value or :${n}="expression" for a state value.`)}function $r(e,t){Rr(`alias:${e}`,`"${e}" is an alias for "${t}" and still works, but the official name is "${t}". Prefer "${t}" in new code.`)}var an=new WeakMap,Bo=new WeakMap,Ct=new WeakSet,jo=new WeakMap;function Gs(e){return Ct.has(e)}function Qs(e){Ct.add(e)}function ot(e){return an.get(e)}function Ce(e){let t=e;for(;t;){let n=an.get(t);if(n)return n;t=t.parentNode}return We}function ld(e,t){let n=jo.get(e);n||jo.set(e,n=[]),n.push(t)}function cd(e){var t;return(t=jo.get(e))!=null?t:[]}var Ks=new WeakSet;function Js(e){Ks.add(e),e.remove()}function Xe(e,t){let n=Bo.get(e);n||Bo.set(e,n=[]),n.push(t)}function G(e){if(e.nodeType===1){let n=[];for(let r=e.firstChild;r;r=r.nextSibling)(r.nodeType===1||r.nodeType===3)&&n.push(r);for(let r=n.length-1;r>=0;r--)G(n[r])}let t=Bo.get(e);if(t){Bo.delete(e);for(let n=t.length-1;n>=0;n--)try{t[n]()}catch(r){K(r,"cleanup")}}e.nodeType===1&&Um(e),an.delete(e),jo.delete(e),Ct.delete(e)}var zo=new Map,Bm=4e3;function $n(e,t){let n=`${e}\0${t}`,r=zo.get(n);if(r!==void 0)return r;let o=jm(e,t);return zo.size>=Bm&&zo.clear(),zo.set(n,o),o}function jm(e,t){let n=w.prefix,r;if(e.startsWith("@"))r=`on:${e.slice(1)}`;else if(e.startsWith(":")&&e.length>1)r=`bind:${e.slice(1)}`;else if(e.startsWith(".")&&e.length>1)r=`bind:${e.slice(1)}.prop`;else if(e.startsWith(n))r=e.slice(n.length);else if(e.startsWith("data-v-"))r=e.slice(7);else return null;if(!r)return null;let o=r.split("."),i=o.shift(),s={};for(let d of o){let u=d.indexOf("=");u>-1?s[d.slice(0,u)]=d.slice(u+1):s[d]=!0}let a=i.indexOf(":"),l=a>-1?i.slice(0,a):i,c=a>-1?i.slice(a+1):void 0;return{raw:e,name:l,arg:c,modifiers:s,expression:t}}function Dn(e){let t=[],n=Ot.get(e);if(n&&n.size)for(let[r,o]of n){let i=$n(r,o);i&&(t.push(i),rd(e,i.name))}else{let r=dd(e);for(let o=0;o<r.length;o++){let i=r[o];if(!Vm(i))continue;let s=$n(i,e.getAttribute(i));s&&(t.push(s),rd(e,s.name))}}return t.length<2?t:t.sort((r,o)=>nd(o)-nd(r))}var qm=typeof Element!="undefined"&&!!Element.prototype.getAttributeNames;function dd(e){return qm?e.getAttributeNames():Array.from(e.attributes,t=>t.name)}function Vm(e){return ea(e)||e.charCodeAt(0)===46&&e.length>1}function nd(e){var t,n;return(n=(t=Tt.get(e.name))==null?void 0:t.priority)!=null?n:0}var Dr=new Map,qo=new WeakMap;function rd(e,t){let n=Dr.get(t);n||Dr.set(t,n=new Set),n.add(e);let r=qo.get(e);r||qo.set(e,r=new Set),r.add(t)}function Um(e){var n;let t=qo.get(e);if(t){for(let r of t)(n=Dr.get(r))==null||n.delete(e);qo.delete(e)}}function Zs(e,t){var n;return(n=Dr.get(t))!=null&&n.has(e)?!0:e.hasAttribute(`${w.prefix}${t}`)||e.hasAttribute(`data-v-${t}`)}function Vo(e,t){let n=[],r=Dr.get(t),o=e;if(r)for(let s of r)s.isConnected&&o.contains&&o.contains(s)&&s!==o&&n.push(s);let i=new Set(n);for(let s of Array.from(e.querySelectorAll(`[${w.prefix}${t}],[data-v-${t}]`)))i.has(s)||(i.add(s),n.push(s));return n.sort((s,a)=>s.compareDocumentPosition(a)&window.Node.DOCUMENT_POSITION_FOLLOWING?-1:1),n}function Pn(e,t){let n=e;for(;n;){if(Zs(n,t))return n;n=n.parentElement}return null}var Ot=new WeakMap;function ea(e){return e.startsWith(w.prefix)||e.startsWith("data-v-")||e.charCodeAt(0)===64||e.charCodeAt(0)===58&&e.length>1}function Te(e,t){var r;let n=(r=Ot.get(e))==null?void 0:r.get(t);return n!==void 0?n:e.getAttribute(t)}function Ft(e,t){let n=Ot.get(e);return n!=null&&n.has(t)?!0:e.hasAttribute(t)}function ud(e){let t=Ot.get(e);if(t)return new Map(t);let n=new Map;for(let r=0;r<e.attributes.length;r++){let o=e.attributes[r];ea(o.name)&&n.set(o.name,o.value)}return n}function _m(e){if(!w.cleanAttributes)return;let t=dd(e),n=Ot.get(e);n||Ot.set(e,n=new Map);for(let r=0;r<t.length;r++){let o=t[r];ea(o)&&(n.set(o,e.getAttribute(o)),e.removeAttribute(o))}}function fd(e){let t=Ot.get(e);if(t){for(let[n,r]of t)if(!e.hasAttribute(n))try{e.setAttribute(n,r)}catch(o){}}}function ta(e){let t=Ot.get(e);return t&&t.size?!0:na(e)}function na(e){let t=e.attributes;for(let n=0;n<t.length;n++){let r=t[n].name;if(r.startsWith(w.prefix)||r.charCodeAt(0)===64||r.charCodeAt(0)===58||r.startsWith("data-v-"))return!0}return!1}function q(e,t,n,r){if(e)try{return N(_e(e),t)}catch(o){Mt()&&Zc(r!=null?r:t.el,n!=null?n:"expression",e,o),K(o,n?`${n} ("${e}")`:`expression "${e}"`);return}}var pd=new WeakSet;function Uo(e){pd.add(e)}function od(e,t,n){let r=Tt.get(t.name);if(!r){Mt()&&t.raw.startsWith(w.prefix)&&Qc(e,t.raw,t.name);return}let o=null,i=()=>{if(!o){let a=o=new rt(!0);Xe(e,()=>a.stop()),ld(e,a)}return o},s={el:e,scope:n,expression:t.expression,arg:t.arg,modifiers:t.modifiers,raw:t.raw,evaluate(a){return q(a!=null?a:t.expression,n,t.raw,e)},effect(a){let l=i();l.run(()=>Fe(a,{scope:l}))},cleanup(a){Xe(e,a)},walk(a,l){ee(a,l)}};try{r.setup(s)}catch(a){K(a,`directive ${t.raw}`)}}var Ys=null;function md(e){Ys=e}var Wm=new Set(["SCRIPT","STYLE","NOSCRIPT"]);function ee(e,t){let n=t!=null?t:Ce(e.parentNode);if(e.nodeType===11){let f=Array.from(e.childNodes);for(let m of f)ee(m,n);return}if(e.nodeType===3){vd(e,n);return}if(e.nodeType!==1)return;let r=e;if(Ct.has(r))return;let o=r.tagName;if(Wm.has(o))return;if(r.hasAttribute(`${w.prefix}ignore`)||r.hasAttribute(`${w.prefix}pre`)){Ct.add(r);return}let i=n,s=Dn(r),a=De.size===0&&Nn.size===0||r.hasAttribute(`${w.prefix}component`)?null:Zm(o);if(s.length===0&&!a){id(r,i);return}Ct.add(r);for(let f of s){let m=Tt.get(f.name);if(m!=null&&m.terminal){od(r,f,i);return}}let l=s.find(f=>f.name==="data"),c=s.find(f=>f.name==="component"),d=c?c.expression||"":a||"",u=!1;if(d&&Ys){let f=Ys(r,d,i);f&&(i=f,u=!0,an.set(r,i))}else if(l||c){let f=l?q(l.expression||"{}",i,"v-data"):{};i=i.reactiveChild(f&&typeof f=="object"?f:{},r),an.set(r,i)}let p=u?n:i;for(let f of s)f.name==="data"||f.name==="component"||od(r,f,p);_m(r),pd.has(r)||id(r,i)}function id(e,t){var r;let n=[];for(let o=e.firstChild;o;o=o.nextSibling)o.nodeType===1?n.push(o):o.nodeType===3&&vd(o,t);for(let o of n)ee(o,(r=an.get(o))!=null?r:t)}var Km=500,sd=new Map;function Ym(e){let t=e.trim();if(!t)return!1;let n=sd.get(t);if(n!==void 0)return n;let r=!0;try{r=_e(t).t!=="seq"}catch(o){r=!1}return sd.set(t,r),r}function Xm(e,t){let n=0,r=null;for(let o=t;o<e.length;o++){let i=e[o];if(r){i==="\\"?o++:i===r&&(r=null);continue}if(i==='"'||i==="'"||i==="`"){r=i;continue}if(i==="{")n++;else if(i==="}"&&(n--,n===0))return o}return-1}function Gm(e){let t=[],n="",r=0,o=()=>{n&&t.push({text:n}),n=""};for(;r<e.length;){let i=e.indexOf("{",r);if(i===-1){n+=e.slice(r);break}n+=e.slice(r,i);let s=e[i+1]==="{",a=s?e.indexOf("}}",i+2):Xm(e,i);if(a===-1){n+=e[i],r=i+1;continue}let l=s?e.slice(i+2,a):e.slice(i+1,a),c=s?a+2:a+1;if((s||l.length<=Km)&&Ym(l)){o(),t.push({expression:l.trim(),raw:e.slice(i,c),explicit:s}),r=c;continue}n+=e[i],r=i+1}return o(),t}var Qm=new Set(["PRE","CODE","SCRIPT","STYLE","TEXTAREA"]);function Jm(e,t,n){if(e.explicit||e.raw===void 0)return!1;let r;try{r=_e(e.expression)}catch(o){return!0}return r.t==="lit"?!0:t!==void 0?!1:r.t==="id"?n.lookup(r.n)===void 0&&!(r.n in He):!1}function vd(e,t){let n=e.textContent;if(!n||n.indexOf("{")===-1||Ct.has(e))return;let r=e.parentElement;for(;r;){if(Qm.has(r.tagName)||r.hasAttribute(`${w.prefix}ignore`)||r.hasAttribute(`${w.prefix}pre`)||r.hasAttribute("data-v-ignore")||r.hasAttribute("data-v-pre"))return;r=r.parentElement}let o=Gm(n);if(!o.some(s=>s.expression))return;Ct.add(e);let i=new rt(!0);Xe(e,()=>i.stop()),ld(e,i),i.run(()=>Fe(()=>{let s="";for(let a of o){if(a.text!==void 0){s+=a.text;continue}let l=q(a.expression,t,"interpolation");s+=Jm(a,l,t)?a.raw:kt(l)}e.textContent!==s&&(e.textContent=s)},{scope:i}))}function It(e,t){an.set(e,t)}function Zm(e){let t=e.toLowerCase();if(De.has(t))return t;let n=Nn.get(t);return n!=null?n:null}var Nn=new Map;var Xs=!1,Rn=null,hd=[];function gd(e){hd.push(e)}function ad(e,t){for(let n of hd)try{n(e,t)}catch(r){console.error("[Voodoo] a start hook failed",r)}}function bd(e){var n;if(typeof document=="undefined")return;let t=(n=e!=null?e:w.root)!=null?n:document.body;t&&(Object.assign(He,w.globals),ad(t,!1),ee(t,We),ad(t,!0),Xs||(Xs=!0,w.autoDiscover&&ev(t),document.dispatchEvent(new CustomEvent("voodoo:ready",{detail:{root:t}}))))}function ev(e){typeof MutationObserver!="undefined"&&(Rn=new MutationObserver(t=>{for(let n of t){for(let r=0;r<n.removedNodes.length;r++){let o=n.removedNodes[r];if(Ks.has(o)){Ks.delete(o);continue}o.nodeType===1&&!o.isConnected&&G(o)}for(let r=0;r<n.addedNodes.length;r++){let o=n.addedNodes[r];o.nodeType===1&&(Ct.has(o)||ee(o,Ce(o.parentNode)))}}}),Rn.observe(e,{childList:!0,subtree:!0}))}function yd(){Rn==null||Rn.disconnect(),Rn=null,Xs=!1}function xd(e){ee(e!=null?e:document.body,e?Ce(e.parentNode):We)}me();ce();var At=new Set,wd=new Set;function zt(e,t){let n=on(e);De.set(n,t),Nn.set(n.replace(/-/g,""),n),tv(n)}function tv(e){var r;if(typeof document=="undefined"||!document.body)return;let t=e.replace(/-/g,""),n=[e,t,`[${w.prefix}component="${e}"]`];for(let o of n){let i;try{i=Array.from(document.querySelectorAll(o))}catch(s){continue}for(let s of i){if((r=ot(s))!=null&&r.component||nv(s))continue;let a=Ce(s.parentNode);Gs(s)&&(G(s),fd(s)),ee(s,a)}}}function nv(e){let t=e.parentElement;for(;t&&t!==document.body;){if(na(t)&&!Gs(t))return!0;t=t.parentElement}return!1}function rv(e,t){var n,r;if(!t||!t.type||t.type==="any")return e;if(e==null||e==="")return(n=t.default)!=null?n:e;switch(t.type){case"number":{let o=Number(e);return Number.isNaN(o)?(r=t.default)!=null?r:e:o}case"boolean":return e===""||e==="true"||e===!0||e==="1";case"string":return String(e);case"array":return Array.isArray(e)?e:[e];default:return e}}function ov(e){let t={};if(Array.isArray(e.props))for(let n of e.props)t[n]={type:"any"};else e.props&&Object.assign(t,e.props);return t}function ra(e){return e.replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function iv(e,t,n,r,o){var c;let i=Y({}),s=Object.keys(t),a=new Map;for(let d of s)a.set(d.toLowerCase(),d),a.set(on(d),d),a.set(ra(d).toLowerCase(),d);for(let d of s)t[d].default!==void 0&&(i[d]=t[d].default);let l=Array.from(e.attributes);for(let d of l){let u=$n(d.name,d.value);if(u&&u.name==="bind"&&u.arg){let f=(c=a.get(u.arg.toLowerCase()))!=null?c:ra(u.arg);if(s.length&&!a.has(u.arg.toLowerCase()))continue;r.run(()=>Fe(()=>{i[f]=q(u.expression,n,`:${u.arg}`)}));continue}if(u)continue;let p=a.get(d.name.toLowerCase());p?i[p]=rv(d.value,t[p]):s.length||(i[ra(d.name)]=d.value)}for(let d of s)t[d].required&&i[d]===void 0&&td(e,o,d);return i}function sv(e,t,n){let r=Array.from(e.querySelectorAll("slot"));if(!r.length)return;let o=new Map,i=[];Array.from(t.childNodes).forEach(s=>{var l,c;let a=s.nodeType===1&&(l=s.getAttribute("slot"))!=null?l:null;if(a){s.removeAttribute("slot");let d=(c=o.get(a))!=null?c:[];d.push(s),o.set(a,d)}else i.push(s)});for(let s of r){let a=s.getAttribute("name"),l=a?o.get(a):i,c=document.createDocumentFragment();if(l&&l.length)for(let d of l)c.appendChild(d);else for(;s.firstChild;)c.appendChild(s.firstChild);Array.from(c.childNodes).forEach(d=>{d.nodeType===1&&av(d,n)}),s.replaceWith(c)}}var _o=null;function Ed(e){_o=e}function av(e,t){_o==null||_o(e,t)}function kd(e,t,n){var k,C,D,A,se,O,pe,ae;let r=t?on(t):"",o=r?(D=(C=De.get(r))!=null?C:De.get((k=Nn.get(r))!=null?k:""))!=null?D:{}:{};r&&!De.has(r)&&!Nn.has(r)&&Jc(e,t);let i=new rt(!0),s=ov(o),a=iv(e,s,n,i,r||"inline");!o.state&&o.data&&$r("data()","state()"),o.destroyed&&$r("destroyed()","unmounted()");let l=(A=o.state)!=null?A:o.data,c={},d={},u=o.inheritScope?n:n.root,p=new Lt({},u,e);p.component=d;try{c=l?(se=l.call(d,a))!=null?se:{}:{}}catch(R){K(R,`state() of component "${t}"`)}let f=e.getAttribute(`${w.prefix}data`);if(f){let R=q(f,n,"v-data");R&&typeof R=="object"&&Object.assign(c,R)}if(o.provide)try{let R=typeof o.provide=="function"?o.provide.call(d):o.provide;R&&typeof R=="object"&&(p.provides={...R})}catch(R){K(R,`provide() of component "${t}"`)}if(o.inject){let R=Array.isArray(o.inject)?o.inject.map(S=>[S,{from:S}]):Object.entries(o.inject).map(([S,B])=>[S,B!=null?B:{}]);for(let[S,B]of R){let Ve=(O=B.from)!=null?O:S,Ue=n.inject(Ve,B.default);S in c||(c[S]=Ue)}}let m=Y(c),h={};if(o.computed)for(let[R,S]of Object.entries(o.computed))h[R]=Sr(()=>S.call(d));let v={};if(o.methods)for(let[R,S]of Object.entries(o.methods))v[R]=(...B)=>S.apply(d,B);for(let[R,S]of Object.entries(o))typeof S=="function"&&(lv.has(R)||R==="state"||R==="data"||R in v||(v[R]=(...B)=>S.apply(d,B)));let g=(R,S)=>{let B=new CustomEvent(R,{detail:S,bubbles:!0,cancelable:!0});B.__voodoo=!0,e.dispatchEvent(B)},b={$el:e,$props:a,$name:r||"inline",$scope:p,$parent:(ae=(pe=n.owner)==null?void 0:pe.component)!=null?ae:null,emit:g,$emit:g,$nextTick:R=>Promise.resolve().then(()=>(me(),Oc)).then(S=>S.nextTick(R)),$watch:(R,S)=>Ie(()=>q(R,p),S)},x={get(R,S){if(typeof S!="symbol")return S==="$refs"?p.allRefs:S in b?b[S]:S in h?h[S].value:S in v?v[S]:S in a?a[S]:m[S]},set(R,S,B){return typeof S=="symbol"?!0:S in h?(h[S].value=B,!0):S in a?(a[S]=B,!0):(m[S]=B,!0)},has(R,S){if(typeof S=="symbol")return!1;let B=S;return B==="$refs"||B in b||B in h||B in v||B in a||B in m},ownKeys(){return[...new Set([...Object.keys(m),...Object.keys(a),...Object.keys(v),...Object.keys(h)])]},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}},T=new Proxy(d,x);if(p.data=T,Object.setPrototypeOf(d,T),o.watch)for(let[R,S]of Object.entries(o.watch))i.run(()=>Ie(()=>T[R],(B,Ve)=>S.call(T,B,Ve)));if(o.style&&!wd.has(r)){wd.add(r);let R=document.createElement("style");R.setAttribute("data-voodoo-component",r),R.textContent=o.style,document.head.appendChild(R)}if(Hn(o,T,"beforeMount"),o.template){let R=document.createDocumentFragment();for(;e.firstChild;)R.appendChild(e.firstChild);e.innerHTML=o.template,sv(e,R,n)}return At.add(T),Se(()=>{Hn(o,T,"mounted"),o.updated&&i.run(()=>Fe(()=>{for(let R of Object.keys(m))m[R];Hn(o,T,"updated")}))}),Xe(e,()=>{Hn(o,T,"beforeUnmount"),i.stop(),At.delete(T),Hn(o,T,"unmounted"),Hn(o,T,"destroyed")}),p}var lv=new Set(["beforeMount","mounted","updated","beforeUnmount","unmounted","destroyed"]);function Hn(e,t,n){let r=e[n];if(typeof r=="function")try{r.call(t)}catch(o){K(o,`hook ${n}`)}}me();ce();var On=[],oa=null,Wo=0,Td=-1,sa=0,ia=!1;function Ld(){return typeof performance!="undefined"&&performance.now?performance.now():Date.now()}function cv(){if(oa||typeof MutationObserver=="undefined"||typeof document=="undefined")return;let e=document.documentElement;e&&(oa=new MutationObserver(()=>{Wo++}),oa.observe(e,{childList:!0,subtree:!0}))}function Md(){if(ia)return;ia=!0;let e=()=>{ia=!1,dv()};if(typeof requestAnimationFrame=="function"){let t=!1,n=()=>{t||(t=!0,e())};requestAnimationFrame(n),setTimeout(n,32);return}setTimeout(e,0)}function dv(){var t;Wo===Td?sa++:sa=0,Td=Wo;let e=Ld();for(let n=On.length-1;n>=0;n--){let r=On[n],o=null;try{o=r.ready()}catch(i){o=null}if(o){On.splice(n,1),r.action(o);continue}e-r.since>1e4&&(On.splice(n,1),(t=r.onGiveUp)==null||t.call(r))}On.length&&Md()}function aa(e){let t=null;try{t=e.ready()}catch(n){t=null}if(t){e.action(t);return}cv(),On.push({...e,since:Ld()}),Md()}function Sd(){return typeof document=="undefined"||!document.body?!1:sa>=2}function uv(){return typeof document=="undefined"||!document.body?!1:Wo===0}function Ko(e){typeof document!="undefined"&&aa({ready:()=>Sd()?document.body:null,action:()=>e(),onGiveUp:()=>{document.body&&e()}})}function Cd(e){if(typeof document!="undefined"){if(uv()){Promise.resolve().then(e);return}aa({ready:()=>Sd()?document.body:null,action:()=>e(),onGiveUp:()=>{document.body&&e()}})}}function Yo(e,t,n){if(typeof e!="string"){t(e);return}typeof document!="undefined"&&aa({ready:()=>document.querySelector(e),action:r=>t(r),onGiveUp:n})}var fv=0,Xo=null;function Ad(e){Xo=e}function Rd(e={}){let t=`voodoo-app-${++fv}`,{components:n,...r}=e,o={globalProperties:{}},i={},s=[],a=null,l="",c=null,d=[];function u(){if(n)for(let[m,h]of Object.entries(n)){let v=on(m);De.has(v)||(zt(v,h),s.push(v))}}function p(m){var v,g;if(c)return c;a=m,l=m.innerHTML,Object.assign(He,o.globalProperties),u();let h={...r};if(Object.keys(i).length){let b=h.provide;h.provide=()=>({...typeof b=="function"?b():b!=null?b:{},...i})}zt(t,h),m.setAttribute(`${w.prefix}component`,t);try{ee(m,We)}catch(b){return K(b,`application mounting "${t}"`),null}if(c=(g=(v=ot(m))==null?void 0:v.component)!=null?g:null,c){let b=d;d=[];for(let x of b)x(c)}return c}let f={name:t,config:o,get instance(){return c},get container(){return a},get isMounted(){return c!==null},component(m,h){var g;let v=on(m);return h===void 0?(g=n&&n[m])!=null?g:De.get(v):(n?n[m]=h:e.components={[m]:h},c&&!De.has(v)&&(zt(v,h),s.push(v)),f)},directive(m,h){return Xo==null||Xo(m,h),f},use(m,h){return Io(pv(),m,h),f},provide(m,h){return i[m]=h,f},mount(m){if(c)return c;if(typeof m!="string")return p(m);let h=null;return Yo(m,v=>{h=p(v)},()=>{console.warn(`[Voodoo] createApp().mount("${m}") did not find the element. The application remains unmounted.`)}),h},whenMounted(){return c?Promise.resolve(c):new Promise(m=>d.push(m))},unmount(){if(a){G(a),a.removeAttribute(`${w.prefix}component`),a.innerHTML=l,De.delete(t);for(let m of s)De.delete(m);s.length=0,c=null,a=null}}};return f}var $d=null;function Dd(e){$d=e}function pv(){return $d}me();me();var Bt=new Map,la=Mr(0),ca=new Map;function Pd(e,t,n={}){let r=Bt.get(e);if(!t){if(!r){let l=Y({});return Bt.set(e,l),l}return r}if(r)return Object.assign(r,t),r;let o=typeof n.persist=="string"?n.persist:`voodoo:store:${e}`,i=Object.getOwnPropertyDescriptors(t),s=Object.defineProperties({},i);if(n.persist&&typeof localStorage!="undefined")try{let l=localStorage.getItem(o);if(l){let c=JSON.parse(l);for(let[d,u]of Object.entries(c))i[d]&&!("value"in i[d])||(s[d]=u)}}catch(l){}let a=Y(s);for(let[l,c]of Object.entries(i)){let d=c.value;typeof d=="function"&&(a[l]=(...u)=>d.apply(a,u))}if(Bt.set(e,a),la.value++,n.persist&&typeof localStorage!="undefined"){let l=Ie(a,()=>{try{localStorage.setItem(o,JSON.stringify(mv(a)))}catch(c){}},{deep:!0});ca.set(e,l)}return a}function mv(e){let t={},n=Object.getOwnPropertyDescriptors(Me(e));for(let[r,o]of Object.entries(e))typeof o!="function"&&(n[r]&&!("value"in n[r])||(t[r]=o));return t}var Fn=new Proxy({},{get:(e,t)=>(la.value,Bt.get(t)),has:(e,t)=>(la.value,Bt.has(t)),ownKeys:()=>[...Bt.keys()],getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})});function Nd(e){var t;(t=ca.get(e))==null||t(),ca.delete(e),Bt.delete(e)}function Go(){return[...Bt.keys()]}var ma={};Ao(ma,{capitalize:()=>Hd,chunk:()=>wv,clone:()=>Pr,debounce:()=>Ke,device:()=>ve,escapeHtml:()=>I,formatCurrency:()=>da,formatDate:()=>fa,formatFileSize:()=>Cv,formatNumber:()=>ua,formatPercent:()=>Av,get:()=>Hr,groupBy:()=>yv,isBrowser:()=>Qo,matchesMedia:()=>In,memoize:()=>bv,merge:()=>Jo,once:()=>gv,parseDuration:()=>Q,random:()=>Tv,relativeTime:()=>pa,sample:()=>Lv,set:()=>kv,setFormatDefaults:()=>ei,sleep:()=>hv,slugify:()=>Mv,sortBy:()=>Ev,stripTags:()=>Sv,throttle:()=>Nr,titleCase:()=>Or,truncate:()=>Zo,uid:()=>le,unique:()=>xv,uuid:()=>vv});function vv(){let e=globalThis.crypto;if(e!=null&&e.randomUUID)return e.randomUUID();if(e!=null&&e.getRandomValues){let t=e.getRandomValues(new Uint8Array(16));t[6]=t[6]&15|64,t[8]=t[8]&63|128;let n=Array.from(t,r=>r.toString(16).padStart(2,"0")).join("");return`${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20)}`}return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{let n=Math.random()*16|0;return(t==="x"?n:n&3|8).toString(16)})}function le(e="v"){return`${e}${Math.random().toString(36).slice(2,9)}`}function hv(e){return new Promise(t=>setTimeout(t,e))}function Q(e,t=0){if(e==null||e==="")return t;if(typeof e=="number")return e;let n=/^\s*([\d.]+)\s*(ms|s|m|h)?\s*$/i.exec(String(e));if(!n)return t;let r=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"s":return r*1e3;case"m":return r*6e4;case"h":return r*36e5;default:return r}}function Ke(e,t=250,n=!1){let r=null,o=null,i,s=function(...a){o=a,i=this;let l=n&&r===null;r&&clearTimeout(r),r=setTimeout(()=>{r=null,!n&&o&&e.apply(i,o)},t),l&&e.apply(this,a)};return s.cancel=()=>{r&&clearTimeout(r),r=null,o=null},s.flush=()=>{r&&o&&(clearTimeout(r),r=null,e.apply(i,o))},s}function Nr(e,t=250){let n=0,r=null,o=null,i=function(...s){let a=Date.now();o=s;let l=t-(a-n);l<=0?(r&&(clearTimeout(r),r=null),n=a,e.apply(this,s)):r||(r=setTimeout(()=>{n=Date.now(),r=null,o&&e.apply(this,o)},l))};return i.cancel=()=>{r&&clearTimeout(r),r=null},i.flush=()=>{r&&o&&(clearTimeout(r),r=null,e.apply(null,o))},i}function gv(e){let t=!1,n;return function(...r){return t||(t=!0,n=e.apply(this,r)),n}}function bv(e,t=(...n)=>JSON.stringify(n)){let n=new Map,r=function(...o){let i=t(...o);if(n.has(i))return n.get(i);let s=e.apply(this,o);return n.set(i,s),s};return r.cache=n,r}function Pr(e){if(e===null||typeof e!="object")return e;if(typeof structuredClone=="function")try{return structuredClone(e)}catch(n){}if(Array.isArray(e))return e.map(n=>Pr(n));if(e instanceof Date)return new Date(e.getTime());if(e instanceof Map)return new Map([...e].map(([n,r])=>[n,Pr(r)]));if(e instanceof Set)return new Set([...e].map(n=>Pr(n)));let t={};for(let[n,r]of Object.entries(e))t[n]=Pr(r);return t}function Jo(e,...t){for(let n of t)if(n)for(let[r,o]of Object.entries(n)){let i=e[r];o&&typeof o=="object"&&!Array.isArray(o)&&i&&typeof i=="object"&&!Array.isArray(i)?e[r]=Jo({...i},o):e[r]=o}return e}function yv(e,t){let n={},r=typeof t=="function"?t:o=>o==null?void 0:o[t];for(let o of e){let i=String(r(o));(n[i]||(n[i]=[])).push(o)}return n}function xv(e,t){if(!t)return[...new Set(e)];let n=typeof t=="function"?t:i=>i==null?void 0:i[t],r=new Set,o=[];for(let i of e){let s=n(i);r.has(s)||(r.add(s),o.push(i))}return o}function wv(e,t=10){if(t<1)return[e];let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}function Ev(e,t,n="asc"){let r=typeof t=="function"?t:i=>i==null?void 0:i[t],o=n==="desc"?-1:1;return[...e].sort((i,s)=>{let a=r(i),l=r(s);return a==null&&l==null?0:a==null?1:l==null?-1:typeof a=="string"&&typeof l=="string"?a.localeCompare(l,void 0,{numeric:!0})*o:(a>l?1:a<l?-1:0)*o})}function Hr(e,t,n){let r=t.split("."),o=e;for(let i of r){if(o==null)return n;o=o[i]}return o!=null?o:n}function kv(e,t,n){let r=t.split("."),o=e;for(let i=0;i<r.length-1;i++){let s=r[i];(typeof o[s]!="object"||o[s]===null)&&(o[s]=/^\d+$/.test(r[i+1])?[]:{}),o=o[s]}o[r[r.length-1]]=n}function Tv(e=0,t=1){return Math.floor(Math.random()*(t-e+1))+e}function Lv(e){return e[Math.floor(Math.random()*e.length)]}function Mv(e,t="-"){return String(e).normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase().trim().replace(/[^a-z0-9]+/g,t).replace(new RegExp(`\\${t}{2,}`,"g"),t).replace(new RegExp(`^\\${t}|\\${t}$`,"g"),"")}function Zo(e,t=100,n="..."){let r=String(e!=null?e:"");return r.length<=t?r:r.slice(0,Math.max(0,t-n.length)).trimEnd()+n}function Hd(e){let t=String(e!=null?e:"");return t.charAt(0).toUpperCase()+t.slice(1)}function Or(e){return String(e!=null?e:"").replace(/\w\S*/g,t=>Hd(t.toLowerCase()))}function I(e){return String(e!=null?e:"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function Sv(e){return String(e!=null?e:"").replace(/<\/?[^>]+(>|$)/g,"")}var zn="pt-BR",Od="BRL";function ei(e,t){e&&(zn=e),t&&(Od=t)}function da(e,t={}){var r,o;let n=typeof e=="string"?parseFloat(e):e;return n==null||Number.isNaN(n)?"":new Intl.NumberFormat((r=t.locale)!=null?r:zn,{style:"currency",currency:(o=t.currency)!=null?o:Od}).format(n)}function ua(e,t={}){let n=typeof e=="string"?parseFloat(e):e;if(n==null||Number.isNaN(n))return"";let{locale:r,...o}=t;return new Intl.NumberFormat(r!=null?r:zn,o).format(n)}function fa(e,t="short",n){let r=e instanceof Date?e:new Date(e);if(Number.isNaN(r.getTime()))return"";let o=n!=null?n:zn;if(typeof t=="object")return new Intl.DateTimeFormat(o,t).format(r);let i={short:{day:"2-digit",month:"2-digit",year:"numeric"},long:{day:"2-digit",month:"long",year:"numeric"},full:{dateStyle:"full"},time:{hour:"2-digit",minute:"2-digit"},datetime:{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}};if(i[t])return new Intl.DateTimeFormat(o,i[t]).format(r);let s=a=>String(a).padStart(2,"0");return t.replace(/YYYY/g,String(r.getFullYear())).replace(/YY/g,String(r.getFullYear()).slice(-2)).replace(/MM/g,s(r.getMonth()+1)).replace(/DD/g,s(r.getDate())).replace(/HH/g,s(r.getHours())).replace(/mm/g,s(r.getMinutes())).replace(/ss/g,s(r.getSeconds()))}function pa(e,t){let n=e instanceof Date?e:new Date(e);if(Number.isNaN(n.getTime()))return"";let r=n.getTime()-Date.now(),o=Math.abs(r),i=[["year",31536e6],["month",2592e6],["week",6048e5],["day",864e5],["hour",36e5],["minute",6e4],["second",1e3]],s=new Intl.RelativeTimeFormat(t!=null?t:zn,{numeric:"auto"});for(let[a,l]of i)if(o>=l||a==="second")return s.format(Math.round(r/l),a);return""}function Cv(e,t=1){let n=Number(e);if(!n||Number.isNaN(n))return"0 B";let r=["B","KB","MB","GB","TB","PB"],o=Math.min(Math.floor(Math.log(Math.abs(n))/Math.log(1024)),r.length-1);return`${(n/1024**o).toFixed(o===0?0:t)} ${r[o]}`}function Av(e,t=0,n){return new Intl.NumberFormat(n!=null?n:zn,{style:"percent",minimumFractionDigits:t,maximumFractionDigits:t}).format(e)}var Qo=typeof window!="undefined"&&typeof window.document!="undefined";function In(e){if(!Qo||typeof window.matchMedia!="function")return!1;try{return window.matchMedia(e).matches}catch(t){return!1}}var ve={get touch(){return Qo&&("ontouchstart"in window||navigator.maxTouchPoints>0)},get mobile(){return In("(max-width: 767px)")},get tablet(){return In("(min-width: 768px) and (max-width: 1023px)")},get desktop(){return In("(min-width: 1024px)")},get online(){return!Qo||navigator.onLine},get reducedMotion(){return In("(prefers-reduced-motion: reduce)")},get darkMode(){return In("(prefers-color-scheme: dark)")}};var ke=class extends Error{constructor(n,r,o,i){super(n);P(this,"response",r);P(this,"config",o);P(this,"cause",i);this.name="HttpError"}get status(){var n,r;return(r=(n=this.response)==null?void 0:n.status)!=null?r:0}get isNetworkError(){return!this.response}},Pe={baseURL:"",headers:{Accept:"application/json, text/html, */*"},timeout:3e4,retry:0,retryDelay:500,credentials:"same-origin",csrfMeta:"csrf-token",csrfHeader:"X-CSRF-TOKEN"},ti=[],ni=[],Fr=[],Ir=new Map;function Fd(e){var t;return`${(t=e.method)!=null?t:"GET"} ${jn(e)}`}function Rv(e){if(!e){Ir.clear();return}let t=typeof e=="string"?n=>n.includes(e):n=>e.test(n);for(let n of[...Ir.keys()])t(n)&&Ir.delete(n)}var zd="voodoo:offline-queue";function va(){try{return JSON.parse(localStorage.getItem(zd)||"[]")}catch(e){return[]}}function ha(e){try{localStorage.setItem(zd,JSON.stringify(e))}catch(t){}}function $v(e){var n,r;if(typeof localStorage=="undefined")return;let t=va();t.push({url:jn(e),method:(n=e.method)!=null?n:"POST",body:e.body,headers:(r=e.headers)!=null?r:{},at:Date.now()}),ha(t)}async function Bd(){if(typeof localStorage=="undefined")return 0;let e=va();if(!e.length)return 0;ha([]);let t=0;for(let n=0;n<e.length;n++){let r=e[n];try{await jt({url:r.url,method:r.method,body:r.body,headers:r.headers,offlineQueue:!1}),t++}catch(o){let i=va();ha([...e.slice(n),...i]);break}}return t}typeof window!="undefined"&&window.addEventListener("online",()=>{Bd()});function jn(e){let t=e.url,n=Pe.baseURL;if(n&&!/^https?:\/\//i.test(t)&&!t.startsWith("//")&&(t=`${n.replace(/\/$/,"")}/${t.replace(/^\//,"")}`),e.params){let r=new URLSearchParams;for(let[i,s]of Object.entries(e.params))s==null||s===""||r.append(i,String(s));let o=r.toString();o&&(t+=(t.includes("?")?"&":"?")+o)}return t}function jd(){var t;if(typeof document=="undefined")return null;let e=document.querySelector(`meta[name="${Pe.csrfMeta}"]`);return(t=e==null?void 0:e.getAttribute("content"))!=null?t:null}function Dv(e,t){if(e!=null)return typeof FormData!="undefined"&&e instanceof FormData||typeof Blob!="undefined"&&e instanceof Blob||typeof URLSearchParams!="undefined"&&e instanceof URLSearchParams||typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer||typeof e=="string"?e:(t["Content-Type"]||(t["Content-Type"]="application/json"),JSON.stringify(e))}async function Pv(e,t){if(e.status===204||e.status===205)return null;let n=e.headers.get("content-type")||"";switch(t){case"json":return e.json();case"text":return e.text();case"blob":return e.blob();case"arrayBuffer":return e.arrayBuffer();case"formData":return e.formData();default:if(n.includes("application/json")||n.includes("+json")){let r=await e.text();return r?JSON.parse(r):null}return e.text()}}var Nv=new Set(["GET","HEAD","OPTIONS"]);function Hv(e){for(let[t,n]of Object.entries(e))if(t.toLowerCase()==="idempotency-key"&&String(n).trim()!=="")return!0;return!1}function Ov(e,t,n,r){var o;return Nv.has(e)||t.retryUnsafe===!0||Hv(n)?!0:(((o=t.retry)!=null?o:0)>0&&Rr(`http:retry-unsafe:${e} ${r}`,`retry ignored on ${e} ${r}: retrying a method that changes state may apply the same operation twice if the response is lost in transit. Allow with retryUnsafe: true or send an Idempotency-Key header.`),!1)}async function jt(e){var d,u,p,f,m;let t={method:"GET",timeout:Pe.timeout,retry:Pe.retry,retryDelay:Pe.retryDelay,credentials:Pe.credentials,responseType:"auto",...e,headers:{...Pe.headers,...e.headers}};for(let h of ti)t=await h(t);let n=((d=t.method)!=null?d:"GET").toUpperCase();if(t.cache&&n==="GET"){let h=Ir.get(Fd(t));if(h&&h.expires>Date.now())return h.value}if(t.offlineQueue&&typeof navigator!="undefined"&&navigator.onLine===!1&&n!=="GET")return $v(t),{data:null,status:0,statusText:"offline-queued",headers:new Headers,ok:!0,raw:new Response(null,{status:202}),config:t};let r={...t.headers};if(n!=="GET"&&n!=="HEAD"){let h=jd();h&&!r[Pe.csrfHeader]&&(r[Pe.csrfHeader]=h)}r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");let o=Dv(t.body,r),i=jn(t),s=Ov(n,t,r,i)?((u=t.retry)!=null?u:0)+1:1,a;for(let h=0;h<s;h++){let v=new AbortController,g=t.signal,b=null;g&&(g.aborted?v.abort(g.reason):(b=()=>v.abort(g.reason),g.addEventListener("abort",b,{once:!0})));let x=()=>{b&&g&&g.removeEventListener("abort",b),b=null},T=t.timeout&&t.timeout>0?setTimeout(()=>v.abort(new DOMException("timeout","TimeoutError")),t.timeout):null;try{let k=await fetch(i,{method:n,headers:r,body:n==="GET"||n==="HEAD"?void 0:o,credentials:t.credentials,signal:v.signal});T&&clearTimeout(T),x();let D={data:await Pv(k,t.responseType),status:k.status,statusText:k.statusText,headers:k.headers,ok:k.ok,raw:k,config:t};if(!k.ok){if(k.status>=500&&h<s-1){await Id(((p=t.retryDelay)!=null?p:500)*2**h);continue}let A=new ke(`Request failed with status ${k.status}`,D,t);for(let se of Fr)se(A);throw A}for(let A of ni)D=await A(D);return t.cache&&n==="GET"&&Ir.set(Fd(t),{expires:Date.now()+t.cache,value:D}),D}catch(k){if(T&&clearTimeout(T),x(),k instanceof ke)throw k;if(a=k,(k==null?void 0:k.name)==="AbortError"&&((f=t.signal)==null?void 0:f.aborted))break;if(h<s-1){await Id(((m=t.retryDelay)!=null?m:500)*2**h);continue}}}let l=(a==null?void 0:a.name)==="TimeoutError"?`Timeout after ${t.timeout}ms`:`Network failure accessing ${i}`,c=new ke(l,void 0,t,a);for(let h of Fr)h(c);throw c}function Id(e){return new Promise(t=>setTimeout(t,e))}async function Bn(e){return(await jt(e)).data}var he={defaults:Pe,get(e,t={}){return Bn({...t,url:e,method:"GET"})},post(e,t,n={}){return Bn({...n,url:e,method:"POST",body:t})},put(e,t,n={}){return Bn({...n,url:e,method:"PUT",body:t})},patch(e,t,n={}){return Bn({...n,url:e,method:"PATCH",body:t})},delete(e,t={}){return Bn({...t,url:e,method:"DELETE"})},head(e,t={}){return Bn({...t,url:e,method:"HEAD"})},request:jt,upload(e,t,n={}){return new Promise((r,o)=>{var l,c;let i=new XMLHttpRequest,s=jn({url:e});i.open((l=n.method)!=null?l:"POST",s);for(let[d,u]of Object.entries({...Pe.headers,...n.headers}))d.toLowerCase()!=="content-type"&&i.setRequestHeader(d,u);let a=jd();a&&i.setRequestHeader(Pe.csrfHeader,a),i.upload.addEventListener("progress",d=>{var u;d.lengthComputable&&((u=n.onProgress)==null||u.call(n,Math.round(d.loaded/d.total*100),d.loaded,d.total))}),i.addEventListener("load",()=>{let d=i.getResponseHeader("content-type")||"",u=i.responseText;if(d.includes("json"))try{u=JSON.parse(i.responseText)}catch(p){}i.status>=200&&i.status<300?r(u):o(new ke(`Upload failed with status ${i.status}`))}),i.addEventListener("error",()=>o(new ke("Network failure during upload"))),i.addEventListener("abort",()=>o(new ke("Upload canceled"))),(c=n.signal)==null||c.addEventListener("abort",()=>i.abort()),i.send(t)})},sse(e,t={}){let n=new EventSource(jn({url:e}));return n.addEventListener("message",r=>{var i;let o=r.data;try{o=JSON.parse(r.data)}catch(s){}(i=t.message)==null||i.call(t,o,r)}),t.error&&n.addEventListener("error",t.error),n},async stream(e,t,n={}){var a;let r=await fetch(jn({url:e,params:n.params}),{headers:{...Pe.headers,...n.headers},signal:n.signal});if(!r.body)return;let o=r.body.getReader(),i=new TextDecoder,s="";for(;;){let{done:l,value:c}=await o.read();if(l)break;s+=i.decode(c,{stream:!0});let d=s.split(`
61
+ Suggestion: attribute expressions accept a single value. If the logic spans more than one line, move it to a component method and call the method here.`)}function ed(e,t,n){Mt()&&sn(`duplicate key "${String(t)}" in v-for="${n}" on element ${St(e)}. Two rows with the same key cause the list to reuse the wrong block when reordering. Use a unique key, like the item id.`)}function td(e,t,n){Mt()&&sn(`required prop "${n}" missing from component "${t}" at ${St(e)}. Pass the value on the tag with ${n}="..." for a fixed value or :${n}="expression" for a state value.`)}function $r(e,t){Rr(`alias:${e}`,`"${e}" is an alias for "${t}" and still works, but the official name is "${t}". Prefer "${t}" in new code.`)}var an=new WeakMap,Bo=new WeakMap,Ct=new WeakSet,jo=new WeakMap;function Gs(e){return Ct.has(e)}function Qs(e){Ct.add(e)}function ot(e){return an.get(e)}function Ce(e){let t=e;for(;t;){let n=an.get(t);if(n)return n;t=t.parentNode}return We}function ld(e,t){let n=jo.get(e);n||jo.set(e,n=[]),n.push(t)}function cd(e){var t;return(t=jo.get(e))!=null?t:[]}var Ks=new WeakSet;function Js(e){Ks.add(e),e.remove()}function Xe(e,t){let n=Bo.get(e);n||Bo.set(e,n=[]),n.push(t)}function G(e){if(e.nodeType===1){let n=[];for(let r=e.firstChild;r;r=r.nextSibling)(r.nodeType===1||r.nodeType===3)&&n.push(r);for(let r=n.length-1;r>=0;r--)G(n[r])}let t=Bo.get(e);if(t){Bo.delete(e);for(let n=t.length-1;n>=0;n--)try{t[n]()}catch(r){K(r,"cleanup")}}e.nodeType===1&&Um(e),an.delete(e),jo.delete(e),Ct.delete(e)}var zo=new Map,Bm=4e3;function $n(e,t){let n=`${e}\0${t}`,r=zo.get(n);if(r!==void 0)return r;let o=jm(e,t);return zo.size>=Bm&&zo.clear(),zo.set(n,o),o}function jm(e,t){let n=w.prefix,r;if(e.startsWith("@"))r=`on:${e.slice(1)}`;else if(e.startsWith(":")&&e.length>1)r=`bind:${e.slice(1)}`;else if(e.startsWith(".")&&e.length>1)r=`bind:${e.slice(1)}.prop`;else if(e.startsWith(n))r=e.slice(n.length);else if(e.startsWith("data-v-"))r=e.slice(7);else return null;if(!r)return null;let o=r.split("."),i=o.shift(),s={};for(let d of o){let u=d.indexOf("=");u>-1?s[d.slice(0,u)]=d.slice(u+1):s[d]=!0}let a=i.indexOf(":"),l=a>-1?i.slice(0,a):i,c=a>-1?i.slice(a+1):void 0;return{raw:e,name:l,arg:c,modifiers:s,expression:t}}function Dn(e){let t=[],n=Ot.get(e);if(n&&n.size)for(let[r,o]of n){let i=$n(r,o);i&&(t.push(i),rd(e,i.name))}else{let r=dd(e);for(let o=0;o<r.length;o++){let i=r[o];if(!Vm(i))continue;let s=$n(i,e.getAttribute(i));s&&(t.push(s),rd(e,s.name))}}return t.length<2?t:t.sort((r,o)=>nd(o)-nd(r))}var qm=typeof Element!="undefined"&&!!Element.prototype.getAttributeNames;function dd(e){return qm?e.getAttributeNames():Array.from(e.attributes,t=>t.name)}function Vm(e){return ea(e)||e.charCodeAt(0)===46&&e.length>1}function nd(e){var t,n;return(n=(t=Tt.get(e.name))==null?void 0:t.priority)!=null?n:0}var Dr=new Map,qo=new WeakMap;function rd(e,t){let n=Dr.get(t);n||Dr.set(t,n=new Set),n.add(e);let r=qo.get(e);r||qo.set(e,r=new Set),r.add(t)}function Um(e){var n;let t=qo.get(e);if(t){for(let r of t)(n=Dr.get(r))==null||n.delete(e);qo.delete(e)}}function Zs(e,t){var n;return(n=Dr.get(t))!=null&&n.has(e)?!0:e.hasAttribute(`${w.prefix}${t}`)||e.hasAttribute(`data-v-${t}`)}function Vo(e,t){let n=[],r=Dr.get(t),o=e;if(r)for(let s of r)s.isConnected&&o.contains&&o.contains(s)&&s!==o&&n.push(s);let i=new Set(n);for(let s of Array.from(e.querySelectorAll(`[${w.prefix}${t}],[data-v-${t}]`)))i.has(s)||(i.add(s),n.push(s));return n.sort((s,a)=>s.compareDocumentPosition(a)&window.Node.DOCUMENT_POSITION_FOLLOWING?-1:1),n}function Pn(e,t){let n=e;for(;n;){if(Zs(n,t))return n;n=n.parentElement}return null}var Ot=new WeakMap;function ea(e){return e.startsWith(w.prefix)||e.startsWith("data-v-")||e.charCodeAt(0)===64||e.charCodeAt(0)===58&&e.length>1}function Te(e,t){var r;let n=(r=Ot.get(e))==null?void 0:r.get(t);return n!==void 0?n:e.getAttribute(t)}function Ft(e,t){let n=Ot.get(e);return n!=null&&n.has(t)?!0:e.hasAttribute(t)}function ud(e){let t=Ot.get(e);if(t)return new Map(t);let n=new Map;for(let r=0;r<e.attributes.length;r++){let o=e.attributes[r];ea(o.name)&&n.set(o.name,o.value)}return n}function _m(e){if(!w.cleanAttributes)return;let t=dd(e),n=Ot.get(e);n||Ot.set(e,n=new Map);for(let r=0;r<t.length;r++){let o=t[r];ea(o)&&(n.set(o,e.getAttribute(o)),e.removeAttribute(o))}}function fd(e){let t=Ot.get(e);if(t){for(let[n,r]of t)if(!e.hasAttribute(n))try{e.setAttribute(n,r)}catch(o){}}}function ta(e){let t=Ot.get(e);return t&&t.size?!0:na(e)}function na(e){let t=e.attributes;for(let n=0;n<t.length;n++){let r=t[n].name;if(r.startsWith(w.prefix)||r.charCodeAt(0)===64||r.charCodeAt(0)===58||r.startsWith("data-v-"))return!0}return!1}function q(e,t,n,r){if(e)try{return N(_e(e),t)}catch(o){Mt()&&Zc(r!=null?r:t.el,n!=null?n:"expression",e,o),K(o,n?`${n} ("${e}")`:`expression "${e}"`);return}}var pd=new WeakSet;function Uo(e){pd.add(e)}function od(e,t,n){let r=Tt.get(t.name);if(!r){Mt()&&t.raw.startsWith(w.prefix)&&Qc(e,t.raw,t.name);return}let o=null,i=()=>{if(!o){let a=o=new rt(!0);Xe(e,()=>a.stop()),ld(e,a)}return o},s={el:e,scope:n,expression:t.expression,arg:t.arg,modifiers:t.modifiers,raw:t.raw,evaluate(a){return q(a!=null?a:t.expression,n,t.raw,e)},effect(a){let l=i();l.run(()=>Fe(a,{scope:l}))},cleanup(a){Xe(e,a)},walk(a,l){te(a,l)}};try{r.setup(s)}catch(a){K(a,`directive ${t.raw}`)}}var Ys=null;function md(e){Ys=e}var Wm=new Set(["SCRIPT","STYLE","NOSCRIPT"]);function te(e,t){let n=t!=null?t:Ce(e.parentNode);if(e.nodeType===11){let f=Array.from(e.childNodes);for(let m of f)te(m,n);return}if(e.nodeType===3){vd(e,n);return}if(e.nodeType!==1)return;let r=e;if(Ct.has(r))return;let o=r.tagName;if(Wm.has(o))return;if(r.hasAttribute(`${w.prefix}ignore`)||r.hasAttribute(`${w.prefix}pre`)){Ct.add(r);return}let i=n,s=Dn(r),a=De.size===0&&Nn.size===0||r.hasAttribute(`${w.prefix}component`)?null:Zm(o);if(s.length===0&&!a){id(r,i);return}Ct.add(r);for(let f of s){let m=Tt.get(f.name);if(m!=null&&m.terminal){od(r,f,i);return}}let l=s.find(f=>f.name==="data"),c=s.find(f=>f.name==="component"),d=c?c.expression||"":a||"",u=!1;if(d&&Ys){let f=Ys(r,d,i);f&&(i=f,u=!0,an.set(r,i))}else if(l||c){let f=l?q(l.expression||"{}",i,"v-data"):{};i=i.reactiveChild(f&&typeof f=="object"?f:{},r),an.set(r,i)}let p=u?n:i;for(let f of s)f.name==="data"||f.name==="component"||od(r,f,p);_m(r),pd.has(r)||id(r,i)}function id(e,t){var r;let n=[];for(let o=e.firstChild;o;o=o.nextSibling)o.nodeType===1?n.push(o):o.nodeType===3&&vd(o,t);for(let o of n)te(o,(r=an.get(o))!=null?r:t)}var Km=500,sd=new Map;function Ym(e){let t=e.trim();if(!t)return!1;let n=sd.get(t);if(n!==void 0)return n;let r=!0;try{r=_e(t).t!=="seq"}catch(o){r=!1}return sd.set(t,r),r}function Xm(e,t){let n=0,r=null;for(let o=t;o<e.length;o++){let i=e[o];if(r){i==="\\"?o++:i===r&&(r=null);continue}if(i==='"'||i==="'"||i==="`"){r=i;continue}if(i==="{")n++;else if(i==="}"&&(n--,n===0))return o}return-1}function Gm(e){let t=[],n="",r=0,o=()=>{n&&t.push({text:n}),n=""};for(;r<e.length;){let i=e.indexOf("{",r);if(i===-1){n+=e.slice(r);break}n+=e.slice(r,i);let s=e[i+1]==="{",a=s?e.indexOf("}}",i+2):Xm(e,i);if(a===-1){n+=e[i],r=i+1;continue}let l=s?e.slice(i+2,a):e.slice(i+1,a),c=s?a+2:a+1;if((s||l.length<=Km)&&Ym(l)){o(),t.push({expression:l.trim(),raw:e.slice(i,c),explicit:s}),r=c;continue}n+=e[i],r=i+1}return o(),t}var Qm=new Set(["PRE","CODE","SCRIPT","STYLE","TEXTAREA"]);function Jm(e,t,n){if(e.explicit||e.raw===void 0)return!1;let r;try{r=_e(e.expression)}catch(o){return!0}return r.t==="lit"?!0:t!==void 0?!1:r.t==="id"?n.lookup(r.n)===void 0&&!(r.n in He):!1}function vd(e,t){let n=e.textContent;if(!n||n.indexOf("{")===-1||Ct.has(e))return;let r=e.parentElement;for(;r;){if(Qm.has(r.tagName)||r.hasAttribute(`${w.prefix}ignore`)||r.hasAttribute(`${w.prefix}pre`)||r.hasAttribute("data-v-ignore")||r.hasAttribute("data-v-pre"))return;r=r.parentElement}let o=Gm(n);if(!o.some(s=>s.expression))return;Ct.add(e);let i=new rt(!0);Xe(e,()=>i.stop()),ld(e,i),i.run(()=>Fe(()=>{let s="";for(let a of o){if(a.text!==void 0){s+=a.text;continue}let l=q(a.expression,t,"interpolation");s+=Jm(a,l,t)?a.raw:kt(l)}e.textContent!==s&&(e.textContent=s)},{scope:i}))}function It(e,t){an.set(e,t)}function Zm(e){let t=e.toLowerCase();if(De.has(t))return t;let n=Nn.get(t);return n!=null?n:null}var Nn=new Map;var Xs=!1,Rn=null,hd=[];function gd(e){hd.push(e)}function ad(e,t){for(let n of hd)try{n(e,t)}catch(r){console.error("[Voodoo] a start hook failed",r)}}function bd(e){var n;if(typeof document=="undefined")return;let t=(n=e!=null?e:w.root)!=null?n:document.body;t&&(Object.assign(He,w.globals),ad(t,!1),te(t,We),ad(t,!0),Xs||(Xs=!0,w.autoDiscover&&ev(t),document.dispatchEvent(new CustomEvent("voodoo:ready",{detail:{root:t}}))))}function ev(e){typeof MutationObserver!="undefined"&&(Rn=new MutationObserver(t=>{for(let n of t){for(let r=0;r<n.removedNodes.length;r++){let o=n.removedNodes[r];if(Ks.has(o)){Ks.delete(o);continue}o.nodeType===1&&!o.isConnected&&G(o)}for(let r=0;r<n.addedNodes.length;r++){let o=n.addedNodes[r];o.nodeType===1&&(Ct.has(o)||te(o,Ce(o.parentNode)))}}}),Rn.observe(e,{childList:!0,subtree:!0}))}function yd(){Rn==null||Rn.disconnect(),Rn=null,Xs=!1}function xd(e){te(e!=null?e:document.body,e?Ce(e.parentNode):We)}me();ce();var At=new Set,wd=new Set;function zt(e,t){let n=on(e);De.set(n,t),Nn.set(n.replace(/-/g,""),n),tv(n)}function tv(e){var r;if(typeof document=="undefined"||!document.body)return;let t=e.replace(/-/g,""),n=[e,t,`[${w.prefix}component="${e}"]`];for(let o of n){let i;try{i=Array.from(document.querySelectorAll(o))}catch(s){continue}for(let s of i){if((r=ot(s))!=null&&r.component||nv(s))continue;let a=Ce(s.parentNode);Gs(s)&&(G(s),fd(s)),te(s,a)}}}function nv(e){let t=e.parentElement;for(;t&&t!==document.body;){if(na(t)&&!Gs(t))return!0;t=t.parentElement}return!1}function rv(e,t){var n,r;if(!t||!t.type||t.type==="any")return e;if(e==null||e==="")return(n=t.default)!=null?n:e;switch(t.type){case"number":{let o=Number(e);return Number.isNaN(o)?(r=t.default)!=null?r:e:o}case"boolean":return e===""||e==="true"||e===!0||e==="1";case"string":return String(e);case"array":return Array.isArray(e)?e:[e];default:return e}}function ov(e){let t={};if(Array.isArray(e.props))for(let n of e.props)t[n]={type:"any"};else e.props&&Object.assign(t,e.props);return t}function ra(e){return e.replace(/-(\w)/g,(t,n)=>n.toUpperCase())}function iv(e,t,n,r,o){var c;let i=Y({}),s=Object.keys(t),a=new Map;for(let d of s)a.set(d.toLowerCase(),d),a.set(on(d),d),a.set(ra(d).toLowerCase(),d);for(let d of s)t[d].default!==void 0&&(i[d]=t[d].default);let l=Array.from(e.attributes);for(let d of l){let u=$n(d.name,d.value);if(u&&u.name==="bind"&&u.arg){let f=(c=a.get(u.arg.toLowerCase()))!=null?c:ra(u.arg);if(s.length&&!a.has(u.arg.toLowerCase()))continue;r.run(()=>Fe(()=>{i[f]=q(u.expression,n,`:${u.arg}`)}));continue}if(u)continue;let p=a.get(d.name.toLowerCase());p?i[p]=rv(d.value,t[p]):s.length||(i[ra(d.name)]=d.value)}for(let d of s)t[d].required&&i[d]===void 0&&td(e,o,d);return i}function sv(e,t,n){let r=Array.from(e.querySelectorAll("slot"));if(!r.length)return;let o=new Map,i=[];Array.from(t.childNodes).forEach(s=>{var l,c;let a=s.nodeType===1&&(l=s.getAttribute("slot"))!=null?l:null;if(a){s.removeAttribute("slot");let d=(c=o.get(a))!=null?c:[];d.push(s),o.set(a,d)}else i.push(s)});for(let s of r){let a=s.getAttribute("name"),l=a?o.get(a):i,c=document.createDocumentFragment();if(l&&l.length)for(let d of l)c.appendChild(d);else for(;s.firstChild;)c.appendChild(s.firstChild);Array.from(c.childNodes).forEach(d=>{d.nodeType===1&&av(d,n)}),s.replaceWith(c)}}var _o=null;function Ed(e){_o=e}function av(e,t){_o==null||_o(e,t)}function kd(e,t,n){var k,C,D,A,se,O,pe,ae;let r=t?on(t):"",o=r?(D=(C=De.get(r))!=null?C:De.get((k=Nn.get(r))!=null?k:""))!=null?D:{}:{};r&&!De.has(r)&&!Nn.has(r)&&Jc(e,t);let i=new rt(!0),s=ov(o),a=iv(e,s,n,i,r||"inline");!o.state&&o.data&&$r("data()","state()"),o.destroyed&&$r("destroyed()","unmounted()");let l=(A=o.state)!=null?A:o.data,c={},d={},u=o.inheritScope?n:n.root,p=new Lt({},u,e);p.component=d;try{c=l?(se=l.call(d,a))!=null?se:{}:{}}catch(R){K(R,`state() of component "${t}"`)}let f=e.getAttribute(`${w.prefix}data`);if(f){let R=q(f,n,"v-data");R&&typeof R=="object"&&Object.assign(c,R)}if(o.provide)try{let R=typeof o.provide=="function"?o.provide.call(d):o.provide;R&&typeof R=="object"&&(p.provides={...R})}catch(R){K(R,`provide() of component "${t}"`)}if(o.inject){let R=Array.isArray(o.inject)?o.inject.map(S=>[S,{from:S}]):Object.entries(o.inject).map(([S,B])=>[S,B!=null?B:{}]);for(let[S,B]of R){let Ve=(O=B.from)!=null?O:S,Ue=n.inject(Ve,B.default);S in c||(c[S]=Ue)}}let m=Y(c),h={};if(o.computed)for(let[R,S]of Object.entries(o.computed))h[R]=Sr(()=>S.call(d));let v={};if(o.methods)for(let[R,S]of Object.entries(o.methods))v[R]=(...B)=>S.apply(d,B);for(let[R,S]of Object.entries(o))typeof S=="function"&&(lv.has(R)||R==="state"||R==="data"||R in v||(v[R]=(...B)=>S.apply(d,B)));let g=(R,S)=>{let B=new CustomEvent(R,{detail:S,bubbles:!0,cancelable:!0});B.__voodoo=!0,e.dispatchEvent(B)},b={$el:e,$props:a,$name:r||"inline",$scope:p,$parent:(ae=(pe=n.owner)==null?void 0:pe.component)!=null?ae:null,emit:g,$emit:g,$nextTick:R=>Promise.resolve().then(()=>(me(),Oc)).then(S=>S.nextTick(R)),$watch:(R,S)=>Ie(()=>q(R,p),S)},x={get(R,S){if(typeof S!="symbol")return S==="$refs"?p.allRefs:S in b?b[S]:S in h?h[S].value:S in v?v[S]:S in a?a[S]:m[S]},set(R,S,B){return typeof S=="symbol"?!0:S in h?(h[S].value=B,!0):S in a?(a[S]=B,!0):(m[S]=B,!0)},has(R,S){if(typeof S=="symbol")return!1;let B=S;return B==="$refs"||B in b||B in h||B in v||B in a||B in m},ownKeys(){return[...new Set([...Object.keys(m),...Object.keys(a),...Object.keys(v),...Object.keys(h)])]},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}},T=new Proxy(d,x);if(p.data=T,Object.setPrototypeOf(d,T),o.watch)for(let[R,S]of Object.entries(o.watch))i.run(()=>Ie(()=>T[R],(B,Ve)=>S.call(T,B,Ve)));if(o.style&&!wd.has(r)){wd.add(r);let R=document.createElement("style");R.setAttribute("data-voodoo-component",r),R.textContent=o.style,document.head.appendChild(R)}if(Hn(o,T,"beforeMount"),o.template){let R=document.createDocumentFragment();for(;e.firstChild;)R.appendChild(e.firstChild);e.innerHTML=o.template,sv(e,R,n)}return At.add(T),Se(()=>{Hn(o,T,"mounted"),o.updated&&i.run(()=>Fe(()=>{for(let R of Object.keys(m))m[R];Hn(o,T,"updated")}))}),Xe(e,()=>{Hn(o,T,"beforeUnmount"),i.stop(),At.delete(T),Hn(o,T,"unmounted"),Hn(o,T,"destroyed")}),p}var lv=new Set(["beforeMount","mounted","updated","beforeUnmount","unmounted","destroyed"]);function Hn(e,t,n){let r=e[n];if(typeof r=="function")try{r.call(t)}catch(o){K(o,`hook ${n}`)}}me();ce();var On=[],oa=null,Wo=0,Td=-1,sa=0,ia=!1;function Ld(){return typeof performance!="undefined"&&performance.now?performance.now():Date.now()}function cv(){if(oa||typeof MutationObserver=="undefined"||typeof document=="undefined")return;let e=document.documentElement;e&&(oa=new MutationObserver(()=>{Wo++}),oa.observe(e,{childList:!0,subtree:!0}))}function Md(){if(ia)return;ia=!0;let e=()=>{ia=!1,dv()};if(typeof requestAnimationFrame=="function"){let t=!1,n=()=>{t||(t=!0,e())};requestAnimationFrame(n),setTimeout(n,32);return}setTimeout(e,0)}function dv(){var t;Wo===Td?sa++:sa=0,Td=Wo;let e=Ld();for(let n=On.length-1;n>=0;n--){let r=On[n],o=null;try{o=r.ready()}catch(i){o=null}if(o){On.splice(n,1),r.action(o);continue}e-r.since>1e4&&(On.splice(n,1),(t=r.onGiveUp)==null||t.call(r))}On.length&&Md()}function aa(e){let t=null;try{t=e.ready()}catch(n){t=null}if(t){e.action(t);return}cv(),On.push({...e,since:Ld()}),Md()}function Sd(){return typeof document=="undefined"||!document.body?!1:sa>=2}function uv(){return typeof document=="undefined"||!document.body?!1:Wo===0}function Ko(e){typeof document!="undefined"&&aa({ready:()=>Sd()?document.body:null,action:()=>e(),onGiveUp:()=>{document.body&&e()}})}function Cd(e){if(typeof document!="undefined"){if(uv()){Promise.resolve().then(e);return}aa({ready:()=>Sd()?document.body:null,action:()=>e(),onGiveUp:()=>{document.body&&e()}})}}function Yo(e,t,n){if(typeof e!="string"){t(e);return}typeof document!="undefined"&&aa({ready:()=>document.querySelector(e),action:r=>t(r),onGiveUp:n})}var fv=0,Xo=null;function Ad(e){Xo=e}function Rd(e={}){let t=`voodoo-app-${++fv}`,{components:n,...r}=e,o={globalProperties:{}},i={},s=[],a=null,l="",c=null,d=[];function u(){if(n)for(let[m,h]of Object.entries(n)){let v=on(m);De.has(v)||(zt(v,h),s.push(v))}}function p(m){var v,g;if(c)return c;a=m,l=m.innerHTML,Object.assign(He,o.globalProperties),u();let h={...r};if(Object.keys(i).length){let b=h.provide;h.provide=()=>({...typeof b=="function"?b():b!=null?b:{},...i})}zt(t,h),m.setAttribute(`${w.prefix}component`,t);try{te(m,We)}catch(b){return K(b,`application mounting "${t}"`),null}if(c=(g=(v=ot(m))==null?void 0:v.component)!=null?g:null,c){let b=d;d=[];for(let x of b)x(c)}return c}let f={name:t,config:o,get instance(){return c},get container(){return a},get isMounted(){return c!==null},component(m,h){var g;let v=on(m);return h===void 0?(g=n&&n[m])!=null?g:De.get(v):(n?n[m]=h:e.components={[m]:h},c&&!De.has(v)&&(zt(v,h),s.push(v)),f)},directive(m,h){return Xo==null||Xo(m,h),f},use(m,h){return Io(pv(),m,h),f},provide(m,h){return i[m]=h,f},mount(m){if(c)return c;if(typeof m!="string")return p(m);let h=null;return Yo(m,v=>{h=p(v)},()=>{console.warn(`[Voodoo] createApp().mount("${m}") did not find the element. The application remains unmounted.`)}),h},whenMounted(){return c?Promise.resolve(c):new Promise(m=>d.push(m))},unmount(){if(a){G(a),a.removeAttribute(`${w.prefix}component`),a.innerHTML=l,De.delete(t);for(let m of s)De.delete(m);s.length=0,c=null,a=null}}};return f}var $d=null;function Dd(e){$d=e}function pv(){return $d}me();me();var Bt=new Map,la=Mr(0),ca=new Map;function Pd(e,t,n={}){let r=Bt.get(e);if(!t){if(!r){let l=Y({});return Bt.set(e,l),l}return r}if(r)return Object.assign(r,t),r;let o=typeof n.persist=="string"?n.persist:`voodoo:store:${e}`,i=Object.getOwnPropertyDescriptors(t),s=Object.defineProperties({},i);if(n.persist&&typeof localStorage!="undefined")try{let l=localStorage.getItem(o);if(l){let c=JSON.parse(l);for(let[d,u]of Object.entries(c))i[d]&&!("value"in i[d])||(s[d]=u)}}catch(l){}let a=Y(s);for(let[l,c]of Object.entries(i)){let d=c.value;typeof d=="function"&&(a[l]=(...u)=>d.apply(a,u))}if(Bt.set(e,a),la.value++,n.persist&&typeof localStorage!="undefined"){let l=Ie(a,()=>{try{localStorage.setItem(o,JSON.stringify(mv(a)))}catch(c){}},{deep:!0});ca.set(e,l)}return a}function mv(e){let t={},n=Object.getOwnPropertyDescriptors(Me(e));for(let[r,o]of Object.entries(e))typeof o!="function"&&(n[r]&&!("value"in n[r])||(t[r]=o));return t}var Fn=new Proxy({},{get:(e,t)=>(la.value,Bt.get(t)),has:(e,t)=>(la.value,Bt.has(t)),ownKeys:()=>[...Bt.keys()],getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})});function Nd(e){var t;(t=ca.get(e))==null||t(),ca.delete(e),Bt.delete(e)}function Go(){return[...Bt.keys()]}var ma={};Ao(ma,{capitalize:()=>Hd,chunk:()=>wv,clone:()=>Pr,debounce:()=>Ke,device:()=>ve,escapeHtml:()=>I,formatCurrency:()=>da,formatDate:()=>fa,formatFileSize:()=>Cv,formatNumber:()=>ua,formatPercent:()=>Av,get:()=>Hr,groupBy:()=>yv,isBrowser:()=>Qo,matchesMedia:()=>In,memoize:()=>bv,merge:()=>Jo,once:()=>gv,parseDuration:()=>Q,random:()=>Tv,relativeTime:()=>pa,sample:()=>Lv,set:()=>kv,setFormatDefaults:()=>ei,sleep:()=>hv,slugify:()=>Mv,sortBy:()=>Ev,stripTags:()=>Sv,throttle:()=>Nr,titleCase:()=>Or,truncate:()=>Zo,uid:()=>le,unique:()=>xv,uuid:()=>vv});function vv(){let e=globalThis.crypto;if(e!=null&&e.randomUUID)return e.randomUUID();if(e!=null&&e.getRandomValues){let t=e.getRandomValues(new Uint8Array(16));t[6]=t[6]&15|64,t[8]=t[8]&63|128;let n=Array.from(t,r=>r.toString(16).padStart(2,"0")).join("");return`${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20)}`}return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{let n=Math.random()*16|0;return(t==="x"?n:n&3|8).toString(16)})}function le(e="v"){return`${e}${Math.random().toString(36).slice(2,9)}`}function hv(e){return new Promise(t=>setTimeout(t,e))}function Q(e,t=0){if(e==null||e==="")return t;if(typeof e=="number")return e;let n=/^\s*([\d.]+)\s*(ms|s|m|h)?\s*$/i.exec(String(e));if(!n)return t;let r=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"s":return r*1e3;case"m":return r*6e4;case"h":return r*36e5;default:return r}}function Ke(e,t=250,n=!1){let r=null,o=null,i,s=function(...a){o=a,i=this;let l=n&&r===null;r&&clearTimeout(r),r=setTimeout(()=>{r=null,!n&&o&&e.apply(i,o)},t),l&&e.apply(this,a)};return s.cancel=()=>{r&&clearTimeout(r),r=null,o=null},s.flush=()=>{r&&o&&(clearTimeout(r),r=null,e.apply(i,o))},s}function Nr(e,t=250){let n=0,r=null,o=null,i=function(...s){let a=Date.now();o=s;let l=t-(a-n);l<=0?(r&&(clearTimeout(r),r=null),n=a,e.apply(this,s)):r||(r=setTimeout(()=>{n=Date.now(),r=null,o&&e.apply(this,o)},l))};return i.cancel=()=>{r&&clearTimeout(r),r=null},i.flush=()=>{r&&o&&(clearTimeout(r),r=null,e.apply(null,o))},i}function gv(e){let t=!1,n;return function(...r){return t||(t=!0,n=e.apply(this,r)),n}}function bv(e,t=(...n)=>JSON.stringify(n)){let n=new Map,r=function(...o){let i=t(...o);if(n.has(i))return n.get(i);let s=e.apply(this,o);return n.set(i,s),s};return r.cache=n,r}function Pr(e){if(e===null||typeof e!="object")return e;if(typeof structuredClone=="function")try{return structuredClone(e)}catch(n){}if(Array.isArray(e))return e.map(n=>Pr(n));if(e instanceof Date)return new Date(e.getTime());if(e instanceof Map)return new Map([...e].map(([n,r])=>[n,Pr(r)]));if(e instanceof Set)return new Set([...e].map(n=>Pr(n)));let t={};for(let[n,r]of Object.entries(e))t[n]=Pr(r);return t}function Jo(e,...t){for(let n of t)if(n)for(let[r,o]of Object.entries(n)){let i=e[r];o&&typeof o=="object"&&!Array.isArray(o)&&i&&typeof i=="object"&&!Array.isArray(i)?e[r]=Jo({...i},o):e[r]=o}return e}function yv(e,t){let n={},r=typeof t=="function"?t:o=>o==null?void 0:o[t];for(let o of e){let i=String(r(o));(n[i]||(n[i]=[])).push(o)}return n}function xv(e,t){if(!t)return[...new Set(e)];let n=typeof t=="function"?t:i=>i==null?void 0:i[t],r=new Set,o=[];for(let i of e){let s=n(i);r.has(s)||(r.add(s),o.push(i))}return o}function wv(e,t=10){if(t<1)return[e];let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}function Ev(e,t,n="asc"){let r=typeof t=="function"?t:i=>i==null?void 0:i[t],o=n==="desc"?-1:1;return[...e].sort((i,s)=>{let a=r(i),l=r(s);return a==null&&l==null?0:a==null?1:l==null?-1:typeof a=="string"&&typeof l=="string"?a.localeCompare(l,void 0,{numeric:!0})*o:(a>l?1:a<l?-1:0)*o})}function Hr(e,t,n){let r=t.split("."),o=e;for(let i of r){if(o==null)return n;o=o[i]}return o!=null?o:n}function kv(e,t,n){let r=t.split("."),o=e;for(let i=0;i<r.length-1;i++){let s=r[i];(typeof o[s]!="object"||o[s]===null)&&(o[s]=/^\d+$/.test(r[i+1])?[]:{}),o=o[s]}o[r[r.length-1]]=n}function Tv(e=0,t=1){return Math.floor(Math.random()*(t-e+1))+e}function Lv(e){return e[Math.floor(Math.random()*e.length)]}function Mv(e,t="-"){return String(e).normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase().trim().replace(/[^a-z0-9]+/g,t).replace(new RegExp(`\\${t}{2,}`,"g"),t).replace(new RegExp(`^\\${t}|\\${t}$`,"g"),"")}function Zo(e,t=100,n="..."){let r=String(e!=null?e:"");return r.length<=t?r:r.slice(0,Math.max(0,t-n.length)).trimEnd()+n}function Hd(e){let t=String(e!=null?e:"");return t.charAt(0).toUpperCase()+t.slice(1)}function Or(e){return String(e!=null?e:"").replace(/\w\S*/g,t=>Hd(t.toLowerCase()))}function I(e){return String(e!=null?e:"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function Sv(e){return String(e!=null?e:"").replace(/<\/?[^>]+(>|$)/g,"")}var zn="pt-BR",Od="BRL";function ei(e,t){e&&(zn=e),t&&(Od=t)}function da(e,t={}){var r,o;let n=typeof e=="string"?parseFloat(e):e;return n==null||Number.isNaN(n)?"":new Intl.NumberFormat((r=t.locale)!=null?r:zn,{style:"currency",currency:(o=t.currency)!=null?o:Od}).format(n)}function ua(e,t={}){let n=typeof e=="string"?parseFloat(e):e;if(n==null||Number.isNaN(n))return"";let{locale:r,...o}=t;return new Intl.NumberFormat(r!=null?r:zn,o).format(n)}function fa(e,t="short",n){let r=e instanceof Date?e:new Date(e);if(Number.isNaN(r.getTime()))return"";let o=n!=null?n:zn;if(typeof t=="object")return new Intl.DateTimeFormat(o,t).format(r);let i={short:{day:"2-digit",month:"2-digit",year:"numeric"},long:{day:"2-digit",month:"long",year:"numeric"},full:{dateStyle:"full"},time:{hour:"2-digit",minute:"2-digit"},datetime:{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}};if(i[t])return new Intl.DateTimeFormat(o,i[t]).format(r);let s=a=>String(a).padStart(2,"0");return t.replace(/YYYY/g,String(r.getFullYear())).replace(/YY/g,String(r.getFullYear()).slice(-2)).replace(/MM/g,s(r.getMonth()+1)).replace(/DD/g,s(r.getDate())).replace(/HH/g,s(r.getHours())).replace(/mm/g,s(r.getMinutes())).replace(/ss/g,s(r.getSeconds()))}function pa(e,t){let n=e instanceof Date?e:new Date(e);if(Number.isNaN(n.getTime()))return"";let r=n.getTime()-Date.now(),o=Math.abs(r),i=[["year",31536e6],["month",2592e6],["week",6048e5],["day",864e5],["hour",36e5],["minute",6e4],["second",1e3]],s=new Intl.RelativeTimeFormat(t!=null?t:zn,{numeric:"auto"});for(let[a,l]of i)if(o>=l||a==="second")return s.format(Math.round(r/l),a);return""}function Cv(e,t=1){let n=Number(e);if(!n||Number.isNaN(n))return"0 B";let r=["B","KB","MB","GB","TB","PB"],o=Math.min(Math.floor(Math.log(Math.abs(n))/Math.log(1024)),r.length-1);return`${(n/1024**o).toFixed(o===0?0:t)} ${r[o]}`}function Av(e,t=0,n){return new Intl.NumberFormat(n!=null?n:zn,{style:"percent",minimumFractionDigits:t,maximumFractionDigits:t}).format(e)}var Qo=typeof window!="undefined"&&typeof window.document!="undefined";function In(e){if(!Qo||typeof window.matchMedia!="function")return!1;try{return window.matchMedia(e).matches}catch(t){return!1}}var ve={get touch(){return Qo&&("ontouchstart"in window||navigator.maxTouchPoints>0)},get mobile(){return In("(max-width: 767px)")},get tablet(){return In("(min-width: 768px) and (max-width: 1023px)")},get desktop(){return In("(min-width: 1024px)")},get online(){return!Qo||navigator.onLine},get reducedMotion(){return In("(prefers-reduced-motion: reduce)")},get darkMode(){return In("(prefers-color-scheme: dark)")}};var ke=class extends Error{constructor(n,r,o,i){super(n);P(this,"response",r);P(this,"config",o);P(this,"cause",i);this.name="HttpError"}get status(){var n,r;return(r=(n=this.response)==null?void 0:n.status)!=null?r:0}get isNetworkError(){return!this.response}},Pe={baseURL:"",headers:{Accept:"application/json, text/html, */*"},timeout:3e4,retry:0,retryDelay:500,credentials:"same-origin",csrfMeta:"csrf-token",csrfHeader:"X-CSRF-TOKEN"},ti=[],ni=[],Fr=[],Ir=new Map;function Fd(e){var t;return`${(t=e.method)!=null?t:"GET"} ${jn(e)}`}function Rv(e){if(!e){Ir.clear();return}let t=typeof e=="string"?n=>n.includes(e):n=>e.test(n);for(let n of[...Ir.keys()])t(n)&&Ir.delete(n)}var zd="voodoo:offline-queue";function va(){try{return JSON.parse(localStorage.getItem(zd)||"[]")}catch(e){return[]}}function ha(e){try{localStorage.setItem(zd,JSON.stringify(e))}catch(t){}}function $v(e){var n,r;if(typeof localStorage=="undefined")return;let t=va();t.push({url:jn(e),method:(n=e.method)!=null?n:"POST",body:e.body,headers:(r=e.headers)!=null?r:{},at:Date.now()}),ha(t)}async function Bd(){if(typeof localStorage=="undefined")return 0;let e=va();if(!e.length)return 0;ha([]);let t=0;for(let n=0;n<e.length;n++){let r=e[n];try{await jt({url:r.url,method:r.method,body:r.body,headers:r.headers,offlineQueue:!1}),t++}catch(o){let i=va();ha([...e.slice(n),...i]);break}}return t}typeof window!="undefined"&&window.addEventListener("online",()=>{Bd()});function jn(e){let t=e.url,n=Pe.baseURL;if(n&&!/^https?:\/\//i.test(t)&&!t.startsWith("//")&&(t=`${n.replace(/\/$/,"")}/${t.replace(/^\//,"")}`),e.params){let r=new URLSearchParams;for(let[i,s]of Object.entries(e.params))s==null||s===""||r.append(i,String(s));let o=r.toString();o&&(t+=(t.includes("?")?"&":"?")+o)}return t}function jd(){var t;if(typeof document=="undefined")return null;let e=document.querySelector(`meta[name="${Pe.csrfMeta}"]`);return(t=e==null?void 0:e.getAttribute("content"))!=null?t:null}function Dv(e,t){if(e!=null)return typeof FormData!="undefined"&&e instanceof FormData||typeof Blob!="undefined"&&e instanceof Blob||typeof URLSearchParams!="undefined"&&e instanceof URLSearchParams||typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer||typeof e=="string"?e:(t["Content-Type"]||(t["Content-Type"]="application/json"),JSON.stringify(e))}async function Pv(e,t){if(e.status===204||e.status===205)return null;let n=e.headers.get("content-type")||"";switch(t){case"json":return e.json();case"text":return e.text();case"blob":return e.blob();case"arrayBuffer":return e.arrayBuffer();case"formData":return e.formData();default:if(n.includes("application/json")||n.includes("+json")){let r=await e.text();return r?JSON.parse(r):null}return e.text()}}var Nv=new Set(["GET","HEAD","OPTIONS"]);function Hv(e){for(let[t,n]of Object.entries(e))if(t.toLowerCase()==="idempotency-key"&&String(n).trim()!=="")return!0;return!1}function Ov(e,t,n,r){var o;return Nv.has(e)||t.retryUnsafe===!0||Hv(n)?!0:(((o=t.retry)!=null?o:0)>0&&Rr(`http:retry-unsafe:${e} ${r}`,`retry ignored on ${e} ${r}: retrying a method that changes state may apply the same operation twice if the response is lost in transit. Allow with retryUnsafe: true or send an Idempotency-Key header.`),!1)}async function jt(e){var d,u,p,f,m;let t={method:"GET",timeout:Pe.timeout,retry:Pe.retry,retryDelay:Pe.retryDelay,credentials:Pe.credentials,responseType:"auto",...e,headers:{...Pe.headers,...e.headers}};for(let h of ti)t=await h(t);let n=((d=t.method)!=null?d:"GET").toUpperCase();if(t.cache&&n==="GET"){let h=Ir.get(Fd(t));if(h&&h.expires>Date.now())return h.value}if(t.offlineQueue&&typeof navigator!="undefined"&&navigator.onLine===!1&&n!=="GET")return $v(t),{data:null,status:0,statusText:"offline-queued",headers:new Headers,ok:!0,raw:new Response(null,{status:202}),config:t};let r={...t.headers};if(n!=="GET"&&n!=="HEAD"){let h=jd();h&&!r[Pe.csrfHeader]&&(r[Pe.csrfHeader]=h)}r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");let o=Dv(t.body,r),i=jn(t),s=Ov(n,t,r,i)?((u=t.retry)!=null?u:0)+1:1,a;for(let h=0;h<s;h++){let v=new AbortController,g=t.signal,b=null;g&&(g.aborted?v.abort(g.reason):(b=()=>v.abort(g.reason),g.addEventListener("abort",b,{once:!0})));let x=()=>{b&&g&&g.removeEventListener("abort",b),b=null},T=t.timeout&&t.timeout>0?setTimeout(()=>v.abort(new DOMException("timeout","TimeoutError")),t.timeout):null;try{let k=await fetch(i,{method:n,headers:r,body:n==="GET"||n==="HEAD"?void 0:o,credentials:t.credentials,signal:v.signal});T&&clearTimeout(T),x();let D={data:await Pv(k,t.responseType),status:k.status,statusText:k.statusText,headers:k.headers,ok:k.ok,raw:k,config:t};if(!k.ok){if(k.status>=500&&h<s-1){await Id(((p=t.retryDelay)!=null?p:500)*2**h);continue}let A=new ke(`Request failed with status ${k.status}`,D,t);for(let se of Fr)se(A);throw A}for(let A of ni)D=await A(D);return t.cache&&n==="GET"&&Ir.set(Fd(t),{expires:Date.now()+t.cache,value:D}),D}catch(k){if(T&&clearTimeout(T),x(),k instanceof ke)throw k;if(a=k,(k==null?void 0:k.name)==="AbortError"&&((f=t.signal)==null?void 0:f.aborted))break;if(h<s-1){await Id(((m=t.retryDelay)!=null?m:500)*2**h);continue}}}let l=(a==null?void 0:a.name)==="TimeoutError"?`Timeout after ${t.timeout}ms`:`Network failure accessing ${i}`,c=new ke(l,void 0,t,a);for(let h of Fr)h(c);throw c}function Id(e){return new Promise(t=>setTimeout(t,e))}async function Bn(e){return(await jt(e)).data}var he={defaults:Pe,get(e,t={}){return Bn({...t,url:e,method:"GET"})},post(e,t,n={}){return Bn({...n,url:e,method:"POST",body:t})},put(e,t,n={}){return Bn({...n,url:e,method:"PUT",body:t})},patch(e,t,n={}){return Bn({...n,url:e,method:"PATCH",body:t})},delete(e,t={}){return Bn({...t,url:e,method:"DELETE"})},head(e,t={}){return Bn({...t,url:e,method:"HEAD"})},request:jt,upload(e,t,n={}){return new Promise((r,o)=>{var l,c;let i=new XMLHttpRequest,s=jn({url:e});i.open((l=n.method)!=null?l:"POST",s);for(let[d,u]of Object.entries({...Pe.headers,...n.headers}))d.toLowerCase()!=="content-type"&&i.setRequestHeader(d,u);let a=jd();a&&i.setRequestHeader(Pe.csrfHeader,a),i.upload.addEventListener("progress",d=>{var u;d.lengthComputable&&((u=n.onProgress)==null||u.call(n,Math.round(d.loaded/d.total*100),d.loaded,d.total))}),i.addEventListener("load",()=>{let d=i.getResponseHeader("content-type")||"",u=i.responseText;if(d.includes("json"))try{u=JSON.parse(i.responseText)}catch(p){}i.status>=200&&i.status<300?r(u):o(new ke(`Upload failed with status ${i.status}`))}),i.addEventListener("error",()=>o(new ke("Network failure during upload"))),i.addEventListener("abort",()=>o(new ke("Upload canceled"))),(c=n.signal)==null||c.addEventListener("abort",()=>i.abort()),i.send(t)})},sse(e,t={}){let n=new EventSource(jn({url:e}));return n.addEventListener("message",r=>{var i;let o=r.data;try{o=JSON.parse(r.data)}catch(s){}(i=t.message)==null||i.call(t,o,r)}),t.error&&n.addEventListener("error",t.error),n},async stream(e,t,n={}){var a;let r=await fetch(jn({url:e,params:n.params}),{headers:{...Pe.headers,...n.headers},signal:n.signal});if(!r.body)return;let o=r.body.getReader(),i=new TextDecoder,s="";for(;;){let{done:l,value:c}=await o.read();if(l)break;s+=i.decode(c,{stream:!0});let d=s.split(`
62
62
  `);s=(a=d.pop())!=null?a:"";for(let u of d)u.trim()&&t(u)}s.trim()&&t(s)},interceptors:{request:{use(e){return ti.push(e),()=>{let t=ti.indexOf(e);t>-1&&ti.splice(t,1)}}},response:{use(e){return ni.push(e),()=>{let t=ni.indexOf(e);t>-1&&ni.splice(t,1)}}},error:{use(e){return Fr.push(e),()=>{let t=Fr.indexOf(e);t>-1&&Fr.splice(t,1)}}}},setHeader(e,t){t===null?delete Pe.headers[e]:Pe.headers[e]=t},setToken(e,t="Bearer"){this.setHeader("Authorization",e?`${t} ${e}`:null)},setBaseURL(e){Pe.baseURL=e},clearCache:Rv,flushOfflineQueue:Bd,parseDuration:Q};Ne();var Fv=`
63
63
  .v-toaster{position:fixed;z-index:var(--v-z-toast,1100);display:flex;flex-direction:column;gap:10px;padding:16px;pointer-events:none;max-width:min(420px,calc(100vw - 32px))}
64
64
  .v-toaster[data-pos^="top"]{top:0}
@@ -126,7 +126,7 @@ Suggestion: attribute expressions accept a single value. If the logic spans more
126
126
  @media (prefers-reduced-motion: reduce){
127
127
  [class*="-enter-active"],[class*="-leave-active"]{transition-duration:.01ms !important}
128
128
  }
129
- `;function Xd(e){let t=e.name||"v-fade";return{enterFrom:e.enterFrom||`${t}-enter-from`,enterActive:e.enterActive||`${t}-enter-active`,enterTo:e.enterTo||`${t}-enter-to`,leaveFrom:e.leaveFrom||`${t}-leave-from`,leaveActive:e.leaveActive||`${t}-leave-active`,leaveTo:e.leaveTo||`${t}-leave-to`}}function Un(e,t){for(let n of t.split(/\s+/).filter(Boolean))e.classList.add(n)}function _n(e,t){for(let n of t.split(/\s+/).filter(Boolean))e.classList.remove(n)}function Gd(e){let t=getComputedStyle(e),n=r=>Math.max(0,...r.split(",").map(o=>parseFloat(o)*(o.includes("ms")?1:1e3)||0));return Math.max(n(t.transitionDuration)+n(t.transitionDelay),n(t.animationDuration)+n(t.animationDelay))}function Qd(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function Br(e,t={}){oe("transitions",Yd);let n=Xd(t);return ve.reducedMotion?Promise.resolve():new Promise(r=>{Un(e,n.enterFrom),Un(e,n.enterActive),Qd(()=>{var s;_n(e,n.enterFrom),Un(e,n.enterTo);let o=(s=t.duration)!=null?s:Gd(e),i=()=>{_n(e,n.enterActive),_n(e,n.enterTo),r()};o<=0?i():setTimeout(i,o+20)})})}function jr(e,t={}){oe("transitions",Yd);let n=Xd(t);return ve.reducedMotion?Promise.resolve():new Promise(r=>{Un(e,n.leaveFrom),Un(e,n.leaveActive),Qd(()=>{var s;_n(e,n.leaveFrom),Un(e,n.leaveTo);let o=(s=t.duration)!=null?s:Gd(e),i=()=>{_n(e,n.leaveActive),_n(e,n.leaveTo),r()};o<=0?i():setTimeout(i,o+20)})})}function cn(e,t=240){return new Promise(n=>{e.style.removeProperty("display"),getComputedStyle(e).display==="none"&&(e.style.display="block");let r=e.scrollHeight;e.style.overflow="hidden",e.style.height="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px",e.style.transition=`height ${t}ms var(--v-ease, ease), padding ${t}ms var(--v-ease, ease)`,requestAnimationFrame(()=>{e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.height=`${r}px`}),setTimeout(()=>{e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition"),n()},t+20)})}function dn(e,t=240){return new Promise(n=>{e.style.height=`${e.scrollHeight}px`,e.style.overflow="hidden",e.style.transition=`height ${t}ms var(--v-ease, ease), padding ${t}ms var(--v-ease, ease)`,requestAnimationFrame(()=>{e.style.height="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px"}),setTimeout(()=>{e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition"),n()},t+20)})}function Wn(e,t=220){return new Promise(n=>{e.style.opacity="0",e.style.removeProperty("display"),getComputedStyle(e).display==="none"&&(e.style.display=""),e.style.transition=`opacity ${t}ms ease`,requestAnimationFrame(()=>{e.style.opacity="1"}),setTimeout(()=>{e.style.removeProperty("transition"),e.style.removeProperty("opacity"),n()},t+20)})}function Kn(e,t=220){return new Promise(n=>{e.style.transition=`opacity ${t}ms ease`,e.style.opacity="0",setTimeout(()=>{e.style.display="none",e.style.removeProperty("transition"),e.style.removeProperty("opacity"),n()},t+20)})}function ci(e){let t=document;typeof t.startViewTransition=="function"&&!ve.reducedMotion?t.startViewTransition(e):e()}me();ce();function Bv(e,t,n){try{let o={t:"assign",op:"=",target:_e(e),value:{t:"lit",v:n}};N(o,t)}catch(r){K(r,`assignment in "${e}"`)}}function nu(e){let t=w.prefix,n=e.hasAttribute(`${t}transition`),r=e.hasAttribute(`${t}enter-class`)||e.hasAttribute(`${t}leave-class`)||e.hasAttribute(`${t}enter-active-class`)||e.hasAttribute(`${t}leave-active-class`);if(!n&&!r)return null;let o=e.getAttribute(`${t}transition`)||"fade";return{name:o.startsWith("v-")?o:`v-${o}`,enterFrom:e.getAttribute(`${t}enter-class`)||void 0,enterActive:e.getAttribute(`${t}enter-active-class`)||void 0,enterTo:e.getAttribute(`${t}enter-to-class`)||void 0,leaveFrom:e.getAttribute(`${t}leave-class`)||void 0,leaveActive:e.getAttribute(`${t}leave-active-class`)||void 0,leaveTo:e.getAttribute(`${t}leave-to-class`)||void 0,duration:e.hasAttribute(`${t}duration`)?Q(e.getAttribute(`${t}duration`)):void 0}}y("text",({el:e,effect:t,evaluate:n})=>{t(()=>{e.textContent=kt(n());let r=e.firstChild;r&&r.nodeType===3&&Qs(r)})});y("html",e=>{let{el:t,effect:n,evaluate:r,scope:o}=e;Uo(t),n(()=>{let i=r();for(let s of Array.from(t.children))G(s);t.innerHTML=i==null?"":String(i);for(let s of Array.from(t.children))ee(s,o)})});y("show",({el:e,effect:t,evaluate:n})=>{let r=e.style.display==="none"?"":e.style.display,o=!0,i=nu(e);t(()=>{let s=!!n();if(o){o=!1,e.style.display=s?r:"none";return}if(!i){e.style.display=s?r:"none";return}s?(e.style.display=r,Br(e,i)):jr(e,i).then(()=>{e.style.display="none"})})});y("if",({el:e,scope:t,expression:n,effect:r})=>{var p;let o=w.prefix,i=[{expression:n,template:e}],s=e.nextElementSibling;for(;s;)if(s.hasAttribute(`${o}else-if`))i.push({expression:s.getAttribute(`${o}else-if`)||"false",template:s}),s=s.nextElementSibling;else if(s.hasAttribute(`${o}else`)){i.push({expression:null,template:s}),s=s.nextElementSibling;break}else break;let a=document.createComment(w.devtools?` v-if: ${n} `:"");(p=e.parentNode)==null||p.insertBefore(a,e);for(let f of i)Js(f.template),f.template.removeAttribute(`${o}if`),f.template.removeAttribute(`${o}else-if`),f.template.removeAttribute(`${o}else`),Qs(f.template);let l=nu(e),c=-1,d=[],u=()=>{let f=d;if(d=[],!f.length)return;let m=()=>{for(let h of f)G(h),h.remove()};l&&f[0]instanceof HTMLElement?jr(f[0],l).then(m):m()};r(()=>{let f=-1;for(let v=0;v<i.length;v++){let g=i[v];if(g.expression===null||q(g.expression,t,"v-if")){f=v;break}}if(f===c||(c=f,u(),f===-1))return;let m=i[f].template,h=ru(m,a,t);d=h,l&&h[0]instanceof HTMLElement&&Br(h[0],l)}),Xe(e,u)},{priority:j.IF,terminal:!0});function ru(e,t,n,r){let o=t.parentNode;if(!o)return[];let i=[];if(e.tagName==="TEMPLATE"){let s=e.content.cloneNode(!0),a=Array.from(s.childNodes);o.insertBefore(s,t);for(let l of a)i.push(l),l.nodeType===1&&(It(l,n),ee(l,n))}else{let s=e.cloneNode(!0);i.push(s),It(s,n),r?(r.fragment.appendChild(s),r.pending.push([s,n])):(o.insertBefore(s,t),ee(s,n))}return i}y("else-if",()=>{},{priority:j.IF,terminal:!0});y("else",()=>{},{priority:j.IF,terminal:!0});var jv=/^\s*\(?\s*([^)]*?)\s*\)?\s+(?:in|of)\s+(.+?)\s*$/;y("for",({el:e,scope:t,expression:n,effect:r})=>{var v;let o=jv.exec(n);if(!o){K(new Error(`Invalid syntax in v-for="${n}". Use "item in items".`),"v-for");return}let i=o[1].split(",").map(g=>g.trim()).filter(Boolean),s=o[2],[a,l,c]=i,d=w.prefix,u=e.getAttribute(":key")||e.getAttribute(`${d}bind:key`)||e.getAttribute(`${d}key`),p=document.createComment(w.devtools?` v-for: ${n} `:"");(v=e.parentNode)==null||v.insertBefore(p,e);let f=e.cloneNode(!0);f.removeAttribute(`${d}for`),f.removeAttribute(":key"),f.removeAttribute(`${d}bind:key`),f.removeAttribute(`${d}key`),Js(e);let m=[];Xe(p,()=>{for(let g of m)for(let b of g.nodes)G(b),b.remove();m=[]}),r(()=>{var se,O,pe;let g=q(s,t,"v-for"),b=qv(g,a,l,c),x=new Map;for(let ae of m)x.set(ae.key,ae);let T=[],k=new Set,C={fragment:document.createDocumentFragment(),pending:[]};b.forEach((ae,R)=>{let S=u?q(u,t.child(ae),":key"):`__index_${R}`;u&&k.has(S)&&ed(e,S,n);let B=x.get(S);if(B&&!k.has(S)){k.add(S);for(let[en,Ln]of Object.entries(ae))B.data[en]=Ln;T.push(B);return}let Ve=t.reactiveChild(ae),Ue=ru(f,p,Ve,C);k.add(S),T.push({key:S,scope:Ve,nodes:Ue,data:Ve.data})}),C.fragment.firstChild&&((se=p.parentNode)==null||se.insertBefore(C.fragment,p));for(let[ae,R]of C.pending)ee(ae,R);let D=new Set(T);for(let ae of m)if(!(k.has(ae.key)&&D.has(ae)))for(let R of ae.nodes)G(R),R.remove();let A=p;for(let ae=T.length-1;ae>=0;ae--){let R=T[ae],S=R.nodes[R.nodes.length-1];if(S&&S.nextSibling!==A)for(let B of R.nodes)(O=p.parentNode)==null||O.insertBefore(B,A);A=(pe=R.nodes[0])!=null?pe:A}m=T})},{priority:j.FOR,terminal:!0});function qv(e,t,n,r){let o=[];if(Array.isArray(e))return e.forEach((i,s)=>{let a={[t]:i};n&&(a[n]=s),o.push(a)}),o;if(typeof e=="number"){for(let i=1;i<=e;i++){let s={[t]:i};n&&(s[n]=i-1),o.push(s)}return o}return typeof e=="string"?(Array.from(e).forEach((i,s)=>{let a={[t]:i};n&&(a[n]=s),o.push(a)}),o):(e&&typeof e=="object"&&(e instanceof Map?Array.from(e.entries()):e instanceof Set?Array.from(e).map((s,a)=>[a,s]):Object.entries(e)).forEach(([s,a],l)=>{let c={[t]:a};n&&(c[n]=s),r&&(c[r]=l),o.push(c)}),o)}var Vv=new Set(["disabled","checked","readonly","required","selected","hidden","open","multiple","autofocus","novalidate","inert"]),Uv=new Set(["href","src","action","formaction","xlink:href","ping","poster"]),_v=/[\s\x00-\x1f]/g;function Wv(e){let t=e.replace(_v,"").toLowerCase();return t.startsWith("javascript:")||t.startsWith("vbscript:")||t.startsWith("data:text/html")||t.startsWith("data:application/xhtml")}function Jd(e,t,n,r=!1,o=!1){if(t==="class")return ou(e,n);if(t==="style")return Ea(e,n);if(w.sanitizeUrls&&!o&&t==="srcdoc"){sn(`:srcdoc refused in ${St(e)}: the value becomes a document with active script inside the iframe, the same way v-html becomes markup. If the content is trusted, write :srcdoc.dangerous="..."; to turn off this protection on the entire application, set V.config.sanitizeUrls = false.`),e.removeAttribute(t);return}if(w.sanitizeUrls&&!r){if(Uv.has(t)&&typeof n=="string"&&Wv(n)){sn(`value refused in :${t} of ${St(e)}: "${n.slice(0,60)}" uses a scheme that executes code. Use an http(s) or relative address. To turn off this protection, set V.config.sanitizeUrls = false.`),e.removeAttribute(t);return}if(t.length>2&&/^on[a-z]/.test(t)){sn(`attribute "${t}" refused in ${St(e)}: linking event by attribute creates an inline handler. Use @${t.slice(2)}="..." instead.`),e.removeAttribute(t);return}}if(r){e[t]=n;return}if(Vv.has(t)){n===!1||n==null?e.removeAttribute(t):e.setAttribute(t,""),t in e&&(e[t]=!!n);return}if(t==="value"&&"value"in e){e.value=n==null?"":n;return}n==null||n===!1?e.removeAttribute(t):e.setAttribute(t,n===!0?"":String(n))}var Zd=new WeakMap;function ou(e,t){let n=Zd.get(e);n||(n=(e.getAttribute("class")||"").split(/\s+/).filter(Boolean),Zd.set(e,n));let r=new Set(n);iu(t,r),e.setAttribute("class",Array.from(r).join(" ")),e.getAttribute("class")||e.removeAttribute("class")}function iu(e,t){if(e){if(typeof e=="string"){for(let n of e.split(/\s+/))n&&t.add(n);return}if(Array.isArray(e)){for(let n of e)iu(n,t);return}if(typeof e=="object"){for(let[n,r]of Object.entries(e))if(r)for(let o of n.split(/\s+/))o&&t.add(o)}}}function Ea(e,t){if(t){if(typeof t=="string"){e.style.cssText=t;return}if(Array.isArray(t)){for(let n of t)Ea(e,n);return}for(let[n,r]of Object.entries(t)){if(r==null||r===!1){e.style.removeProperty(n);continue}let o=n.startsWith("--")?n:n.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`),i=String(r);o.startsWith("--"),e.style.setProperty(o,i)}}}y("bind",({el:e,arg:t,modifiers:n,effect:r,evaluate:o,expression:i})=>{if(!t){r(()=>{let l=o();if(l&&typeof l=="object")for(let[c,d]of Object.entries(l))Jd(e,c,d)});return}if(t==="key")return;let s=!!n.prop,a=!!n.dangerous;r(()=>{Jd(e,t,o(),s,a)})},{priority:j.BIND});y("class",({el:e,effect:t,evaluate:n})=>{t(()=>ou(e,n()))});y("style",({el:e,effect:t,evaluate:n})=>{t(()=>Ea(e,n()))});var eu={enter:["Enter"],esc:["Escape"],escape:["Escape"],space:[" ","Spacebar"],tab:["Tab"],delete:["Delete","Backspace"],backspace:["Backspace"],up:["ArrowUp"],down:["ArrowDown"],left:["ArrowLeft"],right:["ArrowRight"]},Kv=["ctrl","shift","alt","meta"];function tu(e,t,n,r){let o=n.detail,i=n.__voodoo===!0,s=t.child({$event:i?o:n,$rawEvent:n,$el:r,$detail:o});try{let a=_e(e),l=N(a,s);typeof l=="function"&&(a.t==="id"||a.t==="member")&&l.call(t.data,i?o:n)}catch(a){K(a,`event ${n.type} ("${e}")`)}}var Yv={hover:"mouseenter",unhover:"mouseleave",tap:"click",press:"pointerdown",release:"pointerup",rightclick:"contextmenu",enterkey:"keydown",type:"input",submitform:"submit"},su={hold(e,t,n,r){let o=Q(typeof n.duration=="string"&&n.duration||Object.keys(n).find(d=>/^[\d.]+(ms|s)?$/.test(d))||e.getAttribute(`${w.prefix}hold-duration`)||800,800),i=null,s=!1,a=d=>{s=!1,e.classList.add("v-holding"),e.style.setProperty("--v-hold-duration",`${o}ms`),i=setTimeout(()=>{s=!0,e.classList.remove("v-holding"),t(d)},o)},l=()=>{i&&clearTimeout(i),i=null,e.classList.remove("v-holding")},c=d=>{s&&(d.preventDefault(),d.stopPropagation(),s=!1)};e.addEventListener("pointerdown",a),e.addEventListener("pointerup",l),e.addEventListener("pointerleave",l),e.addEventListener("pointercancel",l),e.addEventListener("click",c,!0),r(()=>{l(),e.removeEventListener("pointerdown",a),e.removeEventListener("pointerup",l),e.removeEventListener("pointerleave",l),e.removeEventListener("pointercancel",l),e.removeEventListener("click",c,!0)})},outside(e,t,n,r){let o=i=>{e.isConnected&&(e===i.target||e.contains(i.target)||t(i))};document.addEventListener("click",o,!0),r(()=>document.removeEventListener("click",o,!0))},visible(e,t,n,r){var i,s;if(typeof IntersectionObserver=="undefined"){t(new CustomEvent("visible"));return}let o=new IntersectionObserver(a=>{for(let l of a)l.isIntersecting&&(t(new CustomEvent("visible",{detail:l})),n.repeat!==!0&&o.unobserve(e))},{threshold:Number((i=n.threshold)!=null?i:.1),rootMargin:String((s=n.margin)!=null?s:"0px")});o.observe(e),r(()=>o.disconnect())}};for(let e of["left","right","up","down"])su[`swipe${e}`]=(t,n,r,o)=>{let i=0,s=0,a=!1,l=d=>{a=!0,i=d.clientX,s=d.clientY},c=d=>{if(!a)return;a=!1;let u=d.clientX-i,p=d.clientY-s,f=40;(e==="left"?u<-f&&Math.abs(u)>Math.abs(p):e==="right"?u>f&&Math.abs(u)>Math.abs(p):e==="up"?p<-f&&Math.abs(p)>Math.abs(u):p>f&&Math.abs(p)>Math.abs(u))&&n(new CustomEvent(`swipe${e}`,{detail:{dx:u,dy:p}}))};t.addEventListener("pointerdown",l),window.addEventListener("pointerup",c),o(()=>{t.removeEventListener("pointerdown",l),window.removeEventListener("pointerup",c)})};function au(e,t,n,r,o,i){var f;let s=(f=Yv[t])!=null?f:t,a=su[t];if(a){a(e,m=>{o.prevent&&m.preventDefault(),o.stop&&m.stopPropagation(),tu(n,r,m,e)},o,i);return}let l=o.window?window:o.document||o.outside?document:e,c=m=>{if(!(o.self&&m.target!==e)&&!(o.outside&&(e===m.target||e.contains(m.target)||!e.isConnected))){if(m instanceof KeyboardEvent){for(let v of Kv)if(o[v]&&!m[`${v}Key`])return;let h=Object.keys(o).filter(v=>v in eu||/^[a-z0-9]$/.test(v));if(h.length&&!h.some(g=>{let b=eu[g];return b?b.includes(m.key):m.key.toLowerCase()===g}))return}o.prevent&&m.preventDefault(),o.stop&&m.stopPropagation(),tu(n,r,m,e)}},d=o.debounce;d!==void 0&&(c=Ke(c,Q(d===!0?250:d,250)));let u=o.throttle;u!==void 0&&(c=Nr(c,Q(u===!0?250:u,250)));let p={capture:!!o.capture,once:!!o.once,passive:!!o.passive};l.addEventListener(s,c,p),i(()=>l.removeEventListener(s,c,p))}y("on",({el:e,arg:t,expression:n,scope:r,modifiers:o,cleanup:i})=>{t&&au(e,t,n,r,o,i)});var Xv=["click","dblclick","input","change","keyup","keydown","keypress","mouseenter","mouseleave","mouseover","mousedown","mouseup","contextmenu","wheel","paste","dragstart","dragover","dragleave","drop"];for(let e of Xv)y(e,({el:t,expression:n,scope:r,modifiers:o,cleanup:i})=>{au(t,e,n,r,o,i)});y("model",({el:e,expression:t,scope:n,modifiers:r,effect:o,cleanup:i})=>{let s=e,a=s.tagName,l=(s.getAttribute("type")||"text").toLowerCase(),c=a==="INPUT"&&l==="checkbox",d=a==="INPUT"&&l==="radio",u=a==="SELECT",p=u&&s.multiple,f=a==="INPUT"&&l==="file",m=l==="number"||l==="range",h=!!r.lazy,v=!!r.number||m,g=!!r.trim,b=r.debounce?Q(r.debounce===!0?250:r.debounce,250):e.getAttribute(`${w.prefix}debounce`)?Q(e.getAttribute(`${w.prefix}debounce`),250):0,x=h||u||c||d||f?"change":"input",T=()=>{var C,D;let k;if(c){let A=q(t,n,"v-model");if(Array.isArray(A)){let se=s.value,O=[...A],pe=O.indexOf(se);s.checked&&pe===-1?O.push(se):!s.checked&&pe>-1&&O.splice(pe,1),k=O}else k=s.checked}else if(d){if(!s.checked)return;k=s.value}else if(p)k=Array.from(s.selectedOptions).map(A=>A.value);else if(f)k=r.single?(D=(C=s.files)==null?void 0:C[0])!=null?D:null:s.files;else if(k=s.value,g&&typeof k=="string"&&(k=k.trim()),v&&typeof k=="string"){let A=k===""?null:Number(k);k=A===null||Number.isNaN(A)?k:A}Bv(t,n,k)};b>0&&(T=Ke(T,b)),s.addEventListener(x,T),i(()=>s.removeEventListener(x,T)),o(()=>{let k=q(t,n,"v-model");if(c){s.checked=Array.isArray(k)?k.includes(s.value):!!k;return}if(d){s.checked=String(k)===s.value;return}if(p){let D=Array.isArray(k)?k.map(String):[];for(let A of Array.from(s.options))A.selected=D.includes(A.value);return}if(f)return;let C=k==null?"":String(k);s.value!==C&&(s.value=C),u&&s.value!==C&&ut(()=>{s.value!==C&&(s.value=C)})})},{priority:j.MODEL});y("init",({el:e,expression:t,scope:n})=>{Se(()=>{let r=n.child({$el:e}),o=q(t,r,"v-init");typeof o=="function"&&o.call(n.data)})},{priority:j.INIT});y("ref",({el:e,expression:t,scope:n,cleanup:r})=>{var s;let o=t.trim();if(!o)return;let i=(s=n.owner)!=null?s:n;i.refs[o]=e,r(()=>{i.refs[o]===e&&delete i.refs[o]})},{priority:j.REF});y("effect",({effect:e,evaluate:t})=>{e(()=>{t()})});y("watch",({el:e,expression:t,scope:n,effect:r})=>{let o=e.getAttribute(`${w.prefix}model`),i,s=!0;r(()=>{let a=o?q(o,n,"v-watch"):q(t,n,"v-watch");if(s){s=!1,i=a;return}if(a===i)return;let l=i;if(i=a,o){let c=n.child({$value:a,$old:l,$el:e}),d=q(t,c,"v-watch");typeof d=="function"&&d.call(n.data,a,l)}})});y("cloak",({el:e})=>{e.removeAttribute(`${w.prefix}cloak`)});y("once",({el:e,effect:t,evaluate:n})=>{let r=n();r!==void 0&&(e.textContent=kt(r))});y("teleport",({el:e,expression:t,cleanup:n})=>{var s;let r=t.trim()||"body",o=r==="body"?document.body:document.querySelector(r);if(!o){K(new Error(`v-teleport destination not found: ${r}`),"v-teleport");return}let i=document.createComment(" v-teleport ");(s=e.parentNode)==null||s.insertBefore(i,e),o.appendChild(e),n(()=>{var a;(a=i.parentNode)==null||a.insertBefore(e,i),i.remove()})},{priority:j.DATA});for(let e of["transition","enter-class","enter-active-class","enter-to-class","leave-class","leave-active-class","leave-to-class","duration","key","slot","ignore","pre"])y(e,()=>{},{priority:j.TRANSITION});y("data",()=>{},{priority:j.DATA});y("component",()=>{},{priority:j.COMPONENT});me();ce();var du=()=>w.prefix;function V(e,t){return Te(e,`${du()}${t}`)}function La(e,t){return Ft(e,`${du()}${t}`)}function Gv(e,t){var s,a,l;let n=V(e,"target"),r=V(e,"loading"),o={},i=V(e,"headers");if(i){let c=q(i,t,"v-headers");c&&typeof c=="object"&&(o=c)}return{target:n?document.querySelector(n):null,swap:V(e,"swap")||"innerHTML",loadingTarget:r?document.querySelector(r):null,loadingClass:V(e,"loading-class")||"v-loading",disableWhileLoading:La(e,"disable-loading"),confirmMessage:V(e,"confirm"),toastSuccess:V(e,"toast-success"),toastError:V(e,"toast-error"),onSuccess:V(e,"on-success"),onError:V(e,"on-error"),onComplete:V(e,"on-complete"),cacheMs:Q((s=V(e,"cache"))!=null?s:void 0,0),retry:Number((a=V(e,"retry"))!=null?a:0),timeout:Q((l=V(e,"timeout"))!=null?l:void 0,he.defaults.timeout),storeAs:V(e,"as"),jsonPath:V(e,"json-path"),templateSelector:V(e,"template"),offlineQueue:La(e,"offline-queue"),headers:o,redirect:V(e,"redirect"),scrollTo:V(e,"scroll-to")}}function lu(e,t,n,r){var i,s;let o=a=>{for(let l of Array.from(a))l.nodeType===1&&ee(l,r)};switch(n){case"none":return;case"delete":G(e),e.remove();return;case"textContent":e.textContent=t;return;case"outerHTML":case"replace":{let a=document.createElement("template");a.innerHTML=t;let l=Array.from(a.content.childNodes);G(e),e.replaceWith(a.content),o(l);return}case"beforebegin":case"afterbegin":case"beforeend":case"afterend":{let a=new Set(Array.from((s=(i=e.parentElement)==null?void 0:i.childNodes)!=null?s:[]));e.insertAdjacentHTML(n,t);let l=n==="afterbegin"||n==="beforeend"?e:e.parentElement;if(l)for(let c of Array.from(l.childNodes))c.nodeType===1&&!a.has(c)&&ee(c,r);return}case"append":e.insertAdjacentHTML("beforeend",t),o(e.childNodes);return;case"prepend":e.insertAdjacentHTML("afterbegin",t),o(e.childNodes);return;default:{for(let a of Array.from(e.children))G(a);e.innerHTML=t,o(e.childNodes)}}}function di(e,t=0){if(e==null)return"";if(typeof e!="object")return I(String(e));if(Array.isArray(e)){if(!e.length)return'<p class="v-json-empty">No results.</p>';if(e.every(o=>o&&typeof o=="object"&&!Array.isArray(o))&&t===0){let o=Array.from(e.reduce((a,l)=>{for(let c of Object.keys(l))a.add(c);return a},new Set)),i=o.map(a=>`<th>${I(a)}</th>`).join(""),s=e.map(a=>`<tr>${o.map(l=>`<td>${di(a[l],t+1)}</td>`).join("")}</tr>`).join("");return`<table class="v-json-table"><thead><tr>${i}</tr></thead><tbody>${s}</tbody></table>`}return`<ul class="v-json-list">${e.map(o=>`<li>${di(o,t+1)}</li>`).join("")}</ul>`}let n=Object.entries(e);return n.length?`<dl class="v-json-object">${n.map(([r,o])=>`<dt>${I(r)}</dt><dd>${di(o,t+1)}</dd>`).join("")}</dl>`:""}function Qv(e,t,n,r){let o=document.querySelector(e);if(!o){K(new Error(`Template not found: ${e}`),"v-template");return}for(let s of Array.from(r.children))G(s);r.innerHTML="";let i=Array.isArray(t)?t:[t];for(let[s,a]of i.entries()){let l=o.content.cloneNode(!0),c=Array.from(l.childNodes);r.appendChild(l);let d=n.reactiveChild({item:a,index:s,...a&&typeof a=="object"?a:{}});for(let u of c)u.nodeType===1&&ee(u,d)}}var ka=new WeakMap;async function qr(e){var u,p,f,m,h;let{el:t,scope:n,method:r}=e,o=Gv(t,n),i=Tt.has("confirm");if(o.confirmMessage&&!i&&!await Jv(o.confirmMessage))return;(u=ka.get(t))==null||u.abort();let s=new AbortController;ka.set(t,s);let a=(p=o.target)!=null?p:t,l=t instanceof HTMLFormElement?t.querySelector('[type="submit"], button:not([type])'):null,c=()=>{if(t.classList.add(o.loadingClass),t.setAttribute("aria-busy","true"),o.loadingTarget&&o.loadingTarget.style.removeProperty("display"),o.disableWhileLoading){let v=l!=null?l:t;"disabled"in v&&(v.disabled=!0)}},d=()=>{if(t.classList.remove(o.loadingClass),t.removeAttribute("aria-busy"),o.loadingTarget&&(o.loadingTarget.style.display="none"),o.disableWhileLoading){let v=l!=null?l:t;"disabled"in v&&(v.disabled=!1)}};c(),Yn(t,"voodoo:before-request",{method:r,url:e.url});try{let v=await he.request({url:e.url,method:r,body:e.body,params:e.params,headers:o.headers,timeout:o.timeout,retry:o.retry,cache:o.cacheMs||void 0,signal:s.signal,offlineQueue:o.offlineQueue}),g=xa(v.data,o.jsonPath);o.storeAs?n.set(o.storeAs,g):o.templateSelector?Qv(o.templateSelector,g,n,a):typeof g=="string"?lu(a,g,o.swap,n):g!=null&&(Zv(),lu(a,di(g),o.swap,n)),o.toastSuccess&&it.success(o.toastSuccess),o.onSuccess&&Ta(o.onSuccess,n,t,{data:g,response:v}),Yn(t,"voodoo:success",{data:g,response:v}),o.scrollTo&&((f=document.querySelector(o.scrollTo))==null||f.scrollIntoView({behavior:"smooth"})),o.redirect&&location.assign(o.redirect)}catch(v){if((v==null?void 0:v.name)==="AbortError")return;let g=v instanceof ke?(m=wa(v))!=null?m:v.message:(h=v==null?void 0:v.message)!=null?h:"Unknown error";o.toastError?it.error(o.toastError):o.onError||it.error(g),o.onError&&Ta(o.onError,n,t,{error:v,message:g}),Yn(t,"voodoo:error",{error:v,message:g}),K(v,`request ${r} ${e.url}`)}finally{d(),ka.delete(t),o.onComplete&&Ta(o.onComplete,n,t,{}),Yn(t,"voodoo:complete",{})}}function Yn(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function Ta(e,t,n,r){var s;let o=t.child({$el:n,...r}),i=q(e,o,"HTTP callback");typeof i=="function"&&i.call(t.data,(s=r.data)!=null?s:r.error)}async function Jv(e){let t=globalThis.V;return t&&typeof t.confirm=="function"&&t.confirm!==globalThis.confirm?!!await t.confirm(e):globalThis.confirm(e)}var cu=!1;function Zv(){cu||(cu=!0,Promise.resolve().then(()=>(Ne(),Ud)).then(({injectStyle:e})=>{e("json-render",`
129
+ `;function Xd(e){let t=e.name||"v-fade";return{enterFrom:e.enterFrom||`${t}-enter-from`,enterActive:e.enterActive||`${t}-enter-active`,enterTo:e.enterTo||`${t}-enter-to`,leaveFrom:e.leaveFrom||`${t}-leave-from`,leaveActive:e.leaveActive||`${t}-leave-active`,leaveTo:e.leaveTo||`${t}-leave-to`}}function Un(e,t){for(let n of t.split(/\s+/).filter(Boolean))e.classList.add(n)}function _n(e,t){for(let n of t.split(/\s+/).filter(Boolean))e.classList.remove(n)}function Gd(e){let t=getComputedStyle(e),n=r=>Math.max(0,...r.split(",").map(o=>parseFloat(o)*(o.includes("ms")?1:1e3)||0));return Math.max(n(t.transitionDuration)+n(t.transitionDelay),n(t.animationDuration)+n(t.animationDelay))}function Qd(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function Br(e,t={}){oe("transitions",Yd);let n=Xd(t);return ve.reducedMotion?Promise.resolve():new Promise(r=>{Un(e,n.enterFrom),Un(e,n.enterActive),Qd(()=>{var s;_n(e,n.enterFrom),Un(e,n.enterTo);let o=(s=t.duration)!=null?s:Gd(e),i=()=>{_n(e,n.enterActive),_n(e,n.enterTo),r()};o<=0?i():setTimeout(i,o+20)})})}function jr(e,t={}){oe("transitions",Yd);let n=Xd(t);return ve.reducedMotion?Promise.resolve():new Promise(r=>{Un(e,n.leaveFrom),Un(e,n.leaveActive),Qd(()=>{var s;_n(e,n.leaveFrom),Un(e,n.leaveTo);let o=(s=t.duration)!=null?s:Gd(e),i=()=>{_n(e,n.leaveActive),_n(e,n.leaveTo),r()};o<=0?i():setTimeout(i,o+20)})})}function cn(e,t=240){return new Promise(n=>{e.style.removeProperty("display"),getComputedStyle(e).display==="none"&&(e.style.display="block");let r=e.scrollHeight;e.style.overflow="hidden",e.style.height="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px",e.style.transition=`height ${t}ms var(--v-ease, ease), padding ${t}ms var(--v-ease, ease)`,requestAnimationFrame(()=>{e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.height=`${r}px`}),setTimeout(()=>{e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition"),n()},t+20)})}function dn(e,t=240){return new Promise(n=>{e.style.height=`${e.scrollHeight}px`,e.style.overflow="hidden",e.style.transition=`height ${t}ms var(--v-ease, ease), padding ${t}ms var(--v-ease, ease)`,requestAnimationFrame(()=>{e.style.height="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px"}),setTimeout(()=>{e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition"),n()},t+20)})}function Wn(e,t=220){return new Promise(n=>{e.style.opacity="0",e.style.removeProperty("display"),getComputedStyle(e).display==="none"&&(e.style.display=""),e.style.transition=`opacity ${t}ms ease`,requestAnimationFrame(()=>{e.style.opacity="1"}),setTimeout(()=>{e.style.removeProperty("transition"),e.style.removeProperty("opacity"),n()},t+20)})}function Kn(e,t=220){return new Promise(n=>{e.style.transition=`opacity ${t}ms ease`,e.style.opacity="0",setTimeout(()=>{e.style.display="none",e.style.removeProperty("transition"),e.style.removeProperty("opacity"),n()},t+20)})}function ci(e){let t=document;typeof t.startViewTransition=="function"&&!ve.reducedMotion?t.startViewTransition(e):e()}me();ce();function Bv(e,t,n){try{let o={t:"assign",op:"=",target:_e(e),value:{t:"lit",v:n}};N(o,t)}catch(r){K(r,`assignment in "${e}"`)}}function nu(e){let t=w.prefix,n=e.hasAttribute(`${t}transition`),r=e.hasAttribute(`${t}enter-class`)||e.hasAttribute(`${t}leave-class`)||e.hasAttribute(`${t}enter-active-class`)||e.hasAttribute(`${t}leave-active-class`);if(!n&&!r)return null;let o=e.getAttribute(`${t}transition`)||"fade";return{name:o.startsWith("v-")?o:`v-${o}`,enterFrom:e.getAttribute(`${t}enter-class`)||void 0,enterActive:e.getAttribute(`${t}enter-active-class`)||void 0,enterTo:e.getAttribute(`${t}enter-to-class`)||void 0,leaveFrom:e.getAttribute(`${t}leave-class`)||void 0,leaveActive:e.getAttribute(`${t}leave-active-class`)||void 0,leaveTo:e.getAttribute(`${t}leave-to-class`)||void 0,duration:e.hasAttribute(`${t}duration`)?Q(e.getAttribute(`${t}duration`)):void 0}}y("text",({el:e,effect:t,evaluate:n})=>{t(()=>{e.textContent=kt(n());let r=e.firstChild;r&&r.nodeType===3&&Qs(r)})});y("html",e=>{let{el:t,effect:n,evaluate:r,scope:o}=e;Uo(t),n(()=>{let i=r();for(let s of Array.from(t.children))G(s);t.innerHTML=i==null?"":String(i);for(let s of Array.from(t.children))te(s,o)})});y("show",({el:e,effect:t,evaluate:n})=>{let r=e.style.display==="none"?"":e.style.display,o=!0,i=nu(e);t(()=>{let s=!!n();if(o){o=!1,e.style.display=s?r:"none";return}if(!i){e.style.display=s?r:"none";return}s?(e.style.display=r,Br(e,i)):jr(e,i).then(()=>{e.style.display="none"})})});y("if",({el:e,scope:t,expression:n,effect:r})=>{var p;let o=w.prefix,i=[{expression:n,template:e}],s=e.nextElementSibling;for(;s;)if(s.hasAttribute(`${o}else-if`))i.push({expression:s.getAttribute(`${o}else-if`)||"false",template:s}),s=s.nextElementSibling;else if(s.hasAttribute(`${o}else`)){i.push({expression:null,template:s}),s=s.nextElementSibling;break}else break;let a=document.createComment(w.devtools?` v-if: ${n} `:"");(p=e.parentNode)==null||p.insertBefore(a,e);for(let f of i)Js(f.template),f.template.removeAttribute(`${o}if`),f.template.removeAttribute(`${o}else-if`),f.template.removeAttribute(`${o}else`),Qs(f.template);let l=nu(e),c=-1,d=[],u=()=>{let f=d;if(d=[],!f.length)return;let m=()=>{for(let h of f)G(h),h.remove()};l&&f[0]instanceof HTMLElement?jr(f[0],l).then(m):m()};r(()=>{let f=-1;for(let v=0;v<i.length;v++){let g=i[v];if(g.expression===null||q(g.expression,t,"v-if")){f=v;break}}if(f===c||(c=f,u(),f===-1))return;let m=i[f].template,h=ru(m,a,t);d=h,l&&h[0]instanceof HTMLElement&&Br(h[0],l)}),Xe(e,u)},{priority:j.IF,terminal:!0});function ru(e,t,n,r){let o=t.parentNode;if(!o)return[];let i=[];if(e.tagName==="TEMPLATE"){let s=e.content.cloneNode(!0),a=Array.from(s.childNodes);o.insertBefore(s,t);for(let l of a)i.push(l),l.nodeType===1&&(It(l,n),te(l,n))}else{let s=e.cloneNode(!0);i.push(s),It(s,n),r?(r.fragment.appendChild(s),r.pending.push([s,n])):(o.insertBefore(s,t),te(s,n))}return i}y("else-if",()=>{},{priority:j.IF,terminal:!0});y("else",()=>{},{priority:j.IF,terminal:!0});var jv=/^\s*\(?\s*([^)]*?)\s*\)?\s+(?:in|of)\s+(.+?)\s*$/;y("for",({el:e,scope:t,expression:n,effect:r})=>{var v;let o=jv.exec(n);if(!o){K(new Error(`Invalid syntax in v-for="${n}". Use "item in items".`),"v-for");return}let i=o[1].split(",").map(g=>g.trim()).filter(Boolean),s=o[2],[a,l,c]=i,d=w.prefix,u=e.getAttribute(":key")||e.getAttribute(`${d}bind:key`)||e.getAttribute(`${d}key`),p=document.createComment(w.devtools?` v-for: ${n} `:"");(v=e.parentNode)==null||v.insertBefore(p,e);let f=e.cloneNode(!0);f.removeAttribute(`${d}for`),f.removeAttribute(":key"),f.removeAttribute(`${d}bind:key`),f.removeAttribute(`${d}key`),Js(e);let m=[];Xe(p,()=>{for(let g of m)for(let b of g.nodes)G(b),b.remove();m=[]}),r(()=>{var se,O,pe;let g=q(s,t,"v-for"),b=qv(g,a,l,c),x=new Map;for(let ae of m)x.set(ae.key,ae);let T=[],k=new Set,C={fragment:document.createDocumentFragment(),pending:[]};b.forEach((ae,R)=>{let S=u?q(u,t.child(ae),":key"):`__index_${R}`;u&&k.has(S)&&ed(e,S,n);let B=x.get(S);if(B&&!k.has(S)){k.add(S);for(let[en,Ln]of Object.entries(ae))B.data[en]=Ln;T.push(B);return}let Ve=t.reactiveChild(ae),Ue=ru(f,p,Ve,C);k.add(S),T.push({key:S,scope:Ve,nodes:Ue,data:Ve.data})}),C.fragment.firstChild&&((se=p.parentNode)==null||se.insertBefore(C.fragment,p));for(let[ae,R]of C.pending)te(ae,R);let D=new Set(T);for(let ae of m)if(!(k.has(ae.key)&&D.has(ae)))for(let R of ae.nodes)G(R),R.remove();let A=p;for(let ae=T.length-1;ae>=0;ae--){let R=T[ae],S=R.nodes[R.nodes.length-1];if(S&&S.nextSibling!==A)for(let B of R.nodes)(O=p.parentNode)==null||O.insertBefore(B,A);A=(pe=R.nodes[0])!=null?pe:A}m=T})},{priority:j.FOR,terminal:!0});function qv(e,t,n,r){let o=[];if(Array.isArray(e))return e.forEach((i,s)=>{let a={[t]:i};n&&(a[n]=s),o.push(a)}),o;if(typeof e=="number"){for(let i=1;i<=e;i++){let s={[t]:i};n&&(s[n]=i-1),o.push(s)}return o}return typeof e=="string"?(Array.from(e).forEach((i,s)=>{let a={[t]:i};n&&(a[n]=s),o.push(a)}),o):(e&&typeof e=="object"&&(e instanceof Map?Array.from(e.entries()):e instanceof Set?Array.from(e).map((s,a)=>[a,s]):Object.entries(e)).forEach(([s,a],l)=>{let c={[t]:a};n&&(c[n]=s),r&&(c[r]=l),o.push(c)}),o)}var Vv=new Set(["disabled","checked","readonly","required","selected","hidden","open","multiple","autofocus","novalidate","inert"]),Uv=new Set(["href","src","action","formaction","xlink:href","ping","poster"]),_v=/[\s\x00-\x1f]/g;function Wv(e){let t=e.replace(_v,"").toLowerCase();return t.startsWith("javascript:")||t.startsWith("vbscript:")||t.startsWith("data:text/html")||t.startsWith("data:application/xhtml")}function Jd(e,t,n,r=!1,o=!1){if(t==="class")return ou(e,n);if(t==="style")return Ea(e,n);if(w.sanitizeUrls&&!o&&t==="srcdoc"){sn(`:srcdoc refused in ${St(e)}: the value becomes a document with active script inside the iframe, the same way v-html becomes markup. If the content is trusted, write :srcdoc.dangerous="..."; to turn off this protection on the entire application, set V.config.sanitizeUrls = false.`),e.removeAttribute(t);return}if(w.sanitizeUrls&&!r){if(Uv.has(t)&&typeof n=="string"&&Wv(n)){sn(`value refused in :${t} of ${St(e)}: "${n.slice(0,60)}" uses a scheme that executes code. Use an http(s) or relative address. To turn off this protection, set V.config.sanitizeUrls = false.`),e.removeAttribute(t);return}if(t.length>2&&/^on[a-z]/.test(t)){sn(`attribute "${t}" refused in ${St(e)}: linking event by attribute creates an inline handler. Use @${t.slice(2)}="..." instead.`),e.removeAttribute(t);return}}if(r){e[t]=n;return}if(Vv.has(t)){n===!1||n==null?e.removeAttribute(t):e.setAttribute(t,""),t in e&&(e[t]=!!n);return}if(t==="value"&&"value"in e){e.value=n==null?"":n;return}n==null||n===!1?e.removeAttribute(t):e.setAttribute(t,n===!0?"":String(n))}var Zd=new WeakMap;function ou(e,t){let n=Zd.get(e);n||(n=(e.getAttribute("class")||"").split(/\s+/).filter(Boolean),Zd.set(e,n));let r=new Set(n);iu(t,r),e.setAttribute("class",Array.from(r).join(" ")),e.getAttribute("class")||e.removeAttribute("class")}function iu(e,t){if(e){if(typeof e=="string"){for(let n of e.split(/\s+/))n&&t.add(n);return}if(Array.isArray(e)){for(let n of e)iu(n,t);return}if(typeof e=="object"){for(let[n,r]of Object.entries(e))if(r)for(let o of n.split(/\s+/))o&&t.add(o)}}}function Ea(e,t){if(t){if(typeof t=="string"){e.style.cssText=t;return}if(Array.isArray(t)){for(let n of t)Ea(e,n);return}for(let[n,r]of Object.entries(t)){if(r==null||r===!1){e.style.removeProperty(n);continue}let o=n.startsWith("--")?n:n.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`),i=String(r);o.startsWith("--"),e.style.setProperty(o,i)}}}y("bind",({el:e,arg:t,modifiers:n,effect:r,evaluate:o,expression:i})=>{if(!t){r(()=>{let l=o();if(l&&typeof l=="object")for(let[c,d]of Object.entries(l))Jd(e,c,d)});return}if(t==="key")return;let s=!!n.prop,a=!!n.dangerous;r(()=>{Jd(e,t,o(),s,a)})},{priority:j.BIND});y("class",({el:e,effect:t,evaluate:n})=>{t(()=>ou(e,n()))});y("style",({el:e,effect:t,evaluate:n})=>{t(()=>Ea(e,n()))});var eu={enter:["Enter"],esc:["Escape"],escape:["Escape"],space:[" ","Spacebar"],tab:["Tab"],delete:["Delete","Backspace"],backspace:["Backspace"],up:["ArrowUp"],down:["ArrowDown"],left:["ArrowLeft"],right:["ArrowRight"]},Kv=["ctrl","shift","alt","meta"];function tu(e,t,n,r){let o=n.detail,i=n.__voodoo===!0,s=t.child({$event:i?o:n,$rawEvent:n,$el:r,$detail:o});try{let a=_e(e),l=N(a,s);typeof l=="function"&&(a.t==="id"||a.t==="member")&&l.call(t.data,i?o:n)}catch(a){K(a,`event ${n.type} ("${e}")`)}}var Yv={hover:"mouseenter",unhover:"mouseleave",tap:"click",press:"pointerdown",release:"pointerup",rightclick:"contextmenu",enterkey:"keydown",type:"input",submitform:"submit"},su={hold(e,t,n,r){let o=Q(typeof n.duration=="string"&&n.duration||Object.keys(n).find(d=>/^[\d.]+(ms|s)?$/.test(d))||e.getAttribute(`${w.prefix}hold-duration`)||800,800),i=null,s=!1,a=d=>{s=!1,e.classList.add("v-holding"),e.style.setProperty("--v-hold-duration",`${o}ms`),i=setTimeout(()=>{s=!0,e.classList.remove("v-holding"),t(d)},o)},l=()=>{i&&clearTimeout(i),i=null,e.classList.remove("v-holding")},c=d=>{s&&(d.preventDefault(),d.stopPropagation(),s=!1)};e.addEventListener("pointerdown",a),e.addEventListener("pointerup",l),e.addEventListener("pointerleave",l),e.addEventListener("pointercancel",l),e.addEventListener("click",c,!0),r(()=>{l(),e.removeEventListener("pointerdown",a),e.removeEventListener("pointerup",l),e.removeEventListener("pointerleave",l),e.removeEventListener("pointercancel",l),e.removeEventListener("click",c,!0)})},outside(e,t,n,r){let o=i=>{e.isConnected&&(e===i.target||e.contains(i.target)||t(i))};document.addEventListener("click",o,!0),r(()=>document.removeEventListener("click",o,!0))},visible(e,t,n,r){var i,s;if(typeof IntersectionObserver=="undefined"){t(new CustomEvent("visible"));return}let o=new IntersectionObserver(a=>{for(let l of a)l.isIntersecting&&(t(new CustomEvent("visible",{detail:l})),n.repeat!==!0&&o.unobserve(e))},{threshold:Number((i=n.threshold)!=null?i:.1),rootMargin:String((s=n.margin)!=null?s:"0px")});o.observe(e),r(()=>o.disconnect())}};for(let e of["left","right","up","down"])su[`swipe${e}`]=(t,n,r,o)=>{let i=0,s=0,a=!1,l=d=>{a=!0,i=d.clientX,s=d.clientY},c=d=>{if(!a)return;a=!1;let u=d.clientX-i,p=d.clientY-s,f=40;(e==="left"?u<-f&&Math.abs(u)>Math.abs(p):e==="right"?u>f&&Math.abs(u)>Math.abs(p):e==="up"?p<-f&&Math.abs(p)>Math.abs(u):p>f&&Math.abs(p)>Math.abs(u))&&n(new CustomEvent(`swipe${e}`,{detail:{dx:u,dy:p}}))};t.addEventListener("pointerdown",l),window.addEventListener("pointerup",c),o(()=>{t.removeEventListener("pointerdown",l),window.removeEventListener("pointerup",c)})};function au(e,t,n,r,o,i){var f;let s=(f=Yv[t])!=null?f:t,a=su[t];if(a){a(e,m=>{o.prevent&&m.preventDefault(),o.stop&&m.stopPropagation(),tu(n,r,m,e)},o,i);return}let l=o.window?window:o.document||o.outside?document:e,c=m=>{if(!(o.self&&m.target!==e)&&!(o.outside&&(e===m.target||e.contains(m.target)||!e.isConnected))){if(m instanceof KeyboardEvent){for(let v of Kv)if(o[v]&&!m[`${v}Key`])return;let h=Object.keys(o).filter(v=>v in eu||/^[a-z0-9]$/.test(v));if(h.length&&!h.some(g=>{let b=eu[g];return b?b.includes(m.key):m.key.toLowerCase()===g}))return}o.prevent&&m.preventDefault(),o.stop&&m.stopPropagation(),tu(n,r,m,e)}},d=o.debounce;d!==void 0&&(c=Ke(c,Q(d===!0?250:d,250)));let u=o.throttle;u!==void 0&&(c=Nr(c,Q(u===!0?250:u,250)));let p={capture:!!o.capture,once:!!o.once,passive:!!o.passive};l.addEventListener(s,c,p),i(()=>l.removeEventListener(s,c,p))}y("on",({el:e,arg:t,expression:n,scope:r,modifiers:o,cleanup:i})=>{t&&au(e,t,n,r,o,i)});var Xv=["click","dblclick","input","change","keyup","keydown","keypress","mouseenter","mouseleave","mouseover","mousedown","mouseup","contextmenu","wheel","paste","dragstart","dragover","dragleave","drop"];for(let e of Xv)y(e,({el:t,expression:n,scope:r,modifiers:o,cleanup:i})=>{au(t,e,n,r,o,i)});y("model",({el:e,expression:t,scope:n,modifiers:r,effect:o,cleanup:i})=>{let s=e,a=s.tagName,l=(s.getAttribute("type")||"text").toLowerCase(),c=a==="INPUT"&&l==="checkbox",d=a==="INPUT"&&l==="radio",u=a==="SELECT",p=u&&s.multiple,f=a==="INPUT"&&l==="file",m=l==="number"||l==="range",h=!!r.lazy,v=!!r.number||m,g=!!r.trim,b=r.debounce?Q(r.debounce===!0?250:r.debounce,250):e.getAttribute(`${w.prefix}debounce`)?Q(e.getAttribute(`${w.prefix}debounce`),250):0,x=h||u||c||d||f?"change":"input",T=()=>{var C,D;let k;if(c){let A=q(t,n,"v-model");if(Array.isArray(A)){let se=s.value,O=[...A],pe=O.indexOf(se);s.checked&&pe===-1?O.push(se):!s.checked&&pe>-1&&O.splice(pe,1),k=O}else k=s.checked}else if(d){if(!s.checked)return;k=s.value}else if(p)k=Array.from(s.selectedOptions).map(A=>A.value);else if(f)k=r.single?(D=(C=s.files)==null?void 0:C[0])!=null?D:null:s.files;else if(k=s.value,g&&typeof k=="string"&&(k=k.trim()),v&&typeof k=="string"){let A=k===""?null:Number(k);k=A===null||Number.isNaN(A)?k:A}Bv(t,n,k)};b>0&&(T=Ke(T,b)),s.addEventListener(x,T),i(()=>s.removeEventListener(x,T)),o(()=>{let k=q(t,n,"v-model");if(c){s.checked=Array.isArray(k)?k.includes(s.value):!!k;return}if(d){s.checked=String(k)===s.value;return}if(p){let D=Array.isArray(k)?k.map(String):[];for(let A of Array.from(s.options))A.selected=D.includes(A.value);return}if(f)return;let C=k==null?"":String(k);s.value!==C&&(s.value=C),u&&s.value!==C&&ut(()=>{s.value!==C&&(s.value=C)})})},{priority:j.MODEL});y("init",({el:e,expression:t,scope:n})=>{Se(()=>{let r=n.child({$el:e}),o=q(t,r,"v-init");typeof o=="function"&&o.call(n.data)})},{priority:j.INIT});y("ref",({el:e,expression:t,scope:n,cleanup:r})=>{var s;let o=t.trim();if(!o)return;let i=(s=n.owner)!=null?s:n;i.refs[o]=e,r(()=>{i.refs[o]===e&&delete i.refs[o]})},{priority:j.REF});y("effect",({effect:e,evaluate:t})=>{e(()=>{t()})});y("watch",({el:e,expression:t,scope:n,effect:r})=>{let o=e.getAttribute(`${w.prefix}model`),i,s=!0;r(()=>{let a=o?q(o,n,"v-watch"):q(t,n,"v-watch");if(s){s=!1,i=a;return}if(a===i)return;let l=i;if(i=a,o){let c=n.child({$value:a,$old:l,$el:e}),d=q(t,c,"v-watch");typeof d=="function"&&d.call(n.data,a,l)}})});y("cloak",({el:e})=>{e.removeAttribute(`${w.prefix}cloak`)});y("once",({el:e,effect:t,evaluate:n})=>{let r=n();r!==void 0&&(e.textContent=kt(r))});y("teleport",({el:e,expression:t,cleanup:n})=>{var s;let r=t.trim()||"body",o=r==="body"?document.body:document.querySelector(r);if(!o){K(new Error(`v-teleport destination not found: ${r}`),"v-teleport");return}let i=document.createComment(" v-teleport ");(s=e.parentNode)==null||s.insertBefore(i,e),o.appendChild(e),n(()=>{var a;(a=i.parentNode)==null||a.insertBefore(e,i),i.remove()})},{priority:j.DATA});for(let e of["transition","enter-class","enter-active-class","enter-to-class","leave-class","leave-active-class","leave-to-class","duration","key","slot","ignore","pre"])y(e,()=>{},{priority:j.TRANSITION});y("data",()=>{},{priority:j.DATA});y("component",()=>{},{priority:j.COMPONENT});me();ce();var du=()=>w.prefix;function V(e,t){return Te(e,`${du()}${t}`)}function La(e,t){return Ft(e,`${du()}${t}`)}function Gv(e,t){var s,a,l;let n=V(e,"target"),r=V(e,"loading"),o={},i=V(e,"headers");if(i){let c=q(i,t,"v-headers");c&&typeof c=="object"&&(o=c)}return{target:n?document.querySelector(n):null,swap:V(e,"swap")||"innerHTML",loadingTarget:r?document.querySelector(r):null,loadingClass:V(e,"loading-class")||"v-loading",disableWhileLoading:La(e,"disable-loading"),confirmMessage:V(e,"confirm"),toastSuccess:V(e,"toast-success"),toastError:V(e,"toast-error"),onSuccess:V(e,"on-success"),onError:V(e,"on-error"),onComplete:V(e,"on-complete"),cacheMs:Q((s=V(e,"cache"))!=null?s:void 0,0),retry:Number((a=V(e,"retry"))!=null?a:0),timeout:Q((l=V(e,"timeout"))!=null?l:void 0,he.defaults.timeout),storeAs:V(e,"as"),jsonPath:V(e,"json-path"),templateSelector:V(e,"template"),offlineQueue:La(e,"offline-queue"),headers:o,redirect:V(e,"redirect"),scrollTo:V(e,"scroll-to")}}function lu(e,t,n,r){var i,s;let o=a=>{for(let l of Array.from(a))l.nodeType===1&&te(l,r)};switch(n){case"none":return;case"delete":G(e),e.remove();return;case"textContent":e.textContent=t;return;case"outerHTML":case"replace":{let a=document.createElement("template");a.innerHTML=t;let l=Array.from(a.content.childNodes);G(e),e.replaceWith(a.content),o(l);return}case"beforebegin":case"afterbegin":case"beforeend":case"afterend":{let a=new Set(Array.from((s=(i=e.parentElement)==null?void 0:i.childNodes)!=null?s:[]));e.insertAdjacentHTML(n,t);let l=n==="afterbegin"||n==="beforeend"?e:e.parentElement;if(l)for(let c of Array.from(l.childNodes))c.nodeType===1&&!a.has(c)&&te(c,r);return}case"append":e.insertAdjacentHTML("beforeend",t),o(e.childNodes);return;case"prepend":e.insertAdjacentHTML("afterbegin",t),o(e.childNodes);return;default:{for(let a of Array.from(e.children))G(a);e.innerHTML=t,o(e.childNodes)}}}function di(e,t=0){if(e==null)return"";if(typeof e!="object")return I(String(e));if(Array.isArray(e)){if(!e.length)return'<p class="v-json-empty">No results.</p>';if(e.every(o=>o&&typeof o=="object"&&!Array.isArray(o))&&t===0){let o=Array.from(e.reduce((a,l)=>{for(let c of Object.keys(l))a.add(c);return a},new Set)),i=o.map(a=>`<th>${I(a)}</th>`).join(""),s=e.map(a=>`<tr>${o.map(l=>`<td>${di(a[l],t+1)}</td>`).join("")}</tr>`).join("");return`<table class="v-json-table"><thead><tr>${i}</tr></thead><tbody>${s}</tbody></table>`}return`<ul class="v-json-list">${e.map(o=>`<li>${di(o,t+1)}</li>`).join("")}</ul>`}let n=Object.entries(e);return n.length?`<dl class="v-json-object">${n.map(([r,o])=>`<dt>${I(r)}</dt><dd>${di(o,t+1)}</dd>`).join("")}</dl>`:""}function Qv(e,t,n,r){let o=document.querySelector(e);if(!o){K(new Error(`Template not found: ${e}`),"v-template");return}for(let s of Array.from(r.children))G(s);r.innerHTML="";let i=Array.isArray(t)?t:[t];for(let[s,a]of i.entries()){let l=o.content.cloneNode(!0),c=Array.from(l.childNodes);r.appendChild(l);let d=n.reactiveChild({item:a,index:s,...a&&typeof a=="object"?a:{}});for(let u of c)u.nodeType===1&&te(u,d)}}var ka=new WeakMap;async function qr(e){var u,p,f,m,h;let{el:t,scope:n,method:r}=e,o=Gv(t,n),i=Tt.has("confirm");if(o.confirmMessage&&!i&&!await Jv(o.confirmMessage))return;(u=ka.get(t))==null||u.abort();let s=new AbortController;ka.set(t,s);let a=(p=o.target)!=null?p:t,l=t instanceof HTMLFormElement?t.querySelector('[type="submit"], button:not([type])'):null,c=()=>{if(t.classList.add(o.loadingClass),t.setAttribute("aria-busy","true"),o.loadingTarget&&o.loadingTarget.style.removeProperty("display"),o.disableWhileLoading){let v=l!=null?l:t;"disabled"in v&&(v.disabled=!0)}},d=()=>{if(t.classList.remove(o.loadingClass),t.removeAttribute("aria-busy"),o.loadingTarget&&(o.loadingTarget.style.display="none"),o.disableWhileLoading){let v=l!=null?l:t;"disabled"in v&&(v.disabled=!1)}};c(),Yn(t,"voodoo:before-request",{method:r,url:e.url});try{let v=await he.request({url:e.url,method:r,body:e.body,params:e.params,headers:o.headers,timeout:o.timeout,retry:o.retry,cache:o.cacheMs||void 0,signal:s.signal,offlineQueue:o.offlineQueue}),g=xa(v.data,o.jsonPath);o.storeAs?n.set(o.storeAs,g):o.templateSelector?Qv(o.templateSelector,g,n,a):typeof g=="string"?lu(a,g,o.swap,n):g!=null&&(Zv(),lu(a,di(g),o.swap,n)),o.toastSuccess&&it.success(o.toastSuccess),o.onSuccess&&Ta(o.onSuccess,n,t,{data:g,response:v}),Yn(t,"voodoo:success",{data:g,response:v}),o.scrollTo&&((f=document.querySelector(o.scrollTo))==null||f.scrollIntoView({behavior:"smooth"})),o.redirect&&location.assign(o.redirect)}catch(v){if((v==null?void 0:v.name)==="AbortError")return;let g=v instanceof ke?(m=wa(v))!=null?m:v.message:(h=v==null?void 0:v.message)!=null?h:"Unknown error";o.toastError?it.error(o.toastError):o.onError||it.error(g),o.onError&&Ta(o.onError,n,t,{error:v,message:g}),Yn(t,"voodoo:error",{error:v,message:g}),K(v,`request ${r} ${e.url}`)}finally{d(),ka.delete(t),o.onComplete&&Ta(o.onComplete,n,t,{}),Yn(t,"voodoo:complete",{})}}function Yn(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function Ta(e,t,n,r){var s;let o=t.child({$el:n,...r}),i=q(e,o,"HTTP callback");typeof i=="function"&&i.call(t.data,(s=r.data)!=null?s:r.error)}async function Jv(e){let t=globalThis.V;return t&&typeof t.confirm=="function"&&t.confirm!==globalThis.confirm?!!await t.confirm(e):globalThis.confirm(e)}var cu=!1;function Zv(){cu||(cu=!0,Promise.resolve().then(()=>(Ne(),Ud)).then(({injectStyle:e})=>{e("json-render",`
130
130
  .v-json-table{width:100%;border-collapse:collapse;font:14px/1.5 var(--v-font-sans,system-ui,sans-serif)}
131
131
  .v-json-table th,.v-json-table td{padding:8px 12px;text-align:left;border-bottom:1px solid var(--v-border,#E6E0F0);vertical-align:top}
132
132
  .v-json-table th{font-weight:650;color:var(--v-text-muted,#6B6580);font-size:12px;text-transform:uppercase;letter-spacing:.04em}
@@ -135,7 +135,7 @@ Suggestion: attribute expressions accept a single value. If the logic spans more
135
135
  .v-json-object dt{font-weight:600;color:var(--v-text-muted,#6B6580)}
136
136
  .v-json-object dd{margin:0}
137
137
  .v-json-empty{color:var(--v-text-muted,#6B6580);font-style:italic}
138
- `)}))}function eh(e){let t=e.tagName;if(t==="FORM")return"submit";if(t==="INPUT"||t==="SELECT"||t==="TEXTAREA"){let n=e.type;return n==="button"||n==="submit"?"click":"change"}return"click"}function th({el:e,cleanup:t,run:n}){var d,u;let r=V(e,"trigger")||eh(e),[o,...i]=r.split(/[.\s]+/),s=Q((d=V(e,"poll"))!=null?d:void 0,0);if(s>0){n();let p=setInterval(()=>{document.visibilityState==="visible"&&n()},s);t(()=>clearInterval(p));return}if(o==="load"||o==="ready"){n();return}if(o==="visible"||o==="revealed"){if(typeof IntersectionObserver=="undefined"){n();return}let p=new IntersectionObserver(f=>{for(let m of f)m.isIntersecting&&(n(),i.includes("repeat")||p.unobserve(e))},{rootMargin:"80px"});p.observe(e),t(()=>p.disconnect());return}let a=i.includes("once"),l=Q((u=V(e,"debounce"))!=null?u:void 0,0),c=p=>{(e.tagName==="FORM"||e.href)&&p.preventDefault(),n(p)};l>0&&(c=Ke(c,l)),e.addEventListener(o,c,{once:a}),t(()=>e.removeEventListener(o,c))}var nh=[["get","GET"],["post","POST"],["put","PUT"],["patch","PATCH"],["delete","DELETE"]];for(let[e,t]of nh)y(e,({el:n,scope:r,expression:o,cleanup:i})=>{th({el:n,scope:r,cleanup:i,run:a=>{let l=Vr(o,r);if(!l)return;let c=V(n,"body")||V(n,"data-body"),d=c?q(c,r.child({$event:a}),"v-body"):void 0,u=V(n,"params"),p=u?q(u,r,"v-params"):void 0;qr({el:n,scope:r,method:t,url:l,body:d,params:p,event:a})}})});function Vr(e,t){let n=e.trim();if(!n)return"";if((/^[./#?]/.test(n)||/^https?:\/\//i.test(n)||/^[\w-]+\/[\w\-/.]*$/.test(n))&&!/[+`'"]|\$\{/.test(n))return n;let o=q(n,t,"URL");return typeof o=="string"?o:n}y("load",({el:e,scope:t,expression:n})=>{let r=Vr(n,t);r&&qr({el:e,scope:t,method:"GET",url:r})});y("load-visible",({el:e,scope:t,cleanup:n,expression:r})=>{let o=Vr(r,t);if(!o)return;if(typeof IntersectionObserver=="undefined"){qr({el:e,scope:t,method:"GET",url:o});return}let i=new IntersectionObserver(s=>{for(let a of s)a.isIntersecting&&(i.unobserve(e),qr({el:e,scope:t,method:"GET",url:o}))},{rootMargin:"120px"});i.observe(e),n(()=>i.disconnect())});y("search",({el:e,scope:t,expression:n,cleanup:r})=>{var u,p;let o=e,i=Vr(n,t),s=V(e,"param")||o.getAttribute("name")||"q",a=Q((u=V(e,"debounce"))!=null?u:void 0,300),l=Number((p=V(e,"min-length"))!=null?p:0),c=Ke(()=>{let f=o.value.trim();f.length<l||qr({el:e,scope:t,method:"GET",url:i,params:{[s]:f}})},a),d=()=>c();o.addEventListener("input",d),r(()=>{o.removeEventListener("input",d),c.cancel()})});y("resource",({el:e,scope:t,expression:n,cleanup:r})=>{var l,c,d,u;let o=n.indexOf(":"),i=V(e,"as")||"resource",s=n.trim();if(o>-1){let p=n.slice(0,o).trim();/^[A-Za-z_$][\w$]*$/.test(p)&&(i=p,s=n.slice(o+1).trim())}let a=li(()=>Vr(s,t),{method:(V(e,"method")||"GET").toUpperCase(),params:()=>V(e,"params")?q(V(e,"params"),t,"v-params"):void 0,cache:Q((l=V(e,"cache"))!=null?l:void 0,0)||void 0,retry:Number((c=V(e,"retry"))!=null?c:0),timeout:Q((d=V(e,"timeout"))!=null?d:void 0,he.defaults.timeout),jsonPath:V(e,"json-path"),poll:Q((u=V(e,"poll"))!=null?u:void 0,0),manual:La(e,"manual"),onSuccess:p=>Yn(e,"voodoo:success",{data:p}),onError:(p,f)=>Yn(e,"voodoo:error",{error:p,message:f})});t.set(i,a),r(()=>a.stop())},{priority:j.DATA});for(let e of["target","swap","trigger","poll","param","params","body","data-body","headers","cache","retry","timeout","as","json-path","template","offline-queue","min-length","scroll-to","manual","debounce","throttle","indicator"])y(e,()=>{},{priority:j.TRANSITION});md(kd);Ed(It);Ad(fu);Kd();var Ur=new Map;function uu(e,t){let n=Ur.get(e);return n||Ur.set(e,n=new Set),n.add(t),()=>n.delete(t)}function rh(e,t){let n=uu(e,r=>{n(),t(r)});return n}function oh(e,t){let n=Ur.get(e);if(n)for(let r of[...n])try{r(t)}catch(o){K(o,`event "${e}"`)}}function ih(e,t){var n;if(!t){Ur.delete(e);return}(n=Ur.get(e))==null||n.delete(t)}function fu(e,t){var r,o;let n=typeof t=="function"?{mounted:t,updated:t}:t;y(e,i=>{var d,u;let s,a=!1,l=p=>{var f,m;return{el:i.el,value:p,oldValue:s,arg:i.arg,modifiers:i.modifiers,expression:i.expression,scope:i.scope,instance:(m=(f=i.scope.owner)==null?void 0:f.component)!=null?m:null}},c=n.raw?i.expression:i.evaluate();(d=n.created)==null||d.call(n,i.el,l(c)),(u=n.beforeMount)==null||u.call(n,i.el,l(c)),i.effect(()=>{var m,h;let p=n.raw?i.expression:i.evaluate();if(!a){a=!0,s=p,(m=n.mounted)==null||m.call(n,i.el,l(p));return}if(p===s)return;let f=l(p);(h=n.updated)==null||h.call(n,i.el,f),s=p}),i.cleanup(()=>{var f,m;let p=l(s);(f=n.beforeUnmount)==null||f.call(n,i.el,p),(m=n.unmounted)==null||m.call(n,i.el,p)})},{priority:(r=n.priority)!=null?r:j.DEFAULT,terminal:(o=n.terminal)!=null?o:!1})}function sh(e){return Object.defineProperties(We.data,Object.getOwnPropertyDescriptors(e)),We.data}var ah="0.11.1",ui={...ma,version:ah,config:w,reactive:Y,ref:Mr,shallowRef:zs,computed:Sr,effect:Fe,watch:Ie,watchEffect:js,nextTick:ut,toRaw:Me,markRaw:Fs,unref:Bs,stop:Ps,effectScope:Ns,EffectScope:rt,flushSync:As,data:sh,store:Pd,stores:Fn,removeStore:Nd,storeNames:Go,scope:We,component:zt,components:De,directive:fu,directives:Tt,magic:H,magics:Ar,createApp:Rd,start:bd,whenReady:Ko,whenElement:Yo,walk:ee,refresh:xd,destroy:G,stopObserving:yd,getScope:ot,findScope:Ce,addCleanup:Xe,parseAttribute:$n,parse:_e,tokenize:Oo,evaluate:N,evaluateIn:q,stringify:kt,clearParseCache:Vc,globals:He,http:he,request:jt,HttpError:ke,resource:li,toast:it,storage:ue,session:ri,cookie:oi,cache:ii,url:Vt,theme:ft,clipboard:ai,screen:Ge,network:Ut,enter:Br,leave:jr,fadeIn:Wn,fadeOut:Kn,slideUp:dn,slideDown:cn,viewTransition:ci,injectStyle:oe,ensureTokens:ge,on:uu,once:rh,off:ih,emit:oh,use(e,t){Io(ui,e,t)},onError(e){Rs(e)},instances:At,Scope:Lt,PRIORITY:j,VoodooSyntaxError:re,VoodooRuntimeError:Ee};Dd(ui);me();var lh=new Set(["animation-iteration-count","aspect-ratio","border-image-slice","column-count","flex","flex-grow","flex-shrink","font-weight","grid-area","grid-column","grid-row","line-height","opacity","order","orphans","scale","tab-size","widows","z-index","zoom"]);function wu(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function st(e){return e.length<2?e:Array.from(new Set(e))}function un(e){return String(e!=null?e:"").split(/\s+/).filter(Boolean)}function Ma(e){if(typeof document=="undefined")return[];let t=document.createElement("template");t.innerHTML=e.trim();let n=[];for(let r of Array.from(t.content.children))n.push(r);return n}function Eu(e){return e.length>2&&e.charCodeAt(0)===60&&e.endsWith(">")}function ch(e){if(e==null)return typeof document=="undefined"?[]:[document];if(e instanceof pt)return e.toArray();if(typeof e=="string")return fn(e);if(typeof e=="function")return typeof document=="undefined"?[]:[document];let t=fn(e);return t.length?t:typeof document=="undefined"?[]:[document]}function fn(e,t){if(e==null)return[];if(typeof e=="string"){let o=e.trim();if(!o)return[];if(Eu(o))return Ma(o);let i=[];for(let s of ch(t))try{for(let a of Array.from(s.querySelectorAll(o)))i.push(a)}catch(a){}return st(i)}if(e instanceof pt)return e.toArray();if(typeof e=="function")return[];let n=e;if(typeof n.nodeType=="number"){if(n.nodeType===1)return[n];if(n.nodeType===9){let o=n;return o.documentElement?[o.documentElement]:[]}return n.nodeType===11?Array.from(n.children):[]}let r=e;if(typeof r.length=="number"){let o=[];for(let i=0;i<r.length;i++){let s=r[i];s&&s.nodeType===1&&o.push(s)}return st(o)}return[]}function pu(e){if(e==null)return[];if(typeof e=="string"){let r=e;return Eu(r.trim())?Ma(r):[document.createTextNode(r)]}if(e instanceof pt)return e.toArray();if(typeof e=="function")return[];let t=e;if(typeof t.nodeType=="number")return[t];let n=e;if(typeof n.length=="number"){let r=[];for(let o=0;o<n.length;o++)n[o]&&r.push(n[o]);return r}return[]}function fi(e,t,n){let r=wu(t);if(n===null||n===""){e.style.removeProperty(r);return}let o=typeof n=="number"&&!lh.has(r)&&!r.startsWith("--")?`${n}px`:String(n);e.style.setProperty(r,o)}function dh(e,t){for(let[n,r]of Object.entries(t))fi(e,n,r)}function mu(e){if(e===void 0)return;if(e==="")return"";if(e==="true")return!0;if(e==="false")return!1;if(e==="null")return null;if(/^-?\d+(\.\d+)?$/.test(e))return Number(e);let t=e.charCodeAt(0);if(t===123||t===91||t===34)try{return JSON.parse(e)}catch(n){return e}return e}function vu(e){return e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase())}var ku=new WeakMap;function hu(e){return e.hasAttribute("hidden")||e.style.display==="none"?!0:e.isConnected?getComputedStyle(e).display==="none":!1}function gu(e){e.removeAttribute("hidden");let t=ku.get(e);t!==void 0&&t!=="none"?e.style.display=t:e.style.removeProperty("display"),e.isConnected&&getComputedStyle(e).display==="none"&&(e.style.display="block")}function bu(e){let t=e.style.display;t&&t!=="none"&&ku.set(e,t),e.style.display="none"}var yu="input,select,textarea";function xu(e){return e.matches(yu)?[e]:Array.from(e.querySelectorAll(yu))}function uh(e){let t=e;if(!t.name||t.disabled)return!1;let n=(t.getAttribute("type")||"").toLowerCase();return!(n==="file"||n==="submit"||n==="reset"||n==="button"||(n==="checkbox"||n==="radio")&&!t.checked)}var pi=new WeakMap;function fh(e){let t=pi.get(e);return t||pi.set(e,t=[]),t}var pt=class e{constructor(t=[]){P(this,"length");P(this,"elements");this.elements=t,this.length=t.length;let n=this;for(let r=0;r<t.length;r++)n[r]=t[r]}[Symbol.iterator](){return this.elements[Symbol.iterator]()}find(t){let n=[];for(let r of this.elements)try{for(let o of Array.from(r.querySelectorAll(t)))n.push(o)}catch(o){}return new e(st(n))}closest(t){let n=[];for(let r of this.elements){let o=r.closest(t);o&&n.push(o)}return new e(st(n))}parent(t){let n=[];for(let r of this.elements){let o=r.parentElement;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}parents(t){let n=[];for(let r of this.elements){let o=r.parentElement;for(;o;)(!t||o.matches(t))&&n.push(o),o=o.parentElement}return new e(st(n))}children(t){let n=[];for(let r of this.elements)for(let o of Array.from(r.children))(!t||o.matches(t))&&n.push(o);return new e(st(n))}siblings(t){let n=[];for(let r of this.elements){let o=r.parentElement;if(o)for(let i of Array.from(o.children))i!==r&&(!t||i.matches(t))&&n.push(i)}return new e(st(n))}next(t){let n=[];for(let r of this.elements){let o=r.nextElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}prev(t){let n=[];for(let r of this.elements){let o=r.previousElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}first(){return this.eq(0)}last(){return this.eq(-1)}eq(t){let n=t<0?this.elements.length+t:t,r=this.elements[n];return new e(r?[r]:[])}filter(t){let n=this.elements.filter((r,o)=>typeof t=="function"?t(r,o):r.matches(t));return new e(n)}not(t){let n=this.elements.filter((r,o)=>typeof t=="function"?!t(r,o):!r.matches(t));return new e(n)}has(t){let n=this.elements.filter(r=>typeof t=="string"?r.querySelector(t)!==null:r.contains(t));return new e(n)}is(t){return this.elements.some((n,r)=>typeof t=="function"?t(n,r):n.matches(t))}map(t){return this.elements.map((n,r)=>t(n,r))}each(t){for(let n=0;n<this.elements.length;n++){let r=this.elements[n];if(t.call(r,r,n)===!1)break}return this}get(...t){if(!t.length)return this.toArray();let n=Number(t[0]);return this.elements[n<0?this.elements.length+n:n]}toArray(){return this.elements.slice()}add(t,n){return new e(st([...this.elements,...fn(t,n)]))}slice(t,n){return new e(this.elements.slice(t,n))}text(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.textContent)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))G(a);s.textContent=r}return this}html(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.innerHTML)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))G(a);s.innerHTML=r}return this}val(...t){var r;if(!t.length){let o=this.elements[0];if(!o)return"";let i=o;return o.tagName==="SELECT"&&i.multiple?Array.from(i.selectedOptions).map(s=>s.value):o.type==="checkbox"?o.checked?o.value||"on":"":(r=o.value)!=null?r:""}let n=t[0];for(let o of this.elements){let i=o,s=o;if(i.tagName==="SELECT"&&s.multiple){let a=(Array.isArray(n)?n:[n]).map(String);for(let l of Array.from(s.options))l.selected=a.includes(l.value);continue}if(i.type==="checkbox"||i.type==="radio"){i.checked=Array.isArray(n)?n.map(String).includes(i.value):n===!0||String(n)===i.value;continue}i.value=n==null?"":String(n)}return this}attr(...t){var i,s;let n=t[0];if(n!==null&&typeof n=="object"){for(let a of this.elements)for(let[l,c]of Object.entries(n))c===null||c===!1?a.removeAttribute(l):a.setAttribute(l,c===!0?"":String(c));return this}let r=String(n);if(t.length<2)return(s=(i=this.elements[0])==null?void 0:i.getAttribute(r))!=null?s:void 0;let o=t[1];for(let a of this.elements)o===null||o===!1?a.removeAttribute(r):a.setAttribute(r,o===!0?"":String(o));return this}removeAttr(t){let n=un(t);for(let r of this.elements)for(let o of n)r.removeAttribute(o);return this}prop(...t){let n=String(t[0]);if(t.length<2){let r=this.elements[0];return r?r[n]:void 0}for(let r of this.elements)r[n]=t[1];return this}data(...t){let n=t[0];if(!t.length){let i=this.elements[0];if(!i)return{};let s={};for(let[a,l]of Object.entries(i.dataset))s[a]=mu(l);return s}if(n!==null&&typeof n=="object"){for(let i of this.elements)for(let[s,a]of Object.entries(n))i.dataset[vu(s)]=typeof a=="string"?a:JSON.stringify(a!=null?a:null);return this}let r=vu(String(n));if(t.length<2){let i=this.elements[0];return i?mu(i.dataset[r]):void 0}let o=t[1];for(let i of this.elements)i.dataset[r]=typeof o=="string"?o:JSON.stringify(o!=null?o:null);return this}css(...t){let n=t[0];if(n!==null&&typeof n=="object"){for(let o of this.elements)dh(o,n);return this}let r=String(n);if(t.length<2){let o=this.elements[0];if(!o)return"";let i=wu(r);return((o.isConnected?getComputedStyle(o).getPropertyValue(i):"")||o.style.getPropertyValue(i)).trim()}for(let o of this.elements)fi(o,r,t[1]);return this}width(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().width:0}for(let n of this.elements)fi(n,"width",t[0]);return this}height(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().height:0}for(let n of this.elements)fi(n,"height",t[0]);return this}offset(){let t=this.elements[0];if(!t)return{top:0,left:0};let n=t.getBoundingClientRect();return{top:n.top+window.scrollY,left:n.left+window.scrollX}}position(){let t=this.elements[0];return t?{top:t.offsetTop,left:t.offsetLeft}:{top:0,left:0}}scrollTop(...t){var r,o;if(!t.length)return(o=(r=this.elements[0])==null?void 0:r.scrollTop)!=null?o:0;let n=Number(t[0])||0;for(let i of this.elements)i.scrollTop=n;return this}addClass(t){let n=un(t);if(n.length)for(let r of this.elements)r.classList.add(...n);return this}removeClass(t){let n=un(t);if(n.length)for(let r of this.elements)r.classList.remove(...n);return this}toggleClass(t,n){let r=un(t);for(let o of this.elements)for(let i of r)n===void 0?o.classList.toggle(i):o.classList.toggle(i,n);return this}hasClass(t){let n=un(t);return n.length?this.elements.some(r=>n.every(o=>r.classList.contains(o))):!1}insert(t,n){let r=this.elements.length;for(let o=0;o<r;o++){let i=this.elements[o];for(let s of pu(t))n(i,o===r-1?s:s.cloneNode(!0))}return this}append(t){return this.insert(t,(n,r)=>n.appendChild(r))}prepend(t){return this.insert(t,(n,r)=>n.insertBefore(r,n.firstChild))}before(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n)})}after(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n.nextSibling)})}appendTo(t){let n=fn(t);for(let r=0;r<n.length;r++)for(let o of this.elements)n[r].appendChild(r===n.length-1?o:o.cloneNode(!0));return this}prependTo(t){let n=fn(t);for(let r=0;r<n.length;r++){let o=n[r],i=this.elements.map(s=>r===n.length-1?s:s.cloneNode(!0));for(let s=i.length-1;s>=0;s--)o.insertBefore(i[s],o.firstChild)}return this}replaceWith(t){for(let n of this.elements){let r=n.parentNode;if(r){for(let o of pu(t))r.insertBefore(o,n);G(n),n.remove()}}return this}wrap(t){var n;for(let r of this.elements){let o=fn(t)[0];if(!o)continue;let i=o.cloneNode(!0);(n=r.parentNode)==null||n.insertBefore(i,r);let s=i;for(;s.firstElementChild;)s=s.firstElementChild;s.appendChild(r)}return this}unwrap(){let t=new Set;for(let n of this.elements){let r=n.parentElement;r&&r!==document.body&&t.add(r)}for(let n of t){let r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);G(n),n.remove()}}return this}remove(){for(let t of this.elements)G(t),t.remove();return this}empty(){for(let t of this.elements){for(let n of Array.from(t.childNodes))G(n);t.replaceChildren()}return this}clone(t=!0){return new e(this.elements.map(n=>n.cloneNode(t)))}on(t,...n){var a;let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0],s=(a=r?n[2]:n[1])!=null?a:{};if(typeof i!="function")return this;for(let l of this.elements)for(let c of un(t)){let d=u=>{if(!o){i.call(l,u);return}let p=u.target,f=p==null?void 0:p.closest(o);!f||!l.contains(f)||i.call(f,u)};l.addEventListener(c,d,s),fh(l).push({type:c,selector:o,handler:i,wrapped:d,options:s})}return this}off(t,n,r){let o=typeof n=="string"?n:null,i=typeof n=="function"?n:r!=null?r:null,s=t?un(t):null;for(let a of this.elements){let l=pi.get(a);if(!l)continue;let c=[];for(let d of l){let u=!s||s.includes(d.type),p=o===null||d.selector===o,f=i===null||d.handler===i;u&&p&&f?a.removeEventListener(d.type,d.wrapped,d.options):c.push(d)}pi.set(a,c)}return this}once(t,...n){let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0];if(typeof i!="function")return this;let s=this,a=function(l){return o?s.off(t,o,a):s.off(t,a),i.call(this,l)};return o?this.on(t,o,a):this.on(t,a)}trigger(t,n){for(let r of this.elements){if(n===void 0&&typeof r[t]=="function"){r[t]();continue}let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}emit(t,n){for(let r of this.elements){let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}show(){for(let t of this.elements)gu(t);return this}hide(){for(let t of this.elements)bu(t);return this}toggle(t){for(let n of this.elements)(t===void 0?hu(n):t)?gu(n):bu(n);return this}fadeIn(t=220){for(let n of this.elements)n.removeAttribute("hidden"),Wn(n,t);return this}fadeOut(t=220){for(let n of this.elements)Kn(n,t);return this}slideUp(t=240){for(let n of this.elements)dn(n,t);return this}slideDown(t=240){for(let n of this.elements)n.removeAttribute("hidden"),cn(n,t);return this}slideToggle(t=240){for(let n of this.elements)hu(n)?(n.removeAttribute("hidden"),cn(n,t)):dn(n,t);return this}animate(t,n=300){for(let r of this.elements)typeof r.animate=="function"&&r.animate(t,n);return this}scrollIntoView(t={behavior:"smooth",block:"start"}){var n;return(n=this.elements[0])==null||n.scrollIntoView(t),this}serialize(){let t=this.elements[0];if(!t)return"";let n=new URLSearchParams;for(let r of xu(t)){if(!uh(r))continue;let o=r,i=r;if(o.tagName==="SELECT"&&i.multiple){for(let s of Array.from(i.selectedOptions))n.append(o.name,s.value);continue}n.append(o.name,o.value)}return n.toString()}serializeObject(){var r,o,i,s;let t=this.elements[0],n={};if(!t)return n;for(let a of xu(t)){let l=a;if(!l.name||l.disabled)continue;let c=(l.getAttribute("type")||"").toLowerCase();if(c==="submit"||c==="reset"||c==="button")continue;let d=l.name.endsWith("[]"),u=d?l.name.slice(0,-2):l.name,p=a,f;if(c==="checkbox"){if(!l.checked&&!d){n[u]=(r=n[u])!=null?r:!1;continue}if(!l.checked)continue;f=l.value==="on"?!0:l.value}else if(c==="radio"){if(!l.checked)continue;f=l.value}else c==="file"?f=l.multiple?Array.from((o=l.files)!=null?o:[]):(s=(i=l.files)==null?void 0:i[0])!=null?s:null:l.tagName==="SELECT"&&p.multiple?f=Array.from(p.selectedOptions).map(m=>m.value):c==="number"||c==="range"?f=l.value===""?null:Number(l.value):f=l.value;if(d){let m=n[u];Array.isArray(m)?m.push(f):n[u]=[f];continue}if(Object.prototype.hasOwnProperty.call(n,u)){let m=n[u];Array.isArray(m)?m.push(f):m===void 0||m===!1?n[u]=f:n[u]=[m,f];continue}n[u]=f}return n}focus(t){var n;return(n=this.elements[0])==null||n.focus(t),this}blur(){for(let t of this.elements)t.blur();return this}select(){for(let t of this.elements){let n=t;typeof n.select=="function"&&n.select()}return this}walk(t=!1){for(let n of this.elements)t&&G(n),ee(n,Ce(n.parentNode));return this}destroy(){for(let t of this.elements)G(t);return this}};function Sa(e,t){if(typeof e=="function"){Ca(e);let n=typeof document!="undefined"?document.documentElement:null;return new pt(n?[n]:[])}return new pt(fn(e,t))}function Ca(e){return typeof document=="undefined"?Promise.resolve():new Promise(t=>{Cd(()=>{try{e==null||e()}catch(n){K(n,"V.ready")}t()})})}function Tu(e){return new pt(Ma(e))}me();ce();var pn=new Map,ze={emit(e,t){let n=pn.get(e);if(!(!n||n.size===0))for(let r of[...n])try{r(t)}catch(o){console.error("[Voodoo] error in devtools listener:",o)}},on(e,t){let n=pn.get(e);return n||pn.set(e,n=new Set),n.add(t),()=>{n==null||n.delete(t)}},off(e,t){var n;(n=pn.get(e))==null||n.delete(t)},clear(e){e?pn.delete(e):pn.clear()},count(e){var t,n;return(n=(t=pn.get(e))==null?void 0:t.size)!=null?n:0}};var U={mode:"history",base:"/",beforeEach:null,afterEach:null,linkActiveClass:"v-link-active",linkExactActiveClass:"v-link-exact-active",transition:!0,titleTemplate:"%s",scrollBehavior:null},mi="__voodooRoute",Su=10,mt=[],Cu=new Map,vi=new Map,Xn="inicial",hi=!1,Au=!1;function ph(){return{path:"/",fullPath:"/",params:{},query:{},hash:"",name:"",meta:{},matched:null}}var de=Y(ph());function _r(e){let t=e||"/";return t.startsWith("/")||(t=`/${t}`),t=t.replace(/\/{2,}/g,"/"),t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t}function Ru(e){let t={};return e&&new URLSearchParams(e.startsWith("?")?e.slice(1):e).forEach((r,o)=>{t[o]=r}),t}function mh(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))r!=null&&t.append(n,String(r));return t.toString()}function Da(e){let t=e||"/",n="",r=t.indexOf("#");r>-1&&(n=t.slice(r+1),t=t.slice(0,r));let o={},i=t.indexOf("?");return i>-1&&(o=Ru(t.slice(i+1)),t=t.slice(0,i)),{path:_r(t),query:o,hash:n}}function vh(e){let t=U.base.replace(/\/$/,"");return!t||t===""?e:e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e}function $u(){return typeof window=="undefined"?{path:"/",query:{},hash:""}:U.mode==="hash"?Da(window.location.hash.slice(1)||"/"):{path:_r(vh(window.location.pathname)),query:Ru(window.location.search),hash:window.location.hash.slice(1)}}function Du(e,t,n){let r=mh(t);return`${e}${r?`?${r}`:""}${n?`#${n}`:""}`}function Pa(e){let t=Du(e.path,e.query,e.hash);if(U.mode==="hash"){let{pathname:r,search:o}=window.location;return`${r}${o}#${t}`}return`${U.base==="/"?"":U.base.replace(/\/$/,"")}${t}`||"/"}var Ra=!1,gi=!1;function Na(e,t,n){if(!Ra)try{n?window.history.replaceState(e,"",t):window.history.pushState(e,"",t);return}catch(i){if(!(i instanceof Error)||i.name!=="SecurityError")throw i;Ra=!0}if(U.mode!=="hash")return;let r=t.indexOf("#");if(r<0)return;let o=t.slice(r);if(window.location.hash!==o){gi=!0;try{window.location.hash=o}finally{setTimeout(()=>{gi=!1},0)}}}function Pu(e,t){let n=e==="*"?"*":_r(e),r=n==="*"?["*"]:n.split("/").filter(Boolean),o=[],i=r.length*10;for(let s of r){if(s==="*"||s==="**"){o.push({type:"wildcard",value:"*",optional:!0}),i-=30;continue}if(s.startsWith(":")){let a=s.endsWith("?"),l=s.slice(1,a?-1:void 0);o.push({type:"param",value:l,optional:a}),i+=a?1:2;continue}o.push({type:"static",value:s,optional:!1}),i+=4}return{pattern:n,segments:o,score:i,record:t}}function hh(e,t){let n={},r=0;for(let o of e){if(o.type==="wildcard")return n["*"]=t.slice(r).map(Aa).join("/"),n;if(r>=t.length){if(o.optional)continue;return null}let i=t[r];if(o.type==="static"){if(Aa(i)!==o.value)return null;r++;continue}n[o.value]=Aa(i),r++}return r===t.length?n:null}function Aa(e){try{return decodeURIComponent(e)}catch(t){return e}}function gh(e){let t=e.split("/").filter(Boolean),n=null;for(let r of mt){let o=hh(r.segments,t);o&&(!n||r.score>n.route.score)&&(n={route:r,params:o})}return n}function Ha(e){var t,n;return e&&(n=(t=mt.find(r=>r.pattern===e))==null?void 0:t.record)!=null?n:null}function Gn(e){let{path:t,query:n,hash:r}=Da(e);return Oa(t,n,r)}function Oa(e,t,n){var o,i;let r=gh(e);return{path:e,fullPath:Du(e,t,n),params:r?r.params:{},query:t,hash:n,name:(o=r==null?void 0:r.route.record.name)!=null?o:"",meta:(i=r==null?void 0:r.route.record.meta)!=null?i:{},matched:r?r.route.pattern:null}}function Qn(){return{path:de.path,fullPath:de.fullPath,params:{...de.params},query:{...de.query},hash:de.hash,name:de.name,meta:de.meta,matched:de.matched}}function Fa(e){de.path=e.path,de.fullPath=e.fullPath,de.params=e.params,de.query=e.query,de.hash=e.hash,de.name=e.name,de.meta=e.meta,de.matched=e.matched;let t=Ha(e.matched);t!=null&&t.title&&typeof document!="undefined"&&(document.title=U.titleTemplate.includes("%s")?U.titleTemplate.replace("%s",t.title):t.title)}async function Ia(e,t){let n=Ha(e.matched);if(n!=null&&n.redirect)return n.redirect;if(n!=null&&n.beforeEnter){let r=await n.beforeEnter(e,t);if(r===!1)return!1;if(typeof r=="string")return r}if(U.beforeEach){let r=await U.beforeEach(e,t);if(r===!1)return!1;if(typeof r=="string")return r}return!0}function yi(){typeof window!="undefined"&&Cu.set(Xn,window.scrollY)}function za(e,t,n){typeof window!="undefined"&&Se(()=>{requestAnimationFrame(()=>{var o;let r=i=>{Math.abs(window.scrollY-i)>1&&window.scrollTo(0,i)};if(U.scrollBehavior){let i=U.scrollBehavior(e,t,n);if(i===!1)return;if(typeof i=="number"){r(i);return}}if(e.hash){let i=(o=document.getElementById(e.hash))!=null?o:/^[\w-]+$/.test(e.hash)?document.querySelector(`[name="${e.hash}"]`):null;if(i){i.scrollIntoView({behavior:"smooth",block:"start"});return}}r(n!=null?n:0)})})}async function _t(e,t={}){var a,l;if(typeof window=="undefined")return!1;Nu();let n=Qn(),r=Gn(e);if(!t.force&&r.fullPath===n.fullPath)return!0;for(let c=0;;c++){if(c>Su)return X(`Router: too many redirects when navigating to "${e}".`),!1;let d=await Ia(r,n);if(d===!1)return ze.emit("navigation",{from:n.fullPath,to:r.fullPath,cancelled:!0,matched:r.matched}),!1;if(typeof d=="string"){r=Gn(d);continue}break}yi();let o=le("rota"),i={...(a=t.state)!=null?a:{},[mi]:o},s=Pa(r);return Na(i,s,t.replace===!0),Xn=o,Fa(r),t.scroll!==!1&&za(r,n,null),(l=U.afterEach)==null||l.call(U,Qn(),n),ze.emit("navigation",{from:n.fullPath,to:r.fullPath,matched:r.matched}),!0}async function bh(e){var c,d;if(gi)return;let{path:t,query:n,hash:r}=$u(),o=Oa(t,n,r),i=Qn();if(o.fullPath===i.fullPath)return;let s=await Ia(o,i);if(s===!1){Na({[mi]:Xn},Pa(i),!0),ze.emit("navigation",{from:i.fullPath,to:o.fullPath,cancelled:!0,matched:o.matched});return}if(typeof s=="string"){_t(s,{replace:!0});return}yi();let a=e.state,l=a&&a[mi]||le("rota");Xn=l,Fa(o),za(o,i,(c=Cu.get(l))!=null?c:0),(d=U.afterEach)==null||d.call(U,Qn(),i),ze.emit("navigation",{from:i.fullPath,to:o.fullPath,matched:o.matched})}function bi(e){bh(e)}function Nu(){hi||typeof window=="undefined"||(hi=!0,"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),window.addEventListener("popstate",bi),U.mode==="hash"&&window.addEventListener("hashchange",bi),window.addEventListener("beforeunload",yi))}function yh(){!hi||typeof window=="undefined"||(hi=!1,window.removeEventListener("popstate",bi),window.removeEventListener("hashchange",bi),window.removeEventListener("beforeunload",yi),Ra=!1,gi=!1)}async function xh(){var i;if(typeof window=="undefined")return;let{path:e,query:t,hash:n}=$u(),r=Qn(),o=Oa(e,t,n);for(let s=0;;s++){if(s>Su){X("Router: too many redirects in the initial route.");return}let a=await Ia(o,r);if(a===!1)return;if(typeof a=="string"){o=Gn(a);continue}break}Xn=le("rota"),Na({[mi]:Xn},Pa(o),!0),Fa(o),o.hash&&za(o,r,null),(i=U.afterEach)==null||i.call(U,Qn(),r)}function wh(e,t){let n=Pu(e,t),r=mt.findIndex(o=>o.pattern===n.pattern);r>-1?mt.splice(r,1,n):mt.push(n)}function Eh(e){let t=e==="*"?"*":_r(e),n=mt.findIndex(r=>r.pattern===t);n>-1&&mt.splice(n,1)}function kh(){return[...mt].sort((e,t)=>t.score-e.score).map(e=>e.pattern)}function Th(e){e?vi.delete(e):vi.clear()}function Lh(e){var t,n,r,o,i,s,a,l,c,d;U.mode=(t=e.mode)!=null?t:"history",U.base=_r((n=e.base)!=null?n:"/"),U.beforeEach=(r=e.beforeEach)!=null?r:null,U.afterEach=(o=e.afterEach)!=null?o:null,U.linkActiveClass=(i=e.linkActiveClass)!=null?i:"v-link-active",U.linkExactActiveClass=(s=e.linkExactActiveClass)!=null?s:"v-link-exact-active",U.transition=(a=e.transition)!=null?a:!0,U.titleTemplate=(l=e.titleTemplate)!=null?l:"%s",U.scrollBehavior=(c=e.scrollBehavior)!=null?c:null,mt.length=0;for(let[u,p]of Object.entries((d=e.routes)!=null?d:{}))mt.push(Pu(u,p));return Au=!0,Nu(),xh(),Wr}var Mh={get current(){return de},push:(e,t={})=>_t(e,t),replace:(e,t={})=>_t(e,{...t,replace:!0}),navigate:_t,back:()=>{typeof window!="undefined"&&window.history.back()},forward:()=>{typeof window!="undefined"&&window.history.forward()},go:e=>{typeof window!="undefined"&&window.history.go(e)},resolve:Gn,addRoute:wh,removeRoute:Eh,patterns:kh,stop:yh,clearViewCache:Th,get ready(){return Au}},Wr=Object.defineProperties(Lh,Object.getOwnPropertyDescriptors(Mh));H("$route",()=>de);H("$router",()=>Wr);async function Sh(e){let t=vi.get(e);if(t!==void 0)return t;let n=await he.get(e,{responseType:"text"}),r=typeof n=="string"?n:String(n!=null?n:"");return vi.set(e,r),r}function Ch(e){return Object.keys(e).sort().map(n=>`${n}=${e[n]}`).join("&")}y("router-view",({el:e,scope:t,modifiers:n,effect:r,cleanup:o})=>{Uo(e);let i=e.innerHTML,s=U.transition&&!n["no-transition"],a=0,l=()=>{for(let u of Array.from(e.childNodes))G(u);e.textContent=""},c=(u,p)=>{if(l(),u!=null&&u.component){let f=document.createElement("div");f.setAttribute(`${w.prefix}component`,u.component),f.className="v-router-page",e.appendChild(f),ee(f,t);return}e.innerHTML=p!=null?p:i;for(let f of Array.from(e.childNodes))ee(f,t)},d=async(u,p)=>{let f=null;if(u!=null&&u.view){e.classList.add("v-router-loading");try{f=await Sh(u.view)}catch(m){K(m,`v-router-view loading "${u.view}"`),f=""}finally{e.classList.remove("v-router-loading")}if(p!==a)return}s?ci(()=>c(u,f)):c(u,f)};r(()=>{let u=de.matched;Ch(de.params);let p=Ha(u);d(p,++a)}),o(()=>{a++,l()})},{priority:j.DEFAULT});var Ah=/^[a-z][a-z0-9+.-]*:/i;function Lu(e){return!!(!e||e.startsWith("//")||Ah.test(e))}function Mu(e,t,n){var i;let r=t.trim();if(r){if(r.startsWith("/")||r.startsWith("#"))return r;let s=n(r);return typeof s=="string"&&s?s:r}let o=(i=e.getAttribute("href"))!=null?i:"";return U.mode==="hash"&&o.startsWith("#")?o.slice(1)||"/":o}function $a(e,t){let{path:n}=Da(e);return n==="/"||t?de.path===n:de.path===n||de.path.startsWith(`${n}/`)}y("link",({el:e,expression:t,modifiers:n,effect:r,cleanup:o,evaluate:i})=>{let s=e,a=l=>{var u;if(l.defaultPrevented||l.metaKey||l.ctrlKey||l.shiftKey||l.altKey||typeof l.button=="number"&&l.button!==0)return;let c=s.getAttribute("target");if(c&&c!=="_self"||s.hasAttribute("download")||((u=s.getAttribute("rel"))!=null?u:"").split(/\s+/).includes("external"))return;let d=Mu(e,t,i);d&&(Lu(d)||U.mode!=="hash"&&d.startsWith("#")||(l.preventDefault(),_t(d,{replace:!!n.replace,scroll:n["no-scroll"]?!1:void 0})))};e.addEventListener("click",a),o(()=>e.removeEventListener("click",a)),r(()=>{let l=Mu(e,t,i);if(!l||Lu(l))return;let c=$a(l,!0),d=c||$a(l,!1);e.classList.toggle(U.linkActiveClass,d),e.classList.toggle(U.linkExactActiveClass,c),c?e.setAttribute("aria-current","page"):e.removeAttribute("aria-current")})});y("route-active",({el:e,expression:t,arg:n,modifiers:r,effect:o,evaluate:i})=>{let s=n||"active";o(()=>{var d;let a=t.trim(),l=a.startsWith("/")||!a?a:(d=i(a))!=null?d:a,c=l?$a(String(l),!!r.exact):!1;e.classList.toggle(s,c)})});me();ce();var Rh="voodoo:locale",z=Y({locale:w.locale||"pt-BR",fallback:"en",currency:w.currency||"BRL",messages:{}}),Jn=Rh,Zn="",Ba=new Map;function xi(e,t){let n=z.messages[e];if(!n)return null;let r=n[t];if(typeof r=="string")return r;let o=n;for(let i of t.split(".")){if(o==null||typeof o=="string")return null;o=o[i]}return typeof o=="string"?o:null}function wi(e){let t=[e],n=e.split("-")[0];n&&n!==e&&t.push(n);for(let r of Object.keys(z.messages))r!==e&&r.split("-")[0]===n&&t.push(r);return t}var Hu=new Map;function $h(e,t){try{let n=Hu.get(e);return n||Hu.set(e,n=new Intl.PluralRules(e)),n.select(t)}catch(n){return t===1?"one":"other"}}var Dh=["zero","one","two","few","many","other"];function Ph(e,t,n){var i;if(e.length<=1)return(i=e[0])!=null?i:"";let r=$h(n,t);if(e.length===2)return r==="one"?e[0]:e[1];if(e.length===3)return t===0?e[0]:r==="one"?e[1]:e[2];let o=Dh.indexOf(r);return e[Math.min(o<0?e.length-1:o,e.length-1)]}var Nh=/\{\s*([\w.$-]+)\s*\}/g;function Hh(e,t){return e.indexOf("{")===-1?e:e.replace(Nh,(n,r)=>{let o=t[r];return o==null?n:String(o)})}function Oh(e){return e==null?{}:typeof e=="number"?{n:e}:e}function er(e,t){var i,s;if(!e)return"";let n=Oh(t),r=z.locale,o=null;for(let a of wi(r))if(o=xi(a,e),o!==null)break;if(o===null&&z.fallback&&z.fallback!==r){for(let a of wi(z.fallback))if(o=xi(a,e),o!==null)break}if(o===null)return e;if(o.includes("|")){let a=Number((s=(i=n.n)!=null?i:n.count)!=null?s:0),l=o.split("|").map(c=>c.trim());o=Ph(l,Number.isNaN(a)?0:a,r)}return Hh(o,n)}function Fh(e,t){let n=t!=null?t:z.locale;for(let r of wi(n))if(xi(r,e)!==null)return!0;if(z.fallback&&z.fallback!==n){for(let r of wi(z.fallback))if(xi(r,e)!==null)return!0}return!1}function Ou(e,t={}){return ua(e,{...t,locale:z.locale})}function Fu(e,t){return da(e,{locale:z.locale,currency:t!=null?t:z.currency})}function Iu(e,t="short"){return fa(e,t,z.locale)}function zu(e){return pa(e,z.locale)}function ki(){return z.locale}function Ih(e){var t;return(t=z.messages[e!=null?e:z.locale])!=null?t:{}}function Ei(e,t){let n=z.messages[e];return n?Jo(n,t):z.messages[e]=t,e}async function ja(e,t){if(typeof t!="string"){Ei(e,t);return}let n=Ba.get(e);if(n)return n;let r=he.get(t,{responseType:"json"}).then(o=>{o&&typeof o=="object"&&Ei(e,o)}).catch(o=>{K(o,`i18n ao carregar "${t}"`)}).finally(()=>{Ba.delete(e)});return Ba.set(e,r),r}function Kr(e){let t=e==null?void 0:e.trim();if(!t||t===z.locale)return Promise.resolve();let n=z.locale;return z.locale=t,z.currency=z.currency||w.currency,w.locale=t,ei(t,z.currency),Jn&&ue.set(Jn,t),typeof document!="undefined"&&(document.documentElement.lang=t),ze.emit("locale",{from:n,to:t}),!z.messages[t]&&Zn?ja(t,Zn.replace("{locale}",t)):Promise.resolve()}function Bu(){var n;if(typeof navigator=="undefined")return null;let e=Object.keys(z.messages);if(!e.length)return null;let t=(n=navigator.languages)!=null&&n.length?[...navigator.languages]:[navigator.language];for(let r of t){if(!r)continue;let o=e.find(a=>a.toLowerCase()===r.toLowerCase());if(o)return o;let i=r.split("-")[0].toLowerCase(),s=e.find(a=>a.split("-")[0].toLowerCase()===i);if(s)return s}return null}function zh(e={}){var o,i,s,a;if(e.messages)for(let[l,c]of Object.entries(e.messages))Ei(l,c);z.fallback=(o=e.fallback)!=null?o:z.fallback,z.currency=(s=(i=e.currency)!=null?i:w.currency)!=null?s:z.currency,Zn=(a=e.loadPath)!=null?a:Zn,e.persist===!1?Jn=null:typeof e.persist=="string"&&(Jn=e.persist);let t=Jn?ue.get(Jn):void 0,n=e.detect===!1?null:Bu(),r=t||n||e.locale||z.locale||z.fallback;return z.locale=r,w.locale=r,ei(r,z.currency),typeof document!="undefined"&&(document.documentElement.lang=r),!z.messages[r]&&Zn&&ja(r,Zn.replace("{locale}",r)),Yr}var Bh={get locale(){return z.locale},get fallback(){return z.fallback},get locales(){return Object.keys(z.messages)},t:er,te:Fh,n:Ou,c:Fu,d:Iu,rt:zu,setLocale:Kr,getLocale:ki,addMessages:Ei,loadMessages:ja,messagesOf:Ih,detectLocale:Bu},Yr=Object.defineProperties(zh,Object.getOwnPropertyDescriptors(Bh));H("$t",()=>er);H("$locale",()=>z.locale);H("$i18n",()=>Yr);H("$n",()=>Ou);H("$c",()=>Fu);H("$d",()=>Iu);H("$rt",()=>zu);var jh=/^[A-Za-z_$][\w$-]*(\.[A-Za-z_$][\w$-]*)*$/;function qh(e,t){let n=e.trim();if(!n)return"";if(jh.test(n))return n;let r=t(n);return typeof r=="string"?r:n}function Vh(e,t){var o;let n=(o=Te(e,`${w.prefix}t-params`))!=null?o:Te(e,"data-v-t-params");if(!n)return{};let r=t(n);return r&&typeof r=="object"?r:{}}y("t",({el:e,arg:t,expression:n,effect:r,evaluate:o})=>{r(()=>{let i=qh(n,o);if(!i)return;let s=er(i,Vh(e,o));t?e.setAttribute(t,s):e.textContent!==s&&(e.textContent=s)})});y("t-params",()=>{});y("locale",({el:e,expression:t,effect:n,cleanup:r,evaluate:o})=>{let i=()=>{let a=t.trim();if(!a)return"";if(/^[A-Za-z]{2,3}([-_][A-Za-z0-9]{2,8})*$/.test(a))return a.replace("_","-");let l=o(a);return typeof l=="string"?l:a},s=()=>{let a=i();a&&Kr(a)};e.addEventListener("click",s),r(()=>e.removeEventListener("click",s)),n(()=>{e.classList.toggle("v-locale-active",i()===z.locale)})});me();ce();Ne();Ne();ce();var qa=new WeakMap;function Kt(e,t){var n;return(n=Te(e,`${w.prefix}${t}`))!=null?n:Te(e,`data-v-${t}`)}function Ti(e,t){return Ft(e,`${w.prefix}${t}`)||Ft(e,`data-v-${t}`)}function Z(e,t){let n=qa.get(e);return n&&t in n?n[t]:Kt(e,t)}function Li(e,t,n){var o;let r=(o=qa.get(e))!=null?o:{};r[t]=n,qa.set(e,r)}function W(e){y(e,({el:t,expression:n})=>{Li(t,e,n)},{priority:j.BIND})}function fe(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function vt(e,t,n,r,o){if(!e.trim())return;let i=t.child({$el:n,$event:r!=null?r:null,$detail:o}),s=q(e,i,"directive de UI");return typeof s=="function"?s.call(t.data,o!=null?o:r):s}var Uh=`
138
+ `)}))}function eh(e){let t=e.tagName;if(t==="FORM")return"submit";if(t==="INPUT"||t==="SELECT"||t==="TEXTAREA"){let n=e.type;return n==="button"||n==="submit"?"click":"change"}return"click"}function th({el:e,cleanup:t,run:n}){var d,u;let r=V(e,"trigger")||eh(e),[o,...i]=r.split(/[.\s]+/),s=Q((d=V(e,"poll"))!=null?d:void 0,0);if(s>0){n();let p=setInterval(()=>{document.visibilityState==="visible"&&n()},s);t(()=>clearInterval(p));return}if(o==="load"||o==="ready"){n();return}if(o==="visible"||o==="revealed"){if(typeof IntersectionObserver=="undefined"){n();return}let p=new IntersectionObserver(f=>{for(let m of f)m.isIntersecting&&(n(),i.includes("repeat")||p.unobserve(e))},{rootMargin:"80px"});p.observe(e),t(()=>p.disconnect());return}let a=i.includes("once"),l=Q((u=V(e,"debounce"))!=null?u:void 0,0),c=p=>{(e.tagName==="FORM"||e.href)&&p.preventDefault(),n(p)};l>0&&(c=Ke(c,l)),e.addEventListener(o,c,{once:a}),t(()=>e.removeEventListener(o,c))}var nh=[["get","GET"],["post","POST"],["put","PUT"],["patch","PATCH"],["delete","DELETE"]];for(let[e,t]of nh)y(e,({el:n,scope:r,expression:o,cleanup:i})=>{th({el:n,scope:r,cleanup:i,run:a=>{let l=Vr(o,r);if(!l)return;let c=V(n,"body")||V(n,"data-body"),d=c?q(c,r.child({$event:a}),"v-body"):void 0,u=V(n,"params"),p=u?q(u,r,"v-params"):void 0;qr({el:n,scope:r,method:t,url:l,body:d,params:p,event:a})}})});function Vr(e,t){let n=e.trim();if(!n)return"";if((/^[./#?]/.test(n)||/^https?:\/\//i.test(n)||/^[\w-]+\/[\w\-/.]*$/.test(n))&&!/[+`'"]|\$\{/.test(n))return n;let o=q(n,t,"URL");return typeof o=="string"?o:n}y("load",({el:e,scope:t,expression:n})=>{let r=Vr(n,t);r&&qr({el:e,scope:t,method:"GET",url:r})});y("load-visible",({el:e,scope:t,cleanup:n,expression:r})=>{let o=Vr(r,t);if(!o)return;if(typeof IntersectionObserver=="undefined"){qr({el:e,scope:t,method:"GET",url:o});return}let i=new IntersectionObserver(s=>{for(let a of s)a.isIntersecting&&(i.unobserve(e),qr({el:e,scope:t,method:"GET",url:o}))},{rootMargin:"120px"});i.observe(e),n(()=>i.disconnect())});y("search",({el:e,scope:t,expression:n,cleanup:r})=>{var u,p;let o=e,i=Vr(n,t),s=V(e,"param")||o.getAttribute("name")||"q",a=Q((u=V(e,"debounce"))!=null?u:void 0,300),l=Number((p=V(e,"min-length"))!=null?p:0),c=Ke(()=>{let f=o.value.trim();f.length<l||qr({el:e,scope:t,method:"GET",url:i,params:{[s]:f}})},a),d=()=>c();o.addEventListener("input",d),r(()=>{o.removeEventListener("input",d),c.cancel()})});y("resource",({el:e,scope:t,expression:n,cleanup:r})=>{var l,c,d,u;let o=n.indexOf(":"),i=V(e,"as")||"resource",s=n.trim();if(o>-1){let p=n.slice(0,o).trim();/^[A-Za-z_$][\w$]*$/.test(p)&&(i=p,s=n.slice(o+1).trim())}let a=li(()=>Vr(s,t),{method:(V(e,"method")||"GET").toUpperCase(),params:()=>V(e,"params")?q(V(e,"params"),t,"v-params"):void 0,cache:Q((l=V(e,"cache"))!=null?l:void 0,0)||void 0,retry:Number((c=V(e,"retry"))!=null?c:0),timeout:Q((d=V(e,"timeout"))!=null?d:void 0,he.defaults.timeout),jsonPath:V(e,"json-path"),poll:Q((u=V(e,"poll"))!=null?u:void 0,0),manual:La(e,"manual"),onSuccess:p=>Yn(e,"voodoo:success",{data:p}),onError:(p,f)=>Yn(e,"voodoo:error",{error:p,message:f})});t.set(i,a),r(()=>a.stop())},{priority:j.DATA});for(let e of["target","swap","trigger","poll","param","params","body","data-body","headers","cache","retry","timeout","as","json-path","template","offline-queue","min-length","scroll-to","manual","debounce","throttle","indicator"])y(e,()=>{},{priority:j.TRANSITION});md(kd);Ed(It);Ad(fu);Kd();var Ur=new Map;function uu(e,t){let n=Ur.get(e);return n||Ur.set(e,n=new Set),n.add(t),()=>n.delete(t)}function rh(e,t){let n=uu(e,r=>{n(),t(r)});return n}function oh(e,t){let n=Ur.get(e);if(n)for(let r of[...n])try{r(t)}catch(o){K(o,`event "${e}"`)}}function ih(e,t){var n;if(!t){Ur.delete(e);return}(n=Ur.get(e))==null||n.delete(t)}function fu(e,t){var r,o;let n=typeof t=="function"?{mounted:t,updated:t}:t;y(e,i=>{var d,u;let s,a=!1,l=p=>{var f,m;return{el:i.el,value:p,oldValue:s,arg:i.arg,modifiers:i.modifiers,expression:i.expression,scope:i.scope,instance:(m=(f=i.scope.owner)==null?void 0:f.component)!=null?m:null}},c=n.raw?i.expression:i.evaluate();(d=n.created)==null||d.call(n,i.el,l(c)),(u=n.beforeMount)==null||u.call(n,i.el,l(c)),i.effect(()=>{var m,h;let p=n.raw?i.expression:i.evaluate();if(!a){a=!0,s=p,(m=n.mounted)==null||m.call(n,i.el,l(p));return}if(p===s)return;let f=l(p);(h=n.updated)==null||h.call(n,i.el,f),s=p}),i.cleanup(()=>{var f,m;let p=l(s);(f=n.beforeUnmount)==null||f.call(n,i.el,p),(m=n.unmounted)==null||m.call(n,i.el,p)})},{priority:(r=n.priority)!=null?r:j.DEFAULT,terminal:(o=n.terminal)!=null?o:!1})}function sh(e){return Object.defineProperties(We.data,Object.getOwnPropertyDescriptors(e)),We.data}var ah="0.11.2",ui={...ma,version:ah,config:w,reactive:Y,ref:Mr,shallowRef:zs,computed:Sr,effect:Fe,watch:Ie,watchEffect:js,nextTick:ut,toRaw:Me,markRaw:Fs,unref:Bs,stop:Ps,effectScope:Ns,EffectScope:rt,flushSync:As,data:sh,store:Pd,stores:Fn,removeStore:Nd,storeNames:Go,scope:We,component:zt,components:De,directive:fu,directives:Tt,magic:H,magics:Ar,createApp:Rd,start:bd,whenReady:Ko,whenElement:Yo,walk:te,refresh:xd,destroy:G,stopObserving:yd,getScope:ot,findScope:Ce,addCleanup:Xe,parseAttribute:$n,parse:_e,tokenize:Oo,evaluate:N,evaluateIn:q,stringify:kt,clearParseCache:Vc,globals:He,http:he,request:jt,HttpError:ke,resource:li,toast:it,storage:ue,session:ri,cookie:oi,cache:ii,url:Vt,theme:ft,clipboard:ai,screen:Ge,network:Ut,enter:Br,leave:jr,fadeIn:Wn,fadeOut:Kn,slideUp:dn,slideDown:cn,viewTransition:ci,injectStyle:oe,ensureTokens:ge,on:uu,once:rh,off:ih,emit:oh,use(e,t){Io(ui,e,t)},onError(e){Rs(e)},instances:At,Scope:Lt,PRIORITY:j,VoodooSyntaxError:ee,VoodooRuntimeError:Ee};Dd(ui);me();var lh=new Set(["animation-iteration-count","aspect-ratio","border-image-slice","column-count","flex","flex-grow","flex-shrink","font-weight","grid-area","grid-column","grid-row","line-height","opacity","order","orphans","scale","tab-size","widows","z-index","zoom"]);function wu(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function st(e){return e.length<2?e:Array.from(new Set(e))}function un(e){return String(e!=null?e:"").split(/\s+/).filter(Boolean)}function Ma(e){if(typeof document=="undefined")return[];let t=document.createElement("template");t.innerHTML=e.trim();let n=[];for(let r of Array.from(t.content.children))n.push(r);return n}function Eu(e){return e.length>2&&e.charCodeAt(0)===60&&e.endsWith(">")}function ch(e){if(e==null)return typeof document=="undefined"?[]:[document];if(e instanceof pt)return e.toArray();if(typeof e=="string")return fn(e);if(typeof e=="function")return typeof document=="undefined"?[]:[document];let t=fn(e);return t.length?t:typeof document=="undefined"?[]:[document]}function fn(e,t){if(e==null)return[];if(typeof e=="string"){let o=e.trim();if(!o)return[];if(Eu(o))return Ma(o);let i=[];for(let s of ch(t))try{for(let a of Array.from(s.querySelectorAll(o)))i.push(a)}catch(a){}return st(i)}if(e instanceof pt)return e.toArray();if(typeof e=="function")return[];let n=e;if(typeof n.nodeType=="number"){if(n.nodeType===1)return[n];if(n.nodeType===9){let o=n;return o.documentElement?[o.documentElement]:[]}return n.nodeType===11?Array.from(n.children):[]}let r=e;if(typeof r.length=="number"){let o=[];for(let i=0;i<r.length;i++){let s=r[i];s&&s.nodeType===1&&o.push(s)}return st(o)}return[]}function pu(e){if(e==null)return[];if(typeof e=="string"){let r=e;return Eu(r.trim())?Ma(r):[document.createTextNode(r)]}if(e instanceof pt)return e.toArray();if(typeof e=="function")return[];let t=e;if(typeof t.nodeType=="number")return[t];let n=e;if(typeof n.length=="number"){let r=[];for(let o=0;o<n.length;o++)n[o]&&r.push(n[o]);return r}return[]}function fi(e,t,n){let r=wu(t);if(n===null||n===""){e.style.removeProperty(r);return}let o=typeof n=="number"&&!lh.has(r)&&!r.startsWith("--")?`${n}px`:String(n);e.style.setProperty(r,o)}function dh(e,t){for(let[n,r]of Object.entries(t))fi(e,n,r)}function mu(e){if(e===void 0)return;if(e==="")return"";if(e==="true")return!0;if(e==="false")return!1;if(e==="null")return null;if(/^-?\d+(\.\d+)?$/.test(e))return Number(e);let t=e.charCodeAt(0);if(t===123||t===91||t===34)try{return JSON.parse(e)}catch(n){return e}return e}function vu(e){return e.replace(/-([a-z0-9])/g,(t,n)=>n.toUpperCase())}var ku=new WeakMap;function hu(e){return e.hasAttribute("hidden")||e.style.display==="none"?!0:e.isConnected?getComputedStyle(e).display==="none":!1}function gu(e){e.removeAttribute("hidden");let t=ku.get(e);t!==void 0&&t!=="none"?e.style.display=t:e.style.removeProperty("display"),e.isConnected&&getComputedStyle(e).display==="none"&&(e.style.display="block")}function bu(e){let t=e.style.display;t&&t!=="none"&&ku.set(e,t),e.style.display="none"}var yu="input,select,textarea";function xu(e){return e.matches(yu)?[e]:Array.from(e.querySelectorAll(yu))}function uh(e){let t=e;if(!t.name||t.disabled)return!1;let n=(t.getAttribute("type")||"").toLowerCase();return!(n==="file"||n==="submit"||n==="reset"||n==="button"||(n==="checkbox"||n==="radio")&&!t.checked)}var pi=new WeakMap;function fh(e){let t=pi.get(e);return t||pi.set(e,t=[]),t}var pt=class e{constructor(t=[]){P(this,"length");P(this,"elements");this.elements=t,this.length=t.length;let n=this;for(let r=0;r<t.length;r++)n[r]=t[r]}[Symbol.iterator](){return this.elements[Symbol.iterator]()}find(t){let n=[];for(let r of this.elements)try{for(let o of Array.from(r.querySelectorAll(t)))n.push(o)}catch(o){}return new e(st(n))}closest(t){let n=[];for(let r of this.elements){let o=r.closest(t);o&&n.push(o)}return new e(st(n))}parent(t){let n=[];for(let r of this.elements){let o=r.parentElement;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}parents(t){let n=[];for(let r of this.elements){let o=r.parentElement;for(;o;)(!t||o.matches(t))&&n.push(o),o=o.parentElement}return new e(st(n))}children(t){let n=[];for(let r of this.elements)for(let o of Array.from(r.children))(!t||o.matches(t))&&n.push(o);return new e(st(n))}siblings(t){let n=[];for(let r of this.elements){let o=r.parentElement;if(o)for(let i of Array.from(o.children))i!==r&&(!t||i.matches(t))&&n.push(i)}return new e(st(n))}next(t){let n=[];for(let r of this.elements){let o=r.nextElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}prev(t){let n=[];for(let r of this.elements){let o=r.previousElementSibling;o&&(!t||o.matches(t))&&n.push(o)}return new e(st(n))}first(){return this.eq(0)}last(){return this.eq(-1)}eq(t){let n=t<0?this.elements.length+t:t,r=this.elements[n];return new e(r?[r]:[])}filter(t){let n=this.elements.filter((r,o)=>typeof t=="function"?t(r,o):r.matches(t));return new e(n)}not(t){let n=this.elements.filter((r,o)=>typeof t=="function"?!t(r,o):!r.matches(t));return new e(n)}has(t){let n=this.elements.filter(r=>typeof t=="string"?r.querySelector(t)!==null:r.contains(t));return new e(n)}is(t){return this.elements.some((n,r)=>typeof t=="function"?t(n,r):n.matches(t))}map(t){return this.elements.map((n,r)=>t(n,r))}each(t){for(let n=0;n<this.elements.length;n++){let r=this.elements[n];if(t.call(r,r,n)===!1)break}return this}get(...t){if(!t.length)return this.toArray();let n=Number(t[0]);return this.elements[n<0?this.elements.length+n:n]}toArray(){return this.elements.slice()}add(t,n){return new e(st([...this.elements,...fn(t,n)]))}slice(t,n){return new e(this.elements.slice(t,n))}text(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.textContent)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))G(a);s.textContent=r}return this}html(...t){var o,i;if(!t.length)return(i=(o=this.elements[0])==null?void 0:o.innerHTML)!=null?i:"";let n=t[0],r=n==null?"":String(n);for(let s of this.elements){for(let a of Array.from(s.childNodes))G(a);s.innerHTML=r}return this}val(...t){var r;if(!t.length){let o=this.elements[0];if(!o)return"";let i=o;return o.tagName==="SELECT"&&i.multiple?Array.from(i.selectedOptions).map(s=>s.value):o.type==="checkbox"?o.checked?o.value||"on":"":(r=o.value)!=null?r:""}let n=t[0];for(let o of this.elements){let i=o,s=o;if(i.tagName==="SELECT"&&s.multiple){let a=(Array.isArray(n)?n:[n]).map(String);for(let l of Array.from(s.options))l.selected=a.includes(l.value);continue}if(i.type==="checkbox"||i.type==="radio"){i.checked=Array.isArray(n)?n.map(String).includes(i.value):n===!0||String(n)===i.value;continue}i.value=n==null?"":String(n)}return this}attr(...t){var i,s;let n=t[0];if(n!==null&&typeof n=="object"){for(let a of this.elements)for(let[l,c]of Object.entries(n))c===null||c===!1?a.removeAttribute(l):a.setAttribute(l,c===!0?"":String(c));return this}let r=String(n);if(t.length<2)return(s=(i=this.elements[0])==null?void 0:i.getAttribute(r))!=null?s:void 0;let o=t[1];for(let a of this.elements)o===null||o===!1?a.removeAttribute(r):a.setAttribute(r,o===!0?"":String(o));return this}removeAttr(t){let n=un(t);for(let r of this.elements)for(let o of n)r.removeAttribute(o);return this}prop(...t){let n=String(t[0]);if(t.length<2){let r=this.elements[0];return r?r[n]:void 0}for(let r of this.elements)r[n]=t[1];return this}data(...t){let n=t[0];if(!t.length){let i=this.elements[0];if(!i)return{};let s={};for(let[a,l]of Object.entries(i.dataset))s[a]=mu(l);return s}if(n!==null&&typeof n=="object"){for(let i of this.elements)for(let[s,a]of Object.entries(n))i.dataset[vu(s)]=typeof a=="string"?a:JSON.stringify(a!=null?a:null);return this}let r=vu(String(n));if(t.length<2){let i=this.elements[0];return i?mu(i.dataset[r]):void 0}let o=t[1];for(let i of this.elements)i.dataset[r]=typeof o=="string"?o:JSON.stringify(o!=null?o:null);return this}css(...t){let n=t[0];if(n!==null&&typeof n=="object"){for(let o of this.elements)dh(o,n);return this}let r=String(n);if(t.length<2){let o=this.elements[0];if(!o)return"";let i=wu(r);return((o.isConnected?getComputedStyle(o).getPropertyValue(i):"")||o.style.getPropertyValue(i)).trim()}for(let o of this.elements)fi(o,r,t[1]);return this}width(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().width:0}for(let n of this.elements)fi(n,"width",t[0]);return this}height(...t){if(!t.length){let n=this.elements[0];return n?n.getBoundingClientRect().height:0}for(let n of this.elements)fi(n,"height",t[0]);return this}offset(){let t=this.elements[0];if(!t)return{top:0,left:0};let n=t.getBoundingClientRect();return{top:n.top+window.scrollY,left:n.left+window.scrollX}}position(){let t=this.elements[0];return t?{top:t.offsetTop,left:t.offsetLeft}:{top:0,left:0}}scrollTop(...t){var r,o;if(!t.length)return(o=(r=this.elements[0])==null?void 0:r.scrollTop)!=null?o:0;let n=Number(t[0])||0;for(let i of this.elements)i.scrollTop=n;return this}addClass(t){let n=un(t);if(n.length)for(let r of this.elements)r.classList.add(...n);return this}removeClass(t){let n=un(t);if(n.length)for(let r of this.elements)r.classList.remove(...n);return this}toggleClass(t,n){let r=un(t);for(let o of this.elements)for(let i of r)n===void 0?o.classList.toggle(i):o.classList.toggle(i,n);return this}hasClass(t){let n=un(t);return n.length?this.elements.some(r=>n.every(o=>r.classList.contains(o))):!1}insert(t,n){let r=this.elements.length;for(let o=0;o<r;o++){let i=this.elements[o];for(let s of pu(t))n(i,o===r-1?s:s.cloneNode(!0))}return this}append(t){return this.insert(t,(n,r)=>n.appendChild(r))}prepend(t){return this.insert(t,(n,r)=>n.insertBefore(r,n.firstChild))}before(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n)})}after(t){return this.insert(t,(n,r)=>{var o;return(o=n.parentNode)==null?void 0:o.insertBefore(r,n.nextSibling)})}appendTo(t){let n=fn(t);for(let r=0;r<n.length;r++)for(let o of this.elements)n[r].appendChild(r===n.length-1?o:o.cloneNode(!0));return this}prependTo(t){let n=fn(t);for(let r=0;r<n.length;r++){let o=n[r],i=this.elements.map(s=>r===n.length-1?s:s.cloneNode(!0));for(let s=i.length-1;s>=0;s--)o.insertBefore(i[s],o.firstChild)}return this}replaceWith(t){for(let n of this.elements){let r=n.parentNode;if(r){for(let o of pu(t))r.insertBefore(o,n);G(n),n.remove()}}return this}wrap(t){var n;for(let r of this.elements){let o=fn(t)[0];if(!o)continue;let i=o.cloneNode(!0);(n=r.parentNode)==null||n.insertBefore(i,r);let s=i;for(;s.firstElementChild;)s=s.firstElementChild;s.appendChild(r)}return this}unwrap(){let t=new Set;for(let n of this.elements){let r=n.parentElement;r&&r!==document.body&&t.add(r)}for(let n of t){let r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);G(n),n.remove()}}return this}remove(){for(let t of this.elements)G(t),t.remove();return this}empty(){for(let t of this.elements){for(let n of Array.from(t.childNodes))G(n);t.replaceChildren()}return this}clone(t=!0){return new e(this.elements.map(n=>n.cloneNode(t)))}on(t,...n){var a;let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0],s=(a=r?n[2]:n[1])!=null?a:{};if(typeof i!="function")return this;for(let l of this.elements)for(let c of un(t)){let d=u=>{if(!o){i.call(l,u);return}let p=u.target,f=p==null?void 0:p.closest(o);!f||!l.contains(f)||i.call(f,u)};l.addEventListener(c,d,s),fh(l).push({type:c,selector:o,handler:i,wrapped:d,options:s})}return this}off(t,n,r){let o=typeof n=="string"?n:null,i=typeof n=="function"?n:r!=null?r:null,s=t?un(t):null;for(let a of this.elements){let l=pi.get(a);if(!l)continue;let c=[];for(let d of l){let u=!s||s.includes(d.type),p=o===null||d.selector===o,f=i===null||d.handler===i;u&&p&&f?a.removeEventListener(d.type,d.wrapped,d.options):c.push(d)}pi.set(a,c)}return this}once(t,...n){let r=typeof n[0]=="string",o=r?n[0]:null,i=r?n[1]:n[0];if(typeof i!="function")return this;let s=this,a=function(l){return o?s.off(t,o,a):s.off(t,a),i.call(this,l)};return o?this.on(t,o,a):this.on(t,a)}trigger(t,n){for(let r of this.elements){if(n===void 0&&typeof r[t]=="function"){r[t]();continue}let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}emit(t,n){for(let r of this.elements){let o=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});o.__voodoo=!0,r.dispatchEvent(o)}return this}show(){for(let t of this.elements)gu(t);return this}hide(){for(let t of this.elements)bu(t);return this}toggle(t){for(let n of this.elements)(t===void 0?hu(n):t)?gu(n):bu(n);return this}fadeIn(t=220){for(let n of this.elements)n.removeAttribute("hidden"),Wn(n,t);return this}fadeOut(t=220){for(let n of this.elements)Kn(n,t);return this}slideUp(t=240){for(let n of this.elements)dn(n,t);return this}slideDown(t=240){for(let n of this.elements)n.removeAttribute("hidden"),cn(n,t);return this}slideToggle(t=240){for(let n of this.elements)hu(n)?(n.removeAttribute("hidden"),cn(n,t)):dn(n,t);return this}animate(t,n=300){for(let r of this.elements)typeof r.animate=="function"&&r.animate(t,n);return this}scrollIntoView(t={behavior:"smooth",block:"start"}){var n;return(n=this.elements[0])==null||n.scrollIntoView(t),this}serialize(){let t=this.elements[0];if(!t)return"";let n=new URLSearchParams;for(let r of xu(t)){if(!uh(r))continue;let o=r,i=r;if(o.tagName==="SELECT"&&i.multiple){for(let s of Array.from(i.selectedOptions))n.append(o.name,s.value);continue}n.append(o.name,o.value)}return n.toString()}serializeObject(){var r,o,i,s;let t=this.elements[0],n={};if(!t)return n;for(let a of xu(t)){let l=a;if(!l.name||l.disabled)continue;let c=(l.getAttribute("type")||"").toLowerCase();if(c==="submit"||c==="reset"||c==="button")continue;let d=l.name.endsWith("[]"),u=d?l.name.slice(0,-2):l.name,p=a,f;if(c==="checkbox"){if(!l.checked&&!d){n[u]=(r=n[u])!=null?r:!1;continue}if(!l.checked)continue;f=l.value==="on"?!0:l.value}else if(c==="radio"){if(!l.checked)continue;f=l.value}else c==="file"?f=l.multiple?Array.from((o=l.files)!=null?o:[]):(s=(i=l.files)==null?void 0:i[0])!=null?s:null:l.tagName==="SELECT"&&p.multiple?f=Array.from(p.selectedOptions).map(m=>m.value):c==="number"||c==="range"?f=l.value===""?null:Number(l.value):f=l.value;if(d){let m=n[u];Array.isArray(m)?m.push(f):n[u]=[f];continue}if(Object.prototype.hasOwnProperty.call(n,u)){let m=n[u];Array.isArray(m)?m.push(f):m===void 0||m===!1?n[u]=f:n[u]=[m,f];continue}n[u]=f}return n}focus(t){var n;return(n=this.elements[0])==null||n.focus(t),this}blur(){for(let t of this.elements)t.blur();return this}select(){for(let t of this.elements){let n=t;typeof n.select=="function"&&n.select()}return this}walk(t=!1){for(let n of this.elements)t&&G(n),te(n,Ce(n.parentNode));return this}destroy(){for(let t of this.elements)G(t);return this}};function Sa(e,t){if(typeof e=="function"){Ca(e);let n=typeof document!="undefined"?document.documentElement:null;return new pt(n?[n]:[])}return new pt(fn(e,t))}function Ca(e){return typeof document=="undefined"?Promise.resolve():new Promise(t=>{Cd(()=>{try{e==null||e()}catch(n){K(n,"V.ready")}t()})})}function Tu(e){return new pt(Ma(e))}me();ce();var pn=new Map,ze={emit(e,t){let n=pn.get(e);if(!(!n||n.size===0))for(let r of[...n])try{r(t)}catch(o){console.error("[Voodoo] error in devtools listener:",o)}},on(e,t){let n=pn.get(e);return n||pn.set(e,n=new Set),n.add(t),()=>{n==null||n.delete(t)}},off(e,t){var n;(n=pn.get(e))==null||n.delete(t)},clear(e){e?pn.delete(e):pn.clear()},count(e){var t,n;return(n=(t=pn.get(e))==null?void 0:t.size)!=null?n:0}};var U={mode:"history",base:"/",beforeEach:null,afterEach:null,linkActiveClass:"v-link-active",linkExactActiveClass:"v-link-exact-active",transition:!0,titleTemplate:"%s",scrollBehavior:null},mi="__voodooRoute",Su=10,mt=[],Cu=new Map,vi=new Map,Xn="inicial",hi=!1,Au=!1;function ph(){return{path:"/",fullPath:"/",params:{},query:{},hash:"",name:"",meta:{},matched:null}}var de=Y(ph());function _r(e){let t=e||"/";return t.startsWith("/")||(t=`/${t}`),t=t.replace(/\/{2,}/g,"/"),t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t}function Ru(e){let t={};return e&&new URLSearchParams(e.startsWith("?")?e.slice(1):e).forEach((r,o)=>{t[o]=r}),t}function mh(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))r!=null&&t.append(n,String(r));return t.toString()}function Da(e){let t=e||"/",n="",r=t.indexOf("#");r>-1&&(n=t.slice(r+1),t=t.slice(0,r));let o={},i=t.indexOf("?");return i>-1&&(o=Ru(t.slice(i+1)),t=t.slice(0,i)),{path:_r(t),query:o,hash:n}}function vh(e){let t=U.base.replace(/\/$/,"");return!t||t===""?e:e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e}function $u(){return typeof window=="undefined"?{path:"/",query:{},hash:""}:U.mode==="hash"?Da(window.location.hash.slice(1)||"/"):{path:_r(vh(window.location.pathname)),query:Ru(window.location.search),hash:window.location.hash.slice(1)}}function Du(e,t,n){let r=mh(t);return`${e}${r?`?${r}`:""}${n?`#${n}`:""}`}function Pa(e){let t=Du(e.path,e.query,e.hash);if(U.mode==="hash"){let{pathname:r,search:o}=window.location;return`${r}${o}#${t}`}return`${U.base==="/"?"":U.base.replace(/\/$/,"")}${t}`||"/"}var Ra=!1,gi=!1;function Na(e,t,n){if(!Ra)try{n?window.history.replaceState(e,"",t):window.history.pushState(e,"",t);return}catch(i){if(!(i instanceof Error)||i.name!=="SecurityError")throw i;Ra=!0}if(U.mode!=="hash")return;let r=t.indexOf("#");if(r<0)return;let o=t.slice(r);if(window.location.hash!==o){gi=!0;try{window.location.hash=o}finally{setTimeout(()=>{gi=!1},0)}}}function Pu(e,t){let n=e==="*"?"*":_r(e),r=n==="*"?["*"]:n.split("/").filter(Boolean),o=[],i=r.length*10;for(let s of r){if(s==="*"||s==="**"){o.push({type:"wildcard",value:"*",optional:!0}),i-=30;continue}if(s.startsWith(":")){let a=s.endsWith("?"),l=s.slice(1,a?-1:void 0);o.push({type:"param",value:l,optional:a}),i+=a?1:2;continue}o.push({type:"static",value:s,optional:!1}),i+=4}return{pattern:n,segments:o,score:i,record:t}}function hh(e,t){let n={},r=0;for(let o of e){if(o.type==="wildcard")return n["*"]=t.slice(r).map(Aa).join("/"),n;if(r>=t.length){if(o.optional)continue;return null}let i=t[r];if(o.type==="static"){if(Aa(i)!==o.value)return null;r++;continue}n[o.value]=Aa(i),r++}return r===t.length?n:null}function Aa(e){try{return decodeURIComponent(e)}catch(t){return e}}function gh(e){let t=e.split("/").filter(Boolean),n=null;for(let r of mt){let o=hh(r.segments,t);o&&(!n||r.score>n.route.score)&&(n={route:r,params:o})}return n}function Ha(e){var t,n;return e&&(n=(t=mt.find(r=>r.pattern===e))==null?void 0:t.record)!=null?n:null}function Gn(e){let{path:t,query:n,hash:r}=Da(e);return Oa(t,n,r)}function Oa(e,t,n){var o,i;let r=gh(e);return{path:e,fullPath:Du(e,t,n),params:r?r.params:{},query:t,hash:n,name:(o=r==null?void 0:r.route.record.name)!=null?o:"",meta:(i=r==null?void 0:r.route.record.meta)!=null?i:{},matched:r?r.route.pattern:null}}function Qn(){return{path:de.path,fullPath:de.fullPath,params:{...de.params},query:{...de.query},hash:de.hash,name:de.name,meta:de.meta,matched:de.matched}}function Fa(e){de.path=e.path,de.fullPath=e.fullPath,de.params=e.params,de.query=e.query,de.hash=e.hash,de.name=e.name,de.meta=e.meta,de.matched=e.matched;let t=Ha(e.matched);t!=null&&t.title&&typeof document!="undefined"&&(document.title=U.titleTemplate.includes("%s")?U.titleTemplate.replace("%s",t.title):t.title)}async function Ia(e,t){let n=Ha(e.matched);if(n!=null&&n.redirect)return n.redirect;if(n!=null&&n.beforeEnter){let r=await n.beforeEnter(e,t);if(r===!1)return!1;if(typeof r=="string")return r}if(U.beforeEach){let r=await U.beforeEach(e,t);if(r===!1)return!1;if(typeof r=="string")return r}return!0}function yi(){typeof window!="undefined"&&Cu.set(Xn,window.scrollY)}function za(e,t,n){typeof window!="undefined"&&Se(()=>{requestAnimationFrame(()=>{var o;let r=i=>{Math.abs(window.scrollY-i)>1&&window.scrollTo(0,i)};if(U.scrollBehavior){let i=U.scrollBehavior(e,t,n);if(i===!1)return;if(typeof i=="number"){r(i);return}}if(e.hash){let i=(o=document.getElementById(e.hash))!=null?o:/^[\w-]+$/.test(e.hash)?document.querySelector(`[name="${e.hash}"]`):null;if(i){i.scrollIntoView({behavior:"smooth",block:"start"});return}}r(n!=null?n:0)})})}async function _t(e,t={}){var a,l;if(typeof window=="undefined")return!1;Nu();let n=Qn(),r=Gn(e);if(!t.force&&r.fullPath===n.fullPath)return!0;for(let c=0;;c++){if(c>Su)return X(`Router: too many redirects when navigating to "${e}".`),!1;let d=await Ia(r,n);if(d===!1)return ze.emit("navigation",{from:n.fullPath,to:r.fullPath,cancelled:!0,matched:r.matched}),!1;if(typeof d=="string"){r=Gn(d);continue}break}yi();let o=le("rota"),i={...(a=t.state)!=null?a:{},[mi]:o},s=Pa(r);return Na(i,s,t.replace===!0),Xn=o,Fa(r),t.scroll!==!1&&za(r,n,null),(l=U.afterEach)==null||l.call(U,Qn(),n),ze.emit("navigation",{from:n.fullPath,to:r.fullPath,matched:r.matched}),!0}async function bh(e){var c,d;if(gi)return;let{path:t,query:n,hash:r}=$u(),o=Oa(t,n,r),i=Qn();if(o.fullPath===i.fullPath)return;let s=await Ia(o,i);if(s===!1){Na({[mi]:Xn},Pa(i),!0),ze.emit("navigation",{from:i.fullPath,to:o.fullPath,cancelled:!0,matched:o.matched});return}if(typeof s=="string"){_t(s,{replace:!0});return}yi();let a=e.state,l=a&&a[mi]||le("rota");Xn=l,Fa(o),za(o,i,(c=Cu.get(l))!=null?c:0),(d=U.afterEach)==null||d.call(U,Qn(),i),ze.emit("navigation",{from:i.fullPath,to:o.fullPath,matched:o.matched})}function bi(e){bh(e)}function Nu(){hi||typeof window=="undefined"||(hi=!0,"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),window.addEventListener("popstate",bi),U.mode==="hash"&&window.addEventListener("hashchange",bi),window.addEventListener("beforeunload",yi))}function yh(){!hi||typeof window=="undefined"||(hi=!1,window.removeEventListener("popstate",bi),window.removeEventListener("hashchange",bi),window.removeEventListener("beforeunload",yi),Ra=!1,gi=!1)}async function xh(){var i;if(typeof window=="undefined")return;let{path:e,query:t,hash:n}=$u(),r=Qn(),o=Oa(e,t,n);for(let s=0;;s++){if(s>Su){X("Router: too many redirects in the initial route.");return}let a=await Ia(o,r);if(a===!1)return;if(typeof a=="string"){o=Gn(a);continue}break}Xn=le("rota"),Na({[mi]:Xn},Pa(o),!0),Fa(o),o.hash&&za(o,r,null),(i=U.afterEach)==null||i.call(U,Qn(),r)}function wh(e,t){let n=Pu(e,t),r=mt.findIndex(o=>o.pattern===n.pattern);r>-1?mt.splice(r,1,n):mt.push(n)}function Eh(e){let t=e==="*"?"*":_r(e),n=mt.findIndex(r=>r.pattern===t);n>-1&&mt.splice(n,1)}function kh(){return[...mt].sort((e,t)=>t.score-e.score).map(e=>e.pattern)}function Th(e){e?vi.delete(e):vi.clear()}function Lh(e){var t,n,r,o,i,s,a,l,c,d;U.mode=(t=e.mode)!=null?t:"history",U.base=_r((n=e.base)!=null?n:"/"),U.beforeEach=(r=e.beforeEach)!=null?r:null,U.afterEach=(o=e.afterEach)!=null?o:null,U.linkActiveClass=(i=e.linkActiveClass)!=null?i:"v-link-active",U.linkExactActiveClass=(s=e.linkExactActiveClass)!=null?s:"v-link-exact-active",U.transition=(a=e.transition)!=null?a:!0,U.titleTemplate=(l=e.titleTemplate)!=null?l:"%s",U.scrollBehavior=(c=e.scrollBehavior)!=null?c:null,mt.length=0;for(let[u,p]of Object.entries((d=e.routes)!=null?d:{}))mt.push(Pu(u,p));return Au=!0,Nu(),xh(),Wr}var Mh={get current(){return de},push:(e,t={})=>_t(e,t),replace:(e,t={})=>_t(e,{...t,replace:!0}),navigate:_t,back:()=>{typeof window!="undefined"&&window.history.back()},forward:()=>{typeof window!="undefined"&&window.history.forward()},go:e=>{typeof window!="undefined"&&window.history.go(e)},resolve:Gn,addRoute:wh,removeRoute:Eh,patterns:kh,stop:yh,clearViewCache:Th,get ready(){return Au}},Wr=Object.defineProperties(Lh,Object.getOwnPropertyDescriptors(Mh));H("$route",()=>de);H("$router",()=>Wr);async function Sh(e){let t=vi.get(e);if(t!==void 0)return t;let n=await he.get(e,{responseType:"text"}),r=typeof n=="string"?n:String(n!=null?n:"");return vi.set(e,r),r}function Ch(e){return Object.keys(e).sort().map(n=>`${n}=${e[n]}`).join("&")}y("router-view",({el:e,scope:t,modifiers:n,effect:r,cleanup:o})=>{Uo(e);let i=e.innerHTML,s=U.transition&&!n["no-transition"],a=0,l=()=>{for(let u of Array.from(e.childNodes))G(u);e.textContent=""},c=(u,p)=>{if(l(),u!=null&&u.component){let f=document.createElement("div");f.setAttribute(`${w.prefix}component`,u.component),f.className="v-router-page",e.appendChild(f),te(f,t);return}e.innerHTML=p!=null?p:i;for(let f of Array.from(e.childNodes))te(f,t)},d=async(u,p)=>{let f=null;if(u!=null&&u.view){e.classList.add("v-router-loading");try{f=await Sh(u.view)}catch(m){K(m,`v-router-view loading "${u.view}"`),f=""}finally{e.classList.remove("v-router-loading")}if(p!==a)return}s?ci(()=>c(u,f)):c(u,f)};r(()=>{let u=de.matched;Ch(de.params);let p=Ha(u);d(p,++a)}),o(()=>{a++,l()})},{priority:j.DEFAULT});var Ah=/^[a-z][a-z0-9+.-]*:/i;function Lu(e){return!!(!e||e.startsWith("//")||Ah.test(e))}function Mu(e,t,n){var i;let r=t.trim();if(r){if(r.startsWith("/")||r.startsWith("#"))return r;let s=n(r);return typeof s=="string"&&s?s:r}let o=(i=e.getAttribute("href"))!=null?i:"";return U.mode==="hash"&&o.startsWith("#")?o.slice(1)||"/":o}function $a(e,t){let{path:n}=Da(e);return n==="/"||t?de.path===n:de.path===n||de.path.startsWith(`${n}/`)}y("link",({el:e,expression:t,modifiers:n,effect:r,cleanup:o,evaluate:i})=>{let s=e,a=l=>{var u;if(l.defaultPrevented||l.metaKey||l.ctrlKey||l.shiftKey||l.altKey||typeof l.button=="number"&&l.button!==0)return;let c=s.getAttribute("target");if(c&&c!=="_self"||s.hasAttribute("download")||((u=s.getAttribute("rel"))!=null?u:"").split(/\s+/).includes("external"))return;let d=Mu(e,t,i);d&&(Lu(d)||U.mode!=="hash"&&d.startsWith("#")||(l.preventDefault(),_t(d,{replace:!!n.replace,scroll:n["no-scroll"]?!1:void 0})))};e.addEventListener("click",a),o(()=>e.removeEventListener("click",a)),r(()=>{let l=Mu(e,t,i);if(!l||Lu(l))return;let c=$a(l,!0),d=c||$a(l,!1);e.classList.toggle(U.linkActiveClass,d),e.classList.toggle(U.linkExactActiveClass,c),c?e.setAttribute("aria-current","page"):e.removeAttribute("aria-current")})});y("route-active",({el:e,expression:t,arg:n,modifiers:r,effect:o,evaluate:i})=>{let s=n||"active";o(()=>{var d;let a=t.trim(),l=a.startsWith("/")||!a?a:(d=i(a))!=null?d:a,c=l?$a(String(l),!!r.exact):!1;e.classList.toggle(s,c)})});me();ce();var Rh="voodoo:locale",z=Y({locale:w.locale||"pt-BR",fallback:"en",currency:w.currency||"BRL",messages:{}}),Jn=Rh,Zn="",Ba=new Map;function xi(e,t){let n=z.messages[e];if(!n)return null;let r=n[t];if(typeof r=="string")return r;let o=n;for(let i of t.split(".")){if(o==null||typeof o=="string")return null;o=o[i]}return typeof o=="string"?o:null}function wi(e){let t=[e],n=e.split("-")[0];n&&n!==e&&t.push(n);for(let r of Object.keys(z.messages))r!==e&&r.split("-")[0]===n&&t.push(r);return t}var Hu=new Map;function $h(e,t){try{let n=Hu.get(e);return n||Hu.set(e,n=new Intl.PluralRules(e)),n.select(t)}catch(n){return t===1?"one":"other"}}var Dh=["zero","one","two","few","many","other"];function Ph(e,t,n){var i;if(e.length<=1)return(i=e[0])!=null?i:"";let r=$h(n,t);if(e.length===2)return r==="one"?e[0]:e[1];if(e.length===3)return t===0?e[0]:r==="one"?e[1]:e[2];let o=Dh.indexOf(r);return e[Math.min(o<0?e.length-1:o,e.length-1)]}var Nh=/\{\s*([\w.$-]+)\s*\}/g;function Hh(e,t){return e.indexOf("{")===-1?e:e.replace(Nh,(n,r)=>{let o=t[r];return o==null?n:String(o)})}function Oh(e){return e==null?{}:typeof e=="number"?{n:e}:e}function er(e,t){var i,s;if(!e)return"";let n=Oh(t),r=z.locale,o=null;for(let a of wi(r))if(o=xi(a,e),o!==null)break;if(o===null&&z.fallback&&z.fallback!==r){for(let a of wi(z.fallback))if(o=xi(a,e),o!==null)break}if(o===null)return e;if(o.includes("|")){let a=Number((s=(i=n.n)!=null?i:n.count)!=null?s:0),l=o.split("|").map(c=>c.trim());o=Ph(l,Number.isNaN(a)?0:a,r)}return Hh(o,n)}function Fh(e,t){let n=t!=null?t:z.locale;for(let r of wi(n))if(xi(r,e)!==null)return!0;if(z.fallback&&z.fallback!==n){for(let r of wi(z.fallback))if(xi(r,e)!==null)return!0}return!1}function Ou(e,t={}){return ua(e,{...t,locale:z.locale})}function Fu(e,t){return da(e,{locale:z.locale,currency:t!=null?t:z.currency})}function Iu(e,t="short"){return fa(e,t,z.locale)}function zu(e){return pa(e,z.locale)}function ki(){return z.locale}function Ih(e){var t;return(t=z.messages[e!=null?e:z.locale])!=null?t:{}}function Ei(e,t){let n=z.messages[e];return n?Jo(n,t):z.messages[e]=t,e}async function ja(e,t){if(typeof t!="string"){Ei(e,t);return}let n=Ba.get(e);if(n)return n;let r=he.get(t,{responseType:"json"}).then(o=>{o&&typeof o=="object"&&Ei(e,o)}).catch(o=>{K(o,`i18n ao carregar "${t}"`)}).finally(()=>{Ba.delete(e)});return Ba.set(e,r),r}function Kr(e){let t=e==null?void 0:e.trim();if(!t||t===z.locale)return Promise.resolve();let n=z.locale;return z.locale=t,z.currency=z.currency||w.currency,w.locale=t,ei(t,z.currency),Jn&&ue.set(Jn,t),typeof document!="undefined"&&(document.documentElement.lang=t),ze.emit("locale",{from:n,to:t}),!z.messages[t]&&Zn?ja(t,Zn.replace("{locale}",t)):Promise.resolve()}function Bu(){var n;if(typeof navigator=="undefined")return null;let e=Object.keys(z.messages);if(!e.length)return null;let t=(n=navigator.languages)!=null&&n.length?[...navigator.languages]:[navigator.language];for(let r of t){if(!r)continue;let o=e.find(a=>a.toLowerCase()===r.toLowerCase());if(o)return o;let i=r.split("-")[0].toLowerCase(),s=e.find(a=>a.split("-")[0].toLowerCase()===i);if(s)return s}return null}function zh(e={}){var o,i,s,a;if(e.messages)for(let[l,c]of Object.entries(e.messages))Ei(l,c);z.fallback=(o=e.fallback)!=null?o:z.fallback,z.currency=(s=(i=e.currency)!=null?i:w.currency)!=null?s:z.currency,Zn=(a=e.loadPath)!=null?a:Zn,e.persist===!1?Jn=null:typeof e.persist=="string"&&(Jn=e.persist);let t=Jn?ue.get(Jn):void 0,n=e.detect===!1?null:Bu(),r=t||n||e.locale||z.locale||z.fallback;return z.locale=r,w.locale=r,ei(r,z.currency),typeof document!="undefined"&&(document.documentElement.lang=r),!z.messages[r]&&Zn&&ja(r,Zn.replace("{locale}",r)),Yr}var Bh={get locale(){return z.locale},get fallback(){return z.fallback},get locales(){return Object.keys(z.messages)},t:er,te:Fh,n:Ou,c:Fu,d:Iu,rt:zu,setLocale:Kr,getLocale:ki,addMessages:Ei,loadMessages:ja,messagesOf:Ih,detectLocale:Bu},Yr=Object.defineProperties(zh,Object.getOwnPropertyDescriptors(Bh));H("$t",()=>er);H("$locale",()=>z.locale);H("$i18n",()=>Yr);H("$n",()=>Ou);H("$c",()=>Fu);H("$d",()=>Iu);H("$rt",()=>zu);var jh=/^[A-Za-z_$][\w$-]*(\.[A-Za-z_$][\w$-]*)*$/;function qh(e,t){let n=e.trim();if(!n)return"";if(jh.test(n))return n;let r=t(n);return typeof r=="string"?r:n}function Vh(e,t){var o;let n=(o=Te(e,`${w.prefix}t-params`))!=null?o:Te(e,"data-v-t-params");if(!n)return{};let r=t(n);return r&&typeof r=="object"?r:{}}y("t",({el:e,arg:t,expression:n,effect:r,evaluate:o})=>{r(()=>{let i=qh(n,o);if(!i)return;let s=er(i,Vh(e,o));t?e.setAttribute(t,s):e.textContent!==s&&(e.textContent=s)})});y("t-params",()=>{});y("locale",({el:e,expression:t,effect:n,cleanup:r,evaluate:o})=>{let i=()=>{let a=t.trim();if(!a)return"";if(/^[A-Za-z]{2,3}([-_][A-Za-z0-9]{2,8})*$/.test(a))return a.replace("_","-");let l=o(a);return typeof l=="string"?l:a},s=()=>{let a=i();a&&Kr(a)};e.addEventListener("click",s),r(()=>e.removeEventListener("click",s)),n(()=>{e.classList.toggle("v-locale-active",i()===z.locale)})});me();ce();Ne();Ne();ce();var qa=new WeakMap;function Kt(e,t){var n;return(n=Te(e,`${w.prefix}${t}`))!=null?n:Te(e,`data-v-${t}`)}function Ti(e,t){return Ft(e,`${w.prefix}${t}`)||Ft(e,`data-v-${t}`)}function Z(e,t){let n=qa.get(e);return n&&t in n?n[t]:Kt(e,t)}function Li(e,t,n){var o;let r=(o=qa.get(e))!=null?o:{};r[t]=n,qa.set(e,r)}function W(e){y(e,({el:t,expression:n})=>{Li(t,e,n)},{priority:j.BIND})}function fe(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function vt(e,t,n,r,o){if(!e.trim())return;let i=t.child({$el:n,$event:r!=null?r:null,$detail:o}),s=q(e,i,"directive de UI");return typeof s=="function"?s.call(t.data,o!=null?o:r):s}var Uh=`
139
139
  .v-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
140
140
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
141
141
  `,Wt=null;function Qe(e){if(typeof document=="undefined")return;oe("ui-live",Uh),(!Wt||!Wt.isConnected)&&(Wt=document.createElement("div"),Wt.className="v-visually-hidden",Wt.setAttribute("role","status"),Wt.setAttribute("aria-live","polite"),document.body.appendChild(Wt));let t=Wt;t.textContent="",setTimeout(()=>{t.textContent=e},40)}function Mi(e,t,n){return Vo(e,t).filter(r=>Pn(r,n)===e)}Ne();ce();var _h=`
@@ -312,7 +312,7 @@ form.v-loading [type="submit"],form.v-loading button[disabled]{opacity:.6}
312
312
  .v-autosave-status[data-state="saved"]{color:var(--v-success,#2ED9A5)}
313
313
  .v-autosave-status[data-state="error"]{color:var(--v-danger,#FF4D4D)}
314
314
  @media (prefers-reduced-motion: reduce){.v-progress-bar,.v-dropzone{transition:none}}
315
- `;function io(){ge(),oe("forms-ajax",Ug)}function Yt(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function Ui(e,t){let n=e.trim();n.includes("{")&&(n=n.replace(/\{([^{}]+)\}/g,(o,i)=>{let s=q(i.trim(),t,`${w.prefix}submit`);return s==null?o:String(s)}));let r=w.baseURL;return r&&!/^[a-z][a-z0-9+.-]*:\/\//i.test(n)&&!n.startsWith("//")&&(n=`${r.replace(/\/$/,"")}/${n.replace(/^\//,"")}`),n}function ml(e){var r;if(!e||typeof e!="object")return"";let t=e,n=(r=t.message)!=null?r:t.mensagem;return typeof n=="string"?n:""}function vl(e,t="",n={}){if(e==null)return n;if(Array.isArray(e))return e.forEach((r,o)=>vl(r,`${t}[${o}]`,n)),n;if(typeof e=="object"&&!(e instanceof File)){for(let[r,o]of Object.entries(e))vl(o,t?`${t}[${r}]`:r,n);return n}return t&&(n[t]=String(e)),n}function _g(e){return Array.from(e.querySelectorAll('button[type="submit"], button:not([type]), input[type="submit"], input[type="image"]'))}function kf(e){return!e||typeof document=="undefined"?null:document.querySelector(e)}var ul=new WeakMap;function Tf(e,t){var n;if(t){e.hidden=!1,e.style.display=(n=ul.get(e))!=null?n:"",e.removeAttribute("aria-hidden");return}ul.has(e)||ul.set(e,e.style.display==="none"?"":e.style.display),e.style.display="none",e.setAttribute("aria-hidden","true")}function qi(e,t){let{host:n,form:r,state:o}=e;o.loading=t,r.classList.toggle("v-loading",t),r.setAttribute("aria-busy",t?"true":"false");let i=Ae(n,"loading-class");if(i)for(let a of i.split(/\s+/).filter(Boolean))r.classList.toggle(a,t);if(Vi(n,"disable-loading"))for(let a of _g(r))a.disabled=t;let s=Ae(n,"loading");if(s){let a=kf(s);a&&Tf(a,t)}}function _i(e,t,n,r){let o=Ae(e.host,t);if(!o)return;let i=e.scope.child({$data:n,$response:r,$form:e.state,$el:e.host}),s=q(o,i,`${w.prefix}${t}`);typeof s=="function"&&s.call(e.scope.data,n,r)}function Wg(e,t){let n=Ae(e.host,"target");if(!n||typeof t!="string")return;let r=document.querySelector(n);if(!r){X(`${w.prefix}target destination not found: ${n}`);return}let o=(Ae(e.host,"swap")||"innerHTML").trim().toLowerCase();if(o==="none")return;if(o==="text"){r.textContent=t;return}let i=document.createElement("template");i.innerHTML=t;let s=Array.from(i.content.childNodes),a=Ce(r);switch(o){case"inner":case"innerhtml":for(let l of Array.from(r.children))G(l);r.textContent="",r.append(...s);break;case"afterbegin":case"prepend":r.prepend(...s);break;case"beforeend":case"append":r.append(...s);break;case"beforebegin":r.before(...s);break;case"afterend":r.after(...s);break;case"outer":case"outerhtml":case"replace":G(r),r.replaceWith(...s);break;default:X(`Unknown mode in ${w.prefix}swap: ${o}`);return}for(let l of s)l.nodeType===1&&ee(l,a)}function Lf(e,t,n){var l;let{state:r,form:o,host:i}=e;r.success=!0,r.errors={},r.data=t,r.status=n,r.dirty=!1,r.message=ml(t),Wg(e,t),Vi(i,"reset-success")&&o.tagName==="FORM"&&(o.reset(),ro(o));let s=Ae(i,"toast-success");s!==null&&it.success(s||r.message||"All set!"),_i(e,"on-success",t,{status:n}),Yt(o,"voodoo:success",{data:t,status:n,form:o,state:r});let a=Ae(i,"redirect");if(a!==null&&typeof window!="undefined"){let c=t&&typeof t=="object"?(l=t.redirect)!=null?l:t.url:null,d=e.scope.child({$data:t,$form:r}),u=a?Ui(a,d):String(c!=null?c:"");u&&window.location.assign(u)}}function hl(e,t){var c,d;let{state:n,form:r,host:o}=e,i=t instanceof ke?t:new ke(t instanceof Error?t.message:String(t)),s=(d=(c=i.response)==null?void 0:c.data)!=null?d:null;n.success=!1,n.data=s,n.status=i.status,n.message=ml(s)||i.message;let a=sl(s);(i.status===422||Object.keys(a).length>0)&&(n.errors=Ii(r,s),al(r));let l=Ae(o,"toast-error");l!==null&&it.error(l||ml(s)||"Could not submit the form."),_i(e,"on-error",s,i),Yt(r,"voodoo:error",{error:i,data:s,status:i.status,form:r,state:n})}function Mf(e,t){_i(e,"on-complete",e.state.data,{ok:t,status:e.state.status}),Yt(e.form,"voodoo:complete",{ok:t,status:e.state.status,data:e.state.data,form:e.form,state:e.state})}async function Kg(e,t){let{host:n,form:r,state:o,scope:i}=e;if(o.loading)return;let s=Ae(n,"confirm");if(s!==null&&typeof window!="undefined"&&!window.confirm(s||"Confirm this action?"))return;if(xf(r)){ro(r);let p=await dl(r);if(o.errors=p.errors,!p.valid){al(r),Yt(r,"voodoo:invalid",{errors:p.errors,form:r,state:o});return}}let a=(Ae(n,"method")||r.getAttribute("method")||"POST").trim().toUpperCase(),l=Ui(t,i)||(r.tagName==="FORM"?r.action:"")||(typeof location!="undefined"?location.href:""),c=or(r,{formData:Vi(n,"form-data")}),d=a==="GET"||a==="HEAD";qi(e,!0),o.success=!1,o.progress=0,Yt(r,"voodoo:submit",{url:l,method:a,form:r,state:o});let u=!1;try{let p=await jt({url:l,method:a,body:d?void 0:c,params:d&&!(c instanceof FormData)?vl(c):void 0});u=!0,Lf(e,p.data,p.status)}catch(p){hl(e,p)}finally{qi(e,!1),Mf(e,u)}}y("submit",({el:e,scope:t,expression:n,cleanup:r})=>{io();let o=e,i=oo(o),s=t.child({$form:i},o);pl.set(s,i),pl.set(t,i),It(o,s);for(let d of Array.from(o.childNodes))d.nodeType===1&&It(d,s);let a={host:o,form:o,scope:s,state:i},l=d=>{d.preventDefault(),Kg(a,n)},c=d=>{var f;let u=d.detail;if(!u||!u.field)return;let p={...i.errors};u.valid?delete p[u.field]:p[u.field]=(f=u.message)!=null?f:"",i.errors=p};o.addEventListener("submit",l),o.addEventListener("voodoo:field-validated",c),r(()=>{ir.delete(o),o.removeEventListener("submit",l),o.removeEventListener("voodoo:field-validated",c)})},{priority:j.DATA-1});function Yg(e){let t=Ae(e,"progress");if(t){let o=document.querySelector(t);return o||(X(`${w.prefix}progress bar not found: ${t}`),null)}let n=e.nextElementSibling;if(n&&n.classList.contains("v-progress"))return n;io();let r=document.createElement("div");return r.className="v-progress",r.setAttribute("role","progressbar"),r.setAttribute("aria-valuemin","0"),r.setAttribute("aria-valuemax","100"),r.innerHTML='<span class="v-progress-bar"></span>',e.insertAdjacentElement("afterend",r),r}function ji(e,t,n){if(!e)return;let r=Math.max(0,Math.min(100,Math.round(t)));if(e.tagName==="PROGRESS")e.value=r,e.max=100;else{let o=e.classList.contains("v-progress-bar")?e:e.querySelector(".v-progress-bar, [data-progress-bar]");o?o.style.width=`${r}%`:e.style.width=`${r}%`}e.setAttribute("aria-valuenow",String(r)),n?e.setAttribute("data-state",n):e.removeAttribute("data-state")}function Xg(e,t,n){let r=new FormData,i=t.length>1||n.endsWith("[]")?n.endsWith("[]")?n:`${n}[]`:n;for(let a of t)r.append(i,a);let s=e.closest("form");if(s){let a=or(s,{formData:!0});if(a instanceof FormData)for(let[l,c]of a.entries())c instanceof File||r.append(l,c)}return r}async function Sf(e,t,n,r){if(!n.length||e.state.loading)return;let{state:o,form:i,host:s}=e,a=Ui(t,e.scope);if(!a){X(`${w.prefix}upload needs a destination URL.`);return}let l=Yg(s),c=Xg(s,n,r);qi(e,!0),o.success=!1,o.progress=0,ji(l,0,"loading"),Yt(i,"voodoo:upload",{url:a,files:n,form:i,state:o});let d=!1;try{let u=(Ae(s,"method")||"POST").trim().toUpperCase(),p=await he.upload(a,c,{method:u==="PUT"||u==="PATCH"?u:"POST",onProgress:f=>{o.progress=f,ji(l,f,"loading"),Yt(i,"voodoo:progress",{percent:f,form:i,state:o})}});d=!0,o.progress=100,ji(l,100,"done"),Lf(e,p,200)}catch(u){ji(l,o.progress,"error"),hl(e,u)}finally{qi(e,!1),Mf(e,d)}}y("upload",({el:e,scope:t,expression:n,cleanup:r})=>{var c;let o=e;if(o.tagName!=="INPUT"||(o.getAttribute("type")||"").toLowerCase()!=="file"){X(`${w.prefix}upload needs an <input type="file">.`);return}io();let i=(c=o.closest("form"))!=null?c:o,s=oo(i),a={host:o,form:i,scope:t,state:s},l=()=>{var u;let d=Array.from((u=o.files)!=null?u:[]);d.length&&Sf(a,n,d,o.name||"file")};o.addEventListener("change",l),r(()=>o.removeEventListener("change",l))});y("dropzone",({el:e,scope:t,expression:n,cleanup:r})=>{var b,x,T;io(),e.classList.add("v-dropzone"),e.hasAttribute("tabindex")||(e.tabIndex=0),e.hasAttribute("role")||e.setAttribute("role","button"),(b=e.textContent)!=null&&b.trim()||(e.textContent="Drag files here or click to choose");let o=(x=e.closest("form"))!=null?x:e,i=oo(o),s={host:e,form:o,scope:t,state:i},a=Ae(e,"field")||"file",l=document.createElement("input");l.type="file",l.hidden=!0,l.tabIndex=-1,e.hasAttribute("accept")&&(l.accept=(T=e.getAttribute("accept"))!=null?T:""),e.hasAttribute("multiple")&&(l.multiple=!0),e.appendChild(l);let c=k=>{k.length&&(e.classList.add("v-dropzone-busy"),e.classList.remove("v-dropzone-error"),Sf(s,n,k,a).finally(()=>{e.classList.remove("v-dropzone-busy"),i.success||e.classList.add("v-dropzone-error")}))},d=0,u=k=>{k.preventDefault(),d++,e.classList.add("v-dropzone-over")},p=k=>{k.preventDefault(),k.dataTransfer&&(k.dataTransfer.dropEffect="copy")},f=()=>{d=Math.max(0,d-1),d===0&&e.classList.remove("v-dropzone-over")},m=k=>{var D,A;k.preventDefault(),d=0,e.classList.remove("v-dropzone-over");let C=Array.from((A=(D=k.dataTransfer)==null?void 0:D.files)!=null?A:[]);c(l.multiple?C:C.slice(0,1))},h=k=>{k.target!==l&&l.click()},v=k=>{k.key!=="Enter"&&k.key!==" "||(k.preventDefault(),l.click())},g=()=>{var C;let k=Array.from((C=l.files)!=null?C:[]);c(k),l.value=""};e.addEventListener("dragenter",u),e.addEventListener("dragover",p),e.addEventListener("dragleave",f),e.addEventListener("drop",m),e.addEventListener("click",h),e.addEventListener("keydown",v),l.addEventListener("change",g),r(()=>{e.removeEventListener("dragenter",u),e.removeEventListener("dragover",p),e.removeEventListener("dragleave",f),e.removeEventListener("drop",m),e.removeEventListener("click",h),e.removeEventListener("keydown",v),l.removeEventListener("change",g),l.remove()})});var Gg={idle:"",saving:"Saving...",saved:"Changes saved",error:"Could not save"};function Qg(e){let t=Ae(e,"autosave-status");if(t){let o=document.querySelector(t);if(o)return o;X(`${w.prefix}autosave-status element not found: ${t}`)}let n=e.querySelector(".v-autosave-status");if(n)return n;let r=document.createElement("span");return r.className="v-autosave-status",r.setAttribute("aria-live","polite"),e.appendChild(r),r}function fl(e,t){e.setAttribute("data-state",t),e.textContent=Gg[t]}y("autosave",({el:e,scope:t,expression:n,modifiers:r,cleanup:o})=>{var m,h,v;io();let i=e,s=oo(i),a={host:i,form:i,scope:t,state:s},l=Qg(i),c=(v=(h=(m=typeof r.delay=="string"?r.delay:null)!=null?m:Object.keys(r).find(g=>/^[\d.]+(ms|s|m)?$/.test(g)))!=null?h:Ae(i,"autosave-delay"))!=null?v:1e3,d=Q(c,1e3),u=async()=>{let g=Ui(n,t);if(!g){X(`${w.prefix}autosave needs a destination URL.`);return}if(s.loading)return;s.saving=!0,fl(l,"saving");let b=(Ae(i,"method")||"POST").trim().toUpperCase();try{let x=await jt({url:g,method:b,body:or(i,{formData:Vi(i,"form-data")})});s.data=x.data,s.status=x.status,s.dirty=!1,s.success=!0,fl(l,"saved"),_i(a,"on-success",x.data,{status:x.status}),Yt(i,"voodoo:autosave",{data:x.data,status:x.status,form:i,state:s})}catch(x){fl(l,"error"),hl(a,x)}finally{s.saving=!1}},p=Ke(()=>{u()},d),f=()=>{s.dirty=!0,p()};i.addEventListener("input",f),i.addEventListener("change",f),o(()=>{p.cancel(),i.removeEventListener("input",f),i.removeEventListener("change",f)})});y("guard",({el:e,expression:t,cleanup:n})=>{var c;let r=(c=e.tagName==="FORM"?e:e.closest("form"))!=null?c:e,o=oo(r),i=t.trim()||"There are unsaved changes.",s=()=>{o.dirty=!0},a=()=>{o.dirty=!1},l=d=>{!o.dirty||o.loading||(d.preventDefault(),d.returnValue=i)};r.addEventListener("input",s),r.addEventListener("change",s),r.addEventListener("reset",a),r.addEventListener("voodoo:success",a),window.addEventListener("beforeunload",l),n(()=>{r.removeEventListener("input",s),r.removeEventListener("change",s),r.removeEventListener("reset",a),r.removeEventListener("voodoo:success",a),window.removeEventListener("beforeunload",l)})});me();ce();function so(e){let t={};for(let[n,r]of Object.entries(e))if(typeof r!="function"&&!n.startsWith("$"))try{JSON.stringify(r),t[n]=Me(r)}catch(o){}return t}function Cf(e,t){if(e.id)return`${t}:${location.pathname}:#${e.id}`;let n=[],r=e;for(;r&&r!==document.body;){let o=r.parentElement,i=o?Array.from(o.children).indexOf(r):0;n.unshift(`${r.tagName.toLowerCase()}${i}`),r=o}return`${t}:${location.pathname}:${n.join(">")}`}y("persist",({el:e,scope:t,expression:n,cleanup:r})=>{let o=n.trim()?`voodoo:persist:${n.trim()}`:Cf(e,"voodoo:persist"),i=ue.get(o);if(i&&typeof i=="object")for(let[l,c]of Object.entries(i))l in t.data&&(t.data[l]=c);let s=Ke(()=>{ue.set(o,so(t.data))},120),a=Ie(t.data,()=>s(),{deep:!0});s(),r(()=>{s.flush(),a()})},{priority:j.DATA-1});y("sync",({el:e,scope:t,expression:n,cleanup:r})=>{if(typeof BroadcastChannel=="undefined")return;let o=n.trim()||Cf(e,"voodoo:sync"),i=new BroadcastChannel(o),s=Math.random().toString(36).slice(2),a=!1,l=Ke(()=>{if(!a)try{i.postMessage({from:s,state:so(t.data)})}catch(d){K(d,"v-sync")}},60);i.addEventListener("message",d=>{let u=d.data;if(!(!u||u.from===s)){a=!0;for(let[p,f]of Object.entries(u.state))p in t.data&&t.data[p]!==f&&(t.data[p]=f);queueMicrotask(()=>{a=!1})}});let c=Ie(t.data,()=>l(),{deep:!0});r(()=>{c(),i.close()})},{priority:j.DATA-1});var gl=new WeakMap;function bl(e){let t=e;for(;t;){let n=gl.get(t);if(n)return n;t=t.parentElement}return null}y("history",({el:e,scope:t,expression:n,cleanup:r})=>{var f;let o=Number(n)||50,i=[JSON.parse(JSON.stringify(so(t.data)))],s=0,a=!1,l=Y({canUndo:!1,canRedo:!1,size:1,undo(){s<=0||(s--,d())},redo(){s>=i.length-1||(s++,d())},clear(){i.length=0,i.push(JSON.parse(JSON.stringify(so(t.data)))),s=0,c()}});function c(){l.canUndo=s>0,l.canRedo=s<i.length-1,l.size=i.length}function d(){a=!0;let m=i[s];for(let[h,v]of Object.entries(m))t.data[h]=JSON.parse(JSON.stringify(v));c(),queueMicrotask(()=>{a=!1})}let u=Ke(()=>{if(a)return;let m=JSON.stringify(so(t.data));m!==JSON.stringify(i[s])&&(i.splice(s+1),i.push(JSON.parse(m)),i.length>o&&i.shift(),s=i.length-1,c())},Q((f=e.getAttribute("v-history-debounce"))!=null?f:void 0,300)),p=Ie(t.data,()=>u(),{deep:!0});gl.set(e,l),t.set("$history",l),r(()=>{p(),u.cancel(),gl.delete(e)})},{priority:j.DATA-1});y("undo",({el:e,cleanup:t})=>{let n=()=>{var r;return(r=bl(e))==null?void 0:r.undo()};e.addEventListener("click",n),t(()=>e.removeEventListener("click",n))});y("redo",({el:e,cleanup:t})=>{let n=()=>{var r;return(r=bl(e))==null?void 0:r.redo()};e.addEventListener("click",n),t(()=>e.removeEventListener("click",n))});y("storage",({el:e,expression:t,cleanup:n,scope:r})=>{let o=t.trim();if(!o)return;let i=e,s=ue.get(`voodoo:field:${o}`);s!=null&&"value"in i&&(i.value=String(s));let a=()=>{ue.set(`voodoo:field:${o}`,i.value)};i.addEventListener("input",a),n(()=>i.removeEventListener("input",a))});H("$history",e=>e.el?bl(e.el):null);ce();var ar=null,Xt=.35,Dt=!1,Af=!1,yl="voodoo:sound:volume",Df="voodoo:sound:muted";function vn(){if(Af)return;Af=!0;let e=ue.get(yl);typeof e=="number"&&e>=0&&e<=1&&(Xt=e);let t=ue.get(Df);typeof t=="boolean"&&(Dt=t),typeof matchMedia!="undefined"&&matchMedia("(prefers-reduced-motion: reduce)").matches&&ue.get(yl)===void 0&&(Xt=.18)}function Rf(){var t;if(typeof window=="undefined")return null;if(ar)return ar.state==="suspended"&&ar.resume(),ar;let e=(t=window.AudioContext)!=null?t:window.webkitAudioContext;if(!e)return null;try{return ar=new e,ar}catch(n){return null}}function $f(e,t,n){var c,d,u,p;let r=e.currentTime+((c=t.atraso)!=null?c:0),o=r+t.duracao,i=e.createOscillator();i.type=(d=t.forma)!=null?d:"sine",i.frequency.setValueAtTime(t.frequencia,r),t.ate!==void 0&&t.ate!==t.frequencia&&i.frequency.exponentialRampToValueAtTime(Math.max(1,t.ate),o);let s=e.createGain(),a=Xt*n*((u=t.volume)!=null?u:1),l=(p=t.ataque)!=null?p:.008;s.gain.setValueAtTime(1e-4,r),s.gain.exponentialRampToValueAtTime(Math.max(1e-4,a),r+l),s.gain.exponentialRampToValueAtTime(1e-4,o),i.connect(s),s.connect(e.destination),i.start(r),i.stop(o+.02)}var Wi={click:{volume:.5,camadas:[{frequencia:660,ate:440,duracao:.06,forma:"triangle"}]},pop:{volume:.5,camadas:[{frequencia:880,ate:1320,duracao:.07,forma:"sine"}]},hover:{volume:.22,camadas:[{frequencia:1200,duracao:.035,forma:"sine"}]},success:{volume:.6,camadas:[{frequencia:523.25,duracao:.1,forma:"sine"},{frequencia:783.99,duracao:.18,forma:"sine",atraso:.09}]},complete:{volume:.6,camadas:[{frequencia:523.25,duracao:.1,forma:"sine"},{frequencia:659.25,duracao:.1,forma:"sine",atraso:.09},{frequencia:1046.5,duracao:.22,forma:"sine",atraso:.18}]},error:{volume:.6,camadas:[{frequencia:392,duracao:.12,forma:"square",volume:.5},{frequencia:261.63,duracao:.24,forma:"square",volume:.5,atraso:.1}]},warning:{volume:.55,camadas:[{frequencia:587.33,duracao:.1,forma:"triangle"},{frequencia:587.33,duracao:.14,forma:"triangle",atraso:.14}]},notify:{volume:.5,camadas:[{frequencia:987.77,duracao:.14,forma:"sine"},{frequencia:1318.51,duracao:.3,forma:"sine",atraso:.08,volume:.6}]},type:{volume:.18,camadas:[{frequencia:2200,duracao:.018,forma:"square"}]},open:{volume:.4,camadas:[{frequencia:330,ate:660,duracao:.14,forma:"sine"}]},close:{volume:.4,camadas:[{frequencia:660,ate:330,duracao:.14,forma:"sine"}]},deny:{volume:.5,camadas:[{frequencia:220,duracao:.08,forma:"square",volume:.5},{frequencia:180,duracao:.12,forma:"square",volume:.5,atraso:.07}]},coin:{volume:.45,camadas:[{frequencia:987.77,duracao:.06,forma:"square"},{frequencia:1318.51,duracao:.16,forma:"square",atraso:.05}]},levelup:{volume:.55,camadas:[{frequencia:523.25,duracao:.08,forma:"square"},{frequencia:659.25,duracao:.08,forma:"square",atraso:.07},{frequencia:783.99,duracao:.08,forma:"square",atraso:.14},{frequencia:1046.5,duracao:.26,forma:"square",atraso:.21}]},drop:{volume:.5,camadas:[{frequencia:180,ate:90,duracao:.12,forma:"triangle"}]}},Jg={do:261.63,"do#":277.18,re:293.66,"re#":311.13,mi:329.63,fa:349.23,"fa#":369.99,sol:392,"sol#":415.3,la:440,"la#":466.16,si:493.88,c:261.63,d:293.66,e:329.63,f:349.23,g:392,a:440,b:493.88};function Ki(e){let t=String(e).trim().toLowerCase(),n=/^([a-z]+#?)(\d)?$/.exec(t);if(!n)return null;let r=Jg[n[1]];if(r===void 0)return null;let o=n[2]?Number(n[2]):4;return r*2**(o-4)}var Yi=new Map;function Zg(e,t){let n=Yi.get(e);n||(n=new Audio(e),n.preload="auto",Yi.set(e,n)),n.volume=Math.max(0,Math.min(1,Xt*t)),n.currentTime=0,n.play().catch(()=>{})}function Pf(e){return/^(https?:)?\/\//.test(e)||/^[./]/.test(e)||/\.(mp3|wav|ogg|m4a|aac)$/i.test(e)}var Gt={play(e,t={}){var l,c,d;if(vn(),Dt||!e)return;let n=String(e).trim(),r=(l=t.volume)!=null?l:1;if(Pf(n)){Zg(n,r);return}let o=Wi[n];if(!o){let u=Ki(n);u!==null&&this.tone(u,200,{volume:r});return}let i=Rf();if(!i)return;let s=(c=t.tom)!=null?c:1,a=((d=o.volume)!=null?d:1)*r;for(let u of o.camadas)$f(i,s===1?u:{...u,frequencia:u.frequencia*s,ate:u.ate===void 0?void 0:u.ate*s},a)},tone(e,t=200,n={}){var o,i;if(vn(),Dt)return;let r=Rf();r&&$f(r,{frequencia:e,duracao:t/1e3,forma:(o=n.forma)!=null?o:"sine"},(i=n.volume)!=null?i:.5)},note(e,t=250,n={}){let r=Ki(e);r!==null&&this.tone(r,t,n)},melody(e,t=150,n={}){vn(),!Dt&&e.forEach((r,o)=>{let i=typeof r=="number"?r:Ki(r);i!==null&&setTimeout(()=>this.tone(i,t*1.6,n),o*t)})},volume(e){return vn(),e===void 0||(Xt=Math.max(0,Math.min(1,e)),ue.set(yl,Xt)),Xt},mute(e=!0){vn(),Dt=e,ue.set(Df,Dt)},unmute(){this.mute(!1)},toggle(){return vn(),this.mute(!Dt),Dt},get muted(){return vn(),Dt},get names(){return Object.keys(Wi)},define(e,t){Wi[e]=t},preload(...e){for(let t of e){if(Yi.has(t))continue;let n=new Audio(t);n.preload="auto",Yi.set(t,n)}}};y("sound",({el:e,arg:t,expression:n,modifiers:r,scope:o,cleanup:i,evaluate:s})=>{let a=t||"click",l=()=>{let u=n.trim();if(!u)return"click";if(Wi[u]||Pf(u)||Ki(u)!==null)return u;let p=s();return typeof p=="string"?p:u},c=r.volume!==void 0?Number(r.volume):void 0,d=()=>{Gt.play(l(),c===void 0?{}:{volume:c})};e.addEventListener(a,d),i(()=>e.removeEventListener(a,d))});y("mute",({el:e,cleanup:t})=>{let n=()=>{let o=Gt.muted;e.setAttribute("aria-pressed",String(o)),e.classList.toggle("v-muted",o)},r=()=>{Gt.toggle(),n(),Gt.muted||Gt.play("pop")};e.addEventListener("click",r),n(),t(()=>e.removeEventListener("click",r))});H("$sound",()=>Gt);me();ce();function ao(){return typeof window=="undefined"||typeof window.matchMedia!="function"?!1:ve.reducedMotion}var cr=new Set,gn=0;function zf(e){gn=0;let t=Array.from(cr);for(let n of t)cr.has(n)&&n(e);cr.size>0&&(gn=requestAnimationFrame(zf))}function Bf(e){typeof requestAnimationFrame=="function"&&(cr.add(e),gn||(gn=requestAnimationFrame(zf)))}function Qi(e){cr.delete(e),cr.size===0&&gn&&(cancelAnimationFrame(gn),gn=0)}var jf=12e3;function eb(e){return e*e*(2.70158*e-1.70158)}var lo={linear(e){return e},easeIn(e){return e*e*e},easeOut(e){return 1-Math.pow(1-e,3)},easeInOut(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2},easeOutBack(e){return 1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2)},easeOutExpo(e){return e>=1?1:1-Math.pow(2,-10*e)},anticipate(e){let t=e*2;return t<1?.5*eb(t):.5*(2-Math.pow(2,-10*(t-1)))},bounce(e){let r=e;return r<1/2.75?7.5625*r*r:r<2/2.75?(r-=1.5/2.75,7.5625*r*r+.75):r<2.5/2.75?(r-=2.25/2.75,7.5625*r*r+.9375):(r-=2.625/2.75,7.5625*r*r+.984375)}};function tb(e){if(typeof e=="function")return e;if(typeof e=="string"){let t=lo[e];if(t)return t}return lo.easeOut}var Sl={x:0,y:0,z:0,parallax:0,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,scale:1,scaleX:1,scaleY:1},nb={x:"px",y:"px",z:"px",parallax:"px",rotate:"deg",rotateX:"deg",rotateY:"deg",skewX:"deg",skewY:"deg",scale:"",scaleX:"",scaleY:""},qf={translateX:"x",translateY:"y",translateZ:"z",rotateZ:"rotate"},Cl={blur:0,brightness:1,saturate:1,grayscale:0,contrast:1},rb={blur:"px",brightness:"",saturate:"",grayscale:"",contrast:""},ob=new Set(["opacity","z-index","font-weight","line-height","flex-grow","flex-shrink","order","zoom","fill-opacity","stroke-opacity","stroke-width","stroke-dashoffset","stroke-dasharray"]),El=new WeakMap,kl=new WeakMap;function Ji(e){let t=El.get(e);return t||(t={...Sl},El.set(e,t)),t}function Vf(e){let t=kl.get(e);return t||(t={...Cl},kl.set(e,t)),t}function Re(e){return Math.round(e*1e3)/1e3}function Tl(e){let t=El.get(e);if(!t)return;let n=[],r=t.y+t.parallax;(t.x||r||t.z)&&n.push(`translate3d(${Re(t.x)}px, ${Re(r)}px, ${Re(t.z)}px)`),t.rotateX&&n.push(`rotateX(${Re(t.rotateX)}deg)`),t.rotateY&&n.push(`rotateY(${Re(t.rotateY)}deg)`),t.rotate&&n.push(`rotate(${Re(t.rotate)}deg)`),(t.skewX||t.skewY)&&n.push(`skew(${Re(t.skewX)}deg, ${Re(t.skewY)}deg)`);let o=t.scale*t.scaleX,i=t.scale*t.scaleY;(o!==1||i!==1)&&n.push(`scale(${Re(o)}, ${Re(i)})`),n.length>0?e.style.transform=n.join(" "):e.style.removeProperty("transform")}function ib(e){let t=kl.get(e);if(!t)return;let n=[];t.blur&&n.push(`blur(${Re(t.blur)}px)`),t.brightness!==1&&n.push(`brightness(${Re(t.brightness)})`),t.saturate!==1&&n.push(`saturate(${Re(t.saturate)})`),t.grayscale&&n.push(`grayscale(${Re(t.grayscale)})`),t.contrast!==1&&n.push(`contrast(${Re(t.contrast)})`),n.length>0?e.style.filter=n.join(" "):e.style.removeProperty("filter")}var sb=/^([+-]?(?:\d+\.?\d*|\.\d+))([a-z%]*)$/i,Uf=/^#([0-9a-f]{3,8})$/i;function Xi(e){if(typeof e!="string")return!1;let t=e.trim().toLowerCase();return t==="transparent"||Uf.test(t)||t.startsWith("rgb")||t.startsWith("hsl")}function ab(e,t,n){let r=(e%360+360)%360,o=(1-Math.abs(2*n-1))*t,i=o*(1-Math.abs(r/60%2-1)),s=n-o/2,a;return r<60?a=[o,i,0]:r<120?a=[i,o,0]:r<180?a=[0,o,i]:r<240?a=[0,i,o]:r<300?a=[i,0,o]:a=[o,0,i],[Math.round((a[0]+s)*255),Math.round((a[1]+s)*255),Math.round((a[2]+s)*255)]}function Nf(e){var i,s;let t=e.trim().toLowerCase();if(t==="transparent")return[0,0,0,0];let n=Uf.exec(t);if(n){let a=n[1];(a.length===3||a.length===4)&&(a=a.split("").map(d=>d+d).join(""));let l=parseInt(a.slice(0,6),16),c=a.length===8?parseInt(a.slice(6,8),16)/255:1;return[l>>16&255,l>>8&255,l&255,c]}let r=(i=t.match(/-?(?:\d+\.?\d*|\.\d+)%?/g))!=null?i:[],o=(a,l)=>{var u;let c=(u=r[a])!=null?u:"0",d=parseFloat(c);return c.endsWith("%")?d/100*l:d};if(t.startsWith("hsl")){let a=c=>{var p;let d=(p=r[c])!=null?p:"0",u=parseFloat(d);return d.endsWith("%")||u>1?u/100:u},l=ab(parseFloat((s=r[0])!=null?s:"0"),a(1),a(2));return[l[0],l[1],l[2],r.length>3?o(3,1):1]}return[o(0,255),o(1,255),o(2,255),r.length>3?o(3,1):1]}function lb(e){let t=Math.max(0,Math.min(1,e[3]));return`rgba(${Math.round(e[0])}, ${Math.round(e[1])}, ${Math.round(e[2])}, ${Re(t)})`}function _f(e){return e.startsWith("--")?e:e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function Wf(e,t,n,r){if(t==="transform")return Ji(e)[n];if(t==="filter")return Vf(e)[n];if(typeof getComputedStyle!="function")return e.style.getPropertyValue(r).trim();let o=getComputedStyle(e).getPropertyValue(r);return o?o.trim():""}function cb(e,t,n){var u;let r=(u=qf[t])!=null?u:t,o=r in Sl?"transform":r in Cl?"filter":"style",i=o==="style"?_f(r):r,s=o==="transform"?nb[r]:o==="filter"?rb[r]:ob.has(i)?"":"px",a=Array.isArray(n)?[n[0],n[1]]:[Wf(e,o,r,i),n],l={kind:o,prop:r,cssName:i,mode:"number",unit:s,from:0,to:0,fromColor:[0,0,0,1],toColor:[0,0,0,1],fromText:String(a[0]),toText:String(a[1])};if(Xi(a[0])||Xi(a[1]))return o!=="style"?null:(l.mode="color",l.fromColor=Xi(a[0])?Nf(String(a[0])):[0,0,0,0],l.toColor=Xi(a[1])?Nf(String(a[1])):[0,0,0,0],l);let c=Hf(a[0],s),d=Hf(a[1],s);return!c||!d?o!=="style"?null:(l.mode="discrete",l):(l.from=c.value,l.to=d.value,l.unit=d.unit||c.unit||s,l)}function Hf(e,t){if(typeof e=="number")return Number.isFinite(e)?{value:e,unit:t}:null;let n=sb.exec(e.trim());return n?{value:parseFloat(n[1]),unit:n[2]||t}:null}function lr(e,t,n){let r=!1,o=!1;for(let i of t){if(i.kind==="transform"){Ji(e)[i.prop]=i.from+(i.to-i.from)*n,r=!0;continue}if(i.kind==="filter"){Vf(e)[i.prop]=i.from+(i.to-i.from)*n,o=!0;continue}if(i.mode==="color"){let a=[i.fromColor[0]+(i.toColor[0]-i.fromColor[0])*n,i.fromColor[1]+(i.toColor[1]-i.fromColor[1])*n,i.fromColor[2]+(i.toColor[2]-i.fromColor[2])*n,i.fromColor[3]+(i.toColor[3]-i.fromColor[3])*n];e.style.setProperty(i.cssName,lb(a));continue}if(i.mode==="discrete"){e.style.setProperty(i.cssName,n>=1?i.toText:i.fromText);continue}let s=i.from+(i.to-i.from)*n;e.style.setProperty(i.cssName,`${Re(s)}${i.unit}`)}r&&Tl(e),o&&ib(e)}function Kf(e,t){let n=[];for(let[r,o]of Object.entries(t)){if(o==null)continue;let i=cb(e,r,o);i&&n.push(i)}return n}function Of(e,t){for(let n of Al(e))lr(n,Kf(n,t),0)}function db(e,t){var r;let n={};for(let o of Object.keys(t)){let i=(r=qf[o])!=null?r:o,s=i in Sl?"transform":i in Cl?"filter":"style";n[o]=Wf(e,s,i,s==="style"?_f(i):i)}return n}function xl(e){return typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof SVGElement!="undefined"&&e instanceof SVGElement}function Al(e){if(!e)return[];if(typeof e=="string")return typeof document=="undefined"?[]:Array.from(document.querySelectorAll(e)).filter(xl);if(xl(e))return[e];let t=e;if(typeof t.length!="number")return[];let n=[];for(let r=0;r<t.length;r++){let o=t[r];xl(o)&&n.push(o)}return n}function Zi(e){return{finished:Promise.resolve(),stop(){e==null||e()}}}function Ll(e,t,n){var x,T,k,C,D,A,se;let r=Kf(e,t);if(ao()&&!n.force)return lr(e,r,1),(x=n.onUpdate)==null||x.call(n,1),(T=n.onComplete)==null||T.call(n),Zi();let o=Math.max(0,(k=n.duration)!=null?k:400),i=Math.max(0,(C=n.delay)!=null?C:0),s=tb(n.easing),a=Math.max(0,Math.floor((D=n.repeat)!=null?D:0)),l=(A=n.repeatType)!=null?A:"loop",c=n.spring===!0?{}:n.spring?n.spring:null,d,u=new Promise(O=>{d=O}),p=!0,f=-1,m=-1,h=0,v=(se=c==null?void 0:c.velocity)!=null?se:0;function g(O){var en,Ln,gc,bc,yc,xc,wc;if(!p)return;f<0&&(f=O,m=O);let pe=O-f-i;if(pe<0)return;let ae=Math.min(64,Math.max(0,O-m));if(m=O,pe>jf){b(1);return}if(c){let lm=(en=c.stiffness)!=null?en:170,cm=(Ln=c.damping)!=null?Ln:26,dm=(gc=c.mass)!=null?gc:1,Ec=Math.max(1,Math.round(ae)),kc=ae/Ec/1e3;for(let Tc=0;Tc<Ec;Tc++){let pm=(-lm*(h-1)-cm*v)/dm;v+=pm*kc,h+=v*kc}let um=(bc=c.restDelta)!=null?bc:.001,fm=(yc=c.restSpeed)!=null?yc:.01;if(Math.abs(1-h)<um&&Math.abs(v)<fm){b(1);return}lr(e,r,h),(xc=n.onUpdate)==null||xc.call(n,h);return}if(o===0){b(1);return}let R=a+1,S=Math.floor(pe/o),B=(pe-S*o)/o,Ve=!1;S>=R&&(S=R-1,B=1,Ve=!0);let Ue;if(S%2===1&&l==="reverse"?Ue=s(1-B):S%2===1&&l==="mirror"?Ue=1-s(B):Ue=s(B),Ve){b(Ue);return}lr(e,r,Ue),(wc=n.onUpdate)==null||wc.call(n,Ue)}function b(O){var pe,ae;p&&(p=!1,Qi(g),lr(e,r,O),(pe=n.onUpdate)==null||pe.call(n,O),d(),(ae=n.onComplete)==null||ae.call(n))}return lr(e,r,c?h:s(0)),Bf(g),{finished:u,stop(){p&&(p=!1,Qi(g),d())}}}function Pt(e,t,n={}){let r=Al(e);if(r.length===0)return Zi();if(r.length===1)return Ll(r[0],t,n);let o=r.map(i=>Ll(i,t,n));return{finished:Promise.all(o.map(i=>i.finished)).then(()=>{}),stop(){for(let i of o)i.stop()}}}function Rl(e,t,n={}){var g,b,x,T,k,C,D,A;if(ao())return(g=n.onUpdate)==null||g.call(n,t),(b=n.onComplete)==null||b.call(n),Zi();let r=(x=n.stiffness)!=null?x:170,o=(T=n.damping)!=null?T:26,i=(k=n.mass)!=null?k:1,s=Math.abs(t-e)||1,a=(C=n.restDelta)!=null?C:s*.001,l=(D=n.restSpeed)!=null?D:s*.01,c=e,d=(A=n.velocity)!=null?A:0,u=!0,p=-1,f=0,m,h=new Promise(se=>{m=se});function v(se){var S,B,Ve,Ue;if(!u)return;if(p<0){p=se,(S=n.onUpdate)==null||S.call(n,c);return}let O=Math.min(64,Math.max(0,se-p));p=se,f+=O;let pe=Math.max(1,Math.round(O)),ae=O/pe/1e3;for(let en=0;en<pe;en++){let Ln=(-r*(c-t)-o*d)/i;d+=Ln*ae,c+=d*ae}if(Math.abs(t-c)<a&&Math.abs(d)<l||f>jf){u=!1,Qi(v),c=t,(B=n.onUpdate)==null||B.call(n,t),m(),(Ve=n.onComplete)==null||Ve.call(n);return}(Ue=n.onUpdate)==null||Ue.call(n,c)}return Bf(v),{finished:h,stop(){u&&(u=!1,Qi(v),m())}}}function Yf(e,t,n,r){return r==="last"?(t-1-e)*n:r==="center"?Math.abs(e-(t-1)/2)*n:e*n}function $l(e,t,n={}){var l,c,d;let r=Al(e);if(r.length===0)return Zi();let o=(l=n.delay)!=null?l:60,i=(c=n.start)!=null?c:0,s=(d=n.from)!=null?d:"first",a=r.map((u,p)=>Ll(u,t,{...n,delay:i+Yf(p,r.length,o,s)}));return{finished:Promise.all(a.map(u=>u.finished)).then(()=>{}),stop(){for(let u of a)u.stop()}}}function ub(e){return e==="all"?.99:e==="any"?0:typeof e=="number"?Math.max(0,Math.min(1,e)):.25}function es(e,t,n={}){var s,a,l;let r=(s=n.once)!=null?s:!0,o;if(typeof IntersectionObserver=="undefined")return o=t({target:e,isIntersecting:!0,intersectionRatio:1}),()=>{typeof o=="function"&&o()};let i=new IntersectionObserver(c=>{for(let d of c)d.isIntersecting?(o=t(d),r&&i.disconnect()):typeof o=="function"&&(o(),o=void 0)},{root:(a=n.root)!=null?a:null,rootMargin:(l=n.margin)!=null?l:"0px",threshold:ub(n.amount)});return i.observe(e),()=>{i.disconnect(),typeof o=="function"&&o()}}function Dl(e,t){let n=!1,r=!1;if(typeof window=="undefined")return t(0),()=>{n=!0};let o=()=>{if(r=!1,n)return;let s=e.getBoundingClientRect(),a=window.innerHeight||document.documentElement.clientHeight||1,l=a+s.height||1,c=(a-s.top)/l;t(Math.max(0,Math.min(1,c)))},i=()=>{r||n||(r=!0,requestAnimationFrame(o))};return window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i),o(),()=>{n=!0,window.removeEventListener("scroll",i),window.removeEventListener("resize",i)}}var fb={opacity:[0,1],duration:420,easing:"easeOut"},pb={opacity:[0,1],y:[24,0],duration:520,easing:"easeOutExpo"},mb={opacity:[0,1],y:[-24,0],duration:520,easing:"easeOutExpo"},vb={opacity:[0,1],scale:[.92,1],duration:460,easing:"easeOutBack"},hb={opacity:[0,1],x:[36,0],duration:500,easing:"easeOutExpo"},gb={opacity:[0,1],x:[-36,0],duration:500,easing:"easeOutExpo"},bb={opacity:[0,1],scale:[.6,1],spring:{stiffness:420,damping:18}},yb={opacity:[0,1],blur:[10,0],duration:560,easing:"easeOut"},xb={opacity:[0,1],rotateX:[-80,0],duration:620,easing:"easeOutBack"},hn={fadeIn:fb,fadeUp:pb,fadeDown:mb,scaleIn:vb,slideLeft:hb,slideRight:gb,pop:bb,blurIn:yb,flip:xb},wb=new Set(["duration","delay","easing","spring","repeat","repeatType","force","from","start","onUpdate","onComplete"]);function ts(e){let t={},n={};for(let[r,o]of Object.entries(e))o!=null&&(wb.has(r)?n[r]=o:t[r]=o);return{keyframes:t,options:n}}function Xf(e){let t=e.trim();return t?/^['"`]/.test(t)||/^[[{(]/.test(t)?!0:/^[$A-Za-z_][\w$]*(?:\.[$A-Za-z_][\w$]*|\[[^\]]*\])*$/.test(t):!1}function co(e,t){let n=e.trim();if(!n)return null;if(hn[n])return hn[n];if(!Xf(n))return null;let r=t();return typeof r=="string"&&hn[r]?hn[r]:r&&typeof r=="object"?r:null}function bt(e,t){var n;return(n=e.getAttribute(`${w.prefix}${t}`))!=null?n:e.getAttribute(`data-v-${t}`)}function Ff(e,t){return e.hasAttribute(`${w.prefix}${t}`)||e.hasAttribute(`data-v-${t}`)}var Gf=new WeakMap;function Qf(e){let t=bt(e,"motion-stagger-from");return t==="last"||t==="center"?t:"first"}function Eb(e){return Ff(e,"motion")||Ff(e,"motion-scroll")}function Jf(e){let t=e.parentElement;if(!t)return 0;let n=Gf.get(t);if(!n){let i=bt(t,"motion-stagger");if(i===null)return 0;n={step:Q(i,60),from:Qf(t)}}let r=Array.from(t.children).filter(Eb),o=r.indexOf(e);return o<0?0:Yf(o,r.length,n.step,n.from)}y("motion",({el:e,expression:t,evaluate:n,cleanup:r})=>{var c;let o=co(t,n);if(!o){X(`v-motion did not recognize the variant "${t}".`);return}let{keyframes:i,options:s}=ts(o),a=Jf(e);a>0&&(s.delay=((c=s.delay)!=null?c:0)+a);let l=Pt(e,i,s);r(()=>l.stop())});y("motion-scroll",({el:e,expression:t,evaluate:n,modifiers:r,cleanup:o})=>{var m,h;let i=co(t,n);if(!i){X(`v-motion-scroll did not recognize the variant "${t}".`);return}let{keyframes:s,options:a}=ts(i),l=Jf(e);l>0&&(a.delay=((m=a.delay)!=null?m:0)+l);let c=!r.repeat,d=bt(e,"motion-scroll-amount"),u=d===null?.25:parseFloat(d)||0;ao()||Of(e,s);let p=null,f=es(e,()=>{if(p==null||p.stop(),p=Pt(e,s,a),!c)return()=>{p==null||p.stop(),ao()||Of(e,s)}},{once:c,amount:u,margin:(h=bt(e,"motion-scroll-margin"))!=null?h:"0px"});o(()=>{f(),p==null||p.stop()})});y("motion-stagger",({el:e,expression:t,evaluate:n})=>{let r=n(),o=typeof r=="number"&&Number.isFinite(r)?r:Q(t,60);Gf.set(e,{step:o,from:Qf(e)})},{priority:j.BIND});function Zf(e,t,n,r,o,i){let{keyframes:s,options:a}=ts(t),l={...o,...a},c=null,d=null,u=m=>{d==null||d.stop(),d=Pt(e,m,l)},p=()=>{c||(c=db(e,s)),u(s)},f=()=>{c&&u(c)};for(let m of n)e.addEventListener(m,p);for(let m of r)e.addEventListener(m,f);i(()=>{for(let m of n)e.removeEventListener(m,p);for(let m of r)e.removeEventListener(m,f);d==null||d.stop()})}y("motion-hover",({el:e,expression:t,evaluate:n,cleanup:r})=>{let o=co(t,n);if(!o){X(`v-motion-hover did not recognize the variant "${t}".`);return}Zf(e,o,["mouseenter","focusin"],["mouseleave","focusout"],{duration:220,easing:"easeOut"},r)});y("motion-tap",({el:e,expression:t,evaluate:n,cleanup:r})=>{let o=co(t,n);if(!o){X(`v-motion-tap did not recognize the variant "${t}".`);return}Zf(e,o,["pointerdown"],["pointerup","pointercancel","pointerleave","blur"],{duration:140,easing:"easeOut"},r)});y("parallax",({el:e,expression:t,evaluate:n,cleanup:r})=>{if(ao()||typeof window=="undefined")return;let o=n(),i=typeof o=="number"&&Number.isFinite(o)?o:parseFloat(t)||.3;e.style.willChange="transform";let s=!1,a=()=>{s=!1;let c=e.getBoundingClientRect(),d=window.innerHeight||document.documentElement.clientHeight||1,u=c.top+c.height/2;Ji(e).parallax=(d/2-u)*i,Tl(e)},l=()=>{s||(s=!0,requestAnimationFrame(a))};window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",l),a(),r(()=>{window.removeEventListener("scroll",l),window.removeEventListener("resize",l),Ji(e).parallax=0,Tl(e),e.style.removeProperty("will-change")})});var Gi=new Map,wl=null,Ml=!1;function If(){Ml||typeof requestAnimationFrame!="function"||(Ml=!0,requestAnimationFrame(kb))}function kb(){var e;Ml=!1;for(let t of Gi.values()){if(!t.el.isConnected||t.animating)continue;let n=t.el.getBoundingClientRect(),r=t.rect;t.rect=n;let o=r.left-n.left,i=r.top-n.top,s=n.width>0?r.width/n.width:1,a=n.height>0?r.height/n.height:1,l=Math.abs(o)>=1||Math.abs(i)>=1,c=Math.abs(s-1)>=.01||Math.abs(a-1)>=.01;!l&&!c||(t.animating=!0,(e=t.control)==null||e.stop(),t.control=Pt(t.el,{x:[o,0],y:[i,0],scaleX:[s,1],scaleY:[a,1]},t.options),t.control.finished.then(()=>{t.animating=!1,t.el.isConnected&&(t.rect=t.el.getBoundingClientRect())}))}}function Tb(){var t;if(wl||typeof MutationObserver=="undefined")return;let e=(t=w.root)!=null?t:document.body;e&&(wl=new MutationObserver(If),wl.observe(e,{childList:!0,subtree:!0}),window.addEventListener("resize",If))}y("flip",({el:e,expression:t,evaluate:n,cleanup:r})=>{if(typeof document=="undefined")return;let o=co(t,n),i=o?ts(o).options:{};i.duration===void 0&&i.spring===void 0&&(i.spring={stiffness:340,damping:34}),Tb(),Gi.set(e,{el:e,rect:e.getBoundingClientRect(),options:i,control:null,animating:!1}),r(()=>{var s,a;(a=(s=Gi.get(e))==null?void 0:s.control)==null||a.stop(),Gi.delete(e)})});function Lb(e,t){let n={minimumFractionDigits:t,maximumFractionDigits:t};e==="currency"&&(n.style="currency",n.currency=w.currency);let r=new Intl.NumberFormat(w.locale,n);return e==="percent"?o=>`${r.format(o)}%`:o=>r.format(o)}y("count",({el:e,evaluate:t,effect:n,cleanup:r})=>{var p,f,m,h,v;let o=Q((p=bt(e,"count-duration"))!=null?p:void 0,1400),i=Math.max(0,Math.min(6,parseInt((f=bt(e,"count-decimals"))!=null?f:"0",10)||0)),s=(m=bt(e,"count-format"))!=null?m:"number",a=(h=bt(e,"count-prefix"))!=null?h:"",l=(v=bt(e,"count-suffix"))!=null?v:"",c=Lb(s,i),d=0,u=null;n(()=>{let g=Number(t()),b=Number.isFinite(g)?g:0,x=d;u==null||u.stop(),u=Pt(e,{},{duration:o,easing:"easeOutExpo",onUpdate(T){d=x+(b-x)*T,e.textContent=`${a}${c(d)}${l}`}})}),r(()=>u==null?void 0:u.stop())});y("typewriter",({el:e,expression:t,evaluate:n,effect:r,cleanup:o})=>{var l;let i=Q((l=bt(e,"typewriter-speed"))!=null?l:void 0,45),s=Xf(t),a=null;r(()=>{var u;let c=s?String((u=n())!=null?u:""):t;if(a==null||a.stop(),e.textContent="",!c)return;let d=-1;a=Pt(e,{},{duration:Math.max(1,c.length*i),easing:"linear",onUpdate(p){let f=Math.round(p*c.length);f!==d&&(d=f,e.textContent=c.slice(0,f))}})}),o(()=>a==null?void 0:a.stop())});Ne();ce();function Mb(){return typeof window=="undefined"||typeof window.matchMedia!="function"?!1:ve.reducedMotion}var uo=["#6D3BF5","#FF3D8B","#2ED9A5","#FFB35C","#9B7BFF","#FF4D4D","#14111F","#3BB6F5"],Sb=`
315
+ `;function io(){ge(),oe("forms-ajax",Ug)}function Yt(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0}))}function Ui(e,t){let n=e.trim();n.includes("{")&&(n=n.replace(/\{([^{}]+)\}/g,(o,i)=>{let s=q(i.trim(),t,`${w.prefix}submit`);return s==null?o:String(s)}));let r=w.baseURL;return r&&!/^[a-z][a-z0-9+.-]*:\/\//i.test(n)&&!n.startsWith("//")&&(n=`${r.replace(/\/$/,"")}/${n.replace(/^\//,"")}`),n}function ml(e){var r;if(!e||typeof e!="object")return"";let t=e,n=(r=t.message)!=null?r:t.mensagem;return typeof n=="string"?n:""}function vl(e,t="",n={}){if(e==null)return n;if(Array.isArray(e))return e.forEach((r,o)=>vl(r,`${t}[${o}]`,n)),n;if(typeof e=="object"&&!(e instanceof File)){for(let[r,o]of Object.entries(e))vl(o,t?`${t}[${r}]`:r,n);return n}return t&&(n[t]=String(e)),n}function _g(e){return Array.from(e.querySelectorAll('button[type="submit"], button:not([type]), input[type="submit"], input[type="image"]'))}function kf(e){return!e||typeof document=="undefined"?null:document.querySelector(e)}var ul=new WeakMap;function Tf(e,t){var n;if(t){e.hidden=!1,e.style.display=(n=ul.get(e))!=null?n:"",e.removeAttribute("aria-hidden");return}ul.has(e)||ul.set(e,e.style.display==="none"?"":e.style.display),e.style.display="none",e.setAttribute("aria-hidden","true")}function qi(e,t){let{host:n,form:r,state:o}=e;o.loading=t,r.classList.toggle("v-loading",t),r.setAttribute("aria-busy",t?"true":"false");let i=Ae(n,"loading-class");if(i)for(let a of i.split(/\s+/).filter(Boolean))r.classList.toggle(a,t);if(Vi(n,"disable-loading"))for(let a of _g(r))a.disabled=t;let s=Ae(n,"loading");if(s){let a=kf(s);a&&Tf(a,t)}}function _i(e,t,n,r){let o=Ae(e.host,t);if(!o)return;let i=e.scope.child({$data:n,$response:r,$form:e.state,$el:e.host}),s=q(o,i,`${w.prefix}${t}`);typeof s=="function"&&s.call(e.scope.data,n,r)}function Wg(e,t){let n=Ae(e.host,"target");if(!n||typeof t!="string")return;let r=document.querySelector(n);if(!r){X(`${w.prefix}target destination not found: ${n}`);return}let o=(Ae(e.host,"swap")||"innerHTML").trim().toLowerCase();if(o==="none")return;if(o==="text"){r.textContent=t;return}let i=document.createElement("template");i.innerHTML=t;let s=Array.from(i.content.childNodes),a=Ce(r);switch(o){case"inner":case"innerhtml":for(let l of Array.from(r.children))G(l);r.textContent="",r.append(...s);break;case"afterbegin":case"prepend":r.prepend(...s);break;case"beforeend":case"append":r.append(...s);break;case"beforebegin":r.before(...s);break;case"afterend":r.after(...s);break;case"outer":case"outerhtml":case"replace":G(r),r.replaceWith(...s);break;default:X(`Unknown mode in ${w.prefix}swap: ${o}`);return}for(let l of s)l.nodeType===1&&te(l,a)}function Lf(e,t,n){var l;let{state:r,form:o,host:i}=e;r.success=!0,r.errors={},r.data=t,r.status=n,r.dirty=!1,r.message=ml(t),Wg(e,t),Vi(i,"reset-success")&&o.tagName==="FORM"&&(o.reset(),ro(o));let s=Ae(i,"toast-success");s!==null&&it.success(s||r.message||"All set!"),_i(e,"on-success",t,{status:n}),Yt(o,"voodoo:success",{data:t,status:n,form:o,state:r});let a=Ae(i,"redirect");if(a!==null&&typeof window!="undefined"){let c=t&&typeof t=="object"?(l=t.redirect)!=null?l:t.url:null,d=e.scope.child({$data:t,$form:r}),u=a?Ui(a,d):String(c!=null?c:"");u&&window.location.assign(u)}}function hl(e,t){var c,d;let{state:n,form:r,host:o}=e,i=t instanceof ke?t:new ke(t instanceof Error?t.message:String(t)),s=(d=(c=i.response)==null?void 0:c.data)!=null?d:null;n.success=!1,n.data=s,n.status=i.status,n.message=ml(s)||i.message;let a=sl(s);(i.status===422||Object.keys(a).length>0)&&(n.errors=Ii(r,s),al(r));let l=Ae(o,"toast-error");l!==null&&it.error(l||ml(s)||"Could not submit the form."),_i(e,"on-error",s,i),Yt(r,"voodoo:error",{error:i,data:s,status:i.status,form:r,state:n})}function Mf(e,t){_i(e,"on-complete",e.state.data,{ok:t,status:e.state.status}),Yt(e.form,"voodoo:complete",{ok:t,status:e.state.status,data:e.state.data,form:e.form,state:e.state})}async function Kg(e,t){let{host:n,form:r,state:o,scope:i}=e;if(o.loading)return;let s=Ae(n,"confirm");if(s!==null&&typeof window!="undefined"&&!window.confirm(s||"Confirm this action?"))return;if(xf(r)){ro(r);let p=await dl(r);if(o.errors=p.errors,!p.valid){al(r),Yt(r,"voodoo:invalid",{errors:p.errors,form:r,state:o});return}}let a=(Ae(n,"method")||r.getAttribute("method")||"POST").trim().toUpperCase(),l=Ui(t,i)||(r.tagName==="FORM"?r.action:"")||(typeof location!="undefined"?location.href:""),c=or(r,{formData:Vi(n,"form-data")}),d=a==="GET"||a==="HEAD";qi(e,!0),o.success=!1,o.progress=0,Yt(r,"voodoo:submit",{url:l,method:a,form:r,state:o});let u=!1;try{let p=await jt({url:l,method:a,body:d?void 0:c,params:d&&!(c instanceof FormData)?vl(c):void 0});u=!0,Lf(e,p.data,p.status)}catch(p){hl(e,p)}finally{qi(e,!1),Mf(e,u)}}y("submit",({el:e,scope:t,expression:n,cleanup:r})=>{io();let o=e,i=oo(o),s=t.child({$form:i},o);pl.set(s,i),pl.set(t,i),It(o,s);for(let d of Array.from(o.childNodes))d.nodeType===1&&It(d,s);let a={host:o,form:o,scope:s,state:i},l=d=>{d.preventDefault(),Kg(a,n)},c=d=>{var f;let u=d.detail;if(!u||!u.field)return;let p={...i.errors};u.valid?delete p[u.field]:p[u.field]=(f=u.message)!=null?f:"",i.errors=p};o.addEventListener("submit",l),o.addEventListener("voodoo:field-validated",c),r(()=>{ir.delete(o),o.removeEventListener("submit",l),o.removeEventListener("voodoo:field-validated",c)})},{priority:j.DATA-1});function Yg(e){let t=Ae(e,"progress");if(t){let o=document.querySelector(t);return o||(X(`${w.prefix}progress bar not found: ${t}`),null)}let n=e.nextElementSibling;if(n&&n.classList.contains("v-progress"))return n;io();let r=document.createElement("div");return r.className="v-progress",r.setAttribute("role","progressbar"),r.setAttribute("aria-valuemin","0"),r.setAttribute("aria-valuemax","100"),r.innerHTML='<span class="v-progress-bar"></span>',e.insertAdjacentElement("afterend",r),r}function ji(e,t,n){if(!e)return;let r=Math.max(0,Math.min(100,Math.round(t)));if(e.tagName==="PROGRESS")e.value=r,e.max=100;else{let o=e.classList.contains("v-progress-bar")?e:e.querySelector(".v-progress-bar, [data-progress-bar]");o?o.style.width=`${r}%`:e.style.width=`${r}%`}e.setAttribute("aria-valuenow",String(r)),n?e.setAttribute("data-state",n):e.removeAttribute("data-state")}function Xg(e,t,n){let r=new FormData,i=t.length>1||n.endsWith("[]")?n.endsWith("[]")?n:`${n}[]`:n;for(let a of t)r.append(i,a);let s=e.closest("form");if(s){let a=or(s,{formData:!0});if(a instanceof FormData)for(let[l,c]of a.entries())c instanceof File||r.append(l,c)}return r}async function Sf(e,t,n,r){if(!n.length||e.state.loading)return;let{state:o,form:i,host:s}=e,a=Ui(t,e.scope);if(!a){X(`${w.prefix}upload needs a destination URL.`);return}let l=Yg(s),c=Xg(s,n,r);qi(e,!0),o.success=!1,o.progress=0,ji(l,0,"loading"),Yt(i,"voodoo:upload",{url:a,files:n,form:i,state:o});let d=!1;try{let u=(Ae(s,"method")||"POST").trim().toUpperCase(),p=await he.upload(a,c,{method:u==="PUT"||u==="PATCH"?u:"POST",onProgress:f=>{o.progress=f,ji(l,f,"loading"),Yt(i,"voodoo:progress",{percent:f,form:i,state:o})}});d=!0,o.progress=100,ji(l,100,"done"),Lf(e,p,200)}catch(u){ji(l,o.progress,"error"),hl(e,u)}finally{qi(e,!1),Mf(e,d)}}y("upload",({el:e,scope:t,expression:n,cleanup:r})=>{var c;let o=e;if(o.tagName!=="INPUT"||(o.getAttribute("type")||"").toLowerCase()!=="file"){X(`${w.prefix}upload needs an <input type="file">.`);return}io();let i=(c=o.closest("form"))!=null?c:o,s=oo(i),a={host:o,form:i,scope:t,state:s},l=()=>{var u;let d=Array.from((u=o.files)!=null?u:[]);d.length&&Sf(a,n,d,o.name||"file")};o.addEventListener("change",l),r(()=>o.removeEventListener("change",l))});y("dropzone",({el:e,scope:t,expression:n,cleanup:r})=>{var b,x,T;io(),e.classList.add("v-dropzone"),e.hasAttribute("tabindex")||(e.tabIndex=0),e.hasAttribute("role")||e.setAttribute("role","button"),(b=e.textContent)!=null&&b.trim()||(e.textContent="Drag files here or click to choose");let o=(x=e.closest("form"))!=null?x:e,i=oo(o),s={host:e,form:o,scope:t,state:i},a=Ae(e,"field")||"file",l=document.createElement("input");l.type="file",l.hidden=!0,l.tabIndex=-1,e.hasAttribute("accept")&&(l.accept=(T=e.getAttribute("accept"))!=null?T:""),e.hasAttribute("multiple")&&(l.multiple=!0),e.appendChild(l);let c=k=>{k.length&&(e.classList.add("v-dropzone-busy"),e.classList.remove("v-dropzone-error"),Sf(s,n,k,a).finally(()=>{e.classList.remove("v-dropzone-busy"),i.success||e.classList.add("v-dropzone-error")}))},d=0,u=k=>{k.preventDefault(),d++,e.classList.add("v-dropzone-over")},p=k=>{k.preventDefault(),k.dataTransfer&&(k.dataTransfer.dropEffect="copy")},f=()=>{d=Math.max(0,d-1),d===0&&e.classList.remove("v-dropzone-over")},m=k=>{var D,A;k.preventDefault(),d=0,e.classList.remove("v-dropzone-over");let C=Array.from((A=(D=k.dataTransfer)==null?void 0:D.files)!=null?A:[]);c(l.multiple?C:C.slice(0,1))},h=k=>{k.target!==l&&l.click()},v=k=>{k.key!=="Enter"&&k.key!==" "||(k.preventDefault(),l.click())},g=()=>{var C;let k=Array.from((C=l.files)!=null?C:[]);c(k),l.value=""};e.addEventListener("dragenter",u),e.addEventListener("dragover",p),e.addEventListener("dragleave",f),e.addEventListener("drop",m),e.addEventListener("click",h),e.addEventListener("keydown",v),l.addEventListener("change",g),r(()=>{e.removeEventListener("dragenter",u),e.removeEventListener("dragover",p),e.removeEventListener("dragleave",f),e.removeEventListener("drop",m),e.removeEventListener("click",h),e.removeEventListener("keydown",v),l.removeEventListener("change",g),l.remove()})});var Gg={idle:"",saving:"Saving...",saved:"Changes saved",error:"Could not save"};function Qg(e){let t=Ae(e,"autosave-status");if(t){let o=document.querySelector(t);if(o)return o;X(`${w.prefix}autosave-status element not found: ${t}`)}let n=e.querySelector(".v-autosave-status");if(n)return n;let r=document.createElement("span");return r.className="v-autosave-status",r.setAttribute("aria-live","polite"),e.appendChild(r),r}function fl(e,t){e.setAttribute("data-state",t),e.textContent=Gg[t]}y("autosave",({el:e,scope:t,expression:n,modifiers:r,cleanup:o})=>{var m,h,v;io();let i=e,s=oo(i),a={host:i,form:i,scope:t,state:s},l=Qg(i),c=(v=(h=(m=typeof r.delay=="string"?r.delay:null)!=null?m:Object.keys(r).find(g=>/^[\d.]+(ms|s|m)?$/.test(g)))!=null?h:Ae(i,"autosave-delay"))!=null?v:1e3,d=Q(c,1e3),u=async()=>{let g=Ui(n,t);if(!g){X(`${w.prefix}autosave needs a destination URL.`);return}if(s.loading)return;s.saving=!0,fl(l,"saving");let b=(Ae(i,"method")||"POST").trim().toUpperCase();try{let x=await jt({url:g,method:b,body:or(i,{formData:Vi(i,"form-data")})});s.data=x.data,s.status=x.status,s.dirty=!1,s.success=!0,fl(l,"saved"),_i(a,"on-success",x.data,{status:x.status}),Yt(i,"voodoo:autosave",{data:x.data,status:x.status,form:i,state:s})}catch(x){fl(l,"error"),hl(a,x)}finally{s.saving=!1}},p=Ke(()=>{u()},d),f=()=>{s.dirty=!0,p()};i.addEventListener("input",f),i.addEventListener("change",f),o(()=>{p.cancel(),i.removeEventListener("input",f),i.removeEventListener("change",f)})});y("guard",({el:e,expression:t,cleanup:n})=>{var c;let r=(c=e.tagName==="FORM"?e:e.closest("form"))!=null?c:e,o=oo(r),i=t.trim()||"There are unsaved changes.",s=()=>{o.dirty=!0},a=()=>{o.dirty=!1},l=d=>{!o.dirty||o.loading||(d.preventDefault(),d.returnValue=i)};r.addEventListener("input",s),r.addEventListener("change",s),r.addEventListener("reset",a),r.addEventListener("voodoo:success",a),window.addEventListener("beforeunload",l),n(()=>{r.removeEventListener("input",s),r.removeEventListener("change",s),r.removeEventListener("reset",a),r.removeEventListener("voodoo:success",a),window.removeEventListener("beforeunload",l)})});me();ce();function so(e){let t={};for(let[n,r]of Object.entries(e))if(typeof r!="function"&&!n.startsWith("$"))try{JSON.stringify(r),t[n]=Me(r)}catch(o){}return t}function Cf(e,t){if(e.id)return`${t}:${location.pathname}:#${e.id}`;let n=[],r=e;for(;r&&r!==document.body;){let o=r.parentElement,i=o?Array.from(o.children).indexOf(r):0;n.unshift(`${r.tagName.toLowerCase()}${i}`),r=o}return`${t}:${location.pathname}:${n.join(">")}`}y("persist",({el:e,scope:t,expression:n,cleanup:r})=>{let o=n.trim()?`voodoo:persist:${n.trim()}`:Cf(e,"voodoo:persist"),i=ue.get(o);if(i&&typeof i=="object")for(let[l,c]of Object.entries(i))l in t.data&&(t.data[l]=c);let s=Ke(()=>{ue.set(o,so(t.data))},120),a=Ie(t.data,()=>s(),{deep:!0});s(),r(()=>{s.flush(),a()})},{priority:j.DATA-1});y("sync",({el:e,scope:t,expression:n,cleanup:r})=>{if(typeof BroadcastChannel=="undefined")return;let o=n.trim()||Cf(e,"voodoo:sync"),i=new BroadcastChannel(o),s=Math.random().toString(36).slice(2),a=!1,l=Ke(()=>{if(!a)try{i.postMessage({from:s,state:so(t.data)})}catch(d){K(d,"v-sync")}},60);i.addEventListener("message",d=>{let u=d.data;if(!(!u||u.from===s)){a=!0;for(let[p,f]of Object.entries(u.state))p in t.data&&t.data[p]!==f&&(t.data[p]=f);queueMicrotask(()=>{a=!1})}});let c=Ie(t.data,()=>l(),{deep:!0});r(()=>{c(),i.close()})},{priority:j.DATA-1});var gl=new WeakMap;function bl(e){let t=e;for(;t;){let n=gl.get(t);if(n)return n;t=t.parentElement}return null}y("history",({el:e,scope:t,expression:n,cleanup:r})=>{var f;let o=Number(n)||50,i=[JSON.parse(JSON.stringify(so(t.data)))],s=0,a=!1,l=Y({canUndo:!1,canRedo:!1,size:1,undo(){s<=0||(s--,d())},redo(){s>=i.length-1||(s++,d())},clear(){i.length=0,i.push(JSON.parse(JSON.stringify(so(t.data)))),s=0,c()}});function c(){l.canUndo=s>0,l.canRedo=s<i.length-1,l.size=i.length}function d(){a=!0;let m=i[s];for(let[h,v]of Object.entries(m))t.data[h]=JSON.parse(JSON.stringify(v));c(),queueMicrotask(()=>{a=!1})}let u=Ke(()=>{if(a)return;let m=JSON.stringify(so(t.data));m!==JSON.stringify(i[s])&&(i.splice(s+1),i.push(JSON.parse(m)),i.length>o&&i.shift(),s=i.length-1,c())},Q((f=e.getAttribute("v-history-debounce"))!=null?f:void 0,300)),p=Ie(t.data,()=>u(),{deep:!0});gl.set(e,l),t.set("$history",l),r(()=>{p(),u.cancel(),gl.delete(e)})},{priority:j.DATA-1});y("undo",({el:e,cleanup:t})=>{let n=()=>{var r;return(r=bl(e))==null?void 0:r.undo()};e.addEventListener("click",n),t(()=>e.removeEventListener("click",n))});y("redo",({el:e,cleanup:t})=>{let n=()=>{var r;return(r=bl(e))==null?void 0:r.redo()};e.addEventListener("click",n),t(()=>e.removeEventListener("click",n))});y("storage",({el:e,expression:t,cleanup:n,scope:r})=>{let o=t.trim();if(!o)return;let i=e,s=ue.get(`voodoo:field:${o}`);s!=null&&"value"in i&&(i.value=String(s));let a=()=>{ue.set(`voodoo:field:${o}`,i.value)};i.addEventListener("input",a),n(()=>i.removeEventListener("input",a))});H("$history",e=>e.el?bl(e.el):null);ce();var ar=null,Xt=.35,Dt=!1,Af=!1,yl="voodoo:sound:volume",Df="voodoo:sound:muted";function vn(){if(Af)return;Af=!0;let e=ue.get(yl);typeof e=="number"&&e>=0&&e<=1&&(Xt=e);let t=ue.get(Df);typeof t=="boolean"&&(Dt=t),typeof matchMedia!="undefined"&&matchMedia("(prefers-reduced-motion: reduce)").matches&&ue.get(yl)===void 0&&(Xt=.18)}function Rf(){var t;if(typeof window=="undefined")return null;if(ar)return ar.state==="suspended"&&ar.resume(),ar;let e=(t=window.AudioContext)!=null?t:window.webkitAudioContext;if(!e)return null;try{return ar=new e,ar}catch(n){return null}}function $f(e,t,n){var c,d,u,p;let r=e.currentTime+((c=t.atraso)!=null?c:0),o=r+t.duracao,i=e.createOscillator();i.type=(d=t.forma)!=null?d:"sine",i.frequency.setValueAtTime(t.frequencia,r),t.ate!==void 0&&t.ate!==t.frequencia&&i.frequency.exponentialRampToValueAtTime(Math.max(1,t.ate),o);let s=e.createGain(),a=Xt*n*((u=t.volume)!=null?u:1),l=(p=t.ataque)!=null?p:.008;s.gain.setValueAtTime(1e-4,r),s.gain.exponentialRampToValueAtTime(Math.max(1e-4,a),r+l),s.gain.exponentialRampToValueAtTime(1e-4,o),i.connect(s),s.connect(e.destination),i.start(r),i.stop(o+.02)}var Wi={click:{volume:.5,camadas:[{frequencia:660,ate:440,duracao:.06,forma:"triangle"}]},pop:{volume:.5,camadas:[{frequencia:880,ate:1320,duracao:.07,forma:"sine"}]},hover:{volume:.22,camadas:[{frequencia:1200,duracao:.035,forma:"sine"}]},success:{volume:.6,camadas:[{frequencia:523.25,duracao:.1,forma:"sine"},{frequencia:783.99,duracao:.18,forma:"sine",atraso:.09}]},complete:{volume:.6,camadas:[{frequencia:523.25,duracao:.1,forma:"sine"},{frequencia:659.25,duracao:.1,forma:"sine",atraso:.09},{frequencia:1046.5,duracao:.22,forma:"sine",atraso:.18}]},error:{volume:.6,camadas:[{frequencia:392,duracao:.12,forma:"square",volume:.5},{frequencia:261.63,duracao:.24,forma:"square",volume:.5,atraso:.1}]},warning:{volume:.55,camadas:[{frequencia:587.33,duracao:.1,forma:"triangle"},{frequencia:587.33,duracao:.14,forma:"triangle",atraso:.14}]},notify:{volume:.5,camadas:[{frequencia:987.77,duracao:.14,forma:"sine"},{frequencia:1318.51,duracao:.3,forma:"sine",atraso:.08,volume:.6}]},type:{volume:.18,camadas:[{frequencia:2200,duracao:.018,forma:"square"}]},open:{volume:.4,camadas:[{frequencia:330,ate:660,duracao:.14,forma:"sine"}]},close:{volume:.4,camadas:[{frequencia:660,ate:330,duracao:.14,forma:"sine"}]},deny:{volume:.5,camadas:[{frequencia:220,duracao:.08,forma:"square",volume:.5},{frequencia:180,duracao:.12,forma:"square",volume:.5,atraso:.07}]},coin:{volume:.45,camadas:[{frequencia:987.77,duracao:.06,forma:"square"},{frequencia:1318.51,duracao:.16,forma:"square",atraso:.05}]},levelup:{volume:.55,camadas:[{frequencia:523.25,duracao:.08,forma:"square"},{frequencia:659.25,duracao:.08,forma:"square",atraso:.07},{frequencia:783.99,duracao:.08,forma:"square",atraso:.14},{frequencia:1046.5,duracao:.26,forma:"square",atraso:.21}]},drop:{volume:.5,camadas:[{frequencia:180,ate:90,duracao:.12,forma:"triangle"}]}},Jg={do:261.63,"do#":277.18,re:293.66,"re#":311.13,mi:329.63,fa:349.23,"fa#":369.99,sol:392,"sol#":415.3,la:440,"la#":466.16,si:493.88,c:261.63,d:293.66,e:329.63,f:349.23,g:392,a:440,b:493.88};function Ki(e){let t=String(e).trim().toLowerCase(),n=/^([a-z]+#?)(\d)?$/.exec(t);if(!n)return null;let r=Jg[n[1]];if(r===void 0)return null;let o=n[2]?Number(n[2]):4;return r*2**(o-4)}var Yi=new Map;function Zg(e,t){let n=Yi.get(e);n||(n=new Audio(e),n.preload="auto",Yi.set(e,n)),n.volume=Math.max(0,Math.min(1,Xt*t)),n.currentTime=0,n.play().catch(()=>{})}function Pf(e){return/^(https?:)?\/\//.test(e)||/^[./]/.test(e)||/\.(mp3|wav|ogg|m4a|aac)$/i.test(e)}var Gt={play(e,t={}){var l,c,d;if(vn(),Dt||!e)return;let n=String(e).trim(),r=(l=t.volume)!=null?l:1;if(Pf(n)){Zg(n,r);return}let o=Wi[n];if(!o){let u=Ki(n);u!==null&&this.tone(u,200,{volume:r});return}let i=Rf();if(!i)return;let s=(c=t.tom)!=null?c:1,a=((d=o.volume)!=null?d:1)*r;for(let u of o.camadas)$f(i,s===1?u:{...u,frequencia:u.frequencia*s,ate:u.ate===void 0?void 0:u.ate*s},a)},tone(e,t=200,n={}){var o,i;if(vn(),Dt)return;let r=Rf();r&&$f(r,{frequencia:e,duracao:t/1e3,forma:(o=n.forma)!=null?o:"sine"},(i=n.volume)!=null?i:.5)},note(e,t=250,n={}){let r=Ki(e);r!==null&&this.tone(r,t,n)},melody(e,t=150,n={}){vn(),!Dt&&e.forEach((r,o)=>{let i=typeof r=="number"?r:Ki(r);i!==null&&setTimeout(()=>this.tone(i,t*1.6,n),o*t)})},volume(e){return vn(),e===void 0||(Xt=Math.max(0,Math.min(1,e)),ue.set(yl,Xt)),Xt},mute(e=!0){vn(),Dt=e,ue.set(Df,Dt)},unmute(){this.mute(!1)},toggle(){return vn(),this.mute(!Dt),Dt},get muted(){return vn(),Dt},get names(){return Object.keys(Wi)},define(e,t){Wi[e]=t},preload(...e){for(let t of e){if(Yi.has(t))continue;let n=new Audio(t);n.preload="auto",Yi.set(t,n)}}};y("sound",({el:e,arg:t,expression:n,modifiers:r,scope:o,cleanup:i,evaluate:s})=>{let a=t||"click",l=()=>{let u=n.trim();if(!u)return"click";if(Wi[u]||Pf(u)||Ki(u)!==null)return u;let p=s();return typeof p=="string"?p:u},c=r.volume!==void 0?Number(r.volume):void 0,d=()=>{Gt.play(l(),c===void 0?{}:{volume:c})};e.addEventListener(a,d),i(()=>e.removeEventListener(a,d))});y("mute",({el:e,cleanup:t})=>{let n=()=>{let o=Gt.muted;e.setAttribute("aria-pressed",String(o)),e.classList.toggle("v-muted",o)},r=()=>{Gt.toggle(),n(),Gt.muted||Gt.play("pop")};e.addEventListener("click",r),n(),t(()=>e.removeEventListener("click",r))});H("$sound",()=>Gt);me();ce();function ao(){return typeof window=="undefined"||typeof window.matchMedia!="function"?!1:ve.reducedMotion}var cr=new Set,gn=0;function zf(e){gn=0;let t=Array.from(cr);for(let n of t)cr.has(n)&&n(e);cr.size>0&&(gn=requestAnimationFrame(zf))}function Bf(e){typeof requestAnimationFrame=="function"&&(cr.add(e),gn||(gn=requestAnimationFrame(zf)))}function Qi(e){cr.delete(e),cr.size===0&&gn&&(cancelAnimationFrame(gn),gn=0)}var jf=12e3;function eb(e){return e*e*(2.70158*e-1.70158)}var lo={linear(e){return e},easeIn(e){return e*e*e},easeOut(e){return 1-Math.pow(1-e,3)},easeInOut(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2},easeOutBack(e){return 1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2)},easeOutExpo(e){return e>=1?1:1-Math.pow(2,-10*e)},anticipate(e){let t=e*2;return t<1?.5*eb(t):.5*(2-Math.pow(2,-10*(t-1)))},bounce(e){let r=e;return r<1/2.75?7.5625*r*r:r<2/2.75?(r-=1.5/2.75,7.5625*r*r+.75):r<2.5/2.75?(r-=2.25/2.75,7.5625*r*r+.9375):(r-=2.625/2.75,7.5625*r*r+.984375)}};function tb(e){if(typeof e=="function")return e;if(typeof e=="string"){let t=lo[e];if(t)return t}return lo.easeOut}var Sl={x:0,y:0,z:0,parallax:0,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,scale:1,scaleX:1,scaleY:1},nb={x:"px",y:"px",z:"px",parallax:"px",rotate:"deg",rotateX:"deg",rotateY:"deg",skewX:"deg",skewY:"deg",scale:"",scaleX:"",scaleY:""},qf={translateX:"x",translateY:"y",translateZ:"z",rotateZ:"rotate"},Cl={blur:0,brightness:1,saturate:1,grayscale:0,contrast:1},rb={blur:"px",brightness:"",saturate:"",grayscale:"",contrast:""},ob=new Set(["opacity","z-index","font-weight","line-height","flex-grow","flex-shrink","order","zoom","fill-opacity","stroke-opacity","stroke-width","stroke-dashoffset","stroke-dasharray"]),El=new WeakMap,kl=new WeakMap;function Ji(e){let t=El.get(e);return t||(t={...Sl},El.set(e,t)),t}function Vf(e){let t=kl.get(e);return t||(t={...Cl},kl.set(e,t)),t}function Re(e){return Math.round(e*1e3)/1e3}function Tl(e){let t=El.get(e);if(!t)return;let n=[],r=t.y+t.parallax;(t.x||r||t.z)&&n.push(`translate3d(${Re(t.x)}px, ${Re(r)}px, ${Re(t.z)}px)`),t.rotateX&&n.push(`rotateX(${Re(t.rotateX)}deg)`),t.rotateY&&n.push(`rotateY(${Re(t.rotateY)}deg)`),t.rotate&&n.push(`rotate(${Re(t.rotate)}deg)`),(t.skewX||t.skewY)&&n.push(`skew(${Re(t.skewX)}deg, ${Re(t.skewY)}deg)`);let o=t.scale*t.scaleX,i=t.scale*t.scaleY;(o!==1||i!==1)&&n.push(`scale(${Re(o)}, ${Re(i)})`),n.length>0?e.style.transform=n.join(" "):e.style.removeProperty("transform")}function ib(e){let t=kl.get(e);if(!t)return;let n=[];t.blur&&n.push(`blur(${Re(t.blur)}px)`),t.brightness!==1&&n.push(`brightness(${Re(t.brightness)})`),t.saturate!==1&&n.push(`saturate(${Re(t.saturate)})`),t.grayscale&&n.push(`grayscale(${Re(t.grayscale)})`),t.contrast!==1&&n.push(`contrast(${Re(t.contrast)})`),n.length>0?e.style.filter=n.join(" "):e.style.removeProperty("filter")}var sb=/^([+-]?(?:\d+\.?\d*|\.\d+))([a-z%]*)$/i,Uf=/^#([0-9a-f]{3,8})$/i;function Xi(e){if(typeof e!="string")return!1;let t=e.trim().toLowerCase();return t==="transparent"||Uf.test(t)||t.startsWith("rgb")||t.startsWith("hsl")}function ab(e,t,n){let r=(e%360+360)%360,o=(1-Math.abs(2*n-1))*t,i=o*(1-Math.abs(r/60%2-1)),s=n-o/2,a;return r<60?a=[o,i,0]:r<120?a=[i,o,0]:r<180?a=[0,o,i]:r<240?a=[0,i,o]:r<300?a=[i,0,o]:a=[o,0,i],[Math.round((a[0]+s)*255),Math.round((a[1]+s)*255),Math.round((a[2]+s)*255)]}function Nf(e){var i,s;let t=e.trim().toLowerCase();if(t==="transparent")return[0,0,0,0];let n=Uf.exec(t);if(n){let a=n[1];(a.length===3||a.length===4)&&(a=a.split("").map(d=>d+d).join(""));let l=parseInt(a.slice(0,6),16),c=a.length===8?parseInt(a.slice(6,8),16)/255:1;return[l>>16&255,l>>8&255,l&255,c]}let r=(i=t.match(/-?(?:\d+\.?\d*|\.\d+)%?/g))!=null?i:[],o=(a,l)=>{var u;let c=(u=r[a])!=null?u:"0",d=parseFloat(c);return c.endsWith("%")?d/100*l:d};if(t.startsWith("hsl")){let a=c=>{var p;let d=(p=r[c])!=null?p:"0",u=parseFloat(d);return d.endsWith("%")||u>1?u/100:u},l=ab(parseFloat((s=r[0])!=null?s:"0"),a(1),a(2));return[l[0],l[1],l[2],r.length>3?o(3,1):1]}return[o(0,255),o(1,255),o(2,255),r.length>3?o(3,1):1]}function lb(e){let t=Math.max(0,Math.min(1,e[3]));return`rgba(${Math.round(e[0])}, ${Math.round(e[1])}, ${Math.round(e[2])}, ${Re(t)})`}function _f(e){return e.startsWith("--")?e:e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function Wf(e,t,n,r){if(t==="transform")return Ji(e)[n];if(t==="filter")return Vf(e)[n];if(typeof getComputedStyle!="function")return e.style.getPropertyValue(r).trim();let o=getComputedStyle(e).getPropertyValue(r);return o?o.trim():""}function cb(e,t,n){var u;let r=(u=qf[t])!=null?u:t,o=r in Sl?"transform":r in Cl?"filter":"style",i=o==="style"?_f(r):r,s=o==="transform"?nb[r]:o==="filter"?rb[r]:ob.has(i)?"":"px",a=Array.isArray(n)?[n[0],n[1]]:[Wf(e,o,r,i),n],l={kind:o,prop:r,cssName:i,mode:"number",unit:s,from:0,to:0,fromColor:[0,0,0,1],toColor:[0,0,0,1],fromText:String(a[0]),toText:String(a[1])};if(Xi(a[0])||Xi(a[1]))return o!=="style"?null:(l.mode="color",l.fromColor=Xi(a[0])?Nf(String(a[0])):[0,0,0,0],l.toColor=Xi(a[1])?Nf(String(a[1])):[0,0,0,0],l);let c=Hf(a[0],s),d=Hf(a[1],s);return!c||!d?o!=="style"?null:(l.mode="discrete",l):(l.from=c.value,l.to=d.value,l.unit=d.unit||c.unit||s,l)}function Hf(e,t){if(typeof e=="number")return Number.isFinite(e)?{value:e,unit:t}:null;let n=sb.exec(e.trim());return n?{value:parseFloat(n[1]),unit:n[2]||t}:null}function lr(e,t,n){let r=!1,o=!1;for(let i of t){if(i.kind==="transform"){Ji(e)[i.prop]=i.from+(i.to-i.from)*n,r=!0;continue}if(i.kind==="filter"){Vf(e)[i.prop]=i.from+(i.to-i.from)*n,o=!0;continue}if(i.mode==="color"){let a=[i.fromColor[0]+(i.toColor[0]-i.fromColor[0])*n,i.fromColor[1]+(i.toColor[1]-i.fromColor[1])*n,i.fromColor[2]+(i.toColor[2]-i.fromColor[2])*n,i.fromColor[3]+(i.toColor[3]-i.fromColor[3])*n];e.style.setProperty(i.cssName,lb(a));continue}if(i.mode==="discrete"){e.style.setProperty(i.cssName,n>=1?i.toText:i.fromText);continue}let s=i.from+(i.to-i.from)*n;e.style.setProperty(i.cssName,`${Re(s)}${i.unit}`)}r&&Tl(e),o&&ib(e)}function Kf(e,t){let n=[];for(let[r,o]of Object.entries(t)){if(o==null)continue;let i=cb(e,r,o);i&&n.push(i)}return n}function Of(e,t){for(let n of Al(e))lr(n,Kf(n,t),0)}function db(e,t){var r;let n={};for(let o of Object.keys(t)){let i=(r=qf[o])!=null?r:o,s=i in Sl?"transform":i in Cl?"filter":"style";n[o]=Wf(e,s,i,s==="style"?_f(i):i)}return n}function xl(e){return typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof SVGElement!="undefined"&&e instanceof SVGElement}function Al(e){if(!e)return[];if(typeof e=="string")return typeof document=="undefined"?[]:Array.from(document.querySelectorAll(e)).filter(xl);if(xl(e))return[e];let t=e;if(typeof t.length!="number")return[];let n=[];for(let r=0;r<t.length;r++){let o=t[r];xl(o)&&n.push(o)}return n}function Zi(e){return{finished:Promise.resolve(),stop(){e==null||e()}}}function Ll(e,t,n){var x,T,k,C,D,A,se;let r=Kf(e,t);if(ao()&&!n.force)return lr(e,r,1),(x=n.onUpdate)==null||x.call(n,1),(T=n.onComplete)==null||T.call(n),Zi();let o=Math.max(0,(k=n.duration)!=null?k:400),i=Math.max(0,(C=n.delay)!=null?C:0),s=tb(n.easing),a=Math.max(0,Math.floor((D=n.repeat)!=null?D:0)),l=(A=n.repeatType)!=null?A:"loop",c=n.spring===!0?{}:n.spring?n.spring:null,d,u=new Promise(O=>{d=O}),p=!0,f=-1,m=-1,h=0,v=(se=c==null?void 0:c.velocity)!=null?se:0;function g(O){var en,Ln,gc,bc,yc,xc,wc;if(!p)return;f<0&&(f=O,m=O);let pe=O-f-i;if(pe<0)return;let ae=Math.min(64,Math.max(0,O-m));if(m=O,pe>jf){b(1);return}if(c){let lm=(en=c.stiffness)!=null?en:170,cm=(Ln=c.damping)!=null?Ln:26,dm=(gc=c.mass)!=null?gc:1,Ec=Math.max(1,Math.round(ae)),kc=ae/Ec/1e3;for(let Tc=0;Tc<Ec;Tc++){let pm=(-lm*(h-1)-cm*v)/dm;v+=pm*kc,h+=v*kc}let um=(bc=c.restDelta)!=null?bc:.001,fm=(yc=c.restSpeed)!=null?yc:.01;if(Math.abs(1-h)<um&&Math.abs(v)<fm){b(1);return}lr(e,r,h),(xc=n.onUpdate)==null||xc.call(n,h);return}if(o===0){b(1);return}let R=a+1,S=Math.floor(pe/o),B=(pe-S*o)/o,Ve=!1;S>=R&&(S=R-1,B=1,Ve=!0);let Ue;if(S%2===1&&l==="reverse"?Ue=s(1-B):S%2===1&&l==="mirror"?Ue=1-s(B):Ue=s(B),Ve){b(Ue);return}lr(e,r,Ue),(wc=n.onUpdate)==null||wc.call(n,Ue)}function b(O){var pe,ae;p&&(p=!1,Qi(g),lr(e,r,O),(pe=n.onUpdate)==null||pe.call(n,O),d(),(ae=n.onComplete)==null||ae.call(n))}return lr(e,r,c?h:s(0)),Bf(g),{finished:u,stop(){p&&(p=!1,Qi(g),d())}}}function Pt(e,t,n={}){let r=Al(e);if(r.length===0)return Zi();if(r.length===1)return Ll(r[0],t,n);let o=r.map(i=>Ll(i,t,n));return{finished:Promise.all(o.map(i=>i.finished)).then(()=>{}),stop(){for(let i of o)i.stop()}}}function Rl(e,t,n={}){var g,b,x,T,k,C,D,A;if(ao())return(g=n.onUpdate)==null||g.call(n,t),(b=n.onComplete)==null||b.call(n),Zi();let r=(x=n.stiffness)!=null?x:170,o=(T=n.damping)!=null?T:26,i=(k=n.mass)!=null?k:1,s=Math.abs(t-e)||1,a=(C=n.restDelta)!=null?C:s*.001,l=(D=n.restSpeed)!=null?D:s*.01,c=e,d=(A=n.velocity)!=null?A:0,u=!0,p=-1,f=0,m,h=new Promise(se=>{m=se});function v(se){var S,B,Ve,Ue;if(!u)return;if(p<0){p=se,(S=n.onUpdate)==null||S.call(n,c);return}let O=Math.min(64,Math.max(0,se-p));p=se,f+=O;let pe=Math.max(1,Math.round(O)),ae=O/pe/1e3;for(let en=0;en<pe;en++){let Ln=(-r*(c-t)-o*d)/i;d+=Ln*ae,c+=d*ae}if(Math.abs(t-c)<a&&Math.abs(d)<l||f>jf){u=!1,Qi(v),c=t,(B=n.onUpdate)==null||B.call(n,t),m(),(Ve=n.onComplete)==null||Ve.call(n);return}(Ue=n.onUpdate)==null||Ue.call(n,c)}return Bf(v),{finished:h,stop(){u&&(u=!1,Qi(v),m())}}}function Yf(e,t,n,r){return r==="last"?(t-1-e)*n:r==="center"?Math.abs(e-(t-1)/2)*n:e*n}function $l(e,t,n={}){var l,c,d;let r=Al(e);if(r.length===0)return Zi();let o=(l=n.delay)!=null?l:60,i=(c=n.start)!=null?c:0,s=(d=n.from)!=null?d:"first",a=r.map((u,p)=>Ll(u,t,{...n,delay:i+Yf(p,r.length,o,s)}));return{finished:Promise.all(a.map(u=>u.finished)).then(()=>{}),stop(){for(let u of a)u.stop()}}}function ub(e){return e==="all"?.99:e==="any"?0:typeof e=="number"?Math.max(0,Math.min(1,e)):.25}function es(e,t,n={}){var s,a,l;let r=(s=n.once)!=null?s:!0,o;if(typeof IntersectionObserver=="undefined")return o=t({target:e,isIntersecting:!0,intersectionRatio:1}),()=>{typeof o=="function"&&o()};let i=new IntersectionObserver(c=>{for(let d of c)d.isIntersecting?(o=t(d),r&&i.disconnect()):typeof o=="function"&&(o(),o=void 0)},{root:(a=n.root)!=null?a:null,rootMargin:(l=n.margin)!=null?l:"0px",threshold:ub(n.amount)});return i.observe(e),()=>{i.disconnect(),typeof o=="function"&&o()}}function Dl(e,t){let n=!1,r=!1;if(typeof window=="undefined")return t(0),()=>{n=!0};let o=()=>{if(r=!1,n)return;let s=e.getBoundingClientRect(),a=window.innerHeight||document.documentElement.clientHeight||1,l=a+s.height||1,c=(a-s.top)/l;t(Math.max(0,Math.min(1,c)))},i=()=>{r||n||(r=!0,requestAnimationFrame(o))};return window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i),o(),()=>{n=!0,window.removeEventListener("scroll",i),window.removeEventListener("resize",i)}}var fb={opacity:[0,1],duration:420,easing:"easeOut"},pb={opacity:[0,1],y:[24,0],duration:520,easing:"easeOutExpo"},mb={opacity:[0,1],y:[-24,0],duration:520,easing:"easeOutExpo"},vb={opacity:[0,1],scale:[.92,1],duration:460,easing:"easeOutBack"},hb={opacity:[0,1],x:[36,0],duration:500,easing:"easeOutExpo"},gb={opacity:[0,1],x:[-36,0],duration:500,easing:"easeOutExpo"},bb={opacity:[0,1],scale:[.6,1],spring:{stiffness:420,damping:18}},yb={opacity:[0,1],blur:[10,0],duration:560,easing:"easeOut"},xb={opacity:[0,1],rotateX:[-80,0],duration:620,easing:"easeOutBack"},hn={fadeIn:fb,fadeUp:pb,fadeDown:mb,scaleIn:vb,slideLeft:hb,slideRight:gb,pop:bb,blurIn:yb,flip:xb},wb=new Set(["duration","delay","easing","spring","repeat","repeatType","force","from","start","onUpdate","onComplete"]);function ts(e){let t={},n={};for(let[r,o]of Object.entries(e))o!=null&&(wb.has(r)?n[r]=o:t[r]=o);return{keyframes:t,options:n}}function Xf(e){let t=e.trim();return t?/^['"`]/.test(t)||/^[[{(]/.test(t)?!0:/^[$A-Za-z_][\w$]*(?:\.[$A-Za-z_][\w$]*|\[[^\]]*\])*$/.test(t):!1}function co(e,t){let n=e.trim();if(!n)return null;if(hn[n])return hn[n];if(!Xf(n))return null;let r=t();return typeof r=="string"&&hn[r]?hn[r]:r&&typeof r=="object"?r:null}function bt(e,t){var n;return(n=e.getAttribute(`${w.prefix}${t}`))!=null?n:e.getAttribute(`data-v-${t}`)}function Ff(e,t){return e.hasAttribute(`${w.prefix}${t}`)||e.hasAttribute(`data-v-${t}`)}var Gf=new WeakMap;function Qf(e){let t=bt(e,"motion-stagger-from");return t==="last"||t==="center"?t:"first"}function Eb(e){return Ff(e,"motion")||Ff(e,"motion-scroll")}function Jf(e){let t=e.parentElement;if(!t)return 0;let n=Gf.get(t);if(!n){let i=bt(t,"motion-stagger");if(i===null)return 0;n={step:Q(i,60),from:Qf(t)}}let r=Array.from(t.children).filter(Eb),o=r.indexOf(e);return o<0?0:Yf(o,r.length,n.step,n.from)}y("motion",({el:e,expression:t,evaluate:n,cleanup:r})=>{var c;let o=co(t,n);if(!o){X(`v-motion did not recognize the variant "${t}".`);return}let{keyframes:i,options:s}=ts(o),a=Jf(e);a>0&&(s.delay=((c=s.delay)!=null?c:0)+a);let l=Pt(e,i,s);r(()=>l.stop())});y("motion-scroll",({el:e,expression:t,evaluate:n,modifiers:r,cleanup:o})=>{var m,h;let i=co(t,n);if(!i){X(`v-motion-scroll did not recognize the variant "${t}".`);return}let{keyframes:s,options:a}=ts(i),l=Jf(e);l>0&&(a.delay=((m=a.delay)!=null?m:0)+l);let c=!r.repeat,d=bt(e,"motion-scroll-amount"),u=d===null?.25:parseFloat(d)||0;ao()||Of(e,s);let p=null,f=es(e,()=>{if(p==null||p.stop(),p=Pt(e,s,a),!c)return()=>{p==null||p.stop(),ao()||Of(e,s)}},{once:c,amount:u,margin:(h=bt(e,"motion-scroll-margin"))!=null?h:"0px"});o(()=>{f(),p==null||p.stop()})});y("motion-stagger",({el:e,expression:t,evaluate:n})=>{let r=n(),o=typeof r=="number"&&Number.isFinite(r)?r:Q(t,60);Gf.set(e,{step:o,from:Qf(e)})},{priority:j.BIND});function Zf(e,t,n,r,o,i){let{keyframes:s,options:a}=ts(t),l={...o,...a},c=null,d=null,u=m=>{d==null||d.stop(),d=Pt(e,m,l)},p=()=>{c||(c=db(e,s)),u(s)},f=()=>{c&&u(c)};for(let m of n)e.addEventListener(m,p);for(let m of r)e.addEventListener(m,f);i(()=>{for(let m of n)e.removeEventListener(m,p);for(let m of r)e.removeEventListener(m,f);d==null||d.stop()})}y("motion-hover",({el:e,expression:t,evaluate:n,cleanup:r})=>{let o=co(t,n);if(!o){X(`v-motion-hover did not recognize the variant "${t}".`);return}Zf(e,o,["mouseenter","focusin"],["mouseleave","focusout"],{duration:220,easing:"easeOut"},r)});y("motion-tap",({el:e,expression:t,evaluate:n,cleanup:r})=>{let o=co(t,n);if(!o){X(`v-motion-tap did not recognize the variant "${t}".`);return}Zf(e,o,["pointerdown"],["pointerup","pointercancel","pointerleave","blur"],{duration:140,easing:"easeOut"},r)});y("parallax",({el:e,expression:t,evaluate:n,cleanup:r})=>{if(ao()||typeof window=="undefined")return;let o=n(),i=typeof o=="number"&&Number.isFinite(o)?o:parseFloat(t)||.3;e.style.willChange="transform";let s=!1,a=()=>{s=!1;let c=e.getBoundingClientRect(),d=window.innerHeight||document.documentElement.clientHeight||1,u=c.top+c.height/2;Ji(e).parallax=(d/2-u)*i,Tl(e)},l=()=>{s||(s=!0,requestAnimationFrame(a))};window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",l),a(),r(()=>{window.removeEventListener("scroll",l),window.removeEventListener("resize",l),Ji(e).parallax=0,Tl(e),e.style.removeProperty("will-change")})});var Gi=new Map,wl=null,Ml=!1;function If(){Ml||typeof requestAnimationFrame!="function"||(Ml=!0,requestAnimationFrame(kb))}function kb(){var e;Ml=!1;for(let t of Gi.values()){if(!t.el.isConnected||t.animating)continue;let n=t.el.getBoundingClientRect(),r=t.rect;t.rect=n;let o=r.left-n.left,i=r.top-n.top,s=n.width>0?r.width/n.width:1,a=n.height>0?r.height/n.height:1,l=Math.abs(o)>=1||Math.abs(i)>=1,c=Math.abs(s-1)>=.01||Math.abs(a-1)>=.01;!l&&!c||(t.animating=!0,(e=t.control)==null||e.stop(),t.control=Pt(t.el,{x:[o,0],y:[i,0],scaleX:[s,1],scaleY:[a,1]},t.options),t.control.finished.then(()=>{t.animating=!1,t.el.isConnected&&(t.rect=t.el.getBoundingClientRect())}))}}function Tb(){var t;if(wl||typeof MutationObserver=="undefined")return;let e=(t=w.root)!=null?t:document.body;e&&(wl=new MutationObserver(If),wl.observe(e,{childList:!0,subtree:!0}),window.addEventListener("resize",If))}y("flip",({el:e,expression:t,evaluate:n,cleanup:r})=>{if(typeof document=="undefined")return;let o=co(t,n),i=o?ts(o).options:{};i.duration===void 0&&i.spring===void 0&&(i.spring={stiffness:340,damping:34}),Tb(),Gi.set(e,{el:e,rect:e.getBoundingClientRect(),options:i,control:null,animating:!1}),r(()=>{var s,a;(a=(s=Gi.get(e))==null?void 0:s.control)==null||a.stop(),Gi.delete(e)})});function Lb(e,t){let n={minimumFractionDigits:t,maximumFractionDigits:t};e==="currency"&&(n.style="currency",n.currency=w.currency);let r=new Intl.NumberFormat(w.locale,n);return e==="percent"?o=>`${r.format(o)}%`:o=>r.format(o)}y("count",({el:e,evaluate:t,effect:n,cleanup:r})=>{var p,f,m,h,v;let o=Q((p=bt(e,"count-duration"))!=null?p:void 0,1400),i=Math.max(0,Math.min(6,parseInt((f=bt(e,"count-decimals"))!=null?f:"0",10)||0)),s=(m=bt(e,"count-format"))!=null?m:"number",a=(h=bt(e,"count-prefix"))!=null?h:"",l=(v=bt(e,"count-suffix"))!=null?v:"",c=Lb(s,i),d=0,u=null;n(()=>{let g=Number(t()),b=Number.isFinite(g)?g:0,x=d;u==null||u.stop(),u=Pt(e,{},{duration:o,easing:"easeOutExpo",onUpdate(T){d=x+(b-x)*T,e.textContent=`${a}${c(d)}${l}`}})}),r(()=>u==null?void 0:u.stop())});y("typewriter",({el:e,expression:t,evaluate:n,effect:r,cleanup:o})=>{var l;let i=Q((l=bt(e,"typewriter-speed"))!=null?l:void 0,45),s=Xf(t),a=null;r(()=>{var u;let c=s?String((u=n())!=null?u:""):t;if(a==null||a.stop(),e.textContent="",!c)return;let d=-1;a=Pt(e,{},{duration:Math.max(1,c.length*i),easing:"linear",onUpdate(p){let f=Math.round(p*c.length);f!==d&&(d=f,e.textContent=c.slice(0,f))}})}),o(()=>a==null?void 0:a.stop())});Ne();ce();function Mb(){return typeof window=="undefined"||typeof window.matchMedia!="function"?!1:ve.reducedMotion}var uo=["#6D3BF5","#FF3D8B","#2ED9A5","#FFB35C","#9B7BFF","#FF4D4D","#14111F","#3BB6F5"],Sb=`
316
316
  .v-chart{position:relative;display:block;width:100%;color:var(--v-text,#14111F);
317
317
  font:500 12px/1.35 var(--v-font-sans,system-ui,-apple-system,'Segoe UI',sans-serif)}
318
318
  .v-chart-svg{display:block;width:100%;overflow:visible;touch-action:pan-y}
@@ -371,7 +371,7 @@ ${n}
371
371
  }`}var vo=null,mo=null;function vy(e){var r,o,i,s,a,l,c,d,u;let t=(r=ss[e.preset])!=null?r:ss.violeta,n={primary:(o=e.primary)!=null?o:t.primary,accent:(i=e.accent)!=null?i:t.accent,success:(s=e.success)!=null?s:t.success,warning:(a=e.warning)!=null?a:t.warning,danger:(l=e.danger)!=null?l:t.danger,info:(c=e.info)!=null?c:t.info,neutral:(d=e.neutral)!=null?d:t.neutral};for(let p of yp)yt(n[p])||(console.warn(`[Voodoo] invalid color in palette.${p}: "${n[p]}". Using preset.`),n[p]=t[p]);return{colors:n,radius:(u=e.radius)!=null?u:"12px",font:up(e.font,uy),mono:up(e.monoFont,fy)}}function hy(e){if(typeof document=="undefined"||!w.injectStyles)return;ge();let t=document.getElementById(dp);t||(t=document.createElement("style"),t.id=dp,t.setAttribute("data-voodoo","palette"),document.head.appendChild(t)),t.textContent=e}function rs(e={}){let{colors:t,radius:n,font:r,mono:o}=vy(e),i=fp(t,!1),s=fp(t,!0),a={...my(n),"--v-font-sans":r,"--v-font-mono":o},l=["/* Palette generated by V.palette(). Do not edit manually. */",jl(":root",{...a,...i.vars}),`@media (prefers-color-scheme: dark) {
372
372
  ${jl(':root:not([data-theme="light"])',s.vars)}
373
373
  }`,jl(':root[data-theme="dark"]',s.vars)].join(`
374
- `);hy(l);let c={colors:t,radius:n,font:r,monoFont:o,light:i.scales,dark:s.scales,contrast:i.contrast,css:l};if(vo=c,mo={...e},e.persist!==!1&&typeof document!="undefined"){let d={...e};delete d.persist,ue.set(_l,d)}return typeof document!="undefined"&&document.dispatchEvent(new CustomEvent("voodoo:palette",{detail:c})),c}var pp=!1;function Wl(){if(vo&&pp)return vo;pp=!0;let e=ue.get(_l),t=e&&typeof e=="object"?{...e,persist:!1}:{persist:!1};return rs(t)}function ho(){vo||Wl()}function xp(){return Wl()}var wp=Object.assign(rs,{presets:ss,get names(){return Object.keys(ss)},get current(){return vo},get options(){return mo},init:Wl,ensure:ho,reset(){return ue.remove(_l),rs({persist:!1})},use(e){return rs({...mo!=null?mo:{},preset:e,primary:void 0,accent:void 0})},scale:bp,contrastText:po,contrastRatio:Vl,luminance(e){let t=typeof e=="string"?yt(e):e;return t?ql(t):0},convert:{parseColor:yt,rgbToOklch:os,oklchToRgb:pr,toHex:wn,toRgba:fr}});function te(e){if(e===!0)return!0;if(e===!1||e===null||e===void 0)return!1;if(typeof e=="number")return e!==0;let t=String(e).trim().toLowerCase();return t===""||t==="true"||t==="1"||t==="yes"}function be(...e){let t={};for(let n of e){let r=`is${n.charAt(0).toUpperCase()}${n.slice(1)}`;t[r]=function(){return te(this[n])}}return t}var F={type:"any",default:!1},L={type:"string",default:""};function vr(e,t){var i;if(t==null||typeof t!="string")return t;let n=t.trim();if(!n)return null;if(n.startsWith("[")||n.startsWith("{"))try{return JSON.parse(n)}catch(s){return null}let r=n.split(/[.[(]/)[0].trim();if(!/^[A-Za-z_$][\w$]*$/.test(r))return null;let o=(i=e.$scope)==null?void 0:i.parent;return!o||!o.has(r)?null:q(n,o,"list attribute")}function bo(e){return String(e).split(",").map(t=>t.trim()).filter(Boolean)}function Qt(e,t){let n=e.$el;Object.defineProperty(n,"value",{configurable:!0,enumerable:!1,get:t.get,set:t.set})}function go(e){e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}))}var Tp={check:'<path d="m5 12.5 4.4 4.4L19 7.6"/>',x:'<path d="M6 6l12 12M18 6 6 18"/>',plus:'<path d="M12 5v14M5 12h14"/>',minus:'<path d="M5 12h14"/>',search:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 4 4"/>',"chevron-down":'<path d="m6 9.5 6 6 6-6"/>',"chevron-up":'<path d="m6 14.5 6-6 6 6"/>',"chevron-left":'<path d="m14.5 6-6 6 6 6"/>',"chevron-right":'<path d="m9.5 6 6 6-6 6"/>',"arrow-up":'<path d="M12 19V5M6 11l6-6 6 6"/>',"arrow-down":'<path d="M12 5v14M6 13l6 6 6-6"/>',"arrow-right":'<path d="M5 12h14M13 6l6 6-6 6"/>',"arrow-left":'<path d="M19 12H5M11 6l-6 6 6 6"/>',user:'<circle cx="12" cy="8.5" r="3.6"/><path d="M4.8 20a7.4 7.4 0 0 1 14.4 0"/>',users:'<circle cx="9.5" cy="8.5" r="3.2"/><path d="M3.4 19.5a6.4 6.4 0 0 1 12.2 0M16 5.6a3.2 3.2 0 0 1 0 5.9M17.4 14.4a6.4 6.4 0 0 1 3.2 5.1"/>',mail:'<rect x="3" y="5" width="18" height="14" rx="2.5"/><path d="m3.8 7 8.2 6 8.2-6"/>',lock:'<rect x="4.5" y="10.5" width="15" height="9.5" rx="2.4"/><path d="M8 10.5V8a4 4 0 0 1 8 0v2.5"/>',eye:'<path d="M2.6 12S6.4 5.8 12 5.8 21.4 12 21.4 12 17.6 18.2 12 18.2 2.6 12 2.6 12Z"/><circle cx="12" cy="12" r="2.8"/>',"eye-off":'<path d="M4 4l16 16M9.9 6.2A9.3 9.3 0 0 1 12 6c5.6 0 9.4 6 9.4 6a17 17 0 0 1-3.3 3.9M6.3 8.2A17 17 0 0 0 2.6 12S6.4 18 12 18c1 0 1.9-.2 2.7-.5"/>',calendar:'<rect x="3.5" y="5" width="17" height="15" rx="2.4"/><path d="M8 3v4M16 3v4M3.5 10h17"/>',clock:'<circle cx="12" cy="12" r="8.6"/><path d="M12 7.4V12l3 1.8"/>',star:'<path d="m12 4 2.5 5.2 5.5.8-4 3.9 1 5.6-5-2.7-5 2.7 1-5.6-4-3.9 5.5-.8z"/>',info:'<circle cx="12" cy="12" r="8.6"/><path d="M12 11v5.2M12 7.6v.2"/>',alert:'<circle cx="12" cy="12" r="8.6"/><path d="M12 7.5v5M12 16.4v.2"/>',warning:'<path d="M12 4.4 2.8 19.6h18.4z"/><path d="M12 10v3.8M12 16.9v.2"/>',trash:'<path d="M4.5 7h15M9.5 7V5.2A1.2 1.2 0 0 1 10.7 4h2.6a1.2 1.2 0 0 1 1.2 1.2V7M6.6 7l.8 12a1.6 1.6 0 0 0 1.6 1.5h6a1.6 1.6 0 0 0 1.6-1.5l.8-12"/>',edit:'<path d="M4.5 19.5h4l10-10a2.1 2.1 0 0 0-3-3l-10 10z"/><path d="M14 6.5 17.5 10"/>',copy:'<rect x="8.5" y="8.5" width="11.5" height="11.5" rx="2.2"/><path d="M15.5 5.5A1.5 1.5 0 0 0 14 4H6a2 2 0 0 0-2 2v8a1.5 1.5 0 0 0 1.5 1.5"/>',download:'<path d="M12 4v11M7.5 11 12 15.5 16.5 11M4.5 19.5h15"/>',upload:'<path d="M12 20V8.5M7.5 12.5 12 8l4.5 4.5M4.5 4.5h15"/>',settings:'<circle cx="12" cy="12" r="3.1"/><path d="M19.6 14.4a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.7 1.7 0 0 0-1.87-.34 1.7 1.7 0 0 0-1.03 1.56V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.56 1.7 1.7 0 0 0-1.87.34l-.06.06A2 2 0 1 1 4.15 16.9l.06-.06a1.7 1.7 0 0 0 .34-1.87A1.7 1.7 0 0 0 3 13.94H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.55-1.1 1.7 1.7 0 0 0-.34-1.87l-.06-.06A2 2 0 1 1 7.08 4.08l.06.06a1.7 1.7 0 0 0 1.87.34H9a1.7 1.7 0 0 0 1-1.56V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.56 1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.7 1.7 0 0 0-.34 1.87V10a1.7 1.7 0 0 0 1.56 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.3 1z"/>',home:'<path d="M4 10.5 12 4l8 6.5V19a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 19z"/><path d="M9.6 20.5v-6h4.8v6"/>',heart:'<path d="M12 20s-7.5-4.6-7.5-9.4A4.1 4.1 0 0 1 12 8.2a4.1 4.1 0 0 1 7.5 2.4C19.5 15.4 12 20 12 20Z"/>',bell:'<path d="M18 9a6 6 0 1 0-12 0c0 5.2-2 6.5-2 6.5h16S18 14.2 18 9"/><path d="M13.7 19.5a2 2 0 0 1-3.4 0"/>',filter:'<path d="M4 5.5h16l-6.2 7.3v5.3l-3.6 2v-7.3z"/>',external:'<path d="M14 4.5h5.5V10M19 5l-8 8"/><path d="M18 13.5V18a1.5 1.5 0 0 1-1.5 1.5H6A1.5 1.5 0 0 1 4.5 18V7.5A1.5 1.5 0 0 1 6 6h4.5"/>',refresh:'<path d="M20 11a8 8 0 0 0-13.7-4.8L4 8.4"/><path d="M4 4.5v4h4M4 13a8 8 0 0 0 13.7 4.8L20 15.6"/><path d="M20 19.5v-4h-4"/>',folder:'<path d="M4 7.5A1.5 1.5 0 0 1 5.5 6h3.7l2 2.4h7.3A1.5 1.5 0 0 1 20 9.9v7.6a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17.5z"/>',file:'<path d="M13.5 4H7a1.5 1.5 0 0 0-1.5 1.5v13A1.5 1.5 0 0 0 7 20h10a1.5 1.5 0 0 0 1.5-1.5V9z"/><path d="M13.5 4v5h5"/>',image:'<rect x="4" y="5" width="16" height="14" rx="2.2"/><circle cx="9" cy="10" r="1.7"/><path d="m5 17 4.6-4.3 3.4 3 2.6-2.3L19 17"/>',link:'<path d="M10.6 13.4a3.6 3.6 0 0 0 5.1 0l2.4-2.4a3.6 3.6 0 0 0-5.1-5.1l-1.3 1.3"/><path d="M13.4 10.6a3.6 3.6 0 0 0-5.1 0l-2.4 2.4a3.6 3.6 0 0 0 5.1 5.1l1.3-1.3"/>',menu:'<path d="M4 7h16M4 12h16M4 17h16"/>',more:'<circle cx="6" cy="12" r="1.4"/><circle cx="12" cy="12" r="1.4"/><circle cx="18" cy="12" r="1.4"/>',logout:'<path d="M14.5 8V6a1.5 1.5 0 0 0-1.5-1.5H6A1.5 1.5 0 0 0 4.5 6v12A1.5 1.5 0 0 0 6 19.5h7a1.5 1.5 0 0 0 1.5-1.5v-2"/><path d="M9.5 12h10.5M16.5 8.5 20 12l-3.5 3.5"/>',card:'<rect x="3" y="6" width="18" height="12" rx="2.4"/><path d="M3 10h18"/>',chart:'<path d="M4.5 19.5h15"/><path d="M7.5 19.5V11M12 19.5V5.5M16.5 19.5v-6"/>',box:'<path d="M20 8.6 12 4 4 8.6v6.8L12 20l8-4.6z"/><path d="m4 8.6 8 4.6 8-4.6M12 13.2V20"/>',inbox:'<path d="M4 13.5h4l1.4 2.4h5.2l1.4-2.4h4"/><path d="M4.6 13.5 7 5.6A1.5 1.5 0 0 1 8.5 4.5h7A1.5 1.5 0 0 1 17 5.6l2.4 7.9V18a1.5 1.5 0 0 1-1.5 1.5H6A1.5 1.5 0 0 1 4.5 18z"/>'};function gy(e){let t=String(e!=null?e:"").trim();if(!t)return"";let n=Tp[t];return n?`<svg class="v-ic" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">${n}</svg>`:""}var by=`
374
+ `);hy(l);let c={colors:t,radius:n,font:r,monoFont:o,light:i.scales,dark:s.scales,contrast:i.contrast,css:l};if(vo=c,mo={...e},e.persist!==!1&&typeof document!="undefined"){let d={...e};delete d.persist,ue.set(_l,d)}return typeof document!="undefined"&&document.dispatchEvent(new CustomEvent("voodoo:palette",{detail:c})),c}var pp=!1;function Wl(){if(vo&&pp)return vo;pp=!0;let e=ue.get(_l),t=e&&typeof e=="object"?{...e,persist:!1}:{persist:!1};return rs(t)}function ho(){vo||Wl()}function xp(){return Wl()}var wp=Object.assign(rs,{presets:ss,get names(){return Object.keys(ss)},get current(){return vo},get options(){return mo},init:Wl,ensure:ho,reset(){return ue.remove(_l),rs({persist:!1})},use(e){return rs({...mo!=null?mo:{},preset:e,primary:void 0,accent:void 0})},scale:bp,contrastText:po,contrastRatio:Vl,luminance(e){let t=typeof e=="string"?yt(e):e;return t?ql(t):0},convert:{parseColor:yt,rgbToOklch:os,oklchToRgb:pr,toHex:wn,toRgba:fr}});function ne(e){if(e===!0)return!0;if(e===!1||e===null||e===void 0)return!1;if(typeof e=="number")return e!==0;let t=String(e).trim().toLowerCase();return t===""||t==="true"||t==="1"||t==="yes"}function be(...e){let t={};for(let n of e){let r=`is${n.charAt(0).toUpperCase()}${n.slice(1)}`;t[r]=function(){return ne(this[n])}}return t}var F={type:"any",default:!1},L={type:"string",default:""};function vr(e,t){var i;if(t==null||typeof t!="string")return t;let n=t.trim();if(!n)return null;if(n.startsWith("[")||n.startsWith("{"))try{return JSON.parse(n)}catch(s){return null}let r=n.split(/[.[(]/)[0].trim();if(!/^[A-Za-z_$][\w$]*$/.test(r))return null;let o=(i=e.$scope)==null?void 0:i.parent;return!o||!o.has(r)?null:q(n,o,"list attribute")}function bo(e){return String(e).split(",").map(t=>t.trim()).filter(Boolean)}function Qt(e,t){let n=e.$el;Object.defineProperty(n,"value",{configurable:!0,enumerable:!1,get:t.get,set:t.set})}function go(e){e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}))}var Tp={check:'<path d="m5 12.5 4.4 4.4L19 7.6"/>',x:'<path d="M6 6l12 12M18 6 6 18"/>',plus:'<path d="M12 5v14M5 12h14"/>',minus:'<path d="M5 12h14"/>',search:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 4 4"/>',"chevron-down":'<path d="m6 9.5 6 6 6-6"/>',"chevron-up":'<path d="m6 14.5 6-6 6 6"/>',"chevron-left":'<path d="m14.5 6-6 6 6 6"/>',"chevron-right":'<path d="m9.5 6 6 6-6 6"/>',"arrow-up":'<path d="M12 19V5M6 11l6-6 6 6"/>',"arrow-down":'<path d="M12 5v14M6 13l6 6 6-6"/>',"arrow-right":'<path d="M5 12h14M13 6l6 6-6 6"/>',"arrow-left":'<path d="M19 12H5M11 6l-6 6 6 6"/>',user:'<circle cx="12" cy="8.5" r="3.6"/><path d="M4.8 20a7.4 7.4 0 0 1 14.4 0"/>',users:'<circle cx="9.5" cy="8.5" r="3.2"/><path d="M3.4 19.5a6.4 6.4 0 0 1 12.2 0M16 5.6a3.2 3.2 0 0 1 0 5.9M17.4 14.4a6.4 6.4 0 0 1 3.2 5.1"/>',mail:'<rect x="3" y="5" width="18" height="14" rx="2.5"/><path d="m3.8 7 8.2 6 8.2-6"/>',lock:'<rect x="4.5" y="10.5" width="15" height="9.5" rx="2.4"/><path d="M8 10.5V8a4 4 0 0 1 8 0v2.5"/>',eye:'<path d="M2.6 12S6.4 5.8 12 5.8 21.4 12 21.4 12 17.6 18.2 12 18.2 2.6 12 2.6 12Z"/><circle cx="12" cy="12" r="2.8"/>',"eye-off":'<path d="M4 4l16 16M9.9 6.2A9.3 9.3 0 0 1 12 6c5.6 0 9.4 6 9.4 6a17 17 0 0 1-3.3 3.9M6.3 8.2A17 17 0 0 0 2.6 12S6.4 18 12 18c1 0 1.9-.2 2.7-.5"/>',calendar:'<rect x="3.5" y="5" width="17" height="15" rx="2.4"/><path d="M8 3v4M16 3v4M3.5 10h17"/>',clock:'<circle cx="12" cy="12" r="8.6"/><path d="M12 7.4V12l3 1.8"/>',star:'<path d="m12 4 2.5 5.2 5.5.8-4 3.9 1 5.6-5-2.7-5 2.7 1-5.6-4-3.9 5.5-.8z"/>',info:'<circle cx="12" cy="12" r="8.6"/><path d="M12 11v5.2M12 7.6v.2"/>',alert:'<circle cx="12" cy="12" r="8.6"/><path d="M12 7.5v5M12 16.4v.2"/>',warning:'<path d="M12 4.4 2.8 19.6h18.4z"/><path d="M12 10v3.8M12 16.9v.2"/>',trash:'<path d="M4.5 7h15M9.5 7V5.2A1.2 1.2 0 0 1 10.7 4h2.6a1.2 1.2 0 0 1 1.2 1.2V7M6.6 7l.8 12a1.6 1.6 0 0 0 1.6 1.5h6a1.6 1.6 0 0 0 1.6-1.5l.8-12"/>',edit:'<path d="M4.5 19.5h4l10-10a2.1 2.1 0 0 0-3-3l-10 10z"/><path d="M14 6.5 17.5 10"/>',copy:'<rect x="8.5" y="8.5" width="11.5" height="11.5" rx="2.2"/><path d="M15.5 5.5A1.5 1.5 0 0 0 14 4H6a2 2 0 0 0-2 2v8a1.5 1.5 0 0 0 1.5 1.5"/>',download:'<path d="M12 4v11M7.5 11 12 15.5 16.5 11M4.5 19.5h15"/>',upload:'<path d="M12 20V8.5M7.5 12.5 12 8l4.5 4.5M4.5 4.5h15"/>',settings:'<circle cx="12" cy="12" r="3.1"/><path d="M19.6 14.4a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.7 1.7 0 0 0-1.87-.34 1.7 1.7 0 0 0-1.03 1.56V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.56 1.7 1.7 0 0 0-1.87.34l-.06.06A2 2 0 1 1 4.15 16.9l.06-.06a1.7 1.7 0 0 0 .34-1.87A1.7 1.7 0 0 0 3 13.94H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.55-1.1 1.7 1.7 0 0 0-.34-1.87l-.06-.06A2 2 0 1 1 7.08 4.08l.06.06a1.7 1.7 0 0 0 1.87.34H9a1.7 1.7 0 0 0 1-1.56V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.56 1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.7 1.7 0 0 0-.34 1.87V10a1.7 1.7 0 0 0 1.56 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.3 1z"/>',home:'<path d="M4 10.5 12 4l8 6.5V19a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 19z"/><path d="M9.6 20.5v-6h4.8v6"/>',heart:'<path d="M12 20s-7.5-4.6-7.5-9.4A4.1 4.1 0 0 1 12 8.2a4.1 4.1 0 0 1 7.5 2.4C19.5 15.4 12 20 12 20Z"/>',bell:'<path d="M18 9a6 6 0 1 0-12 0c0 5.2-2 6.5-2 6.5h16S18 14.2 18 9"/><path d="M13.7 19.5a2 2 0 0 1-3.4 0"/>',filter:'<path d="M4 5.5h16l-6.2 7.3v5.3l-3.6 2v-7.3z"/>',external:'<path d="M14 4.5h5.5V10M19 5l-8 8"/><path d="M18 13.5V18a1.5 1.5 0 0 1-1.5 1.5H6A1.5 1.5 0 0 1 4.5 18V7.5A1.5 1.5 0 0 1 6 6h4.5"/>',refresh:'<path d="M20 11a8 8 0 0 0-13.7-4.8L4 8.4"/><path d="M4 4.5v4h4M4 13a8 8 0 0 0 13.7 4.8L20 15.6"/><path d="M20 19.5v-4h-4"/>',folder:'<path d="M4 7.5A1.5 1.5 0 0 1 5.5 6h3.7l2 2.4h7.3A1.5 1.5 0 0 1 20 9.9v7.6a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17.5z"/>',file:'<path d="M13.5 4H7a1.5 1.5 0 0 0-1.5 1.5v13A1.5 1.5 0 0 0 7 20h10a1.5 1.5 0 0 0 1.5-1.5V9z"/><path d="M13.5 4v5h5"/>',image:'<rect x="4" y="5" width="16" height="14" rx="2.2"/><circle cx="9" cy="10" r="1.7"/><path d="m5 17 4.6-4.3 3.4 3 2.6-2.3L19 17"/>',link:'<path d="M10.6 13.4a3.6 3.6 0 0 0 5.1 0l2.4-2.4a3.6 3.6 0 0 0-5.1-5.1l-1.3 1.3"/><path d="M13.4 10.6a3.6 3.6 0 0 0-5.1 0l-2.4 2.4a3.6 3.6 0 0 0 5.1 5.1l1.3-1.3"/>',menu:'<path d="M4 7h16M4 12h16M4 17h16"/>',more:'<circle cx="6" cy="12" r="1.4"/><circle cx="12" cy="12" r="1.4"/><circle cx="18" cy="12" r="1.4"/>',logout:'<path d="M14.5 8V6a1.5 1.5 0 0 0-1.5-1.5H6A1.5 1.5 0 0 0 4.5 6v12A1.5 1.5 0 0 0 6 19.5h7a1.5 1.5 0 0 0 1.5-1.5v-2"/><path d="M9.5 12h10.5M16.5 8.5 20 12l-3.5 3.5"/>',card:'<rect x="3" y="6" width="18" height="12" rx="2.4"/><path d="M3 10h18"/>',chart:'<path d="M4.5 19.5h15"/><path d="M7.5 19.5V11M12 19.5V5.5M16.5 19.5v-6"/>',box:'<path d="M20 8.6 12 4 4 8.6v6.8L12 20l8-4.6z"/><path d="m4 8.6 8 4.6 8-4.6M12 13.2V20"/>',inbox:'<path d="M4 13.5h4l1.4 2.4h5.2l1.4-2.4h4"/><path d="M4.6 13.5 7 5.6A1.5 1.5 0 0 1 8.5 4.5h7A1.5 1.5 0 0 1 17 5.6l2.4 7.9V18a1.5 1.5 0 0 1-1.5 1.5H6A1.5 1.5 0 0 1 4.5 18z"/>'};function gy(e){let t=String(e!=null?e:"").trim();if(!t)return"";let n=Tp[t];return n?`<svg class="v-ic" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">${n}</svg>`:""}var by=`
375
375
  .v-ic{width:1em;height:1em;flex:none}
376
376
  .v-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
377
377
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
@@ -876,7 +876,7 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
876
876
  .v-skeleton,.v-spinner,.v-btn-spin{animation-duration:1.6s}
877
877
  .v-progress[data-indeterminate="true"] .v-progress-bar{animation-duration:2.4s}
878
878
  }
879
- `,Ep=!1;function yy(){Ep||(Ep=!0,ge(),ho(),oe("components",by))}function ie(e,t){var r;let n=t.beforeMount;t.methods={svgIcon:o=>gy(o),hasFlag:o=>te(o),...(r=t.methods)!=null?r:{}},t.beforeMount=function(){yy(),n==null||n.call(this)},zt(e,t)}ie("v-button",{props:{variant:{type:"string",default:"primary"},size:{type:"string",default:"md"},icon:L,iconRight:L,type:{type:"string",default:"button"},loading:F,disabled:F,block:F,rounded:F,ariaLabel:L},computed:{...be("loading","disabled","block","rounded"),blocked(){return te(this.disabled)||te(this.loading)}},template:`
879
+ `,Ep=!1;function yy(){Ep||(Ep=!0,ge(),ho(),oe("components",by))}function ie(e,t){var r;let n=t.beforeMount;t.methods={svgIcon:o=>gy(o),hasFlag:o=>ne(o),...(r=t.methods)!=null?r:{}},t.beforeMount=function(){yy(),n==null||n.call(this)},zt(e,t)}ie("v-button",{props:{variant:{type:"string",default:"primary"},size:{type:"string",default:"md"},icon:L,iconRight:L,type:{type:"string",default:"button"},loading:F,disabled:F,block:F,rounded:F,ariaLabel:L},computed:{...be("loading","disabled","block","rounded"),blocked(){return ne(this.disabled)||ne(this.loading)}},template:`
880
880
  <button class="v-btn" :type="type" :data-variant="variant" :data-size="size"
881
881
  :data-block="isBlock" :data-rounded="isRounded" :disabled="blocked"
882
882
  :aria-busy="isLoading" :aria-label="ariaLabel || null">
@@ -885,13 +885,13 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
885
885
  <span class="v-btn-label"><slot></slot></span>
886
886
  <span class="v-btn-ic" v-if="iconRight" v-html="svgIcon(iconRight)"></span>
887
887
  </button>
888
- `});ie("v-icon-button",{props:{icon:{type:"string",default:"more"},label:L,variant:{type:"string",default:"ghost"},size:{type:"string",default:"md"},type:{type:"string",default:"button"},disabled:F,loading:F,rounded:F},computed:{...be("disabled","loading","rounded"),blocked(){return te(this.disabled)||te(this.loading)},accessibleName(){return this.label||this.icon||"Action"}},template:`
888
+ `});ie("v-icon-button",{props:{icon:{type:"string",default:"more"},label:L,variant:{type:"string",default:"ghost"},size:{type:"string",default:"md"},type:{type:"string",default:"button"},disabled:F,loading:F,rounded:F},computed:{...be("disabled","loading","rounded"),blocked(){return ne(this.disabled)||ne(this.loading)},accessibleName(){return this.label||this.icon||"Action"}},template:`
889
889
  <button class="v-icon-btn" :type="type" :data-variant="variant" :data-size="size"
890
890
  :data-rounded="isRounded" :disabled="blocked" :aria-label="accessibleName" :title="label || null">
891
891
  <span class="v-btn-spin" v-if="isLoading" aria-hidden="true"></span>
892
892
  <span v-if="!isLoading" v-html="svgIcon(icon)"></span>
893
893
  </button>
894
- `});ie("v-card",{props:{title:L,subtitle:L,icon:L,padded:{type:"any",default:!0},hoverable:F},computed:{...be("hoverable"),isPadded(){return this.padded===!0||te(this.padded)}},template:`
894
+ `});ie("v-card",{props:{title:L,subtitle:L,icon:L,padded:{type:"any",default:!0},hoverable:F},computed:{...be("hoverable"),isPadded(){return this.padded===!0||ne(this.padded)}},template:`
895
895
  <div class="v-card" :data-hoverable="isHoverable" :data-padded="isPadded">
896
896
  <div class="v-card-head" v-if="title || subtitle || icon">
897
897
  <span class="v-card-icon" v-if="icon" v-html="svgIcon(icon)" aria-hidden="true"></span>
@@ -956,7 +956,7 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
956
956
  <p class="v-hint" :id="hintId" v-if="hint && !error" v-text="hint"></p>
957
957
  <p class="v-error-text" :id="errorId" v-if="error" role="alert" v-text="error"></p>
958
958
  </div>
959
- `});function xy(e){return e?(Array.isArray(e)?e:typeof e=="string"?bo(e):[]).map(n=>{var r,o,i,s,a,l,c,d;if(n!=null&&typeof n=="object"){let u=n,p=(s=(i=(o=(r=u.value)!=null?r:u.id)!=null?o:u.key)!=null?i:u.label)!=null?s:"",f=(d=(c=(l=(a=u.label)!=null?a:u.text)!=null?l:u.name)!=null?c:u.title)!=null?d:p;return{value:String(p),label:String(f),disabled:te(u.disabled)}}return{value:String(n),label:String(n),disabled:!1}}):[]}ie("v-select",{inheritScope:!0,props:{label:L,placeholder:{type:"string",default:"Select"},searchPlaceholder:{type:"string",default:"Search..."},emptyText:{type:"string",default:"No options found"},options:{type:"any",default:""},value:{type:"any",default:""},hint:L,error:L,name:L,id:L,size:{type:"string",default:"md"},multiple:F,searchable:F,clearable:F,disabled:F,required:F},state(e){let t=e.id||le("v-select-"),n=e.value;return{open:!1,query:"",activeIndex:-1,selected:Array.isArray(n)||n==null?"":String(n),selectedList:Array.isArray(n)?n.map(String):[],fieldId:t}},computed:{...be("multiple","searchable","clearable","disabled","required"),listId(){return`${this.fieldId}-list`},labelId(){return`${this.fieldId}-label`},hintId(){return`${this.fieldId}-hint`},errorId(){return`${this.fieldId}-error`},describedBy(){return this.error?this.errorId:this.hint?this.hintId:null},allOptions(){var e;return xy((e=vr(this,this.options))!=null?e:this.options)},filtered(){var t;let e=String((t=this.query)!=null?t:"").trim().toLowerCase();return e?this.allOptions.filter(n=>n.label.toLowerCase().includes(e)):this.allOptions},currentValue(){return te(this.multiple)?this.selectedList:this.selected},hasSelection(){return te(this.multiple)?this.selectedList.length>0:this.selected!==""},display(){if(!this.hasSelection)return this.placeholder;let e=t=>{let n=this.allOptions.find(r=>r.value===String(t));return n?n.label:String(t)};return te(this.multiple)?this.selectedList.map(e).join(", "):e(this.selected)},activeId(){return!this.open||this.activeIndex<0||this.activeIndex>=this.filtered.length?null:`${this.listId}-opt-${this.activeIndex}`}},methods:{optionId(e){return`${this.listId}-opt-${e}`},isSelected(e){return te(this.multiple)?this.selectedList.indexOf(String(e))>-1:this.selected===String(e)},openList(){if(te(this.disabled)||this.open)return;this.open=!0,this.query="";let e=this.filtered.findIndex(t=>this.isSelected(t.value));this.activeIndex=e>-1?e:0,ut(()=>{let t=this.$refs.search;t&&t.focus()})},closeList(){this.open&&(this.open=!1,this.activeIndex=-1)},closeAndFocus(){let e=this.open;this.closeList(),e&&ut(()=>{let t=this.$refs.trigger;t&&t.focus()})},toggleList(){this.open?this.closeAndFocus():this.openList()},choose(e){if(!(!e||e.disabled)){if(te(this.multiple)){let t=[...this.selectedList],n=t.indexOf(e.value);n>-1?t.splice(n,1):t.push(e.value),this.selectedList=t}else this.selected=e.value,this.closeAndFocus();go(this.$el),this.emit("change",this.currentValue)}},clear(){this.selected="",this.selectedList=[],go(this.$el),this.emit("change",this.currentValue)},move(e){let t=this.filtered;if(!t.length)return;let n=this.activeIndex+e;n<0&&(n=t.length-1),n>=t.length&&(n=0),this.activeIndex=n},onKey(e){let t=e.key;if(t==="Escape"){e.preventDefault(),this.closeAndFocus();return}if(t==="ArrowDown"||t==="ArrowUp"){e.preventDefault(),this.open?this.move(t==="ArrowDown"?1:-1):this.openList();return}if(t==="Home"||t==="End"){if(!this.open)return;e.preventDefault(),this.activeIndex=t==="Home"?0:this.filtered.length-1;return}if(t==="Enter"){e.preventDefault(),this.open?this.choose(this.filtered[this.activeIndex]):this.openList();return}if(t===" "&&!te(this.searchable)){e.preventDefault(),this.toggleList();return}t==="Tab"&&this.open&&this.closeList()}},beforeMount(){Qt(this,{get:()=>this.currentValue,set:e=>{if(te(this.multiple)){this.selectedList=Array.isArray(e)?e.map(String):bo(String(e!=null?e:""));return}this.selected=e==null?"":String(e)}})},template:`
959
+ `});function xy(e){return e?(Array.isArray(e)?e:typeof e=="string"?bo(e):[]).map(n=>{var r,o,i,s,a,l,c,d;if(n!=null&&typeof n=="object"){let u=n,p=(s=(i=(o=(r=u.value)!=null?r:u.id)!=null?o:u.key)!=null?i:u.label)!=null?s:"",f=(d=(c=(l=(a=u.label)!=null?a:u.text)!=null?l:u.name)!=null?c:u.title)!=null?d:p;return{value:String(p),label:String(f),disabled:ne(u.disabled)}}return{value:String(n),label:String(n),disabled:!1}}):[]}ie("v-select",{inheritScope:!0,props:{label:L,placeholder:{type:"string",default:"Select"},searchPlaceholder:{type:"string",default:"Search..."},emptyText:{type:"string",default:"No options found"},options:{type:"any",default:""},value:{type:"any",default:""},hint:L,error:L,name:L,id:L,size:{type:"string",default:"md"},multiple:F,searchable:F,clearable:F,disabled:F,required:F},state(e){let t=e.id||le("v-select-"),n=e.value;return{open:!1,query:"",activeIndex:-1,selected:Array.isArray(n)||n==null?"":String(n),selectedList:Array.isArray(n)?n.map(String):[],fieldId:t}},computed:{...be("multiple","searchable","clearable","disabled","required"),listId(){return`${this.fieldId}-list`},labelId(){return`${this.fieldId}-label`},hintId(){return`${this.fieldId}-hint`},errorId(){return`${this.fieldId}-error`},describedBy(){return this.error?this.errorId:this.hint?this.hintId:null},allOptions(){var e;return xy((e=vr(this,this.options))!=null?e:this.options)},filtered(){var t;let e=String((t=this.query)!=null?t:"").trim().toLowerCase();return e?this.allOptions.filter(n=>n.label.toLowerCase().includes(e)):this.allOptions},currentValue(){return ne(this.multiple)?this.selectedList:this.selected},hasSelection(){return ne(this.multiple)?this.selectedList.length>0:this.selected!==""},display(){if(!this.hasSelection)return this.placeholder;let e=t=>{let n=this.allOptions.find(r=>r.value===String(t));return n?n.label:String(t)};return ne(this.multiple)?this.selectedList.map(e).join(", "):e(this.selected)},activeId(){return!this.open||this.activeIndex<0||this.activeIndex>=this.filtered.length?null:`${this.listId}-opt-${this.activeIndex}`}},methods:{optionId(e){return`${this.listId}-opt-${e}`},isSelected(e){return ne(this.multiple)?this.selectedList.indexOf(String(e))>-1:this.selected===String(e)},openList(){if(ne(this.disabled)||this.open)return;this.open=!0,this.query="";let e=this.filtered.findIndex(t=>this.isSelected(t.value));this.activeIndex=e>-1?e:0,ut(()=>{let t=this.$refs.search;t&&t.focus()})},closeList(){this.open&&(this.open=!1,this.activeIndex=-1)},closeAndFocus(){let e=this.open;this.closeList(),e&&ut(()=>{let t=this.$refs.trigger;t&&t.focus()})},toggleList(){this.open?this.closeAndFocus():this.openList()},choose(e){if(!(!e||e.disabled)){if(ne(this.multiple)){let t=[...this.selectedList],n=t.indexOf(e.value);n>-1?t.splice(n,1):t.push(e.value),this.selectedList=t}else this.selected=e.value,this.closeAndFocus();go(this.$el),this.emit("change",this.currentValue)}},clear(){this.selected="",this.selectedList=[],go(this.$el),this.emit("change",this.currentValue)},move(e){let t=this.filtered;if(!t.length)return;let n=this.activeIndex+e;n<0&&(n=t.length-1),n>=t.length&&(n=0),this.activeIndex=n},onKey(e){let t=e.key;if(t==="Escape"){e.preventDefault(),this.closeAndFocus();return}if(t==="ArrowDown"||t==="ArrowUp"){e.preventDefault(),this.open?this.move(t==="ArrowDown"?1:-1):this.openList();return}if(t==="Home"||t==="End"){if(!this.open)return;e.preventDefault(),this.activeIndex=t==="Home"?0:this.filtered.length-1;return}if(t==="Enter"){e.preventDefault(),this.open?this.choose(this.filtered[this.activeIndex]):this.openList();return}if(t===" "&&!ne(this.searchable)){e.preventDefault(),this.toggleList();return}t==="Tab"&&this.open&&this.closeList()}},beforeMount(){Qt(this,{get:()=>this.currentValue,set:e=>{if(ne(this.multiple)){this.selectedList=Array.isArray(e)?e.map(String):bo(String(e!=null?e:""));return}this.selected=e==null?"":String(e)}})},template:`
960
960
  <div class="v-field" :data-error="!!error" :data-disabled="isDisabled">
961
961
  <label class="v-label" :id="labelId" v-if="label" v-click="openList">
962
962
  <span v-text="label"></span>
@@ -1004,7 +1004,7 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
1004
1004
  <p class="v-hint" :id="hintId" v-if="hint && !error" v-text="hint"></p>
1005
1005
  <p class="v-error-text" :id="errorId" v-if="error" role="alert" v-text="error"></p>
1006
1006
  </div>
1007
- `});ie("v-checkbox",{props:{label:L,description:L,error:L,name:L,id:L,value:{type:"string",default:"on"},checked:F,disabled:F,required:F},state(e){return{fieldId:e.id||le("v-check-")}},computed:{...be("checked","disabled","required")},methods:{onToggle(e){let t=e.target;this.checked=t.checked,this.emit("change",t.checked)}},beforeMount(){Qt(this,{get:()=>te(this.checked),set:e=>{this.checked=te(e)}})},template:`
1007
+ `});ie("v-checkbox",{props:{label:L,description:L,error:L,name:L,id:L,value:{type:"string",default:"on"},checked:F,disabled:F,required:F},state(e){return{fieldId:e.id||le("v-check-")}},computed:{...be("checked","disabled","required")},methods:{onToggle(e){let t=e.target;this.checked=t.checked,this.emit("change",t.checked)}},beforeMount(){Qt(this,{get:()=>ne(this.checked),set:e=>{this.checked=ne(e)}})},template:`
1008
1008
  <label class="v-check" :for="fieldId" :data-disabled="isDisabled" :data-error="!!error">
1009
1009
  <span class="v-check-slot">
1010
1010
  <input type="checkbox" class="v-check-native" :id="fieldId" :name="name || null"
@@ -1017,7 +1017,7 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
1017
1017
  <span class="v-check-desc" v-if="description" v-text="description"></span>
1018
1018
  </span>
1019
1019
  </label>
1020
- `});ie("v-radio",{props:{label:L,description:L,error:L,name:L,id:L,value:{type:"string",default:""},checked:F,disabled:F,required:F},state(e){var t;return{fieldId:e.id||le("v-radio-"),selected:te(e.checked)?String((t=e.value)!=null?t:""):""}},computed:{...be("disabled","required"),isChecked(){var e;return this.selected!==""&&this.selected===String((e=this.value)!=null?e:"")}},methods:{onPick(){var e;this.selected=String((e=this.value)!=null?e:""),this.emit("change",this.selected)}},beforeMount(){Qt(this,{get:()=>this.selected,set:e=>{this.selected=e==null?"":String(e)}})},template:`
1020
+ `});ie("v-radio",{props:{label:L,description:L,error:L,name:L,id:L,value:{type:"string",default:""},checked:F,disabled:F,required:F},state(e){var t;return{fieldId:e.id||le("v-radio-"),selected:ne(e.checked)?String((t=e.value)!=null?t:""):""}},computed:{...be("disabled","required"),isChecked(){var e;return this.selected!==""&&this.selected===String((e=this.value)!=null?e:"")}},methods:{onPick(){var e;this.selected=String((e=this.value)!=null?e:""),this.emit("change",this.selected)}},beforeMount(){Qt(this,{get:()=>this.selected,set:e=>{this.selected=e==null?"":String(e)}})},template:`
1021
1021
  <label class="v-check" :for="fieldId" data-shape="round"
1022
1022
  :data-disabled="isDisabled" :data-error="!!error">
1023
1023
  <span class="v-check-slot">
@@ -1031,7 +1031,7 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
1031
1031
  <span class="v-check-desc" v-if="description" v-text="description"></span>
1032
1032
  </span>
1033
1033
  </label>
1034
- `});ie("v-switch",{props:{label:L,description:L,name:L,id:L,size:{type:"string",default:"md"},checked:F,disabled:F},state(e){return{fieldId:e.id||le("v-switch-")}},computed:{...be("checked","disabled")},methods:{onToggle(e){let t=e.target;this.checked=t.checked,this.emit("change",t.checked)}},beforeMount(){Qt(this,{get:()=>te(this.checked),set:e=>{this.checked=te(e)}})},template:`
1034
+ `});ie("v-switch",{props:{label:L,description:L,name:L,id:L,size:{type:"string",default:"md"},checked:F,disabled:F},state(e){return{fieldId:e.id||le("v-switch-")}},computed:{...be("checked","disabled")},methods:{onToggle(e){let t=e.target;this.checked=t.checked,this.emit("change",t.checked)}},beforeMount(){Qt(this,{get:()=>ne(this.checked),set:e=>{this.checked=ne(e)}})},template:`
1035
1035
  <label class="v-check" :for="fieldId" :data-size="size" :data-disabled="isDisabled">
1036
1036
  <span class="v-check-slot">
1037
1037
  <input type="checkbox" role="switch" class="v-check-native" :id="fieldId"
@@ -1080,7 +1080,7 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
1080
1080
  `});ie("v-spinner",{props:{size:{type:"string",default:"md"},tone:{type:"string",default:"primary"},label:{type:"string",default:"Loading"}},template:`
1081
1081
  <span class="v-spinner" :data-size="size" :data-tone="tone" role="status"
1082
1082
  :aria-label="label"></span>
1083
- `});ie("v-skeleton",{props:{width:{type:"string",default:"100%"},height:{type:"string",default:"14px"},radius:L,lines:{type:"number",default:1},circle:F},computed:{...be("circle"),count(){let e=Number(this.lines);return Number.isFinite(e)&&e>0?Math.floor(e):1},boxStyle(){let e={width:this.width,height:this.height};return this.radius&&(e.borderRadius=this.radius),te(this.circle)&&(e.width=e.height=this.height),e},lastStyle(){return{...this.boxStyle,width:"62%"}}},template:`
1083
+ `});ie("v-skeleton",{props:{width:{type:"string",default:"100%"},height:{type:"string",default:"14px"},radius:L,lines:{type:"number",default:1},circle:F},computed:{...be("circle"),count(){let e=Number(this.lines);return Number.isFinite(e)&&e>0?Math.floor(e):1},boxStyle(){let e={width:this.width,height:this.height};return this.radius&&(e.borderRadius=this.radius),ne(this.circle)&&(e.width=e.height=this.height),e},lastStyle(){return{...this.boxStyle,width:"62%"}}},template:`
1084
1084
  <div class="v-skeleton-stack" role="status" aria-label="Loading content" aria-busy="true">
1085
1085
  <span class="v-skeleton" v-for="index in count" :key="index" :data-circle="isCircle"
1086
1086
  :style="index === count && count > 1 ? lastStyle : boxStyle"></span>
@@ -1096,12 +1096,12 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
1096
1096
  <div class="v-progress-bar" :style="barStyle"></div>
1097
1097
  </div>
1098
1098
  </div>
1099
- `});ie("v-divider",{props:{label:L,vertical:F,spacing:L},computed:{...be("vertical"),spacingStyle(){return this.spacing?te(this.vertical)?{margin:`0 ${this.spacing}`}:{margin:`${this.spacing} 0`}:{}}},template:`
1099
+ `});ie("v-divider",{props:{label:L,vertical:F,spacing:L},computed:{...be("vertical"),spacingStyle(){return this.spacing?ne(this.vertical)?{margin:`0 ${this.spacing}`}:{margin:`${this.spacing} 0`}:{}}},template:`
1100
1100
  <div class="v-divider" role="separator" :data-vertical="isVertical" :data-label="!!label"
1101
1101
  :aria-orientation="isVertical ? 'vertical' : 'horizontal'" :style="spacingStyle">
1102
1102
  <span v-if="label" v-text="label"></span>
1103
1103
  </div>
1104
- `});function Ey(e){return Array.isArray(e)?e.map(t=>{var r,o,i,s,a,l;if(t!=null&&typeof t=="object"){let c=t,d=String((i=(o=(r=c.key)!=null?r:c.field)!=null?o:c.name)!=null?i:"");return{key:d,label:String((a=(s=c.label)!=null?s:c.title)!=null?a:Or(d)),align:String((l=c.align)!=null?l:"left"),sortable:c.sortable===void 0?!0:te(c.sortable)}}let n=String(t);return{key:n,label:Or(n),align:"left",sortable:!0}}):typeof e!="string"?[]:bo(e).map(t=>{let n=t.split(":").map(o=>o.trim()),r=n[0];return{key:r,label:n[1]||Or(r),align:n[2]||"left",sortable:n[3]!=="fixed"}})}ie("v-table",{inheritScope:!0,props:{columns:{type:"any",default:""},rows:{type:"any",default:""},empty:{type:"string",default:"No records found"},sortable:{type:"any",default:!0},dense:F,striped:F,hover:{type:"any",default:!0},caption:L},state(){return{sortKey:"",sortDir:"asc"}},computed:{...be("dense","striped"),isSortable(){return this.sortable===!0||te(this.sortable)},isHover(){return this.hover===!0||te(this.hover)},cols(){var e;return Ey((e=vr(this,this.columns))!=null?e:this.columns)},allRows(){var t;let e=(t=vr(this,this.rows))!=null?t:this.rows;return Array.isArray(e)?e:[]},sorted(){let e=this.sortKey;if(!e||!this.isSortable)return this.allRows;let t=this.sortDir==="desc"?-1:1;return[...this.allRows].sort((n,r)=>{let o=Hr(n,e),i=Hr(r,e);return o==null&&i==null?0:o==null?-t:i==null?t:typeof o=="number"&&typeof i=="number"?(o-i)*t:String(o).localeCompare(String(i),w.locale,{numeric:!0})*t})}},methods:{cell(e,t){let n=Hr(e,t.key);return n==null?"":String(n)},ariaSort(e){return!this.isSortable||!e.sortable?null:this.sortKey!==e.key?"none":this.sortDir==="asc"?"ascending":"descending"},canSort(e){return this.isSortable&&e.sortable},arrowFor(e){return this.sortKey!==e.key?"chevron-down":this.sortDir==="asc"?"chevron-up":"chevron-down"},toggleSort(e){this.canSort(e)&&(this.sortKey===e.key?this.sortDir=this.sortDir==="asc"?"desc":"asc":(this.sortKey=e.key,this.sortDir="asc"),this.emit("sort",{key:this.sortKey,direction:this.sortDir}))},alignStyle(e){return{textAlign:e.align}}},template:`
1104
+ `});function Ey(e){return Array.isArray(e)?e.map(t=>{var r,o,i,s,a,l;if(t!=null&&typeof t=="object"){let c=t,d=String((i=(o=(r=c.key)!=null?r:c.field)!=null?o:c.name)!=null?i:"");return{key:d,label:String((a=(s=c.label)!=null?s:c.title)!=null?a:Or(d)),align:String((l=c.align)!=null?l:"left"),sortable:c.sortable===void 0?!0:ne(c.sortable)}}let n=String(t);return{key:n,label:Or(n),align:"left",sortable:!0}}):typeof e!="string"?[]:bo(e).map(t=>{let n=t.split(":").map(o=>o.trim()),r=n[0];return{key:r,label:n[1]||Or(r),align:n[2]||"left",sortable:n[3]!=="fixed"}})}ie("v-table",{inheritScope:!0,props:{columns:{type:"any",default:""},rows:{type:"any",default:""},empty:{type:"string",default:"No records found"},sortable:{type:"any",default:!0},dense:F,striped:F,hover:{type:"any",default:!0},caption:L},state(){return{sortKey:"",sortDir:"asc"}},computed:{...be("dense","striped"),isSortable(){return this.sortable===!0||ne(this.sortable)},isHover(){return this.hover===!0||ne(this.hover)},cols(){var e;return Ey((e=vr(this,this.columns))!=null?e:this.columns)},allRows(){var t;let e=(t=vr(this,this.rows))!=null?t:this.rows;return Array.isArray(e)?e:[]},sorted(){let e=this.sortKey;if(!e||!this.isSortable)return this.allRows;let t=this.sortDir==="desc"?-1:1;return[...this.allRows].sort((n,r)=>{let o=Hr(n,e),i=Hr(r,e);return o==null&&i==null?0:o==null?-t:i==null?t:typeof o=="number"&&typeof i=="number"?(o-i)*t:String(o).localeCompare(String(i),w.locale,{numeric:!0})*t})}},methods:{cell(e,t){let n=Hr(e,t.key);return n==null?"":String(n)},ariaSort(e){return!this.isSortable||!e.sortable?null:this.sortKey!==e.key?"none":this.sortDir==="asc"?"ascending":"descending"},canSort(e){return this.isSortable&&e.sortable},arrowFor(e){return this.sortKey!==e.key?"chevron-down":this.sortDir==="asc"?"chevron-up":"chevron-down"},toggleSort(e){this.canSort(e)&&(this.sortKey===e.key?this.sortDir=this.sortDir==="asc"?"desc":"asc":(this.sortKey=e.key,this.sortDir="asc"),this.emit("sort",{key:this.sortKey,direction:this.sortDir}))},alignStyle(e){return{textAlign:e.align}}},template:`
1105
1105
  <div class="v-table-wrap">
1106
1106
  <table class="v-table" :data-dense="isDense" :data-striped="isStriped" :data-hover="isHover">
1107
1107
  <caption class="v-sr" v-if="caption" v-text="caption"></caption>
@@ -1151,7 +1151,7 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
1151
1151
  </li>
1152
1152
  </ol>
1153
1153
  </nav>
1154
- `});ie("v-stat",{props:{label:L,value:L,delta:{type:"any",default:""},hint:L,icon:L,suffix:{type:"string",default:"%"},inverted:F},computed:{...be("inverted"),deltaNumber(){if(this.delta===""||this.delta===null||this.delta===void 0)return null;let e=Number(String(this.delta).replace(",",".").replace("%",""));return Number.isFinite(e)?e:null},hasDelta(){return this.deltaNumber!==null},direction(){let e=this.deltaNumber;if(e===null||e===0)return"flat";let t=e>0;return(te(this.inverted)?!t:t)?"up":"down"},deltaIcon(){let e=this.deltaNumber;return e===null||e===0?"minus":e>0?"arrow-up":"arrow-down"},deltaText(){let e=this.deltaNumber;return e===null?"":`${e>0?"+":""}${e}${this.suffix}`}},template:`
1154
+ `});ie("v-stat",{props:{label:L,value:L,delta:{type:"any",default:""},hint:L,icon:L,suffix:{type:"string",default:"%"},inverted:F},computed:{...be("inverted"),deltaNumber(){if(this.delta===""||this.delta===null||this.delta===void 0)return null;let e=Number(String(this.delta).replace(",",".").replace("%",""));return Number.isFinite(e)?e:null},hasDelta(){return this.deltaNumber!==null},direction(){let e=this.deltaNumber;if(e===null||e===0)return"flat";let t=e>0;return(ne(this.inverted)?!t:t)?"up":"down"},deltaIcon(){let e=this.deltaNumber;return e===null||e===0?"minus":e>0?"arrow-up":"arrow-down"},deltaText(){let e=this.deltaNumber;return e===null?"":`${e>0?"+":""}${e}${this.suffix}`}},template:`
1155
1155
  <div class="v-stat">
1156
1156
  <span class="v-stat-icon" v-if="icon" v-html="svgIcon(icon)" aria-hidden="true"></span>
1157
1157
  <div class="v-stat-body">
@@ -1201,7 +1201,7 @@ ${jl(':root:not([data-theme="light"])',s.vars)}
1201
1201
  <span class="v-step-text"><span class="v-step-label" v-text="step"></span></span>
1202
1202
  </li>
1203
1203
  </ol>
1204
- `});ie("v-rating",{props:{value:{type:"number",default:0},max:{type:"number",default:5},size:{type:"string",default:"md"},label:{type:"string",default:"Rating"},readonly:F,disabled:F,showValue:F,allowClear:{type:"any",default:!0}},state(){return{hovered:0}},computed:{...be("readonly","disabled","showValue"),locked(){return te(this.readonly)||te(this.disabled)},total(){let e=Number(this.max);return Number.isFinite(e)&&e>0?Math.floor(e):5},score(){let e=Number(this.value);return Number.isFinite(e)?Math.min(Math.max(0,e),this.total):0},shown(){return this.hovered>0?this.hovered:this.score},valueText(){return`${this.score} of ${this.total}`}},methods:{isOn(e){return e<=this.shown},pick(e){if(this.locked)return;let n=(this.allowClear===!0||te(this.allowClear))&&this.score===e?0:e;this.value=n,this.hovered=0,go(this.$el),this.emit("change",n)},preview(e){this.locked||(this.hovered=e)},reset(){this.hovered=0},onKey(e){if(this.locked)return;let t=e.key;t==="ArrowRight"||t==="ArrowUp"?(e.preventDefault(),this.pick(Math.min(this.total,this.score+1))):t==="ArrowLeft"||t==="ArrowDown"?(e.preventDefault(),this.pick(Math.max(0,this.score-1))):t==="Home"?(e.preventDefault(),this.pick(1)):t==="End"&&(e.preventDefault(),this.pick(this.total))}},beforeMount(){Qt(this,{get:()=>this.score,set:e=>{let t=Number(e);this.value=Number.isFinite(t)?t:0}})},template:`
1204
+ `});ie("v-rating",{props:{value:{type:"number",default:0},max:{type:"number",default:5},size:{type:"string",default:"md"},label:{type:"string",default:"Rating"},readonly:F,disabled:F,showValue:F,allowClear:{type:"any",default:!0}},state(){return{hovered:0}},computed:{...be("readonly","disabled","showValue"),locked(){return ne(this.readonly)||ne(this.disabled)},total(){let e=Number(this.max);return Number.isFinite(e)&&e>0?Math.floor(e):5},score(){let e=Number(this.value);return Number.isFinite(e)?Math.min(Math.max(0,e),this.total):0},shown(){return this.hovered>0?this.hovered:this.score},valueText(){return`${this.score} of ${this.total}`}},methods:{isOn(e){return e<=this.shown},pick(e){if(this.locked)return;let n=(this.allowClear===!0||ne(this.allowClear))&&this.score===e?0:e;this.value=n,this.hovered=0,go(this.$el),this.emit("change",n)},preview(e){this.locked||(this.hovered=e)},reset(){this.hovered=0},onKey(e){if(this.locked)return;let t=e.key;t==="ArrowRight"||t==="ArrowUp"?(e.preventDefault(),this.pick(Math.min(this.total,this.score+1))):t==="ArrowLeft"||t==="ArrowDown"?(e.preventDefault(),this.pick(Math.max(0,this.score-1))):t==="Home"?(e.preventDefault(),this.pick(1)):t==="End"&&(e.preventDefault(),this.pick(this.total))}},beforeMount(){Qt(this,{get:()=>this.score,set:e=>{let t=Number(e);this.value=Number.isFinite(t)?t:0}})},template:`
1205
1205
  <div class="v-rating" :data-size="size" role="slider" :aria-label="label"
1206
1206
  aria-valuemin="0" :aria-valuemax="total" :aria-valuenow="score" :aria-valuetext="valueText"
1207
1207
  :tabindex="locked ? -1 : 0" :aria-readonly="locked" v-keydown="onKey" v-mouseleave="reset">
@@ -1645,7 +1645,7 @@ textarea.v-dialog-input{min-height:96px;resize:vertical}
1645
1645
  @media (max-width: 640px){
1646
1646
  .v-xray-panel{right:8px;left:8px;width:auto;max-height:60vh}
1647
1647
  }
1648
- `;function M(e,t,n){let r=document.createElement(e);return t&&(r.className=t),n!==void 0&&(r.textContent=n),r}function ys(e){if(!e||!_)return!1;let t=e.nodeType===1?e:e.parentElement;return!!t&&_.root.contains(t)}function Er(e){if(!e)return"(no element)";let t=e.tagName.toLowerCase(),n=e.id?`#${e.id}`:"",r=typeof e.className=="string"&&e.className?`.${e.className.trim().split(/\s+/).slice(0,2).join(".")}`:"";return`${t}${n}${r}`}function qp(e,t=64){var r;if(e===null)return"null";if(e===void 0)return"undefined";let n=typeof e;if(n==="function")return"function()";if(n==="string")return`"${Zo(e,t)}"`;if(n==="number"||n==="boolean"||n==="symbol")return String(e);if(typeof Element!="undefined"&&e instanceof Element)return`<${e.tagName.toLowerCase()}>`;try{return Zo((r=JSON.stringify(e))!=null?r:String(e),t)}catch(o){return String(e)}}function By(e){var t;if(typeof e=="string")return e;try{return(t=JSON.stringify(e))!=null?t:""}catch(n){return String(e)}}function jy(e,t){if(typeof t=="string")return e;try{return JSON.parse(e)}catch(n){return e}}function Vp(e){let t=new Date(e),n=r=>String(r).padStart(2,"0");return`${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}`}function Up(e,t){for(let n of e.effects)t.push(n);for(let n of e.children)Up(n,t)}function sc(e){let t=[];for(let n of cd(e))Up(n,t);return t}function _p(e){let t=sc(e).length;for(let n of Array.from(e.childNodes))n.nodeType===3&&(t+=sc(n).length);return t}function Wp(e){if(!e||!Ye||ys(e))return;let t=Eo.get(e);t&&window.clearTimeout(t),gs.add(e),e.classList.add(ko);let n=window.setTimeout(()=>{e.classList.remove(ko),Eo.delete(e),window.setTimeout(()=>gs.delete(e),0)},460);Eo.set(e,n)}function Ip(e,t){for(let n of sc(e)){if(Jt.has(n))continue;let r=n.fn;Jt.set(n,r),n.fn=()=>(we.effects++,Wp(t),r())}}function qy(){for(let[e,t]of Jt)e.fn=t;Jt.clear()}function Kp(){if(!Ye||typeof document=="undefined")return;for(let[n]of Jt)n.active||Jt.delete(n);let e=document.createTreeWalker(document.body,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT),t=e.currentNode;for(;t;){if(t.nodeType===1){let n=t;if(_&&_.root.contains(n)){t=Vy(e);continue}Ip(n,n)}else t.nodeType===3&&t.parentElement&&Ip(t,t.parentElement);t=e.nextNode()}Wy()}function Vy(e){let t=e.currentNode,n=e.nextSibling();if(n)return n;let r=e.parentNode();for(;r;){if(n=e.nextSibling(),n)return n;r=e.parentNode()}return e.currentNode=t,null}function Uy(){let e=[],t=document.body.querySelectorAll("*");for(let n=0;n<t.length&&e.length<Iy;n++){let r=t[n];_&&_.root.contains(r)||ta(r)&&e.push(r)}return e}function _y(e){return Dn(e).map(t=>t.arg?`${t.name}:${t.arg}`:t.name)}function Wy(){var t;if(!Ye||!_)return;let e=_.overlay;e.textContent="",To.length=0;for(let n of Uy()){let r=M("div","v-xray-box"),o=!!((t=ot(n))!=null&&t.component);r.dataset.kind=o?"component":"directive";let i=M("span","v-xray-tag",_y(n).join(" "));r.appendChild(i),e.appendChild(r),To.push({el:n,box:r})}cc()}function cc(){if(Ye)for(let e of To){if(!e.el.isConnected){e.box.style.display="none";continue}let t=e.el.getBoundingClientRect();if(t.width===0&&t.height===0){e.box.style.display="none";continue}e.box.style.display="block",e.box.style.left=`${t.left}px`,e.box.style.top=`${t.top}px`,e.box.style.width=`${t.width}px`,e.box.style.height=`${t.height}px`}}function Ky(){wr||(wr=requestAnimationFrame(()=>{wr=0,cc()}))}function Yy(e,t=40){let n=new Set,r=[],o=e;for(;o&&r.length<t;){let i=[];try{i=Object.keys(o.data)}catch(s){i=[]}for(let s of i){if(n.has(s))continue;n.add(s);let a;try{a=o.data[s]}catch(l){a="(read error)"}if(r.push([s,a]),r.length>=t)break}o=o.parent}return r}function Xy(e){var s;if(!_)return;let t=_.card;t.textContent="";let n=Ce(e),r=(s=n.owner)==null?void 0:s.component;t.appendChild(M("strong","v-xray-card-title",Er(e))),t.appendChild(M("span","v-xray-section","Directives"));let o=Dn(e);if(!o.length)t.appendChild(M("div","v-xray-val","none"));else for(let a of o){let l=M("div","v-xray-row");l.appendChild(M("span","v-xray-key",a.raw)),l.appendChild(M("span","v-xray-val",a.expression||"(no value)")),t.appendChild(l)}t.appendChild(M("span","v-xray-section","Component")),t.appendChild(M("div","v-xray-val",r?`${r.$name} in ${Er(r.$el)}`:"none")),t.appendChild(M("span","v-xray-section","Scope"));let i=Yy(n);if(!i.length)t.appendChild(M("div","v-xray-val","root scope empty"));else for(let[a,l]of i){let c=M("div","v-xray-row");c.appendChild(M("span","v-xray-key",a)),c.appendChild(M("span","v-xray-val",qp(l))),t.appendChild(c)}t.appendChild(M("span","v-xray-section","Reactivity")),t.appendChild(M("div","v-xray-val",`${_p(e)} effect(s) depend on this element`))}function Gy(e,t){if(!_)return;let n=_.card,r=320,o=Math.min(n.scrollHeight||200,window.innerHeight*.6),i=e+16+r>window.innerWidth?Math.max(8,e-r-16):e+16,s=t+16+o>window.innerHeight?Math.max(8,t-o-16):t+16;n.style.left=`${i}px`,n.style.top=`${s}px`}function zp(e){if(!Ye||!_)return;let t=e.target;if(!t||ys(t)){_.card.dataset.open="0",wo=null;return}let n=t;for(;n&&n!==document.body&&!ta(n);)n=n.parentElement;if(!n||n===document.body){_.card.dataset.open="0",wo=null;return}n!==wo&&(wo=n,Xy(n)),_.card.dataset.open="1",Gy(e.clientX,e.clientY)}function Qy(){let e=new Map,t=document.body.querySelectorAll("*");for(let r=0;r<t.length;r++){let o=t[r];if(_&&_.root.contains(o))continue;let i=ot(o);i&&e.set(o,i)}let n=[];for(let[r,o]of e){let i=0,s=r.parentElement;for(;s;)e.has(s)&&i++,s=s.parentElement;n.push({el:r,scope:o,depth:i})}return n}function bs(e,t,n){let r=M("div","v-xray-row");if(r.appendChild(M("span","v-xray-key",e)),typeof t=="function")return r.appendChild(M("span","v-xray-val","function()")),r;let o=M("input","v-xray-input");return o.type="text",o.value=By(t),o.spellcheck=!1,o.addEventListener("change",()=>{try{n(jy(o.value,t)),o.dataset.error="0"}catch(i){o.dataset.error="1"}}),o.addEventListener("keydown",i=>{i.key==="Enter"&&o.blur()}),r.appendChild(o),r}function Jy(){let e=document.createDocumentFragment(),t=Qy();if(!t.length)return e.appendChild(M("span","v-xray-empty","No scopes on the page. Use v-data or a component.")),e;for(let n of t){let r=M("div","v-xray-group");r.style.marginLeft=`${Math.min(n.depth,4)*8}px`;let o=M("div","v-xray-group-head");o.appendChild(M("span","v-xray-badge",n.scope.component?"component":"scope")),o.appendChild(M("span",void 0,Er(n.el))),o.addEventListener("click",()=>Xp(n.el)),r.appendChild(o);let i=M("div","v-xray-rows"),s=[];try{s=Object.keys(n.scope.data)}catch(a){s=[]}if(!s.length)i.appendChild(M("span","v-xray-empty","no variables"));else for(let a of s){let l;try{l=n.scope.data[a]}catch(c){l=void 0}i.appendChild(bs(a,l,c=>{n.scope.set(a,c)}))}r.appendChild(i),e.appendChild(r)}return e}function Zy(){var n;let e=document.createDocumentFragment(),t=[...At];if(!t.length)return e.appendChild(M("span","v-xray-empty","No components mounted.")),e;for(let r of t){let o=M("div","v-xray-group"),i=M("div","v-xray-group-head");i.appendChild(M("span","v-xray-badge",r.$name)),i.appendChild(M("span",void 0,Er(r.$el))),i.appendChild(M("span","v-xray-badge",`${_p(r.$el)} effects`)),i.lastChild.dataset.tone="mute",i.addEventListener("click",()=>Xp(r.$el)),o.appendChild(i);let s=M("div","v-xray-rows"),a=(n=r.$props)!=null?n:{},l=Object.keys(a);if(l.length){s.appendChild(M("span","v-xray-section","Props"));for(let u of l)s.appendChild(bs(u,a[u],p=>{a[u]=p}))}let c=r.$scope,d=[];try{d=Object.keys(c.data).filter(u=>!l.includes(u))}catch(u){d=[]}if(d.length){s.appendChild(M("span","v-xray-section","State"));for(let u of d){let p;try{p=c.data[u]}catch(f){p=void 0}s.appendChild(bs(u,p,f=>{c.set(u,f)}))}}o.appendChild(s),e.appendChild(o)}return e}function ex(){let e=document.createDocumentFragment(),t=Go();if(!t.length)return e.appendChild(M("span","v-xray-empty","No global stores. Create one with V.store().")),e;for(let n of t){let r=Fn[n],o=M("div","v-xray-group"),i=M("div","v-xray-group-head");i.appendChild(M("span","v-xray-badge","store")),i.firstChild.dataset.tone="alt",i.appendChild(M("span",void 0,n)),o.appendChild(i);let s=M("div","v-xray-rows"),a=r?Object.keys(r):[];if(!a.length)s.appendChild(M("span","v-xray-empty","empty store"));else for(let l of a)s.appendChild(bs(l,r[l],c=>{r[l]=c}));o.appendChild(s),e.appendChild(o)}return e}function Yp(e,t,n,r){let o=M("div","v-xray-log");if(o.appendChild(M("span","v-xray-log-time",e)),o.appendChild(M("span","v-xray-log-main",t)),n!==void 0){let i=M("span",r==="fail"?"v-xray-fail":r==="ok"?"v-xray-ok":void 0,n);o.appendChild(i)}return o}function tx(){let e=document.createDocumentFragment(),t=M("button","v-xray-btn","clear log");if(t.addEventListener("click",()=>{br.length=0,Zt()}),e.appendChild(t),!br.length)return e.appendChild(M("span","v-xray-empty","No events yet. Interact with the page.")),e;for(let n of[...br].reverse())e.appendChild(Yp(Vp(n.at),`${n.type} on ${n.target}`,n.detail||n.source));return e}function nx(){let e=document.createDocumentFragment(),t=M("button","v-xray-btn","clear log");if(t.addEventListener("click",()=>{yr.length=0,Zt()}),e.appendChild(t),!yr.length)return e.appendChild(M("span","v-xray-empty","No requests yet. v-get, v-post and V.http show up here.")),e;for(let n of[...yr].reverse())e.appendChild(Yp(Vp(n.at),`${n.method} ${n.url}`,`${n.status||"---"} ${Math.round(n.duration)}ms`,n.ok?"ok":"fail"));return e}function rx(){let e=document.createDocumentFragment(),t=M("div","v-xray-metric");t.appendChild(M("span","v-xray-metric-value",String(we.updatesPerSecond))),t.appendChild(M("span",void 0,"DOM updates per second")),e.appendChild(t);let n=M("div","v-xray-metric");n.appendChild(M("span","v-xray-metric-value",String(we.effectsPerSecond))),n.appendChild(M("span",void 0,"reactive effects triggered per second")),e.appendChild(n);let r=M("div","v-xray-metric");r.appendChild(M("span","v-xray-metric-value",String(we.effects))),r.appendChild(M("span",void 0,"effects triggered since x-ray was enabled")),e.appendChild(r);let o=M("div","v-xray-chart"),i=Math.max(1,...we.history.map(s=>Math.max(s.effects,s.updates)));for(let s of we.history){let a=M("div","v-xray-bar"),l=Math.max(s.effects,s.updates);a.style.height=`${Math.max(2,Math.round(l/i*46))}px`,a.title=`${s.effects} effects, ${s.updates} updates`,o.appendChild(a)}return e.appendChild(o),e.appendChild(M("span","v-xray-hint",`${Jt.size} effects instrumented, peak of ${i} per second`)),e}var ox=[{id:"estado",label:"Estado"},{id:"componentes",label:"Componentes"},{id:"stores",label:"Stores"},{id:"eventos",label:"Eventos"},{id:"rede",label:"Rede"},{id:"desempenho",label:"Desempenho"}];function Zt(){if(!_)return;let e=document.activeElement;if(!(e instanceof HTMLInputElement&&_.body.contains(e))){switch(_.body.textContent="",nt){case"estado":_.body.appendChild(Jy());break;case"componentes":_.body.appendChild(Zy());break;case"stores":_.body.appendChild(ex());break;case"eventos":_.body.appendChild(tx());break;case"rede":_.body.appendChild(nx());break;case"desempenho":_.body.appendChild(rx());break}for(let t of Array.from(_.tabs.children)){let n=t;n.dataset.active=n.dataset.id===nt?"1":"0"}_.status.textContent=`${To.length} elements with directives, ${At.size} components, ${Jt.size} effects observed`}}function Xp(e){e.scrollIntoView({behavior:"smooth",block:"center"}),Wp(e)}function ix(){let e=M("div","v-xray-root");e.setAttribute(`${w.prefix}ignore`,""),e.setAttribute("role","complementary"),e.setAttribute("aria-label","Voodoo x-ray inspector"),Tn!=="auto"&&(e.dataset.vXrayTheme=Tn);let t=M("div","v-xray-overlay");e.appendChild(t);let n=M("div","v-xray-card");n.dataset.open="0",e.appendChild(n);let r=M("div","v-xray-panel"),o=M("div","v-xray-header"),i=M("div","v-xray-brand");i.appendChild(M("span","v-xray-dot")),i.appendChild(document.createTextNode("Voodoo x-ray")),o.appendChild(i);let s=M("button","v-xray-btn","theme");s.addEventListener("click",()=>{Tn=Tn==="auto"?"dark":Tn==="dark"?"light":"auto",Tn==="auto"?delete e.dataset.vXrayTheme:e.dataset.vXrayTheme=Tn}),o.appendChild(s);let a=M("button","v-xray-btn","close");a.addEventListener("click",()=>Gp()),o.appendChild(a),r.appendChild(o);let l=M("div","v-xray-tabs");for(let u of ox){let p=M("button","v-xray-tab",u.label);p.dataset.id=u.id,p.dataset.active=u.id===nt?"1":"0",p.addEventListener("click",()=>{nt=u.id,Zt()}),l.appendChild(p)}r.appendChild(l);let c=M("div","v-xray-body");r.appendChild(c);let d=M("div","v-xray-status","starting");return r.appendChild(d),e.appendChild(r),document.body.appendChild(e),{root:e,overlay:t,card:n,panel:r,tabs:l,body:c,status:d}}var sx=["click","dblclick","submit","input","change","keydown","keyup","focus","blur","contextmenu","drop","paste"];function Bp(e){br.push(e),br.length>jp&&br.shift(),nt==="eventos"&&Zt()}function ic(e){yr.push(e),yr.length>jp&&yr.shift(),nt==="rede"&&Zt()}function ax(e,t){let n=e;for(let r=0;n&&r<6;r++){for(let o of Dn(n))if(o.name===t||o.name==="on"&&o.arg===t)return n;n=n.parentElement}return null}function lx(){let e=new Set(sx),t=document.body.querySelectorAll("*");for(let n=0;n<t.length;n++){let r=t[n];if(!(_&&_.root.contains(r)))for(let o of Dn(r))o.name==="on"&&o.arg&&e.add(o.arg)}return[...e]}function cx(){let e=t=>{if(!Ye)return;let n=t.target;if(!n||n.nodeType!==1||ys(n))return;let r=ax(n,t.type),o=t.__voodoo===!0;!r&&!o||Bp({at:Date.now(),type:t.type,target:Er(r!=null?r:n),detail:o?"component emit":"",source:o?"component":"v-on"})};for(let t of lx())document.addEventListener(t,e,!0),xt.push(()=>document.removeEventListener(t,e,!0));xt.push(ze.on("event",t=>{var n,r;Bp({at:Date.now(),type:t.type,target:Er((n=t.el)!=null?n:null),detail:qp(t.detail),source:(r=t.source)!=null?r:"bus"})}))}function dx(){xt.push(he.interceptors.request.use(e=>(oc.set(e,performance.now()),e))),xt.push(he.interceptors.response.use(e=>{var n,r;let t=(n=oc.get(e.config))!=null?n:performance.now();return ic({at:Date.now(),method:((r=e.config.method)!=null?r:"GET").toUpperCase(),url:e.config.url,status:e.status,ok:e.ok,duration:performance.now()-t,source:"http"}),e})),xt.push(he.interceptors.error.use(e=>{var r,o,i;let t=e.config,n=t&&(r=oc.get(t))!=null?r:performance.now();return ic({at:Date.now(),method:((o=t==null?void 0:t.method)!=null?o:"GET").toUpperCase(),url:(i=t==null?void 0:t.url)!=null?i:"(unknown)",status:e.status,ok:!1,duration:performance.now()-n,source:"http"}),e})),xt.push(ze.on("network",e=>{var t,n,r,o,i;ic({at:Date.now(),method:((t=e.method)!=null?t:"GET").toUpperCase(),url:e.url,status:(n=e.status)!=null?n:0,ok:(r=e.ok)!=null?r:!e.error,duration:(o=e.duration)!=null?o:0,source:(i=e.source)!=null?i:"bus"})}))}var gr=null;function ux(){gr=new MutationObserver(e=>{let t=!1;for(let n of e){let r=n.target;ys(r)||n.type==="attributes"&&n.attributeName==="class"&&r.nodeType===1&&gs.has(r)||(we.mutations++,n.type==="childList"&&n.addedNodes.length&&(t=!0))}t&&!xr&&(xr=window.setTimeout(()=>{xr=0,Kp()},250))}),gr.observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0})}function fx(){hs=window.setInterval(()=>{we.effectsPerSecond=we.effects-ac,we.updatesPerSecond=we.mutations-lc,ac=we.effects,lc=we.mutations,we.history.push({effects:we.effectsPerSecond,updates:we.updatesPerSecond}),we.history.length>40&&we.history.shift(),nt==="desempenho"&&Zt()},1e3),vs=window.setInterval(()=>{cc(),(nt==="estado"||nt==="componentes"||nt==="stores")&&Zt()},700)}var ac=0,lc=0;function px(){if(Ye||typeof document=="undefined"||!document.body)return;Ye=!0,ge(),oe("xray",zy),_=ix(),nt=nt||"estado",we.effects=0,we.mutations=0,ac=0,lc=0,we.history.length=0,Kp(),cx(),dx(),ux(),fx();let e=()=>Ky();window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),document.addEventListener("mousemove",zp,!0),xt.push(()=>window.removeEventListener("scroll",e,!0)),xt.push(()=>window.removeEventListener("resize",e)),xt.push(()=>document.removeEventListener("mousemove",zp,!0)),Zt()}function Gp(){if(Ye){Ye=!1;for(let e of xt.splice(0))try{e()}catch(t){}gr==null||gr.disconnect(),gr=null,hs&&window.clearInterval(hs),vs&&window.clearInterval(vs),xr&&window.clearTimeout(xr),wr&&cancelAnimationFrame(wr),hs=vs=xr=wr=0;for(let[e,t]of Eo)window.clearTimeout(t),e.classList.remove(ko);Eo.clear(),gs.clear(),qy(),To.length=0,wo=null,_==null||_.root.remove(),_=null}}function Qp(){return Ye}function mx(e){let t=e.toLowerCase().split("+").map(o=>o.trim()).filter(Boolean);if(!t.length)return null;let n=t.pop(),r={ctrl:!1,alt:!1,shift:!1,meta:!1,code:/^f\d{1,2}$/.test(n)?n.toUpperCase():n.length===1&&n>="a"&&n<="z"?`Key${n.toUpperCase()}`:n.length===1&&n>="0"&&n<="9"?`Digit${n}`:n.charAt(0).toUpperCase()+n.slice(1)};for(let o of t)if(o==="ctrl"||o==="control")r.ctrl=!0;else if(o==="alt"||o==="option")r.alt=!0;else if(o==="shift")r.shift=!0;else if(o==="meta"||o==="cmd"||o==="command"||o==="win")r.meta=!0;else return null;return r}function dc(){Fp||typeof document=="undefined"||(Fp=!0,document.addEventListener("keydown",e=>{let t=w.xrayShortcut;if(t===!1)return;let n=mx(typeof t=="string"?t:"ctrl+shift+f2");n&&(e.ctrlKey!==n.ctrl||e.altKey!==n.alt||e.shiftKey!==n.shift||e.metaKey!==n.meta||e.code!==n.code&&e.key.toUpperCase()!==n.code.replace(/^Key/,"")||(e.preventDefault(),Lo()))}))}function Lo(e){return dc(),(e!=null?e:!Ye)?px():Gp(),Ye}me();ce();var vx=new Set(["SCRIPT","STYLE","PRE","CODE","SAMP","KBD","TEXTAREA","TEMPLATE","NOSCRIPT"]);H("$__jsx",e=>e);gd((e,t)=>{t?Mo():xs(e)});var Jp=Symbol("voodoo.jsx.template");function hx(e){return typeof e=="object"&&e!==null&&Jp in e}function gx(e,t){var p;let n=[],r=[],o="",i=0,s=null,a=!1,l=e,c=t,d=!1,u=null;for(;l;){if(l.nodeType===Node.TEXT_NODE){let f=(p=l.textContent)!=null?p:"";for(;c<f.length;c++){let m=f[c];if(a){a=!1,o+=m;continue}if(s){m==="\\"?a=!0:m===s&&(s=null),o+=m;continue}if(m==='"'||m==="'"||m==="`"){s=m,o+=m;continue}if(m==="{"){i++,i>1&&(o+=m);continue}if(m==="}"){if(i--,i===0){c++,d=!0;break}o+=m;continue}o+=m}if(r.push(l),d){u={node:l,offset:c};break}}else if(l.nodeType===Node.ELEMENT_NODE){if(i===0)return null;o+=`$t(${n.length}, $__jsx)`,n.push(l),r.push(l)}else r.push(l);c=0,l=l.nextSibling}return d?{source:o,templates:n,nodes:r,tail:u}:null}function bx(e){let t=e.source.match(/\(\s*\)/g);if(!t)return!1;let n=e.nodes[0],r=e.nodes[e.nodes.length-1],o=[r==null?void 0:r.nextSibling,n==null?void 0:n.previousSibling].map(l=>{var d;let c=l!=null?l:null;for(;c&&c.nodeType===Node.TEXT_NODE&&!((d=c.textContent)!=null?d:"").trim();)c=c===(r==null?void 0:r.nextSibling)?c.nextSibling:c.previousSibling;return c&&c.nodeType===Node.ELEMENT_NODE?c:null}).find(l=>(l==null?void 0:l.tagName)==="TABLE");if(!o)return!1;let i=o.querySelector("tbody");if(!i)return!1;let s=Array.from(i.children).filter(l=>l.tagName==="TR");if(s.length!==t.length)return!1;let a=0;return e.source=e.source.replace(/\(\s*\)/g,()=>`($t(${a++}, $__jsx))`),e.templates=s,e.host=i,e.nodes.push(...s),!0}function Zp(e,t,n,r){var o;if(!(e==null||e===!1||e===!0)){if(Array.isArray(e)){for(let i of e)Zp(i,t,n,r);return}if(hx(e)){let i=e,a=t[i.index].cloneNode(!0),l=(o=i.scope)!=null?o:n;fc(a,l),Mo(),ee(a,l),r.push(a);return}r.push(document.createTextNode(String(e)))}}function fc(e,t){var o,i,s;if(vx.has(e.tagName))return;let n=t!=null?t:Ce(e),r=e.firstChild;for(;r;){let a=r.nextSibling;if(r.nodeType===Node.ELEMENT_NODE){fc(r,(o=ot(r))!=null?o:n),r=a;continue}if(r.nodeType!==Node.TEXT_NODE){r=a;continue}let c=((i=r.textContent)!=null?i:"").indexOf("{");if(c<0){r=a;continue}let d=gx(r,c);if(!d){r=a;continue}if(d.templates.length===0&&!bx(d)){r=a;continue}yx(e,d,n),r=(s=d.nodes[d.nodes.length-1])==null?void 0:s.nextSibling}}var uc=[];function yx(e,t,n){var p,f;let{source:r,templates:o,nodes:i,tail:s}=t,a;try{a=_e(r)}catch(m){w.devtools&&console.warn(`[Voodoo] could not parse the inline expression: ${r}`,m);return}s&&s.offset<((p=s.node.textContent)!=null?p:"").length&&s.node.splitText(s.offset);let l=(f=t.host)!=null?f:e,c=document.createComment("v-jsx");l.insertBefore(c,t.host?t.host.firstChild:i[0]);for(let m of i)m.remove();let d=[];uc.push(()=>u());function u(){let m=Ce(c),v=(m===We&&n?n:m).child({$t:(b,x)=>({[Jp]:!0,index:b,scope:x})}),g=Fe(()=>{let b=Fo(N(a,v)),x=[];Zp(b,o,v,x);for(let T of d)T.remove();d=x;for(let T of x)l.insertBefore(T,c)});Xe(c,()=>{g.effect.stop();for(let b of d)b.remove()})}}function xx(e=document.body){var t;for(let n of Array.from(e.childNodes)){if(n.nodeType!==Node.TEXT_NODE)continue;let r=(t=n.textContent)!=null?t:"",o=r.indexOf("{");if(o<0)continue;let i=wx(r,o);if(i<0)continue;let s=r.slice(o,i+1);if(!/\b(?:const|let|var)\s/.test(s))continue;let a=s.slice(1,-1).replace(/\b(?:const|let|var)\s+/g,""),l=Y({});try{N(_e(a),new Lt(l))}catch(c){return w.devtools&&console.warn("[Voodoo] could not read the declaration block",c),null}return n.textContent=r.slice(0,o)+r.slice(i+1),l}return null}function wx(e,t){let n=0,r=null,o=!1;for(let i=t;i<e.length;i++){let s=e[i];if(o){o=!1;continue}if(r){s==="\\"?o=!0:s===r&&(r=null);continue}if(s==='"'||s==="'"||s==="`")r=s;else if(s==="{")n++;else if(s==="}"&&--n===0)return i}return-1}function Mo(){let e=uc.splice(0,uc.length);for(let t of e)try{t()}catch(n){console.error("[Voodoo] a JSX region failed to render",n)}}function xs(e=document.body){let t=xx(e);t&&Object.assign(We.data,t),fc(e,Ce(e))}function em(e=document.body){xs(e),Mo()}Ne();var nm="voodoo:devtools:widget-position",pc="voodoo:devtools:widget-hidden",Ex=4,ne=null,kr=!1,mc=0,ws=0,So=[],kx=`
1648
+ `;function M(e,t,n){let r=document.createElement(e);return t&&(r.className=t),n!==void 0&&(r.textContent=n),r}function ys(e){if(!e||!_)return!1;let t=e.nodeType===1?e:e.parentElement;return!!t&&_.root.contains(t)}function Er(e){if(!e)return"(no element)";let t=e.tagName.toLowerCase(),n=e.id?`#${e.id}`:"",r=typeof e.className=="string"&&e.className?`.${e.className.trim().split(/\s+/).slice(0,2).join(".")}`:"";return`${t}${n}${r}`}function qp(e,t=64){var r;if(e===null)return"null";if(e===void 0)return"undefined";let n=typeof e;if(n==="function")return"function()";if(n==="string")return`"${Zo(e,t)}"`;if(n==="number"||n==="boolean"||n==="symbol")return String(e);if(typeof Element!="undefined"&&e instanceof Element)return`<${e.tagName.toLowerCase()}>`;try{return Zo((r=JSON.stringify(e))!=null?r:String(e),t)}catch(o){return String(e)}}function By(e){var t;if(typeof e=="string")return e;try{return(t=JSON.stringify(e))!=null?t:""}catch(n){return String(e)}}function jy(e,t){if(typeof t=="string")return e;try{return JSON.parse(e)}catch(n){return e}}function Vp(e){let t=new Date(e),n=r=>String(r).padStart(2,"0");return`${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}`}function Up(e,t){for(let n of e.effects)t.push(n);for(let n of e.children)Up(n,t)}function sc(e){let t=[];for(let n of cd(e))Up(n,t);return t}function _p(e){let t=sc(e).length;for(let n of Array.from(e.childNodes))n.nodeType===3&&(t+=sc(n).length);return t}function Wp(e){if(!e||!Ye||ys(e))return;let t=Eo.get(e);t&&window.clearTimeout(t),gs.add(e),e.classList.add(ko);let n=window.setTimeout(()=>{e.classList.remove(ko),Eo.delete(e),window.setTimeout(()=>gs.delete(e),0)},460);Eo.set(e,n)}function Ip(e,t){for(let n of sc(e)){if(Jt.has(n))continue;let r=n.fn;Jt.set(n,r),n.fn=()=>(we.effects++,Wp(t),r())}}function qy(){for(let[e,t]of Jt)e.fn=t;Jt.clear()}function Kp(){if(!Ye||typeof document=="undefined")return;for(let[n]of Jt)n.active||Jt.delete(n);let e=document.createTreeWalker(document.body,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT),t=e.currentNode;for(;t;){if(t.nodeType===1){let n=t;if(_&&_.root.contains(n)){t=Vy(e);continue}Ip(n,n)}else t.nodeType===3&&t.parentElement&&Ip(t,t.parentElement);t=e.nextNode()}Wy()}function Vy(e){let t=e.currentNode,n=e.nextSibling();if(n)return n;let r=e.parentNode();for(;r;){if(n=e.nextSibling(),n)return n;r=e.parentNode()}return e.currentNode=t,null}function Uy(){let e=[],t=document.body.querySelectorAll("*");for(let n=0;n<t.length&&e.length<Iy;n++){let r=t[n];_&&_.root.contains(r)||ta(r)&&e.push(r)}return e}function _y(e){return Dn(e).map(t=>t.arg?`${t.name}:${t.arg}`:t.name)}function Wy(){var t;if(!Ye||!_)return;let e=_.overlay;e.textContent="",To.length=0;for(let n of Uy()){let r=M("div","v-xray-box"),o=!!((t=ot(n))!=null&&t.component);r.dataset.kind=o?"component":"directive";let i=M("span","v-xray-tag",_y(n).join(" "));r.appendChild(i),e.appendChild(r),To.push({el:n,box:r})}cc()}function cc(){if(Ye)for(let e of To){if(!e.el.isConnected){e.box.style.display="none";continue}let t=e.el.getBoundingClientRect();if(t.width===0&&t.height===0){e.box.style.display="none";continue}e.box.style.display="block",e.box.style.left=`${t.left}px`,e.box.style.top=`${t.top}px`,e.box.style.width=`${t.width}px`,e.box.style.height=`${t.height}px`}}function Ky(){wr||(wr=requestAnimationFrame(()=>{wr=0,cc()}))}function Yy(e,t=40){let n=new Set,r=[],o=e;for(;o&&r.length<t;){let i=[];try{i=Object.keys(o.data)}catch(s){i=[]}for(let s of i){if(n.has(s))continue;n.add(s);let a;try{a=o.data[s]}catch(l){a="(read error)"}if(r.push([s,a]),r.length>=t)break}o=o.parent}return r}function Xy(e){var s;if(!_)return;let t=_.card;t.textContent="";let n=Ce(e),r=(s=n.owner)==null?void 0:s.component;t.appendChild(M("strong","v-xray-card-title",Er(e))),t.appendChild(M("span","v-xray-section","Directives"));let o=Dn(e);if(!o.length)t.appendChild(M("div","v-xray-val","none"));else for(let a of o){let l=M("div","v-xray-row");l.appendChild(M("span","v-xray-key",a.raw)),l.appendChild(M("span","v-xray-val",a.expression||"(no value)")),t.appendChild(l)}t.appendChild(M("span","v-xray-section","Component")),t.appendChild(M("div","v-xray-val",r?`${r.$name} in ${Er(r.$el)}`:"none")),t.appendChild(M("span","v-xray-section","Scope"));let i=Yy(n);if(!i.length)t.appendChild(M("div","v-xray-val","root scope empty"));else for(let[a,l]of i){let c=M("div","v-xray-row");c.appendChild(M("span","v-xray-key",a)),c.appendChild(M("span","v-xray-val",qp(l))),t.appendChild(c)}t.appendChild(M("span","v-xray-section","Reactivity")),t.appendChild(M("div","v-xray-val",`${_p(e)} effect(s) depend on this element`))}function Gy(e,t){if(!_)return;let n=_.card,r=320,o=Math.min(n.scrollHeight||200,window.innerHeight*.6),i=e+16+r>window.innerWidth?Math.max(8,e-r-16):e+16,s=t+16+o>window.innerHeight?Math.max(8,t-o-16):t+16;n.style.left=`${i}px`,n.style.top=`${s}px`}function zp(e){if(!Ye||!_)return;let t=e.target;if(!t||ys(t)){_.card.dataset.open="0",wo=null;return}let n=t;for(;n&&n!==document.body&&!ta(n);)n=n.parentElement;if(!n||n===document.body){_.card.dataset.open="0",wo=null;return}n!==wo&&(wo=n,Xy(n)),_.card.dataset.open="1",Gy(e.clientX,e.clientY)}function Qy(){let e=new Map,t=document.body.querySelectorAll("*");for(let r=0;r<t.length;r++){let o=t[r];if(_&&_.root.contains(o))continue;let i=ot(o);i&&e.set(o,i)}let n=[];for(let[r,o]of e){let i=0,s=r.parentElement;for(;s;)e.has(s)&&i++,s=s.parentElement;n.push({el:r,scope:o,depth:i})}return n}function bs(e,t,n){let r=M("div","v-xray-row");if(r.appendChild(M("span","v-xray-key",e)),typeof t=="function")return r.appendChild(M("span","v-xray-val","function()")),r;let o=M("input","v-xray-input");return o.type="text",o.value=By(t),o.spellcheck=!1,o.addEventListener("change",()=>{try{n(jy(o.value,t)),o.dataset.error="0"}catch(i){o.dataset.error="1"}}),o.addEventListener("keydown",i=>{i.key==="Enter"&&o.blur()}),r.appendChild(o),r}function Jy(){let e=document.createDocumentFragment(),t=Qy();if(!t.length)return e.appendChild(M("span","v-xray-empty","No scopes on the page. Use v-data or a component.")),e;for(let n of t){let r=M("div","v-xray-group");r.style.marginLeft=`${Math.min(n.depth,4)*8}px`;let o=M("div","v-xray-group-head");o.appendChild(M("span","v-xray-badge",n.scope.component?"component":"scope")),o.appendChild(M("span",void 0,Er(n.el))),o.addEventListener("click",()=>Xp(n.el)),r.appendChild(o);let i=M("div","v-xray-rows"),s=[];try{s=Object.keys(n.scope.data)}catch(a){s=[]}if(!s.length)i.appendChild(M("span","v-xray-empty","no variables"));else for(let a of s){let l;try{l=n.scope.data[a]}catch(c){l=void 0}i.appendChild(bs(a,l,c=>{n.scope.set(a,c)}))}r.appendChild(i),e.appendChild(r)}return e}function Zy(){var n;let e=document.createDocumentFragment(),t=[...At];if(!t.length)return e.appendChild(M("span","v-xray-empty","No components mounted.")),e;for(let r of t){let o=M("div","v-xray-group"),i=M("div","v-xray-group-head");i.appendChild(M("span","v-xray-badge",r.$name)),i.appendChild(M("span",void 0,Er(r.$el))),i.appendChild(M("span","v-xray-badge",`${_p(r.$el)} effects`)),i.lastChild.dataset.tone="mute",i.addEventListener("click",()=>Xp(r.$el)),o.appendChild(i);let s=M("div","v-xray-rows"),a=(n=r.$props)!=null?n:{},l=Object.keys(a);if(l.length){s.appendChild(M("span","v-xray-section","Props"));for(let u of l)s.appendChild(bs(u,a[u],p=>{a[u]=p}))}let c=r.$scope,d=[];try{d=Object.keys(c.data).filter(u=>!l.includes(u))}catch(u){d=[]}if(d.length){s.appendChild(M("span","v-xray-section","State"));for(let u of d){let p;try{p=c.data[u]}catch(f){p=void 0}s.appendChild(bs(u,p,f=>{c.set(u,f)}))}}o.appendChild(s),e.appendChild(o)}return e}function ex(){let e=document.createDocumentFragment(),t=Go();if(!t.length)return e.appendChild(M("span","v-xray-empty","No global stores. Create one with V.store().")),e;for(let n of t){let r=Fn[n],o=M("div","v-xray-group"),i=M("div","v-xray-group-head");i.appendChild(M("span","v-xray-badge","store")),i.firstChild.dataset.tone="alt",i.appendChild(M("span",void 0,n)),o.appendChild(i);let s=M("div","v-xray-rows"),a=r?Object.keys(r):[];if(!a.length)s.appendChild(M("span","v-xray-empty","empty store"));else for(let l of a)s.appendChild(bs(l,r[l],c=>{r[l]=c}));o.appendChild(s),e.appendChild(o)}return e}function Yp(e,t,n,r){let o=M("div","v-xray-log");if(o.appendChild(M("span","v-xray-log-time",e)),o.appendChild(M("span","v-xray-log-main",t)),n!==void 0){let i=M("span",r==="fail"?"v-xray-fail":r==="ok"?"v-xray-ok":void 0,n);o.appendChild(i)}return o}function tx(){let e=document.createDocumentFragment(),t=M("button","v-xray-btn","clear log");if(t.addEventListener("click",()=>{br.length=0,Zt()}),e.appendChild(t),!br.length)return e.appendChild(M("span","v-xray-empty","No events yet. Interact with the page.")),e;for(let n of[...br].reverse())e.appendChild(Yp(Vp(n.at),`${n.type} on ${n.target}`,n.detail||n.source));return e}function nx(){let e=document.createDocumentFragment(),t=M("button","v-xray-btn","clear log");if(t.addEventListener("click",()=>{yr.length=0,Zt()}),e.appendChild(t),!yr.length)return e.appendChild(M("span","v-xray-empty","No requests yet. v-get, v-post and V.http show up here.")),e;for(let n of[...yr].reverse())e.appendChild(Yp(Vp(n.at),`${n.method} ${n.url}`,`${n.status||"---"} ${Math.round(n.duration)}ms`,n.ok?"ok":"fail"));return e}function rx(){let e=document.createDocumentFragment(),t=M("div","v-xray-metric");t.appendChild(M("span","v-xray-metric-value",String(we.updatesPerSecond))),t.appendChild(M("span",void 0,"DOM updates per second")),e.appendChild(t);let n=M("div","v-xray-metric");n.appendChild(M("span","v-xray-metric-value",String(we.effectsPerSecond))),n.appendChild(M("span",void 0,"reactive effects triggered per second")),e.appendChild(n);let r=M("div","v-xray-metric");r.appendChild(M("span","v-xray-metric-value",String(we.effects))),r.appendChild(M("span",void 0,"effects triggered since x-ray was enabled")),e.appendChild(r);let o=M("div","v-xray-chart"),i=Math.max(1,...we.history.map(s=>Math.max(s.effects,s.updates)));for(let s of we.history){let a=M("div","v-xray-bar"),l=Math.max(s.effects,s.updates);a.style.height=`${Math.max(2,Math.round(l/i*46))}px`,a.title=`${s.effects} effects, ${s.updates} updates`,o.appendChild(a)}return e.appendChild(o),e.appendChild(M("span","v-xray-hint",`${Jt.size} effects instrumented, peak of ${i} per second`)),e}var ox=[{id:"estado",label:"Estado"},{id:"componentes",label:"Componentes"},{id:"stores",label:"Stores"},{id:"eventos",label:"Eventos"},{id:"rede",label:"Rede"},{id:"desempenho",label:"Desempenho"}];function Zt(){if(!_)return;let e=document.activeElement;if(!(e instanceof HTMLInputElement&&_.body.contains(e))){switch(_.body.textContent="",nt){case"estado":_.body.appendChild(Jy());break;case"componentes":_.body.appendChild(Zy());break;case"stores":_.body.appendChild(ex());break;case"eventos":_.body.appendChild(tx());break;case"rede":_.body.appendChild(nx());break;case"desempenho":_.body.appendChild(rx());break}for(let t of Array.from(_.tabs.children)){let n=t;n.dataset.active=n.dataset.id===nt?"1":"0"}_.status.textContent=`${To.length} elements with directives, ${At.size} components, ${Jt.size} effects observed`}}function Xp(e){e.scrollIntoView({behavior:"smooth",block:"center"}),Wp(e)}function ix(){let e=M("div","v-xray-root");e.setAttribute(`${w.prefix}ignore`,""),e.setAttribute("role","complementary"),e.setAttribute("aria-label","Voodoo x-ray inspector"),Tn!=="auto"&&(e.dataset.vXrayTheme=Tn);let t=M("div","v-xray-overlay");e.appendChild(t);let n=M("div","v-xray-card");n.dataset.open="0",e.appendChild(n);let r=M("div","v-xray-panel"),o=M("div","v-xray-header"),i=M("div","v-xray-brand");i.appendChild(M("span","v-xray-dot")),i.appendChild(document.createTextNode("Voodoo x-ray")),o.appendChild(i);let s=M("button","v-xray-btn","theme");s.addEventListener("click",()=>{Tn=Tn==="auto"?"dark":Tn==="dark"?"light":"auto",Tn==="auto"?delete e.dataset.vXrayTheme:e.dataset.vXrayTheme=Tn}),o.appendChild(s);let a=M("button","v-xray-btn","close");a.addEventListener("click",()=>Gp()),o.appendChild(a),r.appendChild(o);let l=M("div","v-xray-tabs");for(let u of ox){let p=M("button","v-xray-tab",u.label);p.dataset.id=u.id,p.dataset.active=u.id===nt?"1":"0",p.addEventListener("click",()=>{nt=u.id,Zt()}),l.appendChild(p)}r.appendChild(l);let c=M("div","v-xray-body");r.appendChild(c);let d=M("div","v-xray-status","starting");return r.appendChild(d),e.appendChild(r),document.body.appendChild(e),{root:e,overlay:t,card:n,panel:r,tabs:l,body:c,status:d}}var sx=["click","dblclick","submit","input","change","keydown","keyup","focus","blur","contextmenu","drop","paste"];function Bp(e){br.push(e),br.length>jp&&br.shift(),nt==="eventos"&&Zt()}function ic(e){yr.push(e),yr.length>jp&&yr.shift(),nt==="rede"&&Zt()}function ax(e,t){let n=e;for(let r=0;n&&r<6;r++){for(let o of Dn(n))if(o.name===t||o.name==="on"&&o.arg===t)return n;n=n.parentElement}return null}function lx(){let e=new Set(sx),t=document.body.querySelectorAll("*");for(let n=0;n<t.length;n++){let r=t[n];if(!(_&&_.root.contains(r)))for(let o of Dn(r))o.name==="on"&&o.arg&&e.add(o.arg)}return[...e]}function cx(){let e=t=>{if(!Ye)return;let n=t.target;if(!n||n.nodeType!==1||ys(n))return;let r=ax(n,t.type),o=t.__voodoo===!0;!r&&!o||Bp({at:Date.now(),type:t.type,target:Er(r!=null?r:n),detail:o?"component emit":"",source:o?"component":"v-on"})};for(let t of lx())document.addEventListener(t,e,!0),xt.push(()=>document.removeEventListener(t,e,!0));xt.push(ze.on("event",t=>{var n,r;Bp({at:Date.now(),type:t.type,target:Er((n=t.el)!=null?n:null),detail:qp(t.detail),source:(r=t.source)!=null?r:"bus"})}))}function dx(){xt.push(he.interceptors.request.use(e=>(oc.set(e,performance.now()),e))),xt.push(he.interceptors.response.use(e=>{var n,r;let t=(n=oc.get(e.config))!=null?n:performance.now();return ic({at:Date.now(),method:((r=e.config.method)!=null?r:"GET").toUpperCase(),url:e.config.url,status:e.status,ok:e.ok,duration:performance.now()-t,source:"http"}),e})),xt.push(he.interceptors.error.use(e=>{var r,o,i;let t=e.config,n=t&&(r=oc.get(t))!=null?r:performance.now();return ic({at:Date.now(),method:((o=t==null?void 0:t.method)!=null?o:"GET").toUpperCase(),url:(i=t==null?void 0:t.url)!=null?i:"(unknown)",status:e.status,ok:!1,duration:performance.now()-n,source:"http"}),e})),xt.push(ze.on("network",e=>{var t,n,r,o,i;ic({at:Date.now(),method:((t=e.method)!=null?t:"GET").toUpperCase(),url:e.url,status:(n=e.status)!=null?n:0,ok:(r=e.ok)!=null?r:!e.error,duration:(o=e.duration)!=null?o:0,source:(i=e.source)!=null?i:"bus"})}))}var gr=null;function ux(){gr=new MutationObserver(e=>{let t=!1;for(let n of e){let r=n.target;ys(r)||n.type==="attributes"&&n.attributeName==="class"&&r.nodeType===1&&gs.has(r)||(we.mutations++,n.type==="childList"&&n.addedNodes.length&&(t=!0))}t&&!xr&&(xr=window.setTimeout(()=>{xr=0,Kp()},250))}),gr.observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0})}function fx(){hs=window.setInterval(()=>{we.effectsPerSecond=we.effects-ac,we.updatesPerSecond=we.mutations-lc,ac=we.effects,lc=we.mutations,we.history.push({effects:we.effectsPerSecond,updates:we.updatesPerSecond}),we.history.length>40&&we.history.shift(),nt==="desempenho"&&Zt()},1e3),vs=window.setInterval(()=>{cc(),(nt==="estado"||nt==="componentes"||nt==="stores")&&Zt()},700)}var ac=0,lc=0;function px(){if(Ye||typeof document=="undefined"||!document.body)return;Ye=!0,ge(),oe("xray",zy),_=ix(),nt=nt||"estado",we.effects=0,we.mutations=0,ac=0,lc=0,we.history.length=0,Kp(),cx(),dx(),ux(),fx();let e=()=>Ky();window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),document.addEventListener("mousemove",zp,!0),xt.push(()=>window.removeEventListener("scroll",e,!0)),xt.push(()=>window.removeEventListener("resize",e)),xt.push(()=>document.removeEventListener("mousemove",zp,!0)),Zt()}function Gp(){if(Ye){Ye=!1;for(let e of xt.splice(0))try{e()}catch(t){}gr==null||gr.disconnect(),gr=null,hs&&window.clearInterval(hs),vs&&window.clearInterval(vs),xr&&window.clearTimeout(xr),wr&&cancelAnimationFrame(wr),hs=vs=xr=wr=0;for(let[e,t]of Eo)window.clearTimeout(t),e.classList.remove(ko);Eo.clear(),gs.clear(),qy(),To.length=0,wo=null,_==null||_.root.remove(),_=null}}function Qp(){return Ye}function mx(e){let t=e.toLowerCase().split("+").map(o=>o.trim()).filter(Boolean);if(!t.length)return null;let n=t.pop(),r={ctrl:!1,alt:!1,shift:!1,meta:!1,code:/^f\d{1,2}$/.test(n)?n.toUpperCase():n.length===1&&n>="a"&&n<="z"?`Key${n.toUpperCase()}`:n.length===1&&n>="0"&&n<="9"?`Digit${n}`:n.charAt(0).toUpperCase()+n.slice(1)};for(let o of t)if(o==="ctrl"||o==="control")r.ctrl=!0;else if(o==="alt"||o==="option")r.alt=!0;else if(o==="shift")r.shift=!0;else if(o==="meta"||o==="cmd"||o==="command"||o==="win")r.meta=!0;else return null;return r}function dc(){Fp||typeof document=="undefined"||(Fp=!0,document.addEventListener("keydown",e=>{let t=w.xrayShortcut;if(t===!1)return;let n=mx(typeof t=="string"?t:"ctrl+shift+f2");n&&(e.ctrlKey!==n.ctrl||e.altKey!==n.alt||e.shiftKey!==n.shift||e.metaKey!==n.meta||e.code!==n.code&&e.key.toUpperCase()!==n.code.replace(/^Key/,"")||(e.preventDefault(),Lo()))}))}function Lo(e){return dc(),(e!=null?e:!Ye)?px():Gp(),Ye}me();ce();var vx=new Set(["SCRIPT","STYLE","PRE","CODE","SAMP","KBD","TEXTAREA","TEMPLATE","NOSCRIPT"]);H("$__jsx",e=>e);gd((e,t)=>{t?Mo():xs(e)});var Jp=Symbol("voodoo.jsx.template");function hx(e){return typeof e=="object"&&e!==null&&Jp in e}function gx(e,t){var p;let n=[],r=[],o="",i=0,s=null,a=!1,l=e,c=t,d=!1,u=null;for(;l;){if(l.nodeType===Node.TEXT_NODE){let f=(p=l.textContent)!=null?p:"";for(;c<f.length;c++){let m=f[c];if(a){a=!1,o+=m;continue}if(s){m==="\\"?a=!0:m===s&&(s=null),o+=m;continue}if(m==='"'||m==="'"||m==="`"){s=m,o+=m;continue}if(m==="{"){i++,i>1&&(o+=m);continue}if(m==="}"){if(i--,i===0){c++,d=!0;break}o+=m;continue}o+=m}if(r.push(l),d){u={node:l,offset:c};break}}else if(l.nodeType===Node.ELEMENT_NODE){if(i===0)return null;o+=`$t(${n.length}, $__jsx)`,n.push(l),r.push(l)}else r.push(l);c=0,l=l.nextSibling}return d?{source:o,templates:n,nodes:r,tail:u}:null}function bx(e){let t=e.source.match(/\(\s*\)/g);if(!t)return!1;let n=e.nodes[0],r=e.nodes[e.nodes.length-1],o=[r==null?void 0:r.nextSibling,n==null?void 0:n.previousSibling].map(l=>{var d;let c=l!=null?l:null;for(;c&&c.nodeType===Node.TEXT_NODE&&!((d=c.textContent)!=null?d:"").trim();)c=c===(r==null?void 0:r.nextSibling)?c.nextSibling:c.previousSibling;return c&&c.nodeType===Node.ELEMENT_NODE?c:null}).find(l=>(l==null?void 0:l.tagName)==="TABLE");if(!o)return!1;let i=o.querySelector("tbody");if(!i)return!1;let s=Array.from(i.children).filter(l=>l.tagName==="TR");if(s.length!==t.length)return!1;let a=0;return e.source=e.source.replace(/\(\s*\)/g,()=>`($t(${a++}, $__jsx))`),e.templates=s,e.host=i,e.nodes.push(...s),!0}function Zp(e,t,n,r){var o;if(!(e==null||e===!1||e===!0)){if(Array.isArray(e)){for(let i of e)Zp(i,t,n,r);return}if(hx(e)){let i=e,a=t[i.index].cloneNode(!0),l=(o=i.scope)!=null?o:n;fc(a,l),Mo(),te(a,l),r.push(a);return}r.push(document.createTextNode(String(e)))}}function fc(e,t){var o,i,s;if(vx.has(e.tagName))return;let n=t!=null?t:Ce(e),r=e.firstChild;for(;r;){let a=r.nextSibling;if(r.nodeType===Node.ELEMENT_NODE){fc(r,(o=ot(r))!=null?o:n),r=a;continue}if(r.nodeType!==Node.TEXT_NODE){r=a;continue}let c=((i=r.textContent)!=null?i:"").indexOf("{");if(c<0){r=a;continue}let d=gx(r,c);if(!d){r=a;continue}if(d.templates.length===0&&!bx(d)){r=a;continue}yx(e,d,n),r=(s=d.nodes[d.nodes.length-1])==null?void 0:s.nextSibling}}var uc=[];function yx(e,t,n){var p,f;let{source:r,templates:o,nodes:i,tail:s}=t,a;try{a=_e(r)}catch(m){w.devtools&&console.warn(`[Voodoo] could not parse the inline expression: ${r}`,m);return}s&&s.offset<((p=s.node.textContent)!=null?p:"").length&&s.node.splitText(s.offset);let l=(f=t.host)!=null?f:e,c=document.createComment("v-jsx");l.insertBefore(c,t.host?t.host.firstChild:i[0]);for(let m of i)m.remove();let d=[];uc.push(()=>u());function u(){let m=Ce(c),v=(m===We&&n?n:m).child({$t:(b,x)=>({[Jp]:!0,index:b,scope:x})}),g=Fe(()=>{let b=Fo(N(a,v)),x=[];Zp(b,o,v,x);for(let T of d)T.remove();d=x;for(let T of x)l.insertBefore(T,c)});Xe(c,()=>{g.effect.stop();for(let b of d)b.remove()})}}function xx(e=document.body){var t;for(let n of Array.from(e.childNodes)){if(n.nodeType!==Node.TEXT_NODE)continue;let r=(t=n.textContent)!=null?t:"",o=r.indexOf("{");if(o<0)continue;let i=wx(r,o);if(i<0)continue;let s=r.slice(o,i+1);if(!/\b(?:const|let|var)\s/.test(s))continue;let a=s.slice(1,-1).replace(/\b(?:const|let|var)\s+/g,""),l=Y({});try{N(_e(a),new Lt(l))}catch(c){return w.devtools&&console.warn("[Voodoo] could not read the declaration block",c),null}return n.textContent=r.slice(0,o)+r.slice(i+1),l}return null}function wx(e,t){let n=0,r=null,o=!1;for(let i=t;i<e.length;i++){let s=e[i];if(o){o=!1;continue}if(r){s==="\\"?o=!0:s===r&&(r=null);continue}if(s==='"'||s==="'"||s==="`")r=s;else if(s==="{")n++;else if(s==="}"&&--n===0)return i}return-1}function Mo(){let e=uc.splice(0,uc.length);for(let t of e)try{t()}catch(n){console.error("[Voodoo] a JSX region failed to render",n)}}function xs(e=document.body){let t=xx(e);t&&Object.assign(We.data,t),fc(e,Ce(e))}function em(e=document.body){xs(e),Mo()}Ne();var nm="voodoo:devtools:widget-position",pc="voodoo:devtools:widget-hidden",Ex=4,re=null,kr=!1,mc=0,ws=0,So=[],kx=`
1649
1649
  .v-devtools-widget{
1650
1650
  all: initial;
1651
1651
  --vw-accent:#6D3BF5;
@@ -1779,6 +1779,6 @@ textarea.v-dialog-input{min-height:96px;resize:vertical}
1779
1779
  `,Tx=`<svg class="v-devtools-mark" viewBox="0 0 24 24" fill="none" aria-hidden="true">
1780
1780
  <path d="M4 4l8 16 8-16" stroke="#6D3BF5" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
1781
1781
  <circle cx="12" cy="7.5" r="2" fill="#FF3D8B"/>
1782
- </svg>`;function Lx(){try{let e=localStorage.getItem(nm);if(!e)return null;let t=JSON.parse(e);return typeof(t==null?void 0:t.x)!="number"||typeof(t==null?void 0:t.y)!="number"?null:t}catch(e){return null}}function Mx(e){try{localStorage.setItem(nm,JSON.stringify(e))}catch(t){}}function vc(e,t){let n=e.offsetWidth||120,r=e.offsetHeight||38,o=Math.min(Math.max(8,t.x),Math.max(8,window.innerWidth-n-8)),i=Math.min(Math.max(8,t.y),Math.max(8,window.innerHeight-r-8));e.style.left=`${o}px`,e.style.top=`${i}px`,e.style.right="auto",e.style.bottom="auto"}function Sx(){let e=document.createElement("div");e.className="v-devtools-widget",e.setAttribute("data-voodoo-devtools","widget");let t=document.createElement("button");t.type="button",t.className="v-devtools-btn",t.setAttribute("aria-label","Open Voodoo devtools (Ctrl+Shift+F2)"),t.setAttribute("aria-pressed","false"),t.title="Voodoo devtools \u2014 click to inspect, drag to move (Ctrl+Shift+F2)",t.innerHTML=Tx;let n=document.createElement("span");n.className="v-devtools-label",n.textContent="Voodoo";let r=document.createElement("span");r.className="v-devtools-count",r.textContent="0";let o=document.createElement("span");o.className="v-devtools-pulse",o.setAttribute("data-on","false"),t.append(n,r,o);let i=document.createElement("button");i.type="button",i.className="v-devtools-close",i.setAttribute("aria-label","Hide the devtools widget in this tab"),i.title="Hide in this tab",i.textContent="\xD7",e.append(t,i),document.body.appendChild(e);let s=Lx();return s?vc(e,s):(e.style.right="16px",e.style.bottom="16px"),{root:e,button:t,pulse:o,counter:r,close:i}}function Cx(e,t){let n=!1,r=!1,o=0,i=0,s=0,a=0,l=f=>{var h,v;if(f.button!==0)return;let m=e.root.getBoundingClientRect();n=!0,r=!1,s=f.clientX,a=f.clientY,o=f.clientX-m.left,i=f.clientY-m.top,(v=(h=e.button).setPointerCapture)==null||v.call(h,f.pointerId)},c=f=>{if(!n)return;let m=Math.hypot(f.clientX-s,f.clientY-a);!r&&m<Ex||(r=!0,f.preventDefault(),vc(e.root,{x:f.clientX-o,y:f.clientY-i}))},d=f=>{var h,v;if(!n)return;if(n=!1,(v=(h=e.button).releasePointerCapture)==null||v.call(h,f.pointerId),!r){t();return}let m=e.root.getBoundingClientRect();Mx({x:m.left,y:m.top})},u=f=>{f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),t())},p=()=>{let f=e.root.getBoundingClientRect();e.root.style.left&&vc(e.root,{x:f.left,y:f.top})};return e.button.addEventListener("pointerdown",l),e.button.addEventListener("pointermove",c),e.button.addEventListener("pointerup",d),e.button.addEventListener("pointercancel",d),e.button.addEventListener("keydown",u),window.addEventListener("resize",p),()=>{e.button.removeEventListener("pointerdown",l),e.button.removeEventListener("pointermove",c),e.button.removeEventListener("pointerup",d),e.button.removeEventListener("pointercancel",d),e.button.removeEventListener("keydown",u),window.removeEventListener("resize",p)}}function Ax(){ne&&(ne.pulse.setAttribute("data-on","true"),window.clearTimeout(ws),ws=window.setTimeout(()=>{ne==null||ne.pulse.setAttribute("data-on","false")},320))}function tm(){if(!ne)return;let e=At.size,t=e===1?"1 component":`${e} components`;ne.counter.textContent!==t&&(ne.counter.textContent=t)}function Rx(){if(kr||typeof document=="undefined"||!document.body)return;try{if(sessionStorage.getItem(pc)==="1")return}catch(r){}kr=!0,oe("devtools-widget",kx),ne=Sx();let e=()=>{let r=Lo();ne==null||ne.root.setAttribute("data-active",String(r)),ne==null||ne.button.setAttribute("aria-pressed",String(r))};So.push(Cx(ne,e));let t=r=>{r.stopPropagation();try{sessionStorage.setItem(pc,"1")}catch(o){}rm(),console.info("[Voodoo] devtools widget hidden. Use V.devtoolsWidget(true) to bring back.")};ne.close.addEventListener("click",t),So.push(()=>ne==null?void 0:ne.close.removeEventListener("click",t));let n=()=>{let r=Qp();ne==null||ne.root.setAttribute("data-active",String(r)),ne==null||ne.button.setAttribute("aria-pressed",String(r))};document.addEventListener("keyup",n),So.push(()=>document.removeEventListener("keyup",n));for(let r of["network","event","navigation","update"])So.push(ze.on(r,Ax));tm(),mc=window.setInterval(tm,1e3)}function rm(){if(kr){kr=!1;for(let e of So.splice(0))try{e()}catch(t){}window.clearInterval(mc),window.clearTimeout(ws),mc=0,ws=0,ne==null||ne.root.remove(),ne=null}}function om(e){if(e!=null?e:!kr){try{sessionStorage.removeItem(pc)}catch(n){}Rx()}else rm();return kr}var sm=((e,t)=>Sa(e,t));function im(e,t,n){return((...r)=>($r(e,t),n(...r)))}Object.assign(sm,ui,{query:Sa,ready:Ca,fromHtml:Tu,jsx:em,extractJsx:xs,activateJsx:Mo,Collection:pt,router:Wr,route:de,navigate:_t,resolveRoute:Gn,i18n:Yr,t:er,setLocale:Kr,getLocale:ki,modal:En,alert:tc,confirm:us,prompt:nc,dialog:hr,validator:J,validate:cl,validateForm:im("V.validateForm","V.validate",cl),serializeForm:or,messages:at,showFormErrors:Ii,showFieldError:Fi,clearErrors:ro,mask:Np,masks:xo,applyMask:yo,unmask:ms,registerMask:Le,animate:Pt,spring:Rl,stagger:$l,inView:es,scrollProgress:Dl,motion:hn,easings:lo,chart:im("V.chart","V.renderChart",ur),renderChart:ur,charts:Il,chartColors:uo,palette:wp,hotkey:Jr,sound:Gt,xray:Lo,enableXrayShortcut:dc,devtoolsWidget:om,devtools:ze,magic:H});var hc=sm;ce();function $x(e){if(window.VOODOO_DEVTOOLS===!0)return!0;for(let t of["devtools","data-devtools"]){if(!e.hasAttribute(t))continue;let n=e.getAttribute(t);return n===null||n===""||n.toLowerCase()!=="false"}return!1}function Dx(){var s;if(typeof document=="undefined")return{manual:!1};let e=(s=document.currentScript)!=null?s:document.querySelector('script[src*="voodoo"]');if(!e)return{manual:!1};let t=e.hasAttribute("data-manual")||e.hasAttribute("data-defer-init"),n=e.getAttribute("data-prefix");n&&(w.prefix=n);let r=e.getAttribute("data-base-url");r&&(w.baseURL=r);let o=e.getAttribute("data-locale");o&&(w.locale=o),$x(e)&&(w.devtools=!0);let i=e.getAttribute("data-xray-shortcut");return i!==null&&(w.xrayShortcut=i==="false"||i===""?!1:i),e.hasAttribute("data-no-styles")&&(w.injectStyles=!1),e.hasAttribute("data-no-observer")&&(w.autoDiscover=!1),e.hasAttribute("data-keep-attributes")&&(w.cleanAttributes=!1),{manual:t}}function Px(e){if(typeof e.devtoolsWidget=="function"){e.devtoolsWidget(!0);return}console.info("[Voodoo] devtools requested, but this build does not include the inspector. Use voodoo.full.min.js to get the widget and full devtools panel.")}function am(e){var o;if(typeof window=="undefined")return;let t=Dx(),n=window;if(n.V=e,n.Voodoo=e,He.V=e,He.Voodoo=e,w.baseURL&&((o=e.http)!=null&&o.setBaseURL)&&e.http.setBaseURL(w.baseURL),t.manual||!w.autoStart)return;Ko(()=>{ft.init(),xp(),e.start(),typeof e.enableXrayShortcut=="function"&&e.enableXrayShortcut(),w.devtools&&Px(e)})}am(hc);var Nx=hc;return ym(Hx);})();
1782
+ </svg>`;function Lx(){try{let e=localStorage.getItem(nm);if(!e)return null;let t=JSON.parse(e);return typeof(t==null?void 0:t.x)!="number"||typeof(t==null?void 0:t.y)!="number"?null:t}catch(e){return null}}function Mx(e){try{localStorage.setItem(nm,JSON.stringify(e))}catch(t){}}function vc(e,t){let n=e.offsetWidth||120,r=e.offsetHeight||38,o=Math.min(Math.max(8,t.x),Math.max(8,window.innerWidth-n-8)),i=Math.min(Math.max(8,t.y),Math.max(8,window.innerHeight-r-8));e.style.left=`${o}px`,e.style.top=`${i}px`,e.style.right="auto",e.style.bottom="auto"}function Sx(){let e=document.createElement("div");e.className="v-devtools-widget",e.setAttribute("data-voodoo-devtools","widget");let t=document.createElement("button");t.type="button",t.className="v-devtools-btn",t.setAttribute("aria-label","Open Voodoo devtools (Ctrl+Shift+F2)"),t.setAttribute("aria-pressed","false"),t.title="Voodoo devtools \u2014 click to inspect, drag to move (Ctrl+Shift+F2)",t.innerHTML=Tx;let n=document.createElement("span");n.className="v-devtools-label",n.textContent="Voodoo";let r=document.createElement("span");r.className="v-devtools-count",r.textContent="0";let o=document.createElement("span");o.className="v-devtools-pulse",o.setAttribute("data-on","false"),t.append(n,r,o);let i=document.createElement("button");i.type="button",i.className="v-devtools-close",i.setAttribute("aria-label","Hide the devtools widget in this tab"),i.title="Hide in this tab",i.textContent="\xD7",e.append(t,i),document.body.appendChild(e);let s=Lx();return s?vc(e,s):(e.style.right="16px",e.style.bottom="16px"),{root:e,button:t,pulse:o,counter:r,close:i}}function Cx(e,t){let n=!1,r=!1,o=0,i=0,s=0,a=0,l=f=>{var h,v;if(f.button!==0)return;let m=e.root.getBoundingClientRect();n=!0,r=!1,s=f.clientX,a=f.clientY,o=f.clientX-m.left,i=f.clientY-m.top,(v=(h=e.button).setPointerCapture)==null||v.call(h,f.pointerId)},c=f=>{if(!n)return;let m=Math.hypot(f.clientX-s,f.clientY-a);!r&&m<Ex||(r=!0,f.preventDefault(),vc(e.root,{x:f.clientX-o,y:f.clientY-i}))},d=f=>{var h,v;if(!n)return;if(n=!1,(v=(h=e.button).releasePointerCapture)==null||v.call(h,f.pointerId),!r){t();return}let m=e.root.getBoundingClientRect();Mx({x:m.left,y:m.top})},u=f=>{f.key!=="Enter"&&f.key!==" "||(f.preventDefault(),t())},p=()=>{let f=e.root.getBoundingClientRect();e.root.style.left&&vc(e.root,{x:f.left,y:f.top})};return e.button.addEventListener("pointerdown",l),e.button.addEventListener("pointermove",c),e.button.addEventListener("pointerup",d),e.button.addEventListener("pointercancel",d),e.button.addEventListener("keydown",u),window.addEventListener("resize",p),()=>{e.button.removeEventListener("pointerdown",l),e.button.removeEventListener("pointermove",c),e.button.removeEventListener("pointerup",d),e.button.removeEventListener("pointercancel",d),e.button.removeEventListener("keydown",u),window.removeEventListener("resize",p)}}function Ax(){re&&(re.pulse.setAttribute("data-on","true"),window.clearTimeout(ws),ws=window.setTimeout(()=>{re==null||re.pulse.setAttribute("data-on","false")},320))}function tm(){if(!re)return;let e=At.size,t=e===1?"1 component":`${e} components`;re.counter.textContent!==t&&(re.counter.textContent=t)}function Rx(){if(kr||typeof document=="undefined"||!document.body)return;try{if(sessionStorage.getItem(pc)==="1")return}catch(r){}kr=!0,oe("devtools-widget",kx),re=Sx();let e=()=>{let r=Lo();re==null||re.root.setAttribute("data-active",String(r)),re==null||re.button.setAttribute("aria-pressed",String(r))};So.push(Cx(re,e));let t=r=>{r.stopPropagation();try{sessionStorage.setItem(pc,"1")}catch(o){}rm(),console.info("[Voodoo] devtools widget hidden. Use V.devtoolsWidget(true) to bring back.")};re.close.addEventListener("click",t),So.push(()=>re==null?void 0:re.close.removeEventListener("click",t));let n=()=>{let r=Qp();re==null||re.root.setAttribute("data-active",String(r)),re==null||re.button.setAttribute("aria-pressed",String(r))};document.addEventListener("keyup",n),So.push(()=>document.removeEventListener("keyup",n));for(let r of["network","event","navigation","update"])So.push(ze.on(r,Ax));tm(),mc=window.setInterval(tm,1e3)}function rm(){if(kr){kr=!1;for(let e of So.splice(0))try{e()}catch(t){}window.clearInterval(mc),window.clearTimeout(ws),mc=0,ws=0,re==null||re.root.remove(),re=null}}function om(e){if(e!=null?e:!kr){try{sessionStorage.removeItem(pc)}catch(n){}Rx()}else rm();return kr}var sm=((e,t)=>Sa(e,t));function im(e,t,n){return((...r)=>($r(e,t),n(...r)))}Object.assign(sm,ui,{query:Sa,ready:Ca,fromHtml:Tu,jsx:em,extractJsx:xs,activateJsx:Mo,Collection:pt,router:Wr,route:de,navigate:_t,resolveRoute:Gn,i18n:Yr,t:er,setLocale:Kr,getLocale:ki,modal:En,alert:tc,confirm:us,prompt:nc,dialog:hr,validator:J,validate:cl,validateForm:im("V.validateForm","V.validate",cl),serializeForm:or,messages:at,showFormErrors:Ii,showFieldError:Fi,clearErrors:ro,mask:Np,masks:xo,applyMask:yo,unmask:ms,registerMask:Le,animate:Pt,spring:Rl,stagger:$l,inView:es,scrollProgress:Dl,motion:hn,easings:lo,chart:im("V.chart","V.renderChart",ur),renderChart:ur,charts:Il,chartColors:uo,palette:wp,hotkey:Jr,sound:Gt,xray:Lo,enableXrayShortcut:dc,devtoolsWidget:om,devtools:ze,magic:H});var hc=sm;ce();function $x(e){if(window.VOODOO_DEVTOOLS===!0)return!0;for(let t of["devtools","data-devtools"]){if(!e.hasAttribute(t))continue;let n=e.getAttribute(t);return n===null||n===""||n.toLowerCase()!=="false"}return!1}function Dx(){var s;if(typeof document=="undefined")return{manual:!1};let e=(s=document.currentScript)!=null?s:document.querySelector('script[src*="voodoo"]');if(!e)return{manual:!1};let t=e.hasAttribute("data-manual")||e.hasAttribute("data-defer-init"),n=e.getAttribute("data-prefix");n&&(w.prefix=n);let r=e.getAttribute("data-base-url");r&&(w.baseURL=r);let o=e.getAttribute("data-locale");o&&(w.locale=o),$x(e)&&(w.devtools=!0);let i=e.getAttribute("data-xray-shortcut");return i!==null&&(w.xrayShortcut=i==="false"||i===""?!1:i),e.hasAttribute("data-no-styles")&&(w.injectStyles=!1),e.hasAttribute("data-no-observer")&&(w.autoDiscover=!1),e.hasAttribute("data-keep-attributes")&&(w.cleanAttributes=!1),{manual:t}}function Px(e){if(typeof e.devtoolsWidget=="function"){e.devtoolsWidget(!0);return}console.info("[Voodoo] devtools requested, but this build does not include the inspector. Use voodoo.full.min.js to get the widget and full devtools panel.")}function am(e){var o;if(typeof window=="undefined")return;let t=Dx(),n=window;if(n.V=e,n.Voodoo=e,He.V=e,He.Voodoo=e,w.baseURL&&((o=e.http)!=null&&o.setBaseURL)&&e.http.setBaseURL(w.baseURL),t.manual||!w.autoStart)return;Ko(()=>{ft.init(),xp(),e.start(),typeof e.enableXrayShortcut=="function"&&e.enableXrayShortcut(),w.devtools&&Px(e)})}am(hc);var Nx=hc;return ym(Hx);})();
1783
1783
  if(typeof window!=="undefined"){window.V=Voodoo.default||Voodoo;window.Voodoo=window.V;}
1784
1784
  //# sourceMappingURL=voodoo.full.min.js.map