@fungi.computer/shed 0.3.0 → 0.3.1
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.
|
@@ -92,7 +92,7 @@ Example:
|
|
|
92
92
|
For tests, pass a Ghostty instance directly:
|
|
93
93
|
import { Ghostty, Terminal } from "ghostty-web";
|
|
94
94
|
const ghostty = await Ghostty.load();
|
|
95
|
-
const term = new Terminal({ ghostty });`)}var bS;function xS(){return bS??=vle.load(),bS}var Lle=[``,`bold `,`italic `,`bold italic `];async function SS(e,t){await Promise.all(Lle.map(n=>document.fonts.load(`${n}${String(e)}px ${t}`)))}var Rle=L({path:Cg,entries:Dg(L({name:Cg,type:Ag([`file`,`directory`,`symlink`]),size:wg,modifiedAt:wg})),nextOffset:jg(wg)}),zle=Hx(`computer.list`,1,qo(()=>Ux({list:Gx(Wx(to().transform(e=>hg(Rle)(e))))}))),CS=kg([L({state:Ag([`running`,`sleeping`,`starting`])}),L({state:yg(`queued`),position:wg.pipe(Ng(Jg()),Ng(Gg(0)))})]),wS=L({enabled:Tg,effective:Tg,blockedBy:jg(Ag([`team`,`global`]))}),Ble=L({computerId:e_,name:e_,runtime:CS,backends:Dg(L({id:e_,kind:Ag([`platform-container`,`on-box-vm`,`local`]),status:Ag([`ready`,`queued`,`online`,`offline`]),queuePosition:jg(wg.pipe(Ng(Jg()),Ng(Gg(0)))),hostId:jg(Cg),hostLabel:jg(Cg),folderLabel:jg(Cg),detachable:Tg})),internet:wS});Hx(`computer.instrument.read`,1,qo(()=>Ux({read:Gx(Wx(to().transform(e=>hg(Ble)(e))))}))),Hx(`computer.instrument.control`,1,qo(()=>Ux({start:Gx(Wx(to().transform(e=>hg(CS)(e)))),setInternetAccess:Gx(Wx(to().transform(e=>hg(wS)(e)))),detachLocal:Gx(Wx(to().transform(e=>hg(L({detached:Tg}))(e))))})));var TS=kg([L({ports:Dg(L({port:wg.pipe(Ng(Jg()),Ng(qg({minimum:1,maximum:65535}))),previewUrl:e_,openMode:Ag([`inline`,`external-only`]),expiresAt:wg.pipe(Ng(Jg()),Ng(Gg(0)))})).pipe(Ng(Qg(64)))}),L({error:yg(`port_previews_not_configured`)})]),ES=L({port:wg.annotate({message:`Use a port from 1 to 65535.`}).check(Jg({message:`Use a port from 1 to 65535.`}),qg({minimum:1,maximum:65535},{message:`Use a port from 1 to 65535.`})),exposed:Tg}),Vle=L({port:wg.pipe(Ng(Jg()),Ng(qg({minimum:1,maximum:65535}))),removed:Tg}),DS=Hx(`computer.ports`,2,qo(()=>Ux({list:Gx(Wx(to().transform(e=>hg(TS)(e)))),expose:Gx(Wx(to().transform(e=>hg(ES)(e)))),unexpose:Gx(Wx(to().transform(e=>hg(Vle)(e))))})));async function Hle(e){let t=hg(TS)(await e.require(DS).list());if(`error`in t)return t;for(let{previewUrl:e,expiresAt:n}of t.ports){let t=new URL(e);if(t.protocol!==`https:`||t.username||t.password||n<=Date.now())throw Error(`Computer preview URL is invalid`)}return t}var Ule=Ag([`synced`,`pending`,`unknown`]),OS=L({port:jg(ES.fields.port),id:e_,command:e_,cwd:jg(Cg),startedAt:wg.pipe(Ng(Jg()),Ng(Kg(0))),state:Ag([`running`,`exited`,`uncertain`]),exitCode:jg(wg.pipe(Ng(Jg()))),sync:Ule,endedAt:jg(wg.pipe(Ng(Jg()),Ng(Kg(0))))}),Wle=L({processes:Dg(OS)}),Gle=L({process:OS,signalled:Tg});L({requestId:e_.pipe(Ng(Qg(256))),command:e_.pipe(Ng(Qg(16384))),cwd:_g(Cg),port:_g(ES.fields.port)});var kS=Hx(`computer.processes`,1,qo(()=>Ux({start:Gx(Wx(to().transform(e=>hg(OS)(e)))),list:Gx(Wx(to().transform(e=>hg(Wle)(e)))),kill:Gx(Wx(to().transform(e=>hg(Gle)(e))))}))),Kle=Hx(`computer.readFile`,1,qo(()=>Ux({open:Gx(Ux({response:Gx(ns(Response)),close:Kx}))}))),qle=Hx(`computer.writeFile`,3,qo(()=>Ux({open:Gx(Ux({write:Kx,close:Kx})),mkdir:Kx,replace:Gx(Wx(to().transform(e=>hg(Jle)(e))))}))),Jle=kg([L({kind:yg(`replaced`),path:e_,bytes:wg.pipe(Ng(Jg()),Ng(Kg(0)))}),L({kind:yg(`conflict`)})]),AS=L({computerName:e_.pipe(Ng(Qg(256))),teamName:e_.pipe(Ng(Qg(256))),modelDoor:e_.pipe(Ng(Qg(256))),uptimeSeconds:wg.pipe(Ng(Jg()),Ng(Kg(0))),version:e_.pipe(Ng(Qg(64)))}),jS=Hx(`computer.terminal`,2,qo(()=>Ux({open:Gx(Ux({information:Gx(Wx(to().transform(e=>hg(AS)(e)))),output:Gx(ns(ReadableStream).transform(e=>e.pipeThrough(new TransformStream({transform(e,t){t.enqueue(ns(Uint8Array).parse(e))}})))),input:Gx(ns(WritableStream)),resize:Kx,close:Kx}))})));async function Yle(e,t,n={}){n.signal?.throwIfAborted();let r=await e.require(jS).open(t),i,a=()=>i===void 0?(n.signal?.removeEventListener(`abort`,o),i=Promise.resolve().then(async()=>{try{await r.close()}finally{r[Symbol.dispose]()}}),i):i,o=()=>{a().catch(e=>{lv(`computer.terminal.abort-close`,e)})};n.signal?.addEventListener(`abort`,o,{once:!0});try{let[e,t,o]=await Promise.all([r.output(),r.input(),r.information()]);n.signal?.throwIfAborted();let s=e,c=t;return{information:hg(AS)(o),output:s,input:c,resize:async e=>{if(n.signal?.throwIfAborted(),i!==void 0)throw Error(`Computer terminal is closed`);await r.resize(e)},close:a}}catch(e){throw await a().catch(e=>{lv(`computer.terminal.open-cleanup`,e)}),e}}function MS(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Xle(...e){return t=>{let n=!1,r=e.map(e=>{let r=MS(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():MS(e[t],null)}}}}function Zle(...e){return F.useCallback(Xle(...e),e)}function Qle(e){let t=F.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];PS(r)&&typeof FS==`function`&&(r=FS(r._payload)),F.Children.forEach(r,e=>{if(rue(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;PS(n)&&typeof FS==`function`&&(n=FS(n._payload)),a=eue(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=F.cloneElement(a,void 0,s):!o&&F.Children.count(r)===1&&F.isValidElement(r)&&(a=r);let c=a?nue(a):void 0,l=Zle(n,c);if(!a){if(r||r===0)throw Error(o?sue(e):oue(e));return r}let u=tue(i,a.props??{});return a.type!==F.Fragment&&(u.ref=n?l:c),F.cloneElement(a,u)});return t.displayName=`${e}.Slot`,t}var NS=Qle(`Slot`),$le=Symbol.for(`radix.slottable`),eue=(e,t)=>{if(`child`in e.props){let t=e.props.child;return F.isValidElement(t)?F.cloneElement(t,void 0,e.props.children(t.props.children)):null}return F.isValidElement(t)?t:null};function tue(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 nue(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 rue(e){return F.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===$le}var iue=Symbol.for(`react.lazy`);function PS(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===iue&&`_payload`in e&&aue(e._payload)}function aue(e){return typeof e==`object`&&!!e&&`then`in e}var oue=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,sue=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,FS=F.use,cue=Object.freeze({alphaIntercept:-9,alphaSlope:19,blurStdDeviation:1.5}),lue=Object.freeze({background:`#eff1f5`,foreground:`#4c4f69`,cursor:`#4c4f69`,cursorAccent:`#eff1f5`,surface:`#ccd0da`,selectionBackground:`#4c4f69`,selectionForeground:`#eff1f5`,primary:`#f98284`,accent:`#ea76cb`,success:`#40a02b`,info:`oklch(58% 0.158 241.966)`,warning:`#df8e1d`,error:`#d20f39`,black:`#5c5f77`,red:`#d20f39`,green:`#40a02b`,yellow:`#df8e1d`,blue:`#1e66f5`,magenta:`#ea76cb`,cyan:`#179299`,white:`#4c4f69`,brightBlack:`#6c6f85`,brightRed:`#d20f39`,brightGreen:`#40a02b`,brightYellow:`#df8e1d`,brightBlue:`#1e66f5`,brightMagenta:`#8839ef`,brightCyan:`#04a5e5`,brightWhite:`#4c4f69`}),uue=Object.freeze({background:`#1e1e2e`,foreground:`#cdd6f4`,cursor:`#cdd6f4`,cursorAccent:`#1e1e2e`,surface:`#45475a`,selectionBackground:`#cdd6f4`,selectionForeground:`#1e1e2e`,primary:`#f98284`,accent:`#f5c2e7`,success:`#a6e3a1`,info:`#89b4fa`,warning:`#f9e2af`,error:`#f38ba8`,black:`#45475a`,red:`#f38ba8`,green:`#a6e3a1`,yellow:`#f9e2af`,blue:`#89b4fa`,magenta:`#f5c2e7`,cyan:`#94e2d5`,white:`#cdd6f4`,brightBlack:`#585b70`,brightRed:`#f38ba8`,brightGreen:`#a6e3a1`,brightYellow:`#f9e2af`,brightBlue:`#89b4fa`,brightMagenta:`#cba6f7`,brightCyan:`#89dceb`,brightWhite:`#cdd6f4`}),due=Object.freeze({background:`#fbfbfa`,foreground:`#1a1b1e`,cursor:`#1a1b1e`,cursorAccent:`#fbfbfa`,surface:`#e6e6e1`,selectionBackground:`#1a1b1e`,selectionForeground:`#fbfbfa`,primary:`#e5534b`,accent:`#e5534b`,success:`#2f7a3e`,info:`#2659c4`,warning:`#9a6200`,error:`#c4383a`,black:`#5c5f66`,red:`#c4383a`,green:`#2f7a3e`,yellow:`#9a6200`,blue:`#2659c4`,magenta:`#933a88`,cyan:`#0f7079`,white:`#1a1b1e`,brightBlack:`#6b6f76`,brightRed:`#c4383a`,brightGreen:`#2f7a3e`,brightYellow:`#9a6200`,brightBlue:`#2659c4`,brightMagenta:`#933a88`,brightCyan:`#0f7079`,brightWhite:`#1a1b1e`}),fue=Object.freeze({background:`#0e0f11`,foreground:`#e3e3df`,cursor:`#e3e3df`,cursorAccent:`#0e0f11`,surface:`#26292e`,selectionBackground:`#e3e3df`,selectionForeground:`#0e0f11`,primary:`#ff7b6b`,accent:`#ff7b6b`,success:`#8fd19e`,info:`#8ab4f8`,warning:`#e7c27a`,error:`#ff8a80`,black:`#9a9ea6`,red:`#ff8a80`,green:`#8fd19e`,yellow:`#e7c27a`,blue:`#8ab4f8`,magenta:`#dba6e8`,cyan:`#7fd3d3`,white:`#e3e3df`,brightBlack:`#7d828b`,brightRed:`#ff8a80`,brightGreen:`#8fd19e`,brightYellow:`#e7c27a`,brightBlue:`#8ab4f8`,brightMagenta:`#dba6e8`,brightCyan:`#7fd3d3`,brightWhite:`#e3e3df`});function IS(e){switch(e.trim()){case`readout`:return due;case`readout-night`:return fue;case`latte`:return lue;case`mocha`:return uue;default:return}}var pue=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-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 LS(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=LS(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function mue(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=LS(e))&&(r&&(r+=` `),r+=t);return r}var RS=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,zS=mue,hue=(e,t)=>n=>{if(t?.variants==null)return zS(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=RS(t)||RS(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 zS(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)},BS=Object.defineProperty,gue=((e,t)=>{let n={};for(var r in e)BS(n,r,{get:e[r],enumerable:!0});return t||BS(n,Symbol.toStringTag,{value:`Module`}),n})({isAny:()=>WS,isAnyNonArbitrary:()=>Aue,isArbitraryFamilyName:()=>Lue,isArbitraryImage:()=>zue,isArbitraryLength:()=>Pue,isArbitraryNumber:()=>Fue,isArbitraryPosition:()=>Rue,isArbitraryShadow:()=>Bue,isArbitrarySize:()=>Nue,isArbitraryValue:()=>tC,isArbitraryVariable:()=>nC,isArbitraryVariableFamilyName:()=>Hue,isArbitraryVariableImage:()=>Gue,isArbitraryVariableLength:()=>Vue,isArbitraryVariablePosition:()=>Uue,isArbitraryVariableShadow:()=>Kue,isArbitraryVariableSize:()=>Wue,isArbitraryVariableWeight:()=>que,isArbitraryWeight:()=>Iue,isFraction:()=>Cue,isInteger:()=>wue,isNamedContainerQuery:()=>jue,isNumber:()=>US,isPercent:()=>Tue,isTshirtSize:()=>Eue}),VS=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,HS=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_ue=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,vue=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yue=/\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$/,bue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,xue=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Sue=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Cue=e=>_ue.test(e),US=e=>!!e&&!Number.isNaN(Number(e)),wue=e=>!!e&&Number.isInteger(Number(e)),Tue=e=>e.endsWith(`%`)&&US(e.slice(0,-1)),Eue=e=>vue.test(e),WS=()=>!0,Due=e=>yue.test(e)&&!bue.test(e),GS=()=>!1,Oue=e=>xue.test(e),kue=e=>Sue.test(e),Aue=e=>!tC(e)&&!nC(e),jue=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)),KS=(e,t,n)=>{let r=VS.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},qS=(e,t,n=!1)=>{let r=HS.exec(e);return r?r[1]?t(r[1]):n:!1},JS=e=>e===`position`||e===`percentage`,YS=e=>e===`image`||e===`url`,XS=e=>e===`length`||e===`size`||e===`bg-size`,ZS=e=>e===`length`,Mue=e=>e===`number`,QS=e=>e===`family-name`,$S=e=>e===`number`||e===`weight`,eC=e=>e===`shadow`,Nue=e=>KS(e,XS,GS),tC=e=>VS.test(e),Pue=e=>KS(e,ZS,Due),Fue=e=>KS(e,Mue,US),Iue=e=>KS(e,$S,WS),Lue=e=>KS(e,QS,GS),Rue=e=>KS(e,JS,GS),zue=e=>KS(e,YS,kue),Bue=e=>KS(e,eC,Oue),nC=e=>HS.test(e),Vue=e=>qS(e,ZS),Hue=e=>qS(e,QS),Uue=e=>qS(e,JS),Wue=e=>qS(e,XS),Gue=e=>qS(e,YS),Kue=e=>qS(e,eC,!0),que=e=>qS(e,$S,!0),rC=(e,t)=>{let n=Object.keys(e);return n.length===1&&n[0]===t&&typeof e[t]==`string`},Jue=e=>typeof e==`function`&&e.isThemeGetter===!0,Yue=e=>({...e,theme:{...e.theme},classGroups:{...e.classGroups},conflictingClassGroups:{...e.conflictingClassGroups},conflictingClassGroupModifiers:{...e.conflictingClassGroupModifiers},orderSensitiveModifiers:[...e.orderSensitiveModifiers],postfixLookupClassGroups:[...e.postfixLookupClassGroups??[]]}),Xue=(e,t)=>{let n=Yue(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},iC={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},Zue=25,Que=()=>({names:[],idByName:new Map,impls:{},fnName:new Map,classifierFns:new Map}),aC=(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},oC=(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),aC(e,n,t)}let n=t.$v,r=gue[n];if(iC[n]===void 0||!r)throw Error(`cn: unknown validator "${n}"`);return aC(e,n,r)},sC=()=>({nextPart:new Map,validators:null,classGroupId:-1,lit:[]}),$ue=(e,t)=>e.theme[t]??[],ede=(e,t,n)=>{let r=sC(),i=(e,t)=>{for(let n of t.split(`-`)){let t=e.nextPart.get(n);t||(t=sC(),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(Jue(n)){for(let t of n(e.theme))a(t,r,o);return}(r.validators??=[]).push({validatorId:oC(t,n),groupId:o});return}if(rC(n,`$t`)){for(let t of $ue(e,n.$t))a(t,r,o);return}if(rC(n,`$v`)){(r.validators??=[]).push({validatorId:oC(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},tde=e=>{let t=Que(),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=ede(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 ee=[];for(let e of h){let t=ee[ee.length-1];t&&t.anchor===e.anchor&&t.gid===e.gid?t.tails.push(e.tail):ee.push({anchor:e.anchor,gid:e.gid,tails:[e.tail],set:-1})}let N=new Map,te=[];for(let e of ee){let t=e.tails.join(` `),n=N.get(t);n===void 0&&(n=te.length,N.set(t,n),te.push(e.tails)),e.set=n}for(let e of te.flat())if(e.includes(`|`)||e.includes(` `))throw Error(`cn compiler: tail contains delimiter: `+e);let ne=new Set(te.flat()).size;ee.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 re=n.length,P=new Int32Array(re).fill(-1),ie=0,ae=e=>(P[e]===-1&&(P[e]=ie++),P[e]);for(let e=0;e<M.length;e++)M[e]=ae(M[e]);for(let e of ee)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<re;e++)P[e]===-1&&(P[e]=ie++);let oe=Array(re);for(let e=0;e<re;e++)oe[P[e]]=n[e];let se=[],ce=[],le=[],ue=[],de=[];for(let t=0;t<re;t++){let n=oe[t],i=(e.conflictingClassGroups[n]??[]).map(e=>P[r.get(e)]),a=(e.conflictingClassGroupModifiers[n]??[]).map(e=>P[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=>P[r.get(e)]),pe=[],me=new Int32Array(j.length);for(let e=0;e<j.length;e++){let n=t.names[j[e]],r=iC[n];if(r!==void 0)me[e]=r;else{let t=pe.indexOf(n);t===-1&&(t=pe.length,pe.push(n)),me[e]=Zue+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:re,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:te,attachments:ee,uniqueTailCount:ne,adjGid:se,adjCnt:ce,adjTgt:le,patGid:ue,patTgt:de,postfixLookup:fe,orderSensitiveModifiers:e.orderSensitiveModifiers.join(` `),prefix:e.prefix}},cC=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},nde=e=>{let t=tde(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:cC(t.edgeCounts),labelStart:cC(t.edgeLabelLen),labelText:t.labelText,edgeTarget:Int32Array.from(t.edgeTargetActual),nodeGroup:t.nodeGroup,nodeVlist:t.nodeVlist,vlistPat:cC(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:cC(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}},rde=`line`in Error(),lC=-1,uC=-1,dC=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},fC=(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},ide=(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,ee=new Uint8Array(M),N=0,te=!0;for(let e=0;e<m.length;e++){ee[m[e]]=1;let t=_[g[e]*2+1];t>N&&(N=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(te=!1)}let ne=1;for(;ne<m.length*2;)ne<<=1;let re=new Int32Array(ne).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(dC(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&ne-1;for(;re[n]!==-1;)n=n+1&ne-1;re[n]=e}let P=(e,t,n,r)=>{let i=(dC(t,n,r)^Math.imul(e,2654435761)|0)&ne-1,a=r-n;for(;;){let r=re[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&ne-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=dC(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?lC: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(ee[i]===1&&a>0&&a<=N){let t=e.charCodeAt(r);if(te===!1||t!==91&&t!==40){let t=P(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 lC},_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[_]=lC,Ye(y,e,p,h,v,lC,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 N=0,te=0,ne=0,re=-1,P=0;(l[0]>=0||ee[0]===1)&&(st[0]=0,ct[0]=M,P=1);let ie=uC,ae=0;for(let t=M;t<D;t++)if(t===A&&(ie=te<ne?uC:N,ae=P),N!==uC){let n=e.charCodeAt(t),r=-1;if(te<ne)o.charCodeAt(te)===n?(te++,te===ne&&(r=N=re)):N=uC;else{let e=i[N],t=i[N+1],c=uC;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]:(te=e+1,ne=a[i+1],re=s[i],c=N);break}}N=c}if(r>=0&&(l[r]>=0||ee[r]===1)&&t+1<D&&e.charCodeAt(t+1)===45){if(P===ot){ot*=2;let e=new Int32Array(ot);e.set(st),st=e;let t=new Int32Array(ot);t.set(ct),ct=t}st[P]=r,ct[P]=t+2,P++}}A===D&&(ie=te<ne?uC:N,ae=P);let ce=te<ne?uC:N,le,ue=!1;if(A>=0){if(ue=!0,le=gt(e,E,A,ie,ae),le!==lC&&le<r&&j[le]){let t=gt(e,E,D,ce,P);t!==lC&&t!==le&&(le=t,ue=!1)}else le===lC&&(le=gt(e,E,D,ce,P),ue=!1)}else le=gt(e,E,D,ce,P);let de=0,fe=0;le===lC?tt[_]=lC:(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===lC){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=fC(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=fC(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=fC(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:rde?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(ode.apply(null,arguments))},mergeString:Mt,seenBefore:ie===0?()=>!1:jt,mergeUncached:_t}},pC=(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:pC(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},ade=(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:pC(i,t);a&&(n&&(n+=` `),n+=a)}return n},ode=function(){return ade(arguments,!1)},sde=(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]=pC(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(pC(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)}},cde=`{"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"]}`,mC=()=>JSON.parse(cde),lde=e=>`classGroups`in e&&`theme`in e&&`conflictingClassGroups`in e,ude=e=>e===void 0?{config:mC()}:typeof e==`function`?{config:e(mC())}:lde(e)?{config:e}:{config:Xue(mC(),e),cacheSize:e.cacheSize},dde=e=>{let{config:t,cacheSize:n}=ude(e),{tables:r,validatorImpls:i,prefix:a}=nde(t);return ide(r,i,{cacheSize:n,prefix:a})},hC=(e=>{let t=null,n=()=>t??=dde(e);return sde(e=>n().mergeString(e),{seenBefore:e=>n().seenBefore(e),mergeUncached:e=>n().mergeUncached(e)})})({extend:{theme:{spacing:[...pue]}}}),gC=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)`}),_C=`(prefers-reduced-motion: reduce)`;function vC(e){let t=e.ownerDocument.defaultView;if(!t)return gC;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?.(_C).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`,gC.squish),fast:o(`fast`,gC.fast),normal:o(`normal`,gC.normal),slow:o(`slow`,gC.slow),springDuration:o(`spring-duration`,gC.springDuration),bounce:Math.min(1,s(`bounce`,gC.bounce)),stretch:s(`stretch`,gC.stretch),distance:s(`distance`,gC.distance),stagger:a?0:i(`--stipe-motion-stagger`,gC.stagger),blur:s(`blur`,gC.blur),shake:s(`shake`,gC.shake),steps:Math.floor(s(`steps`,gC.steps)),fuse:r(`--stipe-motion-fuse`,gC.fuse),pressDepth:a?0:r(`--stipe-press-depth`,gC.pressDepth),pressScale:a?1:r(`--stipe-press-scale`,gC.pressScale),ease:n.getPropertyValue(`--stipe-motion-ease`).trim()||gC.ease,easeExit:n.getPropertyValue(`--stipe-motion-ease-exit`).trim()||gC.easeExit}}function yC(e){let[t,n]=(0,F.useState)(()=>({...gC,reduced:!0}));return(0,F.useLayoutEffect)(()=>{let t=e.current,r=t?.ownerDocument.defaultView;if(!t||!r)return;let i=()=>{let e=vC(t);n(t=>JSON.stringify(t)===JSON.stringify(e)?t:e)};i();let a=new r.MutationObserver(i);for(let e=t;e;e=e.parentElement)a.observe(e,{attributes:!0,attributeFilter:[`data-theme`,`class`,`style`]});let o=r.matchMedia?.(_C);return o?.addEventListener(`change`,i),()=>{a.disconnect(),o?.removeEventListener(`change`,i)}},[e]),t}function bC(e,t){return e.reduced?0:Math.round(t*e.normal/gC.normal)}function fde(e,t){if(e.reduced)return 0;let n=t*e.bounce/gC.bounce;return Math.min(.9,Math.max(0,n))}function pde(e,t){return e.reduced?0:Math.round(t*e.springDuration/gC.springDuration)}function xC(e,t){return e.steps>0?`steps(${String(e.steps)}, end)`:t}function SC(e){return`animate`in e}var CC=globalThis;function mde(){return CC.matchMedia?.(_C).matches??!1}function hde(e){let t=CC.matchMedia?.(_C);return t?.addEventListener(`change`,e),()=>{t?.removeEventListener(`change`,e)}}function gde(){return!0}function wC(){return(0,F.useSyncExternalStore)(hde,mde,gde)}var TC=(0,F.forwardRef)(function({asChild:e=!1,className:t,...n},r){let i=hC(`absolute h-px w-px overflow-hidden whitespace-nowrap border-0 p-0 [clip:rect(0,0,0,0)]`,t);return e?(0,R.jsx)(NS,{...n,className:i,ref:r}):(0,R.jsx)(`span`,{...n,className:i,ref:r})}),EC=typeof window<`u`,DC=EC?window:null,OC=EC?document:null,kC={OBJECT:0,ATTRIBUTE:1,CSS:2,TRANSFORM:3,CSS_VAR:4},AC={NUMBER:0,UNIT:1,COLOR:2,COMPLEX:3},jC={NONE:0,AUTO:1,FORCE:2},MC={replace:0,none:1,blend:2},NC=Symbol(),PC=Symbol(),FC=Symbol(),IC=Symbol(),_de=Symbol(),LC=1e-11,RC=0xe8d4a51000,zC=1e3,BC=[],VC=(()=>{let e=new Map;return e.set(`x`,`translateX`),e.set(`y`,`translateY`),e.set(`z`,`translateZ`),e})(),HC=[`perspective`,`translateX`,`translateY`,`translateZ`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`scale`,`scaleX`,`scaleY`,`scaleZ`,`skew`,`skewX`,`skewY`],vde=HC.reduce((e,t)=>({...e,[t]:t+`(`}),{}),UC=()=>{},WC=e=>e,yde=/\)\s*[-.\d]/,bde=/(^#([\da-f]{3}){1,2}$)|(^#([\da-f]{4}){1,2}$)/i,xde=/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i,Sde=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,Cde=/hsl\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*\)/i,wde=/hsla\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,GC=/[-+]?\d*\.?\d+(?:e[-+]?\d)?/gi,Tde=/^([-+]?\d*\.?\d+(?:e[-+]?\d+)?)([a-z]+|%)$/i,Ede=/([a-z])([A-Z])/g,Dde=/var\(\s*(--[\w-]+)(?:\s*,\s*([^)]+))?\s*\)/,KC={id:null,keyframes:null,playbackEase:null,playbackRate:1,frameRate:240,loop:0,reversed:!1,alternate:!1,autoplay:!0,persist:!1,duration:zC,delay:0,loopDelay:0,ease:`out(2)`,composition:MC.replace,modifier:WC,onBegin:UC,onBeforeUpdate:UC,onUpdate:UC,onLoop:UC,onPause:UC,onComplete:UC,onRender:UC},qC={current:null,root:OC},JC={defaults:KC,precision:4,timeScale:1,tickThreshold:200,editor:null},YC={version:`4.5.0`,engine:null};EC&&(DC.AnimeJS||=[],DC.AnimeJS.push(YC));var XC=e=>e.replace(Ede,`$1-$2`).toLowerCase(),ZC=(e,t)=>e.indexOf(t)===0,QC=Date.now,$C=Array.isArray,ew=e=>e&&e.constructor===Object,Ode=e=>typeof e==`number`&&!isNaN(e),tw=e=>typeof e==`string`,nw=e=>typeof e==`function`,rw=e=>e===void 0,iw=e=>rw(e)||e===null,aw=e=>EC&&e instanceof SVGElement,ow=e=>bde.test(e),sw=e=>ZC(e,`rgb`),cw=e=>ZC(e,`hsl`),lw=e=>ow(e)||(sw(e)||cw(e))&&(e[e.length-1]===`)`||!yde.test(e)),uw=e=>!JC.defaults.hasOwnProperty(e),kde=[`opacity`,`rotate`,`overflow`,`color`],Ade=(e,t)=>{if(kde.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}},dw=Math.pow,fw=Math.sqrt,pw=Math.sin,mw=Math.cos,jde=Math.abs,hw=Math.exp,Mde=Math.ceil,gw=Math.floor,Nde=Math.asin,_w=Math.PI,vw=Math.round,yw=(e,t,n)=>e<t?t:e>n?n:e,bw=(e,t)=>{if(t<0)return e;if(!t)return vw(e);let n=10**t;return vw(e*n)/n},xw=(e,t,n)=>n===1?t:n===0?e:e+(t-e)*n,Sw=e=>e===1/0?RC:e===-1/0?-RC:e,Cw=e=>e<=1e-11?LC:Sw(bw(e,11)),ww=e=>$C(e)?[...e]:e,Pde=(e,t)=>{let n={...e};for(let r in t){let i=e[r];n[r]=rw(i)?t[r]:i}return n},Tw=(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}},Ew=(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},Dw=(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},Fde=(e,t,n)=>{let r=e.style.transform;if(r){let i=e[IC],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(!rw(c))return n&&(n[t]=c),c}return t===`translate3d`?`0px, 0px, 0px`:t===`rotate3d`?`0, 0, 0, 0deg`:ZC(t,`scale`)?`1`:ZC(t,`rotate`)||ZC(t,`skew`)?`0deg`:`0px`},Ow=e=>{let t=``;for(let n=0,r=HC.length;n<r;n++){let r=HC[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+=`${vde[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},kw=[];function Aw(e,t){if(!e)return null;let n=kw.length;outer:for(let r=0;r<n;r++){let n=kw[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=kw[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 jw=e=>{let t=xde.exec(e)||Sde.exec(e),n=rw(t[4])?1:+t[4];return[+t[1],+t[2],+t[3],n]},Mw=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]},Nw=(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),Pw=e=>{let t=Cde.exec(e)||wde.exec(e),n=t[1]/360,r=t[2]/100,i=t[3]/100,a=rw(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=bw(Nw(t,e,n+1/3)*255,0),s=bw(Nw(t,e,n)*255,0),c=bw(Nw(t,e,n-1/3)*255,0)}return[o,s,c,a]},Fw=e=>sw(e)?jw(e):ow(e)?Mw(e):cw(e)?Pw(e):[0,0,0,1],Iw=(e,t)=>rw(e)?t:e,Lw=(e,t)=>{let n=e.match(Dde),r=t[PC]?t:document.documentElement,i=getComputedStyle(r)?.getPropertyValue(n[1]);return(!i||i.trim()===``)&&n[2]&&(i=n[2].trim()),i||0},Rw=(e,t,n,r,i,a)=>{if(nw(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(tw(e)&&ZC(e,`var(`)){if(!i)return Lw(e,t);let n=()=>Lw(e,t);return i.func=n,n()}return e},zw=(e,t)=>e[PC]?e[FC]&&Ade(e,t)?kC.ATTRIBUTE:HC.includes(t)||VC.get(t)?kC.TRANSFORM:ZC(t,`--`)?kC.CSS_VAR:t in e.style?kC.CSS:t in e?kC.OBJECT:kC.ATTRIBUTE:kC.OBJECT,Bw=(e,t,n)=>{let r=e.style[t];r&&n&&(n[t]=r);let i=r||getComputedStyle(e[_de]||e).getPropertyValue(t);return i===`auto`?`0`:i},Vw=(e,t,n,r)=>{let i=rw(n)?zw(e,t):n,a=Aw(e,t);if(a){let n=a.get(e);return n&&r&&(r[t]=n),n??0}if(i===kC.OBJECT){let n=e[t];return n&&r&&(r[t]=n),n||0}if(i===kC.ATTRIBUTE){let n=e.getAttribute(t);return n&&r&&(r[t]=n),n}return i===kC.TRANSFORM?Fde(e,t,r):i===kC.CSS_VAR?Bw(e,t,r).trimStart():Bw(e,t,r)},Hw=(e,t,n)=>n===`-`?e-t:n===`+`?e+t:e*t,Uw=()=>({t:AC.NUMBER,n:0,u:null,o:null,d:null,s:null}),Ww=(e,t)=>{if(t.t=AC.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(` `)&&Tde.exec(r);if(i)return t.t=AC.UNIT,t.n=+i[1],t.u=i[2],t;if(t.o)return t.n=+r,t;if(lw(r))return t.t=AC.COLOR,t.d=Fw(r),t;{let e=r.match(GC);return t.t=AC.COMPLEX,t.d=e?e.map(Number):[],t.s=r.split(GC)||[],t}},Gw=(e,t)=>(t.t=e._valueType,t.n=e._toNumber,t.u=e._unit,t.o=null,t.d=ww(e._toNumbers),t.s=ww(e._strings),t),Kw=Uw(),qw=(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(bw(xw(i[c],a[c],t),n)),u=o[c+1];s+=`${u?l+u:l}`,e._numbers[c]=l}return s},Jw=(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=yw(g,-h,o),b=yw(v,-h,o),x=v-g,S=b>0,C=b>=o,w=o<=LC,T=i===jC.FORCE,E=0,D=v,O=0;if(l>1){let t=c+(C?0:d),n=~~(b/t);e._currentIteration=yw(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===jC.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)>=JC.tickThreshold,i=bw(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!==MC.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=yw(j-o._startTime,0,a),n=o._ease(t/o._updateDuration),i=o._modifier,f=o._valueType,p=o._tweenType,m=p===kC.OBJECT,g=f===AC.NUMBER,_=g&&m||n===0||n===1?-1:JC.precision,v,y;if(g)v=y=i(bw(xw(o._fromNumber,o._toNumber,n),_));else if(f===AC.UNIT)y=i(bw(xw(o._fromNumber,o._toNumber,n),_)),v=`${y}${o._unit}`;else if(f===AC.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(xw(t[3],a[3],n)),(!o._setter||r)&&(v=`rgba(${bw(e[0],0)},${bw(e[1],0)},${bw(e[2],0)},${e[3]})`)}else f===AC.COMPLEX&&(v=qw(o,n,_));if(h&&(o._number=y),!r&&e!==MC.blend){let e=o.property;s=o.target,o._setter?o._setter(s,y,o):m?s[e]=v:p===kC.ATTRIBUTE?s.setAttribute(e,v):(c=s.style,p===kC.TRANSFORM?(s!==l&&(l=s,u=s[IC]),u[e]=v,d=1):p===kC.CSS?c[e]=v:p===kC.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=Ow(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},Yw=(e,t,n,r,i)=>{let a=e._currentIteration;if(Jw(e,t,n,r,i),e._hasChildren){let o=e,s=o.backwards,c=r?t:o._iterationTime,l=QC(),u=0,d=!0;if(!r&&o._currentIteration!==a){let e=o.iterationDuration;Tw(o,t=>{if(!s)!t.completed&&!t.backwards&&t._currentTime<t.iterationDuration&&Jw(t,e,n,1,jC.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)}Tw(o,e=>{let t=bw((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+=Jw(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))))}},Xw={},Ide=(e,t,n)=>{if(n===kC.TRANSFORM)return VC.get(e)||e;if(n===kC.CSS||n===kC.ATTRIBUTE&&aw(t)&&e in t.style){let t=Xw[e];if(t)return t;{let t=e&&XC(e);return Xw[e]=t,t}}return e},Zw=(e,t=!1)=>{if(e._hasChildren)Tw(e,e=>Zw(e,t),!0);else{let n=e;n.pause(),Tw(n,e=>{let r=e.property,i=e.target,a=e._tweenType,o=e._inlineValue,s=iw(o)||o===``;if(e._setter){if(!t&&!s){if(Ww(o,Kw),Kw.d){let t=Kw.d,n=e._numbers;for(let e=0,r=t.length;e<r;e++)n[e]=t[e]}else e._number=Kw.n;e._setter(e.target,e._number,e)}}else if(a===kC.OBJECT)!t&&!s&&(i[r]=o);else if(i[PC]){if(a===kC.ATTRIBUTE)t||(s?i.removeAttribute(r):i.setAttribute(r,o));else{let t=i.style;if(a===kC.TRANSFORM){let n=i[IC];s?delete n[r]:n[r]=o,e._renderTransforms&&(Object.keys(n).length?t.transform=Ow(n):t.removeProperty(`transform`))}else s?t.removeProperty(XC(r)):t[r]=o}}i[PC]&&n._tail===e&&n.targets.forEach(e=>{e.getAttribute&&e.getAttribute(`style`)===``&&e.removeAttribute(`style`)})})}return e},Qw=class{constructor(e=0){this.deltaTime=0,this._currentTime=e,this._lastTickTime=e,this._startTime=e,this._lastTime=e,this._frameDuration=zC/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?LC:t,r=zC/n;n>KC.frameRate&&(KC.frameRate=n),this._fps=n,this._frameDuration=r}get speed(){return this._speed}set speed(e){let t=+e;this._speed=t<1e-11?LC:t}requestTick(e){let t=this._frameDuration,n=e-this._lastTickTime,r=t*.25;return n+(r<4?r:4)<t?jC.NONE:(this._lastTickTime=n>=t?e-n%t:e,jC.AUTO)}computeDeltaTime(e){let t=e-this._lastTime;return this.deltaTime=t,this._lastTime=e,t}},$w={animation:null,update:UC},Lde=e=>{let t=$w.animation;return t||(t={duration:LC,computeDeltaTime:UC,_offset:0,_delay:0,_head:null,_tail:null},$w.animation=t,$w.update=()=>{e.forEach(e=>{for(let t in e){let n=e[t],r=n._head;if(r){let e=r._valueType,t=e===AC.COMPLEX||e===AC.COLOR?ww(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}}}),Jw(t,1,1,0,jC.FORCE)}),t},eT=EC?requestAnimationFrame:setImmediate,Rde=EC?cancelAnimationFrame:clearImmediate,zde=class extends Qw{constructor(e){super(e),this.useDefaultMainLoop=!0,this.pauseOnDocumentHidden=!0,this.defaults=KC,this.paused=!0,this.reqId=0}update(){let e=this._currentTime=QC();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?(Ew(this,r),this._hasChildren=!!this._tail,r._running=!1,r.completed&&!r._cancelled&&r.cancel()):Yw(r,(e-r._startTime)*r._speed*t,0,0,r._fps<n?r.requestTick(e):jC.AUTO),r=i}$w.update()}}wake(){return this.useDefaultMainLoop&&!this.reqId&&(this.requestTick(QC()),this.reqId=eT(nT)),this}pause(){if(this.reqId)return this.paused=!0,Bde()}resume(){if(this.paused)return this.paused=!1,Tw(this,e=>e.resetTime()),this.wake()}get speed(){return this._speed*(JC.timeScale===1?1:zC)}set speed(e){let t=e*JC.timeScale;this._speed!==t&&(this._speed=t,Tw(this,e=>e.speed=e._speed))}get timeUnit(){return JC.timeScale===1?`ms`:`s`}set timeUnit(e){let t=.001,n=e===`s`,r=n?t:1;if(JC.timeScale!==r){JC.timeScale=r,JC.tickThreshold=200*r;let e=n?t:zC;this.defaults.duration*=e,this._speed*=e}}get precision(){return JC.precision}set precision(e){JC.precision=e}},tT=(()=>{let e=new zde(QC());return EC&&(YC.engine=e,OC.addEventListener(`visibilitychange`,()=>{e.pauseOnDocumentHidden&&(OC.hidden?e.pause():e.resume())})),e})(),nT=()=>{tT._head?(tT.reqId=eT(nT),tT.update()):tT.reqId=0},Bde=()=>(Rde(tT.reqId),tT.reqId=0,tT),rT={_rep:new WeakMap,_add:new Map},iT=(e,t,n=`_rep`)=>{let r=rT[n],i=r.get(e);return i||(i={},r.set(e,i)),i[t]?i[t]:i[t]={_head:null,_tail:null}},Vde=(e,t)=>e._isOverridden||e._absoluteStartTime>t._absoluteStartTime,aT=e=>{e._isOverlapped=1,e._isOverridden=1,e._changeDuration=LC,e._currentTime=LC},oT=(e,t)=>{let n=e._composition;if(n===MC.replace){let n=e._absoluteStartTime;Dw(t,e,Vde,`_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){aT(r);let e=r._prevRep;for(;e&&e.parent.id===t.id;)aT(e),e=e._prevRep}let a=e._absoluteUpdateStartTime;if(i>a){let e=r._startTime,t=bw(a-(i-(e+r._updateDuration))-e,12);r._changeDuration=t,r._currentTime=t,r._isOverlapped=1,t<1e-11&&aT(r)}let o=e.parent.parent;if(!o||o!==t.parent){let e=!0;if(Tw(t,t=>{t._isOverlapped||(e=!1)}),e){let e=t.parent;if(e){let n=!0;Tw(e,e=>{e!==t&&Tw(e,e=>{e._isOverlapped||(n=!1)})}),n&&e.cancel()}else t.cancel()}}}}else if(n===MC.blend){let t=iT(e.target,e.property,`_add`),n=Lde(rT._add),r=t._head;r||(r={...e},r._composition=MC.replace,r._updateDuration=LC,r._startTime=0,r._numbers=ww(e._fromNumbers),r._number=0,r._next=null,r._prev=null,Dw(t,r),Dw(n,r));let i=e._toNumber;if(e._fromNumber=r._fromNumber-i,e._toNumber=0,e._numbers=ww(e._fromNumbers),e._number=0,r._fromNumber=i,e._toNumbers.length){let t=ww(e._toNumbers);t.forEach((t,n)=>{e._fromNumbers[n]=r._fromNumbers[n]-t,e._toNumbers[n]=0}),r._fromNumbers=t}Dw(t,e,null,`_prevAdd`,`_nextAdd`)}return e},Hde=e=>{let t=e._composition;if(t!==MC.none){let n=e.target,r=e.property,i=rT._rep.get(n)[r];if(Ew(i,e,`_prevRep`,`_nextRep`),t===MC.blend){let t=rT._add,i=t.get(n);if(!i)return;let a=i[r],o=$w.animation;Ew(a,e,`_prevAdd`,`_nextAdd`);let s=a._head;if(s&&s===a._tail){Ew(a,s,`_prevAdd`,`_nextAdd`),Ew(o,s);let e=!0;for(let t in i)if(i[t]._head){e=!1;break}e&&t.delete(n)}}}return e},sT=e=>(e.paused=!0,e.began=!1,e.completed=!1,e),cT=e=>e._cancelled?(e._hasChildren?Tw(e,cT):Tw(e,e=>{e._composition!==MC.none&&oT(e,iT(e.target,e.property))}),e._cancelled=0,e):e,lT=0,Ude=(e,t)=>e._priority>t._priority,Wde=class extends Qw{constructor(e={},t=null,n=0){super(0),++lT;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;qC.current&&qC.current.register(this);let b=t?0:tT._lastTickTime,x=t?t.defaults:JC.defaults,S=nw(i)||rw(i)?x.delay:+i,C=nw(a)||rw(a)?1/0:+a,w=Iw(c,x.loop),T=Iw(l,x.loopDelay),E=w===!0||w===1/0||w<0?1/0:w+1,D=0;t?D=n:(tT.reqId||tT.requestTick(QC()),D=(tT._lastTickTime-tT._startTime)*JC.timeScale),this.id=rw(r)?lT:r,this.parent=t,this.duration=Sw((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&&Iw(u,x.autoplay),this._offset=D,this._delay=S,this._loopDelay=T,this._iterationTime=0,this._currentIteration=0,this._resolve=UC,this._running=!1,this._reversed=+Iw(o,x.reversed),this._reverse=this._reversed,this._cancelled=0,this._alternate=Iw(s,x.alternate),this._prev=null,this._next=null,this._lastTickTime=b,this._startTime=b,this._lastTime=b,this._fps=Iw(d,x.frameRate),this._speed=Iw(f,x.playbackRate),this._priority=+Iw(p,1)}get cancelled(){return!!this._cancelled}set cancelled(e){e?this.cancel():this.reset(!0).play()}get currentTime(){return yw(bw(this._currentTime,JC.precision),-this._delay,this.duration)}set currentTime(e){let t=this.paused;this.pause().seek(+e),t||this.resume()}get iterationCurrentTime(){return yw(bw(this._iterationTime,JC.precision),0,this.iterationDuration)}set iterationCurrentTime(e){this.currentTime=this.iterationDuration*this._currentIteration+e}get progress(){return yw(bw(this._currentTime/this.duration,10),0,1)}set progress(e){this.currentTime=this.duration*e}get iterationProgress(){return yw(bw(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*yw(+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 cT(this),this._reversed&&!this._reverse&&(this.reversed=!1),this._iterationTime=this.iterationDuration,Yw(this,0,1,~~e,jC.FORCE),sT(this),this._hasChildren&&Tw(this,sT),this}init(e=!1){this.fps=this._fps,this.speed=this._speed,!e&&this._hasChildren&&Yw(this,this.duration,1,~~e,jC.FORCE),this.reset(e);let t=this._autoplay;return t===!0?this.resume():t&&!rw(t.linked)&&t.link(this),this}resetTime(){let e=1/(this._speed*tT._speed);return this._startTime=QC()-(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?Yw(this,LC,0,0,jC.FORCE):(this._running||=(Dw(tT,this,Ude),tT._hasChildren=!0,!0),this.resetTime(),this._startTime-=12,tT.wake()),this):this}restart(){return this.reset().resume()}seek(e,t=0,n=0){cT(this),this.completed=!1;let r=this.paused;return this.paused=!0,Yw(this,e+this._delay,~~t,~~n,jC.AUTO),r?this:this.resume()}alternate(){let e=this._reversed,t=this.iterationCount,n=this.iterationDuration,r=t===1/0?gw(RC/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?Tw(this,e=>e.cancel(),!0):Tw(this,Hde),this._cancelled=1,this.pause()}stretch(e){let t=this.duration,n=Cw(e);if(t===n)return this;let r=e/t,i=e<=LC;return this.duration=i?LC:n,this.iterationDuration=i?LC:Cw(this.iterationDuration*r),this._offset*=r,this._delay*=r,this._loopDelay*=r,this}revert(){Yw(this,0,1,0,jC.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=UC){let t=this.then,n=()=>{this.then=null,e(this),this.then=t,this._resolve=UC};return new Promise(e=>(this._resolve=()=>e(n()),this.completed&&this._resolve(),this))}};function uT(e){let t=tw(e)?qC.root.querySelectorAll(e):e;if(t instanceof NodeList||t instanceof HTMLCollection)return t}function Gde(e){if(iw(e))return[];if(!EC)return $C(e)&&e.flat(1/0)||[e];if($C(e)){let t=e.flat(1/0),n=[];for(let e=0,r=t.length;e<r;e++){let r=t[e];if(!iw(r)){let e=uT(r);if(e)for(let t=0,r=e.length;t<r;t++){let r=e[t];if(!iw(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=uT(e);return t?Array.from(t):[e]}function Kde(e){let t=Gde(e),n=t.length;for(let e=0;e<n;e++){let n=t[e];if(!n[NC]){n[NC]=!0;let e=aw(n);(n.nodeType||e)&&(n[PC]=!0,n[FC]=e,n[IC]={})}}return t}var dT={deg:1,rad:180/_w,turn:360},fT={},pT=(e,t,n,r=!1)=>{let i=t.u,a=t.n;if(t.t===AC.UNIT&&i===n)return t;let o=a+i+n,s=fT[o];if(!rw(s)&&!r)t.n=s;else{let r;if(i in dT)r=a*dT[i]/dT[n];else{let t=e.cloneNode(),o=e.parentNode,s=o&&o!==OC?o:OC.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,fT[o]=r}return t.t,AC.UNIT,t.u=n,t},mT=e=>e,hT=(e=1.68)=>t=>dw(t,+e),gT={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},qde=_w/2,_T=_w*2,vT={"":hT,Quad:hT(2),Cubic:hT(3),Quart:hT(4),Quint:hT(5),Sine:e=>1-mw(e*qde),Circ:e=>1-fw(1-e*e),Expo:e=>e?dw(2,10*e-10):0,Bounce:e=>{let t,n=4;for(;e<((t=dw(2,--n))-1)/11;);return 1/dw(4,3-n)-7.5625*dw((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=yw(+e,1,10),r=yw(+t,LC,2),i=r/_T*Nde(1/n),a=_T/r;return e=>e===0||e===1?e:-n*dw(2,-10*(1-e))*pw((1-e-i)*a)}},yT=(()=>{let e={linear:mT,none:mT};for(let t in gT)for(let n in vT){let r=vT[n],i=gT[t];e[t+n]=n===``||n===`Back`||n===`Elastic`?(e,t)=>i(r(e,t)):i(r)}return e})(),bT={linear:mT,none:mT},xT=e=>{if(bT[e])return bT[e];if(e.indexOf(`(`)<=-1){let t=gT[e]||e.includes(`Back`)||e.includes(`Elastic`)?yT[e]():yT[e];return t?bT[e]=t:mT}{let t=e.slice(0,-1).split(`(`),n=yT[t[0]];return n?bT[e]=n(...t[1].split(`,`)):mT}},ST=[`steps(`,`irregular(`,`linear(`,`cubicBezier(`],CT=e=>{if(tw(e)){for(let t=0,n=ST.length;t<n;t++)if(ZC(e,ST[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}\``),mT}return nw(e)?e:tw(e)?xT(e):mT},wT=Uw(),TT=Uw(),ET={},DT={func:null},OT={func:null},kT=[null],AT=[null,null],jT={to:null},MT=0,NT=0,PT,FT,Jde=(e,t)=>{let n={};if($C(e)){let t=[].concat(...e.map(e=>Object.keys(e))).filter(uw);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];uw(n)?n===i&&(t.to=r):t[n]=r}return t})}}else{let r=Iw(t.duration,JC.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(uw(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},Yde=class extends Wde{constructor(e,t,n,r,i=!1,a=0,o){super(t,n,r),this._head,this._tail,++NT;let s=Kde(e),c=s.length,l=t.keyframes,u=l?Pde(Jde(l,t),t):t,{id:d,delay:f,duration:p,ease:m,playbackEase:h,modifier:g,composition:_,onRender:v}=u,y=n?n.defaults:JC.defaults,b=Iw(m,y.ease),x=Iw(h,y.playbackEase),S=x?CT(x):null,C=!rw(b.ease),w=C?b.ease:Iw(m,S?`linear`:y.ease),T=C?b.settlingDuration:Iw(p,y.duration),E=Iw(f,y.delay),D=g||y.modifier,O=rw(_)&&c>=1e3?MC.none:rw(_)?y.composition:_,k=this._offset+(n?n._offset:0);C&&(b.parent=this);let A=NaN,j=NaN,M=0,ee=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(uw(e)){let a=zw(t,e),o=Aw(t,e),s=Ide(e,t,a),f=u[e],p=$C(f);if(i&&!p&&(AT[0]=f,AT[1]=f,f=AT),p){let e=f.length,t=!ew(f[0]);e===2&&t?(jT.to=f,kT[0]=jT,PT=kT):e>2&&t?(PT=[],f.forEach((e,t)=>{t?t===1?(AT[1]=e,PT.push(AT)):PT.push(e):AT[0]=e})):PT=f}else kT[0]=f,PT=kT;let m=null,h=null,g=NaN,_=0,v=0;for(let e=PT.length;v<e;v++){let i=PT[v];ew(i)?FT=i:(jT.to=i,FT=jT),DT.func=null,OT.func=null;let l=Rw(Iw(FT.composition,O),t,r,c,null,null),u=Ode(l)?l:MC[l];!m&&u!==MC.none&&(m=iT(t,s));let d=m?m._tail:null,f=n&&d&&d.parent.parent===n?d:h,p=Rw(FT.to,t,r,c,DT,f),y;ew(p)&&!rw(p.to)?(FT=p,y=p.to):y=p;let b=Rw(FT.from,t,r,c,OT,f),x=FT.ease||w,S=Rw(x,t,r,c,null,f),C=nw(S)||tw(S)?S:x,A=!rw(C)&&!rw(C.ease),j=A?C.ease:C,N=A?C.settlingDuration:Rw(Iw(FT.duration,e>1?Rw(T,t,r,c,null,f)/e:T),t,r,c,null,f),te=Rw(Iw(FT.delay,v?0:E),t,r,c,null,f),ne=FT.modifier||D,re=!rw(b),P=!rw(y),ie=$C(y),ae=ie||re&&P,oe=h?_:0,se=h?_+te:te,ce=bw(k+se,12),le=bw(k+oe,12);!ee&&(re||ie)&&(ee=1);let ue=h;if(u!==MC.none){let e=m._head;for(;e&&e._absoluteStartTime<=ce;)if(e._isOverridden||(ue=e),e=e._nextRep,e&&e._absoluteStartTime>=ce)for(;e;)aT(e),e=e._nextRep}if(ae){Ww(ie?Rw(y[0],t,r,c,OT,f):b,wT),Ww(ie?Rw(y[1],t,r,c,DT,f):y,TT);let e=Vw(t,s,a,ET);wT.t===AC.NUMBER&&(ue?ue._valueType===AC.UNIT&&(wT.t=AC.UNIT,wT.u=ue._unit):(Ww(e,Kw),Kw.t===AC.UNIT&&(wT.t=AC.UNIT,wT.u=Kw.u)))}else P?Ww(y,TT):h?Gw(h,TT):Ww(n&&ue&&ue.parent.parent===n?ue._value:Vw(t,s,a,ET),TT),re?Ww(b,wT):h?Gw(h,wT):Ww(n&&ue&&ue.parent.parent===n?ue._value:Vw(t,s,a,ET),wT);if(wT.o&&(wT.n=Hw(ue?ue._toNumber:Ww(Vw(t,s,a,ET),Kw).n,wT.n,wT.o)),TT.o&&(TT.n=Hw(wT.n,TT.n,TT.o)),wT.t!==TT.t){if(wT.t===AC.COMPLEX||TT.t===AC.COMPLEX){let e=wT.t===AC.COMPLEX?wT:TT,t=wT.t===AC.COMPLEX?TT:wT;t.t=AC.COMPLEX,t.s=ww(e.s),t.d=e.d.map(()=>t.n)}else if(wT.t===AC.UNIT||TT.t===AC.UNIT){let e=wT.t===AC.UNIT?wT:TT,t=wT.t===AC.UNIT?TT:wT;t.t=AC.UNIT,t.u=e.u}else if(wT.t===AC.COLOR||TT.t===AC.COLOR){let e=wT.t===AC.COLOR?wT:TT,t=wT.t===AC.COLOR?TT:wT;t.t=AC.COLOR,t.d=e.d.map(()=>0)}}if(wT.u!==TT.u){let e=TT.u?wT:TT;e=pT(t,e,TT.u?TT.u:wT.u,!1)}if(TT.d&&wT.d&&TT.d.length!==wT.d.length){let e=wT.d.length>TT.d.length?wT:TT,t=e===wT?TT:wT;t.d=e.d.map((e,n)=>rw(t.d[n])?0:t.d[n]),t.s=ww(e.s)}let de=bw(+N||1e-11,12),fe=ET[s];iw(fe)||(ET[s]=null);let pe=o?o.set:null;_=bw(se+de,12);let me=wT.d,he=TT.d,ge=TT.s,_e={parent:this,id:MT++,property:s,target:t,_value:null,_toFunc:DT.func,_fromFunc:OT.func,_ease:CT(j),_fromNumbers:me?ww(me):BC,_toNumbers:he?ww(he):BC,_strings:ge?ww(ge):BC,_fromNumber:wT.n,_toNumber:TT.n,_numbers:me?ww(me):BC,_number:wT.n,_unit:TT.u,_modifier:ne,_currentTime:0,_startTime:se,_delay:+te,_updateDuration:de,_changeDuration:de,_absoluteStartTime:ce,_absoluteUpdateStartTime:le,_absoluteEndTime:bw(k+_,12),_hasFromValue:re||ie?1:0,_tweenType:a,_setter:pe,_valueType:TT.t,_composition:u,_isOverlapped:0,_isOverridden:0,_renderTransforms:0,_inlineValue:fe,_prevRep:null,_nextRep:null,_prevAdd:null,_nextAdd:null,_prev:null,_next:null};u!==MC.none&&oT(_e,m);let ve=_e._valueType;if(ve===AC.COMPLEX)_e._value=qw(_e,1,-1);else if(ve===AC.UNIT)_e._value=`${ne(_e._toNumber)}${_e._unit}`;else if(ve===AC.COLOR){let e=TT.d;_e._value=`rgba(${bw(e[0],0)},${bw(e[1],0)},${bw(e[2],0)},${e[3]})`}else _e._value=ne(_e._toNumber);isNaN(g)&&(g=_e._startTime),h=_e,M++,Dw(this,_e)}(isNaN(j)||g<j)&&(j=g),(isNaN(A)||_>A)&&(A=_),a===kC.TRANSFORM&&(l=M-v,d=M)}if(!isNaN(l)){let e=0;Tw(this,t=>{e>=l&&e<d&&(t._renderTransforms=1,t._composition===MC.blend&&Tw($w.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?(Tw(this,e=>{e._startTime-e._delay||(e._delay-=j),e._startTime-=j}),A-=j):j=0,A||(A=LC,this.iterationCount=0),this.targets=s,this.id=rw(d)?NT:d,this.duration=A===1e-11?LC:Sw((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&&ee&&this.onRender(this)}stretch(e){let t=this.duration;if(t===Cw(e))return this;let n=e/t;return Tw(this,e=>{e._updateDuration=Cw(e._updateDuration*n),e._changeDuration=Cw(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 Tw(this,e=>{let t=e._toFunc,n=e._fromFunc;(t||n)&&(n?(Ww(n(),wT),wT.u!==e._unit&&e.target[PC]&&pT(e.target,wT,e._unit,!0),e._fromNumbers=ww(wT.d),e._fromNumber=wT.n):t&&(Ww(Vw(e.target,e.property,e._tweenType),Kw),e._fromNumbers=ww(Kw.d),e._fromNumber=Kw.n),t&&(Ww(t(),TT),e._toNumbers=ww(TT.d),e._strings=ww(TT.s),e._toNumber=TT.o?Hw(e._fromNumber,TT.n,TT.o):TT.n))}),this.duration===1e-11&&this.restart(),this}revert(){return super.revert(),Zw(this)}then(e){return super.then(e)}},IT=(e,t)=>JC.editor?JC.editor.addAnimation(e,t):new Yde(e,t,null,0,!1).init(),LT=zC*10,Xde=class{constructor(e={}){let t=!rw(e.bounce)||!rw(e.duration);this.timeStep=.02,this.restThreshold=5e-4,this.restDuration=200,this.maxDuration=6e4,this.maxRestSteps=this.restDuration/this.timeStep/zC,this.maxIterations=this.maxDuration/this.timeStep/zC,this.bn=yw(Iw(e.bounce,.5),-1,1),this.pd=yw(Iw(e.duration,628),10*JC.timeScale,LT*JC.timeScale),this.m=yw(Iw(e.mass,1),1,LT),this.s=yw(Iw(e.stiffness,100),LC,LT),this.d=yw(Iw(e.damping,10),LC,LT),this.v=yw(Iw(e.velocity,0),-LT,LT),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||UC,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?hw(-a*t*n)*(1*mw(r*a)+i*pw(r*a)):t===1?(1+i*a)*hw(-a*n):((1+i)*hw((-t*n+r)*a)+(1-i)*hw((-t*n-r)*a))/2,1-a}calculateSDFromBD(){let e=JC.timeScale===1?this.pd/zC:this.pd;this.m=1,this.v=0,this.s=dw(2*_w/e,2),this.d=this.bn>=0?(1-this.bn)*4*_w/e:4*_w/(e*(1+this.bn)),this.s=bw(yw(this.s,LC,LT),3),this.d=bw(yw(this.d,LC,300),3)}calculateBDFromSD(){let e=2*_w/fw(this.s);this.pd=e*(JC.timeScale===1?zC:1),this.bn=this.d/(2*fw(this.s))<=1?1-this.d*e/(4*_w):4*_w/(this.d*e)-1,this.bn=bw(yw(this.bn,-1,1),3),this.pd=bw(yw(this.pd,10*JC.timeScale,LT*JC.timeScale),3)}compute(){let{maxRestSteps:e,maxIterations:t,restThreshold:n,timeStep:r,m:i,d:a,s:o,v:s}=this,c=this.w0=yw(fw(o/i),LC,zC),l=this.zeta=a/(2*fw(o*i));l<1?(this.wd=c*fw(1-l*l),this.b=(l*c+-s)/this.wd):l===1?(this.wd=0,this.b=-s+c):(this.wd=c*fw(l*l-1),this.b=(l*c+-s)/this.wd);let u=0,d=0,f=0;for(;d<=e&&f<=t;)jde(1-this.solve(u))<n?d++:d=0,this.solverDuration=u,u+=r,f++;this.settlingDuration=bw(this.solverDuration*zC,0)*JC.timeScale}get bounce(){return this.bn}set bounce(e){this.bn=yw(Iw(e,1),-1,1),this.calculateSDFromBD(),this.compute()}get duration(){return this.pd}set duration(e){this.pd=yw(Iw(e,1),10*JC.timeScale,LT*JC.timeScale),this.calculateSDFromBD(),this.compute()}get stiffness(){return this.s}set stiffness(e){this.s=yw(Iw(e,100),LC,LT),this.calculateBDFromSD(),this.compute()}get damping(){return this.d}set damping(e){this.d=yw(Iw(e,10),LC,LT),this.calculateBDFromSD(),this.compute()}get mass(){return this.m}set mass(e){this.m=yw(Iw(e,1),1,LT),this.compute()}get velocity(){return this.v}set velocity(e){this.v=yw(Iw(e,0),-LT,LT),this.compute()}},Zde=e=>new Xde(e),RT=(e=10,t)=>{let n=t?Mde:gw;return t=>n(yw(t,0,1)*e)*(1/e)},zT=(0,F.forwardRef)(function({id:e,transform:t},n){return(0,R.jsxs)(`radialGradient`,{ref:n,id:e,gradientUnits:`userSpaceOnUse`,cx:`-1.2`,cy:`-1.6`,r:`5.6`,gradientTransform:t,children:[(0,R.jsx)(`stop`,{offset:`0`,stopColor:`color-mix(in oklab, var(--color-white) calc(var(--depth) * 50%), currentColor)`}),(0,R.jsx)(`stop`,{offset:`1`,stopColor:`currentColor`})]})});function BT({id:e}){return(0,R.jsx)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:(0,R.jsx)(`feDropShadow`,{dx:`0`,dy:`1.5`,stdDeviation:`1`,floodColor:`currentColor`,style:{floodOpacity:`calc(var(--depth) * 0.6)`}})})}function VT({id:e}){return(0,R.jsxs)(`filter`,{id:e,x:`-10%`,y:`-10%`,width:`120%`,height:`120%`,colorInterpolationFilters:`sRGB`,children:[(0,R.jsx)(`feGaussianBlur`,{in:`SourceAlpha`,stdDeviation:`0.3`,result:`soft-edge`}),(0,R.jsx)(`feOffset`,{in:`soft-edge`,dx:`0.25`,dy:`0.45`,result:`lower-edge`}),(0,R.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`lower-edge`,operator:`out`,result:`inner-shadow`}),(0,R.jsx)(`feFlood`,{floodColor:`var(--color-black)`,floodOpacity:`calc(var(--depth) * 0.28)`}),(0,R.jsx)(`feComposite`,{in2:`inner-shadow`,operator:`in`,result:`shade`}),(0,R.jsx)(`feOffset`,{in:`soft-edge`,dx:`-0.2`,dy:`-0.35`,result:`upper-edge`}),(0,R.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`upper-edge`,operator:`out`,result:`inner-highlight`}),(0,R.jsx)(`feFlood`,{floodColor:`var(--color-white)`,floodOpacity:`calc(var(--depth) * 0.7)`}),(0,R.jsx)(`feComposite`,{in2:`inner-highlight`,operator:`in`,result:`highlight`}),(0,R.jsxs)(`feMerge`,{children:[(0,R.jsx)(`feMergeNode`,{in:`SourceGraphic`}),(0,R.jsx)(`feMergeNode`,{in:`shade`}),(0,R.jsx)(`feMergeNode`,{in:`highlight`})]})]})}var HT=Object.freeze({alphaIntercept:-8,alphaSlope:18,blurStdDeviation:2});function UT({id:e,values:t=cue}){return(0,R.jsxs)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:[(0,R.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:t.blurStdDeviation,result:`blur`}),(0,R.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,R.jsx)(`feComposite`,{in:`SourceGraphic`,in2:`gooey`,operator:`atop`})]})}function WT(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 GT(e){let t=Math.max(0,Math.min(1,e));return t*t*(3-2*t)}function KT(e,t){let n=Math.max(0,Math.min(1,(t-(e-1)*.085)/.68));return Math.sin(n*Math.PI)**2}function qT(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=GT(n/.66)*Math.PI*2,o=Math.min(e,t*Math.PI/8)-Math.PI/2,s=GT((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+KT(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=KT(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 Qde={line:1700,square:1900,donut:3e3,wander:4600,bloom:2800};function $de({variant:e}){let t=`caps-loader-${(0,F.useId)().replaceAll(`:`,``)}`,n=(0,F.useRef)(null),r=(0,F.useRef)(null),i=yC(r),{reduced:a}=i,o=e===`donut`?16:e===`bloom`?5:e===`square`?4:3;return(0,F.useLayoutEffect)(()=>{if(a||!n.current||!r.current)return;let t=[...n.current.querySelectorAll(`ellipse`)].map((t,n)=>IT(t,{keyframes:Array.from({length:48},(t,r)=>({...qT(e,n,(r+1)/48),duration:bC(i,Qde[e])/48})),ease:`linear`,loop:!0})),o=WT(r.current,e=>{for(let n of t)e?n.resume():n.pause()});return()=>{o();for(let e of t)e.revert()}},[e,a,i]),(0,R.jsxs)(`svg`,{ref:r,"aria-hidden":`true`,focusable:`false`,viewBox:e===`line`?`-20 -10 40 20`:`-20 -20 40 40`,children:[(0,R.jsxs)(`defs`,{children:[(0,R.jsx)(UT,{id:t,values:HT}),(0,R.jsx)(zT,{id:`${t}-surface`,transform:e===`line`?`matrix(3.4 0 0 1.4 0 0)`:`matrix(3 0 0 3 0 0)`}),(0,R.jsx)(BT,{id:`${t}-shadow`}),(0,R.jsx)(`mask`,{id:`${t}-mask`,maskUnits:`userSpaceOnUse`,x:`-20`,y:`-20`,width:`40`,height:`40`,style:{maskType:`alpha`},children:(0,R.jsx)(`g`,{ref:n,fill:`currentColor`,filter:`url(#${t})`,children:Array.from({length:o},(t,n)=>(0,R.jsx)(`ellipse`,{...qT(e,n,0)},n))})})]}),(0,R.jsx)(`g`,{filter:`url(#${t}-shadow)`,children:(0,R.jsx)(`rect`,{x:`-20`,y:`-20`,width:`40`,height:`40`,fill:`url(#${t}-surface)`,mask:`url(#${t}-mask)`})})]})}var efe={sm:`caps-loader-sm`,md:`caps-loader-md`,lg:`caps-loader-lg`,fill:`caps-loader-fill`},tfe={neutral:`text-base-content`,accent:`text-accent`,primary:`text-primary`,success:`text-success`},JT=(0,F.forwardRef)(function({"aria-label":e,"aria-labelledby":t,className:n,decorative:r=!1,label:i=`Loading`,size:a=`md`,variant:o=`line`,tone:s=`neutral`,...c},l){let u=`${(0,F.useId)()}-label`,d=!r&&e===void 0&&t===void 0;return(0,R.jsxs)(`span`,{...c,"aria-label":r?void 0:e,"aria-hidden":r||void 0,"aria-labelledby":r?void 0:t??(e===void 0?u:void 0),className:hC(`caps-loader`,efe[a],tfe[s],n),"data-variant":o,role:r?void 0:`status`,ref:l,children:[(0,R.jsx)($de,{variant:o}),d?(0,R.jsx)(TC,{id:u,children:i}):null]})}),YT=`disabled:bg-base-200 disabled:text-base-content disabled:outline-1 disabled:outline-solid disabled:outline-base-content/25 aria-disabled:bg-base-200 aria-disabled:text-base-content aria-disabled:outline-1 aria-disabled:outline-solid aria-disabled:outline-base-content/25`,nfe=hue(`btn caps-button disabled:pointer-events-none`,{variants:{variant:{primary:`btn-primary caps-button-filled`,secondary:`btn-secondary caps-button-filled`,accent:`btn-accent caps-button-filled`,destructive:`btn-error caps-button-filled`,outline:`btn-outline ${YT}`,ghost:`btn-ghost`,"ghost-destructive":`btn-ghost caps-button-ghost-destructive`,link:`btn-link ${YT}`},size:{xs:`btn-xs`,sm:`btn-sm`,default:`btn-md`,lg:`btn-lg`,icon:`btn-square btn-md`,menubar:`caps-button-menubar`}},defaultVariants:{variant:`primary`,size:`default`}}),XT=(0,F.forwardRef)(function({asChild:e=!1,children:t,className:n,disabled:r,loading:i=!1,result:a,resultLabel:o,onResultEnd:s,size:c=`default`,variant:l=`primary`,...u},d){let f=hC(nfe({size:c,variant:l}),n),p=(0,F.useRef)(a).current,m=(0,F.useRef)(null);return(0,F.useImperativeHandle)(d,()=>m.current),rfe(m,i,a),e?(0,R.jsx)(NS,{...u,"aria-busy":i?!0:u[`aria-busy`],"aria-disabled":r===!0||i?!0:void 0,className:f,ref:m,children:t}):(0,R.jsx)(`button`,{...u,"aria-busy":i?!0:u[`aria-busy`],className:f,disabled:r===!0||i,ref:m,type:u.type??`button`,children:a===void 0&&o===void 0?(0,R.jsxs)(R.Fragment,{children:[i?(0,R.jsx)(JT,{className:`size-3`,decorative:!0,size:`sm`}):null,t]}):(0,R.jsx)(sfe,{label:o,loading:i,onResultEnd:s,result:a,settled:p,children:t})})});function rfe(e,t,n){let r=(0,F.useRef)(null),i=(0,F.useRef)(null),a=(0,F.useRef)(null);(0,F.useLayoutEffect)(()=>{let o=e.current;if(!o)return;let s=JSON.stringify([t,n??null,o.textContent]),c=s!==i.current;i.current=s;let l=a.current;if(!c&&l)return;let u=l?o.offsetWidth:r.current;l&&(a.current=null,l.cancel(),o.style.removeProperty(`overflow`),o.style.removeProperty(`white-space`));let d=o.offsetWidth;if(r.current=d>0?d:null,!c||u===null||d===0||Math.abs(u-d)<1||!SC(o))return;let f=vC(o);if(f.reduced)return;let p=o.animate([{width:`${String(u)}px`},{width:`${String(d)}px`}],{duration:f.normal,easing:xC(f,f.ease)});a.current=p,o.style.overflow=`clip`,o.style.whiteSpace=`nowrap`;let m=()=>{a.current===p&&(a.current=null,o.style.removeProperty(`overflow`),o.style.removeProperty(`white-space`))};p.onfinish=m,p.oncancel=m})}var ife=1100;function afe(e,t){let n=t.bounce/.3,r=1+.05*Math.min(1.4,.4+n),i=1-.02*Math.min(1.4,n);return e.animate([{transform:`scale(1)`},{transform:`scale(${String(r)})`,offset:.35},{transform:`scale(${String(i)})`,offset:.7},{transform:`scale(1)`}],{duration:t.springDuration,easing:xC(t,`ease-out`)})}function ofe(e,t){let n=t.shake;return e.animate([{transform:`none`},{transform:`translateX(${String(-n)}px)`},{transform:`translateX(${String(n)}px)`},{transform:`translateX(${String(-n*.6)}px)`},{transform:`translateX(${String(n*.3)}px)`},{transform:`none`}],{duration:t.slow*1.3,easing:xC(t,`linear`)})}function ZT(e,t,n){let r=n.distance+2,i=`blur(${String(n.blur)}px)`;return[e.animate([{opacity:1,transform:`none`,filter:`blur(0px)`},{opacity:0,transform:`translateY(${String(-r)}px)`,filter:i}],{duration:n.fast,easing:xC(n,n.ease)}),t.animate([{opacity:0,transform:`translateY(${String(r)}px)`,filter:i},{opacity:1,transform:`none`,filter:`blur(0px)`}],{duration:n.normal,easing:xC(n,n.ease),fill:`backwards`})]}function sfe({children:e,label:t,loading:n,onResultEnd:r,result:i,settled:a}){let o=(0,F.useRef)(null),s=wC(),[c,l]=(0,F.useState)(!1),[u,d]=(0,F.useState)(!1);c&&!u&&d(!0);let f=(0,F.useRef)(a),p=(0,F.useRef)(r);(0,F.useEffect)(()=>{p.current=r},[r]),(0,F.useLayoutEffect)(()=>{let e=f.current;if(f.current=i,i===e)return;if(i===`done`){l(!0);let e=setTimeout(()=>{p.current?p.current():l(!1)},ife);return()=>{clearTimeout(e)}}l(!1);let t=o.current;if(i!==`failed`||!t||!SC(t))return;let n=vC(t);if(n.shake<=0)return;let r=ofe(t,n);return()=>{r.cancel()}},[i,s]);let m=(0,F.useRef)(c);return(0,F.useLayoutEffect)(()=>{let e=o.current;if(!e||m.current===c)return;m.current=c;let t=e.querySelector(`[data-face="label"]`),n=e.querySelector(`[data-face="result"]`);if(!t||!n||!SC(e)){c||d(!1);return}let r=vC(e),i=c?ZT(t,n,r):ZT(n,t,r);if(c||i[0]?.addEventListener(`finish`,()=>{d(!1)}),c&&!r.reduced){i.push(afe(e.closest(`button`)??e,r));let t=n.querySelector(`path`);t&&i.push(t.animate([{strokeDashoffset:1},{strokeDashoffset:0}],{duration:r.normal*1.4,delay:r.fast/2,easing:xC(r,r.ease),fill:`backwards`}))}return()=>{for(let e of i)e.cancel()}},[c,s]),(0,R.jsxs)(`span`,{ref:o,className:`caps-button-faces`,"data-showing":c?`result`:`label`,children:[(0,R.jsxs)(`span`,{className:`caps-button-face`,"data-face":`label`,"aria-hidden":c?!0:void 0,children:[n||c?(0,R.jsx)(JT,{className:`size-3`,decorative:!0,size:`sm`}):null,e]}),u?(0,R.jsxs)(`span`,{className:`caps-button-face`,"data-face":`result`,"aria-hidden":!c||void 0,children:[(0,R.jsx)(`svg`,{className:`caps-button-check`,viewBox:`0 0 24 24`,"aria-hidden":`true`,focusable:`false`,children:(0,R.jsx)(`path`,{d:`M4.5 12.5 9.5 17.5 19.5 6.5`,pathLength:1})}),t===void 0?e:t]}):null]})}var QT=new Map([[`0`,[`###`,`#.#`,`#.#`,`#.#`,`###`]],[`1`,[`.#.`,`##.`,`.#.`,`.#.`,`###`]],[`2`,[`###`,`..#`,`###`,`#..`,`###`]],[`3`,[`###`,`..#`,`.##`,`..#`,`###`]],[`4`,[`#.#`,`#.#`,`###`,`..#`,`..#`]],[`5`,[`###`,`#..`,`###`,`..#`,`###`]],[`6`,[`###`,`#..`,`###`,`#.#`,`###`]],[`7`,[`###`,`..#`,`.#.`,`.#.`,`.#.`]],[`8`,[`###`,`#.#`,`###`,`#.#`,`###`]],[`9`,[`###`,`#.#`,`###`,`..#`,`###`]],[`:`,[`.`,`#`,`.`,`#`,`.`]],[`.`,[`.`,`.`,`.`,`.`,`#`]],[`+`,[`...`,`.#.`,`###`,`.#.`,`...`]],[`-`,[`...`,`...`,`###`,`...`,`...`]],[`/`,[`..#`,`..#`,`.#.`,`#..`,`#..`]],[`×`,[`...`,`#.#`,`.#.`,`#.#`,`...`]],[`%`,[`#.#`,`..#`,`.#.`,`#..`,`#.#`]],[` `,[`.`,`.`,`.`,`.`,`.`]]]),cfe=[`.`,`.`,`.`,`.`,`.`],lfe=Object.freeze([...QT.keys()]);function ufe(e,t=0,n=!1){if(!Number.isFinite(e))throw RangeError(`PixelNumber needs a finite number`);let r=String(Math.trunc(Math.abs(e))).padStart(t,`0`),i=String(Math.abs(e)).split(`.`)[1];return $T(`${e<0?`-`:n&&e>0?`+`:``}${r}${i?`.${i}`:``}`)}function $T(e){for(let t of e)if(!QT.has(t))throw RangeError(`PixelNumber cannot draw "${t}"; use digits and ${lfe.filter(e=>!/\d/.test(e)).join(` `)}`);return e}function dfe(e,t){let n=new Set,r=t;for(let i of e){let e=QT.get(i)??cfe;e.forEach((e,i)=>{for(let a=0;a<e.length;a++)e.charAt(a)===`#`&&n.add(`${String(r+a)},${String(i+t)}`)}),r+=(e.at(0)?.length??1)+1}return{lit:n,width:Math.max(1,r-1-t)+t*2}}function ffe(e){let t=new Set;for(let n of e){let[r=0,i=0]=n.split(`,`).map(Number);for(let n=-1;n<=1;n++)for(let a=-1;a<=1;a++){let o=`${String(r+a)},${String(i+n)}`;e.has(o)||t.add(o)}}return t}function eE(e,t,n){let r=[];for(let i=0;i<n;i++){let n=-1;for(let a=0;a<=t;a++){let t=e.has(`${String(a)},${String(i)}`);t&&n<0&&(n=a),!t&&n>=0&&(r.push([n,i,a-n]),n=-1)}}return r}function tE({runs:e,className:t}){return(0,R.jsx)(`g`,{className:t,children:e.map(([e,t,n])=>(0,R.jsx)(`rect`,{x:e,y:t,width:n,height:1},`${String(e)}-${String(t)}`))})}var pfe=(0,F.forwardRef)(function({value:e,text:t,pad:n,signed:r,size:i=`md`,tone:a=`current`,outline:o=!1,className:s,...c},l){if(t===void 0&&e===void 0)throw TypeError(`PixelNumber needs a value or text`);let u=t===void 0?ufe(e??NaN,n,r):$T(t),d=+!!o,{lit:f,width:p}=dfe(u,d),m=5+d*2,h=mfe[i];return(0,R.jsxs)(`span`,{...c,ref:l,className:hC(`caps-pixel-number`,s),"data-size":i,"data-tone":a,"data-outline":o,children:[(0,R.jsxs)(`svg`,{"aria-hidden":`true`,focusable:`false`,viewBox:`0 0 ${String(p)} ${String(m)}`,width:p*h,height:m*h,children:[o?(0,R.jsx)(tE,{className:`caps-pixel-number-outline`,runs:eE(ffe(f),p,m)}):null,(0,R.jsx)(tE,{className:`caps-pixel-number-face`,runs:eE(f,p,m)})]}),(0,R.jsx)(`span`,{className:`sr-only`,children:u})]})}),mfe={sm:2,md:3,lg:4,xl:6},nE=Object.freeze({ease:`linear`,duration:0});function rE(e,t){let n=pde(e,t.duration);return n<=0?nE:e.steps>0?{ease:RT(e.steps),duration:n}:{ease:Zde({bounce:fde(e,t.bounce),duration:n}),duration:n}}function iE(e,t){let n=bC(e,t.duration);return{ease:e.steps>0?RT(e.steps):t.ease,duration:n}}var aE={dot:{y:-4,height:8,cy:0},pill:{y:-16,height:32,cy:0},bang:{y:-16,height:20,cy:12}};function hfe({className:e,glyph:t,motion:n}){let r=`caps-status-${(0,F.useId)().replaceAll(`:`,``)}`,i=(0,F.useRef)(null),a=(0,F.useRef)(null),o=(0,F.useRef)(null),s=(0,F.useRef)(null),c=(0,F.useRef)(null),l=(0,F.useRef)(null),u=(0,F.useRef)(aE[t]).current,d=(0,F.useRef)(t===`dot`?1:4).current,f=(0,F.useRef)(+(t===`bang`)).current,p=(0,F.useRef)(t),m=yC(s),{reduced:h}=m;return(0,F.useLayoutEffect)(()=>{if(!i.current||!a.current||!c.current||!l.current)return;let e=aE[t],n=h||p.current===t;p.current=t;let r=vC(i.current),o=n?{duration:0}:rE(r,{bounce:.3,duration:360}),s=IT(i.current,{y:e.y,height:e.height,...o}),u=IT(a.current,{cy:e.cy,...n?{duration:0}:{delay:bC(r,35),...rE(r,{bounce:.3,duration:420})}}),d=IT(c.current,{gradientTransform:`matrix(1 0 0 ${t===`dot`?`1`:`4`} 0 0)`,...o}),f=IT(l.current,{opacity:+(t===`bang`),...n?nE:iE(r,{ease:`inOutSine`,duration:220})});return()=>{s.cancel(),u.cancel(),d.cancel(),f.cancel()}},[t,h]),(0,F.useLayoutEffect)(()=>{if(!o.current||!s.current||h||n===`none`)return;let e=n===`pulse`?IT(o.current,{opacity:[1,.45],...iE(m,{ease:`inOutSine`,duration:750}),alternate:!0,loop:!0}):IT(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}},...iE(m,{ease:`inOutSine`,duration:1e3}),loop:!0}),t=WT(s.current,t=>{t?e.resume():e.pause()});return()=>{t(),e.revert()}},[n,h,m]),(0,R.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,R.jsxs)(`defs`,{children:[(0,R.jsx)(UT,{id:r,values:HT}),(0,R.jsx)(zT,{ref:c,id:`${r}-surface`,transform:`matrix(1 0 0 ${String(d)} 0 0)`}),(0,R.jsxs)(`radialGradient`,{id:`${r}-drop-light`,gradientUnits:`userSpaceOnUse`,cx:`-1.2`,cy:`10.4`,r:`5.6`,children:[(0,R.jsx)(`stop`,{offset:`0`,stopColor:`var(--color-white)`,style:{stopOpacity:`calc(var(--depth) * 0.5)`}}),(0,R.jsx)(`stop`,{offset:`1`,stopColor:`var(--color-white)`,stopOpacity:`0`})]}),(0,R.jsx)(BT,{id:`${r}-shadow`}),(0,R.jsx)(`mask`,{id:`${r}-silhouette`,maskUnits:`userSpaceOnUse`,x:`-12`,y:`-24`,width:`24`,height:`48`,style:{maskType:`alpha`},children:(0,R.jsxs)(`g`,{fill:`var(--color-white)`,filter:`url(#${r})`,children:[(0,R.jsx)(`rect`,{ref:i,x:`-4`,y:u.y,width:`8`,height:u.height,rx:`4`}),(0,R.jsx)(`circle`,{ref:a,cx:`0`,cy:u.cy,r:`4`})]})})]}),(0,R.jsx)(`g`,{ref:o,filter:`url(#${r}-shadow)`,children:(0,R.jsxs)(`g`,{mask:`url(#${r}-silhouette)`,children:[(0,R.jsx)(`rect`,{x:`-12`,y:`-24`,width:`24`,height:`48`,fill:`url(#${r}-surface)`}),(0,R.jsx)(`rect`,{ref:l,x:`-12`,y:`-24`,width:`24`,height:`48`,fill:`url(#${r}-drop-light)`,opacity:f})]})})]})}var gfe=.28;function oE(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?gfe: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 sE=7.25;function _fe({className:e,glyph:t,progress:n}){let r=`caps-status-mark-${(0,F.useId)().replaceAll(`:`,``)}`,i=(0,F.useRef)(null),a=(0,F.useRef)(null),o=(0,F.useRef)(null),s=(0,F.useRef)(null),c=(0,F.useRef)(null),l=(0,F.useRef)(null),u=(0,F.useRef)(null),d=(0,F.useRef)(null),f=(0,F.useRef)(oE(t,n)).current,p=(0,F.useRef)(t),m=wC();(0,F.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=oE(t,n),y=p.current;p.current=t;let b=vC(e),x=m||y===t&&t!==`arc`,S=x?m?{ease:b.ease,duration:b.fast}:nE:iE(b,{ease:`outQuad`,duration:160}),C=(t===`check`||t===`cross`)&&!x,w=iE(b,{ease:`inOutSine`,duration:220}),T=[IT(r,{opacity:v.dashes,...S}),IT(c,{opacity:v.track*.28,...S}),IT(f,{opacity:v.arc,"stroke-dasharray":`${String(v.sweep)} 1`,...x?m?nE:S:w}),IT(h,{r:v.disc*sE,...C?{delay:w.duration*.7,...rE(b,{bounce:.35,duration:360})}:m?nE:iE(b,{ease:`inCubic`,duration:140})}),IT(g,{"stroke-dashoffset":1-v.tick,...C&&v.tick>0?{delay:w.duration*.7+b.fast,...iE(b,{ease:`outCubic`,duration:240})}:nE}),IT(_,{"stroke-dashoffset":1-v.cross,...C&&v.cross>0?{delay:w.duration*.7+b.fast,...iE(b,{ease:`outCubic`,duration:240})}:nE})];return t===`cross`&&C&&b.shake>0&&T.push(IT(e,{translateX:[0,-b.shake,b.shake,-b.shake/2,0],delay:w.duration+b.fast,...iE(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,F.useLayoutEffect)(()=>{if(!h||!c.current||!i.current)return;let e=vC(i.current),t=IT(c.current,{rotate:[0,360],...iE(e,{ease:`linear`,duration:900}),loop:!0}),n=WT(i.current,e=>{e?t.resume():t.pause()});return()=>{n(),t.revert()}},[h]),(0,R.jsxs)(`svg`,{ref:i,"aria-hidden":`true`,className:`caps-status-mark ${e??``}`,viewBox:`0 0 16 16`,focusable:`false`,children:[(0,R.jsxs)(`defs`,{children:[(0,R.jsx)(zT,{id:`${r}-surface`,transform:`matrix(1.6 0 0 1.6 8 8)`}),(0,R.jsxs)(`mask`,{id:`${r}-knock`,maskUnits:`userSpaceOnUse`,x:`0`,y:`0`,width:`16`,height:`16`,children:[(0,R.jsx)(`rect`,{width:`16`,height:`16`,fill:`var(--color-white)`}),(0,R.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,R.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,R.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,R.jsx)(`circle`,{ref:o,cx:`8`,cy:`8`,r:`6.25`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,opacity:f.track*.28}),(0,R.jsx)(`g`,{ref:c,className:`caps-status-mark-spin`,children:(0,R.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,R.jsx)(`circle`,{ref:l,cx:`8`,cy:`8`,r:f.disc*sE,fill:`url(#${r}-surface)`,mask:`url(#${r}-knock)`})]})}var vfe=new Set([`ring`,`arc`,`check`,`cross`]);function yfe(e){return vfe.has(e)}var cE={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`},lE=(0,F.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,R.jsxs)(`span`,{...c,className:hC(`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:[yfe(n)?(0,R.jsx)(_fe,{className:cE[i],glyph:n,progress:s}):(0,R.jsx)(hfe,{className:cE[i],glyph:n,motion:r}),t===void 0?null:(0,R.jsx)(`span`,{children:t})]})});function uE({icon:e,caption:t}){return(0,R.jsxs)(`span`,{className:`caps-icon-choice-mark`,"aria-hidden":`true`,children:[(0,R.jsx)(`span`,{className:`caps-icon-choice-art`,children:e}),t?(0,R.jsx)(`span`,{className:`caps-icon-choice-caption`,children:t}):null,(0,R.jsx)(`span`,{className:`caps-icon-choice-lamp`})]})}var bfe=(0,F.forwardRef)(function({label:e,icon:t,caption:n,on:r,stateLabels:i=[`on`,`off`],className:a,...o},s){return(0,R.jsxs)(`span`,{...o,className:hC(`caps-icon-lamp`,a),"data-on":r,ref:s,children:[(0,R.jsx)(uE,{icon:t,caption:n}),(0,R.jsxs)(`span`,{className:`sr-only`,children:[e,`: `,r?i[0]:i[1]]})]})}),xfe=(0,F.forwardRef)(function({items:e,stateLabels:t,className:n,...r},i){return(0,R.jsx)(`ul`,{...r,className:hC(`caps-icon-lamps`,n),ref:i,children:e.map(({id:e,...n})=>(0,R.jsx)(`li`,{children:(0,R.jsx)(bfe,{...n,...t===void 0?{}:{stateLabels:t}})},e))})}),Sfe=(0,F.forwardRef)(function({className:e,size:t=`md`,depth:n=`shallow`,placement:r=`standalone`,...i},a){return(0,R.jsx)(`div`,{...i,ref:a,"data-surface-size":t,"data-surface-depth":n,"data-surface-placement":r,className:hC(`caps-surface`,e)})}),Cfe=(0,F.forwardRef)(function({className:e,...t},n){return(0,R.jsx)(`div`,{...t,ref:n,className:hC(`caps-screen`,e)})}),dE=(0,F.forwardRef)(function({children:e,className:t,depth:n=`deep`,fit:r=`content`,density:i=`normal`,...a},o){let s=r===`fill`;return(0,R.jsx)(Sfe,{...a,className:hC(t,s&&`flex min-h-0 flex-1`),depth:n,ref:o,children:(0,R.jsx)(`div`,{className:hC(`caps-display-gasket`,s&&`flex min-h-0 min-w-0 flex-1`),"data-display-density":i,children:(0,R.jsx)(Cfe,{className:hC(s&&`flex min-h-0 min-w-0 flex-1 overflow-hidden`),children:e})})})}),wfe=(0,F.forwardRef)(function({className:e,icon:t,status:n,title:r,...i},a){return(0,R.jsxs)(`header`,{...i,className:hC(`caps-screen-header`,e),ref:a,children:[t?(0,R.jsx)(`span`,{className:`caps-screen-header-icon`,"aria-hidden":`true`,children:t}):null,(0,R.jsx)(`span`,{className:`caps-screen-header-title`,children:r}),n?(0,R.jsx)(`span`,{className:`caps-screen-header-status`,children:n}):null]})}),Tfe=(0,F.forwardRef)(function({appearance:e,className:t,...n},r){return(0,R.jsx)(`div`,{...n,className:hC(`caps-screen-cells`,t),"data-appearance":e===`compact`?e:void 0,ref:r})}),fE=(0,F.forwardRef)(function({children:e,className:t,legend:n,readout:r,icon:i,appearance:a,wide:o=!1,...s},c){return(0,R.jsxs)(`div`,{...s,className:hC(`caps-screen-cell`,t),"data-wide":o||void 0,"data-appearance":a===`compact`?a:void 0,ref:c,children:[i?(0,R.jsx)(`span`,{className:`caps-screen-cell-icon`,children:i}):null,n?(0,R.jsx)(`span`,{className:`caps-screen-cell-legend`,children:n}):null,r?(0,R.jsx)(`span`,{className:`caps-screen-cell-readout`,children:r}):null,a===`compact`?(0,R.jsx)(`div`,{className:`caps-screen-cell-controls`,children:e}):e]})}),pE={coral:`var(--stipe-art-coral, #ff6558)`,blue:`var(--stipe-art-blue, #43a6f2)`,mint:`var(--stipe-art-mint, #63cfaa)`,grape:`var(--stipe-art-grape, #a66cc1)`,yellow:`var(--stipe-art-yellow, #ffd05d)`,cream:`var(--stipe-art-cream, #fff4de)`,ink:`var(--stipe-art-ink, #242c28)`,graphite:`var(--stipe-art-graphite, #49423f)`,inkcap:`var(--stipe-art-inkcap, #80499d)`},mE=`light-dark(var(--stipe-sketch-ink, #242c28), var(--stipe-art-cream, #fff4de))`,Efe=`var(--color-base-100, light-dark(#fff4de, #242c28))`;function hE({transform:e,fill:t=mE}){return(0,R.jsx)(`path`,{transform:e,style:{fill:t},d:`M-1.264-9.479C-2.098-8.643-1.802-1.057-.907-.332.47.782 1.6-.446 1.618-3.075 1.623-3.888 1.691-5.398 1.77-6.429 1.979-9.202 1.596-10 .055-10-.588-10-.843-9.9-1.264-9.479Z`})}function Dfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(hE,{transform:`translate(25.4 19.8) rotate(-39) scale(.95 .76)`}),(0,R.jsx)(hE,{transform:`translate(32.1 17.8) scale(.96 .95)`}),(0,R.jsx)(hE,{transform:`translate(38.8 19.9) rotate(39) scale(.95 .77)`})]})}function Ofe(){return(0,R.jsxs)(`g`,{style:{fill:pE.blue},children:[(0,R.jsx)(`path`,{d:`M10.574 .604C9.804 1.375 9.867-.885 9.961 22.81 10.054 47.202 9.722 45.378 14.193 45.94 25.813 47.399 38.465 52.211 44.662 57.532 47.653 60.097 48.082 59.411 47.967 52.242L47.734 19.335C47.734 17.523 47.13 16.616 45.964 15.076 40.604 8.018 30.127 2.767 16.804 .462 13.045-.184 11.326-.148 10.574 .604Z`}),(0,R.jsx)(`path`,{d:`M81.571 .746C71.063 2.665 62.221 6.713 56.562 12.199 54.242 14.45 52 17.356 52.115 19.335L52.033 52.628C51.927 59.934 51.979 59.994 55.74 57.091 62.423 51.931 71.272 48.541 84.103 46.221 90.625 45.039 89.967 47.631 90.145 22.432 90.326-3.079 91.148-1 81.571 .746Z`}),(0,R.jsx)(`path`,{d:`M1.906 12.692C.1 13.42 .151 12.804 .151 33.825 .151 54.097 .163 54.302 1.447 55.498 2.71 56.674 3.384 56.81 7.937 56.816 20.943 56.834 30.647 58.293 38.776 61.45 45.964 64.242 46.435 61.924 39.526 57.773 32.296 53.429 26.656 51.544 14.943 49.553 5.958 48.027 6.535 49.414 6.408 29.003 6.32 14.74 6.263 13.103 5.816 12.764 5.254 12.335 2.9 12.293 1.906 12.692Z`}),(0,R.jsx)(`path`,{d:`M94.326 12.858C93.656 13.326 93.656 13.326 93.653 28.492 93.653 48.882 93.997 48.063 84.743 49.556 73.574 51.36 64.45 54.695 57.801 59.405 54.082 62.039 55.384 63.864 59.722 62.1 68.897 58.372 76.363 57.115 90.03 56.994 100.405 56.903 99.489 58.976 99.773 34.976 100.018 14.142 100.006 13.958 98.399 12.979 97.236 12.269 95.251 12.208 94.326 12.858Z`})]})}function gE(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M-8.572-25.123C-21.412-23.39-33.235-17.39-44.235-7.027-51.235-.433-51.251 .358-44.524 6.749-20.77 29.316 10.23 31.893 36.364 13.487 41.043 10.187 48.193 3.551 49.235 1.524 50.358-.642 49.471-2.102 43.738-7.497 29.257-21.128 9.968-27.631-8.572-25.123Z`}),(0,R.jsx)(`path`,{style:{fill:pE.ink},d:`M-6.225-16.807C-17.727-13.267-21.176 4.433-12.08 13.257-1.118 23.898 16.829 16.102 17.032 .604 17.209-12.412 6.219-20.642-6.225-16.807Z`})]})}function kfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{style:{fill:pE.mint},d:`M540 342C520 340 497 355 477 374C450 399 440 421 456 444C465 458 480 462 492 464C503 466 500 477 494 486C487 500 508 496 522 478L530 468C557 468 578 464 591 451C601 442 599 429 585 427C572 425 556 432 547 418C538 403 550 390 568 385C579 382 589 380 584 368C576 352 557 341 540 342Z`}),(0,R.jsx)(`path`,{style:{fill:pE.coral},d:`M589 396C614 380 659 381 683 392C709 404 721 428 710 451C704 464 693 472 685 479C680 487 684 498 689 503C695 514 684 513 675 507C667 502 662 497 657 491C637 496 610 495 594 486C584 480 583 469 595 464C607 460 622 454 622 441C622 428 612 423 597 420C580 417 578 407 589 396Z`})]})}function _E({fill:e}){return(0,R.jsx)(`path`,{style:{fill:e},d:`M44.648 .288C26.645 1.615 13.263 8.266 5.942 19.529-4.299 35.277-.917 57.684 13.224 67.784 16.958 70.452 16.936 71.742 13.064 77.665 11.28 80.391 10.895 81.565 11.341 82.914 13.163 88.435 25.022 86.396 36.307 78.62L38.681 76.986 41.294 77.335C45.371 77.878 59.645 77.789 64.125 77.191 89.213 73.837 100.562 61.427 99.92 38.044 99.18 11.1 79.587-2.285 44.648 .288Z`})}function vE({onFigure:e=!1}){return(0,R.jsxs)(`g`,{style:{fill:e?Efe:pE.ink},children:[(0,R.jsx)(`rect`,{x:`-15`,y:`-11`,width:`10`,height:`22`,rx:`5`}),(0,R.jsx)(`rect`,{x:`5`,y:`-11`,width:`10`,height:`22`,rx:`5`})]})}function Afe(){return(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M18.125 .621C.039 1.574-2.575 4.791 2.264 20.133 17.454 68.284 77.345 69.396 96.119 21.875 100.749 10.154 100.318 4.348 94.605 1.513 91.981 .21 37.878-.421 18.125 .621Z`})}function jfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{style:{fill:pE.yellow},d:`M31.42 5.279C29.108 5.983 28.068 6.993 25.817 10.732 24.033 13.687 24.027 13.762 25.58 14.265 30.375 15.821 36.711 20.506 39.938 24.885 42.077 27.788 41.835 27.806 45.281 24.463 48.633 21.213 49.164 20.185 48.982 17.325 48.812 14.643 48.174 13.872 42.68 9.741 36.737 5.273 34.439 4.361 31.42 5.279Z`}),(0,R.jsx)(`path`,{style:{fill:pE.yellow},d:`M22.538 16.207C22.093 16.652 19.732 20.231 13.309 30.196 10.737 34.188 10.723 33.911 13.589 35.351 16.461 36.798 19.778 39.28 21.825 41.523L22.6 42.37Q23.34 43.186 24.05 42.538L24.711 41.933C31.278 35.937 38.928 28.484 38.928 28.083 38.928 24.656 24.521 14.219 22.538 16.207Z`}),(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M8.89 38.053C8.203 39.566 6.598 44.473 6.598 45.056 6.598 45.137 6.887 45.125 7.236 45.036 9.655 44.404 13.526 47.475 13.526 50.027 13.526 51.132 13.361 51.164 16.187 49.49 21.421 46.387 21.966 45.665 20.575 43.659 19.002 41.387 14.975 38.238 11.909 36.881 9.799 35.949 9.854 35.926 8.89 38.053Z`}),(0,R.jsx)(`path`,{style:{fill:pE.graphite},d:`M6.598 45.056C5.732 46.866 5.155 49.464 6.309 50.907 8.041 53.505 10.928 52.639 13.526 50.907 13.526 48.021 9.978 44.404 7.236 45.036Z`})]})}function Mfe(){return(0,R.jsx)(`path`,{style:{fill:pE.coral},d:`M40.804 40.625C38.238 41.462 37.291 41.953 31.169 45.625 15.743 54.871 8.047 56.158 5.879 49.856 5.501 48.754 5.501 48.754 4.843 50.913 1.673 61.302 12.377 61.671 30.386 51.796 39.649 46.719 41.142 46.647 40.81 51.291 40.565 54.775 41.168 56.135 43.486 57.31 49.556 60.387 62.035 54.816 59.605 50.116 58.502 47.983 56.1 47.882 52.163 49.799 47.082 52.273 45.983 51.652 47.998 47.449 50.89 41.416 47.686 38.376 40.804 40.625Z`})}function yE({transform:e}){return(0,R.jsx)(`path`,{style:{fill:pE.mint},transform:e,d:`M0 0C3 -2 5 -5 5 -8 5 -10.5 3 -12 0 -12S-5 -10.5 -5 -8C-5 -5 -3 -2 0 0Z`})}function Nfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{fillRule:`evenodd`,style:{fill:mE},d:`M25.3 17.69C14.8 19.34 10.66 20.18 9.05 20.99 5.51 22.78 4.2 27.21 6.71 28.9 7.47 29.42 8.48 29.4 10.25 28.84 12.41 28.15 12.56 27.57 11.02 25.85 10 24.71 10.53 23.62 11.79 24.27 13.9 25.36 15.02 28.98 15.63 36.66 16.18 43.48 17.33 47.43 19.69 50.49 22.76 54.48 27.69 55.73 30.31 53.19 33 50.57 31.24 46.04 28.44 48.38 26.29 50.17 26.16 47.08 28.3 45.14 29.61 43.95 30.78 43.58 38.92 41.75 39.45 41.63 39.41 41.52 38.39 40.01 36.87 37.78 36.04 35.22 34.72 28.69 33.37 22 32.04 19.3 29.5 18.07 28.69 17.68 26.59 17.49 25.3 17.69M24.11 26.51C18.61 27.67 18.16 27.82 17.98 28.55 17.64 29.91 18.54 30.44 20.51 30.05 25.4 29.08 30.11 28.03 30.49 27.83 31.65 27.23 31 25.33 29.66 25.4 29.5 25.4 27 25.91 24.11 26.51M29.2 31.42C28.64 31.54 26.23 32.07 23.85 32.58 20.01 33.41 19.48 33.57 19.15 33.96 18.67 34.5 18.66 35.05 19.12 35.63 19.61 36.26 19.86 36.23 26.05 34.88 29.05 34.23 31.53 33.7 31.57 33.7 31.82 33.7 32.34 32.88 32.34 32.5 32.34 31.25 31.37 30.92 29.2 31.42M29.79 37.19C28.81 37.41 26.45 37.94 24.53 38.37 22.62 38.8 20.84 39.23 20.58 39.33 19.61 39.71 19.35 40.62 19.98 41.41 20.48 42.05 21 41.99 27.59 40.5 33.85 39.09 34.21 38.91 33.45 37.44 33.02 36.61 32.51 36.58 29.79 37.19M45.41 41.95C44.89 42.09 41.61 42.89 38.12 43.73 30.94 45.45 29.81 45.84 31.05 46.15 33.2 46.69 34.11 50.18 32.77 52.76 32.23 53.79 32.23 54.03 32.76 54.16 33.34 54.31 45.35 51.3 46.72 50.67 50.19 49.06 51.76 45.01 49.79 42.76 48.8 41.64 47.46 41.39 45.41 41.95`}),(0,R.jsx)(`path`,{style:{fill:pE.grape},d:`M48.21 10.15C47.92 10.41 47.5 11.27 46.96 12.74 45.52 16.61 45.24 16.99 43.01 18.15 39.18 20.15 39.05 20.99 42.28 22.73 45.37 24.39 45.68 24.79 47.12 28.95 48.3 32.32 49.28 32.2 50.65 28.52 52.23 24.25 52.26 24.22 55.2 22.56 57.53 21.24 57.79 21 57.79 20.16 57.79 19.49 57.55 19.31 55.01 18.06 52.16 16.66 52.2 16.72 50.31 11.56 49.7 9.89 49.03 9.44 48.21 10.15M32.59 13.92C31.78 14.73 32.28 15.89 33.58 16.22 35.07 16.6 36.19 17.1 37.17 17.84 38.42 18.77 39.23 18.86 39.79 18.15 39.99 17.9 40.15 17.53 40.15 17.32 40.15 15.29 33.99 12.52 32.59 13.92M42.48 34.38C40.96 35.96 40.65 36.88 41.39 37.57 42.2 38.33 43.36 37.74 44.55 35.95 45.2 34.97 45.22 34.35 44.62 33.88 43.89 33.31 43.41 33.42 42.48 34.38`}),(0,R.jsx)(`path`,{style:{fill:pE.yellow},d:`M40.75 25.96C39.69 27.07 38.11 30.69 38.11 31.98 38.11 32.66 38.55 33.19 39.12 33.19 39.8 33.19 40.24 32.73 40.58 31.66 40.95 30.46 41.65 29.09 42.42 28.01 43.77 26.14 42.29 24.32 40.75 25.96M54.85 27.67C54.71 27.81 54.47 28.32 54.31 28.82 53.67 30.76 53.19 31.37 51.67 32.13 50.25 32.85 50.34 33.36 52.04 34.21 53.25 34.82 53.57 35.23 54.24 37.01 54.98 38.98 55.47 39.08 56.03 37.37 56.7 35.32 57.08 34.81 58.64 33.87 60.18 32.95 60.14 32.65 58.38 31.78 57.02 31.11 56.68 30.66 56.02 28.65 55.69 27.64 55.25 27.27 54.85 27.67`})]})}function Pfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{fillRule:`evenodd`,style:{fill:mE},d:`M42.24 14.07C41.52 14.24 40.53 14.54 35.06 16.26 33.33 16.8 31.2 17.47 30.34 17.74 29.47 18.01 27.86 18.52 26.75 18.88 25.64 19.23 24.03 19.74 23.16 20.01 20.16 20.94 19.45 21.4 18.97 22.71 18.71 23.44 18.45 26.33 17.83 35.41 17.64 38.25 17.44 41.03 17.41 41.58 17.32 42.77 17.24 42.69 18.79 42.84L20.01 42.95 21.98 39.97C24.69 35.88 24.85 35.82 27.05 37.9 27.9 38.7 28.43 39.08 28.61 39.02 28.76 38.96 28.91 38.91 28.94 38.91 28.98 38.91 29.38 38.38 29.84 37.73 30.3 37.08 31.47 35.48 32.43 34.17 33.4 32.86 34.86 30.85 35.67 29.71 36.49 28.56 37.5 27.29 37.91 26.88 39.73 25.07 41.01 26.43 43.32 32.67 43.76 33.84 44.3 35.28 44.52 35.86 44.74 36.44 44.97 37.28 45.04 37.74 45.19 38.71 45.17 38.71 46.63 38.03 47.69 37.53 47.77 37.46 47.68 37.02 47.58 36.52 46.97 30.64 46.79 28.41 46.73 27.69 46.62 26.43 46.53 25.61 46.44 24.79 46.24 22.87 46.09 21.32 45.61 16.44 45.5 15.66 45.22 15.12 44.72 14.15 43.59 13.76 42.24 14.07M29.38 22.45C26.04 23.47 24.49 27.62 26.6 29.91 29.17 32.7 34.15 30.16 34.16 26.05 34.16 23.38 31.9 21.68 29.38 22.45M46.7 41.5C39.3 44.23 28.33 46.04 20.1 45.88L17.21 45.82 17.16 46.88C17.08 48.22 17.33 49.03 18.01 49.68 18.73 50.37 19.73 50.35 23.77 49.53 25.46 49.19 29.12 48.47 31.91 47.93 46.31 45.14 46.9 44.99 47.57 43.91 47.95 43.3 48.25 41.29 47.99 41.15 47.91 41.11 47.33 41.26 46.7 41.5`}),(0,R.jsx)(`path`,{style:{fill:pE.coral},d:`M29.72 22.45C25.84 23.34 24.28 28.36 27.25 30.42 29.34 31.88 32.91 30.43 33.83 27.75 34.92 24.55 32.75 21.76 29.72 22.45`}),(0,R.jsx)(`path`,{style:{fill:pE.mint},d:`M12.96 14.29C12.87 14.41 12.7 15.03 12.58 15.68 12.37 16.82 11.59 18.26 11.18 18.26 11.08 18.26 10.88 18.46 10.72 18.7 10.36 19.25 10.59 19.58 11.45 19.74 12.18 19.88 13.08 20.63 13.54 21.49 14.23 22.76 14.75 22.53 15.15 20.79 15.39 19.71 15.51 19.51 16.4 18.66 17.54 17.58 17.51 17.36 16.18 16.85 15.16 16.47 14.84 16.19 14.14 15.1 13.56 14.2 13.22 13.96 12.96 14.29M49.04 24.13C48.56 24.86 48.91 25.31 50.59 26.09 53.89 27.64 54.85 29.82 53.45 32.6 52.01 35.43 46.84 38.54 40.51 40.39 39.73 40.62 38.88 40.89 38.62 40.99 37.24 41.52 30.85 42.64 27.54 42.93 20.72 43.52 13.63 42.49 10.57 40.46 5.81 37.3 7.51 32.32 14.74 28.24 15.84 27.61 16.17 27.1 15.9 26.4 15.66 25.78 15.35 25.84 13.19 26.94 6 30.61 2.97 35.32 4.95 39.74 7.86 46.21 22.78 47.8 40.05 43.46 51.97 40.47 58.57 36.38 59.47 31.43 60.09 27.97 57.74 25.34 52.93 24.12 50.6 23.53 49.43 23.54 49.04 24.13`}),(0,R.jsx)(`path`,{style:{fill:pE.grape},d:`M34.82 8.91C33.48 10.04 34.21 12.14 35.94 12.14 37.29 12.14 38.18 10.99 37.77 9.77 37.36 8.53 35.81 8.08 34.82 8.91M53.15 43.16C53 43.28 52.74 43.86 52.57 44.45 52.18 45.78 51.76 46.32 50.64 46.93 49.52 47.53 49.45 47.89 50.33 48.34 51.34 48.85 52.24 49.95 52.56 51.04 53.13 53.01 53.6 53 54.21 50.99 54.61 49.69 55.13 48.93 55.91 48.54 57.17 47.91 57.23 47.51 56.15 46.96 55.23 46.49 54.67 45.76 54.23 44.44 53.8 43.15 53.54 42.84 53.15 43.16M24.18 53.18C22.45 53.9 22.87 56.59 24.71 56.59 26.79 56.59 27.2 53.67 25.2 53.09 24.89 53.01 24.51 53.04 24.18 53.18`}),(0,R.jsx)(`path`,{style:{fill:pE.yellow},d:`M51.76 11.04C51.21 12.77 50.56 13.61 49.24 14.34 48.6 14.69 48.72 15.07 49.59 15.48 50.54 15.93 51.11 16.69 51.62 18.22 52.06 19.57 52.26 19.54 52.79 18.08 53.29 16.69 53.87 15.91 54.86 15.31 55.76 14.77 55.77 14.48 54.92 14.02 53.91 13.46 53.5 12.99 52.89 11.66 52.23 10.21 52.06 10.12 51.76 11.04M11.06 48.22C10.99 48.35 10.71 48.88 10.46 49.41 9.95 50.48 9.45 50.99 8.59 51.33 7.89 51.61 7.85 52.1 8.52 52.37 9.51 52.79 10.3 53.85 10.89 55.58 11.09 56.18 11.48 55.88 11.87 54.84 12.24 53.87 13.33 52.56 13.79 52.56 14 52.56 14.5 52.06 14.5 51.85 14.5 51.77 14.19 51.54 13.81 51.34 12.98 50.92 12.36 50.14 11.93 48.99 11.6 48.09 11.31 47.83 11.06 48.22`})]})}function Ffe(){return(0,R.jsxs)(`g`,{transform:`translate(2 8) scale(.114) translate(-125 -122)`,children:[(0,R.jsx)(`path`,{style:{fill:pE.coral},d:`M278 155 482 123C517 117 527 135 530 167L542 309Q543 329 561 341L631 404Q649 419 646 444 645 465 623 472L407 521Q374 531 345 519L156 436Q115 418 128 375L221 191Q238 163 278 155Z`}),(0,R.jsx)(`path`,{style:{fill:pE.ink},d:`M317 183 461 161Q493 155 497 188L504 288Q508 320 478 326L318 356Q289 362 286 331L281 226Q278 194 317 183Z`}),(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M304 386 553 340Q562 337 570 346L631 404Q649 419 646 444Q645 448 629 452L411 483Q382 492 367 474Z`}),(0,R.jsxs)(`g`,{style:{fill:pE.cream},children:[(0,R.jsx)(`rect`,{x:`319`,y:`236`,width:`26`,height:`59`,rx:`13`}),(0,R.jsx)(`rect`,{x:`364`,y:`229`,width:`26`,height:`59`,rx:`13`})]}),(0,R.jsxs)(`g`,{style:{fill:pE.ink},transform:`rotate(-11 470 411)`,children:[(0,R.jsx)(`rect`,{x:`369`,y:`380`,width:`61`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`444`,y:`380`,width:`61`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`518`,y:`380`,width:`57`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`392`,y:`421`,width:`58`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`462`,y:`421`,width:`65`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`539`,y:`421`,width:`58`,height:`25`,rx:`13`})]})]})}function Ife(){return(0,R.jsxs)(`g`,{transform:`translate(3 10) scale(.114) translate(-760 -140)`,children:[(0,R.jsx)(`path`,{style:{fill:pE.blue},d:`M1226 153C1257 153 1273 195 1267 231Q1263 265 1237 268L1176 270V215C1176 178 1195 153 1226 153Z`}),(0,R.jsx)(`path`,{style:{fill:pE.blue},d:`M824 376Q908 372 871 400C842 427 866 442 902 450L1113 480Q1188 479 1199 392C1207 447 1204 497 1163 511Q1134 521 1097 516C1055 510 991 507 957 507S869 511 826 512C781 513 758 483 760 441Q760 385 824 376Z`}),(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M824 376 857 184Q864 133 911 141C1039 169 1124 151 1226 153Q1179 159 1184 241L1199 377C1202 434 1174 482 1117 480L902 450C864 445 849 429 871 400Q908 372 824 376Z`}),(0,R.jsxs)(`g`,{style:{fill:pE.coral},children:[(0,R.jsx)(`path`,{d:`M982 198C1008 190 1030 197 1028 220L1023 265Q1020 295 1000 279C981 261 951 223 963 210Q970 202 982 198Z`}),(0,R.jsx)(`path`,{d:`M1063 220C1077 215 1100 237 1102 251Q1107 267 1084 282L1063 295Q1037 307 1040 278L1045 245Q1049 224 1063 220Z`}),(0,R.jsx)(`path`,{d:`M911 252C925 240 939 254 957 269L978 291Q995 311 961 316C938 318 907 316 898 308Q884 296 911 252Z`}),(0,R.jsx)(`path`,{d:`M1106 289Q1127 281 1134 304C1142 327 1146 352 1125 350Q1097 348 1073 335C1051 324 1072 311 1084 302Z`}),(0,R.jsx)(`path`,{d:`M927 338C946 334 972 334 985 343Q1004 353 984 384C970 408 957 418 940 403C922 389 896 356 913 345Z`}),(0,R.jsx)(`path`,{d:`M1010 375Q1025 363 1037 384C1049 407 1064 438 1044 442Q1025 448 1002 436C984 428 991 410 997 393Z`}),(0,R.jsx)(`path`,{d:`M1068 357C1084 359 1110 376 1120 389Q1130 402 1107 419C1090 432 1082 418 1073 401C1062 383 1043 355 1068 357Z`}),(0,R.jsx)(`path`,{d:`M1018 311C1037 312 1050 334 1034 343C1018 351 998 337 1005 320Q1009 311 1018 311Z`})]})]})}function Lfe(){return(0,R.jsxs)(`g`,{transform:`translate(2 7) scale(.11) translate(-1380 -96)`,children:[(0,R.jsx)(`path`,{style:{fill:pE.inkcap},d:`M1384 276C1394 238 1445 200 1497 158C1547 119 1604 97 1647 97C1690 97 1720 109 1745 138C1772 170 1791 184 1833 194C1870 201 1919 220 1922 257C1923 307 1891 339 1853 336C1801 335 1767 299 1701 294C1666 291 1620 294 1642 303Q1670 307 1675 333C1681 367 1697 389 1717 413C1735 434 1738 443 1719 464C1700 485 1692 502 1686 520Q1682 541 1653 541L1626 541Q1598 541 1594 519C1590 495 1578 474 1563 458C1545 440 1544 429 1559 410C1585 377 1608 337 1572 326C1554 320 1529 333 1506 340C1461 356 1428 357 1402 340Q1371 319 1384 276Z`}),(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M1634 362Q1641 346 1649 362C1660 390 1676 404 1705 424Q1721 435 1704 453C1685 475 1677 490 1671 513Q1670 526 1653 525L1626 525Q1611 525 1610 513C1606 492 1592 465 1575 449Q1562 437 1577 424C1604 404 1620 390 1634 362Z`}),(0,R.jsx)(`path`,{style:{fill:pE.inkcap},d:`M1634 456A18 18 0 1 1 1648 456V492Q1648 500 1641 500T1634 492Z`}),(0,R.jsx)(`path`,{style:{fill:pE.inkcap},d:`M1780 391Q1786 386 1793 396C1810 420 1828 444 1827 467C1826 508 1768 510 1753 480C1741 456 1762 413 1780 391Z`})]})}var{coral:bE,blue:xE,mint:SE,grape:CE,yellow:wE,cream:TE,ink:EE}=pE,Rfe={bonsai:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:`none`,stroke:SE,strokeWidth:`3.7`,strokeLinecap:`round`,d:`M35 27.5C36 25 35.5 22.5 34 21S31.5 17.5 31.5 14M36 27C40 26.8 43 26 45 24S47 20.5 47.5 18.5M30.5 31C32.5 26.5 30.5 24.6 26.5 24 22 23.5 18.5 21.6 16.8 18.5M29 37C26.5 34.5 25 33.7 21.5 33.2S15.5 32 13 31.6M36 39.5C38 38 40 37.5 42 36.5S47 34 51 32.2`}),(0,R.jsx)(`path`,{fill:SE,d:`M25.5 43.5C28 40.5 28 37 27.5 33 27.3 29.5 29.5 27 33.5 26.3L37.5 26V29.5C35 29.8 34.2 31.5 34.3 34 34.5 37.5 37 39.5 41 43.5Z`}),(0,R.jsx)(`circle`,{fill:xE,cx:`31.5`,cy:`10.7`,r:`4.8`}),(0,R.jsx)(`circle`,{fill:CE,cx:`16.6`,cy:`18.3`,r:`4.6`}),(0,R.jsx)(`circle`,{fill:wE,cx:`47.9`,cy:`17.7`,r:`4.6`}),(0,R.jsx)(`circle`,{fill:wE,cx:`12.8`,cy:`31.5`,r:`4.6`}),(0,R.jsx)(`circle`,{fill:xE,cx:`50.9`,cy:`32.1`,r:`4.6`}),(0,R.jsx)(`path`,{fill:bE,d:`M16 46H47.5C47.5 54 44 58 38 58H25.5C19.5 58 16 54 16 46Z`}),(0,R.jsx)(`rect`,{fill:bE,x:`14`,y:`43`,width:`35.5`,height:`4.6`,rx:`2.3`})]}),computer:(0,R.jsx)(Ffe,{}),prints:(0,R.jsx)(Ife,{}),inkcap:(0,R.jsx)(Lfe,{}),vishnu:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{style:{fill:bE},d:`M6 37C6 21 17.5 9 32 9s26 12 26 28c0 2.2-1.8 4-4 4H10c-2.2 0-4-1.8-4-4Z`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`19`,cy:`25`,r:`4`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`33`,cy:`19.5`,r:`4.8`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`46`,cy:`28`,r:`3.4`}),(0,R.jsx)(`rect`,{style:{fill:xE},x:`13`,y:`39`,width:`38`,height:`18`,rx:`9`}),(0,R.jsx)(`rect`,{style:{fill:TE},x:`18.5`,y:`46.2`,width:`10`,height:`3.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{style:{fill:TE},x:`21.7`,y:`43`,width:`3.6`,height:`10`,rx:`1.8`}),(0,R.jsx)(`circle`,{style:{fill:wE},cx:`39`,cy:`50.5`,r:`2.7`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`45`,cy:`45.5`,r:`2.7`})]}),generateText:(0,R.jsx)(Nfe,{}),generateMedia:(0,R.jsx)(Pfe,{}),buyApps:(0,R.jsxs)(`g`,{transform:`rotate(-6 32 32)`,children:[(0,R.jsx)(`circle`,{fill:wE,cx:`32`,cy:`20`,r:`12`}),(0,R.jsx)(`circle`,{stroke:TE,strokeWidth:`4`,cx:`32`,cy:`20`,r:`6`}),(0,R.jsx)(hE,{fill:wE,transform:`translate(15.5 12) rotate(-60) scale(1.1 .85)`}),(0,R.jsx)(hE,{fill:wE,transform:`translate(48.5 12) rotate(60) scale(1.1 .85)`}),(0,R.jsx)(`path`,{fill:xE,d:`M10 35H54L50 53Q49 58 44 58H20Q15 58 14 53Z`}),(0,R.jsx)(`rect`,{fill:bE,x:`5`,y:`27`,width:`54`,height:`10`,rx:`5`}),(0,R.jsxs)(`g`,{fill:TE,children:[(0,R.jsx)(`rect`,{x:`20`,y:`41`,width:`5`,height:`11`,rx:`2.5`}),(0,R.jsx)(`rect`,{x:`29.5`,y:`41`,width:`5`,height:`11`,rx:`2.5`}),(0,R.jsx)(`rect`,{x:`39`,y:`41`,width:`5`,height:`11`,rx:`2.5`})]})]}),browseBazaar:(0,R.jsxs)(`g`,{transform:`rotate(-5 32 32)`,children:[(0,R.jsx)(`rect`,{fill:xE,x:`10`,y:`14`,width:`44`,height:`38`,rx:`6`}),(0,R.jsx)(`rect`,{fill:xE,x:`5`,y:`47`,width:`54`,height:`12`,rx:`6`}),(0,R.jsx)(`rect`,{fill:TE,x:`12`,y:`50.5`,width:`40`,height:`4.5`,rx:`2.25`}),(0,R.jsx)(`rect`,{fill:bE,x:`2`,y:`4`,width:`60`,height:`9`,rx:`4.5`}),(0,R.jsx)(`path`,{fill:bE,d:`M3 9H14.6V18A5.8 5.8 0 0 1 3 18Z`}),(0,R.jsx)(`path`,{fill:TE,d:`M14.6 9H26.2V18A5.8 5.8 0 0 1 14.6 18Z`}),(0,R.jsx)(`path`,{fill:bE,d:`M26.2 9H37.8V18A5.8 5.8 0 0 1 26.2 18Z`}),(0,R.jsx)(`path`,{fill:TE,d:`M37.8 9H49.4V18A5.8 5.8 0 0 1 37.8 18Z`}),(0,R.jsx)(`path`,{fill:bE,d:`M49.4 9H61V18A5.8 5.8 0 0 1 49.4 18Z`}),(0,R.jsx)(`g`,{transform:`translate(32 36.5) scale(.34)`,children:(0,R.jsx)(gE,{})})]}),agent:(0,R.jsxs)(`g`,{transform:`translate(32 33) scale(2.02) translate(-47.2 -41.8)`,children:[(0,R.jsx)(`path`,{fill:xE,d:`M46.666 29.533C39.623 30.116 34.627 34.849 34.603 40.96 34.585 45.387 36.412 47.971 40.602 49.445 42.036 49.95 42.076 50.049 41.491 51.666 40.968 53.111 41.167 53.761 42.201 53.988 43.463 54.265 46.679 52.293 47.929 50.475 48.134 50.178 48.268 50.13 49.332 49.977 56.938 48.882 60.956 43.889 59.582 37.237 58.622 32.59 53.42 29.07 48.034 29.424 47.904 29.432 47.289 29.482 46.666 29.533Z`}),(0,R.jsx)(`g`,{transform:`translate(47.3 40) scale(.36 .34)`,children:(0,R.jsx)(vE,{})})]}),list:(0,R.jsxs)(`g`,{transform:`rotate(-7 32 32)`,children:[(0,R.jsx)(`path`,{style:{fill:xE},d:`M12 13Q6 13 6 19V50Q6 57 13 57H47Q53 57 53 50V20Q53 13 47 13Z`}),(0,R.jsx)(`path`,{style:{fill:TE},d:`M19 7H39Q42 7 44 9L55 20Q57 22 57 26V44Q57 50 51 50H19Q13 50 13 44V13Q13 7 19 7Z`}),(0,R.jsx)(`path`,{style:{fill:bE},d:`M39 7V18Q39 24 45 24H57Q57 22 55 20L44 9Q42 7 39 7Z`}),(0,R.jsxs)(`g`,{style:{fill:bE},children:[(0,R.jsx)(`circle`,{cx:`22`,cy:`21`,r:`3`}),(0,R.jsx)(`circle`,{cx:`22`,cy:`31`,r:`3`}),(0,R.jsx)(`circle`,{cx:`22`,cy:`41`,r:`3`})]}),(0,R.jsx)(`path`,{style:{stroke:xE},strokeWidth:`5`,strokeLinecap:`round`,d:`M31 21H32M31 31H46M31 41H42`})]}),chat:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`g`,{transform:`translate(3 11) scale(.22) translate(-449 -327)`,children:(0,R.jsx)(kfe,{})}),(0,R.jsx)(hE,{transform:`translate(38.2 18) rotate(16) scale(.95 .6)`}),(0,R.jsx)(hE,{transform:`translate(44.4 20.5) rotate(47) scale(.95 .6)`})]}),read:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`g`,{transform:`translate(4 20.5) scale(.56)`,children:(0,R.jsx)(Ofe,{})}),(0,R.jsx)(`g`,{transform:`translate(32 38.6) scale(.3164)`,children:(0,R.jsx)(gE,{})}),(0,R.jsx)(Dfe,{})]}),readConversations:(0,R.jsxs)(`g`,{transform:`translate(32 32) scale(.9) translate(-32 -32)`,children:[(0,R.jsx)(`g`,{transform:`translate(4 7.88) scale(.56)`,children:(0,R.jsx)(_E,{fill:xE})}),(0,R.jsx)(`g`,{transform:`translate(32.2 30.3) scale(.352)`,children:(0,R.jsx)(gE,{})})]}),listAgents:(0,R.jsxs)(`g`,{transform:`translate(32 32) scale(1.04) translate(-32 -32)`,children:[(0,R.jsx)(`path`,{style:{fill:mE},d:`M32.059 10.146C23.878 10.646 18.949 14.844 18.925 21.331 18.912 24.856 20.167 27.259 22.274 27.74 24.437 28.233 26.097 29.061 27.481 30.337 28.275 31.068 28.328 31.096 29.352 31.306 31.161 31.677 31.653 32.094 32.115 33.651 32.392 34.582 32.557 34.868 32.915 35.041 33.919 35.523 35.864 33.733 36.539 31.706L36.775 30.997 38.008 30.681C42.663 29.489 45.29 26.142 45.468 21.176 45.734 13.784 40.673 9.62 32.059 10.146Z`}),(0,R.jsx)(`g`,{transform:`translate(32.4 21.2) scale(.39)`,children:(0,R.jsx)(vE,{onFigure:!0})}),(0,R.jsx)(`path`,{style:{fill:bE},d:`M14.375 27.586C8.014 28.591 4.363 32.396 4.355 38.027 4.347 43.93 8.071 47.469 15.239 48.368L16.828 48.568 17.873 49.568C19.854 51.464 22.469 52.496 23.691 51.864 24.384 51.506 24.431 51.044 23.924 49.606 23.337 47.943 23.479 47.492 24.749 46.977 32.756 43.73 32.643 31.899 24.573 28.49 22.238 27.504 17.535 27.087 14.375 27.586Z`}),(0,R.jsx)(`g`,{transform:`translate(17.6 37.7) scale(.38 .36)`,children:(0,R.jsx)(vE,{})}),(0,R.jsx)(`path`,{style:{fill:xE},d:`M46.666 29.533C39.623 30.116 34.627 34.849 34.603 40.96 34.585 45.387 36.412 47.971 40.602 49.445 42.036 49.95 42.076 50.049 41.491 51.666 40.968 53.111 41.167 53.761 42.201 53.988 43.463 54.265 46.679 52.293 47.929 50.475 48.134 50.178 48.268 50.13 49.332 49.977 56.938 48.882 60.956 43.889 59.582 37.237 58.622 32.59 53.42 29.07 48.034 29.424 47.904 29.432 47.289 29.482 46.666 29.533Z`}),(0,R.jsx)(`g`,{transform:`translate(47.3 40) scale(.36 .34)`,children:(0,R.jsx)(vE,{})})]}),createAgents:(0,R.jsxs)(`g`,{transform:`translate(32 32) scale(1.08) translate(-32 -32)`,children:[(0,R.jsx)(`path`,{style:{fill:mE},d:`M20.436 24.499C13.35 25.216 7.504 28.799 5.442 33.687 3.114 39.208 4.438 45.791 8.593 49.358 10.446 50.949 10.34 50.831 10.34 51.301 10.34 51.796 10.106 52.294 9.281 53.558 7.191 56.76 12.108 56.905 16.701 53.777 17.517 53.221 17.715 53.135 18.015 53.201 20.013 53.639 25.739 53.051 28.595 52.113 35.47 49.857 39.129 44.162 37.83 37.738C37 31 33 26 26.717 24.428L24.075 24.413C22.623 24.405 20.985 24.444 20.436 24.499Z`}),(0,R.jsx)(`g`,{transform:`translate(21.9 40) scale(.46 .43)`,children:(0,R.jsx)(vE,{onFigure:!0})}),(0,R.jsx)(`path`,{style:{fill:SE},d:`M37.987 15.734C32.277 16.627 28.675 20.713 28.92 26.022 29.062 29.118 30.627 31.606 33.331 33.036 34.675 33.747 34.761 34.018 34.237 35.923 33.376 39.051 36.878 38.551 39.174 35.218 39.574 34.637 39.65 34.583 40.058 34.583 46.203 34.583 50.414 30.91 50.424 25.543 50.435 18.989 44.932 14.649 37.987 15.734Z`}),(0,R.jsx)(`g`,{transform:`translate(38.9 24.9) scale(.31)`,children:(0,R.jsx)(vE,{})}),(0,R.jsx)(hE,{fill:wE,transform:`translate(48.1 15.7) rotate(31) scale(1.25 .85)`}),(0,R.jsx)(hE,{fill:wE,transform:`translate(52.2 19.8) rotate(70) scale(1.25 .85)`})]}),sendPrompts:(0,R.jsxs)(`g`,{transform:`translate(32 32) scale(1.08) translate(-32 -32)`,children:[(0,R.jsx)(`g`,{transform:`translate(4 13.2) scale(.412 .436)`,children:(0,R.jsx)(_E,{fill:bE})}),(0,R.jsx)(`g`,{transform:`translate(17.1 28.7) scale(.19)`,children:(0,R.jsx)(Afe,{})}),(0,R.jsx)(hE,{fill:SE,transform:`translate(48.1 26.4) rotate(65) scale(1.7 1.28)`}),(0,R.jsx)(hE,{fill:SE,transform:`translate(48.4 33.8) rotate(110) scale(1.7 1.28)`})]}),write:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(jfe,{}),(0,R.jsx)(Mfe,{})]}),run:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{style:{fill:xE},x:`6`,y:`9`,width:`52`,height:`43`,rx:`7`}),(0,R.jsx)(`path`,{style:{stroke:TE},strokeWidth:`5`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`m17 22 9 8-9 8m17 0h12`})]}),connected:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:`none`,style:{stroke:xE},strokeWidth:`12`,strokeLinecap:`round`,d:`M34 37Q43 21 26 20H18Q3 20 6 37q2 10 15 9`}),(0,R.jsx)(`path`,{fill:`none`,style:{stroke:bE},strokeWidth:`12`,strokeLinecap:`round`,d:`M29 33Q20 50 38 53h8q16-1 12-17-2-11-14-10`}),(0,R.jsx)(`path`,{style:{stroke:wE},strokeWidth:`4`,strokeLinecap:`round`,d:`m27 4 2 6m10-5-2 7m12 0-5 4`})]}),working:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`ellipse`,{style:{fill:SE},cx:`23`,cy:`14`,rx:`13`,ry:`8`,transform:`rotate(-30 23 14)`}),(0,R.jsx)(`ellipse`,{style:{fill:wE},cx:`48`,cy:`36`,rx:`13`,ry:`8`,transform:`rotate(35 48 36)`}),(0,R.jsx)(`ellipse`,{style:{fill:CE},cx:`22`,cy:`48`,rx:`13`,ry:`8`,transform:`rotate(45 22 48)`}),(0,R.jsx)(`path`,{fill:`none`,style:{stroke:mE},strokeWidth:`3`,strokeLinecap:`round`,d:`M42 8q13 2 13 13M43 55q-5 5-12 4M5 39q-5-9 1-17`})]}),complete:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{style:{fill:SE},d:`M32 6q5-8 10 0 9-3 10 6 9 2 5 11 8 6 0 12 3 9-6 11-1 9-10 6-6 8-12 0-9 3-11-6-9-2-6-11-8-6 0-12-3-9 6-11 1-9 10-6Z`}),(0,R.jsx)(`path`,{fill:`none`,style:{stroke:EE},strokeWidth:`6`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`m23 29 7 7 13-15`}),(0,R.jsx)(`path`,{style:{stroke:mE},strokeWidth:`3`,strokeLinecap:`round`,d:`m4 8 5 6m48-4 5-5M2 24l6 1`})]}),installApps:(0,R.jsxs)(`g`,{transform:`rotate(-6 32 32)`,children:[(0,R.jsx)(`rect`,{style:{fill:xE},x:`9`,y:`26`,width:`46`,height:`32`,rx:`10`}),(0,R.jsx)(`rect`,{style:{fill:TE},x:`17`,y:`33`,width:`30`,height:`18`,rx:`5`}),(0,R.jsx)(`path`,{style:{fill:SE},d:`M22 38h8v8h-8z`}),(0,R.jsx)(`path`,{style:{fill:CE},d:`M34 38h8v8h-8z`}),(0,R.jsx)(`path`,{style:{stroke:bE},strokeWidth:`6`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`M32 4v17m-8-7 8 8 8-8`})]}),restricted:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:`none`,style:{stroke:bE},strokeWidth:`9`,strokeLinecap:`round`,d:`M16 23V19q0-17 16-17t16 17v4`}),(0,R.jsx)(`rect`,{style:{fill:bE},x:`8`,y:`26`,width:`48`,height:`36`,rx:`9`}),(0,R.jsx)(`path`,{style:{fill:TE},d:`M32 34a7 7 0 0 0-4 13v7h8v-7a7 7 0 0 0-4-13Z`})]}),error:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{style:{fill:bE},d:`M32 6q5-8 10 0 9-3 10 6 9 2 5 11 8 6 0 12 3 9-6 11-1 9-10 6-6 8-12 0-9 3-11-6-9-2-6-11-8-6 0-12-3-9 6-11 1-9 10-6Z`}),(0,R.jsx)(`path`,{fill:`none`,style:{stroke:TE},strokeWidth:`7`,strokeLinecap:`round`,d:`M32 18v15`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`32`,cy:`45`,r:`4`})]}),trellis:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(`g`,{fill:wE,children:[(0,R.jsx)(`rect`,{x:`17.25`,y:`9`,width:`3.9`,height:`49.2`,rx:`1.95`}),(0,R.jsx)(`rect`,{x:`42.95`,y:`9`,width:`3.9`,height:`49.2`,rx:`1.95`}),(0,R.jsx)(`rect`,{x:`30.4`,y:`18`,width:`3.2`,height:`26`}),(0,R.jsx)(`rect`,{x:`14.8`,y:`15.75`,width:`34.4`,height:`3.1`,rx:`1.55`}),(0,R.jsx)(`rect`,{x:`14.8`,y:`28.85`,width:`34.4`,height:`3.1`,rx:`1.55`}),(0,R.jsx)(`rect`,{x:`14.8`,y:`42.55`,width:`34.4`,height:`3.1`,rx:`1.55`})]}),(0,R.jsx)(`path`,{fill:`none`,stroke:SE,strokeWidth:`3`,strokeLinecap:`round`,d:`M21.9 56.1C31.5 54.4 32.9 47 32.1 45.8`}),(0,R.jsx)(`path`,{fill:`none`,stroke:SE,strokeWidth:`3`,strokeLinecap:`round`,d:`M32 44.2C28.7 41.8 25.2 35.7 32 32.3 38.8 28 38.9 24 31.9 18.8 32.4 16.3 32.8 14.7 34.5 12.2`}),(0,R.jsx)(yE,{transform:`translate(32.1 14.1) rotate(45) scale(0.45 0.86)`}),(0,R.jsx)(yE,{transform:`translate(32.2 14.7) rotate(-60) scale(0.42 0.58)`}),(0,R.jsx)(yE,{transform:`translate(34.8 28.3) rotate(65) scale(0.38 0.8)`}),(0,R.jsx)(yE,{transform:`translate(28.2 33.1) rotate(-51) scale(0.5 0.57)`}),(0,R.jsx)(yE,{transform:`translate(28.6 53.3) rotate(-48) scale(0.47 0.6)`}),(0,R.jsx)(`circle`,{fill:bE,cx:`31.9`,cy:`18.8`,r:`4`}),(0,R.jsx)(`circle`,{fill:xE,cx:`32`,cy:`32.3`,r:`4`}),(0,R.jsx)(`circle`,{fill:CE,cx:`32`,cy:`44.2`,r:`4`})]}),games:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:xE,d:`M18.5 28.5H45.5C49.5 29.5 53 32 54 35 55 37.5 56.8 45.5 56.6 48 56.5 53 52.5 57.5 47 58H15C9.5 56.5 6.6 51 7.6 45.5 8.6 39.5 9.3 35 10.5 33 12 31 14.5 29.5 18.5 28.5Z`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`26.8`,cy:`37.9`,rx:`9.1`,ry:`5.6`}),(0,R.jsx)(`ellipse`,{fill:EE,cx:`27`,cy:`37.6`,rx:`4.7`,ry:`2.2`}),(0,R.jsx)(`path`,{fill:EE,d:`M23.1 26V35.4A4 4.2 0 0 0 31.1 35.4V26Z`}),(0,R.jsx)(`circle`,{fill:bE,cx:`27.1`,cy:`18.3`,r:`12.4`}),(0,R.jsx)(`circle`,{fill:TE,cx:`22.6`,cy:`14.3`,r:`3.05`}),(0,R.jsx)(`ellipse`,{fill:wE,cx:`45.1`,cy:`37.2`,rx:`5.6`,ry:`3.95`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`40.1`,cy:`46.6`,rx:`6.2`,ry:`4.4`})]}),oyster:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:CE,d:`M35.5 6C33.7 6.3 32.3 7.6 31.4 9.4 30.9 10.3 30.4 10.3 29.5 10 25.5 9 20.6 11.6 19.6 15.9 19.4 16.6 19 17 18 17.1 14.5 17.6 12 20.6 12.1 24.2 12.2 25.4 12 25.9 11.5 26.5 7.5 30 10.5 34.5 17.5 34.4 15.3 32.6 16 31 19 29 26 24 37 19.5 43.5 19 46 19 46 22 43 25.5 46.5 23.5 51.5 18.5 53.5 15 55 11 50 7 45 9 43.8 9.4 43.3 9.2 42.5 8 40.7 6.3 38 5.6 35.5 6Z`}),(0,R.jsx)(`circle`,{fill:TE,cx:`34.9`,cy:`41.9`,r:`11.3`}),(0,R.jsxs)(`g`,{fill:EE,children:[(0,R.jsx)(`rect`,{x:`29.9`,y:`33.2`,width:`3.2`,height:`5.6`,rx:`1.6`}),(0,R.jsx)(`rect`,{x:`36.7`,y:`33.2`,width:`3.2`,height:`5.6`,rx:`1.6`})]}),(0,R.jsx)(`path`,{fill:CE,d:`M49.5 39C47.9 39.3 46.5 40 46.1 41.6 45.8 43.2 45.5 43.5 44 43.5 38.5 43.5 35 48 39 49.5 40 50 39.5 50.5 38 51 35.5 52.5 32.5 52 30 51 29 50.5 28.5 50 29.5 50 33 47.5 30 43.5 24.5 43.5 23.3 43.5 22.9 43.3 22.5 43 20.5 40.5 19 40 17.5 39.5 13 39.5 13 44 17 47.5 18.3 48.4 18.6 48.7 19 49.5 20.5 53 23 55 26 55 26.8 55 27 55.3 27.5 56 31 58.5 36.5 58.5 40 56 40.8 55.2 41.2 55 42 55 45 55 47.5 53 49 49.5 49.6 48.5 50 48 50.5 47.5 56 43.5 55 38.5 49.5 39Z`}),(0,R.jsx)(`path`,{fill:`none`,stroke:wE,strokeWidth:`3`,strokeLinecap:`round`,d:`M46.6 31.8 49.2 27.8 M49.4 35.5 52.8 33.7 M21.5 32.5 22.9 33.5 M19.3 37.5 21.1 38.1`})]}),tourtois:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{fill:TE,x:`11.07`,y:`35.73`,width:`26.8`,height:`9.7`,rx:`3.25`,transform:`rotate(-5 24.47 40.58)`}),(0,R.jsx)(`path`,{fill:wE,d:`M14.8 16C19 14.6 23 13.5 26.5 12.6 28.4 12.1 29.6 13.4 30.1 15.3L31.6 21 17.4 37.6C13.8 38.2 10.6 37.8 10.1 35.4L9.2 27.8C9.1 26.1 10.1 24.7 11.6 24.1 11.4 22.4 11.4 20.6 11.8 19.1 12.3 17.4 13.3 16.5 14.8 16Z`}),(0,R.jsx)(`path`,{fill:bE,d:`M14.0 24.1Q13.3 21.2 16.2 20.4L30.7 16.2Q33.6 15.4 34.6 18.2L36.0 22.7Q37.0 25.5 34.7 27.4L20.2 39.7Q17.9 41.6 17.2 38.7Z`}),(0,R.jsx)(`path`,{fill:xE,d:`M21 23.4 35.5 20.6C37.3 20.2 38.6 21 38.9 22.6L40 34.5C40.1 36.2 39.1 37.3 37.5 37.7 32.6 39.9 26 41 21 41 16 41 12.2 40.2 11 38.8 10.4 37.6 10.8 36.4 12.4 37L19.6 38.4 18.4 27C18.2 25.2 19.3 23.7 21 23.4Z`}),(0,R.jsx)(`path`,{fill:TE,d:`M22.8 29.6 34.8 26.9C36.2 26.6 37 27.3 37.2 28.6L37.9 33C38.1 34.2 37.5 35 36.3 35.3L24.3 37.8C23 38.1 22.3 37.5 22.1 36.3L21.3 31.6C21.1 30.6 21.7 29.8 22.8 29.6Z`}),(0,R.jsxs)(`g`,{fill:TE,children:[(0,R.jsx)(`circle`,{cx:`14.7`,cy:`18.45`,r:`1`}),(0,R.jsx)(`circle`,{cx:`17.6`,cy:`17.65`,r:`1`}),(0,R.jsx)(`circle`,{cx:`20.5`,cy:`16.85`,r:`1`}),(0,R.jsx)(`circle`,{cx:`17.9`,cy:`22.2`,r:`1`}),(0,R.jsx)(`circle`,{cx:`21`,cy:`21.5`,r:`1`}),(0,R.jsx)(`circle`,{cx:`24.1`,cy:`20.75`,r:`1`}),(0,R.jsx)(`circle`,{cx:`28.2`,cy:`25.3`,r:`1`})]}),(0,R.jsx)(`circle`,{fill:bE,cx:`21.7`,cy:`26.6`,r:`1`}),(0,R.jsx)(`circle`,{fill:wE,cx:`24.9`,cy:`25.9`,r:`1.05`}),(0,R.jsxs)(`g`,{fill:SE,children:[(0,R.jsx)(`ellipse`,{cx:`8.8`,cy:`36.6`,rx:`3.6`,ry:`1.9`,transform:`rotate(22 8.8 36.6)`}),(0,R.jsx)(`path`,{d:`M12 41C10 41.5 7.5 44.5 7 46.5 7 48 8.5 49.5 10.5 50 12.5 50.5 13.5 50 15 48 15.5 47 16.5 47.5 19 50 22 49.5 22 46.5 22 45.5 20.5 45.5 17 45 16.5 44.5 16.5 44 16.5 42 13.5 40.5 12 41Z`}),(0,R.jsx)(`path`,{d:`M40 33C39 38 36 42 34.5 41.5 32.5 40.5 29.5 42 28.5 44 26 49 27.5 51.5 32.5 51 36 51 37 50 36 46.5 36 45 37 44.5 38 44.5 38.5 45.5 40.5 49 43.5 50 46.5 47.5 47.5 46.5 46 43.5 44 42 43 41.5 43.5 40.5 44.5 39.5 46 38 47 37.5L47 33Z`})]}),(0,R.jsx)(`ellipse`,{fill:SE,cx:`46.4`,cy:`30.6`,rx:`8.1`,ry:`8.3`}),(0,R.jsxs)(`g`,{fill:EE,children:[(0,R.jsx)(`rect`,{x:`45.05`,y:`26.95`,width:`2.25`,height:`4.6`,rx:`1.1`,transform:`rotate(-6 46.2 29.3)`}),(0,R.jsx)(`rect`,{x:`49.25`,y:`26.4`,width:`2.25`,height:`4.6`,rx:`1.1`,transform:`rotate(-6 50.4 28.7)`})]}),(0,R.jsx)(`path`,{fill:bE,d:`M46.8 32.2H51C51 34.3 50 35.4 48.9 35.4S46.8 34.3 46.8 32.2Z`,transform:`rotate(-8 48.9 33.5)`}),(0,R.jsx)(`path`,{fill:`none`,stroke:wE,strokeWidth:`3`,strokeLinecap:`round`,d:`M50.9 17.7 50.5 19.7 M55.2 20.1 53.4 21.9 M56.5 24.5 55.7 24.7`})]}),allApps:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{fill:bE,x:`7`,y:`7.25`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(-6.2 18.6 18.6)`}),(0,R.jsx)(`rect`,{fill:xE,x:`33.9`,y:`7.25`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(6.2 45.5 18.6)`}),(0,R.jsx)(`rect`,{fill:SE,x:`7`,y:`34.15`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(6.2 18.6 45.5)`}),(0,R.jsx)(`rect`,{fill:wE,x:`33.9`,y:`34.15`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(-6.2 45.5 45.5)`})]}),search:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:`none`,stroke:xE,strokeWidth:`6.5`,d:`M37 37.5 43 43.5`}),(0,R.jsx)(`path`,{fill:`none`,stroke:bE,strokeWidth:`12.6`,strokeLinecap:`round`,d:`M44.2 43.8 51.4 51.8`}),(0,R.jsx)(`path`,{fill:`none`,stroke:wE,strokeWidth:`3`,strokeLinecap:`round`,d:`M47.2 42.4 52.8 47.8`}),(0,R.jsx)(`ellipse`,{fill:xE,cx:`25.6`,cy:`24.6`,rx:`19.25`,ry:`18.6`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`25.2`,cy:`24.1`,rx:`14.2`,ry:`13.6`})]}),browser:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{fill:bE,x:`5.9`,y:`6.15`,width:`52.2`,height:`51.7`,rx:`5.5`}),(0,R.jsx)(`path`,{fill:TE,d:`M10 16.5H29.4C30.3 16.1 31 14.4 31.8 12.5 32.5 10.9 33.2 10 34.5 10H52.2C53.4 10 54 10.7 54 12V16.5C55.2 16.5 56 17.1 56 18.3V52.4C56 53.7 55.1 54.6 53.8 54.6H10.2C8.9 54.6 8 53.7 8 52.4V18.2C8 17.1 8.7 16.5 10 16.5Z`}),(0,R.jsx)(`circle`,{fill:wE,cx:`12.2`,cy:`11.9`,r:`1.95`}),(0,R.jsx)(`circle`,{fill:xE,cx:`18.6`,cy:`11.9`,r:`1.95`}),(0,R.jsx)(`circle`,{fill:CE,cx:`25.1`,cy:`11.9`,r:`1.95`}),(0,R.jsx)(`circle`,{fill:SE,cx:`32`,cy:`34.9`,r:`14.5`}),(0,R.jsxs)(`g`,{fill:`none`,stroke:TE,strokeWidth:`3`,children:[(0,R.jsx)(`ellipse`,{cx:`32`,cy:`34.9`,rx:`7.7`,ry:`13.3`}),(0,R.jsx)(`path`,{d:`M17.5 34.9H46.5`})]})]}),internet:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`ellipse`,{fill:`none`,stroke:wE,strokeWidth:`4.4`,cx:`32.2`,cy:`30.2`,rx:`25.6`,ry:`8.1`,transform:`rotate(-20.8 32.2 30.2)`}),(0,R.jsx)(`circle`,{fill:xE,cx:`32`,cy:`32`,r:`21.1`}),(0,R.jsxs)(`g`,{fill:`none`,stroke:TE,strokeWidth:`3`,children:[(0,R.jsx)(`ellipse`,{cx:`32`,cy:`31.8`,rx:`12.2`,ry:`18.7`}),(0,R.jsx)(`path`,{d:`M32 13.1V50.5M15 20.4Q32 29 49 20.4M12.5 39Q32 44.6 51.5 39`})]}),(0,R.jsx)(`path`,{fill:`none`,stroke:wE,strokeWidth:`4.4`,d:`M6.6 30.2A25.6 8.1 0 0 0 57.8 30.2`,transform:`rotate(-20.8 32.2 30.2)`})]}),members:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`circle`,{fill:xE,cx:`41.9`,cy:`22.85`,r:`12.2`}),(0,R.jsx)(`path`,{fill:xE,d:`M36 34C33.8 34.8 32.2 35.8 31 37 37.5 39.5 40.5 43.5 40.5 49.5V53.5H54.5C57 53.5 58 51 58 47.5 58 40 55 35.5 49 34Z`}),(0,R.jsx)(`circle`,{fill:bE,cx:`22.95`,cy:`27.6`,r:`12.85`}),(0,R.jsx)(`path`,{fill:bE,d:`M15.5 38C10.5 39 7.5 42.5 6.5 47 5.5 50.5 6 53.5 8.5 53.5H38.5C42 52 40 43 36 40 34.5 39 32 38 31 38Z`}),(0,R.jsxs)(`g`,{fill:EE,children:[(0,R.jsx)(`circle`,{cx:`18.3`,cy:`28`,r:`1.6`}),(0,R.jsx)(`circle`,{cx:`27.9`,cy:`28`,r:`1.6`}),(0,R.jsx)(`circle`,{cx:`39.1`,cy:`23.05`,r:`1.55`}),(0,R.jsx)(`circle`,{cx:`47.25`,cy:`23.05`,r:`1.55`})]})]}),sell:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:wE,d:`M6.4 41.2V48.4C6.4 51.4 13.2 54 21.8 54S37.2 51.4 37.2 48.4V41.2C37.2 37.8 30.4 35 21.8 35S6.4 37.8 6.4 41.2Z`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`21.9`,cy:`40.8`,rx:`13.2`,ry:`3.6`}),(0,R.jsxs)(`g`,{transform:`rotate(-3 22.5 30) translate(0.5 0)`,children:[(0,R.jsx)(`path`,{fill:wE,d:`M7.5 26V34C7.5 37.3 14.2 40 22.5 40S37.5 37.3 37.5 34V26C37.5 22.7 30.8 20 22.5 20S7.5 22.7 7.5 26Z`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`23.7`,cy:`26.55`,rx:`13.05`,ry:`4.4`})]}),(0,R.jsxs)(`g`,{transform:`translate(46.3 40.3) rotate(-25)`,children:[(0,R.jsx)(`path`,{fill:bE,d:`M-8.5-10Q-8.5-12-7-13L-1.5-16.3Q0-17.2 1.5-16.3L7-13Q8.5-12 8.5-10V9Q8.5 12 5.5 12H-5.5Q-8.5 12-8.5 9Z`}),(0,R.jsx)(`circle`,{fill:TE,cx:`0`,cy:`-10.7`,r:`2.2`})]}),(0,R.jsx)(hE,{fill:wE,transform:`translate(38.2 18.6) scale(1.1 .86)`}),(0,R.jsx)(hE,{fill:wE,transform:`translate(42.8 21.2) rotate(45) scale(1.1 .85)`})]}),schedule:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{fill:TE,x:`6`,y:`11`,width:`47.6`,height:`44`,rx:`6`}),(0,R.jsx)(`path`,{fill:bE,d:`M12 11H47.6Q53.6 11 53.6 17V21.5H6V17Q6 11 12 11Z`}),(0,R.jsxs)(`g`,{fill:TE,children:[(0,R.jsx)(`circle`,{cx:`16.1`,cy:`16.15`,r:`3.4`}),(0,R.jsx)(`circle`,{cx:`43.4`,cy:`16.15`,r:`3.4`})]}),(0,R.jsxs)(`g`,{fill:xE,children:[(0,R.jsx)(`rect`,{x:`13.6`,y:`6`,width:`5`,height:`11.2`,rx:`2.5`}),(0,R.jsx)(`rect`,{x:`40.9`,y:`6`,width:`5`,height:`11.2`,rx:`2.5`})]}),(0,R.jsxs)(`g`,{fill:SE,children:[(0,R.jsx)(`rect`,{x:`11.1`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`20.7`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`30.4`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`20.7`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`30.4`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`11.1`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`30.4`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`})]}),(0,R.jsxs)(`g`,{fill:CE,children:[(0,R.jsx)(`rect`,{x:`40.4`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`11.1`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`20.7`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`})]}),(0,R.jsx)(`circle`,{fill:wE,cx:`45.5`,cy:`45.6`,r:`12.2`}),(0,R.jsx)(`path`,{fill:`none`,stroke:EE,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`M45.1 39.3V46.2L51.3 49.8`}),(0,R.jsx)(`circle`,{fill:EE,cx:`45.1`,cy:`46.2`,r:`2.5`})]}),fungi:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`ellipse`,{fill:TE,cx:`33.5`,cy:`43.6`,rx:`18.6`,ry:`14.4`,transform:`rotate(-6 33.5 43.6)`}),(0,R.jsx)(`path`,{fill:bE,d:`M29.5 6.5C22 7.5 16 11 11 18.5 4 29 4.6 39.6 13.5 42.2 24 45 44 40.5 54 34.6 57.6 32.6 58.6 29.2 57.5 25 56.5 20 53 16 48.5 13 43.5 8 37 5.5 29.5 6.5Z`}),(0,R.jsxs)(`g`,{fill:TE,children:[(0,R.jsx)(`ellipse`,{cx:`29`,cy:`15.7`,rx:`8.7`,ry:`6.3`,transform:`rotate(-15.5 29 15.7)`}),(0,R.jsx)(`ellipse`,{cx:`50.8`,cy:`20.1`,rx:`6.5`,ry:`3.5`,transform:`rotate(51.6 50.8 20.1)`}),(0,R.jsx)(`ellipse`,{cx:`13`,cy:`26.8`,rx:`4.2`,ry:`3.3`,transform:`rotate(-54.5 13 26.8)`})]}),(0,R.jsxs)(`g`,{fill:EE,transform:`translate(26.6 46.6) scale(1.1) translate(-33.7 -38.5)`,children:[(0,R.jsx)(`rect`,{x:`31.85`,y:`35.9`,width:`3.75`,height:`5.25`,rx:`1.85`}),(0,R.jsx)(`path`,{d:`M 47.4 34.3 C 46 35 44.6 35.8 43.5 36.7 42.9 37.2 43.2 38.3 44 38.4 45.2 38.6 46.5 38.6 47.7 38.4 48.4 38.3 48.3 37.3 47.6 37.3 46.6 37.4 45.7 37.4 45 37.3 45.9 36.7 46.9 36.1 48 35.6 48.7 35.3 48.2 34 47.4 34.3 Z`}),(0,R.jsx)(`path`,{d:`M 37.4 41.1 C 38.6 44.3 42.6 44.3 43.6 40.5 43.7 40 43.1 39.8 42.9 40.3 41.9 42.8 39.1 42.9 38.3 40.7 38.1 40.2 37.3 40.5 37.4 41.1 Z`})]})]})};function DE({name:e,size:t}){return(0,R.jsx)(`svg`,{viewBox:`0 0 64 64`,width:t,height:t,fill:`none`,stroke:`none`,"aria-hidden":`true`,focusable:`false`,"data-sigil":e,children:Rfe[e]})}var zfe=[{id:`list`,label:`List files`,contract:zle},{id:`read`,label:`Read files`,contract:Kle},{id:`write`,label:`Write files`,contract:qle},{id:`run`,label:`Run commands`,contract:jS}],Bfe={loading:`Loading`,unavailable:`Unavailable`,error:`Refresh failed`};function Vfe({app:e,terminal:t=null,processes:n,ports:r}){let[i,a]=(0,F.useState)(!1),[o,s]=(0,F.useState)(!1),c=async()=>{if(e){a(!0),s(!1);try{await e.ui.requestAppPermissions({})}catch{s(!0)}finally{a(!1)}}};return{id:`access`,label:`Access`,title:`Computer access`,content:(0,R.jsxs)(`div`,{className:`shed-instrument`,children:[(0,R.jsxs)(dE,{size:`sm`,children:[(0,R.jsx)(wfe,{icon:(0,R.jsx)(DE,{name:`computer`}),title:t?.name??`Selected Computer`,status:t?(0,R.jsx)(lE,{size:`compact`,label:`Terminal ${t.state}`,tone:t.state===`open`?`success`:t.state===`failed`?`error`:`neutral`}):null}),(0,R.jsxs)(Tfe,{children:[(0,R.jsx)(fE,{legend:`Shed may`,wide:!0,children:(0,R.jsx)(xfe,{"aria-label":`Shed may`,stateLabels:[`allowed`,`not allowed`],items:zfe.map(({id:t,label:n,contract:r})=>({id:t,label:n,caption:t,icon:(0,R.jsx)(DE,{name:t}),on:e?.capabilities.has(r)===!0}))})}),(0,R.jsx)(OE,{label:`Processes`,value:n}),(0,R.jsx)(OE,{label:`Ports open`,value:r})]})]}),e?(0,R.jsx)(`div`,{className:`shed-instrument-keys`,children:(0,R.jsx)(XT,{size:`sm`,variant:`ghost`,disabled:i,onClick:()=>void c(),children:i?`Opening permissions…`:`App permissions…`})}):null,o?(0,R.jsx)(`p`,{role:`alert`,className:`shed-instrument-detail`,children:`Could not open App permissions. Try again.`}):null]})}}function OE({label:e,value:t}){return(0,R.jsx)(fE,{legend:e,role:`group`,"aria-label":e,children:t.kind===`loaded`?(0,R.jsx)(pfe,{value:t.count,pad:2,size:`md`}):(0,R.jsx)(`span`,{className:`shed-instrument-note`,children:Bfe[t.kind]})})}var Hfe={2:`h2`,3:`h3`,4:`h4`};function Ufe(e,t){let{reduced:n}=t,r=e&&!n,i=bC(t,600),[a,o]=(0,F.useState)(r);return(0,F.useEffect)(()=>{if(o(r),!r)return;let e=globalThis.setTimeout(()=>{o(!1)},i);return()=>{globalThis.clearTimeout(e)}},[r,i]),a}var kE=(0,F.forwardRef)(function({actions:e,className:t,description:n,headingLevel:r=2,suggestions:i,thinking:a=!1,title:o,visual:s,renderVisual:c,variant:l=`plain`,...u},d){let f=(0,F.useId)(),p=(0,F.useRef)(null),m=yC(p),h=Ufe(l===`speech`,m)&&!a,g=Hfe[r],_=c?c({speaking:h,thinking:a}):s,v=(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(g,{ref:p,className:`empty-state-title`,id:u[`aria-labelledby`]?void 0:f,children:o}),(0,R.jsx)(`p`,{children:n}),i&&i.length>0?(0,R.jsx)(`ul`,{"aria-label":`Try one of these`,className:`empty-state-suggestions`,children:i.map(e=>(0,R.jsx)(`li`,{children:(0,R.jsx)(XT,{size:`sm`,variant:`outline`,onClick:e.onSelect,children:e.label})},e.label))}):null,e?(0,R.jsx)(`div`,{className:`empty-state-actions`,children:e}):null]});return(0,R.jsxs)(`section`,{...u,"aria-labelledby":u[`aria-labelledby`]??f,className:hC(`empty-state`,l!==`plain`&&`empty-state-${l}`,t),ref:d,children:[_?(0,R.jsx)(`div`,{"aria-hidden":`true`,className:`empty-state-visual`,children:_}):null,l===`speech`?(0,R.jsx)(`div`,{className:`empty-state-bubble`,children:v}):v]})}),Wfe=(0,F.forwardRef)(function({className:e,orientation:t,variant:n=`grip`,value:r,min:i,max:a,onValueChange:o,onKeyDown:s,...c},l){return(0,R.jsx)(`div`,{...c,ref:l,className:hC(`caps-resize-handle`,e),"data-resize-variant":n,role:`separator`,"aria-orientation":t,"aria-valuemin":Math.round(i),"aria-valuemax":Math.round(a),"aria-valuenow":Math.round(r),tabIndex:c.tabIndex??0,onKeyDown:e=>{if(s?.(e),e.defaultPrevented)return;if(e.key===`Home`||e.key===`End`){e.preventDefault(),o(e.key===`Home`?i:a);return}let n=t===`horizontal`?e.key===`ArrowUp`?-32:e.key===`ArrowDown`?32:null:e.key===`ArrowLeft`?-32:e.key===`ArrowRight`?32:null;n!==null&&(e.preventDefault(),o(Math.min(a,Math.max(i,r+n))))},children:(0,R.jsx)(`span`,{className:`caps-resize-grip`,"aria-hidden":`true`})})});function AE(e){return`init`in e}function jE(e){return typeof e.write==`function`}function Gfe(e){return!!e.onMount}function ME(e){return`v`in e||`e`in e}function NE(e){if(`e`in e)throw e.e;return e.v}function PE(e){return typeof e?.then==`function`}function Kfe(e){if(!(e instanceof Error))return!1;let t=e.name,n=e.message.toLowerCase();return(t===`RangeError`||t===`InternalError`)&&(n.includes(`call stack`)||n.includes(`too much recursion`)||n.includes(`stack overflow`))}function FE(e,t,n){if(!n.p.has(e)){n.p.add(e);let r=()=>n.p.delete(e);t.then(r,r)}}function IE(e,t,n){let r=n.get(e)?.t,i=t.p;if(!r?.size)return i;if(!i.size)return r;let a=new Set(r);for(let e of i)a.add(e);return a}function qfe(e){return!!e.INTERNAL_onInit}var Jfe=(e,t,n,...r)=>n.read(...r),Yfe=(e,t,n,...r)=>n.write(...r),Xfe=(e,t,n)=>n.INTERNAL_onInit(t),Zfe=(e,t,n,r)=>n.onMount?.call(n,r),Qfe=(e,t,n)=>{var r;let i=e[0],a=i.get(n);if(!a){let o=e[6],s=e[9];a={d:new Map,p:new Set,n:0},i.set(n,a),(r=o.i)==null||r.call(o,n),qfe(n)&&s(e,t,n)}return a},$fe=(e,t)=>{let n=e[1],r=e[3],i=e[4],a=e[5],o=e[6],s=e[13];if(!o.f&&!r.size&&!i.size&&!a.size)return;let c=[],l=e=>{try{e()}catch(e){c.push(e)}};do{o.f&&l(o.f);let c=new Set;for(let e of r){let t=n.get(e)?.l;if(t)for(let e of t)c.add(e)}r.clear();for(let e of a)c.add(e);a.clear();for(let e of i)c.add(e);i.clear();for(let e of c)l(e);r.size&&s(e,t)}while(r.size||a.size||i.size);if(c.length)throw AggregateError(c)},epe=(e,t)=>{let n=e[1],r=e[2],i=e[3],a=e[11],o=e[14],s=e[17];if(!i.size)return;let c=[],l=[],u=new WeakSet,d=new WeakSet,f=[],p=[];for(let n of i)f.push(n),p.push(a(e,t,n));for(;f.length;){let i=f.length-1,o=f[i],s=p[i];if(d.has(o)){f.pop(),p.pop();continue}if(u.has(o)){r.get(o)===s.n&&(c.push(o),l.push(s)),d.add(o),f.pop(),p.pop();continue}u.add(o);for(let r of IE(o,s,n))u.has(r)||(f.push(r),p.push(a(e,t,r)))}for(let n=c.length-1;n>=0;--n){let a=c[n],u=l[n],d=!1;for(let e of u.d.keys())if(e!==a&&i.has(e)){d=!0;break}d&&(r.set(a,u.n),o(e,t,a),s(e,t,a)),r.delete(a)}},tpe=(e,t,n)=>{var r,i;let a=e[1],o=e[2],s=e[3],c=e[6],l=e[7],u=e[11],d=e[12],f=e[13],p=e[14],m=e[16],h=e[17],g=e[20],_=e[26],v=e[28],y=u(e,t,n),b=v[0];if(ME(y)){if(a.has(n)&&o.get(n)!==y.n||y.m===b)return y.m=b,y;let r=!1;for(let[n,i]of y.d)if(p(e,t,n).n!==i){r=!0;break}if(!r)return y.m=b,y}let x=!0,S=new Set(y.d.keys()),C=()=>{for(let e of S)y.d.delete(e)},w=()=>{if(a.has(n)){let r=!s.size;h(e,t,n),r&&(f(e,t),d(e,t))}},T=r=>{var i;if(r===n){let n=u(e,t,r);if(!ME(n)){if(AE(r))g(e,t,r,r.init);else throw Error(`no atom init`)}return NE(n)}let o=p(e,t,r);try{return NE(o)}finally{S.delete(r),y.d.set(r,o.n),PE(y.v)&&FE(n,y.v,o),a.has(n)&&((i=a.get(r))==null||i.t.add(n)),x||w()}},E,D,O={get signal(){return E||=new AbortController,E.signal},get setSelf(){return!D&&jE(n)&&(D=(...r)=>{if(!x)try{return m(e,t,n,r)}finally{f(e,t),d(e,t)}}),D}},k=y.n,A=o.get(n)===k;try{let i=l(e,t,n,T,O);if(g(e,t,n,i),PE(i)){_(e,t,i,()=>E?.abort());let n=()=>{C(),w()};i.then(n,n)}else C();return(r=c.r)==null||r.call(c,n),y.m=b,y}catch(e){if(Kfe(e))throw e;return delete y.v,y.e=e,++y.n,y.m=b,y}finally{x=!1,y.n!==k&&A&&(o.set(n,y.n),s.add(n),(i=c.c)==null||i.call(c,n))}},npe=(e,t,n)=>{let r=e[1],i=e[2],a=e[11],o=[n];for(;o.length;){let n=o.pop(),s=a(e,t,n);for(let c of IE(n,s,r)){let n=a(e,t,c);i.get(c)!==n.n&&(i.set(c,n.n),o.push(c))}}},rpe=(e,t,n,r)=>{let i=e[3],a=e[6],o=e[8],s=e[11],c=e[12],l=e[13],u=e[14],d=e[15],f=e[16],p=e[17],m=e[20],h=e[28],g=!0,_=n=>NE(u(e,t,n)),v=(r,...o)=>{var u;let _=s(e,t,r);try{if(r===n){if(!AE(r))throw Error(`atom not writable`);let n=_.n,s=o[0];m(e,t,r,s),p(e,t,r),n!==_.n&&(++h[0],i.add(r),d(e,t,r),(u=a.c)==null||u.call(a,r));return}return f(e,t,r,o)}finally{g||(l(e,t),c(e,t))}};try{return o(e,t,n,_,v,...r)}finally{g=!1}},ipe=(e,t,n)=>{var r;let i=e[1],a=e[3],o=e[6],s=e[11],c=e[15],l=e[18],u=e[19],d=s(e,t,n),f=i.get(n);if(f&&d.d.size>0){for(let[i,u]of d.d)if(!f.d.has(i)){let d=s(e,t,i);l(e,t,i).t.add(n),f.d.add(i),u!==d.n&&(a.add(i),c(e,t,i),(r=o.c)==null||r.call(o,i))}for(let r of f.d)d.d.has(r)||(f.d.delete(r),u(e,t,r)?.t.delete(n))}},ape=(e,t,n)=>{var r;let i=e[1],a=e[4],o=e[6],s=e[10],c=e[11],l=e[12],u=e[13],d=e[14],f=e[16],p=e[18],m=c(e,t,n),h=i.get(n);if(!h){d(e,t,n);for(let r of m.d.keys())p(e,t,r).t.add(n);h={l:new Set,d:new Set(m.d.keys()),t:new Set},i.set(n,h),jE(n)&&Gfe(n)&&a.add(()=>{let r=!0,i=(...i)=>{try{return f(e,t,n,i)}finally{r||(u(e,t),l(e,t))}};try{let a=s(e,t,n,i);a&&(h.u=()=>{r=!0;try{a()}finally{r=!1}})}finally{r=!1}}),(r=o.m)==null||r.call(o,n)}return h},ope=(e,t,n)=>{var r;let i=e[1],a=e[5],o=e[6],s=e[11],c=e[19],l=s(e,t,n),u=i.get(n);if(!u||u.l.size)return u;let d=!1;for(let e of u.t)if(i.get(e)?.d.has(n)){d=!0;break}if(!d){u.u&&a.add(u.u),u=void 0,i.delete(n);for(let r of l.d.keys())c(e,t,r)?.t.delete(n);(r=o.u)==null||r.call(o,n);return}return u},spe=(e,t,n,r)=>{let i=e[11],a=e[27],o=i(e,t,n),s=`v`in o,c=o.v;if(PE(r))for(let a of o.d.keys())FE(n,r,i(e,t,a));o.v=r,delete o.e,(!s||!Object.is(c,o.v))&&(++o.n,PE(c)&&a(e,t,c))},cpe=(e,t,n)=>{let r=e[14];return NE(r(e,t,n))},lpe=(e,t,n,...r)=>{let i=e[3],a=e[12],o=e[13],s=e[16],c=i.size;try{return s(e,t,n,r)}finally{i.size!==c&&(o(e,t),a(e,t))}},LE=(e,t,n,r)=>{let i=e[12],a=e[13],o=e[18],s=e[19],c=o(e,t,n).l;return c.add(r),a(e,t),i(e,t),()=>{c.delete(r),s(e,t,n),a(e,t),i(e,t)}},RE=(e,t,n,r)=>{let i=e[25],a=i.get(n);if(!a){a=new Set,i.set(n,a);let e=()=>i.delete(n);n.then(e,e)}a.add(r)},zE=(e,t,n)=>{e[25].get(n)?.forEach(e=>e())},BE=new WeakMap;function VE(...e){let t={get(e){return r(n,t,e)},set(e,...r){return i(n,t,e,...r)},sub(e,r){return a(n,t,e,r)}},n=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},Jfe,Yfe,Xfe,Zfe,Qfe,$fe,epe,tpe,npe,rpe,ipe,ape,ope,spe,cpe,lpe,LE,void 0,new WeakMap,RE,zE,[0]].map((t,n)=>e[n]||t);BE.set(t,Object.freeze(n));let r=n[21],i=n[22],a=n[23];return t}var HE=0;function UE(e,t){let n=`atom${++HE}`,r={toString(){return n}};return typeof e==`function`?r.read=e:(r.init=e,r.read=WE,r.write=GE),t&&(r.write=t),r}function WE(e){return e(this)}function GE(e,t,n){return t(this,typeof n==`function`?n(e(this)):n)}function KE(){return VE()}var qE=UE({frames:new Map,order:[],tiles:[],minima:new Map,participating:new Set,mainSize:void 0,zoomed:null,gesture:null,restore:new Map}),JE=(e,t,n)=>Math.min(Math.max(e,t),n),YE=(e,t,n)=>{let r=JE(e.width,n.width,Math.max(n.width,t.width)),i=JE(e.height,n.height,Math.max(n.height,t.height));return{width:r,height:i,x:JE(e.x,0,Math.max(0,t.width-r)),y:JE(e.y,0,Math.max(0,t.height-i))}},XE=(e,t,n)=>{let r=t.width/2,i=t.height/2;return YE(e===`left`?{x:0,y:0,width:r,height:t.height}:e===`right`?{x:r,y:0,width:r,height:t.height}:e===`top-left`?{x:0,y:0,width:r,height:i}:e===`top-right`?{x:r,y:0,width:r,height:i}:e===`bottom-left`?{x:0,y:i,width:r,height:i}:{x:r,y:i,width:r,height:i},t,n)},ZE=()=>{let e=KE(),t=()=>e.get(qE),n=0,r=r=>{n+=1,e.set(qE,r(t()))},i=(e,t,n)=>{r(r=>{let i=new Map(r.frames);return i.set(e,t),{...r,frames:i,participating:new Set(r.participating).add(e),tiles:r.tiles.includes(e)?r.tiles:[...r.tiles,e],minima:new Map(r.minima).set(e,n),order:r.order.includes(e)?r.order:[...r.order.filter(e=>e!==r.zoomed),e,...r.zoomed?[r.zoomed]:[]]}})},a=e=>t().frames.has(e),o=(e,n)=>{let r=t().gesture;return r?.kind===`frame`&&r.id===e&&r.pointerId===n};return{get version(){return n},get frames(){return t().frames},get order(){return t().order},get tiles(){return t().tiles},get minima(){return t().minima},get participating(){return t().participating},get mainSize(){return t().mainSize},get zoomed(){return t().zoomed},get gesture(){return t().gesture},get restore(){return t().restore},subscribe:t=>e.sub(qE,t),register:i,setParticipation:(e,n)=>{t().frames.has(e)&&r(t=>{if(t.participating.has(e)===n)return t;let r=new Set(t.participating);n?r.add(e):r.delete(e);let i=n?t.tiles.includes(e)?t.tiles:[...t.tiles,e]:t.tiles.filter(t=>t!==e),a=n?t.order.includes(e)?t.order:[...t.order,e]:t.order.filter(t=>t!==e);return{...t,participating:r,tiles:i,order:a,zoomed:n||t.zoomed!==e?t.zoomed:null,gesture:!n&&t.gesture?.kind===`frame`&&t.gesture.id===e?null:t.gesture}})},setMinima:(e,n)=>{let i=t().minima.get(e);!i||i.width===n.width&&i.height===n.height||r(t=>({...t,minima:new Map(t.minima).set(e,n)}))},unregister:e=>{r(t=>{if(!t.frames.has(e))return t;let n=new Map(t.frames);n.delete(e);let r=new Map(t.restore);r.delete(e);let i=t.order.filter(t=>t!==e),a=t.tiles.filter(t=>t!==e),o=new Map(t.minima);o.delete(e);let s=new Set(t.participating);s.delete(e);let c=t.gesture?.kind===`frame`&&t.gesture.id===e?null:t.gesture;return{...t,frames:n,restore:r,order:i,tiles:a,minima:o,participating:s,gesture:c,zoomed:t.zoomed===e?null:t.zoomed}})},begin:(e,n)=>{!a(e)||!t().participating.has(e)||r(t=>({...t,gesture:{kind:`frame`,id:e,pointerId:n,start:t.frames.get(e)??{x:0,y:0,width:0,height:0}},order:[...t.order.filter(t=>t!==e),e]}))},move:(e,n,i,s,c,l=null)=>{a(e)&&t().participating.has(e)&&o(e,n)&&r(t=>({...t,frames:new Map(t.frames).set(e,YE(i,s,c)),gesture:t.gesture?.kind===`frame`?{...t.gesture,snap:l?{side:l,frame:XE(l,s,c)}:null}:t.gesture}))},end:(e,t)=>{o(e,t)&&r(t=>{let n=t.gesture;return n?.kind!==`frame`||!n.snap?{...t,gesture:null}:{...t,frames:new Map(t.frames).set(e,n.snap.frame),restore:new Map(t.restore).set(e,t.restore.get(e)??n.start),gesture:null}})},cancel:(e,n)=>{let i=t().gesture;i?.kind===`frame`&&i.id===e&&i.pointerId===n&&r(t=>{let n=new Map(t.frames);return n.set(e,i.start),{...t,frames:n,gesture:null}})},snap:(e,n,i,o)=>{!a(e)||!t().participating.has(e)||r(t=>{let r=new Map(t.restore);r.set(e,t.frames.get(e)??XE(n,i,o));let a=new Map(t.frames);return a.set(e,XE(n,i,o)),{...t,frames:a,restore:r,order:[...t.order.filter(t=>t!==e),e]}})},restoreFrame:(e,n,i)=>{!a(e)||!t().participating.has(e)||r(t=>{let r=t.restore.get(e);if(!r)return t;let a=new Map(t.frames);a.set(e,YE(r,n,i));let o=new Map(t.restore);return o.delete(e),{...t,frames:a,restore:o}})},focus:e=>{a(e)&&r(t=>({...t,order:[...t.order.filter(t=>t!==e),e],zoomed:t.zoomed===null?null:e}))},swap:(e,n)=>{!a(e)||!a(n)||!t().participating.has(e)||!t().participating.has(n)||r(t=>({...t,tiles:t.tiles.map(t=>t===e?n:t===n?e:t)}))},zoom:e=>{e!==null&&(!a(e)||!t().participating.has(e))||r(t=>({...t,zoomed:e,order:e===null?t.order:[...t.order.filter(t=>t!==e),e]}))},resizeMain:e=>{r(t=>({...t,mainSize:e}))},beginDivider:e=>!t().gesture&&(r(t=>({...t,gesture:{kind:`divider`,pointerId:e,start:t.mainSize}})),!0),finishDivider:(e,n)=>{let i=t().gesture;i?.kind===`divider`&&i.pointerId===e&&r(e=>({...e,gesture:null,mainSize:n?i.start:e.mainSize}))},destroy:()=>{r(e=>({...e,gesture:null,restore:new Map}))}}};function QE(e,t,n,r,i){let a=i.layout??`main-left`;if(a===`columns`||a===`rows`||a===`grid`)return $E(e,t,n,r,i,a);if(a===`main-top`){let a=eD(e,new Map([...t].map(([e,t])=>[e,{width:t.height,height:t.width}])),n,{width:r.height,height:r.width},i);return{frames:new Map([...a.frames].map(([e,t])=>[e,{x:t.y,y:t.x,width:t.height,height:t.width}])),tabGroups:a.tabGroups,divider:a.divider&&{...a.divider,axis:`y`}}}return eD(e,t,n,r,i)}function $E(e,t,n,r,i,a){let o=new Map,s=[];if(!e.length)return{frames:o,tabGroups:s,divider:null};let c=Math.max(0,i.gap??8),l=e.reduce((e,n)=>({width:Math.max(e.width,t.get(n)?.width??0),height:Math.max(e.height,t.get(n)?.height??0)}),{width:0,height:0}),u=(t,n)=>n+c===0?e.length:Math.min(e.length,Math.max(1,Math.floor((t+c)/(n+c)))),d=u(r.width,l.width),f=u(r.height,l.height),p=l.width>r.width||l.height>r.height?1:a===`columns`?d:a===`rows`?f:Math.min(e.length,d*f),m=a===`columns`?p:a===`rows`?1:Math.min(d,Math.max(Math.ceil(Math.sqrt(p)),Math.ceil(p/f))),h=Math.ceil(p/m),g=(r.width-c*(m-1))/m,_=(r.height-c*(h-1))/h;for(let t=0;t<p;t++){let r=e.slice(t,t===p-1?void 0:t+1),i=r.length===1?r[0]:[...n].reverse().find(e=>r.includes(e))??r[0];i&&o.set(i,{x:t%m*(g+c),y:Math.floor(t/m)*(_+c),width:g,height:_}),r.length>1&&s.push(r)}return{frames:o,tabGroups:s,divider:null}}function eD(e,t,n,r,i){let a=new Map,o=[],s={x:0,y:0,...r},[c,...l]=e,u=(e,t)=>{let r=[...n].reverse().find(t=>e.includes(t))??e[0];r&&a.set(r,t),e.length>1&&o.push(e)};if(!c)return{frames:a,tabGroups:o,divider:null};if(!l.length)return a.set(c,s),{frames:a,tabGroups:o,divider:null};let d=Math.max(0,i.gap??8),f=t.get(c)?.width??0,p=Math.max(...l.map(e=>t.get(e)?.width??0)),m=r.width-d-p;if(f>m)return u([...e],s),{frames:a,tabGroups:o,divider:null};let h=Math.min(m,Math.max(f,i.mainSize??r.width/2)),g={axis:`x`,position:h,min:f,max:m};a.set(c,{...s,width:h});let _={...s,x:h+d,width:r.width-h-d},v=l.map(e=>t.get(e)?.height??0).reduce((e,t)=>e+t,0)+d*(l.length-1);if(v>r.height)u(l,_);else{let e=(r.height-v)/l.length,n=0;for(let r of l){let i=(t.get(r)?.height??0)+e;a.set(r,{..._,y:n,height:i}),n+=i+d}}return{frames:a,tabGroups:o,divider:g}}function tD(e,t=!0,n){let r=(0,F.useRef)(e);r.current=e;let i=(0,F.useRef)(null);return(0,F.useEffect)(()=>(t||i.current?.release(!0),()=>i.current?.release(!0)),[t]),(0,F.useEffect)(()=>{let e=()=>{i.current?.release(!0)};return n?.addEventListener(`abort`,e),()=>{n?.removeEventListener(`abort`,e)}},[n]),{onPointerDown:e=>{if(!t||n?.aborted||i.current||e.pointerType===`mouse`&&e.button!==0)return;let{currentTarget:a,pointerId:o}=e;if(a.setPointerCapture(o),!r.current.begin(e)){a.releasePointerCapture(o);return}let s=r.current.end,c=()=>{l(!0)},l=e=>{a.removeEventListener(`lostpointercapture`,c),i.current=null,s(e),a.hasPointerCapture(o)&&a.releasePointerCapture(o)};i.current={id:o,element:a,x:e.clientX,y:e.clientY,release:l},a.addEventListener(`lostpointercapture`,c)},onPointerMove:e=>{let t=i.current;t?.id===e.pointerId&&(r.current.move(e.clientX-t.x,e.clientY-t.y,e),t.x=e.clientX,t.y=e.clientY)},onPointerUp:e=>{i.current?.id===e.pointerId&&i.current.release(!1)},onPointerCancel:e=>{i.current?.id===e.pointerId&&i.current.release(!0)}}}function nD(e,t){return e.x<20?e.y<20?`top-left`:e.y>t.height-20?`bottom-left`:`left`:e.x>t.width-20?e.y<20?`top-right`:e.y>t.height-20?`bottom-right`:`right`:null}var rD=(0,F.createContext)(null);function iD({bounds:e,tiling:t,containerRef:n,children:r}){let i=(0,F.useMemo)(ZE,[]);(0,F.useSyncExternalStore)(i.subscribe,()=>i.version,()=>i.version),(0,F.useEffect)(()=>()=>{i.destroy()},[i]);let a={...t};i.mainSize!==void 0&&(a.mainSize=i.mainSize);let o=t?QE(i.tiles,i.minima,i.order,e,a):{frames:new Map([...i.frames].filter(([e])=>i.participating.has(e)).map(([t,n])=>[t,YE(n,e,i.minima.get(t)??{width:0,height:0})])),tabGroups:[],divider:null};return i.zoomed&&i.participating.has(i.zoomed)&&(o.frames=new Map([[i.zoomed,{x:0,y:0,...e}]]),o.divider=null,o.tabGroups=[]),(0,R.jsx)(rD.Provider,{value:{state:i,bounds:e,tiled:t!==void 0,arrangement:o,containerRef:n},children:r})}function aD(){let e=(0,F.useContext)(rD);if(!e)throw Error(`Maosaico hooks must be used within MaosaicoRoot`);return e}function oD(){let{state:e,arrangement:t,tiled:n}=aD(),r=e.tiles,i=(0,F.useRef)({pointer:0,position:0}),a=t.divider,o=tD({begin:t=>!a||!e.beginDivider(t.pointerId)?!1:(i.current={pointer:t.pointerId,position:a.position},!0),move:(t,n)=>{a&&(i.current.position=Math.min(a.max,Math.max(a.min,i.current.position+(a.axis===`x`?t:n))),e.resizeMain(i.current.position))},end:t=>{e.finishDivider(i.current.pointer,t)}},a!==null);return{stackingStyle:{zIndex:e.order.length},mode:n?`tiled`:`floating`,order:r,interacting:e.gesture!==null,snapPreview:!n&&!e.zoomed&&e.gesture?.kind===`frame`?e.gesture.snap??null:null,activeId:e.order.at(-1)??null,zoomedId:e.zoomed,tabGroups:t.tabGroups,divider:a&&{...a,props:o},focus:e.focus,swap:e.swap,zoom:e.zoom,resizeMain:t=>{a&&e.resizeMain(Math.min(a.max,Math.max(a.min,t)))}}}function sD(e,t={}){let{state:n,bounds:r,tiled:i,arrangement:a,containerRef:o}=aD();(0,F.useEffect)(()=>(n.register(e.id,e.frame,e.minima),()=>{n.unregister(e.id)}),[n,e.id]),(0,F.useEffect)(()=>{n.setMinima(e.id,e.minima)},[n,e.id,e.minima.width,e.minima.height]);let s=t.participating??!0;(0,F.useLayoutEffect)(()=>{n.setParticipation(e.id,s)},[n,e.id,s]);let c=(0,F.useRef)(0),l=tD({begin:t=>!n.frames.has(e.id)||n.gesture?!1:(c.current=t.pointerId,n.begin(e.id,t.pointerId),!0),move:(i,a,s)=>{let l=o?.current?.getBoundingClientRect(),u=l&&t.kind!==`resize`?nD({x:s.clientX-l.left,y:s.clientY-l.top},r):null,d=YE(n.frames.get(e.id)??e.frame,r,e.minima);n.move(e.id,c.current,t.kind===`resize`?{...d,width:d.width+i,height:d.height+a}:{...d,x:d.x+i,y:d.y+a},r,e.minima,u)},end:t=>{t?n.cancel(e.id,c.current):n.end(e.id,c.current)}},s&&!i&&!n.zoomed);return{frame:a.frames.get(e.id)??n.frames.get(e.id)??e.frame,stackingStyle:{zIndex:Math.max(0,n.order.indexOf(e.id))},visible:a.frames.has(e.id),active:s&&n.order.at(-1)===e.id,props:l,focus:()=>{s&&n.focus(e.id)},snap:t=>{s&&!i&&n.snap(e.id,t,r,e.minima)},restore:()=>{s&&!i&&n.restoreFrame(e.id,r,e.minima)}}}var cD=(0,F.createContext)(null);(0,F.forwardRef)(function({layer:e,style:t,children:n,...r},i){let a=(0,F.useContext)(cD),o=a?.update,s=a?.roots.get(`dialog`),[c,l]=(0,F.useState)(!1);(0,F.useEffect)(()=>{if(!s)return;let e=()=>{l(Array.from(s.querySelectorAll(`*`)).some(e=>{let t=e.getBoundingClientRect();return t.width>0&&t.height>0}))};e();let t=new MutationObserver(e);return t.observe(s,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[s]);let u=(0,F.useRef)(null);(0,F.useImperativeHandle)(i,()=>u.current);let d=(0,F.useCallback)(t=>{u.current=t,o?.(e,t)},[o,e]);return(0,F.createElement)(`div`,{...r,ref:d,onFocusCapture:t=>{e===`windows`&&t.target instanceof Node&&t.currentTarget.contains(t.target)&&a?.dismiss?.(),r.onFocusCapture?.(t)},"data-maosaico-layer":e,inert:e===`windows`&&c?``:void 0,style:{position:`relative`,...t,isolation:`isolate`,zIndex:`var(--stipe-layer-${e})`}},n)});var lD=pg(OS.fields.id);function uD(e,t){let n=p_(),r=e?.context.get().computerId!=null&&e.capabilities.has(kS),i=iS.of(e,`processes`),a=iv({...aS(e,kS,i,e=>e.list()),enabled:r,refetchInterval:t?1e4:!1}),o=r?e.capabilities.require(kS):null,s=sv({mutationKey:i,mutationFn:e=>{if(!o)throw new i_(`Processes are not granted`,{code:`CAPABILITY_DENIED`,retryable:!1});return o.kill(e)},onSettled:()=>n.invalidateQueries({queryKey:i,exact:!0})}),c=(0,F.useRef)(null),l=sv({mutationKey:iS.of(e,`process-start`),mutationFn:e=>{if(!o)throw new i_(`Processes are not granted`,{code:`CAPABILITY_DENIED`,retryable:!1});return o.start(e)},onSettled:()=>Promise.all([n.invalidateQueries({queryKey:i,exact:!0}),n.invalidateQueries({queryKey:iS.of(e,`ports`),exact:!0})])});async function u(e){let t=JSON.stringify(e),n=c.current?.input===t?c.current:{input:t,requestId:sle()};c.current=n;try{return await l.mutateAsync({...e,requestId:n.requestId}),c.current===n&&(c.current=null),!0}catch(e){return console.error(`Shed process start failed`,Tp(e)),!1}}let d=ov({filters:{mutationKey:i,exact:!0},select:({state:e})=>({id:Bu(lD(e.variables)),status:e.status})}),f=new Map;for(let{id:e,status:t}of d)e!==null&&(t===`pending`?f.set(e,`stopping`):t===`error`?f.set(e,`failed`):f.delete(e));return{query:a,stop:s,actions:f,enabled:r,startCommand:u}}var dD=pg(L({port:ES.fields.port,expose:Tg}));function fD(e,t){let n=p_(),r=e?.context.get().computerId!=null&&e.capabilities.has(DS),i=iS.of(e,`ports`),a=iv({...aS(e,DS,i,()=>{if(!e)throw new i_(`No App connection`,{code:`DISCONNECTED`,retryable:!0});return Hle(e.capabilities)}),enabled:r,refetchInterval:e=>t&&!(e.state.data&&`error`in e.state.data)?1e4:!1}),o=r?e.capabilities.require(DS):null,s=sv({mutationKey:i,mutationFn:async({port:e,expose:t})=>{if(!o)throw new i_(`Ports are not granted`,{code:`CAPABILITY_DENIED`,retryable:!1});t?await o.expose(e):await o.unexpose(e)},onSettled:()=>n.invalidateQueries({queryKey:i,exact:!0})}),c=ov({filters:{mutationKey:i,exact:!0},select:({state:e})=>({change:Bu(dD(e.variables)),status:e.status})}),l=new Map;for(let{change:e,status:t}of c)e&&(t===`pending`||t===`error`?l.set(e.port,{expose:e.expose,status:t===`pending`?`pending`:`failed`}):l.delete(e.port));return{query:a,enabled:r,status:r?a.isPending?`loading`:a.isError?`error`:`error`in a.data?`not-configured`:a.isFetching?`loading`:`loaded`:`unavailable`,actions:l,ports:r&&a.data&&`ports`in a.data?a.data.ports:null,change:async(e,t)=>{try{return await s.mutateAsync({port:e,expose:t}),!0}catch{return!1}}}}var pD=(0,F.createContext)(null);function mD(){let e=(0,F.useContext)(pD);if(!e)throw Error(`Shed data requires a workspace provider`);return e}function hD(e,t){console.error(JSON.stringify({source:`shed`,operation:e,failureKind:t instanceof Error?t.name:`NonErrorThrown`}),Tp(t))}var gD=o((e=>{(function(){var t={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function n(e){return i(o(e),arguments)}function r(e,t){return n.apply(null,[e].concat(t||[]))}function i(e,r){var i=1,a=e.length,o,s=``,c,l,u,d,f,p,m,h;for(c=0;c<a;c++)if(typeof e[c]==`string`)s+=e[c];else if(typeof e[c]==`object`){if(u=e[c],u.keys)for(o=r[i],l=0;l<u.keys.length;l++){if(o==null)throw Error(n(`[sprintf] Cannot access property "%s" of undefined value "%s"`,u.keys[l],u.keys[l-1]));o=o[u.keys[l]]}else o=u.param_no?r[u.param_no]:r[i++];if(t.not_type.test(u.type)&&t.not_primitive.test(u.type)&&o instanceof Function&&(o=o()),t.numeric_arg.test(u.type)&&typeof o!=`number`&&isNaN(o))throw TypeError(n(`[sprintf] expecting number but found %T`,o));switch(t.number.test(u.type)&&(m=o>=0),u.type){case`b`:o=parseInt(o,10).toString(2);break;case`c`:o=String.fromCharCode(parseInt(o,10));break;case`d`:case`i`:o=parseInt(o,10);break;case`j`:o=JSON.stringify(o,null,u.width?parseInt(u.width):0);break;case`e`:o=u.precision?parseFloat(o).toExponential(u.precision):parseFloat(o).toExponential();break;case`f`:o=u.precision?parseFloat(o).toFixed(u.precision):parseFloat(o);break;case`g`:o=u.precision?String(Number(o.toPrecision(u.precision))):parseFloat(o);break;case`o`:o=(parseInt(o,10)>>>0).toString(8);break;case`s`:o=String(o),o=u.precision?o.substring(0,u.precision):o;break;case`t`:o=String(!!o),o=u.precision?o.substring(0,u.precision):o;break;case`T`:o=Object.prototype.toString.call(o).slice(8,-1).toLowerCase(),o=u.precision?o.substring(0,u.precision):o;break;case`u`:o=parseInt(o,10)>>>0;break;case`v`:o=o.valueOf(),o=u.precision?o.substring(0,u.precision):o;break;case`x`:o=(parseInt(o,10)>>>0).toString(16);break;case`X`:o=(parseInt(o,10)>>>0).toString(16).toUpperCase()}t.json.test(u.type)?s+=o:(t.number.test(u.type)&&(!m||u.sign)?(h=m?`+`:`-`,o=o.toString().replace(t.sign,``)):h=``,f=u.pad_char?u.pad_char===`0`?`0`:u.pad_char.charAt(1):` `,p=u.width-(h+o).length,d=u.width&&p>0?f.repeat(p):``,s+=u.align?h+o+d:f===`0`?h+d+o:d+h+o)}return s}var a=Object.create(null);function o(e){if(a[e])return a[e];for(var n=e,r,i=[],o=0;n;){if((r=t.text.exec(n))!==null)i.push(r[0]);else if((r=t.modulo.exec(n))!==null)i.push(`%`);else if((r=t.placeholder.exec(n))!==null){if(r[2]){o|=1;var s=[],c=r[2],l=[];if((l=t.key.exec(c))!==null)for(s.push(l[1]);(c=c.substring(l[0].length))!==``;)if((l=t.key_access.exec(c))!==null)s.push(l[1]);else if((l=t.index_access.exec(c))!==null)s.push(l[1]);else throw SyntaxError(`[sprintf] failed to parse named argument key`);else throw SyntaxError(`[sprintf] failed to parse named argument key`);r[2]=s}else o|=2;if(o===3)throw Error(`[sprintf] mixing positional and named placeholders is not (yet) supported`);i.push({placeholder:r[0],param_no:r[1],keys:r[2],sign:r[3],pad_char:r[4],align:r[5],width:r[6],precision:r[7],type:r[8]})}else throw SyntaxError(`[sprintf] unexpected placeholder`);n=n.substring(r[0].length)}return a[e]=i}e!==void 0&&(e.sprintf=n,e.vsprintf=r),typeof window<`u`&&(window.sprintf=n,window.vsprintf=r,typeof define==`function`&&define.amd&&define(function(){return{sprintf:n,vsprintf:r}}))})()}))(),_D=(e,t,n)=>{let r=e instanceof RegExp?vD(e,n):e,i=t instanceof RegExp?vD(t,n):t,a=r!==null&&i!=null&&yD(r,i,n);return a&&{start:a[0],end:a[1],pre:n.slice(0,a[0]),body:n.slice(a[0]+r.length,a[1]),post:n.slice(a[1]+i.length)}},vD=(e,t)=>{let n=t.match(e);return n?n[0]:null},yD=(e,t,n)=>{let r,i,a,o,s,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){if(e===t)return[c,l];for(r=[],a=n.length;u>=0&&!s;){if(u===c)r.push(u),c=n.indexOf(e,u+1);else if(r.length===1){let e=r.pop();e!==void 0&&(s=[e,l])}else i=r.pop(),i!==void 0&&i<a&&(a=i,o=l),l=n.indexOf(t,u+1);u=c<l&&c>=0?c:l}r.length&&o!==void 0&&(s=[a,o])}return s},bD=`\0SLASH`+Math.random()+`\0`,xD=`\0OPEN`+Math.random()+`\0`,SD=`\0CLOSE`+Math.random()+`\0`,CD=`\0COMMA`+Math.random()+`\0`,wD=`\0PERIOD`+Math.random()+`\0`,upe=new RegExp(bD,`g`),dpe=new RegExp(xD,`g`),fpe=new RegExp(SD,`g`),ppe=new RegExp(CD,`g`),mpe=new RegExp(wD,`g`),hpe=/\\\\/g,gpe=/\\{/g,_pe=/\\}/g,vpe=/\\,/g,ype=/\\\./g,bpe=1e5,xpe=4e6;function TD(e){return isNaN(e)?e.charCodeAt(0):parseInt(e,10)}function Spe(e){return e.replace(hpe,bD).replace(gpe,xD).replace(_pe,SD).replace(vpe,CD).replace(ype,wD)}function Cpe(e){return e.replace(upe,`\\`).replace(dpe,`{`).replace(fpe,`}`).replace(ppe,`,`).replace(mpe,`.`)}function ED(e){if(!e)return[``];let t=[],n=_D(`{`,`}`,e);if(!n)return e.split(`,`);let{pre:r,body:i,post:a}=n,o=r.split(`,`);o[o.length-1]+=`{`+i+`}`;let s=ED(a);return a.length&&(o[o.length-1]+=s.shift(),o.push.apply(o,s)),t.push.apply(t,o),t}function wpe(e,t={}){if(!e)return[];let{max:n=bpe,maxLength:r=xpe}=t;return e.slice(0,2)===`{}`&&(e=`\\{\\}`+e.slice(2)),OD(Spe(e),n,r,!0).map(Cpe)}function Tpe(e){return`{`+e+`}`}function Epe(e){return/^-?0\d/.test(e)}function Dpe(e,t){return e<=t}function Ope(e,t){return e>=t}function DD(e,t,n,r,i,a){let o=[],s=0;for(let c=0;c<e.length;c++)for(let l=0;l<n.length;l++){if(o.length>=r)return o;let u=e[c]+t+n[l];if(!(a&&!u)){if(s+u.length>i)return o;o.push(u),s+=u.length}}return o}function kpe(e,t,n,r){let i=e.split(/\.\./),a=[];if(i[0]===void 0||i[1]===void 0)return a;let o=TD(i[0]),s=TD(i[1]),c=Math.max(i[0].length,i[1].length),l=i.length===3&&i[2]!==void 0?Math.max(Math.abs(TD(i[2])),1):1,u=Dpe;s<o&&(l*=-1,u=Ope);let d=i.some(Epe),f=0;for(let e=o;u(e,s)&&a.length<n;e+=l){let n;if(t)n=String.fromCharCode(e),n===`\\`&&(n=``);else if(n=String(e),d){let t=c-n.length;if(t>0){let r=Array(t+1).join(`0`);n=e<0?`-`+r+n.slice(1):r+n}}if(f+n.length>r)break;a.push(n),f+=n.length}return a}function OD(e,t,n,r){let i=[``],a=!1,o=!0;for(;;){let s=_D(`{`,`}`,e);if(!s)return DD(i,e,[``],t,n,a);let c=s.pre;if(/\$$/.test(c)){if(i=DD(i,c+`{`+s.body+`}`,[``],t,n,a&&!s.post.length),o=!1,!s.post.length)break;e=s.post;continue}let l=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),d=l||u,f=s.body.indexOf(`,`)>=0;if(!d&&!f){if(s.post.match(/,(?!,).*\}/)){e=s.pre+`{`+s.body+SD+s.post,r=!0;continue}return DD(i,c+`{`+s.body+`}`+s.post,[``],t,n,a)}o&&=(a=r&&!d,!1);let p;if(d)p=kpe(s.body,u,t,n);else{let r=ED(s.body);if(r.length===1&&r[0]!==void 0&&(r=OD(r[0],t,n,!1).map(Tpe),r.length===1)){if(i=DD(i,c+r[0],[``],t,n,a&&!s.post.length),!s.post.length)break;e=s.post;continue}let o=a&&!s.post.length&&!c;for(let e=0;o&&e<i.length;e++)i[e]&&(o=!1);p=[];let l=0;outer:for(let e=0;e<r.length;e++){let i=OD(r[e],t,n,!1);for(let e=0;e<i.length;e++){let r=i[e];if(!(o&&!r)){if(p.length>=t||l+r.length>n)break outer;p.push(r),l+=r.length}}}}if(i=DD(i,c,p,t,n,a&&!s.post.length),!s.post.length)break;e=s.post}return i}var Ape=65536,kD=e=>{if(typeof e!=`string`)throw TypeError(`invalid pattern`);if(e.length>Ape)throw TypeError(`pattern is too long`)},jpe={"[:alnum:]":[`\\p{L}\\p{Nl}\\p{Nd}`,!0],"[:alpha:]":[`\\p{L}\\p{Nl}`,!0],"[:ascii:]":[`\\x00-\\x7f`,!1],"[:blank:]":[`\\p{Zs}\\t`,!0],"[:cntrl:]":[`\\p{Cc}`,!0],"[:digit:]":[`\\p{Nd}`,!0],"[:graph:]":[`\\p{Z}\\p{C}`,!0,!0],"[:lower:]":[`\\p{Ll}`,!0],"[:print:]":[`\\p{C}`,!0],"[:punct:]":[`\\p{P}`,!0],"[:space:]":[`\\p{Z}\\t\\r\\n\\v\\f`,!0],"[:upper:]":[`\\p{Lu}`,!0],"[:word:]":[`\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}`,!0],"[:xdigit:]":[`A-Fa-f0-9`,!1]},AD=e=>e.replace(/[[\]\\-]/g,`\\$&`),Mpe=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),jD=e=>e.join(``),Npe=(e,t)=>{let n=t;if(e.charAt(n)!==`[`)throw Error(`not in a brace expression`);let r=[],i=[],a=n+1,o=!1,s=!1,c=!1,l=!1,u=n,d=``;WHILE:for(;a<e.length;){let t=e.charAt(a);if((t===`!`||t===`^`)&&a===n+1){l=!0,a++;continue}if(t===`]`&&o&&!c){u=a+1;break}if(o=!0,t===`\\`&&!c){c=!0,a++;continue}if(t===`[`&&!c){for(let[t,[o,c,l]]of Object.entries(jpe))if(e.startsWith(t,a)){if(d)return[`$.`,!1,e.length-n,!0];a+=t.length,l?i.push(o):r.push(o),s||=c;continue WHILE}}if(c=!1,d){t>d?r.push(AD(d)+`-`+AD(t)):t===d&&r.push(AD(t)),d=``,a++;continue}if(e.startsWith(`-]`,a+1)){r.push(AD(t+`-`)),a+=2;continue}if(e.startsWith(`-`,a+1)){d=t,a+=2;continue}r.push(AD(t)),a++}if(u<a)return[``,!1,0,!1];if(!r.length&&!i.length)return[`$.`,!1,e.length-n,!0];if(i.length===0&&r.length===1&&/^\\?.$/.test(r[0])&&!l)return[Mpe(r[0].length===2?r[0].slice(-1):r[0]),!1,u-n,!1];let f=`[`+(l?`^`:``)+jD(r)+`]`,p=`[`+(l?``:`^`)+jD(i)+`]`;return[r.length&&i.length?`(`+f+`|`+p+`)`:r.length?f:p,s,u-n,!0]},MD=(e,{windowsPathsNoEscape:t=!1,magicalBraces:n=!0}={})=>n?t?e.replace(/\[([^/\\])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^/\\])\]/g,`$1$2`).replace(/\\([^/])/g,`$1`):t?e.replace(/\[([^/\\{}])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^/\\{}])\]/g,`$1$2`).replace(/\\([^/{}])/g,`$1`),ND,Ppe=new Set([`!`,`?`,`+`,`*`,`@`]),PD=e=>Ppe.has(e),FD=e=>PD(e.type),Fpe=new Map([[`!`,[`@`]],[`?`,[`?`,`@`]],[`@`,[`@`]],[`*`,[`*`,`+`,`?`,`@`]],[`+`,[`+`,`@`]]]),Ipe=new Map([[`!`,[`?`]],[`@`,[`?`]],[`+`,[`?`,`*`]]]),Lpe=new Map([[`!`,[`?`,`@`]],[`?`,[`?`,`@`]],[`@`,[`?`,`@`]],[`*`,[`*`,`+`,`?`,`@`]],[`+`,[`+`,`@`,`?`,`*`]]]),ID=new Map([[`!`,new Map([[`!`,`@`]])],[`?`,new Map([[`*`,`*`],[`+`,`*`]])],[`@`,new Map([[`!`,`!`],[`?`,`?`],[`@`,`@`],[`*`,`*`],[`+`,`+`]])],[`+`,new Map([[`?`,`*`],[`*`,`*`]])]]),Rpe=`(?!(?:^|/)\\.\\.?(?:$|/))`,LD=`(?!\\.)`,zpe=new Set([`[`,`.`]),Bpe=new Set([`..`,`.`]),Vpe=new Set(`().*{}+?[]^$\\!`),Hpe=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),Upe=`[^/]`,Wpe=`[^/]*?`,RD=`[^/]+?`,Gpe=0,zD=class{type;#e;#t;#n=!1;#r=[];#i;#a;#o;#s=!1;#c;#l;#u=!1;id=++Gpe;get depth(){return(this.#i?.depth??-1)+1}[Symbol.for(`nodejs.util.inspect.custom`)](){return{"@@type":`AST`,id:this.id,type:this.type,root:this.#e.id,parent:this.#i?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,t,n={}){this.type=e,e&&(this.#t=!0),this.#i=t,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#o=this.#e===this?[]:this.#e.#o,e===`!`&&!this.#e.#s&&this.#o.push(this),this.#a=this.#i?this.#i.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!=`string`&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#l===void 0?this.#l=this.type?this.type+`(`+this.#r.map(e=>String(e)).join(`|`)+`)`:this.#r.map(e=>String(e)).join(``):this.#l}#d(){if(this!==this.#e)throw Error(`should only call on root`);if(this.#s)return this;this.toString(),this.#s=!0;let e;for(;e=this.#o.pop();){if(e.type!==`!`)continue;let t=e,n=t.#i;for(;n;){for(let r=t.#a+1;!n.type&&r<n.#r.length;r++)for(let t of e.#r){if(typeof t==`string`)throw Error(`string part in extglob AST??`);t.copyIn(n.#r[r])}t=n,n=t.#i}}return this}push(...e){for(let t of e)if(t!==``){if(typeof t!=`string`&&!(t instanceof ND&&t.#i===this))throw Error(`invalid part: `+t);this.#r.push(t)}}toJSON(){let e=this.type===null?this.#r.slice().map(e=>typeof e==`string`?e:e.toJSON()):[this.type,...this.#r.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#s&&this.#i?.type===`!`)&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#a===0)return!0;let e=this.#i;for(let t=0;t<this.#a;t++){let n=e.#r[t];if(!(n instanceof ND&&n.type===`!`))return!1}return!0}isEnd(){if(this.#e===this||this.#i?.type===`!`)return!0;if(!this.#i?.isEnd())return!1;if(!this.type)return this.#i?.isEnd();let e=this.#i?this.#i.#r.length:0;return this.#a===e-1}copyIn(e){typeof e==`string`?this.push(e):this.push(e.clone(this))}clone(e){let t=new ND(this.type,e);for(let e of this.#r)t.copyIn(e);return t}static#f(e,t,n,r,i){let a=r.maxExtglobRecursion??2,o=!1,s=!1,c=-1,l=!1;if(t.type===null){let u=n,d=``;for(;u<e.length;){let n=e.charAt(u++);if(o||n===`\\`){o=!o,d+=n;continue}if(s){u===c+1?(n===`^`||n===`!`)&&(l=!0):n===`]`&&!(u===c+2&&l)&&(s=!1),d+=n;continue}if(n===`[`){s=!0,c=u,l=!1,d+=n;continue}if(!r.noext&&PD(n)&&e.charAt(u)===`(`&&i<=a){t.push(d),d=``;let a=new ND(n,t);u=ND.#f(e,a,u,r,i+1),t.push(a);continue}d+=n}return t.push(d),u}let u=n+1,d=new ND(null,t),f=[],p=``;for(;u<e.length;){let n=e.charAt(u++);if(o||n===`\\`){o=!o,p+=n;continue}if(s){u===c+1?(n===`^`||n===`!`)&&(l=!0):n===`]`&&!(u===c+2&&l)&&(s=!1),p+=n;continue}if(n===`[`){s=!0,c=u,l=!1,p+=n;continue}if(!r.noext&&PD(n)&&e.charAt(u)===`(`&&(i<=a||t&&t.#h(n))){let a=t&&t.#h(n)?0:1;d.push(p),p=``;let o=new ND(n,d);d.push(o),u=ND.#f(e,o,u,r,i+a);continue}if(n===`|`){d.push(p),p=``,f.push(d),d=new ND(null,t);continue}if(n===`)`)return p===``&&t.#r.length===0&&(t.#u=!0),d.push(p),p=``,t.push(...f,d),u;p+=n}return t.type=null,t.#t=void 0,t.#r=[e.substring(n-1)],u}#p(e){return this.#m(e,Ipe)}#m(e,t=Fpe){if(!e||typeof e!=`object`||e.type!==null||e.#r.length!==1||this.type===null)return!1;let n=e.#r[0];return!n||typeof n!=`object`||n.type===null?!1:this.#h(n.type,t)}#h(e,t=Lpe){return!!t.get(this.type)?.includes(e)}#g(e,t){let n=e.#r[0],r=new ND(null,n,this.options);r.#r.push(``),n.push(r),this.#_(e,t)}#_(e,t){let n=e.#r[0];this.#r.splice(t,1,...n.#r);for(let e of n.#r)typeof e==`object`&&(e.#i=this);this.#l=void 0}#v(e){return!!ID.get(this.type)?.has(e)}#y(e){if(!e||typeof e!=`object`||e.type!==null||e.#r.length!==1||this.type===null||this.#r.length!==1)return!1;let t=e.#r[0];return!t||typeof t!=`object`||t.type===null?!1:this.#v(t.type)}#b(e){let t=ID.get(this.type),n=e.#r[0],r=t?.get(n.type);if(!r)return!1;this.#r=n.#r;for(let e of this.#r)typeof e==`object`&&(e.#i=this);this.type=r,this.#l=void 0,this.#u=!1}static fromGlob(e,t={}){let n=new ND(null,void 0,t);return ND.#f(e,n,0,t,0),n}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[t,n,r,i]=this.toRegExpSource();if(!(r||this.#t||this.#c.nocase&&!this.#c.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;let a=(this.#c.nocase?`i`:``)+(i?`u`:``);return Object.assign(RegExp(`^${t}$`,a),{_src:t,_glob:e})}get options(){return this.#c}toRegExpSource(e){let t=e??!!this.#c.dot;if(this.#e===this&&(this.#x(),this.#d()),!FD(this)){let n=this.isStart()&&this.isEnd()&&!this.#r.some(e=>typeof e!=`string`),r=this.#r.map(t=>{let[r,i,a,o]=typeof t==`string`?ND.#C(t,this.#t,n):t.toRegExpSource(e);return this.#t=this.#t||a,this.#n=this.#n||o,r}).join(``),i=``;if(this.isStart()&&typeof this.#r[0]==`string`&&!(this.#r.length===1&&Bpe.has(this.#r[0]))){let n=zpe,a=t&&n.has(r.charAt(0))||r.startsWith(`\\.`)&&n.has(r.charAt(2))||r.startsWith(`\\.\\.`)&&n.has(r.charAt(4)),o=!t&&!e&&n.has(r.charAt(0));i=a?Rpe:o?LD:``}let a=``;return this.isEnd()&&this.#e.#s&&this.#i?.type===`!`&&(a=`(?:$|\\/)`),[i+r+a,MD(r),this.#t=!!this.#t,this.#n]}let n=this.type===`*`||this.type===`+`,r=this.type===`!`?`(?:(?!(?:`:`(?:`,i=this.#S(t);if(this.isStart()&&this.isEnd()&&!i&&this.type!==`!`){let e=this.toString(),t=this;return t.#r=[e],t.type=null,t.#t=void 0,[e,MD(this.toString()),!1,!1]}let a=!n||e||t?``:this.#S(!0);a===i&&(a=``),a&&(i=`(?:${i})(?:${a})*?`);let o=``;if(this.type===`!`&&this.#u)o=(this.isStart()&&!t?LD:``)+RD;else{let n=this.type===`!`?`))`+(this.isStart()&&!t&&!e?LD:``)+`[^/]*?)`:this.type===`@`?`)`:this.type===`?`?`)?`:this.type===`+`&&a?`)`:this.type===`*`&&a?`)?`:`)${this.type}`;o=r+i+n}return[o,MD(i),this.#t=!!this.#t,this.#n]}#x(){if(FD(this)){let e=0,t=!1;do{t=!0;for(let e=0;e<this.#r.length;e++){let n=this.#r[e];typeof n==`object`&&(n.#x(),this.#m(n)?(t=!1,this.#_(n,e)):this.#p(n)?(t=!1,this.#g(n,e)):this.#y(n)&&(t=!1,this.#b(n)))}}while(!t&&++e<10)}else for(let e of this.#r)typeof e==`object`&&e.#x();this.#l=void 0}#S(e){return this.#r.map(t=>{if(typeof t==`string`)throw Error(`string type in extglob ast??`);let[n,r,i,a]=t.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join(`|`)}static#C(e,t,n=!1){let r=!1,i=``,a=!1,o=!1;for(let s=0;s<e.length;s++){let c=e.charAt(s);if(r){r=!1,i+=(Vpe.has(c)?`\\`:``)+c;continue}if(c===`*`){if(o)continue;o=!0,i+=n&&/^[*]+$/.test(e)?RD:Wpe,t=!0;continue}if(o=!1,c===`\\`){s===e.length-1?i+=`\\\\`:r=!0;continue}if(c===`[`){let[n,r,o,c]=Npe(e,s);if(o){i+=n,a||=r,s+=o-1,t||=c;continue}}if(c===`?`){i+=Upe,t=!0;continue}i+=Hpe(c)}return[i,MD(e),!!t,a]}};ND=zD;var Kpe=(e,{windowsPathsNoEscape:t=!1,magicalBraces:n=!1}={})=>n?t?e.replace(/[?*()[\]{}]/g,`[$&]`):e.replace(/[?*()[\]\\{}]/g,`\\$&`):t?e.replace(/[?*()[\]]/g,`[$&]`):e.replace(/[?*()[\]\\]/g,`\\$&`),BD=(e,t,n={})=>(kD(t),!n.nocomment&&t.charAt(0)===`#`?!1:new YD(t,n).match(e)),qpe=/^\*+([^+@!?*[(]*)$/,Jpe=e=>t=>!t.startsWith(`.`)&&t.endsWith(e),Ype=e=>t=>t.endsWith(e),Xpe=e=>(e=e.toLowerCase(),t=>!t.startsWith(`.`)&&t.toLowerCase().endsWith(e)),Zpe=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),Qpe=/^\*+\.\*+$/,$pe=e=>!e.startsWith(`.`)&&e.includes(`.`),eme=e=>e!==`.`&&e!==`..`&&e.includes(`.`),tme=/^\.\*+$/,nme=e=>e!==`.`&&e!==`..`&&e.startsWith(`.`),rme=/^\*+$/,ime=e=>e.length!==0&&!e.startsWith(`.`),ame=e=>e.length!==0&&e!==`.`&&e!==`..`,ome=/^\?+([^+@!?*[(]*)?$/,sme=([e,t=``])=>{let n=VD([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},cme=([e,t=``])=>{let n=HD([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},lme=([e,t=``])=>{let n=HD([e]);return t?e=>n(e)&&e.endsWith(t):n},ume=([e,t=``])=>{let n=VD([e]);return t?e=>n(e)&&e.endsWith(t):n},VD=([e])=>{let t=e.length;return e=>e.length===t&&!e.startsWith(`.`)},HD=([e])=>{let t=e.length;return e=>e.length===t&&e!==`.`&&e!==`..`},UD=typeof process==`object`&&process?{}.__MINIMATCH_TESTING_PLATFORM__||process.platform:`posix`,WD={win32:{sep:`\\`},posix:{sep:`/`}};BD.sep=UD===`win32`?WD.win32.sep:WD.posix.sep;var GD=Symbol(`globstar **`);BD.GLOBSTAR=GD;var dme=`[^/]*?`,fme=`(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?`,pme=`(?:(?!(?:\\/|^)\\.).)*?`;BD.filter=(e,t={})=>n=>BD(n,e,t);var KD=(e,t={})=>Object.assign({},e,t);BD.defaults=e=>{if(!e||typeof e!=`object`||!Object.keys(e).length)return BD;let t=BD;return Object.assign((n,r,i={})=>t(n,r,KD(e,i)),{Minimatch:class extends t.Minimatch{constructor(t,n={}){super(t,KD(e,n))}static defaults(n){return t.defaults(KD(e,n)).Minimatch}},AST:class extends t.AST{constructor(t,n,r={}){super(t,n,KD(e,r))}static fromGlob(n,r={}){return t.AST.fromGlob(n,KD(e,r))}},unescape:(n,r={})=>t.unescape(n,KD(e,r)),escape:(n,r={})=>t.escape(n,KD(e,r)),filter:(n,r={})=>t.filter(n,KD(e,r)),defaults:n=>t.defaults(KD(e,n)),makeRe:(n,r={})=>t.makeRe(n,KD(e,r)),braceExpand:(n,r={})=>t.braceExpand(n,KD(e,r)),match:(n,r,i={})=>t.match(n,r,KD(e,i)),sep:t.sep,GLOBSTAR:GD})};var qD=(e,t={})=>(kD(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:wpe(e,{max:t.braceExpandMax}));BD.braceExpand=qD,BD.makeRe=(e,t={})=>new YD(e,t).makeRe(),BD.match=(e,t,n={})=>{let r=new YD(t,n);return e=e.filter(e=>r.match(e)),r.options.nonull&&!e.length&&e.push(t),e};var JD=/[?*]|[+@!]\(.*?\)|\[|\]/,mme=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),YD=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,t={}){kD(e),t||={},this.options=t,this.maxGlobstarRecursion=t.maxGlobstarRecursion??200,this.pattern=e,this.platform=t.platform||UD,this.isWindows=this.platform===`win32`,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,`/`)),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot===void 0?!!(this.isWindows&&this.nocase):t.windowsNoMagicRoot,this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!=`string`)return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)===`#`){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...e)=>console.error(...e)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let r=this.globParts.map((e,t,n)=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=e[0]===``&&e[1]===``&&(e[2]===`?`||!JD.test(e[2]))&&!JD.test(e[3]),n=/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(n)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>e.indexOf(!1)===-1),this.isWindows)for(let e=0;e<this.set.length;e++){let t=this.set[e];t[0]===``&&t[1]===``&&this.globParts[e][2]===`?`&&typeof t[3]==`string`&&/^[a-z]:$/i.test(t[3])&&(t[2]=`?`)}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let t of e)for(let e=0;e<t.length;e++)t[e]===`**`&&(t[e]=`*`);let{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=t>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(e=>{let t=-1;for(;(t=e.indexOf(`**`,t+1))!==-1;){let n=t;for(;e[n+1]===`**`;)n++;n!==t&&e.splice(t,n-t)}return e})}levelOneOptimize(e){return e.map(e=>(e=e.reduce((e,t)=>{let n=e[e.length-1];return t===`**`&&n===`**`?e:t===`..`&&n&&n!==`..`&&n!==`.`&&n!==`**`?(e.pop(),e):(e.push(t),e)},[]),e.length===0?[``]:e))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let n=1;n<e.length-1;n++){let r=e[n];(n!==1||r!==``||e[0]!==``)&&(r===`.`||r===``)&&(t=!0,e.splice(n,1),n--)}e[0]===`.`&&e.length===2&&(e[1]===`.`||e[1]===``)&&(t=!0,e.pop())}let n=0;for(;(n=e.indexOf(`..`,n+1))!==-1;){let r=e[n-1];r&&r!==`.`&&r!==`..`&&r!==`**`&&!(this.isWindows&&/^[a-z]:$/i.test(r))&&(t=!0,e.splice(n-1,2),n-=2)}}while(t);return e.length===0?[``]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let n of e){let r=-1;for(;(r=n.indexOf(`**`,r+1))!==-1;){let i=r;for(;n[i+1]===`**`;)i++;i>r&&n.splice(r+1,i-r);let a=n[r+1],o=n[r+2],s=n[r+3];if(a!==`..`||!o||o===`.`||o===`..`||!s||s===`.`||s===`..`)continue;t=!0,n.splice(r,1);let c=n.slice(0);c[r]=`**`,e.push(c),r--}if(!this.preserveMultipleSlashes){for(let e=1;e<n.length-1;e++){let r=n[e];(e!==1||r!==``||n[0]!==``)&&(r===`.`||r===``)&&(t=!0,n.splice(e,1),e--)}n[0]===`.`&&n.length===2&&(n[1]===`.`||n[1]===``)&&(t=!0,n.pop())}let i=0;for(;(i=n.indexOf(`..`,i+1))!==-1;){let e=n[i-1];if(e&&e!==`.`&&e!==`..`&&e!==`**`){t=!0;let e=i===1&&n[i+1]===`**`?[`.`]:[];n.splice(i-1,2,...e),n.length===0&&n.push(``),i-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let n=t+1;n<e.length;n++){let r=this.partsMatch(e[t],e[n],!this.preserveMultipleSlashes);if(r){e[t]=[],e[n]=r;break}}return e.filter(e=>e.length)}partsMatch(e,t,n=!1){let r=0,i=0,a=[],o=``;for(;r<e.length&&i<t.length;)if(e[r]===t[i])a.push(o===`b`?t[i]:e[r]),r++,i++;else if(n&&e[r]===`**`&&t[i]===e[r+1])a.push(e[r]),r++;else if(n&&t[i]===`**`&&e[r]===t[i+1])a.push(t[i]),i++;else if(e[r]===`*`&&t[i]&&(this.options.dot||!t[i].startsWith(`.`))&&t[i]!==`**`){if(o===`b`)return!1;o=`a`,a.push(e[r]),r++,i++}else if(t[i]===`*`&&e[r]&&(this.options.dot||!e[r].startsWith(`.`))&&e[r]!==`**`){if(o===`a`)return!1;o=`b`,a.push(t[i]),r++,i++}else return!1;return e.length===t.length&&a}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,n=0;for(let r=0;r<e.length&&e.charAt(r)===`!`;r++)t=!t,n++;n&&(this.pattern=e.slice(n)),this.negate=t}matchOne(e,t,n=!1){let r=0,i=0;if(this.isWindows){let n=typeof e[0]==`string`&&/^[a-z]:$/i.test(e[0]),a=!n&&e[0]===``&&e[1]===``&&e[2]===`?`&&/^[a-z]:$/i.test(e[3]),o=typeof t[0]==`string`&&/^[a-z]:$/i.test(t[0]),s=!o&&t[0]===``&&t[1]===``&&t[2]===`?`&&typeof t[3]==`string`&&/^[a-z]:$/i.test(t[3]),c=a?3:n?0:void 0,l=s?3:o?0:void 0;if(typeof c==`number`&&typeof l==`number`){let[n,a]=[e[c],t[l]];n.toLowerCase()===a.toLowerCase()&&(t[l]=n,i=l,r=c)}}let{optimizationLevel:a=1}=this.options;return a>=2&&(e=this.levelTwoFileOptimize(e)),t.includes(GD)?this.#e(e,t,n,r,i):this.#n(e,t,n,r,i)}#e(e,t,n,r,i){let a=t.indexOf(GD,i),o=t.lastIndexOf(GD),[s,c,l]=n?[t.slice(i,a),t.slice(a+1),[]]:[t.slice(i,a),t.slice(a+1,o),t.slice(o+1)];if(s.length){let t=e.slice(r,r+s.length);if(!this.#n(t,s,n,0,0))return!1;r+=s.length,i+=s.length}let u=0;if(l.length){if(l.length+r>e.length)return!1;let t=e.length-l.length;if(this.#n(e,l,n,t,0))u=l.length;else{if(e[e.length-1]!==``||r+l.length===e.length||(t--,!this.#n(e,l,n,t,0)))return!1;u=l.length+1}}if(!c.length){let t=!!u;for(let n=r;n<e.length-u;n++){let r=String(e[n]);if(t=!0,r===`.`||r===`..`||!this.options.dot&&r.startsWith(`.`))return!1}return n||t}let d=[[[],0]],f=d[0],p=0,m=[0];for(let e of c)e===GD?(m.push(p),f=[[],0],d.push(f)):(f[0].push(e),p++);let h=d.length-1,g=e.length-u;for(let e of d)e[1]=g-(m[h--]+e[0].length);return!!this.#t(e,d,r,0,n,0,!!u)}#t(e,t,n,r,i,a,o){let s=t[r];if(!s){for(let t=n;t<e.length;t++){o=!0;let n=e[t];if(n===`.`||n===`..`||!this.options.dot&&n.startsWith(`.`))return!1}return o}let[c,l]=s;for(;n<=l;){if(this.#n(e.slice(0,n+c.length),c,i,n,0)&&a<this.maxGlobstarRecursion){let s=this.#t(e,t,n+c.length,r+1,i,a+1,o);if(s!==!1)return s}let s=e[n];if(s===`.`||s===`..`||!this.options.dot&&s.startsWith(`.`))return!1;n++}return i||null}#n(e,t,n,r,i){let a,o,s,c;for(a=r,o=i,c=e.length,s=t.length;a<c&&o<s;a++,o++){this.debug(`matchOne loop`);let n=t[o],r=e[a];if(this.debug(t,n,r),n===!1||n===GD)return!1;let i;if(typeof n==`string`?(i=r===n,this.debug(`string match`,n,r,i)):(i=n.test(r),this.debug(`pattern match`,n,r,i)),!i)return!1}if(a===c&&o===s)return!0;if(a===c)return n;if(o===s)return a===c-1&&e[a]===``;throw Error(`wtf?`)}braceExpand(){return qD(this.pattern,this.options)}parse(e){kD(e);let t=this.options;if(e===`**`)return GD;if(e===``)return``;let n,r=null;(n=e.match(rme))?r=t.dot?ame:ime:(n=e.match(qpe))?r=(t.nocase?t.dot?Zpe:Xpe:t.dot?Ype:Jpe)(n[1]):(n=e.match(ome))?r=(t.nocase?t.dot?cme:sme:t.dot?lme:ume)(n):(n=e.match(Qpe))?r=t.dot?eme:$pe:(n=e.match(tme))&&(r=nme);let i=zD.fromGlob(e,this.options).toMMPattern();return r&&typeof i==`object`&&Reflect.defineProperty(i,"test",{value:r}),i}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,n=t.noglobstar?dme:t.dot?fme:pme,r=new Set(t.nocase?[`i`]:[]),i=e.map(e=>{let t=e.map(e=>{if(e instanceof RegExp)for(let t of e.flags.split(``))r.add(t);return typeof e==`string`?mme(e):e===GD?GD:e._src});t.forEach((e,r)=>{let i=t[r+1],a=t[r-1];e===GD&&a!==GD&&(a===void 0?i!==void 0&&i!==GD?t[r+1]=`(?:\\/|`+n+`\\/)?`+i:t[r]=n:i===void 0?t[r-1]=a+`(?:\\/|\\/`+n+`)?`:i!==GD&&(t[r-1]=a+`(?:\\/|\\/`+n+`\\/)`+i,t[r+1]=GD))});let i=t.filter(e=>e!==GD);if(this.partial&&i.length>=1){let e=[];for(let t=1;t<=i.length;t++)e.push(i.slice(0,t).join(`/`));return`(?:`+e.join(`|`)+`)`}return i.join(`/`)}).join(`|`),[a,o]=e.length>1?[`(?:`,`)`]:[``,``];i=`^`+a+i+o+`$`,this.partial&&(i=`^(?:\\/|`+a+i.slice(1,-1)+o+`)$`),this.negate&&(i=`^(?!`+i+`).+$`);try{this.regexp=new RegExp(i,[...r].join(``))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split(`/`):this.isWindows&&/^\/\/[^/]+/.test(e)?[``,...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug(`match`,e,this.pattern),this.comment)return!1;if(this.empty)return e===``;if(e===`/`&&t)return!0;let n=this.options;this.isWindows&&(e=e.split(`\\`).join(`/`));let r=this.slashSplit(e);this.debug(this.pattern,`split`,r);let i=this.set;this.debug(this.pattern,`set`,i);let a=r[r.length-1];if(!a)for(let e=r.length-2;!a&&e>=0;e--)a=r[e];for(let e of i){let i=r;if(n.matchBase&&e.length===1&&(i=[a]),this.matchOne(i,e,t))return n.flipNegate?!0:!this.negate}return!n.flipNegate&&this.negate}static defaults(e){return BD.defaults(e).Minimatch}};BD.AST=zD,BD.Minimatch=YD,BD.escape=Kpe,BD.unescape=MD;var XD=4,ZD=0,QD=1,hme=2;function $D(e){let t=e.length;for(;--t>=0;)e[t]=0}var eO=29,tO=256,nO=286,rO=30,iO=19,aO=573,oO=15,sO=16,gme=7,cO=256,_me=16,vme=17,yme=18,lO=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),uO=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),bme=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),dO=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xme=512,fO=Array(576);$D(fO);var pO=Array(rO*2);$D(pO);var mO=Array(xme);$D(mO);var hO=Array(256);$D(hO);var gO=Array(eO);$D(gO);var _O=Array(rO);$D(_O);var vO=class{constructor(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}},yO,bO,xO,SO=class{constructor(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}},CO=e=>e<256?mO[e]:mO[256+(e>>>7)],wO=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},TO=(e,t,n)=>{e.bi_valid>sO-n?(e.bi_buf|=t<<e.bi_valid&65535,wO(e,e.bi_buf),e.bi_buf=t>>sO-e.bi_valid,e.bi_valid+=n-sO):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},EO=(e,t,n)=>{TO(e,n[t*2],n[t*2+1])},DO=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},Sme=e=>{e.bi_valid===16?(wO(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},Cme=(e,t)=>{let n=t.dyn_tree,r=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length,l,u,d,f,p,m,h=0;for(f=0;f<=oO;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;l<aO;l++)u=e.heap[l],f=n[n[u*2+1]*2+1]+1,f>c&&(f=c,h++),n[u*2+1]=f,!(u>r)&&(e.bl_count[f]++,p=0,u>=s&&(p=o[u-s]),m=n[u*2],e.opt_len+=m*(f+p),a&&(e.static_len+=m*(i[u*2+1]+p)));if(h!==0){do{for(f=c-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[c]--,h-=2}while(h>0);for(f=c;f!==0;f--)for(u=e.bl_count[f];u!==0;)d=e.heap[--l],!(d>r)&&(n[d*2+1]!==f&&(e.opt_len+=(f-n[d*2+1])*n[d*2],n[d*2+1]=f),u--)}},OO=(e,t,n)=>{let r=Array(16),i=0,a,o;for(a=1;a<=oO;a++)i=i+n[a-1]<<1,r[a]=i;for(o=0;o<=t;o++){let t=e[o*2+1];t!==0&&(e[o*2]=DO(r[t]++,t))}},wme=()=>{let e,t,n,r,i,a=Array(16);for(n=0,r=0;r<eO-1;r++)for(gO[r]=n,e=0;e<1<<lO[r];e++)hO[n++]=r;for(hO[n-1]=r,i=0,r=0;r<16;r++)for(_O[r]=i,e=0;e<1<<uO[r];e++)mO[i++]=r;for(i>>=7;r<rO;r++)for(_O[r]=i<<7,e=0;e<1<<uO[r]-7;e++)mO[256+i++]=r;for(t=0;t<=oO;t++)a[t]=0;for(e=0;e<=143;)fO[e*2+1]=8,e++,a[8]++;for(;e<=255;)fO[e*2+1]=9,e++,a[9]++;for(;e<=279;)fO[e*2+1]=7,e++,a[7]++;for(;e<=287;)fO[e*2+1]=8,e++,a[8]++;for(OO(fO,287,a),e=0;e<rO;e++)pO[e*2+1]=5,pO[e*2]=DO(e,5);yO=new vO(fO,lO,257,nO,oO),bO=new vO(pO,uO,0,rO,oO),xO=new vO([],bme,0,iO,gme)},kO=e=>{let t;for(t=0;t<nO;t++)e.dyn_ltree[t*2]=0;for(t=0;t<rO;t++)e.dyn_dtree[t*2]=0;for(t=0;t<iO;t++)e.bl_tree[t*2]=0;e.dyn_ltree[cO*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},AO=e=>{e.bi_valid>8?wO(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},jO=(e,t,n,r)=>{let i=t*2,a=n*2;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]},MO=(e,t,n)=>{let r=e.heap[n],i=n<<1;for(;i<=e.heap_len&&(i<e.heap_len&&jO(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!jO(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},NO=(e,t,n)=>{let r,i,a=0,o,s;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+a++]&255,r+=(e.pending_buf[e.sym_buf+a++]&255)<<8,i=e.pending_buf[e.sym_buf+a++],r===0?EO(e,i,t):(o=hO[i],EO(e,o+tO+1,t),s=lO[o],s!==0&&(i-=gO[o],TO(e,i,s)),r--,o=CO(r),EO(e,o,n),s=uO[o],s!==0&&(r-=_O[o],TO(e,r,s)));while(a<e.sym_next);EO(e,cO,t)},PO=(e,t)=>{let n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,o,s,c=-1,l;for(e.heap_len=0,e.heap_max=aO,o=0;o<a;o++)n[o*2]===0?n[o*2+1]=0:(e.heap[++e.heap_len]=c=o,e.depth[o]=0);for(;e.heap_len<2;)l=e.heap[++e.heap_len]=c<2?++c:0,n[l*2]=1,e.depth[l]=0,e.opt_len--,i&&(e.static_len-=r[l*2+1]);for(t.max_code=c,o=e.heap_len>>1;o>=1;o--)MO(e,n,o);l=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],MO(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,n[l*2]=n[o*2]+n[s*2],e.depth[l]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,n[o*2+1]=n[s*2+1]=l,e.heap[1]=l++,MO(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Cme(e,t),OO(n,c,e.bl_count)},FO=(e,t,n)=>{let r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)&&(s<l?e.bl_tree[a*2]+=s:a===0?s<=10?e.bl_tree[34]++:e.bl_tree[36]++:(a!==i&&e.bl_tree[a*2]++,e.bl_tree[32]++),s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4))},IO=(e,t,n)=>{let r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),r=0;r<=n;r++)if(a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)){if(s<l)do EO(e,a,e.bl_tree);while(--s!==0);else a===0?s<=10?(EO(e,vme,e.bl_tree),TO(e,s-3,3)):(EO(e,yme,e.bl_tree),TO(e,s-11,7)):(a!==i&&(EO(e,a,e.bl_tree),s--),EO(e,_me,e.bl_tree),TO(e,s-3,2));s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4)}},Tme=e=>{let t;for(FO(e,e.dyn_ltree,e.l_desc.max_code),FO(e,e.dyn_dtree,e.d_desc.max_code),PO(e,e.bl_desc),t=18;t>=3&&e.bl_tree[dO[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},Eme=(e,t,n,r)=>{let i;for(TO(e,t-257,5),TO(e,n-1,5),TO(e,r-4,4),i=0;i<r;i++)TO(e,e.bl_tree[dO[i]*2+1],3);IO(e,e.dyn_ltree,t-1),IO(e,e.dyn_dtree,n-1)},Dme=e=>{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return ZD;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return QD;for(n=32;n<tO;n++)if(e.dyn_ltree[n*2]!==0)return QD;return ZD},Ome=!1,kme=e=>{Ome||=(wme(),!0),e.l_desc=new SO(e.dyn_ltree,yO),e.d_desc=new SO(e.dyn_dtree,bO),e.bl_desc=new SO(e.bl_tree,xO),e.bi_buf=0,e.bi_valid=0,kO(e)},LO=(e,t,n,r)=>{TO(e,0+ +!!r,3),AO(e),wO(e,n),wO(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},Ame=e=>{TO(e,2,3),EO(e,cO,fO),Sme(e)},jme=(e,t,n,r)=>{let i,a,o=0;e.level>0?(e.strm.data_type===hme&&(e.strm.data_type=Dme(e)),PO(e,e.l_desc),PO(e,e.d_desc),o=Tme(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,(a<=i||e.strategy===XD)&&(i=a)):i=a=n+5,n+4<=i&&t!==-1?LO(e,t,n,r):e.strategy===XD||a===i?(TO(e,2+ +!!r,3),NO(e,fO,pO)):(TO(e,4+ +!!r,3),Eme(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),NO(e,e.dyn_ltree,e.dyn_dtree)),kO(e),r&&AO(e)},RO=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(hO[n]+tO+1)*2]++,e.dyn_dtree[CO(t)*2]++),e.sym_next===e.sym_end),zO=(e,t,n,r)=>{let i=e&65535|0,a=e>>>16&65535|0,o=0;for(;n!==0;){o=n>2e3?2e3:n,n-=o;do i=i+t[r++]|0,a=a+i|0;while(--o);i%=65521,a%=65521}return i|a<<16|0},Mme=(()=>{let e=new Uint32Array(2048),t;for(let n=0;n<256;n++){t=n;for(let e=0;e<8;e++)t=t&1?3988292384^t>>>1:t>>>1;e[n]=t}for(let n=0;n<256;n++){t=e[n];for(let r=256;r<2048;r+=256)t=e[t&255]^t>>>8,e[r+n]=t}return e})(),BO=(e,t,n,r)=>{let i=Mme,a=r+n,o=r;e^=-1;for(let n=a-7;o<n;o+=8)e^=t[o]|t[o+1]<<8|t[o+2]<<16|t[o+3]<<24,e=i[1792+(e&255)]^i[1536+(e>>>8&255)]^i[1280+(e>>>16&255)]^i[1024+(e>>>24)]^i[768+t[o+4]]^i[512+t[o+5]]^i[256+t[o+6]]^i[t[o+7]];for(;o<a;o++)e=e>>>8^i[(e^t[o])&255];return e^-1},VO={2:`need dictionary`,1:`stream end`,0:``,"-1":`file error`,"-2":`stream error`,"-3":`data error`,"-4":`insufficient memory`,"-5":`buffer error`,"-6":`incompatible version`},Nme=9,Pme=573,HO=3,UO=258,WO=262,Fme=32,GO=42,KO=57,qO=69,JO=73,YO=91,XO=103,ZO=113,QO=666,$O=1,ek=2,tk=3,nk=4,Ime=3,rk=(e,t)=>(e.msg=VO[t],t),ik=e=>e*2-(e>4?9:0),ak=e=>{let t=e.length;for(;--t>=0;)e[t]=0},Lme=e=>{let t,n,r,i=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=i?n-i:0;while(--t);t=i,r=t;do n=e.prev[--r],e.prev[r]=n>=i?n-i:0;while(--t)},ok=(e,t,n)=>(t<<e.hash_shift^n)&e.hash_mask,sk=(e,t)=>{let n;if(e.legacy_hash)n=e.ins_h=ok(e,e.ins_h,e.window[t+HO-1]);else{let r=e.window,i=r[t]|r[t+1]<<8|r[t+2]<<16|r[t+3]<<24;n=e.ins_h=Math.imul(i,66521)+66521>>>16&e.hash_mask}let r=e.prev[t&e.w_mask]=e.head[n];return e.head[n]=t,r},ck=e=>{let t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},lk=(e,t)=>{jme(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ck(e.strm)},uk=(e,t)=>{e.pending_buf[e.pending++]=t},dk=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},fk=(e,t,n,r)=>{let i=e.avail_in;return i>r&&(i=r),i===0?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),e.state.wrap===1?e.adler=zO(e.adler,t,i,n):e.state.wrap===2&&(e.adler=BO(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},pk=(e,t)=>{let n=e.max_chain_length,r=e.strstart,i,a,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-WO?e.strstart-(e.w_size-WO):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+UO,p=l[r+o-1],m=l[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(i=t,l[i+o]===m&&l[i+o-1]===p&&l[i]===l[r]&&l[++i]===l[r+1]){r+=2,i++;do;while(l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&r<f);if(a=UO-(f-r),r=f-UO,a>o){if(e.match_start=t,o=a,a>=s)break;p=l[r+o-1],m=l[r+o]}}while((t=d[t&u])>c&&--n!==0);return o<=e.lookahead?o:e.lookahead},mk=e=>{let t=e.w_size,n,r,i;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-WO)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),Lme(e),r+=t),e.strm.avail_in===0)break;if(n=fk(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,!e.legacy_hash){if(e.lookahead+e.insert>HO)for(i=e.strstart-e.insert;e.insert&&(sk(e,i),i++,e.insert--,!(e.lookahead+e.insert<=HO)););}else if(e.lookahead+e.insert>=HO)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=ok(e,e.ins_h,e.window[i+1]);e.insert&&(sk(e,i),i++,e.insert--,!(e.lookahead+e.insert<HO)););}while(e.lookahead<WO&&e.strm.avail_in!==0)},hk=(e,t)=>{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,i,a,o=0,s=e.strm.avail_in;do{if(r=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,i=e.strstart-e.block_start,r>i+e.strm.avail_in&&(r=i+e.strm.avail_in),r>a&&(r=a),r<n&&(r===0&&t!==4||t===0||r!==i+e.strm.avail_in)))break;o=+(t===4&&r===i+e.strm.avail_in),LO(e,0,0,o),e.pending_buf[e.pending-4]=r,e.pending_buf[e.pending-3]=r>>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,ck(e.strm),i&&(i>r&&(i=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,r-=i),r&&(fk(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(o===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),o?nk:t!==0&&t!==4&&e.strm.avail_in===0&&e.strstart===e.block_start?ek:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(fk(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,n=a>e.w_size?e.w_size:a,i=e.strstart-e.block_start,(i>=n||(i||t===4)&&t!==0&&e.strm.avail_in===0&&i<=a)&&(r=i>a?a:i,o=+(t===4&&e.strm.avail_in===0&&r===i),LO(e,e.block_start,r,o),e.block_start+=r,ck(e.strm)),o?tk:$O)},gk=(e,t)=>{let n,r;for(;;){if(e.lookahead<WO){if(mk(e),e.lookahead<WO&&t===0)return $O;if(e.lookahead===0)break}if(n=0,e.lookahead>=HO&&(n=sk(e,e.strstart)),n!==0&&e.strstart-n<=e.w_size-WO&&(e.match_length=pk(e,n)),e.match_length>=HO){if(r=RO(e,e.strstart-e.match_start,e.match_length-HO),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=HO){e.match_length--;do e.strstart++,n=sk(e,e.strstart);while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.legacy_hash&&(e.ins_h=e.window[e.strstart],e.ins_h=ok(e,e.ins_h,e.window[e.strstart+1]))}else r=RO(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(lk(e,!1),e.strm.avail_out===0))return $O}return e.insert=e.strstart<HO-1?e.strstart:HO-1,t===4?(lk(e,!0),e.strm.avail_out===0?tk:nk):e.sym_next&&(lk(e,!1),e.strm.avail_out===0)?$O:ek},_k=(e,t)=>{let n,r,i;for(;;){if(e.lookahead<WO){if(mk(e),e.lookahead<WO&&t===0)return $O;if(e.lookahead===0)break}if(n=0,e.lookahead>=HO&&(n=sk(e,e.strstart)),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=HO-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-WO&&(e.match_length=pk(e,n),e.match_length<=5&&(e.strategy===1||e.match_length===HO&&e.strstart-e.match_start>4096)&&(e.match_length=HO-1)),e.prev_length>=HO&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-HO,r=RO(e,e.strstart-1-e.prev_match,e.prev_length-HO),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(n=sk(e,e.strstart));while(--e.prev_length!==0);if(e.match_available=0,e.match_length=HO-1,e.strstart++,r&&(lk(e,!1),e.strm.avail_out===0))return $O}else if(e.match_available){if(r=RO(e,0,e.window[e.strstart-1]),r&&lk(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return $O}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&=(r=RO(e,0,e.window[e.strstart-1]),0),e.insert=e.strstart<HO-1?e.strstart:HO-1,t===4?(lk(e,!0),e.strm.avail_out===0?tk:nk):e.sym_next&&(lk(e,!1),e.strm.avail_out===0)?$O:ek},Rme=(e,t)=>{let n,r,i,a,o=e.window;for(;;){if(e.lookahead<=UO){if(mk(e),e.lookahead<=UO&&t===0)return $O;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=HO&&e.strstart>0&&(i=e.strstart-1,r=o[i],r===o[++i]&&r===o[++i]&&r===o[++i])){a=e.strstart+UO;do;while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&i<a);e.match_length=UO-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=HO?(n=RO(e,1,e.match_length-HO),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=RO(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(lk(e,!1),e.strm.avail_out===0))return $O}return e.insert=0,t===4?(lk(e,!0),e.strm.avail_out===0?tk:nk):e.sym_next&&(lk(e,!1),e.strm.avail_out===0)?$O:ek},zme=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(mk(e),e.lookahead===0)){if(t===0)return $O;break}if(e.match_length=0,n=RO(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(lk(e,!1),e.strm.avail_out===0))return $O}return e.insert=0,t===4?(lk(e,!0),e.strm.avail_out===0?tk:nk):e.sym_next&&(lk(e,!1),e.strm.avail_out===0)?$O:ek},vk=class{constructor(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}},yk=[new vk(0,0,0,0,hk),new vk(4,4,8,4,gk),new vk(4,5,16,8,gk),new vk(4,6,32,32,gk),new vk(4,4,16,16,_k),new vk(8,16,32,32,_k),new vk(8,16,128,128,_k),new vk(8,32,128,256,_k),new vk(32,128,258,1024,_k),new vk(32,258,258,4096,_k)],Bme=e=>{e.window_size=2*e.w_size,ak(e.head),e.max_lazy_match=yk[e.level].max_lazy,e.good_match=yk[e.level].good_length,e.nice_match=yk[e.level].nice_length,e.max_chain_length=yk[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=HO-1,e.match_available=0,e.ins_h=0},Vme=class{constructor(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.legacy_hash=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Pme*2),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),ak(this.dyn_ltree),ak(this.dyn_dtree),ak(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),ak(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),ak(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}},bk=e=>{if(!e)return 1;let t=e.state;return+(!t||t.strm!==e||t.status!==GO&&t.status!==KO&&t.status!==qO&&t.status!==JO&&t.status!==YO&&t.status!==XO&&t.status!==ZO&&t.status!==QO)},Hme=e=>{if(bk(e))return rk(e,-2);e.total_in=e.total_out=0,e.data_type=2;let t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?KO:t.wrap?GO:ZO,e.adler=t.wrap===2?0:1,t.last_flush=-2,kme(t),0},Ume=e=>{let t=Hme(e);return t===0&&Bme(e.state),t},Wme=(e,t,n,r,i,a,o)=>{if(!e)return-2;let s=1;if(t===-1&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),i<1||i>Nme||n!==8||r<8||r>15||t<0||t>9||a<0||a>4||r===8&&s!==1)return rk(e,-2);r===8&&(r=9);let c=new Vme;return e.state=c,c.strm=e,c.status=GO,c.wrap=s,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.legacy_hash=+!!o,c.hash_bits=i+7,!c.legacy_hash&&c.hash_bits<15&&(c.hash_bits=15),c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+HO-1)/HO),c.window=new Uint8Array(c.w_size*2),c.head=new Uint16Array(c.hash_size),c.prev=new Uint16Array(c.w_size),c.lit_bufsize=1<<i+6,c.pending_buf_size=c.lit_bufsize*4,c.pending_buf=new Uint8Array(c.pending_buf_size),c.sym_buf=c.lit_bufsize,c.sym_end=(c.lit_bufsize-1)*3,c.level=t,c.strategy=a,c.method=n,Ume(e)},Gme=(e,t)=>{if(bk(e)||t>5||t<0)return e?rk(e,-2):-2;let n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===QO&&t!==4)return rk(e,e.avail_out===0?-5:-2);let r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(ck(e),e.avail_out===0)return n.last_flush=-1,0}else if(e.avail_in===0&&ik(t)<=ik(r)&&t!==4)return rk(e,-5);if(n.status===QO&&e.avail_in!==0)return rk(e,-5);if(n.status===GO&&n.wrap===0&&(n.status=ZO),n.status===GO){let t=8+(n.w_bits-8<<4)<<8,r=-1;if(r=n.strategy>=2||n.level<2?0:n.level<6?1:n.level===6?2:3,t|=r<<6,n.strstart!==0&&(t|=Fme),t+=31-t%31,dk(n,t),n.strstart!==0&&(dk(n,e.adler>>>16),dk(n,e.adler&65535)),e.adler=1,n.status=ZO,ck(e),n.pending!==0)return n.last_flush=-1,0}if(n.status===KO){if(e.adler=0,uk(n,31),uk(n,139),uk(n,8),n.gzhead)uk(n,+!!n.gzhead.text+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),uk(n,n.gzhead.time&255),uk(n,n.gzhead.time>>8&255),uk(n,n.gzhead.time>>16&255),uk(n,n.gzhead.time>>24&255),uk(n,n.level===9?2:n.strategy>=2||n.level<2?4:0),uk(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(uk(n,n.gzhead.extra.length&255),uk(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=BO(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=qO;else if(uk(n,0),uk(n,0),uk(n,0),uk(n,0),uk(n,0),uk(n,n.level===9?2:n.strategy>=2||n.level<2?4:0),uk(n,Ime),n.status=ZO,ck(e),n.pending!==0)return n.last_flush=-1,0}if(n.status===qO){if(n.gzhead.extra){let t=n.pending,r=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+r>n.pending_buf_size;){let i=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex+=i,ck(e),n.pending!==0)return n.last_flush=-1,0;t=0,r-=i}let i=new Uint8Array(n.gzhead.extra);n.pending_buf.set(i.subarray(n.gzindex,n.gzindex+r),n.pending),n.pending+=r,n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=JO}if(n.status===JO){if(n.gzhead.name){let t=n.pending,r;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),ck(e),n.pending!==0)return n.last_flush=-1,0;t=0}r=n.gzindex<n.gzhead.name.length?n.gzhead.name.charCodeAt(n.gzindex++)&255:0,uk(n,r)}while(r!==0);n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=YO}if(n.status===YO){if(n.gzhead.comment){let t=n.pending,r;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),ck(e),n.pending!==0)return n.last_flush=-1,0;t=0}r=n.gzindex<n.gzhead.comment.length?n.gzhead.comment.charCodeAt(n.gzindex++)&255:0,uk(n,r)}while(r!==0);n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t))}n.status=XO}if(n.status===XO){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(ck(e),n.pending!==0))return n.last_flush=-1,0;uk(n,e.adler&255),uk(n,e.adler>>8&255),e.adler=0}if(n.status=ZO,ck(e),n.pending!==0)return n.last_flush=-1,0}if(e.avail_in!==0||n.lookahead!==0||t!==0&&n.status!==QO){let r=n.level===0?hk(n,t):n.strategy===2?zme(n,t):n.strategy===3?Rme(n,t):yk[n.level].func(n,t);if((r===tk||r===nk)&&(n.status=QO),r===$O||r===tk)return e.avail_out===0&&(n.last_flush=-1),0;if(r===ek&&(t===1?Ame(n):t!==5&&(LO(n,0,0,!1),t===3&&(ak(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),ck(e),e.avail_out===0))return n.last_flush=-1,0}return t===4?n.wrap<=0?1:(n.wrap===2?(uk(n,e.adler&255),uk(n,e.adler>>8&255),uk(n,e.adler>>16&255),uk(n,e.adler>>24&255),uk(n,e.total_in&255),uk(n,e.total_in>>8&255),uk(n,e.total_in>>16&255),uk(n,e.total_in>>24&255)):(dk(n,e.adler>>>16),dk(n,e.adler&65535)),ck(e),n.wrap>0&&(n.wrap=-n.wrap),+(n.pending===0)):0},Kme=e=>{if(bk(e))return-2;let t=e.state.status;return e.state=null,t===ZO?rk(e,-3):0},qme=(e,t)=>{let n=t.length;if(bk(e))return-2;let r=e.state,i=r.wrap;if(i===2||i===1&&r.status!==GO||r.lookahead)return-2;if(i===1&&(e.adler=zO(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){i===0&&(ak(r.head),r.strstart=0,r.block_start=0,r.insert=0);let e=new Uint8Array(r.w_size);e.set(t.subarray(n-r.w_size,n),0),t=e,n=r.w_size}let a=e.avail_in,o=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,mk(r);r.lookahead>=HO;){let e=r.strstart,t=r.lookahead-(HO-1);do sk(r,e),e++;while(--t);r.strstart=e,r.lookahead=HO-1,mk(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=HO-1,r.match_available=0,e.next_in=o,e.input=s,e.avail_in=a,r.wrap=i,0},xk=16209,Jme=16191;function Yme(e,t){let n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E=e.state;n=e.next_in,w=e.input,r=n+(e.avail_in-5),i=e.next_out,T=e.output,a=i-(t-e.avail_out),o=i+(e.avail_out-257),s=E.dmax,c=E.wsize,l=E.whave,u=E.wnext,d=E.window,f=E.hold,p=E.bits,m=E.lencode,h=E.distcode,g=(1<<E.lenbits)-1,_=(1<<E.distbits)-1;top:do{p<15&&(f+=w[n++]<<p,p+=8,f+=w[n++]<<p,p+=8),v=m[f&g];dolen:for(;;){if(y=v>>>24,f>>>=y,p-=y,y=v>>>16&255,y===0)T[i++]=v&65535;else if(y&16){b=v&65535,y&=15,y&&(p<y&&(f+=w[n++]<<p,p+=8),b+=f&(1<<y)-1,f>>>=y,p-=y),p<15&&(f+=w[n++]<<p,p+=8,f+=w[n++]<<p,p+=8),v=h[f&_];dodist:for(;;){if(y=v>>>24,f>>>=y,p-=y,y=v>>>16&255,y&16){if(x=v&65535,y&=15,p<y&&(f+=w[n++]<<p,p+=8,p<y&&(f+=w[n++]<<p,p+=8)),x+=f&(1<<y)-1,x>s){e.msg=`invalid distance too far back`,E.mode=xk;break top}if(f>>>=y,p-=y,y=i-a,x>y){if(y=x-y,y>l&&E.sane){e.msg=`invalid distance too far back`,E.mode=xk;break top}if(S=0,C=d,u===0){if(S+=c-y,y<b){b-=y;do T[i++]=d[S++];while(--y);S=i-x,C=T}}else if(u<y){if(S+=c+u-y,y-=u,y<b){b-=y;do T[i++]=d[S++];while(--y);if(S=0,u<b){y=u,b-=y;do T[i++]=d[S++];while(--y);S=i-x,C=T}}}else if(S+=u-y,y<b){b-=y;do T[i++]=d[S++];while(--y);S=i-x,C=T}for(;b>2;)T[i++]=C[S++],T[i++]=C[S++],T[i++]=C[S++],b-=3;b&&(T[i++]=C[S++],b>1&&(T[i++]=C[S++]))}else{S=i-x;do T[i++]=T[S++],T[i++]=T[S++],T[i++]=T[S++],b-=3;while(b>2);b&&(T[i++]=T[S++],b>1&&(T[i++]=T[S++]))}}else if(y&64){e.msg=`invalid distance code`,E.mode=xk;break top}else{v=h[(v&65535)+(f&(1<<y)-1)];continue dodist}break}}else if(!(y&64)){v=m[(v&65535)+(f&(1<<y)-1)];continue dolen}else if(y&32){E.mode=Jme;break top}else{e.msg=`invalid literal/length code`,E.mode=xk;break top}break}}while(n<r&&i<o);b=p>>3,n-=b,p-=b<<3,f&=(1<<p)-1,e.next_in=n,e.next_out=i,e.avail_in=n<r?5+(r-n):5-(n-r),e.avail_out=i<o?257+(o-i):257-(i-o),E.hold=f,E.bits=p}var Sk=15,Ck=852,wk=592,Tk=0,Ek=1,Dk=2,Xme=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Zme=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,199,75]),Qme=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),$me=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Ok=(e,t,n,r,i,a,o,s)=>{let c=s.bits,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y,b,x,S,C,w=null,T,E=new Uint16Array(16),D=new Uint16Array(16),O=null,k,A,j;for(l=0;l<=Sk;l++)E[l]=0;for(u=0;u<r;u++)E[t[n+u]]++;for(p=c,f=Sk;f>=1&&E[f]===0;f--);if(p>f&&(p=f),f===0)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(d=1;d<f&&E[d]===0;d++);for(p<d&&(p=d),g=1,l=1;l<=Sk;l++)if(g<<=1,g-=E[l],g<0)return-1;if(g>0&&(e===Tk||f!==1))return-1;for(D[1]=0,l=1;l<Sk;l++)D[l+1]=D[l]+E[l];for(u=0;u<r;u++)t[n+u]!==0&&(o[D[t[n+u]]++]=u);if(e===Tk?(w=O=o,T=20):e===Ek?(w=Xme,O=Zme,T=257):(w=Qme,O=$me,T=0),v=0,u=0,l=d,C=a,m=p,h=0,x=-1,_=1<<p,S=_-1,e===Ek&&_>Ck||e===Dk&&_>wk)return 1;for(;;){k=l-h,o[u]+1<T?(A=0,j=o[u]):o[u]>=T?(A=O[o[u]-T],j=w[o[u]-T]):(A=96,j=0),y=1<<l-h,b=1<<m,d=b;do b-=y,i[C+(v>>h)+b]=k<<24|A<<16|j|0;while(b!==0);for(y=1<<l-1;v&y;)y>>=1;if(y===0?v=0:(v&=y-1,v+=y),u++,--E[l]===0){if(l===f)break;l=t[n+o[u]]}if(l>p&&(v&S)!==x){for(h===0&&(h=p),C+=d,m=l-h,g=1<<m;m+h<f&&(g-=E[m+h],!(g<=0));)m++,g<<=1;if(_+=1<<m,e===Ek&&_>Ck||e===Dk&&_>wk)return 1;x=v&S,i[x]=p<<24|m<<16|C-a|0}}return v!==0&&(i[C+v]=l-h<<24|4194304),s.bits=p,0},ehe=0,kk=1,Ak=2,jk=16180,Mk=16181,Nk=16182,Pk=16183,Fk=16184,Ik=16185,Lk=16186,Rk=16187,zk=16188,Bk=16189,Vk=16190,Hk=16191,Uk=16192,Wk=16193,Gk=16194,Kk=16195,qk=16196,Jk=16197,Yk=16198,Xk=16199,Zk=16200,Qk=16201,$k=16202,eA=16203,tA=16204,nA=16205,rA=16206,iA=16207,aA=16208,oA=16209,sA=16210,cA=16211,the=852,nhe=592,lA=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24),rhe=class{constructor(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}},uA=e=>{if(!e)return 1;let t=e.state;return+(!t||t.strm!==e||t.mode<jk||t.mode>cA)},ihe=e=>{if(uA(e))return-2;let t=e.state;return e.total_in=e.total_out=t.total=0,e.msg=``,t.wrap&&(e.adler=t.wrap&1),t.mode=jk,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(the),t.distcode=t.distdyn=new Int32Array(nhe),t.sane=1,t.back=-1,0},dA=e=>{if(uA(e))return-2;let t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,ihe(e)},ahe=(e,t)=>{let n;if(uA(e))return-2;let r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?-2:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,dA(e))},ohe=(e,t)=>{if(!e)return-2;let n=new rhe;e.state=n,n.strm=e,n.window=null,n.mode=jk;let r=ahe(e,t);return r!==0&&(e.state=null),r},fA=!0,pA,mA,she=e=>{if(fA){pA=new Int32Array(512),mA=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ok(kk,e.lens,0,288,pA,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ok(Ak,e.lens,0,32,mA,0,e.work,{bits:5}),fA=!1}e.lencode=pA,e.lenbits=9,e.distcode=mA,e.distbits=5},hA=(e,t,n,r)=>{let i,a=e.state;return a.window===null&&(a.window=new Uint8Array(1<<a.wbits)),a.wsize===0&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0),r>=a.wsize?(a.window.set(t.subarray(n-a.wsize,n),0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>r&&(i=r),a.window.set(t.subarray(n-r,n-r+i),a.wnext),r-=i,r?(a.window.set(t.subarray(n-r,n),0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0},gA=(e,t)=>{let n,r,i,a,o,s,c,l,u,d,f,p,m,h,g=0,_,v,y,b,x,S,C,w,T=new Uint8Array(4),E,D,O=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(uA(e)||!e.output||!e.input&&e.avail_in!==0)return-2;n=e.state,n.mode===Hk&&(n.mode=Uk),o=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,d=s,f=c,w=0;inf_leave:for(;;)switch(n.mode){case jk:if(n.wrap===0){n.mode=Uk;break}for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.wrap&2&&l===35615){n.wbits===0&&(n.wbits=15),n.check=0,T[0]=l&255,T[1]=l>>>8&255,n.check=BO(n.check,T,2,0),l=0,u=0,n.mode=Mk;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg=`incorrect header check`,n.mode=oA;break}if((l&15)!=8){e.msg=`unknown compression method`,n.mode=oA;break}if(l>>>=4,u-=4,C=(l&15)+8,n.wbits===0&&(n.wbits=C),C>15||C>n.wbits){e.msg=`invalid window size`,n.mode=oA;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=l&512?Bk:Hk,l=0,u=0;break;case Mk:for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.flags=l,(n.flags&255)!=8){e.msg=`unknown compression method`,n.mode=oA;break}if(n.flags&57344){e.msg=`unknown header flags set`,n.mode=oA;break}n.head&&(n.head.text=l>>8&1),n.flags&512&&n.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,n.check=BO(n.check,T,2,0)),l=0,u=0,n.mode=Nk;case Nk:for(;u<32;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.head&&(n.head.time=l>>>0),n.flags&512&&n.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,T[2]=l>>>16&255,T[3]=l>>>24&255,n.check=BO(n.check,T,4,0)),l=0,u=0,n.mode=Pk;case Pk:for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.head&&(n.head.xflags=l&255,n.head.os=l>>8),n.flags&512&&n.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,n.check=BO(n.check,T,2,0)),l=0,u=0,n.mode=Fk;case Fk:if(n.flags&1024){for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.length=l,n.head&&(n.head.extra_len=l),n.flags&512&&n.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,n.check=BO(n.check,T,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=Ik;case Ik:if(n.flags&1024&&(p=n.length,p>s&&(p=s),p&&(n.head&&(C=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(a,a+p),C)),n.flags&512&&n.wrap&4&&(n.check=BO(n.check,r,p,a)),s-=p,a+=p,n.length-=p),n.length))break inf_leave;n.length=0,n.mode=Lk;case Lk:if(n.flags&2048){if(s===0)break inf_leave;p=0;do C=r[a+p++],n.head&&C&&n.length<65536&&(n.head.name+=String.fromCharCode(C),n.length++);while(C&&p<s);if(n.flags&512&&n.wrap&4&&(n.check=BO(n.check,r,p,a)),s-=p,a+=p,C)break inf_leave}else n.head&&(n.head.name=null);n.length=0,n.mode=Rk;case Rk:if(n.flags&4096){if(s===0)break inf_leave;p=0;do C=r[a+p++],n.head&&C&&n.length<65536&&(n.head.comment+=String.fromCharCode(C),n.length++);while(C&&p<s);if(n.flags&512&&n.wrap&4&&(n.check=BO(n.check,r,p,a)),s-=p,a+=p,C)break inf_leave}else n.head&&(n.head.comment=null);n.mode=zk;case zk:if(n.flags&512){for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.wrap&4&&l!==(n.check&65535)){e.msg=`header crc mismatch`,n.mode=oA;break}l=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Hk;break;case Bk:for(;u<32;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}e.adler=n.check=lA(l),l=0,u=0,n.mode=Vk;case Vk:if(n.havedict===0)return e.next_out=o,e.avail_out=c,e.next_in=a,e.avail_in=s,n.hold=l,n.bits=u,2;e.adler=n.check=1,n.mode=Hk;case Hk:if(t===5||t===6)break inf_leave;case Uk:if(n.last){l>>>=u&7,u-=u&7,n.mode=rA;break}for(;u<3;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}switch(n.last=l&1,l>>>=1,--u,l&3){case 0:n.mode=Wk;break;case 1:if(she(n),n.mode=Xk,t===6){l>>>=2,u-=2;break inf_leave}break;case 2:n.mode=qk;break;case 3:e.msg=`invalid block type`,n.mode=oA}l>>>=2,u-=2;break;case Wk:for(l>>>=u&7,u-=u&7;u<32;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if((l&65535)!=(l>>>16^65535)){e.msg=`invalid stored block lengths`,n.mode=oA;break}if(n.length=l&65535,l=0,u=0,n.mode=Gk,t===6)break inf_leave;case Gk:n.mode=Kk;case Kk:if(p=n.length,p){if(p>s&&(p=s),p>c&&(p=c),p===0)break inf_leave;i.set(r.subarray(a,a+p),o),s-=p,a+=p,c-=p,o+=p,n.length-=p;break}n.mode=Hk;break;case qk:for(;u<14;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.nlen=(l&31)+257,l>>>=5,u-=5,n.ndist=(l&31)+1,l>>>=5,u-=5,n.ncode=(l&15)+4,l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg=`too many length or distance symbols`,n.mode=oA;break}n.have=0,n.mode=Jk;case Jk:for(;n.have<n.ncode;){for(;u<3;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.lens[O[n.have++]]=l&7,l>>>=3,u-=3}for(;n.have<19;)n.lens[O[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,E={bits:n.lenbits},w=Ok(ehe,n.lens,0,19,n.lencode,0,n.work,E),n.lenbits=E.bits,w){e.msg=`invalid code lengths set`,n.mode=oA;break}n.have=0,n.mode=Yk;case Yk:for(;n.have<n.nlen+n.ndist;){for(;g=n.lencode[l&(1<<n.lenbits)-1],_=g>>>24,v=g>>>16&255,y=g&65535,!(_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(y<16)l>>>=_,u-=_,n.lens[n.have++]=y;else{if(y===16){for(D=_+2;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(l>>>=_,u-=_,n.have===0){e.msg=`invalid bit length repeat`,n.mode=oA;break}C=n.lens[n.have-1],p=3+(l&3),l>>>=2,u-=2}else if(y===17){for(D=_+3;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}l>>>=_,u-=_,C=0,p=3+(l&7),l>>>=3,u-=3}else{for(D=_+7;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}l>>>=_,u-=_,C=0,p=11+(l&127),l>>>=7,u-=7}if(n.have+p>n.nlen+n.ndist){e.msg=`invalid bit length repeat`,n.mode=oA;break}for(;p--;)n.lens[n.have++]=C}}if(n.mode===oA)break;if(n.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,n.mode=oA;break}if(n.lenbits=9,E={bits:n.lenbits},w=Ok(kk,n.lens,0,n.nlen,n.lencode,0,n.work,E),n.lenbits=E.bits,w){e.msg=`invalid literal/lengths set`,n.mode=oA;break}if(n.distbits=6,n.distcode=n.distdyn,E={bits:n.distbits},w=Ok(Ak,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,E),n.distbits=E.bits,w){e.msg=`invalid distances set`,n.mode=oA;break}if(n.mode=Xk,t===6)break inf_leave;case Xk:n.mode=Zk;case Zk:if(s>=6&&c>=258){e.next_out=o,e.avail_out=c,e.next_in=a,e.avail_in=s,n.hold=l,n.bits=u,Yme(e,f),o=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,n.mode===Hk&&(n.back=-1);break}for(n.back=0;g=n.lencode[l&(1<<n.lenbits)-1],_=g>>>24,v=g>>>16&255,y=g&65535,!(_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(v&&!(v&240)){for(b=_,x=v,S=y;g=n.lencode[S+((l&(1<<b+x)-1)>>b)],_=g>>>24,v=g>>>16&255,y=g&65535,!(b+_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}l>>>=b,u-=b,n.back+=b}if(l>>>=_,u-=_,n.back+=_,n.length=y,v===0){n.mode=nA;break}if(v&32){n.back=-1,n.mode=Hk;break}if(v&64){e.msg=`invalid literal/length code`,n.mode=oA;break}n.extra=v&15,n.mode=Qk;case Qk:if(n.extra){for(D=n.extra;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=$k;case $k:for(;g=n.distcode[l&(1<<n.distbits)-1],_=g>>>24,v=g>>>16&255,y=g&65535,!(_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(!(v&240)){for(b=_,x=v,S=y;g=n.distcode[S+((l&(1<<b+x)-1)>>b)],_=g>>>24,v=g>>>16&255,y=g&65535,!(b+_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}l>>>=b,u-=b,n.back+=b}if(l>>>=_,u-=_,n.back+=_,v&64){e.msg=`invalid distance code`,n.mode=oA;break}n.offset=y,n.extra=v&15,n.mode=eA;case eA:if(n.extra){for(D=n.extra;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=`invalid distance too far back`,n.mode=oA;break}n.mode=tA;case tA:if(c===0)break inf_leave;if(p=f-c,n.offset>p){if(p=n.offset-p,p>n.whave&&n.sane){e.msg=`invalid distance too far back`,n.mode=oA;break}p>n.wnext?(p-=n.wnext,m=n.wsize-p):m=n.wnext-p,p>n.length&&(p=n.length),h=n.window}else h=i,m=o-n.offset,p=n.length;p>c&&(p=c),c-=p,n.length-=p;do i[o++]=h[m++];while(--p);n.length===0&&(n.mode=Zk);break;case nA:if(c===0)break inf_leave;i[o++]=n.length,c--,n.mode=Zk;break;case rA:if(n.wrap){for(;u<32;){if(s===0)break inf_leave;s--,l|=r[a++]<<u,u+=8}if(f-=c,e.total_out+=f,n.total+=f,n.wrap&4&&f&&(e.adler=n.check=n.flags?BO(n.check,i,f,o-f):zO(n.check,i,f,o-f)),f=c,n.wrap&4&&(n.flags?l:lA(l))!==n.check){e.msg=`incorrect data check`,n.mode=oA;break}l=0,u=0}n.mode=iA;case iA:if(n.wrap&&n.flags){for(;u<32;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.wrap&4&&l!==(n.total&4294967295)){e.msg=`incorrect length check`,n.mode=oA;break}l=0,u=0}n.mode=aA;case aA:w=1;break inf_leave;case oA:w=-3;break inf_leave;case sA:return-4;case cA:default:return-2}return e.next_out=o,e.avail_out=c,e.next_in=a,e.avail_in=s,n.hold=l,n.bits=u,(n.wsize||f!==e.avail_out&&n.mode<oA&&(n.mode<rA||t!==4))&&hA(e,e.output,e.next_out,f-e.avail_out)?(n.mode=sA,-4):(d-=e.avail_in,f-=e.avail_out,e.total_in+=d,e.total_out+=f,n.total+=f,n.wrap&4&&f&&(e.adler=n.check=n.flags?BO(n.check,i,f,e.next_out-f):zO(n.check,i,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Hk?128:0)+(n.mode===Xk||n.mode===Gk?256:0),(d===0&&f===0||t===4)&&w===0&&(w=-5),w)},_A=e=>{if(uA(e))return-2;let t=e.state;return t.window&&=null,e.state=null,0},vA=(e,t)=>{let n=t.length,r,i,a;return uA(e)||(r=e.state,r.wrap!==0&&r.mode!==Vk)?-2:r.mode===Vk&&(i=1,i=zO(i,t,n,0),i!==r.check)?-3:(a=hA(e,t,n,n),a?(r.mode=sA,-4):(r.havedict=1,0))},yA=class{constructor(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=``,this.state=null,this.data_type=2,this.adler=0}},bA=e=>{let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t},xA=Object.prototype.toString,che={level:-1,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,raw:!1,gzip:!1,legacyHash:!1,dictionary:new Uint8Array},lhe=class{options;err;msg;ended;started;chunks;strm;result;constructor(e={}){this.options=Object.assign({},che,e);let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg=``,this.ended=!1,this.started=!1,this.chunks=[],this.result=new Uint8Array,this.strm=new yA,this.strm.avail_out=0;let n=Wme(this.strm,t.level,8,t.windowBits,t.memLevel,t.strategy,t.legacyHash);if(n!==0)throw Error(VO[n]);xA.call(t.dictionary)===`[object ArrayBuffer]`&&(t.dictionary=new Uint8Array(t.dictionary));let r=t.dictionary;if(r.length){if(t.gzip)throw Error(`dictionary is not supported with gzip`);if(n=qme(this.strm,r),n!==0)throw Error(VO[n])}}push(e,t=!1){let n=this.strm,r=this.options.chunkSize,i,a;if(this.ended)return!1;for(a=typeof t==`number`?t:t===!0?4:0,n.input=typeof e==`string`?new TextEncoder().encode(e):xA.call(e)===`[object ArrayBuffer]`?new Uint8Array(e):e,n.next_in=0,n.avail_in=n.input.length,this.started||(this.started=!0,this.onStart(n));;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(a===2||a===3)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(i=Gme(n,a),i===-2)break;if(i===1){n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),i=Kme(this.strm);break}if(n.avail_out===0){this.onData(n.output);continue}if(a>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)return!0}return this.err=i,this.msg=n.msg||VO[i],this.ended=!0,this.onEnd(i),i===0}onStart(e){}onData(e){this.chunks.push(e)}onEnd(e){e===0&&(this.result=bA(this.chunks)),this.chunks=[]}},SA=Object.prototype.toString,uhe={chunkSize:65536,windowBits:15,raw:!1,dictionary:new Uint8Array},dhe=class{options;err;msg;ended;started;chunks;strm;result;constructor(e={}){this.options=Object.assign({},uhe,e);let t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!e.windowBits&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg=``,this.ended=!1,this.started=!1,this.chunks=[],this.result=new Uint8Array,this.strm=new yA,this.strm.avail_out=0;let n=ohe(this.strm,t.windowBits);if(n!==0)throw Error(VO[n]);SA.call(t.dictionary)===`[object ArrayBuffer]`&&(t.dictionary=new Uint8Array(t.dictionary));let r=t.dictionary;if(t.raw&&r.length&&(n=vA(this.strm,r),n!==0))throw Error(VO[n])}push(e,t=!1){let n=this.strm,r=this.options.chunkSize,i,a,o;if(this.ended)return this.err===0;for(a=typeof t==`number`?t:t===!0?4:0,n.input=SA.call(e)===`[object ArrayBuffer]`?new Uint8Array(e):e,n.next_in=0,n.avail_in=n.input.length,this.started||(this.started=!0,this.onStart(n));;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),i=gA(n,a),i===2){let e=this.options.dictionary;e.length&&(i=vA(n,e),i===0?i=gA(n,a):i===-3&&(i=2))}for(;n.avail_in>0&&i===1&&n.state.wrap&2&&n.state.flags!==0&&n.input[n.next_in]!==0;)dA(n),i=gA(n,a);if(i===-2||i===-3||i===2||i===-4)break;if(o=n.avail_out,n.next_out&&(n.avail_out===0||i===1||a>0)&&(this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out)),n.avail_out=0,n.next_out=0),i!==0&&i!==-5||o!==0){if(i===1){i=_A(this.strm);break}if(n.avail_in===0){if(a===4){i=_A(this.strm),i===0&&(i=-5);break}return!0}}}return this.err=i,this.msg=n.msg||VO[i],this.ended=!0,this.onEnd(i),i===0}onStart(e){}onData(e){this.chunks.push(e)}onEnd(e){e===0&&(this.result=bA(this.chunks)),this.chunks=[]}};function CA(e,t,n){let r=0,i=e.onData;if(e.onData=function(e){if(e.byteLength>n-r)throw Error(`gzip output exceeds limit (${n} bytes)`);r+=e.byteLength,i.call(this,e)},!e.push(t,!0)||e.err||e.result===void 0)throw Error(e.msg||`Invalid or incomplete gzip stream`);return e.result}function wA(e){if(!Number.isSafeInteger(e)||e<=0)throw Error(`gzip output limit must be a positive safe integer`);return Math.min(e,65536)}function TA(e,t){return CA(new dhe({windowBits:31,chunkSize:wA(t)}),e,t)}function fhe(e,t,n){return CA(new lhe({gzip:!0,level:n,chunkSize:wA(t)}),e,t)}var EA=class{diff(e,t,n={}){let r;typeof n==`function`?(r=n,n={}):`callback`in n&&(r=n.callback);let i=this.castInput(e,n),a=this.castInput(t,n),o=this.removeEmpty(this.tokenize(i,n)),s=this.removeEmpty(this.tokenize(a,n));return this.diffWithOptionsObj(o,s,n,r)}diffWithOptionsObj(e,t,n,r){let i=e=>{if(e=this.postProcess(e,n),r){setTimeout(function(){r(e)},0);return}return e},a=t.length,o=e.length,s=1,c=a+o;n.maxEditLength!=null&&(c=Math.min(c,n.maxEditLength));let l=n.timeout??1/0,u=Date.now()+l,d=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(d[0],t,e,0,n);if(d[0].oldPos+1>=o&&f+1>=a)return i(this.buildValues(d[0].lastComponent,t,e));let p=-1/0,m=1/0,h=()=>{for(let r=Math.max(p,-s);r<=Math.min(m,s);r+=2){let s,c=d[r-1],l=d[r+1];c&&(d[r-1]=void 0);let u=!1;if(l){let e=l.oldPos-r;u=l&&0<=e&&e<a}let h=c&&c.oldPos+1<o;if(!u&&!h){d[r]=void 0;continue}if(s=!h||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),f=this.extractCommon(s,t,e,r,n),s.oldPos+1>=o&&f+1>=a)return i(this.buildValues(s.lastComponent,t,e))||!0;d[r]=s,s.oldPos+1>=o&&(m=Math.min(m,r-1)),f+1>=a&&(p=Math.max(p,r+1))}s++};if(r)(function e(){setTimeout(function(){if(s>c||Date.now()>u)return r(void 0);h()||e()},0)})();else for(;s<=c&&Date.now()<=u;){let e=h();if(e)return e}}addToPath(e,t,n,r,i){let a=e.lastComponent;return a&&!i.oneChangePerToken&&a.added===t&&a.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:a.count+1,added:t,removed:n,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:a}}}extractCommon(e,t,n,r,i){let a=t.length,o=n.length,s=e.oldPos,c=s-r,l=0;for(;c+1<a&&s+1<o&&this.equals(n[s+1],t[c+1],i);)c++,s++,l++,i.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&&!i.oneChangePerToken&&(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=s,c}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){let t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join(``)}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,n){let r=[],i;for(;e;)r.push(e),i=e.previousComponent,delete e.previousComponent,e=i;r.reverse();let a=r.length,o=0,s=0,c=0;for(;o<a;o++){let e=r[o];if(e.removed)e.value=this.join(n.slice(c,c+e.count)),c+=e.count;else{if(!e.added&&this.useLongestToken){let r=t.slice(s,s+e.count);r=r.map(function(e,t){let r=n[c+t];return r.length>e.length?r:e}),e.value=this.join(r)}else e.value=this.join(t.slice(s,s+e.count));s+=e.count,e.added||(c+=e.count)}}return r}};new class extends EA{};function DA(e,t){let n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function OA(e,t){let n;if(!e||!t||e[e.length-1]!=t[t.length-1])return``;for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function kA(e,t,n){if(e.slice(0,t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(t)}; this is a bug`);return n+e.slice(t.length)}function AA(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(t)}; this is a bug`);return e.slice(0,-t.length)+n}function jA(e,t){return kA(e,t,``)}function MA(e,t){return AA(e,t,``)}function NA(e,t){return t.slice(0,phe(e,t))}function phe(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let r=t.length;e.length<t.length&&(r=e.length);let i=Array(r),a=0;i[0]=0;for(let e=1;e<r;e++){for(t[e]==t[a]?i[e]=i[a]:i[e]=a;a>0&&t[e]!=t[a];)a=i[a];t[e]==t[a]&&a++}a=0;for(let r=n;r<e.length;r++){for(;a>0&&e[r]!=t[a];)a=i[a];e[r]==t[a]&&a++}return a}function PA(e,t){let n=[];for(let r of Array.from(t.segment(e))){let e=r.segment;n.length&&/\s/.test(n[n.length-1])&&/\s/.test(e)?n[n.length-1]+=e:n.push(e)}return n}function FA(e,t){if(t)return LA(e,t)[1];let n;for(n=e.length-1;n>=0&&e[n].match(/\s/);n--);return e.substring(n+1)}function IA(e,t){if(t)return LA(e,t)[0];let n=e.match(/^\s*/);return n?n[0]:``}function LA(e,t){if(!t)return[IA(e),FA(e)];if(t.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);let n=PA(e,t),r=n[0],i=n[n.length-1];return[/\s/.test(r)?r:``,/\s/.test(i)?i:``]}var RA=`a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}`,mhe=RegExp(`[${RA}]+|\\s+|[^${RA}]`,`ug`);new class extends EA{equals(e,t,n){return n.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e.trim()===t.trim()}tokenize(e,t={}){let n;if(t.intlSegmenter){let r=t.intlSegmenter;if(r.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);n=PA(e,r)}else n=e.match(mhe)||[];let r=[],i=null;return n.forEach(e=>{/\s/.test(e)?i==null?r.push(e):r.push(r.pop()+e):i!=null&&/\s/.test(i)?r[r.length-1]==i?r.push(r.pop()+e):r.push(i+e):r.push(e),i=e}),r}join(e){return e.map((e,t)=>t==0?e:e.replace(/^\s+/,``)).join(``)}postProcess(e,t){if(!e||t.oneChangePerToken)return e;let n=null,r=null,i=null;return e.forEach(e=>{e.added?r=e:e.removed?i=e:((r||i)&&zA(n,i,r,e,t.intlSegmenter),n=e,r=null,i=null)}),(r||i)&&zA(n,i,r,null,t.intlSegmenter),e}};function zA(e,t,n,r,i){if(t&&n){let[a,o]=LA(t.value,i),[s,c]=LA(n.value,i);if(e){let r=DA(a,s);e.value=AA(e.value,s,r),t.value=jA(t.value,r),n.value=jA(n.value,r)}if(r){let e=OA(o,c);r.value=kA(r.value,c,e),t.value=MA(t.value,e),n.value=MA(n.value,e)}}else if(n){if(e){let e=IA(n.value,i);n.value=n.value.substring(e.length)}if(r){let e=IA(r.value,i);r.value=r.value.substring(e.length)}}else if(e&&r){let n=IA(r.value,i),[a,o]=LA(t.value,i),s=DA(n,a);t.value=jA(t.value,s);let c=OA(jA(n,s),o);t.value=MA(t.value,c),r.value=kA(r.value,n,c),e.value=AA(e.value,n,n.slice(0,n.length-c.length))}else if(r){let e=IA(r.value,i),n=NA(FA(t.value,i),e);t.value=MA(t.value,n)}else if(e){let n=NA(FA(e.value,i),IA(t.value,i));t.value=jA(t.value,n)}}new class extends EA{tokenize(e){let t=RegExp(`(\\r?\\n)|[${RA}]+|[^\\S\\n\\r]+|[^${RA}]`,`ug`);return e.match(t)||[]}};var hhe=new class extends EA{constructor(){super(...arguments),this.tokenize=VA}equals(e,t,n){return n.ignoreWhitespace?((!n.newlineIsToken||!e.includes(`
|
|
95
|
+
const term = new Terminal({ ghostty });`)}var bS;function xS(){return bS??=vle.load(),bS}var Lle=[``,`bold `,`italic `,`bold italic `];async function SS(e,t){await Promise.all(Lle.map(n=>document.fonts.load(`${n}${String(e)}px ${t}`)))}var Rle=L({path:Cg,entries:Dg(L({name:Cg,type:Ag([`file`,`directory`,`symlink`]),size:wg,modifiedAt:wg})),nextOffset:jg(wg)}),zle=Hx(`computer.list`,1,qo(()=>Ux({list:Gx(Wx(to().transform(e=>hg(Rle)(e))))}))),CS=kg([L({state:Ag([`running`,`sleeping`,`starting`])}),L({state:yg(`queued`),position:wg.pipe(Ng(Jg()),Ng(Gg(0)))})]),wS=L({enabled:Tg,effective:Tg,blockedBy:jg(Ag([`team`,`global`]))}),Ble=L({computerId:e_,name:e_,runtime:CS,backends:Dg(L({id:e_,kind:Ag([`platform-container`,`on-box-vm`,`local`]),status:Ag([`ready`,`queued`,`online`,`offline`]),queuePosition:jg(wg.pipe(Ng(Jg()),Ng(Gg(0)))),hostId:jg(Cg),hostLabel:jg(Cg),folderLabel:jg(Cg),detachable:Tg})),internet:wS});Hx(`computer.instrument.read`,1,qo(()=>Ux({read:Gx(Wx(to().transform(e=>hg(Ble)(e))))}))),Hx(`computer.instrument.control`,1,qo(()=>Ux({start:Gx(Wx(to().transform(e=>hg(CS)(e)))),setInternetAccess:Gx(Wx(to().transform(e=>hg(wS)(e)))),detachLocal:Gx(Wx(to().transform(e=>hg(L({detached:Tg}))(e))))})));var TS=kg([L({ports:Dg(L({port:wg.pipe(Ng(Jg()),Ng(qg({minimum:1,maximum:65535}))),previewUrl:e_,openMode:Ag([`inline`,`external-only`]),expiresAt:wg.pipe(Ng(Jg()),Ng(Gg(0)))})).pipe(Ng(Qg(64)))}),L({error:yg(`port_previews_not_configured`)})]),ES=L({port:wg.annotate({message:`Use a port from 1 to 65535.`}).check(Jg({message:`Use a port from 1 to 65535.`}),qg({minimum:1,maximum:65535},{message:`Use a port from 1 to 65535.`})),exposed:Tg}),Vle=L({port:wg.pipe(Ng(Jg()),Ng(qg({minimum:1,maximum:65535}))),removed:Tg}),DS=Hx(`computer.ports`,2,qo(()=>Ux({list:Gx(Wx(to().transform(e=>hg(TS)(e)))),expose:Gx(Wx(to().transform(e=>hg(ES)(e)))),unexpose:Gx(Wx(to().transform(e=>hg(Vle)(e))))})));async function Hle(e){let t=hg(TS)(await e.require(DS).list());if(`error`in t)return t;for(let{previewUrl:e,expiresAt:n}of t.ports){let t=new URL(e);if(t.protocol!==`https:`||t.username||t.password||n<=Date.now())throw Error(`Computer preview URL is invalid`)}return t}var Ule=Ag([`synced`,`pending`,`unknown`]),OS=L({port:jg(ES.fields.port),id:e_,command:e_,cwd:jg(Cg),startedAt:wg.pipe(Ng(Jg()),Ng(Kg(0))),state:Ag([`running`,`exited`,`uncertain`]),exitCode:jg(wg.pipe(Ng(Jg()))),sync:Ule,endedAt:jg(wg.pipe(Ng(Jg()),Ng(Kg(0))))}),Wle=L({processes:Dg(OS)}),Gle=L({process:OS,signalled:Tg});L({requestId:e_.pipe(Ng(Qg(256))),command:e_.pipe(Ng(Qg(16384))),cwd:_g(Cg),port:_g(ES.fields.port)});var kS=Hx(`computer.processes`,1,qo(()=>Ux({start:Gx(Wx(to().transform(e=>hg(OS)(e)))),list:Gx(Wx(to().transform(e=>hg(Wle)(e)))),kill:Gx(Wx(to().transform(e=>hg(Gle)(e))))}))),Kle=Hx(`computer.readFile`,1,qo(()=>Ux({open:Gx(Ux({response:Gx(ns(Response)),close:Kx}))}))),qle=Hx(`computer.writeFile`,3,qo(()=>Ux({open:Gx(Ux({write:Kx,close:Kx})),mkdir:Kx,replace:Gx(Wx(to().transform(e=>hg(Jle)(e))))}))),Jle=kg([L({kind:yg(`replaced`),path:e_,bytes:wg.pipe(Ng(Jg()),Ng(Kg(0)))}),L({kind:yg(`conflict`)})]),AS=L({computerName:e_.pipe(Ng(Qg(256))),teamName:e_.pipe(Ng(Qg(256))),modelDoor:e_.pipe(Ng(Qg(256))),uptimeSeconds:wg.pipe(Ng(Jg()),Ng(Kg(0))),version:e_.pipe(Ng(Qg(64)))}),jS=Hx(`computer.terminal`,2,qo(()=>Ux({open:Gx(Ux({information:Gx(Wx(to().transform(e=>hg(AS)(e)))),output:Gx(ns(ReadableStream).transform(e=>e.pipeThrough(new TransformStream({transform(e,t){t.enqueue(ns(Uint8Array).parse(e))}})))),input:Gx(ns(WritableStream)),resize:Kx,close:Kx}))})));async function Yle(e,t,n={}){n.signal?.throwIfAborted();let r=await e.require(jS).open(t),i,a=()=>i===void 0?(n.signal?.removeEventListener(`abort`,o),i=Promise.resolve().then(async()=>{try{await r.close()}finally{r[Symbol.dispose]()}}),i):i,o=()=>{a().catch(e=>{lv(`computer.terminal.abort-close`,e)})};n.signal?.addEventListener(`abort`,o,{once:!0});try{let[e,t,o]=await Promise.all([r.output(),r.input(),r.information()]);n.signal?.throwIfAborted();let s=e,c=t;return{information:hg(AS)(o),output:s,input:c,resize:async e=>{if(n.signal?.throwIfAborted(),i!==void 0)throw Error(`Computer terminal is closed`);await r.resize(e)},close:a}}catch(e){throw await a().catch(e=>{lv(`computer.terminal.open-cleanup`,e)}),e}}function MS(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Xle(...e){return t=>{let n=!1,r=e.map(e=>{let r=MS(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():MS(e[t],null)}}}}function Zle(...e){return F.useCallback(Xle(...e),e)}function Qle(e){let t=F.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];PS(r)&&typeof FS==`function`&&(r=FS(r._payload)),F.Children.forEach(r,e=>{if(rue(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;PS(n)&&typeof FS==`function`&&(n=FS(n._payload)),a=eue(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=F.cloneElement(a,void 0,s):!o&&F.Children.count(r)===1&&F.isValidElement(r)&&(a=r);let c=a?nue(a):void 0,l=Zle(n,c);if(!a){if(r||r===0)throw Error(o?sue(e):oue(e));return r}let u=tue(i,a.props??{});return a.type!==F.Fragment&&(u.ref=n?l:c),F.cloneElement(a,u)});return t.displayName=`${e}.Slot`,t}var NS=Qle(`Slot`),$le=Symbol.for(`radix.slottable`),eue=(e,t)=>{if(`child`in e.props){let t=e.props.child;return F.isValidElement(t)?F.cloneElement(t,void 0,e.props.children(t.props.children)):null}return F.isValidElement(t)?t:null};function tue(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 nue(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 rue(e){return F.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===$le}var iue=Symbol.for(`react.lazy`);function PS(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===iue&&`_payload`in e&&aue(e._payload)}function aue(e){return typeof e==`object`&&!!e&&`then`in e}var oue=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,sue=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,FS=F.use,cue=Object.freeze({alphaIntercept:-9,alphaSlope:19,blurStdDeviation:1.5}),lue=Object.freeze({background:`#eff1f5`,foreground:`#4c4f69`,cursor:`#4c4f69`,cursorAccent:`#eff1f5`,surface:`#ccd0da`,selectionBackground:`#4c4f69`,selectionForeground:`#eff1f5`,primary:`#f98284`,accent:`#ea76cb`,success:`#40a02b`,info:`oklch(58% 0.158 241.966)`,warning:`#df8e1d`,error:`#d20f39`,black:`#5c5f77`,red:`#d20f39`,green:`#40a02b`,yellow:`#df8e1d`,blue:`#1e66f5`,magenta:`#ea76cb`,cyan:`#179299`,white:`#4c4f69`,brightBlack:`#6c6f85`,brightRed:`#d20f39`,brightGreen:`#40a02b`,brightYellow:`#df8e1d`,brightBlue:`#1e66f5`,brightMagenta:`#8839ef`,brightCyan:`#04a5e5`,brightWhite:`#4c4f69`}),uue=Object.freeze({background:`#1e1e2e`,foreground:`#cdd6f4`,cursor:`#cdd6f4`,cursorAccent:`#1e1e2e`,surface:`#45475a`,selectionBackground:`#cdd6f4`,selectionForeground:`#1e1e2e`,primary:`#f98284`,accent:`#f5c2e7`,success:`#a6e3a1`,info:`#89b4fa`,warning:`#f9e2af`,error:`#f38ba8`,black:`#45475a`,red:`#f38ba8`,green:`#a6e3a1`,yellow:`#f9e2af`,blue:`#89b4fa`,magenta:`#f5c2e7`,cyan:`#94e2d5`,white:`#cdd6f4`,brightBlack:`#585b70`,brightRed:`#f38ba8`,brightGreen:`#a6e3a1`,brightYellow:`#f9e2af`,brightBlue:`#89b4fa`,brightMagenta:`#cba6f7`,brightCyan:`#89dceb`,brightWhite:`#cdd6f4`}),due=Object.freeze({background:`#fbfbfa`,foreground:`#1a1b1e`,cursor:`#1a1b1e`,cursorAccent:`#fbfbfa`,surface:`#e6e6e1`,selectionBackground:`#1a1b1e`,selectionForeground:`#fbfbfa`,primary:`#e5534b`,accent:`#e5534b`,success:`#2f7a3e`,info:`#2659c4`,warning:`#9a6200`,error:`#c4383a`,black:`#5c5f66`,red:`#c4383a`,green:`#2f7a3e`,yellow:`#9a6200`,blue:`#2659c4`,magenta:`#933a88`,cyan:`#0f7079`,white:`#1a1b1e`,brightBlack:`#6b6f76`,brightRed:`#c4383a`,brightGreen:`#2f7a3e`,brightYellow:`#9a6200`,brightBlue:`#2659c4`,brightMagenta:`#933a88`,brightCyan:`#0f7079`,brightWhite:`#1a1b1e`}),fue=Object.freeze({background:`#0e0f11`,foreground:`#e3e3df`,cursor:`#e3e3df`,cursorAccent:`#0e0f11`,surface:`#26292e`,selectionBackground:`#e3e3df`,selectionForeground:`#0e0f11`,primary:`#ff7b6b`,accent:`#ff7b6b`,success:`#8fd19e`,info:`#8ab4f8`,warning:`#e7c27a`,error:`#ff8a80`,black:`#9a9ea6`,red:`#ff8a80`,green:`#8fd19e`,yellow:`#e7c27a`,blue:`#8ab4f8`,magenta:`#dba6e8`,cyan:`#7fd3d3`,white:`#e3e3df`,brightBlack:`#7d828b`,brightRed:`#ff8a80`,brightGreen:`#8fd19e`,brightYellow:`#e7c27a`,brightBlue:`#8ab4f8`,brightMagenta:`#dba6e8`,brightCyan:`#7fd3d3`,brightWhite:`#e3e3df`});function IS(e){switch(e.trim()){case`readout`:return due;case`readout-night`:return fue;case`latte`:return lue;case`mocha`:return uue;default:return}}var pue=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-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 LS(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=LS(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function mue(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=LS(e))&&(r&&(r+=` `),r+=t);return r}var RS=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,zS=mue,hue=(e,t)=>n=>{if(t?.variants==null)return zS(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=RS(t)||RS(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 zS(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)},BS=Object.defineProperty,gue=((e,t)=>{let n={};for(var r in e)BS(n,r,{get:e[r],enumerable:!0});return t||BS(n,Symbol.toStringTag,{value:`Module`}),n})({isAny:()=>WS,isAnyNonArbitrary:()=>Aue,isArbitraryFamilyName:()=>Lue,isArbitraryImage:()=>zue,isArbitraryLength:()=>Pue,isArbitraryNumber:()=>Fue,isArbitraryPosition:()=>Rue,isArbitraryShadow:()=>Bue,isArbitrarySize:()=>Nue,isArbitraryValue:()=>tC,isArbitraryVariable:()=>nC,isArbitraryVariableFamilyName:()=>Hue,isArbitraryVariableImage:()=>Gue,isArbitraryVariableLength:()=>Vue,isArbitraryVariablePosition:()=>Uue,isArbitraryVariableShadow:()=>Kue,isArbitraryVariableSize:()=>Wue,isArbitraryVariableWeight:()=>que,isArbitraryWeight:()=>Iue,isFraction:()=>Cue,isInteger:()=>wue,isNamedContainerQuery:()=>jue,isNumber:()=>US,isPercent:()=>Tue,isTshirtSize:()=>Eue}),VS=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,HS=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_ue=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,vue=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yue=/\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$/,bue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,xue=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Sue=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Cue=e=>_ue.test(e),US=e=>!!e&&!Number.isNaN(Number(e)),wue=e=>!!e&&Number.isInteger(Number(e)),Tue=e=>e.endsWith(`%`)&&US(e.slice(0,-1)),Eue=e=>vue.test(e),WS=()=>!0,Due=e=>yue.test(e)&&!bue.test(e),GS=()=>!1,Oue=e=>xue.test(e),kue=e=>Sue.test(e),Aue=e=>!tC(e)&&!nC(e),jue=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)),KS=(e,t,n)=>{let r=VS.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},qS=(e,t,n=!1)=>{let r=HS.exec(e);return r?r[1]?t(r[1]):n:!1},JS=e=>e===`position`||e===`percentage`,YS=e=>e===`image`||e===`url`,XS=e=>e===`length`||e===`size`||e===`bg-size`,ZS=e=>e===`length`,Mue=e=>e===`number`,QS=e=>e===`family-name`,$S=e=>e===`number`||e===`weight`,eC=e=>e===`shadow`,Nue=e=>KS(e,XS,GS),tC=e=>VS.test(e),Pue=e=>KS(e,ZS,Due),Fue=e=>KS(e,Mue,US),Iue=e=>KS(e,$S,WS),Lue=e=>KS(e,QS,GS),Rue=e=>KS(e,JS,GS),zue=e=>KS(e,YS,kue),Bue=e=>KS(e,eC,Oue),nC=e=>HS.test(e),Vue=e=>qS(e,ZS),Hue=e=>qS(e,QS),Uue=e=>qS(e,JS),Wue=e=>qS(e,XS),Gue=e=>qS(e,YS),Kue=e=>qS(e,eC,!0),que=e=>qS(e,$S,!0),rC=(e,t)=>{let n=Object.keys(e);return n.length===1&&n[0]===t&&typeof e[t]==`string`},Jue=e=>typeof e==`function`&&e.isThemeGetter===!0,Yue=e=>({...e,theme:{...e.theme},classGroups:{...e.classGroups},conflictingClassGroups:{...e.conflictingClassGroups},conflictingClassGroupModifiers:{...e.conflictingClassGroupModifiers},orderSensitiveModifiers:[...e.orderSensitiveModifiers],postfixLookupClassGroups:[...e.postfixLookupClassGroups??[]]}),Xue=(e,t)=>{let n=Yue(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},iC={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},Zue=25,Que=()=>({names:[],idByName:new Map,impls:{},fnName:new Map,classifierFns:new Map}),aC=(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},oC=(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),aC(e,n,t)}let n=t.$v,r=gue[n];if(iC[n]===void 0||!r)throw Error(`cn: unknown validator "${n}"`);return aC(e,n,r)},sC=()=>({nextPart:new Map,validators:null,classGroupId:-1,lit:[]}),$ue=(e,t)=>e.theme[t]??[],ede=(e,t,n)=>{let r=sC(),i=(e,t)=>{for(let n of t.split(`-`)){let t=e.nextPart.get(n);t||(t=sC(),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(Jue(n)){for(let t of n(e.theme))a(t,r,o);return}(r.validators??=[]).push({validatorId:oC(t,n),groupId:o});return}if(rC(n,`$t`)){for(let t of $ue(e,n.$t))a(t,r,o);return}if(rC(n,`$v`)){(r.validators??=[]).push({validatorId:oC(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},tde=e=>{let t=Que(),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=ede(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 ee=[];for(let e of h){let t=ee[ee.length-1];t&&t.anchor===e.anchor&&t.gid===e.gid?t.tails.push(e.tail):ee.push({anchor:e.anchor,gid:e.gid,tails:[e.tail],set:-1})}let N=new Map,te=[];for(let e of ee){let t=e.tails.join(` `),n=N.get(t);n===void 0&&(n=te.length,N.set(t,n),te.push(e.tails)),e.set=n}for(let e of te.flat())if(e.includes(`|`)||e.includes(` `))throw Error(`cn compiler: tail contains delimiter: `+e);let ne=new Set(te.flat()).size;ee.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 re=n.length,P=new Int32Array(re).fill(-1),ie=0,ae=e=>(P[e]===-1&&(P[e]=ie++),P[e]);for(let e=0;e<M.length;e++)M[e]=ae(M[e]);for(let e of ee)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<re;e++)P[e]===-1&&(P[e]=ie++);let oe=Array(re);for(let e=0;e<re;e++)oe[P[e]]=n[e];let se=[],ce=[],le=[],ue=[],de=[];for(let t=0;t<re;t++){let n=oe[t],i=(e.conflictingClassGroups[n]??[]).map(e=>P[r.get(e)]),a=(e.conflictingClassGroupModifiers[n]??[]).map(e=>P[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=>P[r.get(e)]),pe=[],me=new Int32Array(j.length);for(let e=0;e<j.length;e++){let n=t.names[j[e]],r=iC[n];if(r!==void 0)me[e]=r;else{let t=pe.indexOf(n);t===-1&&(t=pe.length,pe.push(n)),me[e]=Zue+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:re,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:te,attachments:ee,uniqueTailCount:ne,adjGid:se,adjCnt:ce,adjTgt:le,patGid:ue,patTgt:de,postfixLookup:fe,orderSensitiveModifiers:e.orderSensitiveModifiers.join(` `),prefix:e.prefix}},cC=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},nde=e=>{let t=tde(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:cC(t.edgeCounts),labelStart:cC(t.edgeLabelLen),labelText:t.labelText,edgeTarget:Int32Array.from(t.edgeTargetActual),nodeGroup:t.nodeGroup,nodeVlist:t.nodeVlist,vlistPat:cC(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:cC(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}},rde=`line`in Error(),lC=-1,uC=-1,dC=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},fC=(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},ide=(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,ee=new Uint8Array(M),N=0,te=!0;for(let e=0;e<m.length;e++){ee[m[e]]=1;let t=_[g[e]*2+1];t>N&&(N=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(te=!1)}let ne=1;for(;ne<m.length*2;)ne<<=1;let re=new Int32Array(ne).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(dC(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&ne-1;for(;re[n]!==-1;)n=n+1&ne-1;re[n]=e}let P=(e,t,n,r)=>{let i=(dC(t,n,r)^Math.imul(e,2654435761)|0)&ne-1,a=r-n;for(;;){let r=re[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&ne-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=dC(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?lC: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(ee[i]===1&&a>0&&a<=N){let t=e.charCodeAt(r);if(te===!1||t!==91&&t!==40){let t=P(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 lC},_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[_]=lC,Ye(y,e,p,h,v,lC,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 N=0,te=0,ne=0,re=-1,P=0;(l[0]>=0||ee[0]===1)&&(st[0]=0,ct[0]=M,P=1);let ie=uC,ae=0;for(let t=M;t<D;t++)if(t===A&&(ie=te<ne?uC:N,ae=P),N!==uC){let n=e.charCodeAt(t),r=-1;if(te<ne)o.charCodeAt(te)===n?(te++,te===ne&&(r=N=re)):N=uC;else{let e=i[N],t=i[N+1],c=uC;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]:(te=e+1,ne=a[i+1],re=s[i],c=N);break}}N=c}if(r>=0&&(l[r]>=0||ee[r]===1)&&t+1<D&&e.charCodeAt(t+1)===45){if(P===ot){ot*=2;let e=new Int32Array(ot);e.set(st),st=e;let t=new Int32Array(ot);t.set(ct),ct=t}st[P]=r,ct[P]=t+2,P++}}A===D&&(ie=te<ne?uC:N,ae=P);let ce=te<ne?uC:N,le,ue=!1;if(A>=0){if(ue=!0,le=gt(e,E,A,ie,ae),le!==lC&&le<r&&j[le]){let t=gt(e,E,D,ce,P);t!==lC&&t!==le&&(le=t,ue=!1)}else le===lC&&(le=gt(e,E,D,ce,P),ue=!1)}else le=gt(e,E,D,ce,P);let de=0,fe=0;le===lC?tt[_]=lC:(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===lC){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=fC(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=fC(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=fC(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:rde?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(ode.apply(null,arguments))},mergeString:Mt,seenBefore:ie===0?()=>!1:jt,mergeUncached:_t}},pC=(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:pC(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},ade=(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:pC(i,t);a&&(n&&(n+=` `),n+=a)}return n},ode=function(){return ade(arguments,!1)},sde=(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]=pC(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(pC(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)}},cde=`{"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"]}`,mC=()=>JSON.parse(cde),lde=e=>`classGroups`in e&&`theme`in e&&`conflictingClassGroups`in e,ude=e=>e===void 0?{config:mC()}:typeof e==`function`?{config:e(mC())}:lde(e)?{config:e}:{config:Xue(mC(),e),cacheSize:e.cacheSize},dde=e=>{let{config:t,cacheSize:n}=ude(e),{tables:r,validatorImpls:i,prefix:a}=nde(t);return ide(r,i,{cacheSize:n,prefix:a})},hC=(e=>{let t=null,n=()=>t??=dde(e);return sde(e=>n().mergeString(e),{seenBefore:e=>n().seenBefore(e),mergeUncached:e=>n().mergeUncached(e)})})({extend:{theme:{spacing:[...pue]}}}),gC=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)`}),_C=`(prefers-reduced-motion: reduce)`;function vC(e){let t=e.ownerDocument.defaultView;if(!t)return gC;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?.(_C).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`,gC.squish),fast:o(`fast`,gC.fast),normal:o(`normal`,gC.normal),slow:o(`slow`,gC.slow),springDuration:o(`spring-duration`,gC.springDuration),bounce:Math.min(1,s(`bounce`,gC.bounce)),stretch:s(`stretch`,gC.stretch),distance:s(`distance`,gC.distance),stagger:a?0:i(`--stipe-motion-stagger`,gC.stagger),blur:s(`blur`,gC.blur),shake:s(`shake`,gC.shake),steps:Math.floor(s(`steps`,gC.steps)),fuse:r(`--stipe-motion-fuse`,gC.fuse),pressDepth:a?0:r(`--stipe-press-depth`,gC.pressDepth),pressScale:a?1:r(`--stipe-press-scale`,gC.pressScale),ease:n.getPropertyValue(`--stipe-motion-ease`).trim()||gC.ease,easeExit:n.getPropertyValue(`--stipe-motion-ease-exit`).trim()||gC.easeExit}}function yC(e){let[t,n]=(0,F.useState)(()=>({...gC,reduced:!0}));return(0,F.useLayoutEffect)(()=>{let t=e.current,r=t?.ownerDocument.defaultView;if(!t||!r)return;let i=()=>{let e=vC(t);n(t=>JSON.stringify(t)===JSON.stringify(e)?t:e)};i();let a=new r.MutationObserver(i);for(let e=t;e;e=e.parentElement)a.observe(e,{attributes:!0,attributeFilter:[`data-theme`,`class`,`style`]});let o=r.matchMedia?.(_C);return o?.addEventListener(`change`,i),()=>{a.disconnect(),o?.removeEventListener(`change`,i)}},[e]),t}function bC(e,t){return e.reduced?0:Math.round(t*e.normal/gC.normal)}function fde(e,t){if(e.reduced)return 0;let n=t*e.bounce/gC.bounce;return Math.min(.9,Math.max(0,n))}function pde(e,t){return e.reduced?0:Math.round(t*e.springDuration/gC.springDuration)}function xC(e,t){return e.steps>0?`steps(${String(e.steps)}, end)`:t}function SC(e){return`animate`in e}var CC=globalThis;function mde(){return CC.matchMedia?.(_C).matches??!1}function hde(e){let t=CC.matchMedia?.(_C);return t?.addEventListener(`change`,e),()=>{t?.removeEventListener(`change`,e)}}function gde(){return!0}function wC(){return(0,F.useSyncExternalStore)(hde,mde,gde)}var TC=(0,F.forwardRef)(function({asChild:e=!1,className:t,...n},r){let i=hC(`absolute h-px w-px overflow-hidden whitespace-nowrap border-0 p-0 [clip:rect(0,0,0,0)]`,t);return e?(0,R.jsx)(NS,{...n,className:i,ref:r}):(0,R.jsx)(`span`,{...n,className:i,ref:r})}),EC=typeof window<`u`,DC=EC?window:null,OC=EC?document:null,kC={OBJECT:0,ATTRIBUTE:1,CSS:2,TRANSFORM:3,CSS_VAR:4},AC={NUMBER:0,UNIT:1,COLOR:2,COMPLEX:3},jC={NONE:0,AUTO:1,FORCE:2},MC={replace:0,none:1,blend:2},NC=Symbol(),PC=Symbol(),FC=Symbol(),IC=Symbol(),_de=Symbol(),LC=1e-11,RC=0xe8d4a51000,zC=1e3,BC=[],VC=(()=>{let e=new Map;return e.set(`x`,`translateX`),e.set(`y`,`translateY`),e.set(`z`,`translateZ`),e})(),HC=[`perspective`,`translateX`,`translateY`,`translateZ`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`scale`,`scaleX`,`scaleY`,`scaleZ`,`skew`,`skewX`,`skewY`],vde=HC.reduce((e,t)=>({...e,[t]:t+`(`}),{}),UC=()=>{},WC=e=>e,yde=/\)\s*[-.\d]/,bde=/(^#([\da-f]{3}){1,2}$)|(^#([\da-f]{4}){1,2}$)/i,xde=/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i,Sde=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,Cde=/hsl\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*\)/i,wde=/hsla\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)\s*\)/i,GC=/[-+]?\d*\.?\d+(?:e[-+]?\d)?/gi,Tde=/^([-+]?\d*\.?\d+(?:e[-+]?\d+)?)([a-z]+|%)$/i,Ede=/([a-z])([A-Z])/g,Dde=/var\(\s*(--[\w-]+)(?:\s*,\s*([^)]+))?\s*\)/,KC={id:null,keyframes:null,playbackEase:null,playbackRate:1,frameRate:240,loop:0,reversed:!1,alternate:!1,autoplay:!0,persist:!1,duration:zC,delay:0,loopDelay:0,ease:`out(2)`,composition:MC.replace,modifier:WC,onBegin:UC,onBeforeUpdate:UC,onUpdate:UC,onLoop:UC,onPause:UC,onComplete:UC,onRender:UC},qC={current:null,root:OC},JC={defaults:KC,precision:4,timeScale:1,tickThreshold:200,editor:null},YC={version:`4.5.0`,engine:null};EC&&(DC.AnimeJS||=[],DC.AnimeJS.push(YC));var XC=e=>e.replace(Ede,`$1-$2`).toLowerCase(),ZC=(e,t)=>e.indexOf(t)===0,QC=Date.now,$C=Array.isArray,ew=e=>e&&e.constructor===Object,Ode=e=>typeof e==`number`&&!isNaN(e),tw=e=>typeof e==`string`,nw=e=>typeof e==`function`,rw=e=>e===void 0,iw=e=>rw(e)||e===null,aw=e=>EC&&e instanceof SVGElement,ow=e=>bde.test(e),sw=e=>ZC(e,`rgb`),cw=e=>ZC(e,`hsl`),lw=e=>ow(e)||(sw(e)||cw(e))&&(e[e.length-1]===`)`||!yde.test(e)),uw=e=>!JC.defaults.hasOwnProperty(e),kde=[`opacity`,`rotate`,`overflow`,`color`],Ade=(e,t)=>{if(kde.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}},dw=Math.pow,fw=Math.sqrt,pw=Math.sin,mw=Math.cos,jde=Math.abs,hw=Math.exp,Mde=Math.ceil,gw=Math.floor,Nde=Math.asin,_w=Math.PI,vw=Math.round,yw=(e,t,n)=>e<t?t:e>n?n:e,bw=(e,t)=>{if(t<0)return e;if(!t)return vw(e);let n=10**t;return vw(e*n)/n},xw=(e,t,n)=>n===1?t:n===0?e:e+(t-e)*n,Sw=e=>e===1/0?RC:e===-1/0?-RC:e,Cw=e=>e<=1e-11?LC:Sw(bw(e,11)),ww=e=>$C(e)?[...e]:e,Pde=(e,t)=>{let n={...e};for(let r in t){let i=e[r];n[r]=rw(i)?t[r]:i}return n},Tw=(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}},Ew=(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},Dw=(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},Fde=(e,t,n)=>{let r=e.style.transform;if(r){let i=e[IC],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(!rw(c))return n&&(n[t]=c),c}return t===`translate3d`?`0px, 0px, 0px`:t===`rotate3d`?`0, 0, 0, 0deg`:ZC(t,`scale`)?`1`:ZC(t,`rotate`)||ZC(t,`skew`)?`0deg`:`0px`},Ow=e=>{let t=``;for(let n=0,r=HC.length;n<r;n++){let r=HC[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+=`${vde[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},kw=[];function Aw(e,t){if(!e)return null;let n=kw.length;outer:for(let r=0;r<n;r++){let n=kw[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=kw[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 jw=e=>{let t=xde.exec(e)||Sde.exec(e),n=rw(t[4])?1:+t[4];return[+t[1],+t[2],+t[3],n]},Mw=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]},Nw=(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),Pw=e=>{let t=Cde.exec(e)||wde.exec(e),n=t[1]/360,r=t[2]/100,i=t[3]/100,a=rw(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=bw(Nw(t,e,n+1/3)*255,0),s=bw(Nw(t,e,n)*255,0),c=bw(Nw(t,e,n-1/3)*255,0)}return[o,s,c,a]},Fw=e=>sw(e)?jw(e):ow(e)?Mw(e):cw(e)?Pw(e):[0,0,0,1],Iw=(e,t)=>rw(e)?t:e,Lw=(e,t)=>{let n=e.match(Dde),r=t[PC]?t:document.documentElement,i=getComputedStyle(r)?.getPropertyValue(n[1]);return(!i||i.trim()===``)&&n[2]&&(i=n[2].trim()),i||0},Rw=(e,t,n,r,i,a)=>{if(nw(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(tw(e)&&ZC(e,`var(`)){if(!i)return Lw(e,t);let n=()=>Lw(e,t);return i.func=n,n()}return e},zw=(e,t)=>e[PC]?e[FC]&&Ade(e,t)?kC.ATTRIBUTE:HC.includes(t)||VC.get(t)?kC.TRANSFORM:ZC(t,`--`)?kC.CSS_VAR:t in e.style?kC.CSS:t in e?kC.OBJECT:kC.ATTRIBUTE:kC.OBJECT,Bw=(e,t,n)=>{let r=e.style[t];r&&n&&(n[t]=r);let i=r||getComputedStyle(e[_de]||e).getPropertyValue(t);return i===`auto`?`0`:i},Vw=(e,t,n,r)=>{let i=rw(n)?zw(e,t):n,a=Aw(e,t);if(a){let n=a.get(e);return n&&r&&(r[t]=n),n??0}if(i===kC.OBJECT){let n=e[t];return n&&r&&(r[t]=n),n||0}if(i===kC.ATTRIBUTE){let n=e.getAttribute(t);return n&&r&&(r[t]=n),n}return i===kC.TRANSFORM?Fde(e,t,r):i===kC.CSS_VAR?Bw(e,t,r).trimStart():Bw(e,t,r)},Hw=(e,t,n)=>n===`-`?e-t:n===`+`?e+t:e*t,Uw=()=>({t:AC.NUMBER,n:0,u:null,o:null,d:null,s:null}),Ww=(e,t)=>{if(t.t=AC.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(` `)&&Tde.exec(r);if(i)return t.t=AC.UNIT,t.n=+i[1],t.u=i[2],t;if(t.o)return t.n=+r,t;if(lw(r))return t.t=AC.COLOR,t.d=Fw(r),t;{let e=r.match(GC);return t.t=AC.COMPLEX,t.d=e?e.map(Number):[],t.s=r.split(GC)||[],t}},Gw=(e,t)=>(t.t=e._valueType,t.n=e._toNumber,t.u=e._unit,t.o=null,t.d=ww(e._toNumbers),t.s=ww(e._strings),t),Kw=Uw(),qw=(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(bw(xw(i[c],a[c],t),n)),u=o[c+1];s+=`${u?l+u:l}`,e._numbers[c]=l}return s},Jw=(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=yw(g,-h,o),b=yw(v,-h,o),x=v-g,S=b>0,C=b>=o,w=o<=LC,T=i===jC.FORCE,E=0,D=v,O=0;if(l>1){let t=c+(C?0:d),n=~~(b/t);e._currentIteration=yw(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===jC.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)>=JC.tickThreshold,i=bw(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!==MC.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=yw(j-o._startTime,0,a),n=o._ease(t/o._updateDuration),i=o._modifier,f=o._valueType,p=o._tweenType,m=p===kC.OBJECT,g=f===AC.NUMBER,_=g&&m||n===0||n===1?-1:JC.precision,v,y;if(g)v=y=i(bw(xw(o._fromNumber,o._toNumber,n),_));else if(f===AC.UNIT)y=i(bw(xw(o._fromNumber,o._toNumber,n),_)),v=`${y}${o._unit}`;else if(f===AC.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(xw(t[3],a[3],n)),(!o._setter||r)&&(v=`rgba(${bw(e[0],0)},${bw(e[1],0)},${bw(e[2],0)},${e[3]})`)}else f===AC.COMPLEX&&(v=qw(o,n,_));if(h&&(o._number=y),!r&&e!==MC.blend){let e=o.property;s=o.target,o._setter?o._setter(s,y,o):m?s[e]=v:p===kC.ATTRIBUTE?s.setAttribute(e,v):(c=s.style,p===kC.TRANSFORM?(s!==l&&(l=s,u=s[IC]),u[e]=v,d=1):p===kC.CSS?c[e]=v:p===kC.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=Ow(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},Yw=(e,t,n,r,i)=>{let a=e._currentIteration;if(Jw(e,t,n,r,i),e._hasChildren){let o=e,s=o.backwards,c=r?t:o._iterationTime,l=QC(),u=0,d=!0;if(!r&&o._currentIteration!==a){let e=o.iterationDuration;Tw(o,t=>{if(!s)!t.completed&&!t.backwards&&t._currentTime<t.iterationDuration&&Jw(t,e,n,1,jC.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)}Tw(o,e=>{let t=bw((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+=Jw(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))))}},Xw={},Ide=(e,t,n)=>{if(n===kC.TRANSFORM)return VC.get(e)||e;if(n===kC.CSS||n===kC.ATTRIBUTE&&aw(t)&&e in t.style){let t=Xw[e];if(t)return t;{let t=e&&XC(e);return Xw[e]=t,t}}return e},Zw=(e,t=!1)=>{if(e._hasChildren)Tw(e,e=>Zw(e,t),!0);else{let n=e;n.pause(),Tw(n,e=>{let r=e.property,i=e.target,a=e._tweenType,o=e._inlineValue,s=iw(o)||o===``;if(e._setter){if(!t&&!s){if(Ww(o,Kw),Kw.d){let t=Kw.d,n=e._numbers;for(let e=0,r=t.length;e<r;e++)n[e]=t[e]}else e._number=Kw.n;e._setter(e.target,e._number,e)}}else if(a===kC.OBJECT)!t&&!s&&(i[r]=o);else if(i[PC]){if(a===kC.ATTRIBUTE)t||(s?i.removeAttribute(r):i.setAttribute(r,o));else{let t=i.style;if(a===kC.TRANSFORM){let n=i[IC];s?delete n[r]:n[r]=o,e._renderTransforms&&(Object.keys(n).length?t.transform=Ow(n):t.removeProperty(`transform`))}else s?t.removeProperty(XC(r)):t[r]=o}}i[PC]&&n._tail===e&&n.targets.forEach(e=>{e.getAttribute&&e.getAttribute(`style`)===``&&e.removeAttribute(`style`)})})}return e},Qw=class{constructor(e=0){this.deltaTime=0,this._currentTime=e,this._lastTickTime=e,this._startTime=e,this._lastTime=e,this._frameDuration=zC/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?LC:t,r=zC/n;n>KC.frameRate&&(KC.frameRate=n),this._fps=n,this._frameDuration=r}get speed(){return this._speed}set speed(e){let t=+e;this._speed=t<1e-11?LC:t}requestTick(e){let t=this._frameDuration,n=e-this._lastTickTime,r=t*.25;return n+(r<4?r:4)<t?jC.NONE:(this._lastTickTime=n>=t?e-n%t:e,jC.AUTO)}computeDeltaTime(e){let t=e-this._lastTime;return this.deltaTime=t,this._lastTime=e,t}},$w={animation:null,update:UC},Lde=e=>{let t=$w.animation;return t||(t={duration:LC,computeDeltaTime:UC,_offset:0,_delay:0,_head:null,_tail:null},$w.animation=t,$w.update=()=>{e.forEach(e=>{for(let t in e){let n=e[t],r=n._head;if(r){let e=r._valueType,t=e===AC.COMPLEX||e===AC.COLOR?ww(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}}}),Jw(t,1,1,0,jC.FORCE)}),t},eT=EC?requestAnimationFrame:setImmediate,Rde=EC?cancelAnimationFrame:clearImmediate,zde=class extends Qw{constructor(e){super(e),this.useDefaultMainLoop=!0,this.pauseOnDocumentHidden=!0,this.defaults=KC,this.paused=!0,this.reqId=0}update(){let e=this._currentTime=QC();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?(Ew(this,r),this._hasChildren=!!this._tail,r._running=!1,r.completed&&!r._cancelled&&r.cancel()):Yw(r,(e-r._startTime)*r._speed*t,0,0,r._fps<n?r.requestTick(e):jC.AUTO),r=i}$w.update()}}wake(){return this.useDefaultMainLoop&&!this.reqId&&(this.requestTick(QC()),this.reqId=eT(nT)),this}pause(){if(this.reqId)return this.paused=!0,Bde()}resume(){if(this.paused)return this.paused=!1,Tw(this,e=>e.resetTime()),this.wake()}get speed(){return this._speed*(JC.timeScale===1?1:zC)}set speed(e){let t=e*JC.timeScale;this._speed!==t&&(this._speed=t,Tw(this,e=>e.speed=e._speed))}get timeUnit(){return JC.timeScale===1?`ms`:`s`}set timeUnit(e){let t=.001,n=e===`s`,r=n?t:1;if(JC.timeScale!==r){JC.timeScale=r,JC.tickThreshold=200*r;let e=n?t:zC;this.defaults.duration*=e,this._speed*=e}}get precision(){return JC.precision}set precision(e){JC.precision=e}},tT=(()=>{let e=new zde(QC());return EC&&(YC.engine=e,OC.addEventListener(`visibilitychange`,()=>{e.pauseOnDocumentHidden&&(OC.hidden?e.pause():e.resume())})),e})(),nT=()=>{tT._head?(tT.reqId=eT(nT),tT.update()):tT.reqId=0},Bde=()=>(Rde(tT.reqId),tT.reqId=0,tT),rT={_rep:new WeakMap,_add:new Map},iT=(e,t,n=`_rep`)=>{let r=rT[n],i=r.get(e);return i||(i={},r.set(e,i)),i[t]?i[t]:i[t]={_head:null,_tail:null}},Vde=(e,t)=>e._isOverridden||e._absoluteStartTime>t._absoluteStartTime,aT=e=>{e._isOverlapped=1,e._isOverridden=1,e._changeDuration=LC,e._currentTime=LC},oT=(e,t)=>{let n=e._composition;if(n===MC.replace){let n=e._absoluteStartTime;Dw(t,e,Vde,`_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){aT(r);let e=r._prevRep;for(;e&&e.parent.id===t.id;)aT(e),e=e._prevRep}let a=e._absoluteUpdateStartTime;if(i>a){let e=r._startTime,t=bw(a-(i-(e+r._updateDuration))-e,12);r._changeDuration=t,r._currentTime=t,r._isOverlapped=1,t<1e-11&&aT(r)}let o=e.parent.parent;if(!o||o!==t.parent){let e=!0;if(Tw(t,t=>{t._isOverlapped||(e=!1)}),e){let e=t.parent;if(e){let n=!0;Tw(e,e=>{e!==t&&Tw(e,e=>{e._isOverlapped||(n=!1)})}),n&&e.cancel()}else t.cancel()}}}}else if(n===MC.blend){let t=iT(e.target,e.property,`_add`),n=Lde(rT._add),r=t._head;r||(r={...e},r._composition=MC.replace,r._updateDuration=LC,r._startTime=0,r._numbers=ww(e._fromNumbers),r._number=0,r._next=null,r._prev=null,Dw(t,r),Dw(n,r));let i=e._toNumber;if(e._fromNumber=r._fromNumber-i,e._toNumber=0,e._numbers=ww(e._fromNumbers),e._number=0,r._fromNumber=i,e._toNumbers.length){let t=ww(e._toNumbers);t.forEach((t,n)=>{e._fromNumbers[n]=r._fromNumbers[n]-t,e._toNumbers[n]=0}),r._fromNumbers=t}Dw(t,e,null,`_prevAdd`,`_nextAdd`)}return e},Hde=e=>{let t=e._composition;if(t!==MC.none){let n=e.target,r=e.property,i=rT._rep.get(n)[r];if(Ew(i,e,`_prevRep`,`_nextRep`),t===MC.blend){let t=rT._add,i=t.get(n);if(!i)return;let a=i[r],o=$w.animation;Ew(a,e,`_prevAdd`,`_nextAdd`);let s=a._head;if(s&&s===a._tail){Ew(a,s,`_prevAdd`,`_nextAdd`),Ew(o,s);let e=!0;for(let t in i)if(i[t]._head){e=!1;break}e&&t.delete(n)}}}return e},sT=e=>(e.paused=!0,e.began=!1,e.completed=!1,e),cT=e=>e._cancelled?(e._hasChildren?Tw(e,cT):Tw(e,e=>{e._composition!==MC.none&&oT(e,iT(e.target,e.property))}),e._cancelled=0,e):e,lT=0,Ude=(e,t)=>e._priority>t._priority,Wde=class extends Qw{constructor(e={},t=null,n=0){super(0),++lT;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;qC.current&&qC.current.register(this);let b=t?0:tT._lastTickTime,x=t?t.defaults:JC.defaults,S=nw(i)||rw(i)?x.delay:+i,C=nw(a)||rw(a)?1/0:+a,w=Iw(c,x.loop),T=Iw(l,x.loopDelay),E=w===!0||w===1/0||w<0?1/0:w+1,D=0;t?D=n:(tT.reqId||tT.requestTick(QC()),D=(tT._lastTickTime-tT._startTime)*JC.timeScale),this.id=rw(r)?lT:r,this.parent=t,this.duration=Sw((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&&Iw(u,x.autoplay),this._offset=D,this._delay=S,this._loopDelay=T,this._iterationTime=0,this._currentIteration=0,this._resolve=UC,this._running=!1,this._reversed=+Iw(o,x.reversed),this._reverse=this._reversed,this._cancelled=0,this._alternate=Iw(s,x.alternate),this._prev=null,this._next=null,this._lastTickTime=b,this._startTime=b,this._lastTime=b,this._fps=Iw(d,x.frameRate),this._speed=Iw(f,x.playbackRate),this._priority=+Iw(p,1)}get cancelled(){return!!this._cancelled}set cancelled(e){e?this.cancel():this.reset(!0).play()}get currentTime(){return yw(bw(this._currentTime,JC.precision),-this._delay,this.duration)}set currentTime(e){let t=this.paused;this.pause().seek(+e),t||this.resume()}get iterationCurrentTime(){return yw(bw(this._iterationTime,JC.precision),0,this.iterationDuration)}set iterationCurrentTime(e){this.currentTime=this.iterationDuration*this._currentIteration+e}get progress(){return yw(bw(this._currentTime/this.duration,10),0,1)}set progress(e){this.currentTime=this.duration*e}get iterationProgress(){return yw(bw(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*yw(+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 cT(this),this._reversed&&!this._reverse&&(this.reversed=!1),this._iterationTime=this.iterationDuration,Yw(this,0,1,~~e,jC.FORCE),sT(this),this._hasChildren&&Tw(this,sT),this}init(e=!1){this.fps=this._fps,this.speed=this._speed,!e&&this._hasChildren&&Yw(this,this.duration,1,~~e,jC.FORCE),this.reset(e);let t=this._autoplay;return t===!0?this.resume():t&&!rw(t.linked)&&t.link(this),this}resetTime(){let e=1/(this._speed*tT._speed);return this._startTime=QC()-(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?Yw(this,LC,0,0,jC.FORCE):(this._running||=(Dw(tT,this,Ude),tT._hasChildren=!0,!0),this.resetTime(),this._startTime-=12,tT.wake()),this):this}restart(){return this.reset().resume()}seek(e,t=0,n=0){cT(this),this.completed=!1;let r=this.paused;return this.paused=!0,Yw(this,e+this._delay,~~t,~~n,jC.AUTO),r?this:this.resume()}alternate(){let e=this._reversed,t=this.iterationCount,n=this.iterationDuration,r=t===1/0?gw(RC/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?Tw(this,e=>e.cancel(),!0):Tw(this,Hde),this._cancelled=1,this.pause()}stretch(e){let t=this.duration,n=Cw(e);if(t===n)return this;let r=e/t,i=e<=LC;return this.duration=i?LC:n,this.iterationDuration=i?LC:Cw(this.iterationDuration*r),this._offset*=r,this._delay*=r,this._loopDelay*=r,this}revert(){Yw(this,0,1,0,jC.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=UC){let t=this.then,n=()=>{this.then=null,e(this),this.then=t,this._resolve=UC};return new Promise(e=>(this._resolve=()=>e(n()),this.completed&&this._resolve(),this))}};function uT(e){let t=tw(e)?qC.root.querySelectorAll(e):e;if(t instanceof NodeList||t instanceof HTMLCollection)return t}function Gde(e){if(iw(e))return[];if(!EC)return $C(e)&&e.flat(1/0)||[e];if($C(e)){let t=e.flat(1/0),n=[];for(let e=0,r=t.length;e<r;e++){let r=t[e];if(!iw(r)){let e=uT(r);if(e)for(let t=0,r=e.length;t<r;t++){let r=e[t];if(!iw(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=uT(e);return t?Array.from(t):[e]}function Kde(e){let t=Gde(e),n=t.length;for(let e=0;e<n;e++){let n=t[e];if(!n[NC]){n[NC]=!0;let e=aw(n);(n.nodeType||e)&&(n[PC]=!0,n[FC]=e,n[IC]={})}}return t}var dT={deg:1,rad:180/_w,turn:360},fT={},pT=(e,t,n,r=!1)=>{let i=t.u,a=t.n;if(t.t===AC.UNIT&&i===n)return t;let o=a+i+n,s=fT[o];if(!rw(s)&&!r)t.n=s;else{let r;if(i in dT)r=a*dT[i]/dT[n];else{let t=e.cloneNode(),o=e.parentNode,s=o&&o!==OC?o:OC.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,fT[o]=r}return t.t,AC.UNIT,t.u=n,t},mT=e=>e,hT=(e=1.68)=>t=>dw(t,+e),gT={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},qde=_w/2,_T=_w*2,vT={"":hT,Quad:hT(2),Cubic:hT(3),Quart:hT(4),Quint:hT(5),Sine:e=>1-mw(e*qde),Circ:e=>1-fw(1-e*e),Expo:e=>e?dw(2,10*e-10):0,Bounce:e=>{let t,n=4;for(;e<((t=dw(2,--n))-1)/11;);return 1/dw(4,3-n)-7.5625*dw((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=yw(+e,1,10),r=yw(+t,LC,2),i=r/_T*Nde(1/n),a=_T/r;return e=>e===0||e===1?e:-n*dw(2,-10*(1-e))*pw((1-e-i)*a)}},yT=(()=>{let e={linear:mT,none:mT};for(let t in gT)for(let n in vT){let r=vT[n],i=gT[t];e[t+n]=n===``||n===`Back`||n===`Elastic`?(e,t)=>i(r(e,t)):i(r)}return e})(),bT={linear:mT,none:mT},xT=e=>{if(bT[e])return bT[e];if(e.indexOf(`(`)<=-1){let t=gT[e]||e.includes(`Back`)||e.includes(`Elastic`)?yT[e]():yT[e];return t?bT[e]=t:mT}{let t=e.slice(0,-1).split(`(`),n=yT[t[0]];return n?bT[e]=n(...t[1].split(`,`)):mT}},ST=[`steps(`,`irregular(`,`linear(`,`cubicBezier(`],CT=e=>{if(tw(e)){for(let t=0,n=ST.length;t<n;t++)if(ZC(e,ST[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}\``),mT}return nw(e)?e:tw(e)?xT(e):mT},wT=Uw(),TT=Uw(),ET={},DT={func:null},OT={func:null},kT=[null],AT=[null,null],jT={to:null},MT=0,NT=0,PT,FT,Jde=(e,t)=>{let n={};if($C(e)){let t=[].concat(...e.map(e=>Object.keys(e))).filter(uw);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];uw(n)?n===i&&(t.to=r):t[n]=r}return t})}}else{let r=Iw(t.duration,JC.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(uw(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},Yde=class extends Wde{constructor(e,t,n,r,i=!1,a=0,o){super(t,n,r),this._head,this._tail,++NT;let s=Kde(e),c=s.length,l=t.keyframes,u=l?Pde(Jde(l,t),t):t,{id:d,delay:f,duration:p,ease:m,playbackEase:h,modifier:g,composition:_,onRender:v}=u,y=n?n.defaults:JC.defaults,b=Iw(m,y.ease),x=Iw(h,y.playbackEase),S=x?CT(x):null,C=!rw(b.ease),w=C?b.ease:Iw(m,S?`linear`:y.ease),T=C?b.settlingDuration:Iw(p,y.duration),E=Iw(f,y.delay),D=g||y.modifier,O=rw(_)&&c>=1e3?MC.none:rw(_)?y.composition:_,k=this._offset+(n?n._offset:0);C&&(b.parent=this);let A=NaN,j=NaN,M=0,ee=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(uw(e)){let a=zw(t,e),o=Aw(t,e),s=Ide(e,t,a),f=u[e],p=$C(f);if(i&&!p&&(AT[0]=f,AT[1]=f,f=AT),p){let e=f.length,t=!ew(f[0]);e===2&&t?(jT.to=f,kT[0]=jT,PT=kT):e>2&&t?(PT=[],f.forEach((e,t)=>{t?t===1?(AT[1]=e,PT.push(AT)):PT.push(e):AT[0]=e})):PT=f}else kT[0]=f,PT=kT;let m=null,h=null,g=NaN,_=0,v=0;for(let e=PT.length;v<e;v++){let i=PT[v];ew(i)?FT=i:(jT.to=i,FT=jT),DT.func=null,OT.func=null;let l=Rw(Iw(FT.composition,O),t,r,c,null,null),u=Ode(l)?l:MC[l];!m&&u!==MC.none&&(m=iT(t,s));let d=m?m._tail:null,f=n&&d&&d.parent.parent===n?d:h,p=Rw(FT.to,t,r,c,DT,f),y;ew(p)&&!rw(p.to)?(FT=p,y=p.to):y=p;let b=Rw(FT.from,t,r,c,OT,f),x=FT.ease||w,S=Rw(x,t,r,c,null,f),C=nw(S)||tw(S)?S:x,A=!rw(C)&&!rw(C.ease),j=A?C.ease:C,N=A?C.settlingDuration:Rw(Iw(FT.duration,e>1?Rw(T,t,r,c,null,f)/e:T),t,r,c,null,f),te=Rw(Iw(FT.delay,v?0:E),t,r,c,null,f),ne=FT.modifier||D,re=!rw(b),P=!rw(y),ie=$C(y),ae=ie||re&&P,oe=h?_:0,se=h?_+te:te,ce=bw(k+se,12),le=bw(k+oe,12);!ee&&(re||ie)&&(ee=1);let ue=h;if(u!==MC.none){let e=m._head;for(;e&&e._absoluteStartTime<=ce;)if(e._isOverridden||(ue=e),e=e._nextRep,e&&e._absoluteStartTime>=ce)for(;e;)aT(e),e=e._nextRep}if(ae){Ww(ie?Rw(y[0],t,r,c,OT,f):b,wT),Ww(ie?Rw(y[1],t,r,c,DT,f):y,TT);let e=Vw(t,s,a,ET);wT.t===AC.NUMBER&&(ue?ue._valueType===AC.UNIT&&(wT.t=AC.UNIT,wT.u=ue._unit):(Ww(e,Kw),Kw.t===AC.UNIT&&(wT.t=AC.UNIT,wT.u=Kw.u)))}else P?Ww(y,TT):h?Gw(h,TT):Ww(n&&ue&&ue.parent.parent===n?ue._value:Vw(t,s,a,ET),TT),re?Ww(b,wT):h?Gw(h,wT):Ww(n&&ue&&ue.parent.parent===n?ue._value:Vw(t,s,a,ET),wT);if(wT.o&&(wT.n=Hw(ue?ue._toNumber:Ww(Vw(t,s,a,ET),Kw).n,wT.n,wT.o)),TT.o&&(TT.n=Hw(wT.n,TT.n,TT.o)),wT.t!==TT.t){if(wT.t===AC.COMPLEX||TT.t===AC.COMPLEX){let e=wT.t===AC.COMPLEX?wT:TT,t=wT.t===AC.COMPLEX?TT:wT;t.t=AC.COMPLEX,t.s=ww(e.s),t.d=e.d.map(()=>t.n)}else if(wT.t===AC.UNIT||TT.t===AC.UNIT){let e=wT.t===AC.UNIT?wT:TT,t=wT.t===AC.UNIT?TT:wT;t.t=AC.UNIT,t.u=e.u}else if(wT.t===AC.COLOR||TT.t===AC.COLOR){let e=wT.t===AC.COLOR?wT:TT,t=wT.t===AC.COLOR?TT:wT;t.t=AC.COLOR,t.d=e.d.map(()=>0)}}if(wT.u!==TT.u){let e=TT.u?wT:TT;e=pT(t,e,TT.u?TT.u:wT.u,!1)}if(TT.d&&wT.d&&TT.d.length!==wT.d.length){let e=wT.d.length>TT.d.length?wT:TT,t=e===wT?TT:wT;t.d=e.d.map((e,n)=>rw(t.d[n])?0:t.d[n]),t.s=ww(e.s)}let de=bw(+N||1e-11,12),fe=ET[s];iw(fe)||(ET[s]=null);let pe=o?o.set:null;_=bw(se+de,12);let me=wT.d,he=TT.d,ge=TT.s,_e={parent:this,id:MT++,property:s,target:t,_value:null,_toFunc:DT.func,_fromFunc:OT.func,_ease:CT(j),_fromNumbers:me?ww(me):BC,_toNumbers:he?ww(he):BC,_strings:ge?ww(ge):BC,_fromNumber:wT.n,_toNumber:TT.n,_numbers:me?ww(me):BC,_number:wT.n,_unit:TT.u,_modifier:ne,_currentTime:0,_startTime:se,_delay:+te,_updateDuration:de,_changeDuration:de,_absoluteStartTime:ce,_absoluteUpdateStartTime:le,_absoluteEndTime:bw(k+_,12),_hasFromValue:re||ie?1:0,_tweenType:a,_setter:pe,_valueType:TT.t,_composition:u,_isOverlapped:0,_isOverridden:0,_renderTransforms:0,_inlineValue:fe,_prevRep:null,_nextRep:null,_prevAdd:null,_nextAdd:null,_prev:null,_next:null};u!==MC.none&&oT(_e,m);let ve=_e._valueType;if(ve===AC.COMPLEX)_e._value=qw(_e,1,-1);else if(ve===AC.UNIT)_e._value=`${ne(_e._toNumber)}${_e._unit}`;else if(ve===AC.COLOR){let e=TT.d;_e._value=`rgba(${bw(e[0],0)},${bw(e[1],0)},${bw(e[2],0)},${e[3]})`}else _e._value=ne(_e._toNumber);isNaN(g)&&(g=_e._startTime),h=_e,M++,Dw(this,_e)}(isNaN(j)||g<j)&&(j=g),(isNaN(A)||_>A)&&(A=_),a===kC.TRANSFORM&&(l=M-v,d=M)}if(!isNaN(l)){let e=0;Tw(this,t=>{e>=l&&e<d&&(t._renderTransforms=1,t._composition===MC.blend&&Tw($w.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?(Tw(this,e=>{e._startTime-e._delay||(e._delay-=j),e._startTime-=j}),A-=j):j=0,A||(A=LC,this.iterationCount=0),this.targets=s,this.id=rw(d)?NT:d,this.duration=A===1e-11?LC:Sw((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&&ee&&this.onRender(this)}stretch(e){let t=this.duration;if(t===Cw(e))return this;let n=e/t;return Tw(this,e=>{e._updateDuration=Cw(e._updateDuration*n),e._changeDuration=Cw(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 Tw(this,e=>{let t=e._toFunc,n=e._fromFunc;(t||n)&&(n?(Ww(n(),wT),wT.u!==e._unit&&e.target[PC]&&pT(e.target,wT,e._unit,!0),e._fromNumbers=ww(wT.d),e._fromNumber=wT.n):t&&(Ww(Vw(e.target,e.property,e._tweenType),Kw),e._fromNumbers=ww(Kw.d),e._fromNumber=Kw.n),t&&(Ww(t(),TT),e._toNumbers=ww(TT.d),e._strings=ww(TT.s),e._toNumber=TT.o?Hw(e._fromNumber,TT.n,TT.o):TT.n))}),this.duration===1e-11&&this.restart(),this}revert(){return super.revert(),Zw(this)}then(e){return super.then(e)}},IT=(e,t)=>JC.editor?JC.editor.addAnimation(e,t):new Yde(e,t,null,0,!1).init(),LT=zC*10,Xde=class{constructor(e={}){let t=!rw(e.bounce)||!rw(e.duration);this.timeStep=.02,this.restThreshold=5e-4,this.restDuration=200,this.maxDuration=6e4,this.maxRestSteps=this.restDuration/this.timeStep/zC,this.maxIterations=this.maxDuration/this.timeStep/zC,this.bn=yw(Iw(e.bounce,.5),-1,1),this.pd=yw(Iw(e.duration,628),10*JC.timeScale,LT*JC.timeScale),this.m=yw(Iw(e.mass,1),1,LT),this.s=yw(Iw(e.stiffness,100),LC,LT),this.d=yw(Iw(e.damping,10),LC,LT),this.v=yw(Iw(e.velocity,0),-LT,LT),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||UC,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?hw(-a*t*n)*(1*mw(r*a)+i*pw(r*a)):t===1?(1+i*a)*hw(-a*n):((1+i)*hw((-t*n+r)*a)+(1-i)*hw((-t*n-r)*a))/2,1-a}calculateSDFromBD(){let e=JC.timeScale===1?this.pd/zC:this.pd;this.m=1,this.v=0,this.s=dw(2*_w/e,2),this.d=this.bn>=0?(1-this.bn)*4*_w/e:4*_w/(e*(1+this.bn)),this.s=bw(yw(this.s,LC,LT),3),this.d=bw(yw(this.d,LC,300),3)}calculateBDFromSD(){let e=2*_w/fw(this.s);this.pd=e*(JC.timeScale===1?zC:1),this.bn=this.d/(2*fw(this.s))<=1?1-this.d*e/(4*_w):4*_w/(this.d*e)-1,this.bn=bw(yw(this.bn,-1,1),3),this.pd=bw(yw(this.pd,10*JC.timeScale,LT*JC.timeScale),3)}compute(){let{maxRestSteps:e,maxIterations:t,restThreshold:n,timeStep:r,m:i,d:a,s:o,v:s}=this,c=this.w0=yw(fw(o/i),LC,zC),l=this.zeta=a/(2*fw(o*i));l<1?(this.wd=c*fw(1-l*l),this.b=(l*c+-s)/this.wd):l===1?(this.wd=0,this.b=-s+c):(this.wd=c*fw(l*l-1),this.b=(l*c+-s)/this.wd);let u=0,d=0,f=0;for(;d<=e&&f<=t;)jde(1-this.solve(u))<n?d++:d=0,this.solverDuration=u,u+=r,f++;this.settlingDuration=bw(this.solverDuration*zC,0)*JC.timeScale}get bounce(){return this.bn}set bounce(e){this.bn=yw(Iw(e,1),-1,1),this.calculateSDFromBD(),this.compute()}get duration(){return this.pd}set duration(e){this.pd=yw(Iw(e,1),10*JC.timeScale,LT*JC.timeScale),this.calculateSDFromBD(),this.compute()}get stiffness(){return this.s}set stiffness(e){this.s=yw(Iw(e,100),LC,LT),this.calculateBDFromSD(),this.compute()}get damping(){return this.d}set damping(e){this.d=yw(Iw(e,10),LC,LT),this.calculateBDFromSD(),this.compute()}get mass(){return this.m}set mass(e){this.m=yw(Iw(e,1),1,LT),this.compute()}get velocity(){return this.v}set velocity(e){this.v=yw(Iw(e,0),-LT,LT),this.compute()}},Zde=e=>new Xde(e),RT=(e=10,t)=>{let n=t?Mde:gw;return t=>n(yw(t,0,1)*e)*(1/e)},zT=(0,F.forwardRef)(function({id:e,transform:t},n){return(0,R.jsxs)(`radialGradient`,{ref:n,id:e,gradientUnits:`userSpaceOnUse`,cx:`-1.2`,cy:`-1.6`,r:`5.6`,gradientTransform:t,children:[(0,R.jsx)(`stop`,{offset:`0`,stopColor:`color-mix(in oklab, var(--color-white) calc(var(--depth) * 50%), currentColor)`}),(0,R.jsx)(`stop`,{offset:`1`,stopColor:`currentColor`})]})});function BT({id:e}){return(0,R.jsx)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:(0,R.jsx)(`feDropShadow`,{dx:`0`,dy:`1.5`,stdDeviation:`1`,floodColor:`currentColor`,style:{floodOpacity:`calc(var(--depth) * 0.6)`}})})}function VT({id:e}){return(0,R.jsxs)(`filter`,{id:e,x:`-10%`,y:`-10%`,width:`120%`,height:`120%`,colorInterpolationFilters:`sRGB`,children:[(0,R.jsx)(`feGaussianBlur`,{in:`SourceAlpha`,stdDeviation:`0.3`,result:`soft-edge`}),(0,R.jsx)(`feOffset`,{in:`soft-edge`,dx:`0.25`,dy:`0.45`,result:`lower-edge`}),(0,R.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`lower-edge`,operator:`out`,result:`inner-shadow`}),(0,R.jsx)(`feFlood`,{floodColor:`var(--color-black)`,floodOpacity:`calc(var(--depth) * 0.28)`}),(0,R.jsx)(`feComposite`,{in2:`inner-shadow`,operator:`in`,result:`shade`}),(0,R.jsx)(`feOffset`,{in:`soft-edge`,dx:`-0.2`,dy:`-0.35`,result:`upper-edge`}),(0,R.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`upper-edge`,operator:`out`,result:`inner-highlight`}),(0,R.jsx)(`feFlood`,{floodColor:`var(--color-white)`,floodOpacity:`calc(var(--depth) * 0.7)`}),(0,R.jsx)(`feComposite`,{in2:`inner-highlight`,operator:`in`,result:`highlight`}),(0,R.jsxs)(`feMerge`,{children:[(0,R.jsx)(`feMergeNode`,{in:`SourceGraphic`}),(0,R.jsx)(`feMergeNode`,{in:`shade`}),(0,R.jsx)(`feMergeNode`,{in:`highlight`})]})]})}var HT=Object.freeze({alphaIntercept:-8,alphaSlope:18,blurStdDeviation:2});function UT({id:e,values:t=cue}){return(0,R.jsxs)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:[(0,R.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:t.blurStdDeviation,result:`blur`}),(0,R.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,R.jsx)(`feComposite`,{in:`SourceGraphic`,in2:`gooey`,operator:`atop`})]})}function WT(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 GT(e){let t=Math.max(0,Math.min(1,e));return t*t*(3-2*t)}function KT(e,t){let n=Math.max(0,Math.min(1,(t-(e-1)*.085)/.68));return Math.sin(n*Math.PI)**2}function qT(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=GT(n/.66)*Math.PI*2,o=Math.min(e,t*Math.PI/8)-Math.PI/2,s=GT((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+KT(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=KT(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 Qde={line:1700,square:1900,donut:3e3,wander:4600,bloom:2800};function $de({variant:e}){let t=`caps-loader-${(0,F.useId)().replaceAll(`:`,``)}`,n=(0,F.useRef)(null),r=(0,F.useRef)(null),i=yC(r),{reduced:a}=i,o=e===`donut`?16:e===`bloom`?5:e===`square`?4:3;return(0,F.useLayoutEffect)(()=>{if(a||!n.current||!r.current)return;let t=[...n.current.querySelectorAll(`ellipse`)].map((t,n)=>IT(t,{keyframes:Array.from({length:48},(t,r)=>({...qT(e,n,(r+1)/48),duration:bC(i,Qde[e])/48})),ease:`linear`,loop:!0})),o=WT(r.current,e=>{for(let n of t)e?n.resume():n.pause()});return()=>{o();for(let e of t)e.revert()}},[e,a,i]),(0,R.jsxs)(`svg`,{ref:r,"aria-hidden":`true`,focusable:`false`,viewBox:e===`line`?`-20 -10 40 20`:`-20 -20 40 40`,children:[(0,R.jsxs)(`defs`,{children:[(0,R.jsx)(UT,{id:t,values:HT}),(0,R.jsx)(zT,{id:`${t}-surface`,transform:e===`line`?`matrix(3.4 0 0 1.4 0 0)`:`matrix(3 0 0 3 0 0)`}),(0,R.jsx)(BT,{id:`${t}-shadow`}),(0,R.jsx)(`mask`,{id:`${t}-mask`,maskUnits:`userSpaceOnUse`,x:`-20`,y:`-20`,width:`40`,height:`40`,style:{maskType:`alpha`},children:(0,R.jsx)(`g`,{ref:n,fill:`currentColor`,filter:`url(#${t})`,children:Array.from({length:o},(t,n)=>(0,R.jsx)(`ellipse`,{...qT(e,n,0)},n))})})]}),(0,R.jsx)(`g`,{filter:`url(#${t}-shadow)`,children:(0,R.jsx)(`rect`,{x:`-20`,y:`-20`,width:`40`,height:`40`,fill:`url(#${t}-surface)`,mask:`url(#${t}-mask)`})})]})}var efe={sm:`caps-loader-sm`,md:`caps-loader-md`,lg:`caps-loader-lg`,fill:`caps-loader-fill`},tfe={neutral:`text-base-content`,accent:`text-accent`,primary:`text-primary`,success:`text-success`},JT=(0,F.forwardRef)(function({"aria-label":e,"aria-labelledby":t,className:n,decorative:r=!1,label:i=`Loading`,size:a=`md`,variant:o=`line`,tone:s=`neutral`,...c},l){let u=`${(0,F.useId)()}-label`,d=!r&&e===void 0&&t===void 0;return(0,R.jsxs)(`span`,{...c,"aria-label":r?void 0:e,"aria-hidden":r||void 0,"aria-labelledby":r?void 0:t??(e===void 0?u:void 0),className:hC(`caps-loader`,efe[a],tfe[s],n),"data-variant":o,role:r?void 0:`status`,ref:l,children:[(0,R.jsx)($de,{variant:o}),d?(0,R.jsx)(TC,{id:u,children:i}):null]})}),YT=`disabled:bg-base-200 disabled:text-base-content disabled:outline-1 disabled:outline-solid disabled:outline-base-content/25 aria-disabled:bg-base-200 aria-disabled:text-base-content aria-disabled:outline-1 aria-disabled:outline-solid aria-disabled:outline-base-content/25`,nfe=hue(`btn caps-button disabled:pointer-events-none`,{variants:{variant:{primary:`btn-primary caps-button-filled`,secondary:`btn-secondary caps-button-filled`,accent:`btn-accent caps-button-filled`,destructive:`btn-error caps-button-filled`,outline:`btn-outline ${YT}`,ghost:`btn-ghost`,"ghost-destructive":`btn-ghost caps-button-ghost-destructive`,link:`btn-link ${YT}`},size:{xs:`btn-xs`,sm:`btn-sm`,default:`btn-md`,lg:`btn-lg`,icon:`btn-square btn-md`,menubar:`caps-button-menubar`}},defaultVariants:{variant:`primary`,size:`default`}}),XT=(0,F.forwardRef)(function({asChild:e=!1,children:t,className:n,disabled:r,loading:i=!1,result:a,resultLabel:o,onResultEnd:s,size:c=`default`,variant:l=`primary`,...u},d){let f=hC(nfe({size:c,variant:l}),n),p=(0,F.useRef)(a).current,m=(0,F.useRef)(null);return(0,F.useImperativeHandle)(d,()=>m.current),rfe(m,i,a),e?(0,R.jsx)(NS,{...u,"aria-busy":i?!0:u[`aria-busy`],"aria-disabled":r===!0||i?!0:void 0,className:f,ref:m,children:t}):(0,R.jsx)(`button`,{...u,"aria-busy":i?!0:u[`aria-busy`],className:f,disabled:r===!0||i,ref:m,type:u.type??`button`,children:a===void 0&&o===void 0?(0,R.jsxs)(R.Fragment,{children:[i?(0,R.jsx)(JT,{className:`size-3`,decorative:!0,size:`sm`}):null,t]}):(0,R.jsx)(sfe,{label:o,loading:i,onResultEnd:s,result:a,settled:p,children:t})})});function rfe(e,t,n){let r=(0,F.useRef)(null),i=(0,F.useRef)(null),a=(0,F.useRef)(null);(0,F.useLayoutEffect)(()=>{let o=e.current;if(!o)return;let s=JSON.stringify([t,n??null,o.textContent]),c=s!==i.current;i.current=s;let l=a.current;if(!c&&l)return;let u=l?o.offsetWidth:r.current;l&&(a.current=null,l.cancel(),o.style.removeProperty(`overflow`),o.style.removeProperty(`white-space`));let d=o.offsetWidth;if(r.current=d>0?d:null,!c||u===null||d===0||Math.abs(u-d)<1||!SC(o))return;let f=vC(o);if(f.reduced)return;let p=o.animate([{width:`${String(u)}px`},{width:`${String(d)}px`}],{duration:f.normal,easing:xC(f,f.ease)});a.current=p,o.style.overflow=`clip`,o.style.whiteSpace=`nowrap`;let m=()=>{a.current===p&&(a.current=null,o.style.removeProperty(`overflow`),o.style.removeProperty(`white-space`))};p.onfinish=m,p.oncancel=m})}var ife=1100;function afe(e,t){let n=t.bounce/.3,r=1+.05*Math.min(1.4,.4+n),i=1-.02*Math.min(1.4,n);return e.animate([{transform:`scale(1)`},{transform:`scale(${String(r)})`,offset:.35},{transform:`scale(${String(i)})`,offset:.7},{transform:`scale(1)`}],{duration:t.springDuration,easing:xC(t,`ease-out`)})}function ofe(e,t){let n=t.shake;return e.animate([{transform:`none`},{transform:`translateX(${String(-n)}px)`},{transform:`translateX(${String(n)}px)`},{transform:`translateX(${String(-n*.6)}px)`},{transform:`translateX(${String(n*.3)}px)`},{transform:`none`}],{duration:t.slow*1.3,easing:xC(t,`linear`)})}function ZT(e,t,n){let r=n.distance+2,i=`blur(${String(n.blur)}px)`;return[e.animate([{opacity:1,transform:`none`,filter:`blur(0px)`},{opacity:0,transform:`translateY(${String(-r)}px)`,filter:i}],{duration:n.fast,easing:xC(n,n.ease)}),t.animate([{opacity:0,transform:`translateY(${String(r)}px)`,filter:i},{opacity:1,transform:`none`,filter:`blur(0px)`}],{duration:n.normal,easing:xC(n,n.ease),fill:`backwards`})]}function sfe({children:e,label:t,loading:n,onResultEnd:r,result:i,settled:a}){let o=(0,F.useRef)(null),s=wC(),[c,l]=(0,F.useState)(!1),[u,d]=(0,F.useState)(!1);c&&!u&&d(!0);let f=(0,F.useRef)(a),p=(0,F.useRef)(r);(0,F.useEffect)(()=>{p.current=r},[r]),(0,F.useLayoutEffect)(()=>{let e=f.current;if(f.current=i,i===e)return;if(i===`done`){l(!0);let e=setTimeout(()=>{p.current?p.current():l(!1)},ife);return()=>{clearTimeout(e)}}l(!1);let t=o.current;if(i!==`failed`||!t||!SC(t))return;let n=vC(t);if(n.shake<=0)return;let r=ofe(t,n);return()=>{r.cancel()}},[i,s]);let m=(0,F.useRef)(c);return(0,F.useLayoutEffect)(()=>{let e=o.current;if(!e||m.current===c)return;m.current=c;let t=e.querySelector(`[data-face="label"]`),n=e.querySelector(`[data-face="result"]`);if(!t||!n||!SC(e)){c||d(!1);return}let r=vC(e),i=c?ZT(t,n,r):ZT(n,t,r);if(c||i[0]?.addEventListener(`finish`,()=>{d(!1)}),c&&!r.reduced){i.push(afe(e.closest(`button`)??e,r));let t=n.querySelector(`path`);t&&i.push(t.animate([{strokeDashoffset:1},{strokeDashoffset:0}],{duration:r.normal*1.4,delay:r.fast/2,easing:xC(r,r.ease),fill:`backwards`}))}return()=>{for(let e of i)e.cancel()}},[c,s]),(0,R.jsxs)(`span`,{ref:o,className:`caps-button-faces`,"data-showing":c?`result`:`label`,children:[(0,R.jsxs)(`span`,{className:`caps-button-face`,"data-face":`label`,"aria-hidden":c?!0:void 0,children:[n||c?(0,R.jsx)(JT,{className:`size-3`,decorative:!0,size:`sm`}):null,e]}),u?(0,R.jsxs)(`span`,{className:`caps-button-face`,"data-face":`result`,"aria-hidden":!c||void 0,children:[(0,R.jsx)(`svg`,{className:`caps-button-check`,viewBox:`0 0 24 24`,"aria-hidden":`true`,focusable:`false`,children:(0,R.jsx)(`path`,{d:`M4.5 12.5 9.5 17.5 19.5 6.5`,pathLength:1})}),t===void 0?e:t]}):null]})}var QT=new Map([[`0`,[`###`,`#.#`,`#.#`,`#.#`,`###`]],[`1`,[`.#.`,`##.`,`.#.`,`.#.`,`###`]],[`2`,[`###`,`..#`,`###`,`#..`,`###`]],[`3`,[`###`,`..#`,`.##`,`..#`,`###`]],[`4`,[`#.#`,`#.#`,`###`,`..#`,`..#`]],[`5`,[`###`,`#..`,`###`,`..#`,`###`]],[`6`,[`###`,`#..`,`###`,`#.#`,`###`]],[`7`,[`###`,`..#`,`.#.`,`.#.`,`.#.`]],[`8`,[`###`,`#.#`,`###`,`#.#`,`###`]],[`9`,[`###`,`#.#`,`###`,`..#`,`###`]],[`:`,[`.`,`#`,`.`,`#`,`.`]],[`.`,[`.`,`.`,`.`,`.`,`#`]],[`+`,[`...`,`.#.`,`###`,`.#.`,`...`]],[`-`,[`...`,`...`,`###`,`...`,`...`]],[`/`,[`..#`,`..#`,`.#.`,`#..`,`#..`]],[`×`,[`...`,`#.#`,`.#.`,`#.#`,`...`]],[`%`,[`#.#`,`..#`,`.#.`,`#..`,`#.#`]],[` `,[`.`,`.`,`.`,`.`,`.`]]]),cfe=[`.`,`.`,`.`,`.`,`.`],lfe=Object.freeze([...QT.keys()]);function ufe(e,t=0,n=!1){if(!Number.isFinite(e))throw RangeError(`PixelNumber needs a finite number`);let r=String(Math.trunc(Math.abs(e))).padStart(t,`0`),i=String(Math.abs(e)).split(`.`)[1];return $T(`${e<0?`-`:n&&e>0?`+`:``}${r}${i?`.${i}`:``}`)}function $T(e){for(let t of e)if(!QT.has(t))throw RangeError(`PixelNumber cannot draw "${t}"; use digits and ${lfe.filter(e=>!/\d/.test(e)).join(` `)}`);return e}function dfe(e,t){let n=new Set,r=t;for(let i of e){let e=QT.get(i)??cfe;e.forEach((e,i)=>{for(let a=0;a<e.length;a++)e.charAt(a)===`#`&&n.add(`${String(r+a)},${String(i+t)}`)}),r+=(e.at(0)?.length??1)+1}return{lit:n,width:Math.max(1,r-1-t)+t*2}}function ffe(e){let t=new Set;for(let n of e){let[r=0,i=0]=n.split(`,`).map(Number);for(let n=-1;n<=1;n++)for(let a=-1;a<=1;a++){let o=`${String(r+a)},${String(i+n)}`;e.has(o)||t.add(o)}}return t}function eE(e,t,n){let r=[];for(let i=0;i<n;i++){let n=-1;for(let a=0;a<=t;a++){let t=e.has(`${String(a)},${String(i)}`);t&&n<0&&(n=a),!t&&n>=0&&(r.push([n,i,a-n]),n=-1)}}return r}function tE({runs:e,className:t}){return(0,R.jsx)(`g`,{className:t,children:e.map(([e,t,n])=>(0,R.jsx)(`rect`,{x:e,y:t,width:n,height:1},`${String(e)}-${String(t)}`))})}var pfe=(0,F.forwardRef)(function({value:e,text:t,pad:n,signed:r,size:i=`md`,tone:a=`current`,outline:o=!1,className:s,...c},l){if(t===void 0&&e===void 0)throw TypeError(`PixelNumber needs a value or text`);let u=t===void 0?ufe(e??NaN,n,r):$T(t),d=+!!o,{lit:f,width:p}=dfe(u,d),m=5+d*2,h=mfe[i];return(0,R.jsxs)(`span`,{...c,ref:l,className:hC(`caps-pixel-number`,s),"data-size":i,"data-tone":a,"data-outline":o,children:[(0,R.jsxs)(`svg`,{"aria-hidden":`true`,focusable:`false`,viewBox:`0 0 ${String(p)} ${String(m)}`,width:p*h,height:m*h,children:[o?(0,R.jsx)(tE,{className:`caps-pixel-number-outline`,runs:eE(ffe(f),p,m)}):null,(0,R.jsx)(tE,{className:`caps-pixel-number-face`,runs:eE(f,p,m)})]}),(0,R.jsx)(`span`,{className:`sr-only`,children:u})]})}),mfe={sm:2,md:3,lg:4,xl:6},nE=Object.freeze({ease:`linear`,duration:0});function rE(e,t){let n=pde(e,t.duration);return n<=0?nE:e.steps>0?{ease:RT(e.steps),duration:n}:{ease:Zde({bounce:fde(e,t.bounce),duration:n}),duration:n}}function iE(e,t){let n=bC(e,t.duration);return{ease:e.steps>0?RT(e.steps):t.ease,duration:n}}var aE={dot:{y:-4,height:8,cy:0},pill:{y:-16,height:32,cy:0},bang:{y:-16,height:20,cy:12}};function hfe({className:e,glyph:t,motion:n}){let r=`caps-status-${(0,F.useId)().replaceAll(`:`,``)}`,i=(0,F.useRef)(null),a=(0,F.useRef)(null),o=(0,F.useRef)(null),s=(0,F.useRef)(null),c=(0,F.useRef)(null),l=(0,F.useRef)(null),u=(0,F.useRef)(aE[t]).current,d=(0,F.useRef)(t===`dot`?1:4).current,f=(0,F.useRef)(+(t===`bang`)).current,p=(0,F.useRef)(t),m=yC(s),{reduced:h}=m;return(0,F.useLayoutEffect)(()=>{if(!i.current||!a.current||!c.current||!l.current)return;let e=aE[t],n=h||p.current===t;p.current=t;let r=vC(i.current),o=n?{duration:0}:rE(r,{bounce:.3,duration:360}),s=IT(i.current,{y:e.y,height:e.height,...o}),u=IT(a.current,{cy:e.cy,...n?{duration:0}:{delay:bC(r,35),...rE(r,{bounce:.3,duration:420})}}),d=IT(c.current,{gradientTransform:`matrix(1 0 0 ${t===`dot`?`1`:`4`} 0 0)`,...o}),f=IT(l.current,{opacity:+(t===`bang`),...n?nE:iE(r,{ease:`inOutSine`,duration:220})});return()=>{s.cancel(),u.cancel(),d.cancel(),f.cancel()}},[t,h]),(0,F.useLayoutEffect)(()=>{if(!o.current||!s.current||h||n===`none`)return;let e=n===`pulse`?IT(o.current,{opacity:[1,.45],...iE(m,{ease:`inOutSine`,duration:750}),alternate:!0,loop:!0}):IT(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}},...iE(m,{ease:`inOutSine`,duration:1e3}),loop:!0}),t=WT(s.current,t=>{t?e.resume():e.pause()});return()=>{t(),e.revert()}},[n,h,m]),(0,R.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,R.jsxs)(`defs`,{children:[(0,R.jsx)(UT,{id:r,values:HT}),(0,R.jsx)(zT,{ref:c,id:`${r}-surface`,transform:`matrix(1 0 0 ${String(d)} 0 0)`}),(0,R.jsxs)(`radialGradient`,{id:`${r}-drop-light`,gradientUnits:`userSpaceOnUse`,cx:`-1.2`,cy:`10.4`,r:`5.6`,children:[(0,R.jsx)(`stop`,{offset:`0`,stopColor:`var(--color-white)`,style:{stopOpacity:`calc(var(--depth) * 0.5)`}}),(0,R.jsx)(`stop`,{offset:`1`,stopColor:`var(--color-white)`,stopOpacity:`0`})]}),(0,R.jsx)(BT,{id:`${r}-shadow`}),(0,R.jsx)(`mask`,{id:`${r}-silhouette`,maskUnits:`userSpaceOnUse`,x:`-12`,y:`-24`,width:`24`,height:`48`,style:{maskType:`alpha`},children:(0,R.jsxs)(`g`,{fill:`var(--color-white)`,filter:`url(#${r})`,children:[(0,R.jsx)(`rect`,{ref:i,x:`-4`,y:u.y,width:`8`,height:u.height,rx:`4`}),(0,R.jsx)(`circle`,{ref:a,cx:`0`,cy:u.cy,r:`4`})]})})]}),(0,R.jsx)(`g`,{ref:o,filter:`url(#${r}-shadow)`,children:(0,R.jsxs)(`g`,{mask:`url(#${r}-silhouette)`,children:[(0,R.jsx)(`rect`,{x:`-12`,y:`-24`,width:`24`,height:`48`,fill:`url(#${r}-surface)`}),(0,R.jsx)(`rect`,{ref:l,x:`-12`,y:`-24`,width:`24`,height:`48`,fill:`url(#${r}-drop-light)`,opacity:f})]})})]})}var gfe=.28;function oE(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?gfe: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 sE=7.25;function _fe({className:e,glyph:t,progress:n}){let r=`caps-status-mark-${(0,F.useId)().replaceAll(`:`,``)}`,i=(0,F.useRef)(null),a=(0,F.useRef)(null),o=(0,F.useRef)(null),s=(0,F.useRef)(null),c=(0,F.useRef)(null),l=(0,F.useRef)(null),u=(0,F.useRef)(null),d=(0,F.useRef)(null),f=(0,F.useRef)(oE(t,n)).current,p=(0,F.useRef)(t),m=wC();(0,F.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=oE(t,n),y=p.current;p.current=t;let b=vC(e),x=m||y===t&&t!==`arc`,S=x?m?{ease:b.ease,duration:b.fast}:nE:iE(b,{ease:`outQuad`,duration:160}),C=(t===`check`||t===`cross`)&&!x,w=iE(b,{ease:`inOutSine`,duration:220}),T=[IT(r,{opacity:v.dashes,...S}),IT(c,{opacity:v.track*.28,...S}),IT(f,{opacity:v.arc,"stroke-dasharray":`${String(v.sweep)} 1`,...x?m?nE:S:w}),IT(h,{r:v.disc*sE,...C?{delay:w.duration*.7,...rE(b,{bounce:.35,duration:360})}:m?nE:iE(b,{ease:`inCubic`,duration:140})}),IT(g,{"stroke-dashoffset":1-v.tick,...C&&v.tick>0?{delay:w.duration*.7+b.fast,...iE(b,{ease:`outCubic`,duration:240})}:nE}),IT(_,{"stroke-dashoffset":1-v.cross,...C&&v.cross>0?{delay:w.duration*.7+b.fast,...iE(b,{ease:`outCubic`,duration:240})}:nE})];return t===`cross`&&C&&b.shake>0&&T.push(IT(e,{translateX:[0,-b.shake,b.shake,-b.shake/2,0],delay:w.duration+b.fast,...iE(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,F.useLayoutEffect)(()=>{if(!h||!c.current||!i.current)return;let e=vC(i.current),t=IT(c.current,{rotate:[0,360],...iE(e,{ease:`linear`,duration:900}),loop:!0}),n=WT(i.current,e=>{e?t.resume():t.pause()});return()=>{n(),t.revert()}},[h]),(0,R.jsxs)(`svg`,{ref:i,"aria-hidden":`true`,className:`caps-status-mark ${e??``}`,viewBox:`0 0 16 16`,focusable:`false`,children:[(0,R.jsxs)(`defs`,{children:[(0,R.jsx)(zT,{id:`${r}-surface`,transform:`matrix(1.6 0 0 1.6 8 8)`}),(0,R.jsxs)(`mask`,{id:`${r}-knock`,maskUnits:`userSpaceOnUse`,x:`0`,y:`0`,width:`16`,height:`16`,children:[(0,R.jsx)(`rect`,{width:`16`,height:`16`,fill:`var(--color-white)`}),(0,R.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,R.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,R.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,R.jsx)(`circle`,{ref:o,cx:`8`,cy:`8`,r:`6.25`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,opacity:f.track*.28}),(0,R.jsx)(`g`,{ref:c,className:`caps-status-mark-spin`,children:(0,R.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,R.jsx)(`circle`,{ref:l,cx:`8`,cy:`8`,r:f.disc*sE,fill:`url(#${r}-surface)`,mask:`url(#${r}-knock)`})]})}var vfe=new Set([`ring`,`arc`,`check`,`cross`]);function yfe(e){return vfe.has(e)}var cE={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`},lE=(0,F.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,R.jsxs)(`span`,{...c,className:hC(`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:[yfe(n)?(0,R.jsx)(_fe,{className:cE[i],glyph:n,progress:s}):(0,R.jsx)(hfe,{className:cE[i],glyph:n,motion:r}),t===void 0?null:(0,R.jsx)(`span`,{children:t})]})});function uE({icon:e,caption:t}){return(0,R.jsxs)(`span`,{className:`caps-icon-choice-mark`,"aria-hidden":`true`,children:[(0,R.jsx)(`span`,{className:`caps-icon-choice-art`,children:e}),t?(0,R.jsx)(`span`,{className:`caps-icon-choice-caption`,children:t}):null,(0,R.jsx)(`span`,{className:`caps-icon-choice-lamp`})]})}var bfe=(0,F.forwardRef)(function({label:e,icon:t,caption:n,on:r,stateLabels:i=[`on`,`off`],className:a,...o},s){return(0,R.jsxs)(`span`,{...o,className:hC(`caps-icon-lamp`,a),"data-on":r,ref:s,children:[(0,R.jsx)(uE,{icon:t,caption:n}),(0,R.jsxs)(`span`,{className:`sr-only`,children:[e,`: `,r?i[0]:i[1]]})]})}),xfe=(0,F.forwardRef)(function({items:e,stateLabels:t,className:n,...r},i){return(0,R.jsx)(`ul`,{...r,className:hC(`caps-icon-lamps`,n),ref:i,children:e.map(({id:e,...n})=>(0,R.jsx)(`li`,{children:(0,R.jsx)(bfe,{...n,...t===void 0?{}:{stateLabels:t}})},e))})}),Sfe=(0,F.forwardRef)(function({className:e,size:t=`md`,depth:n=`shallow`,placement:r=`standalone`,...i},a){return(0,R.jsx)(`div`,{...i,ref:a,"data-surface-size":t,"data-surface-depth":n,"data-surface-placement":r,className:hC(`caps-surface`,e)})}),Cfe=(0,F.forwardRef)(function({className:e,...t},n){return(0,R.jsx)(`div`,{...t,ref:n,className:hC(`caps-screen`,e)})}),dE=(0,F.forwardRef)(function({children:e,className:t,depth:n=`deep`,fit:r=`content`,density:i=`normal`,...a},o){let s=r===`fill`;return(0,R.jsx)(Sfe,{...a,className:hC(t,s&&`flex min-h-0 flex-1`),depth:n,ref:o,children:(0,R.jsx)(`div`,{className:hC(`caps-display-gasket`,s&&`flex min-h-0 min-w-0 flex-1`),"data-display-density":i,children:(0,R.jsx)(Cfe,{className:hC(s&&`flex min-h-0 min-w-0 flex-1 overflow-hidden`),children:e})})})}),wfe=(0,F.forwardRef)(function({className:e,icon:t,status:n,title:r,...i},a){return(0,R.jsxs)(`header`,{...i,className:hC(`caps-screen-header`,e),ref:a,children:[t?(0,R.jsx)(`span`,{className:`caps-screen-header-icon`,"aria-hidden":`true`,children:t}):null,(0,R.jsx)(`span`,{className:`caps-screen-header-title`,children:r}),n?(0,R.jsx)(`span`,{className:`caps-screen-header-status`,children:n}):null]})}),Tfe=(0,F.forwardRef)(function({appearance:e,className:t,...n},r){return(0,R.jsx)(`div`,{...n,className:hC(`caps-screen-cells`,t),"data-appearance":e===`compact`?e:void 0,ref:r})}),fE=(0,F.forwardRef)(function({children:e,className:t,legend:n,readout:r,icon:i,appearance:a,wide:o=!1,...s},c){return(0,R.jsxs)(`div`,{...s,className:hC(`caps-screen-cell`,t),"data-wide":o||void 0,"data-appearance":a===`compact`?a:void 0,ref:c,children:[i?(0,R.jsx)(`span`,{className:`caps-screen-cell-icon`,children:i}):null,n?(0,R.jsx)(`span`,{className:`caps-screen-cell-legend`,children:n}):null,r?(0,R.jsx)(`span`,{className:`caps-screen-cell-readout`,children:r}):null,a===`compact`?(0,R.jsx)(`div`,{className:`caps-screen-cell-controls`,children:e}):e]})}),pE={coral:`var(--stipe-art-coral, #ff6558)`,blue:`var(--stipe-art-blue, #43a6f2)`,mint:`var(--stipe-art-mint, #63cfaa)`,grape:`var(--stipe-art-grape, #a66cc1)`,yellow:`var(--stipe-art-yellow, #ffd05d)`,cream:`var(--stipe-art-cream, #fff4de)`,ink:`var(--stipe-art-ink, #242c28)`,graphite:`var(--stipe-art-graphite, #49423f)`,inkcap:`var(--stipe-art-inkcap, #80499d)`},mE=`light-dark(var(--stipe-sketch-ink, #242c28), var(--stipe-art-cream, #fff4de))`,Efe=`var(--color-base-100, light-dark(#fff4de, #242c28))`;function hE({transform:e,fill:t=mE}){return(0,R.jsx)(`path`,{transform:e,style:{fill:t},d:`M-1.264-9.479C-2.098-8.643-1.802-1.057-.907-.332.47.782 1.6-.446 1.618-3.075 1.623-3.888 1.691-5.398 1.77-6.429 1.979-9.202 1.596-10 .055-10-.588-10-.843-9.9-1.264-9.479Z`})}function Dfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(hE,{transform:`translate(25.4 19.8) rotate(-39) scale(.95 .76)`}),(0,R.jsx)(hE,{transform:`translate(32.1 17.8) scale(.96 .95)`}),(0,R.jsx)(hE,{transform:`translate(38.8 19.9) rotate(39) scale(.95 .77)`})]})}function Ofe(){return(0,R.jsxs)(`g`,{style:{fill:pE.blue},children:[(0,R.jsx)(`path`,{d:`M10.574 .604C9.804 1.375 9.867-.885 9.961 22.81 10.054 47.202 9.722 45.378 14.193 45.94 25.813 47.399 38.465 52.211 44.662 57.532 47.653 60.097 48.082 59.411 47.967 52.242L47.734 19.335C47.734 17.523 47.13 16.616 45.964 15.076 40.604 8.018 30.127 2.767 16.804 .462 13.045-.184 11.326-.148 10.574 .604Z`}),(0,R.jsx)(`path`,{d:`M81.571 .746C71.063 2.665 62.221 6.713 56.562 12.199 54.242 14.45 52 17.356 52.115 19.335L52.033 52.628C51.927 59.934 51.979 59.994 55.74 57.091 62.423 51.931 71.272 48.541 84.103 46.221 90.625 45.039 89.967 47.631 90.145 22.432 90.326-3.079 91.148-1 81.571 .746Z`}),(0,R.jsx)(`path`,{d:`M1.906 12.692C.1 13.42 .151 12.804 .151 33.825 .151 54.097 .163 54.302 1.447 55.498 2.71 56.674 3.384 56.81 7.937 56.816 20.943 56.834 30.647 58.293 38.776 61.45 45.964 64.242 46.435 61.924 39.526 57.773 32.296 53.429 26.656 51.544 14.943 49.553 5.958 48.027 6.535 49.414 6.408 29.003 6.32 14.74 6.263 13.103 5.816 12.764 5.254 12.335 2.9 12.293 1.906 12.692Z`}),(0,R.jsx)(`path`,{d:`M94.326 12.858C93.656 13.326 93.656 13.326 93.653 28.492 93.653 48.882 93.997 48.063 84.743 49.556 73.574 51.36 64.45 54.695 57.801 59.405 54.082 62.039 55.384 63.864 59.722 62.1 68.897 58.372 76.363 57.115 90.03 56.994 100.405 56.903 99.489 58.976 99.773 34.976 100.018 14.142 100.006 13.958 98.399 12.979 97.236 12.269 95.251 12.208 94.326 12.858Z`})]})}function gE(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M-8.572-25.123C-21.412-23.39-33.235-17.39-44.235-7.027-51.235-.433-51.251 .358-44.524 6.749-20.77 29.316 10.23 31.893 36.364 13.487 41.043 10.187 48.193 3.551 49.235 1.524 50.358-.642 49.471-2.102 43.738-7.497 29.257-21.128 9.968-27.631-8.572-25.123Z`}),(0,R.jsx)(`path`,{style:{fill:pE.ink},d:`M-6.225-16.807C-17.727-13.267-21.176 4.433-12.08 13.257-1.118 23.898 16.829 16.102 17.032 .604 17.209-12.412 6.219-20.642-6.225-16.807Z`})]})}function kfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{style:{fill:pE.mint},d:`M540 342C520 340 497 355 477 374C450 399 440 421 456 444C465 458 480 462 492 464C503 466 500 477 494 486C487 500 508 496 522 478L530 468C557 468 578 464 591 451C601 442 599 429 585 427C572 425 556 432 547 418C538 403 550 390 568 385C579 382 589 380 584 368C576 352 557 341 540 342Z`}),(0,R.jsx)(`path`,{style:{fill:pE.coral},d:`M589 396C614 380 659 381 683 392C709 404 721 428 710 451C704 464 693 472 685 479C680 487 684 498 689 503C695 514 684 513 675 507C667 502 662 497 657 491C637 496 610 495 594 486C584 480 583 469 595 464C607 460 622 454 622 441C622 428 612 423 597 420C580 417 578 407 589 396Z`})]})}function _E({fill:e}){return(0,R.jsx)(`path`,{style:{fill:e},d:`M44.648 .288C26.645 1.615 13.263 8.266 5.942 19.529-4.299 35.277-.917 57.684 13.224 67.784 16.958 70.452 16.936 71.742 13.064 77.665 11.28 80.391 10.895 81.565 11.341 82.914 13.163 88.435 25.022 86.396 36.307 78.62L38.681 76.986 41.294 77.335C45.371 77.878 59.645 77.789 64.125 77.191 89.213 73.837 100.562 61.427 99.92 38.044 99.18 11.1 79.587-2.285 44.648 .288Z`})}function vE({onFigure:e=!1}){return(0,R.jsxs)(`g`,{style:{fill:e?Efe:pE.ink},children:[(0,R.jsx)(`rect`,{x:`-15`,y:`-11`,width:`10`,height:`22`,rx:`5`}),(0,R.jsx)(`rect`,{x:`5`,y:`-11`,width:`10`,height:`22`,rx:`5`})]})}function Afe(){return(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M18.125 .621C.039 1.574-2.575 4.791 2.264 20.133 17.454 68.284 77.345 69.396 96.119 21.875 100.749 10.154 100.318 4.348 94.605 1.513 91.981 .21 37.878-.421 18.125 .621Z`})}function jfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{style:{fill:pE.yellow},d:`M31.42 5.279C29.108 5.983 28.068 6.993 25.817 10.732 24.033 13.687 24.027 13.762 25.58 14.265 30.375 15.821 36.711 20.506 39.938 24.885 42.077 27.788 41.835 27.806 45.281 24.463 48.633 21.213 49.164 20.185 48.982 17.325 48.812 14.643 48.174 13.872 42.68 9.741 36.737 5.273 34.439 4.361 31.42 5.279Z`}),(0,R.jsx)(`path`,{style:{fill:pE.yellow},d:`M22.538 16.207C22.093 16.652 19.732 20.231 13.309 30.196 10.737 34.188 10.723 33.911 13.589 35.351 16.461 36.798 19.778 39.28 21.825 41.523L22.6 42.37Q23.34 43.186 24.05 42.538L24.711 41.933C31.278 35.937 38.928 28.484 38.928 28.083 38.928 24.656 24.521 14.219 22.538 16.207Z`}),(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M8.89 38.053C8.203 39.566 6.598 44.473 6.598 45.056 6.598 45.137 6.887 45.125 7.236 45.036 9.655 44.404 13.526 47.475 13.526 50.027 13.526 51.132 13.361 51.164 16.187 49.49 21.421 46.387 21.966 45.665 20.575 43.659 19.002 41.387 14.975 38.238 11.909 36.881 9.799 35.949 9.854 35.926 8.89 38.053Z`}),(0,R.jsx)(`path`,{style:{fill:pE.graphite},d:`M6.598 45.056C5.732 46.866 5.155 49.464 6.309 50.907 8.041 53.505 10.928 52.639 13.526 50.907 13.526 48.021 9.978 44.404 7.236 45.036Z`})]})}function Mfe(){return(0,R.jsx)(`path`,{style:{fill:pE.coral},d:`M40.804 40.625C38.238 41.462 37.291 41.953 31.169 45.625 15.743 54.871 8.047 56.158 5.879 49.856 5.501 48.754 5.501 48.754 4.843 50.913 1.673 61.302 12.377 61.671 30.386 51.796 39.649 46.719 41.142 46.647 40.81 51.291 40.565 54.775 41.168 56.135 43.486 57.31 49.556 60.387 62.035 54.816 59.605 50.116 58.502 47.983 56.1 47.882 52.163 49.799 47.082 52.273 45.983 51.652 47.998 47.449 50.89 41.416 47.686 38.376 40.804 40.625Z`})}function yE({transform:e}){return(0,R.jsx)(`path`,{style:{fill:pE.mint},transform:e,d:`M0 0C3 -2 5 -5 5 -8 5 -10.5 3 -12 0 -12S-5 -10.5 -5 -8C-5 -5 -3 -2 0 0Z`})}function Nfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{fillRule:`evenodd`,style:{fill:mE},d:`M25.3 17.69C14.8 19.34 10.66 20.18 9.05 20.99 5.51 22.78 4.2 27.21 6.71 28.9 7.47 29.42 8.48 29.4 10.25 28.84 12.41 28.15 12.56 27.57 11.02 25.85 10 24.71 10.53 23.62 11.79 24.27 13.9 25.36 15.02 28.98 15.63 36.66 16.18 43.48 17.33 47.43 19.69 50.49 22.76 54.48 27.69 55.73 30.31 53.19 33 50.57 31.24 46.04 28.44 48.38 26.29 50.17 26.16 47.08 28.3 45.14 29.61 43.95 30.78 43.58 38.92 41.75 39.45 41.63 39.41 41.52 38.39 40.01 36.87 37.78 36.04 35.22 34.72 28.69 33.37 22 32.04 19.3 29.5 18.07 28.69 17.68 26.59 17.49 25.3 17.69M24.11 26.51C18.61 27.67 18.16 27.82 17.98 28.55 17.64 29.91 18.54 30.44 20.51 30.05 25.4 29.08 30.11 28.03 30.49 27.83 31.65 27.23 31 25.33 29.66 25.4 29.5 25.4 27 25.91 24.11 26.51M29.2 31.42C28.64 31.54 26.23 32.07 23.85 32.58 20.01 33.41 19.48 33.57 19.15 33.96 18.67 34.5 18.66 35.05 19.12 35.63 19.61 36.26 19.86 36.23 26.05 34.88 29.05 34.23 31.53 33.7 31.57 33.7 31.82 33.7 32.34 32.88 32.34 32.5 32.34 31.25 31.37 30.92 29.2 31.42M29.79 37.19C28.81 37.41 26.45 37.94 24.53 38.37 22.62 38.8 20.84 39.23 20.58 39.33 19.61 39.71 19.35 40.62 19.98 41.41 20.48 42.05 21 41.99 27.59 40.5 33.85 39.09 34.21 38.91 33.45 37.44 33.02 36.61 32.51 36.58 29.79 37.19M45.41 41.95C44.89 42.09 41.61 42.89 38.12 43.73 30.94 45.45 29.81 45.84 31.05 46.15 33.2 46.69 34.11 50.18 32.77 52.76 32.23 53.79 32.23 54.03 32.76 54.16 33.34 54.31 45.35 51.3 46.72 50.67 50.19 49.06 51.76 45.01 49.79 42.76 48.8 41.64 47.46 41.39 45.41 41.95`}),(0,R.jsx)(`path`,{style:{fill:pE.grape},d:`M48.21 10.15C47.92 10.41 47.5 11.27 46.96 12.74 45.52 16.61 45.24 16.99 43.01 18.15 39.18 20.15 39.05 20.99 42.28 22.73 45.37 24.39 45.68 24.79 47.12 28.95 48.3 32.32 49.28 32.2 50.65 28.52 52.23 24.25 52.26 24.22 55.2 22.56 57.53 21.24 57.79 21 57.79 20.16 57.79 19.49 57.55 19.31 55.01 18.06 52.16 16.66 52.2 16.72 50.31 11.56 49.7 9.89 49.03 9.44 48.21 10.15M32.59 13.92C31.78 14.73 32.28 15.89 33.58 16.22 35.07 16.6 36.19 17.1 37.17 17.84 38.42 18.77 39.23 18.86 39.79 18.15 39.99 17.9 40.15 17.53 40.15 17.32 40.15 15.29 33.99 12.52 32.59 13.92M42.48 34.38C40.96 35.96 40.65 36.88 41.39 37.57 42.2 38.33 43.36 37.74 44.55 35.95 45.2 34.97 45.22 34.35 44.62 33.88 43.89 33.31 43.41 33.42 42.48 34.38`}),(0,R.jsx)(`path`,{style:{fill:pE.yellow},d:`M40.75 25.96C39.69 27.07 38.11 30.69 38.11 31.98 38.11 32.66 38.55 33.19 39.12 33.19 39.8 33.19 40.24 32.73 40.58 31.66 40.95 30.46 41.65 29.09 42.42 28.01 43.77 26.14 42.29 24.32 40.75 25.96M54.85 27.67C54.71 27.81 54.47 28.32 54.31 28.82 53.67 30.76 53.19 31.37 51.67 32.13 50.25 32.85 50.34 33.36 52.04 34.21 53.25 34.82 53.57 35.23 54.24 37.01 54.98 38.98 55.47 39.08 56.03 37.37 56.7 35.32 57.08 34.81 58.64 33.87 60.18 32.95 60.14 32.65 58.38 31.78 57.02 31.11 56.68 30.66 56.02 28.65 55.69 27.64 55.25 27.27 54.85 27.67`})]})}function Pfe(){return(0,R.jsxs)(`g`,{children:[(0,R.jsx)(`path`,{fillRule:`evenodd`,style:{fill:mE},d:`M42.24 14.07C41.52 14.24 40.53 14.54 35.06 16.26 33.33 16.8 31.2 17.47 30.34 17.74 29.47 18.01 27.86 18.52 26.75 18.88 25.64 19.23 24.03 19.74 23.16 20.01 20.16 20.94 19.45 21.4 18.97 22.71 18.71 23.44 18.45 26.33 17.83 35.41 17.64 38.25 17.44 41.03 17.41 41.58 17.32 42.77 17.24 42.69 18.79 42.84L20.01 42.95 21.98 39.97C24.69 35.88 24.85 35.82 27.05 37.9 27.9 38.7 28.43 39.08 28.61 39.02 28.76 38.96 28.91 38.91 28.94 38.91 28.98 38.91 29.38 38.38 29.84 37.73 30.3 37.08 31.47 35.48 32.43 34.17 33.4 32.86 34.86 30.85 35.67 29.71 36.49 28.56 37.5 27.29 37.91 26.88 39.73 25.07 41.01 26.43 43.32 32.67 43.76 33.84 44.3 35.28 44.52 35.86 44.74 36.44 44.97 37.28 45.04 37.74 45.19 38.71 45.17 38.71 46.63 38.03 47.69 37.53 47.77 37.46 47.68 37.02 47.58 36.52 46.97 30.64 46.79 28.41 46.73 27.69 46.62 26.43 46.53 25.61 46.44 24.79 46.24 22.87 46.09 21.32 45.61 16.44 45.5 15.66 45.22 15.12 44.72 14.15 43.59 13.76 42.24 14.07M29.38 22.45C26.04 23.47 24.49 27.62 26.6 29.91 29.17 32.7 34.15 30.16 34.16 26.05 34.16 23.38 31.9 21.68 29.38 22.45M46.7 41.5C39.3 44.23 28.33 46.04 20.1 45.88L17.21 45.82 17.16 46.88C17.08 48.22 17.33 49.03 18.01 49.68 18.73 50.37 19.73 50.35 23.77 49.53 25.46 49.19 29.12 48.47 31.91 47.93 46.31 45.14 46.9 44.99 47.57 43.91 47.95 43.3 48.25 41.29 47.99 41.15 47.91 41.11 47.33 41.26 46.7 41.5`}),(0,R.jsx)(`path`,{style:{fill:pE.coral},d:`M29.72 22.45C25.84 23.34 24.28 28.36 27.25 30.42 29.34 31.88 32.91 30.43 33.83 27.75 34.92 24.55 32.75 21.76 29.72 22.45`}),(0,R.jsx)(`path`,{style:{fill:pE.mint},d:`M12.96 14.29C12.87 14.41 12.7 15.03 12.58 15.68 12.37 16.82 11.59 18.26 11.18 18.26 11.08 18.26 10.88 18.46 10.72 18.7 10.36 19.25 10.59 19.58 11.45 19.74 12.18 19.88 13.08 20.63 13.54 21.49 14.23 22.76 14.75 22.53 15.15 20.79 15.39 19.71 15.51 19.51 16.4 18.66 17.54 17.58 17.51 17.36 16.18 16.85 15.16 16.47 14.84 16.19 14.14 15.1 13.56 14.2 13.22 13.96 12.96 14.29M49.04 24.13C48.56 24.86 48.91 25.31 50.59 26.09 53.89 27.64 54.85 29.82 53.45 32.6 52.01 35.43 46.84 38.54 40.51 40.39 39.73 40.62 38.88 40.89 38.62 40.99 37.24 41.52 30.85 42.64 27.54 42.93 20.72 43.52 13.63 42.49 10.57 40.46 5.81 37.3 7.51 32.32 14.74 28.24 15.84 27.61 16.17 27.1 15.9 26.4 15.66 25.78 15.35 25.84 13.19 26.94 6 30.61 2.97 35.32 4.95 39.74 7.86 46.21 22.78 47.8 40.05 43.46 51.97 40.47 58.57 36.38 59.47 31.43 60.09 27.97 57.74 25.34 52.93 24.12 50.6 23.53 49.43 23.54 49.04 24.13`}),(0,R.jsx)(`path`,{style:{fill:pE.grape},d:`M34.82 8.91C33.48 10.04 34.21 12.14 35.94 12.14 37.29 12.14 38.18 10.99 37.77 9.77 37.36 8.53 35.81 8.08 34.82 8.91M53.15 43.16C53 43.28 52.74 43.86 52.57 44.45 52.18 45.78 51.76 46.32 50.64 46.93 49.52 47.53 49.45 47.89 50.33 48.34 51.34 48.85 52.24 49.95 52.56 51.04 53.13 53.01 53.6 53 54.21 50.99 54.61 49.69 55.13 48.93 55.91 48.54 57.17 47.91 57.23 47.51 56.15 46.96 55.23 46.49 54.67 45.76 54.23 44.44 53.8 43.15 53.54 42.84 53.15 43.16M24.18 53.18C22.45 53.9 22.87 56.59 24.71 56.59 26.79 56.59 27.2 53.67 25.2 53.09 24.89 53.01 24.51 53.04 24.18 53.18`}),(0,R.jsx)(`path`,{style:{fill:pE.yellow},d:`M51.76 11.04C51.21 12.77 50.56 13.61 49.24 14.34 48.6 14.69 48.72 15.07 49.59 15.48 50.54 15.93 51.11 16.69 51.62 18.22 52.06 19.57 52.26 19.54 52.79 18.08 53.29 16.69 53.87 15.91 54.86 15.31 55.76 14.77 55.77 14.48 54.92 14.02 53.91 13.46 53.5 12.99 52.89 11.66 52.23 10.21 52.06 10.12 51.76 11.04M11.06 48.22C10.99 48.35 10.71 48.88 10.46 49.41 9.95 50.48 9.45 50.99 8.59 51.33 7.89 51.61 7.85 52.1 8.52 52.37 9.51 52.79 10.3 53.85 10.89 55.58 11.09 56.18 11.48 55.88 11.87 54.84 12.24 53.87 13.33 52.56 13.79 52.56 14 52.56 14.5 52.06 14.5 51.85 14.5 51.77 14.19 51.54 13.81 51.34 12.98 50.92 12.36 50.14 11.93 48.99 11.6 48.09 11.31 47.83 11.06 48.22`})]})}function Ffe(){return(0,R.jsxs)(`g`,{transform:`translate(2 8) scale(.114) translate(-125 -122)`,children:[(0,R.jsx)(`path`,{style:{fill:pE.coral},d:`M278 155 482 123C517 117 527 135 530 167L542 309Q543 329 561 341L631 404Q649 419 646 444 645 465 623 472L407 521Q374 531 345 519L156 436Q115 418 128 375L221 191Q238 163 278 155Z`}),(0,R.jsx)(`path`,{style:{fill:pE.ink},d:`M317 183 461 161Q493 155 497 188L504 288Q508 320 478 326L318 356Q289 362 286 331L281 226Q278 194 317 183Z`}),(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M304 386 553 340Q562 337 570 346L631 404Q649 419 646 444Q645 448 629 452L411 483Q382 492 367 474Z`}),(0,R.jsxs)(`g`,{style:{fill:pE.cream},children:[(0,R.jsx)(`rect`,{x:`319`,y:`236`,width:`26`,height:`59`,rx:`13`}),(0,R.jsx)(`rect`,{x:`364`,y:`229`,width:`26`,height:`59`,rx:`13`})]}),(0,R.jsxs)(`g`,{style:{fill:pE.ink},transform:`rotate(-11 470 411)`,children:[(0,R.jsx)(`rect`,{x:`369`,y:`380`,width:`61`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`444`,y:`380`,width:`61`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`518`,y:`380`,width:`57`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`392`,y:`421`,width:`58`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`462`,y:`421`,width:`65`,height:`25`,rx:`13`}),(0,R.jsx)(`rect`,{x:`539`,y:`421`,width:`58`,height:`25`,rx:`13`})]})]})}function Ife(){return(0,R.jsxs)(`g`,{transform:`translate(3 10) scale(.114) translate(-760 -140)`,children:[(0,R.jsx)(`path`,{style:{fill:pE.blue},d:`M1226 153C1257 153 1273 195 1267 231Q1263 265 1237 268L1176 270V215C1176 178 1195 153 1226 153Z`}),(0,R.jsx)(`path`,{style:{fill:pE.blue},d:`M824 376Q908 372 871 400C842 427 866 442 902 450L1113 480Q1188 479 1199 392C1207 447 1204 497 1163 511Q1134 521 1097 516C1055 510 991 507 957 507S869 511 826 512C781 513 758 483 760 441Q760 385 824 376Z`}),(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M824 376 857 184Q864 133 911 141C1039 169 1124 151 1226 153Q1179 159 1184 241L1199 377C1202 434 1174 482 1117 480L902 450C864 445 849 429 871 400Q908 372 824 376Z`}),(0,R.jsxs)(`g`,{style:{fill:pE.coral},children:[(0,R.jsx)(`path`,{d:`M982 198C1008 190 1030 197 1028 220L1023 265Q1020 295 1000 279C981 261 951 223 963 210Q970 202 982 198Z`}),(0,R.jsx)(`path`,{d:`M1063 220C1077 215 1100 237 1102 251Q1107 267 1084 282L1063 295Q1037 307 1040 278L1045 245Q1049 224 1063 220Z`}),(0,R.jsx)(`path`,{d:`M911 252C925 240 939 254 957 269L978 291Q995 311 961 316C938 318 907 316 898 308Q884 296 911 252Z`}),(0,R.jsx)(`path`,{d:`M1106 289Q1127 281 1134 304C1142 327 1146 352 1125 350Q1097 348 1073 335C1051 324 1072 311 1084 302Z`}),(0,R.jsx)(`path`,{d:`M927 338C946 334 972 334 985 343Q1004 353 984 384C970 408 957 418 940 403C922 389 896 356 913 345Z`}),(0,R.jsx)(`path`,{d:`M1010 375Q1025 363 1037 384C1049 407 1064 438 1044 442Q1025 448 1002 436C984 428 991 410 997 393Z`}),(0,R.jsx)(`path`,{d:`M1068 357C1084 359 1110 376 1120 389Q1130 402 1107 419C1090 432 1082 418 1073 401C1062 383 1043 355 1068 357Z`}),(0,R.jsx)(`path`,{d:`M1018 311C1037 312 1050 334 1034 343C1018 351 998 337 1005 320Q1009 311 1018 311Z`})]})]})}function Lfe(){return(0,R.jsxs)(`g`,{transform:`translate(2 7) scale(.11) translate(-1380 -96)`,children:[(0,R.jsx)(`path`,{style:{fill:pE.inkcap},d:`M1384 276C1394 238 1445 200 1497 158C1547 119 1604 97 1647 97C1690 97 1720 109 1745 138C1772 170 1791 184 1833 194C1870 201 1919 220 1922 257C1923 307 1891 339 1853 336C1801 335 1767 299 1701 294C1666 291 1620 294 1642 303Q1670 307 1675 333C1681 367 1697 389 1717 413C1735 434 1738 443 1719 464C1700 485 1692 502 1686 520Q1682 541 1653 541L1626 541Q1598 541 1594 519C1590 495 1578 474 1563 458C1545 440 1544 429 1559 410C1585 377 1608 337 1572 326C1554 320 1529 333 1506 340C1461 356 1428 357 1402 340Q1371 319 1384 276Z`}),(0,R.jsx)(`path`,{style:{fill:pE.cream},d:`M1634 362Q1641 346 1649 362C1660 390 1676 404 1705 424Q1721 435 1704 453C1685 475 1677 490 1671 513Q1670 526 1653 525L1626 525Q1611 525 1610 513C1606 492 1592 465 1575 449Q1562 437 1577 424C1604 404 1620 390 1634 362Z`}),(0,R.jsx)(`path`,{style:{fill:pE.inkcap},d:`M1634 456A18 18 0 1 1 1648 456V492Q1648 500 1641 500T1634 492Z`}),(0,R.jsx)(`path`,{style:{fill:pE.inkcap},d:`M1780 391Q1786 386 1793 396C1810 420 1828 444 1827 467C1826 508 1768 510 1753 480C1741 456 1762 413 1780 391Z`})]})}var{coral:bE,blue:xE,mint:SE,grape:CE,yellow:wE,cream:TE,ink:EE}=pE,Rfe={bonsai:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:`none`,stroke:SE,strokeWidth:`3.7`,strokeLinecap:`round`,d:`M35 27.5C36 25 35.5 22.5 34 21S31.5 17.5 31.5 14M36 27C40 26.8 43 26 45 24S47 20.5 47.5 18.5M30.5 31C32.5 26.5 30.5 24.6 26.5 24 22 23.5 18.5 21.6 16.8 18.5M29 37C26.5 34.5 25 33.7 21.5 33.2S15.5 32 13 31.6M36 39.5C38 38 40 37.5 42 36.5S47 34 51 32.2`}),(0,R.jsx)(`path`,{fill:SE,d:`M25.5 43.5C28 40.5 28 37 27.5 33 27.3 29.5 29.5 27 33.5 26.3L37.5 26V29.5C35 29.8 34.2 31.5 34.3 34 34.5 37.5 37 39.5 41 43.5Z`}),(0,R.jsx)(`circle`,{fill:xE,cx:`31.5`,cy:`10.7`,r:`4.8`}),(0,R.jsx)(`circle`,{fill:CE,cx:`16.6`,cy:`18.3`,r:`4.6`}),(0,R.jsx)(`circle`,{fill:wE,cx:`47.9`,cy:`17.7`,r:`4.6`}),(0,R.jsx)(`circle`,{fill:wE,cx:`12.8`,cy:`31.5`,r:`4.6`}),(0,R.jsx)(`circle`,{fill:xE,cx:`50.9`,cy:`32.1`,r:`4.6`}),(0,R.jsx)(`path`,{fill:bE,d:`M16 46H47.5C47.5 54 44 58 38 58H25.5C19.5 58 16 54 16 46Z`}),(0,R.jsx)(`rect`,{fill:bE,x:`14`,y:`43`,width:`35.5`,height:`4.6`,rx:`2.3`})]}),computer:(0,R.jsx)(Ffe,{}),prints:(0,R.jsx)(Ife,{}),inkcap:(0,R.jsx)(Lfe,{}),vishnu:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{style:{fill:bE},d:`M6 37C6 21 17.5 9 32 9s26 12 26 28c0 2.2-1.8 4-4 4H10c-2.2 0-4-1.8-4-4Z`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`19`,cy:`25`,r:`4`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`33`,cy:`19.5`,r:`4.8`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`46`,cy:`28`,r:`3.4`}),(0,R.jsx)(`rect`,{style:{fill:xE},x:`13`,y:`39`,width:`38`,height:`18`,rx:`9`}),(0,R.jsx)(`rect`,{style:{fill:TE},x:`18.5`,y:`46.2`,width:`10`,height:`3.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{style:{fill:TE},x:`21.7`,y:`43`,width:`3.6`,height:`10`,rx:`1.8`}),(0,R.jsx)(`circle`,{style:{fill:wE},cx:`39`,cy:`50.5`,r:`2.7`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`45`,cy:`45.5`,r:`2.7`})]}),generateText:(0,R.jsx)(Nfe,{}),generateMedia:(0,R.jsx)(Pfe,{}),buyApps:(0,R.jsxs)(`g`,{transform:`rotate(-6 32 32)`,children:[(0,R.jsx)(`circle`,{fill:wE,cx:`32`,cy:`20`,r:`12`}),(0,R.jsx)(`circle`,{stroke:TE,strokeWidth:`4`,cx:`32`,cy:`20`,r:`6`}),(0,R.jsx)(hE,{fill:wE,transform:`translate(15.5 12) rotate(-60) scale(1.1 .85)`}),(0,R.jsx)(hE,{fill:wE,transform:`translate(48.5 12) rotate(60) scale(1.1 .85)`}),(0,R.jsx)(`path`,{fill:xE,d:`M10 35H54L50 53Q49 58 44 58H20Q15 58 14 53Z`}),(0,R.jsx)(`rect`,{fill:bE,x:`5`,y:`27`,width:`54`,height:`10`,rx:`5`}),(0,R.jsxs)(`g`,{fill:TE,children:[(0,R.jsx)(`rect`,{x:`20`,y:`41`,width:`5`,height:`11`,rx:`2.5`}),(0,R.jsx)(`rect`,{x:`29.5`,y:`41`,width:`5`,height:`11`,rx:`2.5`}),(0,R.jsx)(`rect`,{x:`39`,y:`41`,width:`5`,height:`11`,rx:`2.5`})]})]}),browseBazaar:(0,R.jsxs)(`g`,{transform:`rotate(-5 32 32)`,children:[(0,R.jsx)(`rect`,{fill:xE,x:`10`,y:`14`,width:`44`,height:`38`,rx:`6`}),(0,R.jsx)(`rect`,{fill:xE,x:`5`,y:`47`,width:`54`,height:`12`,rx:`6`}),(0,R.jsx)(`rect`,{fill:TE,x:`12`,y:`50.5`,width:`40`,height:`4.5`,rx:`2.25`}),(0,R.jsx)(`rect`,{fill:bE,x:`2`,y:`4`,width:`60`,height:`9`,rx:`4.5`}),(0,R.jsx)(`path`,{fill:bE,d:`M3 9H14.6V18A5.8 5.8 0 0 1 3 18Z`}),(0,R.jsx)(`path`,{fill:TE,d:`M14.6 9H26.2V18A5.8 5.8 0 0 1 14.6 18Z`}),(0,R.jsx)(`path`,{fill:bE,d:`M26.2 9H37.8V18A5.8 5.8 0 0 1 26.2 18Z`}),(0,R.jsx)(`path`,{fill:TE,d:`M37.8 9H49.4V18A5.8 5.8 0 0 1 37.8 18Z`}),(0,R.jsx)(`path`,{fill:bE,d:`M49.4 9H61V18A5.8 5.8 0 0 1 49.4 18Z`}),(0,R.jsx)(`g`,{transform:`translate(32 36.5) scale(.34)`,children:(0,R.jsx)(gE,{})})]}),agent:(0,R.jsxs)(`g`,{transform:`translate(32 33) scale(2.02) translate(-47.2 -41.8)`,children:[(0,R.jsx)(`path`,{fill:xE,d:`M46.666 29.533C39.623 30.116 34.627 34.849 34.603 40.96 34.585 45.387 36.412 47.971 40.602 49.445 42.036 49.95 42.076 50.049 41.491 51.666 40.968 53.111 41.167 53.761 42.201 53.988 43.463 54.265 46.679 52.293 47.929 50.475 48.134 50.178 48.268 50.13 49.332 49.977 56.938 48.882 60.956 43.889 59.582 37.237 58.622 32.59 53.42 29.07 48.034 29.424 47.904 29.432 47.289 29.482 46.666 29.533Z`}),(0,R.jsx)(`g`,{transform:`translate(47.3 40) scale(.36 .34)`,children:(0,R.jsx)(vE,{})})]}),list:(0,R.jsxs)(`g`,{transform:`rotate(-7 32 32)`,children:[(0,R.jsx)(`path`,{style:{fill:xE},d:`M12 13Q6 13 6 19V50Q6 57 13 57H47Q53 57 53 50V20Q53 13 47 13Z`}),(0,R.jsx)(`path`,{style:{fill:TE},d:`M19 7H39Q42 7 44 9L55 20Q57 22 57 26V44Q57 50 51 50H19Q13 50 13 44V13Q13 7 19 7Z`}),(0,R.jsx)(`path`,{style:{fill:bE},d:`M39 7V18Q39 24 45 24H57Q57 22 55 20L44 9Q42 7 39 7Z`}),(0,R.jsxs)(`g`,{style:{fill:bE},children:[(0,R.jsx)(`circle`,{cx:`22`,cy:`21`,r:`3`}),(0,R.jsx)(`circle`,{cx:`22`,cy:`31`,r:`3`}),(0,R.jsx)(`circle`,{cx:`22`,cy:`41`,r:`3`})]}),(0,R.jsx)(`path`,{style:{stroke:xE},strokeWidth:`5`,strokeLinecap:`round`,d:`M31 21H32M31 31H46M31 41H42`})]}),chat:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`g`,{transform:`translate(3 11) scale(.22) translate(-449 -327)`,children:(0,R.jsx)(kfe,{})}),(0,R.jsx)(hE,{transform:`translate(38.2 18) rotate(16) scale(.95 .6)`}),(0,R.jsx)(hE,{transform:`translate(44.4 20.5) rotate(47) scale(.95 .6)`})]}),read:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`g`,{transform:`translate(4 20.5) scale(.56)`,children:(0,R.jsx)(Ofe,{})}),(0,R.jsx)(`g`,{transform:`translate(32 38.6) scale(.3164)`,children:(0,R.jsx)(gE,{})}),(0,R.jsx)(Dfe,{})]}),readConversations:(0,R.jsxs)(`g`,{transform:`translate(32 32) scale(.9) translate(-32 -32)`,children:[(0,R.jsx)(`g`,{transform:`translate(4 7.88) scale(.56)`,children:(0,R.jsx)(_E,{fill:xE})}),(0,R.jsx)(`g`,{transform:`translate(32.2 30.3) scale(.352)`,children:(0,R.jsx)(gE,{})})]}),listAgents:(0,R.jsxs)(`g`,{transform:`translate(32 32) scale(1.04) translate(-32 -32)`,children:[(0,R.jsx)(`path`,{style:{fill:mE},d:`M32.059 10.146C23.878 10.646 18.949 14.844 18.925 21.331 18.912 24.856 20.167 27.259 22.274 27.74 24.437 28.233 26.097 29.061 27.481 30.337 28.275 31.068 28.328 31.096 29.352 31.306 31.161 31.677 31.653 32.094 32.115 33.651 32.392 34.582 32.557 34.868 32.915 35.041 33.919 35.523 35.864 33.733 36.539 31.706L36.775 30.997 38.008 30.681C42.663 29.489 45.29 26.142 45.468 21.176 45.734 13.784 40.673 9.62 32.059 10.146Z`}),(0,R.jsx)(`g`,{transform:`translate(32.4 21.2) scale(.39)`,children:(0,R.jsx)(vE,{onFigure:!0})}),(0,R.jsx)(`path`,{style:{fill:bE},d:`M14.375 27.586C8.014 28.591 4.363 32.396 4.355 38.027 4.347 43.93 8.071 47.469 15.239 48.368L16.828 48.568 17.873 49.568C19.854 51.464 22.469 52.496 23.691 51.864 24.384 51.506 24.431 51.044 23.924 49.606 23.337 47.943 23.479 47.492 24.749 46.977 32.756 43.73 32.643 31.899 24.573 28.49 22.238 27.504 17.535 27.087 14.375 27.586Z`}),(0,R.jsx)(`g`,{transform:`translate(17.6 37.7) scale(.38 .36)`,children:(0,R.jsx)(vE,{})}),(0,R.jsx)(`path`,{style:{fill:xE},d:`M46.666 29.533C39.623 30.116 34.627 34.849 34.603 40.96 34.585 45.387 36.412 47.971 40.602 49.445 42.036 49.95 42.076 50.049 41.491 51.666 40.968 53.111 41.167 53.761 42.201 53.988 43.463 54.265 46.679 52.293 47.929 50.475 48.134 50.178 48.268 50.13 49.332 49.977 56.938 48.882 60.956 43.889 59.582 37.237 58.622 32.59 53.42 29.07 48.034 29.424 47.904 29.432 47.289 29.482 46.666 29.533Z`}),(0,R.jsx)(`g`,{transform:`translate(47.3 40) scale(.36 .34)`,children:(0,R.jsx)(vE,{})})]}),createAgents:(0,R.jsxs)(`g`,{transform:`translate(32 32) scale(1.08) translate(-32 -32)`,children:[(0,R.jsx)(`path`,{style:{fill:mE},d:`M20.436 24.499C13.35 25.216 7.504 28.799 5.442 33.687 3.114 39.208 4.438 45.791 8.593 49.358 10.446 50.949 10.34 50.831 10.34 51.301 10.34 51.796 10.106 52.294 9.281 53.558 7.191 56.76 12.108 56.905 16.701 53.777 17.517 53.221 17.715 53.135 18.015 53.201 20.013 53.639 25.739 53.051 28.595 52.113 35.47 49.857 39.129 44.162 37.83 37.738C37 31 33 26 26.717 24.428L24.075 24.413C22.623 24.405 20.985 24.444 20.436 24.499Z`}),(0,R.jsx)(`g`,{transform:`translate(21.9 40) scale(.46 .43)`,children:(0,R.jsx)(vE,{onFigure:!0})}),(0,R.jsx)(`path`,{style:{fill:SE},d:`M37.987 15.734C32.277 16.627 28.675 20.713 28.92 26.022 29.062 29.118 30.627 31.606 33.331 33.036 34.675 33.747 34.761 34.018 34.237 35.923 33.376 39.051 36.878 38.551 39.174 35.218 39.574 34.637 39.65 34.583 40.058 34.583 46.203 34.583 50.414 30.91 50.424 25.543 50.435 18.989 44.932 14.649 37.987 15.734Z`}),(0,R.jsx)(`g`,{transform:`translate(38.9 24.9) scale(.31)`,children:(0,R.jsx)(vE,{})}),(0,R.jsx)(hE,{fill:wE,transform:`translate(48.1 15.7) rotate(31) scale(1.25 .85)`}),(0,R.jsx)(hE,{fill:wE,transform:`translate(52.2 19.8) rotate(70) scale(1.25 .85)`})]}),sendPrompts:(0,R.jsxs)(`g`,{transform:`translate(32 32) scale(1.08) translate(-32 -32)`,children:[(0,R.jsx)(`g`,{transform:`translate(4 13.2) scale(.412 .436)`,children:(0,R.jsx)(_E,{fill:bE})}),(0,R.jsx)(`g`,{transform:`translate(17.1 28.7) scale(.19)`,children:(0,R.jsx)(Afe,{})}),(0,R.jsx)(hE,{fill:SE,transform:`translate(48.1 26.4) rotate(65) scale(1.7 1.28)`}),(0,R.jsx)(hE,{fill:SE,transform:`translate(48.4 33.8) rotate(110) scale(1.7 1.28)`})]}),write:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(jfe,{}),(0,R.jsx)(Mfe,{})]}),run:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{style:{fill:xE},x:`6`,y:`9`,width:`52`,height:`43`,rx:`7`}),(0,R.jsx)(`path`,{style:{stroke:TE},strokeWidth:`5`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`m17 22 9 8-9 8m17 0h12`})]}),connected:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:`none`,style:{stroke:xE},strokeWidth:`12`,strokeLinecap:`round`,d:`M34 37Q43 21 26 20H18Q3 20 6 37q2 10 15 9`}),(0,R.jsx)(`path`,{fill:`none`,style:{stroke:bE},strokeWidth:`12`,strokeLinecap:`round`,d:`M29 33Q20 50 38 53h8q16-1 12-17-2-11-14-10`}),(0,R.jsx)(`path`,{style:{stroke:wE},strokeWidth:`4`,strokeLinecap:`round`,d:`m27 4 2 6m10-5-2 7m12 0-5 4`})]}),working:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`ellipse`,{style:{fill:SE},cx:`23`,cy:`14`,rx:`13`,ry:`8`,transform:`rotate(-30 23 14)`}),(0,R.jsx)(`ellipse`,{style:{fill:wE},cx:`48`,cy:`36`,rx:`13`,ry:`8`,transform:`rotate(35 48 36)`}),(0,R.jsx)(`ellipse`,{style:{fill:CE},cx:`22`,cy:`48`,rx:`13`,ry:`8`,transform:`rotate(45 22 48)`}),(0,R.jsx)(`path`,{fill:`none`,style:{stroke:mE},strokeWidth:`3`,strokeLinecap:`round`,d:`M42 8q13 2 13 13M43 55q-5 5-12 4M5 39q-5-9 1-17`})]}),complete:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{style:{fill:SE},d:`M32 6q5-8 10 0 9-3 10 6 9 2 5 11 8 6 0 12 3 9-6 11-1 9-10 6-6 8-12 0-9 3-11-6-9-2-6-11-8-6 0-12-3-9 6-11 1-9 10-6Z`}),(0,R.jsx)(`path`,{fill:`none`,style:{stroke:EE},strokeWidth:`6`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`m23 29 7 7 13-15`}),(0,R.jsx)(`path`,{style:{stroke:mE},strokeWidth:`3`,strokeLinecap:`round`,d:`m4 8 5 6m48-4 5-5M2 24l6 1`})]}),installApps:(0,R.jsxs)(`g`,{transform:`rotate(-6 32 32)`,children:[(0,R.jsx)(`rect`,{style:{fill:xE},x:`9`,y:`26`,width:`46`,height:`32`,rx:`10`}),(0,R.jsx)(`rect`,{style:{fill:TE},x:`17`,y:`33`,width:`30`,height:`18`,rx:`5`}),(0,R.jsx)(`path`,{style:{fill:SE},d:`M22 38h8v8h-8z`}),(0,R.jsx)(`path`,{style:{fill:CE},d:`M34 38h8v8h-8z`}),(0,R.jsx)(`path`,{style:{stroke:bE},strokeWidth:`6`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`M32 4v17m-8-7 8 8 8-8`})]}),restricted:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:`none`,style:{stroke:bE},strokeWidth:`9`,strokeLinecap:`round`,d:`M16 23V19q0-17 16-17t16 17v4`}),(0,R.jsx)(`rect`,{style:{fill:bE},x:`8`,y:`26`,width:`48`,height:`36`,rx:`9`}),(0,R.jsx)(`path`,{style:{fill:TE},d:`M32 34a7 7 0 0 0-4 13v7h8v-7a7 7 0 0 0-4-13Z`})]}),error:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{style:{fill:bE},d:`M32 6q5-8 10 0 9-3 10 6 9 2 5 11 8 6 0 12 3 9-6 11-1 9-10 6-6 8-12 0-9 3-11-6-9-2-6-11-8-6 0-12-3-9 6-11 1-9 10-6Z`}),(0,R.jsx)(`path`,{fill:`none`,style:{stroke:TE},strokeWidth:`7`,strokeLinecap:`round`,d:`M32 18v15`}),(0,R.jsx)(`circle`,{style:{fill:TE},cx:`32`,cy:`45`,r:`4`})]}),trellis:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(`g`,{fill:wE,children:[(0,R.jsx)(`rect`,{x:`17.25`,y:`9`,width:`3.9`,height:`49.2`,rx:`1.95`}),(0,R.jsx)(`rect`,{x:`42.95`,y:`9`,width:`3.9`,height:`49.2`,rx:`1.95`}),(0,R.jsx)(`rect`,{x:`30.4`,y:`18`,width:`3.2`,height:`26`}),(0,R.jsx)(`rect`,{x:`14.8`,y:`15.75`,width:`34.4`,height:`3.1`,rx:`1.55`}),(0,R.jsx)(`rect`,{x:`14.8`,y:`28.85`,width:`34.4`,height:`3.1`,rx:`1.55`}),(0,R.jsx)(`rect`,{x:`14.8`,y:`42.55`,width:`34.4`,height:`3.1`,rx:`1.55`})]}),(0,R.jsx)(`path`,{fill:`none`,stroke:SE,strokeWidth:`3`,strokeLinecap:`round`,d:`M21.9 56.1C31.5 54.4 32.9 47 32.1 45.8`}),(0,R.jsx)(`path`,{fill:`none`,stroke:SE,strokeWidth:`3`,strokeLinecap:`round`,d:`M32 44.2C28.7 41.8 25.2 35.7 32 32.3 38.8 28 38.9 24 31.9 18.8 32.4 16.3 32.8 14.7 34.5 12.2`}),(0,R.jsx)(yE,{transform:`translate(32.1 14.1) rotate(45) scale(0.45 0.86)`}),(0,R.jsx)(yE,{transform:`translate(32.2 14.7) rotate(-60) scale(0.42 0.58)`}),(0,R.jsx)(yE,{transform:`translate(34.8 28.3) rotate(65) scale(0.38 0.8)`}),(0,R.jsx)(yE,{transform:`translate(28.2 33.1) rotate(-51) scale(0.5 0.57)`}),(0,R.jsx)(yE,{transform:`translate(28.6 53.3) rotate(-48) scale(0.47 0.6)`}),(0,R.jsx)(`circle`,{fill:bE,cx:`31.9`,cy:`18.8`,r:`4`}),(0,R.jsx)(`circle`,{fill:xE,cx:`32`,cy:`32.3`,r:`4`}),(0,R.jsx)(`circle`,{fill:CE,cx:`32`,cy:`44.2`,r:`4`})]}),games:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:xE,d:`M18.5 28.5H45.5C49.5 29.5 53 32 54 35 55 37.5 56.8 45.5 56.6 48 56.5 53 52.5 57.5 47 58H15C9.5 56.5 6.6 51 7.6 45.5 8.6 39.5 9.3 35 10.5 33 12 31 14.5 29.5 18.5 28.5Z`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`26.8`,cy:`37.9`,rx:`9.1`,ry:`5.6`}),(0,R.jsx)(`ellipse`,{fill:EE,cx:`27`,cy:`37.6`,rx:`4.7`,ry:`2.2`}),(0,R.jsx)(`path`,{fill:EE,d:`M23.1 26V35.4A4 4.2 0 0 0 31.1 35.4V26Z`}),(0,R.jsx)(`circle`,{fill:bE,cx:`27.1`,cy:`18.3`,r:`12.4`}),(0,R.jsx)(`circle`,{fill:TE,cx:`22.6`,cy:`14.3`,r:`3.05`}),(0,R.jsx)(`ellipse`,{fill:wE,cx:`45.1`,cy:`37.2`,rx:`5.6`,ry:`3.95`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`40.1`,cy:`46.6`,rx:`6.2`,ry:`4.4`})]}),oyster:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:CE,d:`M35.5 6C33.7 6.3 32.3 7.6 31.4 9.4 30.9 10.3 30.4 10.3 29.5 10 25.5 9 20.6 11.6 19.6 15.9 19.4 16.6 19 17 18 17.1 14.5 17.6 12 20.6 12.1 24.2 12.2 25.4 12 25.9 11.5 26.5 7.5 30 10.5 34.5 17.5 34.4 15.3 32.6 16 31 19 29 26 24 37 19.5 43.5 19 46 19 46 22 43 25.5 46.5 23.5 51.5 18.5 53.5 15 55 11 50 7 45 9 43.8 9.4 43.3 9.2 42.5 8 40.7 6.3 38 5.6 35.5 6Z`}),(0,R.jsx)(`circle`,{fill:TE,cx:`34.9`,cy:`41.9`,r:`11.3`}),(0,R.jsxs)(`g`,{fill:EE,children:[(0,R.jsx)(`rect`,{x:`29.9`,y:`33.2`,width:`3.2`,height:`5.6`,rx:`1.6`}),(0,R.jsx)(`rect`,{x:`36.7`,y:`33.2`,width:`3.2`,height:`5.6`,rx:`1.6`})]}),(0,R.jsx)(`path`,{fill:CE,d:`M49.5 39C47.9 39.3 46.5 40 46.1 41.6 45.8 43.2 45.5 43.5 44 43.5 38.5 43.5 35 48 39 49.5 40 50 39.5 50.5 38 51 35.5 52.5 32.5 52 30 51 29 50.5 28.5 50 29.5 50 33 47.5 30 43.5 24.5 43.5 23.3 43.5 22.9 43.3 22.5 43 20.5 40.5 19 40 17.5 39.5 13 39.5 13 44 17 47.5 18.3 48.4 18.6 48.7 19 49.5 20.5 53 23 55 26 55 26.8 55 27 55.3 27.5 56 31 58.5 36.5 58.5 40 56 40.8 55.2 41.2 55 42 55 45 55 47.5 53 49 49.5 49.6 48.5 50 48 50.5 47.5 56 43.5 55 38.5 49.5 39Z`}),(0,R.jsx)(`path`,{fill:`none`,stroke:wE,strokeWidth:`3`,strokeLinecap:`round`,d:`M46.6 31.8 49.2 27.8 M49.4 35.5 52.8 33.7 M21.5 32.5 22.9 33.5 M19.3 37.5 21.1 38.1`})]}),tourtois:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{fill:TE,x:`11.07`,y:`35.73`,width:`26.8`,height:`9.7`,rx:`3.25`,transform:`rotate(-5 24.47 40.58)`}),(0,R.jsx)(`path`,{fill:wE,d:`M14.8 16C19 14.6 23 13.5 26.5 12.6 28.4 12.1 29.6 13.4 30.1 15.3L31.6 21 17.4 37.6C13.8 38.2 10.6 37.8 10.1 35.4L9.2 27.8C9.1 26.1 10.1 24.7 11.6 24.1 11.4 22.4 11.4 20.6 11.8 19.1 12.3 17.4 13.3 16.5 14.8 16Z`}),(0,R.jsx)(`path`,{fill:bE,d:`M14.0 24.1Q13.3 21.2 16.2 20.4L30.7 16.2Q33.6 15.4 34.6 18.2L36.0 22.7Q37.0 25.5 34.7 27.4L20.2 39.7Q17.9 41.6 17.2 38.7Z`}),(0,R.jsx)(`path`,{fill:xE,d:`M21 23.4 35.5 20.6C37.3 20.2 38.6 21 38.9 22.6L40 34.5C40.1 36.2 39.1 37.3 37.5 37.7 32.6 39.9 26 41 21 41 16 41 12.2 40.2 11 38.8 10.4 37.6 10.8 36.4 12.4 37L19.6 38.4 18.4 27C18.2 25.2 19.3 23.7 21 23.4Z`}),(0,R.jsx)(`path`,{fill:TE,d:`M22.8 29.6 34.8 26.9C36.2 26.6 37 27.3 37.2 28.6L37.9 33C38.1 34.2 37.5 35 36.3 35.3L24.3 37.8C23 38.1 22.3 37.5 22.1 36.3L21.3 31.6C21.1 30.6 21.7 29.8 22.8 29.6Z`}),(0,R.jsxs)(`g`,{fill:TE,children:[(0,R.jsx)(`circle`,{cx:`14.7`,cy:`18.45`,r:`1`}),(0,R.jsx)(`circle`,{cx:`17.6`,cy:`17.65`,r:`1`}),(0,R.jsx)(`circle`,{cx:`20.5`,cy:`16.85`,r:`1`}),(0,R.jsx)(`circle`,{cx:`17.9`,cy:`22.2`,r:`1`}),(0,R.jsx)(`circle`,{cx:`21`,cy:`21.5`,r:`1`}),(0,R.jsx)(`circle`,{cx:`24.1`,cy:`20.75`,r:`1`}),(0,R.jsx)(`circle`,{cx:`28.2`,cy:`25.3`,r:`1`})]}),(0,R.jsx)(`circle`,{fill:bE,cx:`21.7`,cy:`26.6`,r:`1`}),(0,R.jsx)(`circle`,{fill:wE,cx:`24.9`,cy:`25.9`,r:`1.05`}),(0,R.jsxs)(`g`,{fill:SE,children:[(0,R.jsx)(`ellipse`,{cx:`8.8`,cy:`36.6`,rx:`3.6`,ry:`1.9`,transform:`rotate(22 8.8 36.6)`}),(0,R.jsx)(`path`,{d:`M12 41C10 41.5 7.5 44.5 7 46.5 7 48 8.5 49.5 10.5 50 12.5 50.5 13.5 50 15 48 15.5 47 16.5 47.5 19 50 22 49.5 22 46.5 22 45.5 20.5 45.5 17 45 16.5 44.5 16.5 44 16.5 42 13.5 40.5L12 41Z`}),(0,R.jsx)(`path`,{d:`M40 33C39 38 36 42 34.5 41.5 32.5 40.5 29.5 42 28.5 44 26 49 27.5 51.5 32.5 51 36 51 37 50 36 46.5 36 45 37 44.5 38 44.5 38.5 45.5 40.5 49 43.5 50 46.5 47.5 47.5 46.5 46 43.5 44 42 43 41.5 43.5 40.5 44.5 39.5 46 38 47 37.5L47 33Z`})]}),(0,R.jsx)(`ellipse`,{fill:SE,cx:`46.4`,cy:`30.6`,rx:`8.1`,ry:`8.3`}),(0,R.jsxs)(`g`,{fill:EE,children:[(0,R.jsx)(`rect`,{x:`45.05`,y:`26.95`,width:`2.25`,height:`4.6`,rx:`1.1`,transform:`rotate(-6 46.2 29.3)`}),(0,R.jsx)(`rect`,{x:`49.25`,y:`26.4`,width:`2.25`,height:`4.6`,rx:`1.1`,transform:`rotate(-6 50.4 28.7)`})]}),(0,R.jsx)(`path`,{fill:bE,d:`M46.8 32.2H51C51 34.3 50 35.4 48.9 35.4S46.8 34.3 46.8 32.2Z`,transform:`rotate(-8 48.9 33.5)`}),(0,R.jsx)(`path`,{fill:`none`,stroke:wE,strokeWidth:`3`,strokeLinecap:`round`,d:`M50.9 17.7 50.5 19.7 M55.2 20.1 53.4 21.9 M56.5 24.5 55.7 24.7`})]}),allApps:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{fill:bE,x:`7`,y:`7.25`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(-6.2 18.6 18.6)`}),(0,R.jsx)(`rect`,{fill:xE,x:`33.9`,y:`7.25`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(6.2 45.5 18.6)`}),(0,R.jsx)(`rect`,{fill:SE,x:`7`,y:`34.15`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(6.2 18.6 45.5)`}),(0,R.jsx)(`rect`,{fill:wE,x:`33.9`,y:`34.15`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(-6.2 45.5 45.5)`})]}),search:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:`none`,stroke:xE,strokeWidth:`6.5`,d:`M37 37.5 43 43.5`}),(0,R.jsx)(`path`,{fill:`none`,stroke:bE,strokeWidth:`12.6`,strokeLinecap:`round`,d:`M44.2 43.8 51.4 51.8`}),(0,R.jsx)(`path`,{fill:`none`,stroke:wE,strokeWidth:`3`,strokeLinecap:`round`,d:`M47.2 42.4 52.8 47.8`}),(0,R.jsx)(`ellipse`,{fill:xE,cx:`25.6`,cy:`24.6`,rx:`19.25`,ry:`18.6`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`25.2`,cy:`24.1`,rx:`14.2`,ry:`13.6`})]}),browser:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{fill:bE,x:`5.9`,y:`6.15`,width:`52.2`,height:`51.7`,rx:`5.5`}),(0,R.jsx)(`path`,{fill:TE,d:`M10 16.5H29.4C30.3 16.1 31 14.4 31.8 12.5 32.5 10.9 33.2 10 34.5 10H52.2C53.4 10 54 10.7 54 12V16.5C55.2 16.5 56 17.1 56 18.3V52.4C56 53.7 55.1 54.6 53.8 54.6H10.2C8.9 54.6 8 53.7 8 52.4V18.2C8 17.1 8.7 16.5 10 16.5Z`}),(0,R.jsx)(`circle`,{fill:wE,cx:`12.2`,cy:`11.9`,r:`1.95`}),(0,R.jsx)(`circle`,{fill:xE,cx:`18.6`,cy:`11.9`,r:`1.95`}),(0,R.jsx)(`circle`,{fill:CE,cx:`25.1`,cy:`11.9`,r:`1.95`}),(0,R.jsx)(`circle`,{fill:SE,cx:`32`,cy:`34.9`,r:`14.5`}),(0,R.jsxs)(`g`,{fill:`none`,stroke:TE,strokeWidth:`3`,children:[(0,R.jsx)(`ellipse`,{cx:`32`,cy:`34.9`,rx:`7.7`,ry:`13.3`}),(0,R.jsx)(`path`,{d:`M17.5 34.9H46.5`})]})]}),internet:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`ellipse`,{fill:`none`,stroke:wE,strokeWidth:`4.4`,cx:`32.2`,cy:`30.2`,rx:`25.6`,ry:`8.1`,transform:`rotate(-20.8 32.2 30.2)`}),(0,R.jsx)(`circle`,{fill:xE,cx:`32`,cy:`32`,r:`21.1`}),(0,R.jsxs)(`g`,{fill:`none`,stroke:TE,strokeWidth:`3`,children:[(0,R.jsx)(`ellipse`,{cx:`32`,cy:`31.8`,rx:`12.2`,ry:`18.7`}),(0,R.jsx)(`path`,{d:`M32 13.1V50.5M15 20.4Q32 29 49 20.4M12.5 39Q32 44.6 51.5 39`})]}),(0,R.jsx)(`path`,{fill:`none`,stroke:wE,strokeWidth:`4.4`,d:`M6.6 30.2A25.6 8.1 0 0 0 57.8 30.2`,transform:`rotate(-20.8 32.2 30.2)`})]}),members:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`circle`,{fill:xE,cx:`41.9`,cy:`22.85`,r:`12.2`}),(0,R.jsx)(`path`,{fill:xE,d:`M36 34C33.8 34.8 32.2 35.8 31 37 37.5 39.5 40.5 43.5 40.5 49.5V53.5H54.5C57 53.5 58 51 58 47.5 58 40 55 35.5 49 34Z`}),(0,R.jsx)(`circle`,{fill:bE,cx:`22.95`,cy:`27.6`,r:`12.85`}),(0,R.jsx)(`path`,{fill:bE,d:`M15.5 38C10.5 39 7.5 42.5 6.5 47 5.5 50.5 6 53.5 8.5 53.5H38.5C42 52 40 43 36 40 34.5 39 32 38 31 38Z`}),(0,R.jsxs)(`g`,{fill:EE,children:[(0,R.jsx)(`circle`,{cx:`18.3`,cy:`28`,r:`1.6`}),(0,R.jsx)(`circle`,{cx:`27.9`,cy:`28`,r:`1.6`}),(0,R.jsx)(`circle`,{cx:`39.1`,cy:`23.05`,r:`1.55`}),(0,R.jsx)(`circle`,{cx:`47.25`,cy:`23.05`,r:`1.55`})]})]}),sell:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`path`,{fill:wE,d:`M6.4 41.2V48.4C6.4 51.4 13.2 54 21.8 54S37.2 51.4 37.2 48.4V41.2C37.2 37.8 30.4 35 21.8 35S6.4 37.8 6.4 41.2Z`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`21.9`,cy:`40.8`,rx:`13.2`,ry:`3.6`}),(0,R.jsxs)(`g`,{transform:`rotate(-3 22.5 30) translate(0.5 0)`,children:[(0,R.jsx)(`path`,{fill:wE,d:`M7.5 26V34C7.5 37.3 14.2 40 22.5 40S37.5 37.3 37.5 34V26C37.5 22.7 30.8 20 22.5 20S7.5 22.7 7.5 26Z`}),(0,R.jsx)(`ellipse`,{fill:TE,cx:`23.7`,cy:`26.55`,rx:`13.05`,ry:`4.4`})]}),(0,R.jsxs)(`g`,{transform:`translate(46.3 40.3) rotate(-25)`,children:[(0,R.jsx)(`path`,{fill:bE,d:`M-8.5-10Q-8.5-12-7-13L-1.5-16.3Q0-17.2 1.5-16.3L7-13Q8.5-12 8.5-10V9Q8.5 12 5.5 12H-5.5Q-8.5 12-8.5 9Z`}),(0,R.jsx)(`circle`,{fill:TE,cx:`0`,cy:`-10.7`,r:`2.2`})]}),(0,R.jsx)(hE,{fill:wE,transform:`translate(38.2 18.6) scale(1.1 .86)`}),(0,R.jsx)(hE,{fill:wE,transform:`translate(42.8 21.2) rotate(45) scale(1.1 .85)`})]}),schedule:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`rect`,{fill:TE,x:`6`,y:`11`,width:`47.6`,height:`44`,rx:`6`}),(0,R.jsx)(`path`,{fill:bE,d:`M12 11H47.6Q53.6 11 53.6 17V21.5H6V17Q6 11 12 11Z`}),(0,R.jsxs)(`g`,{fill:TE,children:[(0,R.jsx)(`circle`,{cx:`16.1`,cy:`16.15`,r:`3.4`}),(0,R.jsx)(`circle`,{cx:`43.4`,cy:`16.15`,r:`3.4`})]}),(0,R.jsxs)(`g`,{fill:xE,children:[(0,R.jsx)(`rect`,{x:`13.6`,y:`6`,width:`5`,height:`11.2`,rx:`2.5`}),(0,R.jsx)(`rect`,{x:`40.9`,y:`6`,width:`5`,height:`11.2`,rx:`2.5`})]}),(0,R.jsxs)(`g`,{fill:SE,children:[(0,R.jsx)(`rect`,{x:`11.1`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`20.7`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`30.4`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`20.7`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`30.4`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`11.1`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`30.4`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`})]}),(0,R.jsxs)(`g`,{fill:CE,children:[(0,R.jsx)(`rect`,{x:`40.4`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`11.1`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,R.jsx)(`rect`,{x:`20.7`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`})]}),(0,R.jsx)(`circle`,{fill:wE,cx:`45.5`,cy:`45.6`,r:`12.2`}),(0,R.jsx)(`path`,{fill:`none`,stroke:EE,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`M45.1 39.3V46.2L51.3 49.8`}),(0,R.jsx)(`circle`,{fill:EE,cx:`45.1`,cy:`46.2`,r:`2.5`})]}),fungi:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`ellipse`,{fill:TE,cx:`33.5`,cy:`43.6`,rx:`18.6`,ry:`14.4`,transform:`rotate(-6 33.5 43.6)`}),(0,R.jsx)(`path`,{fill:bE,d:`M29.5 6.5C22 7.5 16 11 11 18.5 4 29 4.6 39.6 13.5 42.2 24 45 44 40.5 54 34.6 57.6 32.6 58.6 29.2 57.5 25 56.5 20 53 16 48.5 13 43.5 8 37 5.5 29.5 6.5Z`}),(0,R.jsxs)(`g`,{fill:TE,children:[(0,R.jsx)(`ellipse`,{cx:`29`,cy:`15.7`,rx:`8.7`,ry:`6.3`,transform:`rotate(-15.5 29 15.7)`}),(0,R.jsx)(`ellipse`,{cx:`50.8`,cy:`20.1`,rx:`6.5`,ry:`3.5`,transform:`rotate(51.6 50.8 20.1)`}),(0,R.jsx)(`ellipse`,{cx:`13`,cy:`26.8`,rx:`4.2`,ry:`3.3`,transform:`rotate(-54.5 13 26.8)`})]}),(0,R.jsxs)(`g`,{fill:EE,transform:`translate(26.6 46.6) scale(1.1) translate(-33.7 -38.5)`,children:[(0,R.jsx)(`rect`,{x:`31.85`,y:`35.9`,width:`3.75`,height:`5.25`,rx:`1.85`}),(0,R.jsx)(`path`,{d:`M 47.4 34.3 C 46 35 44.6 35.8 43.5 36.7 42.9 37.2 43.2 38.3 44 38.4 45.2 38.6 46.5 38.6 47.7 38.4 48.4 38.3 48.3 37.3 47.6 37.3 46.6 37.4 45.7 37.4 45 37.3 45.9 36.7 46.9 36.1 48 35.6 48.7 35.3 48.2 34 47.4 34.3 Z`}),(0,R.jsx)(`path`,{d:`M 37.4 41.1 C 38.6 44.3 42.6 44.3 43.6 40.5 43.7 40 43.1 39.8 42.9 40.3 41.9 42.8 39.1 42.9 38.3 40.7 38.1 40.2 37.3 40.5 37.4 41.1 Z`})]})]})};function DE({name:e,size:t}){return(0,R.jsx)(`svg`,{viewBox:`0 0 64 64`,width:t,height:t,fill:`none`,stroke:`none`,"aria-hidden":`true`,focusable:`false`,"data-sigil":e,children:Rfe[e]})}var zfe=[{id:`list`,label:`List files`,contract:zle},{id:`read`,label:`Read files`,contract:Kle},{id:`write`,label:`Write files`,contract:qle},{id:`run`,label:`Run commands`,contract:jS}],Bfe={loading:`Loading`,unavailable:`Unavailable`,error:`Refresh failed`};function Vfe({app:e,terminal:t=null,processes:n,ports:r}){let[i,a]=(0,F.useState)(!1),[o,s]=(0,F.useState)(!1),c=async()=>{if(e){a(!0),s(!1);try{await e.ui.requestAppPermissions({})}catch{s(!0)}finally{a(!1)}}};return{id:`access`,label:`Access`,title:`Computer access`,content:(0,R.jsxs)(`div`,{className:`shed-instrument`,children:[(0,R.jsxs)(dE,{size:`sm`,children:[(0,R.jsx)(wfe,{icon:(0,R.jsx)(DE,{name:`computer`}),title:t?.name??`Selected Computer`,status:t?(0,R.jsx)(lE,{size:`compact`,label:`Terminal ${t.state}`,tone:t.state===`open`?`success`:t.state===`failed`?`error`:`neutral`}):null}),(0,R.jsxs)(Tfe,{children:[(0,R.jsx)(fE,{legend:`Shed may`,wide:!0,children:(0,R.jsx)(xfe,{"aria-label":`Shed may`,stateLabels:[`allowed`,`not allowed`],items:zfe.map(({id:t,label:n,contract:r})=>({id:t,label:n,caption:t,icon:(0,R.jsx)(DE,{name:t}),on:e?.capabilities.has(r)===!0}))})}),(0,R.jsx)(OE,{label:`Processes`,value:n}),(0,R.jsx)(OE,{label:`Ports open`,value:r})]})]}),e?(0,R.jsx)(`div`,{className:`shed-instrument-keys`,children:(0,R.jsx)(XT,{size:`sm`,variant:`ghost`,disabled:i,onClick:()=>void c(),children:i?`Opening permissions…`:`App permissions…`})}):null,o?(0,R.jsx)(`p`,{role:`alert`,className:`shed-instrument-detail`,children:`Could not open App permissions. Try again.`}):null]})}}function OE({label:e,value:t}){return(0,R.jsx)(fE,{legend:e,role:`group`,"aria-label":e,children:t.kind===`loaded`?(0,R.jsx)(pfe,{value:t.count,pad:2,size:`md`}):(0,R.jsx)(`span`,{className:`shed-instrument-note`,children:Bfe[t.kind]})})}var Hfe={2:`h2`,3:`h3`,4:`h4`};function Ufe(e,t){let{reduced:n}=t,r=e&&!n,i=bC(t,600),[a,o]=(0,F.useState)(r);return(0,F.useEffect)(()=>{if(o(r),!r)return;let e=globalThis.setTimeout(()=>{o(!1)},i);return()=>{globalThis.clearTimeout(e)}},[r,i]),a}var kE=(0,F.forwardRef)(function({actions:e,className:t,description:n,headingLevel:r=2,suggestions:i,thinking:a=!1,title:o,visual:s,renderVisual:c,variant:l=`plain`,...u},d){let f=(0,F.useId)(),p=(0,F.useRef)(null),m=yC(p),h=Ufe(l===`speech`,m)&&!a,g=Hfe[r],_=c?c({speaking:h,thinking:a}):s,v=(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(g,{ref:p,className:`empty-state-title`,id:u[`aria-labelledby`]?void 0:f,children:o}),(0,R.jsx)(`p`,{children:n}),i&&i.length>0?(0,R.jsx)(`ul`,{"aria-label":`Try one of these`,className:`empty-state-suggestions`,children:i.map(e=>(0,R.jsx)(`li`,{children:(0,R.jsx)(XT,{size:`sm`,variant:`outline`,onClick:e.onSelect,children:e.label})},e.label))}):null,e?(0,R.jsx)(`div`,{className:`empty-state-actions`,children:e}):null]});return(0,R.jsxs)(`section`,{...u,"aria-labelledby":u[`aria-labelledby`]??f,className:hC(`empty-state`,l!==`plain`&&`empty-state-${l}`,t),ref:d,children:[_?(0,R.jsx)(`div`,{"aria-hidden":`true`,className:`empty-state-visual`,children:_}):null,l===`speech`?(0,R.jsx)(`div`,{className:`empty-state-bubble`,children:v}):v]})}),Wfe=(0,F.forwardRef)(function({className:e,orientation:t,variant:n=`grip`,value:r,min:i,max:a,onValueChange:o,onKeyDown:s,...c},l){return(0,R.jsx)(`div`,{...c,ref:l,className:hC(`caps-resize-handle`,e),"data-resize-variant":n,role:`separator`,"aria-orientation":t,"aria-valuemin":Math.round(i),"aria-valuemax":Math.round(a),"aria-valuenow":Math.round(r),tabIndex:c.tabIndex??0,onKeyDown:e=>{if(s?.(e),e.defaultPrevented)return;if(e.key===`Home`||e.key===`End`){e.preventDefault(),o(e.key===`Home`?i:a);return}let n=t===`horizontal`?e.key===`ArrowUp`?-32:e.key===`ArrowDown`?32:null:e.key===`ArrowLeft`?-32:e.key===`ArrowRight`?32:null;n!==null&&(e.preventDefault(),o(Math.min(a,Math.max(i,r+n))))},children:(0,R.jsx)(`span`,{className:`caps-resize-grip`,"aria-hidden":`true`})})});function AE(e){return`init`in e}function jE(e){return typeof e.write==`function`}function Gfe(e){return!!e.onMount}function ME(e){return`v`in e||`e`in e}function NE(e){if(`e`in e)throw e.e;return e.v}function PE(e){return typeof e?.then==`function`}function Kfe(e){if(!(e instanceof Error))return!1;let t=e.name,n=e.message.toLowerCase();return(t===`RangeError`||t===`InternalError`)&&(n.includes(`call stack`)||n.includes(`too much recursion`)||n.includes(`stack overflow`))}function FE(e,t,n){if(!n.p.has(e)){n.p.add(e);let r=()=>n.p.delete(e);t.then(r,r)}}function IE(e,t,n){let r=n.get(e)?.t,i=t.p;if(!r?.size)return i;if(!i.size)return r;let a=new Set(r);for(let e of i)a.add(e);return a}function qfe(e){return!!e.INTERNAL_onInit}var Jfe=(e,t,n,...r)=>n.read(...r),Yfe=(e,t,n,...r)=>n.write(...r),Xfe=(e,t,n)=>n.INTERNAL_onInit(t),Zfe=(e,t,n,r)=>n.onMount?.call(n,r),Qfe=(e,t,n)=>{var r;let i=e[0],a=i.get(n);if(!a){let o=e[6],s=e[9];a={d:new Map,p:new Set,n:0},i.set(n,a),(r=o.i)==null||r.call(o,n),qfe(n)&&s(e,t,n)}return a},$fe=(e,t)=>{let n=e[1],r=e[3],i=e[4],a=e[5],o=e[6],s=e[13];if(!o.f&&!r.size&&!i.size&&!a.size)return;let c=[],l=e=>{try{e()}catch(e){c.push(e)}};do{o.f&&l(o.f);let c=new Set;for(let e of r){let t=n.get(e)?.l;if(t)for(let e of t)c.add(e)}r.clear();for(let e of a)c.add(e);a.clear();for(let e of i)c.add(e);i.clear();for(let e of c)l(e);r.size&&s(e,t)}while(r.size||a.size||i.size);if(c.length)throw AggregateError(c)},epe=(e,t)=>{let n=e[1],r=e[2],i=e[3],a=e[11],o=e[14],s=e[17];if(!i.size)return;let c=[],l=[],u=new WeakSet,d=new WeakSet,f=[],p=[];for(let n of i)f.push(n),p.push(a(e,t,n));for(;f.length;){let i=f.length-1,o=f[i],s=p[i];if(d.has(o)){f.pop(),p.pop();continue}if(u.has(o)){r.get(o)===s.n&&(c.push(o),l.push(s)),d.add(o),f.pop(),p.pop();continue}u.add(o);for(let r of IE(o,s,n))u.has(r)||(f.push(r),p.push(a(e,t,r)))}for(let n=c.length-1;n>=0;--n){let a=c[n],u=l[n],d=!1;for(let e of u.d.keys())if(e!==a&&i.has(e)){d=!0;break}d&&(r.set(a,u.n),o(e,t,a),s(e,t,a)),r.delete(a)}},tpe=(e,t,n)=>{var r,i;let a=e[1],o=e[2],s=e[3],c=e[6],l=e[7],u=e[11],d=e[12],f=e[13],p=e[14],m=e[16],h=e[17],g=e[20],_=e[26],v=e[28],y=u(e,t,n),b=v[0];if(ME(y)){if(a.has(n)&&o.get(n)!==y.n||y.m===b)return y.m=b,y;let r=!1;for(let[n,i]of y.d)if(p(e,t,n).n!==i){r=!0;break}if(!r)return y.m=b,y}let x=!0,S=new Set(y.d.keys()),C=()=>{for(let e of S)y.d.delete(e)},w=()=>{if(a.has(n)){let r=!s.size;h(e,t,n),r&&(f(e,t),d(e,t))}},T=r=>{var i;if(r===n){let n=u(e,t,r);if(!ME(n)){if(AE(r))g(e,t,r,r.init);else throw Error(`no atom init`)}return NE(n)}let o=p(e,t,r);try{return NE(o)}finally{S.delete(r),y.d.set(r,o.n),PE(y.v)&&FE(n,y.v,o),a.has(n)&&((i=a.get(r))==null||i.t.add(n)),x||w()}},E,D,O={get signal(){return E||=new AbortController,E.signal},get setSelf(){return!D&&jE(n)&&(D=(...r)=>{if(!x)try{return m(e,t,n,r)}finally{f(e,t),d(e,t)}}),D}},k=y.n,A=o.get(n)===k;try{let i=l(e,t,n,T,O);if(g(e,t,n,i),PE(i)){_(e,t,i,()=>E?.abort());let n=()=>{C(),w()};i.then(n,n)}else C();return(r=c.r)==null||r.call(c,n),y.m=b,y}catch(e){if(Kfe(e))throw e;return delete y.v,y.e=e,++y.n,y.m=b,y}finally{x=!1,y.n!==k&&A&&(o.set(n,y.n),s.add(n),(i=c.c)==null||i.call(c,n))}},npe=(e,t,n)=>{let r=e[1],i=e[2],a=e[11],o=[n];for(;o.length;){let n=o.pop(),s=a(e,t,n);for(let c of IE(n,s,r)){let n=a(e,t,c);i.get(c)!==n.n&&(i.set(c,n.n),o.push(c))}}},rpe=(e,t,n,r)=>{let i=e[3],a=e[6],o=e[8],s=e[11],c=e[12],l=e[13],u=e[14],d=e[15],f=e[16],p=e[17],m=e[20],h=e[28],g=!0,_=n=>NE(u(e,t,n)),v=(r,...o)=>{var u;let _=s(e,t,r);try{if(r===n){if(!AE(r))throw Error(`atom not writable`);let n=_.n,s=o[0];m(e,t,r,s),p(e,t,r),n!==_.n&&(++h[0],i.add(r),d(e,t,r),(u=a.c)==null||u.call(a,r));return}return f(e,t,r,o)}finally{g||(l(e,t),c(e,t))}};try{return o(e,t,n,_,v,...r)}finally{g=!1}},ipe=(e,t,n)=>{var r;let i=e[1],a=e[3],o=e[6],s=e[11],c=e[15],l=e[18],u=e[19],d=s(e,t,n),f=i.get(n);if(f&&d.d.size>0){for(let[i,u]of d.d)if(!f.d.has(i)){let d=s(e,t,i);l(e,t,i).t.add(n),f.d.add(i),u!==d.n&&(a.add(i),c(e,t,i),(r=o.c)==null||r.call(o,i))}for(let r of f.d)d.d.has(r)||(f.d.delete(r),u(e,t,r)?.t.delete(n))}},ape=(e,t,n)=>{var r;let i=e[1],a=e[4],o=e[6],s=e[10],c=e[11],l=e[12],u=e[13],d=e[14],f=e[16],p=e[18],m=c(e,t,n),h=i.get(n);if(!h){d(e,t,n);for(let r of m.d.keys())p(e,t,r).t.add(n);h={l:new Set,d:new Set(m.d.keys()),t:new Set},i.set(n,h),jE(n)&&Gfe(n)&&a.add(()=>{let r=!0,i=(...i)=>{try{return f(e,t,n,i)}finally{r||(u(e,t),l(e,t))}};try{let a=s(e,t,n,i);a&&(h.u=()=>{r=!0;try{a()}finally{r=!1}})}finally{r=!1}}),(r=o.m)==null||r.call(o,n)}return h},ope=(e,t,n)=>{var r;let i=e[1],a=e[5],o=e[6],s=e[11],c=e[19],l=s(e,t,n),u=i.get(n);if(!u||u.l.size)return u;let d=!1;for(let e of u.t)if(i.get(e)?.d.has(n)){d=!0;break}if(!d){u.u&&a.add(u.u),u=void 0,i.delete(n);for(let r of l.d.keys())c(e,t,r)?.t.delete(n);(r=o.u)==null||r.call(o,n);return}return u},spe=(e,t,n,r)=>{let i=e[11],a=e[27],o=i(e,t,n),s=`v`in o,c=o.v;if(PE(r))for(let a of o.d.keys())FE(n,r,i(e,t,a));o.v=r,delete o.e,(!s||!Object.is(c,o.v))&&(++o.n,PE(c)&&a(e,t,c))},cpe=(e,t,n)=>{let r=e[14];return NE(r(e,t,n))},lpe=(e,t,n,...r)=>{let i=e[3],a=e[12],o=e[13],s=e[16],c=i.size;try{return s(e,t,n,r)}finally{i.size!==c&&(o(e,t),a(e,t))}},LE=(e,t,n,r)=>{let i=e[12],a=e[13],o=e[18],s=e[19],c=o(e,t,n).l;return c.add(r),a(e,t),i(e,t),()=>{c.delete(r),s(e,t,n),a(e,t),i(e,t)}},RE=(e,t,n,r)=>{let i=e[25],a=i.get(n);if(!a){a=new Set,i.set(n,a);let e=()=>i.delete(n);n.then(e,e)}a.add(r)},zE=(e,t,n)=>{e[25].get(n)?.forEach(e=>e())},BE=new WeakMap;function VE(...e){let t={get(e){return r(n,t,e)},set(e,...r){return i(n,t,e,...r)},sub(e,r){return a(n,t,e,r)}},n=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},Jfe,Yfe,Xfe,Zfe,Qfe,$fe,epe,tpe,npe,rpe,ipe,ape,ope,spe,cpe,lpe,LE,void 0,new WeakMap,RE,zE,[0]].map((t,n)=>e[n]||t);BE.set(t,Object.freeze(n));let r=n[21],i=n[22],a=n[23];return t}var HE=0;function UE(e,t){let n=`atom${++HE}`,r={toString(){return n}};return typeof e==`function`?r.read=e:(r.init=e,r.read=WE,r.write=GE),t&&(r.write=t),r}function WE(e){return e(this)}function GE(e,t,n){return t(this,typeof n==`function`?n(e(this)):n)}function KE(){return VE()}var qE=UE({frames:new Map,order:[],tiles:[],minima:new Map,participating:new Set,mainSize:void 0,zoomed:null,gesture:null,restore:new Map}),JE=(e,t,n)=>Math.min(Math.max(e,t),n),YE=(e,t,n)=>{let r=JE(e.width,n.width,Math.max(n.width,t.width)),i=JE(e.height,n.height,Math.max(n.height,t.height));return{width:r,height:i,x:JE(e.x,0,Math.max(0,t.width-r)),y:JE(e.y,0,Math.max(0,t.height-i))}},XE=(e,t,n)=>{let r=t.width/2,i=t.height/2;return YE(e===`left`?{x:0,y:0,width:r,height:t.height}:e===`right`?{x:r,y:0,width:r,height:t.height}:e===`top-left`?{x:0,y:0,width:r,height:i}:e===`top-right`?{x:r,y:0,width:r,height:i}:e===`bottom-left`?{x:0,y:i,width:r,height:i}:{x:r,y:i,width:r,height:i},t,n)},ZE=()=>{let e=KE(),t=()=>e.get(qE),n=0,r=r=>{n+=1,e.set(qE,r(t()))},i=(e,t,n)=>{r(r=>{let i=new Map(r.frames);return i.set(e,t),{...r,frames:i,participating:new Set(r.participating).add(e),tiles:r.tiles.includes(e)?r.tiles:[...r.tiles,e],minima:new Map(r.minima).set(e,n),order:r.order.includes(e)?r.order:[...r.order.filter(e=>e!==r.zoomed),e,...r.zoomed?[r.zoomed]:[]]}})},a=e=>t().frames.has(e),o=(e,n)=>{let r=t().gesture;return r?.kind===`frame`&&r.id===e&&r.pointerId===n};return{get version(){return n},get frames(){return t().frames},get order(){return t().order},get tiles(){return t().tiles},get minima(){return t().minima},get participating(){return t().participating},get mainSize(){return t().mainSize},get zoomed(){return t().zoomed},get gesture(){return t().gesture},get restore(){return t().restore},subscribe:t=>e.sub(qE,t),register:i,setParticipation:(e,n)=>{t().frames.has(e)&&r(t=>{if(t.participating.has(e)===n)return t;let r=new Set(t.participating);n?r.add(e):r.delete(e);let i=n?t.tiles.includes(e)?t.tiles:[...t.tiles,e]:t.tiles.filter(t=>t!==e),a=n?t.order.includes(e)?t.order:[...t.order,e]:t.order.filter(t=>t!==e);return{...t,participating:r,tiles:i,order:a,zoomed:n||t.zoomed!==e?t.zoomed:null,gesture:!n&&t.gesture?.kind===`frame`&&t.gesture.id===e?null:t.gesture}})},setMinima:(e,n)=>{let i=t().minima.get(e);!i||i.width===n.width&&i.height===n.height||r(t=>({...t,minima:new Map(t.minima).set(e,n)}))},unregister:e=>{r(t=>{if(!t.frames.has(e))return t;let n=new Map(t.frames);n.delete(e);let r=new Map(t.restore);r.delete(e);let i=t.order.filter(t=>t!==e),a=t.tiles.filter(t=>t!==e),o=new Map(t.minima);o.delete(e);let s=new Set(t.participating);s.delete(e);let c=t.gesture?.kind===`frame`&&t.gesture.id===e?null:t.gesture;return{...t,frames:n,restore:r,order:i,tiles:a,minima:o,participating:s,gesture:c,zoomed:t.zoomed===e?null:t.zoomed}})},begin:(e,n)=>{!a(e)||!t().participating.has(e)||r(t=>({...t,gesture:{kind:`frame`,id:e,pointerId:n,start:t.frames.get(e)??{x:0,y:0,width:0,height:0}},order:[...t.order.filter(t=>t!==e),e]}))},move:(e,n,i,s,c,l=null)=>{a(e)&&t().participating.has(e)&&o(e,n)&&r(t=>({...t,frames:new Map(t.frames).set(e,YE(i,s,c)),gesture:t.gesture?.kind===`frame`?{...t.gesture,snap:l?{side:l,frame:XE(l,s,c)}:null}:t.gesture}))},end:(e,t)=>{o(e,t)&&r(t=>{let n=t.gesture;return n?.kind!==`frame`||!n.snap?{...t,gesture:null}:{...t,frames:new Map(t.frames).set(e,n.snap.frame),restore:new Map(t.restore).set(e,t.restore.get(e)??n.start),gesture:null}})},cancel:(e,n)=>{let i=t().gesture;i?.kind===`frame`&&i.id===e&&i.pointerId===n&&r(t=>{let n=new Map(t.frames);return n.set(e,i.start),{...t,frames:n,gesture:null}})},snap:(e,n,i,o)=>{!a(e)||!t().participating.has(e)||r(t=>{let r=new Map(t.restore);r.set(e,t.frames.get(e)??XE(n,i,o));let a=new Map(t.frames);return a.set(e,XE(n,i,o)),{...t,frames:a,restore:r,order:[...t.order.filter(t=>t!==e),e]}})},restoreFrame:(e,n,i)=>{!a(e)||!t().participating.has(e)||r(t=>{let r=t.restore.get(e);if(!r)return t;let a=new Map(t.frames);a.set(e,YE(r,n,i));let o=new Map(t.restore);return o.delete(e),{...t,frames:a,restore:o}})},focus:e=>{a(e)&&r(t=>({...t,order:[...t.order.filter(t=>t!==e),e],zoomed:t.zoomed===null?null:e}))},swap:(e,n)=>{!a(e)||!a(n)||!t().participating.has(e)||!t().participating.has(n)||r(t=>({...t,tiles:t.tiles.map(t=>t===e?n:t===n?e:t)}))},zoom:e=>{e!==null&&(!a(e)||!t().participating.has(e))||r(t=>({...t,zoomed:e,order:e===null?t.order:[...t.order.filter(t=>t!==e),e]}))},resizeMain:e=>{r(t=>({...t,mainSize:e}))},beginDivider:e=>!t().gesture&&(r(t=>({...t,gesture:{kind:`divider`,pointerId:e,start:t.mainSize}})),!0),finishDivider:(e,n)=>{let i=t().gesture;i?.kind===`divider`&&i.pointerId===e&&r(e=>({...e,gesture:null,mainSize:n?i.start:e.mainSize}))},destroy:()=>{r(e=>({...e,gesture:null,restore:new Map}))}}};function QE(e,t,n,r,i){let a=i.layout??`main-left`;if(a===`columns`||a===`rows`||a===`grid`)return $E(e,t,n,r,i,a);if(a===`main-top`){let a=eD(e,new Map([...t].map(([e,t])=>[e,{width:t.height,height:t.width}])),n,{width:r.height,height:r.width},i);return{frames:new Map([...a.frames].map(([e,t])=>[e,{x:t.y,y:t.x,width:t.height,height:t.width}])),tabGroups:a.tabGroups,divider:a.divider&&{...a.divider,axis:`y`}}}return eD(e,t,n,r,i)}function $E(e,t,n,r,i,a){let o=new Map,s=[];if(!e.length)return{frames:o,tabGroups:s,divider:null};let c=Math.max(0,i.gap??8),l=e.reduce((e,n)=>({width:Math.max(e.width,t.get(n)?.width??0),height:Math.max(e.height,t.get(n)?.height??0)}),{width:0,height:0}),u=(t,n)=>n+c===0?e.length:Math.min(e.length,Math.max(1,Math.floor((t+c)/(n+c)))),d=u(r.width,l.width),f=u(r.height,l.height),p=l.width>r.width||l.height>r.height?1:a===`columns`?d:a===`rows`?f:Math.min(e.length,d*f),m=a===`columns`?p:a===`rows`?1:Math.min(d,Math.max(Math.ceil(Math.sqrt(p)),Math.ceil(p/f))),h=Math.ceil(p/m),g=(r.width-c*(m-1))/m,_=(r.height-c*(h-1))/h;for(let t=0;t<p;t++){let r=e.slice(t,t===p-1?void 0:t+1),i=r.length===1?r[0]:[...n].reverse().find(e=>r.includes(e))??r[0];i&&o.set(i,{x:t%m*(g+c),y:Math.floor(t/m)*(_+c),width:g,height:_}),r.length>1&&s.push(r)}return{frames:o,tabGroups:s,divider:null}}function eD(e,t,n,r,i){let a=new Map,o=[],s={x:0,y:0,...r},[c,...l]=e,u=(e,t)=>{let r=[...n].reverse().find(t=>e.includes(t))??e[0];r&&a.set(r,t),e.length>1&&o.push(e)};if(!c)return{frames:a,tabGroups:o,divider:null};if(!l.length)return a.set(c,s),{frames:a,tabGroups:o,divider:null};let d=Math.max(0,i.gap??8),f=t.get(c)?.width??0,p=Math.max(...l.map(e=>t.get(e)?.width??0)),m=r.width-d-p;if(f>m)return u([...e],s),{frames:a,tabGroups:o,divider:null};let h=Math.min(m,Math.max(f,i.mainSize??r.width/2)),g={axis:`x`,position:h,min:f,max:m};a.set(c,{...s,width:h});let _={...s,x:h+d,width:r.width-h-d},v=l.map(e=>t.get(e)?.height??0).reduce((e,t)=>e+t,0)+d*(l.length-1);if(v>r.height)u(l,_);else{let e=(r.height-v)/l.length,n=0;for(let r of l){let i=(t.get(r)?.height??0)+e;a.set(r,{..._,y:n,height:i}),n+=i+d}}return{frames:a,tabGroups:o,divider:g}}function tD(e,t=!0,n){let r=(0,F.useRef)(e);r.current=e;let i=(0,F.useRef)(null);return(0,F.useEffect)(()=>(t||i.current?.release(!0),()=>i.current?.release(!0)),[t]),(0,F.useEffect)(()=>{let e=()=>{i.current?.release(!0)};return n?.addEventListener(`abort`,e),()=>{n?.removeEventListener(`abort`,e)}},[n]),{onPointerDown:e=>{if(!t||n?.aborted||i.current||e.pointerType===`mouse`&&e.button!==0)return;let{currentTarget:a,pointerId:o}=e;if(a.setPointerCapture(o),!r.current.begin(e)){a.releasePointerCapture(o);return}let s=r.current.end,c=()=>{l(!0)},l=e=>{a.removeEventListener(`lostpointercapture`,c),i.current=null,s(e),a.hasPointerCapture(o)&&a.releasePointerCapture(o)};i.current={id:o,element:a,x:e.clientX,y:e.clientY,release:l},a.addEventListener(`lostpointercapture`,c)},onPointerMove:e=>{let t=i.current;t?.id===e.pointerId&&(r.current.move(e.clientX-t.x,e.clientY-t.y,e),t.x=e.clientX,t.y=e.clientY)},onPointerUp:e=>{i.current?.id===e.pointerId&&i.current.release(!1)},onPointerCancel:e=>{i.current?.id===e.pointerId&&i.current.release(!0)}}}function nD(e,t){return e.x<20?e.y<20?`top-left`:e.y>t.height-20?`bottom-left`:`left`:e.x>t.width-20?e.y<20?`top-right`:e.y>t.height-20?`bottom-right`:`right`:null}var rD=(0,F.createContext)(null);function iD({bounds:e,tiling:t,containerRef:n,children:r}){let i=(0,F.useMemo)(ZE,[]);(0,F.useSyncExternalStore)(i.subscribe,()=>i.version,()=>i.version),(0,F.useEffect)(()=>()=>{i.destroy()},[i]);let a={...t};i.mainSize!==void 0&&(a.mainSize=i.mainSize);let o=t?QE(i.tiles,i.minima,i.order,e,a):{frames:new Map([...i.frames].filter(([e])=>i.participating.has(e)).map(([t,n])=>[t,YE(n,e,i.minima.get(t)??{width:0,height:0})])),tabGroups:[],divider:null};return i.zoomed&&i.participating.has(i.zoomed)&&(o.frames=new Map([[i.zoomed,{x:0,y:0,...e}]]),o.divider=null,o.tabGroups=[]),(0,R.jsx)(rD.Provider,{value:{state:i,bounds:e,tiled:t!==void 0,arrangement:o,containerRef:n},children:r})}function aD(){let e=(0,F.useContext)(rD);if(!e)throw Error(`Maosaico hooks must be used within MaosaicoRoot`);return e}function oD(){let{state:e,arrangement:t,tiled:n}=aD(),r=e.tiles,i=(0,F.useRef)({pointer:0,position:0}),a=t.divider,o=tD({begin:t=>!a||!e.beginDivider(t.pointerId)?!1:(i.current={pointer:t.pointerId,position:a.position},!0),move:(t,n)=>{a&&(i.current.position=Math.min(a.max,Math.max(a.min,i.current.position+(a.axis===`x`?t:n))),e.resizeMain(i.current.position))},end:t=>{e.finishDivider(i.current.pointer,t)}},a!==null);return{stackingStyle:{zIndex:e.order.length},mode:n?`tiled`:`floating`,order:r,interacting:e.gesture!==null,snapPreview:!n&&!e.zoomed&&e.gesture?.kind===`frame`?e.gesture.snap??null:null,activeId:e.order.at(-1)??null,zoomedId:e.zoomed,tabGroups:t.tabGroups,divider:a&&{...a,props:o},focus:e.focus,swap:e.swap,zoom:e.zoom,resizeMain:t=>{a&&e.resizeMain(Math.min(a.max,Math.max(a.min,t)))}}}function sD(e,t={}){let{state:n,bounds:r,tiled:i,arrangement:a,containerRef:o}=aD();(0,F.useEffect)(()=>(n.register(e.id,e.frame,e.minima),()=>{n.unregister(e.id)}),[n,e.id]),(0,F.useEffect)(()=>{n.setMinima(e.id,e.minima)},[n,e.id,e.minima.width,e.minima.height]);let s=t.participating??!0;(0,F.useLayoutEffect)(()=>{n.setParticipation(e.id,s)},[n,e.id,s]);let c=(0,F.useRef)(0),l=tD({begin:t=>!n.frames.has(e.id)||n.gesture?!1:(c.current=t.pointerId,n.begin(e.id,t.pointerId),!0),move:(i,a,s)=>{let l=o?.current?.getBoundingClientRect(),u=l&&t.kind!==`resize`?nD({x:s.clientX-l.left,y:s.clientY-l.top},r):null,d=YE(n.frames.get(e.id)??e.frame,r,e.minima);n.move(e.id,c.current,t.kind===`resize`?{...d,width:d.width+i,height:d.height+a}:{...d,x:d.x+i,y:d.y+a},r,e.minima,u)},end:t=>{t?n.cancel(e.id,c.current):n.end(e.id,c.current)}},s&&!i&&!n.zoomed);return{frame:a.frames.get(e.id)??n.frames.get(e.id)??e.frame,stackingStyle:{zIndex:Math.max(0,n.order.indexOf(e.id))},visible:a.frames.has(e.id),active:s&&n.order.at(-1)===e.id,props:l,focus:()=>{s&&n.focus(e.id)},snap:t=>{s&&!i&&n.snap(e.id,t,r,e.minima)},restore:()=>{s&&!i&&n.restoreFrame(e.id,r,e.minima)}}}var cD=(0,F.createContext)(null);(0,F.forwardRef)(function({layer:e,style:t,children:n,...r},i){let a=(0,F.useContext)(cD),o=a?.update,s=a?.roots.get(`dialog`),[c,l]=(0,F.useState)(!1);(0,F.useEffect)(()=>{if(!s)return;let e=()=>{l(Array.from(s.querySelectorAll(`*`)).some(e=>{let t=e.getBoundingClientRect();return t.width>0&&t.height>0}))};e();let t=new MutationObserver(e);return t.observe(s,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[s]);let u=(0,F.useRef)(null);(0,F.useImperativeHandle)(i,()=>u.current);let d=(0,F.useCallback)(t=>{u.current=t,o?.(e,t)},[o,e]);return(0,F.createElement)(`div`,{...r,ref:d,onFocusCapture:t=>{e===`windows`&&t.target instanceof Node&&t.currentTarget.contains(t.target)&&a?.dismiss?.(),r.onFocusCapture?.(t)},"data-maosaico-layer":e,inert:e===`windows`&&c?``:void 0,style:{position:`relative`,...t,isolation:`isolate`,zIndex:`var(--stipe-layer-${e})`}},n)});var lD=pg(OS.fields.id);function uD(e,t){let n=p_(),r=e?.context.get().computerId!=null&&e.capabilities.has(kS),i=iS.of(e,`processes`),a=iv({...aS(e,kS,i,e=>e.list()),enabled:r,refetchInterval:t?1e4:!1}),o=r?e.capabilities.require(kS):null,s=sv({mutationKey:i,mutationFn:e=>{if(!o)throw new i_(`Processes are not granted`,{code:`CAPABILITY_DENIED`,retryable:!1});return o.kill(e)},onSettled:()=>n.invalidateQueries({queryKey:i,exact:!0})}),c=(0,F.useRef)(null),l=sv({mutationKey:iS.of(e,`process-start`),mutationFn:e=>{if(!o)throw new i_(`Processes are not granted`,{code:`CAPABILITY_DENIED`,retryable:!1});return o.start(e)},onSettled:()=>Promise.all([n.invalidateQueries({queryKey:i,exact:!0}),n.invalidateQueries({queryKey:iS.of(e,`ports`),exact:!0})])});async function u(e){let t=JSON.stringify(e),n=c.current?.input===t?c.current:{input:t,requestId:sle()};c.current=n;try{return await l.mutateAsync({...e,requestId:n.requestId}),c.current===n&&(c.current=null),!0}catch(e){return console.error(`Shed process start failed`,Tp(e)),!1}}let d=ov({filters:{mutationKey:i,exact:!0},select:({state:e})=>({id:Bu(lD(e.variables)),status:e.status})}),f=new Map;for(let{id:e,status:t}of d)e!==null&&(t===`pending`?f.set(e,`stopping`):t===`error`?f.set(e,`failed`):f.delete(e));return{query:a,stop:s,actions:f,enabled:r,startCommand:u}}var dD=pg(L({port:ES.fields.port,expose:Tg}));function fD(e,t){let n=p_(),r=e?.context.get().computerId!=null&&e.capabilities.has(DS),i=iS.of(e,`ports`),a=iv({...aS(e,DS,i,()=>{if(!e)throw new i_(`No App connection`,{code:`DISCONNECTED`,retryable:!0});return Hle(e.capabilities)}),enabled:r,refetchInterval:e=>t&&!(e.state.data&&`error`in e.state.data)?1e4:!1}),o=r?e.capabilities.require(DS):null,s=sv({mutationKey:i,mutationFn:async({port:e,expose:t})=>{if(!o)throw new i_(`Ports are not granted`,{code:`CAPABILITY_DENIED`,retryable:!1});t?await o.expose(e):await o.unexpose(e)},onSettled:()=>n.invalidateQueries({queryKey:i,exact:!0})}),c=ov({filters:{mutationKey:i,exact:!0},select:({state:e})=>({change:Bu(dD(e.variables)),status:e.status})}),l=new Map;for(let{change:e,status:t}of c)e&&(t===`pending`||t===`error`?l.set(e.port,{expose:e.expose,status:t===`pending`?`pending`:`failed`}):l.delete(e.port));return{query:a,enabled:r,status:r?a.isPending?`loading`:a.isError?`error`:`error`in a.data?`not-configured`:a.isFetching?`loading`:`loaded`:`unavailable`,actions:l,ports:r&&a.data&&`ports`in a.data?a.data.ports:null,change:async(e,t)=>{try{return await s.mutateAsync({port:e,expose:t}),!0}catch{return!1}}}}var pD=(0,F.createContext)(null);function mD(){let e=(0,F.useContext)(pD);if(!e)throw Error(`Shed data requires a workspace provider`);return e}function hD(e,t){console.error(JSON.stringify({source:`shed`,operation:e,failureKind:t instanceof Error?t.name:`NonErrorThrown`}),Tp(t))}var gD=o((e=>{(function(){var t={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function n(e){return i(o(e),arguments)}function r(e,t){return n.apply(null,[e].concat(t||[]))}function i(e,r){var i=1,a=e.length,o,s=``,c,l,u,d,f,p,m,h;for(c=0;c<a;c++)if(typeof e[c]==`string`)s+=e[c];else if(typeof e[c]==`object`){if(u=e[c],u.keys)for(o=r[i],l=0;l<u.keys.length;l++){if(o==null)throw Error(n(`[sprintf] Cannot access property "%s" of undefined value "%s"`,u.keys[l],u.keys[l-1]));o=o[u.keys[l]]}else o=u.param_no?r[u.param_no]:r[i++];if(t.not_type.test(u.type)&&t.not_primitive.test(u.type)&&o instanceof Function&&(o=o()),t.numeric_arg.test(u.type)&&typeof o!=`number`&&isNaN(o))throw TypeError(n(`[sprintf] expecting number but found %T`,o));switch(t.number.test(u.type)&&(m=o>=0),u.type){case`b`:o=parseInt(o,10).toString(2);break;case`c`:o=String.fromCharCode(parseInt(o,10));break;case`d`:case`i`:o=parseInt(o,10);break;case`j`:o=JSON.stringify(o,null,u.width?parseInt(u.width):0);break;case`e`:o=u.precision?parseFloat(o).toExponential(u.precision):parseFloat(o).toExponential();break;case`f`:o=u.precision?parseFloat(o).toFixed(u.precision):parseFloat(o);break;case`g`:o=u.precision?String(Number(o.toPrecision(u.precision))):parseFloat(o);break;case`o`:o=(parseInt(o,10)>>>0).toString(8);break;case`s`:o=String(o),o=u.precision?o.substring(0,u.precision):o;break;case`t`:o=String(!!o),o=u.precision?o.substring(0,u.precision):o;break;case`T`:o=Object.prototype.toString.call(o).slice(8,-1).toLowerCase(),o=u.precision?o.substring(0,u.precision):o;break;case`u`:o=parseInt(o,10)>>>0;break;case`v`:o=o.valueOf(),o=u.precision?o.substring(0,u.precision):o;break;case`x`:o=(parseInt(o,10)>>>0).toString(16);break;case`X`:o=(parseInt(o,10)>>>0).toString(16).toUpperCase()}t.json.test(u.type)?s+=o:(t.number.test(u.type)&&(!m||u.sign)?(h=m?`+`:`-`,o=o.toString().replace(t.sign,``)):h=``,f=u.pad_char?u.pad_char===`0`?`0`:u.pad_char.charAt(1):` `,p=u.width-(h+o).length,d=u.width&&p>0?f.repeat(p):``,s+=u.align?h+o+d:f===`0`?h+d+o:d+h+o)}return s}var a=Object.create(null);function o(e){if(a[e])return a[e];for(var n=e,r,i=[],o=0;n;){if((r=t.text.exec(n))!==null)i.push(r[0]);else if((r=t.modulo.exec(n))!==null)i.push(`%`);else if((r=t.placeholder.exec(n))!==null){if(r[2]){o|=1;var s=[],c=r[2],l=[];if((l=t.key.exec(c))!==null)for(s.push(l[1]);(c=c.substring(l[0].length))!==``;)if((l=t.key_access.exec(c))!==null)s.push(l[1]);else if((l=t.index_access.exec(c))!==null)s.push(l[1]);else throw SyntaxError(`[sprintf] failed to parse named argument key`);else throw SyntaxError(`[sprintf] failed to parse named argument key`);r[2]=s}else o|=2;if(o===3)throw Error(`[sprintf] mixing positional and named placeholders is not (yet) supported`);i.push({placeholder:r[0],param_no:r[1],keys:r[2],sign:r[3],pad_char:r[4],align:r[5],width:r[6],precision:r[7],type:r[8]})}else throw SyntaxError(`[sprintf] unexpected placeholder`);n=n.substring(r[0].length)}return a[e]=i}e!==void 0&&(e.sprintf=n,e.vsprintf=r),typeof window<`u`&&(window.sprintf=n,window.vsprintf=r,typeof define==`function`&&define.amd&&define(function(){return{sprintf:n,vsprintf:r}}))})()}))(),_D=(e,t,n)=>{let r=e instanceof RegExp?vD(e,n):e,i=t instanceof RegExp?vD(t,n):t,a=r!==null&&i!=null&&yD(r,i,n);return a&&{start:a[0],end:a[1],pre:n.slice(0,a[0]),body:n.slice(a[0]+r.length,a[1]),post:n.slice(a[1]+i.length)}},vD=(e,t)=>{let n=t.match(e);return n?n[0]:null},yD=(e,t,n)=>{let r,i,a,o,s,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){if(e===t)return[c,l];for(r=[],a=n.length;u>=0&&!s;){if(u===c)r.push(u),c=n.indexOf(e,u+1);else if(r.length===1){let e=r.pop();e!==void 0&&(s=[e,l])}else i=r.pop(),i!==void 0&&i<a&&(a=i,o=l),l=n.indexOf(t,u+1);u=c<l&&c>=0?c:l}r.length&&o!==void 0&&(s=[a,o])}return s},bD=`\0SLASH`+Math.random()+`\0`,xD=`\0OPEN`+Math.random()+`\0`,SD=`\0CLOSE`+Math.random()+`\0`,CD=`\0COMMA`+Math.random()+`\0`,wD=`\0PERIOD`+Math.random()+`\0`,upe=new RegExp(bD,`g`),dpe=new RegExp(xD,`g`),fpe=new RegExp(SD,`g`),ppe=new RegExp(CD,`g`),mpe=new RegExp(wD,`g`),hpe=/\\\\/g,gpe=/\\{/g,_pe=/\\}/g,vpe=/\\,/g,ype=/\\\./g,bpe=1e5,xpe=4e6;function TD(e){return isNaN(e)?e.charCodeAt(0):parseInt(e,10)}function Spe(e){return e.replace(hpe,bD).replace(gpe,xD).replace(_pe,SD).replace(vpe,CD).replace(ype,wD)}function Cpe(e){return e.replace(upe,`\\`).replace(dpe,`{`).replace(fpe,`}`).replace(ppe,`,`).replace(mpe,`.`)}function ED(e){if(!e)return[``];let t=[],n=_D(`{`,`}`,e);if(!n)return e.split(`,`);let{pre:r,body:i,post:a}=n,o=r.split(`,`);o[o.length-1]+=`{`+i+`}`;let s=ED(a);return a.length&&(o[o.length-1]+=s.shift(),o.push.apply(o,s)),t.push.apply(t,o),t}function wpe(e,t={}){if(!e)return[];let{max:n=bpe,maxLength:r=xpe}=t;return e.slice(0,2)===`{}`&&(e=`\\{\\}`+e.slice(2)),OD(Spe(e),n,r,!0).map(Cpe)}function Tpe(e){return`{`+e+`}`}function Epe(e){return/^-?0\d/.test(e)}function Dpe(e,t){return e<=t}function Ope(e,t){return e>=t}function DD(e,t,n,r,i,a){let o=[],s=0;for(let c=0;c<e.length;c++)for(let l=0;l<n.length;l++){if(o.length>=r)return o;let u=e[c]+t+n[l];if(!(a&&!u)){if(s+u.length>i)return o;o.push(u),s+=u.length}}return o}function kpe(e,t,n,r){let i=e.split(/\.\./),a=[];if(i[0]===void 0||i[1]===void 0)return a;let o=TD(i[0]),s=TD(i[1]),c=Math.max(i[0].length,i[1].length),l=i.length===3&&i[2]!==void 0?Math.max(Math.abs(TD(i[2])),1):1,u=Dpe;s<o&&(l*=-1,u=Ope);let d=i.some(Epe),f=0;for(let e=o;u(e,s)&&a.length<n;e+=l){let n;if(t)n=String.fromCharCode(e),n===`\\`&&(n=``);else if(n=String(e),d){let t=c-n.length;if(t>0){let r=Array(t+1).join(`0`);n=e<0?`-`+r+n.slice(1):r+n}}if(f+n.length>r)break;a.push(n),f+=n.length}return a}function OD(e,t,n,r){let i=[``],a=!1,o=!0;for(;;){let s=_D(`{`,`}`,e);if(!s)return DD(i,e,[``],t,n,a);let c=s.pre;if(/\$$/.test(c)){if(i=DD(i,c+`{`+s.body+`}`,[``],t,n,a&&!s.post.length),o=!1,!s.post.length)break;e=s.post;continue}let l=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),d=l||u,f=s.body.indexOf(`,`)>=0;if(!d&&!f){if(s.post.match(/,(?!,).*\}/)){e=s.pre+`{`+s.body+SD+s.post,r=!0;continue}return DD(i,c+`{`+s.body+`}`+s.post,[``],t,n,a)}o&&=(a=r&&!d,!1);let p;if(d)p=kpe(s.body,u,t,n);else{let r=ED(s.body);if(r.length===1&&r[0]!==void 0&&(r=OD(r[0],t,n,!1).map(Tpe),r.length===1)){if(i=DD(i,c+r[0],[``],t,n,a&&!s.post.length),!s.post.length)break;e=s.post;continue}let o=a&&!s.post.length&&!c;for(let e=0;o&&e<i.length;e++)i[e]&&(o=!1);p=[];let l=0;outer:for(let e=0;e<r.length;e++){let i=OD(r[e],t,n,!1);for(let e=0;e<i.length;e++){let r=i[e];if(!(o&&!r)){if(p.length>=t||l+r.length>n)break outer;p.push(r),l+=r.length}}}}if(i=DD(i,c,p,t,n,a&&!s.post.length),!s.post.length)break;e=s.post}return i}var Ape=65536,kD=e=>{if(typeof e!=`string`)throw TypeError(`invalid pattern`);if(e.length>Ape)throw TypeError(`pattern is too long`)},jpe={"[:alnum:]":[`\\p{L}\\p{Nl}\\p{Nd}`,!0],"[:alpha:]":[`\\p{L}\\p{Nl}`,!0],"[:ascii:]":[`\\x00-\\x7f`,!1],"[:blank:]":[`\\p{Zs}\\t`,!0],"[:cntrl:]":[`\\p{Cc}`,!0],"[:digit:]":[`\\p{Nd}`,!0],"[:graph:]":[`\\p{Z}\\p{C}`,!0,!0],"[:lower:]":[`\\p{Ll}`,!0],"[:print:]":[`\\p{C}`,!0],"[:punct:]":[`\\p{P}`,!0],"[:space:]":[`\\p{Z}\\t\\r\\n\\v\\f`,!0],"[:upper:]":[`\\p{Lu}`,!0],"[:word:]":[`\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}`,!0],"[:xdigit:]":[`A-Fa-f0-9`,!1]},AD=e=>e.replace(/[[\]\\-]/g,`\\$&`),Mpe=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),jD=e=>e.join(``),Npe=(e,t)=>{let n=t;if(e.charAt(n)!==`[`)throw Error(`not in a brace expression`);let r=[],i=[],a=n+1,o=!1,s=!1,c=!1,l=!1,u=n,d=``;WHILE:for(;a<e.length;){let t=e.charAt(a);if((t===`!`||t===`^`)&&a===n+1){l=!0,a++;continue}if(t===`]`&&o&&!c){u=a+1;break}if(o=!0,t===`\\`&&!c){c=!0,a++;continue}if(t===`[`&&!c){for(let[t,[o,c,l]]of Object.entries(jpe))if(e.startsWith(t,a)){if(d)return[`$.`,!1,e.length-n,!0];a+=t.length,l?i.push(o):r.push(o),s||=c;continue WHILE}}if(c=!1,d){t>d?r.push(AD(d)+`-`+AD(t)):t===d&&r.push(AD(t)),d=``,a++;continue}if(e.startsWith(`-]`,a+1)){r.push(AD(t+`-`)),a+=2;continue}if(e.startsWith(`-`,a+1)){d=t,a+=2;continue}r.push(AD(t)),a++}if(u<a)return[``,!1,0,!1];if(!r.length&&!i.length)return[`$.`,!1,e.length-n,!0];if(i.length===0&&r.length===1&&/^\\?.$/.test(r[0])&&!l)return[Mpe(r[0].length===2?r[0].slice(-1):r[0]),!1,u-n,!1];let f=`[`+(l?`^`:``)+jD(r)+`]`,p=`[`+(l?``:`^`)+jD(i)+`]`;return[r.length&&i.length?`(`+f+`|`+p+`)`:r.length?f:p,s,u-n,!0]},MD=(e,{windowsPathsNoEscape:t=!1,magicalBraces:n=!0}={})=>n?t?e.replace(/\[([^/\\])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^/\\])\]/g,`$1$2`).replace(/\\([^/])/g,`$1`):t?e.replace(/\[([^/\\{}])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^/\\{}])\]/g,`$1$2`).replace(/\\([^/{}])/g,`$1`),ND,Ppe=new Set([`!`,`?`,`+`,`*`,`@`]),PD=e=>Ppe.has(e),FD=e=>PD(e.type),Fpe=new Map([[`!`,[`@`]],[`?`,[`?`,`@`]],[`@`,[`@`]],[`*`,[`*`,`+`,`?`,`@`]],[`+`,[`+`,`@`]]]),Ipe=new Map([[`!`,[`?`]],[`@`,[`?`]],[`+`,[`?`,`*`]]]),Lpe=new Map([[`!`,[`?`,`@`]],[`?`,[`?`,`@`]],[`@`,[`?`,`@`]],[`*`,[`*`,`+`,`?`,`@`]],[`+`,[`+`,`@`,`?`,`*`]]]),ID=new Map([[`!`,new Map([[`!`,`@`]])],[`?`,new Map([[`*`,`*`],[`+`,`*`]])],[`@`,new Map([[`!`,`!`],[`?`,`?`],[`@`,`@`],[`*`,`*`],[`+`,`+`]])],[`+`,new Map([[`?`,`*`],[`*`,`*`]])]]),Rpe=`(?!(?:^|/)\\.\\.?(?:$|/))`,LD=`(?!\\.)`,zpe=new Set([`[`,`.`]),Bpe=new Set([`..`,`.`]),Vpe=new Set(`().*{}+?[]^$\\!`),Hpe=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),Upe=`[^/]`,Wpe=`[^/]*?`,RD=`[^/]+?`,Gpe=0,zD=class{type;#e;#t;#n=!1;#r=[];#i;#a;#o;#s=!1;#c;#l;#u=!1;id=++Gpe;get depth(){return(this.#i?.depth??-1)+1}[Symbol.for(`nodejs.util.inspect.custom`)](){return{"@@type":`AST`,id:this.id,type:this.type,root:this.#e.id,parent:this.#i?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,t,n={}){this.type=e,e&&(this.#t=!0),this.#i=t,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#o=this.#e===this?[]:this.#e.#o,e===`!`&&!this.#e.#s&&this.#o.push(this),this.#a=this.#i?this.#i.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!=`string`&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#l===void 0?this.#l=this.type?this.type+`(`+this.#r.map(e=>String(e)).join(`|`)+`)`:this.#r.map(e=>String(e)).join(``):this.#l}#d(){if(this!==this.#e)throw Error(`should only call on root`);if(this.#s)return this;this.toString(),this.#s=!0;let e;for(;e=this.#o.pop();){if(e.type!==`!`)continue;let t=e,n=t.#i;for(;n;){for(let r=t.#a+1;!n.type&&r<n.#r.length;r++)for(let t of e.#r){if(typeof t==`string`)throw Error(`string part in extglob AST??`);t.copyIn(n.#r[r])}t=n,n=t.#i}}return this}push(...e){for(let t of e)if(t!==``){if(typeof t!=`string`&&!(t instanceof ND&&t.#i===this))throw Error(`invalid part: `+t);this.#r.push(t)}}toJSON(){let e=this.type===null?this.#r.slice().map(e=>typeof e==`string`?e:e.toJSON()):[this.type,...this.#r.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#s&&this.#i?.type===`!`)&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#a===0)return!0;let e=this.#i;for(let t=0;t<this.#a;t++){let n=e.#r[t];if(!(n instanceof ND&&n.type===`!`))return!1}return!0}isEnd(){if(this.#e===this||this.#i?.type===`!`)return!0;if(!this.#i?.isEnd())return!1;if(!this.type)return this.#i?.isEnd();let e=this.#i?this.#i.#r.length:0;return this.#a===e-1}copyIn(e){typeof e==`string`?this.push(e):this.push(e.clone(this))}clone(e){let t=new ND(this.type,e);for(let e of this.#r)t.copyIn(e);return t}static#f(e,t,n,r,i){let a=r.maxExtglobRecursion??2,o=!1,s=!1,c=-1,l=!1;if(t.type===null){let u=n,d=``;for(;u<e.length;){let n=e.charAt(u++);if(o||n===`\\`){o=!o,d+=n;continue}if(s){u===c+1?(n===`^`||n===`!`)&&(l=!0):n===`]`&&!(u===c+2&&l)&&(s=!1),d+=n;continue}if(n===`[`){s=!0,c=u,l=!1,d+=n;continue}if(!r.noext&&PD(n)&&e.charAt(u)===`(`&&i<=a){t.push(d),d=``;let a=new ND(n,t);u=ND.#f(e,a,u,r,i+1),t.push(a);continue}d+=n}return t.push(d),u}let u=n+1,d=new ND(null,t),f=[],p=``;for(;u<e.length;){let n=e.charAt(u++);if(o||n===`\\`){o=!o,p+=n;continue}if(s){u===c+1?(n===`^`||n===`!`)&&(l=!0):n===`]`&&!(u===c+2&&l)&&(s=!1),p+=n;continue}if(n===`[`){s=!0,c=u,l=!1,p+=n;continue}if(!r.noext&&PD(n)&&e.charAt(u)===`(`&&(i<=a||t&&t.#h(n))){let a=t&&t.#h(n)?0:1;d.push(p),p=``;let o=new ND(n,d);d.push(o),u=ND.#f(e,o,u,r,i+a);continue}if(n===`|`){d.push(p),p=``,f.push(d),d=new ND(null,t);continue}if(n===`)`)return p===``&&t.#r.length===0&&(t.#u=!0),d.push(p),p=``,t.push(...f,d),u;p+=n}return t.type=null,t.#t=void 0,t.#r=[e.substring(n-1)],u}#p(e){return this.#m(e,Ipe)}#m(e,t=Fpe){if(!e||typeof e!=`object`||e.type!==null||e.#r.length!==1||this.type===null)return!1;let n=e.#r[0];return!n||typeof n!=`object`||n.type===null?!1:this.#h(n.type,t)}#h(e,t=Lpe){return!!t.get(this.type)?.includes(e)}#g(e,t){let n=e.#r[0],r=new ND(null,n,this.options);r.#r.push(``),n.push(r),this.#_(e,t)}#_(e,t){let n=e.#r[0];this.#r.splice(t,1,...n.#r);for(let e of n.#r)typeof e==`object`&&(e.#i=this);this.#l=void 0}#v(e){return!!ID.get(this.type)?.has(e)}#y(e){if(!e||typeof e!=`object`||e.type!==null||e.#r.length!==1||this.type===null||this.#r.length!==1)return!1;let t=e.#r[0];return!t||typeof t!=`object`||t.type===null?!1:this.#v(t.type)}#b(e){let t=ID.get(this.type),n=e.#r[0],r=t?.get(n.type);if(!r)return!1;this.#r=n.#r;for(let e of this.#r)typeof e==`object`&&(e.#i=this);this.type=r,this.#l=void 0,this.#u=!1}static fromGlob(e,t={}){let n=new ND(null,void 0,t);return ND.#f(e,n,0,t,0),n}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[t,n,r,i]=this.toRegExpSource();if(!(r||this.#t||this.#c.nocase&&!this.#c.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;let a=(this.#c.nocase?`i`:``)+(i?`u`:``);return Object.assign(RegExp(`^${t}$`,a),{_src:t,_glob:e})}get options(){return this.#c}toRegExpSource(e){let t=e??!!this.#c.dot;if(this.#e===this&&(this.#x(),this.#d()),!FD(this)){let n=this.isStart()&&this.isEnd()&&!this.#r.some(e=>typeof e!=`string`),r=this.#r.map(t=>{let[r,i,a,o]=typeof t==`string`?ND.#C(t,this.#t,n):t.toRegExpSource(e);return this.#t=this.#t||a,this.#n=this.#n||o,r}).join(``),i=``;if(this.isStart()&&typeof this.#r[0]==`string`&&!(this.#r.length===1&&Bpe.has(this.#r[0]))){let n=zpe,a=t&&n.has(r.charAt(0))||r.startsWith(`\\.`)&&n.has(r.charAt(2))||r.startsWith(`\\.\\.`)&&n.has(r.charAt(4)),o=!t&&!e&&n.has(r.charAt(0));i=a?Rpe:o?LD:``}let a=``;return this.isEnd()&&this.#e.#s&&this.#i?.type===`!`&&(a=`(?:$|\\/)`),[i+r+a,MD(r),this.#t=!!this.#t,this.#n]}let n=this.type===`*`||this.type===`+`,r=this.type===`!`?`(?:(?!(?:`:`(?:`,i=this.#S(t);if(this.isStart()&&this.isEnd()&&!i&&this.type!==`!`){let e=this.toString(),t=this;return t.#r=[e],t.type=null,t.#t=void 0,[e,MD(this.toString()),!1,!1]}let a=!n||e||t?``:this.#S(!0);a===i&&(a=``),a&&(i=`(?:${i})(?:${a})*?`);let o=``;if(this.type===`!`&&this.#u)o=(this.isStart()&&!t?LD:``)+RD;else{let n=this.type===`!`?`))`+(this.isStart()&&!t&&!e?LD:``)+`[^/]*?)`:this.type===`@`?`)`:this.type===`?`?`)?`:this.type===`+`&&a?`)`:this.type===`*`&&a?`)?`:`)${this.type}`;o=r+i+n}return[o,MD(i),this.#t=!!this.#t,this.#n]}#x(){if(FD(this)){let e=0,t=!1;do{t=!0;for(let e=0;e<this.#r.length;e++){let n=this.#r[e];typeof n==`object`&&(n.#x(),this.#m(n)?(t=!1,this.#_(n,e)):this.#p(n)?(t=!1,this.#g(n,e)):this.#y(n)&&(t=!1,this.#b(n)))}}while(!t&&++e<10)}else for(let e of this.#r)typeof e==`object`&&e.#x();this.#l=void 0}#S(e){return this.#r.map(t=>{if(typeof t==`string`)throw Error(`string type in extglob ast??`);let[n,r,i,a]=t.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join(`|`)}static#C(e,t,n=!1){let r=!1,i=``,a=!1,o=!1;for(let s=0;s<e.length;s++){let c=e.charAt(s);if(r){r=!1,i+=(Vpe.has(c)?`\\`:``)+c;continue}if(c===`*`){if(o)continue;o=!0,i+=n&&/^[*]+$/.test(e)?RD:Wpe,t=!0;continue}if(o=!1,c===`\\`){s===e.length-1?i+=`\\\\`:r=!0;continue}if(c===`[`){let[n,r,o,c]=Npe(e,s);if(o){i+=n,a||=r,s+=o-1,t||=c;continue}}if(c===`?`){i+=Upe,t=!0;continue}i+=Hpe(c)}return[i,MD(e),!!t,a]}};ND=zD;var Kpe=(e,{windowsPathsNoEscape:t=!1,magicalBraces:n=!1}={})=>n?t?e.replace(/[?*()[\]{}]/g,`[$&]`):e.replace(/[?*()[\]\\{}]/g,`\\$&`):t?e.replace(/[?*()[\]]/g,`[$&]`):e.replace(/[?*()[\]\\]/g,`\\$&`),BD=(e,t,n={})=>(kD(t),!n.nocomment&&t.charAt(0)===`#`?!1:new YD(t,n).match(e)),qpe=/^\*+([^+@!?*[(]*)$/,Jpe=e=>t=>!t.startsWith(`.`)&&t.endsWith(e),Ype=e=>t=>t.endsWith(e),Xpe=e=>(e=e.toLowerCase(),t=>!t.startsWith(`.`)&&t.toLowerCase().endsWith(e)),Zpe=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),Qpe=/^\*+\.\*+$/,$pe=e=>!e.startsWith(`.`)&&e.includes(`.`),eme=e=>e!==`.`&&e!==`..`&&e.includes(`.`),tme=/^\.\*+$/,nme=e=>e!==`.`&&e!==`..`&&e.startsWith(`.`),rme=/^\*+$/,ime=e=>e.length!==0&&!e.startsWith(`.`),ame=e=>e.length!==0&&e!==`.`&&e!==`..`,ome=/^\?+([^+@!?*[(]*)?$/,sme=([e,t=``])=>{let n=VD([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},cme=([e,t=``])=>{let n=HD([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},lme=([e,t=``])=>{let n=HD([e]);return t?e=>n(e)&&e.endsWith(t):n},ume=([e,t=``])=>{let n=VD([e]);return t?e=>n(e)&&e.endsWith(t):n},VD=([e])=>{let t=e.length;return e=>e.length===t&&!e.startsWith(`.`)},HD=([e])=>{let t=e.length;return e=>e.length===t&&e!==`.`&&e!==`..`},UD=typeof process==`object`&&process?{}.__MINIMATCH_TESTING_PLATFORM__||process.platform:`posix`,WD={win32:{sep:`\\`},posix:{sep:`/`}};BD.sep=UD===`win32`?WD.win32.sep:WD.posix.sep;var GD=Symbol(`globstar **`);BD.GLOBSTAR=GD;var dme=`[^/]*?`,fme=`(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?`,pme=`(?:(?!(?:\\/|^)\\.).)*?`;BD.filter=(e,t={})=>n=>BD(n,e,t);var KD=(e,t={})=>Object.assign({},e,t);BD.defaults=e=>{if(!e||typeof e!=`object`||!Object.keys(e).length)return BD;let t=BD;return Object.assign((n,r,i={})=>t(n,r,KD(e,i)),{Minimatch:class extends t.Minimatch{constructor(t,n={}){super(t,KD(e,n))}static defaults(n){return t.defaults(KD(e,n)).Minimatch}},AST:class extends t.AST{constructor(t,n,r={}){super(t,n,KD(e,r))}static fromGlob(n,r={}){return t.AST.fromGlob(n,KD(e,r))}},unescape:(n,r={})=>t.unescape(n,KD(e,r)),escape:(n,r={})=>t.escape(n,KD(e,r)),filter:(n,r={})=>t.filter(n,KD(e,r)),defaults:n=>t.defaults(KD(e,n)),makeRe:(n,r={})=>t.makeRe(n,KD(e,r)),braceExpand:(n,r={})=>t.braceExpand(n,KD(e,r)),match:(n,r,i={})=>t.match(n,r,KD(e,i)),sep:t.sep,GLOBSTAR:GD})};var qD=(e,t={})=>(kD(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:wpe(e,{max:t.braceExpandMax}));BD.braceExpand=qD,BD.makeRe=(e,t={})=>new YD(e,t).makeRe(),BD.match=(e,t,n={})=>{let r=new YD(t,n);return e=e.filter(e=>r.match(e)),r.options.nonull&&!e.length&&e.push(t),e};var JD=/[?*]|[+@!]\(.*?\)|\[|\]/,mme=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),YD=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,t={}){kD(e),t||={},this.options=t,this.maxGlobstarRecursion=t.maxGlobstarRecursion??200,this.pattern=e,this.platform=t.platform||UD,this.isWindows=this.platform===`win32`,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,`/`)),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot===void 0?!!(this.isWindows&&this.nocase):t.windowsNoMagicRoot,this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!=`string`)return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)===`#`){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...e)=>console.error(...e)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let r=this.globParts.map((e,t,n)=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=e[0]===``&&e[1]===``&&(e[2]===`?`||!JD.test(e[2]))&&!JD.test(e[3]),n=/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(n)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>e.indexOf(!1)===-1),this.isWindows)for(let e=0;e<this.set.length;e++){let t=this.set[e];t[0]===``&&t[1]===``&&this.globParts[e][2]===`?`&&typeof t[3]==`string`&&/^[a-z]:$/i.test(t[3])&&(t[2]=`?`)}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let t of e)for(let e=0;e<t.length;e++)t[e]===`**`&&(t[e]=`*`);let{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=t>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(e=>{let t=-1;for(;(t=e.indexOf(`**`,t+1))!==-1;){let n=t;for(;e[n+1]===`**`;)n++;n!==t&&e.splice(t,n-t)}return e})}levelOneOptimize(e){return e.map(e=>(e=e.reduce((e,t)=>{let n=e[e.length-1];return t===`**`&&n===`**`?e:t===`..`&&n&&n!==`..`&&n!==`.`&&n!==`**`?(e.pop(),e):(e.push(t),e)},[]),e.length===0?[``]:e))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let n=1;n<e.length-1;n++){let r=e[n];(n!==1||r!==``||e[0]!==``)&&(r===`.`||r===``)&&(t=!0,e.splice(n,1),n--)}e[0]===`.`&&e.length===2&&(e[1]===`.`||e[1]===``)&&(t=!0,e.pop())}let n=0;for(;(n=e.indexOf(`..`,n+1))!==-1;){let r=e[n-1];r&&r!==`.`&&r!==`..`&&r!==`**`&&!(this.isWindows&&/^[a-z]:$/i.test(r))&&(t=!0,e.splice(n-1,2),n-=2)}}while(t);return e.length===0?[``]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let n of e){let r=-1;for(;(r=n.indexOf(`**`,r+1))!==-1;){let i=r;for(;n[i+1]===`**`;)i++;i>r&&n.splice(r+1,i-r);let a=n[r+1],o=n[r+2],s=n[r+3];if(a!==`..`||!o||o===`.`||o===`..`||!s||s===`.`||s===`..`)continue;t=!0,n.splice(r,1);let c=n.slice(0);c[r]=`**`,e.push(c),r--}if(!this.preserveMultipleSlashes){for(let e=1;e<n.length-1;e++){let r=n[e];(e!==1||r!==``||n[0]!==``)&&(r===`.`||r===``)&&(t=!0,n.splice(e,1),e--)}n[0]===`.`&&n.length===2&&(n[1]===`.`||n[1]===``)&&(t=!0,n.pop())}let i=0;for(;(i=n.indexOf(`..`,i+1))!==-1;){let e=n[i-1];if(e&&e!==`.`&&e!==`..`&&e!==`**`){t=!0;let e=i===1&&n[i+1]===`**`?[`.`]:[];n.splice(i-1,2,...e),n.length===0&&n.push(``),i-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let n=t+1;n<e.length;n++){let r=this.partsMatch(e[t],e[n],!this.preserveMultipleSlashes);if(r){e[t]=[],e[n]=r;break}}return e.filter(e=>e.length)}partsMatch(e,t,n=!1){let r=0,i=0,a=[],o=``;for(;r<e.length&&i<t.length;)if(e[r]===t[i])a.push(o===`b`?t[i]:e[r]),r++,i++;else if(n&&e[r]===`**`&&t[i]===e[r+1])a.push(e[r]),r++;else if(n&&t[i]===`**`&&e[r]===t[i+1])a.push(t[i]),i++;else if(e[r]===`*`&&t[i]&&(this.options.dot||!t[i].startsWith(`.`))&&t[i]!==`**`){if(o===`b`)return!1;o=`a`,a.push(e[r]),r++,i++}else if(t[i]===`*`&&e[r]&&(this.options.dot||!e[r].startsWith(`.`))&&e[r]!==`**`){if(o===`a`)return!1;o=`b`,a.push(t[i]),r++,i++}else return!1;return e.length===t.length&&a}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,n=0;for(let r=0;r<e.length&&e.charAt(r)===`!`;r++)t=!t,n++;n&&(this.pattern=e.slice(n)),this.negate=t}matchOne(e,t,n=!1){let r=0,i=0;if(this.isWindows){let n=typeof e[0]==`string`&&/^[a-z]:$/i.test(e[0]),a=!n&&e[0]===``&&e[1]===``&&e[2]===`?`&&/^[a-z]:$/i.test(e[3]),o=typeof t[0]==`string`&&/^[a-z]:$/i.test(t[0]),s=!o&&t[0]===``&&t[1]===``&&t[2]===`?`&&typeof t[3]==`string`&&/^[a-z]:$/i.test(t[3]),c=a?3:n?0:void 0,l=s?3:o?0:void 0;if(typeof c==`number`&&typeof l==`number`){let[n,a]=[e[c],t[l]];n.toLowerCase()===a.toLowerCase()&&(t[l]=n,i=l,r=c)}}let{optimizationLevel:a=1}=this.options;return a>=2&&(e=this.levelTwoFileOptimize(e)),t.includes(GD)?this.#e(e,t,n,r,i):this.#n(e,t,n,r,i)}#e(e,t,n,r,i){let a=t.indexOf(GD,i),o=t.lastIndexOf(GD),[s,c,l]=n?[t.slice(i,a),t.slice(a+1),[]]:[t.slice(i,a),t.slice(a+1,o),t.slice(o+1)];if(s.length){let t=e.slice(r,r+s.length);if(!this.#n(t,s,n,0,0))return!1;r+=s.length,i+=s.length}let u=0;if(l.length){if(l.length+r>e.length)return!1;let t=e.length-l.length;if(this.#n(e,l,n,t,0))u=l.length;else{if(e[e.length-1]!==``||r+l.length===e.length||(t--,!this.#n(e,l,n,t,0)))return!1;u=l.length+1}}if(!c.length){let t=!!u;for(let n=r;n<e.length-u;n++){let r=String(e[n]);if(t=!0,r===`.`||r===`..`||!this.options.dot&&r.startsWith(`.`))return!1}return n||t}let d=[[[],0]],f=d[0],p=0,m=[0];for(let e of c)e===GD?(m.push(p),f=[[],0],d.push(f)):(f[0].push(e),p++);let h=d.length-1,g=e.length-u;for(let e of d)e[1]=g-(m[h--]+e[0].length);return!!this.#t(e,d,r,0,n,0,!!u)}#t(e,t,n,r,i,a,o){let s=t[r];if(!s){for(let t=n;t<e.length;t++){o=!0;let n=e[t];if(n===`.`||n===`..`||!this.options.dot&&n.startsWith(`.`))return!1}return o}let[c,l]=s;for(;n<=l;){if(this.#n(e.slice(0,n+c.length),c,i,n,0)&&a<this.maxGlobstarRecursion){let s=this.#t(e,t,n+c.length,r+1,i,a+1,o);if(s!==!1)return s}let s=e[n];if(s===`.`||s===`..`||!this.options.dot&&s.startsWith(`.`))return!1;n++}return i||null}#n(e,t,n,r,i){let a,o,s,c;for(a=r,o=i,c=e.length,s=t.length;a<c&&o<s;a++,o++){this.debug(`matchOne loop`);let n=t[o],r=e[a];if(this.debug(t,n,r),n===!1||n===GD)return!1;let i;if(typeof n==`string`?(i=r===n,this.debug(`string match`,n,r,i)):(i=n.test(r),this.debug(`pattern match`,n,r,i)),!i)return!1}if(a===c&&o===s)return!0;if(a===c)return n;if(o===s)return a===c-1&&e[a]===``;throw Error(`wtf?`)}braceExpand(){return qD(this.pattern,this.options)}parse(e){kD(e);let t=this.options;if(e===`**`)return GD;if(e===``)return``;let n,r=null;(n=e.match(rme))?r=t.dot?ame:ime:(n=e.match(qpe))?r=(t.nocase?t.dot?Zpe:Xpe:t.dot?Ype:Jpe)(n[1]):(n=e.match(ome))?r=(t.nocase?t.dot?cme:sme:t.dot?lme:ume)(n):(n=e.match(Qpe))?r=t.dot?eme:$pe:(n=e.match(tme))&&(r=nme);let i=zD.fromGlob(e,this.options).toMMPattern();return r&&typeof i==`object`&&Reflect.defineProperty(i,"test",{value:r}),i}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,n=t.noglobstar?dme:t.dot?fme:pme,r=new Set(t.nocase?[`i`]:[]),i=e.map(e=>{let t=e.map(e=>{if(e instanceof RegExp)for(let t of e.flags.split(``))r.add(t);return typeof e==`string`?mme(e):e===GD?GD:e._src});t.forEach((e,r)=>{let i=t[r+1],a=t[r-1];e===GD&&a!==GD&&(a===void 0?i!==void 0&&i!==GD?t[r+1]=`(?:\\/|`+n+`\\/)?`+i:t[r]=n:i===void 0?t[r-1]=a+`(?:\\/|\\/`+n+`)?`:i!==GD&&(t[r-1]=a+`(?:\\/|\\/`+n+`\\/)`+i,t[r+1]=GD))});let i=t.filter(e=>e!==GD);if(this.partial&&i.length>=1){let e=[];for(let t=1;t<=i.length;t++)e.push(i.slice(0,t).join(`/`));return`(?:`+e.join(`|`)+`)`}return i.join(`/`)}).join(`|`),[a,o]=e.length>1?[`(?:`,`)`]:[``,``];i=`^`+a+i+o+`$`,this.partial&&(i=`^(?:\\/|`+a+i.slice(1,-1)+o+`)$`),this.negate&&(i=`^(?!`+i+`).+$`);try{this.regexp=new RegExp(i,[...r].join(``))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split(`/`):this.isWindows&&/^\/\/[^/]+/.test(e)?[``,...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug(`match`,e,this.pattern),this.comment)return!1;if(this.empty)return e===``;if(e===`/`&&t)return!0;let n=this.options;this.isWindows&&(e=e.split(`\\`).join(`/`));let r=this.slashSplit(e);this.debug(this.pattern,`split`,r);let i=this.set;this.debug(this.pattern,`set`,i);let a=r[r.length-1];if(!a)for(let e=r.length-2;!a&&e>=0;e--)a=r[e];for(let e of i){let i=r;if(n.matchBase&&e.length===1&&(i=[a]),this.matchOne(i,e,t))return n.flipNegate?!0:!this.negate}return!n.flipNegate&&this.negate}static defaults(e){return BD.defaults(e).Minimatch}};BD.AST=zD,BD.Minimatch=YD,BD.escape=Kpe,BD.unescape=MD;var XD=4,ZD=0,QD=1,hme=2;function $D(e){let t=e.length;for(;--t>=0;)e[t]=0}var eO=29,tO=256,nO=286,rO=30,iO=19,aO=573,oO=15,sO=16,gme=7,cO=256,_me=16,vme=17,yme=18,lO=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),uO=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),bme=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),dO=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xme=512,fO=Array(576);$D(fO);var pO=Array(rO*2);$D(pO);var mO=Array(xme);$D(mO);var hO=Array(256);$D(hO);var gO=Array(eO);$D(gO);var _O=Array(rO);$D(_O);var vO=class{constructor(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}},yO,bO,xO,SO=class{constructor(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}},CO=e=>e<256?mO[e]:mO[256+(e>>>7)],wO=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},TO=(e,t,n)=>{e.bi_valid>sO-n?(e.bi_buf|=t<<e.bi_valid&65535,wO(e,e.bi_buf),e.bi_buf=t>>sO-e.bi_valid,e.bi_valid+=n-sO):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},EO=(e,t,n)=>{TO(e,n[t*2],n[t*2+1])},DO=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},Sme=e=>{e.bi_valid===16?(wO(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},Cme=(e,t)=>{let n=t.dyn_tree,r=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length,l,u,d,f,p,m,h=0;for(f=0;f<=oO;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;l<aO;l++)u=e.heap[l],f=n[n[u*2+1]*2+1]+1,f>c&&(f=c,h++),n[u*2+1]=f,!(u>r)&&(e.bl_count[f]++,p=0,u>=s&&(p=o[u-s]),m=n[u*2],e.opt_len+=m*(f+p),a&&(e.static_len+=m*(i[u*2+1]+p)));if(h!==0){do{for(f=c-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[c]--,h-=2}while(h>0);for(f=c;f!==0;f--)for(u=e.bl_count[f];u!==0;)d=e.heap[--l],!(d>r)&&(n[d*2+1]!==f&&(e.opt_len+=(f-n[d*2+1])*n[d*2],n[d*2+1]=f),u--)}},OO=(e,t,n)=>{let r=Array(16),i=0,a,o;for(a=1;a<=oO;a++)i=i+n[a-1]<<1,r[a]=i;for(o=0;o<=t;o++){let t=e[o*2+1];t!==0&&(e[o*2]=DO(r[t]++,t))}},wme=()=>{let e,t,n,r,i,a=Array(16);for(n=0,r=0;r<eO-1;r++)for(gO[r]=n,e=0;e<1<<lO[r];e++)hO[n++]=r;for(hO[n-1]=r,i=0,r=0;r<16;r++)for(_O[r]=i,e=0;e<1<<uO[r];e++)mO[i++]=r;for(i>>=7;r<rO;r++)for(_O[r]=i<<7,e=0;e<1<<uO[r]-7;e++)mO[256+i++]=r;for(t=0;t<=oO;t++)a[t]=0;for(e=0;e<=143;)fO[e*2+1]=8,e++,a[8]++;for(;e<=255;)fO[e*2+1]=9,e++,a[9]++;for(;e<=279;)fO[e*2+1]=7,e++,a[7]++;for(;e<=287;)fO[e*2+1]=8,e++,a[8]++;for(OO(fO,287,a),e=0;e<rO;e++)pO[e*2+1]=5,pO[e*2]=DO(e,5);yO=new vO(fO,lO,257,nO,oO),bO=new vO(pO,uO,0,rO,oO),xO=new vO([],bme,0,iO,gme)},kO=e=>{let t;for(t=0;t<nO;t++)e.dyn_ltree[t*2]=0;for(t=0;t<rO;t++)e.dyn_dtree[t*2]=0;for(t=0;t<iO;t++)e.bl_tree[t*2]=0;e.dyn_ltree[cO*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},AO=e=>{e.bi_valid>8?wO(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},jO=(e,t,n,r)=>{let i=t*2,a=n*2;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]},MO=(e,t,n)=>{let r=e.heap[n],i=n<<1;for(;i<=e.heap_len&&(i<e.heap_len&&jO(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!jO(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},NO=(e,t,n)=>{let r,i,a=0,o,s;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+a++]&255,r+=(e.pending_buf[e.sym_buf+a++]&255)<<8,i=e.pending_buf[e.sym_buf+a++],r===0?EO(e,i,t):(o=hO[i],EO(e,o+tO+1,t),s=lO[o],s!==0&&(i-=gO[o],TO(e,i,s)),r--,o=CO(r),EO(e,o,n),s=uO[o],s!==0&&(r-=_O[o],TO(e,r,s)));while(a<e.sym_next);EO(e,cO,t)},PO=(e,t)=>{let n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,o,s,c=-1,l;for(e.heap_len=0,e.heap_max=aO,o=0;o<a;o++)n[o*2]===0?n[o*2+1]=0:(e.heap[++e.heap_len]=c=o,e.depth[o]=0);for(;e.heap_len<2;)l=e.heap[++e.heap_len]=c<2?++c:0,n[l*2]=1,e.depth[l]=0,e.opt_len--,i&&(e.static_len-=r[l*2+1]);for(t.max_code=c,o=e.heap_len>>1;o>=1;o--)MO(e,n,o);l=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],MO(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,n[l*2]=n[o*2]+n[s*2],e.depth[l]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,n[o*2+1]=n[s*2+1]=l,e.heap[1]=l++,MO(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Cme(e,t),OO(n,c,e.bl_count)},FO=(e,t,n)=>{let r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)&&(s<l?e.bl_tree[a*2]+=s:a===0?s<=10?e.bl_tree[34]++:e.bl_tree[36]++:(a!==i&&e.bl_tree[a*2]++,e.bl_tree[32]++),s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4))},IO=(e,t,n)=>{let r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),r=0;r<=n;r++)if(a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)){if(s<l)do EO(e,a,e.bl_tree);while(--s!==0);else a===0?s<=10?(EO(e,vme,e.bl_tree),TO(e,s-3,3)):(EO(e,yme,e.bl_tree),TO(e,s-11,7)):(a!==i&&(EO(e,a,e.bl_tree),s--),EO(e,_me,e.bl_tree),TO(e,s-3,2));s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4)}},Tme=e=>{let t;for(FO(e,e.dyn_ltree,e.l_desc.max_code),FO(e,e.dyn_dtree,e.d_desc.max_code),PO(e,e.bl_desc),t=18;t>=3&&e.bl_tree[dO[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},Eme=(e,t,n,r)=>{let i;for(TO(e,t-257,5),TO(e,n-1,5),TO(e,r-4,4),i=0;i<r;i++)TO(e,e.bl_tree[dO[i]*2+1],3);IO(e,e.dyn_ltree,t-1),IO(e,e.dyn_dtree,n-1)},Dme=e=>{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return ZD;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return QD;for(n=32;n<tO;n++)if(e.dyn_ltree[n*2]!==0)return QD;return ZD},Ome=!1,kme=e=>{Ome||=(wme(),!0),e.l_desc=new SO(e.dyn_ltree,yO),e.d_desc=new SO(e.dyn_dtree,bO),e.bl_desc=new SO(e.bl_tree,xO),e.bi_buf=0,e.bi_valid=0,kO(e)},LO=(e,t,n,r)=>{TO(e,0+ +!!r,3),AO(e),wO(e,n),wO(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},Ame=e=>{TO(e,2,3),EO(e,cO,fO),Sme(e)},jme=(e,t,n,r)=>{let i,a,o=0;e.level>0?(e.strm.data_type===hme&&(e.strm.data_type=Dme(e)),PO(e,e.l_desc),PO(e,e.d_desc),o=Tme(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,(a<=i||e.strategy===XD)&&(i=a)):i=a=n+5,n+4<=i&&t!==-1?LO(e,t,n,r):e.strategy===XD||a===i?(TO(e,2+ +!!r,3),NO(e,fO,pO)):(TO(e,4+ +!!r,3),Eme(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),NO(e,e.dyn_ltree,e.dyn_dtree)),kO(e),r&&AO(e)},RO=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(hO[n]+tO+1)*2]++,e.dyn_dtree[CO(t)*2]++),e.sym_next===e.sym_end),zO=(e,t,n,r)=>{let i=e&65535|0,a=e>>>16&65535|0,o=0;for(;n!==0;){o=n>2e3?2e3:n,n-=o;do i=i+t[r++]|0,a=a+i|0;while(--o);i%=65521,a%=65521}return i|a<<16|0},Mme=(()=>{let e=new Uint32Array(2048),t;for(let n=0;n<256;n++){t=n;for(let e=0;e<8;e++)t=t&1?3988292384^t>>>1:t>>>1;e[n]=t}for(let n=0;n<256;n++){t=e[n];for(let r=256;r<2048;r+=256)t=e[t&255]^t>>>8,e[r+n]=t}return e})(),BO=(e,t,n,r)=>{let i=Mme,a=r+n,o=r;e^=-1;for(let n=a-7;o<n;o+=8)e^=t[o]|t[o+1]<<8|t[o+2]<<16|t[o+3]<<24,e=i[1792+(e&255)]^i[1536+(e>>>8&255)]^i[1280+(e>>>16&255)]^i[1024+(e>>>24)]^i[768+t[o+4]]^i[512+t[o+5]]^i[256+t[o+6]]^i[t[o+7]];for(;o<a;o++)e=e>>>8^i[(e^t[o])&255];return e^-1},VO={2:`need dictionary`,1:`stream end`,0:``,"-1":`file error`,"-2":`stream error`,"-3":`data error`,"-4":`insufficient memory`,"-5":`buffer error`,"-6":`incompatible version`},Nme=9,Pme=573,HO=3,UO=258,WO=262,Fme=32,GO=42,KO=57,qO=69,JO=73,YO=91,XO=103,ZO=113,QO=666,$O=1,ek=2,tk=3,nk=4,Ime=3,rk=(e,t)=>(e.msg=VO[t],t),ik=e=>e*2-(e>4?9:0),ak=e=>{let t=e.length;for(;--t>=0;)e[t]=0},Lme=e=>{let t,n,r,i=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=i?n-i:0;while(--t);t=i,r=t;do n=e.prev[--r],e.prev[r]=n>=i?n-i:0;while(--t)},ok=(e,t,n)=>(t<<e.hash_shift^n)&e.hash_mask,sk=(e,t)=>{let n;if(e.legacy_hash)n=e.ins_h=ok(e,e.ins_h,e.window[t+HO-1]);else{let r=e.window,i=r[t]|r[t+1]<<8|r[t+2]<<16|r[t+3]<<24;n=e.ins_h=Math.imul(i,66521)+66521>>>16&e.hash_mask}let r=e.prev[t&e.w_mask]=e.head[n];return e.head[n]=t,r},ck=e=>{let t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},lk=(e,t)=>{jme(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ck(e.strm)},uk=(e,t)=>{e.pending_buf[e.pending++]=t},dk=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},fk=(e,t,n,r)=>{let i=e.avail_in;return i>r&&(i=r),i===0?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),e.state.wrap===1?e.adler=zO(e.adler,t,i,n):e.state.wrap===2&&(e.adler=BO(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},pk=(e,t)=>{let n=e.max_chain_length,r=e.strstart,i,a,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-WO?e.strstart-(e.w_size-WO):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+UO,p=l[r+o-1],m=l[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(i=t,l[i+o]===m&&l[i+o-1]===p&&l[i]===l[r]&&l[++i]===l[r+1]){r+=2,i++;do;while(l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&r<f);if(a=UO-(f-r),r=f-UO,a>o){if(e.match_start=t,o=a,a>=s)break;p=l[r+o-1],m=l[r+o]}}while((t=d[t&u])>c&&--n!==0);return o<=e.lookahead?o:e.lookahead},mk=e=>{let t=e.w_size,n,r,i;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-WO)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),Lme(e),r+=t),e.strm.avail_in===0)break;if(n=fk(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,!e.legacy_hash){if(e.lookahead+e.insert>HO)for(i=e.strstart-e.insert;e.insert&&(sk(e,i),i++,e.insert--,!(e.lookahead+e.insert<=HO)););}else if(e.lookahead+e.insert>=HO)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=ok(e,e.ins_h,e.window[i+1]);e.insert&&(sk(e,i),i++,e.insert--,!(e.lookahead+e.insert<HO)););}while(e.lookahead<WO&&e.strm.avail_in!==0)},hk=(e,t)=>{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,i,a,o=0,s=e.strm.avail_in;do{if(r=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,i=e.strstart-e.block_start,r>i+e.strm.avail_in&&(r=i+e.strm.avail_in),r>a&&(r=a),r<n&&(r===0&&t!==4||t===0||r!==i+e.strm.avail_in)))break;o=+(t===4&&r===i+e.strm.avail_in),LO(e,0,0,o),e.pending_buf[e.pending-4]=r,e.pending_buf[e.pending-3]=r>>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,ck(e.strm),i&&(i>r&&(i=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,r-=i),r&&(fk(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(o===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),o?nk:t!==0&&t!==4&&e.strm.avail_in===0&&e.strstart===e.block_start?ek:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(fk(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,n=a>e.w_size?e.w_size:a,i=e.strstart-e.block_start,(i>=n||(i||t===4)&&t!==0&&e.strm.avail_in===0&&i<=a)&&(r=i>a?a:i,o=+(t===4&&e.strm.avail_in===0&&r===i),LO(e,e.block_start,r,o),e.block_start+=r,ck(e.strm)),o?tk:$O)},gk=(e,t)=>{let n,r;for(;;){if(e.lookahead<WO){if(mk(e),e.lookahead<WO&&t===0)return $O;if(e.lookahead===0)break}if(n=0,e.lookahead>=HO&&(n=sk(e,e.strstart)),n!==0&&e.strstart-n<=e.w_size-WO&&(e.match_length=pk(e,n)),e.match_length>=HO){if(r=RO(e,e.strstart-e.match_start,e.match_length-HO),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=HO){e.match_length--;do e.strstart++,n=sk(e,e.strstart);while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.legacy_hash&&(e.ins_h=e.window[e.strstart],e.ins_h=ok(e,e.ins_h,e.window[e.strstart+1]))}else r=RO(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(lk(e,!1),e.strm.avail_out===0))return $O}return e.insert=e.strstart<HO-1?e.strstart:HO-1,t===4?(lk(e,!0),e.strm.avail_out===0?tk:nk):e.sym_next&&(lk(e,!1),e.strm.avail_out===0)?$O:ek},_k=(e,t)=>{let n,r,i;for(;;){if(e.lookahead<WO){if(mk(e),e.lookahead<WO&&t===0)return $O;if(e.lookahead===0)break}if(n=0,e.lookahead>=HO&&(n=sk(e,e.strstart)),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=HO-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-WO&&(e.match_length=pk(e,n),e.match_length<=5&&(e.strategy===1||e.match_length===HO&&e.strstart-e.match_start>4096)&&(e.match_length=HO-1)),e.prev_length>=HO&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-HO,r=RO(e,e.strstart-1-e.prev_match,e.prev_length-HO),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(n=sk(e,e.strstart));while(--e.prev_length!==0);if(e.match_available=0,e.match_length=HO-1,e.strstart++,r&&(lk(e,!1),e.strm.avail_out===0))return $O}else if(e.match_available){if(r=RO(e,0,e.window[e.strstart-1]),r&&lk(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return $O}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&=(r=RO(e,0,e.window[e.strstart-1]),0),e.insert=e.strstart<HO-1?e.strstart:HO-1,t===4?(lk(e,!0),e.strm.avail_out===0?tk:nk):e.sym_next&&(lk(e,!1),e.strm.avail_out===0)?$O:ek},Rme=(e,t)=>{let n,r,i,a,o=e.window;for(;;){if(e.lookahead<=UO){if(mk(e),e.lookahead<=UO&&t===0)return $O;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=HO&&e.strstart>0&&(i=e.strstart-1,r=o[i],r===o[++i]&&r===o[++i]&&r===o[++i])){a=e.strstart+UO;do;while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&i<a);e.match_length=UO-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=HO?(n=RO(e,1,e.match_length-HO),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=RO(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(lk(e,!1),e.strm.avail_out===0))return $O}return e.insert=0,t===4?(lk(e,!0),e.strm.avail_out===0?tk:nk):e.sym_next&&(lk(e,!1),e.strm.avail_out===0)?$O:ek},zme=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(mk(e),e.lookahead===0)){if(t===0)return $O;break}if(e.match_length=0,n=RO(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(lk(e,!1),e.strm.avail_out===0))return $O}return e.insert=0,t===4?(lk(e,!0),e.strm.avail_out===0?tk:nk):e.sym_next&&(lk(e,!1),e.strm.avail_out===0)?$O:ek},vk=class{constructor(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}},yk=[new vk(0,0,0,0,hk),new vk(4,4,8,4,gk),new vk(4,5,16,8,gk),new vk(4,6,32,32,gk),new vk(4,4,16,16,_k),new vk(8,16,32,32,_k),new vk(8,16,128,128,_k),new vk(8,32,128,256,_k),new vk(32,128,258,1024,_k),new vk(32,258,258,4096,_k)],Bme=e=>{e.window_size=2*e.w_size,ak(e.head),e.max_lazy_match=yk[e.level].max_lazy,e.good_match=yk[e.level].good_length,e.nice_match=yk[e.level].nice_length,e.max_chain_length=yk[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=HO-1,e.match_available=0,e.ins_h=0},Vme=class{constructor(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.legacy_hash=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Pme*2),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),ak(this.dyn_ltree),ak(this.dyn_dtree),ak(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),ak(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),ak(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}},bk=e=>{if(!e)return 1;let t=e.state;return+(!t||t.strm!==e||t.status!==GO&&t.status!==KO&&t.status!==qO&&t.status!==JO&&t.status!==YO&&t.status!==XO&&t.status!==ZO&&t.status!==QO)},Hme=e=>{if(bk(e))return rk(e,-2);e.total_in=e.total_out=0,e.data_type=2;let t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?KO:t.wrap?GO:ZO,e.adler=t.wrap===2?0:1,t.last_flush=-2,kme(t),0},Ume=e=>{let t=Hme(e);return t===0&&Bme(e.state),t},Wme=(e,t,n,r,i,a,o)=>{if(!e)return-2;let s=1;if(t===-1&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),i<1||i>Nme||n!==8||r<8||r>15||t<0||t>9||a<0||a>4||r===8&&s!==1)return rk(e,-2);r===8&&(r=9);let c=new Vme;return e.state=c,c.strm=e,c.status=GO,c.wrap=s,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.legacy_hash=+!!o,c.hash_bits=i+7,!c.legacy_hash&&c.hash_bits<15&&(c.hash_bits=15),c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+HO-1)/HO),c.window=new Uint8Array(c.w_size*2),c.head=new Uint16Array(c.hash_size),c.prev=new Uint16Array(c.w_size),c.lit_bufsize=1<<i+6,c.pending_buf_size=c.lit_bufsize*4,c.pending_buf=new Uint8Array(c.pending_buf_size),c.sym_buf=c.lit_bufsize,c.sym_end=(c.lit_bufsize-1)*3,c.level=t,c.strategy=a,c.method=n,Ume(e)},Gme=(e,t)=>{if(bk(e)||t>5||t<0)return e?rk(e,-2):-2;let n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===QO&&t!==4)return rk(e,e.avail_out===0?-5:-2);let r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(ck(e),e.avail_out===0)return n.last_flush=-1,0}else if(e.avail_in===0&&ik(t)<=ik(r)&&t!==4)return rk(e,-5);if(n.status===QO&&e.avail_in!==0)return rk(e,-5);if(n.status===GO&&n.wrap===0&&(n.status=ZO),n.status===GO){let t=8+(n.w_bits-8<<4)<<8,r=-1;if(r=n.strategy>=2||n.level<2?0:n.level<6?1:n.level===6?2:3,t|=r<<6,n.strstart!==0&&(t|=Fme),t+=31-t%31,dk(n,t),n.strstart!==0&&(dk(n,e.adler>>>16),dk(n,e.adler&65535)),e.adler=1,n.status=ZO,ck(e),n.pending!==0)return n.last_flush=-1,0}if(n.status===KO){if(e.adler=0,uk(n,31),uk(n,139),uk(n,8),n.gzhead)uk(n,+!!n.gzhead.text+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),uk(n,n.gzhead.time&255),uk(n,n.gzhead.time>>8&255),uk(n,n.gzhead.time>>16&255),uk(n,n.gzhead.time>>24&255),uk(n,n.level===9?2:n.strategy>=2||n.level<2?4:0),uk(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(uk(n,n.gzhead.extra.length&255),uk(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=BO(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=qO;else if(uk(n,0),uk(n,0),uk(n,0),uk(n,0),uk(n,0),uk(n,n.level===9?2:n.strategy>=2||n.level<2?4:0),uk(n,Ime),n.status=ZO,ck(e),n.pending!==0)return n.last_flush=-1,0}if(n.status===qO){if(n.gzhead.extra){let t=n.pending,r=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+r>n.pending_buf_size;){let i=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex+=i,ck(e),n.pending!==0)return n.last_flush=-1,0;t=0,r-=i}let i=new Uint8Array(n.gzhead.extra);n.pending_buf.set(i.subarray(n.gzindex,n.gzindex+r),n.pending),n.pending+=r,n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=JO}if(n.status===JO){if(n.gzhead.name){let t=n.pending,r;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),ck(e),n.pending!==0)return n.last_flush=-1,0;t=0}r=n.gzindex<n.gzhead.name.length?n.gzhead.name.charCodeAt(n.gzindex++)&255:0,uk(n,r)}while(r!==0);n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=YO}if(n.status===YO){if(n.gzhead.comment){let t=n.pending,r;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t)),ck(e),n.pending!==0)return n.last_flush=-1,0;t=0}r=n.gzindex<n.gzhead.comment.length?n.gzhead.comment.charCodeAt(n.gzindex++)&255:0,uk(n,r)}while(r!==0);n.gzhead.hcrc&&n.pending>t&&(e.adler=BO(e.adler,n.pending_buf,n.pending-t,t))}n.status=XO}if(n.status===XO){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(ck(e),n.pending!==0))return n.last_flush=-1,0;uk(n,e.adler&255),uk(n,e.adler>>8&255),e.adler=0}if(n.status=ZO,ck(e),n.pending!==0)return n.last_flush=-1,0}if(e.avail_in!==0||n.lookahead!==0||t!==0&&n.status!==QO){let r=n.level===0?hk(n,t):n.strategy===2?zme(n,t):n.strategy===3?Rme(n,t):yk[n.level].func(n,t);if((r===tk||r===nk)&&(n.status=QO),r===$O||r===tk)return e.avail_out===0&&(n.last_flush=-1),0;if(r===ek&&(t===1?Ame(n):t!==5&&(LO(n,0,0,!1),t===3&&(ak(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),ck(e),e.avail_out===0))return n.last_flush=-1,0}return t===4?n.wrap<=0?1:(n.wrap===2?(uk(n,e.adler&255),uk(n,e.adler>>8&255),uk(n,e.adler>>16&255),uk(n,e.adler>>24&255),uk(n,e.total_in&255),uk(n,e.total_in>>8&255),uk(n,e.total_in>>16&255),uk(n,e.total_in>>24&255)):(dk(n,e.adler>>>16),dk(n,e.adler&65535)),ck(e),n.wrap>0&&(n.wrap=-n.wrap),+(n.pending===0)):0},Kme=e=>{if(bk(e))return-2;let t=e.state.status;return e.state=null,t===ZO?rk(e,-3):0},qme=(e,t)=>{let n=t.length;if(bk(e))return-2;let r=e.state,i=r.wrap;if(i===2||i===1&&r.status!==GO||r.lookahead)return-2;if(i===1&&(e.adler=zO(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){i===0&&(ak(r.head),r.strstart=0,r.block_start=0,r.insert=0);let e=new Uint8Array(r.w_size);e.set(t.subarray(n-r.w_size,n),0),t=e,n=r.w_size}let a=e.avail_in,o=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,mk(r);r.lookahead>=HO;){let e=r.strstart,t=r.lookahead-(HO-1);do sk(r,e),e++;while(--t);r.strstart=e,r.lookahead=HO-1,mk(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=HO-1,r.match_available=0,e.next_in=o,e.input=s,e.avail_in=a,r.wrap=i,0},xk=16209,Jme=16191;function Yme(e,t){let n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E=e.state;n=e.next_in,w=e.input,r=n+(e.avail_in-5),i=e.next_out,T=e.output,a=i-(t-e.avail_out),o=i+(e.avail_out-257),s=E.dmax,c=E.wsize,l=E.whave,u=E.wnext,d=E.window,f=E.hold,p=E.bits,m=E.lencode,h=E.distcode,g=(1<<E.lenbits)-1,_=(1<<E.distbits)-1;top:do{p<15&&(f+=w[n++]<<p,p+=8,f+=w[n++]<<p,p+=8),v=m[f&g];dolen:for(;;){if(y=v>>>24,f>>>=y,p-=y,y=v>>>16&255,y===0)T[i++]=v&65535;else if(y&16){b=v&65535,y&=15,y&&(p<y&&(f+=w[n++]<<p,p+=8),b+=f&(1<<y)-1,f>>>=y,p-=y),p<15&&(f+=w[n++]<<p,p+=8,f+=w[n++]<<p,p+=8),v=h[f&_];dodist:for(;;){if(y=v>>>24,f>>>=y,p-=y,y=v>>>16&255,y&16){if(x=v&65535,y&=15,p<y&&(f+=w[n++]<<p,p+=8,p<y&&(f+=w[n++]<<p,p+=8)),x+=f&(1<<y)-1,x>s){e.msg=`invalid distance too far back`,E.mode=xk;break top}if(f>>>=y,p-=y,y=i-a,x>y){if(y=x-y,y>l&&E.sane){e.msg=`invalid distance too far back`,E.mode=xk;break top}if(S=0,C=d,u===0){if(S+=c-y,y<b){b-=y;do T[i++]=d[S++];while(--y);S=i-x,C=T}}else if(u<y){if(S+=c+u-y,y-=u,y<b){b-=y;do T[i++]=d[S++];while(--y);if(S=0,u<b){y=u,b-=y;do T[i++]=d[S++];while(--y);S=i-x,C=T}}}else if(S+=u-y,y<b){b-=y;do T[i++]=d[S++];while(--y);S=i-x,C=T}for(;b>2;)T[i++]=C[S++],T[i++]=C[S++],T[i++]=C[S++],b-=3;b&&(T[i++]=C[S++],b>1&&(T[i++]=C[S++]))}else{S=i-x;do T[i++]=T[S++],T[i++]=T[S++],T[i++]=T[S++],b-=3;while(b>2);b&&(T[i++]=T[S++],b>1&&(T[i++]=T[S++]))}}else if(y&64){e.msg=`invalid distance code`,E.mode=xk;break top}else{v=h[(v&65535)+(f&(1<<y)-1)];continue dodist}break}}else if(!(y&64)){v=m[(v&65535)+(f&(1<<y)-1)];continue dolen}else if(y&32){E.mode=Jme;break top}else{e.msg=`invalid literal/length code`,E.mode=xk;break top}break}}while(n<r&&i<o);b=p>>3,n-=b,p-=b<<3,f&=(1<<p)-1,e.next_in=n,e.next_out=i,e.avail_in=n<r?5+(r-n):5-(n-r),e.avail_out=i<o?257+(o-i):257-(i-o),E.hold=f,E.bits=p}var Sk=15,Ck=852,wk=592,Tk=0,Ek=1,Dk=2,Xme=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Zme=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,199,75]),Qme=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),$me=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Ok=(e,t,n,r,i,a,o,s)=>{let c=s.bits,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y,b,x,S,C,w=null,T,E=new Uint16Array(16),D=new Uint16Array(16),O=null,k,A,j;for(l=0;l<=Sk;l++)E[l]=0;for(u=0;u<r;u++)E[t[n+u]]++;for(p=c,f=Sk;f>=1&&E[f]===0;f--);if(p>f&&(p=f),f===0)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(d=1;d<f&&E[d]===0;d++);for(p<d&&(p=d),g=1,l=1;l<=Sk;l++)if(g<<=1,g-=E[l],g<0)return-1;if(g>0&&(e===Tk||f!==1))return-1;for(D[1]=0,l=1;l<Sk;l++)D[l+1]=D[l]+E[l];for(u=0;u<r;u++)t[n+u]!==0&&(o[D[t[n+u]]++]=u);if(e===Tk?(w=O=o,T=20):e===Ek?(w=Xme,O=Zme,T=257):(w=Qme,O=$me,T=0),v=0,u=0,l=d,C=a,m=p,h=0,x=-1,_=1<<p,S=_-1,e===Ek&&_>Ck||e===Dk&&_>wk)return 1;for(;;){k=l-h,o[u]+1<T?(A=0,j=o[u]):o[u]>=T?(A=O[o[u]-T],j=w[o[u]-T]):(A=96,j=0),y=1<<l-h,b=1<<m,d=b;do b-=y,i[C+(v>>h)+b]=k<<24|A<<16|j|0;while(b!==0);for(y=1<<l-1;v&y;)y>>=1;if(y===0?v=0:(v&=y-1,v+=y),u++,--E[l]===0){if(l===f)break;l=t[n+o[u]]}if(l>p&&(v&S)!==x){for(h===0&&(h=p),C+=d,m=l-h,g=1<<m;m+h<f&&(g-=E[m+h],!(g<=0));)m++,g<<=1;if(_+=1<<m,e===Ek&&_>Ck||e===Dk&&_>wk)return 1;x=v&S,i[x]=p<<24|m<<16|C-a|0}}return v!==0&&(i[C+v]=l-h<<24|4194304),s.bits=p,0},ehe=0,kk=1,Ak=2,jk=16180,Mk=16181,Nk=16182,Pk=16183,Fk=16184,Ik=16185,Lk=16186,Rk=16187,zk=16188,Bk=16189,Vk=16190,Hk=16191,Uk=16192,Wk=16193,Gk=16194,Kk=16195,qk=16196,Jk=16197,Yk=16198,Xk=16199,Zk=16200,Qk=16201,$k=16202,eA=16203,tA=16204,nA=16205,rA=16206,iA=16207,aA=16208,oA=16209,sA=16210,cA=16211,the=852,nhe=592,lA=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24),rhe=class{constructor(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}},uA=e=>{if(!e)return 1;let t=e.state;return+(!t||t.strm!==e||t.mode<jk||t.mode>cA)},ihe=e=>{if(uA(e))return-2;let t=e.state;return e.total_in=e.total_out=t.total=0,e.msg=``,t.wrap&&(e.adler=t.wrap&1),t.mode=jk,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(the),t.distcode=t.distdyn=new Int32Array(nhe),t.sane=1,t.back=-1,0},dA=e=>{if(uA(e))return-2;let t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,ihe(e)},ahe=(e,t)=>{let n;if(uA(e))return-2;let r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?-2:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,dA(e))},ohe=(e,t)=>{if(!e)return-2;let n=new rhe;e.state=n,n.strm=e,n.window=null,n.mode=jk;let r=ahe(e,t);return r!==0&&(e.state=null),r},fA=!0,pA,mA,she=e=>{if(fA){pA=new Int32Array(512),mA=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ok(kk,e.lens,0,288,pA,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ok(Ak,e.lens,0,32,mA,0,e.work,{bits:5}),fA=!1}e.lencode=pA,e.lenbits=9,e.distcode=mA,e.distbits=5},hA=(e,t,n,r)=>{let i,a=e.state;return a.window===null&&(a.window=new Uint8Array(1<<a.wbits)),a.wsize===0&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0),r>=a.wsize?(a.window.set(t.subarray(n-a.wsize,n),0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>r&&(i=r),a.window.set(t.subarray(n-r,n-r+i),a.wnext),r-=i,r?(a.window.set(t.subarray(n-r,n),0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0},gA=(e,t)=>{let n,r,i,a,o,s,c,l,u,d,f,p,m,h,g=0,_,v,y,b,x,S,C,w,T=new Uint8Array(4),E,D,O=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(uA(e)||!e.output||!e.input&&e.avail_in!==0)return-2;n=e.state,n.mode===Hk&&(n.mode=Uk),o=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,d=s,f=c,w=0;inf_leave:for(;;)switch(n.mode){case jk:if(n.wrap===0){n.mode=Uk;break}for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.wrap&2&&l===35615){n.wbits===0&&(n.wbits=15),n.check=0,T[0]=l&255,T[1]=l>>>8&255,n.check=BO(n.check,T,2,0),l=0,u=0,n.mode=Mk;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg=`incorrect header check`,n.mode=oA;break}if((l&15)!=8){e.msg=`unknown compression method`,n.mode=oA;break}if(l>>>=4,u-=4,C=(l&15)+8,n.wbits===0&&(n.wbits=C),C>15||C>n.wbits){e.msg=`invalid window size`,n.mode=oA;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=l&512?Bk:Hk,l=0,u=0;break;case Mk:for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.flags=l,(n.flags&255)!=8){e.msg=`unknown compression method`,n.mode=oA;break}if(n.flags&57344){e.msg=`unknown header flags set`,n.mode=oA;break}n.head&&(n.head.text=l>>8&1),n.flags&512&&n.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,n.check=BO(n.check,T,2,0)),l=0,u=0,n.mode=Nk;case Nk:for(;u<32;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.head&&(n.head.time=l>>>0),n.flags&512&&n.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,T[2]=l>>>16&255,T[3]=l>>>24&255,n.check=BO(n.check,T,4,0)),l=0,u=0,n.mode=Pk;case Pk:for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.head&&(n.head.xflags=l&255,n.head.os=l>>8),n.flags&512&&n.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,n.check=BO(n.check,T,2,0)),l=0,u=0,n.mode=Fk;case Fk:if(n.flags&1024){for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.length=l,n.head&&(n.head.extra_len=l),n.flags&512&&n.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,n.check=BO(n.check,T,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=Ik;case Ik:if(n.flags&1024&&(p=n.length,p>s&&(p=s),p&&(n.head&&(C=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(a,a+p),C)),n.flags&512&&n.wrap&4&&(n.check=BO(n.check,r,p,a)),s-=p,a+=p,n.length-=p),n.length))break inf_leave;n.length=0,n.mode=Lk;case Lk:if(n.flags&2048){if(s===0)break inf_leave;p=0;do C=r[a+p++],n.head&&C&&n.length<65536&&(n.head.name+=String.fromCharCode(C),n.length++);while(C&&p<s);if(n.flags&512&&n.wrap&4&&(n.check=BO(n.check,r,p,a)),s-=p,a+=p,C)break inf_leave}else n.head&&(n.head.name=null);n.length=0,n.mode=Rk;case Rk:if(n.flags&4096){if(s===0)break inf_leave;p=0;do C=r[a+p++],n.head&&C&&n.length<65536&&(n.head.comment+=String.fromCharCode(C),n.length++);while(C&&p<s);if(n.flags&512&&n.wrap&4&&(n.check=BO(n.check,r,p,a)),s-=p,a+=p,C)break inf_leave}else n.head&&(n.head.comment=null);n.mode=zk;case zk:if(n.flags&512){for(;u<16;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.wrap&4&&l!==(n.check&65535)){e.msg=`header crc mismatch`,n.mode=oA;break}l=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Hk;break;case Bk:for(;u<32;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}e.adler=n.check=lA(l),l=0,u=0,n.mode=Vk;case Vk:if(n.havedict===0)return e.next_out=o,e.avail_out=c,e.next_in=a,e.avail_in=s,n.hold=l,n.bits=u,2;e.adler=n.check=1,n.mode=Hk;case Hk:if(t===5||t===6)break inf_leave;case Uk:if(n.last){l>>>=u&7,u-=u&7,n.mode=rA;break}for(;u<3;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}switch(n.last=l&1,l>>>=1,--u,l&3){case 0:n.mode=Wk;break;case 1:if(she(n),n.mode=Xk,t===6){l>>>=2,u-=2;break inf_leave}break;case 2:n.mode=qk;break;case 3:e.msg=`invalid block type`,n.mode=oA}l>>>=2,u-=2;break;case Wk:for(l>>>=u&7,u-=u&7;u<32;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if((l&65535)!=(l>>>16^65535)){e.msg=`invalid stored block lengths`,n.mode=oA;break}if(n.length=l&65535,l=0,u=0,n.mode=Gk,t===6)break inf_leave;case Gk:n.mode=Kk;case Kk:if(p=n.length,p){if(p>s&&(p=s),p>c&&(p=c),p===0)break inf_leave;i.set(r.subarray(a,a+p),o),s-=p,a+=p,c-=p,o+=p,n.length-=p;break}n.mode=Hk;break;case qk:for(;u<14;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.nlen=(l&31)+257,l>>>=5,u-=5,n.ndist=(l&31)+1,l>>>=5,u-=5,n.ncode=(l&15)+4,l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg=`too many length or distance symbols`,n.mode=oA;break}n.have=0,n.mode=Jk;case Jk:for(;n.have<n.ncode;){for(;u<3;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.lens[O[n.have++]]=l&7,l>>>=3,u-=3}for(;n.have<19;)n.lens[O[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,E={bits:n.lenbits},w=Ok(ehe,n.lens,0,19,n.lencode,0,n.work,E),n.lenbits=E.bits,w){e.msg=`invalid code lengths set`,n.mode=oA;break}n.have=0,n.mode=Yk;case Yk:for(;n.have<n.nlen+n.ndist;){for(;g=n.lencode[l&(1<<n.lenbits)-1],_=g>>>24,v=g>>>16&255,y=g&65535,!(_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(y<16)l>>>=_,u-=_,n.lens[n.have++]=y;else{if(y===16){for(D=_+2;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(l>>>=_,u-=_,n.have===0){e.msg=`invalid bit length repeat`,n.mode=oA;break}C=n.lens[n.have-1],p=3+(l&3),l>>>=2,u-=2}else if(y===17){for(D=_+3;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}l>>>=_,u-=_,C=0,p=3+(l&7),l>>>=3,u-=3}else{for(D=_+7;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}l>>>=_,u-=_,C=0,p=11+(l&127),l>>>=7,u-=7}if(n.have+p>n.nlen+n.ndist){e.msg=`invalid bit length repeat`,n.mode=oA;break}for(;p--;)n.lens[n.have++]=C}}if(n.mode===oA)break;if(n.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,n.mode=oA;break}if(n.lenbits=9,E={bits:n.lenbits},w=Ok(kk,n.lens,0,n.nlen,n.lencode,0,n.work,E),n.lenbits=E.bits,w){e.msg=`invalid literal/lengths set`,n.mode=oA;break}if(n.distbits=6,n.distcode=n.distdyn,E={bits:n.distbits},w=Ok(Ak,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,E),n.distbits=E.bits,w){e.msg=`invalid distances set`,n.mode=oA;break}if(n.mode=Xk,t===6)break inf_leave;case Xk:n.mode=Zk;case Zk:if(s>=6&&c>=258){e.next_out=o,e.avail_out=c,e.next_in=a,e.avail_in=s,n.hold=l,n.bits=u,Yme(e,f),o=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,n.mode===Hk&&(n.back=-1);break}for(n.back=0;g=n.lencode[l&(1<<n.lenbits)-1],_=g>>>24,v=g>>>16&255,y=g&65535,!(_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(v&&!(v&240)){for(b=_,x=v,S=y;g=n.lencode[S+((l&(1<<b+x)-1)>>b)],_=g>>>24,v=g>>>16&255,y=g&65535,!(b+_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}l>>>=b,u-=b,n.back+=b}if(l>>>=_,u-=_,n.back+=_,n.length=y,v===0){n.mode=nA;break}if(v&32){n.back=-1,n.mode=Hk;break}if(v&64){e.msg=`invalid literal/length code`,n.mode=oA;break}n.extra=v&15,n.mode=Qk;case Qk:if(n.extra){for(D=n.extra;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=$k;case $k:for(;g=n.distcode[l&(1<<n.distbits)-1],_=g>>>24,v=g>>>16&255,y=g&65535,!(_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(!(v&240)){for(b=_,x=v,S=y;g=n.distcode[S+((l&(1<<b+x)-1)>>b)],_=g>>>24,v=g>>>16&255,y=g&65535,!(b+_<=u);){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}l>>>=b,u-=b,n.back+=b}if(l>>>=_,u-=_,n.back+=_,v&64){e.msg=`invalid distance code`,n.mode=oA;break}n.offset=y,n.extra=v&15,n.mode=eA;case eA:if(n.extra){for(D=n.extra;u<D;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=`invalid distance too far back`,n.mode=oA;break}n.mode=tA;case tA:if(c===0)break inf_leave;if(p=f-c,n.offset>p){if(p=n.offset-p,p>n.whave&&n.sane){e.msg=`invalid distance too far back`,n.mode=oA;break}p>n.wnext?(p-=n.wnext,m=n.wsize-p):m=n.wnext-p,p>n.length&&(p=n.length),h=n.window}else h=i,m=o-n.offset,p=n.length;p>c&&(p=c),c-=p,n.length-=p;do i[o++]=h[m++];while(--p);n.length===0&&(n.mode=Zk);break;case nA:if(c===0)break inf_leave;i[o++]=n.length,c--,n.mode=Zk;break;case rA:if(n.wrap){for(;u<32;){if(s===0)break inf_leave;s--,l|=r[a++]<<u,u+=8}if(f-=c,e.total_out+=f,n.total+=f,n.wrap&4&&f&&(e.adler=n.check=n.flags?BO(n.check,i,f,o-f):zO(n.check,i,f,o-f)),f=c,n.wrap&4&&(n.flags?l:lA(l))!==n.check){e.msg=`incorrect data check`,n.mode=oA;break}l=0,u=0}n.mode=iA;case iA:if(n.wrap&&n.flags){for(;u<32;){if(s===0)break inf_leave;s--,l+=r[a++]<<u,u+=8}if(n.wrap&4&&l!==(n.total&4294967295)){e.msg=`incorrect length check`,n.mode=oA;break}l=0,u=0}n.mode=aA;case aA:w=1;break inf_leave;case oA:w=-3;break inf_leave;case sA:return-4;case cA:default:return-2}return e.next_out=o,e.avail_out=c,e.next_in=a,e.avail_in=s,n.hold=l,n.bits=u,(n.wsize||f!==e.avail_out&&n.mode<oA&&(n.mode<rA||t!==4))&&hA(e,e.output,e.next_out,f-e.avail_out)?(n.mode=sA,-4):(d-=e.avail_in,f-=e.avail_out,e.total_in+=d,e.total_out+=f,n.total+=f,n.wrap&4&&f&&(e.adler=n.check=n.flags?BO(n.check,i,f,e.next_out-f):zO(n.check,i,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Hk?128:0)+(n.mode===Xk||n.mode===Gk?256:0),(d===0&&f===0||t===4)&&w===0&&(w=-5),w)},_A=e=>{if(uA(e))return-2;let t=e.state;return t.window&&=null,e.state=null,0},vA=(e,t)=>{let n=t.length,r,i,a;return uA(e)||(r=e.state,r.wrap!==0&&r.mode!==Vk)?-2:r.mode===Vk&&(i=1,i=zO(i,t,n,0),i!==r.check)?-3:(a=hA(e,t,n,n),a?(r.mode=sA,-4):(r.havedict=1,0))},yA=class{constructor(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=``,this.state=null,this.data_type=2,this.adler=0}},bA=e=>{let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t},xA=Object.prototype.toString,che={level:-1,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,raw:!1,gzip:!1,legacyHash:!1,dictionary:new Uint8Array},lhe=class{options;err;msg;ended;started;chunks;strm;result;constructor(e={}){this.options=Object.assign({},che,e);let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg=``,this.ended=!1,this.started=!1,this.chunks=[],this.result=new Uint8Array,this.strm=new yA,this.strm.avail_out=0;let n=Wme(this.strm,t.level,8,t.windowBits,t.memLevel,t.strategy,t.legacyHash);if(n!==0)throw Error(VO[n]);xA.call(t.dictionary)===`[object ArrayBuffer]`&&(t.dictionary=new Uint8Array(t.dictionary));let r=t.dictionary;if(r.length){if(t.gzip)throw Error(`dictionary is not supported with gzip`);if(n=qme(this.strm,r),n!==0)throw Error(VO[n])}}push(e,t=!1){let n=this.strm,r=this.options.chunkSize,i,a;if(this.ended)return!1;for(a=typeof t==`number`?t:t===!0?4:0,n.input=typeof e==`string`?new TextEncoder().encode(e):xA.call(e)===`[object ArrayBuffer]`?new Uint8Array(e):e,n.next_in=0,n.avail_in=n.input.length,this.started||(this.started=!0,this.onStart(n));;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(a===2||a===3)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(i=Gme(n,a),i===-2)break;if(i===1){n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),i=Kme(this.strm);break}if(n.avail_out===0){this.onData(n.output);continue}if(a>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)return!0}return this.err=i,this.msg=n.msg||VO[i],this.ended=!0,this.onEnd(i),i===0}onStart(e){}onData(e){this.chunks.push(e)}onEnd(e){e===0&&(this.result=bA(this.chunks)),this.chunks=[]}},SA=Object.prototype.toString,uhe={chunkSize:65536,windowBits:15,raw:!1,dictionary:new Uint8Array},dhe=class{options;err;msg;ended;started;chunks;strm;result;constructor(e={}){this.options=Object.assign({},uhe,e);let t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!e.windowBits&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg=``,this.ended=!1,this.started=!1,this.chunks=[],this.result=new Uint8Array,this.strm=new yA,this.strm.avail_out=0;let n=ohe(this.strm,t.windowBits);if(n!==0)throw Error(VO[n]);SA.call(t.dictionary)===`[object ArrayBuffer]`&&(t.dictionary=new Uint8Array(t.dictionary));let r=t.dictionary;if(t.raw&&r.length&&(n=vA(this.strm,r),n!==0))throw Error(VO[n])}push(e,t=!1){let n=this.strm,r=this.options.chunkSize,i,a,o;if(this.ended)return this.err===0;for(a=typeof t==`number`?t:t===!0?4:0,n.input=SA.call(e)===`[object ArrayBuffer]`?new Uint8Array(e):e,n.next_in=0,n.avail_in=n.input.length,this.started||(this.started=!0,this.onStart(n));;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),i=gA(n,a),i===2){let e=this.options.dictionary;e.length&&(i=vA(n,e),i===0?i=gA(n,a):i===-3&&(i=2))}for(;n.avail_in>0&&i===1&&n.state.wrap&2&&n.state.flags!==0&&n.input[n.next_in]!==0;)dA(n),i=gA(n,a);if(i===-2||i===-3||i===2||i===-4)break;if(o=n.avail_out,n.next_out&&(n.avail_out===0||i===1||a>0)&&(this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out)),n.avail_out=0,n.next_out=0),i!==0&&i!==-5||o!==0){if(i===1){i=_A(this.strm);break}if(n.avail_in===0){if(a===4){i=_A(this.strm),i===0&&(i=-5);break}return!0}}}return this.err=i,this.msg=n.msg||VO[i],this.ended=!0,this.onEnd(i),i===0}onStart(e){}onData(e){this.chunks.push(e)}onEnd(e){e===0&&(this.result=bA(this.chunks)),this.chunks=[]}};function CA(e,t,n){let r=0,i=e.onData;if(e.onData=function(e){if(e.byteLength>n-r)throw Error(`gzip output exceeds limit (${n} bytes)`);r+=e.byteLength,i.call(this,e)},!e.push(t,!0)||e.err||e.result===void 0)throw Error(e.msg||`Invalid or incomplete gzip stream`);return e.result}function wA(e){if(!Number.isSafeInteger(e)||e<=0)throw Error(`gzip output limit must be a positive safe integer`);return Math.min(e,65536)}function TA(e,t){return CA(new dhe({windowBits:31,chunkSize:wA(t)}),e,t)}function fhe(e,t,n){return CA(new lhe({gzip:!0,level:n,chunkSize:wA(t)}),e,t)}var EA=class{diff(e,t,n={}){let r;typeof n==`function`?(r=n,n={}):`callback`in n&&(r=n.callback);let i=this.castInput(e,n),a=this.castInput(t,n),o=this.removeEmpty(this.tokenize(i,n)),s=this.removeEmpty(this.tokenize(a,n));return this.diffWithOptionsObj(o,s,n,r)}diffWithOptionsObj(e,t,n,r){let i=e=>{if(e=this.postProcess(e,n),r){setTimeout(function(){r(e)},0);return}return e},a=t.length,o=e.length,s=1,c=a+o;n.maxEditLength!=null&&(c=Math.min(c,n.maxEditLength));let l=n.timeout??1/0,u=Date.now()+l,d=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(d[0],t,e,0,n);if(d[0].oldPos+1>=o&&f+1>=a)return i(this.buildValues(d[0].lastComponent,t,e));let p=-1/0,m=1/0,h=()=>{for(let r=Math.max(p,-s);r<=Math.min(m,s);r+=2){let s,c=d[r-1],l=d[r+1];c&&(d[r-1]=void 0);let u=!1;if(l){let e=l.oldPos-r;u=l&&0<=e&&e<a}let h=c&&c.oldPos+1<o;if(!u&&!h){d[r]=void 0;continue}if(s=!h||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),f=this.extractCommon(s,t,e,r,n),s.oldPos+1>=o&&f+1>=a)return i(this.buildValues(s.lastComponent,t,e))||!0;d[r]=s,s.oldPos+1>=o&&(m=Math.min(m,r-1)),f+1>=a&&(p=Math.max(p,r+1))}s++};if(r)(function e(){setTimeout(function(){if(s>c||Date.now()>u)return r(void 0);h()||e()},0)})();else for(;s<=c&&Date.now()<=u;){let e=h();if(e)return e}}addToPath(e,t,n,r,i){let a=e.lastComponent;return a&&!i.oneChangePerToken&&a.added===t&&a.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:a.count+1,added:t,removed:n,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:a}}}extractCommon(e,t,n,r,i){let a=t.length,o=n.length,s=e.oldPos,c=s-r,l=0;for(;c+1<a&&s+1<o&&this.equals(n[s+1],t[c+1],i);)c++,s++,l++,i.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&&!i.oneChangePerToken&&(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=s,c}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){let t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join(``)}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,n){let r=[],i;for(;e;)r.push(e),i=e.previousComponent,delete e.previousComponent,e=i;r.reverse();let a=r.length,o=0,s=0,c=0;for(;o<a;o++){let e=r[o];if(e.removed)e.value=this.join(n.slice(c,c+e.count)),c+=e.count;else{if(!e.added&&this.useLongestToken){let r=t.slice(s,s+e.count);r=r.map(function(e,t){let r=n[c+t];return r.length>e.length?r:e}),e.value=this.join(r)}else e.value=this.join(t.slice(s,s+e.count));s+=e.count,e.added||(c+=e.count)}}return r}};new class extends EA{};function DA(e,t){let n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function OA(e,t){let n;if(!e||!t||e[e.length-1]!=t[t.length-1])return``;for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function kA(e,t,n){if(e.slice(0,t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(t)}; this is a bug`);return n+e.slice(t.length)}function AA(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(t)}; this is a bug`);return e.slice(0,-t.length)+n}function jA(e,t){return kA(e,t,``)}function MA(e,t){return AA(e,t,``)}function NA(e,t){return t.slice(0,phe(e,t))}function phe(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let r=t.length;e.length<t.length&&(r=e.length);let i=Array(r),a=0;i[0]=0;for(let e=1;e<r;e++){for(t[e]==t[a]?i[e]=i[a]:i[e]=a;a>0&&t[e]!=t[a];)a=i[a];t[e]==t[a]&&a++}a=0;for(let r=n;r<e.length;r++){for(;a>0&&e[r]!=t[a];)a=i[a];e[r]==t[a]&&a++}return a}function PA(e,t){let n=[];for(let r of Array.from(t.segment(e))){let e=r.segment;n.length&&/\s/.test(n[n.length-1])&&/\s/.test(e)?n[n.length-1]+=e:n.push(e)}return n}function FA(e,t){if(t)return LA(e,t)[1];let n;for(n=e.length-1;n>=0&&e[n].match(/\s/);n--);return e.substring(n+1)}function IA(e,t){if(t)return LA(e,t)[0];let n=e.match(/^\s*/);return n?n[0]:``}function LA(e,t){if(!t)return[IA(e),FA(e)];if(t.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);let n=PA(e,t),r=n[0],i=n[n.length-1];return[/\s/.test(r)?r:``,/\s/.test(i)?i:``]}var RA=`a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}`,mhe=RegExp(`[${RA}]+|\\s+|[^${RA}]`,`ug`);new class extends EA{equals(e,t,n){return n.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e.trim()===t.trim()}tokenize(e,t={}){let n;if(t.intlSegmenter){let r=t.intlSegmenter;if(r.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);n=PA(e,r)}else n=e.match(mhe)||[];let r=[],i=null;return n.forEach(e=>{/\s/.test(e)?i==null?r.push(e):r.push(r.pop()+e):i!=null&&/\s/.test(i)?r[r.length-1]==i?r.push(r.pop()+e):r.push(i+e):r.push(e),i=e}),r}join(e){return e.map((e,t)=>t==0?e:e.replace(/^\s+/,``)).join(``)}postProcess(e,t){if(!e||t.oneChangePerToken)return e;let n=null,r=null,i=null;return e.forEach(e=>{e.added?r=e:e.removed?i=e:((r||i)&&zA(n,i,r,e,t.intlSegmenter),n=e,r=null,i=null)}),(r||i)&&zA(n,i,r,null,t.intlSegmenter),e}};function zA(e,t,n,r,i){if(t&&n){let[a,o]=LA(t.value,i),[s,c]=LA(n.value,i);if(e){let r=DA(a,s);e.value=AA(e.value,s,r),t.value=jA(t.value,r),n.value=jA(n.value,r)}if(r){let e=OA(o,c);r.value=kA(r.value,c,e),t.value=MA(t.value,e),n.value=MA(n.value,e)}}else if(n){if(e){let e=IA(n.value,i);n.value=n.value.substring(e.length)}if(r){let e=IA(r.value,i);r.value=r.value.substring(e.length)}}else if(e&&r){let n=IA(r.value,i),[a,o]=LA(t.value,i),s=DA(n,a);t.value=jA(t.value,s);let c=OA(jA(n,s),o);t.value=MA(t.value,c),r.value=kA(r.value,n,c),e.value=AA(e.value,n,n.slice(0,n.length-c.length))}else if(r){let e=IA(r.value,i),n=NA(FA(t.value,i),e);t.value=MA(t.value,n)}else if(e){let n=NA(FA(e.value,i),IA(t.value,i));t.value=jA(t.value,n)}}new class extends EA{tokenize(e){let t=RegExp(`(\\r?\\n)|[${RA}]+|[^\\S\\n\\r]+|[^${RA}]`,`ug`);return e.match(t)||[]}};var hhe=new class extends EA{constructor(){super(...arguments),this.tokenize=VA}equals(e,t,n){return n.ignoreWhitespace?((!n.newlineIsToken||!e.includes(`
|
|
96
96
|
`))&&(e=e.trim()),(!n.newlineIsToken||!t.includes(`
|
|
97
97
|
`))&&(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith(`
|
|
98
98
|
`)&&(e=e.slice(0,-1)),t.endsWith(`
|