ripplo 0.20.0 → 0.20.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.
@@ -1,71 +1,71 @@
1
- "use strict";var __ripploBindingRuntime=(()=>{var Jx=Object.create;var Jn=Object.defineProperty;var Qx=Object.getOwnPropertyDescriptor;var qx=Object.getOwnPropertyNames;var Yx=Object.getPrototypeOf,Kx=Object.prototype.hasOwnProperty;var a=(e,t)=>Jn(e,"name",{value:t,configurable:!0});var og=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Et=(e,t)=>{for(var n in t)Jn(e,n,{get:t[n],enumerable:!0})},ag=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of qx(t))!Kx.call(e,r)&&r!==n&&Jn(e,r,{get:()=>t[r],enumerable:!(i=Qx(t,r))||i.enumerable});return e};var sg=(e,t,n)=>(n=e!=null?Jx(Yx(e)):{},ag(t||!e||!e.__esModule?Jn(n,"default",{value:e,enumerable:!0}):n,e)),Wx=e=>ag(Jn({},"__esModule",{value:!0}),e);var fv=og((fm,dv)=>{"use strict";var{hasOwnProperty:Ri}=Object.prototype,xr=dm();xr.configure=dm;xr.stringify=xr;xr.default=xr;fm.stringify=xr;fm.configure=dm;dv.exports=xr;var l$=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function er(e){return e.length<5e3&&!l$.test(e)?`"${e}"`:JSON.stringify(e)}a(er,"strEscape");function lm(e,t){if(e.length>200||t)return e.sort(t);for(let n=1;n<e.length;n++){let i=e[n],r=n;for(;r!==0&&e[r-1]>i;)e[r]=e[r-1],r--;e[r]=i}return e}a(lm,"sort");var p$=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function pm(e){return p$.call(e)!==void 0&&e.length!==0}a(pm,"isTypedArrayWithEntries");function lv(e,t,n){e.length<n&&(n=e.length);let i=t===","?"":" ",r=`"0":${i}${e[0]}`;for(let o=1;o<n;o++)r+=`${t}"${o}":${i}${e[o]}`;return r}a(lv,"stringifyTypedArray");function d$(e){if(Ri.call(e,"circularValue")){let t=e.circularValue;if(typeof t=="string")return`"${t}"`;if(t==null)return t;if(t===Error||t===TypeError)return{toString(){throw new TypeError("Converting circular structure to JSON")}};throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return'"[Circular]"'}a(d$,"getCircularValueOption");function f$(e){let t;if(Ri.call(e,"deterministic")&&(t=e.deterministic,typeof t!="boolean"&&typeof t!="function"))throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');return t===void 0?!0:t}a(f$,"getDeterministicOption");function m$(e,t){let n;if(Ri.call(e,t)&&(n=e[t],typeof n!="boolean"))throw new TypeError(`The "${t}" argument must be of type boolean`);return n===void 0?!0:n}a(m$,"getBooleanOption");function pv(e,t){let n;if(Ri.call(e,t)){if(n=e[t],typeof n!="number")throw new TypeError(`The "${t}" argument must be of type number`);if(!Number.isInteger(n))throw new TypeError(`The "${t}" argument must be an integer`);if(n<1)throw new RangeError(`The "${t}" argument must be >= 1`)}return n===void 0?1/0:n}a(pv,"getPositiveIntegerOption");function br(e){return e===1?"1 item":`${e} items`}a(br,"getItemCount");function h$(e){let t=new Set;for(let n of e)(typeof n=="string"||typeof n=="number")&&t.add(String(n));return t}a(h$,"getUniqueReplacerSet");function g$(e){if(Ri.call(e,"strict")){let t=e.strict;if(typeof t!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(t)return n=>{let i=`Object can not safely be stringified. Received type ${typeof n}`;throw typeof n!="function"&&(i+=` (${n.toString()})`),new Error(i)}}}a(g$,"getStrictOption");function dm(e){e={...e};let t=g$(e);t&&(e.bigint===void 0&&(e.bigint=!1),"circularValue"in e||(e.circularValue=Error));let n=d$(e),i=m$(e,"bigint"),r=f$(e),o=typeof r=="function"?r:void 0,s=pv(e,"maximumDepth"),c=pv(e,"maximumBreadth");function u(g,y,x,k,z,Z){let D=y[g];switch(typeof D=="object"&&D!==null&&typeof D.toJSON=="function"&&(D=D.toJSON(g)),D=k.call(y,g,D),typeof D){case"string":return er(D);case"object":{if(D===null)return"null";if(x.indexOf(D)!==-1)return n;let P="",X=",",ce=Z;if(Array.isArray(D)){if(D.length===0)return"[]";if(s<x.length+1)return'"[Array]"';x.push(D),z!==""&&(Z+=z,P+=`
2
- ${Z}`,X=`,
3
- ${Z}`);let Ie=Math.min(D.length,c),je=0;for(;je<Ie-1;je++){let zt=u(String(je),D,x,k,z,Z);P+=zt!==void 0?zt:"null",P+=X}let mt=u(String(je),D,x,k,z,Z);if(P+=mt!==void 0?mt:"null",D.length-1>c){let zt=D.length-c-1;P+=`${X}"... ${br(zt)} not stringified"`}return z!==""&&(P+=`
4
- ${ce}`),x.pop(),`[${P}]`}let re=Object.keys(D),Se=re.length;if(Se===0)return"{}";if(s<x.length+1)return'"[Object]"';let H="",ke="";z!==""&&(Z+=z,X=`,
5
- ${Z}`,H=" ");let Xe=Math.min(Se,c);r&&!pm(D)&&(re=lm(re,o)),x.push(D);for(let Ie=0;Ie<Xe;Ie++){let je=re[Ie],mt=u(je,D,x,k,z,Z);mt!==void 0&&(P+=`${ke}${er(je)}:${H}${mt}`,ke=X)}if(Se>c){let Ie=Se-c;P+=`${ke}"...":${H}"${br(Ie)} not stringified"`,ke=X}return z!==""&&ke.length>1&&(P=`
1
+ "use strict";var __ripploBindingRuntime=(()=>{var l_=Object.create;var Kn=Object.defineProperty;var p_=Object.getOwnPropertyDescriptor;var d_=Object.getOwnPropertyNames;var f_=Object.getPrototypeOf,m_=Object.prototype.hasOwnProperty;var a=(e,t)=>Kn(e,"name",{value:t,configurable:!0});var hg=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ot=(e,t)=>{for(var n in t)Kn(e,n,{get:t[n],enumerable:!0})},gg=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of d_(t))!m_.call(e,r)&&r!==n&&Kn(e,r,{get:()=>t[r],enumerable:!(i=p_(t,r))||i.enumerable});return e};var yg=(e,t,n)=>(n=e!=null?l_(f_(e)):{},gg(t||!e||!e.__esModule?Kn(n,"default",{value:e,enumerable:!0}):n,e)),h_=e=>gg(Kn({},"__esModule",{value:!0}),e);var Dv=hg((Tm,kv)=>{"use strict";var{hasOwnProperty:Pi}=Object.prototype,Tr=Sm();Tr.configure=Sm;Tr.stringify=Tr;Tr.default=Tr;Tm.stringify=Tr;Tm.configure=Sm;kv.exports=Tr;var R$=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function nr(e){return e.length<5e3&&!R$.test(e)?`"${e}"`:JSON.stringify(e)}a(nr,"strEscape");function bm(e,t){if(e.length>200||t)return e.sort(t);for(let n=1;n<e.length;n++){let i=e[n],r=n;for(;r!==0&&e[r-1]>i;)e[r]=e[r-1],r--;e[r]=i}return e}a(bm,"sort");var A$=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function _m(e){return A$.call(e)!==void 0&&e.length!==0}a(_m,"isTypedArrayWithEntries");function wv(e,t,n){e.length<n&&(n=e.length);let i=t===","?"":" ",r=`"0":${i}${e[0]}`;for(let o=1;o<n;o++)r+=`${t}"${o}":${i}${e[o]}`;return r}a(wv,"stringifyTypedArray");function j$(e){if(Pi.call(e,"circularValue")){let t=e.circularValue;if(typeof t=="string")return`"${t}"`;if(t==null)return t;if(t===Error||t===TypeError)return{toString(){throw new TypeError("Converting circular structure to JSON")}};throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return'"[Circular]"'}a(j$,"getCircularValueOption");function L$(e){let t;if(Pi.call(e,"deterministic")&&(t=e.deterministic,typeof t!="boolean"&&typeof t!="function"))throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');return t===void 0?!0:t}a(L$,"getDeterministicOption");function z$(e,t){let n;if(Pi.call(e,t)&&(n=e[t],typeof n!="boolean"))throw new TypeError(`The "${t}" argument must be of type boolean`);return n===void 0?!0:n}a(z$,"getBooleanOption");function Nv(e,t){let n;if(Pi.call(e,t)){if(n=e[t],typeof n!="number")throw new TypeError(`The "${t}" argument must be of type number`);if(!Number.isInteger(n))throw new TypeError(`The "${t}" argument must be an integer`);if(n<1)throw new RangeError(`The "${t}" argument must be >= 1`)}return n===void 0?1/0:n}a(Nv,"getPositiveIntegerOption");function Sr(e){return e===1?"1 item":`${e} items`}a(Sr,"getItemCount");function P$(e){let t=new Set;for(let n of e)(typeof n=="string"||typeof n=="number")&&t.add(String(n));return t}a(P$,"getUniqueReplacerSet");function U$(e){if(Pi.call(e,"strict")){let t=e.strict;if(typeof t!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(t)return n=>{let i=`Object can not safely be stringified. Received type ${typeof n}`;throw typeof n!="function"&&(i+=` (${n.toString()})`),new Error(i)}}}a(U$,"getStrictOption");function Sm(e){e={...e};let t=U$(e);t&&(e.bigint===void 0&&(e.bigint=!1),"circularValue"in e||(e.circularValue=Error));let n=j$(e),i=z$(e,"bigint"),r=L$(e),o=typeof r=="function"?r:void 0,s=Nv(e,"maximumDepth"),c=Nv(e,"maximumBreadth");function u(g,y,b,N,L,Z){let D=y[g];switch(typeof D=="object"&&D!==null&&typeof D.toJSON=="function"&&(D=D.toJSON(g)),D=N.call(y,g,D),typeof D){case"string":return nr(D);case"object":{if(D===null)return"null";if(b.indexOf(D)!==-1)return n;let P="",H=",",ce=Z;if(Array.isArray(D)){if(D.length===0)return"[]";if(s<b.length+1)return'"[Array]"';b.push(D),L!==""&&(Z+=L,P+=`
2
+ ${Z}`,H=`,
3
+ ${Z}`);let Ie=Math.min(D.length,c),Ae=0;for(;Ae<Ie-1;Ae++){let zt=u(String(Ae),D,b,N,L,Z);P+=zt!==void 0?zt:"null",P+=H}let mt=u(String(Ae),D,b,N,L,Z);if(P+=mt!==void 0?mt:"null",D.length-1>c){let zt=D.length-c-1;P+=`${H}"... ${Sr(zt)} not stringified"`}return L!==""&&(P+=`
4
+ ${ce}`),b.pop(),`[${P}]`}let re=Object.keys(D),Se=re.length;if(Se===0)return"{}";if(s<b.length+1)return'"[Object]"';let X="",Ne="";L!==""&&(Z+=L,H=`,
5
+ ${Z}`,X=" ");let He=Math.min(Se,c);r&&!_m(D)&&(re=bm(re,o)),b.push(D);for(let Ie=0;Ie<He;Ie++){let Ae=re[Ie],mt=u(Ae,D,b,N,L,Z);mt!==void 0&&(P+=`${Ne}${nr(Ae)}:${X}${mt}`,Ne=H)}if(Se>c){let Ie=Se-c;P+=`${Ne}"...":${X}"${Sr(Ie)} not stringified"`,Ne=H}return L!==""&&Ne.length>1&&(P=`
6
6
  ${Z}${P}
7
- ${ce}`),x.pop(),`{${P}}`}case"number":return isFinite(D)?String(D):t?t(D):"null";case"boolean":return D===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(D);default:return t?t(D):void 0}}a(u,"stringifyFnReplacer");function l(g,y,x,k,z,Z){switch(typeof y=="object"&&y!==null&&typeof y.toJSON=="function"&&(y=y.toJSON(g)),typeof y){case"string":return er(y);case"object":{if(y===null)return"null";if(x.indexOf(y)!==-1)return n;let D=Z,P="",X=",";if(Array.isArray(y)){if(y.length===0)return"[]";if(s<x.length+1)return'"[Array]"';x.push(y),z!==""&&(Z+=z,P+=`
8
- ${Z}`,X=`,
9
- ${Z}`);let Se=Math.min(y.length,c),H=0;for(;H<Se-1;H++){let Xe=l(String(H),y[H],x,k,z,Z);P+=Xe!==void 0?Xe:"null",P+=X}let ke=l(String(H),y[H],x,k,z,Z);if(P+=ke!==void 0?ke:"null",y.length-1>c){let Xe=y.length-c-1;P+=`${X}"... ${br(Xe)} not stringified"`}return z!==""&&(P+=`
10
- ${D}`),x.pop(),`[${P}]`}x.push(y);let ce="";z!==""&&(Z+=z,X=`,
11
- ${Z}`,ce=" ");let re="";for(let Se of k){let H=l(Se,y[Se],x,k,z,Z);H!==void 0&&(P+=`${re}${er(Se)}:${ce}${H}`,re=X)}return z!==""&&re.length>1&&(P=`
7
+ ${ce}`),b.pop(),`{${P}}`}case"number":return isFinite(D)?String(D):t?t(D):"null";case"boolean":return D===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(D);default:return t?t(D):void 0}}a(u,"stringifyFnReplacer");function l(g,y,b,N,L,Z){switch(typeof y=="object"&&y!==null&&typeof y.toJSON=="function"&&(y=y.toJSON(g)),typeof y){case"string":return nr(y);case"object":{if(y===null)return"null";if(b.indexOf(y)!==-1)return n;let D=Z,P="",H=",";if(Array.isArray(y)){if(y.length===0)return"[]";if(s<b.length+1)return'"[Array]"';b.push(y),L!==""&&(Z+=L,P+=`
8
+ ${Z}`,H=`,
9
+ ${Z}`);let Se=Math.min(y.length,c),X=0;for(;X<Se-1;X++){let He=l(String(X),y[X],b,N,L,Z);P+=He!==void 0?He:"null",P+=H}let Ne=l(String(X),y[X],b,N,L,Z);if(P+=Ne!==void 0?Ne:"null",y.length-1>c){let He=y.length-c-1;P+=`${H}"... ${Sr(He)} not stringified"`}return L!==""&&(P+=`
10
+ ${D}`),b.pop(),`[${P}]`}b.push(y);let ce="";L!==""&&(Z+=L,H=`,
11
+ ${Z}`,ce=" ");let re="";for(let Se of N){let X=l(Se,y[Se],b,N,L,Z);X!==void 0&&(P+=`${re}${nr(Se)}:${ce}${X}`,re=H)}return L!==""&&re.length>1&&(P=`
12
12
  ${Z}${P}
13
- ${D}`),x.pop(),`{${P}}`}case"number":return isFinite(y)?String(y):t?t(y):"null";case"boolean":return y===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(y);default:return t?t(y):void 0}}a(l,"stringifyArrayReplacer");function p(g,y,x,k,z){switch(typeof y){case"string":return er(y);case"object":{if(y===null)return"null";if(typeof y.toJSON=="function"){if(y=y.toJSON(g),typeof y!="object")return p(g,y,x,k,z);if(y===null)return"null"}if(x.indexOf(y)!==-1)return n;let Z=z;if(Array.isArray(y)){if(y.length===0)return"[]";if(s<x.length+1)return'"[Array]"';x.push(y),z+=k;let H=`
14
- ${z}`,ke=`,
15
- ${z}`,Xe=Math.min(y.length,c),Ie=0;for(;Ie<Xe-1;Ie++){let mt=p(String(Ie),y[Ie],x,k,z);H+=mt!==void 0?mt:"null",H+=ke}let je=p(String(Ie),y[Ie],x,k,z);if(H+=je!==void 0?je:"null",y.length-1>c){let mt=y.length-c-1;H+=`${ke}"... ${br(mt)} not stringified"`}return H+=`
16
- ${Z}`,x.pop(),`[${H}]`}let D=Object.keys(y),P=D.length;if(P===0)return"{}";if(s<x.length+1)return'"[Object]"';z+=k;let X=`,
17
- ${z}`,ce="",re="",Se=Math.min(P,c);pm(y)&&(ce+=lv(y,X,c),D=D.slice(y.length),Se-=y.length,re=X),r&&(D=lm(D,o)),x.push(y);for(let H=0;H<Se;H++){let ke=D[H],Xe=p(ke,y[ke],x,k,z);Xe!==void 0&&(ce+=`${re}${er(ke)}: ${Xe}`,re=X)}if(P>c){let H=P-c;ce+=`${re}"...": "${br(H)} not stringified"`,re=X}return re!==""&&(ce=`
18
- ${z}${ce}
19
- ${Z}`),x.pop(),`{${ce}}`}case"number":return isFinite(y)?String(y):t?t(y):"null";case"boolean":return y===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(y);default:return t?t(y):void 0}}a(p,"stringifyIndent");function d(g,y,x){switch(typeof y){case"string":return er(y);case"object":{if(y===null)return"null";if(typeof y.toJSON=="function"){if(y=y.toJSON(g),typeof y!="object")return d(g,y,x);if(y===null)return"null"}if(x.indexOf(y)!==-1)return n;let k="",z=y.length!==void 0;if(z&&Array.isArray(y)){if(y.length===0)return"[]";if(s<x.length+1)return'"[Array]"';x.push(y);let ce=Math.min(y.length,c),re=0;for(;re<ce-1;re++){let H=d(String(re),y[re],x);k+=H!==void 0?H:"null",k+=","}let Se=d(String(re),y[re],x);if(k+=Se!==void 0?Se:"null",y.length-1>c){let H=y.length-c-1;k+=`,"... ${br(H)} not stringified"`}return x.pop(),`[${k}]`}let Z=Object.keys(y),D=Z.length;if(D===0)return"{}";if(s<x.length+1)return'"[Object]"';let P="",X=Math.min(D,c);z&&pm(y)&&(k+=lv(y,",",c),Z=Z.slice(y.length),X-=y.length,P=","),r&&(Z=lm(Z,o)),x.push(y);for(let ce=0;ce<X;ce++){let re=Z[ce],Se=d(re,y[re],x);Se!==void 0&&(k+=`${P}${er(re)}:${Se}`,P=",")}if(D>c){let ce=D-c;k+=`${P}"...":"${br(ce)} not stringified"`}return x.pop(),`{${k}}`}case"number":return isFinite(y)?String(y):t?t(y):"null";case"boolean":return y===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(y);default:return t?t(y):void 0}}a(d,"stringifySimple");function m(g,y,x){if(arguments.length>1){let k="";if(typeof x=="number"?k=" ".repeat(Math.min(x,10)):typeof x=="string"&&(k=x.slice(0,10)),y!=null){if(typeof y=="function")return u("",{"":g},[],y,k,"");if(Array.isArray(y))return l("",g,[],h$(y),k,"")}if(k.length!==0)return p("",g,[],k,"")}return d("",g,[])}return a(m,"stringify"),m}a(dm,"configure")});var gx=og(Kh=>{function Hs(e,t,n,i){var r=new Set;return function(o){if(!r.has(o)){var s=new Set,c=[],u=[];for(u.push({node:o,processed:!1});u.length>0;){var l=u[u.length-1],p=l.processed,d=l.node;if(p)u.pop(),c.pop(),s.delete(d),r.add(d),(!t||e.get(d).length===0)&&n.push(d);else{if(r.has(d)){u.pop();continue}else if(s.has(d)){if(i){u.pop();continue}throw c.push(d),new ec(c)}s.add(d),c.push(d);for(var m=e.get(d),g=m.length-1;g>=0;g--)u.push({node:m[g],processed:!1});l.processed=!0}}}}}a(Hs,"createDFS");var Zn=Kh.DepGraph=a(function(t){this.nodes=new Map,this.outgoingEdges=new Map,this.incomingEdges=new Map,this.circular=t&&!!t.circular},"DepGraph");Zn.prototype={size:a(function(){return this.nodes.size},"size"),addNode:a(function(e,t){this.hasNode(e)||(arguments.length===2?this.nodes.set(e,t):this.nodes.set(e,e),this.outgoingEdges.set(e,[]),this.incomingEdges.set(e,[]))},"addNode"),removeNode:a(function(e){this.hasNode(e)&&(this.nodes.delete(e),this.outgoingEdges.delete(e),this.incomingEdges.delete(e),[this.incomingEdges,this.outgoingEdges].forEach(function(t){t.forEach(function(n){var i=n.indexOf(e);i>=0&&n.splice(i,1)})}))},"removeNode"),hasNode:a(function(e){return this.nodes.has(e)},"hasNode"),getNodeData:a(function(e){if(this.hasNode(e))return this.nodes.get(e);throw new Error("Node does not exist: "+e)},"getNodeData"),setNodeData:a(function(e,t){if(this.hasNode(e))this.nodes.set(e,t);else throw new Error("Node does not exist: "+e)},"setNodeData"),addDependency:a(function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);if(!this.hasNode(t))throw new Error("Node does not exist: "+t);return this.outgoingEdges.get(e).indexOf(t)===-1&&this.outgoingEdges.get(e).push(t),this.incomingEdges.get(t).indexOf(e)===-1&&this.incomingEdges.get(t).push(e),!0},"addDependency"),removeDependency:a(function(e,t){var n;this.hasNode(e)&&(n=this.outgoingEdges.get(e).indexOf(t),n>=0&&this.outgoingEdges.get(e).splice(n,1)),this.hasNode(t)&&(n=this.incomingEdges.get(t).indexOf(e),n>=0&&this.incomingEdges.get(t).splice(n,1))},"removeDependency"),clone:a(function(){var e=this,t=new Zn;return e.nodes.forEach(function(n,i){t.nodes.set(i,n),t.outgoingEdges.set(i,e.outgoingEdges.get(i).slice(0)),t.incomingEdges.set(i,e.incomingEdges.get(i).slice(0))}),t.circular=e.circular,t},"clone"),directDependenciesOf:a(function(e){if(this.hasNode(e))return this.outgoingEdges.get(e).slice(0);throw new Error("Node does not exist: "+e)},"directDependenciesOf"),directDependantsOf:a(function(e){if(this.hasNode(e))return this.incomingEdges.get(e).slice(0);throw new Error("Node does not exist: "+e)},"directDependantsOf"),dependenciesOf:a(function(e,t){if(this.hasNode(e)){var n=[],i=Hs(this.outgoingEdges,t,n,this.circular);i(e);var r=n.indexOf(e);return r>=0&&n.splice(r,1),n}else throw new Error("Node does not exist: "+e)},"dependenciesOf"),dependantsOf:a(function(e,t){if(this.hasNode(e)){var n=[],i=Hs(this.incomingEdges,t,n,this.circular);i(e);var r=n.indexOf(e);return r>=0&&n.splice(r,1),n}else throw new Error("Node does not exist: "+e)},"dependantsOf"),overallOrder:a(function(e){var t=this,n=[],i=Array.from(this.nodes.keys());if(i.length===0)return n;if(!this.circular){var r=Hs(this.outgoingEdges,!1,[],this.circular);i.forEach(function(s){r(s)})}var o=Hs(this.outgoingEdges,e,n,this.circular);return i.filter(function(s){return t.incomingEdges.get(s).length===0}).forEach(function(s){o(s)}),this.circular&&i.filter(function(s){return n.indexOf(s)===-1}).forEach(function(s){o(s)}),n},"overallOrder"),entryNodes:a(function(){var e=this;return Array.from(this.nodes.keys()).filter(function(t){return e.incomingEdges.get(t).length===0})},"entryNodes")};Zn.prototype.directDependentsOf=Zn.prototype.directDependantsOf;Zn.prototype.dependentsOf=Zn.prototype.dependantsOf;var ec=Kh.DepGraphCycleError=function(e){var t="Dependency Cycle Found: "+e.join(" -> "),n=new Error(t);return n.cyclePath=e,Object.setPrototypeOf(n,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(n,ec),n};ec.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(ec,Error)});var OO={};Et(OO,{installBindings:()=>Gx});var f={};Et(f,{$brand:()=>po,$input:()=>yp,$output:()=>gp,NEVER:()=>ac,TimePrecision:()=>_p,ZodAny:()=>pf,ZodArray:()=>hf,ZodBase64:()=>La,ZodBase64URL:()=>Pa,ZodBigInt:()=>dn,ZodBigIntFormat:()=>Ca,ZodBoolean:()=>pn,ZodCIDRv4:()=>Aa,ZodCIDRv6:()=>za,ZodCUID:()=>Oa,ZodCUID2:()=>Na,ZodCatch:()=>Pf,ZodCodec:()=>qa,ZodCustom:()=>Oi,ZodCustomStringFormat:()=>un,ZodDate:()=>Si,ZodDefault:()=>Df,ZodDiscriminatedUnion:()=>yf,ZodE164:()=>Ua,ZodEmail:()=>$a,ZodEmoji:()=>Ia,ZodEnum:()=>sn,ZodError:()=>IT,ZodExactOptional:()=>Nf,ZodFile:()=>Ef,ZodFirstPartyTypeKind:()=>Yf,ZodFunction:()=>Jf,ZodGUID:()=>yi,ZodIPv4:()=>Ra,ZodIPv6:()=>ja,ZodISODate:()=>va,ZodISODateTime:()=>ya,ZodISODuration:()=>xa,ZodISOTime:()=>ba,ZodIntersection:()=>vf,ZodIssueCode:()=>OT,ZodJWT:()=>Fa,ZodKSUID:()=>Da,ZodLazy:()=>Zf,ZodLiteral:()=>If,ZodMAC:()=>nf,ZodMap:()=>Tf,ZodNaN:()=>Ff,ZodNanoID:()=>Ea,ZodNever:()=>ff,ZodNonOptional:()=>Ja,ZodNull:()=>uf,ZodNullable:()=>wf,ZodNumber:()=>ln,ZodNumberFormat:()=>gr,ZodObject:()=>$i,ZodOptional:()=>Ba,ZodPipe:()=>Qa,ZodPrefault:()=>jf,ZodPromise:()=>Bf,ZodReadonly:()=>Cf,ZodRealError:()=>tt,ZodRecord:()=>Ei,ZodSet:()=>$f,ZodString:()=>cn,ZodStringFormat:()=>oe,ZodSuccess:()=>Lf,ZodSymbol:()=>sf,ZodTemplateLiteral:()=>Mf,ZodTransform:()=>Of,ZodTuple:()=>xf,ZodType:()=>Y,ZodULID:()=>ka,ZodURL:()=>_i,ZodUUID:()=>wt,ZodUndefined:()=>cf,ZodUnion:()=>Ii,ZodUnknown:()=>df,ZodVoid:()=>mf,ZodXID:()=>wa,ZodXor:()=>gf,_ZodString:()=>Ta,_default:()=>Rf,_function:()=>qy,any:()=>Ey,array:()=>Ti,base64:()=>uy,base64url:()=>ly,bigint:()=>_y,boolean:()=>af,catch:()=>Uf,check:()=>Yy,cidrv4:()=>sy,cidrv6:()=>cy,clone:()=>Ce,codec:()=>By,coerce:()=>Kf,config:()=>me,core:()=>Ut,cuid:()=>Hg,cuid2:()=>ey,custom:()=>Ky,date:()=>Ny,decode:()=>Kd,decodeAsync:()=>Xd,describe:()=>Wy,discriminatedUnion:()=>Ay,e164:()=>py,email:()=>Zg,emoji:()=>Wg,encode:()=>Yd,encodeAsync:()=>Wd,endsWith:()=>Kr,enum:()=>Za,exactOptional:()=>kf,file:()=>Vy,flattenError:()=>ti,float32:()=>yy,float64:()=>vy,formatError:()=>ri,fromJSONSchema:()=>iv,function:()=>qy,getErrorMap:()=>kT,globalRegistry:()=>De,gt:()=>Nt,gte:()=>Ve,guid:()=>Gg,hash:()=>gy,hex:()=>hy,hostname:()=>my,httpUrl:()=>Kg,includes:()=>qr,instanceof:()=>Hy,int:()=>Sa,int32:()=>by,int64:()=>Sy,intersection:()=>bf,ipv4:()=>iy,ipv6:()=>ay,iso:()=>an,json:()=>tv,jwt:()=>dy,keyof:()=>ky,ksuid:()=>ny,lazy:()=>Gf,length:()=>mr,literal:()=>Cy,locales:()=>fi,looseObject:()=>Ry,looseRecord:()=>Ly,lowercase:()=>Jr,lt:()=>Ot,lte:()=>at,mac:()=>oy,map:()=>Py,maxLength:()=>fr,maxSize:()=>Kt,meta:()=>Xy,mime:()=>Wr,minLength:()=>Pt,minSize:()=>kt,multipleOf:()=>Yt,nan:()=>Gy,nanoid:()=>Xg,nativeEnum:()=>Fy,negative:()=>sa,never:()=>Va,nonnegative:()=>ua,nonoptional:()=>zf,nonpositive:()=>ca,normalize:()=>Xr,null:()=>lf,nullable:()=>bi,nullish:()=>My,number:()=>of,object:()=>wy,optional:()=>vi,overwrite:()=>St,parse:()=>Bd,parseAsync:()=>Jd,partialRecord:()=>zy,pipe:()=>xi,positive:()=>aa,prefault:()=>Af,preprocess:()=>rv,prettifyError:()=>vc,promise:()=>Qy,property:()=>la,readonly:()=>Vf,record:()=>Sf,refine:()=>Qf,regex:()=>Br,regexes:()=>gt,registry:()=>Fo,safeDecode:()=>ef,safeDecodeAsync:()=>rf,safeEncode:()=>Hd,safeEncodeAsync:()=>tf,safeParse:()=>Qd,safeParseAsync:()=>qd,set:()=>Uy,setErrorMap:()=>NT,size:()=>dr,slugify:()=>rn,startsWith:()=>Yr,strictObject:()=>Dy,string:()=>_a,stringFormat:()=>fy,stringbool:()=>ev,success:()=>Zy,superRefine:()=>qf,symbol:()=>$y,templateLiteral:()=>Jy,toJSONSchema:()=>ma,toLowerCase:()=>en,toUpperCase:()=>tn,transform:()=>Ga,treeifyError:()=>yc,trim:()=>Hr,tuple:()=>_f,uint32:()=>xy,uint64:()=>Ty,ulid:()=>ty,undefined:()=>Iy,union:()=>Ma,unknown:()=>hr,uppercase:()=>Qr,url:()=>Yg,util:()=>O,uuid:()=>Bg,uuidv4:()=>Jg,uuidv6:()=>Qg,uuidv7:()=>qg,void:()=>Oy,xid:()=>ry,xor:()=>jy});var Ut={};Et(Ut,{$ZodAny:()=>Ju,$ZodArray:()=>Wu,$ZodAsyncError:()=>_t,$ZodBase64:()=>Lu,$ZodBase64URL:()=>Pu,$ZodBigInt:()=>zo,$ZodBigIntFormat:()=>Mu,$ZodBoolean:()=>ai,$ZodCIDRv4:()=>ju,$ZodCIDRv6:()=>Au,$ZodCUID:()=>_u,$ZodCUID2:()=>Su,$ZodCatch:()=>hl,$ZodCheck:()=>se,$ZodCheckBigIntFormat:()=>Wc,$ZodCheckEndsWith:()=>uu,$ZodCheckGreaterThan:()=>No,$ZodCheckIncludes:()=>su,$ZodCheckLengthEquals:()=>nu,$ZodCheckLessThan:()=>Oo,$ZodCheckLowerCase:()=>ou,$ZodCheckMaxLength:()=>tu,$ZodCheckMaxSize:()=>Xc,$ZodCheckMimeType:()=>pu,$ZodCheckMinLength:()=>ru,$ZodCheckMinSize:()=>Hc,$ZodCheckMultipleOf:()=>Yc,$ZodCheckNumberFormat:()=>Kc,$ZodCheckOverwrite:()=>du,$ZodCheckProperty:()=>lu,$ZodCheckRegex:()=>iu,$ZodCheckSizeEquals:()=>eu,$ZodCheckStartsWith:()=>cu,$ZodCheckStringFormat:()=>Zr,$ZodCheckUpperCase:()=>au,$ZodCodec:()=>ci,$ZodCustom:()=>Tl,$ZodCustomStringFormat:()=>Cu,$ZodDate:()=>Ku,$ZodDefault:()=>pl,$ZodDiscriminatedUnion:()=>el,$ZodE164:()=>Uu,$ZodEmail:()=>yu,$ZodEmoji:()=>bu,$ZodEncodeError:()=>Gt,$ZodEnum:()=>ol,$ZodError:()=>ei,$ZodExactOptional:()=>ul,$ZodFile:()=>sl,$ZodFunction:()=>xl,$ZodGUID:()=>hu,$ZodIPv4:()=>wu,$ZodIPv6:()=>Du,$ZodISODate:()=>Ou,$ZodISODateTime:()=>Eu,$ZodISODuration:()=>ku,$ZodISOTime:()=>Nu,$ZodIntersection:()=>tl,$ZodJWT:()=>Fu,$ZodKSUID:()=>Iu,$ZodLazy:()=>Sl,$ZodLiteral:()=>al,$ZodMAC:()=>Ru,$ZodMap:()=>nl,$ZodNaN:()=>gl,$ZodNanoID:()=>xu,$ZodNever:()=>qu,$ZodNonOptional:()=>fl,$ZodNull:()=>Bu,$ZodNullable:()=>ll,$ZodNumber:()=>Ao,$ZodNumberFormat:()=>Vu,$ZodObject:()=>Ag,$ZodObjectJIT:()=>Xu,$ZodOptional:()=>Po,$ZodPipe:()=>yl,$ZodPrefault:()=>dl,$ZodPromise:()=>_l,$ZodReadonly:()=>vl,$ZodRealError:()=>et,$ZodRecord:()=>rl,$ZodRegistry:()=>Uo,$ZodSet:()=>il,$ZodString:()=>pr,$ZodStringFormat:()=>ie,$ZodSuccess:()=>ml,$ZodSymbol:()=>Zu,$ZodTemplateLiteral:()=>bl,$ZodTransform:()=>cl,$ZodTuple:()=>Lo,$ZodType:()=>B,$ZodULID:()=>Tu,$ZodURL:()=>vu,$ZodUUID:()=>gu,$ZodUndefined:()=>Gu,$ZodUnion:()=>si,$ZodUnknown:()=>Qu,$ZodVoid:()=>Yu,$ZodXID:()=>$u,$ZodXor:()=>Hu,$brand:()=>po,$constructor:()=>v,$input:()=>yp,$output:()=>gp,Doc:()=>oi,JSONSchema:()=>Vg,JSONSchemaGenerator:()=>ha,NEVER:()=>ac,TimePrecision:()=>_p,_any:()=>Mp,_array:()=>Yp,_base64:()=>ra,_base64url:()=>na,_bigint:()=>zp,_boolean:()=>jp,_catch:()=>yT,_check:()=>Cg,_cidrv4:()=>ea,_cidrv6:()=>ta,_coercedBigint:()=>Lp,_coercedBoolean:()=>Ap,_coercedDate:()=>Qp,_coercedNumber:()=>Op,_coercedString:()=>bp,_cuid:()=>Qo,_cuid2:()=>qo,_custom:()=>Wp,_date:()=>Jp,_decode:()=>vo,_decodeAsync:()=>xo,_default:()=>mT,_discriminatedUnion:()=>rT,_e164:()=>ia,_email:()=>Co,_emoji:()=>Bo,_encode:()=>yo,_encodeAsync:()=>bo,_endsWith:()=>Kr,_enum:()=>cT,_file:()=>Kp,_float32:()=>kp,_float64:()=>wp,_gt:()=>Nt,_gte:()=>Ve,_guid:()=>mi,_includes:()=>qr,_int:()=>Np,_int32:()=>Dp,_int64:()=>Pp,_intersection:()=>nT,_ipv4:()=>Xo,_ipv6:()=>Ho,_isoDate:()=>Tp,_isoDateTime:()=>Sp,_isoDuration:()=>Ip,_isoTime:()=>$p,_jwt:()=>oa,_ksuid:()=>Wo,_lazy:()=>_T,_length:()=>mr,_literal:()=>lT,_lowercase:()=>Jr,_lt:()=>Ot,_lte:()=>at,_mac:()=>xp,_map:()=>aT,_max:()=>at,_maxLength:()=>fr,_maxSize:()=>Kt,_mime:()=>Wr,_min:()=>Ve,_minLength:()=>Pt,_minSize:()=>kt,_multipleOf:()=>Yt,_nan:()=>qp,_nanoid:()=>Jo,_nativeEnum:()=>uT,_negative:()=>sa,_never:()=>Gp,_nonnegative:()=>ua,_nonoptional:()=>hT,_nonpositive:()=>ca,_normalize:()=>Xr,_null:()=>Vp,_nullable:()=>fT,_number:()=>Ep,_optional:()=>dT,_overwrite:()=>St,_parse:()=>Fr,_parseAsync:()=>Cr,_pipe:()=>vT,_positive:()=>aa,_promise:()=>ST,_property:()=>la,_readonly:()=>bT,_record:()=>oT,_refine:()=>Xp,_regex:()=>Br,_safeDecode:()=>So,_safeDecodeAsync:()=>$o,_safeEncode:()=>_o,_safeEncodeAsync:()=>To,_safeParse:()=>Vr,_safeParseAsync:()=>Mr,_set:()=>sT,_size:()=>dr,_slugify:()=>rn,_startsWith:()=>Yr,_string:()=>vp,_stringFormat:()=>nn,_stringbool:()=>rd,_success:()=>gT,_superRefine:()=>Hp,_symbol:()=>Fp,_templateLiteral:()=>xT,_toLowerCase:()=>en,_toUpperCase:()=>tn,_transform:()=>pT,_trim:()=>Hr,_tuple:()=>iT,_uint32:()=>Rp,_uint64:()=>Up,_ulid:()=>Yo,_undefined:()=>Cp,_union:()=>eT,_unknown:()=>Zp,_uppercase:()=>Qr,_url:()=>hi,_uuid:()=>Vo,_uuidv4:()=>Mo,_uuidv6:()=>Zo,_uuidv7:()=>Go,_void:()=>Bp,_xid:()=>Ko,_xor:()=>tT,clone:()=>Ce,config:()=>me,createStandardJSONSchemaMethod:()=>on,createToJSONSchemaMethod:()=>nd,decode:()=>I_,decodeAsync:()=>O_,describe:()=>ed,encode:()=>$_,encodeAsync:()=>E_,extractDefs:()=>Xt,finalize:()=>Ht,flattenError:()=>ti,formatError:()=>ri,globalConfig:()=>Qn,globalRegistry:()=>De,initializeContext:()=>Wt,isValidBase64:()=>zu,isValidBase64URL:()=>wg,isValidJWT:()=>Dg,locales:()=>fi,meta:()=>td,parse:()=>ho,parseAsync:()=>go,prettifyError:()=>vc,process:()=>ne,regexes:()=>gt,registry:()=>Fo,safeDecode:()=>k_,safeDecodeAsync:()=>D_,safeEncode:()=>N_,safeEncodeAsync:()=>w_,safeParse:()=>bc,safeParseAsync:()=>xc,toDotPath:()=>dg,toJSONSchema:()=>ma,treeifyError:()=>yc,util:()=>O,version:()=>fu});var ac=Object.freeze({status:"aborted"});function v(e,t,n){function i(c,u){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:u,constr:s,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),t(c,u);let l=s.prototype,p=Object.keys(l);for(let d=0;d<p.length;d++){let m=p[d];m in c||(c[m]=l[m].bind(c))}}a(i,"init");let r=n?.Parent??Object;class o extends r{static{a(this,"Definition")}}Object.defineProperty(o,"name",{value:e});function s(c){var u;let l=n?.Parent?new o:this;i(l,c),(u=l._zod).deferred??(u.deferred=[]);for(let p of l._zod.deferred)p();return l}return a(s,"_"),Object.defineProperty(s,"init",{value:i}),Object.defineProperty(s,Symbol.hasInstance,{value:a(c=>n?.Parent&&c instanceof n.Parent?!0:c?._zod?.traits?.has(e),"value")}),Object.defineProperty(s,"name",{value:e}),s}a(v,"$constructor");var po=Symbol("zod_brand"),_t=class extends Error{static{a(this,"$ZodAsyncError")}constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Gt=class extends Error{static{a(this,"$ZodEncodeError")}constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},Qn={};function me(e){return e&&Object.assign(Qn,e),Qn}a(me,"config");var O={};Et(O,{BIGINT_FORMAT_RANGES:()=>gc,Class:()=>cc,NUMBER_FORMAT_RANGES:()=>hc,aborted:()=>qt,allowsEval:()=>pc,assert:()=>r_,assertEqual:()=>Xx,assertIs:()=>e_,assertNever:()=>t_,assertNotEqual:()=>Hx,assignProp:()=>Jt,base64ToUint8Array:()=>ug,base64urlToUint8Array:()=>b_,cached:()=>Pr,captureStackTrace:()=>mo,cleanEnum:()=>v_,cleanRegex:()=>Kn,clone:()=>Ce,cloneDef:()=>i_,createTransparentProxy:()=>l_,defineLazy:()=>W,esc:()=>fo,escapeRegex:()=>ht,extend:()=>f_,finalizeIssue:()=>He,floatSafeRemainder:()=>uc,getElementAtPath:()=>o_,getEnumValues:()=>Yn,getLengthableOrigin:()=>Hn,getParsedType:()=>u_,getSizableOrigin:()=>Xn,hexToUint8Array:()=>__,isObject:()=>ur,isPlainObject:()=>Qt,issue:()=>Ur,joinValues:()=>_,jsonStringifyReplacer:()=>Lr,merge:()=>h_,mergeDefs:()=>Lt,normalizeParams:()=>N,nullish:()=>Bt,numKeys:()=>c_,objectClone:()=>n_,omit:()=>d_,optionalKeys:()=>mc,parsedType:()=>E,partial:()=>g_,pick:()=>p_,prefixIssues:()=>ot,primitiveTypes:()=>fc,promiseAllObject:()=>a_,propertyKeyTypes:()=>Wn,randomString:()=>s_,required:()=>y_,safeExtend:()=>m_,shallowClone:()=>dc,slugify:()=>lc,stringifyPrimitive:()=>I,uint8ArrayToBase64:()=>lg,uint8ArrayToBase64url:()=>x_,uint8ArrayToHex:()=>S_,unwrapMessage:()=>qn});function Xx(e){return e}a(Xx,"assertEqual");function Hx(e){return e}a(Hx,"assertNotEqual");function e_(e){}a(e_,"assertIs");function t_(e){throw new Error("Unexpected value in exhaustive check")}a(t_,"assertNever");function r_(e){}a(r_,"assert");function Yn(e){let t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,r])=>t.indexOf(+i)===-1).map(([i,r])=>r)}a(Yn,"getEnumValues");function _(e,t="|"){return e.map(n=>I(n)).join(t)}a(_,"joinValues");function Lr(e,t){return typeof t=="bigint"?t.toString():t}a(Lr,"jsonStringifyReplacer");function Pr(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}a(Pr,"cached");function Bt(e){return e==null}a(Bt,"nullish");function Kn(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}a(Kn,"cleanRegex");function uc(e,t){let n=(e.toString().split(".")[1]||"").length,i=t.toString(),r=(i.split(".")[1]||"").length;if(r===0&&/\d?e-\d?/.test(i)){let u=i.match(/\d?e-(\d?)/);u?.[1]&&(r=Number.parseInt(u[1]))}let o=n>r?n:r,s=Number.parseInt(e.toFixed(o).replace(".","")),c=Number.parseInt(t.toFixed(o).replace(".",""));return s%c/10**o}a(uc,"floatSafeRemainder");var cg=Symbol("evaluating");function W(e,t,n){let i;Object.defineProperty(e,t,{get(){if(i!==cg)return i===void 0&&(i=cg,i=n()),i},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}a(W,"defineLazy");function n_(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}a(n_,"objectClone");function Jt(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}a(Jt,"assignProp");function Lt(...e){let t={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(t,i)}return Object.defineProperties({},t)}a(Lt,"mergeDefs");function i_(e){return Lt(e._zod.def)}a(i_,"cloneDef");function o_(e,t){return t?t.reduce((n,i)=>n?.[i],e):e}a(o_,"getElementAtPath");function a_(e){let t=Object.keys(e),n=t.map(i=>e[i]);return Promise.all(n).then(i=>{let r={};for(let o=0;o<t.length;o++)r[t[o]]=i[o];return r})}a(a_,"promiseAllObject");function s_(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let i=0;i<e;i++)n+=t[Math.floor(Math.random()*t.length)];return n}a(s_,"randomString");function fo(e){return JSON.stringify(e)}a(fo,"esc");function lc(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}a(lc,"slugify");var mo="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function ur(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}a(ur,"isObject");var pc=Pr(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function Qt(e){if(ur(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(ur(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}a(Qt,"isPlainObject");function dc(e){return Qt(e)?{...e}:Array.isArray(e)?[...e]:e}a(dc,"shallowClone");function c_(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}a(c_,"numKeys");var u_=a(e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},"getParsedType"),Wn=new Set(["string","number","symbol"]),fc=new Set(["string","number","bigint","boolean","symbol","undefined"]);function ht(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}a(ht,"escapeRegex");function Ce(e,t,n){let i=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(i._zod.parent=e),i}a(Ce,"clone");function N(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:a(()=>t,"error")};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:a(()=>t.error,"error")}:t}a(N,"normalizeParams");function l_(e){let t;return new Proxy({},{get(n,i,r){return t??(t=e()),Reflect.get(t,i,r)},set(n,i,r,o){return t??(t=e()),Reflect.set(t,i,r,o)},has(n,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(n,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(n,i,r){return t??(t=e()),Reflect.defineProperty(t,i,r)}})}a(l_,"createTransparentProxy");function I(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}a(I,"stringifyPrimitive");function mc(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}a(mc,"optionalKeys");var hc={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},gc={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function p_(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let o=Lt(e._zod.def,{get shape(){let s={};for(let c in t){if(!(c in n.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&(s[c]=n.shape[c])}return Jt(this,"shape",s),s},checks:[]});return Ce(e,o)}a(p_,"pick");function d_(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let o=Lt(e._zod.def,{get shape(){let s={...e._zod.def.shape};for(let c in t){if(!(c in n.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&delete s[c]}return Jt(this,"shape",s),s},checks:[]});return Ce(e,o)}a(d_,"omit");function f_(e,t){if(!Qt(t))throw new Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let o=e._zod.def.shape;for(let s in t)if(Object.getOwnPropertyDescriptor(o,s)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=Lt(e._zod.def,{get shape(){let o={...e._zod.def.shape,...t};return Jt(this,"shape",o),o}});return Ce(e,r)}a(f_,"extend");function m_(e,t){if(!Qt(t))throw new Error("Invalid input to safeExtend: expected a plain object");let n=Lt(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return Jt(this,"shape",i),i}});return Ce(e,n)}a(m_,"safeExtend");function h_(e,t){let n=Lt(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t._zod.def.shape};return Jt(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:[]});return Ce(e,n)}a(h_,"merge");function g_(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let s=Lt(t._zod.def,{get shape(){let c=t._zod.def.shape,u={...c};if(n)for(let l in n){if(!(l in c))throw new Error(`Unrecognized key: "${l}"`);n[l]&&(u[l]=e?new e({type:"optional",innerType:c[l]}):c[l])}else for(let l in c)u[l]=e?new e({type:"optional",innerType:c[l]}):c[l];return Jt(this,"shape",u),u},checks:[]});return Ce(t,s)}a(g_,"partial");function y_(e,t,n){let i=Lt(t._zod.def,{get shape(){let r=t._zod.def.shape,o={...r};if(n)for(let s in n){if(!(s in o))throw new Error(`Unrecognized key: "${s}"`);n[s]&&(o[s]=new e({type:"nonoptional",innerType:r[s]}))}else for(let s in r)o[s]=new e({type:"nonoptional",innerType:r[s]});return Jt(this,"shape",o),o}});return Ce(t,i)}a(y_,"required");function qt(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}a(qt,"aborted");function ot(e,t){return t.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}a(ot,"prefixIssues");function qn(e){return typeof e=="string"?e:e?.message}a(qn,"unwrapMessage");function He(e,t,n){let i={...e,path:e.path??[]};if(!e.message){let r=qn(e.inst?._zod.def?.error?.(e))??qn(t?.error?.(e))??qn(n.customError?.(e))??qn(n.localeError?.(e))??"Invalid input";i.message=r}return delete i.inst,delete i.continue,t?.reportInput||delete i.input,i}a(He,"finalizeIssue");function Xn(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}a(Xn,"getSizableOrigin");function Hn(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}a(Hn,"getLengthableOrigin");function E(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}a(E,"parsedType");function Ur(...e){let[t,n,i]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:i}:{...t}}a(Ur,"issue");function v_(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}a(v_,"cleanEnum");function ug(e){let t=atob(e),n=new Uint8Array(t.length);for(let i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return n}a(ug,"base64ToUint8Array");function lg(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}a(lg,"uint8ArrayToBase64");function b_(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return ug(t+n)}a(b_,"base64urlToUint8Array");function x_(e){return lg(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}a(x_,"uint8ArrayToBase64url");function __(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)n[i/2]=Number.parseInt(t.slice(i,i+2),16);return n}a(__,"hexToUint8Array");function S_(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}a(S_,"uint8ArrayToHex");var cc=class{static{a(this,"Class")}constructor(...t){}};var pg=a((e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Lr,2),Object.defineProperty(e,"toString",{value:a(()=>e.message,"value"),enumerable:!1})},"initializer"),ei=v("$ZodError",pg),et=v("$ZodError",pg,{Parent:Error});function ti(e,t=n=>n.message){let n={},i=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):i.push(t(r));return{formErrors:i,fieldErrors:n}}a(ti,"flattenError");function ri(e,t=n=>n.message){let n={_errors:[]},i=a(r=>{for(let o of r.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(s=>i({issues:s}));else if(o.code==="invalid_key")i({issues:o.issues});else if(o.code==="invalid_element")i({issues:o.issues});else if(o.path.length===0)n._errors.push(t(o));else{let s=n,c=0;for(;c<o.path.length;){let u=o.path[c];c===o.path.length-1?(s[u]=s[u]||{_errors:[]},s[u]._errors.push(t(o))):s[u]=s[u]||{_errors:[]},s=s[u],c++}}},"processError");return i(e),n}a(ri,"formatError");function yc(e,t=n=>n.message){let n={errors:[]},i=a((r,o=[])=>{var s,c;for(let u of r.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(l=>i({issues:l},u.path));else if(u.code==="invalid_key")i({issues:u.issues},u.path);else if(u.code==="invalid_element")i({issues:u.issues},u.path);else{let l=[...o,...u.path];if(l.length===0){n.errors.push(t(u));continue}let p=n,d=0;for(;d<l.length;){let m=l[d],g=d===l.length-1;typeof m=="string"?(p.properties??(p.properties={}),(s=p.properties)[m]??(s[m]={errors:[]}),p=p.properties[m]):(p.items??(p.items=[]),(c=p.items)[m]??(c[m]={errors:[]}),p=p.items[m]),g&&p.errors.push(t(u)),d++}}},"processError");return i(e),n}a(yc,"treeifyError");function dg(e){let t=[],n=e.map(i=>typeof i=="object"?i.key:i);for(let i of n)typeof i=="number"?t.push(`[${i}]`):typeof i=="symbol"?t.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?t.push(`[${JSON.stringify(i)}]`):(t.length&&t.push("."),t.push(i));return t.join("")}a(dg,"toDotPath");function vc(e){let t=[],n=[...e.issues].sort((i,r)=>(i.path??[]).length-(r.path??[]).length);for(let i of n)t.push(`\u2716 ${i.message}`),i.path?.length&&t.push(` \u2192 at ${dg(i.path)}`);return t.join(`
20
- `)}a(vc,"prettifyError");var Fr=a(e=>(t,n,i,r)=>{let o=i?Object.assign(i,{async:!1}):{async:!1},s=t._zod.run({value:n,issues:[]},o);if(s instanceof Promise)throw new _t;if(s.issues.length){let c=new(r?.Err??e)(s.issues.map(u=>He(u,o,me())));throw mo(c,r?.callee),c}return s.value},"_parse"),ho=Fr(et),Cr=a(e=>async(t,n,i,r)=>{let o=i?Object.assign(i,{async:!0}):{async:!0},s=t._zod.run({value:n,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){let c=new(r?.Err??e)(s.issues.map(u=>He(u,o,me())));throw mo(c,r?.callee),c}return s.value},"_parseAsync"),go=Cr(et),Vr=a(e=>(t,n,i)=>{let r=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},r);if(o instanceof Promise)throw new _t;return o.issues.length?{success:!1,error:new(e??ei)(o.issues.map(s=>He(s,r,me())))}:{success:!0,data:o.value}},"_safeParse"),bc=Vr(et),Mr=a(e=>async(t,n,i)=>{let r=i?Object.assign(i,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},r);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(s=>He(s,r,me())))}:{success:!0,data:o.value}},"_safeParseAsync"),xc=Mr(et),yo=a(e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Fr(e)(t,n,r)},"_encode"),$_=yo(et),vo=a(e=>(t,n,i)=>Fr(e)(t,n,i),"_decode"),I_=vo(et),bo=a(e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Cr(e)(t,n,r)},"_encodeAsync"),E_=bo(et),xo=a(e=>async(t,n,i)=>Cr(e)(t,n,i),"_decodeAsync"),O_=xo(et),_o=a(e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Vr(e)(t,n,r)},"_safeEncode"),N_=_o(et),So=a(e=>(t,n,i)=>Vr(e)(t,n,i),"_safeDecode"),k_=So(et),To=a(e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Mr(e)(t,n,r)},"_safeEncodeAsync"),w_=To(et),$o=a(e=>async(t,n,i)=>Mr(e)(t,n,i),"_safeDecodeAsync"),D_=$o(et);var gt={};Et(gt,{base64:()=>Lc,base64url:()=>Io,bigint:()=>Mc,boolean:()=>Gc,browserEmail:()=>F_,cidrv4:()=>Ac,cidrv6:()=>zc,cuid:()=>_c,cuid2:()=>Sc,date:()=>Uc,datetime:()=>Cc,domain:()=>M_,duration:()=>Oc,e164:()=>Pc,email:()=>kc,emoji:()=>wc,extendedDuration:()=>R_,guid:()=>Nc,hex:()=>Z_,hostname:()=>V_,html5Email:()=>L_,idnEmail:()=>U_,integer:()=>Zc,ipv4:()=>Dc,ipv6:()=>Rc,ksuid:()=>Ic,lowercase:()=>Qc,mac:()=>jc,md5_base64:()=>B_,md5_base64url:()=>J_,md5_hex:()=>G_,nanoid:()=>Ec,null:()=>Bc,number:()=>Eo,rfc5322Email:()=>P_,sha1_base64:()=>q_,sha1_base64url:()=>Y_,sha1_hex:()=>Q_,sha256_base64:()=>W_,sha256_base64url:()=>X_,sha256_hex:()=>K_,sha384_base64:()=>eS,sha384_base64url:()=>tS,sha384_hex:()=>H_,sha512_base64:()=>nS,sha512_base64url:()=>iS,sha512_hex:()=>rS,string:()=>Vc,time:()=>Fc,ulid:()=>Tc,undefined:()=>Jc,unicodeEmail:()=>fg,uppercase:()=>qc,uuid:()=>lr,uuid4:()=>j_,uuid6:()=>A_,uuid7:()=>z_,xid:()=>$c});var _c=/^[cC][^\s-]{8,}$/,Sc=/^[0-9a-z]+$/,Tc=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,$c=/^[0-9a-vA-V]{20}$/,Ic=/^[A-Za-z0-9]{27}$/,Ec=/^[a-zA-Z0-9_-]{21}$/,Oc=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,R_=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Nc=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,lr=a(e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,"uuid"),j_=lr(4),A_=lr(6),z_=lr(7),kc=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,L_=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,P_=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,fg=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,U_=fg,F_=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,C_="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function wc(){return new RegExp(C_,"u")}a(wc,"emoji");var Dc=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Rc=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,jc=a(e=>{let t=ht(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},"mac"),Ac=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,zc=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Lc=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Io=/^[A-Za-z0-9_-]*$/,V_=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,M_=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Pc=/^\+[1-9]\d{6,14}$/,mg="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Uc=new RegExp(`^${mg}$`);function hg(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}a(hg,"timeSource");function Fc(e){return new RegExp(`^${hg(e)}$`)}a(Fc,"time");function Cc(e){let t=hg({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${t}(?:${n.join("|")})`;return new RegExp(`^${mg}T(?:${i})$`)}a(Cc,"datetime");var Vc=a(e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},"string"),Mc=/^-?\d+n?$/,Zc=/^-?\d+$/,Eo=/^-?\d+(?:\.\d+)?$/,Gc=/^(?:true|false)$/i,Bc=/^null$/i;var Jc=/^undefined$/i;var Qc=/^[^A-Z]*$/,qc=/^[^a-z]*$/,Z_=/^[0-9a-fA-F]*$/;function ni(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}a(ni,"fixedBase64");function ii(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}a(ii,"fixedBase64url");var G_=/^[0-9a-fA-F]{32}$/,B_=ni(22,"=="),J_=ii(22),Q_=/^[0-9a-fA-F]{40}$/,q_=ni(27,"="),Y_=ii(27),K_=/^[0-9a-fA-F]{64}$/,W_=ni(43,"="),X_=ii(43),H_=/^[0-9a-fA-F]{96}$/,eS=ni(64,""),tS=ii(64),rS=/^[0-9a-fA-F]{128}$/,nS=ni(86,"=="),iS=ii(86);var se=v("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),yg={number:"number",bigint:"bigint",object:"date"},Oo=v("$ZodCheckLessThan",(e,t)=>{se.init(e,t);let n=yg[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<o&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),No=v("$ZodCheckGreaterThan",(e,t)=>{se.init(e,t);let n=yg[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>o&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Yc=v("$ZodCheckMultipleOf",(e,t)=>{se.init(e,t),e._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):uc(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Kc=v("$ZodCheckNumberFormat",(e,t)=>{se.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),i=n?"int":"number",[r,o]=hc[t.format];e._zod.onattach.push(s=>{let c=s._zod.bag;c.format=t.format,c.minimum=r,c.maximum=o,n&&(c.pattern=Zc)}),e._zod.check=s=>{let c=s.value;if(n){if(!Number.isInteger(c)){s.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?s.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):s.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}c<r&&s.issues.push({origin:"number",input:c,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),c>o&&s.issues.push({origin:"number",input:c,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),Wc=v("$ZodCheckBigIntFormat",(e,t)=>{se.init(e,t);let[n,i]=gc[t.format];e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,o.minimum=n,o.maximum=i}),e._zod.check=r=>{let o=r.value;o<n&&r.issues.push({origin:"bigint",input:o,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),o>i&&r.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Xc=v("$ZodCheckMaxSize",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Bt(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;r.size<=t.maximum||i.issues.push({origin:Xn(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Hc=v("$ZodCheckMinSize",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Bt(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;r.size>=t.minimum||i.issues.push({origin:Xn(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),eu=v("$ZodCheckSizeEquals",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Bt(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=i=>{let r=i.value,o=r.size;if(o===t.size)return;let s=o>t.size;i.issues.push({origin:Xn(r),...s?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),tu=v("$ZodCheckMaxLength",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Bt(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;if(r.length<=t.maximum)return;let s=Hn(r);i.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),ru=v("$ZodCheckMinLength",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Bt(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;if(r.length>=t.minimum)return;let s=Hn(r);i.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),nu=v("$ZodCheckLengthEquals",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Bt(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=i=>{let r=i.value,o=r.length;if(o===t.length)return;let s=Hn(r),c=o>t.length;i.issues.push({origin:s,...c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),Zr=v("$ZodCheckStringFormat",(e,t)=>{var n,i;se.init(e,t),e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,t.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),iu=v("$ZodCheckRegex",(e,t)=>{Zr.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),ou=v("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Qc),Zr.init(e,t)}),au=v("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=qc),Zr.init(e,t)}),su=v("$ZodCheckIncludes",(e,t)=>{se.init(e,t);let n=ht(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=i,e._zod.onattach.push(r=>{let o=r._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),cu=v("$ZodCheckStartsWith",(e,t)=>{se.init(e,t);let n=new RegExp(`^${ht(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),uu=v("$ZodCheckEndsWith",(e,t)=>{se.init(e,t);let n=new RegExp(`.*${ht(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function gg(e,t,n){e.issues.length&&t.issues.push(...ot(n,e.issues))}a(gg,"handleCheckPropertyResult");var lu=v("$ZodCheckProperty",(e,t)=>{se.init(e,t),e._zod.check=n=>{let i=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(r=>gg(r,n,t.property));gg(i,n,t.property)}}),pu=v("$ZodCheckMimeType",(e,t)=>{se.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=t.mime}),e._zod.check=i=>{n.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),du=v("$ZodCheckOverwrite",(e,t)=>{se.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var oi=class{static{a(this,"Doc")}constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let i=t.split(`
13
+ ${D}`),b.pop(),`{${P}}`}case"number":return isFinite(y)?String(y):t?t(y):"null";case"boolean":return y===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(y);default:return t?t(y):void 0}}a(l,"stringifyArrayReplacer");function p(g,y,b,N,L){switch(typeof y){case"string":return nr(y);case"object":{if(y===null)return"null";if(typeof y.toJSON=="function"){if(y=y.toJSON(g),typeof y!="object")return p(g,y,b,N,L);if(y===null)return"null"}if(b.indexOf(y)!==-1)return n;let Z=L;if(Array.isArray(y)){if(y.length===0)return"[]";if(s<b.length+1)return'"[Array]"';b.push(y),L+=N;let X=`
14
+ ${L}`,Ne=`,
15
+ ${L}`,He=Math.min(y.length,c),Ie=0;for(;Ie<He-1;Ie++){let mt=p(String(Ie),y[Ie],b,N,L);X+=mt!==void 0?mt:"null",X+=Ne}let Ae=p(String(Ie),y[Ie],b,N,L);if(X+=Ae!==void 0?Ae:"null",y.length-1>c){let mt=y.length-c-1;X+=`${Ne}"... ${Sr(mt)} not stringified"`}return X+=`
16
+ ${Z}`,b.pop(),`[${X}]`}let D=Object.keys(y),P=D.length;if(P===0)return"{}";if(s<b.length+1)return'"[Object]"';L+=N;let H=`,
17
+ ${L}`,ce="",re="",Se=Math.min(P,c);_m(y)&&(ce+=wv(y,H,c),D=D.slice(y.length),Se-=y.length,re=H),r&&(D=bm(D,o)),b.push(y);for(let X=0;X<Se;X++){let Ne=D[X],He=p(Ne,y[Ne],b,N,L);He!==void 0&&(ce+=`${re}${nr(Ne)}: ${He}`,re=H)}if(P>c){let X=P-c;ce+=`${re}"...": "${Sr(X)} not stringified"`,re=H}return re!==""&&(ce=`
18
+ ${L}${ce}
19
+ ${Z}`),b.pop(),`{${ce}}`}case"number":return isFinite(y)?String(y):t?t(y):"null";case"boolean":return y===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(y);default:return t?t(y):void 0}}a(p,"stringifyIndent");function d(g,y,b){switch(typeof y){case"string":return nr(y);case"object":{if(y===null)return"null";if(typeof y.toJSON=="function"){if(y=y.toJSON(g),typeof y!="object")return d(g,y,b);if(y===null)return"null"}if(b.indexOf(y)!==-1)return n;let N="",L=y.length!==void 0;if(L&&Array.isArray(y)){if(y.length===0)return"[]";if(s<b.length+1)return'"[Array]"';b.push(y);let ce=Math.min(y.length,c),re=0;for(;re<ce-1;re++){let X=d(String(re),y[re],b);N+=X!==void 0?X:"null",N+=","}let Se=d(String(re),y[re],b);if(N+=Se!==void 0?Se:"null",y.length-1>c){let X=y.length-c-1;N+=`,"... ${Sr(X)} not stringified"`}return b.pop(),`[${N}]`}let Z=Object.keys(y),D=Z.length;if(D===0)return"{}";if(s<b.length+1)return'"[Object]"';let P="",H=Math.min(D,c);L&&_m(y)&&(N+=wv(y,",",c),Z=Z.slice(y.length),H-=y.length,P=","),r&&(Z=bm(Z,o)),b.push(y);for(let ce=0;ce<H;ce++){let re=Z[ce],Se=d(re,y[re],b);Se!==void 0&&(N+=`${P}${nr(re)}:${Se}`,P=",")}if(D>c){let ce=D-c;N+=`${P}"...":"${Sr(ce)} not stringified"`}return b.pop(),`{${N}}`}case"number":return isFinite(y)?String(y):t?t(y):"null";case"boolean":return y===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(y);default:return t?t(y):void 0}}a(d,"stringifySimple");function m(g,y,b){if(arguments.length>1){let N="";if(typeof b=="number"?N=" ".repeat(Math.min(b,10)):typeof b=="string"&&(N=b.slice(0,10)),y!=null){if(typeof y=="function")return u("",{"":g},[],y,N,"");if(Array.isArray(y))return l("",g,[],P$(y),N,"")}if(N.length!==0)return p("",g,[],N,"")}return d("",g,[])}return a(m,"stringify"),m}a(Sm,"configure")});var jb=hg(ag=>{function ac(e,t,n,i){var r=new Set;return function(o){if(!r.has(o)){var s=new Set,c=[],u=[];for(u.push({node:o,processed:!1});u.length>0;){var l=u[u.length-1],p=l.processed,d=l.node;if(p)u.pop(),c.pop(),s.delete(d),r.add(d),(!t||e.get(d).length===0)&&n.push(d);else{if(r.has(d)){u.pop();continue}else if(s.has(d)){if(i){u.pop();continue}throw c.push(d),new sc(c)}s.add(d),c.push(d);for(var m=e.get(d),g=m.length-1;g>=0;g--)u.push({node:m[g],processed:!1});l.processed=!0}}}}}a(ac,"createDFS");var Qn=ag.DepGraph=a(function(t){this.nodes=new Map,this.outgoingEdges=new Map,this.incomingEdges=new Map,this.circular=t&&!!t.circular},"DepGraph");Qn.prototype={size:a(function(){return this.nodes.size},"size"),addNode:a(function(e,t){this.hasNode(e)||(arguments.length===2?this.nodes.set(e,t):this.nodes.set(e,e),this.outgoingEdges.set(e,[]),this.incomingEdges.set(e,[]))},"addNode"),removeNode:a(function(e){this.hasNode(e)&&(this.nodes.delete(e),this.outgoingEdges.delete(e),this.incomingEdges.delete(e),[this.incomingEdges,this.outgoingEdges].forEach(function(t){t.forEach(function(n){var i=n.indexOf(e);i>=0&&n.splice(i,1)})}))},"removeNode"),hasNode:a(function(e){return this.nodes.has(e)},"hasNode"),getNodeData:a(function(e){if(this.hasNode(e))return this.nodes.get(e);throw new Error("Node does not exist: "+e)},"getNodeData"),setNodeData:a(function(e,t){if(this.hasNode(e))this.nodes.set(e,t);else throw new Error("Node does not exist: "+e)},"setNodeData"),addDependency:a(function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);if(!this.hasNode(t))throw new Error("Node does not exist: "+t);return this.outgoingEdges.get(e).indexOf(t)===-1&&this.outgoingEdges.get(e).push(t),this.incomingEdges.get(t).indexOf(e)===-1&&this.incomingEdges.get(t).push(e),!0},"addDependency"),removeDependency:a(function(e,t){var n;this.hasNode(e)&&(n=this.outgoingEdges.get(e).indexOf(t),n>=0&&this.outgoingEdges.get(e).splice(n,1)),this.hasNode(t)&&(n=this.incomingEdges.get(t).indexOf(e),n>=0&&this.incomingEdges.get(t).splice(n,1))},"removeDependency"),clone:a(function(){var e=this,t=new Qn;return e.nodes.forEach(function(n,i){t.nodes.set(i,n),t.outgoingEdges.set(i,e.outgoingEdges.get(i).slice(0)),t.incomingEdges.set(i,e.incomingEdges.get(i).slice(0))}),t.circular=e.circular,t},"clone"),directDependenciesOf:a(function(e){if(this.hasNode(e))return this.outgoingEdges.get(e).slice(0);throw new Error("Node does not exist: "+e)},"directDependenciesOf"),directDependantsOf:a(function(e){if(this.hasNode(e))return this.incomingEdges.get(e).slice(0);throw new Error("Node does not exist: "+e)},"directDependantsOf"),dependenciesOf:a(function(e,t){if(this.hasNode(e)){var n=[],i=ac(this.outgoingEdges,t,n,this.circular);i(e);var r=n.indexOf(e);return r>=0&&n.splice(r,1),n}else throw new Error("Node does not exist: "+e)},"dependenciesOf"),dependantsOf:a(function(e,t){if(this.hasNode(e)){var n=[],i=ac(this.incomingEdges,t,n,this.circular);i(e);var r=n.indexOf(e);return r>=0&&n.splice(r,1),n}else throw new Error("Node does not exist: "+e)},"dependantsOf"),overallOrder:a(function(e){var t=this,n=[],i=Array.from(this.nodes.keys());if(i.length===0)return n;if(!this.circular){var r=ac(this.outgoingEdges,!1,[],this.circular);i.forEach(function(s){r(s)})}var o=ac(this.outgoingEdges,e,n,this.circular);return i.filter(function(s){return t.incomingEdges.get(s).length===0}).forEach(function(s){o(s)}),this.circular&&i.filter(function(s){return n.indexOf(s)===-1}).forEach(function(s){o(s)}),n},"overallOrder"),entryNodes:a(function(){var e=this;return Array.from(this.nodes.keys()).filter(function(t){return e.incomingEdges.get(t).length===0})},"entryNodes")};Qn.prototype.directDependentsOf=Qn.prototype.directDependantsOf;Qn.prototype.dependentsOf=Qn.prototype.dependantsOf;var sc=ag.DepGraphCycleError=function(e){var t="Dependency Cycle Found: "+e.join(" -> "),n=new Error(t);return n.cyclePath=e,Object.setPrototypeOf(n,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(n,sc),n};sc.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(sc,Error)});var WO={};Ot(WO,{installBindings:()=>c_});var f={};Ot(f,{$brand:()=>go,$input:()=>$p,$output:()=>Tp,NEVER:()=>fc,TimePrecision:()=>wp,ZodAny:()=>vf,ZodArray:()=>Sf,ZodBase64:()=>Ca,ZodBase64URL:()=>Va,ZodBigInt:()=>hn,ZodBigIntFormat:()=>Ga,ZodBoolean:()=>mn,ZodCIDRv4:()=>Ua,ZodCIDRv6:()=>Fa,ZodCUID:()=>Da,ZodCUID2:()=>Ra,ZodCatch:()=>Gf,ZodCodec:()=>Ha,ZodCustom:()=>Di,ZodCustomStringFormat:()=>dn,ZodDate:()=>Ei,ZodDefault:()=>Uf,ZodDiscriminatedUnion:()=>$f,ZodE164:()=>Ma,ZodEmail:()=>wa,ZodEmoji:()=>Na,ZodEnum:()=>ln,ZodError:()=>ZT,ZodExactOptional:()=>Lf,ZodFile:()=>Af,ZodFirstPartyTypeKind:()=>rm,ZodFunction:()=>Xf,ZodGUID:()=>_i,ZodIPv4:()=>za,ZodIPv6:()=>Pa,ZodISODate:()=>Sa,ZodISODateTime:()=>_a,ZodISODuration:()=>$a,ZodISOTime:()=>Ta,ZodIntersection:()=>If,ZodIssueCode:()=>BT,ZodJWT:()=>Za,ZodKSUID:()=>La,ZodLazy:()=>Kf,ZodLiteral:()=>Rf,ZodMAC:()=>pf,ZodMap:()=>kf,ZodNaN:()=>Jf,ZodNanoID:()=>ka,ZodNever:()=>bf,ZodNonOptional:()=>Ka,ZodNull:()=>gf,ZodNullable:()=>Pf,ZodNumber:()=>fn,ZodNumberFormat:()=>xr,ZodObject:()=>wi,ZodOptional:()=>Ya,ZodPipe:()=>Wa,ZodPrefault:()=>Cf,ZodPromise:()=>Hf,ZodReadonly:()=>Qf,ZodRealError:()=>tt,ZodRecord:()=>ki,ZodSet:()=>Df,ZodString:()=>pn,ZodStringFormat:()=>oe,ZodSuccess:()=>Zf,ZodSymbol:()=>mf,ZodTemplateLiteral:()=>Yf,ZodTransform:()=>jf,ZodTuple:()=>Of,ZodType:()=>Y,ZodULID:()=>Aa,ZodURL:()=>Ii,ZodUUID:()=>Dt,ZodUndefined:()=>hf,ZodUnion:()=>Ni,ZodUnknown:()=>xf,ZodVoid:()=>_f,ZodXID:()=>ja,ZodXor:()=>Tf,_ZodString:()=>Oa,_default:()=>Ff,_function:()=>iv,any:()=>zy,array:()=>Oi,base64:()=>xy,base64url:()=>by,bigint:()=>Dy,boolean:()=>ff,catch:()=>Bf,check:()=>ov,cidrv4:()=>yy,cidrv6:()=>vy,clone:()=>Ce,codec:()=>tv,coerce:()=>nm,config:()=>me,core:()=>Ft,cuid:()=>uy,cuid2:()=>ly,custom:()=>av,date:()=>Uy,decode:()=>nf,decodeAsync:()=>af,describe:()=>sv,discriminatedUnion:()=>Gy,e164:()=>_y,email:()=>Xg,emoji:()=>sy,encode:()=>rf,encodeAsync:()=>of,endsWith:()=>Xr,enum:()=>Qa,exactOptional:()=>zf,file:()=>Wy,flattenError:()=>oi,float32:()=>Oy,float64:()=>wy,formatError:()=>ai,fromJSONSchema:()=>mv,function:()=>iv,getErrorMap:()=>QT,globalRegistry:()=>De,gt:()=>Nt,gte:()=>Ve,guid:()=>ey,hash:()=>Ey,hex:()=>Iy,hostname:()=>$y,httpUrl:()=>ay,includes:()=>Wr,instanceof:()=>uv,int:()=>Ea,int32:()=>Ny,int64:()=>Ry,intersection:()=>Ef,ipv4:()=>my,ipv6:()=>gy,iso:()=>un,json:()=>pv,jwt:()=>Sy,keyof:()=>Fy,ksuid:()=>fy,lazy:()=>Wf,length:()=>yr,literal:()=>Ky,locales:()=>yi,looseObject:()=>My,looseRecord:()=>Jy,lowercase:()=>Yr,lt:()=>wt,lte:()=>at,mac:()=>hy,map:()=>Qy,maxLength:()=>gr,maxSize:()=>Ht,meta:()=>cv,mime:()=>en,minLength:()=>Ut,minSize:()=>kt,multipleOf:()=>Wt,nan:()=>ev,nanoid:()=>cy,nativeEnum:()=>Yy,negative:()=>pa,never:()=>Ba,nonnegative:()=>fa,nonoptional:()=>Mf,nonpositive:()=>da,normalize:()=>tn,null:()=>yf,nullable:()=>Ti,nullish:()=>Hy,number:()=>df,object:()=>Cy,optional:()=>Si,overwrite:()=>St,parse:()=>Hd,parseAsync:()=>Xd,partialRecord:()=>By,pipe:()=>$i,positive:()=>la,prefault:()=>Vf,preprocess:()=>dv,prettifyError:()=>Ic,promise:()=>nv,property:()=>ma,readonly:()=>qf,record:()=>Nf,refine:()=>em,regex:()=>qr,regexes:()=>gt,registry:()=>Zo,safeDecode:()=>cf,safeDecodeAsync:()=>lf,safeEncode:()=>sf,safeEncodeAsync:()=>uf,safeParse:()=>ef,safeParseAsync:()=>tf,set:()=>qy,setErrorMap:()=>JT,size:()=>hr,slugify:()=>an,startsWith:()=>Hr,strictObject:()=>Vy,string:()=>Ia,stringFormat:()=>Ty,stringbool:()=>lv,success:()=>Xy,superRefine:()=>tm,symbol:()=>jy,templateLiteral:()=>rv,toJSONSchema:()=>va,toLowerCase:()=>nn,toUpperCase:()=>on,transform:()=>qa,treeifyError:()=>$c,trim:()=>rn,tuple:()=>wf,uint32:()=>ky,uint64:()=>Ay,ulid:()=>py,undefined:()=>Ly,union:()=>Ja,unknown:()=>vr,uppercase:()=>Kr,url:()=>oy,util:()=>O,uuid:()=>ty,uuidv4:()=>ry,uuidv6:()=>ny,uuidv7:()=>iy,void:()=>Py,xid:()=>dy,xor:()=>Zy});var Ft={};Ot(Ft,{$ZodAny:()=>Xu,$ZodArray:()=>il,$ZodAsyncError:()=>_t,$ZodBase64:()=>Zu,$ZodBase64URL:()=>Gu,$ZodBigInt:()=>Fo,$ZodBigIntFormat:()=>Yu,$ZodBoolean:()=>li,$ZodCIDRv4:()=>Cu,$ZodCIDRv6:()=>Vu,$ZodCUID:()=>wu,$ZodCUID2:()=>Nu,$ZodCatch:()=>Sl,$ZodCheck:()=>se,$ZodCheckBigIntFormat:()=>iu,$ZodCheckEndsWith:()=>gu,$ZodCheckGreaterThan:()=>Ro,$ZodCheckIncludes:()=>mu,$ZodCheckLengthEquals:()=>lu,$ZodCheckLessThan:()=>Do,$ZodCheckLowerCase:()=>du,$ZodCheckMaxLength:()=>cu,$ZodCheckMaxSize:()=>ou,$ZodCheckMimeType:()=>vu,$ZodCheckMinLength:()=>uu,$ZodCheckMinSize:()=>au,$ZodCheckMultipleOf:()=>ru,$ZodCheckNumberFormat:()=>nu,$ZodCheckOverwrite:()=>xu,$ZodCheckProperty:()=>yu,$ZodCheckRegex:()=>pu,$ZodCheckSizeEquals:()=>su,$ZodCheckStartsWith:()=>hu,$ZodCheckStringFormat:()=>Jr,$ZodCheckUpperCase:()=>fu,$ZodCodec:()=>di,$ZodCustom:()=>kl,$ZodCustomStringFormat:()=>Qu,$ZodDate:()=>nl,$ZodDefault:()=>vl,$ZodDiscriminatedUnion:()=>sl,$ZodE164:()=>Bu,$ZodEmail:()=>$u,$ZodEmoji:()=>Eu,$ZodEncodeError:()=>Jt,$ZodEnum:()=>dl,$ZodError:()=>ii,$ZodExactOptional:()=>gl,$ZodFile:()=>ml,$ZodFunction:()=>Ol,$ZodGUID:()=>Su,$ZodIPv4:()=>Pu,$ZodIPv6:()=>Uu,$ZodISODate:()=>ju,$ZodISODateTime:()=>Au,$ZodISODuration:()=>zu,$ZodISOTime:()=>Lu,$ZodIntersection:()=>cl,$ZodJWT:()=>Ju,$ZodKSUID:()=>Ru,$ZodLazy:()=>Nl,$ZodLiteral:()=>fl,$ZodMAC:()=>Fu,$ZodMap:()=>ll,$ZodNaN:()=>Tl,$ZodNanoID:()=>Ou,$ZodNever:()=>tl,$ZodNonOptional:()=>bl,$ZodNull:()=>Hu,$ZodNullable:()=>yl,$ZodNumber:()=>Uo,$ZodNumberFormat:()=>qu,$ZodObject:()=>Gg,$ZodObjectJIT:()=>ol,$ZodOptional:()=>Vo,$ZodPipe:()=>$l,$ZodPrefault:()=>xl,$ZodPromise:()=>wl,$ZodReadonly:()=>Il,$ZodRealError:()=>et,$ZodRecord:()=>ul,$ZodRegistry:()=>Mo,$ZodSet:()=>pl,$ZodString:()=>mr,$ZodStringFormat:()=>ie,$ZodSuccess:()=>_l,$ZodSymbol:()=>Ku,$ZodTemplateLiteral:()=>El,$ZodTransform:()=>hl,$ZodTuple:()=>Co,$ZodType:()=>B,$ZodULID:()=>ku,$ZodURL:()=>Iu,$ZodUUID:()=>Tu,$ZodUndefined:()=>Wu,$ZodUnion:()=>pi,$ZodUnknown:()=>el,$ZodVoid:()=>rl,$ZodXID:()=>Du,$ZodXor:()=>al,$brand:()=>go,$constructor:()=>v,$input:()=>$p,$output:()=>Tp,Doc:()=>ui,JSONSchema:()=>Wg,JSONSchemaGenerator:()=>xa,NEVER:()=>fc,TimePrecision:()=>wp,_any:()=>Yp,_array:()=>rd,_base64:()=>aa,_base64url:()=>sa,_bigint:()=>Mp,_boolean:()=>Cp,_catch:()=>LT,_check:()=>Kg,_cidrv4:()=>ia,_cidrv6:()=>oa,_coercedBigint:()=>Zp,_coercedBoolean:()=>Vp,_coercedDate:()=>ed,_coercedNumber:()=>jp,_coercedString:()=>Ep,_cuid:()=>Wo,_cuid2:()=>Ho,_custom:()=>id,_date:()=>Xp,_decode:()=>So,_decodeAsync:()=>$o,_default:()=>RT,_discriminatedUnion:()=>bT,_e164:()=>ca,_email:()=>Go,_emoji:()=>Yo,_encode:()=>_o,_encodeAsync:()=>To,_endsWith:()=>Xr,_enum:()=>ET,_file:()=>nd,_float32:()=>zp,_float64:()=>Pp,_gt:()=>Nt,_gte:()=>Ve,_guid:()=>vi,_includes:()=>Wr,_int:()=>Lp,_int32:()=>Up,_int64:()=>Gp,_intersection:()=>_T,_ipv4:()=>ra,_ipv6:()=>na,_isoDate:()=>kp,_isoDateTime:()=>Np,_isoDuration:()=>Rp,_isoTime:()=>Dp,_jwt:()=>ua,_ksuid:()=>ta,_lazy:()=>FT,_length:()=>yr,_literal:()=>wT,_lowercase:()=>Yr,_lt:()=>wt,_lte:()=>at,_mac:()=>Op,_map:()=>$T,_max:()=>at,_maxLength:()=>gr,_maxSize:()=>Ht,_mime:()=>en,_min:()=>Ve,_minLength:()=>Ut,_minSize:()=>kt,_multipleOf:()=>Wt,_nan:()=>td,_nanoid:()=>Ko,_nativeEnum:()=>OT,_negative:()=>pa,_never:()=>Wp,_nonnegative:()=>fa,_nonoptional:()=>AT,_nonpositive:()=>da,_normalize:()=>tn,_null:()=>qp,_nullable:()=>DT,_number:()=>Ap,_optional:()=>kT,_overwrite:()=>St,_parse:()=>Mr,_parseAsync:()=>Zr,_pipe:()=>zT,_positive:()=>la,_promise:()=>CT,_property:()=>ma,_readonly:()=>PT,_record:()=>TT,_refine:()=>od,_regex:()=>qr,_safeDecode:()=>Eo,_safeDecodeAsync:()=>wo,_safeEncode:()=>Io,_safeEncodeAsync:()=>Oo,_safeParse:()=>Gr,_safeParseAsync:()=>Br,_set:()=>IT,_size:()=>hr,_slugify:()=>an,_startsWith:()=>Hr,_string:()=>Ip,_stringFormat:()=>sn,_stringbool:()=>ud,_success:()=>jT,_superRefine:()=>ad,_symbol:()=>Jp,_templateLiteral:()=>UT,_toLowerCase:()=>nn,_toUpperCase:()=>on,_transform:()=>NT,_trim:()=>rn,_tuple:()=>ST,_uint32:()=>Fp,_uint64:()=>Bp,_ulid:()=>Xo,_undefined:()=>Qp,_union:()=>vT,_unknown:()=>Kp,_uppercase:()=>Kr,_url:()=>xi,_uuid:()=>Bo,_uuidv4:()=>Jo,_uuidv6:()=>Qo,_uuidv7:()=>qo,_void:()=>Hp,_xid:()=>ea,_xor:()=>xT,clone:()=>Ce,config:()=>me,createStandardJSONSchemaMethod:()=>cn,createToJSONSchemaMethod:()=>ld,decode:()=>Z_,decodeAsync:()=>B_,describe:()=>sd,encode:()=>M_,encodeAsync:()=>G_,extractDefs:()=>er,finalize:()=>tr,flattenError:()=>oi,formatError:()=>ai,globalConfig:()=>Wn,globalRegistry:()=>De,initializeContext:()=>Xt,isValidBase64:()=>Mu,isValidBase64URL:()=>Cg,isValidJWT:()=>Vg,locales:()=>yi,meta:()=>cd,parse:()=>xo,parseAsync:()=>bo,prettifyError:()=>Ic,process:()=>ne,regexes:()=>gt,registry:()=>Zo,safeDecode:()=>Q_,safeDecodeAsync:()=>Y_,safeEncode:()=>J_,safeEncodeAsync:()=>q_,safeParse:()=>Ec,safeParseAsync:()=>Oc,toDotPath:()=>Sg,toJSONSchema:()=>va,treeifyError:()=>$c,util:()=>O,version:()=>bu});var fc=Object.freeze({status:"aborted"});function v(e,t,n){function i(c,u){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:u,constr:s,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),t(c,u);let l=s.prototype,p=Object.keys(l);for(let d=0;d<p.length;d++){let m=p[d];m in c||(c[m]=l[m].bind(c))}}a(i,"init");let r=n?.Parent??Object;class o extends r{static{a(this,"Definition")}}Object.defineProperty(o,"name",{value:e});function s(c){var u;let l=n?.Parent?new o:this;i(l,c),(u=l._zod).deferred??(u.deferred=[]);for(let p of l._zod.deferred)p();return l}return a(s,"_"),Object.defineProperty(s,"init",{value:i}),Object.defineProperty(s,Symbol.hasInstance,{value:a(c=>n?.Parent&&c instanceof n.Parent?!0:c?._zod?.traits?.has(e),"value")}),Object.defineProperty(s,"name",{value:e}),s}a(v,"$constructor");var go=Symbol("zod_brand"),_t=class extends Error{static{a(this,"$ZodAsyncError")}constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Jt=class extends Error{static{a(this,"$ZodEncodeError")}constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},Wn={};function me(e){return e&&Object.assign(Wn,e),Wn}a(me,"config");var O={};Ot(O,{BIGINT_FORMAT_RANGES:()=>Tc,Class:()=>hc,NUMBER_FORMAT_RANGES:()=>Sc,aborted:()=>Kt,allowsEval:()=>vc,assert:()=>b_,assertEqual:()=>g_,assertIs:()=>v_,assertNever:()=>x_,assertNotEqual:()=>y_,assignProp:()=>qt,base64ToUint8Array:()=>xg,base64urlToUint8Array:()=>P_,cached:()=>Cr,captureStackTrace:()=>vo,cleanEnum:()=>z_,cleanRegex:()=>ei,clone:()=>Ce,cloneDef:()=>S_,createTransparentProxy:()=>w_,defineLazy:()=>W,esc:()=>yo,escapeRegex:()=>ht,extend:()=>D_,finalizeIssue:()=>Xe,floatSafeRemainder:()=>gc,getElementAtPath:()=>T_,getEnumValues:()=>Xn,getLengthableOrigin:()=>ni,getParsedType:()=>O_,getSizableOrigin:()=>ri,hexToUint8Array:()=>F_,isObject:()=>dr,isPlainObject:()=>Yt,issue:()=>Vr,joinValues:()=>_,jsonStringifyReplacer:()=>Fr,merge:()=>A_,mergeDefs:()=>Pt,normalizeParams:()=>w,nullish:()=>Qt,numKeys:()=>E_,objectClone:()=>__,omit:()=>k_,optionalKeys:()=>_c,parsedType:()=>E,partial:()=>j_,pick:()=>N_,prefixIssues:()=>ot,primitiveTypes:()=>bc,promiseAllObject:()=>$_,propertyKeyTypes:()=>ti,randomString:()=>I_,required:()=>L_,safeExtend:()=>R_,shallowClone:()=>xc,slugify:()=>yc,stringifyPrimitive:()=>I,uint8ArrayToBase64:()=>bg,uint8ArrayToBase64url:()=>U_,uint8ArrayToHex:()=>C_,unwrapMessage:()=>Hn});function g_(e){return e}a(g_,"assertEqual");function y_(e){return e}a(y_,"assertNotEqual");function v_(e){}a(v_,"assertIs");function x_(e){throw new Error("Unexpected value in exhaustive check")}a(x_,"assertNever");function b_(e){}a(b_,"assert");function Xn(e){let t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,r])=>t.indexOf(+i)===-1).map(([i,r])=>r)}a(Xn,"getEnumValues");function _(e,t="|"){return e.map(n=>I(n)).join(t)}a(_,"joinValues");function Fr(e,t){return typeof t=="bigint"?t.toString():t}a(Fr,"jsonStringifyReplacer");function Cr(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}a(Cr,"cached");function Qt(e){return e==null}a(Qt,"nullish");function ei(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}a(ei,"cleanRegex");function gc(e,t){let n=(e.toString().split(".")[1]||"").length,i=t.toString(),r=(i.split(".")[1]||"").length;if(r===0&&/\d?e-\d?/.test(i)){let u=i.match(/\d?e-(\d?)/);u?.[1]&&(r=Number.parseInt(u[1]))}let o=n>r?n:r,s=Number.parseInt(e.toFixed(o).replace(".","")),c=Number.parseInt(t.toFixed(o).replace(".",""));return s%c/10**o}a(gc,"floatSafeRemainder");var vg=Symbol("evaluating");function W(e,t,n){let i;Object.defineProperty(e,t,{get(){if(i!==vg)return i===void 0&&(i=vg,i=n()),i},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}a(W,"defineLazy");function __(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}a(__,"objectClone");function qt(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}a(qt,"assignProp");function Pt(...e){let t={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(t,i)}return Object.defineProperties({},t)}a(Pt,"mergeDefs");function S_(e){return Pt(e._zod.def)}a(S_,"cloneDef");function T_(e,t){return t?t.reduce((n,i)=>n?.[i],e):e}a(T_,"getElementAtPath");function $_(e){let t=Object.keys(e),n=t.map(i=>e[i]);return Promise.all(n).then(i=>{let r={};for(let o=0;o<t.length;o++)r[t[o]]=i[o];return r})}a($_,"promiseAllObject");function I_(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let i=0;i<e;i++)n+=t[Math.floor(Math.random()*t.length)];return n}a(I_,"randomString");function yo(e){return JSON.stringify(e)}a(yo,"esc");function yc(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}a(yc,"slugify");var vo="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function dr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}a(dr,"isObject");var vc=Cr(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function Yt(e){if(dr(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(dr(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}a(Yt,"isPlainObject");function xc(e){return Yt(e)?{...e}:Array.isArray(e)?[...e]:e}a(xc,"shallowClone");function E_(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}a(E_,"numKeys");var O_=a(e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},"getParsedType"),ti=new Set(["string","number","symbol"]),bc=new Set(["string","number","bigint","boolean","symbol","undefined"]);function ht(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}a(ht,"escapeRegex");function Ce(e,t,n){let i=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(i._zod.parent=e),i}a(Ce,"clone");function w(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:a(()=>t,"error")};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:a(()=>t.error,"error")}:t}a(w,"normalizeParams");function w_(e){let t;return new Proxy({},{get(n,i,r){return t??(t=e()),Reflect.get(t,i,r)},set(n,i,r,o){return t??(t=e()),Reflect.set(t,i,r,o)},has(n,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(n,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(n,i,r){return t??(t=e()),Reflect.defineProperty(t,i,r)}})}a(w_,"createTransparentProxy");function I(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}a(I,"stringifyPrimitive");function _c(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}a(_c,"optionalKeys");var Sc={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Tc={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function N_(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let o=Pt(e._zod.def,{get shape(){let s={};for(let c in t){if(!(c in n.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&(s[c]=n.shape[c])}return qt(this,"shape",s),s},checks:[]});return Ce(e,o)}a(N_,"pick");function k_(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let o=Pt(e._zod.def,{get shape(){let s={...e._zod.def.shape};for(let c in t){if(!(c in n.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&delete s[c]}return qt(this,"shape",s),s},checks:[]});return Ce(e,o)}a(k_,"omit");function D_(e,t){if(!Yt(t))throw new Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let o=e._zod.def.shape;for(let s in t)if(Object.getOwnPropertyDescriptor(o,s)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=Pt(e._zod.def,{get shape(){let o={...e._zod.def.shape,...t};return qt(this,"shape",o),o}});return Ce(e,r)}a(D_,"extend");function R_(e,t){if(!Yt(t))throw new Error("Invalid input to safeExtend: expected a plain object");let n=Pt(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return qt(this,"shape",i),i}});return Ce(e,n)}a(R_,"safeExtend");function A_(e,t){let n=Pt(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t._zod.def.shape};return qt(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:[]});return Ce(e,n)}a(A_,"merge");function j_(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let s=Pt(t._zod.def,{get shape(){let c=t._zod.def.shape,u={...c};if(n)for(let l in n){if(!(l in c))throw new Error(`Unrecognized key: "${l}"`);n[l]&&(u[l]=e?new e({type:"optional",innerType:c[l]}):c[l])}else for(let l in c)u[l]=e?new e({type:"optional",innerType:c[l]}):c[l];return qt(this,"shape",u),u},checks:[]});return Ce(t,s)}a(j_,"partial");function L_(e,t,n){let i=Pt(t._zod.def,{get shape(){let r=t._zod.def.shape,o={...r};if(n)for(let s in n){if(!(s in o))throw new Error(`Unrecognized key: "${s}"`);n[s]&&(o[s]=new e({type:"nonoptional",innerType:r[s]}))}else for(let s in r)o[s]=new e({type:"nonoptional",innerType:r[s]});return qt(this,"shape",o),o}});return Ce(t,i)}a(L_,"required");function Kt(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}a(Kt,"aborted");function ot(e,t){return t.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}a(ot,"prefixIssues");function Hn(e){return typeof e=="string"?e:e?.message}a(Hn,"unwrapMessage");function Xe(e,t,n){let i={...e,path:e.path??[]};if(!e.message){let r=Hn(e.inst?._zod.def?.error?.(e))??Hn(t?.error?.(e))??Hn(n.customError?.(e))??Hn(n.localeError?.(e))??"Invalid input";i.message=r}return delete i.inst,delete i.continue,t?.reportInput||delete i.input,i}a(Xe,"finalizeIssue");function ri(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}a(ri,"getSizableOrigin");function ni(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}a(ni,"getLengthableOrigin");function E(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}a(E,"parsedType");function Vr(...e){let[t,n,i]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:i}:{...t}}a(Vr,"issue");function z_(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}a(z_,"cleanEnum");function xg(e){let t=atob(e),n=new Uint8Array(t.length);for(let i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return n}a(xg,"base64ToUint8Array");function bg(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}a(bg,"uint8ArrayToBase64");function P_(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return xg(t+n)}a(P_,"base64urlToUint8Array");function U_(e){return bg(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}a(U_,"uint8ArrayToBase64url");function F_(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)n[i/2]=Number.parseInt(t.slice(i,i+2),16);return n}a(F_,"hexToUint8Array");function C_(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}a(C_,"uint8ArrayToHex");var hc=class{static{a(this,"Class")}constructor(...t){}};var _g=a((e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Fr,2),Object.defineProperty(e,"toString",{value:a(()=>e.message,"value"),enumerable:!1})},"initializer"),ii=v("$ZodError",_g),et=v("$ZodError",_g,{Parent:Error});function oi(e,t=n=>n.message){let n={},i=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):i.push(t(r));return{formErrors:i,fieldErrors:n}}a(oi,"flattenError");function ai(e,t=n=>n.message){let n={_errors:[]},i=a(r=>{for(let o of r.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(s=>i({issues:s}));else if(o.code==="invalid_key")i({issues:o.issues});else if(o.code==="invalid_element")i({issues:o.issues});else if(o.path.length===0)n._errors.push(t(o));else{let s=n,c=0;for(;c<o.path.length;){let u=o.path[c];c===o.path.length-1?(s[u]=s[u]||{_errors:[]},s[u]._errors.push(t(o))):s[u]=s[u]||{_errors:[]},s=s[u],c++}}},"processError");return i(e),n}a(ai,"formatError");function $c(e,t=n=>n.message){let n={errors:[]},i=a((r,o=[])=>{var s,c;for(let u of r.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(l=>i({issues:l},u.path));else if(u.code==="invalid_key")i({issues:u.issues},u.path);else if(u.code==="invalid_element")i({issues:u.issues},u.path);else{let l=[...o,...u.path];if(l.length===0){n.errors.push(t(u));continue}let p=n,d=0;for(;d<l.length;){let m=l[d],g=d===l.length-1;typeof m=="string"?(p.properties??(p.properties={}),(s=p.properties)[m]??(s[m]={errors:[]}),p=p.properties[m]):(p.items??(p.items=[]),(c=p.items)[m]??(c[m]={errors:[]}),p=p.items[m]),g&&p.errors.push(t(u)),d++}}},"processError");return i(e),n}a($c,"treeifyError");function Sg(e){let t=[],n=e.map(i=>typeof i=="object"?i.key:i);for(let i of n)typeof i=="number"?t.push(`[${i}]`):typeof i=="symbol"?t.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?t.push(`[${JSON.stringify(i)}]`):(t.length&&t.push("."),t.push(i));return t.join("")}a(Sg,"toDotPath");function Ic(e){let t=[],n=[...e.issues].sort((i,r)=>(i.path??[]).length-(r.path??[]).length);for(let i of n)t.push(`\u2716 ${i.message}`),i.path?.length&&t.push(` \u2192 at ${Sg(i.path)}`);return t.join(`
20
+ `)}a(Ic,"prettifyError");var Mr=a(e=>(t,n,i,r)=>{let o=i?Object.assign(i,{async:!1}):{async:!1},s=t._zod.run({value:n,issues:[]},o);if(s instanceof Promise)throw new _t;if(s.issues.length){let c=new(r?.Err??e)(s.issues.map(u=>Xe(u,o,me())));throw vo(c,r?.callee),c}return s.value},"_parse"),xo=Mr(et),Zr=a(e=>async(t,n,i,r)=>{let o=i?Object.assign(i,{async:!0}):{async:!0},s=t._zod.run({value:n,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){let c=new(r?.Err??e)(s.issues.map(u=>Xe(u,o,me())));throw vo(c,r?.callee),c}return s.value},"_parseAsync"),bo=Zr(et),Gr=a(e=>(t,n,i)=>{let r=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},r);if(o instanceof Promise)throw new _t;return o.issues.length?{success:!1,error:new(e??ii)(o.issues.map(s=>Xe(s,r,me())))}:{success:!0,data:o.value}},"_safeParse"),Ec=Gr(et),Br=a(e=>async(t,n,i)=>{let r=i?Object.assign(i,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},r);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(s=>Xe(s,r,me())))}:{success:!0,data:o.value}},"_safeParseAsync"),Oc=Br(et),_o=a(e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Mr(e)(t,n,r)},"_encode"),M_=_o(et),So=a(e=>(t,n,i)=>Mr(e)(t,n,i),"_decode"),Z_=So(et),To=a(e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Zr(e)(t,n,r)},"_encodeAsync"),G_=To(et),$o=a(e=>async(t,n,i)=>Zr(e)(t,n,i),"_decodeAsync"),B_=$o(et),Io=a(e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Gr(e)(t,n,r)},"_safeEncode"),J_=Io(et),Eo=a(e=>(t,n,i)=>Gr(e)(t,n,i),"_safeDecode"),Q_=Eo(et),Oo=a(e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Br(e)(t,n,r)},"_safeEncodeAsync"),q_=Oo(et),wo=a(e=>async(t,n,i)=>Br(e)(t,n,i),"_safeDecodeAsync"),Y_=wo(et);var gt={};Ot(gt,{base64:()=>Zc,base64url:()=>No,bigint:()=>Yc,boolean:()=>Wc,browserEmail:()=>nS,cidrv4:()=>Vc,cidrv6:()=>Mc,cuid:()=>wc,cuid2:()=>Nc,date:()=>Bc,datetime:()=>Qc,domain:()=>aS,duration:()=>jc,e164:()=>Gc,email:()=>zc,emoji:()=>Pc,extendedDuration:()=>K_,guid:()=>Lc,hex:()=>sS,hostname:()=>oS,html5Email:()=>eS,idnEmail:()=>rS,integer:()=>Kc,ipv4:()=>Uc,ipv6:()=>Fc,ksuid:()=>Rc,lowercase:()=>eu,mac:()=>Cc,md5_base64:()=>uS,md5_base64url:()=>lS,md5_hex:()=>cS,nanoid:()=>Ac,null:()=>Hc,number:()=>ko,rfc5322Email:()=>tS,sha1_base64:()=>dS,sha1_base64url:()=>fS,sha1_hex:()=>pS,sha256_base64:()=>hS,sha256_base64url:()=>gS,sha256_hex:()=>mS,sha384_base64:()=>vS,sha384_base64url:()=>xS,sha384_hex:()=>yS,sha512_base64:()=>_S,sha512_base64url:()=>SS,sha512_hex:()=>bS,string:()=>qc,time:()=>Jc,ulid:()=>kc,undefined:()=>Xc,unicodeEmail:()=>Tg,uppercase:()=>tu,uuid:()=>fr,uuid4:()=>W_,uuid6:()=>H_,uuid7:()=>X_,xid:()=>Dc});var wc=/^[cC][^\s-]{8,}$/,Nc=/^[0-9a-z]+$/,kc=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Dc=/^[0-9a-vA-V]{20}$/,Rc=/^[A-Za-z0-9]{27}$/,Ac=/^[a-zA-Z0-9_-]{21}$/,jc=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,K_=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Lc=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,fr=a(e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,"uuid"),W_=fr(4),H_=fr(6),X_=fr(7),zc=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,eS=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,tS=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Tg=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,rS=Tg,nS=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,iS="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Pc(){return new RegExp(iS,"u")}a(Pc,"emoji");var Uc=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Fc=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Cc=a(e=>{let t=ht(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},"mac"),Vc=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Mc=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Zc=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,No=/^[A-Za-z0-9_-]*$/,oS=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,aS=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Gc=/^\+[1-9]\d{6,14}$/,$g="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Bc=new RegExp(`^${$g}$`);function Ig(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}a(Ig,"timeSource");function Jc(e){return new RegExp(`^${Ig(e)}$`)}a(Jc,"time");function Qc(e){let t=Ig({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${t}(?:${n.join("|")})`;return new RegExp(`^${$g}T(?:${i})$`)}a(Qc,"datetime");var qc=a(e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},"string"),Yc=/^-?\d+n?$/,Kc=/^-?\d+$/,ko=/^-?\d+(?:\.\d+)?$/,Wc=/^(?:true|false)$/i,Hc=/^null$/i;var Xc=/^undefined$/i;var eu=/^[^A-Z]*$/,tu=/^[^a-z]*$/,sS=/^[0-9a-fA-F]*$/;function si(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}a(si,"fixedBase64");function ci(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}a(ci,"fixedBase64url");var cS=/^[0-9a-fA-F]{32}$/,uS=si(22,"=="),lS=ci(22),pS=/^[0-9a-fA-F]{40}$/,dS=si(27,"="),fS=ci(27),mS=/^[0-9a-fA-F]{64}$/,hS=si(43,"="),gS=ci(43),yS=/^[0-9a-fA-F]{96}$/,vS=si(64,""),xS=ci(64),bS=/^[0-9a-fA-F]{128}$/,_S=si(86,"=="),SS=ci(86);var se=v("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Og={number:"number",bigint:"bigint",object:"date"},Do=v("$ZodCheckLessThan",(e,t)=>{se.init(e,t);let n=Og[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<o&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Ro=v("$ZodCheckGreaterThan",(e,t)=>{se.init(e,t);let n=Og[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>o&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ru=v("$ZodCheckMultipleOf",(e,t)=>{se.init(e,t),e._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):gc(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),nu=v("$ZodCheckNumberFormat",(e,t)=>{se.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),i=n?"int":"number",[r,o]=Sc[t.format];e._zod.onattach.push(s=>{let c=s._zod.bag;c.format=t.format,c.minimum=r,c.maximum=o,n&&(c.pattern=Kc)}),e._zod.check=s=>{let c=s.value;if(n){if(!Number.isInteger(c)){s.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?s.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):s.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}c<r&&s.issues.push({origin:"number",input:c,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),c>o&&s.issues.push({origin:"number",input:c,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),iu=v("$ZodCheckBigIntFormat",(e,t)=>{se.init(e,t);let[n,i]=Tc[t.format];e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,o.minimum=n,o.maximum=i}),e._zod.check=r=>{let o=r.value;o<n&&r.issues.push({origin:"bigint",input:o,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),o>i&&r.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),ou=v("$ZodCheckMaxSize",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Qt(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;r.size<=t.maximum||i.issues.push({origin:ri(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),au=v("$ZodCheckMinSize",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Qt(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;r.size>=t.minimum||i.issues.push({origin:ri(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),su=v("$ZodCheckSizeEquals",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Qt(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=i=>{let r=i.value,o=r.size;if(o===t.size)return;let s=o>t.size;i.issues.push({origin:ri(r),...s?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),cu=v("$ZodCheckMaxLength",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Qt(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;if(r.length<=t.maximum)return;let s=ni(r);i.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),uu=v("$ZodCheckMinLength",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Qt(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;if(r.length>=t.minimum)return;let s=ni(r);i.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),lu=v("$ZodCheckLengthEquals",(e,t)=>{var n;se.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Qt(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=i=>{let r=i.value,o=r.length;if(o===t.length)return;let s=ni(r),c=o>t.length;i.issues.push({origin:s,...c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),Jr=v("$ZodCheckStringFormat",(e,t)=>{var n,i;se.init(e,t),e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,t.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),pu=v("$ZodCheckRegex",(e,t)=>{Jr.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),du=v("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=eu),Jr.init(e,t)}),fu=v("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=tu),Jr.init(e,t)}),mu=v("$ZodCheckIncludes",(e,t)=>{se.init(e,t);let n=ht(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=i,e._zod.onattach.push(r=>{let o=r._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),hu=v("$ZodCheckStartsWith",(e,t)=>{se.init(e,t);let n=new RegExp(`^${ht(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),gu=v("$ZodCheckEndsWith",(e,t)=>{se.init(e,t);let n=new RegExp(`.*${ht(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function Eg(e,t,n){e.issues.length&&t.issues.push(...ot(n,e.issues))}a(Eg,"handleCheckPropertyResult");var yu=v("$ZodCheckProperty",(e,t)=>{se.init(e,t),e._zod.check=n=>{let i=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(r=>Eg(r,n,t.property));Eg(i,n,t.property)}}),vu=v("$ZodCheckMimeType",(e,t)=>{se.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=t.mime}),e._zod.check=i=>{n.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),xu=v("$ZodCheckOverwrite",(e,t)=>{se.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var ui=class{static{a(this,"Doc")}constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let i=t.split(`
21
21
  `).filter(s=>s),r=Math.min(...i.map(s=>s.length-s.trimStart().length)),o=i.map(s=>s.slice(r)).map(s=>" ".repeat(this.indent*2)+s);for(let s of o)this.content.push(s)}compile(){let t=Function,n=this?.args,r=[...(this?.content??[""]).map(o=>` ${o}`)];return new t(...n,r.join(`
22
- `))}};var fu={major:4,minor:3,patch:6};var B=v("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=fu;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let r of i)for(let o of r._zod.onattach)o(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=a((s,c,u)=>{let l=qt(s),p;for(let d of c){if(d._zod.def.when){if(!d._zod.def.when(s))continue}else if(l)continue;let m=s.issues.length,g=d._zod.check(s);if(g instanceof Promise&&u?.async===!1)throw new _t;if(p||g instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await g,s.issues.length!==m&&(l||(l=qt(s,m)))});else{if(s.issues.length===m)continue;l||(l=qt(s,m))}}return p?p.then(()=>s):s},"runChecks"),o=a((s,c,u)=>{if(qt(s))return s.aborted=!0,s;let l=r(c,i,u);if(l instanceof Promise){if(u.async===!1)throw new _t;return l.then(p=>e._zod.parse(p,u))}return e._zod.parse(l,u)},"handleCanaryResult");e._zod.run=(s,c)=>{if(c.skipChecks)return e._zod.parse(s,c);if(c.direction==="backward"){let l=e._zod.parse({value:s.value,issues:[]},{...c,skipChecks:!0});return l instanceof Promise?l.then(p=>o(p,s,c)):o(l,s,c)}let u=e._zod.parse(s,c);if(u instanceof Promise){if(c.async===!1)throw new _t;return u.then(l=>r(l,i,c))}return r(u,i,c)}}W(e,"~standard",()=>({validate:a(r=>{try{let o=bc(e,r);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return xc(e,r).then(s=>s.success?{value:s.data}:{issues:s.error?.issues})}},"validate"),vendor:"zod",version:1}))}),pr=v("$ZodString",(e,t)=>{B.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Vc(e._zod.bag),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),ie=v("$ZodStringFormat",(e,t)=>{Zr.init(e,t),pr.init(e,t)}),hu=v("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Nc),ie.init(e,t)}),gu=v("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=lr(i))}else t.pattern??(t.pattern=lr());ie.init(e,t)}),yu=v("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=kc),ie.init(e,t)}),vu=v("$ZodURL",(e,t)=>{ie.init(e,t),e._zod.check=n=>{try{let i=n.value.trim(),r=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=r.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),bu=v("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=wc()),ie.init(e,t)}),xu=v("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Ec),ie.init(e,t)}),_u=v("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=_c),ie.init(e,t)}),Su=v("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Sc),ie.init(e,t)}),Tu=v("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Tc),ie.init(e,t)}),$u=v("$ZodXID",(e,t)=>{t.pattern??(t.pattern=$c),ie.init(e,t)}),Iu=v("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Ic),ie.init(e,t)}),Eu=v("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Cc(t)),ie.init(e,t)}),Ou=v("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Uc),ie.init(e,t)}),Nu=v("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Fc(t)),ie.init(e,t)}),ku=v("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Oc),ie.init(e,t)}),wu=v("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Dc),ie.init(e,t),e._zod.bag.format="ipv4"}),Du=v("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Rc),ie.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),Ru=v("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=jc(t.delimiter)),ie.init(e,t),e._zod.bag.format="mac"}),ju=v("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Ac),ie.init(e,t)}),Au=v("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=zc),ie.init(e,t),e._zod.check=n=>{let i=n.value.split("/");try{if(i.length!==2)throw new Error;let[r,o]=i;if(!o)throw new Error;let s=Number(o);if(`${s}`!==o)throw new Error;if(s<0||s>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function zu(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}a(zu,"isValidBase64");var Lu=v("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Lc),ie.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{zu(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function wg(e){if(!Io.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return zu(n)}a(wg,"isValidBase64URL");var Pu=v("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Io),ie.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{wg(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Uu=v("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Pc),ie.init(e,t)});function Dg(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}a(Dg,"isValidJWT");var Fu=v("$ZodJWT",(e,t)=>{ie.init(e,t),e._zod.check=n=>{Dg(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),Cu=v("$ZodCustomStringFormat",(e,t)=>{ie.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),Ao=v("$ZodNumber",(e,t)=>{B.init(e,t),e._zod.pattern=e._zod.bag.pattern??Eo,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let o=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...o?{received:o}:{}}),n}}),Vu=v("$ZodNumberFormat",(e,t)=>{Kc.init(e,t),Ao.init(e,t)}),ai=v("$ZodBoolean",(e,t)=>{B.init(e,t),e._zod.pattern=Gc,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}}),zo=v("$ZodBigInt",(e,t)=>{B.init(e,t),e._zod.pattern=Mc,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),Mu=v("$ZodBigIntFormat",(e,t)=>{Wc.init(e,t),zo.init(e,t)}),Zu=v("$ZodSymbol",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),n}}),Gu=v("$ZodUndefined",(e,t)=>{B.init(e,t),e._zod.pattern=Jc,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),n}}),Bu=v("$ZodNull",(e,t)=>{B.init(e,t),e._zod.pattern=Bc,e._zod.values=new Set([null]),e._zod.parse=(n,i)=>{let r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),n}}),Ju=v("$ZodAny",(e,t)=>{B.init(e,t),e._zod.parse=n=>n}),Qu=v("$ZodUnknown",(e,t)=>{B.init(e,t),e._zod.parse=n=>n}),qu=v("$ZodNever",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),Yu=v("$ZodVoid",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),n}}),Ku=v("$ZodDate",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,o=r instanceof Date;return o&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...o?{received:"Invalid Date"}:{},inst:e}),n}});function bg(e,t,n){e.issues.length&&t.issues.push(...ot(n,e.issues)),t.value[n]=e.value}a(bg,"handleArrayResult");var Wu=v("$ZodArray",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let o=[];for(let s=0;s<r.length;s++){let c=r[s],u=t.element._zod.run({value:c,issues:[]},i);u instanceof Promise?o.push(u.then(l=>bg(l,n,s))):bg(u,n,s)}return o.length?Promise.all(o).then(()=>n):n}});function jo(e,t,n,i,r){if(e.issues.length){if(r&&!(n in i))return;t.issues.push(...ot(n,e.issues))}e.value===void 0?n in i&&(t.value[n]=void 0):t.value[n]=e.value}a(jo,"handlePropertyResult");function Rg(e){let t=Object.keys(e.shape);for(let i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let n=mc(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}a(Rg,"normalizeDef");function jg(e,t,n,i,r,o){let s=[],c=r.keySet,u=r.catchall._zod,l=u.def.type,p=u.optout==="optional";for(let d in t){if(c.has(d))continue;if(l==="never"){s.push(d);continue}let m=u.run({value:t[d],issues:[]},i);m instanceof Promise?e.push(m.then(g=>jo(g,n,d,t,p))):jo(m,n,d,t,p)}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:o}),e.length?Promise.all(e).then(()=>n):n}a(jg,"handleCatchall");var Ag=v("$ZodObject",(e,t)=>{if(B.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let c=t.shape;Object.defineProperty(t,"shape",{get:a(()=>{let u={...c};return Object.defineProperty(t,"shape",{value:u}),u},"get")})}let i=Pr(()=>Rg(t));W(e._zod,"propValues",()=>{let c=t.shape,u={};for(let l in c){let p=c[l]._zod;if(p.values){u[l]??(u[l]=new Set);for(let d of p.values)u[l].add(d)}}return u});let r=ur,o=t.catchall,s;e._zod.parse=(c,u)=>{s??(s=i.value);let l=c.value;if(!r(l))return c.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),c;c.value={};let p=[],d=s.shape;for(let m of s.keys){let g=d[m],y=g._zod.optout==="optional",x=g._zod.run({value:l[m],issues:[]},u);x instanceof Promise?p.push(x.then(k=>jo(k,c,m,l,y))):jo(x,c,m,l,y)}return o?jg(p,l,c,u,i.value,e):p.length?Promise.all(p).then(()=>c):c}}),Xu=v("$ZodObjectJIT",(e,t)=>{Ag.init(e,t);let n=e._zod.parse,i=Pr(()=>Rg(t)),r=a(m=>{let g=new oi(["shape","payload","ctx"]),y=i.value,x=a(D=>{let P=fo(D);return`shape[${P}]._zod.run({ value: input[${P}], issues: [] }, ctx)`},"parseStr");g.write("const input = payload.value;");let k=Object.create(null),z=0;for(let D of y.keys)k[D]=`key_${z++}`;g.write("const newResult = {};");for(let D of y.keys){let P=k[D],X=fo(D),re=m[D]?._zod?.optout==="optional";g.write(`const ${P} = ${x(D)};`),re?g.write(`
22
+ `))}};var bu={major:4,minor:3,patch:6};var B=v("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=bu;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let r of i)for(let o of r._zod.onattach)o(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=a((s,c,u)=>{let l=Kt(s),p;for(let d of c){if(d._zod.def.when){if(!d._zod.def.when(s))continue}else if(l)continue;let m=s.issues.length,g=d._zod.check(s);if(g instanceof Promise&&u?.async===!1)throw new _t;if(p||g instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await g,s.issues.length!==m&&(l||(l=Kt(s,m)))});else{if(s.issues.length===m)continue;l||(l=Kt(s,m))}}return p?p.then(()=>s):s},"runChecks"),o=a((s,c,u)=>{if(Kt(s))return s.aborted=!0,s;let l=r(c,i,u);if(l instanceof Promise){if(u.async===!1)throw new _t;return l.then(p=>e._zod.parse(p,u))}return e._zod.parse(l,u)},"handleCanaryResult");e._zod.run=(s,c)=>{if(c.skipChecks)return e._zod.parse(s,c);if(c.direction==="backward"){let l=e._zod.parse({value:s.value,issues:[]},{...c,skipChecks:!0});return l instanceof Promise?l.then(p=>o(p,s,c)):o(l,s,c)}let u=e._zod.parse(s,c);if(u instanceof Promise){if(c.async===!1)throw new _t;return u.then(l=>r(l,i,c))}return r(u,i,c)}}W(e,"~standard",()=>({validate:a(r=>{try{let o=Ec(e,r);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return Oc(e,r).then(s=>s.success?{value:s.data}:{issues:s.error?.issues})}},"validate"),vendor:"zod",version:1}))}),mr=v("$ZodString",(e,t)=>{B.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??qc(e._zod.bag),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),ie=v("$ZodStringFormat",(e,t)=>{Jr.init(e,t),mr.init(e,t)}),Su=v("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Lc),ie.init(e,t)}),Tu=v("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=fr(i))}else t.pattern??(t.pattern=fr());ie.init(e,t)}),$u=v("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=zc),ie.init(e,t)}),Iu=v("$ZodURL",(e,t)=>{ie.init(e,t),e._zod.check=n=>{try{let i=n.value.trim(),r=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=r.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),Eu=v("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Pc()),ie.init(e,t)}),Ou=v("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Ac),ie.init(e,t)}),wu=v("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=wc),ie.init(e,t)}),Nu=v("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Nc),ie.init(e,t)}),ku=v("$ZodULID",(e,t)=>{t.pattern??(t.pattern=kc),ie.init(e,t)}),Du=v("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Dc),ie.init(e,t)}),Ru=v("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Rc),ie.init(e,t)}),Au=v("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Qc(t)),ie.init(e,t)}),ju=v("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Bc),ie.init(e,t)}),Lu=v("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Jc(t)),ie.init(e,t)}),zu=v("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=jc),ie.init(e,t)}),Pu=v("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Uc),ie.init(e,t),e._zod.bag.format="ipv4"}),Uu=v("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Fc),ie.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),Fu=v("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=Cc(t.delimiter)),ie.init(e,t),e._zod.bag.format="mac"}),Cu=v("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Vc),ie.init(e,t)}),Vu=v("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Mc),ie.init(e,t),e._zod.check=n=>{let i=n.value.split("/");try{if(i.length!==2)throw new Error;let[r,o]=i;if(!o)throw new Error;let s=Number(o);if(`${s}`!==o)throw new Error;if(s<0||s>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function Mu(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}a(Mu,"isValidBase64");var Zu=v("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Zc),ie.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{Mu(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function Cg(e){if(!No.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return Mu(n)}a(Cg,"isValidBase64URL");var Gu=v("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=No),ie.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{Cg(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Bu=v("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Gc),ie.init(e,t)});function Vg(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}a(Vg,"isValidJWT");var Ju=v("$ZodJWT",(e,t)=>{ie.init(e,t),e._zod.check=n=>{Vg(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),Qu=v("$ZodCustomStringFormat",(e,t)=>{ie.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),Uo=v("$ZodNumber",(e,t)=>{B.init(e,t),e._zod.pattern=e._zod.bag.pattern??ko,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let o=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...o?{received:o}:{}}),n}}),qu=v("$ZodNumberFormat",(e,t)=>{nu.init(e,t),Uo.init(e,t)}),li=v("$ZodBoolean",(e,t)=>{B.init(e,t),e._zod.pattern=Wc,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}}),Fo=v("$ZodBigInt",(e,t)=>{B.init(e,t),e._zod.pattern=Yc,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),Yu=v("$ZodBigIntFormat",(e,t)=>{iu.init(e,t),Fo.init(e,t)}),Ku=v("$ZodSymbol",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),n}}),Wu=v("$ZodUndefined",(e,t)=>{B.init(e,t),e._zod.pattern=Xc,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),n}}),Hu=v("$ZodNull",(e,t)=>{B.init(e,t),e._zod.pattern=Hc,e._zod.values=new Set([null]),e._zod.parse=(n,i)=>{let r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),n}}),Xu=v("$ZodAny",(e,t)=>{B.init(e,t),e._zod.parse=n=>n}),el=v("$ZodUnknown",(e,t)=>{B.init(e,t),e._zod.parse=n=>n}),tl=v("$ZodNever",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),rl=v("$ZodVoid",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),n}}),nl=v("$ZodDate",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,o=r instanceof Date;return o&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...o?{received:"Invalid Date"}:{},inst:e}),n}});function Ng(e,t,n){e.issues.length&&t.issues.push(...ot(n,e.issues)),t.value[n]=e.value}a(Ng,"handleArrayResult");var il=v("$ZodArray",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let o=[];for(let s=0;s<r.length;s++){let c=r[s],u=t.element._zod.run({value:c,issues:[]},i);u instanceof Promise?o.push(u.then(l=>Ng(l,n,s))):Ng(u,n,s)}return o.length?Promise.all(o).then(()=>n):n}});function Po(e,t,n,i,r){if(e.issues.length){if(r&&!(n in i))return;t.issues.push(...ot(n,e.issues))}e.value===void 0?n in i&&(t.value[n]=void 0):t.value[n]=e.value}a(Po,"handlePropertyResult");function Mg(e){let t=Object.keys(e.shape);for(let i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let n=_c(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}a(Mg,"normalizeDef");function Zg(e,t,n,i,r,o){let s=[],c=r.keySet,u=r.catchall._zod,l=u.def.type,p=u.optout==="optional";for(let d in t){if(c.has(d))continue;if(l==="never"){s.push(d);continue}let m=u.run({value:t[d],issues:[]},i);m instanceof Promise?e.push(m.then(g=>Po(g,n,d,t,p))):Po(m,n,d,t,p)}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:o}),e.length?Promise.all(e).then(()=>n):n}a(Zg,"handleCatchall");var Gg=v("$ZodObject",(e,t)=>{if(B.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let c=t.shape;Object.defineProperty(t,"shape",{get:a(()=>{let u={...c};return Object.defineProperty(t,"shape",{value:u}),u},"get")})}let i=Cr(()=>Mg(t));W(e._zod,"propValues",()=>{let c=t.shape,u={};for(let l in c){let p=c[l]._zod;if(p.values){u[l]??(u[l]=new Set);for(let d of p.values)u[l].add(d)}}return u});let r=dr,o=t.catchall,s;e._zod.parse=(c,u)=>{s??(s=i.value);let l=c.value;if(!r(l))return c.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),c;c.value={};let p=[],d=s.shape;for(let m of s.keys){let g=d[m],y=g._zod.optout==="optional",b=g._zod.run({value:l[m],issues:[]},u);b instanceof Promise?p.push(b.then(N=>Po(N,c,m,l,y))):Po(b,c,m,l,y)}return o?Zg(p,l,c,u,i.value,e):p.length?Promise.all(p).then(()=>c):c}}),ol=v("$ZodObjectJIT",(e,t)=>{Gg.init(e,t);let n=e._zod.parse,i=Cr(()=>Mg(t)),r=a(m=>{let g=new ui(["shape","payload","ctx"]),y=i.value,b=a(D=>{let P=yo(D);return`shape[${P}]._zod.run({ value: input[${P}], issues: [] }, ctx)`},"parseStr");g.write("const input = payload.value;");let N=Object.create(null),L=0;for(let D of y.keys)N[D]=`key_${L++}`;g.write("const newResult = {};");for(let D of y.keys){let P=N[D],H=yo(D),re=m[D]?._zod?.optout==="optional";g.write(`const ${P} = ${b(D)};`),re?g.write(`
23
23
  if (${P}.issues.length) {
24
- if (${X} in input) {
24
+ if (${H} in input) {
25
25
  payload.issues = payload.issues.concat(${P}.issues.map(iss => ({
26
26
  ...iss,
27
- path: iss.path ? [${X}, ...iss.path] : [${X}]
27
+ path: iss.path ? [${H}, ...iss.path] : [${H}]
28
28
  })));
29
29
  }
30
30
  }
31
31
 
32
32
  if (${P}.value === undefined) {
33
- if (${X} in input) {
34
- newResult[${X}] = undefined;
33
+ if (${H} in input) {
34
+ newResult[${H}] = undefined;
35
35
  }
36
36
  } else {
37
- newResult[${X}] = ${P}.value;
37
+ newResult[${H}] = ${P}.value;
38
38
  }
39
39
 
40
40
  `):g.write(`
41
41
  if (${P}.issues.length) {
42
42
  payload.issues = payload.issues.concat(${P}.issues.map(iss => ({
43
43
  ...iss,
44
- path: iss.path ? [${X}, ...iss.path] : [${X}]
44
+ path: iss.path ? [${H}, ...iss.path] : [${H}]
45
45
  })));
46
46
  }
47
47
 
48
48
  if (${P}.value === undefined) {
49
- if (${X} in input) {
50
- newResult[${X}] = undefined;
49
+ if (${H} in input) {
50
+ newResult[${H}] = undefined;
51
51
  }
52
52
  } else {
53
- newResult[${X}] = ${P}.value;
53
+ newResult[${H}] = ${P}.value;
54
54
  }
55
55
 
56
- `)}g.write("payload.value = newResult;"),g.write("return payload;");let Z=g.compile();return(D,P)=>Z(m,D,P)},"generateFastpass"),o,s=ur,c=!Qn.jitless,l=c&&pc.value,p=t.catchall,d;e._zod.parse=(m,g)=>{d??(d=i.value);let y=m.value;return s(y)?c&&l&&g?.async===!1&&g.jitless!==!0?(o||(o=r(t.shape)),m=o(m,g),p?jg([],y,m,g,d,e):m):n(m,g):(m.issues.push({expected:"object",code:"invalid_type",input:y,inst:e}),m)}});function xg(e,t,n,i){for(let o of e)if(o.issues.length===0)return t.value=o.value,t;let r=e.filter(o=>!qt(o));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(s=>He(s,i,me())))}),t)}a(xg,"handleUnionResults");var si=v("$ZodUnion",(e,t)=>{B.init(e,t),W(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),W(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),W(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),W(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){let r=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${r.map(o=>Kn(o.source)).join("|")})$`)}});let n=t.options.length===1,i=t.options[0]._zod.run;e._zod.parse=(r,o)=>{if(n)return i(r,o);let s=!1,c=[];for(let u of t.options){let l=u._zod.run({value:r.value,issues:[]},o);if(l instanceof Promise)c.push(l),s=!0;else{if(l.issues.length===0)return l;c.push(l)}}return s?Promise.all(c).then(u=>xg(u,r,e,o)):xg(c,r,e,o)}});function _g(e,t,n,i){let r=e.filter(o=>o.issues.length===0);return r.length===1?(t.value=r[0].value,t):(r.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(s=>He(s,i,me())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t)}a(_g,"handleExclusiveUnionResults");var Hu=v("$ZodXor",(e,t)=>{si.init(e,t),t.inclusive=!1;let n=t.options.length===1,i=t.options[0]._zod.run;e._zod.parse=(r,o)=>{if(n)return i(r,o);let s=!1,c=[];for(let u of t.options){let l=u._zod.run({value:r.value,issues:[]},o);l instanceof Promise?(c.push(l),s=!0):c.push(l)}return s?Promise.all(c).then(u=>_g(u,r,e,o)):_g(c,r,e,o)}}),el=v("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,si.init(e,t);let n=e._zod.parse;W(e._zod,"propValues",()=>{let r={};for(let o of t.options){let s=o._zod.propValues;if(!s||Object.keys(s).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let[c,u]of Object.entries(s)){r[c]||(r[c]=new Set);for(let l of u)r[c].add(l)}}return r});let i=Pr(()=>{let r=t.options,o=new Map;for(let s of r){let c=s._zod.propValues?.[t.discriminator];if(!c||c.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(s)}"`);for(let u of c){if(o.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);o.set(u,s)}}return o});e._zod.parse=(r,o)=>{let s=r.value;if(!ur(s))return r.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),r;let c=i.value.get(s?.[t.discriminator]);return c?c._zod.run(r,o):t.unionFallback?n(r,o):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:s,path:[t.discriminator],inst:e}),r)}}),tl=v("$ZodIntersection",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value,o=t.left._zod.run({value:r,issues:[]},i),s=t.right._zod.run({value:r,issues:[]},i);return o instanceof Promise||s instanceof Promise?Promise.all([o,s]).then(([u,l])=>Sg(n,u,l)):Sg(n,o,s)}});function mu(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Qt(e)&&Qt(t)){let n=Object.keys(t),i=Object.keys(e).filter(o=>n.indexOf(o)!==-1),r={...e,...t};for(let o of i){let s=mu(e[o],t[o]);if(!s.valid)return{valid:!1,mergeErrorPath:[o,...s.mergeErrorPath]};r[o]=s.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<e.length;i++){let r=e[i],o=t[i],s=mu(r,o);if(!s.valid)return{valid:!1,mergeErrorPath:[i,...s.mergeErrorPath]};n.push(s.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}a(mu,"mergeValues");function Sg(e,t,n){let i=new Map,r;for(let c of t.issues)if(c.code==="unrecognized_keys"){r??(r=c);for(let u of c.keys)i.has(u)||i.set(u,{}),i.get(u).l=!0}else e.issues.push(c);for(let c of n.issues)if(c.code==="unrecognized_keys")for(let u of c.keys)i.has(u)||i.set(u,{}),i.get(u).r=!0;else e.issues.push(c);let o=[...i].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(o.length&&r&&e.issues.push({...r,keys:o}),qt(e))return e;let s=mu(t.value,n.value);if(!s.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(s.mergeErrorPath)}`);return e.value=s.data,e}a(Sg,"handleIntersectionResults");var Lo=v("$ZodTuple",(e,t)=>{B.init(e,t);let n=t.items;e._zod.parse=(i,r)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];let s=[],c=[...n].reverse().findIndex(p=>p._zod.optin!=="optional"),u=c===-1?0:n.length-c;if(!t.rest){let p=o.length>n.length,d=o.length<u-1;if(p||d)return i.issues.push({...p?{code:"too_big",maximum:n.length,inclusive:!0}:{code:"too_small",minimum:n.length},input:o,inst:e,origin:"array"}),i}let l=-1;for(let p of n){if(l++,l>=o.length&&l>=u)continue;let d=p._zod.run({value:o[l],issues:[]},r);d instanceof Promise?s.push(d.then(m=>ko(m,i,l))):ko(d,i,l)}if(t.rest){let p=o.slice(n.length);for(let d of p){l++;let m=t.rest._zod.run({value:d,issues:[]},r);m instanceof Promise?s.push(m.then(g=>ko(g,i,l))):ko(m,i,l)}}return s.length?Promise.all(s).then(()=>i):i}});function ko(e,t,n){e.issues.length&&t.issues.push(...ot(n,e.issues)),t.value[n]=e.value}a(ko,"handleTupleResult");var rl=v("$ZodRecord",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Qt(r))return n.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),n;let o=[],s=t.keyType._zod.values;if(s){n.value={};let c=new Set;for(let l of s)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){c.add(typeof l=="number"?l.toString():l);let p=t.valueType._zod.run({value:r[l],issues:[]},i);p instanceof Promise?o.push(p.then(d=>{d.issues.length&&n.issues.push(...ot(l,d.issues)),n.value[l]=d.value})):(p.issues.length&&n.issues.push(...ot(l,p.issues)),n.value[l]=p.value)}let u;for(let l in r)c.has(l)||(u=u??[],u.push(l));u&&u.length>0&&n.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:u})}else{n.value={};for(let c of Reflect.ownKeys(r)){if(c==="__proto__")continue;let u=t.keyType._zod.run({value:c,issues:[]},i);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&Eo.test(c)&&u.issues.length){let d=t.keyType._zod.run({value:Number(c),issues:[]},i);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(u=d)}if(u.issues.length){t.mode==="loose"?n.value[c]=r[c]:n.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(d=>He(d,i,me())),input:c,path:[c],inst:e});continue}let p=t.valueType._zod.run({value:r[c],issues:[]},i);p instanceof Promise?o.push(p.then(d=>{d.issues.length&&n.issues.push(...ot(c,d.issues)),n.value[u.value]=d.value})):(p.issues.length&&n.issues.push(...ot(c,p.issues)),n.value[u.value]=p.value)}}return o.length?Promise.all(o).then(()=>n):n}}),nl=v("$ZodMap",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),n;let o=[];n.value=new Map;for(let[s,c]of r){let u=t.keyType._zod.run({value:s,issues:[]},i),l=t.valueType._zod.run({value:c,issues:[]},i);u instanceof Promise||l instanceof Promise?o.push(Promise.all([u,l]).then(([p,d])=>{Tg(p,d,n,s,r,e,i)})):Tg(u,l,n,s,r,e,i)}return o.length?Promise.all(o).then(()=>n):n}});function Tg(e,t,n,i,r,o,s){e.issues.length&&(Wn.has(typeof i)?n.issues.push(...ot(i,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:r,inst:o,issues:e.issues.map(c=>He(c,s,me()))})),t.issues.length&&(Wn.has(typeof i)?n.issues.push(...ot(i,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:o,key:i,issues:t.issues.map(c=>He(c,s,me()))})),n.value.set(e.value,t.value)}a(Tg,"handleMapResult");var il=v("$ZodSet",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Set))return n.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),n;let o=[];n.value=new Set;for(let s of r){let c=t.valueType._zod.run({value:s,issues:[]},i);c instanceof Promise?o.push(c.then(u=>$g(u,n))):$g(c,n)}return o.length?Promise.all(o).then(()=>n):n}});function $g(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}a($g,"handleSetResult");var ol=v("$ZodEnum",(e,t)=>{B.init(e,t);let n=Yn(t.entries),i=new Set(n);e._zod.values=i,e._zod.pattern=new RegExp(`^(${n.filter(r=>Wn.has(typeof r)).map(r=>typeof r=="string"?ht(r):r.toString()).join("|")})$`),e._zod.parse=(r,o)=>{let s=r.value;return i.has(s)||r.issues.push({code:"invalid_value",values:n,input:s,inst:e}),r}}),al=v("$ZodLiteral",(e,t)=>{if(B.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?ht(i):i?ht(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,r)=>{let o=i.value;return n.has(o)||i.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),i}}),sl=v("$ZodFile",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return r instanceof File||n.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),n}}),cl=v("$ZodTransform",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Gt(e.constructor.name);let r=t.transform(n.value,n);if(i.async)return(r instanceof Promise?r:Promise.resolve(r)).then(s=>(n.value=s,n));if(r instanceof Promise)throw new _t;return n.value=r,n}});function Ig(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}a(Ig,"handleOptionalResult");var Po=v("$ZodOptional",(e,t)=>{B.init(e,t),e._zod.optin="optional",e._zod.optout="optional",W(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),W(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${Kn(n.source)})?$`):void 0}),e._zod.parse=(n,i)=>{if(t.innerType._zod.optin==="optional"){let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>Ig(o,n.value)):Ig(r,n.value)}return n.value===void 0?n:t.innerType._zod.run(n,i)}}),ul=v("$ZodExactOptional",(e,t)=>{Po.init(e,t),W(e._zod,"values",()=>t.innerType._zod.values),W(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,i)=>t.innerType._zod.run(n,i)}),ll=v("$ZodNullable",(e,t)=>{B.init(e,t),W(e._zod,"optin",()=>t.innerType._zod.optin),W(e._zod,"optout",()=>t.innerType._zod.optout),W(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${Kn(n.source)}|null)$`):void 0}),W(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,i)=>n.value===null?n:t.innerType._zod.run(n,i)}),pl=v("$ZodDefault",(e,t)=>{B.init(e,t),e._zod.optin="optional",W(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>Eg(o,t)):Eg(r,t)}});function Eg(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}a(Eg,"handleDefaultResult");var dl=v("$ZodPrefault",(e,t)=>{B.init(e,t),e._zod.optin="optional",W(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>(i.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,i))}),fl=v("$ZodNonOptional",(e,t)=>{B.init(e,t),W(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter(i=>i!==void 0)):void 0}),e._zod.parse=(n,i)=>{let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>Og(o,e)):Og(r,e)}});function Og(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}a(Og,"handleNonOptionalResult");var ml=v("$ZodSuccess",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Gt("ZodSuccess");let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>(n.value=o.issues.length===0,n)):(n.value=r.issues.length===0,n)}}),hl=v("$ZodCatch",(e,t)=>{B.init(e,t),W(e._zod,"optin",()=>t.innerType._zod.optin),W(e._zod,"optout",()=>t.innerType._zod.optout),W(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>(n.value=o.value,o.issues.length&&(n.value=t.catchValue({...n,error:{issues:o.issues.map(s=>He(s,i,me()))},input:n.value}),n.issues=[]),n)):(n.value=r.value,r.issues.length&&(n.value=t.catchValue({...n,error:{issues:r.issues.map(o=>He(o,i,me()))},input:n.value}),n.issues=[]),n)}}),gl=v("$ZodNaN",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>((typeof n.value!="number"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n)}),yl=v("$ZodPipe",(e,t)=>{B.init(e,t),W(e._zod,"values",()=>t.in._zod.values),W(e._zod,"optin",()=>t.in._zod.optin),W(e._zod,"optout",()=>t.out._zod.optout),W(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,i)=>{if(i.direction==="backward"){let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(s=>wo(s,t.in,i)):wo(o,t.in,i)}let r=t.in._zod.run(n,i);return r instanceof Promise?r.then(o=>wo(o,t.out,i)):wo(r,t.out,i)}});function wo(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}a(wo,"handlePipeResult");var ci=v("$ZodCodec",(e,t)=>{B.init(e,t),W(e._zod,"values",()=>t.in._zod.values),W(e._zod,"optin",()=>t.in._zod.optin),W(e._zod,"optout",()=>t.out._zod.optout),W(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,i)=>{if((i.direction||"forward")==="forward"){let o=t.in._zod.run(n,i);return o instanceof Promise?o.then(s=>Do(s,t,i)):Do(o,t,i)}else{let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(s=>Do(s,t,i)):Do(o,t,i)}}});function Do(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||"forward")==="forward"){let r=t.transform(e.value,e);return r instanceof Promise?r.then(o=>Ro(e,o,t.out,n)):Ro(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(o=>Ro(e,o,t.in,n)):Ro(e,r,t.in,n)}}a(Do,"handleCodecAResult");function Ro(e,t,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},i)}a(Ro,"handleCodecTxResult");var vl=v("$ZodReadonly",(e,t)=>{B.init(e,t),W(e._zod,"propValues",()=>t.innerType._zod.propValues),W(e._zod,"values",()=>t.innerType._zod.values),W(e._zod,"optin",()=>t.innerType?._zod?.optin),W(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(Ng):Ng(r)}});function Ng(e){return e.value=Object.freeze(e.value),e}a(Ng,"handleReadonlyResult");var bl=v("$ZodTemplateLiteral",(e,t)=>{B.init(e,t);let n=[];for(let i of t.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);let r=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let o=r.startsWith("^")?1:0,s=r.endsWith("$")?r.length-1:r.length;n.push(r.slice(o,s))}else if(i===null||fc.has(typeof i))n.push(ht(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(i,r)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),i)}),xl=v("$ZodFunction",(e,t)=>(B.init(e,t),e._def=t,e._zod.def=t,e.implement=n=>{if(typeof n!="function")throw new Error("implement() must be called with a function");return function(...i){let r=e._def.input?ho(e._def.input,i):i,o=Reflect.apply(n,this,r);return e._def.output?ho(e._def.output,o):o}},e.implementAsync=n=>{if(typeof n!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){let r=e._def.input?await go(e._def.input,i):i,o=await Reflect.apply(n,this,r);return e._def.output?await go(e._def.output,o):o}},e._zod.parse=(n,i)=>typeof n.value!="function"?(n.issues.push({code:"invalid_type",expected:"function",input:n.value,inst:e}),n):(e._def.output&&e._def.output._zod.def.type==="promise"?n.value=e.implementAsync(n.value):n.value=e.implement(n.value),n),e.input=(...n)=>{let i=e.constructor;return Array.isArray(n[0])?new i({type:"function",input:new Lo({type:"tuple",items:n[0],rest:n[1]}),output:e._def.output}):new i({type:"function",input:n[0],output:e._def.output})},e.output=n=>{let i=e.constructor;return new i({type:"function",input:e._def.input,output:n})},e)),_l=v("$ZodPromise",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},i))}),Sl=v("$ZodLazy",(e,t)=>{B.init(e,t),W(e._zod,"innerType",()=>t.getter()),W(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),W(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),W(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),W(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,i)=>e._zod.innerType._zod.run(n,i)}),Tl=v("$ZodCustom",(e,t)=>{se.init(e,t),B.init(e,t),e._zod.parse=(n,i)=>n,e._zod.check=n=>{let i=n.value,r=t.fn(i);if(r instanceof Promise)return r.then(o=>kg(o,n,i,e));kg(r,n,i,e)}});function kg(e,t,n,i){if(!e){let r={code:"custom",input:n,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(r.params=i._zod.def.params),t.issues.push(Ur(r))}}a(kg,"handleRefineResult");var fi={};Et(fi,{ar:()=>$l,az:()=>Il,be:()=>El,bg:()=>Ol,ca:()=>Nl,cs:()=>kl,da:()=>wl,de:()=>Dl,en:()=>ui,eo:()=>Rl,es:()=>jl,fa:()=>Al,fi:()=>zl,fr:()=>Ll,frCA:()=>Pl,he:()=>Ul,hu:()=>Fl,hy:()=>Cl,id:()=>Vl,is:()=>Ml,it:()=>Zl,ja:()=>Gl,ka:()=>Bl,kh:()=>Jl,km:()=>li,ko:()=>Ql,lt:()=>ql,mk:()=>Yl,ms:()=>Kl,nl:()=>Wl,no:()=>Xl,ota:()=>Hl,pl:()=>tp,ps:()=>ep,pt:()=>rp,ru:()=>np,sl:()=>ip,sv:()=>op,ta:()=>ap,th:()=>sp,tr:()=>cp,ua:()=>up,uk:()=>di,ur:()=>lp,uz:()=>pp,vi:()=>dp,yo:()=>hp,zhCN:()=>fp,zhTW:()=>mp});var aS=a(()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${r.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${c}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${o}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${c}`}case"invalid_value":return r.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${I(r.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${r.minimum.toString()} ${s.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${r.prefix}"`:o.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${o.suffix}"`:o.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${o.includes}"`:o.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${o.pattern}`:`${n[o.format]??r.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${r.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${r.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${r.keys.length>1?"\u0629":""}: ${_(r.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}},"error");function $l(){return{localeError:aS()}}a($l,"default");var sS=a(()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${r.expected}, daxil olan ${c}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${o}, daxil olan ${c}`}case"invalid_value":return r.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${I(r.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${o}${r.maximum.toString()} ${s.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${o}${r.minimum.toString()} ${s.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${o.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:o.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${o.suffix}" il\u0259 bitm\u0259lidir`:o.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${o.includes}" daxil olmal\u0131d\u0131r`:o.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${o.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${n[o.format]??r.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${r.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${r.keys.length>1?"lar":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${r.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}},"error");function Il(){return{localeError:sS()}}a(Il,"default");function zg(e,t,n,i){let r=Math.abs(e),o=r%10,s=r%100;return s>=11&&s<=19?i:o===1?t:o>=2&&o<=4?n:i}a(zg,"getBelarusianPlural");var cS=a(()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},i={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${r.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${c}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${o}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${I(r.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);if(s){let c=Number(r.maximum),u=zg(c,s.unit.one,s.unit.few,s.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${s.verb} ${o}${r.maximum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);if(s){let c=Number(r.minimum),u=zg(c,s.unit.one,s.unit.few,s.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${s.verb} ${o}${r.minimum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${r.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${_(r.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${r.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}},"error");function El(){return{localeError:cS()}}a(El,"default");var uS=a(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${c}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${I(r.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${r.maximum.toString()} ${s.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${r.minimum.toString()} ${s.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;if(o.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${o.prefix}"`;if(o.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${o.suffix}"`;if(o.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${o.includes}"`;if(o.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${o.pattern}`;let s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return o.format==="emoji"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="datetime"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="date"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),o.format==="time"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="duration"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${s} ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${r.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u043E\u0432\u0435":""}: ${_(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}},"error");function Ol(){return{localeError:uS()}}a(Ol,"default");var lS=a(()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${r.expected}, s'ha rebut ${c}`:`Tipus inv\xE0lid: s'esperava ${o}, s'ha rebut ${c}`}case"invalid_value":return r.values.length===1?`Valor inv\xE0lid: s'esperava ${I(r.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${_(r.values," o ")}`;case"too_big":{let o=r.inclusive?"com a m\xE0xim":"menys de",s=t(r.origin);return s?`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xE9s ${o} ${r.maximum.toString()} ${s.unit??"elements"}`:`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?"com a m\xEDnim":"m\xE9s de",s=t(r.origin);return s?`Massa petit: s'esperava que ${r.origin} contingu\xE9s ${o} ${r.minimum.toString()} ${s.unit}`:`Massa petit: s'esperava que ${r.origin} fos ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${o.prefix}"`:o.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${o.suffix}"`:o.format==="includes"?`Format inv\xE0lid: ha d'incloure "${o.includes}"`:o.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${o.pattern}`:`Format inv\xE0lid per a ${n[o.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${r.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${r.origin}`;default:return"Entrada inv\xE0lida"}}},"error");function Nl(){return{localeError:lS()}}a(Nl,"default");var pS=a(()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${r.expected}, obdr\u017Eeno ${c}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${o}, obdr\u017Eeno ${c}`}case"invalid_value":return r.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${I(r.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${o}${r.maximum.toString()} ${s.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${o}${r.minimum.toString()} ${s.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${o.prefix}"`:o.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${o.suffix}"`:o.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${o.includes}"`:o.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${o.pattern}`:`Neplatn\xFD form\xE1t ${n[o.format]??r.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${_(r.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${r.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${r.origin}`;default:return"Neplatn\xFD vstup"}}},"error");function kl(){return{localeError:pS()}}a(kl,"default");var dS=a(()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ugyldigt input: forventede instanceof ${r.expected}, fik ${c}`:`Ugyldigt input: forventede ${o}, fik ${c}`}case"invalid_value":return r.values.length===1?`Ugyldig v\xE6rdi: forventede ${I(r.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin),c=i[r.origin]??r.origin;return s?`For stor: forventede ${c??"value"} ${s.verb} ${o} ${r.maximum.toString()} ${s.unit??"elementer"}`:`For stor: forventede ${c??"value"} havde ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin),c=i[r.origin]??r.origin;return s?`For lille: forventede ${c} ${s.verb} ${o} ${r.minimum.toString()} ${s.unit}`:`For lille: forventede ${c} havde ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ugyldig streng: skal starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: skal ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: skal indeholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${n[o.format]??r.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${_(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${r.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${r.origin}`;default:return"Ugyldigt input"}}},"error");function wl(){return{localeError:dS()}}a(wl,"default");var fS=a(()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},i={nan:"NaN",number:"Zahl",array:"Array"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${c}`:`Ung\xFCltige Eingabe: erwartet ${o}, erhalten ${c}`}case"invalid_value":return r.values.length===1?`Ung\xFCltige Eingabe: erwartet ${I(r.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${o}${r.maximum.toString()} ${s.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${o}${r.maximum.toString()} ist`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Zu klein: erwartet, dass ${r.origin} ${o}${r.minimum.toString()} ${s.unit} hat`:`Zu klein: erwartet, dass ${r.origin} ${o}${r.minimum.toString()} ist`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ung\xFCltiger String: muss mit "${o.prefix}" beginnen`:o.format==="ends_with"?`Ung\xFCltiger String: muss mit "${o.suffix}" enden`:o.format==="includes"?`Ung\xFCltiger String: muss "${o.includes}" enthalten`:o.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${o.pattern} entsprechen`:`Ung\xFCltig: ${n[o.format]??r.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${_(r.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${r.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${r.origin}`;default:return"Ung\xFCltige Eingabe"}}},"error");function Dl(){return{localeError:fS()}}a(Dl,"default");var mS=a(()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return`Invalid input: expected ${o}, received ${c}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${I(r.values[0])}`:`Invalid option: expected one of ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Too big: expected ${r.origin??"value"} to have ${o}${r.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Too small: expected ${r.origin} to have ${o}${r.minimum.toString()} ${s.unit}`:`Too small: expected ${r.origin} to be ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}},"error");function ui(){return{localeError:mS()}}a(ui,"default");var hS=a(()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${r.expected}, ricevi\u011Dis ${c}`:`Nevalida enigo: atendi\u011Dis ${o}, ricevi\u011Dis ${c}`}case"invalid_value":return r.values.length===1?`Nevalida enigo: atendi\u011Dis ${I(r.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${o}${r.maximum.toString()} ${s.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Tro malgranda: atendi\u011Dis ke ${r.origin} havu ${o}${r.minimum.toString()} ${s.unit}`:`Tro malgranda: atendi\u011Dis ke ${r.origin} estu ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${o.prefix}"`:o.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${o.suffix}"`:o.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${o.includes}"`:o.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${o.pattern}`:`Nevalida ${n[o.format]??r.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${r.divisor}`;case"unrecognized_keys":return`Nekonata${r.keys.length>1?"j":""} \u015Dlosilo${r.keys.length>1?"j":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${r.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${r.origin}`;default:return"Nevalida enigo"}}},"error");function Rl(){return{localeError:hS()}}a(Rl,"default");var gS=a(()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${r.expected}, recibido ${c}`:`Entrada inv\xE1lida: se esperaba ${o}, recibido ${c}`}case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: se esperaba ${I(r.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin),c=i[r.origin]??r.origin;return s?`Demasiado grande: se esperaba que ${c??"valor"} tuviera ${o}${r.maximum.toString()} ${s.unit??"elementos"}`:`Demasiado grande: se esperaba que ${c??"valor"} fuera ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin),c=i[r.origin]??r.origin;return s?`Demasiado peque\xF1o: se esperaba que ${c} tuviera ${o}${r.minimum.toString()} ${s.unit}`:`Demasiado peque\xF1o: se esperaba que ${c} fuera ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${o.prefix}"`:o.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${o.suffix}"`:o.format==="includes"?`Cadena inv\xE1lida: debe incluir "${o.includes}"`:o.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${o.pattern}`:`Inv\xE1lido ${n[o.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${i[r.origin]??r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${i[r.origin]??r.origin}`;default:return"Entrada inv\xE1lida"}}},"error");function jl(){return{localeError:gS()}}a(jl,"default");var yS=a(()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${r.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${c} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${o} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${c} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return r.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${I(r.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${_(r.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} ${s.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:o.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:o.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${o.includes}" \u0628\u0627\u0634\u062F`:o.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${o.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${n[o.format]??r.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${r.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${r.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${_(r.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${r.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${r.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}},"error");function Al(){return{localeError:yS()}}a(Al,"default");var vS=a(()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${c}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${c}`}case"invalid_value":return r.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${I(r.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Liian suuri: ${s.subject} t\xE4ytyy olla ${o}${r.maximum.toString()} ${s.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Liian pieni: ${s.subject} t\xE4ytyy olla ${o}${r.minimum.toString()} ${s.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${o.prefix}"`:o.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${o.suffix}"`:o.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${o.includes}"`:o.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${o.pattern}`:`Virheellinen ${n[o.format]??r.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${_(r.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}},"error");function zl(){return{localeError:vS()}}a(zl,"default");var bS=a(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},i={nan:"NaN",number:"nombre",array:"tableau"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : instanceof ${r.expected} attendu, ${c} re\xE7u`:`Entr\xE9e invalide : ${o} attendu, ${c} re\xE7u`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : ${I(r.values[0])} attendu`:`Option invalide : une valeur parmi ${_(r.values,"|")} attendue`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Trop grand : ${r.origin??"valeur"} doit ${s.verb} ${o}${r.maximum.toString()} ${s.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${r.origin??"valeur"} doit \xEAtre ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Trop petit : ${r.origin} doit ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`Trop petit : ${r.origin} doit \xEAtre ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${o.pattern}`:`${n[o.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${_(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Ll(){return{localeError:bS()}}a(Ll,"default");var xS=a(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : attendu instanceof ${r.expected}, re\xE7u ${c}`:`Entr\xE9e invalide : attendu ${o}, re\xE7u ${c}`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : attendu ${I(r.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"\u2264":"<",s=t(r.origin);return s?`Trop grand : attendu que ${r.origin??"la valeur"} ait ${o}${r.maximum.toString()} ${s.unit}`:`Trop grand : attendu que ${r.origin??"la valeur"} soit ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?"\u2265":">",s=t(r.origin);return s?`Trop petit : attendu que ${r.origin} ait ${o}${r.minimum.toString()} ${s.unit}`:`Trop petit : attendu que ${r.origin} soit ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${o.pattern}`:`${n[o.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${_(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Pl(){return{localeError:xS()}}a(Pl,"default");var _S=a(()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},n=a(l=>l?e[l]:void 0,"typeEntry"),i=a(l=>{let p=n(l);return p?p.label:l??e.unknown.label},"typeLabel"),r=a(l=>`\u05D4${i(l)}`,"withDefinite"),o=a(l=>(n(l)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA","verbFor"),s=a(l=>l?t[l]??null:null,"getSizing"),c={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},u={nan:"NaN"};return l=>{switch(l.code){case"invalid_type":{let p=l.expected,d=u[p??""]??i(p),m=E(l.input),g=u[m]??e[m]?.label??m;return/^[A-Z]/.test(l.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${l.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${g}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${d}, \u05D4\u05EA\u05E7\u05D1\u05DC ${g}`}case"invalid_value":{if(l.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${I(l.values[0])}`;let p=l.values.map(g=>I(g));if(l.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${p[0]} \u05D0\u05D5 ${p[1]}`;let d=p[p.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${p.slice(0,-1).join(", ")} \u05D0\u05D5 ${d}`}case"too_big":{let p=s(l.origin),d=r(l.origin??"value");if(l.origin==="string")return`${p?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${l.maximum.toString()} ${p?.unit??""} ${l.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(l.origin==="number"){let y=l.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${l.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${l.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${y}`}if(l.origin==="array"||l.origin==="set"){let y=l.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",x=l.inclusive?`${l.maximum} ${p?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${l.maximum} ${p?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${d} ${y} \u05DC\u05D4\u05DB\u05D9\u05DC ${x}`.trim()}let m=l.inclusive?"<=":"<",g=o(l.origin??"value");return p?.unit?`${p.longLabel} \u05DE\u05D3\u05D9: ${d} ${g} ${m}${l.maximum.toString()} ${p.unit}`:`${p?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${d} ${g} ${m}${l.maximum.toString()}`}case"too_small":{let p=s(l.origin),d=r(l.origin??"value");if(l.origin==="string")return`${p?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${l.minimum.toString()} ${p?.unit??""} ${l.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(l.origin==="number"){let y=l.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${l.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${l.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${y}`}if(l.origin==="array"||l.origin==="set"){let y=l.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(l.minimum===1&&l.inclusive){let k=(l.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} ${y} \u05DC\u05D4\u05DB\u05D9\u05DC ${k}`}let x=l.inclusive?`${l.minimum} ${p?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${l.minimum} ${p?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} ${y} \u05DC\u05D4\u05DB\u05D9\u05DC ${x}`.trim()}let m=l.inclusive?">=":">",g=o(l.origin??"value");return p?.unit?`${p.shortLabel} \u05DE\u05D3\u05D9: ${d} ${g} ${m}${l.minimum.toString()} ${p.unit}`:`${p?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${d} ${g} ${m}${l.minimum.toString()}`}case"invalid_format":{let p=l;if(p.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${p.prefix}"`;if(p.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${p.suffix}"`;if(p.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${p.includes}"`;if(p.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${p.pattern}`;let d=c[p.format],m=d?.label??p.format,y=(d?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${m} \u05DC\u05D0 ${y}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${l.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${l.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${l.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${_(l.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${r(l.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}},"error");function Ul(){return{localeError:_S()}}a(Ul,"default");var SS=a(()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"},i={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${r.expected}, a kapott \xE9rt\xE9k ${c}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${o}, a kapott \xE9rt\xE9k ${c}`}case"invalid_value":return r.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${I(r.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`T\xFAl nagy: ${r.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${o}${r.maximum.toString()} ${s.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${r.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} m\xE9rete t\xFAl kicsi ${o}${r.minimum.toString()} ${s.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} t\xFAl kicsi ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\xC9rv\xE9nytelen string: "${o.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:o.format==="ends_with"?`\xC9rv\xE9nytelen string: "${o.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:o.format==="includes"?`\xC9rv\xE9nytelen string: "${o.includes}" \xE9rt\xE9ket kell tartalmaznia`:o.format==="regex"?`\xC9rv\xE9nytelen string: ${o.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${n[o.format]??r.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${r.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${r.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${r.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}},"error");function Fl(){return{localeError:SS()}}a(Fl,"default");function Lg(e,t,n){return Math.abs(e)===1?t:n}a(Lg,"getArmenianPlural");function Gr(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],n=e[e.length-1];return e+(t.includes(n)?"\u0576":"\u0568")}a(Gr,"withDefiniteArticle");var TS=a(()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},i={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${r.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${c}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${o}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${c}`}case"invalid_value":return r.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${I(r.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);if(s){let c=Number(r.maximum),u=Lg(c,s.unit.one,s.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Gr(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${r.maximum.toString()} ${u}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Gr(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);if(s){let c=Number(r.minimum),u=Lg(c,s.unit.one,s.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Gr(r.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${r.minimum.toString()} ${u}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Gr(r.origin)} \u056C\u056B\u0576\u056B ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${o.prefix}"-\u0578\u057E`:o.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${o.suffix}"-\u0578\u057E`:o.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${o.includes}"`:o.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${o.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${n[o.format]??r.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${r.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${r.keys.length>1?"\u0576\u0565\u0580":""}. ${_(r.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${Gr(r.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${Gr(r.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}},"error");function Cl(){return{localeError:TS()}}a(Cl,"default");var $S=a(()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${c}`:`Input tidak valid: diharapkan ${o}, diterima ${c}`}case"invalid_value":return r.values.length===1?`Input tidak valid: diharapkan ${I(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${o}${r.maximum.toString()} ${s.unit??"elemen"}`:`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Terlalu kecil: diharapkan ${r.origin} memiliki ${o}${r.minimum.toString()} ${s.unit}`:`Terlalu kecil: diharapkan ${r.origin} menjadi ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`String tidak valid: harus dimulai dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak valid: harus berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak valid: harus menyertakan "${o.includes}"`:o.format==="regex"?`String tidak valid: harus sesuai pola ${o.pattern}`:`${n[o.format]??r.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`;default:return"Input tidak valid"}}},"error");function Vl(){return{localeError:$S()}}a(Vl,"default");var IS=a(()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"n\xFAmer",array:"fylki"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${c} \xFEar sem \xE1 a\xF0 vera instanceof ${r.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${c} \xFEar sem \xE1 a\xF0 vera ${o}`}case"invalid_value":return r.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${I(r.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} hafi ${o}${r.maximum.toString()} ${s.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} s\xE9 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} hafi ${o}${r.minimum.toString()} ${s.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} s\xE9 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${o.prefix}"`:o.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${o.suffix}"`:o.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${o.includes}"`:o.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${o.pattern}`:`Rangt ${n[o.format]??r.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${r.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${r.keys.length>1?"ir lyklar":"ur lykill"}: ${_(r.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${r.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${r.origin}`;default:return"Rangt gildi"}}},"error");function Ml(){return{localeError:IS()}}a(Ml,"default");var ES=a(()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"numero",array:"vettore"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Input non valido: atteso instanceof ${r.expected}, ricevuto ${c}`:`Input non valido: atteso ${o}, ricevuto ${c}`}case"invalid_value":return r.values.length===1?`Input non valido: atteso ${I(r.values[0])}`:`Opzione non valida: atteso uno tra ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Troppo grande: ${r.origin??"valore"} deve avere ${o}${r.maximum.toString()} ${s.unit??"elementi"}`:`Troppo grande: ${r.origin??"valore"} deve essere ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Troppo piccolo: ${r.origin} deve avere ${o}${r.minimum.toString()} ${s.unit}`:`Troppo piccolo: ${r.origin} deve essere ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${_(r.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`;default:return"Input non valido"}}},"error");function Zl(){return{localeError:ES()}}a(Zl,"default");var OS=a(()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},i={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${r.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${c}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${o}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${c}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return r.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${I(r.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${_(r.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let o=r.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",s=t(r.origin);return s?`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${s.unit??"\u8981\u7D20"}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let o=r.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",s=t(r.origin);return s?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${s.unit}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${o.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${n[o.format]??r.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${r.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${r.keys.length>1?"\u7FA4":""}: ${_(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}},"error");function Gl(){return{localeError:OS()}}a(Gl,"default");var NS=a(()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",json_string:"JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},i={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${r.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${c}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${o}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${c}`}case"invalid_value":return r.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${I(r.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${_(r.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${s.verb} ${o}${r.maximum.toString()} ${s.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} \u10D8\u10E7\u10DD\u10E1 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.prefix}"-\u10D8\u10D7`:o.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.suffix}"-\u10D8\u10D7`:o.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${o.includes}"-\u10E1`:o.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${o.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${r.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${r.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${_(r.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${r.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${r.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}},"error");function Bl(){return{localeError:NS()}}a(Bl,"default");var kS=a(()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},i={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${r.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${c}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${o} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${c}`}case"invalid_value":return r.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${I(r.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${r.maximum.toString()} ${s.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${o} ${r.minimum.toString()} ${s.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${o.prefix}"`:o.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${o.suffix}"`:o.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${o.includes}"`:o.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${o.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${r.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${_(r.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}},"error");function li(){return{localeError:kS()}}a(li,"default");function Jl(){return li()}a(Jl,"default");var wS=a(()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${r.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${c}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${o}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${c}\uC785\uB2C8\uB2E4`}case"invalid_value":return r.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${I(r.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${_(r.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let o=r.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",s=o==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",c=t(r.origin),u=c?.unit??"\uC694\uC18C";return c?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()}${u} ${o}${s}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()} ${o}${s}`}case"too_small":{let o=r.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",s=o==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",c=t(r.origin),u=c?.unit??"\uC694\uC18C";return c?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()}${u} ${o}${s}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()} ${o}${s}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:o.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${o.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${n[o.format]??r.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${r.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${_(r.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${r.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${r.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}},"error");function Ql(){return{localeError:wS()}}a(Ql,"default");var pi=a(e=>e.charAt(0).toUpperCase()+e.slice(1),"capitalizeFirstCharacter");function Pg(e){let t=Math.abs(e),n=t%10,i=t%100;return i>=11&&i<=19||n===0?"many":n===1?"one":"few"}a(Pg,"getUnitTypeFromNumber");var DS=a(()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(r,o,s,c){let u=e[r]??null;return u===null?u:{unit:u.unit[o],verb:u.verb[c][s?"inclusive":"notInclusive"]}}a(t,"getSizing");let n={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",jwt:"JWT",template_literal:"\u012Fvestis"},i={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Gautas tipas ${c}, o tik\u0117tasi - instanceof ${r.expected}`:`Gautas tipas ${c}, o tik\u0117tasi - ${o}`}case"invalid_value":return r.values.length===1?`Privalo b\u016Bti ${I(r.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${_(r.values,"|")} pasirinkim\u0173`;case"too_big":{let o=i[r.origin]??r.origin,s=t(r.origin,Pg(Number(r.maximum)),r.inclusive??!1,"smaller");if(s?.verb)return`${pi(o??r.origin??"reik\u0161m\u0117")} ${s.verb} ${r.maximum.toString()} ${s.unit??"element\u0173"}`;let c=r.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${pi(o??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${r.maximum.toString()} ${s?.unit}`}case"too_small":{let o=i[r.origin]??r.origin,s=t(r.origin,Pg(Number(r.minimum)),r.inclusive??!1,"bigger");if(s?.verb)return`${pi(o??r.origin??"reik\u0161m\u0117")} ${s.verb} ${r.minimum.toString()} ${s.unit??"element\u0173"}`;let c=r.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${pi(o??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${r.minimum.toString()} ${s?.unit}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${o.prefix}"`:o.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${o.suffix}"`:o.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${o.includes}"`:o.format==="regex"?`Eilut\u0117 privalo atitikti ${o.pattern}`:`Neteisingas ${n[o.format]??r.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${r.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${r.keys.length>1?"i":"as"} rakt${r.keys.length>1?"ai":"as"}: ${_(r.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let o=i[r.origin]??r.origin;return`${pi(o??r.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}},"error");function ql(){return{localeError:DS()}}a(ql,"default");var RS=a(()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},i={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${r.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${c}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${o}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${c}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${I(r.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${o}${r.maximum.toString()} ${s.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0438\u043C\u0430 ${o}${r.minimum.toString()} ${s.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${_(r.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${r.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${r.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}},"error");function Yl(){return{localeError:RS()}}a(Yl,"default");var jS=a(()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"nombor"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${c}`:`Input tidak sah: dijangka ${o}, diterima ${c}`}case"invalid_value":return r.values.length===1?`Input tidak sah: dijangka ${I(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Terlalu besar: dijangka ${r.origin??"nilai"} ${s.verb} ${o}${r.maximum.toString()} ${s.unit??"elemen"}`:`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Terlalu kecil: dijangka ${r.origin} ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`Terlalu kecil: dijangka ${r.origin} adalah ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`String tidak sah: mesti bermula dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak sah: mesti mengandungi "${o.includes}"`:o.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${o.pattern}`:`${n[o.format]??r.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${_(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`;default:return"Input tidak sah"}}},"error");function Kl(){return{localeError:jS()}}a(Kl,"default");var AS=a(()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},i={nan:"NaN",number:"getal"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${c}`:`Ongeldige invoer: verwacht ${o}, ontving ${c}`}case"invalid_value":return r.values.length===1?`Ongeldige invoer: verwacht ${I(r.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin),c=r.origin==="date"?"laat":r.origin==="string"?"lang":"groot";return s?`Te ${c}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} ${s.unit??"elementen"} ${s.verb}`:`Te ${c}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} is`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin),c=r.origin==="date"?"vroeg":r.origin==="string"?"kort":"klein";return s?`Te ${c}: verwacht dat ${r.origin} ${o}${r.minimum.toString()} ${s.unit} ${s.verb}`:`Te ${c}: verwacht dat ${r.origin} ${o}${r.minimum.toString()} is`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ongeldige tekst: moet met "${o.prefix}" beginnen`:o.format==="ends_with"?`Ongeldige tekst: moet op "${o.suffix}" eindigen`:o.format==="includes"?`Ongeldige tekst: moet "${o.includes}" bevatten`:o.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${o.pattern}`:`Ongeldig: ${n[o.format]??r.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${r.origin}`;default:return"Ongeldige invoer"}}},"error");function Wl(){return{localeError:AS()}}a(Wl,"default");var zS=a(()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tall",array:"liste"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventet instanceof ${r.expected}, fikk ${c}`:`Ugyldig input: forventet ${o}, fikk ${c}`}case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventet ${I(r.values[0])}`:`Ugyldig valg: forventet en av ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${o}${r.maximum.toString()} ${s.unit??"elementer"}`:`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`For lite(n): forventet ${r.origin} til \xE5 ha ${o}${r.minimum.toString()} ${s.unit}`:`For lite(n): forventet ${r.origin} til \xE5 ha ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${n[o.format]??r.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${_(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${r.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`;default:return"Ugyldig input"}}},"error");function Xl(){return{localeError:zS()}}a(Xl,"default");var LS=a(()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`F\xE2sit giren: umulan instanceof ${r.expected}, al\u0131nan ${c}`:`F\xE2sit giren: umulan ${o}, al\u0131nan ${c}`}case"invalid_value":return r.values.length===1?`F\xE2sit giren: umulan ${I(r.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${o}${r.maximum.toString()} ${s.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${o}${r.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${o}${r.minimum.toString()} ${s.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${o}${r.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let o=r;return o.format==="starts_with"?`F\xE2sit metin: "${o.prefix}" ile ba\u015Flamal\u0131.`:o.format==="ends_with"?`F\xE2sit metin: "${o.suffix}" ile bitmeli.`:o.format==="includes"?`F\xE2sit metin: "${o.includes}" ihtiv\xE2 etmeli.`:o.format==="regex"?`F\xE2sit metin: ${o.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${n[o.format]??r.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${r.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${r.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}},"error");function Hl(){return{localeError:LS()}}a(Hl,"default");var PS=a(()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${r.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${c} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${o} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${c} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return r.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${I(r.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${_(r.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} \u0648\u064A`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} ${s.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} \u0648\u064A`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:o.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:o.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${o.includes}" \u0648\u0644\u0631\u064A`:o.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${o.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${n[o.format]??r.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${r.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${r.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${_(r.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${r.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${r.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}},"error");function ep(){return{localeError:PS()}}a(ep,"default");var US=a(()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"},i={nan:"NaN",number:"liczba",array:"tablica"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${r.expected}, otrzymano ${c}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${o}, otrzymano ${c}`}case"invalid_value":return r.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${I(r.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${r.maximum.toString()} ${s.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${r.minimum.toString()} ${s.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${o.prefix}"`:o.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${o.suffix}"`:o.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${o.includes}"`:o.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${o.pattern}`:`Nieprawid\u0142ow(y/a/e) ${n[o.format]??r.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${r.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${r.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}},"error");function tp(){return{localeError:US()}}a(tp,"default");var FS=a(()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",number:"n\xFAmero",null:"nulo"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Tipo inv\xE1lido: esperado instanceof ${r.expected}, recebido ${c}`:`Tipo inv\xE1lido: esperado ${o}, recebido ${c}`}case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: esperado ${I(r.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Muito grande: esperado que ${r.origin??"valor"} tivesse ${o}${r.maximum.toString()} ${s.unit??"elementos"}`:`Muito grande: esperado que ${r.origin??"valor"} fosse ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Muito pequeno: esperado que ${r.origin} tivesse ${o}${r.minimum.toString()} ${s.unit}`:`Muito pequeno: esperado que ${r.origin} fosse ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${o.prefix}"`:o.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${o.suffix}"`:o.format==="includes"?`Texto inv\xE1lido: deve incluir "${o.includes}"`:o.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${o.pattern}`:`${n[o.format]??r.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${r.origin}`;default:return"Campo inv\xE1lido"}}},"error");function rp(){return{localeError:FS()}}a(rp,"default");function Ug(e,t,n,i){let r=Math.abs(e),o=r%10,s=r%100;return s>=11&&s<=19?i:o===1?t:o>=2&&o<=4?n:i}a(Ug,"getRussianPlural");var CS=a(()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${c}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${I(r.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);if(s){let c=Number(r.maximum),u=Ug(c,s.unit.one,s.unit.few,s.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${r.maximum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);if(s){let c=Number(r.minimum),u=Ug(c,s.unit.one,s.unit.few,s.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${r.minimum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${r.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0438":""}: ${_(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}},"error");function np(){return{localeError:CS()}}a(np,"default");var VS=a(()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"},i={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${r.expected}, prejeto ${c}`:`Neveljaven vnos: pri\u010Dakovano ${o}, prejeto ${c}`}case"invalid_value":return r.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${I(r.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} imelo ${o}${r.maximum.toString()} ${s.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Premajhno: pri\u010Dakovano, da bo ${r.origin} imelo ${o}${r.minimum.toString()} ${s.unit}`:`Premajhno: pri\u010Dakovano, da bo ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${o.prefix}"`:o.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${o.suffix}"`:o.format==="includes"?`Neveljaven niz: mora vsebovati "${o.includes}"`:o.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`:`Neveljaven ${n[o.format]??r.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${_(r.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${r.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`;default:return"Neveljaven vnos"}}},"error");function ip(){return{localeError:VS()}}a(ip,"default");var MS=a(()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${r.expected}, fick ${c}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${o}, fick ${c}`}case"invalid_value":return r.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${I(r.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`F\xF6r stor(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${o}${r.maximum.toString()} ${s.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${r.origin??"v\xE4rdet"} att ha ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${o}${r.minimum.toString()} ${s.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${o.prefix}"`:o.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${o.suffix}"`:o.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${o.includes}"`:o.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${o.pattern}"`:`Ogiltig(t) ${n[o.format]??r.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${_(r.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${r.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${r.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}},"error");function op(){return{localeError:MS()}}a(op,"default");var ZS=a(()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${r.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${c}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${c}`}case"invalid_value":return r.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${I(r.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${_(r.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${r.maximum.toString()} ${s.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${r.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${o}${r.minimum.toString()} ${s.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${o}${r.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${o.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${r.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${r.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}},"error");function ap(){return{localeError:ZS()}}a(ap,"default");var GS=a(()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},i={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${r.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${c}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${o} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${c}`}case"invalid_value":return r.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${I(r.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",s=t(r.origin);return s?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.maximum.toString()} ${s.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",s=t(r.origin);return s?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.minimum.toString()} ${s.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${o.prefix}"`:o.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${o.suffix}"`:o.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${o.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:o.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${o.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${r.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${_(r.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}},"error");function sp(){return{localeError:GS()}}a(sp,"default");var BS=a(()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${r.expected}, al\u0131nan ${c}`:`Ge\xE7ersiz de\u011Fer: beklenen ${o}, al\u0131nan ${c}`}case"invalid_value":return r.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${I(r.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${o}${r.maximum.toString()} ${s.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${o}${r.minimum.toString()} ${s.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ge\xE7ersiz metin: "${o.prefix}" ile ba\u015Flamal\u0131`:o.format==="ends_with"?`Ge\xE7ersiz metin: "${o.suffix}" ile bitmeli`:o.format==="includes"?`Ge\xE7ersiz metin: "${o.includes}" i\xE7ermeli`:o.format==="regex"?`Ge\xE7ersiz metin: ${o.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${n[o.format]??r.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${r.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${r.keys.length>1?"lar":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${r.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}},"error");function cp(){return{localeError:BS()}}a(cp,"default");var JS=a(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${r.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${c}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${o}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${I(r.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${s.verb} ${o}${r.maximum.toString()} ${s.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} \u0431\u0443\u0434\u0435 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0456":""}: ${_(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${r.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}},"error");function di(){return{localeError:JS()}}a(di,"default");function up(){return di()}a(up,"default");var QS=a(()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},i={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${r.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${c} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${o} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${c} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return r.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${I(r.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${_(r.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${o}${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${o}${r.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u06D2 ${o}${r.minimum.toString()} ${s.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u0627 ${o}${r.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${o.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${r.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${r.keys.length>1?"\u0632":""}: ${_(r.keys,"\u060C ")}`;case"invalid_key":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}},"error");function lp(){return{localeError:QS()}}a(lp,"default");var qS=a(()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},i={nan:"NaN",number:"raqam",array:"massiv"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${c}`:`Noto\u2018g\u2018ri kirish: kutilgan ${o}, qabul qilingan ${c}`}case"invalid_value":return r.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${I(r.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Juda katta: kutilgan ${r.origin??"qiymat"} ${o}${r.maximum.toString()} ${s.unit} ${s.verb}`:`Juda katta: kutilgan ${r.origin??"qiymat"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Juda kichik: kutilgan ${r.origin} ${o}${r.minimum.toString()} ${s.unit} ${s.verb}`:`Juda kichik: kutilgan ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${o.prefix}" bilan boshlanishi kerak`:o.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${o.suffix}" bilan tugashi kerak`:o.format==="includes"?`Noto\u2018g\u2018ri satr: "${o.includes}" ni o\u2018z ichiga olishi kerak`:o.format==="regex"?`Noto\u2018g\u2018ri satr: ${o.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${n[o.format]??r.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${r.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${r.keys.length>1?"lar":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${r.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}},"error");function pp(){return{localeError:qS()}}a(pp,"default");var YS=a(()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},i={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${r.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${c}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${o}, nh\u1EADn \u0111\u01B0\u1EE3c ${c}`}case"invalid_value":return r.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${I(r.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${s.verb} ${o}${r.maximum.toString()} ${s.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${o.prefix}"`:o.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${o.suffix}"`:o.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${o.includes}"`:o.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${o.pattern}`:`${n[o.format]??r.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${r.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${_(r.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}},"error");function dp(){return{localeError:YS()}}a(dp,"default");var KS=a(()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"},i={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${r.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${c}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${o}\uFF0C\u5B9E\u9645\u63A5\u6536 ${c}`}case"invalid_value":return r.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${I(r.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${o}${r.maximum.toString()} ${s.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${o}${r.minimum.toString()} ${s.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.prefix}" \u5F00\u5934`:o.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.suffix}" \u7ED3\u5C3E`:o.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${o.pattern}`:`\u65E0\u6548${n[o.format]??r.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${r.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${r.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}},"error");function fp(){return{localeError:KS()}}a(fp,"default");var WS=a(()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${r.expected}\uFF0C\u4F46\u6536\u5230 ${c}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${o}\uFF0C\u4F46\u6536\u5230 ${c}`}case"invalid_value":return r.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${I(r.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${o}${r.maximum.toString()} ${s.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${o}${r.minimum.toString()} ${s.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.prefix}" \u958B\u982D`:o.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.suffix}" \u7D50\u5C3E`:o.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${o.pattern}`:`\u7121\u6548\u7684 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${r.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${r.keys.length>1?"\u5011":""}\uFF1A${_(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}},"error");function mp(){return{localeError:WS()}}a(mp,"default");var XS=a(()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},i={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${r.expected}, \xE0m\u1ECD\u0300 a r\xED ${c}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${o}, \xE0m\u1ECD\u0300 a r\xED ${c}`}case"invalid_value":return r.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${I(r.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin??"iye"} ${s.verb} ${o}${r.maximum} ${s.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${r.maximum}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin} ${s.verb} ${o}${r.minimum} ${s.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${r.minimum}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${o.prefix}"`:o.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${o.suffix}"`:o.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${o.includes}"`:o.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${o.pattern}`:`A\u1E63\xEC\u1E63e: ${n[o.format]??r.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${r.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${_(r.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}},"error");function hp(){return{localeError:XS()}}a(hp,"default");var Fg,gp=Symbol("ZodOutput"),yp=Symbol("ZodInput"),Uo=class{static{a(this,"$ZodRegistry")}constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){let i=n[0];return this._map.set(t,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let i={...this.get(n)??{}};delete i.id;let r={...i,...this._map.get(t)};return Object.keys(r).length?r:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function Fo(){return new Uo}a(Fo,"registry");(Fg=globalThis).__zod_globalRegistry??(Fg.__zod_globalRegistry=Fo());var De=globalThis.__zod_globalRegistry;function vp(e,t){return new e({type:"string",...N(t)})}a(vp,"_string");function bp(e,t){return new e({type:"string",coerce:!0,...N(t)})}a(bp,"_coercedString");function Co(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...N(t)})}a(Co,"_email");function mi(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...N(t)})}a(mi,"_guid");function Vo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...N(t)})}a(Vo,"_uuid");function Mo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...N(t)})}a(Mo,"_uuidv4");function Zo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...N(t)})}a(Zo,"_uuidv6");function Go(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...N(t)})}a(Go,"_uuidv7");function hi(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...N(t)})}a(hi,"_url");function Bo(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...N(t)})}a(Bo,"_emoji");function Jo(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...N(t)})}a(Jo,"_nanoid");function Qo(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...N(t)})}a(Qo,"_cuid");function qo(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...N(t)})}a(qo,"_cuid2");function Yo(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...N(t)})}a(Yo,"_ulid");function Ko(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...N(t)})}a(Ko,"_xid");function Wo(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...N(t)})}a(Wo,"_ksuid");function Xo(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...N(t)})}a(Xo,"_ipv4");function Ho(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...N(t)})}a(Ho,"_ipv6");function xp(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...N(t)})}a(xp,"_mac");function ea(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...N(t)})}a(ea,"_cidrv4");function ta(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...N(t)})}a(ta,"_cidrv6");function ra(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...N(t)})}a(ra,"_base64");function na(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...N(t)})}a(na,"_base64url");function ia(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...N(t)})}a(ia,"_e164");function oa(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...N(t)})}a(oa,"_jwt");var _p={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Sp(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...N(t)})}a(Sp,"_isoDateTime");function Tp(e,t){return new e({type:"string",format:"date",check:"string_format",...N(t)})}a(Tp,"_isoDate");function $p(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...N(t)})}a($p,"_isoTime");function Ip(e,t){return new e({type:"string",format:"duration",check:"string_format",...N(t)})}a(Ip,"_isoDuration");function Ep(e,t){return new e({type:"number",checks:[],...N(t)})}a(Ep,"_number");function Op(e,t){return new e({type:"number",coerce:!0,checks:[],...N(t)})}a(Op,"_coercedNumber");function Np(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...N(t)})}a(Np,"_int");function kp(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...N(t)})}a(kp,"_float32");function wp(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...N(t)})}a(wp,"_float64");function Dp(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...N(t)})}a(Dp,"_int32");function Rp(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...N(t)})}a(Rp,"_uint32");function jp(e,t){return new e({type:"boolean",...N(t)})}a(jp,"_boolean");function Ap(e,t){return new e({type:"boolean",coerce:!0,...N(t)})}a(Ap,"_coercedBoolean");function zp(e,t){return new e({type:"bigint",...N(t)})}a(zp,"_bigint");function Lp(e,t){return new e({type:"bigint",coerce:!0,...N(t)})}a(Lp,"_coercedBigint");function Pp(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...N(t)})}a(Pp,"_int64");function Up(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...N(t)})}a(Up,"_uint64");function Fp(e,t){return new e({type:"symbol",...N(t)})}a(Fp,"_symbol");function Cp(e,t){return new e({type:"undefined",...N(t)})}a(Cp,"_undefined");function Vp(e,t){return new e({type:"null",...N(t)})}a(Vp,"_null");function Mp(e){return new e({type:"any"})}a(Mp,"_any");function Zp(e){return new e({type:"unknown"})}a(Zp,"_unknown");function Gp(e,t){return new e({type:"never",...N(t)})}a(Gp,"_never");function Bp(e,t){return new e({type:"void",...N(t)})}a(Bp,"_void");function Jp(e,t){return new e({type:"date",...N(t)})}a(Jp,"_date");function Qp(e,t){return new e({type:"date",coerce:!0,...N(t)})}a(Qp,"_coercedDate");function qp(e,t){return new e({type:"nan",...N(t)})}a(qp,"_nan");function Ot(e,t){return new Oo({check:"less_than",...N(t),value:e,inclusive:!1})}a(Ot,"_lt");function at(e,t){return new Oo({check:"less_than",...N(t),value:e,inclusive:!0})}a(at,"_lte");function Nt(e,t){return new No({check:"greater_than",...N(t),value:e,inclusive:!1})}a(Nt,"_gt");function Ve(e,t){return new No({check:"greater_than",...N(t),value:e,inclusive:!0})}a(Ve,"_gte");function aa(e){return Nt(0,e)}a(aa,"_positive");function sa(e){return Ot(0,e)}a(sa,"_negative");function ca(e){return at(0,e)}a(ca,"_nonpositive");function ua(e){return Ve(0,e)}a(ua,"_nonnegative");function Yt(e,t){return new Yc({check:"multiple_of",...N(t),value:e})}a(Yt,"_multipleOf");function Kt(e,t){return new Xc({check:"max_size",...N(t),maximum:e})}a(Kt,"_maxSize");function kt(e,t){return new Hc({check:"min_size",...N(t),minimum:e})}a(kt,"_minSize");function dr(e,t){return new eu({check:"size_equals",...N(t),size:e})}a(dr,"_size");function fr(e,t){return new tu({check:"max_length",...N(t),maximum:e})}a(fr,"_maxLength");function Pt(e,t){return new ru({check:"min_length",...N(t),minimum:e})}a(Pt,"_minLength");function mr(e,t){return new nu({check:"length_equals",...N(t),length:e})}a(mr,"_length");function Br(e,t){return new iu({check:"string_format",format:"regex",...N(t),pattern:e})}a(Br,"_regex");function Jr(e){return new ou({check:"string_format",format:"lowercase",...N(e)})}a(Jr,"_lowercase");function Qr(e){return new au({check:"string_format",format:"uppercase",...N(e)})}a(Qr,"_uppercase");function qr(e,t){return new su({check:"string_format",format:"includes",...N(t),includes:e})}a(qr,"_includes");function Yr(e,t){return new cu({check:"string_format",format:"starts_with",...N(t),prefix:e})}a(Yr,"_startsWith");function Kr(e,t){return new uu({check:"string_format",format:"ends_with",...N(t),suffix:e})}a(Kr,"_endsWith");function la(e,t,n){return new lu({check:"property",property:e,schema:t,...N(n)})}a(la,"_property");function Wr(e,t){return new pu({check:"mime_type",mime:e,...N(t)})}a(Wr,"_mime");function St(e){return new du({check:"overwrite",tx:e})}a(St,"_overwrite");function Xr(e){return St(t=>t.normalize(e))}a(Xr,"_normalize");function Hr(){return St(e=>e.trim())}a(Hr,"_trim");function en(){return St(e=>e.toLowerCase())}a(en,"_toLowerCase");function tn(){return St(e=>e.toUpperCase())}a(tn,"_toUpperCase");function rn(){return St(e=>lc(e))}a(rn,"_slugify");function Yp(e,t,n){return new e({type:"array",element:t,...N(n)})}a(Yp,"_array");function eT(e,t,n){return new e({type:"union",options:t,...N(n)})}a(eT,"_union");function tT(e,t,n){return new e({type:"union",options:t,inclusive:!1,...N(n)})}a(tT,"_xor");function rT(e,t,n,i){return new e({type:"union",options:n,discriminator:t,...N(i)})}a(rT,"_discriminatedUnion");function nT(e,t,n){return new e({type:"intersection",left:t,right:n})}a(nT,"_intersection");function iT(e,t,n,i){let r=n instanceof B,o=r?i:n,s=r?n:null;return new e({type:"tuple",items:t,rest:s,...N(o)})}a(iT,"_tuple");function oT(e,t,n,i){return new e({type:"record",keyType:t,valueType:n,...N(i)})}a(oT,"_record");function aT(e,t,n,i){return new e({type:"map",keyType:t,valueType:n,...N(i)})}a(aT,"_map");function sT(e,t,n){return new e({type:"set",valueType:t,...N(n)})}a(sT,"_set");function cT(e,t,n){let i=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:"enum",entries:i,...N(n)})}a(cT,"_enum");function uT(e,t,n){return new e({type:"enum",entries:t,...N(n)})}a(uT,"_nativeEnum");function lT(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...N(n)})}a(lT,"_literal");function Kp(e,t){return new e({type:"file",...N(t)})}a(Kp,"_file");function pT(e,t){return new e({type:"transform",transform:t})}a(pT,"_transform");function dT(e,t){return new e({type:"optional",innerType:t})}a(dT,"_optional");function fT(e,t){return new e({type:"nullable",innerType:t})}a(fT,"_nullable");function mT(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return typeof n=="function"?n():dc(n)}})}a(mT,"_default");function hT(e,t,n){return new e({type:"nonoptional",innerType:t,...N(n)})}a(hT,"_nonoptional");function gT(e,t){return new e({type:"success",innerType:t})}a(gT,"_success");function yT(e,t,n){return new e({type:"catch",innerType:t,catchValue:typeof n=="function"?n:()=>n})}a(yT,"_catch");function vT(e,t,n){return new e({type:"pipe",in:t,out:n})}a(vT,"_pipe");function bT(e,t){return new e({type:"readonly",innerType:t})}a(bT,"_readonly");function xT(e,t,n){return new e({type:"template_literal",parts:t,...N(n)})}a(xT,"_templateLiteral");function _T(e,t){return new e({type:"lazy",getter:t})}a(_T,"_lazy");function ST(e,t){return new e({type:"promise",innerType:t})}a(ST,"_promise");function Wp(e,t,n){let i=N(n);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}a(Wp,"_custom");function Xp(e,t,n){return new e({type:"custom",check:"custom",fn:t,...N(n)})}a(Xp,"_refine");function Hp(e){let t=Cg(n=>(n.addIssue=i=>{if(typeof i=="string")n.issues.push(Ur(i,n.value,t._zod.def));else{let r=i;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=t),r.continue??(r.continue=!t._zod.def.abort),n.issues.push(Ur(r))}},e(n.value,n)));return t}a(Hp,"_superRefine");function Cg(e,t){let n=new se({check:"custom",...N(t)});return n._zod.check=e,n}a(Cg,"_check");function ed(e){let t=new se({check:"describe"});return t._zod.onattach=[n=>{let i=De.get(n)??{};De.add(n,{...i,description:e})}],t._zod.check=()=>{},t}a(ed,"describe");function td(e){let t=new se({check:"meta"});return t._zod.onattach=[n=>{let i=De.get(n)??{};De.add(n,{...i,...e})}],t._zod.check=()=>{},t}a(td,"meta");function rd(e,t){let n=N(t),i=n.truthy??["true","1","yes","on","y","enabled"],r=n.falsy??["false","0","no","off","n","disabled"];n.case!=="sensitive"&&(i=i.map(g=>typeof g=="string"?g.toLowerCase():g),r=r.map(g=>typeof g=="string"?g.toLowerCase():g));let o=new Set(i),s=new Set(r),c=e.Codec??ci,u=e.Boolean??ai,l=e.String??pr,p=new l({type:"string",error:n.error}),d=new u({type:"boolean",error:n.error}),m=new c({type:"pipe",in:p,out:d,transform:a(((g,y)=>{let x=g;return n.case!=="sensitive"&&(x=x.toLowerCase()),o.has(x)?!0:s.has(x)?!1:(y.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...s],input:y.value,inst:m,continue:!1}),{})}),"transform"),reverseTransform:a(((g,y)=>g===!0?i[0]||"true":r[0]||"false"),"reverseTransform"),error:n.error});return m}a(rd,"_stringbool");function nn(e,t,n,i={}){let r=N(i),o={...N(i),check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:c=>n.test(c),...r};return n instanceof RegExp&&(o.pattern=n),new e(o)}a(nn,"_stringFormat");function Wt(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??De,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}a(Wt,"initializeContext");function ne(e,t,n={path:[],schemaPath:[]}){var i;let r=e._zod.def,o=t.seen.get(e);if(o)return o.count++,n.schemaPath.includes(e)&&(o.cycle=n.path),o.schema;let s={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,s);let c=e._zod.toJSONSchema?.();if(c)s.schema=c;else{let p={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,s.schema,p);else{let m=s.schema,g=t.processors[r.type];if(!g)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);g(e,t,m,p)}let d=e._zod.parent;d&&(s.ref||(s.ref=d),ne(d,t,p),t.seen.get(d).isParent=!0)}let u=t.metadataRegistry.get(e);return u&&Object.assign(s.schema,u),t.io==="input"&&Me(e)&&(delete s.schema.examples,delete s.schema.default),t.io==="input"&&s.schema._prefault&&((i=s.schema).default??(i.default=s.schema._prefault)),delete s.schema._prefault,t.seen.get(e).schema}a(ne,"process");function Xt(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=new Map;for(let s of e.seen.entries()){let c=e.metadataRegistry.get(s[0])?.id;if(c){let u=i.get(c);if(u&&u!==s[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(c,s[0])}}let r=a(s=>{let c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let d=e.external.registry.get(s[0])?.id,m=e.external.uri??(y=>y);if(d)return{ref:m(d)};let g=s[1].defId??s[1].schema.id??`schema${e.counter++}`;return s[1].defId=g,{defId:g,ref:`${m("__shared")}#/${c}/${g}`}}if(s[1]===n)return{ref:"#"};let l=`#/${c}/`,p=s[1].schema.id??`__schema${e.counter++}`;return{defId:p,ref:l+p}},"makeURI"),o=a(s=>{if(s[1].schema.$ref)return;let c=s[1],{ref:u,defId:l}=r(s);c.def={...c.schema},l&&(c.defId=l);let p=c.schema;for(let d in p)delete p[d];p.$ref=u},"extractToDef");if(e.cycles==="throw")for(let s of e.seen.entries()){let c=s[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
56
+ `)}g.write("payload.value = newResult;"),g.write("return payload;");let Z=g.compile();return(D,P)=>Z(m,D,P)},"generateFastpass"),o,s=dr,c=!Wn.jitless,l=c&&vc.value,p=t.catchall,d;e._zod.parse=(m,g)=>{d??(d=i.value);let y=m.value;return s(y)?c&&l&&g?.async===!1&&g.jitless!==!0?(o||(o=r(t.shape)),m=o(m,g),p?Zg([],y,m,g,d,e):m):n(m,g):(m.issues.push({expected:"object",code:"invalid_type",input:y,inst:e}),m)}});function kg(e,t,n,i){for(let o of e)if(o.issues.length===0)return t.value=o.value,t;let r=e.filter(o=>!Kt(o));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(s=>Xe(s,i,me())))}),t)}a(kg,"handleUnionResults");var pi=v("$ZodUnion",(e,t)=>{B.init(e,t),W(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),W(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),W(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),W(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){let r=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${r.map(o=>ei(o.source)).join("|")})$`)}});let n=t.options.length===1,i=t.options[0]._zod.run;e._zod.parse=(r,o)=>{if(n)return i(r,o);let s=!1,c=[];for(let u of t.options){let l=u._zod.run({value:r.value,issues:[]},o);if(l instanceof Promise)c.push(l),s=!0;else{if(l.issues.length===0)return l;c.push(l)}}return s?Promise.all(c).then(u=>kg(u,r,e,o)):kg(c,r,e,o)}});function Dg(e,t,n,i){let r=e.filter(o=>o.issues.length===0);return r.length===1?(t.value=r[0].value,t):(r.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(s=>Xe(s,i,me())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t)}a(Dg,"handleExclusiveUnionResults");var al=v("$ZodXor",(e,t)=>{pi.init(e,t),t.inclusive=!1;let n=t.options.length===1,i=t.options[0]._zod.run;e._zod.parse=(r,o)=>{if(n)return i(r,o);let s=!1,c=[];for(let u of t.options){let l=u._zod.run({value:r.value,issues:[]},o);l instanceof Promise?(c.push(l),s=!0):c.push(l)}return s?Promise.all(c).then(u=>Dg(u,r,e,o)):Dg(c,r,e,o)}}),sl=v("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,pi.init(e,t);let n=e._zod.parse;W(e._zod,"propValues",()=>{let r={};for(let o of t.options){let s=o._zod.propValues;if(!s||Object.keys(s).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let[c,u]of Object.entries(s)){r[c]||(r[c]=new Set);for(let l of u)r[c].add(l)}}return r});let i=Cr(()=>{let r=t.options,o=new Map;for(let s of r){let c=s._zod.propValues?.[t.discriminator];if(!c||c.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(s)}"`);for(let u of c){if(o.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);o.set(u,s)}}return o});e._zod.parse=(r,o)=>{let s=r.value;if(!dr(s))return r.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),r;let c=i.value.get(s?.[t.discriminator]);return c?c._zod.run(r,o):t.unionFallback?n(r,o):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:s,path:[t.discriminator],inst:e}),r)}}),cl=v("$ZodIntersection",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value,o=t.left._zod.run({value:r,issues:[]},i),s=t.right._zod.run({value:r,issues:[]},i);return o instanceof Promise||s instanceof Promise?Promise.all([o,s]).then(([u,l])=>Rg(n,u,l)):Rg(n,o,s)}});function _u(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Yt(e)&&Yt(t)){let n=Object.keys(t),i=Object.keys(e).filter(o=>n.indexOf(o)!==-1),r={...e,...t};for(let o of i){let s=_u(e[o],t[o]);if(!s.valid)return{valid:!1,mergeErrorPath:[o,...s.mergeErrorPath]};r[o]=s.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<e.length;i++){let r=e[i],o=t[i],s=_u(r,o);if(!s.valid)return{valid:!1,mergeErrorPath:[i,...s.mergeErrorPath]};n.push(s.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}a(_u,"mergeValues");function Rg(e,t,n){let i=new Map,r;for(let c of t.issues)if(c.code==="unrecognized_keys"){r??(r=c);for(let u of c.keys)i.has(u)||i.set(u,{}),i.get(u).l=!0}else e.issues.push(c);for(let c of n.issues)if(c.code==="unrecognized_keys")for(let u of c.keys)i.has(u)||i.set(u,{}),i.get(u).r=!0;else e.issues.push(c);let o=[...i].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(o.length&&r&&e.issues.push({...r,keys:o}),Kt(e))return e;let s=_u(t.value,n.value);if(!s.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(s.mergeErrorPath)}`);return e.value=s.data,e}a(Rg,"handleIntersectionResults");var Co=v("$ZodTuple",(e,t)=>{B.init(e,t);let n=t.items;e._zod.parse=(i,r)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];let s=[],c=[...n].reverse().findIndex(p=>p._zod.optin!=="optional"),u=c===-1?0:n.length-c;if(!t.rest){let p=o.length>n.length,d=o.length<u-1;if(p||d)return i.issues.push({...p?{code:"too_big",maximum:n.length,inclusive:!0}:{code:"too_small",minimum:n.length},input:o,inst:e,origin:"array"}),i}let l=-1;for(let p of n){if(l++,l>=o.length&&l>=u)continue;let d=p._zod.run({value:o[l],issues:[]},r);d instanceof Promise?s.push(d.then(m=>Ao(m,i,l))):Ao(d,i,l)}if(t.rest){let p=o.slice(n.length);for(let d of p){l++;let m=t.rest._zod.run({value:d,issues:[]},r);m instanceof Promise?s.push(m.then(g=>Ao(g,i,l))):Ao(m,i,l)}}return s.length?Promise.all(s).then(()=>i):i}});function Ao(e,t,n){e.issues.length&&t.issues.push(...ot(n,e.issues)),t.value[n]=e.value}a(Ao,"handleTupleResult");var ul=v("$ZodRecord",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Yt(r))return n.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),n;let o=[],s=t.keyType._zod.values;if(s){n.value={};let c=new Set;for(let l of s)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){c.add(typeof l=="number"?l.toString():l);let p=t.valueType._zod.run({value:r[l],issues:[]},i);p instanceof Promise?o.push(p.then(d=>{d.issues.length&&n.issues.push(...ot(l,d.issues)),n.value[l]=d.value})):(p.issues.length&&n.issues.push(...ot(l,p.issues)),n.value[l]=p.value)}let u;for(let l in r)c.has(l)||(u=u??[],u.push(l));u&&u.length>0&&n.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:u})}else{n.value={};for(let c of Reflect.ownKeys(r)){if(c==="__proto__")continue;let u=t.keyType._zod.run({value:c,issues:[]},i);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&ko.test(c)&&u.issues.length){let d=t.keyType._zod.run({value:Number(c),issues:[]},i);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(u=d)}if(u.issues.length){t.mode==="loose"?n.value[c]=r[c]:n.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(d=>Xe(d,i,me())),input:c,path:[c],inst:e});continue}let p=t.valueType._zod.run({value:r[c],issues:[]},i);p instanceof Promise?o.push(p.then(d=>{d.issues.length&&n.issues.push(...ot(c,d.issues)),n.value[u.value]=d.value})):(p.issues.length&&n.issues.push(...ot(c,p.issues)),n.value[u.value]=p.value)}}return o.length?Promise.all(o).then(()=>n):n}}),ll=v("$ZodMap",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),n;let o=[];n.value=new Map;for(let[s,c]of r){let u=t.keyType._zod.run({value:s,issues:[]},i),l=t.valueType._zod.run({value:c,issues:[]},i);u instanceof Promise||l instanceof Promise?o.push(Promise.all([u,l]).then(([p,d])=>{Ag(p,d,n,s,r,e,i)})):Ag(u,l,n,s,r,e,i)}return o.length?Promise.all(o).then(()=>n):n}});function Ag(e,t,n,i,r,o,s){e.issues.length&&(ti.has(typeof i)?n.issues.push(...ot(i,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:r,inst:o,issues:e.issues.map(c=>Xe(c,s,me()))})),t.issues.length&&(ti.has(typeof i)?n.issues.push(...ot(i,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:o,key:i,issues:t.issues.map(c=>Xe(c,s,me()))})),n.value.set(e.value,t.value)}a(Ag,"handleMapResult");var pl=v("$ZodSet",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Set))return n.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),n;let o=[];n.value=new Set;for(let s of r){let c=t.valueType._zod.run({value:s,issues:[]},i);c instanceof Promise?o.push(c.then(u=>jg(u,n))):jg(c,n)}return o.length?Promise.all(o).then(()=>n):n}});function jg(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}a(jg,"handleSetResult");var dl=v("$ZodEnum",(e,t)=>{B.init(e,t);let n=Xn(t.entries),i=new Set(n);e._zod.values=i,e._zod.pattern=new RegExp(`^(${n.filter(r=>ti.has(typeof r)).map(r=>typeof r=="string"?ht(r):r.toString()).join("|")})$`),e._zod.parse=(r,o)=>{let s=r.value;return i.has(s)||r.issues.push({code:"invalid_value",values:n,input:s,inst:e}),r}}),fl=v("$ZodLiteral",(e,t)=>{if(B.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?ht(i):i?ht(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,r)=>{let o=i.value;return n.has(o)||i.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),i}}),ml=v("$ZodFile",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return r instanceof File||n.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),n}}),hl=v("$ZodTransform",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Jt(e.constructor.name);let r=t.transform(n.value,n);if(i.async)return(r instanceof Promise?r:Promise.resolve(r)).then(s=>(n.value=s,n));if(r instanceof Promise)throw new _t;return n.value=r,n}});function Lg(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}a(Lg,"handleOptionalResult");var Vo=v("$ZodOptional",(e,t)=>{B.init(e,t),e._zod.optin="optional",e._zod.optout="optional",W(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),W(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${ei(n.source)})?$`):void 0}),e._zod.parse=(n,i)=>{if(t.innerType._zod.optin==="optional"){let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>Lg(o,n.value)):Lg(r,n.value)}return n.value===void 0?n:t.innerType._zod.run(n,i)}}),gl=v("$ZodExactOptional",(e,t)=>{Vo.init(e,t),W(e._zod,"values",()=>t.innerType._zod.values),W(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,i)=>t.innerType._zod.run(n,i)}),yl=v("$ZodNullable",(e,t)=>{B.init(e,t),W(e._zod,"optin",()=>t.innerType._zod.optin),W(e._zod,"optout",()=>t.innerType._zod.optout),W(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${ei(n.source)}|null)$`):void 0}),W(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,i)=>n.value===null?n:t.innerType._zod.run(n,i)}),vl=v("$ZodDefault",(e,t)=>{B.init(e,t),e._zod.optin="optional",W(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>zg(o,t)):zg(r,t)}});function zg(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}a(zg,"handleDefaultResult");var xl=v("$ZodPrefault",(e,t)=>{B.init(e,t),e._zod.optin="optional",W(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>(i.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,i))}),bl=v("$ZodNonOptional",(e,t)=>{B.init(e,t),W(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter(i=>i!==void 0)):void 0}),e._zod.parse=(n,i)=>{let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>Pg(o,e)):Pg(r,e)}});function Pg(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}a(Pg,"handleNonOptionalResult");var _l=v("$ZodSuccess",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Jt("ZodSuccess");let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>(n.value=o.issues.length===0,n)):(n.value=r.issues.length===0,n)}}),Sl=v("$ZodCatch",(e,t)=>{B.init(e,t),W(e._zod,"optin",()=>t.innerType._zod.optin),W(e._zod,"optout",()=>t.innerType._zod.optout),W(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>(n.value=o.value,o.issues.length&&(n.value=t.catchValue({...n,error:{issues:o.issues.map(s=>Xe(s,i,me()))},input:n.value}),n.issues=[]),n)):(n.value=r.value,r.issues.length&&(n.value=t.catchValue({...n,error:{issues:r.issues.map(o=>Xe(o,i,me()))},input:n.value}),n.issues=[]),n)}}),Tl=v("$ZodNaN",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>((typeof n.value!="number"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n)}),$l=v("$ZodPipe",(e,t)=>{B.init(e,t),W(e._zod,"values",()=>t.in._zod.values),W(e._zod,"optin",()=>t.in._zod.optin),W(e._zod,"optout",()=>t.out._zod.optout),W(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,i)=>{if(i.direction==="backward"){let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(s=>jo(s,t.in,i)):jo(o,t.in,i)}let r=t.in._zod.run(n,i);return r instanceof Promise?r.then(o=>jo(o,t.out,i)):jo(r,t.out,i)}});function jo(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}a(jo,"handlePipeResult");var di=v("$ZodCodec",(e,t)=>{B.init(e,t),W(e._zod,"values",()=>t.in._zod.values),W(e._zod,"optin",()=>t.in._zod.optin),W(e._zod,"optout",()=>t.out._zod.optout),W(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,i)=>{if((i.direction||"forward")==="forward"){let o=t.in._zod.run(n,i);return o instanceof Promise?o.then(s=>Lo(s,t,i)):Lo(o,t,i)}else{let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(s=>Lo(s,t,i)):Lo(o,t,i)}}});function Lo(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||"forward")==="forward"){let r=t.transform(e.value,e);return r instanceof Promise?r.then(o=>zo(e,o,t.out,n)):zo(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(o=>zo(e,o,t.in,n)):zo(e,r,t.in,n)}}a(Lo,"handleCodecAResult");function zo(e,t,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},i)}a(zo,"handleCodecTxResult");var Il=v("$ZodReadonly",(e,t)=>{B.init(e,t),W(e._zod,"propValues",()=>t.innerType._zod.propValues),W(e._zod,"values",()=>t.innerType._zod.values),W(e._zod,"optin",()=>t.innerType?._zod?.optin),W(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(Ug):Ug(r)}});function Ug(e){return e.value=Object.freeze(e.value),e}a(Ug,"handleReadonlyResult");var El=v("$ZodTemplateLiteral",(e,t)=>{B.init(e,t);let n=[];for(let i of t.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);let r=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let o=r.startsWith("^")?1:0,s=r.endsWith("$")?r.length-1:r.length;n.push(r.slice(o,s))}else if(i===null||bc.has(typeof i))n.push(ht(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(i,r)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),i)}),Ol=v("$ZodFunction",(e,t)=>(B.init(e,t),e._def=t,e._zod.def=t,e.implement=n=>{if(typeof n!="function")throw new Error("implement() must be called with a function");return function(...i){let r=e._def.input?xo(e._def.input,i):i,o=Reflect.apply(n,this,r);return e._def.output?xo(e._def.output,o):o}},e.implementAsync=n=>{if(typeof n!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){let r=e._def.input?await bo(e._def.input,i):i,o=await Reflect.apply(n,this,r);return e._def.output?await bo(e._def.output,o):o}},e._zod.parse=(n,i)=>typeof n.value!="function"?(n.issues.push({code:"invalid_type",expected:"function",input:n.value,inst:e}),n):(e._def.output&&e._def.output._zod.def.type==="promise"?n.value=e.implementAsync(n.value):n.value=e.implement(n.value),n),e.input=(...n)=>{let i=e.constructor;return Array.isArray(n[0])?new i({type:"function",input:new Co({type:"tuple",items:n[0],rest:n[1]}),output:e._def.output}):new i({type:"function",input:n[0],output:e._def.output})},e.output=n=>{let i=e.constructor;return new i({type:"function",input:e._def.input,output:n})},e)),wl=v("$ZodPromise",(e,t)=>{B.init(e,t),e._zod.parse=(n,i)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},i))}),Nl=v("$ZodLazy",(e,t)=>{B.init(e,t),W(e._zod,"innerType",()=>t.getter()),W(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),W(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),W(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),W(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,i)=>e._zod.innerType._zod.run(n,i)}),kl=v("$ZodCustom",(e,t)=>{se.init(e,t),B.init(e,t),e._zod.parse=(n,i)=>n,e._zod.check=n=>{let i=n.value,r=t.fn(i);if(r instanceof Promise)return r.then(o=>Fg(o,n,i,e));Fg(r,n,i,e)}});function Fg(e,t,n,i){if(!e){let r={code:"custom",input:n,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(r.params=i._zod.def.params),t.issues.push(Vr(r))}}a(Fg,"handleRefineResult");var yi={};Ot(yi,{ar:()=>Dl,az:()=>Rl,be:()=>Al,bg:()=>jl,ca:()=>Ll,cs:()=>zl,da:()=>Pl,de:()=>Ul,en:()=>fi,eo:()=>Fl,es:()=>Cl,fa:()=>Vl,fi:()=>Ml,fr:()=>Zl,frCA:()=>Gl,he:()=>Bl,hu:()=>Jl,hy:()=>Ql,id:()=>ql,is:()=>Yl,it:()=>Kl,ja:()=>Wl,ka:()=>Hl,kh:()=>Xl,km:()=>mi,ko:()=>ep,lt:()=>tp,mk:()=>rp,ms:()=>np,nl:()=>ip,no:()=>op,ota:()=>ap,pl:()=>cp,ps:()=>sp,pt:()=>up,ru:()=>lp,sl:()=>pp,sv:()=>dp,ta:()=>fp,th:()=>mp,tr:()=>hp,ua:()=>gp,uk:()=>gi,ur:()=>yp,uz:()=>vp,vi:()=>xp,yo:()=>Sp,zhCN:()=>bp,zhTW:()=>_p});var $S=a(()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${r.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${c}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${o}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${c}`}case"invalid_value":return r.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${I(r.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${r.minimum.toString()} ${s.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${r.prefix}"`:o.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${o.suffix}"`:o.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${o.includes}"`:o.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${o.pattern}`:`${n[o.format]??r.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${r.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${r.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${r.keys.length>1?"\u0629":""}: ${_(r.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}},"error");function Dl(){return{localeError:$S()}}a(Dl,"default");var IS=a(()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${r.expected}, daxil olan ${c}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${o}, daxil olan ${c}`}case"invalid_value":return r.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${I(r.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${o}${r.maximum.toString()} ${s.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${o}${r.minimum.toString()} ${s.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${o.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:o.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${o.suffix}" il\u0259 bitm\u0259lidir`:o.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${o.includes}" daxil olmal\u0131d\u0131r`:o.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${o.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${n[o.format]??r.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${r.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${r.keys.length>1?"lar":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${r.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}},"error");function Rl(){return{localeError:IS()}}a(Rl,"default");function Bg(e,t,n,i){let r=Math.abs(e),o=r%10,s=r%100;return s>=11&&s<=19?i:o===1?t:o>=2&&o<=4?n:i}a(Bg,"getBelarusianPlural");var ES=a(()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},i={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${r.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${c}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${o}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${I(r.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);if(s){let c=Number(r.maximum),u=Bg(c,s.unit.one,s.unit.few,s.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${s.verb} ${o}${r.maximum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);if(s){let c=Number(r.minimum),u=Bg(c,s.unit.one,s.unit.few,s.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${s.verb} ${o}${r.minimum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${r.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${_(r.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${r.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}},"error");function Al(){return{localeError:ES()}}a(Al,"default");var OS=a(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${c}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${I(r.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${r.maximum.toString()} ${s.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${r.minimum.toString()} ${s.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;if(o.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${o.prefix}"`;if(o.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${o.suffix}"`;if(o.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${o.includes}"`;if(o.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${o.pattern}`;let s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return o.format==="emoji"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="datetime"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="date"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),o.format==="time"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="duration"&&(s="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${s} ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${r.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u043E\u0432\u0435":""}: ${_(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}},"error");function jl(){return{localeError:OS()}}a(jl,"default");var wS=a(()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${r.expected}, s'ha rebut ${c}`:`Tipus inv\xE0lid: s'esperava ${o}, s'ha rebut ${c}`}case"invalid_value":return r.values.length===1?`Valor inv\xE0lid: s'esperava ${I(r.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${_(r.values," o ")}`;case"too_big":{let o=r.inclusive?"com a m\xE0xim":"menys de",s=t(r.origin);return s?`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xE9s ${o} ${r.maximum.toString()} ${s.unit??"elements"}`:`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?"com a m\xEDnim":"m\xE9s de",s=t(r.origin);return s?`Massa petit: s'esperava que ${r.origin} contingu\xE9s ${o} ${r.minimum.toString()} ${s.unit}`:`Massa petit: s'esperava que ${r.origin} fos ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${o.prefix}"`:o.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${o.suffix}"`:o.format==="includes"?`Format inv\xE0lid: ha d'incloure "${o.includes}"`:o.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${o.pattern}`:`Format inv\xE0lid per a ${n[o.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${r.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${r.origin}`;default:return"Entrada inv\xE0lida"}}},"error");function Ll(){return{localeError:wS()}}a(Ll,"default");var NS=a(()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${r.expected}, obdr\u017Eeno ${c}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${o}, obdr\u017Eeno ${c}`}case"invalid_value":return r.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${I(r.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${o}${r.maximum.toString()} ${s.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${o}${r.minimum.toString()} ${s.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${o.prefix}"`:o.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${o.suffix}"`:o.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${o.includes}"`:o.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${o.pattern}`:`Neplatn\xFD form\xE1t ${n[o.format]??r.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${_(r.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${r.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${r.origin}`;default:return"Neplatn\xFD vstup"}}},"error");function zl(){return{localeError:NS()}}a(zl,"default");var kS=a(()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ugyldigt input: forventede instanceof ${r.expected}, fik ${c}`:`Ugyldigt input: forventede ${o}, fik ${c}`}case"invalid_value":return r.values.length===1?`Ugyldig v\xE6rdi: forventede ${I(r.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin),c=i[r.origin]??r.origin;return s?`For stor: forventede ${c??"value"} ${s.verb} ${o} ${r.maximum.toString()} ${s.unit??"elementer"}`:`For stor: forventede ${c??"value"} havde ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin),c=i[r.origin]??r.origin;return s?`For lille: forventede ${c} ${s.verb} ${o} ${r.minimum.toString()} ${s.unit}`:`For lille: forventede ${c} havde ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ugyldig streng: skal starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: skal ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: skal indeholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${n[o.format]??r.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${_(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${r.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${r.origin}`;default:return"Ugyldigt input"}}},"error");function Pl(){return{localeError:kS()}}a(Pl,"default");var DS=a(()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},i={nan:"NaN",number:"Zahl",array:"Array"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${c}`:`Ung\xFCltige Eingabe: erwartet ${o}, erhalten ${c}`}case"invalid_value":return r.values.length===1?`Ung\xFCltige Eingabe: erwartet ${I(r.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${o}${r.maximum.toString()} ${s.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${o}${r.maximum.toString()} ist`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Zu klein: erwartet, dass ${r.origin} ${o}${r.minimum.toString()} ${s.unit} hat`:`Zu klein: erwartet, dass ${r.origin} ${o}${r.minimum.toString()} ist`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ung\xFCltiger String: muss mit "${o.prefix}" beginnen`:o.format==="ends_with"?`Ung\xFCltiger String: muss mit "${o.suffix}" enden`:o.format==="includes"?`Ung\xFCltiger String: muss "${o.includes}" enthalten`:o.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${o.pattern} entsprechen`:`Ung\xFCltig: ${n[o.format]??r.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${_(r.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${r.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${r.origin}`;default:return"Ung\xFCltige Eingabe"}}},"error");function Ul(){return{localeError:DS()}}a(Ul,"default");var RS=a(()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return`Invalid input: expected ${o}, received ${c}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${I(r.values[0])}`:`Invalid option: expected one of ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Too big: expected ${r.origin??"value"} to have ${o}${r.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Too small: expected ${r.origin} to have ${o}${r.minimum.toString()} ${s.unit}`:`Too small: expected ${r.origin} to be ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}},"error");function fi(){return{localeError:RS()}}a(fi,"default");var AS=a(()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${r.expected}, ricevi\u011Dis ${c}`:`Nevalida enigo: atendi\u011Dis ${o}, ricevi\u011Dis ${c}`}case"invalid_value":return r.values.length===1?`Nevalida enigo: atendi\u011Dis ${I(r.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${o}${r.maximum.toString()} ${s.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Tro malgranda: atendi\u011Dis ke ${r.origin} havu ${o}${r.minimum.toString()} ${s.unit}`:`Tro malgranda: atendi\u011Dis ke ${r.origin} estu ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${o.prefix}"`:o.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${o.suffix}"`:o.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${o.includes}"`:o.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${o.pattern}`:`Nevalida ${n[o.format]??r.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${r.divisor}`;case"unrecognized_keys":return`Nekonata${r.keys.length>1?"j":""} \u015Dlosilo${r.keys.length>1?"j":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${r.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${r.origin}`;default:return"Nevalida enigo"}}},"error");function Fl(){return{localeError:AS()}}a(Fl,"default");var jS=a(()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${r.expected}, recibido ${c}`:`Entrada inv\xE1lida: se esperaba ${o}, recibido ${c}`}case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: se esperaba ${I(r.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin),c=i[r.origin]??r.origin;return s?`Demasiado grande: se esperaba que ${c??"valor"} tuviera ${o}${r.maximum.toString()} ${s.unit??"elementos"}`:`Demasiado grande: se esperaba que ${c??"valor"} fuera ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin),c=i[r.origin]??r.origin;return s?`Demasiado peque\xF1o: se esperaba que ${c} tuviera ${o}${r.minimum.toString()} ${s.unit}`:`Demasiado peque\xF1o: se esperaba que ${c} fuera ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${o.prefix}"`:o.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${o.suffix}"`:o.format==="includes"?`Cadena inv\xE1lida: debe incluir "${o.includes}"`:o.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${o.pattern}`:`Inv\xE1lido ${n[o.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${i[r.origin]??r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${i[r.origin]??r.origin}`;default:return"Entrada inv\xE1lida"}}},"error");function Cl(){return{localeError:jS()}}a(Cl,"default");var LS=a(()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${r.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${c} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${o} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${c} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return r.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${I(r.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${_(r.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} ${s.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:o.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:o.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${o.includes}" \u0628\u0627\u0634\u062F`:o.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${o.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${n[o.format]??r.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${r.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${r.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${_(r.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${r.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${r.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}},"error");function Vl(){return{localeError:LS()}}a(Vl,"default");var zS=a(()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${c}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${c}`}case"invalid_value":return r.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${I(r.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Liian suuri: ${s.subject} t\xE4ytyy olla ${o}${r.maximum.toString()} ${s.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Liian pieni: ${s.subject} t\xE4ytyy olla ${o}${r.minimum.toString()} ${s.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${o.prefix}"`:o.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${o.suffix}"`:o.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${o.includes}"`:o.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${o.pattern}`:`Virheellinen ${n[o.format]??r.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${_(r.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}},"error");function Ml(){return{localeError:zS()}}a(Ml,"default");var PS=a(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},i={nan:"NaN",number:"nombre",array:"tableau"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : instanceof ${r.expected} attendu, ${c} re\xE7u`:`Entr\xE9e invalide : ${o} attendu, ${c} re\xE7u`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : ${I(r.values[0])} attendu`:`Option invalide : une valeur parmi ${_(r.values,"|")} attendue`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Trop grand : ${r.origin??"valeur"} doit ${s.verb} ${o}${r.maximum.toString()} ${s.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${r.origin??"valeur"} doit \xEAtre ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Trop petit : ${r.origin} doit ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`Trop petit : ${r.origin} doit \xEAtre ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${o.pattern}`:`${n[o.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${_(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Zl(){return{localeError:PS()}}a(Zl,"default");var US=a(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : attendu instanceof ${r.expected}, re\xE7u ${c}`:`Entr\xE9e invalide : attendu ${o}, re\xE7u ${c}`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : attendu ${I(r.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"\u2264":"<",s=t(r.origin);return s?`Trop grand : attendu que ${r.origin??"la valeur"} ait ${o}${r.maximum.toString()} ${s.unit}`:`Trop grand : attendu que ${r.origin??"la valeur"} soit ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?"\u2265":">",s=t(r.origin);return s?`Trop petit : attendu que ${r.origin} ait ${o}${r.minimum.toString()} ${s.unit}`:`Trop petit : attendu que ${r.origin} soit ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${o.pattern}`:`${n[o.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${_(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Gl(){return{localeError:US()}}a(Gl,"default");var FS=a(()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},n=a(l=>l?e[l]:void 0,"typeEntry"),i=a(l=>{let p=n(l);return p?p.label:l??e.unknown.label},"typeLabel"),r=a(l=>`\u05D4${i(l)}`,"withDefinite"),o=a(l=>(n(l)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA","verbFor"),s=a(l=>l?t[l]??null:null,"getSizing"),c={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},u={nan:"NaN"};return l=>{switch(l.code){case"invalid_type":{let p=l.expected,d=u[p??""]??i(p),m=E(l.input),g=u[m]??e[m]?.label??m;return/^[A-Z]/.test(l.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${l.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${g}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${d}, \u05D4\u05EA\u05E7\u05D1\u05DC ${g}`}case"invalid_value":{if(l.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${I(l.values[0])}`;let p=l.values.map(g=>I(g));if(l.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${p[0]} \u05D0\u05D5 ${p[1]}`;let d=p[p.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${p.slice(0,-1).join(", ")} \u05D0\u05D5 ${d}`}case"too_big":{let p=s(l.origin),d=r(l.origin??"value");if(l.origin==="string")return`${p?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${l.maximum.toString()} ${p?.unit??""} ${l.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(l.origin==="number"){let y=l.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${l.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${l.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${y}`}if(l.origin==="array"||l.origin==="set"){let y=l.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",b=l.inclusive?`${l.maximum} ${p?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${l.maximum} ${p?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${d} ${y} \u05DC\u05D4\u05DB\u05D9\u05DC ${b}`.trim()}let m=l.inclusive?"<=":"<",g=o(l.origin??"value");return p?.unit?`${p.longLabel} \u05DE\u05D3\u05D9: ${d} ${g} ${m}${l.maximum.toString()} ${p.unit}`:`${p?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${d} ${g} ${m}${l.maximum.toString()}`}case"too_small":{let p=s(l.origin),d=r(l.origin??"value");if(l.origin==="string")return`${p?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${l.minimum.toString()} ${p?.unit??""} ${l.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(l.origin==="number"){let y=l.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${l.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${l.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${y}`}if(l.origin==="array"||l.origin==="set"){let y=l.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(l.minimum===1&&l.inclusive){let N=(l.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} ${y} \u05DC\u05D4\u05DB\u05D9\u05DC ${N}`}let b=l.inclusive?`${l.minimum} ${p?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${l.minimum} ${p?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} ${y} \u05DC\u05D4\u05DB\u05D9\u05DC ${b}`.trim()}let m=l.inclusive?">=":">",g=o(l.origin??"value");return p?.unit?`${p.shortLabel} \u05DE\u05D3\u05D9: ${d} ${g} ${m}${l.minimum.toString()} ${p.unit}`:`${p?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${d} ${g} ${m}${l.minimum.toString()}`}case"invalid_format":{let p=l;if(p.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${p.prefix}"`;if(p.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${p.suffix}"`;if(p.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${p.includes}"`;if(p.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${p.pattern}`;let d=c[p.format],m=d?.label??p.format,y=(d?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${m} \u05DC\u05D0 ${y}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${l.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${l.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${l.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${_(l.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${r(l.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}},"error");function Bl(){return{localeError:FS()}}a(Bl,"default");var CS=a(()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"},i={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${r.expected}, a kapott \xE9rt\xE9k ${c}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${o}, a kapott \xE9rt\xE9k ${c}`}case"invalid_value":return r.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${I(r.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`T\xFAl nagy: ${r.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${o}${r.maximum.toString()} ${s.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${r.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} m\xE9rete t\xFAl kicsi ${o}${r.minimum.toString()} ${s.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} t\xFAl kicsi ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\xC9rv\xE9nytelen string: "${o.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:o.format==="ends_with"?`\xC9rv\xE9nytelen string: "${o.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:o.format==="includes"?`\xC9rv\xE9nytelen string: "${o.includes}" \xE9rt\xE9ket kell tartalmaznia`:o.format==="regex"?`\xC9rv\xE9nytelen string: ${o.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${n[o.format]??r.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${r.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${r.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${r.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}},"error");function Jl(){return{localeError:CS()}}a(Jl,"default");function Jg(e,t,n){return Math.abs(e)===1?t:n}a(Jg,"getArmenianPlural");function Qr(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],n=e[e.length-1];return e+(t.includes(n)?"\u0576":"\u0568")}a(Qr,"withDefiniteArticle");var VS=a(()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},i={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${r.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${c}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${o}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${c}`}case"invalid_value":return r.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${I(r.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);if(s){let c=Number(r.maximum),u=Jg(c,s.unit.one,s.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Qr(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${r.maximum.toString()} ${u}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Qr(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);if(s){let c=Number(r.minimum),u=Jg(c,s.unit.one,s.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Qr(r.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${r.minimum.toString()} ${u}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Qr(r.origin)} \u056C\u056B\u0576\u056B ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${o.prefix}"-\u0578\u057E`:o.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${o.suffix}"-\u0578\u057E`:o.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${o.includes}"`:o.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${o.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${n[o.format]??r.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${r.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${r.keys.length>1?"\u0576\u0565\u0580":""}. ${_(r.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${Qr(r.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${Qr(r.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}},"error");function Ql(){return{localeError:VS()}}a(Ql,"default");var MS=a(()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${c}`:`Input tidak valid: diharapkan ${o}, diterima ${c}`}case"invalid_value":return r.values.length===1?`Input tidak valid: diharapkan ${I(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${o}${r.maximum.toString()} ${s.unit??"elemen"}`:`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Terlalu kecil: diharapkan ${r.origin} memiliki ${o}${r.minimum.toString()} ${s.unit}`:`Terlalu kecil: diharapkan ${r.origin} menjadi ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`String tidak valid: harus dimulai dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak valid: harus berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak valid: harus menyertakan "${o.includes}"`:o.format==="regex"?`String tidak valid: harus sesuai pola ${o.pattern}`:`${n[o.format]??r.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`;default:return"Input tidak valid"}}},"error");function ql(){return{localeError:MS()}}a(ql,"default");var ZS=a(()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"n\xFAmer",array:"fylki"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${c} \xFEar sem \xE1 a\xF0 vera instanceof ${r.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${c} \xFEar sem \xE1 a\xF0 vera ${o}`}case"invalid_value":return r.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${I(r.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} hafi ${o}${r.maximum.toString()} ${s.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} s\xE9 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} hafi ${o}${r.minimum.toString()} ${s.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} s\xE9 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${o.prefix}"`:o.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${o.suffix}"`:o.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${o.includes}"`:o.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${o.pattern}`:`Rangt ${n[o.format]??r.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${r.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${r.keys.length>1?"ir lyklar":"ur lykill"}: ${_(r.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${r.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${r.origin}`;default:return"Rangt gildi"}}},"error");function Yl(){return{localeError:ZS()}}a(Yl,"default");var GS=a(()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"numero",array:"vettore"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Input non valido: atteso instanceof ${r.expected}, ricevuto ${c}`:`Input non valido: atteso ${o}, ricevuto ${c}`}case"invalid_value":return r.values.length===1?`Input non valido: atteso ${I(r.values[0])}`:`Opzione non valida: atteso uno tra ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Troppo grande: ${r.origin??"valore"} deve avere ${o}${r.maximum.toString()} ${s.unit??"elementi"}`:`Troppo grande: ${r.origin??"valore"} deve essere ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Troppo piccolo: ${r.origin} deve avere ${o}${r.minimum.toString()} ${s.unit}`:`Troppo piccolo: ${r.origin} deve essere ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${_(r.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`;default:return"Input non valido"}}},"error");function Kl(){return{localeError:GS()}}a(Kl,"default");var BS=a(()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},i={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${r.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${c}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${o}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${c}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return r.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${I(r.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${_(r.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let o=r.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",s=t(r.origin);return s?`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${s.unit??"\u8981\u7D20"}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let o=r.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",s=t(r.origin);return s?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${s.unit}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${o.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${n[o.format]??r.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${r.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${r.keys.length>1?"\u7FA4":""}: ${_(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}},"error");function Wl(){return{localeError:BS()}}a(Wl,"default");var JS=a(()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",json_string:"JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},i={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${r.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${c}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${o}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${c}`}case"invalid_value":return r.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${I(r.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${_(r.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${s.verb} ${o}${r.maximum.toString()} ${s.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} \u10D8\u10E7\u10DD\u10E1 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.prefix}"-\u10D8\u10D7`:o.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.suffix}"-\u10D8\u10D7`:o.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${o.includes}"-\u10E1`:o.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${o.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${r.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${r.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${_(r.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${r.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${r.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}},"error");function Hl(){return{localeError:JS()}}a(Hl,"default");var QS=a(()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},i={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${r.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${c}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${o} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${c}`}case"invalid_value":return r.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${I(r.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${r.maximum.toString()} ${s.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${o} ${r.minimum.toString()} ${s.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${o.prefix}"`:o.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${o.suffix}"`:o.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${o.includes}"`:o.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${o.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${r.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${_(r.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}},"error");function mi(){return{localeError:QS()}}a(mi,"default");function Xl(){return mi()}a(Xl,"default");var qS=a(()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${r.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${c}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${o}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${c}\uC785\uB2C8\uB2E4`}case"invalid_value":return r.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${I(r.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${_(r.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let o=r.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",s=o==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",c=t(r.origin),u=c?.unit??"\uC694\uC18C";return c?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()}${u} ${o}${s}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()} ${o}${s}`}case"too_small":{let o=r.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",s=o==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",c=t(r.origin),u=c?.unit??"\uC694\uC18C";return c?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()}${u} ${o}${s}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()} ${o}${s}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:o.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${o.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${n[o.format]??r.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${r.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${_(r.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${r.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${r.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}},"error");function ep(){return{localeError:qS()}}a(ep,"default");var hi=a(e=>e.charAt(0).toUpperCase()+e.slice(1),"capitalizeFirstCharacter");function Qg(e){let t=Math.abs(e),n=t%10,i=t%100;return i>=11&&i<=19||n===0?"many":n===1?"one":"few"}a(Qg,"getUnitTypeFromNumber");var YS=a(()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(r,o,s,c){let u=e[r]??null;return u===null?u:{unit:u.unit[o],verb:u.verb[c][s?"inclusive":"notInclusive"]}}a(t,"getSizing");let n={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",jwt:"JWT",template_literal:"\u012Fvestis"},i={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Gautas tipas ${c}, o tik\u0117tasi - instanceof ${r.expected}`:`Gautas tipas ${c}, o tik\u0117tasi - ${o}`}case"invalid_value":return r.values.length===1?`Privalo b\u016Bti ${I(r.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${_(r.values,"|")} pasirinkim\u0173`;case"too_big":{let o=i[r.origin]??r.origin,s=t(r.origin,Qg(Number(r.maximum)),r.inclusive??!1,"smaller");if(s?.verb)return`${hi(o??r.origin??"reik\u0161m\u0117")} ${s.verb} ${r.maximum.toString()} ${s.unit??"element\u0173"}`;let c=r.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${hi(o??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${r.maximum.toString()} ${s?.unit}`}case"too_small":{let o=i[r.origin]??r.origin,s=t(r.origin,Qg(Number(r.minimum)),r.inclusive??!1,"bigger");if(s?.verb)return`${hi(o??r.origin??"reik\u0161m\u0117")} ${s.verb} ${r.minimum.toString()} ${s.unit??"element\u0173"}`;let c=r.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${hi(o??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${r.minimum.toString()} ${s?.unit}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${o.prefix}"`:o.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${o.suffix}"`:o.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${o.includes}"`:o.format==="regex"?`Eilut\u0117 privalo atitikti ${o.pattern}`:`Neteisingas ${n[o.format]??r.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${r.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${r.keys.length>1?"i":"as"} rakt${r.keys.length>1?"ai":"as"}: ${_(r.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let o=i[r.origin]??r.origin;return`${hi(o??r.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}},"error");function tp(){return{localeError:YS()}}a(tp,"default");var KS=a(()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},i={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${r.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${c}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${o}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${c}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${I(r.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${o}${r.maximum.toString()} ${s.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0438\u043C\u0430 ${o}${r.minimum.toString()} ${s.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${_(r.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${r.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${r.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}},"error");function rp(){return{localeError:KS()}}a(rp,"default");var WS=a(()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"nombor"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${c}`:`Input tidak sah: dijangka ${o}, diterima ${c}`}case"invalid_value":return r.values.length===1?`Input tidak sah: dijangka ${I(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Terlalu besar: dijangka ${r.origin??"nilai"} ${s.verb} ${o}${r.maximum.toString()} ${s.unit??"elemen"}`:`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Terlalu kecil: dijangka ${r.origin} ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`Terlalu kecil: dijangka ${r.origin} adalah ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`String tidak sah: mesti bermula dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak sah: mesti mengandungi "${o.includes}"`:o.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${o.pattern}`:`${n[o.format]??r.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${_(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`;default:return"Input tidak sah"}}},"error");function np(){return{localeError:WS()}}a(np,"default");var HS=a(()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},i={nan:"NaN",number:"getal"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${c}`:`Ongeldige invoer: verwacht ${o}, ontving ${c}`}case"invalid_value":return r.values.length===1?`Ongeldige invoer: verwacht ${I(r.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin),c=r.origin==="date"?"laat":r.origin==="string"?"lang":"groot";return s?`Te ${c}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} ${s.unit??"elementen"} ${s.verb}`:`Te ${c}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} is`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin),c=r.origin==="date"?"vroeg":r.origin==="string"?"kort":"klein";return s?`Te ${c}: verwacht dat ${r.origin} ${o}${r.minimum.toString()} ${s.unit} ${s.verb}`:`Te ${c}: verwacht dat ${r.origin} ${o}${r.minimum.toString()} is`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ongeldige tekst: moet met "${o.prefix}" beginnen`:o.format==="ends_with"?`Ongeldige tekst: moet op "${o.suffix}" eindigen`:o.format==="includes"?`Ongeldige tekst: moet "${o.includes}" bevatten`:o.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${o.pattern}`:`Ongeldig: ${n[o.format]??r.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${r.origin}`;default:return"Ongeldige invoer"}}},"error");function ip(){return{localeError:HS()}}a(ip,"default");var XS=a(()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tall",array:"liste"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventet instanceof ${r.expected}, fikk ${c}`:`Ugyldig input: forventet ${o}, fikk ${c}`}case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventet ${I(r.values[0])}`:`Ugyldig valg: forventet en av ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${o}${r.maximum.toString()} ${s.unit??"elementer"}`:`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`For lite(n): forventet ${r.origin} til \xE5 ha ${o}${r.minimum.toString()} ${s.unit}`:`For lite(n): forventet ${r.origin} til \xE5 ha ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${n[o.format]??r.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${_(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${r.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`;default:return"Ugyldig input"}}},"error");function op(){return{localeError:XS()}}a(op,"default");var eT=a(()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`F\xE2sit giren: umulan instanceof ${r.expected}, al\u0131nan ${c}`:`F\xE2sit giren: umulan ${o}, al\u0131nan ${c}`}case"invalid_value":return r.values.length===1?`F\xE2sit giren: umulan ${I(r.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${o}${r.maximum.toString()} ${s.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${o}${r.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${o}${r.minimum.toString()} ${s.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${o}${r.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let o=r;return o.format==="starts_with"?`F\xE2sit metin: "${o.prefix}" ile ba\u015Flamal\u0131.`:o.format==="ends_with"?`F\xE2sit metin: "${o.suffix}" ile bitmeli.`:o.format==="includes"?`F\xE2sit metin: "${o.includes}" ihtiv\xE2 etmeli.`:o.format==="regex"?`F\xE2sit metin: ${o.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${n[o.format]??r.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${r.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${r.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}},"error");function ap(){return{localeError:eT()}}a(ap,"default");var tT=a(()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${r.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${c} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${o} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${c} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return r.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${I(r.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${_(r.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} \u0648\u064A`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} ${s.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} \u0648\u064A`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:o.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:o.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${o.includes}" \u0648\u0644\u0631\u064A`:o.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${o.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${n[o.format]??r.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${r.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${r.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${_(r.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${r.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${r.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}},"error");function sp(){return{localeError:tT()}}a(sp,"default");var rT=a(()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"},i={nan:"NaN",number:"liczba",array:"tablica"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${r.expected}, otrzymano ${c}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${o}, otrzymano ${c}`}case"invalid_value":return r.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${I(r.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${r.maximum.toString()} ${s.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${r.minimum.toString()} ${s.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${o.prefix}"`:o.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${o.suffix}"`:o.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${o.includes}"`:o.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${o.pattern}`:`Nieprawid\u0142ow(y/a/e) ${n[o.format]??r.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${r.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${r.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}},"error");function cp(){return{localeError:rT()}}a(cp,"default");var nT=a(()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",number:"n\xFAmero",null:"nulo"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Tipo inv\xE1lido: esperado instanceof ${r.expected}, recebido ${c}`:`Tipo inv\xE1lido: esperado ${o}, recebido ${c}`}case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: esperado ${I(r.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Muito grande: esperado que ${r.origin??"valor"} tivesse ${o}${r.maximum.toString()} ${s.unit??"elementos"}`:`Muito grande: esperado que ${r.origin??"valor"} fosse ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Muito pequeno: esperado que ${r.origin} tivesse ${o}${r.minimum.toString()} ${s.unit}`:`Muito pequeno: esperado que ${r.origin} fosse ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${o.prefix}"`:o.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${o.suffix}"`:o.format==="includes"?`Texto inv\xE1lido: deve incluir "${o.includes}"`:o.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${o.pattern}`:`${n[o.format]??r.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${_(r.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${r.origin}`;default:return"Campo inv\xE1lido"}}},"error");function up(){return{localeError:nT()}}a(up,"default");function qg(e,t,n,i){let r=Math.abs(e),o=r%10,s=r%100;return s>=11&&s<=19?i:o===1?t:o>=2&&o<=4?n:i}a(qg,"getRussianPlural");var iT=a(()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${c}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${I(r.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);if(s){let c=Number(r.maximum),u=qg(c,s.unit.one,s.unit.few,s.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${r.maximum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);if(s){let c=Number(r.minimum),u=qg(c,s.unit.one,s.unit.few,s.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${r.minimum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${r.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0438":""}: ${_(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}},"error");function lp(){return{localeError:iT()}}a(lp,"default");var oT=a(()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"},i={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${r.expected}, prejeto ${c}`:`Neveljaven vnos: pri\u010Dakovano ${o}, prejeto ${c}`}case"invalid_value":return r.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${I(r.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} imelo ${o}${r.maximum.toString()} ${s.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Premajhno: pri\u010Dakovano, da bo ${r.origin} imelo ${o}${r.minimum.toString()} ${s.unit}`:`Premajhno: pri\u010Dakovano, da bo ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${o.prefix}"`:o.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${o.suffix}"`:o.format==="includes"?`Neveljaven niz: mora vsebovati "${o.includes}"`:o.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`:`Neveljaven ${n[o.format]??r.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${_(r.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${r.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`;default:return"Neveljaven vnos"}}},"error");function pp(){return{localeError:oT()}}a(pp,"default");var aT=a(()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${r.expected}, fick ${c}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${o}, fick ${c}`}case"invalid_value":return r.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${I(r.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`F\xF6r stor(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${o}${r.maximum.toString()} ${s.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${r.origin??"v\xE4rdet"} att ha ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${o}${r.minimum.toString()} ${s.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${o.prefix}"`:o.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${o.suffix}"`:o.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${o.includes}"`:o.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${o.pattern}"`:`Ogiltig(t) ${n[o.format]??r.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${_(r.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${r.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${r.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}},"error");function dp(){return{localeError:aT()}}a(dp,"default");var sT=a(()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${r.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${c}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${c}`}case"invalid_value":return r.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${I(r.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${_(r.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${r.maximum.toString()} ${s.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${r.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${o}${r.minimum.toString()} ${s.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${o}${r.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${o.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${r.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${r.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}},"error");function fp(){return{localeError:sT()}}a(fp,"default");var cT=a(()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},i={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${r.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${c}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${o} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${c}`}case"invalid_value":return r.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${I(r.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",s=t(r.origin);return s?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.maximum.toString()} ${s.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",s=t(r.origin);return s?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.minimum.toString()} ${s.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${o.prefix}"`:o.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${o.suffix}"`:o.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${o.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:o.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${o.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${r.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${_(r.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}},"error");function mp(){return{localeError:cT()}}a(mp,"default");var uT=a(()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${r.expected}, al\u0131nan ${c}`:`Ge\xE7ersiz de\u011Fer: beklenen ${o}, al\u0131nan ${c}`}case"invalid_value":return r.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${I(r.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${o}${r.maximum.toString()} ${s.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${o}${r.minimum.toString()} ${s.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ge\xE7ersiz metin: "${o.prefix}" ile ba\u015Flamal\u0131`:o.format==="ends_with"?`Ge\xE7ersiz metin: "${o.suffix}" ile bitmeli`:o.format==="includes"?`Ge\xE7ersiz metin: "${o.includes}" i\xE7ermeli`:o.format==="regex"?`Ge\xE7ersiz metin: ${o.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${n[o.format]??r.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${r.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${r.keys.length>1?"lar":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${r.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}},"error");function hp(){return{localeError:uT()}}a(hp,"default");var lT=a(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${r.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${c}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${o}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${I(r.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${s.verb} ${o}${r.maximum.toString()} ${s.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} \u0431\u0443\u0434\u0435 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0456":""}: ${_(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${r.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}},"error");function gi(){return{localeError:lT()}}a(gi,"default");function gp(){return gi()}a(gp,"default");var pT=a(()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},i={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${r.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${c} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${o} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${c} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return r.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${I(r.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${_(r.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${o}${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${o}${r.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u06D2 ${o}${r.minimum.toString()} ${s.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u0627 ${o}${r.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${o.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${r.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${r.keys.length>1?"\u0632":""}: ${_(r.keys,"\u060C ")}`;case"invalid_key":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}},"error");function yp(){return{localeError:pT()}}a(yp,"default");var dT=a(()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},i={nan:"NaN",number:"raqam",array:"massiv"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${c}`:`Noto\u2018g\u2018ri kirish: kutilgan ${o}, qabul qilingan ${c}`}case"invalid_value":return r.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${I(r.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Juda katta: kutilgan ${r.origin??"qiymat"} ${o}${r.maximum.toString()} ${s.unit} ${s.verb}`:`Juda katta: kutilgan ${r.origin??"qiymat"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Juda kichik: kutilgan ${r.origin} ${o}${r.minimum.toString()} ${s.unit} ${s.verb}`:`Juda kichik: kutilgan ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${o.prefix}" bilan boshlanishi kerak`:o.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${o.suffix}" bilan tugashi kerak`:o.format==="includes"?`Noto\u2018g\u2018ri satr: "${o.includes}" ni o\u2018z ichiga olishi kerak`:o.format==="regex"?`Noto\u2018g\u2018ri satr: ${o.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${n[o.format]??r.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${r.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${r.keys.length>1?"lar":""}: ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${r.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}},"error");function vp(){return{localeError:dT()}}a(vp,"default");var fT=a(()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},i={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${r.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${c}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${o}, nh\u1EADn \u0111\u01B0\u1EE3c ${c}`}case"invalid_value":return r.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${I(r.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${s.verb} ${o}${r.maximum.toString()} ${s.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${s.verb} ${o}${r.minimum.toString()} ${s.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${o.prefix}"`:o.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${o.suffix}"`:o.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${o.includes}"`:o.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${o.pattern}`:`${n[o.format]??r.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${r.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${_(r.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}},"error");function xp(){return{localeError:fT()}}a(xp,"default");var mT=a(()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"},i={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${r.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${c}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${o}\uFF0C\u5B9E\u9645\u63A5\u6536 ${c}`}case"invalid_value":return r.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${I(r.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${o}${r.maximum.toString()} ${s.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${o}${r.minimum.toString()} ${s.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.prefix}" \u5F00\u5934`:o.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.suffix}" \u7ED3\u5C3E`:o.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${o.pattern}`:`\u65E0\u6548${n[o.format]??r.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${r.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${_(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${r.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}},"error");function bp(){return{localeError:mT()}}a(bp,"default");var hT=a(()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${r.expected}\uFF0C\u4F46\u6536\u5230 ${c}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${o}\uFF0C\u4F46\u6536\u5230 ${c}`}case"invalid_value":return r.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${I(r.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${o}${r.maximum.toString()} ${s.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${o}${r.minimum.toString()} ${s.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.prefix}" \u958B\u982D`:o.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.suffix}" \u7D50\u5C3E`:o.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${o.pattern}`:`\u7121\u6548\u7684 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${r.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${r.keys.length>1?"\u5011":""}\uFF1A${_(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}},"error");function _p(){return{localeError:hT()}}a(_p,"default");var gT=a(()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function t(r){return e[r]??null}a(t,"getSizing");let n={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},i={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,s=E(r.input),c=i[s]??s;return/^[A-Z]/.test(r.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${r.expected}, \xE0m\u1ECD\u0300 a r\xED ${c}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${o}, \xE0m\u1ECD\u0300 a r\xED ${c}`}case"invalid_value":return r.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${I(r.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${_(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",s=t(r.origin);return s?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin??"iye"} ${s.verb} ${o}${r.maximum} ${s.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${r.maximum}`}case"too_small":{let o=r.inclusive?">=":">",s=t(r.origin);return s?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin} ${s.verb} ${o}${r.minimum} ${s.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${r.minimum}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${o.prefix}"`:o.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${o.suffix}"`:o.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${o.includes}"`:o.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${o.pattern}`:`A\u1E63\xEC\u1E63e: ${n[o.format]??r.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${r.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${_(r.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}},"error");function Sp(){return{localeError:gT()}}a(Sp,"default");var Yg,Tp=Symbol("ZodOutput"),$p=Symbol("ZodInput"),Mo=class{static{a(this,"$ZodRegistry")}constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){let i=n[0];return this._map.set(t,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let i={...this.get(n)??{}};delete i.id;let r={...i,...this._map.get(t)};return Object.keys(r).length?r:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function Zo(){return new Mo}a(Zo,"registry");(Yg=globalThis).__zod_globalRegistry??(Yg.__zod_globalRegistry=Zo());var De=globalThis.__zod_globalRegistry;function Ip(e,t){return new e({type:"string",...w(t)})}a(Ip,"_string");function Ep(e,t){return new e({type:"string",coerce:!0,...w(t)})}a(Ep,"_coercedString");function Go(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...w(t)})}a(Go,"_email");function vi(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...w(t)})}a(vi,"_guid");function Bo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...w(t)})}a(Bo,"_uuid");function Jo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...w(t)})}a(Jo,"_uuidv4");function Qo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...w(t)})}a(Qo,"_uuidv6");function qo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...w(t)})}a(qo,"_uuidv7");function xi(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...w(t)})}a(xi,"_url");function Yo(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...w(t)})}a(Yo,"_emoji");function Ko(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...w(t)})}a(Ko,"_nanoid");function Wo(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...w(t)})}a(Wo,"_cuid");function Ho(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...w(t)})}a(Ho,"_cuid2");function Xo(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...w(t)})}a(Xo,"_ulid");function ea(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...w(t)})}a(ea,"_xid");function ta(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...w(t)})}a(ta,"_ksuid");function ra(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...w(t)})}a(ra,"_ipv4");function na(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...w(t)})}a(na,"_ipv6");function Op(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...w(t)})}a(Op,"_mac");function ia(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...w(t)})}a(ia,"_cidrv4");function oa(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...w(t)})}a(oa,"_cidrv6");function aa(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...w(t)})}a(aa,"_base64");function sa(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...w(t)})}a(sa,"_base64url");function ca(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...w(t)})}a(ca,"_e164");function ua(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...w(t)})}a(ua,"_jwt");var wp={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Np(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...w(t)})}a(Np,"_isoDateTime");function kp(e,t){return new e({type:"string",format:"date",check:"string_format",...w(t)})}a(kp,"_isoDate");function Dp(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...w(t)})}a(Dp,"_isoTime");function Rp(e,t){return new e({type:"string",format:"duration",check:"string_format",...w(t)})}a(Rp,"_isoDuration");function Ap(e,t){return new e({type:"number",checks:[],...w(t)})}a(Ap,"_number");function jp(e,t){return new e({type:"number",coerce:!0,checks:[],...w(t)})}a(jp,"_coercedNumber");function Lp(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...w(t)})}a(Lp,"_int");function zp(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...w(t)})}a(zp,"_float32");function Pp(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...w(t)})}a(Pp,"_float64");function Up(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...w(t)})}a(Up,"_int32");function Fp(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...w(t)})}a(Fp,"_uint32");function Cp(e,t){return new e({type:"boolean",...w(t)})}a(Cp,"_boolean");function Vp(e,t){return new e({type:"boolean",coerce:!0,...w(t)})}a(Vp,"_coercedBoolean");function Mp(e,t){return new e({type:"bigint",...w(t)})}a(Mp,"_bigint");function Zp(e,t){return new e({type:"bigint",coerce:!0,...w(t)})}a(Zp,"_coercedBigint");function Gp(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...w(t)})}a(Gp,"_int64");function Bp(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...w(t)})}a(Bp,"_uint64");function Jp(e,t){return new e({type:"symbol",...w(t)})}a(Jp,"_symbol");function Qp(e,t){return new e({type:"undefined",...w(t)})}a(Qp,"_undefined");function qp(e,t){return new e({type:"null",...w(t)})}a(qp,"_null");function Yp(e){return new e({type:"any"})}a(Yp,"_any");function Kp(e){return new e({type:"unknown"})}a(Kp,"_unknown");function Wp(e,t){return new e({type:"never",...w(t)})}a(Wp,"_never");function Hp(e,t){return new e({type:"void",...w(t)})}a(Hp,"_void");function Xp(e,t){return new e({type:"date",...w(t)})}a(Xp,"_date");function ed(e,t){return new e({type:"date",coerce:!0,...w(t)})}a(ed,"_coercedDate");function td(e,t){return new e({type:"nan",...w(t)})}a(td,"_nan");function wt(e,t){return new Do({check:"less_than",...w(t),value:e,inclusive:!1})}a(wt,"_lt");function at(e,t){return new Do({check:"less_than",...w(t),value:e,inclusive:!0})}a(at,"_lte");function Nt(e,t){return new Ro({check:"greater_than",...w(t),value:e,inclusive:!1})}a(Nt,"_gt");function Ve(e,t){return new Ro({check:"greater_than",...w(t),value:e,inclusive:!0})}a(Ve,"_gte");function la(e){return Nt(0,e)}a(la,"_positive");function pa(e){return wt(0,e)}a(pa,"_negative");function da(e){return at(0,e)}a(da,"_nonpositive");function fa(e){return Ve(0,e)}a(fa,"_nonnegative");function Wt(e,t){return new ru({check:"multiple_of",...w(t),value:e})}a(Wt,"_multipleOf");function Ht(e,t){return new ou({check:"max_size",...w(t),maximum:e})}a(Ht,"_maxSize");function kt(e,t){return new au({check:"min_size",...w(t),minimum:e})}a(kt,"_minSize");function hr(e,t){return new su({check:"size_equals",...w(t),size:e})}a(hr,"_size");function gr(e,t){return new cu({check:"max_length",...w(t),maximum:e})}a(gr,"_maxLength");function Ut(e,t){return new uu({check:"min_length",...w(t),minimum:e})}a(Ut,"_minLength");function yr(e,t){return new lu({check:"length_equals",...w(t),length:e})}a(yr,"_length");function qr(e,t){return new pu({check:"string_format",format:"regex",...w(t),pattern:e})}a(qr,"_regex");function Yr(e){return new du({check:"string_format",format:"lowercase",...w(e)})}a(Yr,"_lowercase");function Kr(e){return new fu({check:"string_format",format:"uppercase",...w(e)})}a(Kr,"_uppercase");function Wr(e,t){return new mu({check:"string_format",format:"includes",...w(t),includes:e})}a(Wr,"_includes");function Hr(e,t){return new hu({check:"string_format",format:"starts_with",...w(t),prefix:e})}a(Hr,"_startsWith");function Xr(e,t){return new gu({check:"string_format",format:"ends_with",...w(t),suffix:e})}a(Xr,"_endsWith");function ma(e,t,n){return new yu({check:"property",property:e,schema:t,...w(n)})}a(ma,"_property");function en(e,t){return new vu({check:"mime_type",mime:e,...w(t)})}a(en,"_mime");function St(e){return new xu({check:"overwrite",tx:e})}a(St,"_overwrite");function tn(e){return St(t=>t.normalize(e))}a(tn,"_normalize");function rn(){return St(e=>e.trim())}a(rn,"_trim");function nn(){return St(e=>e.toLowerCase())}a(nn,"_toLowerCase");function on(){return St(e=>e.toUpperCase())}a(on,"_toUpperCase");function an(){return St(e=>yc(e))}a(an,"_slugify");function rd(e,t,n){return new e({type:"array",element:t,...w(n)})}a(rd,"_array");function vT(e,t,n){return new e({type:"union",options:t,...w(n)})}a(vT,"_union");function xT(e,t,n){return new e({type:"union",options:t,inclusive:!1,...w(n)})}a(xT,"_xor");function bT(e,t,n,i){return new e({type:"union",options:n,discriminator:t,...w(i)})}a(bT,"_discriminatedUnion");function _T(e,t,n){return new e({type:"intersection",left:t,right:n})}a(_T,"_intersection");function ST(e,t,n,i){let r=n instanceof B,o=r?i:n,s=r?n:null;return new e({type:"tuple",items:t,rest:s,...w(o)})}a(ST,"_tuple");function TT(e,t,n,i){return new e({type:"record",keyType:t,valueType:n,...w(i)})}a(TT,"_record");function $T(e,t,n,i){return new e({type:"map",keyType:t,valueType:n,...w(i)})}a($T,"_map");function IT(e,t,n){return new e({type:"set",valueType:t,...w(n)})}a(IT,"_set");function ET(e,t,n){let i=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:"enum",entries:i,...w(n)})}a(ET,"_enum");function OT(e,t,n){return new e({type:"enum",entries:t,...w(n)})}a(OT,"_nativeEnum");function wT(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...w(n)})}a(wT,"_literal");function nd(e,t){return new e({type:"file",...w(t)})}a(nd,"_file");function NT(e,t){return new e({type:"transform",transform:t})}a(NT,"_transform");function kT(e,t){return new e({type:"optional",innerType:t})}a(kT,"_optional");function DT(e,t){return new e({type:"nullable",innerType:t})}a(DT,"_nullable");function RT(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return typeof n=="function"?n():xc(n)}})}a(RT,"_default");function AT(e,t,n){return new e({type:"nonoptional",innerType:t,...w(n)})}a(AT,"_nonoptional");function jT(e,t){return new e({type:"success",innerType:t})}a(jT,"_success");function LT(e,t,n){return new e({type:"catch",innerType:t,catchValue:typeof n=="function"?n:()=>n})}a(LT,"_catch");function zT(e,t,n){return new e({type:"pipe",in:t,out:n})}a(zT,"_pipe");function PT(e,t){return new e({type:"readonly",innerType:t})}a(PT,"_readonly");function UT(e,t,n){return new e({type:"template_literal",parts:t,...w(n)})}a(UT,"_templateLiteral");function FT(e,t){return new e({type:"lazy",getter:t})}a(FT,"_lazy");function CT(e,t){return new e({type:"promise",innerType:t})}a(CT,"_promise");function id(e,t,n){let i=w(n);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}a(id,"_custom");function od(e,t,n){return new e({type:"custom",check:"custom",fn:t,...w(n)})}a(od,"_refine");function ad(e){let t=Kg(n=>(n.addIssue=i=>{if(typeof i=="string")n.issues.push(Vr(i,n.value,t._zod.def));else{let r=i;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=t),r.continue??(r.continue=!t._zod.def.abort),n.issues.push(Vr(r))}},e(n.value,n)));return t}a(ad,"_superRefine");function Kg(e,t){let n=new se({check:"custom",...w(t)});return n._zod.check=e,n}a(Kg,"_check");function sd(e){let t=new se({check:"describe"});return t._zod.onattach=[n=>{let i=De.get(n)??{};De.add(n,{...i,description:e})}],t._zod.check=()=>{},t}a(sd,"describe");function cd(e){let t=new se({check:"meta"});return t._zod.onattach=[n=>{let i=De.get(n)??{};De.add(n,{...i,...e})}],t._zod.check=()=>{},t}a(cd,"meta");function ud(e,t){let n=w(t),i=n.truthy??["true","1","yes","on","y","enabled"],r=n.falsy??["false","0","no","off","n","disabled"];n.case!=="sensitive"&&(i=i.map(g=>typeof g=="string"?g.toLowerCase():g),r=r.map(g=>typeof g=="string"?g.toLowerCase():g));let o=new Set(i),s=new Set(r),c=e.Codec??di,u=e.Boolean??li,l=e.String??mr,p=new l({type:"string",error:n.error}),d=new u({type:"boolean",error:n.error}),m=new c({type:"pipe",in:p,out:d,transform:a(((g,y)=>{let b=g;return n.case!=="sensitive"&&(b=b.toLowerCase()),o.has(b)?!0:s.has(b)?!1:(y.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...s],input:y.value,inst:m,continue:!1}),{})}),"transform"),reverseTransform:a(((g,y)=>g===!0?i[0]||"true":r[0]||"false"),"reverseTransform"),error:n.error});return m}a(ud,"_stringbool");function sn(e,t,n,i={}){let r=w(i),o={...w(i),check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:c=>n.test(c),...r};return n instanceof RegExp&&(o.pattern=n),new e(o)}a(sn,"_stringFormat");function Xt(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??De,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}a(Xt,"initializeContext");function ne(e,t,n={path:[],schemaPath:[]}){var i;let r=e._zod.def,o=t.seen.get(e);if(o)return o.count++,n.schemaPath.includes(e)&&(o.cycle=n.path),o.schema;let s={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,s);let c=e._zod.toJSONSchema?.();if(c)s.schema=c;else{let p={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,s.schema,p);else{let m=s.schema,g=t.processors[r.type];if(!g)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);g(e,t,m,p)}let d=e._zod.parent;d&&(s.ref||(s.ref=d),ne(d,t,p),t.seen.get(d).isParent=!0)}let u=t.metadataRegistry.get(e);return u&&Object.assign(s.schema,u),t.io==="input"&&Me(e)&&(delete s.schema.examples,delete s.schema.default),t.io==="input"&&s.schema._prefault&&((i=s.schema).default??(i.default=s.schema._prefault)),delete s.schema._prefault,t.seen.get(e).schema}a(ne,"process");function er(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=new Map;for(let s of e.seen.entries()){let c=e.metadataRegistry.get(s[0])?.id;if(c){let u=i.get(c);if(u&&u!==s[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(c,s[0])}}let r=a(s=>{let c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let d=e.external.registry.get(s[0])?.id,m=e.external.uri??(y=>y);if(d)return{ref:m(d)};let g=s[1].defId??s[1].schema.id??`schema${e.counter++}`;return s[1].defId=g,{defId:g,ref:`${m("__shared")}#/${c}/${g}`}}if(s[1]===n)return{ref:"#"};let l=`#/${c}/`,p=s[1].schema.id??`__schema${e.counter++}`;return{defId:p,ref:l+p}},"makeURI"),o=a(s=>{if(s[1].schema.$ref)return;let c=s[1],{ref:u,defId:l}=r(s);c.def={...c.schema},l&&(c.defId=l);let p=c.schema;for(let d in p)delete p[d];p.$ref=u},"extractToDef");if(e.cycles==="throw")for(let s of e.seen.entries()){let c=s[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
57
57
 
58
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let s of e.seen.entries()){let c=s[1];if(t===s[0]){o(s);continue}if(e.external){let l=e.external.registry.get(s[0])?.id;if(t!==s[0]&&l){o(s);continue}}if(e.metadataRegistry.get(s[0])?.id){o(s);continue}if(c.cycle){o(s);continue}if(c.count>1&&e.reused==="ref"){o(s);continue}}}a(Xt,"extractDefs");function Ht(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=a(s=>{let c=e.seen.get(s);if(c.ref===null)return;let u=c.def??c.schema,l={...u},p=c.ref;if(c.ref=null,p){i(p);let m=e.seen.get(p),g=m.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(g)):Object.assign(u,g),Object.assign(u,l),s._zod.parent===p)for(let x in u)x==="$ref"||x==="allOf"||x in l||delete u[x];if(g.$ref&&m.def)for(let x in u)x==="$ref"||x==="allOf"||x in m.def&&JSON.stringify(u[x])===JSON.stringify(m.def[x])&&delete u[x]}let d=s._zod.parent;if(d&&d!==p){i(d);let m=e.seen.get(d);if(m?.schema.$ref&&(u.$ref=m.schema.$ref,m.def))for(let g in u)g==="$ref"||g==="allOf"||g in m.def&&JSON.stringify(u[g])===JSON.stringify(m.def[g])&&delete u[g]}e.override({zodSchema:s,jsonSchema:u,path:c.path??[]})},"flattenRef");for(let s of[...e.seen.entries()].reverse())i(s[0]);let r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(s)}Object.assign(r,n.def??n.schema);let o=e.external?.defs??{};for(let s of e.seen.entries()){let c=s[1];c.def&&c.defId&&(o[c.defId]=c.def)}e.external||Object.keys(o).length>0&&(e.target==="draft-2020-12"?r.$defs=o:r.definitions=o);try{let s=JSON.parse(JSON.stringify(r));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:on(t,"input",e.processors),output:on(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}a(Ht,"finalize");function Me(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return Me(i.element,n);if(i.type==="set")return Me(i.valueType,n);if(i.type==="lazy")return Me(i.getter(),n);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return Me(i.innerType,n);if(i.type==="intersection")return Me(i.left,n)||Me(i.right,n);if(i.type==="record"||i.type==="map")return Me(i.keyType,n)||Me(i.valueType,n);if(i.type==="pipe")return Me(i.in,n)||Me(i.out,n);if(i.type==="object"){for(let r in i.shape)if(Me(i.shape[r],n))return!0;return!1}if(i.type==="union"){for(let r of i.options)if(Me(r,n))return!0;return!1}if(i.type==="tuple"){for(let r of i.items)if(Me(r,n))return!0;return!!(i.rest&&Me(i.rest,n))}return!1}a(Me,"isTransforming");var nd=a((e,t={})=>n=>{let i=Wt({...n,processors:t});return ne(e,i),Xt(i,e),Ht(i,e)},"createToJSONSchemaMethod"),on=a((e,t,n={})=>i=>{let{libraryOptions:r,target:o}=i??{},s=Wt({...r??{},target:o,io:t,processors:n});return ne(e,s),Xt(s,e),Ht(s,e)},"createStandardJSONSchemaMethod");var TT={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},id=a((e,t,n,i)=>{let r=n;r.type="string";let{minimum:o,maximum:s,format:c,patterns:u,contentEncoding:l}=e._zod.bag;if(typeof o=="number"&&(r.minLength=o),typeof s=="number"&&(r.maxLength=s),c&&(r.format=TT[c]??c,r.format===""&&delete r.format,c==="time"&&delete r.format),l&&(r.contentEncoding=l),u&&u.size>0){let p=[...u];p.length===1?r.pattern=p[0].source:p.length>1&&(r.allOf=[...p.map(d=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},"stringProcessor"),od=a((e,t,n,i)=>{let r=n,{minimum:o,maximum:s,format:c,multipleOf:u,exclusiveMaximum:l,exclusiveMinimum:p}=e._zod.bag;typeof c=="string"&&c.includes("int")?r.type="integer":r.type="number",typeof p=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(r.minimum=p,r.exclusiveMinimum=!0):r.exclusiveMinimum=p),typeof o=="number"&&(r.minimum=o,typeof p=="number"&&t.target!=="draft-04"&&(p>=o?delete r.minimum:delete r.exclusiveMinimum)),typeof l=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(r.maximum=l,r.exclusiveMaximum=!0):r.exclusiveMaximum=l),typeof s=="number"&&(r.maximum=s,typeof l=="number"&&t.target!=="draft-04"&&(l<=s?delete r.maximum:delete r.exclusiveMaximum)),typeof u=="number"&&(r.multipleOf=u)},"numberProcessor"),ad=a((e,t,n,i)=>{n.type="boolean"},"booleanProcessor"),sd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},"bigintProcessor"),cd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},"symbolProcessor"),ud=a((e,t,n,i)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},"nullProcessor"),ld=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},"undefinedProcessor"),pd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},"voidProcessor"),dd=a((e,t,n,i)=>{n.not={}},"neverProcessor"),fd=a((e,t,n,i)=>{},"anyProcessor"),md=a((e,t,n,i)=>{},"unknownProcessor"),hd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},"dateProcessor"),gd=a((e,t,n,i)=>{let r=e._zod.def,o=Yn(r.entries);o.every(s=>typeof s=="number")&&(n.type="number"),o.every(s=>typeof s=="string")&&(n.type="string"),n.enum=o},"enumProcessor"),yd=a((e,t,n,i)=>{let r=e._zod.def,o=[];for(let s of r.values)if(s===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof s=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");o.push(Number(s))}else o.push(s);if(o.length!==0)if(o.length===1){let s=o[0];n.type=s===null?"null":typeof s,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[s]:n.const=s}else o.every(s=>typeof s=="number")&&(n.type="number"),o.every(s=>typeof s=="string")&&(n.type="string"),o.every(s=>typeof s=="boolean")&&(n.type="boolean"),o.every(s=>s===null)&&(n.type="null"),n.enum=o},"literalProcessor"),vd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},"nanProcessor"),bd=a((e,t,n,i)=>{let r=n,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");r.type="string",r.pattern=o.source},"templateLiteralProcessor"),xd=a((e,t,n,i)=>{let r=n,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:s,maximum:c,mime:u}=e._zod.bag;s!==void 0&&(o.minLength=s),c!==void 0&&(o.maxLength=c),u?u.length===1?(o.contentMediaType=u[0],Object.assign(r,o)):(Object.assign(r,o),r.anyOf=u.map(l=>({contentMediaType:l}))):Object.assign(r,o)},"fileProcessor"),_d=a((e,t,n,i)=>{n.type="boolean"},"successProcessor"),Sd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},"customProcessor"),Td=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},"functionProcessor"),$d=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},"transformProcessor"),Id=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},"mapProcessor"),Ed=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},"setProcessor"),Od=a((e,t,n,i)=>{let r=n,o=e._zod.def,{minimum:s,maximum:c}=e._zod.bag;typeof s=="number"&&(r.minItems=s),typeof c=="number"&&(r.maxItems=c),r.type="array",r.items=ne(o.element,t,{...i,path:[...i.path,"items"]})},"arrayProcessor"),Nd=a((e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object",r.properties={};let s=o.shape;for(let l in s)r.properties[l]=ne(s[l],t,{...i,path:[...i.path,"properties",l]});let c=new Set(Object.keys(s)),u=new Set([...c].filter(l=>{let p=o.shape[l]._zod;return t.io==="input"?p.optin===void 0:p.optout===void 0}));u.size>0&&(r.required=Array.from(u)),o.catchall?._zod.def.type==="never"?r.additionalProperties=!1:o.catchall?o.catchall&&(r.additionalProperties=ne(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(r.additionalProperties=!1)},"objectProcessor"),da=a((e,t,n,i)=>{let r=e._zod.def,o=r.inclusive===!1,s=r.options.map((c,u)=>ne(c,t,{...i,path:[...i.path,o?"oneOf":"anyOf",u]}));o?n.oneOf=s:n.anyOf=s},"unionProcessor"),kd=a((e,t,n,i)=>{let r=e._zod.def,o=ne(r.left,t,{...i,path:[...i.path,"allOf",0]}),s=ne(r.right,t,{...i,path:[...i.path,"allOf",1]}),c=a(l=>"allOf"in l&&Object.keys(l).length===1,"isSimpleIntersection"),u=[...c(o)?o.allOf:[o],...c(s)?s.allOf:[s]];n.allOf=u},"intersectionProcessor"),wd=a((e,t,n,i)=>{let r=n,o=e._zod.def;r.type="array";let s=t.target==="draft-2020-12"?"prefixItems":"items",c=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",u=o.items.map((m,g)=>ne(m,t,{...i,path:[...i.path,s,g]})),l=o.rest?ne(o.rest,t,{...i,path:[...i.path,c,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;t.target==="draft-2020-12"?(r.prefixItems=u,l&&(r.items=l)):t.target==="openapi-3.0"?(r.items={anyOf:u},l&&r.items.anyOf.push(l),r.minItems=u.length,l||(r.maxItems=u.length)):(r.items=u,l&&(r.additionalItems=l));let{minimum:p,maximum:d}=e._zod.bag;typeof p=="number"&&(r.minItems=p),typeof d=="number"&&(r.maxItems=d)},"tupleProcessor"),Dd=a((e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object";let s=o.keyType,u=s._zod.bag?.patterns;if(o.mode==="loose"&&u&&u.size>0){let p=ne(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});r.patternProperties={};for(let d of u)r.patternProperties[d.source]=p}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(r.propertyNames=ne(o.keyType,t,{...i,path:[...i.path,"propertyNames"]})),r.additionalProperties=ne(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]});let l=s._zod.values;if(l){let p=[...l].filter(d=>typeof d=="string"||typeof d=="number");p.length>0&&(r.required=p)}},"recordProcessor"),Rd=a((e,t,n,i)=>{let r=e._zod.def,o=ne(r.innerType,t,i),s=t.seen.get(e);t.target==="openapi-3.0"?(s.ref=r.innerType,n.nullable=!0):n.anyOf=[o,{type:"null"}]},"nullableProcessor"),jd=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},"nonoptionalProcessor"),Ad=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.default=JSON.parse(JSON.stringify(r.defaultValue))},"defaultProcessor"),zd=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(r.defaultValue)))},"prefaultProcessor"),Ld=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType;let s;try{s=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=s},"catchProcessor"),Pd=a((e,t,n,i)=>{let r=e._zod.def,o=t.io==="input"?r.in._zod.def.type==="transform"?r.out:r.in:r.out;ne(o,t,i);let s=t.seen.get(e);s.ref=o},"pipeProcessor"),Ud=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.readOnly=!0},"readonlyProcessor"),Fd=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},"promiseProcessor"),fa=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},"optionalProcessor"),Cd=a((e,t,n,i)=>{let r=e._zod.innerType;ne(r,t,i);let o=t.seen.get(e);o.ref=r},"lazyProcessor"),pa={string:id,number:od,boolean:ad,bigint:sd,symbol:cd,null:ud,undefined:ld,void:pd,never:dd,any:fd,unknown:md,date:hd,enum:gd,literal:yd,nan:vd,template_literal:bd,file:xd,success:_d,custom:Sd,function:Td,transform:$d,map:Id,set:Ed,array:Od,object:Nd,union:da,intersection:kd,tuple:wd,record:Dd,nullable:Rd,nonoptional:jd,default:Ad,prefault:zd,catch:Ld,pipe:Pd,readonly:Ud,promise:Fd,optional:fa,lazy:Cd};function ma(e,t){if("_idmap"in e){let i=e,r=Wt({...t,processors:pa}),o={};for(let u of i._idmap.entries()){let[l,p]=u;ne(p,r)}let s={},c={registry:i,uri:t?.uri,defs:o};r.external=c;for(let u of i._idmap.entries()){let[l,p]=u;Xt(r,p),s[l]=Ht(r,p)}if(Object.keys(o).length>0){let u=r.target==="draft-2020-12"?"$defs":"definitions";s.__shared={[u]:o}}return{schemas:s}}let n=Wt({...t,processors:pa});return ne(e,n),Xt(n,e),Ht(n,e)}a(ma,"toJSONSchema");var ha=class{static{a(this,"JSONSchemaGenerator")}get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let n=t?.target??"draft-2020-12";n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),this.ctx=Wt({processors:pa,target:n,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,n={path:[],schemaPath:[]}){return ne(t,this.ctx,n)}emit(t,n){n&&(n.cycles&&(this.ctx.cycles=n.cycles),n.reused&&(this.ctx.reused=n.reused),n.external&&(this.ctx.external=n.external)),Xt(this.ctx,t);let i=Ht(this.ctx,t),{"~standard":r,...o}=i;return o}};var Vg={};var gi={};Et(gi,{ZodAny:()=>pf,ZodArray:()=>hf,ZodBase64:()=>La,ZodBase64URL:()=>Pa,ZodBigInt:()=>dn,ZodBigIntFormat:()=>Ca,ZodBoolean:()=>pn,ZodCIDRv4:()=>Aa,ZodCIDRv6:()=>za,ZodCUID:()=>Oa,ZodCUID2:()=>Na,ZodCatch:()=>Pf,ZodCodec:()=>qa,ZodCustom:()=>Oi,ZodCustomStringFormat:()=>un,ZodDate:()=>Si,ZodDefault:()=>Df,ZodDiscriminatedUnion:()=>yf,ZodE164:()=>Ua,ZodEmail:()=>$a,ZodEmoji:()=>Ia,ZodEnum:()=>sn,ZodExactOptional:()=>Nf,ZodFile:()=>Ef,ZodFunction:()=>Jf,ZodGUID:()=>yi,ZodIPv4:()=>Ra,ZodIPv6:()=>ja,ZodIntersection:()=>vf,ZodJWT:()=>Fa,ZodKSUID:()=>Da,ZodLazy:()=>Zf,ZodLiteral:()=>If,ZodMAC:()=>nf,ZodMap:()=>Tf,ZodNaN:()=>Ff,ZodNanoID:()=>Ea,ZodNever:()=>ff,ZodNonOptional:()=>Ja,ZodNull:()=>uf,ZodNullable:()=>wf,ZodNumber:()=>ln,ZodNumberFormat:()=>gr,ZodObject:()=>$i,ZodOptional:()=>Ba,ZodPipe:()=>Qa,ZodPrefault:()=>jf,ZodPromise:()=>Bf,ZodReadonly:()=>Cf,ZodRecord:()=>Ei,ZodSet:()=>$f,ZodString:()=>cn,ZodStringFormat:()=>oe,ZodSuccess:()=>Lf,ZodSymbol:()=>sf,ZodTemplateLiteral:()=>Mf,ZodTransform:()=>Of,ZodTuple:()=>xf,ZodType:()=>Y,ZodULID:()=>ka,ZodURL:()=>_i,ZodUUID:()=>wt,ZodUndefined:()=>cf,ZodUnion:()=>Ii,ZodUnknown:()=>df,ZodVoid:()=>mf,ZodXID:()=>wa,ZodXor:()=>gf,_ZodString:()=>Ta,_default:()=>Rf,_function:()=>qy,any:()=>Ey,array:()=>Ti,base64:()=>uy,base64url:()=>ly,bigint:()=>_y,boolean:()=>af,catch:()=>Uf,check:()=>Yy,cidrv4:()=>sy,cidrv6:()=>cy,codec:()=>By,cuid:()=>Hg,cuid2:()=>ey,custom:()=>Ky,date:()=>Ny,describe:()=>Wy,discriminatedUnion:()=>Ay,e164:()=>py,email:()=>Zg,emoji:()=>Wg,enum:()=>Za,exactOptional:()=>kf,file:()=>Vy,float32:()=>yy,float64:()=>vy,function:()=>qy,guid:()=>Gg,hash:()=>gy,hex:()=>hy,hostname:()=>my,httpUrl:()=>Kg,instanceof:()=>Hy,int:()=>Sa,int32:()=>by,int64:()=>Sy,intersection:()=>bf,ipv4:()=>iy,ipv6:()=>ay,json:()=>tv,jwt:()=>dy,keyof:()=>ky,ksuid:()=>ny,lazy:()=>Gf,literal:()=>Cy,looseObject:()=>Ry,looseRecord:()=>Ly,mac:()=>oy,map:()=>Py,meta:()=>Xy,nan:()=>Gy,nanoid:()=>Xg,nativeEnum:()=>Fy,never:()=>Va,nonoptional:()=>zf,null:()=>lf,nullable:()=>bi,nullish:()=>My,number:()=>of,object:()=>wy,optional:()=>vi,partialRecord:()=>zy,pipe:()=>xi,prefault:()=>Af,preprocess:()=>rv,promise:()=>Qy,readonly:()=>Vf,record:()=>Sf,refine:()=>Qf,set:()=>Uy,strictObject:()=>Dy,string:()=>_a,stringFormat:()=>fy,stringbool:()=>ev,success:()=>Zy,superRefine:()=>qf,symbol:()=>$y,templateLiteral:()=>Jy,transform:()=>Ga,tuple:()=>_f,uint32:()=>xy,uint64:()=>Ty,ulid:()=>ty,undefined:()=>Iy,union:()=>Ma,unknown:()=>hr,url:()=>Yg,uuid:()=>Bg,uuidv4:()=>Jg,uuidv6:()=>Qg,uuidv7:()=>qg,void:()=>Oy,xid:()=>ry,xor:()=>jy});var ga={};Et(ga,{endsWith:()=>Kr,gt:()=>Nt,gte:()=>Ve,includes:()=>qr,length:()=>mr,lowercase:()=>Jr,lt:()=>Ot,lte:()=>at,maxLength:()=>fr,maxSize:()=>Kt,mime:()=>Wr,minLength:()=>Pt,minSize:()=>kt,multipleOf:()=>Yt,negative:()=>sa,nonnegative:()=>ua,nonpositive:()=>ca,normalize:()=>Xr,overwrite:()=>St,positive:()=>aa,property:()=>la,regex:()=>Br,size:()=>dr,slugify:()=>rn,startsWith:()=>Yr,toLowerCase:()=>en,toUpperCase:()=>tn,trim:()=>Hr,uppercase:()=>Qr});var an={};Et(an,{ZodISODate:()=>va,ZodISODateTime:()=>ya,ZodISODuration:()=>xa,ZodISOTime:()=>ba,date:()=>Md,datetime:()=>Vd,duration:()=>Gd,time:()=>Zd});var ya=v("ZodISODateTime",(e,t)=>{Eu.init(e,t),oe.init(e,t)});function Vd(e){return Sp(ya,e)}a(Vd,"datetime");var va=v("ZodISODate",(e,t)=>{Ou.init(e,t),oe.init(e,t)});function Md(e){return Tp(va,e)}a(Md,"date");var ba=v("ZodISOTime",(e,t)=>{Nu.init(e,t),oe.init(e,t)});function Zd(e){return $p(ba,e)}a(Zd,"time");var xa=v("ZodISODuration",(e,t)=>{ku.init(e,t),oe.init(e,t)});function Gd(e){return Ip(xa,e)}a(Gd,"duration");var Mg=a((e,t)=>{ei.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:a(n=>ri(e,n),"value")},flatten:{value:a(n=>ti(e,n),"value")},addIssue:{value:a(n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Lr,2)},"value")},addIssues:{value:a(n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Lr,2)},"value")},isEmpty:{get(){return e.issues.length===0}}})},"initializer"),IT=v("ZodError",Mg),tt=v("ZodError",Mg,{Parent:Error});var Bd=Fr(tt),Jd=Cr(tt),Qd=Vr(tt),qd=Mr(tt),Yd=yo(tt),Kd=vo(tt),Wd=bo(tt),Xd=xo(tt),Hd=_o(tt),ef=So(tt),tf=To(tt),rf=$o(tt);var Y=v("ZodType",(e,t)=>(B.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:on(e,"input"),output:on(e,"output")}}),e.toJSONSchema=nd(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(O.mergeDefs(t,{checks:[...t.checks??[],...n.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0}),e.with=e.check,e.clone=(n,i)=>Ce(e,n,i),e.brand=()=>e,e.register=((n,i)=>(n.add(e,i),e)),e.parse=(n,i)=>Bd(e,n,i,{callee:e.parse}),e.safeParse=(n,i)=>Qd(e,n,i),e.parseAsync=async(n,i)=>Jd(e,n,i,{callee:e.parseAsync}),e.safeParseAsync=async(n,i)=>qd(e,n,i),e.spa=e.safeParseAsync,e.encode=(n,i)=>Yd(e,n,i),e.decode=(n,i)=>Kd(e,n,i),e.encodeAsync=async(n,i)=>Wd(e,n,i),e.decodeAsync=async(n,i)=>Xd(e,n,i),e.safeEncode=(n,i)=>Hd(e,n,i),e.safeDecode=(n,i)=>ef(e,n,i),e.safeEncodeAsync=async(n,i)=>tf(e,n,i),e.safeDecodeAsync=async(n,i)=>rf(e,n,i),e.refine=(n,i)=>e.check(Qf(n,i)),e.superRefine=n=>e.check(qf(n)),e.overwrite=n=>e.check(St(n)),e.optional=()=>vi(e),e.exactOptional=()=>kf(e),e.nullable=()=>bi(e),e.nullish=()=>vi(bi(e)),e.nonoptional=n=>zf(e,n),e.array=()=>Ti(e),e.or=n=>Ma([e,n]),e.and=n=>bf(e,n),e.transform=n=>xi(e,Ga(n)),e.default=n=>Rf(e,n),e.prefault=n=>Af(e,n),e.catch=n=>Uf(e,n),e.pipe=n=>xi(e,n),e.readonly=()=>Vf(e),e.describe=n=>{let i=e.clone();return De.add(i,{description:n}),i},Object.defineProperty(e,"description",{get(){return De.get(e)?.description},configurable:!0}),e.meta=(...n)=>{if(n.length===0)return De.get(e);let i=e.clone();return De.add(i,n[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=n=>n(e),e)),Ta=v("_ZodString",(e,t)=>{pr.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>id(e,i,r,o);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...i)=>e.check(Br(...i)),e.includes=(...i)=>e.check(qr(...i)),e.startsWith=(...i)=>e.check(Yr(...i)),e.endsWith=(...i)=>e.check(Kr(...i)),e.min=(...i)=>e.check(Pt(...i)),e.max=(...i)=>e.check(fr(...i)),e.length=(...i)=>e.check(mr(...i)),e.nonempty=(...i)=>e.check(Pt(1,...i)),e.lowercase=i=>e.check(Jr(i)),e.uppercase=i=>e.check(Qr(i)),e.trim=()=>e.check(Hr()),e.normalize=(...i)=>e.check(Xr(...i)),e.toLowerCase=()=>e.check(en()),e.toUpperCase=()=>e.check(tn()),e.slugify=()=>e.check(rn())}),cn=v("ZodString",(e,t)=>{pr.init(e,t),Ta.init(e,t),e.email=n=>e.check(Co($a,n)),e.url=n=>e.check(hi(_i,n)),e.jwt=n=>e.check(oa(Fa,n)),e.emoji=n=>e.check(Bo(Ia,n)),e.guid=n=>e.check(mi(yi,n)),e.uuid=n=>e.check(Vo(wt,n)),e.uuidv4=n=>e.check(Mo(wt,n)),e.uuidv6=n=>e.check(Zo(wt,n)),e.uuidv7=n=>e.check(Go(wt,n)),e.nanoid=n=>e.check(Jo(Ea,n)),e.guid=n=>e.check(mi(yi,n)),e.cuid=n=>e.check(Qo(Oa,n)),e.cuid2=n=>e.check(qo(Na,n)),e.ulid=n=>e.check(Yo(ka,n)),e.base64=n=>e.check(ra(La,n)),e.base64url=n=>e.check(na(Pa,n)),e.xid=n=>e.check(Ko(wa,n)),e.ksuid=n=>e.check(Wo(Da,n)),e.ipv4=n=>e.check(Xo(Ra,n)),e.ipv6=n=>e.check(Ho(ja,n)),e.cidrv4=n=>e.check(ea(Aa,n)),e.cidrv6=n=>e.check(ta(za,n)),e.e164=n=>e.check(ia(Ua,n)),e.datetime=n=>e.check(Vd(n)),e.date=n=>e.check(Md(n)),e.time=n=>e.check(Zd(n)),e.duration=n=>e.check(Gd(n))});function _a(e){return vp(cn,e)}a(_a,"string");var oe=v("ZodStringFormat",(e,t)=>{ie.init(e,t),Ta.init(e,t)}),$a=v("ZodEmail",(e,t)=>{yu.init(e,t),oe.init(e,t)});function Zg(e){return Co($a,e)}a(Zg,"email");var yi=v("ZodGUID",(e,t)=>{hu.init(e,t),oe.init(e,t)});function Gg(e){return mi(yi,e)}a(Gg,"guid");var wt=v("ZodUUID",(e,t)=>{gu.init(e,t),oe.init(e,t)});function Bg(e){return Vo(wt,e)}a(Bg,"uuid");function Jg(e){return Mo(wt,e)}a(Jg,"uuidv4");function Qg(e){return Zo(wt,e)}a(Qg,"uuidv6");function qg(e){return Go(wt,e)}a(qg,"uuidv7");var _i=v("ZodURL",(e,t)=>{vu.init(e,t),oe.init(e,t)});function Yg(e){return hi(_i,e)}a(Yg,"url");function Kg(e){return hi(_i,{protocol:/^https?$/,hostname:gt.domain,...O.normalizeParams(e)})}a(Kg,"httpUrl");var Ia=v("ZodEmoji",(e,t)=>{bu.init(e,t),oe.init(e,t)});function Wg(e){return Bo(Ia,e)}a(Wg,"emoji");var Ea=v("ZodNanoID",(e,t)=>{xu.init(e,t),oe.init(e,t)});function Xg(e){return Jo(Ea,e)}a(Xg,"nanoid");var Oa=v("ZodCUID",(e,t)=>{_u.init(e,t),oe.init(e,t)});function Hg(e){return Qo(Oa,e)}a(Hg,"cuid");var Na=v("ZodCUID2",(e,t)=>{Su.init(e,t),oe.init(e,t)});function ey(e){return qo(Na,e)}a(ey,"cuid2");var ka=v("ZodULID",(e,t)=>{Tu.init(e,t),oe.init(e,t)});function ty(e){return Yo(ka,e)}a(ty,"ulid");var wa=v("ZodXID",(e,t)=>{$u.init(e,t),oe.init(e,t)});function ry(e){return Ko(wa,e)}a(ry,"xid");var Da=v("ZodKSUID",(e,t)=>{Iu.init(e,t),oe.init(e,t)});function ny(e){return Wo(Da,e)}a(ny,"ksuid");var Ra=v("ZodIPv4",(e,t)=>{wu.init(e,t),oe.init(e,t)});function iy(e){return Xo(Ra,e)}a(iy,"ipv4");var nf=v("ZodMAC",(e,t)=>{Ru.init(e,t),oe.init(e,t)});function oy(e){return xp(nf,e)}a(oy,"mac");var ja=v("ZodIPv6",(e,t)=>{Du.init(e,t),oe.init(e,t)});function ay(e){return Ho(ja,e)}a(ay,"ipv6");var Aa=v("ZodCIDRv4",(e,t)=>{ju.init(e,t),oe.init(e,t)});function sy(e){return ea(Aa,e)}a(sy,"cidrv4");var za=v("ZodCIDRv6",(e,t)=>{Au.init(e,t),oe.init(e,t)});function cy(e){return ta(za,e)}a(cy,"cidrv6");var La=v("ZodBase64",(e,t)=>{Lu.init(e,t),oe.init(e,t)});function uy(e){return ra(La,e)}a(uy,"base64");var Pa=v("ZodBase64URL",(e,t)=>{Pu.init(e,t),oe.init(e,t)});function ly(e){return na(Pa,e)}a(ly,"base64url");var Ua=v("ZodE164",(e,t)=>{Uu.init(e,t),oe.init(e,t)});function py(e){return ia(Ua,e)}a(py,"e164");var Fa=v("ZodJWT",(e,t)=>{Fu.init(e,t),oe.init(e,t)});function dy(e){return oa(Fa,e)}a(dy,"jwt");var un=v("ZodCustomStringFormat",(e,t)=>{Cu.init(e,t),oe.init(e,t)});function fy(e,t,n={}){return nn(un,e,t,n)}a(fy,"stringFormat");function my(e){return nn(un,"hostname",gt.hostname,e)}a(my,"hostname");function hy(e){return nn(un,"hex",gt.hex,e)}a(hy,"hex");function gy(e,t){let n=t?.enc??"hex",i=`${e}_${n}`,r=gt[i];if(!r)throw new Error(`Unrecognized hash format: ${i}`);return nn(un,i,r,t)}a(gy,"hash");var ln=v("ZodNumber",(e,t)=>{Ao.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>od(e,i,r,o),e.gt=(i,r)=>e.check(Nt(i,r)),e.gte=(i,r)=>e.check(Ve(i,r)),e.min=(i,r)=>e.check(Ve(i,r)),e.lt=(i,r)=>e.check(Ot(i,r)),e.lte=(i,r)=>e.check(at(i,r)),e.max=(i,r)=>e.check(at(i,r)),e.int=i=>e.check(Sa(i)),e.safe=i=>e.check(Sa(i)),e.positive=i=>e.check(Nt(0,i)),e.nonnegative=i=>e.check(Ve(0,i)),e.negative=i=>e.check(Ot(0,i)),e.nonpositive=i=>e.check(at(0,i)),e.multipleOf=(i,r)=>e.check(Yt(i,r)),e.step=(i,r)=>e.check(Yt(i,r)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function of(e){return Ep(ln,e)}a(of,"number");var gr=v("ZodNumberFormat",(e,t)=>{Vu.init(e,t),ln.init(e,t)});function Sa(e){return Np(gr,e)}a(Sa,"int");function yy(e){return kp(gr,e)}a(yy,"float32");function vy(e){return wp(gr,e)}a(vy,"float64");function by(e){return Dp(gr,e)}a(by,"int32");function xy(e){return Rp(gr,e)}a(xy,"uint32");var pn=v("ZodBoolean",(e,t)=>{ai.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ad(e,n,i,r)});function af(e){return jp(pn,e)}a(af,"boolean");var dn=v("ZodBigInt",(e,t)=>{zo.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>sd(e,i,r,o),e.gte=(i,r)=>e.check(Ve(i,r)),e.min=(i,r)=>e.check(Ve(i,r)),e.gt=(i,r)=>e.check(Nt(i,r)),e.gte=(i,r)=>e.check(Ve(i,r)),e.min=(i,r)=>e.check(Ve(i,r)),e.lt=(i,r)=>e.check(Ot(i,r)),e.lte=(i,r)=>e.check(at(i,r)),e.max=(i,r)=>e.check(at(i,r)),e.positive=i=>e.check(Nt(BigInt(0),i)),e.negative=i=>e.check(Ot(BigInt(0),i)),e.nonpositive=i=>e.check(at(BigInt(0),i)),e.nonnegative=i=>e.check(Ve(BigInt(0),i)),e.multipleOf=(i,r)=>e.check(Yt(i,r));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function _y(e){return zp(dn,e)}a(_y,"bigint");var Ca=v("ZodBigIntFormat",(e,t)=>{Mu.init(e,t),dn.init(e,t)});function Sy(e){return Pp(Ca,e)}a(Sy,"int64");function Ty(e){return Up(Ca,e)}a(Ty,"uint64");var sf=v("ZodSymbol",(e,t)=>{Zu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cd(e,n,i,r)});function $y(e){return Fp(sf,e)}a($y,"symbol");var cf=v("ZodUndefined",(e,t)=>{Gu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ld(e,n,i,r)});function Iy(e){return Cp(cf,e)}a(Iy,"_undefined");var uf=v("ZodNull",(e,t)=>{Bu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ud(e,n,i,r)});function lf(e){return Vp(uf,e)}a(lf,"_null");var pf=v("ZodAny",(e,t)=>{Ju.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>fd(e,n,i,r)});function Ey(){return Mp(pf)}a(Ey,"any");var df=v("ZodUnknown",(e,t)=>{Qu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>md(e,n,i,r)});function hr(){return Zp(df)}a(hr,"unknown");var ff=v("ZodNever",(e,t)=>{qu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>dd(e,n,i,r)});function Va(e){return Gp(ff,e)}a(Va,"never");var mf=v("ZodVoid",(e,t)=>{Yu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>pd(e,n,i,r)});function Oy(e){return Bp(mf,e)}a(Oy,"_void");var Si=v("ZodDate",(e,t)=>{Ku.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>hd(e,i,r,o),e.min=(i,r)=>e.check(Ve(i,r)),e.max=(i,r)=>e.check(at(i,r));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function Ny(e){return Jp(Si,e)}a(Ny,"date");var hf=v("ZodArray",(e,t)=>{Wu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Od(e,n,i,r),e.element=t.element,e.min=(n,i)=>e.check(Pt(n,i)),e.nonempty=n=>e.check(Pt(1,n)),e.max=(n,i)=>e.check(fr(n,i)),e.length=(n,i)=>e.check(mr(n,i)),e.unwrap=()=>e.element});function Ti(e,t){return Yp(hf,e,t)}a(Ti,"array");function ky(e){let t=e._zod.def.shape;return Za(Object.keys(t))}a(ky,"keyof");var $i=v("ZodObject",(e,t)=>{Xu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Nd(e,n,i,r),O.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>Za(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone({...e._zod.def,catchall:n}),e.passthrough=()=>e.clone({...e._zod.def,catchall:hr()}),e.loose=()=>e.clone({...e._zod.def,catchall:hr()}),e.strict=()=>e.clone({...e._zod.def,catchall:Va()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=n=>O.extend(e,n),e.safeExtend=n=>O.safeExtend(e,n),e.merge=n=>O.merge(e,n),e.pick=n=>O.pick(e,n),e.omit=n=>O.omit(e,n),e.partial=(...n)=>O.partial(Ba,e,n[0]),e.required=(...n)=>O.required(Ja,e,n[0])});function wy(e,t){let n={type:"object",shape:e??{},...O.normalizeParams(t)};return new $i(n)}a(wy,"object");function Dy(e,t){return new $i({type:"object",shape:e,catchall:Va(),...O.normalizeParams(t)})}a(Dy,"strictObject");function Ry(e,t){return new $i({type:"object",shape:e,catchall:hr(),...O.normalizeParams(t)})}a(Ry,"looseObject");var Ii=v("ZodUnion",(e,t)=>{si.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>da(e,n,i,r),e.options=t.options});function Ma(e,t){return new Ii({type:"union",options:e,...O.normalizeParams(t)})}a(Ma,"union");var gf=v("ZodXor",(e,t)=>{Ii.init(e,t),Hu.init(e,t),e._zod.processJSONSchema=(n,i,r)=>da(e,n,i,r),e.options=t.options});function jy(e,t){return new gf({type:"union",options:e,inclusive:!1,...O.normalizeParams(t)})}a(jy,"xor");var yf=v("ZodDiscriminatedUnion",(e,t)=>{Ii.init(e,t),el.init(e,t)});function Ay(e,t,n){return new yf({type:"union",options:t,discriminator:e,...O.normalizeParams(n)})}a(Ay,"discriminatedUnion");var vf=v("ZodIntersection",(e,t)=>{tl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>kd(e,n,i,r)});function bf(e,t){return new vf({type:"intersection",left:e,right:t})}a(bf,"intersection");var xf=v("ZodTuple",(e,t)=>{Lo.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>wd(e,n,i,r),e.rest=n=>e.clone({...e._zod.def,rest:n})});function _f(e,t,n){let i=t instanceof B,r=i?n:t,o=i?t:null;return new xf({type:"tuple",items:e,rest:o,...O.normalizeParams(r)})}a(_f,"tuple");var Ei=v("ZodRecord",(e,t)=>{rl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Dd(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType});function Sf(e,t,n){return new Ei({type:"record",keyType:e,valueType:t,...O.normalizeParams(n)})}a(Sf,"record");function zy(e,t,n){let i=Ce(e);return i._zod.values=void 0,new Ei({type:"record",keyType:i,valueType:t,...O.normalizeParams(n)})}a(zy,"partialRecord");function Ly(e,t,n){return new Ei({type:"record",keyType:e,valueType:t,mode:"loose",...O.normalizeParams(n)})}a(Ly,"looseRecord");var Tf=v("ZodMap",(e,t)=>{nl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Id(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(kt(...n)),e.nonempty=n=>e.check(kt(1,n)),e.max=(...n)=>e.check(Kt(...n)),e.size=(...n)=>e.check(dr(...n))});function Py(e,t,n){return new Tf({type:"map",keyType:e,valueType:t,...O.normalizeParams(n)})}a(Py,"map");var $f=v("ZodSet",(e,t)=>{il.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ed(e,n,i,r),e.min=(...n)=>e.check(kt(...n)),e.nonempty=n=>e.check(kt(1,n)),e.max=(...n)=>e.check(Kt(...n)),e.size=(...n)=>e.check(dr(...n))});function Uy(e,t){return new $f({type:"set",valueType:e,...O.normalizeParams(t)})}a(Uy,"set");var sn=v("ZodEnum",(e,t)=>{ol.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>gd(e,i,r,o),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(i,r)=>{let o={};for(let s of i)if(n.has(s))o[s]=t.entries[s];else throw new Error(`Key ${s} not found in enum`);return new sn({...t,checks:[],...O.normalizeParams(r),entries:o})},e.exclude=(i,r)=>{let o={...t.entries};for(let s of i)if(n.has(s))delete o[s];else throw new Error(`Key ${s} not found in enum`);return new sn({...t,checks:[],...O.normalizeParams(r),entries:o})}});function Za(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new sn({type:"enum",entries:n,...O.normalizeParams(t)})}a(Za,"_enum");function Fy(e,t){return new sn({type:"enum",entries:e,...O.normalizeParams(t)})}a(Fy,"nativeEnum");var If=v("ZodLiteral",(e,t)=>{al.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>yd(e,n,i,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Cy(e,t){return new If({type:"literal",values:Array.isArray(e)?e:[e],...O.normalizeParams(t)})}a(Cy,"literal");var Ef=v("ZodFile",(e,t)=>{sl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>xd(e,n,i,r),e.min=(n,i)=>e.check(kt(n,i)),e.max=(n,i)=>e.check(Kt(n,i)),e.mime=(n,i)=>e.check(Wr(Array.isArray(n)?n:[n],i))});function Vy(e){return Kp(Ef,e)}a(Vy,"file");var Of=v("ZodTransform",(e,t)=>{cl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>$d(e,n,i,r),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Gt(e.constructor.name);n.addIssue=o=>{if(typeof o=="string")n.issues.push(O.issue(o,n.value,t));else{let s=o;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),s.input??(s.input=n.value),s.inst??(s.inst=e),n.issues.push(O.issue(s))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(o=>(n.value=o,n)):(n.value=r,n)}});function Ga(e){return new Of({type:"transform",transform:e})}a(Ga,"transform");var Ba=v("ZodOptional",(e,t)=>{Po.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>fa(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function vi(e){return new Ba({type:"optional",innerType:e})}a(vi,"optional");var Nf=v("ZodExactOptional",(e,t)=>{ul.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>fa(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function kf(e){return new Nf({type:"optional",innerType:e})}a(kf,"exactOptional");var wf=v("ZodNullable",(e,t)=>{ll.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Rd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function bi(e){return new wf({type:"nullable",innerType:e})}a(bi,"nullable");function My(e){return vi(bi(e))}a(My,"nullish");var Df=v("ZodDefault",(e,t)=>{pl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ad(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Rf(e,t){return new Df({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():O.shallowClone(t)}})}a(Rf,"_default");var jf=v("ZodPrefault",(e,t)=>{dl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>zd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Af(e,t){return new jf({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():O.shallowClone(t)}})}a(Af,"prefault");var Ja=v("ZodNonOptional",(e,t)=>{fl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>jd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function zf(e,t){return new Ja({type:"nonoptional",innerType:e,...O.normalizeParams(t)})}a(zf,"nonoptional");var Lf=v("ZodSuccess",(e,t)=>{ml.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>_d(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Zy(e){return new Lf({type:"success",innerType:e})}a(Zy,"success");var Pf=v("ZodCatch",(e,t)=>{hl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ld(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Uf(e,t){return new Pf({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}a(Uf,"_catch");var Ff=v("ZodNaN",(e,t)=>{gl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>vd(e,n,i,r)});function Gy(e){return qp(Ff,e)}a(Gy,"nan");var Qa=v("ZodPipe",(e,t)=>{yl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Pd(e,n,i,r),e.in=t.in,e.out=t.out});function xi(e,t){return new Qa({type:"pipe",in:e,out:t})}a(xi,"pipe");var qa=v("ZodCodec",(e,t)=>{Qa.init(e,t),ci.init(e,t)});function By(e,t,n){return new qa({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}a(By,"codec");var Cf=v("ZodReadonly",(e,t)=>{vl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ud(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Vf(e){return new Cf({type:"readonly",innerType:e})}a(Vf,"readonly");var Mf=v("ZodTemplateLiteral",(e,t)=>{bl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>bd(e,n,i,r)});function Jy(e,t){return new Mf({type:"template_literal",parts:e,...O.normalizeParams(t)})}a(Jy,"templateLiteral");var Zf=v("ZodLazy",(e,t)=>{Sl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Cd(e,n,i,r),e.unwrap=()=>e._zod.def.getter()});function Gf(e){return new Zf({type:"lazy",getter:e})}a(Gf,"lazy");var Bf=v("ZodPromise",(e,t)=>{_l.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Fd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Qy(e){return new Bf({type:"promise",innerType:e})}a(Qy,"promise");var Jf=v("ZodFunction",(e,t)=>{xl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Td(e,n,i,r)});function qy(e){return new Jf({type:"function",input:Array.isArray(e?.input)?_f(e?.input):e?.input??Ti(hr()),output:e?.output??hr()})}a(qy,"_function");var Oi=v("ZodCustom",(e,t)=>{Tl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Sd(e,n,i,r)});function Yy(e){let t=new se({check:"custom"});return t._zod.check=e,t}a(Yy,"check");function Ky(e,t){return Wp(Oi,e??(()=>!0),t)}a(Ky,"custom");function Qf(e,t={}){return Xp(Oi,e,t)}a(Qf,"refine");function qf(e){return Hp(e)}a(qf,"superRefine");var Wy=ed,Xy=td;function Hy(e,t={}){let n=new Oi({type:"custom",check:"custom",fn:a(i=>i instanceof e,"fn"),abort:!0,...O.normalizeParams(t)});return n._zod.bag.Class=e,n._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:n,path:[...n._zod.def.path??[]]})},n}a(Hy,"_instanceof");var ev=a((...e)=>rd({Codec:qa,Boolean:pn,String:cn},...e),"stringbool");function tv(e){let t=Gf(()=>Ma([_a(e),of(),af(),lf(),Ti(t),Sf(_a(),t)]));return t}a(tv,"json");function rv(e,t){return xi(Ga(e),t)}a(rv,"preprocess");var OT={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function NT(e){me({customError:e})}a(NT,"setErrorMap");function kT(){return me().customError}a(kT,"getErrorMap");var Yf;Yf||(Yf={});var w={...gi,...ga,iso:an},wT=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function DT(e,t){let n=e.$schema;return n==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":n==="http://json-schema.org/draft-07/schema#"?"draft-7":n==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}a(DT,"detectVersion");function RT(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let n=e.slice(1).split("/").filter(Boolean);if(n.length===0)return t.rootSchema;let i=t.version==="draft-2020-12"?"$defs":"definitions";if(n[0]===i){let r=n[1];if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`);return t.defs[r]}throw new Error(`Reference not found: ${e}`)}a(RT,"resolveRef");function nv(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return w.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let r=e.$ref;if(t.refs.has(r))return t.refs.get(r);if(t.processing.has(r))return w.lazy(()=>{if(!t.refs.has(r))throw new Error(`Circular reference not resolved: ${r}`);return t.refs.get(r)});t.processing.add(r);let o=RT(r,t),s=Ae(o,t);return t.refs.set(r,s),t.processing.delete(r),s}if(e.enum!==void 0){let r=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&r.length===1&&r[0]===null)return w.null();if(r.length===0)return w.never();if(r.length===1)return w.literal(r[0]);if(r.every(s=>typeof s=="string"))return w.enum(r);let o=r.map(s=>w.literal(s));return o.length<2?o[0]:w.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return w.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(o=>{let s={...e,type:o};return nv(s,t)});return r.length===0?w.never():r.length===1?r[0]:w.union(r)}if(!n)return w.any();let i;switch(n){case"string":{let r=w.string();if(e.format){let o=e.format;o==="email"?r=r.check(w.email()):o==="uri"||o==="uri-reference"?r=r.check(w.url()):o==="uuid"||o==="guid"?r=r.check(w.uuid()):o==="date-time"?r=r.check(w.iso.datetime()):o==="date"?r=r.check(w.iso.date()):o==="time"?r=r.check(w.iso.time()):o==="duration"?r=r.check(w.iso.duration()):o==="ipv4"?r=r.check(w.ipv4()):o==="ipv6"?r=r.check(w.ipv6()):o==="mac"?r=r.check(w.mac()):o==="cidr"?r=r.check(w.cidrv4()):o==="cidr-v6"?r=r.check(w.cidrv6()):o==="base64"?r=r.check(w.base64()):o==="base64url"?r=r.check(w.base64url()):o==="e164"?r=r.check(w.e164()):o==="jwt"?r=r.check(w.jwt()):o==="emoji"?r=r.check(w.emoji()):o==="nanoid"?r=r.check(w.nanoid()):o==="cuid"?r=r.check(w.cuid()):o==="cuid2"?r=r.check(w.cuid2()):o==="ulid"?r=r.check(w.ulid()):o==="xid"?r=r.check(w.xid()):o==="ksuid"&&(r=r.check(w.ksuid()))}typeof e.minLength=="number"&&(r=r.min(e.minLength)),typeof e.maxLength=="number"&&(r=r.max(e.maxLength)),e.pattern&&(r=r.regex(new RegExp(e.pattern))),i=r;break}case"number":case"integer":{let r=n==="integer"?w.number().int():w.number();typeof e.minimum=="number"&&(r=r.min(e.minimum)),typeof e.maximum=="number"&&(r=r.max(e.maximum)),typeof e.exclusiveMinimum=="number"?r=r.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(r=r.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?r=r.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(r=r.lt(e.maximum)),typeof e.multipleOf=="number"&&(r=r.multipleOf(e.multipleOf)),i=r;break}case"boolean":{i=w.boolean();break}case"null":{i=w.null();break}case"object":{let r={},o=e.properties||{},s=new Set(e.required||[]);for(let[u,l]of Object.entries(o)){let p=Ae(l,t);r[u]=s.has(u)?p:p.optional()}if(e.propertyNames){let u=Ae(e.propertyNames,t),l=e.additionalProperties&&typeof e.additionalProperties=="object"?Ae(e.additionalProperties,t):w.any();if(Object.keys(r).length===0){i=w.record(u,l);break}let p=w.object(r).passthrough(),d=w.looseRecord(u,l);i=w.intersection(p,d);break}if(e.patternProperties){let u=e.patternProperties,l=Object.keys(u),p=[];for(let m of l){let g=Ae(u[m],t),y=w.string().regex(new RegExp(m));p.push(w.looseRecord(y,g))}let d=[];if(Object.keys(r).length>0&&d.push(w.object(r).passthrough()),d.push(...p),d.length===0)i=w.object({}).passthrough();else if(d.length===1)i=d[0];else{let m=w.intersection(d[0],d[1]);for(let g=2;g<d.length;g++)m=w.intersection(m,d[g]);i=m}break}let c=w.object(r);e.additionalProperties===!1?i=c.strict():typeof e.additionalProperties=="object"?i=c.catchall(Ae(e.additionalProperties,t)):i=c.passthrough();break}case"array":{let r=e.prefixItems,o=e.items;if(r&&Array.isArray(r)){let s=r.map(u=>Ae(u,t)),c=o&&typeof o=="object"&&!Array.isArray(o)?Ae(o,t):void 0;c?i=w.tuple(s).rest(c):i=w.tuple(s),typeof e.minItems=="number"&&(i=i.check(w.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(w.maxLength(e.maxItems)))}else if(Array.isArray(o)){let s=o.map(u=>Ae(u,t)),c=e.additionalItems&&typeof e.additionalItems=="object"?Ae(e.additionalItems,t):void 0;c?i=w.tuple(s).rest(c):i=w.tuple(s),typeof e.minItems=="number"&&(i=i.check(w.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(w.maxLength(e.maxItems)))}else if(o!==void 0){let s=Ae(o,t),c=w.array(s);typeof e.minItems=="number"&&(c=c.min(e.minItems)),typeof e.maxItems=="number"&&(c=c.max(e.maxItems)),i=c}else i=w.array(w.any());break}default:throw new Error(`Unsupported type: ${n}`)}return e.description&&(i=i.describe(e.description)),e.default!==void 0&&(i=i.default(e.default)),i}a(nv,"convertBaseSchema");function Ae(e,t){if(typeof e=="boolean")return e?w.any():w.never();let n=nv(e,t),i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let c=e.anyOf.map(l=>Ae(l,t)),u=w.union(c);n=i?w.intersection(n,u):u}if(e.oneOf&&Array.isArray(e.oneOf)){let c=e.oneOf.map(l=>Ae(l,t)),u=w.xor(c);n=i?w.intersection(n,u):u}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=i?n:w.any();else{let c=i?n:Ae(e.allOf[0],t),u=i?0:1;for(let l=u;l<e.allOf.length;l++)c=w.intersection(c,Ae(e.allOf[l],t));n=c}e.nullable===!0&&t.version==="openapi-3.0"&&(n=w.nullable(n)),e.readOnly===!0&&(n=w.readonly(n));let r={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let c of o)c in e&&(r[c]=e[c]);let s=["contentEncoding","contentMediaType","contentSchema"];for(let c of s)c in e&&(r[c]=e[c]);for(let c of Object.keys(e))wT.has(c)||(r[c]=e[c]);return Object.keys(r).length>0&&t.registry.add(n,r),n}a(Ae,"convertSchema");function iv(e,t){if(typeof e=="boolean")return e?w.any():w.never();let n=DT(e,t?.defaultTarget),i=e.$defs||e.definitions||{},r={version:n,defs:i,refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??De};return Ae(e,r)}a(iv,"fromJSONSchema");var Kf={};Et(Kf,{bigint:()=>LT,boolean:()=>zT,date:()=>PT,number:()=>AT,string:()=>jT});function jT(e){return bp(cn,e)}a(jT,"string");function AT(e){return Op(ln,e)}a(AT,"number");function zT(e){return Ap(pn,e)}a(zT,"boolean");function LT(e){return Lp(dn,e)}a(LT,"bigint");function PT(e){return Qp(Si,e)}a(PT,"date");me(ui());me({jitless:!0});function Ft(e){try{return JSON.parse(e),e.replaceAll(/"(?:\\.|[^"\\])*"/gu,UT)}catch{return Wf(e)}}a(Ft,"redactDiagnostic");function UT(e){let t=JSON.parse(e);if(typeof t!="string")throw new TypeError("diagnostic JSON token is not a string");return JSON.stringify(Wf(t))}a(UT,"redactJsonString");function Wf(e){return e.replaceAll(/\b[a-z][a-z\d+.-]*:\/\/\S+/giu,FT)}a(Wf,"redactUrls");function FT(e){try{let t=e.indexOf("://")+3,n=Wf(e.slice(t)),i=new URL(`${e.slice(0,t)}${n}`),r=i.username.length>0||i.password.length>0?"[redacted]@":"",o=i.search.length>0?"?[redacted]":"",s=i.hash.length>0?"#[redacted]":"";return`${i.protocol}//${r}${i.host}${i.pathname}${o}${s}`}catch{return"[redacted-url]"}}a(FT,"redactUrl");function ov(e){return e instanceof AggregateError?Ni({cause:e.cause,errors:e.errors}):e.cause==null?null:Ni(e.cause)}a(ov,"errorCause");function av(e){if(!("code"in e))return null;let t=f.union([f.string(),f.number()]).safeParse(e.code);return t.success?Ft(String(t.data)):Ni(e.code)}a(av,"errorCode");function Ni(e){let t=new WeakSet;try{let n=CT(e,(i,r)=>r==null||typeof r!="object"?VT(r):t.has(r)?"[circular]":(t.add(r),r instanceof Error?MT(r):r));return Ft(n??String(e))}catch(n){let i=n instanceof Error?`${n.name}: ${n.message}`:String(n);return Ft(`${String(e)} | serialization-error: ${i}`)}}a(Ni,"describeThrownValue");function CT(e,t){return JSON.stringify(e,t)}a(CT,"stringifyUnknown");function VT(e){return typeof e=="string"?Ft(e):typeof e=="bigint"||typeof e=="function"||typeof e=="symbol"||e===void 0?String(e):e}a(VT,"scalarValue");function MT(e){let t={cause:e.cause,code:"code"in e?e.code:void 0,message:e.message,name:e.name};return e instanceof AggregateError?{...t,errors:e.errors}:t}a(MT,"errorDetails");var Xf=f.discriminatedUnion("kind",[f.strictObject({cause:f.string().nullable(),code:f.string().nullable(),kind:f.literal("error"),message:f.string(),name:f.string(),stack:f.string().nullable()}),f.strictObject({kind:f.literal("non-error"),type:f.enum(["bigint","boolean","function","null","number","object","string","symbol","undefined"]),value:f.string()})]);function ki(e){return e instanceof Error?{cause:ov(e),code:av(e),kind:"error",message:Ft(e.message),name:Ft(e.name),stack:e.stack==null?null:Ft(e.stack)}:{kind:"non-error",type:ZT(e),value:Ni(e)}}a(ki,"serializeThrown");function ZT(e){return e===null?"null":typeof e}a(ZT,"thrownType");var wi=f.union([f.string(),f.number(),f.boolean()]),GT=f.union([wi,f.null()]),BT=f.object({by:f.literal("role"),name:f.union([f.string(),f.undefined()]).optional().transform(e=>e),role:f.string().min(1)}),JT=f.object({by:f.literal("testId"),value:f.string()}),QT=f.object({by:f.literal("inside"),scope:f.lazy(()=>yr),target:f.lazy(()=>yr)}),qT=f.object({by:f.literal("surface"),container:f.lazy(()=>yr),overlay:f.boolean()}),YT=f.object({by:f.literal("frame"),element:f.lazy(()=>yr)}),yr=f.discriminatedUnion("by",[BT,JT,f.object({by:f.literal("element"),name:f.string().min(1),values:f.record(f.string().min(1),wi)}),QT,qT,YT]),KT=f.enum(["mobile","desktop"]);var WT=f.union([f.string(),f.number(),f.boolean(),f.null()]),yt=f.json(),vr=f.record(f.string(),yt);function st(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)}a(st,"isJsonObject");var QD=f.enum(["observed","setup"]);var ct=f.string().regex(/^[A-Za-z_]\w*\.[A-Za-z_]\w*$/u).brand("SchemaOperationId"),em=f.enum(["actor","setup"]),Hf=f.discriminatedUnion("kind",[f.strictObject({arguments:f.record(f.string(),yt),kind:f.literal("missing"),operation:ct}),f.strictObject({issues:f.array(f.string()),kind:f.literal("invalid-output"),operation:ct}),f.strictObject({kind:f.literal("execution-failed"),message:f.string(),operation:ct})]),Di=f.tuple([Hf]).rest(Hf).readonly();var tm="SchemaBindingError",rm="SchemaSetupBindingError";var sv=f.strictObject({issue:f.string().min(1),reader:ct,step:ct}),nm=f.array(sv).min(1),XT=f.enum(["unwritten","written"]),im="SchemaReadFailureError";var HT=f.object({actual:f.string(),expected:f.string(),log:f.array(f.string()),name:f.string(),timeoutMs:f.number().int().nullable()}),e$=f.object({label:f.string().min(1),role:f.string().min(1)}),t$=3;var Ya=f.object({ancestors:f.array(e$).max(t$),name:f.string().nullable(),role:f.string().nullable(),tag:f.string(),visible:f.boolean()}),fn={expectedRole:f.string().nullable()},r$=f.object({description:f.string(),name:f.string()}),om={...fn,description:f.string(),element:r$.optional()},cv=f.discriminatedUnion("kind",[f.object({...om,issues:f.array(f.string()),kind:f.literal("binding-values-invalid")}),f.object({...om,kind:f.literal("binding-missed"),locator:yr,matched:f.enum(["none","several"]).optional()}),f.object({...om,aliasOf:f.string().min(1),kind:f.literal("binding-alias")})]),r0=new Set(cv.options.map(e=>e.shape.kind.value));var n$=f.discriminatedUnion("kind",[...cv.options,f.object({...fn,kind:f.literal("absent")}),f.object({...fn,kind:f.literal("hidden"),matches:f.array(Ya).min(1)}),f.object({...fn,kind:f.literal("ambiguous"),matches:f.array(Ya).min(2)}),f.object({...fn,kind:f.literal("text-elsewhere"),match:Ya,partial:f.boolean()}),f.object({...fn,actualName:f.string(),kind:f.literal("name-differs"),match:Ya})]),am=f.object({ariaSnapshot:f.string().nullable(),matcher:HT.nullable(),message:f.string(),miss:n$.nullable()});var sm=f.enum(["create-session","teardown"]),i$=f.enum(["unconfigured","navigate","not-signed-in","ticket-rejected"]),Ka=f.enum(["create","read","setup"]),o$=f.discriminatedUnion("kind",[f.object({kind:f.literal("field"),name:f.string()}),f.object({kind:f.literal("record-entry")}),f.object({kind:f.literal("array-entry")})]),a$=f.object({issues:f.array(f.object({branches:f.array(f.number().int().nonnegative()),code:f.enum(["invalid_type","too_big","too_small","invalid_format","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","invalid_value","custom"]),path:f.array(f.union([f.string(),f.number()])),schemaPath:f.array(o$)})).min(1),schemaHash:f.string()}),mn=f.discriminatedUnion("kind",[f.strictObject({kind:f.literal("network")}),f.strictObject({kind:f.literal("http"),status:f.number().int()}),f.strictObject({kind:f.literal("not-json")})]);function cm(e){switch(e.kind){case"network":return!0;case"http":return e.status>=s$;case"not-json":return!1}}a(cm,"isTransientReadFailure");var s$=500,uv=[f.object({kind:f.literal("definition-failed"),message:f.string()}),f.object({detail:f.string(),kind:f.literal("authentication-http"),operation:sm,status:f.number().int()}),f.object({code:f.string().nullable(),kind:f.literal("authentication-network"),message:f.string(),operation:sm}),f.object({kind:f.literal("app-not-ready"),timeoutMs:f.number().int()}),f.object({kind:f.literal("authentication-response"),message:f.string(),operation:sm}),f.object({detail:f.string(),kind:f.literal("sign-in-failed"),stage:i$}),f.object({diagnostic:f.string().optional(),kind:f.literal("binding-failed"),message:f.string(),operation:Ka,validation:a$.optional()}),f.object({failure:mn,kind:f.literal("binding-read-failed"),operation:Ka}),f.object({kind:f.literal("binding-timed-out"),operation:Ka,timeoutMs:f.number().int().nonnegative()}),f.object({kind:f.literal("binding-not-mounted"),operation:Ka,source:f.string()}),f.object({failures:Di,kind:f.literal("implementation-failed")}),f.object({effects:nm,kind:f.literal("setup-effect-missing")}),f.object({kind:f.literal("driver-launch"),message:f.string()}),f.object({kind:f.literal("run-failed"),message:f.string()}),f.object({kind:f.literal("aborted")})],c0=f.discriminatedUnion("kind",[...uv]),c$=f.discriminatedUnion("kind",[...uv,f.object({action:f.string(),failure:am,kind:f.literal("action-failed")}),f.object({failure:am,kind:f.literal("check-failed")})]);var hn=f.strictObject({id:f.string().min(1),token:f.string().min(1)});var um="ripplo:schema-query",u$=f.discriminatedUnion("kind",[f.strictObject({kind:f.literal("started"),operation:ct,token:hn.shape.token}),f.strictObject({durationMs:f.number().nonnegative().optional(),kind:f.literal("returned"),operation:ct,token:hn.shape.token})]);var mm=sg(fv(),1),b0=mm.default.configure,mv=mm.default;var hv=new WeakMap;function ji(e){if(e==null||typeof e!="object")return gv(e);let t=hv.get(e);if(t!=null)return t;let n=gv(e);return hv.set(e,n),n}a(ji,"structuralKey");function gv(e){let t=mv(e,y$);if(t==null)throw new Error("structuralKey: value is not serializable");return t}a(gv,"computeKey");function y$(e,t){if(t instanceof Map||t instanceof Set)throw new TypeError(`structuralKey: opaque collection at "${e}" \u2014 expand it before keying`);return t}a(y$,"rejectOpaque");var hm="__ripplo_binding__";var v$={withStackTrace:!1},bv=a((e,t,n=v$)=>{let i=t.isOk()?{type:"Ok",value:t.value}:{type:"Err",value:t.error},r=n.withStackTrace?new Error().stack:void 0;return{data:i,message:e,stack:r}},"createNeverThrowError");function _r(e,t,n,i){function r(o){return o instanceof n?o:new n(function(s){s(o)})}return a(r,"adopt"),new(n||(n=Promise))(function(o,s){function c(p){try{l(i.next(p))}catch(d){s(d)}}a(c,"fulfilled");function u(p){try{l(i.throw(p))}catch(d){s(d)}}a(u,"rejected");function l(p){p.done?o(p.value):r(p.value).then(c,u)}a(l,"step"),l((i=i.apply(e,t||[])).next())})}a(_r,"__awaiter");function yv(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:a(function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}},"next")};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}a(yv,"__values");function Dt(e){return this instanceof Dt?(this.v=e,this):new Dt(e)}a(Dt,"__await");function vv(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(g){return function(y){return Promise.resolve(y).then(g,d)}}function c(g,y){i[g]&&(r[g]=function(x){return new Promise(function(k,z){o.push([g,x,k,z])>1||u(g,x)})},y&&(r[g]=y(r[g])))}function u(g,y){try{l(i[g](y))}catch(x){m(o[0][3],x)}}function l(g){g.value instanceof Dt?Promise.resolve(g.value.v).then(p,d):m(o[0][2],g)}function p(g){u("next",g)}function d(g){u("throw",g)}function m(g,y){g(y),o.shift(),o.length&&u(o[0][0],o[0][1])}}a(vv,"__asyncGenerator");function b$(e){var t,n;return t={},i("next"),i("throw",function(r){throw r}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(r,o){t[r]=e[r]?function(s){return(n=!n)?{value:Dt(e[r](s)),done:!1}:o?o(s):s}:o}}a(b$,"__asyncDelegator");function x$(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof yv=="function"?yv(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(s){return new Promise(function(c,u){s=e[o](s),r(c,u,s.done,s.value)})}}function r(o,s,c,u){Promise.resolve(u).then(function(l){o({value:l,done:c})},s)}}a(x$,"__asyncValues");var Ct=class e{static{a(this,"ResultAsync")}constructor(t){this._promise=t}static fromSafePromise(t){let n=t.then(i=>new vt(i));return new e(n)}static fromPromise(t,n){let i=t.then(r=>new vt(r)).catch(r=>new ut(n(r)));return new e(i)}static fromThrowable(t,n){return(...i)=>new e(_r(this,void 0,void 0,function*(){try{return new vt(yield t(...i))}catch(r){return new ut(n?n(r):r)}}))}static combine(t){return _$(t)}static combineWithAllErrors(t){return S$(t)}map(t){return new e(this._promise.then(n=>_r(this,void 0,void 0,function*(){return n.isErr()?new ut(n.error):new vt(yield t(n.value))})))}andThrough(t){return new e(this._promise.then(n=>_r(this,void 0,void 0,function*(){if(n.isErr())return new ut(n.error);let i=yield t(n.value);return i.isErr()?new ut(i.error):new vt(n.value)})))}andTee(t){return new e(this._promise.then(n=>_r(this,void 0,void 0,function*(){if(n.isErr())return new ut(n.error);try{yield t(n.value)}catch{}return new vt(n.value)})))}orTee(t){return new e(this._promise.then(n=>_r(this,void 0,void 0,function*(){if(n.isOk())return new vt(n.value);try{yield t(n.error)}catch{}return new ut(n.error)})))}mapErr(t){return new e(this._promise.then(n=>_r(this,void 0,void 0,function*(){return n.isOk()?new vt(n.value):new ut(yield t(n.error))})))}andThen(t){return new e(this._promise.then(n=>{if(n.isErr())return new ut(n.error);let i=t(n.value);return i instanceof e?i._promise:i}))}orElse(t){return new e(this._promise.then(n=>_r(this,void 0,void 0,function*(){return n.isErr()?t(n.error):new vt(n.value)})))}match(t,n){return this._promise.then(i=>i.match(t,n))}unwrapOr(t){return this._promise.then(n=>n.unwrapOr(t))}safeUnwrap(){return vv(this,arguments,a(function*(){return yield Dt(yield Dt(yield*b$(x$(yield Dt(this._promise.then(n=>n.safeUnwrap()))))))},"safeUnwrap_1"))}then(t,n){return this._promise.then(t,n)}[Symbol.asyncIterator](){return vv(this,arguments,a(function*(){let n=yield Dt(this._promise);return n.isErr()&&(yield yield Dt(Wa(n.error))),yield Dt(n.value)},"_a"))}};function Wa(e){return new Ct(Promise.resolve(new ut(e)))}a(Wa,"errAsync");var I0=Ct.fromPromise,E0=Ct.fromSafePromise,O0=Ct.fromThrowable,xv=a(e=>{let t=rt([]);for(let n of e)if(n.isErr()){t=ze(n.error);break}else t.map(i=>i.push(n.value));return t},"combineResultList"),_$=a(e=>Ct.fromSafePromise(Promise.all(e)).andThen(xv),"combineResultAsyncList"),_v=a(e=>{let t=rt([]);for(let n of e)n.isErr()&&t.isErr()?t.error.push(n.error):n.isErr()&&t.isOk()?t=ze([n.error]):n.isOk()&&t.isOk()&&t.value.push(n.value);return t},"combineResultListWithAllErrors"),S$=a(e=>Ct.fromSafePromise(Promise.all(e)).andThen(_v),"combineResultAsyncListWithAllErrors"),gm;(function(e){function t(r,o){return(...s)=>{try{let c=r(...s);return rt(c)}catch(c){return ze(o?o(c):c)}}}a(t,"fromThrowable"),e.fromThrowable=t;function n(r){return xv(r)}a(n,"combine"),e.combine=n;function i(r){return _v(r)}a(i,"combineWithAllErrors"),e.combineWithAllErrors=i})(gm||(gm={}));function rt(e){return new vt(e)}a(rt,"ok");function ze(e){return new ut(e)}a(ze,"err");var vt=class{static{a(this,"Ok")}constructor(t){this.value=t}isOk(){return!0}isErr(){return!this.isOk()}map(t){return rt(t(this.value))}mapErr(t){return rt(this.value)}andThen(t){return t(this.value)}andThrough(t){return t(this.value).map(n=>this.value)}andTee(t){try{t(this.value)}catch{}return rt(this.value)}orTee(t){return rt(this.value)}orElse(t){return rt(this.value)}asyncAndThen(t){return t(this.value)}asyncAndThrough(t){return t(this.value).map(()=>this.value)}asyncMap(t){return Ct.fromSafePromise(t(this.value))}unwrapOr(t){return this.value}match(t,n){return t(this.value)}safeUnwrap(){let t=this.value;return(function*(){return t})()}_unsafeUnwrap(t){return this.value}_unsafeUnwrapErr(t){throw bv("Called `_unsafeUnwrapErr` on an Ok",this,t)}*[Symbol.iterator](){return this.value}},ut=class{static{a(this,"Err")}constructor(t){this.error=t}isOk(){return!1}isErr(){return!this.isOk()}map(t){return ze(this.error)}mapErr(t){return ze(t(this.error))}andThrough(t){return ze(this.error)}andTee(t){return ze(this.error)}orTee(t){try{t(this.error)}catch{}return ze(this.error)}andThen(t){return ze(this.error)}orElse(t){return t(this.error)}asyncAndThen(t){return Wa(this.error)}asyncAndThrough(t){return Wa(this.error)}asyncMap(t){return Wa(this.error)}unwrapOr(t){return t}match(t,n){return n(this.error)}safeUnwrap(){let t=this.error;return(function*(){throw yield ze(t),new Error("Do not use this generator out of `safeTry`")})()}_unsafeUnwrap(t){throw bv("Called `_unsafeUnwrap` on an Err",this,t)}_unsafeUnwrapErr(t){return this.error}*[Symbol.iterator](){let t=this;return yield t,t}},N0=gm.fromThrowable;var ym=Object.freeze({major:16,minor:13,patch:1,preReleaseTag:null});function Q(e,t){if(!!!e)throw new Error(t)}a(Q,"devAssert");function lt(e){return typeof e?.then=="function"}a(lt,"isPromise");function Oe(e){return typeof e=="object"&&e!==null}a(Oe,"isObjectLike");function ge(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}a(ge,"invariant");var T$=/\r\n|[\n\r]/g;function gn(e,t){let n=0,i=1;for(let r of e.body.matchAll(T$)){if(typeof r.index=="number"||ge(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}a(gn,"getLocation");function vm(e){return Xa(e.source,gn(e.source,e.start))}a(vm,"printLocation");function Xa(e,t){let n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,o=e.locationOffset.line-1,s=t.line+o,c=t.line===1?n:0,u=t.column+c,l=`${e.name}:${s}:${u}
59
- `,p=i.split(/\r\n|[\n\r]/g),d=p[r];if(d.length>120){let m=Math.floor(u/80),g=u%80,y=[];for(let x=0;x<d.length;x+=80)y.push(d.slice(x,x+80));return l+Sv([[`${s} |`,y[0]],...y.slice(1,m+1).map(x=>["|",x]),["|","^".padStart(g)],["|",y[m+1]]])}return l+Sv([[`${s-1} |`,p[r-1]],[`${s} |`,d],["|","^".padStart(u)],[`${s+1} |`,p[r+1]]])}a(Xa,"printSourceLocation");function Sv(e){let t=e.filter(([i,r])=>r!==void 0),n=Math.max(...t.map(([i])=>i.length));return t.map(([i,r])=>i.padStart(n)+(r?" "+r:"")).join(`
60
- `)}a(Sv,"printPrefixedLines");function $$(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}a($$,"toNormalizedOptions");var b=class e extends Error{static{a(this,"GraphQLError")}constructor(t,...n){var i,r,o;let{nodes:s,source:c,positions:u,path:l,originalError:p,extensions:d}=$$(n);super(t),this.name="GraphQLError",this.path=l??void 0,this.originalError=p??void 0,this.nodes=Tv(Array.isArray(s)?s:s?[s]:void 0);let m=Tv((i=this.nodes)===null||i===void 0?void 0:i.map(y=>y.loc).filter(y=>y!=null));this.source=c??(m==null||(r=m[0])===null||r===void 0?void 0:r.source),this.positions=u??m?.map(y=>y.start),this.locations=u&&c?u.map(y=>gn(c,y)):m?.map(y=>gn(y.source,y.start));let g=Oe(p?.extensions)?p?.extensions:void 0;this.extensions=(o=d??g)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),p!=null&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=`
58
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let s of e.seen.entries()){let c=s[1];if(t===s[0]){o(s);continue}if(e.external){let l=e.external.registry.get(s[0])?.id;if(t!==s[0]&&l){o(s);continue}}if(e.metadataRegistry.get(s[0])?.id){o(s);continue}if(c.cycle){o(s);continue}if(c.count>1&&e.reused==="ref"){o(s);continue}}}a(er,"extractDefs");function tr(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=a(s=>{let c=e.seen.get(s);if(c.ref===null)return;let u=c.def??c.schema,l={...u},p=c.ref;if(c.ref=null,p){i(p);let m=e.seen.get(p),g=m.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(g)):Object.assign(u,g),Object.assign(u,l),s._zod.parent===p)for(let b in u)b==="$ref"||b==="allOf"||b in l||delete u[b];if(g.$ref&&m.def)for(let b in u)b==="$ref"||b==="allOf"||b in m.def&&JSON.stringify(u[b])===JSON.stringify(m.def[b])&&delete u[b]}let d=s._zod.parent;if(d&&d!==p){i(d);let m=e.seen.get(d);if(m?.schema.$ref&&(u.$ref=m.schema.$ref,m.def))for(let g in u)g==="$ref"||g==="allOf"||g in m.def&&JSON.stringify(u[g])===JSON.stringify(m.def[g])&&delete u[g]}e.override({zodSchema:s,jsonSchema:u,path:c.path??[]})},"flattenRef");for(let s of[...e.seen.entries()].reverse())i(s[0]);let r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(s)}Object.assign(r,n.def??n.schema);let o=e.external?.defs??{};for(let s of e.seen.entries()){let c=s[1];c.def&&c.defId&&(o[c.defId]=c.def)}e.external||Object.keys(o).length>0&&(e.target==="draft-2020-12"?r.$defs=o:r.definitions=o);try{let s=JSON.parse(JSON.stringify(r));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:cn(t,"input",e.processors),output:cn(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}a(tr,"finalize");function Me(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return Me(i.element,n);if(i.type==="set")return Me(i.valueType,n);if(i.type==="lazy")return Me(i.getter(),n);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return Me(i.innerType,n);if(i.type==="intersection")return Me(i.left,n)||Me(i.right,n);if(i.type==="record"||i.type==="map")return Me(i.keyType,n)||Me(i.valueType,n);if(i.type==="pipe")return Me(i.in,n)||Me(i.out,n);if(i.type==="object"){for(let r in i.shape)if(Me(i.shape[r],n))return!0;return!1}if(i.type==="union"){for(let r of i.options)if(Me(r,n))return!0;return!1}if(i.type==="tuple"){for(let r of i.items)if(Me(r,n))return!0;return!!(i.rest&&Me(i.rest,n))}return!1}a(Me,"isTransforming");var ld=a((e,t={})=>n=>{let i=Xt({...n,processors:t});return ne(e,i),er(i,e),tr(i,e)},"createToJSONSchemaMethod"),cn=a((e,t,n={})=>i=>{let{libraryOptions:r,target:o}=i??{},s=Xt({...r??{},target:o,io:t,processors:n});return ne(e,s),er(s,e),tr(s,e)},"createStandardJSONSchemaMethod");var VT={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},pd=a((e,t,n,i)=>{let r=n;r.type="string";let{minimum:o,maximum:s,format:c,patterns:u,contentEncoding:l}=e._zod.bag;if(typeof o=="number"&&(r.minLength=o),typeof s=="number"&&(r.maxLength=s),c&&(r.format=VT[c]??c,r.format===""&&delete r.format,c==="time"&&delete r.format),l&&(r.contentEncoding=l),u&&u.size>0){let p=[...u];p.length===1?r.pattern=p[0].source:p.length>1&&(r.allOf=[...p.map(d=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},"stringProcessor"),dd=a((e,t,n,i)=>{let r=n,{minimum:o,maximum:s,format:c,multipleOf:u,exclusiveMaximum:l,exclusiveMinimum:p}=e._zod.bag;typeof c=="string"&&c.includes("int")?r.type="integer":r.type="number",typeof p=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(r.minimum=p,r.exclusiveMinimum=!0):r.exclusiveMinimum=p),typeof o=="number"&&(r.minimum=o,typeof p=="number"&&t.target!=="draft-04"&&(p>=o?delete r.minimum:delete r.exclusiveMinimum)),typeof l=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(r.maximum=l,r.exclusiveMaximum=!0):r.exclusiveMaximum=l),typeof s=="number"&&(r.maximum=s,typeof l=="number"&&t.target!=="draft-04"&&(l<=s?delete r.maximum:delete r.exclusiveMaximum)),typeof u=="number"&&(r.multipleOf=u)},"numberProcessor"),fd=a((e,t,n,i)=>{n.type="boolean"},"booleanProcessor"),md=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},"bigintProcessor"),hd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},"symbolProcessor"),gd=a((e,t,n,i)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},"nullProcessor"),yd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},"undefinedProcessor"),vd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},"voidProcessor"),xd=a((e,t,n,i)=>{n.not={}},"neverProcessor"),bd=a((e,t,n,i)=>{},"anyProcessor"),_d=a((e,t,n,i)=>{},"unknownProcessor"),Sd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},"dateProcessor"),Td=a((e,t,n,i)=>{let r=e._zod.def,o=Xn(r.entries);o.every(s=>typeof s=="number")&&(n.type="number"),o.every(s=>typeof s=="string")&&(n.type="string"),n.enum=o},"enumProcessor"),$d=a((e,t,n,i)=>{let r=e._zod.def,o=[];for(let s of r.values)if(s===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof s=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");o.push(Number(s))}else o.push(s);if(o.length!==0)if(o.length===1){let s=o[0];n.type=s===null?"null":typeof s,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[s]:n.const=s}else o.every(s=>typeof s=="number")&&(n.type="number"),o.every(s=>typeof s=="string")&&(n.type="string"),o.every(s=>typeof s=="boolean")&&(n.type="boolean"),o.every(s=>s===null)&&(n.type="null"),n.enum=o},"literalProcessor"),Id=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},"nanProcessor"),Ed=a((e,t,n,i)=>{let r=n,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");r.type="string",r.pattern=o.source},"templateLiteralProcessor"),Od=a((e,t,n,i)=>{let r=n,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:s,maximum:c,mime:u}=e._zod.bag;s!==void 0&&(o.minLength=s),c!==void 0&&(o.maxLength=c),u?u.length===1?(o.contentMediaType=u[0],Object.assign(r,o)):(Object.assign(r,o),r.anyOf=u.map(l=>({contentMediaType:l}))):Object.assign(r,o)},"fileProcessor"),wd=a((e,t,n,i)=>{n.type="boolean"},"successProcessor"),Nd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},"customProcessor"),kd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},"functionProcessor"),Dd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},"transformProcessor"),Rd=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},"mapProcessor"),Ad=a((e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},"setProcessor"),jd=a((e,t,n,i)=>{let r=n,o=e._zod.def,{minimum:s,maximum:c}=e._zod.bag;typeof s=="number"&&(r.minItems=s),typeof c=="number"&&(r.maxItems=c),r.type="array",r.items=ne(o.element,t,{...i,path:[...i.path,"items"]})},"arrayProcessor"),Ld=a((e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object",r.properties={};let s=o.shape;for(let l in s)r.properties[l]=ne(s[l],t,{...i,path:[...i.path,"properties",l]});let c=new Set(Object.keys(s)),u=new Set([...c].filter(l=>{let p=o.shape[l]._zod;return t.io==="input"?p.optin===void 0:p.optout===void 0}));u.size>0&&(r.required=Array.from(u)),o.catchall?._zod.def.type==="never"?r.additionalProperties=!1:o.catchall?o.catchall&&(r.additionalProperties=ne(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(r.additionalProperties=!1)},"objectProcessor"),ga=a((e,t,n,i)=>{let r=e._zod.def,o=r.inclusive===!1,s=r.options.map((c,u)=>ne(c,t,{...i,path:[...i.path,o?"oneOf":"anyOf",u]}));o?n.oneOf=s:n.anyOf=s},"unionProcessor"),zd=a((e,t,n,i)=>{let r=e._zod.def,o=ne(r.left,t,{...i,path:[...i.path,"allOf",0]}),s=ne(r.right,t,{...i,path:[...i.path,"allOf",1]}),c=a(l=>"allOf"in l&&Object.keys(l).length===1,"isSimpleIntersection"),u=[...c(o)?o.allOf:[o],...c(s)?s.allOf:[s]];n.allOf=u},"intersectionProcessor"),Pd=a((e,t,n,i)=>{let r=n,o=e._zod.def;r.type="array";let s=t.target==="draft-2020-12"?"prefixItems":"items",c=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",u=o.items.map((m,g)=>ne(m,t,{...i,path:[...i.path,s,g]})),l=o.rest?ne(o.rest,t,{...i,path:[...i.path,c,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;t.target==="draft-2020-12"?(r.prefixItems=u,l&&(r.items=l)):t.target==="openapi-3.0"?(r.items={anyOf:u},l&&r.items.anyOf.push(l),r.minItems=u.length,l||(r.maxItems=u.length)):(r.items=u,l&&(r.additionalItems=l));let{minimum:p,maximum:d}=e._zod.bag;typeof p=="number"&&(r.minItems=p),typeof d=="number"&&(r.maxItems=d)},"tupleProcessor"),Ud=a((e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object";let s=o.keyType,u=s._zod.bag?.patterns;if(o.mode==="loose"&&u&&u.size>0){let p=ne(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});r.patternProperties={};for(let d of u)r.patternProperties[d.source]=p}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(r.propertyNames=ne(o.keyType,t,{...i,path:[...i.path,"propertyNames"]})),r.additionalProperties=ne(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]});let l=s._zod.values;if(l){let p=[...l].filter(d=>typeof d=="string"||typeof d=="number");p.length>0&&(r.required=p)}},"recordProcessor"),Fd=a((e,t,n,i)=>{let r=e._zod.def,o=ne(r.innerType,t,i),s=t.seen.get(e);t.target==="openapi-3.0"?(s.ref=r.innerType,n.nullable=!0):n.anyOf=[o,{type:"null"}]},"nullableProcessor"),Cd=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},"nonoptionalProcessor"),Vd=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.default=JSON.parse(JSON.stringify(r.defaultValue))},"defaultProcessor"),Md=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(r.defaultValue)))},"prefaultProcessor"),Zd=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType;let s;try{s=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=s},"catchProcessor"),Gd=a((e,t,n,i)=>{let r=e._zod.def,o=t.io==="input"?r.in._zod.def.type==="transform"?r.out:r.in:r.out;ne(o,t,i);let s=t.seen.get(e);s.ref=o},"pipeProcessor"),Bd=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.readOnly=!0},"readonlyProcessor"),Jd=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},"promiseProcessor"),ya=a((e,t,n,i)=>{let r=e._zod.def;ne(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},"optionalProcessor"),Qd=a((e,t,n,i)=>{let r=e._zod.innerType;ne(r,t,i);let o=t.seen.get(e);o.ref=r},"lazyProcessor"),ha={string:pd,number:dd,boolean:fd,bigint:md,symbol:hd,null:gd,undefined:yd,void:vd,never:xd,any:bd,unknown:_d,date:Sd,enum:Td,literal:$d,nan:Id,template_literal:Ed,file:Od,success:wd,custom:Nd,function:kd,transform:Dd,map:Rd,set:Ad,array:jd,object:Ld,union:ga,intersection:zd,tuple:Pd,record:Ud,nullable:Fd,nonoptional:Cd,default:Vd,prefault:Md,catch:Zd,pipe:Gd,readonly:Bd,promise:Jd,optional:ya,lazy:Qd};function va(e,t){if("_idmap"in e){let i=e,r=Xt({...t,processors:ha}),o={};for(let u of i._idmap.entries()){let[l,p]=u;ne(p,r)}let s={},c={registry:i,uri:t?.uri,defs:o};r.external=c;for(let u of i._idmap.entries()){let[l,p]=u;er(r,p),s[l]=tr(r,p)}if(Object.keys(o).length>0){let u=r.target==="draft-2020-12"?"$defs":"definitions";s.__shared={[u]:o}}return{schemas:s}}let n=Xt({...t,processors:ha});return ne(e,n),er(n,e),tr(n,e)}a(va,"toJSONSchema");var xa=class{static{a(this,"JSONSchemaGenerator")}get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let n=t?.target??"draft-2020-12";n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),this.ctx=Xt({processors:ha,target:n,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,n={path:[],schemaPath:[]}){return ne(t,this.ctx,n)}emit(t,n){n&&(n.cycles&&(this.ctx.cycles=n.cycles),n.reused&&(this.ctx.reused=n.reused),n.external&&(this.ctx.external=n.external)),er(this.ctx,t);let i=tr(this.ctx,t),{"~standard":r,...o}=i;return o}};var Wg={};var bi={};Ot(bi,{ZodAny:()=>vf,ZodArray:()=>Sf,ZodBase64:()=>Ca,ZodBase64URL:()=>Va,ZodBigInt:()=>hn,ZodBigIntFormat:()=>Ga,ZodBoolean:()=>mn,ZodCIDRv4:()=>Ua,ZodCIDRv6:()=>Fa,ZodCUID:()=>Da,ZodCUID2:()=>Ra,ZodCatch:()=>Gf,ZodCodec:()=>Ha,ZodCustom:()=>Di,ZodCustomStringFormat:()=>dn,ZodDate:()=>Ei,ZodDefault:()=>Uf,ZodDiscriminatedUnion:()=>$f,ZodE164:()=>Ma,ZodEmail:()=>wa,ZodEmoji:()=>Na,ZodEnum:()=>ln,ZodExactOptional:()=>Lf,ZodFile:()=>Af,ZodFunction:()=>Xf,ZodGUID:()=>_i,ZodIPv4:()=>za,ZodIPv6:()=>Pa,ZodIntersection:()=>If,ZodJWT:()=>Za,ZodKSUID:()=>La,ZodLazy:()=>Kf,ZodLiteral:()=>Rf,ZodMAC:()=>pf,ZodMap:()=>kf,ZodNaN:()=>Jf,ZodNanoID:()=>ka,ZodNever:()=>bf,ZodNonOptional:()=>Ka,ZodNull:()=>gf,ZodNullable:()=>Pf,ZodNumber:()=>fn,ZodNumberFormat:()=>xr,ZodObject:()=>wi,ZodOptional:()=>Ya,ZodPipe:()=>Wa,ZodPrefault:()=>Cf,ZodPromise:()=>Hf,ZodReadonly:()=>Qf,ZodRecord:()=>ki,ZodSet:()=>Df,ZodString:()=>pn,ZodStringFormat:()=>oe,ZodSuccess:()=>Zf,ZodSymbol:()=>mf,ZodTemplateLiteral:()=>Yf,ZodTransform:()=>jf,ZodTuple:()=>Of,ZodType:()=>Y,ZodULID:()=>Aa,ZodURL:()=>Ii,ZodUUID:()=>Dt,ZodUndefined:()=>hf,ZodUnion:()=>Ni,ZodUnknown:()=>xf,ZodVoid:()=>_f,ZodXID:()=>ja,ZodXor:()=>Tf,_ZodString:()=>Oa,_default:()=>Ff,_function:()=>iv,any:()=>zy,array:()=>Oi,base64:()=>xy,base64url:()=>by,bigint:()=>Dy,boolean:()=>ff,catch:()=>Bf,check:()=>ov,cidrv4:()=>yy,cidrv6:()=>vy,codec:()=>tv,cuid:()=>uy,cuid2:()=>ly,custom:()=>av,date:()=>Uy,describe:()=>sv,discriminatedUnion:()=>Gy,e164:()=>_y,email:()=>Xg,emoji:()=>sy,enum:()=>Qa,exactOptional:()=>zf,file:()=>Wy,float32:()=>Oy,float64:()=>wy,function:()=>iv,guid:()=>ey,hash:()=>Ey,hex:()=>Iy,hostname:()=>$y,httpUrl:()=>ay,instanceof:()=>uv,int:()=>Ea,int32:()=>Ny,int64:()=>Ry,intersection:()=>Ef,ipv4:()=>my,ipv6:()=>gy,json:()=>pv,jwt:()=>Sy,keyof:()=>Fy,ksuid:()=>fy,lazy:()=>Wf,literal:()=>Ky,looseObject:()=>My,looseRecord:()=>Jy,mac:()=>hy,map:()=>Qy,meta:()=>cv,nan:()=>ev,nanoid:()=>cy,nativeEnum:()=>Yy,never:()=>Ba,nonoptional:()=>Mf,null:()=>yf,nullable:()=>Ti,nullish:()=>Hy,number:()=>df,object:()=>Cy,optional:()=>Si,partialRecord:()=>By,pipe:()=>$i,prefault:()=>Vf,preprocess:()=>dv,promise:()=>nv,readonly:()=>qf,record:()=>Nf,refine:()=>em,set:()=>qy,strictObject:()=>Vy,string:()=>Ia,stringFormat:()=>Ty,stringbool:()=>lv,success:()=>Xy,superRefine:()=>tm,symbol:()=>jy,templateLiteral:()=>rv,transform:()=>qa,tuple:()=>wf,uint32:()=>ky,uint64:()=>Ay,ulid:()=>py,undefined:()=>Ly,union:()=>Ja,unknown:()=>vr,url:()=>oy,uuid:()=>ty,uuidv4:()=>ry,uuidv6:()=>ny,uuidv7:()=>iy,void:()=>Py,xid:()=>dy,xor:()=>Zy});var ba={};Ot(ba,{endsWith:()=>Xr,gt:()=>Nt,gte:()=>Ve,includes:()=>Wr,length:()=>yr,lowercase:()=>Yr,lt:()=>wt,lte:()=>at,maxLength:()=>gr,maxSize:()=>Ht,mime:()=>en,minLength:()=>Ut,minSize:()=>kt,multipleOf:()=>Wt,negative:()=>pa,nonnegative:()=>fa,nonpositive:()=>da,normalize:()=>tn,overwrite:()=>St,positive:()=>la,property:()=>ma,regex:()=>qr,size:()=>hr,slugify:()=>an,startsWith:()=>Hr,toLowerCase:()=>nn,toUpperCase:()=>on,trim:()=>rn,uppercase:()=>Kr});var un={};Ot(un,{ZodISODate:()=>Sa,ZodISODateTime:()=>_a,ZodISODuration:()=>$a,ZodISOTime:()=>Ta,date:()=>Yd,datetime:()=>qd,duration:()=>Wd,time:()=>Kd});var _a=v("ZodISODateTime",(e,t)=>{Au.init(e,t),oe.init(e,t)});function qd(e){return Np(_a,e)}a(qd,"datetime");var Sa=v("ZodISODate",(e,t)=>{ju.init(e,t),oe.init(e,t)});function Yd(e){return kp(Sa,e)}a(Yd,"date");var Ta=v("ZodISOTime",(e,t)=>{Lu.init(e,t),oe.init(e,t)});function Kd(e){return Dp(Ta,e)}a(Kd,"time");var $a=v("ZodISODuration",(e,t)=>{zu.init(e,t),oe.init(e,t)});function Wd(e){return Rp($a,e)}a(Wd,"duration");var Hg=a((e,t)=>{ii.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:a(n=>ai(e,n),"value")},flatten:{value:a(n=>oi(e,n),"value")},addIssue:{value:a(n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Fr,2)},"value")},addIssues:{value:a(n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Fr,2)},"value")},isEmpty:{get(){return e.issues.length===0}}})},"initializer"),ZT=v("ZodError",Hg),tt=v("ZodError",Hg,{Parent:Error});var Hd=Mr(tt),Xd=Zr(tt),ef=Gr(tt),tf=Br(tt),rf=_o(tt),nf=So(tt),of=To(tt),af=$o(tt),sf=Io(tt),cf=Eo(tt),uf=Oo(tt),lf=wo(tt);var Y=v("ZodType",(e,t)=>(B.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:cn(e,"input"),output:cn(e,"output")}}),e.toJSONSchema=ld(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(O.mergeDefs(t,{checks:[...t.checks??[],...n.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0}),e.with=e.check,e.clone=(n,i)=>Ce(e,n,i),e.brand=()=>e,e.register=((n,i)=>(n.add(e,i),e)),e.parse=(n,i)=>Hd(e,n,i,{callee:e.parse}),e.safeParse=(n,i)=>ef(e,n,i),e.parseAsync=async(n,i)=>Xd(e,n,i,{callee:e.parseAsync}),e.safeParseAsync=async(n,i)=>tf(e,n,i),e.spa=e.safeParseAsync,e.encode=(n,i)=>rf(e,n,i),e.decode=(n,i)=>nf(e,n,i),e.encodeAsync=async(n,i)=>of(e,n,i),e.decodeAsync=async(n,i)=>af(e,n,i),e.safeEncode=(n,i)=>sf(e,n,i),e.safeDecode=(n,i)=>cf(e,n,i),e.safeEncodeAsync=async(n,i)=>uf(e,n,i),e.safeDecodeAsync=async(n,i)=>lf(e,n,i),e.refine=(n,i)=>e.check(em(n,i)),e.superRefine=n=>e.check(tm(n)),e.overwrite=n=>e.check(St(n)),e.optional=()=>Si(e),e.exactOptional=()=>zf(e),e.nullable=()=>Ti(e),e.nullish=()=>Si(Ti(e)),e.nonoptional=n=>Mf(e,n),e.array=()=>Oi(e),e.or=n=>Ja([e,n]),e.and=n=>Ef(e,n),e.transform=n=>$i(e,qa(n)),e.default=n=>Ff(e,n),e.prefault=n=>Vf(e,n),e.catch=n=>Bf(e,n),e.pipe=n=>$i(e,n),e.readonly=()=>qf(e),e.describe=n=>{let i=e.clone();return De.add(i,{description:n}),i},Object.defineProperty(e,"description",{get(){return De.get(e)?.description},configurable:!0}),e.meta=(...n)=>{if(n.length===0)return De.get(e);let i=e.clone();return De.add(i,n[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=n=>n(e),e)),Oa=v("_ZodString",(e,t)=>{mr.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>pd(e,i,r,o);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...i)=>e.check(qr(...i)),e.includes=(...i)=>e.check(Wr(...i)),e.startsWith=(...i)=>e.check(Hr(...i)),e.endsWith=(...i)=>e.check(Xr(...i)),e.min=(...i)=>e.check(Ut(...i)),e.max=(...i)=>e.check(gr(...i)),e.length=(...i)=>e.check(yr(...i)),e.nonempty=(...i)=>e.check(Ut(1,...i)),e.lowercase=i=>e.check(Yr(i)),e.uppercase=i=>e.check(Kr(i)),e.trim=()=>e.check(rn()),e.normalize=(...i)=>e.check(tn(...i)),e.toLowerCase=()=>e.check(nn()),e.toUpperCase=()=>e.check(on()),e.slugify=()=>e.check(an())}),pn=v("ZodString",(e,t)=>{mr.init(e,t),Oa.init(e,t),e.email=n=>e.check(Go(wa,n)),e.url=n=>e.check(xi(Ii,n)),e.jwt=n=>e.check(ua(Za,n)),e.emoji=n=>e.check(Yo(Na,n)),e.guid=n=>e.check(vi(_i,n)),e.uuid=n=>e.check(Bo(Dt,n)),e.uuidv4=n=>e.check(Jo(Dt,n)),e.uuidv6=n=>e.check(Qo(Dt,n)),e.uuidv7=n=>e.check(qo(Dt,n)),e.nanoid=n=>e.check(Ko(ka,n)),e.guid=n=>e.check(vi(_i,n)),e.cuid=n=>e.check(Wo(Da,n)),e.cuid2=n=>e.check(Ho(Ra,n)),e.ulid=n=>e.check(Xo(Aa,n)),e.base64=n=>e.check(aa(Ca,n)),e.base64url=n=>e.check(sa(Va,n)),e.xid=n=>e.check(ea(ja,n)),e.ksuid=n=>e.check(ta(La,n)),e.ipv4=n=>e.check(ra(za,n)),e.ipv6=n=>e.check(na(Pa,n)),e.cidrv4=n=>e.check(ia(Ua,n)),e.cidrv6=n=>e.check(oa(Fa,n)),e.e164=n=>e.check(ca(Ma,n)),e.datetime=n=>e.check(qd(n)),e.date=n=>e.check(Yd(n)),e.time=n=>e.check(Kd(n)),e.duration=n=>e.check(Wd(n))});function Ia(e){return Ip(pn,e)}a(Ia,"string");var oe=v("ZodStringFormat",(e,t)=>{ie.init(e,t),Oa.init(e,t)}),wa=v("ZodEmail",(e,t)=>{$u.init(e,t),oe.init(e,t)});function Xg(e){return Go(wa,e)}a(Xg,"email");var _i=v("ZodGUID",(e,t)=>{Su.init(e,t),oe.init(e,t)});function ey(e){return vi(_i,e)}a(ey,"guid");var Dt=v("ZodUUID",(e,t)=>{Tu.init(e,t),oe.init(e,t)});function ty(e){return Bo(Dt,e)}a(ty,"uuid");function ry(e){return Jo(Dt,e)}a(ry,"uuidv4");function ny(e){return Qo(Dt,e)}a(ny,"uuidv6");function iy(e){return qo(Dt,e)}a(iy,"uuidv7");var Ii=v("ZodURL",(e,t)=>{Iu.init(e,t),oe.init(e,t)});function oy(e){return xi(Ii,e)}a(oy,"url");function ay(e){return xi(Ii,{protocol:/^https?$/,hostname:gt.domain,...O.normalizeParams(e)})}a(ay,"httpUrl");var Na=v("ZodEmoji",(e,t)=>{Eu.init(e,t),oe.init(e,t)});function sy(e){return Yo(Na,e)}a(sy,"emoji");var ka=v("ZodNanoID",(e,t)=>{Ou.init(e,t),oe.init(e,t)});function cy(e){return Ko(ka,e)}a(cy,"nanoid");var Da=v("ZodCUID",(e,t)=>{wu.init(e,t),oe.init(e,t)});function uy(e){return Wo(Da,e)}a(uy,"cuid");var Ra=v("ZodCUID2",(e,t)=>{Nu.init(e,t),oe.init(e,t)});function ly(e){return Ho(Ra,e)}a(ly,"cuid2");var Aa=v("ZodULID",(e,t)=>{ku.init(e,t),oe.init(e,t)});function py(e){return Xo(Aa,e)}a(py,"ulid");var ja=v("ZodXID",(e,t)=>{Du.init(e,t),oe.init(e,t)});function dy(e){return ea(ja,e)}a(dy,"xid");var La=v("ZodKSUID",(e,t)=>{Ru.init(e,t),oe.init(e,t)});function fy(e){return ta(La,e)}a(fy,"ksuid");var za=v("ZodIPv4",(e,t)=>{Pu.init(e,t),oe.init(e,t)});function my(e){return ra(za,e)}a(my,"ipv4");var pf=v("ZodMAC",(e,t)=>{Fu.init(e,t),oe.init(e,t)});function hy(e){return Op(pf,e)}a(hy,"mac");var Pa=v("ZodIPv6",(e,t)=>{Uu.init(e,t),oe.init(e,t)});function gy(e){return na(Pa,e)}a(gy,"ipv6");var Ua=v("ZodCIDRv4",(e,t)=>{Cu.init(e,t),oe.init(e,t)});function yy(e){return ia(Ua,e)}a(yy,"cidrv4");var Fa=v("ZodCIDRv6",(e,t)=>{Vu.init(e,t),oe.init(e,t)});function vy(e){return oa(Fa,e)}a(vy,"cidrv6");var Ca=v("ZodBase64",(e,t)=>{Zu.init(e,t),oe.init(e,t)});function xy(e){return aa(Ca,e)}a(xy,"base64");var Va=v("ZodBase64URL",(e,t)=>{Gu.init(e,t),oe.init(e,t)});function by(e){return sa(Va,e)}a(by,"base64url");var Ma=v("ZodE164",(e,t)=>{Bu.init(e,t),oe.init(e,t)});function _y(e){return ca(Ma,e)}a(_y,"e164");var Za=v("ZodJWT",(e,t)=>{Ju.init(e,t),oe.init(e,t)});function Sy(e){return ua(Za,e)}a(Sy,"jwt");var dn=v("ZodCustomStringFormat",(e,t)=>{Qu.init(e,t),oe.init(e,t)});function Ty(e,t,n={}){return sn(dn,e,t,n)}a(Ty,"stringFormat");function $y(e){return sn(dn,"hostname",gt.hostname,e)}a($y,"hostname");function Iy(e){return sn(dn,"hex",gt.hex,e)}a(Iy,"hex");function Ey(e,t){let n=t?.enc??"hex",i=`${e}_${n}`,r=gt[i];if(!r)throw new Error(`Unrecognized hash format: ${i}`);return sn(dn,i,r,t)}a(Ey,"hash");var fn=v("ZodNumber",(e,t)=>{Uo.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>dd(e,i,r,o),e.gt=(i,r)=>e.check(Nt(i,r)),e.gte=(i,r)=>e.check(Ve(i,r)),e.min=(i,r)=>e.check(Ve(i,r)),e.lt=(i,r)=>e.check(wt(i,r)),e.lte=(i,r)=>e.check(at(i,r)),e.max=(i,r)=>e.check(at(i,r)),e.int=i=>e.check(Ea(i)),e.safe=i=>e.check(Ea(i)),e.positive=i=>e.check(Nt(0,i)),e.nonnegative=i=>e.check(Ve(0,i)),e.negative=i=>e.check(wt(0,i)),e.nonpositive=i=>e.check(at(0,i)),e.multipleOf=(i,r)=>e.check(Wt(i,r)),e.step=(i,r)=>e.check(Wt(i,r)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function df(e){return Ap(fn,e)}a(df,"number");var xr=v("ZodNumberFormat",(e,t)=>{qu.init(e,t),fn.init(e,t)});function Ea(e){return Lp(xr,e)}a(Ea,"int");function Oy(e){return zp(xr,e)}a(Oy,"float32");function wy(e){return Pp(xr,e)}a(wy,"float64");function Ny(e){return Up(xr,e)}a(Ny,"int32");function ky(e){return Fp(xr,e)}a(ky,"uint32");var mn=v("ZodBoolean",(e,t)=>{li.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>fd(e,n,i,r)});function ff(e){return Cp(mn,e)}a(ff,"boolean");var hn=v("ZodBigInt",(e,t)=>{Fo.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>md(e,i,r,o),e.gte=(i,r)=>e.check(Ve(i,r)),e.min=(i,r)=>e.check(Ve(i,r)),e.gt=(i,r)=>e.check(Nt(i,r)),e.gte=(i,r)=>e.check(Ve(i,r)),e.min=(i,r)=>e.check(Ve(i,r)),e.lt=(i,r)=>e.check(wt(i,r)),e.lte=(i,r)=>e.check(at(i,r)),e.max=(i,r)=>e.check(at(i,r)),e.positive=i=>e.check(Nt(BigInt(0),i)),e.negative=i=>e.check(wt(BigInt(0),i)),e.nonpositive=i=>e.check(at(BigInt(0),i)),e.nonnegative=i=>e.check(Ve(BigInt(0),i)),e.multipleOf=(i,r)=>e.check(Wt(i,r));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function Dy(e){return Mp(hn,e)}a(Dy,"bigint");var Ga=v("ZodBigIntFormat",(e,t)=>{Yu.init(e,t),hn.init(e,t)});function Ry(e){return Gp(Ga,e)}a(Ry,"int64");function Ay(e){return Bp(Ga,e)}a(Ay,"uint64");var mf=v("ZodSymbol",(e,t)=>{Ku.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>hd(e,n,i,r)});function jy(e){return Jp(mf,e)}a(jy,"symbol");var hf=v("ZodUndefined",(e,t)=>{Wu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>yd(e,n,i,r)});function Ly(e){return Qp(hf,e)}a(Ly,"_undefined");var gf=v("ZodNull",(e,t)=>{Hu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>gd(e,n,i,r)});function yf(e){return qp(gf,e)}a(yf,"_null");var vf=v("ZodAny",(e,t)=>{Xu.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>bd(e,n,i,r)});function zy(){return Yp(vf)}a(zy,"any");var xf=v("ZodUnknown",(e,t)=>{el.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>_d(e,n,i,r)});function vr(){return Kp(xf)}a(vr,"unknown");var bf=v("ZodNever",(e,t)=>{tl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>xd(e,n,i,r)});function Ba(e){return Wp(bf,e)}a(Ba,"never");var _f=v("ZodVoid",(e,t)=>{rl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>vd(e,n,i,r)});function Py(e){return Hp(_f,e)}a(Py,"_void");var Ei=v("ZodDate",(e,t)=>{nl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>Sd(e,i,r,o),e.min=(i,r)=>e.check(Ve(i,r)),e.max=(i,r)=>e.check(at(i,r));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function Uy(e){return Xp(Ei,e)}a(Uy,"date");var Sf=v("ZodArray",(e,t)=>{il.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>jd(e,n,i,r),e.element=t.element,e.min=(n,i)=>e.check(Ut(n,i)),e.nonempty=n=>e.check(Ut(1,n)),e.max=(n,i)=>e.check(gr(n,i)),e.length=(n,i)=>e.check(yr(n,i)),e.unwrap=()=>e.element});function Oi(e,t){return rd(Sf,e,t)}a(Oi,"array");function Fy(e){let t=e._zod.def.shape;return Qa(Object.keys(t))}a(Fy,"keyof");var wi=v("ZodObject",(e,t)=>{ol.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ld(e,n,i,r),O.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>Qa(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone({...e._zod.def,catchall:n}),e.passthrough=()=>e.clone({...e._zod.def,catchall:vr()}),e.loose=()=>e.clone({...e._zod.def,catchall:vr()}),e.strict=()=>e.clone({...e._zod.def,catchall:Ba()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=n=>O.extend(e,n),e.safeExtend=n=>O.safeExtend(e,n),e.merge=n=>O.merge(e,n),e.pick=n=>O.pick(e,n),e.omit=n=>O.omit(e,n),e.partial=(...n)=>O.partial(Ya,e,n[0]),e.required=(...n)=>O.required(Ka,e,n[0])});function Cy(e,t){let n={type:"object",shape:e??{},...O.normalizeParams(t)};return new wi(n)}a(Cy,"object");function Vy(e,t){return new wi({type:"object",shape:e,catchall:Ba(),...O.normalizeParams(t)})}a(Vy,"strictObject");function My(e,t){return new wi({type:"object",shape:e,catchall:vr(),...O.normalizeParams(t)})}a(My,"looseObject");var Ni=v("ZodUnion",(e,t)=>{pi.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ga(e,n,i,r),e.options=t.options});function Ja(e,t){return new Ni({type:"union",options:e,...O.normalizeParams(t)})}a(Ja,"union");var Tf=v("ZodXor",(e,t)=>{Ni.init(e,t),al.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ga(e,n,i,r),e.options=t.options});function Zy(e,t){return new Tf({type:"union",options:e,inclusive:!1,...O.normalizeParams(t)})}a(Zy,"xor");var $f=v("ZodDiscriminatedUnion",(e,t)=>{Ni.init(e,t),sl.init(e,t)});function Gy(e,t,n){return new $f({type:"union",options:t,discriminator:e,...O.normalizeParams(n)})}a(Gy,"discriminatedUnion");var If=v("ZodIntersection",(e,t)=>{cl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>zd(e,n,i,r)});function Ef(e,t){return new If({type:"intersection",left:e,right:t})}a(Ef,"intersection");var Of=v("ZodTuple",(e,t)=>{Co.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Pd(e,n,i,r),e.rest=n=>e.clone({...e._zod.def,rest:n})});function wf(e,t,n){let i=t instanceof B,r=i?n:t,o=i?t:null;return new Of({type:"tuple",items:e,rest:o,...O.normalizeParams(r)})}a(wf,"tuple");var ki=v("ZodRecord",(e,t)=>{ul.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ud(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType});function Nf(e,t,n){return new ki({type:"record",keyType:e,valueType:t,...O.normalizeParams(n)})}a(Nf,"record");function By(e,t,n){let i=Ce(e);return i._zod.values=void 0,new ki({type:"record",keyType:i,valueType:t,...O.normalizeParams(n)})}a(By,"partialRecord");function Jy(e,t,n){return new ki({type:"record",keyType:e,valueType:t,mode:"loose",...O.normalizeParams(n)})}a(Jy,"looseRecord");var kf=v("ZodMap",(e,t)=>{ll.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Rd(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(kt(...n)),e.nonempty=n=>e.check(kt(1,n)),e.max=(...n)=>e.check(Ht(...n)),e.size=(...n)=>e.check(hr(...n))});function Qy(e,t,n){return new kf({type:"map",keyType:e,valueType:t,...O.normalizeParams(n)})}a(Qy,"map");var Df=v("ZodSet",(e,t)=>{pl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ad(e,n,i,r),e.min=(...n)=>e.check(kt(...n)),e.nonempty=n=>e.check(kt(1,n)),e.max=(...n)=>e.check(Ht(...n)),e.size=(...n)=>e.check(hr(...n))});function qy(e,t){return new Df({type:"set",valueType:e,...O.normalizeParams(t)})}a(qy,"set");var ln=v("ZodEnum",(e,t)=>{dl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(i,r,o)=>Td(e,i,r,o),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(i,r)=>{let o={};for(let s of i)if(n.has(s))o[s]=t.entries[s];else throw new Error(`Key ${s} not found in enum`);return new ln({...t,checks:[],...O.normalizeParams(r),entries:o})},e.exclude=(i,r)=>{let o={...t.entries};for(let s of i)if(n.has(s))delete o[s];else throw new Error(`Key ${s} not found in enum`);return new ln({...t,checks:[],...O.normalizeParams(r),entries:o})}});function Qa(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new ln({type:"enum",entries:n,...O.normalizeParams(t)})}a(Qa,"_enum");function Yy(e,t){return new ln({type:"enum",entries:e,...O.normalizeParams(t)})}a(Yy,"nativeEnum");var Rf=v("ZodLiteral",(e,t)=>{fl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>$d(e,n,i,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ky(e,t){return new Rf({type:"literal",values:Array.isArray(e)?e:[e],...O.normalizeParams(t)})}a(Ky,"literal");var Af=v("ZodFile",(e,t)=>{ml.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Od(e,n,i,r),e.min=(n,i)=>e.check(kt(n,i)),e.max=(n,i)=>e.check(Ht(n,i)),e.mime=(n,i)=>e.check(en(Array.isArray(n)?n:[n],i))});function Wy(e){return nd(Af,e)}a(Wy,"file");var jf=v("ZodTransform",(e,t)=>{hl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Dd(e,n,i,r),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Jt(e.constructor.name);n.addIssue=o=>{if(typeof o=="string")n.issues.push(O.issue(o,n.value,t));else{let s=o;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),s.input??(s.input=n.value),s.inst??(s.inst=e),n.issues.push(O.issue(s))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(o=>(n.value=o,n)):(n.value=r,n)}});function qa(e){return new jf({type:"transform",transform:e})}a(qa,"transform");var Ya=v("ZodOptional",(e,t)=>{Vo.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ya(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Si(e){return new Ya({type:"optional",innerType:e})}a(Si,"optional");var Lf=v("ZodExactOptional",(e,t)=>{gl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ya(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function zf(e){return new Lf({type:"optional",innerType:e})}a(zf,"exactOptional");var Pf=v("ZodNullable",(e,t)=>{yl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Fd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Ti(e){return new Pf({type:"nullable",innerType:e})}a(Ti,"nullable");function Hy(e){return Si(Ti(e))}a(Hy,"nullish");var Uf=v("ZodDefault",(e,t)=>{vl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Vd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Ff(e,t){return new Uf({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():O.shallowClone(t)}})}a(Ff,"_default");var Cf=v("ZodPrefault",(e,t)=>{xl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Md(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Vf(e,t){return new Cf({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():O.shallowClone(t)}})}a(Vf,"prefault");var Ka=v("ZodNonOptional",(e,t)=>{bl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Cd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Mf(e,t){return new Ka({type:"nonoptional",innerType:e,...O.normalizeParams(t)})}a(Mf,"nonoptional");var Zf=v("ZodSuccess",(e,t)=>{_l.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>wd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Xy(e){return new Zf({type:"success",innerType:e})}a(Xy,"success");var Gf=v("ZodCatch",(e,t)=>{Sl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Zd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Bf(e,t){return new Gf({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}a(Bf,"_catch");var Jf=v("ZodNaN",(e,t)=>{Tl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Id(e,n,i,r)});function ev(e){return td(Jf,e)}a(ev,"nan");var Wa=v("ZodPipe",(e,t)=>{$l.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Gd(e,n,i,r),e.in=t.in,e.out=t.out});function $i(e,t){return new Wa({type:"pipe",in:e,out:t})}a($i,"pipe");var Ha=v("ZodCodec",(e,t)=>{Wa.init(e,t),di.init(e,t)});function tv(e,t,n){return new Ha({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}a(tv,"codec");var Qf=v("ZodReadonly",(e,t)=>{Il.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Bd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function qf(e){return new Qf({type:"readonly",innerType:e})}a(qf,"readonly");var Yf=v("ZodTemplateLiteral",(e,t)=>{El.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ed(e,n,i,r)});function rv(e,t){return new Yf({type:"template_literal",parts:e,...O.normalizeParams(t)})}a(rv,"templateLiteral");var Kf=v("ZodLazy",(e,t)=>{Nl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Qd(e,n,i,r),e.unwrap=()=>e._zod.def.getter()});function Wf(e){return new Kf({type:"lazy",getter:e})}a(Wf,"lazy");var Hf=v("ZodPromise",(e,t)=>{wl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Jd(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function nv(e){return new Hf({type:"promise",innerType:e})}a(nv,"promise");var Xf=v("ZodFunction",(e,t)=>{Ol.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>kd(e,n,i,r)});function iv(e){return new Xf({type:"function",input:Array.isArray(e?.input)?wf(e?.input):e?.input??Oi(vr()),output:e?.output??vr()})}a(iv,"_function");var Di=v("ZodCustom",(e,t)=>{kl.init(e,t),Y.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Nd(e,n,i,r)});function ov(e){let t=new se({check:"custom"});return t._zod.check=e,t}a(ov,"check");function av(e,t){return id(Di,e??(()=>!0),t)}a(av,"custom");function em(e,t={}){return od(Di,e,t)}a(em,"refine");function tm(e){return ad(e)}a(tm,"superRefine");var sv=sd,cv=cd;function uv(e,t={}){let n=new Di({type:"custom",check:"custom",fn:a(i=>i instanceof e,"fn"),abort:!0,...O.normalizeParams(t)});return n._zod.bag.Class=e,n._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:n,path:[...n._zod.def.path??[]]})},n}a(uv,"_instanceof");var lv=a((...e)=>ud({Codec:Ha,Boolean:mn,String:pn},...e),"stringbool");function pv(e){let t=Wf(()=>Ja([Ia(e),df(),ff(),yf(),Oi(t),Nf(Ia(),t)]));return t}a(pv,"json");function dv(e,t){return $i(qa(e),t)}a(dv,"preprocess");var BT={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function JT(e){me({customError:e})}a(JT,"setErrorMap");function QT(){return me().customError}a(QT,"getErrorMap");var rm;rm||(rm={});var k={...bi,...ba,iso:un},qT=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function YT(e,t){let n=e.$schema;return n==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":n==="http://json-schema.org/draft-07/schema#"?"draft-7":n==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}a(YT,"detectVersion");function KT(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let n=e.slice(1).split("/").filter(Boolean);if(n.length===0)return t.rootSchema;let i=t.version==="draft-2020-12"?"$defs":"definitions";if(n[0]===i){let r=n[1];if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`);return t.defs[r]}throw new Error(`Reference not found: ${e}`)}a(KT,"resolveRef");function fv(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return k.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let r=e.$ref;if(t.refs.has(r))return t.refs.get(r);if(t.processing.has(r))return k.lazy(()=>{if(!t.refs.has(r))throw new Error(`Circular reference not resolved: ${r}`);return t.refs.get(r)});t.processing.add(r);let o=KT(r,t),s=je(o,t);return t.refs.set(r,s),t.processing.delete(r),s}if(e.enum!==void 0){let r=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&r.length===1&&r[0]===null)return k.null();if(r.length===0)return k.never();if(r.length===1)return k.literal(r[0]);if(r.every(s=>typeof s=="string"))return k.enum(r);let o=r.map(s=>k.literal(s));return o.length<2?o[0]:k.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return k.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(o=>{let s={...e,type:o};return fv(s,t)});return r.length===0?k.never():r.length===1?r[0]:k.union(r)}if(!n)return k.any();let i;switch(n){case"string":{let r=k.string();if(e.format){let o=e.format;o==="email"?r=r.check(k.email()):o==="uri"||o==="uri-reference"?r=r.check(k.url()):o==="uuid"||o==="guid"?r=r.check(k.uuid()):o==="date-time"?r=r.check(k.iso.datetime()):o==="date"?r=r.check(k.iso.date()):o==="time"?r=r.check(k.iso.time()):o==="duration"?r=r.check(k.iso.duration()):o==="ipv4"?r=r.check(k.ipv4()):o==="ipv6"?r=r.check(k.ipv6()):o==="mac"?r=r.check(k.mac()):o==="cidr"?r=r.check(k.cidrv4()):o==="cidr-v6"?r=r.check(k.cidrv6()):o==="base64"?r=r.check(k.base64()):o==="base64url"?r=r.check(k.base64url()):o==="e164"?r=r.check(k.e164()):o==="jwt"?r=r.check(k.jwt()):o==="emoji"?r=r.check(k.emoji()):o==="nanoid"?r=r.check(k.nanoid()):o==="cuid"?r=r.check(k.cuid()):o==="cuid2"?r=r.check(k.cuid2()):o==="ulid"?r=r.check(k.ulid()):o==="xid"?r=r.check(k.xid()):o==="ksuid"&&(r=r.check(k.ksuid()))}typeof e.minLength=="number"&&(r=r.min(e.minLength)),typeof e.maxLength=="number"&&(r=r.max(e.maxLength)),e.pattern&&(r=r.regex(new RegExp(e.pattern))),i=r;break}case"number":case"integer":{let r=n==="integer"?k.number().int():k.number();typeof e.minimum=="number"&&(r=r.min(e.minimum)),typeof e.maximum=="number"&&(r=r.max(e.maximum)),typeof e.exclusiveMinimum=="number"?r=r.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(r=r.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?r=r.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(r=r.lt(e.maximum)),typeof e.multipleOf=="number"&&(r=r.multipleOf(e.multipleOf)),i=r;break}case"boolean":{i=k.boolean();break}case"null":{i=k.null();break}case"object":{let r={},o=e.properties||{},s=new Set(e.required||[]);for(let[u,l]of Object.entries(o)){let p=je(l,t);r[u]=s.has(u)?p:p.optional()}if(e.propertyNames){let u=je(e.propertyNames,t),l=e.additionalProperties&&typeof e.additionalProperties=="object"?je(e.additionalProperties,t):k.any();if(Object.keys(r).length===0){i=k.record(u,l);break}let p=k.object(r).passthrough(),d=k.looseRecord(u,l);i=k.intersection(p,d);break}if(e.patternProperties){let u=e.patternProperties,l=Object.keys(u),p=[];for(let m of l){let g=je(u[m],t),y=k.string().regex(new RegExp(m));p.push(k.looseRecord(y,g))}let d=[];if(Object.keys(r).length>0&&d.push(k.object(r).passthrough()),d.push(...p),d.length===0)i=k.object({}).passthrough();else if(d.length===1)i=d[0];else{let m=k.intersection(d[0],d[1]);for(let g=2;g<d.length;g++)m=k.intersection(m,d[g]);i=m}break}let c=k.object(r);e.additionalProperties===!1?i=c.strict():typeof e.additionalProperties=="object"?i=c.catchall(je(e.additionalProperties,t)):i=c.passthrough();break}case"array":{let r=e.prefixItems,o=e.items;if(r&&Array.isArray(r)){let s=r.map(u=>je(u,t)),c=o&&typeof o=="object"&&!Array.isArray(o)?je(o,t):void 0;c?i=k.tuple(s).rest(c):i=k.tuple(s),typeof e.minItems=="number"&&(i=i.check(k.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(k.maxLength(e.maxItems)))}else if(Array.isArray(o)){let s=o.map(u=>je(u,t)),c=e.additionalItems&&typeof e.additionalItems=="object"?je(e.additionalItems,t):void 0;c?i=k.tuple(s).rest(c):i=k.tuple(s),typeof e.minItems=="number"&&(i=i.check(k.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(k.maxLength(e.maxItems)))}else if(o!==void 0){let s=je(o,t),c=k.array(s);typeof e.minItems=="number"&&(c=c.min(e.minItems)),typeof e.maxItems=="number"&&(c=c.max(e.maxItems)),i=c}else i=k.array(k.any());break}default:throw new Error(`Unsupported type: ${n}`)}return e.description&&(i=i.describe(e.description)),e.default!==void 0&&(i=i.default(e.default)),i}a(fv,"convertBaseSchema");function je(e,t){if(typeof e=="boolean")return e?k.any():k.never();let n=fv(e,t),i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let c=e.anyOf.map(l=>je(l,t)),u=k.union(c);n=i?k.intersection(n,u):u}if(e.oneOf&&Array.isArray(e.oneOf)){let c=e.oneOf.map(l=>je(l,t)),u=k.xor(c);n=i?k.intersection(n,u):u}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=i?n:k.any();else{let c=i?n:je(e.allOf[0],t),u=i?0:1;for(let l=u;l<e.allOf.length;l++)c=k.intersection(c,je(e.allOf[l],t));n=c}e.nullable===!0&&t.version==="openapi-3.0"&&(n=k.nullable(n)),e.readOnly===!0&&(n=k.readonly(n));let r={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let c of o)c in e&&(r[c]=e[c]);let s=["contentEncoding","contentMediaType","contentSchema"];for(let c of s)c in e&&(r[c]=e[c]);for(let c of Object.keys(e))qT.has(c)||(r[c]=e[c]);return Object.keys(r).length>0&&t.registry.add(n,r),n}a(je,"convertSchema");function mv(e,t){if(typeof e=="boolean")return e?k.any():k.never();let n=YT(e,t?.defaultTarget),i=e.$defs||e.definitions||{},r={version:n,defs:i,refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??De};return je(e,r)}a(mv,"fromJSONSchema");var nm={};Ot(nm,{bigint:()=>e$,boolean:()=>XT,date:()=>t$,number:()=>HT,string:()=>WT});function WT(e){return Ep(pn,e)}a(WT,"string");function HT(e){return jp(fn,e)}a(HT,"number");function XT(e){return Vp(mn,e)}a(XT,"boolean");function e$(e){return Zp(hn,e)}a(e$,"bigint");function t$(e){return ed(Ei,e)}a(t$,"date");me(fi());me({jitless:!0});function Ct(e){try{return JSON.parse(e),e.replaceAll(/"(?:\\.|[^"\\])*"/gu,r$)}catch{return im(e)}}a(Ct,"redactDiagnostic");function r$(e){let t=JSON.parse(e);if(typeof t!="string")throw new TypeError("diagnostic JSON token is not a string");return JSON.stringify(im(t))}a(r$,"redactJsonString");function im(e){return e.replaceAll(/\b[a-z][a-z\d+.-]*:\/\/\S+/giu,n$)}a(im,"redactUrls");function n$(e){try{let t=e.indexOf("://")+3,n=im(e.slice(t)),i=new URL(`${e.slice(0,t)}${n}`),r=i.username.length>0||i.password.length>0?"[redacted]@":"",o=i.search.length>0?"?[redacted]":"",s=i.hash.length>0?"#[redacted]":"";return`${i.protocol}//${r}${i.host}${i.pathname}${o}${s}`}catch{return"[redacted-url]"}}a(n$,"redactUrl");function hv(e){return e instanceof AggregateError?Ri({cause:e.cause,errors:e.errors}):e.cause==null?null:Ri(e.cause)}a(hv,"errorCause");function gv(e){if(!("code"in e))return null;let t=f.union([f.string(),f.number()]).safeParse(e.code);return t.success?Ct(String(t.data)):Ri(e.code)}a(gv,"errorCode");function Ri(e){let t=new WeakSet;try{let n=i$(e,(i,r)=>r==null||typeof r!="object"?o$(r):t.has(r)?"[circular]":(t.add(r),r instanceof Error?a$(r):r));return Ct(n??String(e))}catch(n){let i=n instanceof Error?`${n.name}: ${n.message}`:String(n);return Ct(`${String(e)} | serialization-error: ${i}`)}}a(Ri,"describeThrownValue");function i$(e,t){return JSON.stringify(e,t)}a(i$,"stringifyUnknown");function o$(e){return typeof e=="string"?Ct(e):typeof e=="bigint"||typeof e=="function"||typeof e=="symbol"||e===void 0?String(e):e}a(o$,"scalarValue");function a$(e){let t={cause:e.cause,code:"code"in e?e.code:void 0,message:e.message,name:e.name};return e instanceof AggregateError?{...t,errors:e.errors}:t}a(a$,"errorDetails");var om=f.discriminatedUnion("kind",[f.strictObject({cause:f.string().nullable(),code:f.string().nullable(),kind:f.literal("error"),message:f.string(),name:f.string(),stack:f.string().nullable()}),f.strictObject({kind:f.literal("non-error"),type:f.enum(["bigint","boolean","function","null","number","object","string","symbol","undefined"]),value:f.string()})]);function Ai(e){return e instanceof Error?{cause:hv(e),code:gv(e),kind:"error",message:Ct(e.message),name:Ct(e.name),stack:e.stack==null?null:Ct(e.stack)}:{kind:"non-error",type:s$(e),value:Ri(e)}}a(Ai,"serializeThrown");function s$(e){return e===null?"null":typeof e}a(s$,"thrownType");var ji=f.union([f.string(),f.number(),f.boolean()]),c$=f.union([ji,f.null()]),u$=f.object({by:f.literal("role"),name:f.union([f.string(),f.undefined()]).optional().transform(e=>e),role:f.string().min(1)}),l$=f.object({by:f.literal("testId"),value:f.string()}),p$=f.object({by:f.literal("inside"),scope:f.lazy(()=>br),target:f.lazy(()=>br)}),d$=f.object({by:f.literal("surface"),container:f.lazy(()=>br),overlay:f.boolean()}),f$=f.object({by:f.literal("frame"),element:f.lazy(()=>br)}),br=f.discriminatedUnion("by",[u$,l$,f.object({by:f.literal("element"),name:f.string().min(1),values:f.record(f.string().min(1),ji)}),p$,d$,f$]),m$=f.enum(["mobile","desktop"]);var h$=f.union([f.string(),f.number(),f.boolean(),f.null()]),yt=f.json(),_r=f.record(f.string(),yt);function st(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)}a(st,"isJsonObject");var yD=f.enum(["observed","setup"]);var ct=f.string().regex(/^[A-Za-z_]\w*\.[A-Za-z_]\w*$/u).brand("SchemaOperationId"),sm=f.enum(["actor","setup"]),am=f.discriminatedUnion("kind",[f.strictObject({arguments:f.record(f.string(),yt),kind:f.literal("missing"),operation:ct}),f.strictObject({issues:f.array(f.string()),kind:f.literal("invalid-output"),operation:ct}),f.strictObject({kind:f.literal("execution-failed"),message:f.string(),operation:ct})]),Li=f.tuple([am]).rest(am).readonly();var cm="SchemaBindingError",um="SchemaSetupBindingError";var yv=f.strictObject({issue:f.string().min(1),reader:ct,step:ct}),lm=f.array(yv).min(1),g$=f.enum(["unwritten","written"]),pm="SchemaReadFailureError";var y$=f.object({actual:f.string(),expected:f.string(),log:f.array(f.string()),name:f.string(),timeoutMs:f.number().int().nullable()}),v$=f.object({label:f.string().min(1),role:f.string().min(1)}),x$=3;var Xa=f.object({ancestors:f.array(v$).max(x$),name:f.string().nullable(),role:f.string().nullable(),tag:f.string(),visible:f.boolean()}),gn={expectedRole:f.string().nullable()},b$=f.object({description:f.string(),name:f.string()}),dm={...gn,description:f.string(),element:b$.optional()},vv=f.discriminatedUnion("kind",[f.object({...dm,issues:f.array(f.string()),kind:f.literal("binding-values-invalid")}),f.object({...dm,kind:f.literal("binding-missed"),locator:br,matched:f.enum(["none","several"]).optional()}),f.object({...dm,aliasOf:f.string().min(1),kind:f.literal("binding-alias")})]),ED=new Set(vv.options.map(e=>e.shape.kind.value));var _$=f.discriminatedUnion("kind",[...vv.options,f.object({...gn,kind:f.literal("absent")}),f.object({...gn,kind:f.literal("hidden"),matches:f.array(Xa).min(1)}),f.object({...gn,kind:f.literal("ambiguous"),matches:f.array(Xa).min(2)}),f.object({...gn,kind:f.literal("text-elsewhere"),match:Xa,partial:f.boolean()}),f.object({...gn,actualName:f.string(),kind:f.literal("name-differs"),match:Xa})]),fm=f.object({ariaSnapshot:f.string().nullable(),matcher:y$.nullable(),message:f.string(),miss:_$.nullable()});var mm=f.enum(["create-session","teardown"]),S$=f.enum(["unconfigured","navigate","not-signed-in","ticket-rejected"]),es=f.enum(["create","read","setup"]),T$=f.discriminatedUnion("kind",[f.object({kind:f.literal("field"),name:f.string()}),f.object({kind:f.literal("record-entry")}),f.object({kind:f.literal("array-entry")})]),$$=f.object({issues:f.array(f.object({branches:f.array(f.number().int().nonnegative()),code:f.enum(["invalid_type","too_big","too_small","invalid_format","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","invalid_value","custom"]),path:f.array(f.union([f.string(),f.number()])),schemaPath:f.array(T$)})).min(1),schemaHash:f.string()}),yn=f.discriminatedUnion("kind",[f.strictObject({kind:f.literal("network")}),f.strictObject({kind:f.literal("http"),status:f.number().int()}),f.strictObject({kind:f.literal("not-json")})]);function hm(e){switch(e.kind){case"network":return!0;case"http":return e.status>=I$;case"not-json":return!1}}a(hm,"isTransientReadFailure");var I$=500,xv=[f.object({kind:f.literal("definition-failed"),message:f.string()}),f.object({detail:f.string(),kind:f.literal("authentication-http"),operation:mm,status:f.number().int()}),f.object({code:f.string().nullable(),kind:f.literal("authentication-network"),message:f.string(),operation:mm}),f.object({kind:f.literal("app-not-ready"),timeoutMs:f.number().int()}),f.object({kind:f.literal("authentication-response"),message:f.string(),operation:mm}),f.object({detail:f.string(),kind:f.literal("sign-in-failed"),stage:S$}),f.object({diagnostic:f.string().optional(),kind:f.literal("binding-failed"),message:f.string(),operation:es,validation:$$.optional()}),f.object({failure:yn,kind:f.literal("binding-read-failed"),operation:es}),f.object({kind:f.literal("binding-timed-out"),operation:es,timeoutMs:f.number().int().nonnegative()}),f.object({kind:f.literal("binding-not-mounted"),operation:es,source:f.string()}),f.object({failures:Li,kind:f.literal("implementation-failed")}),f.object({effects:lm,kind:f.literal("setup-effect-missing")}),f.object({kind:f.literal("driver-launch"),message:f.string()}),f.object({kind:f.literal("run-failed"),message:f.string()}),f.object({kind:f.literal("aborted")})],RD=f.discriminatedUnion("kind",[...xv]),E$=f.discriminatedUnion("kind",[...xv,f.object({action:f.string(),failure:fm,kind:f.literal("action-failed")}),f.object({failure:fm,kind:f.literal("check-failed")})]);var vn=f.strictObject({id:f.string().min(1),token:f.string().min(1)});var gm="ripplo:schema-query",O$=f.discriminatedUnion("kind",[f.strictObject({kind:f.literal("started"),operation:ct,token:vn.shape.token}),f.strictObject({durationMs:f.number().nonnegative().optional(),kind:f.literal("returned"),operation:ct,token:vn.shape.token})]);function w$(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"&&"BYTES_PER_ELEMENT"in e&&e.BYTES_PER_ELEMENT===1}a(w$,"isBytes");function ts(e,t,n=""){let i=w$(e),r=e?.length,o=t!==void 0;if(!i||o&&r!==t){let s=n&&`"${n}" `,c=o?` of length ${t}`:"",u=i?`length=${r}`:`type=${typeof e}`,l=s+"expected Uint8Array"+c+", got "+u;throw i?new RangeError(l):new TypeError(l)}return e}a(ts,"abytes");function ym(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}a(ym,"aexists");function bv(e,t){ts(e,void 0,"digestInto() output");let n=t.outputLen;if(e.length<n)throw new RangeError('"digestInto() output" expected to be of length >='+n)}a(bv,"aoutput");function zi(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}a(zi,"clean");function rs(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}a(rs,"createView");function Tt(e,t){return e<<32-t|e>>>t}a(Tt,"rotr");var N$=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",k$=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function _v(e){if(ts(e),N$)return e.toHex();let t="";for(let n=0;n<e.length;n++)t+=k$[e[n]];return t}a(_v,"bytesToHex");function Sv(e){if(typeof e!="string")throw new TypeError("string expected");return new Uint8Array(new TextEncoder().encode(e))}a(Sv,"utf8ToBytes");function Tv(e,t={}){let n=a((r,o)=>e(o).update(r).digest(),"hashC"),i=e(void 0);return n.outputLen=i.outputLen,n.blockLen=i.blockLen,n.canXOF=i.canXOF,n.create=r=>e(r),Object.assign(n,t),Object.freeze(n)}a(Tv,"createHasher");var $v=a(e=>({oid:Uint8Array.from([6,9,96,134,72,1,101,3,4,2,e])}),"oidNist");function Iv(e,t,n){return e&t^~e&n}a(Iv,"Chi");function Ev(e,t,n){return e&t^e&n^t&n}a(Ev,"Maj");var ns=class{static{a(this,"HashMD")}blockLen;outputLen;canXOF=!1;padOffset;isLE;buffer;view;finished=!1;length=0;pos=0;destroyed=!1;constructor(t,n,i,r){this.blockLen=t,this.outputLen=n,this.padOffset=i,this.isLE=r,this.buffer=new Uint8Array(t),this.view=rs(this.buffer)}update(t){ym(this),ts(t);let{view:n,buffer:i,blockLen:r}=this,o=t.length;for(let s=0;s<o;){let c=Math.min(r-this.pos,o-s);if(c===r){let u=rs(t);for(;r<=o-s;s+=r)this.process(u,s);continue}i.set(t.subarray(s,s+c),this.pos),this.pos+=c,s+=c,this.pos===r&&(this.process(n,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){ym(this),bv(t,this),this.finished=!0;let{buffer:n,view:i,blockLen:r,isLE:o}=this,{pos:s}=this;n[s++]=128,zi(this.buffer.subarray(s)),this.padOffset>r-s&&(this.process(i,0),s=0);for(let d=s;d<r;d++)n[d]=0;i.setBigUint64(r-8,BigInt(this.length*8),o),this.process(i,0);let c=rs(t),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen must be aligned to 32bit");let l=u/4,p=this.get();if(l>p.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;d<l;d++)c.setUint32(4*d,p[d],o)}digest(){let{buffer:t,outputLen:n}=this;this.digestInto(t);let i=t.slice(0,n);return this.destroy(),i}_cloneInto(t){t||=new this.constructor,t.set(...this.get());let{blockLen:n,buffer:i,length:r,finished:o,destroyed:s,pos:c}=this;return t.destroyed=s,t.finished=o,t.length=r,t.pos=c,r%n&&t.buffer.set(i),t}clone(){return this._cloneInto()}},Vt=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]);var D$=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),rr=new Uint32Array(64),vm=class extends ns{static{a(this,"SHA2_32B")}constructor(t){super(64,t,8,!1)}get(){let{A:t,B:n,C:i,D:r,E:o,F:s,G:c,H:u}=this;return[t,n,i,r,o,s,c,u]}set(t,n,i,r,o,s,c,u){this.A=t|0,this.B=n|0,this.C=i|0,this.D=r|0,this.E=o|0,this.F=s|0,this.G=c|0,this.H=u|0}process(t,n){for(let d=0;d<16;d++,n+=4)rr[d]=t.getUint32(n,!1);for(let d=16;d<64;d++){let m=rr[d-15],g=rr[d-2],y=Tt(m,7)^Tt(m,18)^m>>>3,b=Tt(g,17)^Tt(g,19)^g>>>10;rr[d]=b+rr[d-7]+y+rr[d-16]|0}let{A:i,B:r,C:o,D:s,E:c,F:u,G:l,H:p}=this;for(let d=0;d<64;d++){let m=Tt(c,6)^Tt(c,11)^Tt(c,25),g=p+m+Iv(c,u,l)+D$[d]+rr[d]|0,b=(Tt(i,2)^Tt(i,13)^Tt(i,22))+Ev(i,r,o)|0;p=l,l=u,u=c,c=s+g|0,s=o,o=r,r=i,i=g+b|0}i=i+this.A|0,r=r+this.B|0,o=o+this.C|0,s=s+this.D|0,c=c+this.E|0,u=u+this.F|0,l=l+this.G|0,p=p+this.H|0,this.set(i,r,o,s,c,u,l,p)}roundClean(){zi(rr)}destroy(){this.destroyed=!0,this.set(0,0,0,0,0,0,0,0),zi(this.buffer)}},xm=class extends vm{static{a(this,"_SHA256")}A=Vt[0]|0;B=Vt[1]|0;C=Vt[2]|0;D=Vt[3]|0;E=Vt[4]|0;F=Vt[5]|0;G=Vt[6]|0;H=Vt[7]|0;constructor(){super(32)}};var Ov=Tv(()=>new xm,$v(1));var $m=yg(Dv(),1),tR=$m.default.configure,Rv=$m.default;var xn=jv(C$),F$=jv(e=>Av(Sv(xn(e))));function Av(e){return _v(Ov(e))}a(Av,"bytesHash");function jv(e){let t=new WeakMap;return n=>{if(n==null||typeof n!="object")return e(n);let i=t.get(n);if(i!=null)return i;let r=e(n);return t.set(n,r),r}}a(jv,"oncePerObject");function C$(e){let t=Rv(e,V$);if(t==null)throw new Error("structuralKey: value is not serializable");return t}a(C$,"computeKey");function V$(e,t){if(t instanceof Map||t instanceof Set)throw new TypeError(`structuralKey: opaque collection at "${e}" \u2014 expand it before keying`);return t}a(V$,"rejectOpaque");var Im="__ripplo_binding__";var M$={withStackTrace:!1},Pv=a((e,t,n=M$)=>{let i=t.isOk()?{type:"Ok",value:t.value}:{type:"Err",value:t.error},r=n.withStackTrace?new Error().stack:void 0;return{data:i,message:e,stack:r}},"createNeverThrowError");function $r(e,t,n,i){function r(o){return o instanceof n?o:new n(function(s){s(o)})}return a(r,"adopt"),new(n||(n=Promise))(function(o,s){function c(p){try{l(i.next(p))}catch(d){s(d)}}a(c,"fulfilled");function u(p){try{l(i.throw(p))}catch(d){s(d)}}a(u,"rejected");function l(p){p.done?o(p.value):r(p.value).then(c,u)}a(l,"step"),l((i=i.apply(e,t||[])).next())})}a($r,"__awaiter");function Lv(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:a(function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}},"next")};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}a(Lv,"__values");function Rt(e){return this instanceof Rt?(this.v=e,this):new Rt(e)}a(Rt,"__await");function zv(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(g){return function(y){return Promise.resolve(y).then(g,d)}}function c(g,y){i[g]&&(r[g]=function(b){return new Promise(function(N,L){o.push([g,b,N,L])>1||u(g,b)})},y&&(r[g]=y(r[g])))}function u(g,y){try{l(i[g](y))}catch(b){m(o[0][3],b)}}function l(g){g.value instanceof Rt?Promise.resolve(g.value.v).then(p,d):m(o[0][2],g)}function p(g){u("next",g)}function d(g){u("throw",g)}function m(g,y){g(y),o.shift(),o.length&&u(o[0][0],o[0][1])}}a(zv,"__asyncGenerator");function Z$(e){var t,n;return t={},i("next"),i("throw",function(r){throw r}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(r,o){t[r]=e[r]?function(s){return(n=!n)?{value:Rt(e[r](s)),done:!1}:o?o(s):s}:o}}a(Z$,"__asyncDelegator");function G$(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Lv=="function"?Lv(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(s){return new Promise(function(c,u){s=e[o](s),r(c,u,s.done,s.value)})}}function r(o,s,c,u){Promise.resolve(u).then(function(l){o({value:l,done:c})},s)}}a(G$,"__asyncValues");var Mt=class e{static{a(this,"ResultAsync")}constructor(t){this._promise=t}static fromSafePromise(t){let n=t.then(i=>new vt(i));return new e(n)}static fromPromise(t,n){let i=t.then(r=>new vt(r)).catch(r=>new ut(n(r)));return new e(i)}static fromThrowable(t,n){return(...i)=>new e($r(this,void 0,void 0,function*(){try{return new vt(yield t(...i))}catch(r){return new ut(n?n(r):r)}}))}static combine(t){return B$(t)}static combineWithAllErrors(t){return J$(t)}map(t){return new e(this._promise.then(n=>$r(this,void 0,void 0,function*(){return n.isErr()?new ut(n.error):new vt(yield t(n.value))})))}andThrough(t){return new e(this._promise.then(n=>$r(this,void 0,void 0,function*(){if(n.isErr())return new ut(n.error);let i=yield t(n.value);return i.isErr()?new ut(i.error):new vt(n.value)})))}andTee(t){return new e(this._promise.then(n=>$r(this,void 0,void 0,function*(){if(n.isErr())return new ut(n.error);try{yield t(n.value)}catch{}return new vt(n.value)})))}orTee(t){return new e(this._promise.then(n=>$r(this,void 0,void 0,function*(){if(n.isOk())return new vt(n.value);try{yield t(n.error)}catch{}return new ut(n.error)})))}mapErr(t){return new e(this._promise.then(n=>$r(this,void 0,void 0,function*(){return n.isOk()?new vt(n.value):new ut(yield t(n.error))})))}andThen(t){return new e(this._promise.then(n=>{if(n.isErr())return new ut(n.error);let i=t(n.value);return i instanceof e?i._promise:i}))}orElse(t){return new e(this._promise.then(n=>$r(this,void 0,void 0,function*(){return n.isErr()?t(n.error):new vt(n.value)})))}match(t,n){return this._promise.then(i=>i.match(t,n))}unwrapOr(t){return this._promise.then(n=>n.unwrapOr(t))}safeUnwrap(){return zv(this,arguments,a(function*(){return yield Rt(yield Rt(yield*Z$(G$(yield Rt(this._promise.then(n=>n.safeUnwrap()))))))},"safeUnwrap_1"))}then(t,n){return this._promise.then(t,n)}[Symbol.asyncIterator](){return zv(this,arguments,a(function*(){let n=yield Rt(this._promise);return n.isErr()&&(yield yield Rt(is(n.error))),yield Rt(n.value)},"_a"))}};function is(e){return new Mt(Promise.resolve(new ut(e)))}a(is,"errAsync");var uR=Mt.fromPromise,lR=Mt.fromSafePromise,pR=Mt.fromThrowable,Uv=a(e=>{let t=rt([]);for(let n of e)if(n.isErr()){t=Le(n.error);break}else t.map(i=>i.push(n.value));return t},"combineResultList"),B$=a(e=>Mt.fromSafePromise(Promise.all(e)).andThen(Uv),"combineResultAsyncList"),Fv=a(e=>{let t=rt([]);for(let n of e)n.isErr()&&t.isErr()?t.error.push(n.error):n.isErr()&&t.isOk()?t=Le([n.error]):n.isOk()&&t.isOk()&&t.value.push(n.value);return t},"combineResultListWithAllErrors"),J$=a(e=>Mt.fromSafePromise(Promise.all(e)).andThen(Fv),"combineResultAsyncListWithAllErrors"),Em;(function(e){function t(r,o){return(...s)=>{try{let c=r(...s);return rt(c)}catch(c){return Le(o?o(c):c)}}}a(t,"fromThrowable"),e.fromThrowable=t;function n(r){return Uv(r)}a(n,"combine"),e.combine=n;function i(r){return Fv(r)}a(i,"combineWithAllErrors"),e.combineWithAllErrors=i})(Em||(Em={}));function rt(e){return new vt(e)}a(rt,"ok");function Le(e){return new ut(e)}a(Le,"err");var vt=class{static{a(this,"Ok")}constructor(t){this.value=t}isOk(){return!0}isErr(){return!this.isOk()}map(t){return rt(t(this.value))}mapErr(t){return rt(this.value)}andThen(t){return t(this.value)}andThrough(t){return t(this.value).map(n=>this.value)}andTee(t){try{t(this.value)}catch{}return rt(this.value)}orTee(t){return rt(this.value)}orElse(t){return rt(this.value)}asyncAndThen(t){return t(this.value)}asyncAndThrough(t){return t(this.value).map(()=>this.value)}asyncMap(t){return Mt.fromSafePromise(t(this.value))}unwrapOr(t){return this.value}match(t,n){return t(this.value)}safeUnwrap(){let t=this.value;return(function*(){return t})()}_unsafeUnwrap(t){return this.value}_unsafeUnwrapErr(t){throw Pv("Called `_unsafeUnwrapErr` on an Ok",this,t)}*[Symbol.iterator](){return this.value}},ut=class{static{a(this,"Err")}constructor(t){this.error=t}isOk(){return!1}isErr(){return!this.isOk()}map(t){return Le(this.error)}mapErr(t){return Le(t(this.error))}andThrough(t){return Le(this.error)}andTee(t){return Le(this.error)}orTee(t){try{t(this.error)}catch{}return Le(this.error)}andThen(t){return Le(this.error)}orElse(t){return t(this.error)}asyncAndThen(t){return is(this.error)}asyncAndThrough(t){return is(this.error)}asyncMap(t){return is(this.error)}unwrapOr(t){return t}match(t,n){return n(this.error)}safeUnwrap(){let t=this.error;return(function*(){throw yield Le(t),new Error("Do not use this generator out of `safeTry`")})()}_unsafeUnwrap(t){throw Pv("Called `_unsafeUnwrap` on an Err",this,t)}_unsafeUnwrapErr(t){return this.error}*[Symbol.iterator](){let t=this;return yield t,t}},dR=Em.fromThrowable;var Om=Object.freeze({major:16,minor:13,patch:1,preReleaseTag:null});function Q(e,t){if(!!!e)throw new Error(t)}a(Q,"devAssert");function lt(e){return typeof e?.then=="function"}a(lt,"isPromise");function Oe(e){return typeof e=="object"&&e!==null}a(Oe,"isObjectLike");function ge(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}a(ge,"invariant");var Q$=/\r\n|[\n\r]/g;function bn(e,t){let n=0,i=1;for(let r of e.body.matchAll(Q$)){if(typeof r.index=="number"||ge(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}a(bn,"getLocation");function wm(e){return os(e.source,bn(e.source,e.start))}a(wm,"printLocation");function os(e,t){let n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,o=e.locationOffset.line-1,s=t.line+o,c=t.line===1?n:0,u=t.column+c,l=`${e.name}:${s}:${u}
59
+ `,p=i.split(/\r\n|[\n\r]/g),d=p[r];if(d.length>120){let m=Math.floor(u/80),g=u%80,y=[];for(let b=0;b<d.length;b+=80)y.push(d.slice(b,b+80));return l+Cv([[`${s} |`,y[0]],...y.slice(1,m+1).map(b=>["|",b]),["|","^".padStart(g)],["|",y[m+1]]])}return l+Cv([[`${s-1} |`,p[r-1]],[`${s} |`,d],["|","^".padStart(u)],[`${s+1} |`,p[r+1]]])}a(os,"printSourceLocation");function Cv(e){let t=e.filter(([i,r])=>r!==void 0),n=Math.max(...t.map(([i])=>i.length));return t.map(([i,r])=>i.padStart(n)+(r?" "+r:"")).join(`
60
+ `)}a(Cv,"printPrefixedLines");function q$(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}a(q$,"toNormalizedOptions");var x=class e extends Error{static{a(this,"GraphQLError")}constructor(t,...n){var i,r,o;let{nodes:s,source:c,positions:u,path:l,originalError:p,extensions:d}=q$(n);super(t),this.name="GraphQLError",this.path=l??void 0,this.originalError=p??void 0,this.nodes=Vv(Array.isArray(s)?s:s?[s]:void 0);let m=Vv((i=this.nodes)===null||i===void 0?void 0:i.map(y=>y.loc).filter(y=>y!=null));this.source=c??(m==null||(r=m[0])===null||r===void 0?void 0:r.source),this.positions=u??m?.map(y=>y.start),this.locations=u&&c?u.map(y=>bn(c,y)):m?.map(y=>bn(y.source,y.start));let g=Oe(p?.extensions)?p?.extensions:void 0;this.extensions=(o=d??g)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),p!=null&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=`
61
61
 
62
- `+vm(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=`
62
+ `+wm(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=`
63
63
 
64
- `+Xa(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function Tv(e){return e===void 0||e.length===0?void 0:e}a(Tv,"undefinedIfEmpty");function ve(e,t,n){return new b(`Syntax Error: ${n}`,{source:e,positions:[t]})}a(ve,"syntaxError");var Ai=class{static{a(this,"Location")}constructor(t,n,i){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},yn=class{static{a(this,"Token")}constructor(t,n,i,r,o,s){this.kind=t,this.start=n,this.end=i,this.line=r,this.column=o,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},zi={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},I$=new Set(Object.keys(zi));function Li(e){let t=e?.kind;return typeof t=="string"&&I$.has(t)}a(Li,"isNode");var he;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(he||(he={}));var C;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(C||(C={}));var h;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})(h||(h={}));function Ha(e){return e===9||e===32}a(Ha,"isWhiteSpace");function vn(e){return e>=48&&e<=57}a(vn,"isDigit");function $v(e){return e>=97&&e<=122||e>=65&&e<=90}a($v,"isLetter");function Pi(e){return $v(e)||e===95}a(Pi,"isNameStart");function es(e){return $v(e)||vn(e)||e===95}a(es,"isNameContinue");function Iv(e){var t;let n=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let s=0;s<e.length;++s){var o;let c=e[s],u=E$(c);u!==c.length&&(i=(o=i)!==null&&o!==void 0?o:s,r=s,s!==0&&u<n&&(n=u))}return e.map((s,c)=>c===0?s:s.slice(n)).slice((t=i)!==null&&t!==void 0?t:0,r+1)}a(Iv,"dedentBlockStringLines");function E$(e){let t=0;for(;t<e.length&&Ha(e.charCodeAt(t));)++t;return t}a(E$,"leadingWhitespace");function Ev(e,t){let n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),r=i.length===1,o=i.length>1&&i.slice(1).every(g=>g.length===0||Ha(g.charCodeAt(0))),s=n.endsWith('\\"""'),c=e.endsWith('"')&&!s,u=e.endsWith("\\"),l=c||u,p=!(t!=null&&t.minimize)&&(!r||e.length>70||l||o||s),d="",m=r&&Ha(e.charCodeAt(0));return(p&&!m||o)&&(d+=`
64
+ `+os(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function Vv(e){return e===void 0||e.length===0?void 0:e}a(Vv,"undefinedIfEmpty");function ve(e,t,n){return new x(`Syntax Error: ${n}`,{source:e,positions:[t]})}a(ve,"syntaxError");var Ui=class{static{a(this,"Location")}constructor(t,n,i){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},_n=class{static{a(this,"Token")}constructor(t,n,i,r,o,s){this.kind=t,this.start=n,this.end=i,this.line=r,this.column=o,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},Fi={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},Y$=new Set(Object.keys(Fi));function Ci(e){let t=e?.kind;return typeof t=="string"&&Y$.has(t)}a(Ci,"isNode");var he;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(he||(he={}));var C;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(C||(C={}));var h;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})(h||(h={}));function as(e){return e===9||e===32}a(as,"isWhiteSpace");function Sn(e){return e>=48&&e<=57}a(Sn,"isDigit");function Mv(e){return e>=97&&e<=122||e>=65&&e<=90}a(Mv,"isLetter");function Vi(e){return Mv(e)||e===95}a(Vi,"isNameStart");function ss(e){return Mv(e)||Sn(e)||e===95}a(ss,"isNameContinue");function Zv(e){var t;let n=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let s=0;s<e.length;++s){var o;let c=e[s],u=K$(c);u!==c.length&&(i=(o=i)!==null&&o!==void 0?o:s,r=s,s!==0&&u<n&&(n=u))}return e.map((s,c)=>c===0?s:s.slice(n)).slice((t=i)!==null&&t!==void 0?t:0,r+1)}a(Zv,"dedentBlockStringLines");function K$(e){let t=0;for(;t<e.length&&as(e.charCodeAt(t));)++t;return t}a(K$,"leadingWhitespace");function Gv(e,t){let n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),r=i.length===1,o=i.length>1&&i.slice(1).every(g=>g.length===0||as(g.charCodeAt(0))),s=n.endsWith('\\"""'),c=e.endsWith('"')&&!s,u=e.endsWith("\\"),l=c||u,p=!(t!=null&&t.minimize)&&(!r||e.length>70||l||o||s),d="",m=r&&as(e.charCodeAt(0));return(p&&!m||o)&&(d+=`
65
65
  `),d+=n,(p||l)&&(d+=`
66
- `),'"""'+d+'"""'}a(Ev,"printBlockString");var T;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(T||(T={}));var Fi=class{static{a(this,"Lexer")}constructor(t){let n=new yn(T.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==T.EOF)do if(t.next)t=t.next;else{let n=O$(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===T.COMMENT);return t}};function Nv(e){return e===T.BANG||e===T.DOLLAR||e===T.AMP||e===T.PAREN_L||e===T.PAREN_R||e===T.DOT||e===T.SPREAD||e===T.COLON||e===T.EQUALS||e===T.AT||e===T.BRACKET_L||e===T.BRACKET_R||e===T.BRACE_L||e===T.PIPE||e===T.BRACE_R}a(Nv,"isPunctuatorTokenKind");function bn(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}a(bn,"isUnicodeScalarValue");function ts(e,t){return kv(e.charCodeAt(t))&&wv(e.charCodeAt(t+1))}a(ts,"isSupplementaryCodePoint");function kv(e){return e>=55296&&e<=56319}a(kv,"isLeadingSurrogate");function wv(e){return e>=56320&&e<=57343}a(wv,"isTrailingSurrogate");function Sr(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return T.EOF;if(n>=32&&n<=126){let i=String.fromCodePoint(n);return i==='"'?`'"'`:`"${i}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}a(Sr,"printCodePointAt");function Te(e,t,n,i,r){let o=e.line,s=1+n-e.lineStart;return new yn(t,n,i,o,s,r)}a(Te,"createToken");function O$(e,t){let n=e.source.body,i=n.length,r=t;for(;r<i;){let o=n.charCodeAt(r);switch(o){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:n.charCodeAt(r+1)===10?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return N$(e,r);case 33:return Te(e,T.BANG,r,r+1);case 36:return Te(e,T.DOLLAR,r,r+1);case 38:return Te(e,T.AMP,r,r+1);case 40:return Te(e,T.PAREN_L,r,r+1);case 41:return Te(e,T.PAREN_R,r,r+1);case 46:if(n.charCodeAt(r+1)===46&&n.charCodeAt(r+2)===46)return Te(e,T.SPREAD,r,r+3);break;case 58:return Te(e,T.COLON,r,r+1);case 61:return Te(e,T.EQUALS,r,r+1);case 64:return Te(e,T.AT,r,r+1);case 91:return Te(e,T.BRACKET_L,r,r+1);case 93:return Te(e,T.BRACKET_R,r,r+1);case 123:return Te(e,T.BRACE_L,r,r+1);case 124:return Te(e,T.PIPE,r,r+1);case 125:return Te(e,T.BRACE_R,r,r+1);case 34:return n.charCodeAt(r+1)===34&&n.charCodeAt(r+2)===34?A$(e,r):w$(e,r)}if(vn(o)||o===45)return k$(e,r,o);if(Pi(o))return z$(e,r);throw ve(e.source,r,o===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:bn(o)||ts(n,r)?`Unexpected character: ${Sr(e,r)}.`:`Invalid character: ${Sr(e,r)}.`)}return Te(e,T.EOF,i,i)}a(O$,"readNextToken");function N$(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r<i;){let o=n.charCodeAt(r);if(o===10||o===13)break;if(bn(o))++r;else if(ts(n,r))r+=2;else break}return Te(e,T.COMMENT,t,r,n.slice(t+1,r))}a(N$,"readComment");function k$(e,t,n){let i=e.source.body,r=t,o=n,s=!1;if(o===45&&(o=i.charCodeAt(++r)),o===48){if(o=i.charCodeAt(++r),vn(o))throw ve(e.source,r,`Invalid number, unexpected digit after 0: ${Sr(e,r)}.`)}else r=bm(e,r,o),o=i.charCodeAt(r);if(o===46&&(s=!0,o=i.charCodeAt(++r),r=bm(e,r,o),o=i.charCodeAt(r)),(o===69||o===101)&&(s=!0,o=i.charCodeAt(++r),(o===43||o===45)&&(o=i.charCodeAt(++r)),r=bm(e,r,o),o=i.charCodeAt(r)),o===46||Pi(o))throw ve(e.source,r,`Invalid number, expected digit but got: ${Sr(e,r)}.`);return Te(e,s?T.FLOAT:T.INT,t,r,i.slice(t,r))}a(k$,"readNumber");function bm(e,t,n){if(!vn(n))throw ve(e.source,t,`Invalid number, expected digit but got: ${Sr(e,t)}.`);let i=e.source.body,r=t+1;for(;vn(i.charCodeAt(r));)++r;return r}a(bm,"readDigits");function w$(e,t){let n=e.source.body,i=n.length,r=t+1,o=r,s="";for(;r<i;){let c=n.charCodeAt(r);if(c===34)return s+=n.slice(o,r),Te(e,T.STRING,t,r+1,s);if(c===92){s+=n.slice(o,r);let u=n.charCodeAt(r+1)===117?n.charCodeAt(r+2)===123?D$(e,r):R$(e,r):j$(e,r);s+=u.value,r+=u.size,o=r;continue}if(c===10||c===13)break;if(bn(c))++r;else if(ts(n,r))r+=2;else throw ve(e.source,r,`Invalid character within String: ${Sr(e,r)}.`)}throw ve(e.source,r,"Unterminated string.")}a(w$,"readString");function D$(e,t){let n=e.source.body,i=0,r=3;for(;r<12;){let o=n.charCodeAt(t+r++);if(o===125){if(r<5||!bn(i))break;return{value:String.fromCodePoint(i),size:r}}if(i=i<<4|Ui(o),i<0)break}throw ve(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}a(D$,"readEscapedUnicodeVariableWidth");function R$(e,t){let n=e.source.body,i=Ov(n,t+2);if(bn(i))return{value:String.fromCodePoint(i),size:6};if(kv(i)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){let r=Ov(n,t+8);if(wv(r))return{value:String.fromCodePoint(i,r),size:12}}throw ve(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}a(R$,"readEscapedUnicodeFixedWidth");function Ov(e,t){return Ui(e.charCodeAt(t))<<12|Ui(e.charCodeAt(t+1))<<8|Ui(e.charCodeAt(t+2))<<4|Ui(e.charCodeAt(t+3))}a(Ov,"read16BitHexCode");function Ui(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}a(Ui,"readHexDigit");function j$(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:`
67
- `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ve(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}a(j$,"readEscapedCharacter");function A$(e,t){let n=e.source.body,i=n.length,r=e.lineStart,o=t+3,s=o,c="",u=[];for(;o<i;){let l=n.charCodeAt(o);if(l===34&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34){c+=n.slice(s,o),u.push(c);let p=Te(e,T.BLOCK_STRING,t,o+3,Iv(u).join(`
68
- `));return e.line+=u.length-1,e.lineStart=r,p}if(l===92&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34&&n.charCodeAt(o+3)===34){c+=n.slice(s,o),s=o+1,o+=4;continue}if(l===10||l===13){c+=n.slice(s,o),u.push(c),l===13&&n.charCodeAt(o+1)===10?o+=2:++o,c="",s=o,r=o;continue}if(bn(l))++o;else if(ts(n,o))o+=2;else throw ve(e.source,o,`Invalid character within String: ${Sr(e,o)}.`)}throw ve(e.source,o,"Unterminated string.")}a(A$,"readBlockString");function z$(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r<i;){let o=n.charCodeAt(r);if(es(o))++r;else break}return Te(e,T.NAME,t,r,n.slice(t,r))}a(z$,"readName");function $(e){return rs(e,[])}a($,"inspect");function rs(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return L$(e,t);default:return String(e)}}a(rs,"formatValue");function L$(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if(P$(e)){let i=e.toJSON();if(i!==e)return typeof i=="string"?i:rs(i,n)}else if(Array.isArray(e))return F$(e,n);return U$(e,n)}a(L$,"formatObjectValue");function P$(e){return typeof e.toJSON=="function"}a(P$,"isJSONable");function U$(e,t){let n=Object.entries(e);return n.length===0?"{}":t.length>2?"["+C$(e)+"]":"{ "+n.map(([r,o])=>r+": "+rs(o,t)).join(", ")+" }"}a(U$,"formatObject");function F$(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),i=e.length-n,r=[];for(let o=0;o<n;++o)r.push(rs(e[o],t));return i===1?r.push("... 1 more item"):i>1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}a(F$,"formatArray");function C$(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}a(C$,"getObjectTag");var V$=globalThis.process&&!0,Ze=a(V$?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var i;let r=n.prototype[Symbol.toStringTag],o=Symbol.toStringTag in t?t[Symbol.toStringTag]:(i=t.constructor)===null||i===void 0?void 0:i.name;if(r===o){let s=$(t);throw new Error(`Cannot use ${r} "${s}" from another module or realm.
66
+ `),'"""'+d+'"""'}a(Gv,"printBlockString");var T;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(T||(T={}));var Zi=class{static{a(this,"Lexer")}constructor(t){let n=new _n(T.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==T.EOF)do if(t.next)t=t.next;else{let n=W$(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===T.COMMENT);return t}};function Jv(e){return e===T.BANG||e===T.DOLLAR||e===T.AMP||e===T.PAREN_L||e===T.PAREN_R||e===T.DOT||e===T.SPREAD||e===T.COLON||e===T.EQUALS||e===T.AT||e===T.BRACKET_L||e===T.BRACKET_R||e===T.BRACE_L||e===T.PIPE||e===T.BRACE_R}a(Jv,"isPunctuatorTokenKind");function Tn(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}a(Tn,"isUnicodeScalarValue");function cs(e,t){return Qv(e.charCodeAt(t))&&qv(e.charCodeAt(t+1))}a(cs,"isSupplementaryCodePoint");function Qv(e){return e>=55296&&e<=56319}a(Qv,"isLeadingSurrogate");function qv(e){return e>=56320&&e<=57343}a(qv,"isTrailingSurrogate");function Ir(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return T.EOF;if(n>=32&&n<=126){let i=String.fromCodePoint(n);return i==='"'?`'"'`:`"${i}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}a(Ir,"printCodePointAt");function Te(e,t,n,i,r){let o=e.line,s=1+n-e.lineStart;return new _n(t,n,i,o,s,r)}a(Te,"createToken");function W$(e,t){let n=e.source.body,i=n.length,r=t;for(;r<i;){let o=n.charCodeAt(r);switch(o){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:n.charCodeAt(r+1)===10?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return H$(e,r);case 33:return Te(e,T.BANG,r,r+1);case 36:return Te(e,T.DOLLAR,r,r+1);case 38:return Te(e,T.AMP,r,r+1);case 40:return Te(e,T.PAREN_L,r,r+1);case 41:return Te(e,T.PAREN_R,r,r+1);case 46:if(n.charCodeAt(r+1)===46&&n.charCodeAt(r+2)===46)return Te(e,T.SPREAD,r,r+3);break;case 58:return Te(e,T.COLON,r,r+1);case 61:return Te(e,T.EQUALS,r,r+1);case 64:return Te(e,T.AT,r,r+1);case 91:return Te(e,T.BRACKET_L,r,r+1);case 93:return Te(e,T.BRACKET_R,r,r+1);case 123:return Te(e,T.BRACE_L,r,r+1);case 124:return Te(e,T.PIPE,r,r+1);case 125:return Te(e,T.BRACE_R,r,r+1);case 34:return n.charCodeAt(r+1)===34&&n.charCodeAt(r+2)===34?iI(e,r):eI(e,r)}if(Sn(o)||o===45)return X$(e,r,o);if(Vi(o))return oI(e,r);throw ve(e.source,r,o===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Tn(o)||cs(n,r)?`Unexpected character: ${Ir(e,r)}.`:`Invalid character: ${Ir(e,r)}.`)}return Te(e,T.EOF,i,i)}a(W$,"readNextToken");function H$(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r<i;){let o=n.charCodeAt(r);if(o===10||o===13)break;if(Tn(o))++r;else if(cs(n,r))r+=2;else break}return Te(e,T.COMMENT,t,r,n.slice(t+1,r))}a(H$,"readComment");function X$(e,t,n){let i=e.source.body,r=t,o=n,s=!1;if(o===45&&(o=i.charCodeAt(++r)),o===48){if(o=i.charCodeAt(++r),Sn(o))throw ve(e.source,r,`Invalid number, unexpected digit after 0: ${Ir(e,r)}.`)}else r=Nm(e,r,o),o=i.charCodeAt(r);if(o===46&&(s=!0,o=i.charCodeAt(++r),r=Nm(e,r,o),o=i.charCodeAt(r)),(o===69||o===101)&&(s=!0,o=i.charCodeAt(++r),(o===43||o===45)&&(o=i.charCodeAt(++r)),r=Nm(e,r,o),o=i.charCodeAt(r)),o===46||Vi(o))throw ve(e.source,r,`Invalid number, expected digit but got: ${Ir(e,r)}.`);return Te(e,s?T.FLOAT:T.INT,t,r,i.slice(t,r))}a(X$,"readNumber");function Nm(e,t,n){if(!Sn(n))throw ve(e.source,t,`Invalid number, expected digit but got: ${Ir(e,t)}.`);let i=e.source.body,r=t+1;for(;Sn(i.charCodeAt(r));)++r;return r}a(Nm,"readDigits");function eI(e,t){let n=e.source.body,i=n.length,r=t+1,o=r,s="";for(;r<i;){let c=n.charCodeAt(r);if(c===34)return s+=n.slice(o,r),Te(e,T.STRING,t,r+1,s);if(c===92){s+=n.slice(o,r);let u=n.charCodeAt(r+1)===117?n.charCodeAt(r+2)===123?tI(e,r):rI(e,r):nI(e,r);s+=u.value,r+=u.size,o=r;continue}if(c===10||c===13)break;if(Tn(c))++r;else if(cs(n,r))r+=2;else throw ve(e.source,r,`Invalid character within String: ${Ir(e,r)}.`)}throw ve(e.source,r,"Unterminated string.")}a(eI,"readString");function tI(e,t){let n=e.source.body,i=0,r=3;for(;r<12;){let o=n.charCodeAt(t+r++);if(o===125){if(r<5||!Tn(i))break;return{value:String.fromCodePoint(i),size:r}}if(i=i<<4|Mi(o),i<0)break}throw ve(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}a(tI,"readEscapedUnicodeVariableWidth");function rI(e,t){let n=e.source.body,i=Bv(n,t+2);if(Tn(i))return{value:String.fromCodePoint(i),size:6};if(Qv(i)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){let r=Bv(n,t+8);if(qv(r))return{value:String.fromCodePoint(i,r),size:12}}throw ve(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}a(rI,"readEscapedUnicodeFixedWidth");function Bv(e,t){return Mi(e.charCodeAt(t))<<12|Mi(e.charCodeAt(t+1))<<8|Mi(e.charCodeAt(t+2))<<4|Mi(e.charCodeAt(t+3))}a(Bv,"read16BitHexCode");function Mi(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}a(Mi,"readHexDigit");function nI(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:`
67
+ `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ve(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}a(nI,"readEscapedCharacter");function iI(e,t){let n=e.source.body,i=n.length,r=e.lineStart,o=t+3,s=o,c="",u=[];for(;o<i;){let l=n.charCodeAt(o);if(l===34&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34){c+=n.slice(s,o),u.push(c);let p=Te(e,T.BLOCK_STRING,t,o+3,Zv(u).join(`
68
+ `));return e.line+=u.length-1,e.lineStart=r,p}if(l===92&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34&&n.charCodeAt(o+3)===34){c+=n.slice(s,o),s=o+1,o+=4;continue}if(l===10||l===13){c+=n.slice(s,o),u.push(c),l===13&&n.charCodeAt(o+1)===10?o+=2:++o,c="",s=o,r=o;continue}if(Tn(l))++o;else if(cs(n,o))o+=2;else throw ve(e.source,o,`Invalid character within String: ${Ir(e,o)}.`)}throw ve(e.source,o,"Unterminated string.")}a(iI,"readBlockString");function oI(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r<i;){let o=n.charCodeAt(r);if(ss(o))++r;else break}return Te(e,T.NAME,t,r,n.slice(t,r))}a(oI,"readName");function $(e){return us(e,[])}a($,"inspect");function us(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return aI(e,t);default:return String(e)}}a(us,"formatValue");function aI(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if(sI(e)){let i=e.toJSON();if(i!==e)return typeof i=="string"?i:us(i,n)}else if(Array.isArray(e))return uI(e,n);return cI(e,n)}a(aI,"formatObjectValue");function sI(e){return typeof e.toJSON=="function"}a(sI,"isJSONable");function cI(e,t){let n=Object.entries(e);return n.length===0?"{}":t.length>2?"["+lI(e)+"]":"{ "+n.map(([r,o])=>r+": "+us(o,t)).join(", ")+" }"}a(cI,"formatObject");function uI(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),i=e.length-n,r=[];for(let o=0;o<n;++o)r.push(us(e[o],t));return i===1?r.push("... 1 more item"):i>1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}a(uI,"formatArray");function lI(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}a(lI,"getObjectTag");var pI=globalThis.process&&!0,Ze=a(pI?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var i;let r=n.prototype[Symbol.toStringTag],o=Symbol.toStringTag in t?t[Symbol.toStringTag]:(i=t.constructor)===null||i===void 0?void 0:i.name;if(r===o){let s=$(t);throw new Error(`Cannot use ${r} "${s}" from another module or realm.
69
69
 
70
70
  Ensure that there is only one instance of "graphql" in the node_modules
71
71
  directory. If different versions of "graphql" are the dependencies of other
@@ -76,48 +76,48 @@ https://yarnpkg.com/en/docs/selective-version-resolutions
76
76
  Duplicate "graphql" modules cannot be used at the same time since different
77
77
  versions may have different capabilities and behavior. The data from one
78
78
  version used in the function from another could produce confusing and
79
- spurious results.`)}}return!1},"instanceOf");var xn=class{static{a(this,"Source")}constructor(t,n="GraphQL request",i={line:1,column:1}){typeof t=="string"||Q(!1,`Body must be a string. Received: ${$(t)}.`),this.body=t,this.name=n,this.locationOffset=i,this.locationOffset.line>0||Q(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Q(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Dv(e){return Ze(e,xn)}a(Dv,"isSource");function _n(e,t){let n=new xm(e,t),i=n.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:n.tokenCount}),i}a(_n,"parse");var xm=class{static{a(this,"Parser")}constructor(t,n={}){let{lexer:i,...r}=n;if(i)this._lexer=i;else{let o=Dv(t)?t:new xn(t);this._lexer=new Fi(o)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let t=this.expectToken(T.NAME);return this.node(t,{kind:h.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:h.DOCUMENT,definitions:this.many(T.SOF,this.parseDefinition,T.EOF)})}parseDefinition(){if(this.peek(T.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(t&&n.kind===T.BRACE_L)throw ve(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(n.kind===T.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(t)throw ve(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if(n.value==="extend")return this.parseTypeSystemExtension()}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(T.BRACE_L))return this.node(t,{kind:h.OPERATION_DEFINITION,operation:he.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),i=this.parseOperationType(),r;return this.peek(T.NAME)&&(r=this.parseName()),this.node(t,{kind:h.OPERATION_DEFINITION,operation:i,description:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(T.NAME);switch(t.value){case"query":return he.QUERY;case"mutation":return he.MUTATION;case"subscription":return he.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(T.PAREN_L,this.parseVariableDefinition,T.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:h.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(T.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(T.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(T.DOLLAR),this.node(t,{kind:h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:h.SELECTION_SET,selections:this.many(T.BRACE_L,this.parseSelection,T.BRACE_R)})}parseSelection(){return this.peek(T.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),i,r;return this.expectOptionalToken(T.COLON)?(i=n,r=this.parseName()):r=n,this.node(t,{kind:h.FIELD,alias:i,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(T.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(T.PAREN_L,n,T.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,i=this.parseName();return this.expectToken(T.COLON),this.node(n,{kind:h.ARGUMENT,name:i,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(T.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(T.NAME)?this.node(t,{kind:h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:h.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token,n=this.parseDescription();return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:h.FRAGMENT_DEFINITION,description:n,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:h.FRAGMENT_DEFINITION,description:n,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case T.BRACKET_L:return this.parseList(t);case T.BRACE_L:return this.parseObject(t);case T.INT:return this.advanceLexer(),this.node(n,{kind:h.INT,value:n.value});case T.FLOAT:return this.advanceLexer(),this.node(n,{kind:h.FLOAT,value:n.value});case T.STRING:case T.BLOCK_STRING:return this.parseStringLiteral();case T.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:h.BOOLEAN,value:!0});case"false":return this.node(n,{kind:h.BOOLEAN,value:!1});case"null":return this.node(n,{kind:h.NULL});default:return this.node(n,{kind:h.ENUM,value:n.value})}case T.DOLLAR:if(t)if(this.expectToken(T.DOLLAR),this._lexer.token.kind===T.NAME){let i=this._lexer.token.value;throw ve(this._lexer.source,n.start,`Unexpected variable "$${i}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:h.STRING,value:t.value,block:t.kind===T.BLOCK_STRING})}parseList(t){let n=a(()=>this.parseValueLiteral(t),"item");return this.node(this._lexer.token,{kind:h.LIST,values:this.any(T.BRACKET_L,n,T.BRACKET_R)})}parseObject(t){let n=a(()=>this.parseObjectField(t),"item");return this.node(this._lexer.token,{kind:h.OBJECT,fields:this.any(T.BRACE_L,n,T.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,i=this.parseName();return this.expectToken(T.COLON),this.node(n,{kind:h.OBJECT_FIELD,name:i,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(T.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(T.AT),this.node(n,{kind:h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(T.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(T.BRACKET_R),n=this.node(t,{kind:h.LIST_TYPE,type:i})}else n=this.parseNamedType();return this.expectOptionalToken(T.BANG)?this.node(t,{kind:h.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(T.STRING)||this.peek(T.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),r=this.many(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);return this.node(t,{kind:h.SCHEMA_DEFINITION,description:n,directives:i,operationTypes:r})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(T.COLON);let i=this.parseNamedType();return this.node(t,{kind:h.OPERATION_TYPE_DEFINITION,operation:n,type:i})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),r=this.parseConstDirectives();return this.node(t,{kind:h.SCALAR_TYPE_DEFINITION,description:n,name:i,directives:r})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(t,{kind:h.OBJECT_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:o,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(T.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseFieldDefinition,T.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(T.COLON);let o=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(t,{kind:h.FIELD_DEFINITION,description:n,name:i,arguments:r,type:o,directives:s})}parseArgumentDefs(){return this.optionalMany(T.PAREN_L,this.parseInputValueDef,T.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(T.COLON);let r=this.parseTypeReference(),o;this.expectOptionalToken(T.EQUALS)&&(o=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:h.INPUT_VALUE_DEFINITION,description:n,name:i,type:r,defaultValue:o,directives:s})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(t,{kind:h.INTERFACE_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:o,fields:s})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:h.UNION_TYPE_DEFINITION,description:n,name:i,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(T.EQUALS)?this.delimitedMany(T.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:h.ENUM_TYPE_DEFINITION,description:n,name:i,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(T.BRACE_L,this.parseEnumValueDefinition,T.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(t,{kind:h.ENUM_VALUE_DEFINITION,description:n,name:i,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw ve(this._lexer.source,this._lexer.token.start,`${ns(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let i=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:h.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:i,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseInputValueDef,T.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===T.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),i=this.optionalMany(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);if(n.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:h.SCHEMA_EXTENSION,directives:n,operationTypes:i})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),i=this.parseConstDirectives();if(i.length===0)throw this.unexpected();return this.node(t,{kind:h.SCALAR_TYPE_EXTENSION,name:n,directives:i})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:h.OBJECT_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:o})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:h.INTERFACE_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:o})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:h.UNION_TYPE_EXTENSION,name:n,directives:i,types:r})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:h.ENUM_TYPE_EXTENSION,name:n,directives:i,values:r})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:h.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:i,fields:r})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(T.AT);let i=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(t,{kind:h.DIRECTIVE_DEFINITION,description:n,name:i,arguments:r,repeatable:o,locations:s})}parseDirectiveLocations(){return this.delimitedMany(T.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(C,n.value))return n;throw this.unexpected(t)}parseSchemaCoordinate(){let t=this._lexer.token,n=this.expectOptionalToken(T.AT),i=this.parseName(),r;!n&&this.expectOptionalToken(T.DOT)&&(r=this.parseName());let o;return(n||r)&&this.expectOptionalToken(T.PAREN_L)&&(o=this.parseName(),this.expectToken(T.COLON),this.expectToken(T.PAREN_R)),n?o?this.node(t,{kind:h.DIRECTIVE_ARGUMENT_COORDINATE,name:i,argumentName:o}):this.node(t,{kind:h.DIRECTIVE_COORDINATE,name:i}):r?o?this.node(t,{kind:h.ARGUMENT_COORDINATE,name:i,fieldName:r,argumentName:o}):this.node(t,{kind:h.MEMBER_COORDINATE,name:i,memberName:r}):this.node(t,{kind:h.TYPE_COORDINATE,name:i})}node(t,n){return this._options.noLocation!==!0&&(n.loc=new Ai(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw ve(this._lexer.source,n.start,`Expected ${Rv(t)}, found ${ns(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===T.NAME&&n.value===t)this.advanceLexer();else throw ve(this._lexer.source,n.start,`Expected "${t}", found ${ns(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===T.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return ve(this._lexer.source,n.start,`Unexpected ${ns(n)}.`)}any(t,n,i){this.expectToken(t);let r=[];for(;!this.expectOptionalToken(i);)r.push(n.call(this));return r}optionalMany(t,n,i){if(this.expectOptionalToken(t)){let r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}return[]}many(t,n,i){this.expectToken(t);let r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}delimitedMany(t,n){this.expectOptionalToken(t);let i=[];do i.push(n.call(this));while(this.expectOptionalToken(t));return i}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(n.kind!==T.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw ve(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function ns(e){let t=e.value;return Rv(e.kind)+(t!=null?` "${t}"`:"")}a(ns,"getTokenDesc");function Rv(e){return Nv(e)?`"${e}"`:e}a(Rv,"getTokenKindDesc");function Le(e,t){let[n,i]=t?[e,t]:[void 0,e],r=" Did you mean ";n&&(r+=n+" ");let o=i.map(u=>`"${u}"`);switch(o.length){case 0:return"";case 1:return r+o[0]+"?";case 2:return r+o[0]+" or "+o[1]+"?"}let s=o.slice(0,5),c=s.pop();return r+s.join(", ")+", or "+c+"?"}a(Le,"didYouMean");function _m(e){return e}a(_m,"identityFunc");function pt(e,t){let n=Object.create(null);for(let i of e)n[t(i)]=i;return n}a(pt,"keyMap");function Ci(e,t,n){let i=Object.create(null);for(let r of e)i[t(r)]=n(r);return i}a(Ci,"keyValMap");function dt(e,t){let n=Object.create(null);for(let i of Object.keys(e))n[i]=t(e[i],i);return n}a(dt,"mapValue");function Sn(e,t){let n=0,i=0;for(;n<e.length&&i<t.length;){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(is(r)&&is(o)){let s=0;do++n,s=s*10+r-Sm,r=e.charCodeAt(n);while(is(r)&&s>0);let c=0;do++i,c=c*10+o-Sm,o=t.charCodeAt(i);while(is(o)&&c>0);if(s<c)return-1;if(s>c)return 1}else{if(r<o)return-1;if(r>o)return 1;++n,++i}}return e.length-t.length}a(Sn,"naturalCompare");var Sm=48,M$=57;function is(e){return!isNaN(e)&&Sm<=e&&e<=M$}a(is,"isDigit");function Ge(e,t){let n=Object.create(null),i=new Tm(e),r=Math.floor(e.length*.4)+1;for(let o of t){let s=i.measure(o,r);s!==void 0&&(n[o]=s)}return Object.keys(n).sort((o,s)=>{let c=n[o]-n[s];return c!==0?c:Sn(o,s)})}a(Ge,"suggestionList");var Tm=class{static{a(this,"LexicalDistance")}constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=jv(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}measure(t,n){if(this._input===t)return 0;let i=t.toLowerCase();if(this._inputLowerCase===i)return 1;let r=jv(i),o=this._inputArray;if(r.length<o.length){let p=r;r=o,o=p}let s=r.length,c=o.length;if(s-c>n)return;let u=this._rows;for(let p=0;p<=c;p++)u[0][p]=p;for(let p=1;p<=s;p++){let d=u[(p-1)%3],m=u[p%3],g=m[0]=p;for(let y=1;y<=c;y++){let x=r[p-1]===o[y-1]?0:1,k=Math.min(d[y]+1,m[y-1]+1,d[y-1]+x);if(p>1&&y>1&&r[p-1]===o[y-2]&&r[p-2]===o[y-1]){let z=u[(p-2)%3][y-2];k=Math.min(k,z+1)}k<g&&(g=k),m[y]=k}if(g>n)return}let l=u[s%3][c];return l<=n?l:void 0}};function jv(e){let t=e.length,n=new Array(t);for(let i=0;i<t;++i)n[i]=e.charCodeAt(i);return n}a(jv,"stringToArray");function Be(e){if(e==null)return Object.create(null);if(Object.getPrototypeOf(e)===null)return e;let t=Object.create(null);for(let[n,i]of Object.entries(e))t[n]=i;return t}a(Be,"toObjMap");function Av(e){return`"${e.replace(Z$,G$)}"`}a(Av,"printString");var Z$=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function G$(e){return B$[e.charCodeAt(0)]}a(G$,"escapedReplacer");var B$=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var Tn=Object.freeze({});function tr(e,t,n=zi){let i=new Map;for(let z of Object.values(h))i.set(z,$n(t,z));let r,o=Array.isArray(e),s=[e],c=-1,u=[],l=e,p,d,m=[],g=[];do{c++;let z=c===s.length,Z=z&&u.length!==0;if(z){if(p=g.length===0?void 0:m[m.length-1],l=d,d=g.pop(),Z)if(o){l=l.slice();let P=0;for(let[X,ce]of u){let re=X-P;ce===null?(l.splice(re,1),P++):l[re]=ce}}else{l={...l};for(let[P,X]of u)l[P]=X}c=r.index,s=r.keys,u=r.edits,o=r.inArray,r=r.prev}else if(d){if(p=o?c:s[c],l=d[p],l==null)continue;m.push(p)}let D;if(!Array.isArray(l)){var y,x;Li(l)||Q(!1,`Invalid AST Node: ${$(l)}.`);let P=z?(y=i.get(l.kind))===null||y===void 0?void 0:y.leave:(x=i.get(l.kind))===null||x===void 0?void 0:x.enter;if(D=P?.call(t,l,p,d,m,g),D===Tn)break;if(D===!1){if(!z){m.pop();continue}}else if(D!==void 0&&(u.push([p,D]),!z))if(Li(D))l=D;else{m.pop();continue}}if(D===void 0&&Z&&u.push([p,l]),z)m.pop();else{var k;r={inArray:o,index:c,keys:s,edits:u,prev:r},o=Array.isArray(l),s=o?l:(k=n[l.kind])!==null&&k!==void 0?k:[],c=-1,u=[],d&&g.push(d),d=l}}while(r!==void 0);return u.length!==0?u[u.length-1][1]:e}a(tr,"visit");function os(e){let t=new Array(e.length).fill(null),n=Object.create(null);for(let i of Object.values(h)){let r=!1,o=new Array(e.length).fill(void 0),s=new Array(e.length).fill(void 0);for(let u=0;u<e.length;++u){let{enter:l,leave:p}=$n(e[u],i);r||(r=l!=null||p!=null),o[u]=l,s[u]=p}if(!r)continue;let c={enter(...u){let l=u[0];for(let d=0;d<e.length;d++)if(t[d]===null){var p;let m=(p=o[d])===null||p===void 0?void 0:p.apply(e[d],u);if(m===!1)t[d]=l;else if(m===Tn)t[d]=Tn;else if(m!==void 0)return m}},leave(...u){let l=u[0];for(let d=0;d<e.length;d++)if(t[d]===null){var p;let m=(p=s[d])===null||p===void 0?void 0:p.apply(e[d],u);if(m===Tn)t[d]=Tn;else if(m!==void 0&&m!==!1)return m}else t[d]===l&&(t[d]=null)}};n[i]=c}return n}a(os,"visitInParallel");function $n(e,t){let n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}a($n,"getEnterLeaveForKind");function ee(e){return tr(e,Q$)}a(ee,"print");var J$=80,Q$={Name:{leave:a(e=>e.value,"leave")},Variable:{leave:a(e=>"$"+e.name,"leave")},Document:{leave:a(e=>L(e.definitions,`
79
+ spurious results.`)}}return!1},"instanceOf");var $n=class{static{a(this,"Source")}constructor(t,n="GraphQL request",i={line:1,column:1}){typeof t=="string"||Q(!1,`Body must be a string. Received: ${$(t)}.`),this.body=t,this.name=n,this.locationOffset=i,this.locationOffset.line>0||Q(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Q(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Yv(e){return Ze(e,$n)}a(Yv,"isSource");function In(e,t){let n=new km(e,t),i=n.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:n.tokenCount}),i}a(In,"parse");var km=class{static{a(this,"Parser")}constructor(t,n={}){let{lexer:i,...r}=n;if(i)this._lexer=i;else{let o=Yv(t)?t:new $n(t);this._lexer=new Zi(o)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let t=this.expectToken(T.NAME);return this.node(t,{kind:h.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:h.DOCUMENT,definitions:this.many(T.SOF,this.parseDefinition,T.EOF)})}parseDefinition(){if(this.peek(T.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(t&&n.kind===T.BRACE_L)throw ve(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(n.kind===T.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(t)throw ve(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if(n.value==="extend")return this.parseTypeSystemExtension()}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(T.BRACE_L))return this.node(t,{kind:h.OPERATION_DEFINITION,operation:he.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),i=this.parseOperationType(),r;return this.peek(T.NAME)&&(r=this.parseName()),this.node(t,{kind:h.OPERATION_DEFINITION,operation:i,description:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(T.NAME);switch(t.value){case"query":return he.QUERY;case"mutation":return he.MUTATION;case"subscription":return he.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(T.PAREN_L,this.parseVariableDefinition,T.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:h.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(T.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(T.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(T.DOLLAR),this.node(t,{kind:h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:h.SELECTION_SET,selections:this.many(T.BRACE_L,this.parseSelection,T.BRACE_R)})}parseSelection(){return this.peek(T.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),i,r;return this.expectOptionalToken(T.COLON)?(i=n,r=this.parseName()):r=n,this.node(t,{kind:h.FIELD,alias:i,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(T.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(T.PAREN_L,n,T.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,i=this.parseName();return this.expectToken(T.COLON),this.node(n,{kind:h.ARGUMENT,name:i,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(T.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(T.NAME)?this.node(t,{kind:h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:h.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token,n=this.parseDescription();return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:h.FRAGMENT_DEFINITION,description:n,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:h.FRAGMENT_DEFINITION,description:n,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case T.BRACKET_L:return this.parseList(t);case T.BRACE_L:return this.parseObject(t);case T.INT:return this.advanceLexer(),this.node(n,{kind:h.INT,value:n.value});case T.FLOAT:return this.advanceLexer(),this.node(n,{kind:h.FLOAT,value:n.value});case T.STRING:case T.BLOCK_STRING:return this.parseStringLiteral();case T.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:h.BOOLEAN,value:!0});case"false":return this.node(n,{kind:h.BOOLEAN,value:!1});case"null":return this.node(n,{kind:h.NULL});default:return this.node(n,{kind:h.ENUM,value:n.value})}case T.DOLLAR:if(t)if(this.expectToken(T.DOLLAR),this._lexer.token.kind===T.NAME){let i=this._lexer.token.value;throw ve(this._lexer.source,n.start,`Unexpected variable "$${i}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:h.STRING,value:t.value,block:t.kind===T.BLOCK_STRING})}parseList(t){let n=a(()=>this.parseValueLiteral(t),"item");return this.node(this._lexer.token,{kind:h.LIST,values:this.any(T.BRACKET_L,n,T.BRACKET_R)})}parseObject(t){let n=a(()=>this.parseObjectField(t),"item");return this.node(this._lexer.token,{kind:h.OBJECT,fields:this.any(T.BRACE_L,n,T.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,i=this.parseName();return this.expectToken(T.COLON),this.node(n,{kind:h.OBJECT_FIELD,name:i,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(T.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(T.AT),this.node(n,{kind:h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(T.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(T.BRACKET_R),n=this.node(t,{kind:h.LIST_TYPE,type:i})}else n=this.parseNamedType();return this.expectOptionalToken(T.BANG)?this.node(t,{kind:h.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(T.STRING)||this.peek(T.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),r=this.many(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);return this.node(t,{kind:h.SCHEMA_DEFINITION,description:n,directives:i,operationTypes:r})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(T.COLON);let i=this.parseNamedType();return this.node(t,{kind:h.OPERATION_TYPE_DEFINITION,operation:n,type:i})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),r=this.parseConstDirectives();return this.node(t,{kind:h.SCALAR_TYPE_DEFINITION,description:n,name:i,directives:r})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(t,{kind:h.OBJECT_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:o,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(T.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseFieldDefinition,T.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(T.COLON);let o=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(t,{kind:h.FIELD_DEFINITION,description:n,name:i,arguments:r,type:o,directives:s})}parseArgumentDefs(){return this.optionalMany(T.PAREN_L,this.parseInputValueDef,T.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(T.COLON);let r=this.parseTypeReference(),o;this.expectOptionalToken(T.EQUALS)&&(o=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:h.INPUT_VALUE_DEFINITION,description:n,name:i,type:r,defaultValue:o,directives:s})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(t,{kind:h.INTERFACE_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:o,fields:s})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:h.UNION_TYPE_DEFINITION,description:n,name:i,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(T.EQUALS)?this.delimitedMany(T.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:h.ENUM_TYPE_DEFINITION,description:n,name:i,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(T.BRACE_L,this.parseEnumValueDefinition,T.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(t,{kind:h.ENUM_VALUE_DEFINITION,description:n,name:i,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw ve(this._lexer.source,this._lexer.token.start,`${ls(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let i=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:h.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:i,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseInputValueDef,T.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===T.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),i=this.optionalMany(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);if(n.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:h.SCHEMA_EXTENSION,directives:n,operationTypes:i})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),i=this.parseConstDirectives();if(i.length===0)throw this.unexpected();return this.node(t,{kind:h.SCALAR_TYPE_EXTENSION,name:n,directives:i})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:h.OBJECT_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:o})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:h.INTERFACE_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:o})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:h.UNION_TYPE_EXTENSION,name:n,directives:i,types:r})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:h.ENUM_TYPE_EXTENSION,name:n,directives:i,values:r})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:h.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:i,fields:r})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(T.AT);let i=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(t,{kind:h.DIRECTIVE_DEFINITION,description:n,name:i,arguments:r,repeatable:o,locations:s})}parseDirectiveLocations(){return this.delimitedMany(T.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(C,n.value))return n;throw this.unexpected(t)}parseSchemaCoordinate(){let t=this._lexer.token,n=this.expectOptionalToken(T.AT),i=this.parseName(),r;!n&&this.expectOptionalToken(T.DOT)&&(r=this.parseName());let o;return(n||r)&&this.expectOptionalToken(T.PAREN_L)&&(o=this.parseName(),this.expectToken(T.COLON),this.expectToken(T.PAREN_R)),n?o?this.node(t,{kind:h.DIRECTIVE_ARGUMENT_COORDINATE,name:i,argumentName:o}):this.node(t,{kind:h.DIRECTIVE_COORDINATE,name:i}):r?o?this.node(t,{kind:h.ARGUMENT_COORDINATE,name:i,fieldName:r,argumentName:o}):this.node(t,{kind:h.MEMBER_COORDINATE,name:i,memberName:r}):this.node(t,{kind:h.TYPE_COORDINATE,name:i})}node(t,n){return this._options.noLocation!==!0&&(n.loc=new Ui(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw ve(this._lexer.source,n.start,`Expected ${Kv(t)}, found ${ls(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===T.NAME&&n.value===t)this.advanceLexer();else throw ve(this._lexer.source,n.start,`Expected "${t}", found ${ls(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===T.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return ve(this._lexer.source,n.start,`Unexpected ${ls(n)}.`)}any(t,n,i){this.expectToken(t);let r=[];for(;!this.expectOptionalToken(i);)r.push(n.call(this));return r}optionalMany(t,n,i){if(this.expectOptionalToken(t)){let r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}return[]}many(t,n,i){this.expectToken(t);let r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}delimitedMany(t,n){this.expectOptionalToken(t);let i=[];do i.push(n.call(this));while(this.expectOptionalToken(t));return i}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(n.kind!==T.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw ve(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function ls(e){let t=e.value;return Kv(e.kind)+(t!=null?` "${t}"`:"")}a(ls,"getTokenDesc");function Kv(e){return Jv(e)?`"${e}"`:e}a(Kv,"getTokenKindDesc");function ze(e,t){let[n,i]=t?[e,t]:[void 0,e],r=" Did you mean ";n&&(r+=n+" ");let o=i.map(u=>`"${u}"`);switch(o.length){case 0:return"";case 1:return r+o[0]+"?";case 2:return r+o[0]+" or "+o[1]+"?"}let s=o.slice(0,5),c=s.pop();return r+s.join(", ")+", or "+c+"?"}a(ze,"didYouMean");function Dm(e){return e}a(Dm,"identityFunc");function pt(e,t){let n=Object.create(null);for(let i of e)n[t(i)]=i;return n}a(pt,"keyMap");function Gi(e,t,n){let i=Object.create(null);for(let r of e)i[t(r)]=n(r);return i}a(Gi,"keyValMap");function dt(e,t){let n=Object.create(null);for(let i of Object.keys(e))n[i]=t(e[i],i);return n}a(dt,"mapValue");function En(e,t){let n=0,i=0;for(;n<e.length&&i<t.length;){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(ps(r)&&ps(o)){let s=0;do++n,s=s*10+r-Rm,r=e.charCodeAt(n);while(ps(r)&&s>0);let c=0;do++i,c=c*10+o-Rm,o=t.charCodeAt(i);while(ps(o)&&c>0);if(s<c)return-1;if(s>c)return 1}else{if(r<o)return-1;if(r>o)return 1;++n,++i}}return e.length-t.length}a(En,"naturalCompare");var Rm=48,dI=57;function ps(e){return!isNaN(e)&&Rm<=e&&e<=dI}a(ps,"isDigit");function Ge(e,t){let n=Object.create(null),i=new Am(e),r=Math.floor(e.length*.4)+1;for(let o of t){let s=i.measure(o,r);s!==void 0&&(n[o]=s)}return Object.keys(n).sort((o,s)=>{let c=n[o]-n[s];return c!==0?c:En(o,s)})}a(Ge,"suggestionList");var Am=class{static{a(this,"LexicalDistance")}constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=Wv(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}measure(t,n){if(this._input===t)return 0;let i=t.toLowerCase();if(this._inputLowerCase===i)return 1;let r=Wv(i),o=this._inputArray;if(r.length<o.length){let p=r;r=o,o=p}let s=r.length,c=o.length;if(s-c>n)return;let u=this._rows;for(let p=0;p<=c;p++)u[0][p]=p;for(let p=1;p<=s;p++){let d=u[(p-1)%3],m=u[p%3],g=m[0]=p;for(let y=1;y<=c;y++){let b=r[p-1]===o[y-1]?0:1,N=Math.min(d[y]+1,m[y-1]+1,d[y-1]+b);if(p>1&&y>1&&r[p-1]===o[y-2]&&r[p-2]===o[y-1]){let L=u[(p-2)%3][y-2];N=Math.min(N,L+1)}N<g&&(g=N),m[y]=N}if(g>n)return}let l=u[s%3][c];return l<=n?l:void 0}};function Wv(e){let t=e.length,n=new Array(t);for(let i=0;i<t;++i)n[i]=e.charCodeAt(i);return n}a(Wv,"stringToArray");function Be(e){if(e==null)return Object.create(null);if(Object.getPrototypeOf(e)===null)return e;let t=Object.create(null);for(let[n,i]of Object.entries(e))t[n]=i;return t}a(Be,"toObjMap");function Hv(e){return`"${e.replace(fI,mI)}"`}a(Hv,"printString");var fI=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function mI(e){return hI[e.charCodeAt(0)]}a(mI,"escapedReplacer");var hI=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var On=Object.freeze({});function ir(e,t,n=Fi){let i=new Map;for(let L of Object.values(h))i.set(L,wn(t,L));let r,o=Array.isArray(e),s=[e],c=-1,u=[],l=e,p,d,m=[],g=[];do{c++;let L=c===s.length,Z=L&&u.length!==0;if(L){if(p=g.length===0?void 0:m[m.length-1],l=d,d=g.pop(),Z)if(o){l=l.slice();let P=0;for(let[H,ce]of u){let re=H-P;ce===null?(l.splice(re,1),P++):l[re]=ce}}else{l={...l};for(let[P,H]of u)l[P]=H}c=r.index,s=r.keys,u=r.edits,o=r.inArray,r=r.prev}else if(d){if(p=o?c:s[c],l=d[p],l==null)continue;m.push(p)}let D;if(!Array.isArray(l)){var y,b;Ci(l)||Q(!1,`Invalid AST Node: ${$(l)}.`);let P=L?(y=i.get(l.kind))===null||y===void 0?void 0:y.leave:(b=i.get(l.kind))===null||b===void 0?void 0:b.enter;if(D=P?.call(t,l,p,d,m,g),D===On)break;if(D===!1){if(!L){m.pop();continue}}else if(D!==void 0&&(u.push([p,D]),!L))if(Ci(D))l=D;else{m.pop();continue}}if(D===void 0&&Z&&u.push([p,l]),L)m.pop();else{var N;r={inArray:o,index:c,keys:s,edits:u,prev:r},o=Array.isArray(l),s=o?l:(N=n[l.kind])!==null&&N!==void 0?N:[],c=-1,u=[],d&&g.push(d),d=l}}while(r!==void 0);return u.length!==0?u[u.length-1][1]:e}a(ir,"visit");function ds(e){let t=new Array(e.length).fill(null),n=Object.create(null);for(let i of Object.values(h)){let r=!1,o=new Array(e.length).fill(void 0),s=new Array(e.length).fill(void 0);for(let u=0;u<e.length;++u){let{enter:l,leave:p}=wn(e[u],i);r||(r=l!=null||p!=null),o[u]=l,s[u]=p}if(!r)continue;let c={enter(...u){let l=u[0];for(let d=0;d<e.length;d++)if(t[d]===null){var p;let m=(p=o[d])===null||p===void 0?void 0:p.apply(e[d],u);if(m===!1)t[d]=l;else if(m===On)t[d]=On;else if(m!==void 0)return m}},leave(...u){let l=u[0];for(let d=0;d<e.length;d++)if(t[d]===null){var p;let m=(p=s[d])===null||p===void 0?void 0:p.apply(e[d],u);if(m===On)t[d]=On;else if(m!==void 0&&m!==!1)return m}else t[d]===l&&(t[d]=null)}};n[i]=c}return n}a(ds,"visitInParallel");function wn(e,t){let n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}a(wn,"getEnterLeaveForKind");function ee(e){return ir(e,yI)}a(ee,"print");var gI=80,yI={Name:{leave:a(e=>e.value,"leave")},Variable:{leave:a(e=>"$"+e.name,"leave")},Document:{leave:a(e=>z(e.definitions,`
80
80
 
81
- `),"leave")},OperationDefinition:{leave(e){let t=$m(e.variableDefinitions)?q(`(
82
- `,L(e.variableDefinitions,`
81
+ `),"leave")},OperationDefinition:{leave(e){let t=jm(e.variableDefinitions)?q(`(
82
+ `,z(e.variableDefinitions,`
83
83
  `),`
84
- )`):q("(",L(e.variableDefinitions,", "),")"),n=q("",e.description,`
85
- `)+L([e.operation,L([e.name,t]),L(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:a(({variable:e,type:t,defaultValue:n,directives:i,description:r})=>q("",r,`
86
- `)+e+": "+t+q(" = ",n)+q(" ",L(i," ")),"leave")},SelectionSet:{leave:a(({selections:e})=>Tt(e),"leave")},Field:{leave({alias:e,name:t,arguments:n,directives:i,selectionSet:r}){let o=q("",e,": ")+t,s=o+q("(",L(n,", "),")");return s.length>J$&&(s=o+q(`(
87
- `,as(L(n,`
84
+ )`):q("(",z(e.variableDefinitions,", "),")"),n=q("",e.description,`
85
+ `)+z([e.operation,z([e.name,t]),z(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:a(({variable:e,type:t,defaultValue:n,directives:i,description:r})=>q("",r,`
86
+ `)+e+": "+t+q(" = ",n)+q(" ",z(i," ")),"leave")},SelectionSet:{leave:a(({selections:e})=>$t(e),"leave")},Field:{leave({alias:e,name:t,arguments:n,directives:i,selectionSet:r}){let o=q("",e,": ")+t,s=o+q("(",z(n,", "),")");return s.length>gI&&(s=o+q(`(
87
+ `,fs(z(n,`
88
88
  `)),`
89
- )`)),L([s,L(i," "),r]," ")}},Argument:{leave:a(({name:e,value:t})=>e+": "+t,"leave")},FragmentSpread:{leave:a(({name:e,directives:t})=>"..."+e+q(" ",L(t," ")),"leave")},InlineFragment:{leave:a(({typeCondition:e,directives:t,selectionSet:n})=>L(["...",q("on ",e),L(t," "),n]," "),"leave")},FragmentDefinition:{leave:a(({name:e,typeCondition:t,variableDefinitions:n,directives:i,selectionSet:r,description:o})=>q("",o,`
90
- `)+`fragment ${e}${q("(",L(n,", "),")")} on ${t} ${q("",L(i," ")," ")}`+r,"leave")},IntValue:{leave:a(({value:e})=>e,"leave")},FloatValue:{leave:a(({value:e})=>e,"leave")},StringValue:{leave:a(({value:e,block:t})=>t?Ev(e):Av(e),"leave")},BooleanValue:{leave:a(({value:e})=>e?"true":"false","leave")},NullValue:{leave:a(()=>"null","leave")},EnumValue:{leave:a(({value:e})=>e,"leave")},ListValue:{leave:a(({values:e})=>"["+L(e,", ")+"]","leave")},ObjectValue:{leave:a(({fields:e})=>"{"+L(e,", ")+"}","leave")},ObjectField:{leave:a(({name:e,value:t})=>e+": "+t,"leave")},Directive:{leave:a(({name:e,arguments:t})=>"@"+e+q("(",L(t,", "),")"),"leave")},NamedType:{leave:a(({name:e})=>e,"leave")},ListType:{leave:a(({type:e})=>"["+e+"]","leave")},NonNullType:{leave:a(({type:e})=>e+"!","leave")},SchemaDefinition:{leave:a(({description:e,directives:t,operationTypes:n})=>q("",e,`
91
- `)+L(["schema",L(t," "),Tt(n)]," "),"leave")},OperationTypeDefinition:{leave:a(({operation:e,type:t})=>e+": "+t,"leave")},ScalarTypeDefinition:{leave:a(({description:e,name:t,directives:n})=>q("",e,`
92
- `)+L(["scalar",t,L(n," ")]," "),"leave")},ObjectTypeDefinition:{leave:a(({description:e,name:t,interfaces:n,directives:i,fields:r})=>q("",e,`
93
- `)+L(["type",t,q("implements ",L(n," & ")),L(i," "),Tt(r)]," "),"leave")},FieldDefinition:{leave:a(({description:e,name:t,arguments:n,type:i,directives:r})=>q("",e,`
94
- `)+t+($m(n)?q(`(
95
- `,as(L(n,`
89
+ )`)),z([s,z(i," "),r]," ")}},Argument:{leave:a(({name:e,value:t})=>e+": "+t,"leave")},FragmentSpread:{leave:a(({name:e,directives:t})=>"..."+e+q(" ",z(t," ")),"leave")},InlineFragment:{leave:a(({typeCondition:e,directives:t,selectionSet:n})=>z(["...",q("on ",e),z(t," "),n]," "),"leave")},FragmentDefinition:{leave:a(({name:e,typeCondition:t,variableDefinitions:n,directives:i,selectionSet:r,description:o})=>q("",o,`
90
+ `)+`fragment ${e}${q("(",z(n,", "),")")} on ${t} ${q("",z(i," ")," ")}`+r,"leave")},IntValue:{leave:a(({value:e})=>e,"leave")},FloatValue:{leave:a(({value:e})=>e,"leave")},StringValue:{leave:a(({value:e,block:t})=>t?Gv(e):Hv(e),"leave")},BooleanValue:{leave:a(({value:e})=>e?"true":"false","leave")},NullValue:{leave:a(()=>"null","leave")},EnumValue:{leave:a(({value:e})=>e,"leave")},ListValue:{leave:a(({values:e})=>"["+z(e,", ")+"]","leave")},ObjectValue:{leave:a(({fields:e})=>"{"+z(e,", ")+"}","leave")},ObjectField:{leave:a(({name:e,value:t})=>e+": "+t,"leave")},Directive:{leave:a(({name:e,arguments:t})=>"@"+e+q("(",z(t,", "),")"),"leave")},NamedType:{leave:a(({name:e})=>e,"leave")},ListType:{leave:a(({type:e})=>"["+e+"]","leave")},NonNullType:{leave:a(({type:e})=>e+"!","leave")},SchemaDefinition:{leave:a(({description:e,directives:t,operationTypes:n})=>q("",e,`
91
+ `)+z(["schema",z(t," "),$t(n)]," "),"leave")},OperationTypeDefinition:{leave:a(({operation:e,type:t})=>e+": "+t,"leave")},ScalarTypeDefinition:{leave:a(({description:e,name:t,directives:n})=>q("",e,`
92
+ `)+z(["scalar",t,z(n," ")]," "),"leave")},ObjectTypeDefinition:{leave:a(({description:e,name:t,interfaces:n,directives:i,fields:r})=>q("",e,`
93
+ `)+z(["type",t,q("implements ",z(n," & ")),z(i," "),$t(r)]," "),"leave")},FieldDefinition:{leave:a(({description:e,name:t,arguments:n,type:i,directives:r})=>q("",e,`
94
+ `)+t+(jm(n)?q(`(
95
+ `,fs(z(n,`
96
96
  `)),`
97
- )`):q("(",L(n,", "),")"))+": "+i+q(" ",L(r," ")),"leave")},InputValueDefinition:{leave:a(({description:e,name:t,type:n,defaultValue:i,directives:r})=>q("",e,`
98
- `)+L([t+": "+n,q("= ",i),L(r," ")]," "),"leave")},InterfaceTypeDefinition:{leave:a(({description:e,name:t,interfaces:n,directives:i,fields:r})=>q("",e,`
99
- `)+L(["interface",t,q("implements ",L(n," & ")),L(i," "),Tt(r)]," "),"leave")},UnionTypeDefinition:{leave:a(({description:e,name:t,directives:n,types:i})=>q("",e,`
100
- `)+L(["union",t,L(n," "),q("= ",L(i," | "))]," "),"leave")},EnumTypeDefinition:{leave:a(({description:e,name:t,directives:n,values:i})=>q("",e,`
101
- `)+L(["enum",t,L(n," "),Tt(i)]," "),"leave")},EnumValueDefinition:{leave:a(({description:e,name:t,directives:n})=>q("",e,`
102
- `)+L([t,L(n," ")]," "),"leave")},InputObjectTypeDefinition:{leave:a(({description:e,name:t,directives:n,fields:i})=>q("",e,`
103
- `)+L(["input",t,L(n," "),Tt(i)]," "),"leave")},DirectiveDefinition:{leave:a(({description:e,name:t,arguments:n,repeatable:i,locations:r})=>q("",e,`
104
- `)+"directive @"+t+($m(n)?q(`(
105
- `,as(L(n,`
97
+ )`):q("(",z(n,", "),")"))+": "+i+q(" ",z(r," ")),"leave")},InputValueDefinition:{leave:a(({description:e,name:t,type:n,defaultValue:i,directives:r})=>q("",e,`
98
+ `)+z([t+": "+n,q("= ",i),z(r," ")]," "),"leave")},InterfaceTypeDefinition:{leave:a(({description:e,name:t,interfaces:n,directives:i,fields:r})=>q("",e,`
99
+ `)+z(["interface",t,q("implements ",z(n," & ")),z(i," "),$t(r)]," "),"leave")},UnionTypeDefinition:{leave:a(({description:e,name:t,directives:n,types:i})=>q("",e,`
100
+ `)+z(["union",t,z(n," "),q("= ",z(i," | "))]," "),"leave")},EnumTypeDefinition:{leave:a(({description:e,name:t,directives:n,values:i})=>q("",e,`
101
+ `)+z(["enum",t,z(n," "),$t(i)]," "),"leave")},EnumValueDefinition:{leave:a(({description:e,name:t,directives:n})=>q("",e,`
102
+ `)+z([t,z(n," ")]," "),"leave")},InputObjectTypeDefinition:{leave:a(({description:e,name:t,directives:n,fields:i})=>q("",e,`
103
+ `)+z(["input",t,z(n," "),$t(i)]," "),"leave")},DirectiveDefinition:{leave:a(({description:e,name:t,arguments:n,repeatable:i,locations:r})=>q("",e,`
104
+ `)+"directive @"+t+(jm(n)?q(`(
105
+ `,fs(z(n,`
106
106
  `)),`
107
- )`):q("(",L(n,", "),")"))+(i?" repeatable":"")+" on "+L(r," | "),"leave")},SchemaExtension:{leave:a(({directives:e,operationTypes:t})=>L(["extend schema",L(e," "),Tt(t)]," "),"leave")},ScalarTypeExtension:{leave:a(({name:e,directives:t})=>L(["extend scalar",e,L(t," ")]," "),"leave")},ObjectTypeExtension:{leave:a(({name:e,interfaces:t,directives:n,fields:i})=>L(["extend type",e,q("implements ",L(t," & ")),L(n," "),Tt(i)]," "),"leave")},InterfaceTypeExtension:{leave:a(({name:e,interfaces:t,directives:n,fields:i})=>L(["extend interface",e,q("implements ",L(t," & ")),L(n," "),Tt(i)]," "),"leave")},UnionTypeExtension:{leave:a(({name:e,directives:t,types:n})=>L(["extend union",e,L(t," "),q("= ",L(n," | "))]," "),"leave")},EnumTypeExtension:{leave:a(({name:e,directives:t,values:n})=>L(["extend enum",e,L(t," "),Tt(n)]," "),"leave")},InputObjectTypeExtension:{leave:a(({name:e,directives:t,fields:n})=>L(["extend input",e,L(t," "),Tt(n)]," "),"leave")},TypeCoordinate:{leave:a(({name:e})=>e,"leave")},MemberCoordinate:{leave:a(({name:e,memberName:t})=>L([e,q(".",t)]),"leave")},ArgumentCoordinate:{leave:a(({name:e,fieldName:t,argumentName:n})=>L([e,q(".",t),q("(",n,":)")]),"leave")},DirectiveCoordinate:{leave:a(({name:e})=>L(["@",e]),"leave")},DirectiveArgumentCoordinate:{leave:a(({name:e,argumentName:t})=>L(["@",e,q("(",t,":)")]),"leave")}};function L(e,t=""){var n;return(n=e?.filter(i=>i).join(t))!==null&&n!==void 0?n:""}a(L,"join");function Tt(e){return q(`{
108
- `,as(L(e,`
107
+ )`):q("(",z(n,", "),")"))+(i?" repeatable":"")+" on "+z(r," | "),"leave")},SchemaExtension:{leave:a(({directives:e,operationTypes:t})=>z(["extend schema",z(e," "),$t(t)]," "),"leave")},ScalarTypeExtension:{leave:a(({name:e,directives:t})=>z(["extend scalar",e,z(t," ")]," "),"leave")},ObjectTypeExtension:{leave:a(({name:e,interfaces:t,directives:n,fields:i})=>z(["extend type",e,q("implements ",z(t," & ")),z(n," "),$t(i)]," "),"leave")},InterfaceTypeExtension:{leave:a(({name:e,interfaces:t,directives:n,fields:i})=>z(["extend interface",e,q("implements ",z(t," & ")),z(n," "),$t(i)]," "),"leave")},UnionTypeExtension:{leave:a(({name:e,directives:t,types:n})=>z(["extend union",e,z(t," "),q("= ",z(n," | "))]," "),"leave")},EnumTypeExtension:{leave:a(({name:e,directives:t,values:n})=>z(["extend enum",e,z(t," "),$t(n)]," "),"leave")},InputObjectTypeExtension:{leave:a(({name:e,directives:t,fields:n})=>z(["extend input",e,z(t," "),$t(n)]," "),"leave")},TypeCoordinate:{leave:a(({name:e})=>e,"leave")},MemberCoordinate:{leave:a(({name:e,memberName:t})=>z([e,q(".",t)]),"leave")},ArgumentCoordinate:{leave:a(({name:e,fieldName:t,argumentName:n})=>z([e,q(".",t),q("(",n,":)")]),"leave")},DirectiveCoordinate:{leave:a(({name:e})=>z(["@",e]),"leave")},DirectiveArgumentCoordinate:{leave:a(({name:e,argumentName:t})=>z(["@",e,q("(",t,":)")]),"leave")}};function z(e,t=""){var n;return(n=e?.filter(i=>i).join(t))!==null&&n!==void 0?n:""}a(z,"join");function $t(e){return q(`{
108
+ `,fs(z(e,`
109
109
  `)),`
110
- }`)}a(Tt,"block");function q(e,t,n=""){return t!=null&&t!==""?e+t+n:""}a(q,"wrap");function as(e){return q(" ",e.replace(/\n/g,`
111
- `))}a(as,"indent");function $m(e){var t;return(t=e?.some(n=>n.includes(`
112
- `)))!==null&&t!==void 0?t:!1}a($m,"hasMultilineItems");function rr(e,t){switch(e.kind){case h.NULL:return null;case h.INT:return parseInt(e.value,10);case h.FLOAT:return parseFloat(e.value);case h.STRING:case h.ENUM:case h.BOOLEAN:return e.value;case h.LIST:return e.values.map(n=>rr(n,t));case h.OBJECT:return Ci(e.fields,n=>n.name.value,n=>rr(n.value,t));case h.VARIABLE:return t?.[e.name.value]}}a(rr,"valueFromASTUntyped");function nt(e){if(e!=null||Q(!1,"Must provide name."),typeof e=="string"||Q(!1,"Expected name to be a string."),e.length===0)throw new b("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!es(e.charCodeAt(t)))throw new b(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!Pi(e.charCodeAt(0)))throw new b(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}a(nt,"assertName");function Im(e){if(e==="true"||e==="false"||e==="null")throw new b(`Enum values cannot be named: ${e}`);return nt(e)}a(Im,"assertEnumValueName");function En(e){return xe(e)||j(e)||M(e)||ye(e)||te(e)||V(e)||J(e)||A(e)}a(En,"isType");function xe(e){return Ze(e,we)}a(xe,"isScalarType");function j(e){return Ze(e,be)}a(j,"isObjectType");function M(e){return Ze(e,Je)}a(M,"isInterfaceType");function ye(e){return Ze(e,Rt)}a(ye,"isUnionType");function te(e){return Ze(e,Pe)}a(te,"isEnumType");function V(e){return Ze(e,Qe)}a(V,"isInputObjectType");function J(e){return Ze(e,ue)}a(J,"isListType");function A(e){return Ze(e,G)}a(A,"isNonNullType");function Re(e){return xe(e)||te(e)||V(e)||Vi(e)&&Re(e.ofType)}a(Re,"isInputType");function Vt(e){return xe(e)||j(e)||M(e)||ye(e)||te(e)||Vi(e)&&Vt(e.ofType)}a(Vt,"isOutputType");function de(e){return xe(e)||te(e)}a(de,"isLeafType");function ft(e){return j(e)||M(e)||ye(e)}a(ft,"isCompositeType");function qe(e){return M(e)||ye(e)}a(qe,"isAbstractType");var ue=class{static{a(this,"GraphQLList")}constructor(t){En(t)||Q(!1,`Expected ${$(t)} to be a GraphQL type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}},G=class{static{a(this,"GraphQLNonNull")}constructor(t){Mi(t)||Q(!1,`Expected ${$(t)} to be a GraphQL nullable type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}};function Vi(e){return J(e)||A(e)}a(Vi,"isWrappingType");function Mi(e){return En(e)&&!A(e)}a(Mi,"isNullableType");function nr(e){if(e)return A(e)?e.ofType:e}a(nr,"getNullableType");function ir(e){return xe(e)||j(e)||M(e)||ye(e)||te(e)||V(e)}a(ir,"isNamedType");function le(e){if(e){let t=e;for(;Vi(t);)t=t.ofType;return t}}a(le,"getNamedType");function cs(e){return typeof e=="function"?e():e}a(cs,"resolveReadonlyArrayThunk");function us(e){return typeof e=="function"?e():e}a(us,"resolveObjMapThunk");var we=class{static{a(this,"GraphQLScalarType")}constructor(t){var n,i,r,o;let s=(n=t.parseValue)!==null&&n!==void 0?n:_m;this.name=nt(t.name),this.description=t.description,this.specifiedByURL=t.specifiedByURL,this.serialize=(i=t.serialize)!==null&&i!==void 0?i:_m,this.parseValue=s,this.parseLiteral=(r=t.parseLiteral)!==null&&r!==void 0?r:(c,u)=>s(rr(c,u)),this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(o=t.extensionASTNodes)!==null&&o!==void 0?o:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||Q(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${$(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||Q(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||Q(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}},be=class{static{a(this,"GraphQLObjectType")}constructor(t){var n;this.name=nt(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>Pv(t),this._interfaces=()=>Lv(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||Q(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${$(t.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Uv(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};function Lv(e){var t;let n=cs((t=e.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||Q(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}a(Lv,"defineInterfaces");function Pv(e){let t=us(e.fields);return In(t)||Q(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),dt(t,(n,i)=>{var r;In(n)||Q(!1,`${e.name}.${i} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||Q(!1,`${e.name}.${i} field resolver must be a function if provided, but got: ${$(n.resolve)}.`);let o=(r=n.args)!==null&&r!==void 0?r:{};return In(o)||Q(!1,`${e.name}.${i} args must be an object with argument names as keys.`),{name:nt(i),description:n.description,type:n.type,args:Em(o),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:Be(n.extensions),astNode:n.astNode}})}a(Pv,"defineFieldMap");function Em(e){return Object.entries(e).map(([t,n])=>({name:nt(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Be(n.extensions),astNode:n.astNode}))}a(Em,"defineArguments");function In(e){return Oe(e)&&!Array.isArray(e)}a(In,"isPlainObj");function Uv(e){return dt(e,t=>({description:t.description,type:t.type,args:Om(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}a(Uv,"fieldsToFieldsConfig");function Om(e){return Ci(e,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}a(Om,"argsToArgsConfig");function Mt(e){return A(e.type)&&e.defaultValue===void 0}a(Mt,"isRequiredArgument");var Je=class{static{a(this,"GraphQLInterfaceType")}constructor(t){var n;this.name=nt(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=Pv.bind(void 0,t),this._interfaces=Lv.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Q(!1,`${this.name} must provide "resolveType" as a function, but got: ${$(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Uv(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}},Rt=class{static{a(this,"GraphQLUnionType")}constructor(t){var n;this.name=nt(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=q$.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Q(!1,`${this.name} must provide "resolveType" as a function, but got: ${$(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};function q$(e){let t=cs(e.types);return Array.isArray(t)||Q(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}a(q$,"defineTypes");var Pe=class{static{a(this,"GraphQLEnumType")}constructor(t){var n;this.name=nt(t.name),this.description=t.description,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=typeof t.values=="function"?t.values:zv(this.name,t.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return typeof this._values=="function"&&(this._values=zv(this.name,this._values())),this._values}getValue(t){return this._nameLookup===null&&(this._nameLookup=pt(this.getValues(),n=>n.name)),this._nameLookup[t]}serialize(t){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(i=>[i.value,i])));let n=this._valueLookup.get(t);if(n===void 0)throw new b(`Enum "${this.name}" cannot represent value: ${$(t)}`);return n.name}parseValue(t){if(typeof t!="string"){let i=$(t);throw new b(`Enum "${this.name}" cannot represent non-string value: ${i}.`+ss(this,i))}let n=this.getValue(t);if(n==null)throw new b(`Value "${t}" does not exist in "${this.name}" enum.`+ss(this,t));return n.value}parseLiteral(t,n){if(t.kind!==h.ENUM){let r=ee(t);throw new b(`Enum "${this.name}" cannot represent non-enum value: ${r}.`+ss(this,r),{nodes:t})}let i=this.getValue(t.value);if(i==null){let r=ee(t);throw new b(`Value "${r}" does not exist in "${this.name}" enum.`+ss(this,r),{nodes:t})}return i.value}toConfig(){let t=Ci(this.getValues(),n=>n.name,n=>({description:n.description,value:n.value,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};function ss(e,t){let n=e.getValues().map(r=>r.name),i=Ge(t,n);return Le("the enum value",i)}a(ss,"didYouMeanEnumValue");function zv(e,t){return In(t)||Q(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([n,i])=>(In(i)||Q(!1,`${e}.${n} must refer to an object with a "value" key representing an internal value but got: ${$(i)}.`),{name:Im(n),description:i.description,value:i.value!==void 0?i.value:n,deprecationReason:i.deprecationReason,extensions:Be(i.extensions),astNode:i.astNode}))}a(zv,"defineEnumValues");var Qe=class{static{a(this,"GraphQLInputObjectType")}constructor(t){var n,i;this.name=nt(t.name),this.description=t.description,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this.isOneOf=(i=t.isOneOf)!==null&&i!==void 0?i:!1,this._fields=Y$.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){let t=dt(this.getFields(),n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}};function Y$(e){let t=us(e.fields);return In(t)||Q(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),dt(t,(n,i)=>(!("resolve"in n)||Q(!1,`${e.name}.${i} field has a resolve property, but Input Types cannot define resolvers.`),{name:nt(i),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Be(n.extensions),astNode:n.astNode}))}a(Y$,"defineInputFieldMap");function On(e){return A(e.type)&&e.defaultValue===void 0}a(On,"isRequiredInputField");function Zi(e,t){return e===t?!0:A(e)&&A(t)||J(e)&&J(t)?Zi(e.ofType,t.ofType):!1}a(Zi,"isEqualType");function Zt(e,t,n){return t===n?!0:A(n)?A(t)?Zt(e,t.ofType,n.ofType):!1:A(t)?Zt(e,t.ofType,n):J(n)?J(t)?Zt(e,t.ofType,n.ofType):!1:J(t)?!1:qe(n)&&(M(t)||j(t))&&e.isSubType(n,t)}a(Zt,"isTypeSubTypeOf");function ls(e,t,n){return t===n?!0:qe(t)?qe(n)?e.getPossibleTypes(t).some(i=>e.isSubType(n,i)):e.isSubType(t,n):qe(n)?e.isSubType(n,t):!1}a(ls,"doTypesOverlap");var Gi=2147483647,Bi=-2147483648,Nn=new we({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){let t=Ji(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isInteger(n))throw new b(`Int cannot represent non-integer value: ${$(t)}`);if(n>Gi||n<Bi)throw new b("Int cannot represent non 32-bit signed integer value: "+$(t));return n},parseValue(e){if(typeof e!="number"||!Number.isInteger(e))throw new b(`Int cannot represent non-integer value: ${$(e)}`);if(e>Gi||e<Bi)throw new b(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==h.INT)throw new b(`Int cannot represent non-integer value: ${ee(e)}`,{nodes:e});let t=parseInt(e.value,10);if(t>Gi||t<Bi)throw new b(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),kn=new we({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){let t=Ji(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isFinite(n))throw new b(`Float cannot represent non numeric value: ${$(t)}`);return n},parseValue(e){if(typeof e!="number"||!Number.isFinite(e))throw new b(`Float cannot represent non numeric value: ${$(e)}`);return e},parseLiteral(e){if(e.kind!==h.FLOAT&&e.kind!==h.INT)throw new b(`Float cannot represent non numeric value: ${ee(e)}`,e);return parseFloat(e.value)}}),ae=new we({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){let t=Ji(e);if(typeof t=="string")return t;if(typeof t=="boolean")return t?"true":"false";if(typeof t=="number"&&Number.isFinite(t))return t.toString();throw new b(`String cannot represent value: ${$(e)}`)},parseValue(e){if(typeof e!="string")throw new b(`String cannot represent a non string value: ${$(e)}`);return e},parseLiteral(e){if(e.kind!==h.STRING)throw new b(`String cannot represent a non string value: ${ee(e)}`,{nodes:e});return e.value}}),$e=new we({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let t=Ji(e);if(typeof t=="boolean")return t;if(Number.isFinite(t))return t!==0;throw new b(`Boolean cannot represent a non boolean value: ${$(t)}`)},parseValue(e){if(typeof e!="boolean")throw new b(`Boolean cannot represent a non boolean value: ${$(e)}`);return e},parseLiteral(e){if(e.kind!==h.BOOLEAN)throw new b(`Boolean cannot represent a non boolean value: ${ee(e)}`,{nodes:e});return e.value}}),or=new we({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){let t=Ji(e);if(typeof t=="string")return t;if(Number.isInteger(t))return String(t);throw new b(`ID cannot represent value: ${$(e)}`)},parseValue(e){if(typeof e=="string")return e;if(typeof e=="number"&&Number.isInteger(e))return e.toString();throw new b(`ID cannot represent value: ${$(e)}`)},parseLiteral(e){if(e.kind!==h.STRING&&e.kind!==h.INT)throw new b("ID cannot represent a non-string and non-integer value: "+ee(e),{nodes:e});return e.value}}),Tr=Object.freeze([ae,Nn,kn,$e,or]);function wn(e){return Tr.some(({name:t})=>e.name===t)}a(wn,"isSpecifiedScalarType");function Ji(e){if(Oe(e)){if(typeof e.valueOf=="function"){let t=e.valueOf();if(!Oe(t))return t}if(typeof e.toJSON=="function")return e.toJSON()}return e}a(Ji,"serializeObject");function Dn(e){return Ze(e,Ye)}a(Dn,"isDirective");var Ye=class{static{a(this,"GraphQLDirective")}constructor(t){var n,i;this.name=nt(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=Be(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||Q(!1,`@${t.name} locations must be an Array.`);let r=(i=t.args)!==null&&i!==void 0?i:{};Oe(r)&&!Array.isArray(r)||Q(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=Em(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:Om(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}},Qi=new Ye({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[C.FIELD,C.FRAGMENT_SPREAD,C.INLINE_FRAGMENT],args:{if:{type:new G($e),description:"Included when true."}}}),qi=new Ye({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[C.FIELD,C.FRAGMENT_SPREAD,C.INLINE_FRAGMENT],args:{if:{type:new G($e),description:"Skipped when true."}}}),Nm="No longer supported",$r=new Ye({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[C.FIELD_DEFINITION,C.ARGUMENT_DEFINITION,C.INPUT_FIELD_DEFINITION,C.ENUM_VALUE],args:{reason:{type:ae,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:Nm}}}),Yi=new Ye({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[C.SCALAR],args:{url:{type:new G(ae),description:"The URL that specifies the behavior of this scalar."}}}),Ki=new Ye({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[C.INPUT_OBJECT],args:{}}),Ke=Object.freeze([Qi,qi,$r,Yi,Ki]);function ps(e){return Ke.some(({name:t})=>t===e.name)}a(ps,"isSpecifiedDirective");function Rn(e){return typeof e=="object"&&typeof e?.[Symbol.iterator]=="function"}a(Rn,"isIterableObject");function jt(e,t){if(A(t)){let n=jt(e,t.ofType);return n?.kind===h.NULL?null:n}if(e===null)return{kind:h.NULL};if(e===void 0)return null;if(J(t)){let n=t.ofType;if(Rn(e)){let i=[];for(let r of e){let o=jt(r,n);o!=null&&i.push(o)}return{kind:h.LIST,values:i}}return jt(e,n)}if(V(t)){if(!Oe(e))return null;let n=[];for(let i of Object.values(t.getFields())){let r=jt(e[i.name],i.type);r&&n.push({kind:h.OBJECT_FIELD,name:{kind:h.NAME,value:i.name},value:r})}return{kind:h.OBJECT,fields:n}}if(de(t)){let n=t.serialize(e);if(n==null)return null;if(typeof n=="boolean")return{kind:h.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){let i=String(n);return Fv.test(i)?{kind:h.INT,value:i}:{kind:h.FLOAT,value:i}}if(typeof n=="string")return te(t)?{kind:h.ENUM,value:n}:t===or&&Fv.test(n)?{kind:h.INT,value:n}:{kind:h.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${$(n)}.`)}ge(!1,"Unexpected input type: "+$(t))}a(jt,"astFromValue");var Fv=/^-?(?:0|[1-9][0-9]*)$/;var Wi=new be({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:a(()=>({description:{type:ae,resolve:a(e=>e.description,"resolve")},types:{description:"A list of all types supported by this server.",type:new G(new ue(new G(bt))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new G(bt),resolve:a(e=>e.getQueryType(),"resolve")},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:bt,resolve:a(e=>e.getMutationType(),"resolve")},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:bt,resolve:a(e=>e.getSubscriptionType(),"resolve")},directives:{description:"A list of all directives supported by this server.",type:new G(new ue(new G(km))),resolve:a(e=>e.getDirectives(),"resolve")}}),"fields")}),km=new be({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
110
+ }`)}a($t,"block");function q(e,t,n=""){return t!=null&&t!==""?e+t+n:""}a(q,"wrap");function fs(e){return q(" ",e.replace(/\n/g,`
111
+ `))}a(fs,"indent");function jm(e){var t;return(t=e?.some(n=>n.includes(`
112
+ `)))!==null&&t!==void 0?t:!1}a(jm,"hasMultilineItems");function or(e,t){switch(e.kind){case h.NULL:return null;case h.INT:return parseInt(e.value,10);case h.FLOAT:return parseFloat(e.value);case h.STRING:case h.ENUM:case h.BOOLEAN:return e.value;case h.LIST:return e.values.map(n=>or(n,t));case h.OBJECT:return Gi(e.fields,n=>n.name.value,n=>or(n.value,t));case h.VARIABLE:return t?.[e.name.value]}}a(or,"valueFromASTUntyped");function nt(e){if(e!=null||Q(!1,"Must provide name."),typeof e=="string"||Q(!1,"Expected name to be a string."),e.length===0)throw new x("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!ss(e.charCodeAt(t)))throw new x(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!Vi(e.charCodeAt(0)))throw new x(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}a(nt,"assertName");function Lm(e){if(e==="true"||e==="false"||e==="null")throw new x(`Enum values cannot be named: ${e}`);return nt(e)}a(Lm,"assertEnumValueName");function kn(e){return be(e)||A(e)||M(e)||ye(e)||te(e)||V(e)||J(e)||j(e)}a(kn,"isType");function be(e){return Ze(e,ke)}a(be,"isScalarType");function A(e){return Ze(e,xe)}a(A,"isObjectType");function M(e){return Ze(e,Je)}a(M,"isInterfaceType");function ye(e){return Ze(e,At)}a(ye,"isUnionType");function te(e){return Ze(e,Pe)}a(te,"isEnumType");function V(e){return Ze(e,Qe)}a(V,"isInputObjectType");function J(e){return Ze(e,ue)}a(J,"isListType");function j(e){return Ze(e,G)}a(j,"isNonNullType");function Re(e){return be(e)||te(e)||V(e)||Bi(e)&&Re(e.ofType)}a(Re,"isInputType");function Zt(e){return be(e)||A(e)||M(e)||ye(e)||te(e)||Bi(e)&&Zt(e.ofType)}a(Zt,"isOutputType");function de(e){return be(e)||te(e)}a(de,"isLeafType");function ft(e){return A(e)||M(e)||ye(e)}a(ft,"isCompositeType");function qe(e){return M(e)||ye(e)}a(qe,"isAbstractType");var ue=class{static{a(this,"GraphQLList")}constructor(t){kn(t)||Q(!1,`Expected ${$(t)} to be a GraphQL type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}},G=class{static{a(this,"GraphQLNonNull")}constructor(t){Ji(t)||Q(!1,`Expected ${$(t)} to be a GraphQL nullable type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}};function Bi(e){return J(e)||j(e)}a(Bi,"isWrappingType");function Ji(e){return kn(e)&&!j(e)}a(Ji,"isNullableType");function ar(e){if(e)return j(e)?e.ofType:e}a(ar,"getNullableType");function sr(e){return be(e)||A(e)||M(e)||ye(e)||te(e)||V(e)}a(sr,"isNamedType");function le(e){if(e){let t=e;for(;Bi(t);)t=t.ofType;return t}}a(le,"getNamedType");function hs(e){return typeof e=="function"?e():e}a(hs,"resolveReadonlyArrayThunk");function gs(e){return typeof e=="function"?e():e}a(gs,"resolveObjMapThunk");var ke=class{static{a(this,"GraphQLScalarType")}constructor(t){var n,i,r,o;let s=(n=t.parseValue)!==null&&n!==void 0?n:Dm;this.name=nt(t.name),this.description=t.description,this.specifiedByURL=t.specifiedByURL,this.serialize=(i=t.serialize)!==null&&i!==void 0?i:Dm,this.parseValue=s,this.parseLiteral=(r=t.parseLiteral)!==null&&r!==void 0?r:(c,u)=>s(or(c,u)),this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(o=t.extensionASTNodes)!==null&&o!==void 0?o:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||Q(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${$(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||Q(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||Q(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}},xe=class{static{a(this,"GraphQLObjectType")}constructor(t){var n;this.name=nt(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>tx(t),this._interfaces=()=>ex(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||Q(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${$(t.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:rx(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};function ex(e){var t;let n=hs((t=e.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||Q(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}a(ex,"defineInterfaces");function tx(e){let t=gs(e.fields);return Nn(t)||Q(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),dt(t,(n,i)=>{var r;Nn(n)||Q(!1,`${e.name}.${i} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||Q(!1,`${e.name}.${i} field resolver must be a function if provided, but got: ${$(n.resolve)}.`);let o=(r=n.args)!==null&&r!==void 0?r:{};return Nn(o)||Q(!1,`${e.name}.${i} args must be an object with argument names as keys.`),{name:nt(i),description:n.description,type:n.type,args:zm(o),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:Be(n.extensions),astNode:n.astNode}})}a(tx,"defineFieldMap");function zm(e){return Object.entries(e).map(([t,n])=>({name:nt(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Be(n.extensions),astNode:n.astNode}))}a(zm,"defineArguments");function Nn(e){return Oe(e)&&!Array.isArray(e)}a(Nn,"isPlainObj");function rx(e){return dt(e,t=>({description:t.description,type:t.type,args:Pm(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}a(rx,"fieldsToFieldsConfig");function Pm(e){return Gi(e,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}a(Pm,"argsToArgsConfig");function Gt(e){return j(e.type)&&e.defaultValue===void 0}a(Gt,"isRequiredArgument");var Je=class{static{a(this,"GraphQLInterfaceType")}constructor(t){var n;this.name=nt(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=tx.bind(void 0,t),this._interfaces=ex.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Q(!1,`${this.name} must provide "resolveType" as a function, but got: ${$(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:rx(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}},At=class{static{a(this,"GraphQLUnionType")}constructor(t){var n;this.name=nt(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=vI.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Q(!1,`${this.name} must provide "resolveType" as a function, but got: ${$(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};function vI(e){let t=hs(e.types);return Array.isArray(t)||Q(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}a(vI,"defineTypes");var Pe=class{static{a(this,"GraphQLEnumType")}constructor(t){var n;this.name=nt(t.name),this.description=t.description,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=typeof t.values=="function"?t.values:Xv(this.name,t.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return typeof this._values=="function"&&(this._values=Xv(this.name,this._values())),this._values}getValue(t){return this._nameLookup===null&&(this._nameLookup=pt(this.getValues(),n=>n.name)),this._nameLookup[t]}serialize(t){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(i=>[i.value,i])));let n=this._valueLookup.get(t);if(n===void 0)throw new x(`Enum "${this.name}" cannot represent value: ${$(t)}`);return n.name}parseValue(t){if(typeof t!="string"){let i=$(t);throw new x(`Enum "${this.name}" cannot represent non-string value: ${i}.`+ms(this,i))}let n=this.getValue(t);if(n==null)throw new x(`Value "${t}" does not exist in "${this.name}" enum.`+ms(this,t));return n.value}parseLiteral(t,n){if(t.kind!==h.ENUM){let r=ee(t);throw new x(`Enum "${this.name}" cannot represent non-enum value: ${r}.`+ms(this,r),{nodes:t})}let i=this.getValue(t.value);if(i==null){let r=ee(t);throw new x(`Value "${r}" does not exist in "${this.name}" enum.`+ms(this,r),{nodes:t})}return i.value}toConfig(){let t=Gi(this.getValues(),n=>n.name,n=>({description:n.description,value:n.value,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};function ms(e,t){let n=e.getValues().map(r=>r.name),i=Ge(t,n);return ze("the enum value",i)}a(ms,"didYouMeanEnumValue");function Xv(e,t){return Nn(t)||Q(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([n,i])=>(Nn(i)||Q(!1,`${e}.${n} must refer to an object with a "value" key representing an internal value but got: ${$(i)}.`),{name:Lm(n),description:i.description,value:i.value!==void 0?i.value:n,deprecationReason:i.deprecationReason,extensions:Be(i.extensions),astNode:i.astNode}))}a(Xv,"defineEnumValues");var Qe=class{static{a(this,"GraphQLInputObjectType")}constructor(t){var n,i;this.name=nt(t.name),this.description=t.description,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this.isOneOf=(i=t.isOneOf)!==null&&i!==void 0?i:!1,this._fields=xI.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){let t=dt(this.getFields(),n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}};function xI(e){let t=gs(e.fields);return Nn(t)||Q(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),dt(t,(n,i)=>(!("resolve"in n)||Q(!1,`${e.name}.${i} field has a resolve property, but Input Types cannot define resolvers.`),{name:nt(i),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Be(n.extensions),astNode:n.astNode}))}a(xI,"defineInputFieldMap");function Dn(e){return j(e.type)&&e.defaultValue===void 0}a(Dn,"isRequiredInputField");function Qi(e,t){return e===t?!0:j(e)&&j(t)||J(e)&&J(t)?Qi(e.ofType,t.ofType):!1}a(Qi,"isEqualType");function Bt(e,t,n){return t===n?!0:j(n)?j(t)?Bt(e,t.ofType,n.ofType):!1:j(t)?Bt(e,t.ofType,n):J(n)?J(t)?Bt(e,t.ofType,n.ofType):!1:J(t)?!1:qe(n)&&(M(t)||A(t))&&e.isSubType(n,t)}a(Bt,"isTypeSubTypeOf");function ys(e,t,n){return t===n?!0:qe(t)?qe(n)?e.getPossibleTypes(t).some(i=>e.isSubType(n,i)):e.isSubType(t,n):qe(n)?e.isSubType(n,t):!1}a(ys,"doTypesOverlap");var qi=2147483647,Yi=-2147483648,Rn=new ke({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){let t=Ki(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isInteger(n))throw new x(`Int cannot represent non-integer value: ${$(t)}`);if(n>qi||n<Yi)throw new x("Int cannot represent non 32-bit signed integer value: "+$(t));return n},parseValue(e){if(typeof e!="number"||!Number.isInteger(e))throw new x(`Int cannot represent non-integer value: ${$(e)}`);if(e>qi||e<Yi)throw new x(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==h.INT)throw new x(`Int cannot represent non-integer value: ${ee(e)}`,{nodes:e});let t=parseInt(e.value,10);if(t>qi||t<Yi)throw new x(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),An=new ke({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){let t=Ki(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isFinite(n))throw new x(`Float cannot represent non numeric value: ${$(t)}`);return n},parseValue(e){if(typeof e!="number"||!Number.isFinite(e))throw new x(`Float cannot represent non numeric value: ${$(e)}`);return e},parseLiteral(e){if(e.kind!==h.FLOAT&&e.kind!==h.INT)throw new x(`Float cannot represent non numeric value: ${ee(e)}`,e);return parseFloat(e.value)}}),ae=new ke({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){let t=Ki(e);if(typeof t=="string")return t;if(typeof t=="boolean")return t?"true":"false";if(typeof t=="number"&&Number.isFinite(t))return t.toString();throw new x(`String cannot represent value: ${$(e)}`)},parseValue(e){if(typeof e!="string")throw new x(`String cannot represent a non string value: ${$(e)}`);return e},parseLiteral(e){if(e.kind!==h.STRING)throw new x(`String cannot represent a non string value: ${ee(e)}`,{nodes:e});return e.value}}),$e=new ke({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let t=Ki(e);if(typeof t=="boolean")return t;if(Number.isFinite(t))return t!==0;throw new x(`Boolean cannot represent a non boolean value: ${$(t)}`)},parseValue(e){if(typeof e!="boolean")throw new x(`Boolean cannot represent a non boolean value: ${$(e)}`);return e},parseLiteral(e){if(e.kind!==h.BOOLEAN)throw new x(`Boolean cannot represent a non boolean value: ${ee(e)}`,{nodes:e});return e.value}}),cr=new ke({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){let t=Ki(e);if(typeof t=="string")return t;if(Number.isInteger(t))return String(t);throw new x(`ID cannot represent value: ${$(e)}`)},parseValue(e){if(typeof e=="string")return e;if(typeof e=="number"&&Number.isInteger(e))return e.toString();throw new x(`ID cannot represent value: ${$(e)}`)},parseLiteral(e){if(e.kind!==h.STRING&&e.kind!==h.INT)throw new x("ID cannot represent a non-string and non-integer value: "+ee(e),{nodes:e});return e.value}}),Er=Object.freeze([ae,Rn,An,$e,cr]);function jn(e){return Er.some(({name:t})=>e.name===t)}a(jn,"isSpecifiedScalarType");function Ki(e){if(Oe(e)){if(typeof e.valueOf=="function"){let t=e.valueOf();if(!Oe(t))return t}if(typeof e.toJSON=="function")return e.toJSON()}return e}a(Ki,"serializeObject");function Ln(e){return Ze(e,Ye)}a(Ln,"isDirective");var Ye=class{static{a(this,"GraphQLDirective")}constructor(t){var n,i;this.name=nt(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=Be(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||Q(!1,`@${t.name} locations must be an Array.`);let r=(i=t.args)!==null&&i!==void 0?i:{};Oe(r)&&!Array.isArray(r)||Q(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=zm(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:Pm(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}},Wi=new Ye({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[C.FIELD,C.FRAGMENT_SPREAD,C.INLINE_FRAGMENT],args:{if:{type:new G($e),description:"Included when true."}}}),Hi=new Ye({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[C.FIELD,C.FRAGMENT_SPREAD,C.INLINE_FRAGMENT],args:{if:{type:new G($e),description:"Skipped when true."}}}),Um="No longer supported",Or=new Ye({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[C.FIELD_DEFINITION,C.ARGUMENT_DEFINITION,C.INPUT_FIELD_DEFINITION,C.ENUM_VALUE],args:{reason:{type:ae,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:Um}}}),Xi=new Ye({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[C.SCALAR],args:{url:{type:new G(ae),description:"The URL that specifies the behavior of this scalar."}}}),eo=new Ye({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[C.INPUT_OBJECT],args:{}}),Ke=Object.freeze([Wi,Hi,Or,Xi,eo]);function vs(e){return Ke.some(({name:t})=>t===e.name)}a(vs,"isSpecifiedDirective");function zn(e){return typeof e=="object"&&typeof e?.[Symbol.iterator]=="function"}a(zn,"isIterableObject");function jt(e,t){if(j(t)){let n=jt(e,t.ofType);return n?.kind===h.NULL?null:n}if(e===null)return{kind:h.NULL};if(e===void 0)return null;if(J(t)){let n=t.ofType;if(zn(e)){let i=[];for(let r of e){let o=jt(r,n);o!=null&&i.push(o)}return{kind:h.LIST,values:i}}return jt(e,n)}if(V(t)){if(!Oe(e))return null;let n=[];for(let i of Object.values(t.getFields())){let r=jt(e[i.name],i.type);r&&n.push({kind:h.OBJECT_FIELD,name:{kind:h.NAME,value:i.name},value:r})}return{kind:h.OBJECT,fields:n}}if(de(t)){let n=t.serialize(e);if(n==null)return null;if(typeof n=="boolean")return{kind:h.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){let i=String(n);return nx.test(i)?{kind:h.INT,value:i}:{kind:h.FLOAT,value:i}}if(typeof n=="string")return te(t)?{kind:h.ENUM,value:n}:t===cr&&nx.test(n)?{kind:h.INT,value:n}:{kind:h.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${$(n)}.`)}ge(!1,"Unexpected input type: "+$(t))}a(jt,"astFromValue");var nx=/^-?(?:0|[1-9][0-9]*)$/;var to=new xe({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:a(()=>({description:{type:ae,resolve:a(e=>e.description,"resolve")},types:{description:"A list of all types supported by this server.",type:new G(new ue(new G(xt))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new G(xt),resolve:a(e=>e.getQueryType(),"resolve")},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:xt,resolve:a(e=>e.getMutationType(),"resolve")},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:xt,resolve:a(e=>e.getSubscriptionType(),"resolve")},directives:{description:"A list of all directives supported by this server.",type:new G(new ue(new G(Fm))),resolve:a(e=>e.getDirectives(),"resolve")}}),"fields")}),Fm=new xe({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
113
113
 
114
- In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:a(()=>({name:{type:new G(ae),resolve:a(e=>e.name,"resolve")},description:{type:ae,resolve:a(e=>e.description,"resolve")},isRepeatable:{type:new G($e),resolve:a(e=>e.isRepeatable,"resolve")},locations:{type:new G(new ue(new G(wm))),resolve:a(e=>e.locations,"resolve")},args:{type:new G(new ue(new G(Xi))),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}}}),"fields")}),wm=new Pe({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:C.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:C.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:C.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:C.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:C.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:C.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:C.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:C.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:C.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:C.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:C.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:C.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:C.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:C.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:C.UNION,description:"Location adjacent to a union definition."},ENUM:{value:C.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:C.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:C.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:C.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),bt=new be({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:a(()=>({kind:{type:new G(jm),resolve(e){if(xe(e))return Ne.SCALAR;if(j(e))return Ne.OBJECT;if(M(e))return Ne.INTERFACE;if(ye(e))return Ne.UNION;if(te(e))return Ne.ENUM;if(V(e))return Ne.INPUT_OBJECT;if(J(e))return Ne.LIST;if(A(e))return Ne.NON_NULL;ge(!1,`Unexpected type: "${$(e)}".`)}},name:{type:ae,resolve:a(e=>"name"in e?e.name:void 0,"resolve")},description:{type:ae,resolve:a(e=>"description"in e?e.description:void 0,"resolve")},specifiedByURL:{type:ae,resolve:a(e=>"specifiedByURL"in e?e.specifiedByURL:void 0,"resolve")},fields:{type:new ue(new G(Dm)),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(j(e)||M(e)){let n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},interfaces:{type:new ue(new G(bt)),resolve(e){if(j(e)||M(e))return e.getInterfaces()}},possibleTypes:{type:new ue(new G(bt)),resolve(e,t,n,{schema:i}){if(qe(e))return i.getPossibleTypes(e)}},enumValues:{type:new ue(new G(Rm)),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(te(e)){let n=e.getValues();return t?n:n.filter(i=>i.deprecationReason==null)}}},inputFields:{type:new ue(new G(Xi)),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(V(e)){let n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},ofType:{type:bt,resolve:a(e=>"ofType"in e?e.ofType:void 0,"resolve")},isOneOf:{type:$e,resolve:a(e=>{if(V(e))return e.isOneOf},"resolve")}}),"fields")}),Dm=new be({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:a(()=>({name:{type:new G(ae),resolve:a(e=>e.name,"resolve")},description:{type:ae,resolve:a(e=>e.description,"resolve")},args:{type:new G(new ue(new G(Xi))),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}},type:{type:new G(bt),resolve:a(e=>e.type,"resolve")},isDeprecated:{type:new G($e),resolve:a(e=>e.deprecationReason!=null,"resolve")},deprecationReason:{type:ae,resolve:a(e=>e.deprecationReason,"resolve")}}),"fields")}),Xi=new be({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:a(()=>({name:{type:new G(ae),resolve:a(e=>e.name,"resolve")},description:{type:ae,resolve:a(e=>e.description,"resolve")},type:{type:new G(bt),resolve:a(e=>e.type,"resolve")},defaultValue:{type:ae,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){let{type:t,defaultValue:n}=e,i=jt(n,t);return i?ee(i):null}},isDeprecated:{type:new G($e),resolve:a(e=>e.deprecationReason!=null,"resolve")},deprecationReason:{type:ae,resolve:a(e=>e.deprecationReason,"resolve")}}),"fields")}),Rm=new be({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:a(()=>({name:{type:new G(ae),resolve:a(e=>e.name,"resolve")},description:{type:ae,resolve:a(e=>e.description,"resolve")},isDeprecated:{type:new G($e),resolve:a(e=>e.deprecationReason!=null,"resolve")},deprecationReason:{type:ae,resolve:a(e=>e.deprecationReason,"resolve")}}),"fields")}),Ne;(function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"})(Ne||(Ne={}));var jm=new Pe({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:Ne.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:Ne.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:Ne.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:Ne.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:Ne.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:Ne.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:Ne.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:Ne.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),Ir={name:"__schema",type:new G(Wi),description:"Access the current type schema of this server.",args:[],resolve:a((e,t,n,{schema:i})=>i,"resolve"),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Er={name:"__type",type:bt,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new G(ae),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:a((e,{name:t},n,{schema:i})=>i.getType(t),"resolve"),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Or={name:"__typename",type:new G(ae),description:"The name of the current Object type at runtime.",args:[],resolve:a((e,t,n,{parentType:i})=>i.name,"resolve"),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},jn=Object.freeze([Wi,km,wm,bt,Dm,Xi,Rm,jm]);function Hi(e){return jn.some(({name:t})=>e.name===t)}a(Hi,"isIntrospectionType");function Am(e){return Ze(e,It)}a(Am,"isSchema");function ds(e){if(!Am(e))throw new Error(`Expected ${$(e)} to be a GraphQL schema.`);return e}a(ds,"assertSchema");var It=class{static{a(this,"GraphQLSchema")}constructor(t){var n,i;this.__validationErrors=t.assumeValid===!0?[]:void 0,Oe(t)||Q(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||Q(!1,`"types" must be Array if provided but got: ${$(t.types)}.`),!t.directives||Array.isArray(t.directives)||Q(!1,`"directives" must be Array if provided but got: ${$(t.directives)}.`),this.description=t.description,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=(i=t.directives)!==null&&i!==void 0?i:Ke;let r=new Set(t.types);if(t.types!=null)for(let o of t.types)r.delete(o),$t(o,r);this._queryType!=null&&$t(this._queryType,r),this._mutationType!=null&&$t(this._mutationType,r),this._subscriptionType!=null&&$t(this._subscriptionType,r);for(let o of this._directives)if(Dn(o))for(let s of o.args)$t(s.type,r);$t(Wi,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(let o of r){if(o==null)continue;let s=o.name;if(s||Q(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[s]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${s}".`);if(this._typeMap[s]=o,M(o)){for(let c of o.getInterfaces())if(M(c)){let u=this._implementationsMap[c.name];u===void 0&&(u=this._implementationsMap[c.name]={objects:[],interfaces:[]}),u.interfaces.push(o)}}else if(j(o)){for(let c of o.getInterfaces())if(M(c)){let u=this._implementationsMap[c.name];u===void 0&&(u=this._implementationsMap[c.name]={objects:[],interfaces:[]}),u.objects.push(o)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case he.QUERY:return this.getQueryType();case he.MUTATION:return this.getMutationType();case he.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return ye(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){let n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let i=this._subTypeMap[t.name];if(i===void 0){if(i=Object.create(null),ye(t))for(let r of t.getTypes())i[r.name]=!0;else{let r=this.getImplementations(t);for(let o of r.objects)i[o.name]=!0;for(let o of r.interfaces)i[o.name]=!0}this._subTypeMap[t.name]=i}return i[n.name]!==void 0}getDirectives(){return this._directives}getDirective(t){return this.getDirectives().find(n=>n.name===t)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}};function $t(e,t){let n=le(e);if(!t.has(n)){if(t.add(n),ye(n))for(let i of n.getTypes())$t(i,t);else if(j(n)||M(n)){for(let i of n.getInterfaces())$t(i,t);for(let i of Object.values(n.getFields())){$t(i.type,t);for(let r of i.args)$t(r.type,t)}}else if(V(n))for(let i of Object.values(n.getFields()))$t(i.type,t)}return t}a($t,"collectReferencedTypes");function Zv(e){if(ds(e),e.__validationErrors)return e.__validationErrors;let t=new Lm(e);K$(t),W$(t),X$(t);let n=t.getErrors();return e.__validationErrors=n,n}a(Zv,"validateSchema");function to(e){let t=Zv(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(`
114
+ In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:a(()=>({name:{type:new G(ae),resolve:a(e=>e.name,"resolve")},description:{type:ae,resolve:a(e=>e.description,"resolve")},isRepeatable:{type:new G($e),resolve:a(e=>e.isRepeatable,"resolve")},locations:{type:new G(new ue(new G(Cm))),resolve:a(e=>e.locations,"resolve")},args:{type:new G(new ue(new G(ro))),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}}}),"fields")}),Cm=new Pe({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:C.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:C.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:C.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:C.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:C.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:C.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:C.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:C.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:C.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:C.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:C.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:C.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:C.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:C.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:C.UNION,description:"Location adjacent to a union definition."},ENUM:{value:C.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:C.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:C.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:C.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),xt=new xe({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:a(()=>({kind:{type:new G(Zm),resolve(e){if(be(e))return we.SCALAR;if(A(e))return we.OBJECT;if(M(e))return we.INTERFACE;if(ye(e))return we.UNION;if(te(e))return we.ENUM;if(V(e))return we.INPUT_OBJECT;if(J(e))return we.LIST;if(j(e))return we.NON_NULL;ge(!1,`Unexpected type: "${$(e)}".`)}},name:{type:ae,resolve:a(e=>"name"in e?e.name:void 0,"resolve")},description:{type:ae,resolve:a(e=>"description"in e?e.description:void 0,"resolve")},specifiedByURL:{type:ae,resolve:a(e=>"specifiedByURL"in e?e.specifiedByURL:void 0,"resolve")},fields:{type:new ue(new G(Vm)),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(A(e)||M(e)){let n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},interfaces:{type:new ue(new G(xt)),resolve(e){if(A(e)||M(e))return e.getInterfaces()}},possibleTypes:{type:new ue(new G(xt)),resolve(e,t,n,{schema:i}){if(qe(e))return i.getPossibleTypes(e)}},enumValues:{type:new ue(new G(Mm)),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(te(e)){let n=e.getValues();return t?n:n.filter(i=>i.deprecationReason==null)}}},inputFields:{type:new ue(new G(ro)),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(V(e)){let n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},ofType:{type:xt,resolve:a(e=>"ofType"in e?e.ofType:void 0,"resolve")},isOneOf:{type:$e,resolve:a(e=>{if(V(e))return e.isOneOf},"resolve")}}),"fields")}),Vm=new xe({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:a(()=>({name:{type:new G(ae),resolve:a(e=>e.name,"resolve")},description:{type:ae,resolve:a(e=>e.description,"resolve")},args:{type:new G(new ue(new G(ro))),args:{includeDeprecated:{type:$e,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}},type:{type:new G(xt),resolve:a(e=>e.type,"resolve")},isDeprecated:{type:new G($e),resolve:a(e=>e.deprecationReason!=null,"resolve")},deprecationReason:{type:ae,resolve:a(e=>e.deprecationReason,"resolve")}}),"fields")}),ro=new xe({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:a(()=>({name:{type:new G(ae),resolve:a(e=>e.name,"resolve")},description:{type:ae,resolve:a(e=>e.description,"resolve")},type:{type:new G(xt),resolve:a(e=>e.type,"resolve")},defaultValue:{type:ae,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){let{type:t,defaultValue:n}=e,i=jt(n,t);return i?ee(i):null}},isDeprecated:{type:new G($e),resolve:a(e=>e.deprecationReason!=null,"resolve")},deprecationReason:{type:ae,resolve:a(e=>e.deprecationReason,"resolve")}}),"fields")}),Mm=new xe({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:a(()=>({name:{type:new G(ae),resolve:a(e=>e.name,"resolve")},description:{type:ae,resolve:a(e=>e.description,"resolve")},isDeprecated:{type:new G($e),resolve:a(e=>e.deprecationReason!=null,"resolve")},deprecationReason:{type:ae,resolve:a(e=>e.deprecationReason,"resolve")}}),"fields")}),we;(function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"})(we||(we={}));var Zm=new Pe({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:we.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:we.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:we.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:we.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:we.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:we.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:we.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:we.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),wr={name:"__schema",type:new G(to),description:"Access the current type schema of this server.",args:[],resolve:a((e,t,n,{schema:i})=>i,"resolve"),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Nr={name:"__type",type:xt,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new G(ae),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:a((e,{name:t},n,{schema:i})=>i.getType(t),"resolve"),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},kr={name:"__typename",type:new G(ae),description:"The name of the current Object type at runtime.",args:[],resolve:a((e,t,n,{parentType:i})=>i.name,"resolve"),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Pn=Object.freeze([to,Fm,Cm,xt,Vm,ro,Mm,Zm]);function no(e){return Pn.some(({name:t})=>e.name===t)}a(no,"isIntrospectionType");function Gm(e){return Ze(e,Et)}a(Gm,"isSchema");function xs(e){if(!Gm(e))throw new Error(`Expected ${$(e)} to be a GraphQL schema.`);return e}a(xs,"assertSchema");var Et=class{static{a(this,"GraphQLSchema")}constructor(t){var n,i;this.__validationErrors=t.assumeValid===!0?[]:void 0,Oe(t)||Q(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||Q(!1,`"types" must be Array if provided but got: ${$(t.types)}.`),!t.directives||Array.isArray(t.directives)||Q(!1,`"directives" must be Array if provided but got: ${$(t.directives)}.`),this.description=t.description,this.extensions=Be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=(i=t.directives)!==null&&i!==void 0?i:Ke;let r=new Set(t.types);if(t.types!=null)for(let o of t.types)r.delete(o),It(o,r);this._queryType!=null&&It(this._queryType,r),this._mutationType!=null&&It(this._mutationType,r),this._subscriptionType!=null&&It(this._subscriptionType,r);for(let o of this._directives)if(Ln(o))for(let s of o.args)It(s.type,r);It(to,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(let o of r){if(o==null)continue;let s=o.name;if(s||Q(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[s]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${s}".`);if(this._typeMap[s]=o,M(o)){for(let c of o.getInterfaces())if(M(c)){let u=this._implementationsMap[c.name];u===void 0&&(u=this._implementationsMap[c.name]={objects:[],interfaces:[]}),u.interfaces.push(o)}}else if(A(o)){for(let c of o.getInterfaces())if(M(c)){let u=this._implementationsMap[c.name];u===void 0&&(u=this._implementationsMap[c.name]={objects:[],interfaces:[]}),u.objects.push(o)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case he.QUERY:return this.getQueryType();case he.MUTATION:return this.getMutationType();case he.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return ye(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){let n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let i=this._subTypeMap[t.name];if(i===void 0){if(i=Object.create(null),ye(t))for(let r of t.getTypes())i[r.name]=!0;else{let r=this.getImplementations(t);for(let o of r.objects)i[o.name]=!0;for(let o of r.interfaces)i[o.name]=!0}this._subTypeMap[t.name]=i}return i[n.name]!==void 0}getDirectives(){return this._directives}getDirective(t){return this.getDirectives().find(n=>n.name===t)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}};function It(e,t){let n=le(e);if(!t.has(n)){if(t.add(n),ye(n))for(let i of n.getTypes())It(i,t);else if(A(n)||M(n)){for(let i of n.getInterfaces())It(i,t);for(let i of Object.values(n.getFields())){It(i.type,t);for(let r of i.args)It(r.type,t)}}else if(V(n))for(let i of Object.values(n.getFields()))It(i.type,t)}return t}a(It,"collectReferencedTypes");function sx(e){if(xs(e),e.__validationErrors)return e.__validationErrors;let t=new Jm(e);bI(t),_I(t),SI(t);let n=t.getErrors();return e.__validationErrors=n,n}a(sx,"validateSchema");function oo(e){let t=sx(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(`
115
115
 
116
- `))}a(to,"assertValidSchema");var Lm=class{static{a(this,"SchemaValidationContext")}constructor(t){this._errors=[],this.schema=t}reportError(t,n){let i=Array.isArray(n)?n.filter(Boolean):n;this._errors.push(new b(t,{nodes:i}))}getErrors(){return this._errors}};function K$(e){let t=e.schema,n=t.getQueryType();if(!n)e.reportError("Query root type must be provided.",t.astNode);else if(!j(n)){var i;e.reportError(`Query root type must be Object type, it cannot be ${$(n)}.`,(i=zm(t,he.QUERY))!==null&&i!==void 0?i:n.astNode)}let r=t.getMutationType();if(r&&!j(r)){var o;e.reportError(`Mutation root type must be Object type if provided, it cannot be ${$(r)}.`,(o=zm(t,he.MUTATION))!==null&&o!==void 0?o:r.astNode)}let s=t.getSubscriptionType();if(s&&!j(s)){var c;e.reportError(`Subscription root type must be Object type if provided, it cannot be ${$(s)}.`,(c=zm(t,he.SUBSCRIPTION))!==null&&c!==void 0?c:s.astNode)}}a(K$,"validateRootTypes");function zm(e,t){var n;return(n=[e.astNode,...e.extensionASTNodes].flatMap(i=>{var r;return(r=i?.operationTypes)!==null&&r!==void 0?r:[]}).find(i=>i.operation===t))===null||n===void 0?void 0:n.type}a(zm,"getOperationTypeNode");function W$(e){for(let n of e.schema.getDirectives()){if(!Dn(n)){e.reportError(`Expected directive but got: ${$(n)}.`,n?.astNode);continue}Nr(e,n),n.locations.length===0&&e.reportError(`Directive @${n.name} must include 1 or more locations.`,n.astNode);for(let i of n.args)if(Nr(e,i),Re(i.type)||e.reportError(`The type of @${n.name}(${i.name}:) must be Input Type but got: ${$(i.type)}.`,i.astNode),Mt(i)&&i.deprecationReason!=null){var t;e.reportError(`Required argument @${n.name}(${i.name}:) cannot be deprecated.`,[Pm(i.astNode),(t=i.astNode)===null||t===void 0?void 0:t.type])}}}a(W$,"validateDirectives");function Nr(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}a(Nr,"validateName");function X$(e){let t=oI(e),n=e.schema.getTypeMap();for(let i of Object.values(n)){if(!ir(i)){e.reportError(`Expected GraphQL named type but got: ${$(i)}.`,i.astNode);continue}Hi(i)||Nr(e,i),j(i)||M(i)?(Cv(e,i),Vv(e,i)):ye(i)?tI(e,i):te(i)?rI(e,i):V(i)&&(nI(e,i),t(i))}}a(X$,"validateTypes");function Cv(e,t){let n=Object.values(t.getFields());n.length===0&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(let s of n){if(Nr(e,s),!Vt(s.type)){var i;e.reportError(`The type of ${t.name}.${s.name} must be Output Type but got: ${$(s.type)}.`,(i=s.astNode)===null||i===void 0?void 0:i.type)}for(let c of s.args){let u=c.name;if(Nr(e,c),!Re(c.type)){var r;e.reportError(`The type of ${t.name}.${s.name}(${u}:) must be Input Type but got: ${$(c.type)}.`,(r=c.astNode)===null||r===void 0?void 0:r.type)}if(Mt(c)&&c.deprecationReason!=null){var o;e.reportError(`Required argument ${t.name}.${s.name}(${u}:) cannot be deprecated.`,[Pm(c.astNode),(o=c.astNode)===null||o===void 0?void 0:o.type])}}}}a(Cv,"validateFields");function Vv(e,t){let n=Object.create(null);for(let i of t.getInterfaces()){if(!M(i)){e.reportError(`Type ${$(t)} must only implement Interface types, it cannot implement ${$(i)}.`,eo(t,i));continue}if(t===i){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,eo(t,i));continue}if(n[i.name]){e.reportError(`Type ${t.name} can only implement ${i.name} once.`,eo(t,i));continue}n[i.name]=!0,eI(e,t,i),H$(e,t,i)}}a(Vv,"validateInterfaces");function H$(e,t,n){let i=t.getFields();for(let u of Object.values(n.getFields())){let l=u.name,p=i[l];if(!p){e.reportError(`Interface field ${n.name}.${l} expected but ${t.name} does not provide it.`,[u.astNode,t.astNode,...t.extensionASTNodes]);continue}if(!Zt(e.schema,p.type,u.type)){var r,o;e.reportError(`Interface field ${n.name}.${l} expects type ${$(u.type)} but ${t.name}.${l} is type ${$(p.type)}.`,[(r=u.astNode)===null||r===void 0?void 0:r.type,(o=p.astNode)===null||o===void 0?void 0:o.type])}for(let d of u.args){let m=d.name,g=p.args.find(y=>y.name===m);if(!g){e.reportError(`Interface field argument ${n.name}.${l}(${m}:) expected but ${t.name}.${l} does not provide it.`,[d.astNode,p.astNode]);continue}if(!Zi(d.type,g.type)){var s,c;e.reportError(`Interface field argument ${n.name}.${l}(${m}:) expects type ${$(d.type)} but ${t.name}.${l}(${m}:) is type ${$(g.type)}.`,[(s=d.astNode)===null||s===void 0?void 0:s.type,(c=g.astNode)===null||c===void 0?void 0:c.type])}}for(let d of p.args){let m=d.name;!u.args.find(y=>y.name===m)&&Mt(d)&&e.reportError(`Object field ${t.name}.${l} includes required argument ${m} that is missing from the Interface field ${n.name}.${l}.`,[d.astNode,u.astNode])}}}a(H$,"validateTypeImplementsInterface");function eI(e,t,n){let i=t.getInterfaces();for(let r of n.getInterfaces())i.includes(r)||e.reportError(r===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${r.name} because it is implemented by ${n.name}.`,[...eo(n,r),...eo(t,n)])}a(eI,"validateTypeImplementsAncestors");function tI(e,t){let n=t.getTypes();n.length===0&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);let i=Object.create(null);for(let r of n){if(i[r.name]){e.reportError(`Union type ${t.name} can only include type ${r.name} once.`,Mv(t,r.name));continue}i[r.name]=!0,j(r)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${$(r)}.`,Mv(t,String(r)))}}a(tI,"validateUnionMembers");function rI(e,t){let n=t.getValues();n.length===0&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(let i of n)Nr(e,i)}a(rI,"validateEnumValues");function nI(e,t){let n=Object.values(t.getFields());n.length===0&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(let o of n){if(Nr(e,o),!Re(o.type)){var i;e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${$(o.type)}.`,(i=o.astNode)===null||i===void 0?void 0:i.type)}if(On(o)&&o.deprecationReason!=null){var r;e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[Pm(o.astNode),(r=o.astNode)===null||r===void 0?void 0:r.type])}t.isOneOf&&iI(t,o,e)}}a(nI,"validateInputFields");function iI(e,t,n){if(A(t.type)){var i;n.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,(i=t.astNode)===null||i===void 0?void 0:i.type)}t.defaultValue!==void 0&&n.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}a(iI,"validateOneOfInputObjectField");function oI(e){let t=Object.create(null),n=[],i=Object.create(null);return r;function r(o){if(t[o.name])return;t[o.name]=!0,i[o.name]=n.length;let s=Object.values(o.getFields());for(let c of s)if(A(c.type)&&V(c.type.ofType)){let u=c.type.ofType,l=i[u.name];if(n.push(c),l===void 0)r(u);else{let p=n.slice(l),d=p.map(m=>m.name).join(".");e.reportError(`Cannot reference Input Object "${u.name}" within itself through a series of non-null fields: "${d}".`,p.map(m=>m.astNode))}n.pop()}i[o.name]=void 0}}a(oI,"createInputObjectCircularRefsValidator");function eo(e,t){let{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(o=>{var s;return(s=o.interfaces)!==null&&s!==void 0?s:[]}).filter(o=>o.name.value===t.name)}a(eo,"getAllImplementsInterfaceNodes");function Mv(e,t){let{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(o=>{var s;return(s=o.types)!==null&&s!==void 0?s:[]}).filter(o=>o.name.value===t)}a(Mv,"getUnionMemberTypeNodes");function Pm(e){var t;return e==null||(t=e.directives)===null||t===void 0?void 0:t.find(n=>n.name.value===$r.name)}a(Pm,"getDeprecatedDirectiveNode");function _e(e,t){switch(t.kind){case h.LIST_TYPE:{let n=_e(e,t.type);return n&&new ue(n)}case h.NON_NULL_TYPE:{let n=_e(e,t.type);return n&&new G(n)}case h.NAMED_TYPE:return e.getType(t.name.value)}}a(_e,"typeFromAST");var kr=class{static{a(this,"TypeInfo")}constructor(t,n,i){this._schema=t,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=i??aI,n&&(Re(n)&&this._inputTypeStack.push(n),ft(n)&&this._parentTypeStack.push(n),Vt(n)&&this._typeStack.push(n))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(t){let n=this._schema;switch(t.kind){case h.SELECTION_SET:{let r=le(this.getType());this._parentTypeStack.push(ft(r)?r:void 0);break}case h.FIELD:{let r=this.getParentType(),o,s;r&&(o=this._getFieldDef(n,r,t),o&&(s=o.type)),this._fieldDefStack.push(o),this._typeStack.push(Vt(s)?s:void 0);break}case h.DIRECTIVE:this._directive=n.getDirective(t.name.value);break;case h.OPERATION_DEFINITION:{let r=n.getRootType(t.operation);this._typeStack.push(j(r)?r:void 0);break}case h.INLINE_FRAGMENT:case h.FRAGMENT_DEFINITION:{let r=t.typeCondition,o=r?_e(n,r):le(this.getType());this._typeStack.push(Vt(o)?o:void 0);break}case h.VARIABLE_DEFINITION:{let r=_e(n,t.type);this._inputTypeStack.push(Re(r)?r:void 0);break}case h.ARGUMENT:{var i;let r,o,s=(i=this.getDirective())!==null&&i!==void 0?i:this.getFieldDef();s&&(r=s.args.find(c=>c.name===t.name.value),r&&(o=r.type)),this._argument=r,this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push(Re(o)?o:void 0);break}case h.LIST:{let r=nr(this.getInputType()),o=J(r)?r.ofType:r;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Re(o)?o:void 0);break}case h.OBJECT_FIELD:{let r=le(this.getInputType()),o,s;V(r)&&(s=r.getFields()[t.name.value],s&&(o=s.type)),this._defaultValueStack.push(s?s.defaultValue:void 0),this._inputTypeStack.push(Re(o)?o:void 0);break}case h.ENUM:{let r=le(this.getInputType()),o;te(r)&&(o=r.getValue(t.value)),this._enumValue=o;break}default:}}leave(t){switch(t.kind){case h.SELECTION_SET:this._parentTypeStack.pop();break;case h.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case h.DIRECTIVE:this._directive=null;break;case h.OPERATION_DEFINITION:case h.INLINE_FRAGMENT:case h.FRAGMENT_DEFINITION:this._typeStack.pop();break;case h.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case h.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case h.LIST:case h.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case h.ENUM:this._enumValue=null;break;default:}}};function aI(e,t,n){let i=n.name.value;if(i===Ir.name&&e.getQueryType()===t)return Ir;if(i===Er.name&&e.getQueryType()===t)return Er;if(i===Or.name&&ft(t))return Or;if(j(t)||M(t))return t.getFields()[i]}a(aI,"getFieldDef");function ro(e,t){return{enter(...n){let i=n[0];e.enter(i);let r=$n(t,i.kind).enter;if(r){let o=r.apply(t,n);return o!==void 0&&(e.leave(i),Li(o)&&e.enter(o)),o}},leave(...n){let i=n[0],r=$n(t,i.kind).leave,o;return r&&(o=r.apply(t,n)),e.leave(i),o}}}a(ro,"visitWithTypeInfo");function Um(e){return e.kind===h.OPERATION_DEFINITION||e.kind===h.FRAGMENT_DEFINITION}a(Um,"isExecutableDefinitionNode");function Fm(e){return e.kind===h.SCHEMA_DEFINITION||At(e)||e.kind===h.DIRECTIVE_DEFINITION}a(Fm,"isTypeSystemDefinitionNode");function At(e){return e.kind===h.SCALAR_TYPE_DEFINITION||e.kind===h.OBJECT_TYPE_DEFINITION||e.kind===h.INTERFACE_TYPE_DEFINITION||e.kind===h.UNION_TYPE_DEFINITION||e.kind===h.ENUM_TYPE_DEFINITION||e.kind===h.INPUT_OBJECT_TYPE_DEFINITION}a(At,"isTypeDefinitionNode");function Cm(e){return e.kind===h.SCHEMA_EXTENSION||An(e)}a(Cm,"isTypeSystemExtensionNode");function An(e){return e.kind===h.SCALAR_TYPE_EXTENSION||e.kind===h.OBJECT_TYPE_EXTENSION||e.kind===h.INTERFACE_TYPE_EXTENSION||e.kind===h.UNION_TYPE_EXTENSION||e.kind===h.ENUM_TYPE_EXTENSION||e.kind===h.INPUT_OBJECT_TYPE_EXTENSION}a(An,"isTypeExtensionNode");function Vm(e){return{Document(t){for(let n of t.definitions)if(!Um(n)){let i=n.kind===h.SCHEMA_DEFINITION||n.kind===h.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new b(`The ${i} definition is not executable.`,{nodes:n}))}return!1}}}a(Vm,"ExecutableDefinitionsRule");function Mm(e){return{Field(t){let n=e.getParentType();if(n&&!e.getFieldDef()){let r=e.getSchema(),o=t.name.value,s=Le("to use an inline fragment on",sI(r,n,o));s===""&&(s=Le(cI(n,o))),e.reportError(new b(`Cannot query field "${o}" on type "${n.name}".`+s,{nodes:t}))}}}}a(Mm,"FieldsOnCorrectTypeRule");function sI(e,t,n){if(!qe(t))return[];let i=new Set,r=Object.create(null);for(let s of e.getPossibleTypes(t))if(s.getFields()[n]){i.add(s),r[s.name]=1;for(let c of s.getInterfaces()){var o;c.getFields()[n]&&(i.add(c),r[c.name]=((o=r[c.name])!==null&&o!==void 0?o:0)+1)}}return[...i].sort((s,c)=>{let u=r[c.name]-r[s.name];return u!==0?u:M(s)&&e.isSubType(s,c)?-1:M(c)&&e.isSubType(c,s)?1:Sn(s.name,c.name)}).map(s=>s.name)}a(sI,"getSuggestedTypeNames");function cI(e,t){if(j(e)||M(e)){let n=Object.keys(e.getFields());return Ge(t,n)}return[]}a(cI,"getSuggestedFieldNames");function Zm(e){return{InlineFragment(t){let n=t.typeCondition;if(n){let i=_e(e.getSchema(),n);if(i&&!ft(i)){let r=ee(n);e.reportError(new b(`Fragment cannot condition on non composite type "${r}".`,{nodes:n}))}}},FragmentDefinition(t){let n=_e(e.getSchema(),t.typeCondition);if(n&&!ft(n)){let i=ee(t.typeCondition);e.reportError(new b(`Fragment "${t.name.value}" cannot condition on non composite type "${i}".`,{nodes:t.typeCondition}))}}}}a(Zm,"FragmentsOnCompositeTypesRule");function Gm(e){return{...Bm(e),Argument(t){let n=e.getArgument(),i=e.getFieldDef(),r=e.getParentType();if(!n&&i&&r){let o=t.name.value,s=i.args.map(u=>u.name),c=Ge(o,s);e.reportError(new b(`Unknown argument "${o}" on field "${r.name}.${i.name}".`+Le(c),{nodes:t}))}}}}a(Gm,"KnownArgumentNamesRule");function Bm(e){let t=Object.create(null),n=e.getSchema(),i=n?n.getDirectives():Ke;for(let s of i)t[s.name]=s.args.map(c=>c.name);let r=e.getDocument().definitions;for(let s of r)if(s.kind===h.DIRECTIVE_DEFINITION){var o;let c=(o=s.arguments)!==null&&o!==void 0?o:[];t[s.name.value]=c.map(u=>u.name.value)}return{Directive(s){let c=s.name.value,u=t[c];if(s.arguments&&u)for(let l of s.arguments){let p=l.name.value;if(!u.includes(p)){let d=Ge(p,u);e.reportError(new b(`Unknown argument "${p}" on directive "@${c}".`+Le(d),{nodes:l}))}}return!1}}}a(Bm,"KnownArgumentNamesOnDirectivesRule");function fs(e){let t=Object.create(null),n=e.getSchema(),i=n?n.getDirectives():Ke;for(let o of i)t[o.name]=o.locations;let r=e.getDocument().definitions;for(let o of r)o.kind===h.DIRECTIVE_DEFINITION&&(t[o.name.value]=o.locations.map(s=>s.value));return{Directive(o,s,c,u,l){let p=o.name.value,d=t[p];if(!d){e.reportError(new b(`Unknown directive "@${p}".`,{nodes:o}));return}let m=uI(l);m&&!d.includes(m)&&e.reportError(new b(`Directive "@${p}" may not be used on ${m}.`,{nodes:o}))}}}a(fs,"KnownDirectivesRule");function uI(e){let t=e[e.length-1];switch("kind"in t||ge(!1),t.kind){case h.OPERATION_DEFINITION:return lI(t.operation);case h.FIELD:return C.FIELD;case h.FRAGMENT_SPREAD:return C.FRAGMENT_SPREAD;case h.INLINE_FRAGMENT:return C.INLINE_FRAGMENT;case h.FRAGMENT_DEFINITION:return C.FRAGMENT_DEFINITION;case h.VARIABLE_DEFINITION:return C.VARIABLE_DEFINITION;case h.SCHEMA_DEFINITION:case h.SCHEMA_EXTENSION:return C.SCHEMA;case h.SCALAR_TYPE_DEFINITION:case h.SCALAR_TYPE_EXTENSION:return C.SCALAR;case h.OBJECT_TYPE_DEFINITION:case h.OBJECT_TYPE_EXTENSION:return C.OBJECT;case h.FIELD_DEFINITION:return C.FIELD_DEFINITION;case h.INTERFACE_TYPE_DEFINITION:case h.INTERFACE_TYPE_EXTENSION:return C.INTERFACE;case h.UNION_TYPE_DEFINITION:case h.UNION_TYPE_EXTENSION:return C.UNION;case h.ENUM_TYPE_DEFINITION:case h.ENUM_TYPE_EXTENSION:return C.ENUM;case h.ENUM_VALUE_DEFINITION:return C.ENUM_VALUE;case h.INPUT_OBJECT_TYPE_DEFINITION:case h.INPUT_OBJECT_TYPE_EXTENSION:return C.INPUT_OBJECT;case h.INPUT_VALUE_DEFINITION:{let n=e[e.length-3];return"kind"in n||ge(!1),n.kind===h.INPUT_OBJECT_TYPE_DEFINITION?C.INPUT_FIELD_DEFINITION:C.ARGUMENT_DEFINITION}default:ge(!1,"Unexpected kind: "+$(t.kind))}}a(uI,"getDirectiveLocationForASTPath");function lI(e){switch(e){case he.QUERY:return C.QUERY;case he.MUTATION:return C.MUTATION;case he.SUBSCRIPTION:return C.SUBSCRIPTION}}a(lI,"getDirectiveLocationForOperation");function Jm(e){return{FragmentSpread(t){let n=t.name.value;e.getFragment(n)||e.reportError(new b(`Unknown fragment "${n}".`,{nodes:t.name}))}}}a(Jm,"KnownFragmentNamesRule");function ms(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);for(let o of e.getDocument().definitions)At(o)&&(i[o.name.value]=!0);let r=[...Object.keys(n),...Object.keys(i)];return{NamedType(o,s,c,u,l){let p=o.name.value;if(!n[p]&&!i[p]){var d;let m=(d=l[2])!==null&&d!==void 0?d:c,g=m!=null&&pI(m);if(g&&Gv.includes(p))return;let y=Ge(p,g?Gv.concat(r):r);e.reportError(new b(`Unknown type "${p}".`+Le(y),{nodes:o}))}}}}a(ms,"KnownTypeNamesRule");var Gv=[...Tr,...jn].map(e=>e.name);function pI(e){return"kind"in e&&(Fm(e)||Cm(e))}a(pI,"isSDLNode");function Qm(e){let t=0;return{Document(n){t=n.definitions.filter(i=>i.kind===h.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new b("This anonymous operation must be the only defined operation.",{nodes:n}))}}}a(Qm,"LoneAnonymousOperationRule");function qm(e){var t,n,i;let r=e.getSchema(),o=(t=(n=(i=r?.astNode)!==null&&i!==void 0?i:r?.getQueryType())!==null&&n!==void 0?n:r?.getMutationType())!==null&&t!==void 0?t:r?.getSubscriptionType(),s=0;return{SchemaDefinition(c){if(o){e.reportError(new b("Cannot define a new schema within a schema extension.",{nodes:c}));return}s>0&&e.reportError(new b("Must provide only one schema definition.",{nodes:c})),++s}}}a(qm,"LoneSchemaDefinitionRule");var dI=3;function Ym(e){function t(n,i=Object.create(null),r=0){if(n.kind===h.FRAGMENT_SPREAD){let o=n.name.value;if(i[o]===!0)return!1;let s=e.getFragment(o);if(!s)return!1;try{return i[o]=!0,t(s,i,r)}finally{i[o]=void 0}}if(n.kind===h.FIELD&&(n.name.value==="fields"||n.name.value==="interfaces"||n.name.value==="possibleTypes"||n.name.value==="inputFields")&&(r++,r>=dI))return!0;if("selectionSet"in n&&n.selectionSet){for(let o of n.selectionSet.selections)if(t(o,i,r))return!0}return!1}return a(t,"checkDepth"),{Field(n){if((n.name.value==="__schema"||n.name.value==="__type")&&t(n))return e.reportError(new b("Maximum introspection depth exceeded",{nodes:[n]})),!1}}}a(Ym,"MaxIntrospectionDepthRule");function Km(e){let t=Object.create(null),n=[],i=Object.create(null);return{OperationDefinition:a(()=>!1,"OperationDefinition"),FragmentDefinition(o){return r(o),!1}};function r(o){if(t[o.name.value])return;let s=o.name.value;t[s]=!0;let c=e.getFragmentSpreads(o.selectionSet);if(c.length!==0){i[s]=n.length;for(let u of c){let l=u.name.value,p=i[l];if(n.push(u),p===void 0){let d=e.getFragment(l);d&&r(d)}else{let d=n.slice(p),m=d.slice(0,-1).map(g=>'"'+g.name.value+'"').join(", ");e.reportError(new b(`Cannot spread fragment "${l}" within itself`+(m!==""?` via ${m}.`:"."),{nodes:d}))}n.pop()}i[s]=void 0}}}a(Km,"NoFragmentCyclesRule");function Wm(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){let i=e.getRecursiveVariableUsages(n);for(let{node:r}of i){let o=r.name.value;t[o]!==!0&&e.reportError(new b(n.name?`Variable "$${o}" is not defined by operation "${n.name.value}".`:`Variable "$${o}" is not defined.`,{nodes:[r,n]}))}}},VariableDefinition(n){t[n.variable.name.value]=!0}}}a(Wm,"NoUndefinedVariablesRule");function Xm(e){let t=[],n=[];return{OperationDefinition(i){return t.push(i),!1},FragmentDefinition(i){return n.push(i),!1},Document:{leave(){let i=Object.create(null);for(let r of t)for(let o of e.getRecursivelyReferencedFragments(r))i[o.name.value]=!0;for(let r of n){let o=r.name.value;i[o]!==!0&&e.reportError(new b(`Fragment "${o}" is never used.`,{nodes:r}))}}}}}a(Xm,"NoUnusedFragmentsRule");function Hm(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){let i=Object.create(null),r=e.getRecursiveVariableUsages(n);for(let{node:o}of r)i[o.name.value]=!0;for(let o of t){let s=o.variable.name.value;i[s]!==!0&&e.reportError(new b(n.name?`Variable "$${s}" is never used in operation "${n.name.value}".`:`Variable "$${s}" is never used.`,{nodes:o}))}}},VariableDefinition(n){t.push(n)}}}a(Hm,"NoUnusedVariablesRule");function hs(e){switch(e.kind){case h.OBJECT:return{...e,fields:fI(e.fields)};case h.LIST:return{...e,values:e.values.map(hs)};case h.INT:case h.FLOAT:case h.STRING:case h.BOOLEAN:case h.NULL:case h.ENUM:case h.VARIABLE:return e}}a(hs,"sortValueNode");function fI(e){return e.map(t=>({...t,value:hs(t.value)})).sort((t,n)=>Sn(t.name.value,n.name.value))}a(fI,"sortFields");function Jv(e){return Array.isArray(e)?e.map(([t,n])=>`subfields "${t}" conflict because `+Jv(n)).join(" and "):e}a(Jv,"reasonMessage");function nh(e){let t=new bs,n=new rh,i=new Map;return{SelectionSet(r){let o=mI(e,i,t,n,e.getParentType(),r);for(let[[s,c],u,l]of o){let p=Jv(c);e.reportError(new b(`Fields "${s}" conflict because ${p}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:u.concat(l)}))}}}}a(nh,"OverlappingFieldsCanBeMergedRule");function mI(e,t,n,i,r,o){let s=[],[c,u]=vs(e,t,r,o);if(gI(e,s,t,n,i,c),u.length!==0)for(let l=0;l<u.length;l++){gs(e,s,t,n,i,!1,c,u[l]);for(let p=l+1;p<u.length;p++)ys(e,s,t,n,i,!1,u[l],u[p])}return s}a(mI,"findConflictsWithinSelectionSet");function gs(e,t,n,i,r,o,s,c){if(i.has(s,c,o))return;i.add(s,c,o);let u=e.getFragment(c);if(!u)return;let[l,p]=th(e,n,u);if(s!==l){ih(e,t,n,i,r,o,s,l);for(let d of p)gs(e,t,n,i,r,o,s,d)}}a(gs,"collectConflictsBetweenFieldsAndFragment");function ys(e,t,n,i,r,o,s,c){if(s===c||r.has(s,c,o))return;r.add(s,c,o);let u=e.getFragment(s),l=e.getFragment(c);if(!u||!l)return;let[p,d]=th(e,n,u),[m,g]=th(e,n,l);ih(e,t,n,i,r,o,p,m);for(let y of g)ys(e,t,n,i,r,o,s,y);for(let y of d)ys(e,t,n,i,r,o,y,c)}a(ys,"collectConflictsBetweenFragments");function hI(e,t,n,i,r,o,s,c,u){let l=[],[p,d]=vs(e,t,o,s),[m,g]=vs(e,t,c,u);ih(e,l,t,n,i,r,p,m);for(let y of g)gs(e,l,t,n,i,r,p,y);for(let y of d)gs(e,l,t,n,i,r,m,y);for(let y of d)for(let x of g)ys(e,l,t,n,i,r,y,x);return l}a(hI,"findConflictsBetweenSubSelectionSets");function gI(e,t,n,i,r,o){for(let[s,c]of Object.entries(o))if(c.length>1)for(let u=0;u<c.length;u++)for(let l=u+1;l<c.length;l++){let p=Qv(e,n,i,r,!1,s,c[u],c[l]);p&&t.push(p)}}a(gI,"collectConflictsWithin");function ih(e,t,n,i,r,o,s,c){for(let[u,l]of Object.entries(s)){let p=c[u];if(p)for(let d of l)for(let m of p){let g=Qv(e,n,i,r,o,u,d,m);g&&t.push(g)}}}a(ih,"collectConflictsBetween");function Qv(e,t,n,i,r,o,s,c){let[u,l,p]=s,[d,m,g]=c,y=r||u!==d&&j(u)&&j(d);if(!y){let D=l.name.value,P=m.name.value;if(D!==P)return[[o,`"${D}" and "${P}" are different fields`],[l],[m]];if(!yI(l,m))return[[o,"they have differing arguments"],[l],[m]]}let x=p?.type,k=g?.type;if(x&&k&&eh(x,k))return[[o,`they return conflicting types "${$(x)}" and "${$(k)}"`],[l],[m]];let z=l.selectionSet,Z=m.selectionSet;if(z&&Z){let D=hI(e,t,n,i,y,le(x),z,le(k),Z);return vI(D,o,l,m)}}a(Qv,"findConflict");function yI(e,t){let n=e.arguments,i=t.arguments;if(n===void 0||n.length===0)return i===void 0||i.length===0;if(i===void 0||i.length===0||n.length!==i.length)return!1;let r=new Map(i.map(({name:o,value:s})=>[o.value,s]));return n.every(o=>{let s=o.value,c=r.get(o.name.value);return c===void 0?!1:Bv(s)===Bv(c)})}a(yI,"sameArguments");function Bv(e){return ee(hs(e))}a(Bv,"stringifyValue");function eh(e,t){return J(e)?J(t)?eh(e.ofType,t.ofType):!0:J(t)?!0:A(e)?A(t)?eh(e.ofType,t.ofType):!0:A(t)?!0:de(e)||de(t)?e!==t:!1}a(eh,"doTypesConflict");function vs(e,t,n,i){let r=t.get(i);if(r)return r;let o=Object.create(null),s=Object.create(null);qv(e,n,i,o,s);let c=[o,Object.keys(s)];return t.set(i,c),c}a(vs,"getFieldsAndFragmentNames");function th(e,t,n){let i=t.get(n.selectionSet);if(i)return i;let r=_e(e.getSchema(),n.typeCondition);return vs(e,t,r,n.selectionSet)}a(th,"getReferencedFieldsAndFragmentNames");function qv(e,t,n,i,r){for(let o of n.selections)switch(o.kind){case h.FIELD:{let s=o.name.value,c;(j(t)||M(t))&&(c=t.getFields()[s]);let u=o.alias?o.alias.value:s;i[u]||(i[u]=[]),i[u].push([t,o,c]);break}case h.FRAGMENT_SPREAD:r[o.name.value]=!0;break;case h.INLINE_FRAGMENT:{let s=o.typeCondition,c=s?_e(e.getSchema(),s):t;qv(e,c,o.selectionSet,i,r);break}}}a(qv,"_collectFieldsAndFragmentNames");function vI(e,t,n,i){if(e.length>0)return[[t,e.map(([r])=>r)],[n,...e.map(([,r])=>r).flat()],[i,...e.map(([,,r])=>r).flat()]]}a(vI,"subfieldConflicts");var bs=class{static{a(this,"OrderedPairSet")}constructor(){this._data=new Map}has(t,n,i){var r;let o=(r=this._data.get(t))===null||r===void 0?void 0:r.get(n);return o===void 0?!1:i?!0:i===o}add(t,n,i){let r=this._data.get(t);r===void 0?this._data.set(t,new Map([[n,i]])):r.set(n,i)}},rh=class{static{a(this,"PairSet")}constructor(){this._orderedPairSet=new bs}has(t,n,i){return t<n?this._orderedPairSet.has(t,n,i):this._orderedPairSet.has(n,t,i)}add(t,n,i){t<n?this._orderedPairSet.add(t,n,i):this._orderedPairSet.add(n,t,i)}};function oh(e){return{InlineFragment(t){let n=e.getType(),i=e.getParentType();if(ft(n)&&ft(i)&&!ls(e.getSchema(),n,i)){let r=$(i),o=$(n);e.reportError(new b(`Fragment cannot be spread here as objects of type "${r}" can never be of type "${o}".`,{nodes:t}))}},FragmentSpread(t){let n=t.name.value,i=bI(e,n),r=e.getParentType();if(i&&r&&!ls(e.getSchema(),i,r)){let o=$(r),s=$(i);e.reportError(new b(`Fragment "${n}" cannot be spread here as objects of type "${o}" can never be of type "${s}".`,{nodes:t}))}}}}a(oh,"PossibleFragmentSpreadsRule");function bI(e,t){let n=e.getFragment(t);if(n){let i=_e(e.getSchema(),n.typeCondition);if(ft(i))return i}}a(bI,"getFragmentType");function ah(e){let t=e.getSchema(),n=Object.create(null);for(let r of e.getDocument().definitions)At(r)&&(n[r.name.value]=r);return{ScalarTypeExtension:i,ObjectTypeExtension:i,InterfaceTypeExtension:i,UnionTypeExtension:i,EnumTypeExtension:i,InputObjectTypeExtension:i};function i(r){let o=r.name.value,s=n[o],c=t?.getType(o),u;if(s?u=xI[s.kind]:c&&(u=_I(c)),u){if(u!==r.kind){let l=SI(r.kind);e.reportError(new b(`Cannot extend non-${l} type "${o}".`,{nodes:s?[s,r]:r}))}}else{let l=Object.keys({...n,...t?.getTypeMap()}),p=Ge(o,l);e.reportError(new b(`Cannot extend type "${o}" because it is not defined.`+Le(p),{nodes:r.name}))}}}a(ah,"PossibleTypeExtensionsRule");var xI={[h.SCALAR_TYPE_DEFINITION]:h.SCALAR_TYPE_EXTENSION,[h.OBJECT_TYPE_DEFINITION]:h.OBJECT_TYPE_EXTENSION,[h.INTERFACE_TYPE_DEFINITION]:h.INTERFACE_TYPE_EXTENSION,[h.UNION_TYPE_DEFINITION]:h.UNION_TYPE_EXTENSION,[h.ENUM_TYPE_DEFINITION]:h.ENUM_TYPE_EXTENSION,[h.INPUT_OBJECT_TYPE_DEFINITION]:h.INPUT_OBJECT_TYPE_EXTENSION};function _I(e){if(xe(e))return h.SCALAR_TYPE_EXTENSION;if(j(e))return h.OBJECT_TYPE_EXTENSION;if(M(e))return h.INTERFACE_TYPE_EXTENSION;if(ye(e))return h.UNION_TYPE_EXTENSION;if(te(e))return h.ENUM_TYPE_EXTENSION;if(V(e))return h.INPUT_OBJECT_TYPE_EXTENSION;ge(!1,"Unexpected type: "+$(e))}a(_I,"typeToExtKind");function SI(e){switch(e){case h.SCALAR_TYPE_EXTENSION:return"scalar";case h.OBJECT_TYPE_EXTENSION:return"object";case h.INTERFACE_TYPE_EXTENSION:return"interface";case h.UNION_TYPE_EXTENSION:return"union";case h.ENUM_TYPE_EXTENSION:return"enum";case h.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:ge(!1,"Unexpected kind: "+$(e))}}a(SI,"extensionKindToTypeName");function sh(e){return{...ch(e),Field:{leave(t){var n;let i=e.getFieldDef();if(!i)return!1;let r=new Set((n=t.arguments)===null||n===void 0?void 0:n.map(o=>o.name.value));for(let o of i.args)if(!r.has(o.name)&&Mt(o)){let s=$(o.type);e.reportError(new b(`Field "${i.name}" argument "${o.name}" of type "${s}" is required, but it was not provided.`,{nodes:t}))}}}}}a(sh,"ProvidedRequiredArgumentsRule");function ch(e){var t;let n=Object.create(null),i=e.getSchema(),r=(t=i?.getDirectives())!==null&&t!==void 0?t:Ke;for(let c of r)n[c.name]=pt(c.args.filter(Mt),u=>u.name);let o=e.getDocument().definitions;for(let c of o)if(c.kind===h.DIRECTIVE_DEFINITION){var s;let u=(s=c.arguments)!==null&&s!==void 0?s:[];n[c.name.value]=pt(u.filter(TI),l=>l.name.value)}return{Directive:{leave(c){let u=c.name.value,l=n[u];if(l){var p;let d=(p=c.arguments)!==null&&p!==void 0?p:[],m=new Set(d.map(g=>g.name.value));for(let[g,y]of Object.entries(l))if(!m.has(g)){let x=En(y.type)?$(y.type):ee(y.type);e.reportError(new b(`Directive "@${u}" argument "${g}" of type "${x}" is required, but it was not provided.`,{nodes:c}))}}}}}}a(ch,"ProvidedRequiredArgumentsOnDirectivesRule");function TI(e){return e.type.kind===h.NON_NULL_TYPE&&e.defaultValue==null}a(TI,"isRequiredArgumentNode");function uh(e){return{Field(t){let n=e.getType(),i=t.selectionSet;if(n)if(de(le(n))){if(i){let r=t.name.value,o=$(n);e.reportError(new b(`Field "${r}" must not have a selection since type "${o}" has no subfields.`,{nodes:i}))}}else if(i){if(i.selections.length===0){let r=t.name.value,o=$(n);e.reportError(new b(`Field "${r}" of type "${o}" must have at least one field selected.`,{nodes:t}))}}else{let r=t.name.value,o=$(n);e.reportError(new b(`Field "${r}" of type "${o}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:t}))}}}}a(uh,"ScalarLeafsRule");function xs(e){return e.map(t=>typeof t=="number"?"["+t.toString()+"]":"."+t).join("")}a(xs,"printPathArray");function wr(e,t,n){return{prev:e,key:t,typename:n}}a(wr,"addPath");function Ue(e){let t=[],n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}a(Ue,"pathToArray");function lh(e,t,n=$I){return no(e,t,n,void 0)}a(lh,"coerceInputValue");function $I(e,t,n){let i="Invalid value "+$(t);throw e.length>0&&(i+=` at "value${xs(e)}"`),n.message=i+": "+n.message,n}a($I,"defaultOnError");function no(e,t,n,i){if(A(t)){if(e!=null)return no(e,t.ofType,n,i);n(Ue(i),e,new b(`Expected non-nullable type "${$(t)}" not to be null.`));return}if(e==null)return null;if(J(t)){let r=t.ofType;return Rn(e)?Array.from(e,(o,s)=>{let c=wr(i,s,void 0);return no(o,r,n,c)}):[no(e,r,n,i)]}if(V(t)){if(!Oe(e)||Array.isArray(e)){n(Ue(i),e,new b(`Expected type "${t.name}" to be an object.`));return}let r={},o=t.getFields();for(let s of Object.values(o)){let c=e[s.name];if(c===void 0){if(s.defaultValue!==void 0)r[s.name]=s.defaultValue;else if(A(s.type)){let u=$(s.type);n(Ue(i),e,new b(`Field "${s.name}" of required type "${u}" was not provided.`))}continue}r[s.name]=no(c,s.type,n,wr(i,s.name,t.name))}for(let s of Object.keys(e))if(!o[s]){let c=Ge(s,Object.keys(t.getFields()));n(Ue(i),e,new b(`Field "${s}" is not defined by type "${t.name}".`+Le(c)))}if(t.isOneOf){let s=Object.keys(r);s.length!==1&&n(Ue(i),e,new b(`Exactly one key must be specified for OneOf type "${t.name}".`));let c=s[0],u=r[c];u===null&&n(Ue(i).concat(c),u,new b(`Field "${c}" must be non-null.`))}return r}if(de(t)){let r;try{r=t.parseValue(e)}catch(o){o instanceof b?n(Ue(i),e,o):n(Ue(i),e,new b(`Expected type "${t.name}". `+o.message,{originalError:o}));return}return r===void 0&&n(Ue(i),e,new b(`Expected type "${t.name}".`)),r}ge(!1,"Unexpected input type: "+$(t))}a(no,"coerceInputValueImpl");function Fe(e,t,n){if(e){if(e.kind===h.VARIABLE){let i=e.name.value;if(n==null||n[i]===void 0)return;let r=n[i];return r===null&&A(t)?void 0:r}if(A(t))return e.kind===h.NULL?void 0:Fe(e,t.ofType,n);if(e.kind===h.NULL)return null;if(J(t)){let i=t.ofType;if(e.kind===h.LIST){let o=[];for(let s of e.values)if(Yv(s,n)){if(A(i))return;o.push(null)}else{let c=Fe(s,i,n);if(c===void 0)return;o.push(c)}return o}let r=Fe(e,i,n);return r===void 0?void 0:[r]}if(V(t)){if(e.kind!==h.OBJECT)return;let i=Object.create(null),r=pt(e.fields,o=>o.name.value);for(let o of Object.values(t.getFields())){let s=r[o.name];if(!s||Yv(s.value,n)){if(o.defaultValue!==void 0)i[o.name]=o.defaultValue;else if(A(o.type))return;continue}let c=Fe(s.value,o.type,n);if(c===void 0)return;i[o.name]=c}if(t.isOneOf){let o=Object.keys(i);if(o.length!==1||i[o[0]]===null)return}return i}if(de(t)){let i;try{i=t.parseLiteral(e,n)}catch{return}return i===void 0?void 0:i}ge(!1,"Unexpected input type: "+$(t))}}a(Fe,"valueFromAST");function Yv(e,t){return e.kind===h.VARIABLE&&(t==null||t[e.name.value]===void 0)}a(Yv,"isMissingVariable");function ph(e,t,n,i){let r=[],o=i?.maxErrors;try{let s=II(e,t,n,c=>{if(o!=null&&r.length>=o)throw new b("Too many errors processing variables, error limit reached. Execution aborted.");r.push(c)});if(r.length===0)return{coerced:s}}catch(s){r.push(s)}return{errors:r}}a(ph,"getVariableValues");function II(e,t,n,i){let r={};for(let o of t){let s=o.variable.name.value,c=_e(e,o.type);if(!Re(c)){let l=ee(o.type);i(new b(`Variable "$${s}" expected value of type "${l}" which cannot be used as an input type.`,{nodes:o.type}));continue}if(!Kv(n,s)){if(o.defaultValue)r[s]=Fe(o.defaultValue,c);else if(A(c)){let l=$(c);i(new b(`Variable "$${s}" of required type "${l}" was not provided.`,{nodes:o}))}continue}let u=n[s];if(u===null&&A(c)){let l=$(c);i(new b(`Variable "$${s}" of non-null type "${l}" must not be null.`,{nodes:o}));continue}r[s]=lh(u,c,(l,p,d)=>{let m=`Variable "$${s}" got invalid value `+$(p);l.length>0&&(m+=` at "${s}${xs(l)}"`),i(new b(m+"; "+d.message,{nodes:o,originalError:d}))})}return r}a(II,"coerceVariableValues");function _s(e,t,n){var i;let r={},o=(i=t.arguments)!==null&&i!==void 0?i:[],s=pt(o,c=>c.name.value);for(let c of e.args){let u=c.name,l=c.type,p=s[u];if(!p){if(c.defaultValue!==void 0)r[u]=c.defaultValue;else if(A(l))throw new b(`Argument "${u}" of required type "${$(l)}" was not provided.`,{nodes:t});continue}let d=p.value,m=d.kind===h.NULL;if(d.kind===h.VARIABLE){let y=d.name.value;if(n==null||!Kv(n,y)){if(c.defaultValue!==void 0)r[u]=c.defaultValue;else if(A(l))throw new b(`Argument "${u}" of required type "${$(l)}" was provided the variable "$${y}" which was not provided a runtime value.`,{nodes:d});continue}m=n[y]==null}if(m&&A(l))throw new b(`Argument "${u}" of non-null type "${$(l)}" must not be null.`,{nodes:d});let g=Fe(d,l,n);if(g===void 0)throw new b(`Argument "${u}" has invalid value ${ee(d)}.`,{nodes:d});r[u]=g}return r}a(_s,"getArgumentValues");function ar(e,t,n){var i;let r=(i=t.directives)===null||i===void 0?void 0:i.find(o=>o.name.value===e.name);if(r)return _s(e,r,n)}a(ar,"getDirectiveValues");function Kv(e,t){return Object.prototype.hasOwnProperty.call(e,t)}a(Kv,"hasOwnProperty");function Ts(e,t,n,i,r){let o=new Map;return Ss(e,t,n,i,r,o,new Set),o}a(Ts,"collectFields");function Xv(e,t,n,i,r){let o=new Map,s=new Set;for(let c of r)c.selectionSet&&Ss(e,t,n,i,c.selectionSet,o,s);return o}a(Xv,"collectSubfields");function Ss(e,t,n,i,r,o,s){for(let c of r.selections)switch(c.kind){case h.FIELD:{if(!dh(n,c))continue;let u=EI(c),l=o.get(u);l!==void 0?l.push(c):o.set(u,[c]);break}case h.INLINE_FRAGMENT:{if(!dh(n,c)||!Wv(e,c,i))continue;Ss(e,t,n,i,c.selectionSet,o,s);break}case h.FRAGMENT_SPREAD:{let u=c.name.value;if(s.has(u)||!dh(n,c))continue;s.add(u);let l=t[u];if(!l||!Wv(e,l,i))continue;Ss(e,t,n,i,l.selectionSet,o,s);break}}}a(Ss,"collectFieldsImpl");function dh(e,t){let n=ar(qi,t,e);if(n?.if===!0)return!1;let i=ar(Qi,t,e);return i?.if!==!1}a(dh,"shouldIncludeNode");function Wv(e,t,n){let i=t.typeCondition;if(!i)return!0;let r=_e(e,i);return r===n?!0:qe(r)?e.isSubType(r,n):!1}a(Wv,"doesFragmentConditionMatch");function EI(e){return e.alias?e.alias.value:e.name.value}a(EI,"getFieldEntryKey");function fh(e){return{OperationDefinition(t){if(t.operation==="subscription"){let n=e.getSchema(),i=n.getSubscriptionType();if(i){let r=t.name?t.name.value:null,o=Object.create(null),s=e.getDocument(),c=Object.create(null);for(let l of s.definitions)l.kind===h.FRAGMENT_DEFINITION&&(c[l.name.value]=l);let u=Ts(n,c,o,i,t.selectionSet);if(u.size>1){let d=[...u.values()].slice(1).flat();e.reportError(new b(r!=null?`Subscription "${r}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:d}))}for(let l of u.values())l[0].name.value.startsWith("__")&&e.reportError(new b(r!=null?`Subscription "${r}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:l}))}}}}}a(fh,"SingleFieldSubscriptionsRule");function zn(e,t){let n=new Map;for(let i of e){let r=t(i),o=n.get(r);o===void 0?n.set(r,[i]):o.push(i)}return n}a(zn,"groupBy");function mh(e){return{DirectiveDefinition(i){var r;let o=(r=i.arguments)!==null&&r!==void 0?r:[];return n(`@${i.name.value}`,o)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(i){var r;let o=i.name.value,s=(r=i.fields)!==null&&r!==void 0?r:[];for(let u of s){var c;let l=u.name.value,p=(c=u.arguments)!==null&&c!==void 0?c:[];n(`${o}.${l}`,p)}return!1}function n(i,r){let o=zn(r,s=>s.name.value);for(let[s,c]of o)c.length>1&&e.reportError(new b(`Argument "${i}(${s}:)" can only be defined once.`,{nodes:c.map(u=>u.name)}));return!1}}a(mh,"UniqueArgumentDefinitionNamesRule");function $s(e){return{Field:t,Directive:t};function t(n){var i;let r=(i=n.arguments)!==null&&i!==void 0?i:[],o=zn(r,s=>s.name.value);for(let[s,c]of o)c.length>1&&e.reportError(new b(`There can be only one argument named "${s}".`,{nodes:c.map(u=>u.name)}))}}a($s,"UniqueArgumentNamesRule");function hh(e){let t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(i){let r=i.name.value;if(n!=null&&n.getDirective(r)){e.reportError(new b(`Directive "@${r}" already exists in the schema. It cannot be redefined.`,{nodes:i.name}));return}return t[r]?e.reportError(new b(`There can be only one directive named "@${r}".`,{nodes:[t[r],i.name]})):t[r]=i.name,!1}}}a(hh,"UniqueDirectiveNamesRule");function Is(e){let t=Object.create(null),n=e.getSchema(),i=n?n.getDirectives():Ke;for(let c of i)t[c.name]=!c.isRepeatable;let r=e.getDocument().definitions;for(let c of r)c.kind===h.DIRECTIVE_DEFINITION&&(t[c.name.value]=!c.repeatable);let o=Object.create(null),s=Object.create(null);return{enter(c){if(!("directives"in c)||!c.directives)return;let u;if(c.kind===h.SCHEMA_DEFINITION||c.kind===h.SCHEMA_EXTENSION)u=o;else if(At(c)||An(c)){let l=c.name.value;u=s[l],u===void 0&&(s[l]=u=Object.create(null))}else u=Object.create(null);for(let l of c.directives){let p=l.name.value;t[p]&&(u[p]?e.reportError(new b(`The directive "@${p}" can only be used once at this location.`,{nodes:[u[p],l]})):u[p]=l)}}}}a(Is,"UniqueDirectivesPerLocationRule");function gh(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{EnumTypeDefinition:r,EnumTypeExtension:r};function r(o){var s;let c=o.name.value;i[c]||(i[c]=Object.create(null));let u=(s=o.values)!==null&&s!==void 0?s:[],l=i[c];for(let p of u){let d=p.name.value,m=n[c];te(m)&&m.getValue(d)?e.reportError(new b(`Enum value "${c}.${d}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:p.name})):l[d]?e.reportError(new b(`Enum value "${c}.${d}" can only be defined once.`,{nodes:[l[d],p.name]})):l[d]=p.name}return!1}}a(gh,"UniqueEnumValueNamesRule");function yh(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:r,InputObjectTypeExtension:r,InterfaceTypeDefinition:r,InterfaceTypeExtension:r,ObjectTypeDefinition:r,ObjectTypeExtension:r};function r(o){var s;let c=o.name.value;i[c]||(i[c]=Object.create(null));let u=(s=o.fields)!==null&&s!==void 0?s:[],l=i[c];for(let p of u){let d=p.name.value;OI(n[c],d)?e.reportError(new b(`Field "${c}.${d}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:p.name})):l[d]?e.reportError(new b(`Field "${c}.${d}" can only be defined once.`,{nodes:[l[d],p.name]})):l[d]=p.name}return!1}}a(yh,"UniqueFieldDefinitionNamesRule");function OI(e,t){return j(e)||M(e)||V(e)?e.getFields()[t]!=null:!1}a(OI,"hasField");function vh(e){let t=Object.create(null);return{OperationDefinition:a(()=>!1,"OperationDefinition"),FragmentDefinition(n){let i=n.name.value;return t[i]?e.reportError(new b(`There can be only one fragment named "${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name,!1}}}a(vh,"UniqueFragmentNamesRule");function Es(e){let t=[],n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){let i=t.pop();i||ge(!1),n=i}},ObjectField(i){let r=i.name.value;n[r]?e.reportError(new b(`There can be only one input field named "${r}".`,{nodes:[n[r],i.name]})):n[r]=i.name}}}a(Es,"UniqueInputFieldNamesRule");function bh(e){let t=Object.create(null);return{OperationDefinition(n){let i=n.name;return i&&(t[i.value]?e.reportError(new b(`There can be only one operation named "${i.value}".`,{nodes:[t[i.value],i]})):t[i.value]=i),!1},FragmentDefinition:a(()=>!1,"FragmentDefinition")}}a(bh,"UniqueOperationNamesRule");function xh(e){let t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:r,SchemaExtension:r};function r(o){var s;let c=(s=o.operationTypes)!==null&&s!==void 0?s:[];for(let u of c){let l=u.operation,p=n[l];i[l]?e.reportError(new b(`Type for ${l} already defined in the schema. It cannot be redefined.`,{nodes:u})):p?e.reportError(new b(`There can be only one ${l} type in schema.`,{nodes:[p,u]})):n[l]=u}return!1}}a(xh,"UniqueOperationTypesRule");function _h(e){let t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(r){let o=r.name.value;if(n!=null&&n.getType(o)){e.reportError(new b(`Type "${o}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name}));return}return t[o]?e.reportError(new b(`There can be only one type named "${o}".`,{nodes:[t[o],r.name]})):t[o]=r.name,!1}}a(_h,"UniqueTypeNamesRule");function Sh(e){return{OperationDefinition(t){var n;let i=(n=t.variableDefinitions)!==null&&n!==void 0?n:[],r=zn(i,o=>o.variable.name.value);for(let[o,s]of r)s.length>1&&e.reportError(new b(`There can be only one variable named "$${o}".`,{nodes:s.map(c=>c.variable.name)}))}}}a(Sh,"UniqueVariableNamesRule");function Th(e){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(n){t[n.variable.name.value]=n},ListValue(n){let i=nr(e.getParentInputType());if(!J(i))return Dr(e,n),!1},ObjectValue(n){let i=le(e.getInputType());if(!V(i))return Dr(e,n),!1;let r=pt(n.fields,o=>o.name.value);for(let o of Object.values(i.getFields()))if(!r[o.name]&&On(o)){let c=$(o.type);e.reportError(new b(`Field "${i.name}.${o.name}" of required type "${c}" was not provided.`,{nodes:n}))}i.isOneOf&&NI(e,n,i,r)},ObjectField(n){let i=le(e.getParentInputType());if(!e.getInputType()&&V(i)){let o=Ge(n.name.value,Object.keys(i.getFields()));e.reportError(new b(`Field "${n.name.value}" is not defined by type "${i.name}".`+Le(o),{nodes:n}))}},NullValue(n){let i=e.getInputType();A(i)&&e.reportError(new b(`Expected value of type "${$(i)}", found ${ee(n)}.`,{nodes:n}))},EnumValue:a(n=>Dr(e,n),"EnumValue"),IntValue:a(n=>Dr(e,n),"IntValue"),FloatValue:a(n=>Dr(e,n),"FloatValue"),StringValue:a(n=>Dr(e,n),"StringValue"),BooleanValue:a(n=>Dr(e,n),"BooleanValue")}}a(Th,"ValuesOfCorrectTypeRule");function Dr(e,t){let n=e.getInputType();if(!n)return;let i=le(n);if(!de(i)){let r=$(n);e.reportError(new b(`Expected value of type "${r}", found ${ee(t)}.`,{nodes:t}));return}try{if(i.parseLiteral(t,void 0)===void 0){let o=$(n);e.reportError(new b(`Expected value of type "${o}", found ${ee(t)}.`,{nodes:t}))}}catch(r){let o=$(n);r instanceof b?e.reportError(r):e.reportError(new b(`Expected value of type "${o}", found ${ee(t)}; `+r.message,{nodes:t,originalError:r}))}}a(Dr,"isValidValueNode");function NI(e,t,n,i){var r;let o=Object.keys(i);if(o.length!==1){e.reportError(new b(`OneOf Input Object "${n.name}" must specify exactly one key.`,{nodes:[t]}));return}let c=(r=i[o[0]])===null||r===void 0?void 0:r.value;(!c||c.kind===h.NULL)&&e.reportError(new b(`Field "${n.name}.${o[0]}" must be non-null.`,{nodes:[t]}))}a(NI,"validateOneOfInputObject");function $h(e){return{VariableDefinition(t){let n=_e(e.getSchema(),t.type);if(n!==void 0&&!Re(n)){let i=t.variable.name.value,r=ee(t.type);e.reportError(new b(`Variable "$${i}" cannot be non-input type "${r}".`,{nodes:t.type}))}}}}a($h,"VariablesAreInputTypesRule");function Ih(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){let i=e.getRecursiveVariableUsages(n);for(let{node:r,type:o,defaultValue:s,parentType:c}of i){let u=r.name.value,l=t[u];if(l&&o){let p=e.getSchema(),d=_e(p,l.type);if(d&&!kI(p,d,l.defaultValue,o,s)){let m=$(d),g=$(o);e.reportError(new b(`Variable "$${u}" of type "${m}" used in position expecting type "${g}".`,{nodes:[l,r]}))}V(c)&&c.isOneOf&&Mi(d)&&e.reportError(new b(`Variable "$${u}" is of type "${d}" but must be non-nullable to be used for OneOf Input Object "${c}".`,{nodes:[l,r]}))}}}},VariableDefinition(n){t[n.variable.name.value]=n}}}a(Ih,"VariablesInAllowedPositionRule");function kI(e,t,n,i,r){if(A(i)&&!A(t)){if(!(n!=null&&n.kind!==h.NULL)&&!(r!==void 0))return!1;let c=i.ofType;return Zt(e,t,c)}return Zt(e,t,i)}a(kI,"allowedVariableUsage");var Hv=Object.freeze([Ym]),Eh=Object.freeze([Vm,bh,Qm,fh,ms,Zm,$h,uh,Mm,vh,Jm,Xm,oh,Km,Sh,Wm,Hm,fs,Is,Gm,$s,Th,sh,Ih,nh,Es,...Hv]),eb=Object.freeze([qm,xh,_h,gh,yh,mh,hh,ms,fs,Is,ah,Bm,$s,Es,ch]);var Os=class{static{a(this,"ASTValidationContext")}constructor(t,n){this._ast=t,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=n}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(t){this._onError(t)}getDocument(){return this._ast}getFragment(t){let n;if(this._fragments)n=this._fragments;else{n=Object.create(null);for(let i of this.getDocument().definitions)i.kind===h.FRAGMENT_DEFINITION&&(n[i.name.value]=i);this._fragments=n}return n[t]}getFragmentSpreads(t){let n=this._fragmentSpreads.get(t);if(!n){n=[];let i=[t],r;for(;r=i.pop();)for(let o of r.selections)o.kind===h.FRAGMENT_SPREAD?n.push(o):o.selectionSet&&i.push(o.selectionSet);this._fragmentSpreads.set(t,n)}return n}getRecursivelyReferencedFragments(t){let n=this._recursivelyReferencedFragments.get(t);if(!n){n=[];let i=Object.create(null),r=[t.selectionSet],o;for(;o=r.pop();)for(let s of this.getFragmentSpreads(o)){let c=s.name.value;if(i[c]!==!0){i[c]=!0;let u=this.getFragment(c);u&&(n.push(u),r.push(u.selectionSet))}}this._recursivelyReferencedFragments.set(t,n)}return n}},Ns=class extends Os{static{a(this,"SDLValidationContext")}constructor(t,n,i){super(t,i),this._schema=n}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}},io=class extends Os{static{a(this,"ValidationContext")}constructor(t,n,i,r){super(n,r),this._schema=t,this._typeInfo=i,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(t){let n=this._variableUsages.get(t);if(!n){let i=[],r=new kr(this._schema);tr(t,ro(r,{VariableDefinition:a(()=>!1,"VariableDefinition"),Variable(o){i.push({node:o,type:r.getInputType(),defaultValue:r.getDefaultValue(),parentType:r.getParentInputType()})}})),n=i,this._variableUsages.set(t,n)}return n}getRecursiveVariableUsages(t){let n=this._recursiveVariableUsages.get(t);if(!n){n=this.getVariableUsages(t);for(let i of this.getRecursivelyReferencedFragments(t))n=n.concat(this.getVariableUsages(i));this._recursiveVariableUsages.set(t,n)}return n}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}};var wI=dt(zi,e=>e.filter(t=>t!=="description"));function ks(e,t,n=Eh,i,r=new kr(e)){var o;let s=(o=i?.maxErrors)!==null&&o!==void 0?o:100;t||Q(!1,"Must provide document."),to(e);let c=Object.freeze({}),u=[],l=new io(e,t,r,d=>{if(u.length>=s)throw u.push(new b("Too many validation errors, error limit reached. Validation aborted.")),c;u.push(d)}),p=os(n.map(d=>d(l)));try{tr(t,ro(r,p),wI)}catch(d){if(d!==c)throw d}return u}a(ks,"validate");function DI(e,t,n=eb){let i=[],r=new Ns(e,t,s=>{i.push(s)}),o=n.map(s=>s(r));return tr(e,os(o)),i}a(DI,"validateSDL");function tb(e){let t=DI(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(`
116
+ `))}a(oo,"assertValidSchema");var Jm=class{static{a(this,"SchemaValidationContext")}constructor(t){this._errors=[],this.schema=t}reportError(t,n){let i=Array.isArray(n)?n.filter(Boolean):n;this._errors.push(new x(t,{nodes:i}))}getErrors(){return this._errors}};function bI(e){let t=e.schema,n=t.getQueryType();if(!n)e.reportError("Query root type must be provided.",t.astNode);else if(!A(n)){var i;e.reportError(`Query root type must be Object type, it cannot be ${$(n)}.`,(i=Bm(t,he.QUERY))!==null&&i!==void 0?i:n.astNode)}let r=t.getMutationType();if(r&&!A(r)){var o;e.reportError(`Mutation root type must be Object type if provided, it cannot be ${$(r)}.`,(o=Bm(t,he.MUTATION))!==null&&o!==void 0?o:r.astNode)}let s=t.getSubscriptionType();if(s&&!A(s)){var c;e.reportError(`Subscription root type must be Object type if provided, it cannot be ${$(s)}.`,(c=Bm(t,he.SUBSCRIPTION))!==null&&c!==void 0?c:s.astNode)}}a(bI,"validateRootTypes");function Bm(e,t){var n;return(n=[e.astNode,...e.extensionASTNodes].flatMap(i=>{var r;return(r=i?.operationTypes)!==null&&r!==void 0?r:[]}).find(i=>i.operation===t))===null||n===void 0?void 0:n.type}a(Bm,"getOperationTypeNode");function _I(e){for(let n of e.schema.getDirectives()){if(!Ln(n)){e.reportError(`Expected directive but got: ${$(n)}.`,n?.astNode);continue}Dr(e,n),n.locations.length===0&&e.reportError(`Directive @${n.name} must include 1 or more locations.`,n.astNode);for(let i of n.args)if(Dr(e,i),Re(i.type)||e.reportError(`The type of @${n.name}(${i.name}:) must be Input Type but got: ${$(i.type)}.`,i.astNode),Gt(i)&&i.deprecationReason!=null){var t;e.reportError(`Required argument @${n.name}(${i.name}:) cannot be deprecated.`,[Qm(i.astNode),(t=i.astNode)===null||t===void 0?void 0:t.type])}}}a(_I,"validateDirectives");function Dr(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}a(Dr,"validateName");function SI(e){let t=NI(e),n=e.schema.getTypeMap();for(let i of Object.values(n)){if(!sr(i)){e.reportError(`Expected GraphQL named type but got: ${$(i)}.`,i.astNode);continue}no(i)||Dr(e,i),A(i)||M(i)?(ix(e,i),ox(e,i)):ye(i)?II(e,i):te(i)?EI(e,i):V(i)&&(OI(e,i),t(i))}}a(SI,"validateTypes");function ix(e,t){let n=Object.values(t.getFields());n.length===0&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(let s of n){if(Dr(e,s),!Zt(s.type)){var i;e.reportError(`The type of ${t.name}.${s.name} must be Output Type but got: ${$(s.type)}.`,(i=s.astNode)===null||i===void 0?void 0:i.type)}for(let c of s.args){let u=c.name;if(Dr(e,c),!Re(c.type)){var r;e.reportError(`The type of ${t.name}.${s.name}(${u}:) must be Input Type but got: ${$(c.type)}.`,(r=c.astNode)===null||r===void 0?void 0:r.type)}if(Gt(c)&&c.deprecationReason!=null){var o;e.reportError(`Required argument ${t.name}.${s.name}(${u}:) cannot be deprecated.`,[Qm(c.astNode),(o=c.astNode)===null||o===void 0?void 0:o.type])}}}}a(ix,"validateFields");function ox(e,t){let n=Object.create(null);for(let i of t.getInterfaces()){if(!M(i)){e.reportError(`Type ${$(t)} must only implement Interface types, it cannot implement ${$(i)}.`,io(t,i));continue}if(t===i){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,io(t,i));continue}if(n[i.name]){e.reportError(`Type ${t.name} can only implement ${i.name} once.`,io(t,i));continue}n[i.name]=!0,$I(e,t,i),TI(e,t,i)}}a(ox,"validateInterfaces");function TI(e,t,n){let i=t.getFields();for(let u of Object.values(n.getFields())){let l=u.name,p=i[l];if(!p){e.reportError(`Interface field ${n.name}.${l} expected but ${t.name} does not provide it.`,[u.astNode,t.astNode,...t.extensionASTNodes]);continue}if(!Bt(e.schema,p.type,u.type)){var r,o;e.reportError(`Interface field ${n.name}.${l} expects type ${$(u.type)} but ${t.name}.${l} is type ${$(p.type)}.`,[(r=u.astNode)===null||r===void 0?void 0:r.type,(o=p.astNode)===null||o===void 0?void 0:o.type])}for(let d of u.args){let m=d.name,g=p.args.find(y=>y.name===m);if(!g){e.reportError(`Interface field argument ${n.name}.${l}(${m}:) expected but ${t.name}.${l} does not provide it.`,[d.astNode,p.astNode]);continue}if(!Qi(d.type,g.type)){var s,c;e.reportError(`Interface field argument ${n.name}.${l}(${m}:) expects type ${$(d.type)} but ${t.name}.${l}(${m}:) is type ${$(g.type)}.`,[(s=d.astNode)===null||s===void 0?void 0:s.type,(c=g.astNode)===null||c===void 0?void 0:c.type])}}for(let d of p.args){let m=d.name;!u.args.find(y=>y.name===m)&&Gt(d)&&e.reportError(`Object field ${t.name}.${l} includes required argument ${m} that is missing from the Interface field ${n.name}.${l}.`,[d.astNode,u.astNode])}}}a(TI,"validateTypeImplementsInterface");function $I(e,t,n){let i=t.getInterfaces();for(let r of n.getInterfaces())i.includes(r)||e.reportError(r===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${r.name} because it is implemented by ${n.name}.`,[...io(n,r),...io(t,n)])}a($I,"validateTypeImplementsAncestors");function II(e,t){let n=t.getTypes();n.length===0&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);let i=Object.create(null);for(let r of n){if(i[r.name]){e.reportError(`Union type ${t.name} can only include type ${r.name} once.`,ax(t,r.name));continue}i[r.name]=!0,A(r)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${$(r)}.`,ax(t,String(r)))}}a(II,"validateUnionMembers");function EI(e,t){let n=t.getValues();n.length===0&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(let i of n)Dr(e,i)}a(EI,"validateEnumValues");function OI(e,t){let n=Object.values(t.getFields());n.length===0&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(let o of n){if(Dr(e,o),!Re(o.type)){var i;e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${$(o.type)}.`,(i=o.astNode)===null||i===void 0?void 0:i.type)}if(Dn(o)&&o.deprecationReason!=null){var r;e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[Qm(o.astNode),(r=o.astNode)===null||r===void 0?void 0:r.type])}t.isOneOf&&wI(t,o,e)}}a(OI,"validateInputFields");function wI(e,t,n){if(j(t.type)){var i;n.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,(i=t.astNode)===null||i===void 0?void 0:i.type)}t.defaultValue!==void 0&&n.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}a(wI,"validateOneOfInputObjectField");function NI(e){let t=Object.create(null),n=[],i=Object.create(null);return r;function r(o){if(t[o.name])return;t[o.name]=!0,i[o.name]=n.length;let s=Object.values(o.getFields());for(let c of s)if(j(c.type)&&V(c.type.ofType)){let u=c.type.ofType,l=i[u.name];if(n.push(c),l===void 0)r(u);else{let p=n.slice(l),d=p.map(m=>m.name).join(".");e.reportError(`Cannot reference Input Object "${u.name}" within itself through a series of non-null fields: "${d}".`,p.map(m=>m.astNode))}n.pop()}i[o.name]=void 0}}a(NI,"createInputObjectCircularRefsValidator");function io(e,t){let{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(o=>{var s;return(s=o.interfaces)!==null&&s!==void 0?s:[]}).filter(o=>o.name.value===t.name)}a(io,"getAllImplementsInterfaceNodes");function ax(e,t){let{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(o=>{var s;return(s=o.types)!==null&&s!==void 0?s:[]}).filter(o=>o.name.value===t)}a(ax,"getUnionMemberTypeNodes");function Qm(e){var t;return e==null||(t=e.directives)===null||t===void 0?void 0:t.find(n=>n.name.value===Or.name)}a(Qm,"getDeprecatedDirectiveNode");function _e(e,t){switch(t.kind){case h.LIST_TYPE:{let n=_e(e,t.type);return n&&new ue(n)}case h.NON_NULL_TYPE:{let n=_e(e,t.type);return n&&new G(n)}case h.NAMED_TYPE:return e.getType(t.name.value)}}a(_e,"typeFromAST");var Rr=class{static{a(this,"TypeInfo")}constructor(t,n,i){this._schema=t,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=i??kI,n&&(Re(n)&&this._inputTypeStack.push(n),ft(n)&&this._parentTypeStack.push(n),Zt(n)&&this._typeStack.push(n))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(t){let n=this._schema;switch(t.kind){case h.SELECTION_SET:{let r=le(this.getType());this._parentTypeStack.push(ft(r)?r:void 0);break}case h.FIELD:{let r=this.getParentType(),o,s;r&&(o=this._getFieldDef(n,r,t),o&&(s=o.type)),this._fieldDefStack.push(o),this._typeStack.push(Zt(s)?s:void 0);break}case h.DIRECTIVE:this._directive=n.getDirective(t.name.value);break;case h.OPERATION_DEFINITION:{let r=n.getRootType(t.operation);this._typeStack.push(A(r)?r:void 0);break}case h.INLINE_FRAGMENT:case h.FRAGMENT_DEFINITION:{let r=t.typeCondition,o=r?_e(n,r):le(this.getType());this._typeStack.push(Zt(o)?o:void 0);break}case h.VARIABLE_DEFINITION:{let r=_e(n,t.type);this._inputTypeStack.push(Re(r)?r:void 0);break}case h.ARGUMENT:{var i;let r,o,s=(i=this.getDirective())!==null&&i!==void 0?i:this.getFieldDef();s&&(r=s.args.find(c=>c.name===t.name.value),r&&(o=r.type)),this._argument=r,this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push(Re(o)?o:void 0);break}case h.LIST:{let r=ar(this.getInputType()),o=J(r)?r.ofType:r;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Re(o)?o:void 0);break}case h.OBJECT_FIELD:{let r=le(this.getInputType()),o,s;V(r)&&(s=r.getFields()[t.name.value],s&&(o=s.type)),this._defaultValueStack.push(s?s.defaultValue:void 0),this._inputTypeStack.push(Re(o)?o:void 0);break}case h.ENUM:{let r=le(this.getInputType()),o;te(r)&&(o=r.getValue(t.value)),this._enumValue=o;break}default:}}leave(t){switch(t.kind){case h.SELECTION_SET:this._parentTypeStack.pop();break;case h.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case h.DIRECTIVE:this._directive=null;break;case h.OPERATION_DEFINITION:case h.INLINE_FRAGMENT:case h.FRAGMENT_DEFINITION:this._typeStack.pop();break;case h.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case h.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case h.LIST:case h.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case h.ENUM:this._enumValue=null;break;default:}}};function kI(e,t,n){let i=n.name.value;if(i===wr.name&&e.getQueryType()===t)return wr;if(i===Nr.name&&e.getQueryType()===t)return Nr;if(i===kr.name&&ft(t))return kr;if(A(t)||M(t))return t.getFields()[i]}a(kI,"getFieldDef");function ao(e,t){return{enter(...n){let i=n[0];e.enter(i);let r=wn(t,i.kind).enter;if(r){let o=r.apply(t,n);return o!==void 0&&(e.leave(i),Ci(o)&&e.enter(o)),o}},leave(...n){let i=n[0],r=wn(t,i.kind).leave,o;return r&&(o=r.apply(t,n)),e.leave(i),o}}}a(ao,"visitWithTypeInfo");function qm(e){return e.kind===h.OPERATION_DEFINITION||e.kind===h.FRAGMENT_DEFINITION}a(qm,"isExecutableDefinitionNode");function Ym(e){return e.kind===h.SCHEMA_DEFINITION||Lt(e)||e.kind===h.DIRECTIVE_DEFINITION}a(Ym,"isTypeSystemDefinitionNode");function Lt(e){return e.kind===h.SCALAR_TYPE_DEFINITION||e.kind===h.OBJECT_TYPE_DEFINITION||e.kind===h.INTERFACE_TYPE_DEFINITION||e.kind===h.UNION_TYPE_DEFINITION||e.kind===h.ENUM_TYPE_DEFINITION||e.kind===h.INPUT_OBJECT_TYPE_DEFINITION}a(Lt,"isTypeDefinitionNode");function Km(e){return e.kind===h.SCHEMA_EXTENSION||Un(e)}a(Km,"isTypeSystemExtensionNode");function Un(e){return e.kind===h.SCALAR_TYPE_EXTENSION||e.kind===h.OBJECT_TYPE_EXTENSION||e.kind===h.INTERFACE_TYPE_EXTENSION||e.kind===h.UNION_TYPE_EXTENSION||e.kind===h.ENUM_TYPE_EXTENSION||e.kind===h.INPUT_OBJECT_TYPE_EXTENSION}a(Un,"isTypeExtensionNode");function Wm(e){return{Document(t){for(let n of t.definitions)if(!qm(n)){let i=n.kind===h.SCHEMA_DEFINITION||n.kind===h.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new x(`The ${i} definition is not executable.`,{nodes:n}))}return!1}}}a(Wm,"ExecutableDefinitionsRule");function Hm(e){return{Field(t){let n=e.getParentType();if(n&&!e.getFieldDef()){let r=e.getSchema(),o=t.name.value,s=ze("to use an inline fragment on",DI(r,n,o));s===""&&(s=ze(RI(n,o))),e.reportError(new x(`Cannot query field "${o}" on type "${n.name}".`+s,{nodes:t}))}}}}a(Hm,"FieldsOnCorrectTypeRule");function DI(e,t,n){if(!qe(t))return[];let i=new Set,r=Object.create(null);for(let s of e.getPossibleTypes(t))if(s.getFields()[n]){i.add(s),r[s.name]=1;for(let c of s.getInterfaces()){var o;c.getFields()[n]&&(i.add(c),r[c.name]=((o=r[c.name])!==null&&o!==void 0?o:0)+1)}}return[...i].sort((s,c)=>{let u=r[c.name]-r[s.name];return u!==0?u:M(s)&&e.isSubType(s,c)?-1:M(c)&&e.isSubType(c,s)?1:En(s.name,c.name)}).map(s=>s.name)}a(DI,"getSuggestedTypeNames");function RI(e,t){if(A(e)||M(e)){let n=Object.keys(e.getFields());return Ge(t,n)}return[]}a(RI,"getSuggestedFieldNames");function Xm(e){return{InlineFragment(t){let n=t.typeCondition;if(n){let i=_e(e.getSchema(),n);if(i&&!ft(i)){let r=ee(n);e.reportError(new x(`Fragment cannot condition on non composite type "${r}".`,{nodes:n}))}}},FragmentDefinition(t){let n=_e(e.getSchema(),t.typeCondition);if(n&&!ft(n)){let i=ee(t.typeCondition);e.reportError(new x(`Fragment "${t.name.value}" cannot condition on non composite type "${i}".`,{nodes:t.typeCondition}))}}}}a(Xm,"FragmentsOnCompositeTypesRule");function eh(e){return{...th(e),Argument(t){let n=e.getArgument(),i=e.getFieldDef(),r=e.getParentType();if(!n&&i&&r){let o=t.name.value,s=i.args.map(u=>u.name),c=Ge(o,s);e.reportError(new x(`Unknown argument "${o}" on field "${r.name}.${i.name}".`+ze(c),{nodes:t}))}}}}a(eh,"KnownArgumentNamesRule");function th(e){let t=Object.create(null),n=e.getSchema(),i=n?n.getDirectives():Ke;for(let s of i)t[s.name]=s.args.map(c=>c.name);let r=e.getDocument().definitions;for(let s of r)if(s.kind===h.DIRECTIVE_DEFINITION){var o;let c=(o=s.arguments)!==null&&o!==void 0?o:[];t[s.name.value]=c.map(u=>u.name.value)}return{Directive(s){let c=s.name.value,u=t[c];if(s.arguments&&u)for(let l of s.arguments){let p=l.name.value;if(!u.includes(p)){let d=Ge(p,u);e.reportError(new x(`Unknown argument "${p}" on directive "@${c}".`+ze(d),{nodes:l}))}}return!1}}}a(th,"KnownArgumentNamesOnDirectivesRule");function bs(e){let t=Object.create(null),n=e.getSchema(),i=n?n.getDirectives():Ke;for(let o of i)t[o.name]=o.locations;let r=e.getDocument().definitions;for(let o of r)o.kind===h.DIRECTIVE_DEFINITION&&(t[o.name.value]=o.locations.map(s=>s.value));return{Directive(o,s,c,u,l){let p=o.name.value,d=t[p];if(!d){e.reportError(new x(`Unknown directive "@${p}".`,{nodes:o}));return}let m=AI(l);m&&!d.includes(m)&&e.reportError(new x(`Directive "@${p}" may not be used on ${m}.`,{nodes:o}))}}}a(bs,"KnownDirectivesRule");function AI(e){let t=e[e.length-1];switch("kind"in t||ge(!1),t.kind){case h.OPERATION_DEFINITION:return jI(t.operation);case h.FIELD:return C.FIELD;case h.FRAGMENT_SPREAD:return C.FRAGMENT_SPREAD;case h.INLINE_FRAGMENT:return C.INLINE_FRAGMENT;case h.FRAGMENT_DEFINITION:return C.FRAGMENT_DEFINITION;case h.VARIABLE_DEFINITION:return C.VARIABLE_DEFINITION;case h.SCHEMA_DEFINITION:case h.SCHEMA_EXTENSION:return C.SCHEMA;case h.SCALAR_TYPE_DEFINITION:case h.SCALAR_TYPE_EXTENSION:return C.SCALAR;case h.OBJECT_TYPE_DEFINITION:case h.OBJECT_TYPE_EXTENSION:return C.OBJECT;case h.FIELD_DEFINITION:return C.FIELD_DEFINITION;case h.INTERFACE_TYPE_DEFINITION:case h.INTERFACE_TYPE_EXTENSION:return C.INTERFACE;case h.UNION_TYPE_DEFINITION:case h.UNION_TYPE_EXTENSION:return C.UNION;case h.ENUM_TYPE_DEFINITION:case h.ENUM_TYPE_EXTENSION:return C.ENUM;case h.ENUM_VALUE_DEFINITION:return C.ENUM_VALUE;case h.INPUT_OBJECT_TYPE_DEFINITION:case h.INPUT_OBJECT_TYPE_EXTENSION:return C.INPUT_OBJECT;case h.INPUT_VALUE_DEFINITION:{let n=e[e.length-3];return"kind"in n||ge(!1),n.kind===h.INPUT_OBJECT_TYPE_DEFINITION?C.INPUT_FIELD_DEFINITION:C.ARGUMENT_DEFINITION}default:ge(!1,"Unexpected kind: "+$(t.kind))}}a(AI,"getDirectiveLocationForASTPath");function jI(e){switch(e){case he.QUERY:return C.QUERY;case he.MUTATION:return C.MUTATION;case he.SUBSCRIPTION:return C.SUBSCRIPTION}}a(jI,"getDirectiveLocationForOperation");function rh(e){return{FragmentSpread(t){let n=t.name.value;e.getFragment(n)||e.reportError(new x(`Unknown fragment "${n}".`,{nodes:t.name}))}}}a(rh,"KnownFragmentNamesRule");function _s(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);for(let o of e.getDocument().definitions)Lt(o)&&(i[o.name.value]=!0);let r=[...Object.keys(n),...Object.keys(i)];return{NamedType(o,s,c,u,l){let p=o.name.value;if(!n[p]&&!i[p]){var d;let m=(d=l[2])!==null&&d!==void 0?d:c,g=m!=null&&LI(m);if(g&&cx.includes(p))return;let y=Ge(p,g?cx.concat(r):r);e.reportError(new x(`Unknown type "${p}".`+ze(y),{nodes:o}))}}}}a(_s,"KnownTypeNamesRule");var cx=[...Er,...Pn].map(e=>e.name);function LI(e){return"kind"in e&&(Ym(e)||Km(e))}a(LI,"isSDLNode");function nh(e){let t=0;return{Document(n){t=n.definitions.filter(i=>i.kind===h.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new x("This anonymous operation must be the only defined operation.",{nodes:n}))}}}a(nh,"LoneAnonymousOperationRule");function ih(e){var t,n,i;let r=e.getSchema(),o=(t=(n=(i=r?.astNode)!==null&&i!==void 0?i:r?.getQueryType())!==null&&n!==void 0?n:r?.getMutationType())!==null&&t!==void 0?t:r?.getSubscriptionType(),s=0;return{SchemaDefinition(c){if(o){e.reportError(new x("Cannot define a new schema within a schema extension.",{nodes:c}));return}s>0&&e.reportError(new x("Must provide only one schema definition.",{nodes:c})),++s}}}a(ih,"LoneSchemaDefinitionRule");var zI=3;function oh(e){function t(n,i=Object.create(null),r=0){if(n.kind===h.FRAGMENT_SPREAD){let o=n.name.value;if(i[o]===!0)return!1;let s=e.getFragment(o);if(!s)return!1;try{return i[o]=!0,t(s,i,r)}finally{i[o]=void 0}}if(n.kind===h.FIELD&&(n.name.value==="fields"||n.name.value==="interfaces"||n.name.value==="possibleTypes"||n.name.value==="inputFields")&&(r++,r>=zI))return!0;if("selectionSet"in n&&n.selectionSet){for(let o of n.selectionSet.selections)if(t(o,i,r))return!0}return!1}return a(t,"checkDepth"),{Field(n){if((n.name.value==="__schema"||n.name.value==="__type")&&t(n))return e.reportError(new x("Maximum introspection depth exceeded",{nodes:[n]})),!1}}}a(oh,"MaxIntrospectionDepthRule");function ah(e){let t=Object.create(null),n=[],i=Object.create(null);return{OperationDefinition:a(()=>!1,"OperationDefinition"),FragmentDefinition(o){return r(o),!1}};function r(o){if(t[o.name.value])return;let s=o.name.value;t[s]=!0;let c=e.getFragmentSpreads(o.selectionSet);if(c.length!==0){i[s]=n.length;for(let u of c){let l=u.name.value,p=i[l];if(n.push(u),p===void 0){let d=e.getFragment(l);d&&r(d)}else{let d=n.slice(p),m=d.slice(0,-1).map(g=>'"'+g.name.value+'"').join(", ");e.reportError(new x(`Cannot spread fragment "${l}" within itself`+(m!==""?` via ${m}.`:"."),{nodes:d}))}n.pop()}i[s]=void 0}}}a(ah,"NoFragmentCyclesRule");function sh(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){let i=e.getRecursiveVariableUsages(n);for(let{node:r}of i){let o=r.name.value;t[o]!==!0&&e.reportError(new x(n.name?`Variable "$${o}" is not defined by operation "${n.name.value}".`:`Variable "$${o}" is not defined.`,{nodes:[r,n]}))}}},VariableDefinition(n){t[n.variable.name.value]=!0}}}a(sh,"NoUndefinedVariablesRule");function ch(e){let t=[],n=[];return{OperationDefinition(i){return t.push(i),!1},FragmentDefinition(i){return n.push(i),!1},Document:{leave(){let i=Object.create(null);for(let r of t)for(let o of e.getRecursivelyReferencedFragments(r))i[o.name.value]=!0;for(let r of n){let o=r.name.value;i[o]!==!0&&e.reportError(new x(`Fragment "${o}" is never used.`,{nodes:r}))}}}}}a(ch,"NoUnusedFragmentsRule");function uh(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){let i=Object.create(null),r=e.getRecursiveVariableUsages(n);for(let{node:o}of r)i[o.name.value]=!0;for(let o of t){let s=o.variable.name.value;i[s]!==!0&&e.reportError(new x(n.name?`Variable "$${s}" is never used in operation "${n.name.value}".`:`Variable "$${s}" is never used.`,{nodes:o}))}}},VariableDefinition(n){t.push(n)}}}a(uh,"NoUnusedVariablesRule");function Ss(e){switch(e.kind){case h.OBJECT:return{...e,fields:PI(e.fields)};case h.LIST:return{...e,values:e.values.map(Ss)};case h.INT:case h.FLOAT:case h.STRING:case h.BOOLEAN:case h.NULL:case h.ENUM:case h.VARIABLE:return e}}a(Ss,"sortValueNode");function PI(e){return e.map(t=>({...t,value:Ss(t.value)})).sort((t,n)=>En(t.name.value,n.name.value))}a(PI,"sortFields");function lx(e){return Array.isArray(e)?e.map(([t,n])=>`subfields "${t}" conflict because `+lx(n)).join(" and "):e}a(lx,"reasonMessage");function fh(e){let t=new Es,n=new dh,i=new Map;return{SelectionSet(r){let o=UI(e,i,t,n,e.getParentType(),r);for(let[[s,c],u,l]of o){let p=lx(c);e.reportError(new x(`Fields "${s}" conflict because ${p}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:u.concat(l)}))}}}}a(fh,"OverlappingFieldsCanBeMergedRule");function UI(e,t,n,i,r,o){let s=[],[c,u]=Is(e,t,r,o);if(CI(e,s,t,n,i,c),u.length!==0)for(let l=0;l<u.length;l++){Ts(e,s,t,n,i,!1,c,u[l]);for(let p=l+1;p<u.length;p++)$s(e,s,t,n,i,!1,u[l],u[p])}return s}a(UI,"findConflictsWithinSelectionSet");function Ts(e,t,n,i,r,o,s,c){if(i.has(s,c,o))return;i.add(s,c,o);let u=e.getFragment(c);if(!u)return;let[l,p]=ph(e,n,u);if(s!==l){mh(e,t,n,i,r,o,s,l);for(let d of p)Ts(e,t,n,i,r,o,s,d)}}a(Ts,"collectConflictsBetweenFieldsAndFragment");function $s(e,t,n,i,r,o,s,c){if(s===c||r.has(s,c,o))return;r.add(s,c,o);let u=e.getFragment(s),l=e.getFragment(c);if(!u||!l)return;let[p,d]=ph(e,n,u),[m,g]=ph(e,n,l);mh(e,t,n,i,r,o,p,m);for(let y of g)$s(e,t,n,i,r,o,s,y);for(let y of d)$s(e,t,n,i,r,o,y,c)}a($s,"collectConflictsBetweenFragments");function FI(e,t,n,i,r,o,s,c,u){let l=[],[p,d]=Is(e,t,o,s),[m,g]=Is(e,t,c,u);mh(e,l,t,n,i,r,p,m);for(let y of g)Ts(e,l,t,n,i,r,p,y);for(let y of d)Ts(e,l,t,n,i,r,m,y);for(let y of d)for(let b of g)$s(e,l,t,n,i,r,y,b);return l}a(FI,"findConflictsBetweenSubSelectionSets");function CI(e,t,n,i,r,o){for(let[s,c]of Object.entries(o))if(c.length>1)for(let u=0;u<c.length;u++)for(let l=u+1;l<c.length;l++){let p=px(e,n,i,r,!1,s,c[u],c[l]);p&&t.push(p)}}a(CI,"collectConflictsWithin");function mh(e,t,n,i,r,o,s,c){for(let[u,l]of Object.entries(s)){let p=c[u];if(p)for(let d of l)for(let m of p){let g=px(e,n,i,r,o,u,d,m);g&&t.push(g)}}}a(mh,"collectConflictsBetween");function px(e,t,n,i,r,o,s,c){let[u,l,p]=s,[d,m,g]=c,y=r||u!==d&&A(u)&&A(d);if(!y){let D=l.name.value,P=m.name.value;if(D!==P)return[[o,`"${D}" and "${P}" are different fields`],[l],[m]];if(!VI(l,m))return[[o,"they have differing arguments"],[l],[m]]}let b=p?.type,N=g?.type;if(b&&N&&lh(b,N))return[[o,`they return conflicting types "${$(b)}" and "${$(N)}"`],[l],[m]];let L=l.selectionSet,Z=m.selectionSet;if(L&&Z){let D=FI(e,t,n,i,y,le(b),L,le(N),Z);return MI(D,o,l,m)}}a(px,"findConflict");function VI(e,t){let n=e.arguments,i=t.arguments;if(n===void 0||n.length===0)return i===void 0||i.length===0;if(i===void 0||i.length===0||n.length!==i.length)return!1;let r=new Map(i.map(({name:o,value:s})=>[o.value,s]));return n.every(o=>{let s=o.value,c=r.get(o.name.value);return c===void 0?!1:ux(s)===ux(c)})}a(VI,"sameArguments");function ux(e){return ee(Ss(e))}a(ux,"stringifyValue");function lh(e,t){return J(e)?J(t)?lh(e.ofType,t.ofType):!0:J(t)?!0:j(e)?j(t)?lh(e.ofType,t.ofType):!0:j(t)?!0:de(e)||de(t)?e!==t:!1}a(lh,"doTypesConflict");function Is(e,t,n,i){let r=t.get(i);if(r)return r;let o=Object.create(null),s=Object.create(null);dx(e,n,i,o,s);let c=[o,Object.keys(s)];return t.set(i,c),c}a(Is,"getFieldsAndFragmentNames");function ph(e,t,n){let i=t.get(n.selectionSet);if(i)return i;let r=_e(e.getSchema(),n.typeCondition);return Is(e,t,r,n.selectionSet)}a(ph,"getReferencedFieldsAndFragmentNames");function dx(e,t,n,i,r){for(let o of n.selections)switch(o.kind){case h.FIELD:{let s=o.name.value,c;(A(t)||M(t))&&(c=t.getFields()[s]);let u=o.alias?o.alias.value:s;i[u]||(i[u]=[]),i[u].push([t,o,c]);break}case h.FRAGMENT_SPREAD:r[o.name.value]=!0;break;case h.INLINE_FRAGMENT:{let s=o.typeCondition,c=s?_e(e.getSchema(),s):t;dx(e,c,o.selectionSet,i,r);break}}}a(dx,"_collectFieldsAndFragmentNames");function MI(e,t,n,i){if(e.length>0)return[[t,e.map(([r])=>r)],[n,...e.map(([,r])=>r).flat()],[i,...e.map(([,,r])=>r).flat()]]}a(MI,"subfieldConflicts");var Es=class{static{a(this,"OrderedPairSet")}constructor(){this._data=new Map}has(t,n,i){var r;let o=(r=this._data.get(t))===null||r===void 0?void 0:r.get(n);return o===void 0?!1:i?!0:i===o}add(t,n,i){let r=this._data.get(t);r===void 0?this._data.set(t,new Map([[n,i]])):r.set(n,i)}},dh=class{static{a(this,"PairSet")}constructor(){this._orderedPairSet=new Es}has(t,n,i){return t<n?this._orderedPairSet.has(t,n,i):this._orderedPairSet.has(n,t,i)}add(t,n,i){t<n?this._orderedPairSet.add(t,n,i):this._orderedPairSet.add(n,t,i)}};function hh(e){return{InlineFragment(t){let n=e.getType(),i=e.getParentType();if(ft(n)&&ft(i)&&!ys(e.getSchema(),n,i)){let r=$(i),o=$(n);e.reportError(new x(`Fragment cannot be spread here as objects of type "${r}" can never be of type "${o}".`,{nodes:t}))}},FragmentSpread(t){let n=t.name.value,i=ZI(e,n),r=e.getParentType();if(i&&r&&!ys(e.getSchema(),i,r)){let o=$(r),s=$(i);e.reportError(new x(`Fragment "${n}" cannot be spread here as objects of type "${o}" can never be of type "${s}".`,{nodes:t}))}}}}a(hh,"PossibleFragmentSpreadsRule");function ZI(e,t){let n=e.getFragment(t);if(n){let i=_e(e.getSchema(),n.typeCondition);if(ft(i))return i}}a(ZI,"getFragmentType");function gh(e){let t=e.getSchema(),n=Object.create(null);for(let r of e.getDocument().definitions)Lt(r)&&(n[r.name.value]=r);return{ScalarTypeExtension:i,ObjectTypeExtension:i,InterfaceTypeExtension:i,UnionTypeExtension:i,EnumTypeExtension:i,InputObjectTypeExtension:i};function i(r){let o=r.name.value,s=n[o],c=t?.getType(o),u;if(s?u=GI[s.kind]:c&&(u=BI(c)),u){if(u!==r.kind){let l=JI(r.kind);e.reportError(new x(`Cannot extend non-${l} type "${o}".`,{nodes:s?[s,r]:r}))}}else{let l=Object.keys({...n,...t?.getTypeMap()}),p=Ge(o,l);e.reportError(new x(`Cannot extend type "${o}" because it is not defined.`+ze(p),{nodes:r.name}))}}}a(gh,"PossibleTypeExtensionsRule");var GI={[h.SCALAR_TYPE_DEFINITION]:h.SCALAR_TYPE_EXTENSION,[h.OBJECT_TYPE_DEFINITION]:h.OBJECT_TYPE_EXTENSION,[h.INTERFACE_TYPE_DEFINITION]:h.INTERFACE_TYPE_EXTENSION,[h.UNION_TYPE_DEFINITION]:h.UNION_TYPE_EXTENSION,[h.ENUM_TYPE_DEFINITION]:h.ENUM_TYPE_EXTENSION,[h.INPUT_OBJECT_TYPE_DEFINITION]:h.INPUT_OBJECT_TYPE_EXTENSION};function BI(e){if(be(e))return h.SCALAR_TYPE_EXTENSION;if(A(e))return h.OBJECT_TYPE_EXTENSION;if(M(e))return h.INTERFACE_TYPE_EXTENSION;if(ye(e))return h.UNION_TYPE_EXTENSION;if(te(e))return h.ENUM_TYPE_EXTENSION;if(V(e))return h.INPUT_OBJECT_TYPE_EXTENSION;ge(!1,"Unexpected type: "+$(e))}a(BI,"typeToExtKind");function JI(e){switch(e){case h.SCALAR_TYPE_EXTENSION:return"scalar";case h.OBJECT_TYPE_EXTENSION:return"object";case h.INTERFACE_TYPE_EXTENSION:return"interface";case h.UNION_TYPE_EXTENSION:return"union";case h.ENUM_TYPE_EXTENSION:return"enum";case h.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:ge(!1,"Unexpected kind: "+$(e))}}a(JI,"extensionKindToTypeName");function yh(e){return{...vh(e),Field:{leave(t){var n;let i=e.getFieldDef();if(!i)return!1;let r=new Set((n=t.arguments)===null||n===void 0?void 0:n.map(o=>o.name.value));for(let o of i.args)if(!r.has(o.name)&&Gt(o)){let s=$(o.type);e.reportError(new x(`Field "${i.name}" argument "${o.name}" of type "${s}" is required, but it was not provided.`,{nodes:t}))}}}}}a(yh,"ProvidedRequiredArgumentsRule");function vh(e){var t;let n=Object.create(null),i=e.getSchema(),r=(t=i?.getDirectives())!==null&&t!==void 0?t:Ke;for(let c of r)n[c.name]=pt(c.args.filter(Gt),u=>u.name);let o=e.getDocument().definitions;for(let c of o)if(c.kind===h.DIRECTIVE_DEFINITION){var s;let u=(s=c.arguments)!==null&&s!==void 0?s:[];n[c.name.value]=pt(u.filter(QI),l=>l.name.value)}return{Directive:{leave(c){let u=c.name.value,l=n[u];if(l){var p;let d=(p=c.arguments)!==null&&p!==void 0?p:[],m=new Set(d.map(g=>g.name.value));for(let[g,y]of Object.entries(l))if(!m.has(g)){let b=kn(y.type)?$(y.type):ee(y.type);e.reportError(new x(`Directive "@${u}" argument "${g}" of type "${b}" is required, but it was not provided.`,{nodes:c}))}}}}}}a(vh,"ProvidedRequiredArgumentsOnDirectivesRule");function QI(e){return e.type.kind===h.NON_NULL_TYPE&&e.defaultValue==null}a(QI,"isRequiredArgumentNode");function xh(e){return{Field(t){let n=e.getType(),i=t.selectionSet;if(n)if(de(le(n))){if(i){let r=t.name.value,o=$(n);e.reportError(new x(`Field "${r}" must not have a selection since type "${o}" has no subfields.`,{nodes:i}))}}else if(i){if(i.selections.length===0){let r=t.name.value,o=$(n);e.reportError(new x(`Field "${r}" of type "${o}" must have at least one field selected.`,{nodes:t}))}}else{let r=t.name.value,o=$(n);e.reportError(new x(`Field "${r}" of type "${o}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:t}))}}}}a(xh,"ScalarLeafsRule");function Os(e){return e.map(t=>typeof t=="number"?"["+t.toString()+"]":"."+t).join("")}a(Os,"printPathArray");function Ar(e,t,n){return{prev:e,key:t,typename:n}}a(Ar,"addPath");function Ue(e){let t=[],n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}a(Ue,"pathToArray");function bh(e,t,n=qI){return so(e,t,n,void 0)}a(bh,"coerceInputValue");function qI(e,t,n){let i="Invalid value "+$(t);throw e.length>0&&(i+=` at "value${Os(e)}"`),n.message=i+": "+n.message,n}a(qI,"defaultOnError");function so(e,t,n,i){if(j(t)){if(e!=null)return so(e,t.ofType,n,i);n(Ue(i),e,new x(`Expected non-nullable type "${$(t)}" not to be null.`));return}if(e==null)return null;if(J(t)){let r=t.ofType;return zn(e)?Array.from(e,(o,s)=>{let c=Ar(i,s,void 0);return so(o,r,n,c)}):[so(e,r,n,i)]}if(V(t)){if(!Oe(e)||Array.isArray(e)){n(Ue(i),e,new x(`Expected type "${t.name}" to be an object.`));return}let r={},o=t.getFields();for(let s of Object.values(o)){let c=e[s.name];if(c===void 0){if(s.defaultValue!==void 0)r[s.name]=s.defaultValue;else if(j(s.type)){let u=$(s.type);n(Ue(i),e,new x(`Field "${s.name}" of required type "${u}" was not provided.`))}continue}r[s.name]=so(c,s.type,n,Ar(i,s.name,t.name))}for(let s of Object.keys(e))if(!o[s]){let c=Ge(s,Object.keys(t.getFields()));n(Ue(i),e,new x(`Field "${s}" is not defined by type "${t.name}".`+ze(c)))}if(t.isOneOf){let s=Object.keys(r);s.length!==1&&n(Ue(i),e,new x(`Exactly one key must be specified for OneOf type "${t.name}".`));let c=s[0],u=r[c];u===null&&n(Ue(i).concat(c),u,new x(`Field "${c}" must be non-null.`))}return r}if(de(t)){let r;try{r=t.parseValue(e)}catch(o){o instanceof x?n(Ue(i),e,o):n(Ue(i),e,new x(`Expected type "${t.name}". `+o.message,{originalError:o}));return}return r===void 0&&n(Ue(i),e,new x(`Expected type "${t.name}".`)),r}ge(!1,"Unexpected input type: "+$(t))}a(so,"coerceInputValueImpl");function Fe(e,t,n){if(e){if(e.kind===h.VARIABLE){let i=e.name.value;if(n==null||n[i]===void 0)return;let r=n[i];return r===null&&j(t)?void 0:r}if(j(t))return e.kind===h.NULL?void 0:Fe(e,t.ofType,n);if(e.kind===h.NULL)return null;if(J(t)){let i=t.ofType;if(e.kind===h.LIST){let o=[];for(let s of e.values)if(fx(s,n)){if(j(i))return;o.push(null)}else{let c=Fe(s,i,n);if(c===void 0)return;o.push(c)}return o}let r=Fe(e,i,n);return r===void 0?void 0:[r]}if(V(t)){if(e.kind!==h.OBJECT)return;let i=Object.create(null),r=pt(e.fields,o=>o.name.value);for(let o of Object.values(t.getFields())){let s=r[o.name];if(!s||fx(s.value,n)){if(o.defaultValue!==void 0)i[o.name]=o.defaultValue;else if(j(o.type))return;continue}let c=Fe(s.value,o.type,n);if(c===void 0)return;i[o.name]=c}if(t.isOneOf){let o=Object.keys(i);if(o.length!==1||i[o[0]]===null)return}return i}if(de(t)){let i;try{i=t.parseLiteral(e,n)}catch{return}return i===void 0?void 0:i}ge(!1,"Unexpected input type: "+$(t))}}a(Fe,"valueFromAST");function fx(e,t){return e.kind===h.VARIABLE&&(t==null||t[e.name.value]===void 0)}a(fx,"isMissingVariable");function _h(e,t,n,i){let r=[],o=i?.maxErrors;try{let s=YI(e,t,n,c=>{if(o!=null&&r.length>=o)throw new x("Too many errors processing variables, error limit reached. Execution aborted.");r.push(c)});if(r.length===0)return{coerced:s}}catch(s){r.push(s)}return{errors:r}}a(_h,"getVariableValues");function YI(e,t,n,i){let r={};for(let o of t){let s=o.variable.name.value,c=_e(e,o.type);if(!Re(c)){let l=ee(o.type);i(new x(`Variable "$${s}" expected value of type "${l}" which cannot be used as an input type.`,{nodes:o.type}));continue}if(!mx(n,s)){if(o.defaultValue)r[s]=Fe(o.defaultValue,c);else if(j(c)){let l=$(c);i(new x(`Variable "$${s}" of required type "${l}" was not provided.`,{nodes:o}))}continue}let u=n[s];if(u===null&&j(c)){let l=$(c);i(new x(`Variable "$${s}" of non-null type "${l}" must not be null.`,{nodes:o}));continue}r[s]=bh(u,c,(l,p,d)=>{let m=`Variable "$${s}" got invalid value `+$(p);l.length>0&&(m+=` at "${s}${Os(l)}"`),i(new x(m+"; "+d.message,{nodes:o,originalError:d}))})}return r}a(YI,"coerceVariableValues");function ws(e,t,n){var i;let r={},o=(i=t.arguments)!==null&&i!==void 0?i:[],s=pt(o,c=>c.name.value);for(let c of e.args){let u=c.name,l=c.type,p=s[u];if(!p){if(c.defaultValue!==void 0)r[u]=c.defaultValue;else if(j(l))throw new x(`Argument "${u}" of required type "${$(l)}" was not provided.`,{nodes:t});continue}let d=p.value,m=d.kind===h.NULL;if(d.kind===h.VARIABLE){let y=d.name.value;if(n==null||!mx(n,y)){if(c.defaultValue!==void 0)r[u]=c.defaultValue;else if(j(l))throw new x(`Argument "${u}" of required type "${$(l)}" was provided the variable "$${y}" which was not provided a runtime value.`,{nodes:d});continue}m=n[y]==null}if(m&&j(l))throw new x(`Argument "${u}" of non-null type "${$(l)}" must not be null.`,{nodes:d});let g=Fe(d,l,n);if(g===void 0)throw new x(`Argument "${u}" has invalid value ${ee(d)}.`,{nodes:d});r[u]=g}return r}a(ws,"getArgumentValues");function ur(e,t,n){var i;let r=(i=t.directives)===null||i===void 0?void 0:i.find(o=>o.name.value===e.name);if(r)return ws(e,r,n)}a(ur,"getDirectiveValues");function mx(e,t){return Object.prototype.hasOwnProperty.call(e,t)}a(mx,"hasOwnProperty");function ks(e,t,n,i,r){let o=new Map;return Ns(e,t,n,i,r,o,new Set),o}a(ks,"collectFields");function gx(e,t,n,i,r){let o=new Map,s=new Set;for(let c of r)c.selectionSet&&Ns(e,t,n,i,c.selectionSet,o,s);return o}a(gx,"collectSubfields");function Ns(e,t,n,i,r,o,s){for(let c of r.selections)switch(c.kind){case h.FIELD:{if(!Sh(n,c))continue;let u=KI(c),l=o.get(u);l!==void 0?l.push(c):o.set(u,[c]);break}case h.INLINE_FRAGMENT:{if(!Sh(n,c)||!hx(e,c,i))continue;Ns(e,t,n,i,c.selectionSet,o,s);break}case h.FRAGMENT_SPREAD:{let u=c.name.value;if(s.has(u)||!Sh(n,c))continue;s.add(u);let l=t[u];if(!l||!hx(e,l,i))continue;Ns(e,t,n,i,l.selectionSet,o,s);break}}}a(Ns,"collectFieldsImpl");function Sh(e,t){let n=ur(Hi,t,e);if(n?.if===!0)return!1;let i=ur(Wi,t,e);return i?.if!==!1}a(Sh,"shouldIncludeNode");function hx(e,t,n){let i=t.typeCondition;if(!i)return!0;let r=_e(e,i);return r===n?!0:qe(r)?e.isSubType(r,n):!1}a(hx,"doesFragmentConditionMatch");function KI(e){return e.alias?e.alias.value:e.name.value}a(KI,"getFieldEntryKey");function Th(e){return{OperationDefinition(t){if(t.operation==="subscription"){let n=e.getSchema(),i=n.getSubscriptionType();if(i){let r=t.name?t.name.value:null,o=Object.create(null),s=e.getDocument(),c=Object.create(null);for(let l of s.definitions)l.kind===h.FRAGMENT_DEFINITION&&(c[l.name.value]=l);let u=ks(n,c,o,i,t.selectionSet);if(u.size>1){let d=[...u.values()].slice(1).flat();e.reportError(new x(r!=null?`Subscription "${r}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:d}))}for(let l of u.values())l[0].name.value.startsWith("__")&&e.reportError(new x(r!=null?`Subscription "${r}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:l}))}}}}}a(Th,"SingleFieldSubscriptionsRule");function Fn(e,t){let n=new Map;for(let i of e){let r=t(i),o=n.get(r);o===void 0?n.set(r,[i]):o.push(i)}return n}a(Fn,"groupBy");function $h(e){return{DirectiveDefinition(i){var r;let o=(r=i.arguments)!==null&&r!==void 0?r:[];return n(`@${i.name.value}`,o)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(i){var r;let o=i.name.value,s=(r=i.fields)!==null&&r!==void 0?r:[];for(let u of s){var c;let l=u.name.value,p=(c=u.arguments)!==null&&c!==void 0?c:[];n(`${o}.${l}`,p)}return!1}function n(i,r){let o=Fn(r,s=>s.name.value);for(let[s,c]of o)c.length>1&&e.reportError(new x(`Argument "${i}(${s}:)" can only be defined once.`,{nodes:c.map(u=>u.name)}));return!1}}a($h,"UniqueArgumentDefinitionNamesRule");function Ds(e){return{Field:t,Directive:t};function t(n){var i;let r=(i=n.arguments)!==null&&i!==void 0?i:[],o=Fn(r,s=>s.name.value);for(let[s,c]of o)c.length>1&&e.reportError(new x(`There can be only one argument named "${s}".`,{nodes:c.map(u=>u.name)}))}}a(Ds,"UniqueArgumentNamesRule");function Ih(e){let t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(i){let r=i.name.value;if(n!=null&&n.getDirective(r)){e.reportError(new x(`Directive "@${r}" already exists in the schema. It cannot be redefined.`,{nodes:i.name}));return}return t[r]?e.reportError(new x(`There can be only one directive named "@${r}".`,{nodes:[t[r],i.name]})):t[r]=i.name,!1}}}a(Ih,"UniqueDirectiveNamesRule");function Rs(e){let t=Object.create(null),n=e.getSchema(),i=n?n.getDirectives():Ke;for(let c of i)t[c.name]=!c.isRepeatable;let r=e.getDocument().definitions;for(let c of r)c.kind===h.DIRECTIVE_DEFINITION&&(t[c.name.value]=!c.repeatable);let o=Object.create(null),s=Object.create(null);return{enter(c){if(!("directives"in c)||!c.directives)return;let u;if(c.kind===h.SCHEMA_DEFINITION||c.kind===h.SCHEMA_EXTENSION)u=o;else if(Lt(c)||Un(c)){let l=c.name.value;u=s[l],u===void 0&&(s[l]=u=Object.create(null))}else u=Object.create(null);for(let l of c.directives){let p=l.name.value;t[p]&&(u[p]?e.reportError(new x(`The directive "@${p}" can only be used once at this location.`,{nodes:[u[p],l]})):u[p]=l)}}}}a(Rs,"UniqueDirectivesPerLocationRule");function Eh(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{EnumTypeDefinition:r,EnumTypeExtension:r};function r(o){var s;let c=o.name.value;i[c]||(i[c]=Object.create(null));let u=(s=o.values)!==null&&s!==void 0?s:[],l=i[c];for(let p of u){let d=p.name.value,m=n[c];te(m)&&m.getValue(d)?e.reportError(new x(`Enum value "${c}.${d}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:p.name})):l[d]?e.reportError(new x(`Enum value "${c}.${d}" can only be defined once.`,{nodes:[l[d],p.name]})):l[d]=p.name}return!1}}a(Eh,"UniqueEnumValueNamesRule");function Oh(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:r,InputObjectTypeExtension:r,InterfaceTypeDefinition:r,InterfaceTypeExtension:r,ObjectTypeDefinition:r,ObjectTypeExtension:r};function r(o){var s;let c=o.name.value;i[c]||(i[c]=Object.create(null));let u=(s=o.fields)!==null&&s!==void 0?s:[],l=i[c];for(let p of u){let d=p.name.value;WI(n[c],d)?e.reportError(new x(`Field "${c}.${d}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:p.name})):l[d]?e.reportError(new x(`Field "${c}.${d}" can only be defined once.`,{nodes:[l[d],p.name]})):l[d]=p.name}return!1}}a(Oh,"UniqueFieldDefinitionNamesRule");function WI(e,t){return A(e)||M(e)||V(e)?e.getFields()[t]!=null:!1}a(WI,"hasField");function wh(e){let t=Object.create(null);return{OperationDefinition:a(()=>!1,"OperationDefinition"),FragmentDefinition(n){let i=n.name.value;return t[i]?e.reportError(new x(`There can be only one fragment named "${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name,!1}}}a(wh,"UniqueFragmentNamesRule");function As(e){let t=[],n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){let i=t.pop();i||ge(!1),n=i}},ObjectField(i){let r=i.name.value;n[r]?e.reportError(new x(`There can be only one input field named "${r}".`,{nodes:[n[r],i.name]})):n[r]=i.name}}}a(As,"UniqueInputFieldNamesRule");function Nh(e){let t=Object.create(null);return{OperationDefinition(n){let i=n.name;return i&&(t[i.value]?e.reportError(new x(`There can be only one operation named "${i.value}".`,{nodes:[t[i.value],i]})):t[i.value]=i),!1},FragmentDefinition:a(()=>!1,"FragmentDefinition")}}a(Nh,"UniqueOperationNamesRule");function kh(e){let t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:r,SchemaExtension:r};function r(o){var s;let c=(s=o.operationTypes)!==null&&s!==void 0?s:[];for(let u of c){let l=u.operation,p=n[l];i[l]?e.reportError(new x(`Type for ${l} already defined in the schema. It cannot be redefined.`,{nodes:u})):p?e.reportError(new x(`There can be only one ${l} type in schema.`,{nodes:[p,u]})):n[l]=u}return!1}}a(kh,"UniqueOperationTypesRule");function Dh(e){let t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(r){let o=r.name.value;if(n!=null&&n.getType(o)){e.reportError(new x(`Type "${o}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name}));return}return t[o]?e.reportError(new x(`There can be only one type named "${o}".`,{nodes:[t[o],r.name]})):t[o]=r.name,!1}}a(Dh,"UniqueTypeNamesRule");function Rh(e){return{OperationDefinition(t){var n;let i=(n=t.variableDefinitions)!==null&&n!==void 0?n:[],r=Fn(i,o=>o.variable.name.value);for(let[o,s]of r)s.length>1&&e.reportError(new x(`There can be only one variable named "$${o}".`,{nodes:s.map(c=>c.variable.name)}))}}}a(Rh,"UniqueVariableNamesRule");function Ah(e){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(n){t[n.variable.name.value]=n},ListValue(n){let i=ar(e.getParentInputType());if(!J(i))return jr(e,n),!1},ObjectValue(n){let i=le(e.getInputType());if(!V(i))return jr(e,n),!1;let r=pt(n.fields,o=>o.name.value);for(let o of Object.values(i.getFields()))if(!r[o.name]&&Dn(o)){let c=$(o.type);e.reportError(new x(`Field "${i.name}.${o.name}" of required type "${c}" was not provided.`,{nodes:n}))}i.isOneOf&&HI(e,n,i,r)},ObjectField(n){let i=le(e.getParentInputType());if(!e.getInputType()&&V(i)){let o=Ge(n.name.value,Object.keys(i.getFields()));e.reportError(new x(`Field "${n.name.value}" is not defined by type "${i.name}".`+ze(o),{nodes:n}))}},NullValue(n){let i=e.getInputType();j(i)&&e.reportError(new x(`Expected value of type "${$(i)}", found ${ee(n)}.`,{nodes:n}))},EnumValue:a(n=>jr(e,n),"EnumValue"),IntValue:a(n=>jr(e,n),"IntValue"),FloatValue:a(n=>jr(e,n),"FloatValue"),StringValue:a(n=>jr(e,n),"StringValue"),BooleanValue:a(n=>jr(e,n),"BooleanValue")}}a(Ah,"ValuesOfCorrectTypeRule");function jr(e,t){let n=e.getInputType();if(!n)return;let i=le(n);if(!de(i)){let r=$(n);e.reportError(new x(`Expected value of type "${r}", found ${ee(t)}.`,{nodes:t}));return}try{if(i.parseLiteral(t,void 0)===void 0){let o=$(n);e.reportError(new x(`Expected value of type "${o}", found ${ee(t)}.`,{nodes:t}))}}catch(r){let o=$(n);r instanceof x?e.reportError(r):e.reportError(new x(`Expected value of type "${o}", found ${ee(t)}; `+r.message,{nodes:t,originalError:r}))}}a(jr,"isValidValueNode");function HI(e,t,n,i){var r;let o=Object.keys(i);if(o.length!==1){e.reportError(new x(`OneOf Input Object "${n.name}" must specify exactly one key.`,{nodes:[t]}));return}let c=(r=i[o[0]])===null||r===void 0?void 0:r.value;(!c||c.kind===h.NULL)&&e.reportError(new x(`Field "${n.name}.${o[0]}" must be non-null.`,{nodes:[t]}))}a(HI,"validateOneOfInputObject");function jh(e){return{VariableDefinition(t){let n=_e(e.getSchema(),t.type);if(n!==void 0&&!Re(n)){let i=t.variable.name.value,r=ee(t.type);e.reportError(new x(`Variable "$${i}" cannot be non-input type "${r}".`,{nodes:t.type}))}}}}a(jh,"VariablesAreInputTypesRule");function Lh(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){let i=e.getRecursiveVariableUsages(n);for(let{node:r,type:o,defaultValue:s,parentType:c}of i){let u=r.name.value,l=t[u];if(l&&o){let p=e.getSchema(),d=_e(p,l.type);if(d&&!XI(p,d,l.defaultValue,o,s)){let m=$(d),g=$(o);e.reportError(new x(`Variable "$${u}" of type "${m}" used in position expecting type "${g}".`,{nodes:[l,r]}))}V(c)&&c.isOneOf&&Ji(d)&&e.reportError(new x(`Variable "$${u}" is of type "${d}" but must be non-nullable to be used for OneOf Input Object "${c}".`,{nodes:[l,r]}))}}}},VariableDefinition(n){t[n.variable.name.value]=n}}}a(Lh,"VariablesInAllowedPositionRule");function XI(e,t,n,i,r){if(j(i)&&!j(t)){if(!(n!=null&&n.kind!==h.NULL)&&!(r!==void 0))return!1;let c=i.ofType;return Bt(e,t,c)}return Bt(e,t,i)}a(XI,"allowedVariableUsage");var yx=Object.freeze([oh]),zh=Object.freeze([Wm,Nh,nh,Th,_s,Xm,jh,xh,Hm,wh,rh,ch,hh,ah,Rh,sh,uh,bs,Rs,eh,Ds,Ah,yh,Lh,fh,As,...yx]),vx=Object.freeze([ih,kh,Dh,Eh,Oh,$h,Ih,_s,bs,Rs,gh,th,Ds,As,vh]);var js=class{static{a(this,"ASTValidationContext")}constructor(t,n){this._ast=t,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=n}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(t){this._onError(t)}getDocument(){return this._ast}getFragment(t){let n;if(this._fragments)n=this._fragments;else{n=Object.create(null);for(let i of this.getDocument().definitions)i.kind===h.FRAGMENT_DEFINITION&&(n[i.name.value]=i);this._fragments=n}return n[t]}getFragmentSpreads(t){let n=this._fragmentSpreads.get(t);if(!n){n=[];let i=[t],r;for(;r=i.pop();)for(let o of r.selections)o.kind===h.FRAGMENT_SPREAD?n.push(o):o.selectionSet&&i.push(o.selectionSet);this._fragmentSpreads.set(t,n)}return n}getRecursivelyReferencedFragments(t){let n=this._recursivelyReferencedFragments.get(t);if(!n){n=[];let i=Object.create(null),r=[t.selectionSet],o;for(;o=r.pop();)for(let s of this.getFragmentSpreads(o)){let c=s.name.value;if(i[c]!==!0){i[c]=!0;let u=this.getFragment(c);u&&(n.push(u),r.push(u.selectionSet))}}this._recursivelyReferencedFragments.set(t,n)}return n}},Ls=class extends js{static{a(this,"SDLValidationContext")}constructor(t,n,i){super(t,i),this._schema=n}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}},co=class extends js{static{a(this,"ValidationContext")}constructor(t,n,i,r){super(n,r),this._schema=t,this._typeInfo=i,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(t){let n=this._variableUsages.get(t);if(!n){let i=[],r=new Rr(this._schema);ir(t,ao(r,{VariableDefinition:a(()=>!1,"VariableDefinition"),Variable(o){i.push({node:o,type:r.getInputType(),defaultValue:r.getDefaultValue(),parentType:r.getParentInputType()})}})),n=i,this._variableUsages.set(t,n)}return n}getRecursiveVariableUsages(t){let n=this._recursiveVariableUsages.get(t);if(!n){n=this.getVariableUsages(t);for(let i of this.getRecursivelyReferencedFragments(t))n=n.concat(this.getVariableUsages(i));this._recursiveVariableUsages.set(t,n)}return n}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}};var eE=dt(Fi,e=>e.filter(t=>t!=="description"));function zs(e,t,n=zh,i,r=new Rr(e)){var o;let s=(o=i?.maxErrors)!==null&&o!==void 0?o:100;t||Q(!1,"Must provide document."),oo(e);let c=Object.freeze({}),u=[],l=new co(e,t,r,d=>{if(u.length>=s)throw u.push(new x("Too many validation errors, error limit reached. Validation aborted.")),c;u.push(d)}),p=ds(n.map(d=>d(l)));try{ir(t,ao(r,p),eE)}catch(d){if(d!==c)throw d}return u}a(zs,"validate");function tE(e,t,n=vx){let i=[],r=new Ls(e,t,s=>{i.push(s)}),o=n.map(s=>s(r));return ir(e,ds(o)),i}a(tE,"validateSDL");function xx(e){let t=tE(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(`
117
117
 
118
- `))}a(tb,"assertValidSDL");function rb(e){let t;return a(function(i,r,o){t===void 0&&(t=new WeakMap);let s=t.get(i);s===void 0&&(s=new WeakMap,t.set(i,s));let c=s.get(r);c===void 0&&(c=new WeakMap,s.set(r,c));let u=c.get(o);return u===void 0&&(u=e(i,r,o),c.set(o,u)),u},"memoized")}a(rb,"memoize3");function Oh(e){return Promise.all(Object.values(e)).then(t=>{let n=Object.create(null);for(let[i,r]of Object.keys(e).entries())n[r]=t[i];return n})}a(Oh,"promiseForObject");function nb(e,t,n){let i=n;for(let r of e)i=lt(i)?i.then(o=>t(o,r)):t(i,r);return i}a(nb,"promiseReduce");function ib(e){return e instanceof Error?e:new Nh(e)}a(ib,"toError");var Nh=class extends Error{static{a(this,"NonErrorThrown")}constructor(t){super("Unexpected error value: "+$(t)),this.name="NonErrorThrown",this.thrownValue=t}};function Rr(e,t,n){var i;let r=ib(e);return RI(r)?r:new b(r.message,{nodes:(i=r.nodes)!==null&&i!==void 0?i:t,source:r.source,positions:r.positions,path:n,originalError:r})}a(Rr,"locatedError");function RI(e){return Array.isArray(e.path)}a(RI,"isLocatedGraphQLError");var jI=rb((e,t,n)=>Xv(e.schema,e.fragments,e.variableValues,t,n)),kh=class{static{a(this,"CollectedErrors")}constructor(){this._errorPositions=new Set,this._errors=[]}get errors(){return this._errors}add(t,n){this._hasNulledPosition(n)||(this._errorPositions.add(n),this._errors.push(t))}_hasNulledPosition(t){let n=t;for(;n!==void 0;){if(this._errorPositions.has(n))return!0;n=n.prev}return this._errorPositions.has(void 0)}};function js(e){arguments.length<2||Q(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:t,document:n,variableValues:i,rootValue:r}=e;AI(t,n,i);let o=zI(e);if(!("schema"in o))return{errors:o};try{let{operation:s}=o,c=LI(o,s,r);return lt(c)?c.then(u=>ws(u,o.collectedErrors.errors),u=>(o.collectedErrors.add(u,void 0),ws(null,o.collectedErrors.errors))):ws(c,o.collectedErrors.errors)}catch(s){return o.collectedErrors.add(s,void 0),ws(null,o.collectedErrors.errors)}}a(js,"execute");function ws(e,t){return t.length===0?{data:e}:{errors:t,data:e}}a(ws,"buildResponse");function AI(e,t,n){t||Q(!1,"Must provide document."),to(e),n==null||Oe(n)||Q(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}a(AI,"assertValidExecutionArguments");function zI(e){var t,n,i;let{schema:r,document:o,rootValue:s,contextValue:c,variableValues:u,operationName:l,fieldResolver:p,typeResolver:d,subscribeFieldResolver:m,options:g}=e,y,x=Object.create(null);for(let Z of o.definitions)switch(Z.kind){case h.OPERATION_DEFINITION:if(l==null){if(y!==void 0)return[new b("Must provide operation name if query contains multiple operations.")];y=Z}else((t=Z.name)===null||t===void 0?void 0:t.value)===l&&(y=Z);break;case h.FRAGMENT_DEFINITION:x[Z.name.value]=Z;break;default:}if(!y)return l!=null?[new b(`Unknown operation named "${l}".`)]:[new b("Must provide an operation.")];let k=(n=y.variableDefinitions)!==null&&n!==void 0?n:[],z=ph(r,k,u??{},{maxErrors:(i=g?.maxCoercionErrors)!==null&&i!==void 0?i:50});return z.errors?z.errors:{schema:r,fragments:x,rootValue:s,contextValue:c,operation:y,variableValues:z.coerced,fieldResolver:p??Ln,typeResolver:d??Dh,subscribeFieldResolver:m??Ln,collectedErrors:new kh}}a(zI,"buildExecutionContext");function LI(e,t,n){let i=e.schema.getRootType(t.operation);if(i==null)throw new b(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});let r=Ts(e.schema,e.fragments,e.variableValues,i,t.selectionSet),o=void 0;switch(t.operation){case he.QUERY:return Ds(e,i,n,o,r);case he.MUTATION:return PI(e,i,n,o,r);case he.SUBSCRIPTION:return Ds(e,i,n,o,r)}}a(LI,"executeOperation");function PI(e,t,n,i,r){return nb(r.entries(),(o,[s,c])=>{let u=wr(i,s,t.name),l=sb(e,t,n,c,u);return l===void 0?o:lt(l)?l.then(p=>(o[s]=p,o)):(o[s]=l,o)},Object.create(null))}a(PI,"executeFieldsSerially");function Ds(e,t,n,i,r){let o=Object.create(null),s=!1;try{for(let[c,u]of r.entries()){let l=wr(i,c,t.name),p=sb(e,t,n,u,l);p!==void 0&&(o[c]=p,lt(p)&&(s=!0))}}catch(c){if(s)return Oh(o).finally(()=>{throw c});throw c}return s?Oh(o):o}a(Ds,"executeFields");function sb(e,t,n,i,r){var o;let s=MI(e.schema,t,i[0]);if(!s)return;let c=s.type,u=(o=s.resolve)!==null&&o!==void 0?o:e.fieldResolver,l=UI(e,s,i,t,r);try{let p=_s(s,i[0],e.variableValues),d=e.contextValue,m=u(n,p,d,l),g;return lt(m)?g=m.then(y=>oo(e,c,i,l,r,y)):g=oo(e,c,i,l,r,m),lt(g)?g.then(void 0,y=>{let x=Rr(y,i,Ue(r));return Rs(x,c,r,e)}):g}catch(p){let d=Rr(p,i,Ue(r));return Rs(d,c,r,e)}}a(sb,"executeField");function UI(e,t,n,i,r){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:i,path:r,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}a(UI,"buildResolveInfo");function Rs(e,t,n,i){if(A(t))throw e;return i.collectedErrors.add(e,n),null}a(Rs,"handleFieldError");function oo(e,t,n,i,r,o){if(o instanceof Error)throw o;if(A(t)){let s=oo(e,t.ofType,n,i,r,o);if(s===null)throw new Error(`Cannot return null for non-nullable field ${i.parentType.name}.${i.fieldName}.`);return s}if(o==null)return null;if(J(t))return FI(e,t,n,i,r,o);if(de(t))return CI(t,o);if(qe(t))return VI(e,t,n,i,r,o);if(j(t))return wh(e,t,n,i,r,o);ge(!1,"Cannot complete value of unexpected output type: "+$(t))}a(oo,"completeValue");function FI(e,t,n,i,r,o){if(!Rn(o))throw new b(`Expected Iterable, but did not find one for field "${i.parentType.name}.${i.fieldName}".`);let s=t.ofType,c=!1,u=Array.from(o,(l,p)=>{let d=wr(r,p,void 0);try{let m;return lt(l)?m=l.then(g=>oo(e,s,n,i,d,g)):m=oo(e,s,n,i,d,l),lt(m)?(c=!0,m.then(void 0,g=>{let y=Rr(g,n,Ue(d));return Rs(y,s,d,e)})):m}catch(m){let g=Rr(m,n,Ue(d));return Rs(g,s,d,e)}});return c?Promise.all(u):u}a(FI,"completeListValue");function CI(e,t){let n=e.serialize(t);if(n==null)throw new Error(`Expected \`${$(e)}.serialize(${$(t)})\` to return non-nullable value, returned: ${$(n)}`);return n}a(CI,"completeLeafValue");function VI(e,t,n,i,r,o){var s;let c=(s=t.resolveType)!==null&&s!==void 0?s:e.typeResolver,u=e.contextValue,l=c(o,u,i,t);return lt(l)?l.then(p=>wh(e,ob(p,e,t,n,i,o),n,i,r,o)):wh(e,ob(l,e,t,n,i,o),n,i,r,o)}a(VI,"completeAbstractValue");function ob(e,t,n,i,r,o){if(e==null)throw new b(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,i);if(j(e))throw new b("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if(typeof e!="string")throw new b(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}" with value ${$(o)}, received "${$(e)}".`);let s=t.schema.getType(e);if(s==null)throw new b(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:i});if(!j(s))throw new b(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`,{nodes:i});if(!t.schema.isSubType(n,s))throw new b(`Runtime Object type "${s.name}" is not a possible type for "${n.name}".`,{nodes:i});return s}a(ob,"ensureValidRuntimeType");function wh(e,t,n,i,r,o){let s=jI(e,t,n);if(t.isTypeOf){let c=t.isTypeOf(o,e.contextValue,i);if(lt(c))return c.then(u=>{if(!u)throw ab(t,o,n);return Ds(e,t,o,r,s)});if(!c)throw ab(t,o,n)}return Ds(e,t,o,r,s)}a(wh,"completeObjectValue");function ab(e,t,n){return new b(`Expected value of type "${e.name}" but got: ${$(t)}.`,{nodes:n})}a(ab,"invalidReturnTypeError");var Dh=a(function(e,t,n,i){if(Oe(e)&&typeof e.__typename=="string")return e.__typename;let r=n.schema.getPossibleTypes(i),o=[];for(let s=0;s<r.length;s++){let c=r[s];if(c.isTypeOf){let u=c.isTypeOf(e,t,n);if(lt(u))o[s]=u;else if(u)return o.length&&Promise.allSettled(o).catch(()=>{}),c.name}}if(o.length)return Promise.all(o).then(s=>{for(let c=0;c<s.length;c++)if(s[c])return r[c].name})},"defaultTypeResolver"),Ln=a(function(e,t,n,i){if(Oe(e)||typeof e=="function"){let r=e[i.fieldName];return typeof r=="function"?e[i.fieldName](t,n,i):r}},"defaultFieldResolver");function MI(e,t,n){let i=n.name.value;return i===Ir.name&&e.getQueryType()===t?Ir:i===Er.name&&e.getQueryType()===t?Er:i===Or.name?Or:t.getFields()[i]}a(MI,"getFieldDef");function lb(e,t,n){var i,r,o,s;let c=[],u=Object.create(null),l=[],p,d=[];for(let S of t.definitions)if(S.kind===h.SCHEMA_DEFINITION)p=S;else if(S.kind===h.SCHEMA_EXTENSION)d.push(S);else if(At(S))c.push(S);else if(An(S)){let U=S.name.value,R=u[U];u[U]=R?R.concat([S]):[S]}else S.kind===h.DIRECTIVE_DEFINITION&&l.push(S);if(Object.keys(u).length===0&&c.length===0&&l.length===0&&d.length===0&&p==null)return e;let m=Object.create(null);for(let S of e.types)m[S.name]=Z(S);for(let S of c){var g;let U=S.name.value;m[U]=(g=cb[U])!==null&&g!==void 0?g:Bx(S)}let y={query:e.query&&k(e.query),mutation:e.mutation&&k(e.mutation),subscription:e.subscription&&k(e.subscription),...p&&Xe([p]),...Xe(d)};return{description:(i=p)===null||i===void 0||(r=i.description)===null||r===void 0?void 0:r.value,...y,types:Object.values(m),directives:[...e.directives.map(z),...l.map(mt)],extensions:Object.create(null),astNode:(o=p)!==null&&o!==void 0?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:(s=n?.assumeValid)!==null&&s!==void 0?s:!1};function x(S){return J(S)?new ue(x(S.ofType)):A(S)?new G(x(S.ofType)):k(S)}function k(S){return m[S.name]}function z(S){let U=S.toConfig();return new Ye({...U,args:dt(U.args,ke)})}function Z(S){if(Hi(S)||wn(S))return S;if(xe(S))return X(S);if(j(S))return ce(S);if(M(S))return re(S);if(ye(S))return Se(S);if(te(S))return P(S);if(V(S))return D(S);ge(!1,"Unexpected type: "+$(S))}function D(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[];return new Qe({...R,fields:a(()=>({...dt(R.fields,pe=>({...pe,type:x(pe.type)})),...rg(F)}),"fields"),extensionASTNodes:R.extensionASTNodes.concat(F)})}function P(S){var U;let R=S.toConfig(),F=(U=u[S.name])!==null&&U!==void 0?U:[];return new Pe({...R,values:{...R.values,...ng(F)},extensionASTNodes:R.extensionASTNodes.concat(F)})}function X(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[],pe=R.specifiedByURL;for(let fe of F){var Ee;pe=(Ee=ub(fe))!==null&&Ee!==void 0?Ee:pe}return new we({...R,specifiedByURL:pe,extensionASTNodes:R.extensionASTNodes.concat(F)})}function ce(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[];return new be({...R,interfaces:a(()=>[...S.getInterfaces().map(k),...lo(F)],"interfaces"),fields:a(()=>({...dt(R.fields,H),...zt(F)}),"fields"),extensionASTNodes:R.extensionASTNodes.concat(F)})}function re(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[];return new Je({...R,interfaces:a(()=>[...S.getInterfaces().map(k),...lo(F)],"interfaces"),fields:a(()=>({...dt(R.fields,H),...zt(F)}),"fields"),extensionASTNodes:R.extensionASTNodes.concat(F)})}function Se(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[];return new Rt({...R,types:a(()=>[...S.getTypes().map(k),...ig(F)],"types"),extensionASTNodes:R.extensionASTNodes.concat(F)})}function H(S){return{...S,type:x(S.type),args:S.args&&dt(S.args,ke)}}function ke(S){return{...S,type:x(S.type)}}function Xe(S){let U={};for(let F of S){var R;let pe=(R=F.operationTypes)!==null&&R!==void 0?R:[];for(let Ee of pe)U[Ee.operation]=Ie(Ee.type)}return U}function Ie(S){var U;let R=S.name.value,F=(U=cb[R])!==null&&U!==void 0?U:m[R];if(F===void 0)throw new Error(`Unknown type: "${R}".`);return F}function je(S){return S.kind===h.LIST_TYPE?new ue(je(S.type)):S.kind===h.NON_NULL_TYPE?new G(je(S.type)):Ie(S)}function mt(S){var U;return new Ye({name:S.name.value,description:(U=S.description)===null||U===void 0?void 0:U.value,locations:S.locations.map(({value:R})=>R),isRepeatable:S.repeatable,args:tg(S.arguments),astNode:S})}function zt(S){let U=Object.create(null);for(let pe of S){var R;let Ee=(R=pe.fields)!==null&&R!==void 0?R:[];for(let fe of Ee){var F;U[fe.name.value]={type:je(fe.type),description:(F=fe.description)===null||F===void 0?void 0:F.value,args:tg(fe.arguments),deprecationReason:As(fe),astNode:fe}}}return U}function tg(S){let U=S??[],R=Object.create(null);for(let pe of U){var F;let Ee=je(pe.type);R[pe.name.value]={type:Ee,description:(F=pe.description)===null||F===void 0?void 0:F.value,defaultValue:Fe(pe.defaultValue,Ee),deprecationReason:As(pe),astNode:pe}}return R}function rg(S){let U=Object.create(null);for(let pe of S){var R;let Ee=(R=pe.fields)!==null&&R!==void 0?R:[];for(let fe of Ee){var F;let zr=je(fe.type);U[fe.name.value]={type:zr,description:(F=fe.description)===null||F===void 0?void 0:F.value,defaultValue:Fe(fe.defaultValue,zr),deprecationReason:As(fe),astNode:fe}}}return U}function ng(S){let U=Object.create(null);for(let pe of S){var R;let Ee=(R=pe.values)!==null&&R!==void 0?R:[];for(let fe of Ee){var F;U[fe.name.value]={description:(F=fe.description)===null||F===void 0?void 0:F.value,deprecationReason:As(fe),astNode:fe}}}return U}function lo(S){return S.flatMap(U=>{var R,F;return(R=(F=U.interfaces)===null||F===void 0?void 0:F.map(Ie))!==null&&R!==void 0?R:[]})}function ig(S){return S.flatMap(U=>{var R,F;return(R=(F=U.types)===null||F===void 0?void 0:F.map(Ie))!==null&&R!==void 0?R:[]})}function Bx(S){var U;let R=S.name.value,F=(U=u[R])!==null&&U!==void 0?U:[];switch(S.kind){case h.OBJECT_TYPE_DEFINITION:{var pe;let xt=[S,...F];return new be({name:R,description:(pe=S.description)===null||pe===void 0?void 0:pe.value,interfaces:a(()=>lo(xt),"interfaces"),fields:a(()=>zt(xt),"fields"),astNode:S,extensionASTNodes:F})}case h.INTERFACE_TYPE_DEFINITION:{var Ee;let xt=[S,...F];return new Je({name:R,description:(Ee=S.description)===null||Ee===void 0?void 0:Ee.value,interfaces:a(()=>lo(xt),"interfaces"),fields:a(()=>zt(xt),"fields"),astNode:S,extensionASTNodes:F})}case h.ENUM_TYPE_DEFINITION:{var fe;let xt=[S,...F];return new Pe({name:R,description:(fe=S.description)===null||fe===void 0?void 0:fe.value,values:ng(xt),astNode:S,extensionASTNodes:F})}case h.UNION_TYPE_DEFINITION:{var zr;let xt=[S,...F];return new Rt({name:R,description:(zr=S.description)===null||zr===void 0?void 0:zr.value,types:a(()=>ig(xt),"types"),astNode:S,extensionASTNodes:F})}case h.SCALAR_TYPE_DEFINITION:{var ic;return new we({name:R,description:(ic=S.description)===null||ic===void 0?void 0:ic.value,specifiedByURL:ub(S),astNode:S,extensionASTNodes:F})}case h.INPUT_OBJECT_TYPE_DEFINITION:{var oc;let xt=[S,...F];return new Qe({name:R,description:(oc=S.description)===null||oc===void 0?void 0:oc.value,fields:a(()=>rg(xt),"fields"),astNode:S,extensionASTNodes:F,isOneOf:mE(S)})}}}}a(lb,"extendSchemaImpl");var cb=pt([...Tr,...jn],e=>e.name);function As(e){let t=ar($r,e);return t?.reason}a(As,"getDeprecationReason");function ub(e){let t=ar(Yi,e);return t?.url}a(ub,"getSpecifiedByURL");function mE(e){return!!ar(Ki,e)}a(mE,"isOneOf");function Rh(e,t){e!=null&&e.kind===h.DOCUMENT||Q(!1,"Must provide valid Document AST."),t?.assumeValid!==!0&&t?.assumeValidSDL!==!0&&tb(e);let i=lb({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(i.astNode==null)for(let o of i.types)switch(o.name){case"Query":i.query=o;break;case"Mutation":i.mutation=o;break;case"Subscription":i.subscription=o;break}let r=[...i.directives,...Ke.filter(o=>i.directives.every(s=>s.name!==o.name))];return new It({...i,directives:r})}a(Rh,"buildASTSchema");function zs(e,t){let n=_n(e,{noLocation:t?.noLocation,allowLegacyFragmentVariables:t?.allowLegacyFragmentVariables});return Rh(n,{assumeValidSDL:t?.assumeValidSDL,assumeValid:t?.assumeValid})}a(zs,"buildSchema");var pb=a(e=>Array.isArray(e)?e:e?[e]:[],"asArray");function Ls(e){return Ps(e,[])}a(Ls,"inspect");function Ps(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return hE(e,t);default:return String(e)}}a(Ps,"formatValue");function db(e){return(e.name="GraphQLError")?e.toString():`${e.name}: ${e.message};
119
- ${e.stack}`}a(db,"formatError");function hE(e,t){if(e===null)return"null";if(e instanceof Error)return e.name==="AggregateError"?db(e)+`
120
- `+fb(e.errors,t):db(e);if(t.includes(e))return"[Circular]";let n=[...t,e];if(gE(e)){let i=e.toJSON();if(i!==e)return typeof i=="string"?i:Ps(i,n)}else if(Array.isArray(e))return fb(e,n);return yE(e,n)}a(hE,"formatObjectValue");function gE(e){return typeof e.toJSON=="function"}a(gE,"isJSONable");function yE(e,t){let n=Object.entries(e);return n.length===0?"{}":t.length>3?"["+vE(e)+"]":"{ "+n.map(([r,o])=>r+": "+Ps(o,t)).join(", ")+" }"}a(yE,"formatObject");function fb(e,t){if(e.length===0)return"[]";if(t.length>3)return"[Array]";let n=e.length,i=[];for(let r=0;r<n;++r)i.push(Ps(e[r],t));return"["+i.join(", ")+"]"}a(fb,"formatArray");function vE(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}a(vE,"getObjectTag");var bE=["message","locations","path","nodes","source","positions","originalError","name","stack","extensions","coordinate"];function xE(e){return e!=null&&typeof e=="object"&&Object.keys(e).every(t=>bE.includes(t))}a(xE,"isGraphQLErrorLike");function Pn(e,t){t?.originalError&&!(t.originalError instanceof Error)&&xE(t.originalError)&&(t.originalError=Pn(t.originalError.message,t.originalError));let n=b,i=ym.major>=16?new n(e,t):new n(e,t?.nodes,t?.source,t?.positions,t?.path,t?.originalError,t?.extensions);return t?.coordinate&&i.coordinate==null&&Object.defineProperties(i,{coordinate:{value:t.coordinate,enumerable:!0,configurable:!0}}),i}a(Pn,"createGraphQLError");function mb(e,t){return Object.prototype.hasOwnProperty.call(e,t)}a(mb,"hasOwnProperty");function hb(e,t,n={}){let i={},o=(t.arguments??[]).reduce((s,c)=>({...s,[c.name.value]:c}),{});for(let{name:s,type:c,defaultValue:u}of e.args){let l=o[s];if(!l){if(u!==void 0)i[s]=u;else if(A(c))throw Pn(`Argument "${s}" of required type "${Ls(c)}" was not provided.`,{nodes:[t]});continue}let p=l.value,d=p.kind===h.NULL;if(p.kind===h.VARIABLE){let g=p.name.value;if(n==null||!mb(n,g)){if(u!==void 0)i[s]=u;else if(A(c))throw Pn(`Argument "${s}" of required type "${Ls(c)}" was provided the variable "$${g}" which was not provided a runtime value.`,{nodes:[p]});continue}d=n[g]==null}if(d&&A(c))throw Pn(`Argument "${s}" of non-null type "${Ls(c)}" must not be null.`,{nodes:[p]});let m=Fe(p,c,n);if(m===void 0)throw Pn(`Argument "${s}" has invalid value ${ee(p)}.`,{nodes:[p]});i[s]=m}return i}a(hb,"getArgumentValues");function gb(e){let t=new WeakMap;return a(function(i){let r=t.get(i);if(r===void 0){let o=e(i);return t.set(i,o),o}return r},"memoized")}a(gb,"memoize1");function yb(e,t,n=["directives"]){let i={};if(e.extensions){let s=e.extensions;for(let c of n)s=s?.[c];if(s!=null)for(let c in s){let u=s[c],l=c;if(Array.isArray(u))for(let p of u){let d=i[l];d||(d=[],i[l]=d),d.push(p)}else{let p=i[l];p||(p=[],i[l]=p),p.push(u)}}}let r=gb(s=>JSON.stringify(s)),o=[];e.astNode&&o.push(e.astNode),e.extensionASTNodes&&o.push(...e.extensionASTNodes);for(let s of o)if(s.directives?.length)for(let c of s.directives){let u=c.name.value,l=i[u];l||(l=[],i[u]=l);let p=t?.getDirective(u),d={};if(p&&(d=hb(p,c)),c.arguments)for(let m of c.arguments){let g=m.name.value;if(d[g]==null){let y=p?.args.find(x=>x.name===g);y&&(d[g]=Fe(m.value,y.type))}d[g]==null&&(d[g]=rr(m.value))}if(o.length>0&&l.length>0){let m=r(d);if(l.some(g=>r(g)===m))continue}l.push(d)}return i}a(yb,"getDirectiveExtensions");function jh(e,t,n,i=["directives"]){return yb(t,e,i)[n]}a(jh,"getDirective");var K;(function(e){e.TYPE="MapperKind.TYPE",e.SCALAR_TYPE="MapperKind.SCALAR_TYPE",e.ENUM_TYPE="MapperKind.ENUM_TYPE",e.COMPOSITE_TYPE="MapperKind.COMPOSITE_TYPE",e.OBJECT_TYPE="MapperKind.OBJECT_TYPE",e.INPUT_OBJECT_TYPE="MapperKind.INPUT_OBJECT_TYPE",e.ABSTRACT_TYPE="MapperKind.ABSTRACT_TYPE",e.UNION_TYPE="MapperKind.UNION_TYPE",e.INTERFACE_TYPE="MapperKind.INTERFACE_TYPE",e.ROOT_OBJECT="MapperKind.ROOT_OBJECT",e.QUERY="MapperKind.QUERY",e.MUTATION="MapperKind.MUTATION",e.SUBSCRIPTION="MapperKind.SUBSCRIPTION",e.DIRECTIVE="MapperKind.DIRECTIVE",e.FIELD="MapperKind.FIELD",e.COMPOSITE_FIELD="MapperKind.COMPOSITE_FIELD",e.OBJECT_FIELD="MapperKind.OBJECT_FIELD",e.ROOT_FIELD="MapperKind.ROOT_FIELD",e.QUERY_ROOT_FIELD="MapperKind.QUERY_ROOT_FIELD",e.MUTATION_ROOT_FIELD="MapperKind.MUTATION_ROOT_FIELD",e.SUBSCRIPTION_ROOT_FIELD="MapperKind.SUBSCRIPTION_ROOT_FIELD",e.INTERFACE_FIELD="MapperKind.INTERFACE_FIELD",e.INPUT_OBJECT_FIELD="MapperKind.INPUT_OBJECT_FIELD",e.ARGUMENT="MapperKind.ARGUMENT",e.ENUM_VALUE="MapperKind.ENUM_VALUE"})(K||(K={}));function jr(e,t){if(t){let n=e[t.name];if(j(n))return n}}a(jr,"getObjectTypeFromTypeMap");function vb(e){if("getFields"in e){let t=e.getFields();for(let n in t)return t[n].name==="_fake"}return!1}a(vb,"isNamedStub");function bb(e){switch(e.name){case Nn.name:return Nn;case kn.name:return kn;case ae.name:return ae;case $e.name:return $e;case or.name:return or;default:return e}}a(bb,"getBuiltInForStub");function xb(e,t){let n=Object.create(null);for(let m in e)n[m]=e[m];let i=Object.create(null);for(let m in n){let g=n[m];if(g==null||m.startsWith("__"))continue;let y=g.name;if(!y.startsWith("__")){if(i[y]!=null){console.warn(`Duplicate schema type name ${y} found; keeping the existing one found in the schema`);continue}i[y]=g}}for(let m in i)i[m]=c(i[m]);let r=t.map(m=>o(m));return{typeMap:i,directives:r};function o(m){if(ps(m))return m;let g=m.toConfig();return g.args=s(g.args),new Ye(g)}function s(m){let g={};for(let y in m){let x=m[y],k=d(x.type);k!=null&&(x.type=k,g[y]=x)}return g}function c(m){if(j(m)){let g=m.toConfig(),y={...g,fields:a(()=>u(g.fields),"fields"),interfaces:a(()=>p(g.interfaces),"interfaces")};return new be(y)}else if(M(m)){let g=m.toConfig(),y={...g,fields:a(()=>u(g.fields),"fields")};return"interfaces"in y&&(y.interfaces=()=>p(g.interfaces)),new Je(y)}else if(ye(m)){let g=m.toConfig(),y={...g,types:a(()=>p(g.types),"types")};return new Rt(y)}else if(V(m)){let g=m.toConfig(),y={...g,fields:a(()=>l(g.fields),"fields")};return new Qe(y)}else if(te(m)){let g=m.toConfig();return new Pe(g)}else if(xe(m)){if(wn(m))return m;let g=m.toConfig();return new we(g)}throw new Error(`Unexpected schema type: ${m}`)}function u(m){let g={};for(let y in m){let x=m[y],k=d(x.type);k!=null&&x.args&&(x.type=k,x.args=s(x.args),g[y]=x)}return g}function l(m){let g={};for(let y in m){let x=m[y],k=d(x.type);k!=null&&(x.type=k,g[y]=x)}return g}function p(m){let g=[];for(let y of m){let x=d(y);x!=null&&g.push(x)}return g}function d(m){if(J(m)){let g=d(m.ofType);return g!=null?new ue(g):null}else if(A(m)){let g=d(m.ofType);return g!=null?new G(g):null}else if(ir(m)){let g=n[m.name];return g===void 0&&(g=vb(m)?bb(m):c(m),i[g.name]=n[m.name]=g),g!=null?i[g.name]:null}return null}}a(xb,"rewireTypes");function Us(e,t,n=null,i=null){if(t==null)return t;let r=nr(e);if(de(r))return n!=null?n(r,t):t;if(J(r))return pb(t).map(o=>Us(r.ofType,o,n,i));if(V(r)){let o=r.getFields(),s={};for(let c in t){let u=o[c];u!=null&&(s[c]=Us(u.type,t[c],n,i))}return i!=null?i(r,s):s}}a(Us,"transformInputValue");function _b(e,t){return Us(e,t,(n,i)=>{try{return n.serialize(i)}catch{return i}})}a(_b,"serializeInputValue");function Sb(e,t){return Us(e,t,(n,i)=>{try{return n.parseValue(i)}catch{return i}})}a(Sb,"parseInputValue");function $b(e,t={}){let n=Eb(Ib(Ah(Tb(SE(Ah(Tb(e.getTypeMap(),e,_b),e,t,c=>de(c)),e,t),e,Sb),e,t,c=>!de(c)),e,t),e,t),i=e.getDirectives(),r=TE(i,e,t),{typeMap:o,directives:s}=xb(n,r);return new It({...e.toConfig(),query:jr(o,jr(n,e.getQueryType())),mutation:jr(o,jr(n,e.getMutationType())),subscription:jr(o,jr(n,e.getSubscriptionType())),types:Object.values(o),directives:s})}a($b,"mapSchema");var _E=["String","ID","Int","Float","Boolean"];function Ah(e,t,n,i=()=>!0){let r={};for(let o in e)if(!o.startsWith("__")&&!_E.includes(o)){let s=e[o];if(s==null||!i(s)){r[o]=s;continue}let c=IE(t,n,o);if(c==null){r[o]=s;continue}let u=c(s,t);if(u===void 0){r[o]=s;continue}r[o]=u}return r}a(Ah,"mapTypes");function SE(e,t,n){let i=wE(n);return i?Ah(e,t,{[K.ENUM_TYPE]:r=>{let o=r.toConfig(),s=o.values,c={};for(let u in s){let l=s[u],p=i(l,r.name,t,u);if(p===void 0)c[u]=l;else if(Array.isArray(p)){let[d,m]=p;c[d]=m===void 0?l:m}else p!==null&&(c[u]=p)}return Fs(new Pe({...o,values:c}))}},r=>te(r)):e}a(SE,"mapEnumValues");function Tb(e,t,n){let i=Eb(e,t,{[K.ARGUMENT]:r=>{if(r.defaultValue===void 0)return r;let o=Cs(e,r.type);if(o!=null)return{...r,defaultValue:n(o,r.defaultValue)}}});return Ib(i,t,{[K.INPUT_OBJECT_FIELD]:r=>{if(r.defaultValue===void 0)return r;let o=Cs(i,r.type);if(o!=null)return{...r,defaultValue:n(o,r.defaultValue)}}})}a(Tb,"mapDefaultValues");function Cs(e,t){if(J(t)){let n=Cs(e,t.ofType);return n!=null?new ue(n):null}else if(A(t)){let n=Cs(e,t.ofType);return n!=null?new G(n):null}else if(ir(t)){let n=e[t.name];return n??null}return null}a(Cs,"getNewType");function Ib(e,t,n){let i={};for(let r in e)if(!r.startsWith("__")){let o=e[r];if(!j(o)&&!M(o)&&!V(o)){i[r]=o;continue}let s=OE(t,n,r);if(s==null){i[r]=o;continue}let c=o.toConfig(),u=c.fields,l={};for(let p in u){let d=u[p],m=s(d,p,r,t);if(m===void 0)l[p]=d;else if(Array.isArray(m)){let[g,y]=m;y.astNode!=null&&(y.astNode={...y.astNode,name:{...y.astNode.name,value:g}}),l[g]=y===void 0?d:y}else m!==null&&(l[p]=m)}j(o)?i[r]=Fs(new be({...c,fields:l})):M(o)?i[r]=Fs(new Je({...c,fields:l})):i[r]=Fs(new Qe({...c,fields:l}))}return i}a(Ib,"mapFields");function Eb(e,t,n){let i={};for(let r in e)if(!r.startsWith("__")){let o=e[r];if(!j(o)&&!M(o)){i[r]=o;continue}let s=NE(n);if(s==null){i[r]=o;continue}let c=o.toConfig(),u=c.fields,l={};for(let p in u){let d=u[p],m=d.args;if(m==null){l[p]=d;continue}let g=Object.keys(m);if(!g.length){l[p]=d;continue}let y={};for(let x of g){let k=m[x],z=s(k,p,r,t);if(z===void 0)y[x]=k;else if(Array.isArray(z)){let[Z,D]=z;y[Z]=D}else z!==null&&(y[x]=z)}l[p]={...d,args:y}}j(o)?i[r]=new be({...c,fields:l}):M(o)?i[r]=new Je({...c,fields:l}):i[r]=new Qe({...c,fields:l})}return i}a(Eb,"mapArguments");function TE(e,t,n){let i=kE(n);if(i==null)return e.slice();let r=[];for(let o of e){let s=i(o,t);s===void 0?r.push(o):s!==null&&r.push(s)}return r}a(TE,"mapDirectives");function $E(e,t){let n=e.getType(t),i=[K.TYPE];return j(n)?(i.push(K.COMPOSITE_TYPE,K.OBJECT_TYPE),t===e.getQueryType()?.name?i.push(K.ROOT_OBJECT,K.QUERY):t===e.getMutationType()?.name?i.push(K.ROOT_OBJECT,K.MUTATION):t===e.getSubscriptionType()?.name&&i.push(K.ROOT_OBJECT,K.SUBSCRIPTION)):V(n)?i.push(K.INPUT_OBJECT_TYPE):M(n)?i.push(K.COMPOSITE_TYPE,K.ABSTRACT_TYPE,K.INTERFACE_TYPE):ye(n)?i.push(K.COMPOSITE_TYPE,K.ABSTRACT_TYPE,K.UNION_TYPE):te(n)?i.push(K.ENUM_TYPE):xe(n)&&i.push(K.SCALAR_TYPE),i}a($E,"getTypeSpecifiers");function IE(e,t,n){let i=$E(e,n),r,o=[...i];for(;!r&&o.length>0;){let s=o.pop();r=t[s]}return r??null}a(IE,"getTypeMapper");function EE(e,t){let n=e.getType(t),i=[K.FIELD];return j(n)?(i.push(K.COMPOSITE_FIELD,K.OBJECT_FIELD),t===e.getQueryType()?.name?i.push(K.ROOT_FIELD,K.QUERY_ROOT_FIELD):t===e.getMutationType()?.name?i.push(K.ROOT_FIELD,K.MUTATION_ROOT_FIELD):t===e.getSubscriptionType()?.name&&i.push(K.ROOT_FIELD,K.SUBSCRIPTION_ROOT_FIELD)):M(n)?i.push(K.COMPOSITE_FIELD,K.INTERFACE_FIELD):V(n)&&i.push(K.INPUT_OBJECT_FIELD),i}a(EE,"getFieldSpecifiers");function OE(e,t,n){let i=EE(e,n),r,o=[...i];for(;!r&&o.length>0;){let s=o.pop();r=t[s]}return r??null}a(OE,"getFieldMapper");function NE(e){let t=e[K.ARGUMENT];return t??null}a(NE,"getArgumentMapper");function kE(e){let t=e[K.DIRECTIVE];return t??null}a(kE,"getDirectiveMapper");function wE(e){let t=e[K.ENUM_VALUE];return t??null}a(wE,"getEnumValueMapper");function Fs(e){if(j(e)){let t=e.toConfig();if(t.astNode!=null){let n=[];for(let i in t.fields){let r=t.fields[i];r.astNode!=null&&n.push(r.astNode)}t.astNode={...t.astNode,kind:h.OBJECT_TYPE_DEFINITION,fields:n}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(n=>({...n,kind:h.OBJECT_TYPE_EXTENSION,fields:void 0}))),new be(t)}else if(M(e)){let t=e.toConfig();if(t.astNode!=null){let n=[];for(let i in t.fields){let r=t.fields[i];r.astNode!=null&&n.push(r.astNode)}t.astNode={...t.astNode,kind:h.INTERFACE_TYPE_DEFINITION,fields:n}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(n=>({...n,kind:h.INTERFACE_TYPE_EXTENSION,fields:void 0}))),new Je(t)}else if(V(e)){let t=e.toConfig();if(t.astNode!=null){let n=[];for(let i in t.fields){let r=t.fields[i];r.astNode!=null&&n.push(r.astNode)}t.astNode={...t.astNode,kind:h.INPUT_OBJECT_TYPE_DEFINITION,fields:n}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(n=>({...n,kind:h.INPUT_OBJECT_TYPE_EXTENSION,fields:void 0}))),new Qe(t)}else if(te(e)){let t=e.toConfig();if(t.astNode!=null){let n=[];for(let i in t.values){let r=t.values[i];r.astNode!=null&&n.push(r.astNode)}t.astNode={...t.astNode,values:n}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(n=>({...n,values:void 0}))),new Pe(t)}else return e}a(Fs,"correctASTNodes");var Ob=`
118
+ `))}a(xx,"assertValidSDL");function bx(e){let t;return a(function(i,r,o){t===void 0&&(t=new WeakMap);let s=t.get(i);s===void 0&&(s=new WeakMap,t.set(i,s));let c=s.get(r);c===void 0&&(c=new WeakMap,s.set(r,c));let u=c.get(o);return u===void 0&&(u=e(i,r,o),c.set(o,u)),u},"memoized")}a(bx,"memoize3");function Ph(e){return Promise.all(Object.values(e)).then(t=>{let n=Object.create(null);for(let[i,r]of Object.keys(e).entries())n[r]=t[i];return n})}a(Ph,"promiseForObject");function _x(e,t,n){let i=n;for(let r of e)i=lt(i)?i.then(o=>t(o,r)):t(i,r);return i}a(_x,"promiseReduce");function Sx(e){return e instanceof Error?e:new Uh(e)}a(Sx,"toError");var Uh=class extends Error{static{a(this,"NonErrorThrown")}constructor(t){super("Unexpected error value: "+$(t)),this.name="NonErrorThrown",this.thrownValue=t}};function Lr(e,t,n){var i;let r=Sx(e);return rE(r)?r:new x(r.message,{nodes:(i=r.nodes)!==null&&i!==void 0?i:t,source:r.source,positions:r.positions,path:n,originalError:r})}a(Lr,"locatedError");function rE(e){return Array.isArray(e.path)}a(rE,"isLocatedGraphQLError");var nE=bx((e,t,n)=>gx(e.schema,e.fragments,e.variableValues,t,n)),Fh=class{static{a(this,"CollectedErrors")}constructor(){this._errorPositions=new Set,this._errors=[]}get errors(){return this._errors}add(t,n){this._hasNulledPosition(n)||(this._errorPositions.add(n),this._errors.push(t))}_hasNulledPosition(t){let n=t;for(;n!==void 0;){if(this._errorPositions.has(n))return!0;n=n.prev}return this._errorPositions.has(void 0)}};function Cs(e){arguments.length<2||Q(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:t,document:n,variableValues:i,rootValue:r}=e;iE(t,n,i);let o=oE(e);if(!("schema"in o))return{errors:o};try{let{operation:s}=o,c=aE(o,s,r);return lt(c)?c.then(u=>Ps(u,o.collectedErrors.errors),u=>(o.collectedErrors.add(u,void 0),Ps(null,o.collectedErrors.errors))):Ps(c,o.collectedErrors.errors)}catch(s){return o.collectedErrors.add(s,void 0),Ps(null,o.collectedErrors.errors)}}a(Cs,"execute");function Ps(e,t){return t.length===0?{data:e}:{errors:t,data:e}}a(Ps,"buildResponse");function iE(e,t,n){t||Q(!1,"Must provide document."),oo(e),n==null||Oe(n)||Q(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}a(iE,"assertValidExecutionArguments");function oE(e){var t,n,i;let{schema:r,document:o,rootValue:s,contextValue:c,variableValues:u,operationName:l,fieldResolver:p,typeResolver:d,subscribeFieldResolver:m,options:g}=e,y,b=Object.create(null);for(let Z of o.definitions)switch(Z.kind){case h.OPERATION_DEFINITION:if(l==null){if(y!==void 0)return[new x("Must provide operation name if query contains multiple operations.")];y=Z}else((t=Z.name)===null||t===void 0?void 0:t.value)===l&&(y=Z);break;case h.FRAGMENT_DEFINITION:b[Z.name.value]=Z;break;default:}if(!y)return l!=null?[new x(`Unknown operation named "${l}".`)]:[new x("Must provide an operation.")];let N=(n=y.variableDefinitions)!==null&&n!==void 0?n:[],L=_h(r,N,u??{},{maxErrors:(i=g?.maxCoercionErrors)!==null&&i!==void 0?i:50});return L.errors?L.errors:{schema:r,fragments:b,rootValue:s,contextValue:c,operation:y,variableValues:L.coerced,fieldResolver:p??Cn,typeResolver:d??Vh,subscribeFieldResolver:m??Cn,collectedErrors:new Fh}}a(oE,"buildExecutionContext");function aE(e,t,n){let i=e.schema.getRootType(t.operation);if(i==null)throw new x(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});let r=ks(e.schema,e.fragments,e.variableValues,i,t.selectionSet),o=void 0;switch(t.operation){case he.QUERY:return Us(e,i,n,o,r);case he.MUTATION:return sE(e,i,n,o,r);case he.SUBSCRIPTION:return Us(e,i,n,o,r)}}a(aE,"executeOperation");function sE(e,t,n,i,r){return _x(r.entries(),(o,[s,c])=>{let u=Ar(i,s,t.name),l=Ix(e,t,n,c,u);return l===void 0?o:lt(l)?l.then(p=>(o[s]=p,o)):(o[s]=l,o)},Object.create(null))}a(sE,"executeFieldsSerially");function Us(e,t,n,i,r){let o=Object.create(null),s=!1;try{for(let[c,u]of r.entries()){let l=Ar(i,c,t.name),p=Ix(e,t,n,u,l);p!==void 0&&(o[c]=p,lt(p)&&(s=!0))}}catch(c){if(s)return Ph(o).finally(()=>{throw c});throw c}return s?Ph(o):o}a(Us,"executeFields");function Ix(e,t,n,i,r){var o;let s=dE(e.schema,t,i[0]);if(!s)return;let c=s.type,u=(o=s.resolve)!==null&&o!==void 0?o:e.fieldResolver,l=cE(e,s,i,t,r);try{let p=ws(s,i[0],e.variableValues),d=e.contextValue,m=u(n,p,d,l),g;return lt(m)?g=m.then(y=>uo(e,c,i,l,r,y)):g=uo(e,c,i,l,r,m),lt(g)?g.then(void 0,y=>{let b=Lr(y,i,Ue(r));return Fs(b,c,r,e)}):g}catch(p){let d=Lr(p,i,Ue(r));return Fs(d,c,r,e)}}a(Ix,"executeField");function cE(e,t,n,i,r){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:i,path:r,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}a(cE,"buildResolveInfo");function Fs(e,t,n,i){if(j(t))throw e;return i.collectedErrors.add(e,n),null}a(Fs,"handleFieldError");function uo(e,t,n,i,r,o){if(o instanceof Error)throw o;if(j(t)){let s=uo(e,t.ofType,n,i,r,o);if(s===null)throw new Error(`Cannot return null for non-nullable field ${i.parentType.name}.${i.fieldName}.`);return s}if(o==null)return null;if(J(t))return uE(e,t,n,i,r,o);if(de(t))return lE(t,o);if(qe(t))return pE(e,t,n,i,r,o);if(A(t))return Ch(e,t,n,i,r,o);ge(!1,"Cannot complete value of unexpected output type: "+$(t))}a(uo,"completeValue");function uE(e,t,n,i,r,o){if(!zn(o))throw new x(`Expected Iterable, but did not find one for field "${i.parentType.name}.${i.fieldName}".`);let s=t.ofType,c=!1,u=Array.from(o,(l,p)=>{let d=Ar(r,p,void 0);try{let m;return lt(l)?m=l.then(g=>uo(e,s,n,i,d,g)):m=uo(e,s,n,i,d,l),lt(m)?(c=!0,m.then(void 0,g=>{let y=Lr(g,n,Ue(d));return Fs(y,s,d,e)})):m}catch(m){let g=Lr(m,n,Ue(d));return Fs(g,s,d,e)}});return c?Promise.all(u):u}a(uE,"completeListValue");function lE(e,t){let n=e.serialize(t);if(n==null)throw new Error(`Expected \`${$(e)}.serialize(${$(t)})\` to return non-nullable value, returned: ${$(n)}`);return n}a(lE,"completeLeafValue");function pE(e,t,n,i,r,o){var s;let c=(s=t.resolveType)!==null&&s!==void 0?s:e.typeResolver,u=e.contextValue,l=c(o,u,i,t);return lt(l)?l.then(p=>Ch(e,Tx(p,e,t,n,i,o),n,i,r,o)):Ch(e,Tx(l,e,t,n,i,o),n,i,r,o)}a(pE,"completeAbstractValue");function Tx(e,t,n,i,r,o){if(e==null)throw new x(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,i);if(A(e))throw new x("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if(typeof e!="string")throw new x(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}" with value ${$(o)}, received "${$(e)}".`);let s=t.schema.getType(e);if(s==null)throw new x(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:i});if(!A(s))throw new x(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`,{nodes:i});if(!t.schema.isSubType(n,s))throw new x(`Runtime Object type "${s.name}" is not a possible type for "${n.name}".`,{nodes:i});return s}a(Tx,"ensureValidRuntimeType");function Ch(e,t,n,i,r,o){let s=nE(e,t,n);if(t.isTypeOf){let c=t.isTypeOf(o,e.contextValue,i);if(lt(c))return c.then(u=>{if(!u)throw $x(t,o,n);return Us(e,t,o,r,s)});if(!c)throw $x(t,o,n)}return Us(e,t,o,r,s)}a(Ch,"completeObjectValue");function $x(e,t,n){return new x(`Expected value of type "${e.name}" but got: ${$(t)}.`,{nodes:n})}a($x,"invalidReturnTypeError");var Vh=a(function(e,t,n,i){if(Oe(e)&&typeof e.__typename=="string")return e.__typename;let r=n.schema.getPossibleTypes(i),o=[];for(let s=0;s<r.length;s++){let c=r[s];if(c.isTypeOf){let u=c.isTypeOf(e,t,n);if(lt(u))o[s]=u;else if(u)return o.length&&Promise.allSettled(o).catch(()=>{}),c.name}}if(o.length)return Promise.all(o).then(s=>{for(let c=0;c<s.length;c++)if(s[c])return r[c].name})},"defaultTypeResolver"),Cn=a(function(e,t,n,i){if(Oe(e)||typeof e=="function"){let r=e[i.fieldName];return typeof r=="function"?e[i.fieldName](t,n,i):r}},"defaultFieldResolver");function dE(e,t,n){let i=n.name.value;return i===wr.name&&e.getQueryType()===t?wr:i===Nr.name&&e.getQueryType()===t?Nr:i===kr.name?kr:t.getFields()[i]}a(dE,"getFieldDef");function wx(e,t,n){var i,r,o,s;let c=[],u=Object.create(null),l=[],p,d=[];for(let S of t.definitions)if(S.kind===h.SCHEMA_DEFINITION)p=S;else if(S.kind===h.SCHEMA_EXTENSION)d.push(S);else if(Lt(S))c.push(S);else if(Un(S)){let U=S.name.value,R=u[U];u[U]=R?R.concat([S]):[S]}else S.kind===h.DIRECTIVE_DEFINITION&&l.push(S);if(Object.keys(u).length===0&&c.length===0&&l.length===0&&d.length===0&&p==null)return e;let m=Object.create(null);for(let S of e.types)m[S.name]=Z(S);for(let S of c){var g;let U=S.name.value;m[U]=(g=Ex[U])!==null&&g!==void 0?g:u_(S)}let y={query:e.query&&N(e.query),mutation:e.mutation&&N(e.mutation),subscription:e.subscription&&N(e.subscription),...p&&He([p]),...He(d)};return{description:(i=p)===null||i===void 0||(r=i.description)===null||r===void 0?void 0:r.value,...y,types:Object.values(m),directives:[...e.directives.map(L),...l.map(mt)],extensions:Object.create(null),astNode:(o=p)!==null&&o!==void 0?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:(s=n?.assumeValid)!==null&&s!==void 0?s:!1};function b(S){return J(S)?new ue(b(S.ofType)):j(S)?new G(b(S.ofType)):N(S)}function N(S){return m[S.name]}function L(S){let U=S.toConfig();return new Ye({...U,args:dt(U.args,Ne)})}function Z(S){if(no(S)||jn(S))return S;if(be(S))return H(S);if(A(S))return ce(S);if(M(S))return re(S);if(ye(S))return Se(S);if(te(S))return P(S);if(V(S))return D(S);ge(!1,"Unexpected type: "+$(S))}function D(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[];return new Qe({...R,fields:a(()=>({...dt(R.fields,pe=>({...pe,type:b(pe.type)})),...dg(F)}),"fields"),extensionASTNodes:R.extensionASTNodes.concat(F)})}function P(S){var U;let R=S.toConfig(),F=(U=u[S.name])!==null&&U!==void 0?U:[];return new Pe({...R,values:{...R.values,...fg(F)},extensionASTNodes:R.extensionASTNodes.concat(F)})}function H(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[],pe=R.specifiedByURL;for(let fe of F){var Ee;pe=(Ee=Ox(fe))!==null&&Ee!==void 0?Ee:pe}return new ke({...R,specifiedByURL:pe,extensionASTNodes:R.extensionASTNodes.concat(F)})}function ce(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[];return new xe({...R,interfaces:a(()=>[...S.getInterfaces().map(N),...ho(F)],"interfaces"),fields:a(()=>({...dt(R.fields,X),...zt(F)}),"fields"),extensionASTNodes:R.extensionASTNodes.concat(F)})}function re(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[];return new Je({...R,interfaces:a(()=>[...S.getInterfaces().map(N),...ho(F)],"interfaces"),fields:a(()=>({...dt(R.fields,X),...zt(F)}),"fields"),extensionASTNodes:R.extensionASTNodes.concat(F)})}function Se(S){var U;let R=S.toConfig(),F=(U=u[R.name])!==null&&U!==void 0?U:[];return new At({...R,types:a(()=>[...S.getTypes().map(N),...mg(F)],"types"),extensionASTNodes:R.extensionASTNodes.concat(F)})}function X(S){return{...S,type:b(S.type),args:S.args&&dt(S.args,Ne)}}function Ne(S){return{...S,type:b(S.type)}}function He(S){let U={};for(let F of S){var R;let pe=(R=F.operationTypes)!==null&&R!==void 0?R:[];for(let Ee of pe)U[Ee.operation]=Ie(Ee.type)}return U}function Ie(S){var U;let R=S.name.value,F=(U=Ex[R])!==null&&U!==void 0?U:m[R];if(F===void 0)throw new Error(`Unknown type: "${R}".`);return F}function Ae(S){return S.kind===h.LIST_TYPE?new ue(Ae(S.type)):S.kind===h.NON_NULL_TYPE?new G(Ae(S.type)):Ie(S)}function mt(S){var U;return new Ye({name:S.name.value,description:(U=S.description)===null||U===void 0?void 0:U.value,locations:S.locations.map(({value:R})=>R),isRepeatable:S.repeatable,args:pg(S.arguments),astNode:S})}function zt(S){let U=Object.create(null);for(let pe of S){var R;let Ee=(R=pe.fields)!==null&&R!==void 0?R:[];for(let fe of Ee){var F;U[fe.name.value]={type:Ae(fe.type),description:(F=fe.description)===null||F===void 0?void 0:F.value,args:pg(fe.arguments),deprecationReason:Vs(fe),astNode:fe}}}return U}function pg(S){let U=S??[],R=Object.create(null);for(let pe of U){var F;let Ee=Ae(pe.type);R[pe.name.value]={type:Ee,description:(F=pe.description)===null||F===void 0?void 0:F.value,defaultValue:Fe(pe.defaultValue,Ee),deprecationReason:Vs(pe),astNode:pe}}return R}function dg(S){let U=Object.create(null);for(let pe of S){var R;let Ee=(R=pe.fields)!==null&&R!==void 0?R:[];for(let fe of Ee){var F;let Ur=Ae(fe.type);U[fe.name.value]={type:Ur,description:(F=fe.description)===null||F===void 0?void 0:F.value,defaultValue:Fe(fe.defaultValue,Ur),deprecationReason:Vs(fe),astNode:fe}}}return U}function fg(S){let U=Object.create(null);for(let pe of S){var R;let Ee=(R=pe.values)!==null&&R!==void 0?R:[];for(let fe of Ee){var F;U[fe.name.value]={description:(F=fe.description)===null||F===void 0?void 0:F.value,deprecationReason:Vs(fe),astNode:fe}}}return U}function ho(S){return S.flatMap(U=>{var R,F;return(R=(F=U.interfaces)===null||F===void 0?void 0:F.map(Ie))!==null&&R!==void 0?R:[]})}function mg(S){return S.flatMap(U=>{var R,F;return(R=(F=U.types)===null||F===void 0?void 0:F.map(Ie))!==null&&R!==void 0?R:[]})}function u_(S){var U;let R=S.name.value,F=(U=u[R])!==null&&U!==void 0?U:[];switch(S.kind){case h.OBJECT_TYPE_DEFINITION:{var pe;let bt=[S,...F];return new xe({name:R,description:(pe=S.description)===null||pe===void 0?void 0:pe.value,interfaces:a(()=>ho(bt),"interfaces"),fields:a(()=>zt(bt),"fields"),astNode:S,extensionASTNodes:F})}case h.INTERFACE_TYPE_DEFINITION:{var Ee;let bt=[S,...F];return new Je({name:R,description:(Ee=S.description)===null||Ee===void 0?void 0:Ee.value,interfaces:a(()=>ho(bt),"interfaces"),fields:a(()=>zt(bt),"fields"),astNode:S,extensionASTNodes:F})}case h.ENUM_TYPE_DEFINITION:{var fe;let bt=[S,...F];return new Pe({name:R,description:(fe=S.description)===null||fe===void 0?void 0:fe.value,values:fg(bt),astNode:S,extensionASTNodes:F})}case h.UNION_TYPE_DEFINITION:{var Ur;let bt=[S,...F];return new At({name:R,description:(Ur=S.description)===null||Ur===void 0?void 0:Ur.value,types:a(()=>mg(bt),"types"),astNode:S,extensionASTNodes:F})}case h.SCALAR_TYPE_DEFINITION:{var pc;return new ke({name:R,description:(pc=S.description)===null||pc===void 0?void 0:pc.value,specifiedByURL:Ox(S),astNode:S,extensionASTNodes:F})}case h.INPUT_OBJECT_TYPE_DEFINITION:{var dc;let bt=[S,...F];return new Qe({name:R,description:(dc=S.description)===null||dc===void 0?void 0:dc.value,fields:a(()=>dg(bt),"fields"),astNode:S,extensionASTNodes:F,isOneOf:UE(S)})}}}}a(wx,"extendSchemaImpl");var Ex=pt([...Er,...Pn],e=>e.name);function Vs(e){let t=ur(Or,e);return t?.reason}a(Vs,"getDeprecationReason");function Ox(e){let t=ur(Xi,e);return t?.url}a(Ox,"getSpecifiedByURL");function UE(e){return!!ur(eo,e)}a(UE,"isOneOf");function Mh(e,t){e!=null&&e.kind===h.DOCUMENT||Q(!1,"Must provide valid Document AST."),t?.assumeValid!==!0&&t?.assumeValidSDL!==!0&&xx(e);let i=wx({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(i.astNode==null)for(let o of i.types)switch(o.name){case"Query":i.query=o;break;case"Mutation":i.mutation=o;break;case"Subscription":i.subscription=o;break}let r=[...i.directives,...Ke.filter(o=>i.directives.every(s=>s.name!==o.name))];return new Et({...i,directives:r})}a(Mh,"buildASTSchema");function Ms(e,t){let n=In(e,{noLocation:t?.noLocation,allowLegacyFragmentVariables:t?.allowLegacyFragmentVariables});return Mh(n,{assumeValidSDL:t?.assumeValidSDL,assumeValid:t?.assumeValid})}a(Ms,"buildSchema");var Nx=a(e=>Array.isArray(e)?e:e?[e]:[],"asArray");function Zs(e){return Gs(e,[])}a(Zs,"inspect");function Gs(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return FE(e,t);default:return String(e)}}a(Gs,"formatValue");function kx(e){return(e.name="GraphQLError")?e.toString():`${e.name}: ${e.message};
119
+ ${e.stack}`}a(kx,"formatError");function FE(e,t){if(e===null)return"null";if(e instanceof Error)return e.name==="AggregateError"?kx(e)+`
120
+ `+Dx(e.errors,t):kx(e);if(t.includes(e))return"[Circular]";let n=[...t,e];if(CE(e)){let i=e.toJSON();if(i!==e)return typeof i=="string"?i:Gs(i,n)}else if(Array.isArray(e))return Dx(e,n);return VE(e,n)}a(FE,"formatObjectValue");function CE(e){return typeof e.toJSON=="function"}a(CE,"isJSONable");function VE(e,t){let n=Object.entries(e);return n.length===0?"{}":t.length>3?"["+ME(e)+"]":"{ "+n.map(([r,o])=>r+": "+Gs(o,t)).join(", ")+" }"}a(VE,"formatObject");function Dx(e,t){if(e.length===0)return"[]";if(t.length>3)return"[Array]";let n=e.length,i=[];for(let r=0;r<n;++r)i.push(Gs(e[r],t));return"["+i.join(", ")+"]"}a(Dx,"formatArray");function ME(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}a(ME,"getObjectTag");var ZE=["message","locations","path","nodes","source","positions","originalError","name","stack","extensions","coordinate"];function GE(e){return e!=null&&typeof e=="object"&&Object.keys(e).every(t=>ZE.includes(t))}a(GE,"isGraphQLErrorLike");function Vn(e,t){t?.originalError&&!(t.originalError instanceof Error)&&GE(t.originalError)&&(t.originalError=Vn(t.originalError.message,t.originalError));let n=x,i=Om.major>=16?new n(e,t):new n(e,t?.nodes,t?.source,t?.positions,t?.path,t?.originalError,t?.extensions);return t?.coordinate&&i.coordinate==null&&Object.defineProperties(i,{coordinate:{value:t.coordinate,enumerable:!0,configurable:!0}}),i}a(Vn,"createGraphQLError");function Rx(e,t){return Object.prototype.hasOwnProperty.call(e,t)}a(Rx,"hasOwnProperty");function Ax(e,t,n={}){let i={},o=(t.arguments??[]).reduce((s,c)=>({...s,[c.name.value]:c}),{});for(let{name:s,type:c,defaultValue:u}of e.args){let l=o[s];if(!l){if(u!==void 0)i[s]=u;else if(j(c))throw Vn(`Argument "${s}" of required type "${Zs(c)}" was not provided.`,{nodes:[t]});continue}let p=l.value,d=p.kind===h.NULL;if(p.kind===h.VARIABLE){let g=p.name.value;if(n==null||!Rx(n,g)){if(u!==void 0)i[s]=u;else if(j(c))throw Vn(`Argument "${s}" of required type "${Zs(c)}" was provided the variable "$${g}" which was not provided a runtime value.`,{nodes:[p]});continue}d=n[g]==null}if(d&&j(c))throw Vn(`Argument "${s}" of non-null type "${Zs(c)}" must not be null.`,{nodes:[p]});let m=Fe(p,c,n);if(m===void 0)throw Vn(`Argument "${s}" has invalid value ${ee(p)}.`,{nodes:[p]});i[s]=m}return i}a(Ax,"getArgumentValues");function jx(e){let t=new WeakMap;return a(function(i){let r=t.get(i);if(r===void 0){let o=e(i);return t.set(i,o),o}return r},"memoized")}a(jx,"memoize1");function Lx(e,t,n=["directives"]){let i={};if(e.extensions){let s=e.extensions;for(let c of n)s=s?.[c];if(s!=null)for(let c in s){let u=s[c],l=c;if(Array.isArray(u))for(let p of u){let d=i[l];d||(d=[],i[l]=d),d.push(p)}else{let p=i[l];p||(p=[],i[l]=p),p.push(u)}}}let r=jx(s=>JSON.stringify(s)),o=[];e.astNode&&o.push(e.astNode),e.extensionASTNodes&&o.push(...e.extensionASTNodes);for(let s of o)if(s.directives?.length)for(let c of s.directives){let u=c.name.value,l=i[u];l||(l=[],i[u]=l);let p=t?.getDirective(u),d={};if(p&&(d=Ax(p,c)),c.arguments)for(let m of c.arguments){let g=m.name.value;if(d[g]==null){let y=p?.args.find(b=>b.name===g);y&&(d[g]=Fe(m.value,y.type))}d[g]==null&&(d[g]=or(m.value))}if(o.length>0&&l.length>0){let m=r(d);if(l.some(g=>r(g)===m))continue}l.push(d)}return i}a(Lx,"getDirectiveExtensions");function Zh(e,t,n,i=["directives"]){return Lx(t,e,i)[n]}a(Zh,"getDirective");var K;(function(e){e.TYPE="MapperKind.TYPE",e.SCALAR_TYPE="MapperKind.SCALAR_TYPE",e.ENUM_TYPE="MapperKind.ENUM_TYPE",e.COMPOSITE_TYPE="MapperKind.COMPOSITE_TYPE",e.OBJECT_TYPE="MapperKind.OBJECT_TYPE",e.INPUT_OBJECT_TYPE="MapperKind.INPUT_OBJECT_TYPE",e.ABSTRACT_TYPE="MapperKind.ABSTRACT_TYPE",e.UNION_TYPE="MapperKind.UNION_TYPE",e.INTERFACE_TYPE="MapperKind.INTERFACE_TYPE",e.ROOT_OBJECT="MapperKind.ROOT_OBJECT",e.QUERY="MapperKind.QUERY",e.MUTATION="MapperKind.MUTATION",e.SUBSCRIPTION="MapperKind.SUBSCRIPTION",e.DIRECTIVE="MapperKind.DIRECTIVE",e.FIELD="MapperKind.FIELD",e.COMPOSITE_FIELD="MapperKind.COMPOSITE_FIELD",e.OBJECT_FIELD="MapperKind.OBJECT_FIELD",e.ROOT_FIELD="MapperKind.ROOT_FIELD",e.QUERY_ROOT_FIELD="MapperKind.QUERY_ROOT_FIELD",e.MUTATION_ROOT_FIELD="MapperKind.MUTATION_ROOT_FIELD",e.SUBSCRIPTION_ROOT_FIELD="MapperKind.SUBSCRIPTION_ROOT_FIELD",e.INTERFACE_FIELD="MapperKind.INTERFACE_FIELD",e.INPUT_OBJECT_FIELD="MapperKind.INPUT_OBJECT_FIELD",e.ARGUMENT="MapperKind.ARGUMENT",e.ENUM_VALUE="MapperKind.ENUM_VALUE"})(K||(K={}));function zr(e,t){if(t){let n=e[t.name];if(A(n))return n}}a(zr,"getObjectTypeFromTypeMap");function zx(e){if("getFields"in e){let t=e.getFields();for(let n in t)return t[n].name==="_fake"}return!1}a(zx,"isNamedStub");function Px(e){switch(e.name){case Rn.name:return Rn;case An.name:return An;case ae.name:return ae;case $e.name:return $e;case cr.name:return cr;default:return e}}a(Px,"getBuiltInForStub");function Ux(e,t){let n=Object.create(null);for(let m in e)n[m]=e[m];let i=Object.create(null);for(let m in n){let g=n[m];if(g==null||m.startsWith("__"))continue;let y=g.name;if(!y.startsWith("__")){if(i[y]!=null){console.warn(`Duplicate schema type name ${y} found; keeping the existing one found in the schema`);continue}i[y]=g}}for(let m in i)i[m]=c(i[m]);let r=t.map(m=>o(m));return{typeMap:i,directives:r};function o(m){if(vs(m))return m;let g=m.toConfig();return g.args=s(g.args),new Ye(g)}function s(m){let g={};for(let y in m){let b=m[y],N=d(b.type);N!=null&&(b.type=N,g[y]=b)}return g}function c(m){if(A(m)){let g=m.toConfig(),y={...g,fields:a(()=>u(g.fields),"fields"),interfaces:a(()=>p(g.interfaces),"interfaces")};return new xe(y)}else if(M(m)){let g=m.toConfig(),y={...g,fields:a(()=>u(g.fields),"fields")};return"interfaces"in y&&(y.interfaces=()=>p(g.interfaces)),new Je(y)}else if(ye(m)){let g=m.toConfig(),y={...g,types:a(()=>p(g.types),"types")};return new At(y)}else if(V(m)){let g=m.toConfig(),y={...g,fields:a(()=>l(g.fields),"fields")};return new Qe(y)}else if(te(m)){let g=m.toConfig();return new Pe(g)}else if(be(m)){if(jn(m))return m;let g=m.toConfig();return new ke(g)}throw new Error(`Unexpected schema type: ${m}`)}function u(m){let g={};for(let y in m){let b=m[y],N=d(b.type);N!=null&&b.args&&(b.type=N,b.args=s(b.args),g[y]=b)}return g}function l(m){let g={};for(let y in m){let b=m[y],N=d(b.type);N!=null&&(b.type=N,g[y]=b)}return g}function p(m){let g=[];for(let y of m){let b=d(y);b!=null&&g.push(b)}return g}function d(m){if(J(m)){let g=d(m.ofType);return g!=null?new ue(g):null}else if(j(m)){let g=d(m.ofType);return g!=null?new G(g):null}else if(sr(m)){let g=n[m.name];return g===void 0&&(g=zx(m)?Px(m):c(m),i[g.name]=n[m.name]=g),g!=null?i[g.name]:null}return null}}a(Ux,"rewireTypes");function Bs(e,t,n=null,i=null){if(t==null)return t;let r=ar(e);if(de(r))return n!=null?n(r,t):t;if(J(r))return Nx(t).map(o=>Bs(r.ofType,o,n,i));if(V(r)){let o=r.getFields(),s={};for(let c in t){let u=o[c];u!=null&&(s[c]=Bs(u.type,t[c],n,i))}return i!=null?i(r,s):s}}a(Bs,"transformInputValue");function Fx(e,t){return Bs(e,t,(n,i)=>{try{return n.serialize(i)}catch{return i}})}a(Fx,"serializeInputValue");function Cx(e,t){return Bs(e,t,(n,i)=>{try{return n.parseValue(i)}catch{return i}})}a(Cx,"parseInputValue");function Mx(e,t={}){let n=Gx(Zx(Gh(Vx(JE(Gh(Vx(e.getTypeMap(),e,Fx),e,t,c=>de(c)),e,t),e,Cx),e,t,c=>!de(c)),e,t),e,t),i=e.getDirectives(),r=QE(i,e,t),{typeMap:o,directives:s}=Ux(n,r);return new Et({...e.toConfig(),query:zr(o,zr(n,e.getQueryType())),mutation:zr(o,zr(n,e.getMutationType())),subscription:zr(o,zr(n,e.getSubscriptionType())),types:Object.values(o),directives:s})}a(Mx,"mapSchema");var BE=["String","ID","Int","Float","Boolean"];function Gh(e,t,n,i=()=>!0){let r={};for(let o in e)if(!o.startsWith("__")&&!BE.includes(o)){let s=e[o];if(s==null||!i(s)){r[o]=s;continue}let c=YE(t,n,o);if(c==null){r[o]=s;continue}let u=c(s,t);if(u===void 0){r[o]=s;continue}r[o]=u}return r}a(Gh,"mapTypes");function JE(e,t,n){let i=eO(n);return i?Gh(e,t,{[K.ENUM_TYPE]:r=>{let o=r.toConfig(),s=o.values,c={};for(let u in s){let l=s[u],p=i(l,r.name,t,u);if(p===void 0)c[u]=l;else if(Array.isArray(p)){let[d,m]=p;c[d]=m===void 0?l:m}else p!==null&&(c[u]=p)}return Js(new Pe({...o,values:c}))}},r=>te(r)):e}a(JE,"mapEnumValues");function Vx(e,t,n){let i=Gx(e,t,{[K.ARGUMENT]:r=>{if(r.defaultValue===void 0)return r;let o=Qs(e,r.type);if(o!=null)return{...r,defaultValue:n(o,r.defaultValue)}}});return Zx(i,t,{[K.INPUT_OBJECT_FIELD]:r=>{if(r.defaultValue===void 0)return r;let o=Qs(i,r.type);if(o!=null)return{...r,defaultValue:n(o,r.defaultValue)}}})}a(Vx,"mapDefaultValues");function Qs(e,t){if(J(t)){let n=Qs(e,t.ofType);return n!=null?new ue(n):null}else if(j(t)){let n=Qs(e,t.ofType);return n!=null?new G(n):null}else if(sr(t)){let n=e[t.name];return n??null}return null}a(Qs,"getNewType");function Zx(e,t,n){let i={};for(let r in e)if(!r.startsWith("__")){let o=e[r];if(!A(o)&&!M(o)&&!V(o)){i[r]=o;continue}let s=WE(t,n,r);if(s==null){i[r]=o;continue}let c=o.toConfig(),u=c.fields,l={};for(let p in u){let d=u[p],m=s(d,p,r,t);if(m===void 0)l[p]=d;else if(Array.isArray(m)){let[g,y]=m;y.astNode!=null&&(y.astNode={...y.astNode,name:{...y.astNode.name,value:g}}),l[g]=y===void 0?d:y}else m!==null&&(l[p]=m)}A(o)?i[r]=Js(new xe({...c,fields:l})):M(o)?i[r]=Js(new Je({...c,fields:l})):i[r]=Js(new Qe({...c,fields:l}))}return i}a(Zx,"mapFields");function Gx(e,t,n){let i={};for(let r in e)if(!r.startsWith("__")){let o=e[r];if(!A(o)&&!M(o)){i[r]=o;continue}let s=HE(n);if(s==null){i[r]=o;continue}let c=o.toConfig(),u=c.fields,l={};for(let p in u){let d=u[p],m=d.args;if(m==null){l[p]=d;continue}let g=Object.keys(m);if(!g.length){l[p]=d;continue}let y={};for(let b of g){let N=m[b],L=s(N,p,r,t);if(L===void 0)y[b]=N;else if(Array.isArray(L)){let[Z,D]=L;y[Z]=D}else L!==null&&(y[b]=L)}l[p]={...d,args:y}}A(o)?i[r]=new xe({...c,fields:l}):M(o)?i[r]=new Je({...c,fields:l}):i[r]=new Qe({...c,fields:l})}return i}a(Gx,"mapArguments");function QE(e,t,n){let i=XE(n);if(i==null)return e.slice();let r=[];for(let o of e){let s=i(o,t);s===void 0?r.push(o):s!==null&&r.push(s)}return r}a(QE,"mapDirectives");function qE(e,t){let n=e.getType(t),i=[K.TYPE];return A(n)?(i.push(K.COMPOSITE_TYPE,K.OBJECT_TYPE),t===e.getQueryType()?.name?i.push(K.ROOT_OBJECT,K.QUERY):t===e.getMutationType()?.name?i.push(K.ROOT_OBJECT,K.MUTATION):t===e.getSubscriptionType()?.name&&i.push(K.ROOT_OBJECT,K.SUBSCRIPTION)):V(n)?i.push(K.INPUT_OBJECT_TYPE):M(n)?i.push(K.COMPOSITE_TYPE,K.ABSTRACT_TYPE,K.INTERFACE_TYPE):ye(n)?i.push(K.COMPOSITE_TYPE,K.ABSTRACT_TYPE,K.UNION_TYPE):te(n)?i.push(K.ENUM_TYPE):be(n)&&i.push(K.SCALAR_TYPE),i}a(qE,"getTypeSpecifiers");function YE(e,t,n){let i=qE(e,n),r,o=[...i];for(;!r&&o.length>0;){let s=o.pop();r=t[s]}return r??null}a(YE,"getTypeMapper");function KE(e,t){let n=e.getType(t),i=[K.FIELD];return A(n)?(i.push(K.COMPOSITE_FIELD,K.OBJECT_FIELD),t===e.getQueryType()?.name?i.push(K.ROOT_FIELD,K.QUERY_ROOT_FIELD):t===e.getMutationType()?.name?i.push(K.ROOT_FIELD,K.MUTATION_ROOT_FIELD):t===e.getSubscriptionType()?.name&&i.push(K.ROOT_FIELD,K.SUBSCRIPTION_ROOT_FIELD)):M(n)?i.push(K.COMPOSITE_FIELD,K.INTERFACE_FIELD):V(n)&&i.push(K.INPUT_OBJECT_FIELD),i}a(KE,"getFieldSpecifiers");function WE(e,t,n){let i=KE(e,n),r,o=[...i];for(;!r&&o.length>0;){let s=o.pop();r=t[s]}return r??null}a(WE,"getFieldMapper");function HE(e){let t=e[K.ARGUMENT];return t??null}a(HE,"getArgumentMapper");function XE(e){let t=e[K.DIRECTIVE];return t??null}a(XE,"getDirectiveMapper");function eO(e){let t=e[K.ENUM_VALUE];return t??null}a(eO,"getEnumValueMapper");function Js(e){if(A(e)){let t=e.toConfig();if(t.astNode!=null){let n=[];for(let i in t.fields){let r=t.fields[i];r.astNode!=null&&n.push(r.astNode)}t.astNode={...t.astNode,kind:h.OBJECT_TYPE_DEFINITION,fields:n}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(n=>({...n,kind:h.OBJECT_TYPE_EXTENSION,fields:void 0}))),new xe(t)}else if(M(e)){let t=e.toConfig();if(t.astNode!=null){let n=[];for(let i in t.fields){let r=t.fields[i];r.astNode!=null&&n.push(r.astNode)}t.astNode={...t.astNode,kind:h.INTERFACE_TYPE_DEFINITION,fields:n}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(n=>({...n,kind:h.INTERFACE_TYPE_EXTENSION,fields:void 0}))),new Je(t)}else if(V(e)){let t=e.toConfig();if(t.astNode!=null){let n=[];for(let i in t.fields){let r=t.fields[i];r.astNode!=null&&n.push(r.astNode)}t.astNode={...t.astNode,kind:h.INPUT_OBJECT_TYPE_DEFINITION,fields:n}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(n=>({...n,kind:h.INPUT_OBJECT_TYPE_EXTENSION,fields:void 0}))),new Qe(t)}else if(te(e)){let t=e.toConfig();if(t.astNode!=null){let n=[];for(let i in t.values){let r=t.values[i];r.astNode!=null&&n.push(r.astNode)}t.astNode={...t.astNode,values:n}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(n=>({...n,values:void 0}))),new Pe(t)}else return e}a(Js,"correctASTNodes");var Bx=`
121
121
  directive @entity(id: String!) on OBJECT
122
122
  directive @reference(entity: String!) on INPUT_FIELD_DEFINITION | ARGUMENT_DEFINITION
123
123
  directive @value(value: String!) on ENUM_VALUE
@@ -126,7 +126,7 @@ directive @setup(path: [String!]!, kind: SetupKind!) on FIELD_DEFINITION
126
126
  enum SetupKind { create replace }
127
127
  scalar Date
128
128
  scalar DateTime
129
- `,Nb=f.strictObject({id:f.string().min(1)}),Vs=f.strictObject({entity:f.string().min(1)}),kb=f.strictObject({value:f.string()}),wb=f.strictObject({name:f.string().min(1)}),ao=f.strictObject({kind:f.enum(["create","replace"]),path:f.array(f.string().min(1)).min(1)});function it(e){let t=jh(e.schema,e.node,e.name)?.[0];return t==null?void 0:e.validator.parse(t)}a(it,"readDirective");function Ar(e){return jh(e.schema,e.node,e.name)?.[0]!=null}a(Ar,"hasDirective");function Db(e){return`Declare a supported representation for scalar ${e}.`}a(Db,"renderUnknownScalar");function Un(e){return`The constraints do not apply to ${e}. String takes minLength and maxLength. Int and Float take min and max. No other type takes a constraint.`}a(Un,"renderInvalidConstraint");var Rb="The constraint min is above its max.",jb="The constraint minLength is above its maxLength.";function Ab(e){return`The schema operation ${e} does not exist.`}a(Ab,"renderMissingOperation");var Zs="actor",Ms="actor";function so(e){return DE(e).match(t=>t,t=>{throw new TypeError(`schema-layout-invalid:${t.map(n=>n.kind).join(",")}`)})}a(so,"schemaLayout");function DE(e){let t=RE(e),n=[...t.issues,...jE(e),...AE(e),...zE(e)];return n.length>0?ze(n):rt({actor:t.root,mutation:e.getMutationType()??void 0})}a(DE,"readSchemaLayout");function RE(e){let t=e.getQueryType(),n=t?.getFields()[Ms];if(t==null||n==null)return{issues:[],root:void 0};let i=A(n.type)?n.type.ofType:void 0,r=n.args.length===0?[]:[{field:Ms,kind:"root-field-arguments"}];return!j(i)||!Ar({name:"entity",node:i,schema:e})?{issues:[...r,{field:Ms,kind:"root-field-type"}],root:void 0}:{issues:r,root:{field:n,query:t,type:i}}}a(RE,"actorRoot");function jE(e){return Object.keys(e.getQueryType()?.getFields()??{}).filter(t=>t!==Ms).map(t=>({field:t,kind:"root-field-unexpected"}))}a(jE,"unexpectedQueryFields");function AE(e){return e.getSubscriptionType()==null?[]:[{kind:"subscription-present"}]}a(AE,"subscriptionIssues");function zE(e){return Object.values(e.getMutationType()?.getFields()??{}).filter(t=>!Ar({name:"setup",node:t,schema:e})).map(t=>({field:t.name,kind:"mutation-field-not-setup"}))}a(zE,"mutationIssues");var zb=new WeakMap;function LE(e){let t=zb.get(e);if(t!=null)return t;let n=[...Pb(e),...Gs(e)];return zb.set(e,n),n}a(LE,"schemaOperations");function Gs(e){let{mutation:t}=so(e);return t==null?[]:Object.values(t.getFields()).map(n=>PE({field:n,owner:t,schema:e}))}a(Gs,"setupOperationsOf");function Fn(e){return Pb(e)[0]}a(Fn,"actorOperation");function zh(e){let t=LE(e.schema).find(n=>n.id===e.id);if(t==null)throw new TypeError(Ab(e.id));return t}a(zh,"requireOperation");function Lb(e){let t=zh(e);if(t.kind!=="setup")throw new TypeError(`operation-not-setup:${e.id}`);return t}a(Lb,"requireSetupOperation");function Pb(e){let{actor:t}=so(e);return t==null?[]:[{field:t.field,id:Ub({field:t.field,owner:t.query}),kind:"actor",owner:t.query}]}a(Pb,"actorOperations");function PE({field:e,owner:t,schema:n}){let i=it({name:"setup",node:e,schema:n,validator:ao});if(i==null)throw new TypeError(`setup-operation-metadata-missing:${t.name}.${e.name}`);return{field:e,id:Ub({field:e,owner:t}),kind:"setup",owner:t,setup:i}}a(PE,"setupOperation");function Ub({field:e,owner:t}){return ct.parse(`${t.name}.${e.name}`)}a(Ub,"operationId");function Lh(e,t){switch(t.kind){case"null":return`${e} is null, but the schema requires a value.`;case"not-list":return`${e} is not a list.`;case"not-object":return`${e} is not an object.`;case"scalar":return`${e} is invalid: ${t.messages.join(" ")}`;case"typename":return`${e} has __typename ${t.typename}, but the schema requires ${t.expected}.`}}a(Lh,"renderValueProblem");function Fb(e,t){return`${e} holds ${JSON.stringify(t.value)}, which is not a usable ID. Use a nonempty string or an integer.`}a(Fb,"renderIdentityProblem");function Cb(e){return`The returned object has no ${e} field.`}a(Cb,"renderMissingReturnedField");function Vb(e){return`${e} cannot be read because the returned value is not an object.`}a(Vb,"renderReturnedParentNotObject");function Mb(e){return`The returned value is not JSON: ${e.join(" ")}`}a(Mb,"renderNonJsonReturn");function Zb(e){return`${e} cannot read facts.references.identities. No binding sees the ids setup created. Reference arguments arrive as the application's own ids.`}a(Zb,"renderHiddenIdentities");var We=class extends Error{constructor(n){super(Gb(n));this.failures=n;this.name=tm}static{a(this,"BindingError")}},Ph=class extends Error{constructor(n,i){super(`${Gb(n)} (${i})`);this.failures=n;this.written=i;this.name=rm}static{a(this,"SetupBindingError")}};function Bs(e){return t=>{throw t instanceof We?new Ph(t.failures,e):t}}a(Bs,"setupFailure");function Gb(e){return e.map(t=>`${t.kind}: ${t.operation}`).join(", ")}a(Gb,"renderFailures");var sr=class extends Error{constructor(n){super(n.join(" "));this.issues=n;this.name="SchemaOutputValidationError"}static{a(this,"OutputValidationError")}};var Cn=f.record(f.string().min(1),f.record(f.string().min(1),f.string().min(1))),Uh=f.union([f.string().min(1),f.number().int()]).transform(String);function Bb({entity:e,modelId:t,registry:n}){let i=Jb({entity:e,modelId:t,registry:n});if(i==null)throw new co({entity:e,modelId:t});return i}a(Bb,"applicationId");var co=class extends Error{constructor(n){super(`identity-unbound:${n.entity}:${n.modelId}`);this.identity=n;this.name="MissingIdentityError"}static{a(this,"MissingIdentityError")}};function Jb({entity:e,modelId:t,registry:n}){let i=Qb({entity:e,registry:n});if(i===void 0||!Object.hasOwn(i,t))return;let r=i[t];if(r===void 0)throw new TypeError(`identity-entry-invalid:${e}:${t}`);return r}a(Jb,"knownIdentity");function Qb({entity:e,registry:t}){if(!Object.hasOwn(t,e))return;let n=t[e];if(n===void 0)throw new TypeError(`identity-entity-invalid:${e}`);return n}a(Qb,"entityIdentities");function qb(e){let t=Qb(e)??{},n=Object.entries(t).find(([r,o])=>r!==e.modelId&&o===e.applicationId);if(n!=null)throw new TypeError(`identity-alias:${e.entity}:${e.modelId}:${n[0]}`);let i=Jb(e);if(i!=null&&i!==e.applicationId)throw new TypeError(`identity-rebound:${e.entity}:${e.modelId}`);return{...e.registry,[e.entity]:{...t,[e.modelId]:e.applicationId}}}a(qb,"registerIdentity");function Js(e){return Cn.parse(e.identities)}a(Js,"registryFromReferences");function Vn(e){return Uh.parse(e)}a(Vn,"identityValue");function Fh(e){return Object.values(e.getTypeMap()).filter(t=>j(t)||M(t)).flatMap(t=>Object.values(t.getFields()).flatMap(n=>{let i=it({name:"referenceValue",node:n,schema:e,validator:wb});return i==null?[]:[{field:n,name:i.name,parent:t.name}]}))}a(Fh,"referenceDeclarations");function Yb({entity:e,modelId:t,references:n,schema:i,value:r}){if(!st(r))throw new TypeError(`entity-value-not-object:${e.type.name}`);let o=qb({applicationId:Vn(r[e.identity.id]),entity:e.type.name,modelId:t,registry:Js(n)});return Fh(i).filter(s=>s.parent===e.type.name).reduce((s,{field:c,name:u})=>{let l=r[c.name];if(l===void 0)throw new TypeError(`entity-field-missing:${e.type.name}.${c.name}`);return{...s,[u]:{...UE(s[u]),[t]:l}}},{...n,identities:o})}a(Yb,"bindEntity");function UE(e){if(e===void 0)return{};if(!st(e))throw new TypeError("reference-value-is-not-record");return e}a(UE,"keyedValues");var Ch="identities";function Kb({operation:e,references:t}){let n=Object.fromEntries(Object.entries(t).filter(([i])=>i!==Ch));return FE({operation:e,value:n})}a(Kb,"bindingReferences");function FE({operation:e,value:t}){return new Proxy(t,{get:a((n,i,r)=>{if(i===Ch)throw new TypeError(Zb(e));return Reflect.get(n,i,r)},"get")})}a(FE,"refusingIdentities");function Qs({references:e,schema:t}){return{...Object.fromEntries(Fh(t).map(i=>[i.name,{}])),[Ch]:{},...e}}a(Qs,"initialReferences");function Wb(e){switch(e.kind){case"network":return"The request did not reach the application.";case"http":return`The request returned status ${String(e.status)}.`;case"not-json":return"The response was not JSON."}}a(Wb,"renderReadFailure");var cr=class extends Error{constructor(n){super(Wb(n));this.readFailure=n;this.name=im}static{a(this,"ReadFailureError")}};var ex=Symbol.for("ripplo.last-transient-fetch-failure"),Xb=Symbol.for("ripplo.fetch-monitored"),CE=f.strictObject({at:f.number(),failure:mn});function tx(){if(Reflect.get(globalThis,Xb)===globalThis.fetch)return;let e=globalThis.fetch.bind(globalThis),t=a(async(...n)=>{let i=await e(...n).catch(r=>{throw Hb({kind:"network"}),r});return Hb({kind:"http",status:i.status}),i},"monitored");Reflect.set(globalThis,"fetch",t),Reflect.set(globalThis,Xb,t)}a(tx,"installFetchMonitor");function rx(e){let t=CE.optional().parse(Reflect.get(globalThis,ex));return t!=null&&t.at>=e?t.failure:void 0}a(rx,"transientFailureSince");function Hb(e){cm(e)&&Reflect.set(globalThis,ex,{at:performance.now(),failure:e})}a(Hb,"recordFailure");var VE=f.custom(e=>typeof e=="function");function Vh({arguments:e,operation:t,resolvers:n}){let i=n[t];if(i===void 0)throw new We([{arguments:e,kind:"missing",operation:t}]);return VE.parse(i)}a(Vh,"requireResolver");async function nx(e){let{context:t,invoke:n,operation:i,runtime:r}=e,o=Vh({arguments:e.arguments,operation:i,resolvers:r.module.resolvers}),s={...t,references:Kb({operation:i,references:t.references})};r.trace({kind:"started",operation:i,token:t.run.token});let c=performance.now(),u=await Promise.resolve().then(()=>n(o,s)).catch(p=>{throw ME({error:p,operation:i,startedAt:c})}),{value:l}=ZE({operation:i,returned:u});return r.trace({durationMs:performance.now()-c,kind:"returned",operation:i,token:t.run.token}),l}a(nx,"callResolver");function ME({error:e,operation:t,startedAt:n}){let i=rx(n);if(i!=null)return new cr(i);let r=ki(e);return new We([{kind:"execution-failed",message:r.kind==="error"?r.message:r.value,operation:t}])}a(ME,"executionFailure");function ZE({operation:e,returned:t}){let n=yt.safeParse(t);if(n.success)return{value:n.data};let i=Mb(n.error.issues.map(r=>r.message));throw new We([{issues:[i],kind:"invalid-output",operation:e}])}a(ZE,"jsonReturn");function qs({schema:e,type:t}){return t.getValues().map(n=>{let i=it({name:"value",node:n,schema:e,validator:kb});return{application:n.name,model:i==null?n.name:i.value}})}a(qs,"enumValues");function ix(e){return Object.fromEntries(e.operation.field.args.flatMap(t=>{let n=e.arguments[t.name];if(n===void 0){if(!A(t.type)||t.defaultValue!==void 0)return[];throw new TypeError(`operation-argument-missing:${t.name}`)}let i=Ys({node:t,registry:e.registry,schema:e.schema,type:t.type,value:n});return[[t.name,i.value]]}))}a(ix,"applicationArguments");function Ys(e){return e.value===null?{value:null}:A(e.type)?Ys({...e,type:e.type.ofType}):J(e.type)?GE(e):BE(e)}a(Ys,"mapArgument");function GE(e){if(!J(e.type)||!Array.isArray(e.value))throw new TypeError("operation-input-list-invalid");let t=e.type.ofType;return{value:e.value.map(n=>Ys({...e,type:t,value:n}).value)}}a(GE,"mapInputList");function BE(e){let t=it({name:"reference",node:e.node,schema:e.schema,validator:Vs});if(t!=null)return{value:Bb({entity:t.entity,modelId:Vn(e.value),registry:e.registry})};if(te(e.type)){let n=qs({schema:e.schema,type:e.type}).find(i=>i.model===e.value);if(n==null)throw new TypeError("operation-input-enum-invalid");return{value:n.application}}return V(e.type)?JE(e):{value:e.value}}a(BE,"mapLeafArgument");function JE(e){if(!V(e.type)||!st(e.value))throw new TypeError("operation-input-object-invalid");let t=e.value,n=e.type.getFields();return{value:Object.fromEntries(Object.entries(t).map(([i,r])=>{let o=n[i];if(o==null)throw new TypeError(`operation-input-field-unknown:${i}`);return[i,Ys({...e,node:o,type:o.type,value:r}).value]}))}}a(JE,"mapInputObject");function Ks({schema:e,type:t}){let n=Mh({schema:e,type:t});if(n==null)throw new TypeError(`entity-metadata-missing:${String(t)}`);let[i]=QE({entity:n,schema:e});if(i!=null)throw new TypeError(`entity-${i.role}-invalid:${n.type.name}:${i.field}`);return n}a(Ks,"requireEntity");function Mh({schema:e,type:t}){let n=le(t);if(!j(n))return;let i=it({name:"entity",node:n,schema:e,validator:Nb});return i==null?void 0:{identity:i,type:n}}a(Mh,"readEntity");function QE({entity:e,schema:t}){let{identity:n,type:i}=e,r=i.getFields(),o=r[n.id],c=o!=null&&A(o.type)&&xe(o.type.ofType)?[]:[{field:n.id,role:"id"}],u=Object.values(r).flatMap(l=>{let p=le(l.type);return[...l.name===n.id||Ar({name:"referenceValue",node:l,schema:t})?[]:[{field:l.name,role:"undeclared"}],...xe(p)||te(p)?[]:[{field:l.name,role:"composite"}],...l.args.length===0?[]:[{field:l.name,role:"arguments"}]]});return[...c,...u]}a(QE,"entityFieldProblems");var Zh="value",ox=new WeakMap;function Ws(e){let t=ox.get(e);if(t!=null)return t;let n=qE(e).match(i=>i,i=>{throw new TypeError(`seed-tree-invalid:${i.map(r=>r.kind).join(",")}`)});return ox.set(e,n),n}a(Ws,"seedTree");function qE(e){let t=Gs(e).reduce((n,i)=>YE(i).andThen(r=>Bh({leaf:r,path:i.setup.path,tree:n.tree})).match(r=>({issues:n.issues,tree:r}),r=>({issues:[...n.issues,...r],tree:n.tree})),{issues:[],tree:ax});return t.issues.length>0?ze(t.issues):rt(t.tree)}a(qE,"readSeedTree");var ax={fields:{},kind:"object"};function Gh(e){let[t,...n]=e.field.args;return t?.name===Zh&&n.length===0?t:void 0}a(Gh,"valueArgument");function YE(e){let t=Gh(e);return t==null?ze([{kind:"setup-arguments-invalid",setup:e.id}]):rt({kind:e.setup.kind,operation:e,value:t})}a(YE,"seedLeaf");function Bh({leaf:e,path:t,tree:n}){let[i,...r]=t;if(i==null)throw new TypeError(`setup-path-empty:${e.operation.id}`);let o=Object.hasOwn(n.fields,i)?n.fields[i]:void 0,s=WE({existing:o,last:r.length===0,leaf:e});return s!=null?ze([s]):(o?.kind==="object"?Bh({leaf:e,path:r,tree:o}):KE({leaf:e,path:r})).map(u=>({...n,fields:{...n.fields,[i]:u}}))}a(Bh,"withLeaf");function KE({leaf:e,path:t}){return t.length===0?rt(e):Bh({leaf:e,path:t,tree:ax})}a(KE,"nested");function WE({existing:e,last:t,leaf:n}){let i=n.operation.id,{path:r}=n.operation.setup;if(e!=null)return e.kind==="object"?t?{kind:"setup-path-overlap",path:r,setup:i}:void 0:t?{kind:"setup-path-shared",other:e.operation.id,path:r,setup:i}:{kind:"setup-path-overlap",path:r,setup:i}}a(WE,"pathConflict");var Jh=ct,Qh=yt,sx=f.discriminatedUnion("kind",[f.strictObject({kind:em.extract(["actor"]),operation:Jh}),f.strictObject({kind:ao.shape.kind.extract(["create"]),modelId:f.string().min(1),operation:Jh,value:Qh}),f.strictObject({kind:ao.shape.kind.extract(["replace"]),operation:Jh,value:Qh})]),XE=f.strictObject({references:vr,value:Qh}),LZ=f.discriminatedUnion("kind",[XE.extend({kind:f.literal("returned")}),f.strictObject({failures:Di,kind:f.literal("binding-failed")}),f.strictObject({entity:Cn.keyType,kind:f.literal("missing-reference"),modelId:Cn.valueType.keyType}),f.strictObject({failure:mn,kind:f.literal("read-failed")}),f.strictObject({error:Xf,kind:f.literal("failed")})]);function Xs(e){switch(e.kind){case"actor":return{};case"create":case"replace":return{[Zh]:e.value}}}a(Xs,"setupCallArguments");function cx({references:e,run:t}){return{references:e,run:t,scope:{kind:"observation"}}}a(cx,"freshOperationContext");function ux({operation:e,schema:t}){let n=t.getType(e.owner.name);if(!j(n))throw new TypeError(`operation-owner-not-object:${e.owner.name}`);let i=new It({...t.toConfig(),mutation:void 0,query:n,subscription:void 0}),r=_n(HE(e)),o=ks(i,r);if(o.length>0)throw new AggregateError(o,"invalid-operation-query");return{document:r,schema:i}}a(ux,"operationDocument");function HE({field:e}){let t=e.args.map(o=>{let s=o.defaultValue===void 0?null:jt(o.defaultValue,o.type),c=s==null?"":` = ${ee(s)}`;return`$${o.name}: ${String(o.type)}${c}`}),n=e.args.map(o=>`${o.name}: $${o.name}`),i=t.length===0?"":`(${t.join(", ")})`,r=n.length===0?"":`(${n.join(", ")})`;return`query Resolve${i} { ${e.name}${r}${eO(e.type)} }`}a(HE,"renderOperationQuery");function eO(e){let t=le(e);if(de(t))return"";if(!j(t))throw new TypeError(`operation-return-type-unsupported:${t.name}`);return` { ${Object.values(t.getFields()).map(i=>{if(!de(le(i.type))||i.args.length>0)throw new TypeError(`operation-return-field-unsupported:${t.name}.${i.name}`);return i.name}).join(" ")} }`}a(eO,"returnSelection");var qh=Symbol("schema-resolver"),Yh=f.custom(e=>typeof e=="function"),tO=Yh.parse(Ln);function lx({args:e,context:t,info:n,source:i,standard:r}){if(t==null||typeof t!="object")return r(i,e,t,n);let o=Reflect.get(t,qh);return(o===void 0?r:Yh.parse(o))(i,e,t,n)}a(lx,"resolveSchemaField");function px(e){return e===void 0?tO:Yh.parse(e)}a(px,"standardSchemaResolver");async function fx({arguments:e,context:t,operation:n,runtime:i}){let r=await js({...ux({operation:n,schema:i.schema}),contextValue:{...t,[qh]:rO({operation:n,runtime:i})},rootValue:{},variableValues:e});if(r.errors!=null)throw nO({errors:r.errors,operation:n});let o=yt.parse(r.data),s=st(o)?o[n.field.name]:void 0;if(s===void 0)throw new TypeError(`operation-result-missing:${n.id}`);return s}a(fx,"executeOperation");function rO({operation:e,runtime:t}){return async(n,i,r,o)=>{let s=`${o.parentType.name}.${o.fieldName}`;if(s===e.id)return nx({arguments:i,context:r,operation:e.id,runtime:t,invoke:a((u,l)=>u(n,i,l,o),"invoke")});if(!st(n))throw new sr([Vb(s)]);let c=n[o.fieldName];if(c===void 0)throw new sr([Cb(s)]);return c}}a(rO,"operationResolver");function nO({errors:e,operation:t}){let n=e.map(u=>iO({error:u,operation:t})),i=n.find(u=>u.kind==="transient")??n.find(u=>u.kind==="invariant");if(i!=null&&i.kind!=="implementation")return i.error;let r=n.flatMap(u=>u.kind==="implementation"?u.failures:[]),o=r.flatMap(u=>u.kind==="invalid-output"?u.issues:[]),[s,...c]=[...r.filter(u=>u.kind!=="invalid-output"),...o.length===0?[]:[{issues:o,kind:"invalid-output",operation:t.id}]];if(s==null)throw new TypeError(`operation-errors-empty:${t.id}`);return new We([s,...c])}a(nO,"operationFailure");function iO({error:e,operation:t}){let n=e.originalError;return n instanceof We?{failures:n.failures,kind:"implementation"}:n instanceof cr?{error:n,kind:"transient"}:n instanceof sr?dx({issues:n.issues,operation:t}):n instanceof b?dx({issues:[n.message],operation:t}):{error:n??e,kind:"invariant"}}a(iO,"classifyError");function dx({issues:e,operation:t}){return{failures:[{issues:[...e],kind:"invalid-output",operation:t.id}],kind:"implementation"}}a(dx,"invalidOutput");async function Mn({call:e,runtime:t,target:n}){let{schema:i}=t,r=zh({id:e.operation,schema:i}),o=r.kind==="actor"?r.kind:r.setup.kind;if(o!==e.kind)throw new TypeError(`setup-operation-kind-mismatch:${e.operation}:${e.kind}:${o}`);let s=await fx({arguments:ix({arguments:Xs(e),operation:r,registry:Js(n.references),schema:i}),context:cx(n),operation:r,runtime:t});switch(e.kind){case"replace":return{references:n.references,value:s};case"actor":case"create":return{references:Yb({entity:Ks({schema:i,type:r.field.type}),modelId:e.kind==="actor"?Zs:e.modelId,references:n.references,schema:i,value:s}),value:s}}}a(Mn,"invokeSetupOperation");function mx({runtime:e,steps:t}){let n=Fn(e.schema),r=[...n==null?[]:[{arguments:{},operation:n.id}],...t.map(c=>({arguments:Xs(c),operation:c.operation}))].flatMap(c=>oO({...c,runtime:e})),[o,...s]=[...new Map(r.map(c=>[c.operation,c])).values()];if(o!=null)throw new We([o,...s])}a(mx,"requireSetupBindings");async function hx({runtime:e,steps:t,target:n}){return t.reduce(async(i,r)=>aO({runtime:e,step:r,target:await i}),Promise.resolve(n)).catch(Bs("written"))}a(hx,"executeSetup");function oO({arguments:e,operation:t,runtime:n}){try{return Vh({arguments:e,operation:t,resolvers:n.module.resolvers}),[]}catch(i){if(i instanceof We)return i.failures;throw i}}a(oO,"missingBinding");async function aO({runtime:e,step:t,target:n}){let i=await Mn({call:t,runtime:e,target:n});return{...n,references:i.references}}a(aO,"executeStep");var tc=sg(gx(),1);function uo(e){let{node:t,schema:n,type:i,value:r}=e;if(r===null)return[];if(A(i))return uo({...e,type:i.ofType});if(J(i)){if(!Array.isArray(r))throw new TypeError("identity-dependency-list-invalid");return r.flatMap(s=>uo({...e,type:i.ofType,value:s}))}let o=it({name:"reference",node:t,schema:n,validator:Vs});return o!=null?[{entity:o.entity,modelId:Vn(r)}]:V(i)?sO({schema:n,type:i,value:r}):[]}a(uo,"referenceDependencies");function sO({schema:e,type:t,value:n}){if(!st(n))throw new TypeError("identity-dependency-object-invalid");let i=t.getFields();return Object.entries(n).flatMap(([r,o])=>{let s=i[r];if(s==null)throw new TypeError(`identity-dependency-field-missing:${r}`);return uo({node:s,schema:e,type:s.type,value:o})})}a(sO,"fieldDependencies");function yx({schema:e,steps:t}){let n=t.map(o=>cO({schema:e,step:o})),i=uO(e),r=new tc.DepGraph;return n.forEach((o,s)=>{r.addNode(String(s),o.step)}),n.forEach((o,s)=>{lO({actor:i,task:o,tasks:n}).forEach(c=>{r.addDependency(String(s),String(c))})}),pO(r).map(o=>r.getNodeData(o))}a(yx,"orderedSetupSteps");function cO({schema:e,step:t}){let n=Lb({id:t.operation,schema:e}),i=Gh(n);if(i==null)throw new TypeError(`setup-value-argument-missing:${n.id}`);return{created:t.kind==="create"?{entity:Ks({schema:e,type:n.field.type}).type.name,modelId:t.modelId}:void 0,dependencies:uo({node:i,schema:e,type:i.type,value:t.value}),step:t}}a(cO,"setupTask");function uO(e){let{actor:t}=so(e);return t==null?void 0:{entity:t.type.name,modelId:Zs}}a(uO,"actorIdentity");function lO({actor:e,task:t,tasks:n}){return t.dependencies.flatMap(i=>{let r=ji(i),o=n.findIndex(s=>s.created!=null&&ji(s.created)===r);if(o!==-1)return[o];if(e==null||ji(e)!==r)throw new TypeError(`setup-reference-unbound:${i.entity}:${i.modelId}`);return[]})}a(lO,"prerequisites");function pO(e){try{return e.overallOrder()}catch(t){throw t instanceof tc.DepGraphCycleError?new TypeError(`setup-reference-dependency-cycle:${t.cyclePath.join(",")}`):t}}a(pO,"topologicalOrder");function bx({schema:e,seed:t}){return xx({node:Ws(e),path:[],value:t})}a(bx,"setupPlan");function xx({node:e,path:t,value:n}){switch(e.kind){case"replace":return[{kind:"replace",operation:e.operation.id,path:t,value:n}];case"create":return Object.entries(vx({path:t,value:n})).map(([i,r])=>({kind:"create",modelId:i,operation:e.operation.id,path:t,value:r}));case"object":{let i=vx({path:t,value:n});return Object.entries(e.fields).flatMap(([r,o])=>{let s=Object.hasOwn(i,r)?i[r]:void 0;if(s===void 0)throw new TypeError(`seed-path-missing:${[...t,r].join(".")}`);return xx({node:o,path:[...t,r],value:s})})}}}a(xx,"nodeSteps");function vx({path:e,value:t}){if(!st(t))throw new TypeError(`seed-path-not-object:${e.join(".")}`);return t}a(vx,"seedObject");function _x({field:e,parent:t}){let n=e.astNode?.name.value;if(n==null||t==null||!j(t)&&!M(t))return[e];let i=Wh({interfaces:t.getInterfaces(),name:n,seen:[]});return[e,...i]}a(_x,"fieldSources");function rc({argument:e,field:t,parent:n}){if(!j(n)&&!M(n))throw new TypeError("argument-parent-is-not-object");let i=Wh({interfaces:n.getInterfaces(),name:t.name,seen:[]});return[e,...i.flatMap(r=>r.args.filter(o=>o.name===e.name))]}a(rc,"argumentSources");function Wh({interfaces:e,name:t,seen:n}){return e.flatMap(i=>{if(n.includes(i.name))throw new TypeError(`constraint-interface-cycle:${i.name}`);let r=i.getFields()[t];return[...r==null?[]:[r],...Wh({interfaces:i.getInterfaces(),name:t,seen:[...n,i.name]})]})}a(Wh,"inheritedFields");var Xh=f.strictObject({max:f.number().optional(),maxLength:f.number().int().nonnegative().optional(),min:f.number().optional(),minLength:f.number().int().nonnegative().optional()}).refine(e=>e.min==null||e.max==null||e.min<=e.max,{error:Rb}).refine(e=>e.minLength==null||e.maxLength==null||e.minLength<=e.maxLength,{error:jb});function nc(e){switch(e){case"String":return f.string();case"Int":return Hh("Int");case"Float":return Hh("Float");case"Boolean":return f.boolean();case"ID":return f.union([f.string(),f.number().int()]);case"Date":return f.iso.date();case"DateTime":return f.iso.datetime({offset:!0})}throw new TypeError(Db(e))}a(nc,"scalarValidator");function Hh(e){return e==="Int"?f.number().int().min(-2147483648).max(2147483647):f.number()}a(Hh,"numberValidator");function Sx({bounds:e,name:t}){if(t==="String")return dO(e);if(t==="Int"||t==="Float")return fO({bounds:e,name:t});throw new TypeError(Un(t))}a(Sx,"fieldScalarValidator");function dO(e){if(e.min!=null||e.max!=null)throw new TypeError(Un("String"));let t=e.minLength==null?f.string():f.string().min(e.minLength);return e.maxLength==null?t:t.max(e.maxLength)}a(dO,"boundedString");function fO({bounds:e,name:t}){if(e.minLength!=null||e.maxLength!=null)throw new TypeError(Un(t));let n=Hh(t),i=e.min==null?n:n.min(e.min);return e.max==null?i:i.max(e.max)}a(fO,"boundedNumber");function Gn({fields:e,schema:t}){let n=e[0];if(n==null)throw new TypeError("scalar-field-declaration-missing");let i=le(n.type),r=e.flatMap(o=>{let s=it({name:"constraint",node:o,schema:t,validator:Xh});return s==null?[]:[s]});if(!xe(i)){if(r.length>0)throw new TypeError(Un(i.name));return}return r.length===0?nc(i.name):Sx({bounds:mO(r),name:i.name})}a(Gn,"scalarFieldValidator");function mO(e){return Xh.parse({max:e.flatMap(t=>t.max==null?[]:[t.max]).toSorted((t,n)=>t-n).at(0),maxLength:e.flatMap(t=>t.maxLength==null?[]:[t.maxLength]).toSorted((t,n)=>t-n).at(0),min:e.flatMap(t=>t.min==null?[]:[t.min]).toSorted((t,n)=>n-t).at(0),minLength:e.flatMap(t=>t.minLength==null?[]:[t.minLength]).toSorted((t,n)=>n-t).at(0)})}a(mO,"combinedBounds");var Ex=Cn.valueType.keyType,Tx=new WeakMap;function Ox(e){let t=Tx.get(e);if(t!=null)return t;let n=Nx({inputs:hO(e),node:Ws(e)}).pipe(vr);return Tx.set(e,n),n}a(Ox,"seedValidator");function hO(e){let t={schema:e,validatorOf:a(i=>{let r=n.get(i.name);if(r==null)throw new TypeError(`seed-input-type-unknown:${i.name}`);return r},"validatorOf")},n=new Map(Object.values(e.getTypeMap()).filter(i=>V(i)).map(i=>[i.name,f.lazy(()=>gO({inputs:t,type:i}))]));return t}a(hO,"inputValidators");function Nx({inputs:e,node:t}){switch(t.kind){case"object":return f.strictObject(Object.fromEntries(Object.entries(t.fields).map(([n,i])=>[n,Nx({inputs:e,node:i})])));case"replace":return $x({inputs:e,leaf:t});case"create":return f.record(Ex,$x({inputs:e,leaf:t}))}}a(Nx,"nodeValidator");function $x({inputs:e,leaf:t}){let{operation:n,value:i}=t;return eg({fields:rc({argument:i,field:n.field,parent:n.owner}),inputs:e,node:i,type:i.type})}a($x,"leafValidator");function eg(e){return A(e.type)?Ix({...e,type:e.type.ofType}):Ix(e).nullable()}a(eg,"valueValidator");function Ix(e){let{fields:t,inputs:n,node:i,type:r}=e;if(J(r))return f.array(eg({...e,type:r.ofType}));if(Ar({name:"reference",node:i,schema:n.schema}))return Ex;if(V(r))return n.validatorOf(r);if(te(r))return f.enum(qs({schema:n.schema,type:r}).map(s=>s.model));let o=Gn({fields:t,schema:n.schema});if(o==null)throw new TypeError(`seed-scalar-validator-missing:${String(r)}`);return o}a(Ix,"presentValidator");function gO({inputs:e,type:t}){return f.strictObject(Object.fromEntries(Object.values(t.getFields()).map(n=>{let i=eg({fields:[n],inputs:e,node:n,type:n.type}),r=A(n.type)&&n.defaultValue===void 0;return[n.name,r?i:i.optional()]})))}a(gO,"inputObjectValidator");async function kx({runtime:e,target:t}){let{schema:n}=e,i=Qs({references:t.references,schema:n}),r=Fn(n);if(r==null)return{...t,references:i};let o=await Mn({call:{kind:"actor",operation:r.id},runtime:e,target:{...t,references:i}});return{...t,references:o.references}}a(kx,"bootstrapReferences");var wx=f.strictObject({references:vr,run:hn});var Dx=f.strictObject({call:sx,target:wx});async function Rx({request:e,runtime:t}){try{let n=Dx.parse(JSON.parse(e));return{...await Mn({call:n.call,runtime:t,target:{...n.target,references:Qs({references:n.target.references,schema:t.schema})}}),kind:"returned"}}catch(n){return yO(n)}}a(Rx,"callSingleOperation");function yO(e){return e instanceof co?{...e.identity,kind:"missing-reference"}:e instanceof We?{failures:e.failures,kind:"binding-failed"}:e instanceof cr?{failure:e.readFailure,kind:"read-failed"}:{error:ki(e),kind:"failed"}}a(yO,"operationFailure");function jx(e){return{operation:a(t=>Rx({request:t,runtime:e}),"operation"),setup:a(t=>vO({request:t,runtime:e}),"setup")}}a(jx,"createSchemaBinding");async function vO({request:e,runtime:t}){let{schema:n}=t,i=Ox(n).parse(e.seed),r=yx({schema:n,steps:bx({schema:n,seed:i})}),o=await bO({runtime:t,steps:r,target:e.target}).catch(Bs("unwritten"));return(await hx({runtime:t,steps:r,target:o})).references}a(vO,"setupBinding");async function bO({runtime:e,steps:t,target:n}){return mx({runtime:e,steps:t}),kx({runtime:e,target:n})}a(bO,"signedInTarget");function Ax({coordinate:e,fields:t,schema:n}){try{Gn({fields:t,schema:n})}catch(i){throw new TypeError(`${e}: ${xO(i)}`,{cause:i})}}a(Ax,"requireScalarDeclaration");function xO(e){return e instanceof f.ZodError?e.issues.map(t=>t.message).join(" "):e instanceof Error?e.message:String(e)}a(xO,"thrownText");function zx({field:e,parent:t,schema:n,value:i}){let r=Mh({schema:n,type:t});if(i==null||r?.identity.id!==e.name)return[];let o=yt.parse(i);return Uh.safeParse(o).success?[]:[{value:o}]}a(zx,"identityProblems");function Lx(e){return V(e)||j(e)||M(e)?Object.values(e.getFields()):[]}a(Lx,"schemaFields");var Px=f.record(f.string(),f.unknown());function Bn(e){return A(e.type)?e.value==null?[{kind:"null"}]:Bn({...e,type:e.type.ofType}):e.value==null?[]:J(e.type)?TO({...e,type:e.type}):V(e.type)?$O({...e,type:e.type}):j(e.type)?_O({expected:e.type.name,value:e.value}):SO(e)}a(Bn,"valueProblems");function _O({expected:e,value:t}){let n=Px.safeParse(t);if(!n.success)return[{kind:"not-object"}];let i=n.data.__typename;return i===void 0||i===e?[]:[{expected:e,kind:"typename",typename:JSON.stringify(i)}]}a(_O,"typenameProblems");function SO(e){let t=Gn(e)?.safeParse(e.value);return t==null||t.success?[]:[{kind:"scalar",messages:t.error.issues.map(n=>n.message)}]}a(SO,"scalarProblems");function TO(e){if(!Array.isArray(e.value))return[{kind:"not-list"}];let t=e.type.ofType;return e.value.flatMap(n=>Bn({...e,type:t,value:n}))}a(TO,"listProblems");function $O(e){let t=Px.safeParse(e.value);if(!t.success)return[{kind:"not-object"}];let n=t.data;return Lx(e.type).flatMap(i=>Bn({fields:[i],schema:e.schema,type:i.type,value:n[i.name]}))}a($O,"inputProblems");function Ux({field:e,parent:t,schema:n,standard:i}){let r=_x({field:e,parent:t}),o=`${t.name}.${e.name}`;return Ax({coordinate:o,fields:r,schema:n}),async(s,c,u,l)=>{e.args.forEach(x=>{let k=Bn({fields:rc({argument:x,field:e,parent:t}),schema:n,type:x.type,value:c[x.name]}),[z]=k;if(z!=null)throw new TypeError(Lh(`${o}(${x.name})`,z))});let p=await lx({args:c,context:u,info:l,source:s,standard:i}),d=Bn({fields:r,schema:n,type:e.type,value:p}).map(x=>Lh(o,x)),m=d.length>0?d:zx({field:e,parent:t,schema:n,value:p}).map(x=>Fb(o,x)),[g,...y]=m;if(g!=null)throw new sr([g,...y]);return p}}a(Ux,"validatedFieldResolver");function Fx({name:e,scalar:t,validator:n}){return new we({...t.toConfig(),name:e,parseLiteral:a((i,r)=>n.parse(t.parseLiteral(i,r)),"parseLiteral"),parseValue:a(i=>n.parse(t.parseValue(i)),"parseValue"),serialize:a(i=>wi.parse(t.serialize(n.parse(i))),"serialize")})}a(Fx,"validatedScalar");var Cx="directive @constraint(min: Float, max: Float, minLength: Int, maxLength: Int) on FIELD_DEFINITION | INPUT_FIELD_DEFINITION | ARGUMENT_DEFINITION";function Vx(e){return $b(e,{[K.OBJECT_FIELD]:(t,n,i)=>{let r=e.getType(i),o=j(r)?r.getFields()[n]:void 0;if(o==null||!j(r))throw new TypeError(`schema-field-declaration-missing:${i}.${n}`);return{...t,resolve:Ux({field:o,parent:r,schema:e,standard:px(t.resolve)})}},[K.SCALAR_TYPE]:t=>t.name!=="Date"&&t.name!=="DateTime"?t:Fx({name:t.name,scalar:t,validator:nc(t.name)})})}a(Vx,"constrainSchema");function Mx(e){return Vx(IO(e))}a(Mx,"buildBindingSchema");var Zx=`${Cx}
130
- ${Ob}
131
- `,zJ=Zx.split(`
132
- `).length-1;function IO(e){return zs(`${Zx}${e}`)}a(IO,"buildContractSchema");function Gx({module:e,source:t}){tx(),Reflect.set(globalThis,hm,jx({module:e,schema:Mx(t),trace:EO}))}a(Gx,"installBindings");function EO(e){globalThis.dispatchEvent(new CustomEvent(um,{detail:e}))}a(EO,"dispatchQuery");return Wx(OO);})();
129
+ `,Jx=f.strictObject({id:f.string().min(1)}),qs=f.strictObject({entity:f.string().min(1)}),Qx=f.strictObject({value:f.string()}),qx=f.strictObject({name:f.string().min(1)}),lo=f.strictObject({kind:f.enum(["create","replace"]),path:f.array(f.string().min(1)).min(1)});function it(e){let t=Zh(e.schema,e.node,e.name)?.[0];return t==null?void 0:e.validator.parse(t)}a(it,"readDirective");function Pr(e){return Zh(e.schema,e.node,e.name)?.[0]!=null}a(Pr,"hasDirective");function Yx(e){return`Declare a supported representation for scalar ${e}.`}a(Yx,"renderUnknownScalar");function Mn(e){return`The constraints do not apply to ${e}. String takes minLength and maxLength. Int and Float take min and max. No other type takes a constraint.`}a(Mn,"renderInvalidConstraint");var Kx="The constraint min is above its max.",Wx="The constraint minLength is above its maxLength.";function Hx(e){return`The schema operation ${e} does not exist.`}a(Hx,"renderMissingOperation");var Ks="actor",Ys="actor";function po(e){return tO(e).match(t=>t,t=>{throw new TypeError(`schema-layout-invalid:${t.map(n=>n.kind).join(",")}`)})}a(po,"schemaLayout");function tO(e){let t=rO(e),n=[...t.issues,...nO(e),...iO(e),...oO(e)];return n.length>0?Le(n):rt({actor:t.root,mutation:e.getMutationType()??void 0})}a(tO,"readSchemaLayout");function rO(e){let t=e.getQueryType(),n=t?.getFields()[Ys];if(t==null||n==null)return{issues:[],root:void 0};let i=j(n.type)?n.type.ofType:void 0,r=n.args.length===0?[]:[{field:Ys,kind:"root-field-arguments"}];return!A(i)||!Pr({name:"entity",node:i,schema:e})?{issues:[...r,{field:Ys,kind:"root-field-type"}],root:void 0}:{issues:r,root:{field:n,query:t,type:i}}}a(rO,"actorRoot");function nO(e){return Object.keys(e.getQueryType()?.getFields()??{}).filter(t=>t!==Ys).map(t=>({field:t,kind:"root-field-unexpected"}))}a(nO,"unexpectedQueryFields");function iO(e){return e.getSubscriptionType()==null?[]:[{kind:"subscription-present"}]}a(iO,"subscriptionIssues");function oO(e){return Object.values(e.getMutationType()?.getFields()??{}).filter(t=>!Pr({name:"setup",node:t,schema:e})).map(t=>({field:t.name,kind:"mutation-field-not-setup"}))}a(oO,"mutationIssues");var Xx=new WeakMap;function aO(e){let t=Xx.get(e);if(t!=null)return t;let n=[...tb(e),...Ws(e)];return Xx.set(e,n),n}a(aO,"schemaOperations");function Ws(e){let{mutation:t}=po(e);return t==null?[]:Object.values(t.getFields()).map(n=>sO({field:n,owner:t,schema:e}))}a(Ws,"setupOperationsOf");function Zn(e){return tb(e)[0]}a(Zn,"actorOperation");function Bh(e){let t=aO(e.schema).find(n=>n.id===e.id);if(t==null)throw new TypeError(Hx(e.id));return t}a(Bh,"requireOperation");function eb(e){let t=Bh(e);if(t.kind!=="setup")throw new TypeError(`operation-not-setup:${e.id}`);return t}a(eb,"requireSetupOperation");function tb(e){let{actor:t}=po(e);return t==null?[]:[{field:t.field,id:rb({field:t.field,owner:t.query}),kind:"actor",owner:t.query}]}a(tb,"actorOperations");function sO({field:e,owner:t,schema:n}){let i=it({name:"setup",node:e,schema:n,validator:lo});if(i==null)throw new TypeError(`setup-operation-metadata-missing:${t.name}.${e.name}`);return{field:e,id:rb({field:e,owner:t}),kind:"setup",owner:t,setup:i}}a(sO,"setupOperation");function rb({field:e,owner:t}){return ct.parse(`${t.name}.${e.name}`)}a(rb,"operationId");function Jh(e,t){switch(t.kind){case"null":return`${e} is null, but the schema requires a value.`;case"not-list":return`${e} is not a list.`;case"not-object":return`${e} is not an object.`;case"scalar":return`${e} is invalid: ${t.messages.join(" ")}`;case"typename":return`${e} has __typename ${t.typename}, but the schema requires ${t.expected}.`}}a(Jh,"renderValueProblem");function nb(e,t){return`${e} holds ${JSON.stringify(t.value)}, which is not a usable ID. Use a nonempty string or an integer.`}a(nb,"renderIdentityProblem");function ib(e){return`The returned object has no ${e} field.`}a(ib,"renderMissingReturnedField");function ob(e){return`${e} cannot be read because the returned value is not an object.`}a(ob,"renderReturnedParentNotObject");function ab(e){return`The returned value is not JSON: ${e.join(" ")}`}a(ab,"renderNonJsonReturn");function sb(e){return`${e} cannot read facts.references.identities. No binding sees the ids setup created. Reference arguments arrive as the application's own ids.`}a(sb,"renderHiddenIdentities");var We=class extends Error{constructor(n){super(cb(n));this.failures=n;this.name=cm}static{a(this,"BindingError")}},Qh=class extends Error{constructor(n,i){super(`${cb(n)} (${i})`);this.failures=n;this.written=i;this.name=um}static{a(this,"SetupBindingError")}};function Hs(e){return t=>{throw t instanceof We?new Qh(t.failures,e):t}}a(Hs,"setupFailure");function cb(e){return e.map(t=>`${t.kind}: ${t.operation}`).join(", ")}a(cb,"renderFailures");var lr=class extends Error{constructor(n){super(n.join(" "));this.issues=n;this.name="SchemaOutputValidationError"}static{a(this,"OutputValidationError")}};var Gn=f.record(f.string().min(1),f.record(f.string().min(1),f.string().min(1))),qh=f.union([f.string().min(1),f.number().int()]).transform(String);function ub({entity:e,modelId:t,registry:n}){let i=lb({entity:e,modelId:t,registry:n});if(i==null)throw new fo({entity:e,modelId:t});return i}a(ub,"applicationId");var fo=class extends Error{constructor(n){super(`identity-unbound:${n.entity}:${n.modelId}`);this.identity=n;this.name="MissingIdentityError"}static{a(this,"MissingIdentityError")}};function lb({entity:e,modelId:t,registry:n}){let i=pb({entity:e,registry:n});if(i===void 0||!Object.hasOwn(i,t))return;let r=i[t];if(r===void 0)throw new TypeError(`identity-entry-invalid:${e}:${t}`);return r}a(lb,"knownIdentity");function pb({entity:e,registry:t}){if(!Object.hasOwn(t,e))return;let n=t[e];if(n===void 0)throw new TypeError(`identity-entity-invalid:${e}`);return n}a(pb,"entityIdentities");function db(e){let t=pb(e)??{},n=Object.entries(t).find(([r,o])=>r!==e.modelId&&o===e.applicationId);if(n!=null)throw new TypeError(`identity-alias:${e.entity}:${e.modelId}:${n[0]}`);let i=lb(e);if(i!=null&&i!==e.applicationId)throw new TypeError(`identity-rebound:${e.entity}:${e.modelId}`);return{...e.registry,[e.entity]:{...t,[e.modelId]:e.applicationId}}}a(db,"registerIdentity");function Xs(e){return Gn.parse(e.identities)}a(Xs,"registryFromReferences");function Bn(e){return qh.parse(e)}a(Bn,"identityValue");function Yh(e){return Object.values(e.getTypeMap()).filter(t=>A(t)||M(t)).flatMap(t=>Object.values(t.getFields()).flatMap(n=>{let i=it({name:"referenceValue",node:n,schema:e,validator:qx});return i==null?[]:[{field:n,name:i.name,parent:t.name}]}))}a(Yh,"referenceDeclarations");function fb({entity:e,modelId:t,references:n,schema:i,value:r}){if(!st(r))throw new TypeError(`entity-value-not-object:${e.type.name}`);let o=db({applicationId:Bn(r[e.identity.id]),entity:e.type.name,modelId:t,registry:Xs(n)});return Yh(i).filter(s=>s.parent===e.type.name).reduce((s,{field:c,name:u})=>{let l=r[c.name];if(l===void 0)throw new TypeError(`entity-field-missing:${e.type.name}.${c.name}`);return{...s,[u]:{...cO(s[u]),[t]:l}}},{...n,identities:o})}a(fb,"bindEntity");function cO(e){if(e===void 0)return{};if(!st(e))throw new TypeError("reference-value-is-not-record");return e}a(cO,"keyedValues");var Kh="identities";function mb({operation:e,references:t}){let n=Object.fromEntries(Object.entries(t).filter(([i])=>i!==Kh));return uO({operation:e,value:n})}a(mb,"bindingReferences");function uO({operation:e,value:t}){return new Proxy(t,{get:a((n,i,r)=>{if(i===Kh)throw new TypeError(sb(e));return Reflect.get(n,i,r)},"get")})}a(uO,"refusingIdentities");function ec({references:e,schema:t}){return{...Object.fromEntries(Yh(t).map(i=>[i.name,{}])),[Kh]:{},...e}}a(ec,"initialReferences");function hb(e){switch(e.kind){case"network":return"The request did not reach the application.";case"http":return`The request returned status ${String(e.status)}.`;case"not-json":return"The response was not JSON."}}a(hb,"renderReadFailure");var pr=class extends Error{constructor(n){super(hb(n));this.readFailure=n;this.name=pm}static{a(this,"ReadFailureError")}};var vb=Symbol.for("ripplo.last-transient-fetch-failure"),gb=Symbol.for("ripplo.fetch-monitored"),lO=f.strictObject({at:f.number(),failure:yn});function xb(){if(Reflect.get(globalThis,gb)===globalThis.fetch)return;let e=globalThis.fetch.bind(globalThis),t=a(async(...n)=>{let i=await e(...n).catch(r=>{throw yb({kind:"network"}),r});return yb({kind:"http",status:i.status}),i},"monitored");Reflect.set(globalThis,"fetch",t),Reflect.set(globalThis,gb,t)}a(xb,"installFetchMonitor");function bb(e){let t=lO.optional().parse(Reflect.get(globalThis,vb));return t!=null&&t.at>=e?t.failure:void 0}a(bb,"transientFailureSince");function yb(e){hm(e)&&Reflect.set(globalThis,vb,{at:performance.now(),failure:e})}a(yb,"recordFailure");var pO=f.custom(e=>typeof e=="function");function Wh({arguments:e,operation:t,resolvers:n}){let i=n[t];if(i===void 0)throw new We([{arguments:e,kind:"missing",operation:t}]);return pO.parse(i)}a(Wh,"requireResolver");async function _b(e){let{context:t,invoke:n,operation:i,runtime:r}=e,o=Wh({arguments:e.arguments,operation:i,resolvers:r.module.resolvers}),s={...t,references:mb({operation:i,references:t.references})};r.trace({kind:"started",operation:i,token:t.run.token});let c=performance.now(),u=await Promise.resolve().then(()=>n(o,s)).catch(p=>{throw dO({error:p,operation:i,startedAt:c})}),{value:l}=fO({operation:i,returned:u});return r.trace({durationMs:performance.now()-c,kind:"returned",operation:i,token:t.run.token}),l}a(_b,"callResolver");function dO({error:e,operation:t,startedAt:n}){let i=bb(n);if(i!=null)return new pr(i);let r=Ai(e);return new We([{kind:"execution-failed",message:r.kind==="error"?r.message:r.value,operation:t}])}a(dO,"executionFailure");function fO({operation:e,returned:t}){let n=yt.safeParse(t);if(n.success)return{value:n.data};let i=ab(n.error.issues.map(r=>r.message));throw new We([{issues:[i],kind:"invalid-output",operation:e}])}a(fO,"jsonReturn");function tc({schema:e,type:t}){return t.getValues().map(n=>{let i=it({name:"value",node:n,schema:e,validator:Qx});return{application:n.name,model:i==null?n.name:i.value}})}a(tc,"enumValues");function Sb(e){return Object.fromEntries(e.operation.field.args.flatMap(t=>{let n=e.arguments[t.name];if(n===void 0){if(!j(t.type)||t.defaultValue!==void 0)return[];throw new TypeError(`operation-argument-missing:${t.name}`)}let i=rc({node:t,registry:e.registry,schema:e.schema,type:t.type,value:n});return[[t.name,i.value]]}))}a(Sb,"applicationArguments");function rc(e){return e.value===null?{value:null}:j(e.type)?rc({...e,type:e.type.ofType}):J(e.type)?mO(e):hO(e)}a(rc,"mapArgument");function mO(e){if(!J(e.type)||!Array.isArray(e.value))throw new TypeError("operation-input-list-invalid");let t=e.type.ofType;return{value:e.value.map(n=>rc({...e,type:t,value:n}).value)}}a(mO,"mapInputList");function hO(e){let t=it({name:"reference",node:e.node,schema:e.schema,validator:qs});if(t!=null)return{value:ub({entity:t.entity,modelId:Bn(e.value),registry:e.registry})};if(te(e.type)){let n=tc({schema:e.schema,type:e.type}).find(i=>i.model===e.value);if(n==null)throw new TypeError("operation-input-enum-invalid");return{value:n.application}}return V(e.type)?gO(e):{value:e.value}}a(hO,"mapLeafArgument");function gO(e){if(!V(e.type)||!st(e.value))throw new TypeError("operation-input-object-invalid");let t=e.value,n=e.type.getFields();return{value:Object.fromEntries(Object.entries(t).map(([i,r])=>{let o=n[i];if(o==null)throw new TypeError(`operation-input-field-unknown:${i}`);return[i,rc({...e,node:o,type:o.type,value:r}).value]}))}}a(gO,"mapInputObject");function nc({schema:e,type:t}){let n=Hh({schema:e,type:t});if(n==null)throw new TypeError(`entity-metadata-missing:${String(t)}`);let[i]=yO({entity:n,schema:e});if(i!=null)throw new TypeError(`entity-${i.role}-invalid:${n.type.name}:${i.field}`);return n}a(nc,"requireEntity");function Hh({schema:e,type:t}){let n=le(t);if(!A(n))return;let i=it({name:"entity",node:n,schema:e,validator:Jx});return i==null?void 0:{identity:i,type:n}}a(Hh,"readEntity");function yO({entity:e,schema:t}){let{identity:n,type:i}=e,r=i.getFields(),o=r[n.id],c=o!=null&&j(o.type)&&be(o.type.ofType)?[]:[{field:n.id,role:"id"}],u=Object.values(r).flatMap(l=>{let p=le(l.type);return[...l.name===n.id||Pr({name:"referenceValue",node:l,schema:t})?[]:[{field:l.name,role:"undeclared"}],...be(p)||te(p)?[]:[{field:l.name,role:"composite"}],...l.args.length===0?[]:[{field:l.name,role:"arguments"}]]});return[...c,...u]}a(yO,"entityFieldProblems");var Xh="value",Tb=new WeakMap;function ic(e){let t=Tb.get(e);if(t!=null)return t;let n=vO(e).match(i=>i,i=>{throw new TypeError(`seed-tree-invalid:${i.map(r=>r.kind).join(",")}`)});return Tb.set(e,n),n}a(ic,"seedTree");function vO(e){let t=Ws(e).reduce((n,i)=>xO(i).andThen(r=>tg({leaf:r,path:i.setup.path,tree:n.tree})).match(r=>({issues:n.issues,tree:r}),r=>({issues:[...n.issues,...r],tree:n.tree})),{issues:[],tree:$b});return t.issues.length>0?Le(t.issues):rt(t.tree)}a(vO,"readSeedTree");var $b={fields:{},kind:"object"};function eg(e){let[t,...n]=e.field.args;return t?.name===Xh&&n.length===0?t:void 0}a(eg,"valueArgument");function xO(e){let t=eg(e);return t==null?Le([{kind:"setup-arguments-invalid",setup:e.id}]):rt({kind:e.setup.kind,operation:e,value:t})}a(xO,"seedLeaf");function tg({leaf:e,path:t,tree:n}){let[i,...r]=t;if(i==null)throw new TypeError(`setup-path-empty:${e.operation.id}`);let o=Object.hasOwn(n.fields,i)?n.fields[i]:void 0,s=_O({existing:o,last:r.length===0,leaf:e});return s!=null?Le([s]):(o?.kind==="object"?tg({leaf:e,path:r,tree:o}):bO({leaf:e,path:r})).map(u=>({...n,fields:{...n.fields,[i]:u}}))}a(tg,"withLeaf");function bO({leaf:e,path:t}){return t.length===0?rt(e):tg({leaf:e,path:t,tree:$b})}a(bO,"nested");function _O({existing:e,last:t,leaf:n}){let i=n.operation.id,{path:r}=n.operation.setup;if(e!=null)return e.kind==="object"?t?{kind:"setup-path-overlap",path:r,setup:i}:void 0:t?{kind:"setup-path-shared",other:e.operation.id,path:r,setup:i}:{kind:"setup-path-overlap",path:r,setup:i}}a(_O,"pathConflict");var rg=ct,ng=yt,Ib=f.discriminatedUnion("kind",[f.strictObject({kind:sm.extract(["actor"]),operation:rg}),f.strictObject({kind:lo.shape.kind.extract(["create"]),modelId:f.string().min(1),operation:rg,value:ng}),f.strictObject({kind:lo.shape.kind.extract(["replace"]),operation:rg,value:ng})]),SO=f.strictObject({references:_r,value:ng}),bG=f.discriminatedUnion("kind",[SO.extend({kind:f.literal("returned")}),f.strictObject({failures:Li,kind:f.literal("binding-failed")}),f.strictObject({entity:Gn.keyType,kind:f.literal("missing-reference"),modelId:Gn.valueType.keyType}),f.strictObject({failure:yn,kind:f.literal("read-failed")}),f.strictObject({error:om,kind:f.literal("failed")})]);function oc(e){switch(e.kind){case"actor":return{};case"create":case"replace":return{[Xh]:e.value}}}a(oc,"setupCallArguments");function Eb({references:e,run:t}){return{references:e,run:t,scope:{kind:"observation"}}}a(Eb,"freshOperationContext");function Ob({operation:e,schema:t}){let n=t.getType(e.owner.name);if(!A(n))throw new TypeError(`operation-owner-not-object:${e.owner.name}`);let i=new Et({...t.toConfig(),mutation:void 0,query:n,subscription:void 0}),r=In(TO(e)),o=zs(i,r);if(o.length>0)throw new AggregateError(o,"invalid-operation-query");return{document:r,schema:i}}a(Ob,"operationDocument");function TO({field:e}){let t=e.args.map(o=>{let s=o.defaultValue===void 0?null:jt(o.defaultValue,o.type),c=s==null?"":` = ${ee(s)}`;return`$${o.name}: ${String(o.type)}${c}`}),n=e.args.map(o=>`${o.name}: $${o.name}`),i=t.length===0?"":`(${t.join(", ")})`,r=n.length===0?"":`(${n.join(", ")})`;return`query Resolve${i} { ${e.name}${r}${$O(e.type)} }`}a(TO,"renderOperationQuery");function $O(e){let t=le(e);if(de(t))return"";if(!A(t))throw new TypeError(`operation-return-type-unsupported:${t.name}`);return` { ${Object.values(t.getFields()).map(i=>{if(!de(le(i.type))||i.args.length>0)throw new TypeError(`operation-return-field-unsupported:${t.name}.${i.name}`);return i.name}).join(" ")} }`}a($O,"returnSelection");var ig=Symbol("schema-resolver"),og=f.custom(e=>typeof e=="function"),IO=og.parse(Cn);function wb({args:e,context:t,info:n,source:i,standard:r}){if(t==null||typeof t!="object")return r(i,e,t,n);let o=Reflect.get(t,ig);return(o===void 0?r:og.parse(o))(i,e,t,n)}a(wb,"resolveSchemaField");function Nb(e){return e===void 0?IO:og.parse(e)}a(Nb,"standardSchemaResolver");async function Db({arguments:e,context:t,operation:n,runtime:i}){let r=await Cs({...Ob({operation:n,schema:i.schema}),contextValue:{...t,[ig]:EO({operation:n,runtime:i})},rootValue:{},variableValues:e});if(r.errors!=null)throw OO({errors:r.errors,operation:n});let o=yt.parse(r.data),s=st(o)?o[n.field.name]:void 0;if(s===void 0)throw new TypeError(`operation-result-missing:${n.id}`);return s}a(Db,"executeOperation");function EO({operation:e,runtime:t}){return async(n,i,r,o)=>{let s=`${o.parentType.name}.${o.fieldName}`;if(s===e.id)return _b({arguments:i,context:r,operation:e.id,runtime:t,invoke:a((u,l)=>u(n,i,l,o),"invoke")});if(!st(n))throw new lr([ob(s)]);let c=n[o.fieldName];if(c===void 0)throw new lr([ib(s)]);return c}}a(EO,"operationResolver");function OO({errors:e,operation:t}){let n=e.map(u=>wO({error:u,operation:t})),i=n.find(u=>u.kind==="transient")??n.find(u=>u.kind==="invariant");if(i!=null&&i.kind!=="implementation")return i.error;let r=n.flatMap(u=>u.kind==="implementation"?u.failures:[]),o=r.flatMap(u=>u.kind==="invalid-output"?u.issues:[]),[s,...c]=[...r.filter(u=>u.kind!=="invalid-output"),...o.length===0?[]:[{issues:o,kind:"invalid-output",operation:t.id}]];if(s==null)throw new TypeError(`operation-errors-empty:${t.id}`);return new We([s,...c])}a(OO,"operationFailure");function wO({error:e,operation:t}){let n=e.originalError;return n instanceof We?{failures:n.failures,kind:"implementation"}:n instanceof pr?{error:n,kind:"transient"}:n instanceof lr?kb({issues:n.issues,operation:t}):n instanceof x?kb({issues:[n.message],operation:t}):{error:n??e,kind:"invariant"}}a(wO,"classifyError");function kb({issues:e,operation:t}){return{failures:[{issues:[...e],kind:"invalid-output",operation:t.id}],kind:"implementation"}}a(kb,"invalidOutput");async function Jn({call:e,runtime:t,target:n}){let{schema:i}=t,r=Bh({id:e.operation,schema:i}),o=r.kind==="actor"?r.kind:r.setup.kind;if(o!==e.kind)throw new TypeError(`setup-operation-kind-mismatch:${e.operation}:${e.kind}:${o}`);let s=await Db({arguments:Sb({arguments:oc(e),operation:r,registry:Xs(n.references),schema:i}),context:Eb(n),operation:r,runtime:t});switch(e.kind){case"replace":return{references:n.references,value:s};case"actor":case"create":return{references:fb({entity:nc({schema:i,type:r.field.type}),modelId:e.kind==="actor"?Ks:e.modelId,references:n.references,schema:i,value:s}),value:s}}}a(Jn,"invokeSetupOperation");function Rb({runtime:e,steps:t}){let n=Zn(e.schema),r=[...n==null?[]:[{arguments:{},operation:n.id}],...t.map(c=>({arguments:oc(c),operation:c.operation}))].flatMap(c=>NO({...c,runtime:e})),[o,...s]=[...new Map(r.map(c=>[c.operation,c])).values()];if(o!=null)throw new We([o,...s])}a(Rb,"requireSetupBindings");async function Ab({runtime:e,steps:t,target:n}){return t.reduce(async(i,r)=>kO({runtime:e,step:r,target:await i}),Promise.resolve(n)).catch(Hs("written"))}a(Ab,"executeSetup");function NO({arguments:e,operation:t,runtime:n}){try{return Wh({arguments:e,operation:t,resolvers:n.module.resolvers}),[]}catch(i){if(i instanceof We)return i.failures;throw i}}a(NO,"missingBinding");async function kO({runtime:e,step:t,target:n}){let i=await Jn({call:t,runtime:e,target:n});return{...n,references:i.references}}a(kO,"executeStep");var cc=yg(jb(),1);function mo(e){let{node:t,schema:n,type:i,value:r}=e;if(r===null)return[];if(j(i))return mo({...e,type:i.ofType});if(J(i)){if(!Array.isArray(r))throw new TypeError("identity-dependency-list-invalid");return r.flatMap(s=>mo({...e,type:i.ofType,value:s}))}let o=it({name:"reference",node:t,schema:n,validator:qs});return o!=null?[{entity:o.entity,modelId:Bn(r)}]:V(i)?DO({schema:n,type:i,value:r}):[]}a(mo,"referenceDependencies");function DO({schema:e,type:t,value:n}){if(!st(n))throw new TypeError("identity-dependency-object-invalid");let i=t.getFields();return Object.entries(n).flatMap(([r,o])=>{let s=i[r];if(s==null)throw new TypeError(`identity-dependency-field-missing:${r}`);return mo({node:s,schema:e,type:s.type,value:o})})}a(DO,"fieldDependencies");function Lb({schema:e,steps:t}){let n=t.map(o=>RO({schema:e,step:o})),i=AO(e),r=new cc.DepGraph;return n.forEach((o,s)=>{r.addNode(String(s),o.step)}),n.forEach((o,s)=>{jO({actor:i,task:o,tasks:n}).forEach(c=>{r.addDependency(String(s),String(c))})}),LO(r).map(o=>r.getNodeData(o))}a(Lb,"orderedSetupSteps");function RO({schema:e,step:t}){let n=eb({id:t.operation,schema:e}),i=eg(n);if(i==null)throw new TypeError(`setup-value-argument-missing:${n.id}`);return{created:t.kind==="create"?{entity:nc({schema:e,type:n.field.type}).type.name,modelId:t.modelId}:void 0,dependencies:mo({node:i,schema:e,type:i.type,value:t.value}),step:t}}a(RO,"setupTask");function AO(e){let{actor:t}=po(e);return t==null?void 0:{entity:t.type.name,modelId:Ks}}a(AO,"actorIdentity");function jO({actor:e,task:t,tasks:n}){return t.dependencies.flatMap(i=>{let r=xn(i),o=n.findIndex(s=>s.created!=null&&xn(s.created)===r);if(o!==-1)return[o];if(e==null||xn(e)!==r)throw new TypeError(`setup-reference-unbound:${i.entity}:${i.modelId}`);return[]})}a(jO,"prerequisites");function LO(e){try{return e.overallOrder()}catch(t){throw t instanceof cc.DepGraphCycleError?new TypeError(`setup-reference-dependency-cycle:${t.cyclePath.join(",")}`):t}}a(LO,"topologicalOrder");function Pb({schema:e,seed:t}){return Ub({node:ic(e),path:[],value:t})}a(Pb,"setupPlan");function Ub({node:e,path:t,value:n}){switch(e.kind){case"replace":return[{kind:"replace",operation:e.operation.id,path:t,value:n}];case"create":return Object.entries(zb({path:t,value:n})).map(([i,r])=>({kind:"create",modelId:i,operation:e.operation.id,path:t,value:r}));case"object":{let i=zb({path:t,value:n});return Object.entries(e.fields).flatMap(([r,o])=>{let s=Object.hasOwn(i,r)?i[r]:void 0;if(s===void 0)throw new TypeError(`seed-path-missing:${[...t,r].join(".")}`);return Ub({node:o,path:[...t,r],value:s})})}}}a(Ub,"nodeSteps");function zb({path:e,value:t}){if(!st(t))throw new TypeError(`seed-path-not-object:${e.join(".")}`);return t}a(zb,"seedObject");function Fb({field:e,parent:t}){let n=e.astNode?.name.value;if(n==null||t==null||!A(t)&&!M(t))return[e];let i=sg({interfaces:t.getInterfaces(),name:n,seen:[]});return[e,...i]}a(Fb,"fieldSources");function uc({argument:e,field:t,parent:n}){if(!A(n)&&!M(n))throw new TypeError("argument-parent-is-not-object");let i=sg({interfaces:n.getInterfaces(),name:t.name,seen:[]});return[e,...i.flatMap(r=>r.args.filter(o=>o.name===e.name))]}a(uc,"argumentSources");function sg({interfaces:e,name:t,seen:n}){return e.flatMap(i=>{if(n.includes(i.name))throw new TypeError(`constraint-interface-cycle:${i.name}`);let r=i.getFields()[t];return[...r==null?[]:[r],...sg({interfaces:i.getInterfaces(),name:t,seen:[...n,i.name]})]})}a(sg,"inheritedFields");var cg=f.strictObject({max:f.number().optional(),maxLength:f.number().int().nonnegative().optional(),min:f.number().optional(),minLength:f.number().int().nonnegative().optional()}).refine(e=>e.min==null||e.max==null||e.min<=e.max,{error:Kx}).refine(e=>e.minLength==null||e.maxLength==null||e.minLength<=e.maxLength,{error:Wx});function lc(e){switch(e){case"String":return f.string();case"Int":return ug("Int");case"Float":return ug("Float");case"Boolean":return f.boolean();case"ID":return f.union([f.string(),f.number().int()]);case"Date":return f.iso.date();case"DateTime":return f.iso.datetime({offset:!0})}throw new TypeError(Yx(e))}a(lc,"scalarValidator");function ug(e){return e==="Int"?f.number().int().min(-2147483648).max(2147483647):f.number()}a(ug,"numberValidator");function Cb({bounds:e,name:t}){if(t==="String")return zO(e);if(t==="Int"||t==="Float")return PO({bounds:e,name:t});throw new TypeError(Mn(t))}a(Cb,"fieldScalarValidator");function zO(e){if(e.min!=null||e.max!=null)throw new TypeError(Mn("String"));let t=e.minLength==null?f.string():f.string().min(e.minLength);return e.maxLength==null?t:t.max(e.maxLength)}a(zO,"boundedString");function PO({bounds:e,name:t}){if(e.minLength!=null||e.maxLength!=null)throw new TypeError(Mn(t));let n=ug(t),i=e.min==null?n:n.min(e.min);return e.max==null?i:i.max(e.max)}a(PO,"boundedNumber");function qn({fields:e,schema:t}){let n=e[0];if(n==null)throw new TypeError("scalar-field-declaration-missing");let i=le(n.type),r=e.flatMap(o=>{let s=it({name:"constraint",node:o,schema:t,validator:cg});return s==null?[]:[s]});if(!be(i)){if(r.length>0)throw new TypeError(Mn(i.name));return}return r.length===0?lc(i.name):Cb({bounds:UO(r),name:i.name})}a(qn,"scalarFieldValidator");function UO(e){return cg.parse({max:e.flatMap(t=>t.max==null?[]:[t.max]).toSorted((t,n)=>t-n).at(0),maxLength:e.flatMap(t=>t.maxLength==null?[]:[t.maxLength]).toSorted((t,n)=>t-n).at(0),min:e.flatMap(t=>t.min==null?[]:[t.min]).toSorted((t,n)=>n-t).at(0),minLength:e.flatMap(t=>t.minLength==null?[]:[t.minLength]).toSorted((t,n)=>n-t).at(0)})}a(UO,"combinedBounds");var Gb=Gn.valueType.keyType,Vb=new WeakMap;function Bb(e){let t=Vb.get(e);if(t!=null)return t;let n=Jb({inputs:FO(e),node:ic(e)}).pipe(_r);return Vb.set(e,n),n}a(Bb,"seedValidator");function FO(e){let t={schema:e,validatorOf:a(i=>{let r=n.get(i.name);if(r==null)throw new TypeError(`seed-input-type-unknown:${i.name}`);return r},"validatorOf")},n=new Map(Object.values(e.getTypeMap()).filter(i=>V(i)).map(i=>[i.name,f.lazy(()=>CO({inputs:t,type:i}))]));return t}a(FO,"inputValidators");function Jb({inputs:e,node:t}){switch(t.kind){case"object":return f.strictObject(Object.fromEntries(Object.entries(t.fields).map(([n,i])=>[n,Jb({inputs:e,node:i})])));case"replace":return Mb({inputs:e,leaf:t});case"create":return f.record(Gb,Mb({inputs:e,leaf:t}))}}a(Jb,"nodeValidator");function Mb({inputs:e,leaf:t}){let{operation:n,value:i}=t;return lg({fields:uc({argument:i,field:n.field,parent:n.owner}),inputs:e,node:i,type:i.type})}a(Mb,"leafValidator");function lg(e){return j(e.type)?Zb({...e,type:e.type.ofType}):Zb(e).nullable()}a(lg,"valueValidator");function Zb(e){let{fields:t,inputs:n,node:i,type:r}=e;if(J(r))return f.array(lg({...e,type:r.ofType}));if(Pr({name:"reference",node:i,schema:n.schema}))return Gb;if(V(r))return n.validatorOf(r);if(te(r))return f.enum(tc({schema:n.schema,type:r}).map(s=>s.model));let o=qn({fields:t,schema:n.schema});if(o==null)throw new TypeError(`seed-scalar-validator-missing:${String(r)}`);return o}a(Zb,"presentValidator");function CO({inputs:e,type:t}){return f.strictObject(Object.fromEntries(Object.values(t.getFields()).map(n=>{let i=lg({fields:[n],inputs:e,node:n,type:n.type}),r=j(n.type)&&n.defaultValue===void 0;return[n.name,r?i:i.optional()]})))}a(CO,"inputObjectValidator");async function Qb({runtime:e,target:t}){let{schema:n}=e,i=ec({references:t.references,schema:n}),r=Zn(n);if(r==null)return{...t,references:i};let o=await Jn({call:{kind:"actor",operation:r.id},runtime:e,target:{...t,references:i}});return{...t,references:o.references}}a(Qb,"bootstrapReferences");var qb=f.strictObject({references:_r,run:vn});var Yb=f.strictObject({call:Ib,target:qb});async function Kb({request:e,runtime:t}){try{let n=Yb.parse(JSON.parse(e));return{...await Jn({call:n.call,runtime:t,target:{...n.target,references:ec({references:n.target.references,schema:t.schema})}}),kind:"returned"}}catch(n){return VO(n)}}a(Kb,"callSingleOperation");function VO(e){return e instanceof fo?{...e.identity,kind:"missing-reference"}:e instanceof We?{failures:e.failures,kind:"binding-failed"}:e instanceof pr?{failure:e.readFailure,kind:"read-failed"}:{error:Ai(e),kind:"failed"}}a(VO,"operationFailure");function Wb(e){return{operation:a(t=>Kb({request:t,runtime:e}),"operation"),setup:a(t=>MO({request:t,runtime:e}),"setup")}}a(Wb,"createSchemaBinding");async function MO({request:e,runtime:t}){let{schema:n}=t,i=Bb(n).parse(e.seed),r=Lb({schema:n,steps:Pb({schema:n,seed:i})}),o=await ZO({runtime:t,steps:r,target:e.target}).catch(Hs("unwritten"));return(await Ab({runtime:t,steps:r,target:o})).references}a(MO,"setupBinding");async function ZO({runtime:e,steps:t,target:n}){return Rb({runtime:e,steps:t}),Qb({runtime:e,target:n})}a(ZO,"signedInTarget");function Hb({coordinate:e,fields:t,schema:n}){try{qn({fields:t,schema:n})}catch(i){throw new TypeError(`${e}: ${GO(i)}`,{cause:i})}}a(Hb,"requireScalarDeclaration");function GO(e){return e instanceof f.ZodError?e.issues.map(t=>t.message).join(" "):e instanceof Error?e.message:String(e)}a(GO,"thrownText");function Xb({field:e,parent:t,schema:n,value:i}){let r=Hh({schema:n,type:t});if(i==null||r?.identity.id!==e.name)return[];let o=yt.parse(i);return qh.safeParse(o).success?[]:[{value:o}]}a(Xb,"identityProblems");function e_(e){return V(e)||A(e)||M(e)?Object.values(e.getFields()):[]}a(e_,"schemaFields");var t_=f.record(f.string(),f.unknown());function Yn(e){return j(e.type)?e.value==null?[{kind:"null"}]:Yn({...e,type:e.type.ofType}):e.value==null?[]:J(e.type)?QO({...e,type:e.type}):V(e.type)?qO({...e,type:e.type}):A(e.type)?BO({expected:e.type.name,value:e.value}):JO(e)}a(Yn,"valueProblems");function BO({expected:e,value:t}){let n=t_.safeParse(t);if(!n.success)return[{kind:"not-object"}];let i=n.data.__typename;return i===void 0||i===e?[]:[{expected:e,kind:"typename",typename:JSON.stringify(i)}]}a(BO,"typenameProblems");function JO(e){let t=qn(e)?.safeParse(e.value);return t==null||t.success?[]:[{kind:"scalar",messages:t.error.issues.map(n=>n.message)}]}a(JO,"scalarProblems");function QO(e){if(!Array.isArray(e.value))return[{kind:"not-list"}];let t=e.type.ofType;return e.value.flatMap(n=>Yn({...e,type:t,value:n}))}a(QO,"listProblems");function qO(e){let t=t_.safeParse(e.value);if(!t.success)return[{kind:"not-object"}];let n=t.data;return e_(e.type).flatMap(i=>Yn({fields:[i],schema:e.schema,type:i.type,value:n[i.name]}))}a(qO,"inputProblems");function r_({field:e,parent:t,schema:n,standard:i}){let r=Fb({field:e,parent:t}),o=`${t.name}.${e.name}`;return Hb({coordinate:o,fields:r,schema:n}),async(s,c,u,l)=>{e.args.forEach(b=>{let N=Yn({fields:uc({argument:b,field:e,parent:t}),schema:n,type:b.type,value:c[b.name]}),[L]=N;if(L!=null)throw new TypeError(Jh(`${o}(${b.name})`,L))});let p=await wb({args:c,context:u,info:l,source:s,standard:i}),d=Yn({fields:r,schema:n,type:e.type,value:p}).map(b=>Jh(o,b)),m=d.length>0?d:Xb({field:e,parent:t,schema:n,value:p}).map(b=>nb(o,b)),[g,...y]=m;if(g!=null)throw new lr([g,...y]);return p}}a(r_,"validatedFieldResolver");function n_({name:e,scalar:t,validator:n}){return new ke({...t.toConfig(),name:e,parseLiteral:a((i,r)=>n.parse(t.parseLiteral(i,r)),"parseLiteral"),parseValue:a(i=>n.parse(t.parseValue(i)),"parseValue"),serialize:a(i=>ji.parse(t.serialize(n.parse(i))),"serialize")})}a(n_,"validatedScalar");var i_="directive @constraint(min: Float, max: Float, minLength: Int, maxLength: Int) on FIELD_DEFINITION | INPUT_FIELD_DEFINITION | ARGUMENT_DEFINITION";function o_(e){return Mx(e,{[K.OBJECT_FIELD]:(t,n,i)=>{let r=e.getType(i),o=A(r)?r.getFields()[n]:void 0;if(o==null||!A(r))throw new TypeError(`schema-field-declaration-missing:${i}.${n}`);return{...t,resolve:r_({field:o,parent:r,schema:e,standard:Nb(t.resolve)})}},[K.SCALAR_TYPE]:t=>t.name!=="Date"&&t.name!=="DateTime"?t:n_({name:t.name,scalar:t,validator:lc(t.name)})})}a(o_,"constrainSchema");function a_(e){return o_(YO(e))}a(a_,"buildBindingSchema");var s_=`${i_}
130
+ ${Bx}
131
+ `,xJ=s_.split(`
132
+ `).length-1;function YO(e){return Ms(`${s_}${e}`)}a(YO,"buildContractSchema");function c_({module:e,source:t}){xb(),Reflect.set(globalThis,Im,Wb({module:e,schema:a_(t),trace:KO}))}a(c_,"installBindings");function KO(e){globalThis.dispatchEvent(new CustomEvent(gm,{detail:e}))}a(KO,"dispatchQuery");return h_(WO);})();