vendor: 14,234 bytes, line 1
1import{r as c,j as m,_ as ar,$ as ps,a0 as hs,v as ke,a1 as we,a2 as cr,a3 as gs,h as lr,a4 as Nt,u as vs,a5 as yn,b as bs,L as Pe,a6 as xs}from"./index-aq3UL7jD.js";const ur=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();const ws=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const ys=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase());const Cn=e=>{const t=ys(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Cs={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Ss=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const Es=c.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>c.createElement("svg",{ref:l,...Cs,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ur("lucide",o),...!s&&!Ss(a)&&{"aria-hidden":"true"},...a},[...i.map(([u,d])=>c.createElement(u,d)),...Array.isArray(s)?s:[s]]));const ie=(e,t)=>{const n=c.forwardRef(({className:r,...o},s)=>c.createElement(Es,{ref:s,iconNode:t,className:ur(`lucide-${ws(Cn(e))}`,`lucide-${e}`,r),...o}));return n.displayName=Cn(e),n};const Rs=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Jt=ie("check",Rs);const ks=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ms=ie("chevron-down",ks);const As=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ps=ie("chevron-right",As);const Ns=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Os=ie("circle",Ns);const _s=[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]],Is=ie("coins",_s);const Ts=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Ds=ie("globe",Ts);const js=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Ls=ie("menu",js);const Fs=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],$s=ie("shopping-bag",Fs);const zs=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],Ws=ie("sun",zs);const Bs=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Gs=ie("x",Bs);function j(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function Sn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Be(...e){return t=>{let n=!1;const r=e.map(o=>{const s=Sn(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():Sn(e[o],null)}}}}function q(...e){return c.useCallback(Be(...e),e)}function ad(e,t){const n=c.createContext(t),r=s=>{const{children:i,...a}=s,l=c.useMemo(()=>a,Object.values(a));return m.jsx(n.Provider,{value:l,children:i})};r.displayName=e+"Provider";function o(s){const i=c.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function qe(e,t=[]){let n=[];function r(s,i){const a=c.createContext(i),l=n.length;n=[...n,i];const u=f=>{const{scope:p,children:g,...b}=f,h=p?.[e]?.[l]||a,v=c.useMemo(()=>b,Object.values(b));return m.jsx(h.Provider,{value:v,children:g})};u.displayName=s+"Provider";function d(f,p){const g=p?.[e]?.[l]||a,b=c.useContext(g);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const o=()=>{const s=n.map(i=>c.createContext(i));return function(a){const l=a?.[e]||s;return c.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,Vs(o,...t)]}function Vs(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(s)[`__scope${u}`];return{...a,...f}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var ye=globalThis?.document?c.useLayoutEffect:()=>{},Us=ar[" useInsertionEffect ".trim().toString()]||ye;function dr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Ks({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const d=c.useRef(e!==void 0);c.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const u=c.useCallback(d=>{if(a){const f=Hs(d)?d(e):d;f!==e&&i.current?.(f)}else s(d)},[a,e,s,i]);return[l,u]}function Ks({defaultProp:e,onChange:t}){const[n,r]=c.useState(e),o=c.useRef(n),s=c.useRef(t);return Us(()=>{s.current=t},[t]),c.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}function Hs(e){return typeof e=="function"}var en=hs();const Ys=ps(en);function Xs(e){const t=qs(e),n=c.forwardRef((r,o)=>{const{children:s,...i}=r,a=c.Children.toArray(s),l=a.find(Qs);if(l){const u=l.props.children,d=a.map(f=>f===l?c.Children.count(u)>1?c.Children.only(null):c.isValidElement(u)?u.props.children:null:f);return m.jsx(t,{...i,ref:o,children:c.isValidElement(u)?c.cloneElement(u,void 0,d):null})}return m.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function qs(e){const t=c.forwardRef((n,r)=>{const{children:o,...s}=n;if(c.isValidElement(o)){const i=ei(o),a=Js(s,o.props);return o.type!==c.Fragment&&(a.ref=r?Be(r,i):i),c.cloneElement(o,a)}return c.Children.count(o)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Zs=Symbol("radix.slottable");function Qs(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Zs}function Js(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function ei(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ti=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Y=ti.reduce((e,t)=>{const n=Xs(`Primitive.${t}`),r=c.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function fr(e,t){e&&en.flushSync(()=>e.dispatchEvent(t))}function En(e){const t=ni(e),n=c.forwardRef((r,o)=>{const{children:s,...i}=r,a=c.Children.toArray(s),l=a.find(oi);if(l){const u=l.props.children,d=a.map(f=>f===l?c.Children.count(u)>1?c.Children.only(null):c.isValidElement(u)?u.props.children:null:f);return m.jsx(t,{...i,ref:o,children:c.isValidElement(u)?c.cloneElement(u,void 0,d):null})}return m.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function ni(e){const t=c.forwardRef((n,r)=>{const{children:o,...s}=n;if(c.isValidElement(o)){const i=ii(o),a=si(s,o.props);return o.type!==c.Fragment&&(a.ref=r?Be(r,i):i),c.cloneElement(o,a)}return c.Children.count(o)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ri=Symbol("radix.slottable");function oi(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ri}function si(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function ii(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function mr(e){const t=e+"CollectionProvider",[n,r]=qe(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=h=>{const{scope:v,children:x}=h,S=ke.useRef(null),y=ke.useRef(new Map).current;return m.jsx(o,{scope:v,itemMap:y,collectionRef:S,children:x})};i.displayName=t;const a=e+"CollectionSlot",l=En(a),u=ke.forwardRef((h,v)=>{const{scope:x,children:S}=h,y=s(a,x),w=q(v,y.collectionRef);return m.jsx(l,{ref:w,children:S})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=En(d),g=ke.forwardRef((h,v)=>{const{scope:x,children:S,...y}=h,w=ke.useRef(null),R=q(v,w),P=s(d,x);return ke.useEffect(()=>(P.itemMap.set(w,{ref:w,...y}),()=>{P.itemMap.delete(w)})),m.jsx(p,{[f]:"",ref:R,children:S})});g.displayName=d;function b(h){const v=s(e+"CollectionConsumer",h);return ke.useCallback(()=>{const S=v.collectionRef.current;if(!S)return[];const y=Array.from(S.querySelectorAll(`[${f}]`));return Array.from(v.itemMap.values()).sort((P,E)=>y.indexOf(P.ref.current)-y.indexOf(E.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:i,Slot:u,ItemSlot:g},b,r]}var ai=c.createContext(void 0);function pr(e){const t=c.useContext(ai);return e||t||"ltr"}function ue(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...n)=>t.current?.(...n),[])}function ci(e,t=globalThis?.document){const n=ue(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var li="DismissableLayer",Vt="dismissableLayer.update",ui="dismissableLayer.pointerDownOutside",di="dismissableLayer.focusOutside",Rn,hr=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),gr=c.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,u=c.useContext(hr),[d,f]=c.useState(null),p=d?.ownerDocument??globalThis?.document,[,g]=c.useState({}),b=q(t,E=>f(E)),h=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=h.indexOf(v),S=d?h.indexOf(d):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,w=S>=x,R=pi(E=>{const C=E.target,_=[...u.branches].some(D=>D.contains(C));!w||_||(o?.(E),i?.(E),E.defaultPrevented||a?.())},p),P=hi(E=>{const C=E.target;[...u.branches].some(D=>D.contains(C))||(s?.(E),i?.(E),E.defaultPrevented||a?.())},p);return ci(E=>{S===u.layers.size-1&&(r?.(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},p),c.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Rn=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),kn(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Rn)}},[d,p,n,u]),c.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),kn())},[d,u]),c.useEffect(()=>{const E=()=>g({});return document.addEventListener(Vt,E),()=>document.removeEventListener(Vt,E)},[]),m.jsx(Y.div,{...l,ref:b,style:{pointerEvents:y?w?"auto":"none":void 0,...e.style},onFocusCapture:j(e.onFocusCapture,P.onFocusCapture),onBlurCapture:j(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:j(e.onPointerDownCapture,R.onPointerDownCapture)})});gr.displayName=li;var fi="DismissableLayerBranch",mi=c.forwardRef((e,t)=>{const n=c.useContext(hr),r=c.useRef(null),o=q(t,r);return c.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),m.jsx(Y.div,{...e,ref:o})});mi.displayName=fi;function pi(e,t=globalThis?.document){const n=ue(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){vr(ui,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function hi(e,t=globalThis?.document){const n=ue(e),r=c.useRef(!1);return c.useEffect(()=>{const o=s=>{s.target&&!r.current&&vr(di,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function kn(){const e=new CustomEvent(Vt);document.dispatchEvent(e)}function vr(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?fr(o,s):o.dispatchEvent(s)}var Ot=0;function gi(){c.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Mn()),document.body.insertAdjacentElement("beforeend",e[1]??Mn()),Ot++,()=>{Ot===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ot--}},[])}function Mn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 4,322 bytes, line 1
1style.position="fixed",e.style.pointerEvents="none",e}var _t="focusScope.autoFocusOnMount",It="focusScope.autoFocusOnUnmount",An={bubbles:!1,cancelable:!0},vi="FocusScope",br=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=c.useState(null),u=ue(o),d=ue(s),f=c.useRef(null),p=q(t,h=>l(h)),g=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let h=function(y){if(g.paused||!a)return;const w=y.target;a.contains(w)?f.current=w:xe(f.current,{select:!0})},v=function(y){if(g.paused||!a)return;const w=y.relatedTarget;w!==null&&(a.contains(w)||xe(f.current,{select:!0}))},x=function(y){if(document.activeElement===document.body)for(const R of y)R.removedNodes.length>0&&xe(a)};document.addEventListener("focusin",h),document.addEventListener("focusout",v);const S=new MutationObserver(x);return a&&S.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",v),S.disconnect()}}},[r,a,g.paused]),c.useEffect(()=>{if(a){Nn.add(g);const h=document.activeElement;if(!a.contains(h)){const x=new CustomEvent(_t,An);a.addEventListener(_t,u),a.dispatchEvent(x),x.defaultPrevented||(bi(Si(xr(a)),{select:!0}),document.activeElement===h&&xe(a))}return()=>{a.removeEventListener(_t,u),setTimeout(()=>{const x=new CustomEvent(It,An);a.addEventListener(It,d),a.dispatchEvent(x),x.defaultPrevented||xe(h??document.body,{select:!0}),a.removeEventListener(It,d),Nn.remove(g)},0)}}},[a,u,d,g]);const b=c.useCallback(h=>{if(!n&&!r||g.paused)return;const v=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,x=document.activeElement;if(v&&x){const S=h.currentTarget,[y,w]=xi(S);y&&w?!h.shiftKey&&x===w?(h.preventDefault(),n&&xe(y,{select:!0})):h.shiftKey&&x===y&&(h.preventDefault(),n&&xe(w,{select:!0})):x===S&&h.preventDefault()}},[n,r,g.paused]);return m.jsx(Y.div,{tabIndex:-1,...i,ref:p,onKeyDown:b})});br.displayName=vi;function bi(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(xe(r,{select:t}),document.activeElement!==n)return}function xi(e){const t=xr(e),n=Pn(t,e),r=Pn(t.reverse(),e);return[n,r]}function xr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Pn(e,t){for(const n of e)if(!wi(n,{upTo:t}))return n}function wi(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function yi(e){return e instanceof HTMLInputElement&&"select"in e}function xe(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&yi(e)&&t&&e.select()}}var Nn=Ci();function Ci(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=On(e,t),e.unshift(t)},remove(t){e=On(e,t),e[0]?.resume()}}}function On(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Si(e){return e.filter(t=>t.tagName!=="A")}var Ei=ar[" useId ".trim().toString()]||(()=>{}),Ri=0;function Ut(e){const[t,n]=c.useState(Ei());return ye(()=>{n(r=>r??String(Ri++))},[e]),e||(t?`radix-${t}`:"")}const ki=["top","right","bottom","left"],Ce=Math.min,Q=Math.max,ht=Math.round,ot=Math.floor,se=e=>({x:e,y:e}),Mi={left:"right",right:"left",bottom:"top",top:"bottom"};function Kt(e,t,n){return Q(e,Ce(t,n))}function de(e,t){return typeof e=="function"?e(t):e}function fe(e){return e.split("-")[0]}function Ge(e){return e.split("-")[1]}function tn(e){return e==="x"?"y":"x"}function nn(e){return e==="y"?"height":"width"}function oe(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function rn(e){return tn(oe(e))}function Ai(e,t,n){n===void 0&&(n=!1);const r=Ge(e),o=rn(e),s=nn(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=gt(i)),[i,gt(i)]}function Pi(e){const t=gt(e);return[Ht(e),t,Ht(t)]}function Ht(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const _n=["left","right"],In=["right","left"],Ni=["top","bottom"],Oi=["bottom","top"];
vendor: 10,998 bytes, line 1
1function _i(e,t,n){switch(e){case"top":case"bottom":return n?t?In:_n:t?_n:In;case"left":case"right":return t?Ni:Oi;default:return[]}}function Ii(e,t,n,r){const o=Ge(e);let s=_i(fe(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Ht)))),s}function gt(e){const t=fe(e);return Mi[t]+e.slice(t.length)}function Ti(e){return{top:0,right:0,bottom:0,left:0,...e}}function wr(e){return typeof e!="number"?Ti(e):{top:e,right:e,bottom:e,left:e}}function vt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Tn(e,t,n){let{reference:r,floating:o}=e;const s=oe(t),i=rn(t),a=nn(i),l=fe(t),u=s==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[a]/2-o[a]/2;let g;switch(l){case"top":g={x:d,y:r.y-o.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-o.width,y:f};break;default:g={x:r.x,y:r.y}}switch(Ge(t)){case"start":g[i]-=p*(n&&u?-1:1);break;case"end":g[i]+=p*(n&&u?-1:1);break}return g}async function Di(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:g=0}=de(t,e),b=wr(g),v=a[p?f==="floating"?"reference":"floating":f],x=vt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),S=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),w=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},R=vt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:S,offsetParent:y,strategy:l}):S);return{top:(x.top-R.top+b.top)/w.y,bottom:(R.bottom-x.bottom+b.bottom)/w.y,left:(x.left-R.left+b.left)/w.x,right:(R.right-x.right+b.right)/w.x}}const ji=50,Li=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:Di},l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=Tn(u,r,l),p=r,g=0;const b={};for(let h=0;h<s.length;h++){const v=s[h];if(!v)continue;const{name:x,fn:S}=v,{x:y,y:w,data:R,reset:P}=await S({x:d,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:b,rects:u,platform:a,elements:{reference:e,floating:t}});d=y??d,f=w??f,b[x]={...b[x],...R},P&&g<ji&&(g++,typeof P=="object"&&(P.placement&&(p=P.placement),P.rects&&(u=P.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):P.rects),{x:d,y:f}=Tn(u,p,l)),h=-1)}return{x:d,y:f,placement:p,strategy:o,middlewareData:b}},Fi=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:d=0}=de(e,t)||{};if(u==null)return{};const f=wr(d),p={x:n,y:r},g=rn(o),b=nn(g),h=await i.getDimensions(u),v=g==="y",x=v?"top":"left",S=v?"bottom":"right",y=v?"clientHeight":"clientWidth",w=s.reference[b]+s.reference[g]-p[g]-s.floating[b],R=p[g]-s.reference[g],P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let E=P?P[y]:0;(!E||!await(i.isElement==null?void 0:i.isElement(P)))&&(E=a.floating[y]||s.floating[b]);const C=w/2-R/2,_=E/2-h[b]/2-1,D=Ce(f[x],_),F=Ce(f[S],_),$=D,W=E-h[b]-F,L=E/2-h[b]/2+C,B=Kt($,L,W),I=!l.arrow&&Ge(o)!=null&&L!==B&&s.reference[b]/2-(L<$?D:F)-h[b]/2<0,z=I?L<$?L-$:L-W:0;return{[g]:p[g]+z,data:{[g]:B,centerOffset:L-B-z,...I&&{alignmentOffset:z}},reset:I}}}),$i=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:h=!0,...v}=de(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const x=fe(o),S=oe(a),y=fe(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),R=p||(y||!h?[gt(a)]:Pi(a)),P=b!=="none";!p&&P&&R.push(...Ii(a,h,b,w));const E=[a,...R],C=await l.detectOverflow(t,v),_=[];let D=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&_.push(C[x]),f){const L=Ai(o,i,w);_.push(C[L[0]],C[L[1]])}if(D=[...D,{placement:o,overflows:_}],!_.every(L=>L<=0)){var F,$;const L=(((F=s.flip)==null?void 0:F.index)||0)+1,B=E[L];if(B&&(!(f==="alignment"?S!==oe(B):!1)||D.every(O=>oe(O.placement)===S?O.overflows[0]>0:!0)))return{data:{index:L,overflows:D},reset:{placement:B}};let I=($=D.filter(z=>z.overflows[0]<=0).sort((z,O)=>z.overflows[1]-O.overflows[1])[0])==null?void 0:$.placement;if(!I)switch(g){case"bestFit":{var W;const z=(W=D.filter(O=>{if(P){const N=oe(O.placement);return N===S||N==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(N=>N>0).reduce((N,k)=>N+k,0)]).sort((O,N)=>O[1]-N[1])[0])==null?void 0:W[0];z&&(I=z);break}case"initialPlacement":I=a;break}if(o!==I)return{reset:{placement:I}}}return{}}}};function Dn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function jn(e){return ki.some(t=>e[t]>=0)}const zi=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...s}=de(e,t);switch(o){case"referenceHidden":{const i=await r.detectOverflow(t,{...s,elementContext:"reference"}),a=Dn(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:jn(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...s,altBoundary:!0}),a=Dn(i,n.floating);return{data:{escapedOffsets:a,escaped:jn(a)}}}default:return{}}}}},yr=new Set(["left","top"]);async function Wi(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=fe(n),a=Ge(n),l=oe(n)==="y",u=yr.has(i)?-1:1,d=s&&l?-1:1,f=de(t,e);let{mainAxis:p,crossAxis:g,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof b=="number"&&(g=a==="end"?b*-1:b),l?{x:g*d,y:p*u}:{x:p*u,y:g*d}}const Bi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await Wi(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},Gi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:x=>{let{x:S,y}=x;return{x:S,y}}},...u}=de(e,t),d={x:n,y:r},f=await s.detectOverflow(t,u),p=oe(fe(o)),g=tn(p);let b=d[g],h=d[p];if(i){const x=g==="y"?"top":"left",S=g==="y"?"bottom":"right",y=b+f[x],w=b-f[S];b=Kt(y,b,w)}if(a){const x=p==="y"?"top":"left",S=p==="y"?"bottom":"right",y=h+f[x],w=h-f[S];h=Kt(y,h,w)}const v=l.fn({...t,[g]:b,[p]:h});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[g]:i,[p]:a}}}}}},Vi=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=de(e,t),d={x:n,y:r},f=oe(o),p=tn(f);let g=d[p],b=d[f];const h=de(a,t),v=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const y=p==="y"?"height":"width",w=s.reference[p]-s.floating[y]+v.mainAxis,R=s.reference[p]+s.reference[y]-v.mainAxis;g<w?g=w:g>R&&(g=R)}if(u){var x,S;const y=p==="y"?"width":"height",w=yr.has(fe(o)),R=s.reference[f]-s.floating[y]+(w&&((x=i.offset)==null?void 0:x[f])||0)+(w?0:v.crossAxis),P=s.reference[f]+s.reference[y]+(w?0:((S=i.offset)==null?void 0:S[f])||0)-(w?v.crossAxis:0);b<R?b=R:b>P&&(b=P)}return{[p]:g,[f]:b}}}},Ui=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...u}=de(e,t),d=await i.detectOverflow(t,u),f=fe(o),p=Ge(o),g=oe(o)==="y",{width:b,height:h}=s.floating;let v,x;f==="top"||f==="bottom"?(v=f,x=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(x=f,v=p==="end"?"top":"bottom");const S=h-d.top-d.bottom,y=b-d.left-d.right,w=Ce(h-d[v],S),R=Ce(b-d[x],y),P=!t.middlewareData.shift;let E=w,C=R;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=S),P&&!p){const D=Q(d.left,0),F=Q(d.right,0),$=Q(d.top,0),W=Q(d.bottom,0);g?C=b-2*(D!==0||F!==0?D+F:Q(d.left,d.right)):E=h-2*($!==0||W!==0?$+W:Q(d.top,d.bottom))}await l({...t,availableWidth:C,availableHeight:E});const _=await i.getDimensions(a.floating);return b!==_.width||h!==_.height?{reset:{rects:!0}}:{}}}};function Ct(){return typeof window<"u"}function Ve(e){return Cr(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ae(e){var t;return(t=(Cr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Cr(e){return Ct()?e instanceof Node||e instanceof J(e).Node:!1}function te(e){return Ct()?e instanceof Element||e instanceof J(e).Element:!1}function me(e){return Ct()?e instanceof HTMLElement||e instanceof J(e).HTMLElement:!1}function Ln(e){return!Ct()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function Ze(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ne(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function Ki(e){return/^(table|td|th)$/.test(Ve(e))}function St(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Hi=/transform|translate|scale|rotate|perspective|filter/,Yi=/paint|layout|strict|content/,Me=e=>!!e&&e!=="none";let Tt;function on(e){const t=te(e)?ne(e):e;return Me(t.transform)||Me(t.translate)||Me(t.scale)||Me(t.rotate)||Me(t.perspective)||!sn()&&(Me(t.backdropFilter)||Me(t.filter))||Hi.test(t.willChange||"")||Yi.test(t.contain||"")}function Xi(e){let t=Se(e);for(;me(t)&&!We(t);){if(on(t))return t;if(St(t))return null;t=Se(t)}return null}function sn(){return Tt==null&&(Tt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Tt}function We(e){return/^(html|body|#document)$/.test(Ve(e))}function ne(e){return J(e).getComputedStyle(e)}function Et(e){return te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Se(e){if(Ve(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ln(e)&&e.host||ae(e);return Ln(t)?t.host:t}function Sr(e){const t=Se(e);return We(t)?e.ownerDocument?e.ownerDocument.body:e.body:me(t)&&Ze(t)?t:Sr(t)}function He(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Sr(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=J(o);if(s){const a=Yt(i);
vendor: 4,433 bytes, line 1
1return t.concat(i,i.visualViewport||[],Ze(o)?o:[],a&&n?He(a):[])}else return t.concat(o,He(o,[],n))}function Yt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Er(e){const t=ne(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=me(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=ht(n)!==s||ht(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function an(e){return te(e)?e:e.contextElement}function $e(e){const t=an(e);if(!me(t))return se(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Er(t);let i=(s?ht(n.width):n.width)/r,a=(s?ht(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const qi=se(0);function Rr(e){const t=J(e);return!sn()||!t.visualViewport?qi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zi(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==J(e)?!1:t}function Ne(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=an(e);let i=se(1);t&&(r?te(r)&&(i=$e(r)):i=$e(e));const a=Zi(s,n,r)?Rr(s):se(0);let l=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(s){const p=J(s),g=r&&te(r)?J(r):r;let b=p,h=Yt(b);for(;h&&r&&g!==b;){const v=$e(h),x=h.getBoundingClientRect(),S=ne(h),y=x.left+(h.clientLeft+parseFloat(S.paddingLeft))*v.x,w=x.top+(h.clientTop+parseFloat(S.paddingTop))*v.y;l*=v.x,u*=v.y,d*=v.x,f*=v.y,l+=y,u+=w,b=J(h),h=Yt(b)}}return vt({width:d,height:f,x:l,y:u})}function Rt(e,t){const n=Et(e).scrollLeft;return t?t.left+n:Ne(ae(e)).left+n}function kr(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Rt(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Qi(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=ae(r),a=t?St(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=se(1);const d=se(0),f=me(r);if((f||!f&&!s)&&((Ve(r)!=="body"||Ze(i))&&(l=Et(r)),f)){const g=Ne(r);u=$e(r),d.x=g.x+r.clientLeft,d.y=g.y+r.clientTop}const p=i&&!f&&!s?kr(i,l):se(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-l.scrollTop*u.y+d.y+p.y}}function Ji(e){return Array.from(e.getClientRects())}function ea(e){const t=ae(e),n=Et(e),r=e.ownerDocument.body,o=Q(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Q(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Rt(e);const a=-n.scrollTop;return ne(r).direction==="rtl"&&(i+=Q(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}const Fn=25;function ta(e,t){const n=J(e),r=ae(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const d=sn();(!d||d&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const u=Rt(r);if(u<=0){const d=r.ownerDocument,f=d.body,p=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,b=Math.abs(r.clientWidth-f.clientWidth-g);b<=Fn&&(s-=b)}else u<=Fn&&(s+=u);return{width:s,height:i,x:a,y:l}}function na(e,t){const n=Ne(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=me(e)?$e(e):se(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,u=r*s.y;return{width:i,height:a,x:l,y:u}}function $n(e,t,n){let r;if(t==="viewport")r=ta(e,n);else if(t==="document")r=ea(ae(e));else if(te(t))r=na(t,n);else{const o=Rr(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return vt(r)}function Mr(e,t){const n=Se(e);return n===t||!te(n)||We(n)?!1:ne(n).position==="fixed"||Mr(n,t)}function ra(e,t){const n=t.get(e);if(n)return n;let r=He(e,[],!1).filter(a=>te(a)&&Ve(a)!=="body"),o=null;const s=ne(e).position==="fixed";let i=s?Se(e):e;for(;te(i)&&!We(i);){const a=ne(i),l=on(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Ze(i)&&!l&&Mr(e,i))?r=r.filter(d=>d!==i):o=a,i=Se(i)}return t.set(e,r),r}function oa(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?St(t)?[]:ra(t,this._c):[].concat(n),r],a=$n(t,i[0],o);let l=a.top,u=a.right,d=a.bottom,f=a.left;for(let p=1;p<i.length;p++){const g=$n(t,i[p],o);l=Q(g.top,l),u=Ce(g.right,u),d=Ce(g.bottom,d),f=Q(g.left,f)}return{width:u-f,height:d-l,x:f,y:l}}function sa(e){const{width:t,height:n}=Er(e);return{width:t,height:n}}function ia(e,t,n){const r=me(t),o=ae(t),s=n==="fixed",i=Ne(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=se(0);function u(){l.x=Rt(o)}
vendor: 4,437 bytes, line 1
1if(r||!r&&!s)if((Ve(t)!=="body"||Ze(o))&&(a=Et(t)),r){const g=Ne(t,!0,s,t);l.x=g.x+t.clientLeft,l.y=g.y+t.clientTop}else o&&u();s&&!r&&o&&u();const d=o&&!r&&!s?kr(o,a):se(0),f=i.left+a.scrollLeft-l.x-d.x,p=i.top+a.scrollTop-l.y-d.y;return{x:f,y:p,width:i.width,height:i.height}}function Dt(e){return ne(e).position==="static"}function zn(e,t){if(!me(e)||ne(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ae(e)===n&&(n=n.ownerDocument.body),n}function Ar(e,t){const n=J(e);if(St(e))return n;if(!me(e)){let o=Se(e);for(;o&&!We(o);){if(te(o)&&!Dt(o))return o;o=Se(o)}return n}let r=zn(e,t);for(;r&&Ki(r)&&Dt(r);)r=zn(r,t);return r&&We(r)&&Dt(r)&&!on(r)?n:r||Xi(e)||n}const aa=async function(e){const t=this.getOffsetParent||Ar,n=this.getDimensions,r=await n(e.floating);return{reference:ia(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ca(e){return ne(e).direction==="rtl"}const la={convertOffsetParentRelativeRectToViewportRelativeRect:Qi,getDocumentElement:ae,getClippingRect:oa,getOffsetParent:Ar,getElementRects:aa,getClientRects:Ji,getDimensions:sa,getScale:$e,isElement:te,isRTL:ca};function Pr(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ua(e,t){let n=null,r;const o=ae(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:p,height:g}=u;if(a||t(),!p||!g)return;const b=ot(f),h=ot(o.clientWidth-(d+p)),v=ot(o.clientHeight-(f+g)),x=ot(d),y={rootMargin:-b+"px "+-h+"px "+-v+"px "+-x+"px",threshold:Q(0,Ce(1,l))||1};let w=!0;function R(P){const E=P[0].intersectionRatio;if(E!==l){if(!w)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!Pr(u,e.getBoundingClientRect())&&i(),w=!1}try{n=new IntersectionObserver(R,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(R,y)}n.observe(e)}return i(!0),s}function da(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=an(e),d=o||s?[...u?He(u):[],...t?He(t):[]]:[];d.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),s&&x.addEventListener("resize",n)});const f=u&&a?ua(u,n):null;let p=-1,g=null;i&&(g=new ResizeObserver(x=>{let[S]=x;S&&S.target===u&&g&&t&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=g)==null||y.observe(t)})),n()}),u&&!l&&g.observe(u),t&&g.observe(t));let b,h=l?Ne(e):null;l&&v();function v(){const x=Ne(e);h&&!Pr(h,x)&&n(),h=x,b=requestAnimationFrame(v)}return n(),()=>{var x;d.forEach(S=>{o&&S.removeEventListener("scroll",n),s&&S.removeEventListener("resize",n)}),f?.(),(x=g)==null||x.disconnect(),g=null,l&&cancelAnimationFrame(b)}}const fa=Bi,ma=Gi,pa=$i,ha=Ui,ga=zi,Wn=Fi,va=Vi,ba=(e,t,n)=>{const r=new Map,o={platform:la,...n},s={...o.platform,_c:r};return Li(e,t,{...o,platform:s})};var xa=typeof document<"u",wa=function(){},ft=xa?c.useLayoutEffect:wa;function bt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!bt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!bt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Nr(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Bn(e,t){const n=Nr(e);return Math.round(t*n)/n}function jt(e){const t=c.useRef(e);return ft(()=>{t.current=e}),t}function ya(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,f]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,g]=c.useState(r);bt(p,r)||g(r);const[b,h]=c.useState(null),[v,x]=c.useState(null),S=c.useCallback(O=>{O!==P.current&&(P.current=O,h(O))},[]),y=c.useCallback(O=>{O!==E.current&&(E.current=O,x(O))},[]),w=s||b,R=i||v,P=c.useRef(null),E=c.useRef(null),C=c.useRef(d),_=l!=null,D=jt(l),F=jt(o),$=jt(u),W=c.useCallback(()=>
vendor: 5,256 bytes, line 1
1{if(!P.current||!E.current)return;const O={placement:t,strategy:n,middleware:p};F.current&&(O.platform=F.current),ba(P.current,E.current,O).then(N=>{const k={...N,isPositioned:$.current!==!1};L.current&&!bt(C.current,k)&&(C.current=k,en.flushSync(()=>{f(k)}))})},[p,t,n,F,$]);ft(()=>{u===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,f(O=>({...O,isPositioned:!1})))},[u]);const L=c.useRef(!1);ft(()=>(L.current=!0,()=>{L.current=!1}),[]),ft(()=>{if(w&&(P.current=w),R&&(E.current=R),w&&R){if(D.current)return D.current(w,R,W);W()}},[w,R,W,D,_]);const B=c.useMemo(()=>({reference:P,floating:E,setReference:S,setFloating:y}),[S,y]),I=c.useMemo(()=>({reference:w,floating:R}),[w,R]),z=c.useMemo(()=>{const O={position:n,left:0,top:0};if(!I.floating)return O;const N=Bn(I.floating,d.x),k=Bn(I.floating,d.y);return a?{...O,transform:"translate("+N+"px, "+k+"px)",...Nr(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:k}},[n,a,I.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:W,refs:B,elements:I,floatingStyles:z}),[d,W,B,I,z])}const Ca=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Wn({element:r.current,padding:o}).fn(n):{}:r?Wn({element:r,padding:o}).fn(n):{}}}},Sa=(e,t)=>{const n=fa(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ea=(e,t)=>{const n=ma(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ra=(e,t)=>({fn:va(e).fn,options:[e,t]}),ka=(e,t)=>{const n=pa(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ma=(e,t)=>{const n=ha(e);return{name:n.name,fn:n.fn,options:[e,t]}},Aa=(e,t)=>{const n=ga(e);return{name:n.name,fn:n.fn,options:[e,t]}},Pa=(e,t)=>{const n=Ca(e);return{name:n.name,fn:n.fn,options:[e,t]}};var Na="Arrow",Or=c.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return m.jsx(Y.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:m.jsx("polygon",{points:"0,0 30,0 15,10"})})});Or.displayName=Na;var Oa=Or;function _a(e){const[t,n]=c.useState(void 0);return ye(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var cn="Popper",[_r,Ir]=qe(cn),[Ia,Tr]=_r(cn),Dr=e=>{const{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return m.jsx(Ia,{scope:t,anchor:r,onAnchorChange:o,children:n})};Dr.displayName=cn;var jr="PopperAnchor",Lr=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Tr(jr,n),i=c.useRef(null),a=q(t,i),l=c.useRef(null);return c.useEffect(()=>{const u=l.current;l.current=r?.current||i.current,u!==l.current&&s.onAnchorChange(l.current)}),r?null:m.jsx(Y.div,{...o,ref:a})});Lr.displayName=jr;var ln="PopperContent",[Ta,Da]=_r(ln),Fr=c.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:g="optimized",onPlaced:b,...h}=e,v=Tr(ln,n),[x,S]=c.useState(null),y=q(t,G=>S(G)),[w,R]=c.useState(null),P=_a(w),E=P?.width??0,C=P?.height??0,_=r+(s!=="center"?"-"+s:""),D=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},F=Array.isArray(u)?u:[u],$=F.length>0,W={padding:D,boundary:F.filter(La),altBoundary:$},{refs:L,floatingStyles:B,placement:I,isPositioned:z,middlewareData:O}=ya({strategy:"fixed",placement:_,whileElementsMounted:(...G)=>da(...G,{animationFrame:g==="always"}),elements:{reference:v.anchor},middleware:[Sa({mainAxis:o+C,alignmentAxis:i}),l&&Ea({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Ra():void 0,...W}),l&&ka({...W}),Ma({...W,apply:({elements:G,rects:he,availableWidth:K,availableHeight:nt})=>{const{width:Te,height:De}=he.reference,ge=G.floating.style;ge.setProperty("--radix-popper-available-width",`${K}px`),ge.setProperty("--radix-popper-available-height",`${nt}px`),ge.setProperty("--radix-popper-anchor-width",`${Te}px`),ge.setProperty("--radix-popper-anchor-height",`${De}px`)}}),w&&Pa({element:w,padding:a}),Fa({arrowWidth:E,arrowHeight:C}),p&&Aa({strategy:"referenceHidden",...W})]}),[N,k]=Wr(I),Z=ue(b);ye(()=>{z&&Z?.()},[z,Z]);const re=O.arrow?.x,pe=O.arrow?.y,ce=O.arrow?.centerOffset!==0,[U,V]=c.useState();return ye(()=>{x&&V(window.getComputedStyle(x).zIndex)},[x]),m.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:z?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[O.transformOrigin?.x,O.transformOrigin?.y].join(" "),...O.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:m.jsx(Ta,{scope:n,placedSide:N,onArrowChange:R,arrowX:re,arrowY:pe,shouldHideArrow:ce,children:m.jsx(Y.div,{"data-side":N,"data-align":k,...h,ref:y,style:{...h.style,animation:z?void 0:"none"}})})})});Fr.displayName=ln;var $r="PopperArrow",ja={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},zr=c.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=Da($r,r),i=ja[s.placedSide];return m.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:m.jsx(Oa,{...o,ref:n,style:{...o.style,display:"block"}})})});zr.displayName=$r;function La(e){return e!==null}var Fa=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,d]=Wr(n),f={start:"0%",center:"50%",end:"100%"}[d],p=(o.arrow?.x??0)+a/2,g=(o.arrow?.y??0)+l/2;let b="",h="";return u==="bottom"?(b=i?f:`${p}px`,h=`${-l}px`):u==="top"?(b=i?f:`${p}px`,h=`${r.floating.height+l}px`):u==="right"?(b=`${-l}px`,h=i?f:`${g}px`):u==="left"&&(b=`${r.floating.width+l}px`,h=i?f:`${g}px`),{data:{x:b,y:h}}}});function Wr(e){const[t,n="center"]=e.split("-");return[t,n]}var $a=Dr,za=Lr,Wa=Fr,Ba=zr,Ga="Portal",Br=c.forwardRef((e,t)=>{const{container:n,...r}=e,[o,s]=c.useState(!1);ye(()=>s(!0),[]);const i=n||o&&globalThis?.document?.body;return i?Ys.createPortal(m.jsx(Y.div,{...r,ref:t}),i):null});Br.displayName=Ga;function Va(e,t){return c.useReducer((n,r)=>t[n][r]??n,e)}var Qe=e=>{const{present:t,children:n}=e,r=Ua(t),o=typeof n=="function"?n({present:r.isPresent}):c.Children.only(n),s=q(r.ref,Ka(o));return typeof n=="function"||r.isPresent?c.cloneElement(o,{ref:s}):null};Qe.displayName="Presence";function Ua(e){const[t,n]=c.useState(),r=c.useRef(null),o=c.useRef(e),s=c.useRef("none"),i=e?"mounted":"unmounted",[a,l]=Va(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const u=st(r.current);s.current=a==="mounted"?u:"none"},[a]),ye(()=>{const u=r.current,d=o.current;if(d!==e){const p=s.current,g=st(u);e?l("MOUNT"):g==="none"||u?.display==="none"?l("UNMOUNT"):l(d&&p!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),ye(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=g=>{const h=st(r.current).includes(CSS.escape(g.animationName));if(g.target===t&&h&&(l("ANIMATION_END"),!o.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},p=g=>{g.target===t&&(s.current=st(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:c.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function st(e){return e?.animationName||"none"}function Ka(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Lt="rovingFocusGroup.onEntryFocus",Ha={bubbles:!1,cancelable:!0},Je="RovingFocusGroup",[Xt,Gr,Ya]=mr(Je),[Xa,Vr]=qe(Je,[Ya]),[qa,Za]=Xa(Je),Ur=c.forwardRef((e,t)=>m.jsx(Xt.Provider,{scope:e.__scopeRovingFocusGroup,children:m.jsx(Xt.Slot,{scope:e.__scopeRovingFocusGroup,children:m.jsx(Qa,{...e,ref:t})})}));Ur.displayName=Je;var Qa=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,p=c.useRef(null),g=q(t,p),b=pr(s),[h,v]=dr({prop:i,defaultProp:a??null,onChange:l,caller:Je}),[x,S]=c.useState(!1),y=ue(u),w=Gr(n),R=c.useRef(!1),[P,E]=c.useState(0);return c.useEffect(()=>{const C=p.current;
vendor: 1,157 bytes, line 1
1if(C)return C.addEventListener(Lt,y),()=>C.removeEventListener(Lt,y)},[y]),m.jsx(qa,{scope:n,orientation:r,dir:b,loop:o,currentTabStopId:h,onItemFocus:c.useCallback(C=>v(C),[v]),onItemShiftTab:c.useCallback(()=>S(!0),[]),onFocusableItemAdd:c.useCallback(()=>E(C=>C+1),[]),onFocusableItemRemove:c.useCallback(()=>E(C=>C-1),[]),children:m.jsx(Y.div,{tabIndex:x||P===0?-1:0,"data-orientation":r,...f,ref:g,style:{outline:"none",...e.style},onMouseDown:j(e.onMouseDown,()=>{R.current=!0}),onFocus:j(e.onFocus,C=>{const _=!R.current;if(C.target===C.currentTarget&&_&&!x){const D=new CustomEvent(Lt,Ha);if(C.currentTarget.dispatchEvent(D),!D.defaultPrevented){const F=w().filter(I=>I.focusable),$=F.find(I=>I.active),W=F.find(I=>I.id===h),B=[$,W,...F].filter(Boolean).map(I=>I.ref.current);Yr(B,d)}}R.current=!1}),onBlur:j(e.onBlur,()=>S(!1))})})}),Kr="RovingFocusGroupItem",Hr=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:s,children:i,...a}=e,l=Ut(),u=s||l,d=Za(Kr,n),f=d.currentTabStopId===u,p=Gr(n),{onFocusableItemAdd:g,onFocusableItemRemove:b,currentTabStopId:h}=d;return c.useEffect(()=>{if(r)return g(),()=>b()}
vendor: 9,144 bytes, lines 1-16
1,[r,g,b]),m.jsx(Xt.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:m.jsx(Y.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...a,ref:t,onMouseDown:j(e.onMouseDown,v=>{r?d.onItemFocus(u):v.preventDefault()}),onFocus:j(e.onFocus,()=>d.onItemFocus(u)),onKeyDown:j(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){d.onItemShiftTab();return}if(v.target!==v.currentTarget)return;const x=tc(v,d.orientation,d.dir);if(x!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let y=p().filter(w=>w.focusable).map(w=>w.ref.current);if(x==="last")y.reverse();else if(x==="prev"||x==="next"){x==="prev"&&y.reverse();const w=y.indexOf(v.currentTarget);y=d.loop?nc(y,w+1):y.slice(w+1)}setTimeout(()=>Yr(y))}}),children:typeof i=="function"?i({isCurrentTabStop:f,hasTabStop:h!=null}):i})})});Hr.displayName=Kr;var Ja={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ec(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function tc(e,t,n){const r=ec(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Ja[r]}function Yr(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function nc(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var rc=Ur,oc=Hr;function sc(e){const t=ic(e),n=c.forwardRef((r,o)=>{const{children:s,...i}=r,a=c.Children.toArray(s),l=a.find(cc);if(l){const u=l.props.children,d=a.map(f=>f===l?c.Children.count(u)>1?c.Children.only(null):c.isValidElement(u)?u.props.children:null:f);return m.jsx(t,{...i,ref:o,children:c.isValidElement(u)?c.cloneElement(u,void 0,d):null})}return m.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function ic(e){const t=c.forwardRef((n,r)=>{const{children:o,...s}=n;if(c.isValidElement(o)){const i=uc(o),a=lc(s,o.props);return o.type!==c.Fragment&&(a.ref=r?Be(r,i):i),c.cloneElement(o,a)}return c.Children.count(o)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ac=Symbol("radix.slottable");function cc(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ac}function lc(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function uc(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var dc=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},je=new WeakMap,it=new WeakMap,at={},Ft=0,Xr=function(e){return e&&(e.host||Xr(e.parentNode))},fc=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Xr(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},mc=function(e,t,n,r){var o=fc(t,Array.isArray(e)?e:[e]);at[n]||(at[n]=new WeakMap);var s=at[n],i=[],a=new Set,l=new Set(o),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(a.has(p))d(p);else try{var g=p.getAttribute(r),b=g!==null&&g!=="false",h=(je.get(p)||0)+1,v=(s.get(p)||0)+1;je.set(p,h),s.set(p,v),i.push(p),h===1&&b&&it.set(p,!0),v===1&&p.setAttribute(n,"true"),b||p.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",p,x)}})};return d(t),a.clear(),Ft++,function(){i.forEach(function(f){var p=je.get(f)-1,g=s.get(f)-1;je.set(f,p),s.set(f,g),p||(it.has(f)||f.removeAttribute(r),it.delete(f)),g||f.removeAttribute(n)}),Ft--,Ft||(je=new WeakMap,je=new WeakMap,it=new WeakMap,at={})}},pc=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=dc(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),mc(r,o,n,"aria-hidden")):function(){return null}},mt="right-scroll-bar-position",pt="width-before-scroll-bar",hc="with-scroll-bars-hidden",gc="--removed-body-scroll-bar-size";function $t(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function vc(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var bc=typeof window<"u"?c.useLayoutEffect:c.useEffect,Gn=new WeakMap;function xc(e,t){var n=vc(null,function(r){return e.forEach(function(o){return $t(o,r)})});return bc(function(){var r=Gn.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||$t(a,null)}),s.forEach(function(a){o.has(a)||$t(a,i)})}Gn.set(n,e)},[e]),n}function wc(e){return e}function yc(e,t){t===void 0&&(t=wc);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var l=function(){var d=i;i=[],d.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),n}}}};return o}function Cc(e){e===void 0&&(e={});var t=yc(null);return t.options=we({async:!0,ssr:!1},e),t}var qr=function(e){var t=e.sideCar,n=cr(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return c.createElement(r,we({},n))};qr.isSideCarExport=!0;function Sc(e,t){return e.useMedium(t),qr}var Zr=Cc(),zt=function(){},kt=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:zt,onWheelCapture:zt,onTouchMoveCapture:zt}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,g=e.noRelative,b=e.noIsolation,h=e.inert,v=e.allowPinchZoom,x=e.as,S=x===void 0?"div":x,y=e.gapMode,w=cr(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=p,P=xc([n,t]),E=we(we({},w),o);return c.createElement(c.Fragment,null,d&&c.createElement(R,{sideCar:Zr,removeScrollBar:u,shards:f,noRelative:g,noIsolation:b,inert:h,setCallbacks:s,allowPinchZoom:!!v,lockRef:n,gapMode:y}),i?c.cloneElement(c.Children.only(a),we(we({},E),{ref:P})):c.createElement(S,we({},E,{className:l,ref:P}),a))});kt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};kt.classNames={fullWidth:pt,zeroRight:mt};var Ec=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Rc(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ec();return t&&e.setAttribute("nonce",t),e}function kc(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Mc(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ac=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Rc())&&(kc(t,n),Mc(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Pc=function(){var e=Ac();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Qr=function(){var e=Pc(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Nc={left:0,top:0,right:0,gap:0},Wt=function(e){return parseInt(e||"",10)||0},Oc=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Wt(n),Wt(r),Wt(o)]},_c=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Nc;var t=Oc(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ic=Qr(),ze="data-scroll-locked",Tc=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),` 2 .`.concat(hc,` { 3 overflow: hidden `).concat(r,`; 4 padding-right: `).concat(a,"px ").concat(r,`; 5 } 6 body[`).concat(ze,`] { 7 overflow: hidden `).concat(r,`; 8 overscroll-behavior: contain; 9 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 10 padding-left: `.concat(o,`px; 11 padding-top: `).concat(s,`px; 12 padding-right: `).concat(i,`px; 13 margin-left:0; 14 margin-top:0; 15 margin-right: `).concat(a,"px ").concat(r,`; 16 `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
16")].filter(Boolean).join(""),` 17 } 18 19 .`).concat(mt,` { 20 right: `).concat(a,"px ").concat(r,`; 21 } 22 23 .`).concat(pt,` { 24 margin-right: `).concat(a,"px ").concat(r,`; 25 } 26 27 .`).concat(mt," .").concat(mt,` { 28 right: 0 `).concat(r,`; 29 } 30 31 .`).concat(pt," .").concat(pt,` { 32 margin-right: 0 `).concat(r,`; 33 } 34 35 body[`).concat(ze,`] { 36 `).concat(gc,": ").concat(a,`px; 37 } 38`)},Vn=function(){var e=parseInt(document.body.getAttribute(ze)||"0",10);return isFinite(e)?e:0},Dc=function(){c.useEffect(function(){return document.body.setAttribute(ze,(Vn()+1).toString()),function(){var e=Vn()-1;e<=0?document.body.removeAttribute(ze):document.body.setAttribute(ze,e.toString())}},[])},jc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Dc();var s=c.useMemo(function(){return _c(o)},[o]);return c.createElement(Ic,{styles:Tc(s,!t,o,n?"":"!important")})},qt=!1;if(typeof window<"u")try{var ct=Object.defineProperty({},"passive",{get:function(){return qt=!0,!0}});window.addEventListener("test",ct,ct),window.removeEventListener("test",ct,ct)}catch{qt=!1}var Le=qt?{passive:!1}:!1,Lc=function(e){return e.tagName==="TEXTAREA"},Jr=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Lc(e)&&n[t]==="visible")},Fc=function(e){return Jr(e,"overflowY")},$c=function(e){return Jr(e,"overflowX")},Un=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=eo(e,r);if(o){var s=to(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},zc=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Wc=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},eo=function(e,t){return e==="v"?Fc(t):$c(t)},to=function(e,t){return e==="v"?zc(t):Wc(t)},Bc=function(e,t){return e==="h"&&t==="rtl"?-1:1},Gc=function(e,t,n,r,o){var s=Bc(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,l=t.contains(a),u=!1,d=i>0,f=0,p=0;do{if(!a)break;var g=to(e,a),b=g[0],h=g[1],v=g[2],x=h-v-s*b;(b||x)&&eo(e,a)&&(f+=x,p+=b);var S=a.parentNode;a=S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?S.host:S}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(d&&Math.abs(f)<1||!d&&Math.abs(p)<1)&&(u=!0),u},lt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Kn=function(e){return[e.deltaX,e.deltaY]},Hn=function(e){return e&&"current"in e?e.current:e},Vc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Uc=function(e){return` 39 .block-interactivity-`.concat(e,` {pointer-events: none;} 40 .allow-interactivity-`).concat(e,` {pointer-events: all;} 41`)},Kc=0,Fe=[];function Hc(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(Kc++)[0],s=c.useState(Qr)[0],i=c.useRef(e);c.useEffect(function(){i.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=gs([e.lockRef.current],(e.shards||[]).map(Hn),!0).filter(Boolean);return h.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=c.useCallback(function(h,v){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!i.current.allowPinchZoom;var x=lt(h),S=n.current,y="deltaX"in h?h.deltaX:S[0]-x[0],w="deltaY"in h?h.deltaY:S[1]-x[1],R,P=h.target,E=Math.abs(y)>Math.abs(w)?"h":"v";if("touches"in h&&E==="h"&&P.type==="range")return!1;var C=window.getSelection(),_=C&&C.anchorNode,D=_?_===P||_.contains(P):!1;if(D)return!1;var F=Un(E,P);if(!F)return!0;if(F?R=E:(R=E==="v"?"h":"v",F=Un(E,P)),!F)return!1;if(!r.current&&"changedTouches"in h&&(y||w)&&(r.current=R),!R)return!0;var $=r.current||R;return Gc($,v,h,$==="h"?y:w)},[]),l=c.useCallback(function(h){var v=h;if(!(!Fe.length||Fe[Fe.length-1]!==s)){var x="deltaY"in v?Kn(v):lt(v),S=t.current.filter(function(R){return R.name===v.type&&(R.target===v.target||v.target===R.shadowParent)&&Vc(R.delta,x)})[0];if(S&&S.should){v.cancelable&&v.preventDefault();return}
vendor: 24,487 bytes, line 41
41if(!S){var y=(i.current.shards||[]).map(Hn).filter(Boolean).filter(function(R){return R.contains(v.target)}),w=y.length>0?a(v,y[0]):!i.current.noIsolation;w&&v.cancelable&&v.preventDefault()}}},[]),u=c.useCallback(function(h,v,x,S){var y={name:h,delta:v,target:x,should:S,shadowParent:Yc(x)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(w){return w!==y})},1)},[]),d=c.useCallback(function(h){n.current=lt(h),r.current=void 0},[]),f=c.useCallback(function(h){u(h.type,Kn(h),h.target,a(h,e.lockRef.current))},[]),p=c.useCallback(function(h){u(h.type,lt(h),h.target,a(h,e.lockRef.current))},[]);c.useEffect(function(){return Fe.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Le),document.addEventListener("touchmove",l,Le),document.addEventListener("touchstart",d,Le),function(){Fe=Fe.filter(function(h){return h!==s}),document.removeEventListener("wheel",l,Le),document.removeEventListener("touchmove",l,Le),document.removeEventListener("touchstart",d,Le)}},[]);var g=e.removeScrollBar,b=e.inert;return c.createElement(c.Fragment,null,b?c.createElement(s,{styles:Uc(o)}):null,g?c.createElement(jc,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Yc(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Xc=Sc(Zr,Hc);var no=c.forwardRef(function(e,t){return c.createElement(kt,we({},e,{ref:t,sideCar:Xc}))});no.classNames=kt.classNames;var Zt=["Enter"," "],qc=["ArrowDown","PageUp","Home"],ro=["ArrowUp","PageDown","End"],Zc=[...qc,...ro],Qc={ltr:[...Zt,"ArrowRight"],rtl:[...Zt,"ArrowLeft"]},Jc={ltr:["ArrowLeft"],rtl:["ArrowRight"]},et="Menu",[Ye,el,tl]=mr(et),[Oe,oo]=qe(et,[tl,Ir,Vr]),Mt=Ir(),so=Vr(),[nl,_e]=Oe(et),[rl,tt]=Oe(et),io=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:s,modal:i=!0}=e,a=Mt(t),[l,u]=c.useState(null),d=c.useRef(!1),f=ue(s),p=pr(o);return c.useEffect(()=>{const g=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),m.jsx($a,{...a,children:m.jsx(nl,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:u,children:m.jsx(rl,{scope:t,onClose:c.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:p,modal:i,children:r})})})};io.displayName=et;var ol="MenuAnchor",un=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Mt(n);return m.jsx(za,{...o,...r,ref:t})});un.displayName=ol;var dn="MenuPortal",[sl,ao]=Oe(dn,{forceMount:void 0}),co=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,s=_e(dn,t);return m.jsx(sl,{scope:t,forceMount:n,children:m.jsx(Qe,{present:n||s.open,children:m.jsx(Br,{asChild:!0,container:o,children:r})})})};co.displayName=dn;var ee="MenuContent",[il,fn]=Oe(ee),lo=c.forwardRef((e,t)=>{const n=ao(ee,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,s=_e(ee,e.__scopeMenu),i=tt(ee,e.__scopeMenu);return m.jsx(Ye.Provider,{scope:e.__scopeMenu,children:m.jsx(Qe,{present:r||s.open,children:m.jsx(Ye.Slot,{scope:e.__scopeMenu,children:i.modal?m.jsx(al,{...o,ref:t}):m.jsx(cl,{...o,ref:t})})})})}),al=c.forwardRef((e,t)=>{const n=_e(ee,e.__scopeMenu),r=c.useRef(null),o=q(t,r);return c.useEffect(()=>{const s=r.current;if(s)return pc(s)},[]),m.jsx(mn,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:j(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),cl=c.forwardRef((e,t)=>{const n=_e(ee,e.__scopeMenu);return m.jsx(mn,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ll=sc("MenuContent.ScrollLock"),mn=c.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:g,disableOutsideScroll:b,...h}=e,v=_e(ee,n),x=tt(ee,n),S=Mt(n),y=so(n),w=el(n),[R,P]=c.useState(null),E=c.useRef(null),C=q(t,E,v.onContentChange),_=c.useRef(0),D=c.useRef(""),F=c.useRef(0),$=c.useRef(null),W=c.useRef("right"),L=c.useRef(0),B=b?no:c.Fragment,I=b?{as:ll,allowPinchZoom:!0}:void 0,z=N=>{const k=D.current+N,Z=w().filter(G=>!G.disabled),re=document.activeElement,pe=Z.find(G=>G.ref.current===re)?.textValue,ce=Z.map(G=>G.textValue),U=yl(ce,k,pe),V=Z.find(G=>G.textValue===U)?.ref.current;(function G(he){D.current=he,window.clearTimeout(_.current),he!==""&&(_.current=window.setTimeout(()=>G(""),1e3))})(k),V&&setTimeout(()=>V.focus())};c.useEffect(()=>()=>window.clearTimeout(_.current),[]),gi();const O=c.useCallback(N=>W.current===$.current?.side&&Sl(N,$.current?.area),[]);return m.jsx(il,{scope:n,searchRef:D,onItemEnter:c.useCallback(N=>{O(N)&&N.preventDefault()},[O]),onItemLeave:c.useCallback(N=>{O(N)||(E.current?.focus(),P(null))},[O]),onTriggerLeave:c.useCallback(N=>{O(N)&&N.preventDefault()},[O]),pointerGraceTimerRef:F,onPointerGraceIntentChange:c.useCallback(N=>{$.current=N},[]),children:m.jsx(B,{...I,children:m.jsx(br,{asChild:!0,trapped:o,onMountAutoFocus:j(s,N=>{N.preventDefault(),E.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:i,children:m.jsx(gr,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:g,children:m.jsx(rc,{asChild:!0,...y,dir:x.dir,orientation:"vertical",loop:r,currentTabStopId:R,onCurrentTabStopIdChange:P,onEntryFocus:j(l,N=>{x.isUsingKeyboardRef.current||N.preventDefault()}),preventScrollOnEntryFocus:!0,children:m.jsx(Wa,{role:"menu","aria-orientation":"vertical","data-state":ko(v.open),"data-radix-menu-content":"",dir:x.dir,...S,...h,ref:C,style:{outline:"none",...h.style},onKeyDown:j(h.onKeyDown,N=>{const Z=N.target.closest("[data-radix-menu-content]")===N.currentTarget,re=N.ctrlKey||N.altKey||N.metaKey,pe=N.key.length===1;Z&&(N.key==="Tab"&&N.preventDefault(),!re&&pe&&z(N.key));const ce=E.current;if(N.target!==ce||!Zc.includes(N.key))return;N.preventDefault();const V=w().filter(G=>!G.disabled).map(G=>G.ref.current);ro.includes(N.key)&&V.reverse(),xl(V)}),onBlur:j(e.onBlur,N=>{N.currentTarget.contains(N.target)||(window.clearTimeout(_.current),D.current="")}),onPointerMove:j(e.onPointerMove,Xe(N=>{const k=N.target,Z=L.current!==N.clientX;if(N.currentTarget.contains(k)&&Z){const re=N.clientX>L.current?"right":"left";W.current=re,L.current=N.clientX}}))})})})})})})});lo.displayName=ee;var ul="MenuGroup",pn=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return m.jsx(Y.div,{role:"group",...r,ref:t})});pn.displayName=ul;var dl="MenuLabel",uo=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return m.jsx(Y.div,{...r,ref:t})});uo.displayName=dl;var xt="MenuItem",Yn="menu.itemSelect",At=c.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,s=c.useRef(null),i=tt(xt,e.__scopeMenu),a=fn(xt,e.__scopeMenu),l=q(t,s),u=c.useRef(!1),d=()=>{const f=s.current;if(!n&&f){const p=new CustomEvent(Yn,{bubbles:!0,cancelable:!0});f.addEventListener(Yn,g=>r?.(g),{once:!0}),fr(f,p),p.defaultPrevented?u.current=!1:i.onClose()}};return m.jsx(fo,{...o,ref:l,disabled:n,onClick:j(e.onClick,d),onPointerDown:f=>{e.onPointerDown?.(f),u.current=!0},onPointerUp:j(e.onPointerUp,f=>{u.current||f.currentTarget?.click()}),onKeyDown:j(e.onKeyDown,f=>{const p=a.searchRef.current!=="";n||p&&f.key===" "||Zt.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});At.displayName=xt;var fo=c.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...s}=e,i=fn(xt,n),a=so(n),l=c.useRef(null),u=q(t,l),[d,f]=c.useState(!1),[p,g]=c.useState("");return c.useEffect(()=>{const b=l.current;b&&g((b.textContent??"").trim())},[s.children]),m.jsx(Ye.ItemSlot,{scope:n,disabled:r,textValue:o??p,children:m.jsx(oc,{asChild:!0,...a,focusable:!r,children:m.jsx(Y.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...s,ref:u,onPointerMove:j(e.onPointerMove,Xe(b=>{r?i.onItemLeave(b):(i.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:j(e.onPointerLeave,Xe(b=>i.onItemLeave(b))),onFocus:j(e.onFocus,()=>f(!0)),onBlur:j(e.onBlur,()=>f(!1))})})})}),fl="MenuCheckboxItem",mo=c.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return m.jsx(bo,{scope:e.__scopeMenu,checked:n,children:m.jsx(At,{role:"menuitemcheckbox","aria-checked":wt(n)?"mixed":n,...o,ref:t,"data-state":gn(n),onSelect:j(o.onSelect,()=>r?.(wt(n)?!0:!n),{checkForDefaultPrevented:!1})})})});mo.displayName=fl;var po="MenuRadioGroup",[ml,pl]=Oe(po,{value:void 0,onValueChange:()=>{}}),ho=c.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,s=ue(r);return m.jsx(ml,{scope:e.__scopeMenu,value:n,onValueChange:s,children:m.jsx(pn,{...o,ref:t})})});ho.displayName=po;var go="MenuRadioItem",vo=c.forwardRef((e,t)=>{const{value:n,...r}=e,o=pl(go,e.__scopeMenu),s=n===o.value;return m.jsx(bo,{scope:e.__scopeMenu,checked:s,children:m.jsx(At,{role:"menuitemradio","aria-checked":s,...r,ref:t,"data-state":gn(s),onSelect:j(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});vo.displayName=go;var hn="MenuItemIndicator",[bo,hl]=Oe(hn,{checked:!1}),xo=c.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,s=hl(hn,n);return m.jsx(Qe,{present:r||wt(s.checked)||s.checked===!0,children:m.jsx(Y.span,{...o,ref:t,"data-state":gn(s.checked)})})});xo.displayName=hn;var gl="MenuSeparator",wo=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return m.jsx(Y.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});wo.displayName=gl;var vl="MenuArrow",yo=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Mt(n);return m.jsx(Ba,{...o,...r,ref:t})});yo.displayName=vl;var bl="MenuSub",[cd,Co]=Oe(bl),Ke="MenuSubTrigger",So=c.forwardRef((e,t)=>{const n=_e(Ke,e.__scopeMenu),r=tt(Ke,e.__scopeMenu),o=Co(Ke,e.__scopeMenu),s=fn(Ke,e.__scopeMenu),i=c.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:l}=s,u={__scopeMenu:e.__scopeMenu},d=c.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return c.useEffect(()=>d,[d]),c.useEffect(()=>{const f=a.current;return()=>{window.clearTimeout(f),l(null)}},[a,l]),m.jsx(un,{asChild:!0,...u,children:m.jsx(fo,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":ko(n.open),...e,ref:Be(t,o.onTriggerChange),onClick:f=>{e.onClick?.(f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:j(e.onPointerMove,Xe(f=>{s.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!i.current&&(s.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:j(e.onPointerLeave,Xe(f=>{d();const p=n.content?.getBoundingClientRect();if(p){const g=n.content?.dataset.side,b=g==="right",h=b?-5:5,v=p[b?"left":"right"],x=p[b?"right":"left"];s.onPointerGraceIntentChange({area:[{x:f.clientX+h,y:f.clientY},{x:v,y:p.top},{x,y:p.top},{x,y:p.bottom},{x:v,y:p.bottom}],side:g}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(f),f.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:j(e.onKeyDown,f=>{const p=s.searchRef.current!=="";e.disabled||p&&f.key===" "||Qc[r.dir].includes(f.key)&&(n.onOpenChange(!0),n.content?.focus(),f.preventDefault())})})})});So.displayName=Ke;var Eo="MenuSubContent",Ro=c.forwardRef((e,t)=>{const n=ao(ee,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,s=_e(ee,e.__scopeMenu),i=tt(ee,e.__scopeMenu),a=Co(Eo,e.__scopeMenu),l=c.useRef(null),u=q(t,l);return m.jsx(Ye.Provider,{scope:e.__scopeMenu,children:m.jsx(Qe,{present:r||s.open,children:m.jsx(Ye.Slot,{scope:e.__scopeMenu,children:m.jsx(mn,{id:a.contentId,"aria-labelledby":a.triggerId,...o,ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{i.isUsingKeyboardRef.current&&l.current?.focus(),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:j(e.onFocusOutside,d=>{d.target!==a.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:j(e.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:j(e.onKeyDown,d=>{const f=d.currentTarget.contains(d.target),p=Jc[i.dir].includes(d.key);f&&p&&(s.onOpenChange(!1),a.trigger?.focus(),d.preventDefault())})})})})})});Ro.displayName=Eo;function ko(e){return e?"open":"closed"}function wt(e){return e==="indeterminate"}function gn(e){return wt(e)?"indeterminate":e?"checked":"unchecked"}function xl(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function wl(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function yl(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=wl(e,Math.max(s,0));o.length===1&&(i=i.filter(u=>u!==n));const l=i.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function Cl(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],l=t[i],u=a.x,d=a.y,f=l.x,p=l.y;d>r!=p>r&&n<(f-u)*(r-d)/(p-d)+u&&(o=!o)}return o}function Sl(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Cl(n,t)}function Xe(e){return t=>t.pointerType==="mouse"?e(t):void 0}var El=io,Rl=un,kl=co,Ml=lo,Al=pn,Pl=uo,Nl=At,Ol=mo,_l=ho,Il=vo,Tl=xo,Dl=wo,jl=yo,Ll=So,Fl=Ro,Pt="DropdownMenu",[$l]=qe(Pt,[oo]),X=oo(),[zl,Mo]=$l(Pt),Ao=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:s,onOpenChange:i,modal:a=!0}=e,l=X(t),u=c.useRef(null),[d,f]=dr({prop:o,defaultProp:s??!1,onChange:i,caller:Pt});return m.jsx(zl,{scope:t,triggerId:Ut(),triggerRef:u,contentId:Ut(),open:d,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(p=>!p),[f]),modal:a,children:m.jsx(El,{...l,open:d,onOpenChange:f,dir:r,modal:a,children:n})})};Ao.displayName=Pt;var Po="DropdownMenuTrigger",No=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,s=Mo(Po,n),i=X(n);return m.jsx(Rl,{asChild:!0,...i,children:m.jsx(Y.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:Be(t,s.triggerRef),onPointerDown:j(e.onPointerDown,a=>{!r&&a.button===0&&a.ctrlKey===!1&&(s.onOpenToggle(),s.open||a.preventDefault())}),onKeyDown:j(e.onKeyDown,a=>{r||(["Enter"," "].includes(a.key)&&s.onOpenToggle(),a.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})});No.displayName=Po;var Wl="DropdownMenuPortal",Oo=e=>{const{__scopeDropdownMenu:t,...n}=e,r=X(t);return m.jsx(kl,{...r,...n})};Oo.displayName=Wl;var _o="DropdownMenuContent",Io=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Mo(_o,n),s=X(n),i=c.useRef(!1);return m.jsx(Ml,{id:o.contentId,"aria-labelledby":o.triggerId,...s,...r,ref:t,onCloseAutoFocus:j(e.onCloseAutoFocus,a=>{i.current||o.triggerRef.current?.focus(),i.current=!1,a.preventDefault()}),onInteractOutside:j(e.onInteractOutside,a=>{const l=a.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0,d=l.button===2||u;(!o.modal||d)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Io.displayName=_o;var Bl="DropdownMenuGroup",Gl=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(Al,{...o,...r,ref:t})});Gl.displayName=Bl;var Vl="DropdownMenuLabel",To=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(Pl,{...o,...r,ref:t})});To.displayName=Vl;var Ul="DropdownMenuItem",Do=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(Nl,{...o,...r,ref:t})});Do.displayName=Ul;var Kl="DropdownMenuCheckboxItem",jo=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(Ol,{...o,...r,ref:t})});jo.displayName=Kl;var Hl="DropdownMenuRadioGroup",Yl=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(_l,{...o,...r,ref:t})});Yl.displayName=Hl;var Xl="DropdownMenuRadioItem",Lo=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(Il,{...o,...r,ref:t})});Lo.displayName=Xl;var ql="DropdownMenuItemIndicator",Fo=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(Tl,{...o,...r,ref:t})});Fo.displayName=ql;var Zl="DropdownMenuSeparator",$o=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(Dl,{...o,...r,ref:t})});$o.displayName=Zl;var Ql="DropdownMenuArrow",Jl=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(jl,{...o,...r,ref:t})});Jl.displayName=Ql;var eu="DropdownMenuSubTrigger",zo=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(Ll,{...o,...r,ref:t})});zo.displayName=eu;var tu="DropdownMenuSubContent",Wo=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=X(n);return m.jsx(Fl,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Wo.displayName=tu;var nu=Ao,ru=No,ou=Oo,Bo=Io,Go=To,Vo=Do,Uo=jo,Ko=Lo,Ho=Fo,Yo=$o,Xo=zo,qo=Wo;function Zo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Zo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function su(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Zo(e))&&(r&&(r+=" "),r+=t);return r}const iu=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},au=(e,t)=>({classGroupId:e,validator:t}),Qo=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),yt="-",Xn=[],cu="arbitrary..",lu=e=>{const t=du(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return uu(i);const a=i.split(yt),l=a[0]===""&&a.length>1?1:0;return Jo(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=r[i],u=n[i];return l?u?iu(u,l):l:u||Xn}return n[i]||Xn}}},Jo=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const u=Jo(e,t+1,s);if(u)return u}const i=n.validators;if(i===null)return;const a=t===0?e.join(yt):e.slice(t).join(yt),l=i.length;for(let u=0;u<l;u++){const d=i[u];if(d.validator(a))return d.classGroupId}},uu=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?cu+r:void 0})(),du=e=>{const{theme:t,classGroups:n}=e;return fu(n,t)},fu=(e,t)=>{const n=Qo();for(const r in e){const o=e[r];vn(o,n,r,t)}return n},vn=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];mu(i,t,n,r)}},mu=(e,t,n,r)=>{if(typeof e=="string"){pu(e,t,n);return}if(typeof e=="function"){hu(e,t,n,r);return}gu(e,t,n,r)},pu=(e,t,n)=>{const r=e===""?t:es(t,e);r.classGroupId=n},hu=(e,t,n,r)=>{if(vu(e)){vn(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(au(n,e))},gu=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];vn(l,es(t,a),n,r)}},es=(e,t)=>{let n=e;const r=t.split(yt),o=r.length;for(let s=0;s<o;s++){const i=r[s];let a=n.nextPart.get(i);a||(a=Qo(),n.nextPart.set(i,a)),n=a}return n},vu=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,bu=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(s,i)=>{n[s]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let i=n[s];if(i!==void 0)return i;if((i=r[s])!==void 0)return o(s,i),i},set(s,i){s in n?n[s]=i:o(s,i)}}},Qt="!",qn=":",xu=[],Zn=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),wu=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let i=0,a=0,l=0,u;const d=o.length;for(let h=0;h<d;h++){const v=o[h];if(i===0&&a===0){if(v===qn){s.push(o.slice(l,h)),l=h+1;continue}if(v==="/"){u=h;continue}}v==="["?i++:v==="]"?i--:v==="("?a++:v===")"&&a--}const f=s.length===0?o:o.slice(l);let p=f,g=!1;f.endsWith(Qt)?(p=f.slice(0,-1),g=!0):f.startsWith(Qt)&&(p=f.slice(1),g=!0);const b=u&&u>l?u-l:void 0;return Zn(s,g,p,b)};if(t){const o=t+qn,s=r;r=i=>i.startsWith(o)?s(i.slice(o.length)):Zn(xu,!1,i,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},yu=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let s=0;s<n.length;s++){const i=n[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(i)):o.push(i)}return o.length>0&&(o.sort(),r.push(...o)),r}},Cu=e=>({cache:bu(e.cacheSize),parseClassName:wu(e),sortModifiers:yu(e),...lu(e)}),Su=/\s+/,Eu=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Su);let l="";for(let u=a.length-1;u>=0;u-=1){const d=a[u],{isExternal:f,modifiers:p,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:h}=n(d);if(f){l=d+(l.length>0?" "+l:l);continue}let v=!!h,x=r(v?b.substring(0,h):b);if(!x){if(!v){l=d+(l.length>0?" "+l:l);continue}if(x=r(b),!x){l=d+(l.length>0?" "+l:l);continue}v=!1}const S=p.length===0?"":p.length===1?p[0]:s(p).join(":"),y=g?S+Qt:S,w=y+x;if(i.indexOf(w)>-1)continue;i.push(w);const R=o(x,v);for(let P=0;P<R.length;++P){const E=R[P];i.push(y+E)}l=d+(l.length>0?" "+l:l)}return l},Ru=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=ts(n))&&(o&&(o+=" "),o+=r);return o},ts=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=ts(e[r]))&&(n&&(n+=" "),n+=t);return n},ku=(e,...t)=>{let n,r,o,s;const i=l=>{const u=t.reduce((d,f)=>f(d),e());return n=Cu(u),r=n.cache.get,o=n.cache.set,s=a,a(l)},a=l=>{const u=r(l);if(u)return u;const d=Eu(l,n);return o(l,d),d};return s=i,(...l)=>s(Ru(...l))},Mu=[],H=e=>{const t=n=>n[e]||Mu;return t.isThemeGetter=!0,t},ns=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,rs=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Au=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Pu=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Nu=/\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$/,Ou=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,_u=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Iu=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ve=e=>Au.test(e),T=e=>!!e&&!Number.isNaN(Number(e)),be=e=>!!e&&Number.isInteger(Number(e)),Bt=e=>e.endsWith("%")&&T(e.slice(0,-1)),le=e=>Pu.test(e),os=()=>!0,Tu=e=>Nu.test(e)&&!Ou.test(e),bn=()=>!1,Du=e=>_u.test(e),ju=e=>Iu.test(e),Lu=e=>!M(e)&&!A(e),Fu=e=>Ee(e,as,bn),M=e=>ns.test(e),Ae=e=>Ee(e,cs,Tu),Qn=e=>Ee(e,Ku,T),$u=e=>Ee(e,us,os),zu=e=>Ee(e,ls,bn),Jn=e=>Ee(e,ss,bn),Wu=e=>Ee(e,is,ju),ut=e=>Ee(e,ds,Du),A=e=>rs.test(e),Ue=e=>Ie(e,cs),Bu=e=>Ie(e,ls),er=e=>Ie(e,ss),Gu=e=>Ie(e,as),Vu=e=>Ie(e,is),dt=e=>Ie(e,ds,!0),Uu=e=>Ie(e,us,!0),Ee=(e,t,n)=>{const r=ns.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ie=(e,t,n=!1)=>{const r=rs.exec(e);return r?r[1]?t(r[1]):n:!1},ss=e=>e==="position"||e==="percentage",is=e=>e==="image"||e==="url",as=e=>e==="length"||e==="size"||e==="bg-size",cs=e=>e==="length",Ku=e=>e==="number",ls=e=>e==="family-name",us=e=>e==="number"||e==="weight",ds=e=>e==="shadow",Hu=()=>{const e=H("color"),t=H("font"),n=H("text"),r=H("font-weight"),o=H("tracking"),s=H("leading"),i=H("breakpoint"),a=
vendor: 4,027 bytes, line 41
41H("container"),l=H("spacing"),u=H("radius"),d=H("shadow"),f=H("inset-shadow"),p=H("text-shadow"),g=H("drop-shadow"),b=H("blur"),h=H("perspective"),v=H("aspect"),x=H("ease"),S=H("animate"),y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[...w(),A,M],P=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],C=()=>[A,M,l],_=()=>[ve,"full","auto",...C()],D=()=>[be,"none","subgrid",A,M],F=()=>["auto",{span:["full",be,A,M]},be,A,M],$=()=>[be,"auto",A,M],W=()=>["auto","min","max","fr",A,M],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],B=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...C()],z=()=>[ve,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],O=()=>[ve,"screen","full","dvw","lvw","svw","min","max","fit",...C()],N=()=>[ve,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],k=()=>[e,A,M],Z=()=>[...w(),er,Jn,{position:[A,M]}],re=()=>["no-repeat",{repeat:["","x","y","space","round"]}],pe=()=>["auto","cover","contain",Gu,Fu,{size:[A,M]}],ce=()=>[Bt,Ue,Ae],U=()=>["","none","full",u,A,M],V=()=>["",T,Ue,Ae],G=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>[T,Bt,er,Jn],nt=()=>["","none",b,A,M],Te=()=>["none",T,A,M],De=()=>["none",T,A,M],ge=()=>[T,A,M],rt=()=>[ve,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[le],breakpoint:[le],color:[os],container:[le],"drop-shadow":[le],ease:["in","out","in-out"],font:[Lu],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[le],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[le],shadow:[le],spacing:["px",T],text:[le],"text-shadow":[le],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ve,M,A,v]}],container:["container"],columns:[{columns:[T,M,A,a]}],"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:R()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{"inset-s":_(),start:_()}],end:[{"inset-e":_(),end:_()}],"inset-bs":[{"inset-bs":_()}],"inset-be":[{"inset-be":_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[be,"auto",A,M]}],basis:[{basis:[ve,"full","auto",a,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[T,ve,"auto","initial","none",M]}
vendor: 4,364 bytes, line 41
41],grow:[{grow:["",T,A,M]}],shrink:[{shrink:["",T,A,M]}],order:[{order:[be,"first","last","none",A,M]}],"grid-cols":[{"grid-cols":D()}],"col-start-end":[{col:F()}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":D()}],"row-start-end":[{row:F()}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":W()}],"auto-rows":[{"auto-rows":W()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...B(),"normal"]}],"justify-self":[{"justify-self":["auto",...B()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...B(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...B(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...B(),"baseline"]}],"place-self":[{"place-self":["auto",...B()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mbs:[{mbs:I()}],mbe:[{mbe:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],"inline-size":[{inline:["auto",...O()]}],"min-inline-size":[{"min-inline":["auto",...O()]}],"max-inline-size":[{"max-inline":["none",...O()]}],"block-size":[{block:["auto",...N()]}],"min-block-size":[{"min-block":["auto",...N()]}],"max-block-size":[{"max-block":["none",...N()]}],w:[{w:[a,"screen",...z()]}],"min-w":[{"min-w":[a,"screen","none",...z()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",n,Ue,Ae]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Uu,$u]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Bt,M]}],"font-family":[{font:[Bu,zu,t]}],"font-features":[{"font-features":[M]}],"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:[o,A,M]}],"line-clamp":[{"line-clamp":[T,"none",A,Qn]}],leading:[{leading:[s,...C()]}],"list-image":[{"list-image":["none",A,M]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",A,M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:[T,"from-font","auto",A,Ae]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[T,"auto",A,M]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",A,M]}],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",A,M]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Z()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:pe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},be,A,M],radial:["",A,M],conic:[be,A,M]},Vu,Wu]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:ce()}
vendor: 9,265 bytes, line 41
41],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-bs":[{"border-bs":V()}],"border-w-be":[{"border-be":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...G(),"hidden","none"]}],"divide-style":[{divide:[...G(),"hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-bs":[{"border-bs":k()}],"border-color-be":[{"border-be":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...G(),"none","hidden"]}],"outline-offset":[{"outline-offset":[T,A,M]}],"outline-w":[{outline:["",T,Ue,Ae]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",d,dt,ut]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",f,dt,ut]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[T,Ae]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",p,dt,ut]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[T,A,M]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"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":[T]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[A,M]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"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":w()}],"mask-image-conic-pos":[{"mask-conic":[T]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Z()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:pe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",A,M]}],filter:[{filter:["","none",A,M]}],blur:[{blur:nt()}],brightness:[{brightness:[T,A,M]}],contrast:[{contrast:[T,A,M]}],"drop-shadow":[{"drop-shadow":["","none",g,dt,ut]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",T,A,M]}],"hue-rotate":[{"hue-rotate":[T,A,M]}],invert:[{invert:["",T,A,M]}],saturate:[{saturate:[T,A,M]}],sepia:[{sepia:["",T,A,M]}],"backdrop-filter":[{"backdrop-filter":["","none",A,M]}],"backdrop-blur":[{"backdrop-blur":nt()}],"backdrop-brightness":[{"backdrop-brightness":[T,A,M]}],"backdrop-contrast":[{"backdrop-contrast":[T,A,M]}],"backdrop-grayscale":[{"backdrop-grayscale":["",T,A,M]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[T,A,M]}],"backdrop-invert":[{"backdrop-invert":["",T,A,M]}],"backdrop-opacity":[{"backdrop-opacity":[T,A,M]}],"backdrop-saturate":[{"backdrop-saturate":[T,A,M]}],"backdrop-sepia":[{"backdrop-sepia":["",T,A,M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",A,M]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[T,"initial",A,M]}],ease:[{ease:["linear","initial",x,A,M]}],delay:[{delay:[T,A,M]}],animate:[{animate:["none",S,A,M]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,A,M]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:Te()}],"rotate-x":[{"rotate-x":Te()}],"rotate-y":[{"rotate-y":Te()}],"rotate-z":[{"rotate-z":Te()}],scale:[{scale:De()}],"scale-x":[{"scale-x":De()}],"scale-y":[{"scale-y":De()}],"scale-z":[{"scale-z":De()}],"scale-3d":["scale-3d"],skew:[{skew:ge()}],"skew-x":[{"skew-x":ge()}],"skew-y":[{"skew-y":ge()}],transform:[{transform:[A,M,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:rt()}],"translate-x":[{"translate-x":rt()}],"translate-y":[{"translate-y":rt()}],"translate-z":[{"translate-z":rt()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}],"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",A,M]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"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",A,M]}],fill:[{fill:["none",...k()]}],"stroke-w":[{stroke:[T,Ue,Ae,Qn]}],stroke:[{stroke:["none",...k()]}
41],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Yu=ku(Hu);function Re(...e){return Yu(su(e))}const fs=nu,ms=ru,Xu=c.forwardRef(({className:e,inset:t,children:n,...r},o)=>m.jsxs(Xo,{ref:o,className:Re("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[n,m.jsx(Ps,{className:"ml-auto"})]}));Xu.displayName=Xo.displayName;const qu=c.forwardRef(({className:e,...t},n)=>m.jsx(qo,{ref:n,className:Re("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-dropdown-menu-content-transform-origin)",e),...t}));qu.displayName=qo.displayName;const xn=c.forwardRef(({className:e,sideOffset:t=4,...n},r)=>m.jsx(ou,{children:m.jsx(Bo,{ref:r,sideOffset:t,className:Re("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
41de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-dropdown-menu-content-transform-origin)",e),...n})}));xn.displayName=Bo.displayName;const wn=c.forwardRef(({className:e,inset:t,...n},r)=>m.jsx(Vo,{ref:r,className:Re("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...n}));wn.displayName=Vo.displayName;const Zu=c.forwardRef(({className:e,children:t,checked:n,...r},o)=>m.jsxs(Uo,{ref:o,className:Re("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[m.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:m.jsx(Ho,{children:m.jsx(Jt,{className:"h-4 w-4"})})}),t]}));Zu.displayName=Uo.displayName;const Qu=c.forwardRef(({className:e,children:t,...n},r)=>m.jsxs(Ko,{ref:r,className:Re("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[m.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:m.jsx(Ho,{children:m.jsx(Os,{className:"h-2 w-2 fill-current"})})}),t]}));Qu.displayName=Ko.displayName;const Ju=c.forwardRef(({className:e,inset:t,...n},r)=>m.jsx(Go,{ref:r,className:Re("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));Ju.displayName=Go.displayName;const ed=c.forwardRef(({className:e,...t},n)=>m.jsx(Yo,{ref:n,className:Re("-mx-1 my-1 h-px bg-muted",e),...t}));ed.displayName=Yo.displayName;const td={fontFamily:'"Twemoji Country Flags", system-ui, sans-serif'};function tr({lang:e}){const t="flag"in e&&!!e.flag;return m.jsx("span",{"aria-hidden":!0,"data-lang-mark":t?"flag":"globe",dir:"ltr",className:"inline-flex h-4 w-[1.15rem] shrink-0 items-center justify-center text-base leading-none [transform:none]",style:t?td:void 0,children:t?e.flag:m.jsx(Ds,{className:"h-4 w-4",strokeWidth:2})})}function nr(){const{lang:e,setLang:t}=lr(),n=Nt.find(r=>r.code===e)??Nt[0];return m.jsxs(fs,{children:[m.jsxs(ms,{"aria-label":"Select language",translate:"no","data-no-translate":!0,className:"inline-flex items-center gap-1.5 rounded-full border border-white/30 px-3 py-1.5 text-xs font-medium uppercase tracking-widest text-white/85 transition hover:border-[--yellow] hover:text-[--yellow]",children:[m.jsx(tr,{lang:n}),m.jsx("span",{className:"hidden sm:inline",children:n.label})]}),m.jsx(xn,{align:"end",className:"w-52 max-w-[calc(100vw-1.5rem)]",translate:"no","data-no-translate":!0,children:Nt.map(r=>m.jsxs(wn,{"data-lang-option":r.code,onClick:()=>t(r.code),className:"flex cursor-pointer items-center justify-between text-sm",children:[m.jsxs("span",{className:"flex items-center gap-2",children:[m.jsx(tr,{lang:r}),m.jsx("span",{dir:r.dir,children:r.label})]}),r.code===e&&m.jsx(Jt,{className:"h-3.5 w-3.5 text-corona"})]},r.code))})]})}const nd=["EUR","GBP","USD"];function rr(){const{code:e,setCode:t}=vs(),n=yn[e];return m.jsxs(fs,{children:[m.jsxs(ms,{"aria-label":"Select currency",className:"inline-flex items-center gap-1.5 rounded-full border border-white/30 px-3 py-1.5 text-xs font-medium uppercase tracking-widest text-white/85 transition hover:border-[--yellow] hover:text-[--yellow]",children:[m.jsx(Is,{className:"h-3.5 w-3.5",strokeWidth:1.75}),n.symbol," ",e]}),m.jsx(xn,{align:"end",className:"w-40",children:nd.map(r=>{const o=yn[r];return m.jsxs(wn,{onClick:()=>t(r),className:"flex cursor-pointer items-center justify-between text-sm",children:[m.jsxs("span",{children:[o.symbol," ",r]}),r===e&&m.jsx(Jt,{className:"h-3.5 w-3.5 text-corona"})]},r)})})]})}const rd="/assets/exclipse-logo-header-D98FKX0Q.webp",or=[{to:"/wholesale",ke
41y:"nav.wholesale"},{to:"/shop",key:"nav.shop"},{to:"/certifications",key:"nav.certifications"},{to:"/contact",key:"nav.contact"}],sr=[{to:"/safety",key:"nav.safety"},{to:"/eclipse-guide",key:"nav.eclipse"},{to:"/blog",label:"Guides & Articles"}];function ld(){const[e,t]=c.useState(!1),[n,r]=c.useState(!1),{count:o}=bs(),{t:s}=lr();return m.jsx(m.Fragment,{children:m.jsxs("header",{className:"sticky top-0 z-50 border-b border-white/10 bg-[#0d0d2b]/95 backdrop-blur-xl",children:[m.jsxs("div",{className:"mx-auto flex min-h-24 w-full max-w-7xl items-center justify-between gap-4 pl-3 pr-4 xl:gap-6 xl:pl-4 xl:pr-8",children:[m.jsx(Pe,{to:"/",className:"flex shrink-0 items-center text-white","aria-label":"Exclipse home",children:m.jsx("img",{src:rd,alt:"Exclipse solar optics logo",className:"h-[72px] w-auto md:h-[88px]",width:216,height:144,loading:"eager",fetchPriority:"high",decoding:"async"})}),m.jsxs("nav",{className:"hidden min-w-0 shrink items-center gap-5 xl:flex 2xl:gap-7",children:[or.map(i=>m.jsx(Pe,{to:i.to,className:"shrink-0 whitespace-nowrap text-sm font-medium text-white/90 transition-colors hover:text-white",activeProps:{className:"text-white"},children:s(i.key)},i.to)),m.jsxs("div",{className:"relative shrink-0",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[m.jsxs("button",{type:"button",onClick:()=>r(i=>!i),className:"inline-flex items-center gap-1 whitespace-nowrap text-sm font-medium text-white/90 transition-colors hover:text-white",children:[s("nav.guides")," ",m.jsx(Ms,{className:"h-3.5 w-3.5",strokeWidth:2.25})]}),n&&m.jsx("div",{className:"absolute left-0 top-full z-50 min-w-[220px] rounded-xl border border-border bg-background py-2 shadow-lg",children:sr.map(i=>m.jsx(Pe,{to:i.to,onClick:()=>r(!1),className:"block px-4 py-2 text-sm text-[#0D0D2B] hover:bg-surface hover:text-[#0D0D2B]",children:i.key?s(i.key):i.label},i.to))})]})]}),m.jsxs("div",{className:"hidden shrink-0 items-center gap-3 xl:flex",children:[m.jsx(nr,{}),m.jsx(rr,{}),m.jsx(ir,{count:o})]}),m.jsxs("div",{className:"flex shrink-0 items-center gap-2 xl:hidden",children:[m.jsx(rr,{}),m.jsx(nr,{}),m.jsx(ir,{count:o}),m.jsx("button",{"aria-label":"Toggle menu",onClick:()=>t(i=>!i),className:"rounded-full border border-white/30 p-2 text-white",children:e?m.jsx(Gs,{className:"h-4 w-4"}):m.jsx(Ls,{className:"h-4 w-4"})})]})]}),e&&m.jsx("div",{className:"border-t border-white/10 bg-[#0d0d2b] xl:hidden",children:m.jsx("div",{className:"container-page flex flex-col gap-1 py-4",children:[...or,...sr].map(i=>m.jsx(Pe,{to:i.to,onClick:()=>t(!1),className:"rounded-md px-2 py-2 text-sm font-medium text-white/80 hover:bg-white/10 hover:text-white",children:"key"in i&&i.key?s(i.key):i.label},i.to))})})]})})}function ir({count:e}){return m.jsxs(Pe,{to:"/cart","aria-label":`Cart (${e} item${e===1?"":"s"})`,className:"relative inline-flex h-9 w-9 items-center justify-center rounded-full border border-white/30 text-white transition hover:border-[--yellow] hover:text-[--yellow]",children:[m.jsx($s,{className:"h-4 w-4",strokeWidth:1.75}),e>0&&m.jsx("span",{className:"absolute -right-1 -top-1 flex h-4 min-w-[1rem] items-center justify-center rounded-full bg-[--yellow] px-1 font-mono text-[10px] font-bold leading-none text-[--navy]",children:e})]})}const od="/assets/exclipse-logo-footer-DoXMSvN8.webp";function sd(){window.scrollTo({top:0,left:0,behavior:"instant"})}function ud(){return m.jsxs("footer",{className:"border-t border-border/60 bg-surface/40",children:[m.jsxs("div",{className:"container-page grid gap-12 py-16 md:grid-cols-4",children:[m.jsxs("div",{children:[m.jsxs("div",{className:"flex items-center gap-2",children:[m.jsx(Ws,{className:"h-5 w-5 text-corona",strokeWidth:1.5}),m.jsx("span",{className:"font-display text-lg",children:"exclipse"})]}),m.jsx("p",{className:"mt-3 max-w-xs text-sm text-muted-foreground",children:"Certified solar eclipse viewing products for total, annular and partial solar eclipses â wholesale, retail, education, tourism, events and public distribution."}),m.jsx("p",{className:"mt-4 text-sm text-muted-foreground",children:m.jsx("a",{href:"mailto:[email protected]",className:"hover:text-corona",children:"[email protected]"})})]}),m.jsx(Gt,{title:"B2B",links:[{to:"/wholesale",label:"Wholesale"},{to:"/certifications",label:"Certifications"}]}),m.jsx(Gt,{title:"Shop",links:[{to:"/shop",label:"Retail shop"},{to:"/safety",label:"Exclipse Safety Guide"},{to:"/eclipse-guide",label:"Exclipse Guide"},{to:"/blog",label:"Guides & Articles"}]}),m.jsx(Gt,{title:"Company",links:[{to:"/about",label:"About"},{to:"/contact",label:"Contact"},{to:"/legal/privacy",label:"Privacy"},{to:"/legal/terms",label:"Terms"}]})]}),m.jsx("div",{className:"border-y border-border/60 bg-surface/50",children:m.jsxs("div",{className:"container-page flex min-h-14 flex-wrap items-center justify-center gap-3 py-3 md:gap-4",children:[m.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-[0.22em] text-muted-foreground",children:"PART OF SOLAR OPTICS GROUP"}),m.jsxs("div",{className:"flex items-center justify-center gap-2.5 md:gap-3",children:[m.jsxs("a",{href:"https://solaroptics.co",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-8 items-center rounded bg-navy px-2.5 font-display text-base font-bold leading-none text-background transition-opacity hover:opacity-80",children:["Solar",m.jsx("span",{className:"text-corona",children:"Optics"})]}),m.jsx(Pe,{to:"/",onClick:sd,"aria-label":"Exclipse home",className:"inline-flex h-8 cursor-pointer items-center rounded bg-navy px-2.5 transition-opacity hover:opacity-80",children:m.jsx("img",{src:od,alt:"Exclipse home",className:"h-6 w-auto",width:667,height:178,loading:"lazy"})})]})]})}),m.jsx("div",{className:"border-t border-border/60",children:m.jsxs("div",{className:"container-page flex flex-col items-start justify-between gap-3 py-6 text-xs text-muted-foreground md:flex-row md:items-center",children:[m.jsx("p",{children:"© 2026 Solar Optics Group Inc. All rights reserved."}),m.jsxs("div",{className:"flex flex-wrap items-center gap-4",children:[m.jsx("button",{type:"button",onClick:xs,className:"underline-offset-2 transition-colors hover:text-foreground hover:underline",children:"Cookie preferences"}),m.jsx("a",{href:"https://gdpr.euverify.com/verify/fffd04c3-96a3-44af-86cb-987f5602b1dd",target:"_blank",rel:"noopener noreferrer",className:"underline-offset-2 transition-colors hover:text-foreground hover:underline",children:"GDPR Requests"}),m.jsx("p",{className:"font-mono uppercase tracking-widest",children:"ISO 12312-2 documentation available"})]})]})})]})}function Gt({title:e,links:t}){return m.jsxs("div",{children:[m.jsx("h4",{className:"mb-4 text-xs font-medium uppercase tracking-widest text-corona",children:e}),m.jsx("ul",{className:"space-y-2 text-sm",children:t.map(n=>m.jsx("li",{children:m.jsx(Pe,{to:n.to,className:"text-muted-foreground transition-colors hover:text-foreground",children:n.label})},n.to+n.label))})]})}export{Jt as C,gr as D,ud as F,ld as H,Qe as P,no as R,$s as S,Gs as X,Be as a,Ut as b,ie as c,Br as d,Y as e,j as f,qe as g,q as h,pc as i,gi as j,br as k,ad as l,su as m,Re as n,ye as o,mr as p,pr as q,Ms as r,dr as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.