@fungi.computer/shed 0.10.16 → 0.10.17

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.
@@ -70,7 +70,7 @@ Error generating stack: `+e.message+`
70
70
 
71
71
  `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=Lr,s=!Sr.jitless,c=s&&Rr.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?fo([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function ho(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=>!ei(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=>ii(e,r,Cr())))}),t)}var go=L(`$ZodUnion`,(e,t)=>{Ta.init(e,t),jr(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),jr(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),jr(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),jr(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=>Or(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>ho(t,r,e,i)):ho(o,r,e,i)}}),_o=L(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,go.init(e,t);let n=e._zod.parse;jr(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=Er(()=>{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(!Lr(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||a.direction===`backward`?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,options:Array.from(r.value.keys()),input:o,path:[t.discriminator],inst:e}),i)}}),vo=L(`$ZodIntersection`,(e,t)=>{Ta.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])=>bo(e,t,n)):bo(e,i,a)}});function yo(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(zr(e)&&zr(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=yo(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=yo(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 bo(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),ei(e))return e;let o=yo(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var xo=L(`$ZodTuple`,(e,t)=>{Ta.init(e,t);let n=t.items;e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:`tuple`,code:`invalid_type`}),r;r.value=[];let o=[],s=So(n,`optin`),c=So(n,`optout`);if(!t.rest){if(a.length<s)return r.issues.push({code:`too_small`,minimum:s,inclusive:!0,input:a,inst:e,origin:`array`}),r;a.length>n.length&&r.issues.push({code:`too_big`,maximum:n.length,inclusive:!0,input:a,inst:e,origin:`array`})}let l=Array(n.length);for(let e=0;e<n.length;e++){let t=n[e]._zod.run({value:a[e],issues:[]},i);t instanceof Promise?o.push(t.then(t=>{l[e]=t})):l[e]=t}if(t.rest){let e=n.length-1,s=a.slice(n.length);for(let n of s){e++;let a=t.rest._zod.run({value:n,issues:[]},i);a instanceof Promise?o.push(a.then(t=>Co(t,r,e))):Co(a,r,e)}}return o.length?Promise.all(o).then(()=>wo(l,r,n,a,c)):wo(l,r,n,a,c)}});function So(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!==`optional`)return n+1;return 0}function Co(e,t,n){e.issues.length&&t.issues.push(...ni(n,e.issues)),t.value[n]=e.value}function wo(e,t,n,r,i){for(let a=0;a<n.length;a++){let n=e[a],o=a<r.length;if(n.issues.length){if(!o&&a>=i){t.value.length=a;break}t.issues.push(...ni(a,n.issues))}t.value[a]=n.value}for(let e=t.value.length-1;e>=r.length&&n[e]._zod.optout===`optional`&&t.value[e]===void 0;e--)t.value.length=e;return t}var To=L(`$ZodRecord`,(e,t)=>{Ta.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!zr(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let c of o)if(typeof c==`string`||typeof c==`number`||typeof c==`symbol`){s.add(typeof c==`number`?c.toString():c);let o=t.keyType._zod.run({value:c,issues:[]},r);if(o instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(o.issues.length){n.issues.push({code:`invalid_key`,origin:`record`,issues:o.issues.map(e=>ii(e,r,Cr())),input:c,path:[c],inst:e});continue}let l=o.value,u=t.valueType._zod.run({value:i[c],issues:[]},r);u instanceof Promise?a.push(u.then(e=>{e.issues.length&&n.issues.push(...ni(c,e.issues)),n.value[l]=e.value})):(u.issues.length&&n.issues.push(...ni(c,u.issues)),n.value[l]=u.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`||!Object.prototype.propertyIsEnumerable.call(i,o))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(typeof o==`string`&&ta.test(o)&&s.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>ii(e,r,Cr())),input:o,path:[o],inst:e});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(...ni(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...ni(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),Eo=L(`$ZodEnum`,(e,t)=>{Ta.init(e,t);let n=wr(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Vr.has(typeof e)).map(e=>typeof e==`string`?Hr(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}}),Do=L(`$ZodLiteral`,(e,t)=>{if(Ta.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?Hr(e):e?Hr(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),Oo=L(`$ZodTransform`,(e,t)=>{Ta.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new xr(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.fallback=!0,n));if(i instanceof Promise)throw new br;return n.value=i,n.fallback=!0,n}});function ko(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var Ao=L(`$ZodOptional`,(e,t)=>{Ta.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,jr(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),jr(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${Or(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>ko(e,r)):ko(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),jo=L(`$ZodExactOptional`,(e,t)=>{Ao.init(e,t),jr(e._zod,`values`,()=>t.innerType._zod.values),jr(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),Mo=L(`$ZodNullable`,(e,t)=>{Ta.init(e,t),jr(e._zod,`optin`,()=>t.innerType._zod.optin),jr(e._zod,`optout`,()=>t.innerType._zod.optout),jr(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${Or(e.source)}|null)$`):void 0}),jr(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)}),No=L(`$ZodDefault`,(e,t)=>{Ta.init(e,t),e._zod.optin=`optional`,jr(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=>Po(e,t)):Po(r,t)}});function Po(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Fo=L(`$ZodPrefault`,(e,t)=>{Ta.init(e,t),e._zod.optin=`optional`,jr(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))}),Io=L(`$ZodNonOptional`,(e,t)=>{Ta.init(e,t),jr(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=>Lo(t,e)):Lo(i,e)}});function Lo(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 Ro=L(`$ZodCatch`,(e,t)=>{Ta.init(e,t),e._zod.optin=`optional`,jr(e._zod,`optout`,()=>t.innerType._zod.optout),jr(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=>ii(e,n,Cr()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>ii(e,n,Cr()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),zo=L(`$ZodPipe`,(e,t)=>{Ta.init(e,t),jr(e._zod,`values`,()=>t.in._zod.values),jr(e._zod,`optin`,()=>t.in._zod.optin),jr(e._zod,`optout`,()=>t.out._zod.optout),jr(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=>Bo(e,t.in,n)):Bo(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Bo(e,t.out,n)):Bo(r,t.out,n)}});function Bo(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}var Vo=L(`$ZodReadonly`,(e,t)=>{Ta.init(e,t),jr(e._zod,`propValues`,()=>t.innerType._zod.propValues),jr(e._zod,`values`,()=>t.innerType._zod.values),jr(e._zod,`optin`,()=>t.innerType?._zod?.optin),jr(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(Ho):Ho(r)}});function Ho(e){return e.value=Object.freeze(e.value),e}var Uo=L(`$ZodFunction`,(e,t)=>(Ta.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?pi(e._def.input,n):n,i=Reflect.apply(t,this,r);return e._def.output?pi(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 hi(e._def.input,n):n,i=await Reflect.apply(t,this,r);return e._def.output?await hi(e._def.output,i):i}},e._zod.parse=(t,n)=>typeof t.value==`function`?(t.value=e._def.output&&e._def.output._zod.def.type===`promise`?e.implementAsync(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 xo({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)),Wo=L(`$ZodPromise`,(e,t)=>{Ta.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),Go=L(`$ZodLazy`,(e,t)=>{Ta.init(e,t),jr(e._zod,`innerType`,()=>{let e=t;return e._cachedInner||=t.getter(),e._cachedInner}),jr(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),jr(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),jr(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),jr(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),Ko=L(`$ZodCustom`,(e,t)=>{oa.init(e,t),Ta.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=>qo(t,n,r,e));qo(i,n,r,e)}});function qo(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(oi(e))}}var Jo,Yo=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),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 Xo(){return new Yo}(Jo=globalThis).__zod_globalRegistry??(Jo.__zod_globalRegistry=Xo());var Zo=globalThis.__zod_globalRegistry;function Qo(e,t){return new e({type:`string`,...Wr(t)})}function $o(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...Wr(t)})}function es(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...Wr(t)})}function ts(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...Wr(t)})}function ns(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...Wr(t)})}function rs(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...Wr(t)})}function is(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...Wr(t)})}function as(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...Wr(t)})}function os(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...Wr(t)})}function ss(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...Wr(t)})}function cs(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...Wr(t)})}function ls(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...Wr(t)})}function us(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...Wr(t)})}function ds(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...Wr(t)})}function fs(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...Wr(t)})}function ps(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...Wr(t)})}function ms(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...Wr(t)})}function hs(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...Wr(t)})}function gs(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...Wr(t)})}function _s(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...Wr(t)})}function vs(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...Wr(t)})}function ys(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...Wr(t)})}function bs(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...Wr(t)})}function xs(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...Wr(t)})}function Ss(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...Wr(t)})}function Cs(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...Wr(t)})}function ws(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...Wr(t)})}function Ts(e,t){return new e({type:`number`,checks:[],...Wr(t)})}function Es(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...Wr(t)})}function Ds(e,t){return new e({type:`boolean`,...Wr(t)})}function Os(e,t){return new e({type:`null`,...Wr(t)})}function ks(e){return new e({type:`unknown`})}function As(e,t){return new e({type:`never`,...Wr(t)})}function js(e,t){return new e({type:`void`,...Wr(t)})}function Ms(e,t){return new ca({check:`less_than`,...Wr(t),value:e,inclusive:!1})}function Ns(e,t){return new ca({check:`less_than`,...Wr(t),value:e,inclusive:!0})}function Ps(e,t){return new la({check:`greater_than`,...Wr(t),value:e,inclusive:!1})}function Fs(e,t){return new la({check:`greater_than`,...Wr(t),value:e,inclusive:!0})}function Is(e,t){return new ua({check:`multiple_of`,...Wr(t),value:e})}function Ls(e,t){return new fa({check:`max_length`,...Wr(t),maximum:e})}function Rs(e,t){return new pa({check:`min_length`,...Wr(t),minimum:e})}function zs(e,t){return new ma({check:`length_equals`,...Wr(t),length:e})}function Bs(e,t){return new ga({check:`string_format`,format:`regex`,...Wr(t),pattern:e})}function Vs(e){return new _a({check:`string_format`,format:`lowercase`,...Wr(e)})}function Hs(e){return new va({check:`string_format`,format:`uppercase`,...Wr(e)})}function Us(e,t){return new ya({check:`string_format`,format:`includes`,...Wr(t),includes:e})}function Ws(e,t){return new ba({check:`string_format`,format:`starts_with`,...Wr(t),prefix:e})}function Gs(e,t){return new xa({check:`string_format`,format:`ends_with`,...Wr(t),suffix:e})}function Ks(e){return new Sa({check:`overwrite`,tx:e})}function qs(e){return Ks(t=>t.normalize(e))}function Js(){return Ks(e=>e.trim())}function Ys(){return Ks(e=>e.toLowerCase())}function Xs(){return Ks(e=>e.toUpperCase())}function Zs(){return Ks(e=>Fr(e))}function Qs(e,t,n){return new e({type:`array`,element:t,...Wr(n)})}function $s(e,t,n){let r=Wr(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function ec(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...Wr(n)})}function tc(e,t){let n=nc(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(oi(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(oi(r))}},e(t.value,t)),t);return n}function nc(e,t){let n=new oa({check:`custom`,...Wr(t)});return n._zod.check=e,n}function rc(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??Zo,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function ic(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,ic(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&sc(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function ac(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.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(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
72
72
 
73
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function oc(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:lc(t,`input`,e.processors),output:lc(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function sc(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return sc(r.element,n);if(r.type===`set`)return sc(r.valueType,n);if(r.type===`lazy`)return sc(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`)return sc(r.innerType,n);if(r.type===`intersection`)return sc(r.left,n)||sc(r.right,n);if(r.type===`record`||r.type===`map`)return sc(r.keyType,n)||sc(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:sc(r.in,n)||sc(r.out,n);if(r.type===`object`){for(let e in r.shape)if(sc(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(sc(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(sc(e,n))return!0;return!!(r.rest&&sc(r.rest,n))}return!1}var cc=(e,t={})=>n=>{let r=rc({...n,processors:t});return ic(e,r),ac(r,e),oc(r,e)},lc=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=rc({...i??{},target:a,io:t,processors:n});return ic(e,o),ac(o,e),oc(o,e)},uc={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},dc=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=uc[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},fc=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;i.type=typeof s==`string`&&s.includes(`int`)?`integer`:`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},pc=(e,t,n,r)=>{n.type=`boolean`},mc=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},hc=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},gc=(e,t,n,r)=>{n.not={}},_c=(e,t,n,r)=>{let i=e._zod.def,a=wr(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},vc=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},yc=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},bc=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},xc=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},Sc=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=ic(a.element,t,{...r,path:[...r.path,`items`]})},Cc=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=ic(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=ic(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},wc=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>ic(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},Tc=(e,t,n,r)=>{let i=e._zod.def,a=ic(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=ic(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},Ec=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>ic(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?ic(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null;t.target===`draft-2020-12`?(i.prefixItems=c,l&&(i.items=l)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),i.minItems=c.length,l||(i.maxItems=c.length)):(i.items=c,l&&(i.additionalItems=l));let{minimum:u,maximum:d}=e._zod.bag;typeof u==`number`&&(i.minItems=u),typeof d==`number`&&(i.maxItems=d)},Dc=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=ic(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else(t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=ic(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=ic(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},Oc=(e,t,n,r)=>{let i=e._zod.def,a=ic(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},kc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Ac=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},jc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},Mc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},Nc=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;ic(o,t,r);let s=t.seen.get(e);s.ref=o},Pc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Fc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Ic=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Lc=(e,t,n,r)=>{let i=e._zod.innerType;ic(i,t,r);let a=t.seen.get(e);a.ref=i},Rc=L(`ZodISODateTime`,(e,t)=>{za.init(e,t),dl.init(e,t)});function zc(e){return xs(Rc,e)}var Bc=L(`ZodISODate`,(e,t)=>{Ba.init(e,t),dl.init(e,t)});function Vc(e){return Ss(Bc,e)}var Hc=L(`ZodISOTime`,(e,t)=>{Va.init(e,t),dl.init(e,t)});function Uc(e){return Cs(Hc,e)}var Wc=L(`ZodISODuration`,(e,t)=>{Ha.init(e,t),dl.init(e,t)});function Gc(e){return ws(Wc,e)}var Kc=L(`ZodError`,(e,t)=>{ci.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>di(e,t)},flatten:{value:t=>ui(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,Tr,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,Tr,2)}},isEmpty:{get(){return e.issues.length===0}}})},{Parent:Error}),qc=fi(Kc),Jc=mi(Kc),Yc=gi(Kc),Xc=vi(Kc),Zc=bi(Kc),Qc=xi(Kc),$c=Si(Kc),el=Ci(Kc),tl=wi(Kc),nl=Ti(Kc),rl=Ei(Kc),il=Di(Kc),al=new WeakMap;function ol(e,t,n){let r=Object.getPrototypeOf(e),i=al.get(r);if(i||(i=new Set,al.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}var sl=L(`ZodType`,(e,t)=>(Ta.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:lc(e,`input`),output:lc(e,`output`)}}),e.toJSONSchema=cc(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,n)=>qc(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>Yc(e,t,n),e.parseAsync=async(t,n)=>Jc(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Xc(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>Zc(e,t,n),e.decode=(t,n)=>Qc(e,t,n),e.encodeAsync=async(t,n)=>$c(e,t,n),e.decodeAsync=async(t,n)=>el(e,t,n),e.safeEncode=(t,n)=>tl(e,t,n),e.safeDecode=(t,n)=>nl(e,t,n),e.safeEncodeAsync=async(t,n)=>rl(e,t,n),e.safeDecodeAsync=async(t,n)=>il(e,t,n),ol(e,`ZodType`,{check(...e){let t=this.def;return this.clone(Nr(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Ur(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(tee(e,t))},superRefine(e,t){return this.check(nee(e,t))},overwrite(e){return this.check(Ks(e))},optional(){return gu(this)},exactOptional(){return vu(this)},nullable(){return bu(this)},nullish(){return gu(bu(this))},nonoptional(e){return Eu(this,e)},array(){return Jl(this)},or(e){return eu([this,e])},and(e){return iu(this,e)},transform(e){return Au(this,mu(e))},default(e){return Su(this,e)},prefault(e){return wu(this,e)},catch(e){return Ou(this,e)},pipe(e){return Au(this,e)},readonly(){return Mu(this)},describe(e){let t=this.clone();return Zo.add(t,{description:e}),t},meta(...e){if(e.length===0)return Zo.get(this);let t=this.clone();return Zo.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get(){return Zo.get(e)?.description},configurable:!0}),e)),cl=L(`_ZodString`,(e,t)=>{Ea.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dc(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,ol(e,`_ZodString`,{regex(...e){return this.check(Bs(...e))},includes(...e){return this.check(Us(...e))},startsWith(...e){return this.check(Ws(...e))},endsWith(...e){return this.check(Gs(...e))},min(...e){return this.check(Rs(...e))},max(...e){return this.check(Ls(...e))},length(...e){return this.check(zs(...e))},nonempty(...e){return this.check(Rs(1,...e))},lowercase(e){return this.check(Vs(e))},uppercase(e){return this.check(Hs(e))},trim(){return this.check(Js())},normalize(...e){return this.check(qs(...e))},toLowerCase(){return this.check(Ys())},toUpperCase(){return this.check(Xs())},slugify(){return this.check(Zs())}})}),ll=L(`ZodString`,(e,t)=>{Ea.init(e,t),cl.init(e,t),e.email=t=>e.check($o(fl,t)),e.url=t=>e.check(as(gl,t)),e.jwt=t=>e.check(bs(Ml,t)),e.emoji=t=>e.check(os(vl,t)),e.guid=t=>e.check(es(pl,t)),e.uuid=t=>e.check(ts(ml,t)),e.uuidv4=t=>e.check(ns(ml,t)),e.uuidv6=t=>e.check(rs(ml,t)),e.uuidv7=t=>e.check(is(ml,t)),e.nanoid=t=>e.check(ss(yl,t)),e.guid=t=>e.check(es(pl,t)),e.cuid=t=>e.check(cs(bl,t)),e.cuid2=t=>e.check(ls(xl,t)),e.ulid=t=>e.check(us(Sl,t)),e.base64=t=>e.check(_s(kl,t)),e.base64url=t=>e.check(vs(Al,t)),e.xid=t=>e.check(ds(Cl,t)),e.ksuid=t=>e.check(fs(wl,t)),e.ipv4=t=>e.check(ps(Tl,t)),e.ipv6=t=>e.check(ms(El,t)),e.cidrv4=t=>e.check(hs(Dl,t)),e.cidrv6=t=>e.check(gs(Ol,t)),e.e164=t=>e.check(ys(jl,t)),e.datetime=t=>e.check(zc(t)),e.date=t=>e.check(Vc(t)),e.time=t=>e.check(Uc(t)),e.duration=t=>e.check(Gc(t))});function ul(e){return Qo(ll,e)}var dl=L(`ZodStringFormat`,(e,t)=>{Da.init(e,t),cl.init(e,t)}),fl=L(`ZodEmail`,(e,t)=>{Aa.init(e,t),dl.init(e,t)}),pl=L(`ZodGUID`,(e,t)=>{Oa.init(e,t),dl.init(e,t)}),ml=L(`ZodUUID`,(e,t)=>{ka.init(e,t),dl.init(e,t)});function hl(e){return ts(ml,e)}var gl=L(`ZodURL`,(e,t)=>{ja.init(e,t),dl.init(e,t)});function _l(e){return as(gl,e)}var vl=L(`ZodEmoji`,(e,t)=>{Ma.init(e,t),dl.init(e,t)}),yl=L(`ZodNanoID`,(e,t)=>{Na.init(e,t),dl.init(e,t)}),bl=L(`ZodCUID`,(e,t)=>{Pa.init(e,t),dl.init(e,t)}),xl=L(`ZodCUID2`,(e,t)=>{Fa.init(e,t),dl.init(e,t)}),Sl=L(`ZodULID`,(e,t)=>{Ia.init(e,t),dl.init(e,t)}),Cl=L(`ZodXID`,(e,t)=>{La.init(e,t),dl.init(e,t)}),wl=L(`ZodKSUID`,(e,t)=>{Ra.init(e,t),dl.init(e,t)}),Tl=L(`ZodIPv4`,(e,t)=>{Ua.init(e,t),dl.init(e,t)}),El=L(`ZodIPv6`,(e,t)=>{Wa.init(e,t),dl.init(e,t)}),Dl=L(`ZodCIDRv4`,(e,t)=>{Ga.init(e,t),dl.init(e,t)}),Ol=L(`ZodCIDRv6`,(e,t)=>{Ka.init(e,t),dl.init(e,t)}),kl=L(`ZodBase64`,(e,t)=>{Ja.init(e,t),dl.init(e,t)}),Al=L(`ZodBase64URL`,(e,t)=>{Xa.init(e,t),dl.init(e,t)}),jl=L(`ZodE164`,(e,t)=>{Za.init(e,t),dl.init(e,t)}),Ml=L(`ZodJWT`,(e,t)=>{$a.init(e,t),dl.init(e,t)}),Nl=L(`ZodNumber`,(e,t)=>{eo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fc(e,t,n,r),ol(e,`ZodNumber`,{gt(e,t){return this.check(Ps(e,t))},gte(e,t){return this.check(Fs(e,t))},min(e,t){return this.check(Fs(e,t))},lt(e,t){return this.check(Ms(e,t))},lte(e,t){return this.check(Ns(e,t))},max(e,t){return this.check(Ns(e,t))},int(e){return this.check(Il(e))},safe(e){return this.check(Il(e))},positive(e){return this.check(Ps(0,e))},nonnegative(e){return this.check(Fs(0,e))},negative(e){return this.check(Ms(0,e))},nonpositive(e){return this.check(Ns(0,e))},multipleOf(e,t){return this.check(Is(e,t))},step(e,t){return this.check(Is(e,t))},finite(){return this}});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 Pl(e){return Ts(Nl,e)}var Fl=L(`ZodNumberFormat`,(e,t)=>{to.init(e,t),Nl.init(e,t)});function Il(e){return Es(Fl,e)}var Ll=L(`ZodBoolean`,(e,t)=>{no.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pc(e,t,n,r)});function Rl(e){return Ds(Ll,e)}var zl=L(`ZodNull`,(e,t)=>{ro.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mc(e,t,n,r)});function Bl(e){return Os(zl,e)}var Vl=L(`ZodUnknown`,(e,t)=>{io.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Hl(){return ks(Vl)}var Ul=L(`ZodNever`,(e,t)=>{ao.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gc(e,t,n,r)});function Wl(e){return As(Ul,e)}var Gl=L(`ZodVoid`,(e,t)=>{oo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hc(e,t,n,r)});function Kl(e){return js(Gl,e)}var ql=L(`ZodArray`,(e,t)=>{co.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sc(e,t,n,r),e.element=t.element,ol(e,`ZodArray`,{min(e,t){return this.check(Rs(e,t))},nonempty(e){return this.check(Rs(1,e))},max(e,t){return this.check(Ls(e,t))},length(e,t){return this.check(zs(e,t))},unwrap(){return this.element}})});function Jl(e,t){return Qs(ql,e,t)}var Yl=L(`ZodObject`,(e,t)=>{mo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cc(e,t,n,r),jr(e,`shape`,()=>t.shape),ol(e,`ZodObject`,{keyof(){return uu(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:Hl()})},loose(){return this.clone({...this._zod.def,catchall:Hl()})},strict(){return this.clone({...this._zod.def,catchall:Wl()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return Yr(this,e)},safeExtend(e){return Xr(this,e)},merge(e){return Zr(this,e)},pick(e){return qr(this,e)},omit(e){return Jr(this,e)},partial(...e){return Qr(hu,this,e[0])},required(...e){return $r(Tu,this,e[0])}})});function Xl(e,t){return new Yl({type:`object`,shape:e??{},...Wr(t)})}function Zl(e,t){return new Yl({type:`object`,shape:e,catchall:Wl(),...Wr(t)})}function Ql(e,t){return new Yl({type:`object`,shape:e,catchall:Hl(),...Wr(t)})}var $l=L(`ZodUnion`,(e,t)=>{go.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wc(e,t,n,r),e.options=t.options});function eu(e,t){return new $l({type:`union`,options:e,...Wr(t)})}var tu=L(`ZodDiscriminatedUnion`,(e,t)=>{$l.init(e,t),_o.init(e,t)});function nu(e,t,n){return new tu({type:`union`,options:t,discriminator:e,...Wr(n)})}var ru=L(`ZodIntersection`,(e,t)=>{vo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Tc(e,t,n,r)});function iu(e,t){return new ru({type:`intersection`,left:e,right:t})}var au=L(`ZodTuple`,(e,t)=>{xo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ec(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})});function ou(e,t,n){let r=t instanceof Ta;return new au({type:`tuple`,items:e,rest:r?t:null,...Wr(r?n:t)})}var su=L(`ZodRecord`,(e,t)=>{To.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Dc(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function cu(e,t,n){return!t||!t._zod?new su({type:`record`,keyType:ul(),valueType:e,...Wr(t)}):new su({type:`record`,keyType:e,valueType:t,...Wr(n)})}var lu=L(`ZodEnum`,(e,t)=>{Eo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_c(e,t,n,r),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 lu({...t,checks:[],...Wr(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 lu({...t,checks:[],...Wr(r),entries:i})}});function uu(e,t){return new lu({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...Wr(t)})}var du=L(`ZodLiteral`,(e,t)=>{Do.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vc(e,t,n,r),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 fu(e,t){return new du({type:`literal`,values:Array.isArray(e)?e:[e],...Wr(t)})}var pu=L(`ZodTransform`,(e,t)=>{Oo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xc(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new xr(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(oi(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(oi(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}});function mu(e){return new pu({type:`transform`,transform:e})}var hu=L(`ZodOptional`,(e,t)=>{Ao.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ic(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function gu(e){return new hu({type:`optional`,innerType:e})}var _u=L(`ZodExactOptional`,(e,t)=>{jo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ic(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function vu(e){return new _u({type:`optional`,innerType:e})}var yu=L(`ZodNullable`,(e,t)=>{Mo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Oc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function bu(e){return new yu({type:`nullable`,innerType:e})}var xu=L(`ZodDefault`,(e,t)=>{No.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ac(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Su(e,t){return new xu({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Br(t)}})}var Cu=L(`ZodPrefault`,(e,t)=>{Fo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function wu(e,t){return new Cu({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Br(t)}})}var Tu=L(`ZodNonOptional`,(e,t)=>{Io.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Eu(e,t){return new Tu({type:`nonoptional`,innerType:e,...Wr(t)})}var Du=L(`ZodCatch`,(e,t)=>{Ro.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Mc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Ou(e,t){return new Du({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var ku=L(`ZodPipe`,(e,t)=>{zo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nc(e,t,n,r),e.in=t.in,e.out=t.out});function Au(e,t){return new ku({type:`pipe`,in:e,out:t})}var ju=L(`ZodReadonly`,(e,t)=>{Vo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Mu(e){return new ju({type:`readonly`,innerType:e})}var Nu=L(`ZodLazy`,(e,t)=>{Go.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Lc(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function Pu(e){return new Nu({type:`lazy`,getter:e})}var Fu=L(`ZodPromise`,(e,t)=>{Wo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Iu(e){return new Fu({type:`promise`,innerType:e})}var Lu=L(`ZodFunction`,(e,t)=>{Uo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bc(e,t,n,r)});function Ru(e){return new Lu({type:`function`,input:Array.isArray(e?.input)?ou(e?.input):e?.input??Jl(Hl()),output:e?.output??Hl()})}var zu=L(`ZodCustom`,(e,t)=>{Ko.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yc(e,t,n,r)});function Bu(e,t){return $s(zu,e??(()=>!0),t)}function tee(e,t={}){return ec(zu,e,t)}function nee(e,t){return tc(e,t)}function Vu(e,t={}){let n=new zu({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...Wr(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}function Hu(e){let t=Pu(()=>eu([ul(e),Pl(),Rl(),Bl(),Jl(t),cu(ul(),t)]));return t}uu(`light.dark.latte.mocha.readout.readout-night.field-guide.field-guide-night.embed.embed-dark.phosphor.codec.paper.ember.tide.tape.sunrise.pirate-radio.pirate-radio-night.consulting.consulting-ink.consulting-night.consulting-night-ink.consulting-riso-latte.consulting-riso-latte-ink.consulting-riso-glomzy.consulting-riso-glomzy-ink.vishnu.coin.coin-night.chamfer`.split(`.`));var Uu=`data-theme`;function Wu(e){return e||(globalThis.document?.documentElement??null)}function ree(e){let t=e.trim();if(t.length===0)throw TypeError(`Theme must be a non-empty string`);return t}function Gu(e,t){let n=ree(e),r=Wu(t);r&&r.setAttribute(Uu,n)}function Ku(e){return Wu(e)?.getAttribute(Uu)??null}function iee(e,t){let n=Wu(t),r=globalThis,i=(n?.ownerDocument??null)?.defaultView?.MutationObserver??r.MutationObserver;if(!n||!i)return()=>void 0;let a=new i(t=>{if(!t.some(e=>e.type===`attributes`&&e.attributeName===Uu))return;let r=n.getAttribute(Uu);r&&e(r)});a.observe(n,{attributes:!0,attributeFilter:[Uu]});let o=!1;return()=>{o||(o=!0,a.disconnect())}}var aee=Object.freeze([`2xs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`]);Object.freeze(`--stipe-font-synthesis.--stipe-surface-frame-width.--stipe-surface-frame-image.--stipe-surface-molding-contrast.--stipe-shadow-raised.--stipe-shadow-inset.--stipe-shadow-edge.--stipe-display-gasket-face.--stipe-display-texture-image.--stipe-display-text-shadow.--stipe-canvas.--stipe-surface.--stipe-surface-raised.--stipe-surface-selected.--stipe-fg-muted.--stipe-linework.--stipe-hairline.--stipe-hairline-quiet.--stipe-figure-ink.--stipe-density-compact.--stipe-density-comfortable.--stipe-motion-spring.--stipe-motion-squish.--stipe-motion-fast.--stipe-motion-normal.--stipe-motion-slow.--stipe-motion-ease.--stipe-motion-ease-exit.--stipe-motion-bounce.--stipe-motion-spring-duration.--stipe-motion-stretch.--stipe-motion-distance.--stipe-motion-stagger.--stipe-motion-blur.--stipe-motion-shake.--stipe-motion-steps.--stipe-motion-fuse.--stipe-press-depth.--stipe-press-scale.--stipe-layer-desktop.--stipe-layer-windows.--stipe-layer-chrome.--stipe-layer-popover.--stipe-layer-dialog.--stipe-layer-toast.--stipe-layer-tooltip.--stipe-overlay-shadow-outset.--stipe-icon-size-sm.--stipe-icon-size-md.--stipe-icon-size-lg.--stipe-icon-stroke.--stipe-card-rim.--stipe-card-rim-edge.--stipe-card-face.--stipe-card-panel.--stipe-card-ink.--stipe-card-ink-muted.--stipe-card-accent.--stipe-card-shadow.--stipe-card-foil-highlight.--stipe-card-foil-warm.--stipe-card-foil-cool.--stipe-avatar-shadow.--stipe-art-coral.--stipe-art-blue.--stipe-art-mint.--stipe-art-grape.--stipe-art-yellow.--stipe-art-cream.--stipe-art-ink.--stipe-art-inkcap.--stipe-art-graphite.--stipe-sketch-ink`.split(`.`));function qu(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=qu(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function oee(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=qu(e))&&(r&&(r+=` `),r+=t);return r}var Ju=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Yu=oee,see=(e,t)=>n=>{if(t?.variants==null)return Yu(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=Ju(t)||Ju(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return Yu(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},Xu=Object.defineProperty,cee=((e,t)=>{let n={};for(var r in e)Xu(n,r,{get:e[r],enumerable:!0});return t||Xu(n,Symbol.toStringTag,{value:`Module`}),n})({isAny:()=>ed,isAnyNonArbitrary:()=>See,isArbitraryFamilyName:()=>kee,isArbitraryImage:()=>jee,isArbitraryLength:()=>Eee,isArbitraryNumber:()=>Dee,isArbitraryPosition:()=>Aee,isArbitraryShadow:()=>Mee,isArbitrarySize:()=>Tee,isArbitraryValue:()=>dd,isArbitraryVariable:()=>fd,isArbitraryVariableFamilyName:()=>Nee,isArbitraryVariableImage:()=>Iee,isArbitraryVariableLength:()=>pd,isArbitraryVariablePosition:()=>Pee,isArbitraryVariableShadow:()=>Lee,isArbitraryVariableSize:()=>Fee,isArbitraryVariableWeight:()=>Ree,isArbitraryWeight:()=>Oee,isFraction:()=>hee,isInteger:()=>gee,isNamedContainerQuery:()=>Cee,isNumber:()=>$u,isPercent:()=>_ee,isTshirtSize:()=>vee}),Zu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Qu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,lee=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,uee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dee=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fee=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pee=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mee=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,hee=e=>lee.test(e),$u=e=>!!e&&!Number.isNaN(Number(e)),gee=e=>!!e&&Number.isInteger(Number(e)),_ee=e=>e.endsWith(`%`)&&$u(e.slice(0,-1)),vee=e=>uee.test(e),ed=()=>!0,yee=e=>dee.test(e)&&!fee.test(e),td=()=>!1,bee=e=>pee.test(e),xee=e=>mee.test(e),See=e=>!dd(e)&&!fd(e),Cee=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),nd=(e,t,n)=>{let r=Zu.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},rd=(e,t,n=!1)=>{let r=Qu.exec(e);return r?r[1]?t(r[1]):n:!1},id=e=>e===`position`||e===`percentage`,ad=e=>e===`image`||e===`url`,od=e=>e===`length`||e===`size`||e===`bg-size`,sd=e=>e===`length`,wee=e=>e===`number`,cd=e=>e===`family-name`,ld=e=>e===`number`||e===`weight`,ud=e=>e===`shadow`,Tee=e=>nd(e,od,td),dd=e=>Zu.test(e),Eee=e=>nd(e,sd,yee),Dee=e=>nd(e,wee,$u),Oee=e=>nd(e,ld,ed),kee=e=>nd(e,cd,td),Aee=e=>nd(e,id,td),jee=e=>nd(e,ad,xee),Mee=e=>nd(e,ud,bee),fd=e=>Qu.test(e),pd=e=>rd(e,sd),Nee=e=>rd(e,cd),Pee=e=>rd(e,id),Fee=e=>rd(e,od),Iee=e=>rd(e,ad),Lee=e=>rd(e,ud,!0),Ree=e=>rd(e,ld,!0),md=(e,t)=>{let n=Object.keys(e);return n.length===1&&n[0]===t&&typeof e[t]==`string`},zee=e=>typeof e==`function`&&e.isThemeGetter===!0,Bee=e=>({...e,theme:{...e.theme},classGroups:{...e.classGroups},conflictingClassGroups:{...e.conflictingClassGroups},conflictingClassGroupModifiers:{...e.conflictingClassGroupModifiers},orderSensitiveModifiers:[...e.orderSensitiveModifiers],postfixLookupClassGroups:[...e.postfixLookupClassGroups??[]]}),Vee=(e,t)=>{let n=Bee(e);t.prefix!==void 0&&(n.prefix=t.prefix);let r=(e,t)=>{if(t)for(let n in t)t[n]!==void 0&&(e[n]=t[n])},i=t.override;i&&(i.orderSensitiveModifiers&&(n.orderSensitiveModifiers=[...i.orderSensitiveModifiers]),r(n.theme,i.theme),r(n.classGroups,i.classGroups),r(n.conflictingClassGroups,i.conflictingClassGroups),r(n.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers));let a=(e,t)=>{if(t)for(let n in t){let r=t[n];r&&(e[n]=(e[n]??[]).concat(r))}},o=t.extend;return o&&(o.orderSensitiveModifiers&&(n.orderSensitiveModifiers=[...n.orderSensitiveModifiers,...o.orderSensitiveModifiers]),a(n.theme,o.theme),a(n.classGroups,o.classGroups),a(n.conflictingClassGroups,o.conflictingClassGroups),a(n.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers)),n},hd={isAny:0,isAnyNonArbitrary:1,isArbitraryValue:2,isArbitraryVariable:3,isFraction:4,isNumber:5,isInteger:6,isPercent:7,isTshirtSize:8,isNamedContainerQuery:9,isArbitraryLength:10,isArbitraryNumber:11,isArbitraryWeight:12,isArbitraryFamilyName:13,isArbitraryPosition:14,isArbitrarySize:15,isArbitraryImage:16,isArbitraryShadow:17,isArbitraryVariableLength:18,isArbitraryVariableFamilyName:19,isArbitraryVariablePosition:20,isArbitraryVariableSize:21,isArbitraryVariableImage:22,isArbitraryVariableShadow:23,isArbitraryVariableWeight:24},Hee=25,Uee=()=>({names:[],idByName:new Map,impls:{},fnName:new Map,classifierFns:new Map}),gd=(e,t,n)=>{let r=e.idByName.get(t);return r===void 0&&(r=e.names.length,e.names.push(t),e.idByName.set(t,r),e.classifierFns.set(t,n)),r},_d=(e,t)=>{if(typeof t==`function`){let n=e.fnName.get(t);return n===void 0&&(n=`$c`+e.fnName.size,e.fnName.set(t,n),e.impls[n]=t),gd(e,n,t)}let n=t.$v,r=cee[n];if(hd[n]===void 0||!r)throw Error(`cn: unknown validator "${n}"`);return gd(e,n,r)},vd=()=>({nextPart:new Map,validators:null,classGroupId:-1,lit:[]}),Wee=(e,t)=>e.theme[t]??[],Gee=(e,t,n)=>{let r=vd(),i=(e,t)=>{for(let n of t.split(`-`)){let t=e.nextPart.get(n);t||(t=vd(),e.nextPart.set(n,t)),e=t}return e},a=(n,r,o)=>{if(typeof n==`string`){let e=n===``?r:i(r,n);e.classGroupId=o;return}if(typeof n==`function`){if(zee(n)){for(let t of n(e.theme))a(t,r,o);return}(r.validators??=[]).push({validatorId:_d(t,n),groupId:o});return}if(md(n,`$t`)){for(let t of Wee(e,n.$t))a(t,r,o);return}if(md(n,`$v`)){(r.validators??=[]).push({validatorId:_d(t,n),groupId:o});return}for(let[e,t]of Object.entries(n)){let n=i(r,e);for(let e of t)a(e,n,o)}};for(let[t,i]of Object.entries(e.classGroups)){let e=n(t);for(let t of i)a(t,r,e)}return r},Kee=e=>{let t=Uee(),n=[],r=new Map,i=e=>{let t=r.get(e);return t===void 0&&(t=n.length,n.push(e),r.set(e,t)),t},a=Gee(e,t,i),o=e=>{if(e.validators)return!1;for(let t of e.nextPart.values())if(!o(t))return!1;return!0},s=(e,t,n)=>{e.classGroupId>=0&&n.push({tail:t,gid:e.classGroupId});for(let[r,i]of e.nextPart)s(i,t+`-`+r,n)},c=e=>{for(let[t,n]of[...e.nextPart])o(n)?(s(n,t,e.lit),e.nextPart.delete(t)):c(n)};c(a);let l=[{edges:new Map,groupId:-1,vlist:-1}],u=()=>(l.push({edges:new Map,groupId:-1,vlist:-1}),l.length-1),d=[],f=new Map,p=e=>{let t=e.map(e=>e.validatorId+`:`+e.groupId).join(`,`),n=f.get(t);return n===void 0&&(n=d.length,d.push(e.map(e=>[e.validatorId,e.groupId])),f.set(t,n)),n},m=(e,t)=>{let n=e;for(let e=0;e<t.length;e++){let r=t.charCodeAt(e),i=l[n].edges.get(r);i===void 0&&(i=u(),l[n].edges.set(r,i)),n=i}return n},h=[],g=(e,t,n)=>{e.classGroupId>=0&&(l[t].groupId=e.classGroupId),e.validators&&(l[t].vlist=p(e.validators));for(let{tail:n,gid:r}of e.lit)h.push({anchor:t,tail:n,gid:r});for(let[r,i]of e.nextPart){let e=t;if(!n){let n=l[t].edges.get(45);n===void 0&&(n=u(),l[t].edges.set(45,n)),e=n}let a=m(e,r);g(i,a,!1)}};g(a,0,!0);let _=new Set(h.map(e=>e.anchor)),v=e=>l[e].groupId>=0||l[e].vlist>=0||_.has(e),y=new Map,b=[],x=e=>{let t=b.length;y.set(e,t);let n={edges:[],groupId:l[e].groupId,vlist:l[e].vlist};b.push(n);let r=[...l[e].edges.entries()].sort((e,t)=>e[0]-t[0]);for(let[e,t]of r){let r=String.fromCharCode(e),i=t;for(;l[i].edges.size===1&&!v(i);){let[[e,t]]=l[i].edges.entries();r+=String.fromCharCode(e),i=t}n.edges.push({label:r,oldTarget:i})}for(let e of n.edges)x(e.oldTarget);return t};x(0);let S=b.length,C=0;for(let e of b)C+=e.edges.length;let w=new Int32Array(S),T=new Int32Array(C),E=``,D=new Int32Array(S),O=new Int32Array(S),k=[];{let e=0;for(let t=0;t<S;t++){let n=b[t];w[t]=n.edges.length;for(let t of n.edges)T[e]=t.label.length,E+=t.label,k.push(y.get(t.oldTarget)),e++;D[t]=n.groupId,O[t]=n.vlist}}{let e=new Int32Array(S);for(let t=S-1;t>=0;t--){let n=1,r=t+1;for(let i=0;i<w[t];i++)n+=e[r],r+=e[r];e[t]=n}let t=0;for(let n=0;n<S;n++){let r=n+1;for(let i=0;i<w[n];i++){if(r!==k[t])throw Error(`cn compiler: edge target mismatch at ${t}`);r+=e[r],t++}}}for(let e of h)e.anchor=y.get(e.anchor);{let e=new Int32Array(d.length).fill(-1),t=[];for(let n=0;n<S;n++){let r=O[n];r>=0&&(e[r]===-1&&(e[r]=t.length,t.push(d[r])),O[n]=e[r])}d.length=0,d.push(...t)}let A=0;for(let e of d)A+=e.length;let j=new Int32Array(A),M=new Int32Array(A);{let e=0;for(let t of d)for(let[n,r]of t)j[e]=n,M[e]=r,e++}h.sort((e,t)=>e.anchor-t.anchor||e.gid-t.gid||(e.tail<t.tail?-1:1));let N=[];for(let e of h){let t=N[N.length-1];t&&t.anchor===e.anchor&&t.gid===e.gid?t.tails.push(e.tail):N.push({anchor:e.anchor,gid:e.gid,tails:[e.tail],set:-1})}let P=new Map,ee=[];for(let e of N){let t=e.tails.join(` `),n=P.get(t);n===void 0&&(n=ee.length,P.set(t,n),ee.push(e.tails)),e.set=n}for(let e of ee.flat())if(e.includes(`|`)||e.includes(` `))throw Error(`cn compiler: tail contains delimiter: `+e);let te=new Set(ee.flat()).size;N.sort((e,t)=>e.anchor-t.anchor||e.set-t.set);for(let t of Object.values(e.conflictingClassGroups))for(let e of t)i(e);for(let t of Object.values(e.conflictingClassGroupModifiers))for(let e of t)i(e);for(let t of e.postfixLookupClassGroups??[])i(t);let ne=n.length,re=new Int32Array(ne).fill(-1),ie=0,ae=e=>(re[e]===-1&&(re[e]=ie++),re[e]);for(let e=0;e<M.length;e++)M[e]=ae(M[e]);for(let e of N)e.gid=ae(e.gid);for(let e=0;e<D.length;e++)D[e]>=0&&(D[e]=ae(D[e]));for(let e=0;e<ne;e++)re[e]===-1&&(re[e]=ie++);let oe=Array(ne);for(let e=0;e<ne;e++)oe[re[e]]=n[e];let se=[],ce=[],le=[],ue=[],de=[];for(let t=0;t<ne;t++){let n=oe[t],i=(e.conflictingClassGroups[n]??[]).map(e=>re[r.get(e)]),a=(e.conflictingClassGroupModifiers[n]??[]).map(e=>re[r.get(e)]);i.length&&(se.push(t),ce.push(i.length),le.push(...i));for(let e of a)ue.push(t),de.push(e)}let fe=(e.postfixLookupClassGroups??[]).map(e=>re[r.get(e)]),pe=[],me=new Int32Array(j.length);for(let e=0;e<j.length;e++){let n=t.names[j[e]],r=hd[n];if(r!==void 0)me[e]=r;else{let t=pe.indexOf(n);t===-1&&(t=pe.length,pe.push(n)),me[e]=Hee+t}}let he=new Map,ge=[],_e=[],ve=[];{let e=0;for(let t of d){let n=[];for(let r=0;r<t.length;r++)n.push(me[e++]);let r=n.join(`,`),i=he.get(r);i===void 0&&(i=ge.length,he.set(r,i),ge.push(n.length),_e.push(...n)),ve.push(i)}}let ye={};for(let e of pe)ye[e]=t.classifierFns.get(e);return{G:ne,customNames:pe,impls:ye,edgeCounts:w,edgeLabelLen:T,labelText:E,edgeTargetActual:k,nodeGroup:D,nodeVlist:O,nodeCount:S,totalEdges:C,patCounts:ge,patOps:_e,listPat:ve,vlistGroup:M,litEntries:h,sets:ee,attachments:N,uniqueTailCount:te,adjGid:se,adjCnt:ce,adjTgt:le,patGid:ue,patTgt:de,postfixLookup:fe,orderSensitiveModifiers:e.orderSensitiveModifiers.join(` `),prefix:e.prefix}},yd=e=>{let t=new Int32Array(e.length+1);for(let n=0;n<e.length;n++)t[n+1]=t[n]+e[n];return t},qee=e=>{let t=Kee(e),n=t.litEntries.length,r=new Int32Array(n),i=new Int32Array(n),a=new Int32Array(n),o=``,s=new Int32Array(t.uniqueTailCount*2);{let e=new Map,n=0,c=0;for(let l of t.attachments)for(let u of t.sets[l.set]){let t=e.get(u);t===void 0&&(t=n++,e.set(u,t),s[t*2]=o.length,s[t*2+1]=u.length,o+=u),r[c]=l.anchor,i[c]=l.gid,a[c]=t,c++}}return{tables:{GROUP_COUNT:t.G,edgeStart:yd(t.edgeCounts),labelStart:yd(t.edgeLabelLen),labelText:t.labelText,edgeTarget:Int32Array.from(t.edgeTargetActual),nodeGroup:t.nodeGroup,nodeVlist:t.nodeVlist,vlistPat:yd(t.patCounts),vlistOps:Int32Array.from(t.patOps),vlistRef:Int32Array.from(t.listPat),vlistGroup:t.vlistGroup,litAnchor:r,litGroup:i,litPool:a,poolOffsets:s,poolText:o,adjGid:Int32Array.from(t.adjGid),adjStart:yd(t.adjCnt),adjTgt:Int32Array.from(t.adjTgt),patGid:Int32Array.from(t.patGid),patTgt:Int32Array.from(t.patTgt),postfixLookupGroups:Int32Array.from(t.postfixLookup),customValidatorNames:t.customNames,orderSensitiveModifiers:t.orderSensitiveModifiers},validatorImpls:t.impls,prefix:t.prefix}},Jee=`line`in Error(),bd=-1,xd=-1,Sd=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},Cd=(e,t,n)=>{let r=n-t,i=Math.imul(r,2654435761)^e.charCodeAt(t);if(r>3){let a=r>>2,o=r>>1;i=Math.imul(i^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+a),2246822507),i=Math.imul(i^e.charCodeAt(t+o)<<8^e.charCodeAt(t+o+a)<<16^e.charCodeAt(n-3),3266489909),i^=e.charCodeAt(n-2)<<8^e.charCodeAt(n-1)<<16;for(let r=t+3,a=n-4;r<t+8&&r<a;r++,a--)i=Math.imul(i^e.charCodeAt(r)^e.charCodeAt(a)<<8,16777619)}return i^i>>>15|0},wd=(e,t,n={})=>{let{GROUP_COUNT:r,edgeStart:i,labelStart:a,labelText:o,edgeTarget:s,nodeGroup:c,nodeVlist:l,vlistPat:u,vlistOps:d,vlistRef:f,vlistGroup:p,litAnchor:m,litGroup:h,litPool:g,poolOffsets:_,poolText:v,adjGid:y,adjStart:b,adjTgt:x,patGid:S,patTgt:C,postfixLookupGroups:w,customValidatorNames:T,orderSensitiveModifiers:E}=e,D=new Int32Array(r).fill(-1);for(let e=0;e<y.length;e++)D[y[e]]=e;let O=0;for(let e=0;e+1<b.length;e++){let t=b[e+1]-b[e];t>O&&(O=t)}let k=32;for(;k<2*(1+O+S.length);)k<<=1;let A=new Int32Array(f.length+1);for(let e=0;e<f.length;e++)A[e+1]=A[e]+u[f[e]+1]-u[f[e]];let j=new Uint8Array(r);for(let e=0;e<w.length;e++)j[w[e]]=1;let M=i.length-1,N=new Uint8Array(M),P=0,ee=!0;for(let e=0;e<m.length;e++){N[m[e]]=1;let t=_[g[e]*2+1];t>P&&(P=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(ee=!1)}let te=1;for(;te<m.length*2;)te<<=1;let ne=new Int32Array(te).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(Sd(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&te-1;for(;ne[n]!==-1;)n=n+1&te-1;ne[n]=e}let re=(e,t,n,r)=>{let i=(Sd(t,n,r)^Math.imul(e,2654435761)|0)&te-1,a=r-n;for(;;){let r=ne[i];if(r===-1)return-1;if(m[r]===e&&_[g[r]*2+1]===a){let e=_[g[r]*2],i=!0;for(let r=0;r<a;r++)if(v.charCodeAt(e+r)!==t.charCodeAt(n+r)){i=!1;break}if(i)return h[r]}i=i+1&te-1}},ie=n.cacheSize??8192,ae=n.prefix??e.prefix??``,oe=ae===``?``:ae+`:`,se=oe.length,ce=(T??[]).map(e=>{let n=t&&t[e];if(!n)throw Error(`cn: missing validator `+e);return n}),le=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,de=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pe=0,me=-1,he=-1,ge=-1,_e=-1,ve=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===95,ye=e=>/\s/.test(String.fromCharCode(e)),be=(e,t,n)=>{if(pe=0,me=-1,n-t<3)return;let r=e.charCodeAt(t),i=e.charCodeAt(n-1);if(r===91&&i===93)pe=1;else if(r===40&&i===41)pe=2;else return;ge=t+1,_e=n-1;let a=t+1;if(ve(e.charCodeAt(a))){for(a++;a<n-1;){let t=e.charCodeAt(a);if(!ve(t)&&t!==45)break;a++}a<n-2&&e.charCodeAt(a)===58&&(me=t+1,he=a,ge=a+1)}},xe=(e,t,n,r)=>{if(n-t!==r.length)return!1;for(let n=0;n<r.length;n++)if(e.charCodeAt(t+n)!==r.charCodeAt(n))return!1;return!0},Se=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ce=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,we=e=>!!e&&!Number.isNaN(Number(e)),Te=(e,t,n)=>{if(n-t<11||!xe(e,t,t+10,`@container`))return!1;if(e.charCodeAt(t+10)===47)return n-t>=12;let r=e.charCodeAt(t+11);return r===115&&n-t>=17&&xe(e,t+10,t+16,`-size/`)||r===110&&n-t>=19&&xe(e,t+10,t+18,`-normal/`)},Ee=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],De=`length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight`.split(`|`).map(e=>e.split(` `)),Oe=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],ke=(e,t,n,r)=>{if(e>=10){if(e>=25)return ce[e-25](t.slice(n,r));let i=e-10;if(pe!==Ee[i])return!1;if(me>=0){for(let e of De[i])if(xe(t,me,he,e))return!0;return!1}switch(Oe[i]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(ge,_e);return le.test(e)&&!ue.test(e)}case 3:return we(t.slice(ge,_e));case 4:return fe.test(t.slice(ge,_e));default:return de.test(t.slice(ge,_e))}}switch(e){case 0:return!0;case 1:return pe===0;case 2:return pe===1;case 3:return pe===2;case 4:return Se.test(t.slice(n,r));case 5:return we(t.slice(n,r));case 6:{let e=t.slice(n,r);return!!e&&Number.isInteger(Number(e))}case 7:return r>n&&t.charCodeAt(r-1)===37&&we(t.slice(n,r-1));case 8:return Ce.test(t.slice(n,r));default:return Te(t,n,r)}},Ae=new Set(typeof E==`string`?E.split(` `):E),je=(e,t,n,r,i,a)=>{let o=Sd(t,n,r)^(i?2654435769:0)|0,s=e.get(o);if(s!==void 0)outer:for(let e=0;e<s.length;e++){let a=s[e];if(a.imp===i&&a.k.length===r-n){for(let e=0;e<a.k.length;e++)if(a.k.charCodeAt(e)!==t.charCodeAt(n+e))continue outer;return a.id}}else e.set(o,s=[]);let c=t.slice(n,r),l=a(c);return s.push({k:c,imp:i,id:l}),l},Me=new Map,Ne=new Map,Pe=2,Fe=4096,Ie=(e,t)=>{let n=[],r=0,i=0,a=0;for(let t=0;t<e.length;t++){let o=e.charCodeAt(t);r===0&&i===0&&o===58?(n.push(e.slice(a,t)),a=t+1):o===91?r++:o===93?r--:o===40?i++:o===41&&i--}n.push(e.slice(a));let o=n[0];if(n.length>1){let e=[],t=[];for(let r of n)r.charCodeAt(0)===91||Ae.has(r)?(t.length&&(e.push(...t.sort()),t=[]),e.push(r)):t.push(r);t.length&&e.push(...t.sort()),o=e.join(`:`)}let s=t?o+` !`:o,c=Ne.get(s);return c===void 0&&Ne.set(s,c=Pe++),c},Le=new Map,Re=r,ze=r+4096,Be=()=>Re++,Ve=2097152,He=8192,Ue=new Int32Array(He),We=Array(He).fill(null),Ge=new Int32Array(He),Ke=new Int32Array(He),qe=new Uint8Array(He),Je=0,Ye=(e,t,n,r,i,a,o,s)=>{let c=e;if(We[e]!==null){if(We[e|1]===null)c=e|1;else if(!(Je++&3))c=e|Je>>2&1;else return}We[c]=t.slice(n,r),Ue[c]=i,Ge[c]=a,Ke[c]=o,qe[c]=s},Xe=()=>We.fill(null),Ze=256,Qe=[new Int32Array(Ze),new Int32Array(Ze),new Int32Array(Ze),new Int32Array(Ze)],[$e,et,tt,nt]=Qe,rt=new Uint8Array(Ze),it=new Uint8Array(Ze),at=()=>{Ze*=2,Qe=Qe.map(e=>{let t=new Int32Array(Ze);return t.set(e),t}),[$e,et,tt,nt]=Qe;let e=new Uint8Array(Ze);e.set(rt),rt=e,it=new Uint8Array(Ze)},ot=64,st=new Int32Array(ot),ct=new Int32Array(ot),lt=new Int32Array(r),ut=2048,dt=21,ft=new Float64Array(ut),pt=new Int32Array(ut),mt=0,ht=(e,t)=>{if(e===0&&t<r)return lt[t]===mt?1:(lt[t]=mt,0);let n=e*2097152+t+1,i=Math.imul(n,2654435761)>>>dt;for(;pt[i]===mt;){if(ft[i]===n)return 1;i=i+1&ut-1}return ft[i]=n,pt[i]=mt,0},gt=(e,t,n,r,i)=>{if(n-t>=2&&e.charCodeAt(t)===91&&e.charCodeAt(n-1)===93){let r=-1;for(let i=t+1;i<n-1;i++)if(e.charCodeAt(i)===58){r=i;break}return r===-1||r===t+1?bd:je(Le,e,t+1,r,0,Be)}if(r>=0&&c[r]>=0)return c[r];for(let t=i-1;t>=0;t--){let r=ct[t];if(r>n)continue;let i=st[t],a=n-r;if(N[i]===1&&a>0&&a<=P){let t=e.charCodeAt(r);if(ee===!1||t!==91&&t!==40){let t=re(i,e,r,n);if(t>=0)return t}}let o=l[i];if(o<0)continue;let s=f[o],c=u[s],m=u[s+1];if(c===m)continue;be(e,r,n);let h=A[o]-c;for(let t=c;t<m;t++)if(ke(d[t],e,r,n))return p[h+t]}return bd},_t=e=>{let t=e.length,n=0,c=0,u=!1;(Pe>Fe||Me.size>Fe)&&(Me=new Map,Ne=new Map,Pe=2,Xe()),Re>ze&&(Le=new Map,Re=r,Xe());let d=0;for(;d<t;){let f=e.charCodeAt(d);if(f===32||f>=9&&f<=13||f>=160&&ye(f)){f!==32&&(u=!0),d++;continue}let p=d,m=0;for(;d<t;){if(f=e.charCodeAt(d),f<=32){if(f===32)break;if(f>=9&&f<=13){u=!0;break}}else if(f>=160&&ye(f)){u=!0;break}m=Math.imul(m^f,16777619),d++}let h=d,g=h-p;n===Ze&&at();let _=n++;$e[_]=p,et[_]=h,c+=g,m^=Math.imul(g,2654435761);let v=m^m>>>15|0,y=v&8190;{let t=-1;if(Ue[y]===v&&We[y]!==null&&We[y].length===g?t=y:Ue[y|1]===v&&We[y|1]!==null&&We[y|1].length===g&&(t=y|1),t>=0){let n=We[t],r=!0;for(let t=0;t<g;t++)if(n.charCodeAt(t)!==e.charCodeAt(p+t)){r=!1;break}if(r){tt[_]=Ge[t],nt[_]=Ke[t],rt[_]=qe[t];continue}}}let b=p;if(se!==0){if(h-p<=se||!e.startsWith(oe,p)){tt[_]=bd,Ye(y,e,p,h,v,bd,0,0);continue}b=p+se}let x=0,S=0,C=-1,w=-1;for(let t=b;t<h;t++){let n=e.charCodeAt(t);if(x===0&&S===0){if(n===58){C=t;continue}if(n===47){w=t;continue}}n===91?x++:n===93?x--:n===40?S++:n===41&&S--}let T=C>=b?C+1:b,E=T,D=h,O=!1,k=0;D>E&&e.charCodeAt(D-1)===33?(O=!0,D--):D>E&&e.charCodeAt(E)===33&&(O=!0,E++,k=1);let A=-1;w>T&&(A=w+k,A>=D&&(A=-1));let M=E;D-E>1&&e.charCodeAt(E)===45&&(M=E+1);let P=0,ee=0,te=0,ne=-1,re=0;(l[0]>=0||N[0]===1)&&(st[0]=0,ct[0]=M,re=1);let ie=xd,ae=0;for(let t=M;t<D;t++)if(t===A&&(ie=ee<te?xd:P,ae=re),P!==xd){let n=e.charCodeAt(t),r=-1;if(ee<te)o.charCodeAt(ee)===n?(ee++,ee===te&&(r=P=ne)):P=xd;else{let e=i[P],t=i[P+1],c=xd;for(let i=e;i<t;i++){let e=a[i];if(o.charCodeAt(e)===n){a[i+1]-e===1?r=c=s[i]:(ee=e+1,te=a[i+1],ne=s[i],c=P);break}}P=c}if(r>=0&&(l[r]>=0||N[r]===1)&&t+1<D&&e.charCodeAt(t+1)===45){if(re===ot){ot*=2;let e=new Int32Array(ot);e.set(st),st=e;let t=new Int32Array(ot);t.set(ct),ct=t}st[re]=r,ct[re]=t+2,re++}}A===D&&(ie=ee<te?xd:P,ae=re);let ce=ee<te?xd:P,le,ue=!1;if(A>=0){if(ue=!0,le=gt(e,E,A,ie,ae),le!==bd&&le<r&&j[le]){let t=gt(e,E,D,ce,re);t!==bd&&t!==le&&(le=t,ue=!1)}else le===bd&&(le=gt(e,E,D,ce,re),ue=!1)}else le=gt(e,E,D,ce,re);let de=0,fe=0;le===bd?tt[_]=bd:(fe=+!!ue,de=b>=C?+!!O:je(Me,e,b,C,+!!O,e=>Ie(e,O)),tt[_]=le,rt[_]=fe,nt[_]=de),Ye(y,e,p,h,v,le,de,fe)}if(n===0)return``;if(n===1)return $e[0]===0&&et[0]===t?e:e.slice($e[0],et[0]);if(n*k>ut){for(;n*k>ut;)ut<<=1,dt--;ft=new Float64Array(ut),pt=new Int32Array(ut)}if(Pe>=Ve||Re>=Ve)throw Error(`cn: too many distinct classes in one merge`);mt=mt+1|0,mt===0&&(lt.fill(0),pt.fill(0),mt=1);let f=!1;for(let e=n-1;e>=0;e--){let t=tt[e];if(t===bd){it[e]=1;continue}let n=nt[e];if(ht(n,t)===1){it[e]=0,f=!0;continue}if(it[e]=1,t<r){let r=D[t];if(r>=0)for(let e=b[r];e<b[r+1];e++)ht(n,x[e]);if(rt[e]&1)for(let e=0;e<S.length;e++)S[e]===t&&ht(n,C[e])}}if(!f&&!u&&t===c+n-1)return e;let p=``,m=0;for(;m<n;){if(!it[m]){m++;continue}let t=$e[m],r=et[m],i=m+1;for(;i<n&&it[i]&&$e[i]===r+1&&e.charCodeAt(r)===32;)r=et[i],i++;p.length>0&&(p+=` `),p+=e.slice(t,r),m=i}return p},vt=16384,yt=new Int32Array(vt*2),bt=0,xt=1,St=Object.create(null),Ct=Object.create(null),wt=new Map,Tt=new Map,Et=0,Dt=0,Ot=()=>{bt^=vt,xt=xt+1|0,Dt=0},kt=e=>{let t=St[e];if(t!==void 0)return t;let n=Cd(e,0,e.length),r=(n&16383)+bt,i=yt[r]===(n^xt)||yt[r^vt]===(n^xt-1);return i&&(t=Ct[e],t!==void 0)?(St[e]=t,t):(t=_t(e),i?(St[e]=t,++Et>ie&&(Et=0,Ct=St,St=Object.create(null),Ot())):(yt[r]=n^xt,++Dt>vt&&Ot()),t)},At=e=>{let t=wt.get(e);if(t!==void 0)return t;let n=Cd(e,0,e.length),r=(n&16383)+bt,i=yt[r]===(n^xt)||yt[r^vt]===(n^xt-1);return i&&(t=Tt.get(e),t!==void 0)?(wt.set(e,t),t):(t=_t(e),i?(wt.set(e,t),++Et>ie&&(Et=0,Tt=wt,wt=new Map,Ot())):(yt[r]=n^xt,++Dt>vt&&Ot()),t)},jt=e=>{let t=Cd(e,0,e.length),n=(t&16383)+bt;return yt[n]===(t^xt)||yt[n^vt]===(t^xt-1)||(yt[n]=t^xt,++Dt>vt&&Ot(),!1)},Mt=ie===0?_t:Jee?e=>{let t=wt.get(e);return t===void 0?At(e):t}:kt;return{merge:function(){return arguments.length===1&&typeof arguments[0]==`string`?Mt(arguments[0]):Mt(Xee.apply(null,arguments))},mergeString:Mt,seenBefore:ie===0?()=>!1:jt,mergeUncached:_t}},Td=(e,t)=>{if(!e)return``;if(typeof e==`string`)return e;let n=``;if(typeof e.length==`number`&&(!t||Array.isArray(e))){let r=e;for(let e=0;e<r.length;e++){let i=r[e];if(!i)continue;let a=typeof i==`string`?i:Td(i,t);a&&(n&&(n+=` `),n+=a)}return n}if(t){if(typeof e==`number`)return``+e;if(typeof e==`object`)for(let t in e)e[t]&&(n&&(n+=` `),n+=t)}return n},Yee=(e,t)=>{let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(!i)continue;let a=typeof i==`string`?i:Td(i,t);a&&(n&&(n+=` `),n+=a)}return n},Xee=function(){return Yee(arguments,!1)},Zee=(e,t)=>{let n=t===void 0?()=>!0:t.seenBefore,r=t===void 0?e:t.mergeUncached,i=new Map,a=new Map,o=0,s=null,c=(e,t,n,r)=>{let i=0;if(t){if(t!==e.a0)return!1;i=1}if(n){if(n!==(i===0?e.a0:e.a1))return!1;i++}if(r){if(r!==(i===0?e.a0:i===1?e.a1:e.a2))return!1;i++}return i===e.t},l=(e,t)=>{let n=e.a,r=0;for(let e=0;e<t.length;e++){let i=t[e];if(i){if(i!==n[r])return!1;r++}}return r===e.t},u=(t,c)=>{let u=t.length,d=s===null?null:s.n;if(!c){if(d!==null&&l(d,t))return s=d,d.r;if(s!==null&&s!==d&&l(s,t))return s.r}let f=``,p=-1,m=0,h=!1;for(let e=0;e<u;e++){let n=t[e];if(n){if(typeof n!=`string`){if(n=t[e]=Td(n,!0),!n)continue;h=!0}p<0&&(f=n,p=e),m++}}if(m===0)return``;if(m===1)return e(f);if(h){if(d!==null&&l(d,t))return s=d,d.r;if(s!==null&&s!==d&&l(s,t))return s.r}let g=i.get(f);g===void 0&&(g=a.get(f),g!==void 0&&i.set(f,g));let _=null;if(g!==void 0)outer:for(let e=0;e<g.length;e++){let n=g[e];if(n.t!==m)continue;let r=n.a,i=1;for(let e=p+1;e<u;e++){let n=t[e];if(n&&n!==r[i++])continue outer}_=n;break}if(_===null){let s=f,c=[f];for(let e=p+1;e<u;e++){let n=t[e];n&&(s+=` `+n,c.push(n))}if(!n(s))return r(s);_={r:e(s),t:c.length,a0:c[0],a1:c[1],a2:c[2]??``,a:c,n:null},g===void 0&&i.set(f,g=[]),g.length>=256&&g.shift(),g.push(_),++o>1e3&&(o=0,a=i,i=new Map)}return s!==null&&s!==_&&(s.n=_),s=_,_.r},d=t=>Array.isArray(t)?u(t.slice(),!1):e(Td(t,!0));return function(t,n,r){let i=arguments.length;if((i|1)==3){let e=s;if(e!==null){let i=e.n;if(i!==null&&c(i,t,n,r))return s=i,i.r;if(e!==i&&c(e,t,n,r))return e.r}return u([t,n,r],!0)}if(i===1)return typeof t==`string`?e(t):d(t);let a=s;if(a!==null){let e=a.n;if(e!==null){let t=e.a,n=0,r=!0;for(let e=0;e<i;e++){let i=arguments[e];if(i){if(i!==t[n]){r=!1;break}n++}}if(r&&n===e.t)return s=e,e.r}if(a!==e){let e=a.a,t=0,n=!0;for(let r=0;r<i;r++){let i=arguments[r];if(i){if(i!==e[t]){n=!1;break}t++}}if(n&&t===a.t)return a.r}}let o=[];for(let e=0;e<i;e++)o.push(arguments[e]);return u(o,!0)}},Qee=`{"theme":{"animate":[{"$v":"isAny"}],"aspect":["video"],"blur":[{"$v":"isTshirtSize"}],"breakpoint":[{"$v":"isTshirtSize"}],"color":[{"$v":"isAny"}],"container":[{"$v":"isTshirtSize"}],"drop-shadow":[{"$v":"isTshirtSize"}],"ease":["in","out","in-out"],"font":[{"$v":"isAnyNonArbitrary"}],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[{"$v":"isTshirtSize"}],"leading":["none","tight","snug","normal","relaxed","loose"],"perspective":["dramatic","near","normal","midrange","distant","none"],"radius":[{"$v":"isTshirtSize"}],"shadow":[{"$v":"isTshirtSize"}],"spacing":["px",{"$v":"isNumber"}],"text":[{"$v":"isTshirtSize"}],"text-shadow":[{"$v":"isTshirtSize"}],"tracking":["tighter","tight","normal","wide","wider","widest"]},"classGroups":{"aspect":[{"aspect":["auto","square",{"$v":"isFraction"},{"$v":"isArbitraryValue"},{"$v":"isArbitraryVariable"},{"$t":"aspect"}]}],"container":["container"],"container-type":[{"@container":["","normal","size",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"container-named":[{"$v":"isNamedContainerQuery"}],"columns":[{"columns":[{"$v":"isNumber"},{"$v":"isArbitraryValue"},{"$v":"isArbitraryVariable"},{"$t":"container"}]},"columns-auto"],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],"box":[{"box":["border","content"]}],"display":["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],"sr":["sr-only","not-sr-only"],"float":[{"float":["right","left","none","start","end"]}],"clear":[{"clear":["left","right","both","none","start","end"]}],"isolation":["isolate","isolation-auto"],"object-fit":[{"object":["contain","cover","fill","none","scale-down"]}],"object-position":[{"object":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"overflow":[{"overflow":["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],"overscroll":[{"overscroll":["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],"position":["static","fixed","absolute","relative","sticky"],"inset":[{"inset":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-x":[{"inset-x":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-y":[{"inset-y":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"start":[{"inset-s":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}],"start":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"end":[{"inset-e":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}],"end":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-bs":[{"inset-bs":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-be":[{"inset-be":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"top":[{"top":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"right":[{"right":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"bottom":[{"bottom":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"left":[{"left":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"visibility":["visible","invisible","collapse"],"z":[{"z":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"basis":[{"basis":[{"$v":"isFraction"},"full","auto",{"$t":"container"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"flex-direction":[{"flex":["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{"flex":["nowrap","wrap","wrap-reverse"]}],"flex":[{"flex":[{"$v":"isNumber"},{"$v":"isFraction"},"auto","initial","none",{"$v":"isArbitraryValue"}]}],"grow":[{"grow":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"shrink":[{"shrink":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"order":[{"order":[{"$v":"isInteger"},"first","last","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grid-cols":[{"grid-cols":[{"$v":"isInteger"},"none","subgrid",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"col-start-end":[{"col":["auto",{"span":["full",{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"col-start":[{"col-start":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"col-end":[{"col-end":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grid-rows":[{"grid-rows":[{"$v":"isInteger"},"none","subgrid",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"row-start-end":[{"row":["auto",{"span":["full",{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"row-start":[{"row-start":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"row-end":[{"row-end":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"auto-cols":[{"$t":"spacing"}]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"auto-rows":[{"$t":"spacing"}]}],"gap":[{"gap":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"gap-x":[{"gap-x":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"gap-y":[{"gap-y":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"justify-content":[{"justify":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{"content":["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{"items":["start","end","center","stretch","center-safe","end-safe",{"baseline":["","last"]}]}],"align-self":[{"self":["auto","start","end","center","stretch","center-safe","end-safe",{"baseline":["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"p":[{"p":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"px":[{"px":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"py":[{"py":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"ps":[{"ps":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pe":[{"pe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pbs":[{"pbs":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pbe":[{"pbe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pt":[{"pt":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pr":[{"pr":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pb":[{"pb":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pl":[{"pl":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"m":[{"m":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mx":[{"mx":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"my":[{"my":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"ms":[{"ms":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"me":[{"me":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mbs":[{"mbs":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mbe":[{"mbe":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mt":[{"mt":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mr":[{"mr":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mb":[{"mb":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"ml":[{"ml":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"space-x":[{"space-x":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"space-y-reverse":["space-y-reverse"],"size":[{"size":[{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inline-size":[{"inline":["auto",{"$v":"isFraction"},"screen","full","dvw","lvw","svw","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},{"inline":[{"$t":"container"}]}],"min-inline-size":[{"min-inline":["auto",{"$v":"isFraction"},"screen","full","dvw","lvw","svw","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},{"min-inline":[{"$t":"container"}]}],"max-inline-size":[{"max-inline":["none",{"$v":"isFraction"},"screen","full","dvw","lvw","svw","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},{"max-inline":[{"$t":"container"}]}],"block-size":[{"block":["auto",{"$v":"isFraction"},"screen","full","lh","dvh","lvh","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"min-block-size":[{"min-block":["auto",{"$v":"isFraction"},"screen","full","lh","dvh","lvh","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"max-block-size":[{"max-block":["none",{"$v":"isFraction"},"screen","full","lh","dvh","lvh","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"w":[{"w":[{"$t":"container"},"screen",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"min-w":[{"min-w":[{"$t":"container"},"screen","none",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"max-w":[{"max-w":[{"$t":"container"},"screen","none","prose",{"screen":[{"$t":"breakpoint"}]},{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"h":[{"h":["screen","lh",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"min-h":[{"min-h":["screen","lh","none",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"max-h":[{"max-h":["screen","lh",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},"max-h-none"],"font-size":[{"text":["base",{"$t":"text"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{"font":[{"$t":"font-weight"},{"$v":"isArbitraryVariableWeight"},{"$v":"isArbitraryWeight"}]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",{"$v":"isPercent"},{"$v":"isArbitraryValue"}]}],"font-family":[{"font":[{"$v":"isArbitraryVariableFamilyName"},{"$v":"isArbitraryFamilyName"},{"$t":"font"}]}],"font-features":[{"font-features":[{"$v":"isArbitraryValue"}]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],"tracking":[{"tracking":[{"$t":"tracking"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"line-clamp":[{"line-clamp":[{"$v":"isNumber"},"none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryNumber"}]}],"leading":[{"leading":[{"$t":"leading"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"list-image":[{"list-image":["none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"list-style-position":[{"list":["inside","outside"]}],"list-style-type":[{"list":["disc","decimal","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-alignment":[{"text":["left","center","right","justify","start","end"]}],"placeholder-color":[{"placeholder":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-color":[{"text":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{"decoration":["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{"decoration":[{"$v":"isNumber"},"from-font","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryLength"}]}],"text-decoration-color":[{"decoration":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"underline-offset":[{"underline-offset":[{"$v":"isNumber"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{"text":["wrap","nowrap","balance","pretty"]}],"indent":[{"indent":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"tab-size":[{"tab":[{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"vertical-align":[{"align":["baseline","top","middle","bottom","text-top","text-bottom","sub","super",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"whitespace":[{"whitespace":["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],"break":[{"break":["normal","words","all","keep"]}],"wrap":[{"wrap":["break-word","anywhere","normal"]}],"hyphens":[{"hyphens":["none","manual","auto"]}],"content":[{"content":["none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"bg-attachment":[{"bg":["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{"bg":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"},{"position":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"bg-repeat":[{"bg":["no-repeat",{"repeat":["","x","y","space","round"]}]}],"bg-size":[{"bg":["auto","cover","contain",{"$v":"isArbitraryVariableSize"},{"$v":"isArbitrarySize"},{"size":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"bg-image":[{"bg":["none",{"linear":[{"to":["t","tr","r","br","b","bl","l","tl"]},{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}],"radial":["",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}],"conic":[{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"$v":"isArbitraryVariableImage"},{"$v":"isArbitraryImage"}]},{"bg-gradient-to":["t","tr","r","br","b","bl","l","tl"]},"bg-conic"],"bg-color":[{"bg":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"gradient-from-pos":[{"from":[{"$v":"isPercent"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"gradient-via-pos":[{"via":[{"$v":"isPercent"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"gradient-to-pos":[{"to":[{"$v":"isPercent"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"gradient-from":[{"from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"gradient-via":[{"via":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"gradient-to":[{"to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded":[{"rounded":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-s":[{"rounded-s":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-e":[{"rounded-e":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-t":[{"rounded-t":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-r":[{"rounded-r":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-b":[{"rounded-b":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-l":[{"rounded-l":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-ss":[{"rounded-ss":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-se":[{"rounded-se":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-ee":[{"rounded-ee":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-es":[{"rounded-es":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-tl":[{"rounded-tl":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-tr":[{"rounded-tr":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-br":[{"rounded-br":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-bl":[{"rounded-bl":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-w":[{"border":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-x":[{"border-x":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-y":[{"border-y":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-s":[{"border-s":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-e":[{"border-e":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-bs":[{"border-bs":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-be":[{"border-be":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-t":[{"border-t":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-r":[{"border-r":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-b":[{"border-b":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-l":[{"border-l":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"divide-x":[{"divide-x":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{"border":["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{"divide":["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{"border":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-x":[{"border-x":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-y":[{"border-y":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-s":[{"border-s":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-e":[{"border-e":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-bs":[{"border-bs":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-be":[{"border-be":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-t":[{"border-t":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-r":[{"border-r":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-b":[{"border-b":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-l":[{"border-l":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"divide-color":[{"divide":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"outline-style":[{"outline":["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"outline-w":[{"outline":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"outline-color":[{"outline":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"shadow":[{"shadow":["","none",{"$t":"shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]},"shadow-inner"],"shadow-color":[{"shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"inset-shadow":[{"inset-shadow":["none",{"$t":"inset-shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]}],"inset-shadow-color":[{"inset-shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"ring-w":[{"ring":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"ring-w-inset":["ring-inset"],"ring-color":[{"ring":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"ring-offset-w":[{"ring-offset":[{"$v":"isNumber"},{"$v":"isArbitraryLength"}]}],"ring-offset-color":[{"ring-offset":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"inset-ring-w":[{"inset-ring":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"inset-ring-color":[{"inset-ring":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-shadow":[{"text-shadow":["none",{"$t":"text-shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]}],"text-shadow-color":[{"text-shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"opacity":[{"opacity":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{"mask":["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[{"$v":"isNumber"}]}],"mask-image-linear-from-pos":[{"mask-linear-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-linear-to-pos":[{"mask-linear-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-linear-from-color":[{"mask-linear-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-linear-to-color":[{"mask-linear-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-t-from-pos":[{"mask-t-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-t-to-pos":[{"mask-t-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-t-from-color":[{"mask-t-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-t-to-color":[{"mask-t-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-r-from-pos":[{"mask-r-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-r-to-pos":[{"mask-r-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-r-from-color":[{"mask-r-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-r-to-color":[{"mask-r-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-b-from-pos":[{"mask-b-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-b-to-pos":[{"mask-b-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-b-from-color":[{"mask-b-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-b-to-color":[{"mask-b-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-l-from-pos":[{"mask-l-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-l-to-pos":[{"mask-l-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-l-from-color":[{"mask-l-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-l-to-color":[{"mask-l-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-x-from-pos":[{"mask-x-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-x-to-pos":[{"mask-x-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-x-from-color":[{"mask-x-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-x-to-color":[{"mask-x-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-y-from-pos":[{"mask-y-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-y-to-pos":[{"mask-y-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-y-from-color":[{"mask-y-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-y-to-color":[{"mask-y-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial":[{"mask-radial":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial-from-pos":[{"mask-radial-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-radial-to-pos":[{"mask-radial-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-radial-from-color":[{"mask-radial-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial-to-color":[{"mask-radial-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{"closest":["side","corner"],"farthest":["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[{"$v":"isNumber"}]}],"mask-image-conic-from-pos":[{"mask-conic-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-conic-to-pos":[{"mask-conic-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-conic-from-color":[{"mask-conic-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-conic-to-color":[{"mask-conic-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-mode":[{"mask":["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{"mask":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"},{"position":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"mask-repeat":[{"mask":["no-repeat",{"repeat":["","x","y","space","round"]}]}],"mask-size":[{"mask":["auto","cover","contain",{"$v":"isArbitraryVariableSize"},{"$v":"isArbitrarySize"},{"size":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{"mask":["none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"filter":[{"filter":["","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"blur":[{"blur":["","none",{"$t":"blur"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"brightness":[{"brightness":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"contrast":[{"contrast":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"drop-shadow":[{"drop-shadow":["","none",{"$t":"drop-shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]}],"drop-shadow-color":[{"drop-shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grayscale":[{"grayscale":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"hue-rotate":[{"hue-rotate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"invert":[{"invert":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"saturate":[{"saturate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"sepia":[{"sepia":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-filter":[{"backdrop-filter":["","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-blur":[{"backdrop-blur":["","none",{"$t":"blur"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-brightness":[{"backdrop-brightness":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-contrast":[{"backdrop-contrast":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-grayscale":[{"backdrop-grayscale":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-invert":[{"backdrop-invert":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-opacity":[{"backdrop-opacity":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-saturate":[{"backdrop-saturate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-sepia":[{"backdrop-sepia":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-collapse":[{"border":["collapse","separate"]}],"border-spacing":[{"border-spacing":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"border-spacing-x":[{"border-spacing-x":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"border-spacing-y":[{"border-spacing-y":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"table-layout":[{"table":["auto","fixed"]}],"caption":[{"caption":["top","bottom"]}],"transition":[{"transition":["","all","colors","opacity","shadow","transform","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"transition-behavior":[{"transition":["normal","discrete"]}],"duration":[{"duration":[{"$v":"isNumber"},"initial",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"ease":[{"ease":["linear","initial",{"$t":"ease"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"delay":[{"delay":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"animate":[{"animate":["none",{"$t":"animate"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backface":[{"backface":["hidden","visible"]}],"perspective":[{"perspective":[{"$t":"perspective"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"perspective-origin":[{"perspective-origin":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate":[{"rotate":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate-x":[{"rotate-x":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate-y":[{"rotate-y":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate-z":[{"rotate-z":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale":[{"scale":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-x":[{"scale-x":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-y":[{"scale-y":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-z":[{"scale-z":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-3d":["scale-3d"],"skew":[{"skew":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"skew-x":[{"skew-x":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"skew-y":[{"skew-y":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"transform":[{"transform":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},"","none","gpu","cpu"]}],"transform-origin":[{"origin":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"transform-style":[{"transform":["3d","flat"]}],"translate":[{"translate":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-x":[{"translate-x":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-y":[{"translate-y":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-z":[{"translate-z":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-none":["translate-none"],"zoom":[{"zoom":[{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"accent":[{"accent":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"appearance":[{"appearance":["none","auto"]}],"caret-color":[{"caret":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"color-scheme":[{"scheme":["normal","dark","light","light-dark","only-dark","only-light"]}],"cursor":[{"cursor":["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],"resize":[{"resize":["none","","y","x"]}],"scroll-behavior":[{"scroll":["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scrollbar-track-color":[{"scrollbar-track":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{"scrollbar":["auto","thin","none"]}],"scroll-m":[{"scroll-m":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mx":[{"scroll-mx":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-my":[{"scroll-my":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-ms":[{"scroll-ms":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-me":[{"scroll-me":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mbs":[{"scroll-mbs":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mbe":[{"scroll-mbe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mt":[{"scroll-mt":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mr":[{"scroll-mr":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mb":[{"scroll-mb":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-ml":[{"scroll-ml":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-p":[{"scroll-p":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-px":[{"scroll-px":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-py":[{"scroll-py":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-ps":[{"scroll-ps":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pe":[{"scroll-pe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pbs":[{"scroll-pbs":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pbe":[{"scroll-pbe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pt":[{"scroll-pt":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pr":[{"scroll-pr":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pb":[{"scroll-pb":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pl":[{"scroll-pl":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"snap-align":[{"snap":["start","end","center","align-none"]}],"snap-stop":[{"snap":["normal","always"]}],"snap-type":[{"snap":["none","x","y","both"]}],"snap-strictness":[{"snap":["mandatory","proximity"]}],"touch":[{"touch":["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],"select":[{"select":["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"fill":[{"fill":["none",{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"stroke-w":[{"stroke":[{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"},{"$v":"isArbitraryNumber"}]}],"stroke":[{"stroke":["none",{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}],"contain":[{"contain":["none","content","strict",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"contain-size":[{"contain":["size","inline-size"]}],"contain-layout":["contain-layout"],"contain-paint":["contain-paint"],"contain-style":["contain-style"]},"conflictingClassGroups":{"container-named":["container-type"],"overflow":["overflow-x","overflow-y"],"overscroll":["overscroll-x","overscroll-y"],"inset":["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],"flex":["basis","grow","shrink"],"gap":["gap-x","gap-y"],"p":["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],"px":["pr","pl"],"py":["pt","pb"],"m":["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],"mx":["mr","ml"],"my":["mt","mb"],"size":["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],"rounded":["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"translate":["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],"touch":["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"],"contain":["contain-size","contain-layout","contain-paint","contain-style"],"contain-size":["contain"],"contain-layout":["contain"],"contain-paint":["contain"],"contain-style":["contain"]},"conflictingClassGroupModifiers":{"font-size":["leading"]},"orderSensitiveModifiers":["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"],"postfixLookupClassGroups":["container-type"]}`,Ed=()=>JSON.parse(Qee),$ee=e=>`classGroups`in e&&`theme`in e&&`conflictingClassGroups`in e,ete=e=>e===void 0?{config:Ed()}:typeof e==`function`?{config:e(Ed())}:$ee(e)?{config:e}:{config:Vee(Ed(),e),cacheSize:e.cacheSize},tte=e=>{let{config:t,cacheSize:n}=ete(e),{tables:r,validatorImpls:i,prefix:a}=qee(t);return wd(r,i,{cacheSize:n,prefix:a})},Dd=(e=>{let t=null,n=()=>t??=tte(e);return Zee(e=>n().mergeString(e),{seenBefore:e=>n().seenBefore(e),mergeUncached:e=>n().mergeUncached(e)})})({extend:{theme:{spacing:[...aee]}}});function Od(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function nte(...e){return t=>{let n=!1,r=e.map(e=>{let r=Od(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Od(e[t],null)}}}}function rte(...e){return I.useCallback(nte(...e),e)}function ite(e){let t=I.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];Ad(r)&&typeof jd==`function`&&(r=jd(r._payload)),I.Children.forEach(r,e=>{if(lte(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;Ad(n)&&typeof jd==`function`&&(n=jd(n._payload)),a=ote(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=I.cloneElement(a,void 0,s):!o&&I.Children.count(r)===1&&I.isValidElement(r)&&(a=r);let c=a?cte(a):void 0,l=rte(n,c);if(!a){if(r||r===0)throw Error(o?pte(e):fte(e));return r}let u=ste(i,a.props??{});return a.type!==I.Fragment&&(u.ref=n?l:c),I.cloneElement(a,u)});return t.displayName=`${e}.Slot`,t}var kd=ite(`Slot`),ate=Symbol.for(`radix.slottable`),ote=(e,t)=>{if(`child`in e.props){let t=e.props.child;return I.isValidElement(t)?I.cloneElement(t,void 0,e.props.children(t.props.children)):null}return I.isValidElement(t)?t:null};function ste(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function cte(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function lte(e){return I.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===ate}var ute=Symbol.for(`react.lazy`);function Ad(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===ute&&`_payload`in e&&dte(e._payload)}function dte(e){return typeof e==`object`&&!!e&&`then`in e}var fte=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,pte=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,jd=I.use,Md=(0,I.forwardRef)(function({asChild:e=!1,className:t,...n},r){let i=Dd(`absolute h-px w-px overflow-hidden whitespace-nowrap border-0 p-0 [clip:rect(0,0,0,0)]`,t);return e?(0,F.jsx)(kd,{...n,className:i,ref:r}):(0,F.jsx)(`span`,{...n,className:i,ref:r})}),Nd=Object.freeze({reduced:!1,squish:90,fast:120,normal:180,slow:280,springDuration:320,bounce:.3,stretch:.28,distance:4,stagger:24,blur:0,shake:3,steps:0,fuse:1,pressDepth:.5,pressScale:1,ease:`cubic-bezier(0.2, 0, 0, 1)`,easeExit:`cubic-bezier(0.4, 0, 1, 1)`}),Pd=`(prefers-reduced-motion: reduce)`;function Fd(e){let t=e.ownerDocument.defaultView;if(!t)return Nd;let n=t.getComputedStyle(e),r=(e,t)=>{let r=n.getPropertyValue(e).trim(),i=Number.parseFloat(r);return Number.isFinite(i)?Math.max(0,i):t},i=(e,t)=>{let i=n.getPropertyValue(e).trim();return r(e,t)*(i.endsWith(`s`)&&!i.endsWith(`ms`)?1e3:1)},a=t.matchMedia?.(Pd).matches??!1,o=(e,t)=>a?120:i(`--stipe-motion-${e}`,t),s=(e,t)=>a?0:r(`--stipe-motion-${e}`,t);return{reduced:a,squish:o(`squish`,Nd.squish),fast:o(`fast`,Nd.fast),normal:o(`normal`,Nd.normal),slow:o(`slow`,Nd.slow),springDuration:o(`spring-duration`,Nd.springDuration),bounce:Math.min(1,s(`bounce`,Nd.bounce)),stretch:s(`stretch`,Nd.stretch),distance:s(`distance`,Nd.distance),stagger:a?0:i(`--stipe-motion-stagger`,Nd.stagger),blur:s(`blur`,Nd.blur),shake:s(`shake`,Nd.shake),steps:Math.floor(s(`steps`,Nd.steps)),fuse:r(`--stipe-motion-fuse`,Nd.fuse),pressDepth:a?0:r(`--stipe-press-depth`,Nd.pressDepth),pressScale:a?1:r(`--stipe-press-scale`,Nd.pressScale),ease:n.getPropertyValue(`--stipe-motion-ease`).trim()||Nd.ease,easeExit:n.getPropertyValue(`--stipe-motion-ease-exit`).trim()||Nd.easeExit}}function Id(e,t){let n=e.createElement(`div`);n.setAttribute(`style`,t??``);let r=new Map;for(let e of n.style)(e.startsWith(`--stipe-motion-`)||e.startsWith(`--stipe-press-`))&&r.set(e,n.style.getPropertyValue(e).trim());return r}function mte(e){let t=e.target;if(e.attributeName!==`style`||!(t instanceof Element))return!0;let n=t.ownerDocument,r=Id(n,e.oldValue),i=Id(n,t.getAttribute(`style`));return r.size!==i.size||[...i].some(([e,t])=>r.get(e)!==t)}function Ld(e){let[t,n]=(0,I.useState)(()=>({...Nd,reduced:!0}));return(0,I.useLayoutEffect)(()=>{let t=e.current,r=t?.ownerDocument.defaultView;if(!t||!r)return;let i=()=>{let e=Fd(t);n(t=>JSON.stringify(t)===JSON.stringify(e)?t:e)};i();let a=new r.MutationObserver(e=>{e.some(mte)&&i()});for(let e=t;e;e=e.parentElement)a.observe(e,{attributes:!0,attributeFilter:[`data-theme`,`class`,`style`],attributeOldValue:!0});let o=r.matchMedia?.(Pd);return o?.addEventListener(`change`,i),()=>{a.disconnect(),o?.removeEventListener(`change`,i)}},[e]),t}function Rd(e,t){return e.reduced?0:Math.round(t*e.normal/Nd.normal)}function hte(e,t){if(e.reduced)return 0;let n=t*e.bounce/Nd.bounce;return Math.min(.9,Math.max(0,n))}function gte(e,t){return e.reduced?0:Math.round(t*e.springDuration/Nd.springDuration)}function zd(e,t){return e.steps>0?`steps(${String(e.steps)}, end)`:t}function Bd(e){return`animate`in e}var Vd=globalThis;function _te(){return Vd.matchMedia?.(Pd).matches??!1}function vte(e){let t=Vd.matchMedia?.(Pd);return t?.addEventListener(`change`,e),()=>{t?.removeEventListener(`change`,e)}}function yte(){return!0}function Hd(){return(0,I.useSyncExternalStore)(vte,_te,yte)}var Ud=typeof window<`u`,Wd=Ud?window:null,Gd=Ud?document:null,Kd={OBJECT:0,ATTRIBUTE:1,CSS:2,TRANSFORM:3,CSS_VAR:4},qd={NUMBER:0,UNIT:1,COLOR:2,COMPLEX:3},Jd={NONE:0,AUTO:1,FORCE:2},Yd={replace:0,none:1,blend:2},Xd=Symbol(),Zd=Symbol(),Qd=Symbol(),$d=Symbol(),bte=Symbol(),ef=1e-11,tf=0xe8d4a51000,nf=1e3,rf=[],af=(()=>{let e=new Map;return e.set(`x`,`translateX`),e.set(`y`,`translateY`),e.set(`z`,`translateZ`),e})(),of=[`perspective`,`translateX`,`translateY`,`translateZ`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`scale`,`scaleX`,`scaleY`,`scaleZ`,`skew`,`skewX`,`skewY`],xte=of.reduce((e,t)=>({...e,[t]:t+`(`}),{}),sf=()=>{},Ste=e=>e,Cte=/\)\s*[-.\d]/,wte=/(^#([\da-f]{3}){1,2}$)|(^#([\da-f]{4}){1,2}$)/i,Tte=/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i,Ete=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,Dte=/hsl\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*\)/i,Ote=/hsla\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,cf=/[-+]?\d*\.?\d+(?:e[-+]?\d)?/gi,kte=/^([-+]?\d*\.?\d+(?:e[-+]?\d+)?)([a-z]+|%)$/i,Ate=/([a-z])([A-Z])/g,jte=/var\(\s*(--[\w-]+)(?:\s*,\s*([^)]+))?\s*\)/,lf={id:null,keyframes:null,playbackEase:null,playbackRate:1,frameRate:240,loop:0,reversed:!1,alternate:!1,autoplay:!0,persist:!1,duration:nf,delay:0,loopDelay:0,ease:`out(2)`,composition:Yd.replace,modifier:Ste,onBegin:sf,onBeforeUpdate:sf,onUpdate:sf,onLoop:sf,onPause:sf,onComplete:sf,onRender:sf},uf={current:null,root:Gd},df={defaults:lf,precision:4,timeScale:1,tickThreshold:200,editor:null},ff={version:`4.5.0`,engine:null};Ud&&(Wd.AnimeJS||=[],Wd.AnimeJS.push(ff));var pf=e=>e.replace(Ate,`$1-$2`).toLowerCase(),mf=(e,t)=>e.indexOf(t)===0,hf=Date.now,gf=Array.isArray,_f=e=>e&&e.constructor===Object,vf=e=>typeof e==`number`&&!isNaN(e),yf=e=>typeof e==`string`,bf=e=>typeof e==`function`,xf=e=>e===void 0,Sf=e=>xf(e)||e===null,Cf=e=>Ud&&e instanceof SVGElement,wf=e=>wte.test(e),Tf=e=>mf(e,`rgb`),Ef=e=>mf(e,`hsl`),Df=e=>wf(e)||(Tf(e)||Ef(e))&&(e[e.length-1]===`)`||!Cte.test(e)),Of=e=>!df.defaults.hasOwnProperty(e),kf=[`opacity`,`rotate`,`overflow`,`color`],Af=(e,t)=>{if(kf.includes(t))return!1;if(e.getAttribute(t)||t in e){if(t===`scale`){let t=e.parentNode;return t&&t.tagName===`filter`}return!0}},jf=Math.pow,Mf=Math.sqrt,Nf=Math.sin,Pf=Math.cos,Ff=Math.abs,If=Math.exp,Lf=Math.ceil,Rf=Math.floor,Mte=Math.asin,zf=Math.PI,Bf=Math.round,Vf=(e,t,n)=>e<t?t:e>n?n:e,Hf=(e,t)=>{if(t<0)return e;if(!t)return Bf(e);let n=10**t;return Bf(e*n)/n},Uf=(e,t,n)=>n===1?t:n===0?e:e+(t-e)*n,Wf=e=>e===1/0?tf:e===-1/0?-tf:e,Gf=e=>e<=1e-11?ef:Wf(Hf(e,11)),Kf=e=>gf(e)?[...e]:e,Nte=(e,t)=>{let n={...e};for(let r in t){let i=e[r];n[r]=xf(i)?t[r]:i}return n},qf=(e,t,n,r=`_prev`,i=`_next`)=>{let a=e._head,o=i;for(n&&(a=e._tail,o=r);a;){let e=a[o];t(a),a=e}},Jf=(e,t,n=`_prev`,r=`_next`)=>{let i=t[n],a=t[r];i?i[r]=a:e._head=a,a?a[n]=i:e._tail=i,t[n]=null,t[r]=null},Yf=(e,t,n,r=`_prev`,i=`_next`)=>{let a=e._tail;for(;a&&n&&n(a,t);)a=a[r];let o=a?a[i]:e._head;a?a[i]=t:e._head=t,o?o[r]=t:e._tail=t,t[r]=a,t[i]=o},Pte=(e,t,n)=>{let r=e.style.transform;if(r){let i=e[$d],a=0,o=r.length,s;for(;a<o;){for(;a<o&&r.charCodeAt(a)===32;)a++;if(a>=o)break;let e=a;for(;a<o&&r.charCodeAt(a)!==40;)a++;if(a>=o)break;let t=r.substring(e,a),n=1,c=a+1,l=-1,u=-1;for(a++;a<o&&n>0;){let e=r.charCodeAt(a);e===40?n++:e===41?n--:e===44&&n===1&&(l===-1?l=a:u===-1&&(u=a)),a++}let d=a-1;t===`translate`||t===`translate3d`?(l===-1?i.translateX=r.substring(c,d).trim():(i.translateX=r.substring(c,l).trim(),u===-1?i.translateY=r.substring(l+1,d).trim():(i.translateY=r.substring(l+1,u).trim(),i.translateZ=r.substring(u+1,d).trim())),s=r.substring(c,d)):t===`scale`||t===`scale3d`?l===-1?i.scale=r.substring(c,d).trim():(i.scaleX=r.substring(c,l).trim(),u===-1?i.scaleY=r.substring(l+1,d).trim():(i.scaleY=r.substring(l+1,u).trim(),i.scaleZ=r.substring(u+1,d).trim())):i[t]=r.substring(c,d)}if(t===`translate3d`&&s)return n&&(n[t]=s),s;let c=i[t];if(!xf(c))return n&&(n[t]=c),c}return t===`translate3d`?`0px, 0px, 0px`:t===`rotate3d`?`0, 0, 0, 0deg`:mf(t,`scale`)?`1`:mf(t,`rotate`)||mf(t,`skew`)?`0deg`:`0px`},Xf=e=>{let t=``;for(let n=0,r=of.length;n<r;n++){let r=of[n],i=e[r];if(i!==void 0){if(r===`translateX`){let r=e.translateY;if(r!==void 0){let a=e.translateZ;a===void 0?(t+=`translate(${i},${r}) `,n+=1):(t+=`translate3d(${i},${r},${a}) `,n+=2);continue}}if(r===`scaleX`&&e.scale===void 0){let r=e.scaleY;if(r!==void 0){let a=e.scaleZ;a===void 0?(t+=`scale(${i},${r}) `,n+=1):(t+=`scale3d(${i},${r},${a}) `,n+=2);continue}}t+=`${xte[r]}${i}) `}r===`rotateZ`&&e.rotate3d!==void 0&&(t+=`rotate3d(${e.rotate3d}) `)}return e.matrix!==void 0&&(t+=`matrix(${e.matrix}) `),e.matrix3d!==void 0&&(t+=`matrix3d(${e.matrix3d}) `),t},Zf=[];function Qf(e,t){if(!e)return null;let n=Zf.length;outer:for(let r=0;r<n;r++){let n=Zf[r];if(n.detect&&!n.detect(e))continue;let i=n.targetAdapters;for(let n=0,r=i.length;n<r;n++){let r=i[n];if(r.detect(e)){let n=r.props[t];if(n&&(!n.gate||n.gate(e)))return n;break outer}}}for(let r=0;r<n;r++){let n=Zf[r];if(n.detect&&!n.detect(e))continue;let i=n.propertyResolvers;for(let n=0,r=i.length;n<r;n++){let r=i[n](e,t);if(r)return r}}return null}var Fte=e=>{let t=Tte.exec(e)||Ete.exec(e),n=xf(t[4])?1:+t[4];return[+t[1],+t[2],+t[3],n]},Ite=e=>{let t=e.length,n=t===4||t===5;return[+(`0x`+e[1]+e[n?1:2]),+(`0x`+e[n?2:3]+e[n?2:4]),+(`0x`+e[n?3:5]+e[n?3:6]),t===5||t===9?+((`0x`+e[n?4:7]+e[n?4:8])/255).toFixed(3):1]},$f=(e,t,n)=>(n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e),Lte=e=>{let t=Dte.exec(e)||Ote.exec(e),n=t[1]/360,r=t[2]/100,i=t[3]/100,a=xf(t[4])?1:+t[4],o,s,c;if(r===0)o=s=c=i;else{let e=i<.5?i*(1+r):i+r-i*r,t=2*i-e;o=Hf($f(t,e,n+1/3)*255,0),s=Hf($f(t,e,n)*255,0),c=Hf($f(t,e,n-1/3)*255,0)}return[o,s,c,a]},Rte=e=>Tf(e)?Fte(e):wf(e)?Ite(e):Ef(e)?Lte(e):[0,0,0,1],ep=(e,t)=>xf(e)?t:e,tp=(e,t)=>{let n=e.match(jte),r=t[Zd]?t:document.documentElement,i=getComputedStyle(r)?.getPropertyValue(n[1]);return(!i||i.trim()===``)&&n[2]&&(i=n[2].trim()),i||0},np=(e,t,n,r,i,a)=>{if(bf(e)){if(!i){let i=e(t,n,r,a);return isNaN(+i)?i||0:+i}let o=()=>{let i=e(t,n,r,a);return isNaN(+i)?i||0:+i};return i.func=o,o()}if(yf(e)&&mf(e,`var(`)){if(!i)return tp(e,t);let n=()=>tp(e,t);return i.func=n,n()}return e},rp=(e,t)=>e[Zd]?e[Qd]&&Af(e,t)?Kd.ATTRIBUTE:of.includes(t)||af.get(t)?Kd.TRANSFORM:mf(t,`--`)?Kd.CSS_VAR:t in e.style?Kd.CSS:t in e?Kd.OBJECT:Kd.ATTRIBUTE:Kd.OBJECT,ip=(e,t,n)=>{let r=e.style[t];r&&n&&(n[t]=r);let i=r||getComputedStyle(e[bte]||e).getPropertyValue(t);return i===`auto`?`0`:i},ap=(e,t,n,r)=>{let i=xf(n)?rp(e,t):n,a=Qf(e,t);if(a){let n=a.get(e);return n&&r&&(r[t]=n),n??0}if(i===Kd.OBJECT){let n=e[t];return n&&r&&(r[t]=n),n||0}if(i===Kd.ATTRIBUTE){let n=e.getAttribute(t);return n&&r&&(r[t]=n),n}return i===Kd.TRANSFORM?Pte(e,t,r):i===Kd.CSS_VAR?ip(e,t,r).trimStart():ip(e,t,r)},op=(e,t,n)=>n===`-`?e-t:n===`+`?e+t:e*t,sp=()=>({t:qd.NUMBER,n:0,u:null,o:null,d:null,s:null}),cp=(e,t)=>{if(t.t=qd.NUMBER,t.n=0,t.u=null,t.o=null,t.d=null,t.s=null,!e)return t;let n=+e;if(!isNaN(n))return t.n=n,t;let r=e;r[1]===`=`&&(t.o=r[0],r=r.slice(2));let i=!r.includes(` `)&&kte.exec(r);if(i)return t.t=qd.UNIT,t.n=+i[1],t.u=i[2],t;if(t.o)return t.n=+r,t;if(Df(r))return t.t=qd.COLOR,t.d=Rte(r),t;{let e=r.match(cf);return t.t=qd.COMPLEX,t.d=e?e.map(Number):[],t.s=r.split(cf)||[],t}},lp=(e,t)=>(t.t=e._valueType,t.n=e._toNumber,t.u=e._unit,t.o=null,t.d=Kf(e._toNumbers),t.s=Kf(e._strings),t),up=sp(),dp=(e,t,n)=>{let r=e._modifier,i=e._fromNumbers,a=e._toNumbers,o=e._strings,s=o[0];for(let c=0,l=a.length;c<l;c++){let l=r(Hf(Uf(i[c],a[c],t),n)),u=o[c+1];s+=`${u?l+u:l}`,e._numbers[c]=l}return s},fp=(e,t,n,r,i)=>{let a=e.parent,o=e.duration,s=e.completed,c=e.iterationDuration,l=e.iterationCount,u=e._currentIteration,d=e._loopDelay,f=e._reversed,p=e._alternate,m=e._hasChildren,h=e._delay,g=e._currentTime,_=h+c,v=t-h,y=Vf(g,-h,o),b=Vf(v,-h,o),x=v-g,S=b>0,C=b>=o,w=o<=ef,T=i===Jd.FORCE,E=0,D=v,O=0;if(l>1){let t=c+(C?0:d),n=~~(b/t);e._currentIteration=Vf(n,0,l),C&&e._currentIteration--,E=e._currentIteration%2,D=b-n*t||0}let k=f^(p&&E),A=e._ease,j=C?k?0:o:k?c-D:D;A&&(j=c*A(j/c)||0);let M=(a?a.backwards:v<g)?!k:!!k;if(e._currentTime=v,e._iterationTime=j,e.backwards=M,S&&!e.began?(e.began=!0,!n&&!(a&&(M||!a.began))&&e.onBegin(e)):v<=0&&(e.began=!1),!n&&!m&&S&&e._currentIteration!==u&&e.onLoop(e),T||i===Jd.AUTO&&(t>=(a&&h>0?0:h)&&t<=_||t<=h&&y>h||t>=_&&y!==o)||j>=_&&y!==o||j<=h&&y>0&&!C||t<=y&&y===o&&s||C&&!s&&w){if(S&&(e.computeDeltaTime(y),n||e.onBeforeUpdate(e)),!m){let t=T||(M?x*-1:x)>=df.tickThreshold,i=Hf(e._offset+(a?a._offset:0)+h+j,12),o=e._head,s,c,l,u,d=0;for(;o;){let e=o._composition,n=o._currentTime,a=o._changeDuration,f=o._absoluteStartTime+o._changeDuration,p=o._nextRep,m=o._prevRep,h=e!==Yd.none,g=m?m._absoluteStartTime+m._changeDuration:0,_=m&&m.parent!==o.parent,v=!p||p._isOverridden?f:p.parent===o.parent?f+p._delay:p._absoluteStartTime<p._absoluteUpdateStartTime?p._absoluteStartTime:p._absoluteUpdateStartTime;if((t||(n!==a||i<=v||m&&!_&&(!p||p.parent!==o.parent))&&(n!==0||i>=o._absoluteStartTime||_&&!o._hasFromValue&&!m._isOverridden&&i>=g||p&&!p._isOverridden&&p.parent===o.parent&&p._currentTime!==0&&j<p._startTime))&&(!m||_||j>=o._startTime)&&(!h||!o._isOverridden&&(!o._isOverlapped||i<=f)&&(!p||p._isOverridden||i<=v)&&(!m||m._isOverridden||(_?i>=o._absoluteStartTime||!o._hasFromValue&&i>=g:i>=g+o._delay)))){let t=o._currentTime=Vf(j-o._startTime,0,a),n=o._ease(t/o._updateDuration),i=o._modifier,f=o._valueType,p=o._tweenType,m=p===Kd.OBJECT,g=f===qd.NUMBER,_=g&&m||n===0||n===1?-1:df.precision,v,y;if(g)v=y=i(Hf(Uf(o._fromNumber,o._toNumber,n),_));else if(f===qd.UNIT)y=i(Hf(Uf(o._fromNumber,o._toNumber,n),_)),v=`${y}${o._unit}`;else if(f===qd.COLOR){let e=o._numbers,t=o._fromNumbers,a=o._toNumbers,s=1-n,c=t[0],l=t[1],u=t[2],d=a[0],f=a[1],p=a[2];e[0]=i(Math.sqrt(c*c*s+d*d*n)),e[1]=i(Math.sqrt(l*l*s+f*f*n)),e[2]=i(Math.sqrt(u*u*s+p*p*n)),e[3]=i(Uf(t[3],a[3],n)),(!o._setter||r)&&(v=`rgba(${Hf(e[0],0)},${Hf(e[1],0)},${Hf(e[2],0)},${e[3]})`)}else f===qd.COMPLEX&&(v=dp(o,n,_));if(h&&(o._number=y),!r&&e!==Yd.blend){let e=o.property;s=o.target,o._setter?o._setter(s,y,o):m?s[e]=v:p===Kd.ATTRIBUTE?s.setAttribute(e,v):(c=s.style,p===Kd.TRANSFORM?(s!==l&&(l=s,u=s[$d]),u[e]=v,d=1):p===Kd.CSS?c[e]=v:p===Kd.CSS_VAR&&c.setProperty(e,v)),S&&(O=1)}else o._value=v}else n&&m&&!_&&j<o._startTime&&(o._currentTime=0);d&&o._renderTransforms&&(c.transform=Xf(u),d=0),o=o._next}!n&&O&&e.onRender(e)}!n&&S&&e.onUpdate(e)}return a&&w?!n&&(a.began&&!M&&v>0&&!s||M&&v<=1e-11&&s)&&(e.onComplete(e),e.completed=!M):S&&C?l===1/0?e._startTime+=e.duration:e._currentIteration>=l-1&&(e.paused=!0,!s&&!m&&(e.completed=!0,!n&&!(a&&(M||!a.began))&&(e.onComplete(e),e._resolve(e)))):e.completed=!1,O},pp=(e,t,n,r,i)=>{let a=e._currentIteration;if(fp(e,t,n,r,i),e._hasChildren){let o=e,s=o.backwards,c=r?t:o._iterationTime,l=hf(),u=0,d=!0;if(!r&&o._currentIteration!==a){let e=o.iterationDuration;qf(o,t=>{if(!s)!t.completed&&!t.backwards&&t._currentTime<t.iterationDuration&&fp(t,e,n,1,Jd.FORCE),t.began=!1,t.completed=!1;else{let r=t.duration,i=t._offset+t._delay,a=i+r;!n&&r<=1e-11&&(!i||a===e)&&t.onComplete(t)}}),n||o.onLoop(o)}qf(o,e=>{let t=Hf((c-e._offset)*e._speed,12);if(s&&t>e._delay+e.duration)return;let a=e._fps<o._fps?e.requestTick(l):i;u+=fp(e,t,n,r,a),!e.completed&&d&&(d=!1)},s),!n&&u&&o.onRender(o),(d||s)&&o._currentTime>=o.duration&&(o.paused=!0,o.completed||(o.completed=!0,n||(o.onComplete(o),o._resolve(o))))}},mp={},zte=(e,t,n)=>{if(n===Kd.TRANSFORM)return af.get(e)||e;if(n===Kd.CSS||n===Kd.ATTRIBUTE&&Cf(t)&&e in t.style){let t=mp[e];if(t)return t;{let t=e&&pf(e);return mp[e]=t,t}}return e},hp=(e,t=!1)=>{if(e._hasChildren)qf(e,e=>hp(e,t),!0);else{let n=e;n.pause(),qf(n,e=>{let r=e.property,i=e.target,a=e._tweenType,o=e._inlineValue,s=Sf(o)||o===``;if(e._setter){if(!t&&!s){if(cp(o,up),up.d){let t=up.d,n=e._numbers;for(let e=0,r=t.length;e<r;e++)n[e]=t[e]}else e._number=up.n;e._setter(e.target,e._number,e)}}else if(a===Kd.OBJECT)!t&&!s&&(i[r]=o);else if(i[Zd]){if(a===Kd.ATTRIBUTE)t||(s?i.removeAttribute(r):i.setAttribute(r,o));else{let t=i.style;if(a===Kd.TRANSFORM){let n=i[$d];s?delete n[r]:n[r]=o,e._renderTransforms&&(Object.keys(n).length?t.transform=Xf(n):t.removeProperty(`transform`))}else s?t.removeProperty(pf(r)):t[r]=o}}i[Zd]&&n._tail===e&&n.targets.forEach(e=>{e.getAttribute&&e.getAttribute(`style`)===``&&e.removeAttribute(`style`)})})}return e},gp=class{constructor(e=0){this.deltaTime=0,this._currentTime=e,this._lastTickTime=e,this._startTime=e,this._lastTime=e,this._frameDuration=nf/240,this._fps=240,this._speed=1,this._hasChildren=!1,this._head=null,this._tail=null}get fps(){return this._fps}set fps(e){let t=+e,n=t<1e-11?ef:t,r=nf/n;n>lf.frameRate&&(lf.frameRate=n),this._fps=n,this._frameDuration=r}get speed(){return this._speed}set speed(e){let t=+e;this._speed=t<1e-11?ef:t}requestTick(e){let t=this._frameDuration,n=e-this._lastTickTime,r=t*.25;return n+(r<4?r:4)<t?Jd.NONE:(this._lastTickTime=n>=t?e-n%t:e,Jd.AUTO)}computeDeltaTime(e){let t=e-this._lastTime;return this.deltaTime=t,this._lastTime=e,t}},_p={animation:null,update:sf},Bte=e=>{let t=_p.animation;return t||(t={duration:ef,computeDeltaTime:sf,_offset:0,_delay:0,_head:null,_tail:null},_p.animation=t,_p.update=()=>{e.forEach(e=>{for(let t in e){let n=e[t],r=n._head;if(r){let e=r._valueType,t=e===qd.COMPLEX||e===qd.COLOR?Kf(r._fromNumbers):null,i=r._fromNumber,a=n._tail;for(;a&&a!==r;){if(t)for(let e=0,n=a._numbers.length;e<n;e++)t[e]+=a._numbers[e];else i+=a._number;a=a._prevAdd}r._toNumber=i,r._toNumbers=t}}}),fp(t,1,1,0,Jd.FORCE)}),t},vp=Ud?requestAnimationFrame:setImmediate,Vte=Ud?cancelAnimationFrame:clearImmediate,Hte=class extends gp{constructor(e){super(e),this.useDefaultMainLoop=!0,this.pauseOnDocumentHidden=!0,this.defaults=lf,this.paused=!0,this.reqId=0}update(){let e=this._currentTime=hf();if(this.requestTick(e)){this.computeDeltaTime(e);let t=this._speed,n=this._fps,r=this._head;for(;r;){let i=r._next;r.paused?(Jf(this,r),this._hasChildren=!!this._tail,r._running=!1,r.completed&&!r._cancelled&&r.cancel()):pp(r,(e-r._startTime)*r._speed*t,0,0,r._fps<n?r.requestTick(e):Jd.AUTO),r=i}_p.update()}}wake(){return this.useDefaultMainLoop&&!this.reqId&&(this.requestTick(hf()),this.reqId=vp(bp)),this}pause(){if(this.reqId)return this.paused=!0,Ute()}resume(){if(this.paused)return this.paused=!1,qf(this,e=>e.resetTime()),this.wake()}get speed(){return this._speed*(df.timeScale===1?1:nf)}set speed(e){let t=e*df.timeScale;this._speed!==t&&(this._speed=t,qf(this,e=>e.speed=e._speed))}get timeUnit(){return df.timeScale===1?`ms`:`s`}set timeUnit(e){let t=.001,n=e===`s`,r=n?t:1;if(df.timeScale!==r){df.timeScale=r,df.tickThreshold=200*r;let e=n?t:nf;this.defaults.duration*=e,this._speed*=e}}get precision(){return df.precision}set precision(e){df.precision=e}},yp=(()=>{let e=new Hte(hf());return Ud&&(ff.engine=e,Gd.addEventListener(`visibilitychange`,()=>{e.pauseOnDocumentHidden&&(Gd.hidden?e.pause():e.resume())})),e})(),bp=()=>{yp._head?(yp.reqId=vp(bp),yp.update()):yp.reqId=0},Ute=()=>(Vte(yp.reqId),yp.reqId=0,yp),xp={_rep:new WeakMap,_add:new Map},Sp=(e,t,n=`_rep`)=>{let r=xp[n],i=r.get(e);return i||(i={},r.set(e,i)),i[t]?i[t]:i[t]={_head:null,_tail:null}},Wte=(e,t)=>e._isOverridden||e._absoluteStartTime>t._absoluteStartTime,Cp=e=>{e._isOverlapped=1,e._isOverridden=1,e._changeDuration=ef,e._currentTime=ef},wp=(e,t)=>{let n=e._composition;if(n===Yd.replace){let n=e._absoluteStartTime;Yf(t,e,Wte,`_prevRep`,`_nextRep`);let r=e._prevRep;if(r){let t=r.parent,i=r._absoluteEndTime;if(e.parent.id!==t.id&&t.iterationCount>1&&i+(t.duration-t.iterationDuration)>n){Cp(r);let e=r._prevRep;for(;e&&e.parent.id===t.id;)Cp(e),e=e._prevRep}let a=e._absoluteUpdateStartTime;if(i>a){let e=r._startTime,t=Hf(a-(i-(e+r._updateDuration))-e,12);r._changeDuration=t,r._currentTime=t,r._isOverlapped=1,t<1e-11&&Cp(r)}let o=e.parent.parent;if(!o||o!==t.parent){let e=!0;if(qf(t,t=>{t._isOverlapped||(e=!1)}),e){let e=t.parent;if(e){let n=!0;qf(e,e=>{e!==t&&qf(e,e=>{e._isOverlapped||(n=!1)})}),n&&e.cancel()}else t.cancel()}}}}else if(n===Yd.blend){let t=Sp(e.target,e.property,`_add`),n=Bte(xp._add),r=t._head;r||(r={...e},r._composition=Yd.replace,r._updateDuration=ef,r._startTime=0,r._numbers=Kf(e._fromNumbers),r._number=0,r._next=null,r._prev=null,Yf(t,r),Yf(n,r));let i=e._toNumber;if(e._fromNumber=r._fromNumber-i,e._toNumber=0,e._numbers=Kf(e._fromNumbers),e._number=0,r._fromNumber=i,e._toNumbers.length){let t=Kf(e._toNumbers);t.forEach((t,n)=>{e._fromNumbers[n]=r._fromNumbers[n]-t,e._toNumbers[n]=0}),r._fromNumbers=t}Yf(t,e,null,`_prevAdd`,`_nextAdd`)}return e},Gte=e=>{let t=e._composition;if(t!==Yd.none){let n=e.target,r=e.property,i=xp._rep.get(n)[r];if(Jf(i,e,`_prevRep`,`_nextRep`),t===Yd.blend){let t=xp._add,i=t.get(n);if(!i)return;let a=i[r],o=_p.animation;Jf(a,e,`_prevAdd`,`_nextAdd`);let s=a._head;if(s&&s===a._tail){Jf(a,s,`_prevAdd`,`_nextAdd`),Jf(o,s);let e=!0;for(let t in i)if(i[t]._head){e=!1;break}e&&t.delete(n)}}}return e},Tp=e=>(e.paused=!0,e.began=!1,e.completed=!1,e),Ep=e=>e._cancelled?(e._hasChildren?qf(e,Ep):qf(e,e=>{e._composition!==Yd.none&&wp(e,Sp(e.target,e.property))}),e._cancelled=0,e):e,Dp=0,Kte=(e,t)=>e._priority>t._priority,qte=class extends gp{constructor(e={},t=null,n=0){super(0),++Dp;let{id:r,delay:i,duration:a,reversed:o,alternate:s,loop:c,loopDelay:l,autoplay:u,frameRate:d,playbackRate:f,priority:p,onComplete:m,onLoop:h,onPause:g,onBegin:_,onBeforeUpdate:v,onUpdate:y}=e;uf.current&&uf.current.register(this);let b=t?0:yp._lastTickTime,x=t?t.defaults:df.defaults,S=bf(i)||xf(i)?x.delay:+i,C=bf(a)||xf(a)?1/0:+a,w=ep(c,x.loop),T=ep(l,x.loopDelay),E=w===!0||w===1/0||w<0?1/0:w+1,D=0;t?D=n:(yp.reqId||yp.requestTick(hf()),D=(yp._lastTickTime-yp._startTime)*df.timeScale),this.id=xf(r)?Dp:r,this.parent=t,this.duration=Wf((C+T)*E-T)||1e-11,this.backwards=!1,this.paused=!0,this.began=!1,this.completed=!1,this.onBegin=_||x.onBegin,this.onBeforeUpdate=v||x.onBeforeUpdate,this.onUpdate=y||x.onUpdate,this.onLoop=h||x.onLoop,this.onPause=g||x.onPause,this.onComplete=m||x.onComplete,this.iterationDuration=C,this.iterationCount=E,this._autoplay=!t&&ep(u,x.autoplay),this._offset=D,this._delay=S,this._loopDelay=T,this._iterationTime=0,this._currentIteration=0,this._resolve=sf,this._running=!1,this._reversed=+ep(o,x.reversed),this._reverse=this._reversed,this._cancelled=0,this._alternate=ep(s,x.alternate),this._prev=null,this._next=null,this._lastTickTime=b,this._startTime=b,this._lastTime=b,this._fps=ep(d,x.frameRate),this._speed=ep(f,x.playbackRate),this._priority=+ep(p,1)}get cancelled(){return!!this._cancelled}set cancelled(e){e?this.cancel():this.reset(!0).play()}get currentTime(){return Vf(Hf(this._currentTime,df.precision),-this._delay,this.duration)}set currentTime(e){let t=this.paused;this.pause().seek(+e),t||this.resume()}get iterationCurrentTime(){return Vf(Hf(this._iterationTime,df.precision),0,this.iterationDuration)}set iterationCurrentTime(e){this.currentTime=this.iterationDuration*this._currentIteration+e}get progress(){return Vf(Hf(this._currentTime/this.duration,10),0,1)}set progress(e){this.currentTime=this.duration*e}get iterationProgress(){return Vf(Hf(this._iterationTime/this.iterationDuration,10),0,1)}set iterationProgress(e){let t=this.iterationDuration;this.currentTime=t*this._currentIteration+t*e}get currentIteration(){return this._currentIteration}set currentIteration(e){this.currentTime=this.iterationDuration*Vf(+e,0,this.iterationCount-1)}get reversed(){return!!this._reversed}set reversed(e){e?this.reverse():this.play()}get speed(){return super.speed}set speed(e){super.speed=e,this.resetTime()}reset(e=!1){return Ep(this),this._reversed&&!this._reverse&&(this.reversed=!1),this._iterationTime=this.iterationDuration,pp(this,0,1,~~e,Jd.FORCE),Tp(this),this._hasChildren&&qf(this,Tp),this}init(e=!1){this.fps=this._fps,this.speed=this._speed,!e&&this._hasChildren&&pp(this,this.duration,1,~~e,Jd.FORCE),this.reset(e);let t=this._autoplay;return t===!0?this.resume():t&&!xf(t.linked)&&t.link(this),this}resetTime(){let e=1/(this._speed*yp._speed);return this._startTime=hf()-(this._currentTime+this._delay)*e,this}pause(){return this.paused?this:(this.paused=!0,this.onPause(this),this)}resume(){return this.paused?(this.paused=!1,this.duration<=1e-11&&!this._hasChildren?pp(this,ef,0,0,Jd.FORCE):(this._running||=(Yf(yp,this,Kte),yp._hasChildren=!0,!0),this.resetTime(),this._startTime-=12,yp.wake()),this):this}restart(){return this.reset().resume()}seek(e,t=0,n=0){Ep(this),this.completed=!1;let r=this.paused;return this.paused=!0,pp(this,e+this._delay,~~t,~~n,Jd.AUTO),r?this:this.resume()}alternate(){let e=this._reversed,t=this.iterationCount,n=this.iterationDuration,r=t===1/0?Rf(tf/n):t;return this._reversed=+(this._alternate&&!(r%2)?e:!e),t===1/0?this.iterationProgress=this._reversed?1-this.iterationProgress:this.iterationProgress:this.seek(n*r-this._currentTime),this.resetTime(),this}play(){return this._reversed&&this.alternate(),this.resume()}reverse(){return this._reversed||this.alternate(),this.resume()}cancel(){return this._hasChildren?qf(this,e=>e.cancel(),!0):qf(this,Gte),this._cancelled=1,this.pause()}stretch(e){let t=this.duration,n=Gf(e);if(t===n)return this;let r=e/t,i=e<=ef;return this.duration=i?ef:n,this.iterationDuration=i?ef:Gf(this.iterationDuration*r),this._offset*=r,this._delay*=r,this._loopDelay*=r,this}revert(){pp(this,0,1,0,Jd.AUTO);let e=this._autoplay;return e&&e.linked&&e.linked===this&&e.revert(),this.cancel()}complete(e=0){return this.seek(this.duration,e).cancel()}then(e=sf){let t=this.then,n=()=>{this.then=null,e(this),this.then=t,this._resolve=sf};return new Promise(e=>(this._resolve=()=>e(n()),this.completed&&this._resolve(),this))}};function Op(e){let t=yf(e)?uf.root.querySelectorAll(e):e;if(t instanceof NodeList||t instanceof HTMLCollection)return t}function Jte(e){if(Sf(e))return[];if(!Ud)return gf(e)&&e.flat(1/0)||[e];if(gf(e)){let t=e.flat(1/0),n=[];for(let e=0,r=t.length;e<r;e++){let r=t[e];if(!Sf(r)){let e=Op(r);if(e)for(let t=0,r=e.length;t<r;t++){let r=e[t];if(!Sf(r)){let e=!1;for(let t=0,i=n.length;t<i;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}else{let e=!1;for(let t=0,i=n.length;t<i;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}}return n}let t=Op(e);return t?Array.from(t):[e]}function Yte(e){let t=Jte(e),n=t.length;for(let e=0;e<n;e++){let n=t[e];if(!n[Xd]){n[Xd]=!0;let e=Cf(n);(n.nodeType||e)&&(n[Zd]=!0,n[Qd]=e,n[$d]={})}}return t}var kp={deg:1,rad:180/zf,turn:360},Ap={},jp=(e,t,n,r=!1)=>{let i=t.u,a=t.n;if(t.t===qd.UNIT&&i===n)return t;let o=a+i+n,s=Ap[o];if(!xf(s)&&!r)t.n=s;else{let r;if(i in kp)r=a*kp[i]/kp[n];else{let t=e.cloneNode(),o=e.parentNode,s=o&&o!==Gd?o:Gd.body;s.appendChild(t);let c=t.style;c.width=100+i;let l=t.offsetWidth||100;c.width=100+n;let u=l/(t.offsetWidth||100);s.removeChild(t),r=u*a}t.n=r,Ap[o]=r}return t.t,qd.UNIT,t.u=n,t},Mp=e=>e,Np=(e=1.68)=>t=>jf(t,+e),Pp={in:e=>t=>e(t),out:e=>t=>1-e(1-t),inOut:e=>t=>t<.5?e(t*2)/2:1-e(t*-2+2)/2,outIn:e=>t=>t<.5?(1-e(1-t*2))/2:(e(t*2-1)+1)/2},Xte=zf/2,Fp=zf*2,Ip={"":Np,Quad:Np(2),Cubic:Np(3),Quart:Np(4),Quint:Np(5),Sine:e=>1-Pf(e*Xte),Circ:e=>1-Mf(1-e*e),Expo:e=>e?jf(2,10*e-10):0,Bounce:e=>{let t,n=4;for(;e<((t=jf(2,--n))-1)/11;);return 1/jf(4,3-n)-7.5625*jf((t*3-2)/22-e,2)},Back:(e=1.7)=>t=>(+e+1)*t*t*t-+e*t*t,Elastic:(e=1,t=.3)=>{let n=Vf(+e,1,10),r=Vf(+t,ef,2),i=r/Fp*Mte(1/n),a=Fp/r;return e=>e===0||e===1?e:-n*jf(2,-10*(1-e))*Nf((1-e-i)*a)}},Lp=(()=>{let e={linear:Mp,none:Mp};for(let t in Pp)for(let n in Ip){let r=Ip[n],i=Pp[t];e[t+n]=n===``||n===`Back`||n===`Elastic`?(e,t)=>i(r(e,t)):i(r)}return e})(),Rp={linear:Mp,none:Mp},Zte=e=>{if(Rp[e])return Rp[e];if(e.indexOf(`(`)<=-1){let t=Pp[e]||e.includes(`Back`)||e.includes(`Elastic`)?Lp[e]():Lp[e];return t?Rp[e]=t:Mp}{let t=e.slice(0,-1).split(`(`),n=Lp[t[0]];return n?Rp[e]=n(...t[1].split(`,`)):Mp}},zp=[`steps(`,`irregular(`,`linear(`,`cubicBezier(`],Bp=e=>{if(yf(e)){for(let t=0,n=zp.length;t<n;t++)if(mf(e,zp[t]))return console.warn(`String syntax for \`ease: "${e}"\` has been removed from the core and replaced by importing and passing the easing function directly: \`ease: ${e}\``),Mp}return bf(e)?e:yf(e)?Zte(e):Mp},Vp=sp(),Hp=sp(),Up={},Wp={func:null},Gp={func:null},Kp=[null],qp=[null,null],Jp={to:null},Qte=0,Yp=0,Xp,Zp,$te=(e,t)=>{let n={};if(gf(e)){let t=[].concat(...e.map(e=>Object.keys(e))).filter(Of);for(let r=0,i=t.length;r<i;r++){let i=t[r];n[i]=e.map(e=>{let t={};for(let n in e){let r=e[n];Of(n)?n===i&&(t.to=r):t[n]=r}return t})}}else{let r=ep(t.duration,df.defaults.duration);Object.keys(e).map(t=>({o:parseFloat(t)/100,p:e[t]})).sort((e,t)=>e.o-t.o).forEach(e=>{let t=e.o,i=e.p;for(let e in i)if(Of(e)){let a=n[e];a||=n[e]=[];let o=t*r,s=a.length,c=a[s-1],l={to:i[e]},u=0;for(let e=0;e<s;e++)u+=a[e].duration;s===1&&(l.from=c.to),i.ease&&(l.ease=i.ease),l.duration=o-(s?u:0),a.push(l)}return e});for(let e in n){let t=n[e],r;for(let e=0,n=t.length;e<n;e++){let n=t[e],i=n.ease;n.ease=r||void 0,r=i}t[0].duration||t.shift()}}return n},ene=class extends qte{constructor(e,t,n,r,i=!1,a=0,o){super(t,n,r),this._head,this._tail,++Yp;let s=Yte(e),c=s.length,l=t.keyframes,u=l?Nte($te(l,t),t):t,{id:d,delay:f,duration:p,ease:m,playbackEase:h,modifier:g,composition:_,onRender:v}=u,y=n?n.defaults:df.defaults,b=ep(m,y.ease),x=ep(h,y.playbackEase),S=x?Bp(x):null,C=!xf(b.ease),w=C?b.ease:ep(m,S?`linear`:y.ease),T=C?b.settlingDuration:ep(p,y.duration),E=ep(f,y.delay),D=g||y.modifier,O=xf(_)&&c>=1e3?Yd.none:xf(_)?y.composition:_,k=this._offset+(n?n._offset:0);C&&(b.parent=this);let A=NaN,j=NaN,M=0,N=0;for(let e=0;e<c;e++){let t=s[e],r=a||e,c=o||s,l=NaN,d=NaN;for(let e in u)if(Of(e)){let a=rp(t,e),o=Qf(t,e),s=zte(e,t,a),f=u[e],p=gf(f);if(i&&!p&&(qp[0]=f,qp[1]=f,f=qp),p){let e=f.length,t=!_f(f[0]);e===2&&t?(Jp.to=f,Kp[0]=Jp,Xp=Kp):e>2&&t?(Xp=[],f.forEach((e,t)=>{t?t===1?(qp[1]=e,Xp.push(qp)):Xp.push(e):qp[0]=e})):Xp=f}else Kp[0]=f,Xp=Kp;let m=null,h=null,g=NaN,_=0,v=0;for(let e=Xp.length;v<e;v++){let i=Xp[v];_f(i)?Zp=i:(Jp.to=i,Zp=Jp),Wp.func=null,Gp.func=null;let l=np(ep(Zp.composition,O),t,r,c,null,null),u=vf(l)?l:Yd[l];!m&&u!==Yd.none&&(m=Sp(t,s));let d=m?m._tail:null,f=n&&d&&d.parent.parent===n?d:h,p=np(Zp.to,t,r,c,Wp,f),y;_f(p)&&!xf(p.to)?(Zp=p,y=p.to):y=p;let b=np(Zp.from,t,r,c,Gp,f),x=Zp.ease||w,S=np(x,t,r,c,null,f),C=bf(S)||yf(S)?S:x,A=!xf(C)&&!xf(C.ease),j=A?C.ease:C,P=A?C.settlingDuration:np(ep(Zp.duration,e>1?np(T,t,r,c,null,f)/e:T),t,r,c,null,f),ee=np(ep(Zp.delay,v?0:E),t,r,c,null,f),te=Zp.modifier||D,ne=!xf(b),re=!xf(y),ie=gf(y),ae=ie||ne&&re,oe=h?_:0,se=h?_+ee:ee,ce=Hf(k+se,12),le=Hf(k+oe,12);!N&&(ne||ie)&&(N=1);let ue=h;if(u!==Yd.none){let e=m._head;for(;e&&e._absoluteStartTime<=ce;)if(e._isOverridden||(ue=e),e=e._nextRep,e&&e._absoluteStartTime>=ce)for(;e;)Cp(e),e=e._nextRep}if(ae){cp(ie?np(y[0],t,r,c,Gp,f):b,Vp),cp(ie?np(y[1],t,r,c,Wp,f):y,Hp);let e=ap(t,s,a,Up);Vp.t===qd.NUMBER&&(ue?ue._valueType===qd.UNIT&&(Vp.t=qd.UNIT,Vp.u=ue._unit):(cp(e,up),up.t===qd.UNIT&&(Vp.t=qd.UNIT,Vp.u=up.u)))}else re?cp(y,Hp):h?lp(h,Hp):cp(n&&ue&&ue.parent.parent===n?ue._value:ap(t,s,a,Up),Hp),ne?cp(b,Vp):h?lp(h,Vp):cp(n&&ue&&ue.parent.parent===n?ue._value:ap(t,s,a,Up),Vp);if(Vp.o&&(Vp.n=op(ue?ue._toNumber:cp(ap(t,s,a,Up),up).n,Vp.n,Vp.o)),Hp.o&&(Hp.n=op(Vp.n,Hp.n,Hp.o)),Vp.t!==Hp.t){if(Vp.t===qd.COMPLEX||Hp.t===qd.COMPLEX){let e=Vp.t===qd.COMPLEX?Vp:Hp,t=Vp.t===qd.COMPLEX?Hp:Vp;t.t=qd.COMPLEX,t.s=Kf(e.s),t.d=e.d.map(()=>t.n)}else if(Vp.t===qd.UNIT||Hp.t===qd.UNIT){let e=Vp.t===qd.UNIT?Vp:Hp,t=Vp.t===qd.UNIT?Hp:Vp;t.t=qd.UNIT,t.u=e.u}else if(Vp.t===qd.COLOR||Hp.t===qd.COLOR){let e=Vp.t===qd.COLOR?Vp:Hp,t=Vp.t===qd.COLOR?Hp:Vp;t.t=qd.COLOR,t.d=e.d.map(()=>0)}}if(Vp.u!==Hp.u){let e=Hp.u?Vp:Hp;e=jp(t,e,Hp.u?Hp.u:Vp.u,!1)}if(Hp.d&&Vp.d&&Hp.d.length!==Vp.d.length){let e=Vp.d.length>Hp.d.length?Vp:Hp,t=e===Vp?Hp:Vp;t.d=e.d.map((e,n)=>xf(t.d[n])?0:t.d[n]),t.s=Kf(e.s)}let de=Hf(+P||1e-11,12),fe=Up[s];Sf(fe)||(Up[s]=null);let pe=o?o.set:null;_=Hf(se+de,12);let me=Vp.d,he=Hp.d,ge=Hp.s,_e={parent:this,id:Qte++,property:s,target:t,_value:null,_toFunc:Wp.func,_fromFunc:Gp.func,_ease:Bp(j),_fromNumbers:me?Kf(me):rf,_toNumbers:he?Kf(he):rf,_strings:ge?Kf(ge):rf,_fromNumber:Vp.n,_toNumber:Hp.n,_numbers:me?Kf(me):rf,_number:Vp.n,_unit:Hp.u,_modifier:te,_currentTime:0,_startTime:se,_delay:+ee,_updateDuration:de,_changeDuration:de,_absoluteStartTime:ce,_absoluteUpdateStartTime:le,_absoluteEndTime:Hf(k+_,12),_hasFromValue:ne||ie?1:0,_tweenType:a,_setter:pe,_valueType:Hp.t,_composition:u,_isOverlapped:0,_isOverridden:0,_renderTransforms:0,_inlineValue:fe,_prevRep:null,_nextRep:null,_prevAdd:null,_nextAdd:null,_prev:null,_next:null};u!==Yd.none&&wp(_e,m);let ve=_e._valueType;if(ve===qd.COMPLEX)_e._value=dp(_e,1,-1);else if(ve===qd.UNIT)_e._value=`${te(_e._toNumber)}${_e._unit}`;else if(ve===qd.COLOR){let e=Hp.d;_e._value=`rgba(${Hf(e[0],0)},${Hf(e[1],0)},${Hf(e[2],0)},${e[3]})`}else _e._value=te(_e._toNumber);isNaN(g)&&(g=_e._startTime),h=_e,M++,Yf(this,_e)}(isNaN(j)||g<j)&&(j=g),(isNaN(A)||_>A)&&(A=_),a===Kd.TRANSFORM&&(l=M-v,d=M)}if(!isNaN(l)){let e=0;qf(this,t=>{e>=l&&e<d&&(t._renderTransforms=1,t._composition===Yd.blend&&qf(_p.animation,e=>{e.id===t.id&&(e._renderTransforms=1)})),e++})}}c||console.warn(`No target found. Make sure the element you're trying to animate is accessible before creating your animation.`),j?(qf(this,e=>{e._startTime-e._delay||(e._delay-=j),e._startTime-=j}),A-=j):j=0,A||(A=ef,this.iterationCount=0),this.targets=s,this.id=xf(d)?Yp:d,this.duration=A===1e-11?ef:Wf((A+this._loopDelay)*this.iterationCount-this._loopDelay)||1e-11,this.onRender=v||y.onRender,this._ease=S,this._delay=j,this.iterationDuration=A,!this._autoplay&&N&&this.onRender(this)}stretch(e){let t=this.duration;if(t===Gf(e))return this;let n=e/t;return qf(this,e=>{e._updateDuration=Gf(e._updateDuration*n),e._changeDuration=Gf(e._changeDuration*n),e._currentTime*=n,e._delay*=n,e._startTime*=n,e._absoluteStartTime*=n,e._absoluteUpdateStartTime*=n,e._absoluteEndTime*=n}),super.stretch(e)}refresh(){return qf(this,e=>{let t=e._toFunc,n=e._fromFunc;(t||n)&&(n?(cp(n(),Vp),Vp.u!==e._unit&&e.target[Zd]&&jp(e.target,Vp,e._unit,!0),e._fromNumbers=Kf(Vp.d),e._fromNumber=Vp.n):t&&(cp(ap(e.target,e.property,e._tweenType),up),e._fromNumbers=Kf(up.d),e._fromNumber=up.n),t&&(cp(t(),Hp),e._toNumbers=Kf(Hp.d),e._strings=Kf(Hp.s),e._toNumber=Hp.o?op(e._fromNumber,Hp.n,Hp.o):Hp.n))}),this.duration===1e-11&&this.restart(),this}revert(){return super.revert(),hp(this)}then(e){return super.then(e)}},Qp=(e,t)=>df.editor?df.editor.addAnimation(e,t):new ene(e,t,null,0,!1).init(),$p=nf*10,tne=class{constructor(e={}){let t=!xf(e.bounce)||!xf(e.duration);this.timeStep=.02,this.restThreshold=5e-4,this.restDuration=200,this.maxDuration=6e4,this.maxRestSteps=this.restDuration/this.timeStep/nf,this.maxIterations=this.maxDuration/this.timeStep/nf,this.bn=Vf(ep(e.bounce,.5),-1,1),this.pd=Vf(ep(e.duration,628),10*df.timeScale,$p*df.timeScale),this.m=Vf(ep(e.mass,1),1,$p),this.s=Vf(ep(e.stiffness,100),ef,$p),this.d=Vf(ep(e.damping,10),ef,$p),this.v=Vf(ep(e.velocity,0),-$p,$p),this.w0=0,this.zeta=0,this.wd=0,this.b=0,this.completed=!1,this.solverDuration=0,this.settlingDuration=0,this.parent=null,this.onComplete=e.onComplete||sf,t&&this.calculateSDFromBD(),this.compute(),this.ease=e=>{let t=e*this.settlingDuration,n=this.completed,r=this.pd;return t>=r&&!n&&(this.completed=!0,this.onComplete(this.parent)),t<r&&n&&(this.completed=!1),e===0||e===1?e:this.solve(e*this.solverDuration)}}solve(e){let{zeta:t,w0:n,wd:r,b:i}=this,a=e;return a=t<1?If(-a*t*n)*(1*Pf(r*a)+i*Nf(r*a)):t===1?(1+i*a)*If(-a*n):((1+i)*If((-t*n+r)*a)+(1-i)*If((-t*n-r)*a))/2,1-a}calculateSDFromBD(){let e=df.timeScale===1?this.pd/nf:this.pd;this.m=1,this.v=0,this.s=jf(2*zf/e,2),this.d=this.bn>=0?(1-this.bn)*4*zf/e:4*zf/(e*(1+this.bn)),this.s=Hf(Vf(this.s,ef,$p),3),this.d=Hf(Vf(this.d,ef,300),3)}calculateBDFromSD(){let e=2*zf/Mf(this.s);this.pd=e*(df.timeScale===1?nf:1),this.bn=this.d/(2*Mf(this.s))<=1?1-this.d*e/(4*zf):4*zf/(this.d*e)-1,this.bn=Hf(Vf(this.bn,-1,1),3),this.pd=Hf(Vf(this.pd,10*df.timeScale,$p*df.timeScale),3)}compute(){let{maxRestSteps:e,maxIterations:t,restThreshold:n,timeStep:r,m:i,d:a,s:o,v:s}=this,c=this.w0=Vf(Mf(o/i),ef,nf),l=this.zeta=a/(2*Mf(o*i));l<1?(this.wd=c*Mf(1-l*l),this.b=(l*c+-s)/this.wd):l===1?(this.wd=0,this.b=-s+c):(this.wd=c*Mf(l*l-1),this.b=(l*c+-s)/this.wd);let u=0,d=0,f=0;for(;d<=e&&f<=t;)Ff(1-this.solve(u))<n?d++:d=0,this.solverDuration=u,u+=r,f++;this.settlingDuration=Hf(this.solverDuration*nf,0)*df.timeScale}get bounce(){return this.bn}set bounce(e){this.bn=Vf(ep(e,1),-1,1),this.calculateSDFromBD(),this.compute()}get duration(){return this.pd}set duration(e){this.pd=Vf(ep(e,1),10*df.timeScale,$p*df.timeScale),this.calculateSDFromBD(),this.compute()}get stiffness(){return this.s}set stiffness(e){this.s=Vf(ep(e,100),ef,$p),this.calculateBDFromSD(),this.compute()}get damping(){return this.d}set damping(e){this.d=Vf(ep(e,10),ef,$p),this.calculateBDFromSD(),this.compute()}get mass(){return this.m}set mass(e){this.m=Vf(ep(e,1),1,$p),this.compute()}get velocity(){return this.v}set velocity(e){this.v=Vf(ep(e,0),-$p,$p),this.compute()}},nne=e=>new tne(e),em=(e=10,t)=>{let n=t?Lf:Rf;return t=>n(Vf(t,0,1)*e)*(1/e)},tm=(0,I.forwardRef)(function({id:e,transform:t},n){return(0,F.jsxs)(`radialGradient`,{ref:n,id:e,gradientUnits:`userSpaceOnUse`,cx:`-1.2`,cy:`-1.6`,r:`5.6`,gradientTransform:t,children:[(0,F.jsx)(`stop`,{offset:`0`,stopColor:`color-mix(in oklab, var(--color-white) calc(var(--depth) * 50%), currentColor)`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`currentColor`})]})});function nm({id:e}){return(0,F.jsx)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:(0,F.jsx)(`feDropShadow`,{dx:`0`,dy:`1.5`,stdDeviation:`1`,floodColor:`currentColor`,style:{floodOpacity:`calc(var(--depth) * 0.6)`}})})}function rm({id:e}){return(0,F.jsxs)(`filter`,{id:e,x:`-10%`,y:`-10%`,width:`120%`,height:`120%`,colorInterpolationFilters:`sRGB`,children:[(0,F.jsx)(`feGaussianBlur`,{in:`SourceAlpha`,stdDeviation:`0.3`,result:`soft-edge`}),(0,F.jsx)(`feOffset`,{in:`soft-edge`,dx:`0.25`,dy:`0.45`,result:`lower-edge`}),(0,F.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`lower-edge`,operator:`out`,result:`inner-shadow`}),(0,F.jsx)(`feFlood`,{floodColor:`var(--color-black)`,floodOpacity:`calc(var(--depth) * 0.28)`}),(0,F.jsx)(`feComposite`,{in2:`inner-shadow`,operator:`in`,result:`shade`}),(0,F.jsx)(`feOffset`,{in:`soft-edge`,dx:`-0.2`,dy:`-0.35`,result:`upper-edge`}),(0,F.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`upper-edge`,operator:`out`,result:`inner-highlight`}),(0,F.jsx)(`feFlood`,{floodColor:`var(--color-white)`,floodOpacity:`calc(var(--depth) * 0.7)`}),(0,F.jsx)(`feComposite`,{in2:`inner-highlight`,operator:`in`,result:`highlight`}),(0,F.jsxs)(`feMerge`,{children:[(0,F.jsx)(`feMergeNode`,{in:`SourceGraphic`}),(0,F.jsx)(`feMergeNode`,{in:`shade`}),(0,F.jsx)(`feMergeNode`,{in:`highlight`})]})]})}var im=Object.freeze({alphaIntercept:-8,alphaSlope:18,blurStdDeviation:2});function am({id:e,values:t=fr}){return(0,F.jsxs)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:[(0,F.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:t.blurStdDeviation,result:`blur`}),(0,F.jsx)(`feColorMatrix`,{in:`blur`,values:`1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 ${String(t.alphaSlope)} ${String(t.alphaIntercept)}`,result:`gooey`}),(0,F.jsx)(`feComposite`,{in:`SourceGraphic`,in2:`gooey`,operator:`atop`})]})}function om(e,t){let n=e.ownerDocument,r=!0,i=()=>{t(r&&!n.hidden)},a=globalThis,o=`IntersectionObserver`in globalThis&&a.IntersectionObserver?new a.IntersectionObserver(t=>{let n=t.find(t=>t.target===e);n&&(r=n.isIntersecting,i())}):void 0;return o?.observe(e),n.addEventListener(`visibilitychange`,i),i(),()=>{o?.disconnect(),n.removeEventListener(`visibilitychange`,i)}}function sm(e){let t=Math.max(0,Math.min(1,e));return t*t*(3-2*t)}function cm(e,t){let n=Math.max(0,Math.min(1,(t-(e-1)*.085)/.68));return Math.sin(n*Math.PI)**2}function lm(e,t,n){let r=n*Math.PI*2,i=t*2.1,a=Math.sin(r*2+i)*.15,o={rx:4*(1+a),ry:4/(1+a)};if(e===`line`){let e=7.5+4*Math.cos(r+(t===2?-.45:0));return{cx:(t-1)*e,cy:Math.sin(r+i)*.7,...o}}if(e===`square`){let e=4.7+2.7*Math.cos(r);return{cx:(t%2?1:-1)*e,cy:(t<2?-1:1)*e,...o}}if(e===`donut`){let e=sm(n/.66)*Math.PI*2,o=Math.min(e,t*Math.PI/8)-Math.PI/2,s=sm((n-.79)/.21),c=8+Math.sin(r*2+i)*.35*Math.sin(n*Math.PI);return{cx:Math.cos(o)*c*(1-s),cy:Math.sin(o)*c*(1-s)-8*s,rx:3.6*(1+a*Math.sin(n*Math.PI)),ry:3.6/(1+a*Math.sin(n*Math.PI))}}if(e===`bloom`){if(t===0){let e=[1,2,3,4].reduce((e,t)=>e+cm(t,n),0),t=Math.sqrt(49-e*4);return{cx:Math.sin(r)*.4,cy:Math.sin(r*2)*.4,rx:t*(1+a),ry:t/(1+a)}}let e=cm(t,n),i=(t-1)*Math.PI/2-Math.PI/4+Math.sin(r)*.22;return{cx:Math.cos(i)*14*e,cy:Math.sin(i)*14*e,rx:3.2*(1+a),ry:3.2/(1+a)}}return{cx:Math.sin(r+i)*6+Math.sin(r*3+i)*2.5,cy:Math.cos(r*2+i)*6,...o}}var rne={line:1700,square:1900,donut:3e3,wander:4600,bloom:2800},ine=2;function ane({variant:e,pace:t=`working`}){let n=`caps-loader-${(0,I.useId)().replaceAll(`:`,``)}`,r=(0,I.useRef)(null),i=(0,I.useRef)(null),a=Ld(i),{reduced:o}=a,s=e===`donut`?16:e===`bloom`?5:e===`square`?4:3;return(0,I.useLayoutEffect)(()=>{if(!r.current||!i.current||o&&t===`idle`)return;let n=o?[Qp(r.current,{opacity:[.55,1],duration:a.slow*10,ease:`inOutSine`,alternate:!0,loop:!0})]:[...r.current.querySelectorAll(`ellipse`)].map((n,r)=>Qp(n,{keyframes:Array.from({length:48},(n,i)=>({...lm(e,r,(i+1)/48),duration:Rd(a,rne[e]*(t===`idle`?ine:1))/48})),ease:`linear`,loop:!0})),s=om(i.current,e=>{for(let t of n)e?t.resume():t.pause()});return()=>{s();for(let e of n)e.revert()}},[e,t,o,a]),(0,F.jsxs)(`svg`,{ref:i,"aria-hidden":`true`,focusable:`false`,viewBox:e===`line`?`-20 -10 40 20`:`-20 -20 40 40`,children:[(0,F.jsxs)(`defs`,{children:[(0,F.jsx)(am,{id:n,values:im}),(0,F.jsx)(tm,{id:`${n}-surface`,transform:e===`line`?`matrix(3.4 0 0 1.4 0 0)`:`matrix(3 0 0 3 0 0)`}),(0,F.jsx)(nm,{id:`${n}-shadow`}),(0,F.jsx)(`mask`,{id:`${n}-mask`,maskUnits:`userSpaceOnUse`,x:`-20`,y:`-20`,width:`40`,height:`40`,style:{maskType:`alpha`},children:(0,F.jsx)(`g`,{ref:r,fill:`currentColor`,filter:`url(#${n})`,children:Array.from({length:s},(t,n)=>(0,F.jsx)(`ellipse`,{...lm(e,n,0)},n))})})]}),(0,F.jsx)(`g`,{filter:`url(#${n}-shadow)`,children:(0,F.jsx)(`rect`,{x:`-20`,y:`-20`,width:`40`,height:`40`,fill:`url(#${n}-surface)`,mask:`url(#${n}-mask)`})})]})}var one={sm:`caps-loader-sm`,md:`caps-loader-md`,lg:`caps-loader-lg`,fill:`caps-loader-fill`},sne={neutral:`text-base-content`,accent:`text-accent`,primary:`text-primary`,success:`text-success`,current:`text-current`},um=(0,I.forwardRef)(function({"aria-label":e,"aria-labelledby":t,className:n,decorative:r=!1,label:i=`Loading`,size:a=`md`,variant:o=`line`,pace:s=`working`,tone:c=`neutral`,...l},u){let d=`${(0,I.useId)()}-label`,f=!r&&e===void 0&&t===void 0;return(0,F.jsxs)(`span`,{...l,"aria-label":r?void 0:e,"aria-hidden":r||void 0,"aria-labelledby":r?void 0:t??(e===void 0?d:void 0),className:Dd(`caps-loader`,one[a],sne[c],n),"data-variant":o,"data-pace":s,role:r?void 0:`status`,ref:u,children:[(0,F.jsx)(ane,{variant:o,pace:s}),f?(0,F.jsx)(Md,{id:d,children:i}):null]})}),dm=Object.freeze({ease:`linear`,duration:0});function fm(e,t){let n=gte(e,t.duration);return n<=0?dm:e.steps>0?{ease:em(e.steps),duration:n}:{ease:nne({bounce:hte(e,t.bounce),duration:n}),duration:n}}function pm(e,t){let n=Rd(e,t.duration);return{ease:e.steps>0?em(e.steps):t.ease,duration:n}}var mm={dot:{y:-4,height:8,cy:0},pill:{y:-16,height:32,cy:0},bang:{y:-16,height:20,cy:12}};function cne({className:e,glyph:t,motion:n}){let r=`caps-status-${(0,I.useId)().replaceAll(`:`,``)}`,i=(0,I.useRef)(null),a=(0,I.useRef)(null),o=(0,I.useRef)(null),s=(0,I.useRef)(null),c=(0,I.useRef)(null),l=(0,I.useRef)(null),u=(0,I.useRef)(mm[t]).current,d=(0,I.useRef)(t===`dot`?1:4).current,f=(0,I.useRef)(+(t===`bang`)).current,p=(0,I.useRef)(t),m=Ld(s),{reduced:h}=m;return(0,I.useLayoutEffect)(()=>{if(!i.current||!a.current||!c.current||!l.current)return;let e=mm[t],n=h||p.current===t;p.current=t;let r=Fd(i.current),o=n?{duration:0}:fm(r,{bounce:.3,duration:360}),s=Qp(i.current,{y:e.y,height:e.height,...o}),u=Qp(a.current,{cy:e.cy,...n?{duration:0}:{delay:Rd(r,35),...fm(r,{bounce:.3,duration:420})}}),d=Qp(c.current,{gradientTransform:`matrix(1 0 0 ${t===`dot`?`1`:`4`} 0 0)`,...o}),f=Qp(l.current,{opacity:+(t===`bang`),...n?dm:pm(r,{ease:`inOutSine`,duration:220})});return()=>{s.cancel(),u.cancel(),d.cancel(),f.cancel()}},[t,h]),(0,I.useLayoutEffect)(()=>{if(!o.current||!s.current||h||n===`none`)return;let e=n===`pulse`?Qp(o.current,{opacity:[1,.45],...pm(m,{ease:`inOutSine`,duration:750}),alternate:!0,loop:!0}):Qp(o.current,{keyframes:{"0%":{translateY:0,scaleX:1,scaleY:1},"18%":{translateY:.25,scaleX:1.1,scaleY:.91},"42%":{translateY:-1.3,scaleX:.94,scaleY:1.06},"62%":{translateY:-1.65,scaleX:1,scaleY:1},"82%":{translateY:.15,scaleX:1.06,scaleY:.95},"100%":{translateY:0,scaleX:1,scaleY:1}},...pm(m,{ease:`inOutSine`,duration:1e3}),loop:!0}),t=om(s.current,t=>{t?e.resume():e.pause()});return()=>{t(),e.revert()}},[n,h,m]),(0,F.jsxs)(`svg`,{ref:s,"aria-hidden":`true`,className:`caps-status-bead ${e??``}`,width:`8`,height:`8`,viewBox:`-4 -4 8 8`,focusable:`false`,children:[(0,F.jsxs)(`defs`,{children:[(0,F.jsx)(am,{id:r,values:im}),(0,F.jsx)(tm,{ref:c,id:`${r}-surface`,transform:`matrix(1 0 0 ${String(d)} 0 0)`}),(0,F.jsxs)(`radialGradient`,{id:`${r}-drop-light`,gradientUnits:`userSpaceOnUse`,cx:`-1.2`,cy:`10.4`,r:`5.6`,children:[(0,F.jsx)(`stop`,{offset:`0`,stopColor:`var(--color-white)`,style:{stopOpacity:`calc(var(--depth) * 0.5)`}}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`var(--color-white)`,stopOpacity:`0`})]}),(0,F.jsx)(nm,{id:`${r}-shadow`}),(0,F.jsx)(`mask`,{id:`${r}-silhouette`,maskUnits:`userSpaceOnUse`,x:`-12`,y:`-24`,width:`24`,height:`48`,style:{maskType:`alpha`},children:(0,F.jsxs)(`g`,{fill:`var(--color-white)`,filter:`url(#${r})`,children:[(0,F.jsx)(`rect`,{ref:i,x:`-4`,y:u.y,width:`8`,height:u.height,rx:`4`}),(0,F.jsx)(`circle`,{ref:a,cx:`0`,cy:u.cy,r:`4`})]})})]}),(0,F.jsx)(`g`,{ref:o,filter:`url(#${r}-shadow)`,children:(0,F.jsxs)(`g`,{mask:`url(#${r}-silhouette)`,children:[(0,F.jsx)(`rect`,{x:`-12`,y:`-24`,width:`24`,height:`48`,fill:`url(#${r}-surface)`}),(0,F.jsx)(`rect`,{ref:l,x:`-12`,y:`-24`,width:`24`,height:`48`,fill:`url(#${r}-drop-light)`,opacity:f})]})})]})}var lne=.28;function hm(e,t){switch(e){case`ring`:return{dashes:1,track:0,arc:0,sweep:0,disc:0,tick:0,cross:0};case`arc`:return{dashes:0,track:1,arc:1,sweep:t===void 0?lne:Math.min(1,Math.max(0,t)),disc:0,tick:0,cross:0};case`check`:return{dashes:0,track:0,arc:1,sweep:1,disc:1,tick:1,cross:0};case`cross`:return{dashes:0,track:0,arc:1,sweep:1,disc:1,tick:0,cross:1}}}var gm=7.25;function une({className:e,glyph:t,progress:n}){let r=`caps-status-mark-${(0,I.useId)().replaceAll(`:`,``)}`,i=(0,I.useRef)(null),a=(0,I.useRef)(null),o=(0,I.useRef)(null),s=(0,I.useRef)(null),c=(0,I.useRef)(null),l=(0,I.useRef)(null),u=(0,I.useRef)(null),d=(0,I.useRef)(null),f=(0,I.useRef)(hm(t,n)).current,p=(0,I.useRef)(t),m=Hd();(0,I.useLayoutEffect)(()=>{let e=i.current,r=a.current,c=o.current,f=s.current,h=l.current,g=u.current,_=d.current;if(!e||!r||!c||!f||!h||!g||!_)return;let v=hm(t,n),y=p.current;p.current=t;let b=Fd(e),x=m||y===t&&t!==`arc`,S=x?m?{ease:b.ease,duration:b.fast}:dm:pm(b,{ease:`outQuad`,duration:160}),C=(t===`check`||t===`cross`)&&!x,w=pm(b,{ease:`inOutSine`,duration:220}),T=[Qp(r,{opacity:v.dashes,...S}),Qp(c,{opacity:v.track*.28,...S}),Qp(f,{opacity:v.arc,"stroke-dasharray":`${String(v.sweep)} 1`,...x?m?dm:S:w}),Qp(h,{r:v.disc*gm,...C?{delay:w.duration*.7,...fm(b,{bounce:.35,duration:360})}:m?dm:pm(b,{ease:`inCubic`,duration:140})}),Qp(g,{"stroke-dashoffset":1-v.tick,...C&&v.tick>0?{delay:w.duration*.7+b.fast,...pm(b,{ease:`outCubic`,duration:240})}:dm}),Qp(_,{"stroke-dashoffset":1-v.cross,...C&&v.cross>0?{delay:w.duration*.7+b.fast,...pm(b,{ease:`outCubic`,duration:240})}:dm})];return t===`cross`&&C&&b.shake>0&&T.push(Qp(e,{translateX:[0,-b.shake,b.shake,-b.shake/2,0],delay:w.duration+b.fast,...pm(b,{ease:`linear`,duration:300})})),()=>{for(let e of T)e.cancel()}},[t,n,m]);let h=t===`arc`&&n===void 0&&!m;return(0,I.useLayoutEffect)(()=>{if(!h||!c.current||!i.current)return;let e=Fd(i.current),t=Qp(c.current,{rotate:[0,360],...pm(e,{ease:`linear`,duration:900}),loop:!0}),n=om(i.current,e=>{e?t.resume():t.pause()});return()=>{n(),t.revert()}},[h]),(0,F.jsxs)(`svg`,{ref:i,"aria-hidden":`true`,className:`caps-status-mark ${e??``}`,viewBox:`0 0 16 16`,focusable:`false`,children:[(0,F.jsxs)(`defs`,{children:[(0,F.jsx)(tm,{id:`${r}-surface`,transform:`matrix(1.6 0 0 1.6 8 8)`}),(0,F.jsxs)(`mask`,{id:`${r}-knock`,maskUnits:`userSpaceOnUse`,x:`0`,y:`0`,width:`16`,height:`16`,children:[(0,F.jsx)(`rect`,{width:`16`,height:`16`,fill:`var(--color-white)`}),(0,F.jsx)(`path`,{ref:u,d:`M4.9 8.3 7.1 10.5 11.2 5.9`,fill:`none`,stroke:`var(--color-black)`,strokeWidth:`1.9`,strokeLinecap:`round`,strokeLinejoin:`round`,pathLength:1,strokeDasharray:`1 1`,strokeDashoffset:1-f.tick}),(0,F.jsx)(`path`,{ref:d,d:`M5.4 5.4 10.6 10.6 M10.6 5.4 5.4 10.6`,fill:`none`,stroke:`var(--color-black)`,strokeWidth:`1.9`,strokeLinecap:`round`,pathLength:1,strokeDasharray:`1 1`,strokeDashoffset:1-f.cross})]})]}),(0,F.jsx)(`circle`,{ref:a,cx:`8`,cy:`8`,r:`6.25`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeDasharray:`1.7 2.2`,opacity:f.dashes}),(0,F.jsx)(`circle`,{ref:o,cx:`8`,cy:`8`,r:`6.25`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,opacity:f.track*.28}),(0,F.jsx)(`g`,{ref:c,className:`caps-status-mark-spin`,children:(0,F.jsx)(`circle`,{ref:s,cx:`8`,cy:`8`,r:`6.25`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,pathLength:1,strokeDasharray:`${String(f.sweep)} 1`,transform:`rotate(-90 8 8)`,opacity:f.arc})}),(0,F.jsx)(`circle`,{ref:l,cx:`8`,cy:`8`,r:f.disc*gm,fill:`url(#${r}-surface)`,mask:`url(#${r}-knock)`})]})}var dne=new Set([`ring`,`arc`,`check`,`cross`]);function fne(e){return dne.has(e)}var _m={neutral:`text-base-content`,primary:`text-primary`,secondary:`text-secondary`,accent:`text-accent`,success:`text-success`,info:`text-info`,warning:`text-warning`,error:`text-error`},vm=(0,I.forwardRef)(function({className:e,label:t,glyph:n=`dot`,motion:r=`none`,tone:i=`neutral`,size:a=`default`,appearance:o=`plain`,progress:s,...c},l){return(0,F.jsxs)(`span`,{...c,className:Dd(`caps-status`,a===`compact`&&`caps-status-compact`,o===`chip`&&`caps-status-chip`,e),"data-tone":o===`chip`?i:void 0,"data-glyph":n,"data-motion":r,ref:l,children:[fne(n)?(0,F.jsx)(une,{className:_m[i],glyph:n,progress:s}):(0,F.jsx)(cne,{className:_m[i],glyph:n,motion:r}),t===void 0?null:(0,F.jsx)(`span`,{children:t})]})}),pne=(0,I.createContext)(void 0),mne=(0,I.createContext)(null);function ym(e){let t=(0,I.useContext)(mne);return t===null?Object.hasOwn(globalThis,`document`)?document.body:null:t[e]}function hne(e){let t=(0,I.useContext)(pne),n=(0,I.useRef)(e);n.current=e,(0,I.useEffect)(()=>t?.(()=>{n.current()}),[t])}var bm=`(max-width: 600px)`,xm=globalThis;function gne(e){let t=xm.matchMedia?.(bm);return t?.addEventListener(`change`,e),()=>{t?.removeEventListener(`change`,e)}}function _ne(){return(0,I.useSyncExternalStore)(gne,()=>xm.matchMedia?.(bm).matches??!1,()=>!1)}function vne({className:e,...t}){let n=ym(`toast`),r=_ne();return n?(0,gn.createPortal)((0,F.jsx)(Jn,{position:r?`bottom-center`:`top-right`,swipeDirections:r?[`bottom`]:[`right`,`top`],mobileOffset:{top:16,bottom:`max(16px, env(safe-area-inset-bottom))`,left:16,right:16},offset:16,gap:8,icons:{close:(0,F.jsx)(dr,{"aria-hidden":`true`,size:12}),success:(0,F.jsx)(vm,{glyph:`dot`,tone:`success`}),error:(0,F.jsx)(vm,{glyph:`dot`,tone:`error`}),warning:(0,F.jsx)(vm,{glyph:`dot`,tone:`warning`}),info:(0,F.jsx)(vm,{glyph:`dot`,tone:`info`}),loading:(0,F.jsx)(um,{decorative:!0,size:`sm`,tone:`current`,variant:`wander`})},className:Dd(`caps-toaster`,e),...t}),n):null}var Sm=e=>e.length>0,Cm=`~effect/Option`,wm={[Cm]:{_A:e=>e},...St,[Symbol.iterator](){return new ct(this)}},yne=Object.defineProperty(Object.assign(Object.create(wm),{_tag:`Some`,_op:`Some`,[Ce](e){return Tm(e)&&Dm(e)&&we(this.value,e.value)},[ie](){return ce(ae(this._tag))(ae(this.value))},toString(){return`some(${Ke(this.value)})`},toJSON(){return{_id:`Option`,_tag:this._tag,value:rt(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),bne=ae(`None`),xne=Object.assign(Object.create(wm),{_tag:`None`,_op:`None`,valueOrUndefined:void 0,[Ce](e){return Tm(e)&&Em(e)},[ie](){return bne},toString(){return`none()`},toJSON(){return{_id:`Option`,_tag:this._tag}}}),Tm=e=>re(e,Cm),Em=e=>e._tag===`None`,Dm=e=>e._tag===`Some`,Sne=Object.create(xne),Om=function(e){this.value=e};Om.prototype=yne;var Cne=e=>new Om(e),km=`~effect/Result`,Am={[km]:{_A:e=>e,_E:e=>e},...St,[Symbol.iterator](){return new ct(this)}},wne=Object.assign(Object.create(Am),{_tag:`Success`,_op:`Success`,[Ce](e){return jm(e)&&Ene(e)&&we(this.success,e.success)},[ie](){return ce(ae(this._tag))(ae(this.success))},toString(){return`success(${Ke(this.success)})`},toJSON(){return{_id:`Result`,_tag:this._tag,value:rt(this.success)}}}),Tne=Object.assign(Object.create(Am),{_tag:`Failure`,_op:`Failure`,[Ce](e){return jm(e)&&Mm(e)&&we(this.failure,e.failure)},[ie](){return ce(ae(this._tag))(ae(this.failure))},toString(){return`failure(${Ke(this.failure)})`},toJSON(){return{_id:`Result`,_tag:this._tag,failure:rt(this.failure)}}}),jm=e=>re(e,km),Mm=e=>e._tag===`Failure`,Ene=e=>e._tag===`Success`,Nm=function(e){this.failure=e};Nm.prototype=Tne;var Dne=e=>new Nm(e),Pm=function(e){this.success=e};Pm.prototype=wne;var One=e=>new Pm(e);function Fm(e){return(t,n)=>t===n?0:e(t,n)}var kne=Fm((e,t)=>e<t?-1:1),Im=Fm((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),Ane=e=>f(2,(t,n)=>e(t,n)===-1),Lm=e=>f(2,(t,n)=>e(t,n)===1),jne=e=>f(2,(t,n)=>e(t,n)!==1),Rm=e=>f(2,(t,n)=>e(t,n)!==-1),zm=()=>Sne,Bm=Cne,Vm=Em,Hm=Dm,Mne=f(2,(e,{onNone:t,onSome:n})=>Vm(e)?t():n(e.value)),Um=f(2,(e,t)=>Vm(e)?t():e.value),Wm=f(2,(e,t)=>Vm(e)?t():e),Gm=Um(g),Km=Um(_),Nne=f(2,(e,t)=>Vm(e)?zm():Bm(t(e.value))),qm=One,Jm=Dne,Ym=Mm,Pne=f(2,(e,t)=>Ym(e)?Jm(t(e.failure)):e),Xm=f(2,(e,{onFailure:t,onSuccess:n})=>Ym(e)?t(e.failure):n(e.success)),Fne=globalThis.Array,Zm=f(2,(e,t)=>[...e,t]);Fne.isArray;var Ine=Sm,Lne=Sm,Qm=()=>[],Rne=f(2,(e,t)=>e.map(t)),$m=`~effect/BigDecimal`,zne={[$m]:$m,[ie](){let e=nh(this);return ce(fe(String(e.value)),de(e.scale))},[Ce](e){return Bne(e)&&qne(this,e)===0},toString(){return`BigDecimal(${Jne(this)})`},toJSON(){return{_id:`BigDecimal`,value:String(this.value),scale:this.scale}},[nt](){return this.toJSON()},pipe(){return l(this,arguments)}},Bne=e=>re(e,$m),Vne=(e,t)=>{if(!Number.isSafeInteger(t))throw RangeError(`Scale must be a safe integer, got ${t}`);let n=Object.create(zne);return n.value=e,n.scale=t,n},eh=(e,t)=>{let n=Vne(e,t);return n.normalized=n,n},th=BigInt(0),Hne=BigInt(1),Une=BigInt(10),Wne=eh(th,0),nh=e=>{if(e.normalized===void 0){if(e.value===th)e.normalized=Wne;else{let t=`${e.value}`,n=t.length;for(;t[n-1]===`0`;)n--;e.normalized=eh(BigInt(t.slice(0,n)),e.scale-(t.length-n))}}return e.normalized},Gne=100,Kne=[Hne],rh=(e,t)=>e===t?0:e<t?-1:1,ih=(e,t)=>{let n=`${e.value<th?-e.value:e.value}`,r=`${t.value<th?-t.value:t.value}`,i=BigInt(n.length-r.length)-BigInt(e.scale)+BigInt(t.scale);if(i!==th)return i<th?-1:1;let a=Math.max(n.length,r.length);return kne(n.padEnd(a,`0`),r.padEnd(a,`0`))},qne=(e,t)=>{if(e.scale===t.scale)return rh(e.value,t.value);let n=ah(e),r=ah(t);if(n!==r)return n<r?-1:1;if(n===0)return 0;let i=e.scale-t.scale,a=Math.abs(i);if(a>Gne)return n===-1?ih(t,e):ih(e,t);let o=Kne[a]??=Une**BigInt(a);return i>0?rh(e.value,t.value*o):rh(e.value*o,t.value)},ah=e=>e.value===th?0:e.value<th?-1:1,Jne=e=>{let t=nh(e);if(Math.abs(t.scale)>=16)return Yne(t);let n=t.value<th,r=`${n?-t.value:t.value}`,i=t.scale>0?r.padStart(t.scale+1,`0`):r.padEnd(r.length-t.scale,`0`),a=i.length-t.scale,o=t.scale>0?`${i.slice(0,a)}.${i.slice(a)}`:i;return n?`-${o}`:o},Yne=e=>{if(Xne(e))return`0e+0`;let t=nh(e),n=`${t.value}`,r=t.value<th?2:1,i=n.slice(0,r),a=n.slice(r),o=a.length-t.scale;return`${i}${a===``?``:`.${a}`}e${o>=0?`+`:``}${o}`},Xne=e=>e.value===th,Zne=e=>Wt({op:e.label,[_t]:e.evaluate}),oh=`~effect/Context/Service`,sh=function(){function e(){}let t=e;Object.setPrototypeOf(t,Qne);let n=(e,n)=>(t.key=e,n?.defaultValue&&(t[lh]=lh,t.defaultValue=n.defaultValue),n?.make&&(t.make=n.make),n?.fiberCached&&ch.add(e),t);return arguments.length>0?n(arguments[0],arguments[1]):n},Qne={[oh]:oh,...Zne({label:`Service`,evaluate(e){return qt(bh(e.context,this))}}),toJSON(){return{_id:`Service`,key:this.key}},of(e){return e},context(e){return vh(this,e)},use(e){return $t(t=>e(bh(t.context,this)))},useSync(e){return $t(t=>qt(e(bh(t.context,this))))}},ch=new Set,lh=`~effect/Context/Reference`,uh=`~effect/Context`,$ne=8,ere=8,dh=(e,t,n,r)=>{let i=Object.create(tre);return i.cacheRoot=e??i,i.base=t,i.overlay=n,i.depth=r,i._flat=void 0,i.baseHits=0,i},fh=(e,t)=>{t&&(fh(e,t.parent),e.set(t.key,t.value))},ph=e=>{if(e._flat)return e._flat;if(!e.overlay)return e._flat=e.base;let t=new Map(e.base);return fh(t,e.overlay),e._flat=t},mh=Symbol(),hh=(e,t)=>{let n=e;for(let e=n.overlay;e;e=e.parent)if(e.key===t)return e.value;let r=n.base.get(t);return r===void 0&&!n.base.has(t)?mh:(n.overlay&&++n.baseHits>=n.base.size&&n.baseHits>=ere&&(n.base=ph(n),n.overlay=void 0,n.depth=0),r)},gh=e=>dh(void 0,e,void 0,0),tre={get mapUnsafe(){return ph(this)},...St,[uh]:{_Services:e=>e},toJSON(){return{_id:`Context`,services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[Ce](e){if(!rre(e))return!1;let t=this.mapUnsafe,n=e.mapUnsafe;if(t.size!==n.size)return!1;for(let[e,r]of t)if(!n.has(e)||!we(r,n.get(e)))return!1;return!0},[ie](){return de(this.mapUnsafe.size)}},nre=(e,t)=>e.cacheRoot===t.cacheRoot,rre=e=>re(e,uh),ire=e=>!!e[lh],_h=()=>are,are=gh(new Map),vh=(e,t)=>gh(new Map([[e.key,t]])),ore=f(3,(e,t,n)=>sre(e,t.key,n)),sre=(e,t,n)=>{let r=e,i=ch.has(t)?void 0:r.cacheRoot;if(r.depth>=$ne){let e=new Map(r.mapUnsafe);return e.set(t,n),dh(i,e,void 0,0)}return dh(i,r.base,{key:t,value:n,parent:r.overlay},r.depth+1)},yh=(e,t)=>{let n=hh(e,t);return n===mh?void 0:n},bh=f(2,(e,t)=>{let n=hh(e,t.key);if(n===mh){if(ire(t))return cre(t);throw lre(t)}return n}),xh=`~effect/Context/defaultValue`,cre=e=>xh in e?e[xh]:e[xh]=e.defaultValue(),lre=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:``}`);if(t.stack){let e=t.stack.split(`
73
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function oc(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:lc(t,`input`,e.processors),output:lc(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function sc(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return sc(r.element,n);if(r.type===`set`)return sc(r.valueType,n);if(r.type===`lazy`)return sc(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`)return sc(r.innerType,n);if(r.type===`intersection`)return sc(r.left,n)||sc(r.right,n);if(r.type===`record`||r.type===`map`)return sc(r.keyType,n)||sc(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:sc(r.in,n)||sc(r.out,n);if(r.type===`object`){for(let e in r.shape)if(sc(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(sc(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(sc(e,n))return!0;return!!(r.rest&&sc(r.rest,n))}return!1}var cc=(e,t={})=>n=>{let r=rc({...n,processors:t});return ic(e,r),ac(r,e),oc(r,e)},lc=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=rc({...i??{},target:a,io:t,processors:n});return ic(e,o),ac(o,e),oc(o,e)},uc={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},dc=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=uc[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},fc=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;i.type=typeof s==`string`&&s.includes(`int`)?`integer`:`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},pc=(e,t,n,r)=>{n.type=`boolean`},mc=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},hc=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},gc=(e,t,n,r)=>{n.not={}},_c=(e,t,n,r)=>{let i=e._zod.def,a=wr(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},vc=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},yc=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},bc=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},xc=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},Sc=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=ic(a.element,t,{...r,path:[...r.path,`items`]})},Cc=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=ic(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=ic(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},wc=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>ic(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},Tc=(e,t,n,r)=>{let i=e._zod.def,a=ic(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=ic(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},Ec=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>ic(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?ic(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null;t.target===`draft-2020-12`?(i.prefixItems=c,l&&(i.items=l)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),i.minItems=c.length,l||(i.maxItems=c.length)):(i.items=c,l&&(i.additionalItems=l));let{minimum:u,maximum:d}=e._zod.bag;typeof u==`number`&&(i.minItems=u),typeof d==`number`&&(i.maxItems=d)},Dc=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=ic(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else(t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=ic(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=ic(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},Oc=(e,t,n,r)=>{let i=e._zod.def,a=ic(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},kc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Ac=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},jc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},Mc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},Nc=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;ic(o,t,r);let s=t.seen.get(e);s.ref=o},Pc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Fc=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Ic=(e,t,n,r)=>{let i=e._zod.def;ic(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Lc=(e,t,n,r)=>{let i=e._zod.innerType;ic(i,t,r);let a=t.seen.get(e);a.ref=i},Rc=L(`ZodISODateTime`,(e,t)=>{za.init(e,t),dl.init(e,t)});function zc(e){return xs(Rc,e)}var Bc=L(`ZodISODate`,(e,t)=>{Ba.init(e,t),dl.init(e,t)});function Vc(e){return Ss(Bc,e)}var Hc=L(`ZodISOTime`,(e,t)=>{Va.init(e,t),dl.init(e,t)});function Uc(e){return Cs(Hc,e)}var Wc=L(`ZodISODuration`,(e,t)=>{Ha.init(e,t),dl.init(e,t)});function Gc(e){return ws(Wc,e)}var Kc=L(`ZodError`,(e,t)=>{ci.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>di(e,t)},flatten:{value:t=>ui(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,Tr,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,Tr,2)}},isEmpty:{get(){return e.issues.length===0}}})},{Parent:Error}),qc=fi(Kc),Jc=mi(Kc),Yc=gi(Kc),Xc=vi(Kc),Zc=bi(Kc),Qc=xi(Kc),$c=Si(Kc),el=Ci(Kc),tl=wi(Kc),nl=Ti(Kc),rl=Ei(Kc),il=Di(Kc),al=new WeakMap;function ol(e,t,n){let r=Object.getPrototypeOf(e),i=al.get(r);if(i||(i=new Set,al.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}var sl=L(`ZodType`,(e,t)=>(Ta.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:lc(e,`input`),output:lc(e,`output`)}}),e.toJSONSchema=cc(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,n)=>qc(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>Yc(e,t,n),e.parseAsync=async(t,n)=>Jc(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Xc(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>Zc(e,t,n),e.decode=(t,n)=>Qc(e,t,n),e.encodeAsync=async(t,n)=>$c(e,t,n),e.decodeAsync=async(t,n)=>el(e,t,n),e.safeEncode=(t,n)=>tl(e,t,n),e.safeDecode=(t,n)=>nl(e,t,n),e.safeEncodeAsync=async(t,n)=>rl(e,t,n),e.safeDecodeAsync=async(t,n)=>il(e,t,n),ol(e,`ZodType`,{check(...e){let t=this.def;return this.clone(Nr(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Ur(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(tee(e,t))},superRefine(e,t){return this.check(nee(e,t))},overwrite(e){return this.check(Ks(e))},optional(){return gu(this)},exactOptional(){return vu(this)},nullable(){return bu(this)},nullish(){return gu(bu(this))},nonoptional(e){return Eu(this,e)},array(){return Jl(this)},or(e){return eu([this,e])},and(e){return iu(this,e)},transform(e){return Au(this,mu(e))},default(e){return Su(this,e)},prefault(e){return wu(this,e)},catch(e){return Ou(this,e)},pipe(e){return Au(this,e)},readonly(){return Mu(this)},describe(e){let t=this.clone();return Zo.add(t,{description:e}),t},meta(...e){if(e.length===0)return Zo.get(this);let t=this.clone();return Zo.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get(){return Zo.get(e)?.description},configurable:!0}),e)),cl=L(`_ZodString`,(e,t)=>{Ea.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dc(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,ol(e,`_ZodString`,{regex(...e){return this.check(Bs(...e))},includes(...e){return this.check(Us(...e))},startsWith(...e){return this.check(Ws(...e))},endsWith(...e){return this.check(Gs(...e))},min(...e){return this.check(Rs(...e))},max(...e){return this.check(Ls(...e))},length(...e){return this.check(zs(...e))},nonempty(...e){return this.check(Rs(1,...e))},lowercase(e){return this.check(Vs(e))},uppercase(e){return this.check(Hs(e))},trim(){return this.check(Js())},normalize(...e){return this.check(qs(...e))},toLowerCase(){return this.check(Ys())},toUpperCase(){return this.check(Xs())},slugify(){return this.check(Zs())}})}),ll=L(`ZodString`,(e,t)=>{Ea.init(e,t),cl.init(e,t),e.email=t=>e.check($o(fl,t)),e.url=t=>e.check(as(gl,t)),e.jwt=t=>e.check(bs(Ml,t)),e.emoji=t=>e.check(os(vl,t)),e.guid=t=>e.check(es(pl,t)),e.uuid=t=>e.check(ts(ml,t)),e.uuidv4=t=>e.check(ns(ml,t)),e.uuidv6=t=>e.check(rs(ml,t)),e.uuidv7=t=>e.check(is(ml,t)),e.nanoid=t=>e.check(ss(yl,t)),e.guid=t=>e.check(es(pl,t)),e.cuid=t=>e.check(cs(bl,t)),e.cuid2=t=>e.check(ls(xl,t)),e.ulid=t=>e.check(us(Sl,t)),e.base64=t=>e.check(_s(kl,t)),e.base64url=t=>e.check(vs(Al,t)),e.xid=t=>e.check(ds(Cl,t)),e.ksuid=t=>e.check(fs(wl,t)),e.ipv4=t=>e.check(ps(Tl,t)),e.ipv6=t=>e.check(ms(El,t)),e.cidrv4=t=>e.check(hs(Dl,t)),e.cidrv6=t=>e.check(gs(Ol,t)),e.e164=t=>e.check(ys(jl,t)),e.datetime=t=>e.check(zc(t)),e.date=t=>e.check(Vc(t)),e.time=t=>e.check(Uc(t)),e.duration=t=>e.check(Gc(t))});function ul(e){return Qo(ll,e)}var dl=L(`ZodStringFormat`,(e,t)=>{Da.init(e,t),cl.init(e,t)}),fl=L(`ZodEmail`,(e,t)=>{Aa.init(e,t),dl.init(e,t)}),pl=L(`ZodGUID`,(e,t)=>{Oa.init(e,t),dl.init(e,t)}),ml=L(`ZodUUID`,(e,t)=>{ka.init(e,t),dl.init(e,t)});function hl(e){return ts(ml,e)}var gl=L(`ZodURL`,(e,t)=>{ja.init(e,t),dl.init(e,t)});function _l(e){return as(gl,e)}var vl=L(`ZodEmoji`,(e,t)=>{Ma.init(e,t),dl.init(e,t)}),yl=L(`ZodNanoID`,(e,t)=>{Na.init(e,t),dl.init(e,t)}),bl=L(`ZodCUID`,(e,t)=>{Pa.init(e,t),dl.init(e,t)}),xl=L(`ZodCUID2`,(e,t)=>{Fa.init(e,t),dl.init(e,t)}),Sl=L(`ZodULID`,(e,t)=>{Ia.init(e,t),dl.init(e,t)}),Cl=L(`ZodXID`,(e,t)=>{La.init(e,t),dl.init(e,t)}),wl=L(`ZodKSUID`,(e,t)=>{Ra.init(e,t),dl.init(e,t)}),Tl=L(`ZodIPv4`,(e,t)=>{Ua.init(e,t),dl.init(e,t)}),El=L(`ZodIPv6`,(e,t)=>{Wa.init(e,t),dl.init(e,t)}),Dl=L(`ZodCIDRv4`,(e,t)=>{Ga.init(e,t),dl.init(e,t)}),Ol=L(`ZodCIDRv6`,(e,t)=>{Ka.init(e,t),dl.init(e,t)}),kl=L(`ZodBase64`,(e,t)=>{Ja.init(e,t),dl.init(e,t)}),Al=L(`ZodBase64URL`,(e,t)=>{Xa.init(e,t),dl.init(e,t)}),jl=L(`ZodE164`,(e,t)=>{Za.init(e,t),dl.init(e,t)}),Ml=L(`ZodJWT`,(e,t)=>{$a.init(e,t),dl.init(e,t)}),Nl=L(`ZodNumber`,(e,t)=>{eo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fc(e,t,n,r),ol(e,`ZodNumber`,{gt(e,t){return this.check(Ps(e,t))},gte(e,t){return this.check(Fs(e,t))},min(e,t){return this.check(Fs(e,t))},lt(e,t){return this.check(Ms(e,t))},lte(e,t){return this.check(Ns(e,t))},max(e,t){return this.check(Ns(e,t))},int(e){return this.check(Il(e))},safe(e){return this.check(Il(e))},positive(e){return this.check(Ps(0,e))},nonnegative(e){return this.check(Fs(0,e))},negative(e){return this.check(Ms(0,e))},nonpositive(e){return this.check(Ns(0,e))},multipleOf(e,t){return this.check(Is(e,t))},step(e,t){return this.check(Is(e,t))},finite(){return this}});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 Pl(e){return Ts(Nl,e)}var Fl=L(`ZodNumberFormat`,(e,t)=>{to.init(e,t),Nl.init(e,t)});function Il(e){return Es(Fl,e)}var Ll=L(`ZodBoolean`,(e,t)=>{no.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pc(e,t,n,r)});function Rl(e){return Ds(Ll,e)}var zl=L(`ZodNull`,(e,t)=>{ro.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mc(e,t,n,r)});function Bl(e){return Os(zl,e)}var Vl=L(`ZodUnknown`,(e,t)=>{io.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Hl(){return ks(Vl)}var Ul=L(`ZodNever`,(e,t)=>{ao.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gc(e,t,n,r)});function Wl(e){return As(Ul,e)}var Gl=L(`ZodVoid`,(e,t)=>{oo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hc(e,t,n,r)});function Kl(e){return js(Gl,e)}var ql=L(`ZodArray`,(e,t)=>{co.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sc(e,t,n,r),e.element=t.element,ol(e,`ZodArray`,{min(e,t){return this.check(Rs(e,t))},nonempty(e){return this.check(Rs(1,e))},max(e,t){return this.check(Ls(e,t))},length(e,t){return this.check(zs(e,t))},unwrap(){return this.element}})});function Jl(e,t){return Qs(ql,e,t)}var Yl=L(`ZodObject`,(e,t)=>{mo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cc(e,t,n,r),jr(e,`shape`,()=>t.shape),ol(e,`ZodObject`,{keyof(){return uu(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:Hl()})},loose(){return this.clone({...this._zod.def,catchall:Hl()})},strict(){return this.clone({...this._zod.def,catchall:Wl()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return Yr(this,e)},safeExtend(e){return Xr(this,e)},merge(e){return Zr(this,e)},pick(e){return qr(this,e)},omit(e){return Jr(this,e)},partial(...e){return Qr(hu,this,e[0])},required(...e){return $r(Tu,this,e[0])}})});function Xl(e,t){return new Yl({type:`object`,shape:e??{},...Wr(t)})}function Zl(e,t){return new Yl({type:`object`,shape:e,catchall:Wl(),...Wr(t)})}function Ql(e,t){return new Yl({type:`object`,shape:e,catchall:Hl(),...Wr(t)})}var $l=L(`ZodUnion`,(e,t)=>{go.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wc(e,t,n,r),e.options=t.options});function eu(e,t){return new $l({type:`union`,options:e,...Wr(t)})}var tu=L(`ZodDiscriminatedUnion`,(e,t)=>{$l.init(e,t),_o.init(e,t)});function nu(e,t,n){return new tu({type:`union`,options:t,discriminator:e,...Wr(n)})}var ru=L(`ZodIntersection`,(e,t)=>{vo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Tc(e,t,n,r)});function iu(e,t){return new ru({type:`intersection`,left:e,right:t})}var au=L(`ZodTuple`,(e,t)=>{xo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ec(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})});function ou(e,t,n){let r=t instanceof Ta;return new au({type:`tuple`,items:e,rest:r?t:null,...Wr(r?n:t)})}var su=L(`ZodRecord`,(e,t)=>{To.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Dc(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function cu(e,t,n){return!t||!t._zod?new su({type:`record`,keyType:ul(),valueType:e,...Wr(t)}):new su({type:`record`,keyType:e,valueType:t,...Wr(n)})}var lu=L(`ZodEnum`,(e,t)=>{Eo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_c(e,t,n,r),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 lu({...t,checks:[],...Wr(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 lu({...t,checks:[],...Wr(r),entries:i})}});function uu(e,t){return new lu({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...Wr(t)})}var du=L(`ZodLiteral`,(e,t)=>{Do.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vc(e,t,n,r),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 fu(e,t){return new du({type:`literal`,values:Array.isArray(e)?e:[e],...Wr(t)})}var pu=L(`ZodTransform`,(e,t)=>{Oo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xc(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new xr(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(oi(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(oi(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}});function mu(e){return new pu({type:`transform`,transform:e})}var hu=L(`ZodOptional`,(e,t)=>{Ao.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ic(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function gu(e){return new hu({type:`optional`,innerType:e})}var _u=L(`ZodExactOptional`,(e,t)=>{jo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ic(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function vu(e){return new _u({type:`optional`,innerType:e})}var yu=L(`ZodNullable`,(e,t)=>{Mo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Oc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function bu(e){return new yu({type:`nullable`,innerType:e})}var xu=L(`ZodDefault`,(e,t)=>{No.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ac(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Su(e,t){return new xu({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Br(t)}})}var Cu=L(`ZodPrefault`,(e,t)=>{Fo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function wu(e,t){return new Cu({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Br(t)}})}var Tu=L(`ZodNonOptional`,(e,t)=>{Io.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Eu(e,t){return new Tu({type:`nonoptional`,innerType:e,...Wr(t)})}var Du=L(`ZodCatch`,(e,t)=>{Ro.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Mc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Ou(e,t){return new Du({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var ku=L(`ZodPipe`,(e,t)=>{zo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nc(e,t,n,r),e.in=t.in,e.out=t.out});function Au(e,t){return new ku({type:`pipe`,in:e,out:t})}var ju=L(`ZodReadonly`,(e,t)=>{Vo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Mu(e){return new ju({type:`readonly`,innerType:e})}var Nu=L(`ZodLazy`,(e,t)=>{Go.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Lc(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function Pu(e){return new Nu({type:`lazy`,getter:e})}var Fu=L(`ZodPromise`,(e,t)=>{Wo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fc(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Iu(e){return new Fu({type:`promise`,innerType:e})}var Lu=L(`ZodFunction`,(e,t)=>{Uo.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bc(e,t,n,r)});function Ru(e){return new Lu({type:`function`,input:Array.isArray(e?.input)?ou(e?.input):e?.input??Jl(Hl()),output:e?.output??Hl()})}var zu=L(`ZodCustom`,(e,t)=>{Ko.init(e,t),sl.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yc(e,t,n,r)});function Bu(e,t){return $s(zu,e??(()=>!0),t)}function tee(e,t={}){return ec(zu,e,t)}function nee(e,t){return tc(e,t)}function Vu(e,t={}){let n=new zu({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...Wr(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}function Hu(e){let t=Pu(()=>eu([ul(e),Pl(),Rl(),Bl(),Jl(t),cu(ul(),t)]));return t}uu(`light.dark.latte.mocha.readout.readout-night.field-guide.field-guide-night.embed.embed-dark.phosphor.codec.paper.ember.tide.tape.sunrise.pirate-radio.pirate-radio-night.consulting.consulting-ink.consulting-night.consulting-night-ink.consulting-riso-latte.consulting-riso-latte-ink.consulting-riso-glomzy.consulting-riso-glomzy-ink.vishnu.coin.coin-night.chamfer`.split(`.`));var Uu=`data-theme`;function Wu(e){return e||(globalThis.document?.documentElement??null)}function ree(e){let t=e.trim();if(t.length===0)throw TypeError(`Theme must be a non-empty string`);return t}function Gu(e,t){let n=ree(e),r=Wu(t);r&&r.setAttribute(Uu,n)}function Ku(e){return Wu(e)?.getAttribute(Uu)??null}function iee(e,t){let n=Wu(t),r=globalThis,i=(n?.ownerDocument??null)?.defaultView?.MutationObserver??r.MutationObserver;if(!n||!i)return()=>void 0;let a=new i(t=>{if(!t.some(e=>e.type===`attributes`&&e.attributeName===Uu))return;let r=n.getAttribute(Uu);r&&e(r)});a.observe(n,{attributes:!0,attributeFilter:[Uu]});let o=!1;return()=>{o||(o=!0,a.disconnect())}}var aee=Object.freeze([`2xs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`]);Object.freeze(`--stipe-font-synthesis.--stipe-surface-frame-width.--stipe-surface-frame-image.--stipe-surface-molding-contrast.--stipe-shadow-raised.--stipe-shadow-inset.--stipe-shadow-edge.--stipe-display-gasket-face.--stipe-display-texture-image.--stipe-display-text-shadow.--stipe-canvas.--stipe-surface.--stipe-surface-raised.--stipe-surface-selected.--stipe-fg-muted.--stipe-linework.--stipe-hairline.--stipe-hairline-quiet.--stipe-figure-ink.--stipe-density-compact.--stipe-density-comfortable.--stipe-motion-spring.--stipe-motion-squish.--stipe-motion-fast.--stipe-motion-normal.--stipe-motion-slow.--stipe-motion-ease.--stipe-motion-ease-exit.--stipe-motion-bounce.--stipe-motion-spring-duration.--stipe-motion-stretch.--stipe-motion-distance.--stipe-motion-stagger.--stipe-motion-blur.--stipe-motion-shake.--stipe-motion-steps.--stipe-motion-fuse.--stipe-press-depth.--stipe-press-scale.--stipe-layer-desktop.--stipe-layer-windows.--stipe-layer-chrome.--stipe-layer-popover.--stipe-layer-dialog.--stipe-layer-toast.--stipe-layer-tooltip.--stipe-overlay-shadow-outset.--stipe-icon-size-sm.--stipe-icon-size-md.--stipe-icon-size-lg.--stipe-icon-stroke.--stipe-card-rim.--stipe-card-rim-edge.--stipe-card-face.--stipe-card-panel.--stipe-card-ink.--stipe-card-ink-muted.--stipe-card-accent.--stipe-card-shadow.--stipe-card-foil-highlight.--stipe-card-foil-warm.--stipe-card-foil-cool.--stipe-avatar-shadow.--stipe-art-coral.--stipe-art-blue.--stipe-art-mint.--stipe-art-grape.--stipe-art-yellow.--stipe-art-cream.--stipe-art-ink.--stipe-art-inkcap.--stipe-art-graphite.--stipe-sketch-ink`.split(`.`));function qu(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=qu(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function oee(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=qu(e))&&(r&&(r+=` `),r+=t);return r}var Ju=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Yu=oee,see=(e,t)=>n=>{if(t?.variants==null)return Yu(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=Ju(t)||Ju(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return Yu(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},Xu=Object.defineProperty,cee=((e,t)=>{let n={};for(var r in e)Xu(n,r,{get:e[r],enumerable:!0});return t||Xu(n,Symbol.toStringTag,{value:`Module`}),n})({isAny:()=>ed,isAnyNonArbitrary:()=>See,isArbitraryFamilyName:()=>kee,isArbitraryImage:()=>jee,isArbitraryLength:()=>Eee,isArbitraryNumber:()=>Dee,isArbitraryPosition:()=>Aee,isArbitraryShadow:()=>Mee,isArbitrarySize:()=>Tee,isArbitraryValue:()=>dd,isArbitraryVariable:()=>fd,isArbitraryVariableFamilyName:()=>Nee,isArbitraryVariableImage:()=>Iee,isArbitraryVariableLength:()=>pd,isArbitraryVariablePosition:()=>Pee,isArbitraryVariableShadow:()=>Lee,isArbitraryVariableSize:()=>Fee,isArbitraryVariableWeight:()=>Ree,isArbitraryWeight:()=>Oee,isFraction:()=>hee,isInteger:()=>gee,isNamedContainerQuery:()=>Cee,isNumber:()=>$u,isPercent:()=>_ee,isTshirtSize:()=>vee}),Zu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Qu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,lee=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,uee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dee=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fee=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pee=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mee=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,hee=e=>lee.test(e),$u=e=>!!e&&!Number.isNaN(Number(e)),gee=e=>!!e&&Number.isInteger(Number(e)),_ee=e=>e.endsWith(`%`)&&$u(e.slice(0,-1)),vee=e=>uee.test(e),ed=()=>!0,yee=e=>dee.test(e)&&!fee.test(e),td=()=>!1,bee=e=>pee.test(e),xee=e=>mee.test(e),See=e=>!dd(e)&&!fd(e),Cee=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),nd=(e,t,n)=>{let r=Zu.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},rd=(e,t,n=!1)=>{let r=Qu.exec(e);return r?r[1]?t(r[1]):n:!1},id=e=>e===`position`||e===`percentage`,ad=e=>e===`image`||e===`url`,od=e=>e===`length`||e===`size`||e===`bg-size`,sd=e=>e===`length`,wee=e=>e===`number`,cd=e=>e===`family-name`,ld=e=>e===`number`||e===`weight`,ud=e=>e===`shadow`,Tee=e=>nd(e,od,td),dd=e=>Zu.test(e),Eee=e=>nd(e,sd,yee),Dee=e=>nd(e,wee,$u),Oee=e=>nd(e,ld,ed),kee=e=>nd(e,cd,td),Aee=e=>nd(e,id,td),jee=e=>nd(e,ad,xee),Mee=e=>nd(e,ud,bee),fd=e=>Qu.test(e),pd=e=>rd(e,sd),Nee=e=>rd(e,cd),Pee=e=>rd(e,id),Fee=e=>rd(e,od),Iee=e=>rd(e,ad),Lee=e=>rd(e,ud,!0),Ree=e=>rd(e,ld,!0),md=(e,t)=>{let n=Object.keys(e);return n.length===1&&n[0]===t&&typeof e[t]==`string`},zee=e=>typeof e==`function`&&e.isThemeGetter===!0,Bee=e=>({...e,theme:{...e.theme},classGroups:{...e.classGroups},conflictingClassGroups:{...e.conflictingClassGroups},conflictingClassGroupModifiers:{...e.conflictingClassGroupModifiers},orderSensitiveModifiers:[...e.orderSensitiveModifiers],postfixLookupClassGroups:[...e.postfixLookupClassGroups??[]]}),Vee=(e,t)=>{let n=Bee(e);t.prefix!==void 0&&(n.prefix=t.prefix);let r=(e,t)=>{if(t)for(let n in t)t[n]!==void 0&&(e[n]=t[n])},i=t.override;i&&(i.orderSensitiveModifiers&&(n.orderSensitiveModifiers=[...i.orderSensitiveModifiers]),r(n.theme,i.theme),r(n.classGroups,i.classGroups),r(n.conflictingClassGroups,i.conflictingClassGroups),r(n.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers));let a=(e,t)=>{if(t)for(let n in t){let r=t[n];r&&(e[n]=(e[n]??[]).concat(r))}},o=t.extend;return o&&(o.orderSensitiveModifiers&&(n.orderSensitiveModifiers=[...n.orderSensitiveModifiers,...o.orderSensitiveModifiers]),a(n.theme,o.theme),a(n.classGroups,o.classGroups),a(n.conflictingClassGroups,o.conflictingClassGroups),a(n.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers)),n},hd={isAny:0,isAnyNonArbitrary:1,isArbitraryValue:2,isArbitraryVariable:3,isFraction:4,isNumber:5,isInteger:6,isPercent:7,isTshirtSize:8,isNamedContainerQuery:9,isArbitraryLength:10,isArbitraryNumber:11,isArbitraryWeight:12,isArbitraryFamilyName:13,isArbitraryPosition:14,isArbitrarySize:15,isArbitraryImage:16,isArbitraryShadow:17,isArbitraryVariableLength:18,isArbitraryVariableFamilyName:19,isArbitraryVariablePosition:20,isArbitraryVariableSize:21,isArbitraryVariableImage:22,isArbitraryVariableShadow:23,isArbitraryVariableWeight:24},Hee=25,Uee=()=>({names:[],idByName:new Map,impls:{},fnName:new Map,classifierFns:new Map}),gd=(e,t,n)=>{let r=e.idByName.get(t);return r===void 0&&(r=e.names.length,e.names.push(t),e.idByName.set(t,r),e.classifierFns.set(t,n)),r},_d=(e,t)=>{if(typeof t==`function`){let n=e.fnName.get(t);return n===void 0&&(n=`$c`+e.fnName.size,e.fnName.set(t,n),e.impls[n]=t),gd(e,n,t)}let n=t.$v,r=cee[n];if(hd[n]===void 0||!r)throw Error(`cn: unknown validator "${n}"`);return gd(e,n,r)},vd=()=>({nextPart:new Map,validators:null,classGroupId:-1,lit:[]}),Wee=(e,t)=>e.theme[t]??[],Gee=(e,t,n)=>{let r=vd(),i=(e,t)=>{for(let n of t.split(`-`)){let t=e.nextPart.get(n);t||(t=vd(),e.nextPart.set(n,t)),e=t}return e},a=(n,r,o)=>{if(typeof n==`string`){let e=n===``?r:i(r,n);e.classGroupId=o;return}if(typeof n==`function`){if(zee(n)){for(let t of n(e.theme))a(t,r,o);return}(r.validators??=[]).push({validatorId:_d(t,n),groupId:o});return}if(md(n,`$t`)){for(let t of Wee(e,n.$t))a(t,r,o);return}if(md(n,`$v`)){(r.validators??=[]).push({validatorId:_d(t,n),groupId:o});return}for(let[e,t]of Object.entries(n)){let n=i(r,e);for(let e of t)a(e,n,o)}};for(let[t,i]of Object.entries(e.classGroups)){let e=n(t);for(let t of i)a(t,r,e)}return r},Kee=e=>{let t=Uee(),n=[],r=new Map,i=e=>{let t=r.get(e);return t===void 0&&(t=n.length,n.push(e),r.set(e,t)),t},a=Gee(e,t,i),o=e=>{if(e.validators)return!1;for(let t of e.nextPart.values())if(!o(t))return!1;return!0},s=(e,t,n)=>{e.classGroupId>=0&&n.push({tail:t,gid:e.classGroupId});for(let[r,i]of e.nextPart)s(i,t+`-`+r,n)},c=e=>{for(let[t,n]of[...e.nextPart])o(n)?(s(n,t,e.lit),e.nextPart.delete(t)):c(n)};c(a);let l=[{edges:new Map,groupId:-1,vlist:-1}],u=()=>(l.push({edges:new Map,groupId:-1,vlist:-1}),l.length-1),d=[],f=new Map,p=e=>{let t=e.map(e=>e.validatorId+`:`+e.groupId).join(`,`),n=f.get(t);return n===void 0&&(n=d.length,d.push(e.map(e=>[e.validatorId,e.groupId])),f.set(t,n)),n},m=(e,t)=>{let n=e;for(let e=0;e<t.length;e++){let r=t.charCodeAt(e),i=l[n].edges.get(r);i===void 0&&(i=u(),l[n].edges.set(r,i)),n=i}return n},h=[],g=(e,t,n)=>{e.classGroupId>=0&&(l[t].groupId=e.classGroupId),e.validators&&(l[t].vlist=p(e.validators));for(let{tail:n,gid:r}of e.lit)h.push({anchor:t,tail:n,gid:r});for(let[r,i]of e.nextPart){let e=t;if(!n){let n=l[t].edges.get(45);n===void 0&&(n=u(),l[t].edges.set(45,n)),e=n}let a=m(e,r);g(i,a,!1)}};g(a,0,!0);let _=new Set(h.map(e=>e.anchor)),v=e=>l[e].groupId>=0||l[e].vlist>=0||_.has(e),y=new Map,b=[],x=e=>{let t=b.length;y.set(e,t);let n={edges:[],groupId:l[e].groupId,vlist:l[e].vlist};b.push(n);let r=[...l[e].edges.entries()].sort((e,t)=>e[0]-t[0]);for(let[e,t]of r){let r=String.fromCharCode(e),i=t;for(;l[i].edges.size===1&&!v(i);){let[[e,t]]=l[i].edges.entries();r+=String.fromCharCode(e),i=t}n.edges.push({label:r,oldTarget:i})}for(let e of n.edges)x(e.oldTarget);return t};x(0);let S=b.length,C=0;for(let e of b)C+=e.edges.length;let w=new Int32Array(S),T=new Int32Array(C),E=``,D=new Int32Array(S),O=new Int32Array(S),k=[];{let e=0;for(let t=0;t<S;t++){let n=b[t];w[t]=n.edges.length;for(let t of n.edges)T[e]=t.label.length,E+=t.label,k.push(y.get(t.oldTarget)),e++;D[t]=n.groupId,O[t]=n.vlist}}{let e=new Int32Array(S);for(let t=S-1;t>=0;t--){let n=1,r=t+1;for(let i=0;i<w[t];i++)n+=e[r],r+=e[r];e[t]=n}let t=0;for(let n=0;n<S;n++){let r=n+1;for(let i=0;i<w[n];i++){if(r!==k[t])throw Error(`cn compiler: edge target mismatch at ${t}`);r+=e[r],t++}}}for(let e of h)e.anchor=y.get(e.anchor);{let e=new Int32Array(d.length).fill(-1),t=[];for(let n=0;n<S;n++){let r=O[n];r>=0&&(e[r]===-1&&(e[r]=t.length,t.push(d[r])),O[n]=e[r])}d.length=0,d.push(...t)}let A=0;for(let e of d)A+=e.length;let j=new Int32Array(A),M=new Int32Array(A);{let e=0;for(let t of d)for(let[n,r]of t)j[e]=n,M[e]=r,e++}h.sort((e,t)=>e.anchor-t.anchor||e.gid-t.gid||(e.tail<t.tail?-1:1));let N=[];for(let e of h){let t=N[N.length-1];t&&t.anchor===e.anchor&&t.gid===e.gid?t.tails.push(e.tail):N.push({anchor:e.anchor,gid:e.gid,tails:[e.tail],set:-1})}let P=new Map,ee=[];for(let e of N){let t=e.tails.join(` `),n=P.get(t);n===void 0&&(n=ee.length,P.set(t,n),ee.push(e.tails)),e.set=n}for(let e of ee.flat())if(e.includes(`|`)||e.includes(` `))throw Error(`cn compiler: tail contains delimiter: `+e);let te=new Set(ee.flat()).size;N.sort((e,t)=>e.anchor-t.anchor||e.set-t.set);for(let t of Object.values(e.conflictingClassGroups))for(let e of t)i(e);for(let t of Object.values(e.conflictingClassGroupModifiers))for(let e of t)i(e);for(let t of e.postfixLookupClassGroups??[])i(t);let ne=n.length,re=new Int32Array(ne).fill(-1),ie=0,ae=e=>(re[e]===-1&&(re[e]=ie++),re[e]);for(let e=0;e<M.length;e++)M[e]=ae(M[e]);for(let e of N)e.gid=ae(e.gid);for(let e=0;e<D.length;e++)D[e]>=0&&(D[e]=ae(D[e]));for(let e=0;e<ne;e++)re[e]===-1&&(re[e]=ie++);let oe=Array(ne);for(let e=0;e<ne;e++)oe[re[e]]=n[e];let se=[],ce=[],le=[],ue=[],de=[];for(let t=0;t<ne;t++){let n=oe[t],i=(e.conflictingClassGroups[n]??[]).map(e=>re[r.get(e)]),a=(e.conflictingClassGroupModifiers[n]??[]).map(e=>re[r.get(e)]);i.length&&(se.push(t),ce.push(i.length),le.push(...i));for(let e of a)ue.push(t),de.push(e)}let fe=(e.postfixLookupClassGroups??[]).map(e=>re[r.get(e)]),pe=[],me=new Int32Array(j.length);for(let e=0;e<j.length;e++){let n=t.names[j[e]],r=hd[n];if(r!==void 0)me[e]=r;else{let t=pe.indexOf(n);t===-1&&(t=pe.length,pe.push(n)),me[e]=Hee+t}}let he=new Map,ge=[],_e=[],ve=[];{let e=0;for(let t of d){let n=[];for(let r=0;r<t.length;r++)n.push(me[e++]);let r=n.join(`,`),i=he.get(r);i===void 0&&(i=ge.length,he.set(r,i),ge.push(n.length),_e.push(...n)),ve.push(i)}}let ye={};for(let e of pe)ye[e]=t.classifierFns.get(e);return{G:ne,customNames:pe,impls:ye,edgeCounts:w,edgeLabelLen:T,labelText:E,edgeTargetActual:k,nodeGroup:D,nodeVlist:O,nodeCount:S,totalEdges:C,patCounts:ge,patOps:_e,listPat:ve,vlistGroup:M,litEntries:h,sets:ee,attachments:N,uniqueTailCount:te,adjGid:se,adjCnt:ce,adjTgt:le,patGid:ue,patTgt:de,postfixLookup:fe,orderSensitiveModifiers:e.orderSensitiveModifiers.join(` `),prefix:e.prefix}},yd=e=>{let t=new Int32Array(e.length+1);for(let n=0;n<e.length;n++)t[n+1]=t[n]+e[n];return t},qee=e=>{let t=Kee(e),n=t.litEntries.length,r=new Int32Array(n),i=new Int32Array(n),a=new Int32Array(n),o=``,s=new Int32Array(t.uniqueTailCount*2);{let e=new Map,n=0,c=0;for(let l of t.attachments)for(let u of t.sets[l.set]){let t=e.get(u);t===void 0&&(t=n++,e.set(u,t),s[t*2]=o.length,s[t*2+1]=u.length,o+=u),r[c]=l.anchor,i[c]=l.gid,a[c]=t,c++}}return{tables:{GROUP_COUNT:t.G,edgeStart:yd(t.edgeCounts),labelStart:yd(t.edgeLabelLen),labelText:t.labelText,edgeTarget:Int32Array.from(t.edgeTargetActual),nodeGroup:t.nodeGroup,nodeVlist:t.nodeVlist,vlistPat:yd(t.patCounts),vlistOps:Int32Array.from(t.patOps),vlistRef:Int32Array.from(t.listPat),vlistGroup:t.vlistGroup,litAnchor:r,litGroup:i,litPool:a,poolOffsets:s,poolText:o,adjGid:Int32Array.from(t.adjGid),adjStart:yd(t.adjCnt),adjTgt:Int32Array.from(t.adjTgt),patGid:Int32Array.from(t.patGid),patTgt:Int32Array.from(t.patTgt),postfixLookupGroups:Int32Array.from(t.postfixLookup),customValidatorNames:t.customNames,orderSensitiveModifiers:t.orderSensitiveModifiers},validatorImpls:t.impls,prefix:t.prefix}},Jee=`line`in Error(),bd=-1,xd=-1,Sd=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},Cd=(e,t,n)=>{let r=n-t,i=Math.imul(r,2654435761)^e.charCodeAt(t);if(r>3){let a=r>>2,o=r>>1;i=Math.imul(i^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+a),2246822507),i=Math.imul(i^e.charCodeAt(t+o)<<8^e.charCodeAt(t+o+a)<<16^e.charCodeAt(n-3),3266489909),i^=e.charCodeAt(n-2)<<8^e.charCodeAt(n-1)<<16;for(let r=t+3,a=n-4;r<t+8&&r<a;r++,a--)i=Math.imul(i^e.charCodeAt(r)^e.charCodeAt(a)<<8,16777619)}return i^i>>>15|0},wd=(e,t,n={})=>{let{GROUP_COUNT:r,edgeStart:i,labelStart:a,labelText:o,edgeTarget:s,nodeGroup:c,nodeVlist:l,vlistPat:u,vlistOps:d,vlistRef:f,vlistGroup:p,litAnchor:m,litGroup:h,litPool:g,poolOffsets:_,poolText:v,adjGid:y,adjStart:b,adjTgt:x,patGid:S,patTgt:C,postfixLookupGroups:w,customValidatorNames:T,orderSensitiveModifiers:E}=e,D=new Int32Array(r).fill(-1);for(let e=0;e<y.length;e++)D[y[e]]=e;let O=0;for(let e=0;e+1<b.length;e++){let t=b[e+1]-b[e];t>O&&(O=t)}let k=32;for(;k<2*(1+O+S.length);)k<<=1;let A=new Int32Array(f.length+1);for(let e=0;e<f.length;e++)A[e+1]=A[e]+u[f[e]+1]-u[f[e]];let j=new Uint8Array(r);for(let e=0;e<w.length;e++)j[w[e]]=1;let M=i.length-1,N=new Uint8Array(M),P=0,ee=!0;for(let e=0;e<m.length;e++){N[m[e]]=1;let t=_[g[e]*2+1];t>P&&(P=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(ee=!1)}let te=1;for(;te<m.length*2;)te<<=1;let ne=new Int32Array(te).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(Sd(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&te-1;for(;ne[n]!==-1;)n=n+1&te-1;ne[n]=e}let re=(e,t,n,r)=>{let i=(Sd(t,n,r)^Math.imul(e,2654435761)|0)&te-1,a=r-n;for(;;){let r=ne[i];if(r===-1)return-1;if(m[r]===e&&_[g[r]*2+1]===a){let e=_[g[r]*2],i=!0;for(let r=0;r<a;r++)if(v.charCodeAt(e+r)!==t.charCodeAt(n+r)){i=!1;break}if(i)return h[r]}i=i+1&te-1}},ie=n.cacheSize??8192,ae=n.prefix??e.prefix??``,oe=ae===``?``:ae+`:`,se=oe.length,ce=(T??[]).map(e=>{let n=t&&t[e];if(!n)throw Error(`cn: missing validator `+e);return n}),le=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,de=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pe=0,me=-1,he=-1,ge=-1,_e=-1,ve=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===95,ye=e=>/\s/.test(String.fromCharCode(e)),be=(e,t,n)=>{if(pe=0,me=-1,n-t<3)return;let r=e.charCodeAt(t),i=e.charCodeAt(n-1);if(r===91&&i===93)pe=1;else if(r===40&&i===41)pe=2;else return;ge=t+1,_e=n-1;let a=t+1;if(ve(e.charCodeAt(a))){for(a++;a<n-1;){let t=e.charCodeAt(a);if(!ve(t)&&t!==45)break;a++}a<n-2&&e.charCodeAt(a)===58&&(me=t+1,he=a,ge=a+1)}},xe=(e,t,n,r)=>{if(n-t!==r.length)return!1;for(let n=0;n<r.length;n++)if(e.charCodeAt(t+n)!==r.charCodeAt(n))return!1;return!0},Se=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ce=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,we=e=>!!e&&!Number.isNaN(Number(e)),Te=(e,t,n)=>{if(n-t<11||!xe(e,t,t+10,`@container`))return!1;if(e.charCodeAt(t+10)===47)return n-t>=12;let r=e.charCodeAt(t+11);return r===115&&n-t>=17&&xe(e,t+10,t+16,`-size/`)||r===110&&n-t>=19&&xe(e,t+10,t+18,`-normal/`)},Ee=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],De=`length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight`.split(`|`).map(e=>e.split(` `)),Oe=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],ke=(e,t,n,r)=>{if(e>=10){if(e>=25)return ce[e-25](t.slice(n,r));let i=e-10;if(pe!==Ee[i])return!1;if(me>=0){for(let e of De[i])if(xe(t,me,he,e))return!0;return!1}switch(Oe[i]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(ge,_e);return le.test(e)&&!ue.test(e)}case 3:return we(t.slice(ge,_e));case 4:return fe.test(t.slice(ge,_e));default:return de.test(t.slice(ge,_e))}}switch(e){case 0:return!0;case 1:return pe===0;case 2:return pe===1;case 3:return pe===2;case 4:return Se.test(t.slice(n,r));case 5:return we(t.slice(n,r));case 6:{let e=t.slice(n,r);return!!e&&Number.isInteger(Number(e))}case 7:return r>n&&t.charCodeAt(r-1)===37&&we(t.slice(n,r-1));case 8:return Ce.test(t.slice(n,r));default:return Te(t,n,r)}},Ae=new Set(typeof E==`string`?E.split(` `):E),je=(e,t,n,r,i,a)=>{let o=Sd(t,n,r)^(i?2654435769:0)|0,s=e.get(o);if(s!==void 0)outer:for(let e=0;e<s.length;e++){let a=s[e];if(a.imp===i&&a.k.length===r-n){for(let e=0;e<a.k.length;e++)if(a.k.charCodeAt(e)!==t.charCodeAt(n+e))continue outer;return a.id}}else e.set(o,s=[]);let c=t.slice(n,r),l=a(c);return s.push({k:c,imp:i,id:l}),l},Me=new Map,Ne=new Map,Pe=2,Fe=4096,Ie=(e,t)=>{let n=[],r=0,i=0,a=0;for(let t=0;t<e.length;t++){let o=e.charCodeAt(t);r===0&&i===0&&o===58?(n.push(e.slice(a,t)),a=t+1):o===91?r++:o===93?r--:o===40?i++:o===41&&i--}n.push(e.slice(a));let o=n[0];if(n.length>1){let e=[],t=[];for(let r of n)r.charCodeAt(0)===91||Ae.has(r)?(t.length&&(e.push(...t.sort()),t=[]),e.push(r)):t.push(r);t.length&&e.push(...t.sort()),o=e.join(`:`)}let s=t?o+` !`:o,c=Ne.get(s);return c===void 0&&Ne.set(s,c=Pe++),c},Le=new Map,Re=r,ze=r+4096,Be=()=>Re++,Ve=2097152,He=8192,Ue=new Int32Array(He),We=Array(He).fill(null),Ge=new Int32Array(He),Ke=new Int32Array(He),qe=new Uint8Array(He),Je=0,Ye=(e,t,n,r,i,a,o,s)=>{let c=e;if(We[e]!==null){if(We[e|1]===null)c=e|1;else if(!(Je++&3))c=e|Je>>2&1;else return}We[c]=t.slice(n,r),Ue[c]=i,Ge[c]=a,Ke[c]=o,qe[c]=s},Xe=()=>We.fill(null),Ze=256,Qe=[new Int32Array(Ze),new Int32Array(Ze),new Int32Array(Ze),new Int32Array(Ze)],[$e,et,tt,nt]=Qe,rt=new Uint8Array(Ze),it=new Uint8Array(Ze),at=()=>{Ze*=2,Qe=Qe.map(e=>{let t=new Int32Array(Ze);return t.set(e),t}),[$e,et,tt,nt]=Qe;let e=new Uint8Array(Ze);e.set(rt),rt=e,it=new Uint8Array(Ze)},ot=64,st=new Int32Array(ot),ct=new Int32Array(ot),lt=new Int32Array(r),ut=2048,dt=21,ft=new Float64Array(ut),pt=new Int32Array(ut),mt=0,ht=(e,t)=>{if(e===0&&t<r)return lt[t]===mt?1:(lt[t]=mt,0);let n=e*2097152+t+1,i=Math.imul(n,2654435761)>>>dt;for(;pt[i]===mt;){if(ft[i]===n)return 1;i=i+1&ut-1}return ft[i]=n,pt[i]=mt,0},gt=(e,t,n,r,i)=>{if(n-t>=2&&e.charCodeAt(t)===91&&e.charCodeAt(n-1)===93){let r=-1;for(let i=t+1;i<n-1;i++)if(e.charCodeAt(i)===58){r=i;break}return r===-1||r===t+1?bd:je(Le,e,t+1,r,0,Be)}if(r>=0&&c[r]>=0)return c[r];for(let t=i-1;t>=0;t--){let r=ct[t];if(r>n)continue;let i=st[t],a=n-r;if(N[i]===1&&a>0&&a<=P){let t=e.charCodeAt(r);if(ee===!1||t!==91&&t!==40){let t=re(i,e,r,n);if(t>=0)return t}}let o=l[i];if(o<0)continue;let s=f[o],c=u[s],m=u[s+1];if(c===m)continue;be(e,r,n);let h=A[o]-c;for(let t=c;t<m;t++)if(ke(d[t],e,r,n))return p[h+t]}return bd},_t=e=>{let t=e.length,n=0,c=0,u=!1;(Pe>Fe||Me.size>Fe)&&(Me=new Map,Ne=new Map,Pe=2,Xe()),Re>ze&&(Le=new Map,Re=r,Xe());let d=0;for(;d<t;){let f=e.charCodeAt(d);if(f===32||f>=9&&f<=13||f>=160&&ye(f)){f!==32&&(u=!0),d++;continue}let p=d,m=0;for(;d<t;){if(f=e.charCodeAt(d),f<=32){if(f===32)break;if(f>=9&&f<=13){u=!0;break}}else if(f>=160&&ye(f)){u=!0;break}m=Math.imul(m^f,16777619),d++}let h=d,g=h-p;n===Ze&&at();let _=n++;$e[_]=p,et[_]=h,c+=g,m^=Math.imul(g,2654435761);let v=m^m>>>15|0,y=v&8190;{let t=-1;if(Ue[y]===v&&We[y]!==null&&We[y].length===g?t=y:Ue[y|1]===v&&We[y|1]!==null&&We[y|1].length===g&&(t=y|1),t>=0){let n=We[t],r=!0;for(let t=0;t<g;t++)if(n.charCodeAt(t)!==e.charCodeAt(p+t)){r=!1;break}if(r){tt[_]=Ge[t],nt[_]=Ke[t],rt[_]=qe[t];continue}}}let b=p;if(se!==0){if(h-p<=se||!e.startsWith(oe,p)){tt[_]=bd,Ye(y,e,p,h,v,bd,0,0);continue}b=p+se}let x=0,S=0,C=-1,w=-1;for(let t=b;t<h;t++){let n=e.charCodeAt(t);if(x===0&&S===0){if(n===58){C=t;continue}if(n===47){w=t;continue}}n===91?x++:n===93?x--:n===40?S++:n===41&&S--}let T=C>=b?C+1:b,E=T,D=h,O=!1,k=0;D>E&&e.charCodeAt(D-1)===33?(O=!0,D--):D>E&&e.charCodeAt(E)===33&&(O=!0,E++,k=1);let A=-1;w>T&&(A=w+k,A>=D&&(A=-1));let M=E;D-E>1&&e.charCodeAt(E)===45&&(M=E+1);let P=0,ee=0,te=0,ne=-1,re=0;(l[0]>=0||N[0]===1)&&(st[0]=0,ct[0]=M,re=1);let ie=xd,ae=0;for(let t=M;t<D;t++)if(t===A&&(ie=ee<te?xd:P,ae=re),P!==xd){let n=e.charCodeAt(t),r=-1;if(ee<te)o.charCodeAt(ee)===n?(ee++,ee===te&&(r=P=ne)):P=xd;else{let e=i[P],t=i[P+1],c=xd;for(let i=e;i<t;i++){let e=a[i];if(o.charCodeAt(e)===n){a[i+1]-e===1?r=c=s[i]:(ee=e+1,te=a[i+1],ne=s[i],c=P);break}}P=c}if(r>=0&&(l[r]>=0||N[r]===1)&&t+1<D&&e.charCodeAt(t+1)===45){if(re===ot){ot*=2;let e=new Int32Array(ot);e.set(st),st=e;let t=new Int32Array(ot);t.set(ct),ct=t}st[re]=r,ct[re]=t+2,re++}}A===D&&(ie=ee<te?xd:P,ae=re);let ce=ee<te?xd:P,le,ue=!1;if(A>=0){if(ue=!0,le=gt(e,E,A,ie,ae),le!==bd&&le<r&&j[le]){let t=gt(e,E,D,ce,re);t!==bd&&t!==le&&(le=t,ue=!1)}else le===bd&&(le=gt(e,E,D,ce,re),ue=!1)}else le=gt(e,E,D,ce,re);let de=0,fe=0;le===bd?tt[_]=bd:(fe=+!!ue,de=b>=C?+!!O:je(Me,e,b,C,+!!O,e=>Ie(e,O)),tt[_]=le,rt[_]=fe,nt[_]=de),Ye(y,e,p,h,v,le,de,fe)}if(n===0)return``;if(n===1)return $e[0]===0&&et[0]===t?e:e.slice($e[0],et[0]);if(n*k>ut){for(;n*k>ut;)ut<<=1,dt--;ft=new Float64Array(ut),pt=new Int32Array(ut)}if(Pe>=Ve||Re>=Ve)throw Error(`cn: too many distinct classes in one merge`);mt=mt+1|0,mt===0&&(lt.fill(0),pt.fill(0),mt=1);let f=!1;for(let e=n-1;e>=0;e--){let t=tt[e];if(t===bd){it[e]=1;continue}let n=nt[e];if(ht(n,t)===1){it[e]=0,f=!0;continue}if(it[e]=1,t<r){let r=D[t];if(r>=0)for(let e=b[r];e<b[r+1];e++)ht(n,x[e]);if(rt[e]&1)for(let e=0;e<S.length;e++)S[e]===t&&ht(n,C[e])}}if(!f&&!u&&t===c+n-1)return e;let p=``,m=0;for(;m<n;){if(!it[m]){m++;continue}let t=$e[m],r=et[m],i=m+1;for(;i<n&&it[i]&&$e[i]===r+1&&e.charCodeAt(r)===32;)r=et[i],i++;p.length>0&&(p+=` `),p+=e.slice(t,r),m=i}return p},vt=16384,yt=new Int32Array(vt*2),bt=0,xt=1,St=Object.create(null),Ct=Object.create(null),wt=new Map,Tt=new Map,Et=0,Dt=0,Ot=()=>{bt^=vt,xt=xt+1|0,Dt=0},kt=e=>{let t=St[e];if(t!==void 0)return t;let n=Cd(e,0,e.length),r=(n&16383)+bt,i=yt[r]===(n^xt)||yt[r^vt]===(n^xt-1);return i&&(t=Ct[e],t!==void 0)?(St[e]=t,t):(t=_t(e),i?(St[e]=t,++Et>ie&&(Et=0,Ct=St,St=Object.create(null),Ot())):(yt[r]=n^xt,++Dt>vt&&Ot()),t)},At=e=>{let t=wt.get(e);if(t!==void 0)return t;let n=Cd(e,0,e.length),r=(n&16383)+bt,i=yt[r]===(n^xt)||yt[r^vt]===(n^xt-1);return i&&(t=Tt.get(e),t!==void 0)?(wt.set(e,t),t):(t=_t(e),i?(wt.set(e,t),++Et>ie&&(Et=0,Tt=wt,wt=new Map,Ot())):(yt[r]=n^xt,++Dt>vt&&Ot()),t)},jt=e=>{let t=Cd(e,0,e.length),n=(t&16383)+bt;return yt[n]===(t^xt)||yt[n^vt]===(t^xt-1)||(yt[n]=t^xt,++Dt>vt&&Ot(),!1)},Mt=ie===0?_t:Jee?e=>{let t=wt.get(e);return t===void 0?At(e):t}:kt;return{merge:function(){return arguments.length===1&&typeof arguments[0]==`string`?Mt(arguments[0]):Mt(Xee.apply(null,arguments))},mergeString:Mt,seenBefore:ie===0?()=>!1:jt,mergeUncached:_t}},Td=(e,t)=>{if(!e)return``;if(typeof e==`string`)return e;let n=``;if(typeof e.length==`number`&&(!t||Array.isArray(e))){let r=e;for(let e=0;e<r.length;e++){let i=r[e];if(!i)continue;let a=typeof i==`string`?i:Td(i,t);a&&(n&&(n+=` `),n+=a)}return n}if(t){if(typeof e==`number`)return``+e;if(typeof e==`object`)for(let t in e)e[t]&&(n&&(n+=` `),n+=t)}return n},Yee=(e,t)=>{let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(!i)continue;let a=typeof i==`string`?i:Td(i,t);a&&(n&&(n+=` `),n+=a)}return n},Xee=function(){return Yee(arguments,!1)},Zee=(e,t)=>{let n=t===void 0?()=>!0:t.seenBefore,r=t===void 0?e:t.mergeUncached,i=new Map,a=new Map,o=0,s=null,c=(e,t,n,r)=>{let i=0;if(t){if(t!==e.a0)return!1;i=1}if(n){if(n!==(i===0?e.a0:e.a1))return!1;i++}if(r){if(r!==(i===0?e.a0:i===1?e.a1:e.a2))return!1;i++}return i===e.t},l=(e,t)=>{let n=e.a,r=0;for(let e=0;e<t.length;e++){let i=t[e];if(i){if(i!==n[r])return!1;r++}}return r===e.t},u=(t,c)=>{let u=t.length,d=s===null?null:s.n;if(!c){if(d!==null&&l(d,t))return s=d,d.r;if(s!==null&&s!==d&&l(s,t))return s.r}let f=``,p=-1,m=0,h=!1;for(let e=0;e<u;e++){let n=t[e];if(n){if(typeof n!=`string`){if(n=t[e]=Td(n,!0),!n)continue;h=!0}p<0&&(f=n,p=e),m++}}if(m===0)return``;if(m===1)return e(f);if(h){if(d!==null&&l(d,t))return s=d,d.r;if(s!==null&&s!==d&&l(s,t))return s.r}let g=i.get(f);g===void 0&&(g=a.get(f),g!==void 0&&i.set(f,g));let _=null;if(g!==void 0)outer:for(let e=0;e<g.length;e++){let n=g[e];if(n.t!==m)continue;let r=n.a,i=1;for(let e=p+1;e<u;e++){let n=t[e];if(n&&n!==r[i++])continue outer}_=n;break}if(_===null){let s=f,c=[f];for(let e=p+1;e<u;e++){let n=t[e];n&&(s+=` `+n,c.push(n))}if(!n(s))return r(s);_={r:e(s),t:c.length,a0:c[0],a1:c[1],a2:c[2]??``,a:c,n:null},g===void 0&&i.set(f,g=[]),g.length>=256&&g.shift(),g.push(_),++o>1e3&&(o=0,a=i,i=new Map)}return s!==null&&s!==_&&(s.n=_),s=_,_.r},d=t=>Array.isArray(t)?u(t.slice(),!1):e(Td(t,!0));return function(t,n,r){let i=arguments.length;if((i|1)==3){let e=s;if(e!==null){let i=e.n;if(i!==null&&c(i,t,n,r))return s=i,i.r;if(e!==i&&c(e,t,n,r))return e.r}return u([t,n,r],!0)}if(i===1)return typeof t==`string`?e(t):d(t);let a=s;if(a!==null){let e=a.n;if(e!==null){let t=e.a,n=0,r=!0;for(let e=0;e<i;e++){let i=arguments[e];if(i){if(i!==t[n]){r=!1;break}n++}}if(r&&n===e.t)return s=e,e.r}if(a!==e){let e=a.a,t=0,n=!0;for(let r=0;r<i;r++){let i=arguments[r];if(i){if(i!==e[t]){n=!1;break}t++}}if(n&&t===a.t)return a.r}}let o=[];for(let e=0;e<i;e++)o.push(arguments[e]);return u(o,!0)}},Qee=`{"theme":{"animate":[{"$v":"isAny"}],"aspect":["video"],"blur":[{"$v":"isTshirtSize"}],"breakpoint":[{"$v":"isTshirtSize"}],"color":[{"$v":"isAny"}],"container":[{"$v":"isTshirtSize"}],"drop-shadow":[{"$v":"isTshirtSize"}],"ease":["in","out","in-out"],"font":[{"$v":"isAnyNonArbitrary"}],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[{"$v":"isTshirtSize"}],"leading":["none","tight","snug","normal","relaxed","loose"],"perspective":["dramatic","near","normal","midrange","distant","none"],"radius":[{"$v":"isTshirtSize"}],"shadow":[{"$v":"isTshirtSize"}],"spacing":["px",{"$v":"isNumber"}],"text":[{"$v":"isTshirtSize"}],"text-shadow":[{"$v":"isTshirtSize"}],"tracking":["tighter","tight","normal","wide","wider","widest"]},"classGroups":{"aspect":[{"aspect":["auto","square",{"$v":"isFraction"},{"$v":"isArbitraryValue"},{"$v":"isArbitraryVariable"},{"$t":"aspect"}]}],"container":["container"],"container-type":[{"@container":["","normal","size",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"container-named":[{"$v":"isNamedContainerQuery"}],"columns":[{"columns":[{"$v":"isNumber"},{"$v":"isArbitraryValue"},{"$v":"isArbitraryVariable"},{"$t":"container"}]},"columns-auto"],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],"box":[{"box":["border","content"]}],"display":["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],"sr":["sr-only","not-sr-only"],"float":[{"float":["right","left","none","start","end"]}],"clear":[{"clear":["left","right","both","none","start","end"]}],"isolation":["isolate","isolation-auto"],"object-fit":[{"object":["contain","cover","fill","none","scale-down"]}],"object-position":[{"object":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"overflow":[{"overflow":["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],"overscroll":[{"overscroll":["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],"position":["static","fixed","absolute","relative","sticky"],"inset":[{"inset":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-x":[{"inset-x":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-y":[{"inset-y":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"start":[{"inset-s":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}],"start":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"end":[{"inset-e":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}],"end":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-bs":[{"inset-bs":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-be":[{"inset-be":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"top":[{"top":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"right":[{"right":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"bottom":[{"bottom":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"left":[{"left":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"visibility":["visible","invisible","collapse"],"z":[{"z":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"basis":[{"basis":[{"$v":"isFraction"},"full","auto",{"$t":"container"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"flex-direction":[{"flex":["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{"flex":["nowrap","wrap","wrap-reverse"]}],"flex":[{"flex":[{"$v":"isNumber"},{"$v":"isFraction"},"auto","initial","none",{"$v":"isArbitraryValue"}]}],"grow":[{"grow":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"shrink":[{"shrink":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"order":[{"order":[{"$v":"isInteger"},"first","last","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grid-cols":[{"grid-cols":[{"$v":"isInteger"},"none","subgrid",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"col-start-end":[{"col":["auto",{"span":["full",{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"col-start":[{"col-start":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"col-end":[{"col-end":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grid-rows":[{"grid-rows":[{"$v":"isInteger"},"none","subgrid",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"row-start-end":[{"row":["auto",{"span":["full",{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"row-start":[{"row-start":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"row-end":[{"row-end":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"auto-cols":[{"$t":"spacing"}]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"auto-rows":[{"$t":"spacing"}]}],"gap":[{"gap":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"gap-x":[{"gap-x":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"gap-y":[{"gap-y":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"justify-content":[{"justify":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{"content":["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{"items":["start","end","center","stretch","center-safe","end-safe",{"baseline":["","last"]}]}],"align-self":[{"self":["auto","start","end","center","stretch","center-safe","end-safe",{"baseline":["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"p":[{"p":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"px":[{"px":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"py":[{"py":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"ps":[{"ps":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pe":[{"pe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pbs":[{"pbs":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pbe":[{"pbe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pt":[{"pt":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pr":[{"pr":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pb":[{"pb":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pl":[{"pl":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"m":[{"m":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mx":[{"mx":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"my":[{"my":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"ms":[{"ms":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"me":[{"me":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mbs":[{"mbs":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mbe":[{"mbe":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mt":[{"mt":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mr":[{"mr":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mb":[{"mb":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"ml":[{"ml":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"space-x":[{"space-x":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"space-y-reverse":["space-y-reverse"],"size":[{"size":[{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inline-size":[{"inline":["auto",{"$v":"isFraction"},"screen","full","dvw","lvw","svw","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},{"inline":[{"$t":"container"}]}],"min-inline-size":[{"min-inline":["auto",{"$v":"isFraction"},"screen","full","dvw","lvw","svw","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},{"min-inline":[{"$t":"container"}]}],"max-inline-size":[{"max-inline":["none",{"$v":"isFraction"},"screen","full","dvw","lvw","svw","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},{"max-inline":[{"$t":"container"}]}],"block-size":[{"block":["auto",{"$v":"isFraction"},"screen","full","lh","dvh","lvh","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"min-block-size":[{"min-block":["auto",{"$v":"isFraction"},"screen","full","lh","dvh","lvh","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"max-block-size":[{"max-block":["none",{"$v":"isFraction"},"screen","full","lh","dvh","lvh","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"w":[{"w":[{"$t":"container"},"screen",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"min-w":[{"min-w":[{"$t":"container"},"screen","none",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"max-w":[{"max-w":[{"$t":"container"},"screen","none","prose",{"screen":[{"$t":"breakpoint"}]},{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"h":[{"h":["screen","lh",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"min-h":[{"min-h":["screen","lh","none",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"max-h":[{"max-h":["screen","lh",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},"max-h-none"],"font-size":[{"text":["base",{"$t":"text"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{"font":[{"$t":"font-weight"},{"$v":"isArbitraryVariableWeight"},{"$v":"isArbitraryWeight"}]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",{"$v":"isPercent"},{"$v":"isArbitraryValue"}]}],"font-family":[{"font":[{"$v":"isArbitraryVariableFamilyName"},{"$v":"isArbitraryFamilyName"},{"$t":"font"}]}],"font-features":[{"font-features":[{"$v":"isArbitraryValue"}]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],"tracking":[{"tracking":[{"$t":"tracking"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"line-clamp":[{"line-clamp":[{"$v":"isNumber"},"none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryNumber"}]}],"leading":[{"leading":[{"$t":"leading"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"list-image":[{"list-image":["none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"list-style-position":[{"list":["inside","outside"]}],"list-style-type":[{"list":["disc","decimal","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-alignment":[{"text":["left","center","right","justify","start","end"]}],"placeholder-color":[{"placeholder":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-color":[{"text":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{"decoration":["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{"decoration":[{"$v":"isNumber"},"from-font","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryLength"}]}],"text-decoration-color":[{"decoration":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"underline-offset":[{"underline-offset":[{"$v":"isNumber"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{"text":["wrap","nowrap","balance","pretty"]}],"indent":[{"indent":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"tab-size":[{"tab":[{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"vertical-align":[{"align":["baseline","top","middle","bottom","text-top","text-bottom","sub","super",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"whitespace":[{"whitespace":["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],"break":[{"break":["normal","words","all","keep"]}],"wrap":[{"wrap":["break-word","anywhere","normal"]}],"hyphens":[{"hyphens":["none","manual","auto"]}],"content":[{"content":["none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"bg-attachment":[{"bg":["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{"bg":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"},{"position":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"bg-repeat":[{"bg":["no-repeat",{"repeat":["","x","y","space","round"]}]}],"bg-size":[{"bg":["auto","cover","contain",{"$v":"isArbitraryVariableSize"},{"$v":"isArbitrarySize"},{"size":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"bg-image":[{"bg":["none",{"linear":[{"to":["t","tr","r","br","b","bl","l","tl"]},{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}],"radial":["",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}],"conic":[{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"$v":"isArbitraryVariableImage"},{"$v":"isArbitraryImage"}]},{"bg-gradient-to":["t","tr","r","br","b","bl","l","tl"]},"bg-conic"],"bg-color":[{"bg":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"gradient-from-pos":[{"from":[{"$v":"isPercent"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"gradient-via-pos":[{"via":[{"$v":"isPercent"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"gradient-to-pos":[{"to":[{"$v":"isPercent"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"gradient-from":[{"from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"gradient-via":[{"via":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"gradient-to":[{"to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded":[{"rounded":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-s":[{"rounded-s":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-e":[{"rounded-e":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-t":[{"rounded-t":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-r":[{"rounded-r":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-b":[{"rounded-b":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-l":[{"rounded-l":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-ss":[{"rounded-ss":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-se":[{"rounded-se":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-ee":[{"rounded-ee":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-es":[{"rounded-es":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-tl":[{"rounded-tl":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-tr":[{"rounded-tr":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-br":[{"rounded-br":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-bl":[{"rounded-bl":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-w":[{"border":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-x":[{"border-x":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-y":[{"border-y":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-s":[{"border-s":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-e":[{"border-e":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-bs":[{"border-bs":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-be":[{"border-be":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-t":[{"border-t":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-r":[{"border-r":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-b":[{"border-b":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-l":[{"border-l":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"divide-x":[{"divide-x":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{"border":["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{"divide":["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{"border":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-x":[{"border-x":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-y":[{"border-y":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-s":[{"border-s":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-e":[{"border-e":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-bs":[{"border-bs":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-be":[{"border-be":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-t":[{"border-t":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-r":[{"border-r":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-b":[{"border-b":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-l":[{"border-l":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"divide-color":[{"divide":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"outline-style":[{"outline":["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"outline-w":[{"outline":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"outline-color":[{"outline":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"shadow":[{"shadow":["","none",{"$t":"shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]},"shadow-inner"],"shadow-color":[{"shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"inset-shadow":[{"inset-shadow":["none",{"$t":"inset-shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]}],"inset-shadow-color":[{"inset-shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"ring-w":[{"ring":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"ring-w-inset":["ring-inset"],"ring-color":[{"ring":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"ring-offset-w":[{"ring-offset":[{"$v":"isNumber"},{"$v":"isArbitraryLength"}]}],"ring-offset-color":[{"ring-offset":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"inset-ring-w":[{"inset-ring":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"inset-ring-color":[{"inset-ring":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-shadow":[{"text-shadow":["none",{"$t":"text-shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]}],"text-shadow-color":[{"text-shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"opacity":[{"opacity":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{"mask":["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[{"$v":"isNumber"}]}],"mask-image-linear-from-pos":[{"mask-linear-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-linear-to-pos":[{"mask-linear-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-linear-from-color":[{"mask-linear-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-linear-to-color":[{"mask-linear-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-t-from-pos":[{"mask-t-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-t-to-pos":[{"mask-t-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-t-from-color":[{"mask-t-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-t-to-color":[{"mask-t-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-r-from-pos":[{"mask-r-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-r-to-pos":[{"mask-r-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-r-from-color":[{"mask-r-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-r-to-color":[{"mask-r-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-b-from-pos":[{"mask-b-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-b-to-pos":[{"mask-b-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-b-from-color":[{"mask-b-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-b-to-color":[{"mask-b-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-l-from-pos":[{"mask-l-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-l-to-pos":[{"mask-l-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-l-from-color":[{"mask-l-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-l-to-color":[{"mask-l-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-x-from-pos":[{"mask-x-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-x-to-pos":[{"mask-x-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-x-from-color":[{"mask-x-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-x-to-color":[{"mask-x-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-y-from-pos":[{"mask-y-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-y-to-pos":[{"mask-y-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-y-from-color":[{"mask-y-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-y-to-color":[{"mask-y-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial":[{"mask-radial":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial-from-pos":[{"mask-radial-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-radial-to-pos":[{"mask-radial-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-radial-from-color":[{"mask-radial-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial-to-color":[{"mask-radial-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{"closest":["side","corner"],"farthest":["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[{"$v":"isNumber"}]}],"mask-image-conic-from-pos":[{"mask-conic-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-conic-to-pos":[{"mask-conic-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-conic-from-color":[{"mask-conic-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-conic-to-color":[{"mask-conic-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-mode":[{"mask":["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{"mask":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"},{"position":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"mask-repeat":[{"mask":["no-repeat",{"repeat":["","x","y","space","round"]}]}],"mask-size":[{"mask":["auto","cover","contain",{"$v":"isArbitraryVariableSize"},{"$v":"isArbitrarySize"},{"size":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{"mask":["none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"filter":[{"filter":["","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"blur":[{"blur":["","none",{"$t":"blur"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"brightness":[{"brightness":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"contrast":[{"contrast":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"drop-shadow":[{"drop-shadow":["","none",{"$t":"drop-shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]}],"drop-shadow-color":[{"drop-shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grayscale":[{"grayscale":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"hue-rotate":[{"hue-rotate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"invert":[{"invert":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"saturate":[{"saturate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"sepia":[{"sepia":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-filter":[{"backdrop-filter":["","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-blur":[{"backdrop-blur":["","none",{"$t":"blur"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-brightness":[{"backdrop-brightness":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-contrast":[{"backdrop-contrast":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-grayscale":[{"backdrop-grayscale":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-invert":[{"backdrop-invert":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-opacity":[{"backdrop-opacity":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-saturate":[{"backdrop-saturate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-sepia":[{"backdrop-sepia":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-collapse":[{"border":["collapse","separate"]}],"border-spacing":[{"border-spacing":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"border-spacing-x":[{"border-spacing-x":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"border-spacing-y":[{"border-spacing-y":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"table-layout":[{"table":["auto","fixed"]}],"caption":[{"caption":["top","bottom"]}],"transition":[{"transition":["","all","colors","opacity","shadow","transform","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"transition-behavior":[{"transition":["normal","discrete"]}],"duration":[{"duration":[{"$v":"isNumber"},"initial",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"ease":[{"ease":["linear","initial",{"$t":"ease"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"delay":[{"delay":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"animate":[{"animate":["none",{"$t":"animate"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backface":[{"backface":["hidden","visible"]}],"perspective":[{"perspective":[{"$t":"perspective"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"perspective-origin":[{"perspective-origin":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate":[{"rotate":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate-x":[{"rotate-x":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate-y":[{"rotate-y":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate-z":[{"rotate-z":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale":[{"scale":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-x":[{"scale-x":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-y":[{"scale-y":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-z":[{"scale-z":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-3d":["scale-3d"],"skew":[{"skew":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"skew-x":[{"skew-x":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"skew-y":[{"skew-y":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"transform":[{"transform":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},"","none","gpu","cpu"]}],"transform-origin":[{"origin":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"transform-style":[{"transform":["3d","flat"]}],"translate":[{"translate":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-x":[{"translate-x":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-y":[{"translate-y":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-z":[{"translate-z":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-none":["translate-none"],"zoom":[{"zoom":[{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"accent":[{"accent":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"appearance":[{"appearance":["none","auto"]}],"caret-color":[{"caret":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"color-scheme":[{"scheme":["normal","dark","light","light-dark","only-dark","only-light"]}],"cursor":[{"cursor":["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],"resize":[{"resize":["none","","y","x"]}],"scroll-behavior":[{"scroll":["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scrollbar-track-color":[{"scrollbar-track":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{"scrollbar":["auto","thin","none"]}],"scroll-m":[{"scroll-m":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mx":[{"scroll-mx":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-my":[{"scroll-my":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-ms":[{"scroll-ms":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-me":[{"scroll-me":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mbs":[{"scroll-mbs":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mbe":[{"scroll-mbe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mt":[{"scroll-mt":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mr":[{"scroll-mr":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mb":[{"scroll-mb":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-ml":[{"scroll-ml":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-p":[{"scroll-p":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-px":[{"scroll-px":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-py":[{"scroll-py":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-ps":[{"scroll-ps":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pe":[{"scroll-pe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pbs":[{"scroll-pbs":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pbe":[{"scroll-pbe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pt":[{"scroll-pt":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pr":[{"scroll-pr":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pb":[{"scroll-pb":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pl":[{"scroll-pl":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"snap-align":[{"snap":["start","end","center","align-none"]}],"snap-stop":[{"snap":["normal","always"]}],"snap-type":[{"snap":["none","x","y","both"]}],"snap-strictness":[{"snap":["mandatory","proximity"]}],"touch":[{"touch":["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],"select":[{"select":["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"fill":[{"fill":["none",{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"stroke-w":[{"stroke":[{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"},{"$v":"isArbitraryNumber"}]}],"stroke":[{"stroke":["none",{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}],"contain":[{"contain":["none","content","strict",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"contain-size":[{"contain":["size","inline-size"]}],"contain-layout":["contain-layout"],"contain-paint":["contain-paint"],"contain-style":["contain-style"]},"conflictingClassGroups":{"container-named":["container-type"],"overflow":["overflow-x","overflow-y"],"overscroll":["overscroll-x","overscroll-y"],"inset":["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],"flex":["basis","grow","shrink"],"gap":["gap-x","gap-y"],"p":["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],"px":["pr","pl"],"py":["pt","pb"],"m":["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],"mx":["mr","ml"],"my":["mt","mb"],"size":["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],"rounded":["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"translate":["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],"touch":["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"],"contain":["contain-size","contain-layout","contain-paint","contain-style"],"contain-size":["contain"],"contain-layout":["contain"],"contain-paint":["contain"],"contain-style":["contain"]},"conflictingClassGroupModifiers":{"font-size":["leading"]},"orderSensitiveModifiers":["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"],"postfixLookupClassGroups":["container-type"]}`,Ed=()=>JSON.parse(Qee),$ee=e=>`classGroups`in e&&`theme`in e&&`conflictingClassGroups`in e,ete=e=>e===void 0?{config:Ed()}:typeof e==`function`?{config:e(Ed())}:$ee(e)?{config:e}:{config:Vee(Ed(),e),cacheSize:e.cacheSize},tte=e=>{let{config:t,cacheSize:n}=ete(e),{tables:r,validatorImpls:i,prefix:a}=qee(t);return wd(r,i,{cacheSize:n,prefix:a})},Dd=(e=>{let t=null,n=()=>t??=tte(e);return Zee(e=>n().mergeString(e),{seenBefore:e=>n().seenBefore(e),mergeUncached:e=>n().mergeUncached(e)})})({extend:{theme:{spacing:[...aee]}}});function Od(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function nte(...e){return t=>{let n=!1,r=e.map(e=>{let r=Od(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Od(e[t],null)}}}}function rte(...e){return I.useCallback(nte(...e),e)}function ite(e){let t=I.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];Ad(r)&&typeof jd==`function`&&(r=jd(r._payload)),I.Children.forEach(r,e=>{if(lte(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;Ad(n)&&typeof jd==`function`&&(n=jd(n._payload)),a=ote(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=I.cloneElement(a,void 0,s):!o&&I.Children.count(r)===1&&I.isValidElement(r)&&(a=r);let c=a?cte(a):void 0,l=rte(n,c);if(!a){if(r||r===0)throw Error(o?pte(e):fte(e));return r}let u=ste(i,a.props??{});return a.type!==I.Fragment&&(u.ref=n?l:c),I.cloneElement(a,u)});return t.displayName=`${e}.Slot`,t}var kd=ite(`Slot`),ate=Symbol.for(`radix.slottable`),ote=(e,t)=>{if(`child`in e.props){let t=e.props.child;return I.isValidElement(t)?I.cloneElement(t,void 0,e.props.children(t.props.children)):null}return I.isValidElement(t)?t:null};function ste(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function cte(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function lte(e){return I.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===ate}var ute=Symbol.for(`react.lazy`);function Ad(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===ute&&`_payload`in e&&dte(e._payload)}function dte(e){return typeof e==`object`&&!!e&&`then`in e}var fte=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,pte=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,jd=I.use,Md=(0,I.forwardRef)(function({asChild:e=!1,className:t,...n},r){let i=Dd(`absolute h-px w-px overflow-hidden whitespace-nowrap border-0 p-0 [clip:rect(0,0,0,0)]`,t);return e?(0,F.jsx)(kd,{...n,className:i,ref:r}):(0,F.jsx)(`span`,{...n,className:i,ref:r})}),Nd=Object.freeze({reduced:!1,squish:90,fast:120,normal:180,slow:280,springDuration:320,bounce:.3,stretch:.28,distance:4,stagger:24,blur:0,shake:3,steps:0,fuse:1,pressDepth:.5,pressScale:1,ease:`cubic-bezier(0.2, 0, 0, 1)`,easeExit:`cubic-bezier(0.4, 0, 1, 1)`}),Pd=`(prefers-reduced-motion: reduce)`;function Fd(e){let t=e.ownerDocument.defaultView;if(!t)return Nd;let n=t.getComputedStyle(e),r=(e,t)=>{let r=n.getPropertyValue(e).trim(),i=Number.parseFloat(r);return Number.isFinite(i)?Math.max(0,i):t},i=(e,t)=>{let i=n.getPropertyValue(e).trim();return r(e,t)*(i.endsWith(`s`)&&!i.endsWith(`ms`)?1e3:1)},a=t.matchMedia?.(Pd).matches??!1,o=(e,t)=>a?120:i(`--stipe-motion-${e}`,t),s=(e,t)=>a?0:r(`--stipe-motion-${e}`,t);return{reduced:a,squish:o(`squish`,Nd.squish),fast:o(`fast`,Nd.fast),normal:o(`normal`,Nd.normal),slow:o(`slow`,Nd.slow),springDuration:o(`spring-duration`,Nd.springDuration),bounce:Math.min(1,s(`bounce`,Nd.bounce)),stretch:s(`stretch`,Nd.stretch),distance:s(`distance`,Nd.distance),stagger:a?0:i(`--stipe-motion-stagger`,Nd.stagger),blur:s(`blur`,Nd.blur),shake:s(`shake`,Nd.shake),steps:Math.floor(s(`steps`,Nd.steps)),fuse:r(`--stipe-motion-fuse`,Nd.fuse),pressDepth:a?0:r(`--stipe-press-depth`,Nd.pressDepth),pressScale:a?1:r(`--stipe-press-scale`,Nd.pressScale),ease:n.getPropertyValue(`--stipe-motion-ease`).trim()||Nd.ease,easeExit:n.getPropertyValue(`--stipe-motion-ease-exit`).trim()||Nd.easeExit}}function Id(e,t){let n=e.createElement(`div`);n.setAttribute(`style`,t??``);let r=new Map;for(let e of n.style)(e.startsWith(`--stipe-motion-`)||e.startsWith(`--stipe-press-`))&&r.set(e,n.style.getPropertyValue(e).trim());return r}function mte(e){let t=e.target;if(e.attributeName!==`style`||!(t instanceof Element))return!0;let n=t.ownerDocument,r=Id(n,e.oldValue),i=Id(n,t.getAttribute(`style`));return r.size!==i.size||[...i].some(([e,t])=>r.get(e)!==t)}function Ld(e){let[t,n]=(0,I.useState)(()=>({...Nd,reduced:!0}));return(0,I.useLayoutEffect)(()=>{let t=e.current,r=t?.ownerDocument.defaultView;if(!t||!r)return;let i=()=>{let e=Fd(t);n(t=>JSON.stringify(t)===JSON.stringify(e)?t:e)};i();let a=new r.MutationObserver(e=>{e.some(mte)&&i()});for(let e=t;e;e=e.parentElement)a.observe(e,{attributes:!0,attributeFilter:[`data-theme`,`class`,`style`],attributeOldValue:!0});let o=r.matchMedia?.(Pd);return o?.addEventListener(`change`,i),()=>{a.disconnect(),o?.removeEventListener(`change`,i)}},[e]),t}function Rd(e,t){return e.reduced?0:Math.round(t*e.normal/Nd.normal)}function hte(e,t){if(e.reduced)return 0;let n=t*e.bounce/Nd.bounce;return Math.min(.9,Math.max(0,n))}function gte(e,t){return e.reduced?0:Math.round(t*e.springDuration/Nd.springDuration)}function zd(e,t){return e.steps>0?`steps(${String(e.steps)}, end)`:t}function Bd(e){return`animate`in e}var Vd=globalThis;function _te(){return Vd.matchMedia?.(Pd).matches??!1}function vte(e){let t=Vd.matchMedia?.(Pd);return t?.addEventListener(`change`,e),()=>{t?.removeEventListener(`change`,e)}}function yte(){return!0}function Hd(){return(0,I.useSyncExternalStore)(vte,_te,yte)}var Ud=typeof window<`u`,Wd=Ud?window:null,Gd=Ud?document:null,Kd={OBJECT:0,ATTRIBUTE:1,CSS:2,TRANSFORM:3,CSS_VAR:4},qd={NUMBER:0,UNIT:1,COLOR:2,COMPLEX:3},Jd={NONE:0,AUTO:1,FORCE:2},Yd={replace:0,none:1,blend:2},Xd=Symbol(),Zd=Symbol(),Qd=Symbol(),$d=Symbol(),bte=Symbol(),ef=1e-11,tf=0xe8d4a51000,nf=1e3,rf=[],af=(()=>{let e=new Map;return e.set(`x`,`translateX`),e.set(`y`,`translateY`),e.set(`z`,`translateZ`),e})(),of=[`perspective`,`translateX`,`translateY`,`translateZ`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`scale`,`scaleX`,`scaleY`,`scaleZ`,`skew`,`skewX`,`skewY`],xte=of.reduce((e,t)=>({...e,[t]:t+`(`}),{}),sf=()=>{},Ste=e=>e,Cte=/\)\s*[-.\d]/,wte=/(^#([\da-f]{3}){1,2}$)|(^#([\da-f]{4}){1,2}$)/i,Tte=/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i,Ete=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,Dte=/hsl\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*\)/i,Ote=/hsla\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,cf=/[-+]?\d*\.?\d+(?:e[-+]?\d)?/gi,kte=/^([-+]?\d*\.?\d+(?:e[-+]?\d+)?)([a-z]+|%)$/i,Ate=/([a-z])([A-Z])/g,jte=/var\(\s*(--[\w-]+)(?:\s*,\s*([^)]+))?\s*\)/,lf={id:null,keyframes:null,playbackEase:null,playbackRate:1,frameRate:240,loop:0,reversed:!1,alternate:!1,autoplay:!0,persist:!1,duration:nf,delay:0,loopDelay:0,ease:`out(2)`,composition:Yd.replace,modifier:Ste,onBegin:sf,onBeforeUpdate:sf,onUpdate:sf,onLoop:sf,onPause:sf,onComplete:sf,onRender:sf},uf={current:null,root:Gd},df={defaults:lf,precision:4,timeScale:1,tickThreshold:200,editor:null},ff={version:`4.5.0`,engine:null};Ud&&(Wd.AnimeJS||=[],Wd.AnimeJS.push(ff));var pf=e=>e.replace(Ate,`$1-$2`).toLowerCase(),mf=(e,t)=>e.indexOf(t)===0,hf=Date.now,gf=Array.isArray,_f=e=>e&&e.constructor===Object,vf=e=>typeof e==`number`&&!isNaN(e),yf=e=>typeof e==`string`,bf=e=>typeof e==`function`,xf=e=>e===void 0,Sf=e=>xf(e)||e===null,Cf=e=>Ud&&e instanceof SVGElement,wf=e=>wte.test(e),Tf=e=>mf(e,`rgb`),Ef=e=>mf(e,`hsl`),Df=e=>wf(e)||(Tf(e)||Ef(e))&&(e[e.length-1]===`)`||!Cte.test(e)),Of=e=>!df.defaults.hasOwnProperty(e),kf=[`opacity`,`rotate`,`overflow`,`color`],Af=(e,t)=>{if(kf.includes(t))return!1;if(e.getAttribute(t)||t in e){if(t===`scale`){let t=e.parentNode;return t&&t.tagName===`filter`}return!0}},jf=Math.pow,Mf=Math.sqrt,Nf=Math.sin,Pf=Math.cos,Ff=Math.abs,If=Math.exp,Lf=Math.ceil,Rf=Math.floor,Mte=Math.asin,zf=Math.PI,Bf=Math.round,Vf=(e,t,n)=>e<t?t:e>n?n:e,Hf=(e,t)=>{if(t<0)return e;if(!t)return Bf(e);let n=10**t;return Bf(e*n)/n},Uf=(e,t,n)=>n===1?t:n===0?e:e+(t-e)*n,Wf=e=>e===1/0?tf:e===-1/0?-tf:e,Gf=e=>e<=1e-11?ef:Wf(Hf(e,11)),Kf=e=>gf(e)?[...e]:e,Nte=(e,t)=>{let n={...e};for(let r in t){let i=e[r];n[r]=xf(i)?t[r]:i}return n},qf=(e,t,n,r=`_prev`,i=`_next`)=>{let a=e._head,o=i;for(n&&(a=e._tail,o=r);a;){let e=a[o];t(a),a=e}},Jf=(e,t,n=`_prev`,r=`_next`)=>{let i=t[n],a=t[r];i?i[r]=a:e._head=a,a?a[n]=i:e._tail=i,t[n]=null,t[r]=null},Yf=(e,t,n,r=`_prev`,i=`_next`)=>{let a=e._tail;for(;a&&n&&n(a,t);)a=a[r];let o=a?a[i]:e._head;a?a[i]=t:e._head=t,o?o[r]=t:e._tail=t,t[r]=a,t[i]=o},Pte=(e,t,n)=>{let r=e.style.transform;if(r){let i=e[$d],a=0,o=r.length,s;for(;a<o;){for(;a<o&&r.charCodeAt(a)===32;)a++;if(a>=o)break;let e=a;for(;a<o&&r.charCodeAt(a)!==40;)a++;if(a>=o)break;let t=r.substring(e,a),n=1,c=a+1,l=-1,u=-1;for(a++;a<o&&n>0;){let e=r.charCodeAt(a);e===40?n++:e===41?n--:e===44&&n===1&&(l===-1?l=a:u===-1&&(u=a)),a++}let d=a-1;t===`translate`||t===`translate3d`?(l===-1?i.translateX=r.substring(c,d).trim():(i.translateX=r.substring(c,l).trim(),u===-1?i.translateY=r.substring(l+1,d).trim():(i.translateY=r.substring(l+1,u).trim(),i.translateZ=r.substring(u+1,d).trim())),s=r.substring(c,d)):t===`scale`||t===`scale3d`?l===-1?i.scale=r.substring(c,d).trim():(i.scaleX=r.substring(c,l).trim(),u===-1?i.scaleY=r.substring(l+1,d).trim():(i.scaleY=r.substring(l+1,u).trim(),i.scaleZ=r.substring(u+1,d).trim())):i[t]=r.substring(c,d)}if(t===`translate3d`&&s)return n&&(n[t]=s),s;let c=i[t];if(!xf(c))return n&&(n[t]=c),c}return t===`translate3d`?`0px, 0px, 0px`:t===`rotate3d`?`0, 0, 0, 0deg`:mf(t,`scale`)?`1`:mf(t,`rotate`)||mf(t,`skew`)?`0deg`:`0px`},Xf=e=>{let t=``;for(let n=0,r=of.length;n<r;n++){let r=of[n],i=e[r];if(i!==void 0){if(r===`translateX`){let r=e.translateY;if(r!==void 0){let a=e.translateZ;a===void 0?(t+=`translate(${i},${r}) `,n+=1):(t+=`translate3d(${i},${r},${a}) `,n+=2);continue}}if(r===`scaleX`&&e.scale===void 0){let r=e.scaleY;if(r!==void 0){let a=e.scaleZ;a===void 0?(t+=`scale(${i},${r}) `,n+=1):(t+=`scale3d(${i},${r},${a}) `,n+=2);continue}}t+=`${xte[r]}${i}) `}r===`rotateZ`&&e.rotate3d!==void 0&&(t+=`rotate3d(${e.rotate3d}) `)}return e.matrix!==void 0&&(t+=`matrix(${e.matrix}) `),e.matrix3d!==void 0&&(t+=`matrix3d(${e.matrix3d}) `),t},Zf=[];function Qf(e,t){if(!e)return null;let n=Zf.length;outer:for(let r=0;r<n;r++){let n=Zf[r];if(n.detect&&!n.detect(e))continue;let i=n.targetAdapters;for(let n=0,r=i.length;n<r;n++){let r=i[n];if(r.detect(e)){let n=r.props[t];if(n&&(!n.gate||n.gate(e)))return n;break outer}}}for(let r=0;r<n;r++){let n=Zf[r];if(n.detect&&!n.detect(e))continue;let i=n.propertyResolvers;for(let n=0,r=i.length;n<r;n++){let r=i[n](e,t);if(r)return r}}return null}var Fte=e=>{let t=Tte.exec(e)||Ete.exec(e),n=xf(t[4])?1:+t[4];return[+t[1],+t[2],+t[3],n]},Ite=e=>{let t=e.length,n=t===4||t===5;return[+(`0x`+e[1]+e[n?1:2]),+(`0x`+e[n?2:3]+e[n?2:4]),+(`0x`+e[n?3:5]+e[n?3:6]),t===5||t===9?+((`0x`+e[n?4:7]+e[n?4:8])/255).toFixed(3):1]},$f=(e,t,n)=>(n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e),Lte=e=>{let t=Dte.exec(e)||Ote.exec(e),n=t[1]/360,r=t[2]/100,i=t[3]/100,a=xf(t[4])?1:+t[4],o,s,c;if(r===0)o=s=c=i;else{let e=i<.5?i*(1+r):i+r-i*r,t=2*i-e;o=Hf($f(t,e,n+1/3)*255,0),s=Hf($f(t,e,n)*255,0),c=Hf($f(t,e,n-1/3)*255,0)}return[o,s,c,a]},Rte=e=>Tf(e)?Fte(e):wf(e)?Ite(e):Ef(e)?Lte(e):[0,0,0,1],ep=(e,t)=>xf(e)?t:e,tp=(e,t)=>{let n=e.match(jte),r=t[Zd]?t:document.documentElement,i=getComputedStyle(r)?.getPropertyValue(n[1]);return(!i||i.trim()===``)&&n[2]&&(i=n[2].trim()),i||0},np=(e,t,n,r,i,a)=>{if(bf(e)){if(!i){let i=e(t,n,r,a);return isNaN(+i)?i||0:+i}let o=()=>{let i=e(t,n,r,a);return isNaN(+i)?i||0:+i};return i.func=o,o()}if(yf(e)&&mf(e,`var(`)){if(!i)return tp(e,t);let n=()=>tp(e,t);return i.func=n,n()}return e},rp=(e,t)=>e[Zd]?e[Qd]&&Af(e,t)?Kd.ATTRIBUTE:of.includes(t)||af.get(t)?Kd.TRANSFORM:mf(t,`--`)?Kd.CSS_VAR:t in e.style?Kd.CSS:t in e?Kd.OBJECT:Kd.ATTRIBUTE:Kd.OBJECT,ip=(e,t,n)=>{let r=e.style[t];r&&n&&(n[t]=r);let i=r||getComputedStyle(e[bte]||e).getPropertyValue(t);return i===`auto`?`0`:i},ap=(e,t,n,r)=>{let i=xf(n)?rp(e,t):n,a=Qf(e,t);if(a){let n=a.get(e);return n&&r&&(r[t]=n),n??0}if(i===Kd.OBJECT){let n=e[t];return n&&r&&(r[t]=n),n||0}if(i===Kd.ATTRIBUTE){let n=e.getAttribute(t);return n&&r&&(r[t]=n),n}return i===Kd.TRANSFORM?Pte(e,t,r):i===Kd.CSS_VAR?ip(e,t,r).trimStart():ip(e,t,r)},op=(e,t,n)=>n===`-`?e-t:n===`+`?e+t:e*t,sp=()=>({t:qd.NUMBER,n:0,u:null,o:null,d:null,s:null}),cp=(e,t)=>{if(t.t=qd.NUMBER,t.n=0,t.u=null,t.o=null,t.d=null,t.s=null,!e)return t;let n=+e;if(!isNaN(n))return t.n=n,t;let r=e;r[1]===`=`&&(t.o=r[0],r=r.slice(2));let i=!r.includes(` `)&&kte.exec(r);if(i)return t.t=qd.UNIT,t.n=+i[1],t.u=i[2],t;if(t.o)return t.n=+r,t;if(Df(r))return t.t=qd.COLOR,t.d=Rte(r),t;{let e=r.match(cf);return t.t=qd.COMPLEX,t.d=e?e.map(Number):[],t.s=r.split(cf)||[],t}},lp=(e,t)=>(t.t=e._valueType,t.n=e._toNumber,t.u=e._unit,t.o=null,t.d=Kf(e._toNumbers),t.s=Kf(e._strings),t),up=sp(),dp=(e,t,n)=>{let r=e._modifier,i=e._fromNumbers,a=e._toNumbers,o=e._strings,s=o[0];for(let c=0,l=a.length;c<l;c++){let l=r(Hf(Uf(i[c],a[c],t),n)),u=o[c+1];s+=`${u?l+u:l}`,e._numbers[c]=l}return s},fp=(e,t,n,r,i)=>{let a=e.parent,o=e.duration,s=e.completed,c=e.iterationDuration,l=e.iterationCount,u=e._currentIteration,d=e._loopDelay,f=e._reversed,p=e._alternate,m=e._hasChildren,h=e._delay,g=e._currentTime,_=h+c,v=t-h,y=Vf(g,-h,o),b=Vf(v,-h,o),x=v-g,S=b>0,C=b>=o,w=o<=ef,T=i===Jd.FORCE,E=0,D=v,O=0;if(l>1){let t=c+(C?0:d),n=~~(b/t);e._currentIteration=Vf(n,0,l),C&&e._currentIteration--,E=e._currentIteration%2,D=b-n*t||0}let k=f^(p&&E),A=e._ease,j=C?k?0:o:k?c-D:D;A&&(j=c*A(j/c)||0);let M=(a?a.backwards:v<g)?!k:!!k;if(e._currentTime=v,e._iterationTime=j,e.backwards=M,S&&!e.began?(e.began=!0,!n&&!(a&&(M||!a.began))&&e.onBegin(e)):v<=0&&(e.began=!1),!n&&!m&&S&&e._currentIteration!==u&&e.onLoop(e),T||i===Jd.AUTO&&(t>=(a&&h>0?0:h)&&t<=_||t<=h&&y>h||t>=_&&y!==o)||j>=_&&y!==o||j<=h&&y>0&&!C||t<=y&&y===o&&s||C&&!s&&w){if(S&&(e.computeDeltaTime(y),n||e.onBeforeUpdate(e)),!m){let t=T||(M?x*-1:x)>=df.tickThreshold,i=Hf(e._offset+(a?a._offset:0)+h+j,12),o=e._head,s,c,l,u,d=0;for(;o;){let e=o._composition,n=o._currentTime,a=o._changeDuration,f=o._absoluteStartTime+o._changeDuration,p=o._nextRep,m=o._prevRep,h=e!==Yd.none,g=m?m._absoluteStartTime+m._changeDuration:0,_=m&&m.parent!==o.parent,v=!p||p._isOverridden?f:p.parent===o.parent?f+p._delay:p._absoluteStartTime<p._absoluteUpdateStartTime?p._absoluteStartTime:p._absoluteUpdateStartTime;if((t||(n!==a||i<=v||m&&!_&&(!p||p.parent!==o.parent))&&(n!==0||i>=o._absoluteStartTime||_&&!o._hasFromValue&&!m._isOverridden&&i>=g||p&&!p._isOverridden&&p.parent===o.parent&&p._currentTime!==0&&j<p._startTime))&&(!m||_||j>=o._startTime)&&(!h||!o._isOverridden&&(!o._isOverlapped||i<=f)&&(!p||p._isOverridden||i<=v)&&(!m||m._isOverridden||(_?i>=o._absoluteStartTime||!o._hasFromValue&&i>=g:i>=g+o._delay)))){let t=o._currentTime=Vf(j-o._startTime,0,a),n=o._ease(t/o._updateDuration),i=o._modifier,f=o._valueType,p=o._tweenType,m=p===Kd.OBJECT,g=f===qd.NUMBER,_=g&&m||n===0||n===1?-1:df.precision,v,y;if(g)v=y=i(Hf(Uf(o._fromNumber,o._toNumber,n),_));else if(f===qd.UNIT)y=i(Hf(Uf(o._fromNumber,o._toNumber,n),_)),v=`${y}${o._unit}`;else if(f===qd.COLOR){let e=o._numbers,t=o._fromNumbers,a=o._toNumbers,s=1-n,c=t[0],l=t[1],u=t[2],d=a[0],f=a[1],p=a[2];e[0]=i(Math.sqrt(c*c*s+d*d*n)),e[1]=i(Math.sqrt(l*l*s+f*f*n)),e[2]=i(Math.sqrt(u*u*s+p*p*n)),e[3]=i(Uf(t[3],a[3],n)),(!o._setter||r)&&(v=`rgba(${Hf(e[0],0)},${Hf(e[1],0)},${Hf(e[2],0)},${e[3]})`)}else f===qd.COMPLEX&&(v=dp(o,n,_));if(h&&(o._number=y),!r&&e!==Yd.blend){let e=o.property;s=o.target,o._setter?o._setter(s,y,o):m?s[e]=v:p===Kd.ATTRIBUTE?s.setAttribute(e,v):(c=s.style,p===Kd.TRANSFORM?(s!==l&&(l=s,u=s[$d]),u[e]=v,d=1):p===Kd.CSS?c[e]=v:p===Kd.CSS_VAR&&c.setProperty(e,v)),S&&(O=1)}else o._value=v}else n&&m&&!_&&j<o._startTime&&(o._currentTime=0);d&&o._renderTransforms&&(c.transform=Xf(u),d=0),o=o._next}!n&&O&&e.onRender(e)}!n&&S&&e.onUpdate(e)}return a&&w?!n&&(a.began&&!M&&v>0&&!s||M&&v<=1e-11&&s)&&(e.onComplete(e),e.completed=!M):S&&C?l===1/0?e._startTime+=e.duration:e._currentIteration>=l-1&&(e.paused=!0,!s&&!m&&(e.completed=!0,!n&&!(a&&(M||!a.began))&&(e.onComplete(e),e._resolve(e)))):e.completed=!1,O},pp=(e,t,n,r,i)=>{let a=e._currentIteration;if(fp(e,t,n,r,i),e._hasChildren){let o=e,s=o.backwards,c=r?t:o._iterationTime,l=hf(),u=0,d=!0;if(!r&&o._currentIteration!==a){let e=o.iterationDuration;qf(o,t=>{if(!s)!t.completed&&!t.backwards&&t._currentTime<t.iterationDuration&&fp(t,e,n,1,Jd.FORCE),t.began=!1,t.completed=!1;else{let r=t.duration,i=t._offset+t._delay,a=i+r;!n&&r<=1e-11&&(!i||a===e)&&t.onComplete(t)}}),n||o.onLoop(o)}qf(o,e=>{let t=Hf((c-e._offset)*e._speed,12);if(s&&t>e._delay+e.duration)return;let a=e._fps<o._fps?e.requestTick(l):i;u+=fp(e,t,n,r,a),!e.completed&&d&&(d=!1)},s),!n&&u&&o.onRender(o),(d||s)&&o._currentTime>=o.duration&&(o.paused=!0,o.completed||(o.completed=!0,n||(o.onComplete(o),o._resolve(o))))}},mp={},zte=(e,t,n)=>{if(n===Kd.TRANSFORM)return af.get(e)||e;if(n===Kd.CSS||n===Kd.ATTRIBUTE&&Cf(t)&&e in t.style){let t=mp[e];if(t)return t;{let t=e&&pf(e);return mp[e]=t,t}}return e},hp=(e,t=!1)=>{if(e._hasChildren)qf(e,e=>hp(e,t),!0);else{let n=e;n.pause(),qf(n,e=>{let r=e.property,i=e.target,a=e._tweenType,o=e._inlineValue,s=Sf(o)||o===``;if(e._setter){if(!t&&!s){if(cp(o,up),up.d){let t=up.d,n=e._numbers;for(let e=0,r=t.length;e<r;e++)n[e]=t[e]}else e._number=up.n;e._setter(e.target,e._number,e)}}else if(a===Kd.OBJECT)!t&&!s&&(i[r]=o);else if(i[Zd]){if(a===Kd.ATTRIBUTE)t||(s?i.removeAttribute(r):i.setAttribute(r,o));else{let t=i.style;if(a===Kd.TRANSFORM){let n=i[$d];s?delete n[r]:n[r]=o,e._renderTransforms&&(Object.keys(n).length?t.transform=Xf(n):t.removeProperty(`transform`))}else s?t.removeProperty(pf(r)):t[r]=o}}i[Zd]&&n._tail===e&&n.targets.forEach(e=>{e.getAttribute&&e.getAttribute(`style`)===``&&e.removeAttribute(`style`)})})}return e},gp=class{constructor(e=0){this.deltaTime=0,this._currentTime=e,this._lastTickTime=e,this._startTime=e,this._lastTime=e,this._frameDuration=nf/240,this._fps=240,this._speed=1,this._hasChildren=!1,this._head=null,this._tail=null}get fps(){return this._fps}set fps(e){let t=+e,n=t<1e-11?ef:t,r=nf/n;n>lf.frameRate&&(lf.frameRate=n),this._fps=n,this._frameDuration=r}get speed(){return this._speed}set speed(e){let t=+e;this._speed=t<1e-11?ef:t}requestTick(e){let t=this._frameDuration,n=e-this._lastTickTime,r=t*.25;return n+(r<4?r:4)<t?Jd.NONE:(this._lastTickTime=n>=t?e-n%t:e,Jd.AUTO)}computeDeltaTime(e){let t=e-this._lastTime;return this.deltaTime=t,this._lastTime=e,t}},_p={animation:null,update:sf},Bte=e=>{let t=_p.animation;return t||(t={duration:ef,computeDeltaTime:sf,_offset:0,_delay:0,_head:null,_tail:null},_p.animation=t,_p.update=()=>{e.forEach(e=>{for(let t in e){let n=e[t],r=n._head;if(r){let e=r._valueType,t=e===qd.COMPLEX||e===qd.COLOR?Kf(r._fromNumbers):null,i=r._fromNumber,a=n._tail;for(;a&&a!==r;){if(t)for(let e=0,n=a._numbers.length;e<n;e++)t[e]+=a._numbers[e];else i+=a._number;a=a._prevAdd}r._toNumber=i,r._toNumbers=t}}}),fp(t,1,1,0,Jd.FORCE)}),t},vp=Ud?requestAnimationFrame:setImmediate,Vte=Ud?cancelAnimationFrame:clearImmediate,Hte=class extends gp{constructor(e){super(e),this.useDefaultMainLoop=!0,this.pauseOnDocumentHidden=!0,this.defaults=lf,this.paused=!0,this.reqId=0}update(){let e=this._currentTime=hf();if(this.requestTick(e)){this.computeDeltaTime(e);let t=this._speed,n=this._fps,r=this._head;for(;r;){let i=r._next;r.paused?(Jf(this,r),this._hasChildren=!!this._tail,r._running=!1,r.completed&&!r._cancelled&&r.cancel()):pp(r,(e-r._startTime)*r._speed*t,0,0,r._fps<n?r.requestTick(e):Jd.AUTO),r=i}_p.update()}}wake(){return this.useDefaultMainLoop&&!this.reqId&&(this.requestTick(hf()),this.reqId=vp(bp)),this}pause(){if(this.reqId)return this.paused=!0,Ute()}resume(){if(this.paused)return this.paused=!1,qf(this,e=>e.resetTime()),this.wake()}get speed(){return this._speed*(df.timeScale===1?1:nf)}set speed(e){let t=e*df.timeScale;this._speed!==t&&(this._speed=t,qf(this,e=>e.speed=e._speed))}get timeUnit(){return df.timeScale===1?`ms`:`s`}set timeUnit(e){let t=.001,n=e===`s`,r=n?t:1;if(df.timeScale!==r){df.timeScale=r,df.tickThreshold=200*r;let e=n?t:nf;this.defaults.duration*=e,this._speed*=e}}get precision(){return df.precision}set precision(e){df.precision=e}},yp=(()=>{let e=new Hte(hf());return Ud&&(ff.engine=e,Gd.addEventListener(`visibilitychange`,()=>{e.pauseOnDocumentHidden&&(Gd.hidden?e.pause():e.resume())})),e})(),bp=()=>{yp._head?(yp.reqId=vp(bp),yp.update()):yp.reqId=0},Ute=()=>(Vte(yp.reqId),yp.reqId=0,yp),xp={_rep:new WeakMap,_add:new Map},Sp=(e,t,n=`_rep`)=>{let r=xp[n],i=r.get(e);return i||(i={},r.set(e,i)),i[t]?i[t]:i[t]={_head:null,_tail:null}},Wte=(e,t)=>e._isOverridden||e._absoluteStartTime>t._absoluteStartTime,Cp=e=>{e._isOverlapped=1,e._isOverridden=1,e._changeDuration=ef,e._currentTime=ef},wp=(e,t)=>{let n=e._composition;if(n===Yd.replace){let n=e._absoluteStartTime;Yf(t,e,Wte,`_prevRep`,`_nextRep`);let r=e._prevRep;if(r){let t=r.parent,i=r._absoluteEndTime;if(e.parent.id!==t.id&&t.iterationCount>1&&i+(t.duration-t.iterationDuration)>n){Cp(r);let e=r._prevRep;for(;e&&e.parent.id===t.id;)Cp(e),e=e._prevRep}let a=e._absoluteUpdateStartTime;if(i>a){let e=r._startTime,t=Hf(a-(i-(e+r._updateDuration))-e,12);r._changeDuration=t,r._currentTime=t,r._isOverlapped=1,t<1e-11&&Cp(r)}let o=e.parent.parent;if(!o||o!==t.parent){let e=!0;if(qf(t,t=>{t._isOverlapped||(e=!1)}),e){let e=t.parent;if(e){let n=!0;qf(e,e=>{e!==t&&qf(e,e=>{e._isOverlapped||(n=!1)})}),n&&e.cancel()}else t.cancel()}}}}else if(n===Yd.blend){let t=Sp(e.target,e.property,`_add`),n=Bte(xp._add),r=t._head;r||(r={...e},r._composition=Yd.replace,r._updateDuration=ef,r._startTime=0,r._numbers=Kf(e._fromNumbers),r._number=0,r._next=null,r._prev=null,Yf(t,r),Yf(n,r));let i=e._toNumber;if(e._fromNumber=r._fromNumber-i,e._toNumber=0,e._numbers=Kf(e._fromNumbers),e._number=0,r._fromNumber=i,e._toNumbers.length){let t=Kf(e._toNumbers);t.forEach((t,n)=>{e._fromNumbers[n]=r._fromNumbers[n]-t,e._toNumbers[n]=0}),r._fromNumbers=t}Yf(t,e,null,`_prevAdd`,`_nextAdd`)}return e},Gte=e=>{let t=e._composition;if(t!==Yd.none){let n=e.target,r=e.property,i=xp._rep.get(n)[r];if(Jf(i,e,`_prevRep`,`_nextRep`),t===Yd.blend){let t=xp._add,i=t.get(n);if(!i)return;let a=i[r],o=_p.animation;Jf(a,e,`_prevAdd`,`_nextAdd`);let s=a._head;if(s&&s===a._tail){Jf(a,s,`_prevAdd`,`_nextAdd`),Jf(o,s);let e=!0;for(let t in i)if(i[t]._head){e=!1;break}e&&t.delete(n)}}}return e},Tp=e=>(e.paused=!0,e.began=!1,e.completed=!1,e),Ep=e=>e._cancelled?(e._hasChildren?qf(e,Ep):qf(e,e=>{e._composition!==Yd.none&&wp(e,Sp(e.target,e.property))}),e._cancelled=0,e):e,Dp=0,Kte=(e,t)=>e._priority>t._priority,qte=class extends gp{constructor(e={},t=null,n=0){super(0),++Dp;let{id:r,delay:i,duration:a,reversed:o,alternate:s,loop:c,loopDelay:l,autoplay:u,frameRate:d,playbackRate:f,priority:p,onComplete:m,onLoop:h,onPause:g,onBegin:_,onBeforeUpdate:v,onUpdate:y}=e;uf.current&&uf.current.register(this);let b=t?0:yp._lastTickTime,x=t?t.defaults:df.defaults,S=bf(i)||xf(i)?x.delay:+i,C=bf(a)||xf(a)?1/0:+a,w=ep(c,x.loop),T=ep(l,x.loopDelay),E=w===!0||w===1/0||w<0?1/0:w+1,D=0;t?D=n:(yp.reqId||yp.requestTick(hf()),D=(yp._lastTickTime-yp._startTime)*df.timeScale),this.id=xf(r)?Dp:r,this.parent=t,this.duration=Wf((C+T)*E-T)||1e-11,this.backwards=!1,this.paused=!0,this.began=!1,this.completed=!1,this.onBegin=_||x.onBegin,this.onBeforeUpdate=v||x.onBeforeUpdate,this.onUpdate=y||x.onUpdate,this.onLoop=h||x.onLoop,this.onPause=g||x.onPause,this.onComplete=m||x.onComplete,this.iterationDuration=C,this.iterationCount=E,this._autoplay=!t&&ep(u,x.autoplay),this._offset=D,this._delay=S,this._loopDelay=T,this._iterationTime=0,this._currentIteration=0,this._resolve=sf,this._running=!1,this._reversed=+ep(o,x.reversed),this._reverse=this._reversed,this._cancelled=0,this._alternate=ep(s,x.alternate),this._prev=null,this._next=null,this._lastTickTime=b,this._startTime=b,this._lastTime=b,this._fps=ep(d,x.frameRate),this._speed=ep(f,x.playbackRate),this._priority=+ep(p,1)}get cancelled(){return!!this._cancelled}set cancelled(e){e?this.cancel():this.reset(!0).play()}get currentTime(){return Vf(Hf(this._currentTime,df.precision),-this._delay,this.duration)}set currentTime(e){let t=this.paused;this.pause().seek(+e),t||this.resume()}get iterationCurrentTime(){return Vf(Hf(this._iterationTime,df.precision),0,this.iterationDuration)}set iterationCurrentTime(e){this.currentTime=this.iterationDuration*this._currentIteration+e}get progress(){return Vf(Hf(this._currentTime/this.duration,10),0,1)}set progress(e){this.currentTime=this.duration*e}get iterationProgress(){return Vf(Hf(this._iterationTime/this.iterationDuration,10),0,1)}set iterationProgress(e){let t=this.iterationDuration;this.currentTime=t*this._currentIteration+t*e}get currentIteration(){return this._currentIteration}set currentIteration(e){this.currentTime=this.iterationDuration*Vf(+e,0,this.iterationCount-1)}get reversed(){return!!this._reversed}set reversed(e){e?this.reverse():this.play()}get speed(){return super.speed}set speed(e){super.speed=e,this.resetTime()}reset(e=!1){return Ep(this),this._reversed&&!this._reverse&&(this.reversed=!1),this._iterationTime=this.iterationDuration,pp(this,0,1,~~e,Jd.FORCE),Tp(this),this._hasChildren&&qf(this,Tp),this}init(e=!1){this.fps=this._fps,this.speed=this._speed,!e&&this._hasChildren&&pp(this,this.duration,1,~~e,Jd.FORCE),this.reset(e);let t=this._autoplay;return t===!0?this.resume():t&&!xf(t.linked)&&t.link(this),this}resetTime(){let e=1/(this._speed*yp._speed);return this._startTime=hf()-(this._currentTime+this._delay)*e,this}pause(){return this.paused?this:(this.paused=!0,this.onPause(this),this)}resume(){return this.paused?(this.paused=!1,this.duration<=1e-11&&!this._hasChildren?pp(this,ef,0,0,Jd.FORCE):(this._running||=(Yf(yp,this,Kte),yp._hasChildren=!0,!0),this.resetTime(),this._startTime-=12,yp.wake()),this):this}restart(){return this.reset().resume()}seek(e,t=0,n=0){Ep(this),this.completed=!1;let r=this.paused;return this.paused=!0,pp(this,e+this._delay,~~t,~~n,Jd.AUTO),r?this:this.resume()}alternate(){let e=this._reversed,t=this.iterationCount,n=this.iterationDuration,r=t===1/0?Rf(tf/n):t;return this._reversed=+(this._alternate&&!(r%2)?e:!e),t===1/0?this.iterationProgress=this._reversed?1-this.iterationProgress:this.iterationProgress:this.seek(n*r-this._currentTime),this.resetTime(),this}play(){return this._reversed&&this.alternate(),this.resume()}reverse(){return this._reversed||this.alternate(),this.resume()}cancel(){return this._hasChildren?qf(this,e=>e.cancel(),!0):qf(this,Gte),this._cancelled=1,this.pause()}stretch(e){let t=this.duration,n=Gf(e);if(t===n)return this;let r=e/t,i=e<=ef;return this.duration=i?ef:n,this.iterationDuration=i?ef:Gf(this.iterationDuration*r),this._offset*=r,this._delay*=r,this._loopDelay*=r,this}revert(){pp(this,0,1,0,Jd.AUTO);let e=this._autoplay;return e&&e.linked&&e.linked===this&&e.revert(),this.cancel()}complete(e=0){return this.seek(this.duration,e).cancel()}then(e=sf){let t=this.then,n=()=>{this.then=null,e(this),this.then=t,this._resolve=sf};return new Promise(e=>(this._resolve=()=>e(n()),this.completed&&this._resolve(),this))}};function Op(e){let t=yf(e)?uf.root.querySelectorAll(e):e;if(t instanceof NodeList||t instanceof HTMLCollection)return t}function Jte(e){if(Sf(e))return[];if(!Ud)return gf(e)&&e.flat(1/0)||[e];if(gf(e)){let t=e.flat(1/0),n=[];for(let e=0,r=t.length;e<r;e++){let r=t[e];if(!Sf(r)){let e=Op(r);if(e)for(let t=0,r=e.length;t<r;t++){let r=e[t];if(!Sf(r)){let e=!1;for(let t=0,i=n.length;t<i;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}else{let e=!1;for(let t=0,i=n.length;t<i;t++)if(n[t]===r){e=!0;break}e||n.push(r)}}}return n}let t=Op(e);return t?Array.from(t):[e]}function Yte(e){let t=Jte(e),n=t.length;for(let e=0;e<n;e++){let n=t[e];if(!n[Xd]){n[Xd]=!0;let e=Cf(n);(n.nodeType||e)&&(n[Zd]=!0,n[Qd]=e,n[$d]={})}}return t}var kp={deg:1,rad:180/zf,turn:360},Ap={},jp=(e,t,n,r=!1)=>{let i=t.u,a=t.n;if(t.t===qd.UNIT&&i===n)return t;let o=a+i+n,s=Ap[o];if(!xf(s)&&!r)t.n=s;else{let r;if(i in kp)r=a*kp[i]/kp[n];else{let t=e.cloneNode(),o=e.parentNode,s=o&&o!==Gd?o:Gd.body;s.appendChild(t);let c=t.style;c.width=100+i;let l=t.offsetWidth||100;c.width=100+n;let u=l/(t.offsetWidth||100);s.removeChild(t),r=u*a}t.n=r,Ap[o]=r}return t.t,qd.UNIT,t.u=n,t},Mp=e=>e,Np=(e=1.68)=>t=>jf(t,+e),Pp={in:e=>t=>e(t),out:e=>t=>1-e(1-t),inOut:e=>t=>t<.5?e(t*2)/2:1-e(t*-2+2)/2,outIn:e=>t=>t<.5?(1-e(1-t*2))/2:(e(t*2-1)+1)/2},Xte=zf/2,Fp=zf*2,Ip={"":Np,Quad:Np(2),Cubic:Np(3),Quart:Np(4),Quint:Np(5),Sine:e=>1-Pf(e*Xte),Circ:e=>1-Mf(1-e*e),Expo:e=>e?jf(2,10*e-10):0,Bounce:e=>{let t,n=4;for(;e<((t=jf(2,--n))-1)/11;);return 1/jf(4,3-n)-7.5625*jf((t*3-2)/22-e,2)},Back:(e=1.7)=>t=>(+e+1)*t*t*t-+e*t*t,Elastic:(e=1,t=.3)=>{let n=Vf(+e,1,10),r=Vf(+t,ef,2),i=r/Fp*Mte(1/n),a=Fp/r;return e=>e===0||e===1?e:-n*jf(2,-10*(1-e))*Nf((1-e-i)*a)}},Lp=(()=>{let e={linear:Mp,none:Mp};for(let t in Pp)for(let n in Ip){let r=Ip[n],i=Pp[t];e[t+n]=n===``||n===`Back`||n===`Elastic`?(e,t)=>i(r(e,t)):i(r)}return e})(),Rp={linear:Mp,none:Mp},Zte=e=>{if(Rp[e])return Rp[e];if(e.indexOf(`(`)<=-1){let t=Pp[e]||e.includes(`Back`)||e.includes(`Elastic`)?Lp[e]():Lp[e];return t?Rp[e]=t:Mp}{let t=e.slice(0,-1).split(`(`),n=Lp[t[0]];return n?Rp[e]=n(...t[1].split(`,`)):Mp}},zp=[`steps(`,`irregular(`,`linear(`,`cubicBezier(`],Bp=e=>{if(yf(e)){for(let t=0,n=zp.length;t<n;t++)if(mf(e,zp[t]))return console.warn(`String syntax for \`ease: "${e}"\` has been removed from the core and replaced by importing and passing the easing function directly: \`ease: ${e}\``),Mp}return bf(e)?e:yf(e)?Zte(e):Mp},Vp=sp(),Hp=sp(),Up={},Wp={func:null},Gp={func:null},Kp=[null],qp=[null,null],Jp={to:null},Qte=0,Yp=0,Xp,Zp,$te=(e,t)=>{let n={};if(gf(e)){let t=[].concat(...e.map(e=>Object.keys(e))).filter(Of);for(let r=0,i=t.length;r<i;r++){let i=t[r];n[i]=e.map(e=>{let t={};for(let n in e){let r=e[n];Of(n)?n===i&&(t.to=r):t[n]=r}return t})}}else{let r=ep(t.duration,df.defaults.duration);Object.keys(e).map(t=>({o:parseFloat(t)/100,p:e[t]})).sort((e,t)=>e.o-t.o).forEach(e=>{let t=e.o,i=e.p;for(let e in i)if(Of(e)){let a=n[e];a||=n[e]=[];let o=t*r,s=a.length,c=a[s-1],l={to:i[e]},u=0;for(let e=0;e<s;e++)u+=a[e].duration;s===1&&(l.from=c.to),i.ease&&(l.ease=i.ease),l.duration=o-(s?u:0),a.push(l)}return e});for(let e in n){let t=n[e],r;for(let e=0,n=t.length;e<n;e++){let n=t[e],i=n.ease;n.ease=r||void 0,r=i}t[0].duration||t.shift()}}return n},ene=class extends qte{constructor(e,t,n,r,i=!1,a=0,o){super(t,n,r),this._head,this._tail,++Yp;let s=Yte(e),c=s.length,l=t.keyframes,u=l?Nte($te(l,t),t):t,{id:d,delay:f,duration:p,ease:m,playbackEase:h,modifier:g,composition:_,onRender:v}=u,y=n?n.defaults:df.defaults,b=ep(m,y.ease),x=ep(h,y.playbackEase),S=x?Bp(x):null,C=!xf(b.ease),w=C?b.ease:ep(m,S?`linear`:y.ease),T=C?b.settlingDuration:ep(p,y.duration),E=ep(f,y.delay),D=g||y.modifier,O=xf(_)&&c>=1e3?Yd.none:xf(_)?y.composition:_,k=this._offset+(n?n._offset:0);C&&(b.parent=this);let A=NaN,j=NaN,M=0,N=0;for(let e=0;e<c;e++){let t=s[e],r=a||e,c=o||s,l=NaN,d=NaN;for(let e in u)if(Of(e)){let a=rp(t,e),o=Qf(t,e),s=zte(e,t,a),f=u[e],p=gf(f);if(i&&!p&&(qp[0]=f,qp[1]=f,f=qp),p){let e=f.length,t=!_f(f[0]);e===2&&t?(Jp.to=f,Kp[0]=Jp,Xp=Kp):e>2&&t?(Xp=[],f.forEach((e,t)=>{t?t===1?(qp[1]=e,Xp.push(qp)):Xp.push(e):qp[0]=e})):Xp=f}else Kp[0]=f,Xp=Kp;let m=null,h=null,g=NaN,_=0,v=0;for(let e=Xp.length;v<e;v++){let i=Xp[v];_f(i)?Zp=i:(Jp.to=i,Zp=Jp),Wp.func=null,Gp.func=null;let l=np(ep(Zp.composition,O),t,r,c,null,null),u=vf(l)?l:Yd[l];!m&&u!==Yd.none&&(m=Sp(t,s));let d=m?m._tail:null,f=n&&d&&d.parent.parent===n?d:h,p=np(Zp.to,t,r,c,Wp,f),y;_f(p)&&!xf(p.to)?(Zp=p,y=p.to):y=p;let b=np(Zp.from,t,r,c,Gp,f),x=Zp.ease||w,S=np(x,t,r,c,null,f),C=bf(S)||yf(S)?S:x,A=!xf(C)&&!xf(C.ease),j=A?C.ease:C,P=A?C.settlingDuration:np(ep(Zp.duration,e>1?np(T,t,r,c,null,f)/e:T),t,r,c,null,f),ee=np(ep(Zp.delay,v?0:E),t,r,c,null,f),te=Zp.modifier||D,ne=!xf(b),re=!xf(y),ie=gf(y),ae=ie||ne&&re,oe=h?_:0,se=h?_+ee:ee,ce=Hf(k+se,12),le=Hf(k+oe,12);!N&&(ne||ie)&&(N=1);let ue=h;if(u!==Yd.none){let e=m._head;for(;e&&e._absoluteStartTime<=ce;)if(e._isOverridden||(ue=e),e=e._nextRep,e&&e._absoluteStartTime>=ce)for(;e;)Cp(e),e=e._nextRep}if(ae){cp(ie?np(y[0],t,r,c,Gp,f):b,Vp),cp(ie?np(y[1],t,r,c,Wp,f):y,Hp);let e=ap(t,s,a,Up);Vp.t===qd.NUMBER&&(ue?ue._valueType===qd.UNIT&&(Vp.t=qd.UNIT,Vp.u=ue._unit):(cp(e,up),up.t===qd.UNIT&&(Vp.t=qd.UNIT,Vp.u=up.u)))}else re?cp(y,Hp):h?lp(h,Hp):cp(n&&ue&&ue.parent.parent===n?ue._value:ap(t,s,a,Up),Hp),ne?cp(b,Vp):h?lp(h,Vp):cp(n&&ue&&ue.parent.parent===n?ue._value:ap(t,s,a,Up),Vp);if(Vp.o&&(Vp.n=op(ue?ue._toNumber:cp(ap(t,s,a,Up),up).n,Vp.n,Vp.o)),Hp.o&&(Hp.n=op(Vp.n,Hp.n,Hp.o)),Vp.t!==Hp.t){if(Vp.t===qd.COMPLEX||Hp.t===qd.COMPLEX){let e=Vp.t===qd.COMPLEX?Vp:Hp,t=Vp.t===qd.COMPLEX?Hp:Vp;t.t=qd.COMPLEX,t.s=Kf(e.s),t.d=e.d.map(()=>t.n)}else if(Vp.t===qd.UNIT||Hp.t===qd.UNIT){let e=Vp.t===qd.UNIT?Vp:Hp,t=Vp.t===qd.UNIT?Hp:Vp;t.t=qd.UNIT,t.u=e.u}else if(Vp.t===qd.COLOR||Hp.t===qd.COLOR){let e=Vp.t===qd.COLOR?Vp:Hp,t=Vp.t===qd.COLOR?Hp:Vp;t.t=qd.COLOR,t.d=e.d.map(()=>0)}}if(Vp.u!==Hp.u){let e=Hp.u?Vp:Hp;e=jp(t,e,Hp.u?Hp.u:Vp.u,!1)}if(Hp.d&&Vp.d&&Hp.d.length!==Vp.d.length){let e=Vp.d.length>Hp.d.length?Vp:Hp,t=e===Vp?Hp:Vp;t.d=e.d.map((e,n)=>xf(t.d[n])?0:t.d[n]),t.s=Kf(e.s)}let de=Hf(+P||1e-11,12),fe=Up[s];Sf(fe)||(Up[s]=null);let pe=o?o.set:null;_=Hf(se+de,12);let me=Vp.d,he=Hp.d,ge=Hp.s,_e={parent:this,id:Qte++,property:s,target:t,_value:null,_toFunc:Wp.func,_fromFunc:Gp.func,_ease:Bp(j),_fromNumbers:me?Kf(me):rf,_toNumbers:he?Kf(he):rf,_strings:ge?Kf(ge):rf,_fromNumber:Vp.n,_toNumber:Hp.n,_numbers:me?Kf(me):rf,_number:Vp.n,_unit:Hp.u,_modifier:te,_currentTime:0,_startTime:se,_delay:+ee,_updateDuration:de,_changeDuration:de,_absoluteStartTime:ce,_absoluteUpdateStartTime:le,_absoluteEndTime:Hf(k+_,12),_hasFromValue:ne||ie?1:0,_tweenType:a,_setter:pe,_valueType:Hp.t,_composition:u,_isOverlapped:0,_isOverridden:0,_renderTransforms:0,_inlineValue:fe,_prevRep:null,_nextRep:null,_prevAdd:null,_nextAdd:null,_prev:null,_next:null};u!==Yd.none&&wp(_e,m);let ve=_e._valueType;if(ve===qd.COMPLEX)_e._value=dp(_e,1,-1);else if(ve===qd.UNIT)_e._value=`${te(_e._toNumber)}${_e._unit}`;else if(ve===qd.COLOR){let e=Hp.d;_e._value=`rgba(${Hf(e[0],0)},${Hf(e[1],0)},${Hf(e[2],0)},${e[3]})`}else _e._value=te(_e._toNumber);isNaN(g)&&(g=_e._startTime),h=_e,M++,Yf(this,_e)}(isNaN(j)||g<j)&&(j=g),(isNaN(A)||_>A)&&(A=_),a===Kd.TRANSFORM&&(l=M-v,d=M)}if(!isNaN(l)){let e=0;qf(this,t=>{e>=l&&e<d&&(t._renderTransforms=1,t._composition===Yd.blend&&qf(_p.animation,e=>{e.id===t.id&&(e._renderTransforms=1)})),e++})}}c||console.warn(`No target found. Make sure the element you're trying to animate is accessible before creating your animation.`),j?(qf(this,e=>{e._startTime-e._delay||(e._delay-=j),e._startTime-=j}),A-=j):j=0,A||(A=ef,this.iterationCount=0),this.targets=s,this.id=xf(d)?Yp:d,this.duration=A===1e-11?ef:Wf((A+this._loopDelay)*this.iterationCount-this._loopDelay)||1e-11,this.onRender=v||y.onRender,this._ease=S,this._delay=j,this.iterationDuration=A,!this._autoplay&&N&&this.onRender(this)}stretch(e){let t=this.duration;if(t===Gf(e))return this;let n=e/t;return qf(this,e=>{e._updateDuration=Gf(e._updateDuration*n),e._changeDuration=Gf(e._changeDuration*n),e._currentTime*=n,e._delay*=n,e._startTime*=n,e._absoluteStartTime*=n,e._absoluteUpdateStartTime*=n,e._absoluteEndTime*=n}),super.stretch(e)}refresh(){return qf(this,e=>{let t=e._toFunc,n=e._fromFunc;(t||n)&&(n?(cp(n(),Vp),Vp.u!==e._unit&&e.target[Zd]&&jp(e.target,Vp,e._unit,!0),e._fromNumbers=Kf(Vp.d),e._fromNumber=Vp.n):t&&(cp(ap(e.target,e.property,e._tweenType),up),e._fromNumbers=Kf(up.d),e._fromNumber=up.n),t&&(cp(t(),Hp),e._toNumbers=Kf(Hp.d),e._strings=Kf(Hp.s),e._toNumber=Hp.o?op(e._fromNumber,Hp.n,Hp.o):Hp.n))}),this.duration===1e-11&&this.restart(),this}revert(){return super.revert(),hp(this)}then(e){return super.then(e)}},Qp=(e,t)=>df.editor?df.editor.addAnimation(e,t):new ene(e,t,null,0,!1).init(),$p=nf*10,tne=class{constructor(e={}){let t=!xf(e.bounce)||!xf(e.duration);this.timeStep=.02,this.restThreshold=5e-4,this.restDuration=200,this.maxDuration=6e4,this.maxRestSteps=this.restDuration/this.timeStep/nf,this.maxIterations=this.maxDuration/this.timeStep/nf,this.bn=Vf(ep(e.bounce,.5),-1,1),this.pd=Vf(ep(e.duration,628),10*df.timeScale,$p*df.timeScale),this.m=Vf(ep(e.mass,1),1,$p),this.s=Vf(ep(e.stiffness,100),ef,$p),this.d=Vf(ep(e.damping,10),ef,$p),this.v=Vf(ep(e.velocity,0),-$p,$p),this.w0=0,this.zeta=0,this.wd=0,this.b=0,this.completed=!1,this.solverDuration=0,this.settlingDuration=0,this.parent=null,this.onComplete=e.onComplete||sf,t&&this.calculateSDFromBD(),this.compute(),this.ease=e=>{let t=e*this.settlingDuration,n=this.completed,r=this.pd;return t>=r&&!n&&(this.completed=!0,this.onComplete(this.parent)),t<r&&n&&(this.completed=!1),e===0||e===1?e:this.solve(e*this.solverDuration)}}solve(e){let{zeta:t,w0:n,wd:r,b:i}=this,a=e;return a=t<1?If(-a*t*n)*(1*Pf(r*a)+i*Nf(r*a)):t===1?(1+i*a)*If(-a*n):((1+i)*If((-t*n+r)*a)+(1-i)*If((-t*n-r)*a))/2,1-a}calculateSDFromBD(){let e=df.timeScale===1?this.pd/nf:this.pd;this.m=1,this.v=0,this.s=jf(2*zf/e,2),this.d=this.bn>=0?(1-this.bn)*4*zf/e:4*zf/(e*(1+this.bn)),this.s=Hf(Vf(this.s,ef,$p),3),this.d=Hf(Vf(this.d,ef,300),3)}calculateBDFromSD(){let e=2*zf/Mf(this.s);this.pd=e*(df.timeScale===1?nf:1),this.bn=this.d/(2*Mf(this.s))<=1?1-this.d*e/(4*zf):4*zf/(this.d*e)-1,this.bn=Hf(Vf(this.bn,-1,1),3),this.pd=Hf(Vf(this.pd,10*df.timeScale,$p*df.timeScale),3)}compute(){let{maxRestSteps:e,maxIterations:t,restThreshold:n,timeStep:r,m:i,d:a,s:o,v:s}=this,c=this.w0=Vf(Mf(o/i),ef,nf),l=this.zeta=a/(2*Mf(o*i));l<1?(this.wd=c*Mf(1-l*l),this.b=(l*c+-s)/this.wd):l===1?(this.wd=0,this.b=-s+c):(this.wd=c*Mf(l*l-1),this.b=(l*c+-s)/this.wd);let u=0,d=0,f=0;for(;d<=e&&f<=t;)Ff(1-this.solve(u))<n?d++:d=0,this.solverDuration=u,u+=r,f++;this.settlingDuration=Hf(this.solverDuration*nf,0)*df.timeScale}get bounce(){return this.bn}set bounce(e){this.bn=Vf(ep(e,1),-1,1),this.calculateSDFromBD(),this.compute()}get duration(){return this.pd}set duration(e){this.pd=Vf(ep(e,1),10*df.timeScale,$p*df.timeScale),this.calculateSDFromBD(),this.compute()}get stiffness(){return this.s}set stiffness(e){this.s=Vf(ep(e,100),ef,$p),this.calculateBDFromSD(),this.compute()}get damping(){return this.d}set damping(e){this.d=Vf(ep(e,10),ef,$p),this.calculateBDFromSD(),this.compute()}get mass(){return this.m}set mass(e){this.m=Vf(ep(e,1),1,$p),this.compute()}get velocity(){return this.v}set velocity(e){this.v=Vf(ep(e,0),-$p,$p),this.compute()}},nne=e=>new tne(e),em=(e=10,t)=>{let n=t?Lf:Rf;return t=>n(Vf(t,0,1)*e)*(1/e)},tm=(0,I.forwardRef)(function({id:e,transform:t},n){return(0,F.jsxs)(`radialGradient`,{ref:n,id:e,gradientUnits:`userSpaceOnUse`,cx:`-1.2`,cy:`-1.6`,r:`5.6`,gradientTransform:t,children:[(0,F.jsx)(`stop`,{offset:`0`,stopColor:`color-mix(in oklab, var(--color-white) calc(var(--depth) * 50%), currentColor)`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`currentColor`})]})});function nm({id:e}){return(0,F.jsx)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:(0,F.jsx)(`feDropShadow`,{dx:`0`,dy:`1.5`,stdDeviation:`1`,floodColor:`currentColor`,style:{floodOpacity:`calc(var(--depth) * 0.6)`}})})}function rm({id:e}){return(0,F.jsxs)(`filter`,{id:e,x:`-10%`,y:`-10%`,width:`120%`,height:`120%`,colorInterpolationFilters:`sRGB`,children:[(0,F.jsx)(`feGaussianBlur`,{in:`SourceAlpha`,stdDeviation:`0.3`,result:`soft-edge`}),(0,F.jsx)(`feOffset`,{in:`soft-edge`,dx:`0.25`,dy:`0.45`,result:`lower-edge`}),(0,F.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`lower-edge`,operator:`out`,result:`inner-shadow`}),(0,F.jsx)(`feFlood`,{floodColor:`var(--color-black)`,floodOpacity:`calc(var(--depth) * 0.28)`}),(0,F.jsx)(`feComposite`,{in2:`inner-shadow`,operator:`in`,result:`shade`}),(0,F.jsx)(`feOffset`,{in:`soft-edge`,dx:`-0.2`,dy:`-0.35`,result:`upper-edge`}),(0,F.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`upper-edge`,operator:`out`,result:`inner-highlight`}),(0,F.jsx)(`feFlood`,{floodColor:`var(--color-white)`,floodOpacity:`calc(var(--depth) * 0.7)`}),(0,F.jsx)(`feComposite`,{in2:`inner-highlight`,operator:`in`,result:`highlight`}),(0,F.jsxs)(`feMerge`,{children:[(0,F.jsx)(`feMergeNode`,{in:`SourceGraphic`}),(0,F.jsx)(`feMergeNode`,{in:`shade`}),(0,F.jsx)(`feMergeNode`,{in:`highlight`})]})]})}var im=Object.freeze({alphaIntercept:-8,alphaSlope:18,blurStdDeviation:2});function am({id:e,values:t=fr}){return(0,F.jsxs)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:[(0,F.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:t.blurStdDeviation,result:`blur`}),(0,F.jsx)(`feColorMatrix`,{in:`blur`,values:`1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 ${String(t.alphaSlope)} ${String(t.alphaIntercept)}`,result:`gooey`}),(0,F.jsx)(`feComposite`,{in:`SourceGraphic`,in2:`gooey`,operator:`atop`})]})}function om(e,t){let n=e.ownerDocument,r=!0,i=()=>{t(r&&!n.hidden)},a=globalThis,o=`IntersectionObserver`in globalThis&&a.IntersectionObserver?new a.IntersectionObserver(t=>{let n=t.find(t=>t.target===e);n&&(r=n.isIntersecting,i())}):void 0;return o?.observe(e),n.addEventListener(`visibilitychange`,i),i(),()=>{o?.disconnect(),n.removeEventListener(`visibilitychange`,i)}}function sm(e){let t=Math.max(0,Math.min(1,e));return t*t*(3-2*t)}function cm(e,t){let n=Math.max(0,Math.min(1,(t-(e-1)*.085)/.68));return Math.sin(n*Math.PI)**2}function lm(e,t,n){let r=n*Math.PI*2,i=t*2.1,a=Math.sin(r*2+i)*.15,o={rx:4*(1+a),ry:4/(1+a)};if(e===`line`){let e=7.5+4*Math.cos(r+(t===2?-.45:0));return{cx:(t-1)*e,cy:Math.sin(r+i)*.7,...o}}if(e===`square`){let e=4.7+2.7*Math.cos(r);return{cx:(t%2?1:-1)*e,cy:(t<2?-1:1)*e,...o}}if(e===`donut`){let e=sm(n/.66)*Math.PI*2,o=Math.min(e,t*Math.PI/8)-Math.PI/2,s=sm((n-.79)/.21),c=8+Math.sin(r*2+i)*.35*Math.sin(n*Math.PI);return{cx:Math.cos(o)*c*(1-s),cy:Math.sin(o)*c*(1-s)-8*s,rx:3.6*(1+a*Math.sin(n*Math.PI)),ry:3.6/(1+a*Math.sin(n*Math.PI))}}if(e===`bloom`){if(t===0){let e=[1,2,3,4].reduce((e,t)=>e+cm(t,n),0),t=Math.sqrt(49-e*4);return{cx:Math.sin(r)*.4,cy:Math.sin(r*2)*.4,rx:t*(1+a),ry:t/(1+a)}}let e=cm(t,n),i=(t-1)*Math.PI/2-Math.PI/4+Math.sin(r)*.22;return{cx:Math.cos(i)*14*e,cy:Math.sin(i)*14*e,rx:3.2*(1+a),ry:3.2/(1+a)}}return{cx:Math.sin(r+i)*6+Math.sin(r*3+i)*2.5,cy:Math.cos(r*2+i)*6,...o}}var rne={line:1700,square:1900,donut:3e3,wander:4600,bloom:2800},ine=2;function ane({variant:e,pace:t=`working`}){let n=`caps-loader-${(0,I.useId)().replaceAll(`:`,``)}`,r=(0,I.useRef)(null),i=(0,I.useRef)(null),a=Ld(i),{reduced:o}=a,s=e===`donut`?16:e===`bloom`?5:e===`square`?4:3;return(0,I.useLayoutEffect)(()=>{if(!r.current||!i.current||o&&t===`idle`)return;let n=o?[Qp(r.current,{opacity:[.55,1],duration:a.slow*10,ease:`inOutSine`,alternate:!0,loop:!0})]:[...r.current.querySelectorAll(`ellipse`)].map((n,r)=>Qp(n,{keyframes:Array.from({length:48},(n,i)=>({...lm(e,r,(i+1)/48),duration:Rd(a,rne[e]*(t===`idle`?ine:1))/48})),ease:`linear`,loop:!0})),s=om(i.current,e=>{for(let t of n)e?t.resume():t.pause()});return()=>{s();for(let e of n)e.revert()}},[e,t,o,a]),(0,F.jsxs)(`svg`,{ref:i,"aria-hidden":`true`,focusable:`false`,viewBox:e===`line`?`-20 -10 40 20`:`-20 -20 40 40`,children:[(0,F.jsxs)(`defs`,{children:[(0,F.jsx)(am,{id:n,values:im}),(0,F.jsx)(tm,{id:`${n}-surface`,transform:e===`line`?`matrix(3.4 0 0 1.4 0 0)`:`matrix(3 0 0 3 0 0)`}),(0,F.jsx)(nm,{id:`${n}-shadow`}),(0,F.jsx)(`mask`,{id:`${n}-mask`,maskUnits:`userSpaceOnUse`,x:`-20`,y:`-20`,width:`40`,height:`40`,style:{maskType:`alpha`},children:(0,F.jsx)(`g`,{ref:r,fill:`currentColor`,filter:`url(#${n})`,children:Array.from({length:s},(t,n)=>(0,F.jsx)(`ellipse`,{...lm(e,n,0)},n))})})]}),(0,F.jsx)(`g`,{filter:`url(#${n}-shadow)`,children:(0,F.jsx)(`rect`,{x:`-20`,y:`-20`,width:`40`,height:`40`,fill:`url(#${n}-surface)`,mask:`url(#${n}-mask)`})})]})}var one={sm:`caps-loader-sm`,md:`caps-loader-md`,lg:`caps-loader-lg`,fill:`caps-loader-fill`},sne={neutral:`text-base-content`,accent:`text-accent`,primary:`text-primary`,success:`text-success`,current:`text-current`},um=(0,I.forwardRef)(function({"aria-label":e,"aria-labelledby":t,className:n,decorative:r=!1,label:i=`Loading`,size:a=`md`,variant:o=`line`,pace:s=`working`,tone:c=`neutral`,...l},u){let d=`${(0,I.useId)()}-label`,f=!r&&e===void 0&&t===void 0;return(0,F.jsxs)(`span`,{...l,"aria-label":r?void 0:e,"aria-hidden":r||void 0,"aria-labelledby":r?void 0:t??(e===void 0?d:void 0),className:Dd(`caps-loader`,one[a],sne[c],n),"data-variant":o,"data-pace":s,role:r?void 0:`status`,ref:u,children:[(0,F.jsx)(ane,{variant:o,pace:s}),f?(0,F.jsx)(Md,{id:d,children:i}):null]})}),dm=Object.freeze({ease:`linear`,duration:0});function fm(e,t){let n=gte(e,t.duration);return n<=0?dm:e.steps>0?{ease:em(e.steps),duration:n}:{ease:nne({bounce:hte(e,t.bounce),duration:n}),duration:n}}function pm(e,t){let n=Rd(e,t.duration);return{ease:e.steps>0?em(e.steps):t.ease,duration:n}}var mm={dot:{y:-4,height:8,cy:0},pill:{y:-16,height:32,cy:0},bang:{y:-16,height:20,cy:12}};function cne({className:e,glyph:t,motion:n}){let r=`caps-status-${(0,I.useId)().replaceAll(`:`,``)}`,i=(0,I.useRef)(null),a=(0,I.useRef)(null),o=(0,I.useRef)(null),s=(0,I.useRef)(null),c=(0,I.useRef)(null),l=(0,I.useRef)(null),u=(0,I.useRef)(mm[t]).current,d=(0,I.useRef)(t===`dot`?1:4).current,f=(0,I.useRef)(+(t===`bang`)).current,p=(0,I.useRef)(t),m=Ld(s),{reduced:h}=m;return(0,I.useLayoutEffect)(()=>{if(!i.current||!a.current||!c.current||!l.current)return;let e=mm[t],n=h||p.current===t;p.current=t;let r=Fd(i.current),o=n?{duration:0}:fm(r,{bounce:.3,duration:360}),s=Qp(i.current,{y:e.y,height:e.height,...o}),u=Qp(a.current,{cy:e.cy,...n?{duration:0}:{delay:Rd(r,35),...fm(r,{bounce:.3,duration:420})}}),d=Qp(c.current,{gradientTransform:`matrix(1 0 0 ${t===`dot`?`1`:`4`} 0 0)`,...o}),f=Qp(l.current,{opacity:+(t===`bang`),...n?dm:pm(r,{ease:`inOutSine`,duration:220})});return()=>{s.cancel(),u.cancel(),d.cancel(),f.cancel()}},[t,h]),(0,I.useLayoutEffect)(()=>{if(!o.current||!s.current||h||n===`none`)return;let e=n===`pulse`?Qp(o.current,{opacity:[1,.45],...pm(m,{ease:`inOutSine`,duration:750}),alternate:!0,loop:!0}):Qp(o.current,{keyframes:{"0%":{translateY:0,scaleX:1,scaleY:1},"18%":{translateY:.25,scaleX:1.1,scaleY:.91},"42%":{translateY:-1.3,scaleX:.94,scaleY:1.06},"62%":{translateY:-1.65,scaleX:1,scaleY:1},"82%":{translateY:.15,scaleX:1.06,scaleY:.95},"100%":{translateY:0,scaleX:1,scaleY:1}},...pm(m,{ease:`inOutSine`,duration:1e3}),loop:!0}),t=om(s.current,t=>{t?e.resume():e.pause()});return()=>{t(),e.revert()}},[n,h,m]),(0,F.jsxs)(`svg`,{ref:s,"aria-hidden":`true`,className:`caps-status-bead ${e??``}`,width:`8`,height:`8`,viewBox:`-4 -4 8 8`,focusable:`false`,children:[(0,F.jsxs)(`defs`,{children:[(0,F.jsx)(am,{id:r,values:im}),(0,F.jsx)(tm,{ref:c,id:`${r}-surface`,transform:`matrix(1 0 0 ${String(d)} 0 0)`}),(0,F.jsxs)(`radialGradient`,{id:`${r}-drop-light`,gradientUnits:`userSpaceOnUse`,cx:`-1.2`,cy:`10.4`,r:`5.6`,children:[(0,F.jsx)(`stop`,{offset:`0`,stopColor:`var(--color-white)`,style:{stopOpacity:`calc(var(--depth) * 0.5)`}}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`var(--color-white)`,stopOpacity:`0`})]}),(0,F.jsx)(nm,{id:`${r}-shadow`}),(0,F.jsx)(`mask`,{id:`${r}-silhouette`,maskUnits:`userSpaceOnUse`,x:`-12`,y:`-24`,width:`24`,height:`48`,style:{maskType:`alpha`},children:(0,F.jsxs)(`g`,{fill:`var(--color-white)`,filter:`url(#${r})`,children:[(0,F.jsx)(`rect`,{ref:i,x:`-4`,y:u.y,width:`8`,height:u.height,rx:`4`}),(0,F.jsx)(`circle`,{ref:a,cx:`0`,cy:u.cy,r:`4`})]})})]}),(0,F.jsx)(`g`,{ref:o,filter:`url(#${r}-shadow)`,children:(0,F.jsxs)(`g`,{mask:`url(#${r}-silhouette)`,children:[(0,F.jsx)(`rect`,{x:`-12`,y:`-24`,width:`24`,height:`48`,fill:`url(#${r}-surface)`}),(0,F.jsx)(`rect`,{ref:l,x:`-12`,y:`-24`,width:`24`,height:`48`,fill:`url(#${r}-drop-light)`,opacity:f})]})})]})}var lne=.28;function hm(e,t){switch(e){case`ring`:return{dashes:1,track:0,arc:0,sweep:0,disc:0,tick:0,cross:0};case`arc`:return{dashes:0,track:1,arc:1,sweep:t===void 0?lne:Math.min(1,Math.max(0,t)),disc:0,tick:0,cross:0};case`check`:return{dashes:0,track:0,arc:1,sweep:1,disc:1,tick:1,cross:0};case`cross`:return{dashes:0,track:0,arc:1,sweep:1,disc:1,tick:0,cross:1}}}var gm=7.25;function une({className:e,glyph:t,progress:n}){let r=`caps-status-mark-${(0,I.useId)().replaceAll(`:`,``)}`,i=(0,I.useRef)(null),a=(0,I.useRef)(null),o=(0,I.useRef)(null),s=(0,I.useRef)(null),c=(0,I.useRef)(null),l=(0,I.useRef)(null),u=(0,I.useRef)(null),d=(0,I.useRef)(null),f=(0,I.useRef)(hm(t,n)).current,p=(0,I.useRef)(t),m=Hd();(0,I.useLayoutEffect)(()=>{let e=i.current,r=a.current,c=o.current,f=s.current,h=l.current,g=u.current,_=d.current;if(!e||!r||!c||!f||!h||!g||!_)return;let v=hm(t,n),y=p.current;p.current=t;let b=Fd(e),x=m||y===t&&t!==`arc`,S=x?m?{ease:b.ease,duration:b.fast}:dm:pm(b,{ease:`outQuad`,duration:160}),C=(t===`check`||t===`cross`)&&!x,w=pm(b,{ease:`inOutSine`,duration:220}),T=[Qp(r,{opacity:v.dashes,...S}),Qp(c,{opacity:v.track*.28,...S}),Qp(f,{opacity:v.arc,"stroke-dasharray":`${String(v.sweep)} 1`,...x?m?dm:S:w}),Qp(h,{r:v.disc*gm,...C?{delay:w.duration*.7,...fm(b,{bounce:.35,duration:360})}:m?dm:pm(b,{ease:`inCubic`,duration:140})}),Qp(g,{"stroke-dashoffset":1-v.tick,...C&&v.tick>0?{delay:w.duration*.7+b.fast,...pm(b,{ease:`outCubic`,duration:240})}:dm}),Qp(_,{"stroke-dashoffset":1-v.cross,...C&&v.cross>0?{delay:w.duration*.7+b.fast,...pm(b,{ease:`outCubic`,duration:240})}:dm})];return t===`cross`&&C&&b.shake>0&&T.push(Qp(e,{translateX:[0,-b.shake,b.shake,-b.shake/2,0],delay:w.duration+b.fast,...pm(b,{ease:`linear`,duration:300})})),()=>{for(let e of T)e.cancel()}},[t,n,m]);let h=t===`arc`&&n===void 0&&!m;return(0,I.useLayoutEffect)(()=>{if(!h||!c.current||!i.current)return;let e=Fd(i.current),t=Qp(c.current,{rotate:[0,360],...pm(e,{ease:`linear`,duration:900}),loop:!0}),n=om(i.current,e=>{e?t.resume():t.pause()});return()=>{n(),t.revert()}},[h]),(0,F.jsxs)(`svg`,{ref:i,"aria-hidden":`true`,className:`caps-status-mark ${e??``}`,viewBox:`0 0 16 16`,focusable:`false`,children:[(0,F.jsxs)(`defs`,{children:[(0,F.jsx)(tm,{id:`${r}-surface`,transform:`matrix(1.6 0 0 1.6 8 8)`}),(0,F.jsxs)(`mask`,{id:`${r}-knock`,maskUnits:`userSpaceOnUse`,x:`0`,y:`0`,width:`16`,height:`16`,children:[(0,F.jsx)(`rect`,{width:`16`,height:`16`,fill:`var(--color-white)`}),(0,F.jsx)(`path`,{ref:u,d:`M4.9 8.3 7.1 10.5 11.2 5.9`,fill:`none`,stroke:`var(--color-black)`,strokeWidth:`1.9`,strokeLinecap:`round`,strokeLinejoin:`round`,pathLength:1,strokeDasharray:`1 1`,strokeDashoffset:1-f.tick}),(0,F.jsx)(`path`,{ref:d,d:`M5.4 5.4 10.6 10.6 M10.6 5.4 5.4 10.6`,fill:`none`,stroke:`var(--color-black)`,strokeWidth:`1.9`,strokeLinecap:`round`,pathLength:1,strokeDasharray:`1 1`,strokeDashoffset:1-f.cross})]})]}),(0,F.jsx)(`circle`,{ref:a,cx:`8`,cy:`8`,r:`6.25`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeDasharray:`1.7 2.2`,opacity:f.dashes}),(0,F.jsx)(`circle`,{ref:o,cx:`8`,cy:`8`,r:`6.25`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,opacity:f.track*.28}),(0,F.jsx)(`g`,{ref:c,className:`caps-status-mark-spin`,children:(0,F.jsx)(`circle`,{ref:s,cx:`8`,cy:`8`,r:`6.25`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,pathLength:1,strokeDasharray:`${String(f.sweep)} 1`,transform:`rotate(-90 8 8)`,opacity:f.arc})}),(0,F.jsx)(`circle`,{ref:l,cx:`8`,cy:`8`,r:f.disc*gm,fill:`url(#${r}-surface)`,mask:`url(#${r}-knock)`})]})}var dne=new Set([`ring`,`arc`,`check`,`cross`]);function fne(e){return dne.has(e)}var _m={neutral:`text-base-content`,primary:`text-primary`,secondary:`text-secondary`,accent:`text-accent`,success:`text-success`,info:`text-info`,warning:`text-warning`,error:`text-error`},vm=(0,I.forwardRef)(function({className:e,label:t,glyph:n=`dot`,motion:r=`none`,tone:i=`neutral`,size:a=`default`,appearance:o=`plain`,progress:s,...c},l){return(0,F.jsxs)(`span`,{...c,className:Dd(`caps-status`,a===`compact`&&`caps-status-compact`,o===`chip`&&`caps-status-chip`,e),"data-tone":o===`chip`?i:void 0,"data-glyph":n,"data-motion":r,ref:l,children:[fne(n)?(0,F.jsx)(une,{className:_m[i],glyph:n,progress:s}):(0,F.jsx)(cne,{className:_m[i],glyph:n,motion:r}),t===void 0?null:(0,F.jsx)(`span`,{children:t})]})}),pne=(0,I.createContext)(void 0),mne=(0,I.createContext)(null);function ym(e){let t=(0,I.useContext)(mne);return t===null?Object.hasOwn(globalThis,`document`)?document.body:null:t[e]}function hne(e){let t=(0,I.useContext)(pne),n=(0,I.useRef)(e);n.current=e,(0,I.useEffect)(()=>t?.(()=>{n.current()}),[t])}var bm=`(max-width: 600px)`,xm=globalThis;function gne(e){let t=xm.matchMedia?.(bm);return t?.addEventListener(`change`,e),()=>{t?.removeEventListener(`change`,e)}}function _ne(){return(0,I.useSyncExternalStore)(gne,()=>xm.matchMedia?.(bm).matches??!1,()=>!1)}function vne({className:e,...t}){let n=ym(`toast`),r=_ne();return n?(0,gn.createPortal)((0,F.jsx)(Jn,{position:r?`top-center`:`top-right`,swipeDirections:r?[`top`]:[`right`,`top`],mobileOffset:{top:`max(8px, env(safe-area-inset-top))`,bottom:16,left:16,right:16},offset:16,gap:8,icons:{close:(0,F.jsx)(dr,{"aria-hidden":`true`,size:12}),success:(0,F.jsx)(vm,{glyph:`dot`,tone:`success`}),error:(0,F.jsx)(vm,{glyph:`dot`,tone:`error`}),warning:(0,F.jsx)(vm,{glyph:`dot`,tone:`warning`}),info:(0,F.jsx)(vm,{glyph:`dot`,tone:`info`}),loading:(0,F.jsx)(um,{decorative:!0,size:`sm`,tone:`current`,variant:`wander`})},className:Dd(`caps-toaster`,e),...t}),n):null}var Sm=e=>e.length>0,Cm=`~effect/Option`,wm={[Cm]:{_A:e=>e},...St,[Symbol.iterator](){return new ct(this)}},yne=Object.defineProperty(Object.assign(Object.create(wm),{_tag:`Some`,_op:`Some`,[Ce](e){return Tm(e)&&Dm(e)&&we(this.value,e.value)},[ie](){return ce(ae(this._tag))(ae(this.value))},toString(){return`some(${Ke(this.value)})`},toJSON(){return{_id:`Option`,_tag:this._tag,value:rt(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),bne=ae(`None`),xne=Object.assign(Object.create(wm),{_tag:`None`,_op:`None`,valueOrUndefined:void 0,[Ce](e){return Tm(e)&&Em(e)},[ie](){return bne},toString(){return`none()`},toJSON(){return{_id:`Option`,_tag:this._tag}}}),Tm=e=>re(e,Cm),Em=e=>e._tag===`None`,Dm=e=>e._tag===`Some`,Sne=Object.create(xne),Om=function(e){this.value=e};Om.prototype=yne;var Cne=e=>new Om(e),km=`~effect/Result`,Am={[km]:{_A:e=>e,_E:e=>e},...St,[Symbol.iterator](){return new ct(this)}},wne=Object.assign(Object.create(Am),{_tag:`Success`,_op:`Success`,[Ce](e){return jm(e)&&Ene(e)&&we(this.success,e.success)},[ie](){return ce(ae(this._tag))(ae(this.success))},toString(){return`success(${Ke(this.success)})`},toJSON(){return{_id:`Result`,_tag:this._tag,value:rt(this.success)}}}),Tne=Object.assign(Object.create(Am),{_tag:`Failure`,_op:`Failure`,[Ce](e){return jm(e)&&Mm(e)&&we(this.failure,e.failure)},[ie](){return ce(ae(this._tag))(ae(this.failure))},toString(){return`failure(${Ke(this.failure)})`},toJSON(){return{_id:`Result`,_tag:this._tag,failure:rt(this.failure)}}}),jm=e=>re(e,km),Mm=e=>e._tag===`Failure`,Ene=e=>e._tag===`Success`,Nm=function(e){this.failure=e};Nm.prototype=Tne;var Dne=e=>new Nm(e),Pm=function(e){this.success=e};Pm.prototype=wne;var One=e=>new Pm(e);function Fm(e){return(t,n)=>t===n?0:e(t,n)}var kne=Fm((e,t)=>e<t?-1:1),Im=Fm((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),Ane=e=>f(2,(t,n)=>e(t,n)===-1),Lm=e=>f(2,(t,n)=>e(t,n)===1),jne=e=>f(2,(t,n)=>e(t,n)!==1),Rm=e=>f(2,(t,n)=>e(t,n)!==-1),zm=()=>Sne,Bm=Cne,Vm=Em,Hm=Dm,Mne=f(2,(e,{onNone:t,onSome:n})=>Vm(e)?t():n(e.value)),Um=f(2,(e,t)=>Vm(e)?t():e.value),Wm=f(2,(e,t)=>Vm(e)?t():e),Gm=Um(g),Km=Um(_),Nne=f(2,(e,t)=>Vm(e)?zm():Bm(t(e.value))),qm=One,Jm=Dne,Ym=Mm,Pne=f(2,(e,t)=>Ym(e)?Jm(t(e.failure)):e),Xm=f(2,(e,{onFailure:t,onSuccess:n})=>Ym(e)?t(e.failure):n(e.success)),Fne=globalThis.Array,Zm=f(2,(e,t)=>[...e,t]);Fne.isArray;var Ine=Sm,Lne=Sm,Qm=()=>[],Rne=f(2,(e,t)=>e.map(t)),$m=`~effect/BigDecimal`,zne={[$m]:$m,[ie](){let e=nh(this);return ce(fe(String(e.value)),de(e.scale))},[Ce](e){return Bne(e)&&qne(this,e)===0},toString(){return`BigDecimal(${Jne(this)})`},toJSON(){return{_id:`BigDecimal`,value:String(this.value),scale:this.scale}},[nt](){return this.toJSON()},pipe(){return l(this,arguments)}},Bne=e=>re(e,$m),Vne=(e,t)=>{if(!Number.isSafeInteger(t))throw RangeError(`Scale must be a safe integer, got ${t}`);let n=Object.create(zne);return n.value=e,n.scale=t,n},eh=(e,t)=>{let n=Vne(e,t);return n.normalized=n,n},th=BigInt(0),Hne=BigInt(1),Une=BigInt(10),Wne=eh(th,0),nh=e=>{if(e.normalized===void 0){if(e.value===th)e.normalized=Wne;else{let t=`${e.value}`,n=t.length;for(;t[n-1]===`0`;)n--;e.normalized=eh(BigInt(t.slice(0,n)),e.scale-(t.length-n))}}return e.normalized},Gne=100,Kne=[Hne],rh=(e,t)=>e===t?0:e<t?-1:1,ih=(e,t)=>{let n=`${e.value<th?-e.value:e.value}`,r=`${t.value<th?-t.value:t.value}`,i=BigInt(n.length-r.length)-BigInt(e.scale)+BigInt(t.scale);if(i!==th)return i<th?-1:1;let a=Math.max(n.length,r.length);return kne(n.padEnd(a,`0`),r.padEnd(a,`0`))},qne=(e,t)=>{if(e.scale===t.scale)return rh(e.value,t.value);let n=ah(e),r=ah(t);if(n!==r)return n<r?-1:1;if(n===0)return 0;let i=e.scale-t.scale,a=Math.abs(i);if(a>Gne)return n===-1?ih(t,e):ih(e,t);let o=Kne[a]??=Une**BigInt(a);return i>0?rh(e.value,t.value*o):rh(e.value*o,t.value)},ah=e=>e.value===th?0:e.value<th?-1:1,Jne=e=>{let t=nh(e);if(Math.abs(t.scale)>=16)return Yne(t);let n=t.value<th,r=`${n?-t.value:t.value}`,i=t.scale>0?r.padStart(t.scale+1,`0`):r.padEnd(r.length-t.scale,`0`),a=i.length-t.scale,o=t.scale>0?`${i.slice(0,a)}.${i.slice(a)}`:i;return n?`-${o}`:o},Yne=e=>{if(Xne(e))return`0e+0`;let t=nh(e),n=`${t.value}`,r=t.value<th?2:1,i=n.slice(0,r),a=n.slice(r),o=a.length-t.scale;return`${i}${a===``?``:`.${a}`}e${o>=0?`+`:``}${o}`},Xne=e=>e.value===th,Zne=e=>Wt({op:e.label,[_t]:e.evaluate}),oh=`~effect/Context/Service`,sh=function(){function e(){}let t=e;Object.setPrototypeOf(t,Qne);let n=(e,n)=>(t.key=e,n?.defaultValue&&(t[lh]=lh,t.defaultValue=n.defaultValue),n?.make&&(t.make=n.make),n?.fiberCached&&ch.add(e),t);return arguments.length>0?n(arguments[0],arguments[1]):n},Qne={[oh]:oh,...Zne({label:`Service`,evaluate(e){return qt(bh(e.context,this))}}),toJSON(){return{_id:`Service`,key:this.key}},of(e){return e},context(e){return vh(this,e)},use(e){return $t(t=>e(bh(t.context,this)))},useSync(e){return $t(t=>qt(e(bh(t.context,this))))}},ch=new Set,lh=`~effect/Context/Reference`,uh=`~effect/Context`,$ne=8,ere=8,dh=(e,t,n,r)=>{let i=Object.create(tre);return i.cacheRoot=e??i,i.base=t,i.overlay=n,i.depth=r,i._flat=void 0,i.baseHits=0,i},fh=(e,t)=>{t&&(fh(e,t.parent),e.set(t.key,t.value))},ph=e=>{if(e._flat)return e._flat;if(!e.overlay)return e._flat=e.base;let t=new Map(e.base);return fh(t,e.overlay),e._flat=t},mh=Symbol(),hh=(e,t)=>{let n=e;for(let e=n.overlay;e;e=e.parent)if(e.key===t)return e.value;let r=n.base.get(t);return r===void 0&&!n.base.has(t)?mh:(n.overlay&&++n.baseHits>=n.base.size&&n.baseHits>=ere&&(n.base=ph(n),n.overlay=void 0,n.depth=0),r)},gh=e=>dh(void 0,e,void 0,0),tre={get mapUnsafe(){return ph(this)},...St,[uh]:{_Services:e=>e},toJSON(){return{_id:`Context`,services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[Ce](e){if(!rre(e))return!1;let t=this.mapUnsafe,n=e.mapUnsafe;if(t.size!==n.size)return!1;for(let[e,r]of t)if(!n.has(e)||!we(r,n.get(e)))return!1;return!0},[ie](){return de(this.mapUnsafe.size)}},nre=(e,t)=>e.cacheRoot===t.cacheRoot,rre=e=>re(e,uh),ire=e=>!!e[lh],_h=()=>are,are=gh(new Map),vh=(e,t)=>gh(new Map([[e.key,t]])),ore=f(3,(e,t,n)=>sre(e,t.key,n)),sre=(e,t,n)=>{let r=e,i=ch.has(t)?void 0:r.cacheRoot;if(r.depth>=$ne){let e=new Map(r.mapUnsafe);return e.set(t,n),dh(i,e,void 0,0)}return dh(i,r.base,{key:t,value:n,parent:r.overlay},r.depth+1)},yh=(e,t)=>{let n=hh(e,t);return n===mh?void 0:n},bh=f(2,(e,t)=>{let n=hh(e,t.key);if(n===mh){if(ire(t))return cre(t);throw lre(t)}return n}),xh=`~effect/Context/defaultValue`,cre=e=>xh in e?e[xh]:e[xh]=e.defaultValue(),lre=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:``}`);if(t.stack){let e=t.stack.split(`
74
74
  `);e.splice(1,3),t.stack=e.join(`
75
75
  `)}return t},Sh=sh,Ch=`~effect/Duration`,wh=BigInt(0),Th=BigInt(1),ure=BigInt(2),dre=BigInt(10),fre=BigInt(1e3),Eh=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),Dh=e=>Eh(e*1e6),Oh=(e,t)=>{let n=e.indexOf(`.`);if(n===-1)return BigInt(e)*t;let r=e[0]===`-`,i=e.slice(n+1),a=dre**BigInt(i.length),o=(BigInt(e.slice(+!!r,n))*a+BigInt(i))*t,s=o/a+(o%a*ure>=a?Th:wh);return r?-s:s},pre=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,mre=e=>{switch(typeof e){case`number`:return Fh(e);case`bigint`:return Ph(e);case`string`:{if(e===`Infinity`)return Mh;if(e===`-Infinity`)return Nh;let t=pre.exec(e);if(!t)break;let[n,r,i]=t;if(i===`nano`||i===`nanos`)return Ph(Oh(r,Th));if(i===`micro`||i===`micros`)return Ph(Oh(r,fre));let a=Number(r);switch(i){case`milli`:case`millis`:return Fh(a);case`second`:case`seconds`:return bre(a);case`minute`:case`minutes`:return xre(a);case`hour`:case`hours`:return Sre(a);case`day`:case`days`:return Cre(a);case`week`:case`weeks`:return wre(a)}break}case`object`:{if(e===null)break;if(Ch in e)return e;if(Array.isArray(e))return e.length!==2||!e.every(O)?kh(e):Number.isNaN(e[0])||Number.isNaN(e[1])?yre:e[0]===-1/0||e[1]===-1/0?Nh:e[0]===1/0||e[1]===1/0?Mh:jh(Eh(e[0]*1e9+e[1]));let t=e,n=0;return t.weeks&&(n+=t.weeks*6048e5),t.days&&(n+=t.days*864e5),t.hours&&(n+=t.hours*36e5),t.minutes&&(n+=t.minutes*6e4),t.seconds&&(n+=t.seconds*1e3),t.milliseconds&&(n+=t.milliseconds),!t.microseconds&&!t.nanoseconds?jh(n):jh(Eh(n*1e6+(t.microseconds??0)*1e3+(t.nanoseconds??0)))}}return kh(e)},kh=e=>{throw Error(`Invalid Input: ${e}`)},Ah={_tag:`Millis`,millis:0},hre={_tag:`Infinity`},gre={_tag:`NegativeInfinity`},_re={[Ch]:Ch,[ie](){switch(this.value._tag){case`Millis`:{let e=this.value.millis*1e6;return Number.isFinite(e)?ae(Eh(e)):de(this.value.millis)}case`Nanos`:return ae(this.value.nanos);default:return me(this.value)}},[Ce](e){return vre(e)&&Dre(this,e)},toString(){switch(this.value._tag){case`Infinity`:return`Infinity`;case`NegativeInfinity`:return`-Infinity`;case`Nanos`:return`${this.value.nanos} nanos`;case`Millis`:return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case`Millis`:return{_id:`Duration`,_tag:`Millis`,millis:this.value.millis};case`Nanos`:return{_id:`Duration`,_tag:`Nanos`,nanos:String(this.value.nanos)};case`Infinity`:return{_id:`Duration`,_tag:`Infinity`};case`NegativeInfinity`:return{_id:`Duration`,_tag:`NegativeInfinity`}}},[nt](){return this.toJSON()},pipe(){return l(this,arguments)}},jh=e=>{let t=Object.create(_re);return t.value=typeof e==`number`?isNaN(e)||e===0||Object.is(e,-0)?Ah:Number.isFinite(e)?Number.isInteger(e)?{_tag:`Millis`,millis:e}:{_tag:`Nanos`,nanos:Dh(e)}:e>0?hre:gre:e===wh?Ah:{_tag:`Nanos`,nanos:e},t},vre=e=>re(e,Ch),yre=jh(0),Mh=jh(1/0),Nh=jh(-1/0),Ph=e=>jh(e),Fh=e=>jh(e),bre=e=>jh(e*1e3),xre=e=>jh(e*6e4),Sre=e=>jh(e*36e5),Cre=e=>jh(e*864e5),wre=e=>jh(e*6048e5),Ih=e=>{let t=mre(e);switch(t.value._tag){case`Infinity`:case`NegativeInfinity`:throw Error(`Cannot convert infinite duration to nanos`);case`Nanos`:return t.value.nanos;case`Millis`:return Dh(t.value.millis)}},Tre=f(3,(e,t,n)=>e.value._tag===`Infinity`||e.value._tag===`NegativeInfinity`||t.value._tag===`Infinity`||t.value._tag===`NegativeInfinity`?n.onInfinity(e,t):e.value._tag===`Millis`?t.value._tag===`Millis`?n.onMillis(e.value.millis,t.value.millis):n.onNanos(Ih(e),t.value.nanos):n.onNanos(e.value.nanos,Ih(t))),Ere=(e,t)=>Tre(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag}),Dre=f(2,(e,t)=>Ere(e,t)),Lh=Sh(`effect/Scheduler`,{fiberCached:!0,defaultValue:()=>new Bh}),Rh=e=>{let t=!1;return Promise.resolve().then(()=>{t||e()}),()=>{t=!0}},Ore=`setImmediate`in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)},zh=e=>{try{return Ore(e)}catch{return Rh(e)}},kre=class{buckets=[];scheduleTask(e,t){let n=this.buckets,r=n.length,i,a=0;for(;a<r&&!(n[a][0]>t);a++)i=n[a];i&&i[0]===t?i[1].push(e):a===r?n.push([t,[e]]):n.splice(a,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}},Bh=class{executionMode;setImmediate;constructor(e=`async`,t){this.executionMode=e,this.setImmediate=t??(e===`sync`?Rh:zh)}shouldYield(e){return e.currentOpCount>=e.cache.maxOpsBeforeYield}makeDispatcher(){return new Are(this.setImmediate)}},Are=class{tasks=new kre;running=void 0;setImmediate;constructor(e=zh){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),this.running===void 0&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let n=e[t][1];for(let e=0;e<n.length;e++)n[e]()}}flush(){for(;this.tasks.buckets.length>0;)this.running!==void 0&&(this.running(),this.running=void 0),this.runTasks()}},jre=Sh(`effect/Scheduler/MaxOpsBeforeYield`,{fiberCached:!0,defaultValue:()=>2048}),Mre=Sh(`effect/Scheduler/PreventSchedulerYield`,{fiberCached:!0,defaultValue:()=>!1}),Vh=nn,Hh=`~effect/encoding/EncodingError`,Uh=class extends Vh(`EncodingError`){[Hh]=Hh},Wh=`effect/Tracer/ParentSpan`;sh()(Wh,{fiberCached:!0});var Gh=`effect/Tracer`,Kh=`effect/Metric/FiberRuntimeMetrics`,qh=Sh(`effect/References/CurrentStackFrame`,{fiberCached:!0,defaultValue:_}),Jh=Sh(`effect/References/TracerEnabled`,{fiberCached:!0,defaultValue:h}),Yh=Sh(`effect/References/CurrentLogLevel`,{fiberCached:!0,defaultValue:()=>`Info`}),Xh=Sh(`effect/References/MinimumLogLevel`,{fiberCached:!0,defaultValue:()=>`Info`}),Zh=class extends At{constructor(e,t=jt){super(`Interrupt`,t,`Interrupted`),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:`Interrupt`,fiberId:this.fiberId}}[Ce](e){return Ht(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[ie](){return ce(fe(`${this._tag}:${this.fiberId}`))(oe(this.annotations))}},Qh=e=>new Ot([new Zh(e)]),$h=e=>{for(let t=0;t<e.reasons.length;t++){let n=e.reasons[t];if(n._tag===`Fail`)return qm(n.error)}return Jm(e)},eg=e=>e.reasons.some(Ht),tg=f(2,(e,t)=>{let n=!1,r=e.reasons.map(e=>Bt(e)?(n=!0,new Mt(t(e.error),e.annotations)):e);return n?Nt(r):e}),ng=(e,t)=>{let n=[],r=[];if(e.reasons.length===0)return n;let i=ot();i!==0&&st(1);try{for(let i of e.reasons){if(i._tag===`Interrupt`){r.push(i);continue}n.push(rg(i._tag===`Die`?i.defect:i.error,i.annotations,t))}if(n.length===0){let e=Error(`The fiber was interrupted by:`);e.name=`InterruptCause`,e.stack=Fre(e,r);let i=new globalThis.Error(`All fibers interrupted without error`,{cause:e});i.name=`InterruptError`,i.stack=`${i.name}: ${i.message}`,n.push(rg(i,r[0].annotations,t))}}finally{i!==0&&st(i)}return n},rg=(e,t,n)=>{let r=typeof e,i;if(e&&r===`object`){if(i=new globalThis.Error(ig(e),{cause:e.cause?rg(e.cause):void 0}),typeof e.name==`string`&&(i.name=e.name),typeof e.stack==`string`)i.stack=Pre(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?ag(e,t):e}n?.includeCauseInStack&&(i.stack=sg(i));for(let t of Object.keys(e))t in i||(i[t]=e[t])}else{i=new globalThis.Error(e?r===`string`?e:$e(e):`Unknown error: ${e}`);let n=`${i.name}: ${i.message}`;i.stack=t?ag(n,t):n}return i},ig=e=>{if(typeof e.message==`string`)return e.message;if(typeof e.toString==`function`&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return $e(e)},Nre=/\((.*)\)/g,Pre=(e,t,n)=>{let r=`${t.name}: ${t.message}`,i=(e.startsWith(r)?e.slice(r.length):e).split(`
76
76
  `),a=[r];for(let e=1;e<i.length&&!/Generator\.next|~effect\/(?:Effect|Utils)/.test(i[e]);e++)a.push(i[e]);return n?ag(a.join(`
package/dist/index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>Shed</title>
7
- <script type="module" crossorigin src="./assets/index-CkCSoD4q.js"></script>
7
+ <script type="module" crossorigin src="./assets/index-DDCJn2q2.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="./assets/index-IZtMpbfA.css">
9
9
  </head>
10
10
  <body
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fungi.computer/shed",
3
3
  "description": "Shed: a terminal on your Computer, with its ports and processes, for Oyster",
4
- "version": "0.10.16",
4
+ "version": "0.10.17",
5
5
  "author": "Levi <levi@technomancy.dev>",
6
6
  "type": "module",
7
7
  "dependencies": {
8
8
  "@fungi.computer/cairn": "0.1.0",
9
- "@fungi.computer/agar": "0.25.1",
10
- "@fungi.computer/caps": "0.12.7",
9
+ "@fungi.computer/agar": "0.26.0",
10
+ "@fungi.computer/caps": "0.12.8",
11
11
  "@fungi.computer/maosaico": "0.1.2",
12
12
  "@fungi.computer/sigils": "0.3.2",
13
13
  "@fungi.computer/stipe": "0.1.1",
@@ -22,9 +22,9 @@
22
22
  "@tanstack/react-query": "5.102.8",
23
23
  "effect": "4.0.2",
24
24
  "zod": "4.4.3",
25
- "@fungi.computer/braid": "0.6.6",
25
+ "@fungi.computer/braid": "0.6.7",
26
26
  "@fungi.computer/gills": "0.4.0",
27
- "@fungi.computer/computer-contract": "0.6.0"
27
+ "@fungi.computer/computer-contract": "0.6.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@ladle/react": "5.1.1",
@@ -39,7 +39,7 @@
39
39
  "vitest": "4.1.11",
40
40
  "playwright": "1.62.1",
41
41
  "@cloudflare/workers-types": "5.20260828.1",
42
- "@fungi.computer/puffball": "0.13.1",
42
+ "@fungi.computer/puffball": "0.14.0",
43
43
  "esbuild": "0.28.2",
44
44
  "eslint": "10.9.1",
45
45
  "tsx": "4.23.12",