@learncard/network-plugin 2.10.9 → 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.
- package/dist/lcn-plugin.cjs.development.js +275 -151
- package/dist/lcn-plugin.cjs.development.js.map +3 -3
- package/dist/lcn-plugin.cjs.production.min.js +16 -16
- package/dist/lcn-plugin.cjs.production.min.js.map +3 -3
- package/dist/lcn-plugin.esm.js +275 -151
- package/dist/lcn-plugin.esm.js.map +3 -3
- package/dist/plugin.d.ts +7 -2
- package/dist/plugin.d.ts.map +1 -1
- package/dist/types.d.ts +39 -12
- package/dist/types.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
"use strict";var Et=Object.defineProperty;var dl=Object.getOwnPropertyDescriptor;var ml=Object.getOwnPropertyNames;var pl=Object.prototype.hasOwnProperty;var c=(t,r)=>Et(t,"name",{value:r,configurable:!0});var se=(t,r)=>{for(var o in r)Et(t,o,{get:r[o],enumerable:!0})},fl=(t,r,o,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of ml(r))!pl.call(t,e)&&e!==o&&Et(t,e,{get:()=>r[e],enumerable:!(i=dl(r,e))||i.enumerable});return t};var gl=t=>fl(Et({},"__esModule",{value:!0}),t);var Qg={};se(Qg,{getLearnCardNetworkPlugin:()=>Xg,getVerifyBoostPlugin:()=>Hg});module.exports=gl(Qg);var Xr=require("@learncard/network-brain-client");var a={};se(a,{$brand:()=>At,$input:()=>pa,$output:()=>ma,NEVER:()=>Qr,TimePrecision:()=>ya,ZodAny:()=>rs,ZodArray:()=>as,ZodBase64:()=>Zc,ZodBase64URL:()=>Rc,ZodBigInt:()=>Pt,ZodBigIntFormat:()=>Fc,ZodBoolean:()=>jt,ZodCIDRv4:()=>Ac,ZodCIDRv6:()=>Tc,ZodCUID:()=>Pc,ZodCUID2:()=>Cc,ZodCatch:()=>Is,ZodCodec:()=>Qc,ZodCustom:()=>Lr,ZodCustomStringFormat:()=>St,ZodDate:()=>Zr,ZodDefault:()=>bs,ZodDiscriminatedUnion:()=>cs,ZodE164:()=>Vc,ZodEmail:()=>Sc,ZodEmoji:()=>zc,ZodEnum:()=>wt,ZodError:()=>Jm,ZodFile:()=>vs,ZodFirstPartyTypeKind:()=>Yc,ZodFunction:()=>Ds,ZodGUID:()=>Or,ZodIPv4:()=>Dc,ZodIPv6:()=>Ec,ZodISODate:()=>Pr,ZodISODateTime:()=>jr,ZodISODuration:()=>Nr,ZodISOTime:()=>Cr,ZodIntersection:()=>us,ZodIssueCode:()=>cf,ZodJWT:()=>Lc,ZodKSUID:()=>Oc,ZodLazy:()=>Ns,ZodLiteral:()=>gs,ZodMAC:()=>Ku,ZodMap:()=>ps,ZodNaN:()=>zs,ZodNanoID:()=>jc,ZodNever:()=>is,ZodNonOptional:()=>Xc,ZodNull:()=>es,ZodNullable:()=>ys,ZodNumber:()=>zt,ZodNumberFormat:()=>Te,ZodObject:()=>Vr,ZodOptional:()=>Kc,ZodPipe:()=>Hc,ZodPrefault:()=>_s,ZodPromise:()=>Os,ZodReadonly:()=>js,ZodRealError:()=>q,ZodRecord:()=>Jc,ZodSet:()=>fs,ZodString:()=>It,ZodStringFormat:()=>D,ZodSuccess:()=>ws,ZodSymbol:()=>Qu,ZodTemplateLiteral:()=>Cs,ZodTransform:()=>hs,ZodTuple:()=>ls,ZodType:()=>C,ZodULID:()=>Nc,ZodURL:()=>Tr,ZodUUID:()=>ce,ZodUndefined:()=>Yu,ZodUnion:()=>Mc,ZodUnknown:()=>ns,ZodVoid:()=>os,ZodXID:()=>Uc,_ZodString:()=>Ic,_default:()=>$s,_function:()=>Hp,any:()=>Np,array:()=>Rr,base64:()=>fp,base64url:()=>gp,bigint:()=>Sp,boolean:()=>Hu,catch:()=>Ss,check:()=>Qp,cidrv4:()=>mp,cidrv6:()=>pp,clone:()=>R,codec:()=>Gp,coerce:()=>eu,config:()=>A,core:()=>ae,cuid:()=>ip,cuid2:()=>op,custom:()=>Yp,date:()=>Op,decode:()=>vc,decodeAsync:()=>yc,describe:()=>ef,discriminatedUnion:()=>Zp,e164:()=>vp,email:()=>Gm,emoji:()=>rp,encode:()=>gc,encodeAsync:()=>hc,endsWith:()=>vt,enum:()=>Wc,file:()=>Mp,flattenError:()=>Ke,float32:()=>kp,float64:()=>xp,formatError:()=>Xe,function:()=>Hp,getErrorMap:()=>sf,globalRegistry:()=>V,gt:()=>oe,gte:()=>M,guid:()=>Km,hash:()=>_p,hex:()=>$p,hostname:()=>bp,httpUrl:()=>tp,includes:()=>ft,instanceof:()=>rf,int:()=>wc,int32:()=>wp,int64:()=>zp,intersection:()=>ss,ipv4:()=>sp,ipv6:()=>dp,iso:()=>Ur,json:()=>of,jwt:()=>hp,keyof:()=>Dp,ksuid:()=>up,lazy:()=>Us,length:()=>De,literal:()=>Bp,locales:()=>ct,looseObject:()=>Tp,lowercase:()=>mt,lt:()=>ie,lte:()=>X,mac:()=>lp,map:()=>Vp,maxLength:()=>Oe,maxSize:()=>Ue,meta:()=>tf,mime:()=>ht,minLength:()=>ve,minSize:()=>_e,multipleOf:()=>$e,nan:()=>Wp,nanoid:()=>np,nativeEnum:()=>Fp,negative:()=>Wa,never:()=>Bc,nonnegative:()=>Ka,nonoptional:()=>xs,nonpositive:()=>Ga,normalize:()=>yt,null:()=>ts,nullable:()=>Er,nullish:()=>qp,number:()=>Xu,object:()=>Ep,optional:()=>Dr,overwrite:()=>ee,parse:()=>dc,parseAsync:()=>mc,partialRecord:()=>Rp,pipe:()=>Ar,positive:()=>Ja,prefault:()=>ks,preprocess:()=>af,prettifyError:()=>fn,promise:()=>Xp,property:()=>Xa,readonly:()=>Ps,record:()=>ms,refine:()=>Es,regex:()=>dt,regexes:()=>K,registry:()=>cr,safeDecode:()=>$c,safeDecodeAsync:()=>kc,safeEncode:()=>bc,safeEncodeAsync:()=>_c,safeParse:()=>pc,safeParseAsync:()=>fc,set:()=>Lp,setErrorMap:()=>uf,size:()=>lt,slugify:()=>kt,startsWith:()=>gt,strictObject:()=>Ap,string:()=>xc,stringFormat:()=>yp,stringbool:()=>nf,success:()=>Jp,superRefine:()=>As,symbol:()=>Pp,templateLiteral:()=>Kp,toJSONSchema:()=>oc,toLowerCase:()=>$t,toUpperCase:()=>_t,transform:()=>Gc,treeifyError:()=>pn,trim:()=>bt,tuple:()=>ds,uint32:()=>Ip,uint64:()=>jp,ulid:()=>ap,undefined:()=>Cp,union:()=>qc,unknown:()=>Ae,uppercase:()=>pt,url:()=>ep,util:()=>k,uuid:()=>Xm,uuidv4:()=>Hm,uuidv6:()=>Qm,uuidv7:()=>Ym,void:()=>Up,xid:()=>cp});var ae={};se(ae,{$ZodAny:()=>Mi,$ZodArray:()=>Ki,$ZodAsyncError:()=>Q,$ZodBase64:()=>Di,$ZodBase64URL:()=>Ei,$ZodBigInt:()=>ir,$ZodBigIntFormat:()=>Vi,$ZodBoolean:()=>et,$ZodCIDRv4:()=>Ni,$ZodCIDRv6:()=>Ui,$ZodCUID:()=>bi,$ZodCUID2:()=>$i,$ZodCatch:()=>po,$ZodCheck:()=>O,$ZodCheckBigIntFormat:()=>Gn,$ZodCheckEndsWith:()=>ai,$ZodCheckGreaterThan:()=>Ht,$ZodCheckIncludes:()=>ii,$ZodCheckLengthEquals:()=>ei,$ZodCheckLessThan:()=>Xt,$ZodCheckLowerCase:()=>ri,$ZodCheckMaxLength:()=>Qn,$ZodCheckMaxSize:()=>Kn,$ZodCheckMimeType:()=>ui,$ZodCheckMinLength:()=>Yn,$ZodCheckMinSize:()=>Xn,$ZodCheckMultipleOf:()=>Jn,$ZodCheckNumberFormat:()=>Wn,$ZodCheckOverwrite:()=>si,$ZodCheckProperty:()=>ci,$ZodCheckRegex:()=>ti,$ZodCheckSizeEquals:()=>Hn,$ZodCheckStartsWith:()=>oi,$ZodCheckStringFormat:()=>Ce,$ZodCheckUpperCase:()=>ni,$ZodCodec:()=>tt,$ZodCustom:()=>_o,$ZodCustomStringFormat:()=>Zi,$ZodDate:()=>Gi,$ZodDefault:()=>uo,$ZodDiscriminatedUnion:()=>Hi,$ZodE164:()=>Ai,$ZodEmail:()=>gi,$ZodEmoji:()=>hi,$ZodEncodeError:()=>le,$ZodEnum:()=>ro,$ZodError:()=>Ge,$ZodFile:()=>io,$ZodFunction:()=>yo,$ZodGUID:()=>pi,$ZodIPv4:()=>ji,$ZodIPv6:()=>Pi,$ZodISODate:()=>Ii,$ZodISODateTime:()=>wi,$ZodISODuration:()=>zi,$ZodISOTime:()=>Si,$ZodIntersection:()=>Qi,$ZodJWT:()=>Ti,$ZodKSUID:()=>xi,$ZodLazy:()=>$o,$ZodLiteral:()=>no,$ZodMAC:()=>Ci,$ZodMap:()=>eo,$ZodNaN:()=>fo,$ZodNanoID:()=>yi,$ZodNever:()=>Ji,$ZodNonOptional:()=>lo,$ZodNull:()=>Bi,$ZodNullable:()=>co,$ZodNumber:()=>nr,$ZodNumberFormat:()=>Ri,$ZodObject:()=>Vu,$ZodObjectJIT:()=>Xi,$ZodOptional:()=>ao,$ZodPipe:()=>go,$ZodPrefault:()=>so,$ZodPromise:()=>bo,$ZodReadonly:()=>vo,$ZodRealError:()=>B,$ZodRecord:()=>Yi,$ZodRegistry:()=>Ne,$ZodSet:()=>to,$ZodString:()=>be,$ZodStringFormat:()=>U,$ZodSuccess:()=>mo,$ZodSymbol:()=>Li,$ZodTemplateLiteral:()=>ho,$ZodTransform:()=>oo,$ZodTuple:()=>ar,$ZodType:()=>z,$ZodULID:()=>_i,$ZodURL:()=>vi,$ZodUUID:()=>fi,$ZodUndefined:()=>Fi,$ZodUnion:()=>or,$ZodUnknown:()=>qi,$ZodVoid:()=>Wi,$ZodXID:()=>ki,$brand:()=>At,$constructor:()=>v,$input:()=>pa,$output:()=>ma,Doc:()=>Ye,JSONSchema:()=>Ju,JSONSchemaGenerator:()=>xt,NEVER:()=>Qr,TimePrecision:()=>ya,_any:()=>Ra,_array:()=>Ha,_base64:()=>wr,_base64url:()=>Ir,_bigint:()=>Ua,_boolean:()=>Ca,_catch:()=>Rm,_check:()=>qu,_cidrv4:()=>kr,_cidrv6:()=>xr,_coercedBigint:()=>Oa,_coercedBoolean:()=>Na,_coercedDate:()=>Ma,_coercedNumber:()=>wa,_coercedString:()=>va,_cuid:()=>gr,_cuid2:()=>vr,_custom:()=>Ya,_date:()=>Ba,_decode:()=>Ft,_decodeAsync:()=>Mt,_default:()=>Am,_discriminatedUnion:()=>wm,_e164:()=>Sr,_email:()=>ur,_emoji:()=>pr,_encode:()=>Lt,_encodeAsync:()=>Bt,_endsWith:()=>vt,_enum:()=>Cm,_file:()=>Qa,_float32:()=>Sa,_float64:()=>za,_gt:()=>oe,_gte:()=>M,_guid:()=>ut,_includes:()=>ft,_int:()=>Ia,_int32:()=>ja,_int64:()=>Da,_intersection:()=>Im,_ipv4:()=>$r,_ipv6:()=>_r,_isoDate:()=>$a,_isoDateTime:()=>ba,_isoDuration:()=>ka,_isoTime:()=>_a,_jwt:()=>zr,_ksuid:()=>br,_lazy:()=>Bm,_length:()=>De,_literal:()=>Um,_lowercase:()=>mt,_lt:()=>ie,_lte:()=>X,_mac:()=>ha,_map:()=>jm,_max:()=>X,_maxLength:()=>Oe,_maxSize:()=>Ue,_mime:()=>ht,_min:()=>M,_minLength:()=>ve,_minSize:()=>_e,_multipleOf:()=>$e,_nan:()=>qa,_nanoid:()=>fr,_nativeEnum:()=>Nm,_negative:()=>Wa,_never:()=>La,_nonnegative:()=>Ka,_nonoptional:()=>Tm,_nonpositive:()=>Ga,_normalize:()=>yt,_null:()=>Za,_nullable:()=>Em,_number:()=>xa,_optional:()=>Dm,_overwrite:()=>ee,_parse:()=>Se,_parseAsync:()=>ze,_pipe:()=>Vm,_positive:()=>Ja,_promise:()=>Mm,_property:()=>Xa,_readonly:()=>Lm,_record:()=>zm,_refine:()=>ec,_regex:()=>dt,_safeDecode:()=>Jt,_safeDecodeAsync:()=>Gt,_safeEncode:()=>qt,_safeEncodeAsync:()=>Wt,_safeParse:()=>je,_safeParseAsync:()=>Pe,_set:()=>Pm,_size:()=>lt,_slugify:()=>kt,_startsWith:()=>gt,_string:()=>ga,_stringFormat:()=>Ee,_stringbool:()=>ic,_success:()=>Zm,_superRefine:()=>tc,_symbol:()=>Aa,_templateLiteral:()=>Fm,_toLowerCase:()=>$t,_toUpperCase:()=>_t,_transform:()=>Om,_trim:()=>bt,_tuple:()=>Sm,_uint32:()=>Pa,_uint64:()=>Ea,_ulid:()=>hr,_undefined:()=>Ta,_union:()=>xm,_unknown:()=>Va,_uppercase:()=>pt,_url:()=>st,_uuid:()=>sr,_uuidv4:()=>lr,_uuidv6:()=>dr,_uuidv7:()=>mr,_void:()=>Fa,_xid:()=>yr,clone:()=>R,config:()=>A,decode:()=>Bl,decodeAsync:()=>ql,describe:()=>rc,encode:()=>Fl,encodeAsync:()=>Ml,flattenError:()=>Ke,formatError:()=>Xe,globalConfig:()=>Le,globalRegistry:()=>V,isValidBase64:()=>Oi,isValidBase64URL:()=>Au,isValidJWT:()=>Tu,locales:()=>ct,meta:()=>nc,parse:()=>Rt,parseAsync:()=>Vt,prettifyError:()=>fn,regexes:()=>K,registry:()=>cr,safeDecode:()=>Wl,safeDecodeAsync:()=>Kl,safeEncode:()=>Jl,safeEncodeAsync:()=>Gl,safeParse:()=>gn,safeParseAsync:()=>vn,toDotPath:()=>bu,toJSONSchema:()=>oc,treeifyError:()=>pn,util:()=>k,version:()=>di});var Qr=Object.freeze({status:"aborted"});function v(t,r,o){function i(p,l){if(p._zod||Object.defineProperty(p,"_zod",{value:{def:l,constr:u,traits:new Set},enumerable:!1}),p._zod.traits.has(t))return;p._zod.traits.add(t),r(p,l);let s=u.prototype,m=Object.keys(s);for(let f=0;f<m.length;f++){let h=m[f];h in p||(p[h]=s[h].bind(p))}}c(i,"init");let e=o?.Parent??Object,d=class d extends e{};c(d,"Definition");let n=d;Object.defineProperty(n,"name",{value:t});function u(p){var l;let s=o?.Parent?new n:this;i(s,p),(l=s._zod).deferred??(l.deferred=[]);for(let m of s._zod.deferred)m();return s}return c(u,"_"),Object.defineProperty(u,"init",{value:i}),Object.defineProperty(u,Symbol.hasInstance,{value:c(p=>o?.Parent&&p instanceof o.Parent?!0:p?._zod?.traits?.has(t),"value")}),Object.defineProperty(u,"name",{value:t}),u}c(v,"$constructor");var At=Symbol("zod_brand"),en=class en extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};c(en,"$ZodAsyncError");var Q=en,tn=class tn extends Error{constructor(r){super(`Encountered unidirectional transform during encode: ${r}`),this.name="ZodEncodeError"}};c(tn,"$ZodEncodeError");var le=tn,Le={};function A(t){return t&&Object.assign(Le,t),Le}c(A,"config");var k={};se(k,{BIGINT_FORMAT_RANGES:()=>dn,Class:()=>rn,NUMBER_FORMAT_RANGES:()=>ln,aborted:()=>ge,allowsEval:()=>an,assert:()=>$l,assertEqual:()=>vl,assertIs:()=>yl,assertNever:()=>bl,assertNotEqual:()=>hl,assignProp:()=>me,base64ToUint8Array:()=>vu,base64urlToUint8Array:()=>Tl,cached:()=>we,captureStackTrace:()=>Zt,cleanEnum:()=>Al,cleanRegex:()=>Me,clone:()=>R,cloneDef:()=>kl,createTransparentProxy:()=>jl,defineLazy:()=>N,esc:()=>Tt,escapeRegex:()=>G,extend:()=>Nl,finalizeIssue:()=>W,floatSafeRemainder:()=>nn,getElementAtPath:()=>xl,getEnumValues:()=>Be,getLengthableOrigin:()=>We,getParsedType:()=>zl,getSizableOrigin:()=>Je,hexToUint8Array:()=>Rl,isObject:()=>he,isPlainObject:()=>fe,issue:()=>Ie,joinValues:()=>y,jsonStringifyReplacer:()=>xe,merge:()=>Ol,mergeDefs:()=>pe,normalizeParams:()=>_,nullish:()=>de,numKeys:()=>Sl,objectClone:()=>_l,omit:()=>Cl,optionalKeys:()=>sn,partial:()=>Dl,pick:()=>Pl,prefixIssues:()=>J,primitiveTypes:()=>un,promiseAllObject:()=>wl,propertyKeyTypes:()=>qe,randomString:()=>Il,required:()=>El,safeExtend:()=>Ul,shallowClone:()=>cn,slugify:()=>on,stringifyPrimitive:()=>$,uint8ArrayToBase64:()=>hu,uint8ArrayToBase64url:()=>Zl,uint8ArrayToHex:()=>Vl,unwrapMessage:()=>Fe});function vl(t){return t}c(vl,"assertEqual");function hl(t){return t}c(hl,"assertNotEqual");function yl(t){}c(yl,"assertIs");function bl(t){throw new Error}c(bl,"assertNever");function $l(t){}c($l,"assert");function Be(t){let r=Object.values(t).filter(i=>typeof i=="number");return Object.entries(t).filter(([i,e])=>r.indexOf(+i)===-1).map(([i,e])=>e)}c(Be,"getEnumValues");function y(t,r="|"){return t.map(o=>$(o)).join(r)}c(y,"joinValues");function xe(t,r){return typeof r=="bigint"?r.toString():r}c(xe,"jsonStringifyReplacer");function we(t){return{get value(){{let o=t();return Object.defineProperty(this,"value",{value:o}),o}throw new Error("cached value already set")}}}c(we,"cached");function de(t){return t==null}c(de,"nullish");function Me(t){let r=t.startsWith("^")?1:0,o=t.endsWith("$")?t.length-1:t.length;return t.slice(r,o)}c(Me,"cleanRegex");function nn(t,r){let o=(t.toString().split(".")[1]||"").length,i=r.toString(),e=(i.split(".")[1]||"").length;if(e===0&&/\d?e-\d?/.test(i)){let p=i.match(/\d?e-(\d?)/);p?.[1]&&(e=Number.parseInt(p[1]))}let n=o>e?o:e,u=Number.parseInt(t.toFixed(n).replace(".","")),d=Number.parseInt(r.toFixed(n).replace(".",""));return u%d/10**n}c(nn,"floatSafeRemainder");var gu=Symbol("evaluating");function N(t,r,o){let i;Object.defineProperty(t,r,{get(){if(i!==gu)return i===void 0&&(i=gu,i=o()),i},set(e){Object.defineProperty(t,r,{value:e})},configurable:!0})}c(N,"defineLazy");function _l(t){return Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t))}c(_l,"objectClone");function me(t,r,o){Object.defineProperty(t,r,{value:o,writable:!0,enumerable:!0,configurable:!0})}c(me,"assignProp");function pe(...t){let r={};for(let o of t){let i=Object.getOwnPropertyDescriptors(o);Object.assign(r,i)}return Object.defineProperties({},r)}c(pe,"mergeDefs");function kl(t){return pe(t._zod.def)}c(kl,"cloneDef");function xl(t,r){return r?r.reduce((o,i)=>o?.[i],t):t}c(xl,"getElementAtPath");function wl(t){let r=Object.keys(t),o=r.map(i=>t[i]);return Promise.all(o).then(i=>{let e={};for(let n=0;n<r.length;n++)e[r[n]]=i[n];return e})}c(wl,"promiseAllObject");function Il(t=10){let r="abcdefghijklmnopqrstuvwxyz",o="";for(let i=0;i<t;i++)o+=r[Math.floor(Math.random()*r.length)];return o}c(Il,"randomString");function Tt(t){return JSON.stringify(t)}c(Tt,"esc");function on(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}c(on,"slugify");var Zt="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function he(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}c(he,"isObject");var an=we(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let t=Function;return new t(""),!0}catch{return!1}});function fe(t){if(he(t)===!1)return!1;let r=t.constructor;if(r===void 0||typeof r!="function")return!0;let o=r.prototype;return!(he(o)===!1||Object.prototype.hasOwnProperty.call(o,"isPrototypeOf")===!1)}c(fe,"isPlainObject");function cn(t){return fe(t)?{...t}:Array.isArray(t)?[...t]:t}c(cn,"shallowClone");function Sl(t){let r=0;for(let o in t)Object.prototype.hasOwnProperty.call(t,o)&&r++;return r}c(Sl,"numKeys");var zl=c(t=>{let r=typeof t;switch(r){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(t)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(t)?"array":t===null?"null":t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?"promise":typeof Map<"u"&&t instanceof Map?"map":typeof Set<"u"&&t instanceof Set?"set":typeof Date<"u"&&t instanceof Date?"date":typeof File<"u"&&t instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${r}`)}},"getParsedType"),qe=new Set(["string","number","symbol"]),un=new Set(["string","number","bigint","boolean","symbol","undefined"]);function G(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}c(G,"escapeRegex");function R(t,r,o){let i=new t._zod.constr(r??t._zod.def);return(!r||o?.parent)&&(i._zod.parent=t),i}c(R,"clone");function _(t){let r=t;if(!r)return{};if(typeof r=="string")return{error:c(()=>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:c(()=>r.error,"error")}:r}c(_,"normalizeParams");function jl(t){let r;return new Proxy({},{get(o,i,e){return r??(r=t()),Reflect.get(r,i,e)},set(o,i,e,n){return r??(r=t()),Reflect.set(r,i,e,n)},has(o,i){return r??(r=t()),Reflect.has(r,i)},deleteProperty(o,i){return r??(r=t()),Reflect.deleteProperty(r,i)},ownKeys(o){return r??(r=t()),Reflect.ownKeys(r)},getOwnPropertyDescriptor(o,i){return r??(r=t()),Reflect.getOwnPropertyDescriptor(r,i)},defineProperty(o,i,e){return r??(r=t()),Reflect.defineProperty(r,i,e)}})}c(jl,"createTransparentProxy");function $(t){return typeof t=="bigint"?t.toString()+"n":typeof t=="string"?`"${t}"`:`${t}`}c($,"stringifyPrimitive");function sn(t){return Object.keys(t).filter(r=>t[r]._zod.optin==="optional"&&t[r]._zod.optout==="optional")}c(sn,"optionalKeys");var ln={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]},dn={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Pl(t,r){let o=t._zod.def,i=pe(t._zod.def,{get shape(){let e={};for(let n in r){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);r[n]&&(e[n]=o.shape[n])}return me(this,"shape",e),e},checks:[]});return R(t,i)}c(Pl,"pick");function Cl(t,r){let o=t._zod.def,i=pe(t._zod.def,{get shape(){let e={...t._zod.def.shape};for(let n in r){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);r[n]&&delete e[n]}return me(this,"shape",e),e},checks:[]});return R(t,i)}c(Cl,"omit");function Nl(t,r){if(!fe(r))throw new Error("Invalid input to extend: expected a plain object");let o=t._zod.def.checks;if(o&&o.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");let e=pe(t._zod.def,{get shape(){let n={...t._zod.def.shape,...r};return me(this,"shape",n),n},checks:[]});return R(t,e)}c(Nl,"extend");function Ul(t,r){if(!fe(r))throw new Error("Invalid input to safeExtend: expected a plain object");let o={...t._zod.def,get shape(){let i={...t._zod.def.shape,...r};return me(this,"shape",i),i},checks:t._zod.def.checks};return R(t,o)}c(Ul,"safeExtend");function Ol(t,r){let o=pe(t._zod.def,{get shape(){let i={...t._zod.def.shape,...r._zod.def.shape};return me(this,"shape",i),i},get catchall(){return r._zod.def.catchall},checks:[]});return R(t,o)}c(Ol,"merge");function Dl(t,r,o){let i=pe(r._zod.def,{get shape(){let e=r._zod.def.shape,n={...e};if(o)for(let u in o){if(!(u in e))throw new Error(`Unrecognized key: "${u}"`);o[u]&&(n[u]=t?new t({type:"optional",innerType:e[u]}):e[u])}else for(let u in e)n[u]=t?new t({type:"optional",innerType:e[u]}):e[u];return me(this,"shape",n),n},checks:[]});return R(r,i)}c(Dl,"partial");function El(t,r,o){let i=pe(r._zod.def,{get shape(){let e=r._zod.def.shape,n={...e};if(o)for(let u in o){if(!(u in n))throw new Error(`Unrecognized key: "${u}"`);o[u]&&(n[u]=new t({type:"nonoptional",innerType:e[u]}))}else for(let u in e)n[u]=new t({type:"nonoptional",innerType:e[u]});return me(this,"shape",n),n},checks:[]});return R(r,i)}c(El,"required");function ge(t,r=0){if(t.aborted===!0)return!0;for(let o=r;o<t.issues.length;o++)if(t.issues[o]?.continue!==!0)return!0;return!1}c(ge,"aborted");function J(t,r){return r.map(o=>{var i;return(i=o).path??(i.path=[]),o.path.unshift(t),o})}c(J,"prefixIssues");function Fe(t){return typeof t=="string"?t:t?.message}c(Fe,"unwrapMessage");function W(t,r,o){let i={...t,path:t.path??[]};if(!t.message){let e=Fe(t.inst?._zod.def?.error?.(t))??Fe(r?.error?.(t))??Fe(o.customError?.(t))??Fe(o.localeError?.(t))??"Invalid input";i.message=e}return delete i.inst,delete i.continue,r?.reportInput||delete i.input,i}c(W,"finalizeIssue");function Je(t){return t instanceof Set?"set":t instanceof Map?"map":t instanceof File?"file":"unknown"}c(Je,"getSizableOrigin");function We(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}c(We,"getLengthableOrigin");function Ie(...t){let[r,o,i]=t;return typeof r=="string"?{message:r,code:"custom",input:o,inst:i}:{...r}}c(Ie,"issue");function Al(t){return Object.entries(t).filter(([r,o])=>Number.isNaN(Number.parseInt(r,10))).map(r=>r[1])}c(Al,"cleanEnum");function vu(t){let r=atob(t),o=new Uint8Array(r.length);for(let i=0;i<r.length;i++)o[i]=r.charCodeAt(i);return o}c(vu,"base64ToUint8Array");function hu(t){let r="";for(let o=0;o<t.length;o++)r+=String.fromCharCode(t[o]);return btoa(r)}c(hu,"uint8ArrayToBase64");function Tl(t){let r=t.replace(/-/g,"+").replace(/_/g,"/"),o="=".repeat((4-r.length%4)%4);return vu(r+o)}c(Tl,"base64urlToUint8Array");function Zl(t){return hu(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}c(Zl,"uint8ArrayToBase64url");function Rl(t){let r=t.replace(/^0x/,"");if(r.length%2!==0)throw new Error("Invalid hex string length");let o=new Uint8Array(r.length/2);for(let i=0;i<r.length;i+=2)o[i/2]=Number.parseInt(r.slice(i,i+2),16);return o}c(Rl,"hexToUint8Array");function Vl(t){return Array.from(t).map(r=>r.toString(16).padStart(2,"0")).join("")}c(Vl,"uint8ArrayToHex");var mn=class mn{constructor(...r){}};c(mn,"Class");var rn=mn;var yu=c((t,r)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:r,enumerable:!1}),t.message=JSON.stringify(r,xe,2),Object.defineProperty(t,"toString",{value:c(()=>t.message,"value"),enumerable:!1})},"initializer"),Ge=v("$ZodError",yu),B=v("$ZodError",yu,{Parent:Error});function Ke(t,r=o=>o.message){let o={},i=[];for(let e of t.issues)e.path.length>0?(o[e.path[0]]=o[e.path[0]]||[],o[e.path[0]].push(r(e))):i.push(r(e));return{formErrors:i,fieldErrors:o}}c(Ke,"flattenError");function Xe(t,r=o=>o.message){let o={_errors:[]},i=c(e=>{for(let n of e.issues)if(n.code==="invalid_union"&&n.errors.length)n.errors.map(u=>i({issues:u}));else if(n.code==="invalid_key")i({issues:n.issues});else if(n.code==="invalid_element")i({issues:n.issues});else if(n.path.length===0)o._errors.push(r(n));else{let u=o,d=0;for(;d<n.path.length;){let p=n.path[d];d===n.path.length-1?(u[p]=u[p]||{_errors:[]},u[p]._errors.push(r(n))):u[p]=u[p]||{_errors:[]},u=u[p],d++}}},"processError");return i(t),o}c(Xe,"formatError");function pn(t,r=o=>o.message){let o={errors:[]},i=c((e,n=[])=>{var u,d;for(let p of e.issues)if(p.code==="invalid_union"&&p.errors.length)p.errors.map(l=>i({issues:l},p.path));else if(p.code==="invalid_key")i({issues:p.issues},p.path);else if(p.code==="invalid_element")i({issues:p.issues},p.path);else{let l=[...n,...p.path];if(l.length===0){o.errors.push(r(p));continue}let s=o,m=0;for(;m<l.length;){let f=l[m],h=m===l.length-1;typeof f=="string"?(s.properties??(s.properties={}),(u=s.properties)[f]??(u[f]={errors:[]}),s=s.properties[f]):(s.items??(s.items=[]),(d=s.items)[f]??(d[f]={errors:[]}),s=s.items[f]),h&&s.errors.push(r(p)),m++}}},"processError");return i(t),o}c(pn,"treeifyError");function bu(t){let r=[],o=t.map(i=>typeof i=="object"?i.key:i);for(let i of o)typeof i=="number"?r.push(`[${i}]`):typeof i=="symbol"?r.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?r.push(`[${JSON.stringify(i)}]`):(r.length&&r.push("."),r.push(i));return r.join("")}c(bu,"toDotPath");function fn(t){let r=[],o=[...t.issues].sort((i,e)=>(i.path??[]).length-(e.path??[]).length);for(let i of o)r.push(`\u2716 ${i.message}`),i.path?.length&&r.push(` \u2192 at ${bu(i.path)}`);return r.join(`
|
|
2
|
-
`)}c(fn,"prettifyError");var Se=c(t=>(r,o,i,e)=>{let n=i?Object.assign(i,{async:!1}):{async:!1},u=r._zod.run({value:o,issues:[]},n);if(u instanceof Promise)throw new Q;if(u.issues.length){let d=new(e?.Err??t)(u.issues.map(p=>W(p,n,A())));throw Zt(d,e?.callee),d}return u.value},"_parse"),Rt=Se(B),ze=c(t=>async(r,o,i,e)=>{let n=i?Object.assign(i,{async:!0}):{async:!0},u=r._zod.run({value:o,issues:[]},n);if(u instanceof Promise&&(u=await u),u.issues.length){let d=new(e?.Err??t)(u.issues.map(p=>W(p,n,A())));throw Zt(d,e?.callee),d}return u.value},"_parseAsync"),Vt=ze(B),je=c(t=>(r,o,i)=>{let e=i?{...i,async:!1}:{async:!1},n=r._zod.run({value:o,issues:[]},e);if(n instanceof Promise)throw new Q;return n.issues.length?{success:!1,error:new(t??Ge)(n.issues.map(u=>W(u,e,A())))}:{success:!0,data:n.value}},"_safeParse"),gn=je(B),Pe=c(t=>async(r,o,i)=>{let e=i?Object.assign(i,{async:!0}):{async:!0},n=r._zod.run({value:o,issues:[]},e);return n instanceof Promise&&(n=await n),n.issues.length?{success:!1,error:new t(n.issues.map(u=>W(u,e,A())))}:{success:!0,data:n.value}},"_safeParseAsync"),vn=Pe(B),Lt=c(t=>(r,o,i)=>{let e=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Se(t)(r,o,e)},"_encode"),Fl=Lt(B),Ft=c(t=>(r,o,i)=>Se(t)(r,o,i),"_decode"),Bl=Ft(B),Bt=c(t=>async(r,o,i)=>{let e=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return ze(t)(r,o,e)},"_encodeAsync"),Ml=Bt(B),Mt=c(t=>async(r,o,i)=>ze(t)(r,o,i),"_decodeAsync"),ql=Mt(B),qt=c(t=>(r,o,i)=>{let e=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return je(t)(r,o,e)},"_safeEncode"),Jl=qt(B),Jt=c(t=>(r,o,i)=>je(t)(r,o,i),"_safeDecode"),Wl=Jt(B),Wt=c(t=>async(r,o,i)=>{let e=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Pe(t)(r,o,e)},"_safeEncodeAsync"),Gl=Wt(B),Gt=c(t=>async(r,o,i)=>Pe(t)(r,o,i),"_safeDecodeAsync"),Kl=Gt(B);var K={};se(K,{base64:()=>Un,base64url:()=>Kt,bigint:()=>Zn,boolean:()=>Ln,browserEmail:()=>nd,cidrv4:()=>Cn,cidrv6:()=>Nn,cuid:()=>hn,cuid2:()=>yn,date:()=>Dn,datetime:()=>An,domain:()=>ad,duration:()=>xn,e164:()=>On,email:()=>In,emoji:()=>Sn,extendedDuration:()=>Xl,guid:()=>wn,hex:()=>cd,hostname:()=>od,html5Email:()=>ed,idnEmail:()=>rd,integer:()=>Rn,ipv4:()=>zn,ipv6:()=>jn,ksuid:()=>_n,lowercase:()=>Mn,mac:()=>Pn,md5_base64:()=>sd,md5_base64url:()=>ld,md5_hex:()=>ud,nanoid:()=>kn,null:()=>Fn,number:()=>Vn,rfc5322Email:()=>td,sha1_base64:()=>md,sha1_base64url:()=>pd,sha1_hex:()=>dd,sha256_base64:()=>gd,sha256_base64url:()=>vd,sha256_hex:()=>fd,sha384_base64:()=>yd,sha384_base64url:()=>bd,sha384_hex:()=>hd,sha512_base64:()=>_d,sha512_base64url:()=>kd,sha512_hex:()=>$d,string:()=>Tn,time:()=>En,ulid:()=>bn,undefined:()=>Bn,unicodeEmail:()=>$u,uppercase:()=>qn,uuid:()=>ye,uuid4:()=>Hl,uuid6:()=>Ql,uuid7:()=>Yl,xid:()=>$n});var hn=/^[cC][^\s-]{8,}$/,yn=/^[0-9a-z]+$/,bn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,$n=/^[0-9a-vA-V]{20}$/,_n=/^[A-Za-z0-9]{27}$/,kn=/^[a-zA-Z0-9_-]{21}$/,xn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Xl=/^[-+]?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)?)??$/,wn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ye=c(t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,"uuid"),Hl=ye(4),Ql=ye(6),Yl=ye(7),In=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,ed=/^[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])?)*$/,td=/^(([^<>()\[\]\\.,;:\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,}))$/,$u=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,rd=$u,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="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Sn(){return new RegExp(id,"u")}c(Sn,"emoji");var zn=/^(?:(?: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])$/,jn=/^(([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}|:))$/,Pn=c(t=>{let r=G(t??":");return new RegExp(`^(?:[0-9A-F]{2}${r}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${r}){5}[0-9a-f]{2}$`)},"mac"),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])\/([0-9]|[1-2][0-9]|3[0-2])$/,Nn=/^(([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])$/,Un=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Kt=/^[A-Za-z0-9_-]*$/,od=/^(?=.{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])?)*\.?$/,ad=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,On=/^\+(?:[0-9]){6,14}[0-9]$/,_u="(?:(?:\\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])))",Dn=new RegExp(`^${_u}$`);function ku(t){let r="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${r}`:t.precision===0?`${r}:[0-5]\\d`:`${r}:[0-5]\\d\\.\\d{${t.precision}}`:`${r}(?::[0-5]\\d(?:\\.\\d+)?)?`}c(ku,"timeSource");function En(t){return new RegExp(`^${ku(t)}$`)}c(En,"time");function An(t){let r=ku({precision:t.precision}),o=["Z"];t.local&&o.push(""),t.offset&&o.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${r}(?:${o.join("|")})`;return new RegExp(`^${_u}T(?:${i})$`)}c(An,"datetime");var Tn=c(t=>{let r=t?`[\\s\\S]{${t?.minimum??0},${t?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},"string"),Zn=/^-?\d+n?$/,Rn=/^-?\d+$/,Vn=/^-?\d+(?:\.\d+)?/,Ln=/^(?:true|false)$/i,Fn=/^null$/i;var Bn=/^undefined$/i;var Mn=/^[^A-Z]*$/,qn=/^[^a-z]*$/,cd=/^[0-9a-fA-F]*$/;function He(t,r){return new RegExp(`^[A-Za-z0-9+/]{${t}}${r}$`)}c(He,"fixedBase64");function Qe(t){return new RegExp(`^[A-Za-z0-9_-]{${t}}$`)}c(Qe,"fixedBase64url");var ud=/^[0-9a-fA-F]{32}$/,sd=He(22,"=="),ld=Qe(22),dd=/^[0-9a-fA-F]{40}$/,md=He(27,"="),pd=Qe(27),fd=/^[0-9a-fA-F]{64}$/,gd=He(43,"="),vd=Qe(43),hd=/^[0-9a-fA-F]{96}$/,yd=He(64,""),bd=Qe(64),$d=/^[0-9a-fA-F]{128}$/,_d=He(86,"=="),kd=Qe(86);var O=v("$ZodCheck",(t,r)=>{var o;t._zod??(t._zod={}),t._zod.def=r,(o=t._zod).onattach??(o.onattach=[])}),wu={number:"number",bigint:"bigint",object:"date"},Xt=v("$ZodCheckLessThan",(t,r)=>{O.init(t,r);let o=wu[typeof r.value];t._zod.onattach.push(i=>{let e=i._zod.bag,n=(r.inclusive?e.maximum:e.exclusiveMaximum)??Number.POSITIVE_INFINITY;r.value<n&&(r.inclusive?e.maximum=r.value:e.exclusiveMaximum=r.value)}),t._zod.check=i=>{(r.inclusive?i.value<=r.value:i.value<r.value)||i.issues.push({origin:o,code:"too_big",maximum:r.value,input:i.value,inclusive:r.inclusive,inst:t,continue:!r.abort})}}),Ht=v("$ZodCheckGreaterThan",(t,r)=>{O.init(t,r);let o=wu[typeof r.value];t._zod.onattach.push(i=>{let e=i._zod.bag,n=(r.inclusive?e.minimum:e.exclusiveMinimum)??Number.NEGATIVE_INFINITY;r.value>n&&(r.inclusive?e.minimum=r.value:e.exclusiveMinimum=r.value)}),t._zod.check=i=>{(r.inclusive?i.value>=r.value:i.value>r.value)||i.issues.push({origin:o,code:"too_small",minimum:r.value,input:i.value,inclusive:r.inclusive,inst:t,continue:!r.abort})}}),Jn=v("$ZodCheckMultipleOf",(t,r)=>{O.init(t,r),t._zod.onattach.push(o=>{var i;(i=o._zod.bag).multipleOf??(i.multipleOf=r.value)}),t._zod.check=o=>{if(typeof o.value!=typeof r.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof o.value=="bigint"?o.value%r.value===BigInt(0):nn(o.value,r.value)===0)||o.issues.push({origin:typeof o.value,code:"not_multiple_of",divisor:r.value,input:o.value,inst:t,continue:!r.abort})}}),Wn=v("$ZodCheckNumberFormat",(t,r)=>{O.init(t,r),r.format=r.format||"float64";let o=r.format?.includes("int"),i=o?"int":"number",[e,n]=ln[r.format];t._zod.onattach.push(u=>{let d=u._zod.bag;d.format=r.format,d.minimum=e,d.maximum=n,o&&(d.pattern=Rn)}),t._zod.check=u=>{let d=u.value;if(o){if(!Number.isInteger(d)){u.issues.push({expected:i,format:r.format,code:"invalid_type",continue:!1,input:d,inst:t});return}if(!Number.isSafeInteger(d)){d>0?u.issues.push({input:d,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:i,continue:!r.abort}):u.issues.push({input:d,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:i,continue:!r.abort});return}}d<e&&u.issues.push({origin:"number",input:d,code:"too_small",minimum:e,inclusive:!0,inst:t,continue:!r.abort}),d>n&&u.issues.push({origin:"number",input:d,code:"too_big",maximum:n,inst:t})}}),Gn=v("$ZodCheckBigIntFormat",(t,r)=>{O.init(t,r);let[o,i]=dn[r.format];t._zod.onattach.push(e=>{let n=e._zod.bag;n.format=r.format,n.minimum=o,n.maximum=i}),t._zod.check=e=>{let n=e.value;n<o&&e.issues.push({origin:"bigint",input:n,code:"too_small",minimum:o,inclusive:!0,inst:t,continue:!r.abort}),n>i&&e.issues.push({origin:"bigint",input:n,code:"too_big",maximum:i,inst:t})}}),Kn=v("$ZodCheckMaxSize",(t,r)=>{var o;O.init(t,r),(o=t._zod.def).when??(o.when=i=>{let e=i.value;return!de(e)&&e.size!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<e&&(i._zod.bag.maximum=r.maximum)}),t._zod.check=i=>{let e=i.value;e.size<=r.maximum||i.issues.push({origin:Je(e),code:"too_big",maximum:r.maximum,inclusive:!0,input:e,inst:t,continue:!r.abort})}}),Xn=v("$ZodCheckMinSize",(t,r)=>{var o;O.init(t,r),(o=t._zod.def).when??(o.when=i=>{let e=i.value;return!de(e)&&e.size!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>e&&(i._zod.bag.minimum=r.minimum)}),t._zod.check=i=>{let e=i.value;e.size>=r.minimum||i.issues.push({origin:Je(e),code:"too_small",minimum:r.minimum,inclusive:!0,input:e,inst:t,continue:!r.abort})}}),Hn=v("$ZodCheckSizeEquals",(t,r)=>{var o;O.init(t,r),(o=t._zod.def).when??(o.when=i=>{let e=i.value;return!de(e)&&e.size!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag;e.minimum=r.size,e.maximum=r.size,e.size=r.size}),t._zod.check=i=>{let e=i.value,n=e.size;if(n===r.size)return;let u=n>r.size;i.issues.push({origin:Je(e),...u?{code:"too_big",maximum:r.size}:{code:"too_small",minimum:r.size},inclusive:!0,exact:!0,input:i.value,inst:t,continue:!r.abort})}}),Qn=v("$ZodCheckMaxLength",(t,r)=>{var o;O.init(t,r),(o=t._zod.def).when??(o.when=i=>{let e=i.value;return!de(e)&&e.length!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<e&&(i._zod.bag.maximum=r.maximum)}),t._zod.check=i=>{let e=i.value;if(e.length<=r.maximum)return;let u=We(e);i.issues.push({origin:u,code:"too_big",maximum:r.maximum,inclusive:!0,input:e,inst:t,continue:!r.abort})}}),Yn=v("$ZodCheckMinLength",(t,r)=>{var o;O.init(t,r),(o=t._zod.def).when??(o.when=i=>{let e=i.value;return!de(e)&&e.length!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>e&&(i._zod.bag.minimum=r.minimum)}),t._zod.check=i=>{let e=i.value;if(e.length>=r.minimum)return;let u=We(e);i.issues.push({origin:u,code:"too_small",minimum:r.minimum,inclusive:!0,input:e,inst:t,continue:!r.abort})}}),ei=v("$ZodCheckLengthEquals",(t,r)=>{var o;O.init(t,r),(o=t._zod.def).when??(o.when=i=>{let e=i.value;return!de(e)&&e.length!==void 0}),t._zod.onattach.push(i=>{let e=i._zod.bag;e.minimum=r.length,e.maximum=r.length,e.length=r.length}),t._zod.check=i=>{let e=i.value,n=e.length;if(n===r.length)return;let u=We(e),d=n>r.length;i.issues.push({origin:u,...d?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:i.value,inst:t,continue:!r.abort})}}),Ce=v("$ZodCheckStringFormat",(t,r)=>{var o,i;O.init(t,r),t._zod.onattach.push(e=>{let n=e._zod.bag;n.format=r.format,r.pattern&&(n.patterns??(n.patterns=new Set),n.patterns.add(r.pattern))}),r.pattern?(o=t._zod).check??(o.check=e=>{r.pattern.lastIndex=0,!r.pattern.test(e.value)&&e.issues.push({origin:"string",code:"invalid_format",format:r.format,input:e.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:t,continue:!r.abort})}):(i=t._zod).check??(i.check=()=>{})}),ti=v("$ZodCheckRegex",(t,r)=>{Ce.init(t,r),t._zod.check=o=>{r.pattern.lastIndex=0,!r.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:"regex",input:o.value,pattern:r.pattern.toString(),inst:t,continue:!r.abort})}}),ri=v("$ZodCheckLowerCase",(t,r)=>{r.pattern??(r.pattern=Mn),Ce.init(t,r)}),ni=v("$ZodCheckUpperCase",(t,r)=>{r.pattern??(r.pattern=qn),Ce.init(t,r)}),ii=v("$ZodCheckIncludes",(t,r)=>{O.init(t,r);let o=G(r.includes),i=new RegExp(typeof r.position=="number"?`^.{${r.position}}${o}`:o);r.pattern=i,t._zod.onattach.push(e=>{let n=e._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(i)}),t._zod.check=e=>{e.value.includes(r.includes,r.position)||e.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:e.value,inst:t,continue:!r.abort})}}),oi=v("$ZodCheckStartsWith",(t,r)=>{O.init(t,r);let o=new RegExp(`^${G(r.prefix)}.*`);r.pattern??(r.pattern=o),t._zod.onattach.push(i=>{let e=i._zod.bag;e.patterns??(e.patterns=new Set),e.patterns.add(o)}),t._zod.check=i=>{i.value.startsWith(r.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:i.value,inst:t,continue:!r.abort})}}),ai=v("$ZodCheckEndsWith",(t,r)=>{O.init(t,r);let o=new RegExp(`.*${G(r.suffix)}$`);r.pattern??(r.pattern=o),t._zod.onattach.push(i=>{let e=i._zod.bag;e.patterns??(e.patterns=new Set),e.patterns.add(o)}),t._zod.check=i=>{i.value.endsWith(r.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:i.value,inst:t,continue:!r.abort})}});function xu(t,r,o){t.issues.length&&r.issues.push(...J(o,t.issues))}c(xu,"handleCheckPropertyResult");var ci=v("$ZodCheckProperty",(t,r)=>{O.init(t,r),t._zod.check=o=>{let i=r.schema._zod.run({value:o.value[r.property],issues:[]},{});if(i instanceof Promise)return i.then(e=>xu(e,o,r.property));xu(i,o,r.property)}}),ui=v("$ZodCheckMimeType",(t,r)=>{O.init(t,r);let o=new Set(r.mime);t._zod.onattach.push(i=>{i._zod.bag.mime=r.mime}),t._zod.check=i=>{o.has(i.value.type)||i.issues.push({code:"invalid_value",values:r.mime,input:i.value.type,inst:t,continue:!r.abort})}}),si=v("$ZodCheckOverwrite",(t,r)=>{O.init(t,r),t._zod.check=o=>{o.value=r.tx(o.value)}});var li=class li{constructor(r=[]){this.content=[],this.indent=0,this&&(this.args=r)}indented(r){this.indent+=1,r(this),this.indent-=1}write(r){if(typeof r=="function"){r(this,{execution:"sync"}),r(this,{execution:"async"});return}let i=r.split(`
|
|
3
|
-
`).filter(u=>u),
|
|
4
|
-
`))}};c(li,"Doc");var Ye=li;var di={major:4,minor:1,patch:13};var z=v("$ZodType",(t,r)=>{var o;t??(t={}),t._zod.def=r,t._zod.bag=t._zod.bag||{},t._zod.version=di;let i=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&i.unshift(t);for(let e of i)for(let n of e._zod.onattach)n(t);if(i.length===0)(o=t._zod).deferred??(o.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{let e=c((u,d,p)=>{let l=ge(u),s;for(let m of d){if(m._zod.def.when){if(!m._zod.def.when(u))continue}else if(l)continue;let f=u.issues.length,h=m._zod.check(u);if(h instanceof Promise&&p?.async===!1)throw new Q;if(s||h instanceof Promise)s=(s??Promise.resolve()).then(async()=>{await h,u.issues.length!==f&&(l||(l=ge(u,f)))});else{if(u.issues.length===f)continue;l||(l=ge(u,f))}}return s?s.then(()=>u):u},"runChecks"),n=c((u,d,p)=>{if(ge(u))return u.aborted=!0,u;let l=e(d,i,p);if(l instanceof Promise){if(p.async===!1)throw new Q;return l.then(s=>t._zod.parse(s,p))}return t._zod.parse(l,p)},"handleCanaryResult");t._zod.run=(u,d)=>{if(d.skipChecks)return t._zod.parse(u,d);if(d.direction==="backward"){let l=t._zod.parse({value:u.value,issues:[]},{...d,skipChecks:!0});return l instanceof Promise?l.then(s=>n(s,u,d)):n(l,u,d)}let p=t._zod.parse(u,d);if(p instanceof Promise){if(d.async===!1)throw new Q;return p.then(l=>e(l,i,d))}return e(p,i,d)}}t["~standard"]={validate:c(e=>{try{let n=gn(t,e);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return vn(t,e).then(u=>u.success?{value:u.data}:{issues:u.error?.issues})}},"validate"),vendor:"zod",version:1}}),be=v("$ZodString",(t,r)=>{z.init(t,r),t._zod.pattern=[...t?._zod.bag?.patterns??[]].pop()??Tn(t._zod.bag),t._zod.parse=(o,i)=>{if(r.coerce)try{o.value=String(o.value)}catch{}return typeof o.value=="string"||o.issues.push({expected:"string",code:"invalid_type",input:o.value,inst:t}),o}}),U=v("$ZodStringFormat",(t,r)=>{Ce.init(t,r),be.init(t,r)}),pi=v("$ZodGUID",(t,r)=>{r.pattern??(r.pattern=wn),U.init(t,r)}),fi=v("$ZodUUID",(t,r)=>{if(r.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(i===void 0)throw new Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=ye(i))}else r.pattern??(r.pattern=ye());U.init(t,r)}),gi=v("$ZodEmail",(t,r)=>{r.pattern??(r.pattern=In),U.init(t,r)}),vi=v("$ZodURL",(t,r)=>{U.init(t,r),t._zod.check=o=>{try{let i=o.value.trim(),e=new URL(i);r.hostname&&(r.hostname.lastIndex=0,r.hostname.test(e.hostname)||o.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:o.value,inst:t,continue:!r.abort})),r.protocol&&(r.protocol.lastIndex=0,r.protocol.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)||o.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:o.value,inst:t,continue:!r.abort})),r.normalize?o.value=e.href:o.value=i;return}catch{o.issues.push({code:"invalid_format",format:"url",input:o.value,inst:t,continue:!r.abort})}}}),hi=v("$ZodEmoji",(t,r)=>{r.pattern??(r.pattern=Sn()),U.init(t,r)}),yi=v("$ZodNanoID",(t,r)=>{r.pattern??(r.pattern=kn),U.init(t,r)}),bi=v("$ZodCUID",(t,r)=>{r.pattern??(r.pattern=hn),U.init(t,r)}),$i=v("$ZodCUID2",(t,r)=>{r.pattern??(r.pattern=yn),U.init(t,r)}),_i=v("$ZodULID",(t,r)=>{r.pattern??(r.pattern=bn),U.init(t,r)}),ki=v("$ZodXID",(t,r)=>{r.pattern??(r.pattern=$n),U.init(t,r)}),xi=v("$ZodKSUID",(t,r)=>{r.pattern??(r.pattern=_n),U.init(t,r)}),wi=v("$ZodISODateTime",(t,r)=>{r.pattern??(r.pattern=An(r)),U.init(t,r)}),Ii=v("$ZodISODate",(t,r)=>{r.pattern??(r.pattern=Dn),U.init(t,r)}),Si=v("$ZodISOTime",(t,r)=>{r.pattern??(r.pattern=En(r)),U.init(t,r)}),zi=v("$ZodISODuration",(t,r)=>{r.pattern??(r.pattern=xn),U.init(t,r)}),ji=v("$ZodIPv4",(t,r)=>{r.pattern??(r.pattern=zn),U.init(t,r),t._zod.bag.format="ipv4"}),Pi=v("$ZodIPv6",(t,r)=>{r.pattern??(r.pattern=jn),U.init(t,r),t._zod.bag.format="ipv6",t._zod.check=o=>{try{new URL(`http://[${o.value}]`)}catch{o.issues.push({code:"invalid_format",format:"ipv6",input:o.value,inst:t,continue:!r.abort})}}}),Ci=v("$ZodMAC",(t,r)=>{r.pattern??(r.pattern=Pn(r.delimiter)),U.init(t,r),t._zod.bag.format="mac"}),Ni=v("$ZodCIDRv4",(t,r)=>{r.pattern??(r.pattern=Cn),U.init(t,r)}),Ui=v("$ZodCIDRv6",(t,r)=>{r.pattern??(r.pattern=Nn),U.init(t,r),t._zod.check=o=>{let i=o.value.split("/");try{if(i.length!==2)throw new Error;let[e,n]=i;if(!n)throw new Error;let u=Number(n);if(`${u}`!==n)throw new Error;if(u<0||u>128)throw new Error;new URL(`http://[${e}]`)}catch{o.issues.push({code:"invalid_format",format:"cidrv6",input:o.value,inst:t,continue:!r.abort})}}});function Oi(t){if(t==="")return!0;if(t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}c(Oi,"isValidBase64");var Di=v("$ZodBase64",(t,r)=>{r.pattern??(r.pattern=Un),U.init(t,r),t._zod.bag.contentEncoding="base64",t._zod.check=o=>{Oi(o.value)||o.issues.push({code:"invalid_format",format:"base64",input:o.value,inst:t,continue:!r.abort})}});function Au(t){if(!Kt.test(t))return!1;let r=t.replace(/[-_]/g,i=>i==="-"?"+":"/"),o=r.padEnd(Math.ceil(r.length/4)*4,"=");return Oi(o)}c(Au,"isValidBase64URL");var Ei=v("$ZodBase64URL",(t,r)=>{r.pattern??(r.pattern=Kt),U.init(t,r),t._zod.bag.contentEncoding="base64url",t._zod.check=o=>{Au(o.value)||o.issues.push({code:"invalid_format",format:"base64url",input:o.value,inst:t,continue:!r.abort})}}),Ai=v("$ZodE164",(t,r)=>{r.pattern??(r.pattern=On),U.init(t,r)});function Tu(t,r=null){try{let o=t.split(".");if(o.length!==3)return!1;let[i]=o;if(!i)return!1;let e=JSON.parse(atob(i));return!("typ"in e&&e?.typ!=="JWT"||!e.alg||r&&(!("alg"in e)||e.alg!==r))}catch{return!1}}c(Tu,"isValidJWT");var Ti=v("$ZodJWT",(t,r)=>{U.init(t,r),t._zod.check=o=>{Tu(o.value,r.alg)||o.issues.push({code:"invalid_format",format:"jwt",input:o.value,inst:t,continue:!r.abort})}}),Zi=v("$ZodCustomStringFormat",(t,r)=>{U.init(t,r),t._zod.check=o=>{r.fn(o.value)||o.issues.push({code:"invalid_format",format:r.format,input:o.value,inst:t,continue:!r.abort})}}),nr=v("$ZodNumber",(t,r)=>{z.init(t,r),t._zod.pattern=t._zod.bag.pattern??Vn,t._zod.parse=(o,i)=>{if(r.coerce)try{o.value=Number(o.value)}catch{}let e=o.value;if(typeof e=="number"&&!Number.isNaN(e)&&Number.isFinite(e))return o;let n=typeof e=="number"?Number.isNaN(e)?"NaN":Number.isFinite(e)?void 0:"Infinity":void 0;return o.issues.push({expected:"number",code:"invalid_type",input:e,inst:t,...n?{received:n}:{}}),o}}),Ri=v("$ZodNumberFormat",(t,r)=>{Wn.init(t,r),nr.init(t,r)}),et=v("$ZodBoolean",(t,r)=>{z.init(t,r),t._zod.pattern=Ln,t._zod.parse=(o,i)=>{if(r.coerce)try{o.value=!!o.value}catch{}let e=o.value;return typeof e=="boolean"||o.issues.push({expected:"boolean",code:"invalid_type",input:e,inst:t}),o}}),ir=v("$ZodBigInt",(t,r)=>{z.init(t,r),t._zod.pattern=Zn,t._zod.parse=(o,i)=>{if(r.coerce)try{o.value=BigInt(o.value)}catch{}return typeof o.value=="bigint"||o.issues.push({expected:"bigint",code:"invalid_type",input:o.value,inst:t}),o}}),Vi=v("$ZodBigIntFormat",(t,r)=>{Gn.init(t,r),ir.init(t,r)}),Li=v("$ZodSymbol",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{let e=o.value;return typeof e=="symbol"||o.issues.push({expected:"symbol",code:"invalid_type",input:e,inst:t}),o}}),Fi=v("$ZodUndefined",(t,r)=>{z.init(t,r),t._zod.pattern=Bn,t._zod.values=new Set([void 0]),t._zod.optin="optional",t._zod.optout="optional",t._zod.parse=(o,i)=>{let e=o.value;return typeof e>"u"||o.issues.push({expected:"undefined",code:"invalid_type",input:e,inst:t}),o}}),Bi=v("$ZodNull",(t,r)=>{z.init(t,r),t._zod.pattern=Fn,t._zod.values=new Set([null]),t._zod.parse=(o,i)=>{let e=o.value;return e===null||o.issues.push({expected:"null",code:"invalid_type",input:e,inst:t}),o}}),Mi=v("$ZodAny",(t,r)=>{z.init(t,r),t._zod.parse=o=>o}),qi=v("$ZodUnknown",(t,r)=>{z.init(t,r),t._zod.parse=o=>o}),Ji=v("$ZodNever",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>(o.issues.push({expected:"never",code:"invalid_type",input:o.value,inst:t}),o)}),Wi=v("$ZodVoid",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{let e=o.value;return typeof e>"u"||o.issues.push({expected:"void",code:"invalid_type",input:e,inst:t}),o}}),Gi=v("$ZodDate",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{if(r.coerce)try{o.value=new Date(o.value)}catch{}let e=o.value,n=e instanceof Date;return n&&!Number.isNaN(e.getTime())||o.issues.push({expected:"date",code:"invalid_type",input:e,...n?{received:"Invalid Date"}:{},inst:t}),o}});function Su(t,r,o){t.issues.length&&r.issues.push(...J(o,t.issues)),r.value[o]=t.value}c(Su,"handleArrayResult");var Ki=v("$ZodArray",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{let e=o.value;if(!Array.isArray(e))return o.issues.push({expected:"array",code:"invalid_type",input:e,inst:t}),o;o.value=Array(e.length);let n=[];for(let u=0;u<e.length;u++){let d=e[u],p=r.element._zod.run({value:d,issues:[]},i);p instanceof Promise?n.push(p.then(l=>Su(l,o,u))):Su(p,o,u)}return n.length?Promise.all(n).then(()=>o):o}});function rr(t,r,o,i){t.issues.length&&r.issues.push(...J(o,t.issues)),t.value===void 0?o in i&&(r.value[o]=void 0):r.value[o]=t.value}c(rr,"handlePropertyResult");function Zu(t){let r=Object.keys(t.shape);for(let i of r)if(!t.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let o=sn(t.shape);return{...t,keys:r,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(o)}}c(Zu,"normalizeDef");function Ru(t,r,o,i,e,n){let u=[],d=e.keySet,p=e.catchall._zod,l=p.def.type;for(let s in r){if(d.has(s))continue;if(l==="never"){u.push(s);continue}let m=p.run({value:r[s],issues:[]},i);m instanceof Promise?t.push(m.then(f=>rr(f,o,s,r))):rr(m,o,s,r)}return u.length&&o.issues.push({code:"unrecognized_keys",keys:u,input:r,inst:n}),t.length?Promise.all(t).then(()=>o):o}c(Ru,"handleCatchall");var Vu=v("$ZodObject",(t,r)=>{if(z.init(t,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let d=r.shape;Object.defineProperty(r,"shape",{get:c(()=>{let p={...d};return Object.defineProperty(r,"shape",{value:p}),p},"get")})}let i=we(()=>Zu(r));N(t._zod,"propValues",()=>{let d=r.shape,p={};for(let l in d){let s=d[l]._zod;if(s.values){p[l]??(p[l]=new Set);for(let m of s.values)p[l].add(m)}}return p});let e=he,n=r.catchall,u;t._zod.parse=(d,p)=>{u??(u=i.value);let l=d.value;if(!e(l))return d.issues.push({expected:"object",code:"invalid_type",input:l,inst:t}),d;d.value={};let s=[],m=u.shape;for(let f of u.keys){let g=m[f]._zod.run({value:l[f],issues:[]},p);g instanceof Promise?s.push(g.then(b=>rr(b,d,f,l))):rr(g,d,f,l)}return n?Ru(s,l,d,p,i.value,t):s.length?Promise.all(s).then(()=>d):d}}),Xi=v("$ZodObjectJIT",(t,r)=>{Vu.init(t,r);let o=t._zod.parse,i=we(()=>Zu(r)),e=c(f=>{let h=new Ye(["shape","payload","ctx"]),g=i.value,b=c(P=>{let w=Tt(P);return`shape[${w}]._zod.run({ value: input[${w}], issues: [] }, ctx)`},"parseStr");h.write("const input = payload.value;");let x=Object.create(null),I=0;for(let P of g.keys)x[P]=`key_${I++}`;h.write("const newResult = {};");for(let P of g.keys){let w=x[P],E=Tt(P);h.write(`const ${w} = ${b(P)};`),h.write(`
|
|
5
|
-
if (${
|
|
6
|
-
payload.issues = payload.issues.concat(${
|
|
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
|
+
if (${C}.issues.length) {
|
|
6
|
+
payload.issues = payload.issues.concat(${C}.issues.map(iss => ({
|
|
7
7
|
...iss,
|
|
8
|
-
path: iss.path ? [${
|
|
8
|
+
path: iss.path ? [${A}, ...iss.path] : [${A}]
|
|
9
9
|
})));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
if (${
|
|
14
|
-
if (${
|
|
15
|
-
newResult[${
|
|
13
|
+
if (${C}.value === undefined) {
|
|
14
|
+
if (${A} in input) {
|
|
15
|
+
newResult[${A}] = undefined;
|
|
16
16
|
}
|
|
17
17
|
} else {
|
|
18
|
-
newResult[${
|
|
18
|
+
newResult[${A}] = ${C}.value;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
`)}h.write("payload.value = newResult;"),h.write("return payload;");let S=h.compile();return(P,w)=>S(f,P,w)},"generateFastpass"),n,u=he,d=!Le.jitless,l=d&&an.value,s=r.catchall,m;t._zod.parse=(f,h)=>{m??(m=i.value);let g=f.value;return u(g)?d&&l&&h?.async===!1&&h.jitless!==!0?(n||(n=e(r.shape)),f=n(f,h),s?Ru([],g,f,h,m,t):f):o(f,h):(f.issues.push({expected:"object",code:"invalid_type",input:g,inst:t}),f)}});function zu(t,r,o,i){for(let n of t)if(n.issues.length===0)return r.value=n.value,r;let e=t.filter(n=>!ge(n));return e.length===1?(r.value=e[0].value,e[0]):(r.issues.push({code:"invalid_union",input:r.value,inst:o,errors:t.map(n=>n.issues.map(u=>W(u,i,A())))}),r)}c(zu,"handleUnionResults");var or=v("$ZodUnion",(t,r)=>{z.init(t,r),N(t._zod,"optin",()=>r.options.some(e=>e._zod.optin==="optional")?"optional":void 0),N(t._zod,"optout",()=>r.options.some(e=>e._zod.optout==="optional")?"optional":void 0),N(t._zod,"values",()=>{if(r.options.every(e=>e._zod.values))return new Set(r.options.flatMap(e=>Array.from(e._zod.values)))}),N(t._zod,"pattern",()=>{if(r.options.every(e=>e._zod.pattern)){let e=r.options.map(n=>n._zod.pattern);return new RegExp(`^(${e.map(n=>Me(n.source)).join("|")})$`)}});let o=r.options.length===1,i=r.options[0]._zod.run;t._zod.parse=(e,n)=>{if(o)return i(e,n);let u=!1,d=[];for(let p of r.options){let l=p._zod.run({value:e.value,issues:[]},n);if(l instanceof Promise)d.push(l),u=!0;else{if(l.issues.length===0)return l;d.push(l)}}return u?Promise.all(d).then(p=>zu(p,e,t,n)):zu(d,e,t,n)}}),Hi=v("$ZodDiscriminatedUnion",(t,r)=>{or.init(t,r);let o=t._zod.parse;N(t._zod,"propValues",()=>{let e={};for(let n of r.options){let u=n._zod.propValues;if(!u||Object.keys(u).length===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(n)}"`);for(let[d,p]of Object.entries(u)){e[d]||(e[d]=new Set);for(let l of p)e[d].add(l)}}return e});let i=we(()=>{let e=r.options,n=new Map;for(let u of e){let d=u._zod.propValues?.[r.discriminator];if(!d||d.size===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(u)}"`);for(let p of d){if(n.has(p))throw new Error(`Duplicate discriminator value "${String(p)}"`);n.set(p,u)}}return n});t._zod.parse=(e,n)=>{let u=e.value;if(!he(u))return e.issues.push({code:"invalid_type",expected:"object",input:u,inst:t}),e;let d=i.value.get(u?.[r.discriminator]);return d?d._zod.run(e,n):r.unionFallback?o(e,n):(e.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,input:u,path:[r.discriminator],inst:t}),e)}}),Qi=v("$ZodIntersection",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{let e=o.value,n=r.left._zod.run({value:e,issues:[]},i),u=r.right._zod.run({value:e,issues:[]},i);return n instanceof Promise||u instanceof Promise?Promise.all([n,u]).then(([p,l])=>ju(o,p,l)):ju(o,n,u)}});function mi(t,r){if(t===r)return{valid:!0,data:t};if(t instanceof Date&&r instanceof Date&&+t==+r)return{valid:!0,data:t};if(fe(t)&&fe(r)){let o=Object.keys(r),i=Object.keys(t).filter(n=>o.indexOf(n)!==-1),e={...t,...r};for(let n of i){let u=mi(t[n],r[n]);if(!u.valid)return{valid:!1,mergeErrorPath:[n,...u.mergeErrorPath]};e[n]=u.data}return{valid:!0,data:e}}if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return{valid:!1,mergeErrorPath:[]};let o=[];for(let i=0;i<t.length;i++){let e=t[i],n=r[i],u=mi(e,n);if(!u.valid)return{valid:!1,mergeErrorPath:[i,...u.mergeErrorPath]};o.push(u.data)}return{valid:!0,data:o}}return{valid:!1,mergeErrorPath:[]}}c(mi,"mergeValues");function ju(t,r,o){if(r.issues.length&&t.issues.push(...r.issues),o.issues.length&&t.issues.push(...o.issues),ge(t))return t;let i=mi(r.value,o.value);if(!i.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);return t.value=i.data,t}c(ju,"handleIntersectionResults");var ar=v("$ZodTuple",(t,r)=>{z.init(t,r);let o=r.items;t._zod.parse=(i,e)=>{let n=i.value;if(!Array.isArray(n))return i.issues.push({input:n,inst:t,expected:"tuple",code:"invalid_type"}),i;i.value=[];let u=[],d=[...o].reverse().findIndex(s=>s._zod.optin!=="optional"),p=d===-1?0:o.length-d;if(!r.rest){let s=n.length>o.length,m=n.length<p-1;if(s||m)return i.issues.push({...s?{code:"too_big",maximum:o.length}:{code:"too_small",minimum:o.length},input:n,inst:t,origin:"array"}),i}let l=-1;for(let s of o){if(l++,l>=n.length&&l>=p)continue;let m=s._zod.run({value:n[l],issues:[]},e);m instanceof Promise?u.push(m.then(f=>Qt(f,i,l))):Qt(m,i,l)}if(r.rest){let s=n.slice(o.length);for(let m of s){l++;let f=r.rest._zod.run({value:m,issues:[]},e);f instanceof Promise?u.push(f.then(h=>Qt(h,i,l))):Qt(f,i,l)}}return u.length?Promise.all(u).then(()=>i):i}});function Qt(t,r,o){t.issues.length&&r.issues.push(...J(o,t.issues)),r.value[o]=t.value}c(Qt,"handleTupleResult");var Yi=v("$ZodRecord",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{let e=o.value;if(!fe(e))return o.issues.push({expected:"record",code:"invalid_type",input:e,inst:t}),o;let n=[],u=r.keyType._zod.values;if(u){o.value={};let d=new Set;for(let l of u)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){d.add(typeof l=="number"?l.toString():l);let s=r.valueType._zod.run({value:e[l],issues:[]},i);s instanceof Promise?n.push(s.then(m=>{m.issues.length&&o.issues.push(...J(l,m.issues)),o.value[l]=m.value})):(s.issues.length&&o.issues.push(...J(l,s.issues)),o.value[l]=s.value)}let p;for(let l in e)d.has(l)||(p=p??[],p.push(l));p&&p.length>0&&o.issues.push({code:"unrecognized_keys",input:e,inst:t,keys:p})}else{o.value={};for(let d of Reflect.ownKeys(e)){if(d==="__proto__")continue;let p=r.keyType._zod.run({value:d,issues:[]},i);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(p.issues.length){o.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(s=>W(s,i,A())),input:d,path:[d],inst:t}),o.value[p.value]=p.value;continue}let l=r.valueType._zod.run({value:e[d],issues:[]},i);l instanceof Promise?n.push(l.then(s=>{s.issues.length&&o.issues.push(...J(d,s.issues)),o.value[p.value]=s.value})):(l.issues.length&&o.issues.push(...J(d,l.issues)),o.value[p.value]=l.value)}}return n.length?Promise.all(n).then(()=>o):o}}),eo=v("$ZodMap",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{let e=o.value;if(!(e instanceof Map))return o.issues.push({expected:"map",code:"invalid_type",input:e,inst:t}),o;let n=[];o.value=new Map;for(let[u,d]of e){let p=r.keyType._zod.run({value:u,issues:[]},i),l=r.valueType._zod.run({value:d,issues:[]},i);p instanceof Promise||l instanceof Promise?n.push(Promise.all([p,l]).then(([s,m])=>{Pu(s,m,o,u,e,t,i)})):Pu(p,l,o,u,e,t,i)}return n.length?Promise.all(n).then(()=>o):o}});function Pu(t,r,o,i,e,n,u){t.issues.length&&(qe.has(typeof i)?o.issues.push(...J(i,t.issues)):o.issues.push({code:"invalid_key",origin:"map",input:e,inst:n,issues:t.issues.map(d=>W(d,u,A()))})),r.issues.length&&(qe.has(typeof i)?o.issues.push(...J(i,r.issues)):o.issues.push({origin:"map",code:"invalid_element",input:e,inst:n,key:i,issues:r.issues.map(d=>W(d,u,A()))})),o.value.set(t.value,r.value)}c(Pu,"handleMapResult");var to=v("$ZodSet",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{let e=o.value;if(!(e instanceof Set))return o.issues.push({input:e,inst:t,expected:"set",code:"invalid_type"}),o;let n=[];o.value=new Set;for(let u of e){let d=r.valueType._zod.run({value:u,issues:[]},i);d instanceof Promise?n.push(d.then(p=>Cu(p,o))):Cu(d,o)}return n.length?Promise.all(n).then(()=>o):o}});function Cu(t,r){t.issues.length&&r.issues.push(...t.issues),r.value.add(t.value)}c(Cu,"handleSetResult");var ro=v("$ZodEnum",(t,r)=>{z.init(t,r);let o=Be(r.entries),i=new Set(o);t._zod.values=i,t._zod.pattern=new RegExp(`^(${o.filter(e=>qe.has(typeof e)).map(e=>typeof e=="string"?G(e):e.toString()).join("|")})$`),t._zod.parse=(e,n)=>{let u=e.value;return i.has(u)||e.issues.push({code:"invalid_value",values:o,input:u,inst:t}),e}}),no=v("$ZodLiteral",(t,r)=>{if(z.init(t,r),r.values.length===0)throw new Error("Cannot create literal schema with no valid values");let o=new Set(r.values);t._zod.values=o,t._zod.pattern=new RegExp(`^(${r.values.map(i=>typeof i=="string"?G(i):i?G(i.toString()):String(i)).join("|")})$`),t._zod.parse=(i,e)=>{let n=i.value;return o.has(n)||i.issues.push({code:"invalid_value",values:r.values,input:n,inst:t}),i}}),io=v("$ZodFile",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{let e=o.value;return e instanceof File||o.issues.push({expected:"file",code:"invalid_type",input:e,inst:t}),o}}),oo=v("$ZodTransform",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{if(i.direction==="backward")throw new le(t.constructor.name);let e=r.transform(o.value,o);if(i.async)return(e instanceof Promise?e:Promise.resolve(e)).then(u=>(o.value=u,o));if(e instanceof Promise)throw new Q;return o.value=e,o}});function Nu(t,r){return t.issues.length&&r===void 0?{issues:[],value:void 0}:t}c(Nu,"handleOptionalResult");var ao=v("$ZodOptional",(t,r)=>{z.init(t,r),t._zod.optin="optional",t._zod.optout="optional",N(t._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,void 0]):void 0),N(t._zod,"pattern",()=>{let o=r.innerType._zod.pattern;return o?new RegExp(`^(${Me(o.source)})?$`):void 0}),t._zod.parse=(o,i)=>{if(r.innerType._zod.optin==="optional"){let e=r.innerType._zod.run(o,i);return e instanceof Promise?e.then(n=>Nu(n,o.value)):Nu(e,o.value)}return o.value===void 0?o:r.innerType._zod.run(o,i)}}),co=v("$ZodNullable",(t,r)=>{z.init(t,r),N(t._zod,"optin",()=>r.innerType._zod.optin),N(t._zod,"optout",()=>r.innerType._zod.optout),N(t._zod,"pattern",()=>{let o=r.innerType._zod.pattern;return o?new RegExp(`^(${Me(o.source)}|null)$`):void 0}),N(t._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,null]):void 0),t._zod.parse=(o,i)=>o.value===null?o:r.innerType._zod.run(o,i)}),uo=v("$ZodDefault",(t,r)=>{z.init(t,r),t._zod.optin="optional",N(t._zod,"values",()=>r.innerType._zod.values),t._zod.parse=(o,i)=>{if(i.direction==="backward")return r.innerType._zod.run(o,i);if(o.value===void 0)return o.value=r.defaultValue,o;let e=r.innerType._zod.run(o,i);return e instanceof Promise?e.then(n=>Uu(n,r)):Uu(e,r)}});function Uu(t,r){return t.value===void 0&&(t.value=r.defaultValue),t}c(Uu,"handleDefaultResult");var so=v("$ZodPrefault",(t,r)=>{z.init(t,r),t._zod.optin="optional",N(t._zod,"values",()=>r.innerType._zod.values),t._zod.parse=(o,i)=>(i.direction==="backward"||o.value===void 0&&(o.value=r.defaultValue),r.innerType._zod.run(o,i))}),lo=v("$ZodNonOptional",(t,r)=>{z.init(t,r),N(t._zod,"values",()=>{let o=r.innerType._zod.values;return o?new Set([...o].filter(i=>i!==void 0)):void 0}),t._zod.parse=(o,i)=>{let e=r.innerType._zod.run(o,i);return e instanceof Promise?e.then(n=>Ou(n,t)):Ou(e,t)}});function Ou(t,r){return!t.issues.length&&t.value===void 0&&t.issues.push({code:"invalid_type",expected:"nonoptional",input:t.value,inst:r}),t}c(Ou,"handleNonOptionalResult");var mo=v("$ZodSuccess",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>{if(i.direction==="backward")throw new le("ZodSuccess");let e=r.innerType._zod.run(o,i);return e instanceof Promise?e.then(n=>(o.value=n.issues.length===0,o)):(o.value=e.issues.length===0,o)}}),po=v("$ZodCatch",(t,r)=>{z.init(t,r),N(t._zod,"optin",()=>r.innerType._zod.optin),N(t._zod,"optout",()=>r.innerType._zod.optout),N(t._zod,"values",()=>r.innerType._zod.values),t._zod.parse=(o,i)=>{if(i.direction==="backward")return r.innerType._zod.run(o,i);let e=r.innerType._zod.run(o,i);return e instanceof Promise?e.then(n=>(o.value=n.value,n.issues.length&&(o.value=r.catchValue({...o,error:{issues:n.issues.map(u=>W(u,i,A()))},input:o.value}),o.issues=[]),o)):(o.value=e.value,e.issues.length&&(o.value=r.catchValue({...o,error:{issues:e.issues.map(n=>W(n,i,A()))},input:o.value}),o.issues=[]),o)}}),fo=v("$ZodNaN",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>((typeof o.value!="number"||!Number.isNaN(o.value))&&o.issues.push({input:o.value,inst:t,expected:"nan",code:"invalid_type"}),o)}),go=v("$ZodPipe",(t,r)=>{z.init(t,r),N(t._zod,"values",()=>r.in._zod.values),N(t._zod,"optin",()=>r.in._zod.optin),N(t._zod,"optout",()=>r.out._zod.optout),N(t._zod,"propValues",()=>r.in._zod.propValues),t._zod.parse=(o,i)=>{if(i.direction==="backward"){let n=r.out._zod.run(o,i);return n instanceof Promise?n.then(u=>Yt(u,r.in,i)):Yt(n,r.in,i)}let e=r.in._zod.run(o,i);return e instanceof Promise?e.then(n=>Yt(n,r.out,i)):Yt(e,r.out,i)}});function Yt(t,r,o){return t.issues.length?(t.aborted=!0,t):r._zod.run({value:t.value,issues:t.issues},o)}c(Yt,"handlePipeResult");var tt=v("$ZodCodec",(t,r)=>{z.init(t,r),N(t._zod,"values",()=>r.in._zod.values),N(t._zod,"optin",()=>r.in._zod.optin),N(t._zod,"optout",()=>r.out._zod.optout),N(t._zod,"propValues",()=>r.in._zod.propValues),t._zod.parse=(o,i)=>{if((i.direction||"forward")==="forward"){let n=r.in._zod.run(o,i);return n instanceof Promise?n.then(u=>er(u,r,i)):er(n,r,i)}else{let n=r.out._zod.run(o,i);return n instanceof Promise?n.then(u=>er(u,r,i)):er(n,r,i)}}});function er(t,r,o){if(t.issues.length)return t.aborted=!0,t;if((o.direction||"forward")==="forward"){let e=r.transform(t.value,t);return e instanceof Promise?e.then(n=>tr(t,n,r.out,o)):tr(t,e,r.out,o)}else{let e=r.reverseTransform(t.value,t);return e instanceof Promise?e.then(n=>tr(t,n,r.in,o)):tr(t,e,r.in,o)}}c(er,"handleCodecAResult");function tr(t,r,o,i){return t.issues.length?(t.aborted=!0,t):o._zod.run({value:r,issues:t.issues},i)}c(tr,"handleCodecTxResult");var vo=v("$ZodReadonly",(t,r)=>{z.init(t,r),N(t._zod,"propValues",()=>r.innerType._zod.propValues),N(t._zod,"values",()=>r.innerType._zod.values),N(t._zod,"optin",()=>r.innerType?._zod?.optin),N(t._zod,"optout",()=>r.innerType?._zod?.optout),t._zod.parse=(o,i)=>{if(i.direction==="backward")return r.innerType._zod.run(o,i);let e=r.innerType._zod.run(o,i);return e instanceof Promise?e.then(Du):Du(e)}});function Du(t){return t.value=Object.freeze(t.value),t}c(Du,"handleReadonlyResult");var ho=v("$ZodTemplateLiteral",(t,r)=>{z.init(t,r);let o=[];for(let i of r.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);let e=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!e)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let n=e.startsWith("^")?1:0,u=e.endsWith("$")?e.length-1:e.length;o.push(e.slice(n,u))}else if(i===null||un.has(typeof i))o.push(G(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);t._zod.pattern=new RegExp(`^${o.join("")}$`),t._zod.parse=(i,e)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:t,expected:"template_literal",code:"invalid_type"}),i):(t._zod.pattern.lastIndex=0,t._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:t,code:"invalid_format",format:r.format??"template_literal",pattern:t._zod.pattern.source}),i)}),yo=v("$ZodFunction",(t,r)=>(z.init(t,r),t._def=r,t._zod.def=r,t.implement=o=>{if(typeof o!="function")throw new Error("implement() must be called with a function");return function(...i){let e=t._def.input?Rt(t._def.input,i):i,n=Reflect.apply(o,this,e);return t._def.output?Rt(t._def.output,n):n}},t.implementAsync=o=>{if(typeof o!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){let e=t._def.input?await Vt(t._def.input,i):i,n=await Reflect.apply(o,this,e);return t._def.output?await Vt(t._def.output,n):n}},t._zod.parse=(o,i)=>typeof o.value!="function"?(o.issues.push({code:"invalid_type",expected:"function",input:o.value,inst:t}),o):(t._def.output&&t._def.output._zod.def.type==="promise"?o.value=t.implementAsync(o.value):o.value=t.implement(o.value),o),t.input=(...o)=>{let i=t.constructor;return Array.isArray(o[0])?new i({type:"function",input:new ar({type:"tuple",items:o[0],rest:o[1]}),output:t._def.output}):new i({type:"function",input:o[0],output:t._def.output})},t.output=o=>{let i=t.constructor;return new i({type:"function",input:t._def.input,output:o})},t)),bo=v("$ZodPromise",(t,r)=>{z.init(t,r),t._zod.parse=(o,i)=>Promise.resolve(o.value).then(e=>r.innerType._zod.run({value:e,issues:[]},i))}),$o=v("$ZodLazy",(t,r)=>{z.init(t,r),N(t._zod,"innerType",()=>r.getter()),N(t._zod,"pattern",()=>t._zod.innerType?._zod?.pattern),N(t._zod,"propValues",()=>t._zod.innerType?._zod?.propValues),N(t._zod,"optin",()=>t._zod.innerType?._zod?.optin??void 0),N(t._zod,"optout",()=>t._zod.innerType?._zod?.optout??void 0),t._zod.parse=(o,i)=>t._zod.innerType._zod.run(o,i)}),_o=v("$ZodCustom",(t,r)=>{O.init(t,r),z.init(t,r),t._zod.parse=(o,i)=>o,t._zod.check=o=>{let i=o.value,e=r.fn(i);if(e instanceof Promise)return e.then(n=>Eu(n,o,i,t));Eu(e,o,i,t)}});function Eu(t,r,o,i){if(!t){let e={code:"custom",input:o,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(e.params=i._zod.def.params),r.issues.push(Ie(e))}}c(Eu,"handleRefineResult");var ct={};se(ct,{ar:()=>ko,az:()=>xo,be:()=>wo,bg:()=>Io,ca:()=>So,cs:()=>zo,da:()=>jo,de:()=>Po,en:()=>rt,eo:()=>Co,es:()=>No,fa:()=>Uo,fi:()=>Oo,fr:()=>Do,frCA:()=>Eo,he:()=>Ao,hu:()=>To,id:()=>Zo,is:()=>Ro,it:()=>Vo,ja:()=>Lo,ka:()=>Fo,kh:()=>Bo,km:()=>nt,ko:()=>Mo,lt:()=>qo,mk:()=>Jo,ms:()=>Wo,nl:()=>Go,no:()=>Ko,ota:()=>Xo,pl:()=>Qo,ps:()=>Ho,pt:()=>Yo,ru:()=>ea,sl:()=>ta,sv:()=>ra,ta:()=>na,th:()=>ia,tr:()=>oa,ua:()=>aa,uk:()=>at,ur:()=>ca,vi:()=>ua,yo:()=>da,zhCN:()=>sa,zhTW:()=>la});var wd=c(()=>{let t={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){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 n},"parsedType"),i={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 e=>{switch(e.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 ${e.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${$(e.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.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 ${e.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${n} ${e.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 ${e.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${n} ${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${e.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${n} ${e.minimum.toString()} ${u.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${e.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${n} ${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${e.prefix}"`:n.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 "${n.suffix}"`:n.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 "${n.includes}"`:n.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 ${n.pattern}`:`${i[n.format]??e.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${e.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${e.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${e.keys.length>1?"\u0629":""}: ${y(e.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${e.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${e.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}},"error");function ko(){return{localeError:wd()}}c(ko,"default");var Id=c(()=>{let t={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){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 n},"parsedType"),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",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 e=>{switch(e.code){case"invalid_type":return`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${e.expected}, daxil olan ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${$(e.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${e.origin??"d\u0259y\u0259r"} ${n}${e.maximum.toString()} ${u.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${e.origin??"d\u0259y\u0259r"} ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${e.origin} ${n}${e.minimum.toString()} ${u.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${e.origin} ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${n.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:n.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${n.suffix}" il\u0259 bitm\u0259lidir`:n.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${n.includes}" daxil olmal\u0131d\u0131r`:n.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${n.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${i[n.format]??e.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${e.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${e.keys.length>1?"lar":""}: ${y(e.keys,", ")}`;case"invalid_key":return`${e.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${e.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}},"error");function xo(){return{localeError:Id()}}c(xo,"default");function Lu(t,r,o,i){let e=Math.abs(t),n=e%10,u=e%100;return u>=11&&u<=19?i:n===1?r:n>=2&&n<=4?o:i}c(Lu,"getBelarusianPlural");var Sd=c(()=>{let t={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"\u043B\u0456\u043A";case"object":{if(Array.isArray(e))return"\u043C\u0430\u0441\u0456\u045E";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.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 ${e.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${$(e.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);if(u){let d=Number(e.maximum),p=Lu(d,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 ${e.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${u.verb} ${n}${e.maximum.toString()} ${p}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${e.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);if(u){let d=Number(e.minimum),p=Lu(d,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 ${e.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${u.verb} ${n}${e.minimum.toString()} ${p}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${e.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.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 "${n.prefix}"`:n.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 "${n.suffix}"`:n.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 "${n.includes}"`:n.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 ${n.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${i[n.format]??e.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${e.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${e.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${y(e.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${e.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${e.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}},"error");function wo(){return{localeError:Sd()}}c(wo,"default");var zd=c(t=>{let r=typeof t;switch(r){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 r},"parsedType"),jd=c(()=>{let t={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function r(i){return t[i]??null}c(r,"getSizing");let o={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 i=>{switch(i.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 ${i.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${zd(i.input)}`;case"invalid_value":return i.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${$(i.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 ${y(i.values,"|")}`;case"too_big":{let e=i.inclusive?"<=":"<",n=r(i.origin);return n?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${e}${i.maximum.toString()} ${n.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 ${i.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${e}${i.maximum.toString()}`}case"too_small":{let e=i.inclusive?">=":">",n=r(i.origin);return n?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${e}${i.minimum.toString()} ${n.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${e}${i.minimum.toString()}`}case"invalid_format":{let e=i;if(e.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 "${e.prefix}"`;if(e.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 "${e.suffix}"`;if(e.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 "${e.includes}"`;if(e.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 ${e.pattern}`;let n="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return e.format==="emoji"&&(n="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),e.format==="datetime"&&(n="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),e.format==="date"&&(n="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),e.format==="time"&&(n="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),e.format==="duration"&&(n="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${n} ${o[e.format]??i.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 ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${i.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${i.keys.length>1?"\u043E\u0432\u0435":""}: ${y(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${i.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 ${i.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}},"error");function Io(){return{localeError:jd()}}c(Io,"default");var Pd=c(()=>{let t={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){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 n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Tipus inv\xE0lid: s'esperava ${e.expected}, s'ha rebut ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Valor inv\xE0lid: s'esperava ${$(e.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${y(e.values," o ")}`;case"too_big":{let n=e.inclusive?"com a m\xE0xim":"menys de",u=r(e.origin);return u?`Massa gran: s'esperava que ${e.origin??"el valor"} contingu\xE9s ${n} ${e.maximum.toString()} ${u.unit??"elements"}`:`Massa gran: s'esperava que ${e.origin??"el valor"} fos ${n} ${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?"com a m\xEDnim":"m\xE9s de",u=r(e.origin);return u?`Massa petit: s'esperava que ${e.origin} contingu\xE9s ${n} ${e.minimum.toString()} ${u.unit}`:`Massa petit: s'esperava que ${e.origin} fos ${n} ${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${n.prefix}"`:n.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${n.suffix}"`:n.format==="includes"?`Format inv\xE0lid: ha d'incloure "${n.includes}"`:n.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${n.pattern}`:`Format inv\xE0lid per a ${i[n.format]??e.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${e.divisor}`;case"unrecognized_keys":return`Clau${e.keys.length>1?"s":""} no reconeguda${e.keys.length>1?"s":""}: ${y(e.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${e.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${e.origin}`;default:return"Entrada inv\xE0lida"}}},"error");function So(){return{localeError:Pd()}}c(So,"default");var Cd=c(()=>{let t={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"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(e))return"pole";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${e.expected}, obdr\u017Eeno ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${$(e.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${e.origin??"hodnota"} mus\xED m\xEDt ${n}${e.maximum.toString()} ${u.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${e.origin??"hodnota"} mus\xED b\xFDt ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${e.origin??"hodnota"} mus\xED m\xEDt ${n}${e.minimum.toString()} ${u.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${e.origin??"hodnota"} mus\xED b\xFDt ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${n.prefix}"`:n.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${n.suffix}"`:n.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${n.includes}"`:n.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${n.pattern}`:`Neplatn\xFD form\xE1t ${i[n.format]??e.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${e.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${y(e.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${e.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${e.origin}`;default:return"Neplatn\xFD vstup"}}},"error");function zo(){return{localeError:Cd()}}c(zo,"default");var Nd=c(()=>{let t={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 o(u){return t[u]??null}c(o,"getSizing");function i(u){return r[u]??u}c(i,"getTypeName");let e=c(u=>{let d=typeof u;switch(d){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 d},"parsedType"),n={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"};return u=>{switch(u.code){case"invalid_type":return`Ugyldigt input: forventede ${i(u.expected)}, fik ${i(e(u.input))}`;case"invalid_value":return u.values.length===1?`Ugyldig v\xE6rdi: forventede ${$(u.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${y(u.values,"|")}`;case"too_big":{let d=u.inclusive?"<=":"<",p=o(u.origin),l=i(u.origin);return p?`For stor: forventede ${l??"value"} ${p.verb} ${d} ${u.maximum.toString()} ${p.unit??"elementer"}`:`For stor: forventede ${l??"value"} havde ${d} ${u.maximum.toString()}`}case"too_small":{let d=u.inclusive?">=":">",p=o(u.origin),l=i(u.origin);return p?`For lille: forventede ${l} ${p.verb} ${d} ${u.minimum.toString()} ${p.unit}`:`For lille: forventede ${l} havde ${d} ${u.minimum.toString()}`}case"invalid_format":{let d=u;return d.format==="starts_with"?`Ugyldig streng: skal starte med "${d.prefix}"`:d.format==="ends_with"?`Ugyldig streng: skal ende med "${d.suffix}"`:d.format==="includes"?`Ugyldig streng: skal indeholde "${d.includes}"`:d.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${d.pattern}`:`Ugyldig ${n[d.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"}: ${y(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 jo(){return{localeError:Nd()}}c(jo,"default");var Ud=c(()=>{let t={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"Zahl";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 n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Ung\xFCltige Eingabe: erwartet ${e.expected}, erhalten ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Ung\xFCltige Eingabe: erwartet ${$(e.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Zu gro\xDF: erwartet, dass ${e.origin??"Wert"} ${n}${e.maximum.toString()} ${u.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${e.origin??"Wert"} ${n}${e.maximum.toString()} ist`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ${u.unit} hat`:`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ist`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Ung\xFCltiger String: muss mit "${n.prefix}" beginnen`:n.format==="ends_with"?`Ung\xFCltiger String: muss mit "${n.suffix}" enden`:n.format==="includes"?`Ung\xFCltiger String: muss "${n.includes}" enthalten`:n.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${n.pattern} entsprechen`:`Ung\xFCltig: ${i[n.format]??e.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${e.divisor} sein`;case"unrecognized_keys":return`${e.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${y(e.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${e.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${e.origin}`;default:return"Ung\xFCltige Eingabe"}}},"error");function Po(){return{localeError:Ud()}}c(Po,"default");var Od=c(t=>{let r=typeof t;switch(r){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 r},"parsedType"),Dd=c(()=>{let t={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function r(i){return t[i]??null}c(r,"getSizing");let o={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 i=>{switch(i.code){case"invalid_type":return`Invalid input: expected ${i.expected}, received ${Od(i.input)}`;case"invalid_value":return i.values.length===1?`Invalid input: expected ${$(i.values[0])}`:`Invalid option: expected one of ${y(i.values,"|")}`;case"too_big":{let e=i.inclusive?"<=":"<",n=r(i.origin);return n?`Too big: expected ${i.origin??"value"} to have ${e}${i.maximum.toString()} ${n.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${e}${i.maximum.toString()}`}case"too_small":{let e=i.inclusive?">=":">",n=r(i.origin);return n?`Too small: expected ${i.origin} to have ${e}${i.minimum.toString()} ${n.unit}`:`Too small: expected ${i.origin} to be ${e}${i.minimum.toString()}`}case"invalid_format":{let e=i;return e.format==="starts_with"?`Invalid string: must start with "${e.prefix}"`:e.format==="ends_with"?`Invalid string: must end with "${e.suffix}"`:e.format==="includes"?`Invalid string: must include "${e.includes}"`:e.format==="regex"?`Invalid string: must match pattern ${e.pattern}`:`Invalid ${o[e.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${y(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}},"error");function rt(){return{localeError:Dd()}}c(rt,"default");var Ed=c(t=>{let r=typeof t;switch(r){case"number":return Number.isNaN(t)?"NaN":"nombro";case"object":{if(Array.isArray(t))return"tabelo";if(t===null)return"senvalora";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return r},"parsedType"),Ad=c(()=>{let t={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function r(i){return t[i]??null}c(r,"getSizing");let o={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 i=>{switch(i.code){case"invalid_type":return`Nevalida enigo: atendi\u011Dis ${i.expected}, ricevi\u011Dis ${Ed(i.input)}`;case"invalid_value":return i.values.length===1?`Nevalida enigo: atendi\u011Dis ${$(i.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${y(i.values,"|")}`;case"too_big":{let e=i.inclusive?"<=":"<",n=r(i.origin);return n?`Tro granda: atendi\u011Dis ke ${i.origin??"valoro"} havu ${e}${i.maximum.toString()} ${n.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${i.origin??"valoro"} havu ${e}${i.maximum.toString()}`}case"too_small":{let e=i.inclusive?">=":">",n=r(i.origin);return n?`Tro malgranda: atendi\u011Dis ke ${i.origin} havu ${e}${i.minimum.toString()} ${n.unit}`:`Tro malgranda: atendi\u011Dis ke ${i.origin} estu ${e}${i.minimum.toString()}`}case"invalid_format":{let e=i;return e.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${e.prefix}"`:e.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${e.suffix}"`:e.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${e.includes}"`:e.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${e.pattern}`:`Nevalida ${o[e.format]??i.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${i.divisor}`;case"unrecognized_keys":return`Nekonata${i.keys.length>1?"j":""} \u015Dlosilo${i.keys.length>1?"j":""}: ${y(i.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${i.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${i.origin}`;default:return"Nevalida enigo"}}},"error");function Co(){return{localeError:Ad()}}c(Co,"default");var Td=c(()=>{let t={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 o(u){return t[u]??null}c(o,"getSizing");function i(u){return r[u]??u}c(i,"getTypeName");let e=c(u=>{let d=typeof u;switch(d){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 d},"parsedType"),n={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return u=>{switch(u.code){case"invalid_type":return`Entrada inv\xE1lida: se esperaba ${i(u.expected)}, recibido ${i(e(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 ${y(u.values,"|")}`;case"too_big":{let d=u.inclusive?"<=":"<",p=o(u.origin),l=i(u.origin);return p?`Demasiado grande: se esperaba que ${l??"valor"} tuviera ${d}${u.maximum.toString()} ${p.unit??"elementos"}`:`Demasiado grande: se esperaba que ${l??"valor"} fuera ${d}${u.maximum.toString()}`}case"too_small":{let d=u.inclusive?">=":">",p=o(u.origin),l=i(u.origin);return p?`Demasiado peque\xF1o: se esperaba que ${l} tuviera ${d}${u.minimum.toString()} ${p.unit}`:`Demasiado peque\xF1o: se esperaba que ${l} fuera ${d}${u.minimum.toString()}`}case"invalid_format":{let d=u;return d.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${d.prefix}"`:d.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${d.suffix}"`:d.format==="includes"?`Cadena inv\xE1lida: debe incluir "${d.includes}"`:d.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${d.pattern}`:`Inv\xE1lido ${n[d.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":""}: ${y(u.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${i(u.origin)}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${i(u.origin)}`;default:return"Entrada inv\xE1lida"}}},"error");function No(){return{localeError:Td()}}c(No,"default");var Zd=c(()=>{let t={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(e))return"\u0622\u0631\u0627\u06CC\u0647";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.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 ${e.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${o(e.input)} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;case"invalid_value":return e.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${$(e.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${y(e.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${e.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${n}${e.maximum.toString()} ${u.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${e.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${n}${e.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${e.origin} \u0628\u0627\u06CC\u062F ${n}${e.minimum.toString()} ${u.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${e.origin} \u0628\u0627\u06CC\u062F ${n}${e.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${n.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:n.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${n.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:n.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${n.includes}" \u0628\u0627\u0634\u062F`:n.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${n.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${i[n.format]??e.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${e.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${e.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${y(e.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${e.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${e.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}},"error");function Uo(){return{localeError:Zd()}}c(Uo,"default");var Rd=c(()=>{let t={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){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 n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${e.expected}, oli ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${$(e.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Liian suuri: ${u.subject} t\xE4ytyy olla ${n}${e.maximum.toString()} ${u.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Liian pieni: ${u.subject} t\xE4ytyy olla ${n}${e.minimum.toString()} ${u.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${n.prefix}"`:n.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${n.suffix}"`:n.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${n.includes}"`:n.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${n.pattern}`:`Virheellinen ${i[n.format]??e.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${e.divisor} monikerta`;case"unrecognized_keys":return`${e.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${y(e.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}},"error");function Oo(){return{localeError:Rd()}}c(Oo,"default");var Vd=c(()=>{let t={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"nombre";case"object":{if(Array.isArray(e))return"tableau";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Entr\xE9e invalide : ${e.expected} attendu, ${o(e.input)} re\xE7u`;case"invalid_value":return e.values.length===1?`Entr\xE9e invalide : ${$(e.values[0])} attendu`:`Option invalide : une valeur parmi ${y(e.values,"|")} attendue`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Trop grand : ${e.origin??"valeur"} doit ${u.verb} ${n}${e.maximum.toString()} ${u.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${e.origin??"valeur"} doit \xEAtre ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Trop petit : ${e.origin} doit ${u.verb} ${n}${e.minimum.toString()} ${u.unit}`:`Trop petit : ${e.origin} doit \xEAtre ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${n.prefix}"`:n.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${n.suffix}"`:n.format==="includes"?`Cha\xEEne invalide : doit inclure "${n.includes}"`:n.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${n.pattern}`:`${i[n.format]??e.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${e.divisor}`;case"unrecognized_keys":return`Cl\xE9${e.keys.length>1?"s":""} non reconnue${e.keys.length>1?"s":""} : ${y(e.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${e.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${e.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Do(){return{localeError:Vd()}}c(Do,"default");var Ld=c(()=>{let t={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){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 n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Entr\xE9e invalide : attendu ${e.expected}, re\xE7u ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Entr\xE9e invalide : attendu ${$(e.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"\u2264":"<",u=r(e.origin);return u?`Trop grand : attendu que ${e.origin??"la valeur"} ait ${n}${e.maximum.toString()} ${u.unit}`:`Trop grand : attendu que ${e.origin??"la valeur"} soit ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?"\u2265":">",u=r(e.origin);return u?`Trop petit : attendu que ${e.origin} ait ${n}${e.minimum.toString()} ${u.unit}`:`Trop petit : attendu que ${e.origin} soit ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${n.prefix}"`:n.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${n.suffix}"`:n.format==="includes"?`Cha\xEEne invalide : doit inclure "${n.includes}"`:n.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${n.pattern}`:`${i[n.format]??e.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${e.divisor}`;case"unrecognized_keys":return`Cl\xE9${e.keys.length>1?"s":""} non reconnue${e.keys.length>1?"s":""} : ${y(e.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${e.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${e.origin}`;default:return"Entr\xE9e invalide"}}},"error");function Eo(){return{localeError:Ld()}}c(Eo,"default");var Fd=c(()=>{let t={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},r={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},o=c(l=>l?t[l]:void 0,"typeEntry"),i=c(l=>{let s=o(l);return s?s.label:l??t.unknown.label},"typeLabel"),e=c(l=>`\u05D4${i(l)}`,"withDefinite"),n=c(l=>(o(l)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA","verbFor"),u=c(l=>l?r[l]??null:null,"getSizing"),d=c(l=>{let s=typeof l;switch(s){case"number":return Number.isNaN(l)?"NaN":"number";case"object":return Array.isArray(l)?"array":l===null?"null":Object.getPrototypeOf(l)!==Object.prototype&&l.constructor?l.constructor.name:"object";default:return s}},"parsedType"),p={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 l=>{switch(l.code){case"invalid_type":{let s=l.expected,m=i(s),f=d(l.input),h=t[f]?.label??f;return`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${m}, \u05D4\u05EA\u05E7\u05D1\u05DC ${h}`}case"invalid_value":{if(l.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${$(l.values[0])}`;let s=l.values.map(h=>$(h));if(l.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${s[0]} \u05D0\u05D5 ${s[1]}`;let m=s[s.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 ${s.slice(0,-1).join(", ")} \u05D0\u05D5 ${m}`}case"too_big":{let s=u(l.origin),m=e(l.origin??"value");if(l.origin==="string")return`${s?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${m} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${l.maximum.toString()} ${s?.unit??""} ${l.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(l.origin==="number"){let g=l.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${l.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${l.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${m} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${g}`}if(l.origin==="array"||l.origin==="set"){let g=l.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",b=l.inclusive?`${l.maximum} ${s?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${l.maximum} ${s?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${m} ${g} \u05DC\u05D4\u05DB\u05D9\u05DC ${b}`.trim()}let f=l.inclusive?"<=":"<",h=n(l.origin??"value");return s?.unit?`${s.longLabel} \u05DE\u05D3\u05D9: ${m} ${h} ${f}${l.maximum.toString()} ${s.unit}`:`${s?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${m} ${h} ${f}${l.maximum.toString()}`}case"too_small":{let s=u(l.origin),m=e(l.origin??"value");if(l.origin==="string")return`${s?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${m} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${l.minimum.toString()} ${s?.unit??""} ${l.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(l.origin==="number"){let g=l.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${l.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${l.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${m} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${g}`}if(l.origin==="array"||l.origin==="set"){let g=l.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(l.minimum===1&&l.inclusive){let x=(l.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${m} ${g} \u05DC\u05D4\u05DB\u05D9\u05DC ${x}`}let b=l.inclusive?`${l.minimum} ${s?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${l.minimum} ${s?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${m} ${g} \u05DC\u05D4\u05DB\u05D9\u05DC ${b}`.trim()}let f=l.inclusive?">=":">",h=n(l.origin??"value");return s?.unit?`${s.shortLabel} \u05DE\u05D3\u05D9: ${m} ${h} ${f}${l.minimum.toString()} ${s.unit}`:`${s?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${m} ${h} ${f}${l.minimum.toString()}`}case"invalid_format":{let s=l;if(s.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${s.prefix}"`;if(s.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${s.suffix}"`;if(s.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${s.includes}"`;if(s.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 ${s.pattern}`;let m=p[s.format],f=m?.label??s.format,g=(m?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${f} \u05DC\u05D0 ${g}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${l.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${l.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${l.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${y(l.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${e(l.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}},"error");function Ao(){return{localeError:Fd()}}c(Ao,"default");var Bd=c(()=>{let t={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"sz\xE1m";case"object":{if(Array.isArray(e))return"t\xF6mb";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${e.expected}, a kapott \xE9rt\xE9k ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${$(e.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`T\xFAl nagy: ${e.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${n}${e.maximum.toString()} ${u.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${e.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${e.origin} m\xE9rete t\xFAl kicsi ${n}${e.minimum.toString()} ${u.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${e.origin} t\xFAl kicsi ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\xC9rv\xE9nytelen string: "${n.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:n.format==="ends_with"?`\xC9rv\xE9nytelen string: "${n.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:n.format==="includes"?`\xC9rv\xE9nytelen string: "${n.includes}" \xE9rt\xE9ket kell tartalmaznia`:n.format==="regex"?`\xC9rv\xE9nytelen string: ${n.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${i[n.format]??e.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${e.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${e.keys.length>1?"s":""}: ${y(e.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${e.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${e.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}},"error");function To(){return{localeError:Bd()}}c(To,"default");var Md=c(()=>{let t={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){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 n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Input tidak valid: diharapkan ${e.expected}, diterima ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Input tidak valid: diharapkan ${$(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Terlalu besar: diharapkan ${e.origin??"value"} memiliki ${n}${e.maximum.toString()} ${u.unit??"elemen"}`:`Terlalu besar: diharapkan ${e.origin??"value"} menjadi ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Terlalu kecil: diharapkan ${e.origin} memiliki ${n}${e.minimum.toString()} ${u.unit}`:`Terlalu kecil: diharapkan ${e.origin} menjadi ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`String tidak valid: harus dimulai dengan "${n.prefix}"`:n.format==="ends_with"?`String tidak valid: harus berakhir dengan "${n.suffix}"`:n.format==="includes"?`String tidak valid: harus menyertakan "${n.includes}"`:n.format==="regex"?`String tidak valid: harus sesuai pola ${n.pattern}`:`${i[n.format]??e.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${e.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${e.keys.length>1?"s":""}: ${y(e.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${e.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${e.origin}`;default:return"Input tidak valid"}}},"error");function Zo(){return{localeError:Md()}}c(Zo,"default");var qd=c(t=>{let r=typeof t;switch(r){case"number":return Number.isNaN(t)?"NaN":"n\xFAmer";case"object":{if(Array.isArray(t))return"fylki";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return r},"parsedType"),Jd=c(()=>{let t={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function r(i){return t[i]??null}c(r,"getSizing");let o={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 i=>{switch(i.code){case"invalid_type":return`Rangt gildi: \xDE\xFA sl\xF3st inn ${qd(i.input)} \xFEar sem \xE1 a\xF0 vera ${i.expected}`;case"invalid_value":return i.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${$(i.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${y(i.values,"|")}`;case"too_big":{let e=i.inclusive?"<=":"<",n=r(i.origin);return n?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin??"gildi"} hafi ${e}${i.maximum.toString()} ${n.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin??"gildi"} s\xE9 ${e}${i.maximum.toString()}`}case"too_small":{let e=i.inclusive?">=":">",n=r(i.origin);return n?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin} hafi ${e}${i.minimum.toString()} ${n.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin} s\xE9 ${e}${i.minimum.toString()}`}case"invalid_format":{let e=i;return e.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${e.prefix}"`:e.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${e.suffix}"`:e.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${e.includes}"`:e.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${e.pattern}`:`Rangt ${o[e.format]??i.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${i.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${i.keys.length>1?"ir lyklar":"ur lykill"}: ${y(i.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${i.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${i.origin}`;default:return"Rangt gildi"}}},"error");function Ro(){return{localeError:Jd()}}c(Ro,"default");var Wd=c(()=>{let t={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"numero";case"object":{if(Array.isArray(e))return"vettore";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Input non valido: atteso ${e.expected}, ricevuto ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Input non valido: atteso ${$(e.values[0])}`:`Opzione non valida: atteso uno tra ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Troppo grande: ${e.origin??"valore"} deve avere ${n}${e.maximum.toString()} ${u.unit??"elementi"}`:`Troppo grande: ${e.origin??"valore"} deve essere ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Troppo piccolo: ${e.origin} deve avere ${n}${e.minimum.toString()} ${u.unit}`:`Troppo piccolo: ${e.origin} deve essere ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Stringa non valida: deve iniziare con "${n.prefix}"`:n.format==="ends_with"?`Stringa non valida: deve terminare con "${n.suffix}"`:n.format==="includes"?`Stringa non valida: deve includere "${n.includes}"`:n.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${n.pattern}`:`Invalid ${i[n.format]??e.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${e.divisor}`;case"unrecognized_keys":return`Chiav${e.keys.length>1?"i":"e"} non riconosciut${e.keys.length>1?"e":"a"}: ${y(e.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${e.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${e.origin}`;default:return"Input non valido"}}},"error");function Vo(){return{localeError:Wd()}}c(Vo,"default");var Gd=c(()=>{let t={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"\u6570\u5024";case"object":{if(Array.isArray(e))return"\u914D\u5217";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\u7121\u52B9\u306A\u5165\u529B: ${e.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${o(e.input)}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;case"invalid_value":return e.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${$(e.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${y(e.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let n=e.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",u=r(e.origin);return u?`\u5927\u304D\u3059\u304E\u308B\u5024: ${e.origin??"\u5024"}\u306F${e.maximum.toString()}${u.unit??"\u8981\u7D20"}${n}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${e.origin??"\u5024"}\u306F${e.maximum.toString()}${n}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let n=e.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",u=r(e.origin);return u?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${e.origin}\u306F${e.minimum.toString()}${u.unit}${n}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${e.origin}\u306F${e.minimum.toString()}${n}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${n.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:n.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${n.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:n.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${n.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:n.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${n.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${i[n.format]??e.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${e.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${e.keys.length>1?"\u7FA4":""}: ${y(e.keys,"\u3001")}`;case"invalid_key":return`${e.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${e.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}},"error");function Lo(){return{localeError:Gd()}}c(Lo,"default");var Kd=c(t=>{let r=typeof t;switch(r){case"number":return Number.isNaN(t)?"NaN":"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8";case"object":{if(Array.isArray(t))return"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.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"),Xd=c(()=>{let t={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function r(i){return t[i]??null}c(r,"getSizing");let o={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 i=>{switch(i.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 ${i.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${Kd(i.input)}`;case"invalid_value":return i.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${$(i.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 ${y(i.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let e=i.inclusive?"<=":"<",n=r(i.origin);return n?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${n.verb} ${e}${i.maximum.toString()} ${n.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${e}${i.maximum.toString()}`}case"too_small":{let e=i.inclusive?">=":">",n=r(i.origin);return n?`\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 ${i.origin} ${n.verb} ${e}${i.minimum.toString()} ${n.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 ${i.origin} \u10D8\u10E7\u10DD\u10E1 ${e}${i.minimum.toString()}`}case"invalid_format":{let e=i;return e.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 "${e.prefix}"-\u10D8\u10D7`:e.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 "${e.suffix}"-\u10D8\u10D7`:e.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 "${e.includes}"-\u10E1`:e.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 ${e.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${o[e.format]??i.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 ${i.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${i.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${y(i.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${i.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 ${i.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}},"error");function Fo(){return{localeError:Xd()}}c(Fo,"default");var Hd=c(()=>{let t={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"\u1798\u17B7\u1793\u1798\u17C2\u1793\u1787\u17B6\u179B\u17C1\u1781 (NaN)":"\u179B\u17C1\u1781";case"object":{if(Array.isArray(e))return"\u17A2\u17B6\u179A\u17C1 (Array)";if(e===null)return"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.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 ${e.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${$(e.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${e.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${n} ${e.maximum.toString()} ${u.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${e.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${n} ${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${e.origin} ${n} ${e.minimum.toString()} ${u.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${e.origin} ${n} ${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.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 "${n.prefix}"`:n.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 "${n.suffix}"`:n.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 "${n.includes}"`:n.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 ${n.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${i[n.format]??e.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${e.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${y(e.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${e.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${e.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}},"error");function nt(){return{localeError:Hd()}}c(nt,"default");function Bo(){return nt()}c(Bo,"default");var Qd=c(()=>{let t={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){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 n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${e.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${o(e.input)}\uC785\uB2C8\uB2E4`;case"invalid_value":return e.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${$(e.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${y(e.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let n=e.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",u=n==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",d=r(e.origin),p=d?.unit??"\uC694\uC18C";return d?`${e.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${e.maximum.toString()}${p} ${n}${u}`:`${e.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${e.maximum.toString()} ${n}${u}`}case"too_small":{let n=e.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",u=n==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",d=r(e.origin),p=d?.unit??"\uC694\uC18C";return d?`${e.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${e.minimum.toString()}${p} ${n}${u}`:`${e.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${e.minimum.toString()} ${n}${u}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${n.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:n.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${n.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:n.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${n.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:n.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${n.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${i[n.format]??e.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${e.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${y(e.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${e.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${e.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}},"error");function Mo(){return{localeError:Qd()}}c(Mo,"default");var Yd=c(t=>ot(typeof t,t),"parsedType"),ot=c((t,r=void 0)=>{switch(t){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 t},"parsedTypeFromType"),it=c(t=>t.charAt(0).toUpperCase()+t.slice(1),"capitalizeFirstCharacter");function Fu(t){let r=Math.abs(t),o=r%10,i=r%100;return i>=11&&i<=19||o===0?"many":o===1?"one":"few"}c(Fu,"getUnitTypeFromNumber");var em=c(()=>{let t={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function r(i,e,n,u){let d=t[i]??null;return d===null?d:{unit:d.unit[e],verb:d.verb[u][n?"inclusive":"notInclusive"]}}c(r,"getSizing");let o={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 i=>{switch(i.code){case"invalid_type":return`Gautas tipas ${Yd(i.input)}, o tik\u0117tasi - ${ot(i.expected)}`;case"invalid_value":return i.values.length===1?`Privalo b\u016Bti ${$(i.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${y(i.values,"|")} pasirinkim\u0173`;case"too_big":{let e=ot(i.origin),n=r(i.origin,Fu(Number(i.maximum)),i.inclusive??!1,"smaller");if(n?.verb)return`${it(e??i.origin??"reik\u0161m\u0117")} ${n.verb} ${i.maximum.toString()} ${n.unit??"element\u0173"}`;let u=i.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${it(e??i.origin??"reik\u0161m\u0117")} turi b\u016Bti ${u} ${i.maximum.toString()} ${n?.unit}`}case"too_small":{let e=ot(i.origin),n=r(i.origin,Fu(Number(i.minimum)),i.inclusive??!1,"bigger");if(n?.verb)return`${it(e??i.origin??"reik\u0161m\u0117")} ${n.verb} ${i.minimum.toString()} ${n.unit??"element\u0173"}`;let u=i.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${it(e??i.origin??"reik\u0161m\u0117")} turi b\u016Bti ${u} ${i.minimum.toString()} ${n?.unit}`}case"invalid_format":{let e=i;return e.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${e.prefix}"`:e.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${e.suffix}"`:e.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${e.includes}"`:e.format==="regex"?`Eilut\u0117 privalo atitikti ${e.pattern}`:`Neteisingas ${o[e.format]??i.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${i.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${i.keys.length>1?"i":"as"} rakt${i.keys.length>1?"ai":"as"}: ${y(i.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let e=ot(i.origin);return`${it(e??i.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}},"error");function qo(){return{localeError:em()}}c(qo,"default");var tm=c(()=>{let t={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"\u0431\u0440\u043E\u0458";case"object":{if(Array.isArray(e))return"\u043D\u0438\u0437\u0430";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${e.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Invalid input: expected ${$(e.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.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 ${e.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${n}${e.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 ${e.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${e.origin} \u0434\u0430 \u0438\u043C\u0430 ${n}${e.minimum.toString()} ${u.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${e.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.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 "${n.prefix}"`:n.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 "${n.suffix}"`:n.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 "${n.includes}"`:n.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 ${n.pattern}`:`Invalid ${i[n.format]??e.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${y(e.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${e.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${e.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}},"error");function Jo(){return{localeError:tm()}}c(Jo,"default");var rm=c(()=>{let t={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"nombor";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 n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Input tidak sah: dijangka ${e.expected}, diterima ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Input tidak sah: dijangka ${$(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Terlalu besar: dijangka ${e.origin??"nilai"} ${u.verb} ${n}${e.maximum.toString()} ${u.unit??"elemen"}`:`Terlalu besar: dijangka ${e.origin??"nilai"} adalah ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Terlalu kecil: dijangka ${e.origin} ${u.verb} ${n}${e.minimum.toString()} ${u.unit}`:`Terlalu kecil: dijangka ${e.origin} adalah ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`String tidak sah: mesti bermula dengan "${n.prefix}"`:n.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${n.suffix}"`:n.format==="includes"?`String tidak sah: mesti mengandungi "${n.includes}"`:n.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${n.pattern}`:`${i[n.format]??e.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${e.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${y(e.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${e.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${e.origin}`;default:return"Input tidak sah"}}},"error");function Wo(){return{localeError:rm()}}c(Wo,"default");var nm=c(()=>{let t={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(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"getal";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 n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Ongeldige invoer: verwacht ${e.expected}, ontving ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Ongeldige invoer: verwacht ${$(e.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Te groot: verwacht dat ${e.origin??"waarde"} ${u.verb} ${n}${e.maximum.toString()} ${u.unit??"elementen"}`:`Te groot: verwacht dat ${e.origin??"waarde"} ${n}${e.maximum.toString()} is`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Te klein: verwacht dat ${e.origin} ${u.verb} ${n}${e.minimum.toString()} ${u.unit}`:`Te klein: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Ongeldige tekst: moet met "${n.prefix}" beginnen`:n.format==="ends_with"?`Ongeldige tekst: moet op "${n.suffix}" eindigen`:n.format==="includes"?`Ongeldige tekst: moet "${n.includes}" bevatten`:n.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${n.pattern}`:`Ongeldig: ${i[n.format]??e.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${e.keys.length>1?"s":""}: ${y(e.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${e.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${e.origin}`;default:return"Ongeldige invoer"}}},"error");function Go(){return{localeError:nm()}}c(Go,"default");var im=c(()=>{let t={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"tall";case"object":{if(Array.isArray(e))return"liste";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Ugyldig input: forventet ${e.expected}, fikk ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Ugyldig verdi: forventet ${$(e.values[0])}`:`Ugyldig valg: forventet en av ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`For stor(t): forventet ${e.origin??"value"} til \xE5 ha ${n}${e.maximum.toString()} ${u.unit??"elementer"}`:`For stor(t): forventet ${e.origin??"value"} til \xE5 ha ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`For lite(n): forventet ${e.origin} til \xE5 ha ${n}${e.minimum.toString()} ${u.unit}`:`For lite(n): forventet ${e.origin} til \xE5 ha ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${n.prefix}"`:n.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${n.suffix}"`:n.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${n.includes}"`:n.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${n.pattern}`:`Ugyldig ${i[n.format]??e.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${y(e.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${e.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${e.origin}`;default:return"Ugyldig input"}}},"error");function Ko(){return{localeError:im()}}c(Ko,"default");var om=c(()=>{let t={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"numara";case"object":{if(Array.isArray(e))return"saf";if(e===null)return"gayb";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`F\xE2sit giren: umulan ${e.expected}, al\u0131nan ${o(e.input)}`;case"invalid_value":return e.values.length===1?`F\xE2sit giren: umulan ${$(e.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Fazla b\xFCy\xFCk: ${e.origin??"value"}, ${n}${e.maximum.toString()} ${u.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${e.origin??"value"}, ${n}${e.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Fazla k\xFC\xE7\xFCk: ${e.origin}, ${n}${e.minimum.toString()} ${u.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${e.origin}, ${n}${e.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let n=e;return n.format==="starts_with"?`F\xE2sit metin: "${n.prefix}" ile ba\u015Flamal\u0131.`:n.format==="ends_with"?`F\xE2sit metin: "${n.suffix}" ile bitmeli.`:n.format==="includes"?`F\xE2sit metin: "${n.includes}" ihtiv\xE2 etmeli.`:n.format==="regex"?`F\xE2sit metin: ${n.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${i[n.format]??e.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${e.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${e.keys.length>1?"s":""}: ${y(e.keys,", ")}`;case"invalid_key":return`${e.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${e.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}},"error");function Xo(){return{localeError:om()}}c(Xo,"default");var am=c(()=>{let t={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(e))return"\u0627\u0631\u06D0";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${e.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${o(e.input)} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;case"invalid_value":return e.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${$(e.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${y(e.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${e.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${n}${e.maximum.toString()} ${u.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${e.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${n}${e.maximum.toString()} \u0648\u064A`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${e.origin} \u0628\u0627\u06CC\u062F ${n}${e.minimum.toString()} ${u.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${e.origin} \u0628\u0627\u06CC\u062F ${n}${e.minimum.toString()} \u0648\u064A`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${n.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:n.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${n.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:n.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${n.includes}" \u0648\u0644\u0631\u064A`:n.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${n.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${i[n.format]??e.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${e.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${e.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${y(e.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${e.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${e.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}},"error");function Ho(){return{localeError:am()}}c(Ho,"default");var cm=c(()=>{let t={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"liczba";case"object":{if(Array.isArray(e))return"tablica";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${e.expected}, otrzymano ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${$(e.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${e.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${n}${e.maximum.toString()} ${u.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${e.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${e.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${n}${e.minimum.toString()} ${u.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${e.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${n.prefix}"`:n.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${n.suffix}"`:n.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${n.includes}"`:n.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${n.pattern}`:`Nieprawid\u0142ow(y/a/e) ${i[n.format]??e.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${e.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${e.keys.length>1?"s":""}: ${y(e.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${e.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${e.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}},"error");function Qo(){return{localeError:cm()}}c(Qo,"default");var um=c(()=>{let t={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"n\xFAmero";case"object":{if(Array.isArray(e))return"array";if(e===null)return"nulo";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Tipo inv\xE1lido: esperado ${e.expected}, recebido ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Entrada inv\xE1lida: esperado ${$(e.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Muito grande: esperado que ${e.origin??"valor"} tivesse ${n}${e.maximum.toString()} ${u.unit??"elementos"}`:`Muito grande: esperado que ${e.origin??"valor"} fosse ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Muito pequeno: esperado que ${e.origin} tivesse ${n}${e.minimum.toString()} ${u.unit}`:`Muito pequeno: esperado que ${e.origin} fosse ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${n.prefix}"`:n.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${n.suffix}"`:n.format==="includes"?`Texto inv\xE1lido: deve incluir "${n.includes}"`:n.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${n.pattern}`:`${i[n.format]??e.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${e.divisor}`;case"unrecognized_keys":return`Chave${e.keys.length>1?"s":""} desconhecida${e.keys.length>1?"s":""}: ${y(e.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${e.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${e.origin}`;default:return"Campo inv\xE1lido"}}},"error");function Yo(){return{localeError:um()}}c(Yo,"default");function Bu(t,r,o,i){let e=Math.abs(t),n=e%10,u=e%100;return u>=11&&u<=19?i:n===1?r:n>=2&&n<=4?o:i}c(Bu,"getRussianPlural");var sm=c(()=>{let t={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(e))return"\u043C\u0430\u0441\u0441\u0438\u0432";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.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 ${e.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${$(e.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);if(u){let d=Number(e.maximum),p=Bu(d,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 ${e.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${n}${e.maximum.toString()} ${p}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${e.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);if(u){let d=Number(e.minimum),p=Bu(d,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 ${e.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${n}${e.minimum.toString()} ${p}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${e.origin} \u0431\u0443\u0434\u0435\u0442 ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.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 "${n.prefix}"`:n.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 "${n.suffix}"`:n.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 "${n.includes}"`:n.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 ${n.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${i[n.format]??e.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${e.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${e.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${e.keys.length>1?"\u0438":""}: ${y(e.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${e.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${e.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}},"error");function ea(){return{localeError:sm()}}c(ea,"default");var lm=c(()=>{let t={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"\u0161tevilo";case"object":{if(Array.isArray(e))return"tabela";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Neveljaven vnos: pri\u010Dakovano ${e.expected}, prejeto ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${$(e.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Preveliko: pri\u010Dakovano, da bo ${e.origin??"vrednost"} imelo ${n}${e.maximum.toString()} ${u.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${e.origin??"vrednost"} ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Premajhno: pri\u010Dakovano, da bo ${e.origin} imelo ${n}${e.minimum.toString()} ${u.unit}`:`Premajhno: pri\u010Dakovano, da bo ${e.origin} ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${n.prefix}"`:n.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${n.suffix}"`:n.format==="includes"?`Neveljaven niz: mora vsebovati "${n.includes}"`:n.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${n.pattern}`:`Neveljaven ${i[n.format]??e.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${e.divisor}`;case"unrecognized_keys":return`Neprepoznan${e.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${y(e.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${e.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${e.origin}`;default:return"Neveljaven vnos"}}},"error");function ta(){return{localeError:lm()}}c(ta,"default");var dm=c(()=>{let t={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"antal";case"object":{if(Array.isArray(e))return"lista";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`Ogiltig inmatning: f\xF6rv\xE4ntat ${e.expected}, fick ${o(e.input)}`;case"invalid_value":return e.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${$(e.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`F\xF6r stor(t): f\xF6rv\xE4ntade ${e.origin??"v\xE4rdet"} att ha ${n}${e.maximum.toString()} ${u.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${e.origin??"v\xE4rdet"} att ha ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`F\xF6r lite(t): f\xF6rv\xE4ntade ${e.origin??"v\xE4rdet"} att ha ${n}${e.minimum.toString()} ${u.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${e.origin??"v\xE4rdet"} att ha ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${n.prefix}"`:n.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${n.suffix}"`:n.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${n.includes}"`:n.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${n.pattern}"`:`Ogiltig(t) ${i[n.format]??e.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${y(e.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${e.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${e.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}},"error");function ra(){return{localeError:dm()}}c(ra,"default");var mm=c(()=>{let t={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"\u0B8E\u0BA3\u0BCD \u0B85\u0BB2\u0BCD\u0BB2\u0BBE\u0BA4\u0BA4\u0BC1":"\u0B8E\u0BA3\u0BCD";case"object":{if(Array.isArray(e))return"\u0B85\u0BA3\u0BBF";if(e===null)return"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.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 ${e.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${$(e.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${y(e.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.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 ${e.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${n}${e.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 ${e.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${n}${e.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.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 ${e.origin} ${n}${e.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 ${e.origin} ${n}${e.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${n.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:n.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${n.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:n.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${n.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:n.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${n.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 ${i[n.format]??e.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${e.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${e.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${y(e.keys,", ")}`;case"invalid_key":return`${e.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${e.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}},"error");function na(){return{localeError:mm()}}c(na,"default");var pm=c(()=>{let t={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 (NaN)":"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02";case"object":{if(Array.isArray(e))return"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)";if(e===null)return"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.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 ${e.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${$(e.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",u=r(e.origin);return u?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${e.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${n} ${e.maximum.toString()} ${u.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${e.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${n} ${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",u=r(e.origin);return u?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${e.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${n} ${e.minimum.toString()} ${u.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${e.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${n} ${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.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 "${n.prefix}"`:n.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 "${n.suffix}"`:n.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 "${n.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:n.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 ${n.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${i[n.format]??e.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${e.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${y(e.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${e.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${e.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}},"error");function ia(){return{localeError:pm()}}c(ia,"default");var fm=c(t=>{let r=typeof t;switch(r){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 r},"parsedType"),gm=c(()=>{let t={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function r(i){return t[i]??null}c(r,"getSizing");let o={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 i=>{switch(i.code){case"invalid_type":return`Ge\xE7ersiz de\u011Fer: beklenen ${i.expected}, al\u0131nan ${fm(i.input)}`;case"invalid_value":return i.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${$(i.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${y(i.values,"|")}`;case"too_big":{let e=i.inclusive?"<=":"<",n=r(i.origin);return n?`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${e}${i.maximum.toString()} ${n.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${e}${i.maximum.toString()}`}case"too_small":{let e=i.inclusive?">=":">",n=r(i.origin);return n?`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${e}${i.minimum.toString()} ${n.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${e}${i.minimum.toString()}`}case"invalid_format":{let e=i;return e.format==="starts_with"?`Ge\xE7ersiz metin: "${e.prefix}" ile ba\u015Flamal\u0131`:e.format==="ends_with"?`Ge\xE7ersiz metin: "${e.suffix}" ile bitmeli`:e.format==="includes"?`Ge\xE7ersiz metin: "${e.includes}" i\xE7ermeli`:e.format==="regex"?`Ge\xE7ersiz metin: ${e.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${o[e.format]??i.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${i.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${i.keys.length>1?"lar":""}: ${y(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${i.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}},"error");function oa(){return{localeError:gm()}}c(oa,"default");var vm=c(()=>{let t={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){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 n},"parsedType"),i={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 e=>{switch(e.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 ${e.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${$(e.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.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 ${e.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${u.verb} ${n}${e.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 ${e.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.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 ${e.origin} ${u.verb} ${n}${e.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 ${e.origin} \u0431\u0443\u0434\u0435 ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.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 "${n.prefix}"`:n.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 "${n.suffix}"`:n.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 "${n.includes}"`:n.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 ${n.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${i[n.format]??e.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${e.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${e.keys.length>1?"\u0456":""}: ${y(e.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${e.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${e.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}},"error");function at(){return{localeError:vm()}}c(at,"default");function aa(){return at()}c(aa,"default");var hm=c(()=>{let t={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"\u0646\u0645\u0628\u0631";case"object":{if(Array.isArray(e))return"\u0622\u0631\u06D2";if(e===null)return"\u0646\u0644";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${e.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${o(e.input)} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;case"invalid_value":return e.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${$(e.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${y(e.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${e.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${n}${e.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: ${e.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${n}${e.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${e.origin} \u06A9\u06D2 ${n}${e.minimum.toString()} ${u.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${e.origin} \u06A9\u0627 ${n}${e.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${n.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:n.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${n.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:n.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${n.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:n.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${n.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${i[n.format]??e.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${e.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${e.keys.length>1?"\u0632":""}: ${y(e.keys,"\u060C ")}`;case"invalid_key":return`${e.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${e.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}},"error");function ca(){return{localeError:hm()}}c(ca,"default");var ym=c(()=>{let t={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"s\u1ED1";case"object":{if(Array.isArray(e))return"m\u1EA3ng";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${e.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${$(e.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${e.origin??"gi\xE1 tr\u1ECB"} ${u.verb} ${n}${e.maximum.toString()} ${u.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${e.origin??"gi\xE1 tr\u1ECB"} ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${e.origin} ${u.verb} ${n}${e.minimum.toString()} ${u.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${e.origin} ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${n.prefix}"`:n.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${n.suffix}"`:n.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${n.includes}"`:n.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${n.pattern}`:`${i[n.format]??e.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${e.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${y(e.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${e.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${e.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}},"error");function ua(){return{localeError:ym()}}c(ua,"default");var bm=c(()=>{let t={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"\u975E\u6570\u5B57(NaN)":"\u6570\u5B57";case"object":{if(Array.isArray(e))return"\u6570\u7EC4";if(e===null)return"\u7A7A\u503C(null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${e.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${$(e.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${e.origin??"\u503C"} ${n}${e.maximum.toString()} ${u.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${e.origin??"\u503C"} ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${e.origin} ${n}${e.minimum.toString()} ${u.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${e.origin} ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${n.prefix}" \u5F00\u5934`:n.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${n.suffix}" \u7ED3\u5C3E`:n.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${n.includes}"`:n.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${n.pattern}`:`\u65E0\u6548${i[n.format]??e.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${e.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${y(e.keys,", ")}`;case"invalid_key":return`${e.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${e.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}},"error");function sa(){return{localeError:bm()}}c(sa,"default");var $m=c(()=>{let t={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){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 n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${e.expected}\uFF0C\u4F46\u6536\u5230 ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${$(e.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${e.origin??"\u503C"} \u61C9\u70BA ${n}${e.maximum.toString()} ${u.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${e.origin??"\u503C"} \u61C9\u70BA ${n}${e.maximum.toString()}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${e.origin} \u61C9\u70BA ${n}${e.minimum.toString()} ${u.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${e.origin} \u61C9\u70BA ${n}${e.minimum.toString()}`}case"invalid_format":{let n=e;return n.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${n.prefix}" \u958B\u982D`:n.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${n.suffix}" \u7D50\u5C3E`:n.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${n.includes}"`:n.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${n.pattern}`:`\u7121\u6548\u7684 ${i[n.format]??e.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${e.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${e.keys.length>1?"\u5011":""}\uFF1A${y(e.keys,"\u3001")}`;case"invalid_key":return`${e.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${e.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}},"error");function la(){return{localeError:$m()}}c(la,"default");var _m=c(()=>{let t={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function r(e){return t[e]??null}c(r,"getSizing");let o=c(e=>{let n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":"n\u1ECD\u0301mb\xE0";case"object":{if(Array.isArray(e))return"akop\u1ECD";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return n},"parsedType"),i={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 e=>{switch(e.code){case"invalid_type":return`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${e.expected}, \xE0m\u1ECD\u0300 a r\xED ${o(e.input)}`;case"invalid_value":return e.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${$(e.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${y(e.values,"|")}`;case"too_big":{let n=e.inclusive?"<=":"<",u=r(e.origin);return u?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${e.origin??"iye"} ${u.verb} ${n}${e.maximum} ${u.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${n}${e.maximum}`}case"too_small":{let n=e.inclusive?">=":">",u=r(e.origin);return u?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${e.origin} ${u.verb} ${n}${e.minimum} ${u.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${n}${e.minimum}`}case"invalid_format":{let n=e;return n.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 "${n.prefix}"`:n.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${n.suffix}"`:n.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${n.includes}"`:n.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${n.pattern}`:`A\u1E63\xEC\u1E63e: ${i[n.format]??e.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${e.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${y(e.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${e.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${e.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}},"error");function da(){return{localeError:_m()}}c(da,"default");var Mu,ma=Symbol("ZodOutput"),pa=Symbol("ZodInput"),fa=class fa{constructor(){this._map=new WeakMap,this._idmap=new Map}add(r,...o){let i=o[0];if(this._map.set(r,i),i&&typeof i=="object"&&"id"in i){if(this._idmap.has(i.id))throw new Error(`ID ${i.id} already exists in the registry`);this._idmap.set(i.id,r)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(r){let o=this._map.get(r);return o&&typeof o=="object"&&"id"in o&&this._idmap.delete(o.id),this._map.delete(r),this}get(r){let o=r._zod.parent;if(o){let i={...this.get(o)??{}};delete i.id;let e={...i,...this._map.get(r)};return Object.keys(e).length?e:void 0}return this._map.get(r)}has(r){return this._map.has(r)}};c(fa,"$ZodRegistry");var Ne=fa;function cr(){return new Ne}c(cr,"registry");(Mu=globalThis).__zod_globalRegistry??(Mu.__zod_globalRegistry=cr());var V=globalThis.__zod_globalRegistry;function ga(t,r){return new t({type:"string",..._(r)})}c(ga,"_string");function va(t,r){return new t({type:"string",coerce:!0,..._(r)})}c(va,"_coercedString");function ur(t,r){return new t({type:"string",format:"email",check:"string_format",abort:!1,..._(r)})}c(ur,"_email");function ut(t,r){return new t({type:"string",format:"guid",check:"string_format",abort:!1,..._(r)})}c(ut,"_guid");function sr(t,r){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,..._(r)})}c(sr,"_uuid");function lr(t,r){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",..._(r)})}c(lr,"_uuidv4");function dr(t,r){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",..._(r)})}c(dr,"_uuidv6");function mr(t,r){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",..._(r)})}c(mr,"_uuidv7");function st(t,r){return new t({type:"string",format:"url",check:"string_format",abort:!1,..._(r)})}c(st,"_url");function pr(t,r){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,..._(r)})}c(pr,"_emoji");function fr(t,r){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,..._(r)})}c(fr,"_nanoid");function gr(t,r){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,..._(r)})}c(gr,"_cuid");function vr(t,r){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,..._(r)})}c(vr,"_cuid2");function hr(t,r){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,..._(r)})}c(hr,"_ulid");function yr(t,r){return new t({type:"string",format:"xid",check:"string_format",abort:!1,..._(r)})}c(yr,"_xid");function br(t,r){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,..._(r)})}c(br,"_ksuid");function $r(t,r){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,..._(r)})}c($r,"_ipv4");function _r(t,r){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,..._(r)})}c(_r,"_ipv6");function ha(t,r){return new t({type:"string",format:"mac",check:"string_format",abort:!1,..._(r)})}c(ha,"_mac");function kr(t,r){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,..._(r)})}c(kr,"_cidrv4");function xr(t,r){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,..._(r)})}c(xr,"_cidrv6");function wr(t,r){return new t({type:"string",format:"base64",check:"string_format",abort:!1,..._(r)})}c(wr,"_base64");function Ir(t,r){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,..._(r)})}c(Ir,"_base64url");function Sr(t,r){return new t({type:"string",format:"e164",check:"string_format",abort:!1,..._(r)})}c(Sr,"_e164");function zr(t,r){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,..._(r)})}c(zr,"_jwt");var ya={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function ba(t,r){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,..._(r)})}c(ba,"_isoDateTime");function $a(t,r){return new t({type:"string",format:"date",check:"string_format",..._(r)})}c($a,"_isoDate");function _a(t,r){return new t({type:"string",format:"time",check:"string_format",precision:null,..._(r)})}c(_a,"_isoTime");function ka(t,r){return new t({type:"string",format:"duration",check:"string_format",..._(r)})}c(ka,"_isoDuration");function xa(t,r){return new t({type:"number",checks:[],..._(r)})}c(xa,"_number");function wa(t,r){return new t({type:"number",coerce:!0,checks:[],..._(r)})}c(wa,"_coercedNumber");function Ia(t,r){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",..._(r)})}c(Ia,"_int");function Sa(t,r){return new t({type:"number",check:"number_format",abort:!1,format:"float32",..._(r)})}c(Sa,"_float32");function za(t,r){return new t({type:"number",check:"number_format",abort:!1,format:"float64",..._(r)})}c(za,"_float64");function ja(t,r){return new t({type:"number",check:"number_format",abort:!1,format:"int32",..._(r)})}c(ja,"_int32");function Pa(t,r){return new t({type:"number",check:"number_format",abort:!1,format:"uint32",..._(r)})}c(Pa,"_uint32");function Ca(t,r){return new t({type:"boolean",..._(r)})}c(Ca,"_boolean");function Na(t,r){return new t({type:"boolean",coerce:!0,..._(r)})}c(Na,"_coercedBoolean");function Ua(t,r){return new t({type:"bigint",..._(r)})}c(Ua,"_bigint");function Oa(t,r){return new t({type:"bigint",coerce:!0,..._(r)})}c(Oa,"_coercedBigint");function Da(t,r){return new t({type:"bigint",check:"bigint_format",abort:!1,format:"int64",..._(r)})}c(Da,"_int64");function Ea(t,r){return new t({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",..._(r)})}c(Ea,"_uint64");function Aa(t,r){return new t({type:"symbol",..._(r)})}c(Aa,"_symbol");function Ta(t,r){return new t({type:"undefined",..._(r)})}c(Ta,"_undefined");function Za(t,r){return new t({type:"null",..._(r)})}c(Za,"_null");function Ra(t){return new t({type:"any"})}c(Ra,"_any");function Va(t){return new t({type:"unknown"})}c(Va,"_unknown");function La(t,r){return new t({type:"never",..._(r)})}c(La,"_never");function Fa(t,r){return new t({type:"void",..._(r)})}c(Fa,"_void");function Ba(t,r){return new t({type:"date",..._(r)})}c(Ba,"_date");function Ma(t,r){return new t({type:"date",coerce:!0,..._(r)})}c(Ma,"_coercedDate");function qa(t,r){return new t({type:"nan",..._(r)})}c(qa,"_nan");function ie(t,r){return new Xt({check:"less_than",..._(r),value:t,inclusive:!1})}c(ie,"_lt");function X(t,r){return new Xt({check:"less_than",..._(r),value:t,inclusive:!0})}c(X,"_lte");function oe(t,r){return new Ht({check:"greater_than",..._(r),value:t,inclusive:!1})}c(oe,"_gt");function M(t,r){return new Ht({check:"greater_than",..._(r),value:t,inclusive:!0})}c(M,"_gte");function Ja(t){return oe(0,t)}c(Ja,"_positive");function Wa(t){return ie(0,t)}c(Wa,"_negative");function Ga(t){return X(0,t)}c(Ga,"_nonpositive");function Ka(t){return M(0,t)}c(Ka,"_nonnegative");function $e(t,r){return new Jn({check:"multiple_of",..._(r),value:t})}c($e,"_multipleOf");function Ue(t,r){return new Kn({check:"max_size",..._(r),maximum:t})}c(Ue,"_maxSize");function _e(t,r){return new Xn({check:"min_size",..._(r),minimum:t})}c(_e,"_minSize");function lt(t,r){return new Hn({check:"size_equals",..._(r),size:t})}c(lt,"_size");function Oe(t,r){return new Qn({check:"max_length",..._(r),maximum:t})}c(Oe,"_maxLength");function ve(t,r){return new Yn({check:"min_length",..._(r),minimum:t})}c(ve,"_minLength");function De(t,r){return new ei({check:"length_equals",..._(r),length:t})}c(De,"_length");function dt(t,r){return new ti({check:"string_format",format:"regex",..._(r),pattern:t})}c(dt,"_regex");function mt(t){return new ri({check:"string_format",format:"lowercase",..._(t)})}c(mt,"_lowercase");function pt(t){return new ni({check:"string_format",format:"uppercase",..._(t)})}c(pt,"_uppercase");function ft(t,r){return new ii({check:"string_format",format:"includes",..._(r),includes:t})}c(ft,"_includes");function gt(t,r){return new oi({check:"string_format",format:"starts_with",..._(r),prefix:t})}c(gt,"_startsWith");function vt(t,r){return new ai({check:"string_format",format:"ends_with",..._(r),suffix:t})}c(vt,"_endsWith");function Xa(t,r,o){return new ci({check:"property",property:t,schema:r,..._(o)})}c(Xa,"_property");function ht(t,r){return new ui({check:"mime_type",mime:t,..._(r)})}c(ht,"_mime");function ee(t){return new si({check:"overwrite",tx:t})}c(ee,"_overwrite");function yt(t){return ee(r=>r.normalize(t))}c(yt,"_normalize");function bt(){return ee(t=>t.trim())}c(bt,"_trim");function $t(){return ee(t=>t.toLowerCase())}c($t,"_toLowerCase");function _t(){return ee(t=>t.toUpperCase())}c(_t,"_toUpperCase");function kt(){return ee(t=>on(t))}c(kt,"_slugify");function Ha(t,r,o){return new t({type:"array",element:r,..._(o)})}c(Ha,"_array");function xm(t,r,o){return new t({type:"union",options:r,..._(o)})}c(xm,"_union");function wm(t,r,o,i){return new t({type:"union",options:o,discriminator:r,..._(i)})}c(wm,"_discriminatedUnion");function Im(t,r,o){return new t({type:"intersection",left:r,right:o})}c(Im,"_intersection");function Sm(t,r,o,i){let e=o instanceof z,n=e?i:o,u=e?o:null;return new t({type:"tuple",items:r,rest:u,..._(n)})}c(Sm,"_tuple");function zm(t,r,o,i){return new t({type:"record",keyType:r,valueType:o,..._(i)})}c(zm,"_record");function jm(t,r,o,i){return new t({type:"map",keyType:r,valueType:o,..._(i)})}c(jm,"_map");function Pm(t,r,o){return new t({type:"set",valueType:r,..._(o)})}c(Pm,"_set");function Cm(t,r,o){let i=Array.isArray(r)?Object.fromEntries(r.map(e=>[e,e])):r;return new t({type:"enum",entries:i,..._(o)})}c(Cm,"_enum");function Nm(t,r,o){return new t({type:"enum",entries:r,..._(o)})}c(Nm,"_nativeEnum");function Um(t,r,o){return new t({type:"literal",values:Array.isArray(r)?r:[r],..._(o)})}c(Um,"_literal");function Qa(t,r){return new t({type:"file",..._(r)})}c(Qa,"_file");function Om(t,r){return new t({type:"transform",transform:r})}c(Om,"_transform");function Dm(t,r){return new t({type:"optional",innerType:r})}c(Dm,"_optional");function Em(t,r){return new t({type:"nullable",innerType:r})}c(Em,"_nullable");function Am(t,r,o){return new t({type:"default",innerType:r,get defaultValue(){return typeof o=="function"?o():cn(o)}})}c(Am,"_default");function Tm(t,r,o){return new t({type:"nonoptional",innerType:r,..._(o)})}c(Tm,"_nonoptional");function Zm(t,r){return new t({type:"success",innerType:r})}c(Zm,"_success");function Rm(t,r,o){return new t({type:"catch",innerType:r,catchValue:typeof o=="function"?o:()=>o})}c(Rm,"_catch");function Vm(t,r,o){return new t({type:"pipe",in:r,out:o})}c(Vm,"_pipe");function Lm(t,r){return new t({type:"readonly",innerType:r})}c(Lm,"_readonly");function Fm(t,r,o){return new t({type:"template_literal",parts:r,..._(o)})}c(Fm,"_templateLiteral");function Bm(t,r){return new t({type:"lazy",getter:r})}c(Bm,"_lazy");function Mm(t,r){return new t({type:"promise",innerType:r})}c(Mm,"_promise");function Ya(t,r,o){let i=_(o);return i.abort??(i.abort=!0),new t({type:"custom",check:"custom",fn:r,...i})}c(Ya,"_custom");function ec(t,r,o){return new t({type:"custom",check:"custom",fn:r,..._(o)})}c(ec,"_refine");function tc(t){let r=qu(o=>(o.addIssue=i=>{if(typeof i=="string")o.issues.push(Ie(i,o.value,r._zod.def));else{let e=i;e.fatal&&(e.continue=!1),e.code??(e.code="custom"),e.input??(e.input=o.value),e.inst??(e.inst=r),e.continue??(e.continue=!r._zod.def.abort),o.issues.push(Ie(e))}},t(o.value,o)));return r}c(tc,"_superRefine");function qu(t,r){let o=new O({check:"custom",..._(r)});return o._zod.check=t,o}c(qu,"_check");function rc(t){let r=new O({check:"describe"});return r._zod.onattach=[o=>{let i=V.get(o)??{};V.add(o,{...i,description:t})}],r._zod.check=()=>{},r}c(rc,"describe");function nc(t){let r=new O({check:"meta"});return r._zod.onattach=[o=>{let i=V.get(o)??{};V.add(o,{...i,...t})}],r._zod.check=()=>{},r}c(nc,"meta");function ic(t,r){let o=_(r),i=o.truthy??["true","1","yes","on","y","enabled"],e=o.falsy??["false","0","no","off","n","disabled"];o.case!=="sensitive"&&(i=i.map(h=>typeof h=="string"?h.toLowerCase():h),e=e.map(h=>typeof h=="string"?h.toLowerCase():h));let n=new Set(i),u=new Set(e),d=t.Codec??tt,p=t.Boolean??et,l=t.String??be,s=new l({type:"string",error:o.error}),m=new p({type:"boolean",error:o.error}),f=new d({type:"pipe",in:s,out:m,transform:c(((h,g)=>{let b=h;return o.case!=="sensitive"&&(b=b.toLowerCase()),n.has(b)?!0:u.has(b)?!1:(g.issues.push({code:"invalid_value",expected:"stringbool",values:[...n,...u],input:g.value,inst:f,continue:!1}),{})}),"transform"),reverseTransform:c(((h,g)=>h===!0?i[0]||"true":e[0]||"false"),"reverseTransform"),error:o.error});return f}c(ic,"_stringbool");function Ee(t,r,o,i={}){let e=_(i),n={..._(i),check:"string_format",type:"string",format:r,fn:typeof o=="function"?o:d=>o.test(d),...e};return o instanceof RegExp&&(n.pattern=o),new t(n)}c(Ee,"_stringFormat");var ac=class ac{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,o={path:[],schemaPath:[]}){var i;let e=r._zod.def,n={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},u=this.seen.get(r);if(u)return u.count++,o.schemaPath.includes(r)&&(u.cycle=o.path),u.schema;let d={schema:{},count:1,cycle:void 0,path:o.path};this.seen.set(r,d);let p=r._zod.toJSONSchema?.();if(p)d.schema=p;else{let m={...o,schemaPath:[...o.schemaPath,r],path:o.path},f=r._zod.parent;if(f)d.ref=f,this.process(f,m),this.seen.get(f).isParent=!0;else{let h=d.schema;switch(e.type){case"string":{let g=h;g.type="string";let{minimum:b,maximum:x,format:I,patterns:S,contentEncoding:P}=r._zod.bag;if(typeof b=="number"&&(g.minLength=b),typeof x=="number"&&(g.maxLength=x),I&&(g.format=n[I]??I,g.format===""&&delete g.format),P&&(g.contentEncoding=P),S&&S.size>0){let w=[...S];w.length===1?g.pattern=w[0].source:w.length>1&&(d.schema.allOf=[...w.map(E=>({...this.target==="draft-7"||this.target==="draft-4"||this.target==="openapi-3.0"?{type:"string"}:{},pattern:E.source}))])}break}case"number":{let g=h,{minimum:b,maximum:x,format:I,multipleOf:S,exclusiveMaximum:P,exclusiveMinimum:w}=r._zod.bag;typeof I=="string"&&I.includes("int")?g.type="integer":g.type="number",typeof w=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(g.minimum=w,g.exclusiveMinimum=!0):g.exclusiveMinimum=w),typeof b=="number"&&(g.minimum=b,typeof w=="number"&&this.target!=="draft-4"&&(w>=b?delete g.minimum:delete g.exclusiveMinimum)),typeof P=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(g.maximum=P,g.exclusiveMaximum=!0):g.exclusiveMaximum=P),typeof x=="number"&&(g.maximum=x,typeof P=="number"&&this.target!=="draft-4"&&(P<=x?delete g.maximum:delete g.exclusiveMaximum)),typeof S=="number"&&(g.multipleOf=S);break}case"boolean":{let g=h;g.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"?(h.type="string",h.nullable=!0,h.enum=[null]):h.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":{h.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{let g=h,{minimum:b,maximum:x}=r._zod.bag;typeof b=="number"&&(g.minItems=b),typeof x=="number"&&(g.maxItems=x),g.type="array",g.items=this.process(e.element,{...m,path:[...m.path,"items"]});break}case"object":{let g=h;g.type="object",g.properties={};let b=e.shape;for(let S in b)g.properties[S]=this.process(b[S],{...m,path:[...m.path,"properties",S]});let x=new Set(Object.keys(b)),I=new Set([...x].filter(S=>{let P=e.shape[S]._zod;return this.io==="input"?P.optin===void 0:P.optout===void 0}));I.size>0&&(g.required=Array.from(I)),e.catchall?._zod.def.type==="never"?g.additionalProperties=!1:e.catchall?e.catchall&&(g.additionalProperties=this.process(e.catchall,{...m,path:[...m.path,"additionalProperties"]})):this.io==="output"&&(g.additionalProperties=!1);break}case"union":{let g=h,b=e.discriminator!==void 0,x=e.options.map((I,S)=>this.process(I,{...m,path:[...m.path,b?"oneOf":"anyOf",S]}));b?g.oneOf=x:g.anyOf=x;break}case"intersection":{let g=h,b=this.process(e.left,{...m,path:[...m.path,"allOf",0]}),x=this.process(e.right,{...m,path:[...m.path,"allOf",1]}),I=c(P=>"allOf"in P&&Object.keys(P).length===1,"isSimpleIntersection"),S=[...I(b)?b.allOf:[b],...I(x)?x.allOf:[x]];g.allOf=S;break}case"tuple":{let g=h;g.type="array";let b=this.target==="draft-2020-12"?"prefixItems":"items",x=this.target==="draft-2020-12"||this.target==="openapi-3.0"?"items":"additionalItems",I=e.items.map((E,Z)=>this.process(E,{...m,path:[...m.path,b,Z]})),S=e.rest?this.process(e.rest,{...m,path:[...m.path,x,...this.target==="openapi-3.0"?[e.items.length]:[]]}):null;this.target==="draft-2020-12"?(g.prefixItems=I,S&&(g.items=S)):this.target==="openapi-3.0"?(g.items={anyOf:I},S&&g.items.anyOf.push(S),g.minItems=I.length,S||(g.maxItems=I.length)):(g.items=I,S&&(g.additionalItems=S));let{minimum:P,maximum:w}=r._zod.bag;typeof P=="number"&&(g.minItems=P),typeof w=="number"&&(g.maxItems=w);break}case"record":{let g=h;g.type="object",(this.target==="draft-7"||this.target==="draft-2020-12")&&(g.propertyNames=this.process(e.keyType,{...m,path:[...m.path,"propertyNames"]})),g.additionalProperties=this.process(e.valueType,{...m,path:[...m.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 g=h,b=Be(e.entries);b.every(x=>typeof x=="number")&&(g.type="number"),b.every(x=>typeof x=="string")&&(g.type="string"),g.enum=b;break}case"literal":{let g=h,b=[];for(let x of e.values)if(x===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof x=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");b.push(Number(x))}else b.push(x);if(b.length!==0)if(b.length===1){let x=b[0];g.type=x===null?"null":typeof x,this.target==="draft-4"||this.target==="openapi-3.0"?g.enum=[x]:g.const=x}else b.every(x=>typeof x=="number")&&(g.type="number"),b.every(x=>typeof x=="string")&&(g.type="string"),b.every(x=>typeof x=="boolean")&&(g.type="string"),b.every(x=>x===null)&&(g.type="null"),g.enum=b;break}case"file":{let g=h,b={type:"string",format:"binary",contentEncoding:"binary"},{minimum:x,maximum:I,mime:S}=r._zod.bag;x!==void 0&&(b.minLength=x),I!==void 0&&(b.maxLength=I),S?S.length===1?(b.contentMediaType=S[0],Object.assign(g,b)):g.anyOf=S.map(P=>({...b,contentMediaType:P})):Object.assign(g,b);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{let g=this.process(e.innerType,m);this.target==="openapi-3.0"?(d.ref=e.innerType,h.nullable=!0):h.anyOf=[g,{type:"null"}];break}case"nonoptional":{this.process(e.innerType,m),d.ref=e.innerType;break}case"success":{let g=h;g.type="boolean";break}case"default":{this.process(e.innerType,m),d.ref=e.innerType,h.default=JSON.parse(JSON.stringify(e.defaultValue));break}case"prefault":{this.process(e.innerType,m),d.ref=e.innerType,this.io==="input"&&(h._prefault=JSON.parse(JSON.stringify(e.defaultValue)));break}case"catch":{this.process(e.innerType,m),d.ref=e.innerType;let g;try{g=e.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}h.default=g;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{let g=h,b=r._zod.pattern;if(!b)throw new Error("Pattern not found in template literal");g.type="string",g.pattern=b.source;break}case"pipe":{let g=this.io==="input"?e.in._zod.def.type==="transform"?e.out:e.in:e.out;this.process(g,m),d.ref=g;break}case"readonly":{this.process(e.innerType,m),d.ref=e.innerType,h.readOnly=!0;break}case"promise":{this.process(e.innerType,m),d.ref=e.innerType;break}case"optional":{this.process(e.innerType,m),d.ref=e.innerType;break}case"lazy":{let g=r._zod.innerType;this.process(g,m),d.ref=g;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 l=this.metadataRegistry.get(r);return l&&Object.assign(d.schema,l),this.io==="input"&&L(r)&&(delete d.schema.examples,delete d.schema.default),this.io==="input"&&d.schema._prefault&&((i=d.schema).default??(i.default=d.schema._prefault)),delete d.schema._prefault,this.seen.get(r).schema}emit(r,o){let i={cycles:o?.cycles??"ref",reused:o?.reused??"inline",external:o?.external??void 0},e=this.seen.get(r);if(!e)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=c(s=>{let m=this.target==="draft-2020-12"?"$defs":"definitions";if(i.external){let b=i.external.registry.get(s[0])?.id,x=i.external.uri??(S=>S);if(b)return{ref:x(b)};let I=s[1].defId??s[1].schema.id??`schema${this.counter++}`;return s[1].defId=I,{defId:I,ref:`${x("__shared")}#/${m}/${I}`}}if(s[1]===e)return{ref:"#"};let h=`#/${m}/`,g=s[1].schema.id??`__schema${this.counter++}`;return{defId:g,ref:h+g}},"makeURI"),u=c(s=>{if(s[1].schema.$ref)return;let m=s[1],{ref:f,defId:h}=n(s);m.def={...m.schema},h&&(m.defId=h);let g=m.schema;for(let b in g)delete g[b];g.$ref=f},"extractToDef");if(i.cycles==="throw")for(let s of this.seen.entries()){let m=s[1];if(m.cycle)throw new Error(`Cycle detected: #/${m.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 s of this.seen.entries()){let m=s[1];if(r===s[0]){u(s);continue}if(i.external){let h=i.external.registry.get(s[0])?.id;if(r!==s[0]&&h){u(s);continue}}if(this.metadataRegistry.get(s[0])?.id){u(s);continue}if(m.cycle){u(s);continue}if(m.count>1&&i.reused==="ref"){u(s);continue}}let d=c((s,m)=>{let f=this.seen.get(s),h=f.def??f.schema,g={...h};if(f.ref===null)return;let b=f.ref;if(f.ref=null,b){d(b,m);let x=this.seen.get(b).schema;x.$ref&&(m.target==="draft-7"||m.target==="draft-4"||m.target==="openapi-3.0")?(h.allOf=h.allOf??[],h.allOf.push(x)):(Object.assign(h,x),Object.assign(h,g))}f.isParent||this.override({zodSchema:s,jsonSchema:h,path:f.path??[]})},"flattenRef");for(let s of[...this.seen.entries()].reverse())d(s[0],{target:this.target});let p={};if(this.target==="draft-2020-12"?p.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?p.$schema="http://json-schema.org/draft-07/schema#":this.target==="draft-4"?p.$schema="http://json-schema.org/draft-04/schema#":this.target==="openapi-3.0"||console.warn(`Invalid target: ${this.target}`),i.external?.uri){let s=i.external.registry.get(r)?.id;if(!s)throw new Error("Schema is missing an `id` property");p.$id=i.external.uri(s)}Object.assign(p,e.def);let l=i.external?.defs??{};for(let s of this.seen.entries()){let m=s[1];m.def&&m.defId&&(l[m.defId]=m.def)}i.external||Object.keys(l).length>0&&(this.target==="draft-2020-12"?p.$defs=l:p.definitions=l);try{return JSON.parse(JSON.stringify(p))}catch{throw new Error("Error converting schema to JSON.")}}};c(ac,"JSONSchemaGenerator");var xt=ac;function oc(t,r){if(t instanceof Ne){let i=new xt(r),e={};for(let d of t._idmap.entries()){let[p,l]=d;i.process(l)}let n={},u={registry:t,uri:r?.uri,defs:e};for(let d of t._idmap.entries()){let[p,l]=d;n[p]=i.emit(l,{...r,external:u})}if(Object.keys(e).length>0){let d=i.target==="draft-2020-12"?"$defs":"definitions";n.__shared={[d]:e}}return{schemas:n}}let o=new xt(r);return o.process(t),o.emit(t,r)}c(oc,"toJSONSchema");function L(t,r){let o=r??{seen:new Set};if(o.seen.has(t))return!1;o.seen.add(t);let i=t._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return L(i.element,o);if(i.type==="set")return L(i.valueType,o);if(i.type==="lazy")return L(i.getter(),o);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return L(i.innerType,o);if(i.type==="intersection")return L(i.left,o)||L(i.right,o);if(i.type==="record"||i.type==="map")return L(i.keyType,o)||L(i.valueType,o);if(i.type==="pipe")return L(i.in,o)||L(i.out,o);if(i.type==="object"){for(let e in i.shape)if(L(i.shape[e],o))return!0;return!1}if(i.type==="union"){for(let e of i.options)if(L(e,o))return!0;return!1}if(i.type==="tuple"){for(let e of i.items)if(L(e,o))return!0;return!!(i.rest&&L(i.rest,o))}return!1}c(L,"isTransforming");var Ju={};var Ur={};se(Ur,{ZodISODate:()=>Pr,ZodISODateTime:()=>jr,ZodISODuration:()=>Nr,ZodISOTime:()=>Cr,date:()=>uc,datetime:()=>cc,duration:()=>lc,time:()=>sc});var jr=v("ZodISODateTime",(t,r)=>{wi.init(t,r),D.init(t,r)});function cc(t){return ba(jr,t)}c(cc,"datetime");var Pr=v("ZodISODate",(t,r)=>{Ii.init(t,r),D.init(t,r)});function uc(t){return $a(Pr,t)}c(uc,"date");var Cr=v("ZodISOTime",(t,r)=>{Si.init(t,r),D.init(t,r)});function sc(t){return _a(Cr,t)}c(sc,"time");var Nr=v("ZodISODuration",(t,r)=>{zi.init(t,r),D.init(t,r)});function lc(t){return ka(Nr,t)}c(lc,"duration");var Gu=c((t,r)=>{Ge.init(t,r),t.name="ZodError",Object.defineProperties(t,{format:{value:c(o=>Xe(t,o),"value")},flatten:{value:c(o=>Ke(t,o),"value")},addIssue:{value:c(o=>{t.issues.push(o),t.message=JSON.stringify(t.issues,xe,2)},"value")},addIssues:{value:c(o=>{t.issues.push(...o),t.message=JSON.stringify(t.issues,xe,2)},"value")},isEmpty:{get(){return t.issues.length===0}}})},"initializer"),Jm=v("ZodError",Gu),q=v("ZodError",Gu,{Parent:Error});var dc=Se(q),mc=ze(q),pc=je(q),fc=Pe(q),gc=Lt(q),vc=Ft(q),hc=Bt(q),yc=Mt(q),bc=qt(q),$c=Jt(q),_c=Wt(q),kc=Gt(q);var C=v("ZodType",(t,r)=>(z.init(t,r),t.def=r,t.type=r.type,Object.defineProperty(t,"_def",{value:r}),t.check=(...o)=>t.clone(k.mergeDefs(r,{checks:[...r.checks??[],...o.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]})),t.clone=(o,i)=>R(t,o,i),t.brand=()=>t,t.register=((o,i)=>(o.add(t,i),t)),t.parse=(o,i)=>dc(t,o,i,{callee:t.parse}),t.safeParse=(o,i)=>pc(t,o,i),t.parseAsync=async(o,i)=>mc(t,o,i,{callee:t.parseAsync}),t.safeParseAsync=async(o,i)=>fc(t,o,i),t.spa=t.safeParseAsync,t.encode=(o,i)=>gc(t,o,i),t.decode=(o,i)=>vc(t,o,i),t.encodeAsync=async(o,i)=>hc(t,o,i),t.decodeAsync=async(o,i)=>yc(t,o,i),t.safeEncode=(o,i)=>bc(t,o,i),t.safeDecode=(o,i)=>$c(t,o,i),t.safeEncodeAsync=async(o,i)=>_c(t,o,i),t.safeDecodeAsync=async(o,i)=>kc(t,o,i),t.refine=(o,i)=>t.check(Es(o,i)),t.superRefine=o=>t.check(As(o)),t.overwrite=o=>t.check(ee(o)),t.optional=()=>Dr(t),t.nullable=()=>Er(t),t.nullish=()=>Dr(Er(t)),t.nonoptional=o=>xs(t,o),t.array=()=>Rr(t),t.or=o=>qc([t,o]),t.and=o=>ss(t,o),t.transform=o=>Ar(t,Gc(o)),t.default=o=>$s(t,o),t.prefault=o=>ks(t,o),t.catch=o=>Ss(t,o),t.pipe=o=>Ar(t,o),t.readonly=()=>Ps(t),t.describe=o=>{let i=t.clone();return V.add(i,{description:o}),i},Object.defineProperty(t,"description",{get(){return V.get(t)?.description},configurable:!0}),t.meta=(...o)=>{if(o.length===0)return V.get(t);let i=t.clone();return V.add(i,o[0]),i},t.isOptional=()=>t.safeParse(void 0).success,t.isNullable=()=>t.safeParse(null).success,t)),Ic=v("_ZodString",(t,r)=>{be.init(t,r),C.init(t,r);let o=t._zod.bag;t.format=o.format??null,t.minLength=o.minimum??null,t.maxLength=o.maximum??null,t.regex=(...i)=>t.check(dt(...i)),t.includes=(...i)=>t.check(ft(...i)),t.startsWith=(...i)=>t.check(gt(...i)),t.endsWith=(...i)=>t.check(vt(...i)),t.min=(...i)=>t.check(ve(...i)),t.max=(...i)=>t.check(Oe(...i)),t.length=(...i)=>t.check(De(...i)),t.nonempty=(...i)=>t.check(ve(1,...i)),t.lowercase=i=>t.check(mt(i)),t.uppercase=i=>t.check(pt(i)),t.trim=()=>t.check(bt()),t.normalize=(...i)=>t.check(yt(...i)),t.toLowerCase=()=>t.check($t()),t.toUpperCase=()=>t.check(_t()),t.slugify=()=>t.check(kt())}),It=v("ZodString",(t,r)=>{be.init(t,r),Ic.init(t,r),t.email=o=>t.check(ur(Sc,o)),t.url=o=>t.check(st(Tr,o)),t.jwt=o=>t.check(zr(Lc,o)),t.emoji=o=>t.check(pr(zc,o)),t.guid=o=>t.check(ut(Or,o)),t.uuid=o=>t.check(sr(ce,o)),t.uuidv4=o=>t.check(lr(ce,o)),t.uuidv6=o=>t.check(dr(ce,o)),t.uuidv7=o=>t.check(mr(ce,o)),t.nanoid=o=>t.check(fr(jc,o)),t.guid=o=>t.check(ut(Or,o)),t.cuid=o=>t.check(gr(Pc,o)),t.cuid2=o=>t.check(vr(Cc,o)),t.ulid=o=>t.check(hr(Nc,o)),t.base64=o=>t.check(wr(Zc,o)),t.base64url=o=>t.check(Ir(Rc,o)),t.xid=o=>t.check(yr(Uc,o)),t.ksuid=o=>t.check(br(Oc,o)),t.ipv4=o=>t.check($r(Dc,o)),t.ipv6=o=>t.check(_r(Ec,o)),t.cidrv4=o=>t.check(kr(Ac,o)),t.cidrv6=o=>t.check(xr(Tc,o)),t.e164=o=>t.check(Sr(Vc,o)),t.datetime=o=>t.check(cc(o)),t.date=o=>t.check(uc(o)),t.time=o=>t.check(sc(o)),t.duration=o=>t.check(lc(o))});function xc(t){return ga(It,t)}c(xc,"string");var D=v("ZodStringFormat",(t,r)=>{U.init(t,r),Ic.init(t,r)}),Sc=v("ZodEmail",(t,r)=>{gi.init(t,r),D.init(t,r)});function Gm(t){return ur(Sc,t)}c(Gm,"email");var Or=v("ZodGUID",(t,r)=>{pi.init(t,r),D.init(t,r)});function Km(t){return ut(Or,t)}c(Km,"guid");var ce=v("ZodUUID",(t,r)=>{fi.init(t,r),D.init(t,r)});function Xm(t){return sr(ce,t)}c(Xm,"uuid");function Hm(t){return lr(ce,t)}c(Hm,"uuidv4");function Qm(t){return dr(ce,t)}c(Qm,"uuidv6");function Ym(t){return mr(ce,t)}c(Ym,"uuidv7");var Tr=v("ZodURL",(t,r)=>{vi.init(t,r),D.init(t,r)});function ep(t){return st(Tr,t)}c(ep,"url");function tp(t){return st(Tr,{protocol:/^https?$/,hostname:K.domain,...k.normalizeParams(t)})}c(tp,"httpUrl");var zc=v("ZodEmoji",(t,r)=>{hi.init(t,r),D.init(t,r)});function rp(t){return pr(zc,t)}c(rp,"emoji");var jc=v("ZodNanoID",(t,r)=>{yi.init(t,r),D.init(t,r)});function np(t){return fr(jc,t)}c(np,"nanoid");var Pc=v("ZodCUID",(t,r)=>{bi.init(t,r),D.init(t,r)});function ip(t){return gr(Pc,t)}c(ip,"cuid");var Cc=v("ZodCUID2",(t,r)=>{$i.init(t,r),D.init(t,r)});function op(t){return vr(Cc,t)}c(op,"cuid2");var Nc=v("ZodULID",(t,r)=>{_i.init(t,r),D.init(t,r)});function ap(t){return hr(Nc,t)}c(ap,"ulid");var Uc=v("ZodXID",(t,r)=>{ki.init(t,r),D.init(t,r)});function cp(t){return yr(Uc,t)}c(cp,"xid");var Oc=v("ZodKSUID",(t,r)=>{xi.init(t,r),D.init(t,r)});function up(t){return br(Oc,t)}c(up,"ksuid");var Dc=v("ZodIPv4",(t,r)=>{ji.init(t,r),D.init(t,r)});function sp(t){return $r(Dc,t)}c(sp,"ipv4");var Ku=v("ZodMAC",(t,r)=>{Ci.init(t,r),D.init(t,r)});function lp(t){return ha(Ku,t)}c(lp,"mac");var Ec=v("ZodIPv6",(t,r)=>{Pi.init(t,r),D.init(t,r)});function dp(t){return _r(Ec,t)}c(dp,"ipv6");var Ac=v("ZodCIDRv4",(t,r)=>{Ni.init(t,r),D.init(t,r)});function mp(t){return kr(Ac,t)}c(mp,"cidrv4");var Tc=v("ZodCIDRv6",(t,r)=>{Ui.init(t,r),D.init(t,r)});function pp(t){return xr(Tc,t)}c(pp,"cidrv6");var Zc=v("ZodBase64",(t,r)=>{Di.init(t,r),D.init(t,r)});function fp(t){return wr(Zc,t)}c(fp,"base64");var Rc=v("ZodBase64URL",(t,r)=>{Ei.init(t,r),D.init(t,r)});function gp(t){return Ir(Rc,t)}c(gp,"base64url");var Vc=v("ZodE164",(t,r)=>{Ai.init(t,r),D.init(t,r)});function vp(t){return Sr(Vc,t)}c(vp,"e164");var Lc=v("ZodJWT",(t,r)=>{Ti.init(t,r),D.init(t,r)});function hp(t){return zr(Lc,t)}c(hp,"jwt");var St=v("ZodCustomStringFormat",(t,r)=>{Zi.init(t,r),D.init(t,r)});function yp(t,r,o={}){return Ee(St,t,r,o)}c(yp,"stringFormat");function bp(t){return Ee(St,"hostname",K.hostname,t)}c(bp,"hostname");function $p(t){return Ee(St,"hex",K.hex,t)}c($p,"hex");function _p(t,r){let o=r?.enc??"hex",i=`${t}_${o}`,e=K[i];if(!e)throw new Error(`Unrecognized hash format: ${i}`);return Ee(St,i,e,r)}c(_p,"hash");var zt=v("ZodNumber",(t,r)=>{nr.init(t,r),C.init(t,r),t.gt=(i,e)=>t.check(oe(i,e)),t.gte=(i,e)=>t.check(M(i,e)),t.min=(i,e)=>t.check(M(i,e)),t.lt=(i,e)=>t.check(ie(i,e)),t.lte=(i,e)=>t.check(X(i,e)),t.max=(i,e)=>t.check(X(i,e)),t.int=i=>t.check(wc(i)),t.safe=i=>t.check(wc(i)),t.positive=i=>t.check(oe(0,i)),t.nonnegative=i=>t.check(M(0,i)),t.negative=i=>t.check(ie(0,i)),t.nonpositive=i=>t.check(X(0,i)),t.multipleOf=(i,e)=>t.check($e(i,e)),t.step=(i,e)=>t.check($e(i,e)),t.finite=()=>t;let o=t._zod.bag;t.minValue=Math.max(o.minimum??Number.NEGATIVE_INFINITY,o.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(o.maximum??Number.POSITIVE_INFINITY,o.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(o.format??"").includes("int")||Number.isSafeInteger(o.multipleOf??.5),t.isFinite=!0,t.format=o.format??null});function Xu(t){return xa(zt,t)}c(Xu,"number");var Te=v("ZodNumberFormat",(t,r)=>{Ri.init(t,r),zt.init(t,r)});function wc(t){return Ia(Te,t)}c(wc,"int");function kp(t){return Sa(Te,t)}c(kp,"float32");function xp(t){return za(Te,t)}c(xp,"float64");function wp(t){return ja(Te,t)}c(wp,"int32");function Ip(t){return Pa(Te,t)}c(Ip,"uint32");var jt=v("ZodBoolean",(t,r)=>{et.init(t,r),C.init(t,r)});function Hu(t){return Ca(jt,t)}c(Hu,"boolean");var Pt=v("ZodBigInt",(t,r)=>{ir.init(t,r),C.init(t,r),t.gte=(i,e)=>t.check(M(i,e)),t.min=(i,e)=>t.check(M(i,e)),t.gt=(i,e)=>t.check(oe(i,e)),t.gte=(i,e)=>t.check(M(i,e)),t.min=(i,e)=>t.check(M(i,e)),t.lt=(i,e)=>t.check(ie(i,e)),t.lte=(i,e)=>t.check(X(i,e)),t.max=(i,e)=>t.check(X(i,e)),t.positive=i=>t.check(oe(BigInt(0),i)),t.negative=i=>t.check(ie(BigInt(0),i)),t.nonpositive=i=>t.check(X(BigInt(0),i)),t.nonnegative=i=>t.check(M(BigInt(0),i)),t.multipleOf=(i,e)=>t.check($e(i,e));let o=t._zod.bag;t.minValue=o.minimum??null,t.maxValue=o.maximum??null,t.format=o.format??null});function Sp(t){return Ua(Pt,t)}c(Sp,"bigint");var Fc=v("ZodBigIntFormat",(t,r)=>{Vi.init(t,r),Pt.init(t,r)});function zp(t){return Da(Fc,t)}c(zp,"int64");function jp(t){return Ea(Fc,t)}c(jp,"uint64");var Qu=v("ZodSymbol",(t,r)=>{Li.init(t,r),C.init(t,r)});function Pp(t){return Aa(Qu,t)}c(Pp,"symbol");var Yu=v("ZodUndefined",(t,r)=>{Fi.init(t,r),C.init(t,r)});function Cp(t){return Ta(Yu,t)}c(Cp,"_undefined");var es=v("ZodNull",(t,r)=>{Bi.init(t,r),C.init(t,r)});function ts(t){return Za(es,t)}c(ts,"_null");var rs=v("ZodAny",(t,r)=>{Mi.init(t,r),C.init(t,r)});function Np(){return Ra(rs)}c(Np,"any");var ns=v("ZodUnknown",(t,r)=>{qi.init(t,r),C.init(t,r)});function Ae(){return Va(ns)}c(Ae,"unknown");var is=v("ZodNever",(t,r)=>{Ji.init(t,r),C.init(t,r)});function Bc(t){return La(is,t)}c(Bc,"never");var os=v("ZodVoid",(t,r)=>{Wi.init(t,r),C.init(t,r)});function Up(t){return Fa(os,t)}c(Up,"_void");var Zr=v("ZodDate",(t,r)=>{Gi.init(t,r),C.init(t,r),t.min=(i,e)=>t.check(M(i,e)),t.max=(i,e)=>t.check(X(i,e));let o=t._zod.bag;t.minDate=o.minimum?new Date(o.minimum):null,t.maxDate=o.maximum?new Date(o.maximum):null});function Op(t){return Ba(Zr,t)}c(Op,"date");var as=v("ZodArray",(t,r)=>{Ki.init(t,r),C.init(t,r),t.element=r.element,t.min=(o,i)=>t.check(ve(o,i)),t.nonempty=o=>t.check(ve(1,o)),t.max=(o,i)=>t.check(Oe(o,i)),t.length=(o,i)=>t.check(De(o,i)),t.unwrap=()=>t.element});function Rr(t,r){return Ha(as,t,r)}c(Rr,"array");function Dp(t){let r=t._zod.def.shape;return Wc(Object.keys(r))}c(Dp,"keyof");var Vr=v("ZodObject",(t,r)=>{Xi.init(t,r),C.init(t,r),k.defineLazy(t,"shape",()=>r.shape),t.keyof=()=>Wc(Object.keys(t._zod.def.shape)),t.catchall=o=>t.clone({...t._zod.def,catchall:o}),t.passthrough=()=>t.clone({...t._zod.def,catchall:Ae()}),t.loose=()=>t.clone({...t._zod.def,catchall:Ae()}),t.strict=()=>t.clone({...t._zod.def,catchall:Bc()}),t.strip=()=>t.clone({...t._zod.def,catchall:void 0}),t.extend=o=>k.extend(t,o),t.safeExtend=o=>k.safeExtend(t,o),t.merge=o=>k.merge(t,o),t.pick=o=>k.pick(t,o),t.omit=o=>k.omit(t,o),t.partial=(...o)=>k.partial(Kc,t,o[0]),t.required=(...o)=>k.required(Xc,t,o[0])});function Ep(t,r){let o={type:"object",shape:t??{},...k.normalizeParams(r)};return new Vr(o)}c(Ep,"object");function Ap(t,r){return new Vr({type:"object",shape:t,catchall:Bc(),...k.normalizeParams(r)})}c(Ap,"strictObject");function Tp(t,r){return new Vr({type:"object",shape:t,catchall:Ae(),...k.normalizeParams(r)})}c(Tp,"looseObject");var Mc=v("ZodUnion",(t,r)=>{or.init(t,r),C.init(t,r),t.options=r.options});function qc(t,r){return new Mc({type:"union",options:t,...k.normalizeParams(r)})}c(qc,"union");var cs=v("ZodDiscriminatedUnion",(t,r)=>{Mc.init(t,r),Hi.init(t,r)});function Zp(t,r,o){return new cs({type:"union",options:r,discriminator:t,...k.normalizeParams(o)})}c(Zp,"discriminatedUnion");var us=v("ZodIntersection",(t,r)=>{Qi.init(t,r),C.init(t,r)});function ss(t,r){return new us({type:"intersection",left:t,right:r})}c(ss,"intersection");var ls=v("ZodTuple",(t,r)=>{ar.init(t,r),C.init(t,r),t.rest=o=>t.clone({...t._zod.def,rest:o})});function ds(t,r,o){let i=r instanceof z,e=i?o:r,n=i?r:null;return new ls({type:"tuple",items:t,rest:n,...k.normalizeParams(e)})}c(ds,"tuple");var Jc=v("ZodRecord",(t,r)=>{Yi.init(t,r),C.init(t,r),t.keyType=r.keyType,t.valueType=r.valueType});function ms(t,r,o){return new Jc({type:"record",keyType:t,valueType:r,...k.normalizeParams(o)})}c(ms,"record");function Rp(t,r,o){let i=R(t);return i._zod.values=void 0,new Jc({type:"record",keyType:i,valueType:r,...k.normalizeParams(o)})}c(Rp,"partialRecord");var ps=v("ZodMap",(t,r)=>{eo.init(t,r),C.init(t,r),t.keyType=r.keyType,t.valueType=r.valueType});function Vp(t,r,o){return new ps({type:"map",keyType:t,valueType:r,...k.normalizeParams(o)})}c(Vp,"map");var fs=v("ZodSet",(t,r)=>{to.init(t,r),C.init(t,r),t.min=(...o)=>t.check(_e(...o)),t.nonempty=o=>t.check(_e(1,o)),t.max=(...o)=>t.check(Ue(...o)),t.size=(...o)=>t.check(lt(...o))});function Lp(t,r){return new fs({type:"set",valueType:t,...k.normalizeParams(r)})}c(Lp,"set");var wt=v("ZodEnum",(t,r)=>{ro.init(t,r),C.init(t,r),t.enum=r.entries,t.options=Object.values(r.entries);let o=new Set(Object.keys(r.entries));t.extract=(i,e)=>{let n={};for(let u of i)if(o.has(u))n[u]=r.entries[u];else throw new Error(`Key ${u} not found in enum`);return new wt({...r,checks:[],...k.normalizeParams(e),entries:n})},t.exclude=(i,e)=>{let n={...r.entries};for(let u of i)if(o.has(u))delete n[u];else throw new Error(`Key ${u} not found in enum`);return new wt({...r,checks:[],...k.normalizeParams(e),entries:n})}});function Wc(t,r){let o=Array.isArray(t)?Object.fromEntries(t.map(i=>[i,i])):t;return new wt({type:"enum",entries:o,...k.normalizeParams(r)})}c(Wc,"_enum");function Fp(t,r){return new wt({type:"enum",entries:t,...k.normalizeParams(r)})}c(Fp,"nativeEnum");var gs=v("ZodLiteral",(t,r)=>{no.init(t,r),C.init(t,r),t.values=new Set(r.values),Object.defineProperty(t,"value",{get(){if(r.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function Bp(t,r){return new gs({type:"literal",values:Array.isArray(t)?t:[t],...k.normalizeParams(r)})}c(Bp,"literal");var vs=v("ZodFile",(t,r)=>{io.init(t,r),C.init(t,r),t.min=(o,i)=>t.check(_e(o,i)),t.max=(o,i)=>t.check(Ue(o,i)),t.mime=(o,i)=>t.check(ht(Array.isArray(o)?o:[o],i))});function Mp(t){return Qa(vs,t)}c(Mp,"file");var hs=v("ZodTransform",(t,r)=>{oo.init(t,r),C.init(t,r),t._zod.parse=(o,i)=>{if(i.direction==="backward")throw new le(t.constructor.name);o.addIssue=n=>{if(typeof n=="string")o.issues.push(k.issue(n,o.value,r));else{let u=n;u.fatal&&(u.continue=!1),u.code??(u.code="custom"),u.input??(u.input=o.value),u.inst??(u.inst=t),o.issues.push(k.issue(u))}};let e=r.transform(o.value,o);return e instanceof Promise?e.then(n=>(o.value=n,o)):(o.value=e,o)}});function Gc(t){return new hs({type:"transform",transform:t})}c(Gc,"transform");var Kc=v("ZodOptional",(t,r)=>{ao.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.innerType});function Dr(t){return new Kc({type:"optional",innerType:t})}c(Dr,"optional");var ys=v("ZodNullable",(t,r)=>{co.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.innerType});function Er(t){return new ys({type:"nullable",innerType:t})}c(Er,"nullable");function qp(t){return Dr(Er(t))}c(qp,"nullish");var bs=v("ZodDefault",(t,r)=>{uo.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function $s(t,r){return new bs({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():k.shallowClone(r)}})}c($s,"_default");var _s=v("ZodPrefault",(t,r)=>{so.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.innerType});function ks(t,r){return new _s({type:"prefault",innerType:t,get defaultValue(){return typeof r=="function"?r():k.shallowClone(r)}})}c(ks,"prefault");var Xc=v("ZodNonOptional",(t,r)=>{lo.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.innerType});function xs(t,r){return new Xc({type:"nonoptional",innerType:t,...k.normalizeParams(r)})}c(xs,"nonoptional");var ws=v("ZodSuccess",(t,r)=>{mo.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.innerType});function Jp(t){return new ws({type:"success",innerType:t})}c(Jp,"success");var Is=v("ZodCatch",(t,r)=>{po.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function Ss(t,r){return new Is({type:"catch",innerType:t,catchValue:typeof r=="function"?r:()=>r})}c(Ss,"_catch");var zs=v("ZodNaN",(t,r)=>{fo.init(t,r),C.init(t,r)});function Wp(t){return qa(zs,t)}c(Wp,"nan");var Hc=v("ZodPipe",(t,r)=>{go.init(t,r),C.init(t,r),t.in=r.in,t.out=r.out});function Ar(t,r){return new Hc({type:"pipe",in:t,out:r})}c(Ar,"pipe");var Qc=v("ZodCodec",(t,r)=>{Hc.init(t,r),tt.init(t,r)});function Gp(t,r,o){return new Qc({type:"pipe",in:t,out:r,transform:o.decode,reverseTransform:o.encode})}c(Gp,"codec");var js=v("ZodReadonly",(t,r)=>{vo.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.innerType});function Ps(t){return new js({type:"readonly",innerType:t})}c(Ps,"readonly");var Cs=v("ZodTemplateLiteral",(t,r)=>{ho.init(t,r),C.init(t,r)});function Kp(t,r){return new Cs({type:"template_literal",parts:t,...k.normalizeParams(r)})}c(Kp,"templateLiteral");var Ns=v("ZodLazy",(t,r)=>{$o.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.getter()});function Us(t){return new Ns({type:"lazy",getter:t})}c(Us,"lazy");var Os=v("ZodPromise",(t,r)=>{bo.init(t,r),C.init(t,r),t.unwrap=()=>t._zod.def.innerType});function Xp(t){return new Os({type:"promise",innerType:t})}c(Xp,"promise");var Ds=v("ZodFunction",(t,r)=>{yo.init(t,r),C.init(t,r)});function Hp(t){return new Ds({type:"function",input:Array.isArray(t?.input)?ds(t?.input):t?.input??Rr(Ae()),output:t?.output??Ae()})}c(Hp,"_function");var Lr=v("ZodCustom",(t,r)=>{_o.init(t,r),C.init(t,r)});function Qp(t){let r=new O({check:"custom"});return r._zod.check=t,r}c(Qp,"check");function Yp(t,r){return Ya(Lr,t??(()=>!0),r)}c(Yp,"custom");function Es(t,r={}){return ec(Lr,t,r)}c(Es,"refine");function As(t){return tc(t)}c(As,"superRefine");var ef=rc,tf=nc;function rf(t,r={error:`Input not instance of ${t.name}`}){let o=new Lr({type:"custom",check:"custom",fn:c(i=>i instanceof t,"fn"),abort:!0,...k.normalizeParams(r)});return o._zod.bag.Class=t,o}c(rf,"_instanceof");var nf=c((...t)=>ic({Codec:Qc,Boolean:jt,String:It},...t),"stringbool");function of(t){let r=Us(()=>qc([xc(t),Xu(),Hu(),ts(),Rr(r),ms(xc(),r)]));return r}c(of,"json");function af(t,r){return Ar(Gc(t),r)}c(af,"preprocess");var cf={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 uf(t){A({customError:t})}c(uf,"setErrorMap");function sf(){return A().customError}c(sf,"getErrorMap");var Yc;Yc||(Yc={});var eu={};se(eu,{bigint:()=>pf,boolean:()=>mf,date:()=>ff,number:()=>df,string:()=>lf});function lf(t){return va(It,t)}c(lf,"string");function df(t){return wa(zt,t)}c(df,"number");function mf(t){return Na(jt,t)}c(mf,"boolean");function pf(t){return Oa(Pt,t)}c(pf,"bigint");function ff(t){return Ma(Zr,t)}c(ff,"date");A(rt());var gf=Object.defineProperty,Ks=c((t,r)=>gf(t,"name",{value:r,configurable:!0}),"__name"),Mr=a.array(a.string().or(a.record(a.string(),a.any()))),Zb=a.object({type:a.string().optional(),narrative:a.string().optional()}),qr=a.string().or(a.object({id:a.string(),type:a.string(),caption:a.string().optional()})),vf=a.object({type:a.string().min(1).or(a.string().array().nonempty()),latitude:a.number(),longitude:a.number()}),hf=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:vf.optional()}),yf=a.enum(["sourcedId","systemId","productId","userName","accountId","emailAddress","nationalIdentityNumber","isbn","issn","lisSourcedId","oneRosterSourcedId","sisSourcedId","ltiContextId","ltiDeploymentId","ltiToolId","ltiPlatformId","ltiUserId","identifier"]).or(a.string()),Xs=a.object({type:a.string().min(1).or(a.string().array().nonempty()),identifier:a.string(),identifierType:yf}),Ct=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:qr.optional(),email:a.string().email().optional(),address:hf.optional(),otherIdentifier:Xs.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())),ru=a.object({id:a.string().optional()}).catchall(a.any()),Fr=a.object({type:a.string(),id:a.string()}).catchall(a.any()),Ts=a.object({id:a.string(),type:a.string()}).catchall(a.any()),Zs=a.object({id:a.string().optional(),type:a.string()}).catchall(a.any()),Rs=a.object({type:a.string(),id:a.string().optional()}).catchall(a.any()),Vs=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()),Y=a.object({"@context":Mr,id:a.string().optional(),type:a.string().array().nonempty(),issuer:Ct,credentialSubject:ru.or(ru.array()),refreshService:Zs.or(Zs.array()).optional(),credentialSchema:Ts.or(Ts.array()).optional(),issuanceDate:a.string().optional(),expirationDate:a.string().optional(),credentialStatus:Fr.or(Fr.array()).optional(),name:a.string().optional(),description:a.string().optional(),validFrom:a.string().optional(),validUntil:a.string().optional(),status:Fr.or(Fr.array()).optional(),termsOfUse:Rs.or(Rs.array()).optional(),evidence:a.union([Vs,a.array(Vs)]).optional()}).catchall(a.any()),te=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()),ue=Y.extend({proof:te.or(te.array())}),bf=a.object({"@context":Mr,id:a.string().optional(),type:a.string().or(a.string().array().nonempty()),verifiableCredential:ue.or(ue.array()).optional(),holder:a.string().optional()}).catchall(a.any()),Ut=bf.extend({proof:te.or(te.array())}),ou=a.object({kty:a.string(),crv:a.string(),x:a.string(),y:a.string().optional(),n:a.string().optional(),d:a.string().optional()}),Lb=ou.omit({d:!0}).extend({d:a.string()}),$f=a.object({alg:a.string(),iv:a.string(),tag:a.string(),epk:ou.partial().optional(),kid:a.string().optional(),apv:a.string().optional(),apu:a.string().optional()}),_f=a.object({header:$f,encrypted_key:a.string()}),au=a.object({protected:a.string(),iv:a.string(),ciphertext:a.string(),tag:a.string(),aad:a.string().optional(),recipients:_f.array().optional()}),ke=a.string().or(a.object({"@context":Mr.optional(),id:a.string(),type:a.string(),controller:a.string(),publicKeyJwk:ou.optional(),publicKeyBase58:a.string().optional(),publicKeyMultibase:a.string().optional(),blockChainAccountId:a.string().optional()}).catchall(a.any())),kf=a.object({id:a.string(),type:a.string().or(a.string().array().nonempty()),serviceEndpoint:a.any().or(a.any().array().nonempty())}).catchall(a.any()),Fb=a.object({"@context":Mr,id:a.string(),alsoKnownAs:a.string().optional(),controller:a.string().or(a.string().array().nonempty()).optional(),verificationMethod:ke.array().optional(),authentication:ke.array().optional(),assertionMethod:ke.array().optional(),keyAgreement:ke.array().optional(),capabilityInvocation:ke.array().optional(),capabilityDelegation:ke.array().optional(),publicKey:ke.array().optional(),service:kf.array().optional(),proof:te.or(te.array()).optional()}).catchall(a.any()),xf=a.enum(["ceasn:Competency","ceterms:Credential","CFItem","CFRubric","CFRubricCriterion","CFRubricCriterionLevel","CTDL"]).or(a.string()),Jr=a.object({type:a.string().array().nonempty(),targetCode:a.string().optional(),targetDescription:a.string().optional(),targetName:a.string(),targetFramework:a.string().optional(),targetType:xf.optional(),targetUrl:a.string()}),wf=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"]),If=wf.or(a.string()),Sf=a.object({id:a.string().optional(),narrative:a.string().optional()}).catchall(a.any()),zf=a.object({id:a.string(),type:a.string().array().nonempty(),endorsementComment:a.string().optional()}),jf=Y.extend({credentialSubject:zf,proof:te.or(te.array()).optional()}),Pf=a.object({id:a.string(),"@language":a.string().optional(),version:a.string().optional()}),Cf=a.enum(["GradePointAverage","LetterGrade","Percent","PerformanceLevel","PredictedScore","RawScore","Result","RubricCriterion","RubricCriterionLevel","RubricScore","ScaledScore","Status"]).or(a.string()),Nf=a.object({id:a.string(),type:a.string().array().nonempty(),alignment:Jr.array().optional(),description:a.string().optional(),level:a.string().optional(),name:a.string(),points:a.string().optional()}).catchall(a.any()),Uf=a.object({id:a.string(),type:a.string().array().nonempty(),alignment:Jr.array().optional(),allowedValue:a.string().array().optional(),name:a.string(),requiredLevel:a.string().optional(),requiredValue:a.string().optional(),resultType:Cf,rubricCriterionLevel:Nf.array().optional(),valueMax:a.string().optional(),valueMin:a.string().optional()}).catchall(a.any()),Mb=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()),Of=a.object({id:a.string().optional(),type:a.array(a.string()).nonempty(),alignment:Jr.array().optional(),achievementType:If.optional(),creator:Ct.optional(),creditsAvailable:a.number().optional(),criteria:Sf,description:a.string(),endorsement:jf.array().optional(),fieldOfStudy:a.string().optional(),humanCode:a.string().optional(),image:qr.optional(),"@language":a.string().optional(),name:a.string(),otherIdentifier:Xs.array().optional(),related:Pf.array().optional(),resultDescription:Uf.array().optional(),specialization:a.string().optional(),tag:a.array(a.string()).optional(),version:a.string().optional()}).catchall(a.any()),Df=a.object({type:a.string(),hashed:a.boolean(),identityHash:a.string(),identityType:a.string(),salt:a.string().optional()}),Ef=a.enum(["Completed","Enrolled","Failed","InProgress","OnHold","Withdrew"]),Af=a.object({type:a.string().array().nonempty(),achievedLevel:a.string().optional(),alignment:Jr.array().optional(),resultDescription:a.string().optional(),status:Ef.optional(),value:a.string().optional()}).catchall(a.any()),Ls=a.object({id:a.string().optional(),type:a.string().array().nonempty(),activityEndDate:a.string().optional(),activityStartDate:a.string().optional(),creditsEarned:a.number().optional(),achievement:Of.optional(),identifier:Df.array().optional(),image:qr.optional(),licenseNumber:a.string().optional(),narrative:a.string().optional(),result:Af.array().optional(),role:a.string().optional(),source:Ct.optional(),term:a.string().optional()}).catchall(a.any()),Tf=Y.extend({name:a.string().optional(),description:a.string().optional(),image:qr.optional(),credentialSubject:Ls.or(Ls.array()),endorsement:Y.array().optional()}),qb=Tf.extend({proof:te.or(te.array())}),Wb=a.object({checks:a.string().array(),warnings:a.string().array(),errors:a.string().array()}),Hs=a.enum(["Success","Failed","Error"]),Gb=Hs.enum,Kb=a.object({check:a.string(),status:Hs,message:a.string().optional(),details:a.string().optional()}),Xb=a.object({title:a.string().optional(),createdAt:a.string().optional(),issuer:Ct.optional(),issuee:Ct.optional(),credentialSubject:ru.optional()}),Hb=a.object({id:a.string(),uri:a.string()}).catchall(a.any()),e$=a.object({limit:a.number(),cursor:a.string().optional(),sort:a.string().optional()}),T=a.object({cursor:a.string().optional(),hasMore:a.boolean()}),Qs=a.object({encryptedRecord:au,fields:a.string().array()}).catchall(a.any()),t$=T.extend({records:Qs.array()}),Zf=Qs.extend({id:a.string()}),r$=T.extend({records:Zf.array()}),Fs=Ks(t=>{let r=t.match(/^\/(.*)\/([gimsuy]*)$/);if(!r)throw new Error("Invalid RegExp string format");return{pattern:r[1],flags:r[2]}},"parseRegexString"),Rf=a.string().refine(t=>{try{return Fs(t),!0}catch{return!1}},{message:"Invalid RegExp string format. Must be in format '/pattern/flags'"}).transform(t=>{let{pattern:r,flags:o}=Fs(t);try{return new RegExp(r,o)}catch(i){throw new Error(`Invalid RegExp: ${i.message}`)}}).meta({override:{type:"string"}}),Vf=a.instanceof(RegExp).meta({override:{type:"string"}}).or(Rf).meta({override:{type:"string"}}),Bs=a.string().or(a.object({$in:a.string().array()})).or(a.object({$regex:Vf.meta({override:{type:"string"}})})),j=a.union([Bs,a.object({$or:Bs.array()})]),Lf=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:Lf.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.")}),o$=a.object({profileId:j,displayName:j,shortBio:j,bio:j,email:j,websiteLink:j,isServiceProfile:a.boolean(),type:j}).partial(),a$=T.extend({records:re.array()}),c$=a.enum(["CONNECTED","PENDING_REQUEST_SENT","PENDING_REQUEST_RECEIVED","NOT_CONNECTED"]),Ys=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()}),u$=T.extend({records:Ys.extend({did:a.string()}).array()}),s$=a.object({id:j,displayName:j,shortBio:j,bio:j,email:j}).partial(),l$=T.extend({records:a.object({profile:re,manager:Ys.extend({did:a.string()}).optional()}).array()}),d$=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()}),Br=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()}),Ff=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(),tu=a.enum(["GRANT_PERMISSIONS","ADD_ADMIN","AUTO_CONNECT"]),Bf=a.discriminatedUnion("type",[a.object({type:a.literal(tu.enum.GRANT_PERMISSIONS),data:a.object({claimUri:a.string(),targetUri:a.string(),permissions:Br.partial()})}),a.object({type:a.literal(tu.enum.ADD_ADMIN),data:a.object({claimUri:a.string(),targetUri:a.string()})}),a.object({type:a.literal(tu.enum.AUTO_CONNECT),data:a.object({claimUri:a.string(),targetUri:a.string()})})]),m$=a.object({type:j,data:a.object({claimUri:j,targetUri:j,permissions:Ff.partial()}).partial()}),Mf=a.object({id:a.string(),createdAt:a.string(),updatedAt:a.string()}).and(Bf),p$=T.extend({records:Mf.array()}),nu=a.enum(["DRAFT","PROVISIONAL","LIVE"]),el=a.object({uri:a.string(),name:a.string().optional(),type:a.string().optional(),category:a.string().optional(),status:nu.optional(),autoConnectRecipients:a.boolean().optional(),meta:a.record(a.string(),a.any()).optional(),claimPermissions:Br.optional(),defaultPermissions:Br.optional(),allowAnyoneToCreateChildren:a.boolean().optional()}),Ms=a.object({uri:j,name:j,type:j,category:j,meta:a.record(a.string(),j),status:nu.or(a.object({$in:nu.array()})),autoConnectRecipients:a.boolean()}).partial(),f$=a.union([a.object({$or:Ms.array()}),Ms]),g$=T.extend({records:el.array()}),qf=a.object({to:re,from:a.string(),received:a.string().optional(),uri:a.string().optional()}),v$=T.extend({records:qf.array()}),Jf=a.object({to:re,from:a.string(),received:a.string().optional(),boostUris:a.array(a.string()),credentialUris:a.array(a.string()).optional()}),h$=T.extend({records:Jf.array()}),y$=a.object({endpoint:a.string(),name:a.string(),did:a.string().optional()}),b$=a.object({ttlSeconds:a.number().optional(),totalUses:a.number().optional()}),Wf=a.object({endpoint:a.string()}),$$=a.object({signingAuthority:Wf,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()})}),_$=a.object({boostUri:a.string(),signingAuthority:a.object({endpoint:a.string(),name:a.string()})}),Gf=el.partial().omit({uri:!0,claimPermissions:!0}).extend({credential:ue.or(Y),claimPermissions:Br.partial().optional(),skills:a.array(a.object({frameworkId:a.string(),id:a.string(),proficiencyLevel:a.number().optional()})).min(1).optional()}),Kf=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")}),Xf=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:Kf.optional().describe("Branding for email/SMS delivery")}),Hf=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:Gf.optional(),signedCredential:ue.optional(),options:Xf.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(t=>t.templateUri||t.template,{message:"Either templateUri or template creation data must be provided.",path:["templateUri"]}),Qf=a.object({issuanceId:a.string(),status:a.enum(["PENDING","ISSUED","EXPIRED","DELIVERED","CLAIMED"]),claimUrl:a.string().url().optional().describe("Present when suppressDelivery=true")}),Yf=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:Qf.optional().describe("Present when sent via email/phone (Universal Inbox)")}),k$=a.discriminatedUnion("type",[Hf]),x$=a.discriminatedUnion("type",[Yf]),eg=a.enum(["live","stale","withdrawn"]),cu=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:{}})}),tl=a.object({contract:cu,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()}),w$=T.extend({records:tl.omit({owner:!0}).array()}),tg=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()}),I$=T.extend({records:tg.array()}),rg=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()}),S$=T.extend({records:rg.array()}),rl=a.object({sharing:a.boolean().optional(),shared:a.string().array().optional(),shareAll:a.boolean().optional(),shareUntil:a.string().optional()}),Wr=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(),rl).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()}),z$=T.extend({records:a.object({expiresAt:a.string().optional(),oneTime:a.boolean().optional(),terms:Wr,contract:tl,uri:a.string(),consenter:re,status:eg}).array()}),j$=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()}),P$=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()}),C$=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()}),ng=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(),rl.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()}),iu=a.enum(["consent","update","sync","withdraw","write"]),N$=a.object({terms:ng.optional(),action:iu.or(iu.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()}),nl=a.object({expiresAt:a.string().optional(),oneTime:a.boolean().optional(),terms:Wr.optional(),id:a.string(),action:iu,date:a.string(),uris:a.string().array().optional()}),U$=T.extend({records:nl.array()}),qs=a.object({id:j,name:j,description:j,sourceURI:j,status:j}).partial(),O$=a.union([a.object({$or:qs.array()}),qs]),ig=a.object({credentialUri:a.string(),termsUri:a.string(),contractUri:a.string(),boostUri:a.string(),category:a.string().optional(),date:a.string()}),D$=T.extend({records:ig.array()}),og=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"]),ag=a.object({title:a.string().optional(),body:a.string().optional()}),cg=a.object({type:a.string(),value:a.string()}),Gr=a.enum(["PENDING","ISSUED","EXPIRED","DELIVERED","CLAIMED"]),ug=a.object({issuanceId:a.string(),status:Gr,recipient:a.object({contactMethod:cg.optional(),learnCardId:a.string().optional()}),timestamp:a.iso.datetime().optional()}),sg=a.object({vcUris:a.array(a.string()).optional(),vpUris:a.array(a.string()).optional(),transaction:nl.optional(),inbox:ug.optional(),metadata:a.record(a.string(),a.unknown()).optional()}).loose(),E$=a.object({type:og,to:re.partial().and(a.object({did:a.string()})),from:re.partial().and(a.object({did:a.string()})),message:ag.optional(),data:sg.optional(),sent:a.iso.datetime().optional(),webhookUrl:a.string().optional()}),lg="auth-grant:",A$=a.object({id:a.string(),name:a.string(),description:a.string().optional(),challenge:a.string().startsWith(lg).min(10,{message:"Challenge is too short"}).max(100,{message:"Challenge is too long"}),status:a.enum(["revoked","active"],{error:Ks(t=>t.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()}),T$=a.object({id:a.string()}).catchall(a.any()),dg=a.enum(["active","revoked"]),Z$=a.object({id:j,name:j,description:j,status:dg}).partial(),Js=a.object({id:a.string(),isVerified:a.boolean(),verifiedAt:a.string().optional(),isPrimary:a.boolean(),createdAt:a.string()}),R$=a.discriminatedUnion("type",[a.object({type:a.literal("email"),value:a.string().email()}).merge(Js),a.object({type:a.literal("phone"),value:a.string()}).merge(Js)]),Ws=a.object({isVerified:a.boolean().optional(),isPrimary:a.boolean().optional()}),V$=a.discriminatedUnion("type",[a.object({type:a.literal("email"),value:a.string().email()}).merge(Ws),a.object({type:a.literal("phone"),value:a.string()}).merge(Ws)]),il=a.discriminatedUnion("type",[a.object({type:a.literal("email"),value:a.string().email()}),a.object({type:a.literal("phone"),value:a.string()})]),mg=a.object({value:a.string(),type:a.enum(["email","phone"])}),L$=a.object({token:a.string()}),F$=a.object({contactMethodId:a.string()}),B$=a.object({contactMethod:mg,otpChallenge:a.string()}),M$=a.object({sessionJwt:a.string()}),pg=a.object({id:a.string(),credential:a.string(),isSigned:a.boolean(),currentStatus:Gr,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(),signingAuthority:a.object({endpoint:a.string().optional(),name:a.string().optional()}).optional()}),q$=a.object({hasMore:a.boolean(),records:a.array(pg),cursor:a.string().optional()}),J$=a.object({currentStatus:Gr,id:a.string(),isSigned:a.boolean(),isAccepted:a.boolean().optional(),issuerDid:a.string(),boostUri:a.string()}).partial(),fg=a.object({endpoint:a.string().url(),name:a.string()}),W$=a.object({recipient:il.describe("The recipient of the credential"),credential:ue.or(Ut).or(Y).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:fg.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(t=>t.credential||t.templateUri,{message:"Either credential or templateUri must be provided.",path:["credential"]}),G$=a.object({issuanceId:a.string(),status:Gr,recipient:il,claimUrl:a.string().url().optional(),recipientDid:a.string().optional()}),K$=a.object({credential:ue.or(Ut).or(Y).describe("The credential to issue."),configuration:a.object({publishableKey:a.string(),signingAuthorityName:a.string().optional(),listingId:a.string().optional(),listingSlug:a.string().optional()}).optional()}),uu=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"})]),ol=a.enum(["setup","active","paused"]),gg=a.object({id:a.string(),name:a.string(),description:a.string().optional(),publishableKey:a.string(),whitelistedDomains:a.array(uu).default([]),status:ol.default("setup"),guideType:a.string().optional(),guideState:a.record(a.string(),a.any()).optional(),createdAt:a.string().optional(),updatedAt:a.string().optional()}),X$=a.object({name:a.string(),description:a.string().optional(),whitelistedDomains:a.array(uu).default([]),guideType:a.string().optional()}),H$=a.object({name:a.string().optional(),description:a.string().optional(),whitelistedDomains:a.array(uu).optional(),rotatePublishableKey:a.boolean().optional(),status:ol.optional(),guideType:a.string().optional(),guideState:a.record(a.string(),a.any()).optional()}),Q$=a.object({id:j,name:j,description:j,status:j,guideType:j}).partial(),Y$=T.extend({records:gg.array()}),e_=a.object({token:a.string(),contactMethodId:a.string(),autoVerifyContactMethod:a.boolean().optional().default(!1),createdAt:a.string(),expiresAt:a.string(),used:a.boolean()}),t_=a.object({id:a.string(),name:a.string().min(1),slug:a.string().min(1),createdAt:a.string().optional(),updatedAt:a.string().optional()}),Nt=a.enum(["active","archived"]),su=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:Nt.default("active"),frameworkId:a.string().optional(),createdAt:a.string().optional(),updatedAt:a.string().optional()}),Gs=a.object({id:j,statement:j,description:j,code:j,type:j,status:Nt.or(a.object({$in:Nt.array()}))}).partial(),r_=a.union([a.object({$or:Gs.array()}),Gs]),n_=a.object({text:a.string().min(1),frameworkId:a.string().optional(),limit:a.number().int().min(1).max(200).default(50)}),vg=su.extend({score:a.number()}),i_=a.object({records:vg.array()}),lu=a.enum(["active","archived"]),al=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:lu.default("active"),createdAt:a.string().optional(),updatedAt:a.string().optional()}),o_=T.extend({records:al.array()}),du=su.extend({children:a.array(a.lazy(()=>du)),hasChildren:a.boolean(),childrenCursor:a.string().nullable().optional()}),hg=a.object({hasMore:a.boolean(),cursor:a.string().nullable(),records:a.array(du)}),Ze=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:Nt.optional(),children:a.array(Ze).optional()})),a_=a.object({frameworkId:a.string()}),yg=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:lu.optional(),skills:a.array(Ze).optional(),boostUris:a.array(a.string()).optional()}),c_=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:lu.optional()}).refine(t=>t.name!==void 0||t.description!==void 0||t.image!==void 0||t.sourceURI!==void 0||t.isPublic!==void 0||t.status!==void 0,{message:"At least one field must be provided to update",path:["name"]}),u_=a.object({id:a.string()}),s_=a.object({frameworks:a.array(yg.extend({skills:a.array(Ze).optional()})).min(1)}),l_=a.object({frameworkId:a.string(),profileId:a.string()}),d_=a.object({frameworkId:a.string()}),m_=re.array(),p_=a.object({id:a.string()}),f_=a.object({slug:a.string().min(1),name:a.string().min(1)}),g_=a.object({frameworkId:a.string(),skill:Ze,parentId:a.string().nullable().optional()}),v_=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:Nt.optional()}).refine(t=>t.statement!==void 0||t.description!==void 0||t.code!==void 0||t.icon!==void 0||t.type!==void 0||t.status!==void 0,{message:"At least one field must be provided to update a skill",path:["statement"]}),bg=a.enum(["recursive","reparent"]),h_=a.object({frameworkId:a.string(),id:a.string(),strategy:bg.optional().default("reparent")}),y_=a.object({frameworkId:a.string(),skills:a.array(Ze).min(1),parentId:a.string().nullable().optional()}),b_=a.object({frameworkId:a.string(),skills:a.array(Ze).min(0)}),$_=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)}),__=a.object({frameworkId:a.string(),skillId:a.string().optional(),recursive:a.boolean().optional().default(!1),onlyCountCompetencies:a.boolean().optional().default(!1)}),k_=a.object({count:a.number().int().min(0)}),x_=a.object({frameworkId:a.string()}),w_=a.object({skills:a.array(du)}),I_=a.object({frameworkId:a.string(),skillId:a.string()}),S_=a.object({path:a.array(su)}),z_=a.object({framework:al,skills:hg}),$g=a.enum(["DRAFT","PENDING_REVIEW","LISTED","ARCHIVED"]),_g=a.enum(["EMBEDDED_IFRAME","SECOND_SCREEN","DIRECT_LINK","CONSENT_REDIRECT","SERVER_HEADLESS","AI_TUTOR"]),kg=a.enum(["FEATURED_CAROUSEL","CURATED_LIST","STANDARD","DEMOTED"]),xg=a.enum(["4+","9+","12+","17+"]),Kr=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:$g,launch_type:_g,launch_config_json:a.string(),category:a.string().optional(),promo_video_url:a.string().optional(),promotion_level:kg.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:xg.optional()}),j_=Kr.omit({listing_id:!0,app_listing_status:!0,promotion_level:!0}),P_=Kr.partial().omit({listing_id:!0,app_listing_status:!0,promotion_level:!0}),wg=Kr.extend({installed_at:a.string()}),C_=T.extend({records:Kr.array()}),N_=T.extend({records:wg.array()}),U_=a.object({templateAlias:a.string().min(1).max(50).regex(/^[a-z0-9-]+$/),boostUri:a.string()}),Ig=a.object({type:a.literal("send-credential"),templateAlias:a.string(),templateData:a.record(a.string(),a.unknown()).optional()}),Sg=a.discriminatedUnion("type",[Ig]),O_=a.object({listingId:a.string(),event:Sg}),D_=a.record(a.string(),a.unknown()),zg=a.enum(["CREATED","DELIVERED","CLAIMED","EXPIRED","FAILED"]),jg=a.enum(["profile","email","phone"]),Pg=a.enum(["send","sendBoost","sendCredential","contract","claim","inbox","claimLink","acceptCredential","appEvent"]),Cg=a.object({id:a.string(),activityId:a.string(),eventType:zg,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:Pg,metadata:a.record(a.string(),a.unknown()).optional()}),Ng=Cg.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()}),E_=T.extend({records:Ng.array()}),A_=a.object({total:a.number(),created:a.number(),delivered:a.number(),claimed:a.number(),expired:a.number(),failed:a.number(),claimRate:a.number()});var fu=require("@learncard/helpers");var Ug=Object.prototype.toString,Ve=Array.isArray||c(function(r){return Ug.call(r)==="[object Array]"},"isArrayPolyfill");function pu(t){return typeof t=="function"}c(pu,"isFunction");function Og(t){return Ve(t)?"array":typeof t}c(Og,"typeStr");function mu(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}c(mu,"escapeRegExp");function cl(t,r){return t!=null&&typeof t=="object"&&r in t}c(cl,"hasProperty");function Dg(t,r){return t!=null&&typeof t!="object"&&t.hasOwnProperty&&t.hasOwnProperty(r)}c(Dg,"primitiveHasOwnProperty");var Eg=RegExp.prototype.test;function Ag(t,r){return Eg.call(t,r)}c(Ag,"testRegExp");var Tg=/\S/;function Zg(t){return!Ag(Tg,t)}c(Zg,"isWhitespace");var Rg={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function Vg(t){return String(t).replace(/[&<>"'`=\/]/g,c(function(o){return Rg[o]},"fromEntityMap"))}c(Vg,"escapeHtml");var Lg=/\s*/,Fg=/\s+/,ul=/\s*=/,Bg=/\s*\}/,Mg=/#|\^|\/|>|\{|&|=|!/;function qg(t,r){if(!t)return[];var o=!1,i=[],e=[],n=[],u=!1,d=!1,p="",l=0;function s(){if(u&&!d)for(;n.length;)delete e[n.pop()];else n=[];u=!1,d=!1}c(s,"stripSpace");var m,f,h;function g(ne){if(typeof ne=="string"&&(ne=ne.split(Fg,2)),!Ve(ne)||ne.length!==2)throw new Error("Invalid tags: "+ne);m=new RegExp(mu(ne[0])+"\\s*"),f=new RegExp("\\s*"+mu(ne[1])),h=new RegExp("\\s*"+mu("}"+ne[1]))}c(g,"compileTags"),g(r||H.tags);for(var b=new Dt(t),x,I,S,P,w,E;!b.eos();){if(x=b.pos,S=b.scanUntil(m),S)for(var Z=0,Hr=S.length;Z<Hr;++Z)P=S.charAt(Z),Zg(P)?(n.push(e.length),p+=P):(d=!0,o=!0,p+=" "),e.push(["text",P,x,x+1]),x+=1,P===`
|
|
24
|
-
`&&(
|
|
25
|
-
`),u=0;u<
|
|
26
|
-
`)},"indentPartial");F.prototype.renderPartial=c(function(r,o,i,e){if(i){var n=this.getConfigTags(e),u=pu(i)?i(r[1]):i[r[1]];if(u!=null){var d=r[6],p=r[5],l=r[4],s=u;p==0&&l&&(s=this.indentPartial(u,l,d));var m=this.parse(s,n);return this.renderTokens(m,o,i,s,e)}}},"renderPartial");F.prototype.unescapedValue=c(function(r,o){var i=o.lookup(r[1]);if(i!=null)return i},"unescapedValue");F.prototype.escapedValue=c(function(r,o,i){var e=this.getConfigEscape(i)||H.escape,n=o.lookup(r[1]);if(n!=null)return typeof n=="number"&&e===H.escape?String(n):e(n)},"escapedValue");F.prototype.rawValue=c(function(r){return r[1]},"rawValue");F.prototype.getConfigTags=c(function(r){return Ve(r)?r:r&&typeof r=="object"?r.tags:void 0},"getConfigTags");F.prototype.getConfigEscape=c(function(r){if(r&&typeof r=="object"&&!Ve(r))return r.escape},"getConfigEscape");var H={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(t){Ot.templateCache=t},get templateCache(){return Ot.templateCache}},Ot=new F;H.clearCache=c(function(){return Ot.clearCache()},"clearCache");H.parse=c(function(r,o){return Ot.parse(r,o)},"parse");H.render=c(function(r,o,i,e){if(typeof r!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+Og(r)+'" was given as the first argument for mustache#render(template, view, partials)');return Ot.render(r,o,i,e)},"render");H.escape=Vg;H.Scanner=Dt;H.Context=Re;H.Writer=F;var sl=H;var Gg=c(t=>t==null?"":String(t).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"),Kg=c(t=>{let r={};for(let[o,i]of Object.entries(t))r[o]=Gg(i);return r},"prepareTemplateData"),ll=c((t,r)=>{let o=Kg(r),i=t.replace(/\{\{([^{}]+)\}\}/g,"{{{$1}}}");return sl.render(i,o)},"renderTemplateJson");async function Xg(t,r,o){let i="";try{let l=t?.id;l&&typeof l.did=="function"&&(i=l.did())}catch{t?.debug?.("LCN: no local DID available at init; will fetch from profile")}t?.debug?.("Adding LearnCardNetwork Plugin");let e=o?await(0,Xr.getApiTokenClient)(r,o):await(0,Xr.getClient)(r,async l=>{let s=await t.invoke.getDidAuthVp({proofFormat:"jwt",challenge:l});if(typeof s!="string")throw new Error("Error getting DID-Auth-JWT!");return s}),n;t?.debug?.("LCN: initial getProfile query starting",{apiToken:!!o});let u=e.profile.getProfile.query().then(l=>(n=l,n?.did&&(i=n.did),t?.debug?.("LCN: initial getProfile success",{did:i}),l)).catch(l=>{t?.debug?.("LCN: getProfile failed (non-fatal)",l)}),d=c(async()=>{try{await u}catch{}if(!n&&o)try{t?.debug?.("LCN ensureUser: retrying getProfile with apiToken"),n=await e.profile.getProfile.query(),n?.did&&(i=n.did),t?.debug?.("LCN ensureUser: retry success",{did:i})}catch(l){t?.debug?.("LCN ensureUser: retry failed",l)}if(!n)throw new Error("Please make an account first!");return n},"ensureUser"),p=c(async(l,s)=>{try{return(await e.boost.getBoost.query({uri:s})).boost}catch(m){return t?.debug?.("LCN: getBoost failed for template retrieval, falling back to resolveFromLCN",m),l.invoke.resolveFromLCN(s)}},"getBoostTemplateForIssuance");return{name:"LearnCard Network",displayName:"LearnCard Network",description:"LearnCard Network Integration",id:{did:c((l,s)=>!s||s==="web"?i:t.id?.did?.(s),"did"),keypair:c((l,s)=>t.id?.keypair?.(s),"keypair")},read:{get:c(async(l,s)=>{if(l.debug?.("learnCard.read['LearnCard Network'].get"),!s)return;let m=s.split(":");if(m.length!==5)return;let[f,h]=m;if(!(f!=="lc"||h!=="network"))try{let g=await e.storage.resolve.query({uri:s});if("ciphertext"in g)try{let b=l.id.keypair();g=await l.invoke.decryptDagJwe(g,[b])}catch(b){l.debug?.("LCN read.get: skipping decryption (no keypair?)",b);return}return await ue.or(Ut).parseAsync(g)}catch(g){l.debug?.(g);return}},"get")},store:{upload:c(async(l,s)=>(l.debug?.("learnCard.store['LearnCard Network'].upload"),e.storage.store.mutate({item:s})),"upload"),uploadEncrypted:c(async(l,s,{recipients:m=[]}={recipients:[]})=>{l.debug?.("learnCard.store['LearnCard Network'].upload"),await d();let h=[i||n?.did||"",...m].filter(Boolean);if(h.length===0)throw new Error("No recipients specified for encrypted upload; provide at least one DID");let g=await l.invoke.createDagJwe(s,h);return e.storage.store.mutate({item:g})},"uploadEncrypted")},methods:{createProfile:c(async(l,s)=>{try{await d()}catch{}if(n)throw new Error("Account already exists!");let m=await e.profile.createProfile.mutate(s);return n=await e.profile.getProfile.query(),i=m,m},"createProfile"),createServiceProfile:c(async(l,s)=>{try{await d()}catch{}let m=await e.profile.createServiceProfile.mutate(s);return n=await e.profile.getProfile.query(),i=m,m},"createServiceProfile"),createManagedProfile:c(async(l,s)=>await e.profileManager.createManagedProfile.mutate(s),"createManagedProfile"),createProfileManager:c(async(l,s)=>(await d(),await e.profileManager.createProfileManager.mutate(s)),"createProfileManager"),createChildProfileManager:c(async(l,s,m)=>(await d(),await e.profileManager.createChildProfileManager.mutate({parentUri:s,profile:m})),"createChildProfileManager"),createManagedServiceProfile:c(async(l,s)=>(await d(),await e.profile.createManagedServiceProfile.mutate(s)),"createManagedServiceProfile"),getAvailableProfiles:c(async(l,s={})=>(await d(),e.profile.getAvailableProfiles.query(s)),"getAvailableProfiles"),getManagedProfiles:c(async(l,s={})=>e.profileManager.getManagedProfiles.query(s),"getManagedProfiles"),getManagedServiceProfiles:c(async(l,s={})=>(await d(),e.profile.getManagedServiceProfiles.query(s)),"getManagedServiceProfiles"),updateProfile:c(async(l,s)=>(await d(),await e.profile.updateProfile.mutate(s)?(n=await e.profile.getProfile.query(),!0):!1),"updateProfile"),updateProfileManagerProfile:c(async(l,s)=>e.profileManager.updateProfileManager.mutate(s),"updateProfileManagerProfile"),deleteProfile:c(async()=>{if(!n)throw new Error("Account does not exist!");return await e.profile.deleteProfile.mutate()?(n=void 0,!0):!1},"deleteProfile"),getProfile:c(async(l,s)=>{try{await d()}catch{}return s?e.profile.getOtherProfile.query({profileId:s}):n},"getProfile"),getProfileManagerProfile:c(async(l,s)=>s?e.profileManager.getOtherProfileManager.query({id:s}):e.profileManager.getProfileManager.query(),"getProfileManagerProfile"),searchProfiles:c(async(l,s="",{limit:m=25,includeSelf:f=!1,includeConnectionStatus:h=!1,includeServiceProfiles:g=!1}={})=>e.profile.searchProfiles.query({input:s,limit:m,includeSelf:f,includeConnectionStatus:h,includeServiceProfiles:g}),"searchProfiles"),connectWith:c(async(l,s)=>(await d(),e.profile.connectWith.mutate({profileId:s})),"connectWith"),connectWithExpiredInvite:c(async(l,s)=>(await d(),e.profile.connectWithExpiredInvite.mutate({profileId:s})),"connectWithExpiredInvite"),cancelConnectionRequest:c(async(l,s)=>(await d(),e.profile.cancelConnectionRequest.mutate({profileId:s})),"cancelConnectionRequest"),connectWithInvite:c(async(l,s,m)=>(await d(),e.profile.connectWithInvite.mutate({profileId:s,challenge:m})),"connectWithInvite"),disconnectWith:c(async(l,s)=>(await d(),e.profile.disconnectWith.mutate({profileId:s})),"disconnectWith"),acceptConnectionRequest:c(async(l,s)=>(await d(),e.profile.acceptConnectionRequest.mutate({profileId:s})),"acceptConnectionRequest"),getConnections:c(async l=>(console.warn("The getConnections method is deprecated! Please use getPaginatedConnections instead!"),await d(),e.profile.connections.query()),"getConnections"),getPaginatedConnections:c(async(l,s)=>(await d(),e.profile.paginatedConnections.query(s)),"getPaginatedConnections"),getPendingConnections:c(async l=>(console.warn("The getPendingConnections method is deprecated! Please use getPaginatedPendingConnections instead!"),await d(),e.profile.pendingConnections.query()),"getPendingConnections"),getPaginatedPendingConnections:c(async(l,s)=>(await d(),e.profile.paginatedPendingConnections.query(s)),"getPaginatedPendingConnections"),getConnectionRequests:c(async l=>(console.warn("The getConnectionRequests method is deprecated! Please use getPaginatedConnectionRequests instead!"),await d(),e.profile.connectionRequests.query()),"getConnectionRequests"),getPaginatedConnectionRequests:c(async(l,s)=>(await d(),e.profile.paginatedConnectionRequests.query(s)),"getPaginatedConnectionRequests"),generateInvite:c(async(l,s,m,f)=>(await d(),e.profile.generateInvite.mutate({challenge:s,expiration:m,maxUses:f})),"generateInvite"),listInvites:c(async()=>(await d(),e.profile.listInvites.query()),"listInvites"),invalidateInvite:c(async(l,s)=>(await d(),e.profile.invalidateInvite.mutate({challenge:s})),"invalidateInvite"),blockProfile:c(async(l,s)=>(await d(),e.profile.blockProfile.mutate({profileId:s})),"blockProfile"),unblockProfile:c(async(l,s)=>(await d(),e.profile.unblockProfile.mutate({profileId:s})),"unblockProfile"),getBlockedProfiles:c(async()=>(await d(),e.profile.blocked.query()),"getBlockedProfiles"),sendCredential:c(async(l,s,m,f,h)=>{await d();let g,b=!0;if(typeof f=="boolean"?b=f:(f!==void 0&&(g=f),b=h??!0),!b)return e.credential.sendCredential.mutate({profileId:s,credential:m,metadata:g});let x=await l.invoke.getProfile(s);if(!x)throw new Error("Could not find target account");let I=await l.invoke.createDagJwe(m,[l.id.did(),x.did]);return e.credential.sendCredential.mutate({profileId:s,credential:I,metadata:g})},"sendCredential"),acceptCredential:c(async(l,s,m)=>(await d(),e.credential.acceptCredential.mutate({uri:s,options:m})),"acceptCredential"),getReceivedCredentials:c(async(l,s)=>(await d(),e.credential.receivedCredentials.query({from:s})),"getReceivedCredentials"),getRevokedCredentials:c(async()=>(await d(),e.credential.getRevokedCredentials.query()),"getRevokedCredentials"),getSentCredentials:c(async(l,s)=>(await d(),e.credential.sentCredentials.query({to:s})),"getSentCredentials"),getIncomingCredentials:c(async(l,s)=>(await d(),e.credential.incomingCredentials.query({from:s})),"getIncomingCredentials"),deleteCredential:c(async(l,s)=>(await d(),e.credential.deleteCredential.mutate({uri:s})),"deleteCredential"),sendPresentation:c(async(l,s,m,f=!0)=>{if(await d(),!f)return e.presentation.sendPresentation.mutate({profileId:s,presentation:m});let h=await l.invoke.getProfile(s);if(!h)throw new Error("Could not find target account");let g=await l.invoke.createDagJwe(m,[l.id.did(),h.did]);return e.presentation.sendPresentation.mutate({profileId:s,presentation:g})},"sendPresentation"),acceptPresentation:c(async(l,s)=>(await d(),e.presentation.acceptPresentation.mutate({uri:s})),"acceptPresentation"),getReceivedPresentations:c(async(l,s)=>(await d(),e.presentation.receivedPresentations.query({from:s})),"getReceivedPresentations"),getSentPresentations:c(async(l,s)=>(await d(),e.presentation.sentPresentations.query({to:s})),"getSentPresentations"),getIncomingPresentations:c(async(l,s)=>(await d(),e.presentation.incomingPresentations.query({from:s})),"getIncomingPresentations"),deletePresentation:c(async(l,s)=>(await d(),e.presentation.deletePresentation.mutate({uri:s})),"deletePresentation"),createBoost:c(async(l,s,m)=>{await d();let{skills:f,...h}=m??{},g={credential:s,...h};return Array.isArray(f)&&f.length>0&&(g.skills=f),e.boost.createBoost.mutate(g)},"createBoost"),createChildBoost:c(async(l,s,m,f)=>{await d();let{skills:h,...g}=f||{},b={parentUri:s,boost:{credential:m,...g}};return Array.isArray(h)&&h.length>0&&(b.skills=h),e.boost.createChildBoost.mutate(b)},"createChildBoost"),getBoost:c(async(l,s)=>(await d(),e.boost.getBoost.query({uri:s})),"getBoost"),getBoostSkills:c(async(l,s)=>(await d(),e.boost.getBoostSkills.query({uri:s})),"getBoostSkills"),getBoostFrameworks:c(async(l,s,m={})=>{if(!n)throw new Error("Please make an account first!");let{limit:f,cursor:h,query:g}=m??{};return e.boost.getBoostFrameworks.query({uri:s,limit:f,cursor:h,query:g})},"getBoostFrameworks"),getSkillsAvailableForBoost:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.boost.getSkillsAvailableForBoost.query({uri:s})},"getSkillsAvailableForBoost"),searchSkillsAvailableForBoost:c(async(l,s,m,f={})=>{if(!n)throw new Error("Please make an account first!");return e.boost.searchSkillsAvailableForBoost.query({uri:s,query:m,...f})},"searchSkillsAvailableForBoost"),getBoosts:c(async(l,s)=>(console.warn("The getBoosts method is deprecated! Please use getPaginatedBoosts instead!"),await d(),e.boost.getBoosts.query({query:s})),"getBoosts"),countBoosts:c(async(l,s)=>(await d(),e.boost.countBoosts.query({query:s})),"countBoosts"),getPaginatedBoosts:c(async(l,s)=>(await d(),e.boost.getPaginatedBoosts.query(s)),"getPaginatedBoosts"),getBoostChildren:c(async(l,s,m)=>(await d(),e.boost.getBoostChildren.query({uri:s,...m})),"getBoostChildren"),countBoostChildren:c(async(l,s,m)=>(await d(),e.boost.countBoostChildren.query({uri:s,...m})),"countBoostChildren"),getBoostSiblings:c(async(l,s,m)=>(await d(),e.boost.getBoostSiblings.query({uri:s,...m})),"getBoostSiblings"),countBoostSiblings:c(async(l,s,m)=>(await d(),e.boost.countBoostSiblings.query({uri:s,...m})),"countBoostSiblings"),getFamilialBoosts:c(async(l,s,m)=>(await d(),e.boost.getFamilialBoosts.query({uri:s,...m})),"getFamilialBoosts"),countFamilialBoosts:c(async(l,s,m)=>(await d(),e.boost.countFamilialBoosts.query({uri:s,...m})),"countFamilialBoosts"),getBoostParents:c(async(l,s,m)=>(await d(),e.boost.getBoostParents.query({uri:s,...m})),"getBoostParents"),countBoostParents:c(async(l,s,m)=>(await d(),e.boost.countBoostParents.query({uri:s,...m})),"countBoostParents"),makeBoostParent:c(async(l,s)=>(await d(),e.boost.makeBoostParent.mutate(s)),"makeBoostParent"),removeBoostParent:c(async(l,s)=>(await d(),e.boost.removeBoostParent.mutate(s)),"removeBoostParent"),getBoostRecipients:c(async(l,s,m=25,f=void 0,h=!0)=>(console.warn("The getBoostRecipients method is deprecated! Please use getPaginatedBoostRecipients instead!"),await d(),e.boost.getBoostRecipients.query({uri:s,limit:m,skip:f,includeUnacceptedBoosts:h})),"getBoostRecipients"),getPaginatedBoostRecipients:c(async(l,s,m=25,f=void 0,h=!0,g)=>(await d(),e.boost.getPaginatedBoostRecipients.query({uri:s,limit:m,cursor:f,includeUnacceptedBoosts:h,query:g})),"getPaginatedBoostRecipients"),getPaginatedBoostRecipientsWithChildren:c(async(l,s,m=25,f=void 0,h=!0,g,b,x=1)=>(await d(),e.boost.getPaginatedBoostRecipientsWithChildren.query({uri:s,limit:m,cursor:f,includeUnacceptedBoosts:h,boostQuery:g,profileQuery:b,numberOfGenerations:x})),"getPaginatedBoostRecipientsWithChildren"),countBoostRecipientsWithChildren:c(async(l,s,m=!0,f,h,g=1)=>{if(!n)throw new Error("Please make an account first!");return e.boost.getBoostRecipientsWithChildrenCount.query({uri:s,includeUnacceptedBoosts:m,boostQuery:f,profileQuery:h,numberOfGenerations:g})},"countBoostRecipientsWithChildren"),countBoostRecipients:c(async(l,s,m=!0)=>(await d(),e.boost.getBoostRecipientCount.query({uri:s,includeUnacceptedBoosts:m})),"countBoostRecipients"),getConnectedBoostRecipients:c(async(l,s,{limit:m=25,cursor:f=void 0,includeUnacceptedBoosts:h=!0,query:g}={})=>(await d(),e.boost.getConnectedBoostRecipients.query({uri:s,limit:m,cursor:f,includeUnacceptedBoosts:h,query:g})),"getConnectedBoostRecipients"),countConnectedBoostRecipients:c(async(l,s,m=!0)=>(await d(),e.boost.getConnectedBoostRecipientCount.query({uri:s,includeUnacceptedBoosts:m})),"countConnectedBoostRecipients"),getBoostChildrenProfileManagers:c(async(l,s,m)=>(await d(),e.boost.getChildrenProfileManagers.query({uri:s,...m})),"getBoostChildrenProfileManagers"),updateBoost:c(async(l,s,m,f)=>{await d();let{skills:h,...g}=m??{},b={uri:s,updates:{...f&&{credential:f},...g}};return Array.isArray(h)&&h.length>0&&(b.skills=h),e.boost.updateBoost.mutate(b)},"updateBoost"),attachFrameworkToBoost:c(async(l,s,m)=>{if(!n)throw new Error("Please make an account first!");return e.boost.attachFrameworkToBoost.mutate({boostUri:s,frameworkId:m})},"attachFrameworkToBoost"),detachFrameworkFromBoost:c(async(l,s,m)=>{if(!n)throw new Error("Please make an account first!");return e.boost.detachFrameworkFromBoost.mutate({boostUri:s,frameworkId:m})},"detachFrameworkFromBoost"),alignBoostSkills:c(async(l,s,m)=>{if(!n)throw new Error("Please make an account first!");return e.boost.alignBoostSkills.mutate({boostUri:s,skills:m})},"alignBoostSkills"),getBoostAdmins:c(async(l,s,m={})=>(await d(),e.boost.getBoostAdmins.query({uri:s,...m})),"getBoostAdmins"),getBoostPermissions:c(async(l,s,m)=>(await d(),m?e.boost.getOtherBoostPermissions.query({uri:s,profileId:m}):e.boost.getBoostPermissions.query({uri:s})),"getBoostPermissions"),updateBoostPermissions:c(async(l,s,m,f)=>{if(await d(),!f)return e.boost.updateBoostPermissions.query({uri:s,updates:m});let h=await e.boost.updateOtherBoostPermissions.query({uri:s,profileId:f,updates:m});return h&&await l.invoke.clearDidWebCache?.(),h},"updateBoostPermissions"),addBoostAdmin:c(async(l,s,m)=>{await d();let f=await e.boost.addBoostAdmin.mutate({uri:s,profileId:m});return f&&await l.invoke.clearDidWebCache?.(),f},"addBoostAdmin"),removeBoostAdmin:c(async(l,s,m)=>{await d();let f=await e.boost.removeBoostAdmin.mutate({uri:s,profileId:m});return f&&await l.invoke.clearDidWebCache?.(),f},"removeBoostAdmin"),revokeBoostRecipient:c(async(l,s,m)=>(await d(),e.boost.revokeBoostRecipient.mutate({boostUri:s,recipientProfileId:m})),"revokeBoostRecipient"),deleteBoost:c(async(l,s)=>(await d(),e.boost.deleteBoost.mutate({uri:s})),"deleteBoost"),sendBoost:c(async(l,s,m,f={encrypt:!0,skipNotification:!1,templateData:{}})=>{await d();let h=await p(l,m),g=await Y.spa(h);if(!g.success)throw new Error("Did not get a valid boost from URI");let b=await l.invoke.getProfile(s);if(!b)throw new Error("Target profile not found");let x=g.data;if((0,fu.isVC2Format)(x)?x.validFrom=new Date().toISOString():x.issuanceDate=new Date().toISOString(),x.issuer=l.id.did(),Array.isArray(x.credentialSubject)?x.credentialSubject=x.credentialSubject.map(w=>({...w,id:b.did})):x.credentialSubject.id=b.did,x?.type?.includes("BoostCredential")&&(x.boostId=m),typeof f=="object"&&f.templateData&&Object.keys(f.templateData).length>0)try{let w=JSON.stringify(x),E=ll(w,f.templateData);x=JSON.parse(E)}catch(w){throw new Error(`Template substitution failed: ${w instanceof Error?w.message:"Unknown error"}. Please check your templateData variables and ensure the rendered output is valid JSON.`)}typeof f=="object"&&f.overideFn&&(x=f.overideFn(x));let I=await l.invoke.issueCredential(x);if(typeof f=="object"&&!f.encrypt||!f)return e.boost.sendBoost.mutate({profileId:s,uri:m,credential:I,options:{skipNotification:typeof f=="object"&&f.skipNotification}});let S=await e.utilities.getDid.query(),P=await l.invoke.createDagJwe(I,[l.id.did(),b.did,S]);return e.boost.sendBoost.mutate({profileId:s,uri:m,credential:P,options:{skipNotification:typeof f=="object"&&f.skipNotification}})},"sendBoost"),registerSigningAuthority:c(async(l,s,m,f)=>(await d(),e.profile.registerSigningAuthority.mutate({endpoint:s,name:m,did:f})),"registerSigningAuthority"),getRegisteredSigningAuthorities:c(async l=>(await d(),e.profile.signingAuthorities.query()),"getRegisteredSigningAuthorities"),getRegisteredSigningAuthority:c(async(l,s,m)=>(await d(),e.profile.signingAuthority.query({endpoint:s,name:m})),"getRegisteredSigningAuthority"),setPrimaryRegisteredSigningAuthority:c(async(l,s,m)=>(await d(),e.profile.setPrimarySigningAuthority.mutate({endpoint:s,name:m})),"setPrimaryRegisteredSigningAuthority"),getPrimaryRegisteredSigningAuthority:c(async l=>(await d(),e.profile.primarySigningAuthority.query()),"getPrimaryRegisteredSigningAuthority"),generateClaimLink:c(async(l,s,m,f,h)=>(await d(),e.boost.generateClaimLink.mutate({boostUri:s,claimLinkSA:m,options:f,challenge:h})),"generateClaimLink"),claimBoostWithLink:c(async(l,s,m)=>(await d(),e.boost.claimBoostWithLink.mutate({boostUri:s,challenge:m})),"claimBoostWithLink"),send:c(async(l,s)=>{if(await d(),s.type==="boost"){let m=s.recipient,f=m.startsWith("did:"),h=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m),g=/^\+?[\d\s-]{10,}$/.test(m.replace(/[\s-]/g,""));if("issueCredential"in l.invoke&&(f||!h&&!g)&&s.templateUri){let I=await p(l,s.templateUri),S=await Y.spa(I);if(S.success){let P;if(f)P=m;else{let Z=await l.invoke.getProfile(m);if(!Z)return e.boost.send.mutate(s);P=Z.did}let w=S.data;if(s.templateData&&Object.keys(s.templateData).length>0)try{let Z=JSON.stringify(w),Hr=ll(Z,s.templateData);w=JSON.parse(Hr)}catch(Z){throw new Error(`Failed to apply template data: ${Z instanceof Error?Z.message:"Unknown error"}`)}(0,fu.isVC2Format)(w)?w.validFrom=new Date().toISOString():w.issuanceDate=new Date().toISOString(),w.issuer=l.id.did(),Array.isArray(w.credentialSubject)?w.credentialSubject=w.credentialSubject.map(Z=>({...Z,id:P})):w.credentialSubject={...w.credentialSubject,id:P},w?.type?.includes("BoostCredential")&&(w.boostId=s.templateUri);let E=await l.invoke.issueCredential(w);return e.boost.send.mutate({...s,signedCredential:E})}}}return e.boost.send.mutate(s)},"send"),createContract:c(async(l,s)=>(await d(),e.contracts.createConsentFlowContract.mutate(s)),"createContract"),addAutoBoostsToContract:c(async(l,s,m)=>(await d(),e.contracts.addAutoBoostsToContract.mutate({contractUri:s,autoboosts:m})),"addAutoBoostsToContract"),removeAutoBoostsFromContract:c(async(l,s,m)=>(await d(),e.contracts.removeAutoBoostsFromContract.mutate({contractUri:s,boostUris:m})),"removeAutoBoostsFromContract"),getContract:c(async(l,s)=>e.contracts.getConsentFlowContract.query({uri:s}),"getContract"),getContracts:c(async(l,s)=>(await d(),e.contracts.getConsentFlowContracts.query(s)),"getContracts"),deleteContract:c(async(l,s)=>(await d(),e.contracts.deleteConsentFlowContract.mutate({uri:s})),"deleteContract"),getConsentFlowData:c(async(l,s,m={})=>(await d(),e.contracts.getConsentedDataForContract.query({uri:s,...m})),"getConsentFlowData"),getConsentFlowDataForDid:c(async(l,s,m={})=>(await d(),e.contracts.getConsentedDataForDid.query({did:s,...m})),"getConsentFlowDataForDid"),getAllConsentFlowData:c(async(l,s={},m={})=>(await d(),e.contracts.getConsentedData.query({query:s,...m})),"getAllConsentFlowData"),writeCredentialToContract:c(async(l,s,m,f,h)=>(await d(),e.contracts.writeCredentialToContract.mutate({did:s,contractUri:m,credential:f,boostUri:h})),"writeCredentialToContract"),consentToContract:c(async(l,s,{terms:m,expiresAt:f,oneTime:h},g)=>(await d(),e.contracts.consentToContract.mutate({contractUri:s,terms:m,expiresAt:f,oneTime:h,recipientToken:g})),"consentToContract"),getConsentedContracts:c(async(l,s)=>(await d(),e.contracts.getConsentedContracts.query(s)),"getConsentedContracts"),updateContractTerms:c(async(l,s,{terms:m,expiresAt:f,oneTime:h})=>(await d(),e.contracts.updateConsentedContractTerms.mutate({uri:s,terms:m,expiresAt:f,oneTime:h})),"updateContractTerms"),withdrawConsent:c(async(l,s)=>(await d(),e.contracts.withdrawConsent.mutate({uri:s})),"withdrawConsent"),getConsentFlowTransactions:c(async(l,s,m)=>(await d(),e.contracts.getTermsTransactionHistory.query({uri:s,...m})),"getConsentFlowTransactions"),getCredentialsForContract:c(async(l,s,m={})=>(await d(),e.contracts.getCredentialsForContract.query({termsUri:s,...m})),"getCredentialsForContract"),getConsentFlowCredentials:c(async(l,s={})=>(await d(),e.contracts.getAllCredentialsForTerms.query(s)),"getConsentFlowCredentials"),verifyConsent:c(async(l,s,m)=>(await d(),e.contracts.verifyConsent.query({uri:s,profileId:m})),"verifyConsent"),syncCredentialsToContract:c(async(l,s,m)=>(await d(),e.contracts.syncCredentialsToContract.mutate({termsUri:s,categories:m})),"syncCredentialsToContract"),sendAiInsightsContractRequest:c(async(l,s,m,f)=>(await d(),e.contracts.sendAiInsightsContractRequest.mutate({contractUri:s,targetProfileId:m,shareLink:f})),"sendAiInsightsContractRequest"),sendAiInsightShareRequest:c(async(l,s,m,f)=>(await d(),e.contracts.sendAiInsightShareRequest.mutate({targetProfileId:s,shareLink:m,childProfileId:f})),"sendAiInsightShareRequest"),getContractSentRequests:c(async(l,s)=>(await d(),e.contracts.getContractSentRequests.query({contractUri:s})),"getContractSentRequests"),getRequestStatusForProfile:c(async(l,s,m,f)=>(await d(),e.contracts.getRequestStatusForProfile.query({targetProfileId:s,contractId:m??null,contractUri:f??null})),"getRequestStatusForProfile"),getAllContractRequestsForProfile:c(async(l,s)=>(await d(),e.contracts.getAllContractRequestsForProfile.query({targetProfileId:s})),"getAllContractRequestsForProfile"),forwardContractRequestToProfile:c(async(l,s,m,f)=>(await d(),e.contracts.forwardContractRequestToProfile.mutate({parentProfileId:s,targetProfileId:m,contractUri:f})),"forwardContractRequestToProfile"),markContractRequestAsSeen:c(async(l,s,m)=>(await d(),e.contracts.markContractRequestAsSeen.mutate({contractUri:s,targetProfileId:m})),"markContractRequestAsSeen"),cancelContractRequest:c(async(l,s,m)=>(await d(),e.contracts.cancelContractRequest.mutate({contractUri:s,targetProfileId:m})),"cancelContractRequest"),addDidMetadata:c(async(l,s)=>{await d();let m=await e.didMetadata.addDidMetadata.mutate(s);return m&&await l.invoke.clearDidWebCache?.(),m},"addDidMetadata"),getDidMetadata:c(async(l,s)=>(await d(),e.didMetadata.getDidMetadata.query({id:s})),"getDidMetadata"),getMyDidMetadata:c(async()=>(await d(),e.didMetadata.getMyDidMetadata.query()),"getMyDidMetadata"),updateDidMetadata:c(async(l,s,m)=>{await d();let f=await e.didMetadata.updateDidMetadata.mutate({id:s,updates:m});return f&&await l.invoke.clearDidWebCache?.(),f},"updateDidMetadata"),deleteDidMetadata:c(async(l,s)=>{await d();let m=await e.didMetadata.deleteDidMetadata.mutate({id:s});return m&&await l.invoke.clearDidWebCache?.(),m},"deleteDidMetadata"),createClaimHook:c(async(l,s)=>(await d(),e.claimHook.createClaimHook.mutate({hook:s})),"createClaimHook"),getClaimHooksForBoost:c(async(l,s)=>(await d(),e.claimHook.getClaimHooksForBoost.query(s)),"getClaimHooksForBoost"),deleteClaimHook:c(async(l,s)=>(await d(),e.claimHook.deleteClaimHook.mutate({id:s})),"deleteClaimHook"),addAuthGrant:c(async(l,s)=>(await d(),e.authGrants.addAuthGrant.mutate(s)),"addAuthGrant"),revokeAuthGrant:c(async(l,s)=>(await d(),e.authGrants.revokeAuthGrant.mutate({id:s})),"revokeAuthGrant"),deleteAuthGrant:c(async(l,s)=>(await d(),e.authGrants.deleteAuthGrant.mutate({id:s})),"deleteAuthGrant"),updateAuthGrant:c(async(l,s,m)=>(await d(),e.authGrants.updateAuthGrant.mutate({id:s,updates:m})),"updateAuthGrant"),getAuthGrant:c(async(l,s)=>(await d(),e.authGrants.getAuthGrant.query({id:s})),"getAuthGrant"),getAuthGrants:c(async(l,s)=>(await d(),e.authGrants.getAuthGrants.query(s)),"getAuthGrants"),getAPITokenForAuthGrant:c(async(l,s)=>{await d();let m=await e.authGrants.getAuthGrant.query({id:s});if(!m)throw new Error("Auth grant not found");if(m.status!=="active")throw new Error("Auth grant is not active");if(!m.challenge)throw new Error("Auth grant has no challenge");if(!m.scope)throw new Error("Auth grant has no scope");if(m.expiresAt&&new Date(m.expiresAt)<new Date)throw new Error("Auth grant is expired");let f=await l.invoke.getDidAuthVp({challenge:m.challenge,proofFormat:"jwt"});if(!f)throw new Error("Failed to get API Token for auth grant");return f},"getAPITokenForAuthGrant"),sendCredentialViaInbox:c(async(l,s)=>(await d(),e.inbox.issue.mutate(s)),"sendCredentialViaInbox"),getMySentInboxCredentials:c(async(l,s)=>(await d(),e.inbox.getMyIssuedCredentials.query(s)),"getMySentInboxCredentials"),getInboxCredential:c(async(l,s)=>(await d(),e.inbox.getInboxCredential.query({credentialId:s})),"getInboxCredential"),finalizeInboxCredentials:c(async l=>(await d(),e.inbox.finalize.mutate()),"finalizeInboxCredentials"),sendGuardianApprovalEmail:c(async(l,s)=>(await d(),e.inbox.sendGuardianApprovalEmail.mutate(s)),"sendGuardianApprovalEmail"),approveGuardianRequest:c(async(l,s)=>e.inbox.approveGuardianRequest.mutate({token:s}),"approveGuardianRequest"),approveGuardianRequestByPath:c(async(l,s)=>e.inbox.approveGuardianRequestByPath.query({token:s}),"approveGuardianRequestByPath"),addContactMethod:c(async(l,s)=>(await d(),e.contactMethods.addContactMethod.mutate(s)),"addContactMethod"),getMyContactMethods:c(async l=>(await d(),e.contactMethods.getMyContactMethods.query()),"getMyContactMethods"),setPrimaryContactMethod:c(async(l,s)=>(await d(),e.contactMethods.setPrimaryContactMethod.mutate({contactMethodId:s})),"setPrimaryContactMethod"),verifyContactMethod:c(async(l,s)=>(await d(),e.contactMethods.verifyContactMethod.mutate({token:s})),"verifyContactMethod"),verifyContactMethodWithCredential:c(async(l,s)=>(await d(),e.contactMethods.verifyWithCredential.mutate({proofOfLoginJwt:s})),"verifyContactMethodWithCredential"),removeContactMethod:c(async(l,s)=>(await d(),e.contactMethods.removeContactMethod.mutate({id:s})),"removeContactMethod"),syncFrameworkSkills:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skills.syncFrameworkSkills.mutate(s)},"syncFrameworkSkills"),listSkillTags:c(async(l,s,m)=>{if(!n)throw new Error("Please make an account first!");return e.skills.listSkillTags.query({frameworkId:s,id:m})},"listSkillTags"),addSkillTag:c(async(l,s,m,f)=>{if(!n)throw new Error("Please make an account first!");return e.skills.addSkillTag.mutate({frameworkId:s,id:m,tag:f})},"addSkillTag"),removeSkillTag:c(async(l,s,m,f)=>{if(!n)throw new Error("Please make an account first!");return e.skills.removeSkillTag.mutate({frameworkId:s,id:m,slug:f})},"removeSkillTag"),createManagedSkillFramework:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.createManaged.mutate(s)},"createManagedSkillFramework"),createManagedSkillFrameworks:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.createManagedBatch.mutate(s)},"createManagedSkillFrameworks"),createSkillFramework:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.create.mutate(s)},"createSkillFramework"),listMySkillFrameworks:c(async l=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.listMine.query()},"listMySkillFrameworks"),getAllAvailableFrameworks:c(async(l,s={})=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.getAllAvailableFrameworks.query(s)},"getAllAvailableFrameworks"),getSkillFrameworkById:c(async(l,s,m={})=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.getById.query({id:s,...m})},"getSkillFrameworkById"),getBoostsThatUseFramework:c(async(l,s,m={})=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.getBoostsThatUseFramework.query({id:s,...m})},"getBoostsThatUseFramework"),countBoostsThatUseFramework:c(async(l,s,m={})=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.countBoostsThatUseFramework.query({id:s,...m})},"countBoostsThatUseFramework"),getFrameworkSkillTree:c(async(l,s,m={})=>{if(!n)throw new Error("Please make an account first!");return e.skills.getFrameworkSkillTree.query({id:s,...m})},"getFrameworkSkillTree"),getSkillChildren:c(async(l,s,m,f={})=>{if(!n)throw new Error("Please make an account first!");return e.skills.getSkillChildrenTree.query({frameworkId:s,id:m,...f})},"getSkillChildren"),searchFrameworkSkills:c(async(l,s,m,f={})=>{if(!n)throw new Error("Please make an account first!");return e.skills.searchFrameworkSkills.query({id:s,query:m,...f})},"searchFrameworkSkills"),semanticSearchSkills:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skills.semanticSearchSkills.query(s)},"semanticSearchSkills"),updateSkillFramework:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.update.mutate(s)},"updateSkillFramework"),deleteSkillFramework:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.delete.mutate({id:s})},"deleteSkillFramework"),replaceSkillFrameworkSkills:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.replaceSkills.mutate(s)},"replaceSkillFrameworkSkills"),countSkills:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skills.countSkills.query(s)},"countSkills"),getFullSkillTree:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skills.getFullSkillTree.query(s)},"getFullSkillTree"),getSkillPath:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skills.getSkillPath.query(s)},"getSkillPath"),getSkillFrameworkAdmins:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.listFrameworkAdmins.query({frameworkId:s})},"getSkillFrameworkAdmins"),addSkillFrameworkAdmin:c(async(l,s,m)=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.addFrameworkAdmin.mutate({frameworkId:s,profileId:m})},"addSkillFrameworkAdmin"),removeSkillFrameworkAdmin:c(async(l,s,m)=>{if(!n)throw new Error("Please make an account first!");return e.skillFrameworks.removeFrameworkAdmin.mutate({frameworkId:s,profileId:m})},"removeSkillFrameworkAdmin"),getSkill:c(async(l,s,m)=>{if(!n)throw new Error("Please make an account first!");return e.skills.getSkill.query({frameworkId:s,id:m})},"getSkill"),createSkill:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skills.create.mutate(s)},"createSkill"),createSkills:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skills.createMany.mutate(s)},"createSkills"),updateSkill:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skills.update.mutate(s)},"updateSkill"),deleteSkill:c(async(l,s)=>{if(!n)throw new Error("Please make an account first!");return e.skills.delete.mutate(s)},"deleteSkill"),addIntegration:c(async(l,s)=>(await d(),e.integrations.addIntegration.mutate(s)),"addIntegration"),getIntegration:c(async(l,s)=>(await d(),e.integrations.getIntegration.query({id:s})),"getIntegration"),getIntegrations:c(async(l,s={})=>(await d(),e.integrations.getIntegrations.query(s)),"getIntegrations"),countIntegrations:c(async(l,s={})=>(await d(),e.integrations.countIntegrations.query(s)),"countIntegrations"),updateIntegration:c(async(l,s,m)=>(await d(),e.integrations.updateIntegration.mutate({id:s,updates:m})),"updateIntegration"),deleteIntegration:c(async(l,s)=>(await d(),e.integrations.deleteIntegration.mutate({id:s})),"deleteIntegration"),createAppStoreListing:c(async(l,s,m)=>(await d(),e.appStore.createListing.mutate({integrationId:s,listing:m})),"createAppStoreListing"),associateListingWithSigningAuthority:c(async(l,s,m,f,h,g)=>(await d(),e.appStore.associateListingWithSigningAuthority.mutate({listingId:s,endpoint:m,name:f,did:h,isPrimary:g})),"associateListingWithSigningAuthority"),getListingSigningAuthority:c(async(l,s)=>(await d(),e.appStore.getListingSigningAuthority.query({listingId:s})),"getListingSigningAuthority"),getAppStoreListing:c(async(l,s)=>(await d(),e.appStore.getListing.query({listingId:s})),"getAppStoreListing"),updateAppStoreListing:c(async(l,s,m)=>(await d(),e.appStore.updateListing.mutate({listingId:s,updates:m})),"updateAppStoreListing"),deleteAppStoreListing:c(async(l,s)=>(await d(),e.appStore.deleteListing.mutate({listingId:s})),"deleteAppStoreListing"),submitAppStoreListingForReview:c(async(l,s)=>(await d(),e.appStore.submitForReview.mutate({listingId:s})),"submitAppStoreListingForReview"),getListingsForIntegration:c(async(l,s,m={})=>(await d(),e.appStore.getListingsForIntegration.query({integrationId:s,...m})),"getListingsForIntegration"),countListingsForIntegration:c(async(l,s)=>(await d(),e.appStore.countListingsForIntegration.query({integrationId:s})),"countListingsForIntegration"),browseAppStore:c(async(l,s)=>e.appStore.browseListedApps.query(s),"browseAppStore"),getPublicAppStoreListing:c(async(l,s)=>e.appStore.getPublicListing.query({listingId:s}),"getPublicAppStoreListing"),getPublicAppStoreListingBySlug:c(async(l,s)=>e.appStore.getPublicListingBySlug.query({slug:s}),"getPublicAppStoreListingBySlug"),getAppStoreListingInstallCount:c(async(l,s)=>e.appStore.getListingInstallCount.query({listingId:s}),"getAppStoreListingInstallCount"),installApp:c(async(l,s)=>(await d(),e.appStore.installApp.mutate({listingId:s})),"installApp"),uninstallApp:c(async(l,s)=>(await d(),e.appStore.uninstallApp.mutate({listingId:s})),"uninstallApp"),getInstalledApps:c(async(l,s={})=>(await d(),e.appStore.getInstalledApps.query(s)),"getInstalledApps"),countInstalledApps:c(async l=>(await d(),e.appStore.countInstalledApps.query()),"countInstalledApps"),isAppInstalled:c(async(l,s)=>(await d(),e.appStore.isAppInstalled.query({listingId:s})),"isAppInstalled"),isAppStoreAdmin:c(async l=>(await d(),e.appStore.isAdmin.query()),"isAppStoreAdmin"),adminUpdateListingStatus:c(async(l,s,m)=>(await d(),e.appStore.adminUpdateListingStatus.mutate({listingId:s,status:m})),"adminUpdateListingStatus"),adminUpdatePromotionLevel:c(async(l,s,m)=>(await d(),e.appStore.adminUpdatePromotionLevel.mutate({listingId:s,promotionLevel:m})),"adminUpdatePromotionLevel"),adminGetAllListings:c(async(l,s)=>(await d(),e.appStore.adminGetAllListings.query(s)),"adminGetAllListings"),addBoostToApp:c(async(l,s,m,f)=>(await d(),e.appStore.addBoostToListing.mutate({listingId:s,boostUri:m,templateAlias:f})),"addBoostToApp"),removeBoostFromApp:c(async(l,s,m)=>(await d(),e.appStore.removeBoostFromListing.mutate({listingId:s,templateAlias:m})),"removeBoostFromApp"),getAppBoosts:c(async(l,s)=>(await d(),e.appStore.getBoostsForListing.query({listingId:s})),"getAppBoosts"),sendAppEvent:c(async(l,s,m)=>(await d(),e.appStore.appEvent.mutate({listingId:s,event:m})),"sendAppEvent"),resolveFromLCN:c(async(l,s)=>{let m=await e.storage.resolve.query({uri:s});return Y.or(ue).or(Ut).or(au).or(cu).or(Wr).parseAsync(m)},"resolveFromLCN"),getLCNClient:c(()=>e,"getLCNClient"),getMyActivities:c(async(l,s={})=>(await d(),e.activity.getMyActivities.query(s)),"getMyActivities"),getActivityStats:c(async(l,s={})=>(await d(),e.activity.getActivityStats.query(s)),"getActivityStats"),getActivity:c(async(l,s)=>(await d(),e.activity.getActivity.query(s)),"getActivity"),getActivityChain:c(async(l,s)=>(await d(),e.activity.getActivityChain.query(s)),"getActivityChain")}}}c(Xg,"getLearnCardNetworkPlugin");var Hg=c(async(t,r)=>{let o=[{id:"LearnCard Network",url:"https://network.learncard.com",did:"did:web:network.learncard.com"}],i;if(r){let u=await fetch(r);u.status===200?i=JSON.parse(await u.text()):i=o}else i=o;let e=c(u=>{if(u)return typeof u=="string"?u:"id"in u&&typeof u.id=="string"?u.id:void 0},"getIssuerDID"),n=c(u=>{let d=e(u);if(d)return i.find(p=>p.did===d)},"getTrustedBoostVerifier");return{name:"VerifyBoost",displayName:"Verify Boost Extension",description:"Adds a check for validating Boost Credentials.",methods:{verifyCredential:c(async(u,d,p)=>{let l=await t.invoke.verifyCredential(d,p),s=d?.boostCredential;try{if(s){let m=await t.invoke.verifyCredential(s);if(!s?.boostId&&!d?.boostId&&l.warnings.push("Boost Authenticity could not be verified: Boost ID metadata is missing."),m.errors?.length>0)l.errors=[...m.errors||[],...l.errors||[],"Boost Credential could not be verified."];else if(s?.boostId!==d?.boostId)l.errors.push("Boost Authenticity could not be verified: Boost ID metadata is mismatched.");else{let f=n(d?.issuer);f?l.checks.push(`Boost is Authentic. Verified by ${f.id}.`):l.warnings.push(`Boost Authenticity could not be verified. Issuer is outside of trust network: ${e(d?.issuer)}`)}}}catch{l.errors.push("Boost authenticity could not be verified.")}return l},"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={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};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:
|