1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3449],{11744:(e,t,r)=>{r.d(t,{_:()=>n});function n(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}},13954:(e,t,r)=>{r.d(t,{_:()=>l});var n=r(69734);function l(e,t,r){var l=(0,n._)(e,t,"set");if(l.set)l.set.call(e,r);else{if(!l.writable)throw TypeError("attempted to set read only private field");l.value=r}return r}},14548:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(15021).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},24750:(e,t,r)=>{r.d(t,{DX:()=>a,TL:()=>i});var n=r(7620),l=r.t(n,2);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(e){let t=n.forwardRef((t,r)=>{var l,i,a,c;let h,m,{children:y,...g}=t,w=null,x=!1,b=[];d(y)&&"function"==typeof v&&(y=v(y._payload)),n.Children.forEach(y,e=>{var t,r;if(t=e,n.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===u){x=!0;let t="child"in e.props?e.props.child:e.props.children;d(t)&&"function"==typeof v&&(t=v(t._payload)),w=s(e,t),b.push(null==w||null==(r=w.props)?void 0:r.children)}else b.push(e)}),w?w=n.cloneElement(w,void 0,b):!x&&1===n.Children.count(y)&&n.isValidElement(y)&&(w=y);let E=w?(m=(h=null==(a=Object.getOwnPropertyDescriptor((i=w).props,"ref"))?void 0:a.get)&&"isReactWarning"in h&&h.isReactWarning)?i.ref:(m=(h=null==(c=Object.getOwnPropertyDescriptor(i,"ref"))?void 0:c.get)&&"isReactWarning"in h&&h.isReactWarning)?i.props.ref:i.props.ref||i.ref:void 0,S=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{let r=!1,n=t.map(t=>{let n=o(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<n.length;e++){let r=n[e];"function"==typeof r?r():o(t[e],null)}}}}(...t),t)}(r,E);if(!w){if(y||0===y)throw Error(x?p(e):f(e));return y}let C=function(e,t){let r={...t};for(let n in t){let l=e[n],o=t[n];/^on[A-Z]/.test(n)?l&&o?r[n]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=o(...t);return l(...t),n}:l&&(r[n]=l):"style"===n?r[n]={...l,...o}:"className"===n&&(r[n]=[l,o].filter(Boolean).join(" "))}return{...e,...r}}(g,null!=(l=w.props)?l:{});return w.type!==n.Fragment&&(C.ref=r?S:E),n.cloneElement(w,C)});return t.displayName="".concat(e,".Slot"),t}var a=i("Slot"),u=Symbol.for("radix.slottable"),s=(e,t)=>{if("child"in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null},c=Symbol.for("react.lazy");function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===c&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var f=e=>"".concat(e," failed to slot onto its children. Expected a single React element child or `Slottable`."),p=e=>"".concat(e," failed to slot onto its `Slottable`. Expected `Slottable` to receive a single React element child."),v=l[" use ".trim().toString()]},54616:(e,t,r)=>{r.d(t,{F:()=>i});var n=r(72902);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=n.$,i=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:a}=t,u=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],n=null==a?void 0:a[e];if(null===t)return null;let o=l(t)||l(n);return i[e][o]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,u,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...l}=t;return Object.entries(l).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...s}[t]):({...a,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},62666:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(15021).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},69734:(e,t,r)=>{r.d(t,{_:()=>n});function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}},92324:(e,t,r)=>{r.d(t,{UC:()=>eX,YJ:()=>e7,In:()=>eH,q7:()=>tl,VF:()=>tu,p4:()=>ti,JU:()=>te,ZL:()=>eK,bL:()=>eI,wn:()=>tf,PP:()=>tc,wv:()=>tv,l9:()=>eF,WT:()=>eW,LM:()=>e9});var n,l,o,i=r(7620),a=r.t(i,2),u=r(97509);function s(e,t){let[r,n]=t;return Math.min(n,Math.max(r,e))}function c(e,t){let{checkForDefaultPrevented:r=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}"undefined"!=typeof window&&window.document&&window.document.createElement;var d=r(93914),f=r(11744),p=r(13954),v=r(54568);function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],n=()=>{let t=r.map(e=>i.createContext(e));return function(r){let n=(null==r?void 0:r[e])||t;return i.useMemo(()=>
1({["__scope".concat(e)]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let l=i.createContext(n);l.displayName=t+"Context";let o=r.length;r=[...r,n];let a=t=>{var r;let{scope:n,children:a,...u}=t,s=(null==n||null==(r=n[e])?void 0:r[o])||l,c=i.useMemo(()=>u,Object.values(u));return(0,v.jsx)(s.Provider,{value:c,children:a})};return a.displayName=t+"Provider",[a,function(r,a){var u;let s=(null==a||null==(u=a[e])?void 0:u[o])||l,c=i.useContext(s);if(c)return c;if(void 0!==n)return n;throw Error("`".concat(r,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=t[0];if(1===t.length)return n;let l=()=>{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let r=e.reduce((e,r)=>{let{useScope:n,scopeName:l}=r,o=n(t)["__scope".concat(l)];return{...e,...o}},{});return i.useMemo(()=>({["__scope".concat(n.scopeName)]:r}),[r])}};return l.scopeName=n.scopeName,l}(n,...t)]}function m(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function y(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{let r=!1,n=t.map(t=>{let n=m(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<n.length;e++){let r=n[e];"function"==typeof r?r():m(t[e],null)}}}}(...t),t)}var g=r(24750),w=new WeakMap;function x(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=b(t),l=n>=0?n:r+n;return l<0||l>=r?-1:l}(e,t);return -1===r?void 0:e[r]}function b(e){return e!=e||0===e?0:Math.trunc(e)}n=new WeakMap,class e extends Map{set(e,t){return w.get(this)&&(this.has(e)?(0,d._)(this,n)[(0,d._)(this,n).indexOf(e)]=e:(0,d._)(this,n).push(e)),super.set(e,t),this}insert(e,t,r){let l,o=this.has(t),i=(0,d._)(this,n).length,a=b(e),u=a>=0?a:i+a,s=u<0||u>=i?-1:u;if(s===this.size||o&&s===this.size-1||-1===s)return this.set(t,r),this;let c=this.size+ +!o;a<0&&u++;let f=[...(0,d._)(this,n)],p=!1;for(let e=u;e<c;e++)if(u===e){let n=f[e];f[e]===t&&(n=f[e+1]),o&&this.delete(t),l=this.get(n),this.set(t,r)}else{p||f[e-1]!==t||(p=!0);let r=f[p?e:e-1],n=l;l=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,n){let l=new e(this);return l.insert(t,r,n),l}before(e){let t=(0,d._)(this,n).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let l=(0,d._)(this,n).indexOf(e);return -1===l?this:this.insert(l,t,r)}after(e){let t=(0,d._)(this,n).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let l=(0,d._)(this,n).indexOf(e);return -1===l?this:this.insert(l+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return(0,p._)(this,n,[]),super.clear()}delete(e){let t=super.delete(e);return t&&(0,d._)(this,n).splice((0,d._)(this,n).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=x((0,d._)(this,n),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=x((0,d._)(this,n),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return(0,d._)(this,n).indexOf(e)}keyAt(e){return x((0,d._)(this,n),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],l=0;for(let e of this)Reflect.apply(t,r,[e,l,this])&&n.push(e),l++;return new e(n)}map(t,r){let n=[],l=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,l,this])]),l++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,l]=t,o=0,i=null!=l?l:this.at(0);for(let e of this)i=0===o&&1===t.length?e:Reflect.apply(n,this,[i,e,o,this]),o++;return i}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,l]=t,o=null!=l?l:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let l=[...this.entries()];return l.splice(...r),new e(l)}slice(t,r){let n=new e,l=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(l=r-1);for(let e=t;e<=l;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),(0,f._)(this,n,{writable:!0,value:void 0}),(0,p._)(this,n,[...super.keys()]),w.set(this,!0)}};
1var E=i.createContext(void 0),S=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,g.TL)("Primitive.".concat(t)),n=i.forwardRef((e,n)=>{let{asChild:l,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,v.jsx)(l?r:t,{...o,ref:n})});return n.displayName="Primitive.".concat(t),{...e,[t]:n}},{});function C(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>function(){for(var e,r=arguments.length,n=Array(r),l=0;l<r;l++)n[l]=arguments[l];return null==(e=t.current)?void 0:e.call(t,...n)},[])}var R="dismissableLayer.update",N=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),A=i.forwardRef((e,t)=>{var r,n;let{disableOutsidePointerEvents:o=!1,deferPointerDownOutside:a=!1,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:d,onInteractOutside:f,onDismiss:p,...h}=e,m=i.useContext(N),[g,w]=i.useState(null),x=null!=(n=null==g?void 0:g.ownerDocument)?n:null==(r=globalThis)?void 0:r.document,[,b]=i.useState({}),E=y(t,e=>w(e)),A=Array.from(m.layers),[P]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),L=A.indexOf(P),k=g?A.indexOf(g):-1,O=m.layersWithOutsidePointerEventsDisabled.size>0,M=k>=L,_=i.useRef(!1),I=function(e,t){var r;let{ownerDocument:n=null==(r=globalThis)?void 0:r.document,deferPointerDownOutside:l=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:a}=t,u=C(e),s=i.useRef(!1),c=i.useRef(!1),d=i.useRef(new Map),f=i.useRef(()=>{});return i.useEffect(()=>{function e(){c.current=!1,o.current=!1,d.current.clear()}function t(e){if(!c.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{c.current&&f.current()},0)}function r(e){c.current&&d.current.set(e.type,!1)}let i=t=>{if(t.target&&!s.current){let r=function(){n.removeEventListener("click",f.current);let t=Array.from(d.current.values()).some(Boolean);e(),t||j("dismissableLayer.pointerDownOutside",u,i,{discrete:!0})},i={originalEvent:t};c.current=!0,o.current=l&&0===t.button,d.current.clear(),l&&0===t.button?(n.removeEventListener("click",f.current),f.current=r,n.addEventListener("click",f.current,{once:!0})):r()}else n.removeEventListener("click",f.current),e();s.current=!1},p=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of p)n.addEventListener(e,t,!0),n.addEventListener(e,r);let v=window.setTimeout(()=>{n.addEventListener("pointerdown",i)},0);return()=>{for(let e of(window.clearTimeout(v),n.removeEventListener("pointerdown",i),n.removeEventListener("click",f.current),p))n.removeEventListener(e,t,!0),n.removeEventListener(e,r)}},[n,u,l,o,a]),{onPointerDownCapture:()=>s.current=!0}}(e=>{let t=e.target;if(!(t instanceof Node))return;let r=[...m.branches].some(e=>e.contains(t));M&&!r&&(null==s||s(e),null==f||f(e),e.defaultPrevented||null==p||p())},{ownerDocument:x,deferPointerDownOutside:a,isDeferredPointerDownOutsideRef:_,dismissableSurfaces:m.dismissableSurfaces}),D=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=C(e),l=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!l.current&&j("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,n]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}(e=>{if(a&&_.current)return;let t=e.target;![...m.branches].some(e=>e.contains(t))&&(null==d||d(e),null==f||f(e),e.defaultPrevented||null==p||p())},x);return!function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=C(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return r.addEventListener("keydown",e,{capture:!0}),()=>r.removeEventListener("keydown",e,{capture:!0})},[n,r])}(e=>{k===m.layers.size-1&&(null==u||u(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},x),i.useEffect(()=>{if(g)return o&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(l=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(g)),m.layers.add(g),T(),()=>{o&&(m.layersWithOutsidePointerEventsDisabled.delete(g),0===m.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=l))}},[g,x,o,m]),i.useEffect(()=>()=>{g&&(m.layers.delete(g),m.layersWithOutsidePointerEventsDisabled.delete(g),T())},[g,m]),i.useEffect(()=>{let e=()=>b({});return document.addEventListener(R,e),()=>document.removeEventListener(R,e)},[]),(0,v.jsx)(S.div,{...h,ref:E,style:{pointerEvents:O?M?"auto":"none":void 0,...e.style},onFocusCapture:c(e.onFocusCapture,D.onFocusCapture),onBlurCapture:c(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:c(e.onPointerDownCapture,I.onPointerDownCapture)})});function T(){let e=new CustomEvent(R);document.dispatchEvent(e)}function j(e,t,r,n){let{discrete:l}=n,o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});if(t&&o.addEventListener(e,t,{once:!0}),l)o&&u.flushSync(()=>o.dispatchEvent(i));else o.dispatchEvent(i)}
1A.displayName="DismissableLayer",i.forwardRef((e,t)=>{let r=i.useContext(N),n=i.useRef(null),l=y(t,n);return i.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,v.jsx)(S.div,{...e,ref:l})}).displayName="DismissableLayerBranch";var P=0,L=null;function k(){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 O="focusScope.autoFocusOnMount",M="focusScope.autoFocusOnUnmount",_={bubbles:!1,cancelable:!0},I=i.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:l,onUnmountAutoFocus:o,...a}=e,[u,s]=i.useState(null),c=C(l),d=C(o),f=i.useRef(null),p=y(t,e=>s(e)),h=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let e=function(e){if(h.paused||!u)return;let t=e.target;u.contains(t)?f.current=t:z(f.current,{select:!0})},t=function(e){if(h.paused||!u)return;let t=e.relatedTarget;null!==t&&(u.contains(t)||z(f.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&z(u)});return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,u,h.paused]),i.useEffect(()=>{if(u){W.add(h);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(O,_);u.addEventListener(O,c),u.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(z(n,{select:t}),document.activeElement!==r)return}(D(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&z(u))}return()=>{u.removeEventListener(O,c),setTimeout(()=>{let t=new CustomEvent(M,_);u.addEventListener(M,d),u.dispatchEvent(t),t.defaultPrevented||z(null!=e?e:document.body,{select:!0}),u.removeEventListener(M,d),W.remove(h)},0)}}},[u,c,d,h]);let m=i.useCallback(e=>{if(!r&&!n||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,l=document.activeElement;if(t&&l){let t=e.currentTarget,[n,o]=function(e){let t=D(e);return[F(t,e),F(t.reverse(),e)]}(t);n&&o?e.shiftKey||l!==o?e.shiftKey&&l===n&&(e.preventDefault(),r&&z(o,{select:!0})):(e.preventDefault(),r&&z(n,{select:!0})):l===t&&e.preventDefault()}},[r,n,h.paused]);return(0,v.jsx)(S.div,{tabIndex:-1,...a,ref:p,onKeyDown:m})});function D(e){let t=[],r=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(;r.nextNode();)t.push(r.currentNode);return t}function F(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function z(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}I.displayName="FocusScope";var W=function(){let e=[];return{add(t){let r=e[0];t!==r&&(null==r||r.pause()),(e=H(e,t)).unshift(t)},remove(t){var r;null==(r=(e=H(e,t))[0])||r.resume()}}}();function H(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var B=(null==(o=globalThis)?void 0:o.document)?i.useLayoutEffect:()=>{},U=a[" useId ".trim().toString()]||(()=>void 0),V=0;function K(e){let[t,r]=i.useState(U());return B(()=>{e||r(e=>null!=e?e:String(V++))},[e]),e||(t?"radix-".concat(t):"")}var Y=r(81543),X=r(36993),q=i.forwardRef((e,t)=>{let{children:r,width:n=10,height:l=5,...o}=e;return(0,v.jsx)(S.svg,{...o,ref:t,width:n,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,v.jsx)("polygon",{points:"0,0 30,0 15,10"})})});q.displayName="Arrow";var $="Popper",[Z,J]=h($),[G,Q]=Z($),ee=e=>{let{__scopePopper:t,children:r}=e,[n,l]=i.useState(null),[o,a]=i.useState(void 0);return(0,v.jsx)(G,{scope:t,anchor:n,onAnchorChange:l,placementState:o,setPlacementState:a,children:r})};ee.displayName=$;var et="PopperAnchor",er=i.forwardRef((e,t)=>
1{let{__scopePopper:r,virtualRef:n,...l}=e,o=Q(et,r),a=i.useRef(null),u=o.onAnchorChange,s=y(t,i.useCallback(e=>{a.current=e,e&&u(e)},[u])),c=i.useRef(null);i.useEffect(()=>{if(!n)return;let e=c.current;c.current=n.current,e!==c.current&&u(c.current)});let d=o.placementState&&ef(o.placementState),f=null==d?void 0:d[0],p=null==d?void 0:d[1];return n?null:(0,v.jsx)(S.div,{"data-radix-popper-side":f,"data-radix-popper-align":p,...l,ref:s})});er.displayName=et;var en="PopperContent",[el,eo]=Z(en),ei=i.forwardRef((e,t)=>{var r,n,l,o,a,u,s,c;let{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:m=0,arrowPadding:g=0,avoidCollisions:w=!0,collisionBoundary:x=[],collisionPadding:b=0,sticky:E="partial",hideWhenDetached:R=!1,updatePositionStrategy:N="optimized",onPlaced:A,...T}=e,j=Q(en,d),[P,L]=i.useState(null),k=y(t,e=>L(e)),[O,M]=i.useState(null),_=function(e){let[t,r]=i.useState(void 0);return B(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,l;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,l=t.blockSize}else n=e.offsetWidth,l=e.offsetHeight;r({width:n,height:l})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(O),I=null!=(s=null==_?void 0:_.width)?s:0,D=null!=(c=null==_?void 0:_.height)?c:0,F="number"==typeof b?b:{top:0,right:0,bottom:0,left:0,...b},z=Array.isArray(x)?x:[x],W=z.length>0,H={padding:F,boundary:z.filter(ec),altBoundary:W},{refs:U,floatingStyles:V,placement:K,isPositioned:q,middlewareData:$}=(0,Y.we)({strategy:"fixed",placement:f+("center"!==h?"-"+h:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,X.ll)(...t,{animationFrame:"always"===N})},elements:{reference:j.anchor},middleware:[(0,Y.cY)({mainAxis:p+D,alignmentAxis:m}),w&&(0,Y.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===E?(0,Y.ER)():void 0,...H}),w&&(0,Y.UU)({...H}),(0,Y.Ej)({...H,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:l}=e,{width:o,height:i}=r.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(n,"px")),a.setProperty("--radix-popper-available-height","".concat(l,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),O&&(0,Y.UE)({element:O,padding:g}),ed({arrowWidth:I,arrowHeight:D}),R&&(0,Y.jD)({strategy:"referenceHidden",...H,boundary:W?H.boundary:void 0})]}),Z=j.setPlacementState;B(()=>(Z(K),()=>{Z(void 0)}),[K,Z]);let[J,G]=ef(K),ee=C(A);B(()=>{q&&(null==ee||ee())},[q,ee]);let et=null==(r=$.arrow)?void 0:r.x,er=null==(n=$.arrow)?void 0:n.y,eo=(null==(l=$.arrow)?void 0:l.centerOffset)!==0,[ei,ea]=i.useState();return B(()=>{P&&ea(window.getComputedStyle(P).zIndex)},[P]),(0,v.jsx)("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:q?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ei,"--radix-popper-transform-origin":[null==(o=$.transformOrigin)?void 0:o.x,null==(a=$.transformOrigin)?void 0:a.y].join(" "),...(null==(u=$.hide)?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,v.jsx)(el,{scope:d,placedSide:J,placedAlign:G,onArrowChange:M,arrowX:et,arrowY:er,shouldHideArrow:eo,children:(0,v.jsx)(S.div,{"data-side":J,"data-align":G,...T,ref:k,style:{...T.style,animation:q?void 0:"none"}})})})});ei.displayName=en;var ea="PopperArrow",eu={top:"bottom",right:"left",bottom:"top",left:"right"},es=i.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,l=eo(ea,r),o=eu[l.placedSide];return(0,v.jsx)("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:(0,v.jsx)(q,{...n,ref:t,style:{...n.style,display:"block"}})})});function ec(e){return null!==e}es.displayName=ea;var ed=e=>({name:"transformOrigin",options:e,fn(t){var r,n,l,o,i;let{placement:a,rects:u,middlewareData:s}=t,c=(null==(r=s.arrow)?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,v]=ef(a),h={start:"0%",center:"50%",end:"100%"}[v],m=(null!=(o=null==(n=s.arrow)?void 0:n.x)?o:0)+d/2,y=(null!=(i=null==(l=s.arrow)?void 0:l.y)?i:0)+f/2,g="",w="";return"bottom"===p?(g=c?h:"".concat(m,"px"),w="".concat(-f,"px")):"top"===p?(g=c?h:"".concat(m,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),w=c?h:"".concat(y,"px")):"left"===p&&(g="".concat(u.floating.width+f,"px"),w=c?h:"".concat(y,"px")),{data:{x:g,y:w}}}});function ef(e){let[t,r="center"]=e.split("-");return[t,r]}var ep=i.forwardRef((e,t)=>
1{var r,n;let{container:l,...o}=e,[a,s]=i.useState(!1);B(()=>s(!0),[]);let c=l||a&&(null==(n=globalThis)||null==(r=n.document)?void 0:r.body);return c?u.createPortal((0,v.jsx)(S.div,{...o,ref:t}),c):null});ep.displayName="Portal";var ev=e=>{let{present:t,children:r}=e,n=function(e){var t,r;let[n,l]=i.useState(),o=i.useRef(null),a=i.useRef(e),u=i.useRef("none"),[s,c]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},i.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return i.useEffect(()=>{let e=em(o.current);u.current="mounted"===s?e:"none"},[s]),B(()=>{let t=o.current,r=a.current;if(r!==e){let n=u.current,l=em(t);e?c("MOUNT"):"none"===l||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):r&&n!==l?c("ANIMATION_OUT"):c("UNMOUNT"),a.current=e}},[e,c]),B(()=>{if(n){var e;let t,r=null!=(e=n.ownerDocument.defaultView)?e:window,l=e=>{let l=em(o.current).includes(CSS.escape(e.animationName));if(e.target===n&&l&&(c("ANIMATION_END"),!a.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},i=e=>{e.target===n&&(u.current=em(o.current))};return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",l),n.addEventListener("animationend",l),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",l),n.removeEventListener("animationend",l)}}c("ANIMATION_END")},[n,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:i.useCallback(e=>{o.current=e?getComputedStyle(e):null,l(e)},[])}}(t),l="function"==typeof r?r({present:n.isPresent}):i.Children.only(r),o=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=i.useRef(t);return n.current=t,i.useCallback(e=>{let t=n.current,r=!1,l=t.map(t=>{let n=eh(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<l.length;e++){let r=l[e];"function"==typeof r?r():eh(t[e],null)}}},[])}(n.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,l=n&&"isReactWarning"in n&&n.isReactWarning;return l?e.ref:(l=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof r||n.isPresent?i.cloneElement(l,{ref:o}):null};function eh(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function em(e){return(null==e?void 0:e.animationName)||"none"}ev.displayName="Presence";var ey=a[" useInsertionEffect ".trim().toString()]||B;function eg(e){let{prop:t,defaultProp:r,onChange:n=()=>{},caller:l}=e,[o,a,u]=function(e){let{defaultProp:t,onChange:r}=e,[n,l]=i.useState(t),o=i.useRef(n),a=i.useRef(r);return ey(()=>{a.current=r},[r]),i.useEffect(()=>{if(o.current!==n){var e;null==(e=a.current)||e.call(a,n),o.current=n}},[n,o]),[n,l,a]}({defaultProp:r,onChange:n}),s=void 0!==t,c=s?t:o;{let e=i.useRef(void 0!==t);i.useEffect(()=>{let t=e.current;if(t!==s){let e=s?"controlled":"uncontrolled";console.warn("".concat(l," is changing from ").concat(t?"controlled":"uncontrolled"," to ").concat(e,". 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."))}e.current=s},[s,l])}return[c,i.useCallback(e=>{if(s){let n="function"==typeof e?e(t):e;if(n!==t){var r;null==(r=u.current)||r.call(u,n)}}else a(e)},[s,t,a,u])]}Symbol("RADIX:SYNC_STATE");var ew=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"});i.forwardRef((e,t)=>(0,v.jsx)(S.span,{...e,ref:t,style:{...ew,...e.style}})).displayName="VisuallyHidden";var ex=r(9702),eb=r(72413),eE=[" ","Enter","ArrowUp","ArrowDown"],eS=[" ","Enter"],eC="Select",[eR,eN,eA]=function(e){let t=e+"CollectionProvider",[r,n]=h(t),[l,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:r}=e,n=i.useRef(null),o=i.useRef(new Map).current;return(0,v.jsx)(l,{scope:t,itemMap:o,collectionRef:n,children:r})};a.displayName=t;let u=e+"CollectionSlot",s=(0,g.TL)(u),c=i.forwardRef((e,t)=>
1{let{scope:r,children:n}=e,l=y(t,o(u,r).collectionRef);return(0,v.jsx)(s,{ref:l,children:n})});c.displayName=u;let d=e+"CollectionItemSlot",f="data-radix-collection-item",p=(0,g.TL)(d),m=i.forwardRef((e,t)=>{let{scope:r,children:n,...l}=e,a=i.useRef(null),u=y(t,a),s=o(d,r);return i.useEffect(()=>(s.itemMap.set(a,{ref:a,...l}),()=>void s.itemMap.delete(a))),(0,v.jsx)(p,{...{[f]:""},ref:u,children:n})});return m.displayName=d,[{Provider:a,Slot:c,ItemSlot:m},function(t){let r=o(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(eC),[eT,ej]=h(eC,[eA,J]),eP=J(),[eL,ek]=eT(eC),[eO,eM]=eT(eC);function e_(e){let{__scopeSelect:t,children:r,open:n,defaultOpen:l,onOpenChange:o,value:a,defaultValue:u,onValueChange:s,dir:c,name:d,autoComplete:f,disabled:p,required:h,form:m,internal_do_not_use_render:y}=e,g=eP(t),[w,x]=i.useState(null),[b,S]=i.useState(null),[C,R]=i.useState(!1),N=function(e){let t=i.useContext(E);return e||t||"ltr"}(c),[A,T]=eg({prop:n,defaultProp:null!=l&&l,onChange:o,caller:eC}),[j,P]=eg({prop:a,defaultProp:u,onChange:s,caller:eC}),L=i.useRef(null),k=!w||!!m||!!w.closest("form"),[O,M]=i.useState(new Set),_=K(),I=Array.from(O).map(e=>e.props.value).join(";"),D=i.useCallback(e=>{M(t=>new Set(t).add(e))},[]),F=i.useCallback(e=>{M(t=>{let r=new Set(t);return r.delete(e),r})},[]),z={required:h,trigger:w,onTriggerChange:x,valueNode:b,onValueNodeChange:S,valueNodeHasChildren:C,onValueNodeHasChildrenChange:R,contentId:_,value:j,onValueChange:P,open:A,onOpenChange:T,dir:N,triggerPointerDownPosRef:L,disabled:p,name:d,autoComplete:f,form:m,nativeOptions:O,nativeSelectKey:I,isFormControl:k};return(0,v.jsx)(ee,{...g,children:(0,v.jsx)(eL,{scope:t,...z,children:(0,v.jsx)(eR.Provider,{scope:t,children:(0,v.jsx)(eO,{scope:t,onNativeOptionAdd:D,onNativeOptionRemove:F,children:"function"==typeof y?y(z):r})})})})}e_.displayName="SelectProvider";var eI=e=>{let{__scopeSelect:t,children:r,...n}=e;return(0,v.jsx)(e_,{__scopeSelect:t,...n,internal_do_not_use_render:e=>{let{isFormControl:n}=e;return(0,v.jsxs)(v.Fragment,{children:[r,n?(0,v.jsx)(ty,{__scopeSelect:t}):null]})}})};eI.displayName=eC;var eD="SelectTrigger",eF=i.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:n=!1,...l}=e,o=eP(r),a=ek(eD,r),u=a.disabled||n,s=y(t,a.onTriggerChange),d=eN(r),f=i.useRef("touch"),[p,h,m]=tw(e=>{let t=d().filter(e=>!e.disabled),r=t.find(e=>e.value===a.value),n=tx(t,e,r);void 0!==n&&a.onValueChange(n.value)}),g=e=>{u||(a.onOpenChange(!0),m()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,v.jsx)(er,{asChild:!0,...o,children:(0,v.jsx)(S.button,{type:"button",role:"combobox","aria-controls":a.open?a.contentId:void 0,"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":tg(a.value)?"":void 0,...l,ref:s,onClick:c(l.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&g(e)}),onPointerDown:c(l.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(g(e),e.preventDefault())}),onKeyDown:c(l.onKeyDown,e=>{let t=""!==p.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),(!t||" "!==e.key)&&eE.includes(e.key)&&(g(),e.preventDefault())})})})});eF.displayName=eD;var ez="SelectValue",eW=i.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:l,children:o,placeholder:a="",...u}=e,s=ek(ez,r),{onValueNodeHasChildrenChange:c}=s,d=void 0!==o,f=y(t,s.onValueNodeChange);B(()=>{c(d)},[c,d]);let p=tg(s.value);return(0,v.jsx)(S.span,{...u,asChild:!p&&u.asChild,ref:f,style:{pointerEvents:"none"},children:(0,v.jsx)(i.Fragment,{children:p?a:o},p?"placeholder":"value")})});eW.displayName=ez;var eH=i.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...l}=e;return(0,v.jsx)(S.span,{"aria-hidden":!0,...l,ref:t,children:n||"â¼"})});eH.displayName="SelectIcon";var eB="SelectPortal",[eU,eV]=eT(eB,{forceMount:void 0}),eK=e=>{let{__scopeSelect:t,forceMount:r,...n}=e;return(0,v.jsx)(eU,{scope:e.__scopeSelect,forceMount:r,children:(0,v.jsx)(ep,{asChild:!0,...n})})};eK.displayName=eB;var eY="SelectContent",eX=i.forwardRef((e,t)=>
1{let r=eV(eY,e.__scopeSelect),{forceMount:n=r.forceMount,...l}=e,o=ek(eY,e.__scopeSelect),[a,u]=i.useState();return B(()=>{u(new DocumentFragment)},[]),(0,v.jsx)(ev,{present:n||o.open,children:e=>{let{present:r}=e;return r?(0,v.jsx)(eG,{...l,ref:t}):(0,v.jsx)(eq,{...l,fragment:a})}})});eX.displayName=eY;var eq=i.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,fragment:l}=e;return l?u.createPortal((0,v.jsx)(e$,{scope:r,children:(0,v.jsx)(eR.Slot,{scope:r,children:(0,v.jsx)("div",{ref:t,children:n})})}),l):null});eq.displayName="SelectContentFragment";var[e$,eZ]=eT(eY),eJ=(0,g.TL)("SelectContent.RemoveScroll"),eG=i.forwardRef((e,t)=>{let{__scopeSelect:r}=e,{position:n="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:o,onPointerDownOutside:a,side:u,sideOffset:s,align:d,alignOffset:f,arrowPadding:p,collisionBoundary:h,collisionPadding:m,sticky:g,hideWhenDetached:w,avoidCollisions:x,...b}=e,E=ek(eY,r),[S,C]=i.useState(null),[R,N]=i.useState(null),T=y(t,e=>C(e)),[j,O]=i.useState(null),[M,_]=i.useState(null),D=eN(r),[F,z]=i.useState(!1),W=i.useRef(!1);i.useEffect(()=>{if(S)return(0,ex.Eq)(S)},[S]),i.useEffect(()=>{L||(L={start:k(),end:k()});let{start:e,end:t}=L;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),P++,()=>{1===P&&(null==L||L.start.remove(),null==L||L.end.remove(),L=null),P=Math.max(0,P-1)}},[]);let H=i.useCallback(e=>{let[t,...r]=D().map(e=>e.ref.current),[n]=r.slice(-1),l=document.activeElement;for(let r of e)if(r===l||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&R&&(R.scrollTop=0),r===n&&R&&(R.scrollTop=R.scrollHeight),null==r||r.focus(),document.activeElement!==l))return},[D,R]),B=i.useCallback(()=>H([j,S]),[H,j,S]);i.useEffect(()=>{F&&B()},[F,B]);let{onOpenChange:U,triggerPointerDownPosRef:V}=E;i.useEffect(()=>{if(S){let e={x:0,y:0},t=t=>{var r,n,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!=(l=null==(r=V.current)?void 0:r.x)?l:0)),y:Math.abs(Math.round(t.pageY)-(null!=(o=null==(n=V.current)?void 0:n.y)?o:0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():r.composedPath().includes(S)||U(!1),document.removeEventListener("pointermove",t),V.current=null};return null!==V.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[S,U,V]),i.useEffect(()=>{let e=()=>U(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[U]);let[K,Y]=tw(e=>{let t=D().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=tx(t,e,r);n&&setTimeout(()=>{var e;return null==(e=n.ref.current)?void 0:e.focus()})}),X=i.useCallback((e,t,r)=>{let n=!W.current&&!r;(void 0!==E.value&&E.value===t||n)&&(O(e),n&&(W.current=!0))},[E.value]),q=i.useCallback(()=>null==S?void 0:S.focus(),[S]),$=i.useCallback((e,t,r)=>{let n=!W.current&&!r;(void 0!==E.value&&E.value===t||n)&&_(e)},[E.value]),Z="popper"===n?e0:eQ,J=Z===e0?{side:u,sideOffset:s,align:d,alignOffset:f,arrowPadding:p,collisionBoundary:h,collisionPadding:m,sticky:g,hideWhenDetached:w,avoidCollisions:x}:{};return(0,v.jsx)(e$,{scope:r,content:S,viewport:R,onViewportChange:N,itemRefCallback:X,selectedItem:j,onItemLeave:q,itemTextRefCallback:$,focusSelectedItem:B,selectedItemText:M,position:n,isPositioned:F,searchRef:K,children:(0,v.jsx)(eb.A,{as:eJ,allowPinchZoom:!0,children:(0,v.jsx)(I,{asChild:!0,trapped:E.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:c(l,e=>{var t;null==(t=E.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,v.jsx)(A,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:(0,v.jsx)(Z,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:e=>e.preventDefault(),...b,...J,onPlaced:()=>z(!0),ref:T,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:c(b.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||Y(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 r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>H(t)),e.preventDefault()}})})})})})})});eG.displayName="SelectContentImpl";var eQ=i.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:n,...l}=e,o=ek(eY,r),a=eZ(eY,r),[u,c]=i.useState(null),[d,f]=i.useState(null),p=y(t,e=>f(e)),h=eN(r),m=i.useRef(!1),g=i.useRef(!0),{viewport:w,selectedItem:x,selectedItemText:b,focusSelectedItem:E}=a,C=i.useCallback(()=>{if(o.trigger&&o.valueNode&&u&&d&&w&&x&&b){let e=o.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),r=o.valueNode.getBoundingClientRect(),l=b.getBoundingClientRect();if("rtl"!==o.dir){let n=l.left-t.left,o=r.left-n,i=e.left-o,a=e.width+i,c=Math.max(a,t.width),d=s(o,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=a+"px",u.style.left=d+"px"}else{let n=t.right-l.right,o=window.innerWidth-r.right-n,i=window.innerWidth-e.right-o,a=e.width+i,c=Math.max(a,t.width),d=s(o,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=a+"px",u.style.right=d+"px"}let i=h(),a=window.innerHeight-20,c=w.scrollHeight,f=window.getComputedStyle(d),p=parseInt(f.borderTopWidth,10),v=parseInt(f.paddingTop,10),y=parseInt(f.borderBottomWidth,10),g=p+v+c+parseInt(f.paddingBottom,10)+y,E=Math.min(5*x.offsetHeight,g),S=window.getComputedStyle(w),C=parseInt(S.paddingTop,10),R=parseInt(S.paddingBottom,10),N=e.top+e.height/2-10,A=x.offsetHeight/2,T=p+v+(x.offsetTop+A);if(T<=N){let e=i.length>0&&x===i[i.length-1].ref.current;u.style.bottom="0px";let t=Math.max(a-N,A+(e?R:0)+(d.clientHeight-w.offsetTop-w.offsetHeight)+y);u.style.height=T+t+"px"}else{let e=i.length>0&&x===i[0].ref.current;u.style.top="0px";let t=Math.max(N,p+w.offsetTop+(e?C:0)+A);u.style.height=t+(g-T)+"px",w.scrollTop=T-N+w.offsetTop}u.style.margin="".concat(10,"px 0"),u.style.minHeight=E+"px",u.style.maxHeight=a+"px",null==n||n(),requestAnimationFrame(()=>m.current=!0)}},[h,o.trigger,o.valueNode,u,d,w,x,b,o.dir,n]);B(()=>C(),[C]);let[R,N]=i.useState();B(()=>{d&&N(window.getComputedStyle(d).zIndex)},[d]);let A=i.useCallback(e=>{e&&!0===g.current&&(C(),null==E||E(),g.current=!1)},[C,E]);return(0,v.jsx)(e1,{scope:r,contentWrapper:u,shouldExpandOnScrollRef:m,onScrollButtonChange:A,children:(0,v.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:R},children:(0,v.jsx)(S.div,{...l,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});eQ.displayName="SelectItemAlignedPosition";var e0=i.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:l=10,...o}=e,i=eP(r);return(0,v.jsx)(ei,{...i,...o,ref:t,align:n,collisionPadding:l,style:{boxSizing:"border-box",...o.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)"}})});e0.displayName="SelectPopperPosition";var[e1,e2]=eT(eY,{}),e5="SelectViewport",e9=i.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:n,...l}=e,o=eZ(e5,r),a=e2(e5,r),u=y(t,o.onViewportChange),s=i.useRef(0);return(0,v.jsxs)(v.Fragment,{children:[(0,v.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:n}),(0,v.jsx)(eR.Slot,{scope:r,children:(0,v.jsx)(S.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:c(l.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=a;if((null==n?void 0:n.current)&&r){let e=Math.abs(s.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,l=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(l<n){let o=l+e,i=Math.min(n,o),a=o-i;r.style.height=i+"px","0px"===r.style.bottom&&(t.scrollTop=a>0?a:0,r.style.justifyContent="flex-end")}}}s.current=t.scrollTop})})})]})});e9.displayName=e5;var e4="SelectGroup",[e3,e6]=eT(e4),e7=i.forwardRef((e,t)=>
1{let{__scopeSelect:r,...n}=e,l=K();return(0,v.jsx)(e3,{scope:r,id:l,children:(0,v.jsx)(S.div,{role:"group","aria-labelledby":l,...n,ref:t})})});e7.displayName=e4;var e8="SelectLabel",te=i.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=e6(e8,r);return(0,v.jsx)(S.div,{id:l.id,...n,ref:t})});te.displayName=e8;var tt="SelectItem",[tr,tn]=eT(tt),tl=i.forwardRef((e,t)=>{let{__scopeSelect:r,value:n,disabled:l=!1,textValue:o,...a}=e,u=ek(tt,r),s=eZ(tt,r),d=u.value===n,[f,p]=i.useState(null!=o?o:""),[h,m]=i.useState(!1),g=y(t,e=>{var t;return null==(t=s.itemRefCallback)?void 0:t.call(s,e,n,l)}),w=K(),x=i.useRef("touch"),b=()=>{l||(u.onValueChange(n),u.onOpenChange(!1))};return(0,v.jsx)(tr,{scope:r,value:n,disabled:l,textId:w,isSelected:d,onItemTextChange:i.useCallback(e=>{p(t=>{var r;return t||(null!=(r=null==e?void 0:e.textContent)?r:"").trim()})},[]),children:(0,v.jsx)(eR.ItemSlot,{scope:r,value:n,disabled:l,textValue:f,children:(0,v.jsx)(S.div,{role:"option","aria-labelledby":w,"data-highlighted":h?"":void 0,"aria-selected":d&&h,"data-state":d?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...a,ref:g,onFocus:c(a.onFocus,()=>m(!0)),onBlur:c(a.onBlur,()=>m(!1)),onClick:c(a.onClick,()=>{"mouse"!==x.current&&b()}),onPointerUp:c(a.onPointerUp,()=>{"mouse"===x.current&&b()}),onPointerDown:c(a.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:c(a.onPointerMove,e=>{if(x.current=e.pointerType,l){var t;null==(t=s.onItemLeave)||t.call(s)}else"mouse"===x.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:c(a.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=s.onItemLeave)||t.call(s)}}),onKeyDown:c(a.onKeyDown,e=>{var t;((null==(t=s.searchRef)?void 0:t.current)===""||" "!==e.key)&&(eS.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});tl.displayName=tt;var to="SelectItemText",ti=i.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:l,...o}=e,a=ek(to,r),s=eZ(to,r),c=tn(to,r),d=eM(to,r),[f,p]=i.useState(null),h=y(t,e=>p(e),c.onItemTextChange,e=>{var t;return null==(t=s.itemTextRefCallback)?void 0:t.call(s,e,c.value,c.disabled)}),m=null==f?void 0:f.textContent,g=i.useMemo(()=>(0,v.jsx)("option",{value:c.value,disabled:c.disabled,children:m},c.value),[c.disabled,c.value,m]),{onNativeOptionAdd:w,onNativeOptionRemove:x}=d;return B(()=>(w(g),()=>x(g)),[w,x,g]),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(S.span,{id:c.textId,...o,ref:h}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren&&!tg(a.value)?u.createPortal(o.children,a.valueNode):null]})});ti.displayName=to;var ta="SelectItemIndicator",tu=i.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return tn(ta,r).isSelected?(0,v.jsx)(S.span,{"aria-hidden":!0,...n,ref:t}):null});tu.displayName=ta;var ts="SelectScrollUpButton",tc=i.forwardRef((e,t)=>{let r=eZ(ts,e.__scopeSelect),n=e2(ts,e.__scopeSelect),[l,o]=i.useState(!1),a=y(t,n.onScrollButtonChange);return B(()=>{if(r.viewport&&r.isPositioned){let e=function(){o(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),l?(0,v.jsx)(tp,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});tc.displayName=ts;var td="SelectScrollDownButton",tf=i.forwardRef((e,t)=>{let r=eZ(td,e.__scopeSelect),n=e2(td,e.__scopeSelect),[l,o]=i.useState(!1),a=y(t,n.onScrollButtonChange);return B(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;o(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),l?(0,v.jsx)(tp,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});tf.displayName=td;var tp=i.forwardRef((e,t)=>{let{__scopeSelect:r,onAutoScroll:n,...l}=e,o=eZ("SelectScrollButton",r),a=i.useRef(null),u=eN(r),s=i.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return i.useEffect(()=>()=>s(),[s]),B(()=>{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,v.jsx)(S.div,{"aria-hidden":!0,...l,ref:t,style:{flexShrink:0,...l.style},onPointerDown:c(l.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(n,50))}),onPointerMove:c(l.onPointerMove,()=>{var e;null==(e=o.onItemLeave)||e.call(o),null===a.current&&(a.current=window.setInterval(n,50))}),onPointerLeave:c(l.onPointerLeave,()=>{s()})})}),tv=i.forwardRef((e,t)=>
1{let{__scopeSelect:r,...n}=e;return(0,v.jsx)(S.div,{"aria-hidden":!0,...n,ref:t})});tv.displayName="SelectSeparator";var th="SelectArrow";i.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=eP(r);return"popper"===eZ(th,r).position?(0,v.jsx)(es,{...l,...n,ref:t}):null}).displayName=th;var tm="SelectBubbleInput",ty=i.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=ek(tm,r),{value:o,onValueChange:a,required:u,disabled:s,name:c,autoComplete:d,form:f}=l,{nativeOptions:p,nativeSelectKey:h}=l,m=i.useRef(null),g=y(t,m),w=null!=o?o:"",x=function(e){let t=i.useRef({value:e,previous:e});return i.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(w),b=Array.from(p).some(e=>{var t;return(null!=(t=e.props.value)?t:"")===""});return i.useEffect(()=>{let e=m.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(x!==w&&t){let r=new Event("change",{bubbles:!0});t.call(e,w),e.dispatchEvent(r)}},[x,w]),(0,v.jsxs)(S.select,{"aria-hidden":!0,required:u,tabIndex:-1,name:c,autoComplete:d,disabled:s,form:f,onChange:e=>a(e.target.value),...n,style:{...ew,...n.style},ref:g,defaultValue:w,children:[tg(o)&&!b?(0,v.jsx)("option",{value:""}):null,Array.from(p)]},h)});function tg(e){return""===e||void 0===e}function tw(e){let t=C(e),r=i.useRef(""),n=i.useRef(0),l=i.useCallback(e=>{let l=r.current+e;t(l),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(l)},[t]),o=i.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return i.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,l,o]}function tx(e,t,r){var n,l;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=r?e.indexOf(r):-1,a=(n=e,l=Math.max(i,0),n.map((e,t)=>n[(l+t)%n.length]));1===o.length&&(a=a.filter(e=>e!==r));let u=a.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return u!==r?u:void 0}ty.displayName=tm},93914:(e,t,r)=>{r.d(t,{_:()=>l});var n=r(69734);function l(e,t){var r=(0,n._)(e,t,"get");return r.get?r.get.call(e):r.value}}}]);
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.