1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1556],{5478:function(e,t,n){n.d(t,{Ry:function(){return c}});var r=new WeakMap,o=new WeakMap,i={},a=0,l=function(e){return e&&(e.host||l(e.parentNode))},u=function(e,t,n,u){var c=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=l(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[n]||(i[n]=new WeakMap);var s=i[n],f=[],d=new Set,p=new Set(c),h=function(e){!e||d.has(e)||(d.add(e),h(e.parentNode))};c.forEach(h);var v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))v(e);else try{var t=e.getAttribute(u),i=null!==t&&"false"!==t,a=(r.get(e)||0)+1,l=(s.get(e)||0)+1;r.set(e,a),s.set(e,l),f.push(e),1===a&&i&&o.set(e,!0),1===l&&e.setAttribute(n,"true"),i||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),d.clear(),a++,function(){f.forEach(function(e){var t=r.get(e)-1,i=s.get(e)-1;r.set(e,t),s.set(e,i),t||(o.has(e)||e.removeAttribute(u),o.delete(e)),i||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,o=new WeakMap,i={})}},c=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]"))),u(r,o,n,"aria-hidden")):function(){return null}}},83774:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},99376:function(e,t,n){var r=n(35475);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},99157:function(e,t,n){n.d(t,{Z:function(){return $}});var r,o,i,a,l,u,c,s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function f(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var d=n(2265),p="right-scroll-bar-position",h="width-before-scroll-bar";function v(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,g=new WeakMap,y=(void 0===o&&(o={}),(void 0===i&&(i=function(e){return e}),a=[],l=!1,u={read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=i(e,l);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(l=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){l=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=s({async:!0,ssr:!1},o),u),w=function(){},b=d.forwardRef(function(e,t){var n,r,o,i,a=d.useRef(null),l=d.useState({onScrollCapture:w,onWheelCapture:w,onTouchMoveCapture:w}),u=l[0],c=l[1],p=e.forwardProps,h=e.children,b=e.className,x=e.removeScrollBar,E=e.enabled,R=e.shards,S=e.sideCar,A=e.noRelative,C=e.noIsolation,L=e.inert,P=e.allowPinchZoom,T=e.as,k=e.gapMode,O=f(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=(n=[a,t],r=function(e){return n.forEac
1h(function(t){return v(t,e)})},(o=(0,d.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,m(function(){var e=g.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||v(e,null)}),r.forEach(function(e){t.has(e)||v(e,o)})}g.set(i,n)},[n]),i),W=s(s({},O),u);return d.createElement(d.Fragment,null,E&&d.createElement(S,{sideCar:y,removeScrollBar:x,shards:R,noRelative:A,noIsolation:C,inert:L,setCallbacks:c,allowPinchZoom:!!P,lockRef:a,gapMode:k}),p?d.cloneElement(d.Children.only(h),s(s({},W),{ref:M})):d.createElement(void 0===T?"div":T,s({},W,{className:b,ref:M}),h))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:h,zeroRight:p};var x=function(e){var t=e.sideCar,n=f(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 d.createElement(r,s({},n))};x.isSideCarExport=!0;var E=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},R=function(){var e=E();return function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},S=function(){var e=R();return function(t){return e(t.styles,t.dynamic),null}},A={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},L=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[C(n),C(r),C(o)]},P=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return A;var t=L(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])}},T=S(),k="data-scroll-locked",O=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(k,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(p," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(h," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(p," .").concat(p," {\n right: 0 ").concat(r,";\n }\n \n .").concat(h," .").concat(h," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(k,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},M=function(){var e=parseInt(document.body.getAttribute(k)||"0",10);return isFinite(e)?e:0},W=function(){d.useEffect(function(){return document.body.setAttribute(k,(M()+1).toString()),function(){var e=M()-1;e<=0?document.body.removeAttribute(k):document.body.setAttribute(k,e.toString())}},[])},N=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;W();var i=d.useMemo(function(){return P(o)},[o]);return d.createElement(T,{styles:O(i,!t,o,n?"":"!important")})},D=!1;if("undefined"!=typeof window)try{var F=Object.defineProperty({},"passive",{get:function(){return D=!0,!0}});window.addEventListener("test",F,F),window.removeEventListener("test",F,F)}catch(e){D=!1}var j=!!D&&{passive:!1},B=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])},H=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),I(e,r)){var o=z(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},I=function(e,t){return"v"===e?B(t,"overflowY"):B(t,"overflowX")},z=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},V=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,u=n.target,c=t.contains(u),s=!1,f=l>0,d=0,p=0;
1do{if(!u)break;var h=z(e,u),v=h[0],m=h[1]-h[2]-a*v;(v||m)&&I(e,u)&&(d+=m,p+=v);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return f&&(o&&1>Math.abs(d)||!o&&l>d)?s=!0:!f&&(o&&1>Math.abs(p)||!o&&-l>p)&&(s=!0),s},Y=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},_=function(e){return[e.deltaX,e.deltaY]},X=function(e){return e&&"current"in e?e.current:e},K=0,Z=[],q=(c=function(e){var t=d.useRef([]),n=d.useRef([0,0]),r=d.useRef(),o=d.useState(K++)[0],i=d.useState(S)[0],a=d.useRef(e);d.useEffect(function(){a.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(X),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=Y(e),l=n.current,u="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],s=e.target,f=Math.abs(u)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=H(f,s);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=H(f,s)),!d)return!1;if(!r.current&&"changedTouches"in e&&(u||c)&&(r.current=o),!o)return!0;var p=r.current||o;return V(p,t,e,"h"===p?u:c,!0)},[]),u=d.useCallback(function(e){if(Z.length&&Z[Z.length-1]===i){var n="deltaY"in e?_(e):Y(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)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(X).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=d.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),s=d.useCallback(function(e){n.current=Y(e),r.current=void 0},[]),f=d.useCallback(function(t){c(t.type,_(t),t.target,l(t,e.lockRef.current))},[]),p=d.useCallback(function(t){c(t.type,Y(t),t.target,l(t,e.lockRef.current))},[]);d.useEffect(function(){return Z.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,j),document.addEventListener("touchmove",u,j),document.addEventListener("touchstart",s,j),function(){Z=Z.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,j),document.removeEventListener("touchmove",u,j),document.removeEventListener("touchstart",s,j)}},[]);var h=e.removeScrollBar,v=e.inert;return d.createElement(d.Fragment,null,v?d.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?d.createElement(N,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},y.useMedium(c),x),U=d.forwardRef(function(e,t){return d.createElement(b,s({},e,{ref:t,sideCar:q}))});U.classNames=b.classNames;var $=U},15278:function(e,t,n){n.d(t,{I0:function(){return g},XB:function(){return d},fC:function(){return m}});var r,o=n(2265),i=n(6741),a=n(66840),l=n(98575),u=n(26606),c=n(57437),s="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=o.forwardRef((e,t)=>{var n,d;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:b,...x}=e,E=o.useContext(f),[R,S]=o.useState(null),A=null!==(d=null==R?void 0:R.ownerDocument)&&void 0!==d?d:null===(n=globalThis)||void 0===n?void 0:n.document,[,C]=o.useState({}),L=(0,l.e)(t,e=>S(e)),P=Array.from(E.layers),[T]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),k=P.indexOf(T),O=R?P.indexOf(R):-1,M=E.layersWithOutsidePointerEventsDisabled.size>0,W=O>=k,N=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),i=o.useRef(!1),a=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){v("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",a.current),a.current=t,n.addEventListener("click",a.current,{once:!0})):t()}else n.removeEventListener("click",a.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",a.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!W||n||(null==g||g(e),null==w||w(e),e.defaultPrevented||null==b||b())},A),D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&v("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.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==b||b())},A);return!function(e,t=globalThis?.document){let n=(0,u.W)(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=>{O!==E.layers.size-1||(null==m||m(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},A),o.useEffect(()=>{if(R)return p&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=A.body.style.pointerEvents,A.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(R)),E.layers.add(R),h(),()=>{p&&1===E.layersWithOutsidePointerEventsDisabled.size&&(A.body.style.pointerEvents=r)}},[R,A,p,E]),o.useEffect(()=>()=>{R&&(E.layers.delete(R),E.layersWithOutsidePointerEventsDisabled.delete(R),h())},[R,E]),o.useEffect(()=>{let e=()=>C({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,c.jsx)(a.WV.div,{...x,ref:L,style:{pointerEvents:M?W?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,N.onPointerDownCapture)})});d.displayName="DismissableLayer";var p=o.forwardRef((e,t)=>
1{let n=o.useContext(f),r=o.useRef(null),i=(0,l.e)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(a.WV.div,{...e,ref:i})});function h(){let e=new CustomEvent(s);document.dispatchEvent(e)}function v(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,a.jH)(i,l):i.dispatchEvent(l)}p.displayName="DismissableLayerBranch";var m=d,g=p},86097:function(e,t,n){n.d(t,{EW:function(){return i}});var r=n(2265),o=0;function i(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:a()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:a()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function a(){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}},99103:function(e,t,n){let r;n.d(t,{M:function(){return d}});var o=n(2265),i=n(98575),a=n(66840),l=n(26606),u=n(57437),c="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",f={bubbles:!1,cancelable:!0},d=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:d,onUnmountAutoFocus:g,...y}=e,[w,b]=o.useState(null),x=(0,l.W)(d),E=(0,l.W)(g),R=o.useRef(null),S=(0,i.e)(t,e=>b(e)),A=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(A.paused||!w)return;let t=e.target;w.contains(t)?R.current=t:v(R.current,{select:!0})},t=function(e){if(A.paused||!w)return;let t=e.relatedTarget;null===t||w.contains(t)||v(R.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&&v(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,w,A.paused]),o.useEffect(()=>{if(w){m.add(A);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(c,f);w.addEventListener(c,x),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(v(r,{select:t}),document.activeElement!==n)return}(p(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(w))}return()=>{w.removeEventListener(c,x),setTimeout(()=>{let t=new CustomEvent(s,f);w.addEventListener(s,E),w.dispatchEvent(t),t.defaultPrevented||v(null!=e?e:document.body,{select:!0}),w.removeEventListener(s,E),m.remove(A)},0)}}},[w,x,E,A]);let C=o.useCallback(e=>{if(!n&&!r||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=p(e);return[h(t,e),h(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&v(i,{select:!0})):(e.preventDefault(),n&&v(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,A.paused]);return(0,u.jsx)(a.WV.div,{tabIndex:-1,...y,ref:S,onKeyDown:C})});function p(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 h(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 v(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 m=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=g(r,e)).unshift(e)},remove(e){var t;null===(t=(r=g(r,e))[0])||void 0===t||t.resume()}});function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},26008:function(e,t,n){n.d(t,{ee:function(){return te},Eh:function(){return tn},VY:function(){return tt},fC:function(){return e4},D7:function(){return eZ}});var r=n(2265);let o=["top","right","bottom","left"],i=Math.min,a=Math.max,l=Math.round,u=Math.floor,c=e=>({x:e,y:e}
1),s={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let g=new Set(["top","bottom"]);function y(e){return g.has(p(e))?"y":"x"}function w(e){return e.replace(/start|end/g,e=>f[e])}let b=["left","right"],x=["right","left"],E=["top","bottom"],R=["bottom","top"];function S(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function L(e,t,n){let r,{reference:o,floating:i}=e,a=y(t),l=v(y(t)),u=m(l),c=p(t),s="y"===a,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,g=o[u]/2-i[u]/2;switch(c){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(h(t)){case"start":r[l]-=g*(n&&s?-1:1);break;case"end":r[l]+=g*(n&&s?-1:1)}return r}let P=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),u=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:f}=L(c,r,u),d=r,p={},h=0;for(let n=0;n<l.length;n++){let{name:i,fn:v}=l[n],{x:m,y:g,data:y,reset:w}=await v({x:s,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});s=null!=m?m:s,f=null!=g?g:f,p={...p,[i]:{...p[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:s,y:f}=L(c,d,u)),n=-1)}return{x:s,y:f,placement:d,strategy:o,middlewareData:p}};async function T(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=d(t,e),v=A(h),m=l[p?"floating"===f?"reference":"floating":f],g=C(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:s,strategy:u})),y="floating"===f?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},x=C(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:w,strategy:u}):y);return{top:(g.top-x.top+v.top)/b.y,bottom:(x.bottom-g.bottom+v.bottom)/b.y,left:(g.left-x.left+v.left)/b.x,right:(x.right-g.right+v.right)/b.x}}function k(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function O(e){return o.some(t=>e[t]>=0)}let M=new Set(["left","top"]);async function W(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=p(n),l=h(n),u="y"===y(n),c=M.has(a)?-1:1,s=i&&u?-1:1,f=d(t,e),{mainAxis:v,crossAxis:m,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof g&&(m="end"===l?-1*g:g),u?{x:m*s,y:v*c}:{x:v*c,y:m*s}}function N(){return"undefined"!=typeof window}function D(e){return B(e)?(e.nodeName||"").toLowerCase():"#document"}function F(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(B(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function B(e){return!!N()&&(e instanceof Node||e instanceof F(e).Node)}function H(e){return!!N()&&(e instanceof Element||e instanceof F(e).Element)}function I(e){return!!N()&&(e instanceof HTMLElement||e instanceof F(e).HTMLElement)}function z(e){return!!N()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof F(e).ShadowRoot)}let V=new Set(["inline","contents"]);function Y(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ee(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!V.has(o)}let _=new Set(["table","td","th"]),X=[":popover-open",":modal"];function K(e){return X.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Z=["transform","translate","scale","rotate","perspective"],q=["transform","translate","scale","rotate","perspective","filter"],U=["paint","layout","strict","content"];function $(e){let t=G(),n=H(e)?ee(e):e;return Z.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||q.some(e=>(n.willChange||"").includes(e))||U.some(e=>(n.contain||"").includes(e))}function G(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let J=new Set(["html","body","#document"]);function Q(e){return J.has(D(e))}function ee(e){return F(e).getComputedStyle(e)}function et(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===D(e))return e;let t=e.assignedSlot||e.parentNode||z(e)&&e.host||j(e);return z(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=en(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:I(n)&&Y(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=F(o);if(i){let e=eo(a);return t.concat(a,a.visualViewport||[],Y(o)?o:[],e&&n?er(e):[])}return t.concat(o,er(o,[],n))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=I(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,u=l(n)!==i||l(r)!==a;return u&&(n=i,r=a),{width:n,height:r,$:u}}function ea(e){return H(e)?e:e.contextElement}function el(e){let t=ea(e);if(!I(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ei(t),a=(i?l(n.width):n.width)/r,u=(i?l(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}let eu=c(0);function ec(e){let t=F(e);return G()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eu}function es(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=ea(e),l=c(1);t&&(r?H(r)&&(l=el(r)):l=el(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===F(a))&&o)?ec(a):c(0),s=(i.left+u.x)/l.x,f=(i.top+u.y)/l.y,d=i.width/l.x,p=i.height/l.y;if(a){let e=F(a),t=r&&H(r)?F(r):r,n=e,o=eo(n);for(;o&&r&&t!==n;){let e=el(o),t=o.getBoundingClientRect(),r=ee(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,f*=e.y,d*=e.x,p*=e.y,s+=i,f+=a,o=eo(n=F(o))}}return C({width:d,height:p,x:s,y:f})}function ef(e,t){let n=et(e).scrollLeft;return t?t.left+n:es(j(e)).left+n}function ed(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ef(e,r)),y:r.top+t.scrollTop}}let ep=new Set(["absolute","fixed"]);function eh(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=F(e),r=j(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;let e=G();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l,y:u}}(e,n);else if("document"===t)r=function(e){let t=j(e),n=et(e),r=e.ownerDocument.body,o=a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+ef(e),u=-n.scrollTop;return"rtl"===ee(r).direction&&(l+=a(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:u}}(j(e));else if(H(t))r=function(e,t){let n=es(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=I(e)?el(e):c(1),a=e.clientWidth*i.x;return{width:a,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=ec(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(r)}function ev(e){return"static"===ee(e).position}function em(e,t){if(!I(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function eg(e,t){var n;let r=F(e);if(K(e))return r;if(!I(e)){let t=en(e);for(;t&&!Q(t);){if(H(t)&&!ev(t))return t;t=en(t)}return r}let o=em(e,t);for(;o&&(n=o,_.has(D(n)))&&ev(o);)o=em(o,t);return o&&Q(o)&&ev(o)&&!$(o)?r:o||function(e){let t=en(e);for(;I(t)&&!Q(t);){if($(t))return t;if(K(t))break;t=en(t)}return null}(e)||r}let ey=async function(e){let t=this.getOffsetParent||eg,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=I(t),o=j(t),i="fixed"===n,a=es(e,!0,i,t),l={scrollLeft:0,scrollTop:0},u=c(0);if(r||!r&&!i){if(("body"!==D(t)||Y(o))&&(l=et(t)),r){let e=es(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=ef(o))}i&&!r&&o&&(u.x=ef(o));let s=!o||r||i?c(0):ed(o,l);return{x:a.left+l.scrollLeft-u.x-s.x,y:a.top+l.scrollTop-u.y-s.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=j(r),l=!!t&&K(t.floating);if(r===a||l&&i)return n;let u={scrollLeft:0,scrollTop:0},s=c(1),f=c(0),d=I(r);
1if((d||!d&&!i)&&(("body"!==D(r)||Y(a))&&(u=et(r)),I(r))){let e=es(r);s=el(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!a||d||i?c(0):ed(a,u,!0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+f.x+p.x,y:n.y*s.y-u.scrollTop*s.y+f.y+p.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,l=[..."clippingAncestors"===n?K(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>H(e)&&"body"!==D(e)),o=null,i="fixed"===ee(e).position,a=i?en(e):e;for(;H(a)&&!Q(a);){let t=ee(a),n=$(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ep.has(o.position)||Y(a)&&!n&&function e(t,n){let r=en(t);return!(r===n||!H(r)||Q(r))&&("fixed"===ee(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=en(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=l[0],c=l.reduce((e,n)=>{let r=eh(t,n,o);return e.top=a(r.top,e.top),e.right=i(r.right,e.right),e.bottom=i(r.bottom,e.bottom),e.left=a(r.left,e.left),e},eh(t,u,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:eg,getElementRects:ey,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ei(e);return{width:t,height:n}},getScale:el,isElement:H,isRTL:function(e){return"rtl"===ee(e).direction}};function eb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:l,platform:u,elements:c,middlewareData:s}=t,{element:f,padding:p=0}=d(e,t)||{};if(null==f)return{};let g=A(p),w={x:n,y:r},b=v(y(o)),x=m(b),E=await u.getDimensions(f),R="y"===b,S=R?"clientHeight":"clientWidth",C=l.reference[x]+l.reference[b]-w[b]-l.floating[x],L=w[b]-l.reference[b],P=await (null==u.getOffsetParent?void 0:u.getOffsetParent(f)),T=P?P[S]:0;T&&await (null==u.isElement?void 0:u.isElement(P))||(T=c.floating[S]||l.floating[x]);let k=T/2-E[x]/2-1,O=i(g[R?"top":"left"],k),M=i(g[R?"bottom":"right"],k),W=T-E[x]-M,N=T/2-E[x]/2+(C/2-L/2),D=a(O,i(N,W)),F=!s.arrow&&null!=h(o)&&N!==D&&l.reference[x]/2-(N<O?O:M)-E[x]/2<0,j=F?N<O?N-O:N-W:0;return{[b]:w[b]+j,data:{[b]:D,centerOffset:N-D-j,...F&&{alignmentOffset:j}},reset:F}}}),eE=(e,t,n)=>{let r=new Map,o={platform:ew,...n},i={...o.platform,_c:r};return P(e,t,{...o,platform:i})};var eR=n(54887),eS="undefined"!=typeof document?r.useLayoutEffect:function(){};function eA(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eA(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eA(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eC(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eL(e,t){let n=eC(e);return Math.round(t*n)/n}function eP(e){let t=r.useRef(e);return eS(()=>{t.current=e}),t}let eT=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ex({element:n.current,padding:r}).fn(t):{}:n?ex({element:n,padding:r}).fn(t):{}}}),ek=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:o,y:i,placement:a,middlewareData:l}=e,u=await W(e,n);return a===(null==(t=l.offset)?void 0:t.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}),options:[e,t]}},eO=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:o}=e,{mainAxis:l=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=d(n,e),f={x:t,y:r},h=await T(e,s),m=y(p(o)),g=v(m),w=f[g],b=f[m];if(l){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=w+h[e],r=w-h[t];w=a(n,i(w,r))}if(u){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=b+h[e],r=b-h[t];b=a(n,i(b,r))}let x=c.fn({...e,[g]:w,[m]:b});return{...x,data:{x:x.x-t,y:x.y-r,enabled:{[g]:l,[m]:u}}}}}),options:[e,t]}},eM=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:o,rects:i,middlewareData:a}=e,{offset:l=0,mainAxis:u=!0,crossAxis:c=!0}=d(n,e),s={x:t,y:r},f=y(o),h=v(f),m=s[h],g=s[f],w=d(l,e),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+b.mainAxis,n=i.reference[h]+i.reference[e]-b.mainAxis;m<t?m=t:m>n&&(m=n)}if(c){var x,E;let e="y"===h?"width":"height",t=M.has(p(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(x=a.offset)?void 0:x[f])||0)+(t?0:b.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(E=a.offset)?void 0:E[f])||0)-(t?b.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[h]:m,[f]:g}}}),options:[e,t]}},eW=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,o,i,a;let{placement:l,middlewareData:u,rects:c,initialPlacement:s,platform:f,elements:g}=e,{mainAxis:A=!0,crossAxis:C=!0,fallbackPlacements:L,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:O=!0,...M}=d(n,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let W=p(l),N=y(s),D=p(s)===s,F=await (null==f.isRTL?void 0:f.isRTL(g.floating)),j=L||(D||!O?[S(s)]:function(e){let t=S(e);return[w(e),t,w(t)]}(s)),B="none"!==k;!L&&B&&j.push(...function(e,t,n,r){let o=h(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:b;return t?b:x;case"left":case"right":return t?E:R;default:return[]}}(p(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(w)))),i}(s,O,k,F));let H=[s,...j],I=await T(e,M),z=[],V=(null==(r=u.flip)?void 0:r.overflows)||[];if(A&&z.push(I[W]),C){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),o=v(y(e)),i=m(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=S(a)),[a,S(a)]}(l,c,F);z.push(I[e[0]],I[e[1]])}if(V=[...V,{placement:l,overflows:z}],!z.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=H[e];if(t&&(!("alignment"===C&&N!==y(t))||V.every(e=>e.overflows[0]>0&&y(e.placement)===N)))return{data:{index:e,overflows:V},reset:{placement:t}};let n=null==(i=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(P){case"bestFit":{let e=null==(a=V.filter(e=>{if(B){let t=y(e.placement);return t===N||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=s}if(l!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},eN=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let o,l;let{placement:u,rects:c,platform:s,elements:f}=e,{apply:v=()=>{},...m}=d(n,e),g=await T(e,m),w=p(u),b=h(u),x="y"===y(u),{width:E,height:R}=c.floating;"top"===w||"bottom"===w?(o=w,l=b===(await (null==s.isRTL?void 0:s.isRTL(f.floating))?"start":"end")?"left":"right"):(l=w,o="end"===b?"top":"bottom");let S=R-g.top-g.bottom,A=E-g.left-g.right,C=i(R-g[o],S),L=i(E-g[l],A),P=!e.middlewareData.shift,k=C,O=L;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(O=A),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(k=S),P&&!b){let e=a(g.left,0),t=a(g.right,0),n=a(g.top,0),r=a(g.bottom,0);x?O=E-2*(0!==e||0!==t?e+t:a(g.left,g.right)):k=R-2*(0!==n||0!==r?n+r:a(g.top,g.bottom))}await v({...e,availableWidth:O,availableHeight:k});let M=await s.getDimensions(f.floating);return E!==M.width||R!==M.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eD=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...o}=d(n,e);switch(r){case"referenceHidden":{let n=k(await T(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:O(n)}}}case"escaped":{let n=k(await T(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:O(n)}}}default:return{}}}}),options:[e,t]}},eF=(e,t)=>({...eT(e),options:[e,t]});var ej=n(66840),eB=n(57437),eH=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eB.jsx)(ej.WV.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eB.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eH.displayName="Arrow";var eI=n(98575),ez=n(73966),eV=n(26606),eY=n(61188),e_=n(90420),eX="Popper",[eK,eZ]=(0,ez.b)(eX),[eq,eU]=eK(eX),e$=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,eB.jsx)(eq,{scope:t,anchor:o,onAnchorChange:i,children:n})};e$.displayName=eX;var eG="PopperAnchor",eJ=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,a=eU(eG,n),l=r.useRef(null),u=(0,eI.e)(t,l);return r.useEffect(()=>{a.onAnchorChange((null==o?void 0:o.current)||l.current)}),o?null:(0,eB.jsx)(ej.WV.div,{...i,ref:u})});eJ.displayName=eG;var eQ="PopperContent",[e0,e1]=eK(eQ),e2=r.forwardRef((e,t)=>{var n,o,l,c,s,f,d,p;let{__scopePopper:h,side:v="bottom",sideOffset:m=0,align:g="center",alignOffset:y=0,arrowPadding:w=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:R="partial",hideWhenDetached:S=!1,updatePositionStrategy:A="optimized",onPlaced:C,...L}=e,P=eU(eQ,h),[T,k]=r.useState(null),O=(0,eI.e)(t,e=>k(e)),[M,W]=r.useState(null),N=(0,e_.t)(M),D=null!==(d=null==N?void 0:N.width)&&void 0!==d?d:0,F=null!==(p=null==N?void 0:N.height)&&void 0!==p?p:0,B="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},H=Array.isArray(x)?x:[x],I=H.length>0,z={padding:B,boundary:H.filter(e9),altBoundary:I},{refs:V,floatingStyles:Y,placement:_,isPositioned:X,middlewareData:K}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:l}={},transform:u=!0,whileElementsMounted:c,open:s}=e,[f,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);eA(p,o)||h(o);let[v,m]=r.useState(null),[g,y]=r.useState(null),w=r.useCallback(e=>{e!==R.current&&(R.current=e,m(e))},[]),b=r.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),x=a||v,E=l||g,R=r.useRef(null),S=r.useRef(null),A=r.useRef(f),C=null!=c,L=eP(c),P=eP(i),T=eP(s),k=r.useCallback(()=>{if(!R.current||!S.current)return;let e={placement:t,strategy:n,middleware:p};P.current&&(e.platform=P.current),eE(R.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};O.current&&!eA(A.current,t)&&(A.current=t,eR.flushSync(()=>{d(t)}))})},[p,t,n,P,T]);eS(()=>{!1===s&&A.current.isPositioned&&(A.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[s]);let O=r.useRef(!1);eS(()=>(O.current=!0,()=>{O.current=!1}),[]),eS(()=>
1{if(x&&(R.current=x),E&&(S.current=E),x&&E){if(L.current)return L.current(x,E,k);k()}},[x,E,k,L,C]);let M=r.useMemo(()=>({reference:R,floating:S,setReference:w,setFloating:b}),[w,b]),W=r.useMemo(()=>({reference:x,floating:E}),[x,E]),N=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!W.floating)return e;let t=eL(W.floating,f.x),r=eL(W.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...eC(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,W.floating,f.x,f.y]);return r.useMemo(()=>({...f,update:k,refs:M,elements:W,floatingStyles:N}),[f,k,M,W,N])}({strategy:"fixed",placement:v+("center"!==g?"-"+g:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=ea(e),h=l||c?[...p?er(p):[],...er(t)]:[];h.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)});let v=p&&f?function(e,t){let n,r=null,o=j(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function c(s,f){void 0===s&&(s=!1),void 0===f&&(f=1),l();let d=e.getBoundingClientRect(),{left:p,top:h,width:v,height:m}=d;if(s||t(),!v||!m)return;let g=u(h),y=u(o.clientWidth-(p+v)),w={rootMargin:-g+"px "+-y+"px "+-u(o.clientHeight-(h+m))+"px "+-u(p)+"px",threshold:a(0,i(1,f))||1},b=!0;function x(t){let r=t[0].intersectionRatio;if(r!==f){if(!b)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||eb(d,e.getBoundingClientRect())||c(),b=!1}try{r=new IntersectionObserver(x,{...w,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(x,w)}r.observe(e)}(!0),l}(p,n):null,m=-1,g=null;s&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),g.observe(t));let y=d?es(e):null;return d&&function t(){let r=es(e);y&&!eb(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===A})},elements:{reference:P.anchor},middleware:[ek({mainAxis:m+F,alignmentAxis:y}),b&&eO({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?eM():void 0,...z}),b&&eW({...z}),eN({...z,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:a}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(i,"px")),l.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),M&&eF({element:M,padding:w}),e8({arrowWidth:D,arrowHeight:F}),S&&eD({strategy:"referenceHidden",...z})]}),[Z,q]=e3(_),U=(0,eV.W)(C);(0,eY.b)(()=>{X&&(null==U||U())},[X,U]);let $=null===(n=K.arrow)||void 0===n?void 0:n.x,G=null===(o=K.arrow)||void 0===o?void 0:o.y,J=(null===(l=K.arrow)||void 0===l?void 0:l.centerOffset)!==0,[Q,ee]=r.useState();return(0,eY.b)(()=>{T&&ee(window.getComputedStyle(T).zIndex)},[T]),(0,eB.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:X?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[null===(c=K.transformOrigin)||void 0===c?void 0:c.x,null===(s=K.transformOrigin)||void 0===s?void 0:s.y].join(" "),...(null===(f=K.hide)||void 0===f?void 0:f.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eB.jsx)(e0,{scope:h,placedSide:Z,onArrowChange:W,arrowX:$,arrowY:G,shouldHideArrow:J,children:(0,eB.jsx)(ej.WV.div,{"data-side":Z,"data-align":q,...L,ref:O,style:{...L.style,animation:X?void 0:"none"}})})})});e2.displayName=eQ;var e5="PopperArrow",e6={top:"bottom",right:"left",bottom:"top",left:"right"},e7=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=e1(e5,n),i=e6[o.placedSide];return(0,eB.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,eB.jsx)(eH,{...r,ref:t,style:{...r.style,display:"block"}})})});function e9(e){return null!==e}e7.displayName=e5;var e8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:l,rects:u,middlewareData:c}=t,s=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=s?0:e.arrowWidth,d=s?0:e.arrowHeight,[p,h]=e3(l),v={start:"0%",center:"50%",end:"100%"}[h],m=(null!==(i=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+f/2,g=(null!==(a=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==a?a:0)+d/2,y="",w="";return"bottom"===p?(y=s?v:"".concat(m,"px"),w="".concat(-d,"px")):"top"===p?(y=s?v:"".concat(m,"px"),w="".concat(u.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=s?v:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+d,"px"),w=s?v:"".concat(g,"px")),{data:{x:y,y:w}}}});function e3(e){let[t,n="center"]=e.split("-");return[t,n]}var e4=e$,te=eJ,tt=e2,tn=e7},83832:function(e,t,n){n.d(t,{h:function(){return u}});var r=n(2265),o=n(54887),i=n(66840),a=n(61188),l=n(57437),u=r.forwardRef((e,t)=>
1{var n,u;let{container:c,...s}=e,[f,d]=r.useState(!1);(0,a.b)(()=>d(!0),[]);let p=c||f&&(null===(u=globalThis)||void 0===u?void 0:null===(n=u.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,l.jsx)(i.WV.div,{...s,ref:t}),p):null});u.displayName="Portal"},26606:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(2265);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},90420:function(e,t,n){n.d(t,{t:function(){return i}});var r=n(2265),o=n(61188);function i(e){let[t,n]=r.useState(void 0);return(0,o.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}}}]);
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.