@a4ui/core 0.37.1 → 0.38.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.
- package/README.md +8 -7
- package/dist/Collapse-Cr5cDqAl.js +375 -0
- package/dist/charts/AreaChart.d.ts +38 -0
- package/dist/charts/BarChart.d.ts +17 -1
- package/dist/charts/PieChart.d.ts +29 -0
- package/dist/charts/RadialBarChart.d.ts +33 -0
- package/dist/charts/index.d.ts +5 -0
- package/dist/charts/shared.d.ts +111 -0
- package/dist/charts.js +1493 -780
- package/dist/commerce.js +625 -634
- package/dist/elements.css +1076 -8
- package/dist/elements.iife.js +1 -6
- package/dist/elements.js +7774 -9133
- package/dist/full.css +1076 -8
- package/dist/index.d.ts +30 -3
- package/dist/index.js +17502 -15126
- package/dist/layout/Aurora.d.ts +16 -0
- package/dist/layout/EffectsToggle.d.ts +1 -1
- package/dist/layout/SpaceBackground.d.ts +1 -1
- package/dist/motion-CTIBwMCA.js +104 -0
- package/dist/styles.css +110 -3
- package/dist/ui/AspectRatio.d.ts +19 -0
- package/dist/ui/Attachment.d.ts +70 -0
- package/dist/ui/ButtonGroup.d.ts +37 -0
- package/dist/ui/ChatMarker.d.ts +20 -0
- package/dist/ui/ChatThread.d.ts +32 -8
- package/dist/ui/ContactSection.d.ts +49 -0
- package/dist/ui/CtaBanner.d.ts +28 -0
- package/dist/ui/Drawer.d.ts +5 -2
- package/dist/ui/Faq.d.ts +29 -0
- package/dist/ui/FeatureGrid.d.ts +35 -0
- package/dist/ui/Field.d.ts +148 -0
- package/dist/ui/Hero.d.ts +48 -0
- package/dist/ui/InputGroup.d.ts +93 -0
- package/dist/ui/Item.d.ts +63 -0
- package/dist/ui/Label.d.ts +23 -0
- package/dist/ui/Menubar.d.ts +83 -0
- package/dist/ui/Message.d.ts +51 -5
- package/dist/ui/Modal.d.ts +8 -2
- package/dist/ui/NativeSelect.d.ts +26 -0
- package/dist/ui/NavigationMenu.d.ts +85 -0
- package/dist/ui/PromptComposer.d.ts +5 -0
- package/dist/ui/Prose.d.ts +21 -0
- package/dist/ui/Questionnaire.d.ts +71 -0
- package/dist/ui/ScrollArea.d.ts +30 -0
- package/dist/ui/Sidebar.d.ts +229 -0
- package/dist/ui/SiteFooter.d.ts +39 -0
- package/dist/ui/SiteNav.d.ts +35 -0
- package/dist/ui/TeamGrid.d.ts +33 -0
- package/dist/ui/Testimonials.d.ts +37 -0
- package/dist/ui/internal/sectionKit.d.ts +22 -0
- package/dist/ui/internal/socialIcons.d.ts +9 -0
- package/package.json +38 -26
- package/preset.d.ts +23 -0
- package/src/charts/AreaChart.tsx +206 -0
- package/src/charts/BarChart.tsx +241 -5
- package/src/charts/DonutChart.tsx +8 -11
- package/src/charts/LineChart.tsx +2 -3
- package/src/charts/PieChart.tsx +145 -0
- package/src/charts/RadialBarChart.tsx +141 -0
- package/src/charts/index.ts +14 -0
- package/src/charts/shared.tsx +304 -0
- package/src/index.ts +192 -3
- package/src/layout/Aurora.tsx +36 -7
- package/src/layout/sceneEffects.ts +22 -3
- package/src/ui/AlertDialog.tsx +6 -3
- package/src/ui/AspectRatio.tsx +35 -0
- package/src/ui/Attachment.tsx +189 -0
- package/src/ui/ButtonGroup.tsx +89 -0
- package/src/ui/ChatMarker.tsx +58 -0
- package/src/ui/ChatThread.tsx +115 -23
- package/src/ui/Command.tsx +6 -3
- package/src/ui/ContactSection.tsx +199 -0
- package/src/ui/CtaBanner.tsx +62 -0
- package/src/ui/DateField.tsx +2 -1
- package/src/ui/DateRangePicker.tsx +2 -1
- package/src/ui/Drawer.tsx +43 -7
- package/src/ui/Faq.tsx +57 -0
- package/src/ui/FeatureGrid.tsx +77 -0
- package/src/ui/Field.tsx +374 -0
- package/src/ui/Hero.tsx +146 -0
- package/src/ui/Image.tsx +6 -3
- package/src/ui/InputGroup.tsx +219 -0
- package/src/ui/Item.tsx +185 -0
- package/src/ui/Label.tsx +50 -0
- package/src/ui/Menubar.tsx +212 -0
- package/src/ui/Message.tsx +139 -13
- package/src/ui/Modal.tsx +47 -8
- package/src/ui/MultiSelect.tsx +2 -1
- package/src/ui/NativeSelect.tsx +66 -0
- package/src/ui/NavigationMenu.tsx +262 -0
- package/src/ui/PromptComposer.tsx +11 -0
- package/src/ui/Prose.tsx +63 -0
- package/src/ui/Questionnaire.tsx +331 -0
- package/src/ui/ScrollArea.tsx +70 -0
- package/src/ui/Sidebar.tsx +753 -0
- package/src/ui/SiteFooter.tsx +112 -0
- package/src/ui/SiteNav.tsx +146 -0
- package/src/ui/TeamGrid.tsx +81 -0
- package/src/ui/Testimonials.tsx +103 -0
- package/src/ui/TimeField.tsx +2 -1
- package/src/ui/internal/sectionKit.tsx +72 -0
- package/src/ui/internal/socialIcons.tsx +41 -0
- package/dist/NumberInput-Bnh2u7pp.js +0 -381
- package/dist/motion-jYMWmZqB.js +0 -119
package/dist/elements.iife.js
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
var A4uiElements=(function(un){"use strict";var vo;const W={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return xr(this.context.count)},getNextContextId(){return xr(this.context.count++)}};function xr(e){const t=String(e),n=t.length-1;return W.context.id+(n?String.fromCharCode(96+n):"")+t}function wo(e){W.context=e}const ko=!1,So=(e,t)=>e===t,Nt=Symbol("solid-proxy"),wr=typeof Proxy=="function",kr=Symbol("solid-track"),zt={equals:So};let Sr=Mr;const Ce=1,Bt=2,Tr={owned:null,cleanups:null,context:null,owner:null};var F=null;let dn=null,To=null,U=null,te=null,ke=null,jt=0;function We(e,t){const n=U,r=F,s=e.length===0,i=t===void 0?r:t,o=s?Tr:{owned:null,cleanups:null,context:i?i.context:null,owner:i},a=s?e:()=>e(()=>re(()=>ft(o)));F=o,U=null;try{return dt(a,!0)}finally{U=n,F=r}}function Q(e,t){t=t?Object.assign({},zt,t):zt;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=s=>(typeof s=="function"&&(s=s(n.value)),Cr(n,s));return[Ar.bind(n),r]}function N(e,t,n){const r=fn(e,t,!1,Ce);ut(r)}function Me(e,t,n){Sr=$o;const r=fn(e,t,!1,Ce);r.user=!0,ke?ke.push(r):ut(r)}function ne(e,t,n){n=n?Object.assign({},zt,n):zt;const r=fn(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,ut(r),Ar.bind(r)}function re(e){if(U===null)return e();const t=U;U=null;try{return e()}finally{U=t}}function Ao(e,t,n){const r=Array.isArray(e);let s;return i=>{let o;if(r){o=Array(e.length);for(let l=0;l<e.length;l++)o[l]=e[l]()}else o=e();const a=re(()=>t(o,s,i));return s=o,a}}function at(e){Me(()=>re(e))}function me(e){return F===null||(F.cleanups===null?F.cleanups=[e]:F.cleanups.push(e)),e}function lt(e,t){const n=Symbol("context");return{id:n,Provider:Eo(n),defaultValue:e}}function ct(e){let t;return F&&F.context&&(t=F.context[e.id])!==void 0?t:e.defaultValue}function Co(e){const t=ne(e),n=ne(()=>hn(t()));return n.toArray=()=>{const r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}function Ar(){if(this.sources&&this.state)if(this.state===Ce)ut(this);else{const e=te;te=null,dt(()=>Gt(this),!1),te=e}if(U){const e=this.observers;if(!e||e[e.length-1]!==U){const t=e?e.length:0;U.sources?(U.sources.push(this),U.sourceSlots.push(t)):(U.sources=[this],U.sourceSlots=[t]),e?(e.push(U),this.observerSlots.push(U.sources.length-1)):(this.observers=[U],this.observerSlots=[U.sources.length-1])}}return this.value}function Cr(e,t,n){let r=e.value;return(!e.comparator||!e.comparator(r,t))&&(e.value=t,e.observers&&e.observers.length&&dt(()=>{for(let s=0;s<e.observers.length;s+=1){const i=e.observers[s],o=dn&&dn.running;o&&dn.disposed.has(i),(o?!i.tState:!i.state)&&(i.pure?te.push(i):ke.push(i),i.observers&&Vr(i)),o||(i.state=Ce)}if(te.length>1e6)throw te=[],new Error},!1)),t}function ut(e){if(!e.fn)return;ft(e);const t=jt;Mo(e,e.value,t)}function Mo(e,t,n){let r;const s=F,i=U;U=F=e;try{r=e.fn(t)}catch(o){return e.pure&&(e.state=Ce,e.owned&&e.owned.forEach(ft),e.owned=null),e.updatedAt=n+1,$r(o)}finally{U=i,F=s}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?Cr(e,r):e.value=r,e.updatedAt=n)}function fn(e,t,n,r=Ce,s){const i={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:F,context:F?F.context:null,pure:n};return F===null||F!==Tr&&(F.owned?F.owned.push(i):F.owned=[i]),i}function Kt(e){if(e.state===0)return;if(e.state===Bt)return Gt(e);if(e.suspense&&re(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<jt);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===Ce)ut(e);else if(e.state===Bt){const r=te;te=null,dt(()=>Gt(e,t[0]),!1),te=r}}function dt(e,t){if(te)return e();let n=!1;t||(te=[]),ke?n=!0:ke=[],jt++;try{const r=e();return Vo(n),r}catch(r){n||(ke=null),te=null,$r(r)}}function Vo(e){if(te&&(Mr(te),te=null),e)return;const t=ke;ke=null,t.length&&dt(()=>Sr(t),!1)}function Mr(e){for(let t=0;t<e.length;t++)Kt(e[t])}function $o(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:Kt(r)}if(W.context){if(W.count){W.effects||(W.effects=[]),W.effects.push(...e.slice(0,n));return}wo()}for(W.effects&&!W.count&&(e=[...W.effects,...e],n+=W.effects.length,delete W.effects),t=0;t<n;t++)Kt(e[t])}function Gt(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const r=e.sources[n];if(r.sources){const s=r.state;s===Ce?r!==t&&(!r.updatedAt||r.updatedAt<jt)&&Kt(r):s===Bt&&Gt(r,t)}}}function Vr(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=Bt,n.pure?te.push(n):ke.push(n),n.observers&&Vr(n))}}function ft(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),r=e.sourceSlots.pop(),s=n.observers;if(s&&s.length){const i=s.pop(),o=n.observerSlots.pop();r<s.length&&(i.sourceSlots[o]=r,s[r]=i,n.observerSlots[r]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)ft(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)ft(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function Po(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function $r(e,t=F){throw Po(e)}function hn(e){if(typeof e=="function"&&!e.length)return hn(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=hn(e[n]);if(Array.isArray(r))if(r.length<32768)t.push.apply(t,r);else for(let s=0;s<r.length;s++)t.push(r[s]);else t.push(r)}return t}return e}function Eo(e,t){return function(r){let s;return N(()=>s=re(()=>(F.context={...F.context,[e]:r.value},Co(()=>r.children))),void 0),s}}const mn=Symbol("fallback");function Wt(e){for(let t=0;t<e.length;t++)e[t]()}function Io(e,t,n={}){let r=[],s=[],i=[],o=0,a=t.length>1?[]:null;return me(()=>Wt(i)),()=>{let l=e()||[],c=l.length,u,d;return l[kr],re(()=>{let h,y,m,b,v,x,C,T,A;if(c===0)o!==0&&(Wt(i),i=[],r=[],s=[],o=0,a&&(a=[])),n.fallback&&(r=[mn],s[0]=We(R=>(i[0]=R,n.fallback())),o=1);else if(o===0){for(s=new Array(c),d=0;d<c;d++)r[d]=l[d],s[d]=We(f);o=c}else{for(m=new Array(c),b=new Array(c),a&&(v=new Array(c)),x=0,C=Math.min(o,c);x<C&&r[x]===l[x];x++);for(C=o-1,T=c-1;C>=x&&T>=x&&r[C]===l[T];C--,T--)m[T]=s[C],b[T]=i[C],a&&(v[T]=a[C]);for(h=new Map,y=new Array(T+1),d=T;d>=x;d--)A=l[d],u=h.get(A),y[d]=u===void 0?-1:u,h.set(A,d);for(u=x;u<=C;u++)A=r[u],d=h.get(A),d!==void 0&&d!==-1?(m[d]=s[u],b[d]=i[u],a&&(v[d]=a[u]),d=y[d],h.set(A,d)):i[u]();for(d=x;d<c;d++)d in m?(s[d]=m[d],i[d]=b[d],a&&(a[d]=v[d],a[d](d))):s[d]=We(f);s=s.slice(0,o=c),r=l.slice(0)}return s});function f(h){if(i[d]=h,a){const[y,m]=Q(d);return a[d]=m,t(l[d],y)}return t(l[d])}}}function Ro(e,t,n={}){let r=[],s=[],i=[],o=[],a=0,l;return me(()=>Wt(i)),()=>{const c=e()||[],u=c.length;return c[kr],re(()=>{if(u===0)return a!==0&&(Wt(i),i=[],r=[],s=[],a=0,o=[]),n.fallback&&(r=[mn],s[0]=We(f=>(i[0]=f,n.fallback())),a=1),s;for(r[0]===mn&&(i[0](),i=[],r=[],s=[],a=0),l=0;l<u;l++)l<r.length&&r[l]!==c[l]?o[l](()=>c[l]):l>=r.length&&(s[l]=We(d));for(;l<r.length;l++)i[l]();return a=o.length=i.length=u,r=c.slice(0),s=s.slice(0,a)});function d(f){i[l]=f;const[h,y]=Q(c[l]);return o[l]=y,t(h,l)}}}function p(e,t){return re(()=>e(t||{}))}function Ut(){return!0}const gn={get(e,t,n){return t===Nt?n:e.get(t)},has(e,t){return t===Nt?!0:e.has(t)},set:Ut,deleteProperty:Ut,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:Ut,deleteProperty:Ut}},ownKeys(e){return e.keys()}};function pn(e){return(e=typeof e=="function"?e():e)?e:{}}function Oo(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function L(...e){let t=!1;for(let o=0;o<e.length;o++){const a=e[o];t=t||!!a&&Nt in a,e[o]=typeof a=="function"?(t=!0,ne(a)):a}if(wr&&t)return new Proxy({get(o){for(let a=e.length-1;a>=0;a--){const l=pn(e[a])[o];if(l!==void 0)return l}},has(o){for(let a=e.length-1;a>=0;a--)if(o in pn(e[a]))return!0;return!1},keys(){const o=[];for(let a=0;a<e.length;a++)o.push(...Object.keys(pn(e[a])));return[...new Set(o)]}},gn);const n={},r=Object.create(null);for(let o=e.length-1;o>=0;o--){const a=e[o];if(!a)continue;const l=Object.getOwnPropertyNames(a);for(let c=l.length-1;c>=0;c--){const u=l[c];if(u==="__proto__"||u==="constructor")continue;const d=Object.getOwnPropertyDescriptor(a,u);if(!r[u])r[u]=d.get?{enumerable:!0,configurable:!0,get:Oo.bind(n[u]=[d.get.bind(a)])}:d.value!==void 0?d:void 0;else{const f=n[u];f&&(d.get?f.push(d.get.bind(a)):d.value!==void 0&&f.push(()=>d.value))}}}const s={},i=Object.keys(r);for(let o=i.length-1;o>=0;o--){const a=i[o],l=r[a];l&&l.get?Object.defineProperty(s,a,l):s[a]=l?l.value:void 0}return s}function le(e,...t){const n=t.length;if(wr&&Nt in e){const s=n>1?t.flat():t[0],i=t.map(o=>new Proxy({get(a){return o.includes(a)?e[a]:void 0},has(a){return o.includes(a)&&a in e},keys(){return o.filter(a=>a in e)}},gn));return i.push(new Proxy({get(o){return s.includes(o)?void 0:e[o]},has(o){return s.includes(o)?!1:o in e},keys(){return Object.keys(e).filter(o=>!s.includes(o))}},gn)),i}const r=[];for(let s=0;s<=n;s++)r[s]={};for(const s of Object.getOwnPropertyNames(e)){let i=n;for(let l=0;l<t.length;l++)if(t[l].includes(s)){i=l;break}const o=Object.getOwnPropertyDescriptor(e,s);!o.get&&!o.set&&o.enumerable&&o.writable&&o.configurable?r[i][s]=o.value:Object.defineProperty(r[i],s,o)}return r}let _o=0;function Pr(){return W.context?W.getNextContextId():`cl-${_o++}`}const Do=e=>`Stale read from <${e}>.`;function ht(e){const t="fallback"in e&&{fallback:()=>e.fallback};return ne(Io(()=>e.each,e.children,t||void 0))}function bn(e){const t="fallback"in e&&{fallback:()=>e.fallback};return ne(Ro(()=>e.each,e.children,t||void 0))}function q(e){const t=e.keyed,n=ne(()=>e.when,void 0,void 0),r=t?n:ne(n,void 0,{equals:(s,i)=>!s==!i});return ne(()=>{const s=r();if(s){const i=e.children;return typeof i=="function"&&i.length>0?re(()=>i(t?s:()=>{if(!re(r))throw Do("Show");return n()})):i}return e.fallback},void 0,void 0)}const Lo=["allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"],Fo=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable",...Lo]),No=new Set(["innerHTML","textContent","innerText","children"]),zo=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Bo=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function jo(e,t){const n=Bo[e];return typeof n=="object"?n[t]?n.$:void 0:n}const Ko=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Go=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Wo={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},yn=e=>ne(()=>e());function Uo(e,t,n){let r=n.length,s=t.length,i=r,o=0,a=0,l=t[s-1].nextSibling,c=null;for(;o<s||a<i;){if(t[o]===n[a]){o++,a++;continue}for(;t[s-1]===n[i-1];)s--,i--;if(s===o){const u=i<r?a?n[a-1].nextSibling:n[i-a]:l;for(;a<i;)e.insertBefore(n[a++],u)}else if(i===a)for(;o<s;)(!c||!c.has(t[o]))&&t[o].remove(),o++;else if(t[o]===n[i-1]&&n[a]===t[s-1]){const u=t[--s].nextSibling;e.insertBefore(n[a++],t[o++].nextSibling),e.insertBefore(n[--i],u),t[s]=n[i]}else{if(!c){c=new Map;let d=a;for(;d<i;)c.set(n[d],d++)}const u=c.get(t[o]);if(u!=null)if(a<u&&u<i){let d=o,f=1,h;for(;++d<s&&d<i&&!((h=c.get(t[d]))==null||h!==u+f);)f++;if(f>u-a){const y=t[o];for(;a<u;)e.insertBefore(n[a++],y)}else e.replaceChild(n[a++],t[o++])}else o++;else t[o++].remove()}}}const Er="_$DX_DELEGATE";function D(e,t,n,r){let s;const i=()=>{const a=r?document.createElementNS("http://www.w3.org/1998/Math/MathML","template"):document.createElement("template");return a.innerHTML=e,n?a.content.firstChild.firstChild:r?a.firstChild:a.content.firstChild},o=t?()=>re(()=>document.importNode(s||(s=i()),!0)):()=>(s||(s=i())).cloneNode(!0);return o.cloneNode=o,o}function mt(e,t=window.document){const n=t[Er]||(t[Er]=new Set);for(let r=0,s=e.length;r<s;r++){const i=e[r];n.has(i)||(n.add(i),t.addEventListener(i,ta))}}function E(e,t,n){Le(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Yo(e,t,n,r){Le(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}function Xo(e,t,n){Le(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function be(e,t){Le(e)||(t==null?e.removeAttribute("class"):e.className=t)}function Ho(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const s=n[0];e.addEventListener(t,n[0]=i=>s.call(e,n[1],i))}else e.addEventListener(t,n,typeof n!="function"&&n)}function qo(e,t,n={}){const r=Object.keys(t||{}),s=Object.keys(n);let i,o;for(i=0,o=s.length;i<o;i++){const a=s[i];!a||a==="undefined"||t[a]||(Ir(e,a,!1),delete n[a])}for(i=0,o=r.length;i<o;i++){const a=r[i],l=!!t[a];!a||a==="undefined"||n[a]===l||!l||(Ir(e,a,!0),n[a]=l)}return n}function Zo(e,t,n){if(!t)return n?E(e,"style"):t;const r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let s,i;for(i in n)t[i]==null&&r.removeProperty(i),delete n[i];for(i in t)s=t[i],s!==n[i]&&(r.setProperty(i,s),n[i]=s);return n}function Ve(e,t,n){n!=null?e.style.setProperty(t,n):e.style.removeProperty(t)}function De(e,t={},n,r){const s={};return r||N(()=>s.children=gt(e,t.children,s.children)),N(()=>typeof t.ref=="function"&&vn(t.ref,e)),N(()=>Jo(e,t,n,!0,s,!0)),s}function vn(e,t,n){return re(()=>e(t,n))}function P(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return gt(e,t,r,n);N(s=>gt(e,t(),s,n),r)}function Jo(e,t,n,r,s={},i=!1){t||(t={});for(const o in s)if(!(o in t)){if(o==="children")continue;s[o]=Rr(e,o,null,s[o],n,i,t)}for(const o in t){if(o==="children")continue;const a=t[o];s[o]=Rr(e,o,a,s[o],n,i,t)}}function Qo(e){let t,n;return!Le()||!(t=W.registry.get(n=na()))?e():(W.completed&&W.completed.add(t),W.registry.delete(n),t)}function Le(e){return!!W.context&&!0&&(!e||e.isConnected)}function ea(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function Ir(e,t,n){const r=t.trim().split(/\s+/);for(let s=0,i=r.length;s<i;s++)e.classList.toggle(r[s],n)}function Rr(e,t,n,r,s,i,o){let a,l,c,u,d;if(t==="style")return Zo(e,n,r);if(t==="classList")return qo(e,n,r);if(n===r)return r;if(t==="ref")i||n(e);else if(t.slice(0,3)==="on:"){const f=t.slice(3);r&&e.removeEventListener(f,r,typeof r!="function"&&r),n&&e.addEventListener(f,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const f=t.slice(10);r&&e.removeEventListener(f,r,!0),n&&e.addEventListener(f,n,!0)}else if(t.slice(0,2)==="on"){const f=t.slice(2).toLowerCase(),h=Ko.has(f);if(!h&&r){const y=Array.isArray(r)?r[0]:r;e.removeEventListener(f,y)}(h||n)&&(Ho(e,f,n,h),h&&mt([f]))}else if(t.slice(0,5)==="attr:")E(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")Xo(e,t.slice(5),n);else if((d=t.slice(0,5)==="prop:")||(c=No.has(t))||!s&&((u=jo(t,e.tagName))||(l=Fo.has(t)))||(a=e.nodeName.includes("-")||"is"in o)){if(d)t=t.slice(5),l=!0;else if(Le(e))return n;t==="class"||t==="className"?be(e,n):a&&!l&&!c?e[ea(t)]=n:e[u||t]=n}else{const f=s&&t.indexOf(":")>-1&&Wo[t.split(":")[0]];f?Yo(e,f,t,n):E(e,zo[t]||t,n)}return n}function ta(e){let t=e.target;const n=`$$${e.type}`,r=e.target,s=e.currentTarget,i=l=>Object.defineProperty(e,"target",{configurable:!0,value:l}),o=()=>{const l=t[n];if(l&&!t.disabled){const c=t[`${n}Data`];if(c!==void 0?l.call(t,c,e):l.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&i(t.host),!0},a=()=>{for(;o()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),e.composedPath){const l=e.composedPath();i(l[0]);for(let c=0;c<l.length-2&&(t=l[c],!!o());c++){if(t._$host){t=t._$host,a();break}if(t.parentNode===s)break}}else a();i(r)}function gt(e,t,n,r,s){const i=Le(e);if(i){!n&&(n=[...e.childNodes]);let l=[];for(let c=0;c<n.length;c++){const u=n[c];u.nodeType===8&&u.data.slice(0,2)==="!$"?u.remove():l.push(u)}n=l}for(;typeof n=="function";)n=n();if(t===n)return n;const o=typeof t,a=r!==void 0;if(e=a&&n[0]&&n[0].parentNode||e,o==="string"||o==="number"){if(i||o==="number"&&(t=t.toString(),t===n))return n;if(a){let l=n[0];l&&l.nodeType===3?l.data!==t&&(l.data=t):l=document.createTextNode(t),n=Ue(e,n,r,l)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||o==="boolean"){if(i)return n;n=Ue(e,n,r)}else{if(o==="function")return N(()=>{let l=t();for(;typeof l=="function";)l=l();n=gt(e,l,n,r)}),()=>n;if(Array.isArray(t)){const l=[],c=n&&Array.isArray(n);if(xn(l,t,n,s))return N(()=>n=gt(e,l,n,r,!0)),()=>n;if(i){if(!l.length)return n;if(r===void 0)return n=[...e.childNodes];let u=l[0];if(u.parentNode!==e)return n;const d=[u];for(;(u=u.nextSibling)!==r;)d.push(u);return n=d}if(l.length===0){if(n=Ue(e,n,r),a)return n}else c?n.length===0?Or(e,l,r):Uo(e,n,l):(n&&Ue(e),Or(e,l));n=l}else if(t.nodeType){if(i&&t.parentNode)return n=a?[t]:t;if(Array.isArray(n)){if(a)return n=Ue(e,n,r,t);Ue(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function xn(e,t,n,r){let s=!1;for(let i=0,o=t.length;i<o;i++){let a=t[i],l=n&&n[e.length],c;if(!(a==null||a===!0||a===!1))if((c=typeof a)=="object"&&a.nodeType)e.push(a);else if(Array.isArray(a))s=xn(e,a,l)||s;else if(c==="function")if(r){for(;typeof a=="function";)a=a();s=xn(e,Array.isArray(a)?a:[a],Array.isArray(l)?l:[l])||s}else e.push(a),s=!0;else{const u=String(a);l&&l.nodeType===3&&l.data===u?e.push(l):e.push(document.createTextNode(u))}}return s}function Or(e,t,n=null){for(let r=0,s=t.length;r<s;r++)e.insertBefore(t[r],n)}function Ue(e,t,n,r){if(n===void 0)return e.textContent="";const s=r||document.createTextNode("");if(t.length){let i=!1;for(let o=t.length-1;o>=0;o--){const a=t[o];if(s!==a){const l=a.parentNode===e;!i&&!o?l?e.replaceChild(s,a):e.insertBefore(s,n):l&&a.remove()}else i=!0}}else e.insertBefore(s,n);return[s]}function na(){return W.getNextContextId()}const ra="http://www.w3.org/2000/svg";function sa(e,t=!1,n=void 0){return t?document.createElementNS(ra,e):document.createElement(e,{is:n})}function ia(e,t){const n=ne(e);return ne(()=>{const r=n();switch(typeof r){case"function":return re(()=>r(t));case"string":const s=Go.has(r),i=W.context?Qo():sa(r,s,re(()=>t.is));return De(i,t,s),i}})}function wn(e){const[,t]=le(e,["component"]);return ia(()=>e.component,t)}function oa(e){return Object.keys(e).reduce((n,r)=>{const s=e[r];return n[r]=Object.assign({},s),Lr(s.value)&&!da(s.value)&&!Array.isArray(s.value)&&(n[r].value=Object.assign({},s.value)),Array.isArray(s.value)&&(n[r].value=s.value.slice(0)),n},{})}function aa(e){return e?Object.keys(e).reduce((n,r)=>{const s=e[r];return n[r]=Lr(s)&&"value"in s?s:{value:s},n[r].attribute||(n[r].attribute=ua(r)),n[r].parse="parse"in n[r]?n[r].parse:typeof n[r].value!="string",n},{}):{}}function la(e){return Object.keys(e).reduce((n,r)=>(n[r]=e[r].value,n),{})}function ca(e,t){const n=oa(t);return Object.keys(t).forEach(s=>{const i=n[s],o=e.getAttribute(i.attribute),a=e[s];o!=null&&(i.value=i.parse?_r(o):o),a!=null&&(i.value=Array.isArray(a)?a.slice(0):a),i.reflect&&Dr(e,i.attribute,i.value,!!i.parse),Object.defineProperty(e,s,{get(){return i.value},set(l){const c=i.value;i.value=l,i.reflect&&Dr(this,i.attribute,i.value,!!i.parse);for(let u=0,d=this.__propertyChangedCallbacks.length;u<d;u++)this.__propertyChangedCallbacks[u](s,l,c)},enumerable:!0,configurable:!0})}),n}function _r(e){if(e)try{return JSON.parse(e)}catch{return e}}function Dr(e,t,n,r){if(n==null||n===!1)return e.removeAttribute(t);let s=r?JSON.stringify(n):n;e.__updating[t]=!0,s==="true"&&(s=""),e.setAttribute(t,s),Promise.resolve().then(()=>delete e.__updating[t])}function ua(e){return e.replace(/\.?([A-Z]+)/g,(t,n)=>"-"+n.toLowerCase()).replace("_","-").replace(/^-/,"")}function Lr(e){return e!=null&&(typeof e=="object"||typeof e=="function")}function da(e){return Object.prototype.toString.call(e)==="[object Function]"}function fa(e){return typeof e=="function"&&e.toString().indexOf("class")===0}let pt;function se(){Object.defineProperty(pt,"renderRoot",{value:pt})}function ha(e,t){const n=Object.keys(t);return class extends e{static get observedAttributes(){return n.map(s=>t[s].attribute)}constructor(){super(),this.__initialized=!1,this.__released=!1,this.__releaseCallbacks=[],this.__propertyChangedCallbacks=[],this.__updating={},this.props={};for(let s of n)this[s]=void 0}connectedCallback(){if(this.__initialized)return;this.__releaseCallbacks=[],this.__propertyChangedCallbacks=[],this.__updating={},this.props=ca(this,t);const s=la(this.props),i=this.Component,o=pt;try{pt=this,this.__initialized=!0,fa(i)?new i(s,{element:this}):i(s,{element:this})}finally{pt=o}}async disconnectedCallback(){if(await Promise.resolve(),this.isConnected)return;this.__propertyChangedCallbacks.length=0;let s=null;for(;s=this.__releaseCallbacks.pop();)s(this);delete this.__initialized,this.__released=!0}attributeChangedCallback(s,i,o){if(this.__initialized&&!this.__updating[s]&&(s=this.lookupProp(s),s in t)){if(o==null&&!this[s])return;this[s]=t[s].parse?_r(o):o}}lookupProp(s){if(t)return n.find(i=>s===i||s===t[i].attribute)}get renderRoot(){return this.shadowRoot||this.attachShadow({mode:"open"})}addReleaseCallback(s){this.__releaseCallbacks.push(s)}addPropertyChangedCallback(s){this.__propertyChangedCallbacks.push(s)}}}function ma(e,t={},n={}){const{BaseElement:r=HTMLElement,extension:s,customElements:i=window.customElements}=n;return o=>{if(!e)throw new Error("tag is required to register a Component");let a=i.get(e);return a?(a.prototype.Component=o,a):(a=ha(r,aa(t)),a.prototype.Component=o,a.prototype.registeredTag=e,i.define(e,a,s),a)}}function ga(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const[s,i]=Q(e[t[r]]);Object.defineProperty(n,t[r],{get:s,set(o){i(()=>o)}})}return n}function pa(e){if(e.assignedSlot&&e.assignedSlot._$owner)return e.assignedSlot._$owner;let t=e.parentNode;for(;t;){if(t._$owner)return t._$owner;if(t.assignedSlot&&t.assignedSlot._$owner)return t.assignedSlot._$owner;t=t.parentNode}return e._$owner}function ba(e){return(t,n)=>{const{element:r}=n;return We(s=>{const i=ga(t);r.addPropertyChangedCallback((a,l)=>i[a]=l),r.addReleaseCallback(()=>{r.renderRoot.textContent="",s()});const o=e(i,n);return P(r.renderRoot,o)},pa(r))}}function ie(e,t,n){return arguments.length===2&&(n=t,t={}),ma(e,t)(ba(n))}function Fr(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Fr(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ya(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Fr(e))&&(r&&(r+=" "),r+=t);return r}const va=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},xa=(e,t)=>({classGroupId:e,validator:t}),Nr=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Yt="-",zr=[],wa="arbitrary..",ka=e=>{const t=Ta(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return Sa(o);const a=o.split(Yt),l=a[0]===""&&a.length>1?1:0;return Br(a,l,t)},getConflictingClassGroupIds:(o,a)=>{if(a){const l=r[o],c=n[o];return l?c?va(c,l):l:c||zr}return n[o]||zr}}},Br=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const s=e[t],i=n.nextPart.get(s);if(i){const c=Br(e,t+1,i);if(c)return c}const o=n.validators;if(o===null)return;const a=t===0?e.join(Yt):e.slice(t).join(Yt),l=o.length;for(let c=0;c<l;c++){const u=o[c];if(u.validator(a))return u.classGroupId}},Sa=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?wa+r:void 0})(),Ta=e=>{const{theme:t,classGroups:n}=e;return Aa(n,t)},Aa=(e,t)=>{const n=Nr();for(const r in e){const s=e[r];kn(s,n,r,t)}return n},kn=(e,t,n,r)=>{const s=e.length;for(let i=0;i<s;i++){const o=e[i];Ca(o,t,n,r)}},Ca=(e,t,n,r)=>{if(typeof e=="string"){Ma(e,t,n);return}if(typeof e=="function"){Va(e,t,n,r);return}$a(e,t,n,r)},Ma=(e,t,n)=>{const r=e===""?t:jr(t,e);r.classGroupId=n},Va=(e,t,n,r)=>{if(Pa(e)){kn(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(xa(n,e))},$a=(e,t,n,r)=>{const s=Object.entries(e),i=s.length;for(let o=0;o<i;o++){const[a,l]=s[o];kn(l,jr(t,a),n,r)}},jr=(e,t)=>{let n=e;const r=t.split(Yt),s=r.length;for(let i=0;i<s;i++){const o=r[i];let a=n.nextPart.get(o);a||(a=Nr(),n.nextPart.set(o,a)),n=a}return n},Pa=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Ea=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const s=(i,o)=>{n[i]=o,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(i){let o=n[i];if(o!==void 0)return o;if((o=r[i])!==void 0)return s(i,o),o},set(i,o){i in n?n[i]=o:s(i,o)}}},Sn="!",Kr=":",Ia=[],Gr=(e,t,n,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),Ra=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=s=>{const i=[];let o=0,a=0,l=0,c;const u=s.length;for(let m=0;m<u;m++){const b=s[m];if(o===0&&a===0){if(b===Kr){i.push(s.slice(l,m)),l=m+1;continue}if(b==="/"){c=m;continue}}b==="["?o++:b==="]"?o--:b==="("?a++:b===")"&&a--}const d=i.length===0?s:s.slice(l);let f=d,h=!1;d.endsWith(Sn)?(f=d.slice(0,-1),h=!0):d.startsWith(Sn)&&(f=d.slice(1),h=!0);const y=c&&c>l?c-l:void 0;return Gr(i,h,f,y)};if(t){const s=t+Kr,i=r;r=o=>o.startsWith(s)?i(o.slice(s.length)):Gr(Ia,!1,o,void 0,!0)}if(n){const s=r;r=i=>n({className:i,parseClassName:s})}return r},Oa=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let i=0;i<n.length;i++){const o=n[i],a=o[0]==="[",l=t.has(o);a||l?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(o)):s.push(o)}return s.length>0&&(s.sort(),r.push(...s)),r}},_a=e=>({cache:Ea(e.cacheSize),parseClassName:Ra(e),sortModifiers:Oa(e),postfixLookupClassGroupIds:Da(e),...ka(e)}),Da=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let r=0;r<n.length;r++)t[n[r]]=!0;return t},La=/\s+/,Fa=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:i,postfixLookupClassGroupIds:o}=t,a=[],l=e.trim().split(La);let c="";for(let u=l.length-1;u>=0;u-=1){const d=l[u],{isExternal:f,modifiers:h,hasImportantModifier:y,baseClassName:m,maybePostfixModifierPosition:b}=n(d);if(f){c=d+(c.length>0?" "+c:c);continue}let v=!!b,x;if(v){const I=m.substring(0,b);x=r(I);const g=x&&o[x]?r(m):void 0;g&&g!==x&&(x=g,v=!1)}else x=r(m);if(!x){if(!v){c=d+(c.length>0?" "+c:c);continue}if(x=r(m),!x){c=d+(c.length>0?" "+c:c);continue}v=!1}const C=h.length===0?"":h.length===1?h[0]:i(h).join(":"),T=y?C+Sn:C,A=T+x;if(a.indexOf(A)>-1)continue;a.push(A);const R=s(x,v);for(let I=0;I<R.length;++I){const g=R[I];a.push(T+g)}c=d+(c.length>0?" "+c:c)}return c},Na=(...e)=>{let t=0,n,r,s="";for(;t<e.length;)(n=e[t++])&&(r=Wr(n))&&(s&&(s+=" "),s+=r);return s},Wr=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Wr(e[r]))&&(n&&(n+=" "),n+=t);return n},za=(e,...t)=>{let n,r,s,i;const o=l=>{const c=t.reduce((u,d)=>d(u),e());return n=_a(c),r=n.cache.get,s=n.cache.set,i=a,a(l)},a=l=>{const c=r(l);if(c)return c;const u=Fa(l,n);return s(l,u),u};return i=o,(...l)=>i(Na(...l))},Ba=[],Z=e=>{const t=n=>n[e]||Ba;return t.isThemeGetter=!0,t},Ur=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Yr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ja=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ka=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ga=/\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$/,Wa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ua=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ya=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$e=e=>ja.test(e),O=e=>!!e&&!Number.isNaN(Number(e)),ye=e=>!!e&&Number.isInteger(Number(e)),Tn=e=>e.endsWith("%")&&O(e.slice(0,-1)),Se=e=>Ka.test(e),Xr=()=>!0,Xa=e=>Ga.test(e)&&!Wa.test(e),An=()=>!1,Ha=e=>Ua.test(e),qa=e=>Ya.test(e),Za=e=>!w(e)&&!k(e),Ja=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)),Qa=e=>Pe(e,es,An),w=e=>Ur.test(e),Fe=e=>Pe(e,ts,Xa),Hr=e=>Pe(e,al,O),el=e=>Pe(e,rs,Xr),tl=e=>Pe(e,ns,An),qr=e=>Pe(e,Jr,An),nl=e=>Pe(e,Qr,qa),Xt=e=>Pe(e,ss,Ha),k=e=>Yr.test(e),bt=e=>Ne(e,ts),rl=e=>Ne(e,ns),Zr=e=>Ne(e,Jr),sl=e=>Ne(e,es),il=e=>Ne(e,Qr),Ht=e=>Ne(e,ss,!0),ol=e=>Ne(e,rs,!0),Pe=(e,t,n)=>{const r=Ur.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ne=(e,t,n=!1)=>{const r=Yr.exec(e);return r?r[1]?t(r[1]):n:!1},Jr=e=>e==="position"||e==="percentage",Qr=e=>e==="image"||e==="url",es=e=>e==="length"||e==="size"||e==="bg-size",ts=e=>e==="length",al=e=>e==="number",ns=e=>e==="family-name",rs=e=>e==="number"||e==="weight",ss=e=>e==="shadow",ll=za(()=>{const e=Z("color"),t=Z("font"),n=Z("text"),r=Z("font-weight"),s=Z("tracking"),i=Z("leading"),o=Z("breakpoint"),a=Z("container"),l=Z("spacing"),c=Z("radius"),u=Z("shadow"),d=Z("inset-shadow"),f=Z("text-shadow"),h=Z("drop-shadow"),y=Z("blur"),m=Z("perspective"),b=Z("aspect"),v=Z("ease"),x=Z("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],A=()=>[...T(),k,w],R=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],g=()=>[k,w,l],V=()=>[$e,"full","auto",...g()],M=()=>[ye,"none","subgrid",k,w],_=()=>["auto",{span:["full",ye,k,w]},ye,k,w],z=()=>[ye,"auto",k,w],oe=()=>["auto","min","max","fr",k,w],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],Y=()=>["auto",...g()],ee=()=>[$e,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...g()],ue=()=>[$e,"screen","full","dvw","lvw","svw","min","max","fit",...g()],st=()=>[$e,"screen","full","lh","dvh","lvh","svh","min","max","fit",...g()],$=()=>[e,k,w],Ot=()=>[...T(),Zr,qr,{position:[k,w]}],_t=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Dt=()=>["auto","cover","contain",sl,Qa,{size:[k,w]}],it=()=>[Tn,bt,Fe],K=()=>["","none","full",c,k,w],G=()=>["",O,bt,Fe],Ae=()=>["solid","dashed","dotted","double"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>[O,Tn,Zr,qr],Lt=()=>["","none",y,k,w],Ke=()=>["none",O,k,w],fe=()=>["none",O,k,w],ot=()=>[O,k,w],Ge=()=>[$e,"full",...g()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Se],breakpoint:[Se],color:[Xr],container:[Se],"drop-shadow":[Se],ease:["in","out","in-out"],font:[Za],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Se],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Se],shadow:[Se],spacing:["px",O],text:[Se],"text-shadow":[Se],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",$e,w,k,b]}],container:["container"],"container-type":[{"@container":["","normal","size",k,w]}],"container-named":[Ja],columns:[{columns:[O,w,k,a]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"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:A()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{"inset-s":V(),start:V()}],end:[{"inset-e":V(),end:V()}],"inset-bs":[{"inset-bs":V()}],"inset-be":[{"inset-be":V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[ye,"auto",k,w]}],basis:[{basis:[$e,"full","auto",a,...g()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[O,$e,"auto","initial","none",w]}],grow:[{grow:["",O,k,w]}],shrink:[{shrink:["",O,k,w]}],order:[{order:[ye,"first","last","none",k,w]}],"grid-cols":[{"grid-cols":M()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":M()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":oe()}],"auto-rows":[{"auto-rows":oe()}],gap:[{gap:g()}],"gap-x":[{"gap-x":g()}],"gap-y":[{"gap-y":g()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:g()}],px:[{px:g()}],py:[{py:g()}],ps:[{ps:g()}],pe:[{pe:g()}],pbs:[{pbs:g()}],pbe:[{pbe:g()}],pt:[{pt:g()}],pr:[{pr:g()}],pb:[{pb:g()}],pl:[{pl:g()}],m:[{m:Y()}],mx:[{mx:Y()}],my:[{my:Y()}],ms:[{ms:Y()}],me:[{me:Y()}],mbs:[{mbs:Y()}],mbe:[{mbe:Y()}],mt:[{mt:Y()}],mr:[{mr:Y()}],mb:[{mb:Y()}],ml:[{ml:Y()}],"space-x":[{"space-x":g()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":g()}],"space-y-reverse":["space-y-reverse"],size:[{size:ee()}],"inline-size":[{inline:["auto",...ue()]}],"min-inline-size":[{"min-inline":["auto",...ue()]}],"max-inline-size":[{"max-inline":["none",...ue()]}],"block-size":[{block:["auto",...st()]}],"min-block-size":[{"min-block":["auto",...st()]}],"max-block-size":[{"max-block":["none",...st()]}],w:[{w:[a,"screen",...ee()]}],"min-w":[{"min-w":[a,"screen","none",...ee()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...ee()]}],h:[{h:["screen","lh",...ee()]}],"min-h":[{"min-h":["screen","lh","none",...ee()]}],"max-h":[{"max-h":["screen","lh",...ee()]}],"font-size":[{text:["base",n,bt,Fe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ol,el]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Tn,w]}],"font-family":[{font:[rl,tl,t]}],"font-features":[{"font-features":[w]}],"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:[s,k,w]}],"line-clamp":[{"line-clamp":[O,"none",k,Hr]}],leading:[{leading:[i,...g()]}],"list-image":[{"list-image":["none",k,w]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",k,w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ae(),"wavy"]}],"text-decoration-thickness":[{decoration:[O,"from-font","auto",k,Fe]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[O,"auto",k,w]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"tab-size":[{tab:[ye,k,w]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",k,w]}],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",k,w]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ot()}],"bg-repeat":[{bg:_t()}],"bg-size":[{bg:Dt()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ye,k,w],radial:["",k,w],conic:[ye,k,w]},il,nl]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:it()}],"gradient-via-pos":[{via:it()}],"gradient-to-pos":[{to:it()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-bs":[{"border-bs":G()}],"border-w-be":[{"border-be":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ae(),"hidden","none"]}],"divide-style":[{divide:[...Ae(),"hidden","none"]}],"border-color":[{border:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-bs":[{"border-bs":$()}],"border-color-be":[{"border-be":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:[...Ae(),"none","hidden"]}],"outline-offset":[{"outline-offset":[O,k,w]}],"outline-w":[{outline:["",O,bt,Fe]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",u,Ht,Xt]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",d,Ht,Xt]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[O,Fe]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",f,Ht,Xt]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[O,k,w]}],"mix-blend":[{"mix-blend":[..._e(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":_e()}],"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":[O]}],"mask-image-linear-from-pos":[{"mask-linear-from":X()}],"mask-image-linear-to-pos":[{"mask-linear-to":X()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":X()}],"mask-image-t-to-pos":[{"mask-t-to":X()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":X()}],"mask-image-r-to-pos":[{"mask-r-to":X()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":X()}],"mask-image-b-to-pos":[{"mask-b-to":X()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":X()}],"mask-image-l-to-pos":[{"mask-l-to":X()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":X()}],"mask-image-x-to-pos":[{"mask-x-to":X()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":X()}],"mask-image-y-to-pos":[{"mask-y-to":X()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[k,w]}],"mask-image-radial-from-pos":[{"mask-radial-from":X()}],"mask-image-radial-to-pos":[{"mask-radial-to":X()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"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":T()}],"mask-image-conic-pos":[{"mask-conic":[O]}],"mask-image-conic-from-pos":[{"mask-conic-from":X()}],"mask-image-conic-to-pos":[{"mask-conic-to":X()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ot()}],"mask-repeat":[{mask:_t()}],"mask-size":[{mask:Dt()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",k,w]}],filter:[{filter:["","none",k,w]}],blur:[{blur:Lt()}],brightness:[{brightness:[O,k,w]}],contrast:[{contrast:[O,k,w]}],"drop-shadow":[{"drop-shadow":["","none",h,Ht,Xt]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",O,k,w]}],"hue-rotate":[{"hue-rotate":[O,k,w]}],invert:[{invert:["",O,k,w]}],saturate:[{saturate:[O,k,w]}],sepia:[{sepia:["",O,k,w]}],"backdrop-filter":[{"backdrop-filter":["","none",k,w]}],"backdrop-blur":[{"backdrop-blur":Lt()}],"backdrop-brightness":[{"backdrop-brightness":[O,k,w]}],"backdrop-contrast":[{"backdrop-contrast":[O,k,w]}],"backdrop-grayscale":[{"backdrop-grayscale":["",O,k,w]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[O,k,w]}],"backdrop-invert":[{"backdrop-invert":["",O,k,w]}],"backdrop-opacity":[{"backdrop-opacity":[O,k,w]}],"backdrop-saturate":[{"backdrop-saturate":[O,k,w]}],"backdrop-sepia":[{"backdrop-sepia":["",O,k,w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":g()}],"border-spacing-x":[{"border-spacing-x":g()}],"border-spacing-y":[{"border-spacing-y":g()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",k,w]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[O,"initial",k,w]}],ease:[{ease:["linear","initial",v,k,w]}],delay:[{delay:[O,k,w]}],animate:[{animate:["none",x,k,w]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,k,w]}],"perspective-origin":[{"perspective-origin":A()}],rotate:[{rotate:Ke()}],"rotate-x":[{"rotate-x":Ke()}],"rotate-y":[{"rotate-y":Ke()}],"rotate-z":[{"rotate-z":Ke()}],scale:[{scale:fe()}],"scale-x":[{"scale-x":fe()}],"scale-y":[{"scale-y":fe()}],"scale-z":[{"scale-z":fe()}],"scale-3d":["scale-3d"],skew:[{skew:ot()}],"skew-x":[{"skew-x":ot()}],"skew-y":[{"skew-y":ot()}],transform:[{transform:[k,w,"","none","gpu","cpu"]}],"transform-origin":[{origin:A()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ge()}],"translate-x":[{"translate-x":Ge()}],"translate-y":[{"translate-y":Ge()}],"translate-z":[{"translate-z":Ge()}],"translate-none":["translate-none"],zoom:[{zoom:[ye,k,w]}],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}],"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",k,w]}],"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":$()}],"scrollbar-track-color":[{"scrollbar-track":$()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mbs":[{"scroll-mbs":g()}],"scroll-mbe":[{"scroll-mbe":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pbs":[{"scroll-pbs":g()}],"scroll-pbe":[{"scroll-pbe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",k,w]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[O,bt,Fe,Hr]}],stroke:[{stroke:["none",...$()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},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"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function B(...e){return ll(ya(e))}var cl=D('<span class="text-sm text-muted-foreground"> / '),ul=D('<div><div class="flex items-end justify-between gap-2"><span class="font-semibold text-foreground"></span></div><div class="relative mt-2 h-2 w-full rounded-full bg-muted"role=meter><div class="absolute h-2 rounded-full bg-gradient-to-r from-primary/40 to-primary"></div><div class="absolute -top-1 h-4 w-4 -translate-x-1/2 rounded-full border-2 border-background bg-primary shadow"></div></div><div class="flex items-center justify-between text-xs text-muted-foreground">'),dl=D("<span>");const fl=[{min:10,label:"Brand New"},{min:9,label:"Excellent"},{min:7,label:"Very Good"},{min:5,label:"Good"},{min:1,label:"Fair"}];function hl(e){const t=()=>e.min??1,n=()=>e.max??10,r=()=>(e.tiers??fl).slice().sort((o,a)=>o.min-a.min),s=()=>{const o=n()-t();return o<=0?0:Math.max(0,Math.min(100,(e.value-t())/o*100))},i=()=>{const o=r();let a=o[0];for(const l of o)l.min<=e.value&&(a=l);return a};return(()=>{var o=ul(),a=o.firstChild,l=a.firstChild,c=a.nextSibling,u=c.firstChild,d=u.nextSibling,f=c.nextSibling;return P(l,()=>{var h;return(h=i())==null?void 0:h.label}),P(a,p(q,{get when(){return e.showValue??!0},get children(){var h=cl(),y=h.firstChild;return P(h,()=>e.value,y),P(h,n,null),h}}),null),P(f,p(ht,{get each(){return[r()[0],r()[r().length-1]]},children:h=>(()=>{var y=dl();return P(y,()=>h==null?void 0:h.label),y})()})),N(h=>{var A;var y=B("flex flex-col gap-2",e.class),m=t(),b=n(),v=e.value,x=((A=i())==null?void 0:A.label)??"Condition",C=`${s()}%`,T=`${s()}%`;return y!==h.e&&be(o,h.e=y),m!==h.t&&E(c,"aria-valuemin",h.t=m),b!==h.a&&E(c,"aria-valuemax",h.a=b),v!==h.o&&E(c,"aria-valuenow",h.o=v),x!==h.i&&E(c,"aria-label",h.i=x),C!==h.n&&Ve(u,"width",h.n=C),T!==h.s&&Ve(d,"left",h.s=T),h},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0}),o})()}function ve(e){const[t,n]=le(e,["as"]);if(!t.as)throw new Error("[kobalte]: Polymorphic is missing the required `as` prop.");return p(wn,L(n,{get component(){return t.as}}))}var ml=Object.defineProperty,qt=(e,t)=>{for(var n in t)ml(e,n,{get:t[n],enumerable:!0})},gl={};qt(gl,{Alert:()=>os,Root:()=>is});function is(e){return p(ve,L({as:"div",role:"alert"},e))}var os=is;/**
|
|
2
|
-
* @license lucide-solid v1.25.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/var pl={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},Ye=pl,bl=lt({size:24,color:"currentColor",strokeWidth:2,absoluteStrokeWidth:!1,class:""}),yl=D("<svg>"),vl=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},xl=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),wl=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),as=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),kl=e=>{const t=wl(e);return t.charAt(0).toUpperCase()+t.slice(1)},Sl=e=>{const[t,n]=le(e,["color","size","strokeWidth","children","class","name","iconNode","absoluteStrokeWidth"]),r=ct(bl);return(()=>{var s=yl();return De(s,L(Ye,{get width(){return t.size??r.size??Ye.width},get height(){return t.size??r.size??Ye.height},get stroke(){return t.color??r.color??Ye.stroke},get"stroke-width"(){return yn(()=>(t.absoluteStrokeWidth??r.absoluteStrokeWidth)===!0)()?Number(t.strokeWidth??r.strokeWidth??Ye["stroke-width"])*24/Number(t.size??r.size):Number(t.strokeWidth??r.strokeWidth??Ye["stroke-width"])},get class(){return xl("lucide","lucide-icon",r.class,...t.name!=null?[`lucide-${as(kl(t.name))}`,`lucide-${as(t.name)}`]:[],t.class)},get"aria-hidden"(){return!t.children&&!vl(n)?"true":void 0}},n),!0,!0),P(s,p(ht,{get each(){return t.iconNode},children:([i,o])=>p(wn,L({component:i},o))})),s})()},Ee=Sl,Tl=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Al=e=>p(Ee,L(e,{iconNode:Tl,name:"check"})),Cl=Al,Ml=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Vl=e=>p(Ee,L(e,{iconNode:Ml,name:"circle-check"})),$l=Vl,Pl=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],El=e=>p(Ee,L(e,{iconNode:Pl,name:"circle-x"})),Il=El,Rl=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Ol=e=>p(Ee,L(e,{iconNode:Rl,name:"copy"})),_l=Ol,Dl=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Ll=e=>p(Ee,L(e,{iconNode:Dl,name:"info"})),Fl=Ll,Nl=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],zl=e=>p(Ee,L(e,{iconNode:Nl,name:"star"})),ls=zl,Bl=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],jl=e=>p(Ee,L(e,{iconNode:Bl,name:"triangle-alert"})),Kl=jl,Gl=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Wl=e=>p(Ee,L(e,{iconNode:Gl,name:"x"})),Ul=Wl,Yl=D("<p class=font-semibold>"),Xl=D("<div class=flex-1><div class=text-muted-foreground>");const Hl={info:{wrap:"border-sky-500/30 bg-sky-500/10",icon:"text-sky-500",Icon:Fl},success:{wrap:"border-emerald-500/30 bg-emerald-500/10",icon:"text-emerald-500",Icon:$l},warning:{wrap:"border-amber-500/30 bg-amber-500/10",icon:"text-amber-500",Icon:Kl},danger:{wrap:"border-rose-500/30 bg-rose-500/10",icon:"text-rose-500",Icon:Il}};function ql(e){const t=()=>Hl[e.tone??"info"];return p(os,{get class(){return B("flex gap-3 rounded-lg border p-3 text-sm text-foreground",t().wrap,e.class)},get children(){return[p(wn,{get component(){return t().Icon},get class(){return B("mt-0.5 h-4 w-4 shrink-0",t().icon)}}),(()=>{var n=Xl(),r=n.firstChild;return P(n,p(q,{get when(){return e.title},get children(){var s=Yl();return P(s,()=>e.title),s}}),r),P(r,()=>e.children),n})()]}})}var Zl=D('<a class="underline-offset-2 transition-colors hover:underline motion-reduce:transition-none">'),Jl=D('<button type=button aria-label="Dismiss announcement"class="absolute right-2 top-1/2 -translate-y-1/2 rounded-sm p-1 transition-opacity hover:opacity-80 motion-reduce:transition-none">'),Ql=D("<div role=region aria-label=Announcement>"),ec=D("<span>"),tc=D('<span class="ml-2 inline-flex items-center gap-1 rounded-md bg-black/10 px-2 py-0.5 font-mono"><button type=button class="inline-flex items-center gap-1 transition-opacity hover:opacity-80 motion-reduce:transition-none">');const nc={primary:"bg-primary text-primary-foreground",accent:"bg-accent text-accent-foreground",neutral:"bg-muted text-foreground"};function rc(e){const[t,n]=Q(!1),[r,s]=Q(!1),i=async()=>{const a=e.couponCode;!a||!navigator.clipboard||(await navigator.clipboard.writeText(a),s(!0),setTimeout(()=>s(!1),1500))},o=()=>{var a;n(!0),(a=e.onDismiss)==null||a.call(e)};return p(q,{get when(){return!t()},get children(){var a=Ql();return P(a,p(q,{get when(){return e.href},get fallback(){return(()=>{var l=ec();return P(l,()=>e.children),l})()},get children(){var l=Zl();return P(l,()=>e.children),N(()=>E(l,"href",e.href)),l}}),null),P(a,p(q,{get when(){return e.couponCode},children:l=>(()=>{var c=tc(),u=c.firstChild;return P(c,l,u),u.$$click=i,P(u,p(q,{get when(){return r()},get fallback(){return p(_l,{class:"h-3 w-3"})},get children(){return[p(Cl,{class:"h-3 w-3"}),"Copied"]}})),N(()=>E(u,"aria-label",r()?"Coupon code copied":"Copy coupon code")),c})()}),null),P(a,p(q,{get when(){return e.dismissible},get children(){var l=Jl();return l.$$click=o,P(l,p(Ul,{class:"h-4 w-4"})),l}}),null),N(()=>be(a,B("relative w-full rounded-none px-4 py-2 text-center text-sm",nc[e.tone??"primary"],e.dismissible&&"pr-10",e.class))),a}})}mt(["click"]);var sc={};qt(sc,{Fallback:()=>us,Image:()=>Zt,Img:()=>ds,Root:()=>fs,useImageContext:()=>Cn});var cs=lt();function Cn(){const e=ct(cs);if(e===void 0)throw new Error("[kobalte]: `useImageContext` must be used within an `Image.Root` component");return e}function us(e){const t=Cn(),[n,r]=Q(t.fallbackDelay()===void 0);return Me(()=>{const s=t.fallbackDelay();if(s!==void 0){const i=window.setTimeout(()=>r(!0),s);me(()=>window.clearTimeout(i))}}),p(q,{get when(){return yn(()=>!!n())()&&t.imageLoadingStatus()!=="loaded"},get children(){return p(ve,L({as:"span"},e))}})}function ds(e){const t=Cn(),[n,r]=Q("idle");return Me(Ao(()=>e.src,s=>{if(!s){r("error");return}let i=!0;const o=new window.Image,a=l=>()=>{i&&r(l)};r("loading"),e.crossOrigin!==void 0&&(o.crossOrigin=e.crossOrigin),e.referrerPolicy!==void 0&&(o.referrerPolicy=e.referrerPolicy),o.onload=a("loaded"),o.onerror=a("error"),o.src=s,me(()=>{i=!1})})),Me(()=>{const s=n();s!=="idle"&&t.onImageLoadingStatusChange(s)}),p(q,{get when(){return n()==="loaded"},get children(){return p(ve,L({as:"img"},e))}})}function fs(e){const[t,n]=le(e,["fallbackDelay","onLoadingStatusChange"]),[r,s]=Q("idle"),i={fallbackDelay:()=>t.fallbackDelay,imageLoadingStatus:r,onImageLoadingStatusChange:o=>{var a;s(o),(a=t.onLoadingStatusChange)==null||a.call(t,o)}};return p(cs.Provider,{value:i,get children(){return p(ve,L({as:"span"},n))}})}var Zt=Object.assign(fs,{Fallback:us,Img:ds});function ic(e){return p(Zt,{get class(){return B("inline-flex h-9 w-9 shrink-0 overflow-hidden rounded-full bg-muted",e.class)},get children(){return[p(Zt.Img,{get src(){return e.src},get alt(){return e.alt},class:"h-full w-full object-cover"}),p(Zt.Fallback,{class:"grid h-full w-full place-items-center text-xs font-medium text-muted-foreground",get children(){return e.fallback}})]}})}var oc=D('<span class="relative flex h-1.5 w-1.5"aria-hidden=true><span class="absolute inline-flex h-full w-full animate-ping rounded-full bg-current opacity-75"></span><span class="relative inline-flex h-1.5 w-1.5 rounded-full bg-current">'),ac=D("<span>");const lc={neutral:"bg-muted text-muted-foreground ring-border",success:"bg-emerald-500/15 text-emerald-300 ring-emerald-500/30 light:text-emerald-700",warning:"bg-amber-500/15 text-amber-300 ring-amber-500/30 light:text-amber-700",danger:"bg-rose-500/15 text-rose-300 ring-rose-500/30 light:text-rose-700",info:"bg-sky-500/15 text-sky-300 ring-sky-500/30 light:text-sky-700"},cc="badge inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold ring-1 ring-inset whitespace-nowrap";function uc(e){const[t,n]=le(e,["tone","class","children","pulse"]);return(()=>{var r=ac();return De(r,L({get class(){return B(cc,lc[t.tone??"neutral"],t.class)}},n),!1,!0),P(r,p(q,{get when(){return t.pulse},get children(){return oc()}}),null),P(r,()=>t.children,null),r})()}function dc(e,t){e.indexOf(t)===-1&&e.push(t)}function Mn(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Ie=(e,t,n)=>n>t?t:n<e?e:n;let Vn=()=>{};const Re={},hs=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),fc=e=>typeof e=="object"&&e!==null,ms=e=>/^0[^.\s]+$/u.test(e);function gs(e){let t;return()=>(t===void 0&&(t=e()),t)}const Xe=e=>e,$n=(...e)=>e.reduce((t,n)=>r=>n(t(r))),Pn=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class ps{constructor(){this.subscriptions=[]}add(t){return dc(this.subscriptions,t),()=>Mn(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const o=this.subscriptions[i];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const he=e=>e*1e3,ge=e=>e/1e3,bs=(e,t)=>t?e*(1e3/t):0,hc=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e},ys=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,mc=1e-7,gc=12;function pc(e,t,n,r,s){let i,o,a=0;do o=t+(n-t)/2,i=ys(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>mc&&++a<gc);return o}function yt(e,t,n,r){if(e===t&&n===r)return Xe;const s=i=>pc(i,0,1,e,n);return i=>i===0||i===1?i:ys(s(i),t,r)}const vs=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,En=e=>t=>1-e(1-t),xs=yt(.33,1.53,.69,.99),In=En(xs),ws=vs(In),ks=e=>e>=1?1:(e*=2)<1?.5*In(e):.5*(2-Math.pow(2,-10*(e-1))),Rn=e=>1-Math.sin(Math.acos(e)),bc=En(Rn),Ss=vs(Rn),yc=yt(.42,0,1,1),vc=yt(0,0,.58,1),Ts=yt(.42,0,.58,1),As=e=>Array.isArray(e)&&typeof e[0]!="number";function Cs(e,t){return As(e)?e[hc(0,e.length,t)]:e}const Ms=e=>Array.isArray(e)&&typeof e[0]=="number",xc={linear:Xe,easeIn:yc,easeInOut:Ts,easeOut:vc,circIn:Rn,circInOut:Ss,circOut:bc,backIn:In,backInOut:ws,backOut:xs,anticipate:ks},wc=e=>typeof e=="string",Vs=e=>{if(Ms(e)){Vn(e.length===4);const[t,n,r,s]=e;return yt(t,n,r,s)}else if(wc(e))return xc[e];return e},Jt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function kc(e){let t=new Set,n=new Set,r=!1,s=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(c){i.has(c)&&(l.schedule(c),e()),c(o)}const l={schedule:(c,u=!1,d=!1)=>{const h=d&&r?t:n;return u&&i.add(c),h.add(c),c},cancel:c=>{n.delete(c),i.delete(c)},process:c=>{if(o=c,r){s=!0;return}r=!0;const u=t;t=n,n=u,t.forEach(a),t.clear(),r=!1,s&&(s=!1,l.process(c))}};return l}const Sc=40;function $s(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Jt.reduce((C,T)=>(C[T]=kc(i),C),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:f,render:h,postRender:y}=o,m=()=>{const C=Re.useManualTiming,T=C?s.timestamp:performance.now();n=!1,C||(s.delta=r?1e3/60:Math.max(Math.min(T-s.timestamp,Sc),1)),s.timestamp=T,s.isProcessing=!0,a.process(s),l.process(s),c.process(s),u.process(s),d.process(s),f.process(s),h.process(s),y.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(m))},b=()=>{n=!0,r=!0,s.isProcessing||e(m)};return{schedule:Jt.reduce((C,T)=>{const A=o[T];return C[T]=(R,I=!1,g=!1)=>(n||b(),A.schedule(R,I,g)),C},{}),cancel:C=>{for(let T=0;T<Jt.length;T++)o[Jt[T]].cancel(C)},state:s,steps:o}}const{schedule:xe,cancel:On,state:Qt}=$s(typeof requestAnimationFrame<"u"?requestAnimationFrame:Xe,!0);let en;function Tc(){en=void 0}const de={now:()=>(en===void 0&&de.set(Qt.isProcessing||Re.useManualTiming?Qt.timestamp:performance.now()),en),set:e=>{en=e,queueMicrotask(Tc)}},Ps=e=>t=>typeof t=="string"&&t.startsWith(e),Es=Ps("--"),Ac=Ps("var(--"),_n=e=>Ac(e)?Cc.test(e.split("/*")[0].trim()):!1,Cc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Is(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const He={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},vt={...He,transform:e=>Ie(0,1,e)},tn={...He,default:1},xt=e=>Math.round(e*1e5)/1e5,Dn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Mc(e){return e==null}const Vc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ln=(e,t)=>n=>!!(typeof n=="string"&&Vc.test(n)&&n.startsWith(e)||t&&!Mc(n)&&Object.prototype.hasOwnProperty.call(n,t)),Rs=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,i,o,a]=r.match(Dn);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},$c=e=>Ie(0,255,e),Fn={...He,transform:e=>Math.round($c(e))},ze={test:Ln("rgb","red"),parse:Rs("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Fn.transform(e)+", "+Fn.transform(t)+", "+Fn.transform(n)+", "+xt(vt.transform(r))+")"};function Pc(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const Nn={test:Ln("#"),parse:Pc,transform:ze.transform},wt=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Te=wt("deg"),qe=wt("%"),S=wt("px"),Ec=wt("vh"),Ic=wt("vw"),Os={...qe,parse:e=>qe.parse(e)/100,transform:e=>qe.transform(e*100)},Ze={test:Ln("hsl","hue"),parse:Rs("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+qe.transform(xt(t))+", "+qe.transform(xt(n))+", "+xt(vt.transform(r))+")"},H={test:e=>ze.test(e)||Nn.test(e)||Ze.test(e),parse:e=>ze.test(e)?ze.parse(e):Ze.test(e)?Ze.parse(e):Nn.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ze.transform(e):Ze.transform(e),getAnimatableNone:e=>{const t=H.parse(e);return t.alpha=0,H.transform(t)}},Rc=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Oc(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Dn))==null?void 0:t.length)||0)+(((n=e.match(Rc))==null?void 0:n.length)||0)>0}const _s="number",Ds="color",_c="var",Dc="var(",Ls="${}",Lc=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Je(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const a=t.replace(Lc,l=>(H.test(l)?(r.color.push(i),s.push(Ds),n.push(H.parse(l))):l.startsWith(Dc)?(r.var.push(i),s.push(_c),n.push(l)):(r.number.push(i),s.push(_s),n.push(parseFloat(l))),++i,Ls)).split(Ls);return{values:n,split:a,indexes:r,types:s}}function Fc(e){return Je(e).values}function Fs({split:e,types:t}){const n=e.length;return r=>{let s="";for(let i=0;i<n;i++)if(s+=e[i],r[i]!==void 0){const o=t[i];o===_s?s+=xt(r[i]):o===Ds?s+=H.transform(r[i]):s+=r[i]}return s}}function Nc(e){return Fs(Je(e))}const zc=e=>typeof e=="number"?0:H.test(e)?H.getAnimatableNone(e):e,Bc=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:zc(e);function jc(e){const t=Je(e);return Fs(t)(t.values.map((r,s)=>Bc(r,t.split[s])))}const pe={test:Oc,parse:Fc,createTransformer:Nc,getAnimatableNone:jc};function zn(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<.16666666666666666?e+(t-e)*6*n:n<.5?t:n<.6666666666666666?e+(t-e)*(.6666666666666666-n)*6:e}function Kc({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;s=zn(l,a,e+.3333333333333333),i=zn(l,a,e),o=zn(l,a,e-.3333333333333333)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function nn(e,t){return n=>n>0?t:e}const Qe=(e,t,n)=>e+(t-e)*n,Bn=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},Gc=[Nn,ze,Ze],Wc=e=>Gc.find(t=>t.test(e));function Ns(e){const t=Wc(e);if(!t)return!1;let n=t.parse(e);return t===Ze&&(n=Kc(n)),n}const zs=(e,t)=>{const n=Ns(e),r=Ns(t);if(!n||!r)return nn(e,t);const s={...n};return i=>(s.red=Bn(n.red,r.red,i),s.green=Bn(n.green,r.green,i),s.blue=Bn(n.blue,r.blue,i),s.alpha=Qe(n.alpha,r.alpha,i),ze.transform(s))},jn=new Set(["none","hidden"]);function Uc(e,t){return jn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Yc(e,t){return n=>Qe(e,t,n)}function Kn(e){return typeof e=="number"?Yc:typeof e=="string"?_n(e)?nn:H.test(e)?zs:qc:Array.isArray(e)?Bs:typeof e=="object"?H.test(e)?zs:Xc:nn}function Bs(e,t){const n=[...e],r=n.length,s=e.map((i,o)=>Kn(i)(i,t[o]));return i=>{for(let o=0;o<r;o++)n[o]=s[o](i);return n}}function Xc(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Kn(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function Hc(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],o=e.indexes[i][r[i]],a=e.values[o]??0;n[s]=a,r[i]++}return n}const qc=(e,t)=>{const n=pe.createTransformer(t),r=Je(e),s=Je(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?jn.has(e)&&!s.values.length||jn.has(t)&&!r.values.length?Uc(e,t):$n(Bs(Hc(r,s),s.values),n):nn(e,t)};function js(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Qe(e,t,n):Kn(e)(e,t)}const Zc=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>xe.update(t,n),stop:()=>On(t),now:()=>Qt.isProcessing?Qt.timestamp:de.now()}},Ks=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let i=0;i<s;i++)r+=Math.round(e(i/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},rn=2e4;function Gn(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<rn;)t+=n,r=e.next(t);return t>=rn?1/0:t}function Gs(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(Gn(r),rn);return{type:"keyframes",ease:i=>r.next(s*i).value/t,duration:ge(s)}}const j={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Wn(e,t){return e*Math.sqrt(1-t*t)}const Jc=12;function Qc(e,t,n){let r=n;for(let s=1;s<Jc;s++)r=r-e(r)/t(r);return r}const Un=.001;function eu({duration:e=j.duration,bounce:t=j.bounce,velocity:n=j.velocity,mass:r=j.mass}){let s,i,o=1-t;o=Ie(j.minDamping,j.maxDamping,o),e=Ie(j.minDuration,j.maxDuration,ge(e)),o<1?(s=c=>{const u=c*o,d=u*e,f=u-n,h=Wn(c,o),y=Math.exp(-d);return Un-f/h*y},i=c=>{const d=c*o*e,f=d*n+n,h=Math.pow(o,2)*Math.pow(c,2)*e,y=Math.exp(-d),m=Wn(Math.pow(c,2),o);return(-s(c)+Un>0?-1:1)*((f-h)*y)/m}):(s=c=>{const u=Math.exp(-c*e),d=(c-n)*e+1;return-Un+u*d},i=c=>{const u=Math.exp(-c*e),d=(n-c)*(e*e);return u*d});const a=5/e,l=Qc(s,i,a);if(e=he(e),isNaN(l))return{stiffness:j.stiffness,damping:j.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:o*2*Math.sqrt(r*c),duration:e}}}const tu=["duration","bounce"],nu=["stiffness","damping","mass"];function Ws(e,t){return t.some(n=>e[n]!==void 0)}function ru(e){let t={velocity:j.velocity,stiffness:j.stiffness,damping:j.damping,mass:j.mass,isResolvedFromDuration:!1,...e};if(!Ws(e,nu)&&Ws(e,tu))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,i=2*Ie(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:j.mass,stiffness:s,damping:i}}else{const n=eu({...e,velocity:0});t={...t,...n,mass:j.mass},t.isResolvedFromDuration=!0}return t}function kt(e=j.visualDuration,t=j.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:c,mass:u,duration:d,velocity:f,isResolvedFromDuration:h}=ru({...n,velocity:-ge(n.velocity||0)}),y=f||0,m=c/(2*Math.sqrt(l*u)),b=o-i,v=ge(Math.sqrt(l/u)),x=Math.abs(b)<5;r||(r=x?j.restSpeed.granular:j.restSpeed.default),s||(s=x?j.restDelta.granular:j.restDelta.default);let C,T,A,R,I,g;if(m<1)A=Wn(v,m),R=(y+m*v*b)/A,C=M=>{const _=Math.exp(-m*v*M);return o-_*(R*Math.sin(A*M)+b*Math.cos(A*M))},I=m*v*R+b*A,g=m*v*b-R*A,T=M=>Math.exp(-m*v*M)*(I*Math.sin(A*M)+g*Math.cos(A*M));else if(m===1){C=_=>o-Math.exp(-v*_)*(b+(y+v*b)*_);const M=y+v*b;T=_=>Math.exp(-v*_)*(v*M*_-y)}else{const M=v*Math.sqrt(m*m-1);C=J=>{const ae=Math.exp(-m*v*J),Y=Math.min(M*J,300);return o-ae*((y+m*v*b)*Math.sinh(Y)+M*b*Math.cosh(Y))/M};const _=(y+m*v*b)/M,z=m*v*_-b*M,oe=m*v*b-_*M;T=J=>{const ae=Math.exp(-m*v*J),Y=Math.min(M*J,300);return ae*(z*Math.sinh(Y)+oe*Math.cosh(Y))}}const V={calculatedDuration:h&&d||null,velocity:M=>he(T(M)),next:M=>{if(!h&&m<1){const z=Math.exp(-m*v*M),oe=Math.sin(A*M),J=Math.cos(A*M),ae=o-z*(R*oe+b*J),Y=he(z*(I*oe+g*J));return a.done=Math.abs(Y)<=r&&Math.abs(o-ae)<=s,a.value=a.done?o:ae,a}const _=C(M);if(h)a.done=M>=d;else{const z=he(T(M));a.done=Math.abs(z)<=r&&Math.abs(o-_)<=s}return a.value=a.done?o:_,a},toString:()=>{const M=Math.min(Gn(V),rn),_=Ks(z=>V.next(M*z).value,M,30);return M+"ms "+_},toTransition:()=>{}};return V}kt.applyToOptions=e=>{const t=Gs(e,100,kt);return e.ease=t.ease,e.duration=he(t.duration),e.type="keyframes",e};const su=5;function Us(e,t,n){const r=Math.max(t-su,0);return bs(n-e(r),t-r)}function Yn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},h=g=>a!==void 0&&g<a||l!==void 0&&g>l,y=g=>a===void 0?l:l===void 0||Math.abs(a-g)<Math.abs(l-g)?a:l;let m=n*t;const b=d+m,v=o===void 0?b:o(b);v!==b&&(m=v-d);const x=g=>-m*Math.exp(-g/r),C=g=>v+x(g),T=g=>{const V=x(g),M=C(g);f.done=Math.abs(V)<=c,f.value=f.done?v:M};let A,R;const I=g=>{h(f.value)&&(A=g,R=kt({keyframes:[f.value,y(f.value)],velocity:Us(C,g,f.value),damping:s,stiffness:i,restDelta:c,restSpeed:u}))};return I(0),{calculatedDuration:null,next:g=>{let V=!1;return!R&&A===void 0&&(V=!0,T(g),I(g)),A!==void 0&&g>=A?R.next(g-A):(!V&&T(g),f)}}}function iu(e,t,n){const r=[],s=n||Re.mix||js,i=e.length-1;for(let o=0;o<i;o++){let a=s(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||Xe:t;a=$n(l,a)}r.push(a)}return r}function ou(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(Vn(i===t.length),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=iu(t,r,s),l=a.length,c=u=>{if(o&&u<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(u<e[d+1]);d++);const f=Pn(e[d],e[d+1],u);return a[d](f)};return n?u=>c(Ie(e[0],e[i-1],u)):c}function Ys(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=Pn(0,t,r);e.push(Qe(n,1,s))}}function Xs(e){const t=[0];return Ys(t,e.length-1),t}function au(e,t){return e.map(n=>n*t)}function lu(e,t){return e.map(()=>t||Ts).splice(0,e.length-1)}function St({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=As(r)?r.map(Vs):Vs(r),i={done:!1,value:t[0]},o=au(n&&n.length===t.length?n:Xs(t),e),a=ou(o,t,{ease:Array.isArray(s)?s:lu(t,s)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const cu=e=>e!==null;function sn(e,{repeat:t,repeatType:n="loop"},r,s=1){const i=e.filter(cu),a=s<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const uu={decay:Yn,inertia:Yn,tween:St,keyframes:St,spring:kt};function Hs(e){typeof e.type=="string"&&(e.type=uu[e.type])}class Xn{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const du=e=>e/100;class on extends Xn{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==de.now()&&this.tick(de.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Hs(t);const{type:n=St,repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=t;let{keyframes:a}=t;const l=n||St;l!==St&&typeof a[0]!="number"&&(this.mixKeyframes=$n(du,js(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=Gn(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:u,repeat:d,repeatType:f,repeatDelay:h,type:y,onUpdate:m,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?v<0:v>s;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let C=this.currentTime,T=r;if(d){const g=Math.min(this.currentTime,s)/a;let V=Math.floor(g),M=g%1;!M&&g>=1&&(M=1),M===1&&V--,V=Math.min(V,d+1),!!(V%2)&&(f==="reverse"?(M=1-M,h&&(M-=h/a)):f==="mirror"&&(T=o)),C=Ie(0,1,M)*a}let A;x?(this.delayState.value=u[0],A=this.delayState):A=T.next(C),i&&!x&&(A.value=i(A.value));let{done:R}=A;!x&&l!==null&&(R=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&R);return I&&y!==Yn&&(A.value=sn(u,this.options,b,this.speed)),m&&m(A.value),I&&this.finish(),A}then(t,n){return this.finished.then(t,n)}get duration(){return ge(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ge(t)}get time(){return ge(this.currentTime)}set time(t){t=he(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return Us(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(de.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=ge(this.currentTime))}play(){var s,i;if(this.isStopped)return;const{driver:t=Zc,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(s=this.options).onPlay)==null||i.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(de.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function fu(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Be=e=>e*180/Math.PI,Hn=e=>{const t=Be(Math.atan2(e[1],e[0]));return qn(t)},hu={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Hn,rotateZ:Hn,skewX:e=>Be(Math.atan(e[1])),skewY:e=>Be(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},qn=e=>(e=e%360,e<0&&(e+=360),e),qs=Hn,Zs=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Js=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),mu={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Zs,scaleY:Js,scale:e=>(Zs(e)+Js(e))/2,rotateX:e=>qn(Be(Math.atan2(e[6],e[5]))),rotateY:e=>qn(Be(Math.atan2(-e[2],e[0]))),rotateZ:qs,rotate:qs,skewX:e=>Be(Math.atan(e[4])),skewY:e=>Be(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Zn(e){return e.includes("scale")?1:0}function Jn(e,t){if(!e||e==="none")return Zn(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=mu,s=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=hu,s=a}if(!s)return Zn(t);const i=r[t],o=s[1].split(",").map(pu);return typeof i=="function"?i(o):o[i]}const gu=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Jn(n,t)};function pu(e){return parseFloat(e.trim())}const et=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],tt=new Set([...et,"pathRotation"]),Qs=e=>e===He||e===S,bu=new Set(["x","y","z"]),yu=et.filter(e=>!bu.has(e));function vu(e){const t=[];return yu.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Oe={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Jn(t,"x"),y:(e,{transform:t})=>Jn(t,"y")};Oe.translateX=Oe.x,Oe.translateY=Oe.y;const je=new Set;let Qn=!1,er=!1,tr=!1;function ei(){if(er){const e=Array.from(je).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=vu(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,o])=>{var a;(a=r.getValue(i))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}er=!1,Qn=!1,je.forEach(e=>e.complete(tr)),je.clear()}function ti(){je.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(er=!0)})}function xu(){tr=!0,ti(),ei(),tr=!1}class nr{constructor(t,n,r,s,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(je.add(this),Qn||(Qn=!0,xe.read(ti),xe.resolveKeyframes(ei))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const i=s==null?void 0:s.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),s&&i===void 0&&s.set(t[0])}fu(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),je.delete(this)}cancel(){this.state==="scheduled"&&(je.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const wu=e=>e.startsWith("--");function ni(e,t,n){wu(t)?e.style.setProperty(t,n):e.style[t]=n}const ku={};function ri(e,t){const n=gs(e);return()=>ku[t]??n()}const Su=ri(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),si=ri(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Tt=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ii={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Tt([0,.65,.55,1]),circOut:Tt([.55,0,1,.45]),backIn:Tt([.31,.01,.66,-.59]),backOut:Tt([.33,1.53,.69,.99])};function oi(e,t){if(e)return typeof e=="function"?si()?Ks(e,t):"ease-out":Ms(e)?Tt(e):Array.isArray(e)?e.map(n=>oi(n,t)||ii.easeOut):ii[e]}function Tu(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:o="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const d=oi(a,s);Array.isArray(d)&&(u.easing=d);const f={delay:r,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),e.animate(u,f)}function rr(e){return typeof e=="function"&&"applyToOptions"in e}function Au({type:e,...t}){return rr(e)&&si()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class ai extends Xn{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,Vn(typeof t.type!="string");const c=Au(t);this.animation=Tu(n,r,s,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const u=sn(s,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(u),ni(n,r,u),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return ge(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ge(t)}get time(){return ge(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=he(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:s}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&Su()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),Xe):s(this)}}const li={anticipate:ks,backInOut:ws,circInOut:Ss};function Cu(e){return e in li}function Mu(e){typeof e.ease=="string"&&Cu(e.ease)&&(e.ease=li[e.ease])}const sr=10;class Vu extends ai{constructor(t){Mu(t),Hs(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:i,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new on({...o,autoplay:!1}),l=Math.max(sr,de.now()-this.startTime),c=Ie(0,sr,l-sr),u=a.sample(l).value,{name:d}=this.options;i&&d&&ni(i,d,u),n.setWithVelocity(a.sample(Math.max(0,l-c)).value,u,c),a.stop()}}const ci=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(pe.test(e)||e==="0")&&!e.startsWith("url("));function $u(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Pu(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],o=ci(s,t),a=ci(i,t);return!o||!a?!1:$u(e)||(n==="spring"||rr(n))&&r}function ir(e){e.duration=0,e.type="keyframes"}const ui=new Set(["opacity","clipPath","filter","transform"]),Eu=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Iu(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&Eu.test(e[t]))return!0;return!1}const Ru=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Ou=gs(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function _u(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:i,type:o,keyframes:a}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return Ou()&&n&&(ui.has(n)||Ru.has(n)&&Iu(a))&&(n!=="transform"||!u)&&!c&&!r&&s!=="mirror"&&i!==0&&o!=="inertia"}const Du=40;class Lu extends Xn{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:o="loop",keyframes:a,name:l,motionValue:c,element:u,...d}){var y;super(),this.stop=()=>{var m,b;this._animation&&(this._animation.stop(),(m=this.stopTimeline)==null||m.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=de.now();const f={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:o,name:l,motionValue:c,element:u,...d},h=(u==null?void 0:u.KeyframeResolver)||nr;this.keyframeResolver=new h(a,(m,b,v)=>this.onKeyframesResolved(m,b,f,!v),l,c,u),(y=this.keyframeResolver)==null||y.scheduleResolve()}onKeyframesResolved(t,n,r,s){var v,x;this.keyframeResolver=void 0;const{name:i,type:o,velocity:a,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=de.now();let d=!0;Pu(t,i,o,a)||(d=!1,(Re.instantAnimations||!l)&&(u==null||u(sn(t,r,n))),t[0]=t[t.length-1],ir(r),r.repeat=0);const h={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>Du?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},y=d&&!c&&_u(h),m=(x=(v=h.motionValue)==null?void 0:v.owner)==null?void 0:x.current;let b;if(y)try{b=new Vu({...h,element:m})}catch{b=new on(h)}else b=new on(h);b.finished.then(()=>{this.notifyFinished()}).catch(Xe),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),xu()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}class Fu{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t){const n=this.animations.map(r=>r.attachTimeline(t));return()=>{n.forEach((r,s)=>{r&&r(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return di(this.animations,"duration")}get iterationDuration(){return di(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function di(e,t){let n=0;for(let r=0;r<e.length;r++){const s=e[r][t];s!==null&&s>n&&(n=s)}return n}class Nu extends Fu{then(t,n){return this.finished.finally(t).then(()=>{})}}const fi=30,zu=e=>!isNaN(parseFloat(e));class Bu{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const s=de.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=de.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=zu(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new ps);const r=this.events[t].add(n);return t==="change"?()=>{r(),xe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=de.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>fi)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,fi);return bs(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function nt(e,t){return new Bu(e,t)}function hi(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function mi(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?hi(n,e):n}const ju={type:"spring",stiffness:500,damping:25,restSpeed:10},Ku=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Gu={type:"keyframes",duration:.8},Wu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Uu=(e,{keyframes:t})=>t.length>2?Gu:tt.has(e)?e.startsWith("scale")?Ku(t[1]):ju:Wu,Yu=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Xu(e){for(const t in e)if(!Yu.has(t))return!0;return!1}const gi=(e,t,n,r={},s,i)=>o=>{const a=mi(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-he(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:s};Xu(a)||Object.assign(u,Uu(e,u)),u.duration&&(u.duration=he(u.duration)),u.repeatDelay&&(u.repeatDelay=he(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ir(u),u.delay===0&&(d=!0)),(Re.instantAnimations||Re.skipAnimations||s!=null&&s.shouldSkipAnimations||a.skipAnimations)&&(d=!0,ir(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,d&&!i&&t.get()!==void 0){const f=sn(u.keyframes,a);if(f!==void 0){xe.update(()=>{u.onUpdate(f),u.onComplete()});return}}return a.isSync?new on(u):new Lu(u)},Hu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qu(e){const t=Hu.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}function pi(e,t,n=1){const[r,s]=qu(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return hs(o)?parseFloat(o):o}return _n(s)?pi(s,t,n+1):s}function bi(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function yi(e,t,n,r){if(typeof t=="function"){const[s,i]=bi(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=bi(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function Zu(e,t,n){const r=e.getProps();return yi(r,t,r.custom,e)}const vi=new Set(["width","height","top","left","right","bottom",...et]),Ju=e=>Array.isArray(e);function Qu(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,nt(n))}function ed(e){return Ju(e)?e[e.length-1]||0:e}function td(e,t){const n=Zu(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const o in i){const a=ed(i[o]);Qu(e,o,a)}}const ce=e=>!!(e&&e.getVelocity);function nd(e){return!!(ce(e)&&e.add)}function rd(e,t){const n=e.getValue("willChange");if(nd(n))return n.add(t);if(!n&&Re.WillChange){const r=new Re.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function or(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const sd="data-"+or("framerAppearId");function id(e){return e.props[sd]}function od({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ad(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:i,transitionEnd:o,...a}=t;const l=e.getDefaultTransition();i=i?hi(i,l):l;const c=i==null?void 0:i.reduceMotion,u=i==null?void 0:i.skipAnimations;r&&(i=r);const d=[],f=s&&e.animationState&&e.animationState.getState()[s],h=i==null?void 0:i.path;h&&h.animateVisualElement(e,a,i,n,d);for(const y in a){const m=e.getValue(y,e.latestValues[y]??null),b=a[y];if(b===void 0||f&&od(f,y))continue;const v={delay:n,...mi(i||{},y)};u&&(v.skipAnimations=!0);const x=m.get();if(x!==void 0&&!m.isAnimating()&&!Array.isArray(b)&&b===x&&!v.velocity){xe.update(()=>m.set(b));continue}let C=!1;if(window.MotionHandoffAnimation){const R=id(e);if(R){const I=window.MotionHandoffAnimation(R,y,xe);I!==null&&(v.startTime=I,C=!0)}}rd(e,y);const T=c??e.shouldReduceMotion;m.start(gi(y,m,b,T&&vi.has(y)?{type:!1}:v,e,C));const A=m.animation;A&&d.push(A)}if(o){const y=()=>xe.update(()=>{o&&td(e,o)});d.length?Promise.all(d).then(y):y()}return d}const ld={test:e=>e==="auto",parse:e=>e},xi=e=>t=>t.test(e),wi=[He,S,qe,Te,Ic,Ec,ld],ki=e=>wi.find(xi(e));function cd(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ms(e):!0}const ud=new Set(["brightness","contrast","saturate","opacity"]);function dd(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Dn)||[];if(!r)return e;const s=n.replace(r,"");let i=ud.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const fd=/\b([a-z-]*)\(.*?\)/gu,ar={...pe,getAnimatableNone:e=>{const t=e.match(fd);return t?t.map(dd).join(" "):e}},lr={...pe,getAnimatableNone:e=>{const t=pe.parse(e);return pe.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Si={...He,transform:Math.round},an={borderWidth:S,borderTopWidth:S,borderRightWidth:S,borderBottomWidth:S,borderLeftWidth:S,borderRadius:S,borderTopLeftRadius:S,borderTopRightRadius:S,borderBottomRightRadius:S,borderBottomLeftRadius:S,width:S,maxWidth:S,height:S,maxHeight:S,top:S,right:S,bottom:S,left:S,inset:S,insetBlock:S,insetBlockStart:S,insetBlockEnd:S,insetInline:S,insetInlineStart:S,insetInlineEnd:S,padding:S,paddingTop:S,paddingRight:S,paddingBottom:S,paddingLeft:S,paddingBlock:S,paddingBlockStart:S,paddingBlockEnd:S,paddingInline:S,paddingInlineStart:S,paddingInlineEnd:S,margin:S,marginTop:S,marginRight:S,marginBottom:S,marginLeft:S,marginBlock:S,marginBlockStart:S,marginBlockEnd:S,marginInline:S,marginInlineStart:S,marginInlineEnd:S,fontSize:S,backgroundPositionX:S,backgroundPositionY:S,...{rotate:Te,pathRotation:Te,rotateX:Te,rotateY:Te,rotateZ:Te,scale:tn,scaleX:tn,scaleY:tn,scaleZ:tn,skew:Te,skewX:Te,skewY:Te,distance:S,translateX:S,translateY:S,translateZ:S,x:S,y:S,z:S,perspective:S,transformPerspective:S,opacity:vt,originX:Os,originY:Os,originZ:S},zIndex:Si,fillOpacity:vt,strokeOpacity:vt,numOctaves:Si},hd={...an,color:H,backgroundColor:H,outlineColor:H,fill:H,stroke:H,borderColor:H,borderTopColor:H,borderRightColor:H,borderBottomColor:H,borderLeftColor:H,filter:ar,WebkitFilter:ar,mask:lr,WebkitMask:lr},Ti=e=>hd[e],md=new Set([ar,lr]);function Ai(e,t){let n=Ti(e);return md.has(n)||(n=pe),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const gd=new Set(["auto","none","0"]);function pd(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i=="string"&&!gd.has(i)&&Je(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=Ai(n,s)}class bd extends nr{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let d=t[u];if(typeof d=="string"&&(d=d.trim(),_n(d))){const f=pi(d,n.current);f!==void 0&&(t[u]=f),u===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!vi.has(r)||t.length!==2)return;const[s,i]=t,o=ki(s),a=ki(i),l=Is(s),c=Is(i);if(l!==c&&Oe[r]){this.needsMeasurement=!0;return}if(o!==a)if(Qs(o)&&Qs(a))for(let u=0;u<t.length;u++){const d=t[u];typeof d=="string"&&(t[u]=parseFloat(d))}else Oe[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||cd(t[s]))&&r.push(s);r.length&&pd(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Oe[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const i=r.length-1,o=r[i];r[i]=Oe[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}const yd=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function vd(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);const s=(n==null?void 0:n[e])??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const cr=(e,t)=>t&&typeof e=="number"?t.transform(e):e,{schedule:xd}=$s(queueMicrotask,!1);function Ci(e){return fc(e)&&"ownerSVGElement"in e}function wd(e){return Ci(e)&&e.tagName==="svg"}const kd=[...wi,H,pe],Sd=e=>kd.find(xi(e)),Mi=()=>({min:0,max:0}),ur=()=>({x:Mi(),y:Mi()}),At=new WeakMap;function Td(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ad(e){return typeof e=="string"||Array.isArray(e)}const Cd=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Vi(e){return Td(e.animate)||Cd.some(t=>Ad(e[t]))}function Md(e){return!!(Vi(e)||e.variants)}function Vd(e,t,n){for(const r in t){const s=t[r],i=n[r];if(ce(s))e.addValue(r,s);else if(ce(i))e.addValue(r,nt(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(r);e.addValue(r,nt(o!==void 0?o:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const dr={current:null},$i={current:!1},$d=typeof window<"u";function Pd(){if($i.current=!0,!!$d)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>dr.current=e.matches;e.addEventListener("change",t),t()}else dr.current=!1}const Pi=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ei={};class Ii{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:i,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=nr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=de.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,xe.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=Vi(n),this.isVariantNode=Md(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const y=f[h];c[h]!==void 0&&ce(y)&&y.set(c[h])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,At.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,i)=>this.bindToMotionValue(i,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:($i.current||Pd(),this.shouldReduceMotion=dr.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),On(this.notifyUpdate),On(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&ui.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:c,duration:u}=n.accelerate,d=new ai({element:this.current,name:t,keyframes:a,times:l,ease:c,duration:he(u)}),f=o(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=tt.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&xe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ei){const n=Ei[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ur()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Pi.length;r++){const s=Pi[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,o=t[i];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=Vd(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=nt(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(hs(r)||ms(r))?r=parseFloat(r):!Sd(r)&&pe.test(n)&&(r=Ai(t,n)),this.setBaseTarget(t,ce(r)?r.get():r)),ce(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=yi(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!ce(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ps),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){xd.render(this.render)}}class Ri extends Ii{constructor(){super(...arguments),this.KeyframeResolver=bd}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ce(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Ed({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Id(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Rd(e,t){return Ed(Id(e.getBoundingClientRect(),t))}const Od={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_d=et.length;function Dd(e,t,n){let r="",s=!0;for(let o=0;o<_d;o++){const a=et[o],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(a.startsWith("scale")?1:0);else{const u=parseFloat(l);c=a.startsWith("scale")?u===1:u===0}if(!c||n){const u=cr(l,an[a]);if(!c){s=!1;const d=Od[a]||a;r+=`${d}(${u}) `}n&&(t[a]=u)}}const i=e.pathRotation;return i&&(s=!1,r+=`rotate(${cr(i,an.pathRotation)}) `),r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function Oi(e,t,n){const{style:r,vars:s,transformOrigin:i}=e;let o=!1,a=!1;for(const l in t){const c=t[l];if(tt.has(l)){o=!0;continue}else if(Es(l)){s[l]=c;continue}else{const u=cr(c,an[l]);l.startsWith("origin")?(a=!0,i[l]=u):r[l]=u}}if(t.transform||(o||n?r.transform=Dd(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=i;r.transformOrigin=`${l} ${c} ${u}`}}function _i(e,{style:t,vars:n},r,s){const i=e.style;let o;for(o in t)i[o]=t[o];s==null||s.applyProjectionStyles(i,r);for(o in n)i.setProperty(o,n[o])}function Di(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ct={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(S.test(e))e=parseFloat(e);else return e;const n=Di(e,t.target.x),r=Di(e,t.target.y);return`${n}% ${r}%`}},Ld={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=pe.parse(e);if(s.length>5)return r;const i=pe.createTransformer(e),o=typeof s[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;s[0+o]/=a,s[1+o]/=l;const c=Qe(a,l,.5);return typeof s[2+o]=="number"&&(s[2+o]/=c),typeof s[3+o]=="number"&&(s[3+o]/=c),i(s)}},Fd={borderRadius:{...Ct,applyTo:[...yd]},borderTopLeftRadius:Ct,borderTopRightRadius:Ct,borderBottomLeftRadius:Ct,borderBottomRightRadius:Ct,boxShadow:Ld};function Nd(e,{layout:t,layoutId:n}){return tt.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Fd[e]||e==="opacity")}function Li(e,t,n){var o;const r=e.style,s=t==null?void 0:t.style,i={};if(!r)return i;for(const a in r)(ce(r[a])||s&&ce(s[a])||Nd(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(i[a]=r[a]);return i}function zd(e){return window.getComputedStyle(e)}class Bd extends Ri{constructor(){super(...arguments),this.type="html",this.renderInstance=_i}readValueFromInstance(t,n){var r;if(tt.has(n))return(r=this.projection)!=null&&r.isProjecting?Zn(n):gu(t,n);{const s=zd(t),i=(Es(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Rd(t,n)}build(t,n,r){Oi(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Li(t,n,r)}}function jd(e,t){return e in t}class Kd extends Ii{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(jd(n,t)){const r=t[n];if(typeof r=="string"||typeof r=="number")return r}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return ur()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}const Gd={offset:"stroke-dashoffset",array:"stroke-dasharray"},Wd={offset:"strokeDashoffset",array:"strokeDasharray"};function Ud(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?Gd:Wd;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const Yd=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Xd(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:i=1,pathOffset:o=0,...a},l,c,u){if(Oi(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete d.transformBox);for(const h of Yd)d[h]!==void 0&&(f[h]=d[h],delete d[h]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),s!==void 0&&Ud(d,s,i,o,!1)}const Fi=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Hd=e=>typeof e=="string"&&e.toLowerCase()==="svg";function qd(e,t,n,r){_i(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(Fi.has(s)?s:or(s),t.attrs[s])}function Zd(e,t,n){const r=Li(e,t,n);for(const s in e)if(ce(e[s])||ce(t[s])){const i=et.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}class Jd extends Ri{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ur}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(tt.has(n)){const r=Ti(n);return r&&r.default||0}return n=Fi.has(n)?n:or(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Zd(t,n,r)}build(t,n,r){Xd(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){qd(t,n,r,s)}mount(t){this.isSVGTag=Hd(t.tagName),super.mount(t)}}function Qd(e,t,n){const r=ce(e)?e:nt(e);return r.start(gi("",r,t,n)),r.animation}function fr(e){return typeof e=="object"&&!Array.isArray(e)}function Ni(e,t,n,r){return e==null?[]:typeof e=="string"&&fr(t)?vd(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(s=>s!=null):[e]}function ef(e,t,n){return e*(t+1)+n*t}function zi(e,t,n,r){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}function tf(e,t,n){for(let r=0;r<e.length;r++){const s=e[r];s.at>t&&s.at<n&&(Mn(e,s),r--)}}function nf(e,t,n,r,s,i){tf(e,s,i);for(let o=0;o<t.length;o++)e.push({value:t[o],at:Qe(s,i,r[o]),easing:Cs(n,o)})}function rf(e,t,n=0){const r=t+1+t*n;for(let s=0;s<e.length;s++)e[s]=e[s]/r}function sf(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const of="easeInOut",af=20;function lf(e,{defaultTransition:t={},...n}={},r,s){const i=t.duration||.3,o=new Map,a=new Map,l={},c=new Map;let u=0,d=0,f=0;for(let h=0;h<e.length;h++){const y=e[h];if(typeof y=="string"){c.set(y,d);continue}else if(!Array.isArray(y)){c.set(y.name,zi(d,y.at,u,c));continue}let[m,b,v={}]=y;v.at!==void 0&&(d=zi(d,v.at,u,c));let x=0;const C=(T,A,R,I=0,g=0)=>{const V=cf(T),{delay:M=0,times:_=Xs(V),type:z=t.type||"keyframes",repeat:oe,repeatType:J,repeatDelay:ae=0,...Y}=A;let{ease:ee=t.ease||"easeOut",duration:ue}=A;const st=typeof M=="function"?M(I,g):M,$=V.length,Ot=rr(z)?z:s==null?void 0:s[z||"keyframes"];if($<=2&&Ot){let K=100;if($===2&&ff(V)){const _e=V[1]-V[0];K=Math.abs(_e)}const G={...t,...Y};ue!==void 0&&(G.duration=he(ue));const Ae=Gs(G,K,Ot);ee=Ae.ease,ue=Ae.duration}ue??(ue=i);const _t=d+st;_.length===1&&_[0]===0&&(_[1]=1);const Dt=_.length-V.length;if(Dt>0&&Ys(_,Dt),V.length===1&&V.unshift(null),oe&&oe<af){const K=ue>0?ae/ue:0;ue=ef(ue,oe,ae);const G=[...V],Ae=[..._];ee=Array.isArray(ee)?[...ee]:[ee];const _e=[...ee],X=J==="reverse"||J==="mirror";let Lt=G,Ke=_e;X&&(Lt=[...G].reverse(),J==="reverse"&&(Ke=[..._e].reverse().map(fe=>typeof fe=="function"?En(fe):fe)));for(let fe=0;fe<oe;fe++){const ot=X&&fe%2===0,Ge=ot?Lt:G,Yh=ot?Ke:_e,xo=(fe+1)*(1+K);K>0&&(V.push(V[V.length-1]),_.push(xo),ee.push("linear")),V.push(...Ge);for(let Ft=0;Ft<Ge.length;Ft++)_.push(Ae[Ft]+xo),ee.push(Ft===0?"linear":Cs(Yh,Ft-1))}rf(_,oe,K)}const it=_t+ue;nf(R,V,ee,_,_t,it),x=Math.max(st+ue,x),f=Math.max(it,f)};if(ce(m)){const T=Bi(m,a);C(b,v,ji("default",T))}else{const T=Ni(m,b,r,l),A=T.length;for(let R=0;R<A;R++){b=b,v=v;const I=T[R],g=Bi(I,a);for(const V in b)C(b[V],uf(v,V),ji(V,g),R,A)}}u=d,d+=x}return a.forEach((h,y)=>{for(const m in h){const b=h[m];b.sort(sf);const v=[],x=[],C=[];for(let I=0;I<b.length;I++){const{at:g,value:V,easing:M}=b[I];v.push(V),x.push(Pn(0,f,g)),C.push(M||"easeOut")}x[0]!==0&&(x.unshift(0),v.unshift(v[0]),C.unshift(of)),x[x.length-1]!==1&&(x.push(1),v.push(null)),o.has(y)||o.set(y,{keyframes:{},transition:{}});const T=o.get(y);T.keyframes[m]=v;const{type:A,...R}=t;T.transition[m]={...R,duration:f,ease:C,times:x,...n}}}),o}function Bi(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function ji(e,t){return t[e]||(t[e]=[]),t[e]}function cf(e){return Array.isArray(e)?e:[e]}function uf(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const df=e=>typeof e=="number",ff=e=>e.every(df);function hf(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=Ci(e)&&!wd(e)?new Jd(t):new Bd(t);n.mount(e),At.set(e,n)}function mf(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new Kd(t);n.mount(e),At.set(e,n)}function gf(e,t){return ce(e)||typeof e=="number"||typeof e=="string"&&!fr(t)}function Ki(e,t,n,r){const s=[];if(gf(e,t))s.push(Qd(e,fr(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return s;const i=Ni(e,t,r),o=i.length;for(let a=0;a<o;a++){const l=i[a],c=l instanceof Element?hf:mf;At.has(l)||c(l);const u=At.get(l),d={...n};"delay"in d&&typeof d.delay=="function"&&(d.delay=d.delay(a,o)),s.push(...ad(u,{...t,transition:d},{}))}}return s}function pf(e,t,n){const r=[],s=e.map(o=>{if(Array.isArray(o)&&typeof o[0]=="function"){const a=o[0],l=nt(0);return l.on("change",a),o.length===1?[l,[0,1]]:o.length===2?[l,[0,1],o[1]]:[l,o[1],o[2]]}return o});return lf(s,t,n,{spring:kt}).forEach(({keyframes:o,transition:a},l)=>{r.push(...Ki(l,o,a))}),r}function bf(e){return Array.isArray(e)&&e.some(Array.isArray)}function yf(e={}){const{scope:t,reduceMotion:n,skipAnimations:r}=e;function s(i,o,a){let l=[],c;const u={};if(n!==void 0&&(u.reduceMotion=n),r!==void 0&&(u.skipAnimations=r),bf(i)){const{onComplete:f,...h}=o||{};typeof f=="function"&&(c=f),l=pf(i,{...u,...h},t)}else{const{onComplete:f,...h}=a||{};typeof f=="function"&&(c=f),l=Ki(i,o,{...u,...h},t)}const d=new Nu(l);return c&&d.finished.then(c),t&&(t.animations.push(d),d.finished.then(()=>{Mn(t.animations,d)})),d}return s}const Gi=yf(),vf="a4ui-effects";function xf(){try{return window.localStorage}catch{return null}}function wf(){var t;try{if(new URLSearchParams(window.location.search).get("calm")==="1")return!1}catch{}const e=(t=xf())==null?void 0:t.getItem(vf);return e===null?!0:e==="1"}function kf(e){typeof document>"u"||document.documentElement.classList.toggle("calm",!e)}const Wi=wf();kf(Wi);const[Sf]=Q(Wi);function Tf(){return!Sf()}const Af="(prefers-reduced-motion: reduce)";function Cf(){return typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia(Af).matches}const Mf="a4ui-motion-forced";function Vf(){try{return window.localStorage}catch{return null}}const[Ui]=Q(((vo=Vf())==null?void 0:vo.getItem(Mf))==="1");typeof document<"u"&&document.documentElement.classList.toggle("force-motion",re(Ui));function Mt(){return Tf()||Cf()&&!Ui()}function $f(e,t=600){const[n,r]=Q(0);let s;return Me(()=>{const i=e();if(s==null||s.stop(),Mt()){r(i);return}const o=re(n);o!==i&&(s=Gi(o,i,{duration:t/1e3,ease:"easeOut",onUpdate:a=>r(a)}))}),me(()=>s==null?void 0:s.stop()),n}function Pf(e,t={}){Mt()||Gi(e,{opacity:[0,1],y:[t.y??8,0]},{duration:t.duration??.32,delay:t.delay??0,ease:"easeOut"})}function Ef(e,t,n={}){if(Mt())return;const r=e.getBoundingClientRect(),s=t.clientX-r.left,i=t.clientY-r.top,o=2*Math.max(Math.hypot(s,i),Math.hypot(r.width-s,i),Math.hypot(s,r.height-i),Math.hypot(r.width-s,r.height-i)),a=document.createElement("span");a.setAttribute("aria-hidden","true"),Object.assign(a.style,{position:"absolute",left:`${s}px`,top:`${i}px`,width:`${o}px`,height:`${o}px`,borderRadius:"9999px",background:n.color??"currentColor",pointerEvents:"none",transform:"translate(-50%,-50%) scale(0)"}),e.appendChild(a);const l=a.animate([{transform:"translate(-50%,-50%) scale(0)",opacity:String(n.opacity??.3)},{transform:"translate(-50%,-50%) scale(1)",opacity:"0"}],{duration:600,easing:"ease-out"}),c=()=>a.remove();l.finished.then(c).catch(c)}mt(["pointerdown"]);var If=D("<a>"),Rf=D("<button>");const Of={primary:"bg-primary text-primary-foreground hover:bg-primary/90",secondary:"bg-muted text-foreground hover:bg-muted/70",outline:"border border-border bg-transparent text-foreground hover:bg-muted",ghost:"bg-transparent text-foreground hover:bg-muted"},_f="inline-flex items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition-[color,background-color,transform] duration-150 active:scale-[0.97] focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none disabled:opacity-50";function Df(e){const[t,n]=le(e,["variant","class","type","children","ripple","onPointerDown","href","target","rel"]),r=()=>B(_f,Of[t.variant??"primary"],t.ripple&&"relative overflow-hidden",t.class),s=i=>{t.ripple&&Ef(i.currentTarget,i,{opacity:.35});const o=t.onPointerDown;typeof o=="function"?o(i):o&&o[0](o[1],i)};return p(q,{get when(){return t.href!==void 0},get fallback(){return(()=>{var i=Rf();return i.$$pointerdown=s,De(i,L({get type(){return t.type??"button"},get class(){return r()}},n),!1,!0),P(i,()=>t.children),i})()},get children(){var i=If();return i.$$pointerdown=s,De(i,L({get href(){return t.href},get target(){return t.target},get rel(){return t.rel},get class(){return r()}},n),!1,!0),P(i,()=>t.children),i}})}mt(["pointerdown"]);var Lf=D('<span class="text-base font-normal text-muted-foreground">'),Ff=D('<div><span class="flex items-baseline gap-2 tabular-nums text-4xl font-bold tracking-tight text-foreground"><span>'),Nf=D("<svg><polyline stroke=hsl(var(--primary)) stroke-width=1.5 stroke-linecap=round style=transform-origin:center;transform-box:view-box></svg>",!1,!0,!1),zf=D('<svg role=img aria-label="Analog clock"><circle fill=none stroke=hsl(var(--border)) stroke-width=2></circle><polyline stroke=hsl(var(--foreground)) stroke-width=4 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><polyline stroke=hsl(var(--foreground)) stroke-width=3 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><circle r=3.5 fill=hsl(var(--primary))>'),Bf=D("<svg><line stroke=hsl(var(--muted-foreground)) stroke-linecap=round></svg>",!1,!0,!1);const Vt=e=>String(e).padStart(2,"0");function jf(e,t){if(!t)return{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()};const n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(e),r=s=>{var i;return Number(((i=n.find(o=>o.type===s))==null?void 0:i.value)??0)};return{hours:r("hour")%24,minutes:r("minute"),seconds:r("second")}}function Kf(e){const t=()=>{const{hours:n,minutes:r,seconds:s}=e.parts;let i=n,o="";return e.hour12&&(o=i>=12?"PM":"AM",i=i%12,i===0&&(i=12)),{time:e.seconds?`${Vt(i)}:${Vt(r)}:${Vt(s)}`:`${Vt(i)}:${Vt(r)}`,suffix:o}};return(()=>{var n=Ff(),r=n.firstChild,s=r.firstChild;return P(s,()=>t().time),P(r,p(q,{get when(){return e.hour12},get children(){var i=Lf();return P(i,()=>t().suffix),i}}),null),N(()=>be(n,B("flex flex-col items-center justify-center",e.class))),n})()}function Gf(e){const t=()=>e.size,n=()=>t()/2,r=()=>t()/2,s=()=>t()/2,i=()=>e.parts.hours%12*30+e.parts.minutes*.5,o=()=>e.parts.minutes*6+e.parts.seconds*.1,a=()=>e.parts.seconds*6,l=Array.from({length:12},(u,d)=>d),c=u=>{const d=s()*u;return`${n()},${r()} ${n()},${r()-d}`};return(()=>{var u=zf(),d=u.firstChild,f=d.nextSibling,h=f.nextSibling,y=h.nextSibling;return P(u,p(ht,{each:l,children:m=>{const b=m*30,v=s()-4,x=s()-(m%3===0?14:9),C=n()+v*Math.sin(b*Math.PI/180),T=r()-v*Math.cos(b*Math.PI/180),A=n()+x*Math.sin(b*Math.PI/180),R=r()-x*Math.cos(b*Math.PI/180);return(()=>{var I=Bf();return E(I,"x1",C),E(I,"y1",T),E(I,"x2",A),E(I,"y2",R),E(I,"stroke-width",m%3===0?2:1),I})()}}),f),P(u,p(q,{get when(){return e.seconds},get children(){var m=Nf();return N(b=>{var v=c(.75),x=`rotate(${a()}deg)`;return v!==b.e&&E(m,"points",b.e=v),x!==b.t&&Ve(m,"transform",b.t=x),b},{e:void 0,t:void 0}),m}}),y),N(m=>{var b=t(),v=t(),x=`0 0 ${t()} ${t()}`,C=B("inline-block",e.class),T=n(),A=r(),R=s()-2,I=c(.45),g=`rotate(${i()}deg)`,V=c(.65),M=`rotate(${o()}deg)`,_=n(),z=r();return b!==m.e&&E(u,"width",m.e=b),v!==m.t&&E(u,"height",m.t=v),x!==m.a&&E(u,"viewBox",m.a=x),C!==m.o&&E(u,"class",m.o=C),T!==m.i&&E(d,"cx",m.i=T),A!==m.n&&E(d,"cy",m.n=A),R!==m.s&&E(d,"r",m.s=R),I!==m.h&&E(f,"points",m.h=I),g!==m.r&&Ve(f,"transform",m.r=g),V!==m.d&&E(h,"points",m.d=V),M!==m.l&&Ve(h,"transform",m.l=M),_!==m.u&&E(y,"cx",m.u=_),z!==m.c&&E(y,"cy",m.c=z),m},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0}),u})()}function Wf(e){const[t,n]=Q(new Date);at(()=>{const l=setInterval(()=>n(new Date),1e3);me(()=>clearInterval(l))});const r=()=>e.variant??"digital",s=()=>e.seconds??!0,i=()=>e.hour12??!1,o=()=>e.size??160,a=()=>jf(t(),e.timeZone);return p(q,{get when(){return r()==="analog"},get fallback(){return p(Kf,{get parts(){return a()},get seconds(){return s()},get hour12(){return i()},get class(){return e.class}})},get children(){return p(Gf,{get parts(){return a()},get seconds(){return s()},get size(){return o()},get class(){return e.class}})}})}var Uf=D('<span class="relative inline-block h-[1em] w-[0.62em] overflow-hidden align-top"><span class="absolute inset-x-0 top-0 flex flex-col transition-transform duration-500 ease-out">'),Yf=D('<span class="block h-[1em] text-center leading-none">'),Xf=D('<span class="flex text-2xl font-bold tabular-nums text-foreground">'),Hf=D("<div>"),qf=D('<div class="flex flex-col items-center"><span class="text-[10px] uppercase tracking-wide text-muted-foreground">');const hr=1e3,mr=60*hr,gr=60*mr,Yi=24*gr,Zf=[0,1,2,3,4,5,6,7,8,9],pr=e=>String(e).padStart(2,"0");function Jf(e){const t=()=>e.char>="0"&&e.char<="9"?Number(e.char):0;return(()=>{var n=Uf(),r=n.firstChild;return P(r,p(bn,{each:Zf,children:s=>(()=>{var i=Yf();return P(i,s),i})()})),N(s=>Ve(r,"transform",`translateY(${t()*-10}%)`)),n})()}function Qf(e){const t=()=>e.value.split("");return(()=>{var n=Xf();return P(n,p(bn,{get each(){return t()},children:r=>p(Jf,{get char(){return r()}})})),n})()}function eh(e){const t=ne(()=>e.to.getTime()),n=()=>Math.max(0,t()-Date.now()),[r,s]=Q(n());let i=!1;const o=f=>{var h;f<=0&&!i&&(i=!0,(h=e.onComplete)==null||h.call(e))};o(r()),at(()=>{const f=setInterval(()=>{const h=n();s(h),o(h)},hr);me(()=>clearInterval(f))});const a=()=>Math.floor(r()/Yi),l=()=>Math.floor(r()%Yi/gr),c=()=>Math.floor(r()%gr/mr),u=()=>Math.floor(r()%mr/hr),d=()=>[{label:"Days",value:String(a())},{label:"Hours",value:pr(l())},{label:"Mins",value:pr(c())},{label:"Secs",value:pr(u())}];return(()=>{var f=Hf();return P(f,p(bn,{get each(){return d()},children:h=>(()=>{var y=qf(),m=y.firstChild;return P(y,p(Qf,{get value(){return h().value}}),m),P(m,()=>h().label),y})()})),N(()=>be(f,B("flex gap-4",e.class))),f})()}var th=D("<kbd>");const nh="inline-flex min-w-[1.5rem] items-center justify-center rounded border border-border bg-muted px-1.5 py-0.5 font-mono text-xs text-muted-foreground shadow-sm";function rh(e){return(()=>{var t=th();return P(t,()=>e.children),N(()=>be(t,B(nh,e.class))),t})()}function sh(e){return(...t)=>{for(const n of e)n&&n(...t)}}const ih=e=>typeof e=="function"&&!e.length?e():e,oh=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;function Xi(e){const t={};let n;for(;n=oh.exec(e);)t[n[1]]=n[2];return t}function Hi(e,t){if(typeof e=="string"){if(typeof t=="string")return`${e};${t}`;e=Xi(e)}else typeof t=="string"&&(t=Xi(t));return{...e,...t}}function ah(...e){return sh(e)}function lh(e){return Object.prototype.toString.call(e)==="[object String]"}function qi(e){return t=>`${e()}-${t}`}function Zi(e,t=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(Math.max(e,t),n)}function $t(e,t){return L(e,t)}var Pt=new Map,Ji=new Set;function Qi(){if(typeof window>"u"||document.body===null)return;const e=n=>{if(!n.target)return;let r=Pt.get(n.target);r||(r=new Set,Pt.set(n.target,r),n.target.addEventListener("transitioncancel",t)),r.add(n.propertyName)},t=n=>{if(!n.target)return;const r=Pt.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",t),Pt.delete(n.target)),Pt.size===0)){for(const s of Ji)s();Ji.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?Qi():document.addEventListener("DOMContentLoaded",Qi));let br=new Map,yr=!1;try{yr=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let ln=!1;try{ln=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const eo={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class ch{constructor(t,n={}){this.numberFormatter=uh(t,n),this.options=n}format(t){var r;let n="";if(!yr&&this.options.signDisplay!=null?n=dh(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!ln){let{unit:s,unitDisplay:i="short",locale:o}=this.resolvedOptions();if(!s)return n;let a=(r=eo[s])==null?void 0:r[i];n+=a[o]||a.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),s=this.numberFormatter.formatToParts(n);return[...r.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...s.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!yr&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!ln&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}}function uh(e,t={}){var i;let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!ln){let{unit:o,unitDisplay:a="short"}=t;if(!o)throw new Error('unit option must be provided with style: "unit"');if(!((i=eo[o])!=null&&i[a]))throw new Error(`Unsupported unit ${o} with unitDisplay = ${a}`);t={...t,style:"decimal"}}let r=e+(t?Object.entries(t).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(br.has(r))return br.get(r);let s=new Intl.NumberFormat(e,t);return br.set(r,s),s}function dh(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let s=e.format(-n),i=e.format(n),o=s.replace(i,"").replace(/\u200e|\u061C/,"");return[...o].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),s.replace(i,"!!!").replace(o,"+").replace("!!!",i)}else return e.format(n)}}var fh=new Set(["Avst","Arab","Armi","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),hh=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function mh(e){if(Intl.Locale){const n=new Intl.Locale(e).maximize().script??"";return fh.has(n)}const t=e.split("-")[0];return hh.has(t)}function gh(e){return mh(e)?"rtl":"ltr"}function to(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:gh(e)}}var vr=to(),Et=new Set;function no(){vr=to();for(const e of Et)e(vr)}function ph(){const[e,t]=Q(vr),n=ne(()=>e());return at(()=>{Et.size===0&&window.addEventListener("languagechange",no),Et.add(t),me(()=>{Et.delete(t),Et.size===0&&window.removeEventListener("languagechange",no)})}),{locale:()=>n().locale,direction:()=>n().direction}}var bh=lt();function yh(){const e=ph();return ct(bh)||e}function ro(e){const{locale:t}=yh();return ne(()=>new ch(t(),ih(e)))}function so(e){return t=>(e(t),()=>e(void 0))}var io=lt();function cn(){const e=ct(io);if(e===void 0)throw new Error("[kobalte]: `useMeterContext` must be used within a `Meter.Root` component");return e}function vh(e){const t=cn(),[n,r]=le(e,["style"]);return p(ve,L({as:"div",get style(){return Hi({"--kb-meter-fill-width":t.meterFillWidth()},n.style)}},()=>t.dataset(),r))}function xh(e){const t=cn(),n=$t({id:t.generateId("label")},e),[r,s]=le(n,["id"]);return Me(()=>me(t.registerLabelId(r.id))),p(ve,L({as:"span",get id(){return r.id}},()=>t.dataset(),s))}function wh(e){const t=`meter-${Pr()}`,n=$t({id:t,value:0,minValue:0,maxValue:100,role:"meter",indeterminate:!1},e),[r,s]=le(n,["value","minValue","maxValue","getValueLabel","role","aria-valuetext","aria-labelledby","aria-valuemax","aria-valuemin","aria-valuenow","indeterminate"]),[i,o]=Q(),a=ro(()=>({style:"percent"})),l=()=>Zi(r.value,r.minValue,r.maxValue),c=()=>(l()-r.minValue)/(r.maxValue-r.minValue),u=()=>{if(!r.indeterminate)return r.getValueLabel?r.getValueLabel({value:l(),min:r.minValue,max:r.maxValue}):a().format(c())},d=()=>`${c()*100}%`,f=ne(()=>({})),h={dataset:f,value:l,valuePercent:c,valueLabel:u,labelId:i,meterFillWidth:d,generateId:qi(()=>s.id),registerLabelId:so(o)};return p(io.Provider,{value:h,get children(){return p(ve,L({as:"div",get role(){return r.role||"meter"},get"aria-valuenow"(){return yn(()=>!!r.indeterminate)()?void 0:l()},get"aria-valuemin"(){return r.minValue},get"aria-valuemax"(){return r.maxValue},get"aria-valuetext"(){return u()},get"aria-labelledby"(){return i()}},f,s))}})}function kh(e){const t=cn();return p(ve,L({as:"div"},()=>t.dataset(),e))}function Sh(e){const t=cn();return p(ve,L({as:"div"},()=>t.dataset(),e,{get children(){return t.valueLabel()}}))}var we=Object.assign(wh,{Fill:vh,Label:xh,Track:kh,ValueLabel:Sh}),Th=D('<div class="flex items-center justify-between text-sm text-foreground">');function Ah(e){const t=()=>{const n=e.max??100;return n<=0?0:Math.max(0,Math.min(100,e.value/n*100))};return p(we,{get value(){return e.value},minValue:0,get maxValue(){return e.max??100},get class(){return B("flex flex-col gap-1.5",e.class)},get children(){return[p(q,{get when(){return e.label},get children(){var n=Th();return P(n,p(we.Label,{get children(){return e.label}}),null),P(n,p(we.ValueLabel,{class:"text-muted-foreground"}),null),n}}),p(we.Track,{class:"h-2 overflow-hidden rounded-full bg-muted",get children(){return p(we.Fill,{class:"h-full rounded-full bg-primary transition-all duration-500",get style(){return{width:`${t()}%`}}})}})]}})}var Ch={};qt(Ch,{Fill:()=>ao,Label:()=>lo,Progress:()=>rt,Root:()=>co,Track:()=>uo,ValueLabel:()=>fo,useProgressContext:()=>It});var oo=lt();function It(){const e=ct(oo);if(e===void 0)throw new Error("[kobalte]: `useProgressContext` must be used within a `Progress.Root` component");return e}function ao(e){const t=It(),[n,r]=le(e,["style"]);return p(we.Fill,L({get style(){return Hi({"--kb-progress-fill-width":t.progressFillWidth()},n.style)}},()=>t.dataset(),r))}function lo(e){const t=It(),n=$t({id:t.generateId("label")},e),[r,s]=le(n,["id"]);return Me(()=>me(t.registerLabelId(r.id))),p(we.Label,L({get id(){return r.id}},()=>t.dataset(),s))}function co(e){const t=`progress-${Pr()}`,n=$t({id:t,value:0,minValue:0,maxValue:100},e),[r,s]=le(n,["value","minValue","maxValue","indeterminate","getValueLabel"]),[i,o]=Q(),a=ro(()=>({style:"percent"})),l=()=>Zi(r.value,r.minValue,r.maxValue),c=()=>(l()-r.minValue)/(r.maxValue-r.minValue),u=()=>{if(!r.indeterminate)return r.getValueLabel?r.getValueLabel({value:l(),min:r.minValue,max:r.maxValue}):a().format(c())},d=()=>r.indeterminate?void 0:`${c()*100}%`,f=ne(()=>{let y;return r.indeterminate||(y=c()===1?"complete":"loading"),{"data-progress":y,"data-indeterminate":r.indeterminate?"":void 0}}),h={dataset:f,value:l,valuePercent:c,valueLabel:u,labelId:i,progressFillWidth:d,generateId:qi(()=>s.id),registerLabelId:so(o)};return p(oo.Provider,{value:h,get children(){return p(we,L({role:"progressbar",get indeterminate(){return r.indeterminate||!1}},f,n))}})}function uo(e){const t=It();return p(we.Track,L(()=>t.dataset(),e))}function fo(e){const t=It();return p(we.ValueLabel,L(()=>t.dataset(),e))}var rt=Object.assign(co,{Fill:ao,Label:lo,Track:uo,ValueLabel:fo}),Mh=D('<div class="flex items-center justify-between text-sm text-foreground">');function Vh(e){const t=()=>{const n=e.max??100;return n<=0?0:Math.max(0,Math.min(100,e.value/n*100))};return p(rt,{get value(){return e.value},minValue:0,get maxValue(){return e.max??100},get class(){return B("flex flex-col gap-1.5",e.class)},get children(){return[p(q,{get when(){return e.label},get children(){var n=Mh();return P(n,p(rt.Label,{get children(){return e.label}}),null),P(n,p(rt.ValueLabel,{class:"text-muted-foreground"}),null),n}}),p(rt.Track,{class:"h-2 overflow-hidden rounded-full bg-muted",get children(){return p(rt.Fill,{class:"h-full rounded-full bg-primary transition-all duration-500",get style(){return{width:`${t()}%`}}})}})]}})}var $h=D("<div role=radiogroup>"),Ph=D("<div role=img>"),Eh=D('<button type=button role=radio class="rounded outline-none focus-visible:ring-2 focus-visible:ring-ring/40">');function Ih(e){const[t,n]=Q(0),r=()=>e.max??5,s=()=>Array.from({length:r()},(l,c)=>c+1),i=()=>t()>0?t():e.value,o=l=>{var c;e.readonly||(c=e.onChange)==null||c.call(e,l)},a=l=>B("h-5 w-5 transition-colors",l<=i()?"fill-primary text-primary":"fill-transparent text-muted-foreground");return p(q,{get when(){return!e.readonly},get fallback(){return(()=>{var l=Ph();return P(l,p(ht,{get each(){return s()},children:c=>p(ls,{get class(){return a(c)},"aria-hidden":"true"})})),N(c=>{var u=B("inline-flex items-center gap-1",e.class),d=`Rating ${e.value} of ${r()}`;return u!==c.e&&be(l,c.e=u),d!==c.t&&E(l,"aria-label",c.t=d),c},{e:void 0,t:void 0}),l})()},get children(){var l=$h();return l.addEventListener("mouseleave",()=>n(0)),P(l,p(ht,{get each(){return s()},children:c=>(()=>{var u=Eh();return u.$$keydown=d=>{d.key==="ArrowRight"||d.key==="ArrowUp"?(d.preventDefault(),o(Math.min(e.value+1,r()))):(d.key==="ArrowLeft"||d.key==="ArrowDown")&&(d.preventDefault(),o(Math.max(e.value-1,0)))},u.$$click=()=>o(c),u.addEventListener("blur",()=>n(0)),u.addEventListener("focus",()=>n(c)),u.addEventListener("mouseenter",()=>n(c)),P(u,p(ls,{get class(){return a(c)},"aria-hidden":"true"})),N(d=>{var f=e.value===c,h=`Rate ${c} of ${r()}`;return f!==d.e&&E(u,"aria-checked",d.e=f),h!==d.t&&E(u,"aria-label",d.t=h),d},{e:void 0,t:void 0}),u})()})),N(()=>be(l,B("inline-flex items-center gap-1",e.class))),l}})}mt(["click","keydown"]);var Rh=D('<div role=progressbar aria-valuemin=0 aria-valuemax=100><svg class=-rotate-90><circle fill=none stroke=hsl(var(--muted))></circle><circle fill=none stroke=hsl(var(--primary)) stroke-linecap=round class=transition-all></circle></svg><div class="absolute inset-0 flex items-center justify-center text-sm font-medium text-foreground">');function Oh(e){const t=()=>e.size??96,n=()=>e.thickness??8,r=()=>Math.min(100,Math.max(0,e.value)),s=()=>(t()-n())/2,i=()=>2*Math.PI*s(),o=()=>i()*(1-r()/100);return(()=>{var a=Rh(),l=a.firstChild,c=l.firstChild,u=c.nextSibling,d=l.nextSibling;return P(d,p(q,{get when(){return e.label},get fallback(){return`${Math.round(r())}%`},get children(){return e.label}})),N(f=>{var h=e["aria-label"],y=r(),m=B("relative inline-flex items-center justify-center",e.class),b=`${t()}px`,v=`${t()}px`,x=t(),C=t(),T=`0 0 ${t()} ${t()}`,A=t()/2,R=t()/2,I=s(),g=n(),V=t()/2,M=t()/2,_=s(),z=n(),oe=String(i()),J=String(o());return h!==f.e&&E(a,"aria-label",f.e=h),y!==f.t&&E(a,"aria-valuenow",f.t=y),m!==f.a&&be(a,f.a=m),b!==f.o&&Ve(a,"width",f.o=b),v!==f.i&&Ve(a,"height",f.i=v),x!==f.n&&E(l,"width",f.n=x),C!==f.s&&E(l,"height",f.s=C),T!==f.h&&E(l,"viewBox",f.h=T),A!==f.r&&E(c,"cx",f.r=A),R!==f.d&&E(c,"cy",f.d=R),I!==f.l&&E(c,"r",f.l=I),g!==f.u&&E(c,"stroke-width",f.u=g),V!==f.c&&E(u,"cx",f.c=V),M!==f.w&&E(u,"cy",f.w=M),_!==f.m&&E(u,"r",f.m=_),z!==f.f&&E(u,"stroke-width",f.f=z),oe!==f.y&&E(u,"stroke-dasharray",f.y=oe),J!==f.g&&E(u,"stroke-dashoffset",f.g=J),f},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0,w:void 0,m:void 0,f:void 0,y:void 0,g:void 0}),a})()}function _h(e,t){const[n,r]=Q(ho(t==null?void 0:t()));return Me(()=>{var s;r(((s=e())==null?void 0:s.tagName.toLowerCase())||ho(t==null?void 0:t()))}),n}function ho(e){return lh(e)?e:void 0}var Dh={};qt(Dh,{Root:()=>mo,Separator:()=>go});function mo(e){let t;const n=$t({orientation:"horizontal"},e),[r,s]=le(n,["ref","orientation"]),i=_h(()=>t,()=>"hr");return p(ve,L({as:"hr",ref(o){var a=ah(l=>t=l,r.ref);typeof a=="function"&&a(o)},get role(){return i()!=="hr"?"separator":void 0},get"aria-orientation"(){return r.orientation==="vertical"?"vertical":void 0},get"data-orientation"(){return r.orientation}},s))}var go=mo;function Lh(e){const t=()=>e.orientation??"horizontal";return p(go,{get orientation(){return t()},get class(){return B("shrink-0 border-0 bg-border m-0",t()==="vertical"?"w-px min-h-4 h-full self-stretch":"h-px w-full",e.class)}})}var Fh=D('<svg viewBox="0 0 24 24"fill=none role=status><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z">');function Nh(e){return(()=>{var t=Fh();return N(n=>{var r=B("h-5 w-5 animate-spin text-muted-foreground",e.class),s=e.label??"Loading";return r!==n.e&&E(t,"class",n.e=r),s!==n.t&&E(t,"aria-label",n.t=s),n},{e:void 0,t:void 0}),t})()}function zh(e,t={}){if(Mt())return()=>{};const n=document.createElement("span");n.setAttribute("aria-hidden","true"),n.className="pointer-events-none absolute inset-0 opacity-0 transition-opacity duration-300",e.appendChild(n);const r=t.size??180,s=t.color??"hsl(var(--primary))",i=(c,u)=>{n.style.background=`radial-gradient(${r}px circle at ${c}px ${u}px, color-mix(in srgb, ${s} 30%, transparent), transparent 70%)`},o=c=>{const u=e.getBoundingClientRect();i(c.clientX-u.left,c.clientY-u.top)},a=()=>{n.style.opacity="1"},l=()=>{n.style.opacity="0"};return e.addEventListener("pointermove",o),e.addEventListener("pointerenter",a),e.addEventListener("pointerleave",l),()=>{e.removeEventListener("pointermove",o),e.removeEventListener("pointerenter",a),e.removeEventListener("pointerleave",l),n.remove()}}function Bh(e,t,n={}){if(Mt())return()=>{};t.style.willChange="transform";const r=i=>{const o=e.getBoundingClientRect(),a=(i.clientX-o.left)/o.width-.5,l=(i.clientY-o.top)/o.height-.5,c=n.max??10;t.style.transition="transform 0.15s ease-out",t.style.transform=`perspective(800px) rotateX(${(l*-2*c).toFixed(2)}deg) rotateY(${(a*2*c).toFixed(2)}deg) scale(1.02)`},s=()=>{t.style.transition="transform 0.4s ease",t.style.transform="perspective(800px) rotateX(0deg) rotateY(0deg) scale(1)"};return e.addEventListener("pointermove",r),e.addEventListener("pointerleave",s),()=>{e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",s),t.style.transform="",t.style.transition="",t.style.willChange=""}}var po=D("<div>");function jh(e){const[t,n]=le(e,["class","children","glass","glow","tilt","spotlight"]),r=()=>(t.glow??t.glass)===!0;let s;return at(()=>{const i=[t.tilt&&s?Bh(s,s):null,t.spotlight&&s?zh(s):null].filter(o=>o!==null);me(()=>i.forEach(o=>o()))}),(()=>{var i=po(),o=s;return typeof o=="function"?vn(o,i):s=i,De(i,L({get class(){return B(t.glass?"card rounded-xl text-card-foreground":"rounded-xl border border-border bg-card text-card-foreground shadow-sm",r()&&"glow-edge",t.spotlight&&"relative overflow-hidden",t.tilt&&"will-change-transform",t.class)}},n),!1,!0),P(i,()=>t.children),i})()}function Kh(e){const[t,n]=le(e,["class","children"]);return(()=>{var r=po();return De(r,L({get class(){return B("p-6 pt-0",t.class)}},n),!1,!0),P(r,()=>t.children),r})()}var bo=D("<div>"),Gh=D('<div class=min-w-0><p class="truncate text-sm text-muted-foreground"></p><p class="truncate text-xl font-semibold tabular-nums text-foreground">');const Wh={primary:"bg-primary/15 text-primary",success:"bg-emerald-500/15 text-emerald-600",danger:"bg-rose-500/15 text-rose-600",neutral:"bg-muted text-muted-foreground"};function Uh(e){const t=$f(()=>e.value),n=()=>(e.format??(s=>String(Math.round(s))))(t());let r;return at(()=>{r&&Pf(r,{delay:e.delay??0})}),(()=>{var s=bo(),i=r;return typeof i=="function"?vn(i,s):r=s,P(s,p(jh,{glass:!0,glow:!0,get class(){return e.class},get children(){return p(Kh,{class:"flex items-center gap-4 p-5",get children(){return[p(q,{get when(){return e.icon},get children(){var o=bo();return P(o,()=>e.icon),N(()=>be(o,B("flex h-11 w-11 shrink-0 items-center justify-center rounded-lg",Wh[e.tone??"neutral"]))),o}}),(()=>{var o=Gh(),a=o.firstChild,l=a.nextSibling;return P(a,()=>e.label),P(l,n),o})()]}})}})),s})()}function Rt(e){return(e.textContent??"").trim()}function yo(){ie("a4-button",{variant:"primary",disabled:!1,type:"button",label:""},(e,{element:t})=>{se();const n=e.label||Rt(t);return p(Df,{get variant(){return e.variant},get disabled(){return e.disabled},get type(){return e.type},children:n})}),ie("a4-badge",{tone:"neutral",label:""},(e,{element:t})=>(se(),p(uc,{get tone(){return e.tone},get children(){return e.label||Rt(t)}}))),ie("a4-alert",{tone:"info",heading:"",text:""},(e,{element:t})=>(se(),p(ql,{get tone(){return e.tone},get title(){return e.heading||void 0},get children(){return e.text||Rt(t)}}))),ie("a4-spinner",{label:"Loading"},e=>(se(),p(Nh,{get label(){return e.label}}))),ie("a4-avatar",{src:"",alt:"",fallback:""},e=>(se(),p(ic,{get src(){return e.src||void 0},get alt(){return e.alt},get fallback(){return e.fallback||""}}))),ie("a4-progress",{value:0,max:100,label:""},e=>(se(),p(Vh,{get value(){return e.value},get max(){return e.max},get label(){return e.label||void 0}}))),ie("a4-meter",{value:0,max:100,label:""},e=>(se(),p(Ah,{get value(){return e.value},get max(){return e.max},get label(){return e.label||void 0}}))),ie("a4-ring-progress",{value:0,size:96,thickness:8,label:""},e=>(se(),p(Oh,{get value(){return e.value},get size(){return e.size},get thickness(){return e.thickness},get label(){return e.label||void 0}}))),ie("a4-stat",{label:"",value:0,tone:"neutral"},e=>(se(),p(Uh,{get label(){return e.label},get value(){return e.value},get tone(){return e.tone}}))),ie("a4-kbd",{label:""},(e,{element:t})=>(se(),p(rh,{get children(){return e.label||Rt(t)}}))),ie("a4-condition-scale",{value:0,min:1,max:10,showvalue:!0},e=>(se(),p(hl,{get value(){return e.value},get min(){return e.min},get max(){return e.max},get showValue(){return e.showvalue}}))),ie("a4-announcement-bar",{tone:"primary",dismissible:!1,coupon:"",href:"",label:""},(e,{element:t})=>(se(),p(rc,{get tone(){return e.tone},get dismissible(){return e.dismissible},get couponCode(){return e.coupon||void 0},get href(){return e.href||void 0},get children(){return e.label||Rt(t)}}))),ie("a4-separator",{orientation:"horizontal"},e=>(se(),p(Lh,{get orientation(){return e.orientation}}))),ie("a4-rating",{value:0,max:5,readonly:!1},(e,{element:t})=>(se(),p(Ih,{get value(){return e.value},get max(){return e.max},get readonly(){return e.readonly},onChange:n=>t.dispatchEvent(new CustomEvent("change",{detail:n}))}))),ie("a4-countdown",{to:""},e=>{se();const t=e.to?new Date(e.to):new Date(Date.now()+864e5);return p(eh,{to:t})}),ie("a4-clock",{variant:"digital",seconds:!0,hour12:!1,timezone:"",size:160},e=>(se(),p(Wf,{get variant(){return e.variant},get seconds(){return e.seconds},get hour12(){return e.hour12},get timeZone(){return e.timezone||void 0},get size(){return e.size}})))}return yo(),un.defineA4uiElements=yo,Object.defineProperty(un,Symbol.toStringTag,{value:"Module"}),un})({});
|
|
1
|
+
var A4uiElements=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return n(this.context.count)},getNextContextId(){return n(this.context.count++)}};function n(e){let n=String(e),r=n.length-1;return t.context.id+(r?String.fromCharCode(96+r):``)+n}function r(e){t.context=e}var i=(e,t)=>e===t,a=Symbol(`solid-proxy`),o=typeof Proxy==`function`,s=Symbol(`solid-track`),c={equals:i},l=null,u=le,d=1,f=2,p={owned:null,cleanups:null,context:null,owner:null},m=null,h=null,g=null,_=null,v=null,y=0;function b(e,t){let n=g,r=m,i=e.length===0,a=t===void 0?r:t,o=i?p:{owned:null,cleanups:null,context:a?a.context:null,owner:a},s=i?e:()=>e(x(o));m=o,g=null;try{return P(s,!0)}finally{g=n,m=r}}function x(e){return()=>E(()=>I(e))}function S(e,t){t=t?Object.assign({},c,t):c;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0};return[M.bind(n),e=>(typeof e==`function`&&(e=h&&h.running&&h.sources.has(n)?e(n.tValue):e(n.value)),ie(n,e))]}function C(e,t,n){ae(se(e,t,!1,d))}function w(e,t,n){u=F;let r=se(e,t,!1,d),i=re&&j(re);i&&(r.suspense=i),n&&n.render||(r.user=!0),v?v.push(r):ae(r)}function T(e,t,n){n=n?Object.assign({},c,n):c;let r=se(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,ae(r),M.bind(r)}function E(e){if(g===null)return e();let t=g;g=null;try{return e()}finally{g=t}}function ee(e,t,n){let r=Array.isArray(e),i,a=n&&n.defer;return n=>{let o;if(r){o=Array(e.length);for(let t=0;t<e.length;t++)o[t]=e[t]()}else o=e();if(a)return a=!1,n;let s=E(()=>t(o,i,n));return i=o,s}}function D(e){w(()=>E(e))}function O(e){return m===null||(m.cleanups===null?m.cleanups=[e]:m.cleanups.push(e)),e}var[k,te]=S(!1);function A(e,t){let n=Symbol(`context`);return{id:n,Provider:_e(n),defaultValue:e}}function j(e){let t;return m&&m.context&&(t=m.context[e.id])!==void 0?t:e.defaultValue}function ne(e){let t=T(e),n=T(()=>ge(t()));return n.toArray=()=>{let e=n();return Array.isArray(e)?e:e==null?[]:[e]},n}var re;function M(){let e=h&&h.running;if(this.sources&&(e?this.tState:this.state)){if((e?this.tState:this.state)===d)ae(this);else{let e=_;_=null,P(()=>ue(this),!1),_=e}}if(g){let e=this.observers;if(!e||e[e.length-1]!==g){let t=e?e.length:0;g.sources?(g.sources.push(this),g.sourceSlots.push(t)):(g.sources=[this],g.sourceSlots=[t]),e?(e.push(g),this.observerSlots.push(g.sources.length-1)):(this.observers=[g],this.observerSlots=[g.sources.length-1])}}return e&&h.sources.has(this)?this.tValue:this.value}function ie(e,t,n){let r=h&&h.running&&h.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(h){let r=h.running;(r||!n&&h.sources.has(e))&&(h.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&P(()=>{for(let t=0;t<e.observers.length;t+=1){let n=e.observers[t],r=h&&h.running;r&&h.disposed.has(n)||((r?!n.tState:!n.state)&&(n.pure?_.push(n):v.push(n),n.observers&&de(n)),r?n.tState=d:n.state=d)}if(_.length>1e6)throw _=[],Error()},!1)}return t}function ae(e){if(!e.fn)return;I(e);let t=y;oe(e,h&&h.running&&h.sources.has(e)?e.tValue:e.value,t),h&&!h.running&&h.sources.has(e)&&queueMicrotask(()=>{P(()=>{h&&(h.running=!0),g=m=e,oe(e,e.tValue,t),g=m=null},!1)})}function oe(e,t,n){let r,i=m,a=g;g=m=e;try{r=e.fn(t)}catch(t){return e.pure&&(h&&h.running?(e.tState=d,e.tOwned&&e.tOwned.forEach(I),e.tOwned=void 0):(e.state=d,e.owned&&e.owned.forEach(I),e.owned=null)),e.updatedAt=n+1,he(t)}finally{g=a,m=i}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&`observers`in e?ie(e,r,!0):h&&h.running&&e.pure?(h.sources.has(e)||(e.value=r),h.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function se(e,t,n,r=d,i){let a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:m,context:m?m.context:null,pure:n};return h&&h.running&&(a.state=0,a.tState=r),m===null||m!==p&&(h&&h.running&&m.pure?m.tOwned?m.tOwned.push(a):m.tOwned=[a]:m.owned?m.owned.push(a):m.owned=[a]),a}function N(e){let t=h&&h.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===f)return ue(e);if(e.suspense&&E(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<y);){if(t&&h.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let t=e,i=n[r+1];for(;(t=t.owner)&&t!==i;)if(h.disposed.has(t))return}if((t?e.tState:e.state)===d)ae(e);else if((t?e.tState:e.state)===f){let t=_;_=null,P(()=>ue(e,n[0]),!1),_=t}}}function P(e,t){if(_)return e();let n=!1;t||(_=[]),v?n=!0:v=[],y++;try{let t=e();return ce(n),t}catch(e){n||(v=null),_=null,he(e)}}function ce(e){if(_&&=(le(_),null),e)return;let t;if(h){if(!h.promises.size&&!h.queue.size){let e=h.sources,n=h.disposed;v.push.apply(v,h.effects),t=h.resolve;for(let e of v)`tState`in e&&(e.state=e.tState),delete e.tState;h=null,P(()=>{for(let e of n)I(e);for(let t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)I(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}te(!1)},!1)}else if(h.running){h.running=!1,h.effects.push.apply(h.effects,v),v=null,te(!0);return}}let n=v;v=null,n.length&&P(()=>u(n),!1),t&&t()}function le(e){for(let t=0;t<e.length;t++)N(e[t])}function F(e){let n,i=0;for(n=0;n<e.length;n++){let t=e[n];t.user?e[i++]=t:N(t)}if(t.context){if(t.count){t.effects||=[],t.effects.push(...e.slice(0,i));return}r()}for(t.effects&&(t.done||!t.count)&&(e=[...t.effects,...e],i+=t.effects.length,delete t.effects),n=0;n<i;n++)N(e[n])}function ue(e,t){let n=h&&h.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){let i=e.sources[r];if(i.sources){let e=n?i.tState:i.state;e===d?i!==t&&(!i.updatedAt||i.updatedAt<y)&&N(i):e===f&&ue(i,t)}}}function de(e){let t=h&&h.running;for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(t?!r.tState:!r.state)&&(t?r.tState=f:r.state=f,r.pure?_.push(r):v.push(r),r.observers&&de(r))}}function I(e){let t;if(e.sources)for(;e.sources.length;){let t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){let e=r.pop(),i=t.observerSlots.pop();n<r.length&&(e.sourceSlots[i]=n,r[n]=e,t.observerSlots[n]=i)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)I(e.tOwned[t]);delete e.tOwned}if(h&&h.running&&e.pure)fe(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)I(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}h&&h.running?e.tState=0:e.state=0}function fe(e,t){if(t||(e.tState=0,h.disposed.add(e)),e.owned)for(let t=0;t<e.owned.length;t++)fe(e.owned[t])}function pe(e){return e instanceof Error?e:Error(typeof e==`string`?e:`Unknown error`,{cause:e})}function me(e,t,n){try{for(let n of t)n(e)}catch(e){he(e,n&&n.owner||null)}}function he(e,t=m){let n=l&&t&&t.context&&t.context[l],r=pe(e);if(!n)throw r;v?v.push({fn(){me(r,n,t)},state:d}):me(r,n,t)}function ge(e){if(typeof e==`function`&&!e.length)return ge(e());if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let r=ge(e[n]);if(Array.isArray(r)){if(r.length<32768)t.push.apply(t,r);else for(let e=0;e<r.length;e++)t.push(r[e])}else t.push(r)}return t}return e}function _e(e,t){return function(t){let n;return C(()=>n=E(()=>(m.context={...m.context,[e]:t.value},ne(()=>t.children))),void 0),n}}var ve=Symbol(`fallback`);function ye(e){for(let t=0;t<e.length;t++)e[t]()}function be(e,t,n={}){let r=[],i=[],a=[],o=0,c=t.length>1?[]:null;return O(()=>ye(a)),()=>{let l=e()||[],u=l.length,d,f;return l[s],E(()=>{let e,t,s,m,h,g,_,v,y;if(u===0)o!==0&&(ye(a),a=[],r=[],i=[],o=0,c&&=[]),n.fallback&&(r=[ve],i[0]=b(e=>(a[0]=e,n.fallback())),o=1);else if(o===0){for(i=Array(u),f=0;f<u;f++)r[f]=l[f],i[f]=b(p);o=u}else{for(s=Array(u),m=Array(u),c&&(h=Array(u)),g=0,_=Math.min(o,u);g<_&&r[g]===l[g];g++);for(_=o-1,v=u-1;_>=g&&v>=g&&r[_]===l[v];_--,v--)s[v]=i[_],m[v]=a[_],c&&(h[v]=c[_]);for(e=new Map,t=Array(v+1),f=v;f>=g;f--)y=l[f],d=e.get(y),t[f]=d===void 0?-1:d,e.set(y,f);for(d=g;d<=_;d++)y=r[d],f=e.get(y),f!==void 0&&f!==-1?(s[f]=i[d],m[f]=a[d],c&&(h[f]=c[d]),f=t[f],e.set(y,f)):a[d]();for(f=g;f<u;f++)f in s?(i[f]=s[f],a[f]=m[f],c&&(c[f]=h[f],c[f](f))):i[f]=b(p);i=i.slice(0,o=u),r=l.slice(0)}return i});function p(e){if(a[f]=e,c){let[e,n]=S(f);return c[f]=n,t(l[f],e)}return t(l[f])}}}function xe(e,t,n={}){let r=[],i=[],a=[],o=[],c=0,l;return O(()=>ye(a)),()=>{let u=e()||[],d=u.length;return u[s],E(()=>{if(d===0)return c!==0&&(ye(a),a=[],r=[],i=[],c=0,o=[]),n.fallback&&(r=[ve],i[0]=b(e=>(a[0]=e,n.fallback())),c=1),i;for(r[0]===ve&&(a[0](),a=[],r=[],i=[],c=0),l=0;l<d;l++)l<r.length&&r[l]!==u[l]?o[l](()=>u[l]):l>=r.length&&(i[l]=b(f));for(;l<r.length;l++)a[l]();return c=o.length=a.length=d,r=u.slice(0),i=i.slice(0,c)});function f(e){a[l]=e;let[n,r]=S(u[l]);return o[l]=r,t(n,l)}}}function L(e,t){return E(()=>e(t||{}))}function Se(){return!0}var Ce={get(e,t,n){return t===a?n:e.get(t)},has(e,t){return t===a||e.has(t)},set:Se,deleteProperty:Se,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:Se,deleteProperty:Se}},ownKeys(e){return e.keys()}};function we(e){return(e=typeof e==`function`?e():e)?e:{}}function Te(){for(let e=0,t=this.length;e<t;++e){let t=this[e]();if(t!==void 0)return t}}function R(...e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];t||=!!r&&a in r,e[n]=typeof r==`function`?(t=!0,T(r)):r}if(o&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){let r=we(e[n])[t];if(r!==void 0)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in we(e[n]))return!0;return!1},keys(){let t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(we(e[n])));return[...new Set(t)]}},Ce);let n={},r=Object.create(null);for(let t=e.length-1;t>=0;t--){let i=e[t];if(!i)continue;let a=Object.getOwnPropertyNames(i);for(let e=a.length-1;e>=0;e--){let t=a[e];if(t===`__proto__`||t===`constructor`)continue;let o=Object.getOwnPropertyDescriptor(i,t);if(!r[t])r[t]=o.get?{enumerable:!0,configurable:!0,get:Te.bind(n[t]=[o.get.bind(i)])}:o.value===void 0?void 0:o;else{let e=n[t];e&&(o.get?e.push(o.get.bind(i)):o.value!==void 0&&e.push(()=>o.value))}}}let i={},s=Object.keys(r);for(let e=s.length-1;e>=0;e--){let t=s[e],n=r[t];n&&n.get?Object.defineProperty(i,t,n):i[t]=n?n.value:void 0}return i}function z(e,...t){let n=t.length;if(o&&a in e){let r=n>1?t.flat():t[0],i=new Set,a=t.map(t=>{let n=t.filter(e=>!i.has(e)&&(i.add(e),!0));return new Proxy({get(t){return n.includes(t)?e[t]:void 0},has(t){return n.includes(t)&&t in e},keys(){return n.filter(t=>t in e)}},Ce)});return a.push(new Proxy({get(t){return r.includes(t)?void 0:e[t]},has(t){return!r.includes(t)&&t in e},keys(){return Object.keys(e).filter(e=>!r.includes(e))}},Ce)),a}let r=[];for(let e=0;e<=n;e++)r[e]={};for(let i of Object.getOwnPropertyNames(e)){let a=n;for(let e=0;e<t.length;e++)if(t[e].includes(i)){a=e;break}let o=Object.getOwnPropertyDescriptor(e,i);!o.get&&!o.set&&o.enumerable&&o.writable&&o.configurable?r[a][i]=o.value:Object.defineProperty(r[a],i,o)}return r}var Ee=0;function De(){return t.context?t.getNextContextId():`cl-${Ee++}`}var Oe=e=>`Stale read from <${e}>.`;function ke(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return T(be(()=>e.each,e.children,t||void 0))}function Ae(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return T(xe(()=>e.each,e.children,t||void 0))}function B(e){let t=e.keyed,n=T(()=>e.when,void 0,void 0),r=t?n:T(n,void 0,{equals:(e,t)=>!e==!t});return T(()=>{let i=r();if(i){let a=e.children;return typeof a==`function`&&a.length>0?E(()=>a(t?i:()=>{if(!E(r))throw Oe(`Show`);return n()})):a}return e.fallback},void 0,void 0)}var je=new Set([`className`,`value`,`readOnly`,`noValidate`,`formNoValidate`,`isMap`,`noModule`,`playsInline`,`adAuctionHeaders`,`allowFullscreen`,`browsingTopics`,`defaultChecked`,`defaultMuted`,`defaultSelected`,`disablePictureInPicture`,`disableRemotePlayback`,`preservesPitch`,`shadowRootClonable`,`shadowRootCustomElementRegistry`,`shadowRootDelegatesFocus`,`shadowRootSerializable`,`sharedStorageWritable`,...`allowfullscreen.async.alpha.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.hidden.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.adauctionheaders.browsingtopics.credentialless.defaultchecked.defaultmuted.defaultselected.defer.disablepictureinpicture.disableremoteplayback.preservespitch.shadowrootclonable.shadowrootcustomelementregistry.shadowrootdelegatesfocus.shadowrootserializable.sharedstoragewritable`.split(`.`)]),Me=new Set([`innerHTML`,`textContent`,`innerText`,`children`]),Ne=Object.assign(Object.create(null),{className:`class`,htmlFor:`for`}),Pe=Object.assign(Object.create(null),{class:`className`,novalidate:{$:`noValidate`,FORM:1},formnovalidate:{$:`formNoValidate`,BUTTON:1,INPUT:1},ismap:{$:`isMap`,IMG:1},nomodule:{$:`noModule`,SCRIPT:1},playsinline:{$:`playsInline`,VIDEO:1},readonly:{$:`readOnly`,INPUT:1,TEXTAREA:1},adauctionheaders:{$:`adAuctionHeaders`,IFRAME:1},allowfullscreen:{$:`allowFullscreen`,IFRAME:1},browsingtopics:{$:`browsingTopics`,IMG:1},defaultchecked:{$:`defaultChecked`,INPUT:1},defaultmuted:{$:`defaultMuted`,AUDIO:1,VIDEO:1},defaultselected:{$:`defaultSelected`,OPTION:1},disablepictureinpicture:{$:`disablePictureInPicture`,VIDEO:1},disableremoteplayback:{$:`disableRemotePlayback`,AUDIO:1,VIDEO:1},preservespitch:{$:`preservesPitch`,AUDIO:1,VIDEO:1},shadowrootclonable:{$:`shadowRootClonable`,TEMPLATE:1},shadowrootdelegatesfocus:{$:`shadowRootDelegatesFocus`,TEMPLATE:1},shadowrootserializable:{$:`shadowRootSerializable`,TEMPLATE:1},sharedstoragewritable:{$:`sharedStorageWritable`,IFRAME:1,IMG:1}});function Fe(e,t){let n=Pe[e];return typeof n==`object`?n[t]?n.$:void 0:n}var Ie=new Set([`beforeinput`,`click`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`]),Le=new Set(`altGlyph.altGlyphDef.altGlyphItem.animate.animateColor.animateMotion.animateTransform.circle.clipPath.color-profile.cursor.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.font.font-face.font-face-format.font-face-name.font-face-src.font-face-uri.foreignObject.g.glyph.glyphRef.hkern.image.line.linearGradient.marker.mask.metadata.missing-glyph.mpath.path.pattern.polygon.polyline.radialGradient.rect.set.stop.svg.switch.symbol.text.textPath.tref.tspan.use.view.vkern`.split(`.`)),Re={xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`},ze=e=>T(()=>e());function Be(e,t,n){let r=n.length,i=t.length,a=r,o=0,s=0,c=t[i-1].nextSibling,l=null;for(;o<i||s<a;)if(t[o]===n[s])o++,s++;else{for(;t[i-1]===n[a-1];)i--,a--;if(i===o){let t=a<r?s?n[s-1].nextSibling:n[a-s]:c;for(;s<a;)e.insertBefore(n[s++],t)}else if(a===s)for(;o<i;)l&&l.has(t[o])||t[o].remove(),o++;else if(t[o]===n[a-1]&&n[s]===t[i-1]){let r=t[--i].nextSibling;e.insertBefore(n[s++],t[o++].nextSibling),e.insertBefore(n[--a],r),t[i]=n[a]}else{if(!l){l=new Map;let e=s;for(;e<a;)l.set(n[e],e++)}let r=l.get(t[o]);if(r!=null){if(s<r&&r<a){let c=o,u=1,d;for(;++c<i&&c<a&&(d=l.get(t[c]))!=null&&d===r+u;)u++;if(u>r-s){let i=t[o];for(;s<r;)e.insertBefore(n[s++],i)}else e.replaceChild(n[s++],t[o++])}else o++}else t[o++].remove()}}}var Ve=`_$DX_DELEGATE`;function V(e,t,n,r){let i,a=()=>{let t=r?document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`template`):document.createElement(`template`);return t.innerHTML=e,n?t.content.firstChild.firstChild:r?t.firstChild:t.content.firstChild},o=t?()=>E(()=>document.importNode(i||=a(),!0)):()=>(i||=a()).cloneNode(!0);return o.cloneNode=o,o}function He(e,t=window.document){let n=t[Ve]||(t[Ve]=new Set);for(let r=0,i=e.length;r<i;r++){let i=e[r];n.has(i)||(n.add(i),t.addEventListener(i,it))}}function H(e,t,n){et(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Ue(e,t,n,r){et(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}function We(e,t,n){et(e)||(n?e.setAttribute(t,``):e.removeAttribute(t))}function Ge(e,t){et(e)||(t==null?e.removeAttribute(`class`):e.className=t)}function Ke(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){let r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,typeof n!=`function`&&n)}function qe(e,t,n={}){let r=Object.keys(t||{}),i=Object.keys(n),a,o;for(a=0,o=i.length;a<o;a++){let r=i[a];r&&r!==`undefined`&&!t[r]&&(nt(e,r,!1),delete n[r])}for(a=0,o=r.length;a<o;a++){let i=r[a],o=!!t[i];i&&i!==`undefined`&&n[i]!==o&&o&&(nt(e,i,!0),n[i]=o)}return n}function Je(e,t,n){if(!t)return n?H(e,`style`):t;let r=e.style;if(typeof t==`string`)return r.cssText=t;typeof n==`string`&&(r.cssText=n=void 0),n||={},t||={};let i,a;for(a in n)t[a]??r.removeProperty(a),delete n[a];for(a in t)i=t[a],i!==n[a]&&(r.setProperty(a,i),n[a]=i);return n}function Ye(e,t,n){n==null?e.style.removeProperty(t):e.style.setProperty(t,n)}function Xe(e,t={},n,r){let i={};return r||C(()=>i.children=at(e,t.children,i.children)),C(()=>typeof t.ref==`function`&&Ze(t.ref,e)),C(()=>Qe(e,t,n,!0,i,!0)),i}function Ze(e,t,n){return E(()=>e(t,n))}function U(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!=`function`)return at(e,t,r,n);C(r=>at(e,t(),r,n),r)}function Qe(e,t,n,r,i={},a=!1){t||={};for(let r in i)if(!(r in t)){if(r===`children`)continue;i[r]=rt(e,r,null,i[r],n,a,t)}for(let o in t){if(o===`children`){r||at(e,t.children);continue}let s=t[o];i[o]=rt(e,o,s,i[o],n,a,t)}}function $e(e){let n,r;return!et()||!(n=t.registry.get(r=lt()))?e():(t.completed&&t.completed.add(n),t.registry.delete(r),n)}function et(e){return!!t.context&&!t.done&&(!e||e.isConnected)}function tt(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function nt(e,t,n){let r=t.trim().split(/\s+/);for(let t=0,i=r.length;t<i;t++)e.classList.toggle(r[t],n)}function rt(e,t,n,r,i,a,o){let s,c,l,u,d;if(t===`style`)return Je(e,n,r);if(t===`classList`)return qe(e,n,r);if(n===r)return r;if(t===`ref`)a||n(e);else if(t.slice(0,3)===`on:`){let i=t.slice(3);r&&e.removeEventListener(i,r,typeof r!=`function`&&r),n&&e.addEventListener(i,n,typeof n!=`function`&&n)}else if(t.slice(0,10)===`oncapture:`){let i=t.slice(10);r&&e.removeEventListener(i,r,!0),n&&e.addEventListener(i,n,!0)}else if(t.slice(0,2)===`on`){let i=t.slice(2).toLowerCase(),a=Ie.has(i);if(!a&&r){let t=Array.isArray(r)?r[0]:r;e.removeEventListener(i,t)}(a||n)&&(Ke(e,i,n,a),a&&He([i]))}else if(t.slice(0,5)===`attr:`)H(e,t.slice(5),n);else if(t.slice(0,5)===`bool:`)We(e,t.slice(5),n);else if((d=t.slice(0,5)===`prop:`)||(l=Me.has(t))||!i&&((u=Fe(t,e.tagName))||(c=je.has(t)))||(s=e.nodeName.includes(`-`)||`is`in o)){if(d)t=t.slice(5),c=!0;else if(et(e))return n;t===`class`||t===`className`?Ge(e,n):s&&!c&&!l?e[tt(t)]=n:(t===`value`||t===`defaultValue`)&&(e.nodeName===`INPUT`||e.nodeName===`TEXTAREA`)?e[u||t]=n??``:e[u||t]=n}else{let r=i&&t.indexOf(`:`)>-1&&Re[t.split(`:`)[0]];r?Ue(e,r,t,n):H(e,Ne[t]||t,n)}return n}function it(e){if(t.registry&&t.events&&t.events.find(([t,n])=>n===e))return;let n=e.target,r=`$$${e.type}`,i=e.target,a=e.currentTarget,o=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),s=()=>{let t=n[r];if(t&&!n.disabled){let i=n[`${r}Data`];if(i===void 0?t.call(n,e):t.call(n,i,e),e.cancelBubble)return}return n.host&&typeof n.host!=`string`&&!n.host._$host&&n.contains(e.target)&&o(n.host),!0},c=()=>{for(;s()&&(n=n._$host||n.parentNode||n.host););};Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return n||document}}),t.registry&&!t.done&&(t.done=_$HY.done=!0);try{if(e.composedPath){let t=e.composedPath();o(t[0]);for(let e=0;e<t.length-2&&(n=t[e],s());e++){if(n._$host){n=n._$host,c();break}if(n.parentNode===a)break}}else c();o(i)}finally{e=n=null}}function at(e,t,n,r,i){let a=et(e);if(a){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){let r=n[e];r.nodeType===8&&r.data.slice(0,2)===`!$`?r.remove():t.push(r)}n=t}for(;typeof n==`function`;)n=n();if(t===n)return n;let o=typeof t,s=r!==void 0;if(e=s&&n[0]&&n[0].parentNode||e,o===`string`||o===`number`){if(a||o===`number`&&(t=t.toString(),t===n))return n;if(s){let i=n[0];i&&i.nodeType===3?i.data!==t&&(i.data=t):i=document.createTextNode(t),n=ct(e,n,r,i)}else n=n!==``&&typeof n==`string`?e.firstChild.data=t:e.textContent=t}else if(t==null||o===`boolean`){if(a)return n;n=ct(e,n,r)}else if(o===`function`)return C(()=>{let i=t();for(;typeof i==`function`;)i=i();n=at(e,i,n,r)}),()=>n;else if(Array.isArray(t)){let o=[],c=n&&Array.isArray(n);if(ot(o,t,n,i))return C(()=>n=at(e,o,n,r,!0)),()=>n;if(a){if(!o.length)return n;if(r===void 0)return n=[...e.childNodes];let t=o[0];if(t.parentNode!==e)return n;let i=[t];for(;(t=t.nextSibling)!==r;)i.push(t);return n=i}if(o.length===0){if(n=ct(e,n,r),s)return n}else c?n.length===0?st(e,o,r):Be(e,n,o):(n&&ct(e),st(e,o));n=o}else if(t.nodeType){if(a&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=ct(e,n,r,t);ct(e,n,null,t)}else n==null||n===``||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}return n}function ot(e,t,n,r){let i=!1;for(let a=0,o=t.length;a<o;a++){let o=t[a],s=n&&n[e.length],c;if(o!=null&&o!==!0&&o!==!1){if((c=typeof o)==`object`&&o.nodeType)e.push(o);else if(Array.isArray(o))i=ot(e,o,s)||i;else if(c===`function`){if(r){for(;typeof o==`function`;)o=o();i=ot(e,Array.isArray(o)?o:[o],Array.isArray(s)?s:[s])||i}else e.push(o),i=!0}else{let t=String(o);s&&s.nodeType===3&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}}return i}function st(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n)}function ct(e,t,n,r){if(n===void 0)return e.textContent=``;let i=r||document.createTextNode(``);if(t.length){let r=!1;for(let a=t.length-1;a>=0;a--){let o=t[a];if(i!==o){let t=o.parentNode===e;!r&&!a?t?e.replaceChild(i,o):e.insertBefore(i,n):t&&o.remove()}else r=!0}}else e.insertBefore(i,n);return[i]}function lt(){return t.getNextContextId()}var ut=`http://www.w3.org/2000/svg`;function dt(e,t=!1,n=void 0){return t?document.createElementNS(ut,e):document.createElement(e,{is:n})}function ft(e,n){let r=T(e);return T(()=>{let e=r();switch(typeof e){case`function`:return E(()=>e(n));case`string`:let r=Le.has(e),i=t.context?$e():dt(e,r,E(()=>n.is));return Xe(i,n,r),i}})}function pt(e){let[,t]=z(e,[`component`]);return ft(()=>e.component,t)}function mt(e){return Object.keys(e).reduce((t,n)=>{let r=e[n];return t[n]=Object.assign({},r),xt(r.value)&&!St(r.value)&&!Array.isArray(r.value)&&(t[n].value=Object.assign({},r.value)),Array.isArray(r.value)&&(t[n].value=r.value.slice(0)),t},{})}function ht(e){return e?Object.keys(e).reduce((t,n)=>{let r=e[n];return t[n]=xt(r)&&`value`in r?r:{value:r},t[n].attribute||(t[n].attribute=bt(n)),t[n].parse=`parse`in t[n]?t[n].parse:typeof t[n].value!=`string`,t},{}):{}}function gt(e){return Object.keys(e).reduce((t,n)=>(t[n]=e[n].value,t),{})}function _t(e,t){let n=mt(t);return Object.keys(t).forEach(t=>{let r=n[t],i=e.getAttribute(r.attribute),a=e[t];i!=null&&(r.value=r.parse?vt(i):i),a!=null&&(r.value=Array.isArray(a)?a.slice(0):a),r.reflect&&yt(e,r.attribute,r.value,!!r.parse),Object.defineProperty(e,t,{get(){return r.value},set(e){let n=r.value;r.value=e,r.reflect&&yt(this,r.attribute,r.value,!!r.parse);for(let r=0,i=this.__propertyChangedCallbacks.length;r<i;r++)this.__propertyChangedCallbacks[r](t,e,n)},enumerable:!0,configurable:!0})}),n}function vt(e){if(e)try{return JSON.parse(e)}catch{return e}}function yt(e,t,n,r){if(n==null||n===!1)return e.removeAttribute(t);let i=r?JSON.stringify(n):n;e.__updating[t]=!0,i===`true`&&(i=``),e.setAttribute(t,i),Promise.resolve().then(()=>delete e.__updating[t])}function bt(e){return e.replace(/\.?([A-Z]+)/g,(e,t)=>`-`+t.toLowerCase()).replace(`_`,`-`).replace(/^-/,``)}function xt(e){return e!=null&&(typeof e==`object`||typeof e==`function`)}function St(e){return Object.prototype.toString.call(e)===`[object Function]`}function Ct(e){return typeof e==`function`&&e.toString().indexOf(`class`)===0}var wt;function W(){Object.defineProperty(wt,"renderRoot",{value:wt})}function Tt(e,t){let n=Object.keys(t);return class extends e{static get observedAttributes(){return n.map(e=>t[e].attribute)}constructor(){super(),this.__initialized=!1,this.__released=!1,this.__releaseCallbacks=[],this.__propertyChangedCallbacks=[],this.__updating={},this.props={};for(let e of n)this[e]=void 0}connectedCallback(){if(this.__initialized)return;this.__releaseCallbacks=[],this.__propertyChangedCallbacks=[],this.__updating={},this.props=_t(this,t);let e=gt(this.props),n=this.Component,r=wt;try{wt=this,this.__initialized=!0,Ct(n)?new n(e,{element:this}):n(e,{element:this})}finally{wt=r}}async disconnectedCallback(){if(await Promise.resolve(),this.isConnected)return;this.__propertyChangedCallbacks.length=0;let e=null;for(;e=this.__releaseCallbacks.pop();)e(this);delete this.__initialized,this.__released=!0}attributeChangedCallback(e,n,r){if(this.__initialized&&!this.__updating[e]&&(e=this.lookupProp(e),e in t)){if(r==null&&!this[e])return;this[e]=t[e].parse?vt(r):r}}lookupProp(e){if(t)return n.find(n=>e===n||e===t[n].attribute)}get renderRoot(){return this.shadowRoot||this.attachShadow({mode:`open`})}addReleaseCallback(e){this.__releaseCallbacks.push(e)}addPropertyChangedCallback(e){this.__propertyChangedCallbacks.push(e)}}}function Et(e,t={},n={}){let{BaseElement:r=HTMLElement,extension:i,customElements:a=window.customElements}=n;return n=>{if(!e)throw Error(`tag is required to register a Component`);let o=a.get(e);return o?(o.prototype.Component=n,o):(o=Tt(r,ht(t)),o.prototype.Component=n,o.prototype.registeredTag=e,a.define(e,o,i),o)}}function Dt(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let[i,a]=S(e[t[r]]);Object.defineProperty(n,t[r],{get:i,set(e){a(()=>e)}})}return n}function Ot(e){if(e.assignedSlot&&e.assignedSlot._$owner)return e.assignedSlot._$owner;let t=e.parentNode;for(;t;){if(t._$owner)return t._$owner;if(t.assignedSlot&&t.assignedSlot._$owner)return t.assignedSlot._$owner;t=t.parentNode}return e._$owner}function kt(e){return(t,n)=>{let{element:r}=n;return b(i=>{let a=Dt(t);r.addPropertyChangedCallback((e,t)=>a[e]=t),r.addReleaseCallback(()=>{r.renderRoot.textContent=``,i()});let o=e(a,n);return U(r.renderRoot,o)},Ot(r))}}function G(e,t,n){return arguments.length===2&&(n=t,t={}),Et(e,t)(kt(n))}function At(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=At(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function jt(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=At(e))&&(r&&(r+=` `),r+=t);return r}var Mt=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Nt=(e,t)=>({classGroupId:e,validator:t}),Pt=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Ft=`-`,It=[],Lt=`arbitrary..`,Rt=e=>{let t=Vt(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Bt(e);let n=e.split(Ft);return zt(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Mt(i,t):t:i||It}return n[e]||It}}},zt=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=zt(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Ft):e.slice(t).join(Ft),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Bt=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Lt+r:void 0})(),Vt=e=>{let{theme:t,classGroups:n}=e;return Ht(n,t)},Ht=(e,t)=>{let n=Pt();for(let r in e){let i=e[r];Ut(i,n,r,t)}return n},Ut=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Wt(i,t,n,r)}},Wt=(e,t,n,r)=>{typeof e==`string`?Gt(e,t,n):typeof e==`function`?Kt(e,t,n,r):qt(e,t,n,r)},Gt=(e,t,n)=>{let r=e===``?t:Jt(t,e);r.classGroupId=n},Kt=(e,t,n,r)=>{Yt(e)?Ut(e(r),t,n,r):(t.validators===null&&(t.validators=[]),t.validators.push(Nt(n,e)))},qt=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Ut(o,Jt(t,a),n,r)}},Jt=(e,t)=>{let n=e,r=t.split(Ft),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Pt(),n.nextPart.set(t,i)),n=i}return n},Yt=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Xt=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Zt=`!`,Qt=`:`,$t=[],en=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),tn=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Qt){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Zt)?(c=s.slice(0,-1),l=!0):s.startsWith(Zt)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return en(t,l,c,u)};if(t){let e=t+Qt,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):en($t,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},nn=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},rn=e=>({cache:Xt(e.cacheSize),parseClassName:tn(e),sortModifiers:nn(e),postfixLookupClassGroupIds:an(e),...Rt(e)}),an=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},on=/\s+/,sn=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(on),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h||(g=r(p),!g)){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+Zt:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},cn=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=ln(n))&&(i&&(i+=` `),i+=r);return i},ln=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=ln(e[r]))&&(n&&(n+=` `),n+=t);return n},un=(e,...t)=>{let n,r,i,a,o=o=>(n=rn(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=sn(e,n);return i(e,a),a};return a=o,(...e)=>a(cn(...e))},dn=[],K=e=>{let t=t=>t[e]||dn;return t.isThemeGetter=!0,t.themeKey=e,t},fn=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,pn=/^\((?:(\w[\w-]*):)?(.+)\)$/i,mn=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,hn=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gn=/\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$/,_n=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,vn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,bn=e=>mn.test(e),q=e=>!!e&&!Number.isNaN(Number(e)),xn=e=>!!e&&Number.isInteger(Number(e)),Sn=e=>e.endsWith(`%`)&&q(e.slice(0,-1)),Cn=e=>hn.test(e),wn=()=>!0,Tn=e=>gn.test(e)&&!_n.test(e),En=()=>!1,Dn=e=>vn.test(e),On=e=>yn.test(e),kn=e=>!J(e)&&!Y(e),An=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)),jn=e=>Kn(e,Xn,En),J=e=>fn.test(e),Mn=e=>Kn(e,Zn,Tn),Nn=e=>Kn(e,Qn,q),Pn=e=>Kn(e,er,wn),Fn=e=>Kn(e,$n,En),In=e=>Kn(e,Jn,En),Ln=e=>Kn(e,Yn,On),Rn=e=>Kn(e,tr,Dn),Y=e=>pn.test(e),zn=e=>qn(e,Zn),Bn=e=>qn(e,$n),Vn=e=>qn(e,Jn),Hn=e=>qn(e,Xn),Un=e=>qn(e,Yn),Wn=e=>qn(e,tr,!0),Gn=e=>qn(e,er,!0),Kn=(e,t,n)=>{let r=fn.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},qn=(e,t,n=!1)=>{let r=pn.exec(e);return r?r[1]?t(r[1]):n:!1},Jn=e=>e===`position`||e===`percentage`,Yn=e=>e===`image`||e===`url`,Xn=e=>e===`length`||e===`size`||e===`bg-size`,Zn=e=>e===`length`,Qn=e=>e===`number`,$n=e=>e===`family-name`,er=e=>e===`number`||e===`weight`,tr=e=>e===`shadow`,nr=un(()=>{let e=K(`color`),t=K(`font`),n=K(`text`),r=K(`font-weight`),i=K(`tracking`),a=K(`leading`),o=K(`breakpoint`),s=K(`container`),c=K(`spacing`),l=K(`radius`),u=K(`shadow`),d=K(`inset-shadow`),f=K(`text-shadow`),p=K(`drop-shadow`),m=K(`blur`),h=K(`perspective`),g=K(`aspect`),_=K(`ease`),v=K(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Y,J],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Y,J,c],T=()=>[bn,`full`,`auto`,...w()],E=()=>[xn,`none`,`subgrid`,Y,J],ee=()=>[`auto`,{span:[`full`,xn,Y,J]},xn,Y,J],D=()=>[xn,`auto`,Y,J],O=()=>[`auto`,`min`,`max`,`fr`,Y,J],k=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],te=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],A=()=>[`auto`,...w()],j=()=>[bn,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ne=()=>[s,bn,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],re=()=>[bn,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],M=()=>[e,Y,J],ie=()=>[...b(),Vn,In,{position:[Y,J]}],ae=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],oe=()=>[`auto`,`cover`,`contain`,Hn,jn,{size:[Y,J]}],se=()=>[Sn,zn,Mn],N=()=>[``,`none`,`full`,l,Y,J],P=()=>[``,q,zn,Mn],ce=()=>[`solid`,`dashed`,`dotted`,`double`],le=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],F=()=>[q,Sn,Vn,In],ue=()=>[``,`none`,m,Y,J],de=()=>[`none`,q,Y,J],I=()=>[`none`,q,Y,J],fe=()=>[q,Y,J],pe=()=>[bn,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Cn],breakpoint:[Cn],color:[wn],container:[Cn],"drop-shadow":[Cn],ease:[`in`,`out`,`in-out`],font:[kn],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Cn],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Cn],shadow:[Cn],spacing:[`px`,q],text:[Cn],"text-shadow":[Cn],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,bn,J,Y,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Y,J]}],"container-named":[An],columns:[{columns:[q,`auto`,J,Y,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[xn,`auto`,Y,J]}],basis:[{basis:[bn,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[q,bn,`auto`,`initial`,`none`,J]}],grow:[{grow:[``,q,Y,J]}],shrink:[{shrink:[``,q,Y,J]}],order:[{order:[xn,`first`,`last`,`none`,Y,J]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...k(),`normal`]}],"justify-items":[{"justify-items":[...te(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...te()]}],"align-content":[{content:[`normal`,...k()]}],"align-items":[{items:[...te(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...te(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":k()}],"place-items":[{"place-items":[...te(),`baseline`]}],"place-self":[{"place-self":[`auto`,...te()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mbs:[{mbs:A()}],mbe:[{mbe:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:j()}],"inline-size":[{inline:[`auto`,...ne()]}],"min-inline-size":[{"min-inline":[`auto`,...ne()]}],"max-inline-size":[{"max-inline":[`none`,...ne()]}],"block-size":[{block:[`auto`,...re()]}],"min-block-size":[{"min-block":[`auto`,...re()]}],"max-block-size":[{"max-block":[`none`,...re()]}],w:[{w:[s,`screen`,...j()]}],"min-w":[{"min-w":[s,`screen`,`none`,...j()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...j()]}],h:[{h:[`screen`,`lh`,...j()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...j()]}],"max-h":[{"max-h":[`screen`,`lh`,`none`,...j()]}],"font-size":[{text:[`base`,n,zn,Mn]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Gn,Pn]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Sn,J]}],"font-family":[{font:[Bn,Fn,t]}],"font-features":[{"font-features":[J]}],"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:[i,Y,J]}],"line-clamp":[{"line-clamp":[q,`none`,Y,Nn]}],leading:[{leading:[`none`,a,...w()]}],"list-image":[{"list-image":[`none`,Y,J]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Y,J]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ce(),`wavy`]}],"text-decoration-thickness":[{decoration:[q,`from-font`,`auto`,Y,Mn]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[q,`auto`,Y,J]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[xn,Y,J]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Y,J]}],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`,Y,J]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ie()}],"bg-repeat":[{bg:ae()}],"bg-size":[{bg:oe()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},xn,Y,J],radial:[``,Y,J],conic:[``,xn,Y,J]},Un,Ln]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:se()}],"gradient-via-pos":[{via:se()}],"gradient-to-pos":[{to:se()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:P()}],"border-w-x":[{"border-x":P()}],"border-w-y":[{"border-y":P()}],"border-w-s":[{"border-s":P()}],"border-w-e":[{"border-e":P()}],"border-w-bs":[{"border-bs":P()}],"border-w-be":[{"border-be":P()}],"border-w-t":[{"border-t":P()}],"border-w-r":[{"border-r":P()}],"border-w-b":[{"border-b":P()}],"border-w-l":[{"border-l":P()}],"divide-x":[{"divide-x":P()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":P()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ce(),`hidden`,`none`]}],"divide-style":[{divide:[...ce(),`hidden`,`none`]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...ce(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[q,Y,J]}],"outline-w":[{outline:[``,q,zn,Mn]}],"outline-color":[{outline:M()}],shadow:[{shadow:[``,`inner`,`none`,u,Wn,Rn]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":[`none`,d,Wn,Rn]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:P()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[q,Mn]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":P()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":[`none`,f,Wn,Rn]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[q,Y,J]}],"mix-blend":[{"mix-blend":[...le(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":le()}],"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":[q]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[Y,J]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":b()}],"mask-image-conic-pos":[{"mask-conic":[q]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ie()}],"mask-repeat":[{mask:ae()}],"mask-size":[{mask:oe()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Y,J]}],filter:[{filter:[``,`none`,Y,J]}],blur:[{blur:ue()}],brightness:[{brightness:[q,Y,J]}],contrast:[{contrast:[q,Y,J]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Wn,Rn]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:[``,q,Y,J]}],"hue-rotate":[{"hue-rotate":[q,Y,J]}],invert:[{invert:[``,q,Y,J]}],saturate:[{saturate:[q,Y,J]}],sepia:[{sepia:[``,q,Y,J]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Y,J]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[q,Y,J]}],"backdrop-contrast":[{"backdrop-contrast":[q,Y,J]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,q,Y,J]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[q,Y,J]}],"backdrop-invert":[{"backdrop-invert":[``,q,Y,J]}],"backdrop-opacity":[{"backdrop-opacity":[q,Y,J]}],"backdrop-saturate":[{"backdrop-saturate":[q,Y,J]}],"backdrop-sepia":[{"backdrop-sepia":[``,q,Y,J]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Y,J]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[q,`initial`,Y,J]}],ease:[{ease:[`linear`,`initial`,_,Y,J]}],delay:[{delay:[q,Y,J]}],animate:[{animate:[`none`,v,Y,J]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Y,J]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:de()}],"rotate-x":[{"rotate-x":de()}],"rotate-y":[{"rotate-y":de()}],"rotate-z":[{"rotate-z":de()}],scale:[{scale:I()}],"scale-x":[{"scale-x":I()}],"scale-y":[{"scale-y":I()}],"scale-z":[{"scale-z":I()}],"scale-3d":[`scale-3d`],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[Y,J,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":[`translate-none`],zoom:[{zoom:[xn,Y,J]}],accent:[{accent:M()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:M()}],"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`,Y,J]}],"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":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,Y,J]}],fill:[{fill:[`none`,...M()]}],"stroke-w":[{stroke:[q,zn,Mn,Nn]}],stroke:[{stroke:[`none`,...M()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},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":[`start`,`end`,`right`,`left`],"inset-y":[`inset-bs`,`inset-be`,`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`ps`,`pe`,`pr`,`pl`],py:[`pbs`,`pbe`,`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`ms`,`me`,`mr`,`ml`],my:[`mbs`,`mbe`,`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-s`,`border-w-e`,`border-w-r`,`border-w-l`],"border-w-y":[`border-w-bs`,`border-w-be`,`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-s`,`border-color-e`,`border-color-r`,`border-color-l`],"border-color-y":[`border-color-bs`,`border-color-be`,`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-ms`,`scroll-me`,`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mbs`,`scroll-mbe`,`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-ps`,`scroll-pe`,`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function X(...e){return nr(jt(e))}var rr=V(`<span class="text-sm text-muted-foreground"> / `),ir=V(`<div><div class="flex items-end justify-between gap-2"><span class="font-semibold text-foreground"></span></div><div class="relative mt-2 h-2 w-full rounded-full bg-muted"role=meter><div class="absolute h-2 rounded-full bg-gradient-to-r from-primary/40 to-primary"></div><div class="absolute -top-1 h-4 w-4 -translate-x-1/2 rounded-full border-2 border-background bg-primary shadow"></div></div><div class="flex items-center justify-between text-xs text-muted-foreground">`),ar=V(`<span>`),or=[{min:10,label:`Brand New`},{min:9,label:`Excellent`},{min:7,label:`Very Good`},{min:5,label:`Good`},{min:1,label:`Fair`}];function sr(e){let t=()=>e.min??1,n=()=>e.max??10,r=()=>(e.tiers??or).slice().sort((e,t)=>e.min-t.min),i=()=>{let r=n()-t();return r<=0?0:Math.max(0,Math.min(100,(e.value-t())/r*100))},a=()=>{let t=r(),n=t[0];for(let r of t)r.min<=e.value&&(n=r);return n};return(()=>{var o=ir(),s=o.firstChild,c=s.firstChild,l=s.nextSibling,u=l.firstChild,d=u.nextSibling,f=l.nextSibling;return U(c,()=>a()?.label),U(s,L(B,{get when(){return e.showValue??!0},get children(){var t=rr(),r=t.firstChild;return U(t,()=>e.value,r),U(t,n,null),t}}),null),U(f,L(ke,{get each(){return[r()[0],r()[r().length-1]]},children:e=>(()=>{var t=ar();return U(t,()=>e?.label),t})()})),C(r=>{var s=X(`flex flex-col gap-2`,e.class),c=t(),f=n(),p=e.value,m=a()?.label??`Condition`,h=`${i()}%`,g=`${i()}%`;return s!==r.e&&Ge(o,r.e=s),c!==r.t&&H(l,`aria-valuemin`,r.t=c),f!==r.a&&H(l,`aria-valuemax`,r.a=f),p!==r.o&&H(l,`aria-valuenow`,r.o=p),m!==r.i&&H(l,`aria-label`,r.i=m),h!==r.n&&Ye(u,`width`,r.n=h),g!==r.s&&Ye(d,`left`,r.s=g),r},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0}),o})()}function cr(e){let[t,n]=z(e,[`as`]);if(!t.as)throw Error("[kobalte]: Polymorphic is missing the required `as` prop.");return L(pt,R(n,{get component(){return t.as}}))}var lr=Object.defineProperty,ur=(e,t)=>{for(var n in t)lr(e,n,{get:t[n],enumerable:!0})};ur({},{Alert:()=>fr,Root:()=>dr});function dr(e){return L(cr,R({as:`div`,role:`alert`},e))}var fr=dr,pr=A({size:24,color:`currentColor`,strokeWidth:2,absoluteStrokeWidth:!1,nonScalingStroke:!1,class:``}),mr=V(`<svg>`),hr={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},gr=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim();function _r(e){return e!=null}function vr(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??hr.width,a=e.size??e.height??hr.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?gr(...c):gr(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??hr[`stroke-width`])*Number(e.size??e.width??hr.width)/Number(t.size??t.width??hr.width):t.strokeWidth??hr[`stroke-width`];return[`svg`,{...Object.entries(hr).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&_r(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&_r(t.width)&&{[r(`width`)]:t.width},...`height`in t&&_r(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}var yr=vr,br=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},xr=e=>{let[t,n]=z(e,[`color`,`size`,`width`,`height`,`strokeWidth`,`children`,`class`,`icon`,`iconNode`,`absoluteStrokeWidth`,`nonScalingStroke`]),r=j(pr),i=T(()=>t.icon??{node:t.iconNode??[],size:24,aliases:[]}),a=T(()=>yr(i(),{color:t.color??r.color,width:t.width??t.size??r.size,height:t.height??t.size??r.size,strokeWidth:t.strokeWidth??r.strokeWidth,absoluteStrokeWidth:t.absoluteStrokeWidth??r.absoluteStrokeWidth,nonScalingStroke:t.nonScalingStroke??r.nonScalingStroke,className:gr(`lucide-icon`,r.class,t.class),hasA11yProp:!!t.children||br(n),attributes:n}));return(()=>{var e=mr();return Xe(e,R(()=>a()[1]),!0,!0),U(e,L(ke,{get each(){return a()[2]??[]},children:([e,t])=>L(pt,R({component:e},t))})),e})()},Sr={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};Sr.node;var Cr=e=>L(xr,R(e,{icon:Sr})),wr={name:`circle-check`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 9-5.5 5.5L8 12`,key:`xofnsj`}]],aliases:[`check-circle-2`]};wr.node;var Tr=e=>L(xr,R(e,{icon:wr})),Er={name:`circle-x`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]],aliases:[`x-circle`]};Er.node;var Dr=e=>L(xr,R(e,{icon:Er})),Or={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]};Or.node;var kr=e=>L(xr,R(e,{icon:Or})),Ar={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};Ar.node;var jr=e=>L(xr,R(e,{icon:Ar})),Mr={name:`star`,size:24,node:[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]};Mr.node;var Nr=e=>L(xr,R(e,{icon:Mr})),Pr={name:`triangle-alert`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`]};Pr.node;var Fr=e=>L(xr,R(e,{icon:Pr})),Ir={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Ir.node;var Lr=e=>L(xr,R(e,{icon:Ir})),Rr=V(`<p class=font-semibold>`),zr=V(`<div class=flex-1><div class=text-muted-foreground>`),Br={info:{wrap:`border-sky-500/30 bg-sky-500/10`,icon:`text-sky-500`,Icon:jr},success:{wrap:`border-emerald-500/30 bg-emerald-500/10`,icon:`text-emerald-500`,Icon:Tr},warning:{wrap:`border-amber-500/30 bg-amber-500/10`,icon:`text-amber-500`,Icon:Fr},danger:{wrap:`border-rose-500/30 bg-rose-500/10`,icon:`text-rose-500`,Icon:Dr}};function Vr(e){let t=()=>Br[e.tone??`info`];return L(fr,{get class(){return X(`flex gap-3 rounded-lg border p-3 text-sm text-foreground`,t().wrap,e.class)},get children(){return[L(pt,{get component(){return t().Icon},get class(){return X(`mt-0.5 h-4 w-4 shrink-0`,t().icon)}}),(()=>{var t=zr(),n=t.firstChild;return U(t,L(B,{get when(){return e.title},get children(){var t=Rr();return U(t,()=>e.title),t}}),n),U(n,()=>e.children),t})()]}})}var Hr=V(`<a class="underline-offset-2 transition-colors hover:underline motion-reduce:transition-none">`),Ur=V(`<button type=button aria-label="Dismiss announcement"class="absolute right-2 top-1/2 -translate-y-1/2 rounded-sm p-1 transition-opacity hover:opacity-80 motion-reduce:transition-none">`),Wr=V(`<div role=region aria-label=Announcement>`),Gr=V(`<span>`),Kr=V(`<span class="ml-2 inline-flex items-center gap-1 rounded-md bg-black/10 px-2 py-0.5 font-mono"><button type=button class="inline-flex items-center gap-1 transition-opacity hover:opacity-80 motion-reduce:transition-none">`),qr={primary:`bg-primary text-primary-foreground`,accent:`bg-accent text-accent-foreground`,neutral:`bg-muted text-foreground`};function Jr(e){let[t,n]=S(!1),[r,i]=S(!1),a=async()=>{let t=e.couponCode;t&&navigator.clipboard&&(await navigator.clipboard.writeText(t),i(!0),setTimeout(()=>i(!1),1500))},o=()=>{n(!0),e.onDismiss?.()};return L(B,{get when(){return!t()},get children(){var t=Wr();return U(t,L(B,{get when(){return e.href},get fallback(){return(()=>{var t=Gr();return U(t,()=>e.children),t})()},get children(){var t=Hr();return U(t,()=>e.children),C(()=>H(t,`href`,e.href)),t}}),null),U(t,L(B,{get when(){return e.couponCode},children:e=>(()=>{var t=Kr(),n=t.firstChild;return U(t,e,n),n.$$click=a,U(n,L(B,{get when(){return r()},get fallback(){return L(kr,{class:`h-3 w-3`})},get children(){return[L(Cr,{class:`h-3 w-3`}),`Copied`]}})),C(()=>H(n,`aria-label`,r()?`Coupon code copied`:`Copy coupon code`)),t})()}),null),U(t,L(B,{get when(){return e.dismissible},get children(){var e=Ur();return e.$$click=o,U(e,L(Lr,{class:`h-4 w-4`})),e}}),null),C(()=>Ge(t,X(`relative w-full rounded-none px-4 py-2 text-center text-sm`,qr[e.tone??`primary`],e.dismissible&&`pr-10`,e.class))),t}})}He([`click`]),ur({},{Fallback:()=>Zr,Image:()=>ei,Img:()=>Qr,Root:()=>$r,useImageContext:()=>Xr});var Yr=A();function Xr(){let e=j(Yr);if(e===void 0)throw Error("[kobalte]: `useImageContext` must be used within an `Image.Root` component");return e}function Zr(e){let t=Xr(),[n,r]=S(t.fallbackDelay()===void 0);return w(()=>{let e=t.fallbackDelay();if(e!==void 0){let t=window.setTimeout(()=>r(!0),e);O(()=>window.clearTimeout(t))}}),L(B,{get when(){return ze(()=>!!n())()&&t.imageLoadingStatus()!==`loaded`},get children(){return L(cr,R({as:`span`},e))}})}function Qr(e){let t=Xr(),[n,r]=S(`idle`);return w(ee(()=>e.src,t=>{if(!t){r(`error`);return}let n=!0,i=new window.Image,a=e=>()=>{n&&r(e)};r(`loading`),e.crossOrigin!==void 0&&(i.crossOrigin=e.crossOrigin),e.referrerPolicy!==void 0&&(i.referrerPolicy=e.referrerPolicy),i.onload=a(`loaded`),i.onerror=a(`error`),i.src=t,O(()=>{n=!1})})),w(()=>{let e=n();e!==`idle`&&t.onImageLoadingStatusChange(e)}),L(B,{get when(){return n()===`loaded`},get children(){return L(cr,R({as:`img`},e))}})}function $r(e){let[t,n]=z(e,[`fallbackDelay`,`onLoadingStatusChange`]),[r,i]=S(`idle`),a={fallbackDelay:()=>t.fallbackDelay,imageLoadingStatus:r,onImageLoadingStatusChange:e=>{i(e),t.onLoadingStatusChange?.(e)}};return L(Yr.Provider,{value:a,get children(){return L(cr,R({as:`span`},n))}})}var ei=Object.assign($r,{Fallback:Zr,Img:Qr});function ti(e){return L(ei,{get class(){return X(`inline-flex h-9 w-9 shrink-0 overflow-hidden rounded-full bg-muted`,e.class)},get children(){return[L(ei.Img,{get src(){return e.src},get alt(){return e.alt},class:`h-full w-full object-cover`}),L(ei.Fallback,{class:`grid h-full w-full place-items-center text-xs font-medium text-muted-foreground`,get children(){return e.fallback}})]}})}var ni=V(`<span class="relative flex h-1.5 w-1.5"aria-hidden=true><span class="absolute inline-flex h-full w-full animate-ping rounded-full bg-current opacity-75"></span><span class="relative inline-flex h-1.5 w-1.5 rounded-full bg-current">`),ri=V(`<span>`),ii={neutral:`bg-muted text-muted-foreground ring-border`,success:`bg-emerald-500/15 text-emerald-300 ring-emerald-500/30 light:text-emerald-700`,warning:`bg-amber-500/15 text-amber-300 ring-amber-500/30 light:text-amber-700`,danger:`bg-rose-500/15 text-rose-300 ring-rose-500/30 light:text-rose-700`,info:`bg-sky-500/15 text-sky-300 ring-sky-500/30 light:text-sky-700`},ai=`badge inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold ring-1 ring-inset whitespace-nowrap`;function oi(e){let[t,n]=z(e,[`tone`,`class`,`children`,`pulse`]);return(()=>{var e=ri();return Xe(e,R({get class(){return X(ai,ii[t.tone??`neutral`],t.class)}},n),!1,!0),U(e,L(B,{get when(){return t.pulse},get children(){return ni()}}),null),U(e,()=>t.children,null),e})()}function si(e,t){e.indexOf(t)===-1&&e.push(t)}function ci(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var li=(e,t,n)=>n>t?t:n<e?e:n,ui={},di=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),fi=e=>typeof e==`object`&&!!e,pi=e=>/^0[^.\s]+$/u.test(e);function mi(e){let t;return()=>(t===void 0&&(t=e()),t)}var hi=e=>e,gi=(...e)=>e.reduce((e,t)=>n=>t(e(n))),_i=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},vi=class{constructor(){this.subscriptions=[]}add(e){return si(this.subscriptions,e),()=>this.remove(e)}remove(e){ci(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},yi=e=>e*1e3,bi=e=>e/1e3,xi=(e,t)=>t?1e3/t*e:0,Si=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e},Ci=(e,t,n)=>e*(3*(1-e)*((1-e)*t+e*n)+e*e);function wi(e,t,n,r){return e===t&&n===r?hi:i=>{let a=0,o=1,s=i;for(let t=0;;t++){s>=a&&s<=o||(s=(a+o)/2);let r=Ci(s,e,n)-i;if(r*r<1e-28||t===40)break;r>0?o=s:a=s,s-=r*1e-7/(Ci(s+1e-7,e,n)-i-r)}return Ci(s,t,r)}}var Ti=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ei=e=>t=>1-e(1-t),Di=wi(.33,1.53,.69,.99),Oi=Ei(Di),ki=Ti(Oi),Ai=e=>e>=1?1:(e*=2)<1?.5*Oi(e):.5*(2-2**(-10*(e-1))),ji=e=>1-Math.sin(Math.acos(e)),Mi=Ei(ji),Ni=Ti(ji),Pi=wi(.42,0,1,1),Fi=wi(0,0,.58,1),Ii=wi(.42,0,.58,1),Li=e=>Array.isArray(e)&&typeof e[0]!=`number`;function Ri(e,t){return Li(e)?e[Si(0,e.length,t)]:e}var zi=e=>Array.isArray(e)&&typeof e[0]==`number`,Bi={linear:hi,easeIn:Pi,easeInOut:Ii,easeOut:Fi,circIn:ji,circInOut:Ni,circOut:Mi,backIn:Oi,backInOut:ki,backOut:Di,anticipate:Ai},Vi=e=>typeof e==`string`,Hi=e=>{if(zi(e)){let[t,n,r,i]=e;return wi(t,n,r,i)}return Vi(e)?Bi[e]:e},Ui={delta:0,timestamp:0,isProcessing:!1},Wi;function Gi(){Wi=void 0}var Z={now:()=>(Wi===void 0&&Z.set(Ui.isProcessing||ui.useManualTiming?Ui.timestamp:performance.now()),Wi),set:e=>{Wi=e,queueMicrotask(Gi)}},Ki=e=>Math.round(e*1e5)/1e5,qi=(e=>t=>typeof t==`string`&&t.startsWith(e))(`var(--`),Ji=e=>qi(e)?Yi.test(e.split(`/*`)[0].trim()):!1,Yi=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Xi(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var Zi={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Qi={...Zi,transform:e=>li(0,1,e)},$i={...Zi,default:1},ea=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ta(e){return e==null}var na=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ra=(e,t)=>n=>!!(typeof n==`string`&&na.test(n)&&n.startsWith(e)||t&&!ta(n)&&Object.prototype.hasOwnProperty.call(n,t)),ia=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(ea);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},aa=e=>li(0,255,e),oa={...Zi,transform:e=>Math.round(aa(e))},sa={test:ra(`rgb`,`red`),parse:ia(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+oa.transform(e)+`, `+oa.transform(t)+`, `+oa.transform(n)+`, `+Ki(Qi.transform(r))+`)`},ca=(e,t,n)=>{let r=e.substring(1+t*n,1+(t+1)*n);return n>1?r:r+r};function la(e){let t=e.length>5?2:1,n=ca(e,3,t);return{red:parseInt(ca(e,0,t),16),green:parseInt(ca(e,1,t),16),blue:parseInt(ca(e,2,t),16),alpha:n?parseInt(n,16)/255:1}}var ua={test:ra(`#`),parse:la,transform:sa.transform},da=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),fa=da(`deg`),pa=da(`%`),Q=da(`px`),ma=da(`vh`),ha=da(`vw`),ga={...pa,parse:e=>pa.parse(e)/100,transform:e=>pa.transform(e*100)},_a={test:ra(`hsl`,`hue`),parse:ia(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+pa.transform(Ki(t))+`, `+pa.transform(Ki(n))+`, `+Ki(Qi.transform(r))+`)`},$={test:e=>sa.test(e)||ua.test(e)||_a.test(e),parse:e=>sa.test(e)?sa.parse(e):_a.test(e)?_a.parse(e):ua.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?sa.transform(e):_a.transform(e),getAnimatableNone:e=>{let t=$.parse(e);return t.alpha=0,$.transform(t)}},va=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ya=new RegExp(ea.source),ba=new RegExp(va.source,`i`);function xa(e){return isNaN(e)&&typeof e==`string`&&(ya.test(e)||ba.test(e))}var Sa=`number`,Ca=`color`,wa=`var`,Ta=`var(`,Ea="${}",Da=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;function Oa(e){let t=e.toString();return ya.test(t)||ba.test(t)}function ka(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(Da,e=>($.test(e)?(r.color.push(a),i.push(Ca),n.push($.parse(e))):e.startsWith(Ta)?(r.var.push(a),i.push(wa),n.push(e)):(r.number.push(a),i.push(Sa),n.push(parseFloat(e))),++a,Ea)).split(Ea),indexes:r,types:i}}function Aa(e){return ka(e).values}function ja({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Sa?Ki(r[a]):e===Ca?$.transform(r[a]):r[a]}return i}}function Ma(e){return ja(ka(e))}var Na=e=>typeof e==`number`?0:$.test(e)?$.getAnimatableNone(e):e,Pa=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Na(e);function Fa(e){let t=ka(e);return ja(t)(t.values.map((e,n)=>Pa(e,t.split[n])))}var Ia={test:xa,parse:Aa,createTransformer:Ma,getAnimatableNone:Fa};function La(e,t,n){return 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}function Ra({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=La(s,r,e+1/3),a=La(s,r,e),o=La(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function za(e,t){return n=>n>0?t:e}var Ba=(e,t,n)=>e+(t-e)*n,Va=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Ha=[ua,sa,_a],Ua=e=>Ha.find(t=>t.test(e));function Wa(e){let t=Ua(e);if(!t)return!1;let n=t.parse(e);return t===_a&&(n=Ra(n)),n}var Ga=(e,t)=>{let n=Wa(e),r=Wa(t);if(!n||!r)return za(e,t);let i={...n};return e=>(i.red=Va(n.red,r.red,e),i.green=Va(n.green,r.green,e),i.blue=Va(n.blue,r.blue,e),i.alpha=Ba(n.alpha,r.alpha,e),sa.transform(i))},Ka=new Set([`none`,`hidden`]);function qa(e,t){return Ka.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Ja(e,t){return n=>Ba(e,t,n)}function Ya(e){return typeof e==`number`?Ja:typeof e==`string`?Ji(e)?za:$.test(e)?Ga:$a:Array.isArray(e)?Xa:typeof e==`object`?$.test(e)?Ga:Za:za}function Xa(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Ya(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Za(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ya(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Qa(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var $a=(e,t)=>{let n=ka(e),r=ka(t);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?Ka.has(e)&&!r.values.length||Ka.has(t)&&!n.values.length?qa(e,t):gi(Xa(Qa(n,r),r.values),ja(r)):za(e,t)},eo=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function to(e,t){let n=eo.exec(e);if(!n)return;let r=eo.exec(t);if(!r||n[2]!==r[2])return;let i=n[2],a=parseFloat(n[1]),o=parseFloat(r[1]);return e=>Ki(Ba(a,o,e))+i}function no(e,t,n){if(typeof e==`number`&&typeof t==`number`&&typeof n==`number`)return Ba(e,t,n);if(typeof e==`string`&&typeof t==`string`){let n=to(e,t);if(n)return n}return Ya(e)(e,t)}var ro=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function io(e){let t=new Set,n=new Set,r=!1,i=!1,a,o=new Set,s={delta:0,timestamp:0,isProcessing:!1};function c(t){o.has(t)&&(n.add(t),e()),(a=t)(s)}let l={schedule:(e,i=!1,s=!1)=>{let c=s&&r,l=c?t:n;return i&&o.add(e),c&&e!==a&&l.delete(e),l.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(s=e,r){i=!0;return}r=!0;let o=t;t=n,n=o,t.forEach(c),t.clear(),a=void 0,r=!1,i&&(i=!1,l.process(e))}};return l}var ao=40;function oo(e,t,n={delta:0,timestamp:0,isProcessing:!1}){let r=!1,i=!0,a=()=>r=!0,o=ro.reduce((e,t)=>(e[t]=io(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=ui.useManualTiming,o=a?n.timestamp:performance.now();r=!1,a||(n.delta=i?1e3/60:Math.max(Math.min(o-n.timestamp,ao),1)),n.timestamp=o,n.isProcessing=!0,s.process(n),c.process(n),l.process(n),u.process(n),d.process(n),f.process(n),p.process(n),m.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(h))},g=()=>{r=!0,i=!0,n.isProcessing||e(h)};return{schedule:ro.reduce((e,t)=>{let n=o[t];return e[t]=(e,t=!1,i=!1)=>(r||g(),n.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<ro.length;t++)o[ro[t]].cancel(e)},state:n,steps:o}}var{schedule:so,cancel:co,steps:lo}=oo(typeof requestAnimationFrame<`u`?requestAnimationFrame:hi,!0,Ui),uo=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>so.update(t,e),stop:()=>co(t),now:()=>Ui.isProcessing?Ui.timestamp:Z.now()}},fo=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},po=2e4;function mo(e,t=50,n=po,r){let i=0,a=e.next(i);for(r?.push(a.value);!a.done&&i<n;)i+=t,a=e.next(i),r?.push(a.value);return i>=n?1/0:i}function ho(e,t=100,n){let{keyframes:r,velocity:i}=e,a=r&&r[r.length-1]-r[0],o=n({...e,velocity:i&&a?i*t/a:i,keyframes:[0,t]}),s=Math.min(mo(o),po);return{type:`keyframes`,ease:e=>o.next(s*e).value/t,duration:bi(s)}}var go=100,_o=10,vo=1,yo=800,bo=.3,xo=.3,So=.01,Co=2,wo=.005,To=.5,Eo=.01,Do=10,Oo=.05,ko=e=>e<0?1/Math.max(1+e,Oo):Math.max(1-e,Oo);function Ao(e,t){if(!(e>1))return 1;let n=Math.sqrt(e*e-1),r=e-n,i=e+n,a=2*n*Math.exp(-t)*(1+t);return No(e=>i*Math.exp(-r*e)-r*Math.exp(-i*e)-a,e=>Math.exp(-i*e)-Math.exp(-r*e),t)/t}function jo(e,t){return e*Math.sqrt(1-t*t)}var Mo=12;function No(e,t,n){let r=n;for(let n=1;n<Mo;n++)r-=e(r)/t(r);return r}var Po=.001;function Fo({duration:e=yo,bounce:t=bo}){let n,r,i=ko(t);e=li(Eo,Do,bi(e)),i<1?(n=t=>{let n=t*i,r=n*e,a=jo(t,i),o=Math.exp(-r);return Po-n/a*o},r=t=>{let r=t*i*e,a=i*i*t*t*e,o=Math.exp(-r),s=jo(t*t,i);return(-n(t)+Po>0?-1:1)*-a*o/s}):(n=t=>-.001+Math.exp(-t*e)*(t*e+1),r=t=>Math.exp(-t*e)*(-t*(e*e)));let a=5/e,o=No(n,r,a),s=o*Ao(i,o*e),c=s*s;return{stiffness:c,damping:i*2*Math.sqrt(c),duration:yi(e)}}var Io=(e,t)=>(t?e>=0:e>0)&&e<1/0;function Lo(e,t){if(Io(e,t))return e}function Ro(e){let t=Lo(e.stiffness),n=Lo(e.damping,!0),r=Lo(e.mass),i={...e,stiffness:t??go,damping:n??_o,mass:r??vo,isResolvedFromDuration:!1,isTimeDefined:(t??n??r)===void 0&&(e.duration!==void 0||e.bounce!==void 0)};if(i.isTimeDefined){if(e.visualDuration){let t=ko(e.bounce||0),n=2*Math.PI/(e.visualDuration*1.2)*Ao(t,2*Math.PI/1.2);i.stiffness=n*n,i.damping=2*t*Math.sqrt(i.stiffness)}else Object.assign(i,Fo(i)),i.isResolvedFromDuration=!0;Io(i.stiffness)&&Io(i.damping,!0)||(i.stiffness=go,i.damping=_o)}return i}function zo(e=xo,t=bo){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},r=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:o,damping:s,mass:c,duration:l,isResolvedFromDuration:u,isTimeDefined:d}=Ro({...n}),f=e=>d?0:-bi(e),p=s/(2*Math.sqrt(o*c)),m=bi(Math.sqrt(o/c)),h=p*m,g={target:i,delta:i-r,velocity:f(n.velocity||0)||0,restSpeed:0,restDelta:0},_=()=>{let e=Math.abs(g.delta)<5;g.restSpeed=n.restSpeed||(e?So:Co),g.restDelta=n.restDelta||(e?wo:To)};_();let v,y,b;if(p<1){let e=jo(m,p),t={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};b=()=>{t.A=(g.velocity+h*g.delta)/e,t.sinC=h*t.A+g.delta*e,t.cosC=h*g.delta-t.A*e};let n=n=>{n!==t.t&&(t.t=n,t.env=Math.exp(-h*n),t.sin=Math.sin(e*n),t.cos=Math.cos(e*n))};v=e=>(n(e),g.target-t.env*(t.A*t.sin+g.delta*t.cos)),y=e=>(n(e),t.env*(t.sinC*t.sin+t.cosC*t.cos))}else if(p===1){v=e=>g.target-Math.exp(-m*e)*(g.delta+(g.velocity+m*g.delta)*e);let e={C:0};b=()=>{e.C=g.velocity+m*g.delta},y=t=>Math.exp(-m*t)*(m*e.C*t-g.velocity)}else{let e=m*Math.sqrt(p*p-1),t=h-e,n=h+e,r=e<1||d?1/0:300/e,i=(e,t)=>Math.exp(t>r?(h-e)*r-h*t:-e*t),a={S:0,F:0};b=()=>{let t=(g.velocity+h*g.delta)/e;a.S=(g.delta+t)/2,a.F=(g.delta-t)/2},v=e=>g.target-a.S*i(t,e)-a.F*i(n,e),y=e=>t*a.S*i(t,e)+n*a.F*i(n,e)}b();let x=u&&l||null,S={calculatedDuration:x,retarget:(e,t)=>{g.target=e[e.length-1],g.delta=g.target-e[0],g.velocity=f(t),n.restSpeed&&n.restDelta||_(),S.calculatedDuration=x,a.done=!1,b()},velocity:e=>yi(y(e)),next:e=>{let t=v(e);if(u)a.done=e>=l;else{let n=yi(y(e));a.done=Math.abs(n)<=g.restSpeed&&Math.abs(g.target-t)<=g.restDelta}return a.value=a.done?g.target:t,a},toString:()=>{let e=Math.min(mo(S),po),t=fo(t=>S.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return S}var Bo=Object.assign(zo,{applyToOptions:e=>{let t=ho(e,100,zo);return e.ease=t.ease,e.duration=yi(t.duration),e.type=`keyframes`,e}});function Vo({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>e<s||e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o?o(g):g;_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>{let t=v(e);f.done=Math.abs(t)<=l,f.value=f.done?_:e?_+t:d},b,x,S=e=>{p(f.value)&&(b=e,x=Bo({keyframes:[f.value,m(f.value)],velocity:-v(e)/r*1e3,damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return!x&&b===void 0&&(t=!0,y(e),S(e)),b!==void 0&&e>=b?x.next(e-b):(!t&&y(e),f)}}}function Ho(e,t,n){let r=[],i=ui.mix||no,a=e.length-1;for(let o=0;o<a;o++){let a=n?.(e[o],e[o+1])||i(e[o],e[o+1]);t&&(a=gi(Array.isArray(t)?t[o]||hi:t,a)),r.push(a)}return r}function Uo(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Ho(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=_i(e[r],e[r+1],n);return s[r](i)};return n?t=>l(li(e[0],e[a-1],t)):l}function Wo(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=_i(0,t,r);e.push(Ba(n,1,i))}}function Go(e){let t=[0];return Wo(t,e.length-1),t}function Ko(e,t){return e.map(e=>e*t)}function qo(e,t){return e.map(()=>t||Ii).splice(0,e.length-1)}function Jo({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`,mixer:i}){let a=typeof t[0]==`number`?void 0:i,o=Li(r)?r.map(Hi):Hi(r)||Ii,s={done:!1,value:t[0]};if(!a&&t.length===2&&!Array.isArray(o)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){let[n,r]=t,i=n===r?void 0:(ui.mix||no)(n,r);return{calculatedDuration:e,next:t=>(s.value=i?i(o(e>0?li(0,1,t/e):1)):r,s.done=t>=e,s)}}let c=Uo(Ko(n&&n.length===t.length?n:Go(t),e),t,{ease:Array.isArray(o)?o:qo(t,o),mixer:a});return{calculatedDuration:e,next:t=>(s.value=c(t),s.done=t>=e,s)}}var Yo=5;function Xo(e,t,n){let r=Math.max(t-Yo,0);return xi(n-e(r),t-r)}function Zo(e,t,n=0){return t<=0?n:e.velocity?e.velocity(t):Xo(t=>e.next(t).value,t,e.next(t).value)}var Qo=e=>e!==null;function $o(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Qo),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var es={decay:Vo,inertia:Vo,tween:Jo,keyframes:Jo,spring:Bo};function ts(e){typeof e.type==`string`&&(e.type=es[e.type])}var ns=40,rs=(e,t)=>t-e>ns&&!ui.useManualTiming?t:e;function is(e,t){return{kind:e,animation:t,timestamp:Z.now(),frameTimestamp:Ui.timestamp,frameIsProcessing:Ui.isProcessing}}function as(e,t,n){let r=globalThis.__MOTION_INSPECT__;if(r)try{r({...is(`animation-start`,e),options:n?{...t,...n}:t})}catch{}}var os=class{constructor(){this.isResolved=!1}get finished(){return this._finished||=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e}),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,t){return this.finished.then(e,t)}},ss=e=>e/100,cs=e=>Math.round(e*1e4)/1e4,ls=class extends os{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==Z.now()&&this.tick(Z.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause(),as(this,this.options)}initAnimation(){let{options:e}=this;ts(e);let{type:t=Jo,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Jo;this.mixKeyframes=void 0,s!==Jo&&typeof o[0]!=`number`&&(this.mixKeyframes=gi(ss,e.mixer?.(o[0],o[1])||no(o[0],o[1])),o=[0,100]);let c=s(o===e.keyframes?e:{...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=mo(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){this.currentTime=this.holdTime??Math.round(e-this.startTime)*this.playbackSpeed}tick(e,t=!1){let{generator:n,totalDuration:r,calculatedDuration:i}=this;if(this.startTime===null)return n.next(0);let{delay:a=0,keyframes:o,type:s,onUpdate:c,finalKeyframe:l}=this.options;this.startTime===this.pendingStartTime&&(this.startTime=rs(this.startTime,e)),this.pendingStartTime=void 0,this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let u=this.currentTime-a*(this.playbackSpeed>=0?1:-1),d=this.playbackSpeed>=0?u<0:u>r;this.currentTime=Math.max(u,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let f=this.generate(this.currentTime,d),{done:p}=f;d||(p=this.playbackSpeed>=0?i<1/0?this.currentTime>=r:p:this.currentTime<=0);let m=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&p);return m&&s!==Vo&&(f.value=$o(o,this.options,l,this.speed)),c&&c(f.value),m&&this.finish(),f}at(e){return this.holdTime??cs((e-this.startTime)*this.playbackSpeed)}sampleAt(e,t){let{options:n,totalDuration:r}=this,i=this.at(e)-(n.delay||0);return i>=r&&n.type!==Vo?$o(n.keyframes,n,t?void 0:n.finalKeyframe):this.generate(Math.max(i,0),i<0).value}generate(e,t){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o}=this,{keyframes:s,repeat:c,repeatType:l,repeatDelay:u}=this.options,d=e,f=n;if(c){let t=Math.min(e,r)/o,n=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),i===1&&n--,n=Math.min(n,c+1),n%2&&(l===`reverse`?(i=1-i,u&&(i-=u/o)):l===`mirror`&&(f=a)),d=li(0,1,i)*o}let p;return t?(this.delayState.value=s[0],p=this.delayState):p=f.next(d),i&&!t&&(p.value=i(p.value)),p}get duration(){return bi(this.calculatedDuration)}get iterationDuration(){return this.duration+bi(this.options.delay??0)}get time(){return bi(this.currentTime)}set time(e){e=yi(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){return Zo(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(Z.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=bi(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=uo,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??(this.pendingStartTime=n):this.startTime=n-this.holdTime/(this.playbackSpeed||1),this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(Z.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.driver?.stop(),this.driver=void 0,this.startTime=this.holdTime=null}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}},us=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function ds(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(ea)||[];if(!r)return e;let i=n.replace(r,``),a=+!!us.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var fs=/\b([a-z-]*)\(.*?\)/gu,ps={...Ia,getAnimatableNone:e=>{let t=e.match(fs);return t?t.map(ds).join(` `):e}},ms={...Ia,getAnimatableNone:e=>{let t=Ia.parse(e);return Ia.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},hs={...Zi,transform:Math.round},gs={rotate:fa,pathRotation:fa,rotateX:fa,rotateY:fa,rotateZ:fa,scale:$i,scaleX:$i,scaleY:$i,scaleZ:$i,skew:fa,skewX:fa,skewY:fa,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:Qi,originX:ga,originY:ga,originZ:Q},_s={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,top:Q,right:Q,bottom:Q,left:Q,inset:Q,insetBlock:Q,insetBlockStart:Q,insetBlockEnd:Q,insetInline:Q,insetInlineStart:Q,insetInlineEnd:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,paddingBlock:Q,paddingBlockStart:Q,paddingBlockEnd:Q,paddingInline:Q,paddingInlineStart:Q,paddingInlineEnd:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,marginBlock:Q,marginBlockStart:Q,marginBlockEnd:Q,marginInline:Q,marginInlineStart:Q,marginInlineEnd:Q,fontSize:Q,backgroundPositionX:Q,backgroundPositionY:Q,...gs,zIndex:hs,fillOpacity:Qi,strokeOpacity:Qi,numOctaves:hs},vs={..._s,color:$,backgroundColor:$,outlineColor:$,fill:$,stroke:$,borderColor:$,borderTopColor:$,borderRightColor:$,borderBottomColor:$,borderLeftColor:$,filter:ps,WebkitFilter:ps,mask:ms,WebkitMask:ms},ys=e=>vs[e],bs=new Set([ps,ms]);function xs(e,t){let n=ys(e);return bs.has(n)||(n=Ia),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function Ss(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Cs=e=>e*180/Math.PI,ws=e=>Es(Cs(Math.atan2(e[1],e[0]))),Ts={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scaleZ:()=>1,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ws,rotateZ:ws,skewX:e=>Cs(Math.atan(e[1])),skewY:e=>Cs(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Es=e=>(e%=360,e<0&&(e+=360),e),Ds=ws,Os=e=>Math.hypot(e[0],e[1]),ks=e=>Math.hypot(e[4],e[5]),As={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Os,scaleY:ks,scaleZ:e=>Math.hypot(e[8],e[9],e[10]),scale:e=>(Os(e)+ks(e))/2,rotateX:e=>Es(Cs(Math.atan2(e[6],e[5]))),rotateY:e=>Es(Cs(Math.atan2(-e[2],e[0]))),rotateZ:Ds,rotate:Ds,skewX:e=>Cs(Math.atan(e[4])),skewY:e=>Cs(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function js(e){return+!!e.includes(`scale`)}function Ms(e,t){if(!e||e===`none`)return js(t);let n=e.match(/^matrix(3d)?\(([-\d.e\s,]+)\)$/u);if(!n)return js(t);let r=(n[1]?As:Ts)[t],i=n[2].split(`,`).map(e=>parseFloat(e));return typeof r==`function`?r(i):i[r]}var Ns=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Ms(n,t)},Ps=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`scaleZ`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Fs=new Set([...Ps,`pathRotation`]),Is=e=>e===Zi||e===Q,Ls=new Set([`x`,`y`,`z`]),Rs=Ps.filter(e=>!Ls.has(e));function zs(e){let t=[];return Rs.forEach(n=>{let r=e.getValue(n);if(r!==void 0){let e=r.get(),i=+!!n.startsWith(`scale`);if(e===i)return;t.push([n,e]),r.set(i)}}),t}var Bs=new Set([`bottom`,`right`]);function Vs(e,t,n,r,i,a){let o=parseFloat(e);if(!isNaN(o))return o;let{min:s,max:c}=t()[n],l=c-s;return a===`border-box`?l:l-parseFloat(r)-parseFloat(i)}var Hs=({transform:e})=>Ms(e,`x`),Us=({transform:e})=>Ms(e,`y`),Ws={width:({width:e,paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r},i)=>Vs(e,i,`x`,t,n,r),height:({height:e,paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r},i)=>Vs(e,i,`y`,t,n,r),top:({top:e})=>parseFloat(e),left:({left:e})=>parseFloat(e),bottom:({top:e},t)=>{let{y:n}=t();return parseFloat(e)+(n.max-n.min)},right:({left:e},t)=>{let{x:n}=t();return parseFloat(e)+(n.max-n.min)},x:Hs,y:Us,translateX:Hs,translateY:Us},Gs=new Set,Ks=!1,qs=!1,Js=!1;function Ys(){if(qs){let e=[],t=new Set,n=new Set;Gs.forEach(r=>{r.needsMeasurement&&(e.push(r),t.add(r.element),Bs.has(r.name)&&n.add(r.element))});let r=new Map;n.forEach(e=>{let t=zs(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}qs=!1,Ks=!1,Gs.forEach(e=>e.complete(Js)),Gs.clear()}function Xs(){Gs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(qs=!0)})}function Zs(){Js=!0,Xs(),Ys(),Js=!1}function Qs(e,t,n){if(typeof e==`string`){if(di(e)||pi(e))return parseFloat(e);if(!Ia.test(e)&&Ia.test(n))return xs(t,n)}return e??void 0}var $s=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Gs.add(this),Ks||(Ks=!0,so.read(Xs),so.resolveKeyframes(Ys))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=Qs(n.readValue(t,a),t,a);r!==void 0&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Ss(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Gs.delete(this)}cancel(){this.state===`scheduled`&&(Gs.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},ec=e=>e.startsWith(`--`);function tc(e,t,n){ec(t)?e.style.setProperty(t,n):e.style[t]=n}var nc={};function rc(e,t){let n=mi(e);return()=>nc[t]??n()}var ic=rc(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),ac=rc(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),oc=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,sc={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:oc([0,.65,.55,1]),circOut:oc([.55,0,1,.45]),backIn:oc([.31,.01,.66,-.59]),backOut:oc([.33,1.53,.69,.99])};function cc(e,t){if(e)return typeof e==`function`?ac()?fo(e,t):`ease-out`:zi(e)?oc(e):Array.isArray(e)?e.map(e=>cc(e,t)||sc.easeOut):sc[e]}function lc(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=cc(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function uc(e){return typeof e==`function`&&`applyToOptions`in e}function dc({type:e,...t}){return uc(e)&&ac()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var fc=class extends os{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e;let c=dc(e);this.animation=lc(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=$o(r,this.options,o,this.speed);this.updateMotionValue?.(e),tc(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()},as(this,e,c)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){this.isStopped||(this.isStopped=!0,this.state!==`idle`&&this.finishedTime===null&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||(this.animation.onfinish=null,this.cancel())))}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return bi(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+bi(e)}get time(){return bi(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=yi(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,onAttach:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ic()?(this.animation.timeline=e,t?.(this.animation),hi):n(this)}},pc={anticipate:Ai,backInOut:ki,circInOut:Ni};function mc(e){return e in pc}function hc(e){typeof e.ease==`string`&&mc(e.ease)&&(e.ease=pc[e.ease])}var gc=class extends fc{constructor(e){hc(e),ts(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}elapsed(){return this.state===`running`?(Z.now()-this.startTime)*this.speed:this.time*1e3}sample(e){if(!this.sampler){let{motionValue:e,onUpdate:t,onComplete:n,onPlay:r,onStop:i,element:a,...o}=this.options;this.sampler=new ls({...o,autoplay:!1}),this.sampler.stop()}return this.sampler.sample(Math.max(0,e)).value}liveValue(){let{state:e}=this;if(e===`running`||e===`paused`)return this.sample(this.elapsed())}updateMotionValue(e){let{motionValue:t,element:n,name:r}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let{speed:i}=this,a=this.elapsed(),o=this.state===`running`&&i?li(0,10,a):0,s=this.sample(a);n&&r&&tc(n,r,s),t.setWithVelocity(this.sample(a-o*Math.sign(i)),s,o/Math.abs(i||1))}},_c=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Ia.test(e)||e===`0`)&&!e.startsWith(`url(`));function vc(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function yc(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=_c(i,t),s=_c(a,t);return!o||!s?!1:vc(e)||(n===`spring`||uc(n))&&r}function bc(e){e.duration=0,e.type=`keyframes`}var xc=new Set([`opacity`,`clipPath`,`filter`,`transform`]),Sc=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Cc(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Sc.test(e[t]))return!0;return!1}var wc=({mixer:e,keyframes:t})=>e&&typeof t[0]!=`number`&&t.some((n,r)=>r&&e(t[r-1],n)),Tc=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Ec=()=>!ui.useManualTiming&&Object.hasOwnProperty.call(Element.prototype,`animate`);function Dc(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!n||!(xc.has(n)||Tc.has(n)))return!1;let c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Ec()&&(xc.has(n)||Tc.has(n)&&Cc(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`&&!wc(e)}var Oc=(e,t)=>t&&typeof e==`number`?t.transform(e):e,kc={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`};Ps.length;var Ac={},jc=(e,t,n=Oc(t,gs[e]))=>(Ac[e]||(Ac[e]=(kc[e]||e)+`(`))+n+`)`,Mc=(e,t)=>(typeof t==`number`?t:parseFloat(t))===+!!e.startsWith(`scale`),Nc=new WeakMap,Pc=200,Fc=.001,Ic=.1,Lc=.001,Rc=100,zc=e=>/^(linear|ease(In|Out|InOut))$/.test(e),Bc=(e,t)=>Math.abs(e-t)<=Fc,Vc=(e,t)=>e-t,Hc=(e,t,n)=>Go(Array(n+1)).map(n=>Ba(e,t,n)),Uc=e=>e.motionValue.owner,Wc=e=>Nc.get(e),Gc=({state:e})=>e===`idle`||e===`finished`,Kc=(e,t)=>e.latestValues?e.latestValues[t]:e.getValue(t)?.get(),qc=({name:e,motionValue:t})=>e&&Ps.includes(e)&&t?.owner?.current instanceof HTMLElement&&Ec()&&ac();function Jc(e){let t=Uc(e),{onUpdate:n,transformTemplate:r}=t.getProps();return!e.isHandoff&&!n&&!e.hasOnUpdate&&!r&&e.type!==`inertia`&&(Kc(t,`transform`)||`none`)===`none`&&!Kc(t,`pathRotation`)&&!t.projection?.isProjecting()&&!wc(e)}var Yc=class extends ls{constructor(e){let t=Uc(e).current,{driver:n=uo}=e,r,i=Jc(e);e.driver=e=>{let i=n(e);return{js:i,now:i.now,start:(e=!0)=>{let n=Wc(t);!n||n.isJS?i.start(e):n.schedule(!1,!e)},stop:()=>{i.stop();let e=Wc(t);e&&!e.isFinishing&&e.release(r)}}},super(e),r=this,this.canAccelerate=i;let{stop:a}=this;this.stop=()=>{this.isAccelerated()&&this.sync(),a()}}get group(){return Wc(Uc(this.options).current)}get js(){return this.driver?.js}get name(){return this.options.name}timing(){let{startTime:e,speed:t,totalDuration:n}=this,{delay:r=0,repeatType:i}=this.options;return this.holdTime===null?n===1/0?[e+r/t,this.resolvedDuration*(i===`loop`?1:2)/t||1]:[e+(r+n)/t,0]:[1/0,0]}isAccelerated(){let{group:e,state:t}=this;return e?.tracks.has(this)&&!e.isJS&&this.canAccelerate&&(t===`running`||t===`paused`)}liveValue(){return this.isAccelerated()?this.sampleAt(Z.now()):void 0}tween(){let{keyframes:e,type:t,ease:n,times:r,repeat:i,delay:a=0}=this.options,o=zi(n)?oc(n):zc(n)&&sc[n];if(o&&!i&&!r&&e.length===2&&t===Jo&&this.holdTime===null){let e=this.startTime+a/this.speed;return[e,e+this.resolvedDuration/this.speed,o]}}boundaries(e,t){let{startTime:n,speed:r,resolvedDuration:i,options:a}=this,{delay:o=0,repeat:s=0,repeatDelay:c=0,repeatType:l,times:u,keyframes:d,type:f}=a,p=(f||Jo)===Jo?u||Go(d):[0,1],m=n+o/r,h=[];if(this.holdTime!==null||!(i>0))return h;for(let n=Math.max(0,Math.floor((e-m)*r/i));n<=s;n++){let a=m+n*i/r;if(a>t)break;for(let o of p){let s=a+(n%2&&l&&l!==`loop`?1-o:o)*(i-c)/r;s>e&&s<t&&h.push(s)}}return h}numberAt(e){return parseFloat(this.sampleAt(e,!0))}sync(){let e=Z.now();this.options.motionValue.setWithVelocity(this.sampleAt(e-10,!0),this.sampleAt(e,!0),10)}play(){this.isStopped||((this.group||Xc(Uc(this.options))).tracks.add(this),super.play())}pause(){super.pause(),this.isAccelerated()&&(this.sync(),this.group.schedule(!1))}complete(){super.complete();let{group:e}=this;e&&!e.isJS&&this.canAccelerate&&this.tick(Z.now())}get time(){return this.isAccelerated()?bi(li(0,this.totalDuration,this.at(Z.now())-(this.options.delay||0))):super.time}set time(e){super.time=e,this.isAccelerated()&&this.sync()}attachTimeline(e){return this.canAccelerate=!1,this.group?.demote(!0),super.attachTimeline(e)}};function Xc(e){let t=e.current,n=new Set,r=new Map,i={},a=[],o=new Map,s=[],c=!1,l=!1,u=!1,d=!1,f=-1/0,p=e=>{for(let t of n)if(t.name===e)return!0},m=(t,n)=>{let o={};for(let s of t===void 0?Ps:a){let a=r.get(s),c=t===void 0?Kc(e,s):a?a.sampleAt(n>t&&!a.timing()[1]?n:t):i[s];c!==void 0&&(o[s]=c)}return o},h=(e,t)=>{let n=``;for(let r in e){let i=e[r];t&&Mc(r,i)||(n+=jc(r,i)+` `)}return(t?n.trim():n)||`none`},g=(e,t)=>h(m(e,t)),_=(e=m())=>{t.style.transform=h(e,!0)},v=(e=!0)=>{e&&_(),s.forEach(({animation:e})=>e.cancel()),s=[]},y=(e,n)=>new Animation(new KeyframeEffect(t,e,n)),b=(e,t,n=1/0)=>{let r={animation:e,offset:t,end:n};e.startTime=Z.now()+t,n<1/0&&(e.onfinish=()=>{r.isDone=!0,s.some(e=>e.end===1/0)&&(e.cancel(),s=s.filter(e=>e!==r)),k.schedule(!1)}),e.oncancel=()=>s.includes(r)&&k.demote(),s.push(r)},x=(e,t,n)=>{let r=(t,n)=>Math.abs(e(n)-e(t)),i=r(t,n);for(;n-t>.01;){let e=(t+n)/2;r(t,e)>r(e,n)?n=e:t=e}return r(t,n)>i/2?[t,n]:[]},S=(e,t,n,r)=>{let i=Math.min(Pc,Math.max(2,Math.ceil((n-t)/10)));if(r.length*4>i)return;let a=Hc(t,n,i).concat(r).sort(Vc),o=e=>_i(t,n,e),s,c;for(let n of e){let e=n.numberAt(t),r=a.map(t=>n.numberAt(t)-e),i=r[r.length-1],o=r.some(e=>Math.abs(e)*Fc>Math.abs(i))?0:i,l=r.map(e=>o?e/o:e);if(o&&!s)s=l,c=t=>(n.numberAt(t)-e)/o;else if(l.some((e,t)=>!Bc(e,o&&s[t])))return}if(!s||s.every((e,t)=>Bc(e,o(a[t]))))return`linear`;let l=[],u=(e,t=c(e))=>l.push(cs(t)+` `+cs(o(e)*100)+`%`);return s.forEach((e,t)=>{t&&Math.abs(e-s[t-1])>.2&&x(c,a[t-1],a[t]).forEach(e=>u(e)),u(a[t],e)}),`linear(`+l+`)`},C=(e,t,n,r)=>{let i=[t],a=(t,n)=>e.every(e=>!(Math.abs(e.numberAt((t+n)/2)-(e.numberAt(t)+e.numberAt(n))/2)>(e.name.startsWith(`scale`)?Lc:Ic))),o=(t,n,r)=>{if(n-t<1||a(t,n))i.push(n);else if(r<4)o(t,(t+n)/2,r+1),o((t+n)/2,n,r+1);else{for(let r of e)i.push(...x(e=>r.numberAt(e),t,n));i.push(n)}},s=Hc(t,n,Math.ceil((n-t)/100));for(let e of r)s.push(e,Math.min(e+.01,n));let c=t;for(let e of s.sort(Vc))e>c&&o(c,e,0),c=e;return i.sort(Vc)},w=e=>{let t;for(let n of e){let e=n.tween();if(!e||t?.some((t,n)=>n<2?Math.abs(e[n]-t)>1:e[n]!==t))return;t=e}return t},T=(e,t,n,r,i={fill:`both`},a)=>{let o=e.flatMap(e=>e.boundaries(t,n)),s=r||S(e,t,n,o),c=s?[t,n]:C(e,t,n,o),l=c.map(e=>g(e,a)),u={transform:l};return s||(u.offset=c.map(e=>_i(t,n,e))),l.every(e=>e===l[0])&&(_(m(t,a)),u=null),y(u,{...i,duration:n-t,easing:s||`linear`})},E=t=>{let c=t,l=0,u=0,d=[],f=[],p=new Set;r.clear(),o=new Map;for(let e of n){r.set(e.name,e);let[n,i]=e.timing(),a=n===1/0;if(o.set(e,[e.at(t),e.speed,a]),a)e.sync();else{if(e.speed<0)return;if(i){if(l){let e=(n-u)/i;if(Math.abs(i-l)>1||Math.abs(e-Math.round(e))*l>1)return}else l=i,u=n;f.push(e)}else p.add(n);d.push(e),c=Math.max(c,n)}}i={},a=Ps.filter(t=>{if(r.has(t))return!0;let n=i[t]=Kc(e,t);return n!==void 0&&!Mc(t,n)}),v(!1);let m=!l&&w(d);try{if(m&&m[1]>t){let[e,n,r]=m;b(T(d,e,n,r),e-t,n-e)}else c>t&&(b(T(d,t,c),0,c-t),p.forEach(e=>e<c-1&&b(y(null,{duration:e-t}),0,e-t)));if(l){let e=u+Math.floor((c-u)/l)*l;b(T(f,e,e+l,void 0,{iterations:1/0,iterationStart:(c-e)/l,fill:`forwards`},c),c-t)}}catch{return}return s.length||v(),!0},ee=e=>{let t,r=0;for(let i of n){let n=o.get(i);if(!n)return!1;let[a,s,c]=n,l=i.at(e),u=i.timing()[0]===1/0;if(c){if(u&&l===a)continue;return!1}let d=(l-a)/s,f=u?0:i.speed/s;if(t===void 0)t=d,r=f;else if(Math.abs(d-t)>1||f!==r)return!1}if(t===void 0)return!0;if(!s.length)return!1;for(let{offset:e,end:n,isDone:r}of s){let i=t-e;if(n<1/0&&(r?i<n-1:i<0||i>=n))return!1}for(let{animation:n,offset:i,isDone:a}of s){if(a)continue;let o=t-i;r&&n.updatePlaybackRate&&n.playState===`running`&&Math.abs(Number(n.currentTime)-o)<20?n.playbackRate!==r&&n.updatePlaybackRate(r):r?(n.playbackRate=r,n.startTime=e-o/r):(n.startTime=null,n.currentTime=o)}return!0},D=()=>!n.size&&(u=!0,Wc(t)===k&&Nc.delete(t),k.isJS||v(),!0),O=()=>{let t=Z.now();if(k.isJS||(k.isFinishing=!0,n.forEach(n=>{let[r,a]=n.timing();n.state===`running`&&n.speed>0&&!a&&r<=t+1&&(n.complete(),i[n.name]=Kc(e,n.name),o.has(n)||(c=!0))}),k.isFinishing=!1),l=!1,u||(n.forEach(e=>Gc(e)&&n.delete(e)),D()))return;for(let e of n)if(!e.canAccelerate)return k.demote(!0);k.isJS&&(k.isJS=!1,c=!0,n.forEach(e=>e.js?.stop()));let r=c,a=d;if(c=d=!1,r||!ee(t)){if(a){if(t-f<Rc)return k.demote();f=t}if(!E(t))return k.demote()}},k={tracks:n,isJS:!1,isFinishing:!1,schedule(e,t){u||(c||=e,d||=!!t,l||(l=!0,Ui.isProcessing?so.render(O,!1,!0):queueMicrotask(O)))},release(e){Gc(e)&&n.delete(e),D()||k.schedule(!0)},check(){if(!k.isJS){for(let t in i)if(Kc(e,t)!==i[t]&&!p(t))return k.schedule(!0,!0)}},demote(e){if(!(k.isJS||u))return n.forEach(t=>{t.isAccelerated()&&t.sync(),e||(t.canAccelerate=!1)}),k.isJS=!0,o=new Map,v(),n.forEach(e=>e.state===`running`&&e.js?.start()),!0}};return Nc.set(t,k),k}var Zc=class extends os{constructor(e){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Z.now();let{keyframes:t,name:n,motionValue:r,element:i}=e,a=e;a.autoplay??=!0,a.delay??=0,a.type??=`keyframes`,a.repeat??=0,a.repeatDelay??=0,a.repeatType??=`loop`;let o=i?.KeyframeResolver||$s;this.keyframeResolver=new o(t,(e,t,n)=>this.onKeyframesResolved(e,t,a,!n),n,r,i),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=Z.now();let u=yc(e,i,a,o);u||((ui.instantAnimations||!s)&&l?.($o(e,n,t)),e[0]=e[e.length-1],bc(n),n.repeat=0);let{onComplete:d}=n;n.finalKeyframe=t,n.keyframes=e,n.onComplete=()=>{d?.(),this.notifyFinished()};let f=u&&!c&&Dc(n),p=!f&&qc(n);r&&(f||p||this.resolvedAt!==this.createdAt)&&(n.startTime??=rs(this.createdAt,this.resolvedAt));let m;if(f){n.element=n.motionValue?.owner?.current;try{m=new gc(n)}catch{m=new ls(n)}}else m=p?new Yc(n):new ls(n);this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this._animation.finished:super.finished}then(e,t){return this.finished.finally(e).then(()=>{})}liveValue(){return this._animation?.liveValue?.()}get animation(){return this._animation||(this.keyframeResolver?.resume(),Zs()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation?.cancel(),this.keyframeResolver?.cancel()}},Qc=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get state(){return this.getAll(`state`)}get startTime(){return this.getAll(`startTime`)}get duration(){return $c(this.animations,`duration`)}get iterationDuration(){return $c(this.animations,`iterationDuration`)}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}};function $c(e,t){let n=0;for(let r=0;r<e.length;r++){let i=e[r][t];i!==null&&i>n&&(n=i)}return n}var el=class extends Qc{then(e,t){return this.finished.finally(e).then(()=>{})}},tl=30,nl=e=>!isNaN(parseFloat(e)),rl={current:void 0},il=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Z.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.dirty(),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Z.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=nl(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){var n;return e===`change`?this.onChangeSubscribe(t):((n=this.events)[e]||(n[e]=new vi)).add(t)}onChangeSubscribe(e){let{events:t}=this;return!t.change&&!this.changeSubscriber?this.changeSubscriber=e:(t.change||(t.change=new vi,t.change.add(this.changeSubscriber),this.changeSubscriber=void 0),t.change.add(e)),()=>{this.changeSubscriber===e?this.changeSubscriber=void 0:t.change?.remove(e),this.stopIfUnobserved()}}stopIfUnobserved(){so.read(()=>{!this.changeSubscriber&&!this.events.change?.getSize()&&this.stop()})}clearListeners(){this.changeSubscriber=void 0;for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){t&&(this.updatedAt=Z.now(),this.stop()),this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,this.stopPassiveEffect?.()}dirty(){let{current:e,changeSubscriber:t}=this;t?t(e):this.events.change?.notify(e)}addDependent(e){(this.dependents||=new Set).add(e)}removeDependent(e){this.dependents?.delete(e)}get(){rl.current?.push(this);let e=this.animation?.liveValue?.();return e===void 0?this.current:e}getCurrent(){return this.current}getPrevious(){return this.prev}getVelocity(){let e=Z.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>tl)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,tl);return xi(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0;let n=!1,r;r=e(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===r&&(this.animation=void 0),t()}),n||(this.animation=r),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel?.notify()),this.animation=void 0}isAnimating(){return!!this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect?.()}};function al(e,t){return new il(e,t)}function ol(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function sl(e,t){let n=e?.[t]??e?.default??e;return n===e?n:ol(n,e)}var cl={type:`spring`,stiffness:500,damping:25,restSpeed:10},ll=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ul={type:`keyframes`,duration:.8},dl={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},fl=(e,{keyframes:t})=>t.length>2?ul:Fs.has(e)?e.startsWith(`scale`)?ll(t[1]):cl:dl,pl=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`,`out`,`mixer`]);function ml(e){for(let t in e)if(!pl.has(t))return!0;return!1}var hl=(e,t,n,r={},i,a)=>o=>{let s=sl(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=yi(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i,hasOnUpdate:!!s.onUpdate};ml(s)||Object.assign(u,fl(e,u)),u.duration&&=yi(u.duration),u.repeatDelay&&=yi(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(bc(u),u.delay===0&&(d=!0)),(ui.instantAnimations||ui.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,bc(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=$o(u.keyframes,s);if(e!==void 0){so.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new ls(u):new Zc(u)},gl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _l(e){let t=gl.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function vl(e,t,n=1){let[r,i]=_l(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return di(e)?parseFloat(e):e}return Ji(i)?vl(i,t,n+1):i}var yl=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ps]),bl=e=>!!(e&&e.getVelocity),xl={test:e=>e===`auto`,parse:e=>e},Sl=e=>t=>t.test(e),Cl=[Zi,Q,pa,fa,ha,ma,xl],wl=e=>Cl.find(Sl(e));function Tl(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||pi(e)}var El=new Set([`auto`,`none`,`0`]);function Dl(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!El.has(t)&&Oa(t)&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]!==i&&(e[r]=xs(n,i))}var Ol=class extends $s{constructor(){super(...arguments),this.isAsync=!0}scheduleResolve(){if(this.canReadNow()&&(this.readKeyframes(),!this.needsMeasurement))return this.complete();super.scheduleResolve()}canReadNow(){let{unresolvedKeyframes:e,element:t,motionValue:n}=this,r=e[0]??n?.get();if(!t?.current||r===void 0)return!1;for(let t=0;t<e.length;t++)if(Xi(t?e[t]:r))return!1;return!0}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t?.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Ji(r))){let i=vl(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!yl.has(n)||e.length!==2)return;let[r,i]=e;if(typeof r==`number`&&typeof i==`number`)return;let a=wl(r),o=wl(i);if(Xi(r)!==Xi(i)&&Ws[n])this.needsMeasurement=!0;else if(a!==o){if(Is(a)&&Is(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Ws[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Tl(e[t]))&&n.push(t);n.length&&Dl(e,n,t)}measure(){let{element:e,name:t}=this;return Ws[t](window.getComputedStyle(e.current),()=>e.measureViewportBox())}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e?.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&this.motionValue?.jump(r,!1)}measureEndState(){let{element:e,unresolvedKeyframes:t}=this;if(!e?.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let n=t.length-1,r=t[n];t[n]=this.measure(),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.resolveNoneKeyframes()}},kl=[];function Al(e){jl(e),kl.unshift(e)}function jl(e){ci(kl,e)}function Ml(e){return kl.find(t=>t.test(e))}function Nl(e,t,n={},r){let i=[],{velocity:a,path:o}=n,s=n.reduceMotion??r?.shouldReduceMotion;o?.animateValues&&r&&(t={...t},o.animateValues(e,t,n,0,i));for(let o in t){if(o===`transition`||o===`transitionEnd`)continue;let c=t[o];if(c===void 0)continue;let l=e(o),u=l.get();u!==void 0&&!l.isAnimating()&&!Array.isArray(c)&&c===u&&!a?so.update(()=>l.set(c)):(l.start(hl(o,l,c,s&&yl.has(o)?{type:!1}:n,r)),l.animation&&i.push(l.animation))}let{transitionEnd:c}=t;if(c){let t=()=>so.update(()=>{for(let t in c)e(t).set(c[t])});i.length?Promise.all(i).then(t):t()}return i}function Pl(e,t,n,r,i){return Nl(r=>{let a=e.get(t,r);if(!a){let o;if(!i){let i=n[r];o=Fl(i)??e.read(t,r,i)}a=al(o,{owner:i}),e(t,{[r]:a})}return a},n,r,i)}function Fl(e){let t=Array.isArray(e)?e[0]:void 0;return t===null?void 0:t}function Il(e){return fi(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function Ll(e){return fi(e)&&`ownerSVGElement`in e}var Rl={};function zl(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=t?t.current:Rl.current?.root||document,i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Bl=class{constructor(e=so.render){this.step=e,this.values=new Map,this.pending=[],this.numPending=0,this.flush=()=>{let{pending:e,numPending:t}=this;this.numPending=0;for(let n=0;n<t;n++)e[n]()}}set(e,t,n,r){if(this.values.get(e)?.onRemove(),r)for(let e of this.values.values())e.value===r&&(n=e.render);let i=()=>n&&this.schedule(n);t.get()!==void 0&&i();let a=t.on(`change`,i),o=()=>{a(),n&&!r&&this.cancel(n),this.values.get(e)?.onRemove===o&&this.values.delete(e)};return this.values.set(e,{value:t,render:r?void 0:n,onRemove:o}),o}get(e){return this.values.get(e)?.value}release(){let e=new Map;return this.values.forEach((t,n)=>{e.set(n,t.value),t.onRemove()}),this.transformKeys=this.transformValues=void 0,e}schedule(e){let{pending:t,numPending:n}=this;for(let r=0;r<n;r++)if(t[r]===e)return;n||this.step(this.flush),t[this.numPending++]=e}cancel(e){let{pending:t}=this;for(let n=0;n<this.numPending;n++)if(t[n]===e){t[n]=t[--this.numPending];return}}};function Vl(e,{step:t,...n}={}){let r=new WeakMap;return Object.assign((n,i)=>{let a=r.get(n)??new Bl(t);r.set(n,a);let o=[];for(let t in i){let r=i[t],s=e(n,a,t,r);o.push(s)}return()=>{for(let e of o)e()}},n,{get:(e,t)=>r.get(e)?.get(t),flush:e=>r.get(e)?.flush(),state:e=>r.get(e)})}function Hl(e){let t=``,{transformKeys:n=[],transformValues:r={}}=e;for(let e=0;e<n.length;e++){let i=n[e],a=r[i].getCurrent();a!==void 0&&(Mc(i,a)||(t+=(t&&` `)+jc(i,a)))}let i=e.get(`pathRotation`)?.get();return i&&(t+=(t&&` `)+jc(`rotate`,i)),t||`none`}var Ul=new Set([`originX`,`originY`,`originZ`]),Wl=(e,t)=>Oc(e.get(t)?.get(),_s[t]),Gl=(e,t,n,r)=>{let i,a;if(Fs.has(n)){if(n!==`pathRotation`){let e=t.transformKeys??=[];(t.transformValues??={})[n]=r,e.includes(n)||(e.push(n),e.sort((e,t)=>Ps.indexOf(e)-Ps.indexOf(t)))}t.get(`transform`)||(!Il(e)&&!t.get(`transformBox`)&&Gl(e,t,`transformBox`,new il(`fill-box`)),t.set(`transform`,new il(`none`),()=>{Nc.get(e)?.check(),e.style.transform=Hl(t)})),a=t.get(`transform`)}else Ul.has(n)?(t.get(`transformOrigin`)||t.set(`transformOrigin`,new il(``),()=>{let n=Wl(t,`originX`)??`50%`,r=Wl(t,`originY`)??`50%`,i=Wl(t,`originZ`)??0;e.style.transformOrigin=`${n} ${r} ${i}`}),a=t.get(`transformOrigin`)):i=ec(n)?()=>{e.style.setProperty(n,r.getCurrent())}:()=>{e.style[n]=Oc(r.getCurrent(),_s[n])};return t.set(n,r,i,a)},Kl=e=>Il(e)||Ll(e),ql=(e,t)=>{if(Fs.has(t))return Ns(e,t);let n=getComputedStyle(e),r=ec(t)?n.getPropertyValue(t):n[t];return typeof r==`string`&&r.trim()||0},Jl=Vl(Gl,{test:Kl,read:ql});function Yl(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Xl=[`transform`,`opacity`,`clipPath`,`filter`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Zl(e,t){if(!(t in e))return!1;let n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||Object.getOwnPropertyDescriptor(e,t);return n&&typeof n.set==`function`}var Ql=(e,t,n,r,i=n)=>{let a=Zl(e,i);!a&&(i.startsWith(`data`)||i.startsWith(`aria`))&&(i=Yl(i));let o=_s[n]||_s[i],s=a?()=>{e[i]=Oc(r.get(),_s[n])}:()=>{let t=Oc(r.get(),o);t==null?e.removeAttribute(i):e.setAttribute(i,String(t))};return t.set(n,r,s)};function $l(e,t,n,r){return so.render(()=>e.setAttribute(`pathLength`,`1`)),n===`pathOffset`?t.set(n,r,()=>{let t=r.get();e.setAttribute(`stroke-dashoffset`,`${-t}`)}):(t.get(`stroke-dasharray`)||t.set(`stroke-dasharray`,new il(`1 1`),()=>{let n=t.get(`pathLength`)?.get()??1,r=t.get(`pathSpacing`)?.get();e.setAttribute(`stroke-dasharray`,`${n} ${r??1-Number(n)}`)}),t.set(n,r,void 0,t.get(`stroke-dasharray`)))}var eu=Vl((e,t,n,r)=>n.startsWith(`path`)&&!Fs.has(n)?$l(e,t,n,r):n.startsWith(`attr`)?Ql(e,t,n,r,tu(n)):n===`d`?t.set(n,r,()=>{let t=r.get()?.replace(/path\(|["')]/g,``);t===void 0?e.removeAttribute(n):e.setAttribute(n,t)}):(Fs.has(n)||Ul.has(n)||ec(n)||n in e.style?Gl:Ql)(e,t,n,r),{test:Ll,read:(e,t)=>Fs.has(t)?_s[t]?.default||0:ec(t)||Xl.includes(t)?ql(e,t)||e.getAttribute(Yl(t))||0:(t=tu(t),e.getAttribute(Yl(t))??e.getAttribute(t)??void 0)});function tu(e){return e.replace(/^attr([A-Z])/,(e,t)=>t.toLowerCase())}function nu({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ru(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function iu(e,t){return nu(ru(e.getBoundingClientRect(),t))}var au={},ou=e=>Ll(e)?eu:Jl,su=class{constructor(e,t){this.effect=e,this.current=t,this.KeyframeResolver=Ol}getValue(e){return this.effect.get(this.current,e)}readValue(e,t){return this.effect.read(this.current,e,t)}render(){this.effect.flush(this.current)}measureViewportBox(){return iu(this.current)}getProps(){return au}};function cu(e,t,n,r){if(Rl.current?.track(e),r)return Nl(e=>r.getValue(e,null),t,n,r);let i=ou(e);return Pl(i,e,t,n,new su(i,e))}var lu=Vl((e,t,n,r)=>t.set(n,r,()=>{e[n]=r.get()}),{test:e=>fi(e),read:(e,t)=>{let n=e[t];return typeof n==`string`||typeof n==`number`?n:void 0}});function uu(e,t,n){let r=bl(e)?e:al(e);return r.start(hl(``,r,t,n)),r.animation}var du=new WeakMap;function fu(e){return typeof e==`object`&&!Array.isArray(e)}function pu(e,t,n,r){return e==null?[]:typeof e==`string`&&fu(t)?zl(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>e!=null):[e]}function mu(e,t,n){return e*(t+1)+n*t}function hu(e,t){if(t.has(e))return t.get(e);let[,n,r]=e.match(/^(.+?)([+-][\d.]+)$/)||[];return t.has(n)?Math.max(0,t.get(n)+parseFloat(r)):void 0}function gu(e,t,n,r){return typeof t==`number`?t:t.startsWith(`-`)||t.startsWith(`+`)?Math.max(0,e+parseFloat(t)):t===`<`?n:t.startsWith(`<`)?Math.max(0,n+parseFloat(t.slice(1))):hu(t,r)??e}function _u(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.at>t&&i.at<n&&(ci(e,i),r--)}}function vu(e,t,n,r,i,a){_u(e,i,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:Ba(i,a,r[o]),easing:Ri(n,o)})}function yu(e,t,n=0){let r=t+1+t*n;for(let t=0;t<e.length;t++)e[t]=e[t]/r}function bu(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var xu=`easeInOut`,Su=20;function Cu(e,{defaultTransition:t={},...n}={},r,i,a){let o=t.duration||.3,s=new Map,c=new Map,l={},u=new Map,d=0,f=0,p=0,m=(e,n)=>{let a=n,s=e=>typeof e==`number`?n+e:gu(f,e,d,u);for(let n=0;n<e.length;n++){let h=e[n];if(typeof h==`string`){u.set(h,f);continue}if(!Array.isArray(h)){let e=h.at===void 0?f:s(h.at);`sequence`in h?(d=f=e,f=m(h.sequence,e),d=e,a=Math.max(a,f)):u.set(h.name,e);continue}let[g,_,v={}]=h;v.at!==void 0&&(f=s(v.at));let y=0,b=(e,n,r,a=0,s=0)=>{let c=Eu(e),{delay:l=0,times:u=Go(c),type:d=t.type||`keyframes`,repeat:m,repeatType:h,repeatDelay:g=0,..._}=n,{ease:v=t.ease||`easeOut`,duration:b}=n;r.mixer||=n.mixer;let x=typeof l==`function`?l(a,s):l,S=c.length,C=uc(d)?d:i?.[d||`keyframes`];if(S<=2&&C){let e=100;if(S===2&&ku(c)){let t=c[1]-c[0];e=Math.abs(t)}let n={...t,..._};b!==void 0&&(n.duration=yi(b));let r=ho(n,e,C);v=r.ease,b=r.duration}b??=o;let w=f+x;u.length===1&&u[0]===0&&(u[1]=1);let T=u.length-c.length;if(T>0&&Wo(u,T),c.length===1&&c.unshift(null),m&&m<Su){let e=b>0?g/b:0;b=mu(b,m,g);let t=[...c],n=[...u];v=Array.isArray(v)?[...v]:[v];let r=[...v],i=h===`reverse`||h===`mirror`,a=t,o=r;i&&(a=[...t].reverse(),h===`reverse`&&(o=[...r].reverse().map(e=>typeof e==`function`?Ei(e):e)));for(let s=0;s<m;s++){let l=i&&s%2==0,d=l?a:t,f=l?o:r,p=(s+1)*(1+e);e>0&&(c.push(c[c.length-1]),u.push(p),v.push(`linear`)),c.push(...d);for(let e=0;e<d.length;e++)u.push(n[e]+p),v.push(e===0?`linear`:Ri(f,e-1))}yu(u,m,e)}let E=w+b;vu(r,c,v,u,w,E),y=Math.max(x+b,y),p=Math.max(E,p)};if(bl(g)){let e=wu(g,c);b(_,v,Tu(`default`,e))}else{let e=pu(g,_,r,l),t=e.length;for(let n=0;n<t;n++){_=_,v=v;let r=e[n],i=wu(r,c);for(let e in _)b(_[e],Du(v,e),Tu(e,i),n,t)}}d=f,f+=y,a=Math.max(a,f)}return a};return m(e,0),a&&(a.duration=p,a.labels=u),c.forEach((e,r)=>{for(let i in e){let a=e[i];a.sort(bu);let o=[],c=[],l=[];for(let e=0;e<a.length;e++){let{at:t,value:n,easing:r}=a[e];o.push(n),c.push(_i(0,p,t)),l.push(r||`easeOut`)}c[0]!==0&&(c.unshift(0),o.unshift(o[0]),l.unshift(xu)),c[c.length-1]!==1&&(c.push(1),o.push(null)),s.has(r)||s.set(r,{keyframes:{},transition:{}});let u=s.get(r);u.keyframes[i]=o;let{type:d,...f}=t;u.transition[i]={...f,duration:p,ease:l,times:c,mixer:a.mixer||t.mixer,...n}}}),s}function wu(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Tu(e,t){return t[e]||(t[e]=[]),t[e]}function Eu(e){return Array.isArray(e)?e:[e]}function Du(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var Ou=e=>typeof e==`number`,ku=e=>e.every(Ou);function Au(e,t){return bl(e)||typeof e==`number`||typeof e==`string`&&!fu(t)}function ju(e,t,n,r){let i=[];if(Au(e,t))i.push(uu(e,fu(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return i;let a=pu(e,t,r),o=a.length;for(let e=0;e<o;e++){let r=a[e],s={...n};`delay`in s&&typeof s.delay==`function`&&(s.delay=s.delay(e,o)),r instanceof Element?i.push(...cu(r,t,s,du.get(r))):i.push(...Pl(Ml(r)??lu,r,t,s))}}return i}function Mu(e,t,n,r){let i=[];return Cu(e.map(e=>{if(Array.isArray(e)&&typeof e[0]==`function`){let t=e[0],n=al(0);return n.on(`change`,t),e.length===1?[n,[0,1]]:e.length===2?[n,[0,1],e[1]]:[n,e[1],e[2]]}return e}),t,n,{spring:Bo},r).forEach(({keyframes:e,transition:t},n)=>{i.push(...ju(n,e,t))}),i}var Nu=0;function Pu(e,t){let n=[...e],r=typeof n[0]==`function`?Math.max(1,n.length-1):2;return n[r]={...n[r],at:t},n}var Fu=(e,t)=>t===void 0?e:{name:e,at:t};function Iu(e){e.pause(),e.time=0,e.stop()}var Lu=class e{constructor(e=[],t={},n){this.options=t,this.entries=[],this.repeatIndex=0,this.prevTime=0,this.markers=[],this.labels=new Map,this.totalDuration=0,this.isDirty=!1,this.isDone=!1,this.isRebuilding=!1,this.playbackSpeed=1,this.motionScope=Rl.current,this.isKilled=!1,this.isWrapped=!1,this.stop=()=>{this.flush(),this.group?.stop()},this.isPaused=t.autoplay===!1,this.newFinished(),e.forEach(e=>this.add(e)),n?(this.isDirty=!1,this.isWrapped=!0,this.group=new el(n),this.watch()):(this.invalidate(),this.flush());let{scope:r}=t;r&&(r.animations.push(this),this.finished.then(()=>ci(r.animations,this)))}add(t,n){return t instanceof e&&t.adopt(this),this.push({item:t,at:n})}call(e,t){return this.push({item:e,at:t,marker:{name:`_m`+Nu++,time:0,callback:e}})}addPause(e,t){return this.push({item:t||{},at:e,marker:{name:`_m`+Nu++,time:0,callback:t,pause:!0}})}move(e,t){return this.entries.forEach(n=>{n.item===e&&(n.at=t)}),this.invalidate()}remove(t){return t instanceof e&&(t.parent=void 0),this.entries=this.entries.filter(e=>e.item!==t),this.invalidate()}clear(){return this.entries=[],this.invalidate()}getLabelTime(e){return this.flush(),this.labels.get(e)}seek(e){return this.time=this.resolve(e),this}playTo(e){let t=this.resolve(e),n=Math.abs(this.speed);return this.speed=t<this.time?-n:n,this.stopAt=t,this.clock||this.invalidate(),this.play(),this}reverse(){return this.speed=-this.speed,this.play(),this}get progress(){return this.duration?this.time/this.duration:0}set progress(e){this.time=e*this.duration}get time(){return this.active()?.time??0}set time(e){this.flush(),this.prevTime=e,this.group&&(this.group.time=e),this.repeatIndex=this.currentRepeat()}get speed(){return this.playbackSpeed}set speed(e){this.playbackSpeed=e,this.group&&(this.group.speed=e)}get duration(){return this.flush(),this.isWrapped?this.group.duration:this.totalDuration}get iterationDuration(){return this.flush(),this.isWrapped?this.group.iterationDuration:this.totalDuration}get state(){return this.active()?.state??`idle`}get startTime(){return this.active()?.startTime??null}play(){this.flush(),this.isPaused=!1,this.group?.play(),this.isDone&&(this.newFinished(),this.watch())}pause(){this.flush(),this.isPaused=!0,this.group?.pause()}cancel(){this.flush(),this.group?.cancel()}complete(){this.flush(),this.group?.complete()}attachTimeline(e){return this.flush(),this.scrollTimeline=e,this.detachScroll=this.group?.attachTimeline(e),()=>{this.scrollTimeline=void 0,this.detachScroll?.()}}then(e,t){return this.finished.then(e,t)}active(){return this.flush(),this.group?.animations.length?this.group:void 0}push(e){return this.entries.push(e),this.invalidate()}invalidate(){return this.parent?this.parent.invalidate():this.isDirty||(this.isDirty=!0,queueMicrotask(()=>this.flush())),this}flush(){this.isDirty&&!this.parent&&!this.isKilled&&this.build()}adopt(e){this.group&&=(Iu(this.group),void 0),this.isDirty=!1,this.parent=e}build(){this.isDirty=!1,this.isWrapped=!1;let e=this.group,t=0;e&&(this.isRebuilding=!0,this.scrollTimeline?(this.detachScroll?.(),e.cancel()):(t=e.animations.length?e.time:0,Iu(e)),this.isRebuilding=!1);let{defaultTransition:n,onComplete:r,onUpdate:i,onRepeat:a,onReverseComplete:o,autoplay:s,scope:c,...l}=this.options,u={};c?.reduceMotion!==void 0&&(u.reduceMotion=c.reduceMotion),c?.skipAnimations!==void 0&&(u.skipAnimations=c.skipAnimations),Object.assign(u,l);let d=new Map,f={},p=Rl.current;Rl.current=this.motionScope;let m;try{m=Mu(this.toSequence(d),{defaultTransition:n,...u},c,f)}finally{Rl.current=p}let h=f.labels,g=u.duration??f.duration,_=f.duration?g/f.duration:1;if(h.forEach((e,t)=>h.set(t,e*_)),this.markers=[],d.forEach((e,t)=>{e.time=h.get(t),h.delete(t),g=Math.max(g,e.time),this.markers.push(e)}),this.markers.sort((e,t)=>e.time-t.time),this.labels=h,this.totalDuration=g,this.clock=this.clockAnimation=void 0,this.markers.length||this.stopAt!==void 0||i||a){let e=this.clock=al(0);e.on(`change`,t=>e===this.clock&&this.onClock(t)),m.unshift(this.clockAnimation=uu(e,[0,g],{...u,duration:g,ease:`linear`}))}let v=this.group=new el(m);t=Math.min(t,g),this.isDone&&t<g&&this.newFinished(),this.scrollTimeline?this.detachScroll=v.attachTimeline(this.scrollTimeline):(v.speed=this.playbackSpeed,this.isPaused&&v.pause(),t&&(v.time=t)),this.repeatIndex=this.currentRepeat(),this.prevTime=t||-1,this.watch()}toSequence(t){return this.entries.map(({item:n,at:r,marker:i})=>i?(t.set(i.name,i),Fu(i.name,r)):n instanceof e?{sequence:n.toSequence(t),at:r}:typeof n==`string`?Fu(n,r):r===void 0?n:Array.isArray(n)?Pu(n,r):{...n,at:r})}resolve(e){return this.flush(),typeof e==`number`?e:hu(e,this.labels)??this.time}currentRepeat(){let{repeat:e=0,repeatDelay:t=0,delay:n=0}=this.options,r=this.totalDuration+t,i=(this.clockAnimation?.time??0)-n;return r&&i>0?Math.min(e,Math.floor(i/r)):0}onClock(e){let t=this.prevTime;if(this.prevTime=e,this.isRebuilding)return;let{onUpdate:n,onRepeat:r,repeatType:i=`loop`}=this.options;n?.(e);let a=this.currentRepeat();if(a!==this.repeatIndex&&(this.repeatIndex=a,r?.(),i===`loop`)){let e=this.speed>0;if(this.cross(t,e?this.totalDuration:0))return;t=e?-1:1/0}this.cross(t,e)}cross(e,t){if(e===t)return;let n=t>e,r=r=>n?r>e&&r<=t:r<e&&r>=t,i=n?this.markers:[...this.markers].reverse();for(let e of i)if(r(e.time)&&(e.callback?.(n?1:-1),e.pause))return this.pauseAt(e.time);if(this.stopAt!==void 0&&r(this.stopAt))return this.pauseAt(this.stopAt),this.stopAt=void 0,!0}pauseAt(e){return this.pause(),this.time=e,!0}watch(){let e=this.group;e.finished.then(()=>{if(e!==this.group||this.isDone)return;this.isDone=!0;let{onComplete:t,onReverseComplete:n}=this.options;(this.speed<0&&n||t)?.(),this.resolveFinished()})}newFinished(){this.isDone=!1,this.finished=new Promise(e=>{this.resolveFinished=e});let e=this.motionScope?.add(()=>{this.isKilled=!0,this.stop()});e&&this.finished.then(e)}};function Ru(e){return Array.isArray(e)&&e.some(Array.isArray)}function zu(e={}){let{scope:t,reduceMotion:n,skipAnimations:r}=e;function i(e,i,a){let o=Rl.current?.transition,s={};n!==void 0&&(s.reduceMotion=n),r!==void 0&&(s.skipAnimations=r);let c;if(Ru(e)){let n={...s,...i,scope:t};o&&(n.defaultTransition={...o,...n.defaultTransition}),c=new Lu(e,n)}else{let{onComplete:n,...r}=a||{},l={...s,...o,...r},{onUpdate:u}=r;c=new Lu([typeof e==`number`||typeof e==`string`&&(typeof i==`string`||Array.isArray(i))?[u||(()=>{}),Array.isArray(i)?i:[e,i],{...l,onUpdate:void 0}]:[e,i,l]],{...s,onComplete:n,scope:t},ju(e,i,l,t))}return c}return i}var Bu=Object.assign(zu(),{addEffect:Al,removeEffect:jl}),Vu=`a4ui-effects`;function Hu(){try{return window.localStorage}catch{return null}}function Uu(){try{if(new URLSearchParams(window.location.search).get(`calm`)===`1`)return!1}catch{}let e=Hu()?.getItem(Vu);return e===null||e===`1`}function Wu(e){typeof document<`u`&&document.documentElement.classList.toggle(`calm`,!e)}var Gu=Uu();Wu(Gu);var[Ku,qu]=S(Gu);function Ju(){return!Ku()}var Yu=`(prefers-reduced-motion: reduce)`;function Xu(){return typeof window>`u`||typeof window.matchMedia!=`function`?!1:window.matchMedia(Yu).matches}var Zu=`a4ui-motion-forced`;function Qu(){try{return window.localStorage}catch{return null}}var[$u,ed]=S(Qu()?.getItem(Zu)===`1`);typeof document<`u`&&document.documentElement.classList.toggle(`force-motion`,E($u));function td(){return Ju()||Xu()&&!$u()}function nd(e,t=600){let[n,r]=S(0),i;return w(()=>{let a=e();if(i?.stop(),td()){r(a);return}let o=E(n);o!==a&&(i=Bu(o,a,{duration:t/1e3,ease:`easeOut`,onUpdate:e=>r(e)}))}),O(()=>i?.stop()),n}function rd(e,t={}){td()||Bu(e,{opacity:[0,1],y:[t.y??8,0]},{duration:t.duration??.32,delay:t.delay??0,ease:`easeOut`})}function id(e,t,n={}){if(td())return;let r=e.getBoundingClientRect(),i=t.clientX-r.left,a=t.clientY-r.top,o=2*Math.max(Math.hypot(i,a),Math.hypot(r.width-i,a),Math.hypot(i,r.height-a),Math.hypot(r.width-i,r.height-a)),s=document.createElement(`span`);s.setAttribute(`aria-hidden`,`true`),Object.assign(s.style,{position:`absolute`,left:`${i}px`,top:`${a}px`,width:`${o}px`,height:`${o}px`,borderRadius:`9999px`,background:n.color??`currentColor`,pointerEvents:`none`,transform:`translate(-50%,-50%) scale(0)`}),e.appendChild(s);let c=s.animate([{transform:`translate(-50%,-50%) scale(0)`,opacity:String(n.opacity??.3)},{transform:`translate(-50%,-50%) scale(1)`,opacity:`0`}],{duration:600,easing:`ease-out`}),l=()=>s.remove();c.finished.then(l).catch(l)}He([`pointerdown`]);var ad=V(`<a>`),od=V(`<button>`),sd={primary:`bg-primary text-primary-foreground hover:bg-primary/90`,secondary:`bg-muted text-foreground hover:bg-muted/70`,outline:`border border-border bg-transparent text-foreground hover:bg-muted`,ghost:`bg-transparent text-foreground hover:bg-muted`},cd=`inline-flex items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition-[color,background-color,transform] duration-150 active:scale-[0.97] focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none disabled:opacity-50`;function ld(e){let[t,n]=z(e,[`variant`,`class`,`type`,`children`,`ripple`,`onPointerDown`,`href`,`target`,`rel`]),r=()=>X(cd,sd[t.variant??`primary`],t.ripple&&`relative overflow-hidden`,t.class),i=e=>{t.ripple&&id(e.currentTarget,e,{opacity:.35});let n=t.onPointerDown;typeof n==`function`?n(e):n&&n[0](n[1],e)};return L(B,{get when(){return t.href!==void 0},get fallback(){return(()=>{var e=od();return e.$$pointerdown=i,Xe(e,R({get type(){return t.type??`button`},get class(){return r()}},n),!1,!0),U(e,()=>t.children),e})()},get children(){var e=ad();return e.$$pointerdown=i,Xe(e,R({get href(){return t.href},get target(){return t.target},get rel(){return t.rel},get class(){return r()}},n),!1,!0),U(e,()=>t.children),e}})}He([`pointerdown`]);var ud=V(`<span class="text-base font-normal text-muted-foreground">`),dd=V(`<div><span class="flex items-baseline gap-2 tabular-nums text-4xl font-bold tracking-tight text-foreground"><span>`),fd=V(`<svg><polyline stroke=hsl(var(--primary)) stroke-width=1.5 stroke-linecap=round style=transform-origin:center;transform-box:view-box></svg>`,!1,!0,!1),pd=V(`<svg role=img aria-label="Analog clock"><circle fill=none stroke=hsl(var(--border)) stroke-width=2></circle><polyline stroke=hsl(var(--foreground)) stroke-width=4 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><polyline stroke=hsl(var(--foreground)) stroke-width=3 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><circle r=3.5 fill=hsl(var(--primary))>`),md=V(`<svg><line stroke=hsl(var(--muted-foreground)) stroke-linecap=round></svg>`,!1,!0,!1),hd=e=>String(e).padStart(2,`0`);function gd(e,t){if(!t)return{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()};let n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,hour:`2-digit`,minute:`2-digit`,second:`2-digit`}).formatToParts(e),r=e=>Number(n.find(t=>t.type===e)?.value??0);return{hours:r(`hour`)%24,minutes:r(`minute`),seconds:r(`second`)}}function _d(e){let t=()=>{let{hours:t,minutes:n,seconds:r}=e.parts,i=t,a=``;return e.hour12&&(a=i>=12?`PM`:`AM`,i%=12,i===0&&(i=12)),{time:e.seconds?`${hd(i)}:${hd(n)}:${hd(r)}`:`${hd(i)}:${hd(n)}`,suffix:a}};return(()=>{var n=dd(),r=n.firstChild,i=r.firstChild;return U(i,()=>t().time),U(r,L(B,{get when(){return e.hour12},get children(){var e=ud();return U(e,()=>t().suffix),e}}),null),C(()=>Ge(n,X(`flex flex-col items-center justify-center`,e.class))),n})()}function vd(e){let t=()=>e.size,n=()=>t()/2,r=()=>t()/2,i=()=>t()/2,a=()=>e.parts.hours%12*30+e.parts.minutes*.5,o=()=>e.parts.minutes*6+e.parts.seconds*.1,s=()=>e.parts.seconds*6,c=Array.from({length:12},(e,t)=>t),l=e=>{let t=i()*e;return`${n()},${r()} ${n()},${r()-t}`};return(()=>{var u=pd(),d=u.firstChild,f=d.nextSibling,p=f.nextSibling,m=p.nextSibling;return U(u,L(ke,{each:c,children:e=>{let t=e*30,a=i()-4,o=i()-(e%3==0?14:9),s=n()+a*Math.sin(t*Math.PI/180),c=r()-a*Math.cos(t*Math.PI/180),l=n()+o*Math.sin(t*Math.PI/180),u=r()-o*Math.cos(t*Math.PI/180);return(()=>{var t=md();return H(t,`x1`,s),H(t,`y1`,c),H(t,`x2`,l),H(t,`y2`,u),H(t,`stroke-width`,e%3==0?2:1),t})()}}),f),U(u,L(B,{get when(){return e.seconds},get children(){var e=fd();return C(t=>{var n=l(.75),r=`rotate(${s()}deg)`;return n!==t.e&&H(e,`points`,t.e=n),r!==t.t&&Ye(e,`transform`,t.t=r),t},{e:void 0,t:void 0}),e}}),m),C(s=>{var c=t(),h=t(),g=`0 0 ${t()} ${t()}`,_=X(`inline-block`,e.class),v=n(),y=r(),b=i()-2,x=l(.45),S=`rotate(${a()}deg)`,C=l(.65),w=`rotate(${o()}deg)`,T=n(),E=r();return c!==s.e&&H(u,`width`,s.e=c),h!==s.t&&H(u,`height`,s.t=h),g!==s.a&&H(u,`viewBox`,s.a=g),_!==s.o&&H(u,`class`,s.o=_),v!==s.i&&H(d,`cx`,s.i=v),y!==s.n&&H(d,`cy`,s.n=y),b!==s.s&&H(d,`r`,s.s=b),x!==s.h&&H(f,`points`,s.h=x),S!==s.r&&Ye(f,`transform`,s.r=S),C!==s.d&&H(p,`points`,s.d=C),w!==s.l&&Ye(p,`transform`,s.l=w),T!==s.u&&H(m,`cx`,s.u=T),E!==s.c&&H(m,`cy`,s.c=E),s},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0}),u})()}function yd(e){let[t,n]=S(new Date);D(()=>{let e=setInterval(()=>n(new Date),1e3);O(()=>clearInterval(e))});let r=()=>e.variant??`digital`,i=()=>e.seconds??!0,a=()=>e.hour12??!1,o=()=>e.size??160,s=()=>gd(t(),e.timeZone);return L(B,{get when(){return r()===`analog`},get fallback(){return L(_d,{get parts(){return s()},get seconds(){return i()},get hour12(){return a()},get class(){return e.class}})},get children(){return L(vd,{get parts(){return s()},get seconds(){return i()},get size(){return o()},get class(){return e.class}})}})}var bd=V(`<span class="relative inline-block h-[1em] w-[0.62em] overflow-hidden align-top"><span class="absolute inset-x-0 top-0 flex flex-col transition-transform duration-500 ease-out">`),xd=V(`<span class="block h-[1em] text-center leading-none">`),Sd=V(`<span class="flex text-2xl font-bold tabular-nums text-foreground">`),Cd=V(`<div>`),wd=V(`<div class="flex flex-col items-center"><span class="text-[10px] uppercase tracking-wide text-muted-foreground">`),Td=1e3,Ed=60*Td,Dd=60*Ed,Od=24*Dd,kd=[0,1,2,3,4,5,6,7,8,9],Ad=e=>String(e).padStart(2,`0`);function jd(e){let t=()=>e.char>=`0`&&e.char<=`9`?Number(e.char):0;return(()=>{var e=bd(),n=e.firstChild;return U(n,L(Ae,{each:kd,children:e=>(()=>{var t=xd();return U(t,e),t})()})),C(e=>Ye(n,`transform`,`translateY(${t()*-10}%)`)),e})()}function Md(e){let t=()=>e.value.split(``);return(()=>{var e=Sd();return U(e,L(Ae,{get each(){return t()},children:e=>L(jd,{get char(){return e()}})})),e})()}function Nd(e){let t=T(()=>e.to.getTime()),n=()=>Math.max(0,t()-Date.now()),[r,i]=S(n()),a=!1,o=t=>{t<=0&&!a&&(a=!0,e.onComplete?.())};o(r()),D(()=>{let e=setInterval(()=>{let e=n();i(e),o(e)},Td);O(()=>clearInterval(e))});let s=()=>Math.floor(r()/Od),c=()=>Math.floor(r()%Od/Dd),l=()=>Math.floor(r()%Dd/Ed),u=()=>Math.floor(r()%Ed/Td),d=()=>[{label:`Days`,value:String(s())},{label:`Hours`,value:Ad(c())},{label:`Mins`,value:Ad(l())},{label:`Secs`,value:Ad(u())}];return(()=>{var t=Cd();return U(t,L(Ae,{get each(){return d()},children:e=>(()=>{var t=wd(),n=t.firstChild;return U(t,L(Md,{get value(){return e().value}}),n),U(n,()=>e().label),t})()})),C(()=>Ge(t,X(`flex gap-4`,e.class))),t})()}var Pd=V(`<kbd>`),Fd=`inline-flex min-w-[1.5rem] items-center justify-center rounded border border-border bg-muted px-1.5 py-0.5 font-mono text-xs text-muted-foreground shadow-sm`;function Id(e){return(()=>{var t=Pd();return U(t,()=>e.children),C(()=>Ge(t,X(Fd,e.class))),t})()}function Ld(e){return(...t)=>{for(let n of e)n&&n(...t)}}var Rd=e=>typeof e==`function`&&!e.length?e():e,zd=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;function Bd(e){let t={},n;for(;n=zd.exec(e);)t[n[1]]=n[2];return t}function Vd(e,t){if(typeof e==`string`){if(typeof t==`string`)return`${e};${t}`;e=Bd(e)}else typeof t==`string`&&(t=Bd(t));return{...e,...t}}function Hd(...e){return Ld(e)}function Ud(e){return Object.prototype.toString.call(e)===`[object String]`}function Wd(e){return t=>`${e()}-${t}`}var Gd=[`input:not([type='hidden']):not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`[tabindex]`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable='false'])`],Kd=[...Gd,`[tabindex]:not([tabindex="-1"]):not([disabled])`];`${Gd.join(`:not([hidden]),`)}`,Kd.join(`:not([hidden]):not([tabindex="-1"]),`);function qd(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function Jd(e,t){return R(e,t)}var Yd=new Map,Xd=new Set;function Zd(){if(typeof window>`u`||document.body===null)return;let e=e=>{if(!e.target)return;let n=Yd.get(e.target);n||(n=new Set,Yd.set(e.target,n),e.target.addEventListener(`transitioncancel`,t)),n.add(e.propertyName)},t=e=>{if(!e.target)return;let n=Yd.get(e.target);if(n&&(n.delete(e.propertyName),n.size===0&&(e.target.removeEventListener(`transitioncancel`,t),Yd.delete(e.target)),Yd.size===0)){for(let e of Xd)e();Xd.clear()}};document.body.addEventListener(`transitionrun`,e),document.body.addEventListener(`transitionend`,t)}typeof document<`u`&&(document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,Zd):Zd());var Qd=new Map,$d=!1;try{$d=new Intl.NumberFormat(`de-DE`,{signDisplay:`exceptZero`}).resolvedOptions().signDisplay===`exceptZero`}catch{}var ef=class{constructor(e,t={}){this.numberFormatter=tf(e,t),this.options=t}format(e){let t=``;return t=!$d&&this.options.signDisplay!=null?nf(this.numberFormatter,this.options.signDisplay,e):this.numberFormatter.format(e),t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange==`function`)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError(`End date must be >= start date`);return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts==`function`)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError(`End date must be >= start date`);let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!$d&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),e}};function tf(e,t={}){let{numberingSystem:n}=t;n&&e.includes(`-nu-`)&&(e.includes(`-u-`)||(e+=`-u-`),e+=`-nu-${n}`);let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``);if(Qd.has(r))return Qd.get(r);let i=new Intl.NumberFormat(e,t);return Qd.set(r,i),i}function nf(e,t,n){if(t===`auto`)return e.format(n);if(t===`never`)return e.format(Math.abs(n));{let r=!1;if(t===`always`?r=n>0||Object.is(n,0):t===`exceptZero`&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let t=e.format(-n),r=e.format(n),i=t.replace(r,``).replace(/\u200e|\u061C/,``);return[...i].length!==1&&console.warn(`@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case`),t.replace(r,`!!!`).replace(i,`+`).replace(`!!!`,r)}return e.format(n)}}var rf=new Set([`Avst`,`Arab`,`Armi`,`Syrc`,`Samr`,`Mand`,`Thaa`,`Mend`,`Nkoo`,`Adlm`,`Rohg`,`Hebr`]),af=new Set([`ae`,`ar`,`arc`,`bcc`,`bqi`,`ckb`,`dv`,`fa`,`glk`,`he`,`ku`,`mzn`,`nqo`,`pnb`,`ps`,`sd`,`ug`,`ur`,`yi`]);function of(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize().script??``;return rf.has(t)}let t=e.split(`-`)[0];return af.has(t)}function sf(e){return of(e)?`rtl`:`ltr`}function cf(){let e=typeof navigator<`u`&&(navigator.language||navigator.userLanguage)||`en-US`;try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e=`en-US`}return{locale:e,direction:sf(e)}}var lf=cf(),uf=new Set;function df(){lf=cf();for(let e of uf)e(lf)}function ff(){let[e,t]=S(lf),n=T(()=>e());return D(()=>{uf.size===0&&window.addEventListener(`languagechange`,df),uf.add(t),O(()=>{uf.delete(t),uf.size===0&&window.removeEventListener(`languagechange`,df)})}),{locale:()=>n().locale,direction:()=>n().direction}}var pf=A();function mf(){let e=ff();return j(pf)||e}function hf(e){let{locale:t}=mf();return T(()=>new ef(t(),Rd(e)))}function gf(e){return t=>(e(t),()=>e(void 0))}var _f=A();function vf(){let e=j(_f);if(e===void 0)throw Error("[kobalte]: `useMeterContext` must be used within a `Meter.Root` component");return e}function yf(e){let t=vf(),[n,r]=z(e,[`style`]);return L(cr,R({as:`div`,get style(){return Vd({"--kb-meter-fill-width":t.meterFillWidth()},n.style)}},()=>t.dataset(),r))}function bf(e){let t=vf(),[n,r]=z(Jd({id:t.generateId(`label`)},e),[`id`]);return w(()=>O(t.registerLabelId(n.id))),L(cr,R({as:`span`,get id(){return n.id}},()=>t.dataset(),r))}function xf(e){let[t,n]=z(Jd({id:`meter-${De()}`,value:0,minValue:0,maxValue:100,role:`meter`,indeterminate:!1},e),[`value`,`minValue`,`maxValue`,`getValueLabel`,`role`,`aria-valuetext`,`aria-labelledby`,`aria-valuemax`,`aria-valuemin`,`aria-valuenow`,`indeterminate`]),[r,i]=S(),a=hf(()=>({style:`percent`})),o=()=>qd(t.value,t.minValue,t.maxValue),s=()=>(o()-t.minValue)/(t.maxValue-t.minValue),c=()=>{if(!t.indeterminate)return t.getValueLabel?t.getValueLabel({value:o(),min:t.minValue,max:t.maxValue}):a().format(s())},l=()=>`${s()*100}%`,u=T(()=>({})),d={dataset:u,value:o,valuePercent:s,valueLabel:c,labelId:r,meterFillWidth:l,generateId:Wd(()=>n.id),registerLabelId:gf(i)};return L(_f.Provider,{value:d,get children(){return L(cr,R({as:`div`,get role(){return t.role||`meter`},get"aria-valuenow"(){return ze(()=>!!t.indeterminate)()?void 0:o()},get"aria-valuemin"(){return t.minValue},get"aria-valuemax"(){return t.maxValue},get"aria-valuetext"(){return c()},get"aria-labelledby"(){return r()}},u,n))}})}function Sf(e){let t=vf();return L(cr,R({as:`div`},()=>t.dataset(),e))}function Cf(e){let t=vf();return L(cr,R({as:`div`},()=>t.dataset(),e,{get children(){return t.valueLabel()}}))}var wf=Object.assign(xf,{Fill:yf,Label:bf,Track:Sf,ValueLabel:Cf}),Tf=V(`<div class="flex items-center justify-between text-sm text-foreground">`);function Ef(e){let t=()=>{let t=e.max??100;return t<=0?0:Math.max(0,Math.min(100,e.value/t*100))};return L(wf,{get value(){return e.value},minValue:0,get maxValue(){return e.max??100},get class(){return X(`flex flex-col gap-1.5`,e.class)},get children(){return[L(B,{get when(){return e.label},get children(){var t=Tf();return U(t,L(wf.Label,{get children(){return e.label}}),null),U(t,L(wf.ValueLabel,{class:`text-muted-foreground`}),null),t}}),L(wf.Track,{class:`h-2 overflow-hidden rounded-full bg-muted`,get children(){return L(wf.Fill,{class:`h-full rounded-full bg-primary transition-all duration-500`,get style(){return{width:`${t()}%`}}})}})]}})}ur({},{Fill:()=>kf,Label:()=>Af,Progress:()=>Pf,Root:()=>jf,Track:()=>Mf,ValueLabel:()=>Nf,useProgressContext:()=>Of});var Df=A();function Of(){let e=j(Df);if(e===void 0)throw Error("[kobalte]: `useProgressContext` must be used within a `Progress.Root` component");return e}function kf(e){let t=Of(),[n,r]=z(e,[`style`]);return L(wf.Fill,R({get style(){return Vd({"--kb-progress-fill-width":t.progressFillWidth()},n.style)}},()=>t.dataset(),r))}function Af(e){let t=Of(),[n,r]=z(Jd({id:t.generateId(`label`)},e),[`id`]);return w(()=>O(t.registerLabelId(n.id))),L(wf.Label,R({get id(){return n.id}},()=>t.dataset(),r))}function jf(e){let t=Jd({id:`progress-${De()}`,value:0,minValue:0,maxValue:100},e),[n,r]=z(t,[`value`,`minValue`,`maxValue`,`indeterminate`,`getValueLabel`]),[i,a]=S(),o=hf(()=>({style:`percent`})),s=()=>qd(n.value,n.minValue,n.maxValue),c=()=>(s()-n.minValue)/(n.maxValue-n.minValue),l=()=>{if(!n.indeterminate)return n.getValueLabel?n.getValueLabel({value:s(),min:n.minValue,max:n.maxValue}):o().format(c())},u=()=>n.indeterminate?void 0:`${c()*100}%`,d=T(()=>{let e;return n.indeterminate||(e=c()===1?`complete`:`loading`),{"data-progress":e,"data-indeterminate":n.indeterminate?``:void 0}}),f={dataset:d,value:s,valuePercent:c,valueLabel:l,labelId:i,progressFillWidth:u,generateId:Wd(()=>r.id),registerLabelId:gf(a)};return L(Df.Provider,{value:f,get children(){return L(wf,R({role:`progressbar`,get indeterminate(){return n.indeterminate||!1}},d,t))}})}function Mf(e){let t=Of();return L(wf.Track,R(()=>t.dataset(),e))}function Nf(e){let t=Of();return L(wf.ValueLabel,R(()=>t.dataset(),e))}var Pf=Object.assign(jf,{Fill:kf,Label:Af,Track:Mf,ValueLabel:Nf}),Ff=V(`<div class="flex items-center justify-between text-sm text-foreground">`);function If(e){let t=()=>{let t=e.max??100;return t<=0?0:Math.max(0,Math.min(100,e.value/t*100))};return L(Pf,{get value(){return e.value},minValue:0,get maxValue(){return e.max??100},get class(){return X(`flex flex-col gap-1.5`,e.class)},get children(){return[L(B,{get when(){return e.label},get children(){var t=Ff();return U(t,L(Pf.Label,{get children(){return e.label}}),null),U(t,L(Pf.ValueLabel,{class:`text-muted-foreground`}),null),t}}),L(Pf.Track,{class:`h-2 overflow-hidden rounded-full bg-muted`,get children(){return L(Pf.Fill,{class:`h-full rounded-full bg-primary transition-all duration-500`,get style(){return{width:`${t()}%`}}})}})]}})}var Lf=V(`<div role=radiogroup>`),Rf=V(`<div role=img>`),zf=V(`<button type=button role=radio class="rounded outline-none focus-visible:ring-2 focus-visible:ring-ring/40">`);function Bf(e){let[t,n]=S(0),r=()=>e.max??5,i=()=>Array.from({length:r()},(e,t)=>t+1),a=()=>t()>0?t():e.value,o=t=>{e.readonly||e.onChange?.(t)},s=e=>X(`h-5 w-5 transition-colors`,e<=a()?`fill-primary text-primary`:`fill-transparent text-muted-foreground`);return L(B,{get when(){return!e.readonly},get fallback(){return(()=>{var t=Rf();return U(t,L(ke,{get each(){return i()},children:e=>L(Nr,{get class(){return s(e)},"aria-hidden":`true`})})),C(n=>{var i=X(`inline-flex items-center gap-1`,e.class),a=`Rating ${e.value} of ${r()}`;return i!==n.e&&Ge(t,n.e=i),a!==n.t&&H(t,`aria-label`,n.t=a),n},{e:void 0,t:void 0}),t})()},get children(){var t=Lf();return t.addEventListener(`mouseleave`,()=>n(0)),U(t,L(ke,{get each(){return i()},children:t=>(()=>{var i=zf();return i.$$keydown=t=>{t.key===`ArrowRight`||t.key===`ArrowUp`?(t.preventDefault(),o(Math.min(e.value+1,r()))):(t.key===`ArrowLeft`||t.key===`ArrowDown`)&&(t.preventDefault(),o(Math.max(e.value-1,0)))},i.$$click=()=>o(t),i.addEventListener(`blur`,()=>n(0)),i.addEventListener(`focus`,()=>n(t)),i.addEventListener(`mouseenter`,()=>n(t)),U(i,L(Nr,{get class(){return s(t)},"aria-hidden":`true`})),C(n=>{var a=e.value===t,o=`Rate ${t} of ${r()}`;return a!==n.e&&H(i,`aria-checked`,n.e=a),o!==n.t&&H(i,`aria-label`,n.t=o),n},{e:void 0,t:void 0}),i})()})),C(()=>Ge(t,X(`inline-flex items-center gap-1`,e.class))),t}})}He([`click`,`keydown`]);var Vf=V(`<div role=progressbar aria-valuemin=0 aria-valuemax=100><svg class=-rotate-90><circle fill=none stroke=hsl(var(--muted))></circle><circle fill=none stroke=hsl(var(--primary)) stroke-linecap=round class=transition-all></circle></svg><div class="absolute inset-0 flex items-center justify-center text-sm font-medium text-foreground">`);function Hf(e){let t=()=>e.size??96,n=()=>e.thickness??8,r=()=>Math.min(100,Math.max(0,e.value)),i=()=>(t()-n())/2,a=()=>2*Math.PI*i(),o=()=>a()*(1-r()/100);return(()=>{var s=Vf(),c=s.firstChild,l=c.firstChild,u=l.nextSibling,d=c.nextSibling;return U(d,L(B,{get when(){return e.label},get fallback(){return`${Math.round(r())}%`},get children(){return e.label}})),C(d=>{var f=e[`aria-label`],p=r(),m=X(`relative inline-flex items-center justify-center`,e.class),h=`${t()}px`,g=`${t()}px`,_=t(),v=t(),y=`0 0 ${t()} ${t()}`,b=t()/2,x=t()/2,S=i(),C=n(),w=t()/2,T=t()/2,E=i(),ee=n(),D=String(a()),O=String(o());return f!==d.e&&H(s,`aria-label`,d.e=f),p!==d.t&&H(s,`aria-valuenow`,d.t=p),m!==d.a&&Ge(s,d.a=m),h!==d.o&&Ye(s,`width`,d.o=h),g!==d.i&&Ye(s,`height`,d.i=g),_!==d.n&&H(c,`width`,d.n=_),v!==d.s&&H(c,`height`,d.s=v),y!==d.h&&H(c,`viewBox`,d.h=y),b!==d.r&&H(l,`cx`,d.r=b),x!==d.d&&H(l,`cy`,d.d=x),S!==d.l&&H(l,`r`,d.l=S),C!==d.u&&H(l,`stroke-width`,d.u=C),w!==d.c&&H(u,`cx`,d.c=w),T!==d.w&&H(u,`cy`,d.w=T),E!==d.m&&H(u,`r`,d.m=E),ee!==d.f&&H(u,`stroke-width`,d.f=ee),D!==d.y&&H(u,`stroke-dasharray`,d.y=D),O!==d.g&&H(u,`stroke-dashoffset`,d.g=O),d},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0,w:void 0,m:void 0,f:void 0,y:void 0,g:void 0}),s})()}function Uf(e,t){let[n,r]=S(Wf(t?.()));return w(()=>{r(e()?.tagName.toLowerCase()||Wf(t?.()))}),n}function Wf(e){return Ud(e)?e:void 0}ur({},{Root:()=>Gf,Separator:()=>Kf});function Gf(e){let t,[n,r]=z(Jd({orientation:`horizontal`},e),[`ref`,`orientation`]),i=Uf(()=>t,()=>`hr`);return L(cr,R({as:`hr`,ref(e){var r=Hd(e=>t=e,n.ref);typeof r==`function`&&r(e)},get role(){return i()===`hr`?void 0:`separator`},get"aria-orientation"(){return n.orientation===`vertical`?`vertical`:void 0},get"data-orientation"(){return n.orientation}},r))}var Kf=Gf;function qf(e){let t=()=>e.orientation??`horizontal`;return L(Kf,{get orientation(){return t()},get class(){return X(`shrink-0 border-0 bg-border m-0`,t()===`vertical`?`w-px min-h-4 h-full self-stretch`:`h-px w-full`,e.class)}})}var Jf=V(`<svg viewBox="0 0 24 24"fill=none role=status><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z">`);function Yf(e){return(()=>{var t=Jf();return C(n=>{var r=X(`h-5 w-5 animate-spin text-muted-foreground`,e.class),i=e.label??`Loading`;return r!==n.e&&H(t,`class`,n.e=r),i!==n.t&&H(t,`aria-label`,n.t=i),n},{e:void 0,t:void 0}),t})()}function Xf(e,t={}){if(td())return()=>{};let n=document.createElement(`span`);n.setAttribute(`aria-hidden`,`true`),n.className=`pointer-events-none absolute inset-0 opacity-0 transition-opacity duration-300`,e.appendChild(n);let r=t.size??180,i=t.color??`hsl(var(--primary))`,a=(e,t)=>{n.style.background=`radial-gradient(${r}px circle at ${e}px ${t}px, color-mix(in srgb, ${i} 30%, transparent), transparent 70%)`},o=t=>{let n=e.getBoundingClientRect();a(t.clientX-n.left,t.clientY-n.top)},s=()=>{n.style.opacity=`1`},c=()=>{n.style.opacity=`0`};return e.addEventListener(`pointermove`,o),e.addEventListener(`pointerenter`,s),e.addEventListener(`pointerleave`,c),()=>{e.removeEventListener(`pointermove`,o),e.removeEventListener(`pointerenter`,s),e.removeEventListener(`pointerleave`,c),n.remove()}}function Zf(e,t,n={}){if(td())return()=>{};t.style.willChange=`transform`;let r=r=>{let i=e.getBoundingClientRect(),a=(r.clientX-i.left)/i.width-.5,o=(r.clientY-i.top)/i.height-.5,s=n.max??10;t.style.transition=`transform 0.15s ease-out`,t.style.transform=`perspective(800px) rotateX(${(o*-2*s).toFixed(2)}deg) rotateY(${(a*2*s).toFixed(2)}deg) scale(1.02)`},i=()=>{t.style.transition=`transform 0.4s ease`,t.style.transform=`perspective(800px) rotateX(0deg) rotateY(0deg) scale(1)`};return e.addEventListener(`pointermove`,r),e.addEventListener(`pointerleave`,i),()=>{e.removeEventListener(`pointermove`,r),e.removeEventListener(`pointerleave`,i),t.style.transform=``,t.style.transition=``,t.style.willChange=``}}var Qf=V(`<div>`);function $f(e){let[t,n]=z(e,[`class`,`children`,`glass`,`glow`,`tilt`,`spotlight`]),r=()=>(t.glow??t.glass)===!0,i;return D(()=>{let e=[t.tilt&&i?Zf(i,i):null,t.spotlight&&i?Xf(i):null].filter(e=>e!==null);O(()=>e.forEach(e=>e()))}),(()=>{var e=Qf(),a=i;return typeof a==`function`?Ze(a,e):i=e,Xe(e,R({get class(){return X(t.glass?`card rounded-xl text-card-foreground`:`rounded-xl border border-border bg-card text-card-foreground shadow-sm`,r()&&`glow-edge`,t.spotlight&&`relative overflow-hidden`,t.tilt&&`will-change-transform`,t.class)}},n),!1,!0),U(e,()=>t.children),e})()}function ep(e){let[t,n]=z(e,[`class`,`children`]);return(()=>{var e=Qf();return Xe(e,R({get class(){return X(`p-6 pt-0`,t.class)}},n),!1,!0),U(e,()=>t.children),e})()}var tp=V(`<div>`),np=V(`<div class=min-w-0><p class="truncate text-sm text-muted-foreground"></p><p class="truncate text-xl font-semibold tabular-nums text-foreground">`),rp={primary:`bg-primary/15 text-primary`,success:`bg-emerald-500/15 text-emerald-600`,danger:`bg-rose-500/15 text-rose-600`,neutral:`bg-muted text-muted-foreground`};function ip(e){let t=nd(()=>e.value),n=()=>(e.format??(e=>String(Math.round(e))))(t()),r;return D(()=>{r&&rd(r,{delay:e.delay??0})}),(()=>{var t=tp(),i=r;return typeof i==`function`?Ze(i,t):r=t,U(t,L($f,{glass:!0,glow:!0,get class(){return e.class},get children(){return L(ep,{class:`flex items-center gap-4 p-5`,get children(){return[L(B,{get when(){return e.icon},get children(){var t=tp();return U(t,()=>e.icon),C(()=>Ge(t,X(`flex h-11 w-11 shrink-0 items-center justify-center rounded-lg`,rp[e.tone??`neutral`]))),t}}),(()=>{var t=np(),r=t.firstChild,i=r.nextSibling;return U(r,()=>e.label),U(i,n),t})()]}})}})),t})()}function ap(e){return(e.textContent??``).trim()}function op(){G(`a4-button`,{variant:`primary`,disabled:!1,type:`button`,label:``},(e,{element:t})=>(W(),L(ld,{get variant(){return e.variant},get disabled(){return e.disabled},get type(){return e.type},children:e.label||ap(t)}))),G(`a4-badge`,{tone:`neutral`,label:``},(e,{element:t})=>(W(),L(oi,{get tone(){return e.tone},get children(){return e.label||ap(t)}}))),G(`a4-alert`,{tone:`info`,heading:``,text:``},(e,{element:t})=>(W(),L(Vr,{get tone(){return e.tone},get title(){return e.heading||void 0},get children(){return e.text||ap(t)}}))),G(`a4-spinner`,{label:`Loading`},e=>(W(),L(Yf,{get label(){return e.label}}))),G(`a4-avatar`,{src:``,alt:``,fallback:``},e=>(W(),L(ti,{get src(){return e.src||void 0},get alt(){return e.alt},get fallback(){return e.fallback||``}}))),G(`a4-progress`,{value:0,max:100,label:``},e=>(W(),L(If,{get value(){return e.value},get max(){return e.max},get label(){return e.label||void 0}}))),G(`a4-meter`,{value:0,max:100,label:``},e=>(W(),L(Ef,{get value(){return e.value},get max(){return e.max},get label(){return e.label||void 0}}))),G(`a4-ring-progress`,{value:0,size:96,thickness:8,label:``},e=>(W(),L(Hf,{get value(){return e.value},get size(){return e.size},get thickness(){return e.thickness},get label(){return e.label||void 0}}))),G(`a4-stat`,{label:``,value:0,tone:`neutral`},e=>(W(),L(ip,{get label(){return e.label},get value(){return e.value},get tone(){return e.tone}}))),G(`a4-kbd`,{label:``},(e,{element:t})=>(W(),L(Id,{get children(){return e.label||ap(t)}}))),G(`a4-condition-scale`,{value:0,min:1,max:10,showvalue:!0},e=>(W(),L(sr,{get value(){return e.value},get min(){return e.min},get max(){return e.max},get showValue(){return e.showvalue}}))),G(`a4-announcement-bar`,{tone:`primary`,dismissible:!1,coupon:``,href:``,label:``},(e,{element:t})=>(W(),L(Jr,{get tone(){return e.tone},get dismissible(){return e.dismissible},get couponCode(){return e.coupon||void 0},get href(){return e.href||void 0},get children(){return e.label||ap(t)}}))),G(`a4-separator`,{orientation:`horizontal`},e=>(W(),L(qf,{get orientation(){return e.orientation}}))),G(`a4-rating`,{value:0,max:5,readonly:!1},(e,{element:t})=>(W(),L(Bf,{get value(){return e.value},get max(){return e.max},get readonly(){return e.readonly},onChange:e=>t.dispatchEvent(new CustomEvent(`change`,{detail:e}))}))),G(`a4-countdown`,{to:``},e=>(W(),L(Nd,{to:e.to?new Date(e.to):new Date(Date.now()+864e5)}))),G(`a4-clock`,{variant:`digital`,seconds:!0,hour12:!1,timezone:``,size:160},e=>(W(),L(yd,{get variant(){return e.variant},get seconds(){return e.seconds},get hour12(){return e.hour12},get timeZone(){return e.timezone||void 0},get size(){return e.size}})))}return op(),e.defineA4uiElements=op,e})({});
|