@get-technology-inc/jamf-docs-mcp-server 5.8.0 → 5.10.0
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.
- package/README.md +99 -0
- package/dist/core/apps/generated/app-html.d.ts +2 -2
- package/dist/core/apps/generated/app-html.d.ts.map +1 -1
- package/dist/core/apps/generated/app-html.js +2 -2
- package/dist/core/apps/generated/app-html.js.map +1 -1
- package/dist/core/apps/index.d.ts +1 -1
- package/dist/core/apps/index.d.ts.map +1 -1
- package/dist/core/apps/index.js +35 -0
- package/dist/core/apps/index.js.map +1 -1
- package/dist/core/schemas/output.d.ts +5 -0
- package/dist/core/schemas/output.d.ts.map +1 -1
- package/dist/core/schemas/output.js +15 -0
- package/dist/core/schemas/output.js.map +1 -1
- package/dist/core/services/article-service.d.ts.map +1 -1
- package/dist/core/services/article-service.js +21 -1
- package/dist/core/services/article-service.js.map +1 -1
- package/dist/core/services/cache-key.d.ts +6 -1
- package/dist/core/services/cache-key.d.ts.map +1 -1
- package/dist/core/services/cache-key.js +2 -1
- package/dist/core/services/cache-key.js.map +1 -1
- package/dist/core/services/content-parser.d.ts.map +1 -1
- package/dist/core/services/content-parser.js +74 -0
- package/dist/core/services/content-parser.js.map +1 -1
- package/dist/core/services/ft-internal-link.d.ts +22 -0
- package/dist/core/services/ft-internal-link.d.ts.map +1 -1
- package/dist/core/services/ft-internal-link.js +132 -4
- package/dist/core/services/ft-internal-link.js.map +1 -1
- package/dist/core/services/static-search-service.d.ts +40 -0
- package/dist/core/services/static-search-service.d.ts.map +1 -0
- package/dist/core/services/static-search-service.js +144 -0
- package/dist/core/services/static-search-service.js.map +1 -0
- package/dist/core/tools/glossary-lookup.d.ts.map +1 -1
- package/dist/core/tools/glossary-lookup.js +8 -0
- package/dist/core/tools/glossary-lookup.js.map +1 -1
- package/dist/core/tools/search.d.ts.map +1 -1
- package/dist/core/tools/search.js +79 -9
- package/dist/core/tools/search.js.map +1 -1
- package/package.json +9 -7
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and re-run the script; this file is committed so the package builds with
|
|
6
6
|
* `tsc` alone.
|
|
7
7
|
*/
|
|
8
|
-
export const APP_HTML = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>Jamf Documentation</title>\n </head>\n <body>\n <div id=\"root\"><p class=\"muted\">Loading…</p></div>\n <script type=\"module\">\"use strict\";(()=>{var gg=Object.defineProperty;var We=(t=>typeof require<\"u\"?require:typeof Proxy<\"u\"?new Proxy(t,{get:(r,n)=>(typeof require<\"u\"?require:r)[n]}):t)(function(t){if(typeof require<\"u\")return require.apply(this,arguments);throw Error('Dynamic require of \"'+t+'\" is not supported')});var x=(t,r,n)=>()=>{if(n)throw n[0];try{return t&&(r=t(t=0)),r}catch(i){throw n=[i],i}};var Ie=(t,r)=>{for(var n in r)gg(t,n,{get:r[n],enumerable:!0})};function p(t,r,n){function i(s,u){if(s._zod||Object.defineProperty(s,\"_zod\",{value:{def:u,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(t))return;s._zod.traits.add(t),r(s,u);let l=a.prototype,d=Object.keys(l);for(let g=0;g<d.length;g++){let h=d[g];h in s||(s[h]=l[h].bind(s))}}let e=n?.Parent??Object;class o extends e{}Object.defineProperty(o,\"name\",{value:t});function a(s){var u;let l=n?.Parent?new o:this;i(l,s),(u=l._zod).deferred??(u.deferred=[]);for(let d of l._zod.deferred)d();return l}return Object.defineProperty(a,\"init\",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(t)}),Object.defineProperty(a,\"name\",{value:t}),a}function J(t){return t&&Object.assign(Ge,t),Ge}var Ld,In,Pn,xe,Ne,Ge,Qe=x(()=>{In=Object.freeze({status:\"aborted\"});Pn=Symbol(\"zod_brand\"),xe=class extends Error{constructor(){super(\"Encountered Promise during synchronous parse. Use .parseAsync() instead.\")}},Ne=class extends Error{constructor(r){super(`Encountered unidirectional transform during encode: ${r}`),this.name=\"ZodEncodeError\"}};(Ld=globalThis).__zod_globalConfig??(Ld.__zod_globalConfig={});Ge=globalThis.__zod_globalConfig});var y={};Ie(y,{BIGINT_FORMAT_RANGES:()=>da,Class:()=>na,NUMBER_FORMAT_RANGES:()=>la,aborted:()=>Ce,allowsEval:()=>aa,assert:()=>yg,assertEqual:()=>hg,assertIs:()=>bg,assertNever:()=>$g,assertNotEqual:()=>vg,assignProp:()=>Re,base64ToUint8Array:()=>qd,base64urlToUint8Array:()=>Rg,cached:()=>zt,captureStackTrace:()=>Tn,cleanEnum:()=>Zg,cleanRegex:()=>or,clone:()=>ae,cloneDef:()=>xg,createTransparentProxy:()=>Pg,defineLazy:()=>O,esc:()=>jn,escapeRegex:()=>be,explicitlyAborted:()=>pa,extend:()=>Og,finalizeIssue:()=>ue,floatSafeRemainder:()=>oa,getElementAtPath:()=>kg,getEnumValues:()=>nr,getLengthableOrigin:()=>sr,getParsedType:()=>Ig,getSizableOrigin:()=>ar,hexToUint8Array:()=>Cg,isObject:()=>Xe,isPlainObject:()=>Ae,issue:()=>St,joinValues:()=>m,jsonStringifyReplacer:()=>kt,merge:()=>Ug,mergeDefs:()=>Te,normalizeParams:()=>_,nullish:()=>Ze,numKeys:()=>wg,objectClone:()=>_g,omit:()=>Tg,optionalKeys:()=>ua,parsedType:()=>$,partial:()=>Eg,pick:()=>jg,prefixIssues:()=>pe,primitiveTypes:()=>ca,promiseAllObject:()=>zg,propertyKeyTypes:()=>ir,randomString:()=>Sg,required:()=>Ng,safeExtend:()=>Dg,shallowClone:()=>sa,slugify:()=>ia,stringifyPrimitive:()=>b,uint8ArrayToBase64:()=>Fd,uint8ArrayToBase64url:()=>Ag,uint8ArrayToHex:()=>Lg,unwrapMessage:()=>rr});function hg(t){return t}function vg(t){return t}function bg(t){}function $g(t){throw new Error(\"Unexpected value in exhaustive check\")}function yg(t){}function nr(t){let r=Object.values(t).filter(i=>typeof i==\"number\");return Object.entries(t).filter(([i,e])=>r.indexOf(+i)===-1).map(([i,e])=>e)}function m(t,r=\"|\"){return t.map(n=>b(n)).join(r)}function kt(t,r){return typeof r==\"bigint\"?r.toString():r}function zt(t){return{get value(){{let n=t();return Object.defineProperty(this,\"value\",{value:n}),n}throw new Error(\"cached value already set\")}}}function Ze(t){return t==null}function or(t){let r=t.startsWith(\"^\")?1:0,n=t.endsWith(\"$\")?t.length-1:t.length;return t.slice(r,n)}function oa(t,r){let n=t/r,i=Math.round(n),e=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-i)<e?0:n-i}function O(t,r,n){let i;Object.defineProperty(t,r,{get(){if(i!==Md)return i===void 0&&(i=Md,i=n()),i},set(e){Object.defineProperty(t,r,{value:e})},configurable:!0})}function _g(t){return Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t))}function Re(t,r,n){Object.defineProperty(t,r,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Te(...t){let r={};for(let n of t){let i=Object.getOwnPropertyDescriptors(n);Object.assign(r,i)}return Object.defineProperties({},r)}function xg(t){return Te(t._zod.def)}function kg(t,r){return r?r.reduce((n,i)=>n?.[i],t):t}function zg(t){let r=Object.keys(t),n=r.map(i=>t[i]);return Promise.all(n).then(i=>{let e={};for(let o=0;o<r.length;o++)e[r[o]]=i[o];return e})}function Sg(t=10){let r=\"abcdefghijklmnopqrstuvwxyz\",n=\"\";for(let i=0;i<t;i++)n+=r[Math.floor(Math.random()*r.length)];return n}function jn(t){return JSON.stringify(t)}function ia(t){return t.toLowerCase().trim().replace(/[^\\w\\s-]/g,\"\").replace(/[\\s_-]+/g,\"-\").replace(/^-+|-+$/g,\"\")}function Xe(t){return typeof t==\"object\"&&t!==null&&!Array.isArray(t)}function Ae(t){if(Xe(t)===!1)return!1;let r=t.constructor;if(r===void 0||typeof r!=\"function\")return!0;let n=r.prototype;return!(Xe(n)===!1||Object.prototype.hasOwnProperty.call(n,\"isPrototypeOf\")===!1)}function sa(t){return Ae(t)?{...t}:Array.isArray(t)?[...t]:t instanceof Map?new Map(t):t instanceof Set?new Set(t):t}function wg(t){let r=0;for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&r++;return r}function be(t){return t.replace(/[.*+?^${}()|[\\]\\\\]/g,\"\\\\$&\")}function ae(t,r,n){let i=new t._zod.constr(r??t._zod.def);return(!r||n?.parent)&&(i._zod.parent=t),i}function _(t){let r=t;if(!r)return{};if(typeof r==\"string\")return{error:()=>r};if(r?.message!==void 0){if(r?.error!==void 0)throw new Error(\"Cannot specify both `message` and `error` params\");r.error=r.message}return delete r.message,typeof r.error==\"string\"?{...r,error:()=>r.error}:r}function Pg(t){let r;return new Proxy({},{get(n,i,e){return r??(r=t()),Reflect.get(r,i,e)},set(n,i,e,o){return r??(r=t()),Reflect.set(r,i,e,o)},has(n,i){return r??(r=t()),Reflect.has(r,i)},deleteProperty(n,i){return r??(r=t()),Reflect.deleteProperty(r,i)},ownKeys(n){return r??(r=t()),Reflect.ownKeys(r)},getOwnPropertyDescriptor(n,i){return r??(r=t()),Reflect.getOwnPropertyDescriptor(r,i)},defineProperty(n,i,e){return r??(r=t()),Reflect.defineProperty(r,i,e)}})}function b(t){return typeof t==\"bigint\"?t.toString()+\"n\":typeof t==\"string\"?`\"${t}\"`:`${t}`}function ua(t){return Object.keys(t).filter(r=>t[r]._zod.optin===\"optional\"&&t[r]._zod.optout===\"optional\")}function jg(t,r){let n=t._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(\".pick() cannot be used on object schemas containing refinements\");let o=Te(t._zod.def,{get shape(){let a={};for(let s in r){if(!(s in n.shape))throw new Error(`Unrecognized key: \"${s}\"`);r[s]&&(a[s]=n.shape[s])}return Re(this,\"shape\",a),a},checks:[]});return ae(t,o)}function Tg(t,r){let n=t._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(\".omit() cannot be used on object schemas containing refinements\");let o=Te(t._zod.def,{get shape(){let a={...t._zod.def.shape};for(let s in r){if(!(s in n.shape))throw new Error(`Unrecognized key: \"${s}\"`);r[s]&&delete a[s]}return Re(this,\"shape\",a),a},checks:[]});return ae(t,o)}function Og(t,r){if(!Ae(r))throw new Error(\"Invalid input to extend: expected a plain object\");let n=t._zod.def.checks;if(n&&n.length>0){let o=t._zod.def.shape;for(let a in r)if(Object.getOwnPropertyDescriptor(o,a)!==void 0)throw new Error(\"Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.\")}let e=Te(t._zod.def,{get shape(){let o={...t._zod.def.shape,...r};return Re(this,\"shape\",o),o}});return ae(t,e)}function Dg(t,r){if(!Ae(r))throw new Error(\"Invalid input to safeExtend: expected a plain object\");let n=Te(t._zod.def,{get shape(){let i={...t._zod.def.shape,...r};return Re(this,\"shape\",i),i}});return ae(t,n)}function Ug(t,r){if(t._zod.def.checks?.length)throw new Error(\".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.\");let n=Te(t._zod.def,{get shape(){let i={...t._zod.def.shape,...r._zod.def.shape};return Re(this,\"shape\",i),i},get catchall(){return r._zod.def.catchall},checks:r._zod.def.checks??[]});return ae(t,n)}function Eg(t,r,n){let e=r._zod.def.checks;if(e&&e.length>0)throw new Error(\".partial() cannot be used on object schemas containing refinements\");let a=Te(r._zod.def,{get shape(){let s=r._zod.def.shape,u={...s};if(n)for(let l in n){if(!(l in s))throw new Error(`Unrecognized key: \"${l}\"`);n[l]&&(u[l]=t?new t({type:\"optional\",innerType:s[l]}):s[l])}else for(let l in s)u[l]=t?new t({type:\"optional\",innerType:s[l]}):s[l];return Re(this,\"shape\",u),u},checks:[]});return ae(r,a)}function Ng(t,r,n){let i=Te(r._zod.def,{get shape(){let e=r._zod.def.shape,o={...e};if(n)for(let a in n){if(!(a in o))throw new Error(`Unrecognized key: \"${a}\"`);n[a]&&(o[a]=new t({type:\"nonoptional\",innerType:e[a]}))}else for(let a in e)o[a]=new t({type:\"nonoptional\",innerType:e[a]});return Re(this,\"shape\",o),o}});return ae(r,i)}function Ce(t,r=0){if(t.aborted===!0)return!0;for(let n=r;n<t.issues.length;n++)if(t.issues[n]?.continue!==!0)return!0;return!1}function pa(t,r=0){if(t.aborted===!0)return!0;for(let n=r;n<t.issues.length;n++)if(t.issues[n]?.continue===!1)return!0;return!1}function pe(t,r){return r.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(t),n})}function rr(t){return typeof t==\"string\"?t:t?.message}function ue(t,r,n){let i=t.message?t.message:rr(t.inst?._zod.def?.error?.(t))??rr(r?.error?.(t))??rr(n.customError?.(t))??rr(n.localeError?.(t))??\"Invalid input\",{inst:e,continue:o,input:a,...s}=t;return s.path??(s.path=[]),s.message=i,r?.reportInput&&(s.input=a),s}function ar(t){return t instanceof Set?\"set\":t instanceof Map?\"map\":t instanceof File?\"file\":\"unknown\"}function sr(t){return Array.isArray(t)?\"array\":typeof t==\"string\"?\"string\":\"unknown\"}function $(t){let r=typeof t;switch(r){case\"number\":return Number.isNaN(t)?\"nan\":\"number\";case\"object\":{if(t===null)return\"null\";if(Array.isArray(t))return\"array\";let n=t;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&\"constructor\"in n&&n.constructor)return n.constructor.name}}return r}function St(...t){let[r,n,i]=t;return typeof r==\"string\"?{message:r,code:\"custom\",input:n,inst:i}:{...r}}function Zg(t){return Object.entries(t).filter(([r,n])=>Number.isNaN(Number.parseInt(r,10))).map(r=>r[1])}function qd(t){let r=atob(t),n=new Uint8Array(r.length);for(let i=0;i<r.length;i++)n[i]=r.charCodeAt(i);return n}function Fd(t){let r=\"\";for(let n=0;n<t.length;n++)r+=String.fromCharCode(t[n]);return btoa(r)}function Rg(t){let r=t.replace(/-/g,\"+\").replace(/_/g,\"/\"),n=\"=\".repeat((4-r.length%4)%4);return qd(r+n)}function Ag(t){return Fd(t).replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/=/g,\"\")}function Cg(t){let r=t.replace(/^0x/,\"\");if(r.length%2!==0)throw new Error(\"Invalid hex string length\");let n=new Uint8Array(r.length/2);for(let i=0;i<r.length;i+=2)n[i/2]=Number.parseInt(r.slice(i,i+2),16);return n}function Lg(t){return Array.from(t).map(r=>r.toString(16).padStart(2,\"0\")).join(\"\")}var Md,Tn,aa,Ig,ir,ca,la,da,na,S=x(()=>{Qe();Md=Symbol(\"evaluating\");Tn=\"captureStackTrace\"in Error?Error.captureStackTrace:(...t)=>{};aa=zt(()=>{if(Ge.jitless||typeof navigator<\"u\"&&navigator?.userAgent?.includes(\"Cloudflare\"))return!1;try{let t=Function;return new t(\"\"),!0}catch{return!1}});Ig=t=>{let r=typeof t;switch(r){case\"undefined\":return\"undefined\";case\"string\":return\"string\";case\"number\":return Number.isNaN(t)?\"nan\":\"number\";case\"boolean\":return\"boolean\";case\"function\":return\"function\";case\"bigint\":return\"bigint\";case\"symbol\":return\"symbol\";case\"object\":return Array.isArray(t)?\"array\":t===null?\"null\":t.then&&typeof t.then==\"function\"&&t.catch&&typeof t.catch==\"function\"?\"promise\":typeof Map<\"u\"&&t instanceof Map?\"map\":typeof Set<\"u\"&&t instanceof Set?\"set\":typeof Date<\"u\"&&t instanceof Date?\"date\":typeof File<\"u\"&&t instanceof File?\"file\":\"object\";default:throw new Error(`Unknown data type: ${r}`)}},ir=new Set([\"string\",\"number\",\"symbol\"]),ca=new Set([\"string\",\"number\",\"bigint\",\"boolean\",\"symbol\",\"undefined\"]);la={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]},da={int64:[BigInt(\"-9223372036854775808\"),BigInt(\"9223372036854775807\")],uint64:[BigInt(0),BigInt(\"18446744073709551615\")]};na=class{constructor(...r){}}});function wt(t,r=n=>n.message){let n={},i=[];for(let e of t.issues)e.path.length>0?(n[e.path[0]]=n[e.path[0]]||[],n[e.path[0]].push(r(e))):i.push(r(e));return{formErrors:i,fieldErrors:n}}function It(t,r=n=>n.message){let n={_errors:[]},i=(e,o=[])=>{for(let a of e.issues)if(a.code===\"invalid_union\"&&a.errors.length)a.errors.map(s=>i({issues:s},[...o,...a.path]));else if(a.code===\"invalid_key\")i({issues:a.issues},[...o,...a.path]);else if(a.code===\"invalid_element\")i({issues:a.issues},[...o,...a.path]);else{let s=[...o,...a.path];if(s.length===0)n._errors.push(r(a));else{let u=n,l=0;for(;l<s.length;){let d=s[l];l===s.length-1?(u[d]=u[d]||{_errors:[]},u[d]._errors.push(r(a))):u[d]=u[d]||{_errors:[]},u=u[d],l++}}}};return i(t),n}function On(t,r=n=>n.message){let n={errors:[]},i=(e,o=[])=>{var a,s;for(let u of e.issues)if(u.code===\"invalid_union\"&&u.errors.length)u.errors.map(l=>i({issues:l},[...o,...u.path]));else if(u.code===\"invalid_key\")i({issues:u.issues},[...o,...u.path]);else if(u.code===\"invalid_element\")i({issues:u.issues},[...o,...u.path]);else{let l=[...o,...u.path];if(l.length===0){n.errors.push(r(u));continue}let d=n,g=0;for(;g<l.length;){let h=l[g],v=g===l.length-1;typeof h==\"string\"?(d.properties??(d.properties={}),(a=d.properties)[h]??(a[h]={errors:[]}),d=d.properties[h]):(d.items??(d.items=[]),(s=d.items)[h]??(s[h]={errors:[]}),d=d.items[h]),v&&d.errors.push(r(u)),g++}}};return i(t),n}function Jd(t){let r=[],n=t.map(i=>typeof i==\"object\"?i.key:i);for(let i of n)typeof i==\"number\"?r.push(`[${i}]`):typeof i==\"symbol\"?r.push(`[${JSON.stringify(String(i))}]`):/[^\\w$]/.test(i)?r.push(`[${JSON.stringify(i)}]`):(r.length&&r.push(\".\"),r.push(i));return r.join(\"\")}function Dn(t){let r=[],n=[...t.issues].sort((i,e)=>(i.path??[]).length-(e.path??[]).length);for(let i of n)r.push(`\\u2716 ${i.message}`),i.path?.length&&r.push(` \\u2192 at ${Jd(i.path)}`);return r.join(`\n`)}var Vd,cr,me,ma=x(()=>{Qe();S();Vd=(t,r)=>{t.name=\"$ZodError\",Object.defineProperty(t,\"_zod\",{value:t._zod,enumerable:!1}),Object.defineProperty(t,\"issues\",{value:r,enumerable:!1}),t.message=JSON.stringify(r,kt,2),Object.defineProperty(t,\"toString\",{value:()=>t.message,enumerable:!1})},cr=p(\"$ZodError\",Vd),me=p(\"$ZodError\",Vd,{Parent:Error})});var Pt,ur,jt,lr,Tt,Ot,Dt,dr,Un,Hd,En,Kd,Nn,Bd,Zn,Wd,Rn,Gd,An,Qd,Cn,Xd,Ln,Yd,fa=x(()=>{Qe();ma();S();Pt=t=>(r,n,i,e)=>{let o=i?{...i,async:!1}:{async:!1},a=r._zod.run({value:n,issues:[]},o);if(a instanceof Promise)throw new xe;if(a.issues.length){let s=new(e?.Err??t)(a.issues.map(u=>ue(u,o,J())));throw Tn(s,e?.callee),s}return a.value},ur=Pt(me),jt=t=>async(r,n,i,e)=>{let o=i?{...i,async:!0}:{async:!0},a=r._zod.run({value:n,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){let s=new(e?.Err??t)(a.issues.map(u=>ue(u,o,J())));throw Tn(s,e?.callee),s}return a.value},lr=jt(me),Tt=t=>(r,n,i)=>{let e=i?{...i,async:!1}:{async:!1},o=r._zod.run({value:n,issues:[]},e);if(o instanceof Promise)throw new xe;return o.issues.length?{success:!1,error:new(t??cr)(o.issues.map(a=>ue(a,e,J())))}:{success:!0,data:o.value}},Ot=Tt(me),Dt=t=>async(r,n,i)=>{let e=i?{...i,async:!0}:{async:!0},o=r._zod.run({value:n,issues:[]},e);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new t(o.issues.map(a=>ue(a,e,J())))}:{success:!0,data:o.value}},dr=Dt(me),Un=t=>(r,n,i)=>{let e=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return Pt(t)(r,n,e)},Hd=Un(me),En=t=>(r,n,i)=>Pt(t)(r,n,i),Kd=En(me),Nn=t=>async(r,n,i)=>{let e=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return jt(t)(r,n,e)},Bd=Nn(me),Zn=t=>async(r,n,i)=>jt(t)(r,n,i),Wd=Zn(me),Rn=t=>(r,n,i)=>{let e=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return Tt(t)(r,n,e)},Gd=Rn(me),An=t=>(r,n,i)=>Tt(t)(r,n,i),Qd=An(me),Cn=t=>async(r,n,i)=>{let e=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return Dt(t)(r,n,e)},Xd=Cn(me),Ln=t=>async(r,n,i)=>Dt(t)(r,n,i),Yd=Ln(me)});var fe={};Ie(fe,{base64:()=>Ta,base64url:()=>Mn,bigint:()=>Ra,boolean:()=>Ca,browserEmail:()=>Wg,cidrv4:()=>Pa,cidrv6:()=>ja,cuid:()=>ga,cuid2:()=>ha,date:()=>Ua,datetime:()=>Na,domain:()=>Xg,duration:()=>_a,e164:()=>Da,email:()=>ka,emoji:()=>za,extendedDuration:()=>qg,guid:()=>xa,hex:()=>Yg,hostname:()=>Qg,html5Email:()=>Hg,httpProtocol:()=>Oa,idnEmail:()=>Bg,integer:()=>Aa,ipv4:()=>Sa,ipv6:()=>wa,ksuid:()=>$a,lowercase:()=>qa,mac:()=>Ia,md5_base64:()=>th,md5_base64url:()=>rh,md5_hex:()=>eh,nanoid:()=>ya,null:()=>La,number:()=>qn,rfc5322Email:()=>Kg,sha1_base64:()=>oh,sha1_base64url:()=>ih,sha1_hex:()=>nh,sha256_base64:()=>sh,sha256_base64url:()=>ch,sha256_hex:()=>ah,sha384_base64:()=>lh,sha384_base64url:()=>dh,sha384_hex:()=>uh,sha512_base64:()=>mh,sha512_base64url:()=>fh,sha512_hex:()=>ph,string:()=>Za,time:()=>Ea,ulid:()=>va,undefined:()=>Ma,unicodeEmail:()=>ep,uppercase:()=>Fa,uuid:()=>Ye,uuid4:()=>Fg,uuid6:()=>Vg,uuid7:()=>Jg,xid:()=>ba});function za(){return new RegExp(Gg,\"u\")}function rp(t){let r=\"(?:[01]\\\\d|2[0-3]):[0-5]\\\\d\";return typeof t.precision==\"number\"?t.precision===-1?`${r}`:t.precision===0?`${r}:[0-5]\\\\d`:`${r}:[0-5]\\\\d\\\\.\\\\d{${t.precision}}`:`${r}(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?`}function Ea(t){return new RegExp(`^${rp(t)}$`)}function Na(t){let r=rp({precision:t.precision}),n=[\"Z\"];t.local&&n.push(\"\"),t.offset&&n.push(\"([+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)\");let i=`${r}(?:${n.join(\"|\")})`;return new RegExp(`^${tp}T(?:${i})$`)}function pr(t,r){return new RegExp(`^[A-Za-z0-9+/]{${t}}${r}$`)}function mr(t){return new RegExp(`^[A-Za-z0-9_-]{${t}}$`)}var ga,ha,va,ba,$a,ya,_a,qg,xa,Ye,Fg,Vg,Jg,ka,Hg,Kg,ep,Bg,Wg,Gg,Sa,wa,Ia,Pa,ja,Ta,Mn,Qg,Xg,Oa,Da,tp,Ua,Za,Ra,Aa,qn,Ca,La,Ma,qa,Fa,Yg,eh,th,rh,nh,oh,ih,ah,sh,ch,uh,lh,dh,ph,mh,fh,Fn=x(()=>{S();ga=/^[cC][0-9a-z]{6,}$/,ha=/^[0-9a-z]+$/,va=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,ba=/^[0-9a-vA-V]{20}$/,$a=/^[A-Za-z0-9]{27}$/,ya=/^[a-zA-Z0-9_-]{21}$/,_a=/^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$/,qg=/^[-+]?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)?)??$/,xa=/^([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})$/,Ye=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[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)$/,Fg=Ye(4),Vg=Ye(6),Jg=Ye(7),ka=/^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/,Hg=/^[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])?)*$/,Kg=/^(([^<>()\\[\\]\\\\.,;:\\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,}))$/,ep=/^[^\\s@\"]{1,64}@[^\\s@]{1,255}$/u,Bg=ep,Wg=/^[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])?)*$/,Gg=\"^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$\";Sa=/^(?:(?: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])$/,wa=/^(([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}|:))$/,Ia=t=>{let r=be(t??\":\");return new RegExp(`^(?:[0-9A-F]{2}${r}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${r}){5}[0-9a-f]{2}$`)},Pa=/^((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])$/,ja=/^(([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])$/,Ta=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Mn=/^[A-Za-z0-9_-]*$/,Qg=/^(?=.{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])?)*\\.?$/,Xg=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,}$/,Oa=/^https?$/,Da=/^\\+[1-9]\\d{6,14}$/,tp=\"(?:(?:\\\\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])))\",Ua=new RegExp(`^${tp}$`);Za=t=>{let r=t?`[\\\\s\\\\S]{${t?.minimum??0},${t?.maximum??\"\"}}`:\"[\\\\s\\\\S]*\";return new RegExp(`^${r}$`)},Ra=/^-?\\d+n?$/,Aa=/^-?\\d+$/,qn=/^-?\\d+(?:\\.\\d+)?$/,Ca=/^(?:true|false)$/i,La=/^null$/i,Ma=/^undefined$/i,qa=/^[^A-Z]*$/,Fa=/^[^a-z]*$/,Yg=/^[0-9a-fA-F]*$/;eh=/^[0-9a-fA-F]{32}$/,th=pr(22,\"==\"),rh=mr(22),nh=/^[0-9a-fA-F]{40}$/,oh=pr(27,\"=\"),ih=mr(27),ah=/^[0-9a-fA-F]{64}$/,sh=pr(43,\"=\"),ch=mr(43),uh=/^[0-9a-fA-F]{96}$/,lh=pr(64,\"\"),dh=mr(64),ph=/^[0-9a-fA-F]{128}$/,mh=pr(86,\"==\"),fh=mr(86)});function np(t,r,n){t.issues.length&&r.issues.push(...pe(n,t.issues))}var F,op,Vn,Jn,Va,Ja,Ha,Ka,Ba,Wa,Ga,Qa,Xa,Ut,Ya,es,ts,rs,ns,os,is,as,ss,Hn=x(()=>{Qe();Fn();S();F=p(\"$ZodCheck\",(t,r)=>{var n;t._zod??(t._zod={}),t._zod.def=r,(n=t._zod).onattach??(n.onattach=[])}),op={number:\"number\",bigint:\"bigint\",object:\"date\"},Vn=p(\"$ZodCheckLessThan\",(t,r)=>{F.init(t,r);let n=op[typeof r.value];t._zod.onattach.push(i=>{let e=i._zod.bag,o=(r.inclusive?e.maximum:e.exclusiveMaximum)??Number.POSITIVE_INFINITY;r.value<o&&(r.inclusive?e.maximum=r.value:e.exclusiveMaximum=r.value)}),t._zod.check=i=>{(r.inclusive?i.value<=r.value:i.value<r.value)||i.issues.push({origin:n,code:\"too_big\",maximum:typeof r.value==\"object\"?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:t,continue:!r.abort})}}),Jn=p(\"$ZodCheckGreaterThan\",(t,r)=>{F.init(t,r);let n=op[typeof r.value];t._zod.onattach.push(i=>{let e=i._zod.bag,o=(r.inclusive?e.minimum:e.exclusiveMinimum)??Number.NEGATIVE_INFINITY;r.value>o&&(r.inclusive?e.minimum=r.value:e.exclusiveMinimum=r.value)}),t._zod.check=i=>{(r.inclusive?i.value>=r.value:i.value>r.value)||i.issues.push({origin:n,code:\"too_small\",minimum:typeof r.value==\"object\"?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:t,continue:!r.abort})}}),Va=p(\"$ZodCheckMultipleOf\",(t,r)=>{F.init(t,r),t._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=r.value)}),t._zod.check=n=>{if(typeof n.value!=typeof r.value)throw new Error(\"Cannot mix number and bigint in multiple_of check.\");(typeof n.value==\"bigint\"?n.value%r.value===BigInt(0):oa(n.value,r.value)===0)||n.issues.push({origin:typeof n.value,code:\"not_multiple_of\",divisor:r.value,input:n.value,inst:t,continue:!r.abort})}}),Ja=p(\"$ZodCheckNumberFormat\",(t,r)=>{F.init(t,r),r.format=r.format||\"float64\";let n=r.format?.includes(\"int\"),i=n?\"int\":\"number\",[e,o]=la[r.format];t._zod.onattach.push(a=>{let s=a._zod.bag;s.format=r.format,s.minimum=e,s.maximum=o,n&&(s.pattern=Aa)}),t._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:i,format:r.format,code:\"invalid_type\",continue:!1,input:s,inst:t});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:\"too_big\",maximum:Number.MAX_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:t,origin:i,inclusive:!0,continue:!r.abort}):a.issues.push({input:s,code:\"too_small\",minimum:Number.MIN_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:t,origin:i,inclusive:!0,continue:!r.abort});return}}s<e&&a.issues.push({origin:\"number\",input:s,code:\"too_small\",minimum:e,inclusive:!0,inst:t,continue:!r.abort}),s>o&&a.issues.push({origin:\"number\",input:s,code:\"too_big\",maximum:o,inclusive:!0,inst:t,continue:!r.abort})}}),Ha=p(\"$ZodCheckBigIntFormat\",(t,r)=>{F.init(t,r);let[n,i]=da[r.format];t._zod.onattach.push(e=>{let o=e._zod.bag;o.format=r.format,o.minimum=n,o.maximum=i}),t._zod.check=e=>{let o=e.value;o<n&&e.issues.push({origin:\"bigint\",input:o,code:\"too_small\",minimum:n,inclusive:!0,inst:t,continue:!r.abort}),o>i&&e.issues.push({origin:\"bigint\",input:o,code:\"too_big\",maximum:i,inclusive:!0,inst:t,continue:!r.abort})}}),Ka=p(\"$ZodCheckMaxSize\",(t,r)=>{var n;F.init(t,r),(n=t._zod.def).when??(n.when=i=>{let e=i.value;return!Ze(e)&&e.size!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<e&&(i._zod.bag.maximum=r.maximum)}),t._zod.check=i=>{let e=i.value;e.size<=r.maximum||i.issues.push({origin:ar(e),code:\"too_big\",maximum:r.maximum,inclusive:!0,input:e,inst:t,continue:!r.abort})}}),Ba=p(\"$ZodCheckMinSize\",(t,r)=>{var n;F.init(t,r),(n=t._zod.def).when??(n.when=i=>{let e=i.value;return!Ze(e)&&e.size!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>e&&(i._zod.bag.minimum=r.minimum)}),t._zod.check=i=>{let e=i.value;e.size>=r.minimum||i.issues.push({origin:ar(e),code:\"too_small\",minimum:r.minimum,inclusive:!0,input:e,inst:t,continue:!r.abort})}}),Wa=p(\"$ZodCheckSizeEquals\",(t,r)=>{var n;F.init(t,r),(n=t._zod.def).when??(n.when=i=>{let e=i.value;return!Ze(e)&&e.size!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag;e.minimum=r.size,e.maximum=r.size,e.size=r.size}),t._zod.check=i=>{let e=i.value,o=e.size;if(o===r.size)return;let a=o>r.size;i.issues.push({origin:ar(e),...a?{code:\"too_big\",maximum:r.size}:{code:\"too_small\",minimum:r.size},inclusive:!0,exact:!0,input:i.value,inst:t,continue:!r.abort})}}),Ga=p(\"$ZodCheckMaxLength\",(t,r)=>{var n;F.init(t,r),(n=t._zod.def).when??(n.when=i=>{let e=i.value;return!Ze(e)&&e.length!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<e&&(i._zod.bag.maximum=r.maximum)}),t._zod.check=i=>{let e=i.value;if(e.length<=r.maximum)return;let a=sr(e);i.issues.push({origin:a,code:\"too_big\",maximum:r.maximum,inclusive:!0,input:e,inst:t,continue:!r.abort})}}),Qa=p(\"$ZodCheckMinLength\",(t,r)=>{var n;F.init(t,r),(n=t._zod.def).when??(n.when=i=>{let e=i.value;return!Ze(e)&&e.length!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>e&&(i._zod.bag.minimum=r.minimum)}),t._zod.check=i=>{let e=i.value;if(e.length>=r.minimum)return;let a=sr(e);i.issues.push({origin:a,code:\"too_small\",minimum:r.minimum,inclusive:!0,input:e,inst:t,continue:!r.abort})}}),Xa=p(\"$ZodCheckLengthEquals\",(t,r)=>{var n;F.init(t,r),(n=t._zod.def).when??(n.when=i=>{let e=i.value;return!Ze(e)&&e.length!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag;e.minimum=r.length,e.maximum=r.length,e.length=r.length}),t._zod.check=i=>{let e=i.value,o=e.length;if(o===r.length)return;let a=sr(e),s=o>r.length;i.issues.push({origin:a,...s?{code:\"too_big\",maximum:r.length}:{code:\"too_small\",minimum:r.length},inclusive:!0,exact:!0,input:i.value,inst:t,continue:!r.abort})}}),Ut=p(\"$ZodCheckStringFormat\",(t,r)=>{var n,i;F.init(t,r),t._zod.onattach.push(e=>{let o=e._zod.bag;o.format=r.format,r.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(r.pattern))}),r.pattern?(n=t._zod).check??(n.check=e=>{r.pattern.lastIndex=0,!r.pattern.test(e.value)&&e.issues.push({origin:\"string\",code:\"invalid_format\",format:r.format,input:e.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:t,continue:!r.abort})}):(i=t._zod).check??(i.check=()=>{})}),Ya=p(\"$ZodCheckRegex\",(t,r)=>{Ut.init(t,r),t._zod.check=n=>{r.pattern.lastIndex=0,!r.pattern.test(n.value)&&n.issues.push({origin:\"string\",code:\"invalid_format\",format:\"regex\",input:n.value,pattern:r.pattern.toString(),inst:t,continue:!r.abort})}}),es=p(\"$ZodCheckLowerCase\",(t,r)=>{r.pattern??(r.pattern=qa),Ut.init(t,r)}),ts=p(\"$ZodCheckUpperCase\",(t,r)=>{r.pattern??(r.pattern=Fa),Ut.init(t,r)}),rs=p(\"$ZodCheckIncludes\",(t,r)=>{F.init(t,r);let n=be(r.includes),i=new RegExp(typeof r.position==\"number\"?`^.{${r.position}}${n}`:n);r.pattern=i,t._zod.onattach.push(e=>{let o=e._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),t._zod.check=e=>{e.value.includes(r.includes,r.position)||e.issues.push({origin:\"string\",code:\"invalid_format\",format:\"includes\",includes:r.includes,input:e.value,inst:t,continue:!r.abort})}}),ns=p(\"$ZodCheckStartsWith\",(t,r)=>{F.init(t,r);let n=new RegExp(`^${be(r.prefix)}.*`);r.pattern??(r.pattern=n),t._zod.onattach.push(i=>{let e=i._zod.bag;e.patterns??(e.patterns=new Set),e.patterns.add(n)}),t._zod.check=i=>{i.value.startsWith(r.prefix)||i.issues.push({origin:\"string\",code:\"invalid_format\",format:\"starts_with\",prefix:r.prefix,input:i.value,inst:t,continue:!r.abort})}}),os=p(\"$ZodCheckEndsWith\",(t,r)=>{F.init(t,r);let n=new RegExp(`.*${be(r.suffix)}$`);r.pattern??(r.pattern=n),t._zod.onattach.push(i=>{let e=i._zod.bag;e.patterns??(e.patterns=new Set),e.patterns.add(n)}),t._zod.check=i=>{i.value.endsWith(r.suffix)||i.issues.push({origin:\"string\",code:\"invalid_format\",format:\"ends_with\",suffix:r.suffix,input:i.value,inst:t,continue:!r.abort})}});is=p(\"$ZodCheckProperty\",(t,r)=>{F.init(t,r),t._zod.check=n=>{let i=r.schema._zod.run({value:n.value[r.property],issues:[]},{});if(i instanceof Promise)return i.then(e=>np(e,n,r.property));np(i,n,r.property)}}),as=p(\"$ZodCheckMimeType\",(t,r)=>{F.init(t,r);let n=new Set(r.mime);t._zod.onattach.push(i=>{i._zod.bag.mime=r.mime}),t._zod.check=i=>{n.has(i.value.type)||i.issues.push({code:\"invalid_value\",values:r.mime,input:i.value.type,inst:t,continue:!r.abort})}}),ss=p(\"$ZodCheckOverwrite\",(t,r)=>{F.init(t,r),t._zod.check=n=>{n.value=r.tx(n.value)}})});var fr,cs=x(()=>{fr=class{constructor(r=[]){this.content=[],this.indent=0,this&&(this.args=r)}indented(r){this.indent+=1,r(this),this.indent-=1}write(r){if(typeof r==\"function\"){r(this,{execution:\"sync\"}),r(this,{execution:\"async\"});return}let i=r.split(`\n`).filter(a=>a),e=Math.min(...i.map(a=>a.length-a.trimStart().length)),o=i.map(a=>a.slice(e)).map(a=>\" \".repeat(this.indent*2)+a);for(let a of o)this.content.push(a)}compile(){let r=Function,n=this?.args,e=[...(this?.content??[\"\"]).map(o=>` ${o}`)];return new r(...n,e.join(`\n`))}}});var us,ls=x(()=>{us={major:4,minor:4,patch:3}});function Ds(t){if(t===\"\")return!0;if(/\\s/.test(t)||t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}function yp(t){if(!Mn.test(t))return!1;let r=t.replace(/[-_]/g,i=>i===\"-\"?\"+\":\"/\"),n=r.padEnd(Math.ceil(r.length/4)*4,\"=\");return Ds(n)}function _p(t,r=null){try{let n=t.split(\".\");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let e=JSON.parse(atob(i));return!(\"typ\"in e&&e?.typ!==\"JWT\"||!e.alg||r&&(!(\"alg\"in e)||e.alg!==r))}catch{return!1}}function ap(t,r,n){t.issues.length&&r.issues.push(...pe(n,t.issues)),r.value[n]=t.value}function Gn(t,r,n,i,e,o){let a=n in i;if(t.issues.length){if(e&&o&&!a)return;r.issues.push(...pe(n,t.issues))}if(!a&&!e){t.issues.length||r.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:void 0,path:[n]});return}t.value===void 0?a&&(r.value[n]=void 0):r.value[n]=t.value}function xp(t){let r=Object.keys(t.shape);for(let i of r)if(!t.shape?.[i]?._zod?.traits?.has(\"$ZodType\"))throw new Error(`Invalid element at key \"${i}\": expected a Zod schema`);let n=ua(t.shape);return{...t,keys:r,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(n)}}function kp(t,r,n,i,e,o){let a=[],s=e.keySet,u=e.catchall._zod,l=u.def.type,d=u.optin===\"optional\",g=u.optout===\"optional\";for(let h in r){if(h===\"__proto__\"||s.has(h))continue;if(l===\"never\"){a.push(h);continue}let v=u.run({value:r[h],issues:[]},i);v instanceof Promise?t.push(v.then(I=>Gn(I,n,h,r,d,g))):Gn(v,n,h,r,d,g)}return a.length&&n.issues.push({code:\"unrecognized_keys\",keys:a,input:r,inst:o}),t.length?Promise.all(t).then(()=>n):n}function sp(t,r,n,i){for(let o of t)if(o.issues.length===0)return r.value=o.value,r;let e=t.filter(o=>!Ce(o));return e.length===1?(r.value=e[0].value,e[0]):(r.issues.push({code:\"invalid_union\",input:r.value,inst:n,errors:t.map(o=>o.issues.map(a=>ue(a,i,J())))}),r)}function cp(t,r,n,i){let e=t.filter(o=>o.issues.length===0);return e.length===1?(r.value=e[0].value,r):(e.length===0?r.issues.push({code:\"invalid_union\",input:r.value,inst:n,errors:t.map(o=>o.issues.map(a=>ue(a,i,J())))}):r.issues.push({code:\"invalid_union\",input:r.value,inst:n,errors:[],inclusive:!1}),r)}function ds(t,r){if(t===r)return{valid:!0,data:t};if(t instanceof Date&&r instanceof Date&&+t==+r)return{valid:!0,data:t};if(Ae(t)&&Ae(r)){let n=Object.keys(r),i=Object.keys(t).filter(o=>n.indexOf(o)!==-1),e={...t,...r};for(let o of i){let a=ds(t[o],r[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};e[o]=a.data}return{valid:!0,data:e}}if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<t.length;i++){let e=t[i],o=r[i],a=ds(e,o);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function up(t,r,n){let i=new Map,e;for(let s of r.issues)if(s.code===\"unrecognized_keys\"){e??(e=s);for(let u of s.keys)i.has(u)||i.set(u,{}),i.get(u).l=!0}else t.issues.push(s);for(let s of n.issues)if(s.code===\"unrecognized_keys\")for(let u of s.keys)i.has(u)||i.set(u,{}),i.get(u).r=!0;else t.issues.push(s);let o=[...i].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(o.length&&e&&t.issues.push({...e,keys:o}),Ce(t))return t;let a=ds(r.value,n.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return t.value=a.data,t}function lp(t,r){for(let n=t.length-1;n>=0;n--)if(t[n]._zod[r]!==\"optional\")return n+1;return 0}function dp(t,r,n){t.issues.length&&r.issues.push(...pe(n,t.issues)),r.value[n]=t.value}function pp(t,r,n,i,e){for(let o=0;o<n.length;o++){let a=t[o],s=o<i.length;if(a.issues.length){if(!s&&o>=e){r.value.length=o;break}r.issues.push(...pe(o,a.issues))}r.value[o]=a.value}for(let o=r.value.length-1;o>=i.length&&(n[o]._zod.optout===\"optional\"&&r.value[o]===void 0);o--)r.value.length=o;return r}function mp(t,r,n,i,e,o,a){t.issues.length&&(ir.has(typeof i)?n.issues.push(...pe(i,t.issues)):n.issues.push({code:\"invalid_key\",origin:\"map\",input:e,inst:o,issues:t.issues.map(s=>ue(s,a,J()))})),r.issues.length&&(ir.has(typeof i)?n.issues.push(...pe(i,r.issues)):n.issues.push({origin:\"map\",code:\"invalid_element\",input:e,inst:o,key:i,issues:r.issues.map(s=>ue(s,a,J()))})),n.value.set(t.value,r.value)}function fp(t,r){t.issues.length&&r.issues.push(...t.issues),r.value.add(t.value)}function gp(t,r){return r===void 0&&(t.issues.length||t.fallback)?{issues:[],value:void 0}:t}function hp(t,r){return t.value===void 0&&(t.value=r.defaultValue),t}function vp(t,r){return!t.issues.length&&t.value===void 0&&t.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:t.value,inst:r}),t}function Kn(t,r,n){return t.issues.length?(t.aborted=!0,t):r._zod.run({value:t.value,issues:t.issues,fallback:t.fallback},n)}function Bn(t,r,n){if(t.issues.length)return t.aborted=!0,t;if((n.direction||\"forward\")===\"forward\"){let e=r.transform(t.value,t);return e instanceof Promise?e.then(o=>Wn(t,o,r.out,n)):Wn(t,e,r.out,n)}else{let e=r.reverseTransform(t.value,t);return e instanceof Promise?e.then(o=>Wn(t,o,r.in,n)):Wn(t,e,r.in,n)}}function Wn(t,r,n,i){return t.issues.length?(t.aborted=!0,t):n._zod.run({value:r,issues:t.issues},i)}function bp(t){return t.value=Object.freeze(t.value),t}function $p(t,r,n,i){if(!t){let e={code:\"custom\",input:n,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(e.params=i._zod.def.params),r.issues.push(St(e))}}var P,et,L,ps,ms,fs,gs,hs,vs,bs,$s,ys,_s,xs,ks,zs,Ss,ws,Is,Ps,js,Ts,Os,Us,Es,Ns,Zs,Rs,Qn,As,gr,Xn,Cs,Ls,Ms,qs,Fs,Vs,Js,Hs,Ks,Bs,zp,Ws,hr,Gs,Qs,Xs,Yn,Ys,ec,tc,rc,nc,oc,ic,eo,ac,sc,cc,uc,lc,dc,pc,mc,to,vr,fc,gc,hc,vc,bc,$c,yc,_c=x(()=>{Hn();Qe();cs();fa();Fn();S();ls();S();P=p(\"$ZodType\",(t,r)=>{var n;t??(t={}),t._zod.def=r,t._zod.bag=t._zod.bag||{},t._zod.version=us;let i=[...t._zod.def.checks??[]];t._zod.traits.has(\"$ZodCheck\")&&i.unshift(t);for(let e of i)for(let o of e._zod.onattach)o(t);if(i.length===0)(n=t._zod).deferred??(n.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{let e=(a,s,u)=>{let l=Ce(a),d;for(let g of s){if(g._zod.def.when){if(pa(a)||!g._zod.def.when(a))continue}else if(l)continue;let h=a.issues.length,v=g._zod.check(a);if(v instanceof Promise&&u?.async===!1)throw new xe;if(d||v instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await v,a.issues.length!==h&&(l||(l=Ce(a,h)))});else{if(a.issues.length===h)continue;l||(l=Ce(a,h))}}return d?d.then(()=>a):a},o=(a,s,u)=>{if(Ce(a))return a.aborted=!0,a;let l=e(s,i,u);if(l instanceof Promise){if(u.async===!1)throw new xe;return l.then(d=>t._zod.parse(d,u))}return t._zod.parse(l,u)};t._zod.run=(a,s)=>{if(s.skipChecks)return t._zod.parse(a,s);if(s.direction===\"backward\"){let l=t._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return l instanceof Promise?l.then(d=>o(d,a,s)):o(l,a,s)}let u=t._zod.parse(a,s);if(u instanceof Promise){if(s.async===!1)throw new xe;return u.then(l=>e(l,i,s))}return e(u,i,s)}}O(t,\"~standard\",()=>({validate:e=>{try{let o=Ot(t,e);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return dr(t,e).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:\"zod\",version:1}))}),et=p(\"$ZodString\",(t,r)=>{P.init(t,r),t._zod.pattern=[...t?._zod.bag?.patterns??[]].pop()??Za(t._zod.bag),t._zod.parse=(n,i)=>{if(r.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:t}),n}}),L=p(\"$ZodStringFormat\",(t,r)=>{Ut.init(t,r),et.init(t,r)}),ps=p(\"$ZodGUID\",(t,r)=>{r.pattern??(r.pattern=xa),L.init(t,r)}),ms=p(\"$ZodUUID\",(t,r)=>{if(r.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(i===void 0)throw new Error(`Invalid UUID version: \"${r.version}\"`);r.pattern??(r.pattern=Ye(i))}else r.pattern??(r.pattern=Ye());L.init(t,r)}),fs=p(\"$ZodEmail\",(t,r)=>{r.pattern??(r.pattern=ka),L.init(t,r)}),gs=p(\"$ZodURL\",(t,r)=>{L.init(t,r),t._zod.check=n=>{try{let i=n.value.trim();if(!r.normalize&&r.protocol?.source===Oa.source&&!/^https?:\\/\\//i.test(i)){n.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid URL format\",input:n.value,inst:t,continue:!r.abort});return}let e=new URL(i);r.hostname&&(r.hostname.lastIndex=0,r.hostname.test(e.hostname)||n.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid hostname\",pattern:r.hostname.source,input:n.value,inst:t,continue:!r.abort})),r.protocol&&(r.protocol.lastIndex=0,r.protocol.test(e.protocol.endsWith(\":\")?e.protocol.slice(0,-1):e.protocol)||n.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid protocol\",pattern:r.protocol.source,input:n.value,inst:t,continue:!r.abort})),r.normalize?n.value=e.href:n.value=i;return}catch{n.issues.push({code:\"invalid_format\",format:\"url\",input:n.value,inst:t,continue:!r.abort})}}}),hs=p(\"$ZodEmoji\",(t,r)=>{r.pattern??(r.pattern=za()),L.init(t,r)}),vs=p(\"$ZodNanoID\",(t,r)=>{r.pattern??(r.pattern=ya),L.init(t,r)}),bs=p(\"$ZodCUID\",(t,r)=>{r.pattern??(r.pattern=ga),L.init(t,r)}),$s=p(\"$ZodCUID2\",(t,r)=>{r.pattern??(r.pattern=ha),L.init(t,r)}),ys=p(\"$ZodULID\",(t,r)=>{r.pattern??(r.pattern=va),L.init(t,r)}),_s=p(\"$ZodXID\",(t,r)=>{r.pattern??(r.pattern=ba),L.init(t,r)}),xs=p(\"$ZodKSUID\",(t,r)=>{r.pattern??(r.pattern=$a),L.init(t,r)}),ks=p(\"$ZodISODateTime\",(t,r)=>{r.pattern??(r.pattern=Na(r)),L.init(t,r)}),zs=p(\"$ZodISODate\",(t,r)=>{r.pattern??(r.pattern=Ua),L.init(t,r)}),Ss=p(\"$ZodISOTime\",(t,r)=>{r.pattern??(r.pattern=Ea(r)),L.init(t,r)}),ws=p(\"$ZodISODuration\",(t,r)=>{r.pattern??(r.pattern=_a),L.init(t,r)}),Is=p(\"$ZodIPv4\",(t,r)=>{r.pattern??(r.pattern=Sa),L.init(t,r),t._zod.bag.format=\"ipv4\"}),Ps=p(\"$ZodIPv6\",(t,r)=>{r.pattern??(r.pattern=wa),L.init(t,r),t._zod.bag.format=\"ipv6\",t._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:\"invalid_format\",format:\"ipv6\",input:n.value,inst:t,continue:!r.abort})}}}),js=p(\"$ZodMAC\",(t,r)=>{r.pattern??(r.pattern=Ia(r.delimiter)),L.init(t,r),t._zod.bag.format=\"mac\"}),Ts=p(\"$ZodCIDRv4\",(t,r)=>{r.pattern??(r.pattern=Pa),L.init(t,r)}),Os=p(\"$ZodCIDRv6\",(t,r)=>{r.pattern??(r.pattern=ja),L.init(t,r),t._zod.check=n=>{let i=n.value.split(\"/\");try{if(i.length!==2)throw new Error;let[e,o]=i;if(!o)throw new Error;let a=Number(o);if(`${a}`!==o)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${e}]`)}catch{n.issues.push({code:\"invalid_format\",format:\"cidrv6\",input:n.value,inst:t,continue:!r.abort})}}});Us=p(\"$ZodBase64\",(t,r)=>{r.pattern??(r.pattern=Ta),L.init(t,r),t._zod.bag.contentEncoding=\"base64\",t._zod.check=n=>{Ds(n.value)||n.issues.push({code:\"invalid_format\",format:\"base64\",input:n.value,inst:t,continue:!r.abort})}});Es=p(\"$ZodBase64URL\",(t,r)=>{r.pattern??(r.pattern=Mn),L.init(t,r),t._zod.bag.contentEncoding=\"base64url\",t._zod.check=n=>{yp(n.value)||n.issues.push({code:\"invalid_format\",format:\"base64url\",input:n.value,inst:t,continue:!r.abort})}}),Ns=p(\"$ZodE164\",(t,r)=>{r.pattern??(r.pattern=Da),L.init(t,r)});Zs=p(\"$ZodJWT\",(t,r)=>{L.init(t,r),t._zod.check=n=>{_p(n.value,r.alg)||n.issues.push({code:\"invalid_format\",format:\"jwt\",input:n.value,inst:t,continue:!r.abort})}}),Rs=p(\"$ZodCustomStringFormat\",(t,r)=>{L.init(t,r),t._zod.check=n=>{r.fn(n.value)||n.issues.push({code:\"invalid_format\",format:r.format,input:n.value,inst:t,continue:!r.abort})}}),Qn=p(\"$ZodNumber\",(t,r)=>{P.init(t,r),t._zod.pattern=t._zod.bag.pattern??qn,t._zod.parse=(n,i)=>{if(r.coerce)try{n.value=Number(n.value)}catch{}let e=n.value;if(typeof e==\"number\"&&!Number.isNaN(e)&&Number.isFinite(e))return n;let o=typeof e==\"number\"?Number.isNaN(e)?\"NaN\":Number.isFinite(e)?void 0:\"Infinity\":void 0;return n.issues.push({expected:\"number\",code:\"invalid_type\",input:e,inst:t,...o?{received:o}:{}}),n}}),As=p(\"$ZodNumberFormat\",(t,r)=>{Ja.init(t,r),Qn.init(t,r)}),gr=p(\"$ZodBoolean\",(t,r)=>{P.init(t,r),t._zod.pattern=Ca,t._zod.parse=(n,i)=>{if(r.coerce)try{n.value=!!n.value}catch{}let e=n.value;return typeof e==\"boolean\"||n.issues.push({expected:\"boolean\",code:\"invalid_type\",input:e,inst:t}),n}}),Xn=p(\"$ZodBigInt\",(t,r)=>{P.init(t,r),t._zod.pattern=Ra,t._zod.parse=(n,i)=>{if(r.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:t}),n}}),Cs=p(\"$ZodBigIntFormat\",(t,r)=>{Ha.init(t,r),Xn.init(t,r)}),Ls=p(\"$ZodSymbol\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{let e=n.value;return typeof e==\"symbol\"||n.issues.push({expected:\"symbol\",code:\"invalid_type\",input:e,inst:t}),n}}),Ms=p(\"$ZodUndefined\",(t,r)=>{P.init(t,r),t._zod.pattern=Ma,t._zod.values=new Set([void 0]),t._zod.parse=(n,i)=>{let e=n.value;return typeof e>\"u\"||n.issues.push({expected:\"undefined\",code:\"invalid_type\",input:e,inst:t}),n}}),qs=p(\"$ZodNull\",(t,r)=>{P.init(t,r),t._zod.pattern=La,t._zod.values=new Set([null]),t._zod.parse=(n,i)=>{let e=n.value;return e===null||n.issues.push({expected:\"null\",code:\"invalid_type\",input:e,inst:t}),n}}),Fs=p(\"$ZodAny\",(t,r)=>{P.init(t,r),t._zod.parse=n=>n}),Vs=p(\"$ZodUnknown\",(t,r)=>{P.init(t,r),t._zod.parse=n=>n}),Js=p(\"$ZodNever\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>(n.issues.push({expected:\"never\",code:\"invalid_type\",input:n.value,inst:t}),n)}),Hs=p(\"$ZodVoid\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{let e=n.value;return typeof e>\"u\"||n.issues.push({expected:\"void\",code:\"invalid_type\",input:e,inst:t}),n}}),Ks=p(\"$ZodDate\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{if(r.coerce)try{n.value=new Date(n.value)}catch{}let e=n.value,o=e instanceof Date;return o&&!Number.isNaN(e.getTime())||n.issues.push({expected:\"date\",code:\"invalid_type\",input:e,...o?{received:\"Invalid Date\"}:{},inst:t}),n}});Bs=p(\"$ZodArray\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{let e=n.value;if(!Array.isArray(e))return n.issues.push({expected:\"array\",code:\"invalid_type\",input:e,inst:t}),n;n.value=Array(e.length);let o=[];for(let a=0;a<e.length;a++){let s=e[a],u=r.element._zod.run({value:s,issues:[]},i);u instanceof Promise?o.push(u.then(l=>ap(l,n,a))):ap(u,n,a)}return o.length?Promise.all(o).then(()=>n):n}});zp=p(\"$ZodObject\",(t,r)=>{if(P.init(t,r),!Object.getOwnPropertyDescriptor(r,\"shape\")?.get){let s=r.shape;Object.defineProperty(r,\"shape\",{get:()=>{let u={...s};return Object.defineProperty(r,\"shape\",{value:u}),u}})}let i=zt(()=>xp(r));O(t._zod,\"propValues\",()=>{let s=r.shape,u={};for(let l in s){let d=s[l]._zod;if(d.values){u[l]??(u[l]=new Set);for(let g of d.values)u[l].add(g)}}return u});let e=Xe,o=r.catchall,a;t._zod.parse=(s,u)=>{a??(a=i.value);let l=s.value;if(!e(l))return s.issues.push({expected:\"object\",code:\"invalid_type\",input:l,inst:t}),s;s.value={};let d=[],g=a.shape;for(let h of a.keys){let v=g[h],I=v._zod.optin===\"optional\",te=v._zod.optout===\"optional\",H=v._zod.run({value:l[h],issues:[]},u);H instanceof Promise?d.push(H.then(xt=>Gn(xt,s,h,l,I,te))):Gn(H,s,h,l,I,te)}return o?kp(d,l,s,u,i.value,t):d.length?Promise.all(d).then(()=>s):s}}),Ws=p(\"$ZodObjectJIT\",(t,r)=>{zp.init(t,r);let n=t._zod.parse,i=zt(()=>xp(r)),e=h=>{let v=new fr([\"shape\",\"payload\",\"ctx\"]),I=i.value,te=K=>{let q=jn(K);return`shape[${q}]._zod.run({ value: input[${q}], issues: [] }, ctx)`};v.write(\"const input = payload.value;\");let H=Object.create(null),xt=0;for(let K of I.keys)H[K]=`key_${xt++}`;v.write(\"const newResult = {};\");for(let K of I.keys){let q=H[K],re=jn(K),Ad=h[K],Cd=Ad?._zod?.optin===\"optional\",fg=Ad?._zod?.optout===\"optional\";v.write(`const ${q} = ${te(K)};`),Cd&&fg?v.write(`\n if (${q}.issues.length) {\n if (${re} in input) {\n payload.issues = payload.issues.concat(${q}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${re}, ...iss.path] : [${re}]\n })));\n }\n }\n \n if (${q}.value === undefined) {\n if (${re} in input) {\n newResult[${re}] = undefined;\n }\n } else {\n newResult[${re}] = ${q}.value;\n }\n \n `):Cd?v.write(`\n if (${q}.issues.length) {\n payload.issues = payload.issues.concat(${q}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${re}, ...iss.path] : [${re}]\n })));\n }\n \n if (${q}.value === undefined) {\n if (${re} in input) {\n newResult[${re}] = undefined;\n }\n } else {\n newResult[${re}] = ${q}.value;\n }\n \n `):v.write(`\n const ${q}_present = ${re} in input;\n if (${q}.issues.length) {\n payload.issues = payload.issues.concat(${q}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${re}, ...iss.path] : [${re}]\n })));\n }\n if (!${q}_present && !${q}.issues.length) {\n payload.issues.push({\n code: \"invalid_type\",\n expected: \"nonoptional\",\n input: undefined,\n path: [${re}]\n });\n }\n\n if (${q}_present) {\n if (${q}.value === undefined) {\n newResult[${re}] = undefined;\n } else {\n newResult[${re}] = ${q}.value;\n }\n }\n\n `)}v.write(\"payload.value = newResult;\"),v.write(\"return payload;\");let Q=v.compile();return(K,q)=>Q(h,K,q)},o,a=Xe,s=!Ge.jitless,l=s&&aa.value,d=r.catchall,g;t._zod.parse=(h,v)=>{g??(g=i.value);let I=h.value;return a(I)?s&&l&&v?.async===!1&&v.jitless!==!0?(o||(o=e(r.shape)),h=o(h,v),d?kp([],I,h,v,g,t):h):n(h,v):(h.issues.push({expected:\"object\",code:\"invalid_type\",input:I,inst:t}),h)}});hr=p(\"$ZodUnion\",(t,r)=>{P.init(t,r),O(t._zod,\"optin\",()=>r.options.some(i=>i._zod.optin===\"optional\")?\"optional\":void 0),O(t._zod,\"optout\",()=>r.options.some(i=>i._zod.optout===\"optional\")?\"optional\":void 0),O(t._zod,\"values\",()=>{if(r.options.every(i=>i._zod.values))return new Set(r.options.flatMap(i=>Array.from(i._zod.values)))}),O(t._zod,\"pattern\",()=>{if(r.options.every(i=>i._zod.pattern)){let i=r.options.map(e=>e._zod.pattern);return new RegExp(`^(${i.map(e=>or(e.source)).join(\"|\")})$`)}});let n=r.options.length===1?r.options[0]._zod.run:null;t._zod.parse=(i,e)=>{if(n)return n(i,e);let o=!1,a=[];for(let s of r.options){let u=s._zod.run({value:i.value,issues:[]},e);if(u instanceof Promise)a.push(u),o=!0;else{if(u.issues.length===0)return u;a.push(u)}}return o?Promise.all(a).then(s=>sp(s,i,t,e)):sp(a,i,t,e)}});Gs=p(\"$ZodXor\",(t,r)=>{hr.init(t,r),r.inclusive=!1;let n=r.options.length===1?r.options[0]._zod.run:null;t._zod.parse=(i,e)=>{if(n)return n(i,e);let o=!1,a=[];for(let s of r.options){let u=s._zod.run({value:i.value,issues:[]},e);u instanceof Promise?(a.push(u),o=!0):a.push(u)}return o?Promise.all(a).then(s=>cp(s,i,t,e)):cp(a,i,t,e)}}),Qs=p(\"$ZodDiscriminatedUnion\",(t,r)=>{r.inclusive=!1,hr.init(t,r);let n=t._zod.parse;O(t._zod,\"propValues\",()=>{let e={};for(let o of r.options){let a=o._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index \"${r.options.indexOf(o)}\"`);for(let[s,u]of Object.entries(a)){e[s]||(e[s]=new Set);for(let l of u)e[s].add(l)}}return e});let i=zt(()=>{let e=r.options,o=new Map;for(let a of e){let s=a._zod.propValues?.[r.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index \"${r.options.indexOf(a)}\"`);for(let u of s){if(o.has(u))throw new Error(`Duplicate discriminator value \"${String(u)}\"`);o.set(u,a)}}return o});t._zod.parse=(e,o)=>{let a=e.value;if(!Xe(a))return e.issues.push({code:\"invalid_type\",expected:\"object\",input:a,inst:t}),e;let s=i.value.get(a?.[r.discriminator]);return s?s._zod.run(e,o):r.unionFallback||o.direction===\"backward\"?n(e,o):(e.issues.push({code:\"invalid_union\",errors:[],note:\"No matching discriminator\",discriminator:r.discriminator,options:Array.from(i.value.keys()),input:a,path:[r.discriminator],inst:t}),e)}}),Xs=p(\"$ZodIntersection\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{let e=n.value,o=r.left._zod.run({value:e,issues:[]},i),a=r.right._zod.run({value:e,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([u,l])=>up(n,u,l)):up(n,o,a)}});Yn=p(\"$ZodTuple\",(t,r)=>{P.init(t,r);let n=r.items;t._zod.parse=(i,e)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:t,expected:\"tuple\",code:\"invalid_type\"}),i;i.value=[];let a=[],s=lp(n,\"optin\"),u=lp(n,\"optout\");if(!r.rest){if(o.length<s)return i.issues.push({code:\"too_small\",minimum:s,inclusive:!0,input:o,inst:t,origin:\"array\"}),i;o.length>n.length&&i.issues.push({code:\"too_big\",maximum:n.length,inclusive:!0,input:o,inst:t,origin:\"array\"})}let l=new Array(n.length);for(let d=0;d<n.length;d++){let g=n[d]._zod.run({value:o[d],issues:[]},e);g instanceof Promise?a.push(g.then(h=>{l[d]=h})):l[d]=g}if(r.rest){let d=n.length-1,g=o.slice(n.length);for(let h of g){d++;let v=r.rest._zod.run({value:h,issues:[]},e);v instanceof Promise?a.push(v.then(I=>dp(I,i,d))):dp(v,i,d)}}return a.length?Promise.all(a).then(()=>pp(l,i,n,o,u)):pp(l,i,n,o,u)}});Ys=p(\"$ZodRecord\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{let e=n.value;if(!Ae(e))return n.issues.push({expected:\"record\",code:\"invalid_type\",input:e,inst:t}),n;let o=[],a=r.keyType._zod.values;if(a){n.value={};let s=new Set;for(let l of a)if(typeof l==\"string\"||typeof l==\"number\"||typeof l==\"symbol\"){s.add(typeof l==\"number\"?l.toString():l);let d=r.keyType._zod.run({value:l,issues:[]},i);if(d instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(d.issues.length){n.issues.push({code:\"invalid_key\",origin:\"record\",issues:d.issues.map(v=>ue(v,i,J())),input:l,path:[l],inst:t});continue}let g=d.value,h=r.valueType._zod.run({value:e[l],issues:[]},i);h instanceof Promise?o.push(h.then(v=>{v.issues.length&&n.issues.push(...pe(l,v.issues)),n.value[g]=v.value})):(h.issues.length&&n.issues.push(...pe(l,h.issues)),n.value[g]=h.value)}let u;for(let l in e)s.has(l)||(u=u??[],u.push(l));u&&u.length>0&&n.issues.push({code:\"unrecognized_keys\",input:e,inst:t,keys:u})}else{n.value={};for(let s of Reflect.ownKeys(e)){if(s===\"__proto__\"||!Object.prototype.propertyIsEnumerable.call(e,s))continue;let u=r.keyType._zod.run({value:s,issues:[]},i);if(u instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(typeof s==\"string\"&&qn.test(s)&&u.issues.length){let g=r.keyType._zod.run({value:Number(s),issues:[]},i);if(g instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");g.issues.length===0&&(u=g)}if(u.issues.length){r.mode===\"loose\"?n.value[s]=e[s]:n.issues.push({code:\"invalid_key\",origin:\"record\",issues:u.issues.map(g=>ue(g,i,J())),input:s,path:[s],inst:t});continue}let d=r.valueType._zod.run({value:e[s],issues:[]},i);d instanceof Promise?o.push(d.then(g=>{g.issues.length&&n.issues.push(...pe(s,g.issues)),n.value[u.value]=g.value})):(d.issues.length&&n.issues.push(...pe(s,d.issues)),n.value[u.value]=d.value)}}return o.length?Promise.all(o).then(()=>n):n}}),ec=p(\"$ZodMap\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{let e=n.value;if(!(e instanceof Map))return n.issues.push({expected:\"map\",code:\"invalid_type\",input:e,inst:t}),n;let o=[];n.value=new Map;for(let[a,s]of e){let u=r.keyType._zod.run({value:a,issues:[]},i),l=r.valueType._zod.run({value:s,issues:[]},i);u instanceof Promise||l instanceof Promise?o.push(Promise.all([u,l]).then(([d,g])=>{mp(d,g,n,a,e,t,i)})):mp(u,l,n,a,e,t,i)}return o.length?Promise.all(o).then(()=>n):n}});tc=p(\"$ZodSet\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{let e=n.value;if(!(e instanceof Set))return n.issues.push({input:e,inst:t,expected:\"set\",code:\"invalid_type\"}),n;let o=[];n.value=new Set;for(let a of e){let s=r.valueType._zod.run({value:a,issues:[]},i);s instanceof Promise?o.push(s.then(u=>fp(u,n))):fp(s,n)}return o.length?Promise.all(o).then(()=>n):n}});rc=p(\"$ZodEnum\",(t,r)=>{P.init(t,r);let n=nr(r.entries),i=new Set(n);t._zod.values=i,t._zod.pattern=new RegExp(`^(${n.filter(e=>ir.has(typeof e)).map(e=>typeof e==\"string\"?be(e):e.toString()).join(\"|\")})$`),t._zod.parse=(e,o)=>{let a=e.value;return i.has(a)||e.issues.push({code:\"invalid_value\",values:n,input:a,inst:t}),e}}),nc=p(\"$ZodLiteral\",(t,r)=>{if(P.init(t,r),r.values.length===0)throw new Error(\"Cannot create literal schema with no valid values\");let n=new Set(r.values);t._zod.values=n,t._zod.pattern=new RegExp(`^(${r.values.map(i=>typeof i==\"string\"?be(i):i?be(i.toString()):String(i)).join(\"|\")})$`),t._zod.parse=(i,e)=>{let o=i.value;return n.has(o)||i.issues.push({code:\"invalid_value\",values:r.values,input:o,inst:t}),i}}),oc=p(\"$ZodFile\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{let e=n.value;return e instanceof File||n.issues.push({expected:\"file\",code:\"invalid_type\",input:e,inst:t}),n}}),ic=p(\"$ZodTransform\",(t,r)=>{P.init(t,r),t._zod.optin=\"optional\",t._zod.parse=(n,i)=>{if(i.direction===\"backward\")throw new Ne(t.constructor.name);let e=r.transform(n.value,n);if(i.async)return(e instanceof Promise?e:Promise.resolve(e)).then(a=>(n.value=a,n.fallback=!0,n));if(e instanceof Promise)throw new xe;return n.value=e,n.fallback=!0,n}});eo=p(\"$ZodOptional\",(t,r)=>{P.init(t,r),t._zod.optin=\"optional\",t._zod.optout=\"optional\",O(t._zod,\"values\",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,void 0]):void 0),O(t._zod,\"pattern\",()=>{let n=r.innerType._zod.pattern;return n?new RegExp(`^(${or(n.source)})?$`):void 0}),t._zod.parse=(n,i)=>{if(r.innerType._zod.optin===\"optional\"){let e=n.value,o=r.innerType._zod.run(n,i);return o instanceof Promise?o.then(a=>gp(a,e)):gp(o,e)}return n.value===void 0?n:r.innerType._zod.run(n,i)}}),ac=p(\"$ZodExactOptional\",(t,r)=>{eo.init(t,r),O(t._zod,\"values\",()=>r.innerType._zod.values),O(t._zod,\"pattern\",()=>r.innerType._zod.pattern),t._zod.parse=(n,i)=>r.innerType._zod.run(n,i)}),sc=p(\"$ZodNullable\",(t,r)=>{P.init(t,r),O(t._zod,\"optin\",()=>r.innerType._zod.optin),O(t._zod,\"optout\",()=>r.innerType._zod.optout),O(t._zod,\"pattern\",()=>{let n=r.innerType._zod.pattern;return n?new RegExp(`^(${or(n.source)}|null)$`):void 0}),O(t._zod,\"values\",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,null]):void 0),t._zod.parse=(n,i)=>n.value===null?n:r.innerType._zod.run(n,i)}),cc=p(\"$ZodDefault\",(t,r)=>{P.init(t,r),t._zod.optin=\"optional\",O(t._zod,\"values\",()=>r.innerType._zod.values),t._zod.parse=(n,i)=>{if(i.direction===\"backward\")return r.innerType._zod.run(n,i);if(n.value===void 0)return n.value=r.defaultValue,n;let e=r.innerType._zod.run(n,i);return e instanceof Promise?e.then(o=>hp(o,r)):hp(e,r)}});uc=p(\"$ZodPrefault\",(t,r)=>{P.init(t,r),t._zod.optin=\"optional\",O(t._zod,\"values\",()=>r.innerType._zod.values),t._zod.parse=(n,i)=>(i.direction===\"backward\"||n.value===void 0&&(n.value=r.defaultValue),r.innerType._zod.run(n,i))}),lc=p(\"$ZodNonOptional\",(t,r)=>{P.init(t,r),O(t._zod,\"values\",()=>{let n=r.innerType._zod.values;return n?new Set([...n].filter(i=>i!==void 0)):void 0}),t._zod.parse=(n,i)=>{let e=r.innerType._zod.run(n,i);return e instanceof Promise?e.then(o=>vp(o,t)):vp(e,t)}});dc=p(\"$ZodSuccess\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>{if(i.direction===\"backward\")throw new Ne(\"ZodSuccess\");let e=r.innerType._zod.run(n,i);return e instanceof Promise?e.then(o=>(n.value=o.issues.length===0,n)):(n.value=e.issues.length===0,n)}}),pc=p(\"$ZodCatch\",(t,r)=>{P.init(t,r),t._zod.optin=\"optional\",O(t._zod,\"optout\",()=>r.innerType._zod.optout),O(t._zod,\"values\",()=>r.innerType._zod.values),t._zod.parse=(n,i)=>{if(i.direction===\"backward\")return r.innerType._zod.run(n,i);let e=r.innerType._zod.run(n,i);return e instanceof Promise?e.then(o=>(n.value=o.value,o.issues.length&&(n.value=r.catchValue({...n,error:{issues:o.issues.map(a=>ue(a,i,J()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=e.value,e.issues.length&&(n.value=r.catchValue({...n,error:{issues:e.issues.map(o=>ue(o,i,J()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),mc=p(\"$ZodNaN\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>((typeof n.value!=\"number\"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:t,expected:\"nan\",code:\"invalid_type\"}),n)}),to=p(\"$ZodPipe\",(t,r)=>{P.init(t,r),O(t._zod,\"values\",()=>r.in._zod.values),O(t._zod,\"optin\",()=>r.in._zod.optin),O(t._zod,\"optout\",()=>r.out._zod.optout),O(t._zod,\"propValues\",()=>r.in._zod.propValues),t._zod.parse=(n,i)=>{if(i.direction===\"backward\"){let o=r.out._zod.run(n,i);return o instanceof Promise?o.then(a=>Kn(a,r.in,i)):Kn(o,r.in,i)}let e=r.in._zod.run(n,i);return e instanceof Promise?e.then(o=>Kn(o,r.out,i)):Kn(e,r.out,i)}});vr=p(\"$ZodCodec\",(t,r)=>{P.init(t,r),O(t._zod,\"values\",()=>r.in._zod.values),O(t._zod,\"optin\",()=>r.in._zod.optin),O(t._zod,\"optout\",()=>r.out._zod.optout),O(t._zod,\"propValues\",()=>r.in._zod.propValues),t._zod.parse=(n,i)=>{if((i.direction||\"forward\")===\"forward\"){let o=r.in._zod.run(n,i);return o instanceof Promise?o.then(a=>Bn(a,r,i)):Bn(o,r,i)}else{let o=r.out._zod.run(n,i);return o instanceof Promise?o.then(a=>Bn(a,r,i)):Bn(o,r,i)}}});fc=p(\"$ZodPreprocess\",(t,r)=>{to.init(t,r)}),gc=p(\"$ZodReadonly\",(t,r)=>{P.init(t,r),O(t._zod,\"propValues\",()=>r.innerType._zod.propValues),O(t._zod,\"values\",()=>r.innerType._zod.values),O(t._zod,\"optin\",()=>r.innerType?._zod?.optin),O(t._zod,\"optout\",()=>r.innerType?._zod?.optout),t._zod.parse=(n,i)=>{if(i.direction===\"backward\")return r.innerType._zod.run(n,i);let e=r.innerType._zod.run(n,i);return e instanceof Promise?e.then(bp):bp(e)}});hc=p(\"$ZodTemplateLiteral\",(t,r)=>{P.init(t,r);let n=[];for(let i of r.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 e=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!e)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let o=e.startsWith(\"^\")?1:0,a=e.endsWith(\"$\")?e.length-1:e.length;n.push(e.slice(o,a))}else if(i===null||ca.has(typeof i))n.push(be(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);t._zod.pattern=new RegExp(`^${n.join(\"\")}$`),t._zod.parse=(i,e)=>typeof i.value!=\"string\"?(i.issues.push({input:i.value,inst:t,expected:\"string\",code:\"invalid_type\"}),i):(t._zod.pattern.lastIndex=0,t._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:t,code:\"invalid_format\",format:r.format??\"template_literal\",pattern:t._zod.pattern.source}),i)}),vc=p(\"$ZodFunction\",(t,r)=>(P.init(t,r),t._def=r,t._zod.def=r,t.implement=n=>{if(typeof n!=\"function\")throw new Error(\"implement() must be called with a function\");return function(...i){let e=t._def.input?ur(t._def.input,i):i,o=Reflect.apply(n,this,e);return t._def.output?ur(t._def.output,o):o}},t.implementAsync=n=>{if(typeof n!=\"function\")throw new Error(\"implementAsync() must be called with a function\");return async function(...i){let e=t._def.input?await lr(t._def.input,i):i,o=await Reflect.apply(n,this,e);return t._def.output?await lr(t._def.output,o):o}},t._zod.parse=(n,i)=>typeof n.value!=\"function\"?(n.issues.push({code:\"invalid_type\",expected:\"function\",input:n.value,inst:t}),n):(t._def.output&&t._def.output._zod.def.type===\"promise\"?n.value=t.implementAsync(n.value):n.value=t.implement(n.value),n),t.input=(...n)=>{let i=t.constructor;return Array.isArray(n[0])?new i({type:\"function\",input:new Yn({type:\"tuple\",items:n[0],rest:n[1]}),output:t._def.output}):new i({type:\"function\",input:n[0],output:t._def.output})},t.output=n=>{let i=t.constructor;return new i({type:\"function\",input:t._def.input,output:n})},t)),bc=p(\"$ZodPromise\",(t,r)=>{P.init(t,r),t._zod.parse=(n,i)=>Promise.resolve(n.value).then(e=>r.innerType._zod.run({value:e,issues:[]},i))}),$c=p(\"$ZodLazy\",(t,r)=>{P.init(t,r),O(t._zod,\"innerType\",()=>{let n=r;return n._cachedInner||(n._cachedInner=r.getter()),n._cachedInner}),O(t._zod,\"pattern\",()=>t._zod.innerType?._zod?.pattern),O(t._zod,\"propValues\",()=>t._zod.innerType?._zod?.propValues),O(t._zod,\"optin\",()=>t._zod.innerType?._zod?.optin??void 0),O(t._zod,\"optout\",()=>t._zod.innerType?._zod?.optout??void 0),t._zod.parse=(n,i)=>t._zod.innerType._zod.run(n,i)}),yc=p(\"$ZodCustom\",(t,r)=>{F.init(t,r),P.init(t,r),t._zod.parse=(n,i)=>n,t._zod.check=n=>{let i=n.value,e=r.fn(i);if(e instanceof Promise)return e.then(o=>$p(o,n,i,t));$p(e,n,i,t)}})});function Sp(){return{localeError:hh()}}var hh,wp=x(()=>{S();hh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.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 ${e.expected}\\u060C \\u0648\\u0644\\u0643\\u0646 \\u062A\\u0645 \\u0625\\u062F\\u062E\\u0627\\u0644 ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.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 ${b(e.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: ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?` \\u0623\\u0643\\u0628\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0623\\u0646 \\u062A\\u0643\\u0648\\u0646 ${e.origin??\"\\u0627\\u0644\\u0642\\u064A\\u0645\\u0629\"} ${o} ${e.maximum.toString()} ${a.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 ${e.origin??\"\\u0627\\u0644\\u0642\\u064A\\u0645\\u0629\"} ${o} ${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u0623\\u0635\\u063A\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0644\\u0640 ${e.origin} \\u0623\\u0646 \\u064A\\u0643\\u0648\\u0646 ${o} ${e.minimum.toString()} ${a.unit}`:`\\u0623\\u0635\\u063A\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0644\\u0640 ${e.origin} \\u0623\\u0646 \\u064A\\u0643\\u0648\\u0646 ${o} ${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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 \"${e.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]??e.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 ${e.divisor}`;case\"unrecognized_keys\":return`\\u0645\\u0639\\u0631\\u0641${e.keys.length>1?\"\\u0627\\u062A\":\"\"} \\u063A\\u0631\\u064A\\u0628${e.keys.length>1?\"\\u0629\":\"\"}: ${m(e.keys,\"\\u060C \")}`;case\"invalid_key\":return`\\u0645\\u0639\\u0631\\u0641 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644 \\u0641\\u064A ${e.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 ${e.origin}`;default:return\"\\u0645\\u062F\\u062E\\u0644 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\"}}}});function Ip(){return{localeError:vh()}}var vh,Pp=x(()=>{S();vh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n instanceof ${e.expected}, daxil olan ${s}`:`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${o}, daxil olan ${s}`}case\"invalid_value\":return e.values.length===1?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${b(e.values[0])}`:`Yanl\\u0131\\u015F se\\xE7im: a\\u015Fa\\u011F\\u0131dak\\u0131lardan biri olmal\\u0131d\\u0131r: ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\xC7ox b\\xF6y\\xFCk: g\\xF6zl\\u0259nil\\u0259n ${e.origin??\"d\\u0259y\\u0259r\"} ${o}${e.maximum.toString()} ${a.unit??\"element\"}`:`\\xC7ox b\\xF6y\\xFCk: g\\xF6zl\\u0259nil\\u0259n ${e.origin??\"d\\u0259y\\u0259r\"} ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\xC7ox ki\\xE7ik: g\\xF6zl\\u0259nil\\u0259n ${e.origin} ${o}${e.minimum.toString()} ${a.unit}`:`\\xC7ox ki\\xE7ik: g\\xF6zl\\u0259nil\\u0259n ${e.origin} ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Yanl\\u0131\\u015F \\u0259d\\u0259d: ${e.divisor} il\\u0259 b\\xF6l\\xFCn\\u0259 bil\\u0259n olmal\\u0131d\\u0131r`;case\"unrecognized_keys\":return`Tan\\u0131nmayan a\\xE7ar${e.keys.length>1?\"lar\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`${e.origin} daxilind\\u0259 yanl\\u0131\\u015F a\\xE7ar`;case\"invalid_union\":return\"Yanl\\u0131\\u015F d\\u0259y\\u0259r\";case\"invalid_element\":return`${e.origin} daxilind\\u0259 yanl\\u0131\\u015F d\\u0259y\\u0259r`;default:return\"Yanl\\u0131\\u015F d\\u0259y\\u0259r\"}}}});function jp(t,r,n,i){let e=Math.abs(t),o=e%10,a=e%100;return a>=11&&a<=19?i:o===1?r:o>=2&&o<=4?n:i}function Tp(){return{localeError:bh()}}var bh,Op=x(()=>{S();bh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434: \\u0447\\u0430\\u043A\\u0430\\u045E\\u0441\\u044F instanceof ${e.expected}, \\u0430\\u0442\\u0440\\u044B\\u043C\\u0430\\u043D\\u0430 ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.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 ${b(e.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 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);if(a){let s=Number(e.maximum),u=jp(s,a.unit.one,a.unit.few,a.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 ${e.origin??\"\\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435\"} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${o}${e.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 ${e.origin??\"\\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435\"} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 \\u0431\\u044B\\u0446\\u044C ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);if(a){let s=Number(e.minimum),u=jp(s,a.unit.one,a.unit.few,a.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 ${e.origin} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${o}${e.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 ${e.origin} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 \\u0431\\u044B\\u0446\\u044C ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.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 ${e.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u0430\\u0441\\u043F\\u0430\\u0437\\u043D\\u0430\\u043D\\u044B ${e.keys.length>1?\"\\u043A\\u043B\\u044E\\u0447\\u044B\":\"\\u043A\\u043B\\u044E\\u0447\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u043A\\u043B\\u044E\\u0447 \\u0443 ${e.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 ${e.origin}`;default:return\"\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434\"}}}});function Dp(){return{localeError:$h()}}var $h,Up=x(()=>{S();$h=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D instanceof ${e.expected}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.values.length===1?`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D ${b(e.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 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u0433\\u043E\\u043B\\u044F\\u043C\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${e.origin??\"\\u0441\\u0442\\u043E\\u0439\\u043D\\u043E\\u0441\\u0442\"} \\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430 ${o}${e.maximum.toString()} ${a.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 ${e.origin??\"\\u0441\\u0442\\u043E\\u0439\\u043D\\u043E\\u0441\\u0442\"} \\u0434\\u0430 \\u0431\\u044A\\u0434\\u0435 ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u043C\\u0430\\u043B\\u043A\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${e.origin} \\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430 ${o}${e.minimum.toString()} ${a.unit}`:`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u043C\\u0430\\u043B\\u043A\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${e.origin} \\u0434\\u0430 \\u0431\\u044A\\u0434\\u0435 ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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 a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D\";return o.format===\"emoji\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E\"),o.format===\"datetime\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E\"),o.format===\"date\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430\"),o.format===\"time\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E\"),o.format===\"duration\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430\"),`${a} ${n[o.format]??e.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 ${e.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u0430\\u0437\\u043F\\u043E\\u0437\\u043D\\u0430\\u0442${e.keys.length>1?\"\\u0438\":\"\"} \\u043A\\u043B\\u044E\\u0447${e.keys.length>1?\"\\u043E\\u0432\\u0435\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043A\\u043B\\u044E\\u0447 \\u0432 ${e.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 ${e.origin}`;default:return\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434\"}}}});function Ep(){return{localeError:yh()}}var yh,Np=x(()=>{S();yh=()=>{let t={string:{unit:\"car\\xE0cters\",verb:\"contenir\"},file:{unit:\"bytes\",verb:\"contenir\"},array:{unit:\"elements\",verb:\"contenir\"},set:{unit:\"elements\",verb:\"contenir\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Tipus inv\\xE0lid: s'esperava instanceof ${e.expected}, s'ha rebut ${s}`:`Tipus inv\\xE0lid: s'esperava ${o}, s'ha rebut ${s}`}case\"invalid_value\":return e.values.length===1?`Valor inv\\xE0lid: s'esperava ${b(e.values[0])}`:`Opci\\xF3 inv\\xE0lida: s'esperava una de ${m(e.values,\" o \")}`;case\"too_big\":{let o=e.inclusive?\"com a m\\xE0xim\":\"menys de\",a=r(e.origin);return a?`Massa gran: s'esperava que ${e.origin??\"el valor\"} contingu\\xE9s ${o} ${e.maximum.toString()} ${a.unit??\"elements\"}`:`Massa gran: s'esperava que ${e.origin??\"el valor\"} fos ${o} ${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\"com a m\\xEDnim\":\"m\\xE9s de\",a=r(e.origin);return a?`Massa petit: s'esperava que ${e.origin} contingu\\xE9s ${o} ${e.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${e.origin} fos ${o} ${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE0lid: ha de ser m\\xFAltiple de ${e.divisor}`;case\"unrecognized_keys\":return`Clau${e.keys.length>1?\"s\":\"\"} no reconeguda${e.keys.length>1?\"s\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Clau inv\\xE0lida a ${e.origin}`;case\"invalid_union\":return\"Entrada inv\\xE0lida\";case\"invalid_element\":return`Element inv\\xE0lid a ${e.origin}`;default:return\"Entrada inv\\xE0lida\"}}}});function Zp(){return{localeError:_h()}}var _h,Rp=x(()=>{S();_h=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no instanceof ${e.expected}, obdr\\u017Eeno ${s}`:`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${o}, obdr\\u017Eeno ${s}`}case\"invalid_value\":return e.values.length===1?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${b(e.values[0])}`:`Neplatn\\xE1 mo\\u017Enost: o\\u010Dek\\xE1v\\xE1na jedna z hodnot ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Hodnota je p\\u0159\\xEDli\\u0161 velk\\xE1: ${e.origin??\"hodnota\"} mus\\xED m\\xEDt ${o}${e.maximum.toString()} ${a.unit??\"prvk\\u016F\"}`:`Hodnota je p\\u0159\\xEDli\\u0161 velk\\xE1: ${e.origin??\"hodnota\"} mus\\xED b\\xFDt ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Hodnota je p\\u0159\\xEDli\\u0161 mal\\xE1: ${e.origin??\"hodnota\"} mus\\xED m\\xEDt ${o}${e.minimum.toString()} ${a.unit??\"prvk\\u016F\"}`:`Hodnota je p\\u0159\\xEDli\\u0161 mal\\xE1: ${e.origin??\"hodnota\"} mus\\xED b\\xFDt ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Neplatn\\xE9 \\u010D\\xEDslo: mus\\xED b\\xFDt n\\xE1sobkem ${e.divisor}`;case\"unrecognized_keys\":return`Nezn\\xE1m\\xE9 kl\\xED\\u010De: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Neplatn\\xFD kl\\xED\\u010D v ${e.origin}`;case\"invalid_union\":return\"Neplatn\\xFD vstup\";case\"invalid_element\":return`Neplatn\\xE1 hodnota v ${e.origin}`;default:return\"Neplatn\\xFD vstup\"}}}});function Ap(){return{localeError:xh()}}var xh,Cp=x(()=>{S();xh=()=>{let t={string:{unit:\"tegn\",verb:\"havde\"},file:{unit:\"bytes\",verb:\"havde\"},array:{unit:\"elementer\",verb:\"indeholdt\"},set:{unit:\"elementer\",verb:\"indeholdt\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Ugyldigt input: forventede instanceof ${e.expected}, fik ${s}`:`Ugyldigt input: forventede ${o}, fik ${s}`}case\"invalid_value\":return e.values.length===1?`Ugyldig v\\xE6rdi: forventede ${b(e.values[0])}`:`Ugyldigt valg: forventede en af f\\xF8lgende ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin),s=i[e.origin]??e.origin;return a?`For stor: forventede ${s??\"value\"} ${a.verb} ${o} ${e.maximum.toString()} ${a.unit??\"elementer\"}`:`For stor: forventede ${s??\"value\"} havde ${o} ${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin),s=i[e.origin]??e.origin;return a?`For lille: forventede ${s} ${a.verb} ${o} ${e.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} havde ${o} ${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Ugyldigt tal: skal v\\xE6re deleligt med ${e.divisor}`;case\"unrecognized_keys\":return`${e.keys.length>1?\"Ukendte n\\xF8gler\":\"Ukendt n\\xF8gle\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\xF8gle i ${e.origin}`;case\"invalid_union\":return\"Ugyldigt input: matcher ingen af de tilladte typer\";case\"invalid_element\":return`Ugyldig v\\xE6rdi i ${e.origin}`;default:return\"Ugyldigt input\"}}}});function Lp(){return{localeError:kh()}}var kh,Mp=x(()=>{S();kh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Ung\\xFCltige Eingabe: erwartet instanceof ${e.expected}, erhalten ${s}`:`Ung\\xFCltige Eingabe: erwartet ${o}, erhalten ${s}`}case\"invalid_value\":return e.values.length===1?`Ung\\xFCltige Eingabe: erwartet ${b(e.values[0])}`:`Ung\\xFCltige Option: erwartet eine von ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Zu gro\\xDF: erwartet, dass ${e.origin??\"Wert\"} ${o}${e.maximum.toString()} ${a.unit??\"Elemente\"} hat`:`Zu gro\\xDF: erwartet, dass ${e.origin??\"Wert\"} ${o}${e.maximum.toString()} ist`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Zu klein: erwartet, dass ${e.origin} ${o}${e.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${e.origin} ${o}${e.minimum.toString()} ist`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Ung\\xFCltige Zahl: muss ein Vielfaches von ${e.divisor} sein`;case\"unrecognized_keys\":return`${e.keys.length>1?\"Unbekannte Schl\\xFCssel\":\"Unbekannter Schl\\xFCssel\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Ung\\xFCltiger Schl\\xFCssel in ${e.origin}`;case\"invalid_union\":return\"Ung\\xFCltige Eingabe\";case\"invalid_element\":return`Ung\\xFCltiger Wert in ${e.origin}`;default:return\"Ung\\xFCltige Eingabe\"}}}});function qp(){return{localeError:zh()}}var zh,Fp=x(()=>{S();zh=()=>{let t={string:{unit:\"\\u03C7\\u03B1\\u03C1\\u03B1\\u03BA\\u03C4\\u03AE\\u03C1\\u03B5\\u03C2\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},file:{unit:\"bytes\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},array:{unit:\"\\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},set:{unit:\"\\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},map:{unit:\"\\u03BA\\u03B1\\u03C4\\u03B1\\u03C7\\u03C9\\u03C1\\u03AE\\u03C3\\u03B5\\u03B9\\u03C2\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"}};function r(e){return t[e]??null}let n={regex:\"\\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\",email:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 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:\"ISO \\u03B7\\u03BC\\u03B5\\u03C1\\u03BF\\u03BC\\u03B7\\u03BD\\u03AF\\u03B1 \\u03BA\\u03B1\\u03B9 \\u03CE\\u03C1\\u03B1\",date:\"ISO \\u03B7\\u03BC\\u03B5\\u03C1\\u03BF\\u03BC\\u03B7\\u03BD\\u03AF\\u03B1\",time:\"ISO \\u03CE\\u03C1\\u03B1\",duration:\"ISO \\u03B4\\u03B9\\u03AC\\u03C1\\u03BA\\u03B5\\u03B9\\u03B1\",ipv4:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 IPv4\",ipv6:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 IPv6\",mac:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 MAC\",cidrv4:\"\\u03B5\\u03CD\\u03C1\\u03BF\\u03C2 IPv4\",cidrv6:\"\\u03B5\\u03CD\\u03C1\\u03BF\\u03C2 IPv6\",base64:\"\\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC \\u03BA\\u03C9\\u03B4\\u03B9\\u03BA\\u03BF\\u03C0\\u03BF\\u03B9\\u03B7\\u03BC\\u03AD\\u03BD\\u03B7 \\u03C3\\u03B5 base64\",base64url:\"\\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC \\u03BA\\u03C9\\u03B4\\u03B9\\u03BA\\u03BF\\u03C0\\u03BF\\u03B9\\u03B7\\u03BC\\u03AD\\u03BD\\u03B7 \\u03C3\\u03B5 base64url\",json_string:\"\\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC JSON\",e164:\"\\u03B1\\u03C1\\u03B9\\u03B8\\u03BC\\u03CC\\u03C2 E.164\",jwt:\"JWT\",template_literal:\"\\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\"},i={nan:\"NaN\"};return e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return typeof e.expected==\"string\"&&/^[A-Z]/.test(e.expected)?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD instanceof ${e.expected}, \\u03BB\\u03AE\\u03C6\\u03B8\\u03B7\\u03BA\\u03B5 ${s}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${o}, \\u03BB\\u03AE\\u03C6\\u03B8\\u03B7\\u03BA\\u03B5 ${s}`}case\"invalid_value\":return e.values.length===1?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${b(e.values[0])}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03C0\\u03B9\\u03BB\\u03BF\\u03B3\\u03AE: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD \\u03AD\\u03BD\\u03B1 \\u03B1\\u03C0\\u03CC ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B5\\u03B3\\u03AC\\u03BB\\u03BF: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${e.origin??\"\\u03C4\\u03B9\\u03BC\\u03AE\"} \\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9 ${o}${e.maximum.toString()} ${a.unit??\"\\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1\"}`:`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B5\\u03B3\\u03AC\\u03BB\\u03BF: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${e.origin??\"\\u03C4\\u03B9\\u03BC\\u03AE\"} \\u03BD\\u03B1 \\u03B5\\u03AF\\u03BD\\u03B1\\u03B9 ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B9\\u03BA\\u03C1\\u03CC: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${e.origin} \\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9 ${o}${e.minimum.toString()} ${a.unit}`:`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B9\\u03BA\\u03C1\\u03CC: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${e.origin} \\u03BD\\u03B1 \\u03B5\\u03AF\\u03BD\\u03B1\\u03B9 ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;return o.format===\"starts_with\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03BE\\u03B5\\u03BA\\u03B9\\u03BD\\u03AC \\u03BC\\u03B5 \"${o.prefix}\"`:o.format===\"ends_with\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03C4\\u03B5\\u03BB\\u03B5\\u03B9\\u03CE\\u03BD\\u03B5\\u03B9 \\u03BC\\u03B5 \"${o.suffix}\"`:o.format===\"includes\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03C0\\u03B5\\u03C1\\u03B9\\u03AD\\u03C7\\u03B5\\u03B9 \"${o.includes}\"`:o.format===\"regex\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03C4\\u03B1\\u03B9\\u03C1\\u03B9\\u03AC\\u03B6\\u03B5\\u03B9 \\u03BC\\u03B5 \\u03C4\\u03BF \\u03BC\\u03BF\\u03C4\\u03AF\\u03B2\\u03BF ${o.pattern}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03BF: ${n[o.format]??e.format}`}case\"not_multiple_of\":return`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03BF\\u03C2 \\u03B1\\u03C1\\u03B9\\u03B8\\u03BC\\u03CC\\u03C2: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03B5\\u03AF\\u03BD\\u03B1\\u03B9 \\u03C0\\u03BF\\u03BB\\u03BB\\u03B1\\u03C0\\u03BB\\u03AC\\u03C3\\u03B9\\u03BF \\u03C4\\u03BF\\u03C5 ${e.divisor}`;case\"unrecognized_keys\":return`\\u0386\\u03B3\\u03BD\\u03C9\\u03C3\\u03C4${e.keys.length>1?\"\\u03B1\":\"\\u03BF\"} \\u03BA\\u03BB\\u03B5\\u03B9\\u03B4${e.keys.length>1?\"\\u03B9\\u03AC\":\"\\u03AF\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03BF \\u03BA\\u03BB\\u03B5\\u03B9\\u03B4\\u03AF \\u03C3\\u03C4\\u03BF ${e.origin}`;case\"invalid_union\":return\"\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\";case\"invalid_element\":return`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C4\\u03B9\\u03BC\\u03AE \\u03C3\\u03C4\\u03BF ${e.origin}`;default:return\"\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\"}}}});function ro(){return{localeError:Sh()}}var Sh,xc=x(()=>{S();Sh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return`Invalid input: expected ${o}, received ${s}`}case\"invalid_value\":return e.values.length===1?`Invalid input: expected ${b(e.values[0])}`:`Invalid option: expected one of ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Too big: expected ${e.origin??\"value\"} to have ${o}${e.maximum.toString()} ${a.unit??\"elements\"}`:`Too big: expected ${e.origin??\"value\"} to be ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Too small: expected ${e.origin} to have ${o}${e.minimum.toString()} ${a.unit}`:`Too small: expected ${e.origin} to be ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Invalid number: must be a multiple of ${e.divisor}`;case\"unrecognized_keys\":return`Unrecognized key${e.keys.length>1?\"s\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Invalid key in ${e.origin}`;case\"invalid_union\":return e.options&&Array.isArray(e.options)&&e.options.length>0?`Invalid discriminator value. Expected ${e.options.map(a=>`'${a}'`).join(\" | \")}`:\"Invalid input\";case\"invalid_element\":return`Invalid value in ${e.origin}`;default:return\"Invalid input\"}}}});function Vp(){return{localeError:wh()}}var wh,Jp=x(()=>{S();wh=()=>{let t={string:{unit:\"karaktrojn\",verb:\"havi\"},file:{unit:\"bajtojn\",verb:\"havi\"},array:{unit:\"elementojn\",verb:\"havi\"},set:{unit:\"elementojn\",verb:\"havi\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Nevalida enigo: atendi\\u011Dis instanceof ${e.expected}, ricevi\\u011Dis ${s}`:`Nevalida enigo: atendi\\u011Dis ${o}, ricevi\\u011Dis ${s}`}case\"invalid_value\":return e.values.length===1?`Nevalida enigo: atendi\\u011Dis ${b(e.values[0])}`:`Nevalida opcio: atendi\\u011Dis unu el ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Tro granda: atendi\\u011Dis ke ${e.origin??\"valoro\"} havu ${o}${e.maximum.toString()} ${a.unit??\"elementojn\"}`:`Tro granda: atendi\\u011Dis ke ${e.origin??\"valoro\"} havu ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Tro malgranda: atendi\\u011Dis ke ${e.origin} havu ${o}${e.minimum.toString()} ${a.unit}`:`Tro malgranda: atendi\\u011Dis ke ${e.origin} estu ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Nevalida nombro: devas esti oblo de ${e.divisor}`;case\"unrecognized_keys\":return`Nekonata${e.keys.length>1?\"j\":\"\"} \\u015Dlosilo${e.keys.length>1?\"j\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Nevalida \\u015Dlosilo en ${e.origin}`;case\"invalid_union\":return\"Nevalida enigo\";case\"invalid_element\":return`Nevalida valoro en ${e.origin}`;default:return\"Nevalida enigo\"}}}});function Hp(){return{localeError:Ih()}}var Ih,Kp=x(()=>{S();Ih=()=>{let t={string:{unit:\"caracteres\",verb:\"tener\"},file:{unit:\"bytes\",verb:\"tener\"},array:{unit:\"elementos\",verb:\"tener\"},set:{unit:\"elementos\",verb:\"tener\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Entrada inv\\xE1lida: se esperaba instanceof ${e.expected}, recibido ${s}`:`Entrada inv\\xE1lida: se esperaba ${o}, recibido ${s}`}case\"invalid_value\":return e.values.length===1?`Entrada inv\\xE1lida: se esperaba ${b(e.values[0])}`:`Opci\\xF3n inv\\xE1lida: se esperaba una de ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin),s=i[e.origin]??e.origin;return a?`Demasiado grande: se esperaba que ${s??\"valor\"} tuviera ${o}${e.maximum.toString()} ${a.unit??\"elementos\"}`:`Demasiado grande: se esperaba que ${s??\"valor\"} fuera ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin),s=i[e.origin]??e.origin;return a?`Demasiado peque\\xF1o: se esperaba que ${s} tuviera ${o}${e.minimum.toString()} ${a.unit}`:`Demasiado peque\\xF1o: se esperaba que ${s} fuera ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE1lido: debe ser m\\xFAltiplo de ${e.divisor}`;case\"unrecognized_keys\":return`Llave${e.keys.length>1?\"s\":\"\"} desconocida${e.keys.length>1?\"s\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Llave inv\\xE1lida en ${i[e.origin]??e.origin}`;case\"invalid_union\":return\"Entrada inv\\xE1lida\";case\"invalid_element\":return`Valor inv\\xE1lido en ${i[e.origin]??e.origin}`;default:return\"Entrada inv\\xE1lida\"}}}});function Bp(){return{localeError:Ph()}}var Ph,Wp=x(()=>{S();Ph=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A instanceof ${e.expected} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F\\u060C ${s} \\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 ${s} \\u062F\\u0631\\u06CC\\u0627\\u0641\\u062A \\u0634\\u062F`}case\"invalid_value\":return e.values.length===1?`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A ${b(e.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 ${m(e.values,\"|\")} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u062E\\u06CC\\u0644\\u06CC \\u0628\\u0632\\u0631\\u06AF: ${e.origin??\"\\u0645\\u0642\\u062F\\u0627\\u0631\"} \\u0628\\u0627\\u06CC\\u062F ${o}${e.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0635\\u0631\"} \\u0628\\u0627\\u0634\\u062F`:`\\u062E\\u06CC\\u0644\\u06CC \\u0628\\u0632\\u0631\\u06AF: ${e.origin??\"\\u0645\\u0642\\u062F\\u0627\\u0631\"} \\u0628\\u0627\\u06CC\\u062F ${o}${e.maximum.toString()} \\u0628\\u0627\\u0634\\u062F`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u062E\\u06CC\\u0644\\u06CC \\u06A9\\u0648\\u0686\\u06A9: ${e.origin} \\u0628\\u0627\\u06CC\\u062F ${o}${e.minimum.toString()} ${a.unit} \\u0628\\u0627\\u0634\\u062F`:`\\u062E\\u06CC\\u0644\\u06CC \\u06A9\\u0648\\u0686\\u06A9: ${e.origin} \\u0628\\u0627\\u06CC\\u062F ${o}${e.minimum.toString()} \\u0628\\u0627\\u0634\\u062F`}case\"invalid_format\":{let o=e;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]??e.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 ${e.divisor} \\u0628\\u0627\\u0634\\u062F`;case\"unrecognized_keys\":return`\\u06A9\\u0644\\u06CC\\u062F${e.keys.length>1?\"\\u0647\\u0627\\u06CC\":\"\"} \\u0646\\u0627\\u0634\\u0646\\u0627\\u0633: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u06A9\\u0644\\u06CC\\u062F \\u0646\\u0627\\u0634\\u0646\\u0627\\u0633 \\u062F\\u0631 ${e.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 ${e.origin}`;default:return\"\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631\"}}}});function Gp(){return{localeError:jh()}}var jh,Qp=x(()=>{S();jh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Virheellinen tyyppi: odotettiin instanceof ${e.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${s}`}case\"invalid_value\":return e.values.length===1?`Virheellinen sy\\xF6te: t\\xE4ytyy olla ${b(e.values[0])}`:`Virheellinen valinta: t\\xE4ytyy olla yksi seuraavista: ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Liian suuri: ${a.subject} t\\xE4ytyy olla ${o}${e.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon t\\xE4ytyy olla ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Liian pieni: ${a.subject} t\\xE4ytyy olla ${o}${e.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon t\\xE4ytyy olla ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Virheellinen luku: t\\xE4ytyy olla luvun ${e.divisor} monikerta`;case\"unrecognized_keys\":return`${e.keys.length>1?\"Tuntemattomat avaimet\":\"Tuntematon avain\"}: ${m(e.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\"}}}});function Xp(){return{localeError:Th()}}var Th,Yp=x(()=>{S();Th=()=>{let t={string:{unit:\"caract\\xE8res\",verb:\"avoir\"},file:{unit:\"octets\",verb:\"avoir\"},array:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"},set:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"}};function r(e){return t[e]??null}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={string:\"cha\\xEEne\",number:\"nombre\",int:\"entier\",boolean:\"bool\\xE9en\",bigint:\"grand entier\",symbol:\"symbole\",undefined:\"ind\\xE9fini\",null:\"null\",never:\"jamais\",void:\"vide\",date:\"date\",array:\"tableau\",object:\"objet\",tuple:\"tuple\",record:\"enregistrement\",map:\"carte\",set:\"ensemble\",file:\"fichier\",nonoptional:\"non-optionnel\",nan:\"NaN\",function:\"fonction\"};return e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Entr\\xE9e invalide : instanceof ${e.expected} attendu, ${s} re\\xE7u`:`Entr\\xE9e invalide : ${o} attendu, ${s} re\\xE7u`}case\"invalid_value\":return e.values.length===1?`Entr\\xE9e invalide : ${b(e.values[0])} attendu`:`Option invalide : une valeur parmi ${m(e.values,\"|\")} attendue`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Trop grand : ${i[e.origin]??\"valeur\"} doit ${a.verb} ${o}${e.maximum.toString()} ${a.unit??\"\\xE9l\\xE9ment(s)\"}`:`Trop grand : ${i[e.origin]??\"valeur\"} doit \\xEAtre ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Trop petit : ${i[e.origin]??\"valeur\"} doit ${a.verb} ${o}${e.minimum.toString()} ${a.unit}`:`Trop petit : ${i[e.origin]??\"valeur\"} doit \\xEAtre ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format} invalide`}case\"not_multiple_of\":return`Nombre invalide : doit \\xEAtre un multiple de ${e.divisor}`;case\"unrecognized_keys\":return`Cl\\xE9${e.keys.length>1?\"s\":\"\"} non reconnue${e.keys.length>1?\"s\":\"\"} : ${m(e.keys,\", \")}`;case\"invalid_key\":return`Cl\\xE9 invalide dans ${e.origin}`;case\"invalid_union\":return\"Entr\\xE9e invalide\";case\"invalid_element\":return`Valeur invalide dans ${e.origin}`;default:return\"Entr\\xE9e invalide\"}}}});function em(){return{localeError:Oh()}}var Oh,tm=x(()=>{S();Oh=()=>{let t={string:{unit:\"caract\\xE8res\",verb:\"avoir\"},file:{unit:\"octets\",verb:\"avoir\"},array:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"},set:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Entr\\xE9e invalide : attendu instanceof ${e.expected}, re\\xE7u ${s}`:`Entr\\xE9e invalide : attendu ${o}, re\\xE7u ${s}`}case\"invalid_value\":return e.values.length===1?`Entr\\xE9e invalide : attendu ${b(e.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"\\u2264\":\"<\",a=r(e.origin);return a?`Trop grand : attendu que ${e.origin??\"la valeur\"} ait ${o}${e.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${e.origin??\"la valeur\"} soit ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\"\\u2265\":\">\",a=r(e.origin);return a?`Trop petit : attendu que ${e.origin} ait ${o}${e.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${e.origin} soit ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format} invalide`}case\"not_multiple_of\":return`Nombre invalide : doit \\xEAtre un multiple de ${e.divisor}`;case\"unrecognized_keys\":return`Cl\\xE9${e.keys.length>1?\"s\":\"\"} non reconnue${e.keys.length>1?\"s\":\"\"} : ${m(e.keys,\", \")}`;case\"invalid_key\":return`Cl\\xE9 invalide dans ${e.origin}`;case\"invalid_union\":return\"Entr\\xE9e invalide\";case\"invalid_element\":return`Valeur invalide dans ${e.origin}`;default:return\"Entr\\xE9e invalide\"}}}});function rm(){return{localeError:Dh()}}var Dh,nm=x(()=>{S();Dh=()=>{let t={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\"}},r={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=l=>l?t[l]:void 0,i=l=>{let d=n(l);return d?d.label:l??t.unknown.label},e=l=>`\\u05D4${i(l)}`,o=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\",a=l=>l?r[l]??null:null,s={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 d=l.expected,g=u[d??\"\"]??i(d),h=$(l.input),v=u[h]??t[h]?.label??h;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 ${v}`:`\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${g}, \\u05D4\\u05EA\\u05E7\\u05D1\\u05DC ${v}`}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 ${b(l.values[0])}`;let d=l.values.map(v=>b(v));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 ${d[0]} \\u05D0\\u05D5 ${d[1]}`;let g=d[d.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 ${d.slice(0,-1).join(\", \")} \\u05D0\\u05D5 ${g}`}case\"too_big\":{let d=a(l.origin),g=e(l.origin??\"value\");if(l.origin===\"string\")return`${d?.longLabel??\"\\u05D0\\u05E8\\u05D5\\u05DA\"} \\u05DE\\u05D3\\u05D9: ${g} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${l.maximum.toString()} ${d?.unit??\"\"} ${l.inclusive?\"\\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA\":\"\\u05DC\\u05DB\\u05DC \\u05D4\\u05D9\\u05D5\\u05EA\\u05E8\"}`.trim();if(l.origin===\"number\"){let I=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: ${g} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${I}`}if(l.origin===\"array\"||l.origin===\"set\"){let I=l.origin===\"set\"?\"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4\":\"\\u05E6\\u05E8\\u05D9\\u05DA\",te=l.inclusive?`${l.maximum} ${d?.unit??\"\"} \\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA`:`\\u05E4\\u05D7\\u05D5\\u05EA \\u05DE-${l.maximum} ${d?.unit??\"\"}`;return`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE\\u05D3\\u05D9: ${g} ${I} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${te}`.trim()}let h=l.inclusive?\"<=\":\"<\",v=o(l.origin??\"value\");return d?.unit?`${d.longLabel} \\u05DE\\u05D3\\u05D9: ${g} ${v} ${h}${l.maximum.toString()} ${d.unit}`:`${d?.longLabel??\"\\u05D2\\u05D3\\u05D5\\u05DC\"} \\u05DE\\u05D3\\u05D9: ${g} ${v} ${h}${l.maximum.toString()}`}case\"too_small\":{let d=a(l.origin),g=e(l.origin??\"value\");if(l.origin===\"string\")return`${d?.shortLabel??\"\\u05E7\\u05E6\\u05E8\"} \\u05DE\\u05D3\\u05D9: ${g} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${l.minimum.toString()} ${d?.unit??\"\"} ${l.inclusive?\"\\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8\":\"\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA\"}`.trim();if(l.origin===\"number\"){let I=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: ${g} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${I}`}if(l.origin===\"array\"||l.origin===\"set\"){let I=l.origin===\"set\"?\"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4\":\"\\u05E6\\u05E8\\u05D9\\u05DA\";if(l.minimum===1&&l.inclusive){let H=(l.origin===\"set\",\"\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA \\u05E4\\u05E8\\u05D9\\u05D8 \\u05D0\\u05D7\\u05D3\");return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${g} ${I} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${H}`}let te=l.inclusive?`${l.minimum} ${d?.unit??\"\"} \\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8`:`\\u05D9\\u05D5\\u05EA\\u05E8 \\u05DE-${l.minimum} ${d?.unit??\"\"}`;return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${g} ${I} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${te}`.trim()}let h=l.inclusive?\">=\":\">\",v=o(l.origin??\"value\");return d?.unit?`${d.shortLabel} \\u05DE\\u05D3\\u05D9: ${g} ${v} ${h}${l.minimum.toString()} ${d.unit}`:`${d?.shortLabel??\"\\u05E7\\u05D8\\u05DF\"} \\u05DE\\u05D3\\u05D9: ${g} ${v} ${h}${l.minimum.toString()}`}case\"invalid_format\":{let d=l;if(d.format===\"starts_with\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05EA\\u05D7\\u05D9\\u05DC \\u05D1 \"${d.prefix}\"`;if(d.format===\"ends_with\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05E1\\u05EA\\u05D9\\u05D9\\u05DD \\u05D1 \"${d.suffix}\"`;if(d.format===\"includes\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05DB\\u05DC\\u05D5\\u05DC \"${d.includes}\"`;if(d.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 ${d.pattern}`;let g=s[d.format],h=g?.label??d.format,I=(g?.gender??\"m\")===\"f\"?\"\\u05EA\\u05E7\\u05D9\\u05E0\\u05D4\":\"\\u05EA\\u05E7\\u05D9\\u05DF\";return`${h} \\u05DC\\u05D0 ${I}`}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\"}: ${m(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${e(l.origin??\"array\")}`;default:return\"\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF\"}}}});function om(){return{localeError:Uh()}}var Uh,im=x(()=>{S();Uh=()=>{let t={string:{unit:\"znakova\",verb:\"imati\"},file:{unit:\"bajtova\",verb:\"imati\"},array:{unit:\"stavki\",verb:\"imati\"},set:{unit:\"stavki\",verb:\"imati\"}};function r(e){return t[e]??null}let n={regex:\"unos\",email:\"email 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:\"ISO datum i vrijeme\",date:\"ISO datum\",time:\"ISO vrijeme\",duration:\"ISO trajanje\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",cidrv4:\"IPv4 raspon\",cidrv6:\"IPv6 raspon\",base64:\"base64 kodirani tekst\",base64url:\"base64url kodirani tekst\",json_string:\"JSON tekst\",e164:\"E.164 broj\",jwt:\"JWT\",template_literal:\"unos\"},i={nan:\"NaN\",string:\"tekst\",number:\"broj\",boolean:\"boolean\",array:\"niz\",object:\"objekt\",set:\"skup\",file:\"datoteka\",date:\"datum\",bigint:\"bigint\",symbol:\"simbol\",undefined:\"undefined\",null:\"null\",function:\"funkcija\",map:\"mapa\"};return e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Neispravan unos: o\\u010Dekuje se instanceof ${e.expected}, a primljeno je ${s}`:`Neispravan unos: o\\u010Dekuje se ${o}, a primljeno je ${s}`}case\"invalid_value\":return e.values.length===1?`Neispravna vrijednost: o\\u010Dekivano ${b(e.values[0])}`:`Neispravna opcija: o\\u010Dekivano jedno od ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin),s=i[e.origin]??e.origin;return a?`Preveliko: o\\u010Dekivano da ${s??\"vrijednost\"} ima ${o}${e.maximum.toString()} ${a.unit??\"elemenata\"}`:`Preveliko: o\\u010Dekivano da ${s??\"vrijednost\"} bude ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin),s=i[e.origin]??e.origin;return a?`Premalo: o\\u010Dekivano da ${s} ima ${o}${e.minimum.toString()} ${a.unit}`:`Premalo: o\\u010Dekivano da ${s} bude ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;return o.format===\"starts_with\"?`Neispravan tekst: mora zapo\\u010Dinjati s \"${o.prefix}\"`:o.format===\"ends_with\"?`Neispravan tekst: mora zavr\\u0161avati s \"${o.suffix}\"`:o.format===\"includes\"?`Neispravan tekst: mora sadr\\u017Eavati \"${o.includes}\"`:o.format===\"regex\"?`Neispravan tekst: mora odgovarati uzorku ${o.pattern}`:`Neispravna ${n[o.format]??e.format}`}case\"not_multiple_of\":return`Neispravan broj: mora biti vi\\u0161ekratnik od ${e.divisor}`;case\"unrecognized_keys\":return`Neprepoznat${e.keys.length>1?\"i klju\\u010Devi\":\" klju\\u010D\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Neispravan klju\\u010D u ${i[e.origin]??e.origin}`;case\"invalid_union\":return\"Neispravan unos\";case\"invalid_element\":return`Neispravna vrijednost u ${i[e.origin]??e.origin}`;default:return\"Neispravan unos\"}}}});function am(){return{localeError:Eh()}}var Eh,sm=x(()=>{S();Eh=()=>{let t={string:{unit:\"karakter\",verb:\"legyen\"},file:{unit:\"byte\",verb:\"legyen\"},array:{unit:\"elem\",verb:\"legyen\"},set:{unit:\"elem\",verb:\"legyen\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k instanceof ${e.expected}, a kapott \\xE9rt\\xE9k ${s}`:`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${o}, a kapott \\xE9rt\\xE9k ${s}`}case\"invalid_value\":return e.values.length===1?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${b(e.values[0])}`:`\\xC9rv\\xE9nytelen opci\\xF3: valamelyik \\xE9rt\\xE9k v\\xE1rt ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`T\\xFAl nagy: ${e.origin??\"\\xE9rt\\xE9k\"} m\\xE9rete t\\xFAl nagy ${o}${e.maximum.toString()} ${a.unit??\"elem\"}`:`T\\xFAl nagy: a bemeneti \\xE9rt\\xE9k ${e.origin??\"\\xE9rt\\xE9k\"} t\\xFAl nagy: ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`T\\xFAl kicsi: a bemeneti \\xE9rt\\xE9k ${e.origin} m\\xE9rete t\\xFAl kicsi ${o}${e.minimum.toString()} ${a.unit}`:`T\\xFAl kicsi: a bemeneti \\xE9rt\\xE9k ${e.origin} t\\xFAl kicsi ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`\\xC9rv\\xE9nytelen sz\\xE1m: ${e.divisor} t\\xF6bbsz\\xF6r\\xF6s\\xE9nek kell lennie`;case\"unrecognized_keys\":return`Ismeretlen kulcs${e.keys.length>1?\"s\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\xC9rv\\xE9nytelen kulcs ${e.origin}`;case\"invalid_union\":return\"\\xC9rv\\xE9nytelen bemenet\";case\"invalid_element\":return`\\xC9rv\\xE9nytelen \\xE9rt\\xE9k: ${e.origin}`;default:return\"\\xC9rv\\xE9nytelen bemenet\"}}}});function cm(t,r,n){return Math.abs(t)===1?r:n}function Et(t){if(!t)return\"\";let r=[\"\\u0561\",\"\\u0565\",\"\\u0568\",\"\\u056B\",\"\\u0578\",\"\\u0578\\u0582\",\"\\u0585\"],n=t[t.length-1];return t+(r.includes(n)?\"\\u0576\":\"\\u0568\")}function um(){return{localeError:Nh()}}var Nh,lm=x(()=>{S();Nh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.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 ${e.expected}, \\u057D\\u057F\\u0561\\u0581\\u057E\\u0565\\u056C \\u0567 ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.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 ${b(e.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 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);if(a){let s=Number(e.maximum),u=cm(s,a.unit.one,a.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 ${Et(e.origin??\"\\u0561\\u0580\\u056A\\u0565\\u0584\")} \\u056F\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561 ${o}${e.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 ${Et(e.origin??\"\\u0561\\u0580\\u056A\\u0565\\u0584\")} \\u056C\\u056B\\u0576\\u056B ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);if(a){let s=Number(e.minimum),u=cm(s,a.unit.one,a.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 ${Et(e.origin)} \\u056F\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561 ${o}${e.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 ${Et(e.origin)} \\u056C\\u056B\\u0576\\u056B ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.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 ${e.divisor}-\\u056B`;case\"unrecognized_keys\":return`\\u0549\\u0573\\u0561\\u0576\\u0561\\u0579\\u057E\\u0561\\u056E \\u0562\\u0561\\u0576\\u0561\\u056C\\u056B${e.keys.length>1?\"\\u0576\\u0565\\u0580\":\"\"}. ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u054D\\u056D\\u0561\\u056C \\u0562\\u0561\\u0576\\u0561\\u056C\\u056B ${Et(e.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 ${Et(e.origin)}-\\u0578\\u0582\\u0574`;default:return\"\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\"}}}});function dm(){return{localeError:Zh()}}var Zh,pm=x(()=>{S();Zh=()=>{let t={string:{unit:\"karakter\",verb:\"memiliki\"},file:{unit:\"byte\",verb:\"memiliki\"},array:{unit:\"item\",verb:\"memiliki\"},set:{unit:\"item\",verb:\"memiliki\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Input tidak valid: diharapkan instanceof ${e.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${o}, diterima ${s}`}case\"invalid_value\":return e.values.length===1?`Input tidak valid: diharapkan ${b(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Terlalu besar: diharapkan ${e.origin??\"value\"} memiliki ${o}${e.maximum.toString()} ${a.unit??\"elemen\"}`:`Terlalu besar: diharapkan ${e.origin??\"value\"} menjadi ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Terlalu kecil: diharapkan ${e.origin} memiliki ${o}${e.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${e.origin} menjadi ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format} tidak valid`}case\"not_multiple_of\":return`Angka tidak valid: harus kelipatan dari ${e.divisor}`;case\"unrecognized_keys\":return`Kunci tidak dikenali ${e.keys.length>1?\"s\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Kunci tidak valid di ${e.origin}`;case\"invalid_union\":return\"Input tidak valid\";case\"invalid_element\":return`Nilai tidak valid di ${e.origin}`;default:return\"Input tidak valid\"}}}});function mm(){return{localeError:Rh()}}var Rh,fm=x(()=>{S();Rh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera instanceof ${e.expected}`:`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera ${o}`}case\"invalid_value\":return e.values.length===1?`Rangt gildi: gert r\\xE1\\xF0 fyrir ${b(e.values[0])}`:`\\xD3gilt val: m\\xE1 vera eitt af eftirfarandi ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Of st\\xF3rt: gert er r\\xE1\\xF0 fyrir a\\xF0 ${e.origin??\"gildi\"} hafi ${o}${e.maximum.toString()} ${a.unit??\"hluti\"}`:`Of st\\xF3rt: gert er r\\xE1\\xF0 fyrir a\\xF0 ${e.origin??\"gildi\"} s\\xE9 ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Of l\\xEDti\\xF0: gert er r\\xE1\\xF0 fyrir a\\xF0 ${e.origin} hafi ${o}${e.minimum.toString()} ${a.unit}`:`Of l\\xEDti\\xF0: gert er r\\xE1\\xF0 fyrir a\\xF0 ${e.origin} s\\xE9 ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`R\\xF6ng tala: ver\\xF0ur a\\xF0 vera margfeldi af ${e.divisor}`;case\"unrecognized_keys\":return`\\xD3\\xFEekkt ${e.keys.length>1?\"ir lyklar\":\"ur lykill\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Rangur lykill \\xED ${e.origin}`;case\"invalid_union\":return\"Rangt gildi\";case\"invalid_element\":return`Rangt gildi \\xED ${e.origin}`;default:return\"Rangt gildi\"}}}});function gm(){return{localeError:Ah()}}var Ah,hm=x(()=>{S();Ah=()=>{let t={string:{unit:\"caratteri\",verb:\"avere\"},file:{unit:\"byte\",verb:\"avere\"},array:{unit:\"elementi\",verb:\"avere\"},set:{unit:\"elementi\",verb:\"avere\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Input non valido: atteso instanceof ${e.expected}, ricevuto ${s}`:`Input non valido: atteso ${o}, ricevuto ${s}`}case\"invalid_value\":return e.values.length===1?`Input non valido: atteso ${b(e.values[0])}`:`Opzione non valida: atteso uno tra ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Troppo grande: ${e.origin??\"valore\"} deve avere ${o}${e.maximum.toString()} ${a.unit??\"elementi\"}`:`Troppo grande: ${e.origin??\"valore\"} deve essere ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Troppo piccolo: ${e.origin} deve avere ${o}${e.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${e.origin} deve essere ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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}`:`Input non valido: ${n[o.format]??e.format}`}case\"not_multiple_of\":return`Numero non valido: deve essere un multiplo di ${e.divisor}`;case\"unrecognized_keys\":return`Chiav${e.keys.length>1?\"i\":\"e\"} non riconosciut${e.keys.length>1?\"e\":\"a\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Chiave non valida in ${e.origin}`;case\"invalid_union\":return\"Input non valido\";case\"invalid_element\":return`Valore non valido in ${e.origin}`;default:return\"Input non valido\"}}}});function vm(){return{localeError:Ch()}}var Ch,bm=x(()=>{S();Ch=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u7121\\u52B9\\u306A\\u5165\\u529B: instanceof ${e.expected}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F\\u304C\\u3001${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${o}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F\\u304C\\u3001${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`}case\"invalid_value\":return e.values.length===1?`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${b(e.values[0])}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u9078\\u629E: ${m(e.values,\"\\u3001\")}\\u306E\\u3044\\u305A\\u308C\\u304B\\u3067\\u3042\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`;case\"too_big\":{let o=e.inclusive?\"\\u4EE5\\u4E0B\\u3067\\u3042\\u308B\":\"\\u3088\\u308A\\u5C0F\\u3055\\u3044\",a=r(e.origin);return a?`\\u5927\\u304D\\u3059\\u304E\\u308B\\u5024: ${e.origin??\"\\u5024\"}\\u306F${e.maximum.toString()}${a.unit??\"\\u8981\\u7D20\"}${o}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:`\\u5927\\u304D\\u3059\\u304E\\u308B\\u5024: ${e.origin??\"\\u5024\"}\\u306F${e.maximum.toString()}${o}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`}case\"too_small\":{let o=e.inclusive?\"\\u4EE5\\u4E0A\\u3067\\u3042\\u308B\":\"\\u3088\\u308A\\u5927\\u304D\\u3044\",a=r(e.origin);return a?`\\u5C0F\\u3055\\u3059\\u304E\\u308B\\u5024: ${e.origin}\\u306F${e.minimum.toString()}${a.unit}${o}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:`\\u5C0F\\u3055\\u3059\\u304E\\u308B\\u5024: ${e.origin}\\u306F${e.minimum.toString()}${o}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`\\u7121\\u52B9\\u306A\\u6570\\u5024: ${e.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${e.keys.length>1?\"\\u7FA4\":\"\"}: ${m(e.keys,\"\\u3001\")}`;case\"invalid_key\":return`${e.origin}\\u5185\\u306E\\u7121\\u52B9\\u306A\\u30AD\\u30FC`;case\"invalid_union\":return\"\\u7121\\u52B9\\u306A\\u5165\\u529B\";case\"invalid_element\":return`${e.origin}\\u5185\\u306E\\u7121\\u52B9\\u306A\\u5024`;default:return\"\\u7121\\u52B9\\u306A\\u5165\\u529B\"}}}});function $m(){return{localeError:Lh()}}var Lh,ym=x(()=>{S();Lh=()=>{let t={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 r(e){return t[e]??null}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 \\u10D5\\u10D4\\u10DA\\u10D8\",base64url:\"base64url-\\u10D9\\u10DD\\u10D3\\u10D8\\u10E0\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8\",json_string:\"JSON \\u10D5\\u10D4\\u10DA\\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:\"\\u10D5\\u10D4\\u10DA\\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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.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 ${e.expected}, \\u10DB\\u10D8\\u10E6\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.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 ${b(e.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 ${m(e.values,\"|\")}-\\u10D3\\u10D0\\u10DC`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10D3\\u10D8\\u10D3\\u10D8: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${e.origin??\"\\u10DB\\u10DC\\u10D8\\u10E8\\u10D5\\u10DC\\u10D4\\u10DA\\u10DD\\u10D1\\u10D0\"} ${a.verb} ${o}${e.maximum.toString()} ${a.unit}`:`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10D3\\u10D8\\u10D3\\u10D8: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${e.origin??\"\\u10DB\\u10DC\\u10D8\\u10E8\\u10D5\\u10DC\\u10D4\\u10DA\\u10DD\\u10D1\\u10D0\"} \\u10D8\\u10E7\\u10DD\\u10E1 ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\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 ${e.origin} ${a.verb} ${o}${e.minimum.toString()} ${a.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 ${e.origin} \\u10D8\\u10E7\\u10DD\\u10E1 ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;return o.format===\"starts_with\"?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D4\\u10DA\\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 \\u10D5\\u10D4\\u10DA\\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 \\u10D5\\u10D4\\u10DA\\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 \\u10D5\\u10D4\\u10DA\\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]??e.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 ${e.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${e.keys.length>1?\"\\u10D4\\u10D1\\u10D8\":\"\\u10D8\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D2\\u10D0\\u10E1\\u10D0\\u10E6\\u10D4\\u10D1\\u10D8 ${e.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 ${e.origin}-\\u10E8\\u10D8`;default:return\"\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0\"}}}});function no(){return{localeError:Mh()}}var Mh,kc=x(()=>{S();Mh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.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 ${e.expected} \\u1794\\u17C9\\u17BB\\u1793\\u17D2\\u178F\\u17C2\\u1791\\u1791\\u17BD\\u179B\\u1794\\u17B6\\u1793 ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.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 ${b(e.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 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u1792\\u17C6\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${e.origin??\"\\u178F\\u1798\\u17D2\\u179B\\u17C3\"} ${o} ${e.maximum.toString()} ${a.unit??\"\\u1792\\u17B6\\u178F\\u17BB\"}`:`\\u1792\\u17C6\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${e.origin??\"\\u178F\\u1798\\u17D2\\u179B\\u17C3\"} ${o} ${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u178F\\u17BC\\u1785\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${e.origin} ${o} ${e.minimum.toString()} ${a.unit}`:`\\u178F\\u17BC\\u1785\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${e.origin} ${o} ${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.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 ${e.divisor}`;case\"unrecognized_keys\":return`\\u179A\\u1780\\u1783\\u17BE\\u1789\\u179F\\u17C4\\u1798\\u17B7\\u1793\\u179F\\u17D2\\u1782\\u17B6\\u179B\\u17CB\\u17D6 ${m(e.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 ${e.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 ${e.origin}`;default:return\"\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\"}}}});function _m(){return no()}var xm=x(()=>{kc()});function km(){return{localeError:qh()}}var qh,zm=x(()=>{S();qh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uC608\\uC0C1 \\uD0C0\\uC785\\uC740 instanceof ${e.expected}, \\uBC1B\\uC740 \\uD0C0\\uC785\\uC740 ${s}\\uC785\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uC608\\uC0C1 \\uD0C0\\uC785\\uC740 ${o}, \\uBC1B\\uC740 \\uD0C0\\uC785\\uC740 ${s}\\uC785\\uB2C8\\uB2E4`}case\"invalid_value\":return e.values.length===1?`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uAC12\\uC740 ${b(e.values[0])} \\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC635\\uC158: ${m(e.values,\"\\uB610\\uB294 \")} \\uC911 \\uD558\\uB098\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4`;case\"too_big\":{let o=e.inclusive?\"\\uC774\\uD558\":\"\\uBBF8\\uB9CC\",a=o===\"\\uBBF8\\uB9CC\"?\"\\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4\":\"\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4\",s=r(e.origin),u=s?.unit??\"\\uC694\\uC18C\";return s?`${e.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uD07D\\uB2C8\\uB2E4: ${e.maximum.toString()}${u} ${o}${a}`:`${e.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uD07D\\uB2C8\\uB2E4: ${e.maximum.toString()} ${o}${a}`}case\"too_small\":{let o=e.inclusive?\"\\uC774\\uC0C1\":\"\\uCD08\\uACFC\",a=o===\"\\uC774\\uC0C1\"?\"\\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4\":\"\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4\",s=r(e.origin),u=s?.unit??\"\\uC694\\uC18C\";return s?`${e.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uC791\\uC2B5\\uB2C8\\uB2E4: ${e.minimum.toString()}${u} ${o}${a}`:`${e.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uC791\\uC2B5\\uB2C8\\uB2E4: ${e.minimum.toString()} ${o}${a}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`\\uC798\\uBABB\\uB41C \\uC22B\\uC790: ${e.divisor}\\uC758 \\uBC30\\uC218\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4`;case\"unrecognized_keys\":return`\\uC778\\uC2DD\\uD560 \\uC218 \\uC5C6\\uB294 \\uD0A4: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\uC798\\uBABB\\uB41C \\uD0A4: ${e.origin}`;case\"invalid_union\":return\"\\uC798\\uBABB\\uB41C \\uC785\\uB825\";case\"invalid_element\":return`\\uC798\\uBABB\\uB41C \\uAC12: ${e.origin}`;default:return\"\\uC798\\uBABB\\uB41C \\uC785\\uB825\"}}}});function Sm(t){let r=Math.abs(t),n=r%10,i=r%100;return i>=11&&i<=19||n===0?\"many\":n===1?\"one\":\"few\"}function wm(){return{localeError:Fh()}}var br,Fh,Im=x(()=>{S();br=t=>t.charAt(0).toUpperCase()+t.slice(1);Fh=()=>{let t={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 r(e,o,a,s){let u=t[e]??null;return u===null?u:{unit:u.unit[o],verb:u.verb[s][a?\"inclusive\":\"notInclusive\"]}}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Gautas tipas ${s}, o tik\\u0117tasi - instanceof ${e.expected}`:`Gautas tipas ${s}, o tik\\u0117tasi - ${o}`}case\"invalid_value\":return e.values.length===1?`Privalo b\\u016Bti ${b(e.values[0])}`:`Privalo b\\u016Bti vienas i\\u0161 ${m(e.values,\"|\")} pasirinkim\\u0173`;case\"too_big\":{let o=i[e.origin]??e.origin,a=r(e.origin,Sm(Number(e.maximum)),e.inclusive??!1,\"smaller\");if(a?.verb)return`${br(o??e.origin??\"reik\\u0161m\\u0117\")} ${a.verb} ${e.maximum.toString()} ${a.unit??\"element\\u0173\"}`;let s=e.inclusive?\"ne didesnis kaip\":\"ma\\u017Eesnis kaip\";return`${br(o??e.origin??\"reik\\u0161m\\u0117\")} turi b\\u016Bti ${s} ${e.maximum.toString()} ${a?.unit}`}case\"too_small\":{let o=i[e.origin]??e.origin,a=r(e.origin,Sm(Number(e.minimum)),e.inclusive??!1,\"bigger\");if(a?.verb)return`${br(o??e.origin??\"reik\\u0161m\\u0117\")} ${a.verb} ${e.minimum.toString()} ${a.unit??\"element\\u0173\"}`;let s=e.inclusive?\"ne ma\\u017Eesnis kaip\":\"didesnis kaip\";return`${br(o??e.origin??\"reik\\u0161m\\u0117\")} turi b\\u016Bti ${s} ${e.minimum.toString()} ${a?.unit}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Skai\\u010Dius privalo b\\u016Bti ${e.divisor} kartotinis.`;case\"unrecognized_keys\":return`Neatpa\\u017Eint${e.keys.length>1?\"i\":\"as\"} rakt${e.keys.length>1?\"ai\":\"as\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return\"Rastas klaidingas raktas\";case\"invalid_union\":return\"Klaidinga \\u012Fvestis\";case\"invalid_element\":{let o=i[e.origin]??e.origin;return`${br(o??e.origin??\"reik\\u0161m\\u0117\")} turi klaiding\\u0105 \\u012Fvest\\u012F`}default:return\"Klaidinga \\u012Fvestis\"}}}});function Pm(){return{localeError:Vh()}}var Vh,jm=x(()=>{S();Vh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 instanceof ${e.expected}, \\u043F\\u0440\\u0438\\u043C\\u0435\\u043D\\u043E ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.values.length===1?`Invalid input: expected ${b(e.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 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u0433\\u043E\\u043B\\u0435\\u043C: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${e.origin??\"\\u0432\\u0440\\u0435\\u0434\\u043D\\u043E\\u0441\\u0442\\u0430\"} \\u0434\\u0430 \\u0438\\u043C\\u0430 ${o}${e.maximum.toString()} ${a.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 ${e.origin??\"\\u0432\\u0440\\u0435\\u0434\\u043D\\u043E\\u0441\\u0442\\u0430\"} \\u0434\\u0430 \\u0431\\u0438\\u0434\\u0435 ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u043C\\u0430\\u043B: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${e.origin} \\u0434\\u0430 \\u0438\\u043C\\u0430 ${o}${e.minimum.toString()} ${a.unit}`:`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u043C\\u0430\\u043B: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${e.origin} \\u0434\\u0430 \\u0431\\u0438\\u0434\\u0435 ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.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 ${e.divisor}`;case\"unrecognized_keys\":return`${e.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\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u043A\\u043B\\u0443\\u0447 \\u0432\\u043E ${e.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 ${e.origin}`;default:return\"\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441\"}}}});function Tm(){return{localeError:Jh()}}var Jh,Om=x(()=>{S();Jh=()=>{let t={string:{unit:\"aksara\",verb:\"mempunyai\"},file:{unit:\"bait\",verb:\"mempunyai\"},array:{unit:\"elemen\",verb:\"mempunyai\"},set:{unit:\"elemen\",verb:\"mempunyai\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Input tidak sah: dijangka instanceof ${e.expected}, diterima ${s}`:`Input tidak sah: dijangka ${o}, diterima ${s}`}case\"invalid_value\":return e.values.length===1?`Input tidak sah: dijangka ${b(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Terlalu besar: dijangka ${e.origin??\"nilai\"} ${a.verb} ${o}${e.maximum.toString()} ${a.unit??\"elemen\"}`:`Terlalu besar: dijangka ${e.origin??\"nilai\"} adalah ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Terlalu kecil: dijangka ${e.origin} ${a.verb} ${o}${e.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${e.origin} adalah ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format} tidak sah`}case\"not_multiple_of\":return`Nombor tidak sah: perlu gandaan ${e.divisor}`;case\"unrecognized_keys\":return`Kunci tidak dikenali: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Kunci tidak sah dalam ${e.origin}`;case\"invalid_union\":return\"Input tidak sah\";case\"invalid_element\":return`Nilai tidak sah dalam ${e.origin}`;default:return\"Input tidak sah\"}}}});function Dm(){return{localeError:Hh()}}var Hh,Um=x(()=>{S();Hh=()=>{let t={string:{unit:\"tekens\",verb:\"heeft\"},file:{unit:\"bytes\",verb:\"heeft\"},array:{unit:\"elementen\",verb:\"heeft\"},set:{unit:\"elementen\",verb:\"heeft\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Ongeldige invoer: verwacht instanceof ${e.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${o}, ontving ${s}`}case\"invalid_value\":return e.values.length===1?`Ongeldige invoer: verwacht ${b(e.values[0])}`:`Ongeldige optie: verwacht \\xE9\\xE9n van ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin),s=e.origin===\"date\"?\"laat\":e.origin===\"string\"?\"lang\":\"groot\";return a?`Te ${s}: verwacht dat ${e.origin??\"waarde\"} ${o}${e.maximum.toString()} ${a.unit??\"elementen\"} ${a.verb}`:`Te ${s}: verwacht dat ${e.origin??\"waarde\"} ${o}${e.maximum.toString()} is`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin),s=e.origin===\"date\"?\"vroeg\":e.origin===\"string\"?\"kort\":\"klein\";return a?`Te ${s}: verwacht dat ${e.origin} ${o}${e.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: verwacht dat ${e.origin} ${o}${e.minimum.toString()} is`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;case\"unrecognized_keys\":return`Onbekende key${e.keys.length>1?\"s\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Ongeldige key in ${e.origin}`;case\"invalid_union\":return\"Ongeldige invoer\";case\"invalid_element\":return`Ongeldige waarde in ${e.origin}`;default:return\"Ongeldige invoer\"}}}});function Em(){return{localeError:Kh()}}var Kh,Nm=x(()=>{S();Kh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Ugyldig input: forventet instanceof ${e.expected}, fikk ${s}`:`Ugyldig input: forventet ${o}, fikk ${s}`}case\"invalid_value\":return e.values.length===1?`Ugyldig verdi: forventet ${b(e.values[0])}`:`Ugyldig valg: forventet en av ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`For stor(t): forventet ${e.origin??\"value\"} til \\xE5 ha ${o}${e.maximum.toString()} ${a.unit??\"elementer\"}`:`For stor(t): forventet ${e.origin??\"value\"} til \\xE5 ha ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`For lite(n): forventet ${e.origin} til \\xE5 ha ${o}${e.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${e.origin} til \\xE5 ha ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Ugyldig tall: m\\xE5 v\\xE6re et multiplum av ${e.divisor}`;case\"unrecognized_keys\":return`${e.keys.length>1?\"Ukjente n\\xF8kler\":\"Ukjent n\\xF8kkel\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\xF8kkel i ${e.origin}`;case\"invalid_union\":return\"Ugyldig input\";case\"invalid_element\":return`Ugyldig verdi i ${e.origin}`;default:return\"Ugyldig input\"}}}});function Zm(){return{localeError:Bh()}}var Bh,Rm=x(()=>{S();Bh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`F\\xE2sit giren: umulan instanceof ${e.expected}, al\\u0131nan ${s}`:`F\\xE2sit giren: umulan ${o}, al\\u0131nan ${s}`}case\"invalid_value\":return e.values.length===1?`F\\xE2sit giren: umulan ${b(e.values[0])}`:`F\\xE2sit tercih: m\\xFBteberler ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Fazla b\\xFCy\\xFCk: ${e.origin??\"value\"}, ${o}${e.maximum.toString()} ${a.unit??\"elements\"} sahip olmal\\u0131yd\\u0131.`:`Fazla b\\xFCy\\xFCk: ${e.origin??\"value\"}, ${o}${e.maximum.toString()} olmal\\u0131yd\\u0131.`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Fazla k\\xFC\\xE7\\xFCk: ${e.origin}, ${o}${e.minimum.toString()} ${a.unit} sahip olmal\\u0131yd\\u0131.`:`Fazla k\\xFC\\xE7\\xFCk: ${e.origin}, ${o}${e.minimum.toString()} olmal\\u0131yd\\u0131.`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`F\\xE2sit say\\u0131: ${e.divisor} kat\\u0131 olmal\\u0131yd\\u0131.`;case\"unrecognized_keys\":return`Tan\\u0131nmayan anahtar ${e.keys.length>1?\"s\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`${e.origin} i\\xE7in tan\\u0131nmayan anahtar var.`;case\"invalid_union\":return\"Giren tan\\u0131namad\\u0131.\";case\"invalid_element\":return`${e.origin} i\\xE7in tan\\u0131nmayan k\\u0131ymet var.`;default:return\"K\\u0131ymet tan\\u0131namad\\u0131.\"}}}});function Am(){return{localeError:Wh()}}var Wh,Cm=x(()=>{S();Wh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F instanceof ${e.expected} \\u0648\\u0627\\u06CC, \\u0645\\u06AB\\u0631 ${s} \\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 ${s} \\u062A\\u0631\\u0644\\u0627\\u0633\\u0647 \\u0634\\u0648`}case\"invalid_value\":return e.values.length===1?`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F ${b(e.values[0])} \\u0648\\u0627\\u06CC`:`\\u0646\\u0627\\u0633\\u0645 \\u0627\\u0646\\u062A\\u062E\\u0627\\u0628: \\u0628\\u0627\\u06CC\\u062F \\u06CC\\u0648 \\u0644\\u0647 ${m(e.values,\"|\")} \\u0685\\u062E\\u0647 \\u0648\\u0627\\u06CC`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u0689\\u06CC\\u0631 \\u0644\\u0648\\u06CC: ${e.origin??\"\\u0627\\u0631\\u0632\\u069A\\u062A\"} \\u0628\\u0627\\u06CC\\u062F ${o}${e.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0635\\u0631\\u0648\\u0646\\u0647\"} \\u0648\\u0644\\u0631\\u064A`:`\\u0689\\u06CC\\u0631 \\u0644\\u0648\\u06CC: ${e.origin??\"\\u0627\\u0631\\u0632\\u069A\\u062A\"} \\u0628\\u0627\\u06CC\\u062F ${o}${e.maximum.toString()} \\u0648\\u064A`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u0689\\u06CC\\u0631 \\u06A9\\u0648\\u0686\\u0646\\u06CC: ${e.origin} \\u0628\\u0627\\u06CC\\u062F ${o}${e.minimum.toString()} ${a.unit} \\u0648\\u0644\\u0631\\u064A`:`\\u0689\\u06CC\\u0631 \\u06A9\\u0648\\u0686\\u0646\\u06CC: ${e.origin} \\u0628\\u0627\\u06CC\\u062F ${o}${e.minimum.toString()} \\u0648\\u064A`}case\"invalid_format\":{let o=e;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]??e.format} \\u0646\\u0627\\u0633\\u0645 \\u062F\\u06CC`}case\"not_multiple_of\":return`\\u0646\\u0627\\u0633\\u0645 \\u0639\\u062F\\u062F: \\u0628\\u0627\\u06CC\\u062F \\u062F ${e.divisor} \\u0645\\u0636\\u0631\\u0628 \\u0648\\u064A`;case\"unrecognized_keys\":return`\\u0646\\u0627\\u0633\\u0645 ${e.keys.length>1?\"\\u06A9\\u0644\\u06CC\\u0689\\u0648\\u0646\\u0647\":\"\\u06A9\\u0644\\u06CC\\u0689\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u0646\\u0627\\u0633\\u0645 \\u06A9\\u0644\\u06CC\\u0689 \\u067E\\u0647 ${e.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 ${e.origin} \\u06A9\\u06D0`;default:return\"\\u0646\\u0627\\u0633\\u0645\\u0647 \\u0648\\u0631\\u0648\\u062F\\u064A\"}}}});function Lm(){return{localeError:Gh()}}var Gh,Mm=x(()=>{S();Gh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano instanceof ${e.expected}, otrzymano ${s}`:`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${o}, otrzymano ${s}`}case\"invalid_value\":return e.values.length===1?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${b(e.values[0])}`:`Nieprawid\\u0142owa opcja: oczekiwano jednej z warto\\u015Bci ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Za du\\u017Ca warto\\u015B\\u0107: oczekiwano, \\u017Ce ${e.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie mie\\u0107 ${o}${e.maximum.toString()} ${a.unit??\"element\\xF3w\"}`:`Zbyt du\\u017C(y/a/e): oczekiwano, \\u017Ce ${e.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie wynosi\\u0107 ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Za ma\\u0142a warto\\u015B\\u0107: oczekiwano, \\u017Ce ${e.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie mie\\u0107 ${o}${e.minimum.toString()} ${a.unit??\"element\\xF3w\"}`:`Zbyt ma\\u0142(y/a/e): oczekiwano, \\u017Ce ${e.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie wynosi\\u0107 ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Nieprawid\\u0142owa liczba: musi by\\u0107 wielokrotno\\u015Bci\\u0105 ${e.divisor}`;case\"unrecognized_keys\":return`Nierozpoznane klucze${e.keys.length>1?\"s\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Nieprawid\\u0142owy klucz w ${e.origin}`;case\"invalid_union\":return\"Nieprawid\\u0142owe dane wej\\u015Bciowe\";case\"invalid_element\":return`Nieprawid\\u0142owa warto\\u015B\\u0107 w ${e.origin}`;default:return\"Nieprawid\\u0142owe dane wej\\u015Bciowe\"}}}});function qm(){return{localeError:Qh()}}var Qh,Fm=x(()=>{S();Qh=()=>{let t={string:{unit:\"caracteres\",verb:\"ter\"},file:{unit:\"bytes\",verb:\"ter\"},array:{unit:\"itens\",verb:\"ter\"},set:{unit:\"itens\",verb:\"ter\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Tipo inv\\xE1lido: esperado instanceof ${e.expected}, recebido ${s}`:`Tipo inv\\xE1lido: esperado ${o}, recebido ${s}`}case\"invalid_value\":return e.values.length===1?`Entrada inv\\xE1lida: esperado ${b(e.values[0])}`:`Op\\xE7\\xE3o inv\\xE1lida: esperada uma das ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Muito grande: esperado que ${e.origin??\"valor\"} tivesse ${o}${e.maximum.toString()} ${a.unit??\"elementos\"}`:`Muito grande: esperado que ${e.origin??\"valor\"} fosse ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Muito pequeno: esperado que ${e.origin} tivesse ${o}${e.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${e.origin} fosse ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format} inv\\xE1lido`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE1lido: deve ser m\\xFAltiplo de ${e.divisor}`;case\"unrecognized_keys\":return`Chave${e.keys.length>1?\"s\":\"\"} desconhecida${e.keys.length>1?\"s\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Chave inv\\xE1lida em ${e.origin}`;case\"invalid_union\":return\"Entrada inv\\xE1lida\";case\"invalid_element\":return`Valor inv\\xE1lido em ${e.origin}`;default:return\"Campo inv\\xE1lido\"}}}});function Vm(){return{localeError:Xh()}}var Xh,Jm=x(()=>{S();Xh=()=>{let t={string:{unit:\"caractere\",verb:\"s\\u0103 aib\\u0103\"},file:{unit:\"octe\\u021Bi\",verb:\"s\\u0103 aib\\u0103\"},array:{unit:\"elemente\",verb:\"s\\u0103 aib\\u0103\"},set:{unit:\"elemente\",verb:\"s\\u0103 aib\\u0103\"},map:{unit:\"intr\\u0103ri\",verb:\"s\\u0103 aib\\u0103\"}};function r(e){return t[e]??null}let n={regex:\"intrare\",email:\"adres\\u0103 de 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:\"dat\\u0103 \\u0219i or\\u0103 ISO\",date:\"dat\\u0103 ISO\",time:\"or\\u0103 ISO\",duration:\"durat\\u0103 ISO\",ipv4:\"adres\\u0103 IPv4\",ipv6:\"adres\\u0103 IPv6\",mac:\"adres\\u0103 MAC\",cidrv4:\"interval IPv4\",cidrv6:\"interval IPv6\",base64:\"\\u0219ir codat base64\",base64url:\"\\u0219ir codat base64url\",json_string:\"\\u0219ir JSON\",e164:\"num\\u0103r E.164\",jwt:\"JWT\",template_literal:\"intrare\"},i={nan:\"NaN\",string:\"\\u0219ir\",number:\"num\\u0103r\",boolean:\"boolean\",function:\"func\\u021Bie\",array:\"matrice\",object:\"obiect\",undefined:\"nedefinit\",symbol:\"simbol\",bigint:\"num\\u0103r mare\",void:\"void\",never:\"never\",map:\"hart\\u0103\",set:\"set\"};return e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return`Intrare invalid\\u0103: a\\u0219teptat ${o}, primit ${s}`}case\"invalid_value\":return e.values.length===1?`Intrare invalid\\u0103: a\\u0219teptat ${b(e.values[0])}`:`Op\\u021Biune invalid\\u0103: a\\u0219teptat una dintre ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Prea mare: a\\u0219teptat ca ${e.origin??\"valoarea\"} ${a.verb} ${o}${e.maximum.toString()} ${a.unit??\"elemente\"}`:`Prea mare: a\\u0219teptat ca ${e.origin??\"valoarea\"} s\\u0103 fie ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Prea mic: a\\u0219teptat ca ${e.origin} ${a.verb} ${o}${e.minimum.toString()} ${a.unit}`:`Prea mic: a\\u0219teptat ca ${e.origin} s\\u0103 fie ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;return o.format===\"starts_with\"?`\\u0218ir invalid: trebuie s\\u0103 \\xEEnceap\\u0103 cu \"${o.prefix}\"`:o.format===\"ends_with\"?`\\u0218ir invalid: trebuie s\\u0103 se termine cu \"${o.suffix}\"`:o.format===\"includes\"?`\\u0218ir invalid: trebuie s\\u0103 includ\\u0103 \"${o.includes}\"`:o.format===\"regex\"?`\\u0218ir invalid: trebuie s\\u0103 se potriveasc\\u0103 cu modelul ${o.pattern}`:`Format invalid: ${n[o.format]??e.format}`}case\"not_multiple_of\":return`Num\\u0103r invalid: trebuie s\\u0103 fie multiplu de ${e.divisor}`;case\"unrecognized_keys\":return`Chei nerecunoscute: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Cheie invalid\\u0103 \\xEEn ${e.origin}`;case\"invalid_union\":return\"Intrare invalid\\u0103\";case\"invalid_element\":return`Valoare invalid\\u0103 \\xEEn ${e.origin}`;default:return\"Intrare invalid\\u0103\"}}}});function Hm(t,r,n,i){let e=Math.abs(t),o=e%10,a=e%100;return a>=11&&a<=19?i:o===1?r:o>=2&&o<=4?n:i}function Km(){return{localeError:Yh()}}var Yh,Bm=x(()=>{S();Yh=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C instanceof ${e.expected}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D\\u043E ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.values.length===1?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C ${b(e.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 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);if(a){let s=Number(e.maximum),u=Hm(s,a.unit.one,a.unit.few,a.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 ${e.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435\"} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${o}${e.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 ${e.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435\"} \\u0431\\u0443\\u0434\\u0435\\u0442 ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);if(a){let s=Number(e.minimum),u=Hm(s,a.unit.one,a.unit.few,a.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 ${e.origin} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${o}${e.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 ${e.origin} \\u0431\\u0443\\u0434\\u0435\\u0442 ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.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 ${e.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u0430\\u0441\\u043F\\u043E\\u0437\\u043D\\u0430\\u043D\\u043D${e.keys.length>1?\"\\u044B\\u0435\":\"\\u044B\\u0439\"} \\u043A\\u043B\\u044E\\u0447${e.keys.length>1?\"\\u0438\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u043A\\u043B\\u044E\\u0447 \\u0432 ${e.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 ${e.origin}`;default:return\"\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0435 \\u0432\\u0445\\u043E\\u0434\\u043D\\u044B\\u0435 \\u0434\\u0430\\u043D\\u043D\\u044B\\u0435\"}}}});function Wm(){return{localeError:ev()}}var ev,Gm=x(()=>{S();ev=()=>{let t={string:{unit:\"znakov\",verb:\"imeti\"},file:{unit:\"bajtov\",verb:\"imeti\"},array:{unit:\"elementov\",verb:\"imeti\"},set:{unit:\"elementov\",verb:\"imeti\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Neveljaven vnos: pri\\u010Dakovano instanceof ${e.expected}, prejeto ${s}`:`Neveljaven vnos: pri\\u010Dakovano ${o}, prejeto ${s}`}case\"invalid_value\":return e.values.length===1?`Neveljaven vnos: pri\\u010Dakovano ${b(e.values[0])}`:`Neveljavna mo\\u017Enost: pri\\u010Dakovano eno izmed ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Preveliko: pri\\u010Dakovano, da bo ${e.origin??\"vrednost\"} imelo ${o}${e.maximum.toString()} ${a.unit??\"elementov\"}`:`Preveliko: pri\\u010Dakovano, da bo ${e.origin??\"vrednost\"} ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Premajhno: pri\\u010Dakovano, da bo ${e.origin} imelo ${o}${e.minimum.toString()} ${a.unit}`:`Premajhno: pri\\u010Dakovano, da bo ${e.origin} ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Neveljavno \\u0161tevilo: mora biti ve\\u010Dkratnik ${e.divisor}`;case\"unrecognized_keys\":return`Neprepoznan${e.keys.length>1?\"i klju\\u010Di\":\" klju\\u010D\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Neveljaven klju\\u010D v ${e.origin}`;case\"invalid_union\":return\"Neveljaven vnos\";case\"invalid_element\":return`Neveljavna vrednost v ${e.origin}`;default:return\"Neveljaven vnos\"}}}});function Qm(){return{localeError:tv()}}var tv,Xm=x(()=>{S();tv=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Ogiltig inmatning: f\\xF6rv\\xE4ntat instanceof ${e.expected}, fick ${s}`:`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${o}, fick ${s}`}case\"invalid_value\":return e.values.length===1?`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${b(e.values[0])}`:`Ogiltigt val: f\\xF6rv\\xE4ntade en av ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`F\\xF6r stor(t): f\\xF6rv\\xE4ntade ${e.origin??\"v\\xE4rdet\"} att ha ${o}${e.maximum.toString()} ${a.unit??\"element\"}`:`F\\xF6r stor(t): f\\xF6rv\\xE4ntat ${e.origin??\"v\\xE4rdet\"} att ha ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`F\\xF6r lite(t): f\\xF6rv\\xE4ntade ${e.origin??\"v\\xE4rdet\"} att ha ${o}${e.minimum.toString()} ${a.unit}`:`F\\xF6r lite(t): f\\xF6rv\\xE4ntade ${e.origin??\"v\\xE4rdet\"} att ha ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Ogiltigt tal: m\\xE5ste vara en multipel av ${e.divisor}`;case\"unrecognized_keys\":return`${e.keys.length>1?\"Ok\\xE4nda nycklar\":\"Ok\\xE4nd nyckel\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Ogiltig nyckel i ${e.origin??\"v\\xE4rdet\"}`;case\"invalid_union\":return\"Ogiltig input\";case\"invalid_element\":return`Ogiltigt v\\xE4rde i ${e.origin??\"v\\xE4rdet\"}`;default:return\"Ogiltig input\"}}}});function Ym(){return{localeError:rv()}}var rv,ef=x(()=>{S();rv=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.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 ${e.expected}, \\u0BAA\\u0BC6\\u0BB1\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.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 ${b(e.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 ${m(e.values,\"|\")} \\u0B87\\u0BB2\\u0BCD \\u0B92\\u0BA9\\u0BCD\\u0BB1\\u0BC1`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\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 ${e.origin??\"\\u0BAE\\u0BA4\\u0BBF\\u0BAA\\u0BCD\\u0BAA\\u0BC1\"} ${o}${e.maximum.toString()} ${a.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 ${e.origin??\"\\u0BAE\\u0BA4\\u0BBF\\u0BAA\\u0BCD\\u0BAA\\u0BC1\"} ${o}${e.maximum.toString()} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\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 ${e.origin} ${o}${e.minimum.toString()} ${a.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 ${e.origin} ${o}${e.minimum.toString()} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B8E\\u0BA3\\u0BCD: ${e.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${e.keys.length>1?\"\\u0B95\\u0BB3\\u0BCD\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`${e.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`${e.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\"}}}});function tf(){return{localeError:nv()}}var nv,rf=x(()=>{S();nv=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.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 ${e.expected} \\u0E41\\u0E15\\u0E48\\u0E44\\u0E14\\u0E49\\u0E23\\u0E31\\u0E1A ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.values.length===1?`\\u0E04\\u0E48\\u0E32\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 ${b(e.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 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"\\u0E44\\u0E21\\u0E48\\u0E40\\u0E01\\u0E34\\u0E19\":\"\\u0E19\\u0E49\\u0E2D\\u0E22\\u0E01\\u0E27\\u0E48\\u0E32\",a=r(e.origin);return a?`\\u0E40\\u0E01\\u0E34\\u0E19\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${e.origin??\"\\u0E04\\u0E48\\u0E32\"} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${o} ${e.maximum.toString()} ${a.unit??\"\\u0E23\\u0E32\\u0E22\\u0E01\\u0E32\\u0E23\"}`:`\\u0E40\\u0E01\\u0E34\\u0E19\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${e.origin??\"\\u0E04\\u0E48\\u0E32\"} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${o} ${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\"\\u0E2D\\u0E22\\u0E48\\u0E32\\u0E07\\u0E19\\u0E49\\u0E2D\\u0E22\":\"\\u0E21\\u0E32\\u0E01\\u0E01\\u0E27\\u0E48\\u0E32\",a=r(e.origin);return a?`\\u0E19\\u0E49\\u0E2D\\u0E22\\u0E01\\u0E27\\u0E48\\u0E32\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${e.origin} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${o} ${e.minimum.toString()} ${a.unit}`:`\\u0E19\\u0E49\\u0E2D\\u0E22\\u0E01\\u0E27\\u0E48\\u0E32\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${e.origin} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${o} ${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.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 ${e.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: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u0E04\\u0E35\\u0E22\\u0E4C\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E43\\u0E19 ${e.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 ${e.origin}`;default:return\"\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07\"}}}});function nf(){return{localeError:ov()}}var ov,of=x(()=>{S();ov=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Ge\\xE7ersiz de\\u011Fer: beklenen instanceof ${e.expected}, al\\u0131nan ${s}`:`Ge\\xE7ersiz de\\u011Fer: beklenen ${o}, al\\u0131nan ${s}`}case\"invalid_value\":return e.values.length===1?`Ge\\xE7ersiz de\\u011Fer: beklenen ${b(e.values[0])}`:`Ge\\xE7ersiz se\\xE7enek: a\\u015Fa\\u011F\\u0131dakilerden biri olmal\\u0131: ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\xC7ok b\\xFCy\\xFCk: beklenen ${e.origin??\"de\\u011Fer\"} ${o}${e.maximum.toString()} ${a.unit??\"\\xF6\\u011Fe\"}`:`\\xC7ok b\\xFCy\\xFCk: beklenen ${e.origin??\"de\\u011Fer\"} ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\xC7ok k\\xFC\\xE7\\xFCk: beklenen ${e.origin} ${o}${e.minimum.toString()} ${a.unit}`:`\\xC7ok k\\xFC\\xE7\\xFCk: beklenen ${e.origin} ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Ge\\xE7ersiz say\\u0131: ${e.divisor} ile tam b\\xF6l\\xFCnebilmeli`;case\"unrecognized_keys\":return`Tan\\u0131nmayan anahtar${e.keys.length>1?\"lar\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`${e.origin} i\\xE7inde ge\\xE7ersiz anahtar`;case\"invalid_union\":return\"Ge\\xE7ersiz de\\u011Fer\";case\"invalid_element\":return`${e.origin} i\\xE7inde ge\\xE7ersiz de\\u011Fer`;default:return\"Ge\\xE7ersiz de\\u011Fer\"}}}});function oo(){return{localeError:iv()}}var iv,zc=x(()=>{S();iv=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.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 ${e.expected}, \\u043E\\u0442\\u0440\\u0438\\u043C\\u0430\\u043D\\u043E ${s}`:`\\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 ${s}`}case\"invalid_value\":return e.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 ${b(e.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 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\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 ${e.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u043D\\u044F\"} ${a.verb} ${o}${e.maximum.toString()} ${a.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 ${e.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u043D\\u044F\"} \\u0431\\u0443\\u0434\\u0435 ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u043C\\u0430\\u043B\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${e.origin} ${a.verb} ${o}${e.minimum.toString()} ${a.unit}`:`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u043C\\u0430\\u043B\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${e.origin} \\u0431\\u0443\\u0434\\u0435 ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.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 ${e.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u043E\\u0437\\u043F\\u0456\\u0437\\u043D\\u0430\\u043D\\u0438\\u0439 \\u043A\\u043B\\u044E\\u0447${e.keys.length>1?\"\\u0456\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u043A\\u043B\\u044E\\u0447 \\u0443 ${e.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 ${e.origin}`;default:return\"\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456\"}}}});function af(){return oo()}var sf=x(()=>{zc()});function cf(){return{localeError:av()}}var av,uf=x(()=>{S();av=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: instanceof ${e.expected} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627\\u060C ${s} \\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 ${s} \\u0645\\u0648\\u0635\\u0648\\u0644 \\u06C1\\u0648\\u0627`}case\"invalid_value\":return e.values.length===1?`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: ${b(e.values[0])} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`:`\\u063A\\u0644\\u0637 \\u0622\\u067E\\u0634\\u0646: ${m(e.values,\"|\")} \\u0645\\u06CC\\u06BA \\u0633\\u06D2 \\u0627\\u06CC\\u06A9 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u0628\\u06C1\\u062A \\u0628\\u0691\\u0627: ${e.origin??\"\\u0648\\u06CC\\u0644\\u06CC\\u0648\"} \\u06A9\\u06D2 ${o}${e.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0627\\u0635\\u0631\"} \\u06C1\\u0648\\u0646\\u06D2 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u06D2`:`\\u0628\\u06C1\\u062A \\u0628\\u0691\\u0627: ${e.origin??\"\\u0648\\u06CC\\u0644\\u06CC\\u0648\"} \\u06A9\\u0627 ${o}${e.maximum.toString()} \\u06C1\\u0648\\u0646\\u0627 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u0628\\u06C1\\u062A \\u0686\\u06BE\\u0648\\u0679\\u0627: ${e.origin} \\u06A9\\u06D2 ${o}${e.minimum.toString()} ${a.unit} \\u06C1\\u0648\\u0646\\u06D2 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u06D2`:`\\u0628\\u06C1\\u062A \\u0686\\u06BE\\u0648\\u0679\\u0627: ${e.origin} \\u06A9\\u0627 ${o}${e.minimum.toString()} \\u06C1\\u0648\\u0646\\u0627 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`\\u063A\\u0644\\u0637 \\u0646\\u0645\\u0628\\u0631: ${e.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${e.keys.length>1?\"\\u0632\":\"\"}: ${m(e.keys,\"\\u060C \")}`;case\"invalid_key\":return`${e.origin} \\u0645\\u06CC\\u06BA \\u063A\\u0644\\u0637 \\u06A9\\u06CC`;case\"invalid_union\":return\"\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679\";case\"invalid_element\":return`${e.origin} \\u0645\\u06CC\\u06BA \\u063A\\u0644\\u0637 \\u0648\\u06CC\\u0644\\u06CC\\u0648`;default:return\"\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679\"}}}});function lf(){return{localeError:sv()}}var sv,df=x(()=>{S();sv=()=>{let t={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\"},map:{unit:\"yozuv\",verb:\"bo\\u2018lishi kerak\"}};function r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`Noto\\u2018g\\u2018ri kirish: kutilgan instanceof ${e.expected}, qabul qilingan ${s}`:`Noto\\u2018g\\u2018ri kirish: kutilgan ${o}, qabul qilingan ${s}`}case\"invalid_value\":return e.values.length===1?`Noto\\u2018g\\u2018ri kirish: kutilgan ${b(e.values[0])}`:`Noto\\u2018g\\u2018ri variant: quyidagilardan biri kutilgan ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Juda katta: kutilgan ${e.origin??\"qiymat\"} ${o}${e.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${e.origin??\"qiymat\"} ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Juda kichik: kutilgan ${e.origin} ${o}${e.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${e.origin} ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`Noto\\u2018g\\u2018ri raqam: ${e.divisor} ning karralisi bo\\u2018lishi kerak`;case\"unrecognized_keys\":return`Noma\\u2019lum kalit${e.keys.length>1?\"lar\":\"\"}: ${m(e.keys,\", \")}`;case\"invalid_key\":return`${e.origin} dagi kalit noto\\u2018g\\u2018ri`;case\"invalid_union\":return\"Noto\\u2018g\\u2018ri kirish\";case\"invalid_element\":return`${e.origin} da noto\\u2018g\\u2018ri qiymat`;default:return\"Noto\\u2018g\\u2018ri kirish\"}}}});function pf(){return{localeError:cv()}}var cv,mf=x(()=>{S();cv=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i instanceof ${e.expected}, nh\\u1EADn \\u0111\\u01B0\\u1EE3c ${s}`:`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${o}, nh\\u1EADn \\u0111\\u01B0\\u1EE3c ${s}`}case\"invalid_value\":return e.values.length===1?`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${b(e.values[0])}`:`T\\xF9y ch\\u1ECDn kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i m\\u1ED9t trong c\\xE1c gi\\xE1 tr\\u1ECB ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`Qu\\xE1 l\\u1EDBn: mong \\u0111\\u1EE3i ${e.origin??\"gi\\xE1 tr\\u1ECB\"} ${a.verb} ${o}${e.maximum.toString()} ${a.unit??\"ph\\u1EA7n t\\u1EED\"}`:`Qu\\xE1 l\\u1EDBn: mong \\u0111\\u1EE3i ${e.origin??\"gi\\xE1 tr\\u1ECB\"} ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`Qu\\xE1 nh\\u1ECF: mong \\u0111\\u1EE3i ${e.origin} ${a.verb} ${o}${e.minimum.toString()} ${a.unit}`:`Qu\\xE1 nh\\u1ECF: mong \\u0111\\u1EE3i ${e.origin} ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.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 ${e.divisor}`;case\"unrecognized_keys\":return`Kh\\xF3a kh\\xF4ng \\u0111\\u01B0\\u1EE3c nh\\u1EADn d\\u1EA1ng: ${m(e.keys,\", \")}`;case\"invalid_key\":return`Kh\\xF3a kh\\xF4ng h\\u1EE3p l\\u1EC7 trong ${e.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 ${e.origin}`;default:return\"\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7\"}}}});function ff(){return{localeError:uv()}}var uv,gf=x(()=>{S();uv=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B instanceof ${e.expected}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`:`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${o}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`}case\"invalid_value\":return e.values.length===1?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${b(e.values[0])}`:`\\u65E0\\u6548\\u9009\\u9879\\uFF1A\\u671F\\u671B\\u4EE5\\u4E0B\\u4E4B\\u4E00 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u6570\\u503C\\u8FC7\\u5927\\uFF1A\\u671F\\u671B ${e.origin??\"\\u503C\"} ${o}${e.maximum.toString()} ${a.unit??\"\\u4E2A\\u5143\\u7D20\"}`:`\\u6570\\u503C\\u8FC7\\u5927\\uFF1A\\u671F\\u671B ${e.origin??\"\\u503C\"} ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u6570\\u503C\\u8FC7\\u5C0F\\uFF1A\\u671F\\u671B ${e.origin} ${o}${e.minimum.toString()} ${a.unit}`:`\\u6570\\u503C\\u8FC7\\u5C0F\\uFF1A\\u671F\\u671B ${e.origin} ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`\\u65E0\\u6548\\u6570\\u5B57\\uFF1A\\u5FC5\\u987B\\u662F ${e.divisor} \\u7684\\u500D\\u6570`;case\"unrecognized_keys\":return`\\u51FA\\u73B0\\u672A\\u77E5\\u7684\\u952E(key): ${m(e.keys,\", \")}`;case\"invalid_key\":return`${e.origin} \\u4E2D\\u7684\\u952E(key)\\u65E0\\u6548`;case\"invalid_union\":return\"\\u65E0\\u6548\\u8F93\\u5165\";case\"invalid_element\":return`${e.origin} \\u4E2D\\u5305\\u542B\\u65E0\\u6548\\u503C(value)`;default:return\"\\u65E0\\u6548\\u8F93\\u5165\"}}}});function hf(){return{localeError:lv()}}var lv,vf=x(()=>{S();lv=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA instanceof ${e.expected}\\uFF0C\\u4F46\\u6536\\u5230 ${s}`:`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${o}\\uFF0C\\u4F46\\u6536\\u5230 ${s}`}case\"invalid_value\":return e.values.length===1?`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${b(e.values[0])}`:`\\u7121\\u6548\\u7684\\u9078\\u9805\\uFF1A\\u9810\\u671F\\u70BA\\u4EE5\\u4E0B\\u5176\\u4E2D\\u4E4B\\u4E00 ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`\\u6578\\u503C\\u904E\\u5927\\uFF1A\\u9810\\u671F ${e.origin??\"\\u503C\"} \\u61C9\\u70BA ${o}${e.maximum.toString()} ${a.unit??\"\\u500B\\u5143\\u7D20\"}`:`\\u6578\\u503C\\u904E\\u5927\\uFF1A\\u9810\\u671F ${e.origin??\"\\u503C\"} \\u61C9\\u70BA ${o}${e.maximum.toString()}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`\\u6578\\u503C\\u904E\\u5C0F\\uFF1A\\u9810\\u671F ${e.origin} \\u61C9\\u70BA ${o}${e.minimum.toString()} ${a.unit}`:`\\u6578\\u503C\\u904E\\u5C0F\\uFF1A\\u9810\\u671F ${e.origin} \\u61C9\\u70BA ${o}${e.minimum.toString()}`}case\"invalid_format\":{let o=e;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]??e.format}`}case\"not_multiple_of\":return`\\u7121\\u6548\\u7684\\u6578\\u5B57\\uFF1A\\u5FC5\\u9808\\u70BA ${e.divisor} \\u7684\\u500D\\u6578`;case\"unrecognized_keys\":return`\\u7121\\u6CD5\\u8B58\\u5225\\u7684\\u9375\\u503C${e.keys.length>1?\"\\u5011\":\"\"}\\uFF1A${m(e.keys,\"\\u3001\")}`;case\"invalid_key\":return`${e.origin} \\u4E2D\\u6709\\u7121\\u6548\\u7684\\u9375\\u503C`;case\"invalid_union\":return\"\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\";case\"invalid_element\":return`${e.origin} \\u4E2D\\u6709\\u7121\\u6548\\u7684\\u503C`;default:return\"\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\"}}}});function bf(){return{localeError:dv()}}var dv,$f=x(()=>{S();dv=()=>{let t={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 r(e){return t[e]??null}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 e=>{switch(e.code){case\"invalid_type\":{let o=i[e.expected]??e.expected,a=$(e.input),s=i[a]??a;return/^[A-Z]/.test(e.expected)?`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi instanceof ${e.expected}, \\xE0m\\u1ECD\\u0300 a r\\xED ${s}`:`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${o}, \\xE0m\\u1ECD\\u0300 a r\\xED ${s}`}case\"invalid_value\":return e.values.length===1?`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${b(e.values[0])}`:`\\xC0\\u1E63\\xE0y\\xE0n a\\u1E63\\xEC\\u1E63e: yan \\u1ECD\\u0300kan l\\xE1ra ${m(e.values,\"|\")}`;case\"too_big\":{let o=e.inclusive?\"<=\":\"<\",a=r(e.origin);return a?`T\\xF3 p\\u1ECD\\u0300 j\\xF9: a n\\xED l\\xE1ti j\\u1EB9\\u0301 p\\xE9 ${e.origin??\"iye\"} ${a.verb} ${o}${e.maximum} ${a.unit}`:`T\\xF3 p\\u1ECD\\u0300 j\\xF9: a n\\xED l\\xE1ti j\\u1EB9\\u0301 ${o}${e.maximum}`}case\"too_small\":{let o=e.inclusive?\">=\":\">\",a=r(e.origin);return a?`K\\xE9r\\xE9 ju: a n\\xED l\\xE1ti j\\u1EB9\\u0301 p\\xE9 ${e.origin} ${a.verb} ${o}${e.minimum} ${a.unit}`:`K\\xE9r\\xE9 ju: a n\\xED l\\xE1ti j\\u1EB9\\u0301 ${o}${e.minimum}`}case\"invalid_format\":{let o=e;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]??e.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 ${e.divisor}`;case\"unrecognized_keys\":return`B\\u1ECDt\\xECn\\xEC \\xE0\\xECm\\u1ECD\\u0300: ${m(e.keys,\", \")}`;case\"invalid_key\":return`B\\u1ECDt\\xECn\\xEC a\\u1E63\\xEC\\u1E63e n\\xEDn\\xFA ${e.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 ${e.origin}`;default:return\"\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e\"}}}});var Nt={};Ie(Nt,{ar:()=>Sp,az:()=>Ip,be:()=>Tp,bg:()=>Dp,ca:()=>Ep,cs:()=>Zp,da:()=>Ap,de:()=>Lp,el:()=>qp,en:()=>ro,eo:()=>Vp,es:()=>Hp,fa:()=>Bp,fi:()=>Gp,fr:()=>Xp,frCA:()=>em,he:()=>rm,hr:()=>om,hu:()=>am,hy:()=>um,id:()=>dm,is:()=>mm,it:()=>gm,ja:()=>vm,ka:()=>$m,kh:()=>_m,km:()=>no,ko:()=>km,lt:()=>wm,mk:()=>Pm,ms:()=>Tm,nl:()=>Dm,no:()=>Em,ota:()=>Zm,pl:()=>Lm,ps:()=>Am,pt:()=>qm,ro:()=>Vm,ru:()=>Km,sl:()=>Wm,sv:()=>Qm,ta:()=>Ym,th:()=>tf,tr:()=>nf,ua:()=>af,uk:()=>oo,ur:()=>cf,uz:()=>lf,vi:()=>pf,yo:()=>bf,zhCN:()=>ff,zhTW:()=>hf});var Sc=x(()=>{wp();Pp();Op();Up();Np();Rp();Cp();Mp();Fp();xc();Jp();Kp();Wp();Qp();Yp();tm();nm();im();sm();lm();pm();fm();hm();bm();ym();xm();kc();zm();Im();jm();Om();Um();Nm();Rm();Cm();Mm();Fm();Jm();Bm();Gm();Xm();ef();rf();of();sf();zc();uf();df();mf();gf();vf();$f()});function $r(){return new io}var yf,ao,so,io,X,yr=x(()=>{ao=Symbol(\"ZodOutput\"),so=Symbol(\"ZodInput\"),io=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(r,...n){let i=n[0];return this._map.set(r,i),i&&typeof i==\"object\"&&\"id\"in i&&this._idmap.set(i.id,r),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(r){let n=this._map.get(r);return n&&typeof n==\"object\"&&\"id\"in n&&this._idmap.delete(n.id),this._map.delete(r),this}get(r){let n=r._zod.parent;if(n){let i={...this.get(n)??{}};delete i.id;let e={...i,...this._map.get(r)};return Object.keys(e).length?e:void 0}return this._map.get(r)}has(r){return this._map.has(r)}};(yf=globalThis).__zod_globalRegistry??(yf.__zod_globalRegistry=$r());X=globalThis.__zod_globalRegistry});function wc(t,r){return new t({type:\"string\",..._(r)})}function Ic(t,r){return new t({type:\"string\",coerce:!0,..._(r)})}function co(t,r){return new t({type:\"string\",format:\"email\",check:\"string_format\",abort:!1,..._(r)})}function _r(t,r){return new t({type:\"string\",format:\"guid\",check:\"string_format\",abort:!1,..._(r)})}function uo(t,r){return new t({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,..._(r)})}function lo(t,r){return new t({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v4\",..._(r)})}function po(t,r){return new t({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v6\",..._(r)})}function mo(t,r){return new t({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v7\",..._(r)})}function xr(t,r){return new t({type:\"string\",format:\"url\",check:\"string_format\",abort:!1,..._(r)})}function fo(t,r){return new t({type:\"string\",format:\"emoji\",check:\"string_format\",abort:!1,..._(r)})}function go(t,r){return new t({type:\"string\",format:\"nanoid\",check:\"string_format\",abort:!1,..._(r)})}function ho(t,r){return new t({type:\"string\",format:\"cuid\",check:\"string_format\",abort:!1,..._(r)})}function vo(t,r){return new t({type:\"string\",format:\"cuid2\",check:\"string_format\",abort:!1,..._(r)})}function bo(t,r){return new t({type:\"string\",format:\"ulid\",check:\"string_format\",abort:!1,..._(r)})}function $o(t,r){return new t({type:\"string\",format:\"xid\",check:\"string_format\",abort:!1,..._(r)})}function yo(t,r){return new t({type:\"string\",format:\"ksuid\",check:\"string_format\",abort:!1,..._(r)})}function _o(t,r){return new t({type:\"string\",format:\"ipv4\",check:\"string_format\",abort:!1,..._(r)})}function xo(t,r){return new t({type:\"string\",format:\"ipv6\",check:\"string_format\",abort:!1,..._(r)})}function Pc(t,r){return new t({type:\"string\",format:\"mac\",check:\"string_format\",abort:!1,..._(r)})}function ko(t,r){return new t({type:\"string\",format:\"cidrv4\",check:\"string_format\",abort:!1,..._(r)})}function zo(t,r){return new t({type:\"string\",format:\"cidrv6\",check:\"string_format\",abort:!1,..._(r)})}function So(t,r){return new t({type:\"string\",format:\"base64\",check:\"string_format\",abort:!1,..._(r)})}function wo(t,r){return new t({type:\"string\",format:\"base64url\",check:\"string_format\",abort:!1,..._(r)})}function Io(t,r){return new t({type:\"string\",format:\"e164\",check:\"string_format\",abort:!1,..._(r)})}function Po(t,r){return new t({type:\"string\",format:\"jwt\",check:\"string_format\",abort:!1,..._(r)})}function jc(t,r){return new t({type:\"string\",format:\"datetime\",check:\"string_format\",offset:!1,local:!1,precision:null,..._(r)})}function Tc(t,r){return new t({type:\"string\",format:\"date\",check:\"string_format\",..._(r)})}function Oc(t,r){return new t({type:\"string\",format:\"time\",check:\"string_format\",precision:null,..._(r)})}function Dc(t,r){return new t({type:\"string\",format:\"duration\",check:\"string_format\",..._(r)})}function Uc(t,r){return new t({type:\"number\",checks:[],..._(r)})}function Ec(t,r){return new t({type:\"number\",coerce:!0,checks:[],..._(r)})}function Nc(t,r){return new t({type:\"number\",check:\"number_format\",abort:!1,format:\"safeint\",..._(r)})}function Zc(t,r){return new t({type:\"number\",check:\"number_format\",abort:!1,format:\"float32\",..._(r)})}function Rc(t,r){return new t({type:\"number\",check:\"number_format\",abort:!1,format:\"float64\",..._(r)})}function Ac(t,r){return new t({type:\"number\",check:\"number_format\",abort:!1,format:\"int32\",..._(r)})}function Cc(t,r){return new t({type:\"number\",check:\"number_format\",abort:!1,format:\"uint32\",..._(r)})}function Lc(t,r){return new t({type:\"boolean\",..._(r)})}function Mc(t,r){return new t({type:\"boolean\",coerce:!0,..._(r)})}function qc(t,r){return new t({type:\"bigint\",..._(r)})}function Fc(t,r){return new t({type:\"bigint\",coerce:!0,..._(r)})}function Vc(t,r){return new t({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"int64\",..._(r)})}function Jc(t,r){return new t({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"uint64\",..._(r)})}function Hc(t,r){return new t({type:\"symbol\",..._(r)})}function Kc(t,r){return new t({type:\"undefined\",..._(r)})}function Bc(t,r){return new t({type:\"null\",..._(r)})}function Wc(t){return new t({type:\"any\"})}function Gc(t){return new t({type:\"unknown\"})}function Qc(t,r){return new t({type:\"never\",..._(r)})}function Xc(t,r){return new t({type:\"void\",..._(r)})}function Yc(t,r){return new t({type:\"date\",..._(r)})}function eu(t,r){return new t({type:\"date\",coerce:!0,..._(r)})}function tu(t,r){return new t({type:\"nan\",..._(r)})}function ke(t,r){return new Vn({check:\"less_than\",..._(r),value:t,inclusive:!1})}function ge(t,r){return new Vn({check:\"less_than\",..._(r),value:t,inclusive:!0})}function ze(t,r){return new Jn({check:\"greater_than\",..._(r),value:t,inclusive:!1})}function se(t,r){return new Jn({check:\"greater_than\",..._(r),value:t,inclusive:!0})}function kr(t){return ze(0,t)}function zr(t){return ke(0,t)}function Sr(t){return ge(0,t)}function wr(t){return se(0,t)}function Oe(t,r){return new Va({check:\"multiple_of\",..._(r),value:t})}function De(t,r){return new Ka({check:\"max_size\",..._(r),maximum:t})}function Se(t,r){return new Ba({check:\"min_size\",..._(r),minimum:t})}function Le(t,r){return new Wa({check:\"size_equals\",..._(r),size:t})}function Me(t,r){return new Ga({check:\"max_length\",..._(r),maximum:t})}function Pe(t,r){return new Qa({check:\"min_length\",..._(r),minimum:t})}function qe(t,r){return new Xa({check:\"length_equals\",..._(r),length:t})}function tt(t,r){return new Ya({check:\"string_format\",format:\"regex\",..._(r),pattern:t})}function rt(t){return new es({check:\"string_format\",format:\"lowercase\",..._(t)})}function nt(t){return new ts({check:\"string_format\",format:\"uppercase\",..._(t)})}function ot(t,r){return new rs({check:\"string_format\",format:\"includes\",..._(r),includes:t})}function it(t,r){return new ns({check:\"string_format\",format:\"starts_with\",..._(r),prefix:t})}function at(t,r){return new os({check:\"string_format\",format:\"ends_with\",..._(r),suffix:t})}function Ir(t,r,n){return new is({check:\"property\",property:t,schema:r,..._(n)})}function st(t,r){return new as({check:\"mime_type\",mime:t,..._(r)})}function $e(t){return new ss({check:\"overwrite\",tx:t})}function ct(t){return $e(r=>r.normalize(t))}function ut(){return $e(t=>t.trim())}function lt(){return $e(t=>t.toLowerCase())}function dt(){return $e(t=>t.toUpperCase())}function pt(){return $e(t=>ia(t))}function ru(t,r,n){return new t({type:\"array\",element:r,..._(n)})}function mv(t,r,n){return new t({type:\"union\",options:r,..._(n)})}function fv(t,r,n){return new t({type:\"union\",options:r,inclusive:!1,..._(n)})}function gv(t,r,n,i){return new t({type:\"union\",options:n,discriminator:r,..._(i)})}function hv(t,r,n){return new t({type:\"intersection\",left:r,right:n})}function vv(t,r,n,i){let e=n instanceof P,o=e?i:n,a=e?n:null;return new t({type:\"tuple\",items:r,rest:a,..._(o)})}function bv(t,r,n,i){return new t({type:\"record\",keyType:r,valueType:n,..._(i)})}function $v(t,r,n,i){return new t({type:\"map\",keyType:r,valueType:n,..._(i)})}function yv(t,r,n){return new t({type:\"set\",valueType:r,..._(n)})}function _v(t,r,n){let i=Array.isArray(r)?Object.fromEntries(r.map(e=>[e,e])):r;return new t({type:\"enum\",entries:i,..._(n)})}function xv(t,r,n){return new t({type:\"enum\",entries:r,..._(n)})}function kv(t,r,n){return new t({type:\"literal\",values:Array.isArray(r)?r:[r],..._(n)})}function nu(t,r){return new t({type:\"file\",..._(r)})}function zv(t,r){return new t({type:\"transform\",transform:r})}function Sv(t,r){return new t({type:\"optional\",innerType:r})}function wv(t,r){return new t({type:\"nullable\",innerType:r})}function Iv(t,r,n){return new t({type:\"default\",innerType:r,get defaultValue(){return typeof n==\"function\"?n():sa(n)}})}function Pv(t,r,n){return new t({type:\"nonoptional\",innerType:r,..._(n)})}function jv(t,r){return new t({type:\"success\",innerType:r})}function Tv(t,r,n){return new t({type:\"catch\",innerType:r,catchValue:typeof n==\"function\"?n:()=>n})}function Ov(t,r,n){return new t({type:\"pipe\",in:r,out:n})}function Dv(t,r){return new t({type:\"readonly\",innerType:r})}function Uv(t,r,n){return new t({type:\"template_literal\",parts:r,..._(n)})}function Ev(t,r){return new t({type:\"lazy\",getter:r})}function Nv(t,r){return new t({type:\"promise\",innerType:r})}function ou(t,r,n){let i=_(n);return i.abort??(i.abort=!0),new t({type:\"custom\",check:\"custom\",fn:r,...i})}function iu(t,r,n){return new t({type:\"custom\",check:\"custom\",fn:r,..._(n)})}function au(t,r){let n=_f(i=>(i.addIssue=e=>{if(typeof e==\"string\")i.issues.push(St(e,i.value,n._zod.def));else{let o=e;o.fatal&&(o.continue=!1),o.code??(o.code=\"custom\"),o.input??(o.input=i.value),o.inst??(o.inst=n),o.continue??(o.continue=!n._zod.def.abort),i.issues.push(St(o))}},t(i.value,i)),r);return n}function _f(t,r){let n=new F({check:\"custom\",..._(r)});return n._zod.check=t,n}function su(t){let r=new F({check:\"describe\"});return r._zod.onattach=[n=>{let i=X.get(n)??{};X.add(n,{...i,description:t})}],r._zod.check=()=>{},r}function cu(t){let r=new F({check:\"meta\"});return r._zod.onattach=[n=>{let i=X.get(n)??{};X.add(n,{...i,...t})}],r._zod.check=()=>{},r}function uu(t,r){let n=_(r),i=n.truthy??[\"true\",\"1\",\"yes\",\"on\",\"y\",\"enabled\"],e=n.falsy??[\"false\",\"0\",\"no\",\"off\",\"n\",\"disabled\"];n.case!==\"sensitive\"&&(i=i.map(v=>typeof v==\"string\"?v.toLowerCase():v),e=e.map(v=>typeof v==\"string\"?v.toLowerCase():v));let o=new Set(i),a=new Set(e),s=t.Codec??vr,u=t.Boolean??gr,l=t.String??et,d=new l({type:\"string\",error:n.error}),g=new u({type:\"boolean\",error:n.error}),h=new s({type:\"pipe\",in:d,out:g,transform:((v,I)=>{let te=v;return n.case!==\"sensitive\"&&(te=te.toLowerCase()),o.has(te)?!0:a.has(te)?!1:(I.issues.push({code:\"invalid_value\",expected:\"stringbool\",values:[...o,...a],input:I.value,inst:h,continue:!1}),{})}),reverseTransform:((v,I)=>v===!0?i[0]||\"true\":e[0]||\"false\"),error:n.error});return h}function Zt(t,r,n,i={}){let e=_(i),o={..._(i),check:\"string_format\",type:\"string\",format:r,fn:typeof n==\"function\"?n:s=>n.test(s),...e};return n instanceof RegExp&&(o.pattern=n),new t(o)}var jo,xf=x(()=>{Hn();yr();_c();S();jo={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function Fe(t){let r=t?.target??\"draft-2020-12\";return r===\"draft-4\"&&(r=\"draft-04\"),r===\"draft-7\"&&(r=\"draft-07\"),{processors:t.processors??{},metadataRegistry:t?.metadata??X,target:r,unrepresentable:t?.unrepresentable??\"throw\",override:t?.override??(()=>{}),io:t?.io??\"output\",counter:0,seen:new Map,cycles:t?.cycles??\"ref\",reused:t?.reused??\"inline\",external:t?.external??void 0}}function E(t,r,n={path:[],schemaPath:[]}){var i;let e=t._zod.def,o=r.seen.get(t);if(o)return o.count++,n.schemaPath.includes(t)&&(o.cycle=n.path),o.schema;let a={schema:{},count:1,cycle:void 0,path:n.path};r.seen.set(t,a);let s=t._zod.toJSONSchema?.();if(s)a.schema=s;else{let d={...n,schemaPath:[...n.schemaPath,t],path:n.path};if(t._zod.processJSONSchema)t._zod.processJSONSchema(r,a.schema,d);else{let h=a.schema,v=r.processors[e.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${e.type}`);v(t,r,h,d)}let g=t._zod.parent;g&&(a.ref||(a.ref=g),E(g,r,d),r.seen.get(g).isParent=!0)}let u=r.metadataRegistry.get(t);return u&&Object.assign(a.schema,u),r.io===\"input\"&&le(t)&&(delete a.schema.examples,delete a.schema.default),r.io===\"input\"&&\"_prefault\"in a.schema&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,r.seen.get(t).schema}function Ve(t,r){let n=t.seen.get(r);if(!n)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");let i=new Map;for(let a of t.seen.entries()){let s=t.metadataRegistry.get(a[0])?.id;if(s){let u=i.get(s);if(u&&u!==a[0])throw new Error(`Duplicate schema id \"${s}\" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}let e=a=>{let s=t.target===\"draft-2020-12\"?\"$defs\":\"definitions\";if(t.external){let g=t.external.registry.get(a[0])?.id,h=t.external.uri??(I=>I);if(g)return{ref:h(g)};let v=a[1].defId??a[1].schema.id??`schema${t.counter++}`;return a[1].defId=v,{defId:v,ref:`${h(\"__shared\")}#/${s}/${v}`}}if(a[1]===n)return{ref:\"#\"};let l=`#/${s}/`,d=a[1].schema.id??`__schema${t.counter++}`;return{defId:d,ref:l+d}},o=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:u,defId:l}=e(a);s.def={...s.schema},l&&(s.defId=l);let d=s.schema;for(let g in d)delete d[g];d.$ref=u};if(t.cycles===\"throw\")for(let a of t.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join(\"/\")}/<root>\n\nSet the \\`cycles\\` parameter to \\`\"ref\"\\` to resolve cyclical schemas with defs.`)}for(let a of t.seen.entries()){let s=a[1];if(r===a[0]){o(a);continue}if(t.external){let l=t.external.registry.get(a[0])?.id;if(r!==a[0]&&l){o(a);continue}}if(t.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}if(s.count>1&&t.reused===\"ref\"){o(a);continue}}}function Je(t,r){let n=t.seen.get(r);if(!n)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");let i=s=>{let u=t.seen.get(s);if(u.ref===null)return;let l=u.def??u.schema,d={...l},g=u.ref;if(u.ref=null,g){i(g);let v=t.seen.get(g),I=v.schema;if(I.$ref&&(t.target===\"draft-07\"||t.target===\"draft-04\"||t.target===\"openapi-3.0\")?(l.allOf=l.allOf??[],l.allOf.push(I)):Object.assign(l,I),Object.assign(l,d),s._zod.parent===g)for(let H in l)H===\"$ref\"||H===\"allOf\"||H in d||delete l[H];if(I.$ref&&v.def)for(let H in l)H===\"$ref\"||H===\"allOf\"||H in v.def&&JSON.stringify(l[H])===JSON.stringify(v.def[H])&&delete l[H]}let h=s._zod.parent;if(h&&h!==g){i(h);let v=t.seen.get(h);if(v?.schema.$ref&&(l.$ref=v.schema.$ref,v.def))for(let I in l)I===\"$ref\"||I===\"allOf\"||I in v.def&&JSON.stringify(l[I])===JSON.stringify(v.def[I])&&delete l[I]}t.override({zodSchema:s,jsonSchema:l,path:u.path??[]})};for(let s of[...t.seen.entries()].reverse())i(s[0]);let e={};if(t.target===\"draft-2020-12\"?e.$schema=\"https://json-schema.org/draft/2020-12/schema\":t.target===\"draft-07\"?e.$schema=\"http://json-schema.org/draft-07/schema#\":t.target===\"draft-04\"?e.$schema=\"http://json-schema.org/draft-04/schema#\":t.target,t.external?.uri){let s=t.external.registry.get(r)?.id;if(!s)throw new Error(\"Schema is missing an `id` property\");e.$id=t.external.uri(s)}Object.assign(e,n.def??n.schema);let o=t.metadataRegistry.get(r)?.id;o!==void 0&&e.id===o&&delete e.id;let a=t.external?.defs??{};for(let s of t.seen.entries()){let u=s[1];u.def&&u.defId&&(u.def.id===u.defId&&delete u.def.id,a[u.defId]=u.def)}t.external||Object.keys(a).length>0&&(t.target===\"draft-2020-12\"?e.$defs=a:e.definitions=a);try{let s=JSON.parse(JSON.stringify(e));return Object.defineProperty(s,\"~standard\",{value:{...r[\"~standard\"],jsonSchema:{input:Rt(r,\"input\",t.processors),output:Rt(r,\"output\",t.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error(\"Error converting schema to JSON.\")}}function le(t,r){let n=r??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);let i=t._zod.def;if(i.type===\"transform\")return!0;if(i.type===\"array\")return le(i.element,n);if(i.type===\"set\")return le(i.valueType,n);if(i.type===\"lazy\")return le(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 le(i.innerType,n);if(i.type===\"intersection\")return le(i.left,n)||le(i.right,n);if(i.type===\"record\"||i.type===\"map\")return le(i.keyType,n)||le(i.valueType,n);if(i.type===\"pipe\")return t._zod.traits.has(\"$ZodCodec\")?!0:le(i.in,n)||le(i.out,n);if(i.type===\"object\"){for(let e in i.shape)if(le(i.shape[e],n))return!0;return!1}if(i.type===\"union\"){for(let e of i.options)if(le(e,n))return!0;return!1}if(i.type===\"tuple\"){for(let e of i.items)if(le(e,n))return!0;return!!(i.rest&&le(i.rest,n))}return!1}var lu,Rt,Pr=x(()=>{yr();lu=(t,r={})=>n=>{let i=Fe({...n,processors:r});return E(t,i),Ve(i,t),Je(i,t)},Rt=(t,r,n={})=>i=>{let{libraryOptions:e,target:o}=i??{},a=Fe({...e??{},target:o,io:r,processors:n});return E(t,a),Ve(a,t),Je(a,t)}});function jr(t,r){if(\"_idmap\"in t){let i=t,e=Fe({...r,processors:To}),o={};for(let u of i._idmap.entries()){let[l,d]=u;E(d,e)}let a={},s={registry:i,uri:r?.uri,defs:o};e.external=s;for(let u of i._idmap.entries()){let[l,d]=u;Ve(e,d),a[l]=Je(e,d)}if(Object.keys(o).length>0){let u=e.target===\"draft-2020-12\"?\"$defs\":\"definitions\";a.__shared={[u]:o}}return{schemas:a}}let n=Fe({...r,processors:To});return E(t,n),Ve(n,t),Je(n,t)}var Zv,du,pu,mu,fu,gu,hu,vu,bu,$u,yu,_u,xu,ku,zu,Su,wu,Iu,Pu,ju,Tu,Ou,Du,Uu,Eu,Nu,Oo,Zu,Ru,Au,Cu,Lu,Mu,qu,Fu,Vu,Ju,Hu,Do,Ku,To,Tr=x(()=>{Pr();S();Zv={guid:\"uuid\",url:\"uri\",datetime:\"date-time\",json_string:\"json-string\",regex:\"\"},du=(t,r,n,i)=>{let e=n;e.type=\"string\";let{minimum:o,maximum:a,format:s,patterns:u,contentEncoding:l}=t._zod.bag;if(typeof o==\"number\"&&(e.minLength=o),typeof a==\"number\"&&(e.maxLength=a),s&&(e.format=Zv[s]??s,e.format===\"\"&&delete e.format,s===\"time\"&&delete e.format),l&&(e.contentEncoding=l),u&&u.size>0){let d=[...u];d.length===1?e.pattern=d[0].source:d.length>1&&(e.allOf=[...d.map(g=>({...r.target===\"draft-07\"||r.target===\"draft-04\"||r.target===\"openapi-3.0\"?{type:\"string\"}:{},pattern:g.source}))])}},pu=(t,r,n,i)=>{let e=n,{minimum:o,maximum:a,format:s,multipleOf:u,exclusiveMaximum:l,exclusiveMinimum:d}=t._zod.bag;typeof s==\"string\"&&s.includes(\"int\")?e.type=\"integer\":e.type=\"number\";let g=typeof d==\"number\"&&d>=(o??Number.NEGATIVE_INFINITY),h=typeof l==\"number\"&&l<=(a??Number.POSITIVE_INFINITY),v=r.target===\"draft-04\"||r.target===\"openapi-3.0\";g?v?(e.minimum=d,e.exclusiveMinimum=!0):e.exclusiveMinimum=d:typeof o==\"number\"&&(e.minimum=o),h?v?(e.maximum=l,e.exclusiveMaximum=!0):e.exclusiveMaximum=l:typeof a==\"number\"&&(e.maximum=a),typeof u==\"number\"&&(e.multipleOf=u)},mu=(t,r,n,i)=>{n.type=\"boolean\"},fu=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"BigInt cannot be represented in JSON Schema\")},gu=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"Symbols cannot be represented in JSON Schema\")},hu=(t,r,n,i)=>{r.target===\"openapi-3.0\"?(n.type=\"string\",n.nullable=!0,n.enum=[null]):n.type=\"null\"},vu=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"Undefined cannot be represented in JSON Schema\")},bu=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"Void cannot be represented in JSON Schema\")},$u=(t,r,n,i)=>{n.not={}},yu=(t,r,n,i)=>{},_u=(t,r,n,i)=>{},xu=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"Date cannot be represented in JSON Schema\")},ku=(t,r,n,i)=>{let e=t._zod.def,o=nr(e.entries);o.every(a=>typeof a==\"number\")&&(n.type=\"number\"),o.every(a=>typeof a==\"string\")&&(n.type=\"string\"),n.enum=o},zu=(t,r,n,i)=>{let e=t._zod.def,o=[];for(let a of e.values)if(a===void 0){if(r.unrepresentable===\"throw\")throw new Error(\"Literal `undefined` cannot be represented in JSON Schema\")}else if(typeof a==\"bigint\"){if(r.unrepresentable===\"throw\")throw new Error(\"BigInt literals cannot be represented in JSON Schema\");o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){let a=o[0];n.type=a===null?\"null\":typeof a,r.target===\"draft-04\"||r.target===\"openapi-3.0\"?n.enum=[a]:n.const=a}else o.every(a=>typeof a==\"number\")&&(n.type=\"number\"),o.every(a=>typeof a==\"string\")&&(n.type=\"string\"),o.every(a=>typeof a==\"boolean\")&&(n.type=\"boolean\"),o.every(a=>a===null)&&(n.type=\"null\"),n.enum=o},Su=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"NaN cannot be represented in JSON Schema\")},wu=(t,r,n,i)=>{let e=n,o=t._zod.pattern;if(!o)throw new Error(\"Pattern not found in template literal\");e.type=\"string\",e.pattern=o.source},Iu=(t,r,n,i)=>{let e=n,o={type:\"string\",format:\"binary\",contentEncoding:\"binary\"},{minimum:a,maximum:s,mime:u}=t._zod.bag;a!==void 0&&(o.minLength=a),s!==void 0&&(o.maxLength=s),u?u.length===1?(o.contentMediaType=u[0],Object.assign(e,o)):(Object.assign(e,o),e.anyOf=u.map(l=>({contentMediaType:l}))):Object.assign(e,o)},Pu=(t,r,n,i)=>{n.type=\"boolean\"},ju=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"Custom types cannot be represented in JSON Schema\")},Tu=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"Function types cannot be represented in JSON Schema\")},Ou=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"Transforms cannot be represented in JSON Schema\")},Du=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"Map cannot be represented in JSON Schema\")},Uu=(t,r,n,i)=>{if(r.unrepresentable===\"throw\")throw new Error(\"Set cannot be represented in JSON Schema\")},Eu=(t,r,n,i)=>{let e=n,o=t._zod.def,{minimum:a,maximum:s}=t._zod.bag;typeof a==\"number\"&&(e.minItems=a),typeof s==\"number\"&&(e.maxItems=s),e.type=\"array\",e.items=E(o.element,r,{...i,path:[...i.path,\"items\"]})},Nu=(t,r,n,i)=>{let e=n,o=t._zod.def;e.type=\"object\",e.properties={};let a=o.shape;for(let l in a)e.properties[l]=E(a[l],r,{...i,path:[...i.path,\"properties\",l]});let s=new Set(Object.keys(a)),u=new Set([...s].filter(l=>{let d=o.shape[l]._zod;return r.io===\"input\"?d.optin===void 0:d.optout===void 0}));u.size>0&&(e.required=Array.from(u)),o.catchall?._zod.def.type===\"never\"?e.additionalProperties=!1:o.catchall?o.catchall&&(e.additionalProperties=E(o.catchall,r,{...i,path:[...i.path,\"additionalProperties\"]})):r.io===\"output\"&&(e.additionalProperties=!1)},Oo=(t,r,n,i)=>{let e=t._zod.def,o=e.inclusive===!1,a=e.options.map((s,u)=>E(s,r,{...i,path:[...i.path,o?\"oneOf\":\"anyOf\",u]}));o?n.oneOf=a:n.anyOf=a},Zu=(t,r,n,i)=>{let e=t._zod.def,o=E(e.left,r,{...i,path:[...i.path,\"allOf\",0]}),a=E(e.right,r,{...i,path:[...i.path,\"allOf\",1]}),s=l=>\"allOf\"in l&&Object.keys(l).length===1,u=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];n.allOf=u},Ru=(t,r,n,i)=>{let e=n,o=t._zod.def;e.type=\"array\";let a=r.target===\"draft-2020-12\"?\"prefixItems\":\"items\",s=r.target===\"draft-2020-12\"||r.target===\"openapi-3.0\"?\"items\":\"additionalItems\",u=o.items.map((h,v)=>E(h,r,{...i,path:[...i.path,a,v]})),l=o.rest?E(o.rest,r,{...i,path:[...i.path,s,...r.target===\"openapi-3.0\"?[o.items.length]:[]]}):null;r.target===\"draft-2020-12\"?(e.prefixItems=u,l&&(e.items=l)):r.target===\"openapi-3.0\"?(e.items={anyOf:u},l&&e.items.anyOf.push(l),e.minItems=u.length,l||(e.maxItems=u.length)):(e.items=u,l&&(e.additionalItems=l));let{minimum:d,maximum:g}=t._zod.bag;typeof d==\"number\"&&(e.minItems=d),typeof g==\"number\"&&(e.maxItems=g)},Au=(t,r,n,i)=>{let e=n,o=t._zod.def;e.type=\"object\";let a=o.keyType,u=a._zod.bag?.patterns;if(o.mode===\"loose\"&&u&&u.size>0){let d=E(o.valueType,r,{...i,path:[...i.path,\"patternProperties\",\"*\"]});e.patternProperties={};for(let g of u)e.patternProperties[g.source]=d}else(r.target===\"draft-07\"||r.target===\"draft-2020-12\")&&(e.propertyNames=E(o.keyType,r,{...i,path:[...i.path,\"propertyNames\"]})),e.additionalProperties=E(o.valueType,r,{...i,path:[...i.path,\"additionalProperties\"]});let l=a._zod.values;if(l){let d=[...l].filter(g=>typeof g==\"string\"||typeof g==\"number\");d.length>0&&(e.required=d)}},Cu=(t,r,n,i)=>{let e=t._zod.def,o=E(e.innerType,r,i),a=r.seen.get(t);r.target===\"openapi-3.0\"?(a.ref=e.innerType,n.nullable=!0):n.anyOf=[o,{type:\"null\"}]},Lu=(t,r,n,i)=>{let e=t._zod.def;E(e.innerType,r,i);let o=r.seen.get(t);o.ref=e.innerType},Mu=(t,r,n,i)=>{let e=t._zod.def;E(e.innerType,r,i);let o=r.seen.get(t);o.ref=e.innerType,n.default=JSON.parse(JSON.stringify(e.defaultValue))},qu=(t,r,n,i)=>{let e=t._zod.def;E(e.innerType,r,i);let o=r.seen.get(t);o.ref=e.innerType,r.io===\"input\"&&(n._prefault=JSON.parse(JSON.stringify(e.defaultValue)))},Fu=(t,r,n,i)=>{let e=t._zod.def;E(e.innerType,r,i);let o=r.seen.get(t);o.ref=e.innerType;let a;try{a=e.catchValue(void 0)}catch{throw new Error(\"Dynamic catch values are not supported in JSON Schema\")}n.default=a},Vu=(t,r,n,i)=>{let e=t._zod.def,o=e.in._zod.traits.has(\"$ZodTransform\"),a=r.io===\"input\"?o?e.out:e.in:e.out;E(a,r,i);let s=r.seen.get(t);s.ref=a},Ju=(t,r,n,i)=>{let e=t._zod.def;E(e.innerType,r,i);let o=r.seen.get(t);o.ref=e.innerType,n.readOnly=!0},Hu=(t,r,n,i)=>{let e=t._zod.def;E(e.innerType,r,i);let o=r.seen.get(t);o.ref=e.innerType},Do=(t,r,n,i)=>{let e=t._zod.def;E(e.innerType,r,i);let o=r.seen.get(t);o.ref=e.innerType},Ku=(t,r,n,i)=>{let e=t._zod.innerType;E(e,r,i);let o=r.seen.get(t);o.ref=e},To={string:du,number:pu,boolean:mu,bigint:fu,symbol:gu,null:hu,undefined:vu,void:bu,never:$u,any:yu,unknown:_u,date:xu,enum:ku,literal:zu,nan:Su,template_literal:wu,file:Iu,success:Pu,custom:ju,function:Tu,transform:Ou,map:Du,set:Uu,array:Eu,object:Nu,union:Oo,intersection:Zu,tuple:Ru,record:Au,nullable:Cu,nonoptional:Lu,default:Mu,prefault:qu,catch:Fu,pipe:Vu,readonly:Ju,promise:Hu,optional:Do,lazy:Ku}});var Uo,kf=x(()=>{Tr();Pr();Uo=class{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(r){this.ctx.counter=r}get seen(){return this.ctx.seen}constructor(r){let n=r?.target??\"draft-2020-12\";n===\"draft-4\"&&(n=\"draft-04\"),n===\"draft-7\"&&(n=\"draft-07\"),this.ctx=Fe({processors:To,target:n,...r?.metadata&&{metadata:r.metadata},...r?.unrepresentable&&{unrepresentable:r.unrepresentable},...r?.override&&{override:r.override},...r?.io&&{io:r.io}})}process(r,n={path:[],schemaPath:[]}){return E(r,this.ctx,n)}emit(r,n){n&&(n.cycles&&(this.ctx.cycles=n.cycles),n.reused&&(this.ctx.reused=n.reused),n.external&&(this.ctx.external=n.external)),Ve(this.ctx,r);let i=Je(this.ctx,r),{\"~standard\":e,...o}=i;return o}}});var zf={};var Sf=x(()=>{});var je={};Ie(je,{$ZodAny:()=>Fs,$ZodArray:()=>Bs,$ZodAsyncError:()=>xe,$ZodBase64:()=>Us,$ZodBase64URL:()=>Es,$ZodBigInt:()=>Xn,$ZodBigIntFormat:()=>Cs,$ZodBoolean:()=>gr,$ZodCIDRv4:()=>Ts,$ZodCIDRv6:()=>Os,$ZodCUID:()=>bs,$ZodCUID2:()=>$s,$ZodCatch:()=>pc,$ZodCheck:()=>F,$ZodCheckBigIntFormat:()=>Ha,$ZodCheckEndsWith:()=>os,$ZodCheckGreaterThan:()=>Jn,$ZodCheckIncludes:()=>rs,$ZodCheckLengthEquals:()=>Xa,$ZodCheckLessThan:()=>Vn,$ZodCheckLowerCase:()=>es,$ZodCheckMaxLength:()=>Ga,$ZodCheckMaxSize:()=>Ka,$ZodCheckMimeType:()=>as,$ZodCheckMinLength:()=>Qa,$ZodCheckMinSize:()=>Ba,$ZodCheckMultipleOf:()=>Va,$ZodCheckNumberFormat:()=>Ja,$ZodCheckOverwrite:()=>ss,$ZodCheckProperty:()=>is,$ZodCheckRegex:()=>Ya,$ZodCheckSizeEquals:()=>Wa,$ZodCheckStartsWith:()=>ns,$ZodCheckStringFormat:()=>Ut,$ZodCheckUpperCase:()=>ts,$ZodCodec:()=>vr,$ZodCustom:()=>yc,$ZodCustomStringFormat:()=>Rs,$ZodDate:()=>Ks,$ZodDefault:()=>cc,$ZodDiscriminatedUnion:()=>Qs,$ZodE164:()=>Ns,$ZodEmail:()=>fs,$ZodEmoji:()=>hs,$ZodEncodeError:()=>Ne,$ZodEnum:()=>rc,$ZodError:()=>cr,$ZodExactOptional:()=>ac,$ZodFile:()=>oc,$ZodFunction:()=>vc,$ZodGUID:()=>ps,$ZodIPv4:()=>Is,$ZodIPv6:()=>Ps,$ZodISODate:()=>zs,$ZodISODateTime:()=>ks,$ZodISODuration:()=>ws,$ZodISOTime:()=>Ss,$ZodIntersection:()=>Xs,$ZodJWT:()=>Zs,$ZodKSUID:()=>xs,$ZodLazy:()=>$c,$ZodLiteral:()=>nc,$ZodMAC:()=>js,$ZodMap:()=>ec,$ZodNaN:()=>mc,$ZodNanoID:()=>vs,$ZodNever:()=>Js,$ZodNonOptional:()=>lc,$ZodNull:()=>qs,$ZodNullable:()=>sc,$ZodNumber:()=>Qn,$ZodNumberFormat:()=>As,$ZodObject:()=>zp,$ZodObjectJIT:()=>Ws,$ZodOptional:()=>eo,$ZodPipe:()=>to,$ZodPrefault:()=>uc,$ZodPreprocess:()=>fc,$ZodPromise:()=>bc,$ZodReadonly:()=>gc,$ZodRealError:()=>me,$ZodRecord:()=>Ys,$ZodRegistry:()=>io,$ZodSet:()=>tc,$ZodString:()=>et,$ZodStringFormat:()=>L,$ZodSuccess:()=>dc,$ZodSymbol:()=>Ls,$ZodTemplateLiteral:()=>hc,$ZodTransform:()=>ic,$ZodTuple:()=>Yn,$ZodType:()=>P,$ZodULID:()=>ys,$ZodURL:()=>gs,$ZodUUID:()=>ms,$ZodUndefined:()=>Ms,$ZodUnion:()=>hr,$ZodUnknown:()=>Vs,$ZodVoid:()=>Hs,$ZodXID:()=>_s,$ZodXor:()=>Gs,$brand:()=>Pn,$constructor:()=>p,$input:()=>so,$output:()=>ao,Doc:()=>fr,JSONSchema:()=>zf,JSONSchemaGenerator:()=>Uo,NEVER:()=>In,TimePrecision:()=>jo,_any:()=>Wc,_array:()=>ru,_base64:()=>So,_base64url:()=>wo,_bigint:()=>qc,_boolean:()=>Lc,_catch:()=>Tv,_check:()=>_f,_cidrv4:()=>ko,_cidrv6:()=>zo,_coercedBigint:()=>Fc,_coercedBoolean:()=>Mc,_coercedDate:()=>eu,_coercedNumber:()=>Ec,_coercedString:()=>Ic,_cuid:()=>ho,_cuid2:()=>vo,_custom:()=>ou,_date:()=>Yc,_decode:()=>En,_decodeAsync:()=>Zn,_default:()=>Iv,_discriminatedUnion:()=>gv,_e164:()=>Io,_email:()=>co,_emoji:()=>fo,_encode:()=>Un,_encodeAsync:()=>Nn,_endsWith:()=>at,_enum:()=>_v,_file:()=>nu,_float32:()=>Zc,_float64:()=>Rc,_gt:()=>ze,_gte:()=>se,_guid:()=>_r,_includes:()=>ot,_int:()=>Nc,_int32:()=>Ac,_int64:()=>Vc,_intersection:()=>hv,_ipv4:()=>_o,_ipv6:()=>xo,_isoDate:()=>Tc,_isoDateTime:()=>jc,_isoDuration:()=>Dc,_isoTime:()=>Oc,_jwt:()=>Po,_ksuid:()=>yo,_lazy:()=>Ev,_length:()=>qe,_literal:()=>kv,_lowercase:()=>rt,_lt:()=>ke,_lte:()=>ge,_mac:()=>Pc,_map:()=>$v,_max:()=>ge,_maxLength:()=>Me,_maxSize:()=>De,_mime:()=>st,_min:()=>se,_minLength:()=>Pe,_minSize:()=>Se,_multipleOf:()=>Oe,_nan:()=>tu,_nanoid:()=>go,_nativeEnum:()=>xv,_negative:()=>zr,_never:()=>Qc,_nonnegative:()=>wr,_nonoptional:()=>Pv,_nonpositive:()=>Sr,_normalize:()=>ct,_null:()=>Bc,_nullable:()=>wv,_number:()=>Uc,_optional:()=>Sv,_overwrite:()=>$e,_parse:()=>Pt,_parseAsync:()=>jt,_pipe:()=>Ov,_positive:()=>kr,_promise:()=>Nv,_property:()=>Ir,_readonly:()=>Dv,_record:()=>bv,_refine:()=>iu,_regex:()=>tt,_safeDecode:()=>An,_safeDecodeAsync:()=>Ln,_safeEncode:()=>Rn,_safeEncodeAsync:()=>Cn,_safeParse:()=>Tt,_safeParseAsync:()=>Dt,_set:()=>yv,_size:()=>Le,_slugify:()=>pt,_startsWith:()=>it,_string:()=>wc,_stringFormat:()=>Zt,_stringbool:()=>uu,_success:()=>jv,_superRefine:()=>au,_symbol:()=>Hc,_templateLiteral:()=>Uv,_toLowerCase:()=>lt,_toUpperCase:()=>dt,_transform:()=>zv,_trim:()=>ut,_tuple:()=>vv,_uint32:()=>Cc,_uint64:()=>Jc,_ulid:()=>bo,_undefined:()=>Kc,_union:()=>mv,_unknown:()=>Gc,_uppercase:()=>nt,_url:()=>xr,_uuid:()=>uo,_uuidv4:()=>lo,_uuidv6:()=>po,_uuidv7:()=>mo,_void:()=>Xc,_xid:()=>$o,_xor:()=>fv,clone:()=>ae,config:()=>J,createStandardJSONSchemaMethod:()=>Rt,createToJSONSchemaMethod:()=>lu,decode:()=>Kd,decodeAsync:()=>Wd,describe:()=>su,encode:()=>Hd,encodeAsync:()=>Bd,extractDefs:()=>Ve,finalize:()=>Je,flattenError:()=>wt,formatError:()=>It,globalConfig:()=>Ge,globalRegistry:()=>X,initializeContext:()=>Fe,isValidBase64:()=>Ds,isValidBase64URL:()=>yp,isValidJWT:()=>_p,locales:()=>Nt,meta:()=>cu,parse:()=>ur,parseAsync:()=>lr,prettifyError:()=>Dn,process:()=>E,regexes:()=>fe,registry:()=>$r,safeDecode:()=>Qd,safeDecodeAsync:()=>Yd,safeEncode:()=>Gd,safeEncodeAsync:()=>Xd,safeParse:()=>Ot,safeParseAsync:()=>dr,toDotPath:()=>Jd,toJSONSchema:()=>jr,treeifyError:()=>On,util:()=>y,version:()=>us});var he=x(()=>{Qe();fa();ma();_c();Hn();ls();S();Fn();Sc();yr();cs();xf();Pr();Tr();kf();Sf()});var Zo={};Ie(Zo,{endsWith:()=>at,gt:()=>ze,gte:()=>se,includes:()=>ot,length:()=>qe,lowercase:()=>rt,lt:()=>ke,lte:()=>ge,maxLength:()=>Me,maxSize:()=>De,mime:()=>st,minLength:()=>Pe,minSize:()=>Se,multipleOf:()=>Oe,negative:()=>zr,nonnegative:()=>wr,nonpositive:()=>Sr,normalize:()=>ct,overwrite:()=>$e,positive:()=>kr,property:()=>Ir,regex:()=>tt,size:()=>Le,slugify:()=>pt,startsWith:()=>it,toLowerCase:()=>lt,toUpperCase:()=>dt,trim:()=>ut,uppercase:()=>nt});var Ro=x(()=>{he()});var Ue={};Ie(Ue,{ZodISODate:()=>Dr,ZodISODateTime:()=>Or,ZodISODuration:()=>Er,ZodISOTime:()=>Ur,date:()=>Wu,datetime:()=>Bu,duration:()=>Qu,time:()=>Gu});function Bu(t){return jc(Or,t)}function Wu(t){return Tc(Dr,t)}function Gu(t){return Oc(Ur,t)}function Qu(t){return Dc(Er,t)}var Or,Dr,Ur,Er,Nr=x(()=>{he();Rr();Or=p(\"ZodISODateTime\",(t,r)=>{ks.init(t,r),R.init(t,r)});Dr=p(\"ZodISODate\",(t,r)=>{zs.init(t,r),R.init(t,r)});Ur=p(\"ZodISOTime\",(t,r)=>{Ss.init(t,r),R.init(t,r)});Er=p(\"ZodISODuration\",(t,r)=>{ws.init(t,r),R.init(t,r)})});var Pf,jf,de,Xu=x(()=>{he();he();S();Pf=(t,r)=>{cr.init(t,r),t.name=\"ZodError\",Object.defineProperties(t,{format:{value:n=>It(t,n)},flatten:{value:n=>wt(t,n)},addIssue:{value:n=>{t.issues.push(n),t.message=JSON.stringify(t.issues,kt,2)}},addIssues:{value:n=>{t.issues.push(...n),t.message=JSON.stringify(t.issues,kt,2)}},isEmpty:{get(){return t.issues.length===0}}})},jf=p(\"ZodError\",Pf),de=p(\"ZodError\",Pf,{Parent:Error})});var Ao,Co,Lo,Mo,qo,Fo,Vo,Jo,Ho,Ko,Bo,Wo,Yu=x(()=>{he();Xu();Ao=Pt(de),Co=jt(de),Lo=Tt(de),Mo=Dt(de),qo=Un(de),Fo=En(de),Vo=Nn(de),Jo=Zn(de),Ho=Rn(de),Ko=An(de),Bo=Cn(de),Wo=Ln(de)});var Zr={};Ie(Zr,{ZodAny:()=>ei,ZodArray:()=>oi,ZodBase64:()=>en,ZodBase64URL:()=>tn,ZodBigInt:()=>$t,ZodBigIntFormat:()=>on,ZodBoolean:()=>bt,ZodCIDRv4:()=>Xr,ZodCIDRv6:()=>Yr,ZodCUID:()=>Jr,ZodCUID2:()=>Hr,ZodCatch:()=>zi,ZodCodec:()=>Kt,ZodCustom:()=>Bt,ZodCustomStringFormat:()=>ht,ZodDate:()=>qt,ZodDefault:()=>bi,ZodDiscriminatedUnion:()=>ai,ZodE164:()=>rn,ZodEmail:()=>qr,ZodEmoji:()=>Fr,ZodEnum:()=>ft,ZodExactOptional:()=>gi,ZodFile:()=>mi,ZodFunction:()=>Ei,ZodGUID:()=>At,ZodIPv4:()=>Gr,ZodIPv6:()=>Qr,ZodIntersection:()=>si,ZodJWT:()=>nn,ZodKSUID:()=>Wr,ZodLazy:()=>Oi,ZodLiteral:()=>pi,ZodMAC:()=>Go,ZodMap:()=>li,ZodNaN:()=>wi,ZodNanoID:()=>Vr,ZodNever:()=>ri,ZodNonOptional:()=>un,ZodNull:()=>Yo,ZodNullable:()=>vi,ZodNumber:()=>vt,ZodNumberFormat:()=>He,ZodObject:()=>Ft,ZodOptional:()=>cn,ZodPipe:()=>Ht,ZodPrefault:()=>yi,ZodPreprocess:()=>Ii,ZodPromise:()=>Ui,ZodReadonly:()=>Pi,ZodRecord:()=>mt,ZodSet:()=>di,ZodString:()=>gt,ZodStringFormat:()=>R,ZodSuccess:()=>ki,ZodSymbol:()=>Qo,ZodTemplateLiteral:()=>Ti,ZodTransform:()=>fi,ZodTuple:()=>ci,ZodType:()=>j,ZodULID:()=>Kr,ZodURL:()=>Lt,ZodUUID:()=>we,ZodUndefined:()=>Xo,ZodUnion:()=>Vt,ZodUnknown:()=>ti,ZodVoid:()=>ni,ZodXID:()=>Br,ZodXor:()=>ii,_ZodString:()=>Mr,_default:()=>$i,_function:()=>rd,any:()=>Rl,array:()=>T,base64:()=>yl,base64url:()=>_l,bigint:()=>Dl,boolean:()=>B,catch:()=>Si,check:()=>nd,cidrv4:()=>bl,cidrv6:()=>$l,codec:()=>Xl,cuid:()=>ll,cuid2:()=>dl,custom:()=>ln,date:()=>Cl,describe:()=>od,discriminatedUnion:()=>Jt,e164:()=>xl,email:()=>el,emoji:()=>cl,enum:()=>ee,exactOptional:()=>hi,file:()=>Bl,float32:()=>Pl,float64:()=>jl,function:()=>rd,guid:()=>tl,hash:()=>Il,hex:()=>wl,hostname:()=>Sl,httpUrl:()=>sl,instanceof:()=>ad,int:()=>Ar,int32:()=>Tl,int64:()=>Ul,intersection:()=>yt,invertCodec:()=>Yl,ipv4:()=>gl,ipv6:()=>vl,json:()=>cd,jwt:()=>kl,keyof:()=>Ll,ksuid:()=>fl,lazy:()=>Di,literal:()=>w,looseObject:()=>Y,looseRecord:()=>Vl,mac:()=>hl,map:()=>Jl,meta:()=>id,nan:()=>Ql,nanoid:()=>ul,nativeEnum:()=>Kl,never:()=>an,nonoptional:()=>xi,null:()=>Mt,nullable:()=>Ct,nullish:()=>Wl,number:()=>D,object:()=>z,optional:()=>M,partialRecord:()=>Fl,pipe:()=>Cr,prefault:()=>_i,preprocess:()=>Wt,promise:()=>td,readonly:()=>ji,record:()=>N,refine:()=>Ni,set:()=>Hl,strictObject:()=>Ml,string:()=>f,stringFormat:()=>zl,stringbool:()=>sd,success:()=>Gl,superRefine:()=>Zi,symbol:()=>Nl,templateLiteral:()=>ed,transform:()=>sn,tuple:()=>ui,uint32:()=>Ol,uint64:()=>El,ulid:()=>pl,undefined:()=>Zl,union:()=>C,unknown:()=>A,url:()=>al,uuid:()=>rl,uuidv4:()=>nl,uuidv6:()=>ol,uuidv7:()=>il,void:()=>Al,xid:()=>ml,xor:()=>ql});function Lr(t,r,n){let i=Object.getPrototypeOf(t),e=Tf.get(i);if(e||(e=new Set,Tf.set(i,e)),!e.has(r)){e.add(r);for(let o in n){let a=n[o];Object.defineProperty(i,o,{configurable:!0,enumerable:!1,get(){let s=a.bind(this);return Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:s}),s},set(s){Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:s})}})}}}function f(t){return wc(gt,t)}function el(t){return co(qr,t)}function tl(t){return _r(At,t)}function rl(t){return uo(we,t)}function nl(t){return lo(we,t)}function ol(t){return po(we,t)}function il(t){return mo(we,t)}function al(t){return xr(Lt,t)}function sl(t){return xr(Lt,{protocol:fe.httpProtocol,hostname:fe.domain,...y.normalizeParams(t)})}function cl(t){return fo(Fr,t)}function ul(t){return go(Vr,t)}function ll(t){return ho(Jr,t)}function dl(t){return vo(Hr,t)}function pl(t){return bo(Kr,t)}function ml(t){return $o(Br,t)}function fl(t){return yo(Wr,t)}function gl(t){return _o(Gr,t)}function hl(t){return Pc(Go,t)}function vl(t){return xo(Qr,t)}function bl(t){return ko(Xr,t)}function $l(t){return zo(Yr,t)}function yl(t){return So(en,t)}function _l(t){return wo(tn,t)}function xl(t){return Io(rn,t)}function kl(t){return Po(nn,t)}function zl(t,r,n={}){return Zt(ht,t,r,n)}function Sl(t){return Zt(ht,\"hostname\",fe.hostname,t)}function wl(t){return Zt(ht,\"hex\",fe.hex,t)}function Il(t,r){let n=r?.enc??\"hex\",i=`${t}_${n}`,e=fe[i];if(!e)throw new Error(`Unrecognized hash format: ${i}`);return Zt(ht,i,e,r)}function D(t){return Uc(vt,t)}function Ar(t){return Nc(He,t)}function Pl(t){return Zc(He,t)}function jl(t){return Rc(He,t)}function Tl(t){return Ac(He,t)}function Ol(t){return Cc(He,t)}function B(t){return Lc(bt,t)}function Dl(t){return qc($t,t)}function Ul(t){return Vc(on,t)}function El(t){return Jc(on,t)}function Nl(t){return Hc(Qo,t)}function Zl(t){return Kc(Xo,t)}function Mt(t){return Bc(Yo,t)}function Rl(){return Wc(ei)}function A(){return Gc(ti)}function an(t){return Qc(ri,t)}function Al(t){return Xc(ni,t)}function Cl(t){return Yc(qt,t)}function T(t,r){return ru(oi,t,r)}function Ll(t){let r=t._zod.def.shape;return ee(Object.keys(r))}function z(t,r){let n={type:\"object\",shape:t??{},...y.normalizeParams(r)};return new Ft(n)}function Ml(t,r){return new Ft({type:\"object\",shape:t,catchall:an(),...y.normalizeParams(r)})}function Y(t,r){return new Ft({type:\"object\",shape:t,catchall:A(),...y.normalizeParams(r)})}function C(t,r){return new Vt({type:\"union\",options:t,...y.normalizeParams(r)})}function ql(t,r){return new ii({type:\"union\",options:t,inclusive:!1,...y.normalizeParams(r)})}function Jt(t,r,n){return new ai({type:\"union\",options:r,discriminator:t,...y.normalizeParams(n)})}function yt(t,r){return new si({type:\"intersection\",left:t,right:r})}function ui(t,r,n){let i=r instanceof P,e=i?n:r,o=i?r:null;return new ci({type:\"tuple\",items:t,rest:o,...y.normalizeParams(e)})}function N(t,r,n){return!r||!r._zod?new mt({type:\"record\",keyType:f(),valueType:t,...y.normalizeParams(r)}):new mt({type:\"record\",keyType:t,valueType:r,...y.normalizeParams(n)})}function Fl(t,r,n){let i=ae(t);return i._zod.values=void 0,new mt({type:\"record\",keyType:i,valueType:r,...y.normalizeParams(n)})}function Vl(t,r,n){return new mt({type:\"record\",keyType:t,valueType:r,mode:\"loose\",...y.normalizeParams(n)})}function Jl(t,r,n){return new li({type:\"map\",keyType:t,valueType:r,...y.normalizeParams(n)})}function Hl(t,r){return new di({type:\"set\",valueType:t,...y.normalizeParams(r)})}function ee(t,r){let n=Array.isArray(t)?Object.fromEntries(t.map(i=>[i,i])):t;return new ft({type:\"enum\",entries:n,...y.normalizeParams(r)})}function Kl(t,r){return new ft({type:\"enum\",entries:t,...y.normalizeParams(r)})}function w(t,r){return new pi({type:\"literal\",values:Array.isArray(t)?t:[t],...y.normalizeParams(r)})}function Bl(t){return nu(mi,t)}function sn(t){return new fi({type:\"transform\",transform:t})}function M(t){return new cn({type:\"optional\",innerType:t})}function hi(t){return new gi({type:\"optional\",innerType:t})}function Ct(t){return new vi({type:\"nullable\",innerType:t})}function Wl(t){return M(Ct(t))}function $i(t,r){return new bi({type:\"default\",innerType:t,get defaultValue(){return typeof r==\"function\"?r():y.shallowClone(r)}})}function _i(t,r){return new yi({type:\"prefault\",innerType:t,get defaultValue(){return typeof r==\"function\"?r():y.shallowClone(r)}})}function xi(t,r){return new un({type:\"nonoptional\",innerType:t,...y.normalizeParams(r)})}function Gl(t){return new ki({type:\"success\",innerType:t})}function Si(t,r){return new zi({type:\"catch\",innerType:t,catchValue:typeof r==\"function\"?r:()=>r})}function Ql(t){return tu(wi,t)}function Cr(t,r){return new Ht({type:\"pipe\",in:t,out:r})}function Xl(t,r,n){return new Kt({type:\"pipe\",in:t,out:r,transform:n.decode,reverseTransform:n.encode})}function Yl(t){let r=t._zod.def;return new Kt({type:\"pipe\",in:r.out,out:r.in,transform:r.reverseTransform,reverseTransform:r.transform})}function ji(t){return new Pi({type:\"readonly\",innerType:t})}function ed(t,r){return new Ti({type:\"template_literal\",parts:t,...y.normalizeParams(r)})}function Di(t){return new Oi({type:\"lazy\",getter:t})}function td(t){return new Ui({type:\"promise\",innerType:t})}function rd(t){return new Ei({type:\"function\",input:Array.isArray(t?.input)?ui(t?.input):t?.input??T(A()),output:t?.output??A()})}function nd(t){let r=new F({check:\"custom\"});return r._zod.check=t,r}function ln(t,r){return ou(Bt,t??(()=>!0),r)}function Ni(t,r={}){return iu(Bt,t,r)}function Zi(t,r){return au(t,r)}function ad(t,r={}){let n=new Bt({type:\"custom\",check:\"custom\",fn:i=>i instanceof t,abort:!0,...y.normalizeParams(r)});return n._zod.bag.Class=t,n._zod.check=i=>{i.value instanceof t||i.issues.push({code:\"invalid_type\",expected:t.name,input:i.value,inst:n,path:[...n._zod.def.path??[]]})},n}function cd(t){let r=Di(()=>C([f(t),D(),B(),Mt(),T(r),N(f(),r)]));return r}function Wt(t,r){return new Ii({type:\"pipe\",in:sn(t),out:r})}var Tf,j,Mr,gt,R,qr,At,we,Lt,Fr,Vr,Jr,Hr,Kr,Br,Wr,Gr,Go,Qr,Xr,Yr,en,tn,rn,nn,ht,vt,He,bt,$t,on,Qo,Xo,Yo,ei,ti,ri,ni,qt,oi,Ft,Vt,ii,ai,si,ci,mt,li,di,ft,pi,mi,fi,cn,gi,vi,bi,yi,un,ki,zi,wi,Ht,Kt,Ii,Pi,Ti,Oi,Ui,Ei,Bt,od,id,sd,Rr=x(()=>{he();he();Tr();Pr();Ro();Nr();Yu();Tf=new WeakMap;j=p(\"ZodType\",(t,r)=>(P.init(t,r),Object.assign(t[\"~standard\"],{jsonSchema:{input:Rt(t,\"input\"),output:Rt(t,\"output\")}}),t.toJSONSchema=lu(t,{}),t.def=r,t.type=r.type,Object.defineProperty(t,\"_def\",{value:r}),t.parse=(n,i)=>Ao(t,n,i,{callee:t.parse}),t.safeParse=(n,i)=>Lo(t,n,i),t.parseAsync=async(n,i)=>Co(t,n,i,{callee:t.parseAsync}),t.safeParseAsync=async(n,i)=>Mo(t,n,i),t.spa=t.safeParseAsync,t.encode=(n,i)=>qo(t,n,i),t.decode=(n,i)=>Fo(t,n,i),t.encodeAsync=async(n,i)=>Vo(t,n,i),t.decodeAsync=async(n,i)=>Jo(t,n,i),t.safeEncode=(n,i)=>Ho(t,n,i),t.safeDecode=(n,i)=>Ko(t,n,i),t.safeEncodeAsync=async(n,i)=>Bo(t,n,i),t.safeDecodeAsync=async(n,i)=>Wo(t,n,i),Lr(t,\"ZodType\",{check(...n){let i=this.def;return this.clone(y.mergeDefs(i,{checks:[...i.checks??[],...n.map(e=>typeof e==\"function\"?{_zod:{check:e,def:{check:\"custom\"},onattach:[]}}:e)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,i){return ae(this,n,i)},brand(){return this},register(n,i){return n.add(this,i),this},refine(n,i){return this.check(Ni(n,i))},superRefine(n,i){return this.check(Zi(n,i))},overwrite(n){return this.check($e(n))},optional(){return M(this)},exactOptional(){return hi(this)},nullable(){return Ct(this)},nullish(){return M(Ct(this))},nonoptional(n){return xi(this,n)},array(){return T(this)},or(n){return C([this,n])},and(n){return yt(this,n)},transform(n){return Cr(this,sn(n))},default(n){return $i(this,n)},prefault(n){return _i(this,n)},catch(n){return Si(this,n)},pipe(n){return Cr(this,n)},readonly(){return ji(this)},describe(n){let i=this.clone();return X.add(i,{description:n}),i},meta(...n){if(n.length===0)return X.get(this);let i=this.clone();return X.add(i,n[0]),i},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(t,\"description\",{get(){return X.get(t)?.description},configurable:!0}),t)),Mr=p(\"_ZodString\",(t,r)=>{et.init(t,r),j.init(t,r),t._zod.processJSONSchema=(i,e,o)=>du(t,i,e,o);let n=t._zod.bag;t.format=n.format??null,t.minLength=n.minimum??null,t.maxLength=n.maximum??null,Lr(t,\"_ZodString\",{regex(...i){return this.check(tt(...i))},includes(...i){return this.check(ot(...i))},startsWith(...i){return this.check(it(...i))},endsWith(...i){return this.check(at(...i))},min(...i){return this.check(Pe(...i))},max(...i){return this.check(Me(...i))},length(...i){return this.check(qe(...i))},nonempty(...i){return this.check(Pe(1,...i))},lowercase(i){return this.check(rt(i))},uppercase(i){return this.check(nt(i))},trim(){return this.check(ut())},normalize(...i){return this.check(ct(...i))},toLowerCase(){return this.check(lt())},toUpperCase(){return this.check(dt())},slugify(){return this.check(pt())}})}),gt=p(\"ZodString\",(t,r)=>{et.init(t,r),Mr.init(t,r),t.email=n=>t.check(co(qr,n)),t.url=n=>t.check(xr(Lt,n)),t.jwt=n=>t.check(Po(nn,n)),t.emoji=n=>t.check(fo(Fr,n)),t.guid=n=>t.check(_r(At,n)),t.uuid=n=>t.check(uo(we,n)),t.uuidv4=n=>t.check(lo(we,n)),t.uuidv6=n=>t.check(po(we,n)),t.uuidv7=n=>t.check(mo(we,n)),t.nanoid=n=>t.check(go(Vr,n)),t.guid=n=>t.check(_r(At,n)),t.cuid=n=>t.check(ho(Jr,n)),t.cuid2=n=>t.check(vo(Hr,n)),t.ulid=n=>t.check(bo(Kr,n)),t.base64=n=>t.check(So(en,n)),t.base64url=n=>t.check(wo(tn,n)),t.xid=n=>t.check($o(Br,n)),t.ksuid=n=>t.check(yo(Wr,n)),t.ipv4=n=>t.check(_o(Gr,n)),t.ipv6=n=>t.check(xo(Qr,n)),t.cidrv4=n=>t.check(ko(Xr,n)),t.cidrv6=n=>t.check(zo(Yr,n)),t.e164=n=>t.check(Io(rn,n)),t.datetime=n=>t.check(Bu(n)),t.date=n=>t.check(Wu(n)),t.time=n=>t.check(Gu(n)),t.duration=n=>t.check(Qu(n))});R=p(\"ZodStringFormat\",(t,r)=>{L.init(t,r),Mr.init(t,r)}),qr=p(\"ZodEmail\",(t,r)=>{fs.init(t,r),R.init(t,r)});At=p(\"ZodGUID\",(t,r)=>{ps.init(t,r),R.init(t,r)});we=p(\"ZodUUID\",(t,r)=>{ms.init(t,r),R.init(t,r)});Lt=p(\"ZodURL\",(t,r)=>{gs.init(t,r),R.init(t,r)});Fr=p(\"ZodEmoji\",(t,r)=>{hs.init(t,r),R.init(t,r)});Vr=p(\"ZodNanoID\",(t,r)=>{vs.init(t,r),R.init(t,r)});Jr=p(\"ZodCUID\",(t,r)=>{bs.init(t,r),R.init(t,r)});Hr=p(\"ZodCUID2\",(t,r)=>{$s.init(t,r),R.init(t,r)});Kr=p(\"ZodULID\",(t,r)=>{ys.init(t,r),R.init(t,r)});Br=p(\"ZodXID\",(t,r)=>{_s.init(t,r),R.init(t,r)});Wr=p(\"ZodKSUID\",(t,r)=>{xs.init(t,r),R.init(t,r)});Gr=p(\"ZodIPv4\",(t,r)=>{Is.init(t,r),R.init(t,r)});Go=p(\"ZodMAC\",(t,r)=>{js.init(t,r),R.init(t,r)});Qr=p(\"ZodIPv6\",(t,r)=>{Ps.init(t,r),R.init(t,r)});Xr=p(\"ZodCIDRv4\",(t,r)=>{Ts.init(t,r),R.init(t,r)});Yr=p(\"ZodCIDRv6\",(t,r)=>{Os.init(t,r),R.init(t,r)});en=p(\"ZodBase64\",(t,r)=>{Us.init(t,r),R.init(t,r)});tn=p(\"ZodBase64URL\",(t,r)=>{Es.init(t,r),R.init(t,r)});rn=p(\"ZodE164\",(t,r)=>{Ns.init(t,r),R.init(t,r)});nn=p(\"ZodJWT\",(t,r)=>{Zs.init(t,r),R.init(t,r)});ht=p(\"ZodCustomStringFormat\",(t,r)=>{Rs.init(t,r),R.init(t,r)});vt=p(\"ZodNumber\",(t,r)=>{Qn.init(t,r),j.init(t,r),t._zod.processJSONSchema=(i,e,o)=>pu(t,i,e,o),Lr(t,\"ZodNumber\",{gt(i,e){return this.check(ze(i,e))},gte(i,e){return this.check(se(i,e))},min(i,e){return this.check(se(i,e))},lt(i,e){return this.check(ke(i,e))},lte(i,e){return this.check(ge(i,e))},max(i,e){return this.check(ge(i,e))},int(i){return this.check(Ar(i))},safe(i){return this.check(Ar(i))},positive(i){return this.check(ze(0,i))},nonnegative(i){return this.check(se(0,i))},negative(i){return this.check(ke(0,i))},nonpositive(i){return this.check(ge(0,i))},multipleOf(i,e){return this.check(Oe(i,e))},step(i,e){return this.check(Oe(i,e))},finite(){return this}});let n=t._zod.bag;t.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(n.format??\"\").includes(\"int\")||Number.isSafeInteger(n.multipleOf??.5),t.isFinite=!0,t.format=n.format??null});He=p(\"ZodNumberFormat\",(t,r)=>{As.init(t,r),vt.init(t,r)});bt=p(\"ZodBoolean\",(t,r)=>{gr.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>mu(t,n,i,e)});$t=p(\"ZodBigInt\",(t,r)=>{Xn.init(t,r),j.init(t,r),t._zod.processJSONSchema=(i,e,o)=>fu(t,i,e,o),t.gte=(i,e)=>t.check(se(i,e)),t.min=(i,e)=>t.check(se(i,e)),t.gt=(i,e)=>t.check(ze(i,e)),t.gte=(i,e)=>t.check(se(i,e)),t.min=(i,e)=>t.check(se(i,e)),t.lt=(i,e)=>t.check(ke(i,e)),t.lte=(i,e)=>t.check(ge(i,e)),t.max=(i,e)=>t.check(ge(i,e)),t.positive=i=>t.check(ze(BigInt(0),i)),t.negative=i=>t.check(ke(BigInt(0),i)),t.nonpositive=i=>t.check(ge(BigInt(0),i)),t.nonnegative=i=>t.check(se(BigInt(0),i)),t.multipleOf=(i,e)=>t.check(Oe(i,e));let n=t._zod.bag;t.minValue=n.minimum??null,t.maxValue=n.maximum??null,t.format=n.format??null});on=p(\"ZodBigIntFormat\",(t,r)=>{Cs.init(t,r),$t.init(t,r)});Qo=p(\"ZodSymbol\",(t,r)=>{Ls.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>gu(t,n,i,e)});Xo=p(\"ZodUndefined\",(t,r)=>{Ms.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>vu(t,n,i,e)});Yo=p(\"ZodNull\",(t,r)=>{qs.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>hu(t,n,i,e)});ei=p(\"ZodAny\",(t,r)=>{Fs.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>yu(t,n,i,e)});ti=p(\"ZodUnknown\",(t,r)=>{Vs.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>_u(t,n,i,e)});ri=p(\"ZodNever\",(t,r)=>{Js.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>$u(t,n,i,e)});ni=p(\"ZodVoid\",(t,r)=>{Hs.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>bu(t,n,i,e)});qt=p(\"ZodDate\",(t,r)=>{Ks.init(t,r),j.init(t,r),t._zod.processJSONSchema=(i,e,o)=>xu(t,i,e,o),t.min=(i,e)=>t.check(se(i,e)),t.max=(i,e)=>t.check(ge(i,e));let n=t._zod.bag;t.minDate=n.minimum?new Date(n.minimum):null,t.maxDate=n.maximum?new Date(n.maximum):null});oi=p(\"ZodArray\",(t,r)=>{Bs.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Eu(t,n,i,e),t.element=r.element,Lr(t,\"ZodArray\",{min(n,i){return this.check(Pe(n,i))},nonempty(n){return this.check(Pe(1,n))},max(n,i){return this.check(Me(n,i))},length(n,i){return this.check(qe(n,i))},unwrap(){return this.element}})});Ft=p(\"ZodObject\",(t,r)=>{Ws.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Nu(t,n,i,e),y.defineLazy(t,\"shape\",()=>r.shape),Lr(t,\"ZodObject\",{keyof(){return ee(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:A()})},loose(){return this.clone({...this._zod.def,catchall:A()})},strict(){return this.clone({...this._zod.def,catchall:an()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return y.extend(this,n)},safeExtend(n){return y.safeExtend(this,n)},merge(n){return y.merge(this,n)},pick(n){return y.pick(this,n)},omit(n){return y.omit(this,n)},partial(...n){return y.partial(cn,this,n[0])},required(...n){return y.required(un,this,n[0])}})});Vt=p(\"ZodUnion\",(t,r)=>{hr.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Oo(t,n,i,e),t.options=r.options});ii=p(\"ZodXor\",(t,r)=>{Vt.init(t,r),Gs.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Oo(t,n,i,e),t.options=r.options});ai=p(\"ZodDiscriminatedUnion\",(t,r)=>{Vt.init(t,r),Qs.init(t,r)});si=p(\"ZodIntersection\",(t,r)=>{Xs.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Zu(t,n,i,e)});ci=p(\"ZodTuple\",(t,r)=>{Yn.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Ru(t,n,i,e),t.rest=n=>t.clone({...t._zod.def,rest:n})});mt=p(\"ZodRecord\",(t,r)=>{Ys.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Au(t,n,i,e),t.keyType=r.keyType,t.valueType=r.valueType});li=p(\"ZodMap\",(t,r)=>{ec.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Du(t,n,i,e),t.keyType=r.keyType,t.valueType=r.valueType,t.min=(...n)=>t.check(Se(...n)),t.nonempty=n=>t.check(Se(1,n)),t.max=(...n)=>t.check(De(...n)),t.size=(...n)=>t.check(Le(...n))});di=p(\"ZodSet\",(t,r)=>{tc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Uu(t,n,i,e),t.min=(...n)=>t.check(Se(...n)),t.nonempty=n=>t.check(Se(1,n)),t.max=(...n)=>t.check(De(...n)),t.size=(...n)=>t.check(Le(...n))});ft=p(\"ZodEnum\",(t,r)=>{rc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(i,e,o)=>ku(t,i,e,o),t.enum=r.entries,t.options=Object.values(r.entries);let n=new Set(Object.keys(r.entries));t.extract=(i,e)=>{let o={};for(let a of i)if(n.has(a))o[a]=r.entries[a];else throw new Error(`Key ${a} not found in enum`);return new ft({...r,checks:[],...y.normalizeParams(e),entries:o})},t.exclude=(i,e)=>{let o={...r.entries};for(let a of i)if(n.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new ft({...r,checks:[],...y.normalizeParams(e),entries:o})}});pi=p(\"ZodLiteral\",(t,r)=>{nc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>zu(t,n,i,e),t.values=new Set(r.values),Object.defineProperty(t,\"value\",{get(){if(r.values.length>1)throw new Error(\"This schema contains multiple valid literal values. Use `.values` instead.\");return r.values[0]}})});mi=p(\"ZodFile\",(t,r)=>{oc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Iu(t,n,i,e),t.min=(n,i)=>t.check(Se(n,i)),t.max=(n,i)=>t.check(De(n,i)),t.mime=(n,i)=>t.check(st(Array.isArray(n)?n:[n],i))});fi=p(\"ZodTransform\",(t,r)=>{ic.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Ou(t,n,i,e),t._zod.parse=(n,i)=>{if(i.direction===\"backward\")throw new Ne(t.constructor.name);n.addIssue=o=>{if(typeof o==\"string\")n.issues.push(y.issue(o,n.value,r));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code=\"custom\"),a.input??(a.input=n.value),a.inst??(a.inst=t),n.issues.push(y.issue(a))}};let e=r.transform(n.value,n);return e instanceof Promise?e.then(o=>(n.value=o,n.fallback=!0,n)):(n.value=e,n.fallback=!0,n)}});cn=p(\"ZodOptional\",(t,r)=>{eo.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Do(t,n,i,e),t.unwrap=()=>t._zod.def.innerType});gi=p(\"ZodExactOptional\",(t,r)=>{ac.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Do(t,n,i,e),t.unwrap=()=>t._zod.def.innerType});vi=p(\"ZodNullable\",(t,r)=>{sc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Cu(t,n,i,e),t.unwrap=()=>t._zod.def.innerType});bi=p(\"ZodDefault\",(t,r)=>{cc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Mu(t,n,i,e),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});yi=p(\"ZodPrefault\",(t,r)=>{uc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>qu(t,n,i,e),t.unwrap=()=>t._zod.def.innerType});un=p(\"ZodNonOptional\",(t,r)=>{lc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Lu(t,n,i,e),t.unwrap=()=>t._zod.def.innerType});ki=p(\"ZodSuccess\",(t,r)=>{dc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Pu(t,n,i,e),t.unwrap=()=>t._zod.def.innerType});zi=p(\"ZodCatch\",(t,r)=>{pc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Fu(t,n,i,e),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});wi=p(\"ZodNaN\",(t,r)=>{mc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Su(t,n,i,e)});Ht=p(\"ZodPipe\",(t,r)=>{to.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Vu(t,n,i,e),t.in=r.in,t.out=r.out});Kt=p(\"ZodCodec\",(t,r)=>{Ht.init(t,r),vr.init(t,r)});Ii=p(\"ZodPreprocess\",(t,r)=>{Ht.init(t,r),fc.init(t,r)}),Pi=p(\"ZodReadonly\",(t,r)=>{gc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Ju(t,n,i,e),t.unwrap=()=>t._zod.def.innerType});Ti=p(\"ZodTemplateLiteral\",(t,r)=>{hc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>wu(t,n,i,e)});Oi=p(\"ZodLazy\",(t,r)=>{$c.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Ku(t,n,i,e),t.unwrap=()=>t._zod.def.getter()});Ui=p(\"ZodPromise\",(t,r)=>{bc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Hu(t,n,i,e),t.unwrap=()=>t._zod.def.innerType});Ei=p(\"ZodFunction\",(t,r)=>{vc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>Tu(t,n,i,e)});Bt=p(\"ZodCustom\",(t,r)=>{yc.init(t,r),j.init(t,r),t._zod.processJSONSchema=(n,i,e)=>ju(t,n,i,e)});od=su,id=cu;sd=(...t)=>uu({Codec:Kt,Boolean:bt,String:gt},...t)});function Df(t){J({customError:t})}function Uf(){return J().customError}var Of,Ri,Ef=x(()=>{he();Of={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\"};Ri||(Ri={})});function Lv(t,r){let n=t.$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\":r??\"draft-2020-12\"}function Mv(t,r){if(!t.startsWith(\"#\"))throw new Error(\"External $ref is not supported, only local refs (#/...) are allowed\");let n=t.slice(1).split(\"/\").filter(Boolean);if(n.length===0)return r.rootSchema;let i=r.version===\"draft-2020-12\"?\"$defs\":\"definitions\";if(n[0]===i){let e=n[1];if(!e||!r.defs[e])throw new Error(`Reference not found: ${t}`);return r.defs[e]}throw new Error(`Reference not found: ${t}`)}function Nf(t,r){if(t.not!==void 0){if(typeof t.not==\"object\"&&Object.keys(t.not).length===0)return k.never();throw new Error(\"not is not supported in Zod (except { not: {} } for never)\")}if(t.unevaluatedItems!==void 0)throw new Error(\"unevaluatedItems is not supported\");if(t.unevaluatedProperties!==void 0)throw new Error(\"unevaluatedProperties is not supported\");if(t.if!==void 0||t.then!==void 0||t.else!==void 0)throw new Error(\"Conditional schemas (if/then/else) are not supported\");if(t.dependentSchemas!==void 0||t.dependentRequired!==void 0)throw new Error(\"dependentSchemas and dependentRequired are not supported\");if(t.$ref){let e=t.$ref;if(r.refs.has(e))return r.refs.get(e);if(r.processing.has(e))return k.lazy(()=>{if(!r.refs.has(e))throw new Error(`Circular reference not resolved: ${e}`);return r.refs.get(e)});r.processing.add(e);let o=Mv(e,r),a=ce(o,r);return r.refs.set(e,a),r.processing.delete(e),a}if(t.enum!==void 0){let e=t.enum;if(r.version===\"openapi-3.0\"&&t.nullable===!0&&e.length===1&&e[0]===null)return k.null();if(e.length===0)return k.never();if(e.length===1)return k.literal(e[0]);if(e.every(a=>typeof a==\"string\"))return k.enum(e);let o=e.map(a=>k.literal(a));return o.length<2?o[0]:k.union([o[0],o[1],...o.slice(2)])}if(t.const!==void 0)return k.literal(t.const);let n=t.type;if(Array.isArray(n)){let e=n.map(o=>{let a={...t,type:o};return Nf(a,r)});return e.length===0?k.never():e.length===1?e[0]:k.union(e)}if(!n)return k.any();let i;switch(n){case\"string\":{let e=k.string();if(t.format){let o=t.format;o===\"email\"?e=e.check(k.email()):o===\"uri\"||o===\"uri-reference\"?e=e.check(k.url()):o===\"uuid\"||o===\"guid\"?e=e.check(k.uuid()):o===\"date-time\"?e=e.check(k.iso.datetime()):o===\"date\"?e=e.check(k.iso.date()):o===\"time\"?e=e.check(k.iso.time()):o===\"duration\"?e=e.check(k.iso.duration()):o===\"ipv4\"?e=e.check(k.ipv4()):o===\"ipv6\"?e=e.check(k.ipv6()):o===\"mac\"?e=e.check(k.mac()):o===\"cidr\"?e=e.check(k.cidrv4()):o===\"cidr-v6\"?e=e.check(k.cidrv6()):o===\"base64\"?e=e.check(k.base64()):o===\"base64url\"?e=e.check(k.base64url()):o===\"e164\"?e=e.check(k.e164()):o===\"jwt\"?e=e.check(k.jwt()):o===\"emoji\"?e=e.check(k.emoji()):o===\"nanoid\"?e=e.check(k.nanoid()):o===\"cuid\"?e=e.check(k.cuid()):o===\"cuid2\"?e=e.check(k.cuid2()):o===\"ulid\"?e=e.check(k.ulid()):o===\"xid\"?e=e.check(k.xid()):o===\"ksuid\"&&(e=e.check(k.ksuid()))}typeof t.minLength==\"number\"&&(e=e.min(t.minLength)),typeof t.maxLength==\"number\"&&(e=e.max(t.maxLength)),t.pattern&&(e=e.regex(new RegExp(t.pattern))),i=e;break}case\"number\":case\"integer\":{let e=n===\"integer\"?k.number().int():k.number();typeof t.minimum==\"number\"&&(e=e.min(t.minimum)),typeof t.maximum==\"number\"&&(e=e.max(t.maximum)),typeof t.exclusiveMinimum==\"number\"?e=e.gt(t.exclusiveMinimum):t.exclusiveMinimum===!0&&typeof t.minimum==\"number\"&&(e=e.gt(t.minimum)),typeof t.exclusiveMaximum==\"number\"?e=e.lt(t.exclusiveMaximum):t.exclusiveMaximum===!0&&typeof t.maximum==\"number\"&&(e=e.lt(t.maximum)),typeof t.multipleOf==\"number\"&&(e=e.multipleOf(t.multipleOf)),i=e;break}case\"boolean\":{i=k.boolean();break}case\"null\":{i=k.null();break}case\"object\":{let e={},o=t.properties||{},a=new Set(t.required||[]);for(let[u,l]of Object.entries(o)){let d=ce(l,r);e[u]=a.has(u)?d:d.optional()}if(t.propertyNames){let u=ce(t.propertyNames,r),l=t.additionalProperties&&typeof t.additionalProperties==\"object\"?ce(t.additionalProperties,r):k.any();if(Object.keys(e).length===0){i=k.record(u,l);break}let d=k.object(e).passthrough(),g=k.looseRecord(u,l);i=k.intersection(d,g);break}if(t.patternProperties){let u=t.patternProperties,l=Object.keys(u),d=[];for(let h of l){let v=ce(u[h],r),I=k.string().regex(new RegExp(h));d.push(k.looseRecord(I,v))}let g=[];if(Object.keys(e).length>0&&g.push(k.object(e).passthrough()),g.push(...d),g.length===0)i=k.object({}).passthrough();else if(g.length===1)i=g[0];else{let h=k.intersection(g[0],g[1]);for(let v=2;v<g.length;v++)h=k.intersection(h,g[v]);i=h}break}let s=k.object(e);t.additionalProperties===!1?i=s.strict():typeof t.additionalProperties==\"object\"?i=s.catchall(ce(t.additionalProperties,r)):i=s.passthrough();break}case\"array\":{let e=t.prefixItems,o=t.items;if(e&&Array.isArray(e)){let a=e.map(u=>ce(u,r)),s=o&&typeof o==\"object\"&&!Array.isArray(o)?ce(o,r):void 0;s?i=k.tuple(a).rest(s):i=k.tuple(a),typeof t.minItems==\"number\"&&(i=i.check(k.minLength(t.minItems))),typeof t.maxItems==\"number\"&&(i=i.check(k.maxLength(t.maxItems)))}else if(Array.isArray(o)){let a=o.map(u=>ce(u,r)),s=t.additionalItems&&typeof t.additionalItems==\"object\"?ce(t.additionalItems,r):void 0;s?i=k.tuple(a).rest(s):i=k.tuple(a),typeof t.minItems==\"number\"&&(i=i.check(k.minLength(t.minItems))),typeof t.maxItems==\"number\"&&(i=i.check(k.maxLength(t.maxItems)))}else if(o!==void 0){let a=ce(o,r),s=k.array(a);typeof t.minItems==\"number\"&&(s=s.min(t.minItems)),typeof t.maxItems==\"number\"&&(s=s.max(t.maxItems)),i=s}else i=k.array(k.any());break}default:throw new Error(`Unsupported type: ${n}`)}return i}function ce(t,r){if(typeof t==\"boolean\")return t?k.any():k.never();let n=Nf(t,r),i=t.type||t.enum!==void 0||t.const!==void 0;if(t.anyOf&&Array.isArray(t.anyOf)){let s=t.anyOf.map(l=>ce(l,r)),u=k.union(s);n=i?k.intersection(n,u):u}if(t.oneOf&&Array.isArray(t.oneOf)){let s=t.oneOf.map(l=>ce(l,r)),u=k.xor(s);n=i?k.intersection(n,u):u}if(t.allOf&&Array.isArray(t.allOf))if(t.allOf.length===0)n=i?n:k.any();else{let s=i?n:ce(t.allOf[0],r),u=i?0:1;for(let l=u;l<t.allOf.length;l++)s=k.intersection(s,ce(t.allOf[l],r));n=s}t.nullable===!0&&r.version===\"openapi-3.0\"&&(n=k.nullable(n)),t.readOnly===!0&&(n=k.readonly(n)),t.default!==void 0&&(n=n.default(t.default));let e={},o=[\"$id\",\"id\",\"$comment\",\"$anchor\",\"$vocabulary\",\"$dynamicRef\",\"$dynamicAnchor\"];for(let s of o)s in t&&(e[s]=t[s]);let a=[\"contentEncoding\",\"contentMediaType\",\"contentSchema\"];for(let s of a)s in t&&(e[s]=t[s]);for(let s of Object.keys(t))Cv.has(s)||(e[s]=t[s]);return Object.keys(e).length>0&&r.registry.add(n,e),t.description&&(n=n.describe(t.description)),n}function ud(t,r){if(typeof t==\"boolean\")return t?k.any():k.never();let n;try{n=JSON.parse(JSON.stringify(t))}catch{throw new Error(\"fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas\")}let i=Lv(n,r?.defaultTarget),e=n.$defs||n.definitions||{},o={version:i,defs:e,refs:new Map,processing:new Set,rootSchema:n,registry:r?.registry??X};return ce(n,o)}var k,Cv,Zf=x(()=>{yr();Ro();Nr();Rr();k={...Zr,...Zo,iso:Ue},Cv=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\"])});var Ai={};Ie(Ai,{bigint:()=>Jv,boolean:()=>Vv,date:()=>Hv,number:()=>Fv,string:()=>qv});function qv(t){return Ic(gt,t)}function Fv(t){return Ec(vt,t)}function Vv(t){return Mc(bt,t)}function Jv(t){return Fc($t,t)}function Hv(t){return eu(qt,t)}var Rf=x(()=>{he();Rr()});var c={};Ie(c,{$brand:()=>Pn,$input:()=>so,$output:()=>ao,NEVER:()=>In,TimePrecision:()=>jo,ZodAny:()=>ei,ZodArray:()=>oi,ZodBase64:()=>en,ZodBase64URL:()=>tn,ZodBigInt:()=>$t,ZodBigIntFormat:()=>on,ZodBoolean:()=>bt,ZodCIDRv4:()=>Xr,ZodCIDRv6:()=>Yr,ZodCUID:()=>Jr,ZodCUID2:()=>Hr,ZodCatch:()=>zi,ZodCodec:()=>Kt,ZodCustom:()=>Bt,ZodCustomStringFormat:()=>ht,ZodDate:()=>qt,ZodDefault:()=>bi,ZodDiscriminatedUnion:()=>ai,ZodE164:()=>rn,ZodEmail:()=>qr,ZodEmoji:()=>Fr,ZodEnum:()=>ft,ZodError:()=>jf,ZodExactOptional:()=>gi,ZodFile:()=>mi,ZodFirstPartyTypeKind:()=>Ri,ZodFunction:()=>Ei,ZodGUID:()=>At,ZodIPv4:()=>Gr,ZodIPv6:()=>Qr,ZodISODate:()=>Dr,ZodISODateTime:()=>Or,ZodISODuration:()=>Er,ZodISOTime:()=>Ur,ZodIntersection:()=>si,ZodIssueCode:()=>Of,ZodJWT:()=>nn,ZodKSUID:()=>Wr,ZodLazy:()=>Oi,ZodLiteral:()=>pi,ZodMAC:()=>Go,ZodMap:()=>li,ZodNaN:()=>wi,ZodNanoID:()=>Vr,ZodNever:()=>ri,ZodNonOptional:()=>un,ZodNull:()=>Yo,ZodNullable:()=>vi,ZodNumber:()=>vt,ZodNumberFormat:()=>He,ZodObject:()=>Ft,ZodOptional:()=>cn,ZodPipe:()=>Ht,ZodPrefault:()=>yi,ZodPreprocess:()=>Ii,ZodPromise:()=>Ui,ZodReadonly:()=>Pi,ZodRealError:()=>de,ZodRecord:()=>mt,ZodSet:()=>di,ZodString:()=>gt,ZodStringFormat:()=>R,ZodSuccess:()=>ki,ZodSymbol:()=>Qo,ZodTemplateLiteral:()=>Ti,ZodTransform:()=>fi,ZodTuple:()=>ci,ZodType:()=>j,ZodULID:()=>Kr,ZodURL:()=>Lt,ZodUUID:()=>we,ZodUndefined:()=>Xo,ZodUnion:()=>Vt,ZodUnknown:()=>ti,ZodVoid:()=>ni,ZodXID:()=>Br,ZodXor:()=>ii,_ZodString:()=>Mr,_default:()=>$i,_function:()=>rd,any:()=>Rl,array:()=>T,base64:()=>yl,base64url:()=>_l,bigint:()=>Dl,boolean:()=>B,catch:()=>Si,check:()=>nd,cidrv4:()=>bl,cidrv6:()=>$l,clone:()=>ae,codec:()=>Xl,coerce:()=>Ai,config:()=>J,core:()=>je,cuid:()=>ll,cuid2:()=>dl,custom:()=>ln,date:()=>Cl,decode:()=>Fo,decodeAsync:()=>Jo,describe:()=>od,discriminatedUnion:()=>Jt,e164:()=>xl,email:()=>el,emoji:()=>cl,encode:()=>qo,encodeAsync:()=>Vo,endsWith:()=>at,enum:()=>ee,exactOptional:()=>hi,file:()=>Bl,flattenError:()=>wt,float32:()=>Pl,float64:()=>jl,formatError:()=>It,fromJSONSchema:()=>ud,function:()=>rd,getErrorMap:()=>Uf,globalRegistry:()=>X,gt:()=>ze,gte:()=>se,guid:()=>tl,hash:()=>Il,hex:()=>wl,hostname:()=>Sl,httpUrl:()=>sl,includes:()=>ot,instanceof:()=>ad,int:()=>Ar,int32:()=>Tl,int64:()=>Ul,intersection:()=>yt,invertCodec:()=>Yl,ipv4:()=>gl,ipv6:()=>vl,iso:()=>Ue,json:()=>cd,jwt:()=>kl,keyof:()=>Ll,ksuid:()=>fl,lazy:()=>Di,length:()=>qe,literal:()=>w,locales:()=>Nt,looseObject:()=>Y,looseRecord:()=>Vl,lowercase:()=>rt,lt:()=>ke,lte:()=>ge,mac:()=>hl,map:()=>Jl,maxLength:()=>Me,maxSize:()=>De,meta:()=>id,mime:()=>st,minLength:()=>Pe,minSize:()=>Se,multipleOf:()=>Oe,nan:()=>Ql,nanoid:()=>ul,nativeEnum:()=>Kl,negative:()=>zr,never:()=>an,nonnegative:()=>wr,nonoptional:()=>xi,nonpositive:()=>Sr,normalize:()=>ct,null:()=>Mt,nullable:()=>Ct,nullish:()=>Wl,number:()=>D,object:()=>z,optional:()=>M,overwrite:()=>$e,parse:()=>Ao,parseAsync:()=>Co,partialRecord:()=>Fl,pipe:()=>Cr,positive:()=>kr,prefault:()=>_i,preprocess:()=>Wt,prettifyError:()=>Dn,promise:()=>td,property:()=>Ir,readonly:()=>ji,record:()=>N,refine:()=>Ni,regex:()=>tt,regexes:()=>fe,registry:()=>$r,safeDecode:()=>Ko,safeDecodeAsync:()=>Wo,safeEncode:()=>Ho,safeEncodeAsync:()=>Bo,safeParse:()=>Lo,safeParseAsync:()=>Mo,set:()=>Hl,setErrorMap:()=>Df,size:()=>Le,slugify:()=>pt,startsWith:()=>it,strictObject:()=>Ml,string:()=>f,stringFormat:()=>zl,stringbool:()=>sd,success:()=>Gl,superRefine:()=>Zi,symbol:()=>Nl,templateLiteral:()=>ed,toJSONSchema:()=>jr,toLowerCase:()=>lt,toUpperCase:()=>dt,transform:()=>sn,treeifyError:()=>On,trim:()=>ut,tuple:()=>ui,uint32:()=>Ol,uint64:()=>El,ulid:()=>pl,undefined:()=>Zl,union:()=>C,unknown:()=>A,uppercase:()=>nt,url:()=>al,util:()=>y,uuid:()=>rl,uuidv4:()=>nl,uuidv6:()=>ol,uuidv7:()=>il,void:()=>Al,xid:()=>ml,xor:()=>ql});var ld=x(()=>{he();Rr();Ro();Xu();Yu();Ef();he();xc();he();Tr();Zf();Sc();Nr();Nr();Rf();J(ro())});var Af,dd=x(()=>{ld();ld();Af=c});var pd={};Ie(pd,{$brand:()=>Pn,$input:()=>so,$output:()=>ao,NEVER:()=>In,TimePrecision:()=>jo,ZodAny:()=>ei,ZodArray:()=>oi,ZodBase64:()=>en,ZodBase64URL:()=>tn,ZodBigInt:()=>$t,ZodBigIntFormat:()=>on,ZodBoolean:()=>bt,ZodCIDRv4:()=>Xr,ZodCIDRv6:()=>Yr,ZodCUID:()=>Jr,ZodCUID2:()=>Hr,ZodCatch:()=>zi,ZodCodec:()=>Kt,ZodCustom:()=>Bt,ZodCustomStringFormat:()=>ht,ZodDate:()=>qt,ZodDefault:()=>bi,ZodDiscriminatedUnion:()=>ai,ZodE164:()=>rn,ZodEmail:()=>qr,ZodEmoji:()=>Fr,ZodEnum:()=>ft,ZodError:()=>jf,ZodExactOptional:()=>gi,ZodFile:()=>mi,ZodFirstPartyTypeKind:()=>Ri,ZodFunction:()=>Ei,ZodGUID:()=>At,ZodIPv4:()=>Gr,ZodIPv6:()=>Qr,ZodISODate:()=>Dr,ZodISODateTime:()=>Or,ZodISODuration:()=>Er,ZodISOTime:()=>Ur,ZodIntersection:()=>si,ZodIssueCode:()=>Of,ZodJWT:()=>nn,ZodKSUID:()=>Wr,ZodLazy:()=>Oi,ZodLiteral:()=>pi,ZodMAC:()=>Go,ZodMap:()=>li,ZodNaN:()=>wi,ZodNanoID:()=>Vr,ZodNever:()=>ri,ZodNonOptional:()=>un,ZodNull:()=>Yo,ZodNullable:()=>vi,ZodNumber:()=>vt,ZodNumberFormat:()=>He,ZodObject:()=>Ft,ZodOptional:()=>cn,ZodPipe:()=>Ht,ZodPrefault:()=>yi,ZodPreprocess:()=>Ii,ZodPromise:()=>Ui,ZodReadonly:()=>Pi,ZodRealError:()=>de,ZodRecord:()=>mt,ZodSet:()=>di,ZodString:()=>gt,ZodStringFormat:()=>R,ZodSuccess:()=>ki,ZodSymbol:()=>Qo,ZodTemplateLiteral:()=>Ti,ZodTransform:()=>fi,ZodTuple:()=>ci,ZodType:()=>j,ZodULID:()=>Kr,ZodURL:()=>Lt,ZodUUID:()=>we,ZodUndefined:()=>Xo,ZodUnion:()=>Vt,ZodUnknown:()=>ti,ZodVoid:()=>ni,ZodXID:()=>Br,ZodXor:()=>ii,_ZodString:()=>Mr,_default:()=>$i,_function:()=>rd,any:()=>Rl,array:()=>T,base64:()=>yl,base64url:()=>_l,bigint:()=>Dl,boolean:()=>B,catch:()=>Si,check:()=>nd,cidrv4:()=>bl,cidrv6:()=>$l,clone:()=>ae,codec:()=>Xl,coerce:()=>Ai,config:()=>J,core:()=>je,cuid:()=>ll,cuid2:()=>dl,custom:()=>ln,date:()=>Cl,decode:()=>Fo,decodeAsync:()=>Jo,default:()=>Kv,describe:()=>od,discriminatedUnion:()=>Jt,e164:()=>xl,email:()=>el,emoji:()=>cl,encode:()=>qo,encodeAsync:()=>Vo,endsWith:()=>at,enum:()=>ee,exactOptional:()=>hi,file:()=>Bl,flattenError:()=>wt,float32:()=>Pl,float64:()=>jl,formatError:()=>It,fromJSONSchema:()=>ud,function:()=>rd,getErrorMap:()=>Uf,globalRegistry:()=>X,gt:()=>ze,gte:()=>se,guid:()=>tl,hash:()=>Il,hex:()=>wl,hostname:()=>Sl,httpUrl:()=>sl,includes:()=>ot,instanceof:()=>ad,int:()=>Ar,int32:()=>Tl,int64:()=>Ul,intersection:()=>yt,invertCodec:()=>Yl,ipv4:()=>gl,ipv6:()=>vl,iso:()=>Ue,json:()=>cd,jwt:()=>kl,keyof:()=>Ll,ksuid:()=>fl,lazy:()=>Di,length:()=>qe,literal:()=>w,locales:()=>Nt,looseObject:()=>Y,looseRecord:()=>Vl,lowercase:()=>rt,lt:()=>ke,lte:()=>ge,mac:()=>hl,map:()=>Jl,maxLength:()=>Me,maxSize:()=>De,meta:()=>id,mime:()=>st,minLength:()=>Pe,minSize:()=>Se,multipleOf:()=>Oe,nan:()=>Ql,nanoid:()=>ul,nativeEnum:()=>Kl,negative:()=>zr,never:()=>an,nonnegative:()=>wr,nonoptional:()=>xi,nonpositive:()=>Sr,normalize:()=>ct,null:()=>Mt,nullable:()=>Ct,nullish:()=>Wl,number:()=>D,object:()=>z,optional:()=>M,overwrite:()=>$e,parse:()=>Ao,parseAsync:()=>Co,partialRecord:()=>Fl,pipe:()=>Cr,positive:()=>kr,prefault:()=>_i,preprocess:()=>Wt,prettifyError:()=>Dn,promise:()=>td,property:()=>Ir,readonly:()=>ji,record:()=>N,refine:()=>Ni,regex:()=>tt,regexes:()=>fe,registry:()=>$r,safeDecode:()=>Ko,safeDecodeAsync:()=>Wo,safeEncode:()=>Ho,safeEncodeAsync:()=>Bo,safeParse:()=>Lo,safeParseAsync:()=>Mo,set:()=>Hl,setErrorMap:()=>Df,size:()=>Le,slugify:()=>pt,startsWith:()=>it,strictObject:()=>Ml,string:()=>f,stringFormat:()=>zl,stringbool:()=>sd,success:()=>Gl,superRefine:()=>Zi,symbol:()=>Nl,templateLiteral:()=>ed,toJSONSchema:()=>jr,toLowerCase:()=>lt,toUpperCase:()=>dt,transform:()=>sn,treeifyError:()=>On,trim:()=>ut,tuple:()=>ui,uint32:()=>Ol,uint64:()=>El,ulid:()=>pl,undefined:()=>Zl,union:()=>C,unknown:()=>A,uppercase:()=>nt,url:()=>al,util:()=>y,uuid:()=>rl,uuidv4:()=>nl,uuidv6:()=>ol,uuidv7:()=>il,void:()=>Al,xid:()=>ml,xor:()=>ql,z:()=>c});var Kv,dn=x(()=>{dd();dd();Kv=Af});he();function Eo(t){return!!t._zod}function No(t,r){return Eo(t)?Ot(t,r):t.safeParse(r)}function wf(t){if(!t)return;let r;if(Eo(t)?r=t._zod?.def?.shape:r=t.shape,!!r){if(typeof r==\"function\")try{return r()}catch{return}return r}}function If(t){if(Eo(t)){let o=t._zod?.def;if(o){if(o.value!==void 0)return o.value;if(Array.isArray(o.values)&&o.values.length>0)return o.values[0]}}let n=t._def;if(n){if(n.value!==void 0)return n.value;if(Array.isArray(n.values)&&n.values.length>0)return n.values[0]}let i=t.value;if(i!==void 0)return i}dn();var Ke=\"io.modelcontextprotocol/related-task\",Li=\"2.0\",G=ln(t=>t!==null&&(typeof t==\"object\"||typeof t==\"function\")),Cf=C([f(),D().int()]),Lf=f(),dk=Y({ttl:D().optional(),pollInterval:D().optional()}),Bv=z({ttl:D().optional()}),Wv=z({taskId:f()}),fd=Y({progressToken:Cf.optional(),[Ke]:Wv.optional()}),ve=z({_meta:fd.optional()}),pn=ve.extend({task:Bv.optional()}),Mf=t=>pn.safeParse(t).success,ne=z({method:f(),params:ve.loose().optional()}),ye=z({_meta:fd.optional()}),_e=z({method:f(),params:ye.loose().optional()}),oe=Y({_meta:fd.optional()}),Qt=C([f(),D().int()]),qf=z({jsonrpc:w(Li),id:Qt,...ne.shape}).strict(),gd=t=>qf.safeParse(t).success,Ff=z({jsonrpc:w(Li),..._e.shape}).strict(),Vf=t=>Ff.safeParse(t).success,hd=z({jsonrpc:w(Li),id:Qt,result:oe}).strict(),mn=t=>hd.safeParse(t).success;var Z;(function(t){t[t.ConnectionClosed=-32e3]=\"ConnectionClosed\",t[t.RequestTimeout=-32001]=\"RequestTimeout\",t[t.ParseError=-32700]=\"ParseError\",t[t.InvalidRequest=-32600]=\"InvalidRequest\",t[t.MethodNotFound=-32601]=\"MethodNotFound\",t[t.InvalidParams=-32602]=\"InvalidParams\",t[t.InternalError=-32603]=\"InternalError\",t[t.UrlElicitationRequired=-32042]=\"UrlElicitationRequired\"})(Z||(Z={}));var vd=z({jsonrpc:w(Li),id:Qt.optional(),error:z({code:D().int(),message:f(),data:A().optional()})}).strict();var Jf=t=>vd.safeParse(t).success;var Hf=C([qf,Ff,hd,vd]),pk=C([hd,vd]),Mi=oe.strict(),Gv=ye.extend({requestId:Qt.optional(),reason:f().optional()}),qi=_e.extend({method:w(\"notifications/cancelled\"),params:Gv}),Qv=z({src:f(),mimeType:f().optional(),sizes:T(f()).optional(),theme:ee([\"light\",\"dark\"]).optional()}),fn=z({icons:T(Qv).optional()}),Gt=z({name:f(),title:f().optional()}),gn=Gt.extend({...Gt.shape,...fn.shape,version:f(),websiteUrl:f().optional(),description:f().optional()}),Xv=yt(z({applyDefaults:B().optional()}),N(f(),A())),Yv=Wt(t=>t&&typeof t==\"object\"&&!Array.isArray(t)&&Object.keys(t).length===0?{form:{}}:t,yt(z({form:Xv.optional(),url:G.optional()}),N(f(),A()).optional())),eb=Y({list:G.optional(),cancel:G.optional(),requests:Y({sampling:Y({createMessage:G.optional()}).optional(),elicitation:Y({create:G.optional()}).optional()}).optional()}),tb=Y({list:G.optional(),cancel:G.optional(),requests:Y({tools:Y({call:G.optional()}).optional()}).optional()}),rb=z({experimental:N(f(),G).optional(),sampling:z({context:G.optional(),tools:G.optional()}).optional(),elicitation:Yv.optional(),roots:z({listChanged:B().optional()}).optional(),tasks:eb.optional(),extensions:N(f(),G).optional()}),nb=ve.extend({protocolVersion:f(),capabilities:rb,clientInfo:gn}),ob=ne.extend({method:w(\"initialize\"),params:nb});var ib=z({experimental:N(f(),G).optional(),logging:G.optional(),completions:G.optional(),prompts:z({listChanged:B().optional()}).optional(),resources:z({subscribe:B().optional(),listChanged:B().optional()}).optional(),tools:z({listChanged:B().optional()}).optional(),tasks:tb.optional(),extensions:N(f(),G).optional()}),ab=oe.extend({protocolVersion:f(),capabilities:ib,serverInfo:gn,instructions:f().optional()}),sb=_e.extend({method:w(\"notifications/initialized\"),params:ye.optional()});var Xt=ne.extend({method:w(\"ping\"),params:ve.optional()}),cb=z({progress:D(),total:M(D()),message:M(f())}),ub=z({...ye.shape,...cb.shape,progressToken:Cf}),Fi=_e.extend({method:w(\"notifications/progress\"),params:ub}),lb=ve.extend({cursor:Lf.optional()}),hn=ne.extend({params:lb.optional()}),vn=oe.extend({nextCursor:Lf.optional()}),db=ee([\"working\",\"input_required\",\"completed\",\"failed\",\"cancelled\"]),bn=z({taskId:f(),status:db,ttl:C([D(),Mt()]),createdAt:f(),lastUpdatedAt:f(),pollInterval:M(D()),statusMessage:M(f())}),Vi=oe.extend({task:bn}),pb=ye.merge(bn),$n=_e.extend({method:w(\"notifications/tasks/status\"),params:pb}),Ji=ne.extend({method:w(\"tasks/get\"),params:ve.extend({taskId:f()})}),Hi=oe.merge(bn),Ki=ne.extend({method:w(\"tasks/result\"),params:ve.extend({taskId:f()})}),mk=oe.loose(),Bi=hn.extend({method:w(\"tasks/list\")}),Wi=vn.extend({tasks:T(bn)}),Gi=ne.extend({method:w(\"tasks/cancel\"),params:ve.extend({taskId:f()})}),Kf=oe.merge(bn),Bf=z({uri:f(),mimeType:M(f()),_meta:N(f(),A()).optional()}),Wf=Bf.extend({text:f()}),bd=f().refine(t=>{try{return atob(t),!0}catch{return!1}},{message:\"Invalid Base64 string\"}),Gf=Bf.extend({blob:bd}),yn=ee([\"user\",\"assistant\"]),Yt=z({audience:T(yn).optional(),priority:D().min(0).max(1).optional(),lastModified:Ue.datetime({offset:!0}).optional()}),Qf=z({...Gt.shape,...fn.shape,uri:f(),description:M(f()),mimeType:M(f()),size:M(D()),annotations:Yt.optional(),_meta:M(Y({}))}),mb=z({...Gt.shape,...fn.shape,uriTemplate:f(),description:M(f()),mimeType:M(f()),annotations:Yt.optional(),_meta:M(Y({}))}),fb=hn.extend({method:w(\"resources/list\")}),$d=vn.extend({resources:T(Qf)}),gb=hn.extend({method:w(\"resources/templates/list\")}),hb=vn.extend({resourceTemplates:T(mb)}),yd=ve.extend({uri:f()}),vb=yd,bb=ne.extend({method:w(\"resources/read\"),params:vb}),_d=oe.extend({contents:T(C([Wf,Gf]))}),$b=_e.extend({method:w(\"notifications/resources/list_changed\"),params:ye.optional()}),yb=yd,_b=ne.extend({method:w(\"resources/subscribe\"),params:yb}),xb=yd,kb=ne.extend({method:w(\"resources/unsubscribe\"),params:xb}),zb=ye.extend({uri:f()}),Sb=_e.extend({method:w(\"notifications/resources/updated\"),params:zb}),wb=z({name:f(),description:M(f()),required:M(B())}),Ib=z({...Gt.shape,...fn.shape,description:M(f()),arguments:M(T(wb)),_meta:M(Y({}))}),Pb=hn.extend({method:w(\"prompts/list\")}),jb=vn.extend({prompts:T(Ib)}),Tb=ve.extend({name:f(),arguments:N(f(),f()).optional()}),Ob=ne.extend({method:w(\"prompts/get\"),params:Tb}),xd=z({type:w(\"text\"),text:f(),annotations:Yt.optional(),_meta:N(f(),A()).optional()}),kd=z({type:w(\"image\"),data:bd,mimeType:f(),annotations:Yt.optional(),_meta:N(f(),A()).optional()}),zd=z({type:w(\"audio\"),data:bd,mimeType:f(),annotations:Yt.optional(),_meta:N(f(),A()).optional()}),Db=z({type:w(\"tool_use\"),name:f(),id:f(),input:N(f(),A()),_meta:N(f(),A()).optional()}),Sd=z({type:w(\"resource\"),resource:C([Wf,Gf]),annotations:Yt.optional(),_meta:N(f(),A()).optional()}),wd=Qf.extend({type:w(\"resource_link\")}),er=C([xd,kd,zd,wd,Sd]),Ub=z({role:yn,content:er}),Eb=oe.extend({description:f().optional(),messages:T(Ub)}),Nb=_e.extend({method:w(\"notifications/prompts/list_changed\"),params:ye.optional()}),Zb=z({title:f().optional(),readOnlyHint:B().optional(),destructiveHint:B().optional(),idempotentHint:B().optional(),openWorldHint:B().optional()}),Rb=z({taskSupport:ee([\"required\",\"optional\",\"forbidden\"]).optional()}),Qi=z({...Gt.shape,...fn.shape,description:f().optional(),inputSchema:z({type:w(\"object\"),properties:N(f(),G).optional(),required:T(f()).optional()}).catchall(A()),outputSchema:z({type:w(\"object\"),properties:N(f(),G).optional(),required:T(f()).optional()}).catchall(A()).optional(),annotations:Zb.optional(),execution:Rb.optional(),_meta:N(f(),A()).optional()}),Id=hn.extend({method:w(\"tools/list\")}),Ab=vn.extend({tools:T(Qi)}),tr=oe.extend({content:T(er).default([]),structuredContent:N(f(),A()).optional(),isError:B().optional()}),fk=tr.or(oe.extend({toolResult:A()})),Cb=pn.extend({name:f(),arguments:N(f(),A()).optional()}),Pd=ne.extend({method:w(\"tools/call\"),params:Cb}),Lb=_e.extend({method:w(\"notifications/tools/list_changed\"),params:ye.optional()}),gk=z({autoRefresh:B().default(!0),debounceMs:D().int().nonnegative().default(300)}),Xf=ee([\"debug\",\"info\",\"notice\",\"warning\",\"error\",\"critical\",\"alert\",\"emergency\"]),Mb=ve.extend({level:Xf}),qb=ne.extend({method:w(\"logging/setLevel\"),params:Mb}),Fb=ye.extend({level:Xf,logger:f().optional(),data:A()}),Vb=_e.extend({method:w(\"notifications/message\"),params:Fb}),Jb=z({name:f().optional()}),Hb=z({hints:T(Jb).optional(),costPriority:D().min(0).max(1).optional(),speedPriority:D().min(0).max(1).optional(),intelligencePriority:D().min(0).max(1).optional()}),Kb=z({mode:ee([\"auto\",\"required\",\"none\"]).optional()}),Bb=z({type:w(\"tool_result\"),toolUseId:f().describe(\"The unique identifier for the corresponding tool call.\"),content:T(er).default([]),structuredContent:z({}).loose().optional(),isError:B().optional(),_meta:N(f(),A()).optional()}),Wb=Jt(\"type\",[xd,kd,zd]),Ci=Jt(\"type\",[xd,kd,zd,Db,Bb]),Gb=z({role:yn,content:C([Ci,T(Ci)]),_meta:N(f(),A()).optional()}),Qb=pn.extend({messages:T(Gb),modelPreferences:Hb.optional(),systemPrompt:f().optional(),includeContext:ee([\"none\",\"thisServer\",\"allServers\"]).optional(),temperature:D().optional(),maxTokens:D().int(),stopSequences:T(f()).optional(),metadata:G.optional(),tools:T(Qi).optional(),toolChoice:Kb.optional()}),Xb=ne.extend({method:w(\"sampling/createMessage\"),params:Qb}),jd=oe.extend({model:f(),stopReason:M(ee([\"endTurn\",\"stopSequence\",\"maxTokens\"]).or(f())),role:yn,content:Wb}),Td=oe.extend({model:f(),stopReason:M(ee([\"endTurn\",\"stopSequence\",\"maxTokens\",\"toolUse\"]).or(f())),role:yn,content:C([Ci,T(Ci)])}),Yb=z({type:w(\"boolean\"),title:f().optional(),description:f().optional(),default:B().optional()}),e$=z({type:w(\"string\"),title:f().optional(),description:f().optional(),minLength:D().optional(),maxLength:D().optional(),format:ee([\"email\",\"uri\",\"date\",\"date-time\"]).optional(),default:f().optional()}),t$=z({type:ee([\"number\",\"integer\"]),title:f().optional(),description:f().optional(),minimum:D().optional(),maximum:D().optional(),default:D().optional()}),r$=z({type:w(\"string\"),title:f().optional(),description:f().optional(),enum:T(f()),default:f().optional()}),n$=z({type:w(\"string\"),title:f().optional(),description:f().optional(),oneOf:T(z({const:f(),title:f()})),default:f().optional()}),o$=z({type:w(\"string\"),title:f().optional(),description:f().optional(),enum:T(f()),enumNames:T(f()).optional(),default:f().optional()}),i$=C([r$,n$]),a$=z({type:w(\"array\"),title:f().optional(),description:f().optional(),minItems:D().optional(),maxItems:D().optional(),items:z({type:w(\"string\"),enum:T(f())}),default:T(f()).optional()}),s$=z({type:w(\"array\"),title:f().optional(),description:f().optional(),minItems:D().optional(),maxItems:D().optional(),items:z({anyOf:T(z({const:f(),title:f()}))}),default:T(f()).optional()}),c$=C([a$,s$]),u$=C([o$,i$,c$]),l$=C([u$,Yb,e$,t$]),d$=pn.extend({mode:w(\"form\").optional(),message:f(),requestedSchema:z({type:w(\"object\"),properties:N(f(),l$),required:T(f()).optional()})}),p$=pn.extend({mode:w(\"url\"),message:f(),elicitationId:f(),url:f().url()}),m$=C([d$,p$]),f$=ne.extend({method:w(\"elicitation/create\"),params:m$}),g$=ye.extend({elicitationId:f()}),h$=_e.extend({method:w(\"notifications/elicitation/complete\"),params:g$}),v$=oe.extend({action:ee([\"accept\",\"decline\",\"cancel\"]),content:Wt(t=>t===null?void 0:t,N(f(),C([f(),D(),B(),T(f())])).optional())}),b$=z({type:w(\"ref/resource\"),uri:f()});var $$=z({type:w(\"ref/prompt\"),name:f()}),y$=ve.extend({ref:C([$$,b$]),argument:z({name:f(),value:f()}),context:z({arguments:N(f(),f()).optional()}).optional()}),_$=ne.extend({method:w(\"completion/complete\"),params:y$});var x$=oe.extend({completion:Y({values:T(f()).max(100),total:M(D().int()),hasMore:M(B())})}),k$=z({uri:f().startsWith(\"file://\"),name:f().optional(),_meta:N(f(),A()).optional()}),z$=ne.extend({method:w(\"roots/list\"),params:ve.optional()}),S$=oe.extend({roots:T(k$)}),w$=_e.extend({method:w(\"notifications/roots/list_changed\"),params:ye.optional()}),hk=C([Xt,ob,_$,qb,Ob,Pb,fb,gb,bb,_b,kb,Pd,Id,Ji,Ki,Bi,Gi]),vk=C([qi,Fi,sb,w$,$n]),bk=C([Mi,jd,Td,v$,S$,Hi,Wi,Vi]),$k=C([Xt,Xb,f$,z$,Ji,Ki,Bi,Gi]),yk=C([qi,Fi,Vb,Sb,$b,Lb,Nb,$n,h$]),_k=C([Mi,ab,x$,Eb,jb,$d,hb,_d,tr,Ab,Hi,Wi,Vi]),U=class t extends Error{constructor(r,n,i){super(`MCP error ${r}: ${n}`),this.code=r,this.data=i,this.name=\"McpError\"}static fromError(r,n,i){if(r===Z.UrlElicitationRequired&&i){let e=i;if(e.elicitations)return new md(e.elicitations,n)}return new t(r,n,i)}},md=class extends U{constructor(r,n=`URL elicitation${r.length>1?\"s\":\"\"} required`){super(Z.UrlElicitationRequired,n,{elicitations:r})}get elicitations(){return this.data?.elicitations??[]}};function Be(t){return t===\"completed\"||t===\"failed\"||t===\"cancelled\"}var ez=new Set(\"ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789\");function Od(t){let n=wf(t)?.method;if(!n)throw new Error(\"Schema is missing a method literal\");let i=If(n);if(typeof i!=\"string\")throw new Error(\"Schema method literal must be a string\");return i}function Dd(t,r){let n=No(t,r);if(!n.success)throw n.error;return n.data}var D$=6e4,Xi=class{constructor(r){this._options=r,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(qi,n=>{this._oncancel(n)}),this.setNotificationHandler(Fi,n=>{this._onprogress(n)}),this.setRequestHandler(Xt,n=>({})),this._taskStore=r?.taskStore,this._taskMessageQueue=r?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(Ji,async(n,i)=>{let e=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!e)throw new U(Z.InvalidParams,\"Failed to retrieve task: Task not found\");return{...e}}),this.setRequestHandler(Ki,async(n,i)=>{let e=async()=>{let o=n.params.taskId;if(this._taskMessageQueue){let s;for(;s=await this._taskMessageQueue.dequeue(o,i.sessionId);){if(s.type===\"response\"||s.type===\"error\"){let u=s.message,l=u.id,d=this._requestResolvers.get(l);if(d)if(this._requestResolvers.delete(l),s.type===\"response\")d(u);else{let g=u,h=new U(g.error.code,g.error.message,g.error.data);d(h)}else{let g=s.type===\"response\"?\"Response\":\"Error\";this._onerror(new Error(`${g} handler missing for request ${l}`))}continue}await this._transport?.send(s.message,{relatedRequestId:i.requestId})}}let a=await this._taskStore.getTask(o,i.sessionId);if(!a)throw new U(Z.InvalidParams,`Task not found: ${o}`);if(!Be(a.status))return await this._waitForTaskUpdate(o,i.signal),await e();if(Be(a.status)){let s=await this._taskStore.getTaskResult(o,i.sessionId);return this._clearTaskQueue(o),{...s,_meta:{...s._meta,[Ke]:{taskId:o}}}}return await e()};return await e()}),this.setRequestHandler(Bi,async(n,i)=>{try{let{tasks:e,nextCursor:o}=await this._taskStore.listTasks(n.params?.cursor,i.sessionId);return{tasks:e,nextCursor:o,_meta:{}}}catch(e){throw new U(Z.InvalidParams,`Failed to list tasks: ${e instanceof Error?e.message:String(e)}`)}}),this.setRequestHandler(Gi,async(n,i)=>{try{let e=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!e)throw new U(Z.InvalidParams,`Task not found: ${n.params.taskId}`);if(Be(e.status))throw new U(Z.InvalidParams,`Cannot cancel task in terminal status: ${e.status}`);await this._taskStore.updateTaskStatus(n.params.taskId,\"cancelled\",\"Client cancelled task execution.\",i.sessionId),this._clearTaskQueue(n.params.taskId);let o=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!o)throw new U(Z.InvalidParams,`Task not found after cancellation: ${n.params.taskId}`);return{_meta:{},...o}}catch(e){throw e instanceof U?e:new U(Z.InvalidRequest,`Failed to cancel task: ${e instanceof Error?e.message:String(e)}`)}}))}async _oncancel(r){if(!r.params.requestId)return;this._requestHandlerAbortControllers.get(r.params.requestId)?.abort(r.params.reason)}_setupTimeout(r,n,i,e,o=!1){this._timeoutInfo.set(r,{timeoutId:setTimeout(e,n),startTime:Date.now(),timeout:n,maxTotalTimeout:i,resetTimeoutOnProgress:o,onTimeout:e})}_resetTimeout(r){let n=this._timeoutInfo.get(r);if(!n)return!1;let i=Date.now()-n.startTime;if(n.maxTotalTimeout&&i>=n.maxTotalTimeout)throw this._timeoutInfo.delete(r),U.fromError(Z.RequestTimeout,\"Maximum total timeout exceeded\",{maxTotalTimeout:n.maxTotalTimeout,totalElapsed:i});return clearTimeout(n.timeoutId),n.timeoutId=setTimeout(n.onTimeout,n.timeout),!0}_cleanupTimeout(r){let n=this._timeoutInfo.get(r);n&&(clearTimeout(n.timeoutId),this._timeoutInfo.delete(r))}async connect(r){if(this._transport)throw new Error(\"Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.\");this._transport=r;let n=this.transport?.onclose;this._transport.onclose=()=>{n?.(),this._onclose()};let i=this.transport?.onerror;this._transport.onerror=o=>{i?.(o),this._onerror(o)};let e=this._transport?.onmessage;this._transport.onmessage=(o,a)=>{e?.(o,a),mn(o)||Jf(o)?this._onresponse(o):gd(o)?this._onrequest(o,a):Vf(o)?this._onnotification(o):this._onerror(new Error(`Unknown message type: ${JSON.stringify(o)}`))},await this._transport.start()}_onclose(){let r=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let i of this._timeoutInfo.values())clearTimeout(i.timeoutId);this._timeoutInfo.clear();for(let i of this._requestHandlerAbortControllers.values())i.abort();this._requestHandlerAbortControllers.clear();let n=U.fromError(Z.ConnectionClosed,\"Connection closed\");this._transport=void 0,this.onclose?.();for(let i of r.values())i(n)}_onerror(r){this.onerror?.(r)}_onnotification(r){let n=this._notificationHandlers.get(r.method)??this.fallbackNotificationHandler;n!==void 0&&Promise.resolve().then(()=>n(r)).catch(i=>this._onerror(new Error(`Uncaught error in notification handler: ${i}`)))}_onrequest(r,n){let i=this._requestHandlers.get(r.method)??this.fallbackRequestHandler,e=this._transport,o=r.params?._meta?.[Ke]?.taskId;if(i===void 0){let d={jsonrpc:\"2.0\",id:r.id,error:{code:Z.MethodNotFound,message:\"Method not found\"}};o&&this._taskMessageQueue?this._enqueueTaskMessage(o,{type:\"error\",message:d,timestamp:Date.now()},e?.sessionId).catch(g=>this._onerror(new Error(`Failed to enqueue error response: ${g}`))):e?.send(d).catch(g=>this._onerror(new Error(`Failed to send an error response: ${g}`)));return}let a=new AbortController;this._requestHandlerAbortControllers.set(r.id,a);let s=Mf(r.params)?r.params.task:void 0,u=this._taskStore?this.requestTaskStore(r,e?.sessionId):void 0,l={signal:a.signal,sessionId:e?.sessionId,_meta:r.params?._meta,sendNotification:async d=>{if(a.signal.aborted)return;let g={relatedRequestId:r.id};o&&(g.relatedTask={taskId:o}),await this.notification(d,g)},sendRequest:async(d,g,h)=>{if(a.signal.aborted)throw new U(Z.ConnectionClosed,\"Request was cancelled\");let v={...h,relatedRequestId:r.id};o&&!v.relatedTask&&(v.relatedTask={taskId:o});let I=v.relatedTask?.taskId??o;return I&&u&&await u.updateTaskStatus(I,\"input_required\"),await this.request(d,g,v)},authInfo:n?.authInfo,requestId:r.id,requestInfo:n?.requestInfo,taskId:o,taskStore:u,taskRequestedTtl:s?.ttl,closeSSEStream:n?.closeSSEStream,closeStandaloneSSEStream:n?.closeStandaloneSSEStream};Promise.resolve().then(()=>{s&&this.assertTaskHandlerCapability(r.method)}).then(()=>i(r,l)).then(async d=>{if(a.signal.aborted)return;let g={result:d,jsonrpc:\"2.0\",id:r.id};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:\"response\",message:g,timestamp:Date.now()},e?.sessionId):await e?.send(g)},async d=>{if(a.signal.aborted)return;let g={jsonrpc:\"2.0\",id:r.id,error:{code:Number.isSafeInteger(d.code)?d.code:Z.InternalError,message:d.message??\"Internal error\",...d.data!==void 0&&{data:d.data}}};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:\"error\",message:g,timestamp:Date.now()},e?.sessionId):await e?.send(g)}).catch(d=>this._onerror(new Error(`Failed to send response: ${d}`))).finally(()=>{this._requestHandlerAbortControllers.get(r.id)===a&&this._requestHandlerAbortControllers.delete(r.id)})}_onprogress(r){let{progressToken:n,...i}=r.params,e=Number(n),o=this._progressHandlers.get(e);if(!o){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(r)}`));return}let a=this._responseHandlers.get(e),s=this._timeoutInfo.get(e);if(s&&a&&s.resetTimeoutOnProgress)try{this._resetTimeout(e)}catch(u){this._responseHandlers.delete(e),this._progressHandlers.delete(e),this._cleanupTimeout(e),a(u);return}o(i)}_onresponse(r){let n=Number(r.id),i=this._requestResolvers.get(n);if(i){if(this._requestResolvers.delete(n),mn(r))i(r);else{let a=new U(r.error.code,r.error.message,r.error.data);i(a)}return}let e=this._responseHandlers.get(n);if(e===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(r)}`));return}this._responseHandlers.delete(n),this._cleanupTimeout(n);let o=!1;if(mn(r)&&r.result&&typeof r.result==\"object\"){let a=r.result;if(a.task&&typeof a.task==\"object\"){let s=a.task;typeof s.taskId==\"string\"&&(o=!0,this._taskProgressTokens.set(s.taskId,n))}}if(o||this._progressHandlers.delete(n),mn(r))e(r);else{let a=U.fromError(r.error.code,r.error.message,r.error.data);e(a)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(r,n,i){let{task:e}=i??{};if(!e){try{yield{type:\"result\",result:await this.request(r,n,i)}}catch(a){yield{type:\"error\",error:a instanceof U?a:new U(Z.InternalError,String(a))}}return}let o;try{let a=await this.request(r,Vi,i);if(a.task)o=a.task.taskId,yield{type:\"taskCreated\",task:a.task};else throw new U(Z.InternalError,\"Task creation did not return a task\");for(;;){let s=await this.getTask({taskId:o},i);if(yield{type:\"taskStatus\",task:s},Be(s.status)){s.status===\"completed\"?yield{type:\"result\",result:await this.getTaskResult({taskId:o},n,i)}:s.status===\"failed\"?yield{type:\"error\",error:new U(Z.InternalError,`Task ${o} failed`)}:s.status===\"cancelled\"&&(yield{type:\"error\",error:new U(Z.InternalError,`Task ${o} was cancelled`)});return}if(s.status===\"input_required\"){yield{type:\"result\",result:await this.getTaskResult({taskId:o},n,i)};return}let u=s.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(l=>setTimeout(l,u)),i?.signal?.throwIfAborted()}}catch(a){yield{type:\"error\",error:a instanceof U?a:new U(Z.InternalError,String(a))}}}request(r,n,i){let{relatedRequestId:e,resumptionToken:o,onresumptiontoken:a,task:s,relatedTask:u}=i??{};return new Promise((l,d)=>{let g=Q=>{d(Q)};if(!this._transport){g(new Error(\"Not connected\"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(r.method),s&&this.assertTaskCapability(r.method)}catch(Q){g(Q);return}i?.signal?.throwIfAborted();let h=this._requestMessageId++,v={...r,jsonrpc:\"2.0\",id:h};i?.onprogress&&(this._progressHandlers.set(h,i.onprogress),v.params={...r.params,_meta:{...r.params?._meta||{},progressToken:h}}),s&&(v.params={...v.params,task:s}),u&&(v.params={...v.params,_meta:{...v.params?._meta||{},[Ke]:u}});let I=Q=>{this._responseHandlers.delete(h),this._progressHandlers.delete(h),this._cleanupTimeout(h),this._transport?.send({jsonrpc:\"2.0\",method:\"notifications/cancelled\",params:{requestId:h,reason:String(Q)}},{relatedRequestId:e,resumptionToken:o,onresumptiontoken:a}).catch(q=>this._onerror(new Error(`Failed to send cancellation: ${q}`)));let K=Q instanceof U?Q:new U(Z.RequestTimeout,String(Q));d(K)};this._responseHandlers.set(h,Q=>{if(!i?.signal?.aborted){if(Q instanceof Error)return d(Q);try{let K=No(n,Q.result);K.success?l(K.data):d(K.error)}catch(K){d(K)}}}),i?.signal?.addEventListener(\"abort\",()=>{I(i?.signal?.reason)});let te=i?.timeout??D$,H=()=>I(U.fromError(Z.RequestTimeout,\"Request timed out\",{timeout:te}));this._setupTimeout(h,te,i?.maxTotalTimeout,H,i?.resetTimeoutOnProgress??!1);let xt=u?.taskId;if(xt){let Q=K=>{let q=this._responseHandlers.get(h);q?q(K):this._onerror(new Error(`Response handler missing for side-channeled request ${h}`))};this._requestResolvers.set(h,Q),this._enqueueTaskMessage(xt,{type:\"request\",message:v,timestamp:Date.now()}).catch(K=>{this._cleanupTimeout(h),d(K)})}else this._transport.send(v,{relatedRequestId:e,resumptionToken:o,onresumptiontoken:a}).catch(Q=>{this._cleanupTimeout(h),d(Q)})})}async getTask(r,n){return this.request({method:\"tasks/get\",params:r},Hi,n)}async getTaskResult(r,n,i){return this.request({method:\"tasks/result\",params:r},n,i)}async listTasks(r,n){return this.request({method:\"tasks/list\",params:r},Wi,n)}async cancelTask(r,n){return this.request({method:\"tasks/cancel\",params:r},Kf,n)}async notification(r,n){if(!this._transport)throw new Error(\"Not connected\");this.assertNotificationCapability(r.method);let i=n?.relatedTask?.taskId;if(i){let s={...r,jsonrpc:\"2.0\",params:{...r.params,_meta:{...r.params?._meta||{},[Ke]:n.relatedTask}}};await this._enqueueTaskMessage(i,{type:\"notification\",message:s,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(r.method)&&!r.params&&!n?.relatedRequestId&&!n?.relatedTask){if(this._pendingDebouncedNotifications.has(r.method))return;this._pendingDebouncedNotifications.add(r.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(r.method),!this._transport)return;let s={...r,jsonrpc:\"2.0\"};n?.relatedTask&&(s={...s,params:{...s.params,_meta:{...s.params?._meta||{},[Ke]:n.relatedTask}}}),this._transport?.send(s,n).catch(u=>this._onerror(u))});return}let a={...r,jsonrpc:\"2.0\"};n?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[Ke]:n.relatedTask}}}),await this._transport.send(a,n)}setRequestHandler(r,n){let i=Od(r);this.assertRequestHandlerCapability(i),this._requestHandlers.set(i,(e,o)=>{let a=Dd(r,e);return Promise.resolve(n(a,o))})}removeRequestHandler(r){this._requestHandlers.delete(r)}assertCanSetRequestHandler(r){if(this._requestHandlers.has(r))throw new Error(`A request handler for ${r} already exists, which would be overridden`)}setNotificationHandler(r,n){let i=Od(r);this._notificationHandlers.set(i,e=>{let o=Dd(r,e);return Promise.resolve(n(o))})}removeNotificationHandler(r){this._notificationHandlers.delete(r)}_cleanupTaskProgressHandler(r){let n=this._taskProgressTokens.get(r);n!==void 0&&(this._progressHandlers.delete(n),this._taskProgressTokens.delete(r))}async _enqueueTaskMessage(r,n,i){if(!this._taskStore||!this._taskMessageQueue)throw new Error(\"Cannot enqueue task message: taskStore and taskMessageQueue are not configured\");let e=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(r,n,i,e)}async _clearTaskQueue(r,n){if(this._taskMessageQueue){let i=await this._taskMessageQueue.dequeueAll(r,n);for(let e of i)if(e.type===\"request\"&&gd(e.message)){let o=e.message.id,a=this._requestResolvers.get(o);a?(a(new U(Z.InternalError,\"Task cancelled or completed\")),this._requestResolvers.delete(o)):this._onerror(new Error(`Resolver missing for request ${o} during task ${r} cleanup`))}}}async _waitForTaskUpdate(r,n){let i=this._options?.defaultTaskPollInterval??1e3;try{let e=await this._taskStore?.getTask(r);e?.pollInterval&&(i=e.pollInterval)}catch{}return new Promise((e,o)=>{if(n.aborted){o(new U(Z.InvalidRequest,\"Request cancelled\"));return}let a=setTimeout(e,i);n.addEventListener(\"abort\",()=>{clearTimeout(a),o(new U(Z.InvalidRequest,\"Request cancelled\"))},{once:!0})})}requestTaskStore(r,n){let i=this._taskStore;if(!i)throw new Error(\"No task store configured\");return{createTask:async e=>{if(!r)throw new Error(\"No request provided\");return await i.createTask(e,r.id,{method:r.method,params:r.params},n)},getTask:async e=>{let o=await i.getTask(e,n);if(!o)throw new U(Z.InvalidParams,\"Failed to retrieve task: Task not found\");return o},storeTaskResult:async(e,o,a)=>{await i.storeTaskResult(e,o,a,n);let s=await i.getTask(e,n);if(s){let u=$n.parse({method:\"notifications/tasks/status\",params:s});await this.notification(u),Be(s.status)&&this._cleanupTaskProgressHandler(e)}},getTaskResult:e=>i.getTaskResult(e,n),updateTaskStatus:async(e,o,a)=>{let s=await i.getTask(e,n);if(!s)throw new U(Z.InvalidParams,`Task \"${e}\" not found - it may have been cleaned up`);if(Be(s.status))throw new U(Z.InvalidParams,`Cannot update task \"${e}\" from terminal status \"${s.status}\" to \"${o}\". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await i.updateTaskStatus(e,o,a,n);let u=await i.getTask(e,n);if(u){let l=$n.parse({method:\"notifications/tasks/status\",params:u});await this.notification(l),Be(u.status)&&this._cleanupTaskProgressHandler(e)}},listTasks:e=>i.listTasks(e,n)}}};function Yf(t){return t!==null&&typeof t==\"object\"&&!Array.isArray(t)}function eg(t,r){let n={...t};for(let i in r){let e=i,o=r[e];if(o===void 0)continue;let a=n[e];Yf(a)&&Yf(o)?n[e]={...a,...o}:n[e]=o}return n}dn();dn();var Yw=(t=>typeof We<\"u\"?We:typeof Proxy<\"u\"?new Proxy(t,{get:(r,n)=>(typeof We<\"u\"?We:r)[n]}):t)(function(t){if(typeof We<\"u\")return We.apply(this,arguments);throw Error('Dynamic require of \"'+t+'\" is not supported')}),Ud=class extends Xi{_registeredMethods=new Set;_eventSlots=new Map;onEventDispatch(r,n){}_ensureEventSlot(r){let n=this._eventSlots.get(r);if(!n){let i=this.eventSchemas[r];if(!i)throw Error(`Unknown event: ${String(r)}`);n={listeners:[]},this._eventSlots.set(r,n);let e=i.shape.method.value;this._registeredMethods.add(e);let o=n;super.setNotificationHandler(i,a=>{let s=a.params;this.onEventDispatch(r,s),o.onHandler?.(s);for(let u of[...o.listeners])u(s)})}return n}setEventHandler(r,n){let i=this._ensureEventSlot(r);i.onHandler&&n&&console.warn(`[MCP Apps] on${String(r)} handler replaced. Use addEventListener(\"${String(r)}\", \\u2026) to add multiple listeners without replacing.`),i.onHandler=n}getEventHandler(r){return this._eventSlots.get(r)?.onHandler}addEventListener(r,n){this._ensureEventSlot(r).listeners.push(n)}removeEventListener(r,n){let i=this._eventSlots.get(r);if(!i)return;let e=i.listeners.indexOf(n);e!==-1&&i.listeners.splice(e,1)}setRequestHandler=(r,n)=>{this._assertMethodNotRegistered(r,\"setRequestHandler\"),super.setRequestHandler(r,n)};setNotificationHandler=(r,n)=>{this._assertMethodNotRegistered(r,\"setNotificationHandler\"),super.setNotificationHandler(r,n)};warnIfRequestHandlerReplaced(r,n,i){n&&i&&console.warn(`[MCP Apps] ${r} handler replaced. Previous handler will no longer be called.`)}replaceRequestHandler=(r,n)=>{let i=r.shape.method.value;this._registeredMethods.add(i),super.setRequestHandler(r,n)};_assertMethodNotRegistered(r,n){let i=r.shape.method.value;if(this._registeredMethods.has(i))throw Error(`Handler for \"${i}\" already registered (via ${n}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(i)}},U$=\"2026-01-26\";var E$=\"ui/notifications/tool-input-partial\";var Ed=class{eventTarget;eventSource;messageListener;constructor(r=window.parent,n){this.eventTarget=r,this.eventSource=n,this.messageListener=i=>{if(n&&i.source!==this.eventSource){console.debug(\"Ignoring message from unknown source\",i);return}let e=Hf.safeParse(i.data);e.success?(console.debug(\"Parsed message\",e.data),this.onmessage?.(e.data)):i.data?.jsonrpc!==\"2.0\"?console.debug(\"Ignoring non-JSON-RPC message\",e.error.message,i):(console.error(\"Failed to parse message\",e.error.message,i),this.onerror?.(Error(\"Invalid JSON-RPC message received: \"+e.error.message)))}}async start(){window.addEventListener(\"message\",this.messageListener)}async send(r,n){r.method!==E$&&console.debug(\"Sending message\",r),this.eventTarget.postMessage(r,\"*\")}async close(){window.removeEventListener(\"message\",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},N$=c.union([c.literal(\"light\"),c.literal(\"dark\")]).describe(\"Color theme preference for the host environment.\"),xn=c.union([c.literal(\"inline\"),c.literal(\"fullscreen\"),c.literal(\"pip\")]).describe(\"Display mode for UI presentation.\"),Z$=c.union([c.literal(\"--color-background-primary\"),c.literal(\"--color-background-secondary\"),c.literal(\"--color-background-tertiary\"),c.literal(\"--color-background-inverse\"),c.literal(\"--color-background-ghost\"),c.literal(\"--color-background-info\"),c.literal(\"--color-background-danger\"),c.literal(\"--color-background-success\"),c.literal(\"--color-background-warning\"),c.literal(\"--color-background-disabled\"),c.literal(\"--color-text-primary\"),c.literal(\"--color-text-secondary\"),c.literal(\"--color-text-tertiary\"),c.literal(\"--color-text-inverse\"),c.literal(\"--color-text-ghost\"),c.literal(\"--color-text-info\"),c.literal(\"--color-text-danger\"),c.literal(\"--color-text-success\"),c.literal(\"--color-text-warning\"),c.literal(\"--color-text-disabled\"),c.literal(\"--color-border-primary\"),c.literal(\"--color-border-secondary\"),c.literal(\"--color-border-tertiary\"),c.literal(\"--color-border-inverse\"),c.literal(\"--color-border-ghost\"),c.literal(\"--color-border-info\"),c.literal(\"--color-border-danger\"),c.literal(\"--color-border-success\"),c.literal(\"--color-border-warning\"),c.literal(\"--color-border-disabled\"),c.literal(\"--color-ring-primary\"),c.literal(\"--color-ring-secondary\"),c.literal(\"--color-ring-inverse\"),c.literal(\"--color-ring-info\"),c.literal(\"--color-ring-danger\"),c.literal(\"--color-ring-success\"),c.literal(\"--color-ring-warning\"),c.literal(\"--font-sans\"),c.literal(\"--font-mono\"),c.literal(\"--font-weight-normal\"),c.literal(\"--font-weight-medium\"),c.literal(\"--font-weight-semibold\"),c.literal(\"--font-weight-bold\"),c.literal(\"--font-text-xs-size\"),c.literal(\"--font-text-sm-size\"),c.literal(\"--font-text-md-size\"),c.literal(\"--font-text-lg-size\"),c.literal(\"--font-heading-xs-size\"),c.literal(\"--font-heading-sm-size\"),c.literal(\"--font-heading-md-size\"),c.literal(\"--font-heading-lg-size\"),c.literal(\"--font-heading-xl-size\"),c.literal(\"--font-heading-2xl-size\"),c.literal(\"--font-heading-3xl-size\"),c.literal(\"--font-text-xs-line-height\"),c.literal(\"--font-text-sm-line-height\"),c.literal(\"--font-text-md-line-height\"),c.literal(\"--font-text-lg-line-height\"),c.literal(\"--font-heading-xs-line-height\"),c.literal(\"--font-heading-sm-line-height\"),c.literal(\"--font-heading-md-line-height\"),c.literal(\"--font-heading-lg-line-height\"),c.literal(\"--font-heading-xl-line-height\"),c.literal(\"--font-heading-2xl-line-height\"),c.literal(\"--font-heading-3xl-line-height\"),c.literal(\"--border-radius-xs\"),c.literal(\"--border-radius-sm\"),c.literal(\"--border-radius-md\"),c.literal(\"--border-radius-lg\"),c.literal(\"--border-radius-xl\"),c.literal(\"--border-radius-full\"),c.literal(\"--border-width-regular\"),c.literal(\"--shadow-hairline\"),c.literal(\"--shadow-sm\"),c.literal(\"--shadow-md\"),c.literal(\"--shadow-lg\")]).describe(\"CSS variable keys available to MCP apps for theming.\"),R$=c.record(Z$.describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),c.union([c.string(),c.undefined()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),aI=c.object({method:c.literal(\"ui/open-link\"),params:c.object({url:c.string().describe(\"URL to open in the host's browser\")})}),A$=c.object({isError:c.boolean().optional().describe(\"True if the host failed to open the URL (e.g., due to security policy).\")}).passthrough(),C$=c.object({isError:c.boolean().optional().describe(\"True if the download failed (e.g., user cancelled or host denied).\")}).passthrough(),L$=c.object({isError:c.boolean().optional().describe(\"True if the host rejected or failed to deliver the message.\")}).passthrough(),sI=c.object({method:c.literal(\"ui/notifications/sandbox-proxy-ready\"),params:c.object({})}),Nd=c.object({connectDomains:c.array(c.string()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted \\u2192 no network connections (secure default)`),resourceDomains:c.array(c.string()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted \\u2192 no network resources (secure default)\"),frameDomains:c.array(c.string()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted \\u2192 no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:c.array(c.string()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted \\u2192 only same origin allowed (`base-uri 'self'`)\")}),Zd=c.object({camera:c.object({}).optional().describe(\"Request camera access.\\n\\nMaps to Permission Policy `camera` feature.\"),microphone:c.object({}).optional().describe(\"Request microphone access.\\n\\nMaps to Permission Policy `microphone` feature.\"),geolocation:c.object({}).optional().describe(\"Request geolocation access.\\n\\nMaps to Permission Policy `geolocation` feature.\"),clipboardWrite:c.object({}).optional().describe(\"Request clipboard write access.\\n\\nMaps to Permission Policy `clipboard-write` feature.\")}),cI=c.object({method:c.literal(\"ui/notifications/size-changed\"),params:c.object({width:c.number().optional().describe(\"New width in pixels.\"),height:c.number().optional().describe(\"New height in pixels.\")})}),M$=c.object({method:c.literal(\"ui/notifications/tool-input\"),params:c.object({arguments:c.record(c.string(),c.unknown().describe(\"Complete tool call arguments as key-value pairs.\")).optional().describe(\"Complete tool call arguments as key-value pairs.\")})}),q$=c.object({method:c.literal(\"ui/notifications/tool-input-partial\"),params:c.object({arguments:c.record(c.string(),c.unknown().describe(\"Partial tool call arguments (incomplete, may change).\")).optional().describe(\"Partial tool call arguments (incomplete, may change).\")})}),F$=c.object({method:c.literal(\"ui/notifications/tool-cancelled\"),params:c.object({reason:c.string().optional().describe('Optional reason for the cancellation (e.g., \"user action\", \"timeout\").')})}),V$=c.object({fonts:c.string().optional()}),J$=c.object({variables:R$.optional().describe(\"CSS variables for theming the app.\"),css:V$.optional().describe(\"CSS blocks that apps can inject.\")}),H$=c.object({method:c.literal(\"ui/resource-teardown\"),params:c.object({})}),uI=c.record(c.string(),c.unknown()),tg=c.object({text:c.object({}).optional().describe(\"Host supports text content blocks.\"),image:c.object({}).optional().describe(\"Host supports image content blocks.\"),audio:c.object({}).optional().describe(\"Host supports audio content blocks.\"),resource:c.object({}).optional().describe(\"Host supports resource content blocks.\"),resourceLink:c.object({}).optional().describe(\"Host supports resource link content blocks.\"),structuredContent:c.object({}).optional().describe(\"Host supports structured content.\")}),lI=c.object({method:c.literal(\"ui/notifications/request-teardown\"),params:c.object({}).optional()}),K$=c.object({experimental:c.record(c.string(),c.record(c.string(),c.any()).describe(\"Experimental features keyed by identifier.\")).optional().describe(\"Experimental features keyed by identifier.\"),openLinks:c.object({}).optional().describe(\"Host supports opening external URLs.\"),downloadFile:c.object({}).optional().describe(\"Host supports file downloads via ui/download-file.\"),serverTools:c.object({listChanged:c.boolean().optional().describe(\"Host supports tools/list_changed notifications.\")}).optional().describe(\"Host can proxy tool calls to the MCP server.\"),serverResources:c.object({listChanged:c.boolean().optional().describe(\"Host supports resources/list_changed notifications.\")}).optional().describe(\"Host can proxy resource reads to the MCP server.\"),logging:c.object({}).optional().describe(\"Host accepts log messages.\"),sandbox:c.object({permissions:Zd.optional().describe(\"Permissions granted by the host (camera, microphone, geolocation).\"),csp:Nd.optional().describe(\"CSP domains approved by the host.\")}).optional().describe(\"Sandbox configuration applied by the host.\"),updateModelContext:tg.optional().describe(\"Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.\"),message:tg.optional().describe(\"Host supports receiving content messages (ui/message) from the view.\"),sampling:c.object({tools:c.object({}).optional().describe(\"Host supports tool use via `tools` and `toolChoice` parameters.\")}).optional().describe(\"Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.\")}),B$=c.object({experimental:c.record(c.string(),c.record(c.string(),c.any()).describe(\"Experimental features keyed by identifier.\")).optional().describe(\"Experimental features keyed by identifier.\"),tools:c.object({listChanged:c.boolean().optional().describe(\"App supports tools/list_changed notifications.\")}).optional().describe(\"App exposes MCP-style tools that the host can call.\"),availableDisplayModes:c.array(xn).optional().describe(\"Display modes the app supports.\")}),dI=c.object({method:c.literal(\"ui/notifications/initialized\"),params:c.object({}).optional()}),pI=c.object({csp:Nd.optional().describe(\"Content Security Policy configuration for UI resources.\"),permissions:Zd.optional().describe(\"Sandbox permissions requested by the UI resource.\"),domain:c.string().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:c.boolean().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),mI=c.object({method:c.literal(\"ui/request-display-mode\"),params:c.object({mode:xn.describe(\"The display mode being requested.\")})}),W$=c.object({mode:xn.describe(\"The display mode that was actually set. May differ from requested if not supported.\")}).passthrough(),G$=c.union([c.literal(\"model\"),c.literal(\"app\")]).describe(\"Tool visibility scope - who can access the tool.\"),fI=c.object({resourceUri:c.string().optional(),visibility:c.array(G$).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`),csp:c.never().optional(),permissions:c.never().optional()}),gI=c.object({mimeTypes:c.array(c.string()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),hI=c.object({method:c.literal(\"ui/download-file\"),params:c.object({contents:c.array(c.union([Sd,wd])).describe(\"Resource contents to download \\u2014 embedded (inline data) or linked (host fetches). Uses standard MCP resource types.\")})}),vI=c.object({method:c.literal(\"ui/message\"),params:c.object({role:c.literal(\"user\").describe('Message role, currently only \"user\" is supported.'),content:c.array(er).describe(\"Message content blocks (text, image, etc.).\")})}),bI=c.object({method:c.literal(\"ui/notifications/sandbox-resource-ready\"),params:c.object({html:c.string().describe(\"HTML content to load into the inner iframe.\"),sandbox:c.string().optional().describe(\"Optional override for the inner iframe's sandbox attribute.\"),csp:Nd.optional().describe(\"CSP configuration from resource metadata.\"),permissions:Zd.optional().describe(\"Sandbox permissions from resource metadata.\")})}),Q$=c.object({method:c.literal(\"ui/notifications/tool-result\"),params:tr.describe(\"Standard MCP tool execution result.\")}),og=c.object({toolInfo:c.object({id:Qt.optional().describe(\"JSON-RPC id of the tools/call request.\"),tool:Qi.describe(\"Tool definition including name, inputSchema, etc.\")}).optional().describe(\"Metadata of the tool call that instantiated this App.\"),theme:N$.optional().describe(\"Current color theme preference.\"),styles:J$.optional().describe(\"Style configuration for theming the app.\"),displayMode:xn.optional().describe(\"How the UI is currently displayed.\"),availableDisplayModes:c.array(xn).optional().describe(\"Display modes the host supports.\"),containerDimensions:c.union([c.object({height:c.number().describe(\"Fixed container height in pixels.\")}),c.object({maxHeight:c.union([c.number(),c.undefined()]).optional().describe(\"Maximum container height in pixels.\")})]).and(c.union([c.object({width:c.number().describe(\"Fixed container width in pixels.\")}),c.object({maxWidth:c.union([c.number(),c.undefined()]).optional().describe(\"Maximum container width in pixels.\")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:c.string().optional().describe(\"User's language and region preference in BCP 47 format.\"),timeZone:c.string().optional().describe(\"User's timezone in IANA format.\"),userAgent:c.string().optional().describe(\"Host application identifier.\"),platform:c.union([c.literal(\"web\"),c.literal(\"desktop\"),c.literal(\"mobile\")]).optional().describe(\"Platform type for responsive design decisions.\"),deviceCapabilities:c.object({touch:c.boolean().optional().describe(\"Whether the device supports touch input.\"),hover:c.boolean().optional().describe(\"Whether the device supports hover interactions.\")}).optional().describe(\"Device input capabilities.\"),safeAreaInsets:c.object({top:c.number().describe(\"Top safe area inset in pixels.\"),right:c.number().describe(\"Right safe area inset in pixels.\"),bottom:c.number().describe(\"Bottom safe area inset in pixels.\"),left:c.number().describe(\"Left safe area inset in pixels.\")}).optional().describe(\"Mobile safe area boundaries in pixels.\")}).passthrough(),X$=c.object({method:c.literal(\"ui/notifications/host-context-changed\"),params:og.describe(\"Partial context update containing only changed fields.\")}),$I=c.object({method:c.literal(\"ui/update-model-context\"),params:c.object({content:c.array(er).optional().describe(\"Context content blocks (text, image, etc.).\"),structuredContent:c.record(c.string(),c.unknown().describe(\"Structured content for machine-readable context data.\")).optional().describe(\"Structured content for machine-readable context data.\")})}),yI=c.object({method:c.literal(\"ui/initialize\"),params:c.object({appInfo:gn.describe(\"App identification (name and version).\"),appCapabilities:B$.describe(\"Features and capabilities this app provides.\"),protocolVersion:c.string().describe(\"Protocol version this app supports.\")})}),Y$=c.object({protocolVersion:c.string().describe('Negotiated protocol version string (e.g., \"2025-11-21\").'),hostInfo:gn.describe(\"Host application identification and version.\"),hostCapabilities:K$.describe(\"Features and capabilities provided by the host.\"),hostContext:og.describe(\"Rich context about the host environment.\")}).passthrough(),ey={target:\"draft-2020-12\"};async function rg(t,r){let n=t[\"~standard\"];if(n.jsonSchema)return n.jsonSchema[r](ey);if(n.vendor===\"zod\"){let{z:i}=await Promise.resolve().then(()=>(dn(),pd));return i.toJSONSchema(t,{io:r})}throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function ng(t,r,n=\"\"){let i=await t[\"~standard\"].validate(r);if(i.issues){let e=i.issues.map(o=>{let a=o.path?.map(s=>typeof s==\"object\"?s.key:s).join(\".\");return a?`${a}: ${o.message}`:o.message}).join(\"; \");throw Error(n+e)}return i.value}var Yi=class t extends Ud{_appInfo;_capabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_assertInitialized(r){if(this._initializedSent)return;let n=`[ext-apps] App.${r}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(n);console.warn(`${n}. This will throw in a future release.`)}eventSchemas={toolinput:M$,toolinputpartial:q$,toolresult:Q$,toolcancelled:F$,hostcontextchanged:X$};static ONE_SHOT_EVENTS=new Set([\"toolinput\",\"toolinputpartial\",\"toolresult\",\"toolcancelled\"]);_everHadListener=new Set;_assertHandlerTiming(r){if(!t.ONE_SHOT_EVENTS.has(r)||this._everHadListener.has(r)||(this._everHadListener.add(r),!this._initializedSent))return;let n=`[ext-apps] \"${String(r)}\" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(n);console.warn(n)}setEventHandler(r,n){n&&this._assertHandlerTiming(r),super.setEventHandler(r,n)}addEventListener(r,n){this._assertHandlerTiming(r),super.addEventListener(r,n)}onEventDispatch(r,n){r===\"hostcontextchanged\"&&(this._hostContext={...this._hostContext,...n})}constructor(r,n={},i={autoResize:!0}){super(i),this._appInfo=r,this._capabilities=n,this.options=i,i.allowUnsafeEval||c.config({jitless:!0}),this.setRequestHandler(Xt,e=>(console.log(\"Received ping:\",e.params),{})),this.setEventHandler(\"hostcontextchanged\",void 0)}registerCapabilities(r){if(this.transport)throw Error(\"Cannot register capabilities after transport is established\");this._capabilities=eg(this._capabilities,r)}registerTool(r,n,i){if(this._registeredTools[r])throw Error(`Tool ${r} is already registered`);let e=this,o=()=>{e._initializedSent&&e._capabilities.tools?.listChanged&&e.sendToolListChanged()},a=n.inputSchema!==void 0,s={title:n.title,description:n.description,inputSchema:n.inputSchema,outputSchema:n.outputSchema,annotations:n.annotations,_meta:n._meta,enabled:!0,enable(){this.enabled=!0,o()},disable(){this.enabled=!1,o()},update(u){Object.assign(this,u),o()},remove(){e._registeredTools[r]===s&&(delete e._registeredTools[r],o())},handler:async(u,l)=>{if(!s.enabled)throw Error(`Tool ${r} is disabled`);let d;if(a){let g=s.inputSchema,h=g?await ng(g,u??{},`Invalid input for tool ${r}: `):u??{};d=await i(h,l)}else d=await i(l);return s.outputSchema&&!d.isError&&(d.structuredContent=await ng(s.outputSchema,d.structuredContent,`Invalid output for tool ${r}: `)),d}};return this._registeredTools[r]=s,!this._capabilities.tools&&!this.transport&&this.registerCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),o(),s}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(r,n)=>{let i=this._registeredTools[r.name];if(!i)throw Error(`Tool ${r.name} not found`);return i.handler(r.arguments,n)},this.onlisttools=async(r,n)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([i,e])=>e.enabled).map(async([i,e])=>{let o={name:i,title:e.title,description:e.description,inputSchema:e.inputSchema?await rg(e.inputSchema,\"input\"):{type:\"object\",properties:{}}};return e.outputSchema&&(o.outputSchema=await rg(e.outputSchema,\"output\")),e.annotations&&(o.annotations=e.annotations),e._meta&&(o._meta=e._meta),o}))}))}async sendToolListChanged(r={}){this._assertInitialized(\"sendToolListChanged\"),await this.notification({method:\"notifications/tools/list_changed\",params:r})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler(\"toolinput\")}set ontoolinput(r){this.setEventHandler(\"toolinput\",r)}get ontoolinputpartial(){return this.getEventHandler(\"toolinputpartial\")}set ontoolinputpartial(r){this.setEventHandler(\"toolinputpartial\",r)}get ontoolresult(){return this.getEventHandler(\"toolresult\")}set ontoolresult(r){this.setEventHandler(\"toolresult\",r)}get ontoolcancelled(){return this.getEventHandler(\"toolcancelled\")}set ontoolcancelled(r){this.setEventHandler(\"toolcancelled\",r)}get onhostcontextchanged(){return this.getEventHandler(\"hostcontextchanged\")}set onhostcontextchanged(r){this.setEventHandler(\"hostcontextchanged\",r)}_onteardown;get onteardown(){return this._onteardown}set onteardown(r){this.warnIfRequestHandlerReplaced(\"onteardown\",this._onteardown,r),this._onteardown=r,this.replaceRequestHandler(H$,(n,i)=>{if(!this._onteardown)throw Error(\"No onteardown handler set\");return this._onteardown(n.params,i)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(r){this.warnIfRequestHandlerReplaced(\"oncalltool\",this._oncalltool,r),this._oncalltool=r,this.replaceRequestHandler(Pd,(n,i)=>{if(!this._oncalltool)throw Error(\"No oncalltool handler set\");return this._oncalltool(n.params,i)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(r){this.warnIfRequestHandlerReplaced(\"onlisttools\",this._onlisttools,r),this._onlisttools=r,this.replaceRequestHandler(Id,(n,i)=>{if(!this._onlisttools)throw Error(\"No onlisttools handler set\");return this._onlisttools(n.params,i)})}assertCapabilityForMethod(r){switch(r){case\"sampling/createMessage\":if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${r})`);break}}assertRequestHandlerCapability(r){switch(r){case\"tools/call\":case\"tools/list\":if(!this._capabilities.tools)throw Error(`Client does not support tool capability (required for ${r})`);return;case\"ping\":case\"ui/resource-teardown\":return;default:throw Error(`No handler for method ${r} registered`)}}assertNotificationCapability(r){}assertTaskCapability(r){throw Error(\"Tasks are not supported in MCP Apps\")}assertTaskHandlerCapability(r){throw Error(\"Task handlers are not supported in MCP Apps\")}async callServerTool(r,n){if(this._assertInitialized(\"callServerTool\"),typeof r==\"string\")throw Error(`callServerTool() expects an object as its first argument, but received a string (\"${r}\"). Did you mean: callServerTool({ name: \"${r}\", arguments: { ... } })?`);return await this.request({method:\"tools/call\",params:r},tr,{onprogress:()=>{},resetTimeoutOnProgress:!0,...n})}async readServerResource(r,n){return this._assertInitialized(\"readServerResource\"),await this.request({method:\"resources/read\",params:r},_d,n)}async listServerResources(r,n){return this._assertInitialized(\"listServerResources\"),await this.request({method:\"resources/list\",params:r},$d,n)}async createSamplingMessage(r,n){this._assertInitialized(\"createSamplingMessage\");let i=r.tools?Td:jd;return await this.request({method:\"sampling/createMessage\",params:r},i,n)}sendMessage(r,n){return this._assertInitialized(\"sendMessage\"),this.request({method:\"ui/message\",params:r},L$,n)}sendLog(r){return this.notification({method:\"notifications/message\",params:r})}updateModelContext(r,n){return this._assertInitialized(\"updateModelContext\"),this.request({method:\"ui/update-model-context\",params:r},Mi,n)}openLink(r,n){return this._assertInitialized(\"openLink\"),this.request({method:\"ui/open-link\",params:r},A$,n)}sendOpenLink=this.openLink;downloadFile(r,n){return this._assertInitialized(\"downloadFile\"),this.request({method:\"ui/download-file\",params:r},C$,n)}requestTeardown(r={}){return this.notification({method:\"ui/notifications/request-teardown\",params:r})}requestDisplayMode(r,n){return this._assertInitialized(\"requestDisplayMode\"),this.request({method:\"ui/request-display-mode\",params:r},W$,n)}sendSizeChanged(r){return this.notification({method:\"ui/notifications/size-changed\",params:r})}setupSizeChangedNotifications(){let r=!1,n=0,i=0,e=()=>{r||(r=!0,requestAnimationFrame(()=>{r=!1;let a=document.documentElement,s=a.style.height;a.style.height=\"max-content\";let u=Math.ceil(a.getBoundingClientRect().height);a.style.height=s;let l=Math.ceil(window.innerWidth);(l!==n||u!==i)&&(n=l,i=u,this.sendSizeChanged({width:l,height:u}))}))};e();let o=new ResizeObserver(e);return o.observe(document.documentElement),o.observe(document.body),()=>o.disconnect()}async connect(r=new Ed(window.parent,window.parent),n){if(this.transport)throw Error(\"App is already connected. Call close() before connecting again.\");this._initializedSent=!1,await super.connect(r);try{let i=await this.request({method:\"ui/initialize\",params:{appCapabilities:this._capabilities,appInfo:this._appInfo,protocolVersion:U$}},Y$,n);if(i===void 0)throw Error(`Server sent invalid initialize result: ${i}`);this._hostCapabilities=i.hostCapabilities,this._hostInfo=i.hostInfo,this._hostContext=i.hostContext,await this.notification({method:\"ui/notifications/initialized\"}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(i){throw this.close(),i}}};function V(t){return t.replace(/&/g,\"&\").replace(/</g,\"<\").replace(/>/g,\">\").replace(/\"/g,\""\")}var ig=`\n:root {\n --bg: #ffffff;\n --fg: #1a1a1a;\n --muted: #5f6b7a;\n --line: #e3e7ec;\n --accent: #0b6bcb;\n --surface: #f7f9fb;\n --code-bg: #f2f4f7;\n color-scheme: light dark;\n}\n\n@media (prefers-color-scheme: dark) {\n :root {\n --bg: #16191d;\n --fg: #e8eaed;\n --muted: #9aa4b2;\n --line: #2a2f36;\n --accent: #6fb3ff;\n --surface: #1d2126;\n --code-bg: #22272e;\n }\n}\n\n* { box-sizing: border-box; }\n\nbody {\n margin: 0;\n padding: 16px;\n background: var(--bg);\n color: var(--fg);\n font: 15px/1.55 ui-sans-serif, -apple-system, \"Segoe UI\", Roboto, sans-serif;\n}\n\n[aria-busy=\"true\"] { opacity: 0.55; }\n\nh1 { font-size: 1.35rem; margin: 0 0 4px; line-height: 1.3; }\nh2 { font-size: 1.05rem; margin: 1.2em 0 0.4em; }\nh3 { font-size: 0.98rem; margin: 1em 0 0.3em; }\n\np { margin: 0.5em 0; }\n\nheader { margin-bottom: 14px; }\n\n.muted { color: var(--muted); font-size: 0.87rem; margin: 0; }\n.note { margin-top: 14px; font-style: italic; }\n\n.crumbs { color: var(--muted); font-size: 0.78rem; margin-bottom: 4px; }\n\n.chip {\n display: inline-block;\n padding: 1px 7px;\n margin-right: 5px;\n border: 1px solid var(--line);\n border-radius: 999px;\n background: var(--surface);\n font-size: 0.75rem;\n color: var(--muted);\n white-space: nowrap;\n}\n\n.cards, .rows { list-style: none; margin: 0; padding: 0; }\n\n.card {\n padding: 11px 13px;\n margin-bottom: 8px;\n border: 1px solid var(--line);\n border-radius: 9px;\n background: var(--surface);\n cursor: pointer;\n}\n.card:hover, .card:focus-visible { border-color: var(--accent); outline: none; }\n.card h2 { margin: 0 0 4px; font-size: 0.98rem; }\n.card .snippet { color: var(--muted); font-size: 0.85rem; margin: 0 0 6px; }\n.card .meta { font-size: 0.75rem; }\n\n/* --depth is the entry's nesting level, written on each row by app-ui/toc.ts\n from what the server sends in structuredContent; the fallback covers a\n server too old to send it. Bounded there at MAX_TOC_INDENT steps, so the\n deepest row spends 84px of a panel that can be as narrow as ~320px. */\n.row {\n padding: 8px 11px;\n padding-left: calc(11px + var(--depth, 0) * 14px);\n border-bottom: 1px solid var(--line);\n cursor: pointer;\n}\n.row:hover, .row:focus-visible { background: var(--surface); outline: none; }\n\nbutton {\n font: inherit;\n cursor: pointer;\n color: inherit;\n}\n\n.link {\n border: 0;\n background: none;\n padding: 0;\n color: var(--accent);\n text-decoration: underline;\n font-size: inherit;\n}\n\na { color: var(--accent); }\n\n.back, .more {\n margin: 10px 0;\n padding: 6px 12px;\n border: 1px solid var(--line);\n border-radius: 7px;\n background: var(--surface);\n}\n.back:hover, .more:hover { border-color: var(--accent); }\n\n.sections {\n display: flex;\n flex-wrap: wrap;\n gap: 4px 12px;\n padding: 9px 11px;\n margin-bottom: 12px;\n border: 1px solid var(--line);\n border-radius: 9px;\n background: var(--surface);\n font-size: 0.85rem;\n}\n\narticle { max-width: 74ch; }\n\narticle pre {\n padding: 10px 12px;\n border-radius: 7px;\n background: var(--code-bg);\n overflow-x: auto;\n}\n\ncode {\n padding: 1px 4px;\n border-radius: 4px;\n background: var(--code-bg);\n font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: 0.88em;\n}\n\npre code { padding: 0; background: none; }\n\narticle ul, article ol { padding-left: 1.35em; }\n\ntable { border-collapse: collapse; }\ntd, th { border: 1px solid var(--line); padding: 4px 8px; }\n`;var ty=6;function ry(t){return typeof t!=\"number\"||!Number.isFinite(t)||t<=0?0:Math.min(Math.floor(t),ty)}function ag(t){return t.map(r=>`<li class=\"row\" data-url=\"${V(r.url)}\" style=\"--depth:${ry(r.depth)}\" tabindex=\"0\" role=\"button\">${V(r.title)}</li>`).join(\"\")}function cg(t){if(t===null||typeof t!=\"object\")return null;let r=t;return Array.isArray(r.results)&&typeof r.query==\"string\"?{kind:\"search\",data:r}:Array.isArray(r.entries)&&typeof r.product==\"string\"?{kind:\"toc\",data:r}:typeof r.content==\"string\"&&typeof r.title==\"string\"?{kind:\"article\",data:r}:null}function kn(t){return t.replace(/`([^`]+)`/g,\"<code>$1</code>\").replace(/\\[([^\\]]+)\\]\\((https?:[^)\\s]+)\\)/g,'<a href=\"$2\" data-external>$1</a>').replace(/\\*\\*([^*]+)\\*\\*/g,\"<strong>$1</strong>\").replace(/(^|[^*])\\*([^*]+)\\*/g,\"$1<em>$2</em>\")}function ny(t){let r=[],n=t.split(`\n`),i=!1,e=null,o=()=>{e!==null&&(r.push(`</${e}>`),e=null)};for(let a of n){let s=a.replace(/\\s+$/,\"\");if(s.startsWith(\"```\")){o(),r.push(i?\"</code></pre>\":\"<pre><code>\"),i=!i;continue}if(i){r.push(V(a));continue}let u=/^(#{1,6})\\s+(.*)$/.exec(s);if(u!==null){o();let g=Math.min((u[1]??\"\").length+1,6);r.push(`<h${g}>${kn(V(u[2]??\"\"))}</h${g}>`);continue}let l=/^\\s*[-*+]\\s+(.*)$/.exec(s);if(l!==null){e!==\"ul\"&&(o(),r.push(\"<ul>\"),e=\"ul\"),r.push(`<li>${kn(V(l[1]??\"\"))}</li>`);continue}let d=/^\\s*\\d+[.)]\\s+(.*)$/.exec(s);if(d!==null){e!==\"ol\"&&(o(),r.push(\"<ol>\"),e=\"ol\"),r.push(`<li>${kn(V(d[1]??\"\"))}</li>`);continue}if(s.trim()===\"\"){o();continue}o(),r.push(`<p>${kn(V(s))}</p>`)}return o(),i&&r.push(\"</code></pre>\"),r.join(`\n`)}function wn(t){return`<span class=\"chip\">${V(t)}</span>`}function Sn(t){return typeof t==\"string\"&&t!==\"\"}function ug(t){if(!Array.isArray(t))return\"\";let r=t.filter(Sn);return r.length===0?\"\":`<div class=\"crumbs\">${r.map(n=>V(n)).join(' <span aria-hidden=\"true\">\\u203A</span> ')}</div>`}function oy(t){if(t.results.length===0){let n=Array.isArray(t.suggestions)&&t.suggestions.length>0?`<p class=\"muted\">Try: ${t.suggestions.map(i=>`<button class=\"link\" data-search=\"${V(i)}\">${V(i)}</button>`).join(\", \")}</p>`:\"\";return`<header><h1>No results</h1><p class=\"muted\">Nothing matched \\u201C${V(t.query)}\\u201D.</p>${n}</header>`}let r=t.results.map(n=>`\n <li class=\"card\" data-url=\"${V(n.url)}\" tabindex=\"0\" role=\"button\">\n ${ug(n.breadcrumb)}\n <h2>${V(n.title)}</h2>\n <p class=\"snippet\">${kn(V(n.snippet))}</p>\n <div class=\"meta\">${wn(n.product)}${Sn(n.version)?wn(n.version):\"\"}</div>\n </li>`).join(\"\");return`\n <header>\n <h1>${V(t.query)}</h1>\n <p class=\"muted\">${t.totalResults} result${t.totalResults===1?\"\":\"s\"}${t.totalPages>1?` \\xB7 page ${t.page} of ${t.totalPages}`:\"\"}</p>\n </header>\n <ul class=\"cards\">${r}</ul>\n ${t.page<t.totalPages?'<button class=\"more\">Load more</button>':\"\"}\n `}function iy(t){let r=ag(t.entries);return`\n <header>\n <h1>${V(t.product)}</h1>\n <p class=\"muted\">${wn(t.version)} ${t.totalEntries} article${t.totalEntries===1?\"\":\"s\"}${t.totalPages>1?` \\xB7 page ${t.page} of ${t.totalPages}`:\"\"}</p>\n </header>\n <ul class=\"rows\">${r}</ul>\n ${t.page<t.totalPages?'<button class=\"more\">Load more</button>':\"\"}\n `}function ay(t,r){let n=t.sections.length>1?`<nav class=\"sections\">${t.sections.filter(i=>i.level<=3).map(i=>`<button class=\"link\" data-anchor=\"${V(i.id)}\">${V(i.title)}</button>`).join(\"\")}</nav>`:\"\";return`\n ${r?'<button class=\"back\" data-back>\\u2190 Back</button>':\"\"}\n <header>\n ${ug(t.breadcrumb)}\n <h1>${V(t.title)}</h1>\n <p class=\"muted\">\n ${Sn(t.product)?wn(t.product):\"\"}${Sn(t.version)?wn(t.version):\"\"}\n ${Sn(t.lastUpdated)?`Updated ${V(t.lastUpdated)}`:\"\"}\n <a href=\"${V(t.url)}\" data-external class=\"link\">Open on learn.jamf.com</a>\n </p>\n </header>\n ${n}\n <article>${ny(t.content)}</article>\n ${t.truncated?'<p class=\"muted note\">Content was truncated to fit the token budget.</p>':\"\"}\n `}function sy(){let t=document.getElementById(\"root\");if(t===null)throw new Error(\"app.html is missing its #root container\");return t}var _t=sy(),lg=document.createElement(\"style\");lg.textContent=ig;document.head.appendChild(lg);var ea=new Yi({name:\"Jamf Documentation\",version:\"1.0.0\"}),ta=[],W=null,dg=!1;function pg(){if(W!==null){if(W.kind===\"error\"){_t.innerHTML=`<header><h1>Something went wrong</h1><p class=\"muted\">${V(W.message)}</p></header>`;return}_t.innerHTML=W.kind===\"search\"?oy(W.data):W.kind===\"toc\"?iy(W.data):ay(W.data,ta.length>0),_t.scrollTop=0}}function Rd(t,r){r&&W!==null&&ta.push(W),W=t,pg()}function sg(t){dg=t,_t.setAttribute(\"aria-busy\",String(t))}function mg(t){if(t.structuredContent!==void 0)return t.structuredContent;let r=t.content?.find(n=>n.type===\"text\")?.text;if(r===void 0)return null;try{return JSON.parse(r)}catch{return null}}async function zn(t,r,n){if(!dg){sg(!0);try{let i=await ea.callServerTool({name:t,arguments:r}),e=cg(mg(i));Rd(e??{kind:\"error\",message:`${t} returned nothing renderable.`},n)}catch(i){Rd({kind:\"error\",message:i instanceof Error?i.message:String(i)},n)}finally{sg(!1)}}}ea.connect();ea.ontoolresult=t=>{let r=cg(mg(t));r!==null&&(ta.length=0,Rd(r,!1))};_t.addEventListener(\"click\",t=>{let r=t.target,n=r.closest(\"a[data-external]\");if(n!==null){t.preventDefault(),ea.sendOpenLink({url:n.href});return}if(r.closest(\"[data-back]\")!==null){let s=ta.pop();s!==void 0&&(W=s,pg());return}let i=r.closest(\"[data-anchor]\");if(i!==null){let s=i.dataset.anchor;Array.from(_t.querySelectorAll(\"article h2, article h3\")).find(l=>l.textContent.trim().toLowerCase().replace(/[^a-z0-9]+/g,\"-\")===s)?.scrollIntoView({behavior:\"smooth\",block:\"start\"});return}let e=r.closest(\"[data-search]\");if(e!==null){zn(\"jamf_docs_search\",{query:e.dataset.search},!0);return}if(r.closest(\".more\")!==null){W?.kind===\"search\"?zn(\"jamf_docs_search\",{...W.data.filters,...W.data.limit!==void 0?{limit:W.data.limit}:{},query:W.data.query,page:W.data.page+1},!0):W?.kind===\"toc\"&&zn(\"jamf_docs_get_toc\",{product:W.data.productId,page:W.data.page+1},!0);return}let a=r.closest(\"[data-url]\");a!==null&&zn(\"jamf_docs_get_article\",{url:a.dataset.url},!0)});_t.addEventListener(\"keydown\",t=>{if(t.key!==\"Enter\"&&t.key!==\" \")return;let r=t.target;r.matches(\"[data-url]\")&&(t.preventDefault(),zn(\"jamf_docs_get_article\",{url:r.dataset.url},!0))});})();\n</script>\n </body>\n</html>\n";
|
|
8
|
+
export const APP_HTML = "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <!-- Covers the frames before applyDocumentTheme() runs. A browser gives an\n iframe document an opaque canvas when its color-scheme disagrees with\n the embedder's, which would defeat the transparent body and flash a\n white slab into a dark conversation. -->\n <meta name=\"color-scheme\" content=\"light dark\" />\n <title>Jamf Documentation</title>\n </head>\n <!-- No lang attribute: it is set from hostContext.locale once the host says\n what the reader's is. Hardcoding \"en\" told every screen reader that a\n zh-TW page was English. -->\n <body>\n <!-- The first painted frame is already the right shape. The word \"Loading\"\n it replaces was a different shape, a different size and a different\n colour from anything that would follow it. -->\n <div id=\"root\">\n <div class=\"sk\" style=\"padding: 16px\">\n <span class=\"sk-line\" style=\"--w: 45%\"></span>\n <span class=\"sk-line\" style=\"--w: 90%\"></span>\n <span class=\"sk-line\" style=\"--w: 72%\"></span>\n <span class=\"sk-line\" style=\"--w: 84%\"></span>\n </div>\n </div>\n <script type=\"module\">\"use strict\";(()=>{var qb=Object.defineProperty;var _t=(e=>typeof require<\"u\"?require:typeof Proxy<\"u\"?new Proxy(e,{get:(t,r)=>(typeof require<\"u\"?require:t)[r]}):e)(function(e){if(typeof require<\"u\")return require.apply(this,arguments);throw Error('Dynamic require of \"'+e+'\" is not supported')});var y=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(n){throw r=[n],n}};var Je=(e,t)=>{for(var r in t)qb(e,r,{get:t[r],enumerable:!0})};var S={};Je(S,{BIGINT_FORMAT_RANGES:()=>za,CONSTANT_CATCH:()=>xo,Class:()=>ga,NUMBER_FORMAT_RANGES:()=>wa,aborted:()=>ot,allowsEval:()=>_a,assert:()=>Kb,assertEqual:()=>Ub,assertIs:()=>Jb,assertNever:()=>Bb,assertNotEqual:()=>Hb,assignProp:()=>te,attachSchema:()=>_o,base64ToUint8Array:()=>_f,base64urlToUint8Array:()=>dy,cached:()=>er,captureStackTrace:()=>bo,cleanEnum:()=>py,cleanRegex:()=>Mr,clone:()=>V,cloneDef:()=>Qb,codePointLength:()=>vt,constantCatch:()=>Pa,createTransparentProxy:()=>ry,defineLazy:()=>ba,defineLazyInternal:()=>C,esc:()=>we,escapeRegex:()=>Re,explicitlyAborted:()=>$a,extend:()=>iy,finalizeIssue:()=>$e,floatSafeRemainder:()=>Vr,getElementAtPath:()=>Gb,getEnumValues:()=>Lr,getLengthableOrigin:()=>Hr,getParsedType:()=>ty,getSizableOrigin:()=>Ur,hexToUint8Array:()=>my,hide:()=>Ia,installLazyProp:()=>_y,isObject:()=>xt,isPlainObject:()=>Ze,issue:()=>tr,joinValues:()=>ho,jsonStringifyReplacer:()=>Xt,members:()=>Sa,merge:()=>ay,mergeDefs:()=>Ve,normalizeParams:()=>_,nullish:()=>go,numKeys:()=>ey,objectClone:()=>Wb,omit:()=>oy,optionalKeys:()=>va,own:()=>Gt,parsedType:()=>ka,partial:()=>cy,pick:()=>ny,prefixIssues:()=>ze,primitiveTypes:()=>xa,promiseAllObject:()=>Yb,propertyKeyTypes:()=>qr,randomString:()=>Xb,required:()=>uy,safeExtend:()=>sy,shallowClone:()=>Fr,slugify:()=>ya,stringifyPrimitive:()=>yo,toZod:()=>Yt,uint8ArrayToBase64:()=>xf,uint8ArrayToBase64url:()=>fy,uint8ArrayToHex:()=>hy,unwrapMessage:()=>Qt});function Ub(e){return e}function Hb(e){return e}function Yt(){return e=>e}function Jb(e){}function Bb(e){throw new Error(\"Unexpected value in exhaustive check\")}function Kb(e){}function Lr(e){let t=Object.values(e).filter(n=>typeof n==\"number\");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function ho(e,t=\"|\"){return e.map(r=>yo(r)).join(t)}function Xt(e,t){return typeof t==\"bigint\"?t.toString():t}function er(e){return{get value(){{let r=e();return Object.defineProperty(this,\"value\",{value:r}),r}throw new Error(\"cached value already set\")}}}function go(e){return e==null}function Mr(e){let t=e.startsWith(\"^\")?1:0,r=e.endsWith(\"$\")?e.length-1:e.length;return e.slice(t,r)}function Vr(e,t){let r=e/t,n=Math.round(r),o=4*Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-n)<o?0:r-n}function ba(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==yf)return n===void 0&&(n=yf,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function Wb(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function te(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Ve(...e){let t={};for(let r of e){let n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function Qb(e){return Ve(e._zod.def)}function Gb(e,t){return t?t.reduce((r,n)=>r?.[n],e):e}function Yb(e){let t=Object.keys(e),r=t.map(n=>e[n]);return Promise.all(r).then(n=>{let o={};for(let i=0;i<t.length;i++)o[t[i]]=n[i];return o})}function Xb(e=10){let t=\"abcdefghijklmnopqrstuvwxyz\",r=\"\";for(let n=0;n<e;n++)r+=t[Math.floor(Math.random()*t.length)];return r}function we(e){return JSON.stringify(e)}function ya(e){return e.toLowerCase().trim().replace(/[^\\w\\s-]/g,\"\").replace(/[\\s_-]+/g,\"-\").replace(/^-+|-+$/g,\"\")}function xt(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}function Ze(e){if(xt(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=\"function\")return!0;let r=t.prototype;return!(xt(r)===!1||Object.prototype.hasOwnProperty.call(r,\"isPrototypeOf\")===!1)}function Fr(e){return Ze(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function ey(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}function Re(e){return e.replace(/[.*+?^${}()|[\\]\\\\]/g,\"\\\\$&\")}function V(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function _(e){let t=e;if(!t)return{};if(typeof t==\"string\")return{error:()=>t};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:()=>t.error}:t}function ry(e){let t;return new Proxy({},{get(r,n,o){return t??(t=e()),Reflect.get(t,n,o)},set(r,n,o,i){return t??(t=e()),Reflect.set(t,n,o,i)},has(r,n){return t??(t=e()),Reflect.has(t,n)},deleteProperty(r,n){return t??(t=e()),Reflect.deleteProperty(t,n)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,n){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)},defineProperty(r,n,o){return t??(t=e()),Reflect.defineProperty(t,n,o)}})}function yo(e){return typeof e==\"bigint\"?e.toString()+\"n\":typeof e==\"string\"?`\"${e}\"`:`${e}`}function va(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===\"optional\")}function ny(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(\".pick() cannot be used on object schemas containing refinements\");let i=Ve(e._zod.def,{get shape(){let s={};for(let a of Reflect.ownKeys(t)){if(!Object.prototype.hasOwnProperty.call(r.shape,a))throw new Error(`Unrecognized key: \"${String(a)}\"`);t[a]&&te(s,a,r.shape[a])}return te(this,\"shape\",s),s},checks:[]});return V(e,i)}function oy(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(\".omit() cannot be used on object schemas containing refinements\");let i=Ve(e._zod.def,{get shape(){let s={...e._zod.def.shape};for(let a of Reflect.ownKeys(t)){if(!Object.prototype.hasOwnProperty.call(r.shape,a))throw new Error(`Unrecognized key: \"${String(a)}\"`);t[a]&&delete s[a]}return te(this,\"shape\",s),s},checks:[]});return V(e,i)}function iy(e,t){if(!Ze(t))throw new Error(\"Invalid input to extend: expected a plain object\");let r=e._zod.def.checks;if(r&&r.length>0){let i=e._zod.def.shape;for(let s of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(i,s)!==void 0)throw new Error(\"Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.\")}let o=Ve(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return te(this,\"shape\",i),i}});return V(e,o)}function sy(e,t){if(!Ze(t))throw new Error(\"Invalid input to safeExtend: expected a plain object\");let r=Ve(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return te(this,\"shape\",n),n}});return V(e,r)}function ay(e,t){if(!t?._zod?.def)throw new Error(\"Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.\");if(e._zod.def.checks?.length)throw new Error(\".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.\");let r=Ve(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return te(this,\"shape\",n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return V(e,r)}function cy(e,t,r,n=\"partial\"){let i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${n}() cannot be used on object schemas containing refinements`);let a=Ve(t._zod.def,{get shape(){let c=t._zod.def.shape,u={...c};if(r)for(let l of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(c,l))throw new Error(`Unrecognized key: \"${String(l)}\"`);r[l]&&(u[l]=e?new e({type:\"optional\",innerType:c[l]}):c[l])}else for(let l of Reflect.ownKeys(c))u[l]=e?new e({type:\"optional\",innerType:c[l]}):c[l];return te(this,\"shape\",u),u},checks:[]});return V(t,a)}function uy(e,t,r){let n=Ve(t._zod.def,{get shape(){let o=t._zod.def.shape,i={...o};if(r)for(let s of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(i,s))throw new Error(`Unrecognized key: \"${String(s)}\"`);r[s]&&(i[s]=new e({type:\"nonoptional\",innerType:o[s]}))}else for(let s of Reflect.ownKeys(o))i[s]=new e({type:\"nonoptional\",innerType:o[s]});return te(this,\"shape\",i),i}});return V(t,n)}function ot(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function $a(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function ze(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function Qt(e){return typeof e==\"string\"?e:e?.message}function _o(e,t,r){var n;for(let o=t;o<e.length;o++)(n=e[o]).schema??(n.schema=r)}function $e(e,t,r){var n;let o=e.inst?._zod?.traits;o?.has(\"$ZodType\")&&(o.has(\"$ZodCheck\")?(n=e).schema??(n.schema=e.inst):e.schema=e.inst);let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,s=e.message?e.message:Qt(e.inst?._zod.def?.error?.(e))??Qt(i?.(e))??Qt(t?.error?.(e))??Qt(r.customError?.(e))??Qt(r.localeError?.(e))??\"Invalid input\",{inst:a,schema:c,continue:u,input:l,...d}=e;return d.path??(d.path=[]),d.message=s,t?.reportInput&&(d.input=l),d}function Ur(e){return e instanceof Set?\"set\":e instanceof Map?\"map\":e instanceof File?\"file\":\"unknown\"}function vt(e){let t=e.length;if(!ly.test(e))return t;let r=t;for(let n=0;n<t-1;n++)(e.charCodeAt(n)&64512)===55296&&(e.charCodeAt(n+1)&64512)===56320&&(r--,n++);return r}function Hr(e){return Array.isArray(e)?\"array\":typeof e==\"string\"?\"string\":\"unknown\"}function ka(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 r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&\"constructor\"in r&&r.constructor)return r.constructor.name}}return t}function tr(...e){let[t,r,n]=e;return typeof t==\"string\"?{message:t,code:\"custom\",input:r,inst:n}:{...t}}function py(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function _f(e){let t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}function xf(e){let t=\"\";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function dy(e){let t=e.replace(/-/g,\"+\").replace(/_/g,\"/\"),r=\"=\".repeat((4-t.length%4)%4);return _f(t+r)}function fy(e){return xf(e).replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/=/g,\"\")}function my(e){let t=e.replace(/^0x/,\"\");if(t.length%2!==0)throw new Error(\"Invalid hex string length\");let r=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2)r[n/2]=Number.parseInt(t.slice(n,n+2),16);return r}function hy(e){return Array.from(e).map(t=>t.toString(16).padStart(2,\"0\")).join(\"\")}function Sa(e,t){for(let r in t){let n=Object.getOwnPropertyDescriptor(t,r);n.get?Object.defineProperty(e,r,{...n,enumerable:!1}):gy(e,r,n.value)}}function Gt(e,t,r,n=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:n,value:r}),r}function Ia(e,t,r){return Gt(e,t,r,!1)}function gy(e,t,r){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?r:Gt(this,t,r.bind(this))},set(n){Gt(this,t,n)}})}function by(e,t){let r=Object.getPrototypeOf(e);return t in r?void 0:r}function C(e,t,r){let n=Object.getPrototypeOf(e._zod);if(t in n&&ha!==e._zod){ha=void 0;return}ha=e._zod,Object.defineProperty(n,t,{configurable:!0,get(){Object.defineProperty(this,t,yy);let o=nt;nt=!1;try{let i=r(this);return nt?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),nt=nt||o,i}catch(i){throw delete this[t],nt=nt||o,i}},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o})}})}function _y(e,t,r,n){let o=by(e,t);o&&Object.defineProperty(o,t,{configurable:!0,get(){let i={configurable:!0,writable:!0,enumerable:n,value:void 0};return Object.defineProperty(this,t,i),i.value=r(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:n,value:i})}})}function Pa(e){let t=()=>e;return t[xo]=!0,t}var yf,bo,_a,ty,qr,xa,wa,za,ly,ga,ha,nt,yy,xo,ie=y(()=>{it();yf=Symbol(\"evaluating\");bo=\"captureStackTrace\"in Error?Error.captureStackTrace:(...e)=>{};_a=er(()=>{if(ce.jitless||typeof navigator<\"u\"&&navigator?.userAgent?.includes(\"Cloudflare\"))return!1;try{let e=Function;return new e(\"\"),!0}catch{return!1}});ty=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}`)}},qr=new Set([\"string\",\"number\",\"symbol\"]),xa=new Set([\"string\",\"number\",\"bigint\",\"boolean\",\"symbol\",\"undefined\"]);wa={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]},za={int64:[BigInt(\"-9223372036854775808\"),BigInt(\"9223372036854775807\")],uint64:[BigInt(0),BigInt(\"18446744073709551615\")]};ly=/[\\uD800-\\uDBFF]/;ga=class{constructor(...t){}};nt=!1,yy={configurable:!0,get(){nt=!0}};xo=\"~constantCatch\"});function xy(e){let t=wf;if(t){let r=t.stackTraceLimit;if(typeof r==\"number\"){try{t.stackTraceLimit=0}catch{return wf=null,new e}try{return new e}finally{t.stackTraceLimit=r}}}return new e}function m(e,t,r,n){let o={};function i(f){this.def=f,this.constr=d,this.traits=new Set}i.prototype=o;let s=r,a=s&&new WeakSet;function c(f,h){if(!f._zod){Ta.value=new i(h);try{Object.defineProperty(f,\"_zod\",Ta)}finally{Ta.value=void 0}}if(f._zod.traits.has(e))return;if(f._zod.traits.add(e),t(f,h),a){let x=Object.getPrototypeOf(f),v=f._zod.constr.prototype,L=x;for(;L&&L!==v;)L=Object.getPrototypeOf(L);let w=L??x;a.has(w)||(a.add(w),Sa(w,s))}let b=d.prototype;for(let x in b)Object.prototype.hasOwnProperty.call(b,x)&&(x in f||(f[x]=b[x].bind(f)))}let u=n?.Parent??Object;class l extends u{}Object.defineProperty(l,\"name\",{value:e});function d(f){let h=n?.Parent?xy(l):this;c(h,f);let b=h._zod.deferred;if(b){for(let v of b)v();h._zod.deferred=void 0}let x=globalThis.__zod_globalConfig?.postProcessor;return x&&x(h),h}return Object.defineProperty(d,\"init\",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:f=>n?.Parent&&f instanceof n.Parent?!0:f?._zod?.traits?.has(e)}),Object.defineProperty(d,\"name\",{value:e}),d}function re(e){return e&&Object.assign(ce,e),ce}var vf,vo,Ta,wf,wo,ke,st,ce,it=y(()=>{ie();vo=Object.freeze({status:\"aborted\"}),Ta={value:void 0,enumerable:!1},wf=\"captureStackTrace\"in Error?Error:null;wo=Symbol(\"zod_brand\"),ke=class extends Error{constructor(){super(\"Encountered Promise during synchronous parse. Use .parseAsync() instead.\")}},st=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name=\"ZodEncodeError\"}};(vf=globalThis).__zod_globalConfig??(vf.__zod_globalConfig={});ce=globalThis.__zod_globalConfig});function vy(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Xt,2)),e.message}function wy(e){this._zod.message=e}function $y(e,t,r){return Object.prototype.hasOwnProperty.call(e,t)||(t===\"__proto__\"?Object.defineProperty(e,t,{value:r(),writable:!0,enumerable:!0,configurable:!0}):e[t]=r()),e[t]}function rr(e,t=r=>r.message){let r={},n=[];for(let o of e.issues)o.path.length>0?$y(r,o.path[0],()=>[]).push(t(o)):n.push(t(o));return{formErrors:n,fieldErrors:r}}function nr(e,t=r=>r.message){let r={_errors:[]},n=(o,i=[])=>{for(let s of o.issues)if(s.code===\"invalid_union\"&&s.errors.length)s.errors.map(a=>n({issues:a},[...i,...s.path]));else if(s.code===\"invalid_key\")n({issues:s.issues},[...i,...s.path]);else if(s.code===\"invalid_element\")n({issues:s.issues},[...i,...s.path]);else{let a=[...i,...s.path];if(a.length===0)r._errors.push(t(s));else{let c=r,u=0;for(;u<a.length;){let l=a[u],d=u===a.length-1;if(l===\"_errors\"){d&&c._errors.push(t(s)),u++;continue}Object.prototype.hasOwnProperty.call(c,l)||Object.defineProperty(c,l,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let f=c[l];d&&f._errors.push(t(s)),c=f,u++}}}};return n(e),r}function zo(e,t=r=>r.message){let r={errors:[]},n=(o,i=[])=>{var s;for(let a of o.issues)if(a.code===\"invalid_union\"&&a.errors.length)a.errors.map(c=>n({issues:c},[...i,...a.path]));else if(a.code===\"invalid_key\")n({issues:a.issues},[...i,...a.path]);else if(a.code===\"invalid_element\")n({issues:a.issues},[...i,...a.path]);else{let c=[...i,...a.path];if(c.length===0){r.errors.push(t(a));continue}let u=r,l=0;for(;l<c.length;){let d=c[l],f=l===c.length-1;typeof d==\"string\"?(u.properties??(u.properties={}),Object.prototype.hasOwnProperty.call(u.properties,d)||Object.defineProperty(u.properties,d,{value:{errors:[]},enumerable:!0,writable:!0,configurable:!0}),u=u.properties[d]):(u.items??(u.items=[]),(s=u.items)[d]??(s[d]={errors:[]}),u=u.items[d]),f&&u.errors.push(t(a)),l++}}};return n(e),r}function kf(e){let t=[],r=e.map(n=>typeof n==\"object\"?n.key:n);for(let n of r)typeof n==\"number\"?t.push(`[${n}]`):typeof n==\"symbol\"?t.push(`[${JSON.stringify(String(n))}]`):/[^\\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push(\".\"),t.push(n));return t.join(\"\")}function $o(e){let t=[],r=[...e.issues].sort((n,o)=>(n.path??[]).length-(o.path??[]).length);for(let n of r)t.push(`\\u2716 ${n.message}`),n.path?.length&&t.push(` \\u2192 at ${kf(n.path)}`);return t.join(`\n`)}var zy,Aa,Oa,zf,$f,Jr,Se,Na=y(()=>{it();ie();zy={get:vy,set:wy,enumerable:!0,configurable:!0},Aa={value:void 0,enumerable:!1},Oa={value:void 0,enumerable:!1},zf=new WeakSet([Object.prototype,Error.prototype]),$f=(e,t)=>{e.name=\"$ZodError\",Aa.value=e._zod,Object.defineProperty(e,\"_zod\",Aa),Oa.value=t,Object.defineProperty(e,\"issues\",Oa),Aa.value=void 0,Oa.value=void 0,Object.defineProperty(e,\"message\",zy);let r=Object.getPrototypeOf(e);zf.has(r)||(zf.add(r),Object.defineProperty(r,\"toString\",{configurable:!0,enumerable:!1,get(){let n=()=>this.message;return Object.defineProperty(this,\"toString\",{value:n,configurable:!0,writable:!0}),n},set(n){Object.defineProperty(this,\"toString\",{value:n,configurable:!0,writable:!0})}}))},Jr=m(\"$ZodError\",$f),Se=m(\"$ZodError\",$f,void 0,{Parent:Error})});function ko(e,t){return{callee:t?.callee??e,Err:t?.Err}}function Py(e,t,r){let n=r?{...r,async:!1}:{async:!1},o=e._zod.bag.fallbackRun,i;if(o?(n[Iy]=!0,i=o({value:t,issues:[]},n)):i=e._zod.run({value:t,issues:[]},n),i instanceof Promise)throw new ke;return i.issues.length===0}var or,Br,ir,Kr,sr,ar,cr,Wr,Sy,Iy,Qr,Gr,So,Sf,Io,If,Po,Pf,To,Tf,Eo,Ef,Ao,Af,Oo,Of,No,Nf,Ca=y(()=>{it();Na();ie();or=e=>{let t=(r,n,o,i)=>{let s=o?{...o,async:!1}:{async:!1},a=r._zod.run({value:n,issues:[]},s);if(a instanceof Promise)throw new ke;if(a.issues.length){let c=new(i?.Err??e)(a.issues.map(u=>$e(u,s,re())));throw bo(c,i?.callee??t),c}return a.value};return t},Br=or(Se),ir=e=>{let t=async(r,n,o,i)=>{let s=o?{...o,async:!0}:{async:!0},a=r._zod.run({value:n,issues:[]},s);if(a instanceof Promise&&(a=await a),a.issues.length){let c=new(i?.Err??e)(a.issues.map(u=>$e(u,s,re())));throw bo(c,i?.callee??t),c}return a.value};return t},Kr=ir(Se),sr=e=>(t,r,n)=>{let o=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise)throw new ke;return i.issues.length?{success:!1,error:new(e??Jr)(i.issues.map(s=>$e(s,o,re())))}:{success:!0,data:i.value}},ar=sr(Se),cr=e=>async(t,r,n)=>{let o=n?{...n,async:!0}:{async:!0},i=t._zod.run({value:r,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(s=>$e(s,o,re())))}:{success:!0,data:i.value}},Wr=cr(Se),Sy=Symbol.for(\"zod.compile.invalid\"),Iy=Symbol.for(\"zod.compile.fallback\"),Qr=((e,t,r)=>{let n=e._zod.bag.validator;return n!==void 0&&n(t)!==Sy?!0:Py(e,t,r)});Gr=async(e,t,r)=>{let n=r?{...r,async:!0}:{async:!0},o=e._zod.run({value:t,issues:[]},n);return o instanceof Promise&&(o=await o),o.issues.length===0},So=e=>{let t=or(e),r=(n,o,i,s)=>{let a=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return t(n,o,a,ko(r,s))};return r},Sf=So(Se),Io=e=>{let t=or(e),r=(n,o,i,s)=>t(n,o,i,ko(r,s));return r},If=Io(Se),Po=e=>{let t=ir(e),r=async(n,o,i,s)=>{let a=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return await t(n,o,a,ko(r,s))};return r},Pf=Po(Se),To=e=>{let t=ir(e),r=async(n,o,i,s)=>await t(n,o,i,ko(r,s));return r},Tf=To(Se),Eo=e=>(t,r,n)=>{let o=n?{...n,direction:\"backward\"}:{direction:\"backward\"};return sr(e)(t,r,o)},Ef=Eo(Se),Ao=e=>(t,r,n)=>sr(e)(t,r,n),Af=Ao(Se),Oo=e=>async(t,r,n)=>{let o=n?{...n,direction:\"backward\"}:{direction:\"backward\"};return cr(e)(t,r,o)},Of=Oo(Se),No=e=>async(t,r,n)=>cr(e)(t,r,n),Nf=No(Se)});var be={};Je(be,{base64:()=>Ya,base64url:()=>Co,bigint:()=>ic,boolean:()=>sc,browserEmail:()=>Ry,cidrv4:()=>Qa,cidrv6:()=>Ga,creditCard:()=>Zo,cuid:()=>Ra,cuid2:()=>ja,date:()=>tc,datetime:()=>nc,domain:()=>Ly,duration:()=>qa,e164:()=>ec,email:()=>Ha,emoji:()=>Ja,extendedDuration:()=>Ty,guid:()=>Ua,hex:()=>Vy,hostname:()=>Dy,html5Email:()=>Ny,httpProtocol:()=>Xa,idnEmail:()=>Zy,integer:()=>Yr,ipv4:()=>Ba,ipv6:()=>Ka,ksuid:()=>Ma,lowercase:()=>uc,mac:()=>Wa,md5_base64:()=>qy,md5_base64url:()=>Uy,md5_hex:()=>Fy,nanoid:()=>Va,nanoidOfLength:()=>Fa,null:()=>ac,number:()=>at,rfc5322Email:()=>Cy,sha1_base64:()=>Jy,sha1_base64url:()=>By,sha1_hex:()=>Hy,sha256_base64:()=>Wy,sha256_base64url:()=>Qy,sha256_hex:()=>Ky,sha384_base64:()=>Yy,sha384_base64url:()=>Xy,sha384_hex:()=>Gy,sha512_base64:()=>t_,sha512_base64url:()=>r_,sha512_hex:()=>e_,string:()=>oc,time:()=>rc,ulid:()=>Da,undefined:()=>cc,unicodeEmail:()=>Cf,uppercase:()=>lc,uuid:()=>wt,uuid4:()=>Ey,uuid6:()=>Ay,uuid7:()=>Oy,xid:()=>La});function Fa(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}function Ja(){return new RegExp(jy,\"u\")}function My(e){return new RegExp(`^${e}$`)}function Za(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}}`:e.seconds?`${t}:[0-5]\\\\d(?:\\\\.\\\\d+)?`:`${t}(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?`}function rc(e){return new RegExp(`^${Za(e)}$`)}function nc(e){let t=[\"Z\"];e.offset&&t.push(\"([+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)\");let r=`${Za({precision:e.precision,seconds:!0})}(?:${t.join(\"|\")})`,n=e.local?`${r}|${Za({precision:e.precision})}`:r;return new RegExp(`^${Zf}T(?:${n})$`)}function Xr(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function en(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var Ra,ja,Da,La,Ma,Va,qa,Ty,Ua,wt,Ey,Ay,Oy,Ha,Ny,Cy,Cf,Zy,Ry,jy,Ba,Ka,Wa,Qa,Ga,Ya,Co,Dy,Ly,Xa,ec,Zo,Zf,tc,oc,ic,Yr,at,sc,ac,cc,uc,lc,Vy,Fy,qy,Uy,Hy,Jy,By,Ky,Wy,Qy,Gy,Yy,Xy,e_,t_,r_,ur=y(()=>{ie();Ra=/^[cC][0-9a-z]{6,}$/,ja=/^[0-9a-z]+$/,Da=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,La=/^[0-9a-vA-V]{20}$/,Ma=/^[A-Za-z0-9]{27}$/,Va=/^[a-zA-Z0-9_-]{21}$/;qa=/^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$/,Ty=/^[-+]?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)?)??$/,Ua=/^([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})$/,wt=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)$/,Ey=wt(4),Ay=wt(6),Oy=wt(7),Ha=/^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/,Ny=/^[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])?)*$/,Cy=/^(([^<>()\\[\\]\\\\.,;:\\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,}))$/,Cf=/^[^\\s@\"]{1,64}@[^\\s@]{1,255}$/u,Zy=Cf,Ry=/^[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])?)*$/,jy=\"^[\\\\p{Extended_Pictographic}\\\\p{Emoji_Component}]+$\";Ba=/^(?:(?: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])$/,Ka=/^(([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}|:))$/,Wa=e=>{let t=Re(e??\":\");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},Qa=/^((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])$/,Ga=/^(([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}|:))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Ya=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Co=/^[A-Za-z0-9_-]*$/,Dy=/^(?=.{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])?)*\\.?$/,Ly=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,63}$/,Xa=/^https?$/,ec=/^\\+[1-9]\\d{6,14}$/,Zo=/^\\d(?:[ -]?\\d){11,18}$/,Zf=\"(?:(?:\\\\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])))\";tc=My(Zf);oc=e=>{let t=e?`[\\\\s\\\\S]{${e?.minimum??0},${e?.maximum??\"\"}}`:\"[\\\\s\\\\S]*\";return new RegExp(`^${t}$`)},ic=/^-?\\d+n?$/,Yr=/^-?\\d+$/,at=/^-?\\d+(?:\\.\\d+)?$/,sc=/^(?:true|false)$/i,ac=/^null$/i,cc=/^undefined$/i,uc=/^[^A-Z]*$/,lc=/^[^a-z]*$/,Vy=/^[0-9a-fA-F]*$/;Fy=/^[0-9a-fA-F]{32}$/,qy=Xr(22,\"==\"),Uy=en(22),Hy=/^[0-9a-fA-F]{40}$/,Jy=Xr(27,\"=\"),By=en(27),Ky=/^[0-9a-fA-F]{64}$/,Wy=Xr(43,\"=\"),Qy=en(43),Gy=/^[0-9a-fA-F]{96}$/,Yy=Xr(64,\"\"),Xy=en(64),e_=/^[0-9a-fA-F]{128}$/,t_=Xr(86,\"==\"),r_=en(86)});function Rf(e,t,r){e.issues.length&&t.issues.push(...ze(r,e.issues))}var G,pc,dc,Ro,jo,Do,fc,mc,hc,gc,bc,yc,_c,xc,vc,lr,wc,zc,$c,kc,Sc,Ic,Lo,Pc,Tc,Mo=y(()=>{it();ur();ie();G=m(\"$ZodCheck\",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),pc=e=>{let t=e.value;return!go(t)&&t.size!==void 0},dc=e=>{let t=e.value;return!go(t)&&t.length!==void 0},Ro={number:\"number\",bigint:\"bigint\",object:\"date\"},jo=m(\"$ZodCheckLessThan\",(e,t)=>{G.init(e,t);let r=Ro[typeof t.value];e._zod.onattach.push(n=>{let o=n._zod.bag,i=(t.inclusive?o.maximum:o.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?o.maximum=t.value:o.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:Ro[typeof n.value]??r,code:\"too_big\",maximum:typeof t.value==\"object\"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Do=m(\"$ZodCheckGreaterThan\",(e,t)=>{G.init(e,t);let r=Ro[typeof t.value];e._zod.onattach.push(n=>{let o=n._zod.bag,i=(t.inclusive?o.minimum:o.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?o.minimum=t.value:o.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:Ro[typeof n.value]??r,code:\"too_small\",minimum:typeof t.value==\"object\"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),fc=m(\"$ZodCheckMultipleOf\",(e,t)=>{G.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error(\"Cannot mix number and bigint in multiple_of check.\");(typeof r.value==\"bigint\"?t.value!==BigInt(0)&&r.value%t.value===BigInt(0):Vr(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:\"not_multiple_of\",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),mc=m(\"$ZodCheckNumberFormat\",(e,t)=>{G.init(e,t),t.format=t.format||\"float64\";let r=t.format?.includes(\"int\"),n=r?\"int\":\"number\",[o,i]=wa[t.format];e._zod.onattach.push(s=>{let a=s._zod.bag;a.format=t.format,a.minimum=o,a.maximum=i,r&&(a.pattern=Yr)}),e._zod.check=s=>{let a=s.value;if(r){if(!Number.isInteger(a)){s.issues.push({expected:n,format:t.format,code:\"invalid_type\",continue:!1,input:a,inst:e});return}if(!Number.isSafeInteger(a)){a>0?s.issues.push({input:a,code:\"too_big\",maximum:Number.MAX_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:e,origin:n,inclusive:!0,continue:!t.abort}):s.issues.push({input:a,code:\"too_small\",minimum:Number.MIN_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}a<o&&s.issues.push({origin:\"number\",input:a,code:\"too_small\",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),a>i&&s.issues.push({origin:\"number\",input:a,code:\"too_big\",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),hc=m(\"$ZodCheckBigIntFormat\",(e,t)=>{G.init(e,t);let[r,n]=za[t.format];e._zod.onattach.push(o=>{let i=o._zod.bag;i.format=t.format,i.minimum=r,i.maximum=n}),e._zod.check=o=>{let i=o.value;i<r&&o.issues.push({origin:\"bigint\",input:i,code:\"too_small\",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),i>n&&o.issues.push({origin:\"bigint\",input:i,code:\"too_big\",maximum:n,inclusive:!0,inst:e,continue:!t.abort})}}),gc=m(\"$ZodCheckMaxSize\",(e,t)=>{var r;G.init(e,t),(r=e._zod.def).when??(r.when=pc),e._zod.onattach.push(n=>{let o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let o=n.value;o.size<=t.maximum||n.issues.push({origin:Ur(o),code:\"too_big\",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),bc=m(\"$ZodCheckMinSize\",(e,t)=>{var r;G.init(e,t),(r=e._zod.def).when??(r.when=pc),e._zod.onattach.push(n=>{let o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let o=n.value;o.size>=t.minimum||n.issues.push({origin:Ur(o),code:\"too_small\",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),yc=m(\"$ZodCheckSizeEquals\",(e,t)=>{var r;G.init(e,t),(r=e._zod.def).when??(r.when=pc),e._zod.onattach.push(n=>{let o=n._zod.bag;o.minimum=t.size,o.maximum=t.size,o.size=t.size}),e._zod.check=n=>{let o=n.value,i=o.size;if(i===t.size)return;let s=i>t.size;n.issues.push({origin:Ur(o),...s?{code:\"too_big\",maximum:t.size}:{code:\"too_small\",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),_c=m(\"$ZodCheckMaxLength\",(e,t)=>{var r;G.init(e,t),(r=e._zod.def).when??(r.when=dc),e._zod.onattach.push(n=>{let o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let o=n.value,i=o.length;if((typeof o==\"string\"&&i>t.maximum?vt(o):i)<=t.maximum)return;let a=Hr(o);n.issues.push({origin:a,code:\"too_big\",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),xc=m(\"$ZodCheckMinLength\",(e,t)=>{var r;G.init(e,t),(r=e._zod.def).when??(r.when=dc),e._zod.onattach.push(n=>{let o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let o=n.value,i=o.length;if((typeof o==\"string\"&&i>=t.minimum&&i<t.minimum*2?vt(o):i)>=t.minimum)return;let a=Hr(o);n.issues.push({origin:a,code:\"too_small\",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),vc=m(\"$ZodCheckLengthEquals\",(e,t)=>{var r;G.init(e,t),(r=e._zod.def).when??(r.when=dc),e._zod.onattach.push(n=>{let o=n._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=n=>{let o=n.value,i=o.length,s=typeof o==\"string\"&&i>=t.length&&i<=t.length*2?vt(o):i;if(s===t.length)return;let a=Hr(o),c=s>t.length;n.issues.push({origin:a,...c?{code:\"too_big\",maximum:t.length}:{code:\"too_small\",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),lr=m(\"$ZodCheckStringFormat\",(e,t)=>{var r,n;G.init(e,t),e._zod.onattach.push(o=>{let i=o._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:\"string\",code:\"invalid_format\",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),wc=m(\"$ZodCheckRegex\",(e,t)=>{lr.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:\"string\",code:\"invalid_format\",format:\"regex\",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),zc=m(\"$ZodCheckLowerCase\",(e,t)=>{t.pattern??(t.pattern=uc),lr.init(e,t)}),$c=m(\"$ZodCheckUpperCase\",(e,t)=>{t.pattern??(t.pattern=lc),lr.init(e,t)}),kc=m(\"$ZodCheckIncludes\",(e,t)=>{G.init(e,t);let r=Re(t.includes),n=new RegExp(typeof t.position==\"number\"?`^.{${t.position},}${r}`:r);t.pattern=n,e._zod.onattach.push(o=>{let i=o._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:\"string\",code:\"invalid_format\",format:\"includes\",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),Sc=m(\"$ZodCheckStartsWith\",(e,t)=>{G.init(e,t);let r=new RegExp(`^${Re(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{let o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:\"string\",code:\"invalid_format\",format:\"starts_with\",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Ic=m(\"$ZodCheckEndsWith\",(e,t)=>{G.init(e,t);let r=new RegExp(`.*${Re(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{let o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:\"string\",code:\"invalid_format\",format:\"ends_with\",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});Lo=m(\"$ZodCheckProperty\",(e,t)=>{G.init(e,t),e._zod.check=r=>{let n=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(o=>Rf(o,r,t.property));Rf(n,r,t.property)}}),Pc=m(\"$ZodCheckMimeType\",(e,t)=>{G.init(e,t);let r=new Set(t.mime);e._zod.onattach.push(n=>{n._zod.bag.mime=t.mime}),e._zod.check=n=>{r.has(n.value.type)||n.issues.push({code:\"invalid_value\",values:t.mime,input:n.value.type,inst:e,continue:!t.abort})}}),Tc=m(\"$ZodCheckOverwrite\",(e,t)=>{G.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}})});var zt,Vo=y(()=>{zt=class{constructor(t=[],r={}){this.content=[],this.indent=0,this.args=t,this.closed=r}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 n=t.split(`\n`).filter(s=>s),o=Math.min(...n.map(s=>s.length-s.trimStart().length)),i=n.map(s=>s.slice(o)).map(s=>\" \".repeat(this.indent*2)+s);for(let s of i)this.content.push(s)}compile(){let t=Function,r=this?.content??[\"\"];return new t(...Object.keys(this.closed),`return function (${this.args.join(\", \")}) {\n${r.join(`\n`)}\n};`)(...Object.values(this.closed))}}});var Ec,Ac=y(()=>{Ec={major:4,minor:5,patch:4}});function Jo(e){return{validate:t=>{try{return Df(ar(e,t))}catch{return Wr(e,t).then(Df)}},vendor:\"zod\",version:1}}function Bo(e,t){if(!t.normalize&&t.protocol?.source===Xa.source&&!/^https?:\\/\\//i.test(e))return Rc;try{return new URL(e)}catch{return jc}}function Ko(e){return e.replace(n_,\"\")}function Wo(e,t){return t.lastIndex=0,t.test(e.hostname)}function Qo(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(\":\")?e.protocol.slice(0,-1):e.protocol)}function tn(e){if(!o_.test(e))return!1;try{return new URL(`http://[${e}]`),!0}catch{return!1}}function Go(e){let t=e.split(\"/\");if(t.length!==2)return!1;let[r,n]=t;if(!n)return!1;let o=Number(n);return`${o}`!==n||o<0||o>128?!1:tn(r)}function rn(e){if(e===\"\")return!0;if(/\\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}function Yo(e){if(!Co.test(e))return!1;let t=e.replace(/[-_]/g,n=>n===\"-\"?\"+\":\"/\"),r=t.padEnd(Math.ceil(t.length/4)*4,\"=\");return rn(r)}function s_(e){let t=e.length,r=1,n=0;for(;t;){let o=+e[--t];r^=1,n+=r?[0,2,4,6,8,1,3,5,7,9][o]:o}return n%10===0}function Xo(e){return Zo.test(e)?s_(e.replace(i_,\"\")):!1}function ei(e,t=null){try{let r=e.split(\".\");if(r.length!==3)return!1;let[n]=r;if(!n)return!1;let o=JSON.parse(atob(n));return!(\"typ\"in o&&o?.typ!==\"JWT\"||!o.alg||t&&(!(\"alg\"in o)||o.alg!==t))}catch{return!1}}function Lf(e,t,r){e.issues.length&&t.issues.push(...ze(r,e.issues)),t.value[r]=e.value}function Ho(e,t,r,n,o,i){let s=r in n,a=i===\"optional\";if(!(!s&&a&&o===\"optional\")){if(e.issues.length){if(o!==void 0&&a&&!s)return;t.issues.push(...ze(r,e.issues))}if(!s&&o===void 0){e.issues.length||t.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:void 0,path:[r]});return}e.value===void 0?s&&(t.value[r]=void 0):t.value[r]=e.value}}function em(e){let t=Object.keys(e.shape),r=Object.getOwnPropertySymbols(e.shape),n=r.length?r:a_,o=n.length?[...t,...n]:t;for(let s of o)if(!e.shape?.[s]?._zod?.traits?.has(\"$ZodType\"))throw new Error(`Invalid element at key \"${String(s)}\": expected a Zod schema`);let i=va(e.shape);return{...e,allKeys:o,symbolKeys:n,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function tm(e,t,r,n,o,i){let s=[],a=o.keySet,c=o.catchall._zod,u=c.def.type,l=c.optin,d=c.optout;for(let f in t){if(a.has(f))continue;if(f===\"__proto__\"){u===\"never\"&&s.push(f);continue}if(u===\"never\"){s.push(f);continue}let h=c.run({value:t[f],issues:[]},n);h instanceof Promise?e.push(h.then(b=>Ho(b,r,f,t,l,d))):Ho(h,r,f,t,l,d)}return s.length&&r.issues.push({code:\"unrecognized_keys\",keys:s,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>r):r}function Mf(e,t,r,n){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let o=e.filter(i=>!ot(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:\"invalid_union\",input:t.value,inst:r,errors:e.map(i=>i.issues.map(s=>$e(s,n,re())))}),t)}function Vf(e,t,r,n){let o=[];for(let i=0;i<e.length;i++)e[i].issues.length===0&&o.push(i);return o.length===1?(t.value=e[o[0]].value,t):(o.length===0?t.issues.push({code:\"invalid_union\",input:t.value,inst:r,errors:e.map(i=>i.issues.map(s=>$e(s,n,re())))}):t.issues.push({code:\"invalid_union\",input:t.value,inst:r,errors:[],inclusive:!1,matches:o}),t)}function ni(e,t){let r=e._zod,n=r.bag.optionsMap;if(!n){n=new Map;let{options:o,discriminator:i}=r.def;for(let s of o)for(let a of s._zod.propValues?.[i]??[])n.has(a)||n.set(a,s);r.bag.optionsMap=n}return n.get(t)}function pr(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(Ze(e)&&Ze(t)){let r=Object.keys(t),n=Object.keys(e).filter(i=>r.indexOf(i)!==-1),o={...e,...t};Object.prototype.hasOwnProperty.call(o,\"__proto__\")&&delete o.__proto__;for(let i of n){if(i===\"__proto__\")continue;let s=pr(e[i],t[i]);if(!s.valid)return{valid:!1,mergeErrorPath:[i,...s.mergeErrorPath]};o[i]=s.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let n=0;n<e.length;n++){let o=e[n],i=t[n],s=pr(o,i);if(!s.valid)return{valid:!1,mergeErrorPath:[n,...s.mergeErrorPath]};r.push(s.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function Ff(e,t,r){let n=new Map,o,i=new Map,s=(u,l)=>{let d;if(u.code===\"unrecognized_keys\"&&!u.path?.length)o??(o=u),d=u.keys;else if(u.code===\"invalid_key\"&&u.origin===\"record\"&&u.path?.length===1){let f=String(u.path[0]);i.has(f)||i.set(f,u),d=[f]}else return!1;for(let f of d)n.has(f)||n.set(f,{}),n.get(f)[l]=!0;return!0};for(let u of t.issues)s(u,\"l\")||e.issues.push(u);for(let u of r.issues)s(u,\"r\")||e.issues.push(u);let a=[...n].filter(([,u])=>u.l&&u.r).map(([u])=>u);if(a.length){let u=o?a.filter(l=>o.keys.includes(l)):[];u.length&&e.issues.push({...o,keys:u});for(let l of a)!u.includes(l)&&i.has(l)&&e.issues.push(i.get(l))}let c=pr(t.value,r.value);if(!c.valid){if(ot(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}function qf(e,t){for(let r=e.length-1;r>=0;r--)if(!(t===\"optin\"?e[r]._zod.optin!==void 0:e[r]._zod.optout===\"optional\"))return r+1;return 0}function Uf(e,t,r){e.issues.length&&t.issues.push(...ze(r,e.issues)),t.value[r]=e.value}function Hf(e,t,r,n,o){for(let i=0;i<r.length;i++){let s=e[i],a=i<n.length;if(!a&&i>=o&&r[i]._zod.optin===\"optional\"){t.value.length=i;break}if(s.issues.length){if(!a&&i>=o){t.value.length=i;break}t.issues.push(...ze(i,s.issues))}t.value[i]=s.value}for(let i=t.value.length-1;i>=n.length&&(r[i]._zod.optout===\"optional\"&&t.value[i]===void 0);i--)t.value.length=i;return t}function Jf(e,t,r,n,o,i,s){e.issues.length&&(qr.has(typeof n)?r.issues.push(...ze(n,e.issues)):r.issues.push({code:\"invalid_key\",origin:\"map\",input:o,inst:i,issues:e.issues.map(a=>$e(a,s,re()))})),t.issues.length&&(qr.has(typeof n)?r.issues.push(...ze(n,t.issues)):r.issues.push({origin:\"map\",code:\"invalid_element\",input:o,inst:i,key:n,issues:t.issues.map(a=>$e(a,s,re()))})),r.value.set(e.value,t.value)}function Bf(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}function Kf(e,t){return e.value=t.issues.length?void 0:t.value,e}function Wf(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function Qf(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:e.value,inst:t}),e}function Gf(e,t,r,n){return t.issues.length?(e.value=r.catchValue({...t,value:e.value,error:{issues:t.issues.map(o=>$e(o,n,re()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}function Fo(e,t,r){return e.issues.some(n=>n.code!==\"unrecognized_keys\")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}function qo(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||\"forward\")===\"forward\"){let o=t.transform(e.value,e);return o instanceof Promise?o.then(i=>Uo(e,i,t.out,r)):Uo(e,o,t.out,r)}else{let o=t.reverseTransform(e.value,e);return o instanceof Promise?o.then(i=>Uo(e,i,t.in,r)):Uo(e,o,t.in,r)}}function Uo(e,t,r,n){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},n)}function Yf(e){return e.memo||(e.value=Object.freeze(e.value)),e}function Xf(e,t,r,n){if(!e){let o={code:\"custom\",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(o.params=n._zod.def.params),t.issues.push(tr(o))}}var A,Df,$t,B,Nc,Cc,Zc,Rc,jc,n_,Dc,Lc,Mc,Vc,Fc,qc,Uc,Hc,Jc,Bc,Kc,Wc,Qc,o_,Gc,Yc,Xc,eu,tu,ru,nu,i_,ou,iu,su,ti,au,nn,ri,cu,uu,lu,pu,du,fu,mu,hu,gu,bu,a_,Oc,rm,yu,on,_u,xu,vu,oi,wu,zu,$u,ku,Su,Iu,Pu,ii,Tu,Eu,Au,Ou,Nu,Cu,Zu,Ru,si,sn,ju,Du,Lu,Mu,Vu,an,Fu,cn=y(()=>{Mo();it();Vo();Ca();ur();ie();Ac();ie();A=m(\"$ZodType\",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Ec;let n=e._zod.def.checks,o=e._zod.traits.has(\"$ZodCheck\")?[e,...n??[]]:n?.length?[...n]:[];for(let i of o)for(let s of i._zod.onattach)s(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(a,c,u)=>{if(a.memo)return a;let l=ot(a),d;for(let f of c){if(f._zod.def.when){if($a(a)||!f._zod.def.when(a))continue}else if(l)continue;let h=a.issues.length,b=f._zod.check(a);if(b instanceof Promise&&u?.async===!1)throw new ke;if(d||b instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await b,a.issues.length!==h&&(_o(a.issues,h,e),l||(l=ot(a,h)))});else{if(a.issues.length===h)continue;_o(a.issues,h,e),l||(l=ot(a,h))}}return d?d.then(()=>a):a},s=(a,c,u)=>{if(ot(a))return a.aborted=!0,a;let l=i(c,o,u);if(l instanceof Promise){if(u.async===!1)throw new ke;return l.then(d=>e._zod.parse(d,u))}return e._zod.parse(l,u)};e._zod.run=(a,c)=>{if(c.skipChecks)return e._zod.parse(a,c);if(c.direction===\"backward\"){let l=e._zod.parse({value:a.value,issues:[]},{...c,skipChecks:!0});return l instanceof Promise?l.then(d=>s(d,a,c)):s(l,a,c)}let u=e._zod.parse(a,c);if(u instanceof Promise){if(c.async===!1)throw new ke;return u.then(l=>i(l,o,c))}return i(u,o,c)}}},{get\"~standard\"(){return Ia(this,\"~standard\",Jo(this))},set\"~standard\"(e){Gt(this,\"~standard\",e)}}),Df=e=>e.success?{value:e.data}:{issues:e.error?.issues};$t=m(\"$ZodString\",(e,t)=>{A.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??oc(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value==\"string\"||r.issues.push({expected:\"string\",code:\"invalid_type\",input:r.value,inst:e}),r}}),B=m(\"$ZodStringFormat\",(e,t)=>{lr.init(e,t),$t.init(e,t)}),Nc=m(\"$ZodGUID\",(e,t)=>{t.pattern??(t.pattern=Ua),B.init(e,t)}),Cc=m(\"$ZodUUID\",(e,t)=>{if(t.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: \"${t.version}\"`);t.pattern??(t.pattern=wt(n))}else t.pattern??(t.pattern=wt());B.init(e,t)}),Zc=m(\"$ZodEmail\",(e,t)=>{t.pattern??(t.pattern=Ha),B.init(e,t)}),Rc=1,jc=2;n_=/[\\t\\n\\r]/g;Dc=m(\"$ZodURL\",(e,t)=>{B.init(e,t),e._zod.check=r=>{try{let n=r.value.trim(),o=Bo(n,t);if(o===Rc){r.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid URL format\",input:r.value,inst:e,continue:!t.abort});return}if(o===jc){r.issues.push({code:\"invalid_format\",format:\"url\",input:r.value,inst:e,continue:!t.abort});return}t.hostname&&!Wo(o,t.hostname)&&r.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid hostname\",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort}),t.protocol&&!Qo(o,t.protocol)&&r.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid protocol\",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort}),r.value=t.normalize?o.href:Ko(n);return}catch{r.issues.push({code:\"invalid_format\",format:\"url\",input:r.value,inst:e,continue:!t.abort})}}}),Lc=m(\"$ZodEmoji\",(e,t)=>{t.pattern??(t.pattern=Ja()),B.init(e,t)}),Mc=m(\"$ZodNanoID\",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?Va:Fa(t.length)),B.init(e,t)}),Vc=m(\"$ZodCUID\",(e,t)=>{t.pattern??(t.pattern=Ra),B.init(e,t)}),Fc=m(\"$ZodCUID2\",(e,t)=>{t.pattern??(t.pattern=ja),B.init(e,t)}),qc=m(\"$ZodULID\",(e,t)=>{t.pattern??(t.pattern=Da),B.init(e,t)}),Uc=m(\"$ZodXID\",(e,t)=>{t.pattern??(t.pattern=La),B.init(e,t)}),Hc=m(\"$ZodKSUID\",(e,t)=>{t.pattern??(t.pattern=Ma),B.init(e,t)}),Jc=m(\"$ZodISODateTime\",(e,t)=>{t.pattern??(t.pattern=nc(t)),B.init(e,t),(t.local||t.precision===-1)&&(e._zod.bag.laxFormat=!0,e._zod.onattach.push(r=>{r._zod.bag.laxFormat=!0}))}),Bc=m(\"$ZodISODate\",(e,t)=>{t.pattern??(t.pattern=tc),B.init(e,t)}),Kc=m(\"$ZodISOTime\",(e,t)=>{t.pattern??(t.pattern=rc(t)),B.init(e,t)}),Wc=m(\"$ZodISODuration\",(e,t)=>{t.pattern??(t.pattern=qa),B.init(e,t)}),Qc=m(\"$ZodIPv4\",(e,t)=>{t.pattern??(t.pattern=Ba),B.init(e,t),e._zod.bag.format=\"ipv4\"}),o_=/^[0-9a-fA-F:.]+$/;Gc=m(\"$ZodIPv6\",(e,t)=>{t.pattern??(t.pattern=Ka),B.init(e,t),e._zod.bag.format=\"ipv6\",e._zod.check=r=>{tn(r.value)||r.issues.push({code:\"invalid_format\",format:\"ipv6\",input:r.value,inst:e,continue:!t.abort})}}),Yc=m(\"$ZodMAC\",(e,t)=>{t.pattern??(t.pattern=Wa(t.delimiter)),B.init(e,t),e._zod.bag.format=\"mac\"}),Xc=m(\"$ZodCIDRv4\",(e,t)=>{t.pattern??(t.pattern=Qa),B.init(e,t)});eu=m(\"$ZodCIDRv6\",(e,t)=>{t.pattern??(t.pattern=Ga),B.init(e,t),e._zod.check=r=>{Go(r.value)||r.issues.push({code:\"invalid_format\",format:\"cidrv6\",input:r.value,inst:e,continue:!t.abort})}});tu=m(\"$ZodBase64\",(e,t)=>{t.pattern??(t.pattern=Ya),B.init(e,t),e._zod.bag.contentEncoding=\"base64\",e._zod.check=r=>{rn(r.value)||r.issues.push({code:\"invalid_format\",format:\"base64\",input:r.value,inst:e,continue:!t.abort})}});ru=m(\"$ZodBase64URL\",(e,t)=>{t.pattern??(t.pattern=Co),B.init(e,t),e._zod.bag.contentEncoding=\"base64url\",e._zod.check=r=>{Yo(r.value)||r.issues.push({code:\"invalid_format\",format:\"base64url\",input:r.value,inst:e,continue:!t.abort})}}),nu=m(\"$ZodE164\",(e,t)=>{t.pattern??(t.pattern=ec),B.init(e,t)}),i_=/[- ]/g;ou=m(\"$ZodCreditCard\",(e,t)=>{t.pattern??(t.pattern=Zo),B.init(e,t),e._zod.check=r=>{Xo(r.value)||r.issues.push({code:\"invalid_format\",format:\"credit_card\",input:r.value,inst:e,continue:!t.abort})}});iu=m(\"$ZodJWT\",(e,t)=>{B.init(e,t),e._zod.check=r=>{ei(r.value,t.alg)||r.issues.push({code:\"invalid_format\",format:\"jwt\",input:r.value,inst:e,continue:!t.abort})}}),su=m(\"$ZodCustomStringFormat\",(e,t)=>{B.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:\"invalid_format\",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),ti=m(\"$ZodNumber\",(e,t)=>{A.init(e,t),e._zod.pattern=e._zod.bag.pattern??at,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let o=r.value;if(typeof o==\"number\"&&!Number.isNaN(o)&&Number.isFinite(o))return r;let i=typeof o==\"number\"?Number.isNaN(o)?\"NaN\":Number.isFinite(o)?void 0:String(o):void 0;return r.issues.push({expected:\"number\",code:\"invalid_type\",input:o,inst:e,...i?{received:i}:{}}),r}}),au=m(\"$ZodNumberFormat\",(e,t)=>{mc.init(e,t),ti.init(e,t)}),nn=m(\"$ZodBoolean\",(e,t)=>{A.init(e,t),e._zod.pattern=sc,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}let o=r.value;return typeof o==\"boolean\"||r.issues.push({expected:\"boolean\",code:\"invalid_type\",input:o,inst:e}),r}}),ri=m(\"$ZodBigInt\",(e,t)=>{A.init(e,t),e._zod.pattern=ic,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value==\"bigint\"||r.issues.push({expected:\"bigint\",code:\"invalid_type\",input:r.value,inst:e}),r}}),cu=m(\"$ZodBigIntFormat\",(e,t)=>{hc.init(e,t),ri.init(e,t)}),uu=m(\"$ZodSymbol\",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o==\"symbol\"||r.issues.push({expected:\"symbol\",code:\"invalid_type\",input:o,inst:e}),r}}),lu=m(\"$ZodUndefined\",(e,t)=>{A.init(e,t),e._zod.pattern=cc,e._zod.values=new Set([void 0]),e._zod.parse=(r,n)=>{let o=r.value;return typeof o>\"u\"||r.issues.push({expected:\"undefined\",code:\"invalid_type\",input:o,inst:e}),r}}),pu=m(\"$ZodNull\",(e,t)=>{A.init(e,t),e._zod.pattern=ac,e._zod.values=new Set([null]),e._zod.parse=(r,n)=>{let o=r.value;return o===null||r.issues.push({expected:\"null\",code:\"invalid_type\",input:o,inst:e}),r}}),du=m(\"$ZodAny\",(e,t)=>{A.init(e,t),e._zod.parse=r=>r}),fu=m(\"$ZodUnknown\",(e,t)=>{A.init(e,t),e._zod.parse=r=>r}),mu=m(\"$ZodNever\",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:\"never\",code:\"invalid_type\",input:r.value,inst:e}),r)}),hu=m(\"$ZodVoid\",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o>\"u\"||r.issues.push({expected:\"void\",code:\"invalid_type\",input:o,inst:e}),r}}),gu=m(\"$ZodDate\",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let o=r.value,i=o instanceof Date;return i&&!Number.isNaN(o.getTime())||r.issues.push({expected:\"date\",code:\"invalid_type\",input:o,...i?{received:\"Invalid Date\"}:{},inst:e}),r}});bu=m(\"$ZodArray\",(e,t)=>{A.init(e,t);let r=ce.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:\"array\",code:\"invalid_type\",input:i,inst:e}),n;n.value=r?r.alloc(e,n,Array(i.length),o):Array(i.length);let s=[];for(let a=0;a<i.length;a++){let c=i[a],u=t.element._zod.run({value:c,issues:[]},o);u instanceof Promise?s.push(u.then(l=>Lf(l,n,a))):Lf(u,n,a)}return s.length?Promise.all(s).then(()=>n):n}});a_=[];Oc=new WeakMap,rm=m(\"$ZodObject\",(e,t)=>{if(A.init(e,t),!Object.getOwnPropertyDescriptor(t,\"shape\")?.get){let c=t.shape;Oc.set(t,c),Object.defineProperty(t,\"shape\",{get:()=>{let u={...c};return Object.defineProperty(t,\"shape\",{value:u}),Oc.set(t,u),u}})}let n=er(()=>em(t));C(e,\"propValues\",c=>{let u=c.def.shape,l={};for(let d in u){let f=u[d]._zod;if(f.values){Object.prototype.hasOwnProperty.call(l,d)||te(l,d,new Set);for(let h of f.values)l[d].add(h);f.optin!==void 0&&l[d].add(void 0)}}return l});let o=xt,i=t.catchall,s,a=ce.memoizer;a?.attach(e),e._zod.parse=(c,u)=>{s??(s=n.value);let l=c.value;if(!o(l))return c.issues.push({expected:\"object\",code:\"invalid_type\",input:l,inst:e}),c;c.value=a?a.alloc(e,c,{},u):{};let d=[],f=s.shape;for(let h of s.allKeys){if(h===\"__proto__\")continue;let b=f[h],x=b._zod.optin,v=b._zod.optout,L=b._zod.run({value:l[h],issues:[]},u);L instanceof Promise?d.push(L.then(w=>Ho(w,c,h,l,x,v))):Ho(L,c,h,l,x,v)}return i?tm(d,l,c,u,n.value,e):d.length?Promise.all(d).then(()=>c):c}}),yu=m(\"$ZodObjectJIT\",(e,t)=>{rm.init(e,t);let r=e._zod.parse,n=er(()=>em(t)),o=ce.memoizer,i=h=>{let b=n.value,x=b.symbolKeys,v=new zt([\"payload\",\"ctx\"],{shape:h,inst:e,memo:o,syms:x}),L=X=>`shape[${X}]._zod.run({ value: input[${X}], issues: [] }, ctx)`,w=(X,D)=>`\n for (let i = 0; i < ${X}.issues.length; i++) {\n const iss = ${X}.issues[i];\n iss.path = iss.path ? [${D}, ...iss.path] : [${D}];\n payload.issues.push(iss);\n }`;v.write(\"const input = payload.value;\");let I=Object.create(null),M=0;for(let X of b.allKeys)I[X]=`key_${M++}`;v.write(o?\"const newResult = memo.alloc(inst, payload, {}, ctx);\":\"const newResult = {};\");for(let X of b.allKeys){if(X===\"__proto__\")continue;let D=I[X],ge=typeof X==\"symbol\"?`syms[${x.indexOf(X)}]`:we(X),Dr=`${ge} in input`,hf=h[X],gf=hf?._zod?.optin,bf=gf!==void 0,Vb=hf?._zod?.optout===\"optional\";if(v.write(`const ${D} = ${L(ge)};`),bf&&Vb){let Fb=gf===\"optional\"?`${D}_present`:`${D}.value !== undefined || ${D}_present`;v.write(`\n const ${D}_present = ${Dr};\n if (!${D}.issues.length || ${D}_present) {\n if (${D}.issues.length) {${w(D,ge)}\n }\n\n if (${Fb}) {\n newResult[${ge}] = ${D}.value;\n }\n }\n\n `)}else bf?v.write(`\n if (${D}.issues.length) {${w(D,ge)}\n }\n \n if (${D}.value === undefined) {\n if (${Dr}) {\n newResult[${ge}] = undefined;\n }\n } else {\n newResult[${ge}] = ${D}.value;\n }\n\n `):v.write(`\n const ${D}_present = ${Dr};\n if (${D}.issues.length) {${w(D,ge)}\n }\n if (!${D}_present && !${D}.issues.length) {\n payload.issues.push({\n code: \"invalid_type\",\n expected: \"nonoptional\",\n input: undefined,\n path: [${ge}]\n });\n }\n\n if (${D}_present) {\n newResult[${ge}] = ${D}.value;\n }\n\n `)}return v.write(\"payload.value = newResult;\"),v.write(\"return payload;\"),v.compile()},s,a=xt,c=!ce.jitless,l=c&&_a.value,d=t.catchall,f;e._zod.parse=(h,b)=>{f??(f=n.value);let x=h.value;return a(x)?c&&l&&b?.async===!1&&b.jitless!==!0?(s||(s=i(t.shape)),h=s(h,b),d?tm([],x,h,b,f,e):h):r(h,b):(h.issues.push({expected:\"object\",code:\"invalid_type\",input:x,inst:e}),h)}});on=m(\"$ZodUnion\",(e,t)=>{A.init(e,t),C(e,\"optin\",n=>n.def.options.some(o=>o._zod.optin===\"defaulted\")?\"defaulted\":n.def.options.some(o=>o._zod.optin!==void 0)?\"optional\":void 0),C(e,\"optout\",n=>n.def.options.some(o=>o._zod.optout===\"optional\")?\"optional\":void 0),C(e,\"values\",n=>{if(n.def.options.every(o=>o._zod.values))return new Set(n.def.options.flatMap(o=>Array.from(o._zod.values)))}),C(e,\"pattern\",n=>{if(n.def.options.every(o=>o._zod.pattern)){let o=n.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>Mr(i.source)).join(\"|\")})$`)}});let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,o)=>{if(r)return r(n,o);let i=!1,s=[];for(let a of t.options){let c=a._zod.run({value:n.value,issues:[]},o);if(c instanceof Promise)s.push(c),i=!0;else{if(c.issues.length===0)return c;s.push(c)}}return i?Promise.all(s).then(a=>Mf(a,n,e,o)):Mf(s,n,e,o)}});_u=m(\"$ZodXor\",(e,t)=>{on.init(e,t),t.inclusive=!1;let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,o)=>{if(r)return r(n,o);let i=!1,s=[];for(let a of t.options){let c=a._zod.run({value:n.value,issues:[]},o);c instanceof Promise?(s.push(c),i=!0):s.push(c)}return i?Promise.all(s).then(a=>Vf(a,n,e,o)):Vf(s,n,e,o)}});xu=m(\"$ZodDiscriminatedUnion\",(e,t)=>{t.inclusive=!1,on.init(e,t);let r=e._zod.parse;C(e,\"propValues\",o=>{let i={};for(let s of o.def.options){let a=s._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index \"${o.def.options.indexOf(s)}\"`);for(let[c,u]of Object.entries(a)){Object.prototype.hasOwnProperty.call(i,c)||te(i,c,new Set);for(let l of u)i[c].add(l)}}return i}),t.options.forEach((o,i)=>{let s=Oc.get(o._zod.def);if(s&&!Object.prototype.hasOwnProperty.call(s,t.discriminator))throw new Error(`Invalid discriminated union option at index \"${i}\"`)});let n=er(()=>{let o=t.options,i=new Map;for(let s of o){let a=s._zod.propValues?.[t.discriminator];if(!a||a.size===0)throw new Error(`Invalid discriminated union option at index \"${t.options.indexOf(s)}\"`);for(let c of a){if(i.has(c))throw new Error(`Duplicate discriminator value \"${String(c)}\"`);i.set(c,s)}}return i});e._zod.parse=(o,i)=>{let s=o.value;if(!xt(s))return o.issues.push({code:\"invalid_type\",expected:\"object\",input:s,inst:e}),o;let a=n.value.get(s?.[t.discriminator]);return a?a._zod.run(o,i):t.unionFallback||i.direction===\"backward\"?r(o,i):(o.issues.push({code:\"invalid_union\",errors:[],note:\"No matching discriminator\",discriminator:t.discriminator,options:Array.from(n.value.keys()),input:s,path:[t.discriminator],inst:e}),o)}}),vu=m(\"$ZodIntersection\",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value,i=t.left._zod.run({value:o,issues:[]},n),s=t.right._zod.run({value:o,issues:[]},n);return i instanceof Promise||s instanceof Promise?Promise.all([i,s]).then(([c,u])=>Ff(r,c,u)):Ff(r,i,s)}});oi=m(\"$ZodTuple\",(e,t)=>{A.init(e,t);let r=t.items,n=ce.memoizer;n?.attach(e),e._zod.parse=(o,i)=>{let s=o.value;if(!Array.isArray(s))return o.issues.push({input:s,inst:e,expected:\"tuple\",code:\"invalid_type\"}),o;o.value=n?n.alloc(e,o,[],i):[];let a=[],c=qf(r,\"optin\"),u=qf(r,\"optout\");if(!t.rest){if(s.length<c)return o.issues.push({code:\"too_small\",minimum:c,inclusive:!0,input:s,inst:e,origin:\"array\"}),o;s.length>r.length&&o.issues.push({code:\"too_big\",maximum:r.length,inclusive:!0,input:s,inst:e,origin:\"array\"})}let l=new Array(r.length);for(let d=0;d<r.length;d++){let f=r[d]._zod.run({value:s[d],issues:[]},i);f instanceof Promise?a.push(f.then(h=>{l[d]=h})):l[d]=f}if(t.rest){let d=r.length-1,f=s.slice(r.length);for(let h of f){d++;let b=t.rest._zod.run({value:h,issues:[]},i);b instanceof Promise?a.push(b.then(x=>Uf(x,o,d))):Uf(b,o,d)}}return a.length?Promise.all(a).then(()=>Hf(l,o,r,s,u)):Hf(l,o,r,s,u)}});wu=m(\"$ZodRecord\",(e,t)=>{A.init(e,t);let r=ce.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!Ze(i))return n.issues.push({expected:\"record\",code:\"invalid_type\",input:i,inst:e}),n;let s=[],a=t.keyType._zod.values;if(a&&!t.partial){n.value=r?r.alloc(e,n,{},o):{};let c=new Set;for(let l of a)if(typeof l==\"string\"||typeof l==\"number\"||typeof l==\"symbol\"){if(c.add(typeof l==\"number\"?l.toString():l),l===\"__proto__\")continue;let d=t.keyType._zod.run({value:l,issues:[]},o);if(d instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(d.issues.length){n.issues.push({code:\"invalid_key\",origin:\"record\",issues:d.issues.map(b=>$e(b,o,re())),input:l,path:[l],inst:e});continue}let f=d.value;if(f===\"__proto__\")continue;let h=t.valueType._zod.run({value:i[l],issues:[]},o);h instanceof Promise?s.push(h.then(b=>{b.issues.length&&n.issues.push(...ze(l,b.issues)),n.value[f]=b.value})):(h.issues.length&&n.issues.push(...ze(l,h.issues)),n.value[f]=h.value)}let u;for(let l in i)if(!c.has(l))if(t.mode===\"loose\"){if(l===\"__proto__\")continue;n.value[l]=i[l]}else u=u??[],u.push(l);u&&u.length>0&&n.issues.push({code:\"unrecognized_keys\",input:i,inst:e,keys:u,continue:!0})}else{n.value=r?r.alloc(e,n,{},o):{};let c;for(let u of Reflect.ownKeys(i)){if(u===\"__proto__\"||!Object.prototype.propertyIsEnumerable.call(i,u))continue;let l=t.keyType._zod.run({value:u,issues:[]},o);if(l instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(typeof u==\"string\"&&at.test(u)&&l.issues.length){let b=t.keyType._zod.run({value:Number(u),issues:[]},o);if(b instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");b.issues.length===0&&(l=b)}if(l.issues.length){t.mode===\"loose\"?n.value[u]=i[u]:a?(c=c??[],c.push(u)):n.issues.push({code:\"invalid_key\",origin:\"record\",issues:l.issues.map(b=>$e(b,o,re())),input:u,path:[u],inst:e});continue}let f=l.value;if(f===\"__proto__\")continue;let h=t.valueType._zod.run({value:i[u],issues:[]},o);h instanceof Promise?s.push(h.then(b=>{b.issues.length&&n.issues.push(...ze(u,b.issues)),n.value[f]=b.value})):(h.issues.length&&n.issues.push(...ze(u,h.issues)),n.value[f]=h.value)}c&&c.length>0&&n.issues.push({code:\"unrecognized_keys\",input:i,inst:e,keys:c,continue:!0})}return s.length?Promise.all(s).then(()=>n):n}}),zu=m(\"$ZodMap\",(e,t)=>{A.init(e,t);let r=ce.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:\"map\",code:\"invalid_type\",input:i,inst:e}),n;let s=[];n.value=r?r.alloc(e,n,new Map,o):new Map;for(let[a,c]of i){let u=t.keyType._zod.run({value:a,issues:[]},o),l=t.valueType._zod.run({value:c,issues:[]},o);u instanceof Promise||l instanceof Promise?s.push(Promise.all([u,l]).then(([d,f])=>{Jf(d,f,n,a,i,e,o)})):Jf(u,l,n,a,i,e,o)}return s.length?Promise.all(s).then(()=>n):n}});$u=m(\"$ZodSet\",(e,t)=>{A.init(e,t);let r=ce.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:\"set\",code:\"invalid_type\"}),n;let s=[];n.value=r?r.alloc(e,n,new Set,o):new Set;for(let a of i){let c=t.valueType._zod.run({value:a,issues:[]},o);c instanceof Promise?s.push(c.then(u=>Bf(u,n))):Bf(c,n)}return s.length?Promise.all(s).then(()=>n):n}});ku=m(\"$ZodEnum\",(e,t)=>{A.init(e,t);let r=Lr(t.entries),n=new Set(r);e._zod.values=n;let o=r.filter(i=>qr.has(typeof i));e._zod.pattern=new RegExp(o.length?`^(${o.map(i=>Re(i.toString())).join(\"|\")})$`:\"^[^\\\\s\\\\S]$\"),e._zod.parse=(i,s)=>{let a=i.value;return n.has(a)||i.issues.push({code:\"invalid_value\",values:r,input:a,inst:e}),i}}),Su=m(\"$ZodLiteral\",(e,t)=>{A.init(e,t);let r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(t.values.length?`^(${t.values.map(n=>typeof n==\"string\"?Re(n):n?Re(n.toString()):String(n)).join(\"|\")})$`:\"^[^\\\\s\\\\S]$\"),e._zod.parse=(n,o)=>{let i=n.value;return r.has(i)||n.issues.push({code:\"invalid_value\",values:t.values,input:i,inst:e}),n}}),Iu=m(\"$ZodFile\",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return o instanceof File||r.issues.push({expected:\"file\",code:\"invalid_type\",input:o,inst:e}),r}}),Pu=m(\"$ZodTransform\",(e,t)=>{A.init(e,t),e._zod.optin=\"optional\",ce.memoizer?.guard(e),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")throw new st(e.constructor.name);let o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(s=>(r.value=s,r));if(o instanceof Promise)throw new ke;return r.value=o,r}});ii=m(\"$ZodOptional\",(e,t)=>{A.init(e,t),C(e,\"optin\",r=>r.def.innerType._zod.optin===\"defaulted\"?\"defaulted\":\"optional\"),e._zod.optout=\"optional\",C(e,\"values\",r=>{let n=r.def.innerType._zod.values;return n?new Set([...n,void 0]):void 0}),C(e,\"pattern\",r=>{let n=r.def.innerType._zod.pattern;return n?new RegExp(`^(${Mr(n.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(r.value===void 0){if(t.innerType._zod.optin!==\"defaulted\")return r;let o=t.innerType._zod.run({value:r.value,issues:[]},n);return o instanceof Promise?o.then(i=>Kf(r,i)):Kf(r,o)}return t.innerType._zod.run(r,n)}}),Tu=m(\"$ZodExactOptional\",(e,t)=>{ii.init(e,t),C(e,\"values\",r=>r.def.innerType._zod.values),C(e,\"pattern\",r=>r.def.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)}),Eu=m(\"$ZodNullable\",(e,t)=>{A.init(e,t),C(e,\"optin\",r=>r.def.innerType._zod.optin),C(e,\"optout\",r=>r.def.innerType._zod.optout),C(e,\"pattern\",r=>{let n=r.def.innerType._zod.pattern;return n?new RegExp(`^(${Mr(n.source)}|null)$`):void 0}),C(e,\"values\",r=>r.def.innerType._zod.values?new Set([...r.def.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),Au=m(\"$ZodDefault\",(e,t)=>{A.init(e,t),e._zod.optin=\"defaulted\",C(e,\"values\",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>Wf(i,t)):Wf(o,t)}});Ou=m(\"$ZodPrefault\",(e,t)=>{A.init(e,t),e._zod.optin=\"defaulted\",C(e,\"values\",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction===\"backward\"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),Nu=m(\"$ZodNonOptional\",(e,t)=>{A.init(e,t),C(e,\"values\",r=>{let n=r.def.innerType._zod.values;return n?new Set([...n].filter(o=>o!==void 0)):void 0}),e._zod.parse=(r,n)=>{let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>Qf(i,e)):Qf(o,e)}});Cu=m(\"$ZodSuccess\",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")throw new st(\"ZodSuccess\");let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>(r.value=i.issues.length===0,r)):(r.value=o.issues.length===0,r)}});Zu=m(\"$ZodCatch\",(e,t)=>{A.init(e,t),C(e,\"optin\",r=>r.def.innerType._zod.optin===\"defaulted\"?\"defaulted\":\"optional\"),C(e,\"optout\",r=>r.def.innerType._zod.optout),C(e,\"values\",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run({value:r.value,issues:[]},n);return o instanceof Promise?o.then(i=>Gf(r,i,t,n)):Gf(r,o,t,n)}}),Ru=m(\"$ZodNaN\",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>((typeof r.value!=\"number\"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:\"nan\",code:\"invalid_type\"}),r)}),si=m(\"$ZodPipe\",(e,t)=>{A.init(e,t),C(e,\"values\",r=>r.def.in._zod.values),C(e,\"optin\",r=>r.def.in._zod.optin),C(e,\"optout\",r=>r.def.out._zod.optout),C(e,\"propValues\",r=>r.def.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction===\"backward\"){let i=t.out._zod.run(r,n);return i instanceof Promise?i.then(s=>Fo(s,t.in,n)):Fo(i,t.in,n)}let o=t.in._zod.run(r,n);return o instanceof Promise?o.then(i=>Fo(i,t.out,n)):Fo(o,t.out,n)}});sn=m(\"$ZodCodec\",(e,t)=>{A.init(e,t),C(e,\"values\",r=>r.def.in._zod.values),C(e,\"optin\",r=>r.def.in._zod.optin),C(e,\"optout\",r=>r.def.out._zod.optout),C(e,\"propValues\",r=>r.def.in._zod.propValues),e._zod.parse=(r,n)=>{if((n.direction||\"forward\")===\"forward\"){let i=t.in._zod.run(r,n);return i instanceof Promise?i.then(s=>qo(s,t,n)):qo(i,t,n)}else{let i=t.out._zod.run(r,n);return i instanceof Promise?i.then(s=>qo(s,t,n)):qo(i,t,n)}}});ju=m(\"$ZodPreprocess\",(e,t)=>{si.init(e,t)}),Du=m(\"$ZodReadonly\",(e,t)=>{A.init(e,t),C(e,\"propValues\",r=>r.def.innerType._zod.propValues),C(e,\"values\",r=>r.def.innerType._zod.values),C(e,\"optin\",r=>r.def.innerType?._zod?.optin),C(e,\"optout\",r=>r.def.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(Yf):Yf(o)}});Lu=m(\"$ZodTemplateLiteral\",(e,t)=>{A.init(e,t);let r=[];for(let n of t.parts)if(typeof n==\"object\"&&n!==null){if(!n._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...n._zod.traits].shift()}`);let o=n._zod.pattern instanceof RegExp?n._zod.pattern.source:n._zod.pattern;if(!o)throw new Error(`Invalid template literal part: ${n._zod.traits}`);let i=o.startsWith(\"^\")?1:0,s=o.endsWith(\"$\")?o.length-1:o.length;r.push(o.slice(i,s))}else if(n===null||xa.has(typeof n))r.push(Re(`${n}`));else throw new Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${r.join(\"\")}$`),e._zod.parse=(n,o)=>typeof n.value!=\"string\"?(n.issues.push({input:n.value,inst:e,expected:\"string\",code:\"invalid_type\"}),n):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:\"invalid_format\",format:t.format??\"template_literal\",pattern:e._zod.pattern.source}),n)}),Mu=m(\"$ZodFunction\",(e,t)=>(A.init(e,t),Object.defineProperty(e,\"_def\",{value:t}),e._zod.def=t,e.implement=r=>{if(typeof r!=\"function\")throw new Error(\"implement() must be called with a function\");return Object.defineProperty(function(...n){let o=e._def.input?Br(e._def.input,n):n,i=Reflect.apply(r,this,o);return e._def.output?Br(e._def.output,i):i},\"_zod\",{value:e._zod,enumerable:!1})},e.implementAsync=r=>{if(typeof r!=\"function\")throw new Error(\"implementAsync() must be called with a function\");return Object.defineProperty(async function(...n){let o=e._def.input?await Kr(e._def.input,n):n,i=await Reflect.apply(r,this,o);return e._def.output?await Kr(e._def.output,i):i},\"_zod\",{value:e._zod,enumerable:!1})},e._zod.parse=(r,n)=>typeof r.value!=\"function\"?(r.issues.push({code:\"invalid_type\",expected:\"function\",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type===\"promise\"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{let n=e.constructor;return Array.isArray(r[0])?new n({type:\"function\",input:new oi({type:\"tuple\",items:r[0],rest:r[1]}),output:e._def.output}):new n({type:\"function\",input:r[0],output:e._def.output})},e.output=r=>{let n=e.constructor;return new n({type:\"function\",input:e._def.input,output:r})},e)),Vu=m(\"$ZodPromise\",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>Promise.resolve(r.value).then(o=>t.innerType._zod.run({value:o,issues:[]},n))}),an=m(\"$ZodLazy\",(e,t)=>{A.init(e,t),ba(e._zod,\"innerType\",()=>{let r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),C(e,\"pattern\",r=>r.innerType?._zod?.pattern),C(e,\"propValues\",r=>r.innerType?._zod?.propValues),C(e,\"optin\",r=>r.innerType?._zod?.optin??void 0),C(e,\"optout\",r=>r.innerType?._zod?.optout??void 0),e._zod.parse=(r,n)=>e._zod.innerType._zod.run(r,n)}),Fu=m(\"$ZodCustom\",(e,t)=>{G.init(e,t),A.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{let n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(i=>Xf(i,r,n,e));Xf(o,r,n,e)}})});function qu(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}function Hu(e,t){let r=im.get(e);if(r!==void 0)return r;if(t.has(e))return!0;t.add(e);let n=!1,o=a=>{!n&&a?._zod&&Hu(a,t)&&(n=!0)},i=e._zod.def,s=i.type;switch(s){case\"object\":{for(let a of Reflect.ownKeys(i.shape))o(i.shape[a]);o(i.catchall);break}case\"array\":o(i.element);break;case\"tuple\":for(let a of i.items)o(a);o(i.rest);break;case\"record\":case\"map\":o(i.keyType),o(i.valueType);break;case\"set\":o(i.valueType);break;case\"union\":for(let a of i.options)o(a);break;case\"intersection\":o(i.left),o(i.right);break;case\"optional\":case\"nullable\":case\"default\":case\"prefault\":case\"catch\":case\"readonly\":case\"nonoptional\":case\"promise\":case\"success\":o(i.innerType);break;case\"pipe\":o(i.in),o(i.out);break;case\"function\":o(i.input),o(i.output);break;case\"lazy\":o(e._zod.innerType);break;case\"template_literal\":case\"string\":case\"number\":case\"int\":case\"boolean\":case\"bigint\":case\"symbol\":case\"undefined\":case\"null\":case\"void\":case\"never\":case\"any\":case\"unknown\":case\"date\":case\"nan\":case\"enum\":case\"literal\":case\"file\":case\"transform\":case\"custom\":break;default:for(let a in i){let c=Object.getOwnPropertyDescriptor(i,a);if(!c||c.get)continue;let u=c.value;if(!(!u||typeof u!=\"object\")){if(u._zod)o(u);else if(Array.isArray(u))for(let l of u)o(l)}}}return t.delete(e),im.set(e,n),n}function Ju(e){return Hu(e,new Set)}function c_(e,t){let r=e.buckets.get(t);return r||(r=new Map,e.buckets.set(t,r)),r}function dr(){return u_}function li(e,t){let r=e[Uu]?.backEdges;return r!==void 0&&t!==null&&typeof t==\"object\"&&r.has(t)}var ui,Uu,om,im,ai,ci,u_,Bu=y(()=>{ui=class extends Error{constructor(){super(\"Cannot parse a reference cycle that closes through a transform\"),this.name=\"ZodCyclicError\"}},Uu=\"~memo\",om=[];im=new WeakMap;ci=[],u_={alloc(e,t,r){let n=ai;if(!n)return r;ai=void 0;let o={value:r,issues:null};return n.set(t.value,o),ci.push(o),r},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let r=e._zod.parse,n=(o,i)=>{if(i.direction!==\"backward\"&&li(i,o.value))throw new ui;return r(o,i)};e._zod.parse=n,e._zod.run===r&&(e._zod.run=n)})},attach(e){var t;let r,n,o;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let i=e._zod.parse,s=(a,c)=>{if(r===void 0&&(r=Hu(e,new Set),!r))return e._zod.parse=i,e._zod.run===s&&(e._zod.run=i),i(a,c);let u=a.value;if(u===null||typeof u!=\"object\")return i(a,c);let l=c[Uu];l||(l={buckets:new Map,backEdges:void 0},c[Uu]=l);let d;n===c?d=o:(d=c_(l,e),n=c,o=d);let f=d.get(u);if(f)return a.value=f.value,f.issues?f.issues.length&&a.issues.push(...qu(f.issues)):(a.memo=!0,l.backEdges??(l.backEdges=new Set),l.backEdges.add(f.value)),a;ai=d;let h=ci.length,b=i(a,c);ai=void 0;let x=ci.length>h?ci.pop():void 0;return b instanceof Promise?b.then(v=>(x&&(x.issues=v.issues.length?qu(v.issues):om),v)):(x&&(x.issues=b.issues.length?qu(b.issues):om),b)};e._zod.parse=s,e._zod.run===i&&(e._zod.run=s)})}}});var sm,am=y(()=>{sm=()=>({localeError:()=>\"invalid input\"})});var cm,um=y(()=>{cm=()=>({localeError:()=>\"invalid input\"})});var lm,pm=y(()=>{lm=()=>({localeError:()=>\"invalid input\"})});var dm,fm=y(()=>{dm=()=>({localeError:()=>\"invalid input\"})});var mm,hm=y(()=>{mm=()=>({localeError:()=>\"invalid input\"})});var gm,bm=y(()=>{gm=()=>({localeError:()=>\"invalid input\"})});var ym,_m=y(()=>{ym=()=>({localeError:()=>\"invalid input\"})});var xm,vm=y(()=>{xm=()=>({localeError:()=>\"invalid input\"})});var wm,zm=y(()=>{wm=()=>({localeError:()=>\"invalid input\"})});var $m,km=y(()=>{$m=()=>({localeError:()=>\"invalid input\"})});var Sm,Im=y(()=>{Sm=()=>({localeError:()=>\"invalid input\"})});function pi(){return{localeError:l_()}}var l_,Ku=y(()=>{ie();l_=()=>{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(i){return e[i]??null}let r={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\",credit_card:\"credit card number\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\"};function o(i,s){return i===\"number\"&&typeof s==\"number\"&&!Number.isFinite(s)?String(s):n[i]??i}return i=>{switch(i.code){case\"invalid_type\":{let s=o(i.expected),a=ka(i.input),c=o(a,i.input);return`Invalid input: expected ${s}, received ${c}`}case\"invalid_value\":return i.values.length===1?`Invalid input: expected ${yo(i.values[0])}`:`Invalid option: expected one of ${ho(i.values,\"|\")}`;case\"too_big\":{let s=i.exact?\"exactly \":i.inclusive?\"<=\":\"<\",a=t(i.origin);return a?`Too big: expected ${i.origin??\"value\"} to have ${s}${i.maximum.toString()} ${a.unit??\"elements\"}`:`Too big: expected ${i.origin??\"value\"} to be ${s}${i.maximum.toString()}`}case\"too_small\":{let s=i.exact?\"exactly \":i.inclusive?\">=\":\">\",a=t(i.origin);return a?`Too small: expected ${i.origin} to have ${s}${i.minimum.toString()} ${a.unit}`:`Too small: expected ${i.origin} to be ${s}${i.minimum.toString()}`}case\"invalid_format\":{let s=i;return s.format===\"starts_with\"?`Invalid string: must start with \"${s.prefix}\"`:s.format===\"ends_with\"?`Invalid string: must end with \"${s.suffix}\"`:s.format===\"includes\"?`Invalid string: must include \"${s.includes}\"`:s.format===\"regex\"?`Invalid string: must match pattern ${s.pattern}`:`Invalid ${r[s.format]??i.format}`}case\"not_multiple_of\":return`Invalid number: must be a multiple of ${i.divisor}`;case\"unrecognized_keys\":return`Unrecognized key${i.keys.length>1?\"s\":\"\"}: ${ho(i.keys,\", \")}`;case\"invalid_key\":return`Invalid key in ${i.origin}`;case\"invalid_union\":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(a=>`'${a}'`).join(\" | \")}`:i.inclusive===!1?\"Invalid input: more than one option matched\":\"Invalid input\";case\"invalid_element\":return`Invalid value in ${i.origin}`;default:return\"Invalid input\"}}}});var Pm,Tm=y(()=>{Pm=()=>({localeError:()=>\"invalid input\"})});var Em,Am=y(()=>{Em=()=>({localeError:()=>\"invalid input\"})});var Om,Nm=y(()=>{Om=()=>({localeError:()=>\"invalid input\"})});var Cm,Zm=y(()=>{Cm=()=>({localeError:()=>\"invalid input\"})});var Rm,jm=y(()=>{Rm=()=>({localeError:()=>\"invalid input\"})});var Dm,Lm=y(()=>{Dm=()=>({localeError:()=>\"invalid input\"})});var Mm,Vm=y(()=>{Mm=()=>({localeError:()=>\"invalid input\"})});var Fm,qm=y(()=>{Fm=()=>({localeError:()=>\"invalid input\"})});var Um,Hm=y(()=>{Um=()=>({localeError:()=>\"invalid input\"})});var Jm,Bm=y(()=>{Jm=()=>({localeError:()=>\"invalid input\"})});var Km,Wm=y(()=>{Km=()=>({localeError:()=>\"invalid input\"})});var Qm,Gm=y(()=>{Qm=()=>({localeError:()=>\"invalid input\"})});var Ym,Xm=y(()=>{Ym=()=>({localeError:()=>\"invalid input\"})});var eh,th=y(()=>{eh=()=>({localeError:()=>\"invalid input\"})});var rh,nh=y(()=>{rh=()=>({localeError:()=>\"invalid input\"})});var oh,ih=y(()=>{oh=()=>({localeError:()=>\"invalid input\"})});var sh,ah=y(()=>{sh=()=>({localeError:()=>\"invalid input\"})});var ch,uh=y(()=>{ch=()=>({localeError:()=>\"invalid input\"})});var lh,ph=y(()=>{lh=()=>({localeError:()=>\"invalid input\"})});var dh,fh=y(()=>{dh=()=>({localeError:()=>\"invalid input\"})});var mh,hh=y(()=>{mh=()=>({localeError:()=>\"invalid input\"})});var gh,bh=y(()=>{gh=()=>({localeError:()=>\"invalid input\"})});var yh,_h=y(()=>{yh=()=>({localeError:()=>\"invalid input\"})});var xh,vh=y(()=>{xh=()=>({localeError:()=>\"invalid input\"})});var wh,zh=y(()=>{wh=()=>({localeError:()=>\"invalid input\"})});var $h,kh=y(()=>{$h=()=>({localeError:()=>\"invalid input\"})});var Sh,Ih=y(()=>{Sh=()=>({localeError:()=>\"invalid input\"})});var Ph,Th=y(()=>{Ph=()=>({localeError:()=>\"invalid input\"})});var Eh,Ah=y(()=>{Eh=()=>({localeError:()=>\"invalid input\"})});var Oh,Nh=y(()=>{Oh=()=>({localeError:()=>\"invalid input\"})});var Ch,Zh=y(()=>{Ch=()=>({localeError:()=>\"invalid input\"})});var Rh,jh=y(()=>{Rh=()=>({localeError:()=>\"invalid input\"})});var Dh,Lh=y(()=>{Dh=()=>({localeError:()=>\"invalid input\"})});var Mh,Vh=y(()=>{Mh=()=>({localeError:()=>\"invalid input\"})});var Fh,qh=y(()=>{Fh=()=>({localeError:()=>\"invalid input\"})});var Uh,Hh=y(()=>{Uh=()=>({localeError:()=>\"invalid input\"})});var Jh,Bh=y(()=>{Jh=()=>({localeError:()=>\"invalid input\"})});var Kh,Wh=y(()=>{Kh=()=>({localeError:()=>\"invalid input\"})});var Qh,Gh=y(()=>{Qh=()=>({localeError:()=>\"invalid input\"})});var Yh,Xh=y(()=>{Yh=()=>({localeError:()=>\"invalid input\"})});var eg,tg=y(()=>{eg=()=>({localeError:()=>\"invalid input\"})});var rg,ng=y(()=>{rg=()=>({localeError:()=>\"invalid input\"})});var og,ig=y(()=>{og=()=>({localeError:()=>\"invalid input\"})});var sg,ag=y(()=>{sg=()=>({localeError:()=>\"invalid input\"})});var cg,ug=y(()=>{cg=()=>({localeError:()=>\"invalid input\"})});var lg,pg=y(()=>{lg=()=>({localeError:()=>\"invalid input\"})});var dg,fg=y(()=>{dg=()=>({localeError:()=>\"invalid input\"})});var mg,hg=y(()=>{mg=()=>({localeError:()=>\"invalid input\"})});var gg,bg=y(()=>{gg=()=>({localeError:()=>\"invalid input\"})});var yg,_g=y(()=>{yg=()=>({localeError:()=>\"invalid input\"})});var fr={};Je(fr,{ar:()=>sm,az:()=>cm,be:()=>lm,bg:()=>dm,bn:()=>mm,ca:()=>gm,ckb:()=>ym,cs:()=>xm,da:()=>wm,de:()=>$m,el:()=>Sm,en:()=>pi,eo:()=>Pm,es:()=>Em,fa:()=>Om,fi:()=>Cm,fr:()=>Rm,frCA:()=>Dm,gu:()=>Mm,he:()=>Fm,hi:()=>Um,hr:()=>Jm,hu:()=>Km,hy:()=>Qm,id:()=>Ym,is:()=>eh,it:()=>rh,ja:()=>oh,ka:()=>sh,kh:()=>ch,km:()=>lh,kn:()=>dh,ko:()=>mh,lt:()=>gh,mk:()=>yh,ms:()=>xh,ne:()=>wh,nl:()=>$h,nn:()=>Sh,no:()=>Ph,ota:()=>Eh,pl:()=>Ch,ps:()=>Oh,pt:()=>Rh,ptBR:()=>Dh,ro:()=>Mh,ru:()=>Fh,sk:()=>Uh,sl:()=>Jh,sv:()=>Kh,ta:()=>Qh,th:()=>Yh,tk:()=>eg,tr:()=>rg,ua:()=>og,uk:()=>sg,ur:()=>cg,uz:()=>lg,vi:()=>dg,yo:()=>yg,zhCN:()=>mg,zhTW:()=>gg});var Wu=y(()=>{am();um();pm();fm();hm();bm();_m();vm();zm();km();Im();Ku();Tm();Am();Nm();Zm();jm();Lm();Vm();qm();Hm();Bm();Wm();Gm();Xm();th();nh();ih();ah();uh();ph();fh();hh();bh();_h();vh();zh();kh();Ih();Th();Ah();Nh();Zh();jh();Lh();Vh();qh();Hh();Bh();Wh();Gh();Xh();tg();ng();ig();ag();ug();pg();fg();hg();bg();_g()});function un(){return new di}var xg,fi,mi,di,ue,ln=y(()=>{fi=Symbol(\"ZodOutput\"),mi=Symbol(\"ZodInput\"),di=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let n=r[0];return this._map.set(t,n),n&&typeof n==\"object\"&&\"id\"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r==\"object\"&&\"id\"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let n={...this.get(r)??{}};delete n.id;let o={...n,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};(xg=globalThis).__zod_globalRegistry??(xg.__zod_globalRegistry=un());ue=globalThis.__zod_globalRegistry});function d_(e,t){try{return gi(e,{assertOnly:!0})}catch{return t}}function hi(e,t){try{let r=gi(e),n=V(e),o=e._zod.run,i=o.__originalRun??o,s=(a,c)=>{if(c?.async||c?.direction===\"backward\"||c?.skipChecks||c?.[vg]||c&&li(c,a.value))return i(a,c);let u=r(a.value);return u!==Ne?(a.value=u,a):(c&&(c[vg]=!0),i(a,c))};return s.__originalRun=i,n._zod.bag.fallbackRun=i,n._zod.bag.validator=d_(e,r),n._zod.run=s,o.__originalRun||f_(n,e,r),n}catch(r){if(t?.strict)throw r;return e}}function f_(e,t,r){let n=e,o=t;if(typeof o.safeParse==\"function\"){let i=o.safeParse;n.safeParse=(s,a)=>{let c=r(s);return c!==Ne?{success:!0,data:c}:i(s,a)}}if(typeof o.parse==\"function\"){let i=o.parse;n.parse=(s,a)=>{let c=r(s);return c!==Ne?c:i(s,a)}}}function gi(e,t){let r=!0;try{r=Ju(e)}catch{}if(r)throw new Z(\"a schema whose subtree contains a reference cycle\");let n={constants:new Map,constantCounter:0,varCounter:0},o=new zt([\"input\"]),i=ee(o,n,e,\"input\",!t?.assertOnly);o.write(i===null?\"return true;\":`return ${i};`);let s=[\"INVALID\",...n.constants.keys()],a=[Ne,...n.constants.values()],c=o.content.join(`\n`),u=t?.debug?s.length>0?`// Constants: ${s.join(\", \")}\n${c}`:c:\"\",l=Function,d=`return (input) => {\n${c}\n}`,f;try{f=new l(...s,d)(...a)}catch(h){throw new Z(`this schema (generated code failed to evaluate: ${h.message})`)}return t?.debug&&(f.code=u),f}function P(e,t){for(let[n,o]of e.constants)if(o===t)return n;let r=`c${e.constantCounter++}`;return e.constants.set(r,t),r}function E(e){return`v${e.varCounter++}`}function m_(e,t){let r=e._zod.run({value:t,issues:[]},{});if(r&&typeof r.then==\"function\")return Ne;let n=r;return n.issues.length===0?n.value:Ne}function ye(e,t,r,n,o=!0){let i=e.content.length,s=t.constants.size,a=t.constantCounter,c=t.varCounter;try{return ee(e,t,r,n,o)}catch(u){if(!(u instanceof Z)||!u.islandable)throw u;if(e.content.length=i,t.constants.size>s){let l=Array.from(t.constants.keys()).slice(s);for(let d of l)t.constants.delete(d)}return t.constantCounter=a,t.varCounter=c,h_(e,t,r,n)}}function h_(e,t,r,n){let o=P(t,r),i=P(t,m_),s=E(t);return e.write(`const ${s} = ${i}(${o}, ${n});`),e.write(`if (${s} === INVALID) return INVALID;`),s}function b_(e,t,r,n){let o=r._zod.def.checks;if(!o||o.length===0)return n;let i=n;for(let s of o){let a=s._zod.def;if(a.when&&!g_.has(a.check))throw new Z('check with a custom \"when\" condition');switch(a.check){case\"greater_than\":y_(e,t,a,i);break;case\"less_than\":__(e,t,a,i);break;case\"multiple_of\":x_(e,t,a,i);break;case\"number_format\":kg(e,a,i);break;case\"min_length\":{let c=kt(a.minimum,\"min_length\"),u=Qu(e,t,i,`${i}.length >= ${c} && ${i}.length < ${a.minimum*2}`);e.write(`if (${u} < ${c}) return INVALID;`);break}case\"max_length\":{let c=kt(a.maximum,\"max_length\"),u=Qu(e,t,i,`${i}.length > ${c}`);e.write(`if (${u} > ${c}) return INVALID;`);break}case\"length_equals\":{let c=kt(a.length,\"length_equals\"),u=Qu(e,t,i,`${i}.length >= ${c} && ${i}.length <= ${a.length*2}`);e.write(`if (${u} !== ${c}) return INVALID;`);break}case\"min_size\":e.write(`if (${i}.size < ${kt(a.minimum,\"min_size\")}) return INVALID;`);break;case\"max_size\":e.write(`if (${i}.size > ${kt(a.maximum,\"max_size\")}) return INVALID;`);break;case\"size_equals\":e.write(`if (${i}.size !== ${kt(a.size,\"size_equals\")}) return INVALID;`);break;case\"string_format\":i=Sg(e,t,a,i);break;case\"custom\":i=k_(e,t,s,i);break;case\"bigint_format\":v_(e,a,i);break;case\"mime_type\":w_(e,t,a,i);break;case\"property\":z_(e,t,a,i);break;case\"overwrite\":{let c=E(t);$_(e,t,s,i,c),i=c;break}default:throw new Z(`check type ${a.check}`)}}return i}function Qu(e,t,r,n){let o=P(t,vt),i=E(t);return e.write(`const ${i} = typeof ${r} === \"string\" && ${n} ? ${o}(${r}) : ${r}.length;`),i}function kt(e,t){if(typeof e!=\"number\"||!Number.isFinite(e))throw new Z(`${t} bound of type ${typeof e}`);return`${e}`}function $g(e,t){if(typeof t==\"bigint\")return`${t}n`;if(typeof t==\"number\"){if(Number.isNaN(t))throw new Z(\"comparison check with NaN bound\");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new Z(\"comparison check with Invalid Date bound\");return P(e,t)}throw new Z(`comparison check bound of type ${typeof t}`)}function y_(e,t,r,n){let o=r.inclusive?\"<\":\"<=\";e.write(`if (${n} ${o} ${$g(t,r.value)}) return INVALID;`)}function __(e,t,r,n){let o=r.inclusive?\">\":\">=\";e.write(`if (${n} ${o} ${$g(t,r.value)}) return INVALID;`)}function x_(e,t,r,n){if(typeof r.value==\"bigint\"){if(r.value===BigInt(0))throw new Z(\"multiple_of check with a zero divisor\");e.write(`if (${n} % ${r.value}n !== 0n) return INVALID;`)}else{let o=P(t,Vr);e.write(`if (${o}(${n}, ${kt(r.value,\"multiple_of\")}) !== 0) return INVALID;`)}}function kg(e,t,r){let n=t.format;switch(n){case\"safeint\":e.write(`if (!Number.isSafeInteger(${r})) return INVALID;`);break;case\"int32\":e.write(`if (!Number.isInteger(${r}) || ${r} < -2147483648 || ${r} > 2147483647) return INVALID;`);break;case\"uint32\":e.write(`if (!Number.isInteger(${r}) || ${r} < 0 || ${r} > 4294967295) return INVALID;`);break;case\"float32\":e.write(`if (!Number.isFinite(${r}) || ${r} < -3.4028234663852886e38 || ${r} > 3.4028234663852886e38) return INVALID;`);break;case\"float64\":e.write(`if (!Number.isFinite(${r})) return INVALID;`);break;default:throw new Z(`number format ${n}`)}}function v_(e,t,r){let n=t.format;if(n)switch(n){case\"int64\":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case\"uint64\":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break;default:throw new Z(`bigint format ${n}`)}}function w_(e,t,r,n){let o=r.mime;if(o&&o.length>0){let i=P(t,new Set(o));e.write(`if (!${i}.has(${n}.type)) return INVALID;`)}}function z_(e,t,r,n){let o=`${n}[${JSON.stringify(r.property)}]`;ee(e,t,r.schema,o)}function $_(e,t,r,n,o){let i=r._zod.def.tx;if(!i)throw new Z(\"overwrite check without a transform function\");if(Pt(i))throw new je(\"z.compile: async overwrite transforms are not supported\");let s=P(t,i);e.write(`const ${o} = ${s}(${n});`)}function Gu(){throw new ke}function Xu(e){this.issues.push(e)}function k_(e,t,r,n){let o=r._zod.def;if(o.fn){if(Pt(o.fn))throw new je(\"z.compile: async .refine() predicates are not supported\");let i=P(t,o.fn),s=P(t,Gu),a=E(t);return e.write(`const ${a} = ${i}(${n});`),e.write(`if (${a} instanceof Promise) ${s}();`),e.write(`if (!${a}) return INVALID;`),n}if(r._zod.check){if(Pt(r._zod.check))throw new je(\"z.compile: async .superRefine() / check functions are not supported\");let i=r._zod.check,a=P(t,u=>{let l={value:u,issues:[],addIssue:Xu};return i(l)instanceof Promise&&Gu(),l.issues.length===0?l.value:Ne}),c=E(t);return e.write(`const ${c} = ${a}(${n});`),e.write(`if (${c} === INVALID) return INVALID;`),c}throw new Z(\"custom check without a predicate or check function\")}function Sg(e,t,r,n){let o=r.format;if(o===\"base64\"){let c=P(t,rn);return e.write(`if (!${c}(${n})) return INVALID;`),n}if(o===\"base64url\"){let c=P(t,Yo);return e.write(`if (!${c}(${n})) return INVALID;`),n}if(o===\"jwt\"){let c=P(t,ei),u=P(t,r.alg??null);return e.write(`if (!${c}(${n}, ${u})) return INVALID;`),n}if(o===\"ipv6\"){let c=P(t,tn);return e.write(`if (!${c}(${n})) return INVALID;`),n}if(o===\"cidrv6\"){let c=P(t,Go);return e.write(`if (!${c}(${n})) return INVALID;`),n}if(o===\"credit_card\"){let c=P(t,Xo);return e.write(`if (!${c}(${n})) return INVALID;`),n}let i=r;if(o===\"url\"||o===\"httpurl\"||i.normalize||i.hostname!==void 0||i.protocol!==void 0){let c=P(t,Bo),u=P(t,r),l=E(t),d=E(t);if(e.write(`const ${l} = ${n}.trim();`),e.write(`const ${d} = ${c}(${l}, ${u});`),e.write(`if (typeof ${d} === \"number\") return INVALID;`),i.hostname!==void 0){let b=P(t,Wo);e.write(`if (!${b}(${d}, ${u}.hostname)) return INVALID;`)}if(i.protocol!==void 0){let b=P(t,Qo);e.write(`if (!${b}(${d}, ${u}.protocol)) return INVALID;`)}let f=E(t),h=i.normalize?`${d}.href`:`${P(t,Ko)}(${l})`;return e.write(`const ${f} = ${h};`),f}let s=r.fn;if(s){if(Pt(s))throw new Z(`async string format ${o}`);let c=P(t,s);return e.write(`if (!${c}(${n})) return INVALID;`),n}if(S_.has(o)&&r.pattern){let c=P(t,r.pattern);return e.write(`${c}.lastIndex = 0;`),e.write(`if (!${c}.test(${n})) return INVALID;`),n}let a=r.format;switch(a){case\"regex\":throw new Z(\"regex format without a pattern\");case\"lowercase\":e.write(`if (${n} !== ${n}.toLowerCase()) return INVALID;`);break;case\"uppercase\":e.write(`if (${n} !== ${n}.toUpperCase()) return INVALID;`);break;case\"includes\":e.write(`if (!${n}.includes(${we(r.includes)})) return INVALID;`);break;case\"starts_with\":{let c=r.prefix;e.write(`if (${n}.slice(0, ${c.length}) !== ${we(c)}) return INVALID;`);break}case\"ends_with\":{let c=r.suffix;e.write(`if (${n}.slice(-${c.length}) !== ${we(c)}) return INVALID;`);break}default:throw new Z(`string format ${a}`)}return n}function ee(e,t,r,n,o=!0){let i=r._zod.def,s=i.type;if(i.coerce)throw new Z(`coercion (z.coerce.${s}())`);let a=o||!!i.checks?.length,c;switch(s){case\"string\":c=I_(e,t,r,n);break;case\"number\":c=P_(e,r,n);break;case\"boolean\":c=T_(e,n);break;case\"bigint\":c=E_(e,r,n);break;case\"symbol\":c=A_(e,n);break;case\"undefined\":c=O_(e,n);break;case\"null\":c=N_(e,n);break;case\"any\":case\"unknown\":c=n;break;case\"never\":e.write(\"return INVALID;\"),c=n;break;case\"void\":c=C_(e,n);break;case\"nan\":c=Z_(e,n);break;case\"date\":c=R_(e,n);break;case\"object\":c=j_(e,t,r,n,a);break;case\"optional\":c=D_(e,t,r,n,a);break;case\"nullable\":c=V_(e,t,r,n,a);break;case\"array\":c=F_(e,t,r,n,a);break;case\"literal\":c=q_(e,t,r,n);break;case\"enum\":c=U_(e,t,r,n);break;case\"readonly\":{let u=wg(e,t,r,n),l=E(t);e.write(`const ${l} = Object.freeze(${u});`),c=l;break}case\"success\":wg(e,t,r,n),c=\"true\";break;case\"default\":case\"prefault\":c=H_(e,t,r,n);break;case\"nonoptional\":c=J_(e,t,r,n);break;case\"tuple\":c=B_(e,t,r,n);break;case\"union\":c=K_(e,t,r,n);break;case\"intersection\":c=G_(e,t,r,n);break;case\"record\":c=Y_(e,t,r,n);break;case\"map\":c=ex(e,t,r,n);break;case\"set\":c=tx(e,t,r,n);break;case\"file\":c=rx(e,n);break;case\"template_literal\":c=nx(e,t,r,n);break;case\"lazy\":c=ox(e,t,r,n);break;case\"pipe\":c=ix(e,t,r,n);break;case\"custom\":c=sx(e,t,r,n);break;case\"transform\":c=ux(e,t,r,n);break;case\"catch\":c=cx(e,t,r,n);break;default:throw new Z(`schema type ${s}`)}return c===null?null:b_(e,t,r,c)}function I_(e,t,r,n){e.write(`if (typeof ${n} !== \"string\") return INVALID;`);let o=r._zod.def;return o.format===void 0?n:Sg(e,t,o,n)}function P_(e,t,r){e.write(`if (typeof ${r} !== \"number\" || !Number.isFinite(${r})) return INVALID;`);let n=t._zod.def;return n.check===\"number_format\"&&n.format&&kg(e,{format:n.format},r),r}function T_(e,t){return e.write(`if (typeof ${t} !== \"boolean\") return INVALID;`),t}function E_(e,t,r){e.write(`if (typeof ${r} !== \"bigint\") return INVALID;`);let n=t._zod.def;if(n.format)switch(n.format){case\"int64\":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case\"uint64\":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break}return r}function A_(e,t){return e.write(`if (typeof ${t} !== \"symbol\") return INVALID;`),t}function O_(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function N_(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function C_(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Z_(e,t){return e.write(`if (typeof ${t} !== \"number\" || !Number.isNaN(${t})) return INVALID;`),t}function R_(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function j_(e,t,r,n,o=!0){let i=r._zod.def;e.write(`if (typeof ${n} !== \"object\" || ${n} === null || Array.isArray(${n})) return INVALID;`);let s=i.shape,a=Object.keys(s),c=Object.getOwnPropertySymbols(s),u=c.length?[...a,...c]:a,l=w=>typeof w==\"symbol\"?P(t,w):we(w),d=w=>typeof w==\"symbol\"?`[${l(w)}]`:we(w),f=s;if(a.includes(\"__proto__\"))throw new Z('object shape key \"__proto__\"');let h=new Map;for(let w of u){let I=f[w],M=l(w),X=E(t);if(e.write(`const ${X} = ${n}[${M}];`),I._zod.optin!==void 0){let D=E(t);e.write(`let ${D} = (() => {`),e.indented(ge=>{let Dr=ye(ge,t,I,X);ge.write(`return ${Dr};`)}),e.write(\"})();\"),I._zod.optout===\"optional\"?(e.write(`if (${D} === INVALID) {`),e.indented(ge=>{ge.write(`if (${M} in ${n}) return INVALID;`),ge.write(`${D} = undefined;`)}),e.write(\"}\")):e.write(`if (${D} === INVALID) return INVALID;`),h.set(w,D)}else{M_(I)&&e.write(`if (!(${M} in ${n})) return INVALID;`);let D=ye(e,t,I,X,o);D!==null&&h.set(w,D)}}let b=i.catchall,x=\"none\";if(b){let w=b._zod.def.type;if(w===\"never\"){let I=a.map(M=>`k !== ${we(M)}`).join(\" && \")||\"true\";e.write(`for (const k in ${n}) {`),e.indented(M=>{M.write(`if (${I}) return INVALID;`)}),e.write(\"}\")}else(w===\"unknown\"||w===\"any\")&&!b._zod.def.checks?.length?x=\"passthrough\":x=\"schema\"}let v=E(t),L=u.some(w=>It(f[w])||Yu(f[w]));if(!o){if(x===\"schema\"){let w=a.length>0?P(t,new Set(a)):null;e.write(`for (const k in ${n}) {`),e.indented(I=>{I.write('if (k === \"__proto__\") continue;'),w&&I.write(`if (${w}.has(k)) continue;`);let M=E(t);I.write(`const ${M} = ${n}[k];`),ye(I,t,b,M,!1)}),e.write(\"}\")}return null}if(L){e.write(`const ${v} = {};`);for(let w of u){let I=l(w),M=h.get(w);Yu(f[w])?e.write(`if (${I} in ${n}) ${v}[${I}] = ${M};`):It(f[w])?e.write(`if (${M} !== undefined || ${I} in ${n}) ${v}[${I}] = ${M};`):e.write(`${v}[${I}] = ${M};`)}}else{let w=u.map(I=>`${d(I)}: ${h.get(I)}`).join(\", \");e.write(`const ${v} = { ${w} };`)}if(x!==\"none\"){let w=a.length>0?P(t,new Set(a)):null;e.write(`for (const k in ${n}) {`),e.indented(I=>{if(I.write('if (k === \"__proto__\") continue;'),w&&I.write(`if (${w}.has(k)) continue;`),x===\"passthrough\")I.write(`${v}[k] = ${n}[k];`);else{let M=E(t);I.write(`const ${M} = ${n}[k];`);let X=ye(I,t,b,M);I.write(`${v}[k] = ${X};`)}}),e.write(\"}\")}return v}function D_(e,t,r,n,o=!0){let i=r._zod.def;if(L_(r))return ee(e,t,i.innerType,n,o);if(i.innerType._zod.optin===\"defaulted\"){let a=E(t),c=E(t);return e.write(`let ${a};`),e.write(`if (${n} === undefined) {`),e.indented(u=>{u.write(`const ${c} = (() => {`),u.indented(l=>{let d=ee(l,t,i.innerType,n);l.write(`return ${d};`)}),u.write(\"})();\"),u.write(`if (${c} !== INVALID) ${a} = ${c};`)}),e.write(\"} else {\"),e.indented(u=>{let l=ee(u,t,i.innerType,n);u.write(`${a} = ${l};`)}),e.write(\"}\"),a}let s=o?E(t):null;return s&&e.write(`let ${s};`),e.write(`if (${n} !== undefined) {`),e.indented(a=>{let c=ee(a,t,i.innerType,n,o);s&&c!==null&&a.write(`${s} = ${c};`)}),e.write(\"}\"),s}function L_(e){return e._zod.traits?.has(\"$ZodExactOptional\")===!0}function M_(e){return e._zod.optin===void 0&&St(e)}function St(e){if(e._zod.def.coerce)return!0;let t=e._zod.def;switch(t.type){case\"any\":case\"unknown\":case\"undefined\":case\"void\":case\"default\":case\"prefault\":case\"transform\":case\"custom\":case\"lazy\":return!0;case\"string\":case\"number\":case\"boolean\":case\"bigint\":case\"symbol\":case\"null\":case\"never\":case\"nan\":case\"date\":case\"object\":case\"array\":case\"tuple\":case\"record\":case\"map\":case\"set\":case\"file\":case\"template_literal\":return!1;case\"nonoptional\":return t.innerType?St(t.innerType):!1;case\"literal\":return!!t.values?.includes(void 0);case\"enum\":return!!e._zod.values?.has(void 0);case\"optional\":case\"nullable\":case\"readonly\":case\"success\":return t.innerType?St(t.innerType):!0;case\"catch\":return!0;case\"union\":return t.options?t.options.some(St):!0;case\"intersection\":return!t.left||!t.right?!0:St(t.left)&&St(t.right);case\"pipe\":return t.in?St(t.in):!0;default:return!0}}function Yu(e){return e._zod.optin===\"optional\"&&e._zod.optout===\"optional\"}function It(e){let t=e._zod.def;switch(t.type){case\"string\":case\"number\":case\"boolean\":case\"bigint\":case\"symbol\":case\"null\":case\"nan\":case\"date\":case\"object\":case\"array\":case\"tuple\":case\"record\":case\"map\":case\"set\":case\"file\":case\"template_literal\":case\"never\":case\"success\":return!1;case\"literal\":return!!t.values?.includes(void 0);case\"enum\":return!!e._zod.values?.has(void 0);case\"optional\":return!0;case\"nullable\":case\"readonly\":case\"nonoptional\":return t.innerType?It(t.innerType):!0;case\"union\":return t.options?t.options.some(It):!0;case\"intersection\":return!t.left||!t.right||It(t.left)||It(t.right);case\"pipe\":return t.out?It(t.out):!0;default:return!0}}function V_(e,t,r,n,o=!0){let i=r._zod.def,s=o?E(t):null;return s&&e.write(`let ${s} = null;`),e.write(`if (${n} !== null) {`),e.indented(a=>{let c=ee(a,t,i.innerType,n,o);s&&c!==null&&a.write(`${s} = ${c};`)}),e.write(\"}\"),s}function F_(e,t,r,n,o=!0){let i=r._zod.def;e.write(`if (!Array.isArray(${n})) return INVALID;`);let s=o?E(t):null,a=E(t),c=E(t);return s&&e.write(`const ${s} = new Array(${n}.length);`),e.write(`for (let ${a} = 0; ${a} < ${n}.length; ${a}++) {`),e.indented(u=>{u.write(`const ${c} = ${n}[${a}];`);let l=ye(u,t,i.element,c,o);s&&l!==null&&u.write(`${s}[${a}] = ${l};`)}),e.write(\"}\"),s}function q_(e,t,r,n){let i=r._zod.def.values;if(i.length!==1){let a=P(t,new Set(i));return e.write(`if (!${a}.has(${n})) return INVALID;`),n}let s=i[0];if(typeof s==\"number\"&&Number.isNaN(s)){let a=P(t,new Set(i));return e.write(`if (!${a}.has(${n})) return INVALID;`),n}if(typeof s==\"string\")e.write(`if (${n} !== ${we(s)}) return INVALID;`);else if(typeof s==\"number\"||typeof s==\"boolean\")e.write(`if (${n} !== ${s}) return INVALID;`);else if(s===null)e.write(`if (${n} !== null) return INVALID;`);else if(s===void 0)e.write(`if (${n} !== undefined) return INVALID;`);else if(typeof s==\"bigint\")e.write(`if (${n} !== ${s}n) return INVALID;`);else throw new Z(`literal type ${typeof s}`);return n}function U_(e,t,r,n){let o=r._zod.values;if(!o)throw new Z(\"enum schema without enumerated values\");let i=P(t,o);return e.write(`if (!${i}.has(${n})) return INVALID;`),n}function wg(e,t,r,n){let o=r._zod.def;return ee(e,t,o.innerType,n)}function H_(e,t,r,n){let o=r._zod.def,s=Object.getOwnPropertyDescriptor(r._zod.def,\"defaultValue\")?()=>r._zod.def.defaultValue:void 0;if(r._zod.def.type===\"prefault\"){if(!s)return ee(e,t,o.innerType,n);let c=P(t,s),u=E(t);return e.write(`let ${u} = ${n};`),e.write(`if (${n} === undefined) ${u} = ${c}();`),ee(e,t,o.innerType,u)}let a=E(t);if(s){let c=P(t,s),u=P(t,Fr);e.write(`let ${a};`),e.write(`if (${n} === undefined) {`),e.indented(l=>{l.write(`${a} = ${u}(${c}());`)}),e.write(\"} else {\"),e.indented(l=>{let d=ee(l,t,o.innerType,n);l.write(`${a} = ${d} === undefined ? ${u}(${c}()) : ${d};`)}),e.write(\"}\")}else e.write(`let ${a};`),e.write(`if (${n} !== undefined) {`),e.indented(c=>{let u=ee(c,t,o.innerType,n);c.write(`${a} = ${u};`)}),e.write(\"}\");return a}function J_(e,t,r,n){let o=r._zod.def,i=ee(e,t,o.innerType,n),s=E(t);return e.write(`const ${s} = ${i};`),e.write(`if (${s} === undefined) return INVALID;`),s}function B_(e,t,r,n){let o=r._zod.def,i=o.items,s=o.rest;e.write(`if (!Array.isArray(${n})) return INVALID;`);let a=zg(i,\"optin\"),c=zg(i,\"optout\");s?e.write(`if (${n}.length < ${a}) return INVALID;`):e.write(`if (${n}.length < ${a} || ${n}.length > ${i.length}) return INVALID;`);let u=E(t);e.write(`const ${u} = [];`);for(let l=0;l<i.length;l++){let d=i[l];if(l>=c)e.write(`if (${u}.length === ${l}) {`),e.indented(f=>{f.write(`if (${l} < ${n}.length) {`),f.indented(h=>{let b=E(t);h.write(`const ${b} = ${n}[${l}];`);let x=ye(h,t,d,b);h.write(`${u}[${l}] = ${x};`)}),f.write(\"} else {\"),f.indented(h=>{if(Yu(d)){h.write(`${u}.length = ${l};`);return}let b=E(t),x=E(t);h.write(`const ${b} = undefined;`),h.write(`const ${x} = (() => {`),h.indented(v=>{let L=ye(v,t,d,b);v.write(`return ${L};`)}),h.write(\"})();\"),h.write(`if (${x} === INVALID || ${x} === undefined) ${u}.length = ${l};`),h.write(`else ${u}[${l}] = ${x};`)}),f.write(\"}\")}),e.write(\"}\");else{let f=E(t);e.write(`const ${f} = ${n}[${l}];`);let h=ye(e,t,d,f);e.write(`${u}[${l}] = ${h};`)}}if(s){let l=E(t),d=E(t);e.write(`for (let ${l} = ${i.length}; ${l} < ${n}.length; ${l}++) {`),e.indented(f=>{f.write(`const ${d} = ${n}[${l}];`);let h=ye(f,t,s,d);f.write(`${u}[${l}] = ${h};`)}),e.write(\"}\")}return u}function zg(e,t){for(let r=e.length-1;r>=0;r--)if(!(t===\"optin\"?e[r]._zod.optin!==void 0:e[r]._zod.optout===\"optional\"))return r+1;return 0}function K_(e,t,r,n){let o=r._zod.def,i=o.options;if(o.discriminator)return W_(e,t,o,n);if(o.inclusive===!1)throw new Z(\"exclusive unions (z.xor)\");if(i.length===0)return e.write(\"return INVALID;\"),n;if(i.length===1)return ee(e,t,i[0],n);if(i.every(c=>c._zod.def.type===\"literal\"&&!c._zod.def.checks?.length)){let c=new Set(i.flatMap(l=>l._zod.def.values)),u=P(t,c);return e.write(`if (!${u}.has(${n})) return INVALID;`),n}let a=E(t);e.write(`let ${a};`);for(let c=0;c<i.length;c++){let u=i[c];c===0?e.write(`${a} = (() => {`):e.write(`if (${a} === INVALID) ${a} = (() => {`),e.indented(l=>{let d=ee(l,t,u,n);l.write(`return ${d};`)}),e.write(\"})();\")}return e.write(`if (${a} === INVALID) return INVALID;`),a}function W_(e,t,r,n){if(r.unionFallback)throw new Z(\"discriminated union with unionFallback\");if(r.options.length===0)return e.write(\"return INVALID;\"),n;let o=E(t),i=E(t);e.write(`const ${o} = ${n}?.[${we(r.discriminator)}];`),e.write(`let ${i};`);let s=!0,a=new Set;for(let c of r.options){let u=c._zod.propValues?.[r.discriminator];if(!u||u.size===0)throw new Z(\"discriminated union option without static discriminator values\");for(let f of u){if(a.has(f))throw new Z(`duplicate discriminator value ${String(f)}`);a.add(f)}let l=Array.from(u,f=>Q_(t,o,f)),d=s?\"if\":\"else if\";e.write(`${d} (${l.join(\" || \")}) {`),e.indented(f=>{let h=ee(f,t,c,n);f.write(`${i} = ${h};`)}),e.write(\"}\"),s=!1}return e.write(\"else { return INVALID; }\"),i}function Q_(e,t,r){if(typeof r==\"string\")return`${t} === ${we(r)}`;if(typeof r==\"number\")return Number.isNaN(r)?`Number.isNaN(${t})`:`${t} === ${r}`;if(typeof r==\"boolean\")return`${t} === ${r}`;if(r===null)return`${t} === null`;if(r===void 0)return`${t} === undefined`;if(typeof r==\"bigint\")return`${t} === ${r}n`;if(typeof r==\"symbol\"){let n=P(e,r);return`${t} === ${n}`}throw new Z(`literal discriminator value ${String(r)}`)}function G_(e,t,r,n){let o=r._zod.def,i=ye(e,t,o.left,n),s=ye(e,t,o.right,n),a=P(t,pr),c=E(t);return e.write(`const ${c} = ${a}(${i}, ${s});`),e.write(`if (!${c}.valid) return INVALID;`),`${c}.data`}function Y_(e,t,r,n){let o=r._zod.def,i=P(t,Ze);e.write(`if (!${i}(${n})) return INVALID;`);let s=E(t),a=E(t),c=E(t);e.write(`const ${s} = {};`);let u=o,l=u.partial?void 0:o.keyType._zod.values;if(l){let b=[];for(let v of l){if(!(typeof v==\"string\"||typeof v==\"number\"||typeof v==\"symbol\"))throw new Z(`record key value ${String(v)}`);let L=typeof v==\"number\"?v.toString():v;if(L===\"__proto__\")throw new Z('record key \"__proto__\"');b.push(L);let w=P(t,v),I=ee(e,t,o.keyType,w),M=E(t);e.write(`const ${M} = ${n}[${X_(t,L)}];`);let X=ye(e,t,o.valueType,M);e.write(`${s}[${I}] = ${X};`)}let x=P(t,new Set(b));return e.write(`for (const ${a} in ${n}) {`),e.indented(v=>{v.write(`if (${x}.has(${a})) continue;`),u.mode===\"loose\"?v.write(`if (${a} !== \"__proto__\") ${s}[${a}] = ${n}[${a}];`):v.write(\"return INVALID;\")}),e.write(\"}\"),s}let d=o.keyType._zod.def;if(!(d.type===\"string\"&&d.format===void 0&&!d.coerce&&(d.checks?.length??0)===0)){let b=o.mode===\"loose\",x=P(t,gi(o.keyType)),v=P(t,at),L=P(t,Object.prototype.propertyIsEnumerable),w=E(t);return e.write(`for (const ${a} of Reflect.ownKeys(${n})) {`),e.indented(I=>{I.write(`if (${a} === \"__proto__\") continue;`),I.write(`if (!${L}.call(${n}, ${a})) continue;`),I.write(`let ${w} = ${x}(${a});`),I.write(`if (${w} === INVALID && typeof ${a} === \"string\" && ${v}.test(${a})) ${w} = ${x}(Number(${a}));`),b?I.write(`if (${w} === INVALID) { ${s}[${a}] = ${n}[${a}]; continue; }`):I.write(`if (${w} === INVALID) return INVALID;`),I.write(`if (${w} === \"__proto__\") continue;`);let M=E(t);I.write(`const ${M} = ${n}[${a}];`);let X=ye(I,t,o.valueType,M);I.write(`${s}[${w}] = ${X};`)}),e.write(\"}\"),s}let h=P(t,Object.prototype.propertyIsEnumerable);return e.write(`for (const ${a} of Reflect.ownKeys(${n})) {`),e.indented(b=>{b.write(`if (${a} === \"__proto__\") continue;`),b.write(`if (!${h}.call(${n}, ${a})) continue;`),b.write(`if (typeof ${a} !== \"string\") return INVALID;`),b.write(`const ${c} = ${n}[${a}];`);let x=ye(b,t,o.valueType,c);b.write(`${s}[${a}] = ${x};`)}),e.write(\"}\"),s}function X_(e,t){return typeof t==\"string\"?we(t):P(e,t)}function ex(e,t,r,n){let o=r._zod.def;e.write(`if (!(${n} instanceof Map)) return INVALID;`);let i=E(t),s=E(t),a=E(t);return e.write(`const ${i} = new Map();`),e.write(`for (const [${s}, ${a}] of ${n}) {`),e.indented(c=>{let u=ee(c,t,o.keyType,s),l=ee(c,t,o.valueType,a);c.write(`${i}.set(${u}, ${l});`)}),e.write(\"}\"),i}function tx(e,t,r,n){let o=r._zod.def;e.write(`if (!(${n} instanceof Set)) return INVALID;`);let i=E(t),s=E(t);return e.write(`const ${i} = new Set();`),e.write(`for (const ${s} of ${n}) {`),e.indented(a=>{let c=ee(a,t,o.valueType,s);a.write(`${i}.add(${c});`)}),e.write(\"}\"),i}function rx(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function nx(e,t,r,n){e.write(`if (typeof ${n} !== \"string\") return INVALID;`);let o=r._zod.pattern;if(o){let i=P(t,o);e.write(`${i}.lastIndex = 0;`),e.write(`if (!${i}.test(${n})) return INVALID;`)}return n}function ox(e,t,r,n){let o=r._zod.def,i=P(t,o.getter),s=P(t,{parser:null});e.write(`if (!${s}.parser) {`),e.indented(c=>{c.write(`const inner = ${i}();`),c.write(`${s}.parser = function(input) {`),c.indented(u=>{u.write(\"const result = inner._zod.run({ value: input, issues: [] }, {});\"),u.write(\"return result.issues.length === 0 ? result.value : INVALID;\")}),c.write(\"};\")}),e.write(\"}\");let a=E(t);return e.write(`const ${a} = ${s}.parser(${n});`),e.write(`if (${a} === INVALID) return INVALID;`),a}function ix(e,t,r,n){let o=r._zod.def,i=ee(e,t,o.in,n);if(o.transform){if(Pt(o.transform))throw new je(\"z.compile: async transforms in pipes are not supported\");let s=o.transform,c=P(t,l=>{let d={value:l,issues:[],addIssue:Xu},f=s(l,d);return f instanceof Promise?Ne:d.issues.length===0?f:Ne}),u=E(t);return e.write(`const ${u} = ${c}(${i});`),e.write(`if (${u} === INVALID) return INVALID;`),ee(e,t,o.out,u)}else return ee(e,t,o.out,i)}function Pt(e){return typeof e==\"function\"&&(e.constructor.name===\"AsyncFunction\"||e[Symbol.toStringTag]===\"AsyncFunction\")}function sx(e,t,r,n){let o=r._zod.def;if(o.fn){if(Pt(o.fn))throw new je(\"z.compile: async custom predicates are not supported\");let i=P(t,o.fn),s=P(t,Gu),a=E(t);e.write(`const ${a} = ${i}(${n});`),e.write(`if (${a} instanceof Promise) ${s}();`),e.write(`if (!${a}) return INVALID;`)}else throw new Z(\"custom schema without a predicate function\");return n}function ax(e,t,r){let n=e._zod.run({value:r,issues:[]},{});if(n&&typeof n.then==\"function\")return Ne;let o=n;return o.issues.length===0?o.value:t()}function cx(e,t,r,n){let o=r._zod.def;if(!o.catchValue[xo])throw new Z(\"catch with a callback (only a constant catch value compiles)\",!1);let i=E(t);e.write(`let ${i} = (() => {`),e.indented(u=>{let l=ye(u,t,o.innerType,n);u.write(`return ${l};`)}),e.write(\"})();\");let s=P(t,o.innerType),a=P(t,o.catchValue),c=P(t,ax);return e.write(`if (${i} === INVALID) {`),e.indented(u=>{u.write(`${i} = ${c}(${s}, ${a}, ${n});`),u.write(`if (${i} === INVALID) return INVALID;`)}),e.write(\"}\"),i}function ux(e,t,r,n){let o=r._zod.def;if(o.transform){if(Pt(o.transform))throw new je(\"z.compile: async transforms are not supported\");let i=o.transform,a=P(t,u=>{let l={value:u,issues:[],addIssue:Xu},d=i(u,l);return d instanceof Promise?Ne:l.issues.length===0?d:Ne}),c=E(t);return e.write(`const ${c} = ${a}(${n});`),e.write(`if (${c} === INVALID) return INVALID;`),c}return n}var Ne,vg,je,Z,g_,S_,Ig=y(()=>{it();Vo();Bu();ur();cn();ie();Ne=Symbol.for(\"zod.compile.invalid\"),vg=Symbol.for(\"zod.compile.fallback\"),je=class extends Error{constructor(t=\"z.compile does not support async refinements, transforms, or checks\"){super(t),this.name=\"ZodCompileAsyncError\"}},Z=class extends Error{constructor(t,r=!0){super(`z.compile does not support ${t}; this schema must use the runtime parser`),this.name=\"ZodCompileUnsupportedError\",this.islandable=r}};g_=new Set([\"max_size\",\"min_size\",\"size_equals\",\"max_length\",\"min_length\",\"length_equals\"]);S_=new Set([\"cidrv4\",\"cuid\",\"cuid2\",\"date\",\"datetime\",\"duration\",\"e164\",\"email\",\"emoji\",\"ends_with\",\"guid\",\"includes\",\"ipv4\",\"ksuid\",\"lowercase\",\"mac\",\"nanoid\",\"regex\",\"starts_with\",\"time\",\"ulid\",\"uppercase\",\"uuid\",\"xid\"])});function el(e,t){return new e({type:\"string\",..._(t)})}function tl(e,t){return new e({type:\"string\",coerce:!0,..._(t)})}function bi(e,t){return new e({type:\"string\",format:\"email\",check:\"string_format\",abort:!1,..._(t)})}function yi(e,t){return new e({type:\"string\",format:\"guid\",check:\"string_format\",abort:!1,..._(t)})}function _i(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,..._(t)})}function xi(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v4\",..._(t)})}function vi(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v6\",..._(t)})}function wi(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v7\",..._(t)})}function pn(e,t){return new e({type:\"string\",format:\"url\",check:\"string_format\",abort:!1,..._(t)})}function zi(e,t){return new e({type:\"string\",format:\"emoji\",check:\"string_format\",abort:!1,..._(t)})}function $i(e,t){return new e({type:\"string\",format:\"nanoid\",check:\"string_format\",abort:!1,..._(t)})}function ki(e,t){return new e({type:\"string\",format:\"cuid\",check:\"string_format\",abort:!1,..._(t)})}function Si(e,t){return new e({type:\"string\",format:\"cuid2\",check:\"string_format\",abort:!1,..._(t)})}function Ii(e,t){return new e({type:\"string\",format:\"ulid\",check:\"string_format\",abort:!1,..._(t)})}function Pi(e,t){return new e({type:\"string\",format:\"xid\",check:\"string_format\",abort:!1,..._(t)})}function Ti(e,t){return new e({type:\"string\",format:\"ksuid\",check:\"string_format\",abort:!1,..._(t)})}function Ei(e,t){return new e({type:\"string\",format:\"ipv4\",check:\"string_format\",abort:!1,..._(t)})}function Ai(e,t){return new e({type:\"string\",format:\"ipv6\",check:\"string_format\",abort:!1,..._(t)})}function rl(e,t){return new e({type:\"string\",format:\"mac\",check:\"string_format\",abort:!1,..._(t)})}function Oi(e,t){return new e({type:\"string\",format:\"cidrv4\",check:\"string_format\",abort:!1,..._(t)})}function Ni(e,t){return new e({type:\"string\",format:\"cidrv6\",check:\"string_format\",abort:!1,..._(t)})}function Ci(e,t){return new e({type:\"string\",format:\"base64\",check:\"string_format\",abort:!1,..._(t)})}function Zi(e,t){return new e({type:\"string\",format:\"base64url\",check:\"string_format\",abort:!1,..._(t)})}function Ri(e,t){return new e({type:\"string\",format:\"e164\",check:\"string_format\",abort:!1,..._(t)})}function nl(e,t){return new e({type:\"string\",format:\"credit_card\",check:\"string_format\",abort:!1,..._(t)})}function ji(e,t){return new e({type:\"string\",format:\"jwt\",check:\"string_format\",abort:!1,..._(t)})}function dn(e,t){return new e({type:\"string\",format:\"datetime\",check:\"string_format\",offset:!1,local:!1,precision:null,..._(t)})}function fn(e,t){return new e({type:\"string\",format:\"date\",check:\"string_format\",..._(t)})}function mn(e,t){return new e({type:\"string\",format:\"time\",check:\"string_format\",precision:null,..._(t)})}function hn(e,t){return new e({type:\"string\",format:\"duration\",check:\"string_format\",..._(t)})}function ol(e,t){return new e({type:\"number\",checks:[],..._(t)})}function il(e,t){return new e({type:\"number\",coerce:!0,checks:[],..._(t)})}function sl(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"safeint\",..._(t)})}function al(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"float32\",..._(t)})}function cl(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"float64\",..._(t)})}function ul(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"int32\",..._(t)})}function ll(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"uint32\",..._(t)})}function pl(e,t){return new e({type:\"boolean\",..._(t)})}function dl(e,t){return new e({type:\"boolean\",coerce:!0,..._(t)})}function fl(e,t){return new e({type:\"bigint\",..._(t)})}function ml(e,t){return new e({type:\"bigint\",coerce:!0,..._(t)})}function hl(e,t){return new e({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"int64\",..._(t)})}function gl(e,t){return new e({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"uint64\",..._(t)})}function bl(e,t){return new e({type:\"symbol\",..._(t)})}function yl(e,t){return new e({type:\"undefined\",..._(t)})}function _l(e,t){return new e({type:\"null\",..._(t)})}function xl(e){return new e({type:\"any\"})}function vl(e){return new e({type:\"unknown\"})}function wl(e,t){return new e({type:\"never\",..._(t)})}function zl(e,t){return new e({type:\"void\",..._(t)})}function $l(e,t){return new e({type:\"date\",..._(t)})}function kl(e,t){return new e({type:\"date\",coerce:!0,..._(t)})}function Sl(e,t){return new e({type:\"nan\",..._(t)})}function Fe(e,t){return new jo({check:\"less_than\",..._(t),value:e,inclusive:!1})}function Ie(e,t){return new jo({check:\"less_than\",..._(t),value:e,inclusive:!0})}function qe(e,t){return new Do({check:\"greater_than\",..._(t),value:e,inclusive:!1})}function Pe(e,t){return new Do({check:\"greater_than\",..._(t),value:e,inclusive:!0})}function gn(e){return qe(0,e)}function bn(e){return Fe(0,e)}function yn(e){return Ie(0,e)}function _n(e){return Pe(0,e)}function Qe(e,t){return new fc({check:\"multiple_of\",..._(t),value:e})}function Ge(e,t){return new gc({check:\"max_size\",..._(t),maximum:e})}function Ue(e,t){return new bc({check:\"min_size\",..._(t),minimum:e})}function ct(e,t){return new yc({check:\"size_equals\",..._(t),size:e})}function ut(e,t){return new _c({check:\"max_length\",..._(t),maximum:e})}function Be(e,t){return new xc({check:\"min_length\",..._(t),minimum:e})}function lt(e,t){return new vc({check:\"length_equals\",..._(t),length:e})}function Tt(e,t){return new wc({check:\"string_format\",format:\"regex\",..._(t),pattern:e})}function Et(e){return new zc({check:\"string_format\",format:\"lowercase\",..._(e)})}function At(e){return new $c({check:\"string_format\",format:\"uppercase\",..._(e)})}function Ot(e,t){return new kc({check:\"string_format\",format:\"includes\",..._(t),includes:e})}function Nt(e,t){return new Sc({check:\"string_format\",format:\"starts_with\",..._(t),prefix:e})}function Ct(e,t){return new Ic({check:\"string_format\",format:\"ends_with\",..._(t),suffix:e})}function xn(e,t,r){return new Lo({check:\"property\",property:e,schema:t,..._(r)})}function vn(e){return Object.entries(e).map(([t,r])=>new Lo({check:\"property\",property:t,schema:r}))}function Zt(e,t){return new Pc({check:\"mime_type\",mime:e,..._(t)})}function De(e){return new Tc({check:\"overwrite\",tx:e})}function Rt(e){return De(t=>t.normalize(e))}function jt(){return De(e=>e.trim())}function Dt(){return De(e=>e.toLowerCase())}function Lt(){return De(e=>e.toUpperCase())}function Mt(){return De(e=>ya(e))}function Il(e,t,r){return new e({type:\"array\",element:t,..._(r)})}function lx(e,t,r){return new e({type:\"union\",options:t,..._(r)})}function px(e,t,r){return new e({type:\"union\",options:t,inclusive:!1,..._(r)})}function dx(e,t,r,n){return new e({type:\"union\",options:r,discriminator:t,..._(n)})}function fx(e,t,r){return new e({type:\"intersection\",left:t,right:r})}function mx(e,t,r,n){let o=r instanceof A,i=o?n:r,s=o?r:null;return new e({type:\"tuple\",items:t,rest:s,..._(i)})}function hx(e,t,r,n){return new e({type:\"record\",keyType:t,valueType:r,..._(n)})}function gx(e,t,r,n){return new e({type:\"map\",keyType:t,valueType:r,..._(n)})}function bx(e,t,r){return new e({type:\"set\",valueType:t,..._(r)})}function yx(e,t,r){let n=Array.isArray(t)?Object.fromEntries(t.map(o=>[o,o])):t;return new e({type:\"enum\",entries:n,..._(r)})}function _x(e,t,r){return new e({type:\"enum\",entries:t,..._(r)})}function xx(e,t,r){return new e({type:\"literal\",values:Array.isArray(t)?t:[t],..._(r)})}function Pl(e,t){return new e({type:\"file\",..._(t)})}function vx(e,t){return new e({type:\"transform\",transform:t})}function wx(e,t){return new e({type:\"optional\",innerType:t})}function zx(e,t){return new e({type:\"nullable\",innerType:t})}function $x(e,t,r){return new e({type:\"default\",innerType:t,get defaultValue(){return typeof r==\"function\"?r():Fr(r)}})}function kx(e,t,r){return new e({type:\"nonoptional\",innerType:t,..._(r)})}function Sx(e,t){return new e({type:\"success\",innerType:t})}function Ix(e,t,r){return new e({type:\"catch\",innerType:t,catchValue:typeof r==\"function\"?r:Pa(r)})}function Px(e,t,r){return new e({type:\"pipe\",in:t,out:r})}function Tx(e,t){return new e({type:\"readonly\",innerType:t})}function Ex(e,t,r){return new e({type:\"template_literal\",parts:t,..._(r)})}function Ax(e,t){return new e({type:\"lazy\",getter:t})}function Ox(e,t){return new e({type:\"promise\",innerType:t})}function Tl(e,t,r){let n=_(r);return n.abort??(n.abort=!0),new e({type:\"custom\",check:\"custom\",fn:t,...n})}function El(e,t,r){return new e({type:\"custom\",check:\"custom\",fn:t,..._(r)})}function Al(e,t){let r=Pg(n=>(n.addIssue=o=>{if(typeof o==\"string\")n.issues.push(tr(o,n.value,r._zod.def));else{let i=o;i.fatal&&(i.continue=!1),i.code??(i.code=\"custom\"),\"input\"in i||(i.input=n.value),i.inst??(i.inst=r),i.continue??(i.continue=!r._zod.def.abort),n.issues.push(tr(i))}},e(n.value,n)),t);return r}function Pg(e,t){let r=new G({check:\"custom\",..._(t)});return r._zod.check=e,r}function Ol(e){let t=new G({check:\"describe\"});return t._zod.onattach=[r=>{let n=ue.get(r)??{};ue.add(r,{...n,description:e})}],t._zod.check=()=>{},t}function Nl(e){let t=new G({check:\"meta\"});return t._zod.onattach=[r=>{let n=ue.get(r)??{};ue.add(r,{...n,...e})}],t._zod.check=()=>{},t}function Cl(e,t){let r=_(t),n=r.truthy??[\"true\",\"1\",\"yes\",\"on\",\"y\",\"enabled\"],o=r.falsy??[\"false\",\"0\",\"no\",\"off\",\"n\",\"disabled\"];r.case!==\"sensitive\"&&(n=n.map(h=>typeof h==\"string\"?h.toLowerCase():h),o=o.map(h=>typeof h==\"string\"?h.toLowerCase():h));let i=new Set(n),s=new Set(o),a=e.Codec??sn,c=e.Boolean??nn,u=e.String??$t,l=new u({type:\"string\",error:r.error}),d=new c({type:\"boolean\",error:r.error}),f=new a({type:\"pipe\",in:l,out:d,transform:((h,b)=>{let x=h;return r.case!==\"sensitive\"&&(x=x.toLowerCase()),i.has(x)?!0:s.has(x)?!1:(b.issues.push({code:\"invalid_value\",expected:\"stringbool\",values:[...i,...s],input:b.value,inst:f,continue:!1}),{})}),reverseTransform:((h,b)=>h===!0?n[0]||\"true\":o[0]||\"false\"),error:r.error});return f._zod.bag.truthy=n,f._zod.bag.falsy=o,f._zod.bag.case=r.case??\"insensitive\",f}function mr(e,t,r,n={}){let o=_(n),i={check:\"string_format\",type:\"string\",format:t,fn:typeof r==\"function\"?r:a=>r.test(a),...o};return r instanceof RegExp&&(i.pattern=r),new e(i)}var Di,Tg=y(()=>{Mo();ln();cn();ie();Di={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function wn(e,...t){for(let r of t)for(let n of Reflect.ownKeys(r))Object.prototype.propertyIsEnumerable.call(r,n)&&te(e,n,r[n]);return e}function pt(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??ue,target:t,unrepresentable:e?.unrepresentable??\"throw\",override:e?.override??(()=>{}),io:e?.io??\"output\",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??\"ref\",reused:e?.reused??\"inline\",intersections:[],deferred:[],external:e?.external??void 0}}function se(e,t,r,n,o){let i=typeof t.unrepresentable==\"function\"?t.unrepresentable({zodSchema:e,path:n.path,message:o}):t.unrepresentable;if(i===\"any\")return!1;if(i===void 0||i===\"throw\")throw new Error(o);return Object.assign(r,i),!0}function q(e,t,r={path:[],schemaPath:[]}){var n;let o=e._zod.def,i=t.seen.get(e);if(i)return i.count++,r.schemaPath.includes(e)&&(i.cycle=r.path),i.schema;let s={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,s),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let a=e._zod.toJSONSchema?.();if(a)s.schema=a;else{let l={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,s.schema,l);else{let f=s.schema,h=t.processors[o.type];if(!h)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);h(e,t,f,l)}let d=e._zod.parent;d&&(s.ref||(s.ref=d),q(d,t,l),t.seen.get(d).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&wn(s.schema,c),t.io===\"input\"&&_e(e)&&(delete s.schema.examples,delete s.schema.default),t.io===\"input\"&&\"_prefault\"in s.schema&&((n=s.schema).default??(n.default=s.schema._prefault)),delete s.schema._prefault,t.seen.get(e).schema}function Eg(e){return e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\")}function dt(e,t){let r=e.seen.get(t);if(!r)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let n=new Map;for(let s of e.seen.entries()){let a=e.metadataRegistry.get(s[0])?.id;if(a){let c=n.get(a);if(c&&c!==s[0])throw new Error(`Duplicate schema id \"${a}\" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(a,s[0])}}let o=s=>{let a=e.target===\"draft-2020-12\"?\"$defs\":\"definitions\";if(e.external){let d=e.external.registry.get(s[0])?.id,f=e.external.uri??(b=>b);if(d)return{ref:f(d)};let h=s[1].defId??s[1].schema.id??`schema${e.counter++}`;return s[1].defId=h,{defId:h,ref:`${f(\"__shared\")}#/${a}/${Eg(h)}`}}let c=\"#\",u=`${c}/${a}/`;if(s[1]===r&&!s[1].schema.id)return{ref:c};let l=s[1].schema.id??`__schema${e.counter++}`;return{defId:l,ref:u+Eg(l)}},i=s=>{if(s[1].schema.$ref)return;let a=s[1],{ref:c,defId:u}=o(s);a.def={...a.schema},u&&(a.defId=u);let l=a.schema;for(let d in l)delete l[d];l.$ref=c};if(e.cycles===\"throw\")for(let s of e.seen.entries()){let a=s[1];if(a.cycle)throw new Error(`Cycle detected: #/${a.cycle?.join(\"/\")}/<root>\n\nSet the \\`cycles\\` parameter to \\`\"ref\"\\` to resolve cyclical schemas with defs.`)}for(let s of e.seen.entries()){let a=s[1];if(t===s[0]){i(s);continue}if(e.external){let u=e.external.registry.get(s[0])?.id;if(t!==s[0]&&u){i(s);continue}}if(e.metadataRegistry.get(s[0])?.id){i(s);continue}if(a.cycle){i(s);continue}if(a.count>1&&e.reused===\"ref\"){i(s);continue}}e.external&&(e.sharedDefsExtractedFor=e.external)}function Ng(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let r=[];for(let n of t){if(!n||typeof n!=\"object\")return;Ng(n);let o=Object.keys(n);if(o.length!==1||o[0]!==\"type\")return;let i=n.type;for(let s of Array.isArray(i)?i:[i]){if(typeof s!=\"string\")return;r.includes(s)||r.push(s)}}delete e.anyOf,e.type=r.length===1?r[0]:r}function Og(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=\"object\"||t===null?null:Object.keys(t).length?t:null}function Zl(e){let t=[];for(let i of e){if(typeof i!=\"object\"||i.type!==\"object\")return null;for(let s in i)if(!Cg.has(s))return null;t.push(i)}let r={},n=new Set;for(let i of t){for(let s in i.properties){if(Object.prototype.hasOwnProperty.call(r,s))continue;let a=[];for(let u of t){let l=u.properties?.[s]??Og(u);l!=null&&(a.some(d=>JSON.stringify(d)===JSON.stringify(l))||a.push(l))}let c=a.length===1?a[0]:Zl(a)??{allOf:a};te(r,s,c)}for(let s of i.required??[])n.add(s)}let o={type:\"object\",properties:r};if(n.size&&(o.required=[...n]),t.every(i=>i.additionalProperties===!1))o.additionalProperties=!1;else{let i=[];for(let s of t){let a=Og(s);a&&!i.some(c=>JSON.stringify(c)===JSON.stringify(a))&&i.push(a)}i.length===1?o.additionalProperties=i[0]:i.length>1&&(o.additionalProperties={allOf:i})}return o}function Nx(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let o of Cg)if(o in e)return;let r=t.filter(o=>Ag.some(i=>Array.isArray(o[i]))),n=null;if(!r.length)n=Zl(t);else{let o=r[0],i=Ag.find(c=>Array.isArray(o[c]));if(Object.keys(o).length!==1)return;let s=t.filter(c=>c!==o),a=o[i].map(c=>Zl([...s,c]));if(a.some(c=>!c))return;n={[i]:a}}n&&(delete e.allOf,wn(e,n))}function ft(e,t){let r=e.seen.get(t);if(!r)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");let n=a=>{let c=e.seen.get(a);if(c.ref===null)return;let u=c.def??c.schema,l={...u},d=c.ref;if(c.ref=null,d){n(d);let h=e.seen.get(d),b=h.schema;if(b.$ref&&(e.target===\"draft-07\"||e.target===\"draft-04\"||e.target===\"openapi-3.0\")?(u.allOf=u.allOf??[],u.allOf.push(b)):wn(u,b),wn(u,l),a._zod.parent===d)for(let v in u)v===\"$ref\"||v===\"allOf\"||v in l||delete u[v];if(b.$ref&&h.def)for(let v in u)v===\"$ref\"||v===\"allOf\"||v in h.def&&JSON.stringify(u[v])===JSON.stringify(h.def[v])&&delete u[v]}let f=a._zod.parent;if(f&&f!==d){n(f);let h=e.seen.get(f);if(h?.schema.$ref&&(u.$ref=h.schema.$ref,h.def))for(let b in u)b===\"$ref\"||b===\"allOf\"||b in h.def&&JSON.stringify(u[b])===JSON.stringify(h.def[b])&&delete u[b]}e.override({zodSchema:a,jsonSchema:u,path:c.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let a of[...e.seen.entries()].reverse())n(a[0]);if(e.target!==\"openapi-3.0\")for(let a of e.seen.entries())Ng(a[1].def??a[1].schema);for(let a of e.deferred)a();if(e.intersections.length){let a=new Map;for(let c of e.seen.values())for(let u of[c.schema,c.def]){let l=u?.allOf;if(!Array.isArray(l))continue;let d=a.get(l);d?d.push(u):a.set(l,[u])}for(let c of e.intersections)for(let u of a.get(c)??[])Nx(u)}}let o={};if(e.target===\"draft-2020-12\"?o.$schema=\"https://json-schema.org/draft/2020-12/schema\":e.target===\"draft-07\"?o.$schema=\"http://json-schema.org/draft-07/schema#\":e.target===\"draft-04\"?o.$schema=\"http://json-schema.org/draft-04/schema#\":e.target,e.external?.uri){let a=e.external.registry.get(t)?.id;if(!a)throw new Error(\"Schema is missing an `id` property\");o.$id=e.external.uri(a)}wn(o,r.defId?r.schema:r.def??r.schema);let i=e.metadataRegistry.get(t)?.id;i!==void 0&&o.id===i&&delete o.id;let s=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let a of e.seen.entries()){let c=a[1];c.def&&c.defId&&(c.def.id===c.defId&&delete c.def.id,te(s,c.defId,c.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(s).length>0&&(e.target===\"draft-2020-12\"?o.$defs=s:o.definitions=s);try{let a=JSON.parse(JSON.stringify(o));return Object.defineProperty(a,\"~standard\",{value:{...t[\"~standard\"],jsonSchema:{input:hr(t,\"input\",e.processors),output:hr(t,\"output\",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw new Error(\"Error converting schema to JSON.\")}}function _e(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let n=e._zod.def;if(n.type===\"transform\")return!0;if(n.type===\"array\")return _e(n.element,r);if(n.type===\"set\")return _e(n.valueType,r);if(n.type===\"lazy\")return _e(n.getter(),r);if(n.type===\"promise\"||n.type===\"optional\"||n.type===\"nonoptional\"||n.type===\"nullable\"||n.type===\"readonly\"||n.type===\"default\"||n.type===\"prefault\"||n.type===\"catch\")return _e(n.innerType,r);if(n.type===\"intersection\")return _e(n.left,r)||_e(n.right,r);if(n.type===\"record\"||n.type===\"map\")return _e(n.keyType,r)||_e(n.valueType,r);if(n.type===\"pipe\")return e._zod.traits.has(\"$ZodCodec\")?!0:_e(n.in,r)||_e(n.out,r);if(n.type===\"object\"){for(let o in n.shape)if(_e(n.shape[o],r))return!0;return!1}if(n.type===\"union\"){for(let o of n.options)if(_e(o,r))return!0;return!1}if(n.type===\"tuple\"){for(let o of n.items)if(_e(o,r))return!0;return!!(n.rest&&_e(n.rest,r))}return!1}var Cg,Ag,Rl,hr,zn=y(()=>{ln();ie();Cg=new Set([\"type\",\"properties\",\"required\",\"additionalProperties\"]),Ag=[\"oneOf\",\"anyOf\"];Rl=(e,t={})=>r=>{let n=pt({...r,processors:t});return q(e,n),dt(n,e),ft(n,e)},hr=(e,t,r={})=>n=>{let{libraryOptions:o,target:i}=n??{},s=pt({...o??{},target:i,io:t,processors:r});return q(e,s),dt(s,e),ft(s,e)}});function $n(e){let t=e._zod.def;return t.type===\"pipe\"&&t.in._zod.traits.has(\"$ZodTransform\")?$n(t.out):t.type===\"catch\"?$n(t.innerType):e._zod.optin}function jl(e,t,r){if(t.$ref){if(r.has(t))return t;r.add(t);let b=e.get(t)?.def;if(!b)return t;let x=jl(e,b,r);return x===b?t:x}for(let b of[\"anyOf\",\"oneOf\"]){let x=t[b];if(!Array.isArray(x))continue;let v=x.map(L=>jl(e,L,r));v.some((L,w)=>L!==x[w])&&(t={...t,[b]:v})}let n=Array.isArray(t.type)?t.type:[t.type],o=!n.includes(\"string\")&&n.some(b=>b===\"number\"||b===\"integer\"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!o&&!i?.some(b=>typeof b==\"number\"))return t;let{minimum:s,maximum:a,exclusiveMinimum:c,exclusiveMaximum:u,multipleOf:l,format:d,id:f,...h}=t;return h.enum?h.enum=h.enum.map(b=>typeof b==\"number\"?String(b):b):typeof h.const==\"number\"&&(h.const=String(h.const)),o&&(h.type=\"string\",i||(h.pattern=(n.includes(\"number\")?at:Yr).source)),h}function Zx(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let r=new Map;for(let n of Dl.get(e)??[]){let o=e.seen.get(n),i=(o?.def??o?.schema)?.propertyNames;if(!i||i===!0||r.has(i))continue;let s=jl(t,i,new Set);s!==i&&r.set(i,s)}if(r.size)for(let n of e.seen.values())for(let o of[n.schema,n.def]){let i=o&&r.get(o.propertyNames);i&&(o.propertyNames=i)}}function Zg(e,t,r,n,o){let i=!1,s=JSON.stringify(e,(a,c)=>typeof c!=\"bigint\"?c:(i=!0,null));return i?(se(t,r,n,o,\"BigInt defaults cannot be represented in JSON Schema\"),hp):JSON.parse(s)}function kn(e,t){if(\"_idmap\"in e){let n=e,o=pt({...t,processors:Li}),i={};for(let c of n._idmap.entries()){let[u,l]=c;q(l,o)}let s={},a={registry:n,uri:t?.uri,defs:i};o.external=a;for(let c of n._idmap.entries()){let[u,l]=c;dt(o,l),te(s,u,ft(o,l))}if(Object.keys(i).length>0){let c=o.target===\"draft-2020-12\"?\"$defs\":\"definitions\";s.__shared={[c]:i}}return{schemas:s}}let r=pt({...t,processors:Li});return q(e,r),dt(r,e),ft(r,e)}var Cx,Ll,Ml,Vl,Fl,ql,Ul,Hl,Jl,Bl,Kl,Wl,Ql,Gl,Yl,Xl,ep,tp,rp,np,op,ip,sp,ap,cp,up,Mi,lp,pp,Dl,dp,fp,mp,hp,gp,bp,yp,_p,xp,vp,Vi,wp,Li,Sn=y(()=>{ur();zn();ie();Cx={guid:\"uuid\",url:\"uri\",datetime:\"date-time\",json_string:\"json-string\",regex:\"\"},Ll=(e,t,r,n)=>{let o=r;o.type=\"string\";let{minimum:i,maximum:s,format:a,patterns:c,contentEncoding:u,laxFormat:l}=e._zod.bag;if(typeof i==\"number\"&&(o.minLength=i),typeof s==\"number\"&&(o.maxLength=s),a&&(o.format=Cx[a]??a,o.format===\"\"&&delete o.format,(a===\"time\"||l)&&delete o.format),u&&(o.contentEncoding=u),c&&c.size>0){let d=[...c];d.length===1?o.pattern=d[0].source:d.length>1&&(o.allOf=[...d.map(f=>({...t.target===\"draft-07\"||t.target===\"draft-04\"||t.target===\"openapi-3.0\"?{type:\"string\"}:{},pattern:f.source}))])}},Ml=(e,t,r,n)=>{let o=r,{minimum:i,maximum:s,format:a,multipleOf:c,exclusiveMaximum:u,exclusiveMinimum:l}=e._zod.bag;typeof a==\"string\"&&a.includes(\"int\")?o.type=\"integer\":o.type=\"number\";let d=typeof l==\"number\"&&l>=(i??Number.NEGATIVE_INFINITY),f=typeof u==\"number\"&&u<=(s??Number.POSITIVE_INFINITY),h=t.target===\"draft-04\"||t.target===\"openapi-3.0\";d?h?(o.minimum=l,o.exclusiveMinimum=!0):o.exclusiveMinimum=l:typeof i==\"number\"&&(o.minimum=i),f?h?(o.maximum=u,o.exclusiveMaximum=!0):o.exclusiveMaximum=u:typeof s==\"number\"&&(o.maximum=s),typeof c==\"number\"&&(Number.isFinite(c)&&c!==0?o.multipleOf=Math.abs(c):se(e,t,o,n,`A multipleOf divisor of ${c} cannot be represented in JSON Schema`))},Vl=(e,t,r,n)=>{r.type=\"boolean\"},Fl=(e,t,r,n)=>{se(e,t,r,n,\"BigInt cannot be represented in JSON Schema\")},ql=(e,t,r,n)=>{se(e,t,r,n,\"Symbols cannot be represented in JSON Schema\")},Ul=(e,t,r,n)=>{t.target===\"openapi-3.0\"?(r.type=\"string\",r.nullable=!0,r.enum=[null]):r.type=\"null\"},Hl=(e,t,r,n)=>{se(e,t,r,n,\"Undefined cannot be represented in JSON Schema\")},Jl=(e,t,r,n)=>{se(e,t,r,n,\"Void cannot be represented in JSON Schema\")},Bl=(e,t,r,n)=>{r.not={}},Kl=(e,t,r,n)=>{},Wl=(e,t,r,n)=>{},Ql=(e,t,r,n)=>{se(e,t,r,n,\"Date cannot be represented in JSON Schema\")},Gl=(e,t,r,n)=>{let o=e._zod.def,i=Lr(o.entries);if(i.length===0){r.not={};return}i.every(s=>typeof s==\"number\")&&(r.type=\"number\"),i.every(s=>typeof s==\"string\")&&(r.type=\"string\"),r.enum=i},Yl=(e,t,r,n)=>{let o=e._zod.def;if(o.values.length===0){r.not={};return}let i=[];for(let s of o.values)if(s===void 0){if(se(e,t,r,n,\"Literal `undefined` cannot be represented in JSON Schema\"))return}else if(typeof s==\"bigint\"){if(se(e,t,r,n,\"BigInt literals cannot be represented in JSON Schema\"))return;i.push(Number(s))}else i.push(s);if(i.length!==0)if(i.length===1){let s=i[0];r.type=s===null?\"null\":typeof s,t.target===\"draft-04\"||t.target===\"openapi-3.0\"?r.enum=[s]:r.const=s}else i.every(s=>typeof s==\"number\")&&(r.type=\"number\"),i.every(s=>typeof s==\"string\")&&(r.type=\"string\"),i.every(s=>typeof s==\"boolean\")&&(r.type=\"boolean\"),i.every(s=>s===null)&&(r.type=\"null\"),r.enum=i},Xl=(e,t,r,n)=>{se(e,t,r,n,\"NaN cannot be represented in JSON Schema\")},ep=(e,t,r,n)=>{let o=r,i=e._zod.pattern;if(!i)throw new Error(\"Pattern not found in template literal\");o.type=\"string\",o.pattern=i.source},tp=(e,t,r,n)=>{let o=r,i={type:\"string\",format:\"binary\",contentEncoding:\"binary\"},{minimum:s,maximum:a,mime:c}=e._zod.bag;s!==void 0&&(i.minLength=s),a!==void 0&&(i.maxLength=a),c?c.length===1?(i.contentMediaType=c[0],Object.assign(o,i)):(Object.assign(o,i),o.anyOf=c.map(u=>({contentMediaType:u}))):Object.assign(o,i)},rp=(e,t,r,n)=>{r.type=\"boolean\"},np=(e,t,r,n)=>{se(e,t,r,n,\"Custom types cannot be represented in JSON Schema\")},op=(e,t,r,n)=>{se(e,t,r,n,\"Function types cannot be represented in JSON Schema\")},ip=(e,t,r,n)=>{se(e,t,r,n,\"Transforms cannot be represented in JSON Schema\")},sp=(e,t,r,n)=>{se(e,t,r,n,\"Map cannot be represented in JSON Schema\")},ap=(e,t,r,n)=>{se(e,t,r,n,\"Set cannot be represented in JSON Schema\")},cp=(e,t,r,n)=>{let o=r,i=e._zod.def,{minimum:s,maximum:a}=e._zod.bag;typeof s==\"number\"&&(o.minItems=s),typeof a==\"number\"&&(o.maxItems=a),o.type=\"array\",o.items=q(i.element,t,{...n,path:[...n.path,\"items\"]})};up=(e,t,r,n)=>{let o=r,i=e._zod.def,s=i.shape;if(Object.getOwnPropertySymbols(s).length&&se(e,t,o,n,\"Symbol keys cannot be represented in JSON Schema\"))return;o.type=\"object\",o.properties={};for(let l in s)te(o.properties,l,q(s[l],t,{...n,path:[...n.path,\"properties\",l]}));let c=new Set(Object.keys(s)),u=new Set([...c].filter(l=>{let d=i.shape[l];return t.io===\"input\"?$n(d)===void 0:d._zod.optout===void 0}));u.size>0&&(o.required=Array.from(u)),i.catchall?._zod.def.type===\"never\"?o.additionalProperties=!1:i.catchall?i.catchall&&(o.additionalProperties=q(i.catchall,t,{...n,path:[...n.path,\"additionalProperties\"]})):t.io===\"output\"&&(o.additionalProperties=!1)},Mi=(e,t,r,n)=>{let o=e._zod.def,i=o.inclusive===!1,s=o.options.map((a,c)=>q(a,t,{...n,path:[...n.path,i?\"oneOf\":\"anyOf\",c]}));i?r.oneOf=s:r.anyOf=s},lp=(e,t,r,n)=>{let o=e._zod.def,i=q(o.left,t,{...n,path:[...n.path,\"allOf\",0]}),s=q(o.right,t,{...n,path:[...n.path,\"allOf\",1]}),a=u=>\"allOf\"in u&&Object.keys(u).length===1,c=[...a(i)?i.allOf:[i],...a(s)?s.allOf:[s]];r.allOf=c,t.intersections.push(c)},pp=(e,t,r,n)=>{let o=r,i=e._zod.def;o.type=\"array\";let s=t.target===\"draft-2020-12\"?\"prefixItems\":\"items\",a=t.target===\"draft-2020-12\"||t.target===\"openapi-3.0\"?\"items\":\"additionalItems\",c=i.items.map((x,v)=>q(x,t,{...n,path:[...n.path,s,v]})),u=i.rest?q(i.rest,t,{...n,path:[...n.path,a,...t.target===\"openapi-3.0\"?[i.items.length]:[]]}):null,l=i.items.length;for(;l>0;){let x=i.items[l-1];if(!(t.io===\"input\"?$n(x)!==void 0:x._zod.optout===\"optional\"))break;l--}let d=i.items.length,f=!i.rest;t.target===\"draft-2020-12\"?(o.prefixItems=c,f?o.items=!1:u&&(o.items=u),l>0&&(o.minItems=l),f&&(o.maxItems=d)):t.target===\"openapi-3.0\"?(o.items={anyOf:c},u&&o.items.anyOf.push(u),l>0&&(o.minItems=l),f&&(o.maxItems=d)):(o.items=c,f?o.additionalItems=!1:u&&(o.additionalItems=u),l>0&&(o.minItems=l),f&&(o.maxItems=d));let{minimum:h,maximum:b}=e._zod.bag;typeof h==\"number\"&&(o.minItems=h),typeof b==\"number\"&&(o.maxItems=b)};Dl=new WeakMap;dp=(e,t,r,n)=>{let o=r,i=e._zod.def;o.type=\"object\";let s=i.keyType,c=s._zod.bag?.patterns;if(i.mode===\"loose\"&&c&&c.size>0){let d=q(i.valueType,t,{...n,path:[...n.path,\"patternProperties\",\"*\"]});o.patternProperties={};for(let f of c)te(o.patternProperties,f.source,d)}else{if(t.target===\"draft-07\"||t.target===\"draft-2020-12\"){o.propertyNames=q(i.keyType,t,{...n,path:[...n.path,\"propertyNames\"]});let d=Dl.get(t);d||(d=[],Dl.set(t,d),t.deferred.push(()=>Zx(t))),d.push(e)}o.additionalProperties=q(i.valueType,t,{...n,path:[...n.path,\"additionalProperties\"]})}let u=s._zod.values,l=t.io===\"input\"&&$n(i.valueType)!==void 0;if(u&&!i.partial&&!l){let d=[...u].filter(f=>typeof f==\"string\"||typeof f==\"number\");d.length>0&&(o.required=d.map(String))}},fp=(e,t,r,n)=>{let o=e._zod.def,i=q(o.innerType,t,n),s=t.seen.get(e);t.target===\"openapi-3.0\"?(s.ref=o.innerType,r.nullable=!0):r.anyOf=[i,{type:\"null\"}]},mp=(e,t,r,n)=>{let o=e._zod.def;q(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},hp=Symbol();gp=(e,t,r,n)=>{let o=e._zod.def;q(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType;let s=Zg(o.defaultValue,e,t,r,n);s!==hp&&(r.default=s)},bp=(e,t,r,n)=>{let o=e._zod.def;q(o.innerType,t,n);let i=t.seen.get(e);if(i.ref=o.innerType,t.io!==\"input\")return;let s=Zg(o.defaultValue,e,t,r,n);s!==hp&&(r._prefault=s)},yp=(e,t,r,n)=>{let o=e._zod.def;q(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType;let s;try{s=o.catchValue(void 0)}catch{se(e,t,r,n,\"Dynamic catch values are not supported in JSON Schema\");return}r.default=s},_p=(e,t,r,n)=>{let o=e._zod.def,i=o.in._zod.traits.has(\"$ZodTransform\"),s=t.io===\"input\"?i?o.out:o.in:o.out;q(s,t,n);let a=t.seen.get(e);a.ref=s},xp=(e,t,r,n)=>{let o=e._zod.def;q(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType,r.readOnly=!0},vp=(e,t,r,n)=>{let o=e._zod.def;q(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},Vi=(e,t,r,n)=>{let o=e._zod.def;q(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},wp=(e,t,r,n)=>{let o=e._zod.innerType;q(o,t,n);let i=t.seen.get(e);i.ref=o},Li={string:Ll,number:Ml,boolean:Vl,bigint:Fl,symbol:ql,null:Ul,undefined:Hl,void:Jl,never:Bl,any:Kl,unknown:Wl,date:Ql,enum:Gl,literal:Yl,nan:Xl,template_literal:ep,file:tp,success:rp,custom:np,function:op,transform:ip,map:sp,set:ap,array:cp,object:up,union:Mi,intersection:lp,tuple:pp,record:dp,nullable:fp,nonoptional:mp,default:gp,prefault:bp,catch:yp,pipe:_p,readonly:xp,promise:vp,optional:Vi,lazy:wp}});var Fi,Rg=y(()=>{Sn();zn();Fi=class{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 r=t?.target??\"draft-2020-12\";r===\"draft-4\"&&(r=\"draft-04\"),r===\"draft-7\"&&(r=\"draft-07\"),this.ctx=pt({processors:Li,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return q(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,dt(this.ctx,t);let n=ft(this.ctx,t),{\"~standard\":o,...i}=n;return i}}});var jg={};var Dg=y(()=>{});var Ke={};Je(Ke,{$ZodAny:()=>du,$ZodArray:()=>bu,$ZodAsyncError:()=>ke,$ZodBase64:()=>tu,$ZodBase64URL:()=>ru,$ZodBigInt:()=>ri,$ZodBigIntFormat:()=>cu,$ZodBoolean:()=>nn,$ZodCIDRv4:()=>Xc,$ZodCIDRv6:()=>eu,$ZodCUID:()=>Vc,$ZodCUID2:()=>Fc,$ZodCatch:()=>Zu,$ZodCheck:()=>G,$ZodCheckBigIntFormat:()=>hc,$ZodCheckEndsWith:()=>Ic,$ZodCheckGreaterThan:()=>Do,$ZodCheckIncludes:()=>kc,$ZodCheckLengthEquals:()=>vc,$ZodCheckLessThan:()=>jo,$ZodCheckLowerCase:()=>zc,$ZodCheckMaxLength:()=>_c,$ZodCheckMaxSize:()=>gc,$ZodCheckMimeType:()=>Pc,$ZodCheckMinLength:()=>xc,$ZodCheckMinSize:()=>bc,$ZodCheckMultipleOf:()=>fc,$ZodCheckNumberFormat:()=>mc,$ZodCheckOverwrite:()=>Tc,$ZodCheckProperty:()=>Lo,$ZodCheckRegex:()=>wc,$ZodCheckSizeEquals:()=>yc,$ZodCheckStartsWith:()=>Sc,$ZodCheckStringFormat:()=>lr,$ZodCheckUpperCase:()=>$c,$ZodCodec:()=>sn,$ZodCreditCard:()=>ou,$ZodCustom:()=>Fu,$ZodCustomStringFormat:()=>su,$ZodCyclicError:()=>ui,$ZodDate:()=>gu,$ZodDefault:()=>Au,$ZodDiscriminatedUnion:()=>xu,$ZodE164:()=>nu,$ZodEmail:()=>Zc,$ZodEmoji:()=>Lc,$ZodEncodeError:()=>st,$ZodEnum:()=>ku,$ZodError:()=>Jr,$ZodExactOptional:()=>Tu,$ZodFile:()=>Iu,$ZodFunction:()=>Mu,$ZodGUID:()=>Nc,$ZodIPv4:()=>Qc,$ZodIPv6:()=>Gc,$ZodISODate:()=>Bc,$ZodISODateTime:()=>Jc,$ZodISODuration:()=>Wc,$ZodISOTime:()=>Kc,$ZodIntersection:()=>vu,$ZodJWT:()=>iu,$ZodKSUID:()=>Hc,$ZodLazy:()=>an,$ZodLiteral:()=>Su,$ZodMAC:()=>Yc,$ZodMap:()=>zu,$ZodNaN:()=>Ru,$ZodNanoID:()=>Mc,$ZodNever:()=>mu,$ZodNonOptional:()=>Nu,$ZodNull:()=>pu,$ZodNullable:()=>Eu,$ZodNumber:()=>ti,$ZodNumberFormat:()=>au,$ZodObject:()=>rm,$ZodObjectJIT:()=>yu,$ZodOptional:()=>ii,$ZodPipe:()=>si,$ZodPrefault:()=>Ou,$ZodPreprocess:()=>ju,$ZodPromise:()=>Vu,$ZodReadonly:()=>Du,$ZodRealError:()=>Se,$ZodRecord:()=>wu,$ZodRegistry:()=>di,$ZodSet:()=>$u,$ZodString:()=>$t,$ZodStringFormat:()=>B,$ZodSuccess:()=>Cu,$ZodSymbol:()=>uu,$ZodTemplateLiteral:()=>Lu,$ZodTransform:()=>Pu,$ZodTuple:()=>oi,$ZodType:()=>A,$ZodULID:()=>qc,$ZodURL:()=>Dc,$ZodUUID:()=>Cc,$ZodUndefined:()=>lu,$ZodUnion:()=>on,$ZodUnknown:()=>fu,$ZodVoid:()=>hu,$ZodXID:()=>Uc,$ZodXor:()=>_u,$brand:()=>wo,$constructor:()=>m,$input:()=>mi,$output:()=>fi,Doc:()=>zt,INVALID:()=>Ne,JSONSchema:()=>jg,JSONSchemaGenerator:()=>Fi,NEVER:()=>vo,TimePrecision:()=>Di,URL_BAD_FORMAT:()=>Rc,URL_UNPARSEABLE:()=>jc,ZodCompileAsyncError:()=>je,ZodCompileUnsupportedError:()=>Z,_any:()=>xl,_array:()=>Il,_base64:()=>Ci,_base64url:()=>Zi,_bigint:()=>fl,_boolean:()=>pl,_catch:()=>Ix,_check:()=>Pg,_cidrv4:()=>Oi,_cidrv6:()=>Ni,_coercedBigint:()=>ml,_coercedBoolean:()=>dl,_coercedDate:()=>kl,_coercedNumber:()=>il,_coercedString:()=>tl,_creditCard:()=>nl,_cuid:()=>ki,_cuid2:()=>Si,_custom:()=>Tl,_date:()=>$l,_decode:()=>Io,_decodeAsync:()=>To,_default:()=>$x,_discriminatedUnion:()=>dx,_e164:()=>Ri,_email:()=>bi,_emoji:()=>zi,_encode:()=>So,_encodeAsync:()=>Po,_endsWith:()=>Ct,_enum:()=>yx,_file:()=>Pl,_float32:()=>al,_float64:()=>cl,_gt:()=>qe,_gte:()=>Pe,_guid:()=>yi,_includes:()=>Ot,_int:()=>sl,_int32:()=>ul,_int64:()=>hl,_intersection:()=>fx,_ipv4:()=>Ei,_ipv6:()=>Ai,_isoDate:()=>fn,_isoDateTime:()=>dn,_isoDuration:()=>hn,_isoTime:()=>mn,_jwt:()=>ji,_ksuid:()=>Ti,_lazy:()=>Ax,_length:()=>lt,_literal:()=>xx,_lowercase:()=>Et,_lt:()=>Fe,_lte:()=>Ie,_mac:()=>rl,_map:()=>gx,_max:()=>Ie,_maxLength:()=>ut,_maxSize:()=>Ge,_mime:()=>Zt,_min:()=>Pe,_minLength:()=>Be,_minSize:()=>Ue,_multipleOf:()=>Qe,_nan:()=>Sl,_nanoid:()=>$i,_nativeEnum:()=>_x,_negative:()=>bn,_never:()=>wl,_nonnegative:()=>_n,_nonoptional:()=>kx,_nonpositive:()=>yn,_normalize:()=>Rt,_null:()=>_l,_nullable:()=>zx,_number:()=>ol,_optional:()=>wx,_overwrite:()=>De,_parse:()=>or,_parseAsync:()=>ir,_pipe:()=>Px,_positive:()=>gn,_promise:()=>Ox,_properties:()=>vn,_property:()=>xn,_readonly:()=>Tx,_record:()=>hx,_refine:()=>El,_regex:()=>Tt,_safeDecode:()=>Ao,_safeDecodeAsync:()=>No,_safeEncode:()=>Eo,_safeEncodeAsync:()=>Oo,_safeParse:()=>sr,_safeParseAsync:()=>cr,_set:()=>bx,_size:()=>ct,_slugify:()=>Mt,_startsWith:()=>Nt,_string:()=>el,_stringFormat:()=>mr,_stringbool:()=>Cl,_success:()=>Sx,_superRefine:()=>Al,_symbol:()=>bl,_templateLiteral:()=>Ex,_toLowerCase:()=>Dt,_toUpperCase:()=>Lt,_transform:()=>vx,_trim:()=>jt,_tuple:()=>mx,_uint32:()=>ll,_uint64:()=>gl,_ulid:()=>Ii,_undefined:()=>yl,_union:()=>lx,_unknown:()=>vl,_uppercase:()=>At,_url:()=>pn,_uuid:()=>_i,_uuidv4:()=>xi,_uuidv6:()=>vi,_uuidv7:()=>wi,_void:()=>zl,_xid:()=>Pi,_xor:()=>px,clone:()=>V,compile:()=>hi,compileFn:()=>gi,config:()=>re,createStandardJSONSchemaMethod:()=>hr,createToJSONSchemaMethod:()=>Rl,decode:()=>If,decodeAsync:()=>Tf,describe:()=>Ol,encode:()=>Sf,encodeAsync:()=>Pf,extractDefs:()=>dt,finalize:()=>ft,flattenError:()=>rr,formatError:()=>nr,getDiscriminatedOption:()=>ni,globalConfig:()=>ce,globalRegistry:()=>ue,handleUnrepresentable:()=>se,initializeContext:()=>pt,isBackEdge:()=>li,isRecursiveSchema:()=>Ju,isValidBase64:()=>rn,isValidBase64URL:()=>Yo,isValidCIDRv6:()=>Go,isValidCreditCard:()=>Xo,isValidIPv6:()=>tn,isValidJWT:()=>ei,locales:()=>fr,memoizer:()=>dr,mergeValues:()=>pr,meta:()=>Nl,parse:()=>Br,parseAsync:()=>Kr,parseURLObject:()=>Bo,prettifyError:()=>$o,process:()=>q,regexes:()=>be,registry:()=>un,safeDecode:()=>Af,safeDecodeAsync:()=>Nf,safeEncode:()=>Ef,safeEncodeAsync:()=>Of,safeParse:()=>ar,safeParseAsync:()=>Wr,standardProps:()=>Jo,stripTabAndNewline:()=>Ko,toDotPath:()=>kf,toJSONSchema:()=>kn,toZod:()=>Yt,treeifyError:()=>zo,urlHostnameOk:()=>Wo,urlProtocolOk:()=>Qo,util:()=>S,validate:()=>Qr,validateAsync:()=>Gr,version:()=>Ec});var Te=y(()=>{it();Ca();Na();cn();Bu();Mo();Ac();ie();ie();ur();Wu();ln();Vo();Ig();Tg();zn();Sn();Rg();Dg()});function In(e,t){let r=typeof t==\"function\"?t:(s,a)=>{let c=t[s._zod.def.type];return c?c(s,a):s},n=new Map;function o(s){let a=n.get(s);if(a===Lg)return new an({type:\"lazy\",getter:()=>n.get(s)});if(a!==void 0)return a;n.set(s,Lg);let c=i(s),u=r(c,c!==s);return n.set(s,u),u}function i(s){let a=s._zod.def,c=a.type;switch(c){case\"object\":{let u=a.shape,l=Object.keys(u),d=!1,f={};for(let b of l){let x=o(u[b]);x!==u[b]&&(d=!0),f[b]=x}let h=a.catchall;return a.catchall&&(h=o(a.catchall),h!==a.catchall&&(d=!0)),d?V(s,{...a,shape:f,catchall:h}):s}case\"array\":{let u=o(a.element);return u===a.element?s:V(s,{...a,element:u})}case\"tuple\":{let u=a.items,l=!1,d=[];for(let h of u){let b=o(h);b!==h&&(l=!0),d.push(b)}let f=a.rest;return a.rest&&(f=o(a.rest),f!==a.rest&&(l=!0)),l?V(s,{...a,items:d,rest:f}):s}case\"record\":case\"map\":{let u=o(a.keyType),l=o(a.valueType);return u===a.keyType&&l===a.valueType?s:V(s,{...a,keyType:u,valueType:l})}case\"set\":{let u=o(a.valueType);return u===a.valueType?s:V(s,{...a,valueType:u})}case\"union\":{let u=a.options,l=!1,d=[];for(let f of u){let h=o(f);h!==f&&(l=!0),d.push(h)}return l?V(s,{...a,options:d}):s}case\"intersection\":{let u=o(a.left),l=o(a.right);return u===a.left&&l===a.right?s:V(s,{...a,left:u,right:l})}case\"optional\":case\"nullable\":case\"default\":case\"prefault\":case\"catch\":case\"readonly\":case\"nonoptional\":case\"promise\":case\"success\":{let u=o(a.innerType);return u===a.innerType?s:V(s,{...a,innerType:u})}case\"pipe\":{let u=o(a.in),l=o(a.out);return u===a.in&&l===a.out?s:V(s,{...a,in:u,out:l})}case\"function\":{let u=o(a.input),l=o(a.output);return u===a.input&&l===a.output?s:V(s,{...a,input:u,output:l})}case\"lazy\":{let u=a.getter,{_cachedInner:l,...d}=a;return V(s,{...d,getter:()=>o(u())})}case\"template_literal\":case\"string\":case\"number\":case\"int\":case\"boolean\":case\"bigint\":case\"symbol\":case\"undefined\":case\"null\":case\"void\":case\"never\":case\"any\":case\"unknown\":case\"date\":case\"nan\":case\"enum\":case\"literal\":case\"file\":case\"transform\":case\"custom\":return s;default:return s}}return o(e)}var Lg,zp=y(()=>{cn();ie();Lg=Symbol(\"z.visit/resolving\")});var Hi={};Je(Hi,{endsWith:()=>Ct,gt:()=>qe,gte:()=>Pe,includes:()=>Ot,length:()=>lt,lowercase:()=>Et,lt:()=>Fe,lte:()=>Ie,maxLength:()=>ut,maxSize:()=>Ge,mime:()=>Zt,minLength:()=>Be,minSize:()=>Ue,multipleOf:()=>Qe,negative:()=>bn,nonnegative:()=>_n,nonpositive:()=>yn,normalize:()=>Rt,overwrite:()=>De,positive:()=>gn,properties:()=>vn,property:()=>xn,regex:()=>Tt,size:()=>ct,slugify:()=>Mt,startsWith:()=>Nt,toLowerCase:()=>Dt,toUpperCase:()=>Lt,trim:()=>jt,uppercase:()=>At});var Ji=y(()=>{Te()});function Bi(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let n=r(this);return Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),n},set(n){Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0})}})}var Fg,qg,Ug,xe,$p=y(()=>{Te();Te();ie();Fg=new WeakSet([Object.prototype,Error.prototype]);qg=(e,t)=>{Jr.init(e,t),e.name=\"ZodError\";let r=Object.getPrototypeOf(e);Fg.has(r)||(Fg.add(r),Bi(r,\"format\",n=>o=>nr(n,o)),Bi(r,\"flatten\",n=>o=>rr(n,o)),Bi(r,\"addIssue\",n=>o=>{n.issues.push(o),n.message=JSON.stringify(n.issues,Xt,2)}),Bi(r,\"addIssues\",n=>o=>{n.issues.push(...o),n.message=JSON.stringify(n.issues,Xt,2)}),Object.defineProperty(r,\"isEmpty\",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},Ug=m(\"ZodError\",qg),xe=m(\"ZodError\",qg,void 0,{Parent:Error})});var Ki,Wi,Qi,Gi,Yi,Xi,es,ts,rs,ns,os,is,kp=y(()=>{Te();$p();Te();Ki=or(xe),Wi=ir(xe),Qi=sr(xe),Gi=cr(xe),Yi=So(xe),Xi=Io(xe),es=Po(xe),ts=To(xe),rs=Eo(xe),ns=Ao(xe),os=Oo(xe),is=No(xe)});var Pr={};Je(Pr,{ZodAny:()=>ps,ZodArray:()=>hs,ZodBase64:()=>Un,ZodBase64URL:()=>Hn,ZodBigInt:()=>Kt,ZodBigIntFormat:()=>Kn,ZodBoolean:()=>Bt,ZodCIDRv4:()=>Fn,ZodCIDRv6:()=>qn,ZodCUID:()=>Zn,ZodCUID2:()=>Rn,ZodCatch:()=>Cs,ZodCodec:()=>kr,ZodCreditCard:()=>as,ZodCustom:()=>Sr,ZodCustomStringFormat:()=>Ht,ZodDate:()=>_r,ZodDefault:()=>Ps,ZodDiscriminatedUnion:()=>bs,ZodE164:()=>Jn,ZodEmail:()=>An,ZodEmoji:()=>Nn,ZodEnum:()=>Ft,ZodExactOptional:()=>Gn,ZodFile:()=>$s,ZodFunction:()=>Us,ZodGUID:()=>On,ZodIPv4:()=>Mn,ZodIPv6:()=>Vn,ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>tt,ZodISOTime:()=>et,ZodIntersection:()=>ys,ZodJWT:()=>Bn,ZodKSUID:()=>Ln,ZodLazy:()=>Vs,ZodLiteral:()=>zs,ZodMAC:()=>ss,ZodMap:()=>vs,ZodNaN:()=>Rs,ZodNanoID:()=>Cn,ZodNever:()=>fs,ZodNonOptional:()=>Yn,ZodNull:()=>ls,ZodNullable:()=>Is,ZodNumber:()=>Jt,ZodNumberFormat:()=>mt,ZodObject:()=>xr,ZodOptional:()=>zr,ZodPipe:()=>$r,ZodPrefault:()=>Es,ZodPreprocess:()=>js,ZodPromise:()=>qs,ZodReadonly:()=>Ds,ZodRecord:()=>Vt,ZodSet:()=>ws,ZodString:()=>Ut,ZodStringFormat:()=>W,ZodSuccess:()=>Ns,ZodSymbol:()=>cs,ZodTemplateLiteral:()=>Ms,ZodTransform:()=>ks,ZodTuple:()=>_s,ZodType:()=>O,ZodULID:()=>jn,ZodURL:()=>br,ZodUUID:()=>He,ZodUndefined:()=>us,ZodUnion:()=>vr,ZodUnknown:()=>ds,ZodVoid:()=>ms,ZodXID:()=>Dn,ZodXor:()=>gs,_ZodString:()=>En,_default:()=>Ts,_function:()=>Td,any:()=>ld,array:()=>N,base64:()=>Jp,base64url:()=>Bp,bigint:()=>id,boolean:()=>ne,catch:()=>Zs,check:()=>Ed,cidrv4:()=>Up,cidrv6:()=>Hp,codec:()=>kd,creditCard:()=>Wp,cuid:()=>Rp,cuid2:()=>jp,custom:()=>Xn,date:()=>dd,describe:()=>Ad,discriminatedUnion:()=>wr,e164:()=>Kp,email:()=>Sp,emoji:()=>Cp,enum:()=>pe,exactOptional:()=>Ss,file:()=>vd,float32:()=>td,float64:()=>rd,function:()=>Td,guid:()=>Ip,hash:()=>ed,hex:()=>Xp,hostname:()=>Yp,httpUrl:()=>Np,instanceof:()=>Nd,int:()=>Pn,int32:()=>nd,int64:()=>sd,intersection:()=>Wt,invertCodec:()=>Sd,ipv4:()=>Vp,ipv6:()=>qp,json:()=>Zd,jwt:()=>Qp,keyof:()=>fd,ksuid:()=>Mp,lazy:()=>Fs,literal:()=>k,looseObject:()=>le,looseRecord:()=>bd,mac:()=>Fp,map:()=>yd,meta:()=>Od,nan:()=>$d,nanoid:()=>Zp,nativeEnum:()=>xd,never:()=>Wn,nonoptional:()=>Os,null:()=>yr,nullable:()=>gr,nullish:()=>wd,number:()=>R,object:()=>z,optional:()=>U,partialRecord:()=>gd,pipe:()=>Tn,prefault:()=>As,preprocess:()=>Ir,promise:()=>Pd,readonly:()=>Ls,record:()=>H,refine:()=>Hs,set:()=>_d,strictObject:()=>md,string:()=>g,stringFormat:()=>Gp,stringbool:()=>Cd,success:()=>zd,superRefine:()=>Js,symbol:()=>cd,templateLiteral:()=>Id,transform:()=>Qn,tuple:()=>xs,uint32:()=>od,uint64:()=>ad,ulid:()=>Dp,undefined:()=>ud,union:()=>F,unknown:()=>K,url:()=>Op,uuid:()=>Pp,uuidv4:()=>Tp,uuidv6:()=>Ep,uuidv7:()=>Ap,void:()=>pd,xid:()=>Lp,xor:()=>hd});function Dx(){ce.localeError||re(pi())}function qt(){ce.memoizer||re({memoizer:dr()})}function g(e){return el(Ut,e)}function Sp(e){return bi(An,e)}function Ip(e){return yi(On,e)}function Pp(e){return _i(He,e)}function Tp(e){return xi(He,e)}function Ep(e){return vi(He,e)}function Ap(e){return wi(He,e)}function Op(e){return pn(br,e)}function Np(e){return pn(br,{protocol:be.httpProtocol,hostname:be.domain,...S.normalizeParams(e)})}function Cp(e){return zi(Nn,e)}function Zp(e){return $i(Cn,e)}function Rp(e){return ki(Zn,e)}function jp(e){return Si(Rn,e)}function Dp(e){return Ii(jn,e)}function Lp(e){return Pi(Dn,e)}function Mp(e){return Ti(Ln,e)}function Vp(e){return Ei(Mn,e)}function Fp(e){return rl(ss,e)}function qp(e){return Ai(Vn,e)}function Up(e){return Oi(Fn,e)}function Hp(e){return Ni(qn,e)}function Jp(e){return Ci(Un,e)}function Bp(e){return Zi(Hn,e)}function Kp(e){return Ri(Jn,e)}function Wp(e){return nl(as,e)}function Qp(e){return ji(Bn,e)}function Gp(e,t,r={}){return mr(Ht,e,t,r)}function Yp(e){return mr(Ht,\"hostname\",be.hostname,e)}function Xp(e){return mr(Ht,\"hex\",be.hex,e)}function ed(e,t){let r=t?.enc??\"hex\",n=`${e}_${r}`,o=be[n];if(!o)throw new Error(`Unrecognized hash format: ${n}`);return mr(Ht,n,o,t)}function R(e){return ol(Jt,e)}function Pn(e){return sl(mt,e)}function td(e){return al(mt,e)}function rd(e){return cl(mt,e)}function nd(e){return ul(mt,e)}function od(e){return ll(mt,e)}function ne(e){return pl(Bt,e)}function id(e){return fl(Kt,e)}function sd(e){return hl(Kn,e)}function ad(e){return gl(Kn,e)}function cd(e){return bl(cs,e)}function ud(e){return yl(us,e)}function yr(e){return _l(ls,e)}function ld(){return xl(ps)}function K(){return vl(ds)}function Wn(e){return wl(fs,e)}function pd(e){return zl(ms,e)}function dd(e){return $l(_r,e)}function N(e,t){return Il(hs,e,t)}function fd(e){let t=e._zod.def.shape;return pe(Object.keys(t))}function z(e,t){let r={type:\"object\",shape:e??{},...S.normalizeParams(t)};return new xr(r)}function md(e,t){return new xr({type:\"object\",shape:e,catchall:Wn(),...S.normalizeParams(t)})}function le(e,t){return new xr({type:\"object\",shape:e,catchall:K(),...S.normalizeParams(t)})}function F(e,t){return new vr({type:\"union\",options:e,...S.normalizeParams(t)})}function hd(e,t){return new gs({type:\"union\",options:e,inclusive:!1,...S.normalizeParams(t)})}function wr(e,t,r){return new bs({type:\"union\",options:t,discriminator:e,...S.normalizeParams(r)})}function Wt(e,t){return new ys({type:\"intersection\",left:e,right:t})}function xs(e,t,r){let n=t instanceof A,o=n?r:t,i=n?t:null;return new _s({type:\"tuple\",items:e,rest:i,...S.normalizeParams(o)})}function H(e,t,r){return!t||!t._zod?new Vt({type:\"record\",keyType:g(),valueType:e,...S.normalizeParams(t)}):new Vt({type:\"record\",keyType:e,valueType:t,...S.normalizeParams(r)})}function gd(e,t,r){return new Vt({type:\"record\",keyType:e,valueType:t,...S.normalizeParams(r),partial:!0})}function bd(e,t,r){return new Vt({type:\"record\",keyType:e,valueType:t,mode:\"loose\",...S.normalizeParams(r)})}function yd(e,t,r){return new vs({type:\"map\",keyType:e,valueType:t,...S.normalizeParams(r)})}function _d(e,t){return new ws({type:\"set\",valueType:e,...S.normalizeParams(t)})}function pe(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new Ft({type:\"enum\",entries:r,...S.normalizeParams(t)})}function xd(e,t){return new Ft({type:\"enum\",entries:e,...S.normalizeParams(t)})}function k(e,t){return new zs({type:\"literal\",values:Array.isArray(e)?e:[e],...S.normalizeParams(t)})}function vd(e){return Pl($s,e)}function Qn(e){return new ks({type:\"transform\",transform:e})}function U(e){return new zr({type:\"optional\",innerType:e})}function Ss(e){return new Gn({type:\"optional\",innerType:e})}function gr(e){return new Is({type:\"nullable\",innerType:e})}function wd(e){return U(gr(e))}function Ts(e,t){return new Ps({type:\"default\",innerType:e,get defaultValue(){return typeof t==\"function\"?t():S.shallowClone(t)}})}function As(e,t){return new Es({type:\"prefault\",innerType:e,get defaultValue(){return typeof t==\"function\"?t():S.shallowClone(t)}})}function Os(e,t){return new Yn({type:\"nonoptional\",innerType:e,...S.normalizeParams(t)})}function zd(e){return new Ns({type:\"success\",innerType:e})}function Zs(e,t){return new Cs({type:\"catch\",innerType:e,catchValue:typeof t==\"function\"?t:S.constantCatch(t)})}function $d(e){return Sl(Rs,e)}function Tn(e,t){return new $r({type:\"pipe\",in:e,out:t})}function kd(e,t,r){return new kr({type:\"pipe\",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function Sd(e){let t=e._zod.def;return new kr({type:\"pipe\",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}function Ls(e){return new Ds({type:\"readonly\",innerType:e})}function Id(e,t){return new Ms({type:\"template_literal\",parts:e,...S.normalizeParams(t)})}function Fs(e){return new Vs({type:\"lazy\",getter:e})}function Pd(e){return new qs({type:\"promise\",innerType:e})}function Td(e){return new Us({type:\"function\",input:Array.isArray(e?.input)?xs(e?.input):e?.input??N(K()),output:e?.output??K()})}function Ed(e){let t=new G({check:\"custom\"});return t._zod.check=e,t}function Xn(e,t){return Tl(Sr,e??(()=>!0),t)}function Hs(e,t={}){return El(Sr,e,t)}function Js(e,t){return Al(e,t)}function Nd(e,t={}){let r=new Sr({type:\"custom\",check:\"custom\",fn:n=>n instanceof e,abort:!0,...S.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=n=>{n.value instanceof e||n.issues.push({code:\"invalid_type\",expected:e.name,input:n.value,inst:r,path:[...r._zod.def.path??[]]})},r}function Zd(e){let t=Fs(()=>F([g(e),R(),ne(),yr(),N(t),H(g(),t)]));return t}function Ir(e,t){return new js({type:\"pipe\",in:Qn(e),out:t})}var O,En,Ut,W,Ye,Xe,et,tt,An,On,He,br,Nn,Cn,Zn,Rn,jn,Dn,Ln,Mn,ss,Vn,Fn,qn,Un,Hn,Jn,as,Bn,Ht,Jt,mt,Bt,Kt,Kn,cs,us,ls,ps,ds,fs,ms,_r,hs,xr,vr,gs,bs,ys,_s,Vt,vs,ws,Ft,zs,$s,ks,zr,Gn,Is,Ps,Es,Yn,Ns,Cs,Rs,$r,kr,js,Ds,Ms,Vs,qs,Us,Sr,Ad,Od,Cd,ht=y(()=>{Te();Te();Sn();zn();Ku();Ji();kp();O=m(\"ZodType\",(e,t)=>(Dx(),A.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(S.mergeDefs(t,{checks:[...t.checks??[],...e.map(r=>typeof r==\"function\"?{_zod:{check:r,def:{check:\"custom\"},onattach:[]}}:r)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return V(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Hs(e,t))},superRefine(e,t){return this.check(Js(e,t))},overwrite(e){return this.check(De(e))},optional(){return U(this)},exactOptional(){return Ss(this)},nullable(){return gr(this)},nullish(){return U(gr(this))},nonoptional(e){return Os(this,e)},array(){return N(this)},or(e){return F([this,e])},and(e){return Wt(this,e)},transform(e){return Tn(this,Qn(e))},default(e){return Ts(this,e)},prefault(e){return As(this,e)},catch(e){return Zs(this,e)},pipe(e){return Tn(this,e)},readonly(){return Ls(this)},describe(e){let t=this.clone();return ue.add(t,{description:e}),t},meta(...e){if(e.length===0)return ue.get(this);let t=this.clone();return ue.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get\"~standard\"(){return S.hide(this,\"~standard\",{...Jo(this),jsonSchema:{input:hr(this,\"input\"),output:hr(this,\"output\")}})},set\"~standard\"(e){S.own(this,\"~standard\",e)},parse:function e(t,r){return Ki(this,t,r,{callee:e})},parseAsync:async function e(t,r){return await Wi(this,t,r,{callee:e})},safeParse(e,t){return Qi(this,e,t)},async safeParseAsync(e,t){return Gi(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){S.own(this,\"spa\",e)},encode:function e(t,r){return Yi(this,t,r,{callee:e})},decode:function e(t,r){return Xi(this,t,r,{callee:e})},encodeAsync:async function e(t,r){return await es(this,t,r,{callee:e})},decodeAsync:async function e(t,r){return await ts(this,t,r,{callee:e})},safeEncode(e,t){return rs(this,e,t)},safeDecode(e,t){return ns(this,e,t)},async safeEncodeAsync(e,t){return os(this,e,t)},async safeDecodeAsync(e,t){return is(this,e,t)},toJSONSchema(e){return Rl(this,{})(e)},get description(){return ue.get(this)?.description},get _def(){return this._zod.def}}),En=m(\"_ZodString\",(e,t)=>{$t.init(e,t),O.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Ll(e,n,o,i);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null},{regex(...e){return this.check(Tt(...e))},includes(...e){return this.check(Ot(...e))},startsWith(...e){return this.check(Nt(...e))},endsWith(...e){return this.check(Ct(...e))},min(...e){return this.check(Be(...e))},max(...e){return this.check(ut(...e))},length(...e){return this.check(lt(...e))},nonempty(...e){return this.check(Be(1,...e))},lowercase(e){return this.check(Et(e))},uppercase(e){return this.check(At(e))},trim(){return this.check(jt())},normalize(...e){return this.check(Rt(...e))},toLowerCase(){return this.check(Dt())},toUpperCase(){return this.check(Lt())},slugify(){return this.check(Mt())}}),Ut=m(\"ZodString\",(e,t)=>{$t.init(e,t),En.init(e,t)},{email(e){return this.check(bi(An,e))},url(e){return this.check(pn(br,e))},jwt(e){return this.check(ji(Bn,e))},emoji(e){return this.check(zi(Nn,e))},guid(e){return this.check(yi(On,e))},uuid(e){return this.check(_i(He,e))},uuidv4(e){return this.check(xi(He,e))},uuidv6(e){return this.check(vi(He,e))},uuidv7(e){return this.check(wi(He,e))},nanoid(e){return this.check($i(Cn,e))},cuid(e){return this.check(ki(Zn,e))},cuid2(e){return this.check(Si(Rn,e))},ulid(e){return this.check(Ii(jn,e))},base64(e){return this.check(Ci(Un,e))},base64url(e){return this.check(Zi(Hn,e))},xid(e){return this.check(Pi(Dn,e))},ksuid(e){return this.check(Ti(Ln,e))},ipv4(e){return this.check(Ei(Mn,e))},ipv6(e){return this.check(Ai(Vn,e))},cidrv4(e){return this.check(Oi(Fn,e))},cidrv6(e){return this.check(Ni(qn,e))},e164(e){return this.check(Ri(Jn,e))},datetime(e){return this.check(dn(Ye,e))},date(e){return this.check(fn(Xe,e))},time(e){return this.check(mn(et,e))},duration(e){return this.check(hn(tt,e))}});W=m(\"ZodStringFormat\",(e,t)=>{B.init(e,t),En.init(e,t)}),Ye=m(\"ZodISODateTime\",(e,t)=>{Jc.init(e,t),W.init(e,t)}),Xe=m(\"ZodISODate\",(e,t)=>{Bc.init(e,t),W.init(e,t)}),et=m(\"ZodISOTime\",(e,t)=>{Kc.init(e,t),W.init(e,t)}),tt=m(\"ZodISODuration\",(e,t)=>{Wc.init(e,t),W.init(e,t)}),An=m(\"ZodEmail\",(e,t)=>{Zc.init(e,t),W.init(e,t)});On=m(\"ZodGUID\",(e,t)=>{Nc.init(e,t),W.init(e,t)});He=m(\"ZodUUID\",(e,t)=>{Cc.init(e,t),W.init(e,t)});br=m(\"ZodURL\",(e,t)=>{Dc.init(e,t),W.init(e,t)});Nn=m(\"ZodEmoji\",(e,t)=>{Lc.init(e,t),W.init(e,t)});Cn=m(\"ZodNanoID\",(e,t)=>{Mc.init(e,t),W.init(e,t)});Zn=m(\"ZodCUID\",(e,t)=>{Vc.init(e,t),W.init(e,t)});Rn=m(\"ZodCUID2\",(e,t)=>{Fc.init(e,t),W.init(e,t)});jn=m(\"ZodULID\",(e,t)=>{qc.init(e,t),W.init(e,t)});Dn=m(\"ZodXID\",(e,t)=>{Uc.init(e,t),W.init(e,t)});Ln=m(\"ZodKSUID\",(e,t)=>{Hc.init(e,t),W.init(e,t)});Mn=m(\"ZodIPv4\",(e,t)=>{Qc.init(e,t),W.init(e,t)});ss=m(\"ZodMAC\",(e,t)=>{Yc.init(e,t),W.init(e,t)});Vn=m(\"ZodIPv6\",(e,t)=>{Gc.init(e,t),W.init(e,t)});Fn=m(\"ZodCIDRv4\",(e,t)=>{Xc.init(e,t),W.init(e,t)});qn=m(\"ZodCIDRv6\",(e,t)=>{eu.init(e,t),W.init(e,t)});Un=m(\"ZodBase64\",(e,t)=>{tu.init(e,t),W.init(e,t)});Hn=m(\"ZodBase64URL\",(e,t)=>{ru.init(e,t),W.init(e,t)});Jn=m(\"ZodE164\",(e,t)=>{nu.init(e,t),W.init(e,t)});as=m(\"ZodCreditCard\",(e,t)=>{ou.init(e,t),W.init(e,t)});Bn=m(\"ZodJWT\",(e,t)=>{iu.init(e,t),W.init(e,t)});Ht=m(\"ZodCustomStringFormat\",(e,t)=>{su.init(e,t),W.init(e,t)});Jt=m(\"ZodNumber\",(e,t)=>{ti.init(e,t),O.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Ml(e,n,o,i);let r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??\"\").includes(\"int\")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null},{gt(e,t){return this.check(qe(e,t))},gte(e,t){return this.check(Pe(e,t))},min(e,t){return this.check(Pe(e,t))},lt(e,t){return this.check(Fe(e,t))},lte(e,t){return this.check(Ie(e,t))},max(e,t){return this.check(Ie(e,t))},int(e){return this.check(Pn(e))},safe(e){return this.check(Pn(e))},positive(e){return this.check(qe(0,e))},nonnegative(e){return this.check(Pe(0,e))},negative(e){return this.check(Fe(0,e))},nonpositive(e){return this.check(Ie(0,e))},multipleOf(e,t){return this.check(Qe(e,t))},step(e,t){return this.check(Qe(e,t))},finite(){return this}});mt=m(\"ZodNumberFormat\",(e,t)=>{au.init(e,t),Jt.init(e,t)});Bt=m(\"ZodBoolean\",(e,t)=>{nn.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Vl(e,r,n,o)});Kt=m(\"ZodBigInt\",(e,t)=>{ri.init(e,t),O.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Fl(e,n,o,i);let r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null},{gte(e,t){return this.check(Pe(e,t))},min(e,t){return this.check(Pe(e,t))},gt(e,t){return this.check(qe(e,t))},lt(e,t){return this.check(Fe(e,t))},lte(e,t){return this.check(Ie(e,t))},max(e,t){return this.check(Ie(e,t))},positive(e){return this.check(qe(BigInt(0),e))},negative(e){return this.check(Fe(BigInt(0),e))},nonpositive(e){return this.check(Ie(BigInt(0),e))},nonnegative(e){return this.check(Pe(BigInt(0),e))},multipleOf(e,t){return this.check(Qe(e,t))}});Kn=m(\"ZodBigIntFormat\",(e,t)=>{cu.init(e,t),Kt.init(e,t)});cs=m(\"ZodSymbol\",(e,t)=>{uu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ql(e,r,n,o)});us=m(\"ZodUndefined\",(e,t)=>{lu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Hl(e,r,n,o)});ls=m(\"ZodNull\",(e,t)=>{pu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Ul(e,r,n,o)});ps=m(\"ZodAny\",(e,t)=>{du.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Kl(e,r,n,o)});ds=m(\"ZodUnknown\",(e,t)=>{fu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Wl(e,r,n,o)});fs=m(\"ZodNever\",(e,t)=>{mu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Bl(e,r,n,o)});ms=m(\"ZodVoid\",(e,t)=>{hu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Jl(e,r,n,o)});_r=m(\"ZodDate\",(e,t)=>{gu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Ql(e,n,o,i),e.min=(n,o)=>e.check(Pe(n,o)),e.max=(n,o)=>e.check(Ie(n,o));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});hs=m(\"ZodArray\",(e,t)=>{qt(),bu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>cp(e,r,n,o),e.element=t.element},{min(e,t){return this.check(Be(e,t))},nonempty(e){return this.check(Be(1,e))},max(e,t){return this.check(ut(e,t))},length(e,t){return this.check(lt(e,t))},unwrap(){return this.element}});xr=m(\"ZodObject\",(e,t)=>{qt(),yu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>up(e,r,n,o),S.installLazyProp(e,\"shape\",r=>r._zod.def.shape,!1)},{keyof(){return pe(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:K()})},loose(){return this.clone({...this._zod.def,catchall:K()})},strict(){return this.clone({...this._zod.def,catchall:Wn()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return S.extend(this,e)},safeExtend(e){return S.safeExtend(this,e)},merge(e){return S.merge(this,e)},pick(e){return S.pick(this,e)},omit(e){return S.omit(this,e)},partial(...e){return S.partial(zr,this,e[0])},exactPartial(...e){return S.partial(Gn,this,e[0],\"exactPartial\")},required(...e){return S.required(Yn,this,e[0])}});vr=m(\"ZodUnion\",(e,t)=>{on.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Mi(e,r,n,o),e.options=t.options});gs=m(\"ZodXor\",(e,t)=>{vr.init(e,t),_u.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Mi(e,r,n,o),e.options=t.options});bs=m(\"ZodDiscriminatedUnion\",(e,t)=>{vr.init(e,t),xu.init(e,t)});ys=m(\"ZodIntersection\",(e,t)=>{vu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>lp(e,r,n,o)});_s=m(\"ZodTuple\",(e,t)=>{qt(),oi.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>pp(e,r,n,o)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(\".partial() cannot be used on tuple schemas containing refinements\");return this.clone({...e,items:e.items.map(t=>new zr({type:\"optional\",innerType:t}))})}});Vt=m(\"ZodRecord\",(e,t)=>{qt(),wu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>dp(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType});vs=m(\"ZodMap\",(e,t)=>{qt(),zu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>sp(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(Ue(...r)),e.nonempty=r=>e.check(Ue(1,r)),e.max=(...r)=>e.check(Ge(...r)),e.size=(...r)=>e.check(ct(...r))});ws=m(\"ZodSet\",(e,t)=>{qt(),$u.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ap(e,r,n,o),e.min=(...r)=>e.check(Ue(...r)),e.nonempty=r=>e.check(Ue(1,r)),e.max=(...r)=>e.check(Ge(...r)),e.size=(...r)=>e.check(ct(...r))});Ft=m(\"ZodEnum\",(e,t)=>{ku.init(e,t),O.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Gl(e,n,o,i),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(n,o)=>{let i={};for(let s of n)if(r.has(s))i[s]=t.entries[s];else throw new Error(`Key ${s} not found in enum`);return new Ft({...t,checks:[],...S.normalizeParams(o),entries:i})},e.exclude=(n,o)=>{let i={...t.entries};for(let s of n)if(r.has(s))delete i[s];else throw new Error(`Key ${s} not found in enum`);return new Ft({...t,checks:[],...S.normalizeParams(o),entries:i})}});zs=m(\"ZodLiteral\",(e,t)=>{Su.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Yl(e,r,n,o),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]}})});$s=m(\"ZodFile\",(e,t)=>{Iu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>tp(e,r,n,o),e.min=(r,n)=>e.check(Ue(r,n)),e.max=(r,n)=>e.check(Ge(r,n)),e.mime=(r,n)=>e.check(Zt(Array.isArray(r)?r:[r],n))});ks=m(\"ZodTransform\",(e,t)=>{qt(),Pu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ip(e,r,n,o),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")throw new st(e.constructor.name);r.addIssue=i=>{if(typeof i==\"string\")r.issues.push(S.issue(i,r.value,t));else{let s=i;s.fatal&&(s.continue=!1),s.code??(s.code=\"custom\"),\"input\"in s||(s.input=r.value),s.inst??(s.inst=e),r.issues.push(S.issue(s))}};let o=t.transform(r.value,r);return o instanceof Promise?o.then(i=>(r.value=i,r)):(r.value=o,r)}});zr=m(\"ZodOptional\",(e,t)=>{ii.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Vi(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});Gn=m(\"ZodExactOptional\",(e,t)=>{Tu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Vi(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});Is=m(\"ZodNullable\",(e,t)=>{Eu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>fp(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});Ps=m(\"ZodDefault\",(e,t)=>{Au.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>gp(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});Es=m(\"ZodPrefault\",(e,t)=>{Ou.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>bp(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});Yn=m(\"ZodNonOptional\",(e,t)=>{Nu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>mp(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});Ns=m(\"ZodSuccess\",(e,t)=>{Cu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>rp(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});Cs=m(\"ZodCatch\",(e,t)=>{Zu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>yp(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});Rs=m(\"ZodNaN\",(e,t)=>{Ru.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Xl(e,r,n,o)});$r=m(\"ZodPipe\",(e,t)=>{si.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>_p(e,r,n,o),e.in=t.in,e.out=t.out});kr=m(\"ZodCodec\",(e,t)=>{$r.init(e,t),sn.init(e,t)});js=m(\"ZodPreprocess\",(e,t)=>{$r.init(e,t),ju.init(e,t)}),Ds=m(\"ZodReadonly\",(e,t)=>{Du.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>xp(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});Ms=m(\"ZodTemplateLiteral\",(e,t)=>{Lu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ep(e,r,n,o)});Vs=m(\"ZodLazy\",(e,t)=>{an.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>wp(e,r,n,o),e.unwrap=()=>e._zod.def.getter()});qs=m(\"ZodPromise\",(e,t)=>{Vu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>vp(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});Us=m(\"ZodFunction\",(e,t)=>{Mu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>op(e,r,n,o)});Sr=m(\"ZodCustom\",(e,t)=>{Fu.init(e,t),O.init(e,t),e._zod.processJSONSchema=(r,n,o)=>np(e,r,n,o)});Ad=Ol,Od=Nl;Cd=(...e)=>Cl({Codec:kr,Boolean:Bt,String:Ut},...e)});function Jg(e){re({customError:e})}function Bg(){return re().customError}var Hg,Bs,Kg=y(()=>{Te();Hg={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\"};Bs||(Bs={})});var gt={};Je(gt,{ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>tt,ZodISOTime:()=>et,date:()=>Mx,datetime:()=>Lx,duration:()=>Fx,time:()=>Vx});function Lx(e){return dn(Ye,e)}function Mx(e){return fn(Xe,e)}function Vx(e){return mn(et,e)}function Fx(e){return hn(tt,e)}var Ks=y(()=>{Te();ht();ht()});function Ux(e,t){let r=e.$schema;return r===\"https://json-schema.org/draft/2020-12/schema\"?\"draft-2020-12\":r===\"http://json-schema.org/draft-07/schema#\"?\"draft-7\":r===\"http://json-schema.org/draft-04/schema#\"?\"draft-4\":t??\"draft-2020-12\"}function Wg(e,t){return e.map((r,n)=>n<t?r:r.optional())}function Hx(e){return e.replace(/~1/g,\"/\").replace(/~0/g,\"~\")}function Jx(e,t){if(!e.startsWith(\"#\"))throw new Error(\"External $ref is not supported, only local refs (#/...) are allowed\");let r=e.slice(1).split(\"/\").filter(Boolean);if(r.length===0)return t.rootSchema;let n=t.version===\"draft-2020-12\"?\"$defs\":\"definitions\";if(r[0]===n){let o=r[1]===void 0?void 0:Hx(r[1]);if(!o||!t.defs[o])throw new Error(`Reference not found: ${e}`);return t.defs[o]}throw new Error(`Reference not found: ${e}`)}function Bx(e,t){return $.transform(n=>n).check(n=>{let o=n.value;if(!(typeof o!=\"object\"||o===null||Array.isArray(o)))for(let i of Object.getOwnPropertyNames(o)){let s=t.safeParse(i);s.success||n.issues.push({code:\"invalid_key\",origin:\"record\",issues:s.error.issues,input:i,path:[i],continue:!0})}}).pipe(e)}function Qg(e,t){if(e!==!1)return e===void 0||e===!0?$.any():Ee(e,t)}function Gg(e,t){if(e.not!==void 0){if(typeof e.not==\"object\"&&Object.keys(e.not).length===0)return $.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 o=e.$ref;if(t.refs.has(o))return t.refs.get(o);if(t.processing.has(o))return $.lazy(()=>{if(!t.refs.has(o))throw new Error(`Circular reference not resolved: ${o}`);return t.refs.get(o)});t.processing.add(o);let i=Jx(o,t),s=Ee(i,t);return t.refs.set(o,s),t.processing.delete(o),s}if(e.enum!==void 0){let o=e.enum;if(t.version===\"openapi-3.0\"&&e.nullable===!0&&o.length===1&&o[0]===null)return $.null();if(o.length===0)return $.never();if(o.length===1)return $.literal(o[0]);if(o.every(s=>typeof s==\"string\"))return $.enum(o);let i=o.map(s=>$.literal(s));return i.length<2?i[0]:$.union([i[0],i[1],...i.slice(2)])}if(e.const!==void 0)return $.literal(e.const);let r=e.type;if(Array.isArray(r)){let o=r.map(i=>{let s={...e,type:i};return Gg(s,t)});return o.length===0?$.never():o.length===1?o[0]:$.union(o)}if(!r)return $.any();let n;switch(r){case\"string\":{let o=$.string();if(e.format){let i=e.format;i===\"email\"?o=o.check($.email()):i===\"uri\"||i===\"uri-reference\"?o=o.check($.url()):i===\"uuid\"||i===\"guid\"?o=o.check($.uuid()):i===\"date-time\"?o=o.check($.iso.datetime({offset:!0})):i===\"date\"?o=o.check($.iso.date()):i===\"time\"?o=o.check($.regex(Kx)):i===\"duration\"?o=o.check($.iso.duration()):i===\"hostname\"?o=o.check($.hostname()):i===\"ipv4\"?o=o.check($.ipv4()):i===\"ipv6\"?o=o.check($.ipv6()):i===\"mac\"?o=o.check($.mac()):i===\"cidr\"?o=o.check($.cidrv4()):i===\"cidr-v6\"?o=o.check($.cidrv6()):i===\"base64\"?o=o.check($.base64()):i===\"base64url\"?o=o.check($.base64url()):i===\"e164\"?o=o.check($.e164()):i===\"credit_card\"?o=o.check($.creditCard()):i===\"jwt\"?o=o.check($.jwt()):i===\"emoji\"?o=o.check($.emoji()):i===\"nanoid\"?o=o.check($.nanoid()):i===\"cuid\"?o=o.check($.cuid()):i===\"cuid2\"?o=o.check($.cuid2()):i===\"ulid\"?o=o.check($.ulid()):i===\"xid\"?o=o.check($.xid()):i===\"ksuid\"&&(o=o.check($.ksuid()))}typeof e.minLength==\"number\"&&(o=o.min(e.minLength)),typeof e.maxLength==\"number\"&&(o=o.max(e.maxLength)),e.pattern&&(o=o.regex(new RegExp(e.pattern))),n=o;break}case\"number\":case\"integer\":{let o=r===\"integer\"?$.number().int():$.number();typeof e.minimum==\"number\"&&e.exclusiveMinimum!==!0&&(o=o.min(e.minimum)),typeof e.maximum==\"number\"&&e.exclusiveMaximum!==!0&&(o=o.max(e.maximum)),typeof e.exclusiveMinimum==\"number\"?o=o.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum==\"number\"&&(o=o.gt(e.minimum)),typeof e.exclusiveMaximum==\"number\"?o=o.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum==\"number\"&&(o=o.lt(e.maximum)),typeof e.multipleOf==\"number\"&&(o=o.multipleOf(e.multipleOf)),n=o;break}case\"boolean\":{n=$.boolean();break}case\"null\":{n=$.null();break}case\"object\":{let o={},i=e.properties||{},s=new Set(e.required||[]),a=typeof e.additionalProperties==\"object\"?Ee(e.additionalProperties,t):void 0;for(let[c,u]of Object.entries(i)){let l=Ee(u,t);te(o,c,s.has(c)?l:l.optional())}if(e.patternProperties){let c=e.patternProperties,u=Object.keys(c),l=[];for(let f of u){let h=Ee(c[f],t),b=$.string().regex(new RegExp(f));l.push($.looseRecord(b,h))}let d=[];if(Object.keys(o).length>0&&d.push($.object(o).passthrough()),d.push(...l),d.length===0)n=$.object({}).passthrough();else if(d.length===1)n=d[0];else{let f=$.intersection(d[0],d[1]);for(let h=2;h<d.length;h++)f=$.intersection(f,d[h]);n=f}if(e.additionalProperties===!1){let f=Object.keys(o),h=u.map(x=>new RegExp(x)),b=n;n=n.check(x=>{if(!Ze(x.value))return;let v=[];for(let L of Object.keys(x.value))f.includes(L)||h.some(w=>w.test(L))||v.push(L);v.length&&x.issues.push({code:\"unrecognized_keys\",keys:v,input:x.value,inst:b})})}}else{let c=$.object(o);e.additionalProperties===!1?n=c.strict():a?n=c.catchall(a):n=c.passthrough()}if(e.propertyNames!==void 0&&e.propertyNames!==!0){let c=typeof e.propertyNames==\"object\"&&e.propertyNames.type===void 0?{type:\"string\",...e.propertyNames}:e.propertyNames;n=Bx(n,Ee(c,t))}break}case\"array\":{let o=e.prefixItems,i=e.items;if(o&&Array.isArray(o)){let s=typeof e.minItems==\"number\"?e.minItems:0,a=o.map(d=>Ee(d,t)),c=Wg(a,s),u=Array.isArray(i)?void 0:Qg(i,t),l=$.tuple(c);n=u?l.rest(u):l,typeof e.minItems==\"number\"&&(n=n.check($.minLength(e.minItems))),typeof e.maxItems==\"number\"&&(n=n.check($.maxLength(e.maxItems)))}else if(Array.isArray(i)){let s=typeof e.minItems==\"number\"?e.minItems:0,a=i.map(d=>Ee(d,t)),c=Wg(a,s),u=Qg(e.additionalItems,t),l=$.tuple(c);n=u?l.rest(u):l,typeof e.minItems==\"number\"&&(n=n.check($.minLength(e.minItems))),typeof e.maxItems==\"number\"&&(n=n.check($.maxLength(e.maxItems)))}else if(i!==void 0){let s=Ee(i,t),a=$.array(s);typeof e.minItems==\"number\"&&(a=a.min(e.minItems)),typeof e.maxItems==\"number\"&&(a=a.max(e.maxItems)),n=a}else n=$.array($.any());break}default:throw new Error(`Unsupported type: ${r}`)}return n}function Ee(e,t){if(typeof e==\"boolean\")return e?$.any():$.never();let r=Gg(e,t),n=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let a=e.anyOf.map(u=>Ee(u,t)),c=$.union(a);r=n?$.intersection(r,c):c}if(e.oneOf&&Array.isArray(e.oneOf)){let a=e.oneOf.map(u=>Ee(u,t)),c=$.xor(a);r=n?$.intersection(r,c):c}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=n?r:$.any();else{let a=n?r:Ee(e.allOf[0],t),c=n?0:1;for(let u=c;u<e.allOf.length;u++)a=$.intersection(a,Ee(e.allOf[u],t));r=a}e.nullable===!0&&t.version===\"openapi-3.0\"&&(r=$.nullable(r)),e.readOnly===!0&&(r=$.readonly(r)),e.default!==void 0&&(r=r.default(e.default));let o={},i=[\"$id\",\"id\",\"$comment\",\"$anchor\",\"$vocabulary\",\"$dynamicRef\",\"$dynamicAnchor\"];for(let a of i)a in e&&(o[a]=e[a]);let s=[\"contentEncoding\",\"contentMediaType\",\"contentSchema\"];for(let a of s)a in e&&(o[a]=e[a]);e.propertyNames!==void 0&&e.type===\"object\"&&e.$ref===void 0&&(o.propertyNames=e.propertyNames);for(let a of Object.keys(e))qx.has(a)||te(o,a,e[a]);return Object.keys(o).length>0&&t.registry.add(r,o),e.description&&(r=r.describe(e.description)),r}function Rd(e,t){if(typeof e==\"boolean\")return e?$.any():$.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error(\"fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas\")}let n=Ux(r,t?.defaultTarget),o=r.$defs||r.definitions||{},i={version:n,defs:o,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??ue};return Ee(r,i)}var $,qx,Kx,Yg=y(()=>{ln();ie();Ji();Ks();ht();$={...Pr,...Hi,iso:gt},qx=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\"]);Kx=/^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$/});function jd(e){return In(e,{object:t=>t.partial(),union:t=>{let r=t._zod.def;return r.discriminator===void 0?t:F(r.options)}})}var Xg=y(()=>{zp();ht()});function Wx(e,t){if(!t?.length)return e;let r=e._zod.def;return V(e,Ve(r,{checks:[...r.checks??[],...t]}),{parent:!0})}function eb(e){return Wx(e.out,e.checks)}function Qx(e){return e.in._zod.traits.has(\"$ZodTransform\")?eb(e):e.in}function Dd(e){return In(e,{pipe:t=>Qx(t._zod.def),default:(t,r)=>r?U(t._zod.def.innerType):t,catch:(t,r)=>r?t._zod.def.innerType:t})}function Ld(e){return In(e,{pipe:t=>eb(t._zod.def),prefault:(t,r)=>r?t._zod.def.innerType:t})}var tb=y(()=>{ie();zp();ht()});var Ws={};Je(Ws,{bigint:()=>ev,boolean:()=>Xx,date:()=>tv,number:()=>Yx,string:()=>Gx});function Gx(e){return tl(Ut,e)}function Yx(e){return il(Jt,e)}function Xx(e){return dl(Bt,e)}function ev(e){return ml(Kt,e)}function tv(e){return kl(_r,e)}var rb=y(()=>{Te();ht()});var p={};Je(p,{$brand:()=>wo,$input:()=>mi,$output:()=>fi,NEVER:()=>vo,TimePrecision:()=>Di,ZodAny:()=>ps,ZodArray:()=>hs,ZodBase64:()=>Un,ZodBase64URL:()=>Hn,ZodBigInt:()=>Kt,ZodBigIntFormat:()=>Kn,ZodBoolean:()=>Bt,ZodCIDRv4:()=>Fn,ZodCIDRv6:()=>qn,ZodCUID:()=>Zn,ZodCUID2:()=>Rn,ZodCatch:()=>Cs,ZodCodec:()=>kr,ZodCompileAsyncError:()=>je,ZodCompileUnsupportedError:()=>Z,ZodCreditCard:()=>as,ZodCustom:()=>Sr,ZodCustomStringFormat:()=>Ht,ZodDate:()=>_r,ZodDefault:()=>Ps,ZodDiscriminatedUnion:()=>bs,ZodE164:()=>Jn,ZodEmail:()=>An,ZodEmoji:()=>Nn,ZodEnum:()=>Ft,ZodError:()=>Ug,ZodExactOptional:()=>Gn,ZodFile:()=>$s,ZodFirstPartyTypeKind:()=>Bs,ZodFunction:()=>Us,ZodGUID:()=>On,ZodIPv4:()=>Mn,ZodIPv6:()=>Vn,ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>tt,ZodISOTime:()=>et,ZodIntersection:()=>ys,ZodIssueCode:()=>Hg,ZodJWT:()=>Bn,ZodKSUID:()=>Ln,ZodLazy:()=>Vs,ZodLiteral:()=>zs,ZodMAC:()=>ss,ZodMap:()=>vs,ZodNaN:()=>Rs,ZodNanoID:()=>Cn,ZodNever:()=>fs,ZodNonOptional:()=>Yn,ZodNull:()=>ls,ZodNullable:()=>Is,ZodNumber:()=>Jt,ZodNumberFormat:()=>mt,ZodObject:()=>xr,ZodOptional:()=>zr,ZodPipe:()=>$r,ZodPrefault:()=>Es,ZodPreprocess:()=>js,ZodPromise:()=>qs,ZodReadonly:()=>Ds,ZodRealError:()=>xe,ZodRecord:()=>Vt,ZodSet:()=>ws,ZodString:()=>Ut,ZodStringFormat:()=>W,ZodSuccess:()=>Ns,ZodSymbol:()=>cs,ZodTemplateLiteral:()=>Ms,ZodTransform:()=>ks,ZodTuple:()=>_s,ZodType:()=>O,ZodULID:()=>jn,ZodURL:()=>br,ZodUUID:()=>He,ZodUndefined:()=>us,ZodUnion:()=>vr,ZodUnknown:()=>ds,ZodVoid:()=>ms,ZodXID:()=>Dn,ZodXor:()=>gs,_ZodString:()=>En,_default:()=>Ts,_function:()=>Td,any:()=>ld,array:()=>N,base64:()=>Jp,base64url:()=>Bp,bigint:()=>id,boolean:()=>ne,catch:()=>Zs,check:()=>Ed,cidrv4:()=>Up,cidrv6:()=>Hp,clone:()=>V,codec:()=>kd,coerce:()=>Ws,compile:()=>hi,config:()=>re,core:()=>Ke,creditCard:()=>Wp,cuid:()=>Rp,cuid2:()=>jp,custom:()=>Xn,date:()=>dd,decode:()=>Xi,decodeAsync:()=>ts,deepPartial:()=>jd,describe:()=>Ad,discriminatedUnion:()=>wr,e164:()=>Kp,email:()=>Sp,emoji:()=>Cp,encode:()=>Yi,encodeAsync:()=>es,endsWith:()=>Ct,enum:()=>pe,exactOptional:()=>Ss,file:()=>vd,flattenError:()=>rr,float32:()=>td,float64:()=>rd,formatError:()=>nr,fromJSONSchema:()=>Rd,function:()=>Td,getDiscriminatedOption:()=>ni,getErrorMap:()=>Bg,globalRegistry:()=>ue,gt:()=>qe,gte:()=>Pe,guid:()=>Ip,hash:()=>ed,hex:()=>Xp,hostname:()=>Yp,httpUrl:()=>Np,includes:()=>Ot,input:()=>Dd,instanceof:()=>Nd,int:()=>Pn,int32:()=>nd,int64:()=>sd,intersection:()=>Wt,invertCodec:()=>Sd,ipv4:()=>Vp,ipv6:()=>qp,iso:()=>gt,json:()=>Zd,jwt:()=>Qp,keyof:()=>fd,ksuid:()=>Mp,lazy:()=>Fs,length:()=>lt,literal:()=>k,locales:()=>fr,looseObject:()=>le,looseRecord:()=>bd,lowercase:()=>Et,lt:()=>Fe,lte:()=>Ie,mac:()=>Fp,map:()=>yd,maxLength:()=>ut,maxSize:()=>Ge,memoizer:()=>dr,meta:()=>Od,mime:()=>Zt,minLength:()=>Be,minSize:()=>Ue,multipleOf:()=>Qe,nan:()=>$d,nanoid:()=>Zp,nativeEnum:()=>xd,negative:()=>bn,never:()=>Wn,nonnegative:()=>_n,nonoptional:()=>Os,nonpositive:()=>yn,normalize:()=>Rt,null:()=>yr,nullable:()=>gr,nullish:()=>wd,number:()=>R,object:()=>z,optional:()=>U,output:()=>Ld,overwrite:()=>De,parse:()=>Ki,parseAsync:()=>Wi,partialRecord:()=>gd,pipe:()=>Tn,positive:()=>gn,prefault:()=>As,preprocess:()=>Ir,prettifyError:()=>$o,promise:()=>Pd,properties:()=>vn,property:()=>xn,readonly:()=>Ls,record:()=>H,refine:()=>Hs,regex:()=>Tt,regexes:()=>be,registry:()=>un,safeDecode:()=>ns,safeDecodeAsync:()=>is,safeEncode:()=>rs,safeEncodeAsync:()=>os,safeParse:()=>Qi,safeParseAsync:()=>Gi,set:()=>_d,setErrorMap:()=>Jg,size:()=>ct,slugify:()=>Mt,startsWith:()=>Nt,strictObject:()=>md,string:()=>g,stringFormat:()=>Gp,stringbool:()=>Cd,success:()=>zd,superRefine:()=>Js,symbol:()=>cd,templateLiteral:()=>Id,toJSONSchema:()=>kn,toLowerCase:()=>Dt,toUpperCase:()=>Lt,toZod:()=>Yt,transform:()=>Qn,treeifyError:()=>zo,trim:()=>jt,tuple:()=>xs,uint32:()=>od,uint64:()=>ad,ulid:()=>Dp,undefined:()=>ud,union:()=>F,unknown:()=>K,uppercase:()=>At,url:()=>Op,util:()=>S,uuid:()=>Pp,uuidv4:()=>Tp,uuidv6:()=>Ep,uuidv7:()=>Ap,validate:()=>Qr,validateAsync:()=>Gr,void:()=>pd,xid:()=>Lp,xor:()=>hd});var Qs=y(()=>{Te();ht();Ji();$p();kp();Kg();Te();Sn();Yg();Xg();tb();Wu();Ks();Ks();rb()});var nb=y(()=>{Qs();Qs()});var Md={};Je(Md,{$brand:()=>wo,$input:()=>mi,$output:()=>fi,NEVER:()=>vo,TimePrecision:()=>Di,ZodAny:()=>ps,ZodArray:()=>hs,ZodBase64:()=>Un,ZodBase64URL:()=>Hn,ZodBigInt:()=>Kt,ZodBigIntFormat:()=>Kn,ZodBoolean:()=>Bt,ZodCIDRv4:()=>Fn,ZodCIDRv6:()=>qn,ZodCUID:()=>Zn,ZodCUID2:()=>Rn,ZodCatch:()=>Cs,ZodCodec:()=>kr,ZodCompileAsyncError:()=>je,ZodCompileUnsupportedError:()=>Z,ZodCreditCard:()=>as,ZodCustom:()=>Sr,ZodCustomStringFormat:()=>Ht,ZodDate:()=>_r,ZodDefault:()=>Ps,ZodDiscriminatedUnion:()=>bs,ZodE164:()=>Jn,ZodEmail:()=>An,ZodEmoji:()=>Nn,ZodEnum:()=>Ft,ZodError:()=>Ug,ZodExactOptional:()=>Gn,ZodFile:()=>$s,ZodFirstPartyTypeKind:()=>Bs,ZodFunction:()=>Us,ZodGUID:()=>On,ZodIPv4:()=>Mn,ZodIPv6:()=>Vn,ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>tt,ZodISOTime:()=>et,ZodIntersection:()=>ys,ZodIssueCode:()=>Hg,ZodJWT:()=>Bn,ZodKSUID:()=>Ln,ZodLazy:()=>Vs,ZodLiteral:()=>zs,ZodMAC:()=>ss,ZodMap:()=>vs,ZodNaN:()=>Rs,ZodNanoID:()=>Cn,ZodNever:()=>fs,ZodNonOptional:()=>Yn,ZodNull:()=>ls,ZodNullable:()=>Is,ZodNumber:()=>Jt,ZodNumberFormat:()=>mt,ZodObject:()=>xr,ZodOptional:()=>zr,ZodPipe:()=>$r,ZodPrefault:()=>Es,ZodPreprocess:()=>js,ZodPromise:()=>qs,ZodReadonly:()=>Ds,ZodRealError:()=>xe,ZodRecord:()=>Vt,ZodSet:()=>ws,ZodString:()=>Ut,ZodStringFormat:()=>W,ZodSuccess:()=>Ns,ZodSymbol:()=>cs,ZodTemplateLiteral:()=>Ms,ZodTransform:()=>ks,ZodTuple:()=>_s,ZodType:()=>O,ZodULID:()=>jn,ZodURL:()=>br,ZodUUID:()=>He,ZodUndefined:()=>us,ZodUnion:()=>vr,ZodUnknown:()=>ds,ZodVoid:()=>ms,ZodXID:()=>Dn,ZodXor:()=>gs,_ZodString:()=>En,_default:()=>Ts,_function:()=>Td,any:()=>ld,array:()=>N,base64:()=>Jp,base64url:()=>Bp,bigint:()=>id,boolean:()=>ne,catch:()=>Zs,check:()=>Ed,cidrv4:()=>Up,cidrv6:()=>Hp,clone:()=>V,codec:()=>kd,coerce:()=>Ws,compile:()=>hi,config:()=>re,core:()=>Ke,creditCard:()=>Wp,cuid:()=>Rp,cuid2:()=>jp,custom:()=>Xn,date:()=>dd,decode:()=>Xi,decodeAsync:()=>ts,deepPartial:()=>jd,default:()=>p,describe:()=>Ad,discriminatedUnion:()=>wr,e164:()=>Kp,email:()=>Sp,emoji:()=>Cp,encode:()=>Yi,encodeAsync:()=>es,endsWith:()=>Ct,enum:()=>pe,exactOptional:()=>Ss,file:()=>vd,flattenError:()=>rr,float32:()=>td,float64:()=>rd,formatError:()=>nr,fromJSONSchema:()=>Rd,function:()=>Td,getDiscriminatedOption:()=>ni,getErrorMap:()=>Bg,globalRegistry:()=>ue,gt:()=>qe,gte:()=>Pe,guid:()=>Ip,hash:()=>ed,hex:()=>Xp,hostname:()=>Yp,httpUrl:()=>Np,includes:()=>Ot,input:()=>Dd,instanceof:()=>Nd,int:()=>Pn,int32:()=>nd,int64:()=>sd,intersection:()=>Wt,invertCodec:()=>Sd,ipv4:()=>Vp,ipv6:()=>qp,iso:()=>gt,json:()=>Zd,jwt:()=>Qp,keyof:()=>fd,ksuid:()=>Mp,lazy:()=>Fs,length:()=>lt,literal:()=>k,locales:()=>fr,looseObject:()=>le,looseRecord:()=>bd,lowercase:()=>Et,lt:()=>Fe,lte:()=>Ie,mac:()=>Fp,map:()=>yd,maxLength:()=>ut,maxSize:()=>Ge,memoizer:()=>dr,meta:()=>Od,mime:()=>Zt,minLength:()=>Be,minSize:()=>Ue,multipleOf:()=>Qe,nan:()=>$d,nanoid:()=>Zp,nativeEnum:()=>xd,negative:()=>bn,never:()=>Wn,nonnegative:()=>_n,nonoptional:()=>Os,nonpositive:()=>yn,normalize:()=>Rt,null:()=>yr,nullable:()=>gr,nullish:()=>wd,number:()=>R,object:()=>z,optional:()=>U,output:()=>Ld,overwrite:()=>De,parse:()=>Ki,parseAsync:()=>Wi,partialRecord:()=>gd,pipe:()=>Tn,positive:()=>gn,prefault:()=>As,preprocess:()=>Ir,prettifyError:()=>$o,promise:()=>Pd,properties:()=>vn,property:()=>xn,readonly:()=>Ls,record:()=>H,refine:()=>Hs,regex:()=>Tt,regexes:()=>be,registry:()=>un,safeDecode:()=>ns,safeDecodeAsync:()=>is,safeEncode:()=>rs,safeEncodeAsync:()=>os,safeParse:()=>Qi,safeParseAsync:()=>Gi,set:()=>_d,setErrorMap:()=>Jg,size:()=>ct,slugify:()=>Mt,startsWith:()=>Nt,strictObject:()=>md,string:()=>g,stringFormat:()=>Gp,stringbool:()=>Cd,success:()=>zd,superRefine:()=>Js,symbol:()=>cd,templateLiteral:()=>Id,toJSONSchema:()=>kn,toLowerCase:()=>Dt,toUpperCase:()=>Lt,toZod:()=>Yt,transform:()=>Qn,treeifyError:()=>zo,trim:()=>jt,tuple:()=>xs,uint32:()=>od,uint64:()=>ad,ulid:()=>Dp,undefined:()=>ud,union:()=>F,unknown:()=>K,uppercase:()=>At,url:()=>Op,util:()=>S,uuid:()=>Pp,uuidv4:()=>Tp,uuidv6:()=>Ep,uuidv7:()=>Ap,validate:()=>Qr,validateAsync:()=>Gr,void:()=>pd,xid:()=>Lp,xor:()=>hd,z:()=>p});var eo=y(()=>{Qs();nb()});Te();function qi(e){return!!e._zod}function Ui(e,t){return qi(e)?ar(e,t):e.safeParse(t)}function Mg(e){if(!e)return;let t;if(qi(e)?t=e._zod?.def?.shape:t=e.shape,!!t){if(typeof t==\"function\")try{return t()}catch{return}return t}}function Vg(e){if(qi(e)){let i=e._zod?.def;if(i){if(i.value!==void 0)return i.value;if(Array.isArray(i.values)&&i.values.length>0)return i.values[0]}}let r=e._def;if(r){if(r.value!==void 0)return r.value;if(Array.isArray(r.values)&&r.values.length>0)return r.values[0]}let n=e.value;if(n!==void 0)return n}eo();var bt=\"io.modelcontextprotocol/related-task\",Ys=\"2.0\",ae=Xn(e=>e!==null&&(typeof e==\"object\"||typeof e==\"function\")),ob=F([g(),R().int()]),ib=g(),L0=le({ttl:R().optional(),pollInterval:R().optional()}),rv=z({ttl:R().optional()}),nv=z({taskId:g()}),Fd=le({progressToken:ob.optional(),[bt]:nv.optional()}),Ce=z({_meta:Fd.optional()}),to=Ce.extend({task:rv.optional()}),sb=e=>to.safeParse(e).success,de=z({method:g(),params:Ce.loose().optional()}),Le=z({_meta:Fd.optional()}),Me=z({method:g(),params:Le.loose().optional()}),fe=le({_meta:Fd.optional()}),Er=F([g(),R().int()]),ab=z({jsonrpc:k(Ys),id:Er,...de.shape}).strict(),qd=e=>ab.safeParse(e).success,cb=z({jsonrpc:k(Ys),...Me.shape}).strict(),ub=e=>cb.safeParse(e).success,Ud=z({jsonrpc:k(Ys),id:Er,result:fe}).strict(),ro=e=>Ud.safeParse(e).success;var J;(function(e){e[e.ConnectionClosed=-32e3]=\"ConnectionClosed\",e[e.RequestTimeout=-32001]=\"RequestTimeout\",e[e.ParseError=-32700]=\"ParseError\",e[e.InvalidRequest=-32600]=\"InvalidRequest\",e[e.MethodNotFound=-32601]=\"MethodNotFound\",e[e.InvalidParams=-32602]=\"InvalidParams\",e[e.InternalError=-32603]=\"InternalError\",e[e.UrlElicitationRequired=-32042]=\"UrlElicitationRequired\"})(J||(J={}));var Hd=z({jsonrpc:k(Ys),id:Er.optional(),error:z({code:R().int(),message:g(),data:K().optional()})}).strict();var lb=e=>Hd.safeParse(e).success;var pb=F([ab,cb,Ud,Hd]),M0=F([Ud,Hd]),Xs=fe.strict(),ov=Le.extend({requestId:Er.optional(),reason:g().optional()}),ea=Me.extend({method:k(\"notifications/cancelled\"),params:ov}),iv=z({src:g(),mimeType:g().optional(),sizes:N(g()).optional(),theme:pe([\"light\",\"dark\"]).optional()}),no=z({icons:N(iv).optional()}),Tr=z({name:g(),title:g().optional()}),oo=Tr.extend({...Tr.shape,...no.shape,version:g(),websiteUrl:g().optional(),description:g().optional()}),sv=Wt(z({applyDefaults:ne().optional()}),H(g(),K())),av=Ir(e=>e&&typeof e==\"object\"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,Wt(z({form:sv.optional(),url:ae.optional()}),H(g(),K()).optional())),cv=le({list:ae.optional(),cancel:ae.optional(),requests:le({sampling:le({createMessage:ae.optional()}).optional(),elicitation:le({create:ae.optional()}).optional()}).optional()}),uv=le({list:ae.optional(),cancel:ae.optional(),requests:le({tools:le({call:ae.optional()}).optional()}).optional()}),lv=z({experimental:H(g(),ae).optional(),sampling:z({context:ae.optional(),tools:ae.optional()}).optional(),elicitation:av.optional(),roots:z({listChanged:ne().optional()}).optional(),tasks:cv.optional(),extensions:H(g(),ae).optional()}),pv=Ce.extend({protocolVersion:g(),capabilities:lv,clientInfo:oo}),dv=de.extend({method:k(\"initialize\"),params:pv});var fv=z({experimental:H(g(),ae).optional(),logging:ae.optional(),completions:ae.optional(),prompts:z({listChanged:ne().optional()}).optional(),resources:z({subscribe:ne().optional(),listChanged:ne().optional()}).optional(),tools:z({listChanged:ne().optional()}).optional(),tasks:uv.optional(),extensions:H(g(),ae).optional()}),mv=fe.extend({protocolVersion:g(),capabilities:fv,serverInfo:oo,instructions:g().optional()}),hv=Me.extend({method:k(\"notifications/initialized\"),params:Le.optional()});var Ar=de.extend({method:k(\"ping\"),params:Ce.optional()}),gv=z({progress:R(),total:U(R()),message:U(g())}),bv=z({...Le.shape,...gv.shape,progressToken:ob}),ta=Me.extend({method:k(\"notifications/progress\"),params:bv}),yv=Ce.extend({cursor:ib.optional()}),io=de.extend({params:yv.optional()}),so=fe.extend({nextCursor:ib.optional()}),_v=pe([\"working\",\"input_required\",\"completed\",\"failed\",\"cancelled\"]),ao=z({taskId:g(),status:_v,ttl:F([R(),yr()]),createdAt:g(),lastUpdatedAt:g(),pollInterval:U(R()),statusMessage:U(g())}),ra=fe.extend({task:ao}),xv=Le.merge(ao),co=Me.extend({method:k(\"notifications/tasks/status\"),params:xv}),na=de.extend({method:k(\"tasks/get\"),params:Ce.extend({taskId:g()})}),oa=fe.merge(ao),ia=de.extend({method:k(\"tasks/result\"),params:Ce.extend({taskId:g()})}),V0=fe.loose(),sa=io.extend({method:k(\"tasks/list\")}),aa=so.extend({tasks:N(ao)}),ca=de.extend({method:k(\"tasks/cancel\"),params:Ce.extend({taskId:g()})}),db=fe.merge(ao),fb=z({uri:g(),mimeType:U(g()),_meta:H(g(),K()).optional()}),mb=fb.extend({text:g()}),Jd=g().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:\"Invalid Base64 string\"}),hb=fb.extend({blob:Jd}),uo=pe([\"user\",\"assistant\"]),Or=z({audience:N(uo).optional(),priority:R().min(0).max(1).optional(),lastModified:gt.datetime({offset:!0}).optional()}),gb=z({...Tr.shape,...no.shape,uri:g(),description:U(g()),mimeType:U(g()),size:U(R()),annotations:Or.optional(),_meta:U(le({}))}),vv=z({...Tr.shape,...no.shape,uriTemplate:g(),description:U(g()),mimeType:U(g()),annotations:Or.optional(),_meta:U(le({}))}),wv=io.extend({method:k(\"resources/list\")}),Bd=so.extend({resources:N(gb)}),zv=io.extend({method:k(\"resources/templates/list\")}),$v=so.extend({resourceTemplates:N(vv)}),Kd=Ce.extend({uri:g()}),kv=Kd,Sv=de.extend({method:k(\"resources/read\"),params:kv}),Wd=fe.extend({contents:N(F([mb,hb]))}),Iv=Me.extend({method:k(\"notifications/resources/list_changed\"),params:Le.optional()}),Pv=Kd,Tv=de.extend({method:k(\"resources/subscribe\"),params:Pv}),Ev=Kd,Av=de.extend({method:k(\"resources/unsubscribe\"),params:Ev}),Ov=Le.extend({uri:g()}),Nv=Me.extend({method:k(\"notifications/resources/updated\"),params:Ov}),Cv=z({name:g(),description:U(g()),required:U(ne())}),Zv=z({...Tr.shape,...no.shape,description:U(g()),arguments:U(N(Cv)),_meta:U(le({}))}),Rv=io.extend({method:k(\"prompts/list\")}),jv=so.extend({prompts:N(Zv)}),Dv=Ce.extend({name:g(),arguments:H(g(),g()).optional()}),Lv=de.extend({method:k(\"prompts/get\"),params:Dv}),Qd=z({type:k(\"text\"),text:g(),annotations:Or.optional(),_meta:H(g(),K()).optional()}),Gd=z({type:k(\"image\"),data:Jd,mimeType:g(),annotations:Or.optional(),_meta:H(g(),K()).optional()}),Yd=z({type:k(\"audio\"),data:Jd,mimeType:g(),annotations:Or.optional(),_meta:H(g(),K()).optional()}),Mv=z({type:k(\"tool_use\"),name:g(),id:g(),input:H(g(),K()),_meta:H(g(),K()).optional()}),Xd=z({type:k(\"resource\"),resource:F([mb,hb]),annotations:Or.optional(),_meta:H(g(),K()).optional()}),ef=gb.extend({type:k(\"resource_link\")}),Nr=F([Qd,Gd,Yd,ef,Xd]),Vv=z({role:uo,content:Nr}),Fv=fe.extend({description:g().optional(),messages:N(Vv)}),qv=Me.extend({method:k(\"notifications/prompts/list_changed\"),params:Le.optional()}),Uv=z({title:g().optional(),readOnlyHint:ne().optional(),destructiveHint:ne().optional(),idempotentHint:ne().optional(),openWorldHint:ne().optional()}),Hv=z({taskSupport:pe([\"required\",\"optional\",\"forbidden\"]).optional()}),ua=z({...Tr.shape,...no.shape,description:g().optional(),inputSchema:z({type:k(\"object\"),properties:H(g(),ae).optional(),required:N(g()).optional()}).catchall(K()),outputSchema:z({type:k(\"object\"),properties:H(g(),ae).optional(),required:N(g()).optional()}).catchall(K()).optional(),annotations:Uv.optional(),execution:Hv.optional(),_meta:H(g(),K()).optional()}),tf=io.extend({method:k(\"tools/list\")}),Jv=so.extend({tools:N(ua)}),Cr=fe.extend({content:N(Nr).default([]),structuredContent:H(g(),K()).optional(),isError:ne().optional()}),F0=Cr.or(fe.extend({toolResult:K()})),Bv=to.extend({name:g(),arguments:H(g(),K()).optional()}),rf=de.extend({method:k(\"tools/call\"),params:Bv}),Kv=Me.extend({method:k(\"notifications/tools/list_changed\"),params:Le.optional()}),q0=z({autoRefresh:ne().default(!0),debounceMs:R().int().nonnegative().default(300)}),bb=pe([\"debug\",\"info\",\"notice\",\"warning\",\"error\",\"critical\",\"alert\",\"emergency\"]),Wv=Ce.extend({level:bb}),Qv=de.extend({method:k(\"logging/setLevel\"),params:Wv}),Gv=Le.extend({level:bb,logger:g().optional(),data:K()}),Yv=Me.extend({method:k(\"notifications/message\"),params:Gv}),Xv=z({name:g().optional()}),ew=z({hints:N(Xv).optional(),costPriority:R().min(0).max(1).optional(),speedPriority:R().min(0).max(1).optional(),intelligencePriority:R().min(0).max(1).optional()}),tw=z({mode:pe([\"auto\",\"required\",\"none\"]).optional()}),rw=z({type:k(\"tool_result\"),toolUseId:g().describe(\"The unique identifier for the corresponding tool call.\"),content:N(Nr).default([]),structuredContent:z({}).loose().optional(),isError:ne().optional(),_meta:H(g(),K()).optional()}),nw=wr(\"type\",[Qd,Gd,Yd]),Gs=wr(\"type\",[Qd,Gd,Yd,Mv,rw]),ow=z({role:uo,content:F([Gs,N(Gs)]),_meta:H(g(),K()).optional()}),iw=to.extend({messages:N(ow),modelPreferences:ew.optional(),systemPrompt:g().optional(),includeContext:pe([\"none\",\"thisServer\",\"allServers\"]).optional(),temperature:R().optional(),maxTokens:R().int(),stopSequences:N(g()).optional(),metadata:ae.optional(),tools:N(ua).optional(),toolChoice:tw.optional()}),sw=de.extend({method:k(\"sampling/createMessage\"),params:iw}),nf=fe.extend({model:g(),stopReason:U(pe([\"endTurn\",\"stopSequence\",\"maxTokens\"]).or(g())),role:uo,content:nw}),of=fe.extend({model:g(),stopReason:U(pe([\"endTurn\",\"stopSequence\",\"maxTokens\",\"toolUse\"]).or(g())),role:uo,content:F([Gs,N(Gs)])}),aw=z({type:k(\"boolean\"),title:g().optional(),description:g().optional(),default:ne().optional()}),cw=z({type:k(\"string\"),title:g().optional(),description:g().optional(),minLength:R().optional(),maxLength:R().optional(),format:pe([\"email\",\"uri\",\"date\",\"date-time\"]).optional(),default:g().optional()}),uw=z({type:pe([\"number\",\"integer\"]),title:g().optional(),description:g().optional(),minimum:R().optional(),maximum:R().optional(),default:R().optional()}),lw=z({type:k(\"string\"),title:g().optional(),description:g().optional(),enum:N(g()),default:g().optional()}),pw=z({type:k(\"string\"),title:g().optional(),description:g().optional(),oneOf:N(z({const:g(),title:g()})),default:g().optional()}),dw=z({type:k(\"string\"),title:g().optional(),description:g().optional(),enum:N(g()),enumNames:N(g()).optional(),default:g().optional()}),fw=F([lw,pw]),mw=z({type:k(\"array\"),title:g().optional(),description:g().optional(),minItems:R().optional(),maxItems:R().optional(),items:z({type:k(\"string\"),enum:N(g())}),default:N(g()).optional()}),hw=z({type:k(\"array\"),title:g().optional(),description:g().optional(),minItems:R().optional(),maxItems:R().optional(),items:z({anyOf:N(z({const:g(),title:g()}))}),default:N(g()).optional()}),gw=F([mw,hw]),bw=F([dw,fw,gw]),yw=F([bw,aw,cw,uw]),_w=to.extend({mode:k(\"form\").optional(),message:g(),requestedSchema:z({type:k(\"object\"),properties:H(g(),yw),required:N(g()).optional()})}),xw=to.extend({mode:k(\"url\"),message:g(),elicitationId:g(),url:g().url()}),vw=F([_w,xw]),ww=de.extend({method:k(\"elicitation/create\"),params:vw}),zw=Le.extend({elicitationId:g()}),$w=Me.extend({method:k(\"notifications/elicitation/complete\"),params:zw}),kw=fe.extend({action:pe([\"accept\",\"decline\",\"cancel\"]),content:Ir(e=>e===null?void 0:e,H(g(),F([g(),R(),ne(),N(g())])).optional())}),Sw=z({type:k(\"ref/resource\"),uri:g()});var Iw=z({type:k(\"ref/prompt\"),name:g()}),Pw=Ce.extend({ref:F([Iw,Sw]),argument:z({name:g(),value:g()}),context:z({arguments:H(g(),g()).optional()}).optional()}),Tw=de.extend({method:k(\"completion/complete\"),params:Pw});var Ew=fe.extend({completion:le({values:N(g()).max(100),total:U(R().int()),hasMore:U(ne())})}),Aw=z({uri:g().startsWith(\"file://\"),name:g().optional(),_meta:H(g(),K()).optional()}),Ow=de.extend({method:k(\"roots/list\"),params:Ce.optional()}),Nw=fe.extend({roots:N(Aw)}),Cw=Me.extend({method:k(\"notifications/roots/list_changed\"),params:Le.optional()}),U0=F([Ar,dv,Tw,Qv,Lv,Rv,wv,zv,Sv,Tv,Av,rf,tf,na,ia,sa,ca]),H0=F([ea,ta,hv,Cw,co]),J0=F([Xs,nf,of,kw,Nw,oa,aa,ra]),B0=F([Ar,sw,ww,Ow,na,ia,sa,ca]),K0=F([ea,ta,Yv,Nv,Iv,Kv,qv,co,$w]),W0=F([Xs,mv,Ew,Fv,jv,Bd,$v,Wd,Cr,Jv,oa,aa,ra]),j=class e extends Error{constructor(t,r,n){super(`MCP error ${t}: ${r}`),this.code=t,this.data=n,this.name=\"McpError\"}static fromError(t,r,n){if(t===J.UrlElicitationRequired&&n){let o=n;if(o.elicitations)return new Vd(o.elicitations,r)}return new e(t,r,n)}},Vd=class extends j{constructor(t,r=`URL elicitation${t.length>1?\"s\":\"\"} required`){super(J.UrlElicitationRequired,r,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}};function yt(e){return e===\"completed\"||e===\"failed\"||e===\"cancelled\"}var PI=new Set(\"ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789\");function sf(e){let r=Mg(e)?.method;if(!r)throw new Error(\"Schema is missing a method literal\");let n=Vg(r);if(typeof n!=\"string\")throw new Error(\"Schema method literal must be a string\");return n}function af(e,t){let r=Ui(e,t);if(!r.success)throw r.error;return r.data}var Mw=6e4,la=class{constructor(t){this._options=t,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(ea,r=>{this._oncancel(r)}),this.setNotificationHandler(ta,r=>{this._onprogress(r)}),this.setRequestHandler(Ar,r=>({})),this._taskStore=t?.taskStore,this._taskMessageQueue=t?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(na,async(r,n)=>{let o=await this._taskStore.getTask(r.params.taskId,n.sessionId);if(!o)throw new j(J.InvalidParams,\"Failed to retrieve task: Task not found\");return{...o}}),this.setRequestHandler(ia,async(r,n)=>{let o=async()=>{let i=r.params.taskId;if(this._taskMessageQueue){let a;for(;a=await this._taskMessageQueue.dequeue(i,n.sessionId);){if(a.type===\"response\"||a.type===\"error\"){let c=a.message,u=c.id,l=this._requestResolvers.get(u);if(l)if(this._requestResolvers.delete(u),a.type===\"response\")l(c);else{let d=c,f=new j(d.error.code,d.error.message,d.error.data);l(f)}else{let d=a.type===\"response\"?\"Response\":\"Error\";this._onerror(new Error(`${d} handler missing for request ${u}`))}continue}await this._transport?.send(a.message,{relatedRequestId:n.requestId})}}let s=await this._taskStore.getTask(i,n.sessionId);if(!s)throw new j(J.InvalidParams,`Task not found: ${i}`);if(!yt(s.status))return await this._waitForTaskUpdate(i,n.signal),await o();if(yt(s.status)){let a=await this._taskStore.getTaskResult(i,n.sessionId);return this._clearTaskQueue(i),{...a,_meta:{...a._meta,[bt]:{taskId:i}}}}return await o()};return await o()}),this.setRequestHandler(sa,async(r,n)=>{try{let{tasks:o,nextCursor:i}=await this._taskStore.listTasks(r.params?.cursor,n.sessionId);return{tasks:o,nextCursor:i,_meta:{}}}catch(o){throw new j(J.InvalidParams,`Failed to list tasks: ${o instanceof Error?o.message:String(o)}`)}}),this.setRequestHandler(ca,async(r,n)=>{try{let o=await this._taskStore.getTask(r.params.taskId,n.sessionId);if(!o)throw new j(J.InvalidParams,`Task not found: ${r.params.taskId}`);if(yt(o.status))throw new j(J.InvalidParams,`Cannot cancel task in terminal status: ${o.status}`);await this._taskStore.updateTaskStatus(r.params.taskId,\"cancelled\",\"Client cancelled task execution.\",n.sessionId),this._clearTaskQueue(r.params.taskId);let i=await this._taskStore.getTask(r.params.taskId,n.sessionId);if(!i)throw new j(J.InvalidParams,`Task not found after cancellation: ${r.params.taskId}`);return{_meta:{},...i}}catch(o){throw o instanceof j?o:new j(J.InvalidRequest,`Failed to cancel task: ${o instanceof Error?o.message:String(o)}`)}}))}async _oncancel(t){if(!t.params.requestId)return;this._requestHandlerAbortControllers.get(t.params.requestId)?.abort(t.params.reason)}_setupTimeout(t,r,n,o,i=!1){this._timeoutInfo.set(t,{timeoutId:setTimeout(o,r),startTime:Date.now(),timeout:r,maxTotalTimeout:n,resetTimeoutOnProgress:i,onTimeout:o})}_resetTimeout(t){let r=this._timeoutInfo.get(t);if(!r)return!1;let n=Date.now()-r.startTime;if(r.maxTotalTimeout&&n>=r.maxTotalTimeout)throw this._timeoutInfo.delete(t),j.fromError(J.RequestTimeout,\"Maximum total timeout exceeded\",{maxTotalTimeout:r.maxTotalTimeout,totalElapsed:n});return clearTimeout(r.timeoutId),r.timeoutId=setTimeout(r.onTimeout,r.timeout),!0}_cleanupTimeout(t){let r=this._timeoutInfo.get(t);r&&(clearTimeout(r.timeoutId),this._timeoutInfo.delete(t))}async connect(t){if(this._transport)throw new Error(\"Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.\");this._transport=t;let r=this.transport?.onclose;this._transport.onclose=()=>{r?.(),this._onclose()};let n=this.transport?.onerror;this._transport.onerror=i=>{n?.(i),this._onerror(i)};let o=this._transport?.onmessage;this._transport.onmessage=(i,s)=>{o?.(i,s),ro(i)||lb(i)?this._onresponse(i):qd(i)?this._onrequest(i,s):ub(i)?this._onnotification(i):this._onerror(new Error(`Unknown message type: ${JSON.stringify(i)}`))},await this._transport.start()}_onclose(){let t=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let n of this._timeoutInfo.values())clearTimeout(n.timeoutId);this._timeoutInfo.clear();for(let n of this._requestHandlerAbortControllers.values())n.abort();this._requestHandlerAbortControllers.clear();let r=j.fromError(J.ConnectionClosed,\"Connection closed\");this._transport=void 0,this.onclose?.();for(let n of t.values())n(r)}_onerror(t){this.onerror?.(t)}_onnotification(t){let r=this._notificationHandlers.get(t.method)??this.fallbackNotificationHandler;r!==void 0&&Promise.resolve().then(()=>r(t)).catch(n=>this._onerror(new Error(`Uncaught error in notification handler: ${n}`)))}_onrequest(t,r){let n=this._requestHandlers.get(t.method)??this.fallbackRequestHandler,o=this._transport,i=t.params?._meta?.[bt]?.taskId;if(n===void 0){let l={jsonrpc:\"2.0\",id:t.id,error:{code:J.MethodNotFound,message:\"Method not found\"}};i&&this._taskMessageQueue?this._enqueueTaskMessage(i,{type:\"error\",message:l,timestamp:Date.now()},o?.sessionId).catch(d=>this._onerror(new Error(`Failed to enqueue error response: ${d}`))):o?.send(l).catch(d=>this._onerror(new Error(`Failed to send an error response: ${d}`)));return}let s=new AbortController;this._requestHandlerAbortControllers.set(t.id,s);let a=sb(t.params)?t.params.task:void 0,c=this._taskStore?this.requestTaskStore(t,o?.sessionId):void 0,u={signal:s.signal,sessionId:o?.sessionId,_meta:t.params?._meta,sendNotification:async l=>{if(s.signal.aborted)return;let d={relatedRequestId:t.id};i&&(d.relatedTask={taskId:i}),await this.notification(l,d)},sendRequest:async(l,d,f)=>{if(s.signal.aborted)throw new j(J.ConnectionClosed,\"Request was cancelled\");let h={...f,relatedRequestId:t.id};i&&!h.relatedTask&&(h.relatedTask={taskId:i});let b=h.relatedTask?.taskId??i;return b&&c&&await c.updateTaskStatus(b,\"input_required\"),await this.request(l,d,h)},authInfo:r?.authInfo,requestId:t.id,requestInfo:r?.requestInfo,taskId:i,taskStore:c,taskRequestedTtl:a?.ttl,closeSSEStream:r?.closeSSEStream,closeStandaloneSSEStream:r?.closeStandaloneSSEStream};Promise.resolve().then(()=>{a&&this.assertTaskHandlerCapability(t.method)}).then(()=>n(t,u)).then(async l=>{if(s.signal.aborted)return;let d={result:l,jsonrpc:\"2.0\",id:t.id};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:\"response\",message:d,timestamp:Date.now()},o?.sessionId):await o?.send(d)},async l=>{if(s.signal.aborted)return;let d={jsonrpc:\"2.0\",id:t.id,error:{code:Number.isSafeInteger(l.code)?l.code:J.InternalError,message:l.message??\"Internal error\",...l.data!==void 0&&{data:l.data}}};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:\"error\",message:d,timestamp:Date.now()},o?.sessionId):await o?.send(d)}).catch(l=>this._onerror(new Error(`Failed to send response: ${l}`))).finally(()=>{this._requestHandlerAbortControllers.get(t.id)===s&&this._requestHandlerAbortControllers.delete(t.id)})}_onprogress(t){let{progressToken:r,...n}=t.params,o=Number(r),i=this._progressHandlers.get(o);if(!i){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(t)}`));return}let s=this._responseHandlers.get(o),a=this._timeoutInfo.get(o);if(a&&s&&a.resetTimeoutOnProgress)try{this._resetTimeout(o)}catch(c){this._responseHandlers.delete(o),this._progressHandlers.delete(o),this._cleanupTimeout(o),s(c);return}i(n)}_onresponse(t){let r=Number(t.id),n=this._requestResolvers.get(r);if(n){if(this._requestResolvers.delete(r),ro(t))n(t);else{let s=new j(t.error.code,t.error.message,t.error.data);n(s)}return}let o=this._responseHandlers.get(r);if(o===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(t)}`));return}this._responseHandlers.delete(r),this._cleanupTimeout(r);let i=!1;if(ro(t)&&t.result&&typeof t.result==\"object\"){let s=t.result;if(s.task&&typeof s.task==\"object\"){let a=s.task;typeof a.taskId==\"string\"&&(i=!0,this._taskProgressTokens.set(a.taskId,r))}}if(i||this._progressHandlers.delete(r),ro(t))o(t);else{let s=j.fromError(t.error.code,t.error.message,t.error.data);o(s)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(t,r,n){let{task:o}=n??{};if(!o){try{yield{type:\"result\",result:await this.request(t,r,n)}}catch(s){yield{type:\"error\",error:s instanceof j?s:new j(J.InternalError,String(s))}}return}let i;try{let s=await this.request(t,ra,n);if(s.task)i=s.task.taskId,yield{type:\"taskCreated\",task:s.task};else throw new j(J.InternalError,\"Task creation did not return a task\");for(;;){let a=await this.getTask({taskId:i},n);if(yield{type:\"taskStatus\",task:a},yt(a.status)){a.status===\"completed\"?yield{type:\"result\",result:await this.getTaskResult({taskId:i},r,n)}:a.status===\"failed\"?yield{type:\"error\",error:new j(J.InternalError,`Task ${i} failed`)}:a.status===\"cancelled\"&&(yield{type:\"error\",error:new j(J.InternalError,`Task ${i} was cancelled`)});return}if(a.status===\"input_required\"){yield{type:\"result\",result:await this.getTaskResult({taskId:i},r,n)};return}let c=a.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(u=>setTimeout(u,c)),n?.signal?.throwIfAborted()}}catch(s){yield{type:\"error\",error:s instanceof j?s:new j(J.InternalError,String(s))}}}request(t,r,n){let{relatedRequestId:o,resumptionToken:i,onresumptiontoken:s,task:a,relatedTask:c}=n??{};return new Promise((u,l)=>{let d=w=>{l(w)};if(!this._transport){d(new Error(\"Not connected\"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method),a&&this.assertTaskCapability(t.method)}catch(w){d(w);return}n?.signal?.throwIfAborted();let f=this._requestMessageId++,h={...t,jsonrpc:\"2.0\",id:f};n?.onprogress&&(this._progressHandlers.set(f,n.onprogress),h.params={...t.params,_meta:{...t.params?._meta||{},progressToken:f}}),a&&(h.params={...h.params,task:a}),c&&(h.params={...h.params,_meta:{...h.params?._meta||{},[bt]:c}});let b=w=>{this._responseHandlers.delete(f),this._progressHandlers.delete(f),this._cleanupTimeout(f),this._transport?.send({jsonrpc:\"2.0\",method:\"notifications/cancelled\",params:{requestId:f,reason:String(w)}},{relatedRequestId:o,resumptionToken:i,onresumptiontoken:s}).catch(M=>this._onerror(new Error(`Failed to send cancellation: ${M}`)));let I=w instanceof j?w:new j(J.RequestTimeout,String(w));l(I)};this._responseHandlers.set(f,w=>{if(!n?.signal?.aborted){if(w instanceof Error)return l(w);try{let I=Ui(r,w.result);I.success?u(I.data):l(I.error)}catch(I){l(I)}}}),n?.signal?.addEventListener(\"abort\",()=>{b(n?.signal?.reason)});let x=n?.timeout??Mw,v=()=>b(j.fromError(J.RequestTimeout,\"Request timed out\",{timeout:x}));this._setupTimeout(f,x,n?.maxTotalTimeout,v,n?.resetTimeoutOnProgress??!1);let L=c?.taskId;if(L){let w=I=>{let M=this._responseHandlers.get(f);M?M(I):this._onerror(new Error(`Response handler missing for side-channeled request ${f}`))};this._requestResolvers.set(f,w),this._enqueueTaskMessage(L,{type:\"request\",message:h,timestamp:Date.now()}).catch(I=>{this._cleanupTimeout(f),l(I)})}else this._transport.send(h,{relatedRequestId:o,resumptionToken:i,onresumptiontoken:s}).catch(w=>{this._cleanupTimeout(f),l(w)})})}async getTask(t,r){return this.request({method:\"tasks/get\",params:t},oa,r)}async getTaskResult(t,r,n){return this.request({method:\"tasks/result\",params:t},r,n)}async listTasks(t,r){return this.request({method:\"tasks/list\",params:t},aa,r)}async cancelTask(t,r){return this.request({method:\"tasks/cancel\",params:t},db,r)}async notification(t,r){if(!this._transport)throw new Error(\"Not connected\");this.assertNotificationCapability(t.method);let n=r?.relatedTask?.taskId;if(n){let a={...t,jsonrpc:\"2.0\",params:{...t.params,_meta:{...t.params?._meta||{},[bt]:r.relatedTask}}};await this._enqueueTaskMessage(n,{type:\"notification\",message:a,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(t.method)&&!t.params&&!r?.relatedRequestId&&!r?.relatedTask){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(t.method),!this._transport)return;let a={...t,jsonrpc:\"2.0\"};r?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[bt]:r.relatedTask}}}),this._transport?.send(a,r).catch(c=>this._onerror(c))});return}let s={...t,jsonrpc:\"2.0\"};r?.relatedTask&&(s={...s,params:{...s.params,_meta:{...s.params?._meta||{},[bt]:r.relatedTask}}}),await this._transport.send(s,r)}setRequestHandler(t,r){let n=sf(t);this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(o,i)=>{let s=af(t,o);return Promise.resolve(r(s,i))})}removeRequestHandler(t){this._requestHandlers.delete(t)}assertCanSetRequestHandler(t){if(this._requestHandlers.has(t))throw new Error(`A request handler for ${t} already exists, which would be overridden`)}setNotificationHandler(t,r){let n=sf(t);this._notificationHandlers.set(n,o=>{let i=af(t,o);return Promise.resolve(r(i))})}removeNotificationHandler(t){this._notificationHandlers.delete(t)}_cleanupTaskProgressHandler(t){let r=this._taskProgressTokens.get(t);r!==void 0&&(this._progressHandlers.delete(r),this._taskProgressTokens.delete(t))}async _enqueueTaskMessage(t,r,n){if(!this._taskStore||!this._taskMessageQueue)throw new Error(\"Cannot enqueue task message: taskStore and taskMessageQueue are not configured\");let o=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(t,r,n,o)}async _clearTaskQueue(t,r){if(this._taskMessageQueue){let n=await this._taskMessageQueue.dequeueAll(t,r);for(let o of n)if(o.type===\"request\"&&qd(o.message)){let i=o.message.id,s=this._requestResolvers.get(i);s?(s(new j(J.InternalError,\"Task cancelled or completed\")),this._requestResolvers.delete(i)):this._onerror(new Error(`Resolver missing for request ${i} during task ${t} cleanup`))}}}async _waitForTaskUpdate(t,r){let n=this._options?.defaultTaskPollInterval??1e3;try{let o=await this._taskStore?.getTask(t);o?.pollInterval&&(n=o.pollInterval)}catch{}return new Promise((o,i)=>{if(r.aborted){i(new j(J.InvalidRequest,\"Request cancelled\"));return}let s=setTimeout(o,n);r.addEventListener(\"abort\",()=>{clearTimeout(s),i(new j(J.InvalidRequest,\"Request cancelled\"))},{once:!0})})}requestTaskStore(t,r){let n=this._taskStore;if(!n)throw new Error(\"No task store configured\");return{createTask:async o=>{if(!t)throw new Error(\"No request provided\");return await n.createTask(o,t.id,{method:t.method,params:t.params},r)},getTask:async o=>{let i=await n.getTask(o,r);if(!i)throw new j(J.InvalidParams,\"Failed to retrieve task: Task not found\");return i},storeTaskResult:async(o,i,s)=>{await n.storeTaskResult(o,i,s,r);let a=await n.getTask(o,r);if(a){let c=co.parse({method:\"notifications/tasks/status\",params:a});await this.notification(c),yt(a.status)&&this._cleanupTaskProgressHandler(o)}},getTaskResult:o=>n.getTaskResult(o,r),updateTaskStatus:async(o,i,s)=>{let a=await n.getTask(o,r);if(!a)throw new j(J.InvalidParams,`Task \"${o}\" not found - it may have been cleaned up`);if(yt(a.status))throw new j(J.InvalidParams,`Cannot update task \"${o}\" from terminal status \"${a.status}\" to \"${i}\". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await n.updateTaskStatus(o,i,s,r);let c=await n.getTask(o,r);if(c){let u=co.parse({method:\"notifications/tasks/status\",params:c});await this.notification(u),yt(c.status)&&this._cleanupTaskProgressHandler(o)}},listTasks:o=>n.listTasks(o,r)}}};function yb(e){return e!==null&&typeof e==\"object\"&&!Array.isArray(e)}function _b(e,t){let r={...e};for(let n in t){let o=n,i=t[o];if(i===void 0)continue;let s=r[o];yb(s)&&yb(i)?r[o]={...s,...i}:r[o]=i}return r}eo();eo();var IE=(e=>typeof _t<\"u\"?_t:typeof Proxy<\"u\"?new Proxy(e,{get:(t,r)=>(typeof _t<\"u\"?_t:t)[r]}):e)(function(e){if(typeof _t<\"u\")return _t.apply(this,arguments);throw Error('Dynamic require of \"'+e+'\" is not supported')}),cf=class extends la{_registeredMethods=new Set;_eventSlots=new Map;onEventDispatch(t,r){}_ensureEventSlot(t){let r=this._eventSlots.get(t);if(!r){let n=this.eventSchemas[t];if(!n)throw Error(`Unknown event: ${String(t)}`);r={listeners:[]},this._eventSlots.set(t,r);let o=n.shape.method.value;this._registeredMethods.add(o);let i=r;super.setNotificationHandler(n,s=>{let a=s.params;this.onEventDispatch(t,a),i.onHandler?.(a);for(let c of[...i.listeners])c(a)})}return r}setEventHandler(t,r){let n=this._ensureEventSlot(t);n.onHandler&&r&&console.warn(`[MCP Apps] on${String(t)} handler replaced. Use addEventListener(\"${String(t)}\", \\u2026) to add multiple listeners without replacing.`),n.onHandler=r}getEventHandler(t){return this._eventSlots.get(t)?.onHandler}addEventListener(t,r){this._ensureEventSlot(t).listeners.push(r)}removeEventListener(t,r){let n=this._eventSlots.get(t);if(!n)return;let o=n.listeners.indexOf(r);o!==-1&&n.listeners.splice(o,1)}setRequestHandler=(t,r)=>{this._assertMethodNotRegistered(t,\"setRequestHandler\"),super.setRequestHandler(t,r)};setNotificationHandler=(t,r)=>{this._assertMethodNotRegistered(t,\"setNotificationHandler\"),super.setNotificationHandler(t,r)};warnIfRequestHandlerReplaced(t,r,n){r&&n&&console.warn(`[MCP Apps] ${t} handler replaced. Previous handler will no longer be called.`)}replaceRequestHandler=(t,r)=>{let n=t.shape.method.value;this._registeredMethods.add(n),super.setRequestHandler(t,r)};_assertMethodNotRegistered(t,r){let n=t.shape.method.value;if(this._registeredMethods.has(n))throw Error(`Handler for \"${n}\" already registered (via ${r}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(n)}},Vw=\"2026-01-26\";var Fw=\"ui/notifications/tool-input-partial\";var uf=class{eventTarget;eventSource;messageListener;constructor(t=window.parent,r){this.eventTarget=t,this.eventSource=r,this.messageListener=n=>{if(r&&n.source!==this.eventSource){console.debug(\"Ignoring message from unknown source\",n);return}let o=pb.safeParse(n.data);o.success?(console.debug(\"Parsed message\",o.data),this.onmessage?.(o.data)):n.data?.jsonrpc!==\"2.0\"?console.debug(\"Ignoring non-JSON-RPC message\",o.error.message,n):(console.error(\"Failed to parse message\",o.error.message,n),this.onerror?.(Error(\"Invalid JSON-RPC message received: \"+o.error.message)))}}async start(){window.addEventListener(\"message\",this.messageListener)}async send(t,r){t.method!==Fw&&console.debug(\"Sending message\",t),this.eventTarget.postMessage(t,\"*\")}async close(){window.removeEventListener(\"message\",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},qw=p.union([p.literal(\"light\"),p.literal(\"dark\")]).describe(\"Color theme preference for the host environment.\"),po=p.union([p.literal(\"inline\"),p.literal(\"fullscreen\"),p.literal(\"pip\")]).describe(\"Display mode for UI presentation.\"),Uw=p.union([p.literal(\"--color-background-primary\"),p.literal(\"--color-background-secondary\"),p.literal(\"--color-background-tertiary\"),p.literal(\"--color-background-inverse\"),p.literal(\"--color-background-ghost\"),p.literal(\"--color-background-info\"),p.literal(\"--color-background-danger\"),p.literal(\"--color-background-success\"),p.literal(\"--color-background-warning\"),p.literal(\"--color-background-disabled\"),p.literal(\"--color-text-primary\"),p.literal(\"--color-text-secondary\"),p.literal(\"--color-text-tertiary\"),p.literal(\"--color-text-inverse\"),p.literal(\"--color-text-ghost\"),p.literal(\"--color-text-info\"),p.literal(\"--color-text-danger\"),p.literal(\"--color-text-success\"),p.literal(\"--color-text-warning\"),p.literal(\"--color-text-disabled\"),p.literal(\"--color-border-primary\"),p.literal(\"--color-border-secondary\"),p.literal(\"--color-border-tertiary\"),p.literal(\"--color-border-inverse\"),p.literal(\"--color-border-ghost\"),p.literal(\"--color-border-info\"),p.literal(\"--color-border-danger\"),p.literal(\"--color-border-success\"),p.literal(\"--color-border-warning\"),p.literal(\"--color-border-disabled\"),p.literal(\"--color-ring-primary\"),p.literal(\"--color-ring-secondary\"),p.literal(\"--color-ring-inverse\"),p.literal(\"--color-ring-info\"),p.literal(\"--color-ring-danger\"),p.literal(\"--color-ring-success\"),p.literal(\"--color-ring-warning\"),p.literal(\"--font-sans\"),p.literal(\"--font-mono\"),p.literal(\"--font-weight-normal\"),p.literal(\"--font-weight-medium\"),p.literal(\"--font-weight-semibold\"),p.literal(\"--font-weight-bold\"),p.literal(\"--font-text-xs-size\"),p.literal(\"--font-text-sm-size\"),p.literal(\"--font-text-md-size\"),p.literal(\"--font-text-lg-size\"),p.literal(\"--font-heading-xs-size\"),p.literal(\"--font-heading-sm-size\"),p.literal(\"--font-heading-md-size\"),p.literal(\"--font-heading-lg-size\"),p.literal(\"--font-heading-xl-size\"),p.literal(\"--font-heading-2xl-size\"),p.literal(\"--font-heading-3xl-size\"),p.literal(\"--font-text-xs-line-height\"),p.literal(\"--font-text-sm-line-height\"),p.literal(\"--font-text-md-line-height\"),p.literal(\"--font-text-lg-line-height\"),p.literal(\"--font-heading-xs-line-height\"),p.literal(\"--font-heading-sm-line-height\"),p.literal(\"--font-heading-md-line-height\"),p.literal(\"--font-heading-lg-line-height\"),p.literal(\"--font-heading-xl-line-height\"),p.literal(\"--font-heading-2xl-line-height\"),p.literal(\"--font-heading-3xl-line-height\"),p.literal(\"--border-radius-xs\"),p.literal(\"--border-radius-sm\"),p.literal(\"--border-radius-md\"),p.literal(\"--border-radius-lg\"),p.literal(\"--border-radius-xl\"),p.literal(\"--border-radius-full\"),p.literal(\"--border-width-regular\"),p.literal(\"--shadow-hairline\"),p.literal(\"--shadow-sm\"),p.literal(\"--shadow-md\"),p.literal(\"--shadow-lg\")]).describe(\"CSS variable keys available to MCP apps for theming.\"),Hw=p.record(Uw.describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),p.union([p.string(),p.undefined()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),CE=p.object({method:p.literal(\"ui/open-link\"),params:p.object({url:p.string().describe(\"URL to open in the host's browser\")})}),Jw=p.object({isError:p.boolean().optional().describe(\"True if the host failed to open the URL (e.g., due to security policy).\")}).passthrough(),Bw=p.object({isError:p.boolean().optional().describe(\"True if the download failed (e.g., user cancelled or host denied).\")}).passthrough(),Kw=p.object({isError:p.boolean().optional().describe(\"True if the host rejected or failed to deliver the message.\")}).passthrough(),ZE=p.object({method:p.literal(\"ui/notifications/sandbox-proxy-ready\"),params:p.object({})}),lf=p.object({connectDomains:p.array(p.string()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted \\u2192 no network connections (secure default)`),resourceDomains:p.array(p.string()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted \\u2192 no network resources (secure default)\"),frameDomains:p.array(p.string()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted \\u2192 no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:p.array(p.string()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted \\u2192 only same origin allowed (`base-uri 'self'`)\")}),pf=p.object({camera:p.object({}).optional().describe(\"Request camera access.\\n\\nMaps to Permission Policy `camera` feature.\"),microphone:p.object({}).optional().describe(\"Request microphone access.\\n\\nMaps to Permission Policy `microphone` feature.\"),geolocation:p.object({}).optional().describe(\"Request geolocation access.\\n\\nMaps to Permission Policy `geolocation` feature.\"),clipboardWrite:p.object({}).optional().describe(\"Request clipboard write access.\\n\\nMaps to Permission Policy `clipboard-write` feature.\")}),RE=p.object({method:p.literal(\"ui/notifications/size-changed\"),params:p.object({width:p.number().optional().describe(\"New width in pixels.\"),height:p.number().optional().describe(\"New height in pixels.\")})}),Ww=p.object({method:p.literal(\"ui/notifications/tool-input\"),params:p.object({arguments:p.record(p.string(),p.unknown().describe(\"Complete tool call arguments as key-value pairs.\")).optional().describe(\"Complete tool call arguments as key-value pairs.\")})}),Qw=p.object({method:p.literal(\"ui/notifications/tool-input-partial\"),params:p.object({arguments:p.record(p.string(),p.unknown().describe(\"Partial tool call arguments (incomplete, may change).\")).optional().describe(\"Partial tool call arguments (incomplete, may change).\")})}),Gw=p.object({method:p.literal(\"ui/notifications/tool-cancelled\"),params:p.object({reason:p.string().optional().describe('Optional reason for the cancellation (e.g., \"user action\", \"timeout\").')})}),Yw=p.object({fonts:p.string().optional()}),Xw=p.object({variables:Hw.optional().describe(\"CSS variables for theming the app.\"),css:Yw.optional().describe(\"CSS blocks that apps can inject.\")}),ez=p.object({method:p.literal(\"ui/resource-teardown\"),params:p.object({})}),jE=p.record(p.string(),p.unknown()),xb=p.object({text:p.object({}).optional().describe(\"Host supports text content blocks.\"),image:p.object({}).optional().describe(\"Host supports image content blocks.\"),audio:p.object({}).optional().describe(\"Host supports audio content blocks.\"),resource:p.object({}).optional().describe(\"Host supports resource content blocks.\"),resourceLink:p.object({}).optional().describe(\"Host supports resource link content blocks.\"),structuredContent:p.object({}).optional().describe(\"Host supports structured content.\")}),DE=p.object({method:p.literal(\"ui/notifications/request-teardown\"),params:p.object({}).optional()}),tz=p.object({experimental:p.record(p.string(),p.record(p.string(),p.any()).describe(\"Experimental features keyed by identifier.\")).optional().describe(\"Experimental features keyed by identifier.\"),openLinks:p.object({}).optional().describe(\"Host supports opening external URLs.\"),downloadFile:p.object({}).optional().describe(\"Host supports file downloads via ui/download-file.\"),serverTools:p.object({listChanged:p.boolean().optional().describe(\"Host supports tools/list_changed notifications.\")}).optional().describe(\"Host can proxy tool calls to the MCP server.\"),serverResources:p.object({listChanged:p.boolean().optional().describe(\"Host supports resources/list_changed notifications.\")}).optional().describe(\"Host can proxy resource reads to the MCP server.\"),logging:p.object({}).optional().describe(\"Host accepts log messages.\"),sandbox:p.object({permissions:pf.optional().describe(\"Permissions granted by the host (camera, microphone, geolocation).\"),csp:lf.optional().describe(\"CSP domains approved by the host.\")}).optional().describe(\"Sandbox configuration applied by the host.\"),updateModelContext:xb.optional().describe(\"Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.\"),message:xb.optional().describe(\"Host supports receiving content messages (ui/message) from the view.\"),sampling:p.object({tools:p.object({}).optional().describe(\"Host supports tool use via `tools` and `toolChoice` parameters.\")}).optional().describe(\"Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.\")}),rz=p.object({experimental:p.record(p.string(),p.record(p.string(),p.any()).describe(\"Experimental features keyed by identifier.\")).optional().describe(\"Experimental features keyed by identifier.\"),tools:p.object({listChanged:p.boolean().optional().describe(\"App supports tools/list_changed notifications.\")}).optional().describe(\"App exposes MCP-style tools that the host can call.\"),availableDisplayModes:p.array(po).optional().describe(\"Display modes the app supports.\")}),LE=p.object({method:p.literal(\"ui/notifications/initialized\"),params:p.object({}).optional()}),ME=p.object({csp:lf.optional().describe(\"Content Security Policy configuration for UI resources.\"),permissions:pf.optional().describe(\"Sandbox permissions requested by the UI resource.\"),domain:p.string().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:p.boolean().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),VE=p.object({method:p.literal(\"ui/request-display-mode\"),params:p.object({mode:po.describe(\"The display mode being requested.\")})}),nz=p.object({mode:po.describe(\"The display mode that was actually set. May differ from requested if not supported.\")}).passthrough(),oz=p.union([p.literal(\"model\"),p.literal(\"app\")]).describe(\"Tool visibility scope - who can access the tool.\"),FE=p.object({resourceUri:p.string().optional(),visibility:p.array(oz).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`),csp:p.never().optional(),permissions:p.never().optional()}),qE=p.object({mimeTypes:p.array(p.string()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),UE=p.object({method:p.literal(\"ui/download-file\"),params:p.object({contents:p.array(p.union([Xd,ef])).describe(\"Resource contents to download \\u2014 embedded (inline data) or linked (host fetches). Uses standard MCP resource types.\")})}),HE=p.object({method:p.literal(\"ui/message\"),params:p.object({role:p.literal(\"user\").describe('Message role, currently only \"user\" is supported.'),content:p.array(Nr).describe(\"Message content blocks (text, image, etc.).\")})}),JE=p.object({method:p.literal(\"ui/notifications/sandbox-resource-ready\"),params:p.object({html:p.string().describe(\"HTML content to load into the inner iframe.\"),sandbox:p.string().optional().describe(\"Optional override for the inner iframe's sandbox attribute.\"),csp:lf.optional().describe(\"CSP configuration from resource metadata.\"),permissions:pf.optional().describe(\"Sandbox permissions from resource metadata.\")})}),iz=p.object({method:p.literal(\"ui/notifications/tool-result\"),params:Cr.describe(\"Standard MCP tool execution result.\")}),zb=p.object({toolInfo:p.object({id:Er.optional().describe(\"JSON-RPC id of the tools/call request.\"),tool:ua.describe(\"Tool definition including name, inputSchema, etc.\")}).optional().describe(\"Metadata of the tool call that instantiated this App.\"),theme:qw.optional().describe(\"Current color theme preference.\"),styles:Xw.optional().describe(\"Style configuration for theming the app.\"),displayMode:po.optional().describe(\"How the UI is currently displayed.\"),availableDisplayModes:p.array(po).optional().describe(\"Display modes the host supports.\"),containerDimensions:p.union([p.object({height:p.number().describe(\"Fixed container height in pixels.\")}),p.object({maxHeight:p.union([p.number(),p.undefined()]).optional().describe(\"Maximum container height in pixels.\")})]).and(p.union([p.object({width:p.number().describe(\"Fixed container width in pixels.\")}),p.object({maxWidth:p.union([p.number(),p.undefined()]).optional().describe(\"Maximum container width in pixels.\")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:p.string().optional().describe(\"User's language and region preference in BCP 47 format.\"),timeZone:p.string().optional().describe(\"User's timezone in IANA format.\"),userAgent:p.string().optional().describe(\"Host application identifier.\"),platform:p.union([p.literal(\"web\"),p.literal(\"desktop\"),p.literal(\"mobile\")]).optional().describe(\"Platform type for responsive design decisions.\"),deviceCapabilities:p.object({touch:p.boolean().optional().describe(\"Whether the device supports touch input.\"),hover:p.boolean().optional().describe(\"Whether the device supports hover interactions.\")}).optional().describe(\"Device input capabilities.\"),safeAreaInsets:p.object({top:p.number().describe(\"Top safe area inset in pixels.\"),right:p.number().describe(\"Right safe area inset in pixels.\"),bottom:p.number().describe(\"Bottom safe area inset in pixels.\"),left:p.number().describe(\"Left safe area inset in pixels.\")}).optional().describe(\"Mobile safe area boundaries in pixels.\")}).passthrough(),sz=p.object({method:p.literal(\"ui/notifications/host-context-changed\"),params:zb.describe(\"Partial context update containing only changed fields.\")}),BE=p.object({method:p.literal(\"ui/update-model-context\"),params:p.object({content:p.array(Nr).optional().describe(\"Context content blocks (text, image, etc.).\"),structuredContent:p.record(p.string(),p.unknown().describe(\"Structured content for machine-readable context data.\")).optional().describe(\"Structured content for machine-readable context data.\")})}),KE=p.object({method:p.literal(\"ui/initialize\"),params:p.object({appInfo:oo.describe(\"App identification (name and version).\"),appCapabilities:rz.describe(\"Features and capabilities this app provides.\"),protocolVersion:p.string().describe(\"Protocol version this app supports.\")})}),az=p.object({protocolVersion:p.string().describe('Negotiated protocol version string (e.g., \"2025-11-21\").'),hostInfo:oo.describe(\"Host application identification and version.\"),hostCapabilities:tz.describe(\"Features and capabilities provided by the host.\"),hostContext:zb.describe(\"Rich context about the host environment.\")}).passthrough(),cz={target:\"draft-2020-12\"};async function vb(e,t){let r=e[\"~standard\"];if(r.jsonSchema)return r.jsonSchema[t](cz);if(r.vendor===\"zod\"){let{z:n}=await Promise.resolve().then(()=>(eo(),Md));return n.toJSONSchema(e,{io:t})}throw Error(`Schema (vendor: ${r.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function wb(e,t,r=\"\"){let n=await e[\"~standard\"].validate(t);if(n.issues){let o=n.issues.map(i=>{let s=i.path?.map(a=>typeof a==\"object\"?a.key:a).join(\".\");return s?`${s}: ${i.message}`:i.message}).join(\"; \");throw Error(r+o)}return n.value}function $b(e){let t=document.documentElement;t.setAttribute(\"data-theme\",e),t.style.colorScheme=e}function kb(e,t=document.documentElement){for(let[r,n]of Object.entries(e))n!==void 0&&t.style.setProperty(r,n)}function Sb(e){if(document.getElementById(\"__mcp-host-fonts\"))return;let t=document.createElement(\"style\");t.id=\"__mcp-host-fonts\",t.textContent=e,document.head.appendChild(t)}var pa=class e extends cf{_appInfo;_capabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_assertInitialized(t){if(this._initializedSent)return;let r=`[ext-apps] App.${t}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(r);console.warn(`${r}. This will throw in a future release.`)}eventSchemas={toolinput:Ww,toolinputpartial:Qw,toolresult:iz,toolcancelled:Gw,hostcontextchanged:sz};static ONE_SHOT_EVENTS=new Set([\"toolinput\",\"toolinputpartial\",\"toolresult\",\"toolcancelled\"]);_everHadListener=new Set;_assertHandlerTiming(t){if(!e.ONE_SHOT_EVENTS.has(t)||this._everHadListener.has(t)||(this._everHadListener.add(t),!this._initializedSent))return;let r=`[ext-apps] \"${String(t)}\" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(r);console.warn(r)}setEventHandler(t,r){r&&this._assertHandlerTiming(t),super.setEventHandler(t,r)}addEventListener(t,r){this._assertHandlerTiming(t),super.addEventListener(t,r)}onEventDispatch(t,r){t===\"hostcontextchanged\"&&(this._hostContext={...this._hostContext,...r})}constructor(t,r={},n={autoResize:!0}){super(n),this._appInfo=t,this._capabilities=r,this.options=n,n.allowUnsafeEval||p.config({jitless:!0}),this.setRequestHandler(Ar,o=>(console.log(\"Received ping:\",o.params),{})),this.setEventHandler(\"hostcontextchanged\",void 0)}registerCapabilities(t){if(this.transport)throw Error(\"Cannot register capabilities after transport is established\");this._capabilities=_b(this._capabilities,t)}registerTool(t,r,n){if(this._registeredTools[t])throw Error(`Tool ${t} is already registered`);let o=this,i=()=>{o._initializedSent&&o._capabilities.tools?.listChanged&&o.sendToolListChanged()},s=r.inputSchema!==void 0,a={title:r.title,description:r.description,inputSchema:r.inputSchema,outputSchema:r.outputSchema,annotations:r.annotations,_meta:r._meta,enabled:!0,enable(){this.enabled=!0,i()},disable(){this.enabled=!1,i()},update(c){Object.assign(this,c),i()},remove(){o._registeredTools[t]===a&&(delete o._registeredTools[t],i())},handler:async(c,u)=>{if(!a.enabled)throw Error(`Tool ${t} is disabled`);let l;if(s){let d=a.inputSchema,f=d?await wb(d,c??{},`Invalid input for tool ${t}: `):c??{};l=await n(f,u)}else l=await n(u);return a.outputSchema&&!l.isError&&(l.structuredContent=await wb(a.outputSchema,l.structuredContent,`Invalid output for tool ${t}: `)),l}};return this._registeredTools[t]=a,!this._capabilities.tools&&!this.transport&&this.registerCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),i(),a}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(t,r)=>{let n=this._registeredTools[t.name];if(!n)throw Error(`Tool ${t.name} not found`);return n.handler(t.arguments,r)},this.onlisttools=async(t,r)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([n,o])=>o.enabled).map(async([n,o])=>{let i={name:n,title:o.title,description:o.description,inputSchema:o.inputSchema?await vb(o.inputSchema,\"input\"):{type:\"object\",properties:{}}};return o.outputSchema&&(i.outputSchema=await vb(o.outputSchema,\"output\")),o.annotations&&(i.annotations=o.annotations),o._meta&&(i._meta=o._meta),i}))}))}async sendToolListChanged(t={}){this._assertInitialized(\"sendToolListChanged\"),await this.notification({method:\"notifications/tools/list_changed\",params:t})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler(\"toolinput\")}set ontoolinput(t){this.setEventHandler(\"toolinput\",t)}get ontoolinputpartial(){return this.getEventHandler(\"toolinputpartial\")}set ontoolinputpartial(t){this.setEventHandler(\"toolinputpartial\",t)}get ontoolresult(){return this.getEventHandler(\"toolresult\")}set ontoolresult(t){this.setEventHandler(\"toolresult\",t)}get ontoolcancelled(){return this.getEventHandler(\"toolcancelled\")}set ontoolcancelled(t){this.setEventHandler(\"toolcancelled\",t)}get onhostcontextchanged(){return this.getEventHandler(\"hostcontextchanged\")}set onhostcontextchanged(t){this.setEventHandler(\"hostcontextchanged\",t)}_onteardown;get onteardown(){return this._onteardown}set onteardown(t){this.warnIfRequestHandlerReplaced(\"onteardown\",this._onteardown,t),this._onteardown=t,this.replaceRequestHandler(ez,(r,n)=>{if(!this._onteardown)throw Error(\"No onteardown handler set\");return this._onteardown(r.params,n)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(t){this.warnIfRequestHandlerReplaced(\"oncalltool\",this._oncalltool,t),this._oncalltool=t,this.replaceRequestHandler(rf,(r,n)=>{if(!this._oncalltool)throw Error(\"No oncalltool handler set\");return this._oncalltool(r.params,n)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(t){this.warnIfRequestHandlerReplaced(\"onlisttools\",this._onlisttools,t),this._onlisttools=t,this.replaceRequestHandler(tf,(r,n)=>{if(!this._onlisttools)throw Error(\"No onlisttools handler set\");return this._onlisttools(r.params,n)})}assertCapabilityForMethod(t){switch(t){case\"sampling/createMessage\":if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${t})`);break}}assertRequestHandlerCapability(t){switch(t){case\"tools/call\":case\"tools/list\":if(!this._capabilities.tools)throw Error(`Client does not support tool capability (required for ${t})`);return;case\"ping\":case\"ui/resource-teardown\":return;default:throw Error(`No handler for method ${t} registered`)}}assertNotificationCapability(t){}assertTaskCapability(t){throw Error(\"Tasks are not supported in MCP Apps\")}assertTaskHandlerCapability(t){throw Error(\"Task handlers are not supported in MCP Apps\")}async callServerTool(t,r){if(this._assertInitialized(\"callServerTool\"),typeof t==\"string\")throw Error(`callServerTool() expects an object as its first argument, but received a string (\"${t}\"). Did you mean: callServerTool({ name: \"${t}\", arguments: { ... } })?`);return await this.request({method:\"tools/call\",params:t},Cr,{onprogress:()=>{},resetTimeoutOnProgress:!0,...r})}async readServerResource(t,r){return this._assertInitialized(\"readServerResource\"),await this.request({method:\"resources/read\",params:t},Wd,r)}async listServerResources(t,r){return this._assertInitialized(\"listServerResources\"),await this.request({method:\"resources/list\",params:t},Bd,r)}async createSamplingMessage(t,r){this._assertInitialized(\"createSamplingMessage\");let n=t.tools?of:nf;return await this.request({method:\"sampling/createMessage\",params:t},n,r)}sendMessage(t,r){return this._assertInitialized(\"sendMessage\"),this.request({method:\"ui/message\",params:t},Kw,r)}sendLog(t){return this.notification({method:\"notifications/message\",params:t})}updateModelContext(t,r){return this._assertInitialized(\"updateModelContext\"),this.request({method:\"ui/update-model-context\",params:t},Xs,r)}openLink(t,r){return this._assertInitialized(\"openLink\"),this.request({method:\"ui/open-link\",params:t},Jw,r)}sendOpenLink=this.openLink;downloadFile(t,r){return this._assertInitialized(\"downloadFile\"),this.request({method:\"ui/download-file\",params:t},Bw,r)}requestTeardown(t={}){return this.notification({method:\"ui/notifications/request-teardown\",params:t})}requestDisplayMode(t,r){return this._assertInitialized(\"requestDisplayMode\"),this.request({method:\"ui/request-display-mode\",params:t},nz,r)}sendSizeChanged(t){return this.notification({method:\"ui/notifications/size-changed\",params:t})}setupSizeChangedNotifications(){let t=!1,r=0,n=0,o=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1;let s=document.documentElement,a=s.style.height;s.style.height=\"max-content\";let c=Math.ceil(s.getBoundingClientRect().height);s.style.height=a;let u=Math.ceil(window.innerWidth);(u!==r||c!==n)&&(r=u,n=c,this.sendSizeChanged({width:u,height:c}))}))};o();let i=new ResizeObserver(o);return i.observe(document.documentElement),i.observe(document.body),()=>i.disconnect()}async connect(t=new uf(window.parent,window.parent),r){if(this.transport)throw Error(\"App is already connected. Call close() before connecting again.\");this._initializedSent=!1,await super.connect(t);try{let n=await this.request({method:\"ui/initialize\",params:{appCapabilities:this._capabilities,appInfo:this._appInfo,protocolVersion:Vw}},az,r);if(n===void 0)throw Error(`Server sent invalid initialize result: ${n}`);this._hostCapabilities=n.hostCapabilities,this._hostInfo=n.hostInfo,this._hostContext=n.hostContext,await this.notification({method:\"ui/notifications/initialized\"}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(n){throw this.close(),n}}};function T(e){return e.replace(/&/g,\"&\").replace(/</g,\"<\").replace(/>/g,\">\").replace(/\"/g,\""\")}var Ib=`\n/* \\u2500\\u2500 Layer 1: host token fallbacks \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\n Values are the host's own published palette, so a host that sends no tokens\n degrades to something deliberate rather than to a third design. */\n:root {\n /* light-dark() needs this to resolve before the host connects.\n applyDocumentTheme() overwrites it inline once it does. */\n color-scheme: light dark;\n\n --color-text-primary: light-dark(#141413, #faf9f5);\n --color-text-secondary: light-dark(#3d3d3a, #c2c0b6);\n --color-text-tertiary: light-dark(#73726c, #9c9a92);\n --color-text-info: light-dark(#3266ad, #80aadd);\n --color-text-warning: light-dark(#5a4815, #d1a041);\n --color-text-danger: light-dark(#7f2c28, #ee8884);\n\n --color-border-tertiary: light-dark(rgb(31 30 29 / .15), rgb(222 220 209 / .15));\n --color-border-secondary: light-dark(rgb(31 30 29 / .30), rgb(222 220 209 / .30));\n --color-border-info: light-dark(#4682d5, #4682d5);\n --color-border-warning: light-dark(#805c1f, #a87829);\n --color-background-info: light-dark(#d6e4f6, #253e5f);\n --color-background-warning: light-dark(#f6eedf, #483a0f);\n --color-ring-primary: light-dark(rgb(20 20 19 / .7), rgb(250 249 245 / .7));\n\n --font-sans: ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif;\n --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;\n --font-weight-normal: 400;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n\n /* Values taken from Claude's published design-guidelines table, not guessed.\n Five of these were wrong before it was read: the sm/md line heights were\n 1.45/1.5 against a documented 1.4, heading-md was 17px against 16px, and\n the two heading line heights were each off by 0.05. */\n --font-text-xs-size: 12px; --font-text-xs-line-height: 1.4;\n --font-text-sm-size: 14px; --font-text-sm-line-height: 1.4;\n --font-text-md-size: 16px; --font-text-md-line-height: 1.4;\n --font-heading-md-size: 16px; --font-heading-md-line-height: 1.4;\n --font-heading-lg-size: 20px; --font-heading-lg-line-height: 1.25;\n\n --border-radius-sm: 6px;\n --border-radius-md: 8px;\n --border-radius-lg: 10px;\n /* Not 1px. A hairline is the difference between a native surface and a\n wireframe, and the host's own rules are sub-pixel. */\n --border-width-regular: 0.5px;\n}\n\n/* No --color-background-* fallbacks beyond the two callout tints. Not an\n oversight: rule 1 means the app has no background to paint, so it has no\n background token to guess at. */\n\n/* \\u2500\\u2500 Layer 2: app-owned \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\n Every surface the app does paint is a tint of the host's own text colour, so\n a host that ships a partial token set cannot produce a clash \\u2014 there is no\n invented grey left to clash with. */\n:root {\n --tint-hover: color-mix(in oklab, var(--color-text-primary) 6%, transparent);\n --tint-pressed: color-mix(in oklab, var(--color-text-primary) 10%, transparent);\n --tint-code: color-mix(in oklab, var(--color-text-primary) 5%, transparent);\n --tint-skeleton: color-mix(in oklab, var(--color-text-primary) 8%, transparent);\n\n /* One 4px scale for nine components. A padding value that is not on it \\u2014\n the \\`11px 13px\\` this replaced, for instance \\u2014 is not a design decision. */\n --sp-0: 2px; --sp-1: 4px; --sp-2: 8px; --sp-3: 12px;\n --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;\n\n /* The one token the app knowingly overrides, and it still tracks the host:\n the host's line-height is tuned for chat bubbles, and technical prose with\n inline <code> in it wants more air. */\n --lh-prose: calc(var(--font-text-md-line-height) + 0.2);\n}\n\n/* \\u2500\\u2500 Base \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n\n/* min-width:0 so a flex or grid child may shrink \\u2014 without it one long Jamf\n title forces horizontal overflow on a 320px panel. */\n* { box-sizing: border-box; min-width: 0; }\n\nhtml, body { background: transparent; }\n\nbody {\n margin: 0;\n padding: 0;\n color: var(--color-text-primary);\n /* Generics go after the var(), not inside the host's value: a host may send\n a single quoted family with no working fallback in it. */\n font-family: var(--font-sans), ui-sans-serif, system-ui, sans-serif;\n font-size: var(--font-text-md-size);\n line-height: var(--font-text-md-line-height);\n -webkit-font-smoothing: antialiased;\n -webkit-text-size-adjust: 100%;\n\n /* inline-size only. \\`container-type: size\\` contains block size too, which\n would freeze the height the SDK's ResizeObserver probes by setting\n documentElement.style.height = \"max-content\" \\u2014 the iframe collapses to 0. */\n container: panel / inline-size;\n}\n\n/* The panel is NOT a scroll container.\n *\n * An earlier version capped #root at 640px with overflow-y:auto. Claude's\n * design guidelines name that as a pattern to avoid, and explain why it is\n * worse than the problem it solved: on a touch device the conversation view\n * owns vertical scrolling, so a vertical pan starting inside an inline app is\n * handed to the conversation rather than to the app. An internal scroll\n * container therefore does not scroll on mobile at all \\u2014 everything past the\n * cap becomes unreachable rather than merely below the fold.\n *\n * The documented shape is the opposite: an inline app fits its content, and an\n * app that genuinely needs a scrollable viewport asks for fullscreen. So the\n * bound moved from the pixels to the *content* \\u2014 renderSearch, renderToc and\n * renderArticle each render an inline-sized slice and offer fullscreen for the\n * rest (see the INLINE_* caps in app.ts).\n */\n#root {\n --pad: var(--sp-4);\n --indent: 12px;\n /* Safe-area insets are honoured because the resource sets prefersBorder to\n false, and the guidelines are explicit that in borderless mode content\n runs edge-to-edge with no host padding \\u2014 the bordered card's own padding\n would otherwise have absorbed them. */\n padding: calc(var(--pad) + var(--sa-top, 0px)) calc(var(--pad) + var(--sa-right, 0px))\n calc(var(--pad) + var(--sa-bottom, 0px)) calc(var(--pad) + var(--sa-left, 0px));\n}\n@container panel (width < 400px) { #root { --pad: var(--sp-3); --indent: 8px; } }\n@container panel (width >= 700px) { #root { --pad: var(--sp-5); --indent: 16px; } }\n\n/* One focus rule, applied once, never removed. Visually distinct from hover \\u2014\n the two \\`outline: none\\` declarations this replaced made keyboard focus and\n mouse hover identical across 25 indistinguishable rows. */\n:where(a, button, input, [tabindex]):focus-visible {\n outline: 2px solid var(--color-ring-primary);\n outline-offset: 2px;\n border-radius: var(--border-radius-sm);\n}\n\n/* Hover is gated twice: on the media feature, which guesses, and on\n hostContext.deviceCapabilities.hover, which the host knows for certain and\n the app writes to :root as data-hover. */\n@media (hover: hover) and (pointer: fine) {\n .hit:hover, .row:hover, .mini-item:hover { background: var(--tint-hover); }\n .hit:hover .hit-title { text-decoration: underline; text-underline-offset: 2px; }\n}\n:root[data-hover=\"0\"] .hit:hover,\n:root[data-hover=\"0\"] .row:hover,\n:root[data-hover=\"0\"] .mini-item:hover { background: none; }\n:root[data-hover=\"0\"] .hit:hover .hit-title { text-decoration: none; }\n\n.hit:active, .row:active { background: var(--tint-pressed); }\n/* Optimistic \"you clicked this\", held for the whole round trip. Nothing dims;\n the row the user is waiting on is the one thing that must stay legible. */\n.hit[aria-current=\"true\"], .row[aria-current=\"true\"] { background: var(--tint-pressed); }\n\n/* \\u2500\\u2500 Header \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\n Four levels, three sizes, two weights. The load-bearing decision is that an\n item title is *not* a size step: it is body size at medium weight. That is\n what turns a page of equal-weight boxes into a ranked list, and it is what\n the sheet this replaced could not do, having contained no font-weight at\n all. */\n.head { margin-bottom: var(--sp-5); }\n.head-path {\n display: block; margin: 0 0 var(--sp-0);\n font-size: var(--font-text-xs-size); line-height: var(--font-text-xs-line-height);\n color: var(--color-text-tertiary);\n /* The path is trimmed to its two deepest levels in app.ts, so it fits; this\n is the guard for the one Jamf title long enough that two of them do not. */\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n.head-title {\n margin: 0;\n font-size: var(--font-heading-lg-size); line-height: var(--font-heading-lg-line-height);\n font-weight: var(--font-weight-semibold);\n overflow-wrap: anywhere;\n}\n.head-sub {\n margin: var(--sp-1) 0 0;\n font-size: var(--font-text-sm-size); line-height: var(--font-text-sm-line-height);\n color: var(--color-text-tertiary);\n}\n.head-sub a, .prose a { color: var(--color-text-info); text-decoration: underline; text-underline-offset: 2px; }\n\n/* An advisory is a line of text. No box, no icon, no fill \\u2014 that is what stops\n it becoming another card type. The filled treatment is reserved for in-prose\n callouts, which are content rather than chrome. */\n.notice {\n margin: var(--sp-2) 0 0;\n font-size: var(--font-text-sm-size); line-height: var(--font-text-sm-line-height);\n color: var(--color-text-tertiary);\n}\n.notice[data-level=\"warning\"] { color: var(--color-text-warning); }\n.notice[data-level=\"error\"] { color: var(--color-text-danger); }\n\n/* \\u2500\\u2500 Text buttons \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\n Everything that was a bordered box \\u2014 \"Load more\", \"\\u2190 Back\" \\u2014 is now text.\n A chunky bordered control in a chat panel reads as a form, and neither of\n these is one. */\n.txt, .more {\n border: 0; background: none; padding: 0; font: inherit; cursor: pointer;\n font-size: var(--font-text-sm-size); font-weight: var(--font-weight-medium);\n color: var(--color-text-secondary);\n}\n.txt:hover { color: var(--color-text-primary); }\n.more {\n display: block; width: 100%; text-align: start;\n margin-top: var(--sp-3); padding: var(--sp-2) 0;\n color: var(--color-text-info);\n}\n.bar {\n display: flex; align-items: baseline; justify-content: space-between;\n gap: var(--sp-3); margin-bottom: var(--sp-3);\n}\n/* Back and the parent link sit together at the start; whichever of them is\n present, Expand stays at the far end. */\n.bar-start { display: flex; align-items: baseline; gap: var(--sp-3); min-width: 0; }\n.bar-start .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\na.txt { text-decoration: none; }\na.txt:hover { text-decoration: underline; text-underline-offset: 2px; }\n\n/* \\u2500\\u2500 Search results \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\n No border, no fill, no radius, no rule between rows. Whitespace separates,\n and order plus title weight ranks. The card this replaced spent about 26px\n of chrome per hit and gave all ten results identical visual weight. */\n.list { list-style: none; margin: 0; padding: 0; }\n.list-hits > li + li { margin-top: var(--sp-1); }\n\n.hit {\n display: block; width: 100%;\n padding: var(--sp-2);\n /* Bleed the hit target past the text column so the pointer target is wider\n than the words without the text being inset. */\n margin-inline: calc(var(--sp-2) * -1);\n border: 0; background: none; border-radius: var(--border-radius-md);\n color: inherit; text-decoration: none; text-align: start;\n font: inherit; cursor: pointer;\n}\n.hit-path {\n display: block;\n font-size: var(--font-text-xs-size); line-height: var(--font-text-xs-line-height);\n color: var(--color-text-tertiary);\n white-space: nowrap; overflow: hidden; text-overflow: ellipsis;\n}\n.hit-title {\n display: block; margin-top: var(--sp-0);\n font-size: var(--font-text-md-size); line-height: var(--font-text-md-line-height);\n font-weight: var(--font-weight-medium); color: var(--color-text-primary);\n overflow-wrap: anywhere;\n}\n/* Two lines. The snippet is there to disambiguate two similar titles, not to\n be read \\u2014 unclamped, six-line snippets put two results in a 640px panel. */\n.hit-snippet {\n display: -webkit-box; -webkit-box-orient: vertical;\n -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;\n margin-top: var(--sp-0);\n font-size: var(--font-text-sm-size); line-height: var(--font-text-sm-line-height);\n color: var(--color-text-secondary);\n}\n.hit-meta {\n display: block; margin-top: var(--sp-1);\n font-size: var(--font-text-xs-size); color: var(--color-text-tertiary);\n}\n\n/* The one rule in the search view. \"Elsewhere\" is a genuinely separate\n population that the server refuses to interleave because it has no score to\n interleave it on \\u2014 which is exactly what a horizontal rule means. */\n.group {\n margin-top: var(--sp-5); padding-top: var(--sp-4);\n border-top: var(--border-width-regular) solid var(--color-border-tertiary);\n}\n.group-title {\n margin: 0 0 var(--sp-2);\n font-size: var(--font-text-sm-size); font-weight: var(--font-weight-semibold);\n color: var(--color-text-secondary);\n}\n\n/* \\u2500\\u2500 Table of contents \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\n No hairline between rows. Twenty-five of them read as a spreadsheet and\n compete with the indent, which is already the structure; weight and hover\n carry the rest. */\n.row {\n display: block;\n padding: var(--sp-1) var(--sp-2);\n padding-inline-start: calc(var(--sp-2) + min(var(--depth, 0), var(--cap, 4)) * var(--indent));\n margin-inline: calc(var(--sp-2) * -1);\n border-radius: var(--border-radius-sm);\n font-size: var(--font-text-sm-size); line-height: var(--font-text-sm-line-height);\n color: var(--color-text-secondary); text-decoration: none;\n overflow-wrap: anywhere; cursor: pointer;\n}\n.row[data-top] { color: var(--color-text-primary); font-weight: var(--font-weight-medium); }\n\n/* The hidden attribute has to be restated here. The user-agent rule that\n implements it sets display:none on [hidden], and a class selector setting\n display beats an attribute selector on specificity \\u2014 so the .filter rule\n above un-hid the field the markup had explicitly hidden. */\n.filter[hidden] { display: none; }\n\n/* Zero resting pixels until a printable key opens it, and zero tokens ever: it\n filters entries already in memory and never calls a tool. A 792-entry TOC is\n otherwise 12,000px of scrolling in a panel the host clips at 640. */\n.filter { display: flex; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-3); }\n.filter input {\n flex: 1 1 auto; min-width: 0;\n border: 0; border-bottom: var(--border-width-regular) solid var(--color-border-secondary);\n background: none; padding: var(--sp-1) 0;\n font: inherit; font-size: var(--font-text-sm-size); color: var(--color-text-primary);\n}\n.filter input::placeholder { color: var(--color-text-tertiary); }\n/* A text field already says where focus is, with a caret. The full ring the\n rule above gives every other control draws a heavy box around a control whose\n only edge is an underline, so this one states its focus in the edge it has. */\n.filter input:focus-visible {\n outline: none;\n border-bottom-color: var(--color-text-primary);\n border-bottom-width: 1.5px;\n}\n.filter .count {\n font-size: var(--font-text-xs-size); color: var(--color-text-tertiary);\n font-variant-numeric: tabular-nums; white-space: nowrap;\n}\n\n/* \\u2500\\u2500 Article \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 */\n\n/* Rendered only when the article actually carries sections, which most Jamf\n pages do not \\u2014 a nav built from an empty list is chrome announcing nothing. */\n.mini {\n display: flex; flex-direction: column; gap: var(--sp-0);\n margin: 0 0 var(--sp-5); padding-inline-start: var(--sp-3);\n border-inline-start: var(--border-width-regular) solid var(--color-border-tertiary);\n}\n.mini-item {\n padding: var(--sp-0) var(--sp-1);\n padding-inline-start: calc(var(--sp-1) + var(--depth, 0) * var(--sp-3));\n border-radius: var(--border-radius-sm);\n font-size: var(--font-text-sm-size); color: var(--color-text-secondary);\n text-decoration: none; cursor: pointer;\n}\n.mini-item:hover { color: var(--color-text-primary); }\n\n.prose { line-height: var(--lh-prose); }\n.prose > :first-child { margin-top: 0; }\n.prose h2, .prose h3, .prose h4 {\n font-weight: var(--font-weight-semibold);\n line-height: var(--font-heading-md-line-height);\n scroll-margin-top: var(--sp-5); overflow-wrap: anywhere;\n}\n/* A full-bleed hairline above each major section turns a wall of prose into a\n scannable document without spending a point of type size. The only\n horizontal line permitted inside content. */\n.prose h2 {\n font-size: var(--font-heading-lg-size);\n margin: var(--sp-6) 0 var(--sp-3); padding-top: var(--sp-5);\n border-top: var(--border-width-regular) solid var(--color-border-tertiary);\n}\n.prose h3 { font-size: var(--font-heading-md-size); margin: var(--sp-5) 0 var(--sp-2); }\n/* h4 is the deepest the parser emits, and it is separated from h3 by colour\n rather than size. Three sizes, not six \\u2014 and no heading ever renders smaller\n than body text, which is what h5/h6 falling through to UA defaults did,\n inverting the hierarchy in the middle of an article. */\n.prose h4 {\n font-size: var(--font-heading-md-size); color: var(--color-text-secondary);\n margin: var(--sp-4) 0 var(--sp-2);\n}\n.prose p, .prose ul, .prose ol { margin: var(--sp-3) 0; }\n.prose ul, .prose ol { padding-inline-start: 1.4em; }\n.prose li + li { margin-top: var(--sp-1); }\n.prose li > ul, .prose li > ol { margin: var(--sp-1) 0; }\n.prose hr {\n border: 0; margin: var(--sp-5) 0;\n border-top: var(--border-width-regular) solid var(--color-border-tertiary);\n}\n.prose img { max-width: 100%; height: auto; }\n.prose blockquote {\n margin: var(--sp-3) 0; padding-inline-start: var(--sp-3);\n border-inline-start: 2px solid var(--color-border-tertiary);\n color: var(--color-text-secondary);\n}\n\n.prose code {\n font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, monospace;\n font-size: .9em; padding: var(--sp-0) var(--sp-1);\n border-radius: var(--border-radius-sm); background: var(--tint-code);\n overflow-wrap: anywhere;\n}\n.pre-wrap { position: relative; margin: var(--sp-3) 0; }\n.prose pre {\n margin: 0; padding: var(--sp-3);\n border-radius: var(--border-radius-md); background: var(--tint-code);\n overflow-x: auto; overscroll-behavior-x: contain;\n font-size: var(--font-text-sm-size); line-height: 1.5; tab-size: 2;\n}\n.prose pre code { padding: 0; background: none; font-size: inherit; white-space: pre; }\n.copy {\n position: absolute; inset-block-start: var(--sp-1); inset-inline-end: var(--sp-1);\n border: 0; background: none; padding: var(--sp-1) var(--sp-2); font: inherit;\n font-size: var(--font-text-xs-size); color: var(--color-text-tertiary);\n cursor: pointer; opacity: 0;\n}\n.pre-wrap:hover .copy, .copy:focus-visible { opacity: 1; }\n:root[data-hover=\"0\"] .copy { opacity: 1; }\n\n/* Jamf pages are full of Note:/Important:/Warning: paragraphs. This is the one\n place a fill is content rather than chrome. */\n.callout {\n margin: var(--sp-3) 0; padding: var(--sp-3);\n border-inline-start: 2px solid var(--color-border-secondary);\n border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;\n background: var(--tint-code);\n}\n.callout > :first-child { margin-top: 0; }\n.callout > :last-child { margin-bottom: 0; }\n.callout-label {\n display: block; margin-bottom: var(--sp-1);\n font-size: var(--font-text-xs-size); font-weight: var(--font-weight-semibold);\n text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-tertiary);\n}\n.callout[data-kind=\"warning\"] {\n border-inline-start-color: var(--color-border-warning);\n background: color-mix(in oklab, var(--color-background-warning) 55%, transparent);\n}\n.callout[data-kind=\"warning\"] .callout-label { color: var(--color-text-warning); }\n.callout[data-kind=\"info\"] {\n border-inline-start-color: var(--color-border-info);\n background: color-mix(in oklab, var(--color-background-info) 55%, transparent);\n}\n\n/* Horizontal rules only. A full grid is a spreadsheet; a documentation table\n is a list of labelled facts. */\n.table-wrap { overflow-x: auto; overscroll-behavior-x: contain; margin: var(--sp-3) 0; }\n.prose table {\n border-collapse: collapse; width: 100%; min-width: 22rem;\n font-size: var(--font-text-sm-size); line-height: 1.45;\n}\n.prose th, .prose td {\n padding: var(--sp-2) var(--sp-3); text-align: start; vertical-align: top;\n border-bottom: var(--border-width-regular) solid var(--color-border-tertiary);\n}\n.prose th { font-weight: var(--font-weight-semibold); color: var(--color-text-secondary); }\n/* A code token in a cell is an identifier \\u2014 a payload variable, a defaults\n key \\u2014 and half of one is not a shorter version of it, it is a wrong one. The\n overflow-wrap:anywhere that keeps prose inside a 320px panel was breaking\n the variable $MANAGEMENTID across two lines. Here the token wins: the column\n grows to fit it and .table-wrap scrolls. */\n.prose td code, .prose th code { white-space: nowrap; overflow-wrap: normal; }\n.prose tbody tr:last-child td { border-bottom: 0; }\n\n/* Fullscreen puts the section list beside the prose. Static, not sticky: with\n auto-resize the iframe is content-height and the *host* scrolls, so there is\n no scrollport for position:sticky to stick within. */\n@container panel (width >= 900px) {\n :root[data-mode=\"fullscreen\"] .article-body {\n display: grid; grid-template-columns: minmax(0, 1fr) 200px;\n gap: var(--sp-6); align-items: start;\n }\n :root[data-mode=\"fullscreen\"] .mini {\n grid-column: 2; grid-row: 1; margin: 0;\n border-inline-start: 0; padding-inline-start: 0;\n }\n /* The only max-width in the sheet, and it is gated on a container that is\n actually this wide. The \\`article { max-width: 74ch }\\` it replaces was\n ~555px in a panel the file's own comments called \"~320px\", so it had never\n once taken effect. */\n :root[data-mode=\"fullscreen\"] .prose { grid-column: 1; max-width: 72ch; }\n}\n\n/* \\u2500\\u2500 Loading, empty, error \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\n \\`[aria-busy] { opacity: .55 }\\` is gone: dimming the text someone is reading \\u2014\n including the row they just clicked \\u2014 for a whole Fluid Topics round trip\n reads as broken rather than as busy. */\n.sk { display: block; }\n.sk-line {\n display: block; width: var(--w, 100%); height: 1em; margin-top: var(--sp-2);\n border-radius: var(--border-radius-sm); background: var(--tint-skeleton);\n}\n.sk-line:first-child { margin-top: 0; height: .75em; }\n@media (prefers-reduced-motion: no-preference) {\n .sk { animation: sk-pulse 1.4s ease-in-out infinite; }\n @keyframes sk-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .5 } }\n}\n`;var Pb=8;function Tb(e,t){return!Number.isFinite(e)||!Number.isFinite(t)||t<=0?4:Math.min(Pb,Math.max(2,Math.floor(e*.22/t)))}function uz(e){return typeof e!=\"number\"||!Number.isFinite(e)||e<=0?0:Math.min(Math.floor(e),Pb)}function Eb(e){return e.map(t=>{let r=uz(t.depth);return`<li><a class=\"row\"${r===0?\" data-top\":\"\"} href=\"${T(t.url)}\" data-url=\"${T(t.url)}\" style=\"--depth:${String(r)}\">${T(t.title)}</a></li>`}).join(\"\")}function Ob(e,t){if(e===null||typeof e!=\"object\")return null;let r=e;return t===\"jamf_docs_search\"&&Array.isArray(r.results)?{kind:\"search\",data:r}:t===\"jamf_docs_get_toc\"&&Array.isArray(r.entries)?{kind:\"toc\",data:r}:t===\"jamf_docs_get_article\"&&typeof r.content==\"string\"?{kind:\"article\",data:r}:t===\"jamf_docs_glossary_lookup\"&&Array.isArray(r.entries)?{kind:\"glossary\",data:r}:Array.isArray(r.results)&&typeof r.query==\"string\"?{kind:\"search\",data:r}:Array.isArray(r.entries)&&typeof r.term==\"string\"?{kind:\"glossary\",data:r}:Array.isArray(r.entries)&&typeof r.product==\"string\"?{kind:\"toc\",data:r}:typeof r.content==\"string\"&&typeof r.title==\"string\"?{kind:\"article\",data:r}:null}var Rr=document.documentElement,lz=/^(ar|he|fa|ur|ps|ckb|yi)\\b/i,pz=new Set([\"en-US\",\"ja-JP\",\"zh-TW\",\"de-DE\",\"es-ES\",\"fr-FR\",\"nl-NL\",\"th-TH\"]),dz=3,fz=8,mz=3,Y={width:400,mode:\"inline\",canFullscreen:!1,hover:!0,locale:\"en-US\",timeZone:void 0,canCopy:!1,maxHeight:void 0};function Nb(e){hz(e),gz(e)}function hz(e){if(e.theme!==void 0&&$b(e.theme),e.styles?.variables!==void 0&&kb(e.styles.variables),e.styles?.css?.fonts!==void 0&&Sb(e.styles.css.fonts),e.deviceCapabilities?.hover!==void 0&&(Y.hover=e.deviceCapabilities.hover,Rr.dataset.hover=Y.hover?\"1\":\"0\"),e.safeAreaInsets!==void 0)for(let t of[\"top\",\"right\",\"bottom\",\"left\"])Rr.style.setProperty(`--sa-${t}`,`${String(e.safeAreaInsets[t])}px`)}function gz(e){let t=e.containerDimensions;if(t!==void 0){let r=\"width\"in t?t.width:t.maxWidth;typeof r==\"number\"&&r>0&&(Y.width=r);let n=\"height\"in t?t.height:t.maxHeight;typeof n==\"number\"&&n>0&&(Y.maxHeight=n)}e.displayMode!==void 0&&(Y.mode=e.displayMode,Rr.dataset.mode=Y.mode),e.availableDisplayModes!==void 0&&(Y.canFullscreen=e.availableDisplayModes.includes(\"fullscreen\")),e.locale!==void 0&&(Y.locale=e.locale,Rr.lang=e.locale,Rr.dir=lz.test(e.locale)?\"rtl\":\"ltr\"),e.timeZone!==void 0&&(Y.timeZone=e.timeZone)}function bz(){return pz.has(Y.locale)?{language:Y.locale}:{}}function oe(e){return typeof e==\"string\"&&e!==\"\"}function We(e){return e.replace(/!\\[([^\\]]*)\\]\\((https?:[^)\\s]+)\\)/g,(t,r,n)=>`<a href=\"${n}\" data-external>${r===\"\"?\"image\":r}</a>`).replace(/`([^`]+)`/g,\"<code>$1</code>\").replace(/\\[([^\\]]+)\\]\\((https?:[^)\\s]+)\\)/g,'<a href=\"$2\" data-external>$1</a>').replace(/\\*\\*([^*]+)\\*\\*/g,\"<strong>$1</strong>\").replace(/(^|[^*])\\*([^*]+)\\*/g,\"$1<em>$2</em>\")}var yz=[[/^(Warning|Caution)\\s*:?\\s*/i,\"warning\",\"Warning\"],[/^(Important)\\s*:?\\s*/i,\"warning\",\"Important\"],[/^(Note)\\s*:?\\s*/i,\"info\",\"Note\"],[/^(Tip)\\s*:?\\s*/i,\"info\",\"Tip\"]];function Ab(e){return e.replace(/^\\s*\\|/,\"\").replace(/\\|\\s*$/,\"\").split(\"|\").map(t=>t.trim())}function _z(e){return e!==void 0&&/^\\s*\\|?[\\s:|-]*-[\\s:|-]*\\|?\\s*$/.test(e)&&e.includes(\"-\")}function xz(e){return/^(#{1,6}\\s|\\s*[-*+]\\s|\\s*\\d+[.)]\\s|\\s*```|\\s*>|\\s*\\|)/.test(e)}function vz(e,t){if(!/^\\s*```/.test(e[t]??\"\"))return null;let r=[],n=t+1;for(;n<e.length&&!/^\\s*```/.test(e[n]??\"\");)r.push(T(e[n]??\"\")),n++;let o=Y.canCopy?'<button class=\"copy\" data-copy type=\"button\">Copy</button>':\"\";return{html:`<div class=\"pre-wrap\"><pre><code>${r.join(`\n`)}</code></pre>${o}</div>`,next:n+1}}function wz(e,t){let r=/^(#{1,6})\\s+(.*)$/.exec(e[t]??\"\");if(r===null)return null;let n=Math.min((r[1]??\"\").length+1,4);return{html:`<h${String(n)}>${We(T(r[2]??\"\"))}</h${String(n)}>`,next:t+1}}function Cb(e,t){return/^\\s*([-*_])\\s*\\1\\s*\\1[\\s\\-*_]*$/.test(e[t]??\"\")?{html:\"<hr>\",next:t+1}:null}function zz(e,t){let r=(e[t]??\"\").trim();if(!r.includes(\"|\")||!_z(e[t+1]))return null;let n=t+2,o=[];for(;n<e.length&&(e[n]??\"\").includes(\"|\");){let a=(e[n]??\"\").trim();if(a===\"\")break;o.push(Ab(a)),n++}let i=Ab(r).map(a=>`<th>${We(T(a))}</th>`).join(\"\"),s=o.map(a=>`<tr>${a.map(c=>`<td>${We(T(c))}</td>`).join(\"\")}</tr>`).join(\"\");return{html:`<div class=\"table-wrap\"><table><thead><tr>${i}</tr></thead><tbody>${s}</tbody></table></div>`,next:n}}function $z(e,t){if(!/^\\s*>\\s?/.test(e[t]??\"\"))return null;let r=[],n=t;for(;n<e.length&&/^\\s*>\\s?/.test(e[n]??\"\");)r.push((e[n]??\"\").replace(/^\\s*>\\s?/,\"\")),n++;return{html:`<blockquote>${ff(r.join(`\n`))}</blockquote>`,next:n}}function kz(e,t){let r=(e[t]??\"\").trim(),n=yz.find(([d])=>d.test(r));if(n===void 0)return null;let[o,i,s]=n,a=r.replace(o,\"\").trim(),c=a===\"\"?[]:[a],u=t+1;if(c.length===0)for(;u<e.length&&(e[u]??\"\").trim()===\"\";)u++;for(;u<e.length&&(e[u]??\"\").trim()!==\"\";){let d=(e[u]??\"\").trim();if(xz(d))break;c.push(d),u++}let l=c.join(\" \").trim();return l===\"\"?null:{html:`<div class=\"callout\" data-kind=\"${i}\"><span class=\"callout-label\">${s}</span><p>${We(T(l))}</p></div>`,next:u}}var Sz=[vz,Cb,wz,zz,$z,kz];function ff(e){let t=[],r=e.split(`\n`),n=[],o=0,i=(s=-1)=>{for(;n.length>0&&(n[n.length-1]?.indent??0)>s;)t.push(`</${n.pop()?.tag??\"ul\"}>`)};for(;o<r.length;){let s=(r[o]??\"\").replace(/\\s+$/,\"\");if(s.trim()===\"\"){i(),o++;continue}let a=/^(\\s*)[-*+]\\s+(.*)$/.exec(s),c=/^(\\s*)\\d+[.)]\\s+(.*)$/.exec(s),u=a??c;if(u!==null&&Cb(r,o)===null){let d=a!==null?\"ul\":\"ol\",f=(u[1]??\"\").length;i(f);let h=n[n.length-1];h===void 0||f>h.indent?(t.push(`<${d}>`),n.push({tag:d,indent:f})):h.tag!==d&&(t.push(`</${n.pop()?.tag??\"ul\"}>`),t.push(`<${d}>`),n.push({tag:d,indent:f})),t.push(`<li>${We(T(u[2]??\"\"))}</li>`),o++;continue}let l=Sz.reduce((d,f)=>d??f(r,o),null);if(l!==null){i(),t.push(l.html),o=l.next;continue}i(),t.push(`<p>${We(T(s.trim()))}</p>`),o++}return i(),t.join(`\n`)}function Iz(e,t){let r=new Set,n=0;return{html:e.replace(/<h([2-4])>([\\s\\S]*?)<\\/h\\1>/g,(i,s,a)=>{let c=t[n];return c===void 0||!oe(c.id)||a.trim()!==We(T(c.title.trim()))?i:(r.add(n),n++,`<h${s} id=\"${T(c.id)}\">${a}</h${s}>`)}),used:r}}function Zb(e,t,...r){if(!Array.isArray(e))return\"\";let n=e.filter(oe),o=new Set(r.filter(oe).map(a=>a.trim()));for(;n.length>0&&o.has((n[n.length-1]??\"\").trim());)n.pop();if(n.length===0)return\"\";let i=n.slice(-2),s=n.length>i.length?\"\\u2026 \":\"\";return`<span class=\"${t}\">${s}${i.map(a=>T(a)).join(\" \\u203A \")}</span>`}function Ae(e,t=\"info\"){return oe(e)?`<p class=\"notice\" data-level=\"${t}\">${We(T(e))}</p>`:\"\"}function Pz(e){let t=e.replace(/^MCP error -?\\d+:\\s*/i,\"\").trim();return t===\"\"?\"The request failed.\":t}function Rb(e){return e===\"jamf_docs_search\"?\"Searching\\u2026\":e===\"jamf_docs_get_toc\"?\"Loading contents\\u2026\":\"Opening\\u2026\"}function Tz(e){if(!oe(e))return\"\";let t=new Date(e);if(Number.isNaN(t.getTime()))return e;try{return new Intl.DateTimeFormat(Y.locale,{dateStyle:\"medium\",...Y.timeZone!==void 0?{timeZone:Y.timeZone}:{}}).format(t)}catch{return e}}function df(e){if(!(!oe(e)||e===\"current\"||e===\"latest\"))return e}function fo(e){let t=e.filter(r=>oe(r));return t.length===0?\"\":`<p class=\"head-sub\">${t.join(\" \\xB7 \")}</p>`}function ve(){return Y.mode===\"fullscreen\"}function jb(e,t){if(e<=0)return\"\";let r=`Show ${String(e)} more ${t}${e===1?\"\":\"s\"}`;return Y.canFullscreen?`<button class=\"more\" data-fullscreen>${T(r)}</button>`:Ae(`${String(e)} more ${t}${e===1?\"\":\"s\"} not shown here.`)}function Ez(e,t){if(!ve()){let o=t+(e.totalResults-e.results.length);return jb(o,\"result\")}if(e.page>=e.totalPages)return\"\";let r=e.totalResults-e.page*(e.limit??e.results.length),n=r>0?`${String(Math.min(r,e.limit??10))} more of ${String(e.totalResults)}`:\"more\";return`<button class=\"more\" data-more>Show ${T(n)}</button>`}function Az(e){let t=[Ae(e.filterRelaxation?.message,\"warning\"),Ae(e.versionNote,\"warning\"),Ae(e.paginationNote,\"warning\"),e.truncatedContent!==void 0&&e.truncatedContent.omittedCount>0?Ae(`${String(e.truncatedContent.omittedCount)} long result${e.truncatedContent.omittedCount===1?\"\":\"s\"} omitted to fit the token budget.`):\"\"].join(\"\"),r=`\n <header class=\"head\">\n <h1 class=\"head-title\">${T(e.query)}</h1>\n ${fo([`${String(e.totalResults)} result${e.totalResults===1?\"\":\"s\"}`,e.filters?.product!==void 0?e.results[0]?.product:void 0,e.totalPages>1&&`page ${String(e.page)} of ${String(e.totalPages)}`])}\n ${t}\n </header>`;if(e.results.length===0){let a=Array.isArray(e.suggestions)&&e.suggestions.length>0?`<ol class=\"list list-hits\">${e.suggestions.filter(oe).map(c=>`<li><button class=\"hit\" data-search=\"${T(c)}\"><span class=\"hit-title\">${T(c)}</span></button></li>`).join(\"\")}</ol>`:\"\";return`${r}\n <p class=\"notice\">Nothing matched. ${a===\"\"?\"Try a broader query.\":\"Try one of these:\"}</p>\n ${a}`}let n=a=>{let c=[e.filters?.product===void 0?a.product:void 0,a.docType,a.version,Array.isArray(a.otherVersions)&&a.otherVersions.length>0?`also ${a.otherVersions.filter(oe).slice(0,3).join(\", \")}`:void 0].filter(oe);return`\n <li><a class=\"hit\" href=\"${T(a.url)}\" data-url=\"${T(a.url)}\">\n ${Zb(a.breadcrumb,\"hit-path\",a.title)}\n <span class=\"hit-title\">${T(a.title)}</span>\n ${oe(a.snippet)?`<span class=\"hit-snippet\">${We(T(a.snippet))}</span>`:\"\"}\n ${c.length>0?`<span class=\"hit-meta\">${T(c.join(\" \\xB7 \"))}</span>`:\"\"}\n </a></li>`},o=ve()?e.results:e.results.slice(0,dz),i=Ez(e,e.results.length-o.length),s=ve()&&Array.isArray(e.otherSources)&&e.otherSources.length>0?`<section class=\"group\">\n <h2 class=\"group-title\">Elsewhere</h2>\n <ol class=\"list list-hits\">${e.otherSources.map(a=>`\n <li><a class=\"hit\" href=\"${T(a.url)}\" data-external>\n <span class=\"hit-title\">${T(a.title)}</span>\n <span class=\"hit-meta\">${T(a.source)}</span>\n </a></li>`).join(\"\")}</ol>\n </section>`:\"\";return`${r}\n <ol class=\"list list-hits\">${o.map(n).join(\"\")}</ol>\n ${i}\n ${s}`}function Oz(e){let t=Y.width<400?8:Y.width>=700?16:12;Rr.style.setProperty(\"--cap\",String(Tb(Y.width,t)));let r=ve()?e.entries:e.entries.slice(0,fz),n=Eb(r),o=ve()?e.page<e.totalPages?`<button class=\"more\" data-more>Show more of ${String(e.totalEntries)}</button>`:\"\":jb(e.totalEntries-r.length,\"entry\");return`\n <header class=\"head\">\n <h1 class=\"head-title\">${T(e.product)}</h1>\n ${fo([df(e.version)!==void 0&&`Version ${String(df(e.version))}`,`${String(e.totalEntries)} article${e.totalEntries===1?\"\":\"s\"}`,e.totalPages>1&&`page ${String(e.page)} of ${String(e.totalPages)}`])}\n ${Ae(e.localeNote)}${Ae(e.versionNote,\"warning\")}${Ae(e.paginationNote,\"warning\")}\n </header>\n ${ve()?`<div class=\"filter\" hidden>\n <input type=\"search\" placeholder=\"Filter these entries\" autocomplete=\"off\" spellcheck=\"false\" aria-controls=\"rows\">\n <span class=\"count\"></span>\n </div>`:\"\"}\n <ol class=\"list\" id=\"rows\">${n}</ol>\n ${o}`}function Nz(e){if(e!==void 0){if(e.children.length>0)return{title:\"In this section\",links:e.children,total:e.childCount};if(e.siblings.length>0){let t=e.parent?.title;return{title:oe(t)?`More in ${t}`:\"Nearby\",links:e.siblings,total:e.siblingCount}}}}function Cz(e){let t=Nz(e);if(t===void 0)return\"\";let r=t.links.map(o=>`\n <li><a class=\"hit\" href=\"${T(o.url)}\" data-url=\"${T(o.url)}\">\n <span class=\"hit-title\">${T(o.title)}</span>\n </a></li>`).join(\"\"),n=t.total>t.links.length?Ae(`Showing ${String(t.links.length)} of ${String(t.total)}.`):\"\";return`<section class=\"group\">\n <h2 class=\"group-title\">${T(t.title)}</h2>\n <ol class=\"list list-hits\">${r}</ol>\n ${n}\n </section>`}function Zz(e){if(ve())return{text:e,truncated:!1};let t=[],r=[];for(let o of e.split(`\n`)){if(o.trim()===\"\"){r.length>0&&(t.push(r.join(`\n`)),r=[]);continue}r.push(o)}r.length>0&&t.push(r.join(`\n`));let n=[];for(let o of t){if(n.length>=mz)break;let i=o.split(`\n`)[0]??\"\";if(i.trimStart().startsWith(\"|\")||i.trimStart().startsWith(\"```\"))break;n.push(o)}return n.length>=t.length?{text:e,truncated:!1}:{text:n.join(`\n\n`),truncated:!0}}function Rz(e,t){let r=e?Y.canFullscreen?'<button class=\"more\" data-fullscreen>Read the full article</button>':Ae(\"Showing the beginning of this article.\"):\"\",n=t?Ae(\"Content was truncated to fit the token budget.\"):\"\";return`${r}${n}`}function jz(e,t){let r=df(e.version),n=Tz(e.lastUpdated),o=e.versionStatus===\"superseded\"?Ae(\"This page documents a superseded release.\",\"warning\"):\"\",i=oe(e.contentLocale)&&e.contentLocale!==Y.locale?Ae(`Shown in ${e.contentLocale} \\u2014 Jamf publishes no translation for your locale.`):\"\";return`\n <header class=\"head\">\n ${ve()?Zb(e.breadcrumb,\"head-path\",e.title,t?.parent?.title):\"\"}\n <h1 class=\"head-title\">${T(e.title)}</h1>\n ${fo([oe(e.product)&&`${e.product}${r!==void 0?` ${r}`:\"\"}`,n!==\"\"&&`Updated ${n}`,`<a href=\"${T(e.url)}\" data-external>learn.jamf.com \\u2197</a>`])}\n ${o}${i}\n </header>`}function Dz(e,t){let r=Zz(e.content),n=ff(r.text),o=Array.isArray(e.sections)?e.sections:[],{html:i,used:s}=Iz(n,o),a=ve()?o.filter((x,v)=>s.has(v)&&x.level<=3):[],c=a.length>1?`<nav class=\"mini\" aria-label=\"On this page\">${a.map(x=>`<a class=\"mini-item\" href=\"#${T(x.id)}\" data-anchor=\"${T(x.id)}\" style=\"--depth:${String(Math.max(0,Math.min(2,x.level-2)))}\">${T(x.title)}</a>`).join(\"\")}</nav>`:\"\",u=e.navigation,l=ve()&&!r.truncated?Cz(u):\"\",d=ve()&&u?.parent!==void 0?`<a class=\"txt\" href=\"${T(u.parent.url)}\" data-url=\"${T(u.parent.url)}\">\\u2191 ${T(u.parent.title)}</a>`:\"\",f=ve()&&t?'<button class=\"txt\" data-back>\\u2190 Back</button>':\"\",h=!ve()&&Y.canFullscreen&&!r.truncated?'<button class=\"txt\" data-fullscreen>Expand</button>':\"\";return`\n ${f!==\"\"||d!==\"\"||h!==\"\"?`<nav class=\"bar\">\n <span class=\"bar-start\">${f}${d}</span>\n ${h}\n </nav>`:\"\"}\n ${jz(e,u)}\n <div class=\"article-body\">\n ${c}\n <article class=\"prose\" id=\"prose\">${i}</article>\n </div>\n ${Rz(r.truncated,e.truncated)}\n ${l}`}function Lz(e){let t=e.entries.length===1?e.entries[0]:void 0;return t!==void 0?`\n <header class=\"head\">\n <h1 class=\"head-title\">${T(t.term)}</h1>\n ${fo([t.product,`<a href=\"${T(t.url)}\" data-external>learn.jamf.com \\u2197</a>`])}\n </header>\n <div class=\"prose\">${ff(t.definition)}</div>`:`\n <header class=\"head\">\n <h1 class=\"head-title\">${T(e.term)}</h1>\n ${fo([`${String(e.totalMatches)} definition${e.totalMatches===1?\"\":\"s\"}`])}\n </header>\n <ol class=\"list list-hits\">${e.entries.map(r=>`\n <li><a class=\"hit\" href=\"${T(r.url)}\" data-url=\"${T(r.url)}\">\n <span class=\"hit-title\">${T(r.term)}</span>\n <span class=\"hit-snippet\" style=\"-webkit-line-clamp:none;line-clamp:none\">${We(T(r.definition))}</span>\n ${oe(r.product)?`<span class=\"hit-meta\">${T(r.product)}</span>`:\"\"}\n </a></li>`).join(\"\")}</ol>\n ${e.truncated?Ae(\"Some definitions were omitted to fit the token budget.\"):\"\"}`}function Mz(e,t,r){let n=[\"92%\",\"78%\",\"85%\",\"70%\",\"88%\"];return`\n <header class=\"head\">\n <h1 class=\"head-title\">${T(e)}</h1>\n <p class=\"head-sub\">${T(r)}</p>\n </header>\n <div class=\"sk\">${Array.from({length:t},(o,i)=>`\n <div style=\"margin-bottom:var(--sp-4)\">\n <span class=\"sk-line\" style=\"--w:38%\"></span>\n <span class=\"sk-line\" style=\"--w:${n[i%n.length]??\"80%\"}\"></span>\n <span class=\"sk-line\" style=\"--w:60%\"></span>\n </div>`).join(\"\")}</div>`}function Vz(){let e=document.getElementById(\"root\");if(e===null)throw new Error(\"app.html is missing its #root container\");return e}var he=Vz(),Db=document.createElement(\"style\");Db.textContent=Ib;document.head.appendChild(Db);var Oe=new pa({name:\"Jamf Documentation\",version:\"2.0.0\"},{availableDisplayModes:[\"inline\",\"fullscreen\"]}),mo=[],Q=null,Zr=0,fa=null;function ma(){if(Q!==null){if(Q.kind===\"error\"){he.innerHTML=`\n ${mo.length>0?'<nav class=\"bar\"><button class=\"txt\" data-back>\\u2190 Back</button></nav>':\"\"}\n <header class=\"head\">\n <h1 class=\"head-title\">That didn\\u2019t load</h1>\n <p class=\"head-sub\">${T(Pz(Q.message))}</p>\n ${Q.retry!==void 0?'<p class=\"notice\"><button class=\"txt\" data-retry>Try again</button></p>':\"\"}\n </header>`;return}he.innerHTML=Q.kind===\"search\"?Az(Q.data):Q.kind===\"toc\"?Oz(Q.data):Q.kind===\"article\"?Dz(Q.data,mo.length>0):Q.kind===\"glossary\"?Lz(Q.data):Mz(Q.label,Q.rows,Q.verb),he.scrollTop=0}}function jr(e,t){t&&Q!==null&&Q.kind!==\"pending\"&&Q.kind!==\"error\"&&mo.push(Q),Q=e,e.kind!==\"pending\"&&e.kind!==\"error\"&&(fa=e),ma()}function Lb(e){if(e.structuredContent!==void 0)return e.structuredContent;let t=e.content?.find(r=>r.type===\"text\")?.text;if(t===void 0)return null;try{return JSON.parse(t)}catch{return null}}function Fz(e){if(e.kind===\"search\")return{name:\"jamf_docs_search\",args:{...e.data.filters,...e.data.limit!==void 0?{limit:e.data.limit}:{},query:e.data.query,page:e.data.page+1}};if(e.kind===\"toc\"){let t=e.data.productId??e.data.publicationId;return oe(t)?{name:\"jamf_docs_get_toc\",args:{[oe(e.data.productId)?\"product\":\"publication\"]:t,page:e.data.page+1}}:null}return null}async function da(e,t,r,n){let o=++Zr,i=setTimeout(()=>{o===Zr&&n!==void 0&&jr({kind:\"pending\",label:n,rows:4,verb:Rb(e)},r)},120);try{let s=await Oe.callServerTool({name:e,arguments:{...t,...bz()}});if(o!==Zr)return;let a=Ob(Lb(s),e);jr(a??{kind:\"error\",message:`${e} returned nothing renderable.`,retry:{name:e,args:t,...n!==void 0?{label:n}:{}}},r)}catch(s){if(o!==Zr)return;let a=s instanceof Error?s.message:String(s);Oe.sendLog({level:\"error\",logger:\"JamfDocsApp\",data:`${e}: ${a}`}),jr({kind:\"error\",message:a,retry:{name:e,args:t,...n!==void 0?{label:n}:{}}},r)}finally{clearTimeout(i)}}Oe.onhostcontextchanged=e=>{Nb(e),ma()};Oe.ontoolinput=e=>{let t=e.arguments??{},r=oe(t.query)?t.query:oe(t.term)?t.term:oe(t.product)?t.product:\"Jamf documentation\";jr({kind:\"pending\",label:r,rows:4,verb:Rb(Oe.getHostContext()?.toolInfo?.tool.name??\"\")},!1)};Oe.ontoolcancelled=()=>{fa!==null&&(Q=fa,ma())};Oe.ontoolresult=e=>{let t=Oe.getHostContext()?.toolInfo?.tool.name,r=Ob(Lb(e),t);r!==null&&(Zr++,mo.length=0,jr(r,!1))};(async()=>{try{await Oe.connect()}catch(e){jr({kind:\"error\",message:e instanceof Error?e.message:String(e)},!1);return}Nb(Oe.getHostContext()??{}),Y.canCopy=Oe.getHostCapabilities()?.sandbox?.permissions?.clipboardWrite!==void 0})();function qz(e){Oe.openLink({url:e.href}).then(t=>{t.isError===!0&&(e.removeAttribute(\"data-external\"),e.textContent=e.href)})}function Uz(){let e=mo.pop();e!==void 0&&(Zr++,Q=e,fa=e,ma())}function Hz(e){he.querySelector(`#${CSS.escape(e)}`)?.scrollIntoView({behavior:\"smooth\",block:\"start\"})}async function Jz(e,t){if(e.metaKey||e.ctrlKey||e.shiftKey||e.button!==0)return;e.preventDefault(),t.setAttribute(\"aria-current\",\"true\");let{url:r}=t.dataset;if(r===void 0)return;let n=(t.querySelector(\".hit-title\")??t).textContent.trim();if(!ve()&&Y.canFullscreen)try{await Oe.requestDisplayMode({mode:\"fullscreen\"})}catch{}await da(\"jamf_docs_get_article\",{url:r},!0,n===\"\"?\"Article\":n)}he.addEventListener(\"click\",e=>{let t=e.target,r=t.closest(\"a[data-external]\");if(r!==null){e.preventDefault(),qz(r);return}if(t.closest(\"[data-back]\")!==null){Uz();return}if(t.closest(\"[data-retry]\")!==null&&Q?.kind===\"error\"&&Q.retry!==void 0){let{name:a,args:c,label:u}=Q.retry;da(a,c,!1,u);return}if(t.closest(\"[data-fullscreen]\")!==null){Oe.requestDisplayMode({mode:\"fullscreen\"});return}let n=t.closest(\"[data-anchor]\");if(n?.dataset.anchor!==void 0){e.preventDefault(),Hz(n.dataset.anchor);return}let o=t.closest(\"[data-search]\");if(o?.dataset.search!==void 0){let{search:a}=o.dataset;da(\"jamf_docs_search\",{query:a},!0,a);return}if(t.closest(\"button[data-more]\")!==null){let a=Q!==null?Fz(Q):null;a!==null&&da(a.name,a.args,!0);return}let i=t.closest(\"[data-copy]\");if(i!==null){Bz(i);return}let s=t.closest(\"[data-url]\");s!==null&&Jz(e,s)});function Bz(e){let t=e.closest(\".pre-wrap\")?.querySelector(\"code\");t!=null&&navigator.clipboard.writeText(t.textContent).then(()=>{e.textContent=\"Copied\",setTimeout(()=>{e.textContent=\"Copy\"},1400)},()=>{e.textContent=\"Press \\u2318C\"})}function Mb(){return Array.from(he.querySelectorAll(\".hit, .row\")).filter(e=>e.offsetParent!==null)}he.addEventListener(\"keydown\",e=>{let t=e.target,r=he.querySelector(\".filter input\");if(e.key===\"Escape\"){let n=he.querySelector(\".filter\");r!==null&&n!==null&&n.hidden===!1&&(Wz(),e.preventDefault());return}if(e.key===\"ArrowDown\"||e.key===\"ArrowUp\"){let n=Mb();if(n.length===0)return;e.preventDefault();let o=t.closest(\".hit, .row\"),i=o===null?-1:n.indexOf(o),s=e.key===\"ArrowDown\"?i+1:i-1;n[Math.max(0,Math.min(n.length-1,s===-1?0:s))]?.focus();return}Q?.kind===\"toc\"&&ve()&&t!==r&&e.key.length===1&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&(Kz(e.key),e.preventDefault())});function Kz(e){let t=he.querySelector(\".filter\"),r=he.querySelector(\".filter input\");t===null||r===null||(t.hidden=!1,r.value=e,r.focus(),mf())}function Wz(){let e=he.querySelector(\".filter\"),t=he.querySelector(\".filter input\");e===null||t===null||(t.value=\"\",mf(),e.hidden=!0,Mb()[0]?.focus())}function mf(){let e=he.querySelector(\".filter input\"),t=he.querySelector(\".filter .count\");if(e===null)return;let r=e.value.trim().toLowerCase(),n=Array.from(he.querySelectorAll(\"#rows > li\")),o=0;for(let i of n){let s=r===\"\"||i.textContent.toLowerCase().includes(r);i.hidden=!s,s&&o++}t!==null&&(t.textContent=r===\"\"?\"\":`${String(o)}/${String(n.length)}`)}he.addEventListener(\"input\",e=>{e.target.closest(\".filter\")!==null&&mf()});})();\n</script>\n </body>\n</html>\n";
|
|
9
9
|
/** First 12 hex chars of the SHA-256 of {@link APP_HTML}. */
|
|
10
|
-
export const APP_HTML_HASH = '
|
|
10
|
+
export const APP_HTML_HASH = 'a35f56bb917a';
|
|
11
11
|
//# sourceMappingURL=app-html.js.map
|