PageSourceSearch

https://cotree.jp/_next/static/chunks/4582-f6f0b5dbdc0bb64f.js?dpl=dpl_DLvMYfaKRoPE1zWeGR7BS6ASr7fU

js cotree.jp collected 2026-10-02 04:25:03 UTC 93,226 bytes, 55 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new t.Error).stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="bce63587-566e-4d9d-b8d7-a46d55318cc4",t._sentryDebugIdIdentifier="sentry-dbid-bce63587-566e-4d9d-b8d7-a46d55318cc4")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4582],{2463:(t,r,n)=>{n.d(r,{$O:()=>k,$S:()=>Y,Au:()=>J,Be:()=>c,Bj:()=>y,Ct:()=>_,Dl:()=>v,ER:()=>X,Eb:()=>V,F7:()=>T,Fk:()=>Q,Fn:()=>h,G1:()=>j,G8:()=>M,Hi:()=>W,Il:()=>ei,KB:()=>A,Kn:()=>Z,LK:()=>R,MB:()=>el,Mu:()=>u,Ny:()=>w,Pw:()=>b,Rl:()=>s,T2:()=>ee,TL:()=>ea,Tx:()=>U,Uy:()=>x,WN:()=>en,YA:()=>K,Zm:()=>C,_L:()=>F,_z:()=>z,aC:()=>m,bS:()=>et,cU:()=>I,dR:()=>q,dZ:()=>es,db:()=>P,em:()=>D,f2:()=>E,fU:()=>eu,fs:()=>g,gP:()=>$,hH:()=>B,lo:()=>er,m9:()=>G,mI:()=>ed,nA:()=>d,pY:()=>f,q0:()=>ec,qF:()=>H,qG:()=>N,qm:()=>L,rk:()=>S,rt:()=>O,tB:()=>l,wA:()=>p,xY:()=>eo});var i=n(9560),o=n(23978),a=n(26713);function s(t,r){return new t({type:"string",...a.A2(r)})}function u(t,r){return new t({type:"string",format:"email",check:"string_format",abort:!1,...a.A2(r)})}function l(t,r){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...a.A2(r)})}function c(t,r){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...a.A2(r)})}function d(t,r){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...a.A2(r)})}function f(t,r){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...a.A2(r)})}function p(t,r){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...a.A2(r)})}function h(t,r){return new t({type:"string",format:"url",check:"string_format",abort:!1,...a.A2(r)})}function m(t,r){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...a.A2(r)})}function v(t,r){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...a.A2(r)})}function g(t,r){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...a.A2(r)})}function y(t,r){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...a.A2(r)})}function _(t,r){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...a.A2(r)})}function b(t,r){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...a.A2(r)})}function z(t,r){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...a.A2(r)})}function w(t,r){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...a.A2(r)})}function k(t,r){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...a.A2(r)})}function x(t,r){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...a.A2(r)})}function $(t,r){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...a.A2(r)})}function O(t,r){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...a.A2(r)})}function I(t,r){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...a.A2(r)})}function A(t,r){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...a.A2(r)})}function S(t,r){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...a.A2(r)})}function j(t,r){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...a.A2(r)})}function P(t,r){return new t({type:"string",format:"date",check:"string_format",...a.A2(r)})}function Z(t,r){return new t({type:"string",format:"time",check:"string_format",precision:null,...a.A2(r)})}function E(t,r){return new t({type:"string",format:"duration",check:"string_format",...a.A2(r)})}function T(t,r){return new t({type:"number",checks:[],...a.A2(r)})}function N(t,r){return new t({type:"number",coerce:!0,checks:[],...a.A2(r)})}function R(t,r){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...a.A2(r)})}function F(t,r){return new t({type:"boolean",...a.A2(r)})}function D(t){return new t({type:"unknown"})}function M(t,r){return new t({type:"never",...a.A2(r)})}function J(t,r){return new i.sm({check:"less_than",...a.A2(r),value:t,inclusive:!1})}function C(t,r){return new i.sm({check:"less_than",...a.A2(r),value:t,inclusive:!0})}function U(t,r){return new i.J_({check:"greater_than",...a.A2(r),value:t,inclusive:!1})}function L(t,r){return new i.J_({check:"greater_than",...a.A2(r),value:t,inclusive:!0})}function W(t,r){return new i.Jk({check:"multiple_of",...a.A2(r),value:t})}function V(t,r){return new i.Yk({check:"max_length",...a.A2(r),maximum:t})}function G(t,r){return new i.Kk({check:"min_length",...a.A2(r),minimum:t})}function K(t,r){return new i.RM({check:"length_equals",...a.A2(r),length:t})}function Q(t,r){return new i.DG({check:"string_format",format:"regex",...a.A2(r),pattern:t})}function B(t){return new i.NI({check:"string_format",format:"lowercase",...a.A2(t)})}
1function H(t){return new i.kH({check:"string_format",format:"uppercase",...a.A2(t)})}function q(t,r){return new i.Tt({check:"string_format",format:"includes",...a.A2(r),includes:t})}function Y(t,r){return new i.J({check:"string_format",format:"starts_with",...a.A2(r),prefix:t})}function X(t,r){return new i.E6({check:"string_format",format:"ends_with",...a.A2(r),suffix:t})}function ee(t,r,n){return new t({type:"properties",check:"properties",shape:r,...a.A2(n)})}function et(t){return new i.v$({check:"overwrite",tx:t})}function er(t){return et(r=>r.normalize(t))}function en(){return et(t=>t.trim())}function ei(){return et(t=>t.toLowerCase())}function eo(){return et(t=>t.toUpperCase())}function ea(){return et(t=>a.Yv(t))}function es(t,r,n){return new t({type:"array",element:r,...a.A2(n)})}function eu(t,r,n){return new t({type:"custom",check:"custom",fn:r,...a.A2(n)})}function el(t,r){let n=function(t,r){let n=new i.QP({check:"custom",...a.A2(r)});return n._zod.check=t,n}(r=>(r.addIssue=t=>{"string"==typeof t?r.issues.push(a.sn(t,r.value,n._zod.def)):(t.fatal&&(t.continue=!1),t.code??(t.code="custom"),"input"in t||(t.input=r.value),t.inst??(t.inst=n),t.continue??(t.continue=!n._zod.def.abort),r.issues.push(a.sn(t)))},t(r.value,r)),r);return n}function ec(t){let r=new i.QP({check:"describe"});return r._zod.onattach=[r=>{let n=o.fd.get(r)??{};o.fd.add(r,{...n,description:t})}],r._zod.check=()=>{},r}function ed(t){let r=new i.QP({check:"meta"});return r._zod.onattach=[r=>{let n=o.fd.get(r)??{};o.fd.add(r,{...n,...t})}],r._zod.check=()=>{},r}},5426:(t,r,n)=>{n.d(r,{$W:()=>f,GT:()=>l,cV:()=>c,cr:()=>d,xI:()=>u});var i,o=n(26713);let a={value:void 0,enumerable:!1},s="captureStackTrace"in Error?Error:null;function u(t,r,n,i){function u(t){this.def=t,this.constr=p,this.traits=new Set}u.prototype={};let l=n&&new WeakSet;function c(i,s){if(!i._zod){a.value=new u(s);try{Object.defineProperty(i,"_zod",a)}finally{a.value=void 0}}if(i._zod.traits.has(t))return;if(i._zod.traits.add(t),r(i,s),l){let t=Object.getPrototypeOf(i),r=i._zod.constr.prototype,a=t;for(;a&&a!==r;)a=Object.getPrototypeOf(a);let s=a??t;l.has(s)||(l.add(s),(0,o.ol)(s,n))}let c=p.prototype;for(let t in c)Object.prototype.hasOwnProperty.call(c,t)&&(t in i||(i[t]=c[t].bind(i)))}let d=i?.Parent??Object;class f extends d{}function p(t){let r=i?.Parent?function(t){let r=s;if(r){let n=r.stackTraceLimit;if("number"==typeof n){try{r.stackTraceLimit=0}catch{return s=null,new t}try{return new t}finally{r.stackTraceLimit=n}}}return new t}(f):this;c(r,t);let n=r._zod.deferred;if(n){for(let t of n)t();r._zod.deferred=void 0}let o=globalThis.__zod_globalConfig?.postProcessor;return o&&o(r),r}return Object.defineProperty(f,"name",{value:t}),Object.defineProperty(p,"init",{value:c}),Object.defineProperty(p,Symbol.hasInstance,{value:r=>!!i?.Parent&&r instanceof i.Parent||r?._zod?.traits?.has(t)}),Object.defineProperty(p,"name",{value:t}),p}class l extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class c extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(i=globalThis).__zod_globalConfig??(i.__zod_globalConfig={});let d=globalThis.__zod_globalConfig;function f(t){return t&&Object.assign(d,t),d}},9560:(t,r,n)=>{n.d(r,{DG:()=>y,E6:()=>k,J:()=>w,J_:()=>d,Jk:()=>f,KH:()=>p,Kk:()=>m,NI:()=>_,QP:()=>s,RM:()=>v,Tt:()=>z,Yk:()=>h,kH:()=>b,ql:()=>g,sm:()=>c,v$:()=>x});var i=n(5426),o=n(81928),a=n(26713);let s=i.xI("$ZodCheck",(t,r)=>{var n;t._zod??(t._zod={}),t._zod.def=r,(n=t._zod).onattach??(n.onattach=[])}),u=t=>{let r=t.value;return!a.cl(r)&&void 0!==r.length},l={number:"number",bigint:"bigint",object:"date"},c=i.xI("$ZodCheckLessThan",(t,r)=>{s.init(t,r);let n=l[typeof r.value];t._zod.check=i=>{(r.inclusive?i.value<=r.value:i.value<r.value)||i.issues.push({origin:l[typeof i.value]??n,code:"too_big",maximum:"object"==typeof r.value?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:t,continue:!r.abort})}}),d=i.xI("$ZodCheckGreaterThan",(t,r)=>{s.init(t,r);let n=l[typeof r.value];t._zod.check=i=>{(r.inclusive?i.value>=r.value:i.value>r.value)||i.issues.push({origin:l[typeof i.value]??n,code:"too_small",minimum:"object"==typeof r.value?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:t,continue:!r.abort})}}),f=i.xI("$ZodCheckMultipleOf",(t,r)=>{s.init(t,r),t._zod.check=n=>{if(typeof n.value!=typeof r.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof n.value?r.value!==BigInt(0)&&n.value%r.value===BigInt(0):0===a.LG(n.value,r.value))||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:r.value,input:n.value,inst:t,continue:!r.abort})}}),p=i.xI("$ZodCheckNumberFormat",(t,r)=>{s.init(t,r),r.format=r.format||"float64";let n=r.format?.includes("int"),i=n?"int":"number",[o,u]=a.zH[r.format];t._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s))return void a.issues.push({expected:i,format:r.format,code:"invalid_type",continue:!1,input:s,inst:t});if(!Number.isSafeInteger(s))return void(s>
10?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:i,inclusive:!0,continue:!r.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:i,inclusive:!0,continue:!r.abort}))}s<o&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:!0,inst:t,continue:!r.abort}),s>u&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:u,inclusive:!0,inst:t,continue:!r.abort})}}),h=i.xI("$ZodCheckMaxLength",(t,r)=>{var n;s.init(t,r),(n=t._zod.def).when??(n.when=u),t._zod.check=n=>{let i=n.value,o=i.length;if(("string"==typeof i&&o>r.maximum?a.O7(i):o)<=r.maximum)return;let s=a.Rc(i);n.issues.push({origin:s,code:"too_big",maximum:r.maximum,inclusive:!0,input:i,inst:t,continue:!r.abort})}}),m=i.xI("$ZodCheckMinLength",(t,r)=>{var n;s.init(t,r),(n=t._zod.def).when??(n.when=u),t._zod.check=n=>{let i=n.value,o=i.length;if(("string"==typeof i&&o>=r.minimum&&o<2*r.minimum?a.O7(i):o)>=r.minimum)return;let s=a.Rc(i);n.issues.push({origin:s,code:"too_small",minimum:r.minimum,inclusive:!0,input:i,inst:t,continue:!r.abort})}}),v=i.xI("$ZodCheckLengthEquals",(t,r)=>{var n;s.init(t,r),(n=t._zod.def).when??(n.when=u),t._zod.check=n=>{let i=n.value,o=i.length,s="string"==typeof i&&o>=r.length&&o<=2*r.length?a.O7(i):o;if(s===r.length)return;let u=a.Rc(i),l=s>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:t,continue:!r.abort})}}),g=i.xI("$ZodCheckStringFormat",(t,r)=>{var n,i;s.init(t,r),r.pattern?(n=t._zod).check??(n.check=n=>{r.pattern.lastIndex=0,r.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:r.format,input:n.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:t,continue:!r.abort})}):(i=t._zod).check??(i.check=()=>{})}),y=i.xI("$ZodCheckRegex",(t,r)=>{g.init(t,r),t._zod.check=n=>{r.pattern.lastIndex=0,r.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:r.pattern.toString(),inst:t,continue:!r.abort})}}),_=i.xI("$ZodCheckLowerCase",(t,r)=>{r.pattern??(r.pattern=o.AC),g.init(t,r)}),b=i.xI("$ZodCheckUpperCase",(t,r)=>{r.pattern??(r.pattern=o.Zv),g.init(t,r)}),z=i.xI("$ZodCheckIncludes",(t,r)=>{s.init(t,r);let n=a.sD(r.includes),i=new RegExp("number"==typeof r.position?`^.{${r.position},}${n}`:n);r.pattern=i,t._zod.check=n=>{n.value.includes(r.includes,r.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:n.value,inst:t,continue:!r.abort})}}),w=i.xI("$ZodCheckStartsWith",(t,r)=>{s.init(t,r);let n=RegExp(`^${a.sD(r.prefix)}.*`);r.pattern??(r.pattern=n),t._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:t,continue:!r.abort})}}),k=i.xI("$ZodCheckEndsWith",(t,r)=>{s.init(t,r);let n=RegExp(`.*${a.sD(r.suffix)}$`);r.pattern??(r.pattern=n),t._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:t,continue:!r.abort})}}),x=i.xI("$ZodCheckOverwrite",(t,r)=>{s.init(t,r),t._zod.check=t=>{t.value=r.tx(t.value)}})},23978:(t,r,n)=>{var i;n.d(r,{fd:()=>a});class o{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let n=r[0];return this._map.set(t,n),n&&"object"==typeof n&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&"object"==typeof r&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let n={...this.get(r)??{}};delete n.id;let i={...n,...this._map.get(t)};return Object.keys(i).length?i:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}(i=globalThis).__zod_globalRegistry??(i.__zod_globalRegistry=new o);let a=globalThis.__zod_globalRegistry},26713:(t,r,n)=>{let i;n.d(r,{A2:()=>P,B7:()=>Z,GW:()=>ee,Gv:()=>x,LG:()=>p,MO:()=>m,NM:()=>E,NR:()=>N,O7:()=>Y,OH:()=>L,PO:()=>c,QH:()=>V,Qd:()=>O,Rc:()=>X,SS:()=>ed,UQ:()=>z,Up:()=>R,Vy:()=>h,W0:()=>C,X:()=>ec,X$:()=>M,Yv:()=>w,cJ:()=>D,cl:()=>d,d3:()=>B,gx:()=>k,h1:()=>U,hI:()=>$,iR:()=>H,jD:()=>ei,jw:()=>s,k8:()=>u,lQ:()=>K,mw:()=>W,o8:()=>j,ol:()=>er,p6:()=>f,qQ:()=>A,qh:()=>en,rL:()=>G,sD:()=>S,sn:()=>et,un:()=>eo,v5:()=>el,w5:()=>a,yG:()=>I,zH:()=>T,zM:()=>b});var o=n(5426);function a(t){let r=Object.values(t).filter(t=>"number"==typeof t);return Object.entries(t).filter(([t,n])=>-1===r.indexOf(+t)).map(([t,r])=>r)}function s(t,r="|"){return t.map(t=>Z(t)).join(r)}function u(t,r){return"bigint"==typeof r?r.toString():r}class l{constructor(t){this._getter=t,this._value=void 0}get value(){let t=this._getter;return void 0!==t&&(this._value=t(),this._getter=void 0),this._value}}function c(t){return new l(t)}function d(t){return null==t}function f(t){let r=+!!t.startsWith("^"),n=t.endsWith("$")?t.length-1:t.length;return t.slice(r,n)}function p(t,r){let n=t/r,i=Math.round(n),o=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-i)<o?0:n-i}function h(t,r,n){Object.defineProperty(t,r,{value:n,writable:!0,enumerable:!0,configurable:!0})}function m(t){let r=Object.getOwnPropertyDescriptor(t,"shape");return r?.get?r.get.raw:r?.value}function v(t){return m(t._zod.def)??t._zod.def.shape}function g(t,r,n){Object.defineProperty(t,r,{get(){let t=n();return h(this,r,t),t},enumerable:!0,configurable:!0})}function y(t,r,n){r in t?h(t,r,n):t[r]=n}function _(t,r,n,i){let o=v(r);for(let a of n){let n=Object.getOwnPropertyDescriptor(o,a);n.enumerable&&(n.get?g(t,a,()=>{let t=r._zod.def.shape[a];return i?i(t,a):t}):y(t,a,i?i(n.value,a):n.value))}}function b(...t){let r={};for(let n of t)Object.assign(r,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},r)}function z(t){return JSON.stringify(t)}function w(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}let k="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function x(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}let $=c(()=>
1{if(o.cr.jitless||"undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(t){return!1}});function O(t){if(!1===x(t))return!1;let r=t.constructor;if(void 0===r||"function"!=typeof r)return!0;let n=r.prototype;return!1!==x(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}function I(t){return O(t)?{...t}:Array.isArray(t)?[...t]:t instanceof Map?new Map(t):t instanceof Set?new Set(t):t}let A=new Set(["string","number","symbol"]);function S(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function j(t,r,n){let i=new t._zod.constr(r??t._zod.def);return(!r||n?.parent)&&(i._zod.parent=t),i}function P(t){if(!t)return{};if("string"==typeof t)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return(delete t.message,"string"==typeof t.error)?{...t,error:()=>t.error}:t}function Z(t){return"bigint"==typeof t?t.toString()+"n":"string"==typeof t?`"${t}"`:`${t}`}function E(t){return Object.keys(t).filter(r=>void 0!==t[r]._zod.optin&&"optional"===t[r]._zod.optout)}let T={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-0x80000000,0x7fffffff],uint32:[0,0xffffffff],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},N={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function R(t,r){let n=t._zod.def,i=n.checks;if(i&&i.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let o={};return _(o,t,F(t,r)),j(t,b(n,{shape:o,checks:[]}))}function F(t,r){let n=v(t),i=[];for(let t of Reflect.ownKeys(r)){if(!Object.getOwnPropertyDescriptor(n,t)?.enumerable)throw Error(`Unrecognized key: "${String(t)}"`);r[t]&&i.push(t)}return i}function D(t,r){let n=t._zod.def,i=n.checks;if(i&&i.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let o=new Set(F(t,r)),a={};return _(a,t,Reflect.ownKeys(v(t)).filter(t=>!o.has(t))),j(t,b(n,{shape:a,checks:[]}))}function M(t,r){if(!O(r))throw Error("Invalid input to extend: expected a plain object");let n=t._zod.def.checks;if(n&&n.length>0){let n=v(t);for(let t of Reflect.ownKeys(r))if(void 0!==Object.getOwnPropertyDescriptor(n,t))throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return j(t,b(t._zod.def,{shape:J(t,r)}))}function J(t,r){let n={};_(n,t,Reflect.ownKeys(v(t)));for(let t of Reflect.ownKeys(r)){let i=Object.getOwnPropertyDescriptor(r,t);i.enumerable&&(i.get?g(n,t,()=>r[t]):y(n,t,i.value))}return n}function C(t,r){if(!O(r))throw Error("Invalid input to safeExtend: expected a plain object");return j(t,b(t._zod.def,{shape:J(t,r)}))}function U(t,r){if(!r?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(t._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let n={};_(n,t,Reflect.ownKeys(v(t))),_(n,r,Reflect.ownKeys(v(r)));let i=b(t._zod.def,{shape:n,get catchall(){return r._zod.def.catchall},checks:r._zod.def.checks??[]});return j(t,i)}function L(t,r,n,i="partial"){let o=r._zod.def.checks;if(o&&o.length>0)throw Error(`.${i}() cannot be used on object schemas containing refinements`);let a=n?new Set(F(r,n)):void 0,s={};return _(s,r,Reflect.ownKeys(v(r)),t&&((r,n)=>a&&!a.has(n)?r:new t({type:"optional",innerType:r}))),j(r,b(r._zod.def,{shape:s,checks:[]}))}function W(t,r,n){let i=n?new Set(F(r,n)):void 0,o={};return _(o,r,Reflect.ownKeys(v(r)),(r,n)=>i&&!i.has(n)?r:new t({type:"nonoptional",innerType:r})),j(r,b(r._zod.def,{shape:o}))}function V(t,r=0){if(!0===t.aborted)return!0;for(let n=r;n<t.issues.length;n++)if(t.issues[n]?.continue!==!0)return!0;return!1}function G(t,r=0){if(!0===t.aborted)return!0;for(let n=r;n<t.issues.length;n++)if(t.issues[n]?.continue===!1)return!0;return!1}function K(t,r){return r.map(r=>(r.path??(r.path=[]),r.path.unshift(t),r))}function Q(t){return"string"==typeof t?t:t?.message}function B(t,r,n){var i;for(let o=r;o<t.length;o++)(i=t[o]).schema??(i.schema=n)}function H(t,r,n){let i=t.inst?._zod?.traits;i?.has("$ZodType")&&(i.has("$ZodCheck")?t.schema??(t.schema=t.inst):t.schema=t.inst);let o=t.schema!==t.inst?t.schema?._zod.def?.error:void 0,a=t.message?t.message:Q(t.inst?._zod.def?.error?.(t))??Q(o?.(t))??Q(r?.error?.(t))??Q(n.customError?.(t))??Q(n.localeError?.(t))??"Invalid input",s={};for(let r of Object.keys(t))"inst"!==r&&"schema"!==r&&"continue"!==r&&"input"!==r&&"__proto__"!==r&&(s[r]=t[r]);return s.path??(s.path=[]),s.message=a,r?.reportInput&&(s.input=t.input),s}let q=/[\uD800-\uDBFF]/;function Y(t){let r=t.length;if(!q.test(t))return r;let n=r;for(let i=0;i<r-1;
1i++)(64512&t.charCodeAt(i))==55296&&(64512&t.charCodeAt(i+1))==56320&&(n--,i++);return n}function X(t){return Array.isArray(t)?"array":"string"==typeof t?"string":"unknown"}function ee(t){let r=typeof t;switch(r){case"number":return Number.isNaN(t)?"nan":"number";case"object":if(null===t)return"null";if(Array.isArray(t))return"array";if(t&&Object.getPrototypeOf(t)!==Object.prototype&&"constructor"in t&&t.constructor)return t.constructor.name}return r}function et(...t){let[r,n,i]=t;return"string"==typeof r?{message:r,code:"custom",input:n,inst:i}:{...r}}function er(t,r){for(let n in r){let i=Object.getOwnPropertyDescriptor(r,n);i.get?Object.defineProperty(t,n,{...i,enumerable:!1}):ea(t,n,i.value)}for(let n of Object.getOwnPropertySymbols(r))ea(t,n,r[n])}function en(t,r,n,i=!0){return Object.defineProperty(t,r,{configurable:!0,writable:!0,enumerable:i,value:n}),n}function ei(t,r,n){return en(t,r,n,!1)}function eo(t,r){for(let n in t){let i=t[n];Object.defineProperty(r,n,{configurable:!0,enumerable:!0,get(){return en(this,n,i(this))},set(t){en(this,n,t)}})}return r}function ea(t,r,n){Object.defineProperty(t,r,{configurable:!0,get(){return this==null?n:en(this,r,n.bind(this))},set(t){en(this,r,t)}})}let es=!1,eu={configurable:!0,get(){es=!0}};function el(t,r,n){let o=Object.getPrototypeOf(t._zod);if(r in o&&i!==t._zod){i=void 0;return}i=t._zod,Object.defineProperty(o,r,{configurable:!0,get(){Object.defineProperty(this,r,eu);let t=es;es=!1;try{let i=n(this);return es?delete this[r]:Object.defineProperty(this,r,{configurable:!0,writable:!0,value:i}),es=es||t,i}catch(n){throw delete this[r],es=es||t,n}},set(t){Object.defineProperty(this,r,{configurable:!0,writable:!0,value:t})}})}function ec(t,r,n,i){let o=function(t,r){let n=Object.getPrototypeOf(t);return r in n?void 0:n}(t,r);o&&Object.defineProperty(o,r,{configurable:!0,get(){let t={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,r,t),t.value=n(this),Object.defineProperty(this,r,t),t.value},set(t){Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:i,value:t})}})}function ed(t){let r=()=>t;return r["~constantCatch"]=!0,r}},59705:(t,r,n)=>{let i;n.d(r,{rSt:()=>rn,YOg:()=>rd,zMY:()=>rs,aig:()=>ri,Ikc:()=>rp,YjP:()=>tU});var o=n(5426),a=n(26713);class s extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}}let u="~memo",l=[];function c(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function d(t){return t.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}let f=new WeakMap,p=[],h={alloc(t,r,n){let o=i;if(!o)return n;i=void 0;let a={value:n,issues:null};return o.set(r.value,a),p.push(a),n},guard(t){var r;(r=t._zod).deferred??(r.deferred=[]),t._zod.deferred.push(()=>{let r=t._zod.parse,n=(t,n)=>{if("backward"!==n.direction&&function(t,r){let n=t[u]?.backEdges;return void 0!==n&&c(r)&&n.has(r)}(n,t.value))throw new s;return r(t,n)};t._zod.parse=n,t._zod.run===r&&(t._zod.run=n)})},attach(t){var r;let n,o,s,h=!1;(r=t._zod).deferred??(r.deferred=[]),t._zod.deferred.push(()=>{let r=t._zod.parse,m=(v,g)=>{let y;if(void 0===n){let i=function t(r,n,i){var o,s;let u=f.get(r);if(void 0!==u)return 2*!!u;if(n.has(r))return 2;n.add(r);let l=0,c=r=>{if(2!==l&&r?._zod){let o=t(r,n,i);o>l&&(l=o)}},d=(r,o)=>{let a=0;for(let s of Reflect.ownKeys(r)){let u=Object.getOwnPropertyDescriptor(r,s);if(o&&!u.enumerable)continue;let l=u.get?1:u.value?._zod?t(u.value,n,i):0;l>a&&(a=l)}return a},p=t=>{t>l&&(l=t)},h=r._zod.def;switch(h.type){case"object":{let t=a.MO(h);p(t?d(t,!0):1),c(h.catchall);break}case"properties":p(d(h.shape,!1));break;case"array":c(h.element);break;case"tuple":for(let t of h.items)c(t);c(h.rest);break;case"record":case"map":c(h.keyType),c(h.valueType);break;case"set":c(h.valueType);break;case"union":for(let t of h.options)c(t);break;case"intersection":c(h.left),c(h.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":c(h.innerType);break;case"pipe":c(h.in),c(h.out);break;case"function":c(h.input),c(h.output);break;case"lazy":{let o=h._cachedInner??(i?r._zod.innerType:void 0);p(o?t(o,n,!1):1);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom"
1:break;default:for(let t in h){let r=Object.getOwnPropertyDescriptor(h,t);if(!r||r.get)continue;let n=r.value;if(n&&"object"==typeof n){if(n._zod)c(n);else if(Array.isArray(n))for(let t of n)c(t)}}}return n.delete(r),o=r,1!==(s=l)&&f.set(o,2===s),s}(t,new Set,!1);if(0===i)return t._zod.parse=r,t._zod.run===m&&(t._zod.run=r),r(v,g);2===i||h?n=!0:h=!0}let _=v.value;if(!c(_))return r(v,g);let b=g[u];if(b||(b={buckets:new WeakMap,backEdges:void 0},g[u]=b),o===g)y=s;else{var z;let r;(r=(z=b).buckets.get(t))||(r=new WeakMap,z.buckets.set(t,r)),y=r,o=g,s=y}let w=y.get(_);if(w)return v.value=w.value,w.issues?w.issues.length&&v.issues.push(...d(w.issues)):(v.memo=!0,b.backEdges??(b.backEdges=new WeakSet),b.backEdges.add(w.value)),v;i=y;let k=p.length,x=r(v,g);i=void 0;let $=p.length>k?p.pop():void 0;return x instanceof Promise?x.then(t=>($&&($.issues=t.issues.length?d(t.issues):l),t)):($&&($.issues=x.issues.length?d(x.issues):l),x)};t._zod.parse=m,t._zod.run===r&&(t._zod.run=m)})}};var m=n(9560);class v{constructor(t=[],r={}){this.content=[],this.indent=0,this.args=t,this.closed=r}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if("function"==typeof t){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let r=t.split("\n").filter(t=>t),n=Math.min(...r.map(t=>t.length-t.trimStart().length));for(let t of r.map(t=>t.slice(n)).map(t=>" ".repeat(2*this.indent)+t))this.content.push(t)}compile(){let t=Function,r=this?.content??[""];return new t(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
2${r.join("\n")}
3};`)(...Object.values(this.closed))}}var g=n(81928);let y={major:4,minor:6,patch:2},_=o.xI("$ZodType",(t,r)=>{var n;t??(t={}),t._zod.def=r,t._zod.bag=t._zod.bag||{},t._zod.version=y;let i=t._zod.def.checks,s=t._zod.traits.has("$ZodCheck")?[t,...i??[]]:i?.length?[...i]:[];for(let r of s)for(let n of r._zod.onattach)n(t);if(0===s.length)(n=t._zod).deferred??(n.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{let r=(r,n,i)=>{let s;if(r.memo)return r;let u=a.QH(r);for(let l of n){if(l._zod.def.when){if(a.rL(r)||!l._zod.def.when(r))continue}else if(u)continue;let n=r.issues.length,c=l._zod.check(r);if(c instanceof Promise&&i?.async===!1)throw new o.GT;if(s||c instanceof Promise)s=(s??Promise.resolve()).then(async()=>{await c,r.issues.length!==n&&(a.d3(r.issues,n,t),u||(u=a.QH(r,n)))});else{if(r.issues.length===n)continue;a.d3(r.issues,n,t),u||(u=a.QH(r,n))}}return s?s.then(()=>r):r},n=(n,i,u)=>{if(a.QH(n))return n.aborted=!0,n;let l=r(i,s,u);if(l instanceof Promise){if(!1===u.async)throw new o.GT;return l.then(r=>t._zod.parse(r,u))}return t._zod.parse(l,u)};t._zod.run=(i,a)=>
3{if(a.skipChecks)return t._zod.parse(i,a);if("backward"===a.direction){let r=t._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return r instanceof Promise?r.then(t=>n(t,i,a)):n(r,i,a)}let u=t._zod.parse(i,a);if(u instanceof Promise){if(!1===a.async)throw new o.GT;return u.then(t=>r(t,s,a))}return r(u,s,a)}}},{get"~standard"(){return a.jD(this,"~standard",w(this))},set"~standard"(value){a.qh(this,"~standard",value)}}),b=(t,r)=>t.issues.length?{issues:t.issues.map(t=>a.iR(t,r,o.$W()))}:{value:t.value};async function z(t,r){let n={async:!0};return b(await t._zod.run({value:r,issues:[]},n),n)}function w(t){return{validate:r=>{let n={async:!1};try{let i=t._zod.run({value:r,issues:[]},n);if(!(i instanceof Promise))return b(i,n)}catch(t){}return z(t,r)},vendor:"zod",version:1}}let k=o.xI("$ZodString",(t,r)=>{_.init(t,r),t._zod.pattern=r.pattern??g.gp,t._zod.parse=(n,i)=>{if(r.coerce)try{n.value=String(n.value)}catch(t){}return"string"==typeof n.value||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:t}),n}}),x=o.xI("$ZodStringFormat",(t,r)=>{m.ql.init(t,r),k.init(t,r)}),$=o.xI("$ZodGUID",(t,r)=>{r.pattern??(r.pattern=g.Os),x.init(t,r)}),O=o.xI("$ZodUUID",(t,r)=>{if(r.version){let t={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(void 0===t)throw Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=g.uR(t))}else r.pattern??(r.pattern=g.uR());x.init(t,r)}),I=o.xI("$ZodEmail",(t,r)=>{r.pattern??(r.pattern=g.Rp),x.init(t,r)}),A=/[\t\n\r]/g,S=o.xI("$ZodURL",(t,r)=>{x.init(t,r),t._zod.check=n=>{try{let i=n.value.trim(),o=function(t,r){if(!r.normalize&&r.protocol?.source===g.F.source&&!/^https?:\/\//i.test(t))return 1;try{return new URL(t)}catch{return 2}}(i,r);if(1===o)return void n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:t,continue:!r.abort});if(2===o)return void n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!r.abort});r.hostname&&!function(t,r){return r.lastIndex=0,r.test(t.hostname)}(o,r.hostname)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:n.value,inst:t,continue:!r.abort}),r.protocol&&!function(t,r){return r.lastIndex=0,r.test(t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol)}(o,r.protocol)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:n.value,inst:t,continue:!r.abort}),n.value=r.normalize?o.href:i.replace(A,"");return}catch(i){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!r.abort})}}}),j=o.xI("$ZodEmoji",(t,r)=>{r.pattern??(r.pattern=g.Zg()),x.init(t,r)}),P=o.xI("$ZodNanoID",(t,r)=>{if(void 0!==r.length&&(!Number.isInteger(r.length)||r.length<1))throw Error(`Invalid nanoid length: ${r.length}`);r.pattern??(r.pattern=void 0===r.length?g.Ak:g.D2(r.length)),x.init(t,r)}),Z=o.xI("$ZodCUID",(t,r)=>{r.pattern??(r.pattern=g.gF),x.init(t,r)}),E=o.xI("$ZodCUID2",(t,r)=>{r.pattern??(r.pattern=g.Gl),x.init(t,r)}),T=o.xI("$ZodULID",(t,r)=>{r.pattern??(r.pattern=g.Z0),x.init(t,r)}),N=o.xI("$ZodXID",(t,r)=>{r.pattern??(r.pattern=g.kM),x.init(t,r)}),R=o.xI("$ZodKSUID",(t,r)=>{r.pattern??(r.pattern=g.fO),x.init(t,r)}),F=o.xI("$ZodISODateTime",(t,r)=>{r.pattern??(r.pattern=g.w$(r)),x.init(t,r)}),D=o.xI("$ZodISODate",(t,r)=>{r.pattern??(r.pattern=g.p6),x.init(t,r)}),M=o.xI("$ZodISOTime",(t,r)=>{r.pattern??(r.pattern=g.kB(r)),x.init(t,r)}),J=o.xI("$ZodISODuration",(t,r)=>{r.pattern??(r.pattern=g.p0),x.init(t,r)}),C=o.xI("$ZodIPv4",(t,r)=>{r.pattern??(r.pattern=g.uX),x.init(t,r)}),U=/^[0-9a-fA-F:.]+$/;function L(t){if(!U.test(t))return!1;try{return new URL(`http://[${t}]`),!0}catch{return!1}}let W=o.xI("$ZodIPv6",(t,r)=>{r.pattern??(r.pattern=g.ug),x.init(t,r),t._zod.check=n=>{L(n.value)||n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:t,continue:!r.abort})}}),V=o.xI("$ZodCIDRv4",(t,r)=>{r.pattern??(r.pattern=g.zr),x.init(t,r)}),G=o.xI("$ZodCIDRv6",(t,r)=>{r.pattern??(r.pattern=g.l7),x.init(t,r),t._zod.check=n=>{!function(t){let r=t.split("/");if(2!==r.length)return!1;let[n,i]=r;if(!i)return!1;let o=Number(i);return`${o}`===i&&!(o<0)&&!(o>128)&&L(n)}(n.value)&&n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:t,continue:!r.abort})}});function K(t){if(""===t)return!0;
3if(/\s/.test(t)||t.length%4!=0)return!1;try{return atob(t),!0}catch{return!1}}let Q=/^[0-9a-zA-Z+/]*={0,2}$/,B=o.xI("$ZodBase64",(t,r)=>{r.pattern??(r.pattern=Q),x.init(t,r),t._zod.check=n=>{K(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!r.abort})}}),H=/^[A-Za-z0-9_-]*$/,q=o.xI("$ZodBase64URL",(t,r)=>{r.pattern??(r.pattern=H),x.init(t,r),t._zod.check=n=>{!function(t){if(!H.test(t))return!1;let r=t.replace(/[-_]/g,t=>"-"===t?"+":"/");return K(r.padEnd(4*Math.ceil(r.length/4),"="))}(n.value)&&n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!r.abort})}}),Y=o.xI("$ZodE164",(t,r)=>{r.pattern??(r.pattern=g.hQ),x.init(t,r)}),X=o.xI("$ZodJWT",(t,r)=>{x.init(t,r),t._zod.check=n=>{!function(t,r=null){try{let n=t.split(".");if(3!==n.length)return!1;let[i]=n;if(!i)return!1;let o=JSON.parse(atob(i));if("typ"in o&&o?.typ!=="JWT"||!o.alg||r&&(!("alg"in o)||o.alg!==r))return!1;return!0}catch{return!1}}(n.value,r.alg)&&n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!r.abort})}}),ee=o.xI("$ZodNumber",(t,r)=>{_.init(t,r),t._zod.pattern=g.ai,t._zod.parse=(n,i)=>{if(r.coerce)try{n.value=Number(n.value)}catch(t){}let o=n.value;if("number"==typeof o&&!Number.isNaN(o)&&Number.isFinite(o))return n;let a="number"==typeof o?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:String(o):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:o,inst:t,...a?{received:a}:{}}),n}}),et=o.xI("$ZodNumberFormat",(t,r)=>{m.KH.init(t,r),ee.init(t,r)}),er=o.xI("$ZodBoolean",(t,r)=>{_.init(t,r),t._zod.pattern=g.zM,t._zod.parse=(n,i)=>{if(r.coerce)try{n.value=!!n.value}catch(t){}let o=n.value;return"boolean"==typeof o||n.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:t}),n}}),en=((t,r)=>{_.init(t,r),t._zod.pattern=g.o,t._zod.parse=(n,i)=>{if(r.coerce)try{n.value=BigInt(n.value)}catch(t){}return"bigint"==typeof n.value||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:t}),n}},o.xI("$ZodUnknown",(t,r)=>{_.init(t,r),t._zod.parse=t=>t})),ei=o.xI("$ZodNever",(t,r)=>{_.init(t,r),t._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:t}),r)});function eo(t,r,n){t.issues.length&&r.issues.push(...a.lQ(n,t.issues)),r.value[n]=t.value}(t,r)=>{_.init(t,r),t._zod.parse=(n,i)=>{if(r.coerce)try{n.value=new Date(n.value)}catch(t){}let o=n.value,a=o instanceof Date;return a&&!Number.isNaN(o.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:o,...a?{received:"Invalid Date"}:{},inst:t}),n}};let ea=o.xI("$ZodArray",(t,r)=>{_.init(t,r);let n=o.cr.memoizer;n?.attach(t),t._zod.parse=(i,o)=>{let s=i.value;if(!Array.isArray(s))return i.issues.push({expected:"array",code:"invalid_type",input:s,inst:t}),i;i.value=n?n.alloc(t,i,Array(s.length),o):Array(s.length);let u=[],l=o?.abortEarly;for(let t=0;t<s.length;t++){let n=s[t],c=r.element._zod.run({value:n,issues:[]},o);if(c instanceof Promise)u.push(c.then(r=>eo(r,i,t)));else if(eo(c,i,t),l&&0!==c.issues.length&&a.QH(c))break}return u.length?Promise.all(u).then(()=>i):i}});function es(t,r,n,i,o,s){let u=n in i,l="optional"===s;if(u||!l||"optional"!==o){if(t.issues.length){if(void 0!==o&&l&&!u)return;r.issues.push(...a.lQ(n,t.issues))}if(!u&&void 0===o){t.issues.length||r.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}void 0===t.value?(u||"defaulted"===o&&!l)&&(r.value[n]=void 0):r.value[n]=t.value}}let eu=[];function el(t){let r=Object.keys(t.shape),n=Object.getOwnPropertySymbols(t.shape),i=n.length?n:eu,o=i.length?[...r,...i]:r;for(let r of o)if(!t.shape?.[r]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(r)}": expected a Zod schema`);let s=a.NM(t.shape);return{...t,allKeys:o,symbolKeys:i,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(s)}}function ec(t,r,n,i,o,s,u){let l=[],c=o.keySet,d=o.catchall._zod,f=d.def.type,p=d.optin,h=d.optout,m=0;for(let o in r){if(u&&n.issues.length!==m){if(a.QH(n,m))break;m=n.issues.length}if(c.has(o))continue;if("__proto__"===o){"never"===f&&l.push(o);continue}if("never"===f){l.push(o);continue}let s=d.run({value:r[o],issues:[]},i);s instanceof Promise?t.push(s.then(t=>
3es(t,n,o,r,p,h))):es(s,n,o,r,p,h)}return(l.length&&n.issues.push({code:"unrecognized_keys",keys:l,input:r,inst:s,continue:!0}),t.length)?Promise.all(t).then(()=>n):n}let ed=o.xI("$ZodObject",(t,r)=>{let n;_.init(t,r);let i=Object.getOwnPropertyDescriptor(r,"shape"),s=i?.get?i.get.raw:r.shape??{};if(s){let t=()=>{let n={...s};return Object.defineProperty(r,"shape",{value:n}),t.raw=n,n};t.raw=s,Object.defineProperty(r,"shape",{get:t})}let u=a.PO(()=>el(r));a.v5(t,"propValues",t=>{let r=t.def.shape,n={};for(let t in r){let i=r[t]._zod;if(i.values){for(let r of(Object.prototype.hasOwnProperty.call(n,t)||a.Vy(n,t,new Set),i.values))n[t].add(r);void 0!==i.optin&&n[t].add(void 0)}}return n});let l=a.Gv,c=r.catchall,d=o.cr.memoizer;d?.attach(t),t._zod.parse=(r,i)=>{n??(n=u.value);let o=r.value;if(!l(o))return r.issues.push({expected:"object",code:"invalid_type",input:o,inst:t}),r;r.value=d?d.alloc(t,r,{},i):{};let s=[],f=n.shape,p=i?.abortEarly,h=r.issues.length;for(let t of n.allKeys){if(p&&r.issues.length!==h){if(a.QH(r,h))break;h=r.issues.length}if("__proto__"===t)continue;let n=f[t],u=n._zod.optin,l=n._zod.optout,c=n._zod.run({value:o[t],issues:[]},i);c instanceof Promise?s.push(c.then(n=>es(n,r,t,o,u,l))):es(c,r,t,o,u,l)}
3return c?ec(s,o,r,i,u.value,t,!0===p):s.length?Promise.all(s).then(()=>r):r}}),ef=o.xI("$ZodObjectJIT",(t,r)=>{let n,i;ed.init(t,r);let s=t._zod.parse,u=a.PO(()=>el(r)),l=o.cr.memoizer,c=a.Gv,d=!o.cr.jitless,f=a.hI,p=d&&f.value,h=r.catchall;t._zod.parse=(o,f)=>{i??(i=u.value);let m=o.value;return c(m)?d&&p&&f?.async===!1&&!0!==f.jitless?(n||(n=(r=>{let n=u.value,i=n.symbolKeys,o=new v(["payload","ctx"],{shape:r,inst:t,memo:l,syms:i}),s=t=>`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`,c=(t,r)=>`
4          let ${t}_ab = false;
5          for (let i = 0; i < ${t}.issues.length; i++) {
6            const iss = ${t}.issues[i];
7            iss.path = iss.path ? [${r}, ...iss.path] : [${r}];
8            payload.issues.push(iss);
9            if (iss.continue !== true) ${t}_ab = true;
10          }
11          if (${t}_ab && ctx && ctx.abortEarly) {
12            payload.value = newResult;
13            return payload;
14          }`;o.write("const input = payload.value;");let d=Object.create(null),f=0;for(let t of n.allKeys)d[t]=`key_${f++}`;for(let t of(o.write(l?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};"),n.allKeys)){if("__proto__"===t)continue;let n=d[t],u="symbol"==typeof t?`syms[${i.indexOf(t)}]`:a.UQ(t),l=`${u} in input`,f=r[t],p=f?._zod?.optin,h=void 0!==p,m=f?._zod?.optout==="optional";if(o.write(`const ${n} = ${s(u)};`),h&&m){let t="optional"===p?`${n}_present`:`${n}.value !== undefined || ${n}_present`;o.write(`
15        const ${n}_present = ${l};
16        if (!${n}.issues.length || ${n}_present) {
17          if (${n}.issues.length) {${c(n,u)}
18          }
19
20          if (${t}) {
21            newResult[${u}] = ${n}.value;
22          }
23        }
24
25      `)}else h?(o.write(`
26        if (${n}.issues.length) {${c(n,u)}
27        }
28      `),"defaulted"===p?o.write(`newResult[${u}] = ${n}.value;`):o.write(`
29        if (${n}.value !== undefined || ${l}) {
30          newResult[${u}] = ${n}.value;
31        }
32      `)):o.write(`
33        const ${n}_present = ${l};
34        if (${n}.issues.length) {${c(n,u)}
35        }
36        if (!${n}_present && !${n}.issues.length) {
37          payload.issues.push({
38            code: "invalid_type",
39            expected: "nonoptional",
40            input: undefined,
41            path: [${u}]
42          });
43          if (ctx && ctx.abortEarly) {
44            payload.value = newResult;
45            return payload;
46          }
47        }
48
49        if (${n}_present) {
50          newResult[${u}] = ${n}.value;
51        }
52
53      `)}return o.write("payload.value = newResult;"),o.write("return payload;"),o.compile()})(r.shape)),o=n(o,f),h)?ec([],m,o,f,i,t,f?.abortEarly===!0):o:s(o,f):(o.issues.push({expected:"object",code:"invalid_type",input:m,inst:t}),o)}});function ep(t,r,n,i){for(let n of t)if(0===n.issues.length)return r.value=n.value,r;let s=t.filter(t=>!a.QH(t));return 1===s.length?(r.value=s[0].value,s[0]):(r.issues.push({code:"invalid_union",input:r.value,inst:n,errors:t.map(t=>t.issues.map(t=>a.iR(t,i,o.$W())))}),r)}let eh=o.xI("$ZodUnion",(t,r)=>{_.init(t,r),a.v5(t,"optin",t=>t.def.options.some(t=>"defaulted"===t._zod.optin)?"defaulted":t.def.options.some(t=>void 0!==t._zod.optin)?"optional":void 0),a.v5(t,"optout",t=>t.def.options.some(t=>"optional"===t._zod.optout)?"optional":void 0),a.v5(t,"values",t=>{if(t.def.options.every(t=>t._zod.values))return new Set(t.def.options.flatMap(t=>Array.from(t._zod.values)))}),a.v5(t,"pattern",t=>{if(t.def.options.every(t=>t._zod.pattern)){let r=t.def.options.map(t=>t._zod.pattern);return RegExp(`^(${r.map(t=>a.p6(t.source)).join("|")})$`)}});let n=1===r.options.length?r.options[0]._zod.run:null;t._zod.parse=(i,o)=>{if(n)return n(i,o);let a=!1,s=[];for(let t of r.options){let r=t._zod.run({value:i.value,issues:[]},o);if(r instanceof Promise)s.push(r),a=!0;else{if(0===r.issues.length)return r;s.push(r)}}return a?Promise.all(s).then(r=>ep(r,i,t,o)):ep(s,i,t,o)}}),em=o.xI("$ZodIntersection",(t,r)=>{_.init(t,r),t._zod.parse=(t,n)=>{let i=t.value,o=r.left._zod.run({value:i,issues:[]},n),a=r.right._zod.run({value:i,issues:[]},n);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([r,n])=>ev(t,r,n)):ev(t,o,a)}});function ev(t,r,n){let i,o=new Map,s=new Map,u=(t,r)=>{let n;if("unrecognized_keys"!==t.code||t.path?.length)if("invalid_key"!==t.code||"record"!==t.origin||t.path?.length!==1)return!1;else{let r=String(t.path[0]);s.has(r)||s.set(r,t),n=[r]}else i??(i=t),n=t.keys;for(let t of n)o.has(t)||o.set(t,{}),o.get(t)[r]=!0;return!0};for(let n of r.issues)u(n,"l")||t.issues.push(n);for(let r of n.issues)u(r,"r")||t.issues.push(r);let l=[...o].filter(([,t])=>t.l&&t.r).map(([t])=>t);if(l.length){let r=i?l.filter(t=>i.keys.includes(t)):[];for(let n of(r.length&&t.issues.push({...i,keys:r}),l))!r.includes(n)&&s.has(n)&&t.issues.push(s.get(n))}let c=function t(r,n){if(r===n||r instanceof Date&&n instanceof Date&&+r==+n)return{valid:!0,data:r};if(a.Qd(r)&&a.Qd(n)){let i=Object.keys(n),o=Object.keys(r).filter(t=>-1!==i.indexOf(t)),a={...r,...n};for(let i of(Object.prototype.hasOwnProperty.call(a,"__proto__")&&delete a.__proto__,o)){if("__proto__"===i)continue;let o=t(r[i],n[i]);
53if(!o.valid)return{valid:!1,mergeErrorPath:[i,...o.mergeErrorPath]};a[i]=o.data}return{valid:!0,data:a}}if(Array.isArray(r)&&Array.isArray(n)){if(r.length!==n.length)return{valid:!1,mergeErrorPath:[]};let i=[];for(let o=0;o<r.length;o++){let a=t(r[o],n[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};i.push(a.data)}return{valid:!0,data:i}}return{valid:!1,mergeErrorPath:[]}}(r.value,n.value);if(!c.valid){if(a.QH(t))return t;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return t.value=c.data,t}function eg(t,r){for(let n=t.length-1;n>=0;n--)if(!("optin"===r?void 0!==t[n]._zod.optin:"optional"===t[n]._zod.optout))return n+1;return 0}function ey(t,r,n){t.issues.length&&r.issues.push(...a.lQ(n,t.issues)),r.value[n]=t.value}function e_(t,r,n,i,o){for(let s=0;s<n.length;s++){let u=t[s],l=s<i.length;if(!l&&s>=o&&"optional"===n[s]._zod.optin){r.value.length=s;break}if(u.issues.length){if(!l&&s>=o){r.value.length=s;break}r.issues.push(...a.lQ(s,u.issues))}r.value[s]=u.value}for(let t=r.value.length-1;t>=i.length;t--)if("optional"===n[t]._zod.optout&&void 0===r.value[t])r.value.length=t;else break;return r}(t,r)=>{_.init(t,r);let n=r.items,i=o.cr.memoizer;i?.attach(t),t._zod.parse=(o,s)=>{let u=o.value;if(!Array.isArray(u))return o.issues.push({input:u,inst:t,expected:"tuple",code:"invalid_type"}),o;o.value=i?i.alloc(t,o,[],s):[];let l=[],c=eg(n,"optin"),d=eg(n,"optout");if(!r.rest){if(u.length<c)return o.issues.push({code:"too_small",minimum:c,inclusive:!0,input:u,inst:t,origin:"array"}),o;u.length>n.length&&o.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:u,inst:t,origin:"array"})}let f=Array(n.length),p=r.rest?s?.abortEarly:void 0,h=!1;for(let t=0;t<n.length;t++){let r=n[t]._zod.run({value:u[t],issues:[]},s);r instanceof Promise?l.push(r.then(r=>{f[t]=r})):(f[t]=r,p&&!h&&r.issues.length&&(h=a.QH(r)))}if(r.rest&&!h){let t=n.length-1,i=u.slice(n.length),c=o.issues.length;for(let n of i){if(p&&o.issues.length!==c){if(a.QH(o,c))break;c=o.issues.length}t++;let i=r.rest._zod.run({value:n,issues:[]},s);i instanceof Promise?l.push(i.then(r=>ey(r,o,t))):ey(i,o,t)}}return l.length?Promise.all(l).then(()=>e_(f,o,n,u,d)):e_(f,o,n,u,d)}};let eb=o.xI("$ZodEnum",(t,r)=>{_.init(t,r);let n=a.w5(r.entries),i=new Set(n);t._zod.values=i,a.v5(t,"pattern",t=>{let r=a.w5(t.def.entries).filter(t=>a.qQ.has(typeof t));return new RegExp(r.length?`^(${r.map(t=>a.sD(t.toString())).join("|")})$`:"^[^\\s\\S]$")}),t._zod.parse=(r,o)=>{let a=r.value;return i.has(a)||r.issues.push({code:"invalid_value",values:n,input:a,inst:t}),r}}),ez=o.xI("$ZodTransform",(t,r)=>{_.init(t,r),t._zod.optin="optional",o.cr.memoizer?.guard(t),t._zod.parse=(n,i)=>{if("backward"===i.direction)throw new o.cV(t.constructor.name);let a=r.transform(n.value,n);if(i.async)return(a instanceof Promise?a:Promise.resolve(a)).then(t=>(n.value=t,n));if(a instanceof Promise)throw new o.GT;return n.value=a,n}});function ew(t,r){return t.value=r.issues.length?void 0:r.value,t}let ek=o.xI("$ZodOptional",(t,r)=>{_.init(t,r),a.v5(t,"optin",t=>"defaulted"===t.def.innerType._zod.optin?"defaulted":"optional"),t._zod.optout="optional",a.v5(t,"values",t=>{let r=t.def.innerType._zod.values;return r?new Set([...r,void 0]):void 0}),a.v5(t,"pattern",t=>{let r=t.def.innerType._zod.pattern;return r?RegExp(`^(${a.p6(r.source)})?$`):void 0}),t._zod.parse=(t,n)=>{if(void 0===t.value){if("defaulted"!==r.innerType._zod.optin)return t;let i=r.innerType._zod.run({value:t.value,issues:[]},n);return i instanceof Promise?i.then(r=>ew(t,r)):ew(t,i)}return r.innerType._zod.run(t,n)}}),ex=o.xI("$ZodExactOptional",(t,r)=>{ek.init(t,r),a.v5(t,"values",t=>t.def.innerType._zod.values),a.v5(t,"pattern",t=>t.def.innerType._zod.pattern),t._zod.parse=(t,n)=>r.innerType._zod.run(t,n)}),e$=o.xI("$ZodNullable",(t,r)=>{_.init(t,r),a.v5(t,"optin",t=>t.def.innerType._zod.optin),a.v5(t,"optout",t=>t.def.innerType._zod.optout),a.v5(t,"pattern",t=>{let r=t.def.innerType._zod.pattern;return r?RegExp(`^(${a.p6(r.source)}|null)$`):void 0}),a.v5(t,"values",t=>t.def.innerType._zod.values?new Set([...t.def.innerType._zod.values,null]):void 0),t._zod.parse=(t,n)=>null===t.value?t:r.innerType._zod.run(t,n)}),eO=o.xI("$ZodDefault",(t,r)=>{_.init(t,r),t._zod.optin="defaulted",a.v5(t,"values",t=>t.def.innerType._zod.values),t._zod.parse=(t,n)=>{if("backward"===n.direction)return r.innerType._zod.run(t,n);if(void 0===t.value)return t.value=r.defaultValue,t;let i=r.innerType._zod.run(t,n);return i instanceof Promise?i.then(t=>eI(t,r)):eI(i,r)}});function eI(t,r){return void 0===t.value&&(t.value=r.defaultValue),t}let eA=o.xI("$ZodPrefault",(t,r)=>{_.init(t,r),t._zod.optin="defaulted",a.v5(t,"values",t=>t.def.innerType._zod.values),t._zod.parse=(t,n)=>("backward"===n.direction||void 0===t.value&&(t.value=r.defaultValue),r.innerType._zod.run(t,n))}),eS=o.xI("$ZodNonOptional",(t,r)=>{_.init(t,r),a.v5(t,"values",t=>{let r=t.def.innerType._zod.values;return r?new Set([...r].filter(t=>void 0!==t)):void 0}),t._zod.parse=(n,i)=>{let o=r.innerType._zod.run(n,i);return o instanceof Promise?o.then(r=>ej(r,t)):ej(o,t)}});function ej(t,r){return t.issues.length||void 0!==t.value||t.issues.push({code:"invalid_type",expected:"nonoptional",input:t.value,inst:r}),t}
53function eP(t,r,n,i){return r.issues.length?t.value=n.catchValue({...r,value:t.value,error:{issues:r.issues.map(t=>a.iR(t,i,o.$W()))},input:t.value}):(t.value=r.value,r.memo&&(t.memo=!0)),t}let eZ=o.xI("$ZodCatch",(t,r)=>{_.init(t,r),a.v5(t,"optin",t=>"defaulted"===t.def.innerType._zod.optin?"defaulted":"optional"),a.v5(t,"optout",t=>t.def.innerType._zod.optout),a.v5(t,"values",t=>t.def.innerType._zod.values),t._zod.parse=(t,n)=>{if("backward"===n.direction)return r.innerType._zod.run(t,n);let i=r.innerType._zod.run({value:t.value,issues:[]},n);return i instanceof Promise?i.then(i=>eP(t,i,r,n)):eP(t,i,r,n)}}),eE=o.xI("$ZodPipe",(t,r)=>{_.init(t,r),a.v5(t,"values",t=>t.def.in._zod.values),a.v5(t,"optin",t=>t.def.in._zod.optin),a.v5(t,"optout",t=>t.def.out._zod.optout),a.v5(t,"propValues",t=>t.def.in._zod.propValues),t._zod.parse=(t,n)=>{if("backward"===n.direction){let i=r.out._zod.run(t,n);return i instanceof Promise?i.then(t=>eT(t,r.in,n)):eT(i,r.in,n)}let i=r.in._zod.run(t,n);return i instanceof Promise?i.then(t=>eT(t,r.out,n)):eT(i,r.out,n)}});function eT(t,r,n){return t.issues.some(t=>"unrecognized_keys"!==t.code)?(t.aborted=!0,t):r._zod.run({value:t.value,issues:t.issues},n)}let eN=o.xI("$ZodReadonly",(t,r)=>{_.init(t,r),a.v5(t,"propValues",t=>t.def.innerType._zod.propValues),a.v5(t,"values",t=>t.def.innerType._zod.values),a.v5(t,"optin",t=>t.def.innerType?._zod?.optin),a.v5(t,"optout",t=>t.def.innerType?._zod?.optout),t._zod.parse=(t,n)=>{if("backward"===n.direction)return r.innerType._zod.run(t,n);let i=r.innerType._zod.run(t,n);return i instanceof Promise?i.then(eR):eR(i)}});function eR(t){return t.memo||(t.value=Object.freeze(t.value)),t}let eF=o.xI("$ZodCustom",(t,r)=>{m.QP.init(t,r),_.init(t,r),t._zod.parse=(t,r)=>t,t._zod.check=n=>{let i=n.value,o=r.fn(i);if(o instanceof Promise)return o.then(r=>eD(r,n,i,t));eD(o,n,i,t)}});function eD(t,r,n,i){if(!t){let t={code:"custom",input:n,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(t.params=i._zod.def.params),r.issues.push(a.sn(t))}}function eM(t,r,n){t.issues.length&&r.issues.push(...a.lQ(n,t.issues))}let eJ=o.xI("$ZodProperties",(t,r)=>{let n;_.init(t,r),m.QP.init(t,r);let i=o.cr.memoizer;i?.attach(t);let a=(t,i)=>{let o;n??(n=Reflect.ownKeys(r.shape).map(t=>[t,r.shape[t]]));let a=t.value;for(let[r,s]of n){let n=s._zod.run({value:a[r],issues:[]},i);n instanceof Promise?(o??(o=[]),o.push(n.then(n=>eM(n,t,r)))):eM(n,t,r)}if(o)return Promise.all(o).then(()=>void 0)};t._zod.parse=(r,n)=>{let o=r.value;if(null===o||"object"!=typeof o&&"function"!=typeof o)return r.issues.push({expected:"object",code:"invalid_type",input:o,inst:t}),r;"backward"===n.direction&&(n={...n,direction:"forward"}),i&&i.alloc(t,r,o,n);let s=a(r,n);return s instanceof Promise?s.then(()=>r):r},t._zod.check=r=>null==r.value?void r.issues.push({expected:"object",code:"invalid_type",input:r.value,inst:t}):a(r,{})},{*[Symbol.iterator](){yield this}});var eC=n(23978),eU=n(2463);function eL(t,...r){for(let n of r)for(let r of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,r)&&(0,a.Vy)(t,r,n[r]);return t}function eW(t){let r=t?.target??"draft-2020-12";return"draft-4"===r&&(r="draft-04"),"draft-7"===r&&(r="draft-07"),{processors:t.processors??{},metadataRegistry:t?.metadata??eC.fd,target:r,unrepresentable:t?.unrepresentable??"throw",override:t?.override??(()=>{}),io:t?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:t?.cycles??"ref",reused:t?.reused??"inline",intersections:[],deferred:[],external:t?.external??void 0}}function eV(t,r,n,i,o){let a="function"==typeof r.unrepresentable?r.unrepresentable({zodSchema:t,path:i.path,message:o}):r.unrepresentable;if("any"===a)return!1;if(void 0===a||"throw"===a)throw Error(o);return Object.assign(n,a),!0}function eG(t,r,n={path:[],schemaPath:[]}){var i;let o=t._zod.def,a=r.seen.get(t);if(a)return a.count++,n.schemaPath.includes(t)&&(a.cycle=n.path),a.schema;let s={schema:{},count:1,cycle:void 0,path:n.path};r.seen.set(t,s),r.sharedDefsExtractedFor=void 0,r.sharedEmitDoneFor=void 0;let u=t._zod.toJSONSchema?.();if(u)s.schema=u;else{let i={...n,schemaPath:[...n.schemaPath,t],path:n.path};if(t._zod.processJSONSchema)t._zod.processJSONSchema(r,s.schema,i);else{let n=s.schema,a=r.processors[o.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);a(t,r,n,i)}let a=t._zod.parent;a&&(s.ref||(s.ref=a),eG(a,r,i),r.seen.get(a).isParent=!0)}let l=r.metadataRegistry.get(t);return l&&eL(s.schema,l),"input"===r.io&&function t(r,n){let i=n??{seen:new Set};if(i.seen.has(r))return!1;i.seen.add(r);let o=r._zod.def;if("transform"===o.type)return!0;
53if("array"===o.type)return t(o.element,i);if("set"===o.type)return t(o.valueType,i);if("lazy"===o.type)return t(o.getter(),i);if("promise"===o.type||"optional"===o.type||"nonoptional"===o.type||"nullable"===o.type||"readonly"===o.type||"default"===o.type||"prefault"===o.type||"catch"===o.type)return t(o.innerType,i);if("intersection"===o.type)return t(o.left,i)||t(o.right,i);if("record"===o.type||"map"===o.type)return t(o.keyType,i)||t(o.valueType,i);if("pipe"===o.type)return!!r._zod.traits.has("$ZodCodec")||t(o.in,i)||t(o.out,i);if("object"===o.type){for(let r in o.shape)if(t(o.shape[r],i))return!0;return!1}if("union"===o.type){for(let r of o.options)if(t(r,i))return!0;return!1}if("tuple"===o.type){for(let r of o.items)if(t(r,i))return!0;if(o.rest&&t(o.rest,i))return!0}return!1}(t)&&(delete s.schema.examples,delete s.schema.default),"input"===r.io&&"_prefault"in s.schema&&((i=s.schema).default??(i.default=s.schema._prefault)),delete s.schema._prefault,r.seen.get(t).schema}function eK(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function eQ(t,r){let n=t.seen.get(r);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");if(t.external&&t.sharedDefsExtractedFor===t.external)return;let i=new Map;for(let r of t.seen.entries()){let n=t.metadataRegistry.get(r[0])?.id;if(n){let t=i.get(n);if(t&&t!==r[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(n,r[0])}}let o=r=>{if(r[1].schema.$ref)return;let i=r[1],{ref:o,defId:a}=(r=>{let i="draft-2020-12"===t.target?"$defs":"definitions";if(t.external){let n=t.external.registry.get(r[0])?.id,o=t.external.uri??(t=>t);if(n)return{ref:o(n)};let a=r[1].defId??r[1].schema.id??`schema${t.counter++}`;return r[1].defId=a,{defId:a,ref:`${o("__shared")}#/${i}/${eK(a)}`}}let o=`#/${i}/`;if(r[1]===n&&!r[1].schema.id)return{ref:"#"};let a=r[1].schema.id??`__schema${t.counter++}`;return{defId:a,ref:o+eK(a)}})(r);i.def={...i.schema},a&&(i.defId=a);let s=i.schema;for(let t in s)delete s[t];s.$ref=o};if("throw"===t.cycles)for(let r of t.seen.entries()){let t=r[1];if(t.cycle)throw Error(`Cycle detected: #/${t.cycle?.join("/")}/<root>
54
55Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of t.seen.entries()){let i=n[1];if(r===n[0]){o(n);continue}if(t.external){let i=t.external.registry.get(n[0])?.id;if(r!==n[0]&&i){o(n);continue}}if(t.metadataRegistry.get(n[0])?.id||i.cycle){o(n);continue}i.count>1&&"ref"===t.reused&&o(n)}t.external&&(t.sharedDefsExtractedFor=t.external)}let eB=new Set(["type","properties","required","additionalProperties"]),eH=["oneOf","anyOf"];function eq(t){let r=t.additionalProperties;return void 0===r||!1===r||"object"!=typeof r||null===r?null:Object.keys(r).length?r:null}function eY(t){let r=[];for(let n of t){if("object"!=typeof n||"object"!==n.type)return null;for(let t in n)if(!eB.has(t))return null;r.push(n)}let n={},i=new Set;for(let t of r){for(let i in t.properties){if(Object.prototype.hasOwnProperty.call(n,i))continue;let t=[];for(let n of r){let r=n.properties?.[i]??eq(n);null!=r&&(t.some(t=>JSON.stringify(t)===JSON.stringify(r))||t.push(r))}let o=1===t.length?t[0]:eY(t)??{allOf:t};(0,a.Vy)(n,i,o)}for(let r of t.required??[])i.add(r)}let o={type:"object",properties:n};if(i.size&&(o.required=[...i]),r.every(t=>!1===t.additionalProperties))o.additionalProperties=!1;else{let t=[];for(let n of r){let r=eq(n);r&&!t.some(t=>JSON.stringify(t)===JSON.stringify(r))&&t.push(r)}1===t.length?o.additionalProperties=t[0]:t.length>1&&(o.additionalProperties={allOf:t})}return o}function eX(t,r){let n=t.seen.get(r);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let i=r=>{let n=t.seen.get(r);if(null===n.ref)return;let o=n.def??n.schema,a={...o},s=n.ref;if(n.ref=null,s){i(s);let n=t.seen.get(s),u=n.schema;if(u.$ref&&("draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target)?(o.allOf=o.allOf??[],o.allOf.push(u)):eL(o,u),eL(o,a),r._zod.parent===s)for(let t in o)"$ref"!==t&&"allOf"!==t&&(t in a||delete o[t]);if(u.$ref&&n.def)for(let t in o)"$ref"!==t&&"allOf"!==t&&t in n.def&&JSON.stringify(o[t])===JSON.stringify(n.def[t])&&delete o[t]}let u=r._zod.parent;if(u&&u!==s){i(u);let r=t.seen.get(u);if(r?.schema.$ref&&(o.$ref=r.schema.$ref,r.def))for(let t in o)"$ref"!==t&&"allOf"!==t&&t in r.def&&JSON.stringify(o[t])===JSON.stringify(r.def[t])&&delete o[t]}t.override({zodSchema:r,jsonSchema:o,path:n.path??[]})};if(!t.external||t.sharedEmitDoneFor!==t.external){for(let r of[...t.seen.entries()].reverse())i(r[0]);if("openapi-3.0"!==t.target)for(let r of t.seen.entries())!function t(r){let n=r.anyOf;if(!Array.isArray(n)||0===n.length||void 0!==r.type)return;let i=[];for(let r of n){if(!r||"object"!=typeof r)return;t(r);let n=Object.keys(r);if(1!==n.length||"type"!==n[0])return;let o=r.type;for(let t of Array.isArray(o)?o:[o]){if("string"!=typeof t)return;i.includes(t)||i.push(t)}}delete r.anyOf,r.type=1===i.length?i[0]:i}(r[1].def??r[1].schema);for(let r of t.deferred)r();if(t.intersections.length){let r=new Map;for(let n of t.seen.values())for(let t of[n.schema,n.def]){let n=t?.allOf;if(!Array.isArray(n))continue;let i=r.get(n);i?i.push(t):r.set(n,[t])}for(let n of t.intersections)for(let t of r.get(n)??[])!function(t){let r=t.allOf;if(!Array.isArray(r)||r.length<2)return;for(let r of eB)if(r in t)return;let n=r.filter(t=>eH.some(r=>Array.isArray(t[r]))),i=null;if(n.length){let t=n[0],o=eH.find(r=>Array.isArray(t[r]));if(1!==Object.keys(t).length)return;let a=r.filter(r=>r!==t),s=t[o].map(t=>eY([...a,t]));if(s.some(t=>!t))return;i={[o]:s}}else i=eY(r);i&&(delete t.allOf,eL(t,i))}(t)}}let o={};
55if("draft-2020-12"===t.target?o.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===t.target?o.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===t.target?o.$schema="http://json-schema.org/draft-04/schema#":t.target,t.external?.uri){let n=t.external.registry.get(r)?.id;if(!n)throw Error("Schema is missing an `id` property");o.$id=t.external.uri(n)}eL(o,n.defId?n.schema:n.def??n.schema);let s=t.metadataRegistry.get(r)?.id;void 0!==s&&o.id===s&&delete o.id;let u=t.external?.defs??{};if(!t.external||t.sharedEmitDoneFor!==t.external)for(let r of t.seen.entries()){let t=r[1];t.def&&t.defId&&(t.def.id===t.defId&&delete t.def.id,(0,a.Vy)(u,t.defId,t.def))}t.external&&(t.sharedEmitDoneFor=t.external),t.external||Object.keys(u).length>0&&("draft-2020-12"===t.target?o.$defs=u:o.definitions=u);try{let n=JSON.parse(JSON.stringify(o));return Object.defineProperty(n,"~standard",{value:{...r["~standard"],jsonSchema:{input:e0(r,"input",t.processors),output:e0(r,"output",t.processors)}},enumerable:!1,writable:!1}),n}catch(t){throw Error("Error converting schema to JSON.")}}let e0=(t,r,n={})=>i=>{let{libraryOptions:o,target:a}=i??{},s=eW({...o??{},target:a,io:r,processors:n});return eG(t,s),eQ(s,t),eX(s,t)},e1=(t,r,n)=>{(void 0===t[r]||n>t[r])&&(t[r]=n)},e2=(t,r,n)=>{(void 0===t[r]||n<t[r])&&(t[r]=n)},e4=(t,r)=>{e1(t,"minimum",r),e2(t,"maximum",r)},e9=(t,r)=>{t.multipleOf??(t.multipleOf=[]),t.multipleOf.includes(r)||t.multipleOf.push(r)},e6=(t,r)=>{t.patterns??(t.patterns=new Set),t.patterns.add(r)},e5=(t,r)=>{t.mime=t.mime?t.mime.filter(t=>r.includes(t)):[...r]},e3=(t,r)=>{t.format=r,r.includes("int")&&(t.isInt=!0)},e8=(t,r)=>e1(t,"minimum",r.minimum),e7=(t,r)=>e2(t,"maximum",r.maximum),te=t=>(r,n)=>{e3(r,n.format);let[i,o]=t[n.format];e1(r,"minimum",i),e2(r,"maximum",o)},tt={greater_than:(t,r)=>e1(t,r.inclusive?"minimum":"exclusiveMinimum",r.value),less_than:(t,r)=>e2(t,r.inclusive?"maximum":"exclusiveMaximum",r.value),multiple_of:(t,r)=>e9(t,r.value),number_format:te(a.zH),bigint_format:te(a.NR),min_length:e8,max_length:e7,length_equals:(t,r)=>e4(t,r.length),min_size:e8,max_size:e7,size_equals:(t,r)=>e4(t,r.size),string_format:(t,r)=>{e3(t,r.format),r.pattern&&e6(t,r.pattern),("base64"===r.format||"base64url"===r.format)&&(t.contentEncoding=r.format),(r.local||-1===r.precision)&&(t.laxFormat=!0)},mime_type:(t,r)=>e5(t,r.mime)};function tr(t){let r={},n=t._zod.def;for(let i of t._zod.traits.has("$ZodCheck")?[t,...n.checks??[]]:n.checks??[])tt[i._zod.def.check]?.(r,i._zod.def);let i=t._zod.bag;for(let t of(void 0!==i.minimum&&e1(r,"minimum",i.minimum),void 0!==i.exclusiveMinimum&&e1(r,"exclusiveMinimum",i.exclusiveMinimum),void 0!==i.maximum&&e2(r,"maximum",i.maximum),void 0!==i.exclusiveMaximum&&e2(r,"exclusiveMaximum",i.exclusiveMaximum),void 0!==i.multipleOf&&e9(r,i.multipleOf),void 0!==i.format&&(r.format??(r.format=i.format),i.format.includes("int")&&(r.isInt=!0)),i.mime&&e5(r,i.mime),i.patterns??[]))e6(r,t);return r}let tn={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},ti=new Map([[Q,g.K3],[H,g.r0]]),to=t=>ti.get(t)??t;new WeakMap;let ta=Symbol();function ts(t,r,n,i,o){let a=!1,s=JSON.stringify(t,(t,r)=>"bigint"!=typeof r?r:(a=!0,null));return a?(eV(r,n,i,o,"BigInt defaults cannot be represented in JSON Schema"),ta):JSON.parse(s)}let tu=(t,r,n,i)=>{let o=t._zod.def;eG(o.innerType,r,i),r.seen.get(t).ref=o.innerType},tl={get:function(){let t=this._zod;return t.message??(t.message=JSON.stringify(t.def,a.k8,2)),t.message},set:function(t){this._zod.message=t},enumerable:!0,configurable:!0},tc={value:void 0,enumerable:!1},td=new WeakSet([Object.prototype,Error.prototype]),tf=(t,r)=>{t.name="$ZodError",tc.value=r,Object.defineProperty(t,"issues",tc),tc.value=void 0,Object.defineProperty(t,"message",tl);let n=Object.getPrototypeOf(t);td.has(n)||(td.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let t=()=>this.message;return Object.defineProperty(this,"toString",{value:t,configurable:!0,writable:!0}),t},set(t){Object.defineProperty(this,"toString",{value:t,configurable:!0,writable:!0})}}))},tp=(0,o.xI)("$ZodError",tf);function th(t,r){return{callee:r?.callee??t,Err:r?.Err}}(0,o.xI)("$ZodError",tf,void 0,{Parent:Error});let tm=t=>{let r=(n,i,s,u)=>{let l=s?{...s,async:!1}:{async:!1},c=n._zod.run({value:i,issues:[]},l);if(c instanceof Promise)throw new o.GT;if(c.issues.length){let n=new(u?.Err??t)(c.issues.map(t=>a.iR(t,l,o.$W())));throw a.gx(n,u?.callee??r),n}return c.value};return r},tv=t=>{let r=async(n,i,s,u)=>{let l=s?{...s,async:!0}:{async:!0},c=n._zod.run({value:i,issues:[]},l);if(c instanceof Promise&&(c=await c),c.issues.length){let n=new(u?.Err??t)(c.issues.map(t=>a.iR(t,l,o.$W())));throw a.gx(n,u?.callee??r),n}return c.value};return r},tg=t=>(r,n,i)=>{let a=i?{...i,async:!1}:{async:!1},s=r._zod.run({value:n,issues:[]},a);if(s instanceof Promise)throw new o.GT;return s.issues.length?ty(t,s.issues,a):{success:!0,data:s.value}};function ty(t,r,n){let i;
55return{success:!1,get error(){return i||(i=new t(r.map(t=>a.iR(t,n,o.$W()))),r=void 0,n=void 0),i},set error(e){i=e,r=void 0,n=void 0}}}let t_=t=>async(r,n,i)=>{let o=i?{...i,async:!0}:{async:!0},a=r._zod.run({value:n,issues:[]},o);return a instanceof Promise&&(a=await a),a.issues.length?ty(t,a.issues,o):{success:!0,data:a.value}},tb=Symbol.for("zod.compile.invalid"),tz=Symbol.for("zod.compile.fallback"),tw=async(t,r,n)=>{let i=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},o=t._zod.run({value:r,issues:[]},i);return o instanceof Promise&&(o=await o),0===o.issues.length},tk=new WeakSet([Object.prototype,Error.prototype]);function tx(t,r,n){Object.defineProperty(t,r,{configurable:!0,enumerable:!1,get(){let t=n(this);return Object.defineProperty(this,r,{value:t,configurable:!0,writable:!0}),t},set(t){Object.defineProperty(this,r,{value:t,configurable:!0,writable:!0})}})}let t$=o.xI("ZodError",(t,r)=>{tp.init(t,r),t.name="ZodError";let n=Object.getPrototypeOf(t);tk.has(n)||(tk.add(n),tx(n,"format",t=>r=>(function(t,r=t=>t.message){let n={_errors:[]},i=(t,o=[])=>{for(let a of t.issues)if("invalid_union"===a.code&&a.errors.length)a.errors.map(t=>i({issues:t},[...o,...a.path]));else if("invalid_key"===a.code)i({issues:a.issues},[...o,...a.path]);else if("invalid_element"===a.code)i({issues:a.issues},[...o,...a.path]);else{let t=[...o,...a.path];if(0===t.length)n._errors.push(r(a));else{let i=n,o=0;for(;o<t.length;){let n=t[o],s=o===t.length-1;if("_errors"===n){s&&i._errors.push(r(a)),o++;continue}Object.prototype.hasOwnProperty.call(i,n)||Object.defineProperty(i,n,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let u=i[n];s&&u._errors.push(r(a)),i=u,o++}}}};return i(t),n})(t,r)),tx(n,"flatten",t=>r=>(function(t,r=t=>t.message){let n={},i=[];for(let s of t.issues)if(s.path.length>0){var o,a;(o=s.path[0],a=()=>[],!Object.prototype.hasOwnProperty.call(n,o)&&("__proto__"===o?Object.defineProperty(n,o,{value:a(),writable:!0,enumerable:!0,configurable:!0}):n[o]=a()),n[o]).push(r(s))}else i.push(r(s));return{formErrors:i,fieldErrors:n}})(t,r)),tx(n,"addIssue",t=>r=>{t.issues.push(r),t.message=JSON.stringify(t.issues,a.k8,2)}),tx(n,"addIssues",t=>r=>{t.issues.push(...r),t.message=JSON.stringify(t.issues,a.k8,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return 0===this.issues.length}}))},void 0,{Parent:Error}),tO=tm(t$),tI=tv(t$),tA=tg(t$),tS=t_(t$),tj=(t=>{let r=tm(t),n=(t,i,o,a)=>r(t,i,o?{...o,direction:"backward"}:{direction:"backward"},th(n,a));return n})(t$),tP=(t=>{let r=tm(t),n=(t,i,o,a)=>r(t,i,o,th(n,a));return n})(t$),tZ=(t=>{let r=tv(t),n=async(t,i,o,a)=>{let s=o?{...o,direction:"backward"}:{direction:"backward"};return await r(t,i,s,th(n,a))};return n})(t$),tE=(t=>{let r=tv(t),n=async(t,i,o,a)=>await r(t,i,o,th(n,a));return n})(t$),tT=(t,r,n)=>{let i=n?{...n,direction:"backward"}:{direction:"backward"};return tg(t$)(t,r,i)},tN=(t,r,n)=>tg(t$)(t,r,n),tR=async(t,r,n)=>{let i=n?{...n,direction:"backward"}:{direction:"backward"};return t_(t$)(t,r,i)},tF=async(t,r,n)=>t_(t$)(t,r,n);function tD(){o.cr.memoizer||o.$W({memoizer:h})}let tM=o.xI("ZodType",(t,r)=>(o.cr.localeError||o.$W({localeError:(()=>{let t={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}},r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};function i(t,r){return"number"!==t||"number"!=typeof r||Number.isFinite(r)?n[t]??t:String(r)}return n=>
55{switch(n.code){case"invalid_type":{let t=i(n.expected),r=i(a.GW(n.input),n.input);return`Invalid input: expected ${t}, received ${r}`}case"invalid_value":if(1===n.values.length)return`Invalid input: expected ${a.B7(n.values[0])}`;return`Invalid option: expected one of ${a.jw(n.values,"|")}`;case"too_big":{let r=n.exact?"exactly ":n.inclusive?"<=":"<",i=t[n.origin]??null;if(i)return`Too big: expected ${n.origin??"value"} to have ${r}${n.maximum.toString()} ${i.unit??"elements"}`;return`Too big: expected ${n.origin??"value"} to be ${r}${n.maximum.toString()}`}case"too_small":{let r=n.exact?"exactly ":n.inclusive?">=":">",i=t[n.origin]??null;if(i)return`Too small: expected ${n.origin} to have ${r}${n.minimum.toString()} ${i.unit}`;return`Too small: expected ${n.origin} to be ${r}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Invalid string: must start with "${n.prefix}"`;if("ends_with"===n.format)return`Invalid string: must end with "${n.suffix}"`;if("includes"===n.format)return`Invalid string: must include "${n.includes}"`;if("regex"===n.format)return`Invalid string: must match pattern ${n.pattern}`;return`Invalid ${r[n.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":""}: ${a.jw(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":if(n.options&&Array.isArray(n.options)&&n.options.length>0){let t=n.options.map(t=>`'${t}'`).join(" | ");return`Invalid discriminator value. Expected ${t}`}if(!1===n.inclusive)return"Invalid input: more than one option matched";return"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`;default:return"Invalid input"}}})()}),_.init(t,r),t.def=r,t.type=r.type,t),{check(...t){let r=this.def;return this.clone(a.zM(r,{checks:[...r.checks??[],...t.map(t=>"function"==typeof t?{_zod:{check:t,def:{check:"custom"},onattach:[]}}:t)]}),{parent:!0})},with(...t){return this.check(...t)},clone(t,r){return a.o8(this,t,r)},brand(){return this},register(t,r){return t.add(this,r),this},refine(t,r){return this.check(function(t,r={}){return eU.fU(rj,t,r)}(t,r))},superRefine(t,r){var n,i;return this.check((n=t,i=r,eU.MB(n,i)))},overwrite(t){return this.check(eU.bS(t))},optional(){return r_(this)},exactOptional(){var t;return t=this,new rb({type:"optional",innerType:t})},nullable(){return rw(this)},nullish(){return r_(rw(this))},nonoptional(t){var r,n;return r=this,n=t,new r$({type:"nonoptional",innerType:r,...a.A2(n)})},array(){return rd(this)},or(t){return new rh({type:"union",options:[this,t],...a.A2(void 0)})},and(t){var r;return r=this,new rm({type:"intersection",left:r,right:t})},transform(t){return rA(this,new rg({type:"transform",transform:t}))},default(t){var r,n;return r=this,n=t,new rk({type:"default",innerType:r,get defaultValue(){return"function"==typeof n?n():a.yG(n)}})},prefault(t){var r,n;return r=this,n=t,new rx({type:"prefault",innerType:r,get defaultValue(){return"function"==typeof n?n():a.yG(n)}})},catch(t){var r,n;return r=this,new rO({type:"catch",innerType:r,catchValue:"function"==typeof(n=t)?n:a.SS(n)})},pipe(t){return rA(this,t)},readonly(){var t;return t=this,new rS({type:"readonly",innerType:t})},describe(t){let r=this.clone();return eC.fd.add(r,{description:t}),r},meta(...t){if(0===t.length)return eC.fd.get(this);let r=this.clone();return eC.fd.add(r,t[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(t,...r){return 0===r.length?t(this):t(this,...r)},get"~standard"(){return a.jD(this,"~standard",{...w(this),jsonSchema:{input:e0(this,"input"),output:e0(this,"output")}})},set"~standard"(value){a.qh(this,"~standard",value)},parse:function t(r,n){return tO(this,r,n,{callee:t})},parseAsync:async function t(r,n){return await tI(this,r,n,{callee:t})},safeParse(t,r){return tA(this,t,r)},async safeParseAsync(t,r){return tS(this,t,r)},get spa(){return this?.safeParseAsync},set spa(value){a.qh(this,"spa",value)},validate(t,r){let n=this._zod.bag.validator;
55if(void 0!==n){if(n(t)!==tb)return!0;if(!0===n.definite&&void 0===r)return!1}return function(t,r,n){let i,a=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},s=t._zod.bag.fallbackRun;if(s?(a[tz]=!0,i=s({value:r,issues:[]},a)):i=t._zod.run({value:r,issues:[]},a),i instanceof Promise)throw new o.GT;return 0===i.issues.length}(this,t,r)},validateAsync(t,r){return tw(this,t,r)},encode:function t(r,n){return tj(this,r,n,{callee:t})},decode:function t(r,n){return tP(this,r,n,{callee:t})},encodeAsync:async function t(r,n){return await tZ(this,r,n,{callee:t})},decodeAsync:async function t(r,n){return await tE(this,r,n,{callee:t})},safeEncode(t,r){return tT(this,t,r)},safeDecode(t,r){return tN(this,t,r)},async safeEncodeAsync(t,r){return tR(this,t,r)},async safeDecodeAsync(t,r){return tF(this,t,r)},toJSONSchema(t){return((t,r={})=>n=>{let i=eW({...n,processors:r});return eG(t,i),eQ(i,t),eX(i,t)})(this,{})(t)},get description(){return eC.fd.get(this)?.description},get _def(){return this._zod.def}}),tJ=o.xI("_ZodString",(t,r)=>{k.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{n.type="string";let{minimum:o,maximum:a,format:s,patterns:u,contentEncoding:l,laxFormat:c}=tr(t);if("number"==typeof o&&(n.minLength=o),"number"==typeof a&&(n.maxLength=a),s&&(n.format=tn[s]??s,""===n.format&&delete n.format,("time"===s||c)&&delete n.format),l&&(n.contentEncoding=l),u&&u.size>0){let t=[...u].map(to);1===t.length?n.pattern=t[0].source:t.length>1&&(n.allOf=[...t.map(t=>({..."draft-07"===r.target||"draft-04"===r.target||"openapi-3.0"===r.target?{type:"string"}:{},pattern:t.source}))])}})(t,r,n,0)},a.un({format:t=>tr(t).format??null,minLength:t=>tr(t).minimum??null,maxLength:t=>tr(t).maximum??null},{regex(...t){return this.check(eU.Fk(...t))},includes(...t){return this.check(eU.dR(...t))},startsWith(...t){return this.check(eU.$S(...t))},endsWith(...t){return this.check(eU.ER(...t))},min(...t){return this.check(eU.m9(...t))},max(...t){return this.check(eU.Eb(...t))},length(...t){return this.check(eU.YA(...t))},nonempty(...t){return this.check(eU.m9(1,...t))},lowercase(t){return this.check(eU.hH(t))},uppercase(t){return this.check(eU.qF(t))},trim(){return this.check(eU.WN())},normalize(...t){return this.check(eU.lo(...t))},toLowerCase(){return this.check(eU.Il())},toUpperCase(){return this.check(eU.xY())},slugify(){return this.check(eU.TL())}})),tC=o.xI("ZodString",(t,r)=>{k.init(t,r),tJ.init(t,r)},{email(t){return this.check(eU.Mu(tQ,t))},url(t){return this.check(eU.Fn(tq,t))},jwt(t){return this.check(eU.rk(rr,t))},emoji(t){return this.check(eU.aC(tY,t))},guid(t){return this.check(eU.tB(tB,t))},uuid(t){return this.check(eU.Be(tH,t))},uuidv4(t){return this.check(eU.nA(tH,t))},uuidv6(t){return this.check(eU.pY(tH,t))},uuidv7(t){return this.check(eU.wA(tH,t))},nanoid(t){return this.check(eU.Dl(tX,t))},cuid(t){return this.check(eU.fs(t0,t))},cuid2(t){return this.check(eU.Bj(t1,t))},ulid(t){return this.check(eU.Ct(t2,t))},base64(t){return this.check(eU.rt(t7,t))},base64url(t){return this.check(eU.cU(re,t))},xid(t){return this.check(eU.Pw(t4,t))},ksuid(t){return this.check(eU._z(t9,t))},ipv4(t){return this.check(eU.Ny(t6,t))},ipv6(t){return this.check(eU.$O(t5,t))},cidrv4(t){return this.check(eU.Uy(t3,t))},cidrv6(t){return this.check(eU.gP(t8,t))},e164(t){return this.check(eU.KB(rt,t))},datetime(t){return this.check(eU.G1(tW,t))},date(t){return this.check(eU.db(tV,t))},time(t){return this.check(eU.Kn(tG,t))},duration(t){return this.check(eU.f2(tK,t))}});function tU(t){return eU.Rl(tC,t)}let tL=o.xI("ZodStringFormat",(t,r)=>{x.init(t,r),tJ.init(t,r)}),tW=o.xI("ZodISODateTime",(t,r)=>{F.init(t,r),tL.init(t,r)}),tV=o.xI("ZodISODate",(t,r)=>{D.init(t,r),tL.init(t,r)}),tG=o.xI("ZodISOTime",(t,r)=>{M.init(t,r),tL.init(t,r)}),tK=o.xI("ZodISODuration",(t,r)=>{J.init(t,r),tL.init(t,r)}),tQ=o.xI("ZodEmail",(t,r)=>{I.init(t,r),tL.init(t,r)}),tB=o.xI("ZodGUID",(t,r)=>{$.init(t,r),tL.init(t,r)}),tH=o.xI("ZodUUID",(t,r)=>{O.init(t,r),tL.init(t,r)}),tq=o.xI("ZodURL",(t,r)=>{S.init(t,r),tL.init(t,r)}),tY=o.xI("ZodEmoji",(t,r)=>{j.init(t,r),tL.init(t,r)}),tX=o.xI("ZodNanoID",(t,r)=>{P.init(t,r),tL.init(t,r)}),t0=o.xI("ZodCUID",(t,r)=>{Z.init(t,r),tL.init(t,r)}),t1=o.xI("ZodCUID2",(t,r)=>{E.init(t,r),tL.init(t,r)}),t2=o.xI("ZodULID",(t,r)=>{T.init(t,r),tL.init(t,r)}),t4=o.xI("ZodXID",(t,r)=>{N.init(t,r),tL.init(t,r)}),t9=o.xI("ZodKSUID",(t,r)=>{R.init(t,r),tL.init(t,r)}),t6=o.xI("ZodIPv4",(t,r)=>{C.init(t,r),tL.init(t,r)}),t5=o.xI("ZodIPv6",(t,r)=>{W.init(t,r),tL.init(t,r)}),t3=o.xI("ZodCIDRv4",(t,r)=>{V.init(t,r),tL.init(t,r)}),t8=o.xI("ZodCIDRv6",(t,r)=>{G.init(t,r),tL.init(t,r)}),t7=o.xI("ZodBase64",(t,r)=>{B.init(t,r),tL.init(t,r)}),re=o.xI("ZodBase64URL",(t,r)=>{q.init(t,r),tL.init(t,r)}),rt=o.xI("ZodE164",(t,r)=>{Y.init(t,r),tL.init(t,r)}),rr=o.xI("ZodJWT",(t,r)=>{X.init(t,r),tL.init(t,r)}),rn=o.xI("ZodNumber",(t,r)=>{ee.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let{minimum:o,maximum:a,multipleOf:s,exclusiveMaximum:u,exclusiveMinimum:l,isInt:c}=tr(t);n.type=c?"integer":"number";let d="number"==typeof l&&l>=(o??-1/0),f="number"==typeof u&&u<=(a??1/0),p="draft-04"===r.target||"openapi-3.0"===r.target;if(d?p?(n.minimum=l,n.exclusiveMinimum=!0):n.exclusiveMinimum=l:"number"==typeof o&&(n.minimum=o),f?p?(n.maximum=u,n.exclusiveMaximum=!0):n.exclusiveMaximum=u:"number"==typeof a&&(n.maximum=a),s){let o=new Set;
55for(let a of s)Number.isFinite(a)&&0!==a?o.add(Math.abs(a)):eV(t,r,n,i,`A multipleOf divisor of ${a} cannot be represented in JSON Schema`);let[a,...u]=o;void 0!==a&&(n.multipleOf=a),u.length&&(n.allOf=[...n.allOf??[],...u.map(t=>({multipleOf:t}))])}})(t,r,n,i),t.isFinite=!0},a.un({minValue:t=>{let{minimum:r,exclusiveMinimum:n}=tr(t);return Math.max(r??-1/0,n??-1/0)},maxValue:t=>{let{maximum:r,exclusiveMaximum:n}=tr(t);return Math.min(r??1/0,n??1/0)},isInt:t=>{let{isInt:r,multipleOf:n}=tr(t);return!!r||!!n?.some(Number.isSafeInteger)},format:t=>tr(t).format??null},{gt(t,r){return this.check(eU.Tx(t,r))},gte(t,r){return this.check(eU.qm(t,r))},min(t,r){return this.check(eU.qm(t,r))},lt(t,r){return this.check(eU.Au(t,r))},lte(t,r){return this.check(eU.Zm(t,r))},max(t,r){return this.check(eU.Zm(t,r))},int(t){var r;return this.check((r=t,eU.LK(ro,r)))},safe(t){var r;return this.check((r=t,eU.LK(ro,r)))},positive(t){return this.check(eU.Tx(0,t))},nonnegative(t){return this.check(eU.qm(0,t))},negative(t){return this.check(eU.Au(0,t))},nonpositive(t){return this.check(eU.Zm(0,t))},multipleOf(t,r){return this.check(eU.Hi(t,r))},step(t,r){return this.check(eU.Hi(t,r))},finite(){return this}}));function ri(t){return eU.F7(rn,t)}let ro=o.xI("ZodNumberFormat",(t,r)=>{et.init(t,r),rn.init(t,r)}),ra=o.xI("ZodBoolean",(t,r)=>{er.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(t,r,n)=>{r.type="boolean"}});function rs(t){return eU._L(ra,t)}let ru=o.xI("ZodUnknown",(t,r)=>{en.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(t,r,n)=>{}}),rl=o.xI("ZodNever",(t,r)=>{ei.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(t,r,n)=>{r.not={}}}),rc=o.xI("ZodArray",(t,r)=>{tD(),ea.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def,{minimum:a,maximum:s}=tr(t);"number"==typeof a&&(n.minItems=a),"number"==typeof s&&(n.maxItems=s),n.type="array",n.items=eG(o.element,r,{...i,path:[...i.path,"items"]})})(t,r,n,i),t.element=r.element},{min(t,r){return this.check(eU.m9(t,r))},nonempty(t){return this.check(eU.m9(1,t))},max(t,r){return this.check(eU.Eb(t,r))},length(t,r){return this.check(eU.YA(t,r))},unwrap(){return this.element}});function rd(t,r){return eU.dZ(rc,t,r)}let rf=o.xI("ZodObject",(t,r)=>{tD(),ef.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def,s=o.shape;if(Object.getOwnPropertySymbols(s).length&&eV(t,r,n,i,"Symbol keys cannot be represented in JSON Schema"))return;for(let t in n.type="object",n.properties={},s)(0,a.Vy)(n.properties,t,eG(s[t],r,{...i,path:[...i.path,"properties",t]}));let u=new Set([...new Set(Object.keys(s))].filter(t=>{let n=o.shape[t];return"input"===r.io?void 0===function t(r){let n=r._zod.def;return"pipe"===n.type&&n.in._zod.traits.has("$ZodTransform")?t(n.out):"catch"===n.type?t(n.innerType):r._zod.optin}(n):void 0===n._zod.optout}));u.size>0&&(n.required=Array.from(u)),o.catchall?._zod.def.type==="never"?n.additionalProperties=!1:o.catchall?o.catchall&&(n.additionalProperties=eG(o.catchall,r,{...i,path:[...i.path,"additionalProperties"]})):"output"===r.io&&(n.additionalProperties=!1)})(t,r,n,i),a.X(t,"shape",t=>t._zod.def.shape,!1)},{keyof(){var t;return new rv({type:"enum",entries:Array.isArray(t=Object.keys(this._zod.def.shape))?Object.fromEntries(t.map(t=>[t,t])):t,...a.A2(void 0)})},catchall(t){return this.clone(a.zM(this._zod.def,{catchall:t}))},passthrough(){return this.clone(a.zM(this._zod.def,{catchall:eU.em(ru)}))},loose(){return this.clone(a.zM(this._zod.def,{catchall:eU.em(ru)}))},strict(){return this.clone(a.zM(this._zod.def,{catchall:eU.G8(rl,void 0)}))},strip(){return this.clone(a.zM(this._zod.def,{catchall:void 0}))},extend(t){return a.X$(this,t)},safeExtend(t){return a.W0(this,t)},merge(t){return a.h1(this,t)},pick(t){return a.Up(this,t)},omit(t){return a.cJ(this,t)},partial(...t){return a.OH(ry,this,t[0])},exactPartial(...t){return a.OH(rb,this,t[0],"exactPartial")},required(...t){return a.mw(r$,this,t[0])}});function rp(t,r){return new rf({type:"object",shape:t??{},...a.A2(r)})}let rh=o.xI("ZodUnion",(t,r)=>{eh.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def,a=!1===o.inclusive,s=o.options.map((t,n)=>eG(t,r,{...i,path:[...i.path,a?"oneOf":"anyOf",n]}));a?n.oneOf=s:n.anyOf=s})(t,r,n,i),t.options=r.options}),rm=o.xI("ZodIntersection",(t,r)=>{em.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def,a=eG(o.left,r,{...i,path:[...i.path,"allOf",0]}),s=eG(o.right,r,{...i,path:[...i.path,"allOf",1]}),u=t=>"allOf"in t&&1===Object.keys(t).length,l=[...u(a)?a.allOf:[a],...u(s)?s.allOf:[s]];n.allOf=l,r.intersections.push(l)})(t,r,n,i)}),rv=o.xI("ZodEnum",(t,r)=>{eb.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def,s=(0,a.w5)(o.entries);if(0===s.length){n.not={};return}s.every(t=>"number"==typeof t)&&(n.type="number"),s.every(t=>"string"==typeof t)&&(n.type="string"),n.enum=s})(t,0,n,0),t.enum=r.entries,t.options=[...t._zod.values];let n=new Set(Object.keys(r.entries));t.extract=(t,i)=>{let o={};for(let i of t)if(n.has(i))o[i]=r.entries[i];else throw Error(`Key ${i} not found in enum`);
55return new rv({...r,checks:[],...a.A2(i),entries:o})},t.exclude=(t,i)=>{let o={...r.entries};for(let r of t)if(n.has(r))delete o[r];else throw Error(`Key ${r} not found in enum`);return new rv({...r,checks:[],...a.A2(i),entries:o})}}),rg=o.xI("ZodTransform",(t,r)=>{tD(),ez.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>{eV(t,r,n,i,"Transforms cannot be represented in JSON Schema")},t._zod.parse=(n,i)=>{if("backward"===i.direction)throw new o.cV(t.constructor.name);n.addIssue=i=>{"string"==typeof i?n.issues.push(a.sn(i,n.value,r)):(i.fatal&&(i.continue=!1),i.code??(i.code="custom"),"input"in i||(i.input=n.value),i.inst??(i.inst=t),n.issues.push(a.sn(i)))};let s=r.transform(n.value,n);return s instanceof Promise?s.then(t=>(n.value=t,n)):(n.value=s,n)}}),ry=o.xI("ZodOptional",(t,r)=>{ek.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>tu(t,r,n,i),t.unwrap=()=>t._zod.def.innerType});function r_(t){return new ry({type:"optional",innerType:t})}let rb=o.xI("ZodExactOptional",(t,r)=>{ex.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>tu(t,r,n,i),t.unwrap=()=>t._zod.def.innerType}),rz=o.xI("ZodNullable",(t,r)=>{e$.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def,a=eG(o.innerType,r,i),s=r.seen.get(t);"openapi-3.0"===r.target?(s.ref=o.innerType,n.nullable=!0):n.anyOf=[a,{type:"null"}]})(t,r,n,i),t.unwrap=()=>t._zod.def.innerType});function rw(t){return new rz({type:"nullable",innerType:t})}let rk=o.xI("ZodDefault",(t,r)=>{eO.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def;eG(o.innerType,r,i),r.seen.get(t).ref=o.innerType;let a=ts(o.defaultValue,t,r,n,i);a!==ta&&(n.default=a)})(t,r,n,i),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap}),rx=o.xI("ZodPrefault",(t,r)=>{eA.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def;if(eG(o.innerType,r,i),r.seen.get(t).ref=o.innerType,"input"!==r.io)return;let a=ts(o.defaultValue,t,r,n,i);a!==ta&&(n._prefault=a)})(t,r,n,i),t.unwrap=()=>t._zod.def.innerType}),r$=o.xI("ZodNonOptional",(t,r)=>{eS.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def;eG(o.innerType,r,i),r.seen.get(t).ref=o.innerType})(t,r,0,i),t.unwrap=()=>t._zod.def.innerType}),rO=o.xI("ZodCatch",(t,r)=>{eZ.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o,a=t._zod.def;eG(a.innerType,r,i),r.seen.get(t).ref=a.innerType;try{o=a.catchValue(void 0)}catch{eV(t,r,n,i,"Dynamic catch values are not supported in JSON Schema");return}n.default=o})(t,r,n,i),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap}),rI=o.xI("ZodPipe",(t,r)=>{eE.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def,a=o.in._zod.traits.has("$ZodTransform"),s="input"===r.io?a?o.out:o.in:o.out;eG(s,r,i),r.seen.get(t).ref=s})(t,r,0,i),t.in=r.in,t.out=r.out});function rA(t,r){return new rI({type:"pipe",in:t,out:r})}let rS=o.xI("ZodReadonly",(t,r)=>{eN.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>((t,r,n,i)=>{let o=t._zod.def;eG(o.innerType,r,i),r.seen.get(t).ref=o.innerType,n.readOnly=!0})(t,r,n,i),t.unwrap=()=>t._zod.def.innerType}),rj=o.xI("ZodCustom",(t,r)=>{eF.init(t,r),tM.init(t,r),t._zod.processJSONSchema=(r,n,i)=>{eV(t,r,n,i,"Custom types cannot be represented in JSON Schema")}});eU.q0,eU.mI},66942:(t,r,n)=>{n.d(r,{u:()=>f});var i=n(22544);let o=(t,r,n)=>{if(t&&"reportValidity"in t){let o=(0,i.Jt)(n,r);t.setCustomValidity(o&&o.message||""),t.reportValidity()}},a=(t,r)=>{for(let n in r.fields){let i=r.fields[n];i&&i.ref&&"reportValidity"in i.ref?o(i.ref,n,t):i&&i.refs&&i.refs.forEach(r=>o(r,n,t))}},s=(t,r)=>{r.shouldUseNativeValidation&&a(t,r);let n={};for(let o in t){let a=(0,i.Jt)(r.fields,o),s=Object.assign(t[o]||{},{ref:a&&a.refs?a.refs[0]:a&&a.ref});if(u(r.names||Object.keys(t),o)){let t=Object.assign({},(0,i.Jt)(n,o));(0,i.hZ)(t,"root",s),(0,i.hZ)(n,o,t)}else(0,i.hZ)(n,o,s)}return n},u=(t,r)=>{let n=l(r).replace(/[.*+?^${}()|\\]/g,"\\$&");return t.some(t=>l(t).match(`^${n}\\.\\d+`))};function l(t){return t.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(null,arguments)}function d(t,r){try{var n=t()}catch(t){return r(t)}return n&&n.then?n.then(void 0,r):n}function f(t,r,n){if(void 0===n&&(n={}),"_zod"in t&&"object"==typeof t._zod)return function(o,u,l){try{return Promise.resolve(d(function(){function i(t){return l.shouldUseNativeValidation&&a({},l),{errors:{},values:n.raw?Object.assign({},o):t}}return"sync"===n.mode?i(t.parse(o,r)):Promise.resolve(t.parseAsync(o,r)).then(i)},function(t){var r;if(!(null==t||null==(r=t._zod)||null==(r=r.traits)||!r.has("$ZodError")))return{values:{},errors:s(function(t,r){for(var n=Object.create(null);t.length;)!function(){var o=t[0],a=o.code,s=o.message,u=o.path.join(".");if(!n[u])if("invalid_union"===o.code&&o.errors.length>0){var l,d,f=o.errors.reduce(function(t,r){return r.length<t.length?r:t})[0];n[u]={message:null!=(l=null==f?void 0:f.message)?l:s,type:null!=(d=null==f?void 0:f.code)?d:a}}else n[u]={message:s,type:a};
55if("invalid_union"===o.code&&o.errors.forEach(function(r){return r.forEach(function(r){return t.push(c({},r,{path:[].concat(o.path,r.path)}))})}),r){var p=n[u].types,h=p&&p[o.code];n[u]=(0,i.Gb)(u,r,n,a,h?[].concat(h,o.message):o.message)}t.shift()}();return n}(t.issues,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw t}))}catch(t){return Promise.reject(t)}};if("_def"in t&&"object"==typeof t._def)return function(o,u,l){try{return Promise.resolve(d(function(){return Promise.resolve(t["sync"===n.mode?"parse":"parseAsync"](o,r)).then(function(t){return l.shouldUseNativeValidation&&a({},l),{errors:{},values:n.raw?Object.assign({},o):t}})},function(t){if(Array.isArray(null==t?void 0:t.issues))return{values:{},errors:s(function(t,r){for(var n=Object.create(null);t.length;){var o=t[0],a=o.code,s=o.message,u=o.path.join(".");if(!n[u])if("unionErrors"in o){var l,c,d=o.unionErrors.reduce(function(t,r){return r.errors.length<t.errors.length?r:t}).errors[0];n[u]={message:null!=(l=null==d?void 0:d.message)?l:s,t
55ype:null!=(c=null==d?void 0:d.code)?c:a}}else n[u]={message:s,type:a};if("unionErrors"in o&&o.unionErrors.forEach(function(r){return r.errors.forEach(function(r){return t.push(r)})}),r){var f=n[u].types,p=f&&f[o.code];n[u]=(0,i.Gb)(u,r,n,a,p?[].concat(p,o.message):o.message)}t.shift()}return n}(t.errors,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw t}))}catch(t){return Promise.reject(t)}};throw Error("Invalid input: not a Zod schema")}},81928:(t,r,n)=>{n.d(r,{AC:()=>N,Ak:()=>l,D2:()=>c,F:()=>k,Gl:()=>o,K3:()=>z,Os:()=>f,Rp:()=>h,Z0:()=>a,Zg:()=>v,Zv:()=>R,ai:()=>E,fO:()=>u,gF:()=>i,gp:()=>j,hQ:()=>x,kB:()=>A,kM:()=>s,l7:()=>b,nd:()=>Z,o:()=>P,p0:()=>d,p6:()=>O,r0:()=>w,uR:()=>p,uX:()=>g,ug:()=>y,w$:()=>S,zM:()=>T,zr:()=>_});let i=/^[cC][0-9a-z]{6,}$/,o=/^[0-9a-z]+$/,a=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,s=/^[0-9a-vA-V]{20}$/,u=/^[A-Za-z0-9]{27}$/,l=/^[a-zA-Z0-9_-]{21}$/;function c(t){return RegExp(`^[a-zA-Z0-9_-]{${t}}$`)}let d=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,f=/^([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})$/,p=t=>t?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)$/,h=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,m=`^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;function v(){return RegExp(m,"u")}let g=/^(?:(?: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])$/,y=/^(([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}|:))$/,_=/^((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])$/,b=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,z=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,w=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,k=/^https?$/,x=/^\+[1-9]\d{6,14}$/,$="(?:(?:\\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])))",O=RegExp(`^${$}$`);function I(t){let r="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof t.precision?-1===t.precision?`${r}`:0===t.precision?`${r}:[0-5]\\d`:`${r}:[0-5]\\d\\.\\d{${t.precision}}`:t.seconds?`${r}:[0-5]\\d(?:\\.\\d+)?`:`${r}(?::[0-5]\\d(?:\\.\\d+)?)?`}function A(t){return RegExp(`^${I(t)}$`)}function S(t){let r=["Z"];t.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${I({precision:t.precision,seconds:!0})}(?:${r.join("|")})`,i=t.local?`${n}|${I({precision:t.precision})}`:n;return RegExp(`^${$}T(?:${i})$`)}let j=/^[\s\S]{0,}$/,P=/^-?\d+n?$/,Z=/^-?\d+$/,E=/^-?\d+(?:\.\d+)?$/,T=/^(?:true|false)$/i,N=/^[^A-Z]*$/,R=/^[^a-z]*$/}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.