@a4ui/core 0.38.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -9
- package/dist/{Collapse-Cr5cDqAl.js → Collapse-CrKiFD8K.js} +173 -124
- package/dist/charts/Sparkline.d.ts +2 -0
- package/dist/charts.js +8 -5
- package/dist/commerce.js +59 -59
- package/dist/elements.css +248 -151
- package/dist/elements.iife.js +1 -1
- package/dist/elements.js +1025 -1015
- package/dist/full.css +248 -151
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4723 -4656
- package/dist/lib/anchored.d.ts +7 -0
- package/dist/lib/direction.d.ts +18 -0
- package/dist/styles.css +27 -11
- package/dist/theme.css +1559 -0
- package/dist/ui/DirectionProvider.d.ts +47 -0
- package/dist/ui/Drawer.d.ts +6 -2
- package/dist/ui/Sidebar.d.ts +8 -2
- package/dist/ui/Toast.d.ts +5 -1
- package/package.json +5 -3
- package/preset.d.ts +2 -1
- package/preset.js +16 -5
- package/src/charts/BarList.tsx +1 -1
- package/src/charts/Sparkline.tsx +5 -1
- package/src/commerce/CartLine.tsx +1 -1
- package/src/commerce/FacetSidebar.tsx +1 -1
- package/src/commerce/ProductCard.tsx +1 -1
- package/src/index.ts +7 -1
- package/src/layout/NavGroup.tsx +2 -2
- package/src/lib/anchored.ts +13 -0
- package/src/lib/direction.ts +35 -0
- package/src/ui/Accordion.tsx +2 -2
- package/src/ui/ActivityFeed.tsx +2 -2
- package/src/ui/AlertDialog.tsx +8 -4
- package/src/ui/Anchor.tsx +1 -1
- package/src/ui/AnnouncementBar.tsx +3 -3
- package/src/ui/ArtifactPanel.tsx +1 -1
- package/src/ui/AvailabilityPicker.tsx +2 -2
- package/src/ui/AvatarGroup.tsx +2 -2
- package/src/ui/BackToTop.tsx +1 -1
- package/src/ui/Badge.tsx +1 -1
- package/src/ui/BlockEditor.tsx +1 -1
- package/src/ui/ButtonGroup.tsx +1 -1
- package/src/ui/Callout.tsx +1 -1
- package/src/ui/Carousel.tsx +17 -9
- package/src/ui/Cascader.tsx +2 -2
- package/src/ui/CategoryStrip.tsx +4 -1
- package/src/ui/CodeEditor.tsx +5 -5
- package/src/ui/CodeTabs.tsx +1 -1
- package/src/ui/Combobox.tsx +2 -1
- package/src/ui/Command.tsx +9 -5
- package/src/ui/Comment.tsx +1 -1
- package/src/ui/Configurator.tsx +2 -2
- package/src/ui/ContextMenu.tsx +2 -1
- package/src/ui/DateField.tsx +4 -4
- package/src/ui/DateRangePicker.tsx +4 -4
- package/src/ui/DiffViewer.tsx +4 -3
- package/src/ui/DirectionProvider.tsx +82 -0
- package/src/ui/Drawer.tsx +29 -8
- package/src/ui/Dropdown.tsx +2 -1
- package/src/ui/EmojiPicker.tsx +5 -2
- package/src/ui/Expandable.tsx +2 -2
- package/src/ui/Faq.tsx +1 -1
- package/src/ui/Field.tsx +1 -1
- package/src/ui/FloatingActionButton.tsx +2 -2
- package/src/ui/FollowingPointer.tsx +2 -2
- package/src/ui/Hero.tsx +2 -2
- package/src/ui/HoldToConfirm.tsx +2 -2
- package/src/ui/HoverCard.tsx +2 -1
- package/src/ui/Image.tsx +9 -5
- package/src/ui/InlineSelect.tsx +1 -1
- package/src/ui/InputGroup.tsx +2 -2
- package/src/ui/Item.tsx +1 -1
- package/src/ui/JsonViewer.tsx +2 -2
- package/src/ui/Kanban.tsx +1 -1
- package/src/ui/KpiBlock.tsx +1 -1
- package/src/ui/Lightbox.tsx +9 -6
- package/src/ui/MasterDetail.tsx +1 -1
- package/src/ui/Mentions.tsx +1 -1
- package/src/ui/Menubar.tsx +9 -8
- package/src/ui/Modal.tsx +9 -5
- package/src/ui/ModelPicker.tsx +2 -1
- package/src/ui/MultiSelect.tsx +5 -5
- package/src/ui/NativeSelect.tsx +2 -2
- package/src/ui/NavigationMenu.tsx +5 -4
- package/src/ui/NotificationCenter.tsx +1 -1
- package/src/ui/NotificationStack.tsx +1 -1
- package/src/ui/NumberInput.tsx +2 -2
- package/src/ui/OnboardingChecklist.tsx +2 -2
- package/src/ui/Pagination.tsx +2 -2
- package/src/ui/PillSearch.tsx +3 -3
- package/src/ui/PivotTable.tsx +0 -0
- package/src/ui/Popover.tsx +2 -1
- package/src/ui/Portal.tsx +3 -1
- package/src/ui/PresenceAvatars.tsx +4 -4
- package/src/ui/PricingTable.tsx +1 -1
- package/src/ui/Prose.tsx +3 -3
- package/src/ui/QueryBuilder.tsx +4 -4
- package/src/ui/Rating.tsx +6 -2
- package/src/ui/ReasoningTrace.tsx +1 -1
- package/src/ui/ScrollArea.tsx +1 -1
- package/src/ui/ScrollProgress.tsx +2 -2
- package/src/ui/SideRail.tsx +3 -3
- package/src/ui/Sidebar.tsx +43 -23
- package/src/ui/SlashMenu.tsx +1 -1
- package/src/ui/Snippet.tsx +6 -3
- package/src/ui/Sortable.tsx +1 -1
- package/src/ui/SpecSheet.tsx +1 -1
- package/src/ui/SpeedDial.tsx +1 -1
- package/src/ui/Splitter.tsx +8 -3
- package/src/ui/SpreadsheetGrid.tsx +4 -4
- package/src/ui/Stepper.tsx +1 -1
- package/src/ui/SuggestionChips.tsx +1 -1
- package/src/ui/Switch.tsx +1 -1
- package/src/ui/Table.tsx +5 -2
- package/src/ui/TimeField.tsx +8 -8
- package/src/ui/Timeline.tsx +2 -2
- package/src/ui/Toast.tsx +9 -3
- package/src/ui/ToolCallTimeline.tsx +2 -2
- package/src/ui/Tooltip.tsx +2 -1
- package/src/ui/Tour.tsx +1 -1
- package/src/ui/TransactionFeed.tsx +1 -1
- package/src/ui/Transfer.tsx +2 -2
- package/src/ui/Tree.tsx +2 -2
- package/src/ui/TreeSelect.tsx +2 -2
- package/src/ui/TreeTable.tsx +4 -4
- package/src/ui/UsageMeter.tsx +1 -1
- package/src/ui/VideoPlayerShell.tsx +2 -2
- package/src/ui/internal/CalendarCore.tsx +6 -6
package/dist/elements.iife.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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})({});
|
|
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 end-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="ms-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&&`pe-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-800`,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=A();function Rf(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function zf(){return j(Lf)||(()=>typeof document<`u`&&document.documentElement.getAttribute(`dir`)===`rtl`?`rtl`:`ltr`)}var Bf=V(`<div role=radiogroup>`),Vf=V(`<div role=img>`),Hf=V(`<button type=button role=radio class="rounded outline-none focus-visible:ring-2 focus-visible:ring-ring/40">`);function Uf(e){let t=zf(),[n,r]=S(0),i=()=>e.max??5,a=()=>Array.from({length:i()},(e,t)=>t+1),o=()=>n()>0?n():e.value,s=t=>{e.readonly||e.onChange?.(t)},c=e=>X(`h-5 w-5 transition-colors`,e<=o()?`fill-primary text-primary`:`fill-transparent text-muted-foreground`);return L(B,{get when(){return!e.readonly},get fallback(){return(()=>{var t=Vf();return U(t,L(ke,{get each(){return a()},children:e=>L(Nr,{get class(){return c(e)},"aria-hidden":`true`})})),C(n=>{var r=X(`inline-flex items-center gap-1`,e.class),a=`Rating ${e.value} of ${i()}`;return r!==n.e&&Ge(t,n.e=r),a!==n.t&&H(t,`aria-label`,n.t=a),n},{e:void 0,t:void 0}),t})()},get children(){var n=Bf();return n.addEventListener(`mouseleave`,()=>r(0)),U(n,L(ke,{get each(){return a()},children:n=>(()=>{var a=Hf();return a.$$keydown=n=>{let r=Rf(n.key,t());r===`ArrowRight`||r===`ArrowUp`?(n.preventDefault(),s(Math.min(e.value+1,i()))):(r===`ArrowLeft`||r===`ArrowDown`)&&(n.preventDefault(),s(Math.max(e.value-1,0)))},a.$$click=()=>s(n),a.addEventListener(`blur`,()=>r(0)),a.addEventListener(`focus`,()=>r(n)),a.addEventListener(`mouseenter`,()=>r(n)),U(a,L(Nr,{get class(){return c(n)},"aria-hidden":`true`})),C(t=>{var r=e.value===n,o=`Rate ${n} of ${i()}`;return r!==t.e&&H(a,`aria-checked`,t.e=r),o!==t.t&&H(a,`aria-label`,t.t=o),t},{e:void 0,t:void 0}),a})()})),C(()=>Ge(n,X(`inline-flex items-center gap-1`,e.class))),n}})}He([`click`,`keydown`]);var Wf=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 Gf(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=Wf(),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 Kf(e,t){let[n,r]=S(qf(t?.()));return w(()=>{r(e()?.tagName.toLowerCase()||qf(t?.()))}),n}function qf(e){return Ud(e)?e:void 0}ur({},{Root:()=>Jf,Separator:()=>Yf});function Jf(e){let t,[n,r]=z(Jd({orientation:`horizontal`},e),[`ref`,`orientation`]),i=Kf(()=>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 Yf=Jf;function Xf(e){let t=()=>e.orientation??`horizontal`;return L(Yf,{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 Zf=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 Qf(e){return(()=>{var t=Zf();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 $f(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 ep(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 tp=V(`<div>`);function np(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?ep(i,i):null,t.spotlight&&i?$f(i):null].filter(e=>e!==null);O(()=>e.forEach(e=>e()))}),(()=>{var e=tp(),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 rp(e){let[t,n]=z(e,[`class`,`children`]);return(()=>{var e=tp();return Xe(e,R({get class(){return X(`p-6 pt-0`,t.class)}},n),!1,!0),U(e,()=>t.children),e})()}var ip=V(`<div>`),ap=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">`),op={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 sp(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=ip(),i=r;return typeof i==`function`?Ze(i,t):r=t,U(t,L(np,{glass:!0,glow:!0,get class(){return e.class},get children(){return L(rp,{class:`flex items-center gap-4 p-5`,get children(){return[L(B,{get when(){return e.icon},get children(){var t=ip();return U(t,()=>e.icon),C(()=>Ge(t,X(`flex h-11 w-11 shrink-0 items-center justify-center rounded-lg`,op[e.tone??`neutral`]))),t}}),(()=>{var t=ap(),r=t.firstChild,i=r.nextSibling;return U(r,()=>e.label),U(i,n),t})()]}})}})),t})()}function cp(e){return(e.textContent??``).trim()}function lp(){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||cp(t)}))),G(`a4-badge`,{tone:`neutral`,label:``},(e,{element:t})=>(W(),L(oi,{get tone(){return e.tone},get children(){return e.label||cp(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||cp(t)}}))),G(`a4-spinner`,{label:`Loading`},e=>(W(),L(Qf,{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(Gf,{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(sp,{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||cp(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||cp(t)}}))),G(`a4-separator`,{orientation:`horizontal`},e=>(W(),L(Xf,{get orientation(){return e.orientation}}))),G(`a4-rating`,{value:0,max:5,readonly:!1},(e,{element:t})=>(W(),L(Uf,{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 lp(),e.defineA4uiElements=lp,e})({});
|