PageSourceSearch

https://spotfacts.com/_next/static/chunks/6e7d68a5dbd859fa.js

js spotfacts.com collected 2026-10-02 01:44:15 UTC 93,009 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2971,e=>{"use strict";let t,n;var r,o,i,a,l,s,c,u,d=e.i(3734),f=e.i(7159),p=e.i(94426),m=e.i(33317),h=e.i(59893),v=e.i(19455),g=e.i(97012);let y=(0,g.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),x=(0,g.default)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]),w=(0,g.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),b=(0,g.default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);var E=e.i(23520);let C=(0,g.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),R=(0,g.default)("sun",[["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"}]]);var A=e.i(21957);function k(){let e,t,n,r,o,i=(0,f.c)(8),{resolvedTheme:a,setTheme:l}=(0,A.useTheme)();return i[0]!==a||i[1]!==l?(e=()=>l("dark"===a?"light":"dark"),i[0]=a,i[1]=l,i[2]=e):e=i[2],i[3]===Symbol.for("react.memo_cache_sentinel")?(t=(0,d.jsx)(R,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),n=(0,d.jsx)(C,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),r=(0,d.jsx)("span",{className:"sr-only",children:"Toggle theme"}),i[3]=t,i[4]=n,i[5]=r):(t=i[3],n=i[4],r=i[5]),i[6]!==e?(o=(0,d.jsxs)(v.Button,{variant:"ghost",size:"icon",className:"w-9 h-9 rounded-full text-slate-300 hover:text-white hover:bg-slate-800 transition-colors",onClick:e,children:[t,n,r]}),i[6]=e,i[7]=o):o=i[7],o}let j={src:e.i(44462).default,width:292,height:104,blurWidth:8,blurHeight:3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAbklEQVR42gFjAJz/AGhnZl5fYV1aLjkuORsbGxkYGhgZEBsQHwgQCBMJEgkVAGBsXWpVb1N4V19XXH5+fnRrcGtqMlMyYSpRKmUqUCpjABwoHC41RzVQZWZlYBoaGhgMDAwLBQgFCQUKBQwFCgUMe0oUzXnxcNoAAAAASUVORK5CYII="},S={src:e.i(52368).default,width:292,height:104,blurWidth:8,blurHeight:3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAbklEQVR42gFjAJz/AAwXJlUPGyVQDRwXMgMHChYECQoXCxcNHQcPCBIIEQkUABgtK2AiQy9sECEmUg0cMWoPISxiIUQoWiZOKVwnTilaAA0cEisVLB9MChYmWgMGChYCAwUKAwcECAUKBQsFCgULZtsL0BLDlCEAAAAASUVORK5CYII="};var D=e.i(91967),M=e.i(22353),_=e.i(9413),P=e.i(36567),N=e.i(85565),T=e.i(60310);function L(e){let t=e+"CollectionProvider",[n,r]=(0,_.createContextScope)(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:n}=e,r=p.default.useRef(null),i=p.default.useRef(new Map).current;return(0,d.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})};a.displayName=t;let l=e+"CollectionSlot",s=(0,T.createSlot)(l),c=p.default.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=i(l,n),a=(0,M.useComposedRefs)(t,o.collectionRef);return(0,d.jsx)(s,{ref:a,children:r})});c.displayName=l;let u=e+"CollectionItemSlot",f="data-radix-collection-item",m=(0,T.createSlot)(u),h=p.default.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,a=p.default.useRef(null),l=(0,M.useComposedRefs)(t,a),s=i(u,n);return p.default.useEffect(()=>(s.itemMap.set(a,{ref:a,...o}),()=>void s.itemMap.delete(a))),(0,d.jsx)(m,{...{[f]:""},ref:l,children:r})});return h.displayName=u,[{Provider:a,Slot:c,ItemSlot:h},function(t){let n=i(e+"CollectionConsumer",t);return p.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var O=new WeakMap;function I(e,t){var n,r;let o,i,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(n=e,r=t,o=n.length,(a=(i=F(r))>=0?i:o+i)<0||a>=o?-1:a);return -1===l?void 0:e[l]}function F(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],O.set(this,!0)}set(e,t){return O.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,o=this.has(t),i=this.#e.length,a=F(e),l=a>=0?a:i+a,s=l<0||l>=i?-1:l;if(s===this.size||o&&s===this.size-1||-1===s)return this.set(t,n),this;let c=this.size+ +!o;a<0&&l++;let u=[...this.#e],d=!1;for(let e=l;e<c;e++)if(l===e){let i=u[e];u[e]===t&&(i=u[e+1]),o&&this.delete(t),r=this.get(i),this.set(t,n)}else{d||u[e-1]!==t||(d=!0);let n=u[d?e:e-1],o=r;r=this.get(n),this.delete(n),this.set(n,o)}return this}with(t,n,r){let o=new e(this);return o.insert(t,n,r),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=I(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=I(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return I(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
1}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],o=0;for(let e of this)Reflect.apply(t,n,[e,o,this])&&r.push(e),o++;return new e(r)}map(t,n){let r=[],o=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,o,this])]),o++;return new e(r)}reduce(...e){let[t,n]=e,r=0,o=n??this.at(0);for(let n of this)o=0===r&&1===e.length?n:Reflect.apply(t,this,[o,n,r,this]),r++;return o}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let o=this.at(n);r=n===this.size-1&&1===e.length?o:Reflect.apply(t,this,[r,o,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,o=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(o=n-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}});var H=p.createContext(void 0);function B(e){let t=p.useContext(H);return e||t||"ltr"}function W(e){let t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...e)=>t.current?.(...e),[])}var z="dismissableLayer.update",K=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),U=p.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:l,...s}=e,u=p.useContext(K),[f,m]=p.useState(null),h=f?.ownerDocument??globalThis?.document,[,v]=p.useState({}),g=(0,M.useComposedRefs)(t,e=>m(e)),y=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),w=y.indexOf(x),b=f?y.indexOf(f):-1,E=u.layersWithOutsidePointerEventsDisabled.size>0,C=b>=w,R=function(e,t=globalThis?.document){let n=W(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){Y("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...u.branches].some(e=>e.contains(t));C&&!n&&(o?.(e),a?.(e),e.defaultPrevented||l?.())},h),A=function(e,t=globalThis?.document){let n=W(e),r=p.useRef(!1);return p.useEffect(()=>{let e=e=>{e.target&&!r.current&&Y("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...u.branches].some(e=>e.contains(t))&&(i?.(e),a?.(e),e.defaultPrevented||l?.())},h);return!function(e,t=globalThis?.document){let n=W(e);p.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{b===u.layers.size-1&&(r?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},h),p.useEffect(()=>{if(f)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(c=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),V(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=c)}},[f,h,n,u]),p.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),V())},[f,u]),p.useEffect(()=>{let e=()=>v({});return document.addEventListener(z,e),()=>document.removeEventListener(z,e)},[]),(0,d.jsx)(N.Primitive.div,{...s,ref:g,style:{pointerEvents:E?C?"auto":"none":void 0,...e.style},onFocusCapture:(0,D.composeEventHandlers)(e.onFocusCapture,A.onFocusCapture),onBlurCapture:(0,D.composeEventHandlers)(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:(0,D.composeEventHandlers)(e.onPointerDownCapture,R.onPointerDownCapture)})});function V(){let e=new CustomEvent(z);document.dispatchEvent(e)}function Y(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,N.dispatchDiscreteCustomEvent)(o,i):o.dispatchEvent(i)}U.displayName="DismissableLayer",p.forwardRef((e,t)=>
1{let n=p.useContext(K),r=p.useRef(null),o=(0,M.useComposedRefs)(t,r);return p.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,d.jsx)(N.Primitive.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var $=0;function q(){p.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??G()),document.body.insertAdjacentElement("beforeend",e[1]??G()),$++,()=>{1===$&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),$--}},[])}function G(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var X="focusScope.autoFocusOnMount",Q="focusScope.autoFocusOnUnmount",Z={bubbles:!1,cancelable:!0},J=p.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=p.useState(null),c=W(o),u=W(i),f=p.useRef(null),m=(0,M.useComposedRefs)(t,e=>s(e)),h=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let e=function(e){if(h.paused||!l)return;let t=e.target;l.contains(t)?f.current=t:en(f.current,{select:!0})},t=function(e){if(h.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||en(f.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&en(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,h.paused]),p.useEffect(()=>{if(l){er.add(h);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(X,Z);l.addEventListener(X,c),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(en(r,{select:t}),document.activeElement!==n)return}(ee(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&en(l))}return()=>{l.removeEventListener(X,c),setTimeout(()=>{let t=new CustomEvent(Q,Z);l.addEventListener(Q,u),l.dispatchEvent(t),t.defaultPrevented||en(e??document.body,{select:!0}),l.removeEventListener(Q,u),er.remove(h)},0)}}},[l,c,u,h]);let v=p.useCallback(e=>{if(!n&&!r||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var i;let t,r=e.currentTarget,[a,l]=[et(t=ee(i=r),i),et(t.reverse(),i)];a&&l?e.shiftKey||o!==l?e.shiftKey&&o===a&&(e.preventDefault(),n&&en(l,{select:!0})):(e.preventDefault(),n&&en(a,{select:!0})):o===r&&e.preventDefault()}},[n,r,h.paused]);return(0,d.jsx)(N.Primitive.div,{tabIndex:-1,...a,ref:m,onKeyDown:v})});function ee(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function et(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function en(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}J.displayName="FocusScope";var er=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=eo(n,e)).unshift(e)},remove(e){n=eo(n,e),n[0]?.resume()}});function eo(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var ei=e.i(18731),ea=p[" useId ".trim().toString()]||(()=>void 0),el=0;function es(e){let[t,n]=p.useState(ea());return(0,ei.useLayoutEffect)(()=>{e||n(e=>e??String(el++))},[e]),e||(t?`radix-${t}`:"")}let ec=["top","right","bottom","left"],eu=Math.min,ed=Math.max,ef=Math.round,ep=Math.floor,em=e=>({x:e,y:e}
1),eh={left:"right",right:"left",bottom:"top",top:"bottom"};function ev(e,t){return"function"==typeof e?e(t):e}function eg(e){return e.split("-")[0]}function ey(e){return e.split("-")[1]}function ex(e){return"x"===e?"y":"x"}function ew(e){return"y"===e?"height":"width"}function eb(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function eE(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let eC=["left","right"],eR=["right","left"],eA=["top","bottom"],ek=["bottom","top"];function ej(e){let t=eg(e);return eh[t]+e.slice(t.length)}function eS(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function eD(e){let{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 eM(e,t,n){let r,{reference:o,floating:i}=e,a=eb(t),l=ex(eb(t)),s=ew(l),c=eg(t),u="y"===a,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;switch(c){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-i.width,y:f};break;default:r={x:o.x,y:o.y}}switch(ey(t)){case"start":r[l]-=p*(n&&u?-1:1);break;case"end":r[l]+=p*(n&&u?-1:1)}return r}async function e_(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=ev(t,e),m=eS(p),h=l[f?"floating"===d?"reference":"floating":d],v=eD(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),g="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),x=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=eD(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:y,strategy:s}):g);return{top:(v.top-w.top+m.top)/x.y,bottom:(w.bottom-v.bottom+m.bottom)/x.y,left:(v.left-w.left+m.left)/x.x,right:(w.right-v.right+m.right)/x.x}}let eP=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=a.detectOverflow?a:{...a,detectOverflow:e_},s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=eM(c,r,s),f=r,p=0,m={};for(let n=0;n<i.length;n++){let h=i[n];if(!h)continue;let{name:v,fn:g}=h,{x:y,y:x,data:w,reset:b}=await g({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:m,rects:c,platform:l,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=x?x:d,m[v]={...m[v],...w},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:u,y:d}=eM(c,f,s)),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:m}};function eN(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eT(e){return ec.some(t=>e[t]>=0)}let eL=new Set(["left","top"]);async function eO(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=eg(n),l=ey(n),s="y"===eb(n),c=eL.has(a)?-1:1,u=i&&s?-1:1,d=ev(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}function eI(){return"u">typeof window}function eF(e){return eW(e)?(e.nodeName||"").toLowerCase():"#document"}function eH(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eB(e){var t;return null==(t=(eW(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function eW(e){return!!eI()&&(e instanceof Node||e instanceof eH(e).Node)}function ez(e){return!!eI()&&(e instanceof Element||e instanceof eH(e).Element)}function eK(e){return!!eI()&&(e instanceof HTMLElement||e instanceof eH(e).HTMLElement)}function eU(e){return!(!eI()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof eH(e).ShadowRoot)}function eV(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=eJ(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function eY(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let e$=/transform|translate|scale|rotate|perspective|filter/,eq=/paint|layout|strict|content/,eG=e=>!!e&&"none"!==e;function eX(e){let t=ez(e)?eJ(e):e;return eG(t.transform)||eG(t.translate)||eG(t.scale)||eG(t.rotate)||eG(t.perspective)||!eQ()&&(eG(t.backdropFilter)||eG(t.filter))||e$.test(t.willChange||"")||eq.test(t.contain||"")}function eQ(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function eZ(e){return/^(html|body|#document)$/.test(eF(e))}function eJ(e){return eH(e).getComputedStyle(e)}function e0(e){return ez(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function e1(e){if("html"===eF(e))return e;let t=e.assignedSlot||e.parentNode||eU(e)&&e.host||eB(e);return eU(t)?t.host:t}function e2(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=e1(t);return eZ(n)?t.ownerDocument?t.ownerDocument.body:t.body:eK(n)&&eV(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=eH(o);if(!i)return t.concat(o,e2(o,[],n));{let e=e5(a);
1return t.concat(a,a.visualViewport||[],eV(o)?o:[],e&&n?e2(e):[])}}function e5(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function e4(e){let t=eJ(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=eK(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=ef(n)!==i||ef(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function e3(e){return ez(e)?e:e.contextElement}function e6(e){let t=e3(e);if(!eK(t))return em(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=e4(t),a=(i?ef(n.width):n.width)/r,l=(i?ef(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let e8=em(0);function e9(e){let t=eH(e);return eQ()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:e8}function e7(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=e3(e),l=em(1);t&&(r?ez(r)&&(l=e6(r)):l=e6(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===eH(a))&&o)?e9(a):em(0),c=(i.left+s.x)/l.x,u=(i.top+s.y)/l.y,d=i.width/l.x,f=i.height/l.y;if(a){let e=eH(a),t=r&&ez(r)?eH(r):r,n=e,o=e5(n);for(;o&&r&&t!==n;){let e=e6(o),t=o.getBoundingClientRect(),r=eJ(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,f*=e.y,c+=i,u+=a,o=e5(n=eH(o))}}return eD({width:d,height:f,x:c,y:u})}function te(e,t){let n=e0(e).scrollLeft;return t?t.left+n:e7(eB(e)).left+n}function tt(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-te(e,n),y:n.top+t.scrollTop}}function tn(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=eH(e),r=eB(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=eQ();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}let c=te(r);if(c<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else c<=25&&(i+=c);return{width:i,height:a,x:l,y:s}}(e,n);else if("document"===t){let t,n,i,a,l,s,c;r=eB(e),t=eB(r),n=e0(r),i=r.ownerDocument.body,a=ed(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=ed(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+te(r),c=-n.scrollTop,"rtl"===eJ(i).direction&&(s+=ed(t.clientWidth,i.clientWidth)-a),o={width:a,height:l,x:s,y:c}}else if(ez(t)){let e,r,i,a,l,s;r=(e=e7(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,a=eK(t)?e6(t):em(1),l=t.clientWidth*a.x,s=t.clientHeight*a.y,o={width:l,height:s,x:i*a.x,y:r*a.y}}else{let n=e9(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return eD(o)}function tr(e){return"static"===eJ(e).position}function to(e,t){if(!eK(e)||"fixed"===eJ(e).position)return null;if(t)return t(e);let n=e.offsetParent;return eB(e)===n&&(n=n.ownerDocument.body),n}function ti(e,t){var n;let r=eH(e);if(eY(e))return r;if(!eK(e)){let t=e1(e);for(;t&&!eZ(t);){if(ez(t)&&!tr(t))return t;t=e1(t)}return r}let o=to(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(eF(n)))&&tr(o);)o=to(o,t);return o&&eZ(o)&&tr(o)&&!eX(o)?r:o||function(e){let t=e1(e);for(;eK(t)&&!eZ(t);){if(eX(t))return t;if(eY(t))break;t=e1(t)}return null}(e)||r}let ta=async function(e){let t=this.getOffsetParent||ti,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=eK(t),o=eB(t),i="fixed"===n,a=e7(e,!0,i,t),l={scrollLeft:0,scrollTop:0},s=em(0);if(r||!r&&!i)if(("body"!==eF(t)||eV(o))&&(l=e0(t)),r){let e=e7(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=te(o));i&&!r&&o&&(s.x=te(o));let c=!o||r||i?em(0):tt(o,l);return{x:a.left+l.scrollLeft-s.x-c.x,y:a.top+l.scrollTop-s.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tl={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=eB(r),l=!!t&&eY(t.floating);if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},c=em(1),u=em(0),d=eK(r);if((d||!d&&!i)&&(("body"!==eF(r)||eV(a))&&(s=e0(r)),d)){let e=e7(r);c=e6(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=!a||d||i?em(0):tt(a,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:eB,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?eY(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=e2(e,[],!1).filter(e=>ez(e)&&"body"!==eF(e)),o=null,i="fixed"===eJ(e).position,a=i?e1(e):e;for(;ez(a)&&!eZ(a);){let t=eJ(a),n=eX(a);n||"fixed"!==t.position||(o=null),(i?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||eV(a)&&!n&&function e(t,n){let r=e1(t);return!(r===n||!ez(r)||eZ(r))&&("fixed"===eJ(r).position||e(r,n))}
1(e,a)))?o=t:r=r.filter(e=>e!==a),a=e1(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=tn(t,i[0],o),l=a.top,s=a.right,c=a.bottom,u=a.left;for(let e=1;e<i.length;e++){let n=tn(t,i[e],o);l=ed(n.top,l),s=eu(n.right,s),c=eu(n.bottom,c),u=ed(n.left,u)}return{width:s-u,height:c-l,x:u,y:l}},getOffsetParent:ti,getElementRects:ta,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=e4(e);return{width:t,height:n}},getScale:e6,isElement:ez,isRTL:function(e){return"rtl"===eJ(e).direction}};function ts(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let tc=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=ev(e,t)||{};if(null==c)return{};let d=eS(u),f={x:n,y:r},p=ex(eb(o)),m=ew(p),h=await a.getDimensions(c),v="y"===p,g=v?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[p]-f[p]-i.floating[m],x=f[p]-i.reference[p],w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),b=w?w[g]:0;b&&await (null==a.isElement?void 0:a.isElement(w))||(b=l.floating[g]||i.floating[m]);let E=b/2-h[m]/2-1,C=eu(d[v?"top":"left"],E),R=eu(d[v?"bottom":"right"],E),A=b-h[m]-R,k=b/2-h[m]/2+(y/2-x/2),j=ed(C,eu(k,A)),S=!s.arrow&&null!=ey(o)&&k!==j&&i.reference[m]/2-(k<C?C:R)-h[m]/2<0,D=S?k<C?k-C:k-A:0;return{[p]:f[p]+D,data:{[p]:j,centerOffset:k-j-D,...S&&{alignmentOffset:D}},reset:S}}});var tu=e.i(1041),td="u">typeof document?p.useLayoutEffect:function(){};function tf(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!tf(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!tf(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function tp(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tm(e,t){let n=tp(e);return Math.round(t*n)/n}function th(e){let t=p.useRef(e);return td(()=>{t.current=e}),t}var tv=p.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,d.jsx)(N.Primitive.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,d.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tv.displayName="Arrow";var tg=e.i(70391),ty="Popper",[tx,tw]=(0,_.createContextScope)(ty),[tb,tE]=tx(ty),tC=e=>{let{__scopePopper:t,children:n}=e,[r,o]=p.useState(null);return(0,d.jsx)(tb,{scope:t,anchor:r,onAnchorChange:o,children:n})};tC.displayName=ty;var tR="PopperAnchor",tA=p.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=tE(tR,n),a=p.useRef(null),l=(0,M.useComposedRefs)(t,a),s=p.useRef(null);return p.useEffect(()=>{let e=s.current;s.current=r?.current||a.current,e!==s.current&&i.onAnchorChange(s.current)}),r?null:(0,d.jsx)(N.Primitive.div,{...o,ref:l})});tA.displayName=tR;var tk="PopperContent",[tj,tS]=tx(tk),tD=p.forwardRef((e,t)=>{var n,r,o,i,a,l,s,c,u,f,m,h,v;let g,y,x,w,b,E,{__scopePopper:C,side:R="bottom",sideOffset:A=0,align:k="center",alignOffset:j=0,arrowPadding:S=0,avoidCollisions:D=!0,collisionBoundary:_=[],collisionPadding:P=0,sticky:T="partial",hideWhenDetached:L=!1,updatePositionStrategy:O="optimized",onPlaced:I,...F}=e,H=tE(tk,C),[B,z]=p.useState(null),K=(0,M.useComposedRefs)(t,e=>z(e)),[U,V]=p.useState(null),Y=(0,tg.useSize)(U),$=Y?.width??0,q=Y?.height??0,G="number"==typeof P?P:{top:0,right:0,bottom:0,left:0,...P},X=Array.isArray(_)?_:[_],Q=X.length>0,Z={padding:G,boundary:X.filter(tN),altBoundary:Q},{refs:J,floatingStyles:ee,placement:et,isPositioned:en,middlewareData:er}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[u,d]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,m]=p.useState(r);tf(f,r)||m(r);let[h,v]=p.useState(null),[g,y]=p.useState(null),x=p.useCallback(e=>
1{e!==C.current&&(C.current=e,v(e))},[]),w=p.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),b=i||h,E=a||g,C=p.useRef(null),R=p.useRef(null),A=p.useRef(u),k=null!=s,j=th(s),S=th(o),D=th(c),M=p.useCallback(()=>{var e,r;let o,i,a;if(!C.current||!R.current)return;let l={placement:t,strategy:n,middleware:f};S.current&&(l.platform=S.current),(e=C.current,r=R.current,o=new Map,a={...(i={platform:tl,...l}).platform,_c:o},eP(e,r,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==D.current};_.current&&!tf(A.current,t)&&(A.current=t,tu.flushSync(()=>{d(t)}))})},[f,t,n,S,D]);td(()=>{!1===c&&A.current.isPositioned&&(A.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let _=p.useRef(!1);td(()=>(_.current=!0,()=>{_.current=!1}),[]),td(()=>{if(b&&(C.current=b),E&&(R.current=E),b&&E){if(j.current)return j.current(b,E,M);M()}},[b,E,M,j,k]);let P=p.useMemo(()=>({reference:C,floating:R,setReference:x,setFloating:w}),[x,w]),N=p.useMemo(()=>({reference:b,floating:E}),[b,E]),T=p.useMemo(()=>{let e={position:n,left:0,top:0};if(!N.floating)return e;let t=tm(N.floating,u.x),r=tm(N.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...tp(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,N.floating,u.x,u.y]);return p.useMemo(()=>({...u,update:M,refs:P,elements:N,floatingStyles:T}),[u,M,P,N,T])}({strategy:"fixed",placement:R+("center"!==k?"-"+k:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,u=e3(e),d=i||a?[...u?e2(u):[],...t?e2(t):[]]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=u&&s?function(e,t){let n,r=null,o=eB(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();let c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(l||t(),!f||!p)return;let m={rootMargin:-ep(d)+"px "+-ep(o.clientWidth-(u+f))+"px "+-ep(o.clientHeight-(d+p))+"px "+-ep(u)+"px",threshold:ed(0,eu(1,s))||1},h=!0;function v(t){let r=t[0].intersectionRatio;if(r!==s){if(!h)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||ts(c,e.getBoundingClientRect())||a(),h=!1}try{r=new IntersectionObserver(v,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,m)}r.observe(e)}(!0),i}(u,n):null,p=-1,m=null;l&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),u&&!c&&m.observe(u),t&&m.observe(t));let h=c?e7(e):null;return c&&function t(){let r=e7(e);h&&!ts(h,r)&&n(),h=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===O}),elements:{reference:H.anchor},middleware:[{name:(g={name:"offset",options:r=n={mainAxis:A+q,alignmentAxis:j},async fn(e){var t,n;let{x:o,y:i,placement:a,middlewareData:l}=e,s=await eO(e,r);return a===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}).name,fn:g.fn,options:[n,void 0]},D&&{name:(y={name:"shift",options:a=i={mainAxis:!0,crossAxis:!1,limiter:"partial"===T?{fn:(o=void 0,{options:o={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:a}=e,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=ev(o,e),u={x:t,y:n},d=eb(r),f=ex(d),p=u[f],m=u[d],h=ev(l,e),v="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(s){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+v.mainAxis,n=i.reference[f]+i.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var g,y;let e="y"===f?"width":"height",t=eL.has(eg(r)),n=i.reference[d]-i.floating[e]+(t&&(null==(g=a.offset)?void 0:g[d])||0)+(t?0:v.crossAxis),o=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?v.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[f]:p,[d]:m}}}).fn,options:[void 0,void 0]}:void 0,...Z},async fn(e){let{x:t,y:n,placement:r,platform:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=ev(a,e),u={x:t,y:n},d=await o.detectOverflow(e,c),f=eb(eg(r)),p=ex(f),m=u[p],h=u[f];
1if(i){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=m+d[e],r=m-d[t];m=ed(n,eu(m,r))}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+d[e],r=h-d[t];h=ed(n,eu(h,r))}let v=s.fn({...e,[p]:m,[f]:h});return{...v,data:{x:v.x-t,y:v.y-n,enabled:{[p]:i,[f]:l}}}}}).name,fn:y.fn,options:[i,void 0]},D&&{name:(x={name:"flip",options:s=l={...Z},async fn(e){var t,n,r,o,i,a,l,c;let u,d,f,{placement:p,middlewareData:m,rects:h,initialPlacement:v,platform:g,elements:y}=e,{mainAxis:x=!0,crossAxis:w=!0,fallbackPlacements:b,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:R=!0,...A}=ev(s,e);if(null!=(t=m.arrow)&&t.alignmentOffset)return{};let k=eg(p),j=eb(v),S=eg(v)===v,D=await (null==g.isRTL?void 0:g.isRTL(y.floating)),M=b||(S||!R?[ej(v)]:(u=ej(v),[eE(v),u,eE(u)])),_="none"!==C;!b&&_&&M.push(...(d=ey(v),f=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?eR:eC;return t?eC:eR;case"left":case"right":return t?eA:ek;default:return[]}}(eg(v),"start"===C,D),d&&(f=f.map(e=>e+"-"+d),R&&(f=f.concat(f.map(eE)))),f));let P=[v,...M],N=await g.detectOverflow(e,A),T=[],L=(null==(n=m.flip)?void 0:n.overflows)||[];if(x&&T.push(N[k]),w){let e,t,n,r,o=(a=p,l=h,void 0===(c=D)&&(c=!1),e=ey(a),n=ew(t=ex(eb(a))),r="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=ej(r)),[r,ej(r)]);T.push(N[o[0]],N[o[1]])}if(L=[...L,{placement:p,overflows:T}],!T.every(e=>e<=0)){let e=((null==(r=m.flip)?void 0:r.index)||0)+1,t=P[e];if(t&&("alignment"!==w||j===eb(t)||L.every(e=>eb(e.placement)!==j||e.overflows[0]>0)))return{data:{index:e,overflows:L},reset:{placement:t}};let n=null==(o=L.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let e=null==(i=L.filter(e=>{if(_){let t=eb(e.placement);return t===j||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=v}if(p!==n)return{reset:{placement:n}}}return{}}}).name,fn:x.fn,options:[l,void 0]},{name:(w={name:"size",options:u=c={...Z,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,n;let r,o,{placement:i,rects:a,platform:l,elements:s}=e,{apply:c=()=>{},...d}=ev(u,e),f=await l.detectOverflow(e,d),p=eg(i),m=ey(i),h="y"===eb(i),{width:v,height:g}=a.floating;"top"===p||"bottom"===p?(r=p,o=m===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(o=p,r="end"===m?"top":"bottom");let y=g-f.top-f.bottom,x=v-f.left-f.right,w=eu(g-f[r],y),b=eu(v-f[o],x),E=!e.middlewareData.shift,C=w,R=b;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(R=x),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(C=y),E&&!m){let e=ed(f.left,0),t=ed(f.right,0),n=ed(f.top,0),r=ed(f.bottom,0);h?R=v-2*(0!==e||0!==t?e+t:ed(f.left,f.right)):C=g-2*(0!==n||0!==r?n+r:ed(f.top,f.bottom))}await c({...e,availableWidth:R,availableHeight:C});let A=await l.getDimensions(s.floating);return v!==A.width||g!==A.height?{reset:{rects:!0}}:{}}}).name,fn:w.fn,options:[c,void 0]},U&&{name:(b={name:"arrow",options:m=f={element:U,padding:S},fn(e){let{element:t,padding:n}="function"==typeof m?m(e):m;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?tc({element:t.current,padding:n}).fn(e):{}:t?tc({element:t,padding:n}).fn(e):{}}}).name,fn:b.fn,options:[f,void 0]},tT({arrowWidth:$,arrowHeight:q}),L&&{name:(E={name:"hide",options:v=h={strategy:"referenceHidden",...Z},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...o}=ev(v,e);switch(r){case"referenceHidden":{let r=eN(await n.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:eT(r)}}}case"escaped":{let r=eN(await n.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:eT(r)}}}default:return{}}}}).name,fn:E.fn,options:[h,void 0]}]}),[eo,ea]=tL(et),el=W(I);(0,ei.useLayoutEffect)(()=>{en&&el?.()},[en,el]);let es=er.arrow?.x,ec=er.arrow?.y,ef=er.arrow?.centerOffset!==0,[em,eh]=p.useState();return(0,ei.useLayoutEffect)(()=>{B&&eh(window.getComputedStyle(B).zIndex)},[B]),(0,d.jsx)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...ee,transform:en?ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:em,"--radix-popper-transform-origin":[er.transformOrigin?.x,er.transformOrigin?.y].join(" "),...er.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,d.jsx)(tj,{scope:C,placedSide:eo,onArrowChange:V,arrowX:es,arrowY:ec,shouldHideArrow:ef,children:(0,d.jsx)(N.Primitive.div,{"data-side":eo,"data-align":ea,...F,ref:K,style:{...F.style,animation:en?void 0:"none"}})})})});tD.displayName=tk;var tM="PopperArrow",t_={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},tP=p.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=tS(tM,n),i=t_[o.placedSide];return(0,d.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,d.jsx)(tv,{...r,ref:t,style:{...r.style,display:"block"}})})});function tN(e){return null!==e}tP.displayName=tM;var tT=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[s,c]=tL(n),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+l/2,p="",m="";return"bottom"===s?(p=i?u:`${d}px`,m=`${-l}px`):"top"===s?(p=i?u:`${d}px`,m=`${r.floating.height+l}px`):"right"===s?(p=`${-l}px`,m=i?u:`${f}px`):"left"===s&&(p=`${r.floating.width+l}px`,m=i?u:`${f}px`),{data:{x:p,y:m}}}});function tL(e){let[t,n="center"]=e.split("-");return[t,n]}var tO=p.forwardRef((e,t)=>{let{container:n,...r}=e,[o,i]=p.useState(!1);(0,ei.useLayoutEffect)(()=>i(!0),[]);let a=n||o&&globalThis?.document?.body;return a?tu.default.createPortal((0,d.jsx)(N.Primitive.div,{...r,ref:t}),a):null});tO.displayName="Portal";var tI=e.i(90816),tF="rovingFocusGroup.onEntryFocus",tH={bubbles:!1,cancelable:!0},tB="RovingFocusGroup",[tW,tz,tK]=L(tB),[tU,tV]=(0,_.createContextScope)(tB,[tK]),[tY,t$]=tU(tB),tq=p.forwardRef((e,t)=>(0,d.jsx)(tW.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(tW.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(tG,{...e,ref:t})})}));tq.displayName=tB;var tG=p.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:c,preventScrollOnEntryFocus:u=!1,...f}=e,m=p.useRef(null),h=(0,M.useComposedRefs)(t,m),v=B(i),[g,y]=(0,P.useControllableState)({prop:a,defaultProp:l??null,onChange:s,caller:tB}),[x,w]=p.useState(!1),b=W(c),E=tz(n),C=p.useRef(!1),[R,A]=p.useState(0);return p.useEffect(()=>{let e=m.current;if(e)return e.addEventListener(tF,b),()=>e.removeEventListener(tF,b)},[b]),(0,d.jsx)(tY,{scope:n,orientation:r,dir:v,loop:o,currentTabStopId:g,onItemFocus:p.useCallback(e=>y(e),[y]),onItemShiftTab:p.useCallback(()=>w(!0),[]),onFocusableItemAdd:p.useCallback(()=>A(e=>e+1),[]),onFocusableItemRemove:p.useCallback(()=>A(e=>e-1),[]),children:(0,d.jsx)(N.Primitive.div,{tabIndex:x||0===R?-1:0,"data-orientation":r,...f,ref:h,style:{outline:"none",...e.style},onMouseDown:(0,D.composeEventHandlers)(e.onMouseDown,()=>{C.current=!0}),onFocus:(0,D.composeEventHandlers)(e.onFocus,e=>{let t=!C.current;if(e.target===e.currentTarget&&t&&!x){let t=new CustomEvent(tF,tH);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=E().filter(e=>e.focusable);tJ([e.find(e=>e.active),e.find(e=>e.id===g),...e].filter(Boolean).map(e=>e.ref.current),u)}}C.current=!1}),onBlur:(0,D.composeEventHandlers)(e.onBlur,()=>w(!1))})})}),tX="RovingFocusGroupItem",tQ=p.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,children:a,...l}=e,s=es(),c=i||s,u=t$(tX,n),f=u.currentTabStopId===c,m=tz(n),{onFocusableItemAdd:h,onFocusableItemRemove:v,currentTabStopId:g}=u;return p.useEffect(()=>{if(r)return h(),()=>v()},[r,h,v]),(0,d.jsx)(tW.ItemSlot,{scope:n,id:c,focusable:r,active:o,children:(0,d.jsx)(N.Primitive.span,{tabIndex:f?0:-1,"data-orientation":u.orientation,...l,ref:t,onMouseDown:(0,D.composeEventHandlers)(e.onMouseDown,e=>{r?u.onItemFocus(c):e.preventDefault()}),onFocus:(0,D.composeEventHandlers)(e.onFocus,()=>u.onItemFocus(c)),onKeyDown:(0,D.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void u.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return tZ[o]}(e,u.orientation,u.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=m().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=u.loop?(n=o,r=i+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(i+1)}setTimeout(()=>tJ(o))}}),children:"function"==typeof a?a({isCurrentTabStop:f,hasTabStop:null!=g}):a})})});tQ.displayName=tX;var tZ={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tJ(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var t0=new WeakMap,t1=new WeakMap,t2={},t5=0,t4=function(e){return e&&(e.host||t4(e.parentNode))},t3=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=t4(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});t2[n]||(t2[n]=new WeakMap);var i=t2[n],a=[],l=new Set,s=new Set(o),c=function(e){!e||l.has(e)||(l.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,s=(t0.get(e)||0)+1,c=(i.get(e)||0)+1;t0.set(e,s),i.set(e,c),a.push(e),1===s&&o&&t1.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),l.clear(),t5++,function(){a.forEach(function(e){var t=t0.get(e)-1,o=i.get(e)-1;t0.set(e,t),i.set(e,o),t||(t1.has(e)||e.removeAttribute(r),t1.delete(e)),o||e.removeAttribute(n)}),--t5||(t0=new WeakMap,t0=new WeakMap,t1=new WeakMap,t2={})}},t6=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),t3(r,o,n,"aria-hidden")):function(){return null}},t8=e.i(24627),t9="right-scroll-bar-position",t7="width-before-scroll-bar";function ne(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var nt="u">typeof window?p.useLayoutEffect:p.useEffect,nn=new WeakMap,nr=(void 0===r&&(r={}),(void 0===o&&(o=function(e){return e}),i=[],a=!1,l={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=o(e,a);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(a=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){a=!0;var t=[];if(i.length){var n=i;i=[],n.forEach(e),t=i}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),i={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),i}}}}).options=(0,t8.__assign)({async:!0,ssr:!1},r),l),no=function(){},ni=p.forwardRef(function(e,t){var n,r,o,i,a=p.useRef(null),l=p.useState({onScrollCapture:no,onWheelCapture:no,onTouchMoveCapture:no}),s=l[0],c=l[1],u=e.forwardProps,d=e.children,f=e.className,m=e.removeScrollBar,h=e.enabled,v=e.shards,g=e.sideCar,y=e.noRelative,x=e.noIsolation,w=e.inert,b=e.allowPinchZoom,E=e.as,C=e.gapMode,R=(0,t8.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[a,t],r=function(e){return n.forEach(function(t){return ne(t,e)})},(o=(0,p.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,nt(function(){var e=nn.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||ne(e,null)}),r.forEach(function(e){t.has(e)||ne(e,o)})}nn.set(i,n)},[n]),i),k=(0,t8.__assign)((0,t8.__assign)({},R),s);return p.createElement(p.Fragment,null,h&&p.createElement(g,{sideCar:nr,removeScrollBar:m,shards:v,noRelative:y,noIsolation:x,inert:w,setCallbacks:c,allowPinchZoom:!!b,lockRef:a,gapMode:C}),u?p.cloneElement(p.Children.only(d),(0,t8.__assign)((0,t8.__assign)({},k),{ref:A})):p.createElement(void 0===E?"div":E,(0,t8.__assign)({}
1,k,{className:f,ref:A}),d))});ni.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ni.classNames={fullWidth:t7,zeroRight:t9};var na=function(e){var t=e.sideCar,n=(0,t8.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return p.createElement(r,(0,t8.__assign)({},n))};na.isSideCarExport=!0;var nl=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ns=function(){var e=nl();return function(t,n){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},nc=function(){var e=ns();return function(t){return e(t.styles,t.dynamic),null}},nu={left:0,top:0,right:0,gap:0},nd=function(e){return parseInt(e||"",10)||0},nf=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[nd(n),nd(r),nd(o)]},np=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return nu;var t=nf(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])}},nm=nc(),nh="data-scroll-locked",nv=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(l,"px ").concat(r,";\n  }\n  body[").concat(nh,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(t9," {\n    right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(t7," {\n    margin-right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(t9," .").concat(t9," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(t7," .").concat(t7," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(nh,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n  }\n")},ng=function(){var e=parseInt(document.body.getAttribute(nh)||"0",10);return isFinite(e)?e:0},ny=function(){p.useEffect(function(){return document.body.setAttribute(nh,(ng()+1).toString()),function(){var e=ng()-1;e<=0?document.body.removeAttribute(nh):document.body.setAttribute(nh,e.toString())}},[])},nx=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;ny();var i=p.useMemo(function(){return np(o)},[o]);return p.createElement(nm,{styles:nv(i,!t,o,n?"":"!important")})},nw=!1;if("u">typeof window)try{var nb=Object.defineProperty({},"passive",{get:function(){return nw=!0,!0}});window.addEventListener("test",nb,nb),window.removeEventListener("test",nb,nb)}catch(e){nw=!1}var nE=!!nw&&{passive:!1},nC=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},nR=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),nA(e,r)){var o=nk(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},nA=function(e,t){return"v"===e?nC(t,"overflowY"):nC(t,"overflowX")},nk=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},nj=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,s=n.target,c=t.contains(s),u=!1,d=l>0,f=0,p=0;
1do{if(!s)break;var m=nk(e,s),h=m[0],v=m[1]-m[2]-a*h;(h||v)&&nA(e,s)&&(f+=v,p+=h);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s))return d&&(o&&1>Math.abs(f)||!o&&l>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(u=!0),u},nS=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nD=function(e){return[e.deltaX,e.deltaY]},nM=function(e){return e&&"current"in e?e.current:e},n_=0,nP=[];let nN=(s=function(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(n_++)[0],i=p.useState(nc)[0],a=p.useRef(e);p.useEffect(function(){a.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,t8.__spreadArray)([e.lockRef.current],(e.shards||[]).map(nM),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=p.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=nS(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=nR(d,u);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=nR(d,u)),!m)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=o),!o)return!0;var h=r.current||o;return nj(h,t,e,"h"===h?s:c,!0)},[]),s=p.useCallback(function(e){if(nP.length&&nP[nP.length-1]===i){var n="deltaY"in e?nD(e):nS(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(nM).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=p.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),u=p.useCallback(function(e){n.current=nS(e),r.current=void 0},[]),d=p.useCallback(function(t){c(t.type,nD(t),t.target,l(t,e.lockRef.current))},[]),f=p.useCallback(function(t){c(t.type,nS(t),t.target,l(t,e.lockRef.current))},[]);p.useEffect(function(){return nP.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,nE),document.addEventListener("touchmove",s,nE),document.addEventListener("touchstart",u,nE),function(){nP=nP.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,nE),document.removeEventListener("touchmove",s,nE),document.removeEventListener("touchstart",u,nE)}},[]);var m=e.removeScrollBar,h=e.inert;return p.createElement(p.Fragment,null,h?p.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?p.createElement(nx,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},nr.useMedium(s),na);var nT=p.forwardRef(function(e,t){return p.createElement(ni,(0,t8.__assign)({},e,{ref:t,sideCar:nN}))});nT.classNames=ni.classNames;var nL=["Enter"," "],nO=["ArrowUp","PageDown","End"],nI=["ArrowDown","PageUp","Home",...nO],nF={ltr:[...nL,"ArrowRight"],rtl:[...nL,"ArrowLeft"]},nH={ltr:["ArrowLeft"],rtl:["ArrowRight"]},nB="Menu",[nW,nz,nK]=L(nB),[nU,nV]=(0,_.createContextScope)(nB,[nK,tw,tV]),nY=tw(),n$=tV(),[nq,nG]=nU(nB),[nX,nQ]=nU(nB),nZ=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=e,l=nY(t),[s,c]=p.useState(null),u=p.useRef(!1),f=W(i),m=B(o);return p.useEffect(()=>{let e=()=>{u.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>u.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,d.jsx)(tC,{...l,children:(0,d.jsx)(nq,{scope:t,open:n,onOpenChange:f,content:s,onContentChange:c,children:(0,d.jsx)(nX,{scope:t,onClose:p.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:u,dir:m,modal:a,children:r})})})};nZ.displayName=nB;var nJ=p.forwardRef((e,t)=>
1{let{__scopeMenu:n,...r}=e,o=nY(n);return(0,d.jsx)(tA,{...o,...r,ref:t})});nJ.displayName="MenuAnchor";var n0="MenuPortal",[n1,n2]=nU(n0,{forceMount:void 0}),n5=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=nG(n0,t);return(0,d.jsx)(n1,{scope:t,forceMount:n,children:(0,d.jsx)(tI.Presence,{present:n||i.open,children:(0,d.jsx)(tO,{asChild:!0,container:o,children:r})})})};n5.displayName=n0;var n4="MenuContent",[n3,n6]=nU(n4),n8=p.forwardRef((e,t)=>{let n=n2(n4,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=nG(n4,e.__scopeMenu),a=nQ(n4,e.__scopeMenu);return(0,d.jsx)(nW.Provider,{scope:e.__scopeMenu,children:(0,d.jsx)(tI.Presence,{present:r||i.open,children:(0,d.jsx)(nW.Slot,{scope:e.__scopeMenu,children:a.modal?(0,d.jsx)(n9,{...o,ref:t}):(0,d.jsx)(n7,{...o,ref:t})})})})}),n9=p.forwardRef((e,t)=>{let n=nG(n4,e.__scopeMenu),r=p.useRef(null),o=(0,M.useComposedRefs)(t,r);return p.useEffect(()=>{let e=r.current;if(e)return t6(e)},[]),(0,d.jsx)(rt,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,D.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),n7=p.forwardRef((e,t)=>{let n=nG(n4,e.__scopeMenu);return(0,d.jsx)(rt,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),re=(0,T.createSlot)("MenuContent.ScrollLock"),rt=p.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEntryFocus:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:m,onDismiss:h,disableOutsideScroll:v,...g}=e,y=nG(n4,n),x=nQ(n4,n),w=nY(n),b=n$(n),E=nz(n),[C,R]=p.useState(null),A=p.useRef(null),k=(0,M.useComposedRefs)(t,A,y.onContentChange),j=p.useRef(0),S=p.useRef(""),_=p.useRef(0),P=p.useRef(null),N=p.useRef("right"),T=p.useRef(0),L=v?nT:p.Fragment;p.useEffect(()=>()=>window.clearTimeout(j.current),[]),q();let O=p.useCallback(e=>{var t,n;return N.current===P.current?.side&&(t=e,!!(n=P.current?.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],l=t[i],s=a.x,c=a.y,u=l.x,d=l.y;c>r!=d>r&&n<(u-s)*(r-c)/(d-c)+s&&(o=!o)}return o}({x:t.clientX,y:t.clientY},n))},[]);return(0,d.jsx)(n3,{scope:n,searchRef:S,onItemEnter:p.useCallback(e=>{O(e)&&e.preventDefault()},[O]),onItemLeave:p.useCallback(e=>{O(e)||(A.current?.focus(),R(null))},[O]),onTriggerLeave:p.useCallback(e=>{O(e)&&e.preventDefault()},[O]),pointerGraceTimerRef:_,onPointerGraceIntentChange:p.useCallback(e=>{P.current=e},[]),children:(0,d.jsx)(L,{...v?{as:re,allowPinchZoom:!0}:void 0,children:(0,d.jsx)(J,{asChild:!0,trapped:o,onMountAutoFocus:(0,D.composeEventHandlers)(i,e=>{e.preventDefault(),A.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:(0,d.jsx)(U,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:m,onDismiss:h,children:(0,d.jsx)(tq,{asChild:!0,...b,dir:x.dir,orientation:"vertical",loop:r,currentTabStopId:C,onCurrentTabStopIdChange:R,onEntryFocus:(0,D.composeEventHandlers)(s,e=>{x.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,d.jsx)(tD,{role:"menu","aria-orientation":"vertical","data-state":rj(y.open),"data-radix-menu-content":"",dir:x.dir,...w,...g,ref:k,style:{outline:"none",...g.style},onKeyDown:(0,D.composeEventHandlers)(g.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;if(t){var o;let t,i,a,l,s,c;"Tab"===e.key&&e.preventDefault(),!n&&r&&(o=e.key,t=S.current+o,i=E().filter(e=>!e.disabled),a=document.activeElement,l=i.find(e=>e.ref.current===a)?.textValue,s=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=(r=Math.max(i,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(a=a.filter(e=>e!==n));let l=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}(i.map(e=>e.textValue),t,l),c=i.find(e=>e.textValue===s)?.ref.current,function e(t){S.current=t,window.clearTimeout(j.current),""!==t&&(j.current=window.setTimeout(()=>e(""),1e3))}(t),c&&setTimeout(()=>c.focus()))}let i=A.current;
1if(e.target!==i||!nI.includes(e.key))return;e.preventDefault();let a=E().filter(e=>!e.disabled).map(e=>e.ref.current);nO.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,D.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(j.current),S.current="")}),onPointerMove:(0,D.composeEventHandlers)(e.onPointerMove,rM(e=>{let t=e.target,n=T.current!==e.clientX;e.currentTarget.contains(t)&&n&&(N.current=e.clientX>T.current?"right":"left",T.current=e.clientX)}))})})})})})})});n8.displayName=n4;var rn=p.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,d.jsx)(N.Primitive.div,{role:"group",...r,ref:t})});rn.displayName="MenuGroup";var rr=p.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,d.jsx)(N.Primitive.div,{...r,ref:t})});rr.displayName="MenuLabel";var ro="MenuItem",ri="menu.itemSelect",ra=p.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...o}=e,i=p.useRef(null),a=nQ(ro,e.__scopeMenu),l=n6(ro,e.__scopeMenu),s=(0,M.useComposedRefs)(t,i),c=p.useRef(!1);return(0,d.jsx)(rl,{...o,ref:s,disabled:n,onClick:(0,D.composeEventHandlers)(e.onClick,()=>{let e=i.current;if(!n&&e){let t=new CustomEvent(ri,{bubbles:!0,cancelable:!0});e.addEventListener(ri,e=>r?.(e),{once:!0}),(0,N.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?c.current=!1:a.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),c.current=!0},onPointerUp:(0,D.composeEventHandlers)(e.onPointerUp,e=>{c.current||e.currentTarget?.click()}),onKeyDown:(0,D.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==l.searchRef.current;n||t&&" "===e.key||nL.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ra.displayName=ro;var rl=p.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=n6(ro,n),l=n$(n),s=p.useRef(null),c=(0,M.useComposedRefs)(t,s),[u,f]=p.useState(!1),[m,h]=p.useState("");return p.useEffect(()=>{let e=s.current;e&&h((e.textContent??"").trim())},[i.children]),(0,d.jsx)(nW.ItemSlot,{scope:n,disabled:r,textValue:o??m,children:(0,d.jsx)(tQ,{asChild:!0,...l,focusable:!r,children:(0,d.jsx)(N.Primitive.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:c,onPointerMove:(0,D.composeEventHandlers)(e.onPointerMove,rM(e=>{r?a.onItemLeave(e):(a.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,D.composeEventHandlers)(e.onPointerLeave,rM(e=>a.onItemLeave(e))),onFocus:(0,D.composeEventHandlers)(e.onFocus,()=>f(!0)),onBlur:(0,D.composeEventHandlers)(e.onBlur,()=>f(!1))})})})}),rs=p.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...o}=e;return(0,d.jsx)(rv,{scope:e.__scopeMenu,checked:n,children:(0,d.jsx)(ra,{role:"menuitemcheckbox","aria-checked":rS(n)?"mixed":n,...o,ref:t,"data-state":rD(n),onSelect:(0,D.composeEventHandlers)(o.onSelect,()=>r?.(!!rS(n)||!n),{checkForDefaultPrevented:!1})})})});rs.displayName="MenuCheckboxItem";var rc="MenuRadioGroup",[ru,rd]=nU(rc,{value:void 0,onValueChange:()=>{}}),rf=p.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,i=W(r);return(0,d.jsx)(ru,{scope:e.__scopeMenu,value:n,onValueChange:i,children:(0,d.jsx)(rn,{...o,ref:t})})});rf.displayName=rc;var rp="MenuRadioItem",rm=p.forwardRef((e,t)=>{let{value:n,...r}=e,o=rd(rp,e.__scopeMenu),i=n===o.value;return(0,d.jsx)(rv,{scope:e.__scopeMenu,checked:i,children:(0,d.jsx)(ra,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":rD(i),onSelect:(0,D.composeEventHandlers)(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});rm.displayName=rp;var rh="MenuItemIndicator",[rv,rg]=nU(rh,{checked:!1}),ry=p.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,i=rg(rh,n);return(0,d.jsx)(tI.Presence,{present:r||rS(i.checked)||!0===i.checked,children:(0,d.jsx)(N.Primitive.span,{...o,ref:t,"data-state":rD(i.checked)})})});ry.displayName=rh;var rx=p.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,d.jsx)(N.Primitive.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});rx.displayName="MenuSeparator";var rw=p.forwardRef((e,t)=>
1{let{__scopeMenu:n,...r}=e,o=nY(n);return(0,d.jsx)(tP,{...o,...r,ref:t})});rw.displayName="MenuArrow";var[rb,rE]=nU("MenuSub"),rC="MenuSubTrigger",rR=p.forwardRef((e,t)=>{let n=nG(rC,e.__scopeMenu),r=nQ(rC,e.__scopeMenu),o=rE(rC,e.__scopeMenu),i=n6(rC,e.__scopeMenu),a=p.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:s}=i,c={__scopeMenu:e.__scopeMenu},u=p.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return p.useEffect(()=>u,[u]),p.useEffect(()=>{let e=l.current;return()=>{window.clearTimeout(e),s(null)}},[l,s]),(0,d.jsx)(nJ,{asChild:!0,...c,children:(0,d.jsx)(rl,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":rj(n.open),...e,ref:(0,M.composeRefs)(t,o.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,D.composeEventHandlers)(e.onPointerMove,rM(t=>{i.onItemEnter(t),!t.defaultPrevented&&(e.disabled||n.open||a.current||(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100)))})),onPointerLeave:(0,D.composeEventHandlers)(e.onPointerLeave,rM(e=>{u();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,o="right"===r,a=t[o?"left":"right"],s=t[o?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:a,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:a,y:t.bottom}],side:r}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:(0,D.composeEventHandlers)(e.onKeyDown,t=>{let o=""!==i.searchRef.current;e.disabled||o&&" "===t.key||nF[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});rR.displayName=rC;var rA="MenuSubContent",rk=p.forwardRef((e,t)=>{let n=n2(n4,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=nG(n4,e.__scopeMenu),a=nQ(n4,e.__scopeMenu),l=rE(rA,e.__scopeMenu),s=p.useRef(null),c=(0,M.useComposedRefs)(t,s);return(0,d.jsx)(nW.Provider,{scope:e.__scopeMenu,children:(0,d.jsx)(tI.Presence,{present:r||i.open,children:(0,d.jsx)(nW.Slot,{scope:e.__scopeMenu,children:(0,d.jsx)(rt,{id:l.contentId,"aria-labelledby":l.triggerId,...o,ref:c,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{a.isUsingKeyboardRef.current&&s.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,D.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==l.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,D.composeEventHandlers)(e.onEscapeKeyDown,e=>{a.onClose(),e.preventDefault()}),onKeyDown:(0,D.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=nH[a.dir].includes(e.key);t&&n&&(i.onOpenChange(!1),l.trigger?.focus(),e.preventDefault())})})})})})});function rj(e){return e?"open":"closed"}function rS(e){return"indeterminate"===e}function rD(e){return rS(e)?"indeterminate":e?"checked":"unchecked"}function rM(e){return t=>"mouse"===t.pointerType?e(t):void 0}rk.displayName=rA;var r_="DropdownMenu",[rP,rN]=(0,_.createContextScope)(r_,[nV]),rT=nV(),[rL,rO]=rP(r_),rI=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:a,modal:l=!0}=e,s=rT(t),c=p.useRef(null),[u,f]=(0,P.useControllableState)({prop:o,defaultProp:i??!1,onChange:a,caller:r_});return(0,d.jsx)(rL,{scope:t,triggerId:es(),triggerRef:c,contentId:es(),open:u,onOpenChange:f,onOpenToggle:p.useCallback(()=>f(e=>!e),[f]),modal:l,children:(0,d.jsx)(nZ,{...s,open:u,onOpenChange:f,dir:r,modal:l,children:n})})};rI.displayName=r_;var rF="DropdownMenuTrigger",rH=p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=rO(rF,n),a=rT(n);return(0,d.jsx)(nJ,{asChild:!0,...a,children:(0,d.jsx)(N.Primitive.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:(0,M.composeRefs)(t,i.triggerRef),onPointerDown:(0,D.composeEventHandlers)(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,D.composeEventHandlers)(e.onKeyDown,e=>
1{!r&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});rH.displayName=rF;var rB=e=>{let{__scopeDropdownMenu:t,...n}=e,r=rT(t);return(0,d.jsx)(n5,{...r,...n})};rB.displayName="DropdownMenuPortal";var rW="DropdownMenuContent",rz=p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rO(rW,n),i=rT(n),a=p.useRef(!1);return(0,d.jsx)(n8,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:(0,D.composeEventHandlers)(e.onCloseAutoFocus,e=>{a.current||o.triggerRef.current?.focus(),a.current=!1,e.preventDefault()}),onInteractOutside:(0,D.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(a.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)"}})});rz.displayName=rW,p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(rn,{...o,...r,ref:t})}).displayName="DropdownMenuGroup",p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(rr,{...o,...r,ref:t})}).displayName="DropdownMenuLabel";var rK=p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(ra,{...o,...r,ref:t})});rK.displayName="DropdownMenuItem",p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(rs,{...o,...r,ref:t})}).displayName="DropdownMenuCheckboxItem",p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(rf,{...o,...r,ref:t})}).displayName="DropdownMenuRadioGroup",p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(rm,{...o,...r,ref:t})}).displayName="DropdownMenuRadioItem",p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(ry,{...o,...r,ref:t})}).displayName="DropdownMenuItemIndicator",p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(rx,{...o,...r,ref:t})}).displayName="DropdownMenuSeparator",p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(rw,{...o,...r,ref:t})}).displayName="DropdownMenuArrow",p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(rR,{...o,...r,ref:t})}).displayName="DropdownMenuSubTrigger",p.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rT(n);return(0,d.jsx)(rk,{...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)"}})}).displayName="DropdownMenuSubContent",e.i(44589),(0,g.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),(0,g.default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var rU=e.i(75157);function rV(e){let t,n,r=(0,f.c)(4);return r[0]!==e?({...t}=e,r[0]=e,r[1]=t):t=r[1],r[2]!==t?(n=(0,d.jsx)(rI,{"data-slot":"dropdown-menu",...t}),r[2]=t,r[3]=n):n=r[3],n}function rY(e){let t,n,r=(0,f.c)(4);return r[0]!==e?({...t}=e,r[0]=e,r[1]=t):t=r[1],r[2]!==t?(n=(0,d.jsx)(rH,{"data-slot":"dropdown-menu-trigger",...t}),r[2]=t,r[3]=n):n=r[3],n}function r$(e){let t,n,r,o,i,a=(0,f.c)(10);a[0]!==e?({className:t,sideOffset:r,...n}=e,a[0]=e,a[1]=t,a[2]=n,a[3]=r):(t=a[1],n=a[2],r=a[3]);let l=void 0===r?4:r;return a[4]!==t?(o=(0,rU.cn)("bg-popover text-popover-foreground 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
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),a[4]=t,a[5]=o):o=a[5],a[6]!==n||a[7]!==l||a[8]!==o?(i=(0,d.jsx)(rB,{children:(0,d.jsx)(rz,{"data-slot":"dropdown-menu-content",sideOffset:l,className:o,...n})}),a[6]=n,a[7]=l,a[8]=o,a[9]=i):i=a[9],i}function rq(e){let t,n,r,o,i,a,l=(0,f.c)(12);l[0]!==e?({className:t,inset:n,variant:o,...r}=e,l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=o):(t=l[1],n=l[2],r=l[3],o=l[4]);let s=void 0===o?"default":o;return l[5]!==t?(i=(0,rU.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),l[5]=t,l[6]=i):i=l[6],l[7]!==n||l[8]!==r||l[9]!==i||l[10]!==s?(a=(0,d.jsx)(rK,{"data-slot":"dropdown-menu-item","data-inset":n,"data-variant":s,className:i,...r}),l[7]=n,l[8]=r,l[9]=i,l[10]=s,l[11]=a):a=l[11],a}let rG=(0,g.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var rX="Dialog",[rQ,rZ]=(0,_.createContextScope)(rX),[rJ,r0]=rQ(rX),r1=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,l=p.useRef(null),s=p.useRef(null),[c,u]=(0,P.useControllableState)({prop:r,defaultProp:o??!1,onChange:i,caller:rX});return(0,d.jsx)(rJ,{scope:t,triggerRef:l,contentRef:s,contentId:es(),titleId:es(),descriptionId:es(),open:c,onOpenChange:u,onOpenToggle:p.useCallback(()=>u(e=>!e),[u]),modal:a,children:n})};r1.displayName=rX;var r2="DialogTrigger",r5=p.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=r0(r2,n),i=(0,M.useComposedRefs)(t,o.triggerRef);return(0,d.jsx)(N.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":op(o.open),...r,ref:i,onClick:(0,D.composeEventHandlers)(e.onClick,o.onOpenToggle)})});r5.displayName=r2;var r4="DialogPortal",[r3,r6]=rQ(r4,{forceMount:void 0}),r8=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=r0(r4,t);return(0,d.jsx)(r3,{scope:t,forceMount:n,children:p.Children.map(r,e=>(0,d.jsx)(tI.Presence,{present:n||i.open,children:(0,d.jsx)(tO,{asChild:!0,container:o,children:e})}))})};r8.displayName=r4;var r9="DialogOverlay",r7=p.forwardRef((e,t)=>{let n=r6(r9,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=r0(r9,e.__scopeDialog);return i.modal?(0,d.jsx)(tI.Presence,{present:r||i.open,children:(0,d.jsx)(ot,{...o,ref:t})}):null});r7.displayName=r9;var oe=(0,T.createSlot)("DialogOverlay.RemoveScroll"),ot=p.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=r0(r9,n);return(0,d.jsx)(nT,{as:oe,allowPinchZoom:!0,shards:[o.contentRef],children:(0,d.jsx)(N.Primitive.div,{"data-state":op(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),on="DialogContent",or=p.forwardRef((e,t)=>{let n=r6(on,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=r0(on,e.__scopeDialog);return(0,d.jsx)(tI.Presence,{present:r||i.open,children:i.modal?(0,d.jsx)(oo,{...o,ref:t}):(0,d.jsx)(oi,{...o,ref:t})})});or.displayName=on;var oo=p.forwardRef((e,t)=>{let n=r0(on,e.__scopeDialog),r=p.useRef(null),o=(0,M.useComposedRefs)(t,n.contentRef,r);return p.useEffect(()=>{let e=r.current;if(e)return t6(e)},[]),(0,d.jsx)(oa,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,D.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,D.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,D.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),oi=p.forwardRef((e,t)=>
1{let n=r0(on,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return(0,d.jsx)(oa,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),oa=p.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,l=r0(on,n),s=p.useRef(null),c=(0,M.useComposedRefs)(t,s);return q(),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(J,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,d.jsx)(U,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":op(l.open),...a,ref:c,onDismiss:()=>l.onOpenChange(!1)})}),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(og,{titleId:l.titleId}),(0,d.jsx)(oy,{contentRef:s,descriptionId:l.descriptionId})]})]})}),ol="DialogTitle",os=p.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=r0(ol,n);return(0,d.jsx)(N.Primitive.h2,{id:o.titleId,...r,ref:t})});os.displayName=ol;var oc="DialogDescription",ou=p.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=r0(oc,n);return(0,d.jsx)(N.Primitive.p,{id:o.descriptionId,...r,ref:t})});ou.displayName=oc;var od="DialogClose",of=p.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=r0(od,n);return(0,d.jsx)(N.Primitive.button,{type:"button",...r,ref:t,onClick:(0,D.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})});function op(e){return e?"open":"closed"}of.displayName=od;var om="DialogTitleWarning",[oh,ov]=(0,_.createContext)(om,{contentName:on,titleName:ol,docsSlug:"dialog"}),og=({titleId:e})=>
1{let t=ov(om),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},oy=({contentRef:e,descriptionId:t})=>{let n=ov("DialogDescriptionWarning"),r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return p.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null};e.s(["Close",()=>of,"Content",()=>or,"Description",()=>ou,"Dialog",()=>r1,"DialogClose",()=>of,"DialogContent",()=>or,"DialogDescription",()=>ou,"DialogOverlay",()=>r7,"DialogPortal",()=>r8,"DialogTitle",()=>os,"DialogTrigger",()=>r5,"Overlay",()=>r7,"Portal",()=>r8,"Root",()=>r1,"Title",()=>os,"Trigger",()=>r5,"WarningProvider",()=>oh,"createDialogScope",()=>rZ],94983);var ox=e.i(94983),ox=ox;function ow(e){let t,n,r=(0,f.c)(4);return r[0]!==e?({...t}=e,r[0]=e,r[1]=t):t=r[1],r[2]!==t?(n=(0,d.jsx)(ox.Root,{"data-slot":"sheet",...t}),r[2]=t,r[3]=n):n=r[3],n}function ob(e){let t,n,r=(0,f.c)(4);return r[0]!==e?({...t}=e,r[0]=e,r[1]=t):t=r[1],r[2]!==t?(n=(0,d.jsx)(ox.Trigger,{"data-slot":"sheet-trigger",...t}),r[2]=t,r[3]=n):n=r[3],n}function oE(e){let t,n,r=(0,f.c)(4);return r[0]!==e?({...t}=e,r[0]=e,r[1]=t):t=r[1],r[2]!==t?(n=(0,d.jsx)(ox.Portal,{"data-slot":"sheet-portal",...t}),r[2]=t,r[3]=n):n=r[3],n}function oC(e){let t,n,r,o,i=(0,f.c)(8);return i[0]!==e?({className:t,...n}=e,i[0]=e,i[1]=t,i[2]=n):(t=i[1],n=i[2]),i[3]!==t?(r=(0,rU.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),i[3]=t,i[4]=r):r=i[4],i[5]!==n||i[6]!==r?(o=(0,d.jsx)(ox.Overlay,{"data-slot":"sheet-overlay",className:r,...n}),i[5]=n,i[6]=r,i[7]=o):o=i[7],o}function oR(e){let t,n,r,o,i,a,l,s,c,u=(0,f.c)(20);u[0]!==e?({className:n,children:t,side:o,showCloseButton:i,...r}=e,u[0]=e,u[1]=t,u[2]=n,u[3]=r,u[4]=o,u[5]=i):(t=u[1],n=u[2],r=u[3],o=u[4],i=u[5]);let p=void 0===o?"right":o,m=void 0===i||i;u[6]===Symbol.for("react.memo_cache_sentinel")?(a=(0,d.jsx)(oC,{}),u[6]=a):a=u[6];let h="right"===p&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",v="left"===p&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",g="top"===p&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",y="bottom"===p&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t";return u[7]!==n||u[8]!==h||u[9]!==v||u[10]!==g||u[11]!==y?(l=(0,rU.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 px-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",h,v,g,y,n),u[7]=n,u[8]=h,u[9]=v,u[10]=g,u[11]=y,u[12]=l):l=u[12],u[13]!==m?(s=m&&(0,d.jsxs)(ox.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,d.jsx)(rG,{className:"size-4"}),(0,d.jsx)("span",{className:"sr-only",children:"Close"})]}),u[13]=m,u[14]=s):s=u[14],u[15]!==t||u[16]!==r||u[17]!==l||u[18]!==s?(c=(0,d.jsxs)(oE,{children:[a,(0,d.jsxs)(ox.Content,{"data-slot":"sheet-content",className:l,...r,children:[t,s]})]}),u[15]=t,u[16]=r,u[17]=l,u[18]=s,u[19]=c):c=u[19],c}function oA(e){let t,n,r,o,i=(0,f.c)(8);return i[0]!==e?({className:t,...n}=e,i[0]=e,i[1]=t,i[2]=n):(t=i[1],n=i[2]),i[3]!==t?(r=(0,rU.cn)("flex flex-col gap-1.5 p-4",t),i[3]=t,i[4]=r):r=i[4],i[5]!==n||i[6]!==r?(o=(0,d.jsx)("div",{"data-slot":"sheet-header",className:r,...n}),i[5]=n,i[6]=r,i[7]=o):o=i[7],o}function ok(e){let t,n,r,o,i=(0,f.c)(8);return i[0]!==e?({className:t,...n}=e,i[0]=e,i[1]=t,i[2]=n):(t=i[1],n=i[2]),i[3]!==t?(r=(0,rU.cn)("text-foreground font-semibold",t),i[3]=t,i[4]=r):r=i[4],i[5]!==n||i[6]!==r?(o=(0,d.jsx)(ox.Title,{"data-slot":"sheet-title",className:r,...n}),i[5]=n,i[6]=r,i[7]=o):o=i[7],o}let oj=e=>{let t,n,r=(0,f.c)(3),{className:o}=e;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,d.jsx)("path",{d:"M8.8 21H5q-.825 0-1.412-.587T3 19v-3.8q1.2 0 2.1-.762T6 12.5t-.9-1.937T3 9.8V6q0-.825.588-1.412T5 4h4q0-1.05.725-1.775T11.5 1.5t1.775.725T14 4h4q.825 0 1.413.588T20 6v4q1.05 0 1.775.725T22.5 12.5t-.725 1.775T20 15v4q0 .825-.587 1.413T18 21h-3.8q0-1.25-.787-2.125T11.5 18t-1.912.875T8.8 21M5 19h2.125q.6-1.65 1.925-2.325T11.5 16t2.45.675T15.875 19H18v-6h2q.2 0 .35-.15t.15-.35t-.15-.35T20 12h-2V6h-6V4q0-.2-.15-.35t-.35-.15t-.35.15T11 4v2H5v2.2q1.35.5 2.175 1.675T8 12.5q0 1.425-.825 2.6T5 16.8zm6.5-6.5"}),r[0]=t):t=r[0],r[1]!==o?(n=(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:16,height:16,fill:"currentColor",className:o,children:t}),r[1]=o,r[2]=n):n=r[2],n};function oS(){let e,t,n,r,o,i,a,l,s,c,u,g,C,R,A,D,M,_,P,N,T,L,O,I,F,H,B,W,z,K,U,V,Y,$,q=(0,f.c)(58),[G,X]=(0,p.useState)(!1),[Q,Z]=(0,p.useState)(!1),[J,ee]=(0,p.useState)(!1),et="/"===(0,E.usePathname)();q[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=()=>X(window.scrollY>50);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},t=[],q[0]=e,q[1]=t):(e=q[0],t=q[1]),(0,p.useEffect)(e,t);let en=`fixed top-0 left-0 right-0 z-50 transition-all duration-300 animate-slide-down ${G||!et?"bg-background/80 backdrop-blur-md border-b border-border py-3":"bg-transparent py-5"}`;q[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,d.jsxs)(m.default,{href:"/",className:"flex items-center gap-2 group",children:[(0,d.jsx)(h.default,{src:S,alt:"SpotFacts Logo",className:"w-32 h-auto dark:hidden",priority:!0}),(0,d.jsx)(h.default,{src:j,alt:"SpotFacts Logo",className:"w-32 h-auto hidden dark:block",priority:!0})]}),q[2]=n):n=q[2],q[3]===Symbol.for("react.memo_cache_sentinel")?(r=()=>Z(!0),o=()=>Z(!1),q[3]=r,q[4]=o):(r=q[3],o=q[4]);let er=`w-4 h-4 transition-transform duration-200 ${Q?"rotate-180":""}`;q[5]!==er?(i=(0,d.jsxs)(rY,{className:"flex items-center gap-1 text-sm font-medium text-muted-foreground hover:text-brand-600 dark:hover:text-brand-400 transition-colors outline-none group",onMouseEnter:r,onMouseLeave:o,children:["Apps",(0,d.jsx)(y,{className:er})]}),q[5]=er,q[6]=i):i=q[6],q[7]===Symbol.for("react.memo_cache_sentinel")?(a=()=>Z(!0),l=()=>Z(!1),q[7]=a,q[8]=l):(a=q[7],l=q[8]),q[9]===Symbol.for("react.memo_cache_sentinel")?(s=(0,d.jsx)(rq,{asChild:!0,children:(0,d.jsxs)(m.default,{href:"/extension",className:"flex items-center gap-2 cursor-pointer",children:[(0,d.jsx)(oj,{className:"","aria-hidden":!0}),(0,d.jsx)("span",{children:"Browser Extension"})]})}),q[9]=s):s=q[9],q[10]===Symbol.for("react.memo_cache_sentinel")?(c=(0,d.jsxs)(r$,{align:"start",className:"w-48",onMouseEnter:a,onMouseLeave:l,children:[s,(0,d.jsx)(rq,{asChild:!0,children:(0,d.jsxs)(m.default,{href:"/mobile",className:"flex items-center gap-2 cursor-pointer",children:[(0,d.jsx)(x,{className:"w-4 h-4"}),(0,d.jsx)("span",{children:"Mobile App"})]})})]}),q[10]=c):c=q[10],q[11]!==Q||q[12]!==i?(u=(0,d.jsxs)(rV,{open:Q,onOpenChange:Z,children:[i,c]}),q[11]=Q,q[12]=i,q[13]=u):u=q[13];let eo=et?"#how-it-works":"/#how-it-works";q[14]!==eo?(g=(0,d.jsx)(m.default,{href:eo,className:"text-sm font-medium text-muted-foreground hover:text-brand-600 dark:hover:text-brand-400 transition-colors",children:"How it Works"}),q[14]=eo,q[15]=g):g=q[15];let ei=et?"#extension-demo":"/#extension-demo";q[16]===Symbol.for("react.memo_cache_sentinel")?(C=(0,d.jsx)(b,{className:"w-3.5 h-3.5 fill-current"}),q[16]=C):C=q[16],q[17]!==ei?(R=(0,d.jsxs)(m.default,{href:ei,className:"text-sm font-medium text-muted-foreground hover:text-brand-600 dark:hover:text-brand-400 transition-colors flex items-center gap-1.5",children:[C,"Demo"]}),q[17]=ei,q[18]=R):R=q[18],q[19]!==u||q[20]!==g||q[21]!==R?(A=(0,d.jsxs)("div",{className:"hidden md:flex items-center gap-8",children:[u,g,R]}),q[19]=u,q[20]=g,q[21]=R,q[22]=A):A=q[22],q[23]===Symbol.for("react.memo_cache_sentinel")?(D=(0,d.jsx)(k,{}),q[23]=D):D=q[23];let ea=et?"#waitlist":"/#waitlist";q[24]!==ea?(M=(0,d.jsx)(v.Button,{asChild:!0,className:"hidden md:flex bg-brand-600 hover:bg-brand-700 text-white font-semibold shadow-[0_0_15px_rgba(91,178,90,0.3)] hover:shadow-[0_0_25px_rgba(91,178,90,0.5)] transition-all duration-300",children:(0,d.jsx)(m.default,{href:ea,children:"Join the Beta"})}),q[24]=ea,q[25]=M):M=q[25],q[26]===Symbol.for("react.memo_cache_sentinel")?(_=(0,d.jsx)(ob,{asChild:!0,children:(0,d.jsxs)(v.Button,{variant:"ghost",size:"icon",className:"md:hidden",children:[(0,d.jsx)(w,{className:"w-5 h-5"}),(0,d.jsx)("span",{className:"sr-only",children:"Toggle menu"})]})}),q[26]=_):_=q[26],q[27]===Symbol.for("react.memo_cache_sentinel")?(P=(0,d.jsx)(oA,{children:(0,d.jsx)(ok,{className:"text-left",children:"Navigation"})}),q[27]=P):P=q[27],q[28]===Symbol.for("react.memo_cache_sentinel")?(N=(0,d.jsx)("h4",{className:"font-semibold text-sm uppercase tracking-wider text-muted-foreground",children:"Apps"}),q[28]=N):N=q[28],q[29]===Symbol.for("react.memo_cache_sentinel")?(T=(0,d.jsxs)(m.default,{href:"/extension",className:"flex items-center gap-3 text-sm font-medium hover:text-brand-600 dark:hover:text-brand-400 transition-colors",children:[(0,d.jsx)(oj,{className:"","aria-hidden":!0}),"Browser Extension"]}),q[29]=T):T=q[29],q[30]===Symbol.for("react.memo_cache_sentinel")?(L=(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[N,T,(0,d.jsxs)(m.default,{href:"/mobile",className:"flex items-center gap-3 text-sm font-medium hover:text-brand-600 dark:hover:text-brand-400 transition-colors",children:[(0,d.jsx)(x,{className:"w-5 h-5"}),"Mobile App"]})]}),q[30]=L):L=q[30],q[31]===Symbol.for("react.memo_cache_sentinel")?(O=(0,d.jsx)("h4",{className:"font-semibold text-sm uppercase tracking-wider text-muted-foreground",children:"Learn"}),q[31]=O):O=q[31];let el=et?"#how-it-works":"/#how-it-works";q[32]!==el?(I=(0,d.jsx)(m.default,{href:el,className:"text-sm font-medium hover:text-brand-600 dark:hover:text-brand-400 transition-colors",children:"How it Works"}),q[32]=el,q[33]=I):I=q[33];let es=et?"#extension-demo":"/#extension-demo";q[34]===Symbol.for("react.memo_cache_sentinel")?(F=()=>ee(!1),q[34]=F):F=q[34],q[35]===Symbol.for("react.memo_cache_sentinel")?(H=(0,d.jsx)(b,{className:"w-4 h-4 fill-current"}),q[35]=H):H=q[35],q[36]!==es?(B=(0,d.jsxs)(m.default,{href:es,onClick:F,className:"text-sm font-medium hover:text-brand-600 dark:hover:text-brand-400 transition-colors flex items-center gap-2",children:[H,"Watch Demo"]}
5),q[36]=es,q[37]=B):B=q[37],q[38]!==I||q[39]!==B?(W=(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-2",children:[O,I,B]}),q[38]=I,q[39]=B,q[40]=W):W=q[40];let ec=et?"#waitlist":"/#waitlist";return q[41]!==ec?(z=(0,d.jsx)(v.Button,{asChild:!0,className:"w-full bg-brand-600 hover:bg-brand-700 text-white font-semibold mt-4 shadow-[0_0_15px_rgba(91,178,90,0.3)]",children:(0,d.jsx)(m.default,{href:ec,children:"Join the Beta"})}),q[41]=ec,q[42]=z):z=q[42],q[43]!==W||q[44]!==z?(K=(0,d.jsxs)(oR,{side:"right",className:"w-[300px] sm:w-[400px]",children:[P,(0,d.jsxs)("div",{className:"flex flex-col gap-6 mt-8",children:[L,W,z]})]}),q[43]=W,q[44]=z,q[45]=K):K=q[45],q[46]!==J||q[47]!==K?(U=(0,d.jsxs)(ow,{open:J,onOpenChange:ee,children:[_,K]}),q[46]=J,q[47]=K,q[48]=U):U=q[48],q[49]!==M||q[50]!==U?(V=(0,d.jsxs)("div",{className:"flex items-center gap-4",children:[D,M,U]}),q[49]=M,q[50]=U,q[51]=V):V=q[51],q[52]!==A||q[53]!==V?(Y=(0,d.jsxs)("div",{className:"container mx-auto px-4 flex items-center justify-between",children:[n,A,V]}),q[52]=A,q[53]=V,q[54]=Y):Y=q[54],q[55]!==en||q[56]!==Y?($=(0,d.jsx)("nav",{className:en,children:Y}),q[55]=en,q[56]=Y,q[57]=$):$=q[57],$}e.s(["Header",()=>oS],2971)}]);

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.