twenty-sdk 2.29.0 → 2.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{catalog-sync-4aA_KNKt.js → catalog-sync-61JsVcDP.js} +1 -1
- package/dist/{catalog-sync-iMUPp5Zl.mjs → catalog-sync-WmgvkRw7.mjs} +1 -1
- package/dist/cli.cjs +3 -3
- package/dist/cli.mjs +4 -4
- package/dist/define/index.cjs +2 -2
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +2 -0
- package/dist/define/index.mjs +5 -5
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +2 -2
- package/dist/front-component/index.mjs +3 -3
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/{get-function-input-schema-GNk3NRLJ-CVLFFqWb.mjs → get-function-input-schema-GNk3NRLJ-DkTcUzrb.mjs} +1 -1
- package/dist/logic-function/index.d.ts +1 -0
- package/dist/{login-rRUKuleo.mjs → login-BnGCnmge.mjs} +2240 -2240
- package/dist/{login-CJAHe6Nd.js → login-CM2Aug-k.js} +3 -3
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +1 -1
- package/package.json +2 -2
|
@@ -20,7 +20,7 @@ const e=require("./get-front-component-build-plugins-TJrFS3_p.js"),t=require("./
|
|
|
20
20
|
|
|
21
21
|
`)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=Ae,s=!ce.jitless,c=s&&je.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?vi([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function xi(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Ze(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>et(e,r,A())))}),t)}var Si=O(`$ZodUnion`,(e,t)=>{I.init(e,t),N(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),N(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),N(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),N(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>ye(e.source)).join(`|`)})$`)}});let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(t.issues.length===0)return t;s.push(t)}}return o?Promise.all(s).then(t=>xi(t,i,e,a)):xi(s,i,e,a)}}),Ci=O(`$ZodDiscriminatedUnion`,(e,t)=>{Si.init(e,t);let n=e._zod.parse;N(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=_e(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!Ae(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),i)}}),wi=O(`$ZodIntersection`,(e,t)=>{I.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Ei(e,t,n)):Ei(e,i,a)}});function Ti(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Me(e)&&Me(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Ti(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Ti(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Ei(e,t,n){if(t.issues.length&&e.issues.push(...t.issues),n.issues.length&&e.issues.push(...n.issues),Ze(e))return e;let r=Ti(t.value,n.value);if(!r.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);return e.value=r.data,e}var Di=O(`$ZodTuple`,(e,t)=>{I.init(e,t);let n=t.items,r=n.length-[...n].reverse().findIndex(e=>e._zod.optin!==`optional`);e._zod.parse=(i,a)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:`tuple`,code:`invalid_type`}),i;i.value=[];let s=[];if(!t.rest){let t=o.length>n.length,a=o.length<r-1;if(t||a)return i.issues.push({...t?{code:`too_big`,maximum:n.length}:{code:`too_small`,minimum:n.length},input:o,inst:e,origin:`array`}),i}let c=-1;for(let e of n){if(c++,c>=o.length&&c>=r)continue;let t=e._zod.run({value:o[c],issues:[]},a);t instanceof Promise?s.push(t.then(e=>Oi(e,i,c))):Oi(t,i,c)}if(t.rest){let e=o.slice(n.length);for(let n of e){c++;let e=t.rest._zod.run({value:n,issues:[]},a);e instanceof Promise?s.push(e.then(e=>Oi(e,i,c))):Oi(e,i,c)}}return s.length?Promise.all(s).then(()=>i):i}});function Oi(e,t,n){e.issues.length&&t.issues.push(...Qe(n,e.issues)),t.value[n]=e.value}var ki=O(`$ZodRecord`,(e,t)=>{I.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Me(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[];if(t.keyType._zod.values){let o=t.keyType._zod.values;n.value={};for(let e of o)if(typeof e==`string`||typeof e==`number`||typeof e==`symbol`){let o=t.valueType._zod.run({value:i[e],issues:[]},r);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&n.issues.push(...Qe(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...Qe(e,o.issues)),n.value[e]=o.value)}let s;for(let e in i)o.has(e)||(s??=[],s.push(e));s&&s.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:s})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`)continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(s.issues.length){n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>et(e,r,A())),input:o,path:[o],inst:e}),n.value[s.value]=s.value;continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...Qe(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...Qe(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),Ai=O(`$ZodMap`,(e,t)=>{I.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:`map`,code:`invalid_type`,input:i,inst:e}),n;let a=[];n.value=new Map;for(let[o,s]of i){let c=t.keyType._zod.run({value:o,issues:[]},r),l=t.valueType._zod.run({value:s,issues:[]},r);c instanceof Promise||l instanceof Promise?a.push(Promise.all([c,l]).then(([t,a])=>{ji(t,a,n,o,i,e,r)})):ji(c,l,n,o,i,e,r)}return a.length?Promise.all(a).then(()=>n):n}});function ji(e,t,n,r,i,a,o){e.issues.length&&(Ie.has(typeof r)?n.issues.push(...Qe(r,e.issues)):n.issues.push({code:`invalid_key`,origin:`map`,input:i,inst:a,issues:e.issues.map(e=>et(e,o,A()))})),t.issues.length&&(Ie.has(typeof r)?n.issues.push(...Qe(r,t.issues)):n.issues.push({origin:`map`,code:`invalid_element`,input:i,inst:a,key:r,issues:t.issues.map(e=>et(e,o,A()))})),n.value.set(e.value,t.value)}var Mi=O(`$ZodSet`,(e,t)=>{I.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:`set`,code:`invalid_type`}),n;let a=[];n.value=new Set;for(let e of i){let i=t.valueType._zod.run({value:e,issues:[]},r);i instanceof Promise?a.push(i.then(e=>Ni(e,n))):Ni(i,n)}return a.length?Promise.all(a).then(()=>n):n}});function Ni(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var Pi=O(`$ZodEnum`,(e,t)=>{I.init(e,t);let n=he(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Ie.has(typeof e)).map(e=>typeof e==`string`?Re(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Fi=O(`$ZodLiteral`,(e,t)=>{if(I.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);e._zod.values=new Set(t.values),e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?Re(e):e?Re(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(n,r)=>{let i=n.value;return e._zod.values.has(i)||n.issues.push({code:`invalid_value`,values:t.values,input:i,inst:e}),n}}),Ii=O(`$ZodFile`,(e,t)=>{I.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r instanceof File||t.issues.push({expected:`file`,code:`invalid_type`,input:r,inst:e}),t}}),Li=O(`$ZodTransform`,(e,t)=>{I.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new se(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new oe;return n.value=i,n}});function Ri(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var zi=O(`$ZodOptional`,(e,t)=>{I.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,N(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),N(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ye(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>Ri(t,e.value)):Ri(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),Bi=O(`$ZodNullable`,(e,t)=>{I.init(e,t),N(e._zod,`optin`,()=>t.innerType._zod.optin),N(e._zod,`optout`,()=>t.innerType._zod.optout),N(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ye(e.source)}|null)$`):void 0}),N(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Vi=O(`$ZodDefault`,(e,t)=>{I.init(e,t),e._zod.optin=`optional`,N(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Hi(e,t)):Hi(r,t)}});function Hi(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Ui=O(`$ZodPrefault`,(e,t)=>{I.init(e,t),e._zod.optin=`optional`,N(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),Wi=O(`$ZodNonOptional`,(e,t)=>{I.init(e,t),N(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>Gi(t,e)):Gi(i,e)}});function Gi(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var Ki=O(`$ZodSuccess`,(e,t)=>{I.init(e,t),e._zod.parse=(e,n)=>{if(n.direction===`backward`)throw new se(`ZodSuccess`);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>(e.value=t.issues.length===0,e)):(e.value=r.issues.length===0,e)}}),qi=O(`$ZodCatch`,(e,t)=>{I.init(e,t),N(e._zod,`optin`,()=>t.innerType._zod.optin),N(e._zod,`optout`,()=>t.innerType._zod.optout),N(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>et(e,n,A()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>et(e,n,A()))},input:e.value}),e.issues=[]),e)}}),Ji=O(`$ZodNaN`,(e,t)=>{I.init(e,t),e._zod.parse=(t,n)=>((typeof t.value!=`number`||!Number.isNaN(t.value))&&t.issues.push({input:t.value,inst:e,expected:`nan`,code:`invalid_type`}),t)}),Yi=O(`$ZodPipe`,(e,t)=>{I.init(e,t),N(e._zod,`values`,()=>t.in._zod.values),N(e._zod,`optin`,()=>t.in._zod.optin),N(e._zod,`optout`,()=>t.out._zod.optout),N(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Xi(e,t.in,n)):Xi(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Xi(e,t.out,n)):Xi(r,t.out,n)}});function Xi(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Zi=O(`$ZodCodec`,(e,t)=>{I.init(e,t),N(e._zod,`values`,()=>t.in._zod.values),N(e._zod,`optin`,()=>t.in._zod.optin),N(e._zod,`optout`,()=>t.out._zod.optout),N(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if((n.direction||`forward`)===`forward`){let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Qi(e,t,n)):Qi(r,t,n)}else{let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Qi(e,t,n)):Qi(r,t,n)}}});function Qi(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||`forward`)===`forward`){let r=t.transform(e.value,e);return r instanceof Promise?r.then(r=>$i(e,r,t.out,n)):$i(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>$i(e,r,t.in,n)):$i(e,r,t.in,n)}}function $i(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},r)}var ea=O(`$ZodReadonly`,(e,t)=>{I.init(e,t),N(e._zod,`propValues`,()=>t.innerType._zod.propValues),N(e._zod,`values`,()=>t.innerType._zod.values),N(e._zod,`optin`,()=>t.innerType._zod.optin),N(e._zod,`optout`,()=>t.innerType._zod.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(ta):ta(r)}});function ta(e){return e.value=Object.freeze(e.value),e}var na=O(`$ZodTemplateLiteral`,(e,t)=>{I.init(e,t);let n=[];for(let e of t.parts)if(typeof e==`object`&&e){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let r=+!!t.startsWith(`^`),i=t.endsWith(`$`)?t.length-1:t.length;n.push(t.slice(r,i))}else if(e===null||Le.has(typeof e))n.push(Re(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${n.join(``)}$`),e._zod.parse=(n,r)=>typeof n.value==`string`?(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:`invalid_format`,format:t.format??`template_literal`,pattern:e._zod.pattern.source}),n):(n.issues.push({input:n.value,inst:e,expected:`template_literal`,code:`invalid_type`}),n)}),ra=O(`$ZodFunction`,(e,t)=>(I.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if(typeof t!=`function`)throw Error(`implement() must be called with a function`);return function(...n){let r=e._def.input?xt(e._def.input,n):n,i=Reflect.apply(t,this,r);return e._def.output?xt(e._def.output,i):i}},e.implementAsync=t=>{if(typeof t!=`function`)throw Error(`implementAsync() must be called with a function`);return async function(...n){let r=e._def.input?await Ct(e._def.input,n):n,i=await Reflect.apply(t,this,r);return e._def.output?await Ct(e._def.output,i):i}},e._zod.parse=(t,n)=>typeof t.value==`function`?(e._def.output&&e._def.output._zod.def.type===`promise`?t.value=e.implementAsync(t.value):t.value=e.implement(t.value),t):(t.issues.push({code:`invalid_type`,expected:`function`,input:t.value,inst:e}),t),e.input=(...t)=>{let n=e.constructor;return Array.isArray(t[0])?new n({type:`function`,input:new Di({type:`tuple`,items:t[0],rest:t[1]}),output:e._def.output}):new n({type:`function`,input:t[0],output:e._def.output})},e.output=t=>{let n=e.constructor;return new n({type:`function`,input:e._def.input,output:t})},e)),ia=O(`$ZodPromise`,(e,t)=>{I.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),aa=O(`$ZodLazy`,(e,t)=>{I.init(e,t),N(e._zod,`innerType`,()=>t.getter()),N(e._zod,`pattern`,()=>e._zod.innerType._zod.pattern),N(e._zod,`propValues`,()=>e._zod.innerType._zod.propValues),N(e._zod,`optin`,()=>e._zod.innerType._zod.optin??void 0),N(e._zod,`optout`,()=>e._zod.innerType._zod.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),oa=O(`$ZodCustom`,(e,t)=>{er.init(e,t),I.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>sa(t,n,r,e));sa(i,n,r,e)}});function sa(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(rt(e))}}var ca=()=>{let e={string:{unit:`حرف`,verb:`أن يحوي`},file:{unit:`بايت`,verb:`أن يحوي`},array:{unit:`عنصر`,verb:`أن يحوي`},set:{unit:`عنصر`,verb:`أن يحوي`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`مدخل`,email:`بريد إلكتروني`,url:`رابط`,emoji:`إيموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاريخ ووقت بمعيار ISO`,date:`تاريخ بمعيار ISO`,time:`وقت بمعيار ISO`,duration:`مدة بمعيار ISO`,ipv4:`عنوان IPv4`,ipv6:`عنوان IPv6`,cidrv4:`مدى عناوين بصيغة IPv4`,cidrv6:`مدى عناوين بصيغة IPv6`,base64:`نَص بترميز base64-encoded`,base64url:`نَص بترميز base64url-encoded`,json_string:`نَص على هيئة JSON`,e164:`رقم هاتف بمعيار E.164`,jwt:`JWT`,template_literal:`مدخل`};return e=>{switch(e.code){case`invalid_type`:return`مدخلات غير مقبولة: يفترض إدخال ${e.expected}، ولكن تم إدخال ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${F(e.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?` أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()} ${r.unit??`عنصر`}`:`أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()} ${r.unit}`:`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`نَص غير مقبول: يجب أن يبدأ بـ "${e.prefix}"`:t.format===`ends_with`?`نَص غير مقبول: يجب أن ينتهي بـ "${t.suffix}"`:t.format===`includes`?`نَص غير مقبول: يجب أن يتضمَّن "${t.includes}"`:t.format===`regex`?`نَص غير مقبول: يجب أن يطابق النمط ${t.pattern}`:`${r[t.format]??e.format} غير مقبول`}case`not_multiple_of`:return`رقم غير مقبول: يجب أن يكون من مضاعفات ${e.divisor}`;case`unrecognized_keys`:return`معرف${e.keys.length>1?`ات`:``} غريب${e.keys.length>1?`ة`:``}: ${j(e.keys,`، `)}`;case`invalid_key`:return`معرف غير مقبول في ${e.origin}`;case`invalid_union`:return`مدخل غير مقبول`;case`invalid_element`:return`مدخل غير مقبول في ${e.origin}`;default:return`مدخل غير مقبول`}}};function la(){return{localeError:ca()}}var ua=()=>{let e={string:{unit:`simvol`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`element`,verb:`olmalıdır`},set:{unit:`element`,verb:`olmalıdır`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},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`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,jwt:`JWT`,template_literal:`input`};return e=>{switch(e.code){case`invalid_type`:return`Yanlış dəyər: gözlənilən ${e.expected}, daxil olan ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Yanlış dəyər: gözlənilən ${F(e.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()} ${r.unit??`element`}`:`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Yanlış mətn: "${t.prefix}" ilə başlamalıdır`:t.format===`ends_with`?`Yanlış mətn: "${t.suffix}" ilə bitməlidir`:t.format===`includes`?`Yanlış mətn: "${t.includes}" daxil olmalıdır`:t.format===`regex`?`Yanlış mətn: ${t.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${r[t.format]??e.format}`}case`not_multiple_of`:return`Yanlış ədəd: ${e.divisor} ilə bölünə bilən olmalıdır`;case`unrecognized_keys`:return`Tanınmayan açar${e.keys.length>1?`lar`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} daxilində yanlış açar`;case`invalid_union`:return`Yanlış dəyər`;case`invalid_element`:return`${e.origin} daxilində yanlış dəyər`;default:return`Yanlış dəyər`}}};function da(){return{localeError:ua()}}function fa(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}var pa=()=>{let e={string:{unit:{one:`сімвал`,few:`сімвалы`,many:`сімвалаў`},verb:`мець`},array:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},set:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},file:{unit:{one:`байт`,few:`байты`,many:`байтаў`},verb:`мець`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`лік`;case`object`:if(Array.isArray(e))return`масіў`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`увод`,email:`email адрас`,url:`URL`,emoji:`эмодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата і час`,date:`ISO дата`,time:`ISO час`,duration:`ISO працягласць`,ipv4:`IPv4 адрас`,ipv6:`IPv6 адрас`,cidrv4:`IPv4 дыяпазон`,cidrv6:`IPv6 дыяпазон`,base64:`радок у фармаце base64`,base64url:`радок у фармаце base64url`,json_string:`JSON радок`,e164:`нумар E.164`,jwt:`JWT`,template_literal:`увод`};return e=>{switch(e.code){case`invalid_type`:return`Няправільны ўвод: чакаўся ${e.expected}, атрымана ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Няправільны ўвод: чакалася ${F(e.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=fa(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна ${r.verb} ${n}${e.maximum.toString()} ${t}`}return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна быць ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=fa(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Занадта малы: чакалася, што ${e.origin} павінна ${r.verb} ${n}${e.minimum.toString()} ${t}`}return`Занадта малы: чакалася, што ${e.origin} павінна быць ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Няправільны радок: павінен пачынацца з "${t.prefix}"`:t.format===`ends_with`?`Няправільны радок: павінен заканчвацца на "${t.suffix}"`:t.format===`includes`?`Няправільны радок: павінен змяшчаць "${t.includes}"`:t.format===`regex`?`Няправільны радок: павінен адпавядаць шаблону ${t.pattern}`:`Няправільны ${r[t.format]??e.format}`}case`not_multiple_of`:return`Няправільны лік: павінен быць кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспазнаны ${e.keys.length>1?`ключы`:`ключ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Няправільны ключ у ${e.origin}`;case`invalid_union`:return`Няправільны ўвод`;case`invalid_element`:return`Няправільнае значэнне ў ${e.origin}`;default:return`Няправільны ўвод`}}};function ma(){return{localeError:pa()}}var ha=()=>{let e={string:{unit:`caràcters`,verb:`contenir`},file:{unit:`bytes`,verb:`contenir`},array:{unit:`elements`,verb:`contenir`},set:{unit:`elements`,verb:`contenir`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`entrada`,email:`adreça electrònica`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data i hora ISO`,date:`data ISO`,time:`hora ISO`,duration:`durada ISO`,ipv4:`adreça IPv4`,ipv6:`adreça IPv6`,cidrv4:`rang IPv4`,cidrv6:`rang IPv6`,base64:`cadena codificada en base64`,base64url:`cadena codificada en base64url`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`};return e=>{switch(e.code){case`invalid_type`:return`Tipus invàlid: s'esperava ${e.expected}, s'ha rebut ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Valor invàlid: s'esperava ${F(e.values[0])}`:`Opció invàlida: s'esperava una de ${j(e.values,` o `)}`;case`too_big`:{let n=e.inclusive?`com a màxim`:`menys de`,r=t(e.origin);return r?`Massa gran: s'esperava que ${e.origin??`el valor`} contingués ${n} ${e.maximum.toString()} ${r.unit??`elements`}`:`Massa gran: s'esperava que ${e.origin??`el valor`} fos ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`com a mínim`:`més de`,r=t(e.origin);return r?`Massa petit: s'esperava que ${e.origin} contingués ${n} ${e.minimum.toString()} ${r.unit}`:`Massa petit: s'esperava que ${e.origin} fos ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Format invàlid: ha de començar amb "${t.prefix}"`:t.format===`ends_with`?`Format invàlid: ha d'acabar amb "${t.suffix}"`:t.format===`includes`?`Format invàlid: ha d'incloure "${t.includes}"`:t.format===`regex`?`Format invàlid: ha de coincidir amb el patró ${t.pattern}`:`Format invàlid per a ${r[t.format]??e.format}`}case`not_multiple_of`:return`Número invàlid: ha de ser múltiple de ${e.divisor}`;case`unrecognized_keys`:return`Clau${e.keys.length>1?`s`:``} no reconeguda${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Clau invàlida a ${e.origin}`;case`invalid_union`:return`Entrada invàlida`;case`invalid_element`:return`Element invàlid a ${e.origin}`;default:return`Entrada invàlida`}}};function ga(){return{localeError:ha()}}var _a=()=>{let e={string:{unit:`znaků`,verb:`mít`},file:{unit:`bajtů`,verb:`mít`},array:{unit:`prvků`,verb:`mít`},set:{unit:`prvků`,verb:`mít`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`číslo`;case`string`:return`řetězec`;case`boolean`:return`boolean`;case`bigint`:return`bigint`;case`function`:return`funkce`;case`symbol`:return`symbol`;case`undefined`:return`undefined`;case`object`:if(Array.isArray(e))return`pole`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`regulární výraz`,email:`e-mailová adresa`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`datum a čas ve formátu ISO`,date:`datum ve formátu ISO`,time:`čas ve formátu ISO`,duration:`doba trvání ISO`,ipv4:`IPv4 adresa`,ipv6:`IPv6 adresa`,cidrv4:`rozsah IPv4`,cidrv6:`rozsah IPv6`,base64:`řetězec zakódovaný ve formátu base64`,base64url:`řetězec zakódovaný ve formátu base64url`,json_string:`řetězec ve formátu JSON`,e164:`číslo E.164`,jwt:`JWT`,template_literal:`vstup`};return e=>{switch(e.code){case`invalid_type`:return`Neplatný vstup: očekáváno ${e.expected}, obdrženo ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Neplatný vstup: očekáváno ${F(e.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Hodnota je příliš velká: ${e.origin??`hodnota`} musí mít ${n}${e.maximum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš velká: ${e.origin??`hodnota`} musí být ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Hodnota je příliš malá: ${e.origin??`hodnota`} musí mít ${n}${e.minimum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš malá: ${e.origin??`hodnota`} musí být ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neplatný řetězec: musí začínat na "${t.prefix}"`:t.format===`ends_with`?`Neplatný řetězec: musí končit na "${t.suffix}"`:t.format===`includes`?`Neplatný řetězec: musí obsahovat "${t.includes}"`:t.format===`regex`?`Neplatný řetězec: musí odpovídat vzoru ${t.pattern}`:`Neplatný formát ${r[t.format]??e.format}`}case`not_multiple_of`:return`Neplatné číslo: musí být násobkem ${e.divisor}`;case`unrecognized_keys`:return`Neznámé klíče: ${j(e.keys,`, `)}`;case`invalid_key`:return`Neplatný klíč v ${e.origin}`;case`invalid_union`:return`Neplatný vstup`;case`invalid_element`:return`Neplatná hodnota v ${e.origin}`;default:return`Neplatný vstup`}}};function va(){return{localeError:_a()}}var ya=()=>{let e={string:{unit:`tegn`,verb:`havde`},file:{unit:`bytes`,verb:`havde`},array:{unit:`elementer`,verb:`indeholdt`},set:{unit:`elementer`,verb:`indeholdt`}},t={string:`streng`,number:`tal`,boolean:`boolean`,array:`liste`,object:`objekt`,set:`sæt`,file:`fil`};function n(t){return e[t]??null}function r(e){return t[e]??e}let i=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`tal`;case`object`:return Array.isArray(e)?`liste`:e===null?`null`:Object.getPrototypeOf(e)!==Object.prototype&&e.constructor?e.constructor.name:`objekt`}return t},a={regex:`input`,email:`e-mailadresse`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dato- og klokkeslæt`,date:`ISO-dato`,time:`ISO-klokkeslæt`,duration:`ISO-varighed`,ipv4:`IPv4-område`,ipv6:`IPv6-område`,cidrv4:`IPv4-spektrum`,cidrv6:`IPv6-spektrum`,base64:`base64-kodet streng`,base64url:`base64url-kodet streng`,json_string:`JSON-streng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`input`};return e=>{switch(e.code){case`invalid_type`:return`Ugyldigt input: forventede ${r(e.expected)}, fik ${r(i(e.input))}`;case`invalid_value`:return e.values.length===1?`Ugyldig værdi: forventede ${F(e.values[0])}`:`Ugyldigt valg: forventede en af følgende ${j(e.values,`|`)}`;case`too_big`:{let t=e.inclusive?`<=`:`<`,i=n(e.origin),a=r(e.origin);return i?`For stor: forventede ${a??`value`} ${i.verb} ${t} ${e.maximum.toString()} ${i.unit??`elementer`}`:`For stor: forventede ${a??`value`} havde ${t} ${e.maximum.toString()}`}case`too_small`:{let t=e.inclusive?`>=`:`>`,i=n(e.origin),a=r(e.origin);return i?`For lille: forventede ${a} ${i.verb} ${t} ${e.minimum.toString()} ${i.unit}`:`For lille: forventede ${a} havde ${t} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: skal starte med "${t.prefix}"`:t.format===`ends_with`?`Ugyldig streng: skal ende med "${t.suffix}"`:t.format===`includes`?`Ugyldig streng: skal indeholde "${t.includes}"`:t.format===`regex`?`Ugyldig streng: skal matche mønsteret ${t.pattern}`:`Ugyldig ${a[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldigt tal: skal være deleligt med ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukendte nøgler`:`Ukendt nøgle`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøgle i ${e.origin}`;case`invalid_union`:return`Ugyldigt input: matcher ingen af de tilladte typer`;case`invalid_element`:return`Ugyldig værdi i ${e.origin}`;default:return`Ugyldigt input`}}};function ba(){return{localeError:ya()}}var xa=()=>{let e={string:{unit:`Zeichen`,verb:`zu haben`},file:{unit:`Bytes`,verb:`zu haben`},array:{unit:`Elemente`,verb:`zu haben`},set:{unit:`Elemente`,verb:`zu haben`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`Zahl`;case`object`:if(Array.isArray(e))return`Array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`Eingabe`,email:`E-Mail-Adresse`,url:`URL`,emoji:`Emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-Datum und -Uhrzeit`,date:`ISO-Datum`,time:`ISO-Uhrzeit`,duration:`ISO-Dauer`,ipv4:`IPv4-Adresse`,ipv6:`IPv6-Adresse`,cidrv4:`IPv4-Bereich`,cidrv6:`IPv6-Bereich`,base64:`Base64-codierter String`,base64url:`Base64-URL-codierter String`,json_string:`JSON-String`,e164:`E.164-Nummer`,jwt:`JWT`,template_literal:`Eingabe`};return e=>{switch(e.code){case`invalid_type`:return`Ungültige Eingabe: erwartet ${e.expected}, erhalten ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Ungültige Eingabe: erwartet ${F(e.values[0])}`:`Ungültige Option: erwartet eine von ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ${r.unit??`Elemente`} hat`:`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ist`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ${r.unit} hat`:`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ist`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ungültiger String: muss mit "${t.prefix}" beginnen`:t.format===`ends_with`?`Ungültiger String: muss mit "${t.suffix}" enden`:t.format===`includes`?`Ungültiger String: muss "${t.includes}" enthalten`:t.format===`regex`?`Ungültiger String: muss dem Muster ${t.pattern} entsprechen`:`Ungültig: ${r[t.format]??e.format}`}case`not_multiple_of`:return`Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`;case`unrecognized_keys`:return`${e.keys.length>1?`Unbekannte Schlüssel`:`Unbekannter Schlüssel`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ungültiger Schlüssel in ${e.origin}`;case`invalid_union`:return`Ungültige Eingabe`;case`invalid_element`:return`Ungültiger Wert in ${e.origin}`;default:return`Ungültige Eingabe`}}};function Sa(){return{localeError:xa()}}var Ca=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},wa=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,jwt:`JWT`,template_literal:`input`};return e=>{switch(e.code){case`invalid_type`:return`Invalid input: expected ${e.expected}, received ${Ca(e.input)}`;case`invalid_value`:return e.values.length===1?`Invalid input: expected ${F(e.values[0])}`:`Invalid option: expected one of ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with "${t.prefix}"`:t.format===`ends_with`?`Invalid string: must end with "${t.suffix}"`:t.format===`includes`?`Invalid string: must include "${t.includes}"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}};function Ta(){return{localeError:wa()}}var Ea=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`nombro`;case`object`:if(Array.isArray(e))return`tabelo`;if(e===null)return`senvalora`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},Da=()=>{let e={string:{unit:`karaktrojn`,verb:`havi`},file:{unit:`bajtojn`,verb:`havi`},array:{unit:`elementojn`,verb:`havi`},set:{unit:`elementojn`,verb:`havi`}};function t(t){return e[t]??null}let n={regex:`enigo`,email:`retadreso`,url:`URL`,emoji:`emoĝio`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-datotempo`,date:`ISO-dato`,time:`ISO-tempo`,duration:`ISO-daŭro`,ipv4:`IPv4-adreso`,ipv6:`IPv6-adreso`,cidrv4:`IPv4-rango`,cidrv6:`IPv6-rango`,base64:`64-ume kodita karaktraro`,base64url:`URL-64-ume kodita karaktraro`,json_string:`JSON-karaktraro`,e164:`E.164-nombro`,jwt:`JWT`,template_literal:`enigo`};return e=>{switch(e.code){case`invalid_type`:return`Nevalida enigo: atendiĝis ${e.expected}, riceviĝis ${Ea(e.input)}`;case`invalid_value`:return e.values.length===1?`Nevalida enigo: atendiĝis ${F(e.values[0])}`:`Nevalida opcio: atendiĝis unu el ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()} ${r.unit??`elementojn`}`:`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Tro malgranda: atendiĝis ke ${e.origin} havu ${n}${e.minimum.toString()} ${r.unit}`:`Tro malgranda: atendiĝis ke ${e.origin} estu ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nevalida karaktraro: devas komenciĝi per "${t.prefix}"`:t.format===`ends_with`?`Nevalida karaktraro: devas finiĝi per "${t.suffix}"`:t.format===`includes`?`Nevalida karaktraro: devas inkluzivi "${t.includes}"`:t.format===`regex`?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nevalida nombro: devas esti oblo de ${e.divisor}`;case`unrecognized_keys`:return`Nekonata${e.keys.length>1?`j`:``} ŝlosilo${e.keys.length>1?`j`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Nevalida ŝlosilo en ${e.origin}`;case`invalid_union`:return`Nevalida enigo`;case`invalid_element`:return`Nevalida valoro en ${e.origin}`;default:return`Nevalida enigo`}}};function Oa(){return{localeError:Da()}}var ka=()=>{let e={string:{unit:`caracteres`,verb:`tener`},file:{unit:`bytes`,verb:`tener`},array:{unit:`elementos`,verb:`tener`},set:{unit:`elementos`,verb:`tener`}},t={string:`texto`,number:`número`,boolean:`booleano`,array:`arreglo`,object:`objeto`,set:`conjunto`,file:`archivo`,date:`fecha`,bigint:`número grande`,symbol:`símbolo`,undefined:`indefinido`,null:`nulo`,function:`función`,map:`mapa`,record:`registro`,tuple:`tupla`,enum:`enumeración`,union:`unión`,literal:`literal`,promise:`promesa`,void:`vacío`,never:`nunca`,unknown:`desconocido`,any:`cualquiera`};function n(t){return e[t]??null}function r(e){return t[e]??e}let i=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:return Array.isArray(e)?`array`:e===null?`null`:Object.getPrototypeOf(e)===Object.prototype?`object`:e.constructor.name}return t},a={regex:`entrada`,email:`dirección de correo electrónico`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`fecha y hora ISO`,date:`fecha ISO`,time:`hora ISO`,duration:`duración ISO`,ipv4:`dirección IPv4`,ipv6:`dirección IPv6`,cidrv4:`rango IPv4`,cidrv6:`rango IPv6`,base64:`cadena codificada en base64`,base64url:`URL codificada en base64`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`};return e=>{switch(e.code){case`invalid_type`:return`Entrada inválida: se esperaba ${r(e.expected)}, recibido ${r(i(e.input))}`;case`invalid_value`:return e.values.length===1?`Entrada inválida: se esperaba ${F(e.values[0])}`:`Opción inválida: se esperaba una de ${j(e.values,`|`)}`;case`too_big`:{let t=e.inclusive?`<=`:`<`,i=n(e.origin),a=r(e.origin);return i?`Demasiado grande: se esperaba que ${a??`valor`} tuviera ${t}${e.maximum.toString()} ${i.unit??`elementos`}`:`Demasiado grande: se esperaba que ${a??`valor`} fuera ${t}${e.maximum.toString()}`}case`too_small`:{let t=e.inclusive?`>=`:`>`,i=n(e.origin),a=r(e.origin);return i?`Demasiado pequeño: se esperaba que ${a} tuviera ${t}${e.minimum.toString()} ${i.unit}`:`Demasiado pequeño: se esperaba que ${a} fuera ${t}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Cadena inválida: debe comenzar con "${t.prefix}"`:t.format===`ends_with`?`Cadena inválida: debe terminar en "${t.suffix}"`:t.format===`includes`?`Cadena inválida: debe incluir "${t.includes}"`:t.format===`regex`?`Cadena inválida: debe coincidir con el patrón ${t.pattern}`:`Inválido ${a[t.format]??e.format}`}case`not_multiple_of`:return`Número inválido: debe ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Llave${e.keys.length>1?`s`:``} desconocida${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Llave inválida en ${r(e.origin)}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido en ${r(e.origin)}`;default:return`Entrada inválida`}}};function Aa(){return{localeError:ka()}}var ja=()=>{let e={string:{unit:`کاراکتر`,verb:`داشته باشد`},file:{unit:`بایت`,verb:`داشته باشد`},array:{unit:`آیتم`,verb:`داشته باشد`},set:{unit:`آیتم`,verb:`داشته باشد`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`عدد`;case`object`:if(Array.isArray(e))return`آرایه`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`ورودی`,email:`آدرس ایمیل`,url:`URL`,emoji:`ایموجی`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاریخ و زمان ایزو`,date:`تاریخ ایزو`,time:`زمان ایزو`,duration:`مدت زمان ایزو`,ipv4:`IPv4 آدرس`,ipv6:`IPv6 آدرس`,cidrv4:`IPv4 دامنه`,cidrv6:`IPv6 دامنه`,base64:`base64-encoded رشته`,base64url:`base64url-encoded رشته`,json_string:`JSON رشته`,e164:`E.164 عدد`,jwt:`JWT`,template_literal:`ورودی`};return e=>{switch(e.code){case`invalid_type`:return`ورودی نامعتبر: میبایست ${e.expected} میبود، ${n(e.input)} دریافت شد`;case`invalid_value`:return e.values.length===1?`ورودی نامعتبر: میبایست ${F(e.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${j(e.values,`|`)} میبود`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصر`} باشد`:`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} باشد`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} باشد`:`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} باشد`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`رشته نامعتبر: باید با "${t.prefix}" شروع شود`:t.format===`ends_with`?`رشته نامعتبر: باید با "${t.suffix}" تمام شود`:t.format===`includes`?`رشته نامعتبر: باید شامل "${t.includes}" باشد`:t.format===`regex`?`رشته نامعتبر: باید با الگوی ${t.pattern} مطابقت داشته باشد`:`${r[t.format]??e.format} نامعتبر`}case`not_multiple_of`:return`عدد نامعتبر: باید مضرب ${e.divisor} باشد`;case`unrecognized_keys`:return`کلید${e.keys.length>1?`های`:``} ناشناس: ${j(e.keys,`, `)}`;case`invalid_key`:return`کلید ناشناس در ${e.origin}`;case`invalid_union`:return`ورودی نامعتبر`;case`invalid_element`:return`مقدار نامعتبر در ${e.origin}`;default:return`ورودی نامعتبر`}}};function Ma(){return{localeError:ja()}}var Na=()=>{let e={string:{unit:`merkkiä`,subject:`merkkijonon`},file:{unit:`tavua`,subject:`tiedoston`},array:{unit:`alkiota`,subject:`listan`},set:{unit:`alkiota`,subject:`joukon`},number:{unit:``,subject:`luvun`},bigint:{unit:``,subject:`suuren kokonaisluvun`},int:{unit:``,subject:`kokonaisluvun`},date:{unit:``,subject:`päivämäärän`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`säännöllinen lauseke`,email:`sähköpostiosoite`,url:`URL-osoite`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-aikaleima`,date:`ISO-päivämäärä`,time:`ISO-aika`,duration:`ISO-kesto`,ipv4:`IPv4-osoite`,ipv6:`IPv6-osoite`,cidrv4:`IPv4-alue`,cidrv6:`IPv6-alue`,base64:`base64-koodattu merkkijono`,base64url:`base64url-koodattu merkkijono`,json_string:`JSON-merkkijono`,e164:`E.164-luku`,jwt:`JWT`,template_literal:`templaattimerkkijono`};return e=>{switch(e.code){case`invalid_type`:return`Virheellinen tyyppi: odotettiin ${e.expected}, oli ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Virheellinen syöte: täytyy olla ${F(e.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Liian suuri: ${r.subject} täytyy olla ${n}${e.maximum.toString()} ${r.unit}`.trim():`Liian suuri: arvon täytyy olla ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Liian pieni: ${r.subject} täytyy olla ${n}${e.minimum.toString()} ${r.unit}`.trim():`Liian pieni: arvon täytyy olla ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Virheellinen syöte: täytyy alkaa "${t.prefix}"`:t.format===`ends_with`?`Virheellinen syöte: täytyy loppua "${t.suffix}"`:t.format===`includes`?`Virheellinen syöte: täytyy sisältää "${t.includes}"`:t.format===`regex`?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${t.pattern}`:`Virheellinen ${r[t.format]??e.format}`}case`not_multiple_of`:return`Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`;case`unrecognized_keys`:return`${e.keys.length>1?`Tuntemattomat avaimet`:`Tuntematon avain`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Virheellinen avain tietueessa`;case`invalid_union`:return`Virheellinen unioni`;case`invalid_element`:return`Virheellinen arvo joukossa`;default:return`Virheellinen syöte`}}};function Pa(){return{localeError:Na()}}var Fa=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`nombre`;case`object`:if(Array.isArray(e))return`tableau`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`entrée`,email:`adresse e-mail`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`date et heure ISO`,date:`date ISO`,time:`heure ISO`,duration:`durée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`};return e=>{switch(e.code){case`invalid_type`:return`Entrée invalide : ${e.expected} attendu, ${n(e.input)} reçu`;case`invalid_value`:return e.values.length===1?`Entrée invalide : ${F(e.values[0])} attendu`:`Option invalide : une valeur parmi ${j(e.values,`|`)} attendue`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Trop grand : ${e.origin??`valeur`} doit ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`élément(s)`}`:`Trop grand : ${e.origin??`valeur`} doit être ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Trop petit : ${e.origin} doit ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : ${e.origin} doit être ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par "${t.prefix}"`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par "${t.suffix}"`:t.format===`includes`?`Chaîne invalide : doit inclure "${t.includes}"`:t.format===`regex`?`Chaîne invalide : doit correspondre au modèle ${t.pattern}`:`${r[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${j(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}};function Ia(){return{localeError:Fa()}}var La=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`entrée`,email:`adresse courriel`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`date-heure ISO`,date:`date ISO`,time:`heure ISO`,duration:`durée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`};return e=>{switch(e.code){case`invalid_type`:return`Entrée invalide : attendu ${e.expected}, reçu ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Entrée invalide : attendu ${F(e.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`≤`:`<`,r=t(e.origin);return r?`Trop grand : attendu que ${e.origin??`la valeur`} ait ${n}${e.maximum.toString()} ${r.unit}`:`Trop grand : attendu que ${e.origin??`la valeur`} soit ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`≥`:`>`,r=t(e.origin);return r?`Trop petit : attendu que ${e.origin} ait ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : attendu que ${e.origin} soit ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par "${t.prefix}"`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par "${t.suffix}"`:t.format===`includes`?`Chaîne invalide : doit inclure "${t.includes}"`:t.format===`regex`?`Chaîne invalide : doit correspondre au motif ${t.pattern}`:`${r[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${j(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}};function Ra(){return{localeError:La()}}var za=()=>{let e={string:{unit:`אותיות`,verb:`לכלול`},file:{unit:`בייטים`,verb:`לכלול`},array:{unit:`פריטים`,verb:`לכלול`},set:{unit:`פריטים`,verb:`לכלול`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`קלט`,email:`כתובת אימייל`,url:`כתובת רשת`,emoji:`אימוג'י`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`תאריך וזמן ISO`,date:`תאריך ISO`,time:`זמן ISO`,duration:`משך זמן ISO`,ipv4:`כתובת IPv4`,ipv6:`כתובת IPv6`,cidrv4:`טווח IPv4`,cidrv6:`טווח IPv6`,base64:`מחרוזת בבסיס 64`,base64url:`מחרוזת בבסיס 64 לכתובות רשת`,json_string:`מחרוזת JSON`,e164:`מספר E.164`,jwt:`JWT`,template_literal:`קלט`};return e=>{switch(e.code){case`invalid_type`:return`קלט לא תקין: צריך ${e.expected}, התקבל ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`קלט לא תקין: צריך ${F(e.values[0])}`:`קלט לא תקין: צריך אחת מהאפשרויות ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`גדול מדי: ${e.origin??`value`} צריך להיות ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`גדול מדי: ${e.origin??`value`} צריך להיות ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`קטן מדי: ${e.origin} צריך להיות ${n}${e.minimum.toString()} ${r.unit}`:`קטן מדי: ${e.origin} צריך להיות ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`מחרוזת לא תקינה: חייבת להתחיל ב"${t.prefix}"`:t.format===`ends_with`?`מחרוזת לא תקינה: חייבת להסתיים ב "${t.suffix}"`:t.format===`includes`?`מחרוזת לא תקינה: חייבת לכלול "${t.includes}"`:t.format===`regex`?`מחרוזת לא תקינה: חייבת להתאים לתבנית ${t.pattern}`:`${r[t.format]??e.format} לא תקין`}case`not_multiple_of`:return`מספר לא תקין: חייב להיות מכפלה של ${e.divisor}`;case`unrecognized_keys`:return`מפתח${e.keys.length>1?`ות`:``} לא מזוה${e.keys.length>1?`ים`:`ה`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`מפתח לא תקין ב${e.origin}`;case`invalid_union`:return`קלט לא תקין`;case`invalid_element`:return`ערך לא תקין ב${e.origin}`;default:return`קלט לא תקין`}}};function Ba(){return{localeError:za()}}var Va=()=>{let e={string:{unit:`karakter`,verb:`legyen`},file:{unit:`byte`,verb:`legyen`},array:{unit:`elem`,verb:`legyen`},set:{unit:`elem`,verb:`legyen`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`szám`;case`object`:if(Array.isArray(e))return`tömb`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`bemenet`,email:`email cím`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO időbélyeg`,date:`ISO dátum`,time:`ISO idő`,duration:`ISO időintervallum`,ipv4:`IPv4 cím`,ipv6:`IPv6 cím`,cidrv4:`IPv4 tartomány`,cidrv6:`IPv6 tartomány`,base64:`base64-kódolt string`,base64url:`base64url-kódolt string`,json_string:`JSON string`,e164:`E.164 szám`,jwt:`JWT`,template_literal:`bemenet`};return e=>{switch(e.code){case`invalid_type`:return`Érvénytelen bemenet: a várt érték ${e.expected}, a kapott érték ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Érvénytelen bemenet: a várt érték ${F(e.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Túl nagy: ${e.origin??`érték`} mérete túl nagy ${n}${e.maximum.toString()} ${r.unit??`elem`}`:`Túl nagy: a bemeneti érték ${e.origin??`érték`} túl nagy: ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${n}${e.minimum.toString()} ${r.unit}`:`Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Érvénytelen string: "${t.prefix}" értékkel kell kezdődnie`:t.format===`ends_with`?`Érvénytelen string: "${t.suffix}" értékkel kell végződnie`:t.format===`includes`?`Érvénytelen string: "${t.includes}" értéket kell tartalmaznia`:t.format===`regex`?`Érvénytelen string: ${t.pattern} mintának kell megfelelnie`:`Érvénytelen ${r[t.format]??e.format}`}case`not_multiple_of`:return`Érvénytelen szám: ${e.divisor} többszörösének kell lennie`;case`unrecognized_keys`:return`Ismeretlen kulcs${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Érvénytelen kulcs ${e.origin}`;case`invalid_union`:return`Érvénytelen bemenet`;case`invalid_element`:return`Érvénytelen érték: ${e.origin}`;default:return`Érvénytelen bemenet`}}};function Ha(){return{localeError:Va()}}var Ua=()=>{let e={string:{unit:`karakter`,verb:`memiliki`},file:{unit:`byte`,verb:`memiliki`},array:{unit:`item`,verb:`memiliki`},set:{unit:`item`,verb:`memiliki`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`input`,email:`alamat email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`tanggal dan waktu format ISO`,date:`tanggal format ISO`,time:`jam format ISO`,duration:`durasi format ISO`,ipv4:`alamat IPv4`,ipv6:`alamat IPv6`,cidrv4:`rentang alamat IPv4`,cidrv6:`rentang alamat IPv6`,base64:`string dengan enkode base64`,base64url:`string dengan enkode base64url`,json_string:`string JSON`,e164:`angka E.164`,jwt:`JWT`,template_literal:`input`};return e=>{switch(e.code){case`invalid_type`:return`Input tidak valid: diharapkan ${e.expected}, diterima ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Input tidak valid: diharapkan ${F(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: diharapkan ${e.origin??`value`} memiliki ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: diharapkan ${e.origin??`value`} menjadi ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: diharapkan ${e.origin} memiliki ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: diharapkan ${e.origin} menjadi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak valid: harus dimulai dengan "${t.prefix}"`:t.format===`ends_with`?`String tidak valid: harus berakhir dengan "${t.suffix}"`:t.format===`includes`?`String tidak valid: harus menyertakan "${t.includes}"`:t.format===`regex`?`String tidak valid: harus sesuai pola ${t.pattern}`:`${r[t.format]??e.format} tidak valid`}case`not_multiple_of`:return`Angka tidak valid: harus kelipatan dari ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali ${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak valid di ${e.origin}`;case`invalid_union`:return`Input tidak valid`;case`invalid_element`:return`Nilai tidak valid di ${e.origin}`;default:return`Input tidak valid`}}};function Wa(){return{localeError:Ua()}}var Ga=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`númer`;case`object`:if(Array.isArray(e))return`fylki`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},Ka=()=>{let e={string:{unit:`stafi`,verb:`að hafa`},file:{unit:`bæti`,verb:`að hafa`},array:{unit:`hluti`,verb:`að hafa`},set:{unit:`hluti`,verb:`að hafa`}};function t(t){return e[t]??null}let n={regex:`gildi`,email:`netfang`,url:`vefslóð`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dagsetning og tími`,date:`ISO dagsetning`,time:`ISO tími`,duration:`ISO tímalengd`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded strengur`,base64url:`base64url-encoded strengur`,json_string:`JSON strengur`,e164:`E.164 tölugildi`,jwt:`JWT`,template_literal:`gildi`};return e=>{switch(e.code){case`invalid_type`:return`Rangt gildi: Þú slóst inn ${Ga(e.input)} þar sem á að vera ${e.expected}`;case`invalid_value`:return e.values.length===1?`Rangt gildi: gert ráð fyrir ${F(e.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} hafi ${n}${e.maximum.toString()} ${r.unit??`hluti`}`:`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} sé ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Of lítið: gert er ráð fyrir að ${e.origin} hafi ${n}${e.minimum.toString()} ${r.unit}`:`Of lítið: gert er ráð fyrir að ${e.origin} sé ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ógildur strengur: verður að byrja á "${t.prefix}"`:t.format===`ends_with`?`Ógildur strengur: verður að enda á "${t.suffix}"`:t.format===`includes`?`Ógildur strengur: verður að innihalda "${t.includes}"`:t.format===`regex`?`Ógildur strengur: verður að fylgja mynstri ${t.pattern}`:`Rangt ${n[t.format]??e.format}`}case`not_multiple_of`:return`Röng tala: verður að vera margfeldi af ${e.divisor}`;case`unrecognized_keys`:return`Óþekkt ${e.keys.length>1?`ir lyklar`:`ur lykill`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Rangur lykill í ${e.origin}`;case`invalid_union`:return`Rangt gildi`;case`invalid_element`:return`Rangt gildi í ${e.origin}`;default:return`Rangt gildi`}}};function qa(){return{localeError:Ka()}}var Ja=()=>{let e={string:{unit:`caratteri`,verb:`avere`},file:{unit:`byte`,verb:`avere`},array:{unit:`elementi`,verb:`avere`},set:{unit:`elementi`,verb:`avere`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`numero`;case`object`:if(Array.isArray(e))return`vettore`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`input`,email:`indirizzo email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data e ora ISO`,date:`data ISO`,time:`ora ISO`,duration:`durata ISO`,ipv4:`indirizzo IPv4`,ipv6:`indirizzo IPv6`,cidrv4:`intervallo IPv4`,cidrv6:`intervallo IPv6`,base64:`stringa codificata in base64`,base64url:`URL codificata in base64`,json_string:`stringa JSON`,e164:`numero E.164`,jwt:`JWT`,template_literal:`input`};return e=>{switch(e.code){case`invalid_type`:return`Input non valido: atteso ${e.expected}, ricevuto ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Input non valido: atteso ${F(e.values[0])}`:`Opzione non valida: atteso uno tra ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Troppo grande: ${e.origin??`valore`} deve avere ${n}${e.maximum.toString()} ${r.unit??`elementi`}`:`Troppo grande: ${e.origin??`valore`} deve essere ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Troppo piccolo: ${e.origin} deve avere ${n}${e.minimum.toString()} ${r.unit}`:`Troppo piccolo: ${e.origin} deve essere ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Stringa non valida: deve iniziare con "${t.prefix}"`:t.format===`ends_with`?`Stringa non valida: deve terminare con "${t.suffix}"`:t.format===`includes`?`Stringa non valida: deve includere "${t.includes}"`:t.format===`regex`?`Stringa non valida: deve corrispondere al pattern ${t.pattern}`:`Invalid ${r[t.format]??e.format}`}case`not_multiple_of`:return`Numero non valido: deve essere un multiplo di ${e.divisor}`;case`unrecognized_keys`:return`Chiav${e.keys.length>1?`i`:`e`} non riconosciut${e.keys.length>1?`e`:`a`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Chiave non valida in ${e.origin}`;case`invalid_union`:return`Input non valido`;case`invalid_element`:return`Valore non valido in ${e.origin}`;default:return`Input non valido`}}};function Ya(){return{localeError:Ja()}}var Xa=()=>{let e={string:{unit:`文字`,verb:`である`},file:{unit:`バイト`,verb:`である`},array:{unit:`要素`,verb:`である`},set:{unit:`要素`,verb:`である`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`数値`;case`object`:if(Array.isArray(e))return`配列`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`入力値`,email:`メールアドレス`,url:`URL`,emoji:`絵文字`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日時`,date:`ISO日付`,time:`ISO時刻`,duration:`ISO期間`,ipv4:`IPv4アドレス`,ipv6:`IPv6アドレス`,cidrv4:`IPv4範囲`,cidrv6:`IPv6範囲`,base64:`base64エンコード文字列`,base64url:`base64urlエンコード文字列`,json_string:`JSON文字列`,e164:`E.164番号`,jwt:`JWT`,template_literal:`入力値`};return e=>{switch(e.code){case`invalid_type`:return`無効な入力: ${e.expected}が期待されましたが、${n(e.input)}が入力されました`;case`invalid_value`:return e.values.length===1?`無効な入力: ${F(e.values[0])}が期待されました`:`無効な選択: ${j(e.values,`、`)}のいずれかである必要があります`;case`too_big`:{let n=e.inclusive?`以下である`:`より小さい`,r=t(e.origin);return r?`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${r.unit??`要素`}${n}必要があります`:`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${n}必要があります`}case`too_small`:{let n=e.inclusive?`以上である`:`より大きい`,r=t(e.origin);return r?`小さすぎる値: ${e.origin}は${e.minimum.toString()}${r.unit}${n}必要があります`:`小さすぎる値: ${e.origin}は${e.minimum.toString()}${n}必要があります`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無効な文字列: "${t.prefix}"で始まる必要があります`:t.format===`ends_with`?`無効な文字列: "${t.suffix}"で終わる必要があります`:t.format===`includes`?`無効な文字列: "${t.includes}"を含む必要があります`:t.format===`regex`?`無効な文字列: パターン${t.pattern}に一致する必要があります`:`無効な${r[t.format]??e.format}`}case`not_multiple_of`:return`無効な数値: ${e.divisor}の倍数である必要があります`;case`unrecognized_keys`:return`認識されていないキー${e.keys.length>1?`群`:``}: ${j(e.keys,`、`)}`;case`invalid_key`:return`${e.origin}内の無効なキー`;case`invalid_union`:return`無効な入力`;case`invalid_element`:return`${e.origin}内の無効な値`;default:return`無効な入力`}}};function Za(){return{localeError:Xa()}}var Qa=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`რიცხვი`;case`object`:if(Array.isArray(e))return`მასივი`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return{string:`სტრინგი`,boolean:`ბულეანი`,undefined:`undefined`,bigint:`bigint`,symbol:`symbol`,function:`ფუნქცია`}[t]??t},$a=()=>{let e={string:{unit:`სიმბოლო`,verb:`უნდა შეიცავდეს`},file:{unit:`ბაიტი`,verb:`უნდა შეიცავდეს`},array:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`},set:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`}};function t(t){return e[t]??null}let n={regex:`შეყვანა`,email:`ელ-ფოსტის მისამართი`,url:`URL`,emoji:`ემოჯი`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`თარიღი-დრო`,date:`თარიღი`,time:`დრო`,duration:`ხანგრძლივობა`,ipv4:`IPv4 მისამართი`,ipv6:`IPv6 მისამართი`,cidrv4:`IPv4 დიაპაზონი`,cidrv6:`IPv6 დიაპაზონი`,base64:`base64-კოდირებული სტრინგი`,base64url:`base64url-კოდირებული სტრინგი`,json_string:`JSON სტრინგი`,e164:`E.164 ნომერი`,jwt:`JWT`,template_literal:`შეყვანა`};return e=>{switch(e.code){case`invalid_type`:return`არასწორი შეყვანა: მოსალოდნელი ${e.expected}, მიღებული ${Qa(e.input)}`;case`invalid_value`:return e.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${F(e.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${j(e.values,`|`)}-დან`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} იყოს ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ზედმეტად პატარა: მოსალოდნელი ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${e.origin} იყოს ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`არასწორი სტრინგი: უნდა იწყებოდეს "${t.prefix}"-ით`:t.format===`ends_with`?`არასწორი სტრინგი: უნდა მთავრდებოდეს "${t.suffix}"-ით`:t.format===`includes`?`არასწორი სტრინგი: უნდა შეიცავდეს "${t.includes}"-ს`:t.format===`regex`?`არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}`:`არასწორი ${n[t.format]??e.format}`}case`not_multiple_of`:return`არასწორი რიცხვი: უნდა იყოს ${e.divisor}-ის ჯერადი`;case`unrecognized_keys`:return`უცნობი გასაღებ${e.keys.length>1?`ები`:`ი`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`არასწორი გასაღები ${e.origin}-ში`;case`invalid_union`:return`არასწორი შეყვანა`;case`invalid_element`:return`არასწორი მნიშვნელობა ${e.origin}-ში`;default:return`არასწორი შეყვანა`}}};function eo(){return{localeError:$a()}}var to=()=>{let e={string:{unit:`តួអក្សរ`,verb:`គួរមាន`},file:{unit:`បៃ`,verb:`គួរមាន`},array:{unit:`ធាតុ`,verb:`គួរមាន`},set:{unit:`ធាតុ`,verb:`គួរមាន`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`មិនមែនជាលេខ (NaN)`:`លេខ`;case`object`:if(Array.isArray(e))return`អារេ (Array)`;if(e===null)return`គ្មានតម្លៃ (null)`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`ទិន្នន័យបញ្ចូល`,email:`អាសយដ្ឋានអ៊ីមែល`,url:`URL`,emoji:`សញ្ញាអារម្មណ៍`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`កាលបរិច្ឆេទ និងម៉ោង ISO`,date:`កាលបរិច្ឆេទ ISO`,time:`ម៉ោង ISO`,duration:`រយៈពេល ISO`,ipv4:`អាសយដ្ឋាន IPv4`,ipv6:`អាសយដ្ឋាន IPv6`,cidrv4:`ដែនអាសយដ្ឋាន IPv4`,cidrv6:`ដែនអាសយដ្ឋាន IPv6`,base64:`ខ្សែអក្សរអ៊ិកូដ base64`,base64url:`ខ្សែអក្សរអ៊ិកូដ base64url`,json_string:`ខ្សែអក្សរ JSON`,e164:`លេខ E.164`,jwt:`JWT`,template_literal:`ទិន្នន័យបញ្ចូល`};return e=>{switch(e.code){case`invalid_type`:return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${e.expected} ប៉ុន្តែទទួលបាន ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${F(e.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()} ${r.unit??`ធាតុ`}`:`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()} ${r.unit}`:`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${t.prefix}"`:t.format===`ends_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${t.suffix}"`:t.format===`includes`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${t.includes}"`:t.format===`regex`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${t.pattern}`:`មិនត្រឹមត្រូវ៖ ${r[t.format]??e.format}`}case`not_multiple_of`:return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`;case`unrecognized_keys`:return`រកឃើញសោមិនស្គាល់៖ ${j(e.keys,`, `)}`;case`invalid_key`:return`សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;case`invalid_union`:return`ទិន្នន័យមិនត្រឹមត្រូវ`;case`invalid_element`:return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;default:return`ទិន្នន័យមិនត្រឹមត្រូវ`}}};function no(){return{localeError:to()}}function ro(){return no()}var io=()=>{let e={string:{unit:`문자`,verb:`to have`},file:{unit:`바이트`,verb:`to have`},array:{unit:`개`,verb:`to have`},set:{unit:`개`,verb:`to have`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`입력`,email:`이메일 주소`,url:`URL`,emoji:`이모지`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO 날짜시간`,date:`ISO 날짜`,time:`ISO 시간`,duration:`ISO 기간`,ipv4:`IPv4 주소`,ipv6:`IPv6 주소`,cidrv4:`IPv4 범위`,cidrv6:`IPv6 범위`,base64:`base64 인코딩 문자열`,base64url:`base64url 인코딩 문자열`,json_string:`JSON 문자열`,e164:`E.164 번호`,jwt:`JWT`,template_literal:`입력`};return e=>{switch(e.code){case`invalid_type`:return`잘못된 입력: 예상 타입은 ${e.expected}, 받은 타입은 ${n(e.input)}입니다`;case`invalid_value`:return e.values.length===1?`잘못된 입력: 값은 ${F(e.values[0])} 이어야 합니다`:`잘못된 옵션: ${j(e.values,`또는 `)} 중 하나여야 합니다`;case`too_big`:{let n=e.inclusive?`이하`:`미만`,r=n===`미만`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()} ${n}${r}`}case`too_small`:{let n=e.inclusive?`이상`:`초과`,r=n===`이상`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()} ${n}${r}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`잘못된 문자열: "${t.prefix}"(으)로 시작해야 합니다`:t.format===`ends_with`?`잘못된 문자열: "${t.suffix}"(으)로 끝나야 합니다`:t.format===`includes`?`잘못된 문자열: "${t.includes}"을(를) 포함해야 합니다`:t.format===`regex`?`잘못된 문자열: 정규식 ${t.pattern} 패턴과 일치해야 합니다`:`잘못된 ${r[t.format]??e.format}`}case`not_multiple_of`:return`잘못된 숫자: ${e.divisor}의 배수여야 합니다`;case`unrecognized_keys`:return`인식할 수 없는 키: ${j(e.keys,`, `)}`;case`invalid_key`:return`잘못된 키: ${e.origin}`;case`invalid_union`:return`잘못된 입력`;case`invalid_element`:return`잘못된 값: ${e.origin}`;default:return`잘못된 입력`}}};function ao(){return{localeError:io()}}var oo=e=>so(typeof e,e),so=(e,t=void 0)=>{switch(e){case`number`:return Number.isNaN(t)?`NaN`:`skaičius`;case`bigint`:return`sveikasis skaičius`;case`string`:return`eilutė`;case`boolean`:return`loginė reikšmė`;case`undefined`:case`void`:return`neapibrėžta reikšmė`;case`function`:return`funkcija`;case`symbol`:return`simbolis`;case`object`:return t===void 0?`nežinomas objektas`:t===null?`nulinė reikšmė`:Array.isArray(t)?`masyvas`:Object.getPrototypeOf(t)!==Object.prototype&&t.constructor?t.constructor.name:`objektas`;case`null`:return`nulinė reikšmė`}return e},co=e=>e.charAt(0).toUpperCase()+e.slice(1);function lo(e){let t=Math.abs(e),n=t%10,r=t%100;return r>=11&&r<=19||n===0?`many`:n===1?`one`:`few`}var uo=()=>{let e={string:{unit:{one:`simbolis`,few:`simboliai`,many:`simbolių`},verb:{smaller:{inclusive:`turi būti ne ilgesnė kaip`,notInclusive:`turi būti trumpesnė kaip`},bigger:{inclusive:`turi būti ne trumpesnė kaip`,notInclusive:`turi būti ilgesnė kaip`}}},file:{unit:{one:`baitas`,few:`baitai`,many:`baitų`},verb:{smaller:{inclusive:`turi būti ne didesnis kaip`,notInclusive:`turi būti mažesnis kaip`},bigger:{inclusive:`turi būti ne mažesnis kaip`,notInclusive:`turi būti didesnis kaip`}}},array:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}},set:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}}};function t(t,n,r,i){let a=e[t]??null;return a===null?a:{unit:a.unit[n],verb:a.verb[i][r?`inclusive`:`notInclusive`]}}let n={regex:`įvestis`,email:`el. pašto adresas`,url:`URL`,emoji:`jaustukas`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO data ir laikas`,date:`ISO data`,time:`ISO laikas`,duration:`ISO trukmė`,ipv4:`IPv4 adresas`,ipv6:`IPv6 adresas`,cidrv4:`IPv4 tinklo prefiksas (CIDR)`,cidrv6:`IPv6 tinklo prefiksas (CIDR)`,base64:`base64 užkoduota eilutė`,base64url:`base64url užkoduota eilutė`,json_string:`JSON eilutė`,e164:`E.164 numeris`,jwt:`JWT`,template_literal:`įvestis`};return e=>{switch(e.code){case`invalid_type`:return`Gautas tipas ${oo(e.input)}, o tikėtasi - ${so(e.expected)}`;case`invalid_value`:return e.values.length===1?`Privalo būti ${F(e.values[0])}`:`Privalo būti vienas iš ${j(e.values,`|`)} pasirinkimų`;case`too_big`:{let n=so(e.origin),r=t(e.origin,lo(Number(e.maximum)),e.inclusive??!1,`smaller`);if(r?.verb)return`${co(n??e.origin??`reikšmė`)} ${r.verb} ${e.maximum.toString()} ${r.unit??`elementų`}`;let i=e.inclusive?`ne didesnis kaip`:`mažesnis kaip`;return`${co(n??e.origin??`reikšmė`)} turi būti ${i} ${e.maximum.toString()} ${r?.unit}`}case`too_small`:{let n=so(e.origin),r=t(e.origin,lo(Number(e.minimum)),e.inclusive??!1,`bigger`);if(r?.verb)return`${co(n??e.origin??`reikšmė`)} ${r.verb} ${e.minimum.toString()} ${r.unit??`elementų`}`;let i=e.inclusive?`ne mažesnis kaip`:`didesnis kaip`;return`${co(n??e.origin??`reikšmė`)} turi būti ${i} ${e.minimum.toString()} ${r?.unit}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Eilutė privalo prasidėti "${t.prefix}"`:t.format===`ends_with`?`Eilutė privalo pasibaigti "${t.suffix}"`:t.format===`includes`?`Eilutė privalo įtraukti "${t.includes}"`:t.format===`regex`?`Eilutė privalo atitikti ${t.pattern}`:`Neteisingas ${n[t.format]??e.format}`}case`not_multiple_of`:return`Skaičius privalo būti ${e.divisor} kartotinis.`;case`unrecognized_keys`:return`Neatpažint${e.keys.length>1?`i`:`as`} rakt${e.keys.length>1?`ai`:`as`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Rastas klaidingas raktas`;case`invalid_union`:return`Klaidinga įvestis`;case`invalid_element`:return`${co(so(e.origin)??e.origin??`reikšmė`)} turi klaidingą įvestį`;default:return`Klaidinga įvestis`}}};function fo(){return{localeError:uo()}}var po=()=>{let e={string:{unit:`знаци`,verb:`да имаат`},file:{unit:`бајти`,verb:`да имаат`},array:{unit:`ставки`,verb:`да имаат`},set:{unit:`ставки`,verb:`да имаат`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`број`;case`object`:if(Array.isArray(e))return`низа`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`внес`,email:`адреса на е-пошта`,url:`URL`,emoji:`емоџи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO датум и време`,date:`ISO датум`,time:`ISO време`,duration:`ISO времетраење`,ipv4:`IPv4 адреса`,ipv6:`IPv6 адреса`,cidrv4:`IPv4 опсег`,cidrv6:`IPv6 опсег`,base64:`base64-енкодирана низа`,base64url:`base64url-енкодирана низа`,json_string:`JSON низа`,e164:`E.164 број`,jwt:`JWT`,template_literal:`внес`};return e=>{switch(e.code){case`invalid_type`:return`Грешен внес: се очекува ${e.expected}, примено ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Invalid input: expected ${F(e.values[0])}`:`Грешана опција: се очекува една ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Премногу голем: се очекува ${e.origin??`вредноста`} да има ${n}${e.maximum.toString()} ${r.unit??`елементи`}`:`Премногу голем: се очекува ${e.origin??`вредноста`} да биде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Премногу мал: се очекува ${e.origin} да има ${n}${e.minimum.toString()} ${r.unit}`:`Премногу мал: се очекува ${e.origin} да биде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неважечка низа: мора да започнува со "${t.prefix}"`:t.format===`ends_with`?`Неважечка низа: мора да завршува со "${t.suffix}"`:t.format===`includes`?`Неважечка низа: мора да вклучува "${t.includes}"`:t.format===`regex`?`Неважечка низа: мора да одгоара на патернот ${t.pattern}`:`Invalid ${r[t.format]??e.format}`}case`not_multiple_of`:return`Грешен број: мора да биде делив со ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Непрепознаени клучеви`:`Непрепознаен клуч`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Грешен клуч во ${e.origin}`;case`invalid_union`:return`Грешен внес`;case`invalid_element`:return`Грешна вредност во ${e.origin}`;default:return`Грешен внес`}}};function mo(){return{localeError:po()}}var ho=()=>{let e={string:{unit:`aksara`,verb:`mempunyai`},file:{unit:`bait`,verb:`mempunyai`},array:{unit:`elemen`,verb:`mempunyai`},set:{unit:`elemen`,verb:`mempunyai`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`nombor`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`input`,email:`alamat e-mel`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`tarikh masa ISO`,date:`tarikh ISO`,time:`masa ISO`,duration:`tempoh ISO`,ipv4:`alamat IPv4`,ipv6:`alamat IPv6`,cidrv4:`julat IPv4`,cidrv6:`julat IPv6`,base64:`string dikodkan base64`,base64url:`string dikodkan base64url`,json_string:`string JSON`,e164:`nombor E.164`,jwt:`JWT`,template_literal:`input`};return e=>{switch(e.code){case`invalid_type`:return`Input tidak sah: dijangka ${e.expected}, diterima ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Input tidak sah: dijangka ${F(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: dijangka ${e.origin??`nilai`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: dijangka ${e.origin??`nilai`} adalah ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: dijangka ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: dijangka ${e.origin} adalah ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak sah: mesti bermula dengan "${t.prefix}"`:t.format===`ends_with`?`String tidak sah: mesti berakhir dengan "${t.suffix}"`:t.format===`includes`?`String tidak sah: mesti mengandungi "${t.includes}"`:t.format===`regex`?`String tidak sah: mesti sepadan dengan corak ${t.pattern}`:`${r[t.format]??e.format} tidak sah`}case`not_multiple_of`:return`Nombor tidak sah: perlu gandaan ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali: ${j(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak sah dalam ${e.origin}`;case`invalid_union`:return`Input tidak sah`;case`invalid_element`:return`Nilai tidak sah dalam ${e.origin}`;default:return`Input tidak sah`}}};function go(){return{localeError:ho()}}var _o=()=>{let e={string:{unit:`tekens`},file:{unit:`bytes`},array:{unit:`elementen`},set:{unit:`elementen`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`getal`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`invoer`,email:`emailadres`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum en tijd`,date:`ISO datum`,time:`ISO tijd`,duration:`ISO duur`,ipv4:`IPv4-adres`,ipv6:`IPv6-adres`,cidrv4:`IPv4-bereik`,cidrv6:`IPv6-bereik`,base64:`base64-gecodeerde tekst`,base64url:`base64 URL-gecodeerde tekst`,json_string:`JSON string`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`invoer`};return e=>{switch(e.code){case`invalid_type`:return`Ongeldige invoer: verwacht ${e.expected}, ontving ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Ongeldige invoer: verwacht ${F(e.values[0])}`:`Ongeldige optie: verwacht één van ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Te lang: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} ${r.unit??`elementen`} bevat`:`Te lang: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} is`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Te kort: verwacht dat ${e.origin} ${n}${e.minimum.toString()} ${r.unit} bevat`:`Te kort: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ongeldige tekst: moet met "${t.prefix}" beginnen`:t.format===`ends_with`?`Ongeldige tekst: moet op "${t.suffix}" eindigen`:t.format===`includes`?`Ongeldige tekst: moet "${t.includes}" bevatten`:t.format===`regex`?`Ongeldige tekst: moet overeenkomen met patroon ${t.pattern}`:`Ongeldig: ${r[t.format]??e.format}`}case`not_multiple_of`:return`Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;case`unrecognized_keys`:return`Onbekende key${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ongeldige key in ${e.origin}`;case`invalid_union`:return`Ongeldige invoer`;case`invalid_element`:return`Ongeldige waarde in ${e.origin}`;default:return`Ongeldige invoer`}}};function vo(){return{localeError:_o()}}var yo=()=>{let e={string:{unit:`tegn`,verb:`å ha`},file:{unit:`bytes`,verb:`å ha`},array:{unit:`elementer`,verb:`å inneholde`},set:{unit:`elementer`,verb:`å inneholde`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`tall`;case`object`:if(Array.isArray(e))return`liste`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`input`,email:`e-postadresse`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dato- og klokkeslett`,date:`ISO-dato`,time:`ISO-klokkeslett`,duration:`ISO-varighet`,ipv4:`IPv4-område`,ipv6:`IPv6-område`,cidrv4:`IPv4-spekter`,cidrv6:`IPv6-spekter`,base64:`base64-enkodet streng`,base64url:`base64url-enkodet streng`,json_string:`JSON-streng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`input`};return e=>{switch(e.code){case`invalid_type`:return`Ugyldig input: forventet ${e.expected}, fikk ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Ugyldig verdi: forventet ${F(e.values[0])}`:`Ugyldig valg: forventet en av ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()} ${r.unit??`elementer`}`:`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()} ${r.unit}`:`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: må starte med "${t.prefix}"`:t.format===`ends_with`?`Ugyldig streng: må ende med "${t.suffix}"`:t.format===`includes`?`Ugyldig streng: må inneholde "${t.includes}"`:t.format===`regex`?`Ugyldig streng: må matche mønsteret ${t.pattern}`:`Ugyldig ${r[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldig tall: må være et multiplum av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukjente nøkler`:`Ukjent nøkkel`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøkkel i ${e.origin}`;case`invalid_union`:return`Ugyldig input`;case`invalid_element`:return`Ugyldig verdi i ${e.origin}`;default:return`Ugyldig input`}}};function bo(){return{localeError:yo()}}var xo=()=>{let e={string:{unit:`harf`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`unsur`,verb:`olmalıdır`},set:{unit:`unsur`,verb:`olmalıdır`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`numara`;case`object`:if(Array.isArray(e))return`saf`;if(e===null)return`gayb`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`giren`,email:`epostagâh`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO hengâmı`,date:`ISO tarihi`,time:`ISO zamanı`,duration:`ISO müddeti`,ipv4:`IPv4 nişânı`,ipv6:`IPv6 nişânı`,cidrv4:`IPv4 menzili`,cidrv6:`IPv6 menzili`,base64:`base64-şifreli metin`,base64url:`base64url-şifreli metin`,json_string:`JSON metin`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`giren`};return e=>{switch(e.code){case`invalid_type`:return`Fâsit giren: umulan ${e.expected}, alınan ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Fâsit giren: umulan ${F(e.values[0])}`:`Fâsit tercih: mûteberler ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} ${r.unit??`elements`} sahip olmalıydı.`:`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} olmalıydı.`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} ${r.unit} sahip olmalıydı.`:`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} olmalıydı.`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Fâsit metin: "${t.prefix}" ile başlamalı.`:t.format===`ends_with`?`Fâsit metin: "${t.suffix}" ile bitmeli.`:t.format===`includes`?`Fâsit metin: "${t.includes}" ihtivâ etmeli.`:t.format===`regex`?`Fâsit metin: ${t.pattern} nakşına uymalı.`:`Fâsit ${r[t.format]??e.format}`}case`not_multiple_of`:return`Fâsit sayı: ${e.divisor} katı olmalıydı.`;case`unrecognized_keys`:return`Tanınmayan anahtar ${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} için tanınmayan anahtar var.`;case`invalid_union`:return`Giren tanınamadı.`;case`invalid_element`:return`${e.origin} için tanınmayan kıymet var.`;default:return`Kıymet tanınamadı.`}}};function So(){return{localeError:xo()}}var Co=()=>{let e={string:{unit:`توکي`,verb:`ولري`},file:{unit:`بایټس`,verb:`ولري`},array:{unit:`توکي`,verb:`ولري`},set:{unit:`توکي`,verb:`ولري`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`عدد`;case`object`:if(Array.isArray(e))return`ارې`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`ورودي`,email:`بریښنالیک`,url:`یو آر ال`,emoji:`ایموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`نیټه او وخت`,date:`نېټه`,time:`وخت`,duration:`موده`,ipv4:`د IPv4 پته`,ipv6:`د IPv6 پته`,cidrv4:`د IPv4 ساحه`,cidrv6:`د IPv6 ساحه`,base64:`base64-encoded متن`,base64url:`base64url-encoded متن`,json_string:`JSON متن`,e164:`د E.164 شمېره`,jwt:`JWT`,template_literal:`ورودي`};return e=>{switch(e.code){case`invalid_type`:return`ناسم ورودي: باید ${e.expected} وای, مګر ${n(e.input)} ترلاسه شو`;case`invalid_value`:return e.values.length===1?`ناسم ورودي: باید ${F(e.values[0])} وای`:`ناسم انتخاب: باید یو له ${j(e.values,`|`)} څخه وای`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصرونه`} ولري`:`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} وي`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} ولري`:`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} وي`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ناسم متن: باید د "${t.prefix}" سره پیل شي`:t.format===`ends_with`?`ناسم متن: باید د "${t.suffix}" سره پای ته ورسيږي`:t.format===`includes`?`ناسم متن: باید "${t.includes}" ولري`:t.format===`regex`?`ناسم متن: باید د ${t.pattern} سره مطابقت ولري`:`${r[t.format]??e.format} ناسم دی`}case`not_multiple_of`:return`ناسم عدد: باید د ${e.divisor} مضرب وي`;case`unrecognized_keys`:return`ناسم ${e.keys.length>1?`کلیډونه`:`کلیډ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`ناسم کلیډ په ${e.origin} کې`;case`invalid_union`:return`ناسمه ورودي`;case`invalid_element`:return`ناسم عنصر په ${e.origin} کې`;default:return`ناسمه ورودي`}}};function wo(){return{localeError:Co()}}var To=()=>{let e={string:{unit:`znaków`,verb:`mieć`},file:{unit:`bajtów`,verb:`mieć`},array:{unit:`elementów`,verb:`mieć`},set:{unit:`elementów`,verb:`mieć`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`liczba`;case`object`:if(Array.isArray(e))return`tablica`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`wyrażenie`,email:`adres email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data i godzina w formacie ISO`,date:`data w formacie ISO`,time:`godzina w formacie ISO`,duration:`czas trwania ISO`,ipv4:`adres IPv4`,ipv6:`adres IPv6`,cidrv4:`zakres IPv4`,cidrv6:`zakres IPv6`,base64:`ciąg znaków zakodowany w formacie base64`,base64url:`ciąg znaków zakodowany w formacie base64url`,json_string:`ciąg znaków w formacie JSON`,e164:`liczba E.164`,jwt:`JWT`,template_literal:`wejście`};return e=>{switch(e.code){case`invalid_type`:return`Nieprawidłowe dane wejściowe: oczekiwano ${e.expected}, otrzymano ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${F(e.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Za duża wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.maximum.toString()} ${r.unit??`elementów`}`:`Zbyt duż(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Za mała wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.minimum.toString()} ${r.unit??`elementów`}`:`Zbyt mał(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${t.prefix}"`:t.format===`ends_with`?`Nieprawidłowy ciąg znaków: musi kończyć się na "${t.suffix}"`:t.format===`includes`?`Nieprawidłowy ciąg znaków: musi zawierać "${t.includes}"`:t.format===`regex`?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${t.pattern}`:`Nieprawidłow(y/a/e) ${r[t.format]??e.format}`}case`not_multiple_of`:return`Nieprawidłowa liczba: musi być wielokrotnością ${e.divisor}`;case`unrecognized_keys`:return`Nierozpoznane klucze${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Nieprawidłowy klucz w ${e.origin}`;case`invalid_union`:return`Nieprawidłowe dane wejściowe`;case`invalid_element`:return`Nieprawidłowa wartość w ${e.origin}`;default:return`Nieprawidłowe dane wejściowe`}}};function Eo(){return{localeError:To()}}var Do=()=>{let e={string:{unit:`caracteres`,verb:`ter`},file:{unit:`bytes`,verb:`ter`},array:{unit:`itens`,verb:`ter`},set:{unit:`itens`,verb:`ter`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`número`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`nulo`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`padrão`,email:`endereço de e-mail`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data e hora ISO`,date:`data ISO`,time:`hora ISO`,duration:`duração ISO`,ipv4:`endereço IPv4`,ipv6:`endereço IPv6`,cidrv4:`faixa de IPv4`,cidrv6:`faixa de IPv6`,base64:`texto codificado em base64`,base64url:`URL codificada em base64`,json_string:`texto JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`};return e=>{switch(e.code){case`invalid_type`:return`Tipo inválido: esperado ${e.expected}, recebido ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Entrada inválida: esperado ${F(e.values[0])}`:`Opção inválida: esperada uma das ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Muito grande: esperado que ${e.origin??`valor`} tivesse ${n}${e.maximum.toString()} ${r.unit??`elementos`}`:`Muito grande: esperado que ${e.origin??`valor`} fosse ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Muito pequeno: esperado que ${e.origin} tivesse ${n}${e.minimum.toString()} ${r.unit}`:`Muito pequeno: esperado que ${e.origin} fosse ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Texto inválido: deve começar com "${t.prefix}"`:t.format===`ends_with`?`Texto inválido: deve terminar com "${t.suffix}"`:t.format===`includes`?`Texto inválido: deve incluir "${t.includes}"`:t.format===`regex`?`Texto inválido: deve corresponder ao padrão ${t.pattern}`:`${r[t.format]??e.format} inválido`}case`not_multiple_of`:return`Número inválido: deve ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Chave${e.keys.length>1?`s`:``} desconhecida${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Chave inválida em ${e.origin}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido em ${e.origin}`;default:return`Campo inválido`}}};function Oo(){return{localeError:Do()}}function ko(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}var Ao=()=>{let e={string:{unit:{one:`символ`,few:`символа`,many:`символов`},verb:`иметь`},file:{unit:{one:`байт`,few:`байта`,many:`байт`},verb:`иметь`},array:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`},set:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`число`;case`object`:if(Array.isArray(e))return`массив`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`ввод`,email:`email адрес`,url:`URL`,emoji:`эмодзи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата и время`,date:`ISO дата`,time:`ISO время`,duration:`ISO длительность`,ipv4:`IPv4 адрес`,ipv6:`IPv6 адрес`,cidrv4:`IPv4 диапазон`,cidrv6:`IPv6 диапазон`,base64:`строка в формате base64`,base64url:`строка в формате base64url`,json_string:`JSON строка`,e164:`номер E.164`,jwt:`JWT`,template_literal:`ввод`};return e=>{switch(e.code){case`invalid_type`:return`Неверный ввод: ожидалось ${e.expected}, получено ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Неверный ввод: ожидалось ${F(e.values[0])}`:`Неверный вариант: ожидалось одно из ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=ko(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет иметь ${n}${e.maximum.toString()} ${t}`}return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=ko(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Слишком маленькое значение: ожидалось, что ${e.origin} будет иметь ${n}${e.minimum.toString()} ${t}`}return`Слишком маленькое значение: ожидалось, что ${e.origin} будет ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неверная строка: должна начинаться с "${t.prefix}"`:t.format===`ends_with`?`Неверная строка: должна заканчиваться на "${t.suffix}"`:t.format===`includes`?`Неверная строка: должна содержать "${t.includes}"`:t.format===`regex`?`Неверная строка: должна соответствовать шаблону ${t.pattern}`:`Неверный ${r[t.format]??e.format}`}case`not_multiple_of`:return`Неверное число: должно быть кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспознанн${e.keys.length>1?`ые`:`ый`} ключ${e.keys.length>1?`и`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Неверный ключ в ${e.origin}`;case`invalid_union`:return`Неверные входные данные`;case`invalid_element`:return`Неверное значение в ${e.origin}`;default:return`Неверные входные данные`}}};function jo(){return{localeError:Ao()}}var Mo=()=>{let e={string:{unit:`znakov`,verb:`imeti`},file:{unit:`bajtov`,verb:`imeti`},array:{unit:`elementov`,verb:`imeti`},set:{unit:`elementov`,verb:`imeti`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`število`;case`object`:if(Array.isArray(e))return`tabela`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`vnos`,email:`e-poštni naslov`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum in čas`,date:`ISO datum`,time:`ISO čas`,duration:`ISO trajanje`,ipv4:`IPv4 naslov`,ipv6:`IPv6 naslov`,cidrv4:`obseg IPv4`,cidrv6:`obseg IPv6`,base64:`base64 kodiran niz`,base64url:`base64url kodiran niz`,json_string:`JSON niz`,e164:`E.164 številka`,jwt:`JWT`,template_literal:`vnos`};return e=>{switch(e.code){case`invalid_type`:return`Neveljaven vnos: pričakovano ${e.expected}, prejeto ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Neveljaven vnos: pričakovano ${F(e.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} imelo ${n}${e.maximum.toString()} ${r.unit??`elementov`}`:`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Premajhno: pričakovano, da bo ${e.origin} imelo ${n}${e.minimum.toString()} ${r.unit}`:`Premajhno: pričakovano, da bo ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neveljaven niz: mora se začeti z "${t.prefix}"`:t.format===`ends_with`?`Neveljaven niz: mora se končati z "${t.suffix}"`:t.format===`includes`?`Neveljaven niz: mora vsebovati "${t.includes}"`:t.format===`regex`?`Neveljaven niz: mora ustrezati vzorcu ${t.pattern}`:`Neveljaven ${r[t.format]??e.format}`}case`not_multiple_of`:return`Neveljavno število: mora biti večkratnik ${e.divisor}`;case`unrecognized_keys`:return`Neprepoznan${e.keys.length>1?`i ključi`:` ključ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Neveljaven ključ v ${e.origin}`;case`invalid_union`:return`Neveljaven vnos`;case`invalid_element`:return`Neveljavna vrednost v ${e.origin}`;default:return`Neveljaven vnos`}}};function No(){return{localeError:Mo()}}var Po=()=>{let e={string:{unit:`tecken`,verb:`att ha`},file:{unit:`bytes`,verb:`att ha`},array:{unit:`objekt`,verb:`att innehålla`},set:{unit:`objekt`,verb:`att innehålla`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`antal`;case`object`:if(Array.isArray(e))return`lista`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`reguljärt uttryck`,email:`e-postadress`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-datum och tid`,date:`ISO-datum`,time:`ISO-tid`,duration:`ISO-varaktighet`,ipv4:`IPv4-intervall`,ipv6:`IPv6-intervall`,cidrv4:`IPv4-spektrum`,cidrv6:`IPv6-spektrum`,base64:`base64-kodad sträng`,base64url:`base64url-kodad sträng`,json_string:`JSON-sträng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`mall-literal`};return e=>{switch(e.code){case`invalid_type`:return`Ogiltig inmatning: förväntat ${e.expected}, fick ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Ogiltig inmatning: förväntat ${F(e.values[0])}`:`Ogiltigt val: förväntade en av ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`För stor(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()} ${r.unit??`element`}`:`För stor(t): förväntat ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()} ${r.unit}`:`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ogiltig sträng: måste börja med "${t.prefix}"`:t.format===`ends_with`?`Ogiltig sträng: måste sluta med "${t.suffix}"`:t.format===`includes`?`Ogiltig sträng: måste innehålla "${t.includes}"`:t.format===`regex`?`Ogiltig sträng: måste matcha mönstret "${t.pattern}"`:`Ogiltig(t) ${r[t.format]??e.format}`}case`not_multiple_of`:return`Ogiltigt tal: måste vara en multipel av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Okända nycklar`:`Okänd nyckel`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ogiltig nyckel i ${e.origin??`värdet`}`;case`invalid_union`:return`Ogiltig input`;case`invalid_element`:return`Ogiltigt värde i ${e.origin??`värdet`}`;default:return`Ogiltig input`}}};function Fo(){return{localeError:Po()}}var Io=()=>{let e={string:{unit:`எழுத்துக்கள்`,verb:`கொண்டிருக்க வேண்டும்`},file:{unit:`பைட்டுகள்`,verb:`கொண்டிருக்க வேண்டும்`},array:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`},set:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`எண் அல்லாதது`:`எண்`;case`object`:if(Array.isArray(e))return`அணி`;if(e===null)return`வெறுமை`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`உள்ளீடு`,email:`மின்னஞ்சல் முகவரி`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO தேதி நேரம்`,date:`ISO தேதி`,time:`ISO நேரம்`,duration:`ISO கால அளவு`,ipv4:`IPv4 முகவரி`,ipv6:`IPv6 முகவரி`,cidrv4:`IPv4 வரம்பு`,cidrv6:`IPv6 வரம்பு`,base64:`base64-encoded சரம்`,base64url:`base64url-encoded சரம்`,json_string:`JSON சரம்`,e164:`E.164 எண்`,jwt:`JWT`,template_literal:`input`};return e=>{switch(e.code){case`invalid_type`:return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${e.expected}, பெறப்பட்டது ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${F(e.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${j(e.values,`|`)} இல் ஒன்று`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ${r.unit??`உறுப்புகள்`} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ஆக இருக்க வேண்டும்`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ஆக இருக்க வேண்டும்`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`தவறான சரம்: "${t.prefix}" இல் தொடங்க வேண்டும்`:t.format===`ends_with`?`தவறான சரம்: "${t.suffix}" இல் முடிவடைய வேண்டும்`:t.format===`includes`?`தவறான சரம்: "${t.includes}" ஐ உள்ளடக்க வேண்டும்`:t.format===`regex`?`தவறான சரம்: ${t.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${r[t.format]??e.format}`}case`not_multiple_of`:return`தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`;case`unrecognized_keys`:return`அடையாளம் தெரியாத விசை${e.keys.length>1?`கள்`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} இல் தவறான விசை`;case`invalid_union`:return`தவறான உள்ளீடு`;case`invalid_element`:return`${e.origin} இல் தவறான மதிப்பு`;default:return`தவறான உள்ளீடு`}}};function Lo(){return{localeError:Io()}}var Ro=()=>{let e={string:{unit:`ตัวอักษร`,verb:`ควรมี`},file:{unit:`ไบต์`,verb:`ควรมี`},array:{unit:`รายการ`,verb:`ควรมี`},set:{unit:`รายการ`,verb:`ควรมี`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`ไม่ใช่ตัวเลข (NaN)`:`ตัวเลข`;case`object`:if(Array.isArray(e))return`อาร์เรย์ (Array)`;if(e===null)return`ไม่มีค่า (null)`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`ข้อมูลที่ป้อน`,email:`ที่อยู่อีเมล`,url:`URL`,emoji:`อิโมจิ`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`วันที่เวลาแบบ ISO`,date:`วันที่แบบ ISO`,time:`เวลาแบบ ISO`,duration:`ช่วงเวลาแบบ ISO`,ipv4:`ที่อยู่ IPv4`,ipv6:`ที่อยู่ IPv6`,cidrv4:`ช่วง IP แบบ IPv4`,cidrv6:`ช่วง IP แบบ IPv6`,base64:`ข้อความแบบ Base64`,base64url:`ข้อความแบบ Base64 สำหรับ URL`,json_string:`ข้อความแบบ JSON`,e164:`เบอร์โทรศัพท์ระหว่างประเทศ (E.164)`,jwt:`โทเคน JWT`,template_literal:`ข้อมูลที่ป้อน`};return e=>{switch(e.code){case`invalid_type`:return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${e.expected} แต่ได้รับ ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${F(e.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`ไม่เกิน`:`น้อยกว่า`,r=t(e.origin);return r?`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()} ${r.unit??`รายการ`}`:`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`อย่างน้อย`:`มากกว่า`,r=t(e.origin);return r?`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()} ${r.unit}`:`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${t.prefix}"`:t.format===`ends_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${t.suffix}"`:t.format===`includes`?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${t.includes}" อยู่ในข้อความ`:t.format===`regex`?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${t.pattern}`:`รูปแบบไม่ถูกต้อง: ${r[t.format]??e.format}`}case`not_multiple_of`:return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`;case`unrecognized_keys`:return`พบคีย์ที่ไม่รู้จัก: ${j(e.keys,`, `)}`;case`invalid_key`:return`คีย์ไม่ถูกต้องใน ${e.origin}`;case`invalid_union`:return`ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้`;case`invalid_element`:return`ข้อมูลไม่ถูกต้องใน ${e.origin}`;default:return`ข้อมูลไม่ถูกต้อง`}}};function zo(){return{localeError:Ro()}}var Bo=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},Vo=()=>{let e={string:{unit:`karakter`,verb:`olmalı`},file:{unit:`bayt`,verb:`olmalı`},array:{unit:`öğe`,verb:`olmalı`},set:{unit:`öğe`,verb:`olmalı`}};function t(t){return e[t]??null}let n={regex:`girdi`,email:`e-posta adresi`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO tarih ve saat`,date:`ISO tarih`,time:`ISO saat`,duration:`ISO süre`,ipv4:`IPv4 adresi`,ipv6:`IPv6 adresi`,cidrv4:`IPv4 aralığı`,cidrv6:`IPv6 aralığı`,base64:`base64 ile şifrelenmiş metin`,base64url:`base64url ile şifrelenmiş metin`,json_string:`JSON dizesi`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`Şablon dizesi`};return e=>{switch(e.code){case`invalid_type`:return`Geçersiz değer: beklenen ${e.expected}, alınan ${Bo(e.input)}`;case`invalid_value`:return e.values.length===1?`Geçersiz değer: beklenen ${F(e.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()} ${r.unit??`öğe`}`:`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Geçersiz metin: "${t.prefix}" ile başlamalı`:t.format===`ends_with`?`Geçersiz metin: "${t.suffix}" ile bitmeli`:t.format===`includes`?`Geçersiz metin: "${t.includes}" içermeli`:t.format===`regex`?`Geçersiz metin: ${t.pattern} desenine uymalı`:`Geçersiz ${n[t.format]??e.format}`}case`not_multiple_of`:return`Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`;case`unrecognized_keys`:return`Tanınmayan anahtar${e.keys.length>1?`lar`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} içinde geçersiz anahtar`;case`invalid_union`:return`Geçersiz değer`;case`invalid_element`:return`${e.origin} içinde geçersiz değer`;default:return`Geçersiz değer`}}};function Ho(){return{localeError:Vo()}}var Uo=()=>{let e={string:{unit:`символів`,verb:`матиме`},file:{unit:`байтів`,verb:`матиме`},array:{unit:`елементів`,verb:`матиме`},set:{unit:`елементів`,verb:`матиме`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`число`;case`object`:if(Array.isArray(e))return`масив`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`вхідні дані`,email:`адреса електронної пошти`,url:`URL`,emoji:`емодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`дата та час ISO`,date:`дата ISO`,time:`час ISO`,duration:`тривалість ISO`,ipv4:`адреса IPv4`,ipv6:`адреса IPv6`,cidrv4:`діапазон IPv4`,cidrv6:`діапазон IPv6`,base64:`рядок у кодуванні base64`,base64url:`рядок у кодуванні base64url`,json_string:`рядок JSON`,e164:`номер E.164`,jwt:`JWT`,template_literal:`вхідні дані`};return e=>{switch(e.code){case`invalid_type`:return`Неправильні вхідні дані: очікується ${e.expected}, отримано ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Неправильні вхідні дані: очікується ${F(e.values[0])}`:`Неправильна опція: очікується одне з ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Занадто велике: очікується, що ${e.origin??`значення`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`елементів`}`:`Занадто велике: очікується, що ${e.origin??`значення`} буде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Занадто мале: очікується, що ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Занадто мале: очікується, що ${e.origin} буде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неправильний рядок: повинен починатися з "${t.prefix}"`:t.format===`ends_with`?`Неправильний рядок: повинен закінчуватися на "${t.suffix}"`:t.format===`includes`?`Неправильний рядок: повинен містити "${t.includes}"`:t.format===`regex`?`Неправильний рядок: повинен відповідати шаблону ${t.pattern}`:`Неправильний ${r[t.format]??e.format}`}case`not_multiple_of`:return`Неправильне число: повинно бути кратним ${e.divisor}`;case`unrecognized_keys`:return`Нерозпізнаний ключ${e.keys.length>1?`і`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Неправильний ключ у ${e.origin}`;case`invalid_union`:return`Неправильні вхідні дані`;case`invalid_element`:return`Неправильне значення у ${e.origin}`;default:return`Неправильні вхідні дані`}}};function Wo(){return{localeError:Uo()}}function Go(){return Wo()}var Ko=()=>{let e={string:{unit:`حروف`,verb:`ہونا`},file:{unit:`بائٹس`,verb:`ہونا`},array:{unit:`آئٹمز`,verb:`ہونا`},set:{unit:`آئٹمز`,verb:`ہونا`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`نمبر`;case`object`:if(Array.isArray(e))return`آرے`;if(e===null)return`نل`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`ان پٹ`,email:`ای میل ایڈریس`,url:`یو آر ایل`,emoji:`ایموجی`,uuid:`یو یو آئی ڈی`,uuidv4:`یو یو آئی ڈی وی 4`,uuidv6:`یو یو آئی ڈی وی 6`,nanoid:`نینو آئی ڈی`,guid:`جی یو آئی ڈی`,cuid:`سی یو آئی ڈی`,cuid2:`سی یو آئی ڈی 2`,ulid:`یو ایل آئی ڈی`,xid:`ایکس آئی ڈی`,ksuid:`کے ایس یو آئی ڈی`,datetime:`آئی ایس او ڈیٹ ٹائم`,date:`آئی ایس او تاریخ`,time:`آئی ایس او وقت`,duration:`آئی ایس او مدت`,ipv4:`آئی پی وی 4 ایڈریس`,ipv6:`آئی پی وی 6 ایڈریس`,cidrv4:`آئی پی وی 4 رینج`,cidrv6:`آئی پی وی 6 رینج`,base64:`بیس 64 ان کوڈڈ سٹرنگ`,base64url:`بیس 64 یو آر ایل ان کوڈڈ سٹرنگ`,json_string:`جے ایس او این سٹرنگ`,e164:`ای 164 نمبر`,jwt:`جے ڈبلیو ٹی`,template_literal:`ان پٹ`};return e=>{switch(e.code){case`invalid_type`:return`غلط ان پٹ: ${e.expected} متوقع تھا، ${n(e.input)} موصول ہوا`;case`invalid_value`:return e.values.length===1?`غلط ان پٹ: ${F(e.values[0])} متوقع تھا`:`غلط آپشن: ${j(e.values,`|`)} میں سے ایک متوقع تھا`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`بہت بڑا: ${e.origin??`ویلیو`} کے ${n}${e.maximum.toString()} ${r.unit??`عناصر`} ہونے متوقع تھے`:`بہت بڑا: ${e.origin??`ویلیو`} کا ${n}${e.maximum.toString()} ہونا متوقع تھا`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`بہت چھوٹا: ${e.origin} کے ${n}${e.minimum.toString()} ${r.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${e.origin} کا ${n}${e.minimum.toString()} ہونا متوقع تھا`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`غلط سٹرنگ: "${t.prefix}" سے شروع ہونا چاہیے`:t.format===`ends_with`?`غلط سٹرنگ: "${t.suffix}" پر ختم ہونا چاہیے`:t.format===`includes`?`غلط سٹرنگ: "${t.includes}" شامل ہونا چاہیے`:t.format===`regex`?`غلط سٹرنگ: پیٹرن ${t.pattern} سے میچ ہونا چاہیے`:`غلط ${r[t.format]??e.format}`}case`not_multiple_of`:return`غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`;case`unrecognized_keys`:return`غیر تسلیم شدہ کی${e.keys.length>1?`ز`:``}: ${j(e.keys,`، `)}`;case`invalid_key`:return`${e.origin} میں غلط کی`;case`invalid_union`:return`غلط ان پٹ`;case`invalid_element`:return`${e.origin} میں غلط ویلیو`;default:return`غلط ان پٹ`}}};function qo(){return{localeError:Ko()}}var Jo=()=>{let e={string:{unit:`ký tự`,verb:`có`},file:{unit:`byte`,verb:`có`},array:{unit:`phần tử`,verb:`có`},set:{unit:`phần tử`,verb:`có`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`số`;case`object`:if(Array.isArray(e))return`mảng`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`đầu vào`,email:`địa chỉ email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ngày giờ ISO`,date:`ngày ISO`,time:`giờ ISO`,duration:`khoảng thời gian ISO`,ipv4:`địa chỉ IPv4`,ipv6:`địa chỉ IPv6`,cidrv4:`dải IPv4`,cidrv6:`dải IPv6`,base64:`chuỗi mã hóa base64`,base64url:`chuỗi mã hóa base64url`,json_string:`chuỗi JSON`,e164:`số E.164`,jwt:`JWT`,template_literal:`đầu vào`};return e=>{switch(e.code){case`invalid_type`:return`Đầu vào không hợp lệ: mong đợi ${e.expected}, nhận được ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Đầu vào không hợp lệ: mong đợi ${F(e.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Quá lớn: mong đợi ${e.origin??`giá trị`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`phần tử`}`:`Quá lớn: mong đợi ${e.origin??`giá trị`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Quá nhỏ: mong đợi ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Quá nhỏ: mong đợi ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chuỗi không hợp lệ: phải bắt đầu bằng "${t.prefix}"`:t.format===`ends_with`?`Chuỗi không hợp lệ: phải kết thúc bằng "${t.suffix}"`:t.format===`includes`?`Chuỗi không hợp lệ: phải bao gồm "${t.includes}"`:t.format===`regex`?`Chuỗi không hợp lệ: phải khớp với mẫu ${t.pattern}`:`${r[t.format]??e.format} không hợp lệ`}case`not_multiple_of`:return`Số không hợp lệ: phải là bội số của ${e.divisor}`;case`unrecognized_keys`:return`Khóa không được nhận dạng: ${j(e.keys,`, `)}`;case`invalid_key`:return`Khóa không hợp lệ trong ${e.origin}`;case`invalid_union`:return`Đầu vào không hợp lệ`;case`invalid_element`:return`Giá trị không hợp lệ trong ${e.origin}`;default:return`Đầu vào không hợp lệ`}}};function Yo(){return{localeError:Jo()}}var Xo=()=>{let e={string:{unit:`字符`,verb:`包含`},file:{unit:`字节`,verb:`包含`},array:{unit:`项`,verb:`包含`},set:{unit:`项`,verb:`包含`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`非数字(NaN)`:`数字`;case`object`:if(Array.isArray(e))return`数组`;if(e===null)return`空值(null)`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`输入`,email:`电子邮件`,url:`URL`,emoji:`表情符号`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日期时间`,date:`ISO日期`,time:`ISO时间`,duration:`ISO时长`,ipv4:`IPv4地址`,ipv6:`IPv6地址`,cidrv4:`IPv4网段`,cidrv6:`IPv6网段`,base64:`base64编码字符串`,base64url:`base64url编码字符串`,json_string:`JSON字符串`,e164:`E.164号码`,jwt:`JWT`,template_literal:`输入`};return e=>{switch(e.code){case`invalid_type`:return`无效输入:期望 ${e.expected},实际接收 ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`无效输入:期望 ${F(e.values[0])}`:`无效选项:期望以下之一 ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`数值过大:期望 ${e.origin??`值`} ${n}${e.maximum.toString()} ${r.unit??`个元素`}`:`数值过大:期望 ${e.origin??`值`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`无效字符串:必须以 "${t.prefix}" 开头`:t.format===`ends_with`?`无效字符串:必须以 "${t.suffix}" 结尾`:t.format===`includes`?`无效字符串:必须包含 "${t.includes}"`:t.format===`regex`?`无效字符串:必须满足正则表达式 ${t.pattern}`:`无效${r[t.format]??e.format}`}case`not_multiple_of`:return`无效数字:必须是 ${e.divisor} 的倍数`;case`unrecognized_keys`:return`出现未知的键(key): ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} 中的键(key)无效`;case`invalid_union`:return`无效输入`;case`invalid_element`:return`${e.origin} 中包含无效值(value)`;default:return`无效输入`}}};function Zo(){return{localeError:Xo()}}var Qo=()=>{let e={string:{unit:`字元`,verb:`擁有`},file:{unit:`位元組`,verb:`擁有`},array:{unit:`項目`,verb:`擁有`},set:{unit:`項目`,verb:`擁有`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`number`;case`object`:if(Array.isArray(e))return`array`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`輸入`,email:`郵件地址`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO 日期時間`,date:`ISO 日期`,time:`ISO 時間`,duration:`ISO 期間`,ipv4:`IPv4 位址`,ipv6:`IPv6 位址`,cidrv4:`IPv4 範圍`,cidrv6:`IPv6 範圍`,base64:`base64 編碼字串`,base64url:`base64url 編碼字串`,json_string:`JSON 字串`,e164:`E.164 數值`,jwt:`JWT`,template_literal:`輸入`};return e=>{switch(e.code){case`invalid_type`:return`無效的輸入值:預期為 ${e.expected},但收到 ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`無效的輸入值:預期為 ${F(e.values[0])}`:`無效的選項:預期為以下其中之一 ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`數值過大:預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()} ${r.unit??`個元素`}`:`數值過大:預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()} ${r.unit}`:`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無效的字串:必須以 "${t.prefix}" 開頭`:t.format===`ends_with`?`無效的字串:必須以 "${t.suffix}" 結尾`:t.format===`includes`?`無效的字串:必須包含 "${t.includes}"`:t.format===`regex`?`無效的字串:必須符合格式 ${t.pattern}`:`無效的 ${r[t.format]??e.format}`}case`not_multiple_of`:return`無效的數字:必須為 ${e.divisor} 的倍數`;case`unrecognized_keys`:return`無法識別的鍵值${e.keys.length>1?`們`:``}:${j(e.keys,`、`)}`;case`invalid_key`:return`${e.origin} 中有無效的鍵值`;case`invalid_union`:return`無效的輸入值`;case`invalid_element`:return`${e.origin} 中有無效的值`;default:return`無效的輸入值`}}};function $o(){return{localeError:Qo()}}var es=()=>{let e={string:{unit:`àmi`,verb:`ní`},file:{unit:`bytes`,verb:`ní`},array:{unit:`nkan`,verb:`ní`},set:{unit:`nkan`,verb:`ní`}};function t(t){return e[t]??null}let n=e=>{let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:`nọ́mbà`;case`object`:if(Array.isArray(e))return`akopọ`;if(e===null)return`null`;if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t},r={regex:`ẹ̀rọ ìbáwọlé`,email:`àdírẹ́sì ìmẹ́lì`,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:`àkókò ISO`,date:`ọjọ́ ISO`,time:`àkókò ISO`,duration:`àkókò tó pé ISO`,ipv4:`àdírẹ́sì IPv4`,ipv6:`àdírẹ́sì IPv6`,cidrv4:`àgbègbè IPv4`,cidrv6:`àgbègbè IPv6`,base64:`ọ̀rọ̀ tí a kọ́ ní base64`,base64url:`ọ̀rọ̀ base64url`,json_string:`ọ̀rọ̀ JSON`,e164:`nọ́mbà E.164`,jwt:`JWT`,template_literal:`ẹ̀rọ ìbáwọlé`};return e=>{switch(e.code){case`invalid_type`:return`Ìbáwọlé aṣìṣe: a ní láti fi ${e.expected}, àmọ̀ a rí ${n(e.input)}`;case`invalid_value`:return e.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${F(e.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tó pọ̀ jù: a ní láti jẹ́ pé ${e.origin??`iye`} ${r.verb} ${n}${e.maximum} ${r.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${n}${e.maximum}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Kéré ju: a ní láti jẹ́ pé ${e.origin} ${r.verb} ${n}${e.minimum} ${r.unit}`:`Kéré ju: a ní láti jẹ́ ${n}${e.minimum}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${t.prefix}"`:t.format===`ends_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${t.suffix}"`:t.format===`includes`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${t.includes}"`:t.format===`regex`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${t.pattern}`:`Aṣìṣe: ${r[t.format]??e.format}`}case`not_multiple_of`:return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${e.divisor}`;case`unrecognized_keys`:return`Bọtìnì àìmọ̀: ${j(e.keys,`, `)}`;case`invalid_key`:return`Bọtìnì aṣìṣe nínú ${e.origin}`;case`invalid_union`:return`Ìbáwọlé aṣìṣe`;case`invalid_element`:return`Iye aṣìṣe nínú ${e.origin}`;default:return`Ìbáwọlé aṣìṣe`}}};function ts(){return{localeError:es()}}var ns=e.r({ar:()=>la,az:()=>da,be:()=>ma,ca:()=>ga,cs:()=>va,da:()=>ba,de:()=>Sa,en:()=>Ta,eo:()=>Oa,es:()=>Aa,fa:()=>Ma,fi:()=>Pa,fr:()=>Ia,frCA:()=>Ra,he:()=>Ba,hu:()=>Ha,id:()=>Wa,is:()=>qa,it:()=>Ya,ja:()=>Za,ka:()=>eo,kh:()=>ro,km:()=>no,ko:()=>ao,lt:()=>fo,mk:()=>mo,ms:()=>go,nl:()=>vo,no:()=>bo,ota:()=>So,pl:()=>Eo,ps:()=>wo,pt:()=>Oo,ru:()=>jo,sl:()=>No,sv:()=>Fo,ta:()=>Lo,th:()=>zo,tr:()=>Ho,ua:()=>Go,uk:()=>Wo,ur:()=>qo,vi:()=>Yo,yo:()=>ts,zhCN:()=>Zo,zhTW:()=>$o}),rs=Symbol(`ZodOutput`),is=Symbol(`ZodInput`),as=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];if(this._map.set(e,n),n&&typeof n==`object`&&`id`in n){if(this._idmap.has(n.id))throw Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,e)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function os(){return new as}var ss=os();function cs(e,t){return new e({type:`string`,...P(t)})}function ls(e,t){return new e({type:`string`,coerce:!0,...P(t)})}function us(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...P(t)})}function ds(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...P(t)})}function fs(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...P(t)})}function ps(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...P(t)})}function ms(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...P(t)})}function hs(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...P(t)})}function gs(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...P(t)})}function _s(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...P(t)})}function vs(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...P(t)})}function ys(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...P(t)})}function bs(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...P(t)})}function xs(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...P(t)})}function Ss(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...P(t)})}function Cs(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...P(t)})}function ws(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...P(t)})}function Ts(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...P(t)})}function Es(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...P(t)})}function Ds(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...P(t)})}function Os(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...P(t)})}function ks(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...P(t)})}function As(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...P(t)})}function js(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...P(t)})}var Ms={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Ns(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...P(t)})}function Ps(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...P(t)})}function Fs(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...P(t)})}function Is(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...P(t)})}function Ls(e,t){return new e({type:`number`,checks:[],...P(t)})}function Rs(e,t){return new e({type:`number`,coerce:!0,checks:[],...P(t)})}function zs(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...P(t)})}function Bs(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float32`,...P(t)})}function Vs(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float64`,...P(t)})}function Hs(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`int32`,...P(t)})}function Us(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`uint32`,...P(t)})}function Ws(e,t){return new e({type:`boolean`,...P(t)})}function Gs(e,t){return new e({type:`boolean`,coerce:!0,...P(t)})}function Ks(e,t){return new e({type:`bigint`,...P(t)})}function qs(e,t){return new e({type:`bigint`,coerce:!0,...P(t)})}function Js(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`int64`,...P(t)})}function Ys(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`uint64`,...P(t)})}function Xs(e,t){return new e({type:`symbol`,...P(t)})}function Zs(e,t){return new e({type:`undefined`,...P(t)})}function Qs(e,t){return new e({type:`null`,...P(t)})}function $s(e){return new e({type:`any`})}function ec(e){return new e({type:`unknown`})}function tc(e,t){return new e({type:`never`,...P(t)})}function nc(e,t){return new e({type:`void`,...P(t)})}function rc(e,t){return new e({type:`date`,...P(t)})}function ic(e,t){return new e({type:`date`,coerce:!0,...P(t)})}function ac(e,t){return new e({type:`nan`,...P(t)})}function oc(e,t){return new nr({check:`less_than`,...P(t),value:e,inclusive:!1})}function sc(e,t){return new nr({check:`less_than`,...P(t),value:e,inclusive:!0})}function cc(e,t){return new rr({check:`greater_than`,...P(t),value:e,inclusive:!1})}function lc(e,t){return new rr({check:`greater_than`,...P(t),value:e,inclusive:!0})}function uc(e){return cc(0,e)}function dc(e){return oc(0,e)}function fc(e){return sc(0,e)}function pc(e){return lc(0,e)}function mc(e,t){return new ir({check:`multiple_of`,...P(t),value:e})}function hc(e,t){return new sr({check:`max_size`,...P(t),maximum:e})}function gc(e,t){return new cr({check:`min_size`,...P(t),minimum:e})}function _c(e,t){return new lr({check:`size_equals`,...P(t),size:e})}function vc(e,t){return new ur({check:`max_length`,...P(t),maximum:e})}function yc(e,t){return new dr({check:`min_length`,...P(t),minimum:e})}function bc(e,t){return new fr({check:`length_equals`,...P(t),length:e})}function xc(e,t){return new mr({check:`string_format`,format:`regex`,...P(t),pattern:e})}function Sc(e){return new hr({check:`string_format`,format:`lowercase`,...P(e)})}function Cc(e){return new gr({check:`string_format`,format:`uppercase`,...P(e)})}function wc(e,t){return new _r({check:`string_format`,format:`includes`,...P(t),includes:e})}function Tc(e,t){return new vr({check:`string_format`,format:`starts_with`,...P(t),prefix:e})}function Ec(e,t){return new yr({check:`string_format`,format:`ends_with`,...P(t),suffix:e})}function Dc(e,t,n){return new xr({check:`property`,property:e,schema:t,...P(n)})}function Oc(e,t){return new Sr({check:`mime_type`,mime:e,...P(t)})}function kc(e){return new Cr({check:`overwrite`,tx:e})}function Ac(e){return kc(t=>t.normalize(e))}function jc(){return kc(e=>e.trim())}function Mc(){return kc(e=>e.toLowerCase())}function Nc(){return kc(e=>e.toUpperCase())}function Pc(e,t,n){return new e({type:`array`,element:t,...P(n)})}function Fc(e,t,n){return new e({type:`union`,options:t,...P(n)})}function Ic(e,t,n,r){return new e({type:`union`,options:n,discriminator:t,...P(r)})}function Lc(e,t,n){return new e({type:`intersection`,left:t,right:n})}function Rc(e,t,n,r){let i=n instanceof I;return new e({type:`tuple`,items:t,rest:i?n:null,...P(i?r:n)})}function zc(e,t,n,r){return new e({type:`record`,keyType:t,valueType:n,...P(r)})}function Bc(e,t,n,r){return new e({type:`map`,keyType:t,valueType:n,...P(r)})}function Vc(e,t,n){return new e({type:`set`,valueType:t,...P(n)})}function Hc(e,t,n){return new e({type:`enum`,entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...P(n)})}function Uc(e,t,n){return new e({type:`enum`,entries:t,...P(n)})}function Wc(e,t,n){return new e({type:`literal`,values:Array.isArray(t)?t:[t],...P(n)})}function Gc(e,t){return new e({type:`file`,...P(t)})}function Kc(e,t){return new e({type:`transform`,transform:t})}function qc(e,t){return new e({type:`optional`,innerType:t})}function Jc(e,t){return new e({type:`nullable`,innerType:t})}function Yc(e,t,n){return new e({type:`default`,innerType:t,get defaultValue(){return typeof n==`function`?n():Ne(n)}})}function Xc(e,t,n){return new e({type:`nonoptional`,innerType:t,...P(n)})}function Zc(e,t){return new e({type:`success`,innerType:t})}function Qc(e,t,n){return new e({type:`catch`,innerType:t,catchValue:typeof n==`function`?n:()=>n})}function $c(e,t,n){return new e({type:`pipe`,in:t,out:n})}function el(e,t){return new e({type:`readonly`,innerType:t})}function tl(e,t,n){return new e({type:`template_literal`,parts:t,...P(n)})}function nl(e,t){return new e({type:`lazy`,getter:t})}function rl(e,t){return new e({type:`promise`,innerType:t})}function il(e,t,n){let r=P(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function al(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...P(n)})}function ol(e){let t=sl(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(rt(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(rt(r))}},e(n.value,n)));return t}function sl(e,t){let n=new er({check:`custom`,...P(t)});return n._zod.check=e,n}function cl(e,t){let n=P(t),r=n.truthy??[`true`,`1`,`yes`,`on`,`y`,`enabled`],i=n.falsy??[`false`,`0`,`no`,`off`,`n`,`disabled`];n.case!==`sensitive`&&(r=r.map(e=>typeof e==`string`?e.toLowerCase():e),i=i.map(e=>typeof e==`string`?e.toLowerCase():e));let a=new Set(r),o=new Set(i),s=e.Codec??Zi,c=e.Boolean??ri,l=new s({type:`pipe`,in:new(e.String??Er)({type:`string`,error:n.error}),out:new c({type:`boolean`,error:n.error}),transform:((e,t)=>{let r=e;return n.case!==`sensitive`&&(r=r.toLowerCase()),a.has(r)?!0:o.has(r)?!1:(t.issues.push({code:`invalid_value`,expected:`stringbool`,values:[...a,...o],input:t.value,inst:l,continue:!1}),{})}),reverseTransform:((e,t)=>e===!0?r[0]||`true`:i[0]||`false`),error:n.error});return l}function ll(e,t,n,r={}){let i=P(r),a={...P(r),check:`string_format`,type:`string`,format:t,fn:typeof n==`function`?n:e=>n.test(e),...i};return n instanceof RegExp&&(a.pattern=n),new e(a)}var ul=class{constructor(e){this.counter=0,this.metadataRegistry=e?.metadata??ss,this.target=e?.target??`draft-2020-12`,this.unrepresentable=e?.unrepresentable??`throw`,this.override=e?.override??(()=>{}),this.io=e?.io??`output`,this.seen=new Map}process(e,t={path:[],schemaPath:[]}){var n;let r=e._zod.def,i={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},a=this.seen.get(e);if(a)return a.count++,t.schemaPath.includes(e)&&(a.cycle=t.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:t.path};this.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let n={...t,schemaPath:[...t.schemaPath,e],path:t.path},a=e._zod.parent;if(a)o.ref=a,this.process(a,n),this.seen.get(a).isParent=!0;else{let t=o.schema;switch(r.type){case`string`:{let n=t;n.type=`string`;let{minimum:r,maximum:a,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof r==`number`&&(n.minLength=r),typeof a==`number`&&(n.maxLength=a),s&&(n.format=i[s]??s,n.format===``&&delete n.format),l&&(n.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?n.pattern=e[0].source:e.length>1&&(o.schema.allOf=[...e.map(e=>({...this.target===`draft-7`||this.target===`draft-4`||this.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}break}case`number`:{let n=t,{minimum:r,maximum:i,format:a,multipleOf:o,exclusiveMaximum:s,exclusiveMinimum:c}=e._zod.bag;typeof a==`string`&&a.includes(`int`)?n.type=`integer`:n.type=`number`,typeof c==`number`&&(this.target===`draft-4`||this.target===`openapi-3.0`?(n.minimum=c,n.exclusiveMinimum=!0):n.exclusiveMinimum=c),typeof r==`number`&&(n.minimum=r,typeof c==`number`&&this.target!==`draft-4`&&(c>=r?delete n.minimum:delete n.exclusiveMinimum)),typeof s==`number`&&(this.target===`draft-4`||this.target===`openapi-3.0`?(n.maximum=s,n.exclusiveMaximum=!0):n.exclusiveMaximum=s),typeof i==`number`&&(n.maximum=i,typeof s==`number`&&this.target!==`draft-4`&&(s<=i?delete n.maximum:delete n.exclusiveMaximum)),typeof o==`number`&&(n.multipleOf=o);break}case`boolean`:{let e=t;e.type=`boolean`;break}case`bigint`:if(this.unrepresentable===`throw`)throw Error(`BigInt cannot be represented in JSON Schema`);break;case`symbol`:if(this.unrepresentable===`throw`)throw Error(`Symbols cannot be represented in JSON Schema`);break;case`null`:this.target===`openapi-3.0`?(t.type=`string`,t.nullable=!0,t.enum=[null]):t.type=`null`;break;case`any`:break;case`unknown`:break;case`undefined`:if(this.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`);break;case`void`:if(this.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`);break;case`never`:t.not={};break;case`date`:if(this.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`);break;case`array`:{let i=t,{minimum:a,maximum:o}=e._zod.bag;typeof a==`number`&&(i.minItems=a),typeof o==`number`&&(i.maxItems=o),i.type=`array`,i.items=this.process(r.element,{...n,path:[...n.path,`items`]});break}case`object`:{let e=t;e.type=`object`,e.properties={};let i=r.shape;for(let t in i)e.properties[t]=this.process(i[t],{...n,path:[...n.path,`properties`,t]});let a=new Set(Object.keys(i)),o=new Set([...a].filter(e=>{let t=r.shape[e]._zod;return this.io===`input`?t.optin===void 0:t.optout===void 0}));o.size>0&&(e.required=Array.from(o)),r.catchall?._zod.def.type===`never`?e.additionalProperties=!1:r.catchall?r.catchall&&(e.additionalProperties=this.process(r.catchall,{...n,path:[...n.path,`additionalProperties`]})):this.io===`output`&&(e.additionalProperties=!1);break}case`union`:{let e=t;e.anyOf=r.options.map((e,t)=>this.process(e,{...n,path:[...n.path,`anyOf`,t]}));break}case`intersection`:{let e=t,i=this.process(r.left,{...n,path:[...n.path,`allOf`,0]}),a=this.process(r.right,{...n,path:[...n.path,`allOf`,1]}),o=e=>`allOf`in e&&Object.keys(e).length===1;e.allOf=[...o(i)?i.allOf:[i],...o(a)?a.allOf:[a]];break}case`tuple`:{let i=t;i.type=`array`;let a=this.target===`draft-2020-12`?`prefixItems`:`items`,o=this.target===`draft-2020-12`||this.target===`openapi-3.0`?`items`:`additionalItems`,s=r.items.map((e,t)=>this.process(e,{...n,path:[...n.path,a,t]})),c=r.rest?this.process(r.rest,{...n,path:[...n.path,o,...this.target===`openapi-3.0`?[r.items.length]:[]]}):null;this.target===`draft-2020-12`?(i.prefixItems=s,c&&(i.items=c)):this.target===`openapi-3.0`?(i.items={anyOf:s},c&&i.items.anyOf.push(c),i.minItems=s.length,c||(i.maxItems=s.length)):(i.items=s,c&&(i.additionalItems=c));let{minimum:l,maximum:u}=e._zod.bag;typeof l==`number`&&(i.minItems=l),typeof u==`number`&&(i.maxItems=u);break}case`record`:{let e=t;e.type=`object`,(this.target===`draft-7`||this.target===`draft-2020-12`)&&(e.propertyNames=this.process(r.keyType,{...n,path:[...n.path,`propertyNames`]})),e.additionalProperties=this.process(r.valueType,{...n,path:[...n.path,`additionalProperties`]});break}case`map`:if(this.unrepresentable===`throw`)throw Error(`Map cannot be represented in JSON Schema`);break;case`set`:if(this.unrepresentable===`throw`)throw Error(`Set cannot be represented in JSON Schema`);break;case`enum`:{let e=t,n=he(r.entries);n.every(e=>typeof e==`number`)&&(e.type=`number`),n.every(e=>typeof e==`string`)&&(e.type=`string`),e.enum=n;break}case`literal`:{let e=t,n=[];for(let e of r.values)if(e===void 0){if(this.unrepresentable===`throw`)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof e==`bigint`){if(this.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);n.push(Number(e))}else n.push(e);if(n.length!==0)if(n.length===1){let t=n[0];e.type=t===null?`null`:typeof t,this.target===`draft-4`||this.target===`openapi-3.0`?e.enum=[t]:e.const=t}else n.every(e=>typeof e==`number`)&&(e.type=`number`),n.every(e=>typeof e==`string`)&&(e.type=`string`),n.every(e=>typeof e==`boolean`)&&(e.type=`string`),n.every(e=>e===null)&&(e.type=`null`),e.enum=n;break}case`file`:{let n=t,r={type:`string`,format:`binary`,contentEncoding:`binary`},{minimum:i,maximum:a,mime:o}=e._zod.bag;i!==void 0&&(r.minLength=i),a!==void 0&&(r.maxLength=a),o?o.length===1?(r.contentMediaType=o[0],Object.assign(n,r)):n.anyOf=o.map(e=>({...r,contentMediaType:e})):Object.assign(n,r);break}case`transform`:if(this.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`);break;case`nullable`:{let e=this.process(r.innerType,n);this.target===`openapi-3.0`?(o.ref=r.innerType,t.nullable=!0):t.anyOf=[e,{type:`null`}];break}case`nonoptional`:this.process(r.innerType,n),o.ref=r.innerType;break;case`success`:{let e=t;e.type=`boolean`;break}case`default`:this.process(r.innerType,n),o.ref=r.innerType,t.default=JSON.parse(JSON.stringify(r.defaultValue));break;case`prefault`:this.process(r.innerType,n),o.ref=r.innerType,this.io===`input`&&(t._prefault=JSON.parse(JSON.stringify(r.defaultValue)));break;case`catch`:{this.process(r.innerType,n),o.ref=r.innerType;let e;try{e=r.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}t.default=e;break}case`nan`:if(this.unrepresentable===`throw`)throw Error(`NaN cannot be represented in JSON Schema`);break;case`template_literal`:{let n=t,r=e._zod.pattern;if(!r)throw Error(`Pattern not found in template literal`);n.type=`string`,n.pattern=r.source;break}case`pipe`:{let e=this.io===`input`?r.in._zod.def.type===`transform`?r.out:r.in:r.out;this.process(e,n),o.ref=e;break}case`readonly`:this.process(r.innerType,n),o.ref=r.innerType,t.readOnly=!0;break;case`promise`:this.process(r.innerType,n),o.ref=r.innerType;break;case`optional`:this.process(r.innerType,n),o.ref=r.innerType;break;case`lazy`:{let t=e._zod.innerType;this.process(t,n),o.ref=t;break}case`custom`:if(this.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`);break;case`function`:if(this.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`);break;default:}}}let c=this.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),this.io===`input`&&fl(e)&&(delete o.schema.examples,delete o.schema.default),this.io===`input`&&o.schema._prefault&&((n=o.schema).default??(n.default=o.schema._prefault)),delete o.schema._prefault,this.seen.get(e).schema}emit(e,t){let n={cycles:t?.cycles??`ref`,reused:t?.reused??`inline`,external:t?.external??void 0},r=this.seen.get(e);if(!r)throw Error(`Unprocessed schema. This is a bug in Zod.`);let i=e=>{let t=this.target===`draft-2020-12`?`$defs`:`definitions`;if(n.external){let r=n.external.registry.get(e[0])?.id,i=n.external.uri??(e=>e);if(r)return{ref:i(r)};let a=e[1].defId??e[1].schema.id??`schema${this.counter++}`;return e[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${t}/${a}`}}if(e[1]===r)return{ref:`#`};let i=`#/${t}/`,a=e[1].schema.id??`__schema${this.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(n.cycles===`throw`)for(let e of this.seen.entries()){let t=e[1];if(t.cycle)throw Error(`Cycle detected: #/${t.cycle?.join(`/`)}/<root>
|
|
22
22
|
|
|
23
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let t of this.seen.entries()){let r=t[1];if(e===t[0]){a(t);continue}if(n.external){let r=n.external.registry.get(t[0])?.id;if(e!==t[0]&&r){a(t);continue}}if(this.metadataRegistry.get(t[0])?.id){a(t);continue}if(r.cycle){a(t);continue}if(r.count>1&&n.reused===`ref`){a(t);continue}}let o=(e,t)=>{let n=this.seen.get(e),r=n.def??n.schema,i={...r};if(n.ref===null)return;let a=n.ref;if(n.ref=null,a){o(a,t);let e=this.seen.get(a).schema;e.$ref&&(t.target===`draft-7`||t.target===`draft-4`||t.target===`openapi-3.0`)?(r.allOf=r.allOf??[],r.allOf.push(e)):(Object.assign(r,e),Object.assign(r,i))}n.isParent||this.override({zodSchema:e,jsonSchema:r,path:n.path??[]})};for(let e of[...this.seen.entries()].reverse())o(e[0],{target:this.target});let s={};if(this.target===`draft-2020-12`?s.$schema=`https://json-schema.org/draft/2020-12/schema`:this.target===`draft-7`?s.$schema=`http://json-schema.org/draft-07/schema#`:this.target===`draft-4`?s.$schema=`http://json-schema.org/draft-04/schema#`:this.target===`openapi-3.0`||console.warn(`Invalid target: ${this.target}`),n.external?.uri){let t=n.external.registry.get(e)?.id;if(!t)throw Error("Schema is missing an `id` property");s.$id=n.external.uri(t)}Object.assign(s,r.def);let c=n.external?.defs??{};for(let e of this.seen.entries()){let t=e[1];t.def&&t.defId&&(c[t.defId]=t.def)}n.external||Object.keys(c).length>0&&(this.target===`draft-2020-12`?s.$defs=c:s.definitions=c);try{return JSON.parse(JSON.stringify(s))}catch{throw Error(`Error converting schema to JSON.`)}}};function dl(e,t){if(e instanceof as){let n=new ul(t),r={};for(let t of e._idmap.entries()){let[e,r]=t;n.process(r)}let i={},a={registry:e,uri:t?.uri,defs:r};for(let r of e._idmap.entries()){let[e,o]=r;i[e]=n.emit(o,{...t,external:a})}return Object.keys(r).length>0&&(i.__shared={[n.target===`draft-2020-12`?`$defs`:`definitions`]:r}),{schemas:i}}let n=new ul(t);return n.process(e),n.emit(e,t)}function fl(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;switch(r.type){case`string`:case`number`:case`bigint`:case`boolean`:case`date`:case`symbol`:case`undefined`:case`null`:case`any`:case`unknown`:case`never`:case`void`:case`literal`:case`enum`:case`nan`:case`file`:case`template_literal`:return!1;case`array`:return fl(r.element,n);case`object`:for(let e in r.shape)if(fl(r.shape[e],n))return!0;return!1;case`union`:for(let e of r.options)if(fl(e,n))return!0;return!1;case`intersection`:return fl(r.left,n)||fl(r.right,n);case`tuple`:for(let e of r.items)if(fl(e,n))return!0;return!!(r.rest&&fl(r.rest,n));case`record`:return fl(r.keyType,n)||fl(r.valueType,n);case`map`:return fl(r.keyType,n)||fl(r.valueType,n);case`set`:return fl(r.valueType,n);case`promise`:case`optional`:case`nonoptional`:case`nullable`:case`readonly`:return fl(r.innerType,n);case`lazy`:return fl(r.getter(),n);case`default`:return fl(r.innerType,n);case`prefault`:return fl(r.innerType,n);case`custom`:return!1;case`transform`:return!0;case`pipe`:return fl(r.in,n)||fl(r.out,n);case`success`:return!1;case`catch`:return!1;case`function`:return!1;default:}throw Error(`Unknown schema type: ${r.type}`)}var pl=e.r({}),ml=e.r({$ZodAny:()=>li,$ZodArray:()=>hi,$ZodAsyncError:()=>oe,$ZodBase64:()=>Jr,$ZodBase64URL:()=>Xr,$ZodBigInt:()=>ii,$ZodBigIntFormat:()=>ai,$ZodBoolean:()=>ri,$ZodCIDRv4:()=>Gr,$ZodCIDRv6:()=>Kr,$ZodCUID:()=>Pr,$ZodCUID2:()=>Fr,$ZodCatch:()=>qi,$ZodCheck:()=>er,$ZodCheckBigIntFormat:()=>or,$ZodCheckEndsWith:()=>yr,$ZodCheckGreaterThan:()=>rr,$ZodCheckIncludes:()=>_r,$ZodCheckLengthEquals:()=>fr,$ZodCheckLessThan:()=>nr,$ZodCheckLowerCase:()=>hr,$ZodCheckMaxLength:()=>ur,$ZodCheckMaxSize:()=>sr,$ZodCheckMimeType:()=>Sr,$ZodCheckMinLength:()=>dr,$ZodCheckMinSize:()=>cr,$ZodCheckMultipleOf:()=>ir,$ZodCheckNumberFormat:()=>ar,$ZodCheckOverwrite:()=>Cr,$ZodCheckProperty:()=>xr,$ZodCheckRegex:()=>mr,$ZodCheckSizeEquals:()=>lr,$ZodCheckStartsWith:()=>vr,$ZodCheckStringFormat:()=>pr,$ZodCheckUpperCase:()=>gr,$ZodCodec:()=>Zi,$ZodCustom:()=>oa,$ZodCustomStringFormat:()=>ei,$ZodDate:()=>pi,$ZodDefault:()=>Vi,$ZodDiscriminatedUnion:()=>Ci,$ZodE164:()=>Zr,$ZodEmail:()=>Ar,$ZodEmoji:()=>Mr,$ZodEncodeError:()=>se,$ZodEnum:()=>Pi,$ZodError:()=>pt,$ZodFile:()=>Ii,$ZodFunction:()=>ra,$ZodGUID:()=>Or,$ZodIPv4:()=>Ur,$ZodIPv6:()=>Wr,$ZodISODate:()=>Br,$ZodISODateTime:()=>zr,$ZodISODuration:()=>Hr,$ZodISOTime:()=>Vr,$ZodIntersection:()=>wi,$ZodJWT:()=>$r,$ZodKSUID:()=>Rr,$ZodLazy:()=>aa,$ZodLiteral:()=>Fi,$ZodMap:()=>Ai,$ZodNaN:()=>Ji,$ZodNanoID:()=>Nr,$ZodNever:()=>di,$ZodNonOptional:()=>Wi,$ZodNull:()=>ci,$ZodNullable:()=>Bi,$ZodNumber:()=>ti,$ZodNumberFormat:()=>ni,$ZodObject:()=>yi,$ZodObjectJIT:()=>bi,$ZodOptional:()=>zi,$ZodPipe:()=>Yi,$ZodPrefault:()=>Ui,$ZodPromise:()=>ia,$ZodReadonly:()=>ea,$ZodRealError:()=>mt,$ZodRecord:()=>ki,$ZodRegistry:()=>as,$ZodSet:()=>Mi,$ZodString:()=>Er,$ZodStringFormat:()=>Dr,$ZodSuccess:()=>Ki,$ZodSymbol:()=>oi,$ZodTemplateLiteral:()=>na,$ZodTransform:()=>Li,$ZodTuple:()=>Di,$ZodType:()=>I,$ZodULID:()=>Ir,$ZodURL:()=>jr,$ZodUUID:()=>kr,$ZodUndefined:()=>si,$ZodUnion:()=>Si,$ZodUnknown:()=>ui,$ZodVoid:()=>fi,$ZodXID:()=>Lr,$brand:()=>k,$constructor:()=>O,$input:()=>is,$output:()=>rs,Doc:()=>wr,JSONSchema:()=>pl,JSONSchemaGenerator:()=>ul,NEVER:()=>ae,TimePrecision:()=>Ms,_any:()=>$s,_array:()=>Pc,_base64:()=>Os,_base64url:()=>ks,_bigint:()=>Ks,_boolean:()=>Ws,_catch:()=>Qc,_check:()=>sl,_cidrv4:()=>Es,_cidrv6:()=>Ds,_coercedBigint:()=>qs,_coercedBoolean:()=>Gs,_coercedDate:()=>ic,_coercedNumber:()=>Rs,_coercedString:()=>ls,_cuid:()=>ys,_cuid2:()=>bs,_custom:()=>il,_date:()=>rc,_decode:()=>At,_decodeAsync:()=>Pt,_default:()=>Yc,_discriminatedUnion:()=>Ic,_e164:()=>As,_email:()=>us,_emoji:()=>_s,_encode:()=>Ot,_encodeAsync:()=>Mt,_endsWith:()=>Ec,_enum:()=>Hc,_file:()=>Gc,_float32:()=>Bs,_float64:()=>Vs,_gt:()=>cc,_gte:()=>lc,_guid:()=>ds,_includes:()=>wc,_int:()=>zs,_int32:()=>Hs,_int64:()=>Js,_intersection:()=>Lc,_ipv4:()=>ws,_ipv6:()=>Ts,_isoDate:()=>Ps,_isoDateTime:()=>Ns,_isoDuration:()=>Is,_isoTime:()=>Fs,_jwt:()=>js,_ksuid:()=>Cs,_lazy:()=>nl,_length:()=>bc,_literal:()=>Wc,_lowercase:()=>Sc,_lt:()=>oc,_lte:()=>sc,_map:()=>Bc,_max:()=>sc,_maxLength:()=>vc,_maxSize:()=>hc,_mime:()=>Oc,_min:()=>lc,_minLength:()=>yc,_minSize:()=>gc,_multipleOf:()=>mc,_nan:()=>ac,_nanoid:()=>vs,_nativeEnum:()=>Uc,_negative:()=>dc,_never:()=>tc,_nonnegative:()=>pc,_nonoptional:()=>Xc,_nonpositive:()=>fc,_normalize:()=>Ac,_null:()=>Qs,_nullable:()=>Jc,_number:()=>Ls,_optional:()=>qc,_overwrite:()=>kc,_parse:()=>bt,_parseAsync:()=>St,_pipe:()=>$c,_positive:()=>uc,_promise:()=>rl,_property:()=>Dc,_readonly:()=>el,_record:()=>zc,_refine:()=>al,_regex:()=>xc,_safeDecode:()=>Rt,_safeDecodeAsync:()=>Ht,_safeEncode:()=>It,_safeEncodeAsync:()=>Bt,_safeParse:()=>wt,_safeParseAsync:()=>Et,_set:()=>Vc,_size:()=>_c,_startsWith:()=>Tc,_string:()=>cs,_stringFormat:()=>ll,_stringbool:()=>cl,_success:()=>Zc,_superRefine:()=>ol,_symbol:()=>Xs,_templateLiteral:()=>tl,_toLowerCase:()=>Mc,_toUpperCase:()=>Nc,_transform:()=>Kc,_trim:()=>jc,_tuple:()=>Rc,_uint32:()=>Us,_uint64:()=>Ys,_ulid:()=>xs,_undefined:()=>Zs,_union:()=>Fc,_unknown:()=>ec,_uppercase:()=>Cc,_url:()=>gs,_uuid:()=>fs,_uuidv4:()=>ps,_uuidv6:()=>ms,_uuidv7:()=>hs,_void:()=>nc,_xid:()=>Ss,clone:()=>ze,config:()=>A,decode:()=>jt,decodeAsync:()=>Ft,encode:()=>kt,encodeAsync:()=>Nt,flattenError:()=>ht,formatError:()=>gt,globalConfig:()=>ce,globalRegistry:()=>ss,isValidBase64:()=>qr,isValidBase64URL:()=>Yr,isValidJWT:()=>Qr,locales:()=>ns,parse:()=>xt,parseAsync:()=>Ct,prettifyError:()=>yt,regexes:()=>Wt,registry:()=>os,safeDecode:()=>zt,safeDecodeAsync:()=>Ut,safeEncode:()=>Lt,safeEncodeAsync:()=>Vt,safeParse:()=>Tt,safeParseAsync:()=>Dt,toDotPath:()=>vt,toJSONSchema:()=>dl,treeifyError:()=>_t,util:()=>le,version:()=>Tr}),hl=e.r({ZodISODate:()=>vl,ZodISODateTime:()=>gl,ZodISODuration:()=>Sl,ZodISOTime:()=>bl,date:()=>yl,datetime:()=>_l,duration:()=>Cl,time:()=>xl}),gl=O(`ZodISODateTime`,(e,t)=>{zr.init(e,t),Vl.init(e,t)});function _l(e){return Ns(gl,e)}var vl=O(`ZodISODate`,(e,t)=>{Br.init(e,t),Vl.init(e,t)});function yl(e){return Ps(vl,e)}var bl=O(`ZodISOTime`,(e,t)=>{Vr.init(e,t),Vl.init(e,t)});function xl(e){return Fs(bl,e)}var Sl=O(`ZodISODuration`,(e,t)=>{Hr.init(e,t),Vl.init(e,t)});function Cl(e){return Is(Sl,e)}var wl=(e,t)=>{pt.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>gt(e,t)},flatten:{value:t=>ht(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,ge,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,ge,2)}},isEmpty:{get(){return e.issues.length===0}}})},Tl=O(`ZodError`,wl),El=O(`ZodError`,wl,{Parent:Error}),Dl=bt(El),Ol=St(El),kl=wt(El),Al=Et(El),jl=Ot(El),Ml=At(El),Nl=Mt(El),Pl=Pt(El),Fl=It(El),Il=Rt(El),Ll=Bt(El),Rl=Ht(El),L=O(`ZodType`,(e,t)=>(I.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(Ce(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]})),e.clone=(t,n)=>ze(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>Dl(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>kl(e,t,n),e.parseAsync=async(t,n)=>Ol(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Al(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>jl(e,t,n),e.decode=(t,n)=>Ml(e,t,n),e.encodeAsync=async(t,n)=>Nl(e,t,n),e.decodeAsync=async(t,n)=>Pl(e,t,n),e.safeEncode=(t,n)=>Fl(e,t,n),e.safeDecode=(t,n)=>Il(e,t,n),e.safeEncodeAsync=async(t,n)=>Ll(e,t,n),e.safeDecodeAsync=async(t,n)=>Rl(e,t,n),e.refine=(t,n)=>e.check(Cf(t,n)),e.superRefine=t=>e.check(wf(t)),e.overwrite=t=>e.check(kc(t)),e.optional=()=>Ud(e),e.nullable=()=>Gd(e),e.nullish=()=>Ud(Gd(e)),e.nonoptional=t=>Qd(e,t),e.array=()=>pd(e),e.or=t=>yd([e,t]),e.and=t=>Cd(e,t),e.transform=t=>sf(e,Vd(t)),e.default=t=>Jd(e,t),e.prefault=t=>Xd(e,t),e.catch=t=>nf(e,t),e.pipe=t=>sf(e,t),e.readonly=()=>df(e),e.describe=t=>{let n=e.clone();return ss.add(n,{description:t}),n},Object.defineProperty(e,"description",{get(){return ss.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return ss.get(e);let n=e.clone();return ss.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),zl=O(`_ZodString`,(e,t)=>{Er.init(e,t),L.init(e,t);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(xc(...t)),e.includes=(...t)=>e.check(wc(...t)),e.startsWith=(...t)=>e.check(Tc(...t)),e.endsWith=(...t)=>e.check(Ec(...t)),e.min=(...t)=>e.check(yc(...t)),e.max=(...t)=>e.check(vc(...t)),e.length=(...t)=>e.check(bc(...t)),e.nonempty=(...t)=>e.check(yc(1,...t)),e.lowercase=t=>e.check(Sc(t)),e.uppercase=t=>e.check(Cc(t)),e.trim=()=>e.check(jc()),e.normalize=(...t)=>e.check(Ac(...t)),e.toLowerCase=()=>e.check(Mc()),e.toUpperCase=()=>e.check(Nc())}),Bl=O(`ZodString`,(e,t)=>{Er.init(e,t),zl.init(e,t),e.email=t=>e.check(us(Hl,t)),e.url=t=>e.check(gs(Zl,t)),e.jwt=t=>e.check(js(Ou,t)),e.emoji=t=>e.check(_s(eu,t)),e.guid=t=>e.check(ds(Wl,t)),e.uuid=t=>e.check(fs(Kl,t)),e.uuidv4=t=>e.check(ps(Kl,t)),e.uuidv6=t=>e.check(ms(Kl,t)),e.uuidv7=t=>e.check(hs(Kl,t)),e.nanoid=t=>e.check(vs(nu,t)),e.guid=t=>e.check(ds(Wl,t)),e.cuid=t=>e.check(ys(iu,t)),e.cuid2=t=>e.check(bs(ou,t)),e.ulid=t=>e.check(xs(cu,t)),e.base64=t=>e.check(Os(Su,t)),e.base64url=t=>e.check(ks(wu,t)),e.xid=t=>e.check(Ss(uu,t)),e.ksuid=t=>e.check(Cs(fu,t)),e.ipv4=t=>e.check(ws(mu,t)),e.ipv6=t=>e.check(Ts(gu,t)),e.cidrv4=t=>e.check(Es(vu,t)),e.cidrv6=t=>e.check(Ds(bu,t)),e.e164=t=>e.check(As(Eu,t)),e.datetime=t=>e.check(_l(t)),e.date=t=>e.check(yl(t)),e.time=t=>e.check(xl(t)),e.duration=t=>e.check(Cl(t))});function R(e){return cs(Bl,e)}var Vl=O(`ZodStringFormat`,(e,t)=>{Dr.init(e,t),zl.init(e,t)}),Hl=O(`ZodEmail`,(e,t)=>{Ar.init(e,t),Vl.init(e,t)});function Ul(e){return us(Hl,e)}var Wl=O(`ZodGUID`,(e,t)=>{Or.init(e,t),Vl.init(e,t)});function Gl(e){return ds(Wl,e)}var Kl=O(`ZodUUID`,(e,t)=>{kr.init(e,t),Vl.init(e,t)});function ql(e){return fs(Kl,e)}function Jl(e){return ps(Kl,e)}function Yl(e){return ms(Kl,e)}function Xl(e){return hs(Kl,e)}var Zl=O(`ZodURL`,(e,t)=>{jr.init(e,t),Vl.init(e,t)});function Ql(e){return gs(Zl,e)}function $l(e){return gs(Zl,{protocol:/^https?$/,hostname:bn,...P(e)})}var eu=O(`ZodEmoji`,(e,t)=>{Mr.init(e,t),Vl.init(e,t)});function tu(e){return _s(eu,e)}var nu=O(`ZodNanoID`,(e,t)=>{Nr.init(e,t),Vl.init(e,t)});function ru(e){return vs(nu,e)}var iu=O(`ZodCUID`,(e,t)=>{Pr.init(e,t),Vl.init(e,t)});function au(e){return ys(iu,e)}var ou=O(`ZodCUID2`,(e,t)=>{Fr.init(e,t),Vl.init(e,t)});function su(e){return bs(ou,e)}var cu=O(`ZodULID`,(e,t)=>{Ir.init(e,t),Vl.init(e,t)});function lu(e){return xs(cu,e)}var uu=O(`ZodXID`,(e,t)=>{Lr.init(e,t),Vl.init(e,t)});function du(e){return Ss(uu,e)}var fu=O(`ZodKSUID`,(e,t)=>{Rr.init(e,t),Vl.init(e,t)});function pu(e){return Cs(fu,e)}var mu=O(`ZodIPv4`,(e,t)=>{Ur.init(e,t),Vl.init(e,t)});function hu(e){return ws(mu,e)}var gu=O(`ZodIPv6`,(e,t)=>{Wr.init(e,t),Vl.init(e,t)});function _u(e){return Ts(gu,e)}var vu=O(`ZodCIDRv4`,(e,t)=>{Gr.init(e,t),Vl.init(e,t)});function yu(e){return Es(vu,e)}var bu=O(`ZodCIDRv6`,(e,t)=>{Kr.init(e,t),Vl.init(e,t)});function xu(e){return Ds(bu,e)}var Su=O(`ZodBase64`,(e,t)=>{Jr.init(e,t),Vl.init(e,t)});function Cu(e){return Os(Su,e)}var wu=O(`ZodBase64URL`,(e,t)=>{Xr.init(e,t),Vl.init(e,t)});function Tu(e){return ks(wu,e)}var Eu=O(`ZodE164`,(e,t)=>{Zr.init(e,t),Vl.init(e,t)});function Du(e){return As(Eu,e)}var Ou=O(`ZodJWT`,(e,t)=>{$r.init(e,t),Vl.init(e,t)});function ku(e){return js(Ou,e)}var Au=O(`ZodCustomStringFormat`,(e,t)=>{ei.init(e,t),Vl.init(e,t)});function ju(e,t,n={}){return ll(Au,e,t,n)}function Mu(e){return ll(Au,`hostname`,yn,e)}function Nu(e){return ll(Au,`hex`,In,e)}function Pu(e,t){let n=`${e}_${t?.enc??`hex`}`,r=Wt[n];if(!r)throw Error(`Unrecognized hash format: ${n}`);return ll(Au,n,r,t)}var Fu=O(`ZodNumber`,(e,t)=>{ti.init(e,t),L.init(e,t),e.gt=(t,n)=>e.check(cc(t,n)),e.gte=(t,n)=>e.check(lc(t,n)),e.min=(t,n)=>e.check(lc(t,n)),e.lt=(t,n)=>e.check(oc(t,n)),e.lte=(t,n)=>e.check(sc(t,n)),e.max=(t,n)=>e.check(sc(t,n)),e.int=t=>e.check(Ru(t)),e.safe=t=>e.check(Ru(t)),e.positive=t=>e.check(cc(0,t)),e.nonnegative=t=>e.check(lc(0,t)),e.negative=t=>e.check(oc(0,t)),e.nonpositive=t=>e.check(sc(0,t)),e.multipleOf=(t,n)=>e.check(mc(t,n)),e.step=(t,n)=>e.check(mc(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function Iu(e){return Ls(Fu,e)}var Lu=O(`ZodNumberFormat`,(e,t)=>{ni.init(e,t),Fu.init(e,t)});function Ru(e){return zs(Lu,e)}function zu(e){return Bs(Lu,e)}function Bu(e){return Vs(Lu,e)}function Vu(e){return Hs(Lu,e)}function Hu(e){return Us(Lu,e)}var Uu=O(`ZodBoolean`,(e,t)=>{ri.init(e,t),L.init(e,t)});function Wu(e){return Ws(Uu,e)}var Gu=O(`ZodBigInt`,(e,t)=>{ii.init(e,t),L.init(e,t),e.gte=(t,n)=>e.check(lc(t,n)),e.min=(t,n)=>e.check(lc(t,n)),e.gt=(t,n)=>e.check(cc(t,n)),e.gte=(t,n)=>e.check(lc(t,n)),e.min=(t,n)=>e.check(lc(t,n)),e.lt=(t,n)=>e.check(oc(t,n)),e.lte=(t,n)=>e.check(sc(t,n)),e.max=(t,n)=>e.check(sc(t,n)),e.positive=t=>e.check(cc(BigInt(0),t)),e.negative=t=>e.check(oc(BigInt(0),t)),e.nonpositive=t=>e.check(sc(BigInt(0),t)),e.nonnegative=t=>e.check(lc(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(mc(t,n));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function Ku(e){return Ks(Gu,e)}var qu=O(`ZodBigIntFormat`,(e,t)=>{ai.init(e,t),Gu.init(e,t)});function Ju(e){return Js(qu,e)}function Yu(e){return Ys(qu,e)}var Xu=O(`ZodSymbol`,(e,t)=>{oi.init(e,t),L.init(e,t)});function Zu(e){return Xs(Xu,e)}var Qu=O(`ZodUndefined`,(e,t)=>{si.init(e,t),L.init(e,t)});function $u(e){return Zs(Qu,e)}var ed=O(`ZodNull`,(e,t)=>{ci.init(e,t),L.init(e,t)});function td(e){return Qs(ed,e)}var nd=O(`ZodAny`,(e,t)=>{li.init(e,t),L.init(e,t)});function rd(){return $s(nd)}var id=O(`ZodUnknown`,(e,t)=>{ui.init(e,t),L.init(e,t)});function ad(){return ec(id)}var od=O(`ZodNever`,(e,t)=>{di.init(e,t),L.init(e,t)});function sd(e){return tc(od,e)}var cd=O(`ZodVoid`,(e,t)=>{fi.init(e,t),L.init(e,t)});function ld(e){return nc(cd,e)}var ud=O(`ZodDate`,(e,t)=>{pi.init(e,t),L.init(e,t),e.min=(t,n)=>e.check(lc(t,n)),e.max=(t,n)=>e.check(sc(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function dd(e){return rc(ud,e)}var fd=O(`ZodArray`,(e,t)=>{hi.init(e,t),L.init(e,t),e.element=t.element,e.min=(t,n)=>e.check(yc(t,n)),e.nonempty=t=>e.check(yc(1,t)),e.max=(t,n)=>e.check(vc(t,n)),e.length=(t,n)=>e.check(bc(t,n)),e.unwrap=()=>e.element});function pd(e,t){return Pc(fd,e,t)}function md(e){let t=e._zod.def.shape;return Pd(Object.keys(t))}var hd=O(`ZodObject`,(e,t)=>{bi.init(e,t),L.init(e,t),N(e,`shape`,()=>t.shape),e.keyof=()=>Pd(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:ad()}),e.loose=()=>e.clone({...e._zod.def,catchall:ad()}),e.strict=()=>e.clone({...e._zod.def,catchall:sd()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>Ke(e,t),e.safeExtend=t=>qe(e,t),e.merge=t=>Je(e,t),e.pick=t=>We(e,t),e.omit=t=>Ge(e,t),e.partial=(...t)=>Ye(Hd,e,t[0]),e.required=(...t)=>Xe(Zd,e,t[0])});function gd(e,t){return new hd({type:`object`,shape:e??{},...P(t)})}function _d(e,t){return new hd({type:`object`,shape:e,catchall:sd(),...P(t)})}function z(e,t){return new hd({type:`object`,shape:e,catchall:ad(),...P(t)})}var vd=O(`ZodUnion`,(e,t)=>{Si.init(e,t),L.init(e,t),e.options=t.options});function yd(e,t){return new vd({type:`union`,options:e,...P(t)})}var bd=O(`ZodDiscriminatedUnion`,(e,t)=>{vd.init(e,t),Ci.init(e,t)});function xd(e,t,n){return new bd({type:`union`,options:t,discriminator:e,...P(n)})}var Sd=O(`ZodIntersection`,(e,t)=>{wi.init(e,t),L.init(e,t)});function Cd(e,t){return new Sd({type:`intersection`,left:e,right:t})}var wd=O(`ZodTuple`,(e,t)=>{Di.init(e,t),L.init(e,t),e.rest=t=>e.clone({...e._zod.def,rest:t})});function Td(e,t,n){let r=t instanceof I;return new wd({type:`tuple`,items:e,rest:r?t:null,...P(r?n:t)})}var Ed=O(`ZodRecord`,(e,t)=>{ki.init(e,t),L.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function Dd(e,t,n){return new Ed({type:`record`,keyType:e,valueType:t,...P(n)})}function Od(e,t,n){let r=ze(e);return r._zod.values=void 0,new Ed({type:`record`,keyType:r,valueType:t,...P(n)})}var kd=O(`ZodMap`,(e,t)=>{Ai.init(e,t),L.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function Ad(e,t,n){return new kd({type:`map`,keyType:e,valueType:t,...P(n)})}var jd=O(`ZodSet`,(e,t)=>{Mi.init(e,t),L.init(e,t),e.min=(...t)=>e.check(gc(...t)),e.nonempty=t=>e.check(gc(1,t)),e.max=(...t)=>e.check(hc(...t)),e.size=(...t)=>e.check(_c(...t))});function Md(e,t){return new jd({type:`set`,valueType:e,...P(t)})}var Nd=O(`ZodEnum`,(e,t)=>{Pi.init(e,t),L.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Nd({...t,checks:[],...P(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Nd({...t,checks:[],...P(r),entries:i})}});function Pd(e,t){return new Nd({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...P(t)})}function Fd(e,t){return new Nd({type:`enum`,entries:e,...P(t)})}var Id=O(`ZodLiteral`,(e,t)=>{Fi.init(e,t),L.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ld(e,t){return new Id({type:`literal`,values:Array.isArray(e)?e:[e],...P(t)})}var Rd=O(`ZodFile`,(e,t)=>{Ii.init(e,t),L.init(e,t),e.min=(t,n)=>e.check(gc(t,n)),e.max=(t,n)=>e.check(hc(t,n)),e.mime=(t,n)=>e.check(Oc(Array.isArray(t)?t:[t],n))});function zd(e){return Gc(Rd,e)}var Bd=O(`ZodTransform`,(e,t)=>{Li.init(e,t),L.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new se(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(rt(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(rt(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function Vd(e){return new Bd({type:`transform`,transform:e})}var Hd=O(`ZodOptional`,(e,t)=>{zi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Ud(e){return new Hd({type:`optional`,innerType:e})}var Wd=O(`ZodNullable`,(e,t)=>{Bi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Gd(e){return new Wd({type:`nullable`,innerType:e})}function Kd(e){return Ud(Gd(e))}var qd=O(`ZodDefault`,(e,t)=>{Vi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Jd(e,t){return new qd({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Ne(t)}})}var Yd=O(`ZodPrefault`,(e,t)=>{Ui.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Xd(e,t){return new Yd({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Ne(t)}})}var Zd=O(`ZodNonOptional`,(e,t)=>{Wi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Qd(e,t){return new Zd({type:`nonoptional`,innerType:e,...P(t)})}var $d=O(`ZodSuccess`,(e,t)=>{Ki.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ef(e){return new $d({type:`success`,innerType:e})}var tf=O(`ZodCatch`,(e,t)=>{qi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function nf(e,t){return new tf({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var rf=O(`ZodNaN`,(e,t)=>{Ji.init(e,t),L.init(e,t)});function af(e){return ac(rf,e)}var of=O(`ZodPipe`,(e,t)=>{Yi.init(e,t),L.init(e,t),e.in=t.in,e.out=t.out});function sf(e,t){return new of({type:`pipe`,in:e,out:t})}var cf=O(`ZodCodec`,(e,t)=>{of.init(e,t),Zi.init(e,t)});function lf(e,t,n){return new cf({type:`pipe`,in:e,out:t,transform:n.decode,reverseTransform:n.encode})}var uf=O(`ZodReadonly`,(e,t)=>{ea.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function df(e){return new uf({type:`readonly`,innerType:e})}var ff=O(`ZodTemplateLiteral`,(e,t)=>{na.init(e,t),L.init(e,t)});function pf(e,t){return new ff({type:`template_literal`,parts:e,...P(t)})}var mf=O(`ZodLazy`,(e,t)=>{aa.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.getter()});function hf(e){return new mf({type:`lazy`,getter:e})}var gf=O(`ZodPromise`,(e,t)=>{ia.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function _f(e){return new gf({type:`promise`,innerType:e})}var vf=O(`ZodFunction`,(e,t)=>{ra.init(e,t),L.init(e,t)});function yf(e){return new vf({type:`function`,input:Array.isArray(e?.input)?Td(e?.input):e?.input??pd(ad()),output:e?.output??ad()})}var bf=O(`ZodCustom`,(e,t)=>{oa.init(e,t),L.init(e,t)});function xf(e){let t=new er({check:`custom`});return t._zod.check=e,t}function Sf(e,t){return il(bf,e??(()=>!0),t)}function Cf(e,t={}){return al(bf,e,t)}function wf(e){return ol(e)}function Tf(e,t={error:`Input not instance of ${e.name}`}){let n=new bf({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...P(t)});return n._zod.bag.Class=e,n}var Ef=(...e)=>cl({Codec:cf,Boolean:Uu,String:Bl},...e);function Df(e){let t=hf(()=>yd([R(e),Iu(),Wu(),td(),pd(t),Dd(R(),t)]));return t}function Of(e,t){return sf(Vd(e),t)}var kf={invalid_type:`invalid_type`,too_big:`too_big`,too_small:`too_small`,invalid_format:`invalid_format`,not_multiple_of:`not_multiple_of`,unrecognized_keys:`unrecognized_keys`,invalid_union:`invalid_union`,invalid_key:`invalid_key`,invalid_element:`invalid_element`,invalid_value:`invalid_value`,custom:`custom`};function Af(e){A({customError:e})}function jf(){return A().customError}var Mf;Mf||={};var Nf=e.r({bigint:()=>Lf,boolean:()=>If,date:()=>Rf,number:()=>Ff,string:()=>Pf});function Pf(e){return ls(Bl,e)}function Ff(e){return Rs(Fu,e)}function If(e){return Gs(Uu,e)}function Lf(e){return qs(Gu,e)}function Rf(e){return ic(ud,e)}var zf=e.r({$brand:()=>k,$input:()=>is,$output:()=>rs,NEVER:()=>ae,TimePrecision:()=>Ms,ZodAny:()=>nd,ZodArray:()=>fd,ZodBase64:()=>Su,ZodBase64URL:()=>wu,ZodBigInt:()=>Gu,ZodBigIntFormat:()=>qu,ZodBoolean:()=>Uu,ZodCIDRv4:()=>vu,ZodCIDRv6:()=>bu,ZodCUID:()=>iu,ZodCUID2:()=>ou,ZodCatch:()=>tf,ZodCodec:()=>cf,ZodCustom:()=>bf,ZodCustomStringFormat:()=>Au,ZodDate:()=>ud,ZodDefault:()=>qd,ZodDiscriminatedUnion:()=>bd,ZodE164:()=>Eu,ZodEmail:()=>Hl,ZodEmoji:()=>eu,ZodEnum:()=>Nd,ZodError:()=>Tl,ZodFile:()=>Rd,ZodFirstPartyTypeKind:()=>Mf,ZodFunction:()=>vf,ZodGUID:()=>Wl,ZodIPv4:()=>mu,ZodIPv6:()=>gu,ZodISODate:()=>vl,ZodISODateTime:()=>gl,ZodISODuration:()=>Sl,ZodISOTime:()=>bl,ZodIntersection:()=>Sd,ZodIssueCode:()=>kf,ZodJWT:()=>Ou,ZodKSUID:()=>fu,ZodLazy:()=>mf,ZodLiteral:()=>Id,ZodMap:()=>kd,ZodNaN:()=>rf,ZodNanoID:()=>nu,ZodNever:()=>od,ZodNonOptional:()=>Zd,ZodNull:()=>ed,ZodNullable:()=>Wd,ZodNumber:()=>Fu,ZodNumberFormat:()=>Lu,ZodObject:()=>hd,ZodOptional:()=>Hd,ZodPipe:()=>of,ZodPrefault:()=>Yd,ZodPromise:()=>gf,ZodReadonly:()=>uf,ZodRealError:()=>El,ZodRecord:()=>Ed,ZodSet:()=>jd,ZodString:()=>Bl,ZodStringFormat:()=>Vl,ZodSuccess:()=>$d,ZodSymbol:()=>Xu,ZodTemplateLiteral:()=>ff,ZodTransform:()=>Bd,ZodTuple:()=>wd,ZodType:()=>L,ZodULID:()=>cu,ZodURL:()=>Zl,ZodUUID:()=>Kl,ZodUndefined:()=>Qu,ZodUnion:()=>vd,ZodUnknown:()=>id,ZodVoid:()=>cd,ZodXID:()=>uu,_ZodString:()=>zl,_default:()=>Jd,_function:()=>yf,any:()=>rd,array:()=>pd,base64:()=>Cu,base64url:()=>Tu,bigint:()=>Ku,boolean:()=>Wu,catch:()=>nf,check:()=>xf,cidrv4:()=>yu,cidrv6:()=>xu,clone:()=>ze,codec:()=>lf,coerce:()=>Nf,config:()=>A,core:()=>ml,cuid:()=>au,cuid2:()=>su,custom:()=>Sf,date:()=>dd,decode:()=>Ml,decodeAsync:()=>Pl,discriminatedUnion:()=>xd,e164:()=>Du,email:()=>Ul,emoji:()=>tu,encode:()=>jl,encodeAsync:()=>Nl,endsWith:()=>Ec,enum:()=>Pd,file:()=>zd,flattenError:()=>ht,float32:()=>zu,float64:()=>Bu,formatError:()=>gt,function:()=>yf,getErrorMap:()=>jf,globalRegistry:()=>ss,gt:()=>cc,gte:()=>lc,guid:()=>Gl,hash:()=>Pu,hex:()=>Nu,hostname:()=>Mu,httpUrl:()=>$l,includes:()=>wc,instanceof:()=>Tf,int:()=>Ru,int32:()=>Vu,int64:()=>Ju,intersection:()=>Cd,ipv4:()=>hu,ipv6:()=>_u,iso:()=>hl,json:()=>Df,jwt:()=>ku,keyof:()=>md,ksuid:()=>pu,lazy:()=>hf,length:()=>bc,literal:()=>Ld,locales:()=>ns,looseObject:()=>z,lowercase:()=>Sc,lt:()=>oc,lte:()=>sc,map:()=>Ad,maxLength:()=>vc,maxSize:()=>hc,mime:()=>Oc,minLength:()=>yc,minSize:()=>gc,multipleOf:()=>mc,nan:()=>af,nanoid:()=>ru,nativeEnum:()=>Fd,negative:()=>dc,never:()=>sd,nonnegative:()=>pc,nonoptional:()=>Qd,nonpositive:()=>fc,normalize:()=>Ac,null:()=>td,nullable:()=>Gd,nullish:()=>Kd,number:()=>Iu,object:()=>gd,optional:()=>Ud,overwrite:()=>kc,parse:()=>Dl,parseAsync:()=>Ol,partialRecord:()=>Od,pipe:()=>sf,positive:()=>uc,prefault:()=>Xd,preprocess:()=>Of,prettifyError:()=>yt,promise:()=>_f,property:()=>Dc,readonly:()=>df,record:()=>Dd,refine:()=>Cf,regex:()=>xc,regexes:()=>Wt,registry:()=>os,safeDecode:()=>Il,safeDecodeAsync:()=>Rl,safeEncode:()=>Fl,safeEncodeAsync:()=>Ll,safeParse:()=>kl,safeParseAsync:()=>Al,set:()=>Md,setErrorMap:()=>Af,size:()=>_c,startsWith:()=>Tc,strictObject:()=>_d,string:()=>R,stringFormat:()=>ju,stringbool:()=>Ef,success:()=>ef,superRefine:()=>wf,symbol:()=>Zu,templateLiteral:()=>pf,toJSONSchema:()=>dl,toLowerCase:()=>Mc,toUpperCase:()=>Nc,transform:()=>Vd,treeifyError:()=>_t,trim:()=>jc,tuple:()=>Td,uint32:()=>Hu,uint64:()=>Yu,ulid:()=>lu,undefined:()=>$u,union:()=>yd,unknown:()=>ad,uppercase:()=>Cc,url:()=>Ql,util:()=>le,uuid:()=>ql,uuidv4:()=>Jl,uuidv6:()=>Yl,uuidv7:()=>Xl,void:()=>ld,xid:()=>du});A(Ta());var Bf=zf,Vf=function(){function e(e){this.groups=[],this.each=!1,this.context=void 0,this.type=e.type,this.name=e.name,this.target=e.target,this.propertyName=e.propertyName,this.constraints=e?.constraints,this.constraintCls=e.constraintCls,this.validationTypeOptions=e.validationTypeOptions,e.validationOptions&&(this.message=e.validationOptions.message,this.groups=e.validationOptions.groups,this.always=e.validationOptions.always,this.each=e.validationOptions.each,this.context=e.validationOptions.context)}return e}(),Hf=function(){function e(){}return e.prototype.transform=function(e){var t=[];return Object.keys(e.properties).forEach(function(n){e.properties[n].forEach(function(r){var i={message:r.message,groups:r.groups,always:r.always,each:r.each},a={type:r.type,name:r.name,target:e.name,propertyName:n,constraints:r.constraints,validationTypeOptions:r.options,validationOptions:i};t.push(new Vf(a))})}),t},e}(),Uf=function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)},Wf=function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},Gf=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))};(function(){function e(){this.validationMetadatas=new Map,this.constraintMetadatas=new Map}return Object.defineProperty(e.prototype,"hasValidationMetaData",{get:function(){return!!this.validationMetadatas.size},enumerable:!1,configurable:!0}),e.prototype.addValidationSchema=function(e){var t=this;new Hf().transform(e).forEach(function(e){return t.addValidationMetadata(e)})},e.prototype.addValidationMetadata=function(e){var t=this.validationMetadatas.get(e.target);t?t.push(e):this.validationMetadatas.set(e.target,[e])},e.prototype.addConstraintMetadata=function(e){var t=this.constraintMetadatas.get(e.target);t?t.push(e):this.constraintMetadatas.set(e.target,[e])},e.prototype.groupByPropertyName=function(e){var t={};return e.forEach(function(e){t[e.propertyName]||(t[e.propertyName]=[]),t[e.propertyName].push(e)}),t},e.prototype.getTargetValidationMetadatas=function(e,t,n,r,i){var a,o,s=function(e){return e.always===void 0?e.groups&&e.groups.length?!1:n:e.always},c=function(e){return!!(r&&(!i||!i.length)&&e.groups&&e.groups.length)},l=(this.validationMetadatas.get(e)||[]).filter(function(n){return n.target!==e&&n.target!==t?!1:s(n)?!0:c(n)?!1:i&&i.length>0?n.groups&&!!n.groups.find(function(e){return i.indexOf(e)!==-1}):!0}),u=[];try{for(var d=Uf(this.validationMetadatas.entries()),f=d.next();!f.done;f=d.next()){var p=Wf(f.value,2),m=p[0],h=p[1];e.prototype instanceof m&&u.push.apply(u,Gf([],Wf(h),!1))}}catch(e){a={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(a)throw a.error}}var g=u.filter(function(t){return typeof t.target==`string`||t.target===e||t.target instanceof Function&&!(e.prototype instanceof t.target)?!1:s(t)?!0:c(t)?!1:i&&i.length>0?t.groups&&!!t.groups.find(function(e){return i.indexOf(e)!==-1}):!0}).filter(function(e){return!l.find(function(t){return t.propertyName===e.propertyName&&t.type===e.type})});return l.concat(g)},e.prototype.getTargetValidatorConstraints=function(e){return this.constraintMetadatas.get(e)||[]},e})();var Kf=function(){function e(){}return e.isValid=function(e){var t=this;return e!==`isValid`&&e!==`getMessage`&&Object.keys(this).map(function(e){return t[e]}).indexOf(e)!==-1},e.CUSTOM_VALIDATION=`customValidation`,e.NESTED_VALIDATION=`nestedValidation`,e.PROMISE_VALIDATION=`promiseValidation`,e.CONDITIONAL_VALIDATION=`conditionalValidation`,e.WHITELIST=`whitelistValidation`,e.IS_DEFINED=`isDefined`,e}(),qf=new(function(){function e(){this.instances=[]}return e.prototype.get=function(e){var t=this.instances.find(function(t){return t.type===e});return t||(t={type:e,object:new e},this.instances.push(t)),t.object},e}()),Jf,Yf;function Xf(e){if(Jf)try{var t=Jf.get(e);if(t||!Yf||!Yf.fallback)return t}catch(e){if(!Yf||!Yf.fallbackOnErrors)throw e}return qf.get(e)}(function(){function e(e,t,n){n===void 0&&(n=!1),this.target=e,this.name=t,this.async=n}return Object.defineProperty(e.prototype,"instance",{get:function(){return Xf(this.target)},enumerable:!1,configurable:!0}),e})(),Kf.IS_DEFINED;function Zf(e){return e!=null}var Qf=function(e){return e.MIN=`MIN`,e.MAX=`MAX`,e.AVG=`AVG`,e.SUM=`SUM`,e.COUNT=`COUNT`,e.COUNT_UNIQUE_VALUES=`COUNT_UNIQUE_VALUES`,e.COUNT_EMPTY=`COUNT_EMPTY`,e.COUNT_NOT_EMPTY=`COUNT_NOT_EMPTY`,e.COUNT_TRUE=`COUNT_TRUE`,e.COUNT_FALSE=`COUNT_FALSE`,e.PERCENTAGE_EMPTY=`PERCENTAGE_EMPTY`,e.PERCENTAGE_NOT_EMPTY=`PERCENTAGE_NOT_EMPTY`,e}({}),$f=function(e){return e.EMAIL=`EMAIL`,e.CALENDAR=`CALENDAR`,e.WORKFLOW=`WORKFLOW`,e.AGENT=`AGENT`,e.API=`API`,e.IMPORT=`IMPORT`,e.MANUAL=`MANUAL`,e.SYSTEM=`SYSTEM`,e.WEBHOOK=`WEBHOOK`,e.APPLICATION=`APPLICATION`,e}({}),ep={type:D.ACTOR,properties:[{name:`source`,type:D.SELECT,hidden:!1,isRequired:!0,options:Object.keys($f).map((e,t)=>({id:(0,o.v4)(),label:`${$f[e].toLowerCase()}`,value:e,position:t}))},{name:`workspaceMemberId`,type:D.UUID,hidden:`input`,isRequired:!1},{name:`name`,type:D.TEXT,hidden:`input`,isRequired:!0},{name:`context`,type:D.RAW_JSON,hidden:!1,isRequired:!1}]},tp={type:D.ADDRESS,properties:[{name:`addressStreet1`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressStreet2`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressCity`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressPostcode`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressState`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressCountry`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressLat`,type:D.NUMERIC,hidden:!1,isRequired:!1},{name:`addressLng`,type:D.NUMERIC,hidden:!1,isRequired:!1}]},np={type:D.CURRENCY,properties:[{name:`amountMicros`,type:D.NUMERIC,hidden:!1,isRequired:!1},{name:`currencyCode`,type:D.TEXT,hidden:!1,isRequired:!1}]},rp={type:D.EMAILS,properties:[{name:`primaryEmail`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`additionalEmails`,type:D.RAW_JSON,hidden:!1,isRequired:!1}]},ip={type:D.FULL_NAME,properties:[{name:`firstName`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!1},{name:`lastName`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!1}]},ap={type:D.LINKS,properties:[{name:`primaryLinkLabel`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`primaryLinkUrl`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`secondaryLinks`,type:D.RAW_JSON,hidden:!1,isRequired:!1}]},op={type:D.PHONES,properties:[{name:`primaryPhoneNumber`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`primaryPhoneCountryCode`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`primaryPhoneCallingCode`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`additionalPhones`,type:D.RAW_JSON,hidden:!1,isRequired:!1}]},sp={type:D.RICH_TEXT,properties:[{name:`blocknote`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`markdown`,type:D.TEXT,hidden:!1,isRequired:!1}]};gd({blocknote:R().nullable().optional(),markdown:R().nullable()}),new Map([[D.LINKS,ap],[D.CURRENCY,np],[D.FULL_NAME,ip],[D.ADDRESS,tp],[D.ACTOR,ep],[D.EMAILS,rp],[D.PHONES,op],[D.RICH_TEXT,sp]]);var cp={UUID:`uuid`,NOW:`now`};D.RELATION,D.MORPH_RELATION,D.FILES,D.TS_VECTOR;var lp=function(e){return e.COPY=`COPY`,e.OPEN_LINK=`OPEN_LINK`,e.OPEN_IN_APP=`OPEN_IN_APP`,e}({}),up=function(e){return e.FLOAT=`float`,e.INT=`int`,e.BIGINT=`bigint`,e}({}),dp=function(e){return e.RELATIVE=`RELATIVE`,e.USER_SETTINGS=`USER_SETTINGS`,e.CUSTOM=`CUSTOM`,e}({}),fp=function(e){return e.CorePicture=`core-picture`,e.AgentChat=`agent-chat`,e.BuiltLogicFunction=`built-logic-function`,e.BuiltFrontComponent=`built-front-component`,e.PublicAsset=`public-asset`,e.Source=`source`,e.FilesField=`files-field`,e.Dependencies=`dependencies`,e.Workflow=`workflow`,e.EmailAttachment=`email-attachment`,e.EmailImage=`email-image`,e.AppTarball=`app-tarball`,e.GeneratedSdkClient=`generated-sdk-client`,e.Dpa=`dpa`,e}({}),pp=function(e){return e.MONDAY=`MONDAY`,e.SUNDAY=`SUNDAY`,e.SATURDAY=`SATURDAY`,e}({}),mp=function(e){return e.GET=`GET`,e.POST=`POST`,e.PUT=`PUT`,e.PATCH=`PATCH`,e.DELETE=`DELETE`,e}({}),hp=function(e){return e.VIEW=`VIEW`,e.FOLDER=`FOLDER`,e.LINK=`LINK`,e.OBJECT=`OBJECT`,e.RECORD=`RECORD`,e.PAGE_LAYOUT=`PAGE_LAYOUT`,e}({}),gp=function(e){return e.SIDE_PANEL=`SIDE_PANEL`,e.RECORD_PAGE=`RECORD_PAGE`,e.USER_CHOICE=`USER_CHOICE`,e}({}),_p=function(e){return e.DAY=`DAY`,e.MONTH=`MONTH`,e.QUARTER=`QUARTER`,e.YEAR=`YEAR`,e.WEEK=`WEEK`,e.DAY_OF_THE_WEEK=`DAY_OF_THE_WEEK`,e.MONTH_OF_THE_YEAR=`MONTH_OF_THE_YEAR`,e.QUARTER_OF_THE_YEAR=`QUARTER_OF_THE_YEAR`,e.NONE=`NONE`,e}({}),vp=[`AGGREGATE_CHART`,`PIE_CHART`,`BAR_CHART`,`LINE_CHART`],yp=function(e){return e.GRID=`GRID`,e.VERTICAL_LIST=`VERTICAL_LIST`,e.CANVAS=`CANVAS`,e}({}),bp=function(e){return e.RECORD_INDEX=`RECORD_INDEX`,e.RECORD_PAGE=`RECORD_PAGE`,e.DASHBOARD=`DASHBOARD`,e.STANDALONE_PAGE=`STANDALONE_PAGE`,e}({}),xp=function(e){return e.AND=`AND`,e.OR=`OR`,e}({}),Sp=function(e){return e.CASCADE=`CASCADE`,e.RESTRICT=`RESTRICT`,e.SET_NULL=`SET_NULL`,e.NO_ACTION=`NO_ACTION`,e}({}),Cp=function(e){return e.MANY_TO_ONE=`MANY_TO_ONE`,e.ONE_TO_MANY=`ONE_TO_MANY`,e}({}),wp=function(e){return e.AND=`AND`,e.OR=`OR`,e}({}),Tp=function(e){return e.IS=`IS`,e.IS_NOT_NULL=`IS_NOT_NULL`,e.IS_NOT=`IS_NOT`,e.LESS_THAN_OR_EQUAL=`LESS_THAN_OR_EQUAL`,e.GREATER_THAN_OR_EQUAL=`GREATER_THAN_OR_EQUAL`,e.IS_BEFORE=`IS_BEFORE`,e.IS_AFTER=`IS_AFTER`,e.CONTAINS=`CONTAINS`,e.DOES_NOT_CONTAIN=`DOES_NOT_CONTAIN`,e.IS_EMPTY=`IS_EMPTY`,e.IS_NOT_EMPTY=`IS_NOT_EMPTY`,e.IS_RELATIVE=`IS_RELATIVE`,e.IS_IN_PAST=`IS_IN_PAST`,e.IS_IN_FUTURE=`IS_IN_FUTURE`,e.IS_TODAY=`IS_TODAY`,e.VECTOR_SEARCH=`VECTOR_SEARCH`,e}({}),Ep=function(e){return e.DAY=`DAY`,e.WEEK=`WEEK`,e.MONTH=`MONTH`,e}({}),Dp=function(e){return e.AND=`AND`,e.OR=`OR`,e.NOT=`NOT`,e}({}),B=function(e){return e.IS=`IS`,e.IS_NOT_NULL=`IS_NOT_NULL`,e.IS_NOT=`IS_NOT`,e.LESS_THAN_OR_EQUAL=`LESS_THAN_OR_EQUAL`,e.GREATER_THAN_OR_EQUAL=`GREATER_THAN_OR_EQUAL`,e.IS_BEFORE=`IS_BEFORE`,e.IS_AFTER=`IS_AFTER`,e.CONTAINS=`CONTAINS`,e.DOES_NOT_CONTAIN=`DOES_NOT_CONTAIN`,e.IS_EMPTY=`IS_EMPTY`,e.IS_NOT_EMPTY=`IS_NOT_EMPTY`,e.IS_RELATIVE=`IS_RELATIVE`,e.IS_IN_PAST=`IS_IN_PAST`,e.IS_IN_FUTURE=`IS_IN_FUTURE`,e.IS_TODAY=`IS_TODAY`,e.VECTOR_SEARCH=`VECTOR_SEARCH`,e}({}),Op=function(e){return e.Is=`is`,e.IsNotNull=`isNotNull`,e.IsNot=`isNot`,e.LessThanOrEqual=`lessThan`,e.GreaterThanOrEqual=`greaterThan`,e.IsBefore=`isBefore`,e.IsAfter=`isAfter`,e.Contains=`contains`,e.DoesNotContain=`doesNotContain`,e.IsEmpty=`isEmpty`,e.IsNotEmpty=`isNotEmpty`,e.IsRelative=`isRelative`,e.IsInPast=`isInPast`,e.IsInFuture=`isInFuture`,e.IsToday=`isToday`,e}({}),kp=function(e){return e.INDEX=`INDEX`,e}({}),Ap=function(e){return e.SIDE_PANEL=`SIDE_PANEL`,e.RECORD_PAGE=`RECORD_PAGE`,e}({}),jp=function(e){return e.ASC=`ASC`,e.DESC=`DESC`,e}({}),Mp=function(e){return e.TABLE=`TABLE`,e.KANBAN=`KANBAN`,e.CALENDAR=`CALENDAR`,e.FIELDS_WIDGET=`FIELDS_WIDGET`,e.TABLE_WIDGET=`TABLE_WIDGET`,e.KANBAN_WIDGET=`KANBAN_WIDGET`,e.CALENDAR_WIDGET=`CALENDAR_WIDGET`,e}({}),Np=function(e){return e.WORKSPACE=`WORKSPACE`,e.UNLISTED=`UNLISTED`,e}({}),Pp={[D.CURRENCY]:{amountMicros:`amountMicros`,currencyCode:`currencyCode`},[D.EMAILS]:{primaryEmail:`primaryEmail`,additionalEmails:`additionalEmails`},[D.LINKS]:{primaryLinkUrl:`primaryLinkUrl`,primaryLinkLabel:`primaryLinkLabel`,secondaryLinks:`secondaryLinks`},[D.PHONES]:{primaryPhoneCallingCode:`primaryPhoneCallingCode`,primaryPhoneCountryCode:`primaryPhoneCountryCode`,primaryPhoneNumber:`primaryPhoneNumber`,additionalPhones:`additionalPhones`},[D.FULL_NAME]:{firstName:`firstName`,lastName:`lastName`},[D.ADDRESS]:{addressStreet1:`addressStreet1`,addressStreet2:`addressStreet2`,addressCity:`addressCity`,addressState:`addressState`,addressCountry:`addressCountry`,addressPostcode:`addressPostcode`,addressLat:`addressLat`,addressLng:`addressLng`},[D.ACTOR]:{source:`source`,name:`name`,workspaceMemberId:`workspaceMemberId`,context:`context`},[D.RICH_TEXT]:{blocknote:`blocknote`,markdown:`markdown`}},Fp={AED:{label:`UAE dirham`},AFN:{label:`Afghan afghani`},ALL:{label:`Albanian lek`},AMD:{label:`Armenian dram`},ANG:{label:`Netherlands Antillean guilder`},AOA:{label:`Angolan kwanza`},ARS:{label:`Argentine peso`},AUD:{label:`Australian dollar`},AWG:{label:`Aruban florin`},AZN:{label:`Azerbaijani manat`},BAM:{label:`Bosnia and Herzegovina mark`},BBD:{label:`Barbados dollar`},BDT:{label:`Bangladeshi taka`},BGN:{label:`Bulgarian lev`},BHD:{label:`Bahraini dinar`},BIF:{label:`Burundian franc`},BMD:{label:`Bermudian dollar`},BND:{label:`Brunei dollar`},BOB:{label:`Boliviano`},BRL:{label:`Brazilian real`},BSD:{label:`Bahamian dollar`},BTN:{label:`Bhutanese ngultrum`},BWP:{label:`Botswana pula`},BYN:{label:`Belarusian ruble`},BZD:{label:`Belize dollar`},CAD:{label:`Canadian dollar`},CDF:{label:`Congolese franc`},CHF:{label:`Swiss franc`},CLP:{label:`Chilean peso`},CLF:{label:`Unidad de Fomento`},CNY:{label:`Chinese yuan`},COP:{label:`Colombian peso`},CRC:{label:`Costa Rican colon`},CUP:{label:`Cuban peso`},CVE:{label:`Cape Verdean escudo`},CZK:{label:`Czech koruna`},DJF:{label:`Djiboutian franc`},DKK:{label:`Danish krone`},DOP:{label:`Dominican peso`},DZD:{label:`Algerian Dinar`},EGP:{label:`Egyptian pound`},ERN:{label:`Eritrean nakfa`},ETB:{label:`Ethiopian birr`},EUR:{label:`Euro`},FJD:{label:`Fiji dollar`},FKP:{label:`Falkland Islands pound`},GBP:{label:`British pound`},GEL:{label:`Georgian lari`},GHS:{label:`Ghanaian cedi`},GIP:{label:`Gibraltar pound`},GMD:{label:`Gambian dalasi`},GNF:{label:`Guinean franc`},GTQ:{label:`Guatemalan quetzal`},GYD:{label:`Guyanese dollar`},HKD:{label:`Hong Kong dollar`},HNL:{label:`Honduran lempira`},HTG:{label:`Haitian gourde`},HUF:{label:`Hungarian forint`},IDR:{label:`Indonesian rupiah`},ILS:{label:`Israeli shekel`},INR:{label:`Indian rupee`},IQD:{label:`Iraqi dinar`},IRR:{label:`Iranian rial`},ISK:{label:`Icelandic króna`},JMD:{label:`Jamaican dollar`},JOD:{label:`Jordanian dinar`},JPY:{label:`Japanese yen`},KES:{label:`Kenyan shilling`},KGS:{label:`Kyrgyzstani som`},KHR:{label:`Cambodian riel`},KMF:{label:`Comoro franc`},KPW:{label:`North Korean won`},KRW:{label:`South Korean won`},KWD:{label:`Kuwaiti dinar`},KYD:{label:`Cayman Islands dollar`},KZT:{label:`Kazakhstani tenge`},LAK:{label:`Lao kip`},LBP:{label:`Lebanese pound`},LKR:{label:`Sri Lankan rupee`},LRD:{label:`Liberian dollar`},LSL:{label:`Lesotho loti`},LYD:{label:`Libyan dinar`},MAD:{label:`Moroccan dirham`},MDL:{label:`Moldovan leu`},MGA:{label:`Malagasy ariary`},MKD:{label:`Macedonian denar`},MMK:{label:`Myanmar kyat`},MNT:{label:`Mongolian tögrög`},MOP:{label:`Macanese pataca`},MRU:{label:`Mauritanian ouguiya`},MUR:{label:`Mauritian rupee`},MVR:{label:`Maldivian rufiyaa`},MWK:{label:`Malawian kwacha`},MXN:{label:`Mexican peso`},MYR:{label:`Malaysian ringgit`},MZN:{label:`Mozambican metical`},NAD:{label:`Namibian dollar`},NGN:{label:`Nigerian naira`},NIO:{label:`Nicaraguan córdoba`},NOK:{label:`Norwegian krone`},NPR:{label:`Nepalese rupee`},NZD:{label:`New Zealand dollar`},OMR:{label:`Omani rial`},PAB:{label:`Panamanian balboa`},PEN:{label:`Peruvian sol`},PGK:{label:`Papua New Guinean kina`},PHP:{label:`Philippine peso`},PKR:{label:`Pakistani rupee`},PLN:{label:`Polish złoty`},PYG:{label:`Paraguayan guaraní`},QAR:{label:`Qatari riyal`},RON:{label:`Romanian leu`},RSD:{label:`Serbian dinar`},RUB:{label:`Russian ruble`},RWF:{label:`Rwandan franc`},SAR:{label:`Saudi riyal`},SBD:{label:`Solomon Islands dollar`},SCR:{label:`Seychelles rupee`},SDG:{label:`Sudanese pound`},SEK:{label:`Swedish krona`},SGD:{label:`Singapore dollar`},SHP:{label:`Saint Helena pound`},SLE:{label:`Sierra Leonean leone`},SOS:{label:`Somalian shilling`},SRD:{label:`Surinamese dollar`},SSP:{label:`South Sudanese pound`},STN:{label:`São Tomé and Príncipe dobra`},SVC:{label:`Salvadoran colón`},SYP:{label:`Syrian pound`},SZL:{label:`Swazi lilangeni`},THB:{label:`Thai Baht`},TJS:{label:`Tajikistani somoni`},TMT:{label:`Turkmenistan manat`},TND:{label:`Tunisian dinar`},TOP:{label:`Tongan paʻanga`},TRY:{label:`Turkish lira`},TTD:{label:`Trinidad and Tobago dollar`},TWD:{label:`Taiwanese dollar`},TZS:{label:`Tanzanian shilling`},UAH:{label:`Ukrainian hryvnia`},UGX:{label:`Ugandan shilling`},USD:{label:`United States dollar`},UYU:{label:`Uruguayan peso`},UZS:{label:`Uzbekistani sum`},VES:{label:`Venezuelan bolívar`},VND:{label:`Vietnamese đồng`},VUV:{label:`Vanuatu vatu`},WST:{label:`Samoan tala`},XOF:{label:`West African CFA franc`},XCD:{label:`East Caribbean dollar`},YER:{label:`Yemeni rial`},ZAR:{label:`South African rand`},ZMW:{label:`Zambian kwacha`},ZWG:{label:`Zimbabwe Gold`}};({DEVELOPERS_CONTRIBUTE_CAPABILITIES_LOCAL_SETUP:`/developers/contribute/capabilities/local-setup`,DEVELOPERS_CONTRIBUTE_COMMANDS:`/developers/contribute/commands`,DEVELOPERS_CONTRIBUTE_STYLE_GUIDE:`/developers/contribute/style-guide`,DEVELOPERS_EXTEND_API:`/developers/extend/api`,DEVELOPERS_EXTEND_APPS_CONFIG_APPLICATION:`/developers/extend/apps/config/application`,DEVELOPERS_EXTEND_APPS_CONFIG_INSTALL_HOOKS:`/developers/extend/apps/config/install-hooks`,DEVELOPERS_EXTEND_APPS_CONFIG_OVERVIEW:`/developers/extend/apps/config/overview`,DEVELOPERS_EXTEND_APPS_CONFIG_PUBLIC_ASSETS:`/developers/extend/apps/config/public-assets`,DEVELOPERS_EXTEND_APPS_CONFIG_ROLES:`/developers/extend/apps/config/roles`,DEVELOPERS_EXTEND_APPS_DATA_EXTENDING_OBJECTS:`/developers/extend/apps/data/extending-objects`,DEVELOPERS_EXTEND_APPS_DATA_OBJECTS:`/developers/extend/apps/data/objects`,DEVELOPERS_EXTEND_APPS_DATA_OVERVIEW:`/developers/extend/apps/data/overview`,DEVELOPERS_EXTEND_APPS_DATA_RELATIONS:`/developers/extend/apps/data/relations`,DEVELOPERS_EXTEND_APPS_DATA_SYSTEM_FIELDS:`/developers/extend/apps/data/system-fields`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_CONCEPTS:`/developers/extend/apps/getting-started/concepts`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_LOCAL_SERVER:`/developers/extend/apps/getting-started/local-server`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_PROJECT_STRUCTURE:`/developers/extend/apps/getting-started/project-structure`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_QUICK_START:`/developers/extend/apps/getting-started/quick-start`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_SCAFFOLDING:`/developers/extend/apps/getting-started/scaffolding`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_TROUBLESHOOTING:`/developers/extend/apps/getting-started/troubleshooting`,DEVELOPERS_EXTEND_APPS_LAYOUT_COMMAND_MENU_ITEMS:`/developers/extend/apps/layout/command-menu-items`,DEVELOPERS_EXTEND_APPS_LAYOUT_FRONT_COMPONENTS:`/developers/extend/apps/layout/front-components`,DEVELOPERS_EXTEND_APPS_LAYOUT_NAVIGATION_MENU_ITEMS:`/developers/extend/apps/layout/navigation-menu-items`,DEVELOPERS_EXTEND_APPS_LAYOUT_OVERVIEW:`/developers/extend/apps/layout/overview`,DEVELOPERS_EXTEND_APPS_LAYOUT_PAGE_LAYOUTS:`/developers/extend/apps/layout/page-layouts`,DEVELOPERS_EXTEND_APPS_LAYOUT_VIEWS:`/developers/extend/apps/layout/views`,DEVELOPERS_EXTEND_APPS_LOGIC_BACKGROUND_JOBS:`/developers/extend/apps/logic/background-jobs`,DEVELOPERS_EXTEND_APPS_LOGIC_CONNECTIONS:`/developers/extend/apps/logic/connections`,DEVELOPERS_EXTEND_APPS_LOGIC_KEY_VALUE_STORE:`/developers/extend/apps/logic/key-value-store`,DEVELOPERS_EXTEND_APPS_LOGIC_LOGIC_FUNCTIONS:`/developers/extend/apps/logic/logic-functions`,DEVELOPERS_EXTEND_APPS_LOGIC_OVERVIEW:`/developers/extend/apps/logic/overview`,DEVELOPERS_EXTEND_APPS_LOGIC_SKILLS_AND_AGENTS:`/developers/extend/apps/logic/skills-and-agents`,DEVELOPERS_EXTEND_APPS_OPERATIONS_CLI:`/developers/extend/apps/operations/cli`,DEVELOPERS_EXTEND_APPS_OPERATIONS_OVERVIEW:`/developers/extend/apps/operations/overview`,DEVELOPERS_EXTEND_APPS_OPERATIONS_PUBLISHING:`/developers/extend/apps/operations/publishing`,DEVELOPERS_EXTEND_APPS_OPERATIONS_SYNC_AND_RECOVERY:`/developers/extend/apps/operations/sync-and-recovery`,DEVELOPERS_EXTEND_APPS_OPERATIONS_TESTING:`/developers/extend/apps/operations/testing`,DEVELOPERS_EXTEND_APPS_TRANSLATIONS_OVERVIEW:`/developers/extend/apps/translations/overview`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_AI_AGENT:`/developers/extend/apps/tutorials/document-generator/ai-agent`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_BUILDING_THE_UI:`/developers/extend/apps/tutorials/document-generator/building-the-ui`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_DATA_MODEL:`/developers/extend/apps/tutorials/document-generator/data-model`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_GENERATING_DOCUMENTS:`/developers/extend/apps/tutorials/document-generator/generating-documents`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_HTTP_ROUTES:`/developers/extend/apps/tutorials/document-generator/http-routes`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_OVERVIEW:`/developers/extend/apps/tutorials/document-generator/overview`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_PUBLISHING:`/developers/extend/apps/tutorials/document-generator/publishing`,DEVELOPERS_EXTEND_OAUTH:`/developers/extend/oauth`,DEVELOPERS_EXTEND_WEBHOOKS:`/developers/extend/webhooks`,DEVELOPERS_INTRODUCTION:`/developers/introduction`,DEVELOPERS_SELF_HOST_CAPABILITIES_DOCKER_COMPOSE:`/developers/self-host/capabilities/docker-compose`,DEVELOPERS_SELF_HOST_CAPABILITIES_SETUP:`/developers/self-host/capabilities/setup`,DEVELOPERS_SELF_HOST_CAPABILITIES_TROUBLESHOOTING:`/developers/self-host/capabilities/troubleshooting`,DEVELOPERS_SELF_HOST_CAPABILITIES_UPGRADE_GUIDE:`/developers/self-host/capabilities/upgrade-guide`,GETTING_STARTED_CORE_CONCEPTS_AI:`/getting-started/core-concepts/ai`,GETTING_STARTED_CORE_CONCEPTS_APPS:`/getting-started/core-concepts/apps`,GETTING_STARTED_CORE_CONCEPTS_CALENDAR_AND_EMAIL:`/getting-started/core-concepts/calendar-and-email`,GETTING_STARTED_CORE_CONCEPTS_DASHBOARDS:`/getting-started/core-concepts/dashboards`,GETTING_STARTED_CORE_CONCEPTS_DATA_MODEL:`/getting-started/core-concepts/data-model`,GETTING_STARTED_CORE_CONCEPTS_GLOSSARY:`/getting-started/core-concepts/glossary`,GETTING_STARTED_CORE_CONCEPTS_LAYOUT:`/getting-started/core-concepts/layout`,GETTING_STARTED_CORE_CONCEPTS_WORKFLOWS:`/getting-started/core-concepts/workflows`,GETTING_STARTED_INTRODUCTION:`/getting-started/introduction`,GETTING_STARTED_KEY_FEATURES:`/getting-started/key-features`,GETTING_STARTED_QUICKSTART:`/getting-started/quickstart`,USER_GUIDE_AI_CAPABILITIES_AI_AGENTS:`/user-guide/ai/capabilities/ai-agents`,USER_GUIDE_AI_CAPABILITIES_AI_CHATBOT:`/user-guide/ai/capabilities/ai-chatbot`,USER_GUIDE_AI_CAPABILITIES_PERMISSIONS_ACCESS_CONTROL:`/user-guide/ai/capabilities/permissions-access-control`,USER_GUIDE_AI_HOW_TOS_AI_FAQ:`/user-guide/ai/how-tos/ai-faq`,USER_GUIDE_AI_OVERVIEW:`/user-guide/ai/overview`,USER_GUIDE_BILLING_CAPABILITIES_CREDITS:`/user-guide/billing/capabilities/credits`,USER_GUIDE_BILLING_CAPABILITIES_PRICING_PLANS:`/user-guide/billing/capabilities/pricing-plans`,USER_GUIDE_BILLING_HOW_TOS_BILLING_FAQ:`/user-guide/billing/how-tos/billing-faq`,USER_GUIDE_BILLING_OVERVIEW:`/user-guide/billing/overview`,USER_GUIDE_CALENDAR_EMAILS_CAPABILITIES_CALENDAR:`/user-guide/calendar-emails/capabilities/calendar`,USER_GUIDE_CALENDAR_EMAILS_CAPABILITIES_MAILBOX:`/user-guide/calendar-emails/capabilities/mailbox`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CAN_I_BOOK_MEETINGS_FROM_TWENTY:`/user-guide/calendar-emails/how-tos/can-i-book-meetings-from-twenty`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CAN_I_SEND_EMAILS_FROM_TWENTY:`/user-guide/calendar-emails/how-tos/can-i-send-emails-from-twenty`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CAN_I_TRACK_EMAIL_ACTIVITY_ON_ALL_OBJECTS:`/user-guide/calendar-emails/how-tos/can-i-track-email-activity-on-all-objects`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CONNECT_SEVERAL_MAILBOXES_PER_USER:`/user-guide/calendar-emails/how-tos/connect-several-mailboxes-per-user`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_I_DONT_SEE_EMAILS_ON_RECORDS:`/user-guide/calendar-emails/how-tos/i-dont-see-emails-on-records`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_LIMIT_EMAILS_IMPORTED:`/user-guide/calendar-emails/how-tos/limit-emails-imported`,USER_GUIDE_CALENDAR_EMAILS_OVERVIEW:`/user-guide/calendar-emails/overview`,USER_GUIDE_DASHBOARDS_CAPABILITIES_CHART_SETTINGS:`/user-guide/dashboards/capabilities/chart-settings`,USER_GUIDE_DASHBOARDS_CAPABILITIES_DASHBOARDS:`/user-guide/dashboards/capabilities/dashboards`,USER_GUIDE_DASHBOARDS_CAPABILITIES_WIDGETS:`/user-guide/dashboards/capabilities/widgets`,USER_GUIDE_DASHBOARDS_HOW_TOS_DASHBOARDS_FAQ:`/user-guide/dashboards/how-tos/dashboards-faq`,USER_GUIDE_DASHBOARDS_HOW_TOS_WIDGET_FAQ:`/user-guide/dashboards/how-tos/widget-faq`,USER_GUIDE_DASHBOARDS_OVERVIEW:`/user-guide/dashboards/overview`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_ERROR_HANDLING:`/user-guide/data-migration/capabilities/error-handling`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_FIELD_MAPPING:`/user-guide/data-migration/capabilities/field-mapping`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_FILE_FORMATS:`/user-guide/data-migration/capabilities/file-formats`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_IMPORT_RELATIONS:`/user-guide/data-migration/capabilities/import-relations`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_UNIQUENESS_CONSTRAINTS:`/user-guide/data-migration/capabilities/uniqueness-constraints`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_EXPORT_YOUR_DATA:`/user-guide/data-migration/how-tos/export-your-data`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_FIX_IMPORT_ERRORS:`/user-guide/data-migration/how-tos/fix-import-errors`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_COMPANIES_VIA_CSV:`/user-guide/data-migration/how-tos/import-companies-via-csv`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_CONTACTS_VIA_CSV:`/user-guide/data-migration/how-tos/import-contacts-via-csv`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_DATA_VIA_API:`/user-guide/data-migration/how-tos/import-data-via-api`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_RELATIONS_BETWEEN_OBJECTS_VIA_CSV:`/user-guide/data-migration/how-tos/import-relations-between-objects-via-csv`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_MIGRATING_FROM_OTHER_CRMS:`/user-guide/data-migration/how-tos/migrating-from-other-crms`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_MIGRATING_FROM_SELF_HOSTED_TO_CLOUD:`/user-guide/data-migration/how-tos/migrating-from-self-hosted-to-cloud`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_PREPARE_YOUR_CSV_FILES:`/user-guide/data-migration/how-tos/prepare-your-csv-files`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_UPDATE_EXISTING_RECORDS_VIA_IMPORT:`/user-guide/data-migration/how-tos/update-existing-records-via-import`,USER_GUIDE_DATA_MIGRATION_OVERVIEW:`/user-guide/data-migration/overview`,USER_GUIDE_DATA_MODEL_CAPABILITIES_FIELDS:`/user-guide/data-model/capabilities/fields`,USER_GUIDE_DATA_MODEL_CAPABILITIES_OBJECTS:`/user-guide/data-model/capabilities/objects`,USER_GUIDE_DATA_MODEL_CAPABILITIES_RELATION_FIELDS:`/user-guide/data-model/capabilities/relation-fields`,USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_CUSTOM_FIELDS:`/user-guide/data-model/how-tos/create-custom-fields`,USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_CUSTOM_OBJECTS:`/user-guide/data-model/how-tos/create-custom-objects`,USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_MANY_TO_MANY_RELATIONS:`/user-guide/data-model/how-tos/create-many-to-many-relations`,USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_RELATION_FIELDS:`/user-guide/data-model/how-tos/create-relation-fields`,USER_GUIDE_DATA_MODEL_HOW_TOS_CUSTOMIZE_YOUR_DATA_MODEL:`/user-guide/data-model/how-tos/customize-your-data-model`,USER_GUIDE_DATA_MODEL_HOW_TOS_DATA_MODEL_FAQ:`/user-guide/data-model/how-tos/data-model-faq`,USER_GUIDE_DATA_MODEL_OVERVIEW:`/user-guide/data-model/overview`,USER_GUIDE_INTRODUCTION:`/user-guide/introduction`,USER_GUIDE_LAYOUT_CAPABILITIES_NAVIGATION:`/user-guide/layout/capabilities/navigation`,USER_GUIDE_LAYOUT_CAPABILITIES_RECORD_PAGES:`/user-guide/layout/capabilities/record-pages`,USER_GUIDE_LAYOUT_OVERVIEW:`/user-guide/layout/overview`,USER_GUIDE_LEGAL_HOW_TOS_LEGAL_FAQ:`/user-guide/legal/how-tos/legal-faq`,USER_GUIDE_LEGAL_OVERVIEW:`/user-guide/legal/overview`,USER_GUIDE_PERMISSIONS_ACCESS_CAPABILITIES_PERMISSIONS:`/user-guide/permissions-access/capabilities/permissions`,USER_GUIDE_PERMISSIONS_ACCESS_CAPABILITIES_SSO_CONFIGURATION:`/user-guide/permissions-access/capabilities/sso-configuration`,USER_GUIDE_PERMISSIONS_ACCESS_HOW_TOS_PERMISSIONS_FAQ:`/user-guide/permissions-access/how-tos/permissions-faq`,USER_GUIDE_PERMISSIONS_ACCESS_OVERVIEW:`/user-guide/permissions-access/overview`,USER_GUIDE_SETTINGS_CAPABILITIES_COMMUNITY_SETTINGS:`/user-guide/settings/capabilities/community-settings`,USER_GUIDE_SETTINGS_CAPABILITIES_DOMAINS_SETTINGS:`/user-guide/settings/capabilities/domains-settings`,USER_GUIDE_SETTINGS_CAPABILITIES_EXPERIENCE_SETTINGS:`/user-guide/settings/capabilities/experience-settings`,USER_GUIDE_SETTINGS_CAPABILITIES_MEMBER_MANAGEMENT:`/user-guide/settings/capabilities/member-management`,USER_GUIDE_SETTINGS_CAPABILITIES_PROFILE_SETTINGS:`/user-guide/settings/capabilities/profile-settings`,USER_GUIDE_SETTINGS_CAPABILITIES_WORKSPACE_SETTINGS:`/user-guide/settings/capabilities/workspace-settings`,USER_GUIDE_SETTINGS_HOW_TOS_SETTINGS_FAQ:`/user-guide/settings/how-tos/settings-faq`,USER_GUIDE_SETTINGS_OVERVIEW:`/user-guide/settings/overview`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_CALENDAR_VIEW:`/user-guide/views-pipelines/capabilities/calendar-view`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_FIELDS_AND_COLUMNS:`/user-guide/views-pipelines/capabilities/fields-and-columns`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_FILTERS_AND_SORTING:`/user-guide/views-pipelines/capabilities/filters-and-sorting`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_KANBAN_VIEWS:`/user-guide/views-pipelines/capabilities/kanban-views`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_TABLE_VIEWS:`/user-guide/views-pipelines/capabilities/table-views`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_VIEW_SETTINGS:`/user-guide/views-pipelines/capabilities/view-settings`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_CREATE_A_CALENDAR_VIEW_FOR_TASKS_DUE:`/user-guide/views-pipelines/how-tos/create-a-calendar-view-for-tasks-due`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_CREATE_A_KANBAN_VIEW_FOR_PROJECTS:`/user-guide/views-pipelines/how-tos/create-a-kanban-view-for-projects`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_CREATE_A_TABLE_VIEW_WITH_GROUPING:`/user-guide/views-pipelines/how-tos/create-a-table-view-with-grouping`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_RESTRICT_ACCESS_TO_YOUR_VIEW:`/user-guide/views-pipelines/how-tos/restrict-access-to-your-view`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_SET_UP_A_SALES_PIPELINE:`/user-guide/views-pipelines/how-tos/set-up-a-sales-pipeline`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_SHOW_EXPECTED_AMOUNT_IN_PIPELINE:`/user-guide/views-pipelines/how-tos/show-expected-amount-in-pipeline`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_TRACK_TIME_IN_STAGE:`/user-guide/views-pipelines/how-tos/track-time-in-stage`,USER_GUIDE_WORKFLOWS_CAPABILITIES_SEND_EMAILS_FROM_WORKFLOWS:`/user-guide/workflows/capabilities/send-emails-from-workflows`,USER_GUIDE_WORKFLOWS_CAPABILITIES_USE_BRANCHES_IN_WORKFLOWS:`/user-guide/workflows/capabilities/use-branches-in-workflows`,USER_GUIDE_WORKFLOWS_CAPABILITIES_USE_ITERATOR:`/user-guide/workflows/capabilities/use-iterator`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_ACTIONS:`/user-guide/workflows/capabilities/workflow-actions`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_BRANCHES:`/user-guide/workflows/capabilities/workflow-branches`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_CREDITS:`/user-guide/workflows/capabilities/workflow-credits`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_RUNS:`/user-guide/workflows/capabilities/workflow-runs`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_TRIGGERS:`/user-guide/workflows/capabilities/workflow-triggers`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_VERSIONS:`/user-guide/workflows/capabilities/workflow-versions`,USER_GUIDE_WORKFLOWS_HOW_TOS_ADVANCED_CONFIGURATIONS_HANDLE_ARRAYS_IN_CODE_ACTIONS:`/user-guide/workflows/how-tos/advanced-configurations/handle-arrays-in-code-actions`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_BRING_PRODUCT_DATA_IN_TWENTY:`/user-guide/workflows/how-tos/connect-to-other-tools/bring-product-data-in-twenty`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_BRING_TYPEFORM_SUBMISSIONS_IN_TWENTY:`/user-guide/workflows/how-tos/connect-to-other-tools/bring-typeform-submissions-in-twenty`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_GENERATE_PDF_FROM_TWENTY:`/user-guide/workflows/how-tos/connect-to-other-tools/generate-pdf-from-twenty`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_GENERATE_QUOTE_OR_INVOICE_FROM_TWENTY:`/user-guide/workflows/how-tos/connect-to-other-tools/generate-quote-or-invoice-from-twenty`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_SET_UP_A_WEBHOOK_TRIGGER:`/user-guide/workflows/how-tos/connect-to-other-tools/set-up-a-webhook-trigger`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_AUTO_REPLY_TO_INBOUND_EMAILS:`/user-guide/workflows/how-tos/crm-automations/auto-reply-to-inbound-emails`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_CLOSED_WON_AUTOMATIONS:`/user-guide/workflows/how-tos/crm-automations/closed-won-automations`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_DETECT_STALE_OPPORTUNITIES:`/user-guide/workflows/how-tos/crm-automations/detect-stale-opportunities`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_DISPLAY_NUMBER_OF_EMAILS_RECEIVED:`/user-guide/workflows/how-tos/crm-automations/display-number-of-emails-received`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_DISPLAY_RELATED_RECORD_DATA:`/user-guide/workflows/how-tos/crm-automations/display-related-record-data`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_FORMULA_FIELDS:`/user-guide/workflows/how-tos/crm-automations/formula-fields`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_NOTIFY_TEAMMATES_OF_NOTE_TO_REVIEW:`/user-guide/workflows/how-tos/crm-automations/notify-teammates-of-note-to-review`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_SEND_EMAIL_ALERTS_WITH_TASKS_DUE:`/user-guide/workflows/how-tos/crm-automations/send-email-alerts-with-tasks-due`,USER_GUIDE_WORKFLOWS_HOW_TOS_NEED_MORE_HELP_PROFESSIONAL_SERVICES:`/user-guide/workflows/how-tos/need-more-help/professional-services`,USER_GUIDE_WORKFLOWS_HOW_TOS_NEED_MORE_HELP_WORKFLOW_TROUBLESHOOTING:`/user-guide/workflows/how-tos/need-more-help/workflow-troubleshooting`,USER_GUIDE_WORKFLOWS_HOW_TOS_NEED_MORE_HELP_WORKFLOWS_FAQ:`/user-guide/workflows/how-tos/need-more-help/workflows-faq`,USER_GUIDE_WORKFLOWS_OVERVIEW:`/user-guide/workflows/overview`}).GETTING_STARTED_INTRODUCTION,new Set([D.TS_VECTOR,D.RAW_JSON,D.FILES,D.POSITION]),D.ACTOR,D.ADDRESS,D.ARRAY,D.BOOLEAN,D.CURRENCY,D.DATE,D.DATE_TIME,D.EMAILS,D.FILES,D.FULL_NAME,D.LINKS,D.MORPH_RELATION,D.MULTI_SELECT,D.NUMBER,D.NUMERIC,D.PHONES,D.POSITION,D.RATING,D.RAW_JSON,D.RELATION,D.RICH_TEXT,D.SELECT,D.TEXT,D.TS_VECTOR,D.UUID,new Set([D.TS_VECTOR,D.ARRAY,D.MULTI_SELECT,D.RAW_JSON]),_p.DAY,_p.WEEK,_p.MONTH,_p.QUARTER,_p.YEAR,D.FILES,D.LINKS,D.TEXT,D.FULL_NAME,D.UUID;var Ip=[`RATING_1`,`RATING_2`,`RATING_3`,`RATING_4`,`RATING_5`],Lp={API_KEYS_AND_WEBHOOKS:`beb99803-9a0e-588d-9c4b-3dd14d9cdf21`,WORKSPACE:`86a58859-a539-5fa8-ba18-a6aaddc811b6`,WORKSPACE_MEMBERS:`ec342166-2df7-53e7-aa9b-64992d6cb35f`,ROLES:`80f1e5ab-484c-5660-a5a1-0ee7413d8190`,DATA_MODEL:`f0c08013-3c9a-5489-bd45-a641fe5f085d`,SECURITY:`4a8b6016-1d3d-5c94-bbe8-a74c5f32335a`,WORKFLOWS:`6189e7bd-4051-5752-b6b1-5f31358fbaf1`,IMPERSONATE:`dd2274d1-bbd5-551d-bcf2-3147539cef11`,SSO_BYPASS:`2e9cfdc0-4669-58ab-b241-b6c3c14d96df`,APPLICATIONS:`9faa55f7-2606-566b-9e1d-aefbedbd0136`,MARKETPLACE_APPS:`3a37e2f5-d3e4-56d6-b541-adf0237468ff`,LAYOUTS:`458d1ee5-ba12-5f4e-9d17-6f8c11fcd7fd`,BILLING:`24b66701-ed97-51e4-aa63-794e1b31414c`,AI_SETTINGS:`e8cc4a30-c120-5925-8f5d-73d6a2247fee`,AI:`1c7f09a7-367d-568b-a0e8-c274eccd6ee3`,VIEWS:`c68354c4-535d-53a9-848a-e3a6774b5fb8`,UPLOAD_FILE:`dc6931a9-44bd-5164-a983-3db5db837f54`,DOWNLOAD_FILE:`6edf252f-228e-5e2f-9706-7bab7a796fd3`,SEND_EMAIL_TOOL:`19f382a8-689d-5792-a18c-737f0ce9025f`,CREATE_CALENDAR_EVENT_TOOL:`5b8c104e-24d3-4e89-986b-1d9208df6cf4`,HTTP_REQUEST_TOOL:`1bf49cf1-bb8f-5eb9-809a-5f34ea79fc6a`,CODE_INTERPRETER_TOOL:`11f31c3a-7042-54b7-a2dd-ae31dd9e9fa2`,IMPORT_CSV:`c4912536-a4db-5af9-85ac-be2919c24c5e`,EXPORT_CSV:`88efced9-ca6d-5316-a695-f1b9158e7370`,CONNECTED_ACCOUNTS:`e5f63b2d-5369-5df6-8f32-a8bd9e79e653`,PROFILE_INFORMATION:`7c13f23f-78d8-5e7d-8963-a7c8772fb4e8`},Rp={en:`en`,"pseudo-en":`pseudo-en`,"af-ZA":`af-ZA`,"ar-SA":`ar-SA`,"ca-ES":`ca-ES`,"cs-CZ":`cs-CZ`,"da-DK":`da-DK`,"de-DE":`de-DE`,"el-GR":`el-GR`,"es-ES":`es-ES`,"fi-FI":`fi-FI`,"fr-FR":`fr-FR`,"he-IL":`he-IL`,"hu-HU":`hu-HU`,"it-IT":`it-IT`,"ja-JP":`ja-JP`,"ko-KR":`ko-KR`,"nl-NL":`nl-NL`,"no-NO":`no-NO`,"pl-PL":`pl-PL`,"pt-BR":`pt-BR`,"pt-PT":`pt-PT`,"ro-RO":`ro-RO`,"ru-RU":`ru-RU`,"sr-Cyrl":`sr-Cyrl`,"sv-SE":`sv-SE`,"tr-TR":`tr-TR`,"uk-UA":`uk-UA`,"vi-VN":`vi-VN`,"zh-CN":`zh-CN`,"zh-TW":`zh-TW`},zp=`INUMBER`,Bp=`IOP1`,Vp=`IOP2`,Hp=`IOP3`,Up=`IVAR`,Wp=`IVARNAME`,Gp=`IFUNCALL`,Kp=`IFUNDEF`,qp=`IEXPR`,Jp=`IEXPREVAL`,Yp=`IMEMBER`,Xp=`IENDSTATEMENT`,Zp=`IARRAY`;function V(e,t){this.type=e,this.value=t??0}V.prototype.toString=function(){switch(this.type){case zp:case Bp:case Vp:case Hp:case Up:case Wp:case Xp:return this.value;case Gp:return`CALL `+this.value;case Kp:return`DEF `+this.value;case Zp:return`ARRAY `+this.value;case Yp:return`.`+this.value;default:return`Invalid Instruction`}};function Qp(e){return new V(Bp,e)}function $p(e){return new V(Vp,e)}function em(e){return new V(Hp,e)}function tm(e,t,n,r,i){for(var a=[],o=[],s,c,l,u,d=0;d<e.length;d++){var f=e[d],p=f.type;if(p===zp||p===Wp)Array.isArray(f.value)?a.push.apply(a,tm(f.value.map(function(e){return new V(zp,e)}).concat(new V(Zp,f.value.length)),t,n,r,i)):a.push(f);else if(p===Up&&Object.hasOwn(i,f.value))f=new V(zp,i[f.value]),a.push(f);else if(p===Vp&&a.length>1)c=a.pop(),s=a.pop(),u=n[f.value],f=new V(zp,u(s.value,c.value)),a.push(f);else if(p===Hp&&a.length>2)l=a.pop(),c=a.pop(),s=a.pop(),f.value===`?`?a.push(s.value?c.value:l.value):(u=r[f.value],f=new V(zp,u(s.value,c.value,l.value)),a.push(f));else if(p===Bp&&a.length>0)s=a.pop(),u=t[f.value],f=new V(zp,u(s.value)),a.push(f);else if(p===qp){for(;a.length>0;)o.push(a.shift());o.push(new V(qp,tm(f.value,t,n,r,i)))}else if(p===Yp&&a.length>0)s=a.pop(),a.push(new V(zp,s.value[f.value]));else{for(;a.length>0;)o.push(a.shift());o.push(f)}}for(;a.length>0;)o.push(a.shift());return o}function nm(e,t,n){for(var r=[],i=0;i<e.length;i++){var a=e[i],o=a.type;if(o===Up&&a.value===t)for(var s=0;s<n.tokens.length;s++){var c=n.tokens[s],l=c.type===Bp?Qp(c.value):c.type===Vp?$p(c.value):c.type===Hp?em(c.value):new V(c.type,c.value);r.push(l)}else o===qp?r.push(new V(qp,nm(a.value,t,n))):r.push(a)}return r}function rm(e,t,n){if(Object.values(t.functions).includes(e))return!0;for(let i of Object.values(n))if(typeof i==`object`&&i){for(let n of Object.values(i))if(n===e){let e=Object.freeze({abs:Math.abs,acos:Math.acos,asin:Math.asin,atan:Math.atan,atan2:Math.atan2,ceil:Math.ceil,clz32:Math.clz32,cos:Math.cos,exp:Math.exp,floor:Math.floor,imul:Math.imul,fround:Math.fround,f16round:Math.f16round,log:Math.log,max:Math.max,min:Math.min,pow:Math.pow,random:Math.random,round:Math.round,sin:Math.sin,sqrt:Math.sqrt,tan:Math.tan,log10:Math.log10,log2:Math.log2,log1p:Math.log1p,expm1:Math.expm1,cosh:Math.cosh,sinh:Math.sinh,tanh:Math.tanh,acosh:Math.acosh,asinh:Math.asinh,atanh:Math.atanh,hypot:Math.hypot,trunc:Math.trunc,sign:Math.sign,cbrt:Math.cbrt});for(var r of Object.getOwnPropertyNames(e))if(e[r]===n)return!0;return Object.values(t.functions).includes(n)}}return!1}function im(e,t,n){var r=[],i,a,o,s,c,l;if(om(e))return sm(e,n);for(var u=e.length,d=0;d<u;d++){var f=e[d],p=f.type;if(p===zp||p===Wp)r.push(f.value);else if(p===Vp)a=r.pop(),i=r.pop(),f.value===`and`?r.push(i?!!im(a,t,n):!1):f.value===`or`?r.push(i?!0:!!im(a,t,n)):f.value===`=`?(s=t.binaryOps[f.value],r.push(s(i,im(a,t,n),n))):(s=t.binaryOps[f.value],r.push(s(sm(i,n),sm(a,n))));else if(p===Hp)o=r.pop(),a=r.pop(),i=r.pop(),f.value===`?`?r.push(im(i?a:o,t,n)):(s=t.ternaryOps[f.value],r.push(s(sm(i,n),sm(a,n),sm(o,n))));else if(p===Up){if(/^__proto__|prototype|constructor$/.test(f.value))throw Error(`prototype access detected`);if(f.value in t.functions)r.push(t.functions[f.value]);else if(f.value in t.unaryOps&&t.parser.isOperatorEnabled(f.value))r.push(t.unaryOps[f.value]);else{var m=n[f.value];if(m!==void 0){if(typeof m==`function`&&!rm(m,t,n))throw Error(`Variable references an unallowed function: `+f.value);r.push(m)}else throw Error(`undefined variable: `+f.value)}}else if(p===Bp)i=r.pop(),s=t.unaryOps[f.value],r.push(s(sm(i,n)));else if(p===Gp){for(l=f.value,c=[];l-- >0;)c.unshift(sm(r.pop(),n));if(s=r.pop(),!rm(s,t,n))throw Error(`Is not an allowed function.`);if(s.apply&&s.call)r.push(s.apply(void 0,c));else throw Error(s+` is not a function`)}else if(p===Kp)r.push((function(){for(var e=r.pop(),i=[],a=f.value;a-- >0;)i.unshift(r.pop());var o=r.pop(),s=function(){for(var r=Object.assign({},n),a=0,o=i.length;a<o;a++)r[i[a]]=arguments[a];return im(e,t,r)};return t.functions[`lambda_`+ t.functions.__counter++]=s,n[o]=s,s})());else if(p===qp)r.push(am(f,t));else if(p===Jp)r.push(f);else if(p===Yp){if(i=r.pop(),/^__proto__|prototype|constructor$/.test(f.value))throw Error(`prototype access detected in MEMBER`);if(typeof i==`object`&&typeof i[f.value]==`function`&&!rm(i[f.value],t,n))throw Error(`Is not an allowed function in MEMBER.`);r.push(i[f.value])}else if(p===Xp)r.pop();else if(p===Zp){for(l=f.value,c=[];l-- >0;)c.unshift(r.pop());r.push(c)}else throw Error(`invalid Expression`)}if(r.length>1)throw Error(`invalid Expression (parity)`);return r[0]===0?0:sm(r[0],n)}function am(e,t,n){return om(e)?e:{type:Jp,value:function(n){return im(e.value,t,n)}}}function om(e){return e&&e.type===Jp}function sm(e,t){return om(e)?e.value(t):e}function cm(e,t){for(var n=[],r,i,a,o,s,c,l=0;l<e.length;l++){var u=e[l],d=u.type;if(d===zp)typeof u.value==`number`&&u.value<0?n.push(`(`+u.value+`)`):Array.isArray(u.value)?n.push(`[`+u.value.map(lm).join(`, `)+`]`):n.push(lm(u.value));else if(d===Vp)i=n.pop(),r=n.pop(),o=u.value,t?o===`^`?n.push(`Math.pow(`+r+`, `+i+`)`):o===`and`?n.push(`(!!`+r+` && !!`+i+`)`):o===`or`?n.push(`(!!`+r+` || !!`+i+`)`):o===`||`?n.push(`(function(a,b){ return Array.isArray(a) && Array.isArray(b) ? a.concat(b) : String(a) + String(b); }((`+r+`),(`+i+`)))`):o===`==`?n.push(`(`+r+` === `+i+`)`):o===`!=`?n.push(`(`+r+` !== `+i+`)`):o===`[`?n.push(r+`[(`+i+`) | 0]`):n.push(`(`+r+` `+o+` `+i+`)`):o===`[`?n.push(r+`[`+i+`]`):n.push(`(`+r+` `+o+` `+i+`)`);else if(d===Hp)if(a=n.pop(),i=n.pop(),r=n.pop(),o=u.value,o===`?`)n.push(`(`+r+` ? `+i+` : `+a+`)`);else throw Error(`invalid Expression`);else if(d===Up||d===Wp)n.push(u.value);else if(d===Bp)r=n.pop(),o=u.value,o===`-`||o===`+`?n.push(`(`+o+r+`)`):t?o===`not`?n.push(`(!`+r+`)`):o===`!`?n.push(`fac(`+r+`)`):n.push(o+`(`+r+`)`):o===`!`?n.push(`(`+r+`!)`):n.push(`(`+o+` `+r+`)`);else if(d===Gp){for(c=u.value,s=[];c-- >0;)s.unshift(n.pop());o=n.pop(),n.push(o+`(`+s.join(`, `)+`)`)}else if(d===Kp){for(i=n.pop(),c=u.value,s=[];c-- >0;)s.unshift(n.pop());r=n.pop(),t?n.push(`(`+r+` = function(`+s.join(`, `)+`) { return `+i+` })`):n.push(`(`+r+`(`+s.join(`, `)+`) = `+i+`)`)}else if(d===Yp)r=n.pop(),n.push(r+`.`+u.value);else if(d===Zp){for(c=u.value,s=[];c-- >0;)s.unshift(n.pop());n.push(`[`+s.join(`, `)+`]`)}else if(d===qp)n.push(`(`+cm(u.value,t)+`)`);else if(d!==Xp)throw Error(`invalid Expression`)}return n.length>1&&(n=t?[n.join(`,`)]:[n.join(`;`)]),String(n[0])}function lm(e){return typeof e==`string`?JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`):e}function um(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}function dm(e,t,n){n||={};for(var r=!!n.withMembers,i=null,a=0;a<e.length;a++){var o=e[a];o.type===Up||o.type===Wp?!r&&!um(t,o.value)?t.push(o.value):(i===null||um(t,i)||t.push(i),i=o.value):o.type===Yp&&r&&i!==null?i+=`.`+o.value:o.type===qp?dm(o.value,t,n):i!==null&&(um(t,i)||t.push(i),i=null)}i!==null&&!um(t,i)&&t.push(i)}function fm(e,t){this.tokens=e,this.parser=t,this.unaryOps=t.unaryOps,this.binaryOps=t.binaryOps,this.ternaryOps=t.ternaryOps,this.functions=t.functions}fm.prototype.simplify=function(e){return e||={},new fm(tm(this.tokens,this.unaryOps,this.binaryOps,this.ternaryOps,e),this.parser)},fm.prototype.substitute=function(e,t){return t instanceof fm||(t=this.parser.parse(String(t))),new fm(nm(this.tokens,e,t),this.parser)},fm.prototype.evaluate=function(e){return e||={},im(this.tokens,this,e)},fm.prototype.toString=function(){return cm(this.tokens,!1)},fm.prototype.symbols=function(e){e||={};var t=[];return dm(this.tokens,t,e),t},fm.prototype.variables=function(e){e||={};var t=[];dm(this.tokens,t,e);var n=this.functions;return t.filter(function(e){return!(e in n)})},fm.prototype.toJSFunction=function(e,t){var n=this,r=Function(e,`with(this.functions) with (this.ternaryOps) with (this.binaryOps) with (this.unaryOps) { return `+cm(this.simplify(t).tokens,!0)+`; }`);return function(){return r.apply(n,arguments)}};var pm=`TEOF`,mm=`TOP`,hm=`TNUMBER`,gm=`TSTRING`,_m=`TPAREN`,vm=`TBRACKET`,ym=`TCOMMA`,bm=`TNAME`,xm=`TSEMICOLON`;function Sm(e,t,n){this.type=e,this.value=t,this.index=n}Sm.prototype.toString=function(){return this.type+`: `+this.value};function Cm(e,t){this.pos=0,this.current=null,this.unaryOps=e.unaryOps,this.binaryOps=e.binaryOps,this.ternaryOps=e.ternaryOps,this.consts=e.consts,this.expression=t,this.savedPosition=0,this.savedCurrent=null,this.options=e.options,this.parser=e}Cm.prototype.newToken=function(e,t,n){return new Sm(e,t,n??this.pos)},Cm.prototype.save=function(){this.savedPosition=this.pos,this.savedCurrent=this.current},Cm.prototype.restore=function(){this.pos=this.savedPosition,this.current=this.savedCurrent},Cm.prototype.next=function(){if(this.pos>=this.expression.length)return this.newToken(pm,`EOF`);if(this.isWhitespace()||this.isComment())return this.next();if(this.isRadixInteger()||this.isNumber()||this.isOperator()||this.isString()||this.isParen()||this.isBracket()||this.isComma()||this.isSemicolon()||this.isNamedOp()||this.isConst()||this.isName())return this.current;this.parseError(`Unknown character "`+this.expression.charAt(this.pos)+`"`)},Cm.prototype.isString=function(){var e=!1,t=this.pos,n=this.expression.charAt(t);if(n===`'`||n===`"`)for(var r=this.expression.indexOf(n,t+1);r>=0&&this.pos<this.expression.length;){if(this.pos=r+1,this.expression.charAt(r-1)!==`\\`){var i=this.expression.substring(t+1,r);this.current=this.newToken(gm,this.unescape(i),t),e=!0;break}r=this.expression.indexOf(n,r+1)}return e},Cm.prototype.isParen=function(){var e=this.expression.charAt(this.pos);return e===`(`||e===`)`?(this.current=this.newToken(_m,e),this.pos++,!0):!1},Cm.prototype.isBracket=function(){var e=this.expression.charAt(this.pos);return(e===`[`||e===`]`)&&this.isOperatorEnabled(`[`)?(this.current=this.newToken(vm,e),this.pos++,!0):!1},Cm.prototype.isComma=function(){return this.expression.charAt(this.pos)===`,`?(this.current=this.newToken(ym,`,`),this.pos++,!0):!1},Cm.prototype.isSemicolon=function(){return this.expression.charAt(this.pos)===`;`?(this.current=this.newToken(xm,`;`),this.pos++,!0):!1},Cm.prototype.isConst=function(){for(var e=this.pos,t=e;t<this.expression.length;t++){var n=this.expression.charAt(t);if(n.toUpperCase()===n.toLowerCase()&&(t===this.pos||n!==`_`&&n!==`.`&&(n<`0`||n>`9`)))break}if(t>e){var r=this.expression.substring(e,t);if(r in this.consts)return this.current=this.newToken(hm,this.consts[r]),this.pos+=r.length,!0}return!1},Cm.prototype.isNamedOp=function(){for(var e=this.pos,t=e;t<this.expression.length;t++){var n=this.expression.charAt(t);if(n.toUpperCase()===n.toLowerCase()&&(t===this.pos||n!==`_`&&(n<`0`||n>`9`)))break}if(t>e){var r=this.expression.substring(e,t);if(this.isOperatorEnabled(r)&&(r in this.binaryOps||r in this.unaryOps||r in this.ternaryOps))return this.current=this.newToken(mm,r),this.pos+=r.length,!0}return!1},Cm.prototype.isName=function(){for(var e=this.pos,t=e,n=!1;t<this.expression.length;t++){var r=this.expression.charAt(t);if(r.toUpperCase()===r.toLowerCase()){if(t===this.pos&&(r===`$`||r===`_`)){r===`_`&&(n=!0);continue}else if(t===this.pos||!n||r!==`_`&&(r<`0`||r>`9`))break}else n=!0}if(n){var i=this.expression.substring(e,t);return this.current=this.newToken(bm,i),this.pos+=i.length,!0}return!1},Cm.prototype.isWhitespace=function(){for(var e=!1,t=this.expression.charAt(this.pos);(t===` `||t===` `||t===`
|
|
23
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let t of this.seen.entries()){let r=t[1];if(e===t[0]){a(t);continue}if(n.external){let r=n.external.registry.get(t[0])?.id;if(e!==t[0]&&r){a(t);continue}}if(this.metadataRegistry.get(t[0])?.id){a(t);continue}if(r.cycle){a(t);continue}if(r.count>1&&n.reused===`ref`){a(t);continue}}let o=(e,t)=>{let n=this.seen.get(e),r=n.def??n.schema,i={...r};if(n.ref===null)return;let a=n.ref;if(n.ref=null,a){o(a,t);let e=this.seen.get(a).schema;e.$ref&&(t.target===`draft-7`||t.target===`draft-4`||t.target===`openapi-3.0`)?(r.allOf=r.allOf??[],r.allOf.push(e)):(Object.assign(r,e),Object.assign(r,i))}n.isParent||this.override({zodSchema:e,jsonSchema:r,path:n.path??[]})};for(let e of[...this.seen.entries()].reverse())o(e[0],{target:this.target});let s={};if(this.target===`draft-2020-12`?s.$schema=`https://json-schema.org/draft/2020-12/schema`:this.target===`draft-7`?s.$schema=`http://json-schema.org/draft-07/schema#`:this.target===`draft-4`?s.$schema=`http://json-schema.org/draft-04/schema#`:this.target===`openapi-3.0`||console.warn(`Invalid target: ${this.target}`),n.external?.uri){let t=n.external.registry.get(e)?.id;if(!t)throw Error("Schema is missing an `id` property");s.$id=n.external.uri(t)}Object.assign(s,r.def);let c=n.external?.defs??{};for(let e of this.seen.entries()){let t=e[1];t.def&&t.defId&&(c[t.defId]=t.def)}n.external||Object.keys(c).length>0&&(this.target===`draft-2020-12`?s.$defs=c:s.definitions=c);try{return JSON.parse(JSON.stringify(s))}catch{throw Error(`Error converting schema to JSON.`)}}};function dl(e,t){if(e instanceof as){let n=new ul(t),r={};for(let t of e._idmap.entries()){let[e,r]=t;n.process(r)}let i={},a={registry:e,uri:t?.uri,defs:r};for(let r of e._idmap.entries()){let[e,o]=r;i[e]=n.emit(o,{...t,external:a})}return Object.keys(r).length>0&&(i.__shared={[n.target===`draft-2020-12`?`$defs`:`definitions`]:r}),{schemas:i}}let n=new ul(t);return n.process(e),n.emit(e,t)}function fl(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;switch(r.type){case`string`:case`number`:case`bigint`:case`boolean`:case`date`:case`symbol`:case`undefined`:case`null`:case`any`:case`unknown`:case`never`:case`void`:case`literal`:case`enum`:case`nan`:case`file`:case`template_literal`:return!1;case`array`:return fl(r.element,n);case`object`:for(let e in r.shape)if(fl(r.shape[e],n))return!0;return!1;case`union`:for(let e of r.options)if(fl(e,n))return!0;return!1;case`intersection`:return fl(r.left,n)||fl(r.right,n);case`tuple`:for(let e of r.items)if(fl(e,n))return!0;return!!(r.rest&&fl(r.rest,n));case`record`:return fl(r.keyType,n)||fl(r.valueType,n);case`map`:return fl(r.keyType,n)||fl(r.valueType,n);case`set`:return fl(r.valueType,n);case`promise`:case`optional`:case`nonoptional`:case`nullable`:case`readonly`:return fl(r.innerType,n);case`lazy`:return fl(r.getter(),n);case`default`:return fl(r.innerType,n);case`prefault`:return fl(r.innerType,n);case`custom`:return!1;case`transform`:return!0;case`pipe`:return fl(r.in,n)||fl(r.out,n);case`success`:return!1;case`catch`:return!1;case`function`:return!1;default:}throw Error(`Unknown schema type: ${r.type}`)}var pl=e.r({}),ml=e.r({$ZodAny:()=>li,$ZodArray:()=>hi,$ZodAsyncError:()=>oe,$ZodBase64:()=>Jr,$ZodBase64URL:()=>Xr,$ZodBigInt:()=>ii,$ZodBigIntFormat:()=>ai,$ZodBoolean:()=>ri,$ZodCIDRv4:()=>Gr,$ZodCIDRv6:()=>Kr,$ZodCUID:()=>Pr,$ZodCUID2:()=>Fr,$ZodCatch:()=>qi,$ZodCheck:()=>er,$ZodCheckBigIntFormat:()=>or,$ZodCheckEndsWith:()=>yr,$ZodCheckGreaterThan:()=>rr,$ZodCheckIncludes:()=>_r,$ZodCheckLengthEquals:()=>fr,$ZodCheckLessThan:()=>nr,$ZodCheckLowerCase:()=>hr,$ZodCheckMaxLength:()=>ur,$ZodCheckMaxSize:()=>sr,$ZodCheckMimeType:()=>Sr,$ZodCheckMinLength:()=>dr,$ZodCheckMinSize:()=>cr,$ZodCheckMultipleOf:()=>ir,$ZodCheckNumberFormat:()=>ar,$ZodCheckOverwrite:()=>Cr,$ZodCheckProperty:()=>xr,$ZodCheckRegex:()=>mr,$ZodCheckSizeEquals:()=>lr,$ZodCheckStartsWith:()=>vr,$ZodCheckStringFormat:()=>pr,$ZodCheckUpperCase:()=>gr,$ZodCodec:()=>Zi,$ZodCustom:()=>oa,$ZodCustomStringFormat:()=>ei,$ZodDate:()=>pi,$ZodDefault:()=>Vi,$ZodDiscriminatedUnion:()=>Ci,$ZodE164:()=>Zr,$ZodEmail:()=>Ar,$ZodEmoji:()=>Mr,$ZodEncodeError:()=>se,$ZodEnum:()=>Pi,$ZodError:()=>pt,$ZodFile:()=>Ii,$ZodFunction:()=>ra,$ZodGUID:()=>Or,$ZodIPv4:()=>Ur,$ZodIPv6:()=>Wr,$ZodISODate:()=>Br,$ZodISODateTime:()=>zr,$ZodISODuration:()=>Hr,$ZodISOTime:()=>Vr,$ZodIntersection:()=>wi,$ZodJWT:()=>$r,$ZodKSUID:()=>Rr,$ZodLazy:()=>aa,$ZodLiteral:()=>Fi,$ZodMap:()=>Ai,$ZodNaN:()=>Ji,$ZodNanoID:()=>Nr,$ZodNever:()=>di,$ZodNonOptional:()=>Wi,$ZodNull:()=>ci,$ZodNullable:()=>Bi,$ZodNumber:()=>ti,$ZodNumberFormat:()=>ni,$ZodObject:()=>yi,$ZodObjectJIT:()=>bi,$ZodOptional:()=>zi,$ZodPipe:()=>Yi,$ZodPrefault:()=>Ui,$ZodPromise:()=>ia,$ZodReadonly:()=>ea,$ZodRealError:()=>mt,$ZodRecord:()=>ki,$ZodRegistry:()=>as,$ZodSet:()=>Mi,$ZodString:()=>Er,$ZodStringFormat:()=>Dr,$ZodSuccess:()=>Ki,$ZodSymbol:()=>oi,$ZodTemplateLiteral:()=>na,$ZodTransform:()=>Li,$ZodTuple:()=>Di,$ZodType:()=>I,$ZodULID:()=>Ir,$ZodURL:()=>jr,$ZodUUID:()=>kr,$ZodUndefined:()=>si,$ZodUnion:()=>Si,$ZodUnknown:()=>ui,$ZodVoid:()=>fi,$ZodXID:()=>Lr,$brand:()=>k,$constructor:()=>O,$input:()=>is,$output:()=>rs,Doc:()=>wr,JSONSchema:()=>pl,JSONSchemaGenerator:()=>ul,NEVER:()=>ae,TimePrecision:()=>Ms,_any:()=>$s,_array:()=>Pc,_base64:()=>Os,_base64url:()=>ks,_bigint:()=>Ks,_boolean:()=>Ws,_catch:()=>Qc,_check:()=>sl,_cidrv4:()=>Es,_cidrv6:()=>Ds,_coercedBigint:()=>qs,_coercedBoolean:()=>Gs,_coercedDate:()=>ic,_coercedNumber:()=>Rs,_coercedString:()=>ls,_cuid:()=>ys,_cuid2:()=>bs,_custom:()=>il,_date:()=>rc,_decode:()=>At,_decodeAsync:()=>Pt,_default:()=>Yc,_discriminatedUnion:()=>Ic,_e164:()=>As,_email:()=>us,_emoji:()=>_s,_encode:()=>Ot,_encodeAsync:()=>Mt,_endsWith:()=>Ec,_enum:()=>Hc,_file:()=>Gc,_float32:()=>Bs,_float64:()=>Vs,_gt:()=>cc,_gte:()=>lc,_guid:()=>ds,_includes:()=>wc,_int:()=>zs,_int32:()=>Hs,_int64:()=>Js,_intersection:()=>Lc,_ipv4:()=>ws,_ipv6:()=>Ts,_isoDate:()=>Ps,_isoDateTime:()=>Ns,_isoDuration:()=>Is,_isoTime:()=>Fs,_jwt:()=>js,_ksuid:()=>Cs,_lazy:()=>nl,_length:()=>bc,_literal:()=>Wc,_lowercase:()=>Sc,_lt:()=>oc,_lte:()=>sc,_map:()=>Bc,_max:()=>sc,_maxLength:()=>vc,_maxSize:()=>hc,_mime:()=>Oc,_min:()=>lc,_minLength:()=>yc,_minSize:()=>gc,_multipleOf:()=>mc,_nan:()=>ac,_nanoid:()=>vs,_nativeEnum:()=>Uc,_negative:()=>dc,_never:()=>tc,_nonnegative:()=>pc,_nonoptional:()=>Xc,_nonpositive:()=>fc,_normalize:()=>Ac,_null:()=>Qs,_nullable:()=>Jc,_number:()=>Ls,_optional:()=>qc,_overwrite:()=>kc,_parse:()=>bt,_parseAsync:()=>St,_pipe:()=>$c,_positive:()=>uc,_promise:()=>rl,_property:()=>Dc,_readonly:()=>el,_record:()=>zc,_refine:()=>al,_regex:()=>xc,_safeDecode:()=>Rt,_safeDecodeAsync:()=>Ht,_safeEncode:()=>It,_safeEncodeAsync:()=>Bt,_safeParse:()=>wt,_safeParseAsync:()=>Et,_set:()=>Vc,_size:()=>_c,_startsWith:()=>Tc,_string:()=>cs,_stringFormat:()=>ll,_stringbool:()=>cl,_success:()=>Zc,_superRefine:()=>ol,_symbol:()=>Xs,_templateLiteral:()=>tl,_toLowerCase:()=>Mc,_toUpperCase:()=>Nc,_transform:()=>Kc,_trim:()=>jc,_tuple:()=>Rc,_uint32:()=>Us,_uint64:()=>Ys,_ulid:()=>xs,_undefined:()=>Zs,_union:()=>Fc,_unknown:()=>ec,_uppercase:()=>Cc,_url:()=>gs,_uuid:()=>fs,_uuidv4:()=>ps,_uuidv6:()=>ms,_uuidv7:()=>hs,_void:()=>nc,_xid:()=>Ss,clone:()=>ze,config:()=>A,decode:()=>jt,decodeAsync:()=>Ft,encode:()=>kt,encodeAsync:()=>Nt,flattenError:()=>ht,formatError:()=>gt,globalConfig:()=>ce,globalRegistry:()=>ss,isValidBase64:()=>qr,isValidBase64URL:()=>Yr,isValidJWT:()=>Qr,locales:()=>ns,parse:()=>xt,parseAsync:()=>Ct,prettifyError:()=>yt,regexes:()=>Wt,registry:()=>os,safeDecode:()=>zt,safeDecodeAsync:()=>Ut,safeEncode:()=>Lt,safeEncodeAsync:()=>Vt,safeParse:()=>Tt,safeParseAsync:()=>Dt,toDotPath:()=>vt,toJSONSchema:()=>dl,treeifyError:()=>_t,util:()=>le,version:()=>Tr}),hl=e.r({ZodISODate:()=>vl,ZodISODateTime:()=>gl,ZodISODuration:()=>Sl,ZodISOTime:()=>bl,date:()=>yl,datetime:()=>_l,duration:()=>Cl,time:()=>xl}),gl=O(`ZodISODateTime`,(e,t)=>{zr.init(e,t),Vl.init(e,t)});function _l(e){return Ns(gl,e)}var vl=O(`ZodISODate`,(e,t)=>{Br.init(e,t),Vl.init(e,t)});function yl(e){return Ps(vl,e)}var bl=O(`ZodISOTime`,(e,t)=>{Vr.init(e,t),Vl.init(e,t)});function xl(e){return Fs(bl,e)}var Sl=O(`ZodISODuration`,(e,t)=>{Hr.init(e,t),Vl.init(e,t)});function Cl(e){return Is(Sl,e)}var wl=(e,t)=>{pt.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>gt(e,t)},flatten:{value:t=>ht(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,ge,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,ge,2)}},isEmpty:{get(){return e.issues.length===0}}})},Tl=O(`ZodError`,wl),El=O(`ZodError`,wl,{Parent:Error}),Dl=bt(El),Ol=St(El),kl=wt(El),Al=Et(El),jl=Ot(El),Ml=At(El),Nl=Mt(El),Pl=Pt(El),Fl=It(El),Il=Rt(El),Ll=Bt(El),Rl=Ht(El),L=O(`ZodType`,(e,t)=>(I.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(Ce(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]})),e.clone=(t,n)=>ze(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>Dl(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>kl(e,t,n),e.parseAsync=async(t,n)=>Ol(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Al(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>jl(e,t,n),e.decode=(t,n)=>Ml(e,t,n),e.encodeAsync=async(t,n)=>Nl(e,t,n),e.decodeAsync=async(t,n)=>Pl(e,t,n),e.safeEncode=(t,n)=>Fl(e,t,n),e.safeDecode=(t,n)=>Il(e,t,n),e.safeEncodeAsync=async(t,n)=>Ll(e,t,n),e.safeDecodeAsync=async(t,n)=>Rl(e,t,n),e.refine=(t,n)=>e.check(Cf(t,n)),e.superRefine=t=>e.check(wf(t)),e.overwrite=t=>e.check(kc(t)),e.optional=()=>Ud(e),e.nullable=()=>Gd(e),e.nullish=()=>Ud(Gd(e)),e.nonoptional=t=>Qd(e,t),e.array=()=>pd(e),e.or=t=>yd([e,t]),e.and=t=>Cd(e,t),e.transform=t=>sf(e,Vd(t)),e.default=t=>Jd(e,t),e.prefault=t=>Xd(e,t),e.catch=t=>nf(e,t),e.pipe=t=>sf(e,t),e.readonly=()=>df(e),e.describe=t=>{let n=e.clone();return ss.add(n,{description:t}),n},Object.defineProperty(e,"description",{get(){return ss.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return ss.get(e);let n=e.clone();return ss.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),zl=O(`_ZodString`,(e,t)=>{Er.init(e,t),L.init(e,t);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(xc(...t)),e.includes=(...t)=>e.check(wc(...t)),e.startsWith=(...t)=>e.check(Tc(...t)),e.endsWith=(...t)=>e.check(Ec(...t)),e.min=(...t)=>e.check(yc(...t)),e.max=(...t)=>e.check(vc(...t)),e.length=(...t)=>e.check(bc(...t)),e.nonempty=(...t)=>e.check(yc(1,...t)),e.lowercase=t=>e.check(Sc(t)),e.uppercase=t=>e.check(Cc(t)),e.trim=()=>e.check(jc()),e.normalize=(...t)=>e.check(Ac(...t)),e.toLowerCase=()=>e.check(Mc()),e.toUpperCase=()=>e.check(Nc())}),Bl=O(`ZodString`,(e,t)=>{Er.init(e,t),zl.init(e,t),e.email=t=>e.check(us(Hl,t)),e.url=t=>e.check(gs(Zl,t)),e.jwt=t=>e.check(js(Ou,t)),e.emoji=t=>e.check(_s(eu,t)),e.guid=t=>e.check(ds(Wl,t)),e.uuid=t=>e.check(fs(Kl,t)),e.uuidv4=t=>e.check(ps(Kl,t)),e.uuidv6=t=>e.check(ms(Kl,t)),e.uuidv7=t=>e.check(hs(Kl,t)),e.nanoid=t=>e.check(vs(nu,t)),e.guid=t=>e.check(ds(Wl,t)),e.cuid=t=>e.check(ys(iu,t)),e.cuid2=t=>e.check(bs(ou,t)),e.ulid=t=>e.check(xs(cu,t)),e.base64=t=>e.check(Os(Su,t)),e.base64url=t=>e.check(ks(wu,t)),e.xid=t=>e.check(Ss(uu,t)),e.ksuid=t=>e.check(Cs(fu,t)),e.ipv4=t=>e.check(ws(mu,t)),e.ipv6=t=>e.check(Ts(gu,t)),e.cidrv4=t=>e.check(Es(vu,t)),e.cidrv6=t=>e.check(Ds(bu,t)),e.e164=t=>e.check(As(Eu,t)),e.datetime=t=>e.check(_l(t)),e.date=t=>e.check(yl(t)),e.time=t=>e.check(xl(t)),e.duration=t=>e.check(Cl(t))});function R(e){return cs(Bl,e)}var Vl=O(`ZodStringFormat`,(e,t)=>{Dr.init(e,t),zl.init(e,t)}),Hl=O(`ZodEmail`,(e,t)=>{Ar.init(e,t),Vl.init(e,t)});function Ul(e){return us(Hl,e)}var Wl=O(`ZodGUID`,(e,t)=>{Or.init(e,t),Vl.init(e,t)});function Gl(e){return ds(Wl,e)}var Kl=O(`ZodUUID`,(e,t)=>{kr.init(e,t),Vl.init(e,t)});function ql(e){return fs(Kl,e)}function Jl(e){return ps(Kl,e)}function Yl(e){return ms(Kl,e)}function Xl(e){return hs(Kl,e)}var Zl=O(`ZodURL`,(e,t)=>{jr.init(e,t),Vl.init(e,t)});function Ql(e){return gs(Zl,e)}function $l(e){return gs(Zl,{protocol:/^https?$/,hostname:bn,...P(e)})}var eu=O(`ZodEmoji`,(e,t)=>{Mr.init(e,t),Vl.init(e,t)});function tu(e){return _s(eu,e)}var nu=O(`ZodNanoID`,(e,t)=>{Nr.init(e,t),Vl.init(e,t)});function ru(e){return vs(nu,e)}var iu=O(`ZodCUID`,(e,t)=>{Pr.init(e,t),Vl.init(e,t)});function au(e){return ys(iu,e)}var ou=O(`ZodCUID2`,(e,t)=>{Fr.init(e,t),Vl.init(e,t)});function su(e){return bs(ou,e)}var cu=O(`ZodULID`,(e,t)=>{Ir.init(e,t),Vl.init(e,t)});function lu(e){return xs(cu,e)}var uu=O(`ZodXID`,(e,t)=>{Lr.init(e,t),Vl.init(e,t)});function du(e){return Ss(uu,e)}var fu=O(`ZodKSUID`,(e,t)=>{Rr.init(e,t),Vl.init(e,t)});function pu(e){return Cs(fu,e)}var mu=O(`ZodIPv4`,(e,t)=>{Ur.init(e,t),Vl.init(e,t)});function hu(e){return ws(mu,e)}var gu=O(`ZodIPv6`,(e,t)=>{Wr.init(e,t),Vl.init(e,t)});function _u(e){return Ts(gu,e)}var vu=O(`ZodCIDRv4`,(e,t)=>{Gr.init(e,t),Vl.init(e,t)});function yu(e){return Es(vu,e)}var bu=O(`ZodCIDRv6`,(e,t)=>{Kr.init(e,t),Vl.init(e,t)});function xu(e){return Ds(bu,e)}var Su=O(`ZodBase64`,(e,t)=>{Jr.init(e,t),Vl.init(e,t)});function Cu(e){return Os(Su,e)}var wu=O(`ZodBase64URL`,(e,t)=>{Xr.init(e,t),Vl.init(e,t)});function Tu(e){return ks(wu,e)}var Eu=O(`ZodE164`,(e,t)=>{Zr.init(e,t),Vl.init(e,t)});function Du(e){return As(Eu,e)}var Ou=O(`ZodJWT`,(e,t)=>{$r.init(e,t),Vl.init(e,t)});function ku(e){return js(Ou,e)}var Au=O(`ZodCustomStringFormat`,(e,t)=>{ei.init(e,t),Vl.init(e,t)});function ju(e,t,n={}){return ll(Au,e,t,n)}function Mu(e){return ll(Au,`hostname`,yn,e)}function Nu(e){return ll(Au,`hex`,In,e)}function Pu(e,t){let n=`${e}_${t?.enc??`hex`}`,r=Wt[n];if(!r)throw Error(`Unrecognized hash format: ${n}`);return ll(Au,n,r,t)}var Fu=O(`ZodNumber`,(e,t)=>{ti.init(e,t),L.init(e,t),e.gt=(t,n)=>e.check(cc(t,n)),e.gte=(t,n)=>e.check(lc(t,n)),e.min=(t,n)=>e.check(lc(t,n)),e.lt=(t,n)=>e.check(oc(t,n)),e.lte=(t,n)=>e.check(sc(t,n)),e.max=(t,n)=>e.check(sc(t,n)),e.int=t=>e.check(Ru(t)),e.safe=t=>e.check(Ru(t)),e.positive=t=>e.check(cc(0,t)),e.nonnegative=t=>e.check(lc(0,t)),e.negative=t=>e.check(oc(0,t)),e.nonpositive=t=>e.check(sc(0,t)),e.multipleOf=(t,n)=>e.check(mc(t,n)),e.step=(t,n)=>e.check(mc(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function Iu(e){return Ls(Fu,e)}var Lu=O(`ZodNumberFormat`,(e,t)=>{ni.init(e,t),Fu.init(e,t)});function Ru(e){return zs(Lu,e)}function zu(e){return Bs(Lu,e)}function Bu(e){return Vs(Lu,e)}function Vu(e){return Hs(Lu,e)}function Hu(e){return Us(Lu,e)}var Uu=O(`ZodBoolean`,(e,t)=>{ri.init(e,t),L.init(e,t)});function Wu(e){return Ws(Uu,e)}var Gu=O(`ZodBigInt`,(e,t)=>{ii.init(e,t),L.init(e,t),e.gte=(t,n)=>e.check(lc(t,n)),e.min=(t,n)=>e.check(lc(t,n)),e.gt=(t,n)=>e.check(cc(t,n)),e.gte=(t,n)=>e.check(lc(t,n)),e.min=(t,n)=>e.check(lc(t,n)),e.lt=(t,n)=>e.check(oc(t,n)),e.lte=(t,n)=>e.check(sc(t,n)),e.max=(t,n)=>e.check(sc(t,n)),e.positive=t=>e.check(cc(BigInt(0),t)),e.negative=t=>e.check(oc(BigInt(0),t)),e.nonpositive=t=>e.check(sc(BigInt(0),t)),e.nonnegative=t=>e.check(lc(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(mc(t,n));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function Ku(e){return Ks(Gu,e)}var qu=O(`ZodBigIntFormat`,(e,t)=>{ai.init(e,t),Gu.init(e,t)});function Ju(e){return Js(qu,e)}function Yu(e){return Ys(qu,e)}var Xu=O(`ZodSymbol`,(e,t)=>{oi.init(e,t),L.init(e,t)});function Zu(e){return Xs(Xu,e)}var Qu=O(`ZodUndefined`,(e,t)=>{si.init(e,t),L.init(e,t)});function $u(e){return Zs(Qu,e)}var ed=O(`ZodNull`,(e,t)=>{ci.init(e,t),L.init(e,t)});function td(e){return Qs(ed,e)}var nd=O(`ZodAny`,(e,t)=>{li.init(e,t),L.init(e,t)});function rd(){return $s(nd)}var id=O(`ZodUnknown`,(e,t)=>{ui.init(e,t),L.init(e,t)});function ad(){return ec(id)}var od=O(`ZodNever`,(e,t)=>{di.init(e,t),L.init(e,t)});function sd(e){return tc(od,e)}var cd=O(`ZodVoid`,(e,t)=>{fi.init(e,t),L.init(e,t)});function ld(e){return nc(cd,e)}var ud=O(`ZodDate`,(e,t)=>{pi.init(e,t),L.init(e,t),e.min=(t,n)=>e.check(lc(t,n)),e.max=(t,n)=>e.check(sc(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function dd(e){return rc(ud,e)}var fd=O(`ZodArray`,(e,t)=>{hi.init(e,t),L.init(e,t),e.element=t.element,e.min=(t,n)=>e.check(yc(t,n)),e.nonempty=t=>e.check(yc(1,t)),e.max=(t,n)=>e.check(vc(t,n)),e.length=(t,n)=>e.check(bc(t,n)),e.unwrap=()=>e.element});function pd(e,t){return Pc(fd,e,t)}function md(e){let t=e._zod.def.shape;return Pd(Object.keys(t))}var hd=O(`ZodObject`,(e,t)=>{bi.init(e,t),L.init(e,t),N(e,`shape`,()=>t.shape),e.keyof=()=>Pd(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:ad()}),e.loose=()=>e.clone({...e._zod.def,catchall:ad()}),e.strict=()=>e.clone({...e._zod.def,catchall:sd()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>Ke(e,t),e.safeExtend=t=>qe(e,t),e.merge=t=>Je(e,t),e.pick=t=>We(e,t),e.omit=t=>Ge(e,t),e.partial=(...t)=>Ye(Hd,e,t[0]),e.required=(...t)=>Xe(Zd,e,t[0])});function gd(e,t){return new hd({type:`object`,shape:e??{},...P(t)})}function _d(e,t){return new hd({type:`object`,shape:e,catchall:sd(),...P(t)})}function z(e,t){return new hd({type:`object`,shape:e,catchall:ad(),...P(t)})}var vd=O(`ZodUnion`,(e,t)=>{Si.init(e,t),L.init(e,t),e.options=t.options});function yd(e,t){return new vd({type:`union`,options:e,...P(t)})}var bd=O(`ZodDiscriminatedUnion`,(e,t)=>{vd.init(e,t),Ci.init(e,t)});function xd(e,t,n){return new bd({type:`union`,options:t,discriminator:e,...P(n)})}var Sd=O(`ZodIntersection`,(e,t)=>{wi.init(e,t),L.init(e,t)});function Cd(e,t){return new Sd({type:`intersection`,left:e,right:t})}var wd=O(`ZodTuple`,(e,t)=>{Di.init(e,t),L.init(e,t),e.rest=t=>e.clone({...e._zod.def,rest:t})});function Td(e,t,n){let r=t instanceof I;return new wd({type:`tuple`,items:e,rest:r?t:null,...P(r?n:t)})}var Ed=O(`ZodRecord`,(e,t)=>{ki.init(e,t),L.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function Dd(e,t,n){return new Ed({type:`record`,keyType:e,valueType:t,...P(n)})}function Od(e,t,n){let r=ze(e);return r._zod.values=void 0,new Ed({type:`record`,keyType:r,valueType:t,...P(n)})}var kd=O(`ZodMap`,(e,t)=>{Ai.init(e,t),L.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function Ad(e,t,n){return new kd({type:`map`,keyType:e,valueType:t,...P(n)})}var jd=O(`ZodSet`,(e,t)=>{Mi.init(e,t),L.init(e,t),e.min=(...t)=>e.check(gc(...t)),e.nonempty=t=>e.check(gc(1,t)),e.max=(...t)=>e.check(hc(...t)),e.size=(...t)=>e.check(_c(...t))});function Md(e,t){return new jd({type:`set`,valueType:e,...P(t)})}var Nd=O(`ZodEnum`,(e,t)=>{Pi.init(e,t),L.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Nd({...t,checks:[],...P(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Nd({...t,checks:[],...P(r),entries:i})}});function Pd(e,t){return new Nd({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...P(t)})}function Fd(e,t){return new Nd({type:`enum`,entries:e,...P(t)})}var Id=O(`ZodLiteral`,(e,t)=>{Fi.init(e,t),L.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ld(e,t){return new Id({type:`literal`,values:Array.isArray(e)?e:[e],...P(t)})}var Rd=O(`ZodFile`,(e,t)=>{Ii.init(e,t),L.init(e,t),e.min=(t,n)=>e.check(gc(t,n)),e.max=(t,n)=>e.check(hc(t,n)),e.mime=(t,n)=>e.check(Oc(Array.isArray(t)?t:[t],n))});function zd(e){return Gc(Rd,e)}var Bd=O(`ZodTransform`,(e,t)=>{Li.init(e,t),L.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new se(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(rt(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(rt(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function Vd(e){return new Bd({type:`transform`,transform:e})}var Hd=O(`ZodOptional`,(e,t)=>{zi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Ud(e){return new Hd({type:`optional`,innerType:e})}var Wd=O(`ZodNullable`,(e,t)=>{Bi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Gd(e){return new Wd({type:`nullable`,innerType:e})}function Kd(e){return Ud(Gd(e))}var qd=O(`ZodDefault`,(e,t)=>{Vi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Jd(e,t){return new qd({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Ne(t)}})}var Yd=O(`ZodPrefault`,(e,t)=>{Ui.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Xd(e,t){return new Yd({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Ne(t)}})}var Zd=O(`ZodNonOptional`,(e,t)=>{Wi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Qd(e,t){return new Zd({type:`nonoptional`,innerType:e,...P(t)})}var $d=O(`ZodSuccess`,(e,t)=>{Ki.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ef(e){return new $d({type:`success`,innerType:e})}var tf=O(`ZodCatch`,(e,t)=>{qi.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function nf(e,t){return new tf({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var rf=O(`ZodNaN`,(e,t)=>{Ji.init(e,t),L.init(e,t)});function af(e){return ac(rf,e)}var of=O(`ZodPipe`,(e,t)=>{Yi.init(e,t),L.init(e,t),e.in=t.in,e.out=t.out});function sf(e,t){return new of({type:`pipe`,in:e,out:t})}var cf=O(`ZodCodec`,(e,t)=>{of.init(e,t),Zi.init(e,t)});function lf(e,t,n){return new cf({type:`pipe`,in:e,out:t,transform:n.decode,reverseTransform:n.encode})}var uf=O(`ZodReadonly`,(e,t)=>{ea.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function df(e){return new uf({type:`readonly`,innerType:e})}var ff=O(`ZodTemplateLiteral`,(e,t)=>{na.init(e,t),L.init(e,t)});function pf(e,t){return new ff({type:`template_literal`,parts:e,...P(t)})}var mf=O(`ZodLazy`,(e,t)=>{aa.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.getter()});function hf(e){return new mf({type:`lazy`,getter:e})}var gf=O(`ZodPromise`,(e,t)=>{ia.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});function _f(e){return new gf({type:`promise`,innerType:e})}var vf=O(`ZodFunction`,(e,t)=>{ra.init(e,t),L.init(e,t)});function yf(e){return new vf({type:`function`,input:Array.isArray(e?.input)?Td(e?.input):e?.input??pd(ad()),output:e?.output??ad()})}var bf=O(`ZodCustom`,(e,t)=>{oa.init(e,t),L.init(e,t)});function xf(e){let t=new er({check:`custom`});return t._zod.check=e,t}function Sf(e,t){return il(bf,e??(()=>!0),t)}function Cf(e,t={}){return al(bf,e,t)}function wf(e){return ol(e)}function Tf(e,t={error:`Input not instance of ${e.name}`}){let n=new bf({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...P(t)});return n._zod.bag.Class=e,n}var Ef=(...e)=>cl({Codec:cf,Boolean:Uu,String:Bl},...e);function Df(e){let t=hf(()=>yd([R(e),Iu(),Wu(),td(),pd(t),Dd(R(),t)]));return t}function Of(e,t){return sf(Vd(e),t)}var kf={invalid_type:`invalid_type`,too_big:`too_big`,too_small:`too_small`,invalid_format:`invalid_format`,not_multiple_of:`not_multiple_of`,unrecognized_keys:`unrecognized_keys`,invalid_union:`invalid_union`,invalid_key:`invalid_key`,invalid_element:`invalid_element`,invalid_value:`invalid_value`,custom:`custom`};function Af(e){A({customError:e})}function jf(){return A().customError}var Mf;Mf||={};var Nf=e.r({bigint:()=>Lf,boolean:()=>If,date:()=>Rf,number:()=>Ff,string:()=>Pf});function Pf(e){return ls(Bl,e)}function Ff(e){return Rs(Fu,e)}function If(e){return Gs(Uu,e)}function Lf(e){return qs(Gu,e)}function Rf(e){return ic(ud,e)}var zf=e.r({$brand:()=>k,$input:()=>is,$output:()=>rs,NEVER:()=>ae,TimePrecision:()=>Ms,ZodAny:()=>nd,ZodArray:()=>fd,ZodBase64:()=>Su,ZodBase64URL:()=>wu,ZodBigInt:()=>Gu,ZodBigIntFormat:()=>qu,ZodBoolean:()=>Uu,ZodCIDRv4:()=>vu,ZodCIDRv6:()=>bu,ZodCUID:()=>iu,ZodCUID2:()=>ou,ZodCatch:()=>tf,ZodCodec:()=>cf,ZodCustom:()=>bf,ZodCustomStringFormat:()=>Au,ZodDate:()=>ud,ZodDefault:()=>qd,ZodDiscriminatedUnion:()=>bd,ZodE164:()=>Eu,ZodEmail:()=>Hl,ZodEmoji:()=>eu,ZodEnum:()=>Nd,ZodError:()=>Tl,ZodFile:()=>Rd,ZodFirstPartyTypeKind:()=>Mf,ZodFunction:()=>vf,ZodGUID:()=>Wl,ZodIPv4:()=>mu,ZodIPv6:()=>gu,ZodISODate:()=>vl,ZodISODateTime:()=>gl,ZodISODuration:()=>Sl,ZodISOTime:()=>bl,ZodIntersection:()=>Sd,ZodIssueCode:()=>kf,ZodJWT:()=>Ou,ZodKSUID:()=>fu,ZodLazy:()=>mf,ZodLiteral:()=>Id,ZodMap:()=>kd,ZodNaN:()=>rf,ZodNanoID:()=>nu,ZodNever:()=>od,ZodNonOptional:()=>Zd,ZodNull:()=>ed,ZodNullable:()=>Wd,ZodNumber:()=>Fu,ZodNumberFormat:()=>Lu,ZodObject:()=>hd,ZodOptional:()=>Hd,ZodPipe:()=>of,ZodPrefault:()=>Yd,ZodPromise:()=>gf,ZodReadonly:()=>uf,ZodRealError:()=>El,ZodRecord:()=>Ed,ZodSet:()=>jd,ZodString:()=>Bl,ZodStringFormat:()=>Vl,ZodSuccess:()=>$d,ZodSymbol:()=>Xu,ZodTemplateLiteral:()=>ff,ZodTransform:()=>Bd,ZodTuple:()=>wd,ZodType:()=>L,ZodULID:()=>cu,ZodURL:()=>Zl,ZodUUID:()=>Kl,ZodUndefined:()=>Qu,ZodUnion:()=>vd,ZodUnknown:()=>id,ZodVoid:()=>cd,ZodXID:()=>uu,_ZodString:()=>zl,_default:()=>Jd,_function:()=>yf,any:()=>rd,array:()=>pd,base64:()=>Cu,base64url:()=>Tu,bigint:()=>Ku,boolean:()=>Wu,catch:()=>nf,check:()=>xf,cidrv4:()=>yu,cidrv6:()=>xu,clone:()=>ze,codec:()=>lf,coerce:()=>Nf,config:()=>A,core:()=>ml,cuid:()=>au,cuid2:()=>su,custom:()=>Sf,date:()=>dd,decode:()=>Ml,decodeAsync:()=>Pl,discriminatedUnion:()=>xd,e164:()=>Du,email:()=>Ul,emoji:()=>tu,encode:()=>jl,encodeAsync:()=>Nl,endsWith:()=>Ec,enum:()=>Pd,file:()=>zd,flattenError:()=>ht,float32:()=>zu,float64:()=>Bu,formatError:()=>gt,function:()=>yf,getErrorMap:()=>jf,globalRegistry:()=>ss,gt:()=>cc,gte:()=>lc,guid:()=>Gl,hash:()=>Pu,hex:()=>Nu,hostname:()=>Mu,httpUrl:()=>$l,includes:()=>wc,instanceof:()=>Tf,int:()=>Ru,int32:()=>Vu,int64:()=>Ju,intersection:()=>Cd,ipv4:()=>hu,ipv6:()=>_u,iso:()=>hl,json:()=>Df,jwt:()=>ku,keyof:()=>md,ksuid:()=>pu,lazy:()=>hf,length:()=>bc,literal:()=>Ld,locales:()=>ns,looseObject:()=>z,lowercase:()=>Sc,lt:()=>oc,lte:()=>sc,map:()=>Ad,maxLength:()=>vc,maxSize:()=>hc,mime:()=>Oc,minLength:()=>yc,minSize:()=>gc,multipleOf:()=>mc,nan:()=>af,nanoid:()=>ru,nativeEnum:()=>Fd,negative:()=>dc,never:()=>sd,nonnegative:()=>pc,nonoptional:()=>Qd,nonpositive:()=>fc,normalize:()=>Ac,null:()=>td,nullable:()=>Gd,nullish:()=>Kd,number:()=>Iu,object:()=>gd,optional:()=>Ud,overwrite:()=>kc,parse:()=>Dl,parseAsync:()=>Ol,partialRecord:()=>Od,pipe:()=>sf,positive:()=>uc,prefault:()=>Xd,preprocess:()=>Of,prettifyError:()=>yt,promise:()=>_f,property:()=>Dc,readonly:()=>df,record:()=>Dd,refine:()=>Cf,regex:()=>xc,regexes:()=>Wt,registry:()=>os,safeDecode:()=>Il,safeDecodeAsync:()=>Rl,safeEncode:()=>Fl,safeEncodeAsync:()=>Ll,safeParse:()=>kl,safeParseAsync:()=>Al,set:()=>Md,setErrorMap:()=>Af,size:()=>_c,startsWith:()=>Tc,strictObject:()=>_d,string:()=>R,stringFormat:()=>ju,stringbool:()=>Ef,success:()=>ef,superRefine:()=>wf,symbol:()=>Zu,templateLiteral:()=>pf,toJSONSchema:()=>dl,toLowerCase:()=>Mc,toUpperCase:()=>Nc,transform:()=>Vd,treeifyError:()=>_t,trim:()=>jc,tuple:()=>Td,uint32:()=>Hu,uint64:()=>Yu,ulid:()=>lu,undefined:()=>$u,union:()=>yd,unknown:()=>ad,uppercase:()=>Cc,url:()=>Ql,util:()=>le,uuid:()=>ql,uuidv4:()=>Jl,uuidv6:()=>Yl,uuidv7:()=>Xl,void:()=>ld,xid:()=>du});A(Ta());var Bf=zf,Vf=function(){function e(e){this.groups=[],this.each=!1,this.context=void 0,this.type=e.type,this.name=e.name,this.target=e.target,this.propertyName=e.propertyName,this.constraints=e?.constraints,this.constraintCls=e.constraintCls,this.validationTypeOptions=e.validationTypeOptions,e.validationOptions&&(this.message=e.validationOptions.message,this.groups=e.validationOptions.groups,this.always=e.validationOptions.always,this.each=e.validationOptions.each,this.context=e.validationOptions.context)}return e}(),Hf=function(){function e(){}return e.prototype.transform=function(e){var t=[];return Object.keys(e.properties).forEach(function(n){e.properties[n].forEach(function(r){var i={message:r.message,groups:r.groups,always:r.always,each:r.each},a={type:r.type,name:r.name,target:e.name,propertyName:n,constraints:r.constraints,validationTypeOptions:r.options,validationOptions:i};t.push(new Vf(a))})}),t},e}(),Uf=function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)},Wf=function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},Gf=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))};(function(){function e(){this.validationMetadatas=new Map,this.constraintMetadatas=new Map}return Object.defineProperty(e.prototype,"hasValidationMetaData",{get:function(){return!!this.validationMetadatas.size},enumerable:!1,configurable:!0}),e.prototype.addValidationSchema=function(e){var t=this;new Hf().transform(e).forEach(function(e){return t.addValidationMetadata(e)})},e.prototype.addValidationMetadata=function(e){var t=this.validationMetadatas.get(e.target);t?t.push(e):this.validationMetadatas.set(e.target,[e])},e.prototype.addConstraintMetadata=function(e){var t=this.constraintMetadatas.get(e.target);t?t.push(e):this.constraintMetadatas.set(e.target,[e])},e.prototype.groupByPropertyName=function(e){var t={};return e.forEach(function(e){t[e.propertyName]||(t[e.propertyName]=[]),t[e.propertyName].push(e)}),t},e.prototype.getTargetValidationMetadatas=function(e,t,n,r,i){var a,o,s=function(e){return e.always===void 0?e.groups&&e.groups.length?!1:n:e.always},c=function(e){return!!(r&&(!i||!i.length)&&e.groups&&e.groups.length)},l=(this.validationMetadatas.get(e)||[]).filter(function(n){return n.target!==e&&n.target!==t?!1:s(n)?!0:c(n)?!1:i&&i.length>0?n.groups&&!!n.groups.find(function(e){return i.indexOf(e)!==-1}):!0}),u=[];try{for(var d=Uf(this.validationMetadatas.entries()),f=d.next();!f.done;f=d.next()){var p=Wf(f.value,2),m=p[0],h=p[1];e.prototype instanceof m&&u.push.apply(u,Gf([],Wf(h),!1))}}catch(e){a={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(a)throw a.error}}var g=u.filter(function(t){return typeof t.target==`string`||t.target===e||t.target instanceof Function&&!(e.prototype instanceof t.target)?!1:s(t)?!0:c(t)?!1:i&&i.length>0?t.groups&&!!t.groups.find(function(e){return i.indexOf(e)!==-1}):!0}).filter(function(e){return!l.find(function(t){return t.propertyName===e.propertyName&&t.type===e.type})});return l.concat(g)},e.prototype.getTargetValidatorConstraints=function(e){return this.constraintMetadatas.get(e)||[]},e})();var Kf=function(){function e(){}return e.isValid=function(e){var t=this;return e!==`isValid`&&e!==`getMessage`&&Object.keys(this).map(function(e){return t[e]}).indexOf(e)!==-1},e.CUSTOM_VALIDATION=`customValidation`,e.NESTED_VALIDATION=`nestedValidation`,e.PROMISE_VALIDATION=`promiseValidation`,e.CONDITIONAL_VALIDATION=`conditionalValidation`,e.WHITELIST=`whitelistValidation`,e.IS_DEFINED=`isDefined`,e}(),qf=new(function(){function e(){this.instances=[]}return e.prototype.get=function(e){var t=this.instances.find(function(t){return t.type===e});return t||(t={type:e,object:new e},this.instances.push(t)),t.object},e}()),Jf,Yf;function Xf(e){if(Jf)try{var t=Jf.get(e);if(t||!Yf||!Yf.fallback)return t}catch(e){if(!Yf||!Yf.fallbackOnErrors)throw e}return qf.get(e)}(function(){function e(e,t,n){n===void 0&&(n=!1),this.target=e,this.name=t,this.async=n}return Object.defineProperty(e.prototype,"instance",{get:function(){return Xf(this.target)},enumerable:!1,configurable:!0}),e})(),Kf.IS_DEFINED;function Zf(e){return e!=null}var Qf=function(e){return e.MIN=`MIN`,e.MAX=`MAX`,e.AVG=`AVG`,e.SUM=`SUM`,e.COUNT=`COUNT`,e.COUNT_UNIQUE_VALUES=`COUNT_UNIQUE_VALUES`,e.COUNT_EMPTY=`COUNT_EMPTY`,e.COUNT_NOT_EMPTY=`COUNT_NOT_EMPTY`,e.COUNT_TRUE=`COUNT_TRUE`,e.COUNT_FALSE=`COUNT_FALSE`,e.PERCENTAGE_EMPTY=`PERCENTAGE_EMPTY`,e.PERCENTAGE_NOT_EMPTY=`PERCENTAGE_NOT_EMPTY`,e}({}),$f=function(e){return e.EMAIL=`EMAIL`,e.CALENDAR=`CALENDAR`,e.WORKFLOW=`WORKFLOW`,e.AGENT=`AGENT`,e.API=`API`,e.IMPORT=`IMPORT`,e.MANUAL=`MANUAL`,e.SYSTEM=`SYSTEM`,e.WEBHOOK=`WEBHOOK`,e.APPLICATION=`APPLICATION`,e}({}),ep={type:D.ACTOR,properties:[{name:`source`,type:D.SELECT,hidden:!1,isRequired:!0,options:Object.keys($f).map((e,t)=>({id:(0,o.v4)(),label:`${$f[e].toLowerCase()}`,value:e,position:t}))},{name:`workspaceMemberId`,type:D.UUID,hidden:`input`,isRequired:!1},{name:`name`,type:D.TEXT,hidden:`input`,isRequired:!0},{name:`context`,type:D.RAW_JSON,hidden:!1,isRequired:!1}]},tp={type:D.ADDRESS,properties:[{name:`addressStreet1`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressStreet2`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressCity`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressPostcode`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressState`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressCountry`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`addressLat`,type:D.NUMERIC,hidden:!1,isRequired:!1},{name:`addressLng`,type:D.NUMERIC,hidden:!1,isRequired:!1}]},np={type:D.CURRENCY,properties:[{name:`amountMicros`,type:D.NUMERIC,hidden:!1,isRequired:!1},{name:`currencyCode`,type:D.TEXT,hidden:!1,isRequired:!1}]},rp={type:D.EMAILS,properties:[{name:`primaryEmail`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`additionalEmails`,type:D.RAW_JSON,hidden:!1,isRequired:!1}]},ip={type:D.FULL_NAME,properties:[{name:`firstName`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!1},{name:`lastName`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!1}]},ap={type:D.LINKS,properties:[{name:`primaryLinkLabel`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`primaryLinkUrl`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`secondaryLinks`,type:D.RAW_JSON,hidden:!1,isRequired:!1}]},op={type:D.PHONES,properties:[{name:`primaryPhoneNumber`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`primaryPhoneCountryCode`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`primaryPhoneCallingCode`,type:D.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:`additionalPhones`,type:D.RAW_JSON,hidden:!1,isRequired:!1}]},sp={type:D.RICH_TEXT,properties:[{name:`blocknote`,type:D.TEXT,hidden:!1,isRequired:!1},{name:`markdown`,type:D.TEXT,hidden:!1,isRequired:!1}]};gd({blocknote:R().nullable().optional(),markdown:R().nullable()}),new Map([[D.LINKS,ap],[D.CURRENCY,np],[D.FULL_NAME,ip],[D.ADDRESS,tp],[D.ACTOR,ep],[D.EMAILS,rp],[D.PHONES,op],[D.RICH_TEXT,sp]]);var cp={UUID:`uuid`,NOW:`now`};D.RELATION,D.MORPH_RELATION,D.FILES,D.TS_VECTOR;var lp=function(e){return e.COPY=`COPY`,e.OPEN_LINK=`OPEN_LINK`,e.OPEN_IN_APP=`OPEN_IN_APP`,e}({}),up=function(e){return e.FLOAT=`float`,e.INT=`int`,e.BIGINT=`bigint`,e}({}),dp=function(e){return e.RELATIVE=`RELATIVE`,e.USER_SETTINGS=`USER_SETTINGS`,e.CUSTOM=`CUSTOM`,e}({}),fp=function(e){return e.CorePicture=`core-picture`,e.AgentChat=`agent-chat`,e.BuiltLogicFunction=`built-logic-function`,e.BuiltFrontComponent=`built-front-component`,e.PublicAsset=`public-asset`,e.Source=`source`,e.FilesField=`files-field`,e.Dependencies=`dependencies`,e.Workflow=`workflow`,e.EmailAttachment=`email-attachment`,e.EmailImage=`email-image`,e.AppTarball=`app-tarball`,e.GeneratedSdkClient=`generated-sdk-client`,e.Dpa=`dpa`,e}({}),pp=function(e){return e.MONDAY=`MONDAY`,e.SUNDAY=`SUNDAY`,e.SATURDAY=`SATURDAY`,e}({}),mp=function(e){return e.GET=`GET`,e.POST=`POST`,e.PUT=`PUT`,e.PATCH=`PATCH`,e.DELETE=`DELETE`,e}({}),hp=function(e){return e.VIEW=`VIEW`,e.FOLDER=`FOLDER`,e.LINK=`LINK`,e.OBJECT=`OBJECT`,e.RECORD=`RECORD`,e.PAGE_LAYOUT=`PAGE_LAYOUT`,e}({}),gp=function(e){return e.SIDE_PANEL=`SIDE_PANEL`,e.RECORD_PAGE=`RECORD_PAGE`,e.USER_CHOICE=`USER_CHOICE`,e}({}),_p=function(e){return e.DAY=`DAY`,e.MONTH=`MONTH`,e.QUARTER=`QUARTER`,e.YEAR=`YEAR`,e.WEEK=`WEEK`,e.DAY_OF_THE_WEEK=`DAY_OF_THE_WEEK`,e.MONTH_OF_THE_YEAR=`MONTH_OF_THE_YEAR`,e.QUARTER_OF_THE_YEAR=`QUARTER_OF_THE_YEAR`,e.NONE=`NONE`,e}({}),vp=[`AGGREGATE_CHART`,`PIE_CHART`,`BAR_CHART`,`LINE_CHART`],yp=function(e){return e.GRID=`GRID`,e.VERTICAL_LIST=`VERTICAL_LIST`,e.CANVAS=`CANVAS`,e}({}),bp=function(e){return e.RECORD_INDEX=`RECORD_INDEX`,e.RECORD_PAGE=`RECORD_PAGE`,e.DASHBOARD=`DASHBOARD`,e.STANDALONE_PAGE=`STANDALONE_PAGE`,e}({}),xp=function(e){return e.AND=`AND`,e.OR=`OR`,e}({}),Sp=function(e){return e.CASCADE=`CASCADE`,e.RESTRICT=`RESTRICT`,e.SET_NULL=`SET_NULL`,e.NO_ACTION=`NO_ACTION`,e}({}),Cp=function(e){return e.MANY_TO_ONE=`MANY_TO_ONE`,e.ONE_TO_MANY=`ONE_TO_MANY`,e}({}),wp=function(e){return e.AND=`AND`,e.OR=`OR`,e}({}),Tp=function(e){return e.IS=`IS`,e.IS_NOT_NULL=`IS_NOT_NULL`,e.IS_NOT=`IS_NOT`,e.LESS_THAN_OR_EQUAL=`LESS_THAN_OR_EQUAL`,e.GREATER_THAN_OR_EQUAL=`GREATER_THAN_OR_EQUAL`,e.IS_BEFORE=`IS_BEFORE`,e.IS_AFTER=`IS_AFTER`,e.CONTAINS=`CONTAINS`,e.DOES_NOT_CONTAIN=`DOES_NOT_CONTAIN`,e.IS_EMPTY=`IS_EMPTY`,e.IS_NOT_EMPTY=`IS_NOT_EMPTY`,e.IS_RELATIVE=`IS_RELATIVE`,e.IS_IN_PAST=`IS_IN_PAST`,e.IS_IN_FUTURE=`IS_IN_FUTURE`,e.IS_TODAY=`IS_TODAY`,e.VECTOR_SEARCH=`VECTOR_SEARCH`,e}({}),Ep=function(e){return e.DAY=`DAY`,e.WEEK=`WEEK`,e.MONTH=`MONTH`,e}({}),Dp=function(e){return e.AND=`AND`,e.OR=`OR`,e.NOT=`NOT`,e}({}),B=function(e){return e.IS=`IS`,e.IS_NOT_NULL=`IS_NOT_NULL`,e.IS_NOT=`IS_NOT`,e.LESS_THAN_OR_EQUAL=`LESS_THAN_OR_EQUAL`,e.GREATER_THAN_OR_EQUAL=`GREATER_THAN_OR_EQUAL`,e.IS_BEFORE=`IS_BEFORE`,e.IS_AFTER=`IS_AFTER`,e.CONTAINS=`CONTAINS`,e.DOES_NOT_CONTAIN=`DOES_NOT_CONTAIN`,e.IS_EMPTY=`IS_EMPTY`,e.IS_NOT_EMPTY=`IS_NOT_EMPTY`,e.IS_RELATIVE=`IS_RELATIVE`,e.IS_IN_PAST=`IS_IN_PAST`,e.IS_IN_FUTURE=`IS_IN_FUTURE`,e.IS_TODAY=`IS_TODAY`,e.VECTOR_SEARCH=`VECTOR_SEARCH`,e}({}),Op=function(e){return e.Is=`is`,e.IsNotNull=`isNotNull`,e.IsNot=`isNot`,e.LessThanOrEqual=`lessThan`,e.GreaterThanOrEqual=`greaterThan`,e.IsBefore=`isBefore`,e.IsAfter=`isAfter`,e.Contains=`contains`,e.DoesNotContain=`doesNotContain`,e.IsEmpty=`isEmpty`,e.IsNotEmpty=`isNotEmpty`,e.IsRelative=`isRelative`,e.IsInPast=`isInPast`,e.IsInFuture=`isInFuture`,e.IsToday=`isToday`,e}({}),kp=function(e){return e.INDEX=`INDEX`,e}({}),Ap=function(e){return e.SIDE_PANEL=`SIDE_PANEL`,e.RECORD_PAGE=`RECORD_PAGE`,e}({}),jp=function(e){return e.ASC=`ASC`,e.DESC=`DESC`,e}({}),Mp=function(e){return e.TABLE=`TABLE`,e.KANBAN=`KANBAN`,e.CALENDAR=`CALENDAR`,e.LIST=`LIST`,e.FIELDS_WIDGET=`FIELDS_WIDGET`,e.TABLE_WIDGET=`TABLE_WIDGET`,e.KANBAN_WIDGET=`KANBAN_WIDGET`,e.LIST_WIDGET=`LIST_WIDGET`,e.CALENDAR_WIDGET=`CALENDAR_WIDGET`,e}({}),Np=function(e){return e.WORKSPACE=`WORKSPACE`,e.UNLISTED=`UNLISTED`,e}({}),Pp={[D.CURRENCY]:{amountMicros:`amountMicros`,currencyCode:`currencyCode`},[D.EMAILS]:{primaryEmail:`primaryEmail`,additionalEmails:`additionalEmails`},[D.LINKS]:{primaryLinkUrl:`primaryLinkUrl`,primaryLinkLabel:`primaryLinkLabel`,secondaryLinks:`secondaryLinks`},[D.PHONES]:{primaryPhoneCallingCode:`primaryPhoneCallingCode`,primaryPhoneCountryCode:`primaryPhoneCountryCode`,primaryPhoneNumber:`primaryPhoneNumber`,additionalPhones:`additionalPhones`},[D.FULL_NAME]:{firstName:`firstName`,lastName:`lastName`},[D.ADDRESS]:{addressStreet1:`addressStreet1`,addressStreet2:`addressStreet2`,addressCity:`addressCity`,addressState:`addressState`,addressCountry:`addressCountry`,addressPostcode:`addressPostcode`,addressLat:`addressLat`,addressLng:`addressLng`},[D.ACTOR]:{source:`source`,name:`name`,workspaceMemberId:`workspaceMemberId`,context:`context`},[D.RICH_TEXT]:{blocknote:`blocknote`,markdown:`markdown`}},Fp={AED:{label:`UAE dirham`},AFN:{label:`Afghan afghani`},ALL:{label:`Albanian lek`},AMD:{label:`Armenian dram`},ANG:{label:`Netherlands Antillean guilder`},AOA:{label:`Angolan kwanza`},ARS:{label:`Argentine peso`},AUD:{label:`Australian dollar`},AWG:{label:`Aruban florin`},AZN:{label:`Azerbaijani manat`},BAM:{label:`Bosnia and Herzegovina mark`},BBD:{label:`Barbados dollar`},BDT:{label:`Bangladeshi taka`},BGN:{label:`Bulgarian lev`},BHD:{label:`Bahraini dinar`},BIF:{label:`Burundian franc`},BMD:{label:`Bermudian dollar`},BND:{label:`Brunei dollar`},BOB:{label:`Boliviano`},BRL:{label:`Brazilian real`},BSD:{label:`Bahamian dollar`},BTN:{label:`Bhutanese ngultrum`},BWP:{label:`Botswana pula`},BYN:{label:`Belarusian ruble`},BZD:{label:`Belize dollar`},CAD:{label:`Canadian dollar`},CDF:{label:`Congolese franc`},CHF:{label:`Swiss franc`},CLP:{label:`Chilean peso`},CLF:{label:`Unidad de Fomento`},CNY:{label:`Chinese yuan`},COP:{label:`Colombian peso`},CRC:{label:`Costa Rican colon`},CUP:{label:`Cuban peso`},CVE:{label:`Cape Verdean escudo`},CZK:{label:`Czech koruna`},DJF:{label:`Djiboutian franc`},DKK:{label:`Danish krone`},DOP:{label:`Dominican peso`},DZD:{label:`Algerian Dinar`},EGP:{label:`Egyptian pound`},ERN:{label:`Eritrean nakfa`},ETB:{label:`Ethiopian birr`},EUR:{label:`Euro`},FJD:{label:`Fiji dollar`},FKP:{label:`Falkland Islands pound`},GBP:{label:`British pound`},GEL:{label:`Georgian lari`},GHS:{label:`Ghanaian cedi`},GIP:{label:`Gibraltar pound`},GMD:{label:`Gambian dalasi`},GNF:{label:`Guinean franc`},GTQ:{label:`Guatemalan quetzal`},GYD:{label:`Guyanese dollar`},HKD:{label:`Hong Kong dollar`},HNL:{label:`Honduran lempira`},HTG:{label:`Haitian gourde`},HUF:{label:`Hungarian forint`},IDR:{label:`Indonesian rupiah`},ILS:{label:`Israeli shekel`},INR:{label:`Indian rupee`},IQD:{label:`Iraqi dinar`},IRR:{label:`Iranian rial`},ISK:{label:`Icelandic króna`},JMD:{label:`Jamaican dollar`},JOD:{label:`Jordanian dinar`},JPY:{label:`Japanese yen`},KES:{label:`Kenyan shilling`},KGS:{label:`Kyrgyzstani som`},KHR:{label:`Cambodian riel`},KMF:{label:`Comoro franc`},KPW:{label:`North Korean won`},KRW:{label:`South Korean won`},KWD:{label:`Kuwaiti dinar`},KYD:{label:`Cayman Islands dollar`},KZT:{label:`Kazakhstani tenge`},LAK:{label:`Lao kip`},LBP:{label:`Lebanese pound`},LKR:{label:`Sri Lankan rupee`},LRD:{label:`Liberian dollar`},LSL:{label:`Lesotho loti`},LYD:{label:`Libyan dinar`},MAD:{label:`Moroccan dirham`},MDL:{label:`Moldovan leu`},MGA:{label:`Malagasy ariary`},MKD:{label:`Macedonian denar`},MMK:{label:`Myanmar kyat`},MNT:{label:`Mongolian tögrög`},MOP:{label:`Macanese pataca`},MRU:{label:`Mauritanian ouguiya`},MUR:{label:`Mauritian rupee`},MVR:{label:`Maldivian rufiyaa`},MWK:{label:`Malawian kwacha`},MXN:{label:`Mexican peso`},MYR:{label:`Malaysian ringgit`},MZN:{label:`Mozambican metical`},NAD:{label:`Namibian dollar`},NGN:{label:`Nigerian naira`},NIO:{label:`Nicaraguan córdoba`},NOK:{label:`Norwegian krone`},NPR:{label:`Nepalese rupee`},NZD:{label:`New Zealand dollar`},OMR:{label:`Omani rial`},PAB:{label:`Panamanian balboa`},PEN:{label:`Peruvian sol`},PGK:{label:`Papua New Guinean kina`},PHP:{label:`Philippine peso`},PKR:{label:`Pakistani rupee`},PLN:{label:`Polish złoty`},PYG:{label:`Paraguayan guaraní`},QAR:{label:`Qatari riyal`},RON:{label:`Romanian leu`},RSD:{label:`Serbian dinar`},RUB:{label:`Russian ruble`},RWF:{label:`Rwandan franc`},SAR:{label:`Saudi riyal`},SBD:{label:`Solomon Islands dollar`},SCR:{label:`Seychelles rupee`},SDG:{label:`Sudanese pound`},SEK:{label:`Swedish krona`},SGD:{label:`Singapore dollar`},SHP:{label:`Saint Helena pound`},SLE:{label:`Sierra Leonean leone`},SOS:{label:`Somalian shilling`},SRD:{label:`Surinamese dollar`},SSP:{label:`South Sudanese pound`},STN:{label:`São Tomé and Príncipe dobra`},SVC:{label:`Salvadoran colón`},SYP:{label:`Syrian pound`},SZL:{label:`Swazi lilangeni`},THB:{label:`Thai Baht`},TJS:{label:`Tajikistani somoni`},TMT:{label:`Turkmenistan manat`},TND:{label:`Tunisian dinar`},TOP:{label:`Tongan paʻanga`},TRY:{label:`Turkish lira`},TTD:{label:`Trinidad and Tobago dollar`},TWD:{label:`Taiwanese dollar`},TZS:{label:`Tanzanian shilling`},UAH:{label:`Ukrainian hryvnia`},UGX:{label:`Ugandan shilling`},USD:{label:`United States dollar`},UYU:{label:`Uruguayan peso`},UZS:{label:`Uzbekistani sum`},VES:{label:`Venezuelan bolívar`},VND:{label:`Vietnamese đồng`},VUV:{label:`Vanuatu vatu`},WST:{label:`Samoan tala`},XOF:{label:`West African CFA franc`},XCD:{label:`East Caribbean dollar`},YER:{label:`Yemeni rial`},ZAR:{label:`South African rand`},ZMW:{label:`Zambian kwacha`},ZWG:{label:`Zimbabwe Gold`}};({DEVELOPERS_CONTRIBUTE_CAPABILITIES_LOCAL_SETUP:`/developers/contribute/capabilities/local-setup`,DEVELOPERS_CONTRIBUTE_COMMANDS:`/developers/contribute/commands`,DEVELOPERS_CONTRIBUTE_STYLE_GUIDE:`/developers/contribute/style-guide`,DEVELOPERS_EXTEND_API:`/developers/extend/api`,DEVELOPERS_EXTEND_APPS_CONFIG_APPLICATION:`/developers/extend/apps/config/application`,DEVELOPERS_EXTEND_APPS_CONFIG_INSTALL_HOOKS:`/developers/extend/apps/config/install-hooks`,DEVELOPERS_EXTEND_APPS_CONFIG_OVERVIEW:`/developers/extend/apps/config/overview`,DEVELOPERS_EXTEND_APPS_CONFIG_PUBLIC_ASSETS:`/developers/extend/apps/config/public-assets`,DEVELOPERS_EXTEND_APPS_CONFIG_ROLES:`/developers/extend/apps/config/roles`,DEVELOPERS_EXTEND_APPS_DATA_EXTENDING_OBJECTS:`/developers/extend/apps/data/extending-objects`,DEVELOPERS_EXTEND_APPS_DATA_OBJECTS:`/developers/extend/apps/data/objects`,DEVELOPERS_EXTEND_APPS_DATA_OVERVIEW:`/developers/extend/apps/data/overview`,DEVELOPERS_EXTEND_APPS_DATA_RELATIONS:`/developers/extend/apps/data/relations`,DEVELOPERS_EXTEND_APPS_DATA_SYSTEM_FIELDS:`/developers/extend/apps/data/system-fields`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_CONCEPTS:`/developers/extend/apps/getting-started/concepts`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_LOCAL_SERVER:`/developers/extend/apps/getting-started/local-server`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_PROJECT_STRUCTURE:`/developers/extend/apps/getting-started/project-structure`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_QUICK_START:`/developers/extend/apps/getting-started/quick-start`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_SCAFFOLDING:`/developers/extend/apps/getting-started/scaffolding`,DEVELOPERS_EXTEND_APPS_GETTING_STARTED_TROUBLESHOOTING:`/developers/extend/apps/getting-started/troubleshooting`,DEVELOPERS_EXTEND_APPS_LAYOUT_COMMAND_MENU_ITEMS:`/developers/extend/apps/layout/command-menu-items`,DEVELOPERS_EXTEND_APPS_LAYOUT_FRONT_COMPONENTS:`/developers/extend/apps/layout/front-components`,DEVELOPERS_EXTEND_APPS_LAYOUT_NAVIGATION_MENU_ITEMS:`/developers/extend/apps/layout/navigation-menu-items`,DEVELOPERS_EXTEND_APPS_LAYOUT_OVERVIEW:`/developers/extend/apps/layout/overview`,DEVELOPERS_EXTEND_APPS_LAYOUT_PAGE_LAYOUTS:`/developers/extend/apps/layout/page-layouts`,DEVELOPERS_EXTEND_APPS_LAYOUT_VIEWS:`/developers/extend/apps/layout/views`,DEVELOPERS_EXTEND_APPS_LOGIC_BACKGROUND_JOBS:`/developers/extend/apps/logic/background-jobs`,DEVELOPERS_EXTEND_APPS_LOGIC_CONNECTIONS:`/developers/extend/apps/logic/connections`,DEVELOPERS_EXTEND_APPS_LOGIC_KEY_VALUE_STORE:`/developers/extend/apps/logic/key-value-store`,DEVELOPERS_EXTEND_APPS_LOGIC_LOGIC_FUNCTIONS:`/developers/extend/apps/logic/logic-functions`,DEVELOPERS_EXTEND_APPS_LOGIC_OVERVIEW:`/developers/extend/apps/logic/overview`,DEVELOPERS_EXTEND_APPS_LOGIC_SKILLS_AND_AGENTS:`/developers/extend/apps/logic/skills-and-agents`,DEVELOPERS_EXTEND_APPS_OPERATIONS_CLI:`/developers/extend/apps/operations/cli`,DEVELOPERS_EXTEND_APPS_OPERATIONS_OVERVIEW:`/developers/extend/apps/operations/overview`,DEVELOPERS_EXTEND_APPS_OPERATIONS_PUBLISHING:`/developers/extend/apps/operations/publishing`,DEVELOPERS_EXTEND_APPS_OPERATIONS_SYNC_AND_RECOVERY:`/developers/extend/apps/operations/sync-and-recovery`,DEVELOPERS_EXTEND_APPS_OPERATIONS_TESTING:`/developers/extend/apps/operations/testing`,DEVELOPERS_EXTEND_APPS_TRANSLATIONS_OVERVIEW:`/developers/extend/apps/translations/overview`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_AI_AGENT:`/developers/extend/apps/tutorials/document-generator/ai-agent`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_BUILDING_THE_UI:`/developers/extend/apps/tutorials/document-generator/building-the-ui`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_DATA_MODEL:`/developers/extend/apps/tutorials/document-generator/data-model`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_GENERATING_DOCUMENTS:`/developers/extend/apps/tutorials/document-generator/generating-documents`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_HTTP_ROUTES:`/developers/extend/apps/tutorials/document-generator/http-routes`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_OVERVIEW:`/developers/extend/apps/tutorials/document-generator/overview`,DEVELOPERS_EXTEND_APPS_TUTORIALS_DOCUMENT_GENERATOR_PUBLISHING:`/developers/extend/apps/tutorials/document-generator/publishing`,DEVELOPERS_EXTEND_OAUTH:`/developers/extend/oauth`,DEVELOPERS_EXTEND_WEBHOOKS:`/developers/extend/webhooks`,DEVELOPERS_INTRODUCTION:`/developers/introduction`,DEVELOPERS_SELF_HOST_CAPABILITIES_DOCKER_COMPOSE:`/developers/self-host/capabilities/docker-compose`,DEVELOPERS_SELF_HOST_CAPABILITIES_SETUP:`/developers/self-host/capabilities/setup`,DEVELOPERS_SELF_HOST_CAPABILITIES_TROUBLESHOOTING:`/developers/self-host/capabilities/troubleshooting`,DEVELOPERS_SELF_HOST_CAPABILITIES_UPGRADE_GUIDE:`/developers/self-host/capabilities/upgrade-guide`,GETTING_STARTED_CORE_CONCEPTS_AI:`/getting-started/core-concepts/ai`,GETTING_STARTED_CORE_CONCEPTS_APPS:`/getting-started/core-concepts/apps`,GETTING_STARTED_CORE_CONCEPTS_CALENDAR_AND_EMAIL:`/getting-started/core-concepts/calendar-and-email`,GETTING_STARTED_CORE_CONCEPTS_DASHBOARDS:`/getting-started/core-concepts/dashboards`,GETTING_STARTED_CORE_CONCEPTS_DATA_MODEL:`/getting-started/core-concepts/data-model`,GETTING_STARTED_CORE_CONCEPTS_GLOSSARY:`/getting-started/core-concepts/glossary`,GETTING_STARTED_CORE_CONCEPTS_LAYOUT:`/getting-started/core-concepts/layout`,GETTING_STARTED_CORE_CONCEPTS_WORKFLOWS:`/getting-started/core-concepts/workflows`,GETTING_STARTED_INTRODUCTION:`/getting-started/introduction`,GETTING_STARTED_KEY_FEATURES:`/getting-started/key-features`,GETTING_STARTED_QUICKSTART:`/getting-started/quickstart`,USER_GUIDE_AI_CAPABILITIES_AI_AGENTS:`/user-guide/ai/capabilities/ai-agents`,USER_GUIDE_AI_CAPABILITIES_AI_CHATBOT:`/user-guide/ai/capabilities/ai-chatbot`,USER_GUIDE_AI_CAPABILITIES_PERMISSIONS_ACCESS_CONTROL:`/user-guide/ai/capabilities/permissions-access-control`,USER_GUIDE_AI_HOW_TOS_AI_FAQ:`/user-guide/ai/how-tos/ai-faq`,USER_GUIDE_AI_OVERVIEW:`/user-guide/ai/overview`,USER_GUIDE_BILLING_CAPABILITIES_CREDITS:`/user-guide/billing/capabilities/credits`,USER_GUIDE_BILLING_CAPABILITIES_PRICING_PLANS:`/user-guide/billing/capabilities/pricing-plans`,USER_GUIDE_BILLING_HOW_TOS_BILLING_FAQ:`/user-guide/billing/how-tos/billing-faq`,USER_GUIDE_BILLING_OVERVIEW:`/user-guide/billing/overview`,USER_GUIDE_CALENDAR_EMAILS_CAPABILITIES_CALENDAR:`/user-guide/calendar-emails/capabilities/calendar`,USER_GUIDE_CALENDAR_EMAILS_CAPABILITIES_MAILBOX:`/user-guide/calendar-emails/capabilities/mailbox`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CAN_I_BOOK_MEETINGS_FROM_TWENTY:`/user-guide/calendar-emails/how-tos/can-i-book-meetings-from-twenty`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CAN_I_SEND_EMAILS_FROM_TWENTY:`/user-guide/calendar-emails/how-tos/can-i-send-emails-from-twenty`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CAN_I_TRACK_EMAIL_ACTIVITY_ON_ALL_OBJECTS:`/user-guide/calendar-emails/how-tos/can-i-track-email-activity-on-all-objects`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CONNECT_SEVERAL_MAILBOXES_PER_USER:`/user-guide/calendar-emails/how-tos/connect-several-mailboxes-per-user`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_I_DONT_SEE_EMAILS_ON_RECORDS:`/user-guide/calendar-emails/how-tos/i-dont-see-emails-on-records`,USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_LIMIT_EMAILS_IMPORTED:`/user-guide/calendar-emails/how-tos/limit-emails-imported`,USER_GUIDE_CALENDAR_EMAILS_OVERVIEW:`/user-guide/calendar-emails/overview`,USER_GUIDE_DASHBOARDS_CAPABILITIES_CHART_SETTINGS:`/user-guide/dashboards/capabilities/chart-settings`,USER_GUIDE_DASHBOARDS_CAPABILITIES_DASHBOARDS:`/user-guide/dashboards/capabilities/dashboards`,USER_GUIDE_DASHBOARDS_CAPABILITIES_WIDGETS:`/user-guide/dashboards/capabilities/widgets`,USER_GUIDE_DASHBOARDS_HOW_TOS_DASHBOARDS_FAQ:`/user-guide/dashboards/how-tos/dashboards-faq`,USER_GUIDE_DASHBOARDS_HOW_TOS_WIDGET_FAQ:`/user-guide/dashboards/how-tos/widget-faq`,USER_GUIDE_DASHBOARDS_OVERVIEW:`/user-guide/dashboards/overview`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_ERROR_HANDLING:`/user-guide/data-migration/capabilities/error-handling`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_FIELD_MAPPING:`/user-guide/data-migration/capabilities/field-mapping`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_FILE_FORMATS:`/user-guide/data-migration/capabilities/file-formats`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_IMPORT_RELATIONS:`/user-guide/data-migration/capabilities/import-relations`,USER_GUIDE_DATA_MIGRATION_CAPABILITIES_UNIQUENESS_CONSTRAINTS:`/user-guide/data-migration/capabilities/uniqueness-constraints`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_EXPORT_YOUR_DATA:`/user-guide/data-migration/how-tos/export-your-data`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_FIX_IMPORT_ERRORS:`/user-guide/data-migration/how-tos/fix-import-errors`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_COMPANIES_VIA_CSV:`/user-guide/data-migration/how-tos/import-companies-via-csv`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_CONTACTS_VIA_CSV:`/user-guide/data-migration/how-tos/import-contacts-via-csv`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_DATA_VIA_API:`/user-guide/data-migration/how-tos/import-data-via-api`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_RELATIONS_BETWEEN_OBJECTS_VIA_CSV:`/user-guide/data-migration/how-tos/import-relations-between-objects-via-csv`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_MIGRATING_FROM_OTHER_CRMS:`/user-guide/data-migration/how-tos/migrating-from-other-crms`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_MIGRATING_FROM_SELF_HOSTED_TO_CLOUD:`/user-guide/data-migration/how-tos/migrating-from-self-hosted-to-cloud`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_PREPARE_YOUR_CSV_FILES:`/user-guide/data-migration/how-tos/prepare-your-csv-files`,USER_GUIDE_DATA_MIGRATION_HOW_TOS_UPDATE_EXISTING_RECORDS_VIA_IMPORT:`/user-guide/data-migration/how-tos/update-existing-records-via-import`,USER_GUIDE_DATA_MIGRATION_OVERVIEW:`/user-guide/data-migration/overview`,USER_GUIDE_DATA_MODEL_CAPABILITIES_FIELDS:`/user-guide/data-model/capabilities/fields`,USER_GUIDE_DATA_MODEL_CAPABILITIES_OBJECTS:`/user-guide/data-model/capabilities/objects`,USER_GUIDE_DATA_MODEL_CAPABILITIES_RELATION_FIELDS:`/user-guide/data-model/capabilities/relation-fields`,USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_CUSTOM_FIELDS:`/user-guide/data-model/how-tos/create-custom-fields`,USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_CUSTOM_OBJECTS:`/user-guide/data-model/how-tos/create-custom-objects`,USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_MANY_TO_MANY_RELATIONS:`/user-guide/data-model/how-tos/create-many-to-many-relations`,USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_RELATION_FIELDS:`/user-guide/data-model/how-tos/create-relation-fields`,USER_GUIDE_DATA_MODEL_HOW_TOS_CUSTOMIZE_YOUR_DATA_MODEL:`/user-guide/data-model/how-tos/customize-your-data-model`,USER_GUIDE_DATA_MODEL_HOW_TOS_DATA_MODEL_FAQ:`/user-guide/data-model/how-tos/data-model-faq`,USER_GUIDE_DATA_MODEL_OVERVIEW:`/user-guide/data-model/overview`,USER_GUIDE_INTRODUCTION:`/user-guide/introduction`,USER_GUIDE_LAYOUT_CAPABILITIES_NAVIGATION:`/user-guide/layout/capabilities/navigation`,USER_GUIDE_LAYOUT_CAPABILITIES_RECORD_PAGES:`/user-guide/layout/capabilities/record-pages`,USER_GUIDE_LAYOUT_OVERVIEW:`/user-guide/layout/overview`,USER_GUIDE_LEGAL_HOW_TOS_LEGAL_FAQ:`/user-guide/legal/how-tos/legal-faq`,USER_GUIDE_LEGAL_OVERVIEW:`/user-guide/legal/overview`,USER_GUIDE_PERMISSIONS_ACCESS_CAPABILITIES_PERMISSIONS:`/user-guide/permissions-access/capabilities/permissions`,USER_GUIDE_PERMISSIONS_ACCESS_CAPABILITIES_SSO_CONFIGURATION:`/user-guide/permissions-access/capabilities/sso-configuration`,USER_GUIDE_PERMISSIONS_ACCESS_HOW_TOS_PERMISSIONS_FAQ:`/user-guide/permissions-access/how-tos/permissions-faq`,USER_GUIDE_PERMISSIONS_ACCESS_OVERVIEW:`/user-guide/permissions-access/overview`,USER_GUIDE_SETTINGS_CAPABILITIES_COMMUNITY_SETTINGS:`/user-guide/settings/capabilities/community-settings`,USER_GUIDE_SETTINGS_CAPABILITIES_DOMAINS_SETTINGS:`/user-guide/settings/capabilities/domains-settings`,USER_GUIDE_SETTINGS_CAPABILITIES_EXPERIENCE_SETTINGS:`/user-guide/settings/capabilities/experience-settings`,USER_GUIDE_SETTINGS_CAPABILITIES_MEMBER_MANAGEMENT:`/user-guide/settings/capabilities/member-management`,USER_GUIDE_SETTINGS_CAPABILITIES_PROFILE_SETTINGS:`/user-guide/settings/capabilities/profile-settings`,USER_GUIDE_SETTINGS_CAPABILITIES_WORKSPACE_SETTINGS:`/user-guide/settings/capabilities/workspace-settings`,USER_GUIDE_SETTINGS_HOW_TOS_SETTINGS_FAQ:`/user-guide/settings/how-tos/settings-faq`,USER_GUIDE_SETTINGS_OVERVIEW:`/user-guide/settings/overview`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_CALENDAR_VIEW:`/user-guide/views-pipelines/capabilities/calendar-view`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_FIELDS_AND_COLUMNS:`/user-guide/views-pipelines/capabilities/fields-and-columns`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_FILTERS_AND_SORTING:`/user-guide/views-pipelines/capabilities/filters-and-sorting`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_KANBAN_VIEWS:`/user-guide/views-pipelines/capabilities/kanban-views`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_TABLE_VIEWS:`/user-guide/views-pipelines/capabilities/table-views`,USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_VIEW_SETTINGS:`/user-guide/views-pipelines/capabilities/view-settings`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_CREATE_A_CALENDAR_VIEW_FOR_TASKS_DUE:`/user-guide/views-pipelines/how-tos/create-a-calendar-view-for-tasks-due`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_CREATE_A_KANBAN_VIEW_FOR_PROJECTS:`/user-guide/views-pipelines/how-tos/create-a-kanban-view-for-projects`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_CREATE_A_TABLE_VIEW_WITH_GROUPING:`/user-guide/views-pipelines/how-tos/create-a-table-view-with-grouping`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_RESTRICT_ACCESS_TO_YOUR_VIEW:`/user-guide/views-pipelines/how-tos/restrict-access-to-your-view`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_SET_UP_A_SALES_PIPELINE:`/user-guide/views-pipelines/how-tos/set-up-a-sales-pipeline`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_SHOW_EXPECTED_AMOUNT_IN_PIPELINE:`/user-guide/views-pipelines/how-tos/show-expected-amount-in-pipeline`,USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_TRACK_TIME_IN_STAGE:`/user-guide/views-pipelines/how-tos/track-time-in-stage`,USER_GUIDE_WORKFLOWS_CAPABILITIES_SEND_EMAILS_FROM_WORKFLOWS:`/user-guide/workflows/capabilities/send-emails-from-workflows`,USER_GUIDE_WORKFLOWS_CAPABILITIES_USE_BRANCHES_IN_WORKFLOWS:`/user-guide/workflows/capabilities/use-branches-in-workflows`,USER_GUIDE_WORKFLOWS_CAPABILITIES_USE_ITERATOR:`/user-guide/workflows/capabilities/use-iterator`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_ACTIONS:`/user-guide/workflows/capabilities/workflow-actions`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_BRANCHES:`/user-guide/workflows/capabilities/workflow-branches`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_CREDITS:`/user-guide/workflows/capabilities/workflow-credits`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_RUNS:`/user-guide/workflows/capabilities/workflow-runs`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_TRIGGERS:`/user-guide/workflows/capabilities/workflow-triggers`,USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_VERSIONS:`/user-guide/workflows/capabilities/workflow-versions`,USER_GUIDE_WORKFLOWS_HOW_TOS_ADVANCED_CONFIGURATIONS_HANDLE_ARRAYS_IN_CODE_ACTIONS:`/user-guide/workflows/how-tos/advanced-configurations/handle-arrays-in-code-actions`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_BRING_PRODUCT_DATA_IN_TWENTY:`/user-guide/workflows/how-tos/connect-to-other-tools/bring-product-data-in-twenty`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_BRING_TYPEFORM_SUBMISSIONS_IN_TWENTY:`/user-guide/workflows/how-tos/connect-to-other-tools/bring-typeform-submissions-in-twenty`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_GENERATE_PDF_FROM_TWENTY:`/user-guide/workflows/how-tos/connect-to-other-tools/generate-pdf-from-twenty`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_GENERATE_QUOTE_OR_INVOICE_FROM_TWENTY:`/user-guide/workflows/how-tos/connect-to-other-tools/generate-quote-or-invoice-from-twenty`,USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_SET_UP_A_WEBHOOK_TRIGGER:`/user-guide/workflows/how-tos/connect-to-other-tools/set-up-a-webhook-trigger`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_AUTO_REPLY_TO_INBOUND_EMAILS:`/user-guide/workflows/how-tos/crm-automations/auto-reply-to-inbound-emails`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_CLOSED_WON_AUTOMATIONS:`/user-guide/workflows/how-tos/crm-automations/closed-won-automations`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_DETECT_STALE_OPPORTUNITIES:`/user-guide/workflows/how-tos/crm-automations/detect-stale-opportunities`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_DISPLAY_NUMBER_OF_EMAILS_RECEIVED:`/user-guide/workflows/how-tos/crm-automations/display-number-of-emails-received`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_DISPLAY_RELATED_RECORD_DATA:`/user-guide/workflows/how-tos/crm-automations/display-related-record-data`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_FORMULA_FIELDS:`/user-guide/workflows/how-tos/crm-automations/formula-fields`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_NOTIFY_TEAMMATES_OF_NOTE_TO_REVIEW:`/user-guide/workflows/how-tos/crm-automations/notify-teammates-of-note-to-review`,USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_SEND_EMAIL_ALERTS_WITH_TASKS_DUE:`/user-guide/workflows/how-tos/crm-automations/send-email-alerts-with-tasks-due`,USER_GUIDE_WORKFLOWS_HOW_TOS_NEED_MORE_HELP_PROFESSIONAL_SERVICES:`/user-guide/workflows/how-tos/need-more-help/professional-services`,USER_GUIDE_WORKFLOWS_HOW_TOS_NEED_MORE_HELP_WORKFLOW_TROUBLESHOOTING:`/user-guide/workflows/how-tos/need-more-help/workflow-troubleshooting`,USER_GUIDE_WORKFLOWS_HOW_TOS_NEED_MORE_HELP_WORKFLOWS_FAQ:`/user-guide/workflows/how-tos/need-more-help/workflows-faq`,USER_GUIDE_WORKFLOWS_OVERVIEW:`/user-guide/workflows/overview`}).GETTING_STARTED_INTRODUCTION,new Set([D.TS_VECTOR,D.RAW_JSON,D.FILES,D.POSITION]),D.ACTOR,D.ADDRESS,D.ARRAY,D.BOOLEAN,D.CURRENCY,D.DATE,D.DATE_TIME,D.EMAILS,D.FILES,D.FULL_NAME,D.LINKS,D.MORPH_RELATION,D.MULTI_SELECT,D.NUMBER,D.NUMERIC,D.PHONES,D.POSITION,D.RATING,D.RAW_JSON,D.RELATION,D.RICH_TEXT,D.SELECT,D.TEXT,D.TS_VECTOR,D.UUID,new Set([D.TS_VECTOR,D.ARRAY,D.MULTI_SELECT,D.RAW_JSON]),_p.DAY,_p.WEEK,_p.MONTH,_p.QUARTER,_p.YEAR,D.FILES,D.LINKS,D.TEXT,D.FULL_NAME,D.UUID;var Ip=[`RATING_1`,`RATING_2`,`RATING_3`,`RATING_4`,`RATING_5`],Lp={API_KEYS_AND_WEBHOOKS:`beb99803-9a0e-588d-9c4b-3dd14d9cdf21`,WORKSPACE:`86a58859-a539-5fa8-ba18-a6aaddc811b6`,WORKSPACE_MEMBERS:`ec342166-2df7-53e7-aa9b-64992d6cb35f`,ROLES:`80f1e5ab-484c-5660-a5a1-0ee7413d8190`,DATA_MODEL:`f0c08013-3c9a-5489-bd45-a641fe5f085d`,SECURITY:`4a8b6016-1d3d-5c94-bbe8-a74c5f32335a`,WORKFLOWS:`6189e7bd-4051-5752-b6b1-5f31358fbaf1`,IMPERSONATE:`dd2274d1-bbd5-551d-bcf2-3147539cef11`,SSO_BYPASS:`2e9cfdc0-4669-58ab-b241-b6c3c14d96df`,APPLICATIONS:`9faa55f7-2606-566b-9e1d-aefbedbd0136`,MARKETPLACE_APPS:`3a37e2f5-d3e4-56d6-b541-adf0237468ff`,LAYOUTS:`458d1ee5-ba12-5f4e-9d17-6f8c11fcd7fd`,BILLING:`24b66701-ed97-51e4-aa63-794e1b31414c`,AI_SETTINGS:`e8cc4a30-c120-5925-8f5d-73d6a2247fee`,AI:`1c7f09a7-367d-568b-a0e8-c274eccd6ee3`,VIEWS:`c68354c4-535d-53a9-848a-e3a6774b5fb8`,UPLOAD_FILE:`dc6931a9-44bd-5164-a983-3db5db837f54`,DOWNLOAD_FILE:`6edf252f-228e-5e2f-9706-7bab7a796fd3`,SEND_EMAIL_TOOL:`19f382a8-689d-5792-a18c-737f0ce9025f`,CREATE_CALENDAR_EVENT_TOOL:`5b8c104e-24d3-4e89-986b-1d9208df6cf4`,HTTP_REQUEST_TOOL:`1bf49cf1-bb8f-5eb9-809a-5f34ea79fc6a`,CODE_INTERPRETER_TOOL:`11f31c3a-7042-54b7-a2dd-ae31dd9e9fa2`,IMPORT_CSV:`c4912536-a4db-5af9-85ac-be2919c24c5e`,EXPORT_CSV:`88efced9-ca6d-5316-a695-f1b9158e7370`,CONNECTED_ACCOUNTS:`e5f63b2d-5369-5df6-8f32-a8bd9e79e653`,PROFILE_INFORMATION:`7c13f23f-78d8-5e7d-8963-a7c8772fb4e8`},Rp={en:`en`,"pseudo-en":`pseudo-en`,"af-ZA":`af-ZA`,"ar-SA":`ar-SA`,"ca-ES":`ca-ES`,"cs-CZ":`cs-CZ`,"da-DK":`da-DK`,"de-DE":`de-DE`,"el-GR":`el-GR`,"es-ES":`es-ES`,"fi-FI":`fi-FI`,"fr-FR":`fr-FR`,"he-IL":`he-IL`,"hu-HU":`hu-HU`,"it-IT":`it-IT`,"ja-JP":`ja-JP`,"ko-KR":`ko-KR`,"nl-NL":`nl-NL`,"no-NO":`no-NO`,"pl-PL":`pl-PL`,"pt-BR":`pt-BR`,"pt-PT":`pt-PT`,"ro-RO":`ro-RO`,"ru-RU":`ru-RU`,"sr-Cyrl":`sr-Cyrl`,"sv-SE":`sv-SE`,"tr-TR":`tr-TR`,"uk-UA":`uk-UA`,"vi-VN":`vi-VN`,"zh-CN":`zh-CN`,"zh-TW":`zh-TW`},zp=`INUMBER`,Bp=`IOP1`,Vp=`IOP2`,Hp=`IOP3`,Up=`IVAR`,Wp=`IVARNAME`,Gp=`IFUNCALL`,Kp=`IFUNDEF`,qp=`IEXPR`,Jp=`IEXPREVAL`,Yp=`IMEMBER`,Xp=`IENDSTATEMENT`,Zp=`IARRAY`;function V(e,t){this.type=e,this.value=t??0}V.prototype.toString=function(){switch(this.type){case zp:case Bp:case Vp:case Hp:case Up:case Wp:case Xp:return this.value;case Gp:return`CALL `+this.value;case Kp:return`DEF `+this.value;case Zp:return`ARRAY `+this.value;case Yp:return`.`+this.value;default:return`Invalid Instruction`}};function Qp(e){return new V(Bp,e)}function $p(e){return new V(Vp,e)}function em(e){return new V(Hp,e)}function tm(e,t,n,r,i){for(var a=[],o=[],s,c,l,u,d=0;d<e.length;d++){var f=e[d],p=f.type;if(p===zp||p===Wp)Array.isArray(f.value)?a.push.apply(a,tm(f.value.map(function(e){return new V(zp,e)}).concat(new V(Zp,f.value.length)),t,n,r,i)):a.push(f);else if(p===Up&&Object.hasOwn(i,f.value))f=new V(zp,i[f.value]),a.push(f);else if(p===Vp&&a.length>1)c=a.pop(),s=a.pop(),u=n[f.value],f=new V(zp,u(s.value,c.value)),a.push(f);else if(p===Hp&&a.length>2)l=a.pop(),c=a.pop(),s=a.pop(),f.value===`?`?a.push(s.value?c.value:l.value):(u=r[f.value],f=new V(zp,u(s.value,c.value,l.value)),a.push(f));else if(p===Bp&&a.length>0)s=a.pop(),u=t[f.value],f=new V(zp,u(s.value)),a.push(f);else if(p===qp){for(;a.length>0;)o.push(a.shift());o.push(new V(qp,tm(f.value,t,n,r,i)))}else if(p===Yp&&a.length>0)s=a.pop(),a.push(new V(zp,s.value[f.value]));else{for(;a.length>0;)o.push(a.shift());o.push(f)}}for(;a.length>0;)o.push(a.shift());return o}function nm(e,t,n){for(var r=[],i=0;i<e.length;i++){var a=e[i],o=a.type;if(o===Up&&a.value===t)for(var s=0;s<n.tokens.length;s++){var c=n.tokens[s],l=c.type===Bp?Qp(c.value):c.type===Vp?$p(c.value):c.type===Hp?em(c.value):new V(c.type,c.value);r.push(l)}else o===qp?r.push(new V(qp,nm(a.value,t,n))):r.push(a)}return r}function rm(e,t,n){if(Object.values(t.functions).includes(e))return!0;for(let i of Object.values(n))if(typeof i==`object`&&i){for(let n of Object.values(i))if(n===e){let e=Object.freeze({abs:Math.abs,acos:Math.acos,asin:Math.asin,atan:Math.atan,atan2:Math.atan2,ceil:Math.ceil,clz32:Math.clz32,cos:Math.cos,exp:Math.exp,floor:Math.floor,imul:Math.imul,fround:Math.fround,f16round:Math.f16round,log:Math.log,max:Math.max,min:Math.min,pow:Math.pow,random:Math.random,round:Math.round,sin:Math.sin,sqrt:Math.sqrt,tan:Math.tan,log10:Math.log10,log2:Math.log2,log1p:Math.log1p,expm1:Math.expm1,cosh:Math.cosh,sinh:Math.sinh,tanh:Math.tanh,acosh:Math.acosh,asinh:Math.asinh,atanh:Math.atanh,hypot:Math.hypot,trunc:Math.trunc,sign:Math.sign,cbrt:Math.cbrt});for(var r of Object.getOwnPropertyNames(e))if(e[r]===n)return!0;return Object.values(t.functions).includes(n)}}return!1}function im(e,t,n){var r=[],i,a,o,s,c,l;if(om(e))return sm(e,n);for(var u=e.length,d=0;d<u;d++){var f=e[d],p=f.type;if(p===zp||p===Wp)r.push(f.value);else if(p===Vp)a=r.pop(),i=r.pop(),f.value===`and`?r.push(i?!!im(a,t,n):!1):f.value===`or`?r.push(i?!0:!!im(a,t,n)):f.value===`=`?(s=t.binaryOps[f.value],r.push(s(i,im(a,t,n),n))):(s=t.binaryOps[f.value],r.push(s(sm(i,n),sm(a,n))));else if(p===Hp)o=r.pop(),a=r.pop(),i=r.pop(),f.value===`?`?r.push(im(i?a:o,t,n)):(s=t.ternaryOps[f.value],r.push(s(sm(i,n),sm(a,n),sm(o,n))));else if(p===Up){if(/^__proto__|prototype|constructor$/.test(f.value))throw Error(`prototype access detected`);if(f.value in t.functions)r.push(t.functions[f.value]);else if(f.value in t.unaryOps&&t.parser.isOperatorEnabled(f.value))r.push(t.unaryOps[f.value]);else{var m=n[f.value];if(m!==void 0){if(typeof m==`function`&&!rm(m,t,n))throw Error(`Variable references an unallowed function: `+f.value);r.push(m)}else throw Error(`undefined variable: `+f.value)}}else if(p===Bp)i=r.pop(),s=t.unaryOps[f.value],r.push(s(sm(i,n)));else if(p===Gp){for(l=f.value,c=[];l-- >0;)c.unshift(sm(r.pop(),n));if(s=r.pop(),!rm(s,t,n))throw Error(`Is not an allowed function.`);if(s.apply&&s.call)r.push(s.apply(void 0,c));else throw Error(s+` is not a function`)}else if(p===Kp)r.push((function(){for(var e=r.pop(),i=[],a=f.value;a-- >0;)i.unshift(r.pop());var o=r.pop(),s=function(){for(var r=Object.assign({},n),a=0,o=i.length;a<o;a++)r[i[a]]=arguments[a];return im(e,t,r)};return t.functions[`lambda_`+ t.functions.__counter++]=s,n[o]=s,s})());else if(p===qp)r.push(am(f,t));else if(p===Jp)r.push(f);else if(p===Yp){if(i=r.pop(),/^__proto__|prototype|constructor$/.test(f.value))throw Error(`prototype access detected in MEMBER`);if(typeof i==`object`&&typeof i[f.value]==`function`&&!rm(i[f.value],t,n))throw Error(`Is not an allowed function in MEMBER.`);r.push(i[f.value])}else if(p===Xp)r.pop();else if(p===Zp){for(l=f.value,c=[];l-- >0;)c.unshift(r.pop());r.push(c)}else throw Error(`invalid Expression`)}if(r.length>1)throw Error(`invalid Expression (parity)`);return r[0]===0?0:sm(r[0],n)}function am(e,t,n){return om(e)?e:{type:Jp,value:function(n){return im(e.value,t,n)}}}function om(e){return e&&e.type===Jp}function sm(e,t){return om(e)?e.value(t):e}function cm(e,t){for(var n=[],r,i,a,o,s,c,l=0;l<e.length;l++){var u=e[l],d=u.type;if(d===zp)typeof u.value==`number`&&u.value<0?n.push(`(`+u.value+`)`):Array.isArray(u.value)?n.push(`[`+u.value.map(lm).join(`, `)+`]`):n.push(lm(u.value));else if(d===Vp)i=n.pop(),r=n.pop(),o=u.value,t?o===`^`?n.push(`Math.pow(`+r+`, `+i+`)`):o===`and`?n.push(`(!!`+r+` && !!`+i+`)`):o===`or`?n.push(`(!!`+r+` || !!`+i+`)`):o===`||`?n.push(`(function(a,b){ return Array.isArray(a) && Array.isArray(b) ? a.concat(b) : String(a) + String(b); }((`+r+`),(`+i+`)))`):o===`==`?n.push(`(`+r+` === `+i+`)`):o===`!=`?n.push(`(`+r+` !== `+i+`)`):o===`[`?n.push(r+`[(`+i+`) | 0]`):n.push(`(`+r+` `+o+` `+i+`)`):o===`[`?n.push(r+`[`+i+`]`):n.push(`(`+r+` `+o+` `+i+`)`);else if(d===Hp)if(a=n.pop(),i=n.pop(),r=n.pop(),o=u.value,o===`?`)n.push(`(`+r+` ? `+i+` : `+a+`)`);else throw Error(`invalid Expression`);else if(d===Up||d===Wp)n.push(u.value);else if(d===Bp)r=n.pop(),o=u.value,o===`-`||o===`+`?n.push(`(`+o+r+`)`):t?o===`not`?n.push(`(!`+r+`)`):o===`!`?n.push(`fac(`+r+`)`):n.push(o+`(`+r+`)`):o===`!`?n.push(`(`+r+`!)`):n.push(`(`+o+` `+r+`)`);else if(d===Gp){for(c=u.value,s=[];c-- >0;)s.unshift(n.pop());o=n.pop(),n.push(o+`(`+s.join(`, `)+`)`)}else if(d===Kp){for(i=n.pop(),c=u.value,s=[];c-- >0;)s.unshift(n.pop());r=n.pop(),t?n.push(`(`+r+` = function(`+s.join(`, `)+`) { return `+i+` })`):n.push(`(`+r+`(`+s.join(`, `)+`) = `+i+`)`)}else if(d===Yp)r=n.pop(),n.push(r+`.`+u.value);else if(d===Zp){for(c=u.value,s=[];c-- >0;)s.unshift(n.pop());n.push(`[`+s.join(`, `)+`]`)}else if(d===qp)n.push(`(`+cm(u.value,t)+`)`);else if(d!==Xp)throw Error(`invalid Expression`)}return n.length>1&&(n=t?[n.join(`,`)]:[n.join(`;`)]),String(n[0])}function lm(e){return typeof e==`string`?JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`):e}function um(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}function dm(e,t,n){n||={};for(var r=!!n.withMembers,i=null,a=0;a<e.length;a++){var o=e[a];o.type===Up||o.type===Wp?!r&&!um(t,o.value)?t.push(o.value):(i===null||um(t,i)||t.push(i),i=o.value):o.type===Yp&&r&&i!==null?i+=`.`+o.value:o.type===qp?dm(o.value,t,n):i!==null&&(um(t,i)||t.push(i),i=null)}i!==null&&!um(t,i)&&t.push(i)}function fm(e,t){this.tokens=e,this.parser=t,this.unaryOps=t.unaryOps,this.binaryOps=t.binaryOps,this.ternaryOps=t.ternaryOps,this.functions=t.functions}fm.prototype.simplify=function(e){return e||={},new fm(tm(this.tokens,this.unaryOps,this.binaryOps,this.ternaryOps,e),this.parser)},fm.prototype.substitute=function(e,t){return t instanceof fm||(t=this.parser.parse(String(t))),new fm(nm(this.tokens,e,t),this.parser)},fm.prototype.evaluate=function(e){return e||={},im(this.tokens,this,e)},fm.prototype.toString=function(){return cm(this.tokens,!1)},fm.prototype.symbols=function(e){e||={};var t=[];return dm(this.tokens,t,e),t},fm.prototype.variables=function(e){e||={};var t=[];dm(this.tokens,t,e);var n=this.functions;return t.filter(function(e){return!(e in n)})},fm.prototype.toJSFunction=function(e,t){var n=this,r=Function(e,`with(this.functions) with (this.ternaryOps) with (this.binaryOps) with (this.unaryOps) { return `+cm(this.simplify(t).tokens,!0)+`; }`);return function(){return r.apply(n,arguments)}};var pm=`TEOF`,mm=`TOP`,hm=`TNUMBER`,gm=`TSTRING`,_m=`TPAREN`,vm=`TBRACKET`,ym=`TCOMMA`,bm=`TNAME`,xm=`TSEMICOLON`;function Sm(e,t,n){this.type=e,this.value=t,this.index=n}Sm.prototype.toString=function(){return this.type+`: `+this.value};function Cm(e,t){this.pos=0,this.current=null,this.unaryOps=e.unaryOps,this.binaryOps=e.binaryOps,this.ternaryOps=e.ternaryOps,this.consts=e.consts,this.expression=t,this.savedPosition=0,this.savedCurrent=null,this.options=e.options,this.parser=e}Cm.prototype.newToken=function(e,t,n){return new Sm(e,t,n??this.pos)},Cm.prototype.save=function(){this.savedPosition=this.pos,this.savedCurrent=this.current},Cm.prototype.restore=function(){this.pos=this.savedPosition,this.current=this.savedCurrent},Cm.prototype.next=function(){if(this.pos>=this.expression.length)return this.newToken(pm,`EOF`);if(this.isWhitespace()||this.isComment())return this.next();if(this.isRadixInteger()||this.isNumber()||this.isOperator()||this.isString()||this.isParen()||this.isBracket()||this.isComma()||this.isSemicolon()||this.isNamedOp()||this.isConst()||this.isName())return this.current;this.parseError(`Unknown character "`+this.expression.charAt(this.pos)+`"`)},Cm.prototype.isString=function(){var e=!1,t=this.pos,n=this.expression.charAt(t);if(n===`'`||n===`"`)for(var r=this.expression.indexOf(n,t+1);r>=0&&this.pos<this.expression.length;){if(this.pos=r+1,this.expression.charAt(r-1)!==`\\`){var i=this.expression.substring(t+1,r);this.current=this.newToken(gm,this.unescape(i),t),e=!0;break}r=this.expression.indexOf(n,r+1)}return e},Cm.prototype.isParen=function(){var e=this.expression.charAt(this.pos);return e===`(`||e===`)`?(this.current=this.newToken(_m,e),this.pos++,!0):!1},Cm.prototype.isBracket=function(){var e=this.expression.charAt(this.pos);return(e===`[`||e===`]`)&&this.isOperatorEnabled(`[`)?(this.current=this.newToken(vm,e),this.pos++,!0):!1},Cm.prototype.isComma=function(){return this.expression.charAt(this.pos)===`,`?(this.current=this.newToken(ym,`,`),this.pos++,!0):!1},Cm.prototype.isSemicolon=function(){return this.expression.charAt(this.pos)===`;`?(this.current=this.newToken(xm,`;`),this.pos++,!0):!1},Cm.prototype.isConst=function(){for(var e=this.pos,t=e;t<this.expression.length;t++){var n=this.expression.charAt(t);if(n.toUpperCase()===n.toLowerCase()&&(t===this.pos||n!==`_`&&n!==`.`&&(n<`0`||n>`9`)))break}if(t>e){var r=this.expression.substring(e,t);if(r in this.consts)return this.current=this.newToken(hm,this.consts[r]),this.pos+=r.length,!0}return!1},Cm.prototype.isNamedOp=function(){for(var e=this.pos,t=e;t<this.expression.length;t++){var n=this.expression.charAt(t);if(n.toUpperCase()===n.toLowerCase()&&(t===this.pos||n!==`_`&&(n<`0`||n>`9`)))break}if(t>e){var r=this.expression.substring(e,t);if(this.isOperatorEnabled(r)&&(r in this.binaryOps||r in this.unaryOps||r in this.ternaryOps))return this.current=this.newToken(mm,r),this.pos+=r.length,!0}return!1},Cm.prototype.isName=function(){for(var e=this.pos,t=e,n=!1;t<this.expression.length;t++){var r=this.expression.charAt(t);if(r.toUpperCase()===r.toLowerCase()){if(t===this.pos&&(r===`$`||r===`_`)){r===`_`&&(n=!0);continue}else if(t===this.pos||!n||r!==`_`&&(r<`0`||r>`9`))break}else n=!0}if(n){var i=this.expression.substring(e,t);return this.current=this.newToken(bm,i),this.pos+=i.length,!0}return!1},Cm.prototype.isWhitespace=function(){for(var e=!1,t=this.expression.charAt(this.pos);(t===` `||t===` `||t===`
|
|
24
24
|
`||t===`\r`)&&(e=!0,this.pos++,!(this.pos>=this.expression.length));)t=this.expression.charAt(this.pos);return e};var wm=/^[0-9a-f]{4}$/i;Cm.prototype.unescape=function(e){var t=e.indexOf(`\\`);if(t<0)return e;for(var n=e.substring(0,t);t>=0;){var r=e.charAt(++t);switch(r){case`'`:n+=`'`;break;case`"`:n+=`"`;break;case`\\`:n+=`\\`;break;case`/`:n+=`/`;break;case`b`:n+=`\b`;break;case`f`:n+=`\f`;break;case`n`:n+=`
|
|
25
25
|
`;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;case`u`:var i=e.substring(t+1,t+5);wm.test(i)||this.parseError(`Illegal escape sequence: \\u`+i),n+=String.fromCharCode(parseInt(i,16)),t+=4;break;default:throw this.parseError(`Illegal escape sequence: "\\`+r+`"`)}++t;var a=e.indexOf(`\\`,t);n+=e.substring(t,a<0?e.length:a),t=a}return n},Cm.prototype.isComment=function(){return this.expression.charAt(this.pos)===`/`&&this.expression.charAt(this.pos+1)===`*`?(this.pos=this.expression.indexOf(`*/`,this.pos)+2,this.pos===1&&(this.pos=this.expression.length),!0):!1},Cm.prototype.isRadixInteger=function(){var e=this.pos;if(e>=this.expression.length-2||this.expression.charAt(e)!==`0`)return!1;++e;var t,n;if(this.expression.charAt(e)===`x`)t=16,n=/^[0-9a-f]$/i,++e;else if(this.expression.charAt(e)===`b`)t=2,n=/^[01]$/i,++e;else return!1;for(var r=!1,i=e;e<this.expression.length;){var a=this.expression.charAt(e);if(n.test(a))e++,r=!0;else break}return r&&(this.current=this.newToken(hm,parseInt(this.expression.substring(i,e),t)),this.pos=e),r},Cm.prototype.isNumber=function(){for(var e=!1,t=this.pos,n=t,r=t,i=!1,a=!1,o;t<this.expression.length&&(o=this.expression.charAt(t),o>=`0`&&o<=`9`||!i&&o===`.`);)o===`.`?i=!0:a=!0,t++,e=a;if(e&&(r=t),o===`e`||o===`E`){t++;for(var s=!0,c=!1;t<this.expression.length;){if(o=this.expression.charAt(t),s&&(o===`+`||o===`-`))s=!1;else if(o>=`0`&&o<=`9`)c=!0,s=!1;else break;t++}c||(t=r)}return e?(this.current=this.newToken(hm,parseFloat(this.expression.substring(n,t))),this.pos=t):this.pos=r,e},Cm.prototype.isOperator=function(){var e=this.pos,t=this.expression.charAt(this.pos);if(t===`+`||t===`-`||t===`*`||t===`/`||t===`%`||t===`^`||t===`?`||t===`:`||t===`.`)this.current=this.newToken(mm,t);else if(t===`∙`||t===`•`)this.current=this.newToken(mm,`*`);else if(t===`>`)this.expression.charAt(this.pos+1)===`=`?(this.current=this.newToken(mm,`>=`),this.pos++):this.current=this.newToken(mm,`>`);else if(t===`<`)this.expression.charAt(this.pos+1)===`=`?(this.current=this.newToken(mm,`<=`),this.pos++):this.current=this.newToken(mm,`<`);else if(t===`|`)if(this.expression.charAt(this.pos+1)===`|`)this.current=this.newToken(mm,`||`),this.pos++;else return!1;else if(t===`=`)this.expression.charAt(this.pos+1)===`=`?(this.current=this.newToken(mm,`==`),this.pos++):this.current=this.newToken(mm,t);else if(t===`!`)this.expression.charAt(this.pos+1)===`=`?(this.current=this.newToken(mm,`!=`),this.pos++):this.current=this.newToken(mm,t);else return!1;return this.pos++,this.isOperatorEnabled(this.current.value)?!0:(this.pos=e,!1)},Cm.prototype.isOperatorEnabled=function(e){return this.parser.isOperatorEnabled(e)},Cm.prototype.getCoordinates=function(){var e=0,t,n=-1;do e++,t=this.pos-n,n=this.expression.indexOf(`
|
|
26
26
|
`,n+1);while(n>=0&&n<this.pos);return{line:e,column:t}},Cm.prototype.parseError=function(e){var t=this.getCoordinates();throw Error(`parse error [`+t.line+`:`+t.column+`]: `+e)};function Tm(e,t,n){this.parser=e,this.tokens=t,this.current=null,this.nextToken=null,this.next(),this.savedCurrent=null,this.savedNextToken=null,this.allowMemberAccess=n.allowMemberAccess!==!1}Tm.prototype.next=function(){return this.current=this.nextToken,this.nextToken=this.tokens.next()},Tm.prototype.tokenMatches=function(e,t){return t===void 0?!0:Array.isArray(t)?um(t,e.value):typeof t==`function`?t(e):e.value===t},Tm.prototype.save=function(){this.savedCurrent=this.current,this.savedNextToken=this.nextToken,this.tokens.save()},Tm.prototype.restore=function(){this.tokens.restore(),this.current=this.savedCurrent,this.nextToken=this.savedNextToken},Tm.prototype.accept=function(e,t){return this.nextToken.type===e&&this.tokenMatches(this.nextToken,t)?(this.next(),!0):!1},Tm.prototype.expect=function(e,t){if(!this.accept(e,t)){var n=this.tokens.getCoordinates();throw Error(`parse error [`+n.line+`:`+n.column+`]: Expected `+(t||e))}},Tm.prototype.parseAtom=function(e){var t=this.tokens.unaryOps;function n(e){return e.value in t}if(this.accept(bm)||this.accept(mm,n))e.push(new V(Up,this.current.value));else if(this.accept(hm))e.push(new V(zp,this.current.value));else if(this.accept(gm))e.push(new V(zp,this.current.value));else if(this.accept(_m,`(`))this.parseExpression(e),this.expect(_m,`)`);else if(this.accept(vm,`[`))if(this.accept(vm,`]`))e.push(new V(Zp,0));else{var r=this.parseArrayList(e);e.push(new V(Zp,r))}else throw Error(`unexpected `+this.nextToken)},Tm.prototype.parseExpression=function(e){var t=[];this.parseUntilEndStatement(e,t)||(this.parseVariableAssignmentExpression(t),!this.parseUntilEndStatement(e,t)&&this.pushExpression(e,t))},Tm.prototype.pushExpression=function(e,t){for(var n=0,r=t.length;n<r;n++)e.push(t[n])},Tm.prototype.parseUntilEndStatement=function(e,t){return this.accept(xm)?(this.nextToken&&this.nextToken.type!==pm&&!(this.nextToken.type===_m&&this.nextToken.value===`)`)&&t.push(new V(Xp)),this.nextToken.type!==pm&&this.parseExpression(t),e.push(new V(qp,t)),!0):!1},Tm.prototype.parseArrayList=function(e){for(var t=0;!this.accept(vm,`]`);)for(this.parseExpression(e),++t;this.accept(ym);)this.parseExpression(e),++t;return t},Tm.prototype.parseVariableAssignmentExpression=function(e){for(this.parseConditionalExpression(e);this.accept(mm,`=`);){var t=e.pop(),n=[],r=e.length-1;if(t.type===Gp){if(!this.tokens.isOperatorEnabled(`()=`))throw Error(`function definition is not permitted`);for(var i=0,a=t.value+1;i<a;i++){var o=r-i;e[o].type===Up&&(e[o]=new V(Wp,e[o].value))}this.parseVariableAssignmentExpression(n),e.push(new V(qp,n)),e.push(new V(Kp,t.value));continue}if(t.type!==Up&&t.type!==Yp)throw Error(`expected variable for assignment`);this.parseVariableAssignmentExpression(n),e.push(new V(Wp,t.value)),e.push(new V(qp,n)),e.push($p(`=`))}},Tm.prototype.parseConditionalExpression=function(e){for(this.parseOrExpression(e);this.accept(mm,`?`);){var t=[],n=[];this.parseConditionalExpression(t),this.expect(mm,`:`),this.parseConditionalExpression(n),e.push(new V(qp,t)),e.push(new V(qp,n)),e.push(em(`?`))}},Tm.prototype.parseOrExpression=function(e){for(this.parseAndExpression(e);this.accept(mm,`or`);){var t=[];this.parseAndExpression(t),e.push(new V(qp,t)),e.push($p(`or`))}},Tm.prototype.parseAndExpression=function(e){for(this.parseComparison(e);this.accept(mm,`and`);){var t=[];this.parseComparison(t),e.push(new V(qp,t)),e.push($p(`and`))}};var Em=[`==`,`!=`,`<`,`<=`,`>=`,`>`,`in`];Tm.prototype.parseComparison=function(e){for(this.parseAddSub(e);this.accept(mm,Em);){var t=this.current;this.parseAddSub(e),e.push($p(t.value))}};var Dm=[`+`,`-`,`||`];Tm.prototype.parseAddSub=function(e){for(this.parseTerm(e);this.accept(mm,Dm);){var t=this.current;this.parseTerm(e),e.push($p(t.value))}};var Om=[`*`,`/`,`%`];Tm.prototype.parseTerm=function(e){for(this.parseFactor(e);this.accept(mm,Om);){var t=this.current;this.parseFactor(e),e.push($p(t.value))}},Tm.prototype.parseFactor=function(e){var t=this.tokens.unaryOps;function n(e){return e.value in t}if(this.save(),this.accept(mm,n)){if(this.current.value!==`-`&&this.current.value!==`+`){if(this.nextToken.type===_m&&this.nextToken.value===`(`){this.restore(),this.parseExponential(e);return}else if(this.nextToken.type===xm||this.nextToken.type===ym||this.nextToken.type===pm||this.nextToken.type===_m&&this.nextToken.value===`)`){this.restore(),this.parseAtom(e);return}}var r=this.current;this.parseFactor(e),e.push(Qp(r.value))}else this.parseExponential(e)},Tm.prototype.parseExponential=function(e){for(this.parsePostfixExpression(e);this.accept(mm,`^`);)this.parseFactor(e),e.push($p(`^`))},Tm.prototype.parsePostfixExpression=function(e){for(this.parseFunctionCall(e);this.accept(mm,`!`);)e.push(Qp(`!`))},Tm.prototype.parseFunctionCall=function(e){var t=this.tokens.unaryOps;function n(e){return e.value in t}if(this.accept(mm,n)){var r=this.current;this.parseAtom(e),e.push(Qp(r.value))}else for(this.parseMemberExpression(e);this.accept(_m,`(`);)if(this.accept(_m,`)`))e.push(new V(Gp,0));else{var i=this.parseArgumentList(e);e.push(new V(Gp,i))}},Tm.prototype.parseArgumentList=function(e){for(var t=0;!this.accept(_m,`)`);)for(this.parseExpression(e),++t;this.accept(ym);)this.parseExpression(e),++t;return t},Tm.prototype.parseMemberExpression=function(e){for(this.parseAtom(e);this.accept(mm,`.`)||this.accept(vm,`[`);){var t=this.current;if(t.value===`.`){if(!this.allowMemberAccess)throw Error(`unexpected ".", member access is not permitted`);this.expect(bm),e.push(new V(Yp,this.current.value))}else if(t.value===`[`){if(!this.tokens.isOperatorEnabled(`[`))throw Error(`unexpected "[]", arrays are disabled`);this.parseExpression(e),this.expect(vm,`]`),e.push($p(`[`))}else throw Error(`unexpected symbol: `+t.value)}};function km(e,t){return Number(e)+Number(t)}function Am(e,t){return e-t}function jm(e,t){return e*t}function Mm(e,t){return e/t}function Nm(e,t){return e%t}function Pm(e,t){return Array.isArray(e)&&Array.isArray(t)?e.concat(t):``+e+t}function Fm(e,t){return e===t}function Im(e,t){return e!==t}function Lm(e,t){return e>t}function Rm(e,t){return e<t}function zm(e,t){return e>=t}function Bm(e,t){return e<=t}function Vm(e,t){return!!(e&&t)}function Hm(e,t){return!!(e||t)}function Um(e,t){return um(t,e)}function Wm(e){return(Math.exp(e)-Math.exp(-e))/2}function Gm(e){return(Math.exp(e)+Math.exp(-e))/2}function Km(e){return e===1/0?1:e===-1/0?-1:(Math.exp(e)-Math.exp(-e))/(Math.exp(e)+Math.exp(-e))}function qm(e){return e===-1/0?e:Math.log(e+Math.sqrt(e*e+1))}function Jm(e){return Math.log(e+Math.sqrt(e*e-1))}function Ym(e){return Math.log((1+e)/(1-e))/2}function Xm(e){return Math.log(e)*Math.LOG10E}function Zm(e){return-e}function Qm(e){return!e}function $m(e){return e<0?Math.ceil(e):Math.floor(e)}function eh(e){return Math.random()*(e||1)}function th(e){return ah(e+1)}function nh(e){return isFinite(e)&&e===Math.round(e)}var rh=4.7421875,ih=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22];function ah(e){var t,n;if(nh(e)){if(e<=0)return isFinite(e)?1/0:NaN;if(e>171)return 1/0;for(var r=e-2,i=e-1;r>1;)i*=r,r--;return i===0&&(i=1),i}if(e<.5)return Math.PI/(Math.sin(Math.PI*e)*ah(1-e));if(e>=171.35)return 1/0;if(e>85){var a=e*e,o=a*e,s=o*e,c=s*e;return Math.sqrt(2*Math.PI/e)*(e/Math.E)**+e*(1+1/(12*e)+1/(288*a)-139/(51840*o)-571/(2488320*s)+163879/(209018880*c)+5246819/(75246796800*c*e))}--e,n=ih[0];for(var l=1;l<ih.length;++l)n+=ih[l]/(e+l);return t=e+rh+.5,Math.sqrt(2*Math.PI)*t**+(e+.5)*Math.exp(-t)*n}function oh(e){return Array.isArray(e)?e.length:String(e).length}function sh(){for(var e=0,t=0,n=0;n<arguments.length;n++){var r=Math.abs(arguments[n]),i;t<r?(i=t/r,e=e*i*i+1,t=r):r>0?(i=r/t,e+=i*i):e+=r}return t===1/0?1/0:t*Math.sqrt(e)}function ch(e,t,n){return e?t:n}function lh(e,t){return t===void 0||+t==0?Math.round(e):(e=+e,t=-+t,isNaN(e)||!(typeof t==`number`&&t%1==0)?NaN:(e=e.toString().split(`e`),e=Math.round(+(e[0]+`e`+(e[1]?+e[1]-t:-t))),e=e.toString().split(`e`),+(e[0]+`e`+(e[1]?+e[1]+t:t))))}function uh(e,t,n){return n&&(n[e]=t),t}function dh(e,t){return e[t|0]}function fh(e){return arguments.length===1&&Array.isArray(e)?Math.max.apply(Math,e):Math.max.apply(Math,arguments)}function ph(e){return arguments.length===1&&Array.isArray(e)?Math.min.apply(Math,e):Math.min.apply(Math,arguments)}function mh(e,t){if(typeof e!=`function`)throw Error(`First argument to map is not a function`);if(!Array.isArray(t))throw Error(`Second argument to map is not an array`);return t.map(function(t,n){return e(t,n)})}function hh(e,t,n){if(typeof e!=`function`)throw Error(`First argument to fold is not a function`);if(!Array.isArray(n))throw Error(`Second argument to fold is not an array`);return n.reduce(function(t,n,r){return e(t,n,r)},t)}function gh(e,t){if(typeof e!=`function`)throw Error(`First argument to filter is not a function`);if(!Array.isArray(t))throw Error(`Second argument to filter is not an array`);return t.filter(function(t,n){return e(t,n)})}function _h(e,t){if(!(Array.isArray(t)||typeof t==`string`))throw Error(`Second argument to indexOf is not a string or array`);return t.indexOf(e)}function vh(e,t){if(!Array.isArray(t))throw Error(`Second argument to join is not an array`);return t.join(e)}function yh(e){return(e>0)-(e<0)||+e}var bh=1/3;function xh(e){return e<0?-((-e)**+bh):e**+bh}function Sh(e){return Math.exp(e)-1}function Ch(e){return Math.log(1+e)}function wh(e){return Math.log(e)/Math.LN2}function Th(e){if(!Array.isArray(e))throw Error(`Sum argument is not an array`);return e.reduce(function(e,t){return e+Number(t)},0)}function Eh(e){this.options=e||{},this.unaryOps={sin:Math.sin,cos:Math.cos,tan:Math.tan,asin:Math.asin,acos:Math.acos,atan:Math.atan,sinh:Math.sinh||Wm,cosh:Math.cosh||Gm,tanh:Math.tanh||Km,asinh:Math.asinh||qm,acosh:Math.acosh||Jm,atanh:Math.atanh||Ym,sqrt:Math.sqrt,cbrt:Math.cbrt||xh,log:Math.log,log2:Math.log2||wh,ln:Math.log,lg:Math.log10||Xm,log10:Math.log10||Xm,expm1:Math.expm1||Sh,log1p:Math.log1p||Ch,abs:Math.abs,ceil:Math.ceil,floor:Math.floor,round:Math.round,trunc:Math.trunc||$m,"-":Zm,"+":Number,exp:Math.exp,not:Qm,length:oh,"!":th,sign:Math.sign||yh},this.binaryOps={"+":km,"-":Am,"*":jm,"/":Mm,"%":Nm,"^":Math.pow,"||":Pm,"==":Fm,"!=":Im,">":Lm,"<":Rm,">=":zm,"<=":Bm,and:Vm,or:Hm,in:Um,"=":uh,"[":dh},this.ternaryOps={"?":ch},this.functions={random:eh,fac:th,min:ph,max:fh,hypot:Math.hypot||sh,pyt:Math.hypot||sh,pow:Math.pow,atan2:Math.atan2,if:ch,gamma:ah,roundTo:lh,map:mh,fold:hh,filter:gh,indexOf:_h,join:vh,sum:Th},this.consts={E:Math.E,PI:Math.PI,true:!0,false:!1}}Eh.prototype.parse=function(e){var t=[],n=new Tm(this,new Cm(this,e),{allowMemberAccess:this.options.allowMemberAccess});return n.parseExpression(t),n.expect(pm,`EOF`),new fm(t,this)},Eh.prototype.evaluate=function(e,t){return this.parse(e).evaluate(t)};var Dh=new Eh;Eh.parse=function(e){return Dh.parse(e)},Eh.evaluate=function(e,t){return Dh.parse(e).evaluate(t)};var Oh={"+":`add`,"-":`subtract`,"*":`multiply`,"/":`divide`,"%":`remainder`,"^":`power`,"!":`factorial`,"<":`comparison`,">":`comparison`,"<=":`comparison`,">=":`comparison`,"==":`comparison`,"!=":`comparison`,"||":`concatenate`,and:`logical`,or:`logical`,not:`logical`,"?":`conditional`,":":`conditional`,"=":`assignment`,"[":`array`,"()=":`fndef`};function kh(e){return Object.hasOwn(Oh,e)?Oh[e]:e}Eh.prototype.isOperatorEnabled=function(e){var t=kh(e),n=this.options.operators||{};return!(t in n)||!!n[t]};function Ah(e,t,n,r,i){return jh(t,((e,t)=>{let n=e[t];if(n===void 0)throw TypeError(uS(t));return n})(e,t),n,r,i)}function jh(e,t,n,r,i,a){let o=Xh(t,n,r);if(i&&t!==o)throw RangeError(cS(e,t,n,r,a));return o}function Mh(e){return e!==null&&/object|function/.test(typeof e)}function Nh(e,t=Map){let n=new t;return(t,...r)=>{if(n.has(t))return n.get(t);let i=e(t,...r);return n.set(t,i),i}}function Ph(e){return Fh({name:e},1)}function Fh(e,t){return zh((e=>({value:e,configurable:1,writable:!t})),e)}function Ih(e){return zh((e=>({get:e,configurable:1})),e)}function Lh(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function Rh(e,t){let n={},r=e.length;for(let i of t)n[e[--r]]=i;return n}function zh(e,t,n){let r={};for(let i in t)r[i]=e(t[i],i,n);return r}function Bh(e,t,n){let r={};for(let i=0;i<t.length;i++){let a=t[i];r[a]=e(a,i,n)}return r}function Vh(e,t,n){let r={};for(let i=0;i<e.length;i++)r[t[i]]=n[e[i]];return r}function Hh(e,t){let n=Object.create(null);for(let r of e)n[r]=t[r];return n}function Uh(e,t){for(let n of t)if(n in e)return 1;return 0}function Wh(e,t,n){for(let r of e)if(t[r]!==n[r])return 0;return 1}function Gh(e,t,n){let r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function H(e,...t){return(...n)=>e(...t,...n)}function Kh(e){return e[0].toUpperCase()+e.substring(1)}function qh(e){return e.slice().sort()}function Jh(e,t){return String(t).padStart(e,`0`)}function Yh(e,t){return Math.sign(e-t)}function Xh(e,t,n){return Math.min(Math.max(e,t),n)}function Zh(e,t){return[Math.floor(e/t),Qh(e,t)]}function Qh(e,t){return(e%t+t)%t}function $h(e,t){return[eg(e,t),tg(e,t)]}function eg(e,t){return Math.trunc(e/t)||0}function tg(e,t){return e%t||0}function ng(e){return Math.abs(e%1)===.5}function rg(e,t,n){let r=0,i=0;for(let a=0;a<=t;a++){let t=e[n[a]],o=cC[a],[s,c]=$h(t,sC/o);r+=c*o,i+=s}let[a,o]=$h(r,sC);return[i+a,o]}function ig(e,t,n){let r={};for(let i=t;i>=0;i--){let t=cC[i];r[n[i]]=eg(e,t),e=tg(e,t)}return r}function ag(e){if(e!==void 0)return NC(e)}function og(e){if(e!==void 0)return cg(e)}function sg(e){if(e!==void 0)return lg(e)}function cg(e){return mg(lg(e))}function lg(e){return pg(FC(e))}function ug(e,t){if(t==null)throw RangeError(uS(e));return t}function dg(e){if(!Mh(e))throw TypeError(sS);return e}function fg(e,t,n=e){if(typeof t!==e)throw TypeError(lS(n,t));return t}function pg(e,t=`number`){if(!Number.isInteger(e))throw RangeError(tS(t,e));return e||0}function mg(e,t=`number`){if(e<=0)throw RangeError(nS(t,e));return e}function hg(e){if(typeof e==`symbol`)throw TypeError(oS);return String(e)}function gg(e,t){return Mh(e)?String(e):NC(e,t)}function _g(e){if(typeof e==`string`)return BigInt(e);if(typeof e!=`bigint`)throw TypeError(aS(e));return e}function vg(e,t=`number`){if(typeof e==`bigint`)throw TypeError(iS(t));if(e=Number(e),!Number.isFinite(e))throw RangeError(rS(t,e));return e}function yg(e,t){return Math.trunc(vg(e,t))||0}function bg(e,t){return pg(vg(e,t),t)}function xg(e,t){return mg(yg(e,t),t)}function Sg(e,t){let[n,r]=$h(t,sC),i=e+n,a=Math.sign(i);return a&&a===-Math.sign(r)&&(i-=a,r+=a*sC),[i,r]}function Cg(e,t,n=1){return Sg(e[0]+t[0]*n,e[1]+t[1]*n)}function wg(e,t){return Sg(e[0],e[1]+t)}function Tg(e,t){return Cg(t,e,-1)}function Eg(e,t){return Yh(e[0],t[0])||Yh(e[1],t[1])}function Dg(e,t,n){return Eg(e,t)===-1||Eg(e,n)===1}function Og(e,t=1){let n=BigInt(sC/t);return[Number(e/n),Number(e%n)*t]}function kg(e,t=1){let[n,r]=$h(e,sC/t);return[n,r*t]}function Ag(e,t=1,n){let[r,i]=e,[a,o]=$h(i,t);return sC/t*r+(a+(n?o/t:0))}function jg(e,t,n=Zh){let[r,i]=e,[a,o]=n(i,t);return[sC/t*r+a,o]}function Mg(e){return Ah(e,`isoYear`,iw,rw,1),e.isoYear===iw?Ah(e,`isoMonth`,4,12,1):e.isoYear===rw&&Ah(e,`isoMonth`,1,9,1),e}function Ng(e){return Pg({...e,...ZC,isoHour:12}),e}function Pg(e){let t=Ah(e,`isoYear`,iw,rw,1),n=t===iw?1:t===rw?-1:0;return n&&Fg(Bg({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function Fg(e){if(!e||Dg(e,nw,tw))throw RangeError(LS);return e}function Ig(e){return rg(e,5,GC)[1]}function Lg(e){let[t,n]=Zh(e,sC);return[ig(n,5,GC),t]}function Rg(e){return jg(e,iC)}function zg(e){return Ug(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function Bg(e){let t=zg(e);if(t!==void 0){let[n,r]=$h(t,eC);return[n,r*rC+(e.isoMicrosecond||0)*nC+(e.isoNanosecond||0)]}}function Vg(e,t){let[n,r]=Lg(Ig(e)-t);return Fg(Bg({...e,isoDay:e.isoDay+r,...n}))}function Hg(...e){return Ug(...e)/tC}function Ug(...e){let[t,n]=Wg(...e),r=t.valueOf();if(!isNaN(r))return r-n*eC}function Wg(e,t=1,n=1,r=0,i=0,a=0,o=0){let s=e===iw?1:e===rw?-1:0,c=new Date;return c.setUTCHours(r,i,a,o),c.setUTCFullYear(e,t-1,n+s),[c,s]}function Gg(e,t){let[n,r]=wg(e,t);r<0&&(r+=sC,--n);let[i,a]=Zh(r,rC),[o,s]=Zh(a,nC);return Kg(n*eC+i,o,s)}function Kg(e,t=0,n=0){let r=Math.ceil(Math.max(0,Math.abs(e)-ew)/eC)*Math.sign(e),i=new Date(e-r*eC);return Rh(qC,[i.getUTCFullYear(),i.getUTCMonth()+1,i.getUTCDate()+r,i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds(),t,n])}function qg(e,t){if(t<-ew)throw RangeError(LS);let n=e.formatToParts(t),r={};for(let e of n)r[e.type]=e.value;return r}function Jg(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Yg(e,t){return[t,0]}function Xg(){return lw}function Zg(e,t){switch(t){case 2:return $g(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Qg(e){return $g(e)?366:365}function $g(e){return e%4==0&&(e%100!=0||e%400==0)}function e_(e){let[t,n]=Wg(e.isoYear,e.isoMonth,e.isoDay);return Qh(t.getUTCDay()-n,7)||7}function t_(e){return this.id===OC?(({isoYear:e})=>e<1?[`gregory-inverse`,1-e]:[`gregory`,e])(e):this.id===kC?dw(e):[]}function n_(e){let t=zg(e);if(t<uw){let{isoYear:t}=e;return t<1?[`japanese-inverse`,1-t]:[`japanese`,t]}let{era:n,eraYear:r}=Lb(qg(bT(kC),t),kC);return[n,r]}function r_(e){return i_(e),s_(e,1),e}function i_(e){return o_(e,1),e}function a_(e){return Wh(KC,e,o_(e))}function o_(e,t){let{isoYear:n}=e,r=Ah(e,`isoMonth`,1,Xg(),t);return{isoYear:n,isoMonth:r,isoDay:Ah(e,`isoDay`,1,Zg(n,r),t)}}function s_(e,t){return Rh(GC,[Ah(e,`isoHour`,0,23,t),Ah(e,`isoMinute`,0,59,t),Ah(e,`isoSecond`,0,59,t),Ah(e,`isoMillisecond`,0,999,t),Ah(e,`isoMicrosecond`,0,999,t),Ah(e,`isoNanosecond`,0,999,t)])}function c_(e){return e===void 0?0:Aw(dg(e))}function l_(e,t=0){e=b_(e);let n=jw(e),r=Mw(e,t);return[Aw(e),r,n]}function u_(e,t,n,r=9,i=0,a=4){t=b_(t);let o=Ow(t,r,i),s=__(t),c=Iw(t,a),l=Dw(t,r,i,1);return o==null?o=Math.max(n,l):T_(o,l),s=v_(s,l,1),e&&(c=(e=>e<4?(e+2)%4:e)(c)),[o,l,s,c]}function d_(e,t=6,n){let r=__(e=x_(e,fw)),i=Iw(e,7),a=Dw(e,t);return a=ug(fw,a),r=v_(r,a,void 0,n),[a,r,i]}function f_(e){return Nw(b_(e))}function p_(e,t){return h_(b_(e),t)}function m_(e){let t=w_(_w,Ew,x_(e,_w),0);if(!t)throw RangeError(lS(_w,t));return t}function h_(e,t=4){let n=y_(e);return[Iw(e,4),...g_(Dw(e,t),n)]}function g_(e,t){return e==null?[t===void 0?1:10**(9-t),t]:[cC[e],e<4?9-3*e:-1]}function __(e){let t=e[mw];return t===void 0?1:yg(t,mw)}function v_(e,t,n,r){let i=r?sC:cC[t+1];if(i){let n=cC[t];if(i%((e=jh(mw,e,1,i/n-+!r,1))*n))throw RangeError(lS(mw,e))}else e=jh(mw,e,1,n?10**9:1,1);return e}function y_(e){let t=e[hw];if(t!==void 0){if(typeof t!=`number`){if(hg(t)===`auto`)return;throw RangeError(lS(hw,t))}t=jh(hw,Math.floor(t),0,9,1)}return t}function b_(e){return e===void 0?{}:dg(e)}function x_(e,t){return typeof e==`string`?{[t]:e}:dg(e)}function S_(e){return{overflow:yw[e]}}function C_(e,t,n=9,r=0,i){let a=t[e];if(a===void 0)return i?r:void 0;if(a=hg(a),a===`auto`)return i?r:null;let o=QS[a];if(o===void 0&&(o=VC[a]),o===void 0)throw RangeError(hS(e,a,QS));return jh(e,o,r,n,1,$S),o}function w_(e,t,n,r=0){let i=n[e];if(i===void 0)return r;let a=hg(i),o=t[a];if(o===void 0)throw RangeError(hS(e,a,t));return o}function T_(e,t){if(t>e)throw RangeError(US)}function E_(e){return{branding:Uw,epochNanoseconds:e}}function D_(e,t,n){return{branding:Hw,calendar:n,timeZone:t,epochNanoseconds:e}}function O_(e,t=e.calendar){return{branding:Bw,calendar:t,...Hh(XC,e)}}function k_(e,t=e.calendar){return{branding:zw,calendar:t,...Hh(JC,e)}}function A_(e,t=e.calendar){return{branding:Lw,calendar:t,...Hh(JC,e)}}function j_(e,t=e.calendar){return{branding:Rw,calendar:t,...Hh(JC,e)}}function M_(e){return{branding:Vw,...Hh(YC,e)}}function N_(e){return{branding:Ww,sign:iy(e),...Hh(LC,e)}}function P_(e){return jg(e.epochNanoseconds,rC)[0]}function F_(e){return((e,t=1)=>{let[n,r]=e,i=Math.floor(r/t),a=sC/t;return BigInt(n)*BigInt(a)+BigInt(i)})(e.epochNanoseconds)}function I_(e){return e.epochNanoseconds}function L_(e,t,n,r,i){let a=dy(r),[o,s]=((e,t)=>{let n=t((e=x_(e,pw))[gw]),r=kw(e);return r=ug(pw,r),[r,n]})(i,e);if(!s&&Zv(Math.max(o,a),s))return R_(r,o);if(!s)throw RangeError(BS);if(!r.sign)return 0;let[c,l,u]=Kv(t,n,s),d=qv(u),f=Jv(u),p=Yv(u),m=f(l,c,r);Xv(s)||(Pg(c),Pg(m));let h=p(l,c,m,o);return Zv(o,s)?R_(h,o):((e,t,n,r,i,a,o)=>{let s=iy(e),[c,l]=z_(r,WC(n,e),n,s,i,a,o),u=B_(t,c,l);return e[IC[n]]+u*s})(h,d(m),o,l,c,d,f)}function R_(e,t){return Ag(sy(e),cC[t],1)}function z_(e,t,n,r,i,a,o){let s=IC[n],c={...t,[s]:t[s]+r},l=o(e,i,t),u=o(e,i,c);return[a(l),a(u)]}function B_(e,t,n){let r=Ag(Tg(t,n));if(!r)throw RangeError(DS);return Ag(Tg(t,e))/r}function V_(e,t){let[n,r,i]=d_(t,5,1);return E_(nv(e.epochNanoseconds,n,r,i,1))}function H_(e,t,n){let{epochNanoseconds:r,timeZone:i,calendar:a}=t,[o,s,c]=d_(n);if(o===0&&s===1)return t;let l=e(i);if(o===6)r=((e,t,n,r)=>{let[i,a]=e(Zw(n,t)),o=n.epochNanoseconds,s=Nv(t,i),c=Nv(t,a);if(Dg(o,s,c))throw RangeError(DS);return av(B_(o,s,c),r)?c:s})(Q_,l,t,c);else{let e=l.R(r);r=jv(l,q_(Gg(r,e),o,s,c),e,2,0,1)}return D_(r,i,a)}function U_(e,t){return O_(q_(e,...d_(t)),e.calendar)}function W_(e,t){let[n,r,i]=d_(t,5);var a;return M_((a=i,Y_(e,Z_(n,r),a)[0]))}function G_(e,t){let n=e(t.timeZone),[r,i]=Q_(Zw(t,n)),a=Ag(Tg(Nv(n,r),Nv(n,i)),oC,1);if(a<=0)throw RangeError(DS);return a}function K_(e,t){let{timeZone:n,calendar:r}=t;return D_(((e,t,n)=>Nv(t,e(Zw(n,t))))($_,e(n),t),n,r)}function q_(e,t,n,r){return J_(e,Z_(t,n),r)}function J_(e,t,n){let[r,i]=Y_(e,t,n);return Pg({...Gv(e,i),...r})}function Y_(e,t,n){return Lg(iv(Ig(e),t,n))}function X_(e){return iv(e,aC,7)}function Z_(e,t){return cC[e]*t}function Q_(e){let t=$_(e);return[t,Gv(t,1)]}function $_(e){return QC(6,e)}function ev(e,t,n){let r=Math.min(dy(e),6);return cy(rv(sy(e,r),t,n),r)}function tv(e,t,n,r,i,a,o,s,c,l){if(r===0&&i===1)return e;let[u,d,f]=(Zv(r,s)?Xv(s)&&r<6&&n>=6?sv:ov:cv)(e,t,n,r,i,a,o,s,c,l);return f&&r!==7&&(u=((e,t,n,r,i,a,o,s)=>{let c=iy(e);for(let l=r+1;l<=n;l++){if(l===7&&n!==7)continue;let r=WC(l,e);r[IC[l]]+=c;let u=Ag(Tg(o(s(i,a,r)),t));if(u&&Math.sign(u)!==c)break;e=r}return e})(u,d,n,Math.max(6,r),o,s,c,l)),u}function nv(e,t,n,r,i){return t===6?[iv((e=>e[0]+e[1]/sC)(e),n,r),0]:rv(e,Z_(t,n),r,i)}function rv(e,t,n,r){let[i,a]=e;r&&a<0&&(a+=sC,--i);let[o,s]=Zh(iv(a,t,n),sC);return Sg(i+o,s)}function iv(e,t,n){return av(e/t,n)*t}function av(e,t){return Gw[t](e)}function ov(e,t,n,r,i,a){let o=iy(e),s=sy(e),c=nv(s,r,i,a),l=Tg(s,c),u=Math.sign(c[0]-s[0])===o,d=cy(c,Math.min(n,6));return[{...e,...d},Cg(t,l),u]}function sv(e,t,n,r,i,a,o,s,c,l){let u=iy(e)||1,d=Ag(sy(e,5)),f=Z_(r,i),p=iv(d,f,a),[m,h]=z_(o,{...e,...UC},6,u,s,c,l),g=p-Ag(Tg(m,h)),_=0;g&&Math.sign(g)!==u?t=wg(m,p):(_+=u,p=iv(g,f,a),t=wg(h,p));let v=ly(p);return[{...e,...v,days:e.days+_},t,!!_]}function cv(e,t,n,r,i,a,o,s,c,l){let u=iy(e),d=IC[r],f=WC(r,e);r===7&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});let p=eg(e[d],i)*i;f[d]=p;let[m,h]=z_(o,f,r,i*u,s,c,l),g=p+B_(t,m,h)*u*i,_=iv(g,i,a),v=Math.sign(_-g)===u;return f[d]=_,[f,v?h:m,v]}function lv(e,t,n,r){let[i,a,o,s]=(e=>{let t=h_(e=b_(e));return[e.timeZone,...t]})(r),c=i!==void 0;return((e,t,n,r,i,a)=>{n=rv(n,i,r,1);let o=t.R(n);return yv(Gg(n,o),a)+(e?wv(X_(o)):`Z`)})(c,t(c?e(i):Kw),n.epochNanoseconds,a,o,s)}function uv(e,t,n){let[r,i,a,o,s,c]=(e=>{e=b_(e);let t=Nw(e),n=y_(e),r=Fw(e),i=Iw(e,4),a=Dw(e,4);return[t,Pw(e),r,i,...g_(a,n)]})(n);return((e,t,n,r,i,a,o,s,c,l)=>{r=rv(r,c,s,1);let u=e(n).R(r);return yv(Gg(r,u),l)+wv(X_(u),o)+((e,t)=>t===1?``:`[`+(t===2?`!`:``)+e+`]`)(n,a)+Tv(t,i)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,i,a,o,s,c)}function dv(e,t){let[n,r,i,a]=(e=>(e=b_(e),[Nw(e),...h_(e)]))(t);return o=e.calendar,s=n,c=a,yv(J_(e,i,r),c)+Tv(o,s);var o,s,c}function fv(e,t){return n=e.calendar,r=e,i=f_(t),bv(r)+Tv(n,i);var n,r,i}function pv(e,t){return _v(e.calendar,xv,e,f_(t))}function mv(e,t){return _v(e.calendar,Sv,e,f_(t))}function hv(e,t){let[n,r,i]=p_(t);return a=i,Cv(Y_(e,r,n)[0],a);var a}function gv(e,t){let[n,r,i]=p_(t,3);return r>1&&ay(e={...e,...ev(e,r,n)}),((e,t)=>{let{sign:n}=e,r=n===-1?ny(e):e,{hours:i,minutes:a}=r,[o,s]=jg(sy(r,3),iC,$h);oy(o);let c=Dv(s,t),l=t>=0||!n||c;return(n<0?`-`:``)+`P`+vv({Y:kv(r.years),M:kv(r.months),W:kv(r.weeks),D:kv(r.days)})+(i||a||o||l?`T`+vv({H:kv(i),M:kv(a),S:kv(o,l)+c}):``)})(e,i)}function _v(e,t,n,r){return r===1?e===`iso8601`?t(n):bv(n):r>1||r===0&&e!==`iso8601`?bv(n)+Ev(e,r===2):t(n)}function vv(e){let t=[];for(let n in e){let r=e[n];r&&t.push(r,n)}return t.join(``)}function yv(e,t){return bv(e)+`T`+Cv(e,t)}function bv(e){return xv(e)+`-`+ZS(e.isoDay)}function xv(e){let{isoYear:t}=e;return(t<0||t>9999?Ov(t)+Jh(6,Math.abs(t)):Jh(4,t))+`-`+ZS(e.isoMonth)}function Sv(e){return ZS(e.isoMonth)+`-`+ZS(e.isoDay)}function Cv(e,t){let n=[ZS(e.isoHour),ZS(e.isoMinute)];return t!==-1&&n.push(ZS(e.isoSecond)+((e,t,n,r)=>Dv(e*1e6+t*nC+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(`:`)}function wv(e,t=0){if(t===1)return``;let[n,r]=Zh(Math.abs(e),oC),[i,a]=Zh(r,aC),[o,s]=Zh(a,iC);return Ov(e)+ZS(n)+`:`+ZS(i)+(o||s?`:`+ZS(o)+Dv(s):``)}function Tv(e,t){return t!==1&&(t>1||t===0&&e!==`iso8601`)?Ev(e,t===2):``}function Ev(e,t){return`[`+(t?`!`:``)+`u-ca=`+e+`]`}function Dv(e,t){let n=Jh(9,e);return n=t===void 0?n.replace(Xw,``):n.slice(0,t),n?`.`+n:``}function Ov(e){return e<0?`-`:`+`}function kv(e,t){return e||t?e.toLocaleString(`fullwide`,{useGrouping:0}):``}function Av(e,t){let{epochNanoseconds:n}=e,r=(t.R?t:t(e.timeZone)).R(n),i=Gg(n,r);return{calendar:e.calendar,...i,offsetNanoseconds:r}}function jv(e,t,n,r=0,i=0,a,o){if(n!==void 0&&r===1&&(r===1||o))return Vg(t,n);let s=e.I(t);if(n!==void 0&&r!==3){let e=((e,t,n,r)=>{let i=Bg(t);r&&(n=X_(n));for(let t of e){let e=Ag(Tg(t,i));if(r&&(e=X_(e)),e===n)return t}})(s,t,n,a);if(e!==void 0)return e;if(r===0)throw RangeError(FS)}return o?Bg(t):Mv(e,t,i,s)}function Mv(e,t,n=0,r=e.I(t)){if(r.length===1)return r[0];if(n===1)throw RangeError(IS);if(r.length)return r[+(n===3)];let i=Bg(t),a=((e,t)=>{let n=e.R(wg(t,-sC));return(e=>{if(e>sC)throw RangeError(PS);return e})(e.R(wg(t,sC))-n)})(e,i)*(n===2?-1:1);return(r=e.I(Gg(i,a)))[n===2?0:r.length-1]}function Nv(e,t){let n=e.I(t);if(n.length)return n[0];let r=wg(Bg(t),-sC);return e.O(r,1)}function Pv(e,t,n){return E_(Fg(Cg(t.epochNanoseconds,(e=>{if(uy(e))throw RangeError(VS);return sy(e,5)})(e?ny(n):n))))}function Fv(e,t,n,r,i,a=Object.create(null)){let o=t(r.timeZone),s=e(r.calendar);return{...r,...Bv(o,s,r,n?ny(i):i,a)}}function Iv(e,t,n,r,i=Object.create(null)){let{calendar:a}=n;return O_(Vv(e(a),n,t?ny(r):r,i),a)}function Lv(e,t,n,r,i){let{calendar:a}=n;return k_(Hv(e(a),n,t?ny(r):r,i),a)}function Rv(e,t,n,r,i){let a=n.calendar,o=e(a),s=Ng(Uv(o,n));return t&&(r=ty(r)),r.sign<0&&(s=o.P(s,{...HC,months:1}),s=Gv(s,-1)),A_(Uv(o,o.P(s,r,i)),a)}function zv(e,t,n){return M_(Wv(t,e?ny(n):n)[0])}function Bv(e,t,n,r,i){let a=sy(r,5),o=n.epochNanoseconds;if(uy(r)){let s=Zw(n,e);o=Cg(Mv(e,{...Hv(t,s,{...r,...UC},i),...Hh(GC,s)}),a)}else o=Cg(o,a),c_(i);return{epochNanoseconds:Fg(o)}}function Vv(e,t,n,r){let[i,a]=Wv(t,n);return Pg({...Hv(e,t,{...n,...UC,days:n.days+a},r),...i})}function Hv(e,t,n,r){if(n.years||n.months||n.weeks)return e.P(t,n,r);c_(r);let i=n.days+sy(n,5)[0];return i?Ng(Gv(t,i)):t}function Uv(e,t,n=1){return Gv(t,n-e.day(t))}function Wv(e,t){let[n,r]=sy(t,5),[i,a]=Lg(Ig(e)+r);return[i,n+a]}function Gv(e,t){return t?{...e,...Kg(zg(e)+t*eC)}:e}function Kv(e,t,n){let r=e(n.calendar);return Xv(n)?[n,r,t(n.timeZone)]:[{...n,...ZC},r]}function qv(e){return e?I_:Bg}function Jv(e){return e?H(Bv,e):Vv}function Yv(e){return e?H(pb,e):mb}function Xv(e){return e&&e.epochNanoseconds}function Zv(e,t){return e<=6-!!Xv(t)}function Qv(e,t,n,r,i,a,o){let s=e(b_(o).relativeTo),c=Math.max(dy(i),dy(a));if(Zv(c,s))return N_(ay(((e,t,n,r)=>{let i=Cg(sy(e),sy(t),r?-1:1);if(!Number.isFinite(i[0]))throw RangeError(LS);return{...HC,...cy(i,n)}})(i,a,c,r)));if(!s)throw RangeError(BS);r&&(a=ny(a));let[l,u,d]=Kv(t,n,s),f=Jv(d);return N_(Yv(d)(u,l,f(u,f(u,l,i),a),c))}function $v(e,t,n,r,i){let a=dy(r),[o,s,c,l,u]=((e,t,n)=>{e=x_(e,fw);let r=Ow(e),i=n(e[gw]),a=__(e),o=Iw(e,7),s=Dw(e);if(r===void 0&&s===void 0)throw RangeError(HS);if(s??=0,r??=Math.max(s,t),T_(r,s),a=v_(a,s,1),a>1&&s>5&&r!==s)throw RangeError(`For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit`);return[r,s,a,o,i]})(i,a,e);if(!u&&Math.max(a,o)<=6)return N_(ay(((e,t,n,r,i)=>{let a=nv(sy(e),n,r,i);return{...HC,...cy(a,t)}})(r,o,s,c,l)));if(!Xv(u)&&!r.sign)return r;if(!u)throw RangeError(BS);let[d,f,p]=Kv(t,n,u),m=qv(p),h=Jv(p),g=Yv(p),_=h(f,d,r);Xv(u)||(Pg(d),Pg(_));let v=g(f,d,_,o),y=r.sign,b=iy(v);if(y&&b&&y!==b)throw RangeError(DS);return v=tv(v,m(_),o,s,c,l,f,d,m,h),N_(v)}function ey(e){return e.sign===-1?ty(e):e}function ty(e){return N_(ny(e))}function ny(e){let t={};for(let n of IC)t[n]=-1*e[n]||0;return t}function ry(e){return!e.sign}function iy(e,t=IC){let n=0;for(let r of t){let t=Math.sign(e[r]);if(t){if(n&&n!==t)throw RangeError(zS);n=t}}return n}function ay(e){for(let t of BC)jh(t,e[t],-Qw,Qw,1);return oy(Ag(sy(e),iC)),e}function oy(e){if(!Number.isSafeInteger(e))throw RangeError(RS)}function sy(e,t=6){return rg(e,t,IC)}function cy(e,t=6){let[n,r]=e,i=ig(r,t,IC);if(i[IC[t]]+=n*(sC/cC[t]),!Number.isFinite(i[IC[t]]))throw RangeError(LS);return i}function ly(e,t=5){return ig(e,t,IC)}function uy(e){return!!iy(e,zC)}function dy(e){let t=9;for(;t>0&&!e[IC[t]];t--);return t}function fy(e,t){return[e,t]}function py(e){let t=Math.floor(e/qw)*qw;return[t,t+qw]}function my(e){let t=jy(e=gg(e));if(!t)throw RangeError(WS(e));let n;if(t.j)n=0;else{if(!t.offset)throw RangeError(WS(e));n=_y(t.offset)}return t.timeZone&&Py(t.timeZone,1),E_(Vg(r_(t),n))}function hy(e){let t=jy(NC(e));if(!t)throw RangeError(WS(e));if(t.timeZone)return Dy(t,t.offset?_y(t.offset):void 0);if(t.j)throw RangeError(WS(e));return ky(t)}function gy(e,t){let n=jy(NC(e));if(!n||!n.timeZone)throw RangeError(WS(e));let{offset:r}=n,i=r?_y(r):void 0,[,a,o]=l_(t);return Dy(n,i,a,o)}function _y(e){let t=Py(e);if(t===void 0)throw RangeError(WS(e));return t}function vy(e){let t=jy(NC(e));if(!t||t.j)throw RangeError(WS(e));return O_(Oy(t))}function yy(e,t,n){let r=jy(NC(e));if(!r||r.j)throw RangeError(WS(e));return t?r.calendar===`iso8601`&&(r=r.isoYear===-271821&&r.isoMonth===4?{...r,isoDay:20,...ZC}:{...r,isoDay:1,...ZC}):n&&r.calendar===`iso8601`&&(r={...r,isoYear:cw}),k_(r.C?Oy(r):ky(r))}function by(e,t){let n=My(NC(t));if(n)return xy(n),A_(Mg(i_(n)));let r=yy(t,1);return A_(Uv(e(r.calendar),r))}function xy(e){if(e.calendar!==`iso8601`)throw RangeError(GS(e.calendar))}function Sy(e,t){let n=Ny(NC(t));if(n)return xy(n),j_(i_(n));let r=yy(t,0,1),{calendar:i}=r,a=e(i),[o,s,c]=a.v(r),[l,u]=a.q(o,s),[d,f]=a.G(l,u,c);return j_(Ng(a.V(d,f,c)),i)}function Cy(e){let t,n=(e=>{let t=dT.exec(e);return t?(Ly(t[10]),Iy(t)):void 0})(NC(e));if(!n){if(n=jy(e),!n||!n.C)throw RangeError(WS(e));if(n.j)throw RangeError(GS(`Z`));xy(n)}if((t=My(e))&&a_(t)||(t=Ny(e))&&a_(t))throw RangeError(WS(e));return M_(s_(n,1))}function wy(e){let t=(e=>{let t=mT.exec(e);return t?(e=>{function t(e,t,a){let o=0,s=0;if(a&&([o,i]=Zh(i,cC[a])),e!==void 0){if(r)throw RangeError(GS(e));s=(e=>{let t=parseInt(e);if(!Number.isFinite(t))throw RangeError(GS(e));return t})(e),n=1,t&&(i=Ry(t)*(cC[a]/iC),r=1)}return o+s}let n=0,r=0,i=0,a={...Rh(IC,[t(e[2]),t(e[3]),t(e[4]),t(e[5]),t(e[6],e[7],5),t(e[8],e[9],4),t(e[10],e[11],3)]),...ig(i,2,IC)};if(!n)throw RangeError(pS(IC));return By(e[1])<0&&(a=ny(a)),a})(t):void 0})(NC(e));if(!t)throw RangeError(WS(e));return N_(ay(t))}function Ty(e){let t=jy(e)||My(e)||Ny(e);return t?t.calendar:e}function Ey(e){let t=jy(e);return t&&(t.timeZone||t.j&&Kw||t.offset)||e}function Dy(e,t,n=0,r=0){let i=Uy(e.timeZone),a=U(i),o;return r_(e),o=e.C?jv(a,e,t,n,r,!a.$,e.j):Nv(a,e),D_(o,i,Yb(e.calendar))}function Oy(e){return Ay(Pg(r_(e)))}function ky(e){return Ay(Ng(i_(e)))}function Ay(e){return{...e,calendar:Yb(e.calendar)}}function jy(e){let t=uT.exec(e);return t?(e=>{let t=e[10],n=(t||``).toUpperCase()===`Z`;return{isoYear:Fy(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Iy(e.slice(5)),...Ly(e[16]),C:!!e[6],j:n,offset:n?void 0:t}})(t):void 0}function My(e){let t=cT.exec(e);return t?(e=>({isoYear:Fy(e),isoMonth:parseInt(e[4]),isoDay:1,...Ly(e[5])}))(t):void 0}function Ny(e){let t=lT.exec(e);return t?(e=>({isoYear:cw,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...Ly(e[3])}))(t):void 0}function Py(e,t){let n=fT.exec(e);return n?((e,t)=>{let n=e[4]||e[5];if(t&&n)throw RangeError(GS(n));return(e=>{if(Math.abs(e)>=sC)throw RangeError(NS);return e})((Vy(e[2])*oC+Vy(e[3])*aC+Vy(e[4])*iC+Ry(e[5]||``))*By(e[1]))})(n,t):void 0}function Fy(e){let t=By(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw RangeError(GS(-0));return t*n}function Iy(e){let t=Vy(e[3]);return{...Lg(Ry(e[4]||``))[0],isoHour:Vy(e[1]),isoMinute:Vy(e[2]),isoSecond:t===60?59:t}}function Ly(e){let t,n,r=[];if(e.replace(pT,((e,i,a)=>{let o=!!i,[s,c]=a.split(`=`).reverse();if(c){if(c===`u-ca`)r.push(s),t||=o;else if(o||/[A-Z]/.test(c))throw RangeError(GS(e))}else{if(n)throw RangeError(GS(e));n=s}return``})),r.length>1&&t)throw RangeError(GS(e));return{timeZone:n,calendar:r[0]||`iso8601`}}function Ry(e){return parseInt(e.padEnd(9,`0`))}function zy(e){return RegExp(`^${e}$`,`i`)}function By(e){return e&&e!==`+`?-1:1}function Vy(e){return e===void 0?0:parseInt(e)}function Hy(e){return Uy(NC(e))}function Uy(e){let t=Gy(e);return typeof t==`number`?wv(t):t?(e=>{if(_T.test(e))throw RangeError(AS(e));if(gT.test(e))throw RangeError(MS);return e.toLowerCase().split(`/`).map(((e,t)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,((e,n)=>e.length<=2&&!t||e===`in`||e===`chat`?e.toUpperCase():e.length>2||!n?Kh(e).replace(/island|noronha|murdo|rivadavia|urville/,Kh):e)))).join(`/`)})(e):Kw}function Wy(e){let t=Gy(e);return typeof t==`number`?t:t?t.resolvedOptions().timeZone:Kw}function Gy(e){let t=Py(e=e.toUpperCase(),1);return t===void 0?e===Kw?void 0:hT(e):t}function Ky(e,t){return Eg(e.epochNanoseconds,t.epochNanoseconds)}function qy(e,t){return Eg(e.epochNanoseconds,t.epochNanoseconds)}function Jy(e,t,n,r,i,a){let o=e(b_(a).relativeTo),s=Math.max(dy(r),dy(i));if(Wh(IC,r,i))return 0;if(Zv(s,o))return Eg(sy(r),sy(i));if(!o)throw RangeError(BS);let[c,l,u]=Kv(t,n,o),d=qv(u),f=Jv(u);return Eg(d(f(l,c,r)),d(f(l,c,i)))}function Yy(e,t){return Xy(e,t)||Zy(e,t)}function Xy(e,t){return Yh(zg(e),zg(t))}function Zy(e,t){return Yh(Ig(e),Ig(t))}function Qy(e,t){return!Ky(e,t)}function $y(e,t){return!qy(e,t)&&!!ab(e.timeZone,t.timeZone)&&e.calendar===t.calendar}function eb(e,t){return!Yy(e,t)&&e.calendar===t.calendar}function tb(e,t){return!Xy(e,t)&&e.calendar===t.calendar}function nb(e,t){return!Xy(e,t)&&e.calendar===t.calendar}function rb(e,t){return!Xy(e,t)&&e.calendar===t.calendar}function ib(e,t){return!Zy(e,t)}function ab(e,t){if(e===t)return 1;try{return Wy(e)===Wy(t)}catch{}}function ob(e,t,n,r){let i=u_(e,r,3,5),a=_b(t.epochNanoseconds,n.epochNanoseconds,...i);return N_(e?ny(a):a)}function sb(e,t,n,r,i,a){let o=Sb(r.calendar,i.calendar),[s,c,l,u]=u_(n,a,5),d=r.epochNanoseconds,f=i.epochNanoseconds,p=Eg(f,d),m;if(p)if(s<6)m=_b(d,f,s,c,l,u);else{let n=t(((e,t)=>{if(!ab(e,t))throw RangeError(jS);return e})(r.timeZone,i.timeZone)),d=e(o);m=hb(d,n,r,i,p,s,a),m=tv(m,f,s,c,l,u,d,r,I_,H(Bv,n))}else m=HC;return N_(n?ny(m):m)}function cb(e,t,n,r,i){let a=Sb(n.calendar,r.calendar),[o,s,c,l]=u_(t,i,6),u=Bg(n),d=Bg(r),f=Eg(d,u),p;if(f)if(o<=6)p=_b(u,d,o,s,c,l);else{let t=e(a);p=gb(t,n,r,f,o,i),p=tv(p,d,o,s,c,l,t,n,Bg,Vv)}else p=HC;return N_(t?ny(p):p)}function lb(e,t,n,r,i){let a=Sb(n.calendar,r.calendar);return db(t,(()=>e(a)),n,r,...u_(t,i,6,9,6))}function ub(e,t,n,r,i){let a=Sb(n.calendar,r.calendar),o=u_(t,i,9,9,8),s=e(a),c=Uv(s,n),l=Uv(s,r);return c.isoYear===l.isoYear&&c.isoMonth===l.isoMonth&&c.isoDay===l.isoDay?N_(HC):db(t,(()=>s),Ng(c),Ng(l),...o,8)}function db(e,t,n,r,i,a,o,s,c=6){let l=Bg(n),u=Bg(r);if(l===void 0||u===void 0)throw RangeError(LS);let d;if(Eg(u,l))if(i===6)d=_b(l,u,i,a,o,s);else{let e=t();d=e.N(n,r,i),a===c&&o===1||(d=tv(d,u,i,a,o,s,e,n,Bg,Hv))}else d=HC;return N_(e?ny(d):d)}function fb(e,t,n,r){let[i,a,o,s]=u_(e,r,5,5),c=iv(xb(t,n),Z_(a,o),s),l={...HC,...ly(c,i)};return N_(e?ny(l):l)}function pb(e,t,n,r,i,a){let o=Eg(r.epochNanoseconds,n.epochNanoseconds);return o?i<6?vb(n.epochNanoseconds,r.epochNanoseconds,i):hb(t,e,n,r,o,i,a):HC}function mb(e,t,n,r,i){let a=Bg(t),o=Bg(n),s=Eg(o,a);return s?r<=6?vb(a,o,r):gb(e,t,n,s,r,i):HC}function hb(e,t,n,r,i,a,o){let[s,c,l]=((e,t,n,r)=>{function i(){return d={...Gv(s,l++*-r),...o},f=Mv(e,d),Eg(c,f)===-r}let a=Zw(t,e),o=Hh(GC,a),s=Zw(n,e),c=n.epochNanoseconds,l=0,u=xb(a,s),d,f;if(Math.sign(u)===-r&&l++,i()&&(r===-1||i()))throw RangeError(DS);let p=Ag(Tg(f,c));return[a,d,p]})(t,n,r,i);var u,d;return{...a===6?(u=s,d=c,{...HC,days:yb(u,d)}):e.N(s,c,a,o),...ly(l)}}function gb(e,t,n,r,i,a){let[o,s,c]=((e,t,n)=>{let r=t,i=xb(e,t);return Math.sign(i)===-n&&(r=Gv(t,-n),i+=sC*n),[e,r,i]})(t,n,r);return{...e.N(o,s,i,a),...ly(c)}}function _b(e,t,n,r,i,a){return{...HC,...cy(nv(Tg(e,t),r,i,a),n)}}function vb(e,t,n){return{...HC,...cy(Tg(e,t),n)}}function yb(e,t){return bb(zg(e),zg(t))}function bb(e,t){return Math.trunc((t-e)/eC)}function xb(e,t){return Ig(t)-Ig(e)}function Sb(e,t){if(e!==t)throw RangeError(kS);return e}function Cb(e){return this.m(e)[0]}function wb(e){return this.m(e)[1]}function Tb(e){let[t]=this.v(e);return bb(this.p(t),zg(e))+1}function Eb(e){let t=vT.exec(e);if(!t)throw RangeError(CS(e));return[parseInt(t[1]),!!t[2]]}function Db(e,t){return`M`+ZS(e)+(t?`L`:``)}function Ob(e,t,n){return e+(t||n&&e>=n?1:0)}function kb(e,t){return e-(t&&e>=t?1:0)}function Ab(e,t){return(t+e)*(Math.sign(t)||1)||0}function jb(e){return AC[Nb(e)]}function Mb(e){return MC[Nb(e)]}function Nb(e){return Xb(e.id||`iso8601`)}function Pb(e){function t(e){return((e,t)=>({...Lb(e,t),o:e.month,day:parseInt(e.day)}))(qg(n,e),r)}let n=bT(e),r=Xb(e);return{id:e,h:Fb(t),l:Ib(t)}}function Fb(e){return Nh((t=>e(zg(t))),WeakMap)}function Ib(e){let t=e(0).year-sw;return Nh((n=>{let r,i=Ug(n-t),a=0,o=[],s=[];do i+=400*eC;while((r=e(i)).year<=n);do if(i+=(1-r.day)*eC,r.year===n&&(o.push(i),s.push(r.o)),i-=eC,++a>100||i<-ew)throw RangeError(DS);while((r=e(i)).year>=n);return{i:o.reverse(),u:YS(s.reverse())}}))}function Lb(e,t){let n,r,i=Rb(e);if(e.era){let a=AC[t],o=jC[t]||{};a!==void 0&&(n=t===`islamic`?`ah`:e.era.normalize(`NFD`).toLowerCase().replace(/[^a-z0-9]/g,``),n===`bc`||n===`b`?n=`bce`:n===`ad`||n===`a`?n=`ce`:n===`beforeroc`&&(n=`broc`),n=o[n]||n,r=i,i=Ab(r,a[n]||0))}return{era:n,eraYear:r,year:i}}function Rb(e){return parseInt(e.relatedYear||e.year)}function zb(e){let{year:t,o:n,day:r}=this.h(e),{u:i}=this.l(t);return[t,i[n]+1,r]}function Bb(e,t=1,n=1){return this.l(e).i[t-1]+(n-1)*eC}function Vb(e,t){let n=Hb.call(this,e);return[kb(t,n),n===t]}function Hb(e){let t=qb(this,e),n=qb(this,e-1),r=t.length;if(r>n.length){let e=Mb(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function Ub(e){return bb(Bb.call(this,e),Bb.call(this,e+1))}function Wb(e,t){let{i:n}=this.l(e),r=t+1,i=n;return r>n.length&&(r=1,i=this.l(e+1).i),bb(n[t-1],i[r-1])}function Gb(e){return this.l(e).i.length}function Kb(e){let t=this.h(e);return[t.era,t.eraYear]}function qb(e,t){return Object.keys(e.l(t).u)}function Jb(e){return Yb(NC(e))}function Yb(e){if((e=e.toLowerCase())!==`iso8601`&&e!==OC){let t=bT(e).resolvedOptions().calendar;if(Xb(e)!==Xb(t))throw RangeError(OS(e));return t}return e}function Xb(e){return e===`islamicc`&&(e=`islamic`),e.split(`-`)[0]}function Zb(e,t){return n=>n===`iso8601`?e:n===OC||n===kC?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),yT(n))}function Qb(e,t,n,r){let i=ox(n,r,CC,[],mC);if(i.timeZone!==void 0){let r=n.F(i),a=cx(i),o=e(i.timeZone);return{epochNanoseconds:jv(t(o),{...r,...a},i.offset===void 0?void 0:_y(i.offset)),timeZone:o}}return{...n.F(i),...ZC}}function $b(e,t,n,r,i,a){let o=ox(n,i,CC,fC,mC),s=e(o.timeZone),[c,l,u]=l_(a),d=n.F(o,S_(c)),f=cx(o,c);return D_(jv(t(s),{...d,...f},o.offset===void 0?void 0:_y(o.offset),l,u),s,r)}function ex(e,t,n){let r=ox(e,t,CC,[],lC),i=c_(n);return O_(Pg({...e.F(r,S_(i)),...cx(r,i)}))}function tx(e,t,n,r=[]){let i=ox(e,t,CC,r);return e.F(i,n)}function nx(e,t,n,r){let i=ox(e,t,xC,r);return e.K(i,n)}function rx(e,t,n,r){let i=ox(e,n,CC,bC);return t&&i.month!==void 0&&i.monthCode===void 0&&i.year===void 0&&(i.year=cw),e._(i,r)}function ix(e,t){return M_(cx(sx(e,uC,[],1),c_(t)))}function ax(e){let t=sx(e,LC);return N_(ay({...HC,...t}))}function ox(e,t,n,r=[],i=[]){return sx(t,[...e.fields(n),...i].sort(),r)}function sx(e,t,n,r=!n){let i={},a,o=0;for(let r of t){if(r===a)throw RangeError(fS(r));if(r===`constructor`||r===`__proto__`)throw RangeError(dS(r));let t=e[r];if(t!==void 0)o=1,DT[r]&&(t=DT[r](t,r)),i[r]=t;else if(n){if(n.includes(r))throw TypeError(uS(r));i[r]=EC[r]}a=r}if(r&&!o)throw TypeError(pS(t));return i}function cx(e,t){return s_(OT({...EC,...e}),t)}function lx(e,t,n,r,i){let{calendar:a,timeZone:o}=n,s=e(a),c=t(o),l=[...s.fields(CC),...pC].sort(),u=(e=>{let t=Zw(e,U),n=wv(t.offsetNanoseconds),r=ET(e.calendar),[i,a,o]=r.v(t),[s,c]=r.q(i,a),l=Db(s,c);return{...kT(t),year:i,monthCode:l,day:o,offset:n}})(n),d=sx(r,l),f=s.k(u,d),p={...u,...d},[m,h,g]=l_(i,2);return D_(jv(c,{...s.F(f,S_(m)),...s_(OT(p),m)},_y(p.offset),h,g),o,a)}function ux(e,t,n,r){let i=e(t.calendar),a=[...i.fields(CC),...lC].sort(),o={...xx(s=t),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;let c=sx(n,a),l=c_(r),u=i.k(o,c),d={...o,...c};return O_(Pg({...i.F(u,S_(l)),...s_(OT(d),l)}))}function dx(e,t,n,r){let i=e(t.calendar),a=i.fields(CC).sort(),o=xx(t),s=sx(n,a),c=i.k(o,s);return i.F(c,r)}function fx(e,t,n,r){let i=e(t.calendar),a=i.fields(xC).sort(),o=(e=>{let t=ET(e.calendar),[n,r]=t.v(e),[i,a]=t.q(n,r);return{year:n,monthCode:Db(i,a)}})(t),s=sx(n,a),c=i.k(o,s);return i.K(c,r)}function px(e,t,n,r){let i=e(t.calendar),a=i.fields(CC).sort(),o=(e=>{let t=ET(e.calendar),[n,r,i]=t.v(e),[a,o]=t.q(n,r);return{monthCode:Db(a,o),day:i}})(t),s=sx(n,a),c=i.k(o,s);return i._(c,r)}function mx(e,t,n){return M_(((e,t,n)=>cx({...Hh(uC,e),...sx(t,uC)},c_(n)))(e,t,n))}function hx(e,t){return N_((n=e,r=t,ay({...n,...sx(r,LC)})));var n,r}function gx(e,t,n,r,i){t=Hh(n=e.fields(n),t),r=sx(r,i=e.fields(i),[]);let a=e.k(t,r);return a=sx(a,[...n,...i].sort(),[]),e.F(a)}function _x(e,t){let n=jb(e),r=jC[e.id||``]||{},{era:i,eraYear:a,year:o}=t;if(i!==void 0||a!==void 0){if(i===void 0||a===void 0)throw TypeError(yS);if(!n)throw RangeError(vS);let e=n[r[i]||i];if(e===void 0)throw RangeError(xS(i));let t=Ab(a,e);if(o!==void 0&&o!==t)throw RangeError(bS);o=t}else if(o===void 0)throw TypeError(SS(n));return o}function vx(e,t,n,r){let{month:i,monthCode:a}=t;if(a!==void 0){let t=((e,t,n,r)=>{let i=e.L(n),[a,o]=Eb(t),s=Ob(a,o,i);if(o){let t=Mb(e);if(t===void 0)throw RangeError(ES);if(t>0){if(s>t)throw RangeError(ES);if(i===void 0){if(r===1)throw RangeError(ES);s--}}else if(s!==-t||i===void 0&&r===1)throw RangeError(ES)}return s})(e,a,n,r);if(i!==void 0&&i!==t)throw RangeError(wS);i=t,r=1}else if(i===void 0)throw TypeError(TS);return jh(`month`,i,1,e.B(n),r)}function yx(e,t,n,r,i){return Ah(t,`day`,1,e.U(r,n),i)}function bx(e,t,n,r){let i=0,a=[];for(let e of n)t[e]===void 0?a.push(e):i=1;if(Object.assign(e,t),i)for(let t of r||a)delete e[t]}function xx(e){let t=ET(e.calendar),[n,r,i]=t.v(e),[a,o]=t.q(n,r);return{year:n,monthCode:Db(a,o),day:i}}function Sx(e){return E_(Fg(Og(_g(e))))}function Cx(e,t,n,r,i=DC){return D_(Fg(Og(_g(n))),t(r),e(i))}function wx(e,t,n,r,i=0,a=0,o=0,s=0,c=0,l=0,u=DC){return O_(Pg(r_(zh(yg,Rh(qC,[t,n,r,i,a,o,s,c,l])))),e(u))}function Tx(e,t,n,r,i=DC){return k_(Ng(i_(zh(yg,{isoYear:t,isoMonth:n,isoDay:r}))),e(i))}function Ex(e,t,n,r=DC,i=1){let a=yg(t),o=yg(n),s=e(r);return A_(Mg(i_({isoYear:a,isoMonth:o,isoDay:yg(i)})),s)}function Dx(e,t,n,r=DC,i=cw){let a=yg(t),o=yg(n),s=e(r);return j_(Ng(i_({isoYear:yg(i),isoMonth:a,isoDay:o})),s)}function Ox(e=0,t=0,n=0,r=0,i=0,a=0){return M_(s_(zh(yg,Rh(GC,[e,t,n,r,i,a])),1))}function kx(e=0,t=0,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0){return N_(ay(zh(bg,Rh(IC,[e,t,n,r,i,a,o,s,c,l]))))}function Ax(e,t,n=DC){return D_(e.epochNanoseconds,t,n)}function jx(e){return E_(e.epochNanoseconds)}function Mx(e,t){return O_(Zw(t,e))}function Nx(e,t){return k_(Zw(t,e))}function Px(e,t){return M_(Zw(t,e))}function Fx(e,t,n,r){return D_(Fg(((e,t,n,r)=>{let i=(e=>jw(b_(e)))(r);return Mv(e(t),n,i)})(e,n,t,r)),n,t.calendar)}function Ix(e,t,n,r,i){let a=e(i.timeZone),o=i.plainTime,s=o===void 0?void 0:t(o),c=n(a),l;return l=s?Mv(c,{...r,...s}):Nv(c,{...r,...ZC}),D_(l,a,r.calendar)}function Lx(e,t=ZC){return O_(Pg({...e,...t}))}function Rx(e,t,n){return((e,t)=>{let n=ox(e,t,SC);return e.K(n,void 0)})(e(t.calendar),n)}function zx(e,t,n){return((e,t)=>{let n=ox(e,t,TC);return e._(n)})(e(t.calendar),n)}function Bx(e,t,n,r){return((e,t,n)=>gx(e,t,SC,dg(n),bC))(e(t.calendar),n,r)}function Vx(e,t,n,r){return((e,t,n)=>gx(e,t,TC,dg(n),_C))(e(t.calendar),n,r)}function Hx(e){return E_(Fg(kg(bg(e),rC)))}function Ux(e){return E_(Fg(Og(_g(e))))}function Wx(e,t,n){let r=new Set(n);return(i,a)=>{let o=n&&Uh(i,n);if(!Uh(i=((e,t)=>{let n={};for(let r in t)e.has(r)||(n[r]=t[r]);return n})(r,i),e)){if(a&&o)throw TypeError(`Invalid formatting options`);i={...t,...i}}return n&&(i.timeZone=Kw,[`full`,`long`].includes(i.J)&&(i.J=`medium`)),i}}function Gx(e,t=Kx,n=0){let[r,,,i]=e;return(a,o=aE,...s)=>{let c=t(i&&i(...s),a,o,r,n);return[c,...qx(e,c.resolvedOptions(),s)]}}function Kx(e,t,n,r,i){if(n=r(n,i),e){if(n.timeZone!==void 0)throw TypeError(JS);n.timeZone=e}return new aw(t,n)}function qx(e,t,n){let[,r,i]=e;return n.map((e=>(e.calendar&&((e,t,n)=>{if((n||e!==`iso8601`)&&e!==t)throw RangeError(kS)})(e.calendar,t.calendar,i),r(e,t))))}function Jx(e,t,n){let r=t.timeZone,i=e(r),a={...Zw(t,i),...n||ZC},o;return o=n?jv(i,a,a.offsetNanoseconds,2):Nv(i,a),D_(o,r,t.calendar)}function Yx(e,t=ZC){return O_(Pg({...e,...t}))}function Xx(e,t){return{...e,calendar:t}}function Zx(e,t){return{...e,timeZone:t}}function Qx(e){let t=$x();return Gg(t,e.R(t))}function $x(){return kg(Date.now(),rC)}function eS(){return mE||=new aw().resolvedOptions().timeZone}var tS=(e,t)=>`Non-integer ${e}: ${t}`,nS=(e,t)=>`Non-positive ${e}: ${t}`,rS=(e,t)=>`Non-finite ${e}: ${t}`,iS=e=>`Cannot convert bigint to ${e}`,aS=e=>`Invalid bigint: ${e}`,oS=`Cannot convert Symbol to string`,sS=`Invalid object`,cS=(e,t,n,r,i)=>i?cS(e,i[t],i[n],i[r]):lS(e,t)+`; must be between ${n}-${r}`,lS=(e,t)=>`Invalid ${e}: ${t}`,uS=e=>`Missing ${e}`,dS=e=>`Invalid field ${e}`,fS=e=>`Duplicate field ${e}`,pS=e=>`No valid fields: `+e.join(),mS=`Invalid bag`,hS=(e,t,n)=>lS(e,t)+`; must be `+Object.keys(n).join(),gS=`Cannot use valueOf`,_S=`Invalid calling context`,vS=`Forbidden era/eraYear`,yS=`Mismatching era/eraYear`,bS=`Mismatching year/eraYear`,xS=e=>`Invalid era: ${e}`,SS=e=>`Missing year`+(e?`/era/eraYear`:``),CS=e=>`Invalid monthCode: ${e}`,wS=`Mismatching month/monthCode`,TS=`Missing month/monthCode`,ES=`Invalid leap month`,DS=`Invalid protocol results`,OS=e=>lS(`Calendar`,e),kS=`Mismatching Calendars`,AS=e=>lS(`TimeZone`,e),jS=`Mismatching TimeZones`,MS=`Forbidden ICU TimeZone`,NS=`Out-of-bounds offset`,PS=`Out-of-bounds TimeZone gap`,FS=`Invalid TimeZone offset`,IS=`Ambiguous offset`,LS=`Out-of-bounds date`,RS=`Out-of-bounds duration`,zS=`Cannot mix duration signs`,BS=`Missing relativeTo`,VS=`Cannot use large units`,HS=`Required smallestUnit or largestUnit`,US=`smallestUnit > largestUnit`,WS=e=>`Cannot parse: ${e}`,GS=e=>`Invalid substring: ${e}`,KS=e=>`Cannot format ${e}`,qS=`Mismatching types for formatting`,JS=`Cannot specify TimeZone`,YS=H(Bh,((e,t)=>t)),XS=H(Bh,((e,t,n)=>n)),ZS=H(Jh,2),QS={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},$S=Object.keys(QS),eC=864e5,tC=1e3,nC=1e3,rC=1e6,iC=1e9,aC=6e10,oC=36e11,sC=864e11,cC=[1,nC,rC,iC,aC,oC,sC],lC=$S.slice(0,6),uC=qh(lC),dC=[`offset`],fC=[`timeZone`],pC=lC.concat(dC),mC=pC.concat(fC),hC=[`era`,`eraYear`],gC=hC.concat([`year`]),_C=[`year`],vC=[`monthCode`],yC=[`month`].concat(vC),bC=[`day`],xC=yC.concat(_C),SC=vC.concat(_C),CC=bC.concat(xC),wC=bC.concat(yC),TC=bC.concat(vC),EC=XS(lC,0),DC=`iso8601`,OC=`gregory`,kC=`japanese`,AC={[OC]:{"gregory-inverse":-1,gregory:0},[kC]:{"japanese-inverse":-1,japanese:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethiopic:{ethioaa:0,ethiopic:5500},coptic:{"coptic-inverse":-1,coptic:0},roc:{"roc-inverse":-1,roc:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},jC={[OC]:{bce:`gregory-inverse`,ce:`gregory`},[kC]:{bce:`japanese-inverse`,ce:`japanese`},ethiopic:{era0:`ethioaa`,era1:`ethiopic`},coptic:{era0:`coptic-inverse`,era1:`coptic`},roc:{broc:`roc-inverse`,minguo:`roc`}},MC={chinese:13,dangi:13,hebrew:-6},NC=H(fg,`string`),PC=H(fg,`boolean`),FC=H(fg,`number`),IC=$S.map((e=>e+`s`)),LC=qh(IC),RC=IC.slice(0,6),zC=IC.slice(6),BC=zC.slice(1),VC=YS(IC),HC=XS(IC,0),UC=XS(RC,0),WC=H(Gh,IC),GC=[`isoNanosecond`,`isoMicrosecond`,`isoMillisecond`,`isoSecond`,`isoMinute`,`isoHour`],KC=[`isoDay`,`isoMonth`,`isoYear`],qC=GC.concat(KC),JC=qh(KC),YC=qh(GC),XC=qh(qC),ZC=XS(YC,0),QC=H(Gh,qC),$C=1e8,ew=$C*eC,tw=[$C,0],nw=[-1e8,0],rw=275760,iw=-271821,aw=Intl.DateTimeFormat,ow=`en-GB`,sw=1970,cw=1972,lw=12,uw=Ug(1868,9,8),dw=Nh(n_,WeakMap),fw=`smallestUnit`,pw=`unit`,mw=`roundingIncrement`,hw=`fractionalSecondDigits`,gw=`relativeTo`,_w=`direction`,vw={constrain:0,reject:1},yw=Object.keys(vw),bw={compatible:0,reject:1,earlier:2,later:3},xw={reject:0,use:1,prefer:2,ignore:3},Sw={auto:0,never:1,critical:2,always:3},Cw={auto:0,never:1,critical:2},ww={auto:0,never:1},Tw={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Ew={previous:-1,next:1},Dw=H(C_,fw),Ow=H(C_,`largestUnit`),kw=H(C_,pw),Aw=H(w_,`overflow`,vw),jw=H(w_,`disambiguation`,bw),Mw=H(w_,`offset`,xw),Nw=H(w_,`calendarName`,Sw),Pw=H(w_,`timeZoneName`,Cw),Fw=H(w_,`offset`,ww),Iw=H(w_,`roundingMode`,Tw),Lw=`PlainYearMonth`,Rw=`PlainMonthDay`,zw=`PlainDate`,Bw=`PlainDateTime`,Vw=`PlainTime`,Hw=`ZonedDateTime`,Uw=`Instant`,Ww=`Duration`,Gw=[Math.floor,e=>ng(e)?Math.floor(e):Math.round(e),Math.ceil,e=>ng(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>ng(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>ng(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],Kw=`UTC`,qw=5184e3,Jw=Hg(1847),Yw=Hg(new Date().getUTCFullYear()+10),Xw=/0+$/,Zw=Nh(Av,WeakMap),Qw=2**32-1,U=Nh((e=>{let t=Gy(e);return typeof t==`object`?new eT(t):new $w(t||0)})),$w=class{constructor(e){this.$=e}R(){return this.$}I(e){return(e=>{let t=Bg({...e,...ZC});if(!t||Math.abs(t[0])>1e8)throw RangeError(LS)})(e),[Vg(e,this.$)]}O(){}},eT=class{constructor(e){this.nn=(e=>{function t(e){let[t,s]=py(Xh(e,a,o)),c=r(t),l=r(s);return c===l?c:n(i(t,s),c,l,e)}function n(t,n,r,i){let a,o;for(;(i===void 0||(a=i<t[0]?n:i>=t[1]?r:void 0)===void 0)&&(o=t[1]-t[0]);){let n=t[0]+Math.floor(o/2);e(n)===r?t[1]=n:t[0]=n+1}return a}let r=Nh(e),i=Nh(fy),a=Jw,o=Yw;return{tn(e){let n=t(e-86400),r=t(e+86400),i=e-n,a=e-r;if(n===r)return[i];let o=t(i);return o===t(a)?[e-o]:n>r?[i,a]:[]},rn:t,O(e,t){let s=Xh(e,a,o),[c,l]=py(s),u=qw*t,d=t<0?()=>l>a||(a=s,0):()=>c<o||(o=s,0);for(;d();){let a=r(c),o=r(l);if(a!==o){let r=i(c,l);n(r,a,o);let s=r[0];if((Yh(s,e)||1)===t)return s}c+=u,l+=u}}}})((e=>t=>{let n=qg(e,t*tC);return Hg(Rb(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}R(e){return this.nn.rn((e=>Rg(e)[0])(e))*iC}I(e){let[t,n]=[Hg((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*rC+r.isoMicrosecond*nC+r.isoNanosecond];var r;return this.nn.tn(t).map((e=>Fg(wg(kg(e,iC),n))))}O(e,t){let[n,r]=Rg(e),i=this.nn.O(n+(t>0||r?1:0),t);if(i!==void 0)return kg(i,iC)}},tT=`([+-])`,nT=`(?:[.,](\\d{1,9}))?`,rT=`(?:(?:${tT}(\\d{6}))|(\\d{4}))-?(\\d{2})`,iT=`([+-])(\\d{2})(?::?(\\d{2})(?::?(\\d{2})(?:[.,](\\d{1,9}))?)?)?`,aT=rT+`-?(\\d{2})(?:[T ](\\d{2})(?::?(\\d{2})(?::?(\\d{2})(?:[.,](\\d{1,9}))?)?)?(Z|([+-])(\\d{2})(?::?(\\d{2})(?::?(\\d{2})(?:[.,](\\d{1,9}))?)?)?)?)?`,oT=`\\[(!?)([^\\]]*)\\]`,sT=`((?:${oT}){0,9})`,cT=zy(rT+sT),lT=zy(`(?:--)?(\\d{2})-?(\\d{2})`+sT),uT=zy(aT+sT),dT=zy(`T?(\\d{2})(?::?(\\d{2})(?::?(\\d{2})(?:[.,](\\d{1,9}))?)?)?(?:([+-])(\\d{2})(?::?(\\d{2})(?::?(\\d{2})(?:[.,](\\d{1,9}))?)?)?)?`+sT),fT=zy(iT),pT=new RegExp(oT,`g`),mT=zy(`${tT}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${nT}H)?(?:(\\d+)${nT}M)?(?:(\\d+)${nT}S)?)?`),hT=Nh((e=>new aw(ow,{timeZone:e,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}))),gT=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,_T=/[^\w\/:+-]+/,vT=/^M(\d{2})(L?)$/,yT=Nh(Pb),bT=Nh((e=>new aw(ow,{calendar:e,timeZone:Kw,era:`short`,year:`numeric`,month:`short`,day:`numeric`}))),xT={P(e,t,n){let r=c_(n),i,{years:a,months:o,weeks:s,days:c}=t;if(c+=sy(t,5)[0],a||o)i=((e,t,n,r,i)=>{let[a,o,s]=e.v(t);if(n){let[t,r]=e.q(a,o);a+=n,o=Ob(t,r,e.L(a)),o=jh(`month`,o,1,e.B(a),i)}return r&&([a,o]=e.un(a,o,r)),s=jh(`day`,s,1,e.U(a,o),i),e.p(a,o,s)})(this,e,a,o,r);else{if(!s&&!c)return e;i=zg(e)}if(i===void 0)throw RangeError(LS);return i+=(7*s+c)*eC,Ng(Kg(i))},N(e,t,n){if(n<=7){let r=0,i=yb({...e,...ZC},{...t,...ZC});return n===7&&([r,i]=$h(i,7)),{...HC,weeks:r,days:i}}let r=this.v(e),i=this.v(t),[a,o,s]=((e,t,n,r,i,a,o)=>{let s=i-t,c=a-n,l=o-r;if(s||c){let u=Math.sign(s||c),d=e.U(i,a),f=0;if(Math.sign(l)===-u){let r=d;[i,a]=e.un(i,a,-u),s=i-t,c=a-n,d=e.U(i,a),f=u<0?-r:d}if(l=o-Math.min(r,d)+f,s){let[r,o]=e.q(t,n),[l,d]=e.q(i,a);if(c=l-r||Number(d)-Number(o),Math.sign(c)===-u){let n=u<0&&-e.B(i);s=(i-=u)-t,c=a-Ob(r,o,e.L(i))+(n||e.B(i))}}}return[s,c,l]})(this,...r,...i);return n===8&&(o+=this.cn(a,r[0]),a=0),{...HC,years:a,months:o,days:s}},F(e,t){let n=c_(t),r=_x(this,e),i=vx(this,e,r,n),a=yx(this,e,i,r,n);return k_(Ng(this.V(r,i,a)),this.id||`iso8601`)},K(e,t){let n=c_(t),r=_x(this,e),i=vx(this,e,r,n);return A_(Mg(this.V(r,i,1)),this.id||`iso8601`)},_(e,t){let n=c_(t),r,i,a,o=e.eraYear!==void 0||e.year!==void 0?_x(this,e):void 0,s=!this.id;if(o===void 0&&s&&(o=cw),o!==void 0){let t=vx(this,e,o,n);r=yx(this,e,t,o,n);let s=this.L(o);i=kb(t,s),a=t===s}else{if(e.monthCode===void 0)throw TypeError(TS);if([i,a]=Eb(e.monthCode),this.id&&this.id!==OC&&this.id!==kC)if(this.id&&Xb(this.id)===`coptic`&&n===0){let t=a||i!==13?30:6;r=e.day,r=Xh(r,1,t)}else if(this.id&&Xb(this.id)===`chinese`&&n===0){let t=!a||i!==1&&i!==9&&i!==10&&i!==11&&i!==12?30:29;r=e.day,r=Xh(r,1,t)}else r=e.day;else r=yx(this,e,vx(this,e,cw,n),cw,n)}let c=this.G(i,a,r);if(!c)throw RangeError(`Cannot guess year`);let[l,u]=c;return j_(Ng(this.V(l,u,r)),this.id||`iso8601`)},fields(e){return jb(this)&&e.includes(`year`)?[...e,...hC]:e},k(e,t){let n=Object.assign(Object.create(null),e);return bx(n,t,yC),jb(this)&&(bx(n,t,gC),this.id===kC&&bx(n,t,wC,hC)),n},inLeapYear(e){let[t]=this.v(e);return this.sn(t)},monthsInYear(e){let[t]=this.v(e);return this.B(t)},daysInMonth(e){let[t,n]=this.v(e);return this.U(t,n)},daysInYear(e){let[t]=this.v(e);return this.fn(t)},dayOfYear:Tb,era(e){return this.hn(e)[0]},eraYear(e){return this.hn(e)[1]},monthCode(e){let[t,n]=this.v(e),[r,i]=this.q(t,n);return Db(r,i)},dayOfWeek:e_,daysInWeek(){return 7}},ST={v:Jg,hn:t_,q:Yg},CT=Object.assign({},xT,Object.assign({},{dayOfYear:Tb,v:Jg,p:Ug},{weekOfYear:Cb,yearOfWeek:wb,m(e){function t(e){return(7-e<r?7:0)-e}function n(e){let n=Qg(f+e),r=e||1;return u=(n+(t(Qh(c+n*r,7))-l)*r)/7}let r=this.id?1:4,i=e_(e),a=this.dayOfYear(e),o=Qh(i-1,7),s=a-1,c=Qh(o-s,7),l=t(c),u,d=Math.floor((s-l)/7)+1,f=e.isoYear;return d?d>n(0)&&(d=1,f++):(d=n(-1),f--),[d,f,u]}}),{v:Jg,hn:t_,q:Yg,G(e,t){if(!t)return[cw,e]},sn:$g,L(){},B:Xg,cn:e=>e*lw,U:Zg,fn:Qg,V:(e,t,n)=>({isoYear:e,isoMonth:t,isoDay:n}),p:Ug,un:(e,t,n)=>(e+=eg(n,lw),(t+=tg(n,lw))<1?(e--,t+=lw):t>lw&&(e++,t-=lw),[e,t]),year(e){return e.isoYear},month(e){return e.isoMonth},day:e=>e.isoDay}),wT={v:zb,hn:Kb,q:Vb},TT=Object.assign({},xT,{dayOfYear:Tb,v:zb,p:Bb,weekOfYear:Cb,yearOfWeek:wb,m(){return[]}},{v:zb,hn:Kb,q:Vb,G(e,t,n){let r=this.id&&Xb(this.id)===`chinese`?((e,t,n)=>{if(t)switch(e){case 1:return 1651;case 2:return n<30?1947:1765;case 3:return n<30?1966:1955;case 4:return n<30?1963:1944;case 5:return n<30?1971:1952;case 6:return n<30?1960:1941;case 7:return n<30?1968:1938;case 8:return n<30?1957:1718;case 9:return 1832;case 10:return 1870;case 11:return 1814;case 12:return 1890}return 1972})(e,t,n):cw,[i,a,o]=zb.call(this,{isoYear:r,isoMonth:lw,isoDay:31}),s=Hb.call(this,i),c=a===s;(Yh(e,kb(a,s))||Yh(Number(t),Number(c))||Yh(n,o))===1&&i--;for(let r=0;r<100;r++){let a=i-r,o=Hb.call(this,a),s=Ob(e,t,o);if(t===(s===o)&&n<=Wb.call(this,a,s))return[a,s]}},sn(e){let t=Ub.call(this,e);return t>Ub.call(this,e-1)&&t>Ub.call(this,e+1)},L:Hb,B:Gb,cn(e,t){let n=t+e,r=Math.sign(e),i=r<0?-1:0,a=0;for(let e=t;e!==n;e+=r)a+=Gb.call(this,e+i);return a},U:Wb,fn:Ub,V(e,t,n){return Kg(Bb.call(this,e,t,n))},p:Bb,un(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw RangeError(LS);if(n<0)for(;t<1;)t+=Gb.call(this,--e);else{let n;for(;t>(n=Gb.call(this,e));)t-=n,e++}}return[e,t]},year(e){return this.h(e).year},month(e){let{year:t,o:n}=this.h(e),{u:r}=this.l(t);return r[n]+1},day(e){return this.h(e).day}}),ET=Zb(ST,wT),W=Zb(CT,TT),DT={era:gg,eraYear:yg,year:yg,month:xg,monthCode(e){let t=gg(e);return Eb(t),t},day:xg,...XS(lC,yg),...XS(IC,bg),offset(e){let t=gg(e);return _y(t),t}},OT=H(Vh,lC,GC),kT=H(Vh,GC,lC),AT=`numeric`,jT=[`timeZoneName`],MT={month:AT,day:AT},NT={year:AT,month:AT},PT=Object.assign({},NT,{day:AT}),FT={hour:AT,minute:AT,second:AT},IT=Object.assign({},PT,FT),LT=Object.assign({},IT,{timeZoneName:`short`}),RT=Object.keys(NT),zT=Object.keys(MT),BT=Object.keys(PT),VT=Object.keys(FT),HT=[`dateStyle`],UT=RT.concat(HT),WT=zT.concat(HT),GT=BT.concat(HT,[`weekday`]),KT=VT.concat([`dayPeriod`,`timeStyle`,`fractionalSecondDigits`]),qT=GT.concat(KT),JT=jT.concat(KT),YT=jT.concat(GT),XT=jT.concat([`day`,`weekday`],KT),ZT=jT.concat([`year`,`weekday`],KT),QT=Wx(qT,IT),$T=Wx(qT,LT),eE=Wx(qT,IT,jT),tE=Wx(GT,PT,JT),nE=Wx(KT,FT,YT),rE=Wx(UT,NT,XT),iE=Wx(WT,MT,ZT),aE={},oE=new aw(void 0,{calendar:DC}).resolvedOptions().calendar===DC,sE=[QT,P_],cE=[$T,P_,0,(e,t)=>{let n=e.timeZone;if(t&&t.timeZone!==n)throw RangeError(jS);return n}],lE=[eE,zg],uE=[tE,zg],dE=[nE,e=>Ig(e)/rC],fE=[rE,zg,oE],pE=[iE,zg,oE],mE;function hE(e,t,n,r,i){function a(...e){if(!(this instanceof a))throw TypeError(_S);VE(this,t(...e))}function o(e,t){return Object.defineProperties((function(...t){return e.call(this,s(this),...t)}),Ph(t))}function s(t){let n=BE(t);if(!n||n.branding!==e)throw TypeError(_S);return n}return Object.defineProperties(a.prototype,{...Ih(zh(o,n)),...Fh(zh(o,r)),...Lh(`Temporal.`+e)}),Object.defineProperties(a,{...Fh(i),...Ph(e)}),[a,e=>{let t=Object.create(a.prototype);return VE(t,e),t},s]}function gE(e){if(BE(e)||e.calendar!==void 0||e.timeZone!==void 0)throw TypeError(mS);return e}function _E(e){return vE(e)||`iso8601`}function vE(e){let{calendar:t}=e;if(t!==void 0)return yE(t)}function yE(e){if(Mh(e)){let{calendar:t}=BE(e)||{};if(!t)throw TypeError(OS(e));return t}return(e=>Yb(Ty(NC(e))))(e)}function bE(e){let t={};for(let n in e)t[n]=e=>{let{calendar:t}=e;return W(t)[n](e)};return t}function xE(){throw TypeError(gS)}function SE(e){if(Mh(e)){let{timeZone:t}=BE(e)||{};if(!t)throw TypeError(AS(e));return t}return(e=>Uy(Ey(NC(e))))(e)}function CE(e){if(Mh(e)){let t=BE(e);return t&&t.branding===`Duration`?t:ax(e)}return wy(e)}function wE(e){if(e!==void 0){if(Mh(e)){let t=BE(e)||{};switch(t.branding){case Hw:case zw:return t;case Bw:return k_(t)}let n=_E(e);return{...Qb(SE,U,W(n),e),calendar:n}}return hy(e)}}function TE(e,t){if(Mh(e)){let n=BE(e)||{};switch(n.branding){case Vw:return c_(t),n;case Bw:return c_(t),M_(n);case Hw:return c_(t),Px(U,n)}return ix(e,t)}let n=Cy(e);return c_(t),n}function EE(e){return e===void 0?void 0:TE(e)}function DE(e,t){if(Mh(e)){let n=BE(e)||{};switch(n.branding){case Bw:return c_(t),n;case zw:return c_(t),O_({...n,...ZC});case Hw:return c_(t),Mx(U,n)}return ex(W(_E(e)),e,t)}let n=vy(e);return c_(t),n}function OE(e,t){if(Mh(e)){let n=BE(e);if(n&&n.branding===`PlainMonthDay`)return c_(t),n;let r=vE(e);return rx(W(r||`iso8601`),!r,e,t)}let n=Sy(W,e);return c_(t),n}function kE(e,t){if(Mh(e)){let n=BE(e);return n&&n.branding===`PlainYearMonth`?(c_(t),n):nx(W(_E(e)),e,t)}let n=by(W,e);return c_(t),n}function AE(e,t){if(Mh(e)){let n=BE(e)||{};switch(n.branding){case zw:return c_(t),n;case Bw:return c_(t),k_(n);case Hw:return c_(t),Nx(U,n)}return tx(W(_E(e)),e,t)}let n=yy(e);return c_(t),n}function jE(e,t){if(Mh(e)){let n=BE(e);if(n&&n.branding===`ZonedDateTime`)return l_(t),n;let r=_E(e);return $b(SE,U,W(r),r,e,t)}return gy(e,t)}function ME(e){return zh((e=>t=>e(NE(t))),e)}function NE(e){return Zw(e,U)}function PE(e){if(Mh(e)){let t=BE(e);if(t)switch(t.branding){case Uw:return t;case Hw:return E_(t.epochNanoseconds)}}return my(e)}function FE(){function e(e,n){return new t(e,n)}function t(e,t=Object.create(null)){AD.set(this,((e,t)=>{let n=new aw(e,t),r=n.resolvedOptions(),i=r.locale,a=Hh(Object.keys(t),r),o=Nh(RE),s=(e,...t)=>{if(e){if(t.length!==2)throw TypeError(qS);for(let e of t)if(e===void 0)throw TypeError(qS)}e||t[0]!==void 0||(t=[]);let r=t.map((e=>BE(e)||Number(e))),s,c=0;for(let e of r){let t=typeof e==`object`?e.branding:void 0;if(c++&&t!==s)throw TypeError(qS);s=t}return s?o(s)(i,a,...r):[n,...r]};return s.X=n,s})(e,t))}let n=aw.prototype,r=Object.getOwnPropertyDescriptors(n),i=Object.getOwnPropertyDescriptors(aw);for(let t in r){let n=r[t],i=t.startsWith(`format`)&&IE(t);typeof n.value==`function`?n.value=t===`constructor`?e:i||LE(t):i&&(n.get=function(){if(!AD.has(this))throw TypeError(`Invalid calling context`);return(...e)=>i.apply(this,e)},Object.defineProperties(n.get,Ph(`get ${t}`)))}return i.prototype.value=t.prototype=Object.create({},r),Object.defineProperties(e,i),e}function IE(e){return Object.defineProperties((function(...t){let[n,...r]=AD.get(this)(e.includes(`Range`),...t);return n[e](...r)}),Ph(e))}function LE(e){return Object.defineProperties((function(...t){return AD.get(this).X[e](...t)}),Ph(e))}function RE(e){let t=tD[e];if(!t)throw TypeError(KS(e));return Gx(t,Nh(Kx),1)}var zE=new WeakMap,BE=zE.get.bind(zE),VE=zE.set.bind(zE),HE={era:ag,eraYear:sg,year:lg,month:cg,daysInMonth:cg,daysInYear:cg,inLeapYear:PC,monthsInYear:cg},UE={monthCode:NC},WE={day:cg},GE=bE(Object.assign({},HE,UE,WE,{dayOfWeek:cg,dayOfYear:cg,weekOfYear:og,yearOfWeek:sg,daysInWeek:cg})),KE=bE({...HE,...UE}),qE=bE({...UE,...WE}),JE={calendarId:e=>e.calendar},YE=Bh((e=>t=>t[e]),IC.concat(`sign`)),XE=Bh(((e,t)=>e=>e[GC[t]]),lC),ZE={epochMilliseconds:P_,epochNanoseconds:F_},[QE,$E,eD]=hE(Ww,kx,{...YE,blank:ry},{with:(e,t)=>$E(hx(e,t)),negated:e=>$E(ty(e)),abs:e=>$E(ey(e)),add:(e,t,n)=>$E(Qv(wE,W,U,0,e,CE(t),n)),subtract:(e,t,n)=>$E(Qv(wE,W,U,1,e,CE(t),n)),round:(e,t)=>$E($v(wE,W,U,e,t)),total:(e,t)=>L_(wE,W,U,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):gv(e)},toString:gv,toJSON:e=>gv(e),valueOf:xE},{from:e=>$E(CE(e)),compare:(e,t,n)=>Jy(wE,W,U,CE(e),CE(t),n)}),tD={Instant:sE,PlainDateTime:lE,PlainDate:uE,PlainTime:dE,PlainYearMonth:fE,PlainMonthDay:pE},nD=Gx(sE),rD=Gx(cE),iD=Gx(lE),aD=Gx(uE),oD=Gx(dE),sD=Gx(fE),cD=Gx(pE),[lD,uD]=hE(Vw,Ox,XE,{with(e,t,n){return uD(mx(this,gE(t),n))},add:(e,t)=>uD(zv(0,e,CE(t))),subtract:(e,t)=>uD(zv(1,e,CE(t))),until:(e,t,n)=>$E(fb(0,e,TE(t),n)),since:(e,t,n)=>$E(fb(1,e,TE(t),n)),round:(e,t)=>uD(W_(e,t)),equals:(e,t)=>ib(e,TE(t)),toLocaleString(e,t,n){let[r,i]=oD(t,n,e);return r.format(i)},toString:hv,toJSON:e=>hv(e),valueOf:xE},{from:(e,t)=>uD(TE(e,t)),compare:(e,t)=>Zy(TE(e),TE(t))}),[dD,fD]=hE(Bw,H(wx,Jb),{...JE,...GE,...XE},{with:(e,t,n)=>fD(ux(W,e,gE(t),n)),withCalendar:(e,t)=>fD(Xx(e,yE(t))),withPlainTime:(e,t)=>fD(Yx(e,EE(t))),add:(e,t,n)=>fD(Iv(W,0,e,CE(t),n)),subtract:(e,t,n)=>fD(Iv(W,1,e,CE(t),n)),until:(e,t,n)=>$E(cb(W,0,e,DE(t),n)),since:(e,t,n)=>$E(cb(W,1,e,DE(t),n)),round:(e,t)=>fD(U_(e,t)),equals:(e,t)=>eb(e,DE(t)),toZonedDateTime:(e,t,n)=>CD(Fx(U,e,SE(t),n)),toPlainDate:e=>bD(k_(e)),toPlainTime:e=>uD(M_(e)),toLocaleString(e,t,n){let[r,i]=iD(t,n,e);return r.format(i)},toString:dv,toJSON:e=>dv(e),valueOf:xE},{from:(e,t)=>fD(DE(e,t)),compare:(e,t)=>Yy(DE(e),DE(t))}),[pD,mD,hD]=hE(Rw,H(Dx,Jb),{...JE,...qE},{with:(e,t,n)=>mD(px(W,e,gE(t),n)),equals:(e,t)=>rb(e,OE(t)),toPlainDate(e,t){return bD(Vx(W,e,this,t))},toLocaleString(e,t,n){let[r,i]=cD(t,n,e);return r.format(i)},toString:mv,toJSON:e=>mv(e),valueOf:xE},{from:(e,t)=>mD(OE(e,t))}),[gD,_D,vD]=hE(Lw,H(Ex,Jb),{...JE,...KE},{with:(e,t,n)=>_D(fx(W,e,gE(t),n)),add:(e,t,n)=>_D(Rv(W,0,e,CE(t),n)),subtract:(e,t,n)=>_D(Rv(W,1,e,CE(t),n)),until:(e,t,n)=>$E(ub(W,0,e,kE(t),n)),since:(e,t,n)=>$E(ub(W,1,e,kE(t),n)),equals:(e,t)=>nb(e,kE(t)),toPlainDate(e,t){return bD(Bx(W,e,this,t))},toLocaleString(e,t,n){let[r,i]=sD(t,n,e);return r.format(i)},toString:pv,toJSON:e=>pv(e),valueOf:xE},{from:(e,t)=>_D(kE(e,t)),compare:(e,t)=>Xy(kE(e),kE(t))}),[yD,bD,xD]=hE(zw,H(Tx,Jb),{...JE,...GE},{with:(e,t,n)=>bD(dx(W,e,gE(t),n)),withCalendar:(e,t)=>bD(Xx(e,yE(t))),add:(e,t,n)=>bD(Lv(W,0,e,CE(t),n)),subtract:(e,t,n)=>bD(Lv(W,1,e,CE(t),n)),until:(e,t,n)=>$E(lb(W,0,e,AE(t),n)),since:(e,t,n)=>$E(lb(W,1,e,AE(t),n)),equals:(e,t)=>tb(e,AE(t)),toZonedDateTime(e,t){return CD(Ix(SE,TE,U,e,Mh(t)?t:{timeZone:t}))},toPlainDateTime:(e,t)=>fD(Lx(e,EE(t))),toPlainYearMonth(e){return _D(Rx(W,e,this))},toPlainMonthDay(e){return mD(zx(W,e,this))},toLocaleString(e,t,n){let[r,i]=aD(t,n,e);return r.format(i)},toString:fv,toJSON:e=>fv(e),valueOf:xE},{from:(e,t)=>bD(AE(e,t)),compare:(e,t)=>Xy(AE(e),AE(t))}),[SD,CD]=hE(Hw,H(Cx,Jb,Hy),{...ZE,...JE,...ME(GE),...ME(XE),offset:e=>wv(NE(e).offsetNanoseconds),offsetNanoseconds:e=>NE(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>G_(U,e)},{with:(e,t,n)=>CD(lx(W,U,e,gE(t),n)),withCalendar:(e,t)=>CD(Xx(e,yE(t))),withTimeZone:(e,t)=>CD(Zx(e,SE(t))),withPlainTime:(e,t)=>CD(Jx(U,e,EE(t))),add:(e,t,n)=>CD(Fv(W,U,0,e,CE(t),n)),subtract:(e,t,n)=>CD(Fv(W,U,1,e,CE(t),n)),until:(e,t,n)=>$E(N_(sb(W,U,0,e,jE(t),n))),since:(e,t,n)=>$E(N_(sb(W,U,1,e,jE(t),n))),round:(e,t)=>CD(H_(U,e,t)),startOfDay:e=>CD(K_(U,e)),equals:(e,t)=>$y(e,jE(t)),toInstant:e=>TD(jx(e)),toPlainDateTime:e=>fD(Mx(U,e)),toPlainDate:e=>bD(Nx(U,e)),toPlainTime:e=>uD(Px(U,e)),toLocaleString(e,t,n={}){let[r,i]=rD(t,n,e);return r.format(i)},toString:(e,t)=>uv(U,e,t),toJSON:e=>uv(U,e),valueOf:xE,getTimeZoneTransition(e,t){let{timeZone:n,epochNanoseconds:r}=e,i=m_(t),a=U(n).O(r,i);return a?CD({...e,epochNanoseconds:a}):null}},{from:(e,t)=>CD(jE(e,t)),compare:(e,t)=>qy(jE(e),jE(t))}),[wD,TD,ED]=hE(Uw,Sx,ZE,{add:(e,t)=>TD(Pv(0,e,CE(t))),subtract:(e,t)=>TD(Pv(1,e,CE(t))),until:(e,t,n)=>$E(ob(0,e,PE(t),n)),since:(e,t,n)=>$E(ob(1,e,PE(t),n)),round:(e,t)=>TD(V_(e,t)),equals:(e,t)=>Qy(e,PE(t)),toZonedDateTimeISO:(e,t)=>CD(Ax(e,SE(t))),toLocaleString(e,t,n){let[r,i]=nD(t,n,e);return r.format(i)},toString:(e,t)=>lv(SE,U,e,t),toJSON:e=>lv(SE,U,e),valueOf:xE},{from:e=>TD(PE(e)),fromEpochMilliseconds:e=>TD(Hx(e)),fromEpochNanoseconds:e=>TD(Ux(e)),compare:(e,t)=>Ky(PE(e),PE(t))}),DD=Object.defineProperties({},{...Lh(`Temporal.Now`),...Fh({timeZoneId:()=>eS(),instant:()=>TD(E_($x())),zonedDateTimeISO:(e=eS())=>CD(D_($x(),SE(e),DC)),plainDateTimeISO:(e=eS())=>fD(O_(Qx(U(SE(e))),DC)),plainDateISO:(e=eS())=>bD(k_(Qx(U(SE(e))),DC)),plainTimeISO:(e=eS())=>uD(M_(Qx(U(SE(e)))))})}),OD=Object.defineProperties({},{...Lh(`Temporal`),...Fh({PlainYearMonth:gD,PlainMonthDay:pD,PlainDate:yD,PlainTime:lD,PlainDateTime:dD,ZonedDateTime:SD,Instant:wD,Duration:QE,Now:DD})}),kD=FE(),AD=new WeakMap;Fh({DateTimeFormat:kD});var jD=e.n(((e,t)=>{t.exports=n;function n(e){var t=new i(e).tokenize(),n=[],a=[],o=[];return t.forEach(function(e){e.type===`operator`&&(e.value===`,`||e.value===`;`)?(a.length&&n.push(a),a=[]):a.push(e)}),a.length&&n.push(a),n.forEach(function(e){e=r(e),e.length&&(o=o.concat(e))}),o}function r(e){var t,r=!1,i=`text`,a,o=[],s={address:[],comment:[],group:[],text:[]},c,l;for(c=0,l=e.length;c<l;c++)if(t=e[c],t.type===`operator`)switch(t.value){case`<`:i=`address`;break;case`(`:i=`comment`;break;case`:`:i=`group`,r=!0;break;default:i=`text`}else t.value&&(i===`address`&&(t.value=t.value.replace(/^[^<]*<\s*/,``)),s[i].push(t.value));if(!s.text.length&&s.comment.length&&(s.text=s.comment,s.comment=[]),r)s.text=s.text.join(` `),o.push({name:s.text||a&&a.name,group:s.group.length?n(s.group.join(`,`)):[]});else{if(!s.address.length&&s.text.length){for(c=s.text.length-1;c>=0;c--)if(s.text[c].match(/^[^@\s]+@[^@\s]+$/)){s.address=s.text.splice(c,1);break}var u=function(e){return s.address.length?e:(s.address=[e.trim()],` `)};if(!s.address.length)for(c=s.text.length-1;c>=0&&(s.text[c]=s.text[c].replace(/\s*\b[^@\s]+@[^\s]+\b\s*/,u).trim(),!s.address.length);c--);}if(!s.text.length&&s.comment.length&&(s.text=s.comment,s.comment=[]),s.address.length>1&&(s.text=s.text.concat(s.address.splice(1))),s.text=s.text.join(` `),s.address=s.address.join(` `),!s.address&&r)return[];a={address:s.address||s.text||``,name:s.text||s.address||``},a.address===a.name&&((a.address||``).match(/@/)?a.name=``:a.address=``),o.push(a)}return o}function i(e){this.str=(e||``).toString(),this.operatorCurrent=``,this.operatorExpecting=``,this.node=null,this.escaped=!1,this.list=[]}i.prototype.operators={'"':`"`,"(":`)`,"<":`>`,",":``,":":`;`,";":``},i.prototype.tokenize=function(){for(var e,t=[],n=0,r=this.str.length;n<r;n++)e=this.str.charAt(n),this.checkChar(e);return this.list.forEach(function(e){e.value=(e.value||``).toString().trim(),e.value&&t.push(e)}),t},i.prototype.checkChar=function(e){if((e in this.operators||e===`\\`)&&this.escaped)this.escaped=!1;else if(this.operatorExpecting&&e===this.operatorExpecting){this.node={type:`operator`,value:e},this.list.push(this.node),this.node=null,this.operatorExpecting=``,this.escaped=!1;return}else if(!this.operatorExpecting&&e in this.operators){this.node={type:`operator`,value:e},this.list.push(this.node),this.node=null,this.operatorExpecting=this.operators[e],this.escaped=!1;return}if(!this.escaped&&e===`\\`){this.escaped=!0;return}this.node||(this.node={type:`text`,value:``},this.list.push(this.node)),this.escaped&&e!==`\\`&&(this.node.value+=`\\`),this.node.value+=e,this.escaped=!1}})),MD=e.n((e=>{e.__esModule=!0,e.extend=a,e.indexOf=l,e.escapeExpression=u,e.isEmpty=d,e.createFrame=f,e.blockParams=p,e.appendContextPath=m;var t={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"`":```,"=":`=`},n=/[&<>"'`=]/g,r=/[&<>"'`=]/;function i(e){return t[e]}function a(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var o=Object.prototype.toString;e.toString=o;var s=function(e){return typeof e==`function`};s(/x/)&&(e.isFunction=s=function(e){return typeof e==`function`&&o.call(e)===`[object Function]`}),e.isFunction=s;var c=Array.isArray||function(e){return e&&typeof e==`object`?o.call(e)===`[object Array]`:!1};e.isArray=c;function l(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function u(e){if(typeof e!=`string`){if(e&&e.toHTML)return e.toHTML();if(e==null)return``;if(!e)return e+``;e=``+e}return r.test(e)?e.replace(n,i):e}function d(e){return!e&&e!==0?!0:!!(c(e)&&e.length===0)}function f(e){var t=a({},e);return t._parent=e,t}function p(e,t){return e.path=t,e}function m(e,t){return(e?e+`.`:``)+t}})),ND=e.n(((e,t)=>{e.__esModule=!0;var n=[`description`,`fileName`,`lineNumber`,`endLineNumber`,`message`,`name`,`number`,`stack`];function r(e,t){var i=t&&t.loc,a=void 0,o=void 0,s=void 0,c=void 0;i&&(a=i.start.line,o=i.end.line,s=i.start.column,c=i.end.column,e+=` - `+a+`:`+s);for(var l=Error.prototype.constructor.call(this,e),u=0;u<n.length;u++)this[n[u]]=l[n[u]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{i&&(this.lineNumber=a,this.endLineNumber=o,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:c,enumerable:!0})):(this.column=s,this.endColumn=c))}catch{}}r.prototype=Error(),e.default=r,t.exports=e.default})),PD=e.n(((e,t)=>{e.__esModule=!0;var n=MD();e.default=function(e){e.registerHelper(`blockHelperMissing`,function(t,r){var i=r.inverse,a=r.fn;if(t===!0)return a(this);if(t===!1||t==null)return i(this);if(n.isArray(t))return t.length>0?(r.ids&&=[r.name],e.helpers.each(t,r)):i(this);if(r.data&&r.ids){var o=n.createFrame(r.data);o.contextPath=n.appendContextPath(r.data.contextPath,r.name),r={data:o}}return a(t,r)})},t.exports=e.default})),FD=e.n(((e,t)=>{e.__esModule=!0;function n(e){return e&&e.__esModule?e:{default:e}}var r=MD(),i=n(ND());e.default=function(e){e.registerHelper(`each`,function(e,t){if(!t)throw new i.default(`Must pass iterator to #each`);var n=t.fn,a=t.inverse,o=0,s=``,c=void 0,l=void 0;t.data&&t.ids&&(l=r.appendContextPath(t.data.contextPath,t.ids[0])+`.`),r.isFunction(e)&&(e=e.call(this)),t.data&&(c=r.createFrame(t.data));function u(t,i,a){c&&(c.key=t,c.index=i,c.first=i===0,c.last=!!a,l&&(c.contextPath=l+t)),s+=n(e[t],{data:c,blockParams:r.blockParams([e[t],t],[l+t,null])})}if(e&&typeof e==`object`)if(r.isArray(e))for(var d=e.length;o<d;o++)o in e&&u(o,o,o===e.length-1);else if(typeof Symbol==`function`&&e[Symbol.iterator]){for(var f=[],p=e[Symbol.iterator](),m=p.next();!m.done;m=p.next())f.push(m.value);e=f;for(var d=e.length;o<d;o++)u(o,o,o===e.length-1)}else (function(){var t=void 0;Object.keys(e).forEach(function(e){t!==void 0&&u(t,o-1),t=e,o++}),t!==void 0&&u(t,o-1,!0)})();return o===0&&(s=a(this)),s})},t.exports=e.default})),ID=e.n(((e,t)=>{e.__esModule=!0;function n(e){return e&&e.__esModule?e:{default:e}}var r=n(ND());e.default=function(e){e.registerHelper(`helperMissing`,function(){if(arguments.length!==1)throw new r.default(`Missing helper: "`+arguments[arguments.length-1].name+`"`)})},t.exports=e.default})),LD=e.n(((e,t)=>{e.__esModule=!0;function n(e){return e&&e.__esModule?e:{default:e}}var r=MD(),i=n(ND());e.default=function(e){e.registerHelper(`if`,function(e,t){if(arguments.length!=2)throw new i.default(`#if requires exactly one argument`);return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper(`unless`,function(t,n){if(arguments.length!=2)throw new i.default(`#unless requires exactly one argument`);return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e.default})),RD=e.n(((e,t)=>{e.__esModule=!0,e.default=function(e){e.registerHelper(`log`,function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var i=1;n.hash.level==null?n.data&&n.data.level!=null&&(i=n.data.level):i=n.hash.level,t[0]=i,e.log.apply(e,t)})},t.exports=e.default})),zD=e.n(((e,t)=>{e.__esModule=!0,e.default=function(e){e.registerHelper(`lookup`,function(e,t,n){return e&&n.lookupProperty(e,t)})},t.exports=e.default})),BD=e.n(((e,t)=>{e.__esModule=!0;function n(e){return e&&e.__esModule?e:{default:e}}var r=MD(),i=n(ND());e.default=function(e){e.registerHelper(`with`,function(e,t){if(arguments.length!=2)throw new i.default(`#with requires exactly one argument`);r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var a=t.data;return t.data&&t.ids&&(a=r.createFrame(t.data),a.contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:a,blockParams:r.blockParams([e],[a&&a.contextPath])})})},t.exports=e.default})),VD=e.n((e=>{e.__esModule=!0,e.registerDefaultHelpers=l,e.moveHelperToHooks=u;function t(e){return e&&e.__esModule?e:{default:e}}var n=t(PD()),r=t(FD()),i=t(ID()),a=t(LD()),o=t(RD()),s=t(zD()),c=t(BD());function l(e){n.default(e),r.default(e),i.default(e),a.default(e),o.default(e),s.default(e),c.default(e)}function u(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||(e.helpers[t]=void 0))}})),HD=e.n(((e,t)=>{e.__esModule=!0;var n=MD();e.default=function(e){e.registerDecorator(`inline`,function(e,t,r,i){var a=e;return t.partials||(t.partials={},a=function(i,a){var o=r.partials;r.partials=n.extend({},o,t.partials);var s=e(i,a);return r.partials=o,s}),t.partials[i.args[0]]=i.fn,a})},t.exports=e.default})),UD=e.n((e=>{e.__esModule=!0,e.registerDefaultDecorators=r;function t(e){return e&&e.__esModule?e:{default:e}}var n=t(HD());function r(e){n.default(e)}})),WD=e.n(((e,t)=>{e.__esModule=!0;var n=MD(),r={methodMap:[`debug`,`info`,`warn`,`error`],level:`info`,lookupLevel:function(e){if(typeof e==`string`){var t=n.indexOf(r.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=r.lookupLevel(e),typeof console<`u`&&r.lookupLevel(r.level)<=e){var t=r.methodMap[e];console[t]||(t=`log`);for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];console[t].apply(console,i)}}};e.default=r,t.exports=e.default})),GD=e.n((e=>{e.__esModule=!0,e.createProtoAccessControl=a,e.resultIsAllowed=o,e.resetLoggedProperties=l;function t(e){return e&&e.__esModule?e:{default:e}}var n=MD(),r=t(WD()),i=Object.create(null);function a(e){var t=Object.create(null);t.__proto__=!1,n.extend(t,e.allowedProtoProperties);var r=Object.create(null);return r.constructor=!1,r.__defineGetter__=!1,r.__defineSetter__=!1,r.__lookupGetter__=!1,r.__lookupSetter__=!1,n.extend(r,e.allowedProtoMethods),{properties:{whitelist:t,defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:e.allowProtoMethodsByDefault}}}function o(e,t,n){return s(typeof e==`function`?t.methods:t.properties,n)}function s(e,t){return e.whitelist[t]===void 0?e.defaultValue===void 0?(c(t),!1):e.defaultValue:e.whitelist[t]===!0}function c(e){i[e]!==!0&&(i[e]=!0,r.default.log(`error`,`Handlebars: Access has been denied to resolve the property "`+e+`" because it is not an "own property" of its parent.
|
|
@@ -57,7 +57,7 @@ Expecting `+S.join(`, `)+`, got '`+(this.terminals_[p]||p)+`'`:`Parse error on l
|
|
|
57
57
|
`);return`${t}${n}${a===``?``:`\n${a}`}\n`},rN=e=>{switch(e.type){case K.TEXT:return[...e.marks??[]].sort((e,t)=>YM.indexOf(e.type)-YM.indexOf(t.type)).reduce((e,t)=>eN(e,t),ZM(e.text??``));case K.HARD_BREAK:return`
|
|
58
58
|
`;case K.VARIABLE_TAG:return typeof e.attrs?.variable==`string`?e.attrs.variable:``;case K.MENTION_TAG:return tN(e);case K.HEADING:{let t=typeof e.attrs?.level==`number`?e.attrs.level:1;return`${`#`.repeat(Math.min(Math.max(t,1),6))} ${XM(e)}\n\n`}case K.PARAGRAPH:return`${XM(e)}\n\n`;case K.BULLET_LIST:return`${(e.content??[]).map(e=>nN(e,`- `)).join(``)}\n`;case K.ORDERED_LIST:{let t=typeof e.attrs?.start==`number`?e.attrs.start:1;return`${(e.content??[]).map((e,n)=>nN(e,`${t+n}. `)).join(``)}\n`}case K.IMAGE:{let t=typeof e.attrs?.alt==`string`?e.attrs.alt:``,n=typeof e.attrs?.src==`string`?e.attrs.src:``;return n===``?ZM(t):`})\n\n`}case K.BUTTON:{let t=XM(e),n=e.attrs?.href;return`${typeof n==`string`?`[${t}](${$M(n)})`:t}\n\n`}case K.HTML:return typeof e.attrs?.html==`string`?e.attrs.html:``;case K.DIVIDER:return`---
|
|
59
59
|
|
|
60
|
-
`;default:return XM(e)}},iN=(e,n,r)=>t.t(e)?Object.entries(n).reduce((e,[n,i])=>{let a=e[n];return typeof a==`string`&&t.t(i)?{...e,[n]:r(a,i)}:e},e):e,aN=(e,t)=>{let n=jM(e.type)?AM[e.type]:void 0,r=iN(e.attrs,n?.stringAttributes??{},t),i=e.marks?.map(e=>typeof e!=`object`||!e||!(`type`in e)||typeof e.type!=`string`||!kM(e.type)?e:{...e,...`attrs`in e&&typeof e.attrs==`object`&&e.attrs!==null&&{attrs:iN(e.attrs,OM[e.type].stringAttributes,t)}});return{...e,...typeof e.text==`string`&&{text:t(e.text,`text`)},...r&&{attrs:r},...i&&{marks:i},...e.content&&{content:e.content.map(e=>aN(e,t))}}},oN=e=>typeof e==`object`&&!!e&&!Array.isArray(e),sN=e=>{let t=e.trim();return t.startsWith(`http://`)||t.startsWith(`https://`)||t.startsWith(`HTTPS://`)||t.startsWith(`HTTP://`)?t:`https://${t}`},cN=(e,t)=>{let n=t?.allowIp??!0,r=t?.allowLocalhost??!0,i=/^(((?!-))(xn--|_)?[a-z0-9-]{0,61}[a-z0-9]{1,1}\.){1,10}(xn--)?([a-z0-9][a-z0-9-]{0,60}|[a-z0-9-]{1,30}\.[a-z]{2,})$/.test(e),a=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(e),o=e===`localhost`||e===`127.0.0.1`;return o&&!r||a&&!n?!1:i||o||a};R().transform((e,t)=>{let n=sN(e.trim()),r=n.replace(`https://`,``).replace(`http://`,``).replace(`HTTPS://`,``).replace(`HTTP://`,``);if(/^\d+(?:\/[a-zA-Z]*)?$/.test(r))return t.addIssue({code:`custom`,message:`domain is not a valid url`}),ae;try{return cN(new URL(n).hostname)?n:(t.addIssue({code:`custom`,message:`domain is not a valid url`}),ae)}catch{return t.addIssue({code:`custom`,message:`domain is not a valid url`}),ae}});var lN=e=>/^https?:\/\//i.test(e),uN=e=>{let n=TM(e);return t.t(n)?(n.origin+n.pathname+n.search+n.hash).replace(/\/$/,``):e},dN=e=>{let t=e.trim();return t===``?t:uN(sN(t))};Ul({pattern:cn}).max(255);var fN=e=>/^{{[^{}]+}}$/.test(e),pN=new Map;for(let e of Hk()){let t=Uk(e),n=pN.get(t);n?n.push(e):pN.set(t,[e])}new Set(Hk());var mN=e=>typeof e==`string`,hN=RegExp(`\\{\\{([^{}]+)\\}\\}`,`g`),gN=(e,n)=>t.t(e)?mN(e)?yN(e,n):Array.isArray(e)?_N(e,n):typeof e==`object`&&e?vN(e,n):e:e,_N=(e,t)=>{let n=e;for(let r=0;r<e.length;++r)n[r]=gN(e[r],t);return n},vN=(e,t)=>Object.entries(e).reduce((e,[n,r])=>{let i=gN(n,t);return e[typeof i==`string`?i:String(i)]=gN(r,t),e},{}),yN=(e,t)=>{let n=e.match(hN);return!n||n.length===0?e:n.length===1&&n[0]===e?wj(e,t):e.replace(hN,(e,n)=>{let r=wj(e,t);return typeof r==`object`&&r?JSON.stringify(r):r})};Mp.TABLE,Mp.TABLE,Mp.KANBAN,Mp.KANBAN,Mp.CALENDAR,Mp.CALENDAR,Mp.FIELDS_WIDGET,Mp.FIELDS_WIDGET,Mp.TABLE_WIDGET,Mp.TABLE,Mp.KANBAN_WIDGET,Mp.KANBAN,Mp.CALENDAR_WIDGET,Mp.CALENDAR,Mp.FIELDS_WIDGET,Mp.TABLE_WIDGET,Mp.KANBAN_WIDGET,Mp.CALENDAR_WIDGET;var bN=`M6.822 14.174c0-2.435 1.996-4.411 4.456-4.411h8.574c.125 0 .241.075.293.19a.31.31 0 0 1-.056.344l-1.88 2.023c-.326.35-.787.552-1.27.552H11.3c-.738 0-1.338.594-1.338 1.325v3.336a.78.78 0 0 1-.783.777H7.61a.78.78 0 0 1-.783-.777v-3.36zM33.5 25.553c0 2.434-1.996 4.411-4.456 4.411h-3.642c-2.46 0-4.454-1.977-4.454-4.411v-6.315c0-.43.16-.842.456-1.16l2.124-2.285a.33.33 0 0 1 .355-.081.32.32 0 0 1 .205.295v9.527c0 .73.598 1.322 1.337 1.322h3.6a1.33 1.33 0 0 0 1.337-1.322V14.197c0-.73-.599-1.325-1.337-1.325H24.84c-.481 0-.938.201-1.265.547L11.088 26.856h7.503a.78.78 0 0 1 .784.778v1.552a.78.78 0 0 1-.784.778H8.481a1.655 1.655 0 0 1-1.662-1.644v-.824c0-.412.156-.809.44-1.114l13.999-15.06a4.9 4.9 0 0 1 3.594-1.56h4.189c2.46 0 4.454 1.977 4.454 4.412v11.379z`,xN=async()=>`data:image/png;base64,${(await(0,i.readFile)((0,s.join)(__dirname,`assets`,`halftone-backdrop.png`))).toString(`base64`)}`,SN=1388,CN=858,wN=156,TN=16,EN=351,DN=434,ON=798,kN=SN/2,AN=CN/2,jN=19,MN=8,NN=`#b3b3b3`,PN=wN/40,FN=async({logoBuffer:e})=>{let t=`data:image/png;base64,${(await(0,c.default)(e).resize(wN,wN,{fit:`cover`,position:`centre`}).png().toBuffer()).toString(`base64`)}`,n=await xN(),r=[`<svg xmlns="http://www.w3.org/2000/svg" width="${SN}" height="${CN}" viewBox="0 0 ${SN} ${CN}">`,`<image href="${n}" x="0" y="0" width="${SN}" height="${CN}" preserveAspectRatio="none" />`,`<defs>`,`<filter id="tileShadow" x="-40%" y="-40%" width="180%" height="180%">`,`<feDropShadow dx="0" dy="6" stdDeviation="10" flood-color="#0b0b0f" flood-opacity="0.14" />`,`</filter>`,`<clipPath id="leftLogoClip"><rect x="${DN}" y="${EN}" width="${wN}" height="${wN}" rx="${TN}" /></clipPath>`,`</defs>`,`<g filter="url(#tileShadow)">`,`<rect x="${DN}" y="${EN}" width="${wN}" height="${wN}" rx="${TN}" fill="#ffffff" />`,`<rect x="${ON}" y="${EN}" width="${wN}" height="${wN}" rx="${TN}" fill="#000000" />`,`</g>`,`<image href="${t}" x="${DN}" y="${EN}" width="${wN}" height="${wN}" preserveAspectRatio="xMidYMid slice" clip-path="url(#leftLogoClip)" />`,`<rect x="${DN}" y="${EN}" width="${wN}" height="${wN}" rx="${TN}" fill="none" stroke="#000000" stroke-opacity="0.08" stroke-width="1" />`,`<g transform="translate(${ON} ${EN}) scale(${PN})"><path d="${bN}" fill="#ffffff" /></g>`,`<line x1="${kN-jN}" y1="${AN-jN}" x2="713" y2="448" stroke="${NN}" stroke-width="${MN}" stroke-linecap="round" />`,`<line x1="${kN-jN}" y1="448" x2="713" y2="${AN-jN}" stroke="${NN}" stroke-width="${MN}" stroke-linecap="round" />`,`</svg>`].join(``);return(0,c.default)(Buffer.from(r)).png().toBuffer()},q=`20202020-64aa-4b6f-b003-9c74b97cee20`,IN=({entityNamespace:e,value:t,applicationUniversalIdentifier:n})=>(0,o.v5)(`${e}:${t}`,n),LN=({applicationUniversalIdentifier:e,objectUniversalIdentifier:t,name:n})=>IN({entityNamespace:`fieldMetadata`,value:`${t}:${n}`,applicationUniversalIdentifier:e}),J=({applicationUniversalIdentifier:e,objectUniversalIdentifier:t,relationTargetObjectUniversalIdentifier:n})=>IN({entityNamespace:`fieldMetadata`,value:`${t}:systemRelation:${n}`,applicationUniversalIdentifier:e}),RN=({fieldMetadataApplicationUniversalIdentifier:e,viewUniversalIdentifier:t,fieldMetadataUniversalIdentifier:n})=>IN({entityNamespace:`viewField`,value:`${t}:${n}`,applicationUniversalIdentifier:e}),zN=({objectMetadataApplicationUniversalIdentifier:e,objectUniversalIdentifier:t,viewKey:n})=>IN({entityNamespace:`view`,value:`${t}:${n}`,applicationUniversalIdentifier:e}),BN=[`Communication`,`Productivity`,`Product management`,`Sales`,`Marketing`,`Enrichment`,`Data`,`Search`,`Other`],VN=e=>BN.includes(e);D.TEXT,D.ARRAY,D.BOOLEAN,D.DATE,D.DATE_TIME,D.NUMBER,D.NUMERIC,D.RAW_JSON,D.RICH_TEXT,D.SELECT,D.MULTI_SELECT;var HN=`public`,UN={js:`import { createRequire as __createRequire } from 'module';
|
|
60
|
+
`;default:return XM(e)}},iN=(e,n,r)=>t.t(e)?Object.entries(n).reduce((e,[n,i])=>{let a=e[n];return typeof a==`string`&&t.t(i)?{...e,[n]:r(a,i)}:e},e):e,aN=(e,t)=>{let n=jM(e.type)?AM[e.type]:void 0,r=iN(e.attrs,n?.stringAttributes??{},t),i=e.marks?.map(e=>typeof e!=`object`||!e||!(`type`in e)||typeof e.type!=`string`||!kM(e.type)?e:{...e,...`attrs`in e&&typeof e.attrs==`object`&&e.attrs!==null&&{attrs:iN(e.attrs,OM[e.type].stringAttributes,t)}});return{...e,...typeof e.text==`string`&&{text:t(e.text,`text`)},...r&&{attrs:r},...i&&{marks:i},...e.content&&{content:e.content.map(e=>aN(e,t))}}},oN=e=>typeof e==`object`&&!!e&&!Array.isArray(e),sN=e=>{let t=e.trim();return t.startsWith(`http://`)||t.startsWith(`https://`)||t.startsWith(`HTTPS://`)||t.startsWith(`HTTP://`)?t:`https://${t}`},cN=(e,t)=>{let n=t?.allowIp??!0,r=t?.allowLocalhost??!0,i=/^(((?!-))(xn--|_)?[a-z0-9-]{0,61}[a-z0-9]{1,1}\.){1,10}(xn--)?([a-z0-9][a-z0-9-]{0,60}|[a-z0-9-]{1,30}\.[a-z]{2,})$/.test(e),a=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(e),o=e===`localhost`||e===`127.0.0.1`;return o&&!r||a&&!n?!1:i||o||a};R().transform((e,t)=>{let n=sN(e.trim()),r=n.replace(`https://`,``).replace(`http://`,``).replace(`HTTPS://`,``).replace(`HTTP://`,``);if(/^\d+(?:\/[a-zA-Z]*)?$/.test(r))return t.addIssue({code:`custom`,message:`domain is not a valid url`}),ae;try{return cN(new URL(n).hostname)?n:(t.addIssue({code:`custom`,message:`domain is not a valid url`}),ae)}catch{return t.addIssue({code:`custom`,message:`domain is not a valid url`}),ae}});var lN=e=>/^https?:\/\//i.test(e),uN=e=>{let n=TM(e);return t.t(n)?(n.origin+n.pathname+n.search+n.hash).replace(/\/$/,``):e},dN=e=>{let t=e.trim();return t===``?t:uN(sN(t))};Ul({pattern:cn}).max(255);var fN=e=>/^{{[^{}]+}}$/.test(e),pN=new Map;for(let e of Hk()){let t=Uk(e),n=pN.get(t);n?n.push(e):pN.set(t,[e])}new Set(Hk());var mN=e=>typeof e==`string`,hN=RegExp(`\\{\\{([^{}]+)\\}\\}`,`g`),gN=(e,n)=>t.t(e)?mN(e)?yN(e,n):Array.isArray(e)?_N(e,n):typeof e==`object`&&e?vN(e,n):e:e,_N=(e,t)=>{let n=e;for(let r=0;r<e.length;++r)n[r]=gN(e[r],t);return n},vN=(e,t)=>Object.entries(e).reduce((e,[n,r])=>{let i=gN(n,t);return e[typeof i==`string`?i:String(i)]=gN(r,t),e},{}),yN=(e,t)=>{let n=e.match(hN);return!n||n.length===0?e:n.length===1&&n[0]===e?wj(e,t):e.replace(hN,(e,n)=>{let r=wj(e,t);return typeof r==`object`&&r?JSON.stringify(r):r})};Mp.TABLE,Mp.TABLE,Mp.KANBAN,Mp.KANBAN,Mp.CALENDAR,Mp.CALENDAR,Mp.LIST,Mp.LIST,Mp.FIELDS_WIDGET,Mp.FIELDS_WIDGET,Mp.TABLE_WIDGET,Mp.TABLE,Mp.KANBAN_WIDGET,Mp.KANBAN,Mp.LIST_WIDGET,Mp.LIST,Mp.CALENDAR_WIDGET,Mp.CALENDAR,Mp.FIELDS_WIDGET,Mp.TABLE_WIDGET,Mp.KANBAN_WIDGET,Mp.LIST_WIDGET,Mp.CALENDAR_WIDGET;var bN=`M6.822 14.174c0-2.435 1.996-4.411 4.456-4.411h8.574c.125 0 .241.075.293.19a.31.31 0 0 1-.056.344l-1.88 2.023c-.326.35-.787.552-1.27.552H11.3c-.738 0-1.338.594-1.338 1.325v3.336a.78.78 0 0 1-.783.777H7.61a.78.78 0 0 1-.783-.777v-3.36zM33.5 25.553c0 2.434-1.996 4.411-4.456 4.411h-3.642c-2.46 0-4.454-1.977-4.454-4.411v-6.315c0-.43.16-.842.456-1.16l2.124-2.285a.33.33 0 0 1 .355-.081.32.32 0 0 1 .205.295v9.527c0 .73.598 1.322 1.337 1.322h3.6a1.33 1.33 0 0 0 1.337-1.322V14.197c0-.73-.599-1.325-1.337-1.325H24.84c-.481 0-.938.201-1.265.547L11.088 26.856h7.503a.78.78 0 0 1 .784.778v1.552a.78.78 0 0 1-.784.778H8.481a1.655 1.655 0 0 1-1.662-1.644v-.824c0-.412.156-.809.44-1.114l13.999-15.06a4.9 4.9 0 0 1 3.594-1.56h4.189c2.46 0 4.454 1.977 4.454 4.412v11.379z`,xN=async()=>`data:image/png;base64,${(await(0,i.readFile)((0,s.join)(__dirname,`assets`,`halftone-backdrop.png`))).toString(`base64`)}`,SN=1388,CN=858,wN=156,TN=16,EN=351,DN=434,ON=798,kN=SN/2,AN=CN/2,jN=19,MN=8,NN=`#b3b3b3`,PN=wN/40,FN=async({logoBuffer:e})=>{let t=`data:image/png;base64,${(await(0,c.default)(e).resize(wN,wN,{fit:`cover`,position:`centre`}).png().toBuffer()).toString(`base64`)}`,n=await xN(),r=[`<svg xmlns="http://www.w3.org/2000/svg" width="${SN}" height="${CN}" viewBox="0 0 ${SN} ${CN}">`,`<image href="${n}" x="0" y="0" width="${SN}" height="${CN}" preserveAspectRatio="none" />`,`<defs>`,`<filter id="tileShadow" x="-40%" y="-40%" width="180%" height="180%">`,`<feDropShadow dx="0" dy="6" stdDeviation="10" flood-color="#0b0b0f" flood-opacity="0.14" />`,`</filter>`,`<clipPath id="leftLogoClip"><rect x="${DN}" y="${EN}" width="${wN}" height="${wN}" rx="${TN}" /></clipPath>`,`</defs>`,`<g filter="url(#tileShadow)">`,`<rect x="${DN}" y="${EN}" width="${wN}" height="${wN}" rx="${TN}" fill="#ffffff" />`,`<rect x="${ON}" y="${EN}" width="${wN}" height="${wN}" rx="${TN}" fill="#000000" />`,`</g>`,`<image href="${t}" x="${DN}" y="${EN}" width="${wN}" height="${wN}" preserveAspectRatio="xMidYMid slice" clip-path="url(#leftLogoClip)" />`,`<rect x="${DN}" y="${EN}" width="${wN}" height="${wN}" rx="${TN}" fill="none" stroke="#000000" stroke-opacity="0.08" stroke-width="1" />`,`<g transform="translate(${ON} ${EN}) scale(${PN})"><path d="${bN}" fill="#ffffff" /></g>`,`<line x1="${kN-jN}" y1="${AN-jN}" x2="713" y2="448" stroke="${NN}" stroke-width="${MN}" stroke-linecap="round" />`,`<line x1="${kN-jN}" y1="448" x2="713" y2="${AN-jN}" stroke="${NN}" stroke-width="${MN}" stroke-linecap="round" />`,`</svg>`].join(``);return(0,c.default)(Buffer.from(r)).png().toBuffer()},q=`20202020-64aa-4b6f-b003-9c74b97cee20`,IN=({entityNamespace:e,value:t,applicationUniversalIdentifier:n})=>(0,o.v5)(`${e}:${t}`,n),LN=({applicationUniversalIdentifier:e,objectUniversalIdentifier:t,name:n})=>IN({entityNamespace:`fieldMetadata`,value:`${t}:${n}`,applicationUniversalIdentifier:e}),J=({applicationUniversalIdentifier:e,objectUniversalIdentifier:t,relationTargetObjectUniversalIdentifier:n})=>IN({entityNamespace:`fieldMetadata`,value:`${t}:systemRelation:${n}`,applicationUniversalIdentifier:e}),RN=({fieldMetadataApplicationUniversalIdentifier:e,viewUniversalIdentifier:t,fieldMetadataUniversalIdentifier:n})=>IN({entityNamespace:`viewField`,value:`${t}:${n}`,applicationUniversalIdentifier:e}),zN=({objectMetadataApplicationUniversalIdentifier:e,objectUniversalIdentifier:t,viewKey:n})=>IN({entityNamespace:`view`,value:`${t}:${n}`,applicationUniversalIdentifier:e}),BN=[`Communication`,`Productivity`,`Product management`,`Sales`,`Marketing`,`Enrichment`,`Data`,`Search`,`Other`],VN=e=>BN.includes(e);D.TEXT,D.ARRAY,D.BOOLEAN,D.DATE,D.DATE_TIME,D.NUMBER,D.NUMERIC,D.RAW_JSON,D.RICH_TEXT,D.SELECT,D.MULTI_SELECT;var HN=`public`,UN={js:`import { createRequire as __createRequire } from 'module';
|
|
61
61
|
const require = __createRequire(import.meta.url);`},WN=`.twenty/output`,GN=function(e){return e.Object=`object`,e.Field=`field`,e.LogicFunction=`logicFunction`,e.FrontComponent=`frontComponent`,e.Role=`role`,e.Skill=`skill`,e.Agent=`agent`,e.ConnectionProvider=`connectionProvider`,e.View=`view`,e.ViewField=`viewField`,e.NavigationMenuItem=`navigationMenuItem`,e.PageLayout=`pageLayout`,e.PageLayoutTab=`pageLayoutTab`,e.CommandMenuItem=`commandMenuItem`,e}({}),KN=`${HN}/cover.generated.png`,qN=async e=>{try{return await(0,i.access)(e),!0}catch{return!1}},JN=e=>(0,l.existsSync)(e),YN=e=>(0,i.mkdir)(e,{recursive:!0}),XN=async e=>{await(0,i.mkdir)((0,s.dirname)(e),{recursive:!0});try{await(0,i.access)(e)}catch{await(0,i.writeFile)(e,``)}},ZN=async e=>{let t;try{t=await(0,i.readdir)(e)}catch(t){if(t instanceof Error&&`code`in t&&t.code===`ENOENT`){await(0,i.mkdir)(e,{recursive:!0});return}throw t}await Promise.all(t.map(t=>(0,i.rm)((0,s.join)(e,t),{recursive:!0,force:!0})))},QN=(e,t)=>(0,i.cp)(e,t,{recursive:!0}),$N=e=>(0,i.rm)(e,{recursive:!0,force:!0}),eP=async e=>{let t=await(0,i.readFile)(e,`utf-8`);return JSON.parse(t)},tP=async(e,t)=>{await(0,i.writeFile)(e,JSON.stringify(t,null,2)+`
|
|
62
62
|
`)},nP=e=>e.startsWith(`http://`)||e.startsWith(`https://`),rP=async({appPath:e,manifest:r})=>{let{logo:a,galleryImages:o}=r.application;if(!t.t(a)||nP(a)||(o??[]).length>0)return{manifest:r,generatedAssets:[]};let s=(0,n.join)(e,a);if(!await qN(s))return{manifest:r,generatedAssets:[]};let c=await FN({logoBuffer:await(0,i.readFile)(s)}),l={filePath:KN,fileName:(0,n.basename)(KN),fileType:(0,n.extname)(KN).replace(/^\./,``),checksum:null},u=[...r.publicAssets.filter(e=>e.filePath!==KN),l];return{manifest:{...r,application:{...r.application,galleryImages:[KN]},publicAssets:u},generatedAssets:[{relativePath:KN,content:c}]}},iP=/^readme(\.[^.]+)?$/i,aP=e=>{let t=e.filter(e=>iP.test(e));return t.find(e=>/\.md$/i.test(e))??t[0]},oP=async e=>{let t=aP(await(0,i.readdir)(e));if(t===void 0)return;let n=(0,s.join)(e,WN);await YN(n),await QN((0,s.join)(e,t),(0,s.join)(n,t))},sP=`twenty-client-sdk`,cP=async({result:e,appPath:t,fileFolder:r,lastChecksums:a,onFileBuilt:o})=>{let s=Object.keys(e.metafile?.outputs??{}).filter(e=>e.endsWith(`.mjs`));for(let c of s){let s=n.default.resolve(c),l=n.default.relative(t,s),d=e.metafile?.outputs?.[c]?.entryPoint||``,f=n.default.relative(t,d),p=await(0,i.readFile)(s),m=r===fp.BuiltFrontComponent?`sha256`:`md5`,h=u.default.createHash(m).update(p).digest(`hex`);if(a.get(l)===h)continue;a.set(l,h);let g=(e.metafile?.outputs?.[c])?.imports?.some(e=>e.external===!0&&e.path.startsWith(sP))??!1;o&&await o({fileFolder:r,builtPath:l,sourcePath:f,checksum:h,usesSdkClient:g})}},lP=async({appPath:e,sourcePaths:t,fileFolder:r,buildOptions:i,onFileBuilt:a})=>{if(t.length===0)return;let o={};for(let r of t){let t=r.replace(/\.tsx?$/,``);o[t]=n.default.join(e,r)}await cP({result:await d.build({...i,entryPoints:o}),appPath:e,fileFolder:r,lastChecksums:new Map,onFileBuilt:a})},uP=async(e,t,r)=>{let i=new Set(r),a=t.filter(e=>!i.has(e));for(let t of a){let r=t.replace(/\.tsx?$/,`.mjs`),i=n.default.join(e,r),a=`${i}.map`;await $N(i),await $N(a)}},dP=[`twenty-client-sdk/core`,`twenty-client-sdk/metadata`],fP=({config:e,errors:t=[],warnings:n=[]})=>({success:t.length===0,config:e,errors:t,warnings:n}),pP=e=>{let t=[],n=[];return e.universalIdentifier||t.push(`Agent must have a universalIdentifier`),e.name||t.push(`Agent must have a name`),e.label||t.push(`Agent must have a label`),e.prompt||t.push(`Agent must have a prompt`),e.responseFormat||n.push(`Agent '${e.name}' has no responseFormat, it will default to { type: 'text' }. Set it explicitly to control the agent's output shape.`),(0,a.isNonEmptyString)(e.roleUniversalIdentifier)&&!(0,o.validate)(e.roleUniversalIdentifier)&&t.push(`Agent '${e.name}' roleUniversalIdentifier must be a valid UUID`),fP({config:e,errors:t,warnings:n})},mP=e=>{let t=[],n=e.logo;n&&lN(n)&&(t.push(`Application logo "${n}" is an external URL. External asset URLs are no longer supported and are ignored. Bundle the image in your public/ folder instead.`),n=void 0),!n&&e.logoUrl&&(lN(e.logoUrl)?t.push(`Application logoUrl "${e.logoUrl}" is an external URL. External asset URLs are no longer supported and are ignored. Bundle the image in your public/ folder and reference it via logo.`):(t.push("`logoUrl` is deprecated. Use `logo` to reference an image bundled in your public/ folder."),n=e.logoUrl)),!e.galleryImages&&(e.screenshots?.length??0)>0&&t.push("`screenshots` is deprecated. Use `galleryImages` referencing images bundled in your public/ folder.");let r=(e.galleryImages??e.screenshots??[]).filter(e=>lN(e)?(t.push(`Gallery image "${e}" is an external URL. External asset URLs are no longer supported and are ignored.`),!1):!0);return{logo:n,galleryImages:r,warnings:t}},hP=e=>{let t=[],n=[];e.universalIdentifier||t.push(`Application must have a universalIdentifier`),(!e.displayName||e.displayName.length===0)&&t.push(`Application must have a non empty display name`);for(let[n,r]of Object.entries(e.applicationVariables??{}))(r.type===D.SELECT||r.type===D.MULTI_SELECT)&&!qk(r.options)&&t.push(`Application variable "${n}" of type ${r.type} must define non-empty options`);e.defaultRoleUniversalIdentifier&&n.push("`defaultRoleUniversalIdentifier` on defineApplication() is deprecated. Use defineApplicationRole() in your role file instead.");let{category:r}=e;(0,a.isNonEmptyString)(r)&&!VN(r)&&n.push(`Application category "${r}" is not a known ApplicationCategory (${BN.join(`, `)}). Arbitrary category strings are kept for backward compatibility and may be removed. Ask for a new category at https://github.com/twentyhq/twenty.`);let i=mP(e);return n.push(...i.warnings),fP({config:{...e,logo:i.logo,galleryImages:i.galleryImages},errors:t,warnings:n})},gP=e=>e.length>=2&&e.startsWith(`'`)&&e.endsWith(`'`),_P=e=>Object.values(cp).includes(e),vP=e=>{let{defaultValue:n,type:r}=e;return t.t(n)?(0,a.isString)(n)?gP(n)||_P(n)?[]:[n]:Array.isArray(n)&&(r===D.MULTI_SELECT||r===D.ARRAY)?n.filter(e=>typeof e==`string`&&!gP(e)):r in Pp&&oN(n)?Object.values(n).filter(e=>typeof e==`string`&&!gP(e)):[]:[]},yP=e=>t.t(e)?e.flatMap(e=>{let t=vP(e);if(t.length===0)return[];let n=t[0];return[`Field "${e.label}" has string defaultValue(s) without surrounding single quotes: ${t.map(e=>`"${e}"`).join(`, `)}. Unquoted strings are reserved for computed defaults ('uuid', 'now'). To define a literal string default, wrap it in single quotes: "'${n}'" instead of "${n}".`]}):[],bP=e=>{if(!e)return[];let t=[];for(let n of e)(0,a.isNonEmptyString)(n.label)||t.push(`Field must have a label`),(0,a.isNonEmptyString)(n.name)||t.push(`Field "${n.label}" must have a name`),(0,a.isNonEmptyString)(n.universalIdentifier)||t.push(`Field "${n.label}" must have a universalIdentifier`),(n.type===D.SELECT||n.type===D.MULTI_SELECT)&&(!Array.isArray(n.options)||n.options.length===0)&&t.push(`Field "${n.label}" is a SELECT/MULTI_SELECT type and must have options`),n.isUnique===!0&&(n.type===D.RELATION||n.type===D.MORPH_RELATION||n.type===D.FILES)&&t.push(`Field "${n.label}" of type ${n.type} cannot be unique`);return t},xP=e=>{let t=[];e.objectUniversalIdentifier||t.push(`Field must have an objectUniversalIdentifier`);let n=bP([e]);return t.push(...n),fP({config:e,errors:t,warnings:yP([e])})},SP=e=>{let t=[],n=[];return e.universalIdentifier||t.push(`CommandMenuItem must have a universalIdentifier`),e.label||t.push(`CommandMenuItem must have a label`),e.frontComponentUniversalIdentifier||t.push(`CommandMenuItem must have a frontComponentUniversalIdentifier (the universalIdentifier of the front component this command opens)`),e.icon&&n.push(`CommandMenuItem icon will be ignored in favor of application icon, you should remove it`),fP({config:e,errors:t,warnings:n})},CP=e=>e===`then`,wP=e=>typeof e==`symbol`,Y=e=>{let t=()=>{throw Error(`"${e}" from twenty-sdk can only be used inside a command's conditionalAvailabilityExpression, not at runtime.`)};return new Proxy(function(){},{get:(e,n)=>{if(!(CP(n)||wP(n)))return t()},apply:t,construct:t,has:t})},TP=Y(`pageType`),EP=Y(`isInSidePanel`),DP=Y(`isDashboardPageLayoutInEditMode`),OP=Y(`isLayoutCustomizationModeEnabled`),kP=Y(`favoriteRecordIds`),AP=Y(`isSelectAll`),jP=Y(`hasAnySoftDeleteFilterOnView`),MP=Y(`numberOfSelectedRecords`),NP=Y(`objectPermissions`),PP=Y(`selectedRecords`),FP=Y(`featureFlags`),IP=Y(`targetObjectReadPermissions`),LP=Y(`targetObjectWritePermissions`),RP=Y(`canImpersonate`),zP=Y(`canAccessFullAdminPanel`),BP=Y(`objectMetadataItem`),VP=Y(`objectMetadataLabel`),HP=Y(`isDefined`),UP=Y(`isNonEmptyString`),WP=Y(`includes`),GP=Y(`every`),KP=Y(`everyDefined`),qP=Y(`everyEquals`),JP=Y(`some`),YP=Y(`someDefined`),XP=Y(`someEquals`),ZP=Y(`none`),QP=Y(`noneDefined`),$P=Y(`noneEquals`),eF=Y(`someNonEmptyString`),tF=Y(`includesEvery`),nF=e=>{let t=[];return e.universalIdentifier||t.push(`Front component must have a universalIdentifier`),e.component||t.push(`Front component must have a component`),typeof e.component!=`function`&&t.push(`Front component component must be a React component`),fP({config:e,errors:t})},rF=e=>{let t=[];return e.universalIdentifier||t.push(`Settings front component must have a universalIdentifier`),e.component?typeof e.component!=`function`&&t.push(`Settings front component component must be a React component`):t.push(`Settings front component must have a component`),fP({config:e,errors:t})},iF=e=>typeof e==`string`&&e.trim().length>0,aF=e=>{let t=[];if(iF(e.universalIdentifier)||t.push(`Index must have a universalIdentifier`),iF(e.objectUniversalIdentifier)||t.push(`Index must reference an objectUniversalIdentifier`),!qk(e.fields))t.push(`Index must have at least one field`);else{for(let n of e.fields)iF(n.universalIdentifier)||t.push(`IndexField must have a universalIdentifier`),iF(n.fieldUniversalIdentifier)||t.push(`IndexField must reference a fieldUniversalIdentifier`);let n=e.fields.map(e=>`${e.fieldUniversalIdentifier}::${e.subFieldName??``}`);new Set(n).size!==n.length&&t.push(`Index lists the same column twice`)}return fP({config:e,errors:t})},oF=e=>{let t=[];return e.universalIdentifier||t.push(`Logic function must have a universalIdentifier`),e.handler||t.push(`Logic function must have a handler`),typeof e.handler!=`function`&&t.push(`Logic function handler must be a function`),e.httpRouteTriggerSettings&&(e.httpRouteTriggerSettings.path||t.push(`Route trigger must have a path`),e.httpRouteTriggerSettings.httpMethod||t.push(`Route trigger must have an httpMethod`)),e.cronTriggerSettings&&(e.cronTriggerSettings.pattern||t.push(`Cron trigger must have a pattern`)),e.databaseEventTriggerSettings&&(e.databaseEventTriggerSettings.eventName||t.push(`Database event trigger must have an eventName`)),fP({config:e,errors:t})},sF=e=>{let t=[];return e.universalIdentifier||t.push(`Post install logic function must have a universalIdentifier`),e.handler||t.push(`Post install logic function must have a handler`),typeof e.handler!=`function`&&t.push(`Post install logic function handler must be a function`),fP({config:e,errors:t})},cF=e=>{let t=[];return e.universalIdentifier||t.push(`Pre install logic function must have a universalIdentifier`),e.handler||t.push(`Pre install logic function must have a handler`),typeof e.handler!=`function`&&t.push(`Pre install logic function handler must be a function`),fP({config:e,errors:t})},lF=e=>{let t=[];return e.universalIdentifier||t.push(`Uninstall logic function must have a universalIdentifier`),e.handler||t.push(`Uninstall logic function must have a handler`),typeof e.handler!=`function`&&t.push(`Uninstall logic function handler must be a function`),fP({config:e,errors:t})},uF=/^[a-z][a-z0-9-]*$/,dF=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,fF=[`oauth`],pF=[`onConnectLogicFunction`,`onDisconnectLogicFunction`],mF=e=>{let n=[];e.universalIdentifier?dF.test(e.universalIdentifier)||n.push(`Connection provider universalIdentifier "${e.universalIdentifier}" must be a UUID. Generate one with \`uuidgen\` or any UUID v4 tool.`):n.push(`Connection provider must have a universalIdentifier`),e.name?uF.test(e.name)||n.push(`Connection provider name "${e.name}" must match ${uF} (used in URLs)`):n.push(`Connection provider must have a name`),e.displayName||n.push(`Connection provider must have a displayName`);for(let r of pF){let i=e[r];t.t(i)&&!dF.test(i.universalIdentifier)&&n.push(`Connection provider ${r}.universalIdentifier "${i.universalIdentifier}" must be the UUID universalIdentifier of a logic function in this app.`)}if(e.type?fF.includes(e.type)||n.push(`Connection provider type "${e.type}" is not supported. Supported types: ${fF.join(`, `)}.`):n.push("Connection provider must declare a `type` (e.g. 'oauth')"),e.type===`oauth`){let t=e.oauth;t?(t.authorizationEndpoint||n.push(`OAuth connection provider must have an authorizationEndpoint`),t.tokenEndpoint||n.push(`OAuth connection provider must have a tokenEndpoint`),t.clientIdVariable||n.push(`OAuth connection provider must reference a clientIdVariable (key of a serverVariable on defineApplication)`),t.clientSecretVariable||n.push(`OAuth connection provider must reference a clientSecretVariable (key of a serverVariable on defineApplication)`),Array.isArray(t.scopes)||n.push(`OAuth connection provider must declare a scopes array`)):n.push("Connection provider with type 'oauth' must declare an `oauth` config block")}return fP({config:e,errors:n})},hF=e=>{let t=[];return e.universalIdentifier||t.push(`NavigationMenuItem must have a universalIdentifier`),typeof e.position!=`number`&&t.push(`NavigationMenuItem must have a position`),fP({config:e,errors:t})},gF=e=>{let n=[];e.universalIdentifier||n.push(`Object must have a universalIdentifier`),e.nameSingular||n.push(`Object must have a nameSingular`),e.namePlural||n.push(`Object must have a namePlural`),e.labelSingular||n.push(`Object must have a labelSingular`),e.labelPlural||n.push(`Object must have a labelPlural`);let r=bP(e.fields);return n.push(...r),t.t(e.labelIdentifierFieldMetadataUniversalIdentifier)&&!e.fields.some(t=>t.universalIdentifier===e.labelIdentifierFieldMetadataUniversalIdentifier)&&n.push(`labelIdentifierFieldMetadataUniversalIdentifier must reference a field defined in the fields array`),fP({config:e,errors:n,warnings:yP(e.fields)})},X={timelineActivity:`20202020-6736-4337-b5c4-8b39fae325a5`,attachment:`20202020-bd3d-4c60-8dca-571c71d4447a`,blocklist:`20202020-0408-4f38-b8a8-4d5e3e26e24d`,calendarChannelEventAssociation:`20202020-491b-4aaa-9825-afd1bae6ae00`,calendarEvent:`20202020-8f1d-4eef-9f85-0d1965e27221`,calendarEventParticipant:`20202020-a1c3-47a6-9732-27e5b1e8436d`,callRecording:`ce19efb9-710f-45b2-b141-473abbeea60b`,noteTarget:`20202020-fff0-4b44-be82-bda313884400`,taskTarget:`20202020-5a9a-44e8-95df-771cd06d0fb1`,person:`20202020-e674-48e5-a542-72570eee7213`,company:`20202020-b374-4779-a561-80086cb2e17f`,opportunity:`20202020-9549-49dd-b2b2-883999db8938`,note:`20202020-0b00-45cd-b6f6-6cd806fc6804`,task:`20202020-1ba1-48ba-bc83-ef7e5990ed10`,workflow:`20202020-62be-406c-b9ca-8caa50d51392`,workflowAutomatedTrigger:`20202020-3319-4234-a34c-7f3b9d2e4d1f`,workflowVersion:`20202020-d65d-4ab9-9344-d77bfb376a3d`,workflowRun:`20202020-4e28-4e95-a9d7-6c00874f843c`,workspaceMember:`20202020-3319-4234-a34c-82d5c0e881a6`,dashboard:`20202020-3840-4b6d-9425-0c5188b05ca8`,message:`20202020-3f6b-4425-80ab-e468899ab4b2`,messageChannelMessageAssociation:`20202020-ad1e-4127-bccb-d83ae04d2ccb`,messageChannelMessageAssociationMessageFolder:`20202020-a1b0-40b0-8ab0-5b6c7d8e9f0a`,messageList:`826561ea-4816-411c-baa0-eec5e6ca8866`,messageListMember:`27773d24-8ce3-40f8-aa6c-1f590f2c08d2`,messageCampaign:`238acb94-dd4c-4036-bc55-19b99d821efd`,messageParticipant:`20202020-a433-4456-aa2d-fd9cb26b774a`,messageThread:`20202020-849a-4c3e-84f5-a25a7d802271`},_F=[`id`,`createdAt`,`updatedAt`,`deletedAt`,`createdBy`,`updatedBy`,`position`,`searchVector`],Z=e=>Object.fromEntries(_F.map(t=>[t,{universalIdentifier:LN({applicationUniversalIdentifier:q,objectUniversalIdentifier:e,name:t})}])),Q={timelineActivity:{...Z(X.timelineActivity),name:{universalIdentifier:`20202020-7207-46e8-9dab-849505ae8497`},happensAt:{universalIdentifier:`20202020-9526-4993-b339-c4318c4d39f0`},properties:{universalIdentifier:`20202020-f142-4b04-b91b-6a2b4af3bf11`},workspaceMember:{universalIdentifier:`20202020-af23-4479-9a30-868edc474b36`},targetPerson:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.person})},targetCompany:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.company})},targetOpportunity:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.opportunity})},targetTask:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.task})},targetNote:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.note})},targetWorkflow:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.workflow})},targetWorkflowVersion:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.workflowVersion})},targetWorkflowRun:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.workflowRun})},targetDashboard:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.dashboard})},targetMessageList:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.messageList})},targetMessageCampaign:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.timelineActivity,relationTargetObjectUniversalIdentifier:X.messageCampaign})},linkedRecordCachedName:{universalIdentifier:`20202020-cfdb-4bef-bbce-a29f41230934`},linkedRecordId:{universalIdentifier:`20202020-2e0e-48c0-b445-ee6c1e61687d`},linkedObjectMetadataId:{universalIdentifier:`20202020-c595-449d-9f89-562758c9ee69`}},attachment:{...Z(X.attachment),name:{universalIdentifier:`20202020-87a5-48f8-bbf7-ade388825a57`},file:{universalIdentifier:`20202020-15db-460e-8166-c7b5d87ad4be`},fullPath:{universalIdentifier:`20202020-0d19-453d-8e8d-fbcda8ca3747`},fileCategory:{universalIdentifier:`20202020-8c3f-4d9e-9a1b-2e5f7a8c9d0e`},targetTask:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.attachment,relationTargetObjectUniversalIdentifier:X.task})},targetNote:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.attachment,relationTargetObjectUniversalIdentifier:X.note})},targetPerson:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.attachment,relationTargetObjectUniversalIdentifier:X.person})},targetCompany:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.attachment,relationTargetObjectUniversalIdentifier:X.company})},targetOpportunity:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.attachment,relationTargetObjectUniversalIdentifier:X.opportunity})},targetDashboard:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.attachment,relationTargetObjectUniversalIdentifier:X.dashboard})},targetWorkflow:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.attachment,relationTargetObjectUniversalIdentifier:X.workflow})}},blocklist:{...Z(X.blocklist),handle:{universalIdentifier:`20202020-eef3-44ed-aa32-4641d7fd4a3e`},workspaceMember:{universalIdentifier:`20202020-548d-4084-a947-fa20a39f7c06`}},calendarChannelEventAssociation:{...Z(X.calendarChannelEventAssociation),calendarChannelId:{universalIdentifier:`20202020-93ee-4da4-8d58-0282c4a9cb7d`},calendarEvent:{universalIdentifier:`20202020-5aa5-437e-bb86-f42d457783e3`},eventExternalId:{universalIdentifier:`20202020-9ec8-48bb-b279-21d0734a75a1`},recurringEventExternalId:{universalIdentifier:`20202020-c58f-4c69-9bf8-9518fa31aa50`}},calendarEventParticipant:{...Z(X.calendarEventParticipant),calendarEvent:{universalIdentifier:`20202020-fe3a-401c-b889-af4f4657a861`},handle:{universalIdentifier:`20202020-8692-4580-8210-9e09cbd031a7`},displayName:{universalIdentifier:`20202020-ee1e-4f9f-8ac1-5c0b2f69691e`},isOrganizer:{universalIdentifier:`20202020-66e7-4e00-9e06-d06c92650580`},responseStatus:{universalIdentifier:`20202020-cec0-4be8-8fba-c366abc23147`},person:{universalIdentifier:`20202020-5761-4842-8186-e1898ef93966`},workspaceMember:{universalIdentifier:`20202020-20e4-4591-93ed-aeb17a4dcbd2`}},calendarEvent:{...Z(X.calendarEvent),title:{universalIdentifier:`20202020-080e-49d1-b21d-9702a7e2525c`},isCanceled:{universalIdentifier:`20202020-335b-4e04-b470-43b84b64863c`},isFullDay:{universalIdentifier:`20202020-551c-402c-bb6d-dfe9efe86bcb`},startsAt:{universalIdentifier:`20202020-2c57-4c75-93c5-2ac950a6ed67`},endsAt:{universalIdentifier:`20202020-2554-4ee1-a617-17907f6bab21`},externalCreatedAt:{universalIdentifier:`20202020-9f03-4058-a898-346c62181599`},externalUpdatedAt:{universalIdentifier:`20202020-b355-4c18-8825-ef42c8a5a755`},description:{universalIdentifier:`20202020-52c4-4266-a98f-e90af0b4d271`},location:{universalIdentifier:`20202020-641a-4ffe-960d-c3c186d95b17`},iCalUid:{universalIdentifier:`20202020-f24b-45f4-b6a3-d2f9fcb98714`},conferenceSolution:{universalIdentifier:`20202020-1c3f-4b5a-b526-5411a82179eb`},conferenceLink:{universalIdentifier:`20202020-35da-43ef-9ca0-e936e9dc237b`},calendarChannelEventAssociations:{universalIdentifier:`20202020-bdf8-4572-a2cc-ecbb6bcc3a02`},calendarEventParticipants:{universalIdentifier:`20202020-e07e-4ccb-88f5-6f3d00458eec`},callRecordings:{universalIdentifier:`48d6d151-18e2-4111-b405-d85fb9d860d8`}},callRecording:{...Z(X.callRecording),title:{universalIdentifier:`4cff8863-a1d1-45fd-a370-4eb6aa1f2a5b`},status:{universalIdentifier:`3e617680-d93e-4309-a54f-90f69528bfd7`},recordingRequestStatus:{universalIdentifier:`7fd681c9-244c-4e98-8939-7b175d472638`},applicationId:{universalIdentifier:`24ec1239-1240-42cb-8a2d-302632378e09`},externalBotId:{universalIdentifier:`0a2da128-9bcc-488b-bc31-65318c41bdf9`},externalRecordingId:{universalIdentifier:`6d17fb71-324b-4625-a5be-b3580607e2c7`},startedAt:{universalIdentifier:`6c56c23f-1987-410a-860a-df3b2b3f9a33`},endedAt:{universalIdentifier:`7a38a9cf-8424-4d6e-b80a-6883d3c662ef`},video:{universalIdentifier:`bb9523d3-457e-4f4b-8c79-27a77afb87da`},audio:{universalIdentifier:`2eafc2d0-8fec-430c-a939-65ca5fbc0f08`},transcript:{universalIdentifier:`27b86d68-57d1-4607-aca0-191896b1ad43`},summary:{universalIdentifier:`adb0f472-756b-4d3f-b21e-ea32bf73a5e4`},calendarEvent:{universalIdentifier:`49e64b28-bd98-4775-80ea-4781bdd45e35`}},company:{...Z(X.company),name:{universalIdentifier:`20202020-4d99-4e2e-a84c-4a27837b1ece`},domainName:{universalIdentifier:`20202020-0c28-43d8-8ba5-3659924d3489`},address:{universalIdentifier:`20202020-c5ce-4adc-b7b6-9c0979fc55e7`},linkedinLink:{universalIdentifier:`20202020-ebeb-4beb-b9ad-6848036fb451`},annualRevenue:{universalIdentifier:`60f533b7-2166-4071-a767-ceb0286822fd`},people:{universalIdentifier:`20202020-3213-4ddf-9494-6422bcff8d7c`},accountOwner:{universalIdentifier:`20202020-95b8-4e10-9881-edb5d4765f9d`},taskTargets:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.company,relationTargetObjectUniversalIdentifier:X.taskTarget})},noteTargets:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.company,relationTargetObjectUniversalIdentifier:X.noteTarget})},opportunities:{universalIdentifier:`20202020-add3-4658-8e23-d70dccb6d0ec`},attachments:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.company,relationTargetObjectUniversalIdentifier:X.attachment})},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.company,relationTargetObjectUniversalIdentifier:X.timelineActivity})}},dashboard:{...Z(X.dashboard),title:{universalIdentifier:`20202020-20ee-4091-95dc-44b57eda3a89`},pageLayoutId:{universalIdentifier:`20202020-bb53-4648-aa36-1d9d54e6f7f2`},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.dashboard,relationTargetObjectUniversalIdentifier:X.timelineActivity})},attachments:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.dashboard,relationTargetObjectUniversalIdentifier:X.attachment})}},messageCampaign:{...Z(X.messageCampaign),name:{universalIdentifier:`dc8bca0e-37c4-4b78-814d-2e91124274e3`},subject:{universalIdentifier:`7251544c-b07a-4f0d-9d0a-48514367f230`},bodyTemplate:{universalIdentifier:`b3a69d08-31ca-4a8d-8359-5ca462899342`},fromAddress:{universalIdentifier:`91e1a33c-c1ff-411a-b720-9085e13c05db`},status:{universalIdentifier:`c7117256-3de6-48e1-87df-c99c32bad610`},sentAt:{universalIdentifier:`e2315b4f-9edf-4df2-96b9-961e76368671`},sentCount:{universalIdentifier:`2f333d2b-37b8-4ddc-ad0d-c07c6ce066ad`},failedCount:{universalIdentifier:`d373fcd7-b1ce-4c77-8031-a5785c475028`},bouncedCount:{universalIdentifier:`20d884a9-34dd-4667-8ecb-ceec224258e2`},complainedCount:{universalIdentifier:`82842cfa-f12a-4bab-bbde-b2cf587d0406`},unsubscribeTopicId:{universalIdentifier:`0648e7ad-1769-4ff6-a4d5-72da79ef169c`},list:{universalIdentifier:`cb24dcdf-f0e8-4c71-8cff-70b714e86530`},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.messageCampaign,relationTargetObjectUniversalIdentifier:X.timelineActivity})},messages:{universalIdentifier:`e5a177a7-512b-4778-928e-69777a528f7c`},recipients:{universalIdentifier:`05a3271c-5b91-493c-8f30-2d27b31d019e`}},messageList:{...Z(X.messageList),name:{universalIdentifier:`69b9ed8b-7b26-4108-894f-05700ef7e8ee`},members:{universalIdentifier:`92df3493-91cf-4665-8587-1b08917d299b`},campaigns:{universalIdentifier:`e098d838-31ab-4812-91a8-f055f45a6832`},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.messageList,relationTargetObjectUniversalIdentifier:X.timelineActivity})}},messageListMember:{...Z(X.messageListMember),person:{universalIdentifier:`34288425-8805-42fb-8b98-ee13d09be3d3`},list:{universalIdentifier:`d5402005-e8f9-4fbe-8696-b6723cd85018`}},messageChannelMessageAssociation:{...Z(X.messageChannelMessageAssociation),messageChannelId:{universalIdentifier:`20202020-b658-408f-bd46-3bd2d15d7e52`},message:{universalIdentifier:`20202020-da5d-4ac5-8743-342ab0a0336b`},messageExternalId:{universalIdentifier:`20202020-37d6-438f-b6fd-6503596c8f34`},messageThread:{universalIdentifier:`20202020-fac8-42a8-94dd-44dbc920ae16`},messageThreadExternalId:{universalIdentifier:`20202020-35fb-421e-afa0-0b8e8f7f9018`},direction:{universalIdentifier:`75c9b0f7-9e76-44d4-a2f9-47051e61eec7`},messageFolders:{universalIdentifier:`9bfc9da7-ae2d-44fd-9563-ede90c5d6222`}},messageChannelMessageAssociationMessageFolder:{...Z(X.messageChannelMessageAssociationMessageFolder),messageChannelMessageAssociation:{universalIdentifier:`7411cfa3-4fd9-4b90-a636-940015fd7243`},messageFolderId:{universalIdentifier:`b3369d31-3856-4a7a-b007-ee353918127c`}},messageParticipant:{...Z(X.messageParticipant),message:{universalIdentifier:`20202020-985b-429a-9db9-9e55f4898a2a`},role:{universalIdentifier:`20202020-65d1-42f4-8729-c9ec1f52aecd`},handle:{universalIdentifier:`20202020-2456-464e-b422-b965a4db4a0b`},displayName:{universalIdentifier:`20202020-36dd-4a4f-ac02-228425be9fac`},person:{universalIdentifier:`20202020-249d-4e0f-82cd-1b9df5cd3da2`},workspaceMember:{universalIdentifier:`20202020-77a7-4845-99ed-1bcbb478be6f`},messageCampaign:{universalIdentifier:`5bc768db-919f-41da-8c43-df08084d526f`}},messageThread:{...Z(X.messageThread),messages:{universalIdentifier:`20202020-3115-404f-aade-e1154b28e35a`},messageChannelMessageAssociations:{universalIdentifier:`20202020-314e-40a4-906d-a5d5d6c285f6`},subject:{universalIdentifier:`a8ddbf8c-1137-45d1-b89e-5ffbd83f67c8`}},message:{...Z(X.message),headerMessageId:{universalIdentifier:`20202020-72b5-416d-aed8-b55609067d01`},messageThread:{universalIdentifier:`20202020-30f2-4ccd-9f5c-e41bb9d26214`},subject:{universalIdentifier:`20202020-52d1-4036-b9ae-84bd722bb37a`},text:{universalIdentifier:`20202020-d2ee-4e7e-89de-9a0a9044a143`},receivedAt:{universalIdentifier:`20202020-140a-4a2a-9f86-f13b6a979afc`},messageParticipants:{universalIdentifier:`20202020-7cff-4a74-b63c-73228448cbd9`},messageChannelMessageAssociations:{universalIdentifier:`20202020-3cef-43a3-82c6-50e7cfbc9ae4`},messageCampaign:{universalIdentifier:`77cff00b-a0ba-48d6-80de-0d5ccf14e45b`},deliveryStatus:{universalIdentifier:`209254fa-2b89-429d-a72a-c401c4bd5a78`},isDraft:{universalIdentifier:`20202020-4d3a-4b6e-9c1f-2a5e7b9d0c34`}},note:{...Z(X.note),title:{universalIdentifier:`20202020-faeb-4c76-8ba6-ccbb0b4a965f`},bodyV2:{universalIdentifier:`20202020-a7bb-4d94-be51-8f25181502c8`},noteTargets:{universalIdentifier:`20202020-1f25-43fe-8b00-af212fdde823`},attachments:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.note,relationTargetObjectUniversalIdentifier:X.attachment})},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.note,relationTargetObjectUniversalIdentifier:X.timelineActivity})}},noteTarget:{...Z(X.noteTarget),note:{universalIdentifier:`20202020-57f3-4f50-9599-fc0f671df003`},targetPerson:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.noteTarget,relationTargetObjectUniversalIdentifier:X.person})},targetCompany:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.noteTarget,relationTargetObjectUniversalIdentifier:X.company})},targetOpportunity:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.noteTarget,relationTargetObjectUniversalIdentifier:X.opportunity})}},opportunity:{...Z(X.opportunity),name:{universalIdentifier:`20202020-8609-4f65-a2d9-44009eb422b5`},amount:{universalIdentifier:`20202020-583e-4642-8533-db761d5fa82f`},closeDate:{universalIdentifier:`20202020-527e-44d6-b1ac-c4158d307b97`},stage:{universalIdentifier:`20202020-6f76-477d-8551-28cd65b2b4b9`},pointOfContact:{universalIdentifier:`20202020-8dfb-42fc-92b6-01afb759ed16`},company:{universalIdentifier:`20202020-cbac-457e-b565-adece5fc815f`},owner:{universalIdentifier:`20202020-be7e-4d1e-8e19-3d5c7c4b9f2a`},taskTargets:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.opportunity,relationTargetObjectUniversalIdentifier:X.taskTarget})},noteTargets:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.opportunity,relationTargetObjectUniversalIdentifier:X.noteTarget})},attachments:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.opportunity,relationTargetObjectUniversalIdentifier:X.attachment})},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.opportunity,relationTargetObjectUniversalIdentifier:X.timelineActivity})}},person:{...Z(X.person),name:{universalIdentifier:`20202020-3875-44d5-8c33-a6239011cab8`},emails:{universalIdentifier:`20202020-3c51-43fa-8b6e-af39e29368ab`},linkedinLink:{universalIdentifier:`20202020-f1af-48f7-893b-2007a73dd508`},jobTitle:{universalIdentifier:`20202020-b0d0-415a-bef9-640a26dacd9b`},phones:{universalIdentifier:`20202020-0638-448e-8825-439134618022`},avatarUrl:{universalIdentifier:`20202020-b8a6-40df-961c-373dc5d2ec21`},avatarFile:{universalIdentifier:`20202020-a7c9-4e3d-8f1b-2d5a6b7c8e9f`},company:{universalIdentifier:`20202020-e2f3-448e-b34c-2d625f0025fd`},pointOfContactForOpportunities:{universalIdentifier:`20202020-911b-4a7d-b67b-918aa9a5b33a`},taskTargets:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.person,relationTargetObjectUniversalIdentifier:X.taskTarget})},noteTargets:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.person,relationTargetObjectUniversalIdentifier:X.noteTarget})},attachments:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.person,relationTargetObjectUniversalIdentifier:X.attachment})},messageParticipants:{universalIdentifier:`20202020-498e-4c61-8158-fa04f0638334`},calendarEventParticipants:{universalIdentifier:`20202020-52ee-45e9-a702-b64b3753e3a9`},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.person,relationTargetObjectUniversalIdentifier:X.timelineActivity})},listMemberships:{universalIdentifier:`8b8d1be0-4c94-4413-a2c9-c7ede205a81d`}},task:{...Z(X.task),title:{universalIdentifier:`20202020-b386-4cb7-aa5a-08d4a4d92680`},bodyV2:{universalIdentifier:`20202020-4aa0-4ae8-898d-7df0afd47ab1`},dueAt:{universalIdentifier:`20202020-fd99-40da-951b-4cb9a352fce3`},status:{universalIdentifier:`20202020-70bc-48f9-89c5-6aa730b151e0`},taskTargets:{universalIdentifier:`20202020-de9c-4d0e-a452-713d4a3e5fc7`},attachments:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.task,relationTargetObjectUniversalIdentifier:X.attachment})},assignee:{universalIdentifier:`20202020-065a-4f42-a906-e20422c1753f`},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.task,relationTargetObjectUniversalIdentifier:X.timelineActivity})}},taskTarget:{...Z(X.taskTarget),task:{universalIdentifier:`20202020-e881-457a-8758-74aaef4ae78a`},targetPerson:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.taskTarget,relationTargetObjectUniversalIdentifier:X.person})},targetCompany:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.taskTarget,relationTargetObjectUniversalIdentifier:X.company})},targetOpportunity:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.taskTarget,relationTargetObjectUniversalIdentifier:X.opportunity})}},workflow:{...Z(X.workflow),name:{universalIdentifier:`20202020-b3d3-478f-acc0-5d901e725b20`},lastPublishedVersionId:{universalIdentifier:`20202020-326a-4fba-8639-3456c0a169e8`},coreWorkflowId:{universalIdentifier:`20202020-058a-42ad-8eb8-0662a5552aad`},statuses:{universalIdentifier:`20202020-357c-4432-8c50-8c31b4a552d9`},versions:{universalIdentifier:`20202020-9432-416e-8f3c-27ee3153d099`},runs:{universalIdentifier:`20202020-759b-4340-b58b-e73595c4df4f`},automatedTriggers:{universalIdentifier:`20202020-3319-4234-a34c-117ecad2b8a9`},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.workflow,relationTargetObjectUniversalIdentifier:X.timelineActivity})},attachments:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.workflow,relationTargetObjectUniversalIdentifier:X.attachment})}},workflowAutomatedTrigger:{...Z(X.workflowAutomatedTrigger),type:{universalIdentifier:`20202020-3319-4234-a34c-3f92c1ab56e7`},settings:{universalIdentifier:`20202020-3319-4234-a34c-bac8f903de12`},workflow:{universalIdentifier:`20202020-3319-4234-a34c-8e1a4d2f7c03`}},workflowRun:{...Z(X.workflowRun),name:{universalIdentifier:`20202020-b840-4253-aef9-4e5013694587`},workflowVersion:{universalIdentifier:`20202020-2f52-4ba8-8dc4-d0d6adb9578d`},workflow:{universalIdentifier:`20202020-8c57-4e7f-84f5-f373f68e1b82`},enqueuedAt:{universalIdentifier:`20202020-f1e3-4de1-a461-b5c4fdbc861d`},startedAt:{universalIdentifier:`20202020-a234-4e2d-bd15-85bcea6bb183`},endedAt:{universalIdentifier:`20202020-e1c1-4b6b-bbbd-b2beaf2e159e`},status:{universalIdentifier:`20202020-6b3e-4f9c-8c2b-2e5b8e6d6f3b`},state:{universalIdentifier:`20202020-611f-45f3-9cde-d64927e8ec57`},stepLogs:{universalIdentifier:`20202020-7c4e-4e1a-8fc1-1e3a55d6c2a1`},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.workflowRun,relationTargetObjectUniversalIdentifier:X.timelineActivity})}},workflowVersion:{...Z(X.workflowVersion),name:{universalIdentifier:`20202020-a12f-4cca-9937-a2e40cc65509`},workflow:{universalIdentifier:`20202020-afa3-46c3-91b0-0631ca6aa1c8`},trigger:{universalIdentifier:`20202020-4eae-43e7-86e0-212b41a30b48`},status:{universalIdentifier:`20202020-5a34-440e-8a25-39d8c3d1d4cf`},runs:{universalIdentifier:`20202020-1d08-46df-901a-85045f18099a`},steps:{universalIdentifier:`20202020-5988-4a64-b94a-1f9b7b989039`},coreWorkflowVersionId:{universalIdentifier:`20202020-58b4-46e8-b6d2-f1f3c74cf7f4`},timelineActivities:{universalIdentifier:J({applicationUniversalIdentifier:q,objectUniversalIdentifier:X.workflowVersion,relationTargetObjectUniversalIdentifier:X.timelineActivity})}},workspaceMember:{...Z(X.workspaceMember),name:{universalIdentifier:`20202020-e914-43a6-9c26-3603c59065f4`},colorScheme:{universalIdentifier:`20202020-66bc-47f2-adac-f2ef7c598b63`},openRecordIn:{universalIdentifier:`20202020-1b16-419d-9323-6f3ea850e5d9`},locale:{universalIdentifier:`20202020-402e-4695-b169-794fa015afbe`},avatarUrl:{universalIdentifier:`20202020-0ced-4c4f-a376-c98a966af3f6`},userEmail:{universalIdentifier:`20202020-4c5f-4e09-bebc-9e624e21ecf4`},jobTitle:{universalIdentifier:`20202020-4dd4-4619-826e-08f6c06b374d`},userId:{universalIdentifier:`20202020-75a9-4dfc-bf25-2e4b43e89820`},assignedTasks:{universalIdentifier:`20202020-61dc-4a1c-99e8-38ebf8d2bbeb`},ownedOpportunities:{universalIdentifier:`20202020-9e4d-4b3a-8c1f-6d7e8f9a0b1c`},accountOwnerForCompanies:{universalIdentifier:`20202020-dc29-4bd4-a3c1-29eafa324bee`},messageParticipants:{universalIdentifier:`20202020-8f99-48bc-a5eb-edd33dd54188`},blocklist:{universalIdentifier:`20202020-6cb2-4161-9f29-a4b7f1283859`},calendarEventParticipants:{universalIdentifier:`20202020-0dbc-4841-9ce1-3e793b5b3512`},timelineActivities:{universalIdentifier:`20202020-e15b-47b8-94fe-8200e3c66615`},timeZone:{universalIdentifier:`20202020-2d33-4c21-a86e-5943b050dd54`},dateFormat:{universalIdentifier:`20202020-af13-4e11-b1e7-b8cf5ea13dc0`},timeFormat:{universalIdentifier:`20202020-8acb-4cf8-a851-a6ed443c8d81`},calendarStartDay:{universalIdentifier:`20202020-1ecc-4562-84c9-ff3a2f6cce85`},numberFormat:{universalIdentifier:`20202020-7f40-4e7f-b126-11c0eda6b141`}}},$=({objectUniversalIdentifier:e,fields:t,viewFieldNames:n})=>{let r=zN({objectMetadataApplicationUniversalIdentifier:q,objectUniversalIdentifier:e,viewKey:kp.INDEX});return{universalIdentifier:r,viewFields:Object.fromEntries(n.map(n=>{let i=t[n];if(i===void 0)throw Error(`Missing field "${n}" for the INDEX view of object ${e}`);return[n,{universalIdentifier:RN({fieldMetadataApplicationUniversalIdentifier:q,viewUniversalIdentifier:r,fieldMetadataUniversalIdentifier:i.universalIdentifier})}]}))}},vF={attachment:{universalIdentifier:X.attachment,fields:Q.attachment,morphIds:{targetMorphId:{morphId:`20202020-f634-435d-ab8d-e1168b375c69`}},indexes:{taskIdIndex:{universalIdentifier:`b8d4f9a3-0c25-4e7b-9f6a-2d3e4c5b6f70`},noteIdIndex:{universalIdentifier:`9d31ea73-13b6-4e06-84ee-c66c72bf7787`},personIdIndex:{universalIdentifier:`55637a5a-1edc-4351-8d76-d40020bf8944`},companyIdIndex:{universalIdentifier:`4137ba06-184d-438f-b484-080f02a97659`},opportunityIdIndex:{universalIdentifier:`8cc162d1-c127-4981-878d-f78622f8f12d`},dashboardIdIndex:{universalIdentifier:`c10eba2d-ff1a-4eab-9285-50481c12a003`},workflowIdIndex:{universalIdentifier:`fadeab4b-79ee-4173-af79-72c51fbad888`}},views:{allAttachments:$({objectUniversalIdentifier:X.attachment,fields:Q.attachment,viewFieldNames:[`name`,`file`,`createdBy`,`createdAt`,`targetPerson`,`targetCompany`,`targetOpportunity`,`targetTask`,`targetNote`,`targetDashboard`,`targetWorkflow`]})}},blocklist:{universalIdentifier:X.blocklist,fields:Q.blocklist,indexes:{workspaceMemberIdIndex:{universalIdentifier:`4daf320e-74d0-4f24-a45a-af3a09d741cb`}},views:{allBlocklists:$({objectUniversalIdentifier:X.blocklist,fields:Q.blocklist,viewFieldNames:[`handle`,`workspaceMember`,`createdAt`]}),blocklistRecordPageFields:{universalIdentifier:`5c679d04-7a1c-41be-9429-c9317ac7a0ea`,viewFieldGroups:{general:{universalIdentifier:`94009e34-52fb-4534-89ce-6c6d0a774056`},system:{universalIdentifier:`35dace44-6e63-4cdb-b761-a92bcf126a7e`}},viewFields:{workspaceMember:{universalIdentifier:`f2f5732f-7435-44be-986b-4c4d834fdfeb`},createdAt:{universalIdentifier:`b2594a03-e00f-4de9-89da-b34bb95c2221`},createdBy:{universalIdentifier:`80a60507-6c7a-4713-b5de-b94ac293bf23`}}}}},calendarChannelEventAssociation:{universalIdentifier:X.calendarChannelEventAssociation,fields:Q.calendarChannelEventAssociation,indexes:{calendarChannelIdIndex:{universalIdentifier:`ff6b86c1-3112-4dfa-b734-c4789111a716`},calendarEventIdIndex:{universalIdentifier:`47a3c8d2-9f14-4b6e-8c5d-1a2b3f4e5c69`}},views:{allCalendarChannelEventAssociations:$({objectUniversalIdentifier:X.calendarChannelEventAssociation,fields:Q.calendarChannelEventAssociation,viewFieldNames:[`calendarChannelId`,`calendarEvent`,`eventExternalId`,`createdAt`]}),calendarChannelEventAssociationRecordPageFields:{universalIdentifier:`766f254a-a0eb-45c8-b4d2-12311201e08f`,viewFieldGroups:{general:{universalIdentifier:`9c27f771-9f85-492f-b1f1-9bc7a175f6f3`},system:{universalIdentifier:`c7b18e05-dd60-4ee4-911a-290790e8c425`}},viewFields:{calendarChannelId:{universalIdentifier:`cd6c6714-fc1d-4511-a664-ec5e8dfd8692`},calendarEvent:{universalIdentifier:`4790ca84-255e-4cb7-9b20-c17f4d94df8e`},eventExternalId:{universalIdentifier:`dbe16c1b-ece2-4d2f-b634-094742ac3e16`},createdAt:{universalIdentifier:`2702ae80-9108-4757-8a25-317a4357484e`},createdBy:{universalIdentifier:`201e0c45-fddc-4217-bfd4-40c13d7f7916`}}}}},calendarEventParticipant:{universalIdentifier:X.calendarEventParticipant,fields:Q.calendarEventParticipant,indexes:{calendarEventIdIndex:{universalIdentifier:`c458ad97-8b95-43de-9003-88eb68576049`},personIdIndex:{universalIdentifier:`30e9b75a-881f-4a85-aaf1-f2d2464be1cf`},workspaceMemberIdIndex:{universalIdentifier:`898aa202-428f-4a7a-a3b3-8f0a17a6658e`}},views:{allCalendarEventParticipants:$({objectUniversalIdentifier:X.calendarEventParticipant,fields:Q.calendarEventParticipant,viewFieldNames:[`calendarEvent`,`handle`,`displayName`,`isOrganizer`,`responseStatus`,`person`,`workspaceMember`,`createdAt`]}),calendarEventParticipantRecordPageFields:{universalIdentifier:`e01ebdb3-8fb8-46d2-8230-82242d593f7a`,viewFieldGroups:{general:{universalIdentifier:`3d842777-436e-467d-90ae-9e1fa0aa7e9c`},system:{universalIdentifier:`098836d8-15c1-44c1-a58e-2ff7fd6a05f9`}},viewFields:{calendarEvent:{universalIdentifier:`865a1278-c356-4b99-a5e9-1ca3d33c7665`},handle:{universalIdentifier:`eb09af9c-b3f4-403c-8cb2-172243f83958`},displayName:{universalIdentifier:`23b97527-6ad3-4f07-bf68-559b97321673`},isOrganizer:{universalIdentifier:`3c126f3c-bd01-4029-b58a-724513fa5fff`},responseStatus:{universalIdentifier:`cd02fc91-8fa4-4fa3-b0e3-1a1fc891e6ee`},person:{universalIdentifier:`46be729d-091c-4012-aeca-16a743008513`},workspaceMember:{universalIdentifier:`c38c1111-f6e0-4698-9b36-db59f8d97de3`},createdAt:{universalIdentifier:`1447c7fa-fe2b-4ff7-8036-8de682537e23`},createdBy:{universalIdentifier:`6d7dff75-0230-45bd-8db9-dc25ef007e6e`}}}}},calendarEvent:{universalIdentifier:X.calendarEvent,fields:Q.calendarEvent,indexes:{},views:{allCalendarEvents:$({objectUniversalIdentifier:X.calendarEvent,fields:Q.calendarEvent,viewFieldNames:[`title`,`startsAt`,`endsAt`,`isFullDay`,`location`,`conferenceLink`,`isCanceled`,`createdAt`]}),calendarEventRecordPageFields:{universalIdentifier:`c73668d1-022d-4eaf-b825-4e2548180db6`,viewFieldGroups:{general:{universalIdentifier:`aeadeb9e-3673-4c0c-8845-f59cb1e6ca42`},system:{universalIdentifier:`eb1aadeb-7feb-44d1-9f9a-e9929e8690fc`}},viewFields:{title:{universalIdentifier:`d17fc76f-2c3a-4c84-8249-27227bf71638`},startsAt:{universalIdentifier:`7bbd3744-d870-4704-882c-071732ed23d9`},endsAt:{universalIdentifier:`ed7ca7e9-c8b3-4516-be4c-6491a27af847`},isFullDay:{universalIdentifier:`5d8f89b7-ec9e-41d6-9efe-96f9c32e6c20`},isCanceled:{universalIdentifier:`a01f490d-cf67-4458-801e-13d81e74b45a`},conferenceLink:{universalIdentifier:`5ad748ae-e1bb-47bb-ac34-d82663c31b6e`},location:{universalIdentifier:`66c73e74-56e6-40c3-b776-0081ee757b8a`},description:{universalIdentifier:`a09449be-b23f-48d4-b0dc-0bd36813220a`},externalCreatedAt:{universalIdentifier:`689c3eba-bedf-4a52-b9f1-3e34ce718251`},externalUpdatedAt:{universalIdentifier:`7823fa45-8cba-47ba-8dfb-5841bef44fc6`},iCalUid:{universalIdentifier:`8be763dd-6217-47fb-a7d2-ac223af881d2`},conferenceSolution:{universalIdentifier:`795905b6-c6f8-42cf-b8ea-3e5b6d32145f`}}}}},callRecording:{universalIdentifier:X.callRecording,fields:Q.callRecording,indexes:{calendarEventIdIndex:{universalIdentifier:`8be3cc47-9352-4a1b-ad19-bb186bc0865d`}},views:{allCallRecordings:$({objectUniversalIdentifier:X.callRecording,fields:Q.callRecording,viewFieldNames:[`status`,`recordingRequestStatus`,`title`,`startedAt`]}),callRecordingRecordPageFields:{universalIdentifier:`99fa8b47-3b11-4f9b-8fbc-e67a9e1da682`,viewFieldGroups:{general:{universalIdentifier:`068426eb-dd20-49b0-ae9c-68727f3be2fb`}},viewFields:{title:{universalIdentifier:`6308d574-8579-4cf2-a020-c208df97cf3e`},status:{universalIdentifier:`93483569-fcd2-46cf-b576-9f0318ad2b3b`},recordingRequestStatus:{universalIdentifier:`364a90b1-e9aa-4606-996b-46e579ebeb28`},startedAt:{universalIdentifier:`3fd00fbb-c153-45e3-b6e6-43d18d34052a`},endedAt:{universalIdentifier:`ba8c8d41-c112-4173-b927-5b5c5a5c047b`},video:{universalIdentifier:`acc54ade-cd26-4be2-9391-a42715ad1523`},audio:{universalIdentifier:`9445a547-1d1e-4da3-916b-2c2269c951c9`},transcript:{universalIdentifier:`782c97f6-e6b1-472b-8992-bbb60d25791b`},summary:{universalIdentifier:`a0ace064-cc72-4631-ade3-07cdded86b0e`}}}}},company:{universalIdentifier:X.company,fields:Q.company,indexes:{accountOwnerIdIndex:{universalIdentifier:`ec2ebfc9-0c9b-4597-a87d-aa295e2d8bfe`},domainNameUniqueIndex:{universalIdentifier:`dd300c61-f422-467a-91f4-de4f83c4175b`},searchVectorGinIndex:{universalIdentifier:`c3eb62df-2cc1-4cc3-b7aa-e96a4d65c633`}},views:{allCompanies:$({objectUniversalIdentifier:X.company,fields:Q.company,viewFieldNames:[`name`,`domainName`,`createdBy`,`accountOwner`,`createdAt`,`linkedinLink`,`address`]}),companyRecordPageFields:{universalIdentifier:`20202020-a001-4a01-8a01-c0aba11c1001`,viewFieldGroups:{general:{universalIdentifier:`20202020-a001-4a01-8a01-c0aba11c1101`},business:{universalIdentifier:`20202020-a001-4a01-8a01-c0aba11c1102`},contact:{universalIdentifier:`20202020-a001-4a01-8a01-c0aba11c1103`},system:{universalIdentifier:`20202020-a001-4a01-8a01-c0aba11c1104`}},viewFields:{domainName:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1201`},accountOwner:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1202`},annualRevenue:{universalIdentifier:`2a35f734-dea2-4de9-8395-acbce8df0f97`},linkedinLink:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1206`},address:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1208`},createdAt:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1209`},createdBy:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1210`},updatedAt:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1212`},updatedBy:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1213`},people:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1214`},taskTargets:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1215`},noteTargets:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1216`},opportunities:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1217`},attachments:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c1219`},timelineActivities:{universalIdentifier:`20202020-af01-4a01-8a01-c0aba11c121a`}}}}},dashboard:{universalIdentifier:X.dashboard,fields:Q.dashboard,indexes:{searchVectorGinIndex:{universalIdentifier:`e69f71aa-de0f-4b70-845f-7a8369c47928`}},views:{allDashboards:$({objectUniversalIdentifier:X.dashboard,fields:Q.dashboard,viewFieldNames:[`title`,`createdBy`,`createdAt`,`updatedAt`]})}},messageCampaign:{universalIdentifier:X.messageCampaign,fields:Q.messageCampaign,indexes:{unsubscribeTopicIdIndex:{universalIdentifier:`efe8c20e-d12b-4475-969e-e86e0bbfe444`},listIdIndex:{universalIdentifier:`17bffd6a-714a-458d-a547-f9e2183d9520`},searchVectorGinIndex:{universalIdentifier:`975823ad-9b97-4f39-b2c7-fbd7d77f4bd1`}},views:{allMessageCampaigns:$({objectUniversalIdentifier:X.messageCampaign,fields:Q.messageCampaign,viewFieldNames:[`name`,`subject`,`status`,`list`,`fromAddress`,`sentAt`,`sentCount`,`failedCount`,`bouncedCount`,`complainedCount`,`recipients`,`createdAt`]}),messageCampaignRecordPageFields:{universalIdentifier:`20202020-a009-4a09-8a09-fa9de11ca901`,viewFieldGroups:{stats:{universalIdentifier:`20202020-a009-4a09-8a09-fa9de11ca902`}},viewFields:{status:{universalIdentifier:`20202020-af09-4a09-8a09-fa9de11ca903`},sentAt:{universalIdentifier:`20202020-af09-4a09-8a09-fa9de11ca904`},sentCount:{universalIdentifier:`20202020-af09-4a09-8a09-fa9de11ca905`},failedCount:{universalIdentifier:`20202020-af09-4a09-8a09-fa9de11ca906`},bouncedCount:{universalIdentifier:`20202020-af09-4a09-8a09-fa9de11ca907`},complainedCount:{universalIdentifier:`20202020-af09-4a09-8a09-fa9de11ca908`}}}}},messageList:{universalIdentifier:X.messageList,fields:Q.messageList,indexes:{searchVectorGinIndex:{universalIdentifier:`8e205171-ed74-4620-b7d2-674aab85033a`}},views:{allMessageLists:$({objectUniversalIdentifier:X.messageList,fields:Q.messageList,viewFieldNames:[`name`,`members`,`campaigns`,`createdAt`]})}},messageListMember:{universalIdentifier:X.messageListMember,fields:Q.messageListMember,indexes:{listIdIndex:{universalIdentifier:`61188470-6dcb-4b2a-b1a9-baeb688bccae`},personListUniqueIndex:{universalIdentifier:`e5497dc2-1d72-418c-a389-a0645ca0195a`}}},messageChannelMessageAssociation:{universalIdentifier:X.messageChannelMessageAssociation,fields:Q.messageChannelMessageAssociation,indexes:{messageChannelIdIndex:{universalIdentifier:`9894f9a3-0225-4e7b-9f6a-23d4e2576784`},messageIdIndex:{universalIdentifier:`9bb24d40-60dd-4beb-8c64-a74e8c67f9ee`},messageChannelIdMessageIdUniqueIndex:{universalIdentifier:`1b86ece8-7ce3-4df3-8771-fd4b5d45b2f2`}},views:{allMessageChannelMessageAssociations:$({objectUniversalIdentifier:X.messageChannelMessageAssociation,fields:Q.messageChannelMessageAssociation,viewFieldNames:[`messageChannelId`,`message`,`messageExternalId`,`direction`,`createdAt`]}),messageChannelMessageAssociationRecordPageFields:{universalIdentifier:`680b43e2-5d50-49d8-bbdd-2d208e7b7071`,viewFieldGroups:{general:{universalIdentifier:`86d7066c-ba38-4f6a-996f-77345bedd549`},system:{universalIdentifier:`6044c58c-a63c-4f3f-a283-b8803553628f`}},viewFields:{messageChannelId:{universalIdentifier:`376c7685-9ebe-4c95-b820-424b1c2f264f`},message:{universalIdentifier:`166aa5a0-d825-40dc-be6d-e94b87edd56d`},messageExternalId:{universalIdentifier:`1910bd21-2472-4a83-b8cd-7de51bdd2675`},direction:{universalIdentifier:`9edfbd44-4624-4cf8-b81c-8e169b4e8281`},createdAt:{universalIdentifier:`8651c5c4-db87-427c-8a57-6a9f75c74976`},createdBy:{universalIdentifier:`af4adf31-f698-4aad-9f29-71908924fc9a`}}}}},messageChannelMessageAssociationMessageFolder:{universalIdentifier:X.messageChannelMessageAssociationMessageFolder,fields:Q.messageChannelMessageAssociationMessageFolder,indexes:{messageChannelMessageAssociationIdIndex:{universalIdentifier:`8e6038aa-1f79-4a84-87b5-f33caa172e98`},messageFolderIdIndex:{universalIdentifier:`905299c3-ca81-435d-901c-f68b87562516`},messageChannelMessageAssociationIdMessageFolderIdUniqueIndex:{universalIdentifier:`a3de1788-5dff-4849-ac5a-0dabe5fab216`}},views:{allMessageChannelMessageAssociationMessageFolders:$({objectUniversalIdentifier:X.messageChannelMessageAssociationMessageFolder,fields:Q.messageChannelMessageAssociationMessageFolder,viewFieldNames:[`messageChannelMessageAssociation`,`messageFolderId`,`createdAt`]}),messageChannelMessageAssociationMessageFolderRecordPageFields:{universalIdentifier:`331ec548-07d2-4f9d-a0a2-ef91a9f96184`,viewFieldGroups:{general:{universalIdentifier:`4928521b-ae24-4013-a69a-1392017d57af`},system:{universalIdentifier:`b76cebb3-39b2-477a-9212-8bf1190227a4`}},viewFields:{messageChannelMessageAssociation:{universalIdentifier:`d34ed53e-5156-4a18-a8df-572269496aac`},messageFolderId:{universalIdentifier:`04f14582-caf9-49ee-81ea-e5d4f977bfe1`},createdAt:{universalIdentifier:`39297559-a747-481e-a4c5-b80b8faf1aac`},createdBy:{universalIdentifier:`4692eb91-7fc6-4436-9175-87caa5f6b668`}}}}},messageParticipant:{universalIdentifier:X.messageParticipant,fields:Q.messageParticipant,indexes:{messageIdIndex:{universalIdentifier:`ab0863ba-f95e-493c-b86c-56e1bc7e5bc2`},personIdIndex:{universalIdentifier:`df805c2e-3bfe-4d51-8309-75e5eb4052fe`},workspaceMemberIdIndex:{universalIdentifier:`ce1e3a9e-afe9-439d-abb7-6cc98a6fa405`},messageCampaignIdIndex:{universalIdentifier:`e9bcdd77-cc8b-4532-833c-124dfdc8e5ff`}},views:{allMessageParticipants:$({objectUniversalIdentifier:X.messageParticipant,fields:Q.messageParticipant,viewFieldNames:[`message`,`role`,`handle`,`displayName`,`person`,`workspaceMember`,`createdAt`]}),messageParticipantRecordPageFields:{universalIdentifier:`209ab5c5-4a68-4d32-8255-515919a6c5f5`,viewFieldGroups:{general:{universalIdentifier:`41c18430-34c3-430f-b86b-fc3963281277`},system:{universalIdentifier:`add21830-a7c6-4cde-9eed-430afbcbf557`}},viewFields:{message:{universalIdentifier:`dd8ccf4f-64d7-468c-bc0c-dc4e0efef08d`},role:{universalIdentifier:`5d1f9a65-85cc-41b2-a8bf-8e2c97aab4b3`},displayName:{universalIdentifier:`c50748fe-9f54-4e09-b572-111f076ec7db`},person:{universalIdentifier:`bf2e30dd-df03-4fb2-820a-166a93a2ce2c`},workspaceMember:{universalIdentifier:`00336686-0d63-43e2-b247-599f1227bd85`},createdAt:{universalIdentifier:`8d66ecb8-825d-4c6c-91c0-23a82c87ab46`},createdBy:{universalIdentifier:`17c3acfc-71f1-4b3c-820e-aea23871e850`}}}}},messageThread:{universalIdentifier:X.messageThread,fields:Q.messageThread,indexes:{},views:{allMessageThreads:$({objectUniversalIdentifier:X.messageThread,fields:Q.messageThread,viewFieldNames:[`subject`,`messages`,`updatedAt`,`createdAt`]})}},message:{universalIdentifier:X.message,fields:Q.message,indexes:{messageThreadIdIndex:{universalIdentifier:`7a05b45e-7aa6-4a7e-9bbc-299cbed53c96`},messageCampaignIdIndex:{universalIdentifier:`79e777ca-7008-46c5-b3a6-3108b7c7dfb6`}},views:{allMessages:$({objectUniversalIdentifier:X.message,fields:Q.message,viewFieldNames:[`subject`,`messageThread`,`messageParticipants`,`receivedAt`,`headerMessageId`,`text`,`createdAt`]})}},note:{universalIdentifier:X.note,fields:Q.note,indexes:{searchVectorGinIndex:{universalIdentifier:`8183c8d2-9114-4b6e-8c5d-12a3b14a5a13`}},views:{allNotes:$({objectUniversalIdentifier:X.note,fields:Q.note,viewFieldNames:[`title`,`noteTargets`,`bodyV2`,`createdBy`,`createdAt`]}),noteRecordPageFields:{universalIdentifier:`20202020-a005-4a05-8a05-a0be5a115001`,viewFieldGroups:{general:{universalIdentifier:`20202020-a005-4a05-8a05-a0be5a115101`},system:{universalIdentifier:`20202020-a005-4a05-8a05-a0be5a115103`}},viewFields:{createdAt:{universalIdentifier:`20202020-af05-4a05-8a05-a0be5a115202`},createdBy:{universalIdentifier:`20202020-af05-4a05-8a05-a0be5a115203`},noteTargets:{universalIdentifier:`20202020-af05-4a05-8a05-a0be5a115204`},bodyV2:{universalIdentifier:`20202020-af05-4a05-8a05-a0be5a115205`},updatedAt:{universalIdentifier:`20202020-af05-4a05-8a05-a0be5a115206`},updatedBy:{universalIdentifier:`20202020-af05-4a05-8a05-a0be5a115207`},attachments:{universalIdentifier:`20202020-af05-4a05-8a05-a0be5a115208`},timelineActivities:{universalIdentifier:`20202020-af05-4a05-8a05-a0be5a115209`}}}}},noteTarget:{universalIdentifier:X.noteTarget,fields:Q.noteTarget,morphIds:{targetMorphId:{morphId:`20202020-f635-435d-ab8d-e1168b375c70`}},indexes:{noteIdIndex:{universalIdentifier:`9294d9e3-0225-4c7f-9d6e-23b4c25b6b24`},personIdIndex:{universalIdentifier:`7c069dc0-e83b-4cd5-aaa2-cac7f3e00d80`},companyIdIndex:{universalIdentifier:`2d83909a-a383-4e82-b00a-8b7739f3f906`},opportunityIdIndex:{universalIdentifier:`0d1a59b4-cc87-4b7d-804a-656e8504f371`}},views:{allNoteTargets:$({objectUniversalIdentifier:X.noteTarget,fields:Q.noteTarget,viewFieldNames:[`id`,`note`,`targetPerson`,`targetCompany`,`targetOpportunity`]})}},opportunity:{universalIdentifier:X.opportunity,fields:Q.opportunity,indexes:{pointOfContactIdIndex:{universalIdentifier:`b8c2a673-a981-4357-a43d-313a358e4daa`},companyIdIndex:{universalIdentifier:`e161072d-37b1-477a-b944-ef0d65289574`},stageIndex:{universalIdentifier:`ae60d580-b562-44f2-a24d-7b8040063f83`},searchVectorGinIndex:{universalIdentifier:`f53fdd28-a26b-47ba-81b5-6813ad622720`}},views:{allOpportunities:$({objectUniversalIdentifier:X.opportunity,fields:Q.opportunity,viewFieldNames:[`name`,`amount`,`createdBy`,`closeDate`,`company`,`pointOfContact`]}),byStage:{universalIdentifier:`20202020-a004-4a04-8a04-0aa0b1ca1ba0`,viewFields:{name:{universalIdentifier:`20202020-af04-4a04-8a04-0aa0b2ca2baf`},amount:{universalIdentifier:`20202020-af04-4a04-8a04-0aa0b2ca2bb0`},createdBy:{universalIdentifier:`20202020-af04-4a04-8a04-0aa0b2ca2bb1`},closeDate:{universalIdentifier:`20202020-af04-4a04-8a04-0aa0b2ca2bb2`},company:{universalIdentifier:`20202020-af04-4a04-8a04-0aa0b2ca2bb3`},pointOfContact:{universalIdentifier:`20202020-af04-4a04-8a04-0aa0b2ca2bb4`}},viewGroups:{new:{universalIdentifier:`20202020-af14-4a04-8a04-0aa0b2ca2bf1`},screening:{universalIdentifier:`20202020-af14-4a04-8a04-0aa0b2ca2bf2`},meeting:{universalIdentifier:`20202020-af14-4a04-8a04-0aa0b2ca2bf3`},proposal:{universalIdentifier:`20202020-af14-4a04-8a04-0aa0b2ca2bf4`},customer:{universalIdentifier:`20202020-af14-4a04-8a04-0aa0b2ca2bf5`}}},opportunityRecordPageFields:{universalIdentifier:`20202020-a003-4a03-8a03-0aa0b1ca3001`,viewFieldGroups:{deal:{universalIdentifier:`20202020-a003-4a03-8a03-0aa0b1ca3101`},relations:{universalIdentifier:`20202020-a003-4a03-8a03-0aa0b1ca3102`},system:{universalIdentifier:`20202020-a003-4a03-8a03-0aa0b1ca3103`}},viewFields:{amount:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca3201`},closeDate:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca3202`},stage:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca3203`},company:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca3204`},pointOfContact:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca3205`},owner:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca3206`},createdAt:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca3207`},createdBy:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca3208`},updatedAt:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca320a`},updatedBy:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca320b`},taskTargets:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca320d`},noteTargets:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca320e`},attachments:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca320f`},timelineActivities:{universalIdentifier:`20202020-af03-4a03-8a03-0aa0b1ca3210`}}}}},person:{universalIdentifier:X.person,fields:Q.person,indexes:{companyIdIndex:{universalIdentifier:`8a265a5c-d3ae-47dc-bdf9-b42cfa2ba639`},emailsUniqueIndex:{universalIdentifier:`8183a8b2-9114-4f6c-8a5b-12e3f14e5e13`},searchVectorGinIndex:{universalIdentifier:`9294b9c3-0225-4a7d-9b6c-23f4a25f6f24`}},views:{allPeople:$({objectUniversalIdentifier:X.person,fields:Q.person,viewFieldNames:[`name`,`emails`,`createdBy`,`company`,`phones`,`createdAt`,`jobTitle`,`linkedinLink`]}),personRecordPageFields:{universalIdentifier:`20202020-a002-4a02-8a02-ae0a1ea12001`,viewFieldGroups:{general:{universalIdentifier:`20202020-a002-4a02-8a02-ae0a1ea12101`},work:{universalIdentifier:`20202020-a002-4a02-8a02-ae0a1ea12102`},social:{universalIdentifier:`20202020-a002-4a02-8a02-ae0a1ea12103`},system:{universalIdentifier:`20202020-a002-4a02-8a02-ae0a1ea12104`}},viewFields:{emails:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12201`},phones:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12202`},company:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12203`},jobTitle:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12204`},linkedinLink:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12205`},avatarUrl:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12208`},createdAt:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12209`},createdBy:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12210`},updatedAt:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12212`},updatedBy:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12213`},avatarFile:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12214`},pointOfContactForOpportunities:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12215`},taskTargets:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12216`},noteTargets:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12217`},attachments:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea12219`},messageParticipants:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea1221a`},calendarEventParticipants:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea1221b`},timelineActivities:{universalIdentifier:`20202020-af02-4a02-8a02-ae0a1ea1221c`}}}}},task:{universalIdentifier:X.task,fields:Q.task,indexes:{assigneeIdIndex:{universalIdentifier:`f48fa3b1-0cec-44da-a9e5-f8a5e766637e`},searchVectorGinIndex:{universalIdentifier:`a86b32b3-01d3-4302-a152-8b7f247db7b4`}},views:{allTasks:$({objectUniversalIdentifier:X.task,fields:Q.task,viewFieldNames:[`title`,`status`,`taskTargets`,`createdBy`,`dueAt`,`assignee`,`bodyV2`,`createdAt`]}),assignedToMe:{universalIdentifier:`20202020-a007-4a07-8a07-ba5ca551aaed`,viewFields:{title:{universalIdentifier:`20202020-af07-4a07-8a07-ba5ca551aaed`},taskTargets:{universalIdentifier:`20202020-af07-4a07-8a07-ba5ca551aaee`},createdBy:{universalIdentifier:`20202020-af07-4a07-8a07-ba5ca551aaef`},dueAt:{universalIdentifier:`20202020-af07-4a07-8a07-ba5ca551aaf0`},assignee:{universalIdentifier:`20202020-af07-4a07-8a07-ba5ca551aaf1`},bodyV2:{universalIdentifier:`20202020-af07-4a07-8a07-ba5ca551aaf2`},createdAt:{universalIdentifier:`20202020-af07-4a07-8a07-ba5ca551aaf3`}},viewFilters:{assigneeIsMe:{universalIdentifier:`20202020-af17-4a07-8a07-ba5ca551abf1`}},viewGroups:{todo:{universalIdentifier:`20202020-af17-4a07-8a07-ba5ca551abf2`},inProgress:{universalIdentifier:`20202020-af17-4a07-8a07-ba5ca551abf3`},done:{universalIdentifier:`20202020-af17-4a07-8a07-ba5ca551abf4`},empty:{universalIdentifier:`20202020-af17-4a07-8a07-ba5ca551abf5`}}},byStatus:{universalIdentifier:`20202020-a008-4a08-8a08-ba5cba51aba5`,viewFields:{title:{universalIdentifier:`20202020-af08-4a08-8a08-ba5cba5babf0`},status:{universalIdentifier:`20202020-af08-4a08-8a08-ba5cba5babf1`},dueAt:{universalIdentifier:`20202020-af08-4a08-8a08-ba5cba5babf2`},assignee:{universalIdentifier:`20202020-af08-4a08-8a08-ba5cba5babf3`},createdAt:{universalIdentifier:`20202020-af08-4a08-8a08-ba5cba5babf4`}},viewGroups:{todo:{universalIdentifier:`20202020-af18-4a08-8a08-ba5cba5bbf01`},inProgress:{universalIdentifier:`20202020-af18-4a08-8a08-ba5cba5bbf02`},done:{universalIdentifier:`20202020-af18-4a08-8a08-ba5cba5bbf03`}}},taskRecordPageFields:{universalIdentifier:`20202020-a006-4a06-8a06-ba5ca11a6001`,viewFieldGroups:{general:{universalIdentifier:`20202020-a006-4a06-8a06-ba5ca11a6101`},system:{universalIdentifier:`20202020-a006-4a06-8a06-ba5ca11a6103`}},viewFields:{dueAt:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a6202`},status:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a6203`},assignee:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a6204`},createdAt:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a6205`},createdBy:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a6206`},taskTargets:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a6207`},bodyV2:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a6208`},updatedAt:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a6209`},updatedBy:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a620a`},attachments:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a620b`},timelineActivities:{universalIdentifier:`20202020-af06-4a06-8a06-ba5ca11a620c`}}}}},taskTarget:{universalIdentifier:X.taskTarget,fields:Q.taskTarget,morphIds:{targetMorphId:{morphId:`20202020-f636-435d-ab8d-e1168b375c71`}},indexes:{taskIdIndex:{universalIdentifier:`c882f7a4-b025-4d32-aa26-5ef2595bdbf9`},personIdIndex:{universalIdentifier:`b7d305d1-6fae-4ed6-9bdc-354fe9032c0e`},companyIdIndex:{universalIdentifier:`c0af54c7-751b-4bb2-b102-677cc4e47402`},opportunityIdIndex:{universalIdentifier:`6942e0ba-90f6-4c33-bf40-7f00b1ec35ab`}},views:{allTaskTargets:$({objectUniversalIdentifier:X.taskTarget,fields:Q.taskTarget,viewFieldNames:[`id`,`task`,`targetPerson`,`targetCompany`,`targetOpportunity`]})}},timelineActivity:{universalIdentifier:X.timelineActivity,fields:Q.timelineActivity,morphIds:{targetMorphId:{morphId:`20202020-9a2b-4c3d-a4e5-f6a7b8c9d0e1`}},indexes:{workspaceMemberIdIndex:{universalIdentifier:`5e0b2391-85ca-4a66-aef4-52d74245bec2`},personIdIndex:{universalIdentifier:`3e89a914-7bec-47bd-9cf9-743c6b83d001`},companyIdIndex:{universalIdentifier:`8183e8f2-9114-4d6a-8e5f-12c3d14c5c13`},opportunityIdIndex:{universalIdentifier:`9294f9a3-0225-4e7b-9f6a-23d4e25d6d24`},noteIdIndex:{universalIdentifier:`995db1d8-0d3e-40f7-b0eb-5e6897bc9966`},taskIdIndex:{universalIdentifier:`609cf622-86ef-48d1-812b-e1cab610a46c`},workflowIdIndex:{universalIdentifier:`d6059ec2-92b0-4cfc-9fd8-78050f03108f`},workflowVersionIdIndex:{universalIdentifier:`d94329b3-5dc8-4141-ae28-31afe28f7135`},workflowRunIdIndex:{universalIdentifier:`1a2bd046-7c23-4e0a-9f8a-c3ca3a16d3b9`},dashboardIdIndex:{universalIdentifier:`e8821da9-728d-470a-bf5b-5a981fff7880`}},views:{allTimelineActivities:$({objectUniversalIdentifier:X.timelineActivity,fields:Q.timelineActivity,viewFieldNames:[`name`,`happensAt`,`workspaceMember`,`targetPerson`,`targetCompany`,`targetOpportunity`,`targetTask`,`targetNote`,`targetWorkflow`,`targetWorkflowVersion`,`targetWorkflowRun`,`targetDashboard`]})}},workflow:{universalIdentifier:X.workflow,fields:Q.workflow,indexes:{searchVectorGinIndex:{universalIdentifier:`c7e64c55-eb0c-4b93-b076-5cfcf2e2e042`}},views:{allWorkflows:$({objectUniversalIdentifier:X.workflow,fields:Q.workflow,viewFieldNames:[`name`,`statuses`,`updatedAt`,`createdBy`,`versions`,`runs`]})}},workflowAutomatedTrigger:{universalIdentifier:X.workflowAutomatedTrigger,fields:Q.workflowAutomatedTrigger,indexes:{workflowIdIndex:{universalIdentifier:`7331ff89-a3f9-4ac0-9fa9-0de5663ae7b2`}},views:{allWorkflowAutomatedTriggers:$({objectUniversalIdentifier:X.workflowAutomatedTrigger,fields:Q.workflowAutomatedTrigger,viewFieldNames:[`type`,`workflow`,`createdAt`]}),workflowAutomatedTriggerRecordPageFields:{universalIdentifier:`10aff295-f7ac-475d-8528-661eb9aa9759`,viewFieldGroups:{general:{universalIdentifier:`c5261eae-f2fe-416e-8ef9-eda5d377f8ca`},system:{universalIdentifier:`e6da0410-7f63-41b7-b977-421fc37d67f5`}},viewFields:{type:{universalIdentifier:`3b3a0cf7-f171-4ad8-9aad-aed84eca0250`},workflow:{universalIdentifier:`ddc5a9f6-f577-4e4b-a258-3d656c32babc`},createdAt:{universalIdentifier:`98ef45e8-c6bf-42e6-96f6-e94cd17911bc`},createdBy:{universalIdentifier:`d3933427-de7f-4fa1-b80c-47302273d848`}}}}},workflowRun:{universalIdentifier:X.workflowRun,fields:Q.workflowRun,indexes:{workflowVersionIdIndex:{universalIdentifier:`8183c8d2-9114-4b6e-8c5d-12a3b14a5a14`},workflowIdIndex:{universalIdentifier:`9294d9e3-0225-4c7f-9d6e-23b4c25b6b25`},searchVectorGinIndex:{universalIdentifier:`e0ac5ad2-d0c8-4f72-b710-8e53b9dc18d9`}},views:{allWorkflowRuns:$({objectUniversalIdentifier:X.workflowRun,fields:Q.workflowRun,viewFieldNames:[`name`,`workflow`,`status`]}),workflowRunRecordPageFields:{universalIdentifier:`20202020-a011-4a11-8a11-a0bcf10abcf1`,viewFields:{status:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abcf6`},workflow:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abcf7`},workflowVersion:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abcf8`},startedAt:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abcf9`},endedAt:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abcfa`},createdAt:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abcfb`},createdBy:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abcfc`},enqueuedAt:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abcfd`},state:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abd01`},updatedAt:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abd02`},updatedBy:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abd03`},timelineActivities:{universalIdentifier:`20202020-af11-4a11-8a11-a0bcf10abd05`}},viewFieldGroups:{general:{universalIdentifier:`20202020-a011-4a11-8a11-a0bcf10abcf2`},system:{universalIdentifier:`20202020-a011-4a11-8a11-a0bcf10abcf4`}}}}},workflowVersion:{universalIdentifier:X.workflowVersion,fields:Q.workflowVersion,indexes:{workflowIdIndex:{universalIdentifier:`8138c3b3-0b14-4ee1-be0e-debdde6b3219`},searchVectorGinIndex:{universalIdentifier:`6f3a65eb-2aee-4108-b8a0-c62da419d1dc`}},views:{allWorkflowVersions:$({objectUniversalIdentifier:X.workflowVersion,fields:Q.workflowVersion,viewFieldNames:[`name`,`workflow`,`status`,`updatedAt`,`runs`]}),workflowVersionRecordPageFields:{universalIdentifier:`20202020-a010-4a10-8a10-a0bcf10aaef1`,viewFields:{status:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaef6`},workflow:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaef7`},trigger:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaef8`},createdAt:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaef9`},steps:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaefa`},createdBy:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaefb`},updatedAt:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaefc`},updatedBy:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaefd`},runs:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaefe`},timelineActivities:{universalIdentifier:`20202020-af10-4a10-8a10-a0bcf10aaf01`}},viewFieldGroups:{general:{universalIdentifier:`20202020-a010-4a10-8a10-a0bcf10aaef2`},system:{universalIdentifier:`20202020-a010-4a10-8a10-a0bcf10aaef4`}}}}},workspaceMember:{universalIdentifier:X.workspaceMember,fields:Q.workspaceMember,indexes:{userEmailUniqueIndex:{universalIdentifier:`76da5f27-523c-44b6-ad06-12954f6b949f`},searchVectorGinIndex:{universalIdentifier:`8678dde9-a804-4a9e-80e3-9af35e471ec5`}},views:{allWorkspaceMembers:$({objectUniversalIdentifier:X.workspaceMember,fields:Q.workspaceMember,viewFieldNames:[`name`,`createdAt`,`ownedOpportunities`,`assignedTasks`]})}}},yF={myFirstDashboard:{universalIdentifier:`20202020-d001-4d01-8d01-da5ab0a00001`,tabs:{tab1:{universalIdentifier:`20202020-d011-4d11-8d11-da5ab0a01001`,widgets:{welcomeRichText:{universalIdentifier:`20202020-d111-4d11-8d11-da5ab0a11001`},dealsByCompany:{universalIdentifier:`20202020-d111-4d11-8d11-da5ab0a11002`},pipelineValueByStage:{universalIdentifier:`20202020-d111-4d11-8d11-da5ab0a11003`},revenueTimeline:{universalIdentifier:`20202020-d111-4d11-8d11-da5ab0a11004`},opportunitiesByOwner:{universalIdentifier:`20202020-d111-4d11-8d11-da5ab0a11005`},stockMarketIframe:{universalIdentifier:`20202020-d111-4d11-8d11-da5ab0a11006`},dealsCreatedThisMonth:{universalIdentifier:`20202020-d111-4d11-8d11-da5ab0a11007`},dealValueCreatedThisMonth:{universalIdentifier:`20202020-d111-4d11-8d11-da5ab0a11008`}}}}},companyRecordPage:{universalIdentifier:`20202020-a101-4001-8001-c0aba11c0001`,tabs:{home:{universalIdentifier:`20202020-ab01-4001-8001-c0aba11c0101`,widgets:{fields:{universalIdentifier:`20202020-ac01-4001-8001-c0aba11c0111`},people:{universalIdentifier:`20202020-ac01-4001-8001-c0aba11c0112`},opportunities:{universalIdentifier:`20202020-ac01-4001-8001-c0aba11c0114`}}},timeline:{universalIdentifier:`20202020-ab01-4001-8001-c0aba11c0102`,widgets:{timeline:{universalIdentifier:`20202020-ac01-4001-8001-c0aba11c0121`}}},tasks:{universalIdentifier:`20202020-ab01-4001-8001-c0aba11c0103`,widgets:{tasks:{universalIdentifier:`20202020-ac01-4001-8001-c0aba11c0131`}}},notes:{universalIdentifier:`20202020-ab01-4001-8001-c0aba11c0104`,widgets:{notes:{universalIdentifier:`20202020-ac01-4001-8001-c0aba11c0141`}}},files:{universalIdentifier:`20202020-ab01-4001-8001-c0aba11c0105`,widgets:{files:{universalIdentifier:`20202020-ac01-4001-8001-c0aba11c0151`}}},emails:{universalIdentifier:`20202020-ab01-4001-8001-c0aba11c0106`,widgets:{emails:{universalIdentifier:`20202020-ac01-4001-8001-c0aba11c0161`}}},calendar:{universalIdentifier:`20202020-ab01-4001-8001-c0aba11c0107`,widgets:{calendar:{universalIdentifier:`20202020-ac01-4001-8001-c0aba11c0171`}}}}},personRecordPage:{universalIdentifier:`20202020-a102-4002-8002-ae0a1ea11002`,tabs:{home:{universalIdentifier:`20202020-ab02-4002-8002-ae0a1ea11201`,widgets:{fields:{universalIdentifier:`20202020-ac02-4002-8002-ae0a1ea11211`},company:{universalIdentifier:`20202020-ac02-4002-8002-ae0a1ea11212`},pointOfContactForOpportunities:{universalIdentifier:`20202020-ac02-4002-8002-ae0a1ea11213`},listMemberships:{universalIdentifier:`f344eb7d-23c1-457a-a29b-32fd548b6aba`}}},timeline:{universalIdentifier:`20202020-ab02-4002-8002-ae0a1ea11202`,widgets:{timeline:{universalIdentifier:`20202020-ac02-4002-8002-ae0a1ea11221`}}},tasks:{universalIdentifier:`20202020-ab02-4002-8002-ae0a1ea11203`,widgets:{tasks:{universalIdentifier:`20202020-ac02-4002-8002-ae0a1ea11231`}}},notes:{universalIdentifier:`20202020-ab02-4002-8002-ae0a1ea11204`,widgets:{notes:{universalIdentifier:`20202020-ac02-4002-8002-ae0a1ea11241`}}},files:{universalIdentifier:`20202020-ab02-4002-8002-ae0a1ea11205`,widgets:{files:{universalIdentifier:`20202020-ac02-4002-8002-ae0a1ea11251`}}},emails:{universalIdentifier:`20202020-ab02-4002-8002-ae0a1ea11206`,widgets:{emails:{universalIdentifier:`20202020-ac02-4002-8002-ae0a1ea11261`}}},calendar:{universalIdentifier:`20202020-ab02-4002-8002-ae0a1ea11207`,widgets:{calendar:{universalIdentifier:`20202020-ac02-4002-8002-ae0a1ea11271`}}}}},opportunityRecordPage:{universalIdentifier:`20202020-a103-4003-8003-0aa0b1ca1003`,tabs:{home:{universalIdentifier:`20202020-ab03-4003-8003-0aa0b1ca1301`,widgets:{fields:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1311`},pointOfContact:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1312`},company:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1313`},owner:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1314`}}},timeline:{universalIdentifier:`20202020-ab03-4003-8003-0aa0b1ca1302`,widgets:{timeline:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1321`}}},tasks:{universalIdentifier:`20202020-ab03-4003-8003-0aa0b1ca1303`,widgets:{tasks:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1331`}}},notes:{universalIdentifier:`20202020-ab03-4003-8003-0aa0b1ca1304`,widgets:{notes:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1341`}}},files:{universalIdentifier:`20202020-ab03-4003-8003-0aa0b1ca1305`,widgets:{files:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1351`}}},emails:{universalIdentifier:`20202020-ab03-4003-8003-0aa0b1ca1306`,widgets:{emails:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1361`}}},calendar:{universalIdentifier:`20202020-ab03-4003-8003-0aa0b1ca1307`,widgets:{calendar:{universalIdentifier:`20202020-ac03-4003-8003-0aa0b1ca1371`}}}}},noteRecordPage:{universalIdentifier:`20202020-a104-4004-8004-a0be5a11a004`,tabs:{home:{universalIdentifier:`20202020-ab04-4004-8004-a0be5a11a401`,widgets:{fields:{universalIdentifier:`20202020-ac04-4004-8004-a0be5a11a411`},noteRichText:{universalIdentifier:`20202020-ac04-4004-8004-a0be5a11a412`}}},note:{universalIdentifier:`20202020-ab04-4004-8004-a0be5a11a402`,widgets:{noteRichText:{universalIdentifier:`20202020-ac04-4004-8004-a0be5a11a421`}}},timeline:{universalIdentifier:`20202020-ab04-4004-8004-a0be5a11a403`,widgets:{timeline:{universalIdentifier:`20202020-ac04-4004-8004-a0be5a11a431`}}},files:{universalIdentifier:`20202020-ab04-4004-8004-a0be5a11a404`,widgets:{files:{universalIdentifier:`20202020-ac04-4004-8004-a0be5a11a441`}}}}},taskRecordPage:{universalIdentifier:`20202020-a105-4005-8005-ba5ca11a1005`,tabs:{home:{universalIdentifier:`20202020-ab05-4005-8005-ba5ca11a5501`,widgets:{fields:{universalIdentifier:`20202020-ac05-4005-8005-ba5ca11a5511`},taskRichText:{universalIdentifier:`20202020-ac05-4005-8005-ba5ca11a5512`}}},note:{universalIdentifier:`20202020-ab05-4005-8005-ba5ca11a5502`,widgets:{taskRichText:{universalIdentifier:`20202020-ac05-4005-8005-ba5ca11a5521`}}},timeline:{universalIdentifier:`20202020-ab05-4005-8005-ba5ca11a5503`,widgets:{timeline:{universalIdentifier:`20202020-ac05-4005-8005-ba5ca11a5531`}}},files:{universalIdentifier:`20202020-ab05-4005-8005-ba5ca11a5504`,widgets:{files:{universalIdentifier:`20202020-ac05-4005-8005-ba5ca11a5541`}}}}},workflowRecordPage:{universalIdentifier:`20202020-a106-4006-8006-a0bcf10aa006`,tabs:{flow:{universalIdentifier:`20202020-ab06-4006-8006-a0bcf10a6601`,widgets:{workflow:{universalIdentifier:`20202020-ac06-4006-8006-a0bcf10a6611`}}}}},workflowVersionRecordPage:{universalIdentifier:`20202020-a107-4007-8007-a0bcf10ab007`,tabs:{home:{universalIdentifier:`20202020-ab07-4007-8007-a0bcf10a7701`,widgets:{fields:{universalIdentifier:`20202020-ac07-4007-8007-a0bcf10a7711`},workflow:{universalIdentifier:`20202020-ac07-4007-8007-a0bcf10a7712`}}},flow:{universalIdentifier:`20202020-ab07-4007-8007-a0bcf10a7702`,widgets:{workflowVersion:{universalIdentifier:`20202020-ac07-4007-8007-a0bcf10a7721`}}}}},workflowRunRecordPage:{universalIdentifier:`20202020-a108-4008-8008-a0bcf10ac008`,tabs:{home:{universalIdentifier:`20202020-ab08-4008-8008-a0bcf10a8801`,widgets:{fields:{universalIdentifier:`20202020-ac08-4008-8008-a0bcf10a8811`},workflow:{universalIdentifier:`20202020-ac08-4008-8008-a0bcf10a8813`}}},flow:{universalIdentifier:`20202020-ab08-4008-8008-a0bcf10a8802`,widgets:{workflowRun:{universalIdentifier:`20202020-ac08-4008-8008-a0bcf10a8821`}}}}},blocklistRecordPage:{universalIdentifier:`20202020-a109-4009-8009-b10c115b0001`,tabs:{home:{universalIdentifier:`20202020-ab09-4009-8009-b10c115b0901`,widgets:{fields:{universalIdentifier:`20202020-ac09-4009-8009-b10c115b0911`}}},timeline:{universalIdentifier:`20202020-ab09-4009-8009-b10c115b0902`,widgets:{timeline:{universalIdentifier:`20202020-ac09-4009-8009-b10c115b0921`}}}}},calendarChannelEventAssociationRecordPage:{universalIdentifier:`20202020-a10b-400b-800b-ca1c4e0b0001`,tabs:{home:{universalIdentifier:`20202020-ab0b-400b-800b-ca1c4e0b0b01`,widgets:{fields:{universalIdentifier:`20202020-ac0b-400b-800b-ca1c4e0b0b11`}}},timeline:{universalIdentifier:`20202020-ab0b-400b-800b-ca1c4e0b0b02`,widgets:{timeline:{universalIdentifier:`20202020-ac0b-400b-800b-ca1c4e0b0b21`}}}}},calendarEventRecordPage:{universalIdentifier:`b9b10e40-9ce2-4704-8ac6-c6e92e2563c1`,tabs:{home:{universalIdentifier:`c80a0407-25f5-438b-8c32-1ce9cde95657`,widgets:{fields:{universalIdentifier:`fea5c1c2-0c1d-4d2e-a14c-a10108b0db0f`},participants:{universalIdentifier:`6faea537-02fa-4993-957c-f2e1654986bd`},callRecordings:{universalIdentifier:`f473b435-e2d4-4928-8d90-1db0094389f7`}}},timeline:{universalIdentifier:`9cb35d6d-932d-49bc-b303-593116ca5343`,widgets:{timeline:{universalIdentifier:`8273e2c4-cc17-4d3e-ba08-5bac612b5d44`}}}}},calendarEventParticipantRecordPage:{universalIdentifier:`20202020-a10c-400c-800c-ca1e0a0c0001`,tabs:{home:{universalIdentifier:`20202020-ab0c-400c-800c-ca1e0a0c0c01`,widgets:{fields:{universalIdentifier:`20202020-ac0c-400c-800c-ca1e0a0c0c11`}}},timeline:{universalIdentifier:`20202020-ab0c-400c-800c-ca1e0a0c0c02`,widgets:{timeline:{universalIdentifier:`20202020-ac0c-400c-800c-ca1e0a0c0c21`}}}}},callRecordingRecordPage:{universalIdentifier:`fa475fb3-3fe4-4ab8-8320-495eba5b2e58`,tabs:{home:{universalIdentifier:`f61be659-f6f1-4f1f-b3f9-113370740f1b`,widgets:{fields:{universalIdentifier:`e490d2dd-5b69-4518-b867-9dde815f9cb6`}}},timeline:{universalIdentifier:`9fb360fa-bc10-430c-8425-25d4e9da4386`,widgets:{timeline:{universalIdentifier:`9347305a-73de-4651-a116-c67b2706beda`}}}}},messageChannelMessageAssociationRecordPage:{universalIdentifier:`20202020-a111-4011-8011-a5c4a5110001`,tabs:{home:{universalIdentifier:`20202020-ab11-4011-8011-a5c4a5111101`,widgets:{fields:{universalIdentifier:`20202020-ac11-4011-8011-a5c4a5111111`}}},timeline:{universalIdentifier:`20202020-ab11-4011-8011-a5c4a5111102`,widgets:{timeline:{universalIdentifier:`20202020-ac11-4011-8011-a5c4a5111121`}}}}},messageChannelMessageAssociationMessageFolderRecordPage:{universalIdentifier:`20202020-a112-4012-8012-a5c4a6120001`,tabs:{home:{universalIdentifier:`20202020-ab12-4012-8012-a5c4a6121201`,widgets:{fields:{universalIdentifier:`20202020-ac12-4012-8012-a5c4a6121211`}}},timeline:{universalIdentifier:`20202020-ab12-4012-8012-a5c4a6121202`,widgets:{timeline:{universalIdentifier:`20202020-ac12-4012-8012-a5c4a6121221`}}}}},messageParticipantRecordPage:{universalIdentifier:`20202020-a114-4014-8014-a5ea10140001`,tabs:{home:{universalIdentifier:`20202020-ab14-4014-8014-a5ea10141401`,widgets:{fields:{universalIdentifier:`20202020-ac14-4014-8014-a5ea10141411`}}},timeline:{universalIdentifier:`20202020-ab14-4014-8014-a5ea10141402`,widgets:{timeline:{universalIdentifier:`20202020-ac14-4014-8014-a5ea10141421`}}}}},workflowAutomatedTriggerRecordPage:{universalIdentifier:`20202020-a115-4015-8015-a0bcf1150001`,tabs:{home:{universalIdentifier:`20202020-ab15-4015-8015-a0bcf1151501`,widgets:{fields:{universalIdentifier:`20202020-ac15-4015-8015-a0bcf1151511`}}},timeline:{universalIdentifier:`20202020-ab15-4015-8015-a0bcf1151502`,widgets:{timeline:{universalIdentifier:`20202020-ac15-4015-8015-a0bcf1151521`}}}}},messageThreadRecordPage:{universalIdentifier:`20202020-95bb-40eb-a699-70e7ea02a79e`,tabs:{home:{universalIdentifier:`20202020-f639-48a0-9a44-027cf4e3cd15`,widgets:{emailThread:{universalIdentifier:`20202020-d57e-44cb-b220-69a881feb9c3`}}}}},messageListRecordPage:{universalIdentifier:`c1f0a2b3-4d5e-4f60-8a71-9b2c3d4e5f60`,tabs:{home:{universalIdentifier:`c1f0a2b3-4d5e-4f60-8a71-9b2c3d4e5f61`,widgets:{fields:{universalIdentifier:`c1f0a2b3-4d5e-4f60-8a71-9b2c3d4e5f62`},members:{universalIdentifier:`c1f0a2b3-4d5e-4f60-8a71-9b2c3d4e5f63`}}}}},messageCampaignRecordPage:{universalIdentifier:`8704b091-94bd-4f8f-82b1-e2f3eab92217`,tabs:{composer:{universalIdentifier:`5f21c19d-6c3e-4b8a-9d47-1e8f02a63b71`,widgets:{messageCampaign:{universalIdentifier:`9c74d8e2-0b5f-4a19-8630-57d2ba14ce92`}}},home:{universalIdentifier:`f16785cd-a5b7-4ec1-8f20-ff8b80fb94b9`,widgets:{fields:{universalIdentifier:`886296e0-a5b6-4054-b450-ad624180c2ef`},details:{universalIdentifier:`ce2f82cc-9340-45a2-90a0-c34207e8e3b0`},messages:{universalIdentifier:`a33b43f4-72a1-476d-9372-30e82f450377`},recipients:{universalIdentifier:`b667f20a-1d38-453e-b888-3ecab00a1044`},list:{universalIdentifier:`b04fb8a5-f471-49a7-b82c-8434ea8276c5`}}}}}},bF=e=>{let t=[];if(e.universalIdentifier||t.push(`PageLayout must have a universalIdentifier`),e.name||t.push(`PageLayout must have a name`),e.type||t.push(`PageLayout must have a type`),e.tabs){for(let n of e.tabs)if(n.universalIdentifier||t.push(`PageLayoutTab must have a universalIdentifier`),n.title||t.push(`PageLayoutTab must have a title`),n.widgets)for(let e of n.widgets)e.universalIdentifier||t.push(`PageLayoutWidget must have a universalIdentifier`),e.title||t.push(`PageLayoutWidget must have a title`),e.type||t.push(`PageLayoutWidget must have a type`)}return fP({config:e,errors:t})},xF=e=>{let t=[];if(e.universalIdentifier||t.push(`PageLayoutTab must have a universalIdentifier`),e.title||t.push(`PageLayoutTab must have a title`),e.pageLayoutUniversalIdentifier||t.push(`PageLayoutTab must have a pageLayoutUniversalIdentifier when defined standalone (use the parent page layout universalIdentifier)`),e.widgets)for(let n of e.widgets)n.universalIdentifier||t.push(`PageLayoutWidget must have a universalIdentifier`),n.title||t.push(`PageLayoutWidget must have a title`),n.type||t.push(`PageLayoutWidget must have a type`);return fP({config:e,errors:t})},SF=e=>{let t=[];return e.universalIdentifier||t.push(`Permission flag must have a universalIdentifier`),e.key||t.push(`Permission flag must have a key`),e.label||t.push(`Permission flag must have a label`),fP({config:e,errors:t})},CF=e=>{let t=[];if(e.universalIdentifier||t.push(`Role must have a universalIdentifier`),e.label||t.push(`Role must have a label`),e.objectPermissions)for(let n of e.objectPermissions)n.objectUniversalIdentifier||t.push(`Object permission must have an objectUniversalIdentifier`);if(e.fieldPermissions)for(let n of e.fieldPermissions)n.objectUniversalIdentifier||t.push(`Field permission must have an objectUniversalIdentifier`),n.fieldUniversalIdentifier||t.push(`Field permission must have a fieldUniversalIdentifier`);let n=new Set;if(e.rowLevelPermissionPredicateGroups)for(let r of e.rowLevelPermissionPredicateGroups)r.universalIdentifier?n.has(r.universalIdentifier)?t.push(`Duplicate row level permission predicate group universalIdentifier "${r.universalIdentifier}"`):n.add(r.universalIdentifier):t.push(`Row level permission predicate group must have a universalIdentifier`),r.objectUniversalIdentifier||t.push(`Row level permission predicate group must have an objectUniversalIdentifier`),r.logicalOperator||t.push(`Row level permission predicate group must have a logicalOperator`);let r=new Set;if(e.rowLevelPermissionPredicates)for(let i of e.rowLevelPermissionPredicates)i.universalIdentifier?r.has(i.universalIdentifier)?t.push(`Duplicate row level permission predicate universalIdentifier "${i.universalIdentifier}"`):r.add(i.universalIdentifier):t.push(`Row level permission predicate must have a universalIdentifier`),i.objectUniversalIdentifier||t.push(`Row level permission predicate must have an objectUniversalIdentifier`),i.fieldUniversalIdentifier||t.push(`Row level permission predicate must have a fieldUniversalIdentifier`),i.operand||t.push(`Row level permission predicate must have an operand`),i.predicateGroupUniversalIdentifier&&!n.has(i.predicateGroupUniversalIdentifier)&&t.push(`Row level permission predicate references unknown predicate group "${i.predicateGroupUniversalIdentifier}"`);return fP({config:e,errors:t})},wF=e=>CF(e),TF=e=>{let t=[];return e.universalIdentifier||t.push(`Skill must have a universalIdentifier`),e.name||t.push(`Skill must have a name`),e.label||t.push(`Skill must have a label`),e.content||t.push(`Skill must have content`),fP({config:e,errors:t})},EF=e=>{let t=[];if(e.universalIdentifier||t.push(`View must have a universalIdentifier`),e.name||t.push(`View must have a name`),e.objectUniversalIdentifier||t.push(`View must have an objectUniversalIdentifier`),e.fields)for(let n of e.fields)n.universalIdentifier||t.push(`ViewField must have a universalIdentifier`),n.fieldMetadataUniversalIdentifier||t.push(`ViewField must have a fieldMetadataUniversalIdentifier`);if(e.filters)for(let n of e.filters)n.universalIdentifier||t.push(`ViewFilter must have a universalIdentifier`),n.fieldMetadataUniversalIdentifier||t.push(`ViewFilter must have a fieldMetadataUniversalIdentifier`);if(e.filterGroups)for(let n of e.filterGroups)n.universalIdentifier||t.push(`ViewFilterGroup must have a universalIdentifier`);if(e.groups)for(let n of e.groups)n.universalIdentifier||t.push(`ViewGroup must have a universalIdentifier`);if(e.fieldGroups)for(let n of e.fieldGroups)n.universalIdentifier||t.push(`ViewFieldGroup must have a universalIdentifier`);if(e.sorts)for(let n of e.sorts)n.universalIdentifier||t.push(`ViewSort must have a universalIdentifier`),n.fieldMetadataUniversalIdentifier||t.push(`ViewSort must have a fieldMetadataUniversalIdentifier`),n.direction!==jp.ASC&&n.direction!==jp.DESC&&t.push(`ViewSort direction must be '${jp.ASC}' or '${jp.DESC}'`);return fP({config:e,errors:t})},DF=e=>{let t=[];return e.universalIdentifier||t.push(`View field must have a universalIdentifier`),e.viewUniversalIdentifier||t.push(`View field must have a viewUniversalIdentifier`),e.fieldMetadataUniversalIdentifier||t.push(`View field must have a fieldMetadataUniversalIdentifier`),fP({config:e,errors:t})},OF=e.r({AggregateOperations:()=>Qf,DateDisplayFormat:()=>dp,FieldMetadataSettingsOnClickAction:()=>lp,FieldType:()=>D,HTTPMethod:()=>mp,NavigationMenuItemType:()=>hp,NumberDataType:()=>up,ObjectOpenRecordIn:()=>gp,ObjectRecordGroupByDateGranularity:()=>_p,OnDeleteAction:()=>Sp,PageLayoutTabLayoutMode:()=>yp,PageLayoutType:()=>bp,RelationType:()=>Cp,RowLevelPermissionPredicateGroupLogicalOperator:()=>wp,RowLevelPermissionPredicateOperand:()=>Tp,STANDARD_OBJECT:()=>vF,STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS:()=>vF,STANDARD_PAGE_LAYOUT:()=>yF,STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS:()=>yF,SystemPermissionFlag:()=>Lp,ViewCalendarLayout:()=>Ep,ViewFilterGroupLogicalOperator:()=>Dp,ViewFilterOperand:()=>B,ViewKey:()=>kp,ViewOpenRecordIn:()=>Ap,ViewSortDirection:()=>jp,ViewType:()=>Mp,ViewVisibility:()=>Np,canAccessFullAdminPanel:()=>zP,canImpersonate:()=>RP,createValidationResult:()=>fP,defineAgent:()=>pP,defineApplication:()=>hP,defineApplicationRole:()=>wF,defineCommandMenuItem:()=>SP,defineConnectionProvider:()=>mF,defineField:()=>xP,defineFrontComponent:()=>nF,defineIndex:()=>aF,defineLogicFunction:()=>oF,defineNavigationMenuItem:()=>hF,defineObject:()=>gF,definePageLayout:()=>bF,definePageLayoutTab:()=>xF,definePermissionFlag:()=>SF,definePostInstallLogicFunction:()=>sF,definePreInstallLogicFunction:()=>cF,defineRole:()=>CF,defineSettingsFrontComponent:()=>rF,defineSkill:()=>TF,defineUninstallLogicFunction:()=>lF,defineView:()=>EF,defineViewField:()=>DF,every:()=>GP,everyDefined:()=>KP,everyEquals:()=>qP,favoriteRecordIds:()=>kP,featureFlags:()=>FP,getFieldUniversalIdentifier:()=>LN,getSystemRelationFieldUniversalIdentifier:()=>J,getSystemViewFieldUniversalIdentifier:()=>RN,getSystemViewUniversalIdentifier:()=>zN,hasAnySoftDeleteFilterOnView:()=>jP,includes:()=>WP,includesEvery:()=>tF,isDashboardPageLayoutInEditMode:()=>DP,isDefined:()=>HP,isInSidePanel:()=>EP,isLayoutCustomizationModeEnabled:()=>OP,isNonEmptyString:()=>UP,isSelectAll:()=>AP,none:()=>ZP,noneDefined:()=>QP,noneEquals:()=>$P,numberOfSelectedRecords:()=>MP,objectMetadataItem:()=>BP,objectMetadataLabel:()=>VP,objectPermissions:()=>NP,pageType:()=>TP,selectedRecords:()=>PP,some:()=>JP,someDefined:()=>YP,someEquals:()=>XP,someNonEmptyString:()=>eF,targetObjectReadPermissions:()=>IP,targetObjectWritePermissions:()=>LP,validateFields:()=>bP}),kF=e=>/^define[A-Z]/.test(e)||e===`createValidationResult`,AF=(e=>{let t=[],n=[];for(let r of Object.keys(e).sort())kF(r)?t.push(r):n.push(r);return{factories:t,any:n}})(OF),jF=`twenty-sdk-define-stub`,MF=`__twenty-sdk-define-stub__`,NF=`
|
|
63
63
|
// Auto-generated stub for twenty-sdk/define injected by the SDK CLI build.
|
|
@@ -335,7 +335,7 @@ const __anyStub = new Proxy(() => undefined, __anyHandler);
|
|
|
335
335
|
logs
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
|
-
`,variables:a},{next:({data:e})=>console.log(e?.logicFunctionLogs.logs),error:e=>console.error(e),complete:()=>console.log(`Completed`)})}},ZL=class{constructor(e){this.client=e}async getSchema(e){return this.introspectEndpoint(`/graphql`,e)}async getMetadataSchema(e){return this.introspectEndpoint(`/metadata`,e)}async introspectEndpoint(e,t){try{let n=(0,E.getIntrospectionQuery)(),r={"Content-Type":`application/json`,Accept:`*/*`};t?.appAccessToken&&(r.Authorization=`Bearer ${t.appAccessToken}`);let i=await this.client.post(e,{query:n},{headers:r});return i.data.errors?{success:!1,error:`GraphQL introspection errors: ${JSON.stringify(i.data.errors)}`}:{success:!0,data:(0,E.printSchema)((0,E.buildClientSchema)(i.data.data)),message:`Successfully loaded schema from ${e}`}}catch(t){if(b.default.isAxiosError(t)&&t.response)return{success:!1,error:t.response.data?.errors?.[0]?.message||`Failed to load schema from ${e}`};throw t}}},QL=class{constructor(e){this.apiClient=new UL(e),this.applicationApi=new KL(this.apiClient.client),this.schemaApi=new ZL(this.apiClient.client),this.logicFunctionApi=new XL(this.apiClient),this.fileApi=new YL(this.apiClient.client)}validateAuth(){return this.apiClient.validateAuth()}getWorkspaceFrontendUrl(){return this.apiClient.getWorkspaceFrontendUrl()}refreshToken(){return this.apiClient.refreshToken()}findApplicationRegistrationByUniversalIdentifier(...e){return this.applicationApi.findApplicationRegistrationByUniversalIdentifier(...e)}createApplicationRegistration(...e){return this.applicationApi.createApplicationRegistration(...e)}rotateApplicationRegistrationClientSecret(...e){return this.applicationApi.rotateApplicationRegistrationClientSecret(...e)}createDevelopmentApplication(...e){return this.applicationApi.createDevelopmentApplication(...e)}generateApplicationToken(...e){return this.applicationApi.generateApplicationToken(...e)}syncApplication(e,t){return this.applicationApi.syncApplication(e,t)}uninstallApplication(e){return this.applicationApi.uninstallApplication(e)}syncMarketplaceCatalog(){return this.applicationApi.syncMarketplaceCatalog()}getSchema(e){return this.schemaApi.getSchema(e)}getMetadataSchema(e){return this.schemaApi.getMetadataSchema(e)}findLogicFunctions(...e){return this.logicFunctionApi.findLogicFunctions(...e)}executeLogicFunction(...e){return this.logicFunctionApi.executeLogicFunction(...e)}subscribeToLogs(...e){return this.logicFunctionApi.subscribeToLogs(...e)}uploadAppTarball(...e){return this.fileApi.uploadAppTarball(...e)}installTarballApp(...e){return this.fileApi.installTarballApp(...e)}uploadFile(...e){return this.fileApi.uploadFile(...e)}},$L=async e=>{let{tarballPath:t,onProgress:n}=e;e.remote&&zL.setActiveRemote(e.remote),n?.(`Uploading ${t}...`);let r=y.default.readFileSync(t),i=await new QL({serverUrl:e.serverUrl,token:e.token}).uploadAppTarball({tarballBuffer:r});return i.success?{success:!0,data:i.data}:{success:!1,error:{code:SL.DEPLOY_FAILED,message:`Upload failed: ${i.error}`}}},eR=e=>bL(()=>$L(e),SL.DEPLOY_FAILED),tR=async e=>{let{appPath:t,onProgress:n}=e,i=await EL({appPath:t,onProgress:n});if(!i.success)return i;if(n?.(`Publishing to npm...`),e.npmTag&&!/^[a-zA-Z0-9][a-zA-Z0-9._-]*$/.test(e.npmTag))return{success:!1,error:{code:SL.PUBLISH_FAILED,message:`Invalid npm tag: ${e.npmTag}`}};let a=process.env.TWENTY_APP_PUBLISH_DISABLE_PROVENANCE===`true`,o=[`publish`,`--access`,`public`,...process.env.ACTIONS_ID_TOKEN_REQUEST_URL!=null&&!a?[`--provenance`]:[],...e.npmTag?[`--tag`,e.npmTag]:[]],s=process.platform===`win32`;try{(0,r.execFileSync)(s?`npm.cmd`:`npm`,o,{cwd:i.data.outputDir,stdio:`inherit`,shell:s})}catch{return{success:!1,error:{code:SL.PUBLISH_FAILED,message:`npm publish failed`}}}return{success:!0,data:{target:`npm`}}},nR=e=>bL(()=>tR(e),SL.PUBLISH_FAILED),rR={name:`twenty-sdk`,version:`2.
|
|
338
|
+
`,variables:a},{next:({data:e})=>console.log(e?.logicFunctionLogs.logs),error:e=>console.error(e),complete:()=>console.log(`Completed`)})}},ZL=class{constructor(e){this.client=e}async getSchema(e){return this.introspectEndpoint(`/graphql`,e)}async getMetadataSchema(e){return this.introspectEndpoint(`/metadata`,e)}async introspectEndpoint(e,t){try{let n=(0,E.getIntrospectionQuery)(),r={"Content-Type":`application/json`,Accept:`*/*`};t?.appAccessToken&&(r.Authorization=`Bearer ${t.appAccessToken}`);let i=await this.client.post(e,{query:n},{headers:r});return i.data.errors?{success:!1,error:`GraphQL introspection errors: ${JSON.stringify(i.data.errors)}`}:{success:!0,data:(0,E.printSchema)((0,E.buildClientSchema)(i.data.data)),message:`Successfully loaded schema from ${e}`}}catch(t){if(b.default.isAxiosError(t)&&t.response)return{success:!1,error:t.response.data?.errors?.[0]?.message||`Failed to load schema from ${e}`};throw t}}},QL=class{constructor(e){this.apiClient=new UL(e),this.applicationApi=new KL(this.apiClient.client),this.schemaApi=new ZL(this.apiClient.client),this.logicFunctionApi=new XL(this.apiClient),this.fileApi=new YL(this.apiClient.client)}validateAuth(){return this.apiClient.validateAuth()}getWorkspaceFrontendUrl(){return this.apiClient.getWorkspaceFrontendUrl()}refreshToken(){return this.apiClient.refreshToken()}findApplicationRegistrationByUniversalIdentifier(...e){return this.applicationApi.findApplicationRegistrationByUniversalIdentifier(...e)}createApplicationRegistration(...e){return this.applicationApi.createApplicationRegistration(...e)}rotateApplicationRegistrationClientSecret(...e){return this.applicationApi.rotateApplicationRegistrationClientSecret(...e)}createDevelopmentApplication(...e){return this.applicationApi.createDevelopmentApplication(...e)}generateApplicationToken(...e){return this.applicationApi.generateApplicationToken(...e)}syncApplication(e,t){return this.applicationApi.syncApplication(e,t)}uninstallApplication(e){return this.applicationApi.uninstallApplication(e)}syncMarketplaceCatalog(){return this.applicationApi.syncMarketplaceCatalog()}getSchema(e){return this.schemaApi.getSchema(e)}getMetadataSchema(e){return this.schemaApi.getMetadataSchema(e)}findLogicFunctions(...e){return this.logicFunctionApi.findLogicFunctions(...e)}executeLogicFunction(...e){return this.logicFunctionApi.executeLogicFunction(...e)}subscribeToLogs(...e){return this.logicFunctionApi.subscribeToLogs(...e)}uploadAppTarball(...e){return this.fileApi.uploadAppTarball(...e)}installTarballApp(...e){return this.fileApi.installTarballApp(...e)}uploadFile(...e){return this.fileApi.uploadFile(...e)}},$L=async e=>{let{tarballPath:t,onProgress:n}=e;e.remote&&zL.setActiveRemote(e.remote),n?.(`Uploading ${t}...`);let r=y.default.readFileSync(t),i=await new QL({serverUrl:e.serverUrl,token:e.token}).uploadAppTarball({tarballBuffer:r});return i.success?{success:!0,data:i.data}:{success:!1,error:{code:SL.DEPLOY_FAILED,message:`Upload failed: ${i.error}`}}},eR=e=>bL(()=>$L(e),SL.DEPLOY_FAILED),tR=async e=>{let{appPath:t,onProgress:n}=e,i=await EL({appPath:t,onProgress:n});if(!i.success)return i;if(n?.(`Publishing to npm...`),e.npmTag&&!/^[a-zA-Z0-9][a-zA-Z0-9._-]*$/.test(e.npmTag))return{success:!1,error:{code:SL.PUBLISH_FAILED,message:`Invalid npm tag: ${e.npmTag}`}};let a=process.env.TWENTY_APP_PUBLISH_DISABLE_PROVENANCE===`true`,o=[`publish`,`--access`,`public`,...process.env.ACTIONS_ID_TOKEN_REQUEST_URL!=null&&!a?[`--provenance`]:[],...e.npmTag?[`--tag`,e.npmTag]:[]],s=process.platform===`win32`;try{(0,r.execFileSync)(s?`npm.cmd`:`npm`,o,{cwd:i.data.outputDir,stdio:`inherit`,shell:s})}catch{return{success:!1,error:{code:SL.PUBLISH_FAILED,message:`npm publish failed`}}}return{success:!0,data:{target:`npm`}}},nR=e=>bL(()=>tR(e),SL.PUBLISH_FAILED),rR={name:`twenty-sdk`,version:`2.30.0`,sideEffects:!1,bin:{twenty:`dist/cli.cjs`},files:[`dist`,`README.md`,`CHANGELOG.md`,`package.json`],scripts:{build:`npx rimraf dist && npx vite build`},keywords:[`twenty`,`cli`,`sdk`,`crm`,`application`,`development`],exports:{"./billing":{types:`./dist/billing/index.d.ts`,import:`./dist/billing/index.mjs`,require:`./dist/billing/index.cjs`},"./define":{types:`./dist/define/index.d.ts`,import:`./dist/define/index.mjs`,require:`./dist/define/index.cjs`},"./front-component":{types:`./dist/front-component/index.d.ts`,import:`./dist/front-component/index.mjs`,require:`./dist/front-component/index.cjs`},"./logic-function":{types:`./dist/logic-function/index.d.ts`,import:`./dist/logic-function/index.mjs`,require:`./dist/logic-function/index.cjs`},"./utils":{types:`./dist/utils/index.d.ts`,import:`./dist/utils/index.mjs`,require:`./dist/utils/index.cjs`},"./cli":{types:`./dist/cli/operations/index.d.ts`,import:`./dist/operations.mjs`,require:`./dist/operations.cjs`},"./front-component-renderer":{types:`./dist/front-component-renderer/index.d.ts`,import:`./dist/front-component-renderer.mjs`,require:`./dist/front-component-renderer.cjs`},"./front-component-renderer/build":{types:`./dist/front-component-renderer/build/index.d.ts`,import:`./dist/front-component-renderer/build.mjs`,require:`./dist/front-component-renderer/build.cjs`}},license:`MIT`,dependencies:{"@sniptt/guards":`^0.2.0`,axios:`^1.16.0`,chalk:`^5.3.0`,chokidar:`^4.0.0`,commander:`^12.0.0`,esbuild:`^0.28.1`,graphql:`^16.8.1`,"graphql-sse":`^2.5.4`,ink:`^6.8.0`,inquirer:`^14.0.0`,"jsonc-parser":`^3.2.0`,preact:`^10.28.3`,react:`^19.2.0`,"react-dom":`^19.2.0`,semver:`7.6.3`,sharp:`^0.35.3`,tinyglobby:`^0.2.15`,"twenty-client-sdk":`workspace:*`,typescript:`^5.9.3`,uuid:`^13.0.2`},devDependencies:{"@prettier/sync":`^0.5.2`,"@types/node":`^24.0.0`,"@types/react":`^19.2.0`,"@types/react-dom":`^19.2.0`,"@types/semver":`^7.5.8`,"@typescript/native-preview":`^7.0.0-dev.20260116.1`,"@vitest/coverage-v8":`^4.0.18`,prettier:`^3.1.1`,"rollup-plugin-dts":`^6.4.1`,"ts-morph":`^25.0.0`,"tsc-alias":`^1.8.16`,tsx:`^4.7.0`,"twenty-shared":`workspace:*`,"twenty-ui":`workspace:*`,vite:`^8.0.0`,"vite-plugin-dts":`^4.5.4`,"wait-on":`^9.0.10`},engines:{node:`^24.5.0`,yarn:`^4.0.2`},typesVersions:{"*":{billing:[`dist/billing/index.d.ts`],define:[`dist/define/index.d.ts`],"front-component":[`dist/front-component/index.d.ts`],"logic-function":[`dist/logic-function/index.d.ts`],utils:[`dist/utils/index.d.ts`],cli:[`dist/cli/operations/index.d.ts`],"front-component-renderer":[`dist/front-component-renderer/index.d.ts`],"front-component-renderer/build":[`dist/front-component-renderer/build/index.d.ts`]}}},iR=async e=>{let t=n.default.join(e,WN);await YN(t);let r=n.default.join(t,`manifest.json`);if(!await qN(r)){let{manifest:t}=await ZI(e);return t}return await eP(r)},aR=e=>{if(!t.t(e?.errors)||!t.t(e?.summary))return null;let n=[],r=e.summary.totalErrors;n.push({message:`Sync failed with ${r} error${r===1?``:`s`}`,status:`error`});for(let[r,i]of Object.entries(e.errors)){if(!t.t(i))continue;let o=e.summary[r]??i.length;n.push({message:`${r}: ${o} error${o===1?``:`s`}`,status:`error`});let s=1;for(let e of i){let r=e.flatEntityMinimalInformation?.universalIdentifier;for(let i of e.errors){let e=[];t.t(i.value)&&e.push(`value: ${String(i.value)}`),(0,a.isNonEmptyString)(r)&&e.push(`universalIdentifier: ${r}`);let o=e.length>0?` (${e.join(`, `)})`:``;n.push({message:` ${s}. ${i.code}: ${i.message}${o}`,status:`error`}),s++}}}return n},oR=async e=>{e.remote&&zL.setActiveRemote(e.remote);let t=new QL,n=await iR(e.appPath);if(!n)return{success:!1,error:{code:SL.MANIFEST_NOT_FOUND,message:"Manifest not found. Run `build` or `dev` first."}};let r=await t.installTarballApp({universalIdentifier:n.application.universalIdentifier});if(!r.success){let e=aR(r.error),t=e?e.map(e=>e.message).join(`
|
|
339
339
|
`):`Install failed with error: ${r.message??`Unknown error`}`;return{success:!1,error:{code:SL.INSTALL_FAILED,message:t}}}return{success:!0,data:void 0}},sR=e=>bL(()=>oR(e),SL.INSTALL_FAILED),cR=`twenty-app-dev`,lR=`twenty-app-dev-test`,uR=2020,dR=2021,fR=(e=cR)=>{try{return(0,f.execFileSync)(`docker`,[`inspect`,`-f`,`{{.State.Running}}`,e],{encoding:`utf-8`,stdio:[`pipe`,`pipe`,`ignore`]}).trim()===`true`}catch{return!1}},pR=(e=cR)=>{let t=e===`twenty-app-dev-test`?dR:uR;try{let n=(0,f.execFileSync)(`docker`,[`inspect`,`-f`,`{{range .Config.Env}}{{println .}}{{end}}`,e],{encoding:`utf-8`,stdio:[`pipe`,`pipe`,`ignore`]}).match(/^NODE_PORT=(\d+)$/m);return n?parseInt(n[1],10):t}catch{return t}},mR=(e=cR)=>{try{return(0,f.execFileSync)(`docker`,[`inspect`,e],{stdio:[`pipe`,`pipe`,`ignore`]}),!0}catch{return!1}},hR=(e=`latest`)=>`twentycrm/twenty-app-dev:${/^\d+\.\d+\.\d+/.test(e)?`v${e}`:e}`,gR=(e=cR)=>{try{return(0,f.execFileSync)(`docker`,[`inspect`,`-f`,`{{.Image}}`,e],{encoding:`utf-8`,stdio:[`pipe`,`pipe`,`ignore`]}).trim()}catch{return null}},_R=(e=cR)=>{try{return(0,f.execFileSync)(`docker`,[`inspect`,`-f`,`{{.Config.Image}}`,e],{encoding:`utf-8`,stdio:[`pipe`,`pipe`,`ignore`]}).trim()}catch{return null}},vR=e=>{try{return(0,f.execFileSync)(`docker`,[`inspect`,`-f`,`{{.Id}}`,e],{encoding:`utf-8`,stdio:[`pipe`,`pipe`,`ignore`]}).trim()}catch{return null}},yR=(e,t=cR)=>{try{let n=(0,f.execFileSync)(`docker`,[`inspect`,`-f`,`{{range .Config.Env}}{{println .}}{{end}}`,t],{encoding:`utf-8`,stdio:[`pipe`,`pipe`,`ignore`]}).match(RegExp(`^${e}=(.+)$`,`m`));return n?n[1]:null}catch{return null}},bR=()=>{try{return(0,f.execFileSync)(`docker`,[`info`],{stdio:`ignore`}),!0}catch{return!1}},xR=()=>{switch(process.platform){case`darwin`:return` Run: open -a Docker
|
|
340
340
|
(or launch Docker Desktop from Applications)`;case`linux`:return` Run: sudo systemctl start docker
|
|
341
341
|
(or launch Docker Desktop if installed)`;case`win32`:return` Launch Docker Desktop from the Start menu`;default:return` See https://docs.docker.com/engine/install/ for installation`}},SR=e=>[`Docker is not running.`,``,`Start Docker:`,xR(),``,`Then retry:`,` ${e}`,``,`Don't have Docker? Install from https://docs.docker.com/get-docker/`].join(`
|