1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5357],{861:(e,t,n)=>{n.d(t,{Qg:()=>i,bL:()=>s});var r=n(12115),o=n(97602),l=n(95155),i=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"}),a=r.forwardRef((e,t)=>(0,l.jsx)(o.sG.span,{...e,ref:t,style:{...i,...e.style}}));a.displayName="VisuallyHidden";var s=a},12108:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},19526:(e,t,n)=>{n.d(t,{Oh:()=>l});var r=n(12115),o=0;function l(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:i()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:i()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function i(){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}},24033:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},43711:(e,t,n)=>{n.d(t,{C:()=>i,f:()=>a});var r=n(71450);function o(e){return e}function l(e,t){void 0===t&&(t=o);var n=[],r=!1;return{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]:e},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 l=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(l)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}function i(e,t){return void 0===t&&(t=o),l(e,t)}function a(e){void 0===e&&(e={});var t=l(null);return t.options=(0,r.Cl)({async:!0,ssr:!1},e),t}},44831:(e,t,n)=>{n.d(t,{qW:()=>f});var r,o=n(12115),l=n(92556),i=n(97602),a=n(94446),s=n(70222),u=n(95155),c="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=o.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:x,...b}=e,E=o.useContext(d),[S,C]=o.useState(null),R=null!=(f=null==S?void 0:S.ownerDocument)?f:null==(n=globalThis)?void 0:n.document,[,A]=o.useState({}),k=(0,a.s)(t,e=>C(e)),N=Array.from(E.layers),[T]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),P=N.indexOf(T),L=S?N.indexOf(S):-1,j=E.layersWithOutsidePointerEventsDisabled.size>0,M=L>=P,I=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,s.c)(e),l=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!l.current){let t=function(){h("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);l.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>l.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));M&&!n&&(null==g||g(e),null==w||w(e),e.defaultPrevented||null==x||x())},R),D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,s.c)(e),l=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!l.current&&h("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}(e=>{let t=e.target;![...E.branches].some(e=>e.contains(t))&&(null==y||y(e),null==w||w(e),e.defaultPrevented||null==x||x())},R);return!function(e,t=globalThis?.document){let n=(0,s.c)(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=>{L===E.layers.size-1&&(null==m||m(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},R),o.useEffect(()=>{if(S)return v&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(S)),E.layers.add(S),p(),()=>{v&&1===E.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r)}},[S,R,v,E]),o.useEffect(()=>()=>{S&&(E.layers.delete(S),E.layersWithOutsidePointerEventsDisabled.delete(S),p())},[S,E]),o.useEffect(()=>{let e=()=>A({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(i.sG.div,{...b,ref:k,style:{pointerEvents:j?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,l.mK)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,l.mK)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,l.mK)(e.onPointerDownCapture,I.onPointerDownCapture)})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function h(e,t,n,r){let{discrete:o}=r,l=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&l.addEventListener(e,t,{once:!0}),o?(0,i.hO)(l,a):l.dispatchEvent(a)}f.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(d),r=o.useRef(null),l=(0,a.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(i.sG.div,{...e,ref:l})}).displayName="DismissableLayerBranch"},49972:(e,t,n)=>{function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function o(e,t){var n=r(e,t,"get");return n.get?n.get.call(e):n.value}function l(e,t,n){var o=r(e,t,"set");if(o.set)o.set.call(e,n);else{if(!o.writable)throw TypeError("attempted to set read only private field");o.value=n}return n}n.d(t,{N:()=>f});var i,a=n(12115),s=n(3468),u=n(94446),c=n(32467),d=n(95155);function f(e){let t=e+"CollectionProvider",[n,r]=(0,s.A)(t),[o,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=e=>{let{scope:t,children:n}=e,r=a.useRef(null),l=a.useRef(new Map).current;return(0,d.jsx)(o,{scope:t,itemMap:l,collectionRef:r,children:n})};i.displayName=t;let f=e+"CollectionSlot",p=(0,c.TL)(f),h=a.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=l(f,n),i=(0,u.s)(t,o.collectionRef);return(0,d.jsx)(p,{ref:i,children:r})});h.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",g=(0,c.TL)(v),y=a.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,i=a.useRef(null),s=(0,u.s)(t,i),c=l(v,n);return a.useEffect(()=>(c.itemMap.set(i,{ref:i,...o}),()=>void c.itemMap.delete(i))),(0,d.jsx)(g,{...{[m]:""},ref:s,children:r})});return y.displayName=v,[{Provider:i,Slot:h,ItemSlot:y},function(t){let n=l(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));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 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=v(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}(e,t);return -1===n?void 0:e[n]}function v(e){return e!=e||0===e?0:Math.trunc(e)}i=new WeakMap,class e extends Map{set(e,t){return p.get(this)&&(this.has(e)?o(this,i)[o(this,i).indexOf(e)]=e:o(this,i).push(e)),super.set(e,t),this}insert(e,t,n){let r,l=this.has(t),a=o(this,i).length,s=v(e),u=s>=0?s:a+s,c=u<0||u>=a?-1:u;if(c===this.size||l&&c===this.size-1||-1===c)return this.set(t,n),this;let d=this.size+ +!l;s<0&&u++;let f=[...o(this,i)],p=!1;for(let e=u;e<d;e++)if(u===e){let o=f[e];f[e]===t&&(o=f[e+1]),l&&this.delete(t),r=this.get(o),this.set(t,n)}else{p||f[e-1]!==t||(p=!0);let n=f[p?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=o(this,i).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=o(this,i).indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=o(this,i).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=o(this,i).indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return l(this,i,[]),super.clear()}delete(e){let t=super.delete(e);return t&&o(this,i).splice(o(this,i).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=h(o(this,i),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=h(o(this,i),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return o(this,i).indexOf(e)}keyAt(e){return h(o(this,i),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,l=0,i=null!=o?o:this.at(0);for(let e of this)i=0===l&&1===t.length?e:Reflect.apply(r,this,[i,e,l,this]),l++;return i}reduceRight(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,l=null!=o?o:this.at(-1);for(let e=this.size-1;e>=0;e--){let n=this.at(e);l=e===this.size-1&&1===t.length?n:Reflect.apply(r,this,[l,n,e,this])}return l}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}constructor(e){super(e),function(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}(this,i,{writable:!0,value:void 0}),l(this,i,[...super.keys()]),p.set(this,!0)}}},66218:(e,t,n)=>{n.d(t,{jH:()=>l});var r=n(12115);n(95155);var o=r.createContext(void 0);function l(e){let t=r.useContext(o);return e||t||"ltr"}},68946:(e,t,n)=>{n.d(t,{B:()=>s});var r,o=n(12115),l=n(4129),i=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function s(e){let[t,n]=o.useState(i());
1return(0,l.N)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},69666:(e,t,n)=>{n.d(t,{n:()=>d});var r=n(12115),o=n(94446),l=n(97602),i=n(70222),a=n(95155),s="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:m,onUnmountAutoFocus:g,...y}=e,[w,x]=r.useState(null),b=(0,i.c)(m),E=(0,i.c)(g),S=r.useRef(null),C=(0,o.s)(t,e=>x(e)),R=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(R.paused||!w)return;let t=e.target;w.contains(t)?S.current=t:h(S.current,{select:!0})},t=function(e){if(R.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||h(S.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&&h(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,w,R.paused]),r.useEffect(()=>{if(w){v.add(R);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(s,c);w.addEventListener(s,b),w.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(h(r,{select:t}),document.activeElement!==n)return}(f(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(w))}return()=>{w.removeEventListener(s,b),setTimeout(()=>{let t=new CustomEvent(u,c);w.addEventListener(u,E),w.dispatchEvent(t),t.defaultPrevented||h(null!=e?e:document.body,{select:!0}),w.removeEventListener(u,E),v.remove(R)},0)}}},[w,b,E,R]);let A=r.useCallback(e=>{if(!n&&!d||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,l]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&l?e.shiftKey||r!==l?e.shiftKey&&r===o&&(e.preventDefault(),n&&h(l,{select:!0})):(e.preventDefault(),n&&h(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,R.paused]);return(0,a.jsx)(l.sG.div,{tabIndex:-1,...y,ref:C,onKeyDown:A})});function f(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 h(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()}}d.displayName="FocusScope";var v=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=m(e,t)).unshift(t)},remove(t){var n;null==(n=(e=m(e,t))[0])||n.resume()}}}();function m(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},70222:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(12115);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},75433:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(12115),o=n(47650),l=n(97602),i=n(4129),a=n(95155),s=r.forwardRef((e,t)=>{var n,s;let{container:u,...c}=e,[d,f]=r.useState(!1);(0,i.N)(()=>f(!0),[]);let p=u||d&&(null==(s=globalThis)||null==(n=s.document)?void 0:n.body);return p?o.createPortal((0,a.jsx)(l.sG.div,{...c,ref:t}),p):null});s.displayName="Portal"},77140:(e,t,n)=>{n.d(t,{A:()=>z});var r,o,l=n(71450),i=n(12115),a="right-scroll-bar-position",s="width-before-scroll-bar",u=n(78357),c=(0,n(43711).f)(),d=function(){},f=i.forwardRef(function(e,t){var n=i.useRef(null),r=i.useState({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:d}),o=r[0],a=r[1],s=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,v=e.enabled,m=e.shards,g=e.sideCar,y=e.noRelative,w=e.noIsolation,x=e.inert,b=e.allowPinchZoom,E=e.as,S=e.gapMode,C=(0,l.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(0,u.S)([n,t]),A=(0,l.Cl)((0,l.Cl)({},C),o);return i.createElement(i.Fragment,null,v&&i.createElement(g,{sideCar:c,removeScrollBar:h,shards:m,noRelative:y,noIsolation:w,inert:x,setCallbacks:a,allowPinchZoom:!!b,lockRef:n,gapMode:S}),s?i.cloneElement(i.Children.only(f),(0,l.Cl)((0,l.Cl)({},A),{ref:R})):i.createElement(void 0===E?"div":E,(0,l.Cl)({},A,{className:p,ref:R}),f))});f.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},f.classNames={fullWidth:s,zeroRight:a};
1var p=function(e){var t=e.sideCar,n=(0,l.Tt)(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 i.createElement(r,(0,l.Cl)({},n))};p.isSideCarExport=!0;var h=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 l,i;(l=t).styleSheet?l.styleSheet.cssText=r:l.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},v=function(){var e=h();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},m=function(){var e=v();return function(t){return e(t.styles,t.dynamic),null}},g={left:0,top:0,right:0,gap:0},y=function(e){return parseInt(e||"",10)||0},w=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[y(n),y(r),y(o)]},x=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return g;var t=w(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])}},b=m(),E="data-scroll-locked",S=function(e,t,n,r){var o=e.left,l=e.top,i=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body[").concat(E,"] {\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(l,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(a," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(s," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(a," .").concat(a," {\n right: 0 ").concat(r,";\n }\n \n .").concat(s," .").concat(s," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(E,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},C=function(){var e=parseInt(document.body.getAttribute(E)||"0",10);return isFinite(e)?e:0},R=function(){i.useEffect(function(){return document.body.setAttribute(E,(C()+1).toString()),function(){var e=C()-1;e<=0?document.body.removeAttribute(E):document.body.setAttribute(E,e.toString())}},[])},A=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;R();var l=i.useMemo(function(){return x(o)},[o]);return i.createElement(b,{styles:S(l,!t,o,n?"":"!important")})},k=!1;if("undefined"!=typeof window)try{var N=Object.defineProperty({},"passive",{get:function(){return k=!0,!0}});window.addEventListener("test",N,N),window.removeEventListener("test",N,N)}catch(e){k=!1}var T=!!k&&{passive:!1},P=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])},L=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),j(e,r)){var o=M(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},j=function(e,t){return"v"===e?P(t,"overflowY"):P(t,"overflowX")},M=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},I=function(e,t,n,r,o){var l,i=(l=window.getComputedStyle(t).direction,"h"===e&&"rtl"===l?-1:1),a=i*r,s=n.target,u=t.contains(s),c=!1,d=a>0,f=0,p=0;do{if(!s)break;var h=M(e,s),v=h[0],m=h[1]-h[2]-i*v;(v||m)&&j(e,s)&&(f+=m,p+=v);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}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},D=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},O=function(e){return[e.deltaX,e.deltaY]},K=function(e){return e&&"current"in e?e.current:e},W=0,B=[];let F=(r=function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(W++)[0],a=i.useState(m)[0],s=i.useRef(e);i.useEffect(function(){s.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,l.fX)([e.lockRef.current],(e.shards||[]).map(K),!0).filter(
1Boolean);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 u=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var o,l=D(e),i=n.current,a="deltaX"in e?e.deltaX:i[0]-l[0],u="deltaY"in e?e.deltaY:i[1]-l[1],c=e.target,d=Math.abs(a)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=L(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=L(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(a||u)&&(r.current=o),!o)return!0;var p=r.current||o;return I(p,t,e,"h"===p?a:u,!0)},[]),c=i.useCallback(function(e){if(B.length&&B[B.length-1]===a){var n="deltaY"in e?O(e):D(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=(s.current.shards||[]).map(K).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=i.useCallback(function(e,n,r,o){var l={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(l),setTimeout(function(){t.current=t.current.filter(function(e){return e!==l})},1)},[]),f=i.useCallback(function(e){n.current=D(e),r.current=void 0},[]),p=i.useCallback(function(t){d(t.type,O(t),t.target,u(t,e.lockRef.current))},[]),h=i.useCallback(function(t){d(t.type,D(t),t.target,u(t,e.lockRef.current))},[]);i.useEffect(function(){return B.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,T),document.addEventListener("touchmove",c,T),document.addEventListener("touchstart",f,T),function(){B=B.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,T),document.removeEventListener("touchmove",c,T),document.removeEventListener("touchstart",f,T)}},[]);var v=e.removeScrollBar,g=e.inert;return i.createElement(i.Fragment,null,g?i.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?i.createElement(A,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},c.useMedium(r),p);var H=i.forwardRef(function(e,t){return i.createElement(f,(0,l.Cl)({},e,{ref:t,sideCar:F}))});H.classNames=f.classNames;let z=H},78357:(e,t,n)=>{n.d(t,{S:()=>a});var r=n(12115);function o(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var l="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,i=new WeakMap;function a(e,t){var n,a,s,u=(n=t||null,a=function(t){return e.forEach(function(e){return o(e,t)})},(s=(0,r.useState)(function(){return{value:n,callback:a,facade:{get current(){return s.value},set current(value){var e=s.value;e!==value&&(s.value=value,s.callback(value,e))}}}})[0]).callback=a,s.facade);return l(function(){var t=i.get(u);if(t){var n=new Set(t),r=new Set(e),l=u.current;n.forEach(function(e){r.has(e)||o(e,null)}),r.forEach(function(e){n.has(e)||o(e,l)})}i.set(u,e)},[e]),u}},82436:(e,t,n)=>{n.d(t,{UC:()=>e5,YJ:()=>e6,In:()=>e0,q7:()=>e7,VF:()=>e8,p4:()=>e9,JU:()=>e4,ZL:()=>e1,bL:()=>eJ,wn:()=>te,PP:()=>e3,wv:()=>tt,l9:()=>eQ,WT:()=>e$,LM:()=>e2});var r=n(12115),o=n(47650);function l(e,[t,n]){return Math.min(n,Math.max(t,e))}var i=n(92556),a=n(49972),s=n(94446),u=n(3468),c=n(66218),d=n(44831),f=n(19526),p=n(69666),h=n(68946),v=n(88334),m=n(58146),g=n(97602),y=n(95155),w=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...l}=e;return(0,y.jsx)(g.sG.svg,{...l,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,y.jsx)("polygon",{points:"0,0 30,0 15,10"})})});w.displayName="Arrow";var x=n(70222),b=n(4129),E=n(84288),S="Popper",[C,R]=(0,u.A)(S),[A,k]=C(S),N=e=>{let{__scopePopper:t,children:n}=e,[o,l]=r.useState(null);return(0,y.jsx)(A,{scope:t,anchor:o,onAnchorChange:l,children:n})};N.displayName=S;var T="PopperAnchor",P=r.forwardRef((e,t)=>
1{let{__scopePopper:n,virtualRef:o,...l}=e,i=k(T,n),a=r.useRef(null),u=(0,s.s)(t,a),c=r.useRef(null);return r.useEffect(()=>{let e=c.current;c.current=(null==o?void 0:o.current)||a.current,e!==c.current&&i.onAnchorChange(c.current)}),o?null:(0,y.jsx)(g.sG.div,{...l,ref:u})});P.displayName=T;var L="PopperContent",[j,M]=C(L),I=r.forwardRef((e,t)=>{var n,o,l,i,a,u,c,d;let{__scopePopper:f,side:p="bottom",sideOffset:h=0,align:w="center",alignOffset:S=0,arrowPadding:C=0,avoidCollisions:R=!0,collisionBoundary:A=[],collisionPadding:N=0,sticky:T="partial",hideWhenDetached:P=!1,updatePositionStrategy:M="optimized",onPlaced:I,...D}=e,O=k(L,f),[K,H]=r.useState(null),z=(0,s.s)(t,e=>H(e)),[_,G]=r.useState(null),U=(0,E.X)(_),V=null!=(c=null==U?void 0:U.width)?c:0,Y=null!=(d=null==U?void 0:U.height)?d:0,X="number"==typeof N?N:{top:0,right:0,bottom:0,left:0,...N},q=Array.isArray(A)?A:[A],Z=q.length>0,J={padding:X,boundary:q.filter(W),altBoundary:Z},{refs:Q,floatingStyles:$,placement:ee,isPositioned:et,middlewareData:en}=(0,v.we)({strategy:"fixed",placement:p+("center"!==w?"-"+w:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,m.ll)(...t,{animationFrame:"always"===M})},elements:{reference:O.anchor},middleware:[(0,v.cY)({mainAxis:h+Y,alignmentAxis:S}),R&&(0,v.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===T?(0,v.ER)():void 0,...J}),R&&(0,v.UU)({...J}),(0,v.Ej)({...J,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:l,height:i}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(l,"px")),a.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),_&&(0,v.UE)({element:_,padding:C}),B({arrowWidth:V,arrowHeight:Y}),P&&(0,v.jD)({strategy:"referenceHidden",...J})]}),[er,eo]=F(ee),el=(0,x.c)(I);(0,b.N)(()=>{et&&(null==el||el())},[et,el]);let ei=null==(n=en.arrow)?void 0:n.x,ea=null==(o=en.arrow)?void 0:o.y,es=(null==(l=en.arrow)?void 0:l.centerOffset)!==0,[eu,ec]=r.useState();return(0,b.N)(()=>{K&&ec(window.getComputedStyle(K).zIndex)},[K]),(0,y.jsx)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:et?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eu,"--radix-popper-transform-origin":[null==(i=en.transformOrigin)?void 0:i.x,null==(a=en.transformOrigin)?void 0:a.y].join(" "),...(null==(u=en.hide)?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,y.jsx)(j,{scope:f,placedSide:er,onArrowChange:G,arrowX:ei,arrowY:ea,shouldHideArrow:es,children:(0,y.jsx)(g.sG.div,{"data-side":er,"data-align":eo,...D,ref:z,style:{...D.style,animation:et?void 0:"none"}})})})});I.displayName=L;var D="PopperArrow",O={top:"bottom",right:"left",bottom:"top",left:"right"},K=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=M(D,n),l=O[o.placedSide];return(0,y.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[l]: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,y.jsx)(w,{...r,ref:t,style:{...r.style,display:"block"}})})});function W(e){return null!==e}K.displayName=D;var B=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,l,i;let{placement:a,rects:s,middlewareData:u}=t,c=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=F(a),v={start:"0%",center:"50%",end:"100%"}[h],m=(null!=(l=null==(r=u.arrow)?void 0:r.x)?l:0)+d/2,g=(null!=(i=null==(o=u.arrow)?void 0:o.y)?i:0)+f/2,y="",w="";return"bottom"===p?(y=c?v:"".concat(m,"px"),w="".concat(-f,"px")):"top"===p?(y=c?v:"".concat(m,"px"),w="".concat(s.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),w=c?v:"".concat(g,"px")):"left"===p&&(y="".concat(s.floating.width+f,"px"),w=c?v:"".concat(g,"px")),{data:{x:y,y:w}}}});function F(e){let[t,n="center"]=e.split("-");return[t,n]}var H=n(75433),z=n(32467),_=n(23558),G=n(78108),U=n(861),V=n(97745),Y=n(77140),X=[" ","Enter","ArrowUp","ArrowDown"],q=[" ","Enter"],Z="Select",[J,Q,$]=(0,a.N)(Z),[ee,et]=(0,u.A)(Z,[$,R]),en=R(),[er,eo]=ee(Z),[el,ei]=ee(Z),ea=e=>{let{__scopeSelect:t,children:n,open:o,defaultOpen:l,onOpenChange:i,value:a,defaultValue:s,onValueChange:u,dir:d,name:f,autoComplete:p,disabled:v,required:m,form:g}=e,w=en(t),[x,b]=r.useState(null),[E,S]=r.useState(null),[C,R]=r.useState(!1),A=(0,c.jH)(d),[k,T]=(0,_.i)({prop:o,defaultProp:null!=l&&l,onChange:i,caller:Z}),[P,L]=(0,_.i)({prop:a,defaultProp:s,onChange:u,caller:Z}),j=r.useRef(null),M=!x||g||!!x.closest("form"),[I,D]=r.useState(new Set),O=Array.from(I).map(e=>e.props.value).join(";");return(0,y.jsx)(N,{...w,children:(0,y.jsxs)(er,{required:m,scope:t,trigger:x,onTriggerChange:b,valueNode:E,onValueNodeChange:S,valueNodeHasChildren:C,onValueNodeHasChildrenChange:R,contentId:(0,h.B)(),value:P,onValueChange:L,open:k,onOpenChange:T,dir:A,triggerPointerDownPosRef:j,disabled:v,children:[(0,y.jsx)(J.Provider,{scope:t,children:(0,y.jsx)(el,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{D(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{D(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),M?(0,y.jsxs)(eY,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:p,value:P,onChange:e=>L(e.target.value),disabled:v,form:g,children:[void 0===P?(0,y.jsx)("option",{value:""}):null,Array.from(I)]},O):null]})})};ea.displayName=Z;var es="SelectTrigger",eu=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,disabled:o=!1,...l}=e,a=en(n),u=eo(es,n),c=u.disabled||o,d=(0,s.s)(t,u.onTriggerChange),f=Q(n),p=r.useRef("touch"),[h,v,m]=eq(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=eZ(t,e,n);void 0!==r&&u.onValueChange(r.value)}),w=e=>{c||(u.onOpenChange(!0),m()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,y.jsx)(P,{asChild:!0,...a,children:(0,y.jsx)(g.sG.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":eX(u.value)?"":void 0,...l,ref:d,onClick:(0,i.mK)(l.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&w(e)}),onPointerDown:(0,i.mK)(l.onPointerDown,e=>{p.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,i.mK)(l.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||v(e.key),(!t||" "!==e.key)&&X.includes(e.key)&&(w(),e.preventDefault())})})})});eu.displayName=es;var ec="SelectValue",ed=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:o,children:l,placeholder:i="",...a}=e,u=eo(ec,n),{onValueNodeHasChildrenChange:c}=u,d=void 0!==l,f=(0,s.s)(t,u.onValueNodeChange);return(0,b.N)(()=>{c(d)},[c,d]),(0,y.jsx)(g.sG.span,{...a,ref:f,style:{pointerEvents:"none"},children:eX(u.value)?(0,y.jsx)(y.Fragment,{children:i}):l})});ed.displayName=ec;var ef=r.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...o}=e;return(0,y.jsx)(g.sG.span,{"aria-hidden":!0,...o,ref:t,children:r||"â¼"})});ef.displayName="SelectIcon";var ep=e=>(0,y.jsx)(H.Z,{asChild:!0,...e});ep.displayName="SelectPortal";var eh="SelectContent",ev=r.forwardRef((e,t)=>{let n=eo(eh,e.__scopeSelect),[l,i]=r.useState();return((0,b.N)(()=>{i(new DocumentFragment)},[]),n.open)?(0,y.jsx)(ew,{...e,ref:t}):l?o.createPortal((0,y.jsx)(em,{scope:e.__scopeSelect,children:(0,y.jsx)(J.Slot,{scope:e.__scopeSelect,children:(0,y.jsx)("div",{children:e.children})})}),l):null});ev.displayName=eh;var[em,eg]=ee(eh),ey=(0,z.TL)("SelectContent.RemoveScroll"),ew=r.forwardRef((e,t)=>{let{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:a,onPointerDownOutside:u,side:c,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:w,collisionPadding:x,sticky:b,hideWhenDetached:E,avoidCollisions:S,...C}=e,R=eo(eh,n),[A,k]=r.useState(null),[N,T]=r.useState(null),P=(0,s.s)(t,e=>k(e)),[L,j]=r.useState(null),[M,I]=r.useState(null),D=Q(n),[O,K]=r.useState(!1),W=r.useRef(!1);r.useEffect(()=>{if(A)return(0,V.Eq)(A)},[A]),(0,f.Oh)();let B=r.useCallback(e=>{let[t,...n]=D().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(let n of e)if(n===o||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&N&&(N.scrollTop=0),n===r&&N&&(N.scrollTop=N.scrollHeight),null==n||n.focus(),document.activeElement!==o))return},[D,N]),F=r.useCallback(()=>B([L,A]),[B,L,A]);r.useEffect(()=>{O&&F()},[O,F]);let{onOpenChange:H,triggerPointerDownPosRef:z}=R;r.useEffect(()=>{if(A){let e={x:0,y:0},t=t=>{var n,r,o,l;e={x:Math.abs(Math.round(t.pageX)-(null!=(o=null==(n=z.current)?void 0:n.x)?o:0)),y:Math.abs(Math.round(t.pageY)-(null!=(l=null==(r=z.current)?void 0:r.y)?l:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():A.contains(n.target)||H(!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,H,z]),r.useEffect(()=>{let e=()=>H(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[H]);let[_,G]=eq(e=>{let t=D().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eZ(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),U=r.useCallback((e,t,n)=>{let r=!W.current&&!n;(void 0!==R.value&&R.value===t||r)&&(j(e),r&&(W.current=!0))},[R.value]),X=r.useCallback(()=>null==A?void 0:A.focus(),[A]),q=r.useCallback((e,t,n)=>{let r=!W.current&&!n;(void 0!==R.value&&R.value===t||r)&&I(e)},[R.value]),Z="popper"===o?eb:ex,J=Z===eb?{side:c,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:w,collisionPadding:x,sticky:b,hideWhenDetached:E,avoidCollisions:S}:{};return(0,y.jsx)(em,{scope:n,content:A,viewport:N,onViewportChange:T,itemRefCallback:U,selectedItem:L,onItemLeave:X,itemTextRefCallback:q,focusSelectedItem:F,selectedItemText:M,position:o,isPositioned:O,searchRef:_,children:(0,y.jsx)(Y.A,{as:ey,allowPinchZoom:!0,children:(0,y.jsx)(p.n,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.mK)(l,e=>{var t;
1null==(t=R.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,y.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,y.jsx)(Z,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...C,...J,onPlaced:()=>K(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,i.mK)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||G(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=D().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(()=>B(t)),e.preventDefault()}})})})})})})});ew.displayName="SelectContentImpl";var ex=r.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:o,...i}=e,a=eo(eh,n),u=eg(eh,n),[c,d]=r.useState(null),[f,p]=r.useState(null),h=(0,s.s)(t,e=>p(e)),v=Q(n),m=r.useRef(!1),w=r.useRef(!0),{viewport:x,selectedItem:E,selectedItemText:S,focusSelectedItem:C}=u,R=r.useCallback(()=>{if(a.trigger&&a.valueNode&&c&&f&&x&&E&&S){let e=a.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),r=S.getBoundingClientRect();if("rtl"!==a.dir){let o=r.left-t.left,i=n.left-o,a=e.left-i,s=e.width+a,u=Math.max(s,t.width),d=l(i,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=s+"px",c.style.left=d+"px"}else{let o=t.right-r.right,i=window.innerWidth-n.right-o,a=window.innerWidth-e.right-i,s=e.width+a,u=Math.max(s,t.width),d=l(i,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=s+"px",c.style.right=d+"px"}let i=v(),s=window.innerHeight-20,u=x.scrollHeight,d=window.getComputedStyle(f),p=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),g=parseInt(d.borderBottomWidth,10),y=p+h+u+parseInt(d.paddingBottom,10)+g,w=Math.min(5*E.offsetHeight,y),b=window.getComputedStyle(x),C=parseInt(b.paddingTop,10),R=parseInt(b.paddingBottom,10),A=e.top+e.height/2-10,k=E.offsetHeight/2,N=p+h+(E.offsetTop+k);if(N<=A){let e=i.length>0&&E===i[i.length-1].ref.current;c.style.bottom="0px";let t=Math.max(s-A,k+(e?R:0)+(f.clientHeight-x.offsetTop-x.offsetHeight)+g);c.style.height=N+t+"px"}else{let e=i.length>0&&E===i[0].ref.current;c.style.top="0px";let t=Math.max(A,p+x.offsetTop+(e?C:0)+k);c.style.height=t+(y-N)+"px",x.scrollTop=N-A+x.offsetTop}c.style.margin="".concat(10,"px 0"),c.style.minHeight=w+"px",c.style.maxHeight=s+"px",null==o||o(),requestAnimationFrame(()=>m.current=!0)}},[v,a.trigger,a.valueNode,c,f,x,E,S,a.dir,o]);(0,b.N)(()=>R(),[R]);let[A,k]=r.useState();(0,b.N)(()=>{f&&k(window.getComputedStyle(f).zIndex)},[f]);let N=r.useCallback(e=>{e&&!0===w.current&&(R(),null==C||C(),w.current=!1)},[R,C]);return(0,y.jsx)(eE,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:m,onScrollButtonChange:N,children:(0,y.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:A},children:(0,y.jsx)(g.sG.div,{...i,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});ex.displayName="SelectItemAlignedPosition";var eb=r.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:o=10,...l}=e,i=en(n);return(0,y.jsx)(I,{...i,...l,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...l.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)"}})});eb.displayName="SelectPopperPosition";var[eE,eS]=ee(eh,{}),eC="SelectViewport",eR=r.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:o,...l}=e,a=eg(eC,n),u=eS(eC,n),c=(0,s.s)(t,a.onViewportChange),d=r.useRef(0);return(0,y.jsxs)(y.Fragment,{children:[(0,y.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:o}),(0,y.jsx)(J.Slot,{scope:n,children:(0,y.jsx)(g.sG.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:(0,i.mK)(l.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if((null==r?void 0: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 l=o+e,i=Math.min(r,l),a=l-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});eR.displayName=eC;var eA="SelectGroup",[ek,eN]=ee(eA),eT=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e,o=(0,h.B)();return(0,y.jsx)(ek,{scope:n,id:o,children:(0,y.jsx)(g.sG.div,{role:"group","aria-labelledby":o,...r,ref:t})})});eT.displayName=eA;var eP="SelectLabel",eL=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=eN(eP,n);return(0,y.jsx)(g.sG.div,{id:o.id,...r,ref:t})});eL.displayName=eP;var ej="SelectItem",[eM,eI]=ee(ej),eD=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:o,disabled:l=!1,textValue:a,...u}=e,c=eo(ej,n),d=eg(ej,n),f=c.value===o,[p,v]=r.useState(null!=a?a:""),[m,w]=r.useState(!1),x=(0,s.s)(t,e=>{var t;return null==(t=d.itemRefCallback)?void 0:t.call(d,e,o,l)}),b=(0,h.B)(),E=r.useRef("touch"),S=()=>{l||(c.onValueChange(o),c.onOpenChange(!1))};if(""===o)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,y.jsx)(eM,{scope:n,value:o,disabled:l,textId:b,isSelected:f,onItemTextChange:r.useCallback(e=>{v(t=>{var n;return t||(null!=(n=null==e?void 0:e.textContent)?n:"").trim()})},[]),children:(0,y.jsx)(J.ItemSlot,{scope:n,value:o,disabled:l,textValue:p,children:(0,y.jsx)(g.sG.div,{role:"option","aria-labelledby":b,"data-highlighted":m?"":void 0,"aria-selected":f&&m,"data-state":f?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...u,ref:x,onFocus:(0,i.mK)(u.onFocus,()=>w(!0)),onBlur:(0,i.mK)(u.onBlur,()=>w(!1)),onClick:(0,i.mK)(u.onClick,()=>{"mouse"!==E.current&&S()}),onPointerUp:(0,i.mK)(u.onPointerUp,()=>{"mouse"===E.current&&S()}),onPointerDown:(0,i.mK)(u.onPointerDown,e=>{E.current=e.pointerType}),onPointerMove:(0,i.mK)(u.onPointerMove,e=>{if(E.current=e.pointerType,l){var t;null==(t=d.onItemLeave)||t.call(d)}else"mouse"===E.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,i.mK)(u.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=d.onItemLeave)||t.call(d)}}),onKeyDown:(0,i.mK)(u.onKeyDown,e=>{var t;((null==(t=d.searchRef)?void 0:t.current)===""||" "!==e.key)&&(q.includes(e.key)&&S()," "===e.key&&e.preventDefault())})})})})});eD.displayName=ej;var eO="SelectItemText",eK=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:l,style:i,...a}=e,u=eo(eO,n),c=eg(eO,n),d=eI(eO,n),f=ei(eO,n),[p,h]=r.useState(null),v=(0,s.s)(t,e=>h(e),d.onItemTextChange,e=>{var t;return null==(t=c.itemTextRefCallback)?void 0:t.call(c,e,d.value,d.disabled)}),m=null==p?void 0:p.textContent,w=r.useMemo(()=>(0,y.jsx)("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:x,onNativeOptionRemove:E}=f;return(0,b.N)(()=>(x(w),()=>E(w)),[x,E,w]),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(g.sG.span,{id:d.textId,...a,ref:v}),d.isSelected&&u.valueNode&&!u.valueNodeHasChildren?o.createPortal(a.children,u.valueNode):null]})});eK.displayName=eO;var eW="SelectItemIndicator",eB=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return eI(eW,n).isSelected?(0,y.jsx)(g.sG.span,{"aria-hidden":!0,...r,ref:t}):null});eB.displayName=eW;var eF="SelectScrollUpButton",eH=r.forwardRef((e,t)=>{let n=eg(eF,e.__scopeSelect),o=eS(eF,e.__scopeSelect),[l,i]=r.useState(!1),a=(0,s.s)(t,o.onScrollButtonChange);return(0,b.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){i(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?(0,y.jsx)(eG,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});eH.displayName=eF;var ez="SelectScrollDownButton",e_=r.forwardRef((e,t)=>{let n=eg(ez,e.__scopeSelect),o=eS(ez,e.__scopeSelect),[l,i]=r.useState(!1),a=(0,s.s)(t,o.onScrollButtonChange);return(0,b.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;i(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?(0,y.jsx)(eG,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});e_.displayName=ez;var eG=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,onAutoScroll:o,...l}=e,a=eg("SelectScrollButton",n),s=r.useRef(null),u=Q(n),c=r.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return r.useEffect(()=>()=>c(),[c]),(0,b.N)(()=>{var e;let t=u().find(e=>e.ref.current===document.activeElement);null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[u]),(0,y.jsx)(g.sG.div,{"aria-hidden":!0,...l,ref:t,style:{flexShrink:0,...l.style},onPointerDown:(0,i.mK)(l.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(o,50))}),onPointerMove:(0,i.mK)(l.onPointerMove,()=>{var e;null==(e=a.onItemLeave)||e.call(a),null===s.current&&(s.current=window.setInterval(o,50))}),onPointerLeave:(0,i.mK)(l.onPointerLeave,()=>{c()})})}),eU=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,y.jsx)(g.sG.div,{"aria-hidden":!0,...r,ref:t})});eU.displayName="SelectSeparator";var eV="SelectArrow";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=en(n),l=eo(eV,n),i=eg(eV,n);return l.open&&"popper"===i.position?(0,y.jsx)(K,{...o,...r,ref:t}):null}).displayName=eV;var eY=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:o,...l}=e,i=r.useRef(null),a=(0,s.s)(t,i),u=(0,G.Z)(o);return r.useEffect(()=>{let e=i.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(u!==o&&t){let n=new Event("change",{bubbles:!0});t.call(e,o),e.dispatchEvent(n)}},[u,o]),(0,y.jsx)(g.sG.select,{...l,style:{...U.Qg,...l.style},ref:a,defaultValue:o})});function eX(e){return""===e||void 0===e}function eq(e){let t=(0,x.c)(e),n=r.useRef(""),o=r.useRef(0),l=r.useCallback(e=>{let r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),i=r.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,l,i]}function eZ(e,t,n){var r,o;let l=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=(r=e,o=Math.max(i,0),r.map((e,t)=>r[(o+t)%r.length]));1===l.length&&(a=a.filter(e=>e!==n));let s=a.find(e=>e.textValue.toLowerCase().startsWith(l.toLowerCase()));return s!==n?s:void 0}eY.displayName="SelectBubbleInput";var eJ=ea,eQ=eu,e$=ed,e0=ef,e1=ep,e5=ev,e2=eR,e6=eT,e4=eL,e7=eD,e9=eK,e8=eB,e3=eH,te=e_,tt=eU},97745:(e,t,n)=>{n.d(t,{Eq:()=>u});var r=new WeakMap,o=new WeakMap,l={},i=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});l[n]||(l[n]=new WeakMap);var c=l[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 v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var t=e.getAttribute(s),l=null!==t&&"false"!==t,i=(r.get(e)||0)+1,a=(c.get(e)||0)+1;r.set(e,i),c.set(e,a),d.push(e),1===i&&l&&o.set(e,!0),1===a&&e.setAttribute(n,"true"),l||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),f.clear(),i++,function(){d.forEach(function(e){var t=r.get(e)-1,l=c.get(e)-1;r.set(e,t),c.set(e,l),t||(o.has(e)||e.removeAttribute(s),o.delete(e)),l||e.removeAttribute(n)}),--i||(r=new WeakMap,r=new WeakMap,o=new WeakMap,l={})}},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}}}}]);
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.