@learncard/network-plugin 2.10.12 → 2.10.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- "use strict";var Zt=Object.defineProperty;var fl=Object.getOwnPropertyDescriptor;var gl=Object.getOwnPropertyNames;var vl=Object.prototype.hasOwnProperty;var s=(e,r)=>Zt(e,"name",{value:r,configurable:!0});var de=(e,r)=>{for(var i in r)Zt(e,i,{get:r[i],enumerable:!0})},hl=(e,r,i,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of gl(r))!vl.call(e,t)&&t!==i&&Zt(e,t,{get:()=>r[t],enumerable:!(n=fl(r,t))||n.enumerable});return e};var yl=e=>hl(Zt({},"__esModule",{value:!0}),e);var uv={};de(uv,{getLearnCardNetworkPlugin:()=>sv,getVerifyBoostPlugin:()=>cv});module.exports=yl(uv);var Yr=require("@learncard/network-brain-client");var a={};de(a,{$brand:()=>Rt,$input:()=>ga,$output:()=>fa,NEVER:()=>en,TimePrecision:()=>$a,ZodAny:()=>ou,ZodArray:()=>uu,ZodBase64:()=>Vs,ZodBase64URL:()=>Ls,ZodBigInt:()=>Ut,ZodBigIntFormat:()=>Ms,ZodBoolean:()=>Nt,ZodCIDRv4:()=>Zs,ZodCIDRv6:()=>Rs,ZodCUID:()=>Ns,ZodCUID2:()=>Us,ZodCatch:()=>ju,ZodCodec:()=>ec,ZodCustom:()=>Mr,ZodCustomStringFormat:()=>Pt,ZodDate:()=>Lr,ZodDefault:()=>ku,ZodDiscriminatedUnion:()=>lu,ZodE164:()=>Fs,ZodEmail:()=>js,ZodEmoji:()=>Ps,ZodEnum:()=>zt,ZodError:()=>Km,ZodFile:()=>bu,ZodFirstPartyTypeKind:()=>tc,ZodFunction:()=>Tu,ZodGUID:()=>Ar,ZodIPv4:()=>As,ZodIPv6:()=>Ts,ZodISODate:()=>Ur,ZodISODateTime:()=>Nr,ZodISODuration:()=>Or,ZodISOTime:()=>Dr,ZodIntersection:()=>du,ZodIssueCode:()=>lf,ZodJWT:()=>Bs,ZodKSUID:()=>Es,ZodLazy:()=>Ou,ZodLiteral:()=>yu,ZodMAC:()=>Qc,ZodMap:()=>vu,ZodNaN:()=>Cu,ZodNanoID:()=>Cs,ZodNever:()=>su,ZodNonOptional:()=>Qs,ZodNull:()=>nu,ZodNullable:()=>_u,ZodNumber:()=>Ct,ZodNumberFormat:()=>Ve,ZodObject:()=>Br,ZodOptional:()=>Hs,ZodPipe:()=>Ys,ZodPrefault:()=>wu,ZodPromise:()=>Au,ZodReadonly:()=>Nu,ZodRealError:()=>q,ZodRecord:()=>Ws,ZodSet:()=>hu,ZodString:()=>jt,ZodStringFormat:()=>O,ZodSuccess:()=>zu,ZodSymbol:()=>tu,ZodTemplateLiteral:()=>Du,ZodTransform:()=>$u,ZodTuple:()=>pu,ZodType:()=>P,ZodULID:()=>Ds,ZodURL:()=>Vr,ZodUUID:()=>ue,ZodUndefined:()=>ru,ZodUnion:()=>Js,ZodUnknown:()=>au,ZodVoid:()=>cu,ZodXID:()=>Os,_ZodString:()=>zs,_default:()=>xu,_function:()=>ef,any:()=>Op,array:()=>Fr,base64:()=>hp,base64url:()=>yp,bigint:()=>Pp,boolean:()=>eu,catch:()=>Pu,check:()=>tf,cidrv4:()=>gp,cidrv6:()=>vp,clone:()=>R,codec:()=>Hp,coerce:()=>rc,config:()=>T,core:()=>ce,cuid:()=>sp,cuid2:()=>cp,custom:()=>rf,date:()=>Ap,decode:()=>ys,decodeAsync:()=>$s,describe:()=>nf,discriminatedUnion:()=>Lp,e164:()=>bp,email:()=>Hm,emoji:()=>op,encode:()=>hs,encodeAsync:()=>bs,endsWith:()=>bt,enum:()=>Ks,file:()=>Gp,flattenError:()=>Qe,float32:()=>Ip,float64:()=>Sp,formatError:()=>Ye,function:()=>ef,getErrorMap:()=>mf,globalRegistry:()=>V,gt:()=>se,gte:()=>M,guid:()=>Qm,hash:()=>wp,hex:()=>xp,hostname:()=>kp,httpUrl:()=>ip,includes:()=>ht,instanceof:()=>af,int:()=>Ss,int32:()=>zp,int64:()=>Cp,intersection:()=>mu,ipv4:()=>mp,ipv6:()=>fp,iso:()=>Er,json:()=>cf,jwt:()=>$p,keyof:()=>Tp,ksuid:()=>dp,lazy:()=>Eu,length:()=>Te,literal:()=>Jp,locales:()=>lt,looseObject:()=>Vp,lowercase:()=>gt,lt:()=>ae,lte:()=>Q,mac:()=>pp,map:()=>Bp,maxLength:()=>Ae,maxSize:()=>Ee,meta:()=>of,mime:()=>$t,minLength:()=>ye,minSize:()=>xe,multipleOf:()=>ke,nan:()=>Xp,nanoid:()=>ap,nativeEnum:()=>qp,negative:()=>Ka,never:()=>qs,nonnegative:()=>Ha,nonoptional:()=>Su,nonpositive:()=>Xa,normalize:()=>_t,null:()=>iu,nullable:()=>Zr,nullish:()=>Wp,number:()=>Yc,object:()=>Zp,optional:()=>Tr,overwrite:()=>ne,parse:()=>ps,parseAsync:()=>fs,partialRecord:()=>Fp,pipe:()=>Rr,positive:()=>Wa,prefault:()=>Iu,preprocess:()=>uf,prettifyError:()=>vn,promise:()=>Yp,property:()=>Qa,readonly:()=>Uu,record:()=>gu,refine:()=>Zu,regex:()=>ft,regexes:()=>H,registry:()=>lr,safeDecode:()=>ks,safeDecodeAsync:()=>ws,safeEncode:()=>_s,safeEncodeAsync:()=>xs,safeParse:()=>gs,safeParseAsync:()=>vs,set:()=>Mp,setErrorMap:()=>df,size:()=>pt,slugify:()=>It,startsWith:()=>yt,strictObject:()=>Rp,string:()=>Is,stringFormat:()=>_p,stringbool:()=>sf,success:()=>Kp,superRefine:()=>Ru,symbol:()=>Up,templateLiteral:()=>Qp,toJSONSchema:()=>ss,toLowerCase:()=>xt,toUpperCase:()=>wt,transform:()=>Xs,treeifyError:()=>gn,trim:()=>kt,tuple:()=>fu,uint32:()=>jp,uint64:()=>Np,ulid:()=>up,undefined:()=>Dp,union:()=>Gs,unknown:()=>Re,uppercase:()=>vt,url:()=>np,util:()=>x,uuid:()=>Ym,uuidv4:()=>ep,uuidv6:()=>tp,uuidv7:()=>rp,void:()=>Ep,xid:()=>lp});var ce={};de(ce,{$ZodAny:()=>Ji,$ZodArray:()=>Hi,$ZodAsyncError:()=>ee,$ZodBase64:()=>Ai,$ZodBase64URL:()=>Ti,$ZodBigInt:()=>sr,$ZodBigIntFormat:()=>Fi,$ZodBoolean:()=>nt,$ZodCIDRv4:()=>Di,$ZodCIDRv6:()=>Oi,$ZodCUID:()=>_i,$ZodCUID2:()=>ki,$ZodCatch:()=>go,$ZodCheck:()=>D,$ZodCheckBigIntFormat:()=>Xn,$ZodCheckEndsWith:()=>ci,$ZodCheckGreaterThan:()=>er,$ZodCheckIncludes:()=>ai,$ZodCheckLengthEquals:()=>ri,$ZodCheckLessThan:()=>Yt,$ZodCheckLowerCase:()=>ii,$ZodCheckMaxLength:()=>ei,$ZodCheckMaxSize:()=>Hn,$ZodCheckMimeType:()=>li,$ZodCheckMinLength:()=>ti,$ZodCheckMinSize:()=>Qn,$ZodCheckMultipleOf:()=>Wn,$ZodCheckNumberFormat:()=>Kn,$ZodCheckOverwrite:()=>di,$ZodCheckProperty:()=>ui,$ZodCheckRegex:()=>ni,$ZodCheckSizeEquals:()=>Yn,$ZodCheckStartsWith:()=>si,$ZodCheckStringFormat:()=>De,$ZodCheckUpperCase:()=>oi,$ZodCodec:()=>it,$ZodCustom:()=>xo,$ZodCustomStringFormat:()=>Vi,$ZodDate:()=>Xi,$ZodDefault:()=>lo,$ZodDiscriminatedUnion:()=>Yi,$ZodE164:()=>Zi,$ZodEmail:()=>hi,$ZodEmoji:()=>bi,$ZodEncodeError:()=>me,$ZodEnum:()=>io,$ZodError:()=>He,$ZodFile:()=>ao,$ZodFunction:()=>$o,$ZodGUID:()=>gi,$ZodIPv4:()=>Ci,$ZodIPv6:()=>Ni,$ZodISODate:()=>zi,$ZodISODateTime:()=>Si,$ZodISODuration:()=>Pi,$ZodISOTime:()=>ji,$ZodIntersection:()=>eo,$ZodJWT:()=>Ri,$ZodKSUID:()=>Ii,$ZodLazy:()=>ko,$ZodLiteral:()=>oo,$ZodMAC:()=>Ui,$ZodMap:()=>ro,$ZodNaN:()=>vo,$ZodNanoID:()=>$i,$ZodNever:()=>Wi,$ZodNonOptional:()=>po,$ZodNull:()=>qi,$ZodNullable:()=>uo,$ZodNumber:()=>ar,$ZodNumberFormat:()=>Li,$ZodObject:()=>Bc,$ZodObjectJIT:()=>Qi,$ZodOptional:()=>co,$ZodPipe:()=>ho,$ZodPrefault:()=>mo,$ZodPromise:()=>_o,$ZodReadonly:()=>yo,$ZodRealError:()=>B,$ZodRecord:()=>to,$ZodRegistry:()=>Oe,$ZodSet:()=>no,$ZodString:()=>_e,$ZodStringFormat:()=>U,$ZodSuccess:()=>fo,$ZodSymbol:()=>Bi,$ZodTemplateLiteral:()=>bo,$ZodTransform:()=>so,$ZodTuple:()=>ur,$ZodType:()=>z,$ZodULID:()=>xi,$ZodURL:()=>yi,$ZodUUID:()=>vi,$ZodUndefined:()=>Mi,$ZodUnion:()=>cr,$ZodUnknown:()=>Gi,$ZodVoid:()=>Ki,$ZodXID:()=>wi,$brand:()=>Rt,$constructor:()=>h,$input:()=>ga,$output:()=>fa,Doc:()=>rt,JSONSchema:()=>Kc,JSONSchemaGenerator:()=>St,NEVER:()=>en,TimePrecision:()=>$a,_any:()=>La,_array:()=>Ya,_base64:()=>zr,_base64url:()=>jr,_bigint:()=>Oa,_boolean:()=>Ua,_catch:()=>Fm,_check:()=>Wc,_cidrv4:()=>Ir,_cidrv6:()=>Sr,_coercedBigint:()=>Ea,_coercedBoolean:()=>Da,_coercedDate:()=>Ja,_coercedNumber:()=>Sa,_coercedString:()=>ya,_cuid:()=>yr,_cuid2:()=>br,_custom:()=>ts,_date:()=>qa,_decode:()=>qt,_decodeAsync:()=>Gt,_default:()=>Rm,_discriminatedUnion:()=>zm,_e164:()=>Pr,_email:()=>dr,_emoji:()=>vr,_encode:()=>Mt,_encodeAsync:()=>Jt,_endsWith:()=>bt,_enum:()=>Dm,_file:()=>es,_float32:()=>ja,_float64:()=>Pa,_gt:()=>se,_gte:()=>M,_guid:()=>dt,_includes:()=>ht,_int:()=>za,_int32:()=>Ca,_int64:()=>Aa,_intersection:()=>jm,_ipv4:()=>xr,_ipv6:()=>wr,_isoDate:()=>ka,_isoDateTime:()=>_a,_isoDuration:()=>wa,_isoTime:()=>xa,_jwt:()=>Cr,_ksuid:()=>kr,_lazy:()=>Jm,_length:()=>Te,_literal:()=>Em,_lowercase:()=>gt,_lt:()=>ae,_lte:()=>Q,_mac:()=>ba,_map:()=>Nm,_max:()=>Q,_maxLength:()=>Ae,_maxSize:()=>Ee,_mime:()=>$t,_min:()=>M,_minLength:()=>ye,_minSize:()=>xe,_multipleOf:()=>ke,_nan:()=>Ga,_nanoid:()=>hr,_nativeEnum:()=>Om,_negative:()=>Ka,_never:()=>Ba,_nonnegative:()=>Ha,_nonoptional:()=>Vm,_nonpositive:()=>Xa,_normalize:()=>_t,_null:()=>Va,_nullable:()=>Zm,_number:()=>Ia,_optional:()=>Tm,_overwrite:()=>ne,_parse:()=>Pe,_parseAsync:()=>Ce,_pipe:()=>Bm,_positive:()=>Wa,_promise:()=>Gm,_property:()=>Qa,_readonly:()=>Mm,_record:()=>Cm,_refine:()=>rs,_regex:()=>ft,_safeDecode:()=>Kt,_safeDecodeAsync:()=>Ht,_safeEncode:()=>Wt,_safeEncodeAsync:()=>Xt,_safeParse:()=>Ne,_safeParseAsync:()=>Ue,_set:()=>Um,_size:()=>pt,_slugify:()=>It,_startsWith:()=>yt,_string:()=>ha,_stringFormat:()=>Ze,_stringbool:()=>as,_success:()=>Lm,_superRefine:()=>ns,_symbol:()=>Za,_templateLiteral:()=>qm,_toLowerCase:()=>xt,_toUpperCase:()=>wt,_transform:()=>Am,_trim:()=>kt,_tuple:()=>Pm,_uint32:()=>Na,_uint64:()=>Ta,_ulid:()=>$r,_undefined:()=>Ra,_union:()=>Sm,_unknown:()=>Fa,_uppercase:()=>vt,_url:()=>mt,_uuid:()=>mr,_uuidv4:()=>pr,_uuidv6:()=>fr,_uuidv7:()=>gr,_void:()=>Ma,_xid:()=>_r,clone:()=>R,config:()=>T,decode:()=>Jl,decodeAsync:()=>Wl,describe:()=>is,encode:()=>ql,encodeAsync:()=>Gl,flattenError:()=>Qe,formatError:()=>Ye,globalConfig:()=>Me,globalRegistry:()=>V,isValidBase64:()=>Ei,isValidBase64URL:()=>Rc,isValidJWT:()=>Vc,locales:()=>lt,meta:()=>os,parse:()=>Ft,parseAsync:()=>Bt,prettifyError:()=>vn,regexes:()=>H,registry:()=>lr,safeDecode:()=>Xl,safeDecodeAsync:()=>Ql,safeEncode:()=>Kl,safeEncodeAsync:()=>Hl,safeParse:()=>hn,safeParseAsync:()=>yn,toDotPath:()=>kc,toJSONSchema:()=>ss,treeifyError:()=>gn,util:()=>x,version:()=>pi});var en=Object.freeze({status:"aborted"});function h(e,r,i){function n(f,g){if(f._zod||Object.defineProperty(f,"_zod",{value:{def:g,constr:c,traits:new Set},enumerable:!1}),f._zod.traits.has(e))return;f._zod.traits.add(e),r(f,g);let p=c.prototype,y=Object.keys(p);for(let m=0;m<y.length;m++){let u=y[m];u in f||(f[u]=p[u].bind(f))}}s(n,"init");let t=i?.Parent??Object,l=class l extends t{};s(l,"Definition");let o=l;Object.defineProperty(o,"name",{value:e});function c(f){var g;let p=i?.Parent?new o:this;n(p,f),(g=p._zod).deferred??(g.deferred=[]);for(let y of p._zod.deferred)y();return p}return s(c,"_"),Object.defineProperty(c,"init",{value:n}),Object.defineProperty(c,Symbol.hasInstance,{value:s(f=>i?.Parent&&f instanceof i.Parent?!0:f?._zod?.traits?.has(e),"value")}),Object.defineProperty(c,"name",{value:e}),c}s(h,"$constructor");var Rt=Symbol("zod_brand"),rn=class rn extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};s(rn,"$ZodAsyncError");var ee=rn,nn=class nn extends Error{constructor(r){super(`Encountered unidirectional transform during encode: ${r}`),this.name="ZodEncodeError"}};s(nn,"$ZodEncodeError");var me=nn,Me={};function T(e){return e&&Object.assign(Me,e),Me}s(T,"config");var x={};de(x,{BIGINT_FORMAT_RANGES:()=>pn,Class:()=>on,NUMBER_FORMAT_RANGES:()=>mn,aborted:()=>he,allowsEval:()=>cn,assert:()=>xl,assertEqual:()=>bl,assertIs:()=>_l,assertNever:()=>kl,assertNotEqual:()=>$l,assignProp:()=>fe,base64ToUint8Array:()=>bc,base64urlToUint8Array:()=>Vl,cached:()=>ze,captureStackTrace:()=>Lt,cleanEnum:()=>Rl,cleanRegex:()=>Ge,clone:()=>R,cloneDef:()=>Il,createTransparentProxy:()=>Nl,defineLazy:()=>N,esc:()=>Vt,escapeRegex:()=>X,extend:()=>Ol,finalizeIssue:()=>W,floatSafeRemainder:()=>an,getElementAtPath:()=>Sl,getEnumValues:()=>Je,getLengthableOrigin:()=>Xe,getParsedType:()=>Cl,getSizableOrigin:()=>Ke,hexToUint8Array:()=>Fl,isObject:()=>be,isPlainObject:()=>ve,issue:()=>je,joinValues:()=>b,jsonStringifyReplacer:()=>Se,merge:()=>Al,mergeDefs:()=>ge,normalizeParams:()=>k,nullish:()=>pe,numKeys:()=>Pl,objectClone:()=>wl,omit:()=>Dl,optionalKeys:()=>dn,partial:()=>Tl,pick:()=>Ul,prefixIssues:()=>G,primitiveTypes:()=>ln,promiseAllObject:()=>zl,propertyKeyTypes:()=>We,randomString:()=>jl,required:()=>Zl,safeExtend:()=>El,shallowClone:()=>un,slugify:()=>sn,stringifyPrimitive:()=>_,uint8ArrayToBase64:()=>$c,uint8ArrayToBase64url:()=>Ll,uint8ArrayToHex:()=>Bl,unwrapMessage:()=>qe});function bl(e){return e}s(bl,"assertEqual");function $l(e){return e}s($l,"assertNotEqual");function _l(e){}s(_l,"assertIs");function kl(e){throw new Error}s(kl,"assertNever");function xl(e){}s(xl,"assert");function Je(e){let r=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,t])=>r.indexOf(+n)===-1).map(([n,t])=>t)}s(Je,"getEnumValues");function b(e,r="|"){return e.map(i=>_(i)).join(r)}s(b,"joinValues");function Se(e,r){return typeof r=="bigint"?r.toString():r}s(Se,"jsonStringifyReplacer");function ze(e){return{get value(){{let i=e();return Object.defineProperty(this,"value",{value:i}),i}throw new Error("cached value already set")}}}s(ze,"cached");function pe(e){return e==null}s(pe,"nullish");function Ge(e){let r=e.startsWith("^")?1:0,i=e.endsWith("$")?e.length-1:e.length;return e.slice(r,i)}s(Ge,"cleanRegex");function an(e,r){let i=(e.toString().split(".")[1]||"").length,n=r.toString(),t=(n.split(".")[1]||"").length;if(t===0&&/\d?e-\d?/.test(n)){let f=n.match(/\d?e-(\d?)/);f?.[1]&&(t=Number.parseInt(f[1]))}let o=i>t?i:t,c=Number.parseInt(e.toFixed(o).replace(".","")),l=Number.parseInt(r.toFixed(o).replace(".",""));return c%l/10**o}s(an,"floatSafeRemainder");var yc=Symbol("evaluating");function N(e,r,i){let n;Object.defineProperty(e,r,{get(){if(n!==yc)return n===void 0&&(n=yc,n=i()),n},set(t){Object.defineProperty(e,r,{value:t})},configurable:!0})}s(N,"defineLazy");function wl(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}s(wl,"objectClone");function fe(e,r,i){Object.defineProperty(e,r,{value:i,writable:!0,enumerable:!0,configurable:!0})}s(fe,"assignProp");function ge(...e){let r={};for(let i of e){let n=Object.getOwnPropertyDescriptors(i);Object.assign(r,n)}return Object.defineProperties({},r)}s(ge,"mergeDefs");function Il(e){return ge(e._zod.def)}s(Il,"cloneDef");function Sl(e,r){return r?r.reduce((i,n)=>i?.[n],e):e}s(Sl,"getElementAtPath");function zl(e){let r=Object.keys(e),i=r.map(n=>e[n]);return Promise.all(i).then(n=>{let t={};for(let o=0;o<r.length;o++)t[r[o]]=n[o];return t})}s(zl,"promiseAllObject");function jl(e=10){let r="abcdefghijklmnopqrstuvwxyz",i="";for(let n=0;n<e;n++)i+=r[Math.floor(Math.random()*r.length)];return i}s(jl,"randomString");function Vt(e){return JSON.stringify(e)}s(Vt,"esc");function sn(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}s(sn,"slugify");var Lt="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function be(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}s(be,"isObject");var cn=ze(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function ve(e){if(be(e)===!1)return!1;let r=e.constructor;if(r===void 0||typeof r!="function")return!0;let i=r.prototype;return!(be(i)===!1||Object.prototype.hasOwnProperty.call(i,"isPrototypeOf")===!1)}s(ve,"isPlainObject");function un(e){return ve(e)?{...e}:Array.isArray(e)?[...e]:e}s(un,"shallowClone");function Pl(e){let r=0;for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&r++;return r}s(Pl,"numKeys");var Cl=s(e=>{let r=typeof e;switch(r){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: ${r}`)}},"getParsedType"),We=new Set(["string","number","symbol"]),ln=new Set(["string","number","bigint","boolean","symbol","undefined"]);function X(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}s(X,"escapeRegex");function R(e,r,i){let n=new e._zod.constr(r??e._zod.def);return(!r||i?.parent)&&(n._zod.parent=e),n}s(R,"clone");function k(e){let r=e;if(!r)return{};if(typeof r=="string")return{error:s(()=>r,"error")};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:s(()=>r.error,"error")}:r}s(k,"normalizeParams");function Nl(e){let r;return new Proxy({},{get(i,n,t){return r??(r=e()),Reflect.get(r,n,t)},set(i,n,t,o){return r??(r=e()),Reflect.set(r,n,t,o)},has(i,n){return r??(r=e()),Reflect.has(r,n)},deleteProperty(i,n){return r??(r=e()),Reflect.deleteProperty(r,n)},ownKeys(i){return r??(r=e()),Reflect.ownKeys(r)},getOwnPropertyDescriptor(i,n){return r??(r=e()),Reflect.getOwnPropertyDescriptor(r,n)},defineProperty(i,n,t){return r??(r=e()),Reflect.defineProperty(r,n,t)}})}s(Nl,"createTransparentProxy");function _(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}s(_,"stringifyPrimitive");function dn(e){return Object.keys(e).filter(r=>e[r]._zod.optin==="optional"&&e[r]._zod.optout==="optional")}s(dn,"optionalKeys");var mn={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]},pn={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Ul(e,r){let i=e._zod.def,n=ge(e._zod.def,{get shape(){let t={};for(let o in r){if(!(o in i.shape))throw new Error(`Unrecognized key: "${o}"`);r[o]&&(t[o]=i.shape[o])}return fe(this,"shape",t),t},checks:[]});return R(e,n)}s(Ul,"pick");function Dl(e,r){let i=e._zod.def,n=ge(e._zod.def,{get shape(){let t={...e._zod.def.shape};for(let o in r){if(!(o in i.shape))throw new Error(`Unrecognized key: "${o}"`);r[o]&&delete t[o]}return fe(this,"shape",t),t},checks:[]});return R(e,n)}s(Dl,"omit");function Ol(e,r){if(!ve(r))throw new Error("Invalid input to extend: expected a plain object");let i=e._zod.def.checks;if(i&&i.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");let t=ge(e._zod.def,{get shape(){let o={...e._zod.def.shape,...r};return fe(this,"shape",o),o},checks:[]});return R(e,t)}s(Ol,"extend");function El(e,r){if(!ve(r))throw new Error("Invalid input to safeExtend: expected a plain object");let i={...e._zod.def,get shape(){let n={...e._zod.def.shape,...r};return fe(this,"shape",n),n},checks:e._zod.def.checks};return R(e,i)}s(El,"safeExtend");function Al(e,r){let i=ge(e._zod.def,{get shape(){let n={...e._zod.def.shape,...r._zod.def.shape};return fe(this,"shape",n),n},get catchall(){return r._zod.def.catchall},checks:[]});return R(e,i)}s(Al,"merge");function Tl(e,r,i){let n=ge(r._zod.def,{get shape(){let t=r._zod.def.shape,o={...t};if(i)for(let c in i){if(!(c in t))throw new Error(`Unrecognized key: "${c}"`);i[c]&&(o[c]=e?new e({type:"optional",innerType:t[c]}):t[c])}else for(let c in t)o[c]=e?new e({type:"optional",innerType:t[c]}):t[c];return fe(this,"shape",o),o},checks:[]});return R(r,n)}s(Tl,"partial");function Zl(e,r,i){let n=ge(r._zod.def,{get shape(){let t=r._zod.def.shape,o={...t};if(i)for(let c in i){if(!(c in o))throw new Error(`Unrecognized key: "${c}"`);i[c]&&(o[c]=new e({type:"nonoptional",innerType:t[c]}))}else for(let c in t)o[c]=new e({type:"nonoptional",innerType:t[c]});return fe(this,"shape",o),o},checks:[]});return R(r,n)}s(Zl,"required");function he(e,r=0){if(e.aborted===!0)return!0;for(let i=r;i<e.issues.length;i++)if(e.issues[i]?.continue!==!0)return!0;return!1}s(he,"aborted");function G(e,r){return r.map(i=>{var n;return(n=i).path??(n.path=[]),i.path.unshift(e),i})}s(G,"prefixIssues");function qe(e){return typeof e=="string"?e:e?.message}s(qe,"unwrapMessage");function W(e,r,i){let n={...e,path:e.path??[]};if(!e.message){let t=qe(e.inst?._zod.def?.error?.(e))??qe(r?.error?.(e))??qe(i.customError?.(e))??qe(i.localeError?.(e))??"Invalid input";n.message=t}return delete n.inst,delete n.continue,r?.reportInput||delete n.input,n}s(W,"finalizeIssue");function Ke(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}s(Ke,"getSizableOrigin");function Xe(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}s(Xe,"getLengthableOrigin");function je(...e){let[r,i,n]=e;return typeof r=="string"?{message:r,code:"custom",input:i,inst:n}:{...r}}s(je,"issue");function Rl(e){return Object.entries(e).filter(([r,i])=>Number.isNaN(Number.parseInt(r,10))).map(r=>r[1])}s(Rl,"cleanEnum");function bc(e){let r=atob(e),i=new Uint8Array(r.length);for(let n=0;n<r.length;n++)i[n]=r.charCodeAt(n);return i}s(bc,"base64ToUint8Array");function $c(e){let r="";for(let i=0;i<e.length;i++)r+=String.fromCharCode(e[i]);return btoa(r)}s($c,"uint8ArrayToBase64");function Vl(e){let r=e.replace(/-/g,"+").replace(/_/g,"/"),i="=".repeat((4-r.length%4)%4);return bc(r+i)}s(Vl,"base64urlToUint8Array");function Ll(e){return $c(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}s(Ll,"uint8ArrayToBase64url");function Fl(e){let r=e.replace(/^0x/,"");if(r.length%2!==0)throw new Error("Invalid hex string length");let i=new Uint8Array(r.length/2);for(let n=0;n<r.length;n+=2)i[n/2]=Number.parseInt(r.slice(n,n+2),16);return i}s(Fl,"hexToUint8Array");function Bl(e){return Array.from(e).map(r=>r.toString(16).padStart(2,"0")).join("")}s(Bl,"uint8ArrayToHex");var fn=class fn{constructor(...r){}};s(fn,"Class");var on=fn;var _c=s((e,r)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:r,enumerable:!1}),e.message=JSON.stringify(r,Se,2),Object.defineProperty(e,"toString",{value:s(()=>e.message,"value"),enumerable:!1})},"initializer"),He=h("$ZodError",_c),B=h("$ZodError",_c,{Parent:Error});function Qe(e,r=i=>i.message){let i={},n=[];for(let t of e.issues)t.path.length>0?(i[t.path[0]]=i[t.path[0]]||[],i[t.path[0]].push(r(t))):n.push(r(t));return{formErrors:n,fieldErrors:i}}s(Qe,"flattenError");function Ye(e,r=i=>i.message){let i={_errors:[]},n=s(t=>{for(let o of t.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(c=>n({issues:c}));else if(o.code==="invalid_key")n({issues:o.issues});else if(o.code==="invalid_element")n({issues:o.issues});else if(o.path.length===0)i._errors.push(r(o));else{let c=i,l=0;for(;l<o.path.length;){let f=o.path[l];l===o.path.length-1?(c[f]=c[f]||{_errors:[]},c[f]._errors.push(r(o))):c[f]=c[f]||{_errors:[]},c=c[f],l++}}},"processError");return n(e),i}s(Ye,"formatError");function gn(e,r=i=>i.message){let i={errors:[]},n=s((t,o=[])=>{var c,l;for(let f of t.issues)if(f.code==="invalid_union"&&f.errors.length)f.errors.map(g=>n({issues:g},f.path));else if(f.code==="invalid_key")n({issues:f.issues},f.path);else if(f.code==="invalid_element")n({issues:f.issues},f.path);else{let g=[...o,...f.path];if(g.length===0){i.errors.push(r(f));continue}let p=i,y=0;for(;y<g.length;){let m=g[y],u=y===g.length-1;typeof m=="string"?(p.properties??(p.properties={}),(c=p.properties)[m]??(c[m]={errors:[]}),p=p.properties[m]):(p.items??(p.items=[]),(l=p.items)[m]??(l[m]={errors:[]}),p=p.items[m]),u&&p.errors.push(r(f)),y++}}},"processError");return n(e),i}s(gn,"treeifyError");function kc(e){let r=[],i=e.map(n=>typeof n=="object"?n.key:n);for(let n of i)typeof n=="number"?r.push(`[${n}]`):typeof n=="symbol"?r.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?r.push(`[${JSON.stringify(n)}]`):(r.length&&r.push("."),r.push(n));return r.join("")}s(kc,"toDotPath");function vn(e){let r=[],i=[...e.issues].sort((n,t)=>(n.path??[]).length-(t.path??[]).length);for(let n of i)r.push(`\u2716 ${n.message}`),n.path?.length&&r.push(` \u2192 at ${kc(n.path)}`);return r.join(`
2
- `)}s(vn,"prettifyError");var Pe=s(e=>(r,i,n,t)=>{let o=n?Object.assign(n,{async:!1}):{async:!1},c=r._zod.run({value:i,issues:[]},o);if(c instanceof Promise)throw new ee;if(c.issues.length){let l=new(t?.Err??e)(c.issues.map(f=>W(f,o,T())));throw Lt(l,t?.callee),l}return c.value},"_parse"),Ft=Pe(B),Ce=s(e=>async(r,i,n,t)=>{let o=n?Object.assign(n,{async:!0}):{async:!0},c=r._zod.run({value:i,issues:[]},o);if(c instanceof Promise&&(c=await c),c.issues.length){let l=new(t?.Err??e)(c.issues.map(f=>W(f,o,T())));throw Lt(l,t?.callee),l}return c.value},"_parseAsync"),Bt=Ce(B),Ne=s(e=>(r,i,n)=>{let t=n?{...n,async:!1}:{async:!1},o=r._zod.run({value:i,issues:[]},t);if(o instanceof Promise)throw new ee;return o.issues.length?{success:!1,error:new(e??He)(o.issues.map(c=>W(c,t,T())))}:{success:!0,data:o.value}},"_safeParse"),hn=Ne(B),Ue=s(e=>async(r,i,n)=>{let t=n?Object.assign(n,{async:!0}):{async:!0},o=r._zod.run({value:i,issues:[]},t);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(c=>W(c,t,T())))}:{success:!0,data:o.value}},"_safeParseAsync"),yn=Ue(B),Mt=s(e=>(r,i,n)=>{let t=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Pe(e)(r,i,t)},"_encode"),ql=Mt(B),qt=s(e=>(r,i,n)=>Pe(e)(r,i,n),"_decode"),Jl=qt(B),Jt=s(e=>async(r,i,n)=>{let t=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ce(e)(r,i,t)},"_encodeAsync"),Gl=Jt(B),Gt=s(e=>async(r,i,n)=>Ce(e)(r,i,n),"_decodeAsync"),Wl=Gt(B),Wt=s(e=>(r,i,n)=>{let t=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ne(e)(r,i,t)},"_safeEncode"),Kl=Wt(B),Kt=s(e=>(r,i,n)=>Ne(e)(r,i,n),"_safeDecode"),Xl=Kt(B),Xt=s(e=>async(r,i,n)=>{let t=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ue(e)(r,i,t)},"_safeEncodeAsync"),Hl=Xt(B),Ht=s(e=>async(r,i,n)=>Ue(e)(r,i,n),"_safeDecodeAsync"),Ql=Ht(B);var H={};de(H,{base64:()=>On,base64url:()=>Qt,bigint:()=>Vn,boolean:()=>Bn,browserEmail:()=>ad,cidrv4:()=>Un,cidrv6:()=>Dn,cuid:()=>bn,cuid2:()=>$n,date:()=>An,datetime:()=>Zn,domain:()=>ud,duration:()=>In,e164:()=>En,email:()=>zn,emoji:()=>jn,extendedDuration:()=>Yl,guid:()=>Sn,hex:()=>ld,hostname:()=>cd,html5Email:()=>nd,idnEmail:()=>od,integer:()=>Ln,ipv4:()=>Pn,ipv6:()=>Cn,ksuid:()=>xn,lowercase:()=>Jn,mac:()=>Nn,md5_base64:()=>md,md5_base64url:()=>pd,md5_hex:()=>dd,nanoid:()=>wn,null:()=>Mn,number:()=>Fn,rfc5322Email:()=>id,sha1_base64:()=>gd,sha1_base64url:()=>vd,sha1_hex:()=>fd,sha256_base64:()=>yd,sha256_base64url:()=>bd,sha256_hex:()=>hd,sha384_base64:()=>_d,sha384_base64url:()=>kd,sha384_hex:()=>$d,sha512_base64:()=>wd,sha512_base64url:()=>Id,sha512_hex:()=>xd,string:()=>Rn,time:()=>Tn,ulid:()=>_n,undefined:()=>qn,unicodeEmail:()=>xc,uppercase:()=>Gn,uuid:()=>$e,uuid4:()=>ed,uuid6:()=>td,uuid7:()=>rd,xid:()=>kn});var bn=/^[cC][^\s-]{8,}$/,$n=/^[0-9a-z]+$/,_n=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,kn=/^[0-9a-vA-V]{20}$/,xn=/^[A-Za-z0-9]{27}$/,wn=/^[a-zA-Z0-9_-]{21}$/,In=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Yl=/^[-+]?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)?)??$/,Sn=/^([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})$/,$e=s(e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,"uuid"),ed=$e(4),td=$e(6),rd=$e(7),zn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,nd=/^[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])?)*$/,id=/^(([^<>()\[\]\\.,;:\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,}))$/,xc=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,od=xc,ad=/^[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])?)*$/,sd="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function jn(){return new RegExp(sd,"u")}s(jn,"emoji");var Pn=/^(?:(?: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])$/,Cn=/^(([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}|:))$/,Nn=s(e=>{let r=X(e??":");return new RegExp(`^(?:[0-9A-F]{2}${r}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${r}){5}[0-9a-f]{2}$`)},"mac"),Un=/^((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])$/,Dn=/^(([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])$/,On=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Qt=/^[A-Za-z0-9_-]*$/,cd=/^(?=.{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])?)*\.?$/,ud=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,En=/^\+(?:[0-9]){6,14}[0-9]$/,wc="(?:(?:\\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])))",An=new RegExp(`^${wc}$`);function Ic(e){let r="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${r}`:e.precision===0?`${r}:[0-5]\\d`:`${r}:[0-5]\\d\\.\\d{${e.precision}}`:`${r}(?::[0-5]\\d(?:\\.\\d+)?)?`}s(Ic,"timeSource");function Tn(e){return new RegExp(`^${Ic(e)}$`)}s(Tn,"time");function Zn(e){let r=Ic({precision:e.precision}),i=["Z"];e.local&&i.push(""),e.offset&&i.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${r}(?:${i.join("|")})`;return new RegExp(`^${wc}T(?:${n})$`)}s(Zn,"datetime");var Rn=s(e=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},"string"),Vn=/^-?\d+n?$/,Ln=/^-?\d+$/,Fn=/^-?\d+(?:\.\d+)?/,Bn=/^(?:true|false)$/i,Mn=/^null$/i;var qn=/^undefined$/i;var Jn=/^[^A-Z]*$/,Gn=/^[^a-z]*$/,ld=/^[0-9a-fA-F]*$/;function et(e,r){return new RegExp(`^[A-Za-z0-9+/]{${e}}${r}$`)}s(et,"fixedBase64");function tt(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}s(tt,"fixedBase64url");var dd=/^[0-9a-fA-F]{32}$/,md=et(22,"=="),pd=tt(22),fd=/^[0-9a-fA-F]{40}$/,gd=et(27,"="),vd=tt(27),hd=/^[0-9a-fA-F]{64}$/,yd=et(43,"="),bd=tt(43),$d=/^[0-9a-fA-F]{96}$/,_d=et(64,""),kd=tt(64),xd=/^[0-9a-fA-F]{128}$/,wd=et(86,"=="),Id=tt(86);var D=h("$ZodCheck",(e,r)=>{var i;e._zod??(e._zod={}),e._zod.def=r,(i=e._zod).onattach??(i.onattach=[])}),zc={number:"number",bigint:"bigint",object:"date"},Yt=h("$ZodCheckLessThan",(e,r)=>{D.init(e,r);let i=zc[typeof r.value];e._zod.onattach.push(n=>{let t=n._zod.bag,o=(r.inclusive?t.maximum:t.exclusiveMaximum)??Number.POSITIVE_INFINITY;r.value<o&&(r.inclusive?t.maximum=r.value:t.exclusiveMaximum=r.value)}),e._zod.check=n=>{(r.inclusive?n.value<=r.value:n.value<r.value)||n.issues.push({origin:i,code:"too_big",maximum:r.value,input:n.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),er=h("$ZodCheckGreaterThan",(e,r)=>{D.init(e,r);let i=zc[typeof r.value];e._zod.onattach.push(n=>{let t=n._zod.bag,o=(r.inclusive?t.minimum:t.exclusiveMinimum)??Number.NEGATIVE_INFINITY;r.value>o&&(r.inclusive?t.minimum=r.value:t.exclusiveMinimum=r.value)}),e._zod.check=n=>{(r.inclusive?n.value>=r.value:n.value>r.value)||n.issues.push({origin:i,code:"too_small",minimum:r.value,input:n.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),Wn=h("$ZodCheckMultipleOf",(e,r)=>{D.init(e,r),e._zod.onattach.push(i=>{var n;(n=i._zod.bag).multipleOf??(n.multipleOf=r.value)}),e._zod.check=i=>{if(typeof i.value!=typeof r.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof i.value=="bigint"?i.value%r.value===BigInt(0):an(i.value,r.value)===0)||i.issues.push({origin:typeof i.value,code:"not_multiple_of",divisor:r.value,input:i.value,inst:e,continue:!r.abort})}}),Kn=h("$ZodCheckNumberFormat",(e,r)=>{D.init(e,r),r.format=r.format||"float64";let i=r.format?.includes("int"),n=i?"int":"number",[t,o]=mn[r.format];e._zod.onattach.push(c=>{let l=c._zod.bag;l.format=r.format,l.minimum=t,l.maximum=o,i&&(l.pattern=Ln)}),e._zod.check=c=>{let l=c.value;if(i){if(!Number.isInteger(l)){c.issues.push({expected:n,format:r.format,code:"invalid_type",continue:!1,input:l,inst:e});return}if(!Number.isSafeInteger(l)){l>0?c.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!r.abort}):c.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!r.abort});return}}l<t&&c.issues.push({origin:"number",input:l,code:"too_small",minimum:t,inclusive:!0,inst:e,continue:!r.abort}),l>o&&c.issues.push({origin:"number",input:l,code:"too_big",maximum:o,inst:e})}}),Xn=h("$ZodCheckBigIntFormat",(e,r)=>{D.init(e,r);let[i,n]=pn[r.format];e._zod.onattach.push(t=>{let o=t._zod.bag;o.format=r.format,o.minimum=i,o.maximum=n}),e._zod.check=t=>{let o=t.value;o<i&&t.issues.push({origin:"bigint",input:o,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!r.abort}),o>n&&t.issues.push({origin:"bigint",input:o,code:"too_big",maximum:n,inst:e})}}),Hn=h("$ZodCheckMaxSize",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!pe(t)&&t.size!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<t&&(n._zod.bag.maximum=r.maximum)}),e._zod.check=n=>{let t=n.value;t.size<=r.maximum||n.issues.push({origin:Ke(t),code:"too_big",maximum:r.maximum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),Qn=h("$ZodCheckMinSize",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!pe(t)&&t.size!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>t&&(n._zod.bag.minimum=r.minimum)}),e._zod.check=n=>{let t=n.value;t.size>=r.minimum||n.issues.push({origin:Ke(t),code:"too_small",minimum:r.minimum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),Yn=h("$ZodCheckSizeEquals",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!pe(t)&&t.size!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag;t.minimum=r.size,t.maximum=r.size,t.size=r.size}),e._zod.check=n=>{let t=n.value,o=t.size;if(o===r.size)return;let c=o>r.size;n.issues.push({origin:Ke(t),...c?{code:"too_big",maximum:r.size}:{code:"too_small",minimum:r.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!r.abort})}}),ei=h("$ZodCheckMaxLength",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!pe(t)&&t.length!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<t&&(n._zod.bag.maximum=r.maximum)}),e._zod.check=n=>{let t=n.value;if(t.length<=r.maximum)return;let c=Xe(t);n.issues.push({origin:c,code:"too_big",maximum:r.maximum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),ti=h("$ZodCheckMinLength",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!pe(t)&&t.length!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>t&&(n._zod.bag.minimum=r.minimum)}),e._zod.check=n=>{let t=n.value;if(t.length>=r.minimum)return;let c=Xe(t);n.issues.push({origin:c,code:"too_small",minimum:r.minimum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),ri=h("$ZodCheckLengthEquals",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!pe(t)&&t.length!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag;t.minimum=r.length,t.maximum=r.length,t.length=r.length}),e._zod.check=n=>{let t=n.value,o=t.length;if(o===r.length)return;let c=Xe(t),l=o>r.length;n.issues.push({origin:c,...l?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!r.abort})}}),De=h("$ZodCheckStringFormat",(e,r)=>{var i,n;D.init(e,r),e._zod.onattach.push(t=>{let o=t._zod.bag;o.format=r.format,r.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(r.pattern))}),r.pattern?(i=e._zod).check??(i.check=t=>{r.pattern.lastIndex=0,!r.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:r.format,input:t.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})}):(n=e._zod).check??(n.check=()=>{})}),ni=h("$ZodCheckRegex",(e,r)=>{De.init(e,r),e._zod.check=i=>{r.pattern.lastIndex=0,!r.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:"regex",input:i.value,pattern:r.pattern.toString(),inst:e,continue:!r.abort})}}),ii=h("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=Jn),De.init(e,r)}),oi=h("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=Gn),De.init(e,r)}),ai=h("$ZodCheckIncludes",(e,r)=>{D.init(e,r);let i=X(r.includes),n=new RegExp(typeof r.position=="number"?`^.{${r.position}}${i}`:i);r.pattern=n,e._zod.onattach.push(t=>{let o=t._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(n)}),e._zod.check=t=>{t.value.includes(r.includes,r.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:t.value,inst:e,continue:!r.abort})}}),si=h("$ZodCheckStartsWith",(e,r)=>{D.init(e,r);let i=new RegExp(`^${X(r.prefix)}.*`);r.pattern??(r.pattern=i),e._zod.onattach.push(n=>{let t=n._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),e._zod.check=n=>{n.value.startsWith(r.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:n.value,inst:e,continue:!r.abort})}}),ci=h("$ZodCheckEndsWith",(e,r)=>{D.init(e,r);let i=new RegExp(`.*${X(r.suffix)}$`);r.pattern??(r.pattern=i),e._zod.onattach.push(n=>{let t=n._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),e._zod.check=n=>{n.value.endsWith(r.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:n.value,inst:e,continue:!r.abort})}});function Sc(e,r,i){e.issues.length&&r.issues.push(...G(i,e.issues))}s(Sc,"handleCheckPropertyResult");var ui=h("$ZodCheckProperty",(e,r)=>{D.init(e,r),e._zod.check=i=>{let n=r.schema._zod.run({value:i.value[r.property],issues:[]},{});if(n instanceof Promise)return n.then(t=>Sc(t,i,r.property));Sc(n,i,r.property)}}),li=h("$ZodCheckMimeType",(e,r)=>{D.init(e,r);let i=new Set(r.mime);e._zod.onattach.push(n=>{n._zod.bag.mime=r.mime}),e._zod.check=n=>{i.has(n.value.type)||n.issues.push({code:"invalid_value",values:r.mime,input:n.value.type,inst:e,continue:!r.abort})}}),di=h("$ZodCheckOverwrite",(e,r)=>{D.init(e,r),e._zod.check=i=>{i.value=r.tx(i.value)}});var mi=class mi{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 n=r.split(`
3
- `).filter(c=>c),t=Math.min(...n.map(c=>c.length-c.trimStart().length)),o=n.map(c=>c.slice(t)).map(c=>" ".repeat(this.indent*2)+c);for(let c of o)this.content.push(c)}compile(){let r=Function,i=this?.args,t=[...(this?.content??[""]).map(o=>` ${o}`)];return new r(...i,t.join(`
4
- `))}};s(mi,"Doc");var rt=mi;var pi={major:4,minor:1,patch:13};var z=h("$ZodType",(e,r)=>{var i;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=pi;let n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(let t of n)for(let o of t._zod.onattach)o(e);if(n.length===0)(i=e._zod).deferred??(i.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=s((c,l,f)=>{let g=he(c),p;for(let y of l){if(y._zod.def.when){if(!y._zod.def.when(c))continue}else if(g)continue;let m=c.issues.length,u=y._zod.check(c);if(u instanceof Promise&&f?.async===!1)throw new ee;if(p||u instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await u,c.issues.length!==m&&(g||(g=he(c,m)))});else{if(c.issues.length===m)continue;g||(g=he(c,m))}}return p?p.then(()=>c):c},"runChecks"),o=s((c,l,f)=>{if(he(c))return c.aborted=!0,c;let g=t(l,n,f);if(g instanceof Promise){if(f.async===!1)throw new ee;return g.then(p=>e._zod.parse(p,f))}return e._zod.parse(g,f)},"handleCanaryResult");e._zod.run=(c,l)=>{if(l.skipChecks)return e._zod.parse(c,l);if(l.direction==="backward"){let g=e._zod.parse({value:c.value,issues:[]},{...l,skipChecks:!0});return g instanceof Promise?g.then(p=>o(p,c,l)):o(g,c,l)}let f=e._zod.parse(c,l);if(f instanceof Promise){if(l.async===!1)throw new ee;return f.then(g=>t(g,n,l))}return t(f,n,l)}}e["~standard"]={validate:s(t=>{try{let o=hn(e,t);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return yn(e,t).then(c=>c.success?{value:c.data}:{issues:c.error?.issues})}},"validate"),vendor:"zod",version:1}}),_e=h("$ZodString",(e,r)=>{z.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Rn(e._zod.bag),e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:e}),i}}),U=h("$ZodStringFormat",(e,r)=>{De.init(e,r),_e.init(e,r)}),gi=h("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=Sn),U.init(e,r)}),vi=h("$ZodUUID",(e,r)=>{if(r.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(n===void 0)throw new Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=$e(n))}else r.pattern??(r.pattern=$e());U.init(e,r)}),hi=h("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=zn),U.init(e,r)}),yi=h("$ZodURL",(e,r)=>{U.init(e,r),e._zod.check=i=>{try{let n=i.value.trim(),t=new URL(n);r.hostname&&(r.hostname.lastIndex=0,r.hostname.test(t.hostname)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:i.value,inst:e,continue:!r.abort})),r.protocol&&(r.protocol.lastIndex=0,r.protocol.test(t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:i.value,inst:e,continue:!r.abort})),r.normalize?i.value=t.href:i.value=n;return}catch{i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:e,continue:!r.abort})}}}),bi=h("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=jn()),U.init(e,r)}),$i=h("$ZodNanoID",(e,r)=>{r.pattern??(r.pattern=wn),U.init(e,r)}),_i=h("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=bn),U.init(e,r)}),ki=h("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=$n),U.init(e,r)}),xi=h("$ZodULID",(e,r)=>{r.pattern??(r.pattern=_n),U.init(e,r)}),wi=h("$ZodXID",(e,r)=>{r.pattern??(r.pattern=kn),U.init(e,r)}),Ii=h("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=xn),U.init(e,r)}),Si=h("$ZodISODateTime",(e,r)=>{r.pattern??(r.pattern=Zn(r)),U.init(e,r)}),zi=h("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=An),U.init(e,r)}),ji=h("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=Tn(r)),U.init(e,r)}),Pi=h("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=In),U.init(e,r)}),Ci=h("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=Pn),U.init(e,r),e._zod.bag.format="ipv4"}),Ni=h("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=Cn),U.init(e,r),e._zod.bag.format="ipv6",e._zod.check=i=>{try{new URL(`http://[${i.value}]`)}catch{i.issues.push({code:"invalid_format",format:"ipv6",input:i.value,inst:e,continue:!r.abort})}}}),Ui=h("$ZodMAC",(e,r)=>{r.pattern??(r.pattern=Nn(r.delimiter)),U.init(e,r),e._zod.bag.format="mac"}),Di=h("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=Un),U.init(e,r)}),Oi=h("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=Dn),U.init(e,r),e._zod.check=i=>{let n=i.value.split("/");try{if(n.length!==2)throw new Error;let[t,o]=n;if(!o)throw new Error;let c=Number(o);if(`${c}`!==o)throw new Error;if(c<0||c>128)throw new Error;new URL(`http://[${t}]`)}catch{i.issues.push({code:"invalid_format",format:"cidrv6",input:i.value,inst:e,continue:!r.abort})}}});function Ei(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}s(Ei,"isValidBase64");var Ai=h("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=On),U.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=i=>{Ei(i.value)||i.issues.push({code:"invalid_format",format:"base64",input:i.value,inst:e,continue:!r.abort})}});function Rc(e){if(!Qt.test(e))return!1;let r=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),i=r.padEnd(Math.ceil(r.length/4)*4,"=");return Ei(i)}s(Rc,"isValidBase64URL");var Ti=h("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=Qt),U.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=i=>{Rc(i.value)||i.issues.push({code:"invalid_format",format:"base64url",input:i.value,inst:e,continue:!r.abort})}}),Zi=h("$ZodE164",(e,r)=>{r.pattern??(r.pattern=En),U.init(e,r)});function Vc(e,r=null){try{let i=e.split(".");if(i.length!==3)return!1;let[n]=i;if(!n)return!1;let t=JSON.parse(atob(n));return!("typ"in t&&t?.typ!=="JWT"||!t.alg||r&&(!("alg"in t)||t.alg!==r))}catch{return!1}}s(Vc,"isValidJWT");var Ri=h("$ZodJWT",(e,r)=>{U.init(e,r),e._zod.check=i=>{Vc(i.value,r.alg)||i.issues.push({code:"invalid_format",format:"jwt",input:i.value,inst:e,continue:!r.abort})}}),Vi=h("$ZodCustomStringFormat",(e,r)=>{U.init(e,r),e._zod.check=i=>{r.fn(i.value)||i.issues.push({code:"invalid_format",format:r.format,input:i.value,inst:e,continue:!r.abort})}}),ar=h("$ZodNumber",(e,r)=>{z.init(e,r),e._zod.pattern=e._zod.bag.pattern??Fn,e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=Number(i.value)}catch{}let t=i.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return i;let o=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:"Infinity":void 0;return i.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...o?{received:o}:{}}),i}}),Li=h("$ZodNumberFormat",(e,r)=>{Kn.init(e,r),ar.init(e,r)}),nt=h("$ZodBoolean",(e,r)=>{z.init(e,r),e._zod.pattern=Bn,e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=!!i.value}catch{}let t=i.value;return typeof t=="boolean"||i.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),i}}),sr=h("$ZodBigInt",(e,r)=>{z.init(e,r),e._zod.pattern=Vn,e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=BigInt(i.value)}catch{}return typeof i.value=="bigint"||i.issues.push({expected:"bigint",code:"invalid_type",input:i.value,inst:e}),i}}),Fi=h("$ZodBigIntFormat",(e,r)=>{Xn.init(e,r),sr.init(e,r)}),Bi=h("$ZodSymbol",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;return typeof t=="symbol"||i.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),i}}),Mi=h("$ZodUndefined",(e,r)=>{z.init(e,r),e._zod.pattern=qn,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(i,n)=>{let t=i.value;return typeof t>"u"||i.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),i}}),qi=h("$ZodNull",(e,r)=>{z.init(e,r),e._zod.pattern=Mn,e._zod.values=new Set([null]),e._zod.parse=(i,n)=>{let t=i.value;return t===null||i.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),i}}),Ji=h("$ZodAny",(e,r)=>{z.init(e,r),e._zod.parse=i=>i}),Gi=h("$ZodUnknown",(e,r)=>{z.init(e,r),e._zod.parse=i=>i}),Wi=h("$ZodNever",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>(i.issues.push({expected:"never",code:"invalid_type",input:i.value,inst:e}),i)}),Ki=h("$ZodVoid",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;return typeof t>"u"||i.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),i}}),Xi=h("$ZodDate",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=new Date(i.value)}catch{}let t=i.value,o=t instanceof Date;return o&&!Number.isNaN(t.getTime())||i.issues.push({expected:"date",code:"invalid_type",input:t,...o?{received:"Invalid Date"}:{},inst:e}),i}});function Pc(e,r,i){e.issues.length&&r.issues.push(...G(i,e.issues)),r.value[i]=e.value}s(Pc,"handleArrayResult");var Hi=h("$ZodArray",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;if(!Array.isArray(t))return i.issues.push({expected:"array",code:"invalid_type",input:t,inst:e}),i;i.value=Array(t.length);let o=[];for(let c=0;c<t.length;c++){let l=t[c],f=r.element._zod.run({value:l,issues:[]},n);f instanceof Promise?o.push(f.then(g=>Pc(g,i,c))):Pc(f,i,c)}return o.length?Promise.all(o).then(()=>i):i}});function or(e,r,i,n){e.issues.length&&r.issues.push(...G(i,e.issues)),e.value===void 0?i in n&&(r.value[i]=void 0):r.value[i]=e.value}s(or,"handlePropertyResult");function Lc(e){let r=Object.keys(e.shape);for(let n of r)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);let i=dn(e.shape);return{...e,keys:r,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(i)}}s(Lc,"normalizeDef");function Fc(e,r,i,n,t,o){let c=[],l=t.keySet,f=t.catchall._zod,g=f.def.type;for(let p in r){if(l.has(p))continue;if(g==="never"){c.push(p);continue}let y=f.run({value:r[p],issues:[]},n);y instanceof Promise?e.push(y.then(m=>or(m,i,p,r))):or(y,i,p,r)}return c.length&&i.issues.push({code:"unrecognized_keys",keys:c,input:r,inst:o}),e.length?Promise.all(e).then(()=>i):i}s(Fc,"handleCatchall");var Bc=h("$ZodObject",(e,r)=>{if(z.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let l=r.shape;Object.defineProperty(r,"shape",{get:s(()=>{let f={...l};return Object.defineProperty(r,"shape",{value:f}),f},"get")})}let n=ze(()=>Lc(r));N(e._zod,"propValues",()=>{let l=r.shape,f={};for(let g in l){let p=l[g]._zod;if(p.values){f[g]??(f[g]=new Set);for(let y of p.values)f[g].add(y)}}return f});let t=be,o=r.catchall,c;e._zod.parse=(l,f)=>{c??(c=n.value);let g=l.value;if(!t(g))return l.issues.push({expected:"object",code:"invalid_type",input:g,inst:e}),l;l.value={};let p=[],y=c.shape;for(let m of c.keys){let d=y[m]._zod.run({value:g[m],issues:[]},f);d instanceof Promise?p.push(d.then(v=>or(v,l,m,g))):or(d,l,m,g)}return o?Fc(p,g,l,f,n.value,e):p.length?Promise.all(p).then(()=>l):l}}),Qi=h("$ZodObjectJIT",(e,r)=>{Bc.init(e,r);let i=e._zod.parse,n=ze(()=>Lc(r)),t=s(m=>{let u=new rt(["shape","payload","ctx"]),d=n.value,v=s(S=>{let C=Vt(S);return`shape[${C}]._zod.run({ value: input[${C}], issues: [] }, ctx)`},"parseStr");u.write("const input = payload.value;");let $=Object.create(null),w=0;for(let S of d.keys)$[S]=`key_${w++}`;u.write("const newResult = {};");for(let S of d.keys){let C=$[S],A=Vt(S);u.write(`const ${C} = ${v(S)};`),u.write(`
1
+ "use strict";var Zt=Object.defineProperty;var yl=Object.getOwnPropertyDescriptor;var bl=Object.getOwnPropertyNames;var $l=Object.prototype.hasOwnProperty;var s=(e,r)=>Zt(e,"name",{value:r,configurable:!0});var de=(e,r)=>{for(var i in r)Zt(e,i,{get:r[i],enumerable:!0})},_l=(e,r,i,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of bl(r))!$l.call(e,t)&&t!==i&&Zt(e,t,{get:()=>r[t],enumerable:!(n=yl(r,t))||n.enumerable});return e};var kl=e=>_l(Zt({},"__esModule",{value:!0}),e);var vv={};de(vv,{getLearnCardNetworkPlugin:()=>fv,getVerifyBoostPlugin:()=>gv});module.exports=kl(vv);var en=require("@learncard/network-brain-client");var a={};de(a,{$brand:()=>Vt,$input:()=>va,$output:()=>ga,NEVER:()=>tn,TimePrecision:()=>_a,ZodAny:()=>sc,ZodArray:()=>dc,ZodBase64:()=>Ls,ZodBase64URL:()=>Fs,ZodBigInt:()=>Ut,ZodBigIntFormat:()=>qs,ZodBoolean:()=>Nt,ZodCIDRv4:()=>Vs,ZodCIDRv6:()=>Rs,ZodCUID:()=>Us,ZodCUID2:()=>Ds,ZodCatch:()=>Cc,ZodCodec:()=>tu,ZodCustom:()=>Mr,ZodCustomStringFormat:()=>Pt,ZodDate:()=>Lr,ZodDefault:()=>wc,ZodDiscriminatedUnion:()=>pc,ZodE164:()=>Bs,ZodEmail:()=>Ps,ZodEmoji:()=>Cs,ZodEnum:()=>zt,ZodError:()=>Yp,ZodFile:()=>_c,ZodFirstPartyTypeKind:()=>ru,ZodFunction:()=>Vc,ZodGUID:()=>Ar,ZodIPv4:()=>Ts,ZodIPv6:()=>Zs,ZodISODate:()=>Ur,ZodISODateTime:()=>Nr,ZodISODuration:()=>Or,ZodISOTime:()=>Dr,ZodIntersection:()=>mc,ZodIssueCode:()=>ff,ZodJWT:()=>Ms,ZodKSUID:()=>As,ZodLazy:()=>Ac,ZodLiteral:()=>$c,ZodMAC:()=>ec,ZodMap:()=>yc,ZodNaN:()=>Uc,ZodNanoID:()=>Ns,ZodNever:()=>cc,ZodNonOptional:()=>Ys,ZodNull:()=>oc,ZodNullable:()=>xc,ZodNumber:()=>Ct,ZodNumberFormat:()=>Re,ZodObject:()=>Br,ZodOptional:()=>Qs,ZodPipe:()=>eu,ZodPrefault:()=>Sc,ZodPromise:()=>Zc,ZodReadonly:()=>Dc,ZodRealError:()=>J,ZodRecord:()=>Ks,ZodSet:()=>bc,ZodString:()=>jt,ZodStringFormat:()=>O,ZodSuccess:()=>Pc,ZodSymbol:()=>nc,ZodTemplateLiteral:()=>Ec,ZodTransform:()=>kc,ZodTuple:()=>gc,ZodType:()=>P,ZodULID:()=>Os,ZodURL:()=>Rr,ZodUUID:()=>ce,ZodUndefined:()=>ic,ZodUnion:()=>Gs,ZodUnknown:()=>uc,ZodVoid:()=>lc,ZodXID:()=>Es,_ZodString:()=>js,_default:()=>Ic,_function:()=>of,any:()=>Zm,array:()=>Fr,base64:()=>_m,base64url:()=>km,bigint:()=>Dm,boolean:()=>rc,catch:()=>Nc,check:()=>af,cidrv4:()=>bm,cidrv6:()=>$m,clone:()=>R,codec:()=>tf,coerce:()=>nu,config:()=>T,core:()=>ue,cuid:()=>dm,cuid2:()=>pm,custom:()=>sf,date:()=>Rm,decode:()=>bs,decodeAsync:()=>_s,describe:()=>uf,discriminatedUnion:()=>qm,e164:()=>xm,email:()=>tm,emoji:()=>cm,encode:()=>ys,encodeAsync:()=>$s,endsWith:()=>bt,enum:()=>Xs,file:()=>Hm,flattenError:()=>Qe,float32:()=>Pm,float64:()=>Cm,formatError:()=>Ye,function:()=>of,getErrorMap:()=>vf,globalRegistry:()=>L,gt:()=>se,gte:()=>q,guid:()=>rm,hash:()=>jm,hex:()=>zm,hostname:()=>Sm,httpUrl:()=>um,includes:()=>ht,instanceof:()=>lf,int:()=>zs,int32:()=>Nm,int64:()=>Om,intersection:()=>fc,ipv4:()=>vm,ipv6:()=>ym,iso:()=>Er,json:()=>pf,jwt:()=>wm,keyof:()=>Lm,ksuid:()=>gm,lazy:()=>Tc,length:()=>Te,literal:()=>Xm,locales:()=>lt,looseObject:()=>Mm,lowercase:()=>gt,lt:()=>ae,lte:()=>Y,mac:()=>hm,map:()=>Gm,maxLength:()=>Ae,maxSize:()=>Ee,meta:()=>cf,mime:()=>$t,minLength:()=>ye,minSize:()=>xe,multipleOf:()=>ke,nan:()=>ef,nanoid:()=>lm,nativeEnum:()=>Km,negative:()=>Xa,never:()=>Js,nonnegative:()=>Qa,nonoptional:()=>jc,nonpositive:()=>Ha,normalize:()=>_t,null:()=>ac,nullable:()=>Zr,nullish:()=>Qm,number:()=>tc,object:()=>Fm,optional:()=>Tr,overwrite:()=>ne,parse:()=>fs,parseAsync:()=>gs,partialRecord:()=>Jm,pipe:()=>Vr,positive:()=>Ka,prefault:()=>zc,preprocess:()=>mf,prettifyError:()=>hn,promise:()=>nf,property:()=>Ya,readonly:()=>Oc,record:()=>hc,refine:()=>Rc,regex:()=>ft,regexes:()=>Q,registry:()=>lr,safeDecode:()=>xs,safeDecodeAsync:()=>Is,safeEncode:()=>ks,safeEncodeAsync:()=>ws,safeParse:()=>vs,safeParseAsync:()=>hs,set:()=>Wm,setErrorMap:()=>gf,size:()=>mt,slugify:()=>It,startsWith:()=>yt,strictObject:()=>Bm,string:()=>Ss,stringFormat:()=>Im,stringbool:()=>df,success:()=>Ym,superRefine:()=>Lc,symbol:()=>Am,templateLiteral:()=>rf,toJSONSchema:()=>us,toLowerCase:()=>xt,toUpperCase:()=>wt,transform:()=>Hs,treeifyError:()=>vn,trim:()=>kt,tuple:()=>vc,uint32:()=>Um,uint64:()=>Em,ulid:()=>mm,undefined:()=>Tm,union:()=>Ws,unknown:()=>Ve,uppercase:()=>vt,url:()=>sm,util:()=>x,uuid:()=>nm,uuidv4:()=>im,uuidv6:()=>om,uuidv7:()=>am,void:()=>Vm,xid:()=>fm});var ue={};de(ue,{$ZodAny:()=>Gi,$ZodArray:()=>Qi,$ZodAsyncError:()=>te,$ZodBase64:()=>Ti,$ZodBase64URL:()=>Zi,$ZodBigInt:()=>sr,$ZodBigIntFormat:()=>Bi,$ZodBoolean:()=>nt,$ZodCIDRv4:()=>Oi,$ZodCIDRv6:()=>Ei,$ZodCUID:()=>ki,$ZodCUID2:()=>xi,$ZodCatch:()=>vo,$ZodCheck:()=>D,$ZodCheckBigIntFormat:()=>Hn,$ZodCheckEndsWith:()=>ci,$ZodCheckGreaterThan:()=>er,$ZodCheckIncludes:()=>si,$ZodCheckLengthEquals:()=>ni,$ZodCheckLessThan:()=>Yt,$ZodCheckLowerCase:()=>oi,$ZodCheckMaxLength:()=>ti,$ZodCheckMaxSize:()=>Qn,$ZodCheckMimeType:()=>di,$ZodCheckMinLength:()=>ri,$ZodCheckMinSize:()=>Yn,$ZodCheckMultipleOf:()=>Kn,$ZodCheckNumberFormat:()=>Xn,$ZodCheckOverwrite:()=>pi,$ZodCheckProperty:()=>li,$ZodCheckRegex:()=>ii,$ZodCheckSizeEquals:()=>ei,$ZodCheckStartsWith:()=>ui,$ZodCheckStringFormat:()=>De,$ZodCheckUpperCase:()=>ai,$ZodCodec:()=>it,$ZodCustom:()=>wo,$ZodCustomStringFormat:()=>Li,$ZodDate:()=>Hi,$ZodDefault:()=>po,$ZodDiscriminatedUnion:()=>eo,$ZodE164:()=>Vi,$ZodEmail:()=>yi,$ZodEmoji:()=>$i,$ZodEncodeError:()=>pe,$ZodEnum:()=>oo,$ZodError:()=>He,$ZodFile:()=>so,$ZodFunction:()=>_o,$ZodGUID:()=>vi,$ZodIPv4:()=>Ni,$ZodIPv6:()=>Ui,$ZodISODate:()=>ji,$ZodISODateTime:()=>zi,$ZodISODuration:()=>Ci,$ZodISOTime:()=>Pi,$ZodIntersection:()=>to,$ZodJWT:()=>Ri,$ZodKSUID:()=>Si,$ZodLazy:()=>xo,$ZodLiteral:()=>ao,$ZodMAC:()=>Di,$ZodMap:()=>no,$ZodNaN:()=>ho,$ZodNanoID:()=>_i,$ZodNever:()=>Ki,$ZodNonOptional:()=>fo,$ZodNull:()=>Ji,$ZodNullable:()=>lo,$ZodNumber:()=>ar,$ZodNumberFormat:()=>Fi,$ZodObject:()=>qu,$ZodObjectJIT:()=>Yi,$ZodOptional:()=>co,$ZodPipe:()=>yo,$ZodPrefault:()=>mo,$ZodPromise:()=>ko,$ZodReadonly:()=>bo,$ZodRealError:()=>M,$ZodRecord:()=>ro,$ZodRegistry:()=>Oe,$ZodSet:()=>io,$ZodString:()=>_e,$ZodStringFormat:()=>U,$ZodSuccess:()=>go,$ZodSymbol:()=>Mi,$ZodTemplateLiteral:()=>$o,$ZodTransform:()=>uo,$ZodTuple:()=>cr,$ZodType:()=>z,$ZodULID:()=>wi,$ZodURL:()=>bi,$ZodUUID:()=>hi,$ZodUndefined:()=>qi,$ZodUnion:()=>ur,$ZodUnknown:()=>Wi,$ZodVoid:()=>Xi,$ZodXID:()=>Ii,$brand:()=>Vt,$constructor:()=>h,$input:()=>va,$output:()=>ga,Doc:()=>rt,JSONSchema:()=>Hu,JSONSchemaGenerator:()=>St,NEVER:()=>tn,TimePrecision:()=>_a,_any:()=>Fa,_array:()=>es,_base64:()=>zr,_base64url:()=>jr,_bigint:()=>Ea,_boolean:()=>Da,_catch:()=>Jp,_check:()=>Xu,_cidrv4:()=>Ir,_cidrv6:()=>Sr,_coercedBigint:()=>Aa,_coercedBoolean:()=>Oa,_coercedDate:()=>Ga,_coercedNumber:()=>za,_coercedString:()=>ba,_cuid:()=>yr,_cuid2:()=>br,_custom:()=>rs,_date:()=>Ja,_decode:()=>qt,_decodeAsync:()=>Gt,_default:()=>Bp,_discriminatedUnion:()=>Np,_e164:()=>Pr,_email:()=>dr,_emoji:()=>vr,_encode:()=>Mt,_encodeAsync:()=>Jt,_endsWith:()=>bt,_enum:()=>Tp,_file:()=>ts,_float32:()=>Pa,_float64:()=>Ca,_gt:()=>se,_gte:()=>q,_guid:()=>dt,_includes:()=>ht,_int:()=>ja,_int32:()=>Na,_int64:()=>Ta,_intersection:()=>Up,_ipv4:()=>xr,_ipv6:()=>wr,_isoDate:()=>xa,_isoDateTime:()=>ka,_isoDuration:()=>Ia,_isoTime:()=>wa,_jwt:()=>Cr,_ksuid:()=>kr,_lazy:()=>Xp,_length:()=>Te,_literal:()=>Vp,_lowercase:()=>gt,_lt:()=>ae,_lte:()=>Y,_mac:()=>$a,_map:()=>Ep,_max:()=>Y,_maxLength:()=>Ae,_maxSize:()=>Ee,_mime:()=>$t,_min:()=>q,_minLength:()=>ye,_minSize:()=>xe,_multipleOf:()=>ke,_nan:()=>Wa,_nanoid:()=>hr,_nativeEnum:()=>Zp,_negative:()=>Xa,_never:()=>Ma,_nonnegative:()=>Qa,_nonoptional:()=>Mp,_nonpositive:()=>Ha,_normalize:()=>_t,_null:()=>La,_nullable:()=>Fp,_number:()=>Sa,_optional:()=>Lp,_overwrite:()=>ne,_parse:()=>Pe,_parseAsync:()=>Ce,_pipe:()=>Gp,_positive:()=>Ka,_promise:()=>Hp,_property:()=>Ya,_readonly:()=>Wp,_record:()=>Op,_refine:()=>ns,_regex:()=>ft,_safeDecode:()=>Kt,_safeDecodeAsync:()=>Ht,_safeEncode:()=>Wt,_safeEncodeAsync:()=>Xt,_safeParse:()=>Ne,_safeParseAsync:()=>Ue,_set:()=>Ap,_size:()=>mt,_slugify:()=>It,_startsWith:()=>yt,_string:()=>ya,_stringFormat:()=>Ze,_stringbool:()=>ss,_success:()=>qp,_superRefine:()=>is,_symbol:()=>Va,_templateLiteral:()=>Kp,_toLowerCase:()=>xt,_toUpperCase:()=>wt,_transform:()=>Rp,_trim:()=>kt,_tuple:()=>Dp,_uint32:()=>Ua,_uint64:()=>Za,_ulid:()=>$r,_undefined:()=>Ra,_union:()=>Cp,_unknown:()=>Ba,_uppercase:()=>vt,_url:()=>pt,_uuid:()=>pr,_uuidv4:()=>mr,_uuidv6:()=>fr,_uuidv7:()=>gr,_void:()=>qa,_xid:()=>_r,clone:()=>R,config:()=>T,decode:()=>Xl,decodeAsync:()=>Ql,describe:()=>os,encode:()=>Kl,encodeAsync:()=>Hl,flattenError:()=>Qe,formatError:()=>Ye,globalConfig:()=>Me,globalRegistry:()=>L,isValidBase64:()=>Ai,isValidBase64URL:()=>Lu,isValidJWT:()=>Fu,locales:()=>lt,meta:()=>as,parse:()=>Ft,parseAsync:()=>Bt,prettifyError:()=>hn,regexes:()=>Q,registry:()=>lr,safeDecode:()=>ed,safeDecodeAsync:()=>rd,safeEncode:()=>Yl,safeEncodeAsync:()=>td,safeParse:()=>yn,safeParseAsync:()=>bn,toDotPath:()=>wu,toJSONSchema:()=>us,treeifyError:()=>vn,util:()=>x,version:()=>fi});var tn=Object.freeze({status:"aborted"});function h(e,r,i){function n(f,g){if(f._zod||Object.defineProperty(f,"_zod",{value:{def:g,constr:u,traits:new Set},enumerable:!1}),f._zod.traits.has(e))return;f._zod.traits.add(e),r(f,g);let m=u.prototype,y=Object.keys(m);for(let p=0;p<y.length;p++){let c=y[p];c in f||(f[c]=m[c].bind(f))}}s(n,"init");let t=i?.Parent??Object,l=class l extends t{};s(l,"Definition");let o=l;Object.defineProperty(o,"name",{value:e});function u(f){var g;let m=i?.Parent?new o:this;n(m,f),(g=m._zod).deferred??(g.deferred=[]);for(let y of m._zod.deferred)y();return m}return s(u,"_"),Object.defineProperty(u,"init",{value:n}),Object.defineProperty(u,Symbol.hasInstance,{value:s(f=>i?.Parent&&f instanceof i.Parent?!0:f?._zod?.traits?.has(e),"value")}),Object.defineProperty(u,"name",{value:e}),u}s(h,"$constructor");var Vt=Symbol("zod_brand"),nn=class nn extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};s(nn,"$ZodAsyncError");var te=nn,on=class on extends Error{constructor(r){super(`Encountered unidirectional transform during encode: ${r}`),this.name="ZodEncodeError"}};s(on,"$ZodEncodeError");var pe=on,Me={};function T(e){return e&&Object.assign(Me,e),Me}s(T,"config");var x={};de(x,{BIGINT_FORMAT_RANGES:()=>fn,Class:()=>an,NUMBER_FORMAT_RANGES:()=>mn,aborted:()=>he,allowsEval:()=>cn,assert:()=>zl,assertEqual:()=>xl,assertIs:()=>Il,assertNever:()=>Sl,assertNotEqual:()=>wl,assignProp:()=>fe,base64ToUint8Array:()=>_u,base64urlToUint8Array:()=>Ml,cached:()=>ze,captureStackTrace:()=>Lt,cleanEnum:()=>Bl,cleanRegex:()=>Ge,clone:()=>R,cloneDef:()=>Pl,createTransparentProxy:()=>El,defineLazy:()=>N,esc:()=>Rt,escapeRegex:()=>H,extend:()=>Zl,finalizeIssue:()=>K,floatSafeRemainder:()=>sn,getElementAtPath:()=>Cl,getEnumValues:()=>Je,getLengthableOrigin:()=>Xe,getParsedType:()=>Ol,getSizableOrigin:()=>Ke,hexToUint8Array:()=>Jl,isObject:()=>be,isPlainObject:()=>ve,issue:()=>je,joinValues:()=>b,jsonStringifyReplacer:()=>Se,merge:()=>Rl,mergeDefs:()=>ge,normalizeParams:()=>k,nullish:()=>me,numKeys:()=>Dl,objectClone:()=>jl,omit:()=>Tl,optionalKeys:()=>pn,partial:()=>Ll,pick:()=>Al,prefixIssues:()=>W,primitiveTypes:()=>dn,promiseAllObject:()=>Nl,propertyKeyTypes:()=>We,randomString:()=>Ul,required:()=>Fl,safeExtend:()=>Vl,shallowClone:()=>ln,slugify:()=>un,stringifyPrimitive:()=>_,uint8ArrayToBase64:()=>ku,uint8ArrayToBase64url:()=>ql,uint8ArrayToHex:()=>Gl,unwrapMessage:()=>qe});function xl(e){return e}s(xl,"assertEqual");function wl(e){return e}s(wl,"assertNotEqual");function Il(e){}s(Il,"assertIs");function Sl(e){throw new Error}s(Sl,"assertNever");function zl(e){}s(zl,"assert");function Je(e){let r=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,t])=>r.indexOf(+n)===-1).map(([n,t])=>t)}s(Je,"getEnumValues");function b(e,r="|"){return e.map(i=>_(i)).join(r)}s(b,"joinValues");function Se(e,r){return typeof r=="bigint"?r.toString():r}s(Se,"jsonStringifyReplacer");function ze(e){return{get value(){{let i=e();return Object.defineProperty(this,"value",{value:i}),i}throw new Error("cached value already set")}}}s(ze,"cached");function me(e){return e==null}s(me,"nullish");function Ge(e){let r=e.startsWith("^")?1:0,i=e.endsWith("$")?e.length-1:e.length;return e.slice(r,i)}s(Ge,"cleanRegex");function sn(e,r){let i=(e.toString().split(".")[1]||"").length,n=r.toString(),t=(n.split(".")[1]||"").length;if(t===0&&/\d?e-\d?/.test(n)){let f=n.match(/\d?e-(\d?)/);f?.[1]&&(t=Number.parseInt(f[1]))}let o=i>t?i:t,u=Number.parseInt(e.toFixed(o).replace(".","")),l=Number.parseInt(r.toFixed(o).replace(".",""));return u%l/10**o}s(sn,"floatSafeRemainder");var $u=Symbol("evaluating");function N(e,r,i){let n;Object.defineProperty(e,r,{get(){if(n!==$u)return n===void 0&&(n=$u,n=i()),n},set(t){Object.defineProperty(e,r,{value:t})},configurable:!0})}s(N,"defineLazy");function jl(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}s(jl,"objectClone");function fe(e,r,i){Object.defineProperty(e,r,{value:i,writable:!0,enumerable:!0,configurable:!0})}s(fe,"assignProp");function ge(...e){let r={};for(let i of e){let n=Object.getOwnPropertyDescriptors(i);Object.assign(r,n)}return Object.defineProperties({},r)}s(ge,"mergeDefs");function Pl(e){return ge(e._zod.def)}s(Pl,"cloneDef");function Cl(e,r){return r?r.reduce((i,n)=>i?.[n],e):e}s(Cl,"getElementAtPath");function Nl(e){let r=Object.keys(e),i=r.map(n=>e[n]);return Promise.all(i).then(n=>{let t={};for(let o=0;o<r.length;o++)t[r[o]]=n[o];return t})}s(Nl,"promiseAllObject");function Ul(e=10){let r="abcdefghijklmnopqrstuvwxyz",i="";for(let n=0;n<e;n++)i+=r[Math.floor(Math.random()*r.length)];return i}s(Ul,"randomString");function Rt(e){return JSON.stringify(e)}s(Rt,"esc");function un(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}s(un,"slugify");var Lt="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function be(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}s(be,"isObject");var cn=ze(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function ve(e){if(be(e)===!1)return!1;let r=e.constructor;if(r===void 0||typeof r!="function")return!0;let i=r.prototype;return!(be(i)===!1||Object.prototype.hasOwnProperty.call(i,"isPrototypeOf")===!1)}s(ve,"isPlainObject");function ln(e){return ve(e)?{...e}:Array.isArray(e)?[...e]:e}s(ln,"shallowClone");function Dl(e){let r=0;for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&r++;return r}s(Dl,"numKeys");var Ol=s(e=>{let r=typeof e;switch(r){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: ${r}`)}},"getParsedType"),We=new Set(["string","number","symbol"]),dn=new Set(["string","number","bigint","boolean","symbol","undefined"]);function H(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}s(H,"escapeRegex");function R(e,r,i){let n=new e._zod.constr(r??e._zod.def);return(!r||i?.parent)&&(n._zod.parent=e),n}s(R,"clone");function k(e){let r=e;if(!r)return{};if(typeof r=="string")return{error:s(()=>r,"error")};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:s(()=>r.error,"error")}:r}s(k,"normalizeParams");function El(e){let r;return new Proxy({},{get(i,n,t){return r??(r=e()),Reflect.get(r,n,t)},set(i,n,t,o){return r??(r=e()),Reflect.set(r,n,t,o)},has(i,n){return r??(r=e()),Reflect.has(r,n)},deleteProperty(i,n){return r??(r=e()),Reflect.deleteProperty(r,n)},ownKeys(i){return r??(r=e()),Reflect.ownKeys(r)},getOwnPropertyDescriptor(i,n){return r??(r=e()),Reflect.getOwnPropertyDescriptor(r,n)},defineProperty(i,n,t){return r??(r=e()),Reflect.defineProperty(r,n,t)}})}s(El,"createTransparentProxy");function _(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}s(_,"stringifyPrimitive");function pn(e){return Object.keys(e).filter(r=>e[r]._zod.optin==="optional"&&e[r]._zod.optout==="optional")}s(pn,"optionalKeys");var mn={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]},fn={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Al(e,r){let i=e._zod.def,n=ge(e._zod.def,{get shape(){let t={};for(let o in r){if(!(o in i.shape))throw new Error(`Unrecognized key: "${o}"`);r[o]&&(t[o]=i.shape[o])}return fe(this,"shape",t),t},checks:[]});return R(e,n)}s(Al,"pick");function Tl(e,r){let i=e._zod.def,n=ge(e._zod.def,{get shape(){let t={...e._zod.def.shape};for(let o in r){if(!(o in i.shape))throw new Error(`Unrecognized key: "${o}"`);r[o]&&delete t[o]}return fe(this,"shape",t),t},checks:[]});return R(e,n)}s(Tl,"omit");function Zl(e,r){if(!ve(r))throw new Error("Invalid input to extend: expected a plain object");let i=e._zod.def.checks;if(i&&i.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");let t=ge(e._zod.def,{get shape(){let o={...e._zod.def.shape,...r};return fe(this,"shape",o),o},checks:[]});return R(e,t)}s(Zl,"extend");function Vl(e,r){if(!ve(r))throw new Error("Invalid input to safeExtend: expected a plain object");let i={...e._zod.def,get shape(){let n={...e._zod.def.shape,...r};return fe(this,"shape",n),n},checks:e._zod.def.checks};return R(e,i)}s(Vl,"safeExtend");function Rl(e,r){let i=ge(e._zod.def,{get shape(){let n={...e._zod.def.shape,...r._zod.def.shape};return fe(this,"shape",n),n},get catchall(){return r._zod.def.catchall},checks:[]});return R(e,i)}s(Rl,"merge");function Ll(e,r,i){let n=ge(r._zod.def,{get shape(){let t=r._zod.def.shape,o={...t};if(i)for(let u in i){if(!(u in t))throw new Error(`Unrecognized key: "${u}"`);i[u]&&(o[u]=e?new e({type:"optional",innerType:t[u]}):t[u])}else for(let u in t)o[u]=e?new e({type:"optional",innerType:t[u]}):t[u];return fe(this,"shape",o),o},checks:[]});return R(r,n)}s(Ll,"partial");function Fl(e,r,i){let n=ge(r._zod.def,{get shape(){let t=r._zod.def.shape,o={...t};if(i)for(let u in i){if(!(u in o))throw new Error(`Unrecognized key: "${u}"`);i[u]&&(o[u]=new e({type:"nonoptional",innerType:t[u]}))}else for(let u in t)o[u]=new e({type:"nonoptional",innerType:t[u]});return fe(this,"shape",o),o},checks:[]});return R(r,n)}s(Fl,"required");function he(e,r=0){if(e.aborted===!0)return!0;for(let i=r;i<e.issues.length;i++)if(e.issues[i]?.continue!==!0)return!0;return!1}s(he,"aborted");function W(e,r){return r.map(i=>{var n;return(n=i).path??(n.path=[]),i.path.unshift(e),i})}s(W,"prefixIssues");function qe(e){return typeof e=="string"?e:e?.message}s(qe,"unwrapMessage");function K(e,r,i){let n={...e,path:e.path??[]};if(!e.message){let t=qe(e.inst?._zod.def?.error?.(e))??qe(r?.error?.(e))??qe(i.customError?.(e))??qe(i.localeError?.(e))??"Invalid input";n.message=t}return delete n.inst,delete n.continue,r?.reportInput||delete n.input,n}s(K,"finalizeIssue");function Ke(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}s(Ke,"getSizableOrigin");function Xe(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}s(Xe,"getLengthableOrigin");function je(...e){let[r,i,n]=e;return typeof r=="string"?{message:r,code:"custom",input:i,inst:n}:{...r}}s(je,"issue");function Bl(e){return Object.entries(e).filter(([r,i])=>Number.isNaN(Number.parseInt(r,10))).map(r=>r[1])}s(Bl,"cleanEnum");function _u(e){let r=atob(e),i=new Uint8Array(r.length);for(let n=0;n<r.length;n++)i[n]=r.charCodeAt(n);return i}s(_u,"base64ToUint8Array");function ku(e){let r="";for(let i=0;i<e.length;i++)r+=String.fromCharCode(e[i]);return btoa(r)}s(ku,"uint8ArrayToBase64");function Ml(e){let r=e.replace(/-/g,"+").replace(/_/g,"/"),i="=".repeat((4-r.length%4)%4);return _u(r+i)}s(Ml,"base64urlToUint8Array");function ql(e){return ku(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}s(ql,"uint8ArrayToBase64url");function Jl(e){let r=e.replace(/^0x/,"");if(r.length%2!==0)throw new Error("Invalid hex string length");let i=new Uint8Array(r.length/2);for(let n=0;n<r.length;n+=2)i[n/2]=Number.parseInt(r.slice(n,n+2),16);return i}s(Jl,"hexToUint8Array");function Gl(e){return Array.from(e).map(r=>r.toString(16).padStart(2,"0")).join("")}s(Gl,"uint8ArrayToHex");var gn=class gn{constructor(...r){}};s(gn,"Class");var an=gn;var xu=s((e,r)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:r,enumerable:!1}),e.message=JSON.stringify(r,Se,2),Object.defineProperty(e,"toString",{value:s(()=>e.message,"value"),enumerable:!1})},"initializer"),He=h("$ZodError",xu),M=h("$ZodError",xu,{Parent:Error});function Qe(e,r=i=>i.message){let i={},n=[];for(let t of e.issues)t.path.length>0?(i[t.path[0]]=i[t.path[0]]||[],i[t.path[0]].push(r(t))):n.push(r(t));return{formErrors:n,fieldErrors:i}}s(Qe,"flattenError");function Ye(e,r=i=>i.message){let i={_errors:[]},n=s(t=>{for(let o of t.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(u=>n({issues:u}));else if(o.code==="invalid_key")n({issues:o.issues});else if(o.code==="invalid_element")n({issues:o.issues});else if(o.path.length===0)i._errors.push(r(o));else{let u=i,l=0;for(;l<o.path.length;){let f=o.path[l];l===o.path.length-1?(u[f]=u[f]||{_errors:[]},u[f]._errors.push(r(o))):u[f]=u[f]||{_errors:[]},u=u[f],l++}}},"processError");return n(e),i}s(Ye,"formatError");function vn(e,r=i=>i.message){let i={errors:[]},n=s((t,o=[])=>{var u,l;for(let f of t.issues)if(f.code==="invalid_union"&&f.errors.length)f.errors.map(g=>n({issues:g},f.path));else if(f.code==="invalid_key")n({issues:f.issues},f.path);else if(f.code==="invalid_element")n({issues:f.issues},f.path);else{let g=[...o,...f.path];if(g.length===0){i.errors.push(r(f));continue}let m=i,y=0;for(;y<g.length;){let p=g[y],c=y===g.length-1;typeof p=="string"?(m.properties??(m.properties={}),(u=m.properties)[p]??(u[p]={errors:[]}),m=m.properties[p]):(m.items??(m.items=[]),(l=m.items)[p]??(l[p]={errors:[]}),m=m.items[p]),c&&m.errors.push(r(f)),y++}}},"processError");return n(e),i}s(vn,"treeifyError");function wu(e){let r=[],i=e.map(n=>typeof n=="object"?n.key:n);for(let n of i)typeof n=="number"?r.push(`[${n}]`):typeof n=="symbol"?r.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?r.push(`[${JSON.stringify(n)}]`):(r.length&&r.push("."),r.push(n));return r.join("")}s(wu,"toDotPath");function hn(e){let r=[],i=[...e.issues].sort((n,t)=>(n.path??[]).length-(t.path??[]).length);for(let n of i)r.push(`\u2716 ${n.message}`),n.path?.length&&r.push(` \u2192 at ${wu(n.path)}`);return r.join(`
2
+ `)}s(hn,"prettifyError");var Pe=s(e=>(r,i,n,t)=>{let o=n?Object.assign(n,{async:!1}):{async:!1},u=r._zod.run({value:i,issues:[]},o);if(u instanceof Promise)throw new te;if(u.issues.length){let l=new(t?.Err??e)(u.issues.map(f=>K(f,o,T())));throw Lt(l,t?.callee),l}return u.value},"_parse"),Ft=Pe(M),Ce=s(e=>async(r,i,n,t)=>{let o=n?Object.assign(n,{async:!0}):{async:!0},u=r._zod.run({value:i,issues:[]},o);if(u instanceof Promise&&(u=await u),u.issues.length){let l=new(t?.Err??e)(u.issues.map(f=>K(f,o,T())));throw Lt(l,t?.callee),l}return u.value},"_parseAsync"),Bt=Ce(M),Ne=s(e=>(r,i,n)=>{let t=n?{...n,async:!1}:{async:!1},o=r._zod.run({value:i,issues:[]},t);if(o instanceof Promise)throw new te;return o.issues.length?{success:!1,error:new(e??He)(o.issues.map(u=>K(u,t,T())))}:{success:!0,data:o.value}},"_safeParse"),yn=Ne(M),Ue=s(e=>async(r,i,n)=>{let t=n?Object.assign(n,{async:!0}):{async:!0},o=r._zod.run({value:i,issues:[]},t);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(u=>K(u,t,T())))}:{success:!0,data:o.value}},"_safeParseAsync"),bn=Ue(M),Mt=s(e=>(r,i,n)=>{let t=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Pe(e)(r,i,t)},"_encode"),Kl=Mt(M),qt=s(e=>(r,i,n)=>Pe(e)(r,i,n),"_decode"),Xl=qt(M),Jt=s(e=>async(r,i,n)=>{let t=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ce(e)(r,i,t)},"_encodeAsync"),Hl=Jt(M),Gt=s(e=>async(r,i,n)=>Ce(e)(r,i,n),"_decodeAsync"),Ql=Gt(M),Wt=s(e=>(r,i,n)=>{let t=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ne(e)(r,i,t)},"_safeEncode"),Yl=Wt(M),Kt=s(e=>(r,i,n)=>Ne(e)(r,i,n),"_safeDecode"),ed=Kt(M),Xt=s(e=>async(r,i,n)=>{let t=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ue(e)(r,i,t)},"_safeEncodeAsync"),td=Xt(M),Ht=s(e=>async(r,i,n)=>Ue(e)(r,i,n),"_safeDecodeAsync"),rd=Ht(M);var Q={};de(Q,{base64:()=>En,base64url:()=>Qt,bigint:()=>Ln,boolean:()=>Mn,browserEmail:()=>ld,cidrv4:()=>Dn,cidrv6:()=>On,cuid:()=>$n,cuid2:()=>_n,date:()=>Tn,datetime:()=>Vn,domain:()=>md,duration:()=>Sn,e164:()=>An,email:()=>jn,emoji:()=>Pn,extendedDuration:()=>nd,guid:()=>zn,hex:()=>fd,hostname:()=>pd,html5Email:()=>sd,idnEmail:()=>cd,integer:()=>Fn,ipv4:()=>Cn,ipv6:()=>Nn,ksuid:()=>wn,lowercase:()=>Gn,mac:()=>Un,md5_base64:()=>vd,md5_base64url:()=>hd,md5_hex:()=>gd,nanoid:()=>In,null:()=>qn,number:()=>Bn,rfc5322Email:()=>ud,sha1_base64:()=>bd,sha1_base64url:()=>$d,sha1_hex:()=>yd,sha256_base64:()=>kd,sha256_base64url:()=>xd,sha256_hex:()=>_d,sha384_base64:()=>Id,sha384_base64url:()=>Sd,sha384_hex:()=>wd,sha512_base64:()=>jd,sha512_base64url:()=>Pd,sha512_hex:()=>zd,string:()=>Rn,time:()=>Zn,ulid:()=>kn,undefined:()=>Jn,unicodeEmail:()=>Iu,uppercase:()=>Wn,uuid:()=>$e,uuid4:()=>id,uuid6:()=>od,uuid7:()=>ad,xid:()=>xn});var $n=/^[cC][^\s-]{8,}$/,_n=/^[0-9a-z]+$/,kn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,xn=/^[0-9a-vA-V]{20}$/,wn=/^[A-Za-z0-9]{27}$/,In=/^[a-zA-Z0-9_-]{21}$/,Sn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,nd=/^[-+]?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)?)??$/,zn=/^([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})$/,$e=s(e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,"uuid"),id=$e(4),od=$e(6),ad=$e(7),jn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,sd=/^[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])?)*$/,ud=/^(([^<>()\[\]\\.,;:\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,}))$/,Iu=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,cd=Iu,ld=/^[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])?)*$/,dd="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Pn(){return new RegExp(dd,"u")}s(Pn,"emoji");var Cn=/^(?:(?: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])$/,Nn=/^(([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}|:))$/,Un=s(e=>{let r=H(e??":");return new RegExp(`^(?:[0-9A-F]{2}${r}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${r}){5}[0-9a-f]{2}$`)},"mac"),Dn=/^((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])$/,On=/^(([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])$/,En=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Qt=/^[A-Za-z0-9_-]*$/,pd=/^(?=.{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])?)*\.?$/,md=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,An=/^\+(?:[0-9]){6,14}[0-9]$/,Su="(?:(?:\\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])))",Tn=new RegExp(`^${Su}$`);function zu(e){let r="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${r}`:e.precision===0?`${r}:[0-5]\\d`:`${r}:[0-5]\\d\\.\\d{${e.precision}}`:`${r}(?::[0-5]\\d(?:\\.\\d+)?)?`}s(zu,"timeSource");function Zn(e){return new RegExp(`^${zu(e)}$`)}s(Zn,"time");function Vn(e){let r=zu({precision:e.precision}),i=["Z"];e.local&&i.push(""),e.offset&&i.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${r}(?:${i.join("|")})`;return new RegExp(`^${Su}T(?:${n})$`)}s(Vn,"datetime");var Rn=s(e=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},"string"),Ln=/^-?\d+n?$/,Fn=/^-?\d+$/,Bn=/^-?\d+(?:\.\d+)?/,Mn=/^(?:true|false)$/i,qn=/^null$/i;var Jn=/^undefined$/i;var Gn=/^[^A-Z]*$/,Wn=/^[^a-z]*$/,fd=/^[0-9a-fA-F]*$/;function et(e,r){return new RegExp(`^[A-Za-z0-9+/]{${e}}${r}$`)}s(et,"fixedBase64");function tt(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}s(tt,"fixedBase64url");var gd=/^[0-9a-fA-F]{32}$/,vd=et(22,"=="),hd=tt(22),yd=/^[0-9a-fA-F]{40}$/,bd=et(27,"="),$d=tt(27),_d=/^[0-9a-fA-F]{64}$/,kd=et(43,"="),xd=tt(43),wd=/^[0-9a-fA-F]{96}$/,Id=et(64,""),Sd=tt(64),zd=/^[0-9a-fA-F]{128}$/,jd=et(86,"=="),Pd=tt(86);var D=h("$ZodCheck",(e,r)=>{var i;e._zod??(e._zod={}),e._zod.def=r,(i=e._zod).onattach??(i.onattach=[])}),Pu={number:"number",bigint:"bigint",object:"date"},Yt=h("$ZodCheckLessThan",(e,r)=>{D.init(e,r);let i=Pu[typeof r.value];e._zod.onattach.push(n=>{let t=n._zod.bag,o=(r.inclusive?t.maximum:t.exclusiveMaximum)??Number.POSITIVE_INFINITY;r.value<o&&(r.inclusive?t.maximum=r.value:t.exclusiveMaximum=r.value)}),e._zod.check=n=>{(r.inclusive?n.value<=r.value:n.value<r.value)||n.issues.push({origin:i,code:"too_big",maximum:r.value,input:n.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),er=h("$ZodCheckGreaterThan",(e,r)=>{D.init(e,r);let i=Pu[typeof r.value];e._zod.onattach.push(n=>{let t=n._zod.bag,o=(r.inclusive?t.minimum:t.exclusiveMinimum)??Number.NEGATIVE_INFINITY;r.value>o&&(r.inclusive?t.minimum=r.value:t.exclusiveMinimum=r.value)}),e._zod.check=n=>{(r.inclusive?n.value>=r.value:n.value>r.value)||n.issues.push({origin:i,code:"too_small",minimum:r.value,input:n.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),Kn=h("$ZodCheckMultipleOf",(e,r)=>{D.init(e,r),e._zod.onattach.push(i=>{var n;(n=i._zod.bag).multipleOf??(n.multipleOf=r.value)}),e._zod.check=i=>{if(typeof i.value!=typeof r.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof i.value=="bigint"?i.value%r.value===BigInt(0):sn(i.value,r.value)===0)||i.issues.push({origin:typeof i.value,code:"not_multiple_of",divisor:r.value,input:i.value,inst:e,continue:!r.abort})}}),Xn=h("$ZodCheckNumberFormat",(e,r)=>{D.init(e,r),r.format=r.format||"float64";let i=r.format?.includes("int"),n=i?"int":"number",[t,o]=mn[r.format];e._zod.onattach.push(u=>{let l=u._zod.bag;l.format=r.format,l.minimum=t,l.maximum=o,i&&(l.pattern=Fn)}),e._zod.check=u=>{let l=u.value;if(i){if(!Number.isInteger(l)){u.issues.push({expected:n,format:r.format,code:"invalid_type",continue:!1,input:l,inst:e});return}if(!Number.isSafeInteger(l)){l>0?u.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!r.abort}):u.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!r.abort});return}}l<t&&u.issues.push({origin:"number",input:l,code:"too_small",minimum:t,inclusive:!0,inst:e,continue:!r.abort}),l>o&&u.issues.push({origin:"number",input:l,code:"too_big",maximum:o,inst:e})}}),Hn=h("$ZodCheckBigIntFormat",(e,r)=>{D.init(e,r);let[i,n]=fn[r.format];e._zod.onattach.push(t=>{let o=t._zod.bag;o.format=r.format,o.minimum=i,o.maximum=n}),e._zod.check=t=>{let o=t.value;o<i&&t.issues.push({origin:"bigint",input:o,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!r.abort}),o>n&&t.issues.push({origin:"bigint",input:o,code:"too_big",maximum:n,inst:e})}}),Qn=h("$ZodCheckMaxSize",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!me(t)&&t.size!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<t&&(n._zod.bag.maximum=r.maximum)}),e._zod.check=n=>{let t=n.value;t.size<=r.maximum||n.issues.push({origin:Ke(t),code:"too_big",maximum:r.maximum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),Yn=h("$ZodCheckMinSize",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!me(t)&&t.size!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>t&&(n._zod.bag.minimum=r.minimum)}),e._zod.check=n=>{let t=n.value;t.size>=r.minimum||n.issues.push({origin:Ke(t),code:"too_small",minimum:r.minimum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),ei=h("$ZodCheckSizeEquals",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!me(t)&&t.size!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag;t.minimum=r.size,t.maximum=r.size,t.size=r.size}),e._zod.check=n=>{let t=n.value,o=t.size;if(o===r.size)return;let u=o>r.size;n.issues.push({origin:Ke(t),...u?{code:"too_big",maximum:r.size}:{code:"too_small",minimum:r.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!r.abort})}}),ti=h("$ZodCheckMaxLength",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!me(t)&&t.length!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<t&&(n._zod.bag.maximum=r.maximum)}),e._zod.check=n=>{let t=n.value;if(t.length<=r.maximum)return;let u=Xe(t);n.issues.push({origin:u,code:"too_big",maximum:r.maximum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),ri=h("$ZodCheckMinLength",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!me(t)&&t.length!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>t&&(n._zod.bag.minimum=r.minimum)}),e._zod.check=n=>{let t=n.value;if(t.length>=r.minimum)return;let u=Xe(t);n.issues.push({origin:u,code:"too_small",minimum:r.minimum,inclusive:!0,input:t,inst:e,continue:!r.abort})}}),ni=h("$ZodCheckLengthEquals",(e,r)=>{var i;D.init(e,r),(i=e._zod.def).when??(i.when=n=>{let t=n.value;return!me(t)&&t.length!==void 0}),e._zod.onattach.push(n=>{let t=n._zod.bag;t.minimum=r.length,t.maximum=r.length,t.length=r.length}),e._zod.check=n=>{let t=n.value,o=t.length;if(o===r.length)return;let u=Xe(t),l=o>r.length;n.issues.push({origin:u,...l?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!r.abort})}}),De=h("$ZodCheckStringFormat",(e,r)=>{var i,n;D.init(e,r),e._zod.onattach.push(t=>{let o=t._zod.bag;o.format=r.format,r.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(r.pattern))}),r.pattern?(i=e._zod).check??(i.check=t=>{r.pattern.lastIndex=0,!r.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:r.format,input:t.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})}):(n=e._zod).check??(n.check=()=>{})}),ii=h("$ZodCheckRegex",(e,r)=>{De.init(e,r),e._zod.check=i=>{r.pattern.lastIndex=0,!r.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:"regex",input:i.value,pattern:r.pattern.toString(),inst:e,continue:!r.abort})}}),oi=h("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=Gn),De.init(e,r)}),ai=h("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=Wn),De.init(e,r)}),si=h("$ZodCheckIncludes",(e,r)=>{D.init(e,r);let i=H(r.includes),n=new RegExp(typeof r.position=="number"?`^.{${r.position}}${i}`:i);r.pattern=n,e._zod.onattach.push(t=>{let o=t._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(n)}),e._zod.check=t=>{t.value.includes(r.includes,r.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:t.value,inst:e,continue:!r.abort})}}),ui=h("$ZodCheckStartsWith",(e,r)=>{D.init(e,r);let i=new RegExp(`^${H(r.prefix)}.*`);r.pattern??(r.pattern=i),e._zod.onattach.push(n=>{let t=n._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),e._zod.check=n=>{n.value.startsWith(r.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:n.value,inst:e,continue:!r.abort})}}),ci=h("$ZodCheckEndsWith",(e,r)=>{D.init(e,r);let i=new RegExp(`.*${H(r.suffix)}$`);r.pattern??(r.pattern=i),e._zod.onattach.push(n=>{let t=n._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),e._zod.check=n=>{n.value.endsWith(r.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:n.value,inst:e,continue:!r.abort})}});function ju(e,r,i){e.issues.length&&r.issues.push(...W(i,e.issues))}s(ju,"handleCheckPropertyResult");var li=h("$ZodCheckProperty",(e,r)=>{D.init(e,r),e._zod.check=i=>{let n=r.schema._zod.run({value:i.value[r.property],issues:[]},{});if(n instanceof Promise)return n.then(t=>ju(t,i,r.property));ju(n,i,r.property)}}),di=h("$ZodCheckMimeType",(e,r)=>{D.init(e,r);let i=new Set(r.mime);e._zod.onattach.push(n=>{n._zod.bag.mime=r.mime}),e._zod.check=n=>{i.has(n.value.type)||n.issues.push({code:"invalid_value",values:r.mime,input:n.value.type,inst:e,continue:!r.abort})}}),pi=h("$ZodCheckOverwrite",(e,r)=>{D.init(e,r),e._zod.check=i=>{i.value=r.tx(i.value)}});var mi=class mi{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 n=r.split(`
3
+ `).filter(u=>u),t=Math.min(...n.map(u=>u.length-u.trimStart().length)),o=n.map(u=>u.slice(t)).map(u=>" ".repeat(this.indent*2)+u);for(let u of o)this.content.push(u)}compile(){let r=Function,i=this?.args,t=[...(this?.content??[""]).map(o=>` ${o}`)];return new r(...i,t.join(`
4
+ `))}};s(mi,"Doc");var rt=mi;var fi={major:4,minor:1,patch:13};var z=h("$ZodType",(e,r)=>{var i;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=fi;let n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(let t of n)for(let o of t._zod.onattach)o(e);if(n.length===0)(i=e._zod).deferred??(i.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=s((u,l,f)=>{let g=he(u),m;for(let y of l){if(y._zod.def.when){if(!y._zod.def.when(u))continue}else if(g)continue;let p=u.issues.length,c=y._zod.check(u);if(c instanceof Promise&&f?.async===!1)throw new te;if(m||c instanceof Promise)m=(m??Promise.resolve()).then(async()=>{await c,u.issues.length!==p&&(g||(g=he(u,p)))});else{if(u.issues.length===p)continue;g||(g=he(u,p))}}return m?m.then(()=>u):u},"runChecks"),o=s((u,l,f)=>{if(he(u))return u.aborted=!0,u;let g=t(l,n,f);if(g instanceof Promise){if(f.async===!1)throw new te;return g.then(m=>e._zod.parse(m,f))}return e._zod.parse(g,f)},"handleCanaryResult");e._zod.run=(u,l)=>{if(l.skipChecks)return e._zod.parse(u,l);if(l.direction==="backward"){let g=e._zod.parse({value:u.value,issues:[]},{...l,skipChecks:!0});return g instanceof Promise?g.then(m=>o(m,u,l)):o(g,u,l)}let f=e._zod.parse(u,l);if(f instanceof Promise){if(l.async===!1)throw new te;return f.then(g=>t(g,n,l))}return t(f,n,l)}}e["~standard"]={validate:s(t=>{try{let o=yn(e,t);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return bn(e,t).then(u=>u.success?{value:u.data}:{issues:u.error?.issues})}},"validate"),vendor:"zod",version:1}}),_e=h("$ZodString",(e,r)=>{z.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Rn(e._zod.bag),e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:e}),i}}),U=h("$ZodStringFormat",(e,r)=>{De.init(e,r),_e.init(e,r)}),vi=h("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=zn),U.init(e,r)}),hi=h("$ZodUUID",(e,r)=>{if(r.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(n===void 0)throw new Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=$e(n))}else r.pattern??(r.pattern=$e());U.init(e,r)}),yi=h("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=jn),U.init(e,r)}),bi=h("$ZodURL",(e,r)=>{U.init(e,r),e._zod.check=i=>{try{let n=i.value.trim(),t=new URL(n);r.hostname&&(r.hostname.lastIndex=0,r.hostname.test(t.hostname)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:i.value,inst:e,continue:!r.abort})),r.protocol&&(r.protocol.lastIndex=0,r.protocol.test(t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:i.value,inst:e,continue:!r.abort})),r.normalize?i.value=t.href:i.value=n;return}catch{i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:e,continue:!r.abort})}}}),$i=h("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=Pn()),U.init(e,r)}),_i=h("$ZodNanoID",(e,r)=>{r.pattern??(r.pattern=In),U.init(e,r)}),ki=h("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=$n),U.init(e,r)}),xi=h("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=_n),U.init(e,r)}),wi=h("$ZodULID",(e,r)=>{r.pattern??(r.pattern=kn),U.init(e,r)}),Ii=h("$ZodXID",(e,r)=>{r.pattern??(r.pattern=xn),U.init(e,r)}),Si=h("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=wn),U.init(e,r)}),zi=h("$ZodISODateTime",(e,r)=>{r.pattern??(r.pattern=Vn(r)),U.init(e,r)}),ji=h("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=Tn),U.init(e,r)}),Pi=h("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=Zn(r)),U.init(e,r)}),Ci=h("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=Sn),U.init(e,r)}),Ni=h("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=Cn),U.init(e,r),e._zod.bag.format="ipv4"}),Ui=h("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=Nn),U.init(e,r),e._zod.bag.format="ipv6",e._zod.check=i=>{try{new URL(`http://[${i.value}]`)}catch{i.issues.push({code:"invalid_format",format:"ipv6",input:i.value,inst:e,continue:!r.abort})}}}),Di=h("$ZodMAC",(e,r)=>{r.pattern??(r.pattern=Un(r.delimiter)),U.init(e,r),e._zod.bag.format="mac"}),Oi=h("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=Dn),U.init(e,r)}),Ei=h("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=On),U.init(e,r),e._zod.check=i=>{let n=i.value.split("/");try{if(n.length!==2)throw new Error;let[t,o]=n;if(!o)throw new Error;let u=Number(o);if(`${u}`!==o)throw new Error;if(u<0||u>128)throw new Error;new URL(`http://[${t}]`)}catch{i.issues.push({code:"invalid_format",format:"cidrv6",input:i.value,inst:e,continue:!r.abort})}}});function Ai(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}s(Ai,"isValidBase64");var Ti=h("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=En),U.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=i=>{Ai(i.value)||i.issues.push({code:"invalid_format",format:"base64",input:i.value,inst:e,continue:!r.abort})}});function Lu(e){if(!Qt.test(e))return!1;let r=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),i=r.padEnd(Math.ceil(r.length/4)*4,"=");return Ai(i)}s(Lu,"isValidBase64URL");var Zi=h("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=Qt),U.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=i=>{Lu(i.value)||i.issues.push({code:"invalid_format",format:"base64url",input:i.value,inst:e,continue:!r.abort})}}),Vi=h("$ZodE164",(e,r)=>{r.pattern??(r.pattern=An),U.init(e,r)});function Fu(e,r=null){try{let i=e.split(".");if(i.length!==3)return!1;let[n]=i;if(!n)return!1;let t=JSON.parse(atob(n));return!("typ"in t&&t?.typ!=="JWT"||!t.alg||r&&(!("alg"in t)||t.alg!==r))}catch{return!1}}s(Fu,"isValidJWT");var Ri=h("$ZodJWT",(e,r)=>{U.init(e,r),e._zod.check=i=>{Fu(i.value,r.alg)||i.issues.push({code:"invalid_format",format:"jwt",input:i.value,inst:e,continue:!r.abort})}}),Li=h("$ZodCustomStringFormat",(e,r)=>{U.init(e,r),e._zod.check=i=>{r.fn(i.value)||i.issues.push({code:"invalid_format",format:r.format,input:i.value,inst:e,continue:!r.abort})}}),ar=h("$ZodNumber",(e,r)=>{z.init(e,r),e._zod.pattern=e._zod.bag.pattern??Bn,e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=Number(i.value)}catch{}let t=i.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return i;let o=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:"Infinity":void 0;return i.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...o?{received:o}:{}}),i}}),Fi=h("$ZodNumberFormat",(e,r)=>{Xn.init(e,r),ar.init(e,r)}),nt=h("$ZodBoolean",(e,r)=>{z.init(e,r),e._zod.pattern=Mn,e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=!!i.value}catch{}let t=i.value;return typeof t=="boolean"||i.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),i}}),sr=h("$ZodBigInt",(e,r)=>{z.init(e,r),e._zod.pattern=Ln,e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=BigInt(i.value)}catch{}return typeof i.value=="bigint"||i.issues.push({expected:"bigint",code:"invalid_type",input:i.value,inst:e}),i}}),Bi=h("$ZodBigIntFormat",(e,r)=>{Hn.init(e,r),sr.init(e,r)}),Mi=h("$ZodSymbol",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;return typeof t=="symbol"||i.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),i}}),qi=h("$ZodUndefined",(e,r)=>{z.init(e,r),e._zod.pattern=Jn,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(i,n)=>{let t=i.value;return typeof t>"u"||i.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),i}}),Ji=h("$ZodNull",(e,r)=>{z.init(e,r),e._zod.pattern=qn,e._zod.values=new Set([null]),e._zod.parse=(i,n)=>{let t=i.value;return t===null||i.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),i}}),Gi=h("$ZodAny",(e,r)=>{z.init(e,r),e._zod.parse=i=>i}),Wi=h("$ZodUnknown",(e,r)=>{z.init(e,r),e._zod.parse=i=>i}),Ki=h("$ZodNever",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>(i.issues.push({expected:"never",code:"invalid_type",input:i.value,inst:e}),i)}),Xi=h("$ZodVoid",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;return typeof t>"u"||i.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),i}}),Hi=h("$ZodDate",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{if(r.coerce)try{i.value=new Date(i.value)}catch{}let t=i.value,o=t instanceof Date;return o&&!Number.isNaN(t.getTime())||i.issues.push({expected:"date",code:"invalid_type",input:t,...o?{received:"Invalid Date"}:{},inst:e}),i}});function Nu(e,r,i){e.issues.length&&r.issues.push(...W(i,e.issues)),r.value[i]=e.value}s(Nu,"handleArrayResult");var Qi=h("$ZodArray",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;if(!Array.isArray(t))return i.issues.push({expected:"array",code:"invalid_type",input:t,inst:e}),i;i.value=Array(t.length);let o=[];for(let u=0;u<t.length;u++){let l=t[u],f=r.element._zod.run({value:l,issues:[]},n);f instanceof Promise?o.push(f.then(g=>Nu(g,i,u))):Nu(f,i,u)}return o.length?Promise.all(o).then(()=>i):i}});function or(e,r,i,n){e.issues.length&&r.issues.push(...W(i,e.issues)),e.value===void 0?i in n&&(r.value[i]=void 0):r.value[i]=e.value}s(or,"handlePropertyResult");function Bu(e){let r=Object.keys(e.shape);for(let n of r)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);let i=pn(e.shape);return{...e,keys:r,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(i)}}s(Bu,"normalizeDef");function Mu(e,r,i,n,t,o){let u=[],l=t.keySet,f=t.catchall._zod,g=f.def.type;for(let m in r){if(l.has(m))continue;if(g==="never"){u.push(m);continue}let y=f.run({value:r[m],issues:[]},n);y instanceof Promise?e.push(y.then(p=>or(p,i,m,r))):or(y,i,m,r)}return u.length&&i.issues.push({code:"unrecognized_keys",keys:u,input:r,inst:o}),e.length?Promise.all(e).then(()=>i):i}s(Mu,"handleCatchall");var qu=h("$ZodObject",(e,r)=>{if(z.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let l=r.shape;Object.defineProperty(r,"shape",{get:s(()=>{let f={...l};return Object.defineProperty(r,"shape",{value:f}),f},"get")})}let n=ze(()=>Bu(r));N(e._zod,"propValues",()=>{let l=r.shape,f={};for(let g in l){let m=l[g]._zod;if(m.values){f[g]??(f[g]=new Set);for(let y of m.values)f[g].add(y)}}return f});let t=be,o=r.catchall,u;e._zod.parse=(l,f)=>{u??(u=n.value);let g=l.value;if(!t(g))return l.issues.push({expected:"object",code:"invalid_type",input:g,inst:e}),l;l.value={};let m=[],y=u.shape;for(let p of u.keys){let d=y[p]._zod.run({value:g[p],issues:[]},f);d instanceof Promise?m.push(d.then(v=>or(v,l,p,g))):or(d,l,p,g)}return o?Mu(m,g,l,f,n.value,e):m.length?Promise.all(m).then(()=>l):l}}),Yi=h("$ZodObjectJIT",(e,r)=>{qu.init(e,r);let i=e._zod.parse,n=ze(()=>Bu(r)),t=s(p=>{let c=new rt(["shape","payload","ctx"]),d=n.value,v=s(S=>{let C=Rt(S);return`shape[${C}]._zod.run({ value: input[${C}], issues: [] }, ctx)`},"parseStr");c.write("const input = payload.value;");let $=Object.create(null),w=0;for(let S of d.keys)$[S]=`key_${w++}`;c.write("const newResult = {};");for(let S of d.keys){let C=$[S],A=Rt(S);c.write(`const ${C} = ${v(S)};`),c.write(`
5
5
  if (${C}.issues.length) {
6
6
  payload.issues = payload.issues.concat(${C}.issues.map(iss => ({
7
7
  ...iss,
@@ -18,12 +18,12 @@
18
18
  newResult[${A}] = ${C}.value;
19
19
  }
20
20
 
21
- `)}u.write("payload.value = newResult;"),u.write("return payload;");let I=u.compile();return(S,C)=>I(m,S,C)},"generateFastpass"),o,c=be,l=!Me.jitless,g=l&&cn.value,p=r.catchall,y;e._zod.parse=(m,u)=>{y??(y=n.value);let d=m.value;return c(d)?l&&g&&u?.async===!1&&u.jitless!==!0?(o||(o=t(r.shape)),m=o(m,u),p?Fc([],d,m,u,y,e):m):i(m,u):(m.issues.push({expected:"object",code:"invalid_type",input:d,inst:e}),m)}});function Cc(e,r,i,n){for(let o of e)if(o.issues.length===0)return r.value=o.value,r;let t=e.filter(o=>!he(o));return t.length===1?(r.value=t[0].value,t[0]):(r.issues.push({code:"invalid_union",input:r.value,inst:i,errors:e.map(o=>o.issues.map(c=>W(c,n,T())))}),r)}s(Cc,"handleUnionResults");var cr=h("$ZodUnion",(e,r)=>{z.init(e,r),N(e._zod,"optin",()=>r.options.some(t=>t._zod.optin==="optional")?"optional":void 0),N(e._zod,"optout",()=>r.options.some(t=>t._zod.optout==="optional")?"optional":void 0),N(e._zod,"values",()=>{if(r.options.every(t=>t._zod.values))return new Set(r.options.flatMap(t=>Array.from(t._zod.values)))}),N(e._zod,"pattern",()=>{if(r.options.every(t=>t._zod.pattern)){let t=r.options.map(o=>o._zod.pattern);return new RegExp(`^(${t.map(o=>Ge(o.source)).join("|")})$`)}});let i=r.options.length===1,n=r.options[0]._zod.run;e._zod.parse=(t,o)=>{if(i)return n(t,o);let c=!1,l=[];for(let f of r.options){let g=f._zod.run({value:t.value,issues:[]},o);if(g instanceof Promise)l.push(g),c=!0;else{if(g.issues.length===0)return g;l.push(g)}}return c?Promise.all(l).then(f=>Cc(f,t,e,o)):Cc(l,t,e,o)}}),Yi=h("$ZodDiscriminatedUnion",(e,r)=>{cr.init(e,r);let i=e._zod.parse;N(e._zod,"propValues",()=>{let t={};for(let o of r.options){let c=o._zod.propValues;if(!c||Object.keys(c).length===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(o)}"`);for(let[l,f]of Object.entries(c)){t[l]||(t[l]=new Set);for(let g of f)t[l].add(g)}}return t});let n=ze(()=>{let t=r.options,o=new Map;for(let c of t){let l=c._zod.propValues?.[r.discriminator];if(!l||l.size===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(c)}"`);for(let f of l){if(o.has(f))throw new Error(`Duplicate discriminator value "${String(f)}"`);o.set(f,c)}}return o});e._zod.parse=(t,o)=>{let c=t.value;if(!be(c))return t.issues.push({code:"invalid_type",expected:"object",input:c,inst:e}),t;let l=n.value.get(c?.[r.discriminator]);return l?l._zod.run(t,o):r.unionFallback?i(t,o):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,input:c,path:[r.discriminator],inst:e}),t)}}),eo=h("$ZodIntersection",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value,o=r.left._zod.run({value:t,issues:[]},n),c=r.right._zod.run({value:t,issues:[]},n);return o instanceof Promise||c instanceof Promise?Promise.all([o,c]).then(([f,g])=>Nc(i,f,g)):Nc(i,o,c)}});function fi(e,r){if(e===r)return{valid:!0,data:e};if(e instanceof Date&&r instanceof Date&&+e==+r)return{valid:!0,data:e};if(ve(e)&&ve(r)){let i=Object.keys(r),n=Object.keys(e).filter(o=>i.indexOf(o)!==-1),t={...e,...r};for(let o of n){let c=fi(e[o],r[o]);if(!c.valid)return{valid:!1,mergeErrorPath:[o,...c.mergeErrorPath]};t[o]=c.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return{valid:!1,mergeErrorPath:[]};let i=[];for(let n=0;n<e.length;n++){let t=e[n],o=r[n],c=fi(t,o);if(!c.valid)return{valid:!1,mergeErrorPath:[n,...c.mergeErrorPath]};i.push(c.data)}return{valid:!0,data:i}}return{valid:!1,mergeErrorPath:[]}}s(fi,"mergeValues");function Nc(e,r,i){if(r.issues.length&&e.issues.push(...r.issues),i.issues.length&&e.issues.push(...i.issues),he(e))return e;let n=fi(r.value,i.value);if(!n.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}s(Nc,"handleIntersectionResults");var ur=h("$ZodTuple",(e,r)=>{z.init(e,r);let i=r.items;e._zod.parse=(n,t)=>{let o=n.value;if(!Array.isArray(o))return n.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];let c=[],l=[...i].reverse().findIndex(p=>p._zod.optin!=="optional"),f=l===-1?0:i.length-l;if(!r.rest){let p=o.length>i.length,y=o.length<f-1;if(p||y)return n.issues.push({...p?{code:"too_big",maximum:i.length}:{code:"too_small",minimum:i.length},input:o,inst:e,origin:"array"}),n}let g=-1;for(let p of i){if(g++,g>=o.length&&g>=f)continue;let y=p._zod.run({value:o[g],issues:[]},t);y instanceof Promise?c.push(y.then(m=>tr(m,n,g))):tr(y,n,g)}if(r.rest){let p=o.slice(i.length);for(let y of p){g++;let m=r.rest._zod.run({value:y,issues:[]},t);m instanceof Promise?c.push(m.then(u=>tr(u,n,g))):tr(m,n,g)}}return c.length?Promise.all(c).then(()=>n):n}});function tr(e,r,i){e.issues.length&&r.issues.push(...G(i,e.issues)),r.value[i]=e.value}s(tr,"handleTupleResult");var to=h("$ZodRecord",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;if(!ve(t))return i.issues.push({expected:"record",code:"invalid_type",input:t,inst:e}),i;let o=[],c=r.keyType._zod.values;if(c){i.value={};let l=new Set;for(let g of c)if(typeof g=="string"||typeof g=="number"||typeof g=="symbol"){l.add(typeof g=="number"?g.toString():g);let p=r.valueType._zod.run({value:t[g],issues:[]},n);p instanceof Promise?o.push(p.then(y=>{y.issues.length&&i.issues.push(...G(g,y.issues)),i.value[g]=y.value})):(p.issues.length&&i.issues.push(...G(g,p.issues)),i.value[g]=p.value)}let f;for(let g in t)l.has(g)||(f=f??[],f.push(g));f&&f.length>0&&i.issues.push({code:"unrecognized_keys",input:t,inst:e,keys:f})}else{i.value={};for(let l of Reflect.ownKeys(t)){if(l==="__proto__")continue;let f=r.keyType._zod.run({value:l,issues:[]},n);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(f.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:f.issues.map(p=>W(p,n,T())),input:l,path:[l],inst:e}),i.value[f.value]=f.value;continue}let g=r.valueType._zod.run({value:t[l],issues:[]},n);g instanceof Promise?o.push(g.then(p=>{p.issues.length&&i.issues.push(...G(l,p.issues)),i.value[f.value]=p.value})):(g.issues.length&&i.issues.push(...G(l,g.issues)),i.value[f.value]=g.value)}}return o.length?Promise.all(o).then(()=>i):i}}),ro=h("$ZodMap",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;if(!(t instanceof Map))return i.issues.push({expected:"map",code:"invalid_type",input:t,inst:e}),i;let o=[];i.value=new Map;for(let[c,l]of t){let f=r.keyType._zod.run({value:c,issues:[]},n),g=r.valueType._zod.run({value:l,issues:[]},n);f instanceof Promise||g instanceof Promise?o.push(Promise.all([f,g]).then(([p,y])=>{Uc(p,y,i,c,t,e,n)})):Uc(f,g,i,c,t,e,n)}return o.length?Promise.all(o).then(()=>i):i}});function Uc(e,r,i,n,t,o,c){e.issues.length&&(We.has(typeof n)?i.issues.push(...G(n,e.issues)):i.issues.push({code:"invalid_key",origin:"map",input:t,inst:o,issues:e.issues.map(l=>W(l,c,T()))})),r.issues.length&&(We.has(typeof n)?i.issues.push(...G(n,r.issues)):i.issues.push({origin:"map",code:"invalid_element",input:t,inst:o,key:n,issues:r.issues.map(l=>W(l,c,T()))})),i.value.set(e.value,r.value)}s(Uc,"handleMapResult");var no=h("$ZodSet",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;if(!(t instanceof Set))return i.issues.push({input:t,inst:e,expected:"set",code:"invalid_type"}),i;let o=[];i.value=new Set;for(let c of t){let l=r.valueType._zod.run({value:c,issues:[]},n);l instanceof Promise?o.push(l.then(f=>Dc(f,i))):Dc(l,i)}return o.length?Promise.all(o).then(()=>i):i}});function Dc(e,r){e.issues.length&&r.issues.push(...e.issues),r.value.add(e.value)}s(Dc,"handleSetResult");var io=h("$ZodEnum",(e,r)=>{z.init(e,r);let i=Je(r.entries),n=new Set(i);e._zod.values=n,e._zod.pattern=new RegExp(`^(${i.filter(t=>We.has(typeof t)).map(t=>typeof t=="string"?X(t):t.toString()).join("|")})$`),e._zod.parse=(t,o)=>{let c=t.value;return n.has(c)||t.issues.push({code:"invalid_value",values:i,input:c,inst:e}),t}}),oo=h("$ZodLiteral",(e,r)=>{if(z.init(e,r),r.values.length===0)throw new Error("Cannot create literal schema with no valid values");let i=new Set(r.values);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.values.map(n=>typeof n=="string"?X(n):n?X(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,t)=>{let o=n.value;return i.has(o)||n.issues.push({code:"invalid_value",values:r.values,input:o,inst:e}),n}}),ao=h("$ZodFile",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;return t instanceof File||i.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),i}}),so=h("$ZodTransform",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{if(n.direction==="backward")throw new me(e.constructor.name);let t=r.transform(i.value,i);if(n.async)return(t instanceof Promise?t:Promise.resolve(t)).then(c=>(i.value=c,i));if(t instanceof Promise)throw new ee;return i.value=t,i}});function Oc(e,r){return e.issues.length&&r===void 0?{issues:[],value:void 0}:e}s(Oc,"handleOptionalResult");var co=h("$ZodOptional",(e,r)=>{z.init(e,r),e._zod.optin="optional",e._zod.optout="optional",N(e._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,void 0]):void 0),N(e._zod,"pattern",()=>{let i=r.innerType._zod.pattern;return i?new RegExp(`^(${Ge(i.source)})?$`):void 0}),e._zod.parse=(i,n)=>{if(r.innerType._zod.optin==="optional"){let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>Oc(o,i.value)):Oc(t,i.value)}return i.value===void 0?i:r.innerType._zod.run(i,n)}}),uo=h("$ZodNullable",(e,r)=>{z.init(e,r),N(e._zod,"optin",()=>r.innerType._zod.optin),N(e._zod,"optout",()=>r.innerType._zod.optout),N(e._zod,"pattern",()=>{let i=r.innerType._zod.pattern;return i?new RegExp(`^(${Ge(i.source)}|null)$`):void 0}),N(e._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,null]):void 0),e._zod.parse=(i,n)=>i.value===null?i:r.innerType._zod.run(i,n)}),lo=h("$ZodDefault",(e,r)=>{z.init(e,r),e._zod.optin="optional",N(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(i,n)=>{if(n.direction==="backward")return r.innerType._zod.run(i,n);if(i.value===void 0)return i.value=r.defaultValue,i;let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>Ec(o,r)):Ec(t,r)}});function Ec(e,r){return e.value===void 0&&(e.value=r.defaultValue),e}s(Ec,"handleDefaultResult");var mo=h("$ZodPrefault",(e,r)=>{z.init(e,r),e._zod.optin="optional",N(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(i,n)=>(n.direction==="backward"||i.value===void 0&&(i.value=r.defaultValue),r.innerType._zod.run(i,n))}),po=h("$ZodNonOptional",(e,r)=>{z.init(e,r),N(e._zod,"values",()=>{let i=r.innerType._zod.values;return i?new Set([...i].filter(n=>n!==void 0)):void 0}),e._zod.parse=(i,n)=>{let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>Ac(o,e)):Ac(t,e)}});function Ac(e,r){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:r}),e}s(Ac,"handleNonOptionalResult");var fo=h("$ZodSuccess",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{if(n.direction==="backward")throw new me("ZodSuccess");let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>(i.value=o.issues.length===0,i)):(i.value=t.issues.length===0,i)}}),go=h("$ZodCatch",(e,r)=>{z.init(e,r),N(e._zod,"optin",()=>r.innerType._zod.optin),N(e._zod,"optout",()=>r.innerType._zod.optout),N(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(i,n)=>{if(n.direction==="backward")return r.innerType._zod.run(i,n);let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>(i.value=o.value,o.issues.length&&(i.value=r.catchValue({...i,error:{issues:o.issues.map(c=>W(c,n,T()))},input:i.value}),i.issues=[]),i)):(i.value=t.value,t.issues.length&&(i.value=r.catchValue({...i,error:{issues:t.issues.map(o=>W(o,n,T()))},input:i.value}),i.issues=[]),i)}}),vo=h("$ZodNaN",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>((typeof i.value!="number"||!Number.isNaN(i.value))&&i.issues.push({input:i.value,inst:e,expected:"nan",code:"invalid_type"}),i)}),ho=h("$ZodPipe",(e,r)=>{z.init(e,r),N(e._zod,"values",()=>r.in._zod.values),N(e._zod,"optin",()=>r.in._zod.optin),N(e._zod,"optout",()=>r.out._zod.optout),N(e._zod,"propValues",()=>r.in._zod.propValues),e._zod.parse=(i,n)=>{if(n.direction==="backward"){let o=r.out._zod.run(i,n);return o instanceof Promise?o.then(c=>rr(c,r.in,n)):rr(o,r.in,n)}let t=r.in._zod.run(i,n);return t instanceof Promise?t.then(o=>rr(o,r.out,n)):rr(t,r.out,n)}});function rr(e,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:e.value,issues:e.issues},i)}s(rr,"handlePipeResult");var it=h("$ZodCodec",(e,r)=>{z.init(e,r),N(e._zod,"values",()=>r.in._zod.values),N(e._zod,"optin",()=>r.in._zod.optin),N(e._zod,"optout",()=>r.out._zod.optout),N(e._zod,"propValues",()=>r.in._zod.propValues),e._zod.parse=(i,n)=>{if((n.direction||"forward")==="forward"){let o=r.in._zod.run(i,n);return o instanceof Promise?o.then(c=>nr(c,r,n)):nr(o,r,n)}else{let o=r.out._zod.run(i,n);return o instanceof Promise?o.then(c=>nr(c,r,n)):nr(o,r,n)}}});function nr(e,r,i){if(e.issues.length)return e.aborted=!0,e;if((i.direction||"forward")==="forward"){let t=r.transform(e.value,e);return t instanceof Promise?t.then(o=>ir(e,o,r.out,i)):ir(e,t,r.out,i)}else{let t=r.reverseTransform(e.value,e);return t instanceof Promise?t.then(o=>ir(e,o,r.in,i)):ir(e,t,r.in,i)}}s(nr,"handleCodecAResult");function ir(e,r,i,n){return e.issues.length?(e.aborted=!0,e):i._zod.run({value:r,issues:e.issues},n)}s(ir,"handleCodecTxResult");var yo=h("$ZodReadonly",(e,r)=>{z.init(e,r),N(e._zod,"propValues",()=>r.innerType._zod.propValues),N(e._zod,"values",()=>r.innerType._zod.values),N(e._zod,"optin",()=>r.innerType?._zod?.optin),N(e._zod,"optout",()=>r.innerType?._zod?.optout),e._zod.parse=(i,n)=>{if(n.direction==="backward")return r.innerType._zod.run(i,n);let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(Tc):Tc(t)}});function Tc(e){return e.value=Object.freeze(e.value),e}s(Tc,"handleReadonlyResult");var bo=h("$ZodTemplateLiteral",(e,r)=>{z.init(e,r);let i=[];for(let n of r.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 t=n._zod.pattern instanceof RegExp?n._zod.pattern.source:n._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${n._zod.traits}`);let o=t.startsWith("^")?1:0,c=t.endsWith("$")?t.length-1:t.length;i.push(t.slice(o,c))}else if(n===null||ln.has(typeof n))i.push(X(`${n}`));else throw new Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${i.join("")}$`),e._zod.parse=(n,t)=>typeof n.value!="string"?(n.issues.push({input:n.value,inst:e,expected:"template_literal",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:r.format??"template_literal",pattern:e._zod.pattern.source}),n)}),$o=h("$ZodFunction",(e,r)=>(z.init(e,r),e._def=r,e._zod.def=r,e.implement=i=>{if(typeof i!="function")throw new Error("implement() must be called with a function");return function(...n){let t=e._def.input?Ft(e._def.input,n):n,o=Reflect.apply(i,this,t);return e._def.output?Ft(e._def.output,o):o}},e.implementAsync=i=>{if(typeof i!="function")throw new Error("implementAsync() must be called with a function");return async function(...n){let t=e._def.input?await Bt(e._def.input,n):n,o=await Reflect.apply(i,this,t);return e._def.output?await Bt(e._def.output,o):o}},e._zod.parse=(i,n)=>typeof i.value!="function"?(i.issues.push({code:"invalid_type",expected:"function",input:i.value,inst:e}),i):(e._def.output&&e._def.output._zod.def.type==="promise"?i.value=e.implementAsync(i.value):i.value=e.implement(i.value),i),e.input=(...i)=>{let n=e.constructor;return Array.isArray(i[0])?new n({type:"function",input:new ur({type:"tuple",items:i[0],rest:i[1]}),output:e._def.output}):new n({type:"function",input:i[0],output:e._def.output})},e.output=i=>{let n=e.constructor;return new n({type:"function",input:e._def.input,output:i})},e)),_o=h("$ZodPromise",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>Promise.resolve(i.value).then(t=>r.innerType._zod.run({value:t,issues:[]},n))}),ko=h("$ZodLazy",(e,r)=>{z.init(e,r),N(e._zod,"innerType",()=>r.getter()),N(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),N(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),N(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),N(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(i,n)=>e._zod.innerType._zod.run(i,n)}),xo=h("$ZodCustom",(e,r)=>{D.init(e,r),z.init(e,r),e._zod.parse=(i,n)=>i,e._zod.check=i=>{let n=i.value,t=r.fn(n);if(t instanceof Promise)return t.then(o=>Zc(o,i,n,e));Zc(t,i,n,e)}});function Zc(e,r,i,n){if(!e){let t={code:"custom",input:i,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(t.params=n._zod.def.params),r.issues.push(je(t))}}s(Zc,"handleRefineResult");var lt={};de(lt,{ar:()=>wo,az:()=>Io,be:()=>So,bg:()=>zo,ca:()=>jo,cs:()=>Po,da:()=>Co,de:()=>No,en:()=>ot,eo:()=>Uo,es:()=>Do,fa:()=>Oo,fi:()=>Eo,fr:()=>Ao,frCA:()=>To,he:()=>Zo,hu:()=>Ro,id:()=>Vo,is:()=>Lo,it:()=>Fo,ja:()=>Bo,ka:()=>Mo,kh:()=>qo,km:()=>at,ko:()=>Jo,lt:()=>Go,mk:()=>Wo,ms:()=>Ko,nl:()=>Xo,no:()=>Ho,ota:()=>Qo,pl:()=>ea,ps:()=>Yo,pt:()=>ta,ru:()=>ra,sl:()=>na,sv:()=>ia,ta:()=>oa,th:()=>aa,tr:()=>sa,ua:()=>ca,uk:()=>ut,ur:()=>ua,vi:()=>la,yo:()=>pa,zhCN:()=>da,zhTW:()=>ma});var zd=s(()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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: ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${t.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${t.maximum.toString()} ${c.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 ${t.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${t.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${t.minimum.toString()} ${c.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${t.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;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 "${t.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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${t.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${t.keys.length>1?"\u0629":""}: ${b(t.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${t.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 ${t.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}},"error");function wo(){return{localeError:zd()}}s(wo,"default");var jd=s(()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${t.expected}, daxil olan ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${_(t.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${t.origin??"d\u0259y\u0259r"} ${o}${t.maximum.toString()} ${c.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${t.origin??"d\u0259y\u0259r"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${t.origin} ${o}${t.minimum.toString()} ${c.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${t.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${t.keys.length>1?"lar":""}: ${b(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${t.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}},"error");function Io(){return{localeError:jd()}}s(Io,"default");function Mc(e,r,i,n){let t=Math.abs(e),o=t%10,c=t%100;return c>=11&&c<=19?n:o===1?r:o>=2&&o<=4?i:n}s(Mc,"getBelarusianPlural");var Pd=s(()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u043B\u0456\u043A";case"object":{if(Array.isArray(t))return"\u043C\u0430\u0441\u0456\u045E";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${t.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);if(c){let l=Number(t.maximum),f=Mc(l,c.unit.one,c.unit.few,c.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 ${t.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${c.verb} ${o}${t.maximum.toString()} ${f}`}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 ${t.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);if(c){let l=Number(t.minimum),f=Mc(l,c.unit.one,c.unit.few,c.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 ${t.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${c.verb} ${o}${t.minimum.toString()} ${f}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${t.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${t.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${b(t.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${t.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 ${t.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}},"error");function So(){return{localeError:Pd()}}s(So,"default");var Cd=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(e))return"\u043C\u0430\u0441\u0438\u0432";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),Nd=s(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${n.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${Cd(n.input)}`;case"invalid_value":return n.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${_(n.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 ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${t}${n.maximum.toString()} ${o.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 ${n.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${t}${n.minimum.toString()} ${o.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;if(t.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 "${t.prefix}"`;if(t.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 "${t.suffix}"`;if(t.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 "${t.includes}"`;if(t.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 ${t.pattern}`;let o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return t.format==="emoji"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),t.format==="datetime"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),t.format==="date"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),t.format==="time"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),t.format==="duration"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${o} ${i[t.format]??n.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 ${n.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${n.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${n.keys.length>1?"\u043E\u0432\u0435":""}: ${b(n.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${n.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 ${n.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}},"error");function zo(){return{localeError:Nd()}}s(zo,"default");var Ud=s(()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Tipus inv\xE0lid: s'esperava ${t.expected}, s'ha rebut ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Valor inv\xE0lid: s'esperava ${_(t.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${b(t.values," o ")}`;case"too_big":{let o=t.inclusive?"com a m\xE0xim":"menys de",c=r(t.origin);return c?`Massa gran: s'esperava que ${t.origin??"el valor"} contingu\xE9s ${o} ${t.maximum.toString()} ${c.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?"com a m\xEDnim":"m\xE9s de",c=r(t.origin);return c?`Massa petit: s'esperava que ${t.origin} contingu\xE9s ${o} ${t.minimum.toString()} ${c.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${t.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${t.origin}`;default:return"Entrada inv\xE0lida"}}},"error");function jo(){return{localeError:Ud()}}s(jo,"default");var Dd=s(()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u010D\xEDslo";case"string":return"\u0159et\u011Bzec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":{if(Array.isArray(t))return"pole";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${t.expected}, obdr\u017Eeno ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${_(t.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${t.origin??"hodnota"} mus\xED m\xEDt ${o}${t.maximum.toString()} ${c.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${t.origin??"hodnota"} mus\xED b\xFDt ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${t.origin??"hodnota"} mus\xED m\xEDt ${o}${t.minimum.toString()} ${c.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${t.origin??"hodnota"} mus\xED b\xFDt ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${t.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${b(t.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${t.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${t.origin}`;default:return"Neplatn\xFD vstup"}}},"error");function Po(){return{localeError:Dd()}}s(Po,"default");var Od=s(()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}},r={string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};function i(c){return e[c]??null}s(i,"getSizing");function n(c){return r[c]??c}s(n,"getTypeName");let t=s(c=>{let l=typeof c;switch(l){case"number":return Number.isNaN(c)?"NaN":"tal";case"object":return Array.isArray(c)?"liste":c===null?"null":Object.getPrototypeOf(c)!==Object.prototype&&c.constructor?c.constructor.name:"objekt"}return l},"parsedType"),o={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"};return c=>{switch(c.code){case"invalid_type":return`Ugyldigt input: forventede ${n(c.expected)}, fik ${n(t(c.input))}`;case"invalid_value":return c.values.length===1?`Ugyldig v\xE6rdi: forventede ${_(c.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${b(c.values,"|")}`;case"too_big":{let l=c.inclusive?"<=":"<",f=i(c.origin),g=n(c.origin);return f?`For stor: forventede ${g??"value"} ${f.verb} ${l} ${c.maximum.toString()} ${f.unit??"elementer"}`:`For stor: forventede ${g??"value"} havde ${l} ${c.maximum.toString()}`}case"too_small":{let l=c.inclusive?">=":">",f=i(c.origin),g=n(c.origin);return f?`For lille: forventede ${g} ${f.verb} ${l} ${c.minimum.toString()} ${f.unit}`:`For lille: forventede ${g} havde ${l} ${c.minimum.toString()}`}case"invalid_format":{let l=c;return l.format==="starts_with"?`Ugyldig streng: skal starte med "${l.prefix}"`:l.format==="ends_with"?`Ugyldig streng: skal ende med "${l.suffix}"`:l.format==="includes"?`Ugyldig streng: skal indeholde "${l.includes}"`:l.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${l.pattern}`:`Ugyldig ${o[l.format]??c.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${c.divisor}`;case"unrecognized_keys":return`${c.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${b(c.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${c.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${c.origin}`;default:return"Ugyldigt input"}}},"error");function Co(){return{localeError:Od()}}s(Co,"default");var Ed=s(()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"Zahl";case"object":{if(Array.isArray(t))return"Array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Ung\xFCltige Eingabe: erwartet ${t.expected}, erhalten ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ung\xFCltige Eingabe: erwartet ${_(t.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Zu gro\xDF: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ${c.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ist`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ${c.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ist`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${b(t.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${t.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${t.origin}`;default:return"Ung\xFCltige Eingabe"}}},"error");function No(){return{localeError:Ed()}}s(No,"default");var Ad=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),Td=s(()=>{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"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Invalid input: expected ${n.expected}, received ${Ad(n.input)}`;case"invalid_value":return n.values.length===1?`Invalid input: expected ${_(n.values[0])}`:`Invalid option: expected one of ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`Too big: expected ${n.origin??"value"} to have ${t}${n.maximum.toString()} ${o.unit??"elements"}`:`Too big: expected ${n.origin??"value"} to be ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`Too small: expected ${n.origin} to have ${t}${n.minimum.toString()} ${o.unit}`:`Too small: expected ${n.origin} to be ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`Invalid string: must start with "${t.prefix}"`:t.format==="ends_with"?`Invalid string: must end with "${t.suffix}"`:t.format==="includes"?`Invalid string: must include "${t.includes}"`:t.format==="regex"?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${i[t.format]??n.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${b(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`;default:return"Invalid input"}}},"error");function ot(){return{localeError:Td()}}s(ot,"default");var Zd=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":{if(Array.isArray(e))return"tabelo";if(e===null)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),Rd=s(()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Nevalida enigo: atendi\u011Dis ${n.expected}, ricevi\u011Dis ${Zd(n.input)}`;case"invalid_value":return n.values.length===1?`Nevalida enigo: atendi\u011Dis ${_(n.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`Tro granda: atendi\u011Dis ke ${n.origin??"valoro"} havu ${t}${n.maximum.toString()} ${o.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${n.origin??"valoro"} havu ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`Tro malgranda: atendi\u011Dis ke ${n.origin} havu ${t}${n.minimum.toString()} ${o.unit}`:`Tro malgranda: atendi\u011Dis ke ${n.origin} estu ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${t.prefix}"`:t.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${t.suffix}"`:t.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${t.includes}"`:t.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${i[t.format]??n.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${n.divisor}`;case"unrecognized_keys":return`Nekonata${n.keys.length>1?"j":""} \u015Dlosilo${n.keys.length>1?"j":""}: ${b(n.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${n.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${n.origin}`;default:return"Nevalida enigo"}}},"error");function Uo(){return{localeError:Rd()}}s(Uo,"default");var Vd=s(()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}},r={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"};function i(c){return e[c]??null}s(i,"getSizing");function n(c){return r[c]??c}s(n,"getTypeName");let t=s(c=>{let l=typeof c;switch(l){case"number":return Number.isNaN(c)?"NaN":"number";case"object":return Array.isArray(c)?"array":c===null?"null":Object.getPrototypeOf(c)!==Object.prototype?c.constructor.name:"object"}return l},"parsedType"),o={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"};return c=>{switch(c.code){case"invalid_type":return`Entrada inv\xE1lida: se esperaba ${n(c.expected)}, recibido ${n(t(c.input))}`;case"invalid_value":return c.values.length===1?`Entrada inv\xE1lida: se esperaba ${_(c.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${b(c.values,"|")}`;case"too_big":{let l=c.inclusive?"<=":"<",f=i(c.origin),g=n(c.origin);return f?`Demasiado grande: se esperaba que ${g??"valor"} tuviera ${l}${c.maximum.toString()} ${f.unit??"elementos"}`:`Demasiado grande: se esperaba que ${g??"valor"} fuera ${l}${c.maximum.toString()}`}case"too_small":{let l=c.inclusive?">=":">",f=i(c.origin),g=n(c.origin);return f?`Demasiado peque\xF1o: se esperaba que ${g} tuviera ${l}${c.minimum.toString()} ${f.unit}`:`Demasiado peque\xF1o: se esperaba que ${g} fuera ${l}${c.minimum.toString()}`}case"invalid_format":{let l=c;return l.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${l.prefix}"`:l.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${l.suffix}"`:l.format==="includes"?`Cadena inv\xE1lida: debe incluir "${l.includes}"`:l.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${l.pattern}`:`Inv\xE1lido ${o[l.format]??c.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${c.divisor}`;case"unrecognized_keys":return`Llave${c.keys.length>1?"s":""} desconocida${c.keys.length>1?"s":""}: ${b(c.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${n(c.origin)}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${n(c.origin)}`;default:return"Entrada inv\xE1lida"}}},"error");function Do(){return{localeError:Vd()}}s(Do,"default");var Ld=s(()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(t))return"\u0622\u0631\u0627\u06CC\u0647";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${t.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${i(t.input)} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;case"invalid_value":return t.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${_(t.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 ${b(t.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${t.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} ${c.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${t.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} ${c.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${t.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${b(t.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${t.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 ${t.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}},"error");function Oo(){return{localeError:Ld()}}s(Oo,"default");var Fd=s(()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${t.expected}, oli ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${_(t.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Liian suuri: ${c.subject} t\xE4ytyy olla ${o}${t.maximum.toString()} ${c.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Liian pieni: ${c.subject} t\xE4ytyy olla ${o}${t.minimum.toString()} ${c.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${b(t.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}},"error");function Eo(){return{localeError:Fd()}}s(Eo,"default");var Bd=s(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"nombre";case"object":{if(Array.isArray(t))return"tableau";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Entr\xE9e invalide : ${t.expected} attendu, ${i(t.input)} re\xE7u`;case"invalid_value":return t.values.length===1?`Entr\xE9e invalide : ${_(t.values[0])} attendu`:`Option invalide : une valeur parmi ${b(t.values,"|")} attendue`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Trop grand : ${t.origin??"valeur"} doit ${c.verb} ${o}${t.maximum.toString()} ${c.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${t.origin??"valeur"} doit \xEAtre ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Trop petit : ${t.origin} doit ${c.verb} ${o}${t.minimum.toString()} ${c.unit}`:`Trop petit : ${t.origin} doit \xEAtre ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${t.divisor}`;case"unrecognized_keys":return`Cl\xE9${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${b(t.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${t.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Ao(){return{localeError:Bd()}}s(Ao,"default");var Md=s(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Entr\xE9e invalide : attendu ${t.expected}, re\xE7u ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Entr\xE9e invalide : attendu ${_(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"\u2264":"<",c=r(t.origin);return c?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${o}${t.maximum.toString()} ${c.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?"\u2265":">",c=r(t.origin);return c?`Trop petit : attendu que ${t.origin} ait ${o}${t.minimum.toString()} ${c.unit}`:`Trop petit : attendu que ${t.origin} soit ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${t.divisor}`;case"unrecognized_keys":return`Cl\xE9${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${b(t.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${t.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entr\xE9e invalide"}}},"error");function To(){return{localeError:Md()}}s(To,"default");var qd=s(()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},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"}},i=s(g=>g?e[g]:void 0,"typeEntry"),n=s(g=>{let p=i(g);return p?p.label:g??e.unknown.label},"typeLabel"),t=s(g=>`\u05D4${n(g)}`,"withDefinite"),o=s(g=>(i(g)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA","verbFor"),c=s(g=>g?r[g]??null:null,"getSizing"),l=s(g=>{let p=typeof g;switch(p){case"number":return Number.isNaN(g)?"NaN":"number";case"object":return Array.isArray(g)?"array":g===null?"null":Object.getPrototypeOf(g)!==Object.prototype&&g.constructor?g.constructor.name:"object";default:return p}},"parsedType"),f={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"}};return g=>{switch(g.code){case"invalid_type":{let p=g.expected,y=n(p),m=l(g.input),u=e[m]?.label??m;return`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${y}, \u05D4\u05EA\u05E7\u05D1\u05DC ${u}`}case"invalid_value":{if(g.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 ${_(g.values[0])}`;let p=g.values.map(u=>_(u));if(g.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${p[0]} \u05D0\u05D5 ${p[1]}`;let y=p[p.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${p.slice(0,-1).join(", ")} \u05D0\u05D5 ${y}`}case"too_big":{let p=c(g.origin),y=t(g.origin??"value");if(g.origin==="string")return`${p?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${y} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${g.maximum.toString()} ${p?.unit??""} ${g.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(g.origin==="number"){let d=g.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${g.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${g.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${y} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${d}`}if(g.origin==="array"||g.origin==="set"){let d=g.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",v=g.inclusive?`${g.maximum} ${p?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${g.maximum} ${p?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${y} ${d} \u05DC\u05D4\u05DB\u05D9\u05DC ${v}`.trim()}let m=g.inclusive?"<=":"<",u=o(g.origin??"value");return p?.unit?`${p.longLabel} \u05DE\u05D3\u05D9: ${y} ${u} ${m}${g.maximum.toString()} ${p.unit}`:`${p?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${y} ${u} ${m}${g.maximum.toString()}`}case"too_small":{let p=c(g.origin),y=t(g.origin??"value");if(g.origin==="string")return`${p?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${y} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${g.minimum.toString()} ${p?.unit??""} ${g.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(g.origin==="number"){let d=g.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${g.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${g.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${y} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${d}`}if(g.origin==="array"||g.origin==="set"){let d=g.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(g.minimum===1&&g.inclusive){let $=(g.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${y} ${d} \u05DC\u05D4\u05DB\u05D9\u05DC ${$}`}let v=g.inclusive?`${g.minimum} ${p?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${g.minimum} ${p?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${y} ${d} \u05DC\u05D4\u05DB\u05D9\u05DC ${v}`.trim()}let m=g.inclusive?">=":">",u=o(g.origin??"value");return p?.unit?`${p.shortLabel} \u05DE\u05D3\u05D9: ${y} ${u} ${m}${g.minimum.toString()} ${p.unit}`:`${p?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${y} ${u} ${m}${g.minimum.toString()}`}case"invalid_format":{let p=g;if(p.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${p.prefix}"`;if(p.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${p.suffix}"`;if(p.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${p.includes}"`;if(p.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${p.pattern}`;let y=f[p.format],m=y?.label??p.format,d=(y?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${m} \u05DC\u05D0 ${d}`}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 ${g.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${g.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${g.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${b(g.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${t(g.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}},"error");function Zo(){return{localeError:qd()}}s(Zo,"default");var Jd=s(()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"sz\xE1m";case"object":{if(Array.isArray(t))return"t\xF6mb";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${t.expected}, a kapott \xE9rt\xE9k ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${_(t.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`T\xFAl nagy: ${t.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${o}${t.maximum.toString()} ${c.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${t.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${t.origin} m\xE9rete t\xFAl kicsi ${o}${t.minimum.toString()} ${c.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${t.origin} t\xFAl kicsi ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${t.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${t.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${t.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}},"error");function Ro(){return{localeError:Jd()}}s(Ro,"default");var Gd=s(()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Input tidak valid: diharapkan ${t.expected}, diterima ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${_(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${o}${t.maximum.toString()} ${c.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Terlalu kecil: diharapkan ${t.origin} memiliki ${o}${t.minimum.toString()} ${c.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${t.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${t.origin}`;default:return"Input tidak valid"}}},"error");function Vo(){return{localeError:Gd()}}s(Vo,"default");var Wd=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"n\xFAmer";case"object":{if(Array.isArray(e))return"fylki";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),Kd=s(()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Rangt gildi: \xDE\xFA sl\xF3st inn ${Wd(n.input)} \xFEar sem \xE1 a\xF0 vera ${n.expected}`;case"invalid_value":return n.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${_(n.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin??"gildi"} hafi ${t}${n.maximum.toString()} ${o.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin??"gildi"} s\xE9 ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin} hafi ${t}${n.minimum.toString()} ${o.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin} s\xE9 ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${t.prefix}"`:t.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${t.suffix}"`:t.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${t.includes}"`:t.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${t.pattern}`:`Rangt ${i[t.format]??n.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${n.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${n.keys.length>1?"ir lyklar":"ur lykill"}: ${b(n.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${n.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${n.origin}`;default:return"Rangt gildi"}}},"error");function Lo(){return{localeError:Kd()}}s(Lo,"default");var Xd=s(()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"numero";case"object":{if(Array.isArray(t))return"vettore";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Input non valido: atteso ${t.expected}, ricevuto ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input non valido: atteso ${_(t.values[0])}`:`Opzione non valida: atteso uno tra ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Troppo grande: ${t.origin??"valore"} deve avere ${o}${t.maximum.toString()} ${c.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Troppo piccolo: ${t.origin} deve avere ${o}${t.minimum.toString()} ${c.unit}`:`Troppo piccolo: ${t.origin} deve essere ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Invalid ${n[o.format]??t.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${t.divisor}`;case"unrecognized_keys":return`Chiav${t.keys.length>1?"i":"e"} non riconosciut${t.keys.length>1?"e":"a"}: ${b(t.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${t.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${t.origin}`;default:return"Input non valido"}}},"error");function Fo(){return{localeError:Xd()}}s(Fo,"default");var Hd=s(()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u6570\u5024";case"object":{if(Array.isArray(t))return"\u914D\u5217";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u7121\u52B9\u306A\u5165\u529B: ${t.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${i(t.input)}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;case"invalid_value":return t.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${_(t.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${b(t.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let o=t.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",c=r(t.origin);return c?`\u5927\u304D\u3059\u304E\u308B\u5024: ${t.origin??"\u5024"}\u306F${t.maximum.toString()}${c.unit??"\u8981\u7D20"}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${t.origin??"\u5024"}\u306F${t.maximum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let o=t.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",c=r(t.origin);return c?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${t.origin}\u306F${t.minimum.toString()}${c.unit}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${t.origin}\u306F${t.minimum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${t.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${t.keys.length>1?"\u7FA4":""}: ${b(t.keys,"\u3001")}`;case"invalid_key":return`${t.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${t.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}},"error");function Bo(){return{localeError:Hd()}}s(Bo,"default");var Qd=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8";case"object":{if(Array.isArray(e))return"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return{string:"\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",undefined:"undefined",bigint:"bigint",symbol:"symbol",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0"}[r]??r},"parsedType"),Yd=s(()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function r(n){return e[n]??null}s(r,"getSizing");let i={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",json_string:"JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"};return n=>{switch(n.code){case"invalid_type":return`\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 ${n.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${Qd(n.input)}`;case"invalid_value":return n.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 ${_(n.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 ${b(n.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${n.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${o.verb} ${t}${n.maximum.toString()} ${o.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${n.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`\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 ${n.origin} ${o.verb} ${t}${n.minimum.toString()} ${o.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 ${n.origin} \u10D8\u10E7\u10DD\u10E1 ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${t.prefix}"-\u10D8\u10D7`:t.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${t.suffix}"-\u10D8\u10D7`:t.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${t.includes}"-\u10E1`:t.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${t.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${i[t.format]??n.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 ${n.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${n.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${b(n.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${n.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 ${n.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}},"error");function Mo(){return{localeError:Yd()}}s(Mo,"default");var em=s(()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"\u1798\u17B7\u1793\u1798\u17C2\u1793\u1787\u17B6\u179B\u17C1\u1781 (NaN)":"\u179B\u17C1\u1781";case"object":{if(Array.isArray(t))return"\u17A2\u17B6\u179A\u17C1 (Array)";if(t===null)return"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${t.maximum.toString()} ${c.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin} ${o} ${t.minimum.toString()} ${c.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin} ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${b(t.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 ${t.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 ${t.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}},"error");function at(){return{localeError:em()}}s(at,"default");function qo(){return at()}s(qo,"default");var tm=s(()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${t.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${i(t.input)}\uC785\uB2C8\uB2E4`;case"invalid_value":return t.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${_(t.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${b(t.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let o=t.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",c=o==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",l=r(t.origin),f=l?.unit??"\uC694\uC18C";return l?`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${t.maximum.toString()}${f} ${o}${c}`:`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${t.maximum.toString()} ${o}${c}`}case"too_small":{let o=t.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",c=o==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",l=r(t.origin),f=l?.unit??"\uC694\uC18C";return l?`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${t.minimum.toString()}${f} ${o}${c}`:`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${t.minimum.toString()} ${o}${c}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${t.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${b(t.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${t.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${t.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}},"error");function Jo(){return{localeError:tm()}}s(Jo,"default");var rm=s(e=>ct(typeof e,e),"parsedType"),ct=s((e,r=void 0)=>{switch(e){case"number":return Number.isNaN(r)?"NaN":"skai\u010Dius";case"bigint":return"sveikasis skai\u010Dius";case"string":return"eilut\u0117";case"boolean":return"login\u0117 reik\u0161m\u0117";case"undefined":case"void":return"neapibr\u0117\u017Eta reik\u0161m\u0117";case"function":return"funkcija";case"symbol":return"simbolis";case"object":return r===void 0?"ne\u017Einomas objektas":r===null?"nulin\u0117 reik\u0161m\u0117":Array.isArray(r)?"masyvas":Object.getPrototypeOf(r)!==Object.prototype&&r.constructor?r.constructor.name:"objektas";case"null":return"nulin\u0117 reik\u0161m\u0117"}return e},"parsedTypeFromType"),st=s(e=>e.charAt(0).toUpperCase()+e.slice(1),"capitalizeFirstCharacter");function qc(e){let r=Math.abs(e),i=r%10,n=r%100;return n>=11&&n<=19||i===0?"many":i===1?"one":"few"}s(qc,"getUnitTypeFromNumber");var nm=s(()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function r(n,t,o,c){let l=e[n]??null;return l===null?l:{unit:l.unit[t],verb:l.verb[c][o?"inclusive":"notInclusive"]}}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Gautas tipas ${rm(n.input)}, o tik\u0117tasi - ${ct(n.expected)}`;case"invalid_value":return n.values.length===1?`Privalo b\u016Bti ${_(n.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${b(n.values,"|")} pasirinkim\u0173`;case"too_big":{let t=ct(n.origin),o=r(n.origin,qc(Number(n.maximum)),n.inclusive??!1,"smaller");if(o?.verb)return`${st(t??n.origin??"reik\u0161m\u0117")} ${o.verb} ${n.maximum.toString()} ${o.unit??"element\u0173"}`;let c=n.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${st(t??n.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${n.maximum.toString()} ${o?.unit}`}case"too_small":{let t=ct(n.origin),o=r(n.origin,qc(Number(n.minimum)),n.inclusive??!1,"bigger");if(o?.verb)return`${st(t??n.origin??"reik\u0161m\u0117")} ${o.verb} ${n.minimum.toString()} ${o.unit??"element\u0173"}`;let c=n.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${st(t??n.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${n.minimum.toString()} ${o?.unit}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${t.prefix}"`:t.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${t.suffix}"`:t.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${t.includes}"`:t.format==="regex"?`Eilut\u0117 privalo atitikti ${t.pattern}`:`Neteisingas ${i[t.format]??n.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${n.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${n.keys.length>1?"i":"as"} rakt${n.keys.length>1?"ai":"as"}: ${b(n.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let t=ct(n.origin);return`${st(t??n.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}},"error");function Go(){return{localeError:nm()}}s(Go,"default");var im=s(()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0431\u0440\u043E\u0458";case"object":{if(Array.isArray(t))return"\u043D\u0438\u0437\u0430";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Invalid input: expected ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${o}${t.maximum.toString()} ${c.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 ${t.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin} \u0434\u0430 \u0438\u043C\u0430 ${o}${t.minimum.toString()} ${c.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`${t.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"}: ${b(t.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${t.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 ${t.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}},"error");function Wo(){return{localeError:im()}}s(Wo,"default");var om=s(()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"nombor";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Input tidak sah: dijangka ${t.expected}, diterima ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${_(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Terlalu besar: dijangka ${t.origin??"nilai"} ${c.verb} ${o}${t.maximum.toString()} ${c.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Terlalu kecil: dijangka ${t.origin} ${c.verb} ${o}${t.minimum.toString()} ${c.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${b(t.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${t.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${t.origin}`;default:return"Input tidak sah"}}},"error");function Ko(){return{localeError:om()}}s(Ko,"default");var am=s(()=>{let e={string:{unit:"tekens",verb:"te hebben"},file:{unit:"bytes",verb:"te hebben"},array:{unit:"elementen",verb:"te hebben"},set:{unit:"elementen",verb:"te hebben"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"getal";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Ongeldige invoer: verwacht ${t.expected}, ontving ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${_(t.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Te groot: verwacht dat ${t.origin??"waarde"} ${c.verb} ${o}${t.maximum.toString()} ${c.unit??"elementen"}`:`Te groot: verwacht dat ${t.origin??"waarde"} ${o}${t.maximum.toString()} is`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Te klein: verwacht dat ${t.origin} ${c.verb} ${o}${t.minimum.toString()} ${c.unit}`:`Te klein: verwacht dat ${t.origin} ${o}${t.minimum.toString()} is`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${t.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${t.origin}`;default:return"Ongeldige invoer"}}},"error");function Xo(){return{localeError:am()}}s(Xo,"default");var sm=s(()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"tall";case"object":{if(Array.isArray(t))return"liste";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Ugyldig input: forventet ${t.expected}, fikk ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${_(t.values[0])}`:`Ugyldig valg: forventet en av ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`For stor(t): forventet ${t.origin??"value"} til \xE5 ha ${o}${t.maximum.toString()} ${c.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til \xE5 ha ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`For lite(n): forventet ${t.origin} til \xE5 ha ${o}${t.minimum.toString()} ${c.unit}`:`For lite(n): forventet ${t.origin} til \xE5 ha ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${b(t.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}},"error");function Ho(){return{localeError:sm()}}s(Ho,"default");var cm=s(()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"numara";case"object":{if(Array.isArray(t))return"saf";if(t===null)return"gayb";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`F\xE2sit giren: umulan ${t.expected}, al\u0131nan ${i(t.input)}`;case"invalid_value":return t.values.length===1?`F\xE2sit giren: umulan ${_(t.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Fazla b\xFCy\xFCk: ${t.origin??"value"}, ${o}${t.maximum.toString()} ${c.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${t.origin??"value"}, ${o}${t.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Fazla k\xFC\xE7\xFCk: ${t.origin}, ${o}${t.minimum.toString()} ${c.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${t.origin}, ${o}${t.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${t.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`${t.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${t.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}},"error");function Qo(){return{localeError:cm()}}s(Qo,"default");var um=s(()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(t))return"\u0627\u0631\u06D0";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${t.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${i(t.input)} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;case"invalid_value":return t.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${_(t.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${b(t.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${t.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} ${c.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${t.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} \u0648\u064A`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} ${c.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} \u0648\u064A`}case"invalid_format":{let o=t;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]??t.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${t.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${t.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${b(t.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${t.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 ${t.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}},"error");function Yo(){return{localeError:um()}}s(Yo,"default");var lm=s(()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"liczba";case"object":{if(Array.isArray(t))return"tablica";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${t.expected}, otrzymano ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${_(t.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${t.maximum.toString()} ${c.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${t.minimum.toString()} ${c.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${t.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${t.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}},"error");function ea(){return{localeError:lm()}}s(ea,"default");var dm=s(()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"n\xFAmero";case"object":{if(Array.isArray(t))return"array";if(t===null)return"nulo";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Tipo inv\xE1lido: esperado ${t.expected}, recebido ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Entrada inv\xE1lida: esperado ${_(t.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Muito grande: esperado que ${t.origin??"valor"} tivesse ${o}${t.maximum.toString()} ${c.unit??"elementos"}`:`Muito grande: esperado que ${t.origin??"valor"} fosse ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Muito pequeno: esperado que ${t.origin} tivesse ${o}${t.minimum.toString()} ${c.unit}`:`Muito pequeno: esperado que ${t.origin} fosse ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${t.divisor}`;case"unrecognized_keys":return`Chave${t.keys.length>1?"s":""} desconhecida${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${t.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${t.origin}`;default:return"Campo inv\xE1lido"}}},"error");function ta(){return{localeError:dm()}}s(ta,"default");function Jc(e,r,i,n){let t=Math.abs(e),o=t%10,c=t%100;return c>=11&&c<=19?n:o===1?r:o>=2&&o<=4?i:n}s(Jc,"getRussianPlural");var mm=s(()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(t))return"\u043C\u0430\u0441\u0441\u0438\u0432";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${t.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);if(c){let l=Number(t.maximum),f=Jc(l,c.unit.one,c.unit.few,c.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 ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${t.maximum.toString()} ${f}`}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 ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);if(c){let l=Number(t.minimum),f=Jc(l,c.unit.one,c.unit.few,c.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 ${t.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${t.minimum.toString()} ${f}`}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 ${t.origin} \u0431\u0443\u0434\u0435\u0442 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${t.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${t.keys.length>1?"\u0438":""}: ${b(t.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${t.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 ${t.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}},"error");function ra(){return{localeError:mm()}}s(ra,"default");var pm=s(()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0161tevilo";case"object":{if(Array.isArray(t))return"tabela";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Neveljaven vnos: pri\u010Dakovano ${t.expected}, prejeto ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${_(t.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Preveliko: pri\u010Dakovano, da bo ${t.origin??"vrednost"} imelo ${o}${t.maximum.toString()} ${c.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${t.origin??"vrednost"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Premajhno: pri\u010Dakovano, da bo ${t.origin} imelo ${o}${t.minimum.toString()} ${c.unit}`:`Premajhno: pri\u010Dakovano, da bo ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${b(t.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}},"error");function na(){return{localeError:pm()}}s(na,"default");var fm=s(()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"antal";case"object":{if(Array.isArray(t))return"lista";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Ogiltig inmatning: f\xF6rv\xE4ntat ${t.expected}, fick ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${_(t.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`F\xF6r stor(t): f\xF6rv\xE4ntade ${t.origin??"v\xE4rdet"} att ha ${o}${t.maximum.toString()} ${c.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${t.origin??"v\xE4rdet"} att ha ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`F\xF6r lite(t): f\xF6rv\xE4ntade ${t.origin??"v\xE4rdet"} att ha ${o}${t.minimum.toString()} ${c.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${t.origin??"v\xE4rdet"} att ha ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${b(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${t.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}},"error");function ia(){return{localeError:fm()}}s(ia,"default");var gm=s(()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"\u0B8E\u0BA3\u0BCD \u0B85\u0BB2\u0BCD\u0BB2\u0BBE\u0BA4\u0BA4\u0BC1":"\u0B8E\u0BA3\u0BCD";case"object":{if(Array.isArray(t))return"\u0B85\u0BA3\u0BBF";if(t===null)return"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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 ${b(t.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\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 ${t.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${t.maximum.toString()} ${c.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 ${t.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${t.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\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 ${t.origin} ${o}${t.minimum.toString()} ${c.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 ${t.origin} ${o}${t.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${t.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${t.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${b(t.keys,", ")}`;case"invalid_key":return`${t.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`${t.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}},"error");function oa(){return{localeError:gm()}}s(oa,"default");var vm=s(()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 (NaN)":"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02";case"object":{if(Array.isArray(t))return"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)";if(t===null)return"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",c=r(t.origin);return c?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.maximum.toString()} ${c.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",c=r(t.origin);return c?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.minimum.toString()} ${c.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.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: ${b(t.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${t.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 ${t.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}},"error");function aa(){return{localeError:vm()}}s(aa,"default");var hm=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),ym=s(()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Ge\xE7ersiz de\u011Fer: beklenen ${n.expected}, al\u0131nan ${hm(n.input)}`;case"invalid_value":return n.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${_(n.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`\xC7ok b\xFCy\xFCk: beklenen ${n.origin??"de\u011Fer"} ${t}${n.maximum.toString()} ${o.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${n.origin??"de\u011Fer"} ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`\xC7ok k\xFC\xE7\xFCk: beklenen ${n.origin} ${t}${n.minimum.toString()} ${o.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${n.origin} ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`Ge\xE7ersiz metin: "${t.prefix}" ile ba\u015Flamal\u0131`:t.format==="ends_with"?`Ge\xE7ersiz metin: "${t.suffix}" ile bitmeli`:t.format==="includes"?`Ge\xE7ersiz metin: "${t.includes}" i\xE7ermeli`:t.format==="regex"?`Ge\xE7ersiz metin: ${t.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${i[t.format]??n.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${n.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${n.keys.length>1?"lar":""}: ${b(n.keys,", ")}`;case"invalid_key":return`${n.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${n.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}},"error");function sa(){return{localeError:ym()}}s(sa,"default");var bm=s(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(t))return"\u043C\u0430\u0441\u0438\u0432";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\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 ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${c.verb} ${o}${t.maximum.toString()} ${c.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 ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${t.origin} ${c.verb} ${o}${t.minimum.toString()} ${c.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${t.origin} \u0431\u0443\u0434\u0435 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${t.keys.length>1?"\u0456":""}: ${b(t.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${t.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 ${t.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}},"error");function ut(){return{localeError:bm()}}s(ut,"default");function ca(){return ut()}s(ca,"default");var $m=s(()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0646\u0645\u0628\u0631";case"object":{if(Array.isArray(t))return"\u0622\u0631\u06D2";if(t===null)return"\u0646\u0644";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${t.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${i(t.input)} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;case"invalid_value":return t.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${_(t.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${b(t.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${t.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${o}${t.maximum.toString()} ${c.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${t.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${o}${t.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${t.origin} \u06A9\u06D2 ${o}${t.minimum.toString()} ${c.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${t.origin} \u06A9\u0627 ${o}${t.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${t.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${t.keys.length>1?"\u0632":""}: ${b(t.keys,"\u060C ")}`;case"invalid_key":return`${t.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${t.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}},"error");function ua(){return{localeError:$m()}}s(ua,"default");var _m=s(()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"s\u1ED1";case"object":{if(Array.isArray(t))return"m\u1EA3ng";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${t.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${_(t.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${t.origin??"gi\xE1 tr\u1ECB"} ${c.verb} ${o}${t.maximum.toString()} ${c.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${t.origin??"gi\xE1 tr\u1ECB"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${t.origin} ${c.verb} ${o}${t.minimum.toString()} ${c.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${b(t.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${t.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 ${t.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}},"error");function la(){return{localeError:_m()}}s(la,"default");var km=s(()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"\u975E\u6570\u5B57(NaN)":"\u6570\u5B57";case"object":{if(Array.isArray(t))return"\u6570\u7EC4";if(t===null)return"\u7A7A\u503C(null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${t.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${_(t.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${t.origin??"\u503C"} ${o}${t.maximum.toString()} ${c.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${t.origin??"\u503C"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${t.origin} ${o}${t.minimum.toString()} ${c.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${t.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${b(t.keys,", ")}`;case"invalid_key":return`${t.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${t.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}},"error");function da(){return{localeError:km()}}s(da,"default");var xm=s(()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${t.expected}\uFF0C\u4F46\u6536\u5230 ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${_(t.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${t.origin??"\u503C"} \u61C9\u70BA ${o}${t.maximum.toString()} ${c.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${t.origin??"\u503C"} \u61C9\u70BA ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${t.origin} \u61C9\u70BA ${o}${t.minimum.toString()} ${c.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${t.origin} \u61C9\u70BA ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${t.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${t.keys.length>1?"\u5011":""}\uFF1A${b(t.keys,"\u3001")}`;case"invalid_key":return`${t.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${t.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}},"error");function ma(){return{localeError:xm()}}s(ma,"default");var wm=s(()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"n\u1ECD\u0301mb\xE0";case"object":{if(Array.isArray(t))return"akop\u1ECD";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${t.expected}, \xE0m\u1ECD\u0300 a r\xED ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${_(t.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",c=r(t.origin);return c?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${t.origin??"iye"} ${c.verb} ${o}${t.maximum} ${c.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${t.maximum}`}case"too_small":{let o=t.inclusive?">=":">",c=r(t.origin);return c?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${t.origin} ${c.verb} ${o}${t.minimum} ${c.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${t.minimum}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${b(t.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${t.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 ${t.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}},"error");function pa(){return{localeError:wm()}}s(pa,"default");var Gc,fa=Symbol("ZodOutput"),ga=Symbol("ZodInput"),va=class va{constructor(){this._map=new WeakMap,this._idmap=new Map}add(r,...i){let n=i[0];if(this._map.set(r,n),n&&typeof n=="object"&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,r)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(r){let i=this._map.get(r);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(r),this}get(r){let i=r._zod.parent;if(i){let n={...this.get(i)??{}};delete n.id;let t={...n,...this._map.get(r)};return Object.keys(t).length?t:void 0}return this._map.get(r)}has(r){return this._map.has(r)}};s(va,"$ZodRegistry");var Oe=va;function lr(){return new Oe}s(lr,"registry");(Gc=globalThis).__zod_globalRegistry??(Gc.__zod_globalRegistry=lr());var V=globalThis.__zod_globalRegistry;function ha(e,r){return new e({type:"string",...k(r)})}s(ha,"_string");function ya(e,r){return new e({type:"string",coerce:!0,...k(r)})}s(ya,"_coercedString");function dr(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...k(r)})}s(dr,"_email");function dt(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...k(r)})}s(dt,"_guid");function mr(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...k(r)})}s(mr,"_uuid");function pr(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...k(r)})}s(pr,"_uuidv4");function fr(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...k(r)})}s(fr,"_uuidv6");function gr(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...k(r)})}s(gr,"_uuidv7");function mt(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...k(r)})}s(mt,"_url");function vr(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...k(r)})}s(vr,"_emoji");function hr(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...k(r)})}s(hr,"_nanoid");function yr(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...k(r)})}s(yr,"_cuid");function br(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...k(r)})}s(br,"_cuid2");function $r(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...k(r)})}s($r,"_ulid");function _r(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...k(r)})}s(_r,"_xid");function kr(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...k(r)})}s(kr,"_ksuid");function xr(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...k(r)})}s(xr,"_ipv4");function wr(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...k(r)})}s(wr,"_ipv6");function ba(e,r){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...k(r)})}s(ba,"_mac");function Ir(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...k(r)})}s(Ir,"_cidrv4");function Sr(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...k(r)})}s(Sr,"_cidrv6");function zr(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...k(r)})}s(zr,"_base64");function jr(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...k(r)})}s(jr,"_base64url");function Pr(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...k(r)})}s(Pr,"_e164");function Cr(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...k(r)})}s(Cr,"_jwt");var $a={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function _a(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...k(r)})}s(_a,"_isoDateTime");function ka(e,r){return new e({type:"string",format:"date",check:"string_format",...k(r)})}s(ka,"_isoDate");function xa(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...k(r)})}s(xa,"_isoTime");function wa(e,r){return new e({type:"string",format:"duration",check:"string_format",...k(r)})}s(wa,"_isoDuration");function Ia(e,r){return new e({type:"number",checks:[],...k(r)})}s(Ia,"_number");function Sa(e,r){return new e({type:"number",coerce:!0,checks:[],...k(r)})}s(Sa,"_coercedNumber");function za(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...k(r)})}s(za,"_int");function ja(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...k(r)})}s(ja,"_float32");function Pa(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...k(r)})}s(Pa,"_float64");function Ca(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...k(r)})}s(Ca,"_int32");function Na(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...k(r)})}s(Na,"_uint32");function Ua(e,r){return new e({type:"boolean",...k(r)})}s(Ua,"_boolean");function Da(e,r){return new e({type:"boolean",coerce:!0,...k(r)})}s(Da,"_coercedBoolean");function Oa(e,r){return new e({type:"bigint",...k(r)})}s(Oa,"_bigint");function Ea(e,r){return new e({type:"bigint",coerce:!0,...k(r)})}s(Ea,"_coercedBigint");function Aa(e,r){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...k(r)})}s(Aa,"_int64");function Ta(e,r){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...k(r)})}s(Ta,"_uint64");function Za(e,r){return new e({type:"symbol",...k(r)})}s(Za,"_symbol");function Ra(e,r){return new e({type:"undefined",...k(r)})}s(Ra,"_undefined");function Va(e,r){return new e({type:"null",...k(r)})}s(Va,"_null");function La(e){return new e({type:"any"})}s(La,"_any");function Fa(e){return new e({type:"unknown"})}s(Fa,"_unknown");function Ba(e,r){return new e({type:"never",...k(r)})}s(Ba,"_never");function Ma(e,r){return new e({type:"void",...k(r)})}s(Ma,"_void");function qa(e,r){return new e({type:"date",...k(r)})}s(qa,"_date");function Ja(e,r){return new e({type:"date",coerce:!0,...k(r)})}s(Ja,"_coercedDate");function Ga(e,r){return new e({type:"nan",...k(r)})}s(Ga,"_nan");function ae(e,r){return new Yt({check:"less_than",...k(r),value:e,inclusive:!1})}s(ae,"_lt");function Q(e,r){return new Yt({check:"less_than",...k(r),value:e,inclusive:!0})}s(Q,"_lte");function se(e,r){return new er({check:"greater_than",...k(r),value:e,inclusive:!1})}s(se,"_gt");function M(e,r){return new er({check:"greater_than",...k(r),value:e,inclusive:!0})}s(M,"_gte");function Wa(e){return se(0,e)}s(Wa,"_positive");function Ka(e){return ae(0,e)}s(Ka,"_negative");function Xa(e){return Q(0,e)}s(Xa,"_nonpositive");function Ha(e){return M(0,e)}s(Ha,"_nonnegative");function ke(e,r){return new Wn({check:"multiple_of",...k(r),value:e})}s(ke,"_multipleOf");function Ee(e,r){return new Hn({check:"max_size",...k(r),maximum:e})}s(Ee,"_maxSize");function xe(e,r){return new Qn({check:"min_size",...k(r),minimum:e})}s(xe,"_minSize");function pt(e,r){return new Yn({check:"size_equals",...k(r),size:e})}s(pt,"_size");function Ae(e,r){return new ei({check:"max_length",...k(r),maximum:e})}s(Ae,"_maxLength");function ye(e,r){return new ti({check:"min_length",...k(r),minimum:e})}s(ye,"_minLength");function Te(e,r){return new ri({check:"length_equals",...k(r),length:e})}s(Te,"_length");function ft(e,r){return new ni({check:"string_format",format:"regex",...k(r),pattern:e})}s(ft,"_regex");function gt(e){return new ii({check:"string_format",format:"lowercase",...k(e)})}s(gt,"_lowercase");function vt(e){return new oi({check:"string_format",format:"uppercase",...k(e)})}s(vt,"_uppercase");function ht(e,r){return new ai({check:"string_format",format:"includes",...k(r),includes:e})}s(ht,"_includes");function yt(e,r){return new si({check:"string_format",format:"starts_with",...k(r),prefix:e})}s(yt,"_startsWith");function bt(e,r){return new ci({check:"string_format",format:"ends_with",...k(r),suffix:e})}s(bt,"_endsWith");function Qa(e,r,i){return new ui({check:"property",property:e,schema:r,...k(i)})}s(Qa,"_property");function $t(e,r){return new li({check:"mime_type",mime:e,...k(r)})}s($t,"_mime");function ne(e){return new di({check:"overwrite",tx:e})}s(ne,"_overwrite");function _t(e){return ne(r=>r.normalize(e))}s(_t,"_normalize");function kt(){return ne(e=>e.trim())}s(kt,"_trim");function xt(){return ne(e=>e.toLowerCase())}s(xt,"_toLowerCase");function wt(){return ne(e=>e.toUpperCase())}s(wt,"_toUpperCase");function It(){return ne(e=>sn(e))}s(It,"_slugify");function Ya(e,r,i){return new e({type:"array",element:r,...k(i)})}s(Ya,"_array");function Sm(e,r,i){return new e({type:"union",options:r,...k(i)})}s(Sm,"_union");function zm(e,r,i,n){return new e({type:"union",options:i,discriminator:r,...k(n)})}s(zm,"_discriminatedUnion");function jm(e,r,i){return new e({type:"intersection",left:r,right:i})}s(jm,"_intersection");function Pm(e,r,i,n){let t=i instanceof z,o=t?n:i,c=t?i:null;return new e({type:"tuple",items:r,rest:c,...k(o)})}s(Pm,"_tuple");function Cm(e,r,i,n){return new e({type:"record",keyType:r,valueType:i,...k(n)})}s(Cm,"_record");function Nm(e,r,i,n){return new e({type:"map",keyType:r,valueType:i,...k(n)})}s(Nm,"_map");function Um(e,r,i){return new e({type:"set",valueType:r,...k(i)})}s(Um,"_set");function Dm(e,r,i){let n=Array.isArray(r)?Object.fromEntries(r.map(t=>[t,t])):r;return new e({type:"enum",entries:n,...k(i)})}s(Dm,"_enum");function Om(e,r,i){return new e({type:"enum",entries:r,...k(i)})}s(Om,"_nativeEnum");function Em(e,r,i){return new e({type:"literal",values:Array.isArray(r)?r:[r],...k(i)})}s(Em,"_literal");function es(e,r){return new e({type:"file",...k(r)})}s(es,"_file");function Am(e,r){return new e({type:"transform",transform:r})}s(Am,"_transform");function Tm(e,r){return new e({type:"optional",innerType:r})}s(Tm,"_optional");function Zm(e,r){return new e({type:"nullable",innerType:r})}s(Zm,"_nullable");function Rm(e,r,i){return new e({type:"default",innerType:r,get defaultValue(){return typeof i=="function"?i():un(i)}})}s(Rm,"_default");function Vm(e,r,i){return new e({type:"nonoptional",innerType:r,...k(i)})}s(Vm,"_nonoptional");function Lm(e,r){return new e({type:"success",innerType:r})}s(Lm,"_success");function Fm(e,r,i){return new e({type:"catch",innerType:r,catchValue:typeof i=="function"?i:()=>i})}s(Fm,"_catch");function Bm(e,r,i){return new e({type:"pipe",in:r,out:i})}s(Bm,"_pipe");function Mm(e,r){return new e({type:"readonly",innerType:r})}s(Mm,"_readonly");function qm(e,r,i){return new e({type:"template_literal",parts:r,...k(i)})}s(qm,"_templateLiteral");function Jm(e,r){return new e({type:"lazy",getter:r})}s(Jm,"_lazy");function Gm(e,r){return new e({type:"promise",innerType:r})}s(Gm,"_promise");function ts(e,r,i){let n=k(i);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:r,...n})}s(ts,"_custom");function rs(e,r,i){return new e({type:"custom",check:"custom",fn:r,...k(i)})}s(rs,"_refine");function ns(e){let r=Wc(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(je(n,i.value,r._zod.def));else{let t=n;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=i.value),t.inst??(t.inst=r),t.continue??(t.continue=!r._zod.def.abort),i.issues.push(je(t))}},e(i.value,i)));return r}s(ns,"_superRefine");function Wc(e,r){let i=new D({check:"custom",...k(r)});return i._zod.check=e,i}s(Wc,"_check");function is(e){let r=new D({check:"describe"});return r._zod.onattach=[i=>{let n=V.get(i)??{};V.add(i,{...n,description:e})}],r._zod.check=()=>{},r}s(is,"describe");function os(e){let r=new D({check:"meta"});return r._zod.onattach=[i=>{let n=V.get(i)??{};V.add(i,{...n,...e})}],r._zod.check=()=>{},r}s(os,"meta");function as(e,r){let i=k(r),n=i.truthy??["true","1","yes","on","y","enabled"],t=i.falsy??["false","0","no","off","n","disabled"];i.case!=="sensitive"&&(n=n.map(u=>typeof u=="string"?u.toLowerCase():u),t=t.map(u=>typeof u=="string"?u.toLowerCase():u));let o=new Set(n),c=new Set(t),l=e.Codec??it,f=e.Boolean??nt,g=e.String??_e,p=new g({type:"string",error:i.error}),y=new f({type:"boolean",error:i.error}),m=new l({type:"pipe",in:p,out:y,transform:s(((u,d)=>{let v=u;return i.case!=="sensitive"&&(v=v.toLowerCase()),o.has(v)?!0:c.has(v)?!1:(d.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...c],input:d.value,inst:m,continue:!1}),{})}),"transform"),reverseTransform:s(((u,d)=>u===!0?n[0]||"true":t[0]||"false"),"reverseTransform"),error:i.error});return m}s(as,"_stringbool");function Ze(e,r,i,n={}){let t=k(n),o={...k(n),check:"string_format",type:"string",format:r,fn:typeof i=="function"?i:l=>i.test(l),...t};return i instanceof RegExp&&(o.pattern=i),new e(o)}s(Ze,"_stringFormat");var cs=class cs{constructor(r){this.counter=0,this.metadataRegistry=r?.metadata??V,this.target=r?.target??"draft-2020-12",this.unrepresentable=r?.unrepresentable??"throw",this.override=r?.override??(()=>{}),this.io=r?.io??"output",this.seen=new Map}process(r,i={path:[],schemaPath:[]}){var n;let t=r._zod.def,o={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},c=this.seen.get(r);if(c)return c.count++,i.schemaPath.includes(r)&&(c.cycle=i.path),c.schema;let l={schema:{},count:1,cycle:void 0,path:i.path};this.seen.set(r,l);let f=r._zod.toJSONSchema?.();if(f)l.schema=f;else{let y={...i,schemaPath:[...i.schemaPath,r],path:i.path},m=r._zod.parent;if(m)l.ref=m,this.process(m,y),this.seen.get(m).isParent=!0;else{let u=l.schema;switch(t.type){case"string":{let d=u;d.type="string";let{minimum:v,maximum:$,format:w,patterns:I,contentEncoding:S}=r._zod.bag;if(typeof v=="number"&&(d.minLength=v),typeof $=="number"&&(d.maxLength=$),w&&(d.format=o[w]??w,d.format===""&&delete d.format),S&&(d.contentEncoding=S),I&&I.size>0){let C=[...I];C.length===1?d.pattern=C[0].source:C.length>1&&(l.schema.allOf=[...C.map(A=>({...this.target==="draft-7"||this.target==="draft-4"||this.target==="openapi-3.0"?{type:"string"}:{},pattern:A.source}))])}break}case"number":{let d=u,{minimum:v,maximum:$,format:w,multipleOf:I,exclusiveMaximum:S,exclusiveMinimum:C}=r._zod.bag;typeof w=="string"&&w.includes("int")?d.type="integer":d.type="number",typeof C=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(d.minimum=C,d.exclusiveMinimum=!0):d.exclusiveMinimum=C),typeof v=="number"&&(d.minimum=v,typeof C=="number"&&this.target!=="draft-4"&&(C>=v?delete d.minimum:delete d.exclusiveMinimum)),typeof S=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(d.maximum=S,d.exclusiveMaximum=!0):d.exclusiveMaximum=S),typeof $=="number"&&(d.maximum=$,typeof S=="number"&&this.target!=="draft-4"&&(S<=$?delete d.maximum:delete d.exclusiveMaximum)),typeof I=="number"&&(d.multipleOf=I);break}case"boolean":{let d=u;d.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"null":{this.target==="openapi-3.0"?(u.type="string",u.nullable=!0,u.enum=[null]):u.type="null";break}case"any":break;case"unknown":break;case"undefined":{if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"never":{u.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{let d=u,{minimum:v,maximum:$}=r._zod.bag;typeof v=="number"&&(d.minItems=v),typeof $=="number"&&(d.maxItems=$),d.type="array",d.items=this.process(t.element,{...y,path:[...y.path,"items"]});break}case"object":{let d=u;d.type="object",d.properties={};let v=t.shape;for(let I in v)d.properties[I]=this.process(v[I],{...y,path:[...y.path,"properties",I]});let $=new Set(Object.keys(v)),w=new Set([...$].filter(I=>{let S=t.shape[I]._zod;return this.io==="input"?S.optin===void 0:S.optout===void 0}));w.size>0&&(d.required=Array.from(w)),t.catchall?._zod.def.type==="never"?d.additionalProperties=!1:t.catchall?t.catchall&&(d.additionalProperties=this.process(t.catchall,{...y,path:[...y.path,"additionalProperties"]})):this.io==="output"&&(d.additionalProperties=!1);break}case"union":{let d=u,v=t.discriminator!==void 0,$=t.options.map((w,I)=>this.process(w,{...y,path:[...y.path,v?"oneOf":"anyOf",I]}));v?d.oneOf=$:d.anyOf=$;break}case"intersection":{let d=u,v=this.process(t.left,{...y,path:[...y.path,"allOf",0]}),$=this.process(t.right,{...y,path:[...y.path,"allOf",1]}),w=s(S=>"allOf"in S&&Object.keys(S).length===1,"isSimpleIntersection"),I=[...w(v)?v.allOf:[v],...w($)?$.allOf:[$]];d.allOf=I;break}case"tuple":{let d=u;d.type="array";let v=this.target==="draft-2020-12"?"prefixItems":"items",$=this.target==="draft-2020-12"||this.target==="openapi-3.0"?"items":"additionalItems",w=t.items.map((A,K)=>this.process(A,{...y,path:[...y.path,v,K]})),I=t.rest?this.process(t.rest,{...y,path:[...y.path,$,...this.target==="openapi-3.0"?[t.items.length]:[]]}):null;this.target==="draft-2020-12"?(d.prefixItems=w,I&&(d.items=I)):this.target==="openapi-3.0"?(d.items={anyOf:w},I&&d.items.anyOf.push(I),d.minItems=w.length,I||(d.maxItems=w.length)):(d.items=w,I&&(d.additionalItems=I));let{minimum:S,maximum:C}=r._zod.bag;typeof S=="number"&&(d.minItems=S),typeof C=="number"&&(d.maxItems=C);break}case"record":{let d=u;d.type="object",(this.target==="draft-7"||this.target==="draft-2020-12")&&(d.propertyNames=this.process(t.keyType,{...y,path:[...y.path,"propertyNames"]})),d.additionalProperties=this.process(t.valueType,{...y,path:[...y.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{let d=u,v=Je(t.entries);v.every($=>typeof $=="number")&&(d.type="number"),v.every($=>typeof $=="string")&&(d.type="string"),d.enum=v;break}case"literal":{let d=u,v=[];for(let $ of t.values)if($===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof $=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");v.push(Number($))}else v.push($);if(v.length!==0)if(v.length===1){let $=v[0];d.type=$===null?"null":typeof $,this.target==="draft-4"||this.target==="openapi-3.0"?d.enum=[$]:d.const=$}else v.every($=>typeof $=="number")&&(d.type="number"),v.every($=>typeof $=="string")&&(d.type="string"),v.every($=>typeof $=="boolean")&&(d.type="string"),v.every($=>$===null)&&(d.type="null"),d.enum=v;break}case"file":{let d=u,v={type:"string",format:"binary",contentEncoding:"binary"},{minimum:$,maximum:w,mime:I}=r._zod.bag;$!==void 0&&(v.minLength=$),w!==void 0&&(v.maxLength=w),I?I.length===1?(v.contentMediaType=I[0],Object.assign(d,v)):d.anyOf=I.map(S=>({...v,contentMediaType:S})):Object.assign(d,v);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{let d=this.process(t.innerType,y);this.target==="openapi-3.0"?(l.ref=t.innerType,u.nullable=!0):u.anyOf=[d,{type:"null"}];break}case"nonoptional":{this.process(t.innerType,y),l.ref=t.innerType;break}case"success":{let d=u;d.type="boolean";break}case"default":{this.process(t.innerType,y),l.ref=t.innerType,u.default=JSON.parse(JSON.stringify(t.defaultValue));break}case"prefault":{this.process(t.innerType,y),l.ref=t.innerType,this.io==="input"&&(u._prefault=JSON.parse(JSON.stringify(t.defaultValue)));break}case"catch":{this.process(t.innerType,y),l.ref=t.innerType;let d;try{d=t.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}u.default=d;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{let d=u,v=r._zod.pattern;if(!v)throw new Error("Pattern not found in template literal");d.type="string",d.pattern=v.source;break}case"pipe":{let d=this.io==="input"?t.in._zod.def.type==="transform"?t.out:t.in:t.out;this.process(d,y),l.ref=d;break}case"readonly":{this.process(t.innerType,y),l.ref=t.innerType,u.readOnly=!0;break}case"promise":{this.process(t.innerType,y),l.ref=t.innerType;break}case"optional":{this.process(t.innerType,y),l.ref=t.innerType;break}case"lazy":{let d=r._zod.innerType;this.process(d,y),l.ref=d;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}case"function":{if(this.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema");break}default:}}}let g=this.metadataRegistry.get(r);return g&&Object.assign(l.schema,g),this.io==="input"&&L(r)&&(delete l.schema.examples,delete l.schema.default),this.io==="input"&&l.schema._prefault&&((n=l.schema).default??(n.default=l.schema._prefault)),delete l.schema._prefault,this.seen.get(r).schema}emit(r,i){let n={cycles:i?.cycles??"ref",reused:i?.reused??"inline",external:i?.external??void 0},t=this.seen.get(r);if(!t)throw new Error("Unprocessed schema. This is a bug in Zod.");let o=s(p=>{let y=this.target==="draft-2020-12"?"$defs":"definitions";if(n.external){let v=n.external.registry.get(p[0])?.id,$=n.external.uri??(I=>I);if(v)return{ref:$(v)};let w=p[1].defId??p[1].schema.id??`schema${this.counter++}`;return p[1].defId=w,{defId:w,ref:`${$("__shared")}#/${y}/${w}`}}if(p[1]===t)return{ref:"#"};let u=`#/${y}/`,d=p[1].schema.id??`__schema${this.counter++}`;return{defId:d,ref:u+d}},"makeURI"),c=s(p=>{if(p[1].schema.$ref)return;let y=p[1],{ref:m,defId:u}=o(p);y.def={...y.schema},u&&(y.defId=u);let d=y.schema;for(let v in d)delete d[v];d.$ref=m},"extractToDef");if(n.cycles==="throw")for(let p of this.seen.entries()){let y=p[1];if(y.cycle)throw new Error(`Cycle detected: #/${y.cycle?.join("/")}/<root>
21
+ `)}c.write("payload.value = newResult;"),c.write("return payload;");let I=c.compile();return(S,C)=>I(p,S,C)},"generateFastpass"),o,u=be,l=!Me.jitless,g=l&&cn.value,m=r.catchall,y;e._zod.parse=(p,c)=>{y??(y=n.value);let d=p.value;return u(d)?l&&g&&c?.async===!1&&c.jitless!==!0?(o||(o=t(r.shape)),p=o(p,c),m?Mu([],d,p,c,y,e):p):i(p,c):(p.issues.push({expected:"object",code:"invalid_type",input:d,inst:e}),p)}});function Uu(e,r,i,n){for(let o of e)if(o.issues.length===0)return r.value=o.value,r;let t=e.filter(o=>!he(o));return t.length===1?(r.value=t[0].value,t[0]):(r.issues.push({code:"invalid_union",input:r.value,inst:i,errors:e.map(o=>o.issues.map(u=>K(u,n,T())))}),r)}s(Uu,"handleUnionResults");var ur=h("$ZodUnion",(e,r)=>{z.init(e,r),N(e._zod,"optin",()=>r.options.some(t=>t._zod.optin==="optional")?"optional":void 0),N(e._zod,"optout",()=>r.options.some(t=>t._zod.optout==="optional")?"optional":void 0),N(e._zod,"values",()=>{if(r.options.every(t=>t._zod.values))return new Set(r.options.flatMap(t=>Array.from(t._zod.values)))}),N(e._zod,"pattern",()=>{if(r.options.every(t=>t._zod.pattern)){let t=r.options.map(o=>o._zod.pattern);return new RegExp(`^(${t.map(o=>Ge(o.source)).join("|")})$`)}});let i=r.options.length===1,n=r.options[0]._zod.run;e._zod.parse=(t,o)=>{if(i)return n(t,o);let u=!1,l=[];for(let f of r.options){let g=f._zod.run({value:t.value,issues:[]},o);if(g instanceof Promise)l.push(g),u=!0;else{if(g.issues.length===0)return g;l.push(g)}}return u?Promise.all(l).then(f=>Uu(f,t,e,o)):Uu(l,t,e,o)}}),eo=h("$ZodDiscriminatedUnion",(e,r)=>{ur.init(e,r);let i=e._zod.parse;N(e._zod,"propValues",()=>{let t={};for(let o of r.options){let u=o._zod.propValues;if(!u||Object.keys(u).length===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(o)}"`);for(let[l,f]of Object.entries(u)){t[l]||(t[l]=new Set);for(let g of f)t[l].add(g)}}return t});let n=ze(()=>{let t=r.options,o=new Map;for(let u of t){let l=u._zod.propValues?.[r.discriminator];if(!l||l.size===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(u)}"`);for(let f of l){if(o.has(f))throw new Error(`Duplicate discriminator value "${String(f)}"`);o.set(f,u)}}return o});e._zod.parse=(t,o)=>{let u=t.value;if(!be(u))return t.issues.push({code:"invalid_type",expected:"object",input:u,inst:e}),t;let l=n.value.get(u?.[r.discriminator]);return l?l._zod.run(t,o):r.unionFallback?i(t,o):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,input:u,path:[r.discriminator],inst:e}),t)}}),to=h("$ZodIntersection",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value,o=r.left._zod.run({value:t,issues:[]},n),u=r.right._zod.run({value:t,issues:[]},n);return o instanceof Promise||u instanceof Promise?Promise.all([o,u]).then(([f,g])=>Du(i,f,g)):Du(i,o,u)}});function gi(e,r){if(e===r)return{valid:!0,data:e};if(e instanceof Date&&r instanceof Date&&+e==+r)return{valid:!0,data:e};if(ve(e)&&ve(r)){let i=Object.keys(r),n=Object.keys(e).filter(o=>i.indexOf(o)!==-1),t={...e,...r};for(let o of n){let u=gi(e[o],r[o]);if(!u.valid)return{valid:!1,mergeErrorPath:[o,...u.mergeErrorPath]};t[o]=u.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return{valid:!1,mergeErrorPath:[]};let i=[];for(let n=0;n<e.length;n++){let t=e[n],o=r[n],u=gi(t,o);if(!u.valid)return{valid:!1,mergeErrorPath:[n,...u.mergeErrorPath]};i.push(u.data)}return{valid:!0,data:i}}return{valid:!1,mergeErrorPath:[]}}s(gi,"mergeValues");function Du(e,r,i){if(r.issues.length&&e.issues.push(...r.issues),i.issues.length&&e.issues.push(...i.issues),he(e))return e;let n=gi(r.value,i.value);if(!n.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}s(Du,"handleIntersectionResults");var cr=h("$ZodTuple",(e,r)=>{z.init(e,r);let i=r.items;e._zod.parse=(n,t)=>{let o=n.value;if(!Array.isArray(o))return n.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];let u=[],l=[...i].reverse().findIndex(m=>m._zod.optin!=="optional"),f=l===-1?0:i.length-l;if(!r.rest){let m=o.length>i.length,y=o.length<f-1;if(m||y)return n.issues.push({...m?{code:"too_big",maximum:i.length}:{code:"too_small",minimum:i.length},input:o,inst:e,origin:"array"}),n}let g=-1;for(let m of i){if(g++,g>=o.length&&g>=f)continue;let y=m._zod.run({value:o[g],issues:[]},t);y instanceof Promise?u.push(y.then(p=>tr(p,n,g))):tr(y,n,g)}if(r.rest){let m=o.slice(i.length);for(let y of m){g++;let p=r.rest._zod.run({value:y,issues:[]},t);p instanceof Promise?u.push(p.then(c=>tr(c,n,g))):tr(p,n,g)}}return u.length?Promise.all(u).then(()=>n):n}});function tr(e,r,i){e.issues.length&&r.issues.push(...W(i,e.issues)),r.value[i]=e.value}s(tr,"handleTupleResult");var ro=h("$ZodRecord",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;if(!ve(t))return i.issues.push({expected:"record",code:"invalid_type",input:t,inst:e}),i;let o=[],u=r.keyType._zod.values;if(u){i.value={};let l=new Set;for(let g of u)if(typeof g=="string"||typeof g=="number"||typeof g=="symbol"){l.add(typeof g=="number"?g.toString():g);let m=r.valueType._zod.run({value:t[g],issues:[]},n);m instanceof Promise?o.push(m.then(y=>{y.issues.length&&i.issues.push(...W(g,y.issues)),i.value[g]=y.value})):(m.issues.length&&i.issues.push(...W(g,m.issues)),i.value[g]=m.value)}let f;for(let g in t)l.has(g)||(f=f??[],f.push(g));f&&f.length>0&&i.issues.push({code:"unrecognized_keys",input:t,inst:e,keys:f})}else{i.value={};for(let l of Reflect.ownKeys(t)){if(l==="__proto__")continue;let f=r.keyType._zod.run({value:l,issues:[]},n);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(f.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:f.issues.map(m=>K(m,n,T())),input:l,path:[l],inst:e}),i.value[f.value]=f.value;continue}let g=r.valueType._zod.run({value:t[l],issues:[]},n);g instanceof Promise?o.push(g.then(m=>{m.issues.length&&i.issues.push(...W(l,m.issues)),i.value[f.value]=m.value})):(g.issues.length&&i.issues.push(...W(l,g.issues)),i.value[f.value]=g.value)}}return o.length?Promise.all(o).then(()=>i):i}}),no=h("$ZodMap",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;if(!(t instanceof Map))return i.issues.push({expected:"map",code:"invalid_type",input:t,inst:e}),i;let o=[];i.value=new Map;for(let[u,l]of t){let f=r.keyType._zod.run({value:u,issues:[]},n),g=r.valueType._zod.run({value:l,issues:[]},n);f instanceof Promise||g instanceof Promise?o.push(Promise.all([f,g]).then(([m,y])=>{Ou(m,y,i,u,t,e,n)})):Ou(f,g,i,u,t,e,n)}return o.length?Promise.all(o).then(()=>i):i}});function Ou(e,r,i,n,t,o,u){e.issues.length&&(We.has(typeof n)?i.issues.push(...W(n,e.issues)):i.issues.push({code:"invalid_key",origin:"map",input:t,inst:o,issues:e.issues.map(l=>K(l,u,T()))})),r.issues.length&&(We.has(typeof n)?i.issues.push(...W(n,r.issues)):i.issues.push({origin:"map",code:"invalid_element",input:t,inst:o,key:n,issues:r.issues.map(l=>K(l,u,T()))})),i.value.set(e.value,r.value)}s(Ou,"handleMapResult");var io=h("$ZodSet",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;if(!(t instanceof Set))return i.issues.push({input:t,inst:e,expected:"set",code:"invalid_type"}),i;let o=[];i.value=new Set;for(let u of t){let l=r.valueType._zod.run({value:u,issues:[]},n);l instanceof Promise?o.push(l.then(f=>Eu(f,i))):Eu(l,i)}return o.length?Promise.all(o).then(()=>i):i}});function Eu(e,r){e.issues.length&&r.issues.push(...e.issues),r.value.add(e.value)}s(Eu,"handleSetResult");var oo=h("$ZodEnum",(e,r)=>{z.init(e,r);let i=Je(r.entries),n=new Set(i);e._zod.values=n,e._zod.pattern=new RegExp(`^(${i.filter(t=>We.has(typeof t)).map(t=>typeof t=="string"?H(t):t.toString()).join("|")})$`),e._zod.parse=(t,o)=>{let u=t.value;return n.has(u)||t.issues.push({code:"invalid_value",values:i,input:u,inst:e}),t}}),ao=h("$ZodLiteral",(e,r)=>{if(z.init(e,r),r.values.length===0)throw new Error("Cannot create literal schema with no valid values");let i=new Set(r.values);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.values.map(n=>typeof n=="string"?H(n):n?H(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,t)=>{let o=n.value;return i.has(o)||n.issues.push({code:"invalid_value",values:r.values,input:o,inst:e}),n}}),so=h("$ZodFile",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{let t=i.value;return t instanceof File||i.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),i}}),uo=h("$ZodTransform",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{if(n.direction==="backward")throw new pe(e.constructor.name);let t=r.transform(i.value,i);if(n.async)return(t instanceof Promise?t:Promise.resolve(t)).then(u=>(i.value=u,i));if(t instanceof Promise)throw new te;return i.value=t,i}});function Au(e,r){return e.issues.length&&r===void 0?{issues:[],value:void 0}:e}s(Au,"handleOptionalResult");var co=h("$ZodOptional",(e,r)=>{z.init(e,r),e._zod.optin="optional",e._zod.optout="optional",N(e._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,void 0]):void 0),N(e._zod,"pattern",()=>{let i=r.innerType._zod.pattern;return i?new RegExp(`^(${Ge(i.source)})?$`):void 0}),e._zod.parse=(i,n)=>{if(r.innerType._zod.optin==="optional"){let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>Au(o,i.value)):Au(t,i.value)}return i.value===void 0?i:r.innerType._zod.run(i,n)}}),lo=h("$ZodNullable",(e,r)=>{z.init(e,r),N(e._zod,"optin",()=>r.innerType._zod.optin),N(e._zod,"optout",()=>r.innerType._zod.optout),N(e._zod,"pattern",()=>{let i=r.innerType._zod.pattern;return i?new RegExp(`^(${Ge(i.source)}|null)$`):void 0}),N(e._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,null]):void 0),e._zod.parse=(i,n)=>i.value===null?i:r.innerType._zod.run(i,n)}),po=h("$ZodDefault",(e,r)=>{z.init(e,r),e._zod.optin="optional",N(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(i,n)=>{if(n.direction==="backward")return r.innerType._zod.run(i,n);if(i.value===void 0)return i.value=r.defaultValue,i;let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>Tu(o,r)):Tu(t,r)}});function Tu(e,r){return e.value===void 0&&(e.value=r.defaultValue),e}s(Tu,"handleDefaultResult");var mo=h("$ZodPrefault",(e,r)=>{z.init(e,r),e._zod.optin="optional",N(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(i,n)=>(n.direction==="backward"||i.value===void 0&&(i.value=r.defaultValue),r.innerType._zod.run(i,n))}),fo=h("$ZodNonOptional",(e,r)=>{z.init(e,r),N(e._zod,"values",()=>{let i=r.innerType._zod.values;return i?new Set([...i].filter(n=>n!==void 0)):void 0}),e._zod.parse=(i,n)=>{let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>Zu(o,e)):Zu(t,e)}});function Zu(e,r){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:r}),e}s(Zu,"handleNonOptionalResult");var go=h("$ZodSuccess",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>{if(n.direction==="backward")throw new pe("ZodSuccess");let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>(i.value=o.issues.length===0,i)):(i.value=t.issues.length===0,i)}}),vo=h("$ZodCatch",(e,r)=>{z.init(e,r),N(e._zod,"optin",()=>r.innerType._zod.optin),N(e._zod,"optout",()=>r.innerType._zod.optout),N(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(i,n)=>{if(n.direction==="backward")return r.innerType._zod.run(i,n);let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(o=>(i.value=o.value,o.issues.length&&(i.value=r.catchValue({...i,error:{issues:o.issues.map(u=>K(u,n,T()))},input:i.value}),i.issues=[]),i)):(i.value=t.value,t.issues.length&&(i.value=r.catchValue({...i,error:{issues:t.issues.map(o=>K(o,n,T()))},input:i.value}),i.issues=[]),i)}}),ho=h("$ZodNaN",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>((typeof i.value!="number"||!Number.isNaN(i.value))&&i.issues.push({input:i.value,inst:e,expected:"nan",code:"invalid_type"}),i)}),yo=h("$ZodPipe",(e,r)=>{z.init(e,r),N(e._zod,"values",()=>r.in._zod.values),N(e._zod,"optin",()=>r.in._zod.optin),N(e._zod,"optout",()=>r.out._zod.optout),N(e._zod,"propValues",()=>r.in._zod.propValues),e._zod.parse=(i,n)=>{if(n.direction==="backward"){let o=r.out._zod.run(i,n);return o instanceof Promise?o.then(u=>rr(u,r.in,n)):rr(o,r.in,n)}let t=r.in._zod.run(i,n);return t instanceof Promise?t.then(o=>rr(o,r.out,n)):rr(t,r.out,n)}});function rr(e,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:e.value,issues:e.issues},i)}s(rr,"handlePipeResult");var it=h("$ZodCodec",(e,r)=>{z.init(e,r),N(e._zod,"values",()=>r.in._zod.values),N(e._zod,"optin",()=>r.in._zod.optin),N(e._zod,"optout",()=>r.out._zod.optout),N(e._zod,"propValues",()=>r.in._zod.propValues),e._zod.parse=(i,n)=>{if((n.direction||"forward")==="forward"){let o=r.in._zod.run(i,n);return o instanceof Promise?o.then(u=>nr(u,r,n)):nr(o,r,n)}else{let o=r.out._zod.run(i,n);return o instanceof Promise?o.then(u=>nr(u,r,n)):nr(o,r,n)}}});function nr(e,r,i){if(e.issues.length)return e.aborted=!0,e;if((i.direction||"forward")==="forward"){let t=r.transform(e.value,e);return t instanceof Promise?t.then(o=>ir(e,o,r.out,i)):ir(e,t,r.out,i)}else{let t=r.reverseTransform(e.value,e);return t instanceof Promise?t.then(o=>ir(e,o,r.in,i)):ir(e,t,r.in,i)}}s(nr,"handleCodecAResult");function ir(e,r,i,n){return e.issues.length?(e.aborted=!0,e):i._zod.run({value:r,issues:e.issues},n)}s(ir,"handleCodecTxResult");var bo=h("$ZodReadonly",(e,r)=>{z.init(e,r),N(e._zod,"propValues",()=>r.innerType._zod.propValues),N(e._zod,"values",()=>r.innerType._zod.values),N(e._zod,"optin",()=>r.innerType?._zod?.optin),N(e._zod,"optout",()=>r.innerType?._zod?.optout),e._zod.parse=(i,n)=>{if(n.direction==="backward")return r.innerType._zod.run(i,n);let t=r.innerType._zod.run(i,n);return t instanceof Promise?t.then(Vu):Vu(t)}});function Vu(e){return e.value=Object.freeze(e.value),e}s(Vu,"handleReadonlyResult");var $o=h("$ZodTemplateLiteral",(e,r)=>{z.init(e,r);let i=[];for(let n of r.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 t=n._zod.pattern instanceof RegExp?n._zod.pattern.source:n._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${n._zod.traits}`);let o=t.startsWith("^")?1:0,u=t.endsWith("$")?t.length-1:t.length;i.push(t.slice(o,u))}else if(n===null||dn.has(typeof n))i.push(H(`${n}`));else throw new Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${i.join("")}$`),e._zod.parse=(n,t)=>typeof n.value!="string"?(n.issues.push({input:n.value,inst:e,expected:"template_literal",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:r.format??"template_literal",pattern:e._zod.pattern.source}),n)}),_o=h("$ZodFunction",(e,r)=>(z.init(e,r),e._def=r,e._zod.def=r,e.implement=i=>{if(typeof i!="function")throw new Error("implement() must be called with a function");return function(...n){let t=e._def.input?Ft(e._def.input,n):n,o=Reflect.apply(i,this,t);return e._def.output?Ft(e._def.output,o):o}},e.implementAsync=i=>{if(typeof i!="function")throw new Error("implementAsync() must be called with a function");return async function(...n){let t=e._def.input?await Bt(e._def.input,n):n,o=await Reflect.apply(i,this,t);return e._def.output?await Bt(e._def.output,o):o}},e._zod.parse=(i,n)=>typeof i.value!="function"?(i.issues.push({code:"invalid_type",expected:"function",input:i.value,inst:e}),i):(e._def.output&&e._def.output._zod.def.type==="promise"?i.value=e.implementAsync(i.value):i.value=e.implement(i.value),i),e.input=(...i)=>{let n=e.constructor;return Array.isArray(i[0])?new n({type:"function",input:new cr({type:"tuple",items:i[0],rest:i[1]}),output:e._def.output}):new n({type:"function",input:i[0],output:e._def.output})},e.output=i=>{let n=e.constructor;return new n({type:"function",input:e._def.input,output:i})},e)),ko=h("$ZodPromise",(e,r)=>{z.init(e,r),e._zod.parse=(i,n)=>Promise.resolve(i.value).then(t=>r.innerType._zod.run({value:t,issues:[]},n))}),xo=h("$ZodLazy",(e,r)=>{z.init(e,r),N(e._zod,"innerType",()=>r.getter()),N(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),N(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),N(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),N(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(i,n)=>e._zod.innerType._zod.run(i,n)}),wo=h("$ZodCustom",(e,r)=>{D.init(e,r),z.init(e,r),e._zod.parse=(i,n)=>i,e._zod.check=i=>{let n=i.value,t=r.fn(n);if(t instanceof Promise)return t.then(o=>Ru(o,i,n,e));Ru(t,i,n,e)}});function Ru(e,r,i,n){if(!e){let t={code:"custom",input:i,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(t.params=n._zod.def.params),r.issues.push(je(t))}}s(Ru,"handleRefineResult");var lt={};de(lt,{ar:()=>Io,az:()=>So,be:()=>zo,bg:()=>jo,ca:()=>Po,cs:()=>Co,da:()=>No,de:()=>Uo,en:()=>ot,eo:()=>Do,es:()=>Oo,fa:()=>Eo,fi:()=>Ao,fr:()=>To,frCA:()=>Zo,he:()=>Vo,hu:()=>Ro,id:()=>Lo,is:()=>Fo,it:()=>Bo,ja:()=>Mo,ka:()=>qo,kh:()=>Jo,km:()=>at,ko:()=>Go,lt:()=>Wo,mk:()=>Ko,ms:()=>Xo,nl:()=>Ho,no:()=>Qo,ota:()=>Yo,pl:()=>ta,ps:()=>ea,pt:()=>ra,ru:()=>na,sl:()=>ia,sv:()=>oa,ta:()=>aa,th:()=>sa,tr:()=>ua,ua:()=>ca,uk:()=>ct,ur:()=>la,vi:()=>da,yo:()=>fa,zhCN:()=>pa,zhTW:()=>ma});var Nd=s(()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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: ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${t.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${t.maximum.toString()} ${u.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 ${t.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${t.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${t.minimum.toString()} ${u.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${t.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;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 "${t.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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${t.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${t.keys.length>1?"\u0629":""}: ${b(t.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${t.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 ${t.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}},"error");function Io(){return{localeError:Nd()}}s(Io,"default");var Ud=s(()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${t.expected}, daxil olan ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${_(t.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${t.origin??"d\u0259y\u0259r"} ${o}${t.maximum.toString()} ${u.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${t.origin??"d\u0259y\u0259r"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${t.origin} ${o}${t.minimum.toString()} ${u.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${t.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${t.keys.length>1?"lar":""}: ${b(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${t.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}},"error");function So(){return{localeError:Ud()}}s(So,"default");function Ju(e,r,i,n){let t=Math.abs(e),o=t%10,u=t%100;return u>=11&&u<=19?n:o===1?r:o>=2&&o<=4?i:n}s(Ju,"getBelarusianPlural");var Dd=s(()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u043B\u0456\u043A";case"object":{if(Array.isArray(t))return"\u043C\u0430\u0441\u0456\u045E";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${t.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);if(u){let l=Number(t.maximum),f=Ju(l,u.unit.one,u.unit.few,u.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 ${t.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${u.verb} ${o}${t.maximum.toString()} ${f}`}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 ${t.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);if(u){let l=Number(t.minimum),f=Ju(l,u.unit.one,u.unit.few,u.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 ${t.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${u.verb} ${o}${t.minimum.toString()} ${f}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${t.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${t.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${b(t.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${t.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 ${t.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}},"error");function zo(){return{localeError:Dd()}}s(zo,"default");var Od=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(e))return"\u043C\u0430\u0441\u0438\u0432";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),Ed=s(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${n.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${Od(n.input)}`;case"invalid_value":return n.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${_(n.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 ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${t}${n.maximum.toString()} ${o.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 ${n.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${t}${n.minimum.toString()} ${o.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${n.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;if(t.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 "${t.prefix}"`;if(t.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 "${t.suffix}"`;if(t.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 "${t.includes}"`;if(t.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 ${t.pattern}`;let o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return t.format==="emoji"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),t.format==="datetime"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),t.format==="date"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),t.format==="time"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),t.format==="duration"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${o} ${i[t.format]??n.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 ${n.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${n.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${n.keys.length>1?"\u043E\u0432\u0435":""}: ${b(n.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${n.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 ${n.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}},"error");function jo(){return{localeError:Ed()}}s(jo,"default");var Ad=s(()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Tipus inv\xE0lid: s'esperava ${t.expected}, s'ha rebut ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Valor inv\xE0lid: s'esperava ${_(t.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${b(t.values," o ")}`;case"too_big":{let o=t.inclusive?"com a m\xE0xim":"menys de",u=r(t.origin);return u?`Massa gran: s'esperava que ${t.origin??"el valor"} contingu\xE9s ${o} ${t.maximum.toString()} ${u.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?"com a m\xEDnim":"m\xE9s de",u=r(t.origin);return u?`Massa petit: s'esperava que ${t.origin} contingu\xE9s ${o} ${t.minimum.toString()} ${u.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${t.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${t.origin}`;default:return"Entrada inv\xE0lida"}}},"error");function Po(){return{localeError:Ad()}}s(Po,"default");var Td=s(()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u010D\xEDslo";case"string":return"\u0159et\u011Bzec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":{if(Array.isArray(t))return"pole";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${t.expected}, obdr\u017Eeno ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${_(t.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${t.origin??"hodnota"} mus\xED m\xEDt ${o}${t.maximum.toString()} ${u.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${t.origin??"hodnota"} mus\xED b\xFDt ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${t.origin??"hodnota"} mus\xED m\xEDt ${o}${t.minimum.toString()} ${u.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${t.origin??"hodnota"} mus\xED b\xFDt ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${t.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${b(t.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${t.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${t.origin}`;default:return"Neplatn\xFD vstup"}}},"error");function Co(){return{localeError:Td()}}s(Co,"default");var Zd=s(()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}},r={string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};function i(u){return e[u]??null}s(i,"getSizing");function n(u){return r[u]??u}s(n,"getTypeName");let t=s(u=>{let l=typeof u;switch(l){case"number":return Number.isNaN(u)?"NaN":"tal";case"object":return Array.isArray(u)?"liste":u===null?"null":Object.getPrototypeOf(u)!==Object.prototype&&u.constructor?u.constructor.name:"objekt"}return l},"parsedType"),o={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"};return u=>{switch(u.code){case"invalid_type":return`Ugyldigt input: forventede ${n(u.expected)}, fik ${n(t(u.input))}`;case"invalid_value":return u.values.length===1?`Ugyldig v\xE6rdi: forventede ${_(u.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${b(u.values,"|")}`;case"too_big":{let l=u.inclusive?"<=":"<",f=i(u.origin),g=n(u.origin);return f?`For stor: forventede ${g??"value"} ${f.verb} ${l} ${u.maximum.toString()} ${f.unit??"elementer"}`:`For stor: forventede ${g??"value"} havde ${l} ${u.maximum.toString()}`}case"too_small":{let l=u.inclusive?">=":">",f=i(u.origin),g=n(u.origin);return f?`For lille: forventede ${g} ${f.verb} ${l} ${u.minimum.toString()} ${f.unit}`:`For lille: forventede ${g} havde ${l} ${u.minimum.toString()}`}case"invalid_format":{let l=u;return l.format==="starts_with"?`Ugyldig streng: skal starte med "${l.prefix}"`:l.format==="ends_with"?`Ugyldig streng: skal ende med "${l.suffix}"`:l.format==="includes"?`Ugyldig streng: skal indeholde "${l.includes}"`:l.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${l.pattern}`:`Ugyldig ${o[l.format]??u.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${u.divisor}`;case"unrecognized_keys":return`${u.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${b(u.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${u.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${u.origin}`;default:return"Ugyldigt input"}}},"error");function No(){return{localeError:Zd()}}s(No,"default");var Vd=s(()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"Zahl";case"object":{if(Array.isArray(t))return"Array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Ung\xFCltige Eingabe: erwartet ${t.expected}, erhalten ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ung\xFCltige Eingabe: erwartet ${_(t.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Zu gro\xDF: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ${u.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ist`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ${u.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ist`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${b(t.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${t.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${t.origin}`;default:return"Ung\xFCltige Eingabe"}}},"error");function Uo(){return{localeError:Vd()}}s(Uo,"default");var Rd=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),Ld=s(()=>{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"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Invalid input: expected ${n.expected}, received ${Rd(n.input)}`;case"invalid_value":return n.values.length===1?`Invalid input: expected ${_(n.values[0])}`:`Invalid option: expected one of ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`Too big: expected ${n.origin??"value"} to have ${t}${n.maximum.toString()} ${o.unit??"elements"}`:`Too big: expected ${n.origin??"value"} to be ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`Too small: expected ${n.origin} to have ${t}${n.minimum.toString()} ${o.unit}`:`Too small: expected ${n.origin} to be ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`Invalid string: must start with "${t.prefix}"`:t.format==="ends_with"?`Invalid string: must end with "${t.suffix}"`:t.format==="includes"?`Invalid string: must include "${t.includes}"`:t.format==="regex"?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${i[t.format]??n.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${b(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`;default:return"Invalid input"}}},"error");function ot(){return{localeError:Ld()}}s(ot,"default");var Fd=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":{if(Array.isArray(e))return"tabelo";if(e===null)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),Bd=s(()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Nevalida enigo: atendi\u011Dis ${n.expected}, ricevi\u011Dis ${Fd(n.input)}`;case"invalid_value":return n.values.length===1?`Nevalida enigo: atendi\u011Dis ${_(n.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`Tro granda: atendi\u011Dis ke ${n.origin??"valoro"} havu ${t}${n.maximum.toString()} ${o.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${n.origin??"valoro"} havu ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`Tro malgranda: atendi\u011Dis ke ${n.origin} havu ${t}${n.minimum.toString()} ${o.unit}`:`Tro malgranda: atendi\u011Dis ke ${n.origin} estu ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${t.prefix}"`:t.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${t.suffix}"`:t.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${t.includes}"`:t.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${i[t.format]??n.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${n.divisor}`;case"unrecognized_keys":return`Nekonata${n.keys.length>1?"j":""} \u015Dlosilo${n.keys.length>1?"j":""}: ${b(n.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${n.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${n.origin}`;default:return"Nevalida enigo"}}},"error");function Do(){return{localeError:Bd()}}s(Do,"default");var Md=s(()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}},r={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"};function i(u){return e[u]??null}s(i,"getSizing");function n(u){return r[u]??u}s(n,"getTypeName");let t=s(u=>{let l=typeof u;switch(l){case"number":return Number.isNaN(u)?"NaN":"number";case"object":return Array.isArray(u)?"array":u===null?"null":Object.getPrototypeOf(u)!==Object.prototype?u.constructor.name:"object"}return l},"parsedType"),o={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"};return u=>{switch(u.code){case"invalid_type":return`Entrada inv\xE1lida: se esperaba ${n(u.expected)}, recibido ${n(t(u.input))}`;case"invalid_value":return u.values.length===1?`Entrada inv\xE1lida: se esperaba ${_(u.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${b(u.values,"|")}`;case"too_big":{let l=u.inclusive?"<=":"<",f=i(u.origin),g=n(u.origin);return f?`Demasiado grande: se esperaba que ${g??"valor"} tuviera ${l}${u.maximum.toString()} ${f.unit??"elementos"}`:`Demasiado grande: se esperaba que ${g??"valor"} fuera ${l}${u.maximum.toString()}`}case"too_small":{let l=u.inclusive?">=":">",f=i(u.origin),g=n(u.origin);return f?`Demasiado peque\xF1o: se esperaba que ${g} tuviera ${l}${u.minimum.toString()} ${f.unit}`:`Demasiado peque\xF1o: se esperaba que ${g} fuera ${l}${u.minimum.toString()}`}case"invalid_format":{let l=u;return l.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${l.prefix}"`:l.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${l.suffix}"`:l.format==="includes"?`Cadena inv\xE1lida: debe incluir "${l.includes}"`:l.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${l.pattern}`:`Inv\xE1lido ${o[l.format]??u.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${u.divisor}`;case"unrecognized_keys":return`Llave${u.keys.length>1?"s":""} desconocida${u.keys.length>1?"s":""}: ${b(u.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${n(u.origin)}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${n(u.origin)}`;default:return"Entrada inv\xE1lida"}}},"error");function Oo(){return{localeError:Md()}}s(Oo,"default");var qd=s(()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(t))return"\u0622\u0631\u0627\u06CC\u0647";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${t.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${i(t.input)} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;case"invalid_value":return t.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${_(t.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 ${b(t.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${t.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} ${u.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${t.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} ${u.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${t.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${b(t.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${t.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 ${t.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}},"error");function Eo(){return{localeError:qd()}}s(Eo,"default");var Jd=s(()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${t.expected}, oli ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${_(t.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Liian suuri: ${u.subject} t\xE4ytyy olla ${o}${t.maximum.toString()} ${u.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Liian pieni: ${u.subject} t\xE4ytyy olla ${o}${t.minimum.toString()} ${u.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${b(t.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}},"error");function Ao(){return{localeError:Jd()}}s(Ao,"default");var Gd=s(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"nombre";case"object":{if(Array.isArray(t))return"tableau";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Entr\xE9e invalide : ${t.expected} attendu, ${i(t.input)} re\xE7u`;case"invalid_value":return t.values.length===1?`Entr\xE9e invalide : ${_(t.values[0])} attendu`:`Option invalide : une valeur parmi ${b(t.values,"|")} attendue`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Trop grand : ${t.origin??"valeur"} doit ${u.verb} ${o}${t.maximum.toString()} ${u.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${t.origin??"valeur"} doit \xEAtre ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Trop petit : ${t.origin} doit ${u.verb} ${o}${t.minimum.toString()} ${u.unit}`:`Trop petit : ${t.origin} doit \xEAtre ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${t.divisor}`;case"unrecognized_keys":return`Cl\xE9${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${b(t.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${t.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entr\xE9e invalide"}}},"error");function To(){return{localeError:Gd()}}s(To,"default");var Wd=s(()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Entr\xE9e invalide : attendu ${t.expected}, re\xE7u ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Entr\xE9e invalide : attendu ${_(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"\u2264":"<",u=r(t.origin);return u?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${o}${t.maximum.toString()} ${u.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?"\u2265":">",u=r(t.origin);return u?`Trop petit : attendu que ${t.origin} ait ${o}${t.minimum.toString()} ${u.unit}`:`Trop petit : attendu que ${t.origin} soit ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${t.divisor}`;case"unrecognized_keys":return`Cl\xE9${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${b(t.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${t.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Zo(){return{localeError:Wd()}}s(Zo,"default");var Kd=s(()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},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"}},i=s(g=>g?e[g]:void 0,"typeEntry"),n=s(g=>{let m=i(g);return m?m.label:g??e.unknown.label},"typeLabel"),t=s(g=>`\u05D4${n(g)}`,"withDefinite"),o=s(g=>(i(g)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA","verbFor"),u=s(g=>g?r[g]??null:null,"getSizing"),l=s(g=>{let m=typeof g;switch(m){case"number":return Number.isNaN(g)?"NaN":"number";case"object":return Array.isArray(g)?"array":g===null?"null":Object.getPrototypeOf(g)!==Object.prototype&&g.constructor?g.constructor.name:"object";default:return m}},"parsedType"),f={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"}};return g=>{switch(g.code){case"invalid_type":{let m=g.expected,y=n(m),p=l(g.input),c=e[p]?.label??p;return`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${y}, \u05D4\u05EA\u05E7\u05D1\u05DC ${c}`}case"invalid_value":{if(g.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 ${_(g.values[0])}`;let m=g.values.map(c=>_(c));if(g.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 ${m[0]} \u05D0\u05D5 ${m[1]}`;let y=m[m.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 ${m.slice(0,-1).join(", ")} \u05D0\u05D5 ${y}`}case"too_big":{let m=u(g.origin),y=t(g.origin??"value");if(g.origin==="string")return`${m?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${y} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${g.maximum.toString()} ${m?.unit??""} ${g.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(g.origin==="number"){let d=g.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${g.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${g.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${y} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${d}`}if(g.origin==="array"||g.origin==="set"){let d=g.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",v=g.inclusive?`${g.maximum} ${m?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${g.maximum} ${m?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${y} ${d} \u05DC\u05D4\u05DB\u05D9\u05DC ${v}`.trim()}let p=g.inclusive?"<=":"<",c=o(g.origin??"value");return m?.unit?`${m.longLabel} \u05DE\u05D3\u05D9: ${y} ${c} ${p}${g.maximum.toString()} ${m.unit}`:`${m?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${y} ${c} ${p}${g.maximum.toString()}`}case"too_small":{let m=u(g.origin),y=t(g.origin??"value");if(g.origin==="string")return`${m?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${y} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${g.minimum.toString()} ${m?.unit??""} ${g.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(g.origin==="number"){let d=g.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${g.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${g.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${y} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${d}`}if(g.origin==="array"||g.origin==="set"){let d=g.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(g.minimum===1&&g.inclusive){let $=(g.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${y} ${d} \u05DC\u05D4\u05DB\u05D9\u05DC ${$}`}let v=g.inclusive?`${g.minimum} ${m?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${g.minimum} ${m?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${y} ${d} \u05DC\u05D4\u05DB\u05D9\u05DC ${v}`.trim()}let p=g.inclusive?">=":">",c=o(g.origin??"value");return m?.unit?`${m.shortLabel} \u05DE\u05D3\u05D9: ${y} ${c} ${p}${g.minimum.toString()} ${m.unit}`:`${m?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${y} ${c} ${p}${g.minimum.toString()}`}case"invalid_format":{let m=g;if(m.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${m.prefix}"`;if(m.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${m.suffix}"`;if(m.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${m.includes}"`;if(m.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 ${m.pattern}`;let y=f[m.format],p=y?.label??m.format,d=(y?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${p} \u05DC\u05D0 ${d}`}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 ${g.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${g.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${g.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${b(g.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${t(g.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}},"error");function Vo(){return{localeError:Kd()}}s(Vo,"default");var Xd=s(()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"sz\xE1m";case"object":{if(Array.isArray(t))return"t\xF6mb";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${t.expected}, a kapott \xE9rt\xE9k ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${_(t.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`T\xFAl nagy: ${t.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${o}${t.maximum.toString()} ${u.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${t.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${t.origin} m\xE9rete t\xFAl kicsi ${o}${t.minimum.toString()} ${u.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${t.origin} t\xFAl kicsi ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${t.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${t.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${t.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}},"error");function Ro(){return{localeError:Xd()}}s(Ro,"default");var Hd=s(()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Input tidak valid: diharapkan ${t.expected}, diterima ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${_(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${o}${t.maximum.toString()} ${u.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Terlalu kecil: diharapkan ${t.origin} memiliki ${o}${t.minimum.toString()} ${u.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${t.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${t.origin}`;default:return"Input tidak valid"}}},"error");function Lo(){return{localeError:Hd()}}s(Lo,"default");var Qd=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"n\xFAmer";case"object":{if(Array.isArray(e))return"fylki";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),Yd=s(()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Rangt gildi: \xDE\xFA sl\xF3st inn ${Qd(n.input)} \xFEar sem \xE1 a\xF0 vera ${n.expected}`;case"invalid_value":return n.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${_(n.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin??"gildi"} hafi ${t}${n.maximum.toString()} ${o.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin??"gildi"} s\xE9 ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin} hafi ${t}${n.minimum.toString()} ${o.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${n.origin} s\xE9 ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${t.prefix}"`:t.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${t.suffix}"`:t.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${t.includes}"`:t.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${t.pattern}`:`Rangt ${i[t.format]??n.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${n.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${n.keys.length>1?"ir lyklar":"ur lykill"}: ${b(n.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${n.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${n.origin}`;default:return"Rangt gildi"}}},"error");function Fo(){return{localeError:Yd()}}s(Fo,"default");var ep=s(()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"numero";case"object":{if(Array.isArray(t))return"vettore";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Input non valido: atteso ${t.expected}, ricevuto ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input non valido: atteso ${_(t.values[0])}`:`Opzione non valida: atteso uno tra ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Troppo grande: ${t.origin??"valore"} deve avere ${o}${t.maximum.toString()} ${u.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Troppo piccolo: ${t.origin} deve avere ${o}${t.minimum.toString()} ${u.unit}`:`Troppo piccolo: ${t.origin} deve essere ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Invalid ${n[o.format]??t.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${t.divisor}`;case"unrecognized_keys":return`Chiav${t.keys.length>1?"i":"e"} non riconosciut${t.keys.length>1?"e":"a"}: ${b(t.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${t.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${t.origin}`;default:return"Input non valido"}}},"error");function Bo(){return{localeError:ep()}}s(Bo,"default");var tp=s(()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u6570\u5024";case"object":{if(Array.isArray(t))return"\u914D\u5217";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u7121\u52B9\u306A\u5165\u529B: ${t.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${i(t.input)}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;case"invalid_value":return t.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${_(t.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${b(t.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let o=t.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",u=r(t.origin);return u?`\u5927\u304D\u3059\u304E\u308B\u5024: ${t.origin??"\u5024"}\u306F${t.maximum.toString()}${u.unit??"\u8981\u7D20"}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${t.origin??"\u5024"}\u306F${t.maximum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let o=t.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",u=r(t.origin);return u?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${t.origin}\u306F${t.minimum.toString()}${u.unit}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${t.origin}\u306F${t.minimum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${t.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${t.keys.length>1?"\u7FA4":""}: ${b(t.keys,"\u3001")}`;case"invalid_key":return`${t.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${t.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}},"error");function Mo(){return{localeError:tp()}}s(Mo,"default");var rp=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8";case"object":{if(Array.isArray(e))return"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return{string:"\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",undefined:"undefined",bigint:"bigint",symbol:"symbol",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0"}[r]??r},"parsedType"),np=s(()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function r(n){return e[n]??null}s(r,"getSizing");let i={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",json_string:"JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"};return n=>{switch(n.code){case"invalid_type":return`\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 ${n.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${rp(n.input)}`;case"invalid_value":return n.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 ${_(n.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 ${b(n.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${n.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${o.verb} ${t}${n.maximum.toString()} ${o.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${n.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`\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 ${n.origin} ${o.verb} ${t}${n.minimum.toString()} ${o.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 ${n.origin} \u10D8\u10E7\u10DD\u10E1 ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${t.prefix}"-\u10D8\u10D7`:t.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${t.suffix}"-\u10D8\u10D7`:t.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${t.includes}"-\u10E1`:t.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${t.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${i[t.format]??n.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 ${n.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${n.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${b(n.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${n.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 ${n.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}},"error");function qo(){return{localeError:np()}}s(qo,"default");var ip=s(()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"\u1798\u17B7\u1793\u1798\u17C2\u1793\u1787\u17B6\u179B\u17C1\u1781 (NaN)":"\u179B\u17C1\u1781";case"object":{if(Array.isArray(t))return"\u17A2\u17B6\u179A\u17C1 (Array)";if(t===null)return"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${t.maximum.toString()} ${u.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin} ${o} ${t.minimum.toString()} ${u.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${t.origin} ${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${b(t.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 ${t.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 ${t.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}},"error");function at(){return{localeError:ip()}}s(at,"default");function Jo(){return at()}s(Jo,"default");var op=s(()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${t.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${i(t.input)}\uC785\uB2C8\uB2E4`;case"invalid_value":return t.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${_(t.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${b(t.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let o=t.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",u=o==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",l=r(t.origin),f=l?.unit??"\uC694\uC18C";return l?`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${t.maximum.toString()}${f} ${o}${u}`:`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${t.maximum.toString()} ${o}${u}`}case"too_small":{let o=t.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",u=o==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",l=r(t.origin),f=l?.unit??"\uC694\uC18C";return l?`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${t.minimum.toString()}${f} ${o}${u}`:`${t.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${t.minimum.toString()} ${o}${u}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${t.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${b(t.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${t.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${t.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}},"error");function Go(){return{localeError:op()}}s(Go,"default");var ap=s(e=>ut(typeof e,e),"parsedType"),ut=s((e,r=void 0)=>{switch(e){case"number":return Number.isNaN(r)?"NaN":"skai\u010Dius";case"bigint":return"sveikasis skai\u010Dius";case"string":return"eilut\u0117";case"boolean":return"login\u0117 reik\u0161m\u0117";case"undefined":case"void":return"neapibr\u0117\u017Eta reik\u0161m\u0117";case"function":return"funkcija";case"symbol":return"simbolis";case"object":return r===void 0?"ne\u017Einomas objektas":r===null?"nulin\u0117 reik\u0161m\u0117":Array.isArray(r)?"masyvas":Object.getPrototypeOf(r)!==Object.prototype&&r.constructor?r.constructor.name:"objektas";case"null":return"nulin\u0117 reik\u0161m\u0117"}return e},"parsedTypeFromType"),st=s(e=>e.charAt(0).toUpperCase()+e.slice(1),"capitalizeFirstCharacter");function Gu(e){let r=Math.abs(e),i=r%10,n=r%100;return n>=11&&n<=19||i===0?"many":i===1?"one":"few"}s(Gu,"getUnitTypeFromNumber");var sp=s(()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function r(n,t,o,u){let l=e[n]??null;return l===null?l:{unit:l.unit[t],verb:l.verb[u][o?"inclusive":"notInclusive"]}}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Gautas tipas ${ap(n.input)}, o tik\u0117tasi - ${ut(n.expected)}`;case"invalid_value":return n.values.length===1?`Privalo b\u016Bti ${_(n.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${b(n.values,"|")} pasirinkim\u0173`;case"too_big":{let t=ut(n.origin),o=r(n.origin,Gu(Number(n.maximum)),n.inclusive??!1,"smaller");if(o?.verb)return`${st(t??n.origin??"reik\u0161m\u0117")} ${o.verb} ${n.maximum.toString()} ${o.unit??"element\u0173"}`;let u=n.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${st(t??n.origin??"reik\u0161m\u0117")} turi b\u016Bti ${u} ${n.maximum.toString()} ${o?.unit}`}case"too_small":{let t=ut(n.origin),o=r(n.origin,Gu(Number(n.minimum)),n.inclusive??!1,"bigger");if(o?.verb)return`${st(t??n.origin??"reik\u0161m\u0117")} ${o.verb} ${n.minimum.toString()} ${o.unit??"element\u0173"}`;let u=n.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${st(t??n.origin??"reik\u0161m\u0117")} turi b\u016Bti ${u} ${n.minimum.toString()} ${o?.unit}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${t.prefix}"`:t.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${t.suffix}"`:t.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${t.includes}"`:t.format==="regex"?`Eilut\u0117 privalo atitikti ${t.pattern}`:`Neteisingas ${i[t.format]??n.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${n.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${n.keys.length>1?"i":"as"} rakt${n.keys.length>1?"ai":"as"}: ${b(n.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let t=ut(n.origin);return`${st(t??n.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}},"error");function Wo(){return{localeError:sp()}}s(Wo,"default");var up=s(()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0431\u0440\u043E\u0458";case"object":{if(Array.isArray(t))return"\u043D\u0438\u0437\u0430";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Invalid input: expected ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${o}${t.maximum.toString()} ${u.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 ${t.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin} \u0434\u0430 \u0438\u043C\u0430 ${o}${t.minimum.toString()} ${u.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${t.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`${t.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"}: ${b(t.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${t.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 ${t.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}},"error");function Ko(){return{localeError:up()}}s(Ko,"default");var cp=s(()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"nombor";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Input tidak sah: dijangka ${t.expected}, diterima ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${_(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Terlalu besar: dijangka ${t.origin??"nilai"} ${u.verb} ${o}${t.maximum.toString()} ${u.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Terlalu kecil: dijangka ${t.origin} ${u.verb} ${o}${t.minimum.toString()} ${u.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${b(t.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${t.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${t.origin}`;default:return"Input tidak sah"}}},"error");function Xo(){return{localeError:cp()}}s(Xo,"default");var lp=s(()=>{let e={string:{unit:"tekens",verb:"te hebben"},file:{unit:"bytes",verb:"te hebben"},array:{unit:"elementen",verb:"te hebben"},set:{unit:"elementen",verb:"te hebben"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"getal";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Ongeldige invoer: verwacht ${t.expected}, ontving ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${_(t.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Te groot: verwacht dat ${t.origin??"waarde"} ${u.verb} ${o}${t.maximum.toString()} ${u.unit??"elementen"}`:`Te groot: verwacht dat ${t.origin??"waarde"} ${o}${t.maximum.toString()} is`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Te klein: verwacht dat ${t.origin} ${u.verb} ${o}${t.minimum.toString()} ${u.unit}`:`Te klein: verwacht dat ${t.origin} ${o}${t.minimum.toString()} is`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${t.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${t.origin}`;default:return"Ongeldige invoer"}}},"error");function Ho(){return{localeError:lp()}}s(Ho,"default");var dp=s(()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"tall";case"object":{if(Array.isArray(t))return"liste";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Ugyldig input: forventet ${t.expected}, fikk ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${_(t.values[0])}`:`Ugyldig valg: forventet en av ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`For stor(t): forventet ${t.origin??"value"} til \xE5 ha ${o}${t.maximum.toString()} ${u.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til \xE5 ha ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`For lite(n): forventet ${t.origin} til \xE5 ha ${o}${t.minimum.toString()} ${u.unit}`:`For lite(n): forventet ${t.origin} til \xE5 ha ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${b(t.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}},"error");function Qo(){return{localeError:dp()}}s(Qo,"default");var pp=s(()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"numara";case"object":{if(Array.isArray(t))return"saf";if(t===null)return"gayb";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`F\xE2sit giren: umulan ${t.expected}, al\u0131nan ${i(t.input)}`;case"invalid_value":return t.values.length===1?`F\xE2sit giren: umulan ${_(t.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Fazla b\xFCy\xFCk: ${t.origin??"value"}, ${o}${t.maximum.toString()} ${u.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${t.origin??"value"}, ${o}${t.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Fazla k\xFC\xE7\xFCk: ${t.origin}, ${o}${t.minimum.toString()} ${u.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${t.origin}, ${o}${t.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${t.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`${t.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${t.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}},"error");function Yo(){return{localeError:pp()}}s(Yo,"default");var mp=s(()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(t))return"\u0627\u0631\u06D0";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${t.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${i(t.input)} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;case"invalid_value":return t.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${_(t.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${b(t.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${t.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} ${u.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${t.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${t.maximum.toString()} \u0648\u064A`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} ${u.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${t.origin} \u0628\u0627\u06CC\u062F ${o}${t.minimum.toString()} \u0648\u064A`}case"invalid_format":{let o=t;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]??t.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${t.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${t.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${b(t.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${t.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 ${t.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}},"error");function ea(){return{localeError:mp()}}s(ea,"default");var fp=s(()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"liczba";case"object":{if(Array.isArray(t))return"tablica";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${t.expected}, otrzymano ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${_(t.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${t.maximum.toString()} ${u.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${t.minimum.toString()} ${u.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${t.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${t.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${t.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}},"error");function ta(){return{localeError:fp()}}s(ta,"default");var gp=s(()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"n\xFAmero";case"object":{if(Array.isArray(t))return"array";if(t===null)return"nulo";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Tipo inv\xE1lido: esperado ${t.expected}, recebido ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Entrada inv\xE1lida: esperado ${_(t.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Muito grande: esperado que ${t.origin??"valor"} tivesse ${o}${t.maximum.toString()} ${u.unit??"elementos"}`:`Muito grande: esperado que ${t.origin??"valor"} fosse ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Muito pequeno: esperado que ${t.origin} tivesse ${o}${t.minimum.toString()} ${u.unit}`:`Muito pequeno: esperado que ${t.origin} fosse ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${t.divisor}`;case"unrecognized_keys":return`Chave${t.keys.length>1?"s":""} desconhecida${t.keys.length>1?"s":""}: ${b(t.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${t.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${t.origin}`;default:return"Campo inv\xE1lido"}}},"error");function ra(){return{localeError:gp()}}s(ra,"default");function Wu(e,r,i,n){let t=Math.abs(e),o=t%10,u=t%100;return u>=11&&u<=19?n:o===1?r:o>=2&&o<=4?i:n}s(Wu,"getRussianPlural");var vp=s(()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(t))return"\u043C\u0430\u0441\u0441\u0438\u0432";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${t.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);if(u){let l=Number(t.maximum),f=Wu(l,u.unit.one,u.unit.few,u.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 ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${t.maximum.toString()} ${f}`}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 ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);if(u){let l=Number(t.minimum),f=Wu(l,u.unit.one,u.unit.few,u.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 ${t.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${t.minimum.toString()} ${f}`}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 ${t.origin} \u0431\u0443\u0434\u0435\u0442 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${t.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${t.keys.length>1?"\u0438":""}: ${b(t.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${t.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 ${t.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}},"error");function na(){return{localeError:vp()}}s(na,"default");var hp=s(()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0161tevilo";case"object":{if(Array.isArray(t))return"tabela";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Neveljaven vnos: pri\u010Dakovano ${t.expected}, prejeto ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${_(t.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Preveliko: pri\u010Dakovano, da bo ${t.origin??"vrednost"} imelo ${o}${t.maximum.toString()} ${u.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${t.origin??"vrednost"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Premajhno: pri\u010Dakovano, da bo ${t.origin} imelo ${o}${t.minimum.toString()} ${u.unit}`:`Premajhno: pri\u010Dakovano, da bo ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${b(t.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}},"error");function ia(){return{localeError:hp()}}s(ia,"default");var yp=s(()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"antal";case"object":{if(Array.isArray(t))return"lista";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`Ogiltig inmatning: f\xF6rv\xE4ntat ${t.expected}, fick ${i(t.input)}`;case"invalid_value":return t.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${_(t.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`F\xF6r stor(t): f\xF6rv\xE4ntade ${t.origin??"v\xE4rdet"} att ha ${o}${t.maximum.toString()} ${u.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${t.origin??"v\xE4rdet"} att ha ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`F\xF6r lite(t): f\xF6rv\xE4ntade ${t.origin??"v\xE4rdet"} att ha ${o}${t.minimum.toString()} ${u.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${t.origin??"v\xE4rdet"} att ha ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${b(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${t.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}},"error");function oa(){return{localeError:yp()}}s(oa,"default");var bp=s(()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"\u0B8E\u0BA3\u0BCD \u0B85\u0BB2\u0BCD\u0BB2\u0BBE\u0BA4\u0BA4\u0BC1":"\u0B8E\u0BA3\u0BCD";case"object":{if(Array.isArray(t))return"\u0B85\u0BA3\u0BBF";if(t===null)return"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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 ${b(t.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\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 ${t.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${t.maximum.toString()} ${u.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 ${t.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${t.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\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 ${t.origin} ${o}${t.minimum.toString()} ${u.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 ${t.origin} ${o}${t.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${t.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${t.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${b(t.keys,", ")}`;case"invalid_key":return`${t.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`${t.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}},"error");function aa(){return{localeError:bp()}}s(aa,"default");var $p=s(()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 (NaN)":"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02";case"object":{if(Array.isArray(t))return"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)";if(t===null)return"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",u=r(t.origin);return u?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.maximum.toString()} ${u.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",u=r(t.origin);return u?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.minimum.toString()} ${u.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${t.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.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: ${b(t.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${t.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 ${t.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}},"error");function sa(){return{localeError:$p()}}s(sa,"default");var _p=s(e=>{let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return r},"parsedType"),kp=s(()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function r(n){return e[n]??null}s(r,"getSizing");let i={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"};return n=>{switch(n.code){case"invalid_type":return`Ge\xE7ersiz de\u011Fer: beklenen ${n.expected}, al\u0131nan ${_p(n.input)}`;case"invalid_value":return n.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${_(n.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${b(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",o=r(n.origin);return o?`\xC7ok b\xFCy\xFCk: beklenen ${n.origin??"de\u011Fer"} ${t}${n.maximum.toString()} ${o.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${n.origin??"de\u011Fer"} ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",o=r(n.origin);return o?`\xC7ok k\xFC\xE7\xFCk: beklenen ${n.origin} ${t}${n.minimum.toString()} ${o.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${n.origin} ${t}${n.minimum.toString()}`}case"invalid_format":{let t=n;return t.format==="starts_with"?`Ge\xE7ersiz metin: "${t.prefix}" ile ba\u015Flamal\u0131`:t.format==="ends_with"?`Ge\xE7ersiz metin: "${t.suffix}" ile bitmeli`:t.format==="includes"?`Ge\xE7ersiz metin: "${t.includes}" i\xE7ermeli`:t.format==="regex"?`Ge\xE7ersiz metin: ${t.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${i[t.format]??n.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${n.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${n.keys.length>1?"lar":""}: ${b(n.keys,", ")}`;case"invalid_key":return`${n.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${n.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}},"error");function ua(){return{localeError:kp()}}s(ua,"default");var xp=s(()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(t))return"\u043C\u0430\u0441\u0438\u0432";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\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 ${t.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${i(t.input)}`;case"invalid_value":return t.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 ${_(t.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 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\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 ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${u.verb} ${o}${t.maximum.toString()} ${u.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 ${t.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${t.origin} ${u.verb} ${o}${t.minimum.toString()} ${u.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${t.origin} \u0431\u0443\u0434\u0435 ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${t.keys.length>1?"\u0456":""}: ${b(t.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${t.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 ${t.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}},"error");function ct(){return{localeError:xp()}}s(ct,"default");function ca(){return ct()}s(ca,"default");var wp=s(()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"\u0646\u0645\u0628\u0631";case"object":{if(Array.isArray(t))return"\u0622\u0631\u06D2";if(t===null)return"\u0646\u0644";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${t.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${i(t.input)} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;case"invalid_value":return t.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${_(t.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${b(t.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${t.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${o}${t.maximum.toString()} ${u.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${t.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${o}${t.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${t.origin} \u06A9\u06D2 ${o}${t.minimum.toString()} ${u.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${t.origin} \u06A9\u0627 ${o}${t.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${t.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${t.keys.length>1?"\u0632":""}: ${b(t.keys,"\u060C ")}`;case"invalid_key":return`${t.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${t.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}},"error");function la(){return{localeError:wp()}}s(la,"default");var Ip=s(()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"s\u1ED1";case"object":{if(Array.isArray(t))return"m\u1EA3ng";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${t.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${_(t.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${t.origin??"gi\xE1 tr\u1ECB"} ${u.verb} ${o}${t.maximum.toString()} ${u.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${t.origin??"gi\xE1 tr\u1ECB"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${t.origin} ${u.verb} ${o}${t.minimum.toString()} ${u.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${b(t.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${t.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 ${t.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}},"error");function da(){return{localeError:Ip()}}s(da,"default");var Sp=s(()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"\u975E\u6570\u5B57(NaN)":"\u6570\u5B57";case"object":{if(Array.isArray(t))return"\u6570\u7EC4";if(t===null)return"\u7A7A\u503C(null)";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${t.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${_(t.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${t.origin??"\u503C"} ${o}${t.maximum.toString()} ${u.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${t.origin??"\u503C"} ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${t.origin} ${o}${t.minimum.toString()} ${u.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${t.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${b(t.keys,", ")}`;case"invalid_key":return`${t.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${t.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}},"error");function pa(){return{localeError:Sp()}}s(pa,"default");var zp=s(()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${t.expected}\uFF0C\u4F46\u6536\u5230 ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${_(t.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${t.origin??"\u503C"} \u61C9\u70BA ${o}${t.maximum.toString()} ${u.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${t.origin??"\u503C"} \u61C9\u70BA ${o}${t.maximum.toString()}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${t.origin} \u61C9\u70BA ${o}${t.minimum.toString()} ${u.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${t.origin} \u61C9\u70BA ${o}${t.minimum.toString()}`}case"invalid_format":{let o=t;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]??t.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${t.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${t.keys.length>1?"\u5011":""}\uFF1A${b(t.keys,"\u3001")}`;case"invalid_key":return`${t.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${t.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}},"error");function ma(){return{localeError:zp()}}s(ma,"default");var jp=s(()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function r(t){return e[t]??null}s(r,"getSizing");let i=s(t=>{let o=typeof t;switch(o){case"number":return Number.isNaN(t)?"NaN":"n\u1ECD\u0301mb\xE0";case"object":{if(Array.isArray(t))return"akop\u1ECD";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return o},"parsedType"),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"};return t=>{switch(t.code){case"invalid_type":return`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${t.expected}, \xE0m\u1ECD\u0300 a r\xED ${i(t.input)}`;case"invalid_value":return t.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${_(t.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${b(t.values,"|")}`;case"too_big":{let o=t.inclusive?"<=":"<",u=r(t.origin);return u?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${t.origin??"iye"} ${u.verb} ${o}${t.maximum} ${u.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${t.maximum}`}case"too_small":{let o=t.inclusive?">=":">",u=r(t.origin);return u?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${t.origin} ${u.verb} ${o}${t.minimum} ${u.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${t.minimum}`}case"invalid_format":{let o=t;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]??t.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 ${t.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${b(t.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${t.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 ${t.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}},"error");function fa(){return{localeError:jp()}}s(fa,"default");var Ku,ga=Symbol("ZodOutput"),va=Symbol("ZodInput"),ha=class ha{constructor(){this._map=new WeakMap,this._idmap=new Map}add(r,...i){let n=i[0];if(this._map.set(r,n),n&&typeof n=="object"&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,r)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(r){let i=this._map.get(r);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(r),this}get(r){let i=r._zod.parent;if(i){let n={...this.get(i)??{}};delete n.id;let t={...n,...this._map.get(r)};return Object.keys(t).length?t:void 0}return this._map.get(r)}has(r){return this._map.has(r)}};s(ha,"$ZodRegistry");var Oe=ha;function lr(){return new Oe}s(lr,"registry");(Ku=globalThis).__zod_globalRegistry??(Ku.__zod_globalRegistry=lr());var L=globalThis.__zod_globalRegistry;function ya(e,r){return new e({type:"string",...k(r)})}s(ya,"_string");function ba(e,r){return new e({type:"string",coerce:!0,...k(r)})}s(ba,"_coercedString");function dr(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...k(r)})}s(dr,"_email");function dt(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...k(r)})}s(dt,"_guid");function pr(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...k(r)})}s(pr,"_uuid");function mr(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...k(r)})}s(mr,"_uuidv4");function fr(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...k(r)})}s(fr,"_uuidv6");function gr(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...k(r)})}s(gr,"_uuidv7");function pt(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...k(r)})}s(pt,"_url");function vr(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...k(r)})}s(vr,"_emoji");function hr(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...k(r)})}s(hr,"_nanoid");function yr(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...k(r)})}s(yr,"_cuid");function br(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...k(r)})}s(br,"_cuid2");function $r(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...k(r)})}s($r,"_ulid");function _r(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...k(r)})}s(_r,"_xid");function kr(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...k(r)})}s(kr,"_ksuid");function xr(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...k(r)})}s(xr,"_ipv4");function wr(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...k(r)})}s(wr,"_ipv6");function $a(e,r){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...k(r)})}s($a,"_mac");function Ir(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...k(r)})}s(Ir,"_cidrv4");function Sr(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...k(r)})}s(Sr,"_cidrv6");function zr(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...k(r)})}s(zr,"_base64");function jr(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...k(r)})}s(jr,"_base64url");function Pr(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...k(r)})}s(Pr,"_e164");function Cr(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...k(r)})}s(Cr,"_jwt");var _a={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function ka(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...k(r)})}s(ka,"_isoDateTime");function xa(e,r){return new e({type:"string",format:"date",check:"string_format",...k(r)})}s(xa,"_isoDate");function wa(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...k(r)})}s(wa,"_isoTime");function Ia(e,r){return new e({type:"string",format:"duration",check:"string_format",...k(r)})}s(Ia,"_isoDuration");function Sa(e,r){return new e({type:"number",checks:[],...k(r)})}s(Sa,"_number");function za(e,r){return new e({type:"number",coerce:!0,checks:[],...k(r)})}s(za,"_coercedNumber");function ja(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...k(r)})}s(ja,"_int");function Pa(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...k(r)})}s(Pa,"_float32");function Ca(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...k(r)})}s(Ca,"_float64");function Na(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...k(r)})}s(Na,"_int32");function Ua(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...k(r)})}s(Ua,"_uint32");function Da(e,r){return new e({type:"boolean",...k(r)})}s(Da,"_boolean");function Oa(e,r){return new e({type:"boolean",coerce:!0,...k(r)})}s(Oa,"_coercedBoolean");function Ea(e,r){return new e({type:"bigint",...k(r)})}s(Ea,"_bigint");function Aa(e,r){return new e({type:"bigint",coerce:!0,...k(r)})}s(Aa,"_coercedBigint");function Ta(e,r){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...k(r)})}s(Ta,"_int64");function Za(e,r){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...k(r)})}s(Za,"_uint64");function Va(e,r){return new e({type:"symbol",...k(r)})}s(Va,"_symbol");function Ra(e,r){return new e({type:"undefined",...k(r)})}s(Ra,"_undefined");function La(e,r){return new e({type:"null",...k(r)})}s(La,"_null");function Fa(e){return new e({type:"any"})}s(Fa,"_any");function Ba(e){return new e({type:"unknown"})}s(Ba,"_unknown");function Ma(e,r){return new e({type:"never",...k(r)})}s(Ma,"_never");function qa(e,r){return new e({type:"void",...k(r)})}s(qa,"_void");function Ja(e,r){return new e({type:"date",...k(r)})}s(Ja,"_date");function Ga(e,r){return new e({type:"date",coerce:!0,...k(r)})}s(Ga,"_coercedDate");function Wa(e,r){return new e({type:"nan",...k(r)})}s(Wa,"_nan");function ae(e,r){return new Yt({check:"less_than",...k(r),value:e,inclusive:!1})}s(ae,"_lt");function Y(e,r){return new Yt({check:"less_than",...k(r),value:e,inclusive:!0})}s(Y,"_lte");function se(e,r){return new er({check:"greater_than",...k(r),value:e,inclusive:!1})}s(se,"_gt");function q(e,r){return new er({check:"greater_than",...k(r),value:e,inclusive:!0})}s(q,"_gte");function Ka(e){return se(0,e)}s(Ka,"_positive");function Xa(e){return ae(0,e)}s(Xa,"_negative");function Ha(e){return Y(0,e)}s(Ha,"_nonpositive");function Qa(e){return q(0,e)}s(Qa,"_nonnegative");function ke(e,r){return new Kn({check:"multiple_of",...k(r),value:e})}s(ke,"_multipleOf");function Ee(e,r){return new Qn({check:"max_size",...k(r),maximum:e})}s(Ee,"_maxSize");function xe(e,r){return new Yn({check:"min_size",...k(r),minimum:e})}s(xe,"_minSize");function mt(e,r){return new ei({check:"size_equals",...k(r),size:e})}s(mt,"_size");function Ae(e,r){return new ti({check:"max_length",...k(r),maximum:e})}s(Ae,"_maxLength");function ye(e,r){return new ri({check:"min_length",...k(r),minimum:e})}s(ye,"_minLength");function Te(e,r){return new ni({check:"length_equals",...k(r),length:e})}s(Te,"_length");function ft(e,r){return new ii({check:"string_format",format:"regex",...k(r),pattern:e})}s(ft,"_regex");function gt(e){return new oi({check:"string_format",format:"lowercase",...k(e)})}s(gt,"_lowercase");function vt(e){return new ai({check:"string_format",format:"uppercase",...k(e)})}s(vt,"_uppercase");function ht(e,r){return new si({check:"string_format",format:"includes",...k(r),includes:e})}s(ht,"_includes");function yt(e,r){return new ui({check:"string_format",format:"starts_with",...k(r),prefix:e})}s(yt,"_startsWith");function bt(e,r){return new ci({check:"string_format",format:"ends_with",...k(r),suffix:e})}s(bt,"_endsWith");function Ya(e,r,i){return new li({check:"property",property:e,schema:r,...k(i)})}s(Ya,"_property");function $t(e,r){return new di({check:"mime_type",mime:e,...k(r)})}s($t,"_mime");function ne(e){return new pi({check:"overwrite",tx:e})}s(ne,"_overwrite");function _t(e){return ne(r=>r.normalize(e))}s(_t,"_normalize");function kt(){return ne(e=>e.trim())}s(kt,"_trim");function xt(){return ne(e=>e.toLowerCase())}s(xt,"_toLowerCase");function wt(){return ne(e=>e.toUpperCase())}s(wt,"_toUpperCase");function It(){return ne(e=>un(e))}s(It,"_slugify");function es(e,r,i){return new e({type:"array",element:r,...k(i)})}s(es,"_array");function Cp(e,r,i){return new e({type:"union",options:r,...k(i)})}s(Cp,"_union");function Np(e,r,i,n){return new e({type:"union",options:i,discriminator:r,...k(n)})}s(Np,"_discriminatedUnion");function Up(e,r,i){return new e({type:"intersection",left:r,right:i})}s(Up,"_intersection");function Dp(e,r,i,n){let t=i instanceof z,o=t?n:i,u=t?i:null;return new e({type:"tuple",items:r,rest:u,...k(o)})}s(Dp,"_tuple");function Op(e,r,i,n){return new e({type:"record",keyType:r,valueType:i,...k(n)})}s(Op,"_record");function Ep(e,r,i,n){return new e({type:"map",keyType:r,valueType:i,...k(n)})}s(Ep,"_map");function Ap(e,r,i){return new e({type:"set",valueType:r,...k(i)})}s(Ap,"_set");function Tp(e,r,i){let n=Array.isArray(r)?Object.fromEntries(r.map(t=>[t,t])):r;return new e({type:"enum",entries:n,...k(i)})}s(Tp,"_enum");function Zp(e,r,i){return new e({type:"enum",entries:r,...k(i)})}s(Zp,"_nativeEnum");function Vp(e,r,i){return new e({type:"literal",values:Array.isArray(r)?r:[r],...k(i)})}s(Vp,"_literal");function ts(e,r){return new e({type:"file",...k(r)})}s(ts,"_file");function Rp(e,r){return new e({type:"transform",transform:r})}s(Rp,"_transform");function Lp(e,r){return new e({type:"optional",innerType:r})}s(Lp,"_optional");function Fp(e,r){return new e({type:"nullable",innerType:r})}s(Fp,"_nullable");function Bp(e,r,i){return new e({type:"default",innerType:r,get defaultValue(){return typeof i=="function"?i():ln(i)}})}s(Bp,"_default");function Mp(e,r,i){return new e({type:"nonoptional",innerType:r,...k(i)})}s(Mp,"_nonoptional");function qp(e,r){return new e({type:"success",innerType:r})}s(qp,"_success");function Jp(e,r,i){return new e({type:"catch",innerType:r,catchValue:typeof i=="function"?i:()=>i})}s(Jp,"_catch");function Gp(e,r,i){return new e({type:"pipe",in:r,out:i})}s(Gp,"_pipe");function Wp(e,r){return new e({type:"readonly",innerType:r})}s(Wp,"_readonly");function Kp(e,r,i){return new e({type:"template_literal",parts:r,...k(i)})}s(Kp,"_templateLiteral");function Xp(e,r){return new e({type:"lazy",getter:r})}s(Xp,"_lazy");function Hp(e,r){return new e({type:"promise",innerType:r})}s(Hp,"_promise");function rs(e,r,i){let n=k(i);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:r,...n})}s(rs,"_custom");function ns(e,r,i){return new e({type:"custom",check:"custom",fn:r,...k(i)})}s(ns,"_refine");function is(e){let r=Xu(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(je(n,i.value,r._zod.def));else{let t=n;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=i.value),t.inst??(t.inst=r),t.continue??(t.continue=!r._zod.def.abort),i.issues.push(je(t))}},e(i.value,i)));return r}s(is,"_superRefine");function Xu(e,r){let i=new D({check:"custom",...k(r)});return i._zod.check=e,i}s(Xu,"_check");function os(e){let r=new D({check:"describe"});return r._zod.onattach=[i=>{let n=L.get(i)??{};L.add(i,{...n,description:e})}],r._zod.check=()=>{},r}s(os,"describe");function as(e){let r=new D({check:"meta"});return r._zod.onattach=[i=>{let n=L.get(i)??{};L.add(i,{...n,...e})}],r._zod.check=()=>{},r}s(as,"meta");function ss(e,r){let i=k(r),n=i.truthy??["true","1","yes","on","y","enabled"],t=i.falsy??["false","0","no","off","n","disabled"];i.case!=="sensitive"&&(n=n.map(c=>typeof c=="string"?c.toLowerCase():c),t=t.map(c=>typeof c=="string"?c.toLowerCase():c));let o=new Set(n),u=new Set(t),l=e.Codec??it,f=e.Boolean??nt,g=e.String??_e,m=new g({type:"string",error:i.error}),y=new f({type:"boolean",error:i.error}),p=new l({type:"pipe",in:m,out:y,transform:s(((c,d)=>{let v=c;return i.case!=="sensitive"&&(v=v.toLowerCase()),o.has(v)?!0:u.has(v)?!1:(d.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...u],input:d.value,inst:p,continue:!1}),{})}),"transform"),reverseTransform:s(((c,d)=>c===!0?n[0]||"true":t[0]||"false"),"reverseTransform"),error:i.error});return p}s(ss,"_stringbool");function Ze(e,r,i,n={}){let t=k(n),o={...k(n),check:"string_format",type:"string",format:r,fn:typeof i=="function"?i:l=>i.test(l),...t};return i instanceof RegExp&&(o.pattern=i),new e(o)}s(Ze,"_stringFormat");var cs=class cs{constructor(r){this.counter=0,this.metadataRegistry=r?.metadata??L,this.target=r?.target??"draft-2020-12",this.unrepresentable=r?.unrepresentable??"throw",this.override=r?.override??(()=>{}),this.io=r?.io??"output",this.seen=new Map}process(r,i={path:[],schemaPath:[]}){var n;let t=r._zod.def,o={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},u=this.seen.get(r);if(u)return u.count++,i.schemaPath.includes(r)&&(u.cycle=i.path),u.schema;let l={schema:{},count:1,cycle:void 0,path:i.path};this.seen.set(r,l);let f=r._zod.toJSONSchema?.();if(f)l.schema=f;else{let y={...i,schemaPath:[...i.schemaPath,r],path:i.path},p=r._zod.parent;if(p)l.ref=p,this.process(p,y),this.seen.get(p).isParent=!0;else{let c=l.schema;switch(t.type){case"string":{let d=c;d.type="string";let{minimum:v,maximum:$,format:w,patterns:I,contentEncoding:S}=r._zod.bag;if(typeof v=="number"&&(d.minLength=v),typeof $=="number"&&(d.maxLength=$),w&&(d.format=o[w]??w,d.format===""&&delete d.format),S&&(d.contentEncoding=S),I&&I.size>0){let C=[...I];C.length===1?d.pattern=C[0].source:C.length>1&&(l.schema.allOf=[...C.map(A=>({...this.target==="draft-7"||this.target==="draft-4"||this.target==="openapi-3.0"?{type:"string"}:{},pattern:A.source}))])}break}case"number":{let d=c,{minimum:v,maximum:$,format:w,multipleOf:I,exclusiveMaximum:S,exclusiveMinimum:C}=r._zod.bag;typeof w=="string"&&w.includes("int")?d.type="integer":d.type="number",typeof C=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(d.minimum=C,d.exclusiveMinimum=!0):d.exclusiveMinimum=C),typeof v=="number"&&(d.minimum=v,typeof C=="number"&&this.target!=="draft-4"&&(C>=v?delete d.minimum:delete d.exclusiveMinimum)),typeof S=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(d.maximum=S,d.exclusiveMaximum=!0):d.exclusiveMaximum=S),typeof $=="number"&&(d.maximum=$,typeof S=="number"&&this.target!=="draft-4"&&(S<=$?delete d.maximum:delete d.exclusiveMaximum)),typeof I=="number"&&(d.multipleOf=I);break}case"boolean":{let d=c;d.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"null":{this.target==="openapi-3.0"?(c.type="string",c.nullable=!0,c.enum=[null]):c.type="null";break}case"any":break;case"unknown":break;case"undefined":{if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"never":{c.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{let d=c,{minimum:v,maximum:$}=r._zod.bag;typeof v=="number"&&(d.minItems=v),typeof $=="number"&&(d.maxItems=$),d.type="array",d.items=this.process(t.element,{...y,path:[...y.path,"items"]});break}case"object":{let d=c;d.type="object",d.properties={};let v=t.shape;for(let I in v)d.properties[I]=this.process(v[I],{...y,path:[...y.path,"properties",I]});let $=new Set(Object.keys(v)),w=new Set([...$].filter(I=>{let S=t.shape[I]._zod;return this.io==="input"?S.optin===void 0:S.optout===void 0}));w.size>0&&(d.required=Array.from(w)),t.catchall?._zod.def.type==="never"?d.additionalProperties=!1:t.catchall?t.catchall&&(d.additionalProperties=this.process(t.catchall,{...y,path:[...y.path,"additionalProperties"]})):this.io==="output"&&(d.additionalProperties=!1);break}case"union":{let d=c,v=t.discriminator!==void 0,$=t.options.map((w,I)=>this.process(w,{...y,path:[...y.path,v?"oneOf":"anyOf",I]}));v?d.oneOf=$:d.anyOf=$;break}case"intersection":{let d=c,v=this.process(t.left,{...y,path:[...y.path,"allOf",0]}),$=this.process(t.right,{...y,path:[...y.path,"allOf",1]}),w=s(S=>"allOf"in S&&Object.keys(S).length===1,"isSimpleIntersection"),I=[...w(v)?v.allOf:[v],...w($)?$.allOf:[$]];d.allOf=I;break}case"tuple":{let d=c;d.type="array";let v=this.target==="draft-2020-12"?"prefixItems":"items",$=this.target==="draft-2020-12"||this.target==="openapi-3.0"?"items":"additionalItems",w=t.items.map((A,X)=>this.process(A,{...y,path:[...y.path,v,X]})),I=t.rest?this.process(t.rest,{...y,path:[...y.path,$,...this.target==="openapi-3.0"?[t.items.length]:[]]}):null;this.target==="draft-2020-12"?(d.prefixItems=w,I&&(d.items=I)):this.target==="openapi-3.0"?(d.items={anyOf:w},I&&d.items.anyOf.push(I),d.minItems=w.length,I||(d.maxItems=w.length)):(d.items=w,I&&(d.additionalItems=I));let{minimum:S,maximum:C}=r._zod.bag;typeof S=="number"&&(d.minItems=S),typeof C=="number"&&(d.maxItems=C);break}case"record":{let d=c;d.type="object",(this.target==="draft-7"||this.target==="draft-2020-12")&&(d.propertyNames=this.process(t.keyType,{...y,path:[...y.path,"propertyNames"]})),d.additionalProperties=this.process(t.valueType,{...y,path:[...y.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{let d=c,v=Je(t.entries);v.every($=>typeof $=="number")&&(d.type="number"),v.every($=>typeof $=="string")&&(d.type="string"),d.enum=v;break}case"literal":{let d=c,v=[];for(let $ of t.values)if($===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof $=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");v.push(Number($))}else v.push($);if(v.length!==0)if(v.length===1){let $=v[0];d.type=$===null?"null":typeof $,this.target==="draft-4"||this.target==="openapi-3.0"?d.enum=[$]:d.const=$}else v.every($=>typeof $=="number")&&(d.type="number"),v.every($=>typeof $=="string")&&(d.type="string"),v.every($=>typeof $=="boolean")&&(d.type="string"),v.every($=>$===null)&&(d.type="null"),d.enum=v;break}case"file":{let d=c,v={type:"string",format:"binary",contentEncoding:"binary"},{minimum:$,maximum:w,mime:I}=r._zod.bag;$!==void 0&&(v.minLength=$),w!==void 0&&(v.maxLength=w),I?I.length===1?(v.contentMediaType=I[0],Object.assign(d,v)):d.anyOf=I.map(S=>({...v,contentMediaType:S})):Object.assign(d,v);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{let d=this.process(t.innerType,y);this.target==="openapi-3.0"?(l.ref=t.innerType,c.nullable=!0):c.anyOf=[d,{type:"null"}];break}case"nonoptional":{this.process(t.innerType,y),l.ref=t.innerType;break}case"success":{let d=c;d.type="boolean";break}case"default":{this.process(t.innerType,y),l.ref=t.innerType,c.default=JSON.parse(JSON.stringify(t.defaultValue));break}case"prefault":{this.process(t.innerType,y),l.ref=t.innerType,this.io==="input"&&(c._prefault=JSON.parse(JSON.stringify(t.defaultValue)));break}case"catch":{this.process(t.innerType,y),l.ref=t.innerType;let d;try{d=t.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}c.default=d;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{let d=c,v=r._zod.pattern;if(!v)throw new Error("Pattern not found in template literal");d.type="string",d.pattern=v.source;break}case"pipe":{let d=this.io==="input"?t.in._zod.def.type==="transform"?t.out:t.in:t.out;this.process(d,y),l.ref=d;break}case"readonly":{this.process(t.innerType,y),l.ref=t.innerType,c.readOnly=!0;break}case"promise":{this.process(t.innerType,y),l.ref=t.innerType;break}case"optional":{this.process(t.innerType,y),l.ref=t.innerType;break}case"lazy":{let d=r._zod.innerType;this.process(d,y),l.ref=d;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}case"function":{if(this.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema");break}default:}}}let g=this.metadataRegistry.get(r);return g&&Object.assign(l.schema,g),this.io==="input"&&F(r)&&(delete l.schema.examples,delete l.schema.default),this.io==="input"&&l.schema._prefault&&((n=l.schema).default??(n.default=l.schema._prefault)),delete l.schema._prefault,this.seen.get(r).schema}emit(r,i){let n={cycles:i?.cycles??"ref",reused:i?.reused??"inline",external:i?.external??void 0},t=this.seen.get(r);if(!t)throw new Error("Unprocessed schema. This is a bug in Zod.");let o=s(m=>{let y=this.target==="draft-2020-12"?"$defs":"definitions";if(n.external){let v=n.external.registry.get(m[0])?.id,$=n.external.uri??(I=>I);if(v)return{ref:$(v)};let w=m[1].defId??m[1].schema.id??`schema${this.counter++}`;return m[1].defId=w,{defId:w,ref:`${$("__shared")}#/${y}/${w}`}}if(m[1]===t)return{ref:"#"};let c=`#/${y}/`,d=m[1].schema.id??`__schema${this.counter++}`;return{defId:d,ref:c+d}},"makeURI"),u=s(m=>{if(m[1].schema.$ref)return;let y=m[1],{ref:p,defId:c}=o(m);y.def={...y.schema},c&&(y.defId=c);let d=y.schema;for(let v in d)delete d[v];d.$ref=p},"extractToDef");if(n.cycles==="throw")for(let m of this.seen.entries()){let y=m[1];if(y.cycle)throw new Error(`Cycle detected: #/${y.cycle?.join("/")}/<root>
22
22
 
23
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let p of this.seen.entries()){let y=p[1];if(r===p[0]){c(p);continue}if(n.external){let u=n.external.registry.get(p[0])?.id;if(r!==p[0]&&u){c(p);continue}}if(this.metadataRegistry.get(p[0])?.id){c(p);continue}if(y.cycle){c(p);continue}if(y.count>1&&n.reused==="ref"){c(p);continue}}let l=s((p,y)=>{let m=this.seen.get(p),u=m.def??m.schema,d={...u};if(m.ref===null)return;let v=m.ref;if(m.ref=null,v){l(v,y);let $=this.seen.get(v).schema;$.$ref&&(y.target==="draft-7"||y.target==="draft-4"||y.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push($)):(Object.assign(u,$),Object.assign(u,d))}m.isParent||this.override({zodSchema:p,jsonSchema:u,path:m.path??[]})},"flattenRef");for(let p of[...this.seen.entries()].reverse())l(p[0],{target:this.target});let f={};if(this.target==="draft-2020-12"?f.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?f.$schema="http://json-schema.org/draft-07/schema#":this.target==="draft-4"?f.$schema="http://json-schema.org/draft-04/schema#":this.target==="openapi-3.0"||console.warn(`Invalid target: ${this.target}`),n.external?.uri){let p=n.external.registry.get(r)?.id;if(!p)throw new Error("Schema is missing an `id` property");f.$id=n.external.uri(p)}Object.assign(f,t.def);let g=n.external?.defs??{};for(let p of this.seen.entries()){let y=p[1];y.def&&y.defId&&(g[y.defId]=y.def)}n.external||Object.keys(g).length>0&&(this.target==="draft-2020-12"?f.$defs=g:f.definitions=g);try{return JSON.parse(JSON.stringify(f))}catch{throw new Error("Error converting schema to JSON.")}}};s(cs,"JSONSchemaGenerator");var St=cs;function ss(e,r){if(e instanceof Oe){let n=new St(r),t={};for(let l of e._idmap.entries()){let[f,g]=l;n.process(g)}let o={},c={registry:e,uri:r?.uri,defs:t};for(let l of e._idmap.entries()){let[f,g]=l;o[f]=n.emit(g,{...r,external:c})}if(Object.keys(t).length>0){let l=n.target==="draft-2020-12"?"$defs":"definitions";o.__shared={[l]:t}}return{schemas:o}}let i=new St(r);return i.process(e),i.emit(e,r)}s(ss,"toJSONSchema");function L(e,r){let i=r??{seen:new Set};if(i.seen.has(e))return!1;i.seen.add(e);let n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return L(n.element,i);if(n.type==="set")return L(n.valueType,i);if(n.type==="lazy")return L(n.getter(),i);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return L(n.innerType,i);if(n.type==="intersection")return L(n.left,i)||L(n.right,i);if(n.type==="record"||n.type==="map")return L(n.keyType,i)||L(n.valueType,i);if(n.type==="pipe")return L(n.in,i)||L(n.out,i);if(n.type==="object"){for(let t in n.shape)if(L(n.shape[t],i))return!0;return!1}if(n.type==="union"){for(let t of n.options)if(L(t,i))return!0;return!1}if(n.type==="tuple"){for(let t of n.items)if(L(t,i))return!0;return!!(n.rest&&L(n.rest,i))}return!1}s(L,"isTransforming");var Kc={};var Er={};de(Er,{ZodISODate:()=>Ur,ZodISODateTime:()=>Nr,ZodISODuration:()=>Or,ZodISOTime:()=>Dr,date:()=>ls,datetime:()=>us,duration:()=>ms,time:()=>ds});var Nr=h("ZodISODateTime",(e,r)=>{Si.init(e,r),O.init(e,r)});function us(e){return _a(Nr,e)}s(us,"datetime");var Ur=h("ZodISODate",(e,r)=>{zi.init(e,r),O.init(e,r)});function ls(e){return ka(Ur,e)}s(ls,"date");var Dr=h("ZodISOTime",(e,r)=>{ji.init(e,r),O.init(e,r)});function ds(e){return xa(Dr,e)}s(ds,"time");var Or=h("ZodISODuration",(e,r)=>{Pi.init(e,r),O.init(e,r)});function ms(e){return wa(Or,e)}s(ms,"duration");var Hc=s((e,r)=>{He.init(e,r),e.name="ZodError",Object.defineProperties(e,{format:{value:s(i=>Ye(e,i),"value")},flatten:{value:s(i=>Qe(e,i),"value")},addIssue:{value:s(i=>{e.issues.push(i),e.message=JSON.stringify(e.issues,Se,2)},"value")},addIssues:{value:s(i=>{e.issues.push(...i),e.message=JSON.stringify(e.issues,Se,2)},"value")},isEmpty:{get(){return e.issues.length===0}}})},"initializer"),Km=h("ZodError",Hc),q=h("ZodError",Hc,{Parent:Error});var ps=Pe(q),fs=Ce(q),gs=Ne(q),vs=Ue(q),hs=Mt(q),ys=qt(q),bs=Jt(q),$s=Gt(q),_s=Wt(q),ks=Kt(q),xs=Xt(q),ws=Ht(q);var P=h("ZodType",(e,r)=>(z.init(e,r),e.def=r,e.type=r.type,Object.defineProperty(e,"_def",{value:r}),e.check=(...i)=>e.clone(x.mergeDefs(r,{checks:[...r.checks??[],...i.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]})),e.clone=(i,n)=>R(e,i,n),e.brand=()=>e,e.register=((i,n)=>(i.add(e,n),e)),e.parse=(i,n)=>ps(e,i,n,{callee:e.parse}),e.safeParse=(i,n)=>gs(e,i,n),e.parseAsync=async(i,n)=>fs(e,i,n,{callee:e.parseAsync}),e.safeParseAsync=async(i,n)=>vs(e,i,n),e.spa=e.safeParseAsync,e.encode=(i,n)=>hs(e,i,n),e.decode=(i,n)=>ys(e,i,n),e.encodeAsync=async(i,n)=>bs(e,i,n),e.decodeAsync=async(i,n)=>$s(e,i,n),e.safeEncode=(i,n)=>_s(e,i,n),e.safeDecode=(i,n)=>ks(e,i,n),e.safeEncodeAsync=async(i,n)=>xs(e,i,n),e.safeDecodeAsync=async(i,n)=>ws(e,i,n),e.refine=(i,n)=>e.check(Zu(i,n)),e.superRefine=i=>e.check(Ru(i)),e.overwrite=i=>e.check(ne(i)),e.optional=()=>Tr(e),e.nullable=()=>Zr(e),e.nullish=()=>Tr(Zr(e)),e.nonoptional=i=>Su(e,i),e.array=()=>Fr(e),e.or=i=>Gs([e,i]),e.and=i=>mu(e,i),e.transform=i=>Rr(e,Xs(i)),e.default=i=>xu(e,i),e.prefault=i=>Iu(e,i),e.catch=i=>Pu(e,i),e.pipe=i=>Rr(e,i),e.readonly=()=>Uu(e),e.describe=i=>{let n=e.clone();return V.add(n,{description:i}),n},Object.defineProperty(e,"description",{get(){return V.get(e)?.description},configurable:!0}),e.meta=(...i)=>{if(i.length===0)return V.get(e);let n=e.clone();return V.add(n,i[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),zs=h("_ZodString",(e,r)=>{_e.init(e,r),P.init(e,r);let i=e._zod.bag;e.format=i.format??null,e.minLength=i.minimum??null,e.maxLength=i.maximum??null,e.regex=(...n)=>e.check(ft(...n)),e.includes=(...n)=>e.check(ht(...n)),e.startsWith=(...n)=>e.check(yt(...n)),e.endsWith=(...n)=>e.check(bt(...n)),e.min=(...n)=>e.check(ye(...n)),e.max=(...n)=>e.check(Ae(...n)),e.length=(...n)=>e.check(Te(...n)),e.nonempty=(...n)=>e.check(ye(1,...n)),e.lowercase=n=>e.check(gt(n)),e.uppercase=n=>e.check(vt(n)),e.trim=()=>e.check(kt()),e.normalize=(...n)=>e.check(_t(...n)),e.toLowerCase=()=>e.check(xt()),e.toUpperCase=()=>e.check(wt()),e.slugify=()=>e.check(It())}),jt=h("ZodString",(e,r)=>{_e.init(e,r),zs.init(e,r),e.email=i=>e.check(dr(js,i)),e.url=i=>e.check(mt(Vr,i)),e.jwt=i=>e.check(Cr(Bs,i)),e.emoji=i=>e.check(vr(Ps,i)),e.guid=i=>e.check(dt(Ar,i)),e.uuid=i=>e.check(mr(ue,i)),e.uuidv4=i=>e.check(pr(ue,i)),e.uuidv6=i=>e.check(fr(ue,i)),e.uuidv7=i=>e.check(gr(ue,i)),e.nanoid=i=>e.check(hr(Cs,i)),e.guid=i=>e.check(dt(Ar,i)),e.cuid=i=>e.check(yr(Ns,i)),e.cuid2=i=>e.check(br(Us,i)),e.ulid=i=>e.check($r(Ds,i)),e.base64=i=>e.check(zr(Vs,i)),e.base64url=i=>e.check(jr(Ls,i)),e.xid=i=>e.check(_r(Os,i)),e.ksuid=i=>e.check(kr(Es,i)),e.ipv4=i=>e.check(xr(As,i)),e.ipv6=i=>e.check(wr(Ts,i)),e.cidrv4=i=>e.check(Ir(Zs,i)),e.cidrv6=i=>e.check(Sr(Rs,i)),e.e164=i=>e.check(Pr(Fs,i)),e.datetime=i=>e.check(us(i)),e.date=i=>e.check(ls(i)),e.time=i=>e.check(ds(i)),e.duration=i=>e.check(ms(i))});function Is(e){return ha(jt,e)}s(Is,"string");var O=h("ZodStringFormat",(e,r)=>{U.init(e,r),zs.init(e,r)}),js=h("ZodEmail",(e,r)=>{hi.init(e,r),O.init(e,r)});function Hm(e){return dr(js,e)}s(Hm,"email");var Ar=h("ZodGUID",(e,r)=>{gi.init(e,r),O.init(e,r)});function Qm(e){return dt(Ar,e)}s(Qm,"guid");var ue=h("ZodUUID",(e,r)=>{vi.init(e,r),O.init(e,r)});function Ym(e){return mr(ue,e)}s(Ym,"uuid");function ep(e){return pr(ue,e)}s(ep,"uuidv4");function tp(e){return fr(ue,e)}s(tp,"uuidv6");function rp(e){return gr(ue,e)}s(rp,"uuidv7");var Vr=h("ZodURL",(e,r)=>{yi.init(e,r),O.init(e,r)});function np(e){return mt(Vr,e)}s(np,"url");function ip(e){return mt(Vr,{protocol:/^https?$/,hostname:H.domain,...x.normalizeParams(e)})}s(ip,"httpUrl");var Ps=h("ZodEmoji",(e,r)=>{bi.init(e,r),O.init(e,r)});function op(e){return vr(Ps,e)}s(op,"emoji");var Cs=h("ZodNanoID",(e,r)=>{$i.init(e,r),O.init(e,r)});function ap(e){return hr(Cs,e)}s(ap,"nanoid");var Ns=h("ZodCUID",(e,r)=>{_i.init(e,r),O.init(e,r)});function sp(e){return yr(Ns,e)}s(sp,"cuid");var Us=h("ZodCUID2",(e,r)=>{ki.init(e,r),O.init(e,r)});function cp(e){return br(Us,e)}s(cp,"cuid2");var Ds=h("ZodULID",(e,r)=>{xi.init(e,r),O.init(e,r)});function up(e){return $r(Ds,e)}s(up,"ulid");var Os=h("ZodXID",(e,r)=>{wi.init(e,r),O.init(e,r)});function lp(e){return _r(Os,e)}s(lp,"xid");var Es=h("ZodKSUID",(e,r)=>{Ii.init(e,r),O.init(e,r)});function dp(e){return kr(Es,e)}s(dp,"ksuid");var As=h("ZodIPv4",(e,r)=>{Ci.init(e,r),O.init(e,r)});function mp(e){return xr(As,e)}s(mp,"ipv4");var Qc=h("ZodMAC",(e,r)=>{Ui.init(e,r),O.init(e,r)});function pp(e){return ba(Qc,e)}s(pp,"mac");var Ts=h("ZodIPv6",(e,r)=>{Ni.init(e,r),O.init(e,r)});function fp(e){return wr(Ts,e)}s(fp,"ipv6");var Zs=h("ZodCIDRv4",(e,r)=>{Di.init(e,r),O.init(e,r)});function gp(e){return Ir(Zs,e)}s(gp,"cidrv4");var Rs=h("ZodCIDRv6",(e,r)=>{Oi.init(e,r),O.init(e,r)});function vp(e){return Sr(Rs,e)}s(vp,"cidrv6");var Vs=h("ZodBase64",(e,r)=>{Ai.init(e,r),O.init(e,r)});function hp(e){return zr(Vs,e)}s(hp,"base64");var Ls=h("ZodBase64URL",(e,r)=>{Ti.init(e,r),O.init(e,r)});function yp(e){return jr(Ls,e)}s(yp,"base64url");var Fs=h("ZodE164",(e,r)=>{Zi.init(e,r),O.init(e,r)});function bp(e){return Pr(Fs,e)}s(bp,"e164");var Bs=h("ZodJWT",(e,r)=>{Ri.init(e,r),O.init(e,r)});function $p(e){return Cr(Bs,e)}s($p,"jwt");var Pt=h("ZodCustomStringFormat",(e,r)=>{Vi.init(e,r),O.init(e,r)});function _p(e,r,i={}){return Ze(Pt,e,r,i)}s(_p,"stringFormat");function kp(e){return Ze(Pt,"hostname",H.hostname,e)}s(kp,"hostname");function xp(e){return Ze(Pt,"hex",H.hex,e)}s(xp,"hex");function wp(e,r){let i=r?.enc??"hex",n=`${e}_${i}`,t=H[n];if(!t)throw new Error(`Unrecognized hash format: ${n}`);return Ze(Pt,n,t,r)}s(wp,"hash");var Ct=h("ZodNumber",(e,r)=>{ar.init(e,r),P.init(e,r),e.gt=(n,t)=>e.check(se(n,t)),e.gte=(n,t)=>e.check(M(n,t)),e.min=(n,t)=>e.check(M(n,t)),e.lt=(n,t)=>e.check(ae(n,t)),e.lte=(n,t)=>e.check(Q(n,t)),e.max=(n,t)=>e.check(Q(n,t)),e.int=n=>e.check(Ss(n)),e.safe=n=>e.check(Ss(n)),e.positive=n=>e.check(se(0,n)),e.nonnegative=n=>e.check(M(0,n)),e.negative=n=>e.check(ae(0,n)),e.nonpositive=n=>e.check(Q(0,n)),e.multipleOf=(n,t)=>e.check(ke(n,t)),e.step=(n,t)=>e.check(ke(n,t)),e.finite=()=>e;let i=e._zod.bag;e.minValue=Math.max(i.minimum??Number.NEGATIVE_INFINITY,i.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(i.maximum??Number.POSITIVE_INFINITY,i.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(i.format??"").includes("int")||Number.isSafeInteger(i.multipleOf??.5),e.isFinite=!0,e.format=i.format??null});function Yc(e){return Ia(Ct,e)}s(Yc,"number");var Ve=h("ZodNumberFormat",(e,r)=>{Li.init(e,r),Ct.init(e,r)});function Ss(e){return za(Ve,e)}s(Ss,"int");function Ip(e){return ja(Ve,e)}s(Ip,"float32");function Sp(e){return Pa(Ve,e)}s(Sp,"float64");function zp(e){return Ca(Ve,e)}s(zp,"int32");function jp(e){return Na(Ve,e)}s(jp,"uint32");var Nt=h("ZodBoolean",(e,r)=>{nt.init(e,r),P.init(e,r)});function eu(e){return Ua(Nt,e)}s(eu,"boolean");var Ut=h("ZodBigInt",(e,r)=>{sr.init(e,r),P.init(e,r),e.gte=(n,t)=>e.check(M(n,t)),e.min=(n,t)=>e.check(M(n,t)),e.gt=(n,t)=>e.check(se(n,t)),e.gte=(n,t)=>e.check(M(n,t)),e.min=(n,t)=>e.check(M(n,t)),e.lt=(n,t)=>e.check(ae(n,t)),e.lte=(n,t)=>e.check(Q(n,t)),e.max=(n,t)=>e.check(Q(n,t)),e.positive=n=>e.check(se(BigInt(0),n)),e.negative=n=>e.check(ae(BigInt(0),n)),e.nonpositive=n=>e.check(Q(BigInt(0),n)),e.nonnegative=n=>e.check(M(BigInt(0),n)),e.multipleOf=(n,t)=>e.check(ke(n,t));let i=e._zod.bag;e.minValue=i.minimum??null,e.maxValue=i.maximum??null,e.format=i.format??null});function Pp(e){return Oa(Ut,e)}s(Pp,"bigint");var Ms=h("ZodBigIntFormat",(e,r)=>{Fi.init(e,r),Ut.init(e,r)});function Cp(e){return Aa(Ms,e)}s(Cp,"int64");function Np(e){return Ta(Ms,e)}s(Np,"uint64");var tu=h("ZodSymbol",(e,r)=>{Bi.init(e,r),P.init(e,r)});function Up(e){return Za(tu,e)}s(Up,"symbol");var ru=h("ZodUndefined",(e,r)=>{Mi.init(e,r),P.init(e,r)});function Dp(e){return Ra(ru,e)}s(Dp,"_undefined");var nu=h("ZodNull",(e,r)=>{qi.init(e,r),P.init(e,r)});function iu(e){return Va(nu,e)}s(iu,"_null");var ou=h("ZodAny",(e,r)=>{Ji.init(e,r),P.init(e,r)});function Op(){return La(ou)}s(Op,"any");var au=h("ZodUnknown",(e,r)=>{Gi.init(e,r),P.init(e,r)});function Re(){return Fa(au)}s(Re,"unknown");var su=h("ZodNever",(e,r)=>{Wi.init(e,r),P.init(e,r)});function qs(e){return Ba(su,e)}s(qs,"never");var cu=h("ZodVoid",(e,r)=>{Ki.init(e,r),P.init(e,r)});function Ep(e){return Ma(cu,e)}s(Ep,"_void");var Lr=h("ZodDate",(e,r)=>{Xi.init(e,r),P.init(e,r),e.min=(n,t)=>e.check(M(n,t)),e.max=(n,t)=>e.check(Q(n,t));let i=e._zod.bag;e.minDate=i.minimum?new Date(i.minimum):null,e.maxDate=i.maximum?new Date(i.maximum):null});function Ap(e){return qa(Lr,e)}s(Ap,"date");var uu=h("ZodArray",(e,r)=>{Hi.init(e,r),P.init(e,r),e.element=r.element,e.min=(i,n)=>e.check(ye(i,n)),e.nonempty=i=>e.check(ye(1,i)),e.max=(i,n)=>e.check(Ae(i,n)),e.length=(i,n)=>e.check(Te(i,n)),e.unwrap=()=>e.element});function Fr(e,r){return Ya(uu,e,r)}s(Fr,"array");function Tp(e){let r=e._zod.def.shape;return Ks(Object.keys(r))}s(Tp,"keyof");var Br=h("ZodObject",(e,r)=>{Qi.init(e,r),P.init(e,r),x.defineLazy(e,"shape",()=>r.shape),e.keyof=()=>Ks(Object.keys(e._zod.def.shape)),e.catchall=i=>e.clone({...e._zod.def,catchall:i}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Re()}),e.loose=()=>e.clone({...e._zod.def,catchall:Re()}),e.strict=()=>e.clone({...e._zod.def,catchall:qs()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=i=>x.extend(e,i),e.safeExtend=i=>x.safeExtend(e,i),e.merge=i=>x.merge(e,i),e.pick=i=>x.pick(e,i),e.omit=i=>x.omit(e,i),e.partial=(...i)=>x.partial(Hs,e,i[0]),e.required=(...i)=>x.required(Qs,e,i[0])});function Zp(e,r){let i={type:"object",shape:e??{},...x.normalizeParams(r)};return new Br(i)}s(Zp,"object");function Rp(e,r){return new Br({type:"object",shape:e,catchall:qs(),...x.normalizeParams(r)})}s(Rp,"strictObject");function Vp(e,r){return new Br({type:"object",shape:e,catchall:Re(),...x.normalizeParams(r)})}s(Vp,"looseObject");var Js=h("ZodUnion",(e,r)=>{cr.init(e,r),P.init(e,r),e.options=r.options});function Gs(e,r){return new Js({type:"union",options:e,...x.normalizeParams(r)})}s(Gs,"union");var lu=h("ZodDiscriminatedUnion",(e,r)=>{Js.init(e,r),Yi.init(e,r)});function Lp(e,r,i){return new lu({type:"union",options:r,discriminator:e,...x.normalizeParams(i)})}s(Lp,"discriminatedUnion");var du=h("ZodIntersection",(e,r)=>{eo.init(e,r),P.init(e,r)});function mu(e,r){return new du({type:"intersection",left:e,right:r})}s(mu,"intersection");var pu=h("ZodTuple",(e,r)=>{ur.init(e,r),P.init(e,r),e.rest=i=>e.clone({...e._zod.def,rest:i})});function fu(e,r,i){let n=r instanceof z,t=n?i:r,o=n?r:null;return new pu({type:"tuple",items:e,rest:o,...x.normalizeParams(t)})}s(fu,"tuple");var Ws=h("ZodRecord",(e,r)=>{to.init(e,r),P.init(e,r),e.keyType=r.keyType,e.valueType=r.valueType});function gu(e,r,i){return new Ws({type:"record",keyType:e,valueType:r,...x.normalizeParams(i)})}s(gu,"record");function Fp(e,r,i){let n=R(e);return n._zod.values=void 0,new Ws({type:"record",keyType:n,valueType:r,...x.normalizeParams(i)})}s(Fp,"partialRecord");var vu=h("ZodMap",(e,r)=>{ro.init(e,r),P.init(e,r),e.keyType=r.keyType,e.valueType=r.valueType});function Bp(e,r,i){return new vu({type:"map",keyType:e,valueType:r,...x.normalizeParams(i)})}s(Bp,"map");var hu=h("ZodSet",(e,r)=>{no.init(e,r),P.init(e,r),e.min=(...i)=>e.check(xe(...i)),e.nonempty=i=>e.check(xe(1,i)),e.max=(...i)=>e.check(Ee(...i)),e.size=(...i)=>e.check(pt(...i))});function Mp(e,r){return new hu({type:"set",valueType:e,...x.normalizeParams(r)})}s(Mp,"set");var zt=h("ZodEnum",(e,r)=>{io.init(e,r),P.init(e,r),e.enum=r.entries,e.options=Object.values(r.entries);let i=new Set(Object.keys(r.entries));e.extract=(n,t)=>{let o={};for(let c of n)if(i.has(c))o[c]=r.entries[c];else throw new Error(`Key ${c} not found in enum`);return new zt({...r,checks:[],...x.normalizeParams(t),entries:o})},e.exclude=(n,t)=>{let o={...r.entries};for(let c of n)if(i.has(c))delete o[c];else throw new Error(`Key ${c} not found in enum`);return new zt({...r,checks:[],...x.normalizeParams(t),entries:o})}});function Ks(e,r){let i=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new zt({type:"enum",entries:i,...x.normalizeParams(r)})}s(Ks,"_enum");function qp(e,r){return new zt({type:"enum",entries:e,...x.normalizeParams(r)})}s(qp,"nativeEnum");var yu=h("ZodLiteral",(e,r)=>{oo.init(e,r),P.init(e,r),e.values=new Set(r.values),Object.defineProperty(e,"value",{get(){if(r.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function Jp(e,r){return new yu({type:"literal",values:Array.isArray(e)?e:[e],...x.normalizeParams(r)})}s(Jp,"literal");var bu=h("ZodFile",(e,r)=>{ao.init(e,r),P.init(e,r),e.min=(i,n)=>e.check(xe(i,n)),e.max=(i,n)=>e.check(Ee(i,n)),e.mime=(i,n)=>e.check($t(Array.isArray(i)?i:[i],n))});function Gp(e){return es(bu,e)}s(Gp,"file");var $u=h("ZodTransform",(e,r)=>{so.init(e,r),P.init(e,r),e._zod.parse=(i,n)=>{if(n.direction==="backward")throw new me(e.constructor.name);i.addIssue=o=>{if(typeof o=="string")i.issues.push(x.issue(o,i.value,r));else{let c=o;c.fatal&&(c.continue=!1),c.code??(c.code="custom"),c.input??(c.input=i.value),c.inst??(c.inst=e),i.issues.push(x.issue(c))}};let t=r.transform(i.value,i);return t instanceof Promise?t.then(o=>(i.value=o,i)):(i.value=t,i)}});function Xs(e){return new $u({type:"transform",transform:e})}s(Xs,"transform");var Hs=h("ZodOptional",(e,r)=>{co.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Tr(e){return new Hs({type:"optional",innerType:e})}s(Tr,"optional");var _u=h("ZodNullable",(e,r)=>{uo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Zr(e){return new _u({type:"nullable",innerType:e})}s(Zr,"nullable");function Wp(e){return Tr(Zr(e))}s(Wp,"nullish");var ku=h("ZodDefault",(e,r)=>{lo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function xu(e,r){return new ku({type:"default",innerType:e,get defaultValue(){return typeof r=="function"?r():x.shallowClone(r)}})}s(xu,"_default");var wu=h("ZodPrefault",(e,r)=>{mo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Iu(e,r){return new wu({type:"prefault",innerType:e,get defaultValue(){return typeof r=="function"?r():x.shallowClone(r)}})}s(Iu,"prefault");var Qs=h("ZodNonOptional",(e,r)=>{po.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Su(e,r){return new Qs({type:"nonoptional",innerType:e,...x.normalizeParams(r)})}s(Su,"nonoptional");var zu=h("ZodSuccess",(e,r)=>{fo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Kp(e){return new zu({type:"success",innerType:e})}s(Kp,"success");var ju=h("ZodCatch",(e,r)=>{go.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Pu(e,r){return new ju({type:"catch",innerType:e,catchValue:typeof r=="function"?r:()=>r})}s(Pu,"_catch");var Cu=h("ZodNaN",(e,r)=>{vo.init(e,r),P.init(e,r)});function Xp(e){return Ga(Cu,e)}s(Xp,"nan");var Ys=h("ZodPipe",(e,r)=>{ho.init(e,r),P.init(e,r),e.in=r.in,e.out=r.out});function Rr(e,r){return new Ys({type:"pipe",in:e,out:r})}s(Rr,"pipe");var ec=h("ZodCodec",(e,r)=>{Ys.init(e,r),it.init(e,r)});function Hp(e,r,i){return new ec({type:"pipe",in:e,out:r,transform:i.decode,reverseTransform:i.encode})}s(Hp,"codec");var Nu=h("ZodReadonly",(e,r)=>{yo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Uu(e){return new Nu({type:"readonly",innerType:e})}s(Uu,"readonly");var Du=h("ZodTemplateLiteral",(e,r)=>{bo.init(e,r),P.init(e,r)});function Qp(e,r){return new Du({type:"template_literal",parts:e,...x.normalizeParams(r)})}s(Qp,"templateLiteral");var Ou=h("ZodLazy",(e,r)=>{ko.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.getter()});function Eu(e){return new Ou({type:"lazy",getter:e})}s(Eu,"lazy");var Au=h("ZodPromise",(e,r)=>{_o.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Yp(e){return new Au({type:"promise",innerType:e})}s(Yp,"promise");var Tu=h("ZodFunction",(e,r)=>{$o.init(e,r),P.init(e,r)});function ef(e){return new Tu({type:"function",input:Array.isArray(e?.input)?fu(e?.input):e?.input??Fr(Re()),output:e?.output??Re()})}s(ef,"_function");var Mr=h("ZodCustom",(e,r)=>{xo.init(e,r),P.init(e,r)});function tf(e){let r=new D({check:"custom"});return r._zod.check=e,r}s(tf,"check");function rf(e,r){return ts(Mr,e??(()=>!0),r)}s(rf,"custom");function Zu(e,r={}){return rs(Mr,e,r)}s(Zu,"refine");function Ru(e){return ns(e)}s(Ru,"superRefine");var nf=is,of=os;function af(e,r={error:`Input not instance of ${e.name}`}){let i=new Mr({type:"custom",check:"custom",fn:s(n=>n instanceof e,"fn"),abort:!0,...x.normalizeParams(r)});return i._zod.bag.Class=e,i}s(af,"_instanceof");var sf=s((...e)=>as({Codec:ec,Boolean:Nt,String:jt},...e),"stringbool");function cf(e){let r=Eu(()=>Gs([Is(e),Yc(),eu(),iu(),Fr(r),gu(Is(),r)]));return r}s(cf,"json");function uf(e,r){return Rr(Xs(e),r)}s(uf,"preprocess");var lf={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function df(e){T({customError:e})}s(df,"setErrorMap");function mf(){return T().customError}s(mf,"getErrorMap");var tc;tc||(tc={});var rc={};de(rc,{bigint:()=>vf,boolean:()=>gf,date:()=>hf,number:()=>ff,string:()=>pf});function pf(e){return ya(jt,e)}s(pf,"string");function ff(e){return Sa(Ct,e)}s(ff,"number");function gf(e){return Da(Nt,e)}s(gf,"boolean");function vf(e){return Ea(Ut,e)}s(vf,"bigint");function hf(e){return Ja(Lr,e)}s(hf,"date");T(ot());var yf=Object.defineProperty,sc=s((e,r)=>yf(e,"name",{value:r,configurable:!0}),"__name"),Gr=a.array(a.string().or(a.record(a.string(),a.any()))),Kb=a.object({type:a.string().optional(),narrative:a.string().optional()}),Wr=a.string().or(a.object({id:a.string(),type:a.string(),caption:a.string().optional()})),bf=a.object({type:a.string().min(1).or(a.string().array().nonempty()),latitude:a.number(),longitude:a.number()}),$f=a.object({type:a.string().min(1).or(a.string().array().nonempty()),addressCountry:a.string().optional(),addressCountryCode:a.string().optional(),addressRegion:a.string().optional(),addressLocality:a.string().optional(),streetAddress:a.string().optional(),postOfficeBoxNumber:a.string().optional(),postalCode:a.string().optional(),geo:bf.optional()}),_f=a.enum(["sourcedId","systemId","productId","userName","accountId","emailAddress","nationalIdentityNumber","isbn","issn","lisSourcedId","oneRosterSourcedId","sisSourcedId","ltiContextId","ltiDeploymentId","ltiToolId","ltiPlatformId","ltiUserId","identifier"]).or(a.string()),Qu=a.object({type:a.string().min(1).or(a.string().array().nonempty()),identifier:a.string(),identifierType:_f}),Dt=a.string().or(a.object({id:a.string().optional(),type:a.string().or(a.string().array().nonempty().optional()),name:a.string().optional(),url:a.string().optional(),phone:a.string().optional(),description:a.string().optional(),endorsement:a.any().array().optional(),image:Wr.optional(),email:a.string().email().optional(),address:$f.optional(),otherIdentifier:Qu.array().optional(),official:a.string().optional(),parentOrg:a.any().optional(),familyName:a.string().optional(),givenName:a.string().optional(),additionalName:a.string().optional(),patronymicName:a.string().optional(),honorificPrefix:a.string().optional(),honorificSuffix:a.string().optional(),familyNamePrefix:a.string().optional(),dateOfBirth:a.string().optional()}).catchall(a.any())),ic=a.object({id:a.string().optional()}).catchall(a.any()),qr=a.object({type:a.string(),id:a.string()}).catchall(a.any()),Vu=a.object({id:a.string(),type:a.string()}).catchall(a.any()),Lu=a.object({id:a.string().optional(),type:a.string()}).catchall(a.any()),Fu=a.object({type:a.string(),id:a.string().optional()}).catchall(a.any()),Bu=a.object({id:a.string().optional(),type:a.array(a.string()).nonempty(),name:a.string().optional(),narrative:a.string().optional(),description:a.string().optional(),genre:a.string().optional(),audience:a.string().optional()}).catchall(a.any()),te=a.object({"@context":Gr,id:a.string().optional(),type:a.string().array().nonempty(),issuer:Dt,credentialSubject:ic.or(ic.array()),refreshService:Lu.or(Lu.array()).optional(),credentialSchema:Vu.or(Vu.array()).optional(),issuanceDate:a.string().optional(),expirationDate:a.string().optional(),credentialStatus:qr.or(qr.array()).optional(),name:a.string().optional(),description:a.string().optional(),validFrom:a.string().optional(),validUntil:a.string().optional(),status:qr.or(qr.array()).optional(),termsOfUse:Fu.or(Fu.array()).optional(),evidence:a.union([Bu,a.array(Bu)]).optional()}).catchall(a.any()),ie=a.object({type:a.string(),created:a.string(),challenge:a.string().optional(),domain:a.string().optional(),nonce:a.string().optional(),proofPurpose:a.string(),verificationMethod:a.string(),jws:a.string().optional()}).catchall(a.any()),le=te.extend({proof:ie.or(ie.array())}),kf=a.object({"@context":Gr,id:a.string().optional(),type:a.string().or(a.string().array().nonempty()),verifiableCredential:le.or(le.array()).optional(),holder:a.string().optional()}).catchall(a.any()),Et=kf.extend({proof:ie.or(ie.array())}),cc=a.object({kty:a.string(),crv:a.string(),x:a.string(),y:a.string().optional(),n:a.string().optional(),d:a.string().optional()}),Qb=cc.omit({d:!0}).extend({d:a.string()}),xf=a.object({alg:a.string(),iv:a.string(),tag:a.string(),epk:cc.partial().optional(),kid:a.string().optional(),apv:a.string().optional(),apu:a.string().optional()}),wf=a.object({header:xf,encrypted_key:a.string()}),uc=a.object({protected:a.string(),iv:a.string(),ciphertext:a.string(),tag:a.string(),aad:a.string().optional(),recipients:wf.array().optional()}),we=a.string().or(a.object({"@context":Gr.optional(),id:a.string(),type:a.string(),controller:a.string(),publicKeyJwk:cc.optional(),publicKeyBase58:a.string().optional(),publicKeyMultibase:a.string().optional(),blockChainAccountId:a.string().optional()}).catchall(a.any())),If=a.object({id:a.string(),type:a.string().or(a.string().array().nonempty()),serviceEndpoint:a.any().or(a.any().array().nonempty())}).catchall(a.any()),Yb=a.object({"@context":Gr,id:a.string(),alsoKnownAs:a.string().optional(),controller:a.string().or(a.string().array().nonempty()).optional(),verificationMethod:we.array().optional(),authentication:we.array().optional(),assertionMethod:we.array().optional(),keyAgreement:we.array().optional(),capabilityInvocation:we.array().optional(),capabilityDelegation:we.array().optional(),publicKey:we.array().optional(),service:If.array().optional(),proof:ie.or(ie.array()).optional()}).catchall(a.any()),Sf=a.enum(["ceasn:Competency","ceterms:Credential","CFItem","CFRubric","CFRubricCriterion","CFRubricCriterionLevel","CTDL"]).or(a.string()),Kr=a.object({type:a.string().array().nonempty(),targetCode:a.string().optional(),targetDescription:a.string().optional(),targetName:a.string(),targetFramework:a.string().optional(),targetType:Sf.optional(),targetUrl:a.string()}),zf=a.enum(["Achievement","ApprenticeshipCertificate","Assessment","Assignment","AssociateDegree","Award","Badge","BachelorDegree","Certificate","CertificateOfCompletion","Certification","CommunityService","Competency","Course","CoCurricular","Degree","Diploma","DoctoralDegree","Fieldwork","GeneralEducationDevelopment","JourneymanCertificate","LearningProgram","License","Membership","ProfessionalDoctorate","QualityAssuranceCredential","MasterCertificate","MasterDegree","MicroCredential","ResearchDoctorate","SecondarySchoolDiploma"]),jf=zf.or(a.string()),Pf=a.object({id:a.string().optional(),narrative:a.string().optional()}).catchall(a.any()),Cf=a.object({id:a.string(),type:a.string().array().nonempty(),endorsementComment:a.string().optional()}),Nf=te.extend({credentialSubject:Cf,proof:ie.or(ie.array()).optional()}),Uf=a.object({id:a.string(),"@language":a.string().optional(),version:a.string().optional()}),Df=a.enum(["GradePointAverage","LetterGrade","Percent","PerformanceLevel","PredictedScore","RawScore","Result","RubricCriterion","RubricCriterionLevel","RubricScore","ScaledScore","Status"]).or(a.string()),Of=a.object({id:a.string(),type:a.string().array().nonempty(),alignment:Kr.array().optional(),description:a.string().optional(),level:a.string().optional(),name:a.string(),points:a.string().optional()}).catchall(a.any()),Ef=a.object({id:a.string(),type:a.string().array().nonempty(),alignment:Kr.array().optional(),allowedValue:a.string().array().optional(),name:a.string(),requiredLevel:a.string().optional(),requiredValue:a.string().optional(),resultType:Df,rubricCriterionLevel:Of.array().optional(),valueMax:a.string().optional(),valueMin:a.string().optional()}).catchall(a.any()),t$=a.object({id:a.string().optional(),type:a.array(a.string()).nonempty(),name:a.string().optional(),narrative:a.string().optional(),description:a.string().optional(),genre:a.string().optional(),audience:a.string().optional()}).catchall(a.any()),Af=a.object({id:a.string().optional(),type:a.array(a.string()).nonempty(),alignment:Kr.array().optional(),achievementType:jf.optional(),creator:Dt.optional(),creditsAvailable:a.number().optional(),criteria:Pf,description:a.string(),endorsement:Nf.array().optional(),fieldOfStudy:a.string().optional(),humanCode:a.string().optional(),image:Wr.optional(),"@language":a.string().optional(),name:a.string(),otherIdentifier:Qu.array().optional(),related:Uf.array().optional(),resultDescription:Ef.array().optional(),specialization:a.string().optional(),tag:a.array(a.string()).optional(),version:a.string().optional()}).catchall(a.any()),Tf=a.object({type:a.string(),hashed:a.boolean(),identityHash:a.string(),identityType:a.string(),salt:a.string().optional()}),Zf=a.enum(["Completed","Enrolled","Failed","InProgress","OnHold","Withdrew"]),Rf=a.object({type:a.string().array().nonempty(),achievedLevel:a.string().optional(),alignment:Kr.array().optional(),resultDescription:a.string().optional(),status:Zf.optional(),value:a.string().optional()}).catchall(a.any()),Mu=a.object({id:a.string().optional(),type:a.string().array().nonempty(),activityEndDate:a.string().optional(),activityStartDate:a.string().optional(),creditsEarned:a.number().optional(),achievement:Af.optional(),identifier:Tf.array().optional(),image:Wr.optional(),licenseNumber:a.string().optional(),narrative:a.string().optional(),result:Rf.array().optional(),role:a.string().optional(),source:Dt.optional(),term:a.string().optional()}).catchall(a.any()),Vf=te.extend({name:a.string().optional(),description:a.string().optional(),image:Wr.optional(),credentialSubject:Mu.or(Mu.array()),endorsement:te.array().optional()}),r$=Vf.extend({proof:ie.or(ie.array())}),i$=a.object({checks:a.string().array(),warnings:a.string().array(),errors:a.string().array()}),Yu=a.enum(["Success","Failed","Error"]),o$=Yu.enum,a$=a.object({check:a.string(),status:Yu,message:a.string().optional(),details:a.string().optional()}),s$=a.object({title:a.string().optional(),createdAt:a.string().optional(),issuer:Dt.optional(),issuee:Dt.optional(),credentialSubject:ic.optional()}),c$=a.object({id:a.string(),uri:a.string()}).catchall(a.any()),d$=a.object({limit:a.number(),cursor:a.string().optional(),sort:a.string().optional()}),Z=a.object({cursor:a.string().optional(),hasMore:a.boolean()}),el=a.object({encryptedRecord:uc,fields:a.string().array()}).catchall(a.any()),m$=Z.extend({records:el.array()}),Lf=el.extend({id:a.string()}),p$=Z.extend({records:Lf.array()}),qu=sc(e=>{let r=e.match(/^\/(.*)\/([gimsuy]*)$/);if(!r)throw new Error("Invalid RegExp string format");return{pattern:r[1],flags:r[2]}},"parseRegexString"),Ff=a.string().refine(e=>{try{return qu(e),!0}catch{return!1}},{message:"Invalid RegExp string format. Must be in format '/pattern/flags'"}).transform(e=>{let{pattern:r,flags:i}=qu(e);try{return new RegExp(r,i)}catch(n){throw new Error(`Invalid RegExp: ${n.message}`)}}).meta({override:{type:"string"}}),Bf=a.instanceof(RegExp).meta({override:{type:"string"}}).or(Ff).meta({override:{type:"string"}}),Ju=a.string().or(a.object({$in:a.string().array()})).or(a.object({$regex:Bf.meta({override:{type:"string"}})})),j=a.union([Ju,a.object({$or:Ju.array()})]),Mf=a.object({backgroundColor:a.string().optional(),backgroundImage:a.string().optional(),fadeBackgroundImage:a.boolean().optional(),repeatBackgroundImage:a.boolean().optional(),fontColor:a.string().optional(),accentColor:a.string().optional(),accentFontColor:a.string().optional(),idBackgroundImage:a.string().optional(),fadeIdBackgroundImage:a.boolean().optional(),idBackgroundColor:a.string().optional(),repeatIdBackgroundImage:a.boolean().optional()}),re=a.object({profileId:a.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),displayName:a.string().default("").describe("Human-readable display name for the profile."),shortBio:a.string().default("").describe("Short bio for the profile."),bio:a.string().default("").describe("Longer bio for the profile."),did:a.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),isPrivate:a.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),email:a.string().optional().describe("Contact email address for the profile. (deprecated)"),image:a.string().optional().describe("Profile image URL for the profile."),heroImage:a.string().optional().describe("Hero image URL for the profile."),websiteLink:a.string().optional().describe("Website link for the profile."),isServiceProfile:a.boolean().default(!1).optional().describe("Whether the profile is a service profile or not."),type:a.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),notificationsWebhook:a.string().url().startsWith("http").optional().describe("URL to send notifications to."),display:Mf.optional().describe("Display settings for the profile."),highlightedCredentials:a.array(a.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),role:a.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),dob:a.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),country:a.string().optional().describe("Country for the profile."),approved:a.boolean().optional().describe("Approval status for the profile.")}),v$=a.object({profileId:j,displayName:j,shortBio:j,bio:j,email:j,websiteLink:j,isServiceProfile:a.boolean(),type:j}).partial(),h$=Z.extend({records:re.array()}),y$=a.enum(["CONNECTED","PENDING_REQUEST_SENT","PENDING_REQUEST_RECEIVED","NOT_CONNECTED"]),tl=a.object({id:a.string(),created:a.string(),displayName:a.string().default("").optional(),shortBio:a.string().default("").optional(),bio:a.string().default("").optional(),email:a.string().optional(),image:a.string().optional(),heroImage:a.string().optional()}),b$=Z.extend({records:tl.extend({did:a.string()}).array()}),$$=a.object({id:j,displayName:j,shortBio:j,bio:j,email:j}).partial(),_$=Z.extend({records:a.object({profile:re,manager:tl.extend({did:a.string()}).optional()}).array()}),k$=a.object({uri:a.string(),to:a.string(),from:a.string(),sent:a.iso.datetime(),received:a.iso.datetime().optional(),metadata:a.record(a.string(),a.unknown()).optional()}),Jr=a.object({role:a.string(),canView:a.boolean().default(!0),canEdit:a.boolean(),canIssue:a.boolean(),canRevoke:a.boolean(),canManagePermissions:a.boolean(),canIssueChildren:a.string(),canCreateChildren:a.string(),canEditChildren:a.string(),canRevokeChildren:a.string(),canManageChildrenPermissions:a.string(),canManageChildrenProfiles:a.boolean().optional(),canViewAnalytics:a.boolean()}),qf=a.object({role:j,canView:a.boolean(),canEdit:a.boolean(),canIssue:a.boolean(),canRevoke:a.boolean(),canManagePermissions:a.boolean(),canIssueChildren:j,canCreateChildren:j,canEditChildren:j,canRevokeChildren:j,canManageChildrenPermissions:j,canManageChildrenProfiles:a.boolean(),canViewAnalytics:a.boolean()}).partial(),nc=a.enum(["GRANT_PERMISSIONS","ADD_ADMIN","AUTO_CONNECT"]),Jf=a.discriminatedUnion("type",[a.object({type:a.literal(nc.enum.GRANT_PERMISSIONS),data:a.object({claimUri:a.string(),targetUri:a.string(),permissions:Jr.partial()})}),a.object({type:a.literal(nc.enum.ADD_ADMIN),data:a.object({claimUri:a.string(),targetUri:a.string()})}),a.object({type:a.literal(nc.enum.AUTO_CONNECT),data:a.object({claimUri:a.string(),targetUri:a.string()})})]),x$=a.object({type:j,data:a.object({claimUri:j,targetUri:j,permissions:qf.partial()}).partial()}),Gf=a.object({id:a.string(),createdAt:a.string(),updatedAt:a.string()}).and(Jf),w$=Z.extend({records:Gf.array()}),oc=a.enum(["DRAFT","PROVISIONAL","LIVE"]),rl=a.object({uri:a.string(),name:a.string().optional(),type:a.string().optional(),category:a.string().optional(),status:oc.optional(),autoConnectRecipients:a.boolean().optional(),meta:a.record(a.string(),a.any()).optional(),claimPermissions:Jr.optional(),defaultPermissions:Jr.optional(),allowAnyoneToCreateChildren:a.boolean().optional()}),Gu=a.object({uri:j,name:j,type:j,category:j,meta:a.record(a.string(),j),status:oc.or(a.object({$in:oc.array()})),autoConnectRecipients:a.boolean()}).partial(),I$=a.union([a.object({$or:Gu.array()}),Gu]),S$=Z.extend({records:rl.array()}),Wf=a.object({to:re,from:a.string(),received:a.string().optional(),uri:a.string().optional()}),z$=Z.extend({records:Wf.array()}),Kf=a.object({to:re,from:a.string(),received:a.string().optional(),boostUris:a.array(a.string()),credentialUris:a.array(a.string()).optional()}),j$=Z.extend({records:Kf.array()}),P$=a.object({endpoint:a.string(),name:a.string(),did:a.string().optional()}),C$=a.object({ttlSeconds:a.number().optional(),totalUses:a.number().optional()}),Xf=a.object({endpoint:a.string()}),N$=a.object({signingAuthority:Xf,relationship:a.object({name:a.string().max(15).regex(/^[a-z0-9-]+$/,{message:"The input string must contain only lowercase letters, numbers, and hyphens."}),did:a.string(),isPrimary:a.boolean().optional()})}),U$=a.object({boostUri:a.string(),signingAuthority:a.object({endpoint:a.string(),name:a.string()})}),Hf=rl.partial().omit({uri:!0,claimPermissions:!0}).extend({credential:le.or(te),claimPermissions:Jr.partial().optional(),skills:a.array(a.object({frameworkId:a.string(),id:a.string(),proficiencyLevel:a.number().optional()})).min(1).optional()}),Qf=a.object({issuerName:a.string().optional().describe("Name of the issuing organization"),issuerLogoUrl:a.string().url().optional().describe("Logo URL of the issuing organization"),credentialName:a.string().optional().describe("Display name for the credential"),recipientName:a.string().optional().describe("Name of the recipient for personalization")}),Yf=a.object({webhookUrl:a.string().url().optional().describe("Webhook URL to receive claim notifications"),suppressDelivery:a.boolean().optional().describe("If true, returns claimUrl without sending email/SMS"),branding:Qf.optional().describe("Branding for email/SMS delivery")}),eg=a.object({type:a.literal("boost"),recipient:a.string().describe("Profile ID, DID, email, or phone number (auto-detected)"),contractUri:a.string().optional(),templateUri:a.string().optional(),template:Hf.optional(),signedCredential:le.optional(),options:Yf.optional().describe("Options for email/phone recipients (Universal Inbox)"),templateData:a.record(a.string(),a.unknown()).optional(),integrationId:a.string().optional().describe("Integration ID for activity tracking")}).refine(e=>e.templateUri||e.template,{message:"Either templateUri or template creation data must be provided.",path:["templateUri"]}),tg=a.object({issuanceId:a.string(),status:a.enum(["PENDING","ISSUED","EXPIRED","DELIVERED","CLAIMED"]),claimUrl:a.string().url().optional().describe("Present when suppressDelivery=true")}),rg=a.object({type:a.literal("boost"),credentialUri:a.string(),uri:a.string(),activityId:a.string().describe("Links to the activity lifecycle for this issuance"),inbox:tg.optional().describe("Present when sent via email/phone (Universal Inbox)")}),D$=a.discriminatedUnion("type",[eg]),O$=a.discriminatedUnion("type",[rg]),ng=a.enum(["live","stale","withdrawn"]),lc=a.object({read:a.object({anonymize:a.boolean().optional(),credentials:a.object({categories:a.record(a.string(),a.object({required:a.boolean(),defaultEnabled:a.boolean().optional()})).default({})}).prefault({categories:{}}),personal:a.record(a.string(),a.object({required:a.boolean(),defaultEnabled:a.boolean().optional()})).default({})}).prefault({credentials:{categories:{}},personal:{}}),write:a.object({credentials:a.object({categories:a.record(a.string(),a.object({required:a.boolean(),defaultEnabled:a.boolean().optional()})).default({})}).prefault({categories:{}}),personal:a.record(a.string(),a.object({required:a.boolean(),defaultEnabled:a.boolean().optional()})).default({})}).prefault({credentials:{categories:{}},personal:{}})}),nl=a.object({contract:lc,owner:re,name:a.string(),subtitle:a.string().optional(),description:a.string().optional(),reasonForAccessing:a.string().optional(),image:a.string().optional(),uri:a.string(),needsGuardianConsent:a.boolean().optional(),redirectUrl:a.string().optional(),frontDoorBoostUri:a.string().optional(),createdAt:a.string(),updatedAt:a.string(),expiresAt:a.string().optional(),autoBoosts:a.string().array().optional(),writers:a.array(re).optional()}),ig=a.enum(["pending","accepted","denied"]).nullable(),og=a.enum(["unseen","seen"]).nullable(),ag=a.object({profile:re,status:ig,readStatus:og.optional()}),E$=a.array(ag),A$=Z.extend({records:nl.omit({owner:!0}).array()}),sg=a.object({credentials:a.object({categories:a.record(a.string(),a.string().array()).default({})}),personal:a.record(a.string(),a.string()).default({}),date:a.string()}),T$=Z.extend({records:sg.array()}),cg=a.object({credentials:a.object({category:a.string(),uri:a.string()}).array(),personal:a.record(a.string(),a.string()).default({}),date:a.string(),contractUri:a.string()}),Z$=Z.extend({records:cg.array()}),il=a.object({sharing:a.boolean().optional(),shared:a.string().array().optional(),shareAll:a.boolean().optional(),shareUntil:a.string().optional()}),Xr=a.object({read:a.object({anonymize:a.boolean().optional(),credentials:a.object({shareAll:a.boolean().optional(),sharing:a.boolean().optional(),categories:a.record(a.string(),il).default({})}).prefault({categories:{}}),personal:a.record(a.string(),a.string()).default({})}).prefault({credentials:{categories:{}},personal:{}}),write:a.object({credentials:a.object({categories:a.record(a.string(),a.boolean()).default({})}).prefault({categories:{}}),personal:a.record(a.string(),a.boolean()).default({})}).prefault({credentials:{categories:{}},personal:{}}),deniedWriters:a.array(a.string()).optional()}),R$=Z.extend({records:a.object({expiresAt:a.string().optional(),oneTime:a.boolean().optional(),terms:Xr,contract:nl,uri:a.string(),consenter:re,status:ng}).array()}),V$=a.object({read:a.object({anonymize:a.boolean().optional(),credentials:a.object({categories:a.record(a.string(),a.object({required:a.boolean().optional()})).optional()}).optional(),personal:a.record(a.string(),a.object({required:a.boolean().optional()})).optional()}).optional(),write:a.object({credentials:a.object({categories:a.record(a.string(),a.object({required:a.boolean().optional()})).optional()}).optional(),personal:a.record(a.string(),a.object({required:a.boolean().optional()})).optional()}).optional()}),L$=a.object({anonymize:a.boolean().optional(),credentials:a.object({categories:a.record(a.string(),a.boolean()).optional()}).optional(),personal:a.record(a.string(),a.boolean()).optional()}),F$=a.object({credentials:a.object({categories:a.record(a.string(),a.boolean()).optional()}).optional(),personal:a.record(a.string(),a.boolean()).optional(),id:j.optional()}),ug=a.object({read:a.object({anonymize:a.boolean().optional(),credentials:a.object({shareAll:a.boolean().optional(),sharing:a.boolean().optional(),categories:a.record(a.string(),il.optional()).optional()}).optional(),personal:a.record(a.string(),a.string()).optional()}).optional(),write:a.object({credentials:a.object({categories:a.record(a.string(),a.boolean()).optional()}).optional(),personal:a.record(a.string(),a.boolean()).optional()}).optional()}),ac=a.enum(["consent","update","sync","withdraw","write"]),B$=a.object({terms:ug.optional(),action:ac.or(ac.array()).optional(),date:a.object({$gt:a.string()}).or(a.object({$lt:a.string()})).or(a.object({$eq:a.string()})).optional(),expiresAt:a.object({$gt:a.string()}).or(a.object({$lt:a.string()})).or(a.object({$eq:a.string()})).optional(),oneTime:a.boolean().optional()}),ol=a.object({expiresAt:a.string().optional(),oneTime:a.boolean().optional(),terms:Xr.optional(),id:a.string(),action:ac,date:a.string(),uris:a.string().array().optional()}),M$=Z.extend({records:ol.array()}),Wu=a.object({id:j,name:j,description:j,sourceURI:j,status:j}).partial(),q$=a.union([a.object({$or:Wu.array()}),Wu]),lg=a.object({credentialUri:a.string(),termsUri:a.string(),contractUri:a.string(),boostUri:a.string(),category:a.string().optional(),date:a.string()}),J$=Z.extend({records:lg.array()}),dg=a.enum(["CONNECTION_REQUEST","CONNECTION_REQUEST_EXPIRED_INVITE","CONNECTION_ACCEPTED","CREDENTIAL_RECEIVED","CREDENTIAL_ACCEPTED","BOOST_RECEIVED","BOOST_ACCEPTED","PRESENTATION_REQUEST","PRESENTATION_RECEIVED","CONSENT_FLOW_TRANSACTION","ISSUANCE_CLAIMED","ISSUANCE_DELIVERED","ISSUANCE_ERROR","PROFILE_PARENT_APPROVED","APP_LISTING_SUBMITTED","APP_LISTING_APPROVED","APP_LISTING_REJECTED","APP_LISTING_WITHDRAWN","DEVICE_LINK_REQUEST"]),mg=a.object({title:a.string().optional(),body:a.string().optional()}),pg=a.object({type:a.string(),value:a.string()}),Hr=a.enum(["PENDING","ISSUED","EXPIRED","DELIVERED","CLAIMED"]),fg=a.object({issuanceId:a.string(),status:Hr,recipient:a.object({contactMethod:pg.optional(),learnCardId:a.string().optional()}),timestamp:a.iso.datetime().optional()}),gg=a.object({vcUris:a.array(a.string()).optional(),vpUris:a.array(a.string()).optional(),transaction:ol.optional(),inbox:fg.optional(),metadata:a.record(a.string(),a.unknown()).optional()}).loose(),G$=a.object({type:dg,to:re.partial().and(a.object({did:a.string()})),from:re.partial().and(a.object({did:a.string()})),message:mg.optional(),data:gg.optional(),sent:a.iso.datetime().optional(),webhookUrl:a.string().optional()}),vg="auth-grant:",W$=a.object({id:a.string(),name:a.string(),description:a.string().optional(),challenge:a.string().startsWith(vg).min(10,{message:"Challenge is too short"}).max(100,{message:"Challenge is too long"}),status:a.enum(["revoked","active"],{error:sc(e=>e.code==="invalid_value"?"Status must be either active or revoked":"Status is required","error")}),scope:a.string(),createdAt:a.iso.datetime({error:"createdAt must be a valid ISO 8601 datetime string"}),expiresAt:a.iso.datetime({error:"expiresAt must be a valid ISO 8601 datetime string"}).nullish().optional()}),K$=a.object({id:a.string()}).catchall(a.any()),hg=a.enum(["active","revoked"]),X$=a.object({id:j,name:j,description:j,status:hg}).partial(),Ku=a.object({id:a.string(),isVerified:a.boolean(),verifiedAt:a.string().optional(),isPrimary:a.boolean(),createdAt:a.string()}),H$=a.discriminatedUnion("type",[a.object({type:a.literal("email"),value:a.string().email()}).merge(Ku),a.object({type:a.literal("phone"),value:a.string()}).merge(Ku)]),Xu=a.object({isVerified:a.boolean().optional(),isPrimary:a.boolean().optional()}),Q$=a.discriminatedUnion("type",[a.object({type:a.literal("email"),value:a.string().email()}).merge(Xu),a.object({type:a.literal("phone"),value:a.string()}).merge(Xu)]),al=a.discriminatedUnion("type",[a.object({type:a.literal("email"),value:a.string().email()}),a.object({type:a.literal("phone"),value:a.string()})]),yg=a.object({value:a.string(),type:a.enum(["email","phone"])}),Y$=a.object({token:a.string()}),e_=a.object({contactMethodId:a.string()}),t_=a.object({contactMethod:yg,otpChallenge:a.string()}),r_=a.object({sessionJwt:a.string()}),bg=a.object({id:a.string(),credential:a.string(),isSigned:a.boolean(),currentStatus:Hr,isAccepted:a.boolean().optional(),expiresAt:a.string(),createdAt:a.string(),issuerDid:a.string(),webhookUrl:a.string().optional(),boostUri:a.string().optional(),activityId:a.string().optional(),integrationId:a.string().optional(),signingAuthority:a.object({endpoint:a.string().optional(),name:a.string().optional()}).optional()}),n_=a.object({hasMore:a.boolean(),records:a.array(bg),cursor:a.string().optional()}),i_=a.object({currentStatus:Hr,id:a.string(),isSigned:a.boolean(),isAccepted:a.boolean().optional(),issuerDid:a.string(),boostUri:a.string()}).partial(),$g=a.object({endpoint:a.string().url(),name:a.string()}),o_=a.object({recipient:al.describe("The recipient of the credential"),credential:le.or(Et).or(te).optional().describe("The credential to issue. If not signed, the users default signing authority will be used, or the specified signing authority in the configuration."),templateUri:a.string().optional().describe("URI of a boost template to use for issuance. The boost credential will be resolved and used. Mutually exclusive with credential field."),configuration:a.object({signingAuthority:$g.optional().describe("The signing authority to use for the credential. If not provided, the users default signing authority will be used if the credential is not signed."),webhookUrl:a.string().url().optional().describe("The webhook URL to receive credential issuance events."),expiresInDays:a.number().min(1).max(365).optional().describe("The number of days the credential will be valid for."),templateData:a.record(a.string(),a.unknown()).optional().describe("Template data to render into the boost credential template using Mustache syntax. Only used when boostUri is provided."),delivery:a.object({suppress:a.boolean().optional().default(!1).describe("Whether to suppress delivery of the credential to the recipient. If true, the email/sms will not be sent to the recipient. Useful if you would like to manually send claim link to your users."),template:a.object({id:a.enum(["universal-inbox-claim"]).optional().describe("The template ID to use for the credential delivery. If not provided, the default template will be used."),model:a.object({issuer:a.object({name:a.string().optional().describe('The name of the organization (e.g., "State University").'),logoUrl:a.string().url().optional().describe("The URL of the organization's logo.")}).optional(),credential:a.object({name:a.string().optional().describe('The name of the credential (e.g., "Bachelor of Science").'),type:a.string().optional().describe('The type of the credential (e.g., "degree", "certificate").')}).optional(),recipient:a.object({name:a.string().optional().describe('The name of the recipient (e.g., "John Doe").')}).optional()}).describe("The template model to use for the credential delivery. Injects via template variables into email/sms templates. If not provided, the default template will be used.")}).optional().describe("The template to use for the credential delivery. If not provided, the default template will be used.")}).optional().describe("Configuration for the credential delivery i.e. email or SMS. When credentials are sent to a user who has a verified email or phone associated with their account, delivery is skipped, and the credential will be sent using in-app notifications. If not provided, the default configuration will be used.")}).optional().describe("Configuration for the credential issuance. If not provided, the default configuration will be used.")}).refine(e=>e.credential||e.templateUri,{message:"Either credential or templateUri must be provided.",path:["credential"]}),a_=a.object({issuanceId:a.string(),status:Hr,recipient:al,claimUrl:a.string().url().optional(),recipientDid:a.string().optional()}),_g=a.object({name:a.string()}).passthrough(),s_=a.object({credential:le.or(Et).or(te).or(_g).describe("The credential to issue, or a { name } reference to resolve a boost template."),configuration:a.object({publishableKey:a.string(),signingAuthorityName:a.string().optional(),listingId:a.string().optional(),listingSlug:a.string().optional()}).optional()}),dc=a.union([a.string().regex(/^(?:(?:[a-zA-Z0-9-]{1,63}\.)+[a-zA-Z]{2,63}|localhost|\d{1,3}(?:\.\d{1,3}){3})(?::\d{1,5})?$/,{message:"Must be a valid domain (incl. subdomains), localhost, or IPv4, optionally with port"}),a.string().regex(/^https?:\/\/(?:(?:[a-zA-Z0-9-]{1,63}\.)+[a-zA-Z]{2,63}|localhost|\d{1,3}(?:\.\d{1,3}){3})(?::\d{1,5})?$/,{message:"Must be a valid http(s) origin"})]),sl=a.enum(["setup","active","paused"]),kg=a.object({id:a.string(),name:a.string(),description:a.string().optional(),publishableKey:a.string(),whitelistedDomains:a.array(dc).default([]),status:sl.default("setup"),guideType:a.string().optional(),guideState:a.record(a.string(),a.any()).optional(),createdAt:a.string().optional(),updatedAt:a.string().optional()}),c_=a.object({name:a.string(),description:a.string().optional(),whitelistedDomains:a.array(dc).default([]),guideType:a.string().optional()}),u_=a.object({name:a.string().optional(),description:a.string().optional(),whitelistedDomains:a.array(dc).optional(),rotatePublishableKey:a.boolean().optional(),status:sl.optional(),guideType:a.string().optional(),guideState:a.record(a.string(),a.any()).optional()}),l_=a.object({id:j,name:j,description:j,status:j,guideType:j}).partial(),d_=Z.extend({records:kg.array()}),m_=a.object({token:a.string(),contactMethodId:a.string(),autoVerifyContactMethod:a.boolean().optional().default(!1),createdAt:a.string(),expiresAt:a.string(),used:a.boolean()}),p_=a.object({id:a.string(),name:a.string().min(1),slug:a.string().min(1),createdAt:a.string().optional(),updatedAt:a.string().optional()}),Ot=a.enum(["active","archived"]),mc=a.object({id:a.string(),statement:a.string(),description:a.string().optional(),code:a.string().optional(),icon:a.string().optional(),type:a.string().default("skill"),status:Ot.default("active"),frameworkId:a.string().optional(),createdAt:a.string().optional(),updatedAt:a.string().optional()}),Hu=a.object({id:j,statement:j,description:j,code:j,type:j,status:Ot.or(a.object({$in:Ot.array()}))}).partial(),f_=a.union([a.object({$or:Hu.array()}),Hu]),g_=a.object({text:a.string().min(1),frameworkId:a.string().optional(),limit:a.number().int().min(1).max(200).default(50)}),xg=mc.extend({score:a.number()}),v_=a.object({records:xg.array()}),pc=a.enum(["active","archived"]),cl=a.object({id:a.string(),name:a.string(),description:a.string().optional(),image:a.string().optional(),sourceURI:a.string().url().optional(),isPublic:a.boolean().default(!1),status:pc.default("active"),createdAt:a.string().optional(),updatedAt:a.string().optional()}),h_=Z.extend({records:cl.array()}),fc=mc.extend({children:a.array(a.lazy(()=>fc)),hasChildren:a.boolean(),childrenCursor:a.string().nullable().optional()}),wg=a.object({hasMore:a.boolean(),cursor:a.string().nullable(),records:a.array(fc)}),Le=a.lazy(()=>a.object({id:a.string().optional(),statement:a.string(),description:a.string().optional(),code:a.string().optional(),icon:a.string().optional(),type:a.string().optional(),status:Ot.optional(),children:a.array(Le).optional()})),y_=a.object({frameworkId:a.string()}),Ig=a.object({id:a.string().optional(),name:a.string().min(1),description:a.string().optional(),image:a.string().optional(),sourceURI:a.string().url().optional(),isPublic:a.boolean().optional(),status:pc.optional(),skills:a.array(Le).optional(),boostUris:a.array(a.string()).optional()}),b_=a.object({id:a.string(),name:a.string().min(1).optional(),description:a.string().optional(),image:a.string().optional(),sourceURI:a.string().url().optional(),isPublic:a.boolean().optional(),status:pc.optional()}).refine(e=>e.name!==void 0||e.description!==void 0||e.image!==void 0||e.sourceURI!==void 0||e.isPublic!==void 0||e.status!==void 0,{message:"At least one field must be provided to update",path:["name"]}),$_=a.object({id:a.string()}),__=a.object({frameworks:a.array(Ig.extend({skills:a.array(Le).optional()})).min(1)}),k_=a.object({frameworkId:a.string(),profileId:a.string()}),x_=a.object({frameworkId:a.string()}),w_=re.array(),I_=a.object({id:a.string()}),S_=a.object({slug:a.string().min(1),name:a.string().min(1)}),z_=a.object({frameworkId:a.string(),skill:Le,parentId:a.string().nullable().optional()}),j_=a.object({frameworkId:a.string(),id:a.string(),statement:a.string().optional(),description:a.string().optional(),code:a.string().optional(),icon:a.string().optional(),type:a.string().optional(),status:Ot.optional()}).refine(e=>e.statement!==void 0||e.description!==void 0||e.code!==void 0||e.icon!==void 0||e.type!==void 0||e.status!==void 0,{message:"At least one field must be provided to update a skill",path:["statement"]}),Sg=a.enum(["recursive","reparent"]),P_=a.object({frameworkId:a.string(),id:a.string(),strategy:Sg.optional().default("reparent")}),C_=a.object({frameworkId:a.string(),skills:a.array(Le).min(1),parentId:a.string().nullable().optional()}),N_=a.object({frameworkId:a.string(),skills:a.array(Le).min(0)}),U_=a.object({created:a.number().int().min(0),updated:a.number().int().min(0),deleted:a.number().int().min(0),unchanged:a.number().int().min(0),total:a.number().int().min(0)}),D_=a.object({frameworkId:a.string(),skillId:a.string().optional(),recursive:a.boolean().optional().default(!1),onlyCountCompetencies:a.boolean().optional().default(!1)}),O_=a.object({count:a.number().int().min(0)}),E_=a.object({frameworkId:a.string()}),A_=a.object({skills:a.array(fc)}),T_=a.object({frameworkId:a.string(),skillId:a.string()}),Z_=a.object({path:a.array(mc)}),R_=a.object({framework:cl,skills:wg}),zg=a.enum(["DRAFT","PENDING_REVIEW","LISTED","ARCHIVED"]),jg=a.enum(["EMBEDDED_IFRAME","SECOND_SCREEN","DIRECT_LINK","CONSENT_REDIRECT","SERVER_HEADLESS","AI_TUTOR"]),Pg=a.enum(["FEATURED_CAROUSEL","CURATED_LIST","STANDARD","DEMOTED"]),Cg=a.enum(["4+","9+","12+","17+"]),Ng=a.object({profileId:a.string(),displayName:a.string(),email:a.string().optional()}),Qr=a.object({listing_id:a.string(),slug:a.string().optional(),display_name:a.string(),tagline:a.string(),full_description:a.string(),icon_url:a.string(),app_listing_status:zg,launch_type:jg,launch_config_json:a.string(),category:a.string().optional(),promo_video_url:a.string().optional(),promotion_level:Pg.optional(),ios_app_store_id:a.string().optional(),android_app_store_id:a.string().optional(),privacy_policy_url:a.string().optional(),terms_url:a.string().optional(),highlights:a.array(a.string()).optional(),screenshots:a.array(a.string()).optional(),hero_background_color:a.string().optional(),min_age:a.number().int().min(0).max(18).optional(),age_rating:Cg.optional(),submitted_at:a.string().optional(),submitter:Ng.optional(),contact_email:a.string().email().optional()}),V_=Qr.omit({listing_id:!0,app_listing_status:!0,promotion_level:!0}),L_=Qr.partial().omit({listing_id:!0,app_listing_status:!0,promotion_level:!0}),Ug=Qr.extend({installed_at:a.string()}),F_=Z.extend({records:Qr.array()}),B_=Z.extend({records:Ug.array()}),M_=a.object({templateAlias:a.string().min(1).max(50).regex(/^[a-z0-9-]+$/),boostUri:a.string()}),Dg=a.object({type:a.literal("send-credential"),templateAlias:a.string(),templateData:a.record(a.string(),a.unknown()).optional(),preventDuplicateClaim:a.boolean().optional()}),Og=a.object({type:a.literal("check-credential"),templateAlias:a.string().optional(),boostUri:a.string().optional()}).refine(e=>!!e.templateAlias!=!!e.boostUri,{message:"Exactly one of templateAlias or boostUri is required"}),Eg=a.object({type:a.literal("check-issuance-status"),templateAlias:a.string().optional(),boostUri:a.string().optional(),recipient:a.string()}).refine(e=>!!e.templateAlias!=!!e.boostUri,{message:"Exactly one of templateAlias or boostUri is required"}),Ag=a.object({type:a.literal("get-template-recipients"),templateAlias:a.string().optional(),boostUri:a.string().optional(),limit:a.number().optional(),cursor:a.string().optional()}).refine(e=>!!e.templateAlias!=!!e.boostUri,{message:"Exactly one of templateAlias or boostUri is required"}),Tg=a.discriminatedUnion("type",[Dg,Og,Eg,Ag]),q_=a.object({listingId:a.string(),event:Tg}),J_=a.record(a.string(),a.unknown()),Zg=a.enum(["CREATED","DELIVERED","CLAIMED","EXPIRED","FAILED"]),Rg=a.enum(["profile","email","phone"]),Vg=a.enum(["send","sendBoost","sendCredential","contract","claim","inbox","claimLink","acceptCredential","appEvent"]),Lg=a.object({id:a.string(),activityId:a.string(),eventType:Zg,timestamp:a.string(),actorProfileId:a.string(),recipientType:Rg,recipientIdentifier:a.string(),boostUri:a.string().optional(),credentialUri:a.string().optional(),inboxCredentialId:a.string().optional(),integrationId:a.string().optional(),source:Vg,metadata:a.record(a.string(),a.unknown()).optional()}),Fg=Lg.extend({boost:a.object({id:a.string(),name:a.string().optional(),category:a.string().optional()}).optional(),recipientProfile:a.object({profileId:a.string(),displayName:a.string().optional()}).optional()}),G_=Z.extend({records:Fg.array()}),W_=a.object({total:a.number(),created:a.number(),delivered:a.number(),claimed:a.number(),expired:a.number(),failed:a.number(),claimRate:a.number()}),Ie,K_=(Ie=class extends Error{constructor(r,i){super(r),this.reason=i,this.name="AuthSessionError"}},s(Ie,"AuthSessionError"),sc(Ie,"AuthSessionError"),Ie);var hc=require("@learncard/helpers");var Bg=Object.prototype.toString,Be=Array.isArray||s(function(r){return Bg.call(r)==="[object Array]"},"isArrayPolyfill");function vc(e){return typeof e=="function"}s(vc,"isFunction");function Mg(e){return Be(e)?"array":typeof e}s(Mg,"typeStr");function gc(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}s(gc,"escapeRegExp");function ul(e,r){return e!=null&&typeof e=="object"&&r in e}s(ul,"hasProperty");function qg(e,r){return e!=null&&typeof e!="object"&&e.hasOwnProperty&&e.hasOwnProperty(r)}s(qg,"primitiveHasOwnProperty");var Jg=RegExp.prototype.test;function Gg(e,r){return Jg.call(e,r)}s(Gg,"testRegExp");var Wg=/\S/;function Kg(e){return!Gg(Wg,e)}s(Kg,"isWhitespace");var Xg={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function Hg(e){return String(e).replace(/[&<>"'`=\/]/g,s(function(i){return Xg[i]},"fromEntityMap"))}s(Hg,"escapeHtml");var Qg=/\s*/,Yg=/\s+/,ll=/\s*=/,ev=/\s*\}/,tv=/#|\^|\/|>|\{|&|=|!/;function rv(e,r){if(!e)return[];var i=!1,n=[],t=[],o=[],c=!1,l=!1,f="",g=0;function p(){if(c&&!l)for(;o.length;)delete t[o.pop()];else o=[];c=!1,l=!1}s(p,"stripSpace");var y,m,u;function d(J){if(typeof J=="string"&&(J=J.split(Yg,2)),!Be(J)||J.length!==2)throw new Error("Invalid tags: "+J);y=new RegExp(gc(J[0])+"\\s*"),m=new RegExp("\\s*"+gc(J[1])),u=new RegExp("\\s*"+gc("}"+J[1]))}s(d,"compileTags"),d(r||Y.tags);for(var v=new Tt(e),$,w,I,S,C,A;!v.eos();){if($=v.pos,I=v.scanUntil(y),I)for(var K=0,E=I.length;K<E;++K)S=I.charAt(K),Kg(S)?(o.push(t.length),f+=S):(l=!0,i=!0,f+=" "),t.push(["text",S,$,$+1]),$+=1,S===`
24
- `&&(p(),f="",g=0,i=!1);if(!v.scan(y))break;if(c=!0,w=v.scan(tv)||"name",v.scan(Qg),w==="="?(I=v.scanUntil(ll),v.scan(ll),v.scanUntil(m)):w==="{"?(I=v.scanUntil(u),v.scan(ev),v.scanUntil(m),w="&"):I=v.scanUntil(m),!v.scan(m))throw new Error("Unclosed tag at "+v.pos);if(w==">"?C=[w,I,$,v.pos,f,g,i]:C=[w,I,$,v.pos],g++,t.push(C),w==="#"||w==="^")n.push(C);else if(w==="/"){if(A=n.pop(),!A)throw new Error('Unopened section "'+I+'" at '+$);if(A[1]!==I)throw new Error('Unclosed section "'+A[1]+'" at '+$)}else w==="name"||w==="{"||w==="&"?l=!0:w==="="&&d(I)}if(p(),A=n.pop(),A)throw new Error('Unclosed section "'+A[1]+'" at '+v.pos);return iv(nv(t))}s(rv,"parseTemplate");function nv(e){for(var r=[],i,n,t=0,o=e.length;t<o;++t)i=e[t],i&&(i[0]==="text"&&n&&n[0]==="text"?(n[1]+=i[1],n[3]=i[3]):(r.push(i),n=i));return r}s(nv,"squashTokens");function iv(e){for(var r=[],i=r,n=[],t,o,c=0,l=e.length;c<l;++c)switch(t=e[c],t[0]){case"#":case"^":i.push(t),n.push(t),i=t[4]=[];break;case"/":o=n.pop(),o[5]=t[2],i=n.length>0?n[n.length-1][4]:r;break;default:i.push(t)}return r}s(iv,"nestTokens");function Tt(e){this.string=e,this.tail=e,this.pos=0}s(Tt,"Scanner");Tt.prototype.eos=s(function(){return this.tail===""},"eos");Tt.prototype.scan=s(function(r){var i=this.tail.match(r);if(!i||i.index!==0)return"";var n=i[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},"scan");Tt.prototype.scanUntil=s(function(r){var i=this.tail.search(r),n;switch(i){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=n.length,n},"scanUntil");function Fe(e,r){this.view=e,this.cache={".":this.view},this.parent=r}s(Fe,"Context");Fe.prototype.push=s(function(r){return new Fe(r,this)},"push");Fe.prototype.lookup=s(function(r){var i=this.cache,n;if(i.hasOwnProperty(r))n=i[r];else{for(var t=this,o,c,l,f=!1;t;){if(r.indexOf(".")>0)for(o=t.view,c=r.split("."),l=0;o!=null&&l<c.length;)l===c.length-1&&(f=ul(o,c[l])||qg(o,c[l])),o=o[c[l++]];else o=t.view[r],f=ul(t.view,r);if(f){n=o;break}t=t.parent}i[r]=n}return vc(n)&&(n=n.call(this.view)),n},"lookup");function F(){this.templateCache={_cache:{},set:s(function(r,i){this._cache[r]=i},"set"),get:s(function(r){return this._cache[r]},"get"),clear:s(function(){this._cache={}},"clear")}}s(F,"Writer");F.prototype.clearCache=s(function(){typeof this.templateCache<"u"&&this.templateCache.clear()},"clearCache");F.prototype.parse=s(function(r,i){var n=this.templateCache,t=r+":"+(i||Y.tags).join(":"),o=typeof n<"u",c=o?n.get(t):void 0;return c==null&&(c=rv(r,i),o&&n.set(t,c)),c},"parse");F.prototype.render=s(function(r,i,n,t){var o=this.getConfigTags(t),c=this.parse(r,o),l=i instanceof Fe?i:new Fe(i,void 0);return this.renderTokens(c,l,n,r,t)},"render");F.prototype.renderTokens=s(function(r,i,n,t,o){for(var c="",l,f,g,p=0,y=r.length;p<y;++p)g=void 0,l=r[p],f=l[0],f==="#"?g=this.renderSection(l,i,n,t,o):f==="^"?g=this.renderInverted(l,i,n,t,o):f===">"?g=this.renderPartial(l,i,n,o):f==="&"?g=this.unescapedValue(l,i):f==="name"?g=this.escapedValue(l,i,o):f==="text"&&(g=this.rawValue(l)),g!==void 0&&(c+=g);return c},"renderTokens");F.prototype.renderSection=s(function(r,i,n,t,o){var c=this,l="",f=i.lookup(r[1]);function g(m){return c.render(m,i,n,o)}if(s(g,"subRender"),!!f){if(Be(f))for(var p=0,y=f.length;p<y;++p)l+=this.renderTokens(r[4],i.push(f[p]),n,t,o);else if(typeof f=="object"||typeof f=="string"||typeof f=="number")l+=this.renderTokens(r[4],i.push(f),n,t,o);else if(vc(f)){if(typeof t!="string")throw new Error("Cannot use higher-order sections without the original template");f=f.call(i.view,t.slice(r[3],r[5]),g),f!=null&&(l+=f)}else l+=this.renderTokens(r[4],i,n,t,o);return l}},"renderSection");F.prototype.renderInverted=s(function(r,i,n,t,o){var c=i.lookup(r[1]);if(!c||Be(c)&&c.length===0)return this.renderTokens(r[4],i,n,t,o)},"renderInverted");F.prototype.indentPartial=s(function(r,i,n){for(var t=i.replace(/[^ \t]/g,""),o=r.split(`
25
- `),c=0;c<o.length;c++)o[c].length&&(c>0||!n)&&(o[c]=t+o[c]);return o.join(`
26
- `)},"indentPartial");F.prototype.renderPartial=s(function(r,i,n,t){if(n){var o=this.getConfigTags(t),c=vc(n)?n(r[1]):n[r[1]];if(c!=null){var l=r[6],f=r[5],g=r[4],p=c;f==0&&g&&(p=this.indentPartial(c,g,l));var y=this.parse(p,o);return this.renderTokens(y,i,n,p,t)}}},"renderPartial");F.prototype.unescapedValue=s(function(r,i){var n=i.lookup(r[1]);if(n!=null)return n},"unescapedValue");F.prototype.escapedValue=s(function(r,i,n){var t=this.getConfigEscape(n)||Y.escape,o=i.lookup(r[1]);if(o!=null)return typeof o=="number"&&t===Y.escape?String(o):t(o)},"escapedValue");F.prototype.rawValue=s(function(r){return r[1]},"rawValue");F.prototype.getConfigTags=s(function(r){return Be(r)?r:r&&typeof r=="object"?r.tags:void 0},"getConfigTags");F.prototype.getConfigEscape=s(function(r){if(r&&typeof r=="object"&&!Be(r))return r.escape},"getConfigEscape");var Y={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){At.templateCache=e},get templateCache(){return At.templateCache}},At=new F;Y.clearCache=s(function(){return At.clearCache()},"clearCache");Y.parse=s(function(r,i){return At.parse(r,i)},"parse");Y.render=s(function(r,i,n,t){if(typeof r!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+Mg(r)+'" was given as the first argument for mustache#render(template, view, partials)');return At.render(r,i,n,t)},"render");Y.escape=Hg;Y.Scanner=Tt;Y.Context=Fe;Y.Writer=F;var dl=Y;var ov=s(e=>e==null?"":String(e).replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\f/g,"\\f").replace(/[\b]/g,"\\b"),"escapeJsonStringValue"),av=s(e=>{let r={};for(let[i,n]of Object.entries(e))r[i]=ov(n);return r},"prepareTemplateData"),ml=s((e,r)=>{let i=av(r),n=e.replace(/\{\{([^{}]+)\}\}/g,"{{{$1}}}");return dl.render(n,i)},"renderTemplateJson");async function sv(e,r,i,n){let t=typeof i=="string"?i:void 0,o=(typeof i=="object"?i?.guardianApprovalGetter:void 0)??n?.guardianApprovalGetter,c="";try{let m=e?.id;m&&typeof m.did=="function"&&(c=m.did())}catch{e?.debug?.("LCN: no local DID available at init; will fetch from profile")}e?.debug?.("Adding LearnCardNetwork Plugin");let l=t?await(0,Yr.getApiTokenClient)(r,t,o):await(0,Yr.getClient)(r,async m=>{let u=await e.invoke.getDidAuthVp({proofFormat:"jwt",challenge:m});if(typeof u!="string")throw new Error("Error getting DID-Auth-JWT!");return u},o),f;e?.debug?.("LCN: initial getProfile query starting",{apiToken:!!t});let g=l.profile.getProfile.query().then(m=>(f=m,f?.did&&(c=f.did),e?.debug?.("LCN: initial getProfile success",{did:c}),m)).catch(m=>{e?.debug?.("LCN: getProfile failed (non-fatal)",m)}),p=s(async()=>{try{await g}catch{}if(!f&&t)try{e?.debug?.("LCN ensureUser: retrying getProfile with apiToken"),f=await l.profile.getProfile.query(),f?.did&&(c=f.did),e?.debug?.("LCN ensureUser: retry success",{did:c})}catch(m){e?.debug?.("LCN ensureUser: retry failed",m)}if(!f)throw new Error("Please make an account first!");return f},"ensureUser"),y=s(async(m,u)=>{try{return(await l.boost.getBoost.query({uri:u})).boost}catch(d){return e?.debug?.("LCN: getBoost failed for template retrieval, falling back to resolveFromLCN",d),m.invoke.resolveFromLCN(u)}},"getBoostTemplateForIssuance");return{name:"LearnCard Network",displayName:"LearnCard Network",description:"LearnCard Network Integration",id:{did:s((m,u)=>!u||u==="web"?c:e.id?.did?.(u),"did"),keypair:s((m,u)=>e.id?.keypair?.(u),"keypair")},read:{get:s(async(m,u)=>{if(m.debug?.("learnCard.read['LearnCard Network'].get"),!u)return;let d=u.split(":");if(d.length!==5)return;let[v,$]=d;if(!(v!=="lc"||$!=="network"))try{let w=await l.storage.resolve.query({uri:u});if("ciphertext"in w)try{let I=m.id.keypair();w=await m.invoke.decryptDagJwe(w,[I])}catch(I){m.debug?.("LCN read.get: skipping decryption (no keypair?)",I);return}return await le.or(Et).parseAsync(w)}catch(w){m.debug?.(w);return}},"get")},store:{upload:s(async(m,u)=>(m.debug?.("learnCard.store['LearnCard Network'].upload"),l.storage.store.mutate({item:u})),"upload"),uploadEncrypted:s(async(m,u,{recipients:d=[]}={recipients:[]})=>{m.debug?.("learnCard.store['LearnCard Network'].upload"),await p();let $=[c||f?.did||"",...d].filter(Boolean);if($.length===0)throw new Error("No recipients specified for encrypted upload; provide at least one DID");let w=await m.invoke.createDagJwe(u,$);return l.storage.store.mutate({item:w})},"uploadEncrypted")},methods:{createProfile:s(async(m,u)=>{try{await p()}catch{}if(f)throw new Error("Account already exists!");let d=await l.profile.createProfile.mutate(u);return f=await l.profile.getProfile.query(),c=d,d},"createProfile"),createServiceProfile:s(async(m,u)=>{try{await p()}catch{}let d=await l.profile.createServiceProfile.mutate(u);return f=await l.profile.getProfile.query(),c=d,d},"createServiceProfile"),createManagedProfile:s(async(m,u)=>await l.profileManager.createManagedProfile.mutate(u),"createManagedProfile"),createProfileManager:s(async(m,u)=>(await p(),await l.profileManager.createProfileManager.mutate(u)),"createProfileManager"),createChildProfileManager:s(async(m,u,d)=>(await p(),await l.profileManager.createChildProfileManager.mutate({parentUri:u,profile:d})),"createChildProfileManager"),createManagedServiceProfile:s(async(m,u)=>(await p(),await l.profile.createManagedServiceProfile.mutate(u)),"createManagedServiceProfile"),getAvailableProfiles:s(async(m,u={})=>(await p(),l.profile.getAvailableProfiles.query(u)),"getAvailableProfiles"),getManagedProfiles:s(async(m,u={})=>l.profileManager.getManagedProfiles.query(u),"getManagedProfiles"),getManagedServiceProfiles:s(async(m,u={})=>(await p(),l.profile.getManagedServiceProfiles.query(u)),"getManagedServiceProfiles"),updateProfile:s(async(m,u)=>(await p(),await l.profile.updateProfile.mutate(u)?(f=await l.profile.getProfile.query(),!0):!1),"updateProfile"),updateProfileManagerProfile:s(async(m,u)=>l.profileManager.updateProfileManager.mutate(u),"updateProfileManagerProfile"),deleteProfile:s(async()=>{if(!f)throw new Error("Account does not exist!");return await l.profile.deleteProfile.mutate()?(f=void 0,!0):!1},"deleteProfile"),getProfile:s(async(m,u)=>{try{await p()}catch{}return u?l.profile.getOtherProfile.query({profileId:u}):f},"getProfile"),getProfileManagerProfile:s(async(m,u)=>u?l.profileManager.getOtherProfileManager.query({id:u}):l.profileManager.getProfileManager.query(),"getProfileManagerProfile"),searchProfiles:s(async(m,u="",{limit:d=25,includeSelf:v=!1,includeConnectionStatus:$=!1,includeServiceProfiles:w=!1}={})=>l.profile.searchProfiles.query({input:u,limit:d,includeSelf:v,includeConnectionStatus:$,includeServiceProfiles:w}),"searchProfiles"),connectWith:s(async(m,u)=>(await p(),l.profile.connectWith.mutate({profileId:u})),"connectWith"),connectWithExpiredInvite:s(async(m,u)=>(await p(),l.profile.connectWithExpiredInvite.mutate({profileId:u})),"connectWithExpiredInvite"),cancelConnectionRequest:s(async(m,u)=>(await p(),l.profile.cancelConnectionRequest.mutate({profileId:u})),"cancelConnectionRequest"),connectWithInvite:s(async(m,u,d)=>(await p(),l.profile.connectWithInvite.mutate({profileId:u,challenge:d})),"connectWithInvite"),disconnectWith:s(async(m,u)=>(await p(),l.profile.disconnectWith.mutate({profileId:u})),"disconnectWith"),acceptConnectionRequest:s(async(m,u)=>(await p(),l.profile.acceptConnectionRequest.mutate({profileId:u})),"acceptConnectionRequest"),getConnections:s(async m=>(console.warn("The getConnections method is deprecated! Please use getPaginatedConnections instead!"),await p(),l.profile.connections.query()),"getConnections"),getPaginatedConnections:s(async(m,u)=>(await p(),l.profile.paginatedConnections.query(u)),"getPaginatedConnections"),getPendingConnections:s(async m=>(console.warn("The getPendingConnections method is deprecated! Please use getPaginatedPendingConnections instead!"),await p(),l.profile.pendingConnections.query()),"getPendingConnections"),getPaginatedPendingConnections:s(async(m,u)=>(await p(),l.profile.paginatedPendingConnections.query(u)),"getPaginatedPendingConnections"),getConnectionRequests:s(async m=>(console.warn("The getConnectionRequests method is deprecated! Please use getPaginatedConnectionRequests instead!"),await p(),l.profile.connectionRequests.query()),"getConnectionRequests"),getPaginatedConnectionRequests:s(async(m,u)=>(await p(),l.profile.paginatedConnectionRequests.query(u)),"getPaginatedConnectionRequests"),generateInvite:s(async(m,u,d,v)=>(await p(),l.profile.generateInvite.mutate({challenge:u,expiration:d,maxUses:v})),"generateInvite"),listInvites:s(async()=>(await p(),l.profile.listInvites.query()),"listInvites"),invalidateInvite:s(async(m,u)=>(await p(),l.profile.invalidateInvite.mutate({challenge:u})),"invalidateInvite"),blockProfile:s(async(m,u)=>(await p(),l.profile.blockProfile.mutate({profileId:u})),"blockProfile"),unblockProfile:s(async(m,u)=>(await p(),l.profile.unblockProfile.mutate({profileId:u})),"unblockProfile"),getBlockedProfiles:s(async()=>(await p(),l.profile.blocked.query()),"getBlockedProfiles"),sendCredential:s(async(m,u,d,v,$)=>{await p();let w,I=!0;if(typeof v=="boolean"?I=v:(v!==void 0&&(w=v),I=$??!0),!I)return l.credential.sendCredential.mutate({profileId:u,credential:d,metadata:w});let S=await m.invoke.getProfile(u);if(!S)throw new Error("Could not find target account");let C=await m.invoke.createDagJwe(d,[m.id.did(),S.did]);return l.credential.sendCredential.mutate({profileId:u,credential:C,metadata:w})},"sendCredential"),acceptCredential:s(async(m,u,d)=>(await p(),l.credential.acceptCredential.mutate({uri:u,options:d})),"acceptCredential"),getReceivedCredentials:s(async(m,u)=>(await p(),l.credential.receivedCredentials.query({from:u})),"getReceivedCredentials"),getRevokedCredentials:s(async()=>(await p(),l.credential.getRevokedCredentials.query()),"getRevokedCredentials"),getSentCredentials:s(async(m,u)=>(await p(),l.credential.sentCredentials.query({to:u})),"getSentCredentials"),getIncomingCredentials:s(async(m,u)=>(await p(),l.credential.incomingCredentials.query({from:u})),"getIncomingCredentials"),deleteCredential:s(async(m,u)=>(await p(),l.credential.deleteCredential.mutate({uri:u})),"deleteCredential"),sendPresentation:s(async(m,u,d,v=!0)=>{if(await p(),!v)return l.presentation.sendPresentation.mutate({profileId:u,presentation:d});let $=await m.invoke.getProfile(u);if(!$)throw new Error("Could not find target account");let w=await m.invoke.createDagJwe(d,[m.id.did(),$.did]);return l.presentation.sendPresentation.mutate({profileId:u,presentation:w})},"sendPresentation"),acceptPresentation:s(async(m,u)=>(await p(),l.presentation.acceptPresentation.mutate({uri:u})),"acceptPresentation"),getReceivedPresentations:s(async(m,u)=>(await p(),l.presentation.receivedPresentations.query({from:u})),"getReceivedPresentations"),getSentPresentations:s(async(m,u)=>(await p(),l.presentation.sentPresentations.query({to:u})),"getSentPresentations"),getIncomingPresentations:s(async(m,u)=>(await p(),l.presentation.incomingPresentations.query({from:u})),"getIncomingPresentations"),deletePresentation:s(async(m,u)=>(await p(),l.presentation.deletePresentation.mutate({uri:u})),"deletePresentation"),createBoost:s(async(m,u,d)=>{await p();let{skills:v,...$}=d??{},w={credential:u,...$};return Array.isArray(v)&&v.length>0&&(w.skills=v),l.boost.createBoost.mutate(w)},"createBoost"),createChildBoost:s(async(m,u,d,v)=>{await p();let{skills:$,...w}=v||{},I={parentUri:u,boost:{credential:d,...w}};return Array.isArray($)&&$.length>0&&(I.skills=$),l.boost.createChildBoost.mutate(I)},"createChildBoost"),getBoost:s(async(m,u)=>(await p(),l.boost.getBoost.query({uri:u})),"getBoost"),getBoostSkills:s(async(m,u)=>(await p(),l.boost.getBoostSkills.query({uri:u})),"getBoostSkills"),getBoostFrameworks:s(async(m,u,d={})=>{if(!f)throw new Error("Please make an account first!");let{limit:v,cursor:$,query:w}=d??{};return l.boost.getBoostFrameworks.query({uri:u,limit:v,cursor:$,query:w})},"getBoostFrameworks"),getSkillsAvailableForBoost:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.boost.getSkillsAvailableForBoost.query({uri:u})},"getSkillsAvailableForBoost"),searchSkillsAvailableForBoost:s(async(m,u,d,v={})=>{if(!f)throw new Error("Please make an account first!");return l.boost.searchSkillsAvailableForBoost.query({uri:u,query:d,...v})},"searchSkillsAvailableForBoost"),getBoosts:s(async(m,u)=>(console.warn("The getBoosts method is deprecated! Please use getPaginatedBoosts instead!"),await p(),l.boost.getBoosts.query({query:u})),"getBoosts"),countBoosts:s(async(m,u)=>(await p(),l.boost.countBoosts.query({query:u})),"countBoosts"),getPaginatedBoosts:s(async(m,u)=>(await p(),l.boost.getPaginatedBoosts.query(u)),"getPaginatedBoosts"),getBoostChildren:s(async(m,u,d)=>(await p(),l.boost.getBoostChildren.query({uri:u,...d})),"getBoostChildren"),countBoostChildren:s(async(m,u,d)=>(await p(),l.boost.countBoostChildren.query({uri:u,...d})),"countBoostChildren"),getBoostSiblings:s(async(m,u,d)=>(await p(),l.boost.getBoostSiblings.query({uri:u,...d})),"getBoostSiblings"),countBoostSiblings:s(async(m,u,d)=>(await p(),l.boost.countBoostSiblings.query({uri:u,...d})),"countBoostSiblings"),getFamilialBoosts:s(async(m,u,d)=>(await p(),l.boost.getFamilialBoosts.query({uri:u,...d})),"getFamilialBoosts"),countFamilialBoosts:s(async(m,u,d)=>(await p(),l.boost.countFamilialBoosts.query({uri:u,...d})),"countFamilialBoosts"),getBoostParents:s(async(m,u,d)=>(await p(),l.boost.getBoostParents.query({uri:u,...d})),"getBoostParents"),countBoostParents:s(async(m,u,d)=>(await p(),l.boost.countBoostParents.query({uri:u,...d})),"countBoostParents"),makeBoostParent:s(async(m,u)=>(await p(),l.boost.makeBoostParent.mutate(u)),"makeBoostParent"),removeBoostParent:s(async(m,u)=>(await p(),l.boost.removeBoostParent.mutate(u)),"removeBoostParent"),getBoostRecipients:s(async(m,u,d=25,v=void 0,$=!0)=>(console.warn("The getBoostRecipients method is deprecated! Please use getPaginatedBoostRecipients instead!"),await p(),l.boost.getBoostRecipients.query({uri:u,limit:d,skip:v,includeUnacceptedBoosts:$})),"getBoostRecipients"),getPaginatedBoostRecipients:s(async(m,u,d=25,v=void 0,$=!0,w)=>(await p(),l.boost.getPaginatedBoostRecipients.query({uri:u,limit:d,cursor:v,includeUnacceptedBoosts:$,query:w})),"getPaginatedBoostRecipients"),getPaginatedBoostRecipientsWithChildren:s(async(m,u,d=25,v=void 0,$=!0,w,I,S=1)=>(await p(),l.boost.getPaginatedBoostRecipientsWithChildren.query({uri:u,limit:d,cursor:v,includeUnacceptedBoosts:$,boostQuery:w,profileQuery:I,numberOfGenerations:S})),"getPaginatedBoostRecipientsWithChildren"),countBoostRecipientsWithChildren:s(async(m,u,d=!0,v,$,w=1)=>{if(!f)throw new Error("Please make an account first!");return l.boost.getBoostRecipientsWithChildrenCount.query({uri:u,includeUnacceptedBoosts:d,boostQuery:v,profileQuery:$,numberOfGenerations:w})},"countBoostRecipientsWithChildren"),countBoostRecipients:s(async(m,u,d=!0)=>(await p(),l.boost.getBoostRecipientCount.query({uri:u,includeUnacceptedBoosts:d})),"countBoostRecipients"),getConnectedBoostRecipients:s(async(m,u,{limit:d=25,cursor:v=void 0,includeUnacceptedBoosts:$=!0,query:w}={})=>(await p(),l.boost.getConnectedBoostRecipients.query({uri:u,limit:d,cursor:v,includeUnacceptedBoosts:$,query:w})),"getConnectedBoostRecipients"),countConnectedBoostRecipients:s(async(m,u,d=!0)=>(await p(),l.boost.getConnectedBoostRecipientCount.query({uri:u,includeUnacceptedBoosts:d})),"countConnectedBoostRecipients"),getBoostChildrenProfileManagers:s(async(m,u,d)=>(await p(),l.boost.getChildrenProfileManagers.query({uri:u,...d})),"getBoostChildrenProfileManagers"),updateBoost:s(async(m,u,d,v)=>{await p();let{skills:$,...w}=d??{},I={uri:u,updates:{...v&&{credential:v},...w}};return Array.isArray($)&&(I.skills=$),l.boost.updateBoost.mutate(I)},"updateBoost"),attachFrameworkToBoost:s(async(m,u,d)=>{if(!f)throw new Error("Please make an account first!");return l.boost.attachFrameworkToBoost.mutate({boostUri:u,frameworkId:d})},"attachFrameworkToBoost"),detachFrameworkFromBoost:s(async(m,u,d)=>{if(!f)throw new Error("Please make an account first!");return l.boost.detachFrameworkFromBoost.mutate({boostUri:u,frameworkId:d})},"detachFrameworkFromBoost"),alignBoostSkills:s(async(m,u,d)=>{if(!f)throw new Error("Please make an account first!");return l.boost.alignBoostSkills.mutate({boostUri:u,skills:d})},"alignBoostSkills"),getBoostAdmins:s(async(m,u,d={})=>(await p(),l.boost.getBoostAdmins.query({uri:u,...d})),"getBoostAdmins"),getBoostPermissions:s(async(m,u,d)=>(await p(),d?l.boost.getOtherBoostPermissions.query({uri:u,profileId:d}):l.boost.getBoostPermissions.query({uri:u})),"getBoostPermissions"),updateBoostPermissions:s(async(m,u,d,v)=>{if(await p(),!v)return l.boost.updateBoostPermissions.query({uri:u,updates:d});let $=await l.boost.updateOtherBoostPermissions.query({uri:u,profileId:v,updates:d});return $&&await m.invoke.clearDidWebCache?.(),$},"updateBoostPermissions"),addBoostAdmin:s(async(m,u,d)=>{await p();let v=await l.boost.addBoostAdmin.mutate({uri:u,profileId:d});return v&&await m.invoke.clearDidWebCache?.(),v},"addBoostAdmin"),removeBoostAdmin:s(async(m,u,d)=>{await p();let v=await l.boost.removeBoostAdmin.mutate({uri:u,profileId:d});return v&&await m.invoke.clearDidWebCache?.(),v},"removeBoostAdmin"),revokeBoostRecipient:s(async(m,u,d)=>(await p(),l.boost.revokeBoostRecipient.mutate({boostUri:u,recipientProfileId:d})),"revokeBoostRecipient"),deleteBoost:s(async(m,u)=>(await p(),l.boost.deleteBoost.mutate({uri:u})),"deleteBoost"),sendBoost:s(async(m,u,d,v={encrypt:!0,skipNotification:!1,templateData:{}})=>{await p();let $=await y(m,d),w=await te.spa($);if(!w.success)throw new Error("Did not get a valid boost from URI");let I=await m.invoke.getProfile(u);if(!I)throw new Error("Target profile not found");let S=w.data;if((0,hc.isVC2Format)(S)?S.validFrom=new Date().toISOString():S.issuanceDate=new Date().toISOString(),S.issuer=m.id.did(),Array.isArray(S.credentialSubject)?S.credentialSubject=S.credentialSubject.map(E=>({...E,id:I.did})):S.credentialSubject.id=I.did,S?.type?.includes("BoostCredential")&&(S.boostId=d),typeof v=="object"&&v.templateData&&Object.keys(v.templateData).length>0)try{let E=JSON.stringify(S),J=ml(E,v.templateData);S=JSON.parse(J)}catch(E){throw new Error(`Template substitution failed: ${E instanceof Error?E.message:"Unknown error"}. Please check your templateData variables and ensure the rendered output is valid JSON.`)}typeof v=="object"&&v.overideFn&&(S=v.overideFn(S));let C=await m.invoke.issueCredential(S);if(typeof v=="object"&&!v.encrypt||!v)return l.boost.sendBoost.mutate({profileId:u,uri:d,credential:C,options:{skipNotification:typeof v=="object"&&v.skipNotification}});let A=await l.utilities.getDid.query(),K=await m.invoke.createDagJwe(C,[m.id.did(),I.did,A]);return l.boost.sendBoost.mutate({profileId:u,uri:d,credential:K,options:{skipNotification:typeof v=="object"&&v.skipNotification}})},"sendBoost"),registerSigningAuthority:s(async(m,u,d,v)=>(await p(),l.profile.registerSigningAuthority.mutate({endpoint:u,name:d,did:v})),"registerSigningAuthority"),getRegisteredSigningAuthorities:s(async m=>(await p(),l.profile.signingAuthorities.query()),"getRegisteredSigningAuthorities"),getRegisteredSigningAuthority:s(async(m,u,d)=>(await p(),l.profile.signingAuthority.query({endpoint:u,name:d})),"getRegisteredSigningAuthority"),setPrimaryRegisteredSigningAuthority:s(async(m,u,d)=>(await p(),l.profile.setPrimarySigningAuthority.mutate({endpoint:u,name:d})),"setPrimaryRegisteredSigningAuthority"),getPrimaryRegisteredSigningAuthority:s(async m=>(await p(),l.profile.primarySigningAuthority.query()),"getPrimaryRegisteredSigningAuthority"),generateClaimLink:s(async(m,u,d,v,$)=>(await p(),l.boost.generateClaimLink.mutate({boostUri:u,claimLinkSA:d,options:v,challenge:$})),"generateClaimLink"),claimBoostWithLink:s(async(m,u,d)=>(await p(),l.boost.claimBoostWithLink.mutate({boostUri:u,challenge:d})),"claimBoostWithLink"),send:s(async(m,u)=>{if(await p(),u.type==="boost"){let d=u.recipient,v=d.startsWith("did:"),$=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d),w=/^\+?[\d\s-]{10,}$/.test(d.replace(/[\s-]/g,""));if("issueCredential"in m.invoke&&(v||!$&&!w)&&u.templateUri){let C=await y(m,u.templateUri),A=await te.spa(C);if(A.success){let K;if(v)K=d;else{let oe=await m.invoke.getProfile(d);if(!oe)return l.boost.send.mutate(u);K=oe.did}let E=A.data;if(u.templateData&&Object.keys(u.templateData).length>0)try{let oe=JSON.stringify(E),pl=ml(oe,u.templateData);E=JSON.parse(pl)}catch(oe){throw new Error(`Failed to apply template data: ${oe instanceof Error?oe.message:"Unknown error"}`)}(0,hc.isVC2Format)(E)?E.validFrom=new Date().toISOString():E.issuanceDate=new Date().toISOString(),E.issuer=m.id.did(),Array.isArray(E.credentialSubject)?E.credentialSubject=E.credentialSubject.map(oe=>({...oe,id:K})):E.credentialSubject={...E.credentialSubject,id:K},E?.type?.includes("BoostCredential")&&(E.boostId=u.templateUri);let J=await m.invoke.issueCredential(E);return l.boost.send.mutate({...u,signedCredential:J})}}}return l.boost.send.mutate(u)},"send"),createContract:s(async(m,u)=>(await p(),l.contracts.createConsentFlowContract.mutate(u)),"createContract"),addAutoBoostsToContract:s(async(m,u,d)=>(await p(),l.contracts.addAutoBoostsToContract.mutate({contractUri:u,autoboosts:d})),"addAutoBoostsToContract"),removeAutoBoostsFromContract:s(async(m,u,d)=>(await p(),l.contracts.removeAutoBoostsFromContract.mutate({contractUri:u,boostUris:d})),"removeAutoBoostsFromContract"),getContract:s(async(m,u)=>l.contracts.getConsentFlowContract.query({uri:u}),"getContract"),getContracts:s(async(m,u)=>(await p(),l.contracts.getConsentFlowContracts.query(u)),"getContracts"),deleteContract:s(async(m,u)=>(await p(),l.contracts.deleteConsentFlowContract.mutate({uri:u})),"deleteContract"),getConsentFlowData:s(async(m,u,d={})=>(await p(),l.contracts.getConsentedDataForContract.query({uri:u,...d})),"getConsentFlowData"),getConsentFlowDataForDid:s(async(m,u,d={})=>(await p(),l.contracts.getConsentedDataForDid.query({did:u,...d})),"getConsentFlowDataForDid"),getAllConsentFlowData:s(async(m,u={},d={})=>(await p(),l.contracts.getConsentedData.query({query:u,...d})),"getAllConsentFlowData"),writeCredentialToContract:s(async(m,u,d,v,$)=>(await p(),l.contracts.writeCredentialToContract.mutate({did:u,contractUri:d,credential:v,boostUri:$})),"writeCredentialToContract"),consentToContract:s(async(m,u,{terms:d,expiresAt:v,oneTime:$},w)=>(await p(),l.contracts.consentToContract.mutate({contractUri:u,terms:d,expiresAt:v,oneTime:$,recipientToken:w})),"consentToContract"),getConsentedContracts:s(async(m,u)=>(await p(),l.contracts.getConsentedContracts.query(u)),"getConsentedContracts"),updateContractTerms:s(async(m,u,{terms:d,expiresAt:v,oneTime:$})=>(await p(),l.contracts.updateConsentedContractTerms.mutate({uri:u,terms:d,expiresAt:v,oneTime:$})),"updateContractTerms"),withdrawConsent:s(async(m,u)=>(await p(),l.contracts.withdrawConsent.mutate({uri:u})),"withdrawConsent"),getConsentFlowTransactions:s(async(m,u,d)=>(await p(),l.contracts.getTermsTransactionHistory.query({uri:u,...d})),"getConsentFlowTransactions"),getCredentialsForContract:s(async(m,u,d={})=>(await p(),l.contracts.getCredentialsForContract.query({termsUri:u,...d})),"getCredentialsForContract"),getConsentFlowCredentials:s(async(m,u={})=>(await p(),l.contracts.getAllCredentialsForTerms.query(u)),"getConsentFlowCredentials"),verifyConsent:s(async(m,u,d)=>(await p(),l.contracts.verifyConsent.query({uri:u,profileId:d})),"verifyConsent"),syncCredentialsToContract:s(async(m,u,d)=>(await p(),l.contracts.syncCredentialsToContract.mutate({termsUri:u,categories:d})),"syncCredentialsToContract"),sendAiInsightsContractRequest:s(async(m,u,d,v)=>(await p(),l.contracts.sendAiInsightsContractRequest.mutate({contractUri:u,targetProfileId:d,shareLink:v})),"sendAiInsightsContractRequest"),sendAiInsightShareRequest:s(async(m,u,d,v)=>(await p(),l.contracts.sendAiInsightShareRequest.mutate({targetProfileId:u,shareLink:d,childProfileId:v})),"sendAiInsightShareRequest"),getContractSentRequests:s(async(m,u)=>(await p(),l.contracts.getContractSentRequests.query({contractUri:u})),"getContractSentRequests"),getRequestStatusForProfile:s(async(m,u,d,v)=>(await p(),l.contracts.getRequestStatusForProfile.query({targetProfileId:u,contractId:d??null,contractUri:v??null})),"getRequestStatusForProfile"),getAllContractRequestsForProfile:s(async(m,u)=>(await p(),l.contracts.getAllContractRequestsForProfile.query({targetProfileId:u})),"getAllContractRequestsForProfile"),getSharedInsightsRequestsForProfile:s(async(m,u)=>(await p(),l.contracts.getSharedInsightsRequestsForProfile.query({targetProfileId:u})),"getSharedInsightsRequestsForProfile"),forwardContractRequestToProfile:s(async(m,u,d,v)=>(await p(),l.contracts.forwardContractRequestToProfile.mutate({parentProfileId:u,targetProfileId:d,contractUri:v})),"forwardContractRequestToProfile"),markContractRequestAsSeen:s(async(m,u,d)=>(await p(),l.contracts.markContractRequestAsSeen.mutate({contractUri:u,targetProfileId:d})),"markContractRequestAsSeen"),cancelContractRequest:s(async(m,u,d)=>(await p(),l.contracts.cancelContractRequest.mutate({contractUri:u,targetProfileId:d})),"cancelContractRequest"),addDidMetadata:s(async(m,u)=>{await p();let d=await l.didMetadata.addDidMetadata.mutate(u);return d&&await m.invoke.clearDidWebCache?.(),d},"addDidMetadata"),getDidMetadata:s(async(m,u)=>(await p(),l.didMetadata.getDidMetadata.query({id:u})),"getDidMetadata"),getMyDidMetadata:s(async()=>(await p(),l.didMetadata.getMyDidMetadata.query()),"getMyDidMetadata"),updateDidMetadata:s(async(m,u,d)=>{await p();let v=await l.didMetadata.updateDidMetadata.mutate({id:u,updates:d});return v&&await m.invoke.clearDidWebCache?.(),v},"updateDidMetadata"),deleteDidMetadata:s(async(m,u)=>{await p();let d=await l.didMetadata.deleteDidMetadata.mutate({id:u});return d&&await m.invoke.clearDidWebCache?.(),d},"deleteDidMetadata"),createClaimHook:s(async(m,u)=>(await p(),l.claimHook.createClaimHook.mutate({hook:u})),"createClaimHook"),getClaimHooksForBoost:s(async(m,u)=>(await p(),l.claimHook.getClaimHooksForBoost.query(u)),"getClaimHooksForBoost"),deleteClaimHook:s(async(m,u)=>(await p(),l.claimHook.deleteClaimHook.mutate({id:u})),"deleteClaimHook"),addAuthGrant:s(async(m,u)=>(await p(),l.authGrants.addAuthGrant.mutate(u)),"addAuthGrant"),revokeAuthGrant:s(async(m,u)=>(await p(),l.authGrants.revokeAuthGrant.mutate({id:u})),"revokeAuthGrant"),deleteAuthGrant:s(async(m,u)=>(await p(),l.authGrants.deleteAuthGrant.mutate({id:u})),"deleteAuthGrant"),updateAuthGrant:s(async(m,u,d)=>(await p(),l.authGrants.updateAuthGrant.mutate({id:u,updates:d})),"updateAuthGrant"),getAuthGrant:s(async(m,u)=>(await p(),l.authGrants.getAuthGrant.query({id:u})),"getAuthGrant"),getAuthGrants:s(async(m,u)=>(await p(),l.authGrants.getAuthGrants.query(u)),"getAuthGrants"),getAPITokenForAuthGrant:s(async(m,u)=>{await p();let d=await l.authGrants.getAuthGrant.query({id:u});if(!d)throw new Error("Auth grant not found");if(d.status!=="active")throw new Error("Auth grant is not active");if(!d.challenge)throw new Error("Auth grant has no challenge");if(!d.scope)throw new Error("Auth grant has no scope");if(d.expiresAt&&new Date(d.expiresAt)<new Date)throw new Error("Auth grant is expired");let v=await m.invoke.getDidAuthVp({challenge:d.challenge,proofFormat:"jwt"});if(!v)throw new Error("Failed to get API Token for auth grant");return v},"getAPITokenForAuthGrant"),sendCredentialViaInbox:s(async(m,u)=>(await p(),l.inbox.issue.mutate(u)),"sendCredentialViaInbox"),getMySentInboxCredentials:s(async(m,u)=>(await p(),l.inbox.getMyIssuedCredentials.query(u)),"getMySentInboxCredentials"),getInboxCredential:s(async(m,u)=>(await p(),l.inbox.getInboxCredential.query({credentialId:u})),"getInboxCredential"),finalizeInboxCredentials:s(async m=>(await p(),l.inbox.finalize.mutate()),"finalizeInboxCredentials"),sendGuardianApprovalEmail:s(async(m,u)=>(await p(),l.inbox.sendGuardianApprovalEmail.mutate(u)),"sendGuardianApprovalEmail"),approveGuardianRequest:s(async(m,u)=>l.inbox.approveGuardianRequest.mutate({token:u}),"approveGuardianRequest"),approveGuardianRequestByPath:s(async(m,u)=>l.inbox.approveGuardianRequestByPath.query({token:u}),"approveGuardianRequestByPath"),addContactMethod:s(async(m,u)=>(await p(),l.contactMethods.addContactMethod.mutate(u)),"addContactMethod"),getMyContactMethods:s(async m=>(await p(),l.contactMethods.getMyContactMethods.query()),"getMyContactMethods"),setPrimaryContactMethod:s(async(m,u)=>(await p(),l.contactMethods.setPrimaryContactMethod.mutate({contactMethodId:u})),"setPrimaryContactMethod"),verifyContactMethod:s(async(m,u)=>(await p(),l.contactMethods.verifyContactMethod.mutate({token:u})),"verifyContactMethod"),verifyContactMethodWithCredential:s(async(m,u)=>(await p(),l.contactMethods.verifyWithCredential.mutate({proofOfLoginJwt:u})),"verifyContactMethodWithCredential"),removeContactMethod:s(async(m,u)=>(await p(),l.contactMethods.removeContactMethod.mutate({id:u})),"removeContactMethod"),syncFrameworkSkills:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skills.syncFrameworkSkills.mutate(u)},"syncFrameworkSkills"),listSkillTags:s(async(m,u,d)=>{if(!f)throw new Error("Please make an account first!");return l.skills.listSkillTags.query({frameworkId:u,id:d})},"listSkillTags"),addSkillTag:s(async(m,u,d,v)=>{if(!f)throw new Error("Please make an account first!");return l.skills.addSkillTag.mutate({frameworkId:u,id:d,tag:v})},"addSkillTag"),removeSkillTag:s(async(m,u,d,v)=>{if(!f)throw new Error("Please make an account first!");return l.skills.removeSkillTag.mutate({frameworkId:u,id:d,slug:v})},"removeSkillTag"),createManagedSkillFramework:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.createManaged.mutate(u)},"createManagedSkillFramework"),createManagedSkillFrameworks:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.createManagedBatch.mutate(u)},"createManagedSkillFrameworks"),createSkillFramework:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.create.mutate(u)},"createSkillFramework"),listMySkillFrameworks:s(async m=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.listMine.query()},"listMySkillFrameworks"),getAllAvailableFrameworks:s(async(m,u={})=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.getAllAvailableFrameworks.query(u)},"getAllAvailableFrameworks"),getSkillFrameworkById:s(async(m,u,d={})=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.getById.query({id:u,...d})},"getSkillFrameworkById"),getBoostsThatUseFramework:s(async(m,u,d={})=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.getBoostsThatUseFramework.query({id:u,...d})},"getBoostsThatUseFramework"),countBoostsThatUseFramework:s(async(m,u,d={})=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.countBoostsThatUseFramework.query({id:u,...d})},"countBoostsThatUseFramework"),getFrameworkSkillTree:s(async(m,u,d={})=>{if(!f)throw new Error("Please make an account first!");return l.skills.getFrameworkSkillTree.query({id:u,...d})},"getFrameworkSkillTree"),getSkillChildren:s(async(m,u,d,v={})=>{if(!f)throw new Error("Please make an account first!");return l.skills.getSkillChildrenTree.query({frameworkId:u,id:d,...v})},"getSkillChildren"),searchFrameworkSkills:s(async(m,u,d,v={})=>{if(!f)throw new Error("Please make an account first!");return l.skills.searchFrameworkSkills.query({id:u,query:d,...v})},"searchFrameworkSkills"),semanticSearchSkills:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skills.semanticSearchSkills.query(u)},"semanticSearchSkills"),updateSkillFramework:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.update.mutate(u)},"updateSkillFramework"),deleteSkillFramework:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.delete.mutate({id:u})},"deleteSkillFramework"),replaceSkillFrameworkSkills:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.replaceSkills.mutate(u)},"replaceSkillFrameworkSkills"),countSkills:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skills.countSkills.query(u)},"countSkills"),getFullSkillTree:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skills.getFullSkillTree.query(u)},"getFullSkillTree"),getSkillPath:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skills.getSkillPath.query(u)},"getSkillPath"),getSkillFrameworkAdmins:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.listFrameworkAdmins.query({frameworkId:u})},"getSkillFrameworkAdmins"),addSkillFrameworkAdmin:s(async(m,u,d)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.addFrameworkAdmin.mutate({frameworkId:u,profileId:d})},"addSkillFrameworkAdmin"),removeSkillFrameworkAdmin:s(async(m,u,d)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.removeFrameworkAdmin.mutate({frameworkId:u,profileId:d})},"removeSkillFrameworkAdmin"),getSkill:s(async(m,u,d)=>{if(!f)throw new Error("Please make an account first!");return l.skills.getSkill.query({frameworkId:u,id:d})},"getSkill"),createSkill:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skills.create.mutate(u)},"createSkill"),createSkills:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skills.createMany.mutate(u)},"createSkills"),updateSkill:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skills.update.mutate(u)},"updateSkill"),deleteSkill:s(async(m,u)=>{if(!f)throw new Error("Please make an account first!");return l.skills.delete.mutate(u)},"deleteSkill"),addIntegration:s(async(m,u)=>(await p(),l.integrations.addIntegration.mutate(u)),"addIntegration"),getIntegration:s(async(m,u)=>(await p(),l.integrations.getIntegration.query({id:u})),"getIntegration"),getIntegrations:s(async(m,u={})=>(await p(),l.integrations.getIntegrations.query(u)),"getIntegrations"),countIntegrations:s(async(m,u={})=>(await p(),l.integrations.countIntegrations.query(u)),"countIntegrations"),updateIntegration:s(async(m,u,d)=>(await p(),l.integrations.updateIntegration.mutate({id:u,updates:d})),"updateIntegration"),deleteIntegration:s(async(m,u)=>(await p(),l.integrations.deleteIntegration.mutate({id:u})),"deleteIntegration"),createAppStoreListing:s(async(m,u,d)=>(await p(),l.appStore.createListing.mutate({integrationId:u,listing:d})),"createAppStoreListing"),associateListingWithSigningAuthority:s(async(m,u,d,v,$,w)=>(await p(),l.appStore.associateListingWithSigningAuthority.mutate({listingId:u,endpoint:d,name:v,did:$,isPrimary:w})),"associateListingWithSigningAuthority"),getListingSigningAuthority:s(async(m,u)=>(await p(),l.appStore.getListingSigningAuthority.query({listingId:u})),"getListingSigningAuthority"),getAppStoreListing:s(async(m,u)=>(await p(),l.appStore.getListing.query({listingId:u})),"getAppStoreListing"),updateAppStoreListing:s(async(m,u,d)=>(await p(),l.appStore.updateListing.mutate({listingId:u,updates:d})),"updateAppStoreListing"),deleteAppStoreListing:s(async(m,u)=>(await p(),l.appStore.deleteListing.mutate({listingId:u})),"deleteAppStoreListing"),submitAppStoreListingForReview:s(async(m,u)=>(await p(),l.appStore.submitForReview.mutate({listingId:u})),"submitAppStoreListingForReview"),unsubmitAppStoreListing:s(async(m,u)=>(await p(),l.appStore.unsubmitForReview.mutate({listingId:u})),"unsubmitAppStoreListing"),getListingsForIntegration:s(async(m,u,d={})=>(await p(),l.appStore.getListingsForIntegration.query({integrationId:u,...d})),"getListingsForIntegration"),countListingsForIntegration:s(async(m,u)=>(await p(),l.appStore.countListingsForIntegration.query({integrationId:u})),"countListingsForIntegration"),browseAppStore:s(async(m,u)=>l.appStore.browseListedApps.query(u),"browseAppStore"),getPublicAppStoreListing:s(async(m,u)=>l.appStore.getPublicListing.query({listingId:u}),"getPublicAppStoreListing"),getPublicAppStoreListingBySlug:s(async(m,u)=>l.appStore.getPublicListingBySlug.query({slug:u}),"getPublicAppStoreListingBySlug"),getAppStoreListingInstallCount:s(async(m,u)=>l.appStore.getListingInstallCount.query({listingId:u}),"getAppStoreListingInstallCount"),installApp:s(async(m,u)=>(await p(),l.appStore.installApp.mutate({listingId:u})),"installApp"),uninstallApp:s(async(m,u)=>(await p(),l.appStore.uninstallApp.mutate({listingId:u})),"uninstallApp"),getInstalledApps:s(async(m,u={})=>(await p(),l.appStore.getInstalledApps.query(u)),"getInstalledApps"),countInstalledApps:s(async m=>(await p(),l.appStore.countInstalledApps.query()),"countInstalledApps"),isAppInstalled:s(async(m,u)=>(await p(),l.appStore.isAppInstalled.query({listingId:u})),"isAppInstalled"),getMyCredentialsFromApp:s(async(m,u,d={})=>(await p(),l.appStore.getMyCredentialsFromApp.query({listingId:u,...d})),"getMyCredentialsFromApp"),isAppStoreAdmin:s(async m=>(await p(),l.appStore.isAdmin.query()),"isAppStoreAdmin"),adminUpdateListingStatus:s(async(m,u,d)=>(await p(),l.appStore.adminUpdateListingStatus.mutate({listingId:u,status:d})),"adminUpdateListingStatus"),adminUpdatePromotionLevel:s(async(m,u,d)=>(await p(),l.appStore.adminUpdatePromotionLevel.mutate({listingId:u,promotionLevel:d})),"adminUpdatePromotionLevel"),adminGetAllListings:s(async(m,u)=>(await p(),l.appStore.adminGetAllListings.query(u)),"adminGetAllListings"),addBoostToApp:s(async(m,u,d,v)=>(await p(),l.appStore.addBoostToListing.mutate({listingId:u,boostUri:d,templateAlias:v})),"addBoostToApp"),removeBoostFromApp:s(async(m,u,d)=>(await p(),l.appStore.removeBoostFromListing.mutate({listingId:u,templateAlias:d})),"removeBoostFromApp"),getAppBoosts:s(async(m,u)=>(await p(),l.appStore.getBoostsForListing.query({listingId:u})),"getAppBoosts"),sendAppEvent:s(async(m,u,d)=>(await p(),l.appStore.appEvent.mutate({listingId:u,event:d})),"sendAppEvent"),resolveFromLCN:s(async(m,u)=>{let d=await l.storage.resolve.query({uri:u});return te.or(le).or(Et).or(uc).or(lc).or(Xr).parseAsync(d)},"resolveFromLCN"),getLCNClient:s(()=>l,"getLCNClient"),getMyActivities:s(async(m,u={})=>(await p(),l.activity.getMyActivities.query(u)),"getMyActivities"),getActivityStats:s(async(m,u={})=>(await p(),l.activity.getActivityStats.query(u)),"getActivityStats"),getActivity:s(async(m,u)=>(await p(),l.activity.getActivity.query(u)),"getActivity"),getActivityChain:s(async(m,u)=>(await p(),l.activity.getActivityChain.query(u)),"getActivityChain")}}}s(sv,"getLearnCardNetworkPlugin");var cv=s(async(e,r)=>{let i=[{id:"LearnCard Network",url:"https://network.learncard.com",did:"did:web:network.learncard.com"}],n;if(r){let c=await fetch(r);c.status===200?n=JSON.parse(await c.text()):n=i}else n=i;let t=s(c=>{if(c)return typeof c=="string"?c:"id"in c&&typeof c.id=="string"?c.id:void 0},"getIssuerDID"),o=s(c=>{let l=t(c);if(l)return n.find(f=>f.did===l)},"getTrustedBoostVerifier");return{name:"VerifyBoost",displayName:"Verify Boost Extension",description:"Adds a check for validating Boost Credentials.",methods:{verifyCredential:s(async(c,l,f)=>{let g=await e.invoke.verifyCredential(l,f),p=l?.boostCredential;try{if(p){let y=await e.invoke.verifyCredential(p);if(!p?.boostId&&!l?.boostId&&g.warnings.push("Boost Authenticity could not be verified: Boost ID metadata is missing."),y.errors?.length>0)g.errors=[...y.errors||[],...g.errors||[],"Boost Credential could not be verified."];else if(p?.boostId!==l?.boostId)g.errors.push("Boost Authenticity could not be verified: Boost ID metadata is mismatched.");else{let m=o(l?.issuer);m?g.checks.push(`Boost is Authentic. Verified by ${m.id}.`):g.warnings.push(`Boost Authenticity could not be verified. Issuer is outside of trust network: ${t(l?.issuer)}`)}}}catch{g.errors.push("Boost authenticity could not be verified.")}return g},"verifyCredential")}}},"getVerifyBoostPlugin");
23
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let m of this.seen.entries()){let y=m[1];if(r===m[0]){u(m);continue}if(n.external){let c=n.external.registry.get(m[0])?.id;if(r!==m[0]&&c){u(m);continue}}if(this.metadataRegistry.get(m[0])?.id){u(m);continue}if(y.cycle){u(m);continue}if(y.count>1&&n.reused==="ref"){u(m);continue}}let l=s((m,y)=>{let p=this.seen.get(m),c=p.def??p.schema,d={...c};if(p.ref===null)return;let v=p.ref;if(p.ref=null,v){l(v,y);let $=this.seen.get(v).schema;$.$ref&&(y.target==="draft-7"||y.target==="draft-4"||y.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push($)):(Object.assign(c,$),Object.assign(c,d))}p.isParent||this.override({zodSchema:m,jsonSchema:c,path:p.path??[]})},"flattenRef");for(let m of[...this.seen.entries()].reverse())l(m[0],{target:this.target});let f={};if(this.target==="draft-2020-12"?f.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?f.$schema="http://json-schema.org/draft-07/schema#":this.target==="draft-4"?f.$schema="http://json-schema.org/draft-04/schema#":this.target==="openapi-3.0"||console.warn(`Invalid target: ${this.target}`),n.external?.uri){let m=n.external.registry.get(r)?.id;if(!m)throw new Error("Schema is missing an `id` property");f.$id=n.external.uri(m)}Object.assign(f,t.def);let g=n.external?.defs??{};for(let m of this.seen.entries()){let y=m[1];y.def&&y.defId&&(g[y.defId]=y.def)}n.external||Object.keys(g).length>0&&(this.target==="draft-2020-12"?f.$defs=g:f.definitions=g);try{return JSON.parse(JSON.stringify(f))}catch{throw new Error("Error converting schema to JSON.")}}};s(cs,"JSONSchemaGenerator");var St=cs;function us(e,r){if(e instanceof Oe){let n=new St(r),t={};for(let l of e._idmap.entries()){let[f,g]=l;n.process(g)}let o={},u={registry:e,uri:r?.uri,defs:t};for(let l of e._idmap.entries()){let[f,g]=l;o[f]=n.emit(g,{...r,external:u})}if(Object.keys(t).length>0){let l=n.target==="draft-2020-12"?"$defs":"definitions";o.__shared={[l]:t}}return{schemas:o}}let i=new St(r);return i.process(e),i.emit(e,r)}s(us,"toJSONSchema");function F(e,r){let i=r??{seen:new Set};if(i.seen.has(e))return!1;i.seen.add(e);let n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return F(n.element,i);if(n.type==="set")return F(n.valueType,i);if(n.type==="lazy")return F(n.getter(),i);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return F(n.innerType,i);if(n.type==="intersection")return F(n.left,i)||F(n.right,i);if(n.type==="record"||n.type==="map")return F(n.keyType,i)||F(n.valueType,i);if(n.type==="pipe")return F(n.in,i)||F(n.out,i);if(n.type==="object"){for(let t in n.shape)if(F(n.shape[t],i))return!0;return!1}if(n.type==="union"){for(let t of n.options)if(F(t,i))return!0;return!1}if(n.type==="tuple"){for(let t of n.items)if(F(t,i))return!0;return!!(n.rest&&F(n.rest,i))}return!1}s(F,"isTransforming");var Hu={};var Er={};de(Er,{ZodISODate:()=>Ur,ZodISODateTime:()=>Nr,ZodISODuration:()=>Or,ZodISOTime:()=>Dr,date:()=>ds,datetime:()=>ls,duration:()=>ms,time:()=>ps});var Nr=h("ZodISODateTime",(e,r)=>{zi.init(e,r),O.init(e,r)});function ls(e){return ka(Nr,e)}s(ls,"datetime");var Ur=h("ZodISODate",(e,r)=>{ji.init(e,r),O.init(e,r)});function ds(e){return xa(Ur,e)}s(ds,"date");var Dr=h("ZodISOTime",(e,r)=>{Pi.init(e,r),O.init(e,r)});function ps(e){return wa(Dr,e)}s(ps,"time");var Or=h("ZodISODuration",(e,r)=>{Ci.init(e,r),O.init(e,r)});function ms(e){return Ia(Or,e)}s(ms,"duration");var Yu=s((e,r)=>{He.init(e,r),e.name="ZodError",Object.defineProperties(e,{format:{value:s(i=>Ye(e,i),"value")},flatten:{value:s(i=>Qe(e,i),"value")},addIssue:{value:s(i=>{e.issues.push(i),e.message=JSON.stringify(e.issues,Se,2)},"value")},addIssues:{value:s(i=>{e.issues.push(...i),e.message=JSON.stringify(e.issues,Se,2)},"value")},isEmpty:{get(){return e.issues.length===0}}})},"initializer"),Yp=h("ZodError",Yu),J=h("ZodError",Yu,{Parent:Error});var fs=Pe(J),gs=Ce(J),vs=Ne(J),hs=Ue(J),ys=Mt(J),bs=qt(J),$s=Jt(J),_s=Gt(J),ks=Wt(J),xs=Kt(J),ws=Xt(J),Is=Ht(J);var P=h("ZodType",(e,r)=>(z.init(e,r),e.def=r,e.type=r.type,Object.defineProperty(e,"_def",{value:r}),e.check=(...i)=>e.clone(x.mergeDefs(r,{checks:[...r.checks??[],...i.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]})),e.clone=(i,n)=>R(e,i,n),e.brand=()=>e,e.register=((i,n)=>(i.add(e,n),e)),e.parse=(i,n)=>fs(e,i,n,{callee:e.parse}),e.safeParse=(i,n)=>vs(e,i,n),e.parseAsync=async(i,n)=>gs(e,i,n,{callee:e.parseAsync}),e.safeParseAsync=async(i,n)=>hs(e,i,n),e.spa=e.safeParseAsync,e.encode=(i,n)=>ys(e,i,n),e.decode=(i,n)=>bs(e,i,n),e.encodeAsync=async(i,n)=>$s(e,i,n),e.decodeAsync=async(i,n)=>_s(e,i,n),e.safeEncode=(i,n)=>ks(e,i,n),e.safeDecode=(i,n)=>xs(e,i,n),e.safeEncodeAsync=async(i,n)=>ws(e,i,n),e.safeDecodeAsync=async(i,n)=>Is(e,i,n),e.refine=(i,n)=>e.check(Rc(i,n)),e.superRefine=i=>e.check(Lc(i)),e.overwrite=i=>e.check(ne(i)),e.optional=()=>Tr(e),e.nullable=()=>Zr(e),e.nullish=()=>Tr(Zr(e)),e.nonoptional=i=>jc(e,i),e.array=()=>Fr(e),e.or=i=>Ws([e,i]),e.and=i=>fc(e,i),e.transform=i=>Vr(e,Hs(i)),e.default=i=>Ic(e,i),e.prefault=i=>zc(e,i),e.catch=i=>Nc(e,i),e.pipe=i=>Vr(e,i),e.readonly=()=>Oc(e),e.describe=i=>{let n=e.clone();return L.add(n,{description:i}),n},Object.defineProperty(e,"description",{get(){return L.get(e)?.description},configurable:!0}),e.meta=(...i)=>{if(i.length===0)return L.get(e);let n=e.clone();return L.add(n,i[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),js=h("_ZodString",(e,r)=>{_e.init(e,r),P.init(e,r);let i=e._zod.bag;e.format=i.format??null,e.minLength=i.minimum??null,e.maxLength=i.maximum??null,e.regex=(...n)=>e.check(ft(...n)),e.includes=(...n)=>e.check(ht(...n)),e.startsWith=(...n)=>e.check(yt(...n)),e.endsWith=(...n)=>e.check(bt(...n)),e.min=(...n)=>e.check(ye(...n)),e.max=(...n)=>e.check(Ae(...n)),e.length=(...n)=>e.check(Te(...n)),e.nonempty=(...n)=>e.check(ye(1,...n)),e.lowercase=n=>e.check(gt(n)),e.uppercase=n=>e.check(vt(n)),e.trim=()=>e.check(kt()),e.normalize=(...n)=>e.check(_t(...n)),e.toLowerCase=()=>e.check(xt()),e.toUpperCase=()=>e.check(wt()),e.slugify=()=>e.check(It())}),jt=h("ZodString",(e,r)=>{_e.init(e,r),js.init(e,r),e.email=i=>e.check(dr(Ps,i)),e.url=i=>e.check(pt(Rr,i)),e.jwt=i=>e.check(Cr(Ms,i)),e.emoji=i=>e.check(vr(Cs,i)),e.guid=i=>e.check(dt(Ar,i)),e.uuid=i=>e.check(pr(ce,i)),e.uuidv4=i=>e.check(mr(ce,i)),e.uuidv6=i=>e.check(fr(ce,i)),e.uuidv7=i=>e.check(gr(ce,i)),e.nanoid=i=>e.check(hr(Ns,i)),e.guid=i=>e.check(dt(Ar,i)),e.cuid=i=>e.check(yr(Us,i)),e.cuid2=i=>e.check(br(Ds,i)),e.ulid=i=>e.check($r(Os,i)),e.base64=i=>e.check(zr(Ls,i)),e.base64url=i=>e.check(jr(Fs,i)),e.xid=i=>e.check(_r(Es,i)),e.ksuid=i=>e.check(kr(As,i)),e.ipv4=i=>e.check(xr(Ts,i)),e.ipv6=i=>e.check(wr(Zs,i)),e.cidrv4=i=>e.check(Ir(Vs,i)),e.cidrv6=i=>e.check(Sr(Rs,i)),e.e164=i=>e.check(Pr(Bs,i)),e.datetime=i=>e.check(ls(i)),e.date=i=>e.check(ds(i)),e.time=i=>e.check(ps(i)),e.duration=i=>e.check(ms(i))});function Ss(e){return ya(jt,e)}s(Ss,"string");var O=h("ZodStringFormat",(e,r)=>{U.init(e,r),js.init(e,r)}),Ps=h("ZodEmail",(e,r)=>{yi.init(e,r),O.init(e,r)});function tm(e){return dr(Ps,e)}s(tm,"email");var Ar=h("ZodGUID",(e,r)=>{vi.init(e,r),O.init(e,r)});function rm(e){return dt(Ar,e)}s(rm,"guid");var ce=h("ZodUUID",(e,r)=>{hi.init(e,r),O.init(e,r)});function nm(e){return pr(ce,e)}s(nm,"uuid");function im(e){return mr(ce,e)}s(im,"uuidv4");function om(e){return fr(ce,e)}s(om,"uuidv6");function am(e){return gr(ce,e)}s(am,"uuidv7");var Rr=h("ZodURL",(e,r)=>{bi.init(e,r),O.init(e,r)});function sm(e){return pt(Rr,e)}s(sm,"url");function um(e){return pt(Rr,{protocol:/^https?$/,hostname:Q.domain,...x.normalizeParams(e)})}s(um,"httpUrl");var Cs=h("ZodEmoji",(e,r)=>{$i.init(e,r),O.init(e,r)});function cm(e){return vr(Cs,e)}s(cm,"emoji");var Ns=h("ZodNanoID",(e,r)=>{_i.init(e,r),O.init(e,r)});function lm(e){return hr(Ns,e)}s(lm,"nanoid");var Us=h("ZodCUID",(e,r)=>{ki.init(e,r),O.init(e,r)});function dm(e){return yr(Us,e)}s(dm,"cuid");var Ds=h("ZodCUID2",(e,r)=>{xi.init(e,r),O.init(e,r)});function pm(e){return br(Ds,e)}s(pm,"cuid2");var Os=h("ZodULID",(e,r)=>{wi.init(e,r),O.init(e,r)});function mm(e){return $r(Os,e)}s(mm,"ulid");var Es=h("ZodXID",(e,r)=>{Ii.init(e,r),O.init(e,r)});function fm(e){return _r(Es,e)}s(fm,"xid");var As=h("ZodKSUID",(e,r)=>{Si.init(e,r),O.init(e,r)});function gm(e){return kr(As,e)}s(gm,"ksuid");var Ts=h("ZodIPv4",(e,r)=>{Ni.init(e,r),O.init(e,r)});function vm(e){return xr(Ts,e)}s(vm,"ipv4");var ec=h("ZodMAC",(e,r)=>{Di.init(e,r),O.init(e,r)});function hm(e){return $a(ec,e)}s(hm,"mac");var Zs=h("ZodIPv6",(e,r)=>{Ui.init(e,r),O.init(e,r)});function ym(e){return wr(Zs,e)}s(ym,"ipv6");var Vs=h("ZodCIDRv4",(e,r)=>{Oi.init(e,r),O.init(e,r)});function bm(e){return Ir(Vs,e)}s(bm,"cidrv4");var Rs=h("ZodCIDRv6",(e,r)=>{Ei.init(e,r),O.init(e,r)});function $m(e){return Sr(Rs,e)}s($m,"cidrv6");var Ls=h("ZodBase64",(e,r)=>{Ti.init(e,r),O.init(e,r)});function _m(e){return zr(Ls,e)}s(_m,"base64");var Fs=h("ZodBase64URL",(e,r)=>{Zi.init(e,r),O.init(e,r)});function km(e){return jr(Fs,e)}s(km,"base64url");var Bs=h("ZodE164",(e,r)=>{Vi.init(e,r),O.init(e,r)});function xm(e){return Pr(Bs,e)}s(xm,"e164");var Ms=h("ZodJWT",(e,r)=>{Ri.init(e,r),O.init(e,r)});function wm(e){return Cr(Ms,e)}s(wm,"jwt");var Pt=h("ZodCustomStringFormat",(e,r)=>{Li.init(e,r),O.init(e,r)});function Im(e,r,i={}){return Ze(Pt,e,r,i)}s(Im,"stringFormat");function Sm(e){return Ze(Pt,"hostname",Q.hostname,e)}s(Sm,"hostname");function zm(e){return Ze(Pt,"hex",Q.hex,e)}s(zm,"hex");function jm(e,r){let i=r?.enc??"hex",n=`${e}_${i}`,t=Q[n];if(!t)throw new Error(`Unrecognized hash format: ${n}`);return Ze(Pt,n,t,r)}s(jm,"hash");var Ct=h("ZodNumber",(e,r)=>{ar.init(e,r),P.init(e,r),e.gt=(n,t)=>e.check(se(n,t)),e.gte=(n,t)=>e.check(q(n,t)),e.min=(n,t)=>e.check(q(n,t)),e.lt=(n,t)=>e.check(ae(n,t)),e.lte=(n,t)=>e.check(Y(n,t)),e.max=(n,t)=>e.check(Y(n,t)),e.int=n=>e.check(zs(n)),e.safe=n=>e.check(zs(n)),e.positive=n=>e.check(se(0,n)),e.nonnegative=n=>e.check(q(0,n)),e.negative=n=>e.check(ae(0,n)),e.nonpositive=n=>e.check(Y(0,n)),e.multipleOf=(n,t)=>e.check(ke(n,t)),e.step=(n,t)=>e.check(ke(n,t)),e.finite=()=>e;let i=e._zod.bag;e.minValue=Math.max(i.minimum??Number.NEGATIVE_INFINITY,i.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(i.maximum??Number.POSITIVE_INFINITY,i.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(i.format??"").includes("int")||Number.isSafeInteger(i.multipleOf??.5),e.isFinite=!0,e.format=i.format??null});function tc(e){return Sa(Ct,e)}s(tc,"number");var Re=h("ZodNumberFormat",(e,r)=>{Fi.init(e,r),Ct.init(e,r)});function zs(e){return ja(Re,e)}s(zs,"int");function Pm(e){return Pa(Re,e)}s(Pm,"float32");function Cm(e){return Ca(Re,e)}s(Cm,"float64");function Nm(e){return Na(Re,e)}s(Nm,"int32");function Um(e){return Ua(Re,e)}s(Um,"uint32");var Nt=h("ZodBoolean",(e,r)=>{nt.init(e,r),P.init(e,r)});function rc(e){return Da(Nt,e)}s(rc,"boolean");var Ut=h("ZodBigInt",(e,r)=>{sr.init(e,r),P.init(e,r),e.gte=(n,t)=>e.check(q(n,t)),e.min=(n,t)=>e.check(q(n,t)),e.gt=(n,t)=>e.check(se(n,t)),e.gte=(n,t)=>e.check(q(n,t)),e.min=(n,t)=>e.check(q(n,t)),e.lt=(n,t)=>e.check(ae(n,t)),e.lte=(n,t)=>e.check(Y(n,t)),e.max=(n,t)=>e.check(Y(n,t)),e.positive=n=>e.check(se(BigInt(0),n)),e.negative=n=>e.check(ae(BigInt(0),n)),e.nonpositive=n=>e.check(Y(BigInt(0),n)),e.nonnegative=n=>e.check(q(BigInt(0),n)),e.multipleOf=(n,t)=>e.check(ke(n,t));let i=e._zod.bag;e.minValue=i.minimum??null,e.maxValue=i.maximum??null,e.format=i.format??null});function Dm(e){return Ea(Ut,e)}s(Dm,"bigint");var qs=h("ZodBigIntFormat",(e,r)=>{Bi.init(e,r),Ut.init(e,r)});function Om(e){return Ta(qs,e)}s(Om,"int64");function Em(e){return Za(qs,e)}s(Em,"uint64");var nc=h("ZodSymbol",(e,r)=>{Mi.init(e,r),P.init(e,r)});function Am(e){return Va(nc,e)}s(Am,"symbol");var ic=h("ZodUndefined",(e,r)=>{qi.init(e,r),P.init(e,r)});function Tm(e){return Ra(ic,e)}s(Tm,"_undefined");var oc=h("ZodNull",(e,r)=>{Ji.init(e,r),P.init(e,r)});function ac(e){return La(oc,e)}s(ac,"_null");var sc=h("ZodAny",(e,r)=>{Gi.init(e,r),P.init(e,r)});function Zm(){return Fa(sc)}s(Zm,"any");var uc=h("ZodUnknown",(e,r)=>{Wi.init(e,r),P.init(e,r)});function Ve(){return Ba(uc)}s(Ve,"unknown");var cc=h("ZodNever",(e,r)=>{Ki.init(e,r),P.init(e,r)});function Js(e){return Ma(cc,e)}s(Js,"never");var lc=h("ZodVoid",(e,r)=>{Xi.init(e,r),P.init(e,r)});function Vm(e){return qa(lc,e)}s(Vm,"_void");var Lr=h("ZodDate",(e,r)=>{Hi.init(e,r),P.init(e,r),e.min=(n,t)=>e.check(q(n,t)),e.max=(n,t)=>e.check(Y(n,t));let i=e._zod.bag;e.minDate=i.minimum?new Date(i.minimum):null,e.maxDate=i.maximum?new Date(i.maximum):null});function Rm(e){return Ja(Lr,e)}s(Rm,"date");var dc=h("ZodArray",(e,r)=>{Qi.init(e,r),P.init(e,r),e.element=r.element,e.min=(i,n)=>e.check(ye(i,n)),e.nonempty=i=>e.check(ye(1,i)),e.max=(i,n)=>e.check(Ae(i,n)),e.length=(i,n)=>e.check(Te(i,n)),e.unwrap=()=>e.element});function Fr(e,r){return es(dc,e,r)}s(Fr,"array");function Lm(e){let r=e._zod.def.shape;return Xs(Object.keys(r))}s(Lm,"keyof");var Br=h("ZodObject",(e,r)=>{Yi.init(e,r),P.init(e,r),x.defineLazy(e,"shape",()=>r.shape),e.keyof=()=>Xs(Object.keys(e._zod.def.shape)),e.catchall=i=>e.clone({...e._zod.def,catchall:i}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Ve()}),e.loose=()=>e.clone({...e._zod.def,catchall:Ve()}),e.strict=()=>e.clone({...e._zod.def,catchall:Js()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=i=>x.extend(e,i),e.safeExtend=i=>x.safeExtend(e,i),e.merge=i=>x.merge(e,i),e.pick=i=>x.pick(e,i),e.omit=i=>x.omit(e,i),e.partial=(...i)=>x.partial(Qs,e,i[0]),e.required=(...i)=>x.required(Ys,e,i[0])});function Fm(e,r){let i={type:"object",shape:e??{},...x.normalizeParams(r)};return new Br(i)}s(Fm,"object");function Bm(e,r){return new Br({type:"object",shape:e,catchall:Js(),...x.normalizeParams(r)})}s(Bm,"strictObject");function Mm(e,r){return new Br({type:"object",shape:e,catchall:Ve(),...x.normalizeParams(r)})}s(Mm,"looseObject");var Gs=h("ZodUnion",(e,r)=>{ur.init(e,r),P.init(e,r),e.options=r.options});function Ws(e,r){return new Gs({type:"union",options:e,...x.normalizeParams(r)})}s(Ws,"union");var pc=h("ZodDiscriminatedUnion",(e,r)=>{Gs.init(e,r),eo.init(e,r)});function qm(e,r,i){return new pc({type:"union",options:r,discriminator:e,...x.normalizeParams(i)})}s(qm,"discriminatedUnion");var mc=h("ZodIntersection",(e,r)=>{to.init(e,r),P.init(e,r)});function fc(e,r){return new mc({type:"intersection",left:e,right:r})}s(fc,"intersection");var gc=h("ZodTuple",(e,r)=>{cr.init(e,r),P.init(e,r),e.rest=i=>e.clone({...e._zod.def,rest:i})});function vc(e,r,i){let n=r instanceof z,t=n?i:r,o=n?r:null;return new gc({type:"tuple",items:e,rest:o,...x.normalizeParams(t)})}s(vc,"tuple");var Ks=h("ZodRecord",(e,r)=>{ro.init(e,r),P.init(e,r),e.keyType=r.keyType,e.valueType=r.valueType});function hc(e,r,i){return new Ks({type:"record",keyType:e,valueType:r,...x.normalizeParams(i)})}s(hc,"record");function Jm(e,r,i){let n=R(e);return n._zod.values=void 0,new Ks({type:"record",keyType:n,valueType:r,...x.normalizeParams(i)})}s(Jm,"partialRecord");var yc=h("ZodMap",(e,r)=>{no.init(e,r),P.init(e,r),e.keyType=r.keyType,e.valueType=r.valueType});function Gm(e,r,i){return new yc({type:"map",keyType:e,valueType:r,...x.normalizeParams(i)})}s(Gm,"map");var bc=h("ZodSet",(e,r)=>{io.init(e,r),P.init(e,r),e.min=(...i)=>e.check(xe(...i)),e.nonempty=i=>e.check(xe(1,i)),e.max=(...i)=>e.check(Ee(...i)),e.size=(...i)=>e.check(mt(...i))});function Wm(e,r){return new bc({type:"set",valueType:e,...x.normalizeParams(r)})}s(Wm,"set");var zt=h("ZodEnum",(e,r)=>{oo.init(e,r),P.init(e,r),e.enum=r.entries,e.options=Object.values(r.entries);let i=new Set(Object.keys(r.entries));e.extract=(n,t)=>{let o={};for(let u of n)if(i.has(u))o[u]=r.entries[u];else throw new Error(`Key ${u} not found in enum`);return new zt({...r,checks:[],...x.normalizeParams(t),entries:o})},e.exclude=(n,t)=>{let o={...r.entries};for(let u of n)if(i.has(u))delete o[u];else throw new Error(`Key ${u} not found in enum`);return new zt({...r,checks:[],...x.normalizeParams(t),entries:o})}});function Xs(e,r){let i=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new zt({type:"enum",entries:i,...x.normalizeParams(r)})}s(Xs,"_enum");function Km(e,r){return new zt({type:"enum",entries:e,...x.normalizeParams(r)})}s(Km,"nativeEnum");var $c=h("ZodLiteral",(e,r)=>{ao.init(e,r),P.init(e,r),e.values=new Set(r.values),Object.defineProperty(e,"value",{get(){if(r.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function Xm(e,r){return new $c({type:"literal",values:Array.isArray(e)?e:[e],...x.normalizeParams(r)})}s(Xm,"literal");var _c=h("ZodFile",(e,r)=>{so.init(e,r),P.init(e,r),e.min=(i,n)=>e.check(xe(i,n)),e.max=(i,n)=>e.check(Ee(i,n)),e.mime=(i,n)=>e.check($t(Array.isArray(i)?i:[i],n))});function Hm(e){return ts(_c,e)}s(Hm,"file");var kc=h("ZodTransform",(e,r)=>{uo.init(e,r),P.init(e,r),e._zod.parse=(i,n)=>{if(n.direction==="backward")throw new pe(e.constructor.name);i.addIssue=o=>{if(typeof o=="string")i.issues.push(x.issue(o,i.value,r));else{let u=o;u.fatal&&(u.continue=!1),u.code??(u.code="custom"),u.input??(u.input=i.value),u.inst??(u.inst=e),i.issues.push(x.issue(u))}};let t=r.transform(i.value,i);return t instanceof Promise?t.then(o=>(i.value=o,i)):(i.value=t,i)}});function Hs(e){return new kc({type:"transform",transform:e})}s(Hs,"transform");var Qs=h("ZodOptional",(e,r)=>{co.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Tr(e){return new Qs({type:"optional",innerType:e})}s(Tr,"optional");var xc=h("ZodNullable",(e,r)=>{lo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Zr(e){return new xc({type:"nullable",innerType:e})}s(Zr,"nullable");function Qm(e){return Tr(Zr(e))}s(Qm,"nullish");var wc=h("ZodDefault",(e,r)=>{po.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Ic(e,r){return new wc({type:"default",innerType:e,get defaultValue(){return typeof r=="function"?r():x.shallowClone(r)}})}s(Ic,"_default");var Sc=h("ZodPrefault",(e,r)=>{mo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function zc(e,r){return new Sc({type:"prefault",innerType:e,get defaultValue(){return typeof r=="function"?r():x.shallowClone(r)}})}s(zc,"prefault");var Ys=h("ZodNonOptional",(e,r)=>{fo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function jc(e,r){return new Ys({type:"nonoptional",innerType:e,...x.normalizeParams(r)})}s(jc,"nonoptional");var Pc=h("ZodSuccess",(e,r)=>{go.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Ym(e){return new Pc({type:"success",innerType:e})}s(Ym,"success");var Cc=h("ZodCatch",(e,r)=>{vo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Nc(e,r){return new Cc({type:"catch",innerType:e,catchValue:typeof r=="function"?r:()=>r})}s(Nc,"_catch");var Uc=h("ZodNaN",(e,r)=>{ho.init(e,r),P.init(e,r)});function ef(e){return Wa(Uc,e)}s(ef,"nan");var eu=h("ZodPipe",(e,r)=>{yo.init(e,r),P.init(e,r),e.in=r.in,e.out=r.out});function Vr(e,r){return new eu({type:"pipe",in:e,out:r})}s(Vr,"pipe");var tu=h("ZodCodec",(e,r)=>{eu.init(e,r),it.init(e,r)});function tf(e,r,i){return new tu({type:"pipe",in:e,out:r,transform:i.decode,reverseTransform:i.encode})}s(tf,"codec");var Dc=h("ZodReadonly",(e,r)=>{bo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function Oc(e){return new Dc({type:"readonly",innerType:e})}s(Oc,"readonly");var Ec=h("ZodTemplateLiteral",(e,r)=>{$o.init(e,r),P.init(e,r)});function rf(e,r){return new Ec({type:"template_literal",parts:e,...x.normalizeParams(r)})}s(rf,"templateLiteral");var Ac=h("ZodLazy",(e,r)=>{xo.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.getter()});function Tc(e){return new Ac({type:"lazy",getter:e})}s(Tc,"lazy");var Zc=h("ZodPromise",(e,r)=>{ko.init(e,r),P.init(e,r),e.unwrap=()=>e._zod.def.innerType});function nf(e){return new Zc({type:"promise",innerType:e})}s(nf,"promise");var Vc=h("ZodFunction",(e,r)=>{_o.init(e,r),P.init(e,r)});function of(e){return new Vc({type:"function",input:Array.isArray(e?.input)?vc(e?.input):e?.input??Fr(Ve()),output:e?.output??Ve()})}s(of,"_function");var Mr=h("ZodCustom",(e,r)=>{wo.init(e,r),P.init(e,r)});function af(e){let r=new D({check:"custom"});return r._zod.check=e,r}s(af,"check");function sf(e,r){return rs(Mr,e??(()=>!0),r)}s(sf,"custom");function Rc(e,r={}){return ns(Mr,e,r)}s(Rc,"refine");function Lc(e){return is(e)}s(Lc,"superRefine");var uf=os,cf=as;function lf(e,r={error:`Input not instance of ${e.name}`}){let i=new Mr({type:"custom",check:"custom",fn:s(n=>n instanceof e,"fn"),abort:!0,...x.normalizeParams(r)});return i._zod.bag.Class=e,i}s(lf,"_instanceof");var df=s((...e)=>ss({Codec:tu,Boolean:Nt,String:jt},...e),"stringbool");function pf(e){let r=Tc(()=>Ws([Ss(e),tc(),rc(),ac(),Fr(r),hc(Ss(),r)]));return r}s(pf,"json");function mf(e,r){return Vr(Hs(e),r)}s(mf,"preprocess");var ff={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function gf(e){T({customError:e})}s(gf,"setErrorMap");function vf(){return T().customError}s(vf,"getErrorMap");var ru;ru||(ru={});var nu={};de(nu,{bigint:()=>$f,boolean:()=>bf,date:()=>_f,number:()=>yf,string:()=>hf});function hf(e){return ba(jt,e)}s(hf,"string");function yf(e){return za(Ct,e)}s(yf,"number");function bf(e){return Oa(Nt,e)}s(bf,"boolean");function $f(e){return Aa(Ut,e)}s($f,"bigint");function _f(e){return Ga(Lr,e)}s(_f,"date");T(ot());var kf=Object.defineProperty,uu=s((e,r)=>kf(e,"name",{value:r,configurable:!0}),"__name"),Gr=a.array(a.string().or(a.record(a.string(),a.any()))),r$=a.object({type:a.string().optional(),narrative:a.string().optional()}),Wr=a.string().or(a.object({id:a.string(),type:a.string(),caption:a.string().optional()})),xf=a.object({type:a.string().min(1).or(a.string().array().nonempty()),latitude:a.number(),longitude:a.number()}),wf=a.object({type:a.string().min(1).or(a.string().array().nonempty()),addressCountry:a.string().optional(),addressCountryCode:a.string().optional(),addressRegion:a.string().optional(),addressLocality:a.string().optional(),streetAddress:a.string().optional(),postOfficeBoxNumber:a.string().optional(),postalCode:a.string().optional(),geo:xf.optional()}),If=a.enum(["sourcedId","systemId","productId","userName","accountId","emailAddress","nationalIdentityNumber","isbn","issn","lisSourcedId","oneRosterSourcedId","sisSourcedId","ltiContextId","ltiDeploymentId","ltiToolId","ltiPlatformId","ltiUserId","identifier"]).or(a.string()),el=a.object({type:a.string().min(1).or(a.string().array().nonempty()),identifier:a.string(),identifierType:If}),Dt=a.string().or(a.object({id:a.string().optional(),type:a.string().or(a.string().array().nonempty().optional()),name:a.string().optional(),url:a.string().optional(),phone:a.string().optional(),description:a.string().optional(),endorsement:a.any().array().optional(),image:Wr.optional(),email:a.string().email().optional(),address:wf.optional(),otherIdentifier:el.array().optional(),official:a.string().optional(),parentOrg:a.any().optional(),familyName:a.string().optional(),givenName:a.string().optional(),additionalName:a.string().optional(),patronymicName:a.string().optional(),honorificPrefix:a.string().optional(),honorificSuffix:a.string().optional(),familyNamePrefix:a.string().optional(),dateOfBirth:a.string().optional()}).catchall(a.any())),ou=a.object({id:a.string().optional()}).catchall(a.any()),qr=a.object({type:a.string(),id:a.string()}).catchall(a.any()),Fc=a.object({id:a.string(),type:a.string()}).catchall(a.any()),Bc=a.object({id:a.string().optional(),type:a.string()}).catchall(a.any()),Mc=a.object({type:a.string(),id:a.string().optional()}).catchall(a.any()),qc=a.object({id:a.string().optional(),type:a.array(a.string()).nonempty(),name:a.string().optional(),narrative:a.string().optional(),description:a.string().optional(),genre:a.string().optional(),audience:a.string().optional()}).catchall(a.any()),re=a.object({"@context":Gr,id:a.string().optional(),type:a.string().array().nonempty(),issuer:Dt,credentialSubject:ou.or(ou.array()),refreshService:Bc.or(Bc.array()).optional(),credentialSchema:Fc.or(Fc.array()).optional(),issuanceDate:a.string().optional(),expirationDate:a.string().optional(),credentialStatus:qr.or(qr.array()).optional(),name:a.string().optional(),description:a.string().optional(),validFrom:a.string().optional(),validUntil:a.string().optional(),status:qr.or(qr.array()).optional(),termsOfUse:Mc.or(Mc.array()).optional(),evidence:a.union([qc,a.array(qc)]).optional()}).catchall(a.any()),ie=a.object({type:a.string(),created:a.string(),challenge:a.string().optional(),domain:a.string().optional(),nonce:a.string().optional(),proofPurpose:a.string(),verificationMethod:a.string(),jws:a.string().optional()}).catchall(a.any()),le=re.extend({proof:ie.or(ie.array())}),Sf=a.object({"@context":Gr,id:a.string().optional(),type:a.string().or(a.string().array().nonempty()),verifiableCredential:le.or(le.array()).optional(),holder:a.string().optional()}).catchall(a.any()),Et=Sf.extend({proof:ie.or(ie.array())}),cu=a.object({kty:a.string(),crv:a.string(),x:a.string(),y:a.string().optional(),n:a.string().optional(),d:a.string().optional()}),o$=cu.omit({d:!0}).extend({d:a.string()}),zf=a.object({alg:a.string(),iv:a.string(),tag:a.string(),epk:cu.partial().optional(),kid:a.string().optional(),apv:a.string().optional(),apu:a.string().optional()}),jf=a.object({header:zf,encrypted_key:a.string()}),lu=a.object({protected:a.string(),iv:a.string(),ciphertext:a.string(),tag:a.string(),aad:a.string().optional(),recipients:jf.array().optional()}),we=a.string().or(a.object({"@context":Gr.optional(),id:a.string(),type:a.string(),controller:a.string(),publicKeyJwk:cu.optional(),publicKeyBase58:a.string().optional(),publicKeyMultibase:a.string().optional(),blockChainAccountId:a.string().optional()}).catchall(a.any())),Pf=a.object({id:a.string(),type:a.string().or(a.string().array().nonempty()),serviceEndpoint:a.any().or(a.any().array().nonempty())}).catchall(a.any()),a$=a.object({"@context":Gr,id:a.string(),alsoKnownAs:a.string().optional(),controller:a.string().or(a.string().array().nonempty()).optional(),verificationMethod:we.array().optional(),authentication:we.array().optional(),assertionMethod:we.array().optional(),keyAgreement:we.array().optional(),capabilityInvocation:we.array().optional(),capabilityDelegation:we.array().optional(),publicKey:we.array().optional(),service:Pf.array().optional(),proof:ie.or(ie.array()).optional()}).catchall(a.any()),Cf=a.enum(["ceasn:Competency","ceterms:Credential","CFItem","CFRubric","CFRubricCriterion","CFRubricCriterionLevel","CTDL"]).or(a.string()),Kr=a.object({type:a.string().array().nonempty(),targetCode:a.string().optional(),targetDescription:a.string().optional(),targetName:a.string(),targetFramework:a.string().optional(),targetType:Cf.optional(),targetUrl:a.string()}),Nf=a.enum(["Achievement","ApprenticeshipCertificate","Assessment","Assignment","AssociateDegree","Award","Badge","BachelorDegree","Certificate","CertificateOfCompletion","Certification","CommunityService","Competency","Course","CoCurricular","Degree","Diploma","DoctoralDegree","Fieldwork","GeneralEducationDevelopment","JourneymanCertificate","LearningProgram","License","Membership","ProfessionalDoctorate","QualityAssuranceCredential","MasterCertificate","MasterDegree","MicroCredential","ResearchDoctorate","SecondarySchoolDiploma"]),Uf=Nf.or(a.string()),Df=a.object({id:a.string().optional(),narrative:a.string().optional()}).catchall(a.any()),Of=a.object({id:a.string(),type:a.string().array().nonempty(),endorsementComment:a.string().optional()}),Ef=re.extend({credentialSubject:Of,proof:ie.or(ie.array()).optional()}),Af=a.object({id:a.string(),"@language":a.string().optional(),version:a.string().optional()}),Tf=a.enum(["GradePointAverage","LetterGrade","Percent","PerformanceLevel","PredictedScore","RawScore","Result","RubricCriterion","RubricCriterionLevel","RubricScore","ScaledScore","Status"]).or(a.string()),Zf=a.object({id:a.string(),type:a.string().array().nonempty(),alignment:Kr.array().optional(),description:a.string().optional(),level:a.string().optional(),name:a.string(),points:a.string().optional()}).catchall(a.any()),Vf=a.object({id:a.string(),type:a.string().array().nonempty(),alignment:Kr.array().optional(),allowedValue:a.string().array().optional(),name:a.string(),requiredLevel:a.string().optional(),requiredValue:a.string().optional(),resultType:Tf,rubricCriterionLevel:Zf.array().optional(),valueMax:a.string().optional(),valueMin:a.string().optional()}).catchall(a.any()),u$=a.object({id:a.string().optional(),type:a.array(a.string()).nonempty(),name:a.string().optional(),narrative:a.string().optional(),description:a.string().optional(),genre:a.string().optional(),audience:a.string().optional()}).catchall(a.any()),Rf=a.object({id:a.string().optional(),type:a.array(a.string()).nonempty(),alignment:Kr.array().optional(),achievementType:Uf.optional(),creator:Dt.optional(),creditsAvailable:a.number().optional(),criteria:Df,description:a.string(),endorsement:Ef.array().optional(),fieldOfStudy:a.string().optional(),humanCode:a.string().optional(),image:Wr.optional(),"@language":a.string().optional(),name:a.string(),otherIdentifier:el.array().optional(),related:Af.array().optional(),resultDescription:Vf.array().optional(),specialization:a.string().optional(),tag:a.array(a.string()).optional(),version:a.string().optional()}).catchall(a.any()),Lf=a.object({type:a.string(),hashed:a.boolean(),identityHash:a.string(),identityType:a.string(),salt:a.string().optional()}),Ff=a.enum(["Completed","Enrolled","Failed","InProgress","OnHold","Withdrew"]),Bf=a.object({type:a.string().array().nonempty(),achievedLevel:a.string().optional(),alignment:Kr.array().optional(),resultDescription:a.string().optional(),status:Ff.optional(),value:a.string().optional()}).catchall(a.any()),Jc=a.object({id:a.string().optional(),type:a.string().array().nonempty(),activityEndDate:a.string().optional(),activityStartDate:a.string().optional(),creditsEarned:a.number().optional(),achievement:Rf.optional(),identifier:Lf.array().optional(),image:Wr.optional(),licenseNumber:a.string().optional(),narrative:a.string().optional(),result:Bf.array().optional(),role:a.string().optional(),source:Dt.optional(),term:a.string().optional()}).catchall(a.any()),Mf=re.extend({name:a.string().optional(),description:a.string().optional(),image:Wr.optional(),credentialSubject:Jc.or(Jc.array()),endorsement:re.array().optional()}),c$=Mf.extend({proof:ie.or(ie.array())}),d$=a.object({checks:a.string().array(),warnings:a.string().array(),errors:a.string().array()}),tl=a.enum(["Success","Failed","Error"]),p$=tl.enum,m$=a.object({check:a.string(),status:tl,message:a.string().optional(),details:a.string().optional()}),f$=a.object({title:a.string().optional(),createdAt:a.string().optional(),issuer:Dt.optional(),issuee:Dt.optional(),credentialSubject:ou.optional()}),g$=a.object({id:a.string(),uri:a.string()}).catchall(a.any()),y$=a.object({limit:a.number(),cursor:a.string().optional(),sort:a.string().optional()}),Z=a.object({cursor:a.string().optional(),hasMore:a.boolean()}),rl=a.object({encryptedRecord:lu,fields:a.string().array()}).catchall(a.any()),b$=Z.extend({records:rl.array()}),qf=rl.extend({id:a.string()}),$$=Z.extend({records:qf.array()}),Gc=uu(e=>{let r=e.match(/^\/(.*)\/([gimsuy]*)$/);if(!r)throw new Error("Invalid RegExp string format");return{pattern:r[1],flags:r[2]}},"parseRegexString"),Jf=a.string().refine(e=>{try{return Gc(e),!0}catch{return!1}},{message:"Invalid RegExp string format. Must be in format '/pattern/flags'"}).transform(e=>{let{pattern:r,flags:i}=Gc(e);try{return new RegExp(r,i)}catch(n){throw new Error(`Invalid RegExp: ${n.message}`)}}).meta({override:{type:"string"}}),Gf=a.instanceof(RegExp).meta({override:{type:"string"}}).or(Jf).meta({override:{type:"string"}}),Wc=a.string().or(a.object({$in:a.string().array()})).or(a.object({$regex:Gf.meta({override:{type:"string"}})})),j=a.union([Wc,a.object({$or:Wc.array()})]),Wf=a.object({backgroundColor:a.string().optional(),backgroundImage:a.string().optional(),fadeBackgroundImage:a.boolean().optional(),repeatBackgroundImage:a.boolean().optional(),fontColor:a.string().optional(),accentColor:a.string().optional(),accentFontColor:a.string().optional(),idBackgroundImage:a.string().optional(),fadeIdBackgroundImage:a.boolean().optional(),idBackgroundColor:a.string().optional(),repeatIdBackgroundImage:a.boolean().optional()}),Kf=a.enum(["public","connections_only","private"]),Xf=a.enum(["anyone","invite_only"]),V=a.object({profileId:a.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),displayName:a.string().default("").describe("Human-readable display name for the profile."),shortBio:a.string().default("").describe("Short bio for the profile."),bio:a.string().default("").describe("Longer bio for the profile."),did:a.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),isPrivate:a.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),profileVisibility:Kf.default("public").optional().describe("Profile visibility: 'public', 'connections_only', or 'private'."),showEmail:a.boolean().default(!1).optional().describe("Whether to show email to connections."),allowConnectionRequests:Xf.default("anyone").optional().describe("Who can send connection requests: 'anyone' or 'invite_only'."),email:a.string().optional().describe("Contact email address for the profile. (deprecated)"),image:a.string().optional().describe("Profile image URL for the profile."),heroImage:a.string().optional().describe("Hero image URL for the profile."),websiteLink:a.string().optional().describe("Website link for the profile."),isServiceProfile:a.boolean().default(!1).optional().describe("Whether the profile is a service profile or not."),type:a.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),notificationsWebhook:a.string().url().startsWith("http").optional().describe("URL to send notifications to."),display:Wf.optional().describe("Display settings for the profile."),highlightedCredentials:a.array(a.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),role:a.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),dob:a.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),country:a.string().optional().describe("Country for the profile."),approved:a.boolean().optional().describe("Approval status for the profile.")}),nl=V.pick({profileId:!0,displayName:!0,shortBio:!0,image:!0,heroImage:!0,type:!0,isServiceProfile:!0,display:!0}),il=nl.extend({bio:V.shape.bio,websiteLink:V.shape.websiteLink,role:V.shape.role,highlightedCredentials:V.shape.highlightedCredentials,did:V.shape.did}),Hf=il.extend({email:V.shape.email}),du=a.union([Hf.strict(),il.strict(),nl.strict(),V]),x$=a.object({profileId:j,displayName:j,shortBio:j,bio:j,email:j,websiteLink:j,isServiceProfile:a.boolean(),type:j}).partial(),w$=Z.extend({records:V.array()}),I$=Z.extend({records:du.array()}),S$=a.enum(["CONNECTED","PENDING_REQUEST_SENT","PENDING_REQUEST_RECEIVED","NOT_CONNECTED"]),ol=a.object({id:a.string(),created:a.string(),displayName:a.string().default("").optional(),shortBio:a.string().default("").optional(),bio:a.string().default("").optional(),email:a.string().optional(),image:a.string().optional(),heroImage:a.string().optional()}),z$=Z.extend({records:ol.extend({did:a.string()}).array()}),j$=a.object({id:j,displayName:j,shortBio:j,bio:j,email:j}).partial(),P$=Z.extend({records:a.object({profile:V,manager:ol.extend({did:a.string()}).optional()}).array()}),C$=a.object({uri:a.string(),to:a.string(),from:a.string(),sent:a.iso.datetime(),received:a.iso.datetime().optional(),metadata:a.record(a.string(),a.unknown()).optional()}),Jr=a.object({role:a.string(),canView:a.boolean().default(!0),canEdit:a.boolean(),canIssue:a.boolean(),canRevoke:a.boolean(),canManagePermissions:a.boolean(),canIssueChildren:a.string(),canCreateChildren:a.string(),canEditChildren:a.string(),canRevokeChildren:a.string(),canManageChildrenPermissions:a.string(),canManageChildrenProfiles:a.boolean().optional(),canViewAnalytics:a.boolean()}),Qf=a.object({role:j,canView:a.boolean(),canEdit:a.boolean(),canIssue:a.boolean(),canRevoke:a.boolean(),canManagePermissions:a.boolean(),canIssueChildren:j,canCreateChildren:j,canEditChildren:j,canRevokeChildren:j,canManageChildrenPermissions:j,canManageChildrenProfiles:a.boolean(),canViewAnalytics:a.boolean()}).partial(),iu=a.enum(["GRANT_PERMISSIONS","ADD_ADMIN","AUTO_CONNECT"]),Yf=a.discriminatedUnion("type",[a.object({type:a.literal(iu.enum.GRANT_PERMISSIONS),data:a.object({claimUri:a.string(),targetUri:a.string(),permissions:Jr.partial()})}),a.object({type:a.literal(iu.enum.ADD_ADMIN),data:a.object({claimUri:a.string(),targetUri:a.string()})}),a.object({type:a.literal(iu.enum.AUTO_CONNECT),data:a.object({claimUri:a.string(),targetUri:a.string()})})]),N$=a.object({type:j,data:a.object({claimUri:j,targetUri:j,permissions:Qf.partial()}).partial()}),eg=a.object({id:a.string(),createdAt:a.string(),updatedAt:a.string()}).and(Yf),U$=Z.extend({records:eg.array()}),au=a.enum(["DRAFT","PROVISIONAL","LIVE"]),al=a.object({uri:a.string(),name:a.string().optional(),type:a.string().optional(),category:a.string().optional(),status:au.optional(),autoConnectRecipients:a.boolean().optional(),meta:a.record(a.string(),a.any()).optional(),claimPermissions:Jr.optional(),defaultPermissions:Jr.optional(),allowAnyoneToCreateChildren:a.boolean().optional()}),Kc=a.object({uri:j,name:j,type:j,category:j,meta:a.record(a.string(),j),status:au.or(a.object({$in:au.array()})),autoConnectRecipients:a.boolean()}).partial(),D$=a.union([a.object({$or:Kc.array()}),Kc]),O$=Z.extend({records:al.array()}),tg=a.object({to:du,from:a.string(),received:a.string().optional(),uri:a.string().optional()}),E$=Z.extend({records:tg.array()}),rg=a.object({to:du,from:a.string(),received:a.string().optional(),boostUris:a.array(a.string()),credentialUris:a.array(a.string()).optional()}),A$=Z.extend({records:rg.array()}),T$=a.object({endpoint:a.string(),name:a.string(),did:a.string().optional()}),Z$=a.object({ttlSeconds:a.number().optional(),totalUses:a.number().optional()}),ng=a.object({endpoint:a.string()}),V$=a.object({signingAuthority:ng,relationship:a.object({name:a.string().max(15).regex(/^[a-z0-9-]+$/,{message:"The input string must contain only lowercase letters, numbers, and hyphens."}),did:a.string(),isPrimary:a.boolean().optional()})}),R$=a.object({boostUri:a.string(),signingAuthority:a.object({endpoint:a.string(),name:a.string()})}),ig=al.partial().omit({uri:!0,claimPermissions:!0}).extend({credential:le.or(re),claimPermissions:Jr.partial().optional(),skills:a.array(a.object({frameworkId:a.string(),id:a.string(),proficiencyLevel:a.number().optional()})).min(1).optional()}),og=a.object({issuerName:a.string().optional().describe("Name of the issuing organization"),issuerLogoUrl:a.string().url().optional().describe("Logo URL of the issuing organization"),credentialName:a.string().optional().describe("Display name for the credential"),recipientName:a.string().optional().describe("Name of the recipient for personalization")}),ag=a.object({webhookUrl:a.string().url().optional().describe("Webhook URL to receive claim notifications"),suppressDelivery:a.boolean().optional().describe("If true, returns claimUrl without sending email/SMS"),branding:og.optional().describe("Branding for email/SMS delivery")}),sg=a.object({type:a.literal("boost"),recipient:a.string().describe("Profile ID, DID, email, or phone number (auto-detected)"),contractUri:a.string().optional(),templateUri:a.string().optional(),template:ig.optional(),signedCredential:le.optional(),options:ag.optional().describe("Options for email/phone recipients (Universal Inbox)"),templateData:a.record(a.string(),a.unknown()).optional(),integrationId:a.string().optional().describe("Integration ID for activity tracking")}).refine(e=>e.templateUri||e.template,{message:"Either templateUri or template creation data must be provided.",path:["templateUri"]}),ug=a.object({issuanceId:a.string(),status:a.enum(["PENDING","ISSUED","EXPIRED","DELIVERED","CLAIMED"]),claimUrl:a.string().url().optional().describe("Present when suppressDelivery=true")}),cg=a.object({type:a.literal("boost"),credentialUri:a.string(),uri:a.string(),activityId:a.string().describe("Links to the activity lifecycle for this issuance"),inbox:ug.optional().describe("Present when sent via email/phone (Universal Inbox)")}),L$=a.discriminatedUnion("type",[sg]),F$=a.discriminatedUnion("type",[cg]),lg=a.enum(["live","stale","withdrawn"]),pu=a.object({read:a.object({anonymize:a.boolean().optional(),credentials:a.object({categories:a.record(a.string(),a.object({required:a.boolean(),defaultEnabled:a.boolean().optional()})).default({})}).prefault({categories:{}}),personal:a.record(a.string(),a.object({required:a.boolean(),defaultEnabled:a.boolean().optional()})).default({})}).prefault({credentials:{categories:{}},personal:{}}),write:a.object({credentials:a.object({categories:a.record(a.string(),a.object({required:a.boolean(),defaultEnabled:a.boolean().optional()})).default({})}).prefault({categories:{}}),personal:a.record(a.string(),a.object({required:a.boolean(),defaultEnabled:a.boolean().optional()})).default({})}).prefault({credentials:{categories:{}},personal:{}})}),sl=a.object({contract:pu,owner:V,name:a.string(),subtitle:a.string().optional(),description:a.string().optional(),reasonForAccessing:a.string().optional(),image:a.string().optional(),uri:a.string(),needsGuardianConsent:a.boolean().optional(),redirectUrl:a.string().optional(),frontDoorBoostUri:a.string().optional(),createdAt:a.string(),updatedAt:a.string(),expiresAt:a.string().optional(),autoBoosts:a.string().array().optional(),writers:a.array(V).optional()}),dg=a.enum(["pending","accepted","denied"]).nullable(),pg=a.enum(["unseen","seen"]).nullable(),mg=a.object({profile:V,status:dg,readStatus:pg.optional()}),B$=a.array(mg),M$=Z.extend({records:sl.omit({owner:!0}).array()}),fg=a.object({credentials:a.object({categories:a.record(a.string(),a.string().array()).default({})}),personal:a.record(a.string(),a.string()).default({}),date:a.string()}),q$=Z.extend({records:fg.array()}),gg=a.object({credentials:a.object({category:a.string(),uri:a.string()}).array(),personal:a.record(a.string(),a.string()).default({}),date:a.string(),contractUri:a.string()}),J$=Z.extend({records:gg.array()}),ul=a.object({sharing:a.boolean().optional(),shared:a.string().array().optional(),shareAll:a.boolean().optional(),shareUntil:a.string().optional()}),Xr=a.object({read:a.object({anonymize:a.boolean().optional(),credentials:a.object({shareAll:a.boolean().optional(),sharing:a.boolean().optional(),categories:a.record(a.string(),ul).default({})}).prefault({categories:{}}),personal:a.record(a.string(),a.string()).default({})}).prefault({credentials:{categories:{}},personal:{}}),write:a.object({credentials:a.object({categories:a.record(a.string(),a.boolean()).default({})}).prefault({categories:{}}),personal:a.record(a.string(),a.boolean()).default({})}).prefault({credentials:{categories:{}},personal:{}}),deniedWriters:a.array(a.string()).optional()}),G$=Z.extend({records:a.object({expiresAt:a.string().optional(),oneTime:a.boolean().optional(),terms:Xr,contract:sl,uri:a.string(),consenter:V,status:lg}).array()}),W$=a.object({read:a.object({anonymize:a.boolean().optional(),credentials:a.object({categories:a.record(a.string(),a.object({required:a.boolean().optional()})).optional()}).optional(),personal:a.record(a.string(),a.object({required:a.boolean().optional()})).optional()}).optional(),write:a.object({credentials:a.object({categories:a.record(a.string(),a.object({required:a.boolean().optional()})).optional()}).optional(),personal:a.record(a.string(),a.object({required:a.boolean().optional()})).optional()}).optional()}),K$=a.object({anonymize:a.boolean().optional(),credentials:a.object({categories:a.record(a.string(),a.boolean()).optional()}).optional(),personal:a.record(a.string(),a.boolean()).optional()}),X$=a.object({credentials:a.object({categories:a.record(a.string(),a.boolean()).optional()}).optional(),personal:a.record(a.string(),a.boolean()).optional(),id:j.optional()}),vg=a.object({read:a.object({anonymize:a.boolean().optional(),credentials:a.object({shareAll:a.boolean().optional(),sharing:a.boolean().optional(),categories:a.record(a.string(),ul.optional()).optional()}).optional(),personal:a.record(a.string(),a.string()).optional()}).optional(),write:a.object({credentials:a.object({categories:a.record(a.string(),a.boolean()).optional()}).optional(),personal:a.record(a.string(),a.boolean()).optional()}).optional()}),su=a.enum(["consent","update","sync","withdraw","write"]),H$=a.object({terms:vg.optional(),action:su.or(su.array()).optional(),date:a.object({$gt:a.string()}).or(a.object({$lt:a.string()})).or(a.object({$eq:a.string()})).optional(),expiresAt:a.object({$gt:a.string()}).or(a.object({$lt:a.string()})).or(a.object({$eq:a.string()})).optional(),oneTime:a.boolean().optional()}),cl=a.object({expiresAt:a.string().optional(),oneTime:a.boolean().optional(),terms:Xr.optional(),id:a.string(),action:su,date:a.string(),uris:a.string().array().optional()}),Q$=Z.extend({records:cl.array()}),Xc=a.object({id:j,name:j,description:j,sourceURI:j,status:j}).partial(),Y$=a.union([a.object({$or:Xc.array()}),Xc]),hg=a.object({credentialUri:a.string(),termsUri:a.string(),contractUri:a.string(),boostUri:a.string(),category:a.string().optional(),date:a.string()}),e_=Z.extend({records:hg.array()}),yg=a.enum(["CONNECTION_REQUEST","CONNECTION_REQUEST_EXPIRED_INVITE","CONNECTION_ACCEPTED","CREDENTIAL_RECEIVED","CREDENTIAL_ACCEPTED","BOOST_RECEIVED","BOOST_ACCEPTED","PRESENTATION_REQUEST","PRESENTATION_RECEIVED","CONSENT_FLOW_TRANSACTION","ISSUANCE_CLAIMED","ISSUANCE_DELIVERED","ISSUANCE_ERROR","PROFILE_PARENT_APPROVED","APP_LISTING_SUBMITTED","APP_LISTING_APPROVED","APP_LISTING_REJECTED","APP_LISTING_WITHDRAWN","DEVICE_LINK_REQUEST"]),bg=a.object({title:a.string().optional(),body:a.string().optional()}),$g=a.object({type:a.string(),value:a.string()}),Hr=a.enum(["PENDING","ISSUED","EXPIRED","DELIVERED","CLAIMED"]),_g=a.object({issuanceId:a.string(),status:Hr,recipient:a.object({contactMethod:$g.optional(),learnCardId:a.string().optional()}),timestamp:a.iso.datetime().optional()}),kg=a.object({vcUris:a.array(a.string()).optional(),vpUris:a.array(a.string()).optional(),transaction:cl.optional(),inbox:_g.optional(),metadata:a.record(a.string(),a.unknown()).optional()}).loose(),t_=a.object({type:yg,to:V.partial().and(a.object({did:a.string()})),from:V.partial().and(a.object({did:a.string()})),message:bg.optional(),data:kg.optional(),sent:a.iso.datetime().optional(),webhookUrl:a.string().optional()}),xg="auth-grant:",r_=a.object({id:a.string(),name:a.string(),description:a.string().optional(),challenge:a.string().startsWith(xg).min(10,{message:"Challenge is too short"}).max(100,{message:"Challenge is too long"}),status:a.enum(["revoked","active"],{error:uu(e=>e.code==="invalid_value"?"Status must be either active or revoked":"Status is required","error")}),scope:a.string(),createdAt:a.iso.datetime({error:"createdAt must be a valid ISO 8601 datetime string"}),expiresAt:a.iso.datetime({error:"expiresAt must be a valid ISO 8601 datetime string"}).nullish().optional()}),n_=a.object({id:a.string()}).catchall(a.any()),wg=a.enum(["active","revoked"]),i_=a.object({id:j,name:j,description:j,status:wg}).partial(),Hc=a.object({id:a.string(),isVerified:a.boolean(),verifiedAt:a.string().optional(),isPrimary:a.boolean(),createdAt:a.string()}),o_=a.discriminatedUnion("type",[a.object({type:a.literal("email"),value:a.string().email()}).merge(Hc),a.object({type:a.literal("phone"),value:a.string()}).merge(Hc)]),Qc=a.object({isVerified:a.boolean().optional(),isPrimary:a.boolean().optional()}),a_=a.discriminatedUnion("type",[a.object({type:a.literal("email"),value:a.string().email()}).merge(Qc),a.object({type:a.literal("phone"),value:a.string()}).merge(Qc)]),ll=a.discriminatedUnion("type",[a.object({type:a.literal("email"),value:a.string().email()}),a.object({type:a.literal("phone"),value:a.string()})]),Ig=a.object({value:a.string(),type:a.enum(["email","phone"])}),s_=a.object({token:a.string()}),u_=a.object({contactMethodId:a.string()}),c_=a.object({contactMethod:Ig,otpChallenge:a.string()}),l_=a.object({sessionJwt:a.string()}),Sg=a.object({id:a.string(),credential:a.string(),isSigned:a.boolean(),currentStatus:Hr,isAccepted:a.boolean().optional(),expiresAt:a.string(),createdAt:a.string(),issuerDid:a.string(),webhookUrl:a.string().optional(),boostUri:a.string().optional(),activityId:a.string().optional(),integrationId:a.string().optional(),signingAuthority:a.object({endpoint:a.string().optional(),name:a.string().optional()}).optional()}),d_=a.object({hasMore:a.boolean(),records:a.array(Sg),cursor:a.string().optional()}),p_=a.object({currentStatus:Hr,id:a.string(),isSigned:a.boolean(),isAccepted:a.boolean().optional(),issuerDid:a.string(),boostUri:a.string()}).partial(),zg=a.object({endpoint:a.string().url(),name:a.string()}),m_=a.object({recipient:ll.describe("The recipient of the credential"),credential:le.or(Et).or(re).optional().describe("The credential to issue. If not signed, the users default signing authority will be used, or the specified signing authority in the configuration."),templateUri:a.string().optional().describe("URI of a boost template to use for issuance. The boost credential will be resolved and used. Mutually exclusive with credential field."),configuration:a.object({signingAuthority:zg.optional().describe("The signing authority to use for the credential. If not provided, the users default signing authority will be used if the credential is not signed."),webhookUrl:a.string().url().optional().describe("The webhook URL to receive credential issuance events."),expiresInDays:a.number().min(1).max(365).optional().describe("The number of days the credential will be valid for."),templateData:a.record(a.string(),a.unknown()).optional().describe("Template data to render into the boost credential template using Mustache syntax. Only used when boostUri is provided."),delivery:a.object({suppress:a.boolean().optional().default(!1).describe("Whether to suppress delivery of the credential to the recipient. If true, the email/sms will not be sent to the recipient. Useful if you would like to manually send claim link to your users."),template:a.object({id:a.enum(["universal-inbox-claim"]).optional().describe("The template ID to use for the credential delivery. If not provided, the default template will be used."),model:a.object({issuer:a.object({name:a.string().optional().describe('The name of the organization (e.g., "State University").'),logoUrl:a.string().url().optional().describe("The URL of the organization's logo.")}).optional(),credential:a.object({name:a.string().optional().describe('The name of the credential (e.g., "Bachelor of Science").'),type:a.string().optional().describe('The type of the credential (e.g., "degree", "certificate").')}).optional(),recipient:a.object({name:a.string().optional().describe('The name of the recipient (e.g., "John Doe").')}).optional()}).describe("The template model to use for the credential delivery. Injects via template variables into email/sms templates. If not provided, the default template will be used.")}).optional().describe("The template to use for the credential delivery. If not provided, the default template will be used.")}).optional().describe("Configuration for the credential delivery i.e. email or SMS. When credentials are sent to a user who has a verified email or phone associated with their account, delivery is skipped, and the credential will be sent using in-app notifications. If not provided, the default configuration will be used.")}).optional().describe("Configuration for the credential issuance. If not provided, the default configuration will be used.")}).refine(e=>e.credential||e.templateUri,{message:"Either credential or templateUri must be provided.",path:["credential"]}),f_=a.object({issuanceId:a.string(),status:Hr,recipient:ll,claimUrl:a.string().url().optional(),recipientDid:a.string().optional()}),jg=a.object({name:a.string()}).passthrough(),g_=a.object({credential:le.or(Et).or(re).or(jg).describe("The credential to issue, or a { name } reference to resolve a boost template."),configuration:a.object({publishableKey:a.string(),signingAuthorityName:a.string().optional(),listingId:a.string().optional(),listingSlug:a.string().optional()}).optional()}),mu=a.union([a.string().regex(/^(?:(?:[a-zA-Z0-9-]{1,63}\.)+[a-zA-Z]{2,63}|localhost|\d{1,3}(?:\.\d{1,3}){3})(?::\d{1,5})?$/,{message:"Must be a valid domain (incl. subdomains), localhost, or IPv4, optionally with port"}),a.string().regex(/^https?:\/\/(?:(?:[a-zA-Z0-9-]{1,63}\.)+[a-zA-Z]{2,63}|localhost|\d{1,3}(?:\.\d{1,3}){3})(?::\d{1,5})?$/,{message:"Must be a valid http(s) origin"})]),dl=a.enum(["setup","active","paused"]),Pg=a.object({id:a.string(),name:a.string(),description:a.string().optional(),publishableKey:a.string(),whitelistedDomains:a.array(mu).default([]),status:dl.default("setup"),guideType:a.string().optional(),guideState:a.record(a.string(),a.any()).optional(),createdAt:a.string().optional(),updatedAt:a.string().optional()}),v_=a.object({name:a.string(),description:a.string().optional(),whitelistedDomains:a.array(mu).default([]),guideType:a.string().optional()}),h_=a.object({name:a.string().optional(),description:a.string().optional(),whitelistedDomains:a.array(mu).optional(),rotatePublishableKey:a.boolean().optional(),status:dl.optional(),guideType:a.string().optional(),guideState:a.record(a.string(),a.any()).optional()}),y_=a.object({id:j,name:j,description:j,status:j,guideType:j}).partial(),b_=Z.extend({records:Pg.array()}),$_=a.object({token:a.string(),contactMethodId:a.string(),autoVerifyContactMethod:a.boolean().optional().default(!1),createdAt:a.string(),expiresAt:a.string(),used:a.boolean()}),__=a.object({id:a.string(),name:a.string().min(1),slug:a.string().min(1),createdAt:a.string().optional(),updatedAt:a.string().optional()}),Ot=a.enum(["active","archived"]),fu=a.object({id:a.string(),statement:a.string(),description:a.string().optional(),code:a.string().optional(),icon:a.string().optional(),type:a.string().default("skill"),status:Ot.default("active"),frameworkId:a.string().optional(),createdAt:a.string().optional(),updatedAt:a.string().optional()}),Yc=a.object({id:j,statement:j,description:j,code:j,type:j,status:Ot.or(a.object({$in:Ot.array()}))}).partial(),k_=a.union([a.object({$or:Yc.array()}),Yc]),x_=a.object({text:a.string().min(1),frameworkId:a.string().optional(),limit:a.number().int().min(1).max(200).default(50)}),Cg=fu.extend({score:a.number()}),w_=a.object({records:Cg.array()}),gu=a.enum(["active","archived"]),pl=a.object({id:a.string(),name:a.string(),description:a.string().optional(),image:a.string().optional(),sourceURI:a.string().url().optional(),isPublic:a.boolean().default(!1),status:gu.default("active"),createdAt:a.string().optional(),updatedAt:a.string().optional()}),I_=Z.extend({records:pl.array()}),vu=fu.extend({children:a.array(a.lazy(()=>vu)),hasChildren:a.boolean(),childrenCursor:a.string().nullable().optional()}),Ng=a.object({hasMore:a.boolean(),cursor:a.string().nullable(),records:a.array(vu)}),Le=a.lazy(()=>a.object({id:a.string().optional(),statement:a.string(),description:a.string().optional(),code:a.string().optional(),icon:a.string().optional(),type:a.string().optional(),status:Ot.optional(),children:a.array(Le).optional()})),S_=a.object({frameworkId:a.string()}),Ug=a.object({id:a.string().optional(),name:a.string().min(1),description:a.string().optional(),image:a.string().optional(),sourceURI:a.string().url().optional(),isPublic:a.boolean().optional(),status:gu.optional(),skills:a.array(Le).optional(),boostUris:a.array(a.string()).optional()}),z_=a.object({id:a.string(),name:a.string().min(1).optional(),description:a.string().optional(),image:a.string().optional(),sourceURI:a.string().url().optional(),isPublic:a.boolean().optional(),status:gu.optional()}).refine(e=>e.name!==void 0||e.description!==void 0||e.image!==void 0||e.sourceURI!==void 0||e.isPublic!==void 0||e.status!==void 0,{message:"At least one field must be provided to update",path:["name"]}),j_=a.object({id:a.string()}),P_=a.object({frameworks:a.array(Ug.extend({skills:a.array(Le).optional()})).min(1)}),C_=a.object({frameworkId:a.string(),profileId:a.string()}),N_=a.object({frameworkId:a.string()}),U_=V.array(),D_=a.object({id:a.string()}),O_=a.object({slug:a.string().min(1),name:a.string().min(1)}),E_=a.object({frameworkId:a.string(),skill:Le,parentId:a.string().nullable().optional()}),A_=a.object({frameworkId:a.string(),id:a.string(),statement:a.string().optional(),description:a.string().optional(),code:a.string().optional(),icon:a.string().optional(),type:a.string().optional(),status:Ot.optional()}).refine(e=>e.statement!==void 0||e.description!==void 0||e.code!==void 0||e.icon!==void 0||e.type!==void 0||e.status!==void 0,{message:"At least one field must be provided to update a skill",path:["statement"]}),Dg=a.enum(["recursive","reparent"]),T_=a.object({frameworkId:a.string(),id:a.string(),strategy:Dg.optional().default("reparent")}),Z_=a.object({frameworkId:a.string(),skills:a.array(Le).min(1),parentId:a.string().nullable().optional()}),V_=a.object({frameworkId:a.string(),skills:a.array(Le).min(0)}),R_=a.object({created:a.number().int().min(0),updated:a.number().int().min(0),deleted:a.number().int().min(0),unchanged:a.number().int().min(0),total:a.number().int().min(0)}),L_=a.object({frameworkId:a.string(),skillId:a.string().optional(),recursive:a.boolean().optional().default(!1),onlyCountCompetencies:a.boolean().optional().default(!1)}),F_=a.object({count:a.number().int().min(0)}),B_=a.object({frameworkId:a.string()}),M_=a.object({skills:a.array(vu)}),q_=a.object({frameworkId:a.string(),skillId:a.string()}),J_=a.object({path:a.array(fu)}),G_=a.object({framework:pl,skills:Ng}),Og=a.enum(["DRAFT","PENDING_REVIEW","LISTED","ARCHIVED"]),Eg=a.enum(["EMBEDDED_IFRAME","SECOND_SCREEN","DIRECT_LINK","CONSENT_REDIRECT","SERVER_HEADLESS","AI_TUTOR"]),Ag=a.enum(["FEATURED_CAROUSEL","CURATED_LIST","STANDARD","DEMOTED"]),Tg=a.enum(["4+","9+","12+","17+"]),Zg=a.object({profileId:a.string(),displayName:a.string(),email:a.string().optional()}),Qr=a.object({listing_id:a.string(),slug:a.string().optional(),display_name:a.string(),tagline:a.string(),full_description:a.string(),icon_url:a.string(),app_listing_status:Og,launch_type:Eg,launch_config_json:a.string(),category:a.string().optional(),promo_video_url:a.string().optional(),promotion_level:Ag.optional(),ios_app_store_id:a.string().optional(),android_app_store_id:a.string().optional(),privacy_policy_url:a.string().optional(),terms_url:a.string().optional(),highlights:a.array(a.string()).optional(),screenshots:a.array(a.string()).optional(),hero_background_color:a.string().optional(),min_age:a.number().int().min(0).max(18).optional(),age_rating:Tg.optional(),submitted_at:a.string().optional(),submitter:Zg.optional(),contact_email:a.string().email().optional()}),W_=Qr.omit({listing_id:!0,app_listing_status:!0,promotion_level:!0}),K_=Qr.partial().omit({listing_id:!0,app_listing_status:!0,promotion_level:!0}),Vg=Qr.extend({installed_at:a.string()}),X_=Z.extend({records:Qr.array()}),H_=Z.extend({records:Vg.array()}),Q_=a.object({templateAlias:a.string().min(1).max(50).regex(/^[a-z0-9-]+$/),boostUri:a.string()}),Rg=a.object({type:a.literal("send-credential"),templateAlias:a.string(),templateData:a.record(a.string(),a.unknown()).optional(),preventDuplicateClaim:a.boolean().optional()}),Lg=a.object({type:a.literal("check-credential"),templateAlias:a.string().optional(),boostUri:a.string().optional()}).refine(e=>!!e.templateAlias!=!!e.boostUri,{message:"Exactly one of templateAlias or boostUri is required"}),Fg=a.object({type:a.literal("check-issuance-status"),templateAlias:a.string().optional(),boostUri:a.string().optional(),recipient:a.string()}).refine(e=>!!e.templateAlias!=!!e.boostUri,{message:"Exactly one of templateAlias or boostUri is required"}),Bg=a.object({type:a.literal("get-template-recipients"),templateAlias:a.string().optional(),boostUri:a.string().optional(),limit:a.number().optional(),cursor:a.string().optional()}).refine(e=>!!e.templateAlias!=!!e.boostUri,{message:"Exactly one of templateAlias or boostUri is required"}),Mg=a.discriminatedUnion("type",[Rg,Lg,Fg,Bg]),Y_=a.object({listingId:a.string(),event:Mg}),ek=a.record(a.string(),a.unknown()),qg=a.enum(["CREATED","DELIVERED","CLAIMED","EXPIRED","FAILED"]),Jg=a.enum(["profile","email","phone"]),Gg=a.enum(["send","sendBoost","sendCredential","contract","claim","inbox","claimLink","acceptCredential","appEvent"]),Wg=a.object({id:a.string(),activityId:a.string(),eventType:qg,timestamp:a.string(),actorProfileId:a.string(),recipientType:Jg,recipientIdentifier:a.string(),boostUri:a.string().optional(),credentialUri:a.string().optional(),inboxCredentialId:a.string().optional(),integrationId:a.string().optional(),source:Gg,metadata:a.record(a.string(),a.unknown()).optional()}),Kg=Wg.extend({boost:a.object({id:a.string(),name:a.string().optional(),category:a.string().optional()}).optional(),recipientProfile:a.object({profileId:a.string(),displayName:a.string().optional()}).optional()}),tk=Z.extend({records:Kg.array()}),rk=a.object({total:a.number(),created:a.number(),delivered:a.number(),claimed:a.number(),expired:a.number(),failed:a.number(),claimRate:a.number()}),Ie,nk=(Ie=class extends Error{constructor(r,i){super(r),this.reason=i,this.name="AuthSessionError"}},s(Ie,"AuthSessionError"),uu(Ie,"AuthSessionError"),Ie);var bu=require("@learncard/helpers");var Xg=Object.prototype.toString,Be=Array.isArray||s(function(r){return Xg.call(r)==="[object Array]"},"isArrayPolyfill");function yu(e){return typeof e=="function"}s(yu,"isFunction");function Hg(e){return Be(e)?"array":typeof e}s(Hg,"typeStr");function hu(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}s(hu,"escapeRegExp");function ml(e,r){return e!=null&&typeof e=="object"&&r in e}s(ml,"hasProperty");function Qg(e,r){return e!=null&&typeof e!="object"&&e.hasOwnProperty&&e.hasOwnProperty(r)}s(Qg,"primitiveHasOwnProperty");var Yg=RegExp.prototype.test;function ev(e,r){return Yg.call(e,r)}s(ev,"testRegExp");var tv=/\S/;function rv(e){return!ev(tv,e)}s(rv,"isWhitespace");var nv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function iv(e){return String(e).replace(/[&<>"'`=\/]/g,s(function(i){return nv[i]},"fromEntityMap"))}s(iv,"escapeHtml");var ov=/\s*/,av=/\s+/,fl=/\s*=/,sv=/\s*\}/,uv=/#|\^|\/|>|\{|&|=|!/;function cv(e,r){if(!e)return[];var i=!1,n=[],t=[],o=[],u=!1,l=!1,f="",g=0;function m(){if(u&&!l)for(;o.length;)delete t[o.pop()];else o=[];u=!1,l=!1}s(m,"stripSpace");var y,p,c;function d(G){if(typeof G=="string"&&(G=G.split(av,2)),!Be(G)||G.length!==2)throw new Error("Invalid tags: "+G);y=new RegExp(hu(G[0])+"\\s*"),p=new RegExp("\\s*"+hu(G[1])),c=new RegExp("\\s*"+hu("}"+G[1]))}s(d,"compileTags"),d(r||ee.tags);for(var v=new Tt(e),$,w,I,S,C,A;!v.eos();){if($=v.pos,I=v.scanUntil(y),I)for(var X=0,E=I.length;X<E;++X)S=I.charAt(X),rv(S)?(o.push(t.length),f+=S):(l=!0,i=!0,f+=" "),t.push(["text",S,$,$+1]),$+=1,S===`
24
+ `&&(m(),f="",g=0,i=!1);if(!v.scan(y))break;if(u=!0,w=v.scan(uv)||"name",v.scan(ov),w==="="?(I=v.scanUntil(fl),v.scan(fl),v.scanUntil(p)):w==="{"?(I=v.scanUntil(c),v.scan(sv),v.scanUntil(p),w="&"):I=v.scanUntil(p),!v.scan(p))throw new Error("Unclosed tag at "+v.pos);if(w==">"?C=[w,I,$,v.pos,f,g,i]:C=[w,I,$,v.pos],g++,t.push(C),w==="#"||w==="^")n.push(C);else if(w==="/"){if(A=n.pop(),!A)throw new Error('Unopened section "'+I+'" at '+$);if(A[1]!==I)throw new Error('Unclosed section "'+A[1]+'" at '+$)}else w==="name"||w==="{"||w==="&"?l=!0:w==="="&&d(I)}if(m(),A=n.pop(),A)throw new Error('Unclosed section "'+A[1]+'" at '+v.pos);return dv(lv(t))}s(cv,"parseTemplate");function lv(e){for(var r=[],i,n,t=0,o=e.length;t<o;++t)i=e[t],i&&(i[0]==="text"&&n&&n[0]==="text"?(n[1]+=i[1],n[3]=i[3]):(r.push(i),n=i));return r}s(lv,"squashTokens");function dv(e){for(var r=[],i=r,n=[],t,o,u=0,l=e.length;u<l;++u)switch(t=e[u],t[0]){case"#":case"^":i.push(t),n.push(t),i=t[4]=[];break;case"/":o=n.pop(),o[5]=t[2],i=n.length>0?n[n.length-1][4]:r;break;default:i.push(t)}return r}s(dv,"nestTokens");function Tt(e){this.string=e,this.tail=e,this.pos=0}s(Tt,"Scanner");Tt.prototype.eos=s(function(){return this.tail===""},"eos");Tt.prototype.scan=s(function(r){var i=this.tail.match(r);if(!i||i.index!==0)return"";var n=i[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},"scan");Tt.prototype.scanUntil=s(function(r){var i=this.tail.search(r),n;switch(i){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=n.length,n},"scanUntil");function Fe(e,r){this.view=e,this.cache={".":this.view},this.parent=r}s(Fe,"Context");Fe.prototype.push=s(function(r){return new Fe(r,this)},"push");Fe.prototype.lookup=s(function(r){var i=this.cache,n;if(i.hasOwnProperty(r))n=i[r];else{for(var t=this,o,u,l,f=!1;t;){if(r.indexOf(".")>0)for(o=t.view,u=r.split("."),l=0;o!=null&&l<u.length;)l===u.length-1&&(f=ml(o,u[l])||Qg(o,u[l])),o=o[u[l++]];else o=t.view[r],f=ml(t.view,r);if(f){n=o;break}t=t.parent}i[r]=n}return yu(n)&&(n=n.call(this.view)),n},"lookup");function B(){this.templateCache={_cache:{},set:s(function(r,i){this._cache[r]=i},"set"),get:s(function(r){return this._cache[r]},"get"),clear:s(function(){this._cache={}},"clear")}}s(B,"Writer");B.prototype.clearCache=s(function(){typeof this.templateCache<"u"&&this.templateCache.clear()},"clearCache");B.prototype.parse=s(function(r,i){var n=this.templateCache,t=r+":"+(i||ee.tags).join(":"),o=typeof n<"u",u=o?n.get(t):void 0;return u==null&&(u=cv(r,i),o&&n.set(t,u)),u},"parse");B.prototype.render=s(function(r,i,n,t){var o=this.getConfigTags(t),u=this.parse(r,o),l=i instanceof Fe?i:new Fe(i,void 0);return this.renderTokens(u,l,n,r,t)},"render");B.prototype.renderTokens=s(function(r,i,n,t,o){for(var u="",l,f,g,m=0,y=r.length;m<y;++m)g=void 0,l=r[m],f=l[0],f==="#"?g=this.renderSection(l,i,n,t,o):f==="^"?g=this.renderInverted(l,i,n,t,o):f===">"?g=this.renderPartial(l,i,n,o):f==="&"?g=this.unescapedValue(l,i):f==="name"?g=this.escapedValue(l,i,o):f==="text"&&(g=this.rawValue(l)),g!==void 0&&(u+=g);return u},"renderTokens");B.prototype.renderSection=s(function(r,i,n,t,o){var u=this,l="",f=i.lookup(r[1]);function g(p){return u.render(p,i,n,o)}if(s(g,"subRender"),!!f){if(Be(f))for(var m=0,y=f.length;m<y;++m)l+=this.renderTokens(r[4],i.push(f[m]),n,t,o);else if(typeof f=="object"||typeof f=="string"||typeof f=="number")l+=this.renderTokens(r[4],i.push(f),n,t,o);else if(yu(f)){if(typeof t!="string")throw new Error("Cannot use higher-order sections without the original template");f=f.call(i.view,t.slice(r[3],r[5]),g),f!=null&&(l+=f)}else l+=this.renderTokens(r[4],i,n,t,o);return l}},"renderSection");B.prototype.renderInverted=s(function(r,i,n,t,o){var u=i.lookup(r[1]);if(!u||Be(u)&&u.length===0)return this.renderTokens(r[4],i,n,t,o)},"renderInverted");B.prototype.indentPartial=s(function(r,i,n){for(var t=i.replace(/[^ \t]/g,""),o=r.split(`
25
+ `),u=0;u<o.length;u++)o[u].length&&(u>0||!n)&&(o[u]=t+o[u]);return o.join(`
26
+ `)},"indentPartial");B.prototype.renderPartial=s(function(r,i,n,t){if(n){var o=this.getConfigTags(t),u=yu(n)?n(r[1]):n[r[1]];if(u!=null){var l=r[6],f=r[5],g=r[4],m=u;f==0&&g&&(m=this.indentPartial(u,g,l));var y=this.parse(m,o);return this.renderTokens(y,i,n,m,t)}}},"renderPartial");B.prototype.unescapedValue=s(function(r,i){var n=i.lookup(r[1]);if(n!=null)return n},"unescapedValue");B.prototype.escapedValue=s(function(r,i,n){var t=this.getConfigEscape(n)||ee.escape,o=i.lookup(r[1]);if(o!=null)return typeof o=="number"&&t===ee.escape?String(o):t(o)},"escapedValue");B.prototype.rawValue=s(function(r){return r[1]},"rawValue");B.prototype.getConfigTags=s(function(r){return Be(r)?r:r&&typeof r=="object"?r.tags:void 0},"getConfigTags");B.prototype.getConfigEscape=s(function(r){if(r&&typeof r=="object"&&!Be(r))return r.escape},"getConfigEscape");var ee={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){At.templateCache=e},get templateCache(){return At.templateCache}},At=new B;ee.clearCache=s(function(){return At.clearCache()},"clearCache");ee.parse=s(function(r,i){return At.parse(r,i)},"parse");ee.render=s(function(r,i,n,t){if(typeof r!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+Hg(r)+'" was given as the first argument for mustache#render(template, view, partials)');return At.render(r,i,n,t)},"render");ee.escape=iv;ee.Scanner=Tt;ee.Context=Fe;ee.Writer=B;var gl=ee;var pv=s(e=>e==null?"":String(e).replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\f/g,"\\f").replace(/[\b]/g,"\\b"),"escapeJsonStringValue"),mv=s(e=>{let r={};for(let[i,n]of Object.entries(e))r[i]=pv(n);return r},"prepareTemplateData"),vl=s((e,r)=>{let i=mv(r),n=e.replace(/\{\{([^{}]+)\}\}/g,"{{{$1}}}");return gl.render(n,i)},"renderTemplateJson"),Yr=s(e=>!!e&&"did"in e&&typeof e.did=="string"&&e.did.length>0,"hasDid");async function fv(e,r,i,n){let t=typeof i=="string"?i:void 0,o=(typeof i=="object"?i?.guardianApprovalGetter:void 0)??n?.guardianApprovalGetter,u="";try{let p=e?.id;p&&typeof p.did=="function"&&(u=p.did())}catch{e?.debug?.("LCN: no local DID available at init; will fetch from profile")}e?.debug?.("Adding LearnCardNetwork Plugin");let l=t?await(0,en.getApiTokenClient)(r,t,o):await(0,en.getClient)(r,async p=>{let c=await e.invoke.getDidAuthVp({proofFormat:"jwt",challenge:p});if(typeof c!="string")throw new Error("Error getting DID-Auth-JWT!");return c},o),f;e?.debug?.("LCN: initial getProfile query starting",{apiToken:!!t});let g=l.profile.getProfile.query().then(p=>(f=p,f?.did&&(u=f.did),e?.debug?.("LCN: initial getProfile success",{did:u}),p)).catch(p=>{e?.debug?.("LCN: getProfile failed (non-fatal)",p)}),m=s(async()=>{try{await g}catch{}if(!f&&t)try{e?.debug?.("LCN ensureUser: retrying getProfile with apiToken"),f=await l.profile.getProfile.query(),f?.did&&(u=f.did),e?.debug?.("LCN ensureUser: retry success",{did:u})}catch(p){e?.debug?.("LCN ensureUser: retry failed",p)}if(!f)throw new Error("Please make an account first!");return f},"ensureUser"),y=s(async(p,c)=>{try{return(await l.boost.getBoost.query({uri:c})).boost}catch(d){return e?.debug?.("LCN: getBoost failed for template retrieval, falling back to resolveFromLCN",d),p.invoke.resolveFromLCN(c)}},"getBoostTemplateForIssuance");return{name:"LearnCard Network",displayName:"LearnCard Network",description:"LearnCard Network Integration",id:{did:s((p,c)=>!c||c==="web"?u:e.id?.did?.(c),"did"),keypair:s((p,c)=>e.id?.keypair?.(c),"keypair")},read:{get:s(async(p,c)=>{if(p.debug?.("learnCard.read['LearnCard Network'].get"),!c)return;let d=c.split(":");if(d.length!==5)return;let[v,$]=d;if(!(v!=="lc"||$!=="network"))try{let w=await l.storage.resolve.query({uri:c});if("ciphertext"in w)try{let I=p.id.keypair();w=await p.invoke.decryptDagJwe(w,[I])}catch(I){p.debug?.("LCN read.get: skipping decryption (no keypair?)",I);return}return await le.or(Et).parseAsync(w)}catch(w){p.debug?.(w);return}},"get")},store:{upload:s(async(p,c)=>(p.debug?.("learnCard.store['LearnCard Network'].upload"),l.storage.store.mutate({item:c})),"upload"),uploadEncrypted:s(async(p,c,{recipients:d=[]}={recipients:[]})=>{p.debug?.("learnCard.store['LearnCard Network'].upload"),await m();let $=[u||f?.did||"",...d].filter(Boolean);if($.length===0)throw new Error("No recipients specified for encrypted upload; provide at least one DID");let w=await p.invoke.createDagJwe(c,$);return l.storage.store.mutate({item:w})},"uploadEncrypted")},methods:{createProfile:s(async(p,c)=>{try{await m()}catch{}if(f)throw new Error("Account already exists!");let d=await l.profile.createProfile.mutate(c);return f=await l.profile.getProfile.query(),u=d,d},"createProfile"),createServiceProfile:s(async(p,c)=>{try{await m()}catch{}let d=await l.profile.createServiceProfile.mutate(c);return f=await l.profile.getProfile.query(),u=d,d},"createServiceProfile"),createManagedProfile:s(async(p,c)=>await l.profileManager.createManagedProfile.mutate(c),"createManagedProfile"),createProfileManager:s(async(p,c)=>(await m(),await l.profileManager.createProfileManager.mutate(c)),"createProfileManager"),createChildProfileManager:s(async(p,c,d)=>(await m(),await l.profileManager.createChildProfileManager.mutate({parentUri:c,profile:d})),"createChildProfileManager"),createManagedServiceProfile:s(async(p,c)=>(await m(),await l.profile.createManagedServiceProfile.mutate(c)),"createManagedServiceProfile"),getAvailableProfiles:s(async(p,c={})=>(await m(),l.profile.getAvailableProfiles.query(c)),"getAvailableProfiles"),getManagedProfiles:s(async(p,c={})=>l.profileManager.getManagedProfiles.query(c),"getManagedProfiles"),getManagedServiceProfiles:s(async(p,c={})=>(await m(),l.profile.getManagedServiceProfiles.query(c)),"getManagedServiceProfiles"),updateProfile:s(async(p,c)=>(await m(),await l.profile.updateProfile.mutate(c)?(f=await l.profile.getProfile.query(),!0):!1),"updateProfile"),updateProfileManagerProfile:s(async(p,c)=>l.profileManager.updateProfileManager.mutate(c),"updateProfileManagerProfile"),deleteProfile:s(async()=>{if(!f)throw new Error("Account does not exist!");return await l.profile.deleteProfile.mutate()?(f=void 0,!0):!1},"deleteProfile"),getProfile:s(async(p,c)=>{try{await m()}catch{}return c?l.profile.getOtherProfile.query({profileId:c}):f},"getProfile"),getProfileManagerProfile:s(async(p,c)=>c?l.profileManager.getOtherProfileManager.query({id:c}):l.profileManager.getProfileManager.query(),"getProfileManagerProfile"),searchProfiles:s(async(p,c="",{limit:d=25,includeSelf:v=!1,includeConnectionStatus:$=!1,includeServiceProfiles:w=!1}={})=>l.profile.searchProfiles.query({input:c,limit:d,includeSelf:v,includeConnectionStatus:$,includeServiceProfiles:w}),"searchProfiles"),connectWith:s(async(p,c)=>(await m(),l.profile.connectWith.mutate({profileId:c})),"connectWith"),connectWithExpiredInvite:s(async(p,c)=>(await m(),l.profile.connectWithExpiredInvite.mutate({profileId:c})),"connectWithExpiredInvite"),cancelConnectionRequest:s(async(p,c)=>(await m(),l.profile.cancelConnectionRequest.mutate({profileId:c})),"cancelConnectionRequest"),connectWithInvite:s(async(p,c,d)=>(await m(),l.profile.connectWithInvite.mutate({profileId:c,challenge:d})),"connectWithInvite"),disconnectWith:s(async(p,c)=>(await m(),l.profile.disconnectWith.mutate({profileId:c})),"disconnectWith"),acceptConnectionRequest:s(async(p,c)=>(await m(),l.profile.acceptConnectionRequest.mutate({profileId:c})),"acceptConnectionRequest"),getConnections:s(async p=>(console.warn("The getConnections method is deprecated! Please use getPaginatedConnections instead!"),await m(),l.profile.connections.query()),"getConnections"),getPaginatedConnections:s(async(p,c)=>(await m(),l.profile.paginatedConnections.query(c)),"getPaginatedConnections"),getPendingConnections:s(async p=>(console.warn("The getPendingConnections method is deprecated! Please use getPaginatedPendingConnections instead!"),await m(),l.profile.pendingConnections.query()),"getPendingConnections"),getPaginatedPendingConnections:s(async(p,c)=>(await m(),l.profile.paginatedPendingConnections.query(c)),"getPaginatedPendingConnections"),getConnectionRequests:s(async p=>(console.warn("The getConnectionRequests method is deprecated! Please use getPaginatedConnectionRequests instead!"),await m(),l.profile.connectionRequests.query()),"getConnectionRequests"),getPaginatedConnectionRequests:s(async(p,c)=>(await m(),l.profile.paginatedConnectionRequests.query(c)),"getPaginatedConnectionRequests"),generateInvite:s(async(p,c,d,v)=>(await m(),l.profile.generateInvite.mutate({challenge:c,expiration:d,maxUses:v})),"generateInvite"),listInvites:s(async()=>(await m(),l.profile.listInvites.query()),"listInvites"),invalidateInvite:s(async(p,c)=>(await m(),l.profile.invalidateInvite.mutate({challenge:c})),"invalidateInvite"),blockProfile:s(async(p,c)=>(await m(),l.profile.blockProfile.mutate({profileId:c})),"blockProfile"),unblockProfile:s(async(p,c)=>(await m(),l.profile.unblockProfile.mutate({profileId:c})),"unblockProfile"),getBlockedProfiles:s(async()=>(await m(),l.profile.blocked.query()),"getBlockedProfiles"),sendCredential:s(async(p,c,d,v,$)=>{await m();let w,I=!0;if(typeof v=="boolean"?I=v:(v!==void 0&&(w=v),I=$??!0),!I)return l.credential.sendCredential.mutate({profileId:c,credential:d,metadata:w});let S=await p.invoke.getProfile(c);if(!S)throw new Error("Could not find target account");if(!Yr(S))throw new Error("Could not find target DID");let C=await p.invoke.createDagJwe(d,[p.id.did(),S.did]);return l.credential.sendCredential.mutate({profileId:c,credential:C,metadata:w})},"sendCredential"),acceptCredential:s(async(p,c,d)=>(await m(),l.credential.acceptCredential.mutate({uri:c,options:d})),"acceptCredential"),getReceivedCredentials:s(async(p,c)=>(await m(),l.credential.receivedCredentials.query({from:c})),"getReceivedCredentials"),getRevokedCredentials:s(async()=>(await m(),l.credential.getRevokedCredentials.query()),"getRevokedCredentials"),getSentCredentials:s(async(p,c)=>(await m(),l.credential.sentCredentials.query({to:c})),"getSentCredentials"),getIncomingCredentials:s(async(p,c)=>(await m(),l.credential.incomingCredentials.query({from:c})),"getIncomingCredentials"),deleteCredential:s(async(p,c)=>(await m(),l.credential.deleteCredential.mutate({uri:c})),"deleteCredential"),sendPresentation:s(async(p,c,d,v=!0)=>{if(await m(),!v)return l.presentation.sendPresentation.mutate({profileId:c,presentation:d});let $=await p.invoke.getProfile(c);if(!$)throw new Error("Could not find target account");if(!Yr($))throw new Error("Could not find target DID");let w=await p.invoke.createDagJwe(d,[p.id.did(),$.did]);return l.presentation.sendPresentation.mutate({profileId:c,presentation:w})},"sendPresentation"),acceptPresentation:s(async(p,c)=>(await m(),l.presentation.acceptPresentation.mutate({uri:c})),"acceptPresentation"),getReceivedPresentations:s(async(p,c)=>(await m(),l.presentation.receivedPresentations.query({from:c})),"getReceivedPresentations"),getSentPresentations:s(async(p,c)=>(await m(),l.presentation.sentPresentations.query({to:c})),"getSentPresentations"),getIncomingPresentations:s(async(p,c)=>(await m(),l.presentation.incomingPresentations.query({from:c})),"getIncomingPresentations"),deletePresentation:s(async(p,c)=>(await m(),l.presentation.deletePresentation.mutate({uri:c})),"deletePresentation"),createBoost:s(async(p,c,d)=>{await m();let{skills:v,...$}=d??{},w={credential:c,...$};return Array.isArray(v)&&v.length>0&&(w.skills=v),l.boost.createBoost.mutate(w)},"createBoost"),createChildBoost:s(async(p,c,d,v)=>{await m();let{skills:$,...w}=v||{},I={parentUri:c,boost:{credential:d,...w}};return Array.isArray($)&&$.length>0&&(I.skills=$),l.boost.createChildBoost.mutate(I)},"createChildBoost"),getBoost:s(async(p,c)=>(await m(),l.boost.getBoost.query({uri:c})),"getBoost"),getBoostSkills:s(async(p,c)=>(await m(),l.boost.getBoostSkills.query({uri:c})),"getBoostSkills"),getBoostFrameworks:s(async(p,c,d={})=>{if(!f)throw new Error("Please make an account first!");let{limit:v,cursor:$,query:w}=d??{};return l.boost.getBoostFrameworks.query({uri:c,limit:v,cursor:$,query:w})},"getBoostFrameworks"),getSkillsAvailableForBoost:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.boost.getSkillsAvailableForBoost.query({uri:c})},"getSkillsAvailableForBoost"),searchSkillsAvailableForBoost:s(async(p,c,d,v={})=>{if(!f)throw new Error("Please make an account first!");return l.boost.searchSkillsAvailableForBoost.query({uri:c,query:d,...v})},"searchSkillsAvailableForBoost"),getBoosts:s(async(p,c)=>(console.warn("The getBoosts method is deprecated! Please use getPaginatedBoosts instead!"),await m(),l.boost.getBoosts.query({query:c})),"getBoosts"),countBoosts:s(async(p,c)=>(await m(),l.boost.countBoosts.query({query:c})),"countBoosts"),getPaginatedBoosts:s(async(p,c)=>(await m(),l.boost.getPaginatedBoosts.query(c)),"getPaginatedBoosts"),getBoostChildren:s(async(p,c,d)=>(await m(),l.boost.getBoostChildren.query({uri:c,...d})),"getBoostChildren"),countBoostChildren:s(async(p,c,d)=>(await m(),l.boost.countBoostChildren.query({uri:c,...d})),"countBoostChildren"),getBoostSiblings:s(async(p,c,d)=>(await m(),l.boost.getBoostSiblings.query({uri:c,...d})),"getBoostSiblings"),countBoostSiblings:s(async(p,c,d)=>(await m(),l.boost.countBoostSiblings.query({uri:c,...d})),"countBoostSiblings"),getFamilialBoosts:s(async(p,c,d)=>(await m(),l.boost.getFamilialBoosts.query({uri:c,...d})),"getFamilialBoosts"),countFamilialBoosts:s(async(p,c,d)=>(await m(),l.boost.countFamilialBoosts.query({uri:c,...d})),"countFamilialBoosts"),getBoostParents:s(async(p,c,d)=>(await m(),l.boost.getBoostParents.query({uri:c,...d})),"getBoostParents"),countBoostParents:s(async(p,c,d)=>(await m(),l.boost.countBoostParents.query({uri:c,...d})),"countBoostParents"),makeBoostParent:s(async(p,c)=>(await m(),l.boost.makeBoostParent.mutate(c)),"makeBoostParent"),removeBoostParent:s(async(p,c)=>(await m(),l.boost.removeBoostParent.mutate(c)),"removeBoostParent"),getBoostRecipients:s(async(p,c,d=25,v=void 0,$=!0)=>(console.warn("The getBoostRecipients method is deprecated! Please use getPaginatedBoostRecipients instead!"),await m(),l.boost.getBoostRecipients.query({uri:c,limit:d,skip:v,includeUnacceptedBoosts:$})),"getBoostRecipients"),getPaginatedBoostRecipients:s(async(p,c,d=25,v=void 0,$=!0,w)=>(await m(),l.boost.getPaginatedBoostRecipients.query({uri:c,limit:d,cursor:v,includeUnacceptedBoosts:$,query:w})),"getPaginatedBoostRecipients"),getPaginatedBoostRecipientsWithChildren:s(async(p,c,d=25,v=void 0,$=!0,w,I,S=1)=>(await m(),l.boost.getPaginatedBoostRecipientsWithChildren.query({uri:c,limit:d,cursor:v,includeUnacceptedBoosts:$,boostQuery:w,profileQuery:I,numberOfGenerations:S})),"getPaginatedBoostRecipientsWithChildren"),countBoostRecipientsWithChildren:s(async(p,c,d=!0,v,$,w=1)=>{if(!f)throw new Error("Please make an account first!");return l.boost.getBoostRecipientsWithChildrenCount.query({uri:c,includeUnacceptedBoosts:d,boostQuery:v,profileQuery:$,numberOfGenerations:w})},"countBoostRecipientsWithChildren"),countBoostRecipients:s(async(p,c,d=!0)=>(await m(),l.boost.getBoostRecipientCount.query({uri:c,includeUnacceptedBoosts:d})),"countBoostRecipients"),getConnectedBoostRecipients:s(async(p,c,{limit:d=25,cursor:v=void 0,includeUnacceptedBoosts:$=!0,query:w}={})=>(await m(),l.boost.getConnectedBoostRecipients.query({uri:c,limit:d,cursor:v,includeUnacceptedBoosts:$,query:w})),"getConnectedBoostRecipients"),countConnectedBoostRecipients:s(async(p,c,d=!0)=>(await m(),l.boost.getConnectedBoostRecipientCount.query({uri:c,includeUnacceptedBoosts:d})),"countConnectedBoostRecipients"),getBoostChildrenProfileManagers:s(async(p,c,d)=>(await m(),l.boost.getChildrenProfileManagers.query({uri:c,...d})),"getBoostChildrenProfileManagers"),updateBoost:s(async(p,c,d,v)=>{await m();let{skills:$,...w}=d??{},I={uri:c,updates:{...v&&{credential:v},...w}};return Array.isArray($)&&(I.skills=$),l.boost.updateBoost.mutate(I)},"updateBoost"),attachFrameworkToBoost:s(async(p,c,d)=>{if(!f)throw new Error("Please make an account first!");return l.boost.attachFrameworkToBoost.mutate({boostUri:c,frameworkId:d})},"attachFrameworkToBoost"),detachFrameworkFromBoost:s(async(p,c,d)=>{if(!f)throw new Error("Please make an account first!");return l.boost.detachFrameworkFromBoost.mutate({boostUri:c,frameworkId:d})},"detachFrameworkFromBoost"),alignBoostSkills:s(async(p,c,d)=>{if(!f)throw new Error("Please make an account first!");return l.boost.alignBoostSkills.mutate({boostUri:c,skills:d})},"alignBoostSkills"),getBoostAdmins:s(async(p,c,d={})=>(await m(),l.boost.getBoostAdmins.query({uri:c,...d})),"getBoostAdmins"),getBoostPermissions:s(async(p,c,d)=>(await m(),d?l.boost.getOtherBoostPermissions.query({uri:c,profileId:d}):l.boost.getBoostPermissions.query({uri:c})),"getBoostPermissions"),updateBoostPermissions:s(async(p,c,d,v)=>{if(await m(),!v)return l.boost.updateBoostPermissions.query({uri:c,updates:d});let $=await l.boost.updateOtherBoostPermissions.query({uri:c,profileId:v,updates:d});return $&&await p.invoke.clearDidWebCache?.(),$},"updateBoostPermissions"),addBoostAdmin:s(async(p,c,d)=>{await m();let v=await l.boost.addBoostAdmin.mutate({uri:c,profileId:d});return v&&await p.invoke.clearDidWebCache?.(),v},"addBoostAdmin"),removeBoostAdmin:s(async(p,c,d)=>{await m();let v=await l.boost.removeBoostAdmin.mutate({uri:c,profileId:d});return v&&await p.invoke.clearDidWebCache?.(),v},"removeBoostAdmin"),revokeBoostRecipient:s(async(p,c,d)=>(await m(),l.boost.revokeBoostRecipient.mutate({boostUri:c,recipientProfileId:d})),"revokeBoostRecipient"),deleteBoost:s(async(p,c)=>(await m(),l.boost.deleteBoost.mutate({uri:c})),"deleteBoost"),sendBoost:s(async(p,c,d,v={encrypt:!0,skipNotification:!1,templateData:{}})=>{await m();let $=await y(p,d),w=await re.spa($);if(!w.success)throw new Error("Did not get a valid boost from URI");let I=await p.invoke.getProfile(c);if(!I)throw new Error("Target profile not found");if(!Yr(I))throw new Error("Target profile has no DID");let S=w.data;if((0,bu.isVC2Format)(S)?S.validFrom=new Date().toISOString():S.issuanceDate=new Date().toISOString(),S.issuer=p.id.did(),Array.isArray(S.credentialSubject)?S.credentialSubject=S.credentialSubject.map(E=>({...E,id:I.did})):S.credentialSubject.id=I.did,S?.type?.includes("BoostCredential")&&(S.boostId=d),typeof v=="object"&&v.templateData&&Object.keys(v.templateData).length>0)try{let E=JSON.stringify(S),G=vl(E,v.templateData);S=JSON.parse(G)}catch(E){throw new Error(`Template substitution failed: ${E instanceof Error?E.message:"Unknown error"}. Please check your templateData variables and ensure the rendered output is valid JSON.`)}typeof v=="object"&&v.overideFn&&(S=v.overideFn(S));let C=await p.invoke.issueCredential(S);if(typeof v=="object"&&!v.encrypt||!v)return l.boost.sendBoost.mutate({profileId:c,uri:d,credential:C,options:{skipNotification:typeof v=="object"&&v.skipNotification}});let A=await l.utilities.getDid.query(),X=await p.invoke.createDagJwe(C,[p.id.did(),I.did,A]);return l.boost.sendBoost.mutate({profileId:c,uri:d,credential:X,options:{skipNotification:typeof v=="object"&&v.skipNotification}})},"sendBoost"),registerSigningAuthority:s(async(p,c,d,v)=>(await m(),l.profile.registerSigningAuthority.mutate({endpoint:c,name:d,did:v})),"registerSigningAuthority"),getRegisteredSigningAuthorities:s(async p=>(await m(),l.profile.signingAuthorities.query()),"getRegisteredSigningAuthorities"),getRegisteredSigningAuthority:s(async(p,c,d)=>(await m(),l.profile.signingAuthority.query({endpoint:c,name:d})),"getRegisteredSigningAuthority"),setPrimaryRegisteredSigningAuthority:s(async(p,c,d)=>(await m(),l.profile.setPrimarySigningAuthority.mutate({endpoint:c,name:d})),"setPrimaryRegisteredSigningAuthority"),getPrimaryRegisteredSigningAuthority:s(async p=>(await m(),l.profile.primarySigningAuthority.query()),"getPrimaryRegisteredSigningAuthority"),generateClaimLink:s(async(p,c,d,v,$)=>(await m(),l.boost.generateClaimLink.mutate({boostUri:c,claimLinkSA:d,options:v,challenge:$})),"generateClaimLink"),claimBoostWithLink:s(async(p,c,d)=>(await m(),l.boost.claimBoostWithLink.mutate({boostUri:c,challenge:d})),"claimBoostWithLink"),send:s(async(p,c)=>{if(await m(),c.type==="boost"){let d=c.recipient,v=d.startsWith("did:"),$=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d),w=/^\+?[\d\s-]{10,}$/.test(d.replace(/[\s-]/g,""));if("issueCredential"in p.invoke&&(v||!$&&!w)&&c.templateUri){let C=await y(p,c.templateUri),A=await re.spa(C);if(A.success){let X;if(v)X=d;else{let oe=await p.invoke.getProfile(d);if(!Yr(oe))return l.boost.send.mutate(c);X=oe.did}let E=A.data;if(c.templateData&&Object.keys(c.templateData).length>0)try{let oe=JSON.stringify(E),hl=vl(oe,c.templateData);E=JSON.parse(hl)}catch(oe){throw new Error(`Failed to apply template data: ${oe instanceof Error?oe.message:"Unknown error"}`)}(0,bu.isVC2Format)(E)?E.validFrom=new Date().toISOString():E.issuanceDate=new Date().toISOString(),E.issuer=p.id.did(),Array.isArray(E.credentialSubject)?E.credentialSubject=E.credentialSubject.map(oe=>({...oe,id:X})):E.credentialSubject={...E.credentialSubject,id:X},E?.type?.includes("BoostCredential")&&(E.boostId=c.templateUri);let G=await p.invoke.issueCredential(E);return l.boost.send.mutate({...c,signedCredential:G})}}}return l.boost.send.mutate(c)},"send"),createContract:s(async(p,c)=>(await m(),l.contracts.createConsentFlowContract.mutate(c)),"createContract"),addAutoBoostsToContract:s(async(p,c,d)=>(await m(),l.contracts.addAutoBoostsToContract.mutate({contractUri:c,autoboosts:d})),"addAutoBoostsToContract"),removeAutoBoostsFromContract:s(async(p,c,d)=>(await m(),l.contracts.removeAutoBoostsFromContract.mutate({contractUri:c,boostUris:d})),"removeAutoBoostsFromContract"),getContract:s(async(p,c)=>l.contracts.getConsentFlowContract.query({uri:c}),"getContract"),getContracts:s(async(p,c)=>(await m(),l.contracts.getConsentFlowContracts.query(c)),"getContracts"),deleteContract:s(async(p,c)=>(await m(),l.contracts.deleteConsentFlowContract.mutate({uri:c})),"deleteContract"),getConsentFlowData:s(async(p,c,d={})=>(await m(),l.contracts.getConsentedDataForContract.query({uri:c,...d})),"getConsentFlowData"),getConsentFlowDataForDid:s(async(p,c,d={})=>(await m(),l.contracts.getConsentedDataForDid.query({did:c,...d})),"getConsentFlowDataForDid"),getAllConsentFlowData:s(async(p,c={},d={})=>(await m(),l.contracts.getConsentedData.query({query:c,...d})),"getAllConsentFlowData"),writeCredentialToContract:s(async(p,c,d,v,$)=>(await m(),l.contracts.writeCredentialToContract.mutate({did:c,contractUri:d,credential:v,boostUri:$})),"writeCredentialToContract"),consentToContract:s(async(p,c,{terms:d,expiresAt:v,oneTime:$},w)=>(await m(),l.contracts.consentToContract.mutate({contractUri:c,terms:d,expiresAt:v,oneTime:$,recipientToken:w})),"consentToContract"),getConsentedContracts:s(async(p,c)=>(await m(),l.contracts.getConsentedContracts.query(c)),"getConsentedContracts"),updateContractTerms:s(async(p,c,{terms:d,expiresAt:v,oneTime:$})=>(await m(),l.contracts.updateConsentedContractTerms.mutate({uri:c,terms:d,expiresAt:v,oneTime:$})),"updateContractTerms"),withdrawConsent:s(async(p,c)=>(await m(),l.contracts.withdrawConsent.mutate({uri:c})),"withdrawConsent"),getConsentFlowTransactions:s(async(p,c,d)=>(await m(),l.contracts.getTermsTransactionHistory.query({uri:c,...d})),"getConsentFlowTransactions"),getCredentialsForContract:s(async(p,c,d={})=>(await m(),l.contracts.getCredentialsForContract.query({termsUri:c,...d})),"getCredentialsForContract"),getConsentFlowCredentials:s(async(p,c={})=>(await m(),l.contracts.getAllCredentialsForTerms.query(c)),"getConsentFlowCredentials"),verifyConsent:s(async(p,c,d)=>(await m(),l.contracts.verifyConsent.query({uri:c,profileId:d})),"verifyConsent"),syncCredentialsToContract:s(async(p,c,d)=>(await m(),l.contracts.syncCredentialsToContract.mutate({termsUri:c,categories:d})),"syncCredentialsToContract"),sendAiInsightsContractRequest:s(async(p,c,d,v)=>(await m(),l.contracts.sendAiInsightsContractRequest.mutate({contractUri:c,targetProfileId:d,shareLink:v})),"sendAiInsightsContractRequest"),sendAiInsightShareRequest:s(async(p,c,d,v)=>(await m(),l.contracts.sendAiInsightShareRequest.mutate({targetProfileId:c,shareLink:d,childProfileId:v})),"sendAiInsightShareRequest"),getContractSentRequests:s(async(p,c)=>(await m(),l.contracts.getContractSentRequests.query({contractUri:c})),"getContractSentRequests"),getRequestStatusForProfile:s(async(p,c,d,v)=>(await m(),l.contracts.getRequestStatusForProfile.query({targetProfileId:c,contractId:d??null,contractUri:v??null})),"getRequestStatusForProfile"),getAllContractRequestsForProfile:s(async(p,c)=>(await m(),l.contracts.getAllContractRequestsForProfile.query({targetProfileId:c})),"getAllContractRequestsForProfile"),getSharedInsightsRequestsForProfile:s(async(p,c)=>(await m(),l.contracts.getSharedInsightsRequestsForProfile.query({targetProfileId:c})),"getSharedInsightsRequestsForProfile"),forwardContractRequestToProfile:s(async(p,c,d,v)=>(await m(),l.contracts.forwardContractRequestToProfile.mutate({parentProfileId:c,targetProfileId:d,contractUri:v})),"forwardContractRequestToProfile"),markContractRequestAsSeen:s(async(p,c,d)=>(await m(),l.contracts.markContractRequestAsSeen.mutate({contractUri:c,targetProfileId:d})),"markContractRequestAsSeen"),cancelContractRequest:s(async(p,c,d)=>(await m(),l.contracts.cancelContractRequest.mutate({contractUri:c,targetProfileId:d})),"cancelContractRequest"),addDidMetadata:s(async(p,c)=>{await m();let d=await l.didMetadata.addDidMetadata.mutate(c);return d&&await p.invoke.clearDidWebCache?.(),d},"addDidMetadata"),getDidMetadata:s(async(p,c)=>(await m(),l.didMetadata.getDidMetadata.query({id:c})),"getDidMetadata"),getMyDidMetadata:s(async()=>(await m(),l.didMetadata.getMyDidMetadata.query()),"getMyDidMetadata"),updateDidMetadata:s(async(p,c,d)=>{await m();let v=await l.didMetadata.updateDidMetadata.mutate({id:c,updates:d});return v&&await p.invoke.clearDidWebCache?.(),v},"updateDidMetadata"),deleteDidMetadata:s(async(p,c)=>{await m();let d=await l.didMetadata.deleteDidMetadata.mutate({id:c});return d&&await p.invoke.clearDidWebCache?.(),d},"deleteDidMetadata"),createClaimHook:s(async(p,c)=>(await m(),l.claimHook.createClaimHook.mutate({hook:c})),"createClaimHook"),getClaimHooksForBoost:s(async(p,c)=>(await m(),l.claimHook.getClaimHooksForBoost.query(c)),"getClaimHooksForBoost"),deleteClaimHook:s(async(p,c)=>(await m(),l.claimHook.deleteClaimHook.mutate({id:c})),"deleteClaimHook"),addAuthGrant:s(async(p,c)=>(await m(),l.authGrants.addAuthGrant.mutate(c)),"addAuthGrant"),revokeAuthGrant:s(async(p,c)=>(await m(),l.authGrants.revokeAuthGrant.mutate({id:c})),"revokeAuthGrant"),deleteAuthGrant:s(async(p,c)=>(await m(),l.authGrants.deleteAuthGrant.mutate({id:c})),"deleteAuthGrant"),updateAuthGrant:s(async(p,c,d)=>(await m(),l.authGrants.updateAuthGrant.mutate({id:c,updates:d})),"updateAuthGrant"),getAuthGrant:s(async(p,c)=>(await m(),l.authGrants.getAuthGrant.query({id:c})),"getAuthGrant"),getAuthGrants:s(async(p,c)=>(await m(),l.authGrants.getAuthGrants.query(c)),"getAuthGrants"),getAPITokenForAuthGrant:s(async(p,c)=>{await m();let d=await l.authGrants.getAuthGrant.query({id:c});if(!d)throw new Error("Auth grant not found");if(d.status!=="active")throw new Error("Auth grant is not active");if(!d.challenge)throw new Error("Auth grant has no challenge");if(!d.scope)throw new Error("Auth grant has no scope");if(d.expiresAt&&new Date(d.expiresAt)<new Date)throw new Error("Auth grant is expired");let v=await p.invoke.getDidAuthVp({challenge:d.challenge,proofFormat:"jwt"});if(!v)throw new Error("Failed to get API Token for auth grant");return v},"getAPITokenForAuthGrant"),sendCredentialViaInbox:s(async(p,c)=>(await m(),l.inbox.issue.mutate(c)),"sendCredentialViaInbox"),getMySentInboxCredentials:s(async(p,c)=>(await m(),l.inbox.getMyIssuedCredentials.query(c)),"getMySentInboxCredentials"),getInboxCredential:s(async(p,c)=>(await m(),l.inbox.getInboxCredential.query({credentialId:c})),"getInboxCredential"),finalizeInboxCredentials:s(async p=>(await m(),l.inbox.finalize.mutate()),"finalizeInboxCredentials"),sendGuardianApprovalEmail:s(async(p,c)=>(await m(),l.inbox.sendGuardianApprovalEmail.mutate(c)),"sendGuardianApprovalEmail"),approveGuardianRequest:s(async(p,c)=>l.inbox.approveGuardianRequest.mutate({token:c}),"approveGuardianRequest"),approveGuardianRequestByPath:s(async(p,c)=>l.inbox.approveGuardianRequestByPath.query({token:c}),"approveGuardianRequestByPath"),addContactMethod:s(async(p,c)=>(await m(),l.contactMethods.addContactMethod.mutate(c)),"addContactMethod"),getMyContactMethods:s(async p=>(await m(),l.contactMethods.getMyContactMethods.query()),"getMyContactMethods"),setPrimaryContactMethod:s(async(p,c)=>(await m(),l.contactMethods.setPrimaryContactMethod.mutate({contactMethodId:c})),"setPrimaryContactMethod"),verifyContactMethod:s(async(p,c)=>(await m(),l.contactMethods.verifyContactMethod.mutate({token:c})),"verifyContactMethod"),verifyContactMethodWithCredential:s(async(p,c)=>(await m(),l.contactMethods.verifyWithCredential.mutate({proofOfLoginJwt:c})),"verifyContactMethodWithCredential"),removeContactMethod:s(async(p,c)=>(await m(),l.contactMethods.removeContactMethod.mutate({id:c})),"removeContactMethod"),syncFrameworkSkills:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skills.syncFrameworkSkills.mutate(c)},"syncFrameworkSkills"),listSkillTags:s(async(p,c,d)=>{if(!f)throw new Error("Please make an account first!");return l.skills.listSkillTags.query({frameworkId:c,id:d})},"listSkillTags"),addSkillTag:s(async(p,c,d,v)=>{if(!f)throw new Error("Please make an account first!");return l.skills.addSkillTag.mutate({frameworkId:c,id:d,tag:v})},"addSkillTag"),removeSkillTag:s(async(p,c,d,v)=>{if(!f)throw new Error("Please make an account first!");return l.skills.removeSkillTag.mutate({frameworkId:c,id:d,slug:v})},"removeSkillTag"),createManagedSkillFramework:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.createManaged.mutate(c)},"createManagedSkillFramework"),createManagedSkillFrameworks:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.createManagedBatch.mutate(c)},"createManagedSkillFrameworks"),createSkillFramework:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.create.mutate(c)},"createSkillFramework"),listMySkillFrameworks:s(async p=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.listMine.query()},"listMySkillFrameworks"),getAllAvailableFrameworks:s(async(p,c={})=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.getAllAvailableFrameworks.query(c)},"getAllAvailableFrameworks"),getSkillFrameworkById:s(async(p,c,d={})=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.getById.query({id:c,...d})},"getSkillFrameworkById"),getBoostsThatUseFramework:s(async(p,c,d={})=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.getBoostsThatUseFramework.query({id:c,...d})},"getBoostsThatUseFramework"),countBoostsThatUseFramework:s(async(p,c,d={})=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.countBoostsThatUseFramework.query({id:c,...d})},"countBoostsThatUseFramework"),getFrameworkSkillTree:s(async(p,c,d={})=>{if(!f)throw new Error("Please make an account first!");return l.skills.getFrameworkSkillTree.query({id:c,...d})},"getFrameworkSkillTree"),getSkillChildren:s(async(p,c,d,v={})=>{if(!f)throw new Error("Please make an account first!");return l.skills.getSkillChildrenTree.query({frameworkId:c,id:d,...v})},"getSkillChildren"),searchFrameworkSkills:s(async(p,c,d,v={})=>{if(!f)throw new Error("Please make an account first!");return l.skills.searchFrameworkSkills.query({id:c,query:d,...v})},"searchFrameworkSkills"),semanticSearchSkills:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skills.semanticSearchSkills.query(c)},"semanticSearchSkills"),updateSkillFramework:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.update.mutate(c)},"updateSkillFramework"),deleteSkillFramework:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.delete.mutate({id:c})},"deleteSkillFramework"),replaceSkillFrameworkSkills:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.replaceSkills.mutate(c)},"replaceSkillFrameworkSkills"),countSkills:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skills.countSkills.query(c)},"countSkills"),getFullSkillTree:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skills.getFullSkillTree.query(c)},"getFullSkillTree"),getSkillPath:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skills.getSkillPath.query(c)},"getSkillPath"),getSkillFrameworkAdmins:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.listFrameworkAdmins.query({frameworkId:c})},"getSkillFrameworkAdmins"),addSkillFrameworkAdmin:s(async(p,c,d)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.addFrameworkAdmin.mutate({frameworkId:c,profileId:d})},"addSkillFrameworkAdmin"),removeSkillFrameworkAdmin:s(async(p,c,d)=>{if(!f)throw new Error("Please make an account first!");return l.skillFrameworks.removeFrameworkAdmin.mutate({frameworkId:c,profileId:d})},"removeSkillFrameworkAdmin"),getSkill:s(async(p,c,d)=>{if(!f)throw new Error("Please make an account first!");return l.skills.getSkill.query({frameworkId:c,id:d})},"getSkill"),createSkill:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skills.create.mutate(c)},"createSkill"),createSkills:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skills.createMany.mutate(c)},"createSkills"),updateSkill:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skills.update.mutate(c)},"updateSkill"),deleteSkill:s(async(p,c)=>{if(!f)throw new Error("Please make an account first!");return l.skills.delete.mutate(c)},"deleteSkill"),addIntegration:s(async(p,c)=>(await m(),l.integrations.addIntegration.mutate(c)),"addIntegration"),getIntegration:s(async(p,c)=>(await m(),l.integrations.getIntegration.query({id:c})),"getIntegration"),getIntegrations:s(async(p,c={})=>(await m(),l.integrations.getIntegrations.query(c)),"getIntegrations"),countIntegrations:s(async(p,c={})=>(await m(),l.integrations.countIntegrations.query(c)),"countIntegrations"),updateIntegration:s(async(p,c,d)=>(await m(),l.integrations.updateIntegration.mutate({id:c,updates:d})),"updateIntegration"),deleteIntegration:s(async(p,c)=>(await m(),l.integrations.deleteIntegration.mutate({id:c})),"deleteIntegration"),createAppStoreListing:s(async(p,c,d)=>(await m(),l.appStore.createListing.mutate({integrationId:c,listing:d})),"createAppStoreListing"),associateListingWithSigningAuthority:s(async(p,c,d,v,$,w)=>(await m(),l.appStore.associateListingWithSigningAuthority.mutate({listingId:c,endpoint:d,name:v,did:$,isPrimary:w})),"associateListingWithSigningAuthority"),getListingSigningAuthority:s(async(p,c)=>(await m(),l.appStore.getListingSigningAuthority.query({listingId:c})),"getListingSigningAuthority"),getAppStoreListing:s(async(p,c)=>(await m(),l.appStore.getListing.query({listingId:c})),"getAppStoreListing"),updateAppStoreListing:s(async(p,c,d)=>(await m(),l.appStore.updateListing.mutate({listingId:c,updates:d})),"updateAppStoreListing"),deleteAppStoreListing:s(async(p,c)=>(await m(),l.appStore.deleteListing.mutate({listingId:c})),"deleteAppStoreListing"),submitAppStoreListingForReview:s(async(p,c)=>(await m(),l.appStore.submitForReview.mutate({listingId:c})),"submitAppStoreListingForReview"),unsubmitAppStoreListing:s(async(p,c)=>(await m(),l.appStore.unsubmitForReview.mutate({listingId:c})),"unsubmitAppStoreListing"),getListingsForIntegration:s(async(p,c,d={})=>(await m(),l.appStore.getListingsForIntegration.query({integrationId:c,...d})),"getListingsForIntegration"),countListingsForIntegration:s(async(p,c)=>(await m(),l.appStore.countListingsForIntegration.query({integrationId:c})),"countListingsForIntegration"),browseAppStore:s(async(p,c)=>l.appStore.browseListedApps.query(c),"browseAppStore"),getPublicAppStoreListing:s(async(p,c)=>l.appStore.getPublicListing.query({listingId:c}),"getPublicAppStoreListing"),getPublicAppStoreListingBySlug:s(async(p,c)=>l.appStore.getPublicListingBySlug.query({slug:c}),"getPublicAppStoreListingBySlug"),getAppStoreListingInstallCount:s(async(p,c)=>l.appStore.getListingInstallCount.query({listingId:c}),"getAppStoreListingInstallCount"),installApp:s(async(p,c)=>(await m(),l.appStore.installApp.mutate({listingId:c})),"installApp"),uninstallApp:s(async(p,c)=>(await m(),l.appStore.uninstallApp.mutate({listingId:c})),"uninstallApp"),getInstalledApps:s(async(p,c={})=>(await m(),l.appStore.getInstalledApps.query(c)),"getInstalledApps"),countInstalledApps:s(async p=>(await m(),l.appStore.countInstalledApps.query()),"countInstalledApps"),isAppInstalled:s(async(p,c)=>(await m(),l.appStore.isAppInstalled.query({listingId:c})),"isAppInstalled"),getMyCredentialsFromApp:s(async(p,c,d={})=>(await m(),l.appStore.getMyCredentialsFromApp.query({listingId:c,...d})),"getMyCredentialsFromApp"),isAppStoreAdmin:s(async p=>(await m(),l.appStore.isAdmin.query()),"isAppStoreAdmin"),adminUpdateListingStatus:s(async(p,c,d)=>(await m(),l.appStore.adminUpdateListingStatus.mutate({listingId:c,status:d})),"adminUpdateListingStatus"),adminUpdatePromotionLevel:s(async(p,c,d)=>(await m(),l.appStore.adminUpdatePromotionLevel.mutate({listingId:c,promotionLevel:d})),"adminUpdatePromotionLevel"),adminGetAllListings:s(async(p,c)=>(await m(),l.appStore.adminGetAllListings.query(c)),"adminGetAllListings"),addBoostToApp:s(async(p,c,d,v)=>(await m(),l.appStore.addBoostToListing.mutate({listingId:c,boostUri:d,templateAlias:v})),"addBoostToApp"),removeBoostFromApp:s(async(p,c,d)=>(await m(),l.appStore.removeBoostFromListing.mutate({listingId:c,templateAlias:d})),"removeBoostFromApp"),getAppBoosts:s(async(p,c)=>(await m(),l.appStore.getBoostsForListing.query({listingId:c})),"getAppBoosts"),sendAppEvent:s(async(p,c,d)=>(await m(),l.appStore.appEvent.mutate({listingId:c,event:d})),"sendAppEvent"),resolveFromLCN:s(async(p,c)=>{let d=await l.storage.resolve.query({uri:c});return re.or(le).or(Et).or(lu).or(pu).or(Xr).parseAsync(d)},"resolveFromLCN"),getLCNClient:s(()=>l,"getLCNClient"),getMyActivities:s(async(p,c={})=>(await m(),l.activity.getMyActivities.query(c)),"getMyActivities"),getActivityStats:s(async(p,c={})=>(await m(),l.activity.getActivityStats.query(c)),"getActivityStats"),getActivity:s(async(p,c)=>(await m(),l.activity.getActivity.query(c)),"getActivity"),getActivityChain:s(async(p,c)=>(await m(),l.activity.getActivityChain.query(c)),"getActivityChain")}}}s(fv,"getLearnCardNetworkPlugin");var gv=s(async(e,r)=>{let i=[{id:"LearnCard Network",url:"https://network.learncard.com",did:"did:web:network.learncard.com"}],n;if(r){let u=await fetch(r);u.status===200?n=JSON.parse(await u.text()):n=i}else n=i;let t=s(u=>{if(u)return typeof u=="string"?u:"id"in u&&typeof u.id=="string"?u.id:void 0},"getIssuerDID"),o=s(u=>{let l=t(u);if(l)return n.find(f=>f.did===l)},"getTrustedBoostVerifier");return{name:"VerifyBoost",displayName:"Verify Boost Extension",description:"Adds a check for validating Boost Credentials.",methods:{verifyCredential:s(async(u,l,f)=>{let g=await e.invoke.verifyCredential(l,f),m=l?.boostCredential;try{if(m){let y=await e.invoke.verifyCredential(m);if(!m?.boostId&&!l?.boostId&&g.warnings.push("Boost Authenticity could not be verified: Boost ID metadata is missing."),y.errors?.length>0)g.errors=[...y.errors||[],...g.errors||[],"Boost Credential could not be verified."];else if(m?.boostId!==l?.boostId)g.errors.push("Boost Authenticity could not be verified: Boost ID metadata is mismatched.");else{let p=o(l?.issuer);p?g.checks.push(`Boost is Authentic. Verified by ${p.id}.`):g.warnings.push(`Boost Authenticity could not be verified. Issuer is outside of trust network: ${t(l?.issuer)}`)}}}catch{g.errors.push("Boost authenticity could not be verified.")}return g},"verifyCredential")}}},"getVerifyBoostPlugin");
27
27
  /*! Bundled license information:
28
28
 
29
29
  mustache/mustache.mjs: