PageSourceSearch

https://buzzmatic.com/_next/static/chunks/6252-866e0df62e04331d.js?dpl=dpl_E9DWY7r3dcFQR9FRjbZWFEeuAVpJ

js buzzmatic.com collected 2026-10-09 04:42:14 UTC 82,352 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6252],{1759:(e,t,n)=>{n.d(t,{hO:()=>s,sG:()=>a});var r=n(51813),o=n(81096),i=n(96894),l=n(75681),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,i.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(o?n:t,{...i,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function s(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},5760:(e,t,n)=>{n.d(t,{UC:()=>tc,YJ:()=>tf,In:()=>ts,q7:()=>th,VF:()=>tv,p4:()=>tm,JU:()=>tp,ZL:()=>tu,bL:()=>ti,wn:()=>tg,PP:()=>ty,l9:()=>tl,WT:()=>ta,LM:()=>td});var r,o=n(51813),i=n.t(o,2),l=n(81096);function a(e,[t,n]){return Math.min(n,Math.max(t,e))}var s=n(56743),u=n(88552),c=n(90918),d=n(96894),f=n(75681),p=new WeakMap;function h(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=m(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}(e,t);return -1===n?void 0:e[n]}function m(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],p.set(this,!0)}set(e,t){return p.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,l=m(e),a=l>=0?l:i+l,s=a<0||a>=i?-1:a;if(s===this.size||o&&s===this.size-1||-1===s)return this.set(t,n),this;let u=this.size+ +!o;l<0&&a++;let c=[...this.#e],d=!1;for(let e=a;e<u;e++)if(a===e){let i=c[e];c[e]===t&&(i=c[e+1]),o&&this.delete(t),r=this.get(i),this.set(t,n)}else{d||c[e-1]!==t||(d=!0);let n=c[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=h(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=h(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return h(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++}}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(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=0,l=o??this.at(0);for(let e of this)l=0===i&&1===t.length?e:Reflect.apply(r,this,[l,e,i,this]),i++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=o??this.at(-1);for(let e=this.size-1;e>=0;e--){let n=this.at(e);i=e===this.size-1&&1===t.length?n:Reflect.apply(r,this,[i,n,e,this])}return i}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(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=[...this.entries()];return o.splice(...n),new e(o)}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 v=o.createContext(void 0),y=n(1759);function g(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...e)=>t.current?.(...e),[])}var w="dismissableLayer.update",x=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}
1),b=o.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:a,onInteractOutside:u,onDismiss:d,...p}=e,h=o.useContext(x),[m,v]=o.useState(null),b=m?.ownerDocument??globalThis?.document,[,C]=o.useState({}),R=(0,c.s)(t,e=>v(e)),A=Array.from(h.layers),[k]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),N=A.indexOf(k),T=m?A.indexOf(m):-1,L=h.layersWithOutsidePointerEventsDisabled.size>0,P=T>=N,O=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,n=g(e),r=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){S("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...h.branches].some(e=>e.contains(t));P&&!n&&(l?.(e),u?.(e),e.defaultPrevented||d?.())},b),j=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,n=g(e),r=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!r.current&&S("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;![...h.branches].some(e=>e.contains(t))&&(a?.(e),u?.(e),e.defaultPrevented||d?.())},b);return!function(e,t=globalThis?.document){let n=g(e);o.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=>{T===h.layers.size-1&&(i?.(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},b),o.useEffect(()=>{if(m)return n&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(r=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(m)),h.layers.add(m),E(),()=>{n&&1===h.layersWithOutsidePointerEventsDisabled.size&&(b.body.style.pointerEvents=r)}},[m,b,n,h]),o.useEffect(()=>()=>{m&&(h.layers.delete(m),h.layersWithOutsidePointerEventsDisabled.delete(m),E())},[m,h]),o.useEffect(()=>{let e=()=>C({});return document.addEventListener(w,e),()=>document.removeEventListener(w,e)},[]),(0,f.jsx)(y.sG.div,{...p,ref:R,style:{pointerEvents:L?P?"auto":"none":void 0,...e.style},onFocusCapture:(0,s.mK)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,s.mK)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,s.mK)(e.onPointerDownCapture,O.onPointerDownCapture)})});function E(){let e=new CustomEvent(w);document.dispatchEvent(e)}function S(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,y.hO)(i,l):i.dispatchEvent(l)}b.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(x),r=o.useRef(null),i=(0,c.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,f.jsx)(y.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var C=0;function R(){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 A="focusScope.autoFocusOnMount",k="focusScope.autoFocusOnUnmount",N={bubbles:!1,cancelable:!0},T=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...a}=e,[s,u]=o.useState(null),d=g(i),p=g(l),h=o.useRef(null),m=(0,c.s)(t,e=>u(e)),v=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(v.paused||!s)return;let t=e.target;s.contains(t)?h.current=t:O(h.current,{select:!0})},t=function(e){if(v.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||O(h.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&&O(s)});return s&&n.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,s,v.paused]),o.useEffect(()=>{if(s){j.add(v);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(A,N);s.addEventListener(A,d),s.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(O(r,{select:t}),document.activeElement!==n)return}(L(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&O(s))}return()=>{s.removeEventListener(A,d),setTimeout(()=>{let t=new CustomEvent(k,N);s.addEventListener(k,p),s.dispatchEvent(t),t.defaultPrevented||O(e??document.body,{select:!0}),s.removeEventListener(k,p),j.remove(v)},0)}}},[s,d,p,v]);let w=o.useCallback(e=>{if(!n&&!r||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=L(e);return[P(t,e),P(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&O(i,{select:!0})):(e.preventDefault(),n&&O(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,v.paused]);return(0,f.jsx)(y.sG.div,{tabIndex:-1,...a,ref:m,onKeyDown:w})});function L(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 P(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function O(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[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()}}
1T.displayName="FocusScope";var j=function(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=M(e,t)).unshift(t)},remove(t){e=M(e,t),e[0]?.resume()}}}();function M(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var D=n(86725),I=i[" useId ".trim().toString()]||(()=>void 0),W=0;function F(e){let[t,n]=o.useState(I());return(0,D.N)(()=>{e||n(e=>e??String(W++))},[e]),e||(t?`radix-${t}`:"")}var _=n(73561),H=n(66359),B=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,f.jsx)(y.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,f.jsx)("polygon",{points:"0,0 30,0 15,10"})})});B.displayName="Arrow";var K=n(54041),z="Popper",[U,$]=(0,u.A)(z),[V,G]=U(z),Y=e=>{let{__scopePopper:t,children:n}=e,[r,i]=o.useState(null);return(0,f.jsx)(V,{scope:t,anchor:r,onAnchorChange:i,children:n})};Y.displayName=z;var X="PopperAnchor",q=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,l=G(X,n),a=o.useRef(null),s=(0,c.s)(t,a),u=o.useRef(null);return o.useEffect(()=>{let e=u.current;u.current=r?.current||a.current,e!==u.current&&l.onAnchorChange(u.current)}),r?null:(0,f.jsx)(y.sG.div,{...i,ref:s})});q.displayName=X;var Z="PopperContent",[J,Q]=U(Z),ee=o.forwardRef((e,t)=>{let{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:l="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:d=[],collisionPadding:p=0,sticky:h="partial",hideWhenDetached:m=!1,updatePositionStrategy:v="optimized",onPlaced:w,...x}=e,b=G(Z,n),[E,S]=o.useState(null),C=(0,c.s)(t,e=>S(e)),[R,A]=o.useState(null),k=(0,K.X)(R),N=k?.width??0,T=k?.height??0,L="number"==typeof p?p:{top:0,right:0,bottom:0,left:0,...p},P=Array.isArray(d)?d:[d],O=P.length>0,j={padding:L,boundary:P.filter(eo),altBoundary:O},{refs:M,floatingStyles:I,placement:W,isPositioned:F,middlewareData:B}=(0,_.we)({strategy:"fixed",placement:r+("center"!==l?"-"+l:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,H.ll)(...t,{animationFrame:"always"===v})},elements:{reference:b.anchor},middleware:[(0,_.cY)({mainAxis:i+T,alignmentAxis:a}),u&&(0,_.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===h?(0,_.ER)():void 0,...j}),u&&(0,_.UU)({...j}),(0,_.Ej)({...j,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${o}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${l}px`)}}),R&&(0,_.UE)({element:R,padding:s}),ei({arrowWidth:N,arrowHeight:T}),m&&(0,_.jD)({strategy:"referenceHidden",...j})]}),[z,U]=el(W),$=g(w);(0,D.N)(()=>{F&&$?.()},[F,$]);let V=B.arrow?.x,Y=B.arrow?.y,X=B.arrow?.centerOffset!==0,[q,Q]=o.useState();return(0,D.N)(()=>{E&&Q(window.getComputedStyle(E).zIndex)},[E]),(0,f.jsx)("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:F?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:q,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,f.jsx)(J,{scope:n,placedSide:z,onArrowChange:A,arrowX:V,arrowY:Y,shouldHideArrow:X,children:(0,f.jsx)(y.sG.div,{"data-side":z,"data-align":U,...x,ref:C,style:{...x.style,animation:F?void 0:"none"}})})})});ee.displayName=Z;var et="PopperArrow",en={top:"bottom",right:"left",bottom:"top",left:"right"},er=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=Q(et,n),i=en[o.placedSide];return(0,f.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,f.jsx)(B,{...r,ref:t,style:{...r.style,display:"block"}})})});function eo(e){return null!==e}er.displayName=et;var ei=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,l=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[s,u]=el(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(o.arrow?.x??0)+l/2,f=(o.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=i?c:`${d}px`,h=`${-a}px`):"top"===s?(p=i?c:`${d}px`,h=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=i?c:`${f}px`):"left"===s&&(p=`${r.floating.width+a}px`,h=i?c:`${f}px`),{data:{x:p,y:h}}}});function el(e){let[t,n="center"]=e.split("-");return[t,n]}var ea=o.forwardRef((e,t)=>
1{let{container:n,...r}=e,[i,a]=o.useState(!1);(0,D.N)(()=>a(!0),[]);let s=n||i&&globalThis?.document?.body;return s?l.createPortal((0,f.jsx)(y.sG.div,{...r,ref:t}),s):null});ea.displayName="Portal";var es=n(55565),eu=n(76617),ec=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});o.forwardRef((e,t)=>(0,f.jsx)(y.sG.span,{...e,ref:t,style:{...ec,...e.style}})).displayName="VisuallyHidden";var ed=n(80815),ef=n(98252),ep=[" ","Enter","ArrowUp","ArrowDown"],eh=[" ","Enter"],em="Select",[ev,ey,eg]=function(e){let t=e+"CollectionProvider",[n,r]=(0,u.A)(t),[i,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:n}=e,r=o.useRef(null),l=o.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:l,collectionRef:r,children:n})};a.displayName=t;let s=e+"CollectionSlot",p=(0,d.TL)(s),h=o.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=l(s,n),i=(0,c.s)(t,o.collectionRef);return(0,f.jsx)(p,{ref:i,children:r})});h.displayName=s;let m=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,d.TL)(m),g=o.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,a=o.useRef(null),s=(0,c.s)(t,a),u=l(m,n);return o.useEffect(()=>(u.itemMap.set(a,{ref:a,...i}),()=>void u.itemMap.delete(a))),(0,f.jsx)(y,{...{[v]:""},ref:s,children:r})});return g.displayName=m,[{Provider:a,Slot:h,ItemSlot:g},function(t){let n=l(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}(em),[ew,ex]=(0,u.A)(em,[eg,$]),eb=$(),[eE,eS]=ew(em),[eC,eR]=ew(em),eA=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:l,value:a,defaultValue:s,onValueChange:u,dir:c,name:d,autoComplete:p,disabled:h,required:m,form:y}=e,g=eb(t),[w,x]=o.useState(null),[b,E]=o.useState(null),[S,C]=o.useState(!1),R=function(e){let t=o.useContext(v);return e||t||"ltr"}(c),[A,k]=(0,es.i)({prop:r,defaultProp:i??!1,onChange:l,caller:em}),[N,T]=(0,es.i)({prop:a,defaultProp:s,onChange:u,caller:em}),L=o.useRef(null),P=!w||y||!!w.closest("form"),[O,j]=o.useState(new Set),M=Array.from(O).map(e=>e.props.value).join(";");return(0,f.jsx)(Y,{...g,children:(0,f.jsxs)(eE,{required:m,scope:t,trigger:w,onTriggerChange:x,valueNode:b,onValueNodeChange:E,valueNodeHasChildren:S,onValueNodeHasChildrenChange:C,contentId:F(),value:N,onValueChange:T,open:A,onOpenChange:k,dir:R,triggerPointerDownPosRef:L,disabled:h,children:[(0,f.jsx)(ev.Provider,{scope:t,children:(0,f.jsx)(eC,{scope:e.__scopeSelect,onNativeOptionAdd:o.useCallback(e=>{j(t=>new Set(t).add(e))},[]),onNativeOptionRemove:o.useCallback(e=>{j(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),P?(0,f.jsxs)(tt,{"aria-hidden":!0,required:m,tabIndex:-1,name:d,autoComplete:p,value:N,onChange:e=>T(e.target.value),disabled:h,form:y,children:[void 0===N?(0,f.jsx)("option",{value:""}):null,Array.from(O)]},M):null]})})};eA.displayName=em;var ek="SelectTrigger",eN=o.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...i}=e,l=eb(n),a=eS(ek,n),u=a.disabled||r,d=(0,c.s)(t,a.onTriggerChange),p=ey(n),h=o.useRef("touch"),[m,v,g]=tr(e=>{let t=p().filter(e=>!e.disabled),n=t.find(e=>e.value===a.value),r=to(t,e,n);void 0!==r&&a.onValueChange(r.value)}),w=e=>{u||(a.onOpenChange(!0),g()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,f.jsx)(q,{asChild:!0,...l,children:(0,f.jsx)(y.sG.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":tn(a.value)?"":void 0,...i,ref:d,onClick:(0,s.mK)(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==h.current&&w(e)}),onPointerDown:(0,s.mK)(i.onPointerDown,e=>{h.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:(0,s.mK)(i.onKeyDown,e=>{let t=""!==m.current;
1e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||v(e.key),(!t||" "!==e.key)&&ep.includes(e.key)&&(w(),e.preventDefault())})})})});eN.displayName=ek;var eT="SelectValue",eL=o.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:o,children:i,placeholder:l="",...a}=e,s=eS(eT,n),{onValueNodeHasChildrenChange:u}=s,d=void 0!==i,p=(0,c.s)(t,s.onValueNodeChange);return(0,D.N)(()=>{u(d)},[u,d]),(0,f.jsx)(y.sG.span,{...a,ref:p,style:{pointerEvents:"none"},children:tn(s.value)?(0,f.jsx)(f.Fragment,{children:l}):i})});eL.displayName=eT;var eP=o.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...o}=e;return(0,f.jsx)(y.sG.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});eP.displayName="SelectIcon";var eO=e=>(0,f.jsx)(ea,{asChild:!0,...e});eO.displayName="SelectPortal";var ej="SelectContent",eM=o.forwardRef((e,t)=>{let n=eS(ej,e.__scopeSelect),[r,i]=o.useState();return((0,D.N)(()=>{i(new DocumentFragment)},[]),n.open)?(0,f.jsx)(eF,{...e,ref:t}):r?l.createPortal((0,f.jsx)(eD,{scope:e.__scopeSelect,children:(0,f.jsx)(ev.Slot,{scope:e.__scopeSelect,children:(0,f.jsx)("div",{children:e.children})})}),r):null});eM.displayName=ej;var[eD,eI]=ew(ej),eW=(0,d.TL)("SelectContent.RemoveScroll"),eF=o.forwardRef((e,t)=>{let{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:l,onPointerDownOutside:a,side:u,sideOffset:d,align:p,alignOffset:h,arrowPadding:m,collisionBoundary:v,collisionPadding:y,sticky:g,hideWhenDetached:w,avoidCollisions:x,...E}=e,S=eS(ej,n),[A,k]=o.useState(null),[N,L]=o.useState(null),P=(0,c.s)(t,e=>k(e)),[O,j]=o.useState(null),[M,D]=o.useState(null),I=ey(n),[W,F]=o.useState(!1),_=o.useRef(!1);o.useEffect(()=>{if(A)return(0,ed.Eq)(A)},[A]),o.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??R()),document.body.insertAdjacentElement("beforeend",e[1]??R()),C++,()=>{1===C&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),C--}},[]);let H=o.useCallback(e=>{let[t,...n]=I().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(let n of e)if(n===o||(n?.scrollIntoView({block:"nearest"}),n===t&&N&&(N.scrollTop=0),n===r&&N&&(N.scrollTop=N.scrollHeight),n?.focus(),document.activeElement!==o))return},[I,N]),B=o.useCallback(()=>H([O,A]),[H,O,A]);o.useEffect(()=>{W&&B()},[W,B]);let{onOpenChange:K,triggerPointerDownPosRef:z}=S;o.useEffect(()=>{if(A){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(z.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(z.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():A.contains(n.target)||K(!1),document.removeEventListener("pointermove",t),z.current=null};return null!==z.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[A,K,z]),o.useEffect(()=>{let e=()=>K(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[K]);let[U,$]=tr(e=>{let t=I().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=to(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),V=o.useCallback((e,t,n)=>{let r=!_.current&&!n;(void 0!==S.value&&S.value===t||r)&&(j(e),r&&(_.current=!0))},[S.value]),G=o.useCallback(()=>A?.focus(),[A]),Y=o.useCallback((e,t,n)=>{let r=!_.current&&!n;(void 0!==S.value&&S.value===t||r)&&D(e)},[S.value]),X="popper"===r?eH:e_,q=X===eH?{side:u,sideOffset:d,align:p,alignOffset:h,arrowPadding:m,collisionBoundary:v,collisionPadding:y,sticky:g,hideWhenDetached:w,avoidCollisions:x}:{};return(0,f.jsx)(eD,{scope:n,content:A,viewport:N,onViewportChange:L,itemRefCallback:V,selectedItem:O,onItemLeave:G,itemTextRefCallback:Y,focusSelectedItem:B,selectedItemText:M,position:r,isPositioned:W,searchRef:U,children:(0,f.jsx)(ef.A,{as:eW,allowPinchZoom:!0,children:(0,f.jsx)(T,{asChild:!0,trapped:S.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,s.mK)(i,e=>{S.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,f.jsx)(b,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>S.onOpenChange(!1),children:(0,f.jsx)(X,{role:"listbox",id:S.contentId,"data-state":S.open?"open":"closed",dir:S.dir,onContextMenu:e=>e.preventDefault(),...E,...q,onPlaced:()=>F(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...E.style},onKeyDown:(0,s.mK)(E.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||$(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=I().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>H(t)),e.preventDefault()}})})})})})})});eF.displayName="SelectContentImpl";var e_=o.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...i}=e,l=eS(ej,n),s=eI(ej,n),[u,d]=o.useState(null),[p,h]=o.useState(null),m=(0,c.s)(t,e=>h(e)),v=ey(n),g=o.useRef(!1),w=o.useRef(!0),{viewport:x,selectedItem:b,selectedItemText:E,focusSelectedItem:S}=s,C=o.useCallback(()=>{if(l.trigger&&l.valueNode&&u&&p&&x&&b&&E){let e=l.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),n=l.valueNode.getBoundingClientRect(),o=E.getBoundingClientRect();if("rtl"!==l.dir){let r=o.left-t.left,i=n.left-r,l=e.left-i,s=e.width+l,c=Math.max(s,t.width),d=a(i,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=s+"px",u.style.left=d+"px"}else{let r=t.right-o.right,i=window.innerWidth-n.right-r,l=window.innerWidth-e.right-i,s=e.width+l,c=Math.max(s,t.width),d=a(i,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=s+"px",u.style.right=d+"px"}let i=v(),s=window.innerHeight-20,c=x.scrollHeight,d=window.getComputedStyle(p),f=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),m=parseInt(d.borderBottomWidth,10),y=f+h+c+parseInt(d.paddingBottom,10)+m,w=Math.min(5*b.offsetHeight,y),S=window.getComputedStyle(x),C=parseInt(S.paddingTop,10),R=parseInt(S.paddingBottom,10),A=e.top+e.height/2-10,k=b.offsetHeight/2,N=f+h+(b.offsetTop+k);if(N<=A){let e=i.length>0&&b===i[i.length-1].ref.current;u.style.bottom="0px";let t=Math.max(s-A,k+(e?R:0)+(p.clientHeight-x.offsetTop-x.offsetHeight)+m);u.style.height=N+t+"px"}else{let e=i.length>0&&b===i[0].ref.current;u.style.top="0px";let t=Math.max(A,f+x.offsetTop+(e?C:0)+k);u.style.height=t+(y-N)+"px",x.scrollTop=N-A+x.offsetTop}u.style.margin="10px 0",u.style.minHeight=w+"px",u.style.maxHeight=s+"px",r?.(),requestAnimationFrame(()=>g.current=!0)}},[v,l.trigger,l.valueNode,u,p,x,b,E,l.dir,r]);(0,D.N)(()=>C(),[C]);let[R,A]=o.useState();(0,D.N)(()=>{p&&A(window.getComputedStyle(p).zIndex)},[p]);let k=o.useCallback(e=>{e&&!0===w.current&&(C(),S?.(),w.current=!1)},[C,S]);return(0,f.jsx)(eB,{scope:n,contentWrapper:u,shouldExpandOnScrollRef:g,onScrollButtonChange:k,children:(0,f.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:R},children:(0,f.jsx)(y.sG.div,{...i,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});e_.displayName="SelectItemAlignedPosition";var eH=o.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:o=10,...i}=e,l=eb(n);return(0,f.jsx)(ee,{...l,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});eH.displayName="SelectPopperPosition";var[eB,eK]=ew(ej,{}),ez="SelectViewport",eU=o.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...i}=e,l=eI(ez,n),a=eK(ez,n),u=(0,c.s)(t,l.onViewportChange),d=o.useRef(0);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),(0,f.jsx)(ev.Slot,{scope:n,children:(0,f.jsx)(y.sG.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:(0,s.mK)(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=a;if(r?.current&&n){let e=Math.abs(d.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,o=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(o<r){let i=o+e,l=Math.min(r,i),a=i-l;n.style.height=l+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});eU.displayName=ez;var e$="SelectGroup",[eV,eG]=ew(e$),eY=o.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e,o=F();return(0,f.jsx)(eV,{scope:n,id:o,children:(0,f.jsx)(y.sG.div,{role:"group","aria-labelledby":o,...r,ref:t})})});eY.displayName=e$;var eX="SelectLabel",eq=o.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=eG(eX,n);return(0,f.jsx)(y.sG.div,{id:o.id,...r,ref:t})});eq.displayName=eX;var eZ="SelectItem",[eJ,eQ]=ew(eZ),e0=o.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:i=!1,textValue:l,...a}=e,u=eS(eZ,n),d=eI(eZ,n),p=u.value===r,[h,m]=o.useState(l??""),[v,g]=o.useState(!1),w=(0,c.s)(t,e=>d.itemRefCallback?.(e,r,i)),x=F(),b=o.useRef("touch"),E=()=>{i||(u.onValueChange(r),u.onOpenChange(!1))};if(""===r)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,f.jsx)(eJ,{scope:n,value:r,disabled:i,textId:x,isSelected:p,onItemTextChange:o.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,f.jsx)(ev.ItemSlot,{scope:n,value:r,disabled:i,textValue:h,children:(0,f.jsx)(y.sG.div,{role:"option","aria-labelledby":x,"data-highlighted":v?"":void 0,"aria-selected":p&&v,"data-state":p?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...a,ref:w,onFocus:(0,s.mK)(a.onFocus,()=>g(!0)),onBlur:(0,s.mK)(a.onBlur,()=>g(!1)),onClick:(0,s.mK)(a.onClick,()=>{"mouse"!==b.current&&E()}),onPointerUp:(0,s.mK)(a.onPointerUp,()=>{"mouse"===b.current&&E()}),onPointerDown:(0,s.mK)(a.onPointerDown,e=>{b.current=e.pointerType}),onPointerMove:(0,s.mK)(a.onPointerMove,e=>{b.current=e.pointerType,i?d.onItemLeave?.():"mouse"===b.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,s.mK)(a.onPointerLeave,e=>{e.currentTarget===document.activeElement&&d.onItemLeave?.()}),onKeyDown:(0,s.mK)(a.onKeyDown,e=>{(d.searchRef?.current===""||" "!==e.key)&&(eh.includes(e.key)&&E()," "===e.key&&e.preventDefault())})})})})});e0.displayName=eZ;var e1="SelectItemText",e5=o.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,...a}=e,s=eS(e1,n),u=eI(e1,n),d=eQ(e1,n),p=eR(e1,n),[h,m]=o.useState(null),v=(0,c.s)(t,e=>m(e),d.onItemTextChange,e=>u.itemTextRefCallback?.(e,d.value,d.disabled)),g=h?.textContent,w=o.useMemo(()=>(0,f.jsx)("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:x,onNativeOptionRemove:b}=p;return(0,D.N)(()=>(x(w),()=>b(w)),[x,b,w]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(y.sG.span,{id:d.textId,...a,ref:v}),d.isSelected&&s.valueNode&&!s.valueNodeHasChildren?l.createPortal(a.children,s.valueNode):null]})});e5.displayName=e1;var e2="SelectItemIndicator",e6=o.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return eQ(e2,n).isSelected?(0,f.jsx)(y.sG.span,{"aria-hidden":!0,...r,ref:t}):null});e6.displayName=e2;var e8="SelectScrollUpButton",e3=o.forwardRef((e,t)=>{let n=eI(e8,e.__scopeSelect),r=eK(e8,e.__scopeSelect),[i,l]=o.useState(!1),a=(0,c.s)(t,r.onScrollButtonChange);return(0,D.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){l(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,f.jsx)(e7,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});e3.displayName=e8;var e9="SelectScrollDownButton",e4=o.forwardRef((e,t)=>{let n=eI(e9,e.__scopeSelect),r=eK(e9,e.__scopeSelect),[i,l]=o.useState(!1),a=(0,c.s)(t,r.onScrollButtonChange);return(0,D.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;l(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,f.jsx)(e7,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});e4.displayName=e9;var e7=o.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...i}=e,l=eI("SelectScrollButton",n),a=o.useRef(null),u=ey(n),c=o.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return o.useEffect(()=>()=>c(),[c]),(0,D.N)(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,f.jsx)(y.sG.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:(0,s.mK)(i.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(r,50))}),onPointerMove:(0,s.mK)(i.onPointerMove,()=>{l.onItemLeave?.(),null===a.current&&(a.current=window.setInterval(r,50))}),onPointerLeave:(0,s.mK)(i.onPointerLeave,()=>{c()})})});o.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e;return(0,f.jsx)(y.sG.div,{"aria-hidden":!0,...r,ref:t})}).displayName="SelectSeparator";var te="SelectArrow";o.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=eb(n),i=eS(te,n),l=eI(te,n);return i.open&&"popper"===l.position?(0,f.jsx)(er,{...o,...r,ref:t}):null}).displayName=te;var tt=o.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,...i}=e,l=o.useRef(null),a=(0,c.s)(t,l),s=(0,eu.Z)(r);return o.useEffect(()=>{let e=l.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[s,r]),(0,f.jsx)(y.sG.select,{...i,style:{...ec,...i.style},ref:a,defaultValue:r})});function tn(e){return""===e||void 0===e}function tr(e){let t=g(e),n=o.useRef(""),r=o.useRef(0),i=o.useCallback(e=>{let o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),l=o.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return o.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,l]}function to(e,t,n){var r,o;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=n?e.indexOf(n):-1,a=(r=e,o=Math.max(l,0),r.map((e,t)=>r[(o+t)%r.length]));1===i.length&&(a=a.filter(e=>e!==n));let s=a.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return s!==n?s:void 0}tt.displayName="SelectBubbleInput";var ti=eA,tl=eN,ta=eL,ts=eP,tu=eO,tc=eM,td=eU,tf=eY,tp=eq,th=e0,tm=e5,tv=e6,ty=e3,tg=e4},14851:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(30649).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},30649:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(51813);let o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()},i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:u="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...l,width:i,height:i,stroke:n,strokeWidth:s?24*Number(a)/Number(i):a,className:o("lucide",u),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(f)&&{"aria-hidden":"true"},...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),s=(e,t)=>{let n=(0,r.forwardRef)((n,l)=>{let{className:s,...u}=n;return(0,r.createElement)(a,{ref:l,iconNode:t,className:o(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...u})});return n.displayName=i(e),n}},52716:(e,t,n)=>{n.d(t,{C1:()=>R,bL:()=>S});var r=n(51813),o=n(90918),i=n(88552),l=n(56743),a=n(55565),s=n(76617),u=n(54041),c=n(86725),d=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[o,i]=r.useState(),l=r.useRef(null),a=r.useRef(e),s=r.useRef("none"),[u,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=f(l.current);s.current="mounted"===u?e:"none"},[u]),(0,c.N)(()=>{let t=l.current,n=a.current;if(n!==e){let r=s.current,o=f(t);e?d("MOUNT"):"none"===o||t?.display==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),(0,c.N)(()=>{if(o){let e,t=o.ownerDocument.defaultView??window,n=n=>{let r=f(l.current).includes(CSS.escape(n.animationName));if(n.target===o&&r&&(d("ANIMATION_END"),!a.current)){let n=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=n)})}},r=e=>{e.target===o&&(s.current=f(l.current))};return o.addEventListener("animationstart",r),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",r),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,i(e)},[])}}(t),l="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),a=(0,o.s)(i.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof n||i.isPresent?r.cloneElement(l,{ref:a}):null};function f(e){return e?.animationName||"none"}d.displayName="Presence";var p=n(1759),h=n(75681),m="Checkbox",[v,y]=(0,i.A)(m),[g,w]=v(m);function x(e){let{__scopeCheckbox:t,checked:n,children:o,defaultChecked:i,disabled:l,form:s,name:u,onCheckedChange:c,required:d,value:f="on",internal_do_not_use_render:p}=e,[v,y]=(0,a.i)({prop:n,defaultProp:i??!1,onChange:c,caller:m}),[w,x]=r.useState(null),[b,E]=r.useState(null),S=r.useRef(!1),C=!w||!!s||!!w.closest("form"),R={checked:v,disabled:l,setChecked:y,control:w,setControl:x,name:u,form:s,value:f,hasConsumerStoppedPropagationRef:S,required:d,defaultChecked:!N(i)&&i,isFormControl:C,bubbleInput:b,setBubbleInput:E};return(0,h.jsx)(g,{scope:t,...R,children:"function"==typeof p?p(R):o})}var b="CheckboxTrigger",E=r.forwardRef((e,t)=>
1{let{__scopeCheckbox:n,onKeyDown:i,onClick:a,...s}=e,{control:u,value:c,disabled:d,checked:f,required:m,setControl:v,setChecked:y,hasConsumerStoppedPropagationRef:g,isFormControl:x,bubbleInput:E}=w(b,n),S=(0,o.s)(t,v),C=r.useRef(f);return r.useEffect(()=>{let e=u?.form;if(e){let t=()=>y(C.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[u,y]),(0,h.jsx)(p.sG.button,{type:"button",role:"checkbox","aria-checked":N(f)?"mixed":f,"aria-required":m,"data-state":T(f),"data-disabled":d?"":void 0,disabled:d,value:c,...s,ref:S,onKeyDown:(0,l.mK)(i,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,l.mK)(a,e=>{y(e=>!!N(e)||!e),E&&x&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});E.displayName=b;var S=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:r,checked:o,defaultChecked:i,required:l,disabled:a,value:s,onCheckedChange:u,form:c,...d}=e;return(0,h.jsx)(x,{__scopeCheckbox:n,checked:o,defaultChecked:i,disabled:a,required:l,onCheckedChange:u,name:r,form:c,value:s,internal_do_not_use_render:e=>{let{isFormControl:r}=e;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(E,{...d,ref:t,__scopeCheckbox:n}),r&&(0,h.jsx)(k,{__scopeCheckbox:n})]})}})});S.displayName=m;var C="CheckboxIndicator",R=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...o}=e,i=w(C,n);return(0,h.jsx)(d,{present:r||N(i.checked)||!0===i.checked,children:(0,h.jsx)(p.sG.span,{"data-state":T(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});R.displayName=C;var A="CheckboxBubbleInput",k=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,...i}=e,{control:l,hasConsumerStoppedPropagationRef:a,checked:c,defaultChecked:d,required:f,disabled:m,name:v,value:y,form:g,bubbleInput:x,setBubbleInput:b}=w(A,n),E=(0,o.s)(t,b),S=(0,s.Z)(c),C=(0,u.X)(l);r.useEffect(()=>{if(!x)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!a.current;if(S!==c&&e){let n=new Event("click",{bubbles:t});x.indeterminate=N(c),e.call(x,!N(c)&&c),x.dispatchEvent(n)}},[x,S,c,a]);let R=r.useRef(!N(c)&&c);return(0,h.jsx)(p.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:d??R.current,required:f,disabled:m,name:v,value:y,form:g,...i,tabIndex:-1,ref:E,style:{...i.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function N(e){return"indeterminate"===e}function T(e){return N(e)?"indeterminate":e?"checked":"unchecked"}k.displayName=A},53413:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(30649).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},54041:(e,t,n)=>{n.d(t,{X:()=>i});var r=n(51813),o=n(86725);function i(e){let[t,n]=r.useState(void 0);return(0,o.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},55565:(e,t,n)=>{n.d(t,{i:()=>a});var r,o=n(51813),i=n(86725),l=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||i.N;function a({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,a,s]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),i=o.useRef(n),a=o.useRef(t);return l(()=>{a.current=t},[t]),o.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,r])}return[c,o.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&s.current?.(n)}else a(t)},[u,e,a,s])]}Symbol("RADIX:SYNC_STATE")},56743:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement},59621:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(30649).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},66359:(e,t,n)=>{let r;n.d(t,{UE:()=>ex,ll:()=>eh,rD:()=>eE,UU:()=>ey,jD:()=>ew,ER:()=>eb,cY:()=>em,BN:()=>ev,Ej:()=>eg});let o=["top","right","bottom","left"],i=Math.min,l=Math.max,a=Math.round,s=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let g=["left","right"],w=["right","left"],x=["top","bottom"],b=["bottom","top"];function E(e){let t=f(e);return c[t]+e.slice(t.length)}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function C(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 R(e,t,n){let r,{reference:o,floating:i}=e,l=v(t),a=h(v(t)),s=m(a),u=f(t),c="y"===l,d=o.x+o.width/2-i.width/2,y=o.y+o.height/2-i.height/2,g=o[s]/2-i[s]/2;switch(u){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:y};break;case"left":r={x:o.x-i.width,y:y};break;default:r={x:o.x,y:o.y}}switch(p(t)){case"start":r[a]-=g*(n&&c?-1:1);break;case"end":r[a]+=g*(n&&c?-1:1)}return r}async function A(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=d(t,e),m=S(h),v=a[p?"floating"===f?"reference":"floating":f],y=C(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),g="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),x=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=C(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:s}):g);return{top:(y.top-b.top+m.top)/x.y,bottom:(b.bottom-y.bottom+m.bottom)/x.y,left:(y.left-b.left+m.left)/x.x,right:(b.right-y.right+m.right)/x.x}}let k=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:A},s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=R(u,r,s),f=r,p=0,h={};for(let n=0;n<i.length;n++){let m=i[n];if(!m)continue;let{name:v,fn:y}=m,{x:g,y:w,data:x,reset:b}=await y({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=w?w:d,h[v]={...h[v],...x},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:c,y:d}=R(u,f,s)),n=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:h}};function N(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return o.some(t=>e[t]>=0)}let L=new Set(["left","top"]);async function P(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=f(n),a=p(n),s="y"===v(n),u=L.has(l)?-1:1,c=i&&s?-1:1,h=d(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof g&&(y="end"===a?-1*g:g),s?{x:y*c,y:m*u}:{x:m*u,y:y*c}}function O(){return"undefined"!=typeof window}function j(e){return I(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function D(e){var t;return null==(t=(I(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function I(e){return!!O()&&(e instanceof Node||e instanceof M(e).Node)}function W(e){return!!O()&&(e instanceof Element||e instanceof M(e).Element)}function F(e){return!!O()&&(e instanceof HTMLElement||e instanceof M(e).HTMLElement)}function _(e){return!!O()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof M(e).ShadowRoot)}function H(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function B(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let K=/transform|translate|scale|rotate|perspective|filter/,z=/paint|layout|strict|content/,U=e=>!!e&&"none"!==e;function $(e){let t=W(e)?Y(e):e;return U(t.transform)||U(t.translate)||U(t.scale)||U(t.rotate)||U(t.perspective)||!V()&&(U(t.backdropFilter)||U(t.filter))||K.test(t.willChange||"")||z.test(t.contain||"")}function V(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function G(e){return/^(html|body|#document)$/.test(j(e))}function Y(e){return M(e).getComputedStyle(e)}function X(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function q(e){if("html"===j(e))return e;let t=e.assignedSlot||e.parentNode||_(e)&&e.host||D(e);return _(t)?t.host:t}function Z(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=q(t);return G(n)?t.ownerDocument?t.ownerDocument.body:t.body:F(n)&&H(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=M(o);if(!i)return t.concat(o,Z(o,[],n));{let e=J(l);
1return t.concat(l,l.visualViewport||[],H(o)?o:[],e&&n?Z(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Q(e){let t=Y(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=F(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=a(n)!==i||a(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function ee(e){return W(e)?e:e.contextElement}function et(e){let t=ee(e);if(!F(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Q(t),l=(i?a(n.width):n.width)/r,s=(i?a(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}let en=u(0);function er(e){let t=M(e);return V()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:en}function eo(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=ee(e),a=u(1);t&&(r?W(r)&&(a=et(r)):a=et(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===M(l))&&o)?er(l):u(0),c=(i.left+s.x)/a.x,d=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(l){let e=M(l),t=r&&W(r)?M(r):r,n=e,o=J(n);for(;o&&r&&t!==n;){let e=et(o),t=o.getBoundingClientRect(),r=Y(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,p*=e.y,c+=i,d+=l,o=J(n=M(o))}}return C({width:f,height:p,x:c,y:d})}function ei(e,t){let n=X(e).scrollLeft;return t?t.left+n:eo(D(e)).left+n}function el(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ei(e,n),y:n.top+t.scrollTop}}function ea(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=M(e),r=D(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=V();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}let u=ei(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-o);l<=25&&(i-=l)}else u<=25&&(i+=u);return{width:i,height:l,x:a,y:s}}(e,n);else if("document"===t)r=function(e){let t=D(e),n=X(e),r=e.ownerDocument.body,o=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+ei(e),s=-n.scrollTop;return"rtl"===Y(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(D(e));else if(W(t))r=function(e,t){let n=eo(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=F(e)?et(e):u(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y;return{width:l,height:a,x:o*i.x,y:r*i.y}}(t,n);else{let n=er(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(r)}function es(e){return"static"===Y(e).position}function eu(e,t){if(!F(e)||"fixed"===Y(e).position)return null;if(t)return t(e);let n=e.offsetParent;return D(e)===n&&(n=n.ownerDocument.body),n}function ec(e,t){var n;let r=M(e);if(B(e))return r;if(!F(e)){let t=q(e);for(;t&&!G(t);){if(W(t)&&!es(t))return t;t=q(t)}return r}let o=eu(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(j(n)))&&es(o);)o=eu(o,t);return o&&G(o)&&es(o)&&!$(o)?r:o||function(e){let t=q(e);for(;F(t)&&!G(t);){if($(t))return t;if(B(t))break;t=q(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ec,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=F(t),o=D(t),i="fixed"===n,l=eo(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=u(0);if(r||!r&&!i)if(("body"!==j(t)||H(o))&&(a=X(t)),r){let e=eo(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=ei(o));i&&!r&&o&&(s.x=ei(o));let c=!o||r||i?u(0):el(o,a);return{x:l.left+a.scrollLeft-s.x-c.x,y:l.top+a.scrollTop-s.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ef={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=D(r),a=!!t&&B(t.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),f=F(r);if((f||!f&&!i)&&(("body"!==j(r)||H(l))&&(s=X(r)),f)){let e=eo(r);c=et(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let p=!l||f||i?u(0):el(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-s.scrollTop*c.y+d.y+p.y}},getDocumentElement:D,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,a=[..."clippingAncestors"===n?B(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Z(e,[],!1).filter(e=>W(e)&&"body"!==j(e)),o=null,i="fixed"===Y(e).position,l=i?q(e):e;for(;W(l)&&!G(l);){let t=Y(l),n=$(l);n||"fixed"!==t.position||(o=null),(i?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||H(l)&&!n&&function e(t,n){let r=q(t);return!(r===n||!W(r)||G(r))&&("fixed"===Y(r).position||e(r,n))}(e,l)))?o=t:r=r.filter(e=>e!==l),l=q(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=ea(t,a[0],o),u=s.top,c=s.right,d=s.bottom,f=s.left;for(let e=1;e<a.length;e++){let n=ea(t,a[e],o);u=l(n.top,u),c=i(n.right,c),d=i(n.bottom,d),f=l(n.left,f)}return{width:c-f,height:d-u,x:f,y:u}},getOffsetParent:ec,getElementRects:ed,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=Q(e);return{width:t,height:n}},getScale:et,isElement:W,isRTL:function(e){return"rtl"===Y(e).direction}};function ep(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eh(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,p=ee(e),h=a||u?[...p?Z(p):[],...t?Z(t):[]]:[];
1h.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=p&&d?function(e,t){let n,r=null,o=D(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),a();let f=e.getBoundingClientRect(),{left:p,top:h,width:m,height:v}=f;if(c||t(),!m||!v)return;let y=s(h),g=s(o.clientWidth-(p+m)),w={rootMargin:-y+"px "+-g+"px "+-s(o.clientHeight-(h+v))+"px "+-s(p)+"px",threshold:l(0,i(1,d))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==d){if(!x)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ep(f,e.getBoundingClientRect())||u(),x=!1}try{r=new IntersectionObserver(b,{...w,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,w)}r.observe(e)}(!0),a}(p,n):null,v=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&t&&(y.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!f&&y.observe(p),t&&y.observe(t));let g=f?eo(e):null;return f&&function t(){let r=eo(e);g&&!ep(g,r)&&n(),g=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(o)}}let em=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,s=await P(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}},ev=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o,platform:a}=t,{mainAxis:s=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...p}=d(e,t),m={x:n,y:r},y=await a.detectOverflow(t,p),g=v(f(o)),w=h(g),x=m[w],b=m[g];if(s){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=x+y[e],r=x-y[t];x=l(n,i(x,r))}if(u){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=b+y[e],r=b-y[t];b=l(n,i(b,r))}let E=c.fn({...t,[w]:x,[g]:b});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[w]:s,[g]:u}}}}}},ey=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,l;let{placement:a,middlewareData:s,rects:u,initialPlacement:c,platform:S,elements:C}=t,{mainAxis:R=!0,crossAxis:A=!0,fallbackPlacements:k,fallbackStrategy:N="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:L=!0,...P}=d(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let O=f(a),j=v(c),M=f(c)===c,D=await (null==S.isRTL?void 0:S.isRTL(C.floating)),I=k||(M||!L?[E(c)]:function(e){let t=E(e);return[y(e),t,y(t)]}(c)),W="none"!==T;!k&&W&&I.push(...function(e,t,n,r){let o=p(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?w:g;return t?g:w;case"left":case"right":return t?x:b;default:return[]}}(f(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(y)))),i}(c,L,T,D));let F=[c,...I],_=await S.detectOverflow(t,P),H=[],B=(null==(r=s.flip)?void 0:r.overflows)||[];if(R&&H.push(_[O]),A){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),o=h(v(e)),i=m(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=E(l)),[l,E(l)]}(a,u,D);H.push(_[e[0]],_[e[1]])}if(B=[...B,{placement:a,overflows:H}],!H.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=F[e];if(t&&("alignment"!==A||j===v(t)||B.every(e=>v(e.placement)!==j||e.overflows[0]>0)))return{data:{index:e,overflows:B},reset:{placement:t}};let n=null==(i=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(N){case"bestFit":{let e=null==(l=B.filter(e=>{if(W){let t=v(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:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}},eg=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,a,{placement:s,rects:u,platform:c,elements:h}=t,{apply:m=()=>{},...y}
1=d(e,t),g=await c.detectOverflow(t,y),w=f(s),x=p(s),b="y"===v(s),{width:E,height:S}=u.floating;"top"===w||"bottom"===w?(o=w,a=x===(await (null==c.isRTL?void 0:c.isRTL(h.floating))?"start":"end")?"left":"right"):(a=w,o="end"===x?"top":"bottom");let C=S-g.top-g.bottom,R=E-g.left-g.right,A=i(S-g[o],C),k=i(E-g[a],R),N=!t.middlewareData.shift,T=A,L=k;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(L=R),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=C),N&&!x){let e=l(g.left,0),t=l(g.right,0),n=l(g.top,0),r=l(g.bottom,0);b?L=E-2*(0!==e||0!==t?e+t:l(g.left,g.right)):T=S-2*(0!==n||0!==r?n+r:l(g.top,g.bottom))}await m({...t,availableWidth:L,availableHeight:T});let P=await c.getDimensions(h.floating);return E!==P.width||S!==P.height?{reset:{rects:!0}}:{}}}},ew=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=d(e,t);switch(o){case"referenceHidden":{let e=N(await r.detectOverflow(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:T(e)}}}case"escaped":{let e=N(await r.detectOverflow(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:T(e)}}}default:return{}}}}},ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:a,platform:s,elements:u,middlewareData:c}=t,{element:f,padding:y=0}=d(e,t)||{};if(null==f)return{};let g=S(y),w={x:n,y:r},x=h(v(o)),b=m(x),E=await s.getDimensions(f),C="y"===x,R=C?"clientHeight":"clientWidth",A=a.reference[b]+a.reference[x]-w[x]-a.floating[b],k=w[x]-a.reference[x],N=await (null==s.getOffsetParent?void 0:s.getOffsetParent(f)),T=N?N[R]:0;T&&await (null==s.isElement?void 0:s.isElement(N))||(T=u.floating[R]||a.floating[b]);let L=T/2-E[b]/2-1,P=i(g[C?"top":"left"],L),O=i(g[C?"bottom":"right"],L),j=T-E[b]-O,M=T/2-E[b]/2+(A/2-k/2),D=l(P,i(M,j)),I=!c.arrow&&null!=p(o)&&M!==D&&a.reference[b]/2-(M<P?P:O)-E[b]/2<0,W=I?M<P?M-P:M-j:0;return{[x]:w[x]+W,data:{[x]:D,centerOffset:M-D-W,...I&&{alignmentOffset:W}},reset:I}}}),eb=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=d(e,t),c={x:n,y:r},p=v(o),m=h(p),y=c[m],g=c[p],w=d(a,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(s){let e="y"===m?"height":"width",t=i.reference[m]-i.floating[e]+x.mainAxis,n=i.reference[m]+i.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(u){var b,E;let e="y"===m?"width":"height",t=L.has(f(o)),n=i.reference[p]-i.floating[e]+(t&&(null==(b=l.offset)?void 0:b[p])||0)+(t?0:x.crossAxis),r=i.reference[p]+i.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[p])||0)-(t?x.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[m]:y,[p]:g}}}},eE=(e,t,n)=>{let r=new Map,o={platform:ef,...n},i={...o.platform,_c:r};return k(e,t,{...o,platform:i})}},69305:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(30649).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},73561:(e,t,n)=>{n.d(t,{BN:()=>p,ER:()=>h,Ej:()=>v,UE:()=>g,UU:()=>m,cY:()=>f,jD:()=>y,we:()=>d});var r=n(66359),o=n(51813),i=n(81096),l="undefined"!=typeof document?o.useLayoutEffect:function(){};function a(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(!a(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)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function s(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=s(e);return Math.round(t*n)/n}function c(e){let t=o.useRef(e);return l(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:y}=e,[g,w]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,b]=o.useState(d);a(x,d)||b(d);
1let[E,S]=o.useState(null),[C,R]=o.useState(null),A=o.useCallback(e=>{e!==L.current&&(L.current=e,S(e))},[]),k=o.useCallback(e=>{e!==P.current&&(P.current=e,R(e))},[]),N=p||E,T=h||C,L=o.useRef(null),P=o.useRef(null),O=o.useRef(g),j=null!=v,M=c(v),D=c(f),I=c(y),W=o.useCallback(()=>{if(!L.current||!P.current)return;let e={placement:t,strategy:n,middleware:x};D.current&&(e.platform=D.current),(0,r.rD)(L.current,P.current,e).then(e=>{let t={...e,isPositioned:!1!==I.current};F.current&&!a(O.current,t)&&(O.current=t,i.flushSync(()=>{w(t)}))})},[x,t,n,D,I]);l(()=>{!1===y&&O.current.isPositioned&&(O.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[y]);let F=o.useRef(!1);l(()=>(F.current=!0,()=>{F.current=!1}),[]),l(()=>{if(N&&(L.current=N),T&&(P.current=T),N&&T){if(M.current)return M.current(N,T,W);W()}},[N,T,W,M,j]);let _=o.useMemo(()=>({reference:L,floating:P,setReference:A,setFloating:k}),[A,k]),H=o.useMemo(()=>({reference:N,floating:T}),[N,T]),B=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!H.floating)return e;let t=u(H.floating,g.x),r=u(H.floating,g.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...s(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,H.floating,g.x,g.y]);return o.useMemo(()=>({...g,update:W,refs:_,elements:H,floatingStyles:B}),[g,W,_,H,B])}let f=(e,t)=>{let n=(0,r.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,r.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},h=(e,t)=>({fn:(0,r.ER)(e).fn,options:[e,t]}),m=(e,t)=>{let n=(0,r.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{let n=(0,r.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{let n=(0,r.jD)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(t):{}:n?(0,r.UE)({element:n,padding:o}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}}},76617:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(51813);function o(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},76932:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(30649).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},80815:(e,t,n)=>{n.d(t,{Eq:()=>u});var r=new WeakMap,o=new WeakMap,i={},l=0,a=function(e){return e&&(e.host||a(e.parentNode))},s=function(e,t,n,s){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=a(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});i[n]||(i[n]=new WeakMap);var c=i[n],d=[],f=new Set,p=new Set(u),h=function(e){!e||f.has(e)||(f.add(e),h(e.parentNode))};u.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))m(e);else try{var t=e.getAttribute(s),i=null!==t&&"false"!==t,l=(r.get(e)||0)+1,a=(c.get(e)||0)+1;r.set(e,l),c.set(e,a),d.push(e),1===l&&i&&o.set(e,!0),1===a&&e.setAttribute(n,"true"),i||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),f.clear(),l++,function(){d.forEach(function(e){var t=r.get(e)-1,i=c.get(e)-1;r.set(e,t),c.set(e,i),t||(o.has(e)||e.removeAttribute(s),o.delete(e)),i||e.removeAttribute(n)}),--l||(r=new WeakMap,r=new WeakMap,o=new WeakMap,i={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),s(r,o,n,"aria-hidden")):function(){return null}}},86725:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(51813),o=globalThis?.document?r.useLayoutEffect:()=>{}},88552:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(51813),o=n(75681);function i(e,t=[]){let n=[],l=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return l.scopeName=e,[function(t,i){let l=r.createContext(i),a=n.length;n=[...n,i];let s=t=>{let{scope:n,children:i,...s}=t,u=n?.[e]?.[a]||l,c=r.useMemo(()=>s,Object.values(s));return(0,o.jsx)(u.Provider,{value:c,children:i})};return s.displayName=t+"Provider",[s,function(n,o){let s=o?.[e]?.[a]||l,u=r.useContext(s);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(l,...t)]}},88851:(e,t,n)=>{n.d(t,{b:()=>s});var r=n(51813);n(81096);var o=n(52921),i=n(75681),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=(0,o.TL)(`Primitive.${t}`),l=r.forwardRef((e,r)=>{let{asChild:o,...l}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?n:t,{...l,ref:r})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),a=r.forwardRef((e,t)=>(0,i.jsx)(l.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var s=a},89539:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(30649).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},96894:(e,t,n)=>{n.d(t,{TL:()=>l});var r=n(51813),o=n(90918),i=n(75681);function l(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var l;let e,a,s=(l=n,(a=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(a=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),u=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,o.t)(t,s):s),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:o,...l}=e,a=r.Children.toArray(o),u=a.find(s);if(u){let e=u.props.children,o=a.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,i.jsx)(t,{...l,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}var a=Symbol("radix.slottable");function s(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}},98252:(e,t,n)=>{n.d(t,{A:()=>V});var r,o,i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function l(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}Object.create;Object.create;var a=("function"==typeof SuppressedError&&SuppressedError,n(51813)),s="right-scroll-bar-position",u="width-before-scroll-bar";function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var d="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,f=new WeakMap;function p(e){return e}var h=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=p),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},l=function(){return Promise.resolve().then(i)};l(),n={push:function(e){t.push(e),l()},filter:function(e){return t=t.filter(e),n}}}});return o.options=i({async:!0,ssr:!1},e),o}(),m=function(){},v=a.forwardRef(function(e,t){var n,r,o,s,u=a.useRef(null),p=a.useState({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:m}),v=p[0],y=p[1],g=e.forwardProps,w=e.children,x=e.className,b=e.removeScrollBar,E=e.enabled,S=e.shards,C=e.sideCar,R=e.noRelative,A=e.noIsolation,k=e.inert,N=e.allowPinchZoom,T=e.as,L=e.gapMode,P=l(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=(n=[u,t],r=function(e){return n.forEac
1h(function(t){return c(t,e)})},(o=(0,a.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,s=o.facade,d(function(){var e=f.get(s);if(e){var t=new Set(e),r=new Set(n),o=s.current;t.forEach(function(e){r.has(e)||c(e,null)}),r.forEach(function(e){t.has(e)||c(e,o)})}f.set(s,n)},[n]),s),j=i(i({},P),v);return a.createElement(a.Fragment,null,E&&a.createElement(C,{sideCar:h,removeScrollBar:b,shards:S,noRelative:R,noIsolation:A,inert:k,setCallbacks:y,allowPinchZoom:!!N,lockRef:u,gapMode:L}),g?a.cloneElement(a.Children.only(w),i(i({},j),{ref:O})):a.createElement(void 0===T?"div":T,i({},j,{className:x,ref:O}),w))});v.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v.classNames={fullWidth:u,zeroRight:s};var y=function(e){var t=e.sideCar,n=l(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 a.createElement(r,i({},n))};y.isSideCarExport=!0;var g=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,l;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),l=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(l)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=g();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},x=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},b={left:0,top:0,right:0,gap:0},E=function(e){return parseInt(e||"",10)||0},S=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[E(n),E(r),E(o)]},C=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return b;var t=S(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])}},R=x(),A="data-scroll-locked",k=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(a,"px ").concat(r,";\n  }\n  body[").concat(A,"] {\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(l,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(a,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(s," {\n    right: ").concat(a,"px ").concat(r,";\n  }\n  \n  .").concat(u," {\n    margin-right: ").concat(a,"px ").concat(r,";\n  }\n  \n  .").concat(s," .").concat(s," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(u," .").concat(u," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(A,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n  }\n")},N=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},T=function(){a.useEffect(function(){return document.body.setAttribute(A,(N()+1).toString()),function(){var e=N()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},L=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;T();var i=a.useMemo(function(){return C(o)},[o]);return a.createElement(R,{styles:k(i,!t,o,n?"":"!important")})},P=!1;if("undefined"!=typeof window)try{var O=Object.defineProperty({},"passive",{get:function(){return P=!0,!0}});window.addEventListener("test",O,O),window.removeEventListener("test",O,O)}catch(e){P=!1}var j=!!P&&{passive:!1},M=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])},D=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),I(e,r)){var o=W(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},I=function(e,t){return"v"===e?M(t,"overflowY"):M(t,"overflowX")},W=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},F=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,s=n.target,u=t.contains(s),c=!1,d=a>0,f=0,p=0;
1do{if(!s)break;var h=W(e,s),m=h[0],v=h[1]-h[2]-l*m;(m||v)&&I(e,s)&&(f+=v,p+=m);var y=s.parentNode;s=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return d&&(o&&1>Math.abs(f)||!o&&a>f)?c=!0:!d&&(o&&1>Math.abs(p)||!o&&-a>p)&&(c=!0),c},_=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},H=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},K=0,z=[];let U=(r=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(K++)[0],i=a.useState(x)[0],l=a.useRef(e);a.useEffect(function(){l.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(B),!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 s=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,i=_(e),a=n.current,s="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var h=D(d,c);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=D(d,c)),!h)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=o),!o)return!0;var m=r.current||o;return F(m,t,e,"h"===m?s:u,!0)},[]),u=a.useCallback(function(e){if(z.length&&z[z.length-1]===i){var n="deltaY"in e?H(e):_(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=(l.current.shards||[]).map(B).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=a.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)},[]),d=a.useCallback(function(e){n.current=_(e),r.current=void 0},[]),f=a.useCallback(function(t){c(t.type,H(t),t.target,s(t,e.lockRef.current))},[]),p=a.useCallback(function(t){c(t.type,_(t),t.target,s(t,e.lockRef.current))},[]);a.useEffect(function(){return z.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,j),document.addEventListener("touchmove",u,j),document.addEventListener("touchstart",d,j),function(){z=z.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,j),document.removeEventListener("touchmove",u,j),document.removeEventListener("touchstart",d,j)}},[]);var h=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?a.createElement(L,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},h.useMedium(r),y);var $=a.forwardRef(function(e,t){return a.createElement(v,i({},e,{ref:t,sideCar:U}))});$.classNames=v.classNames;let V=$}}]);

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.