1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3072],{1637:(e,t,n)=>{n.d(t,{C:()=>a,f:()=>i});var r=n(27743);function o(e){return e}function u(e,t){void 0===t&&(t=o);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var u=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(u)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}function a(e,t){return void 0===t&&(t=o),u(e,t)}function i(e){void 0===e&&(e={});var t=u(null);return t.options=(0,r.Cl)({async:!0,ssr:!1},e),t}},7862:(e,t,n)=>{n.d(t,{A:()=>$});var r,o,u=n(27743),a=n(48503),i="right-scroll-bar-position",c="width-before-scroll-bar",l=n(56376),s=(0,n(1637).f)(),d=function(){},f=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:d}),o=r[0],i=r[1],c=e.forwardProps,f=e.children,v=e.className,m=e.removeScrollBar,p=e.enabled,h=e.shards,g=e.sideCar,E=e.noRelative,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,N=e.as,C=e.gapMode,S=(0,u.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=(0,l.S)([n,t]),L=(0,u.Cl)((0,u.Cl)({},S),o);return a.createElement(a.Fragment,null,p&&a.createElement(g,{sideCar:s,removeScrollBar:m,shards:h,noRelative:E,noIsolation:y,inert:b,setCallbacks:i,allowPinchZoom:!!w,lockRef:n,gapMode:C}),c?a.cloneElement(a.Children.only(f),(0,u.Cl)((0,u.Cl)({},L),{ref:T})):a.createElement(void 0===N?"div":N,(0,u.Cl)({},L,{className:v,ref:T}),f))});f.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},f.classNames={fullWidth:c,zeroRight:i};var v=function(e){var t=e.sideCar,n=(0,u.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return a.createElement(r,(0,u.Cl)({},n))};v.isSideCarExport=!0;var m=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||n.nc;return t&&e.setAttribute("nonce",t),e}())){var u,a;(u=t).styleSheet?u.styleSheet.cssText=r:u.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},p=function(){var e=m();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},h=function(){var e=p();return function(t){return e(t.styles,t.dynamic),null}},g={left:0,top:0,right:0,gap:0},E=function(e){return parseInt(e||"",10)||0},y=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[E(n),E(r),E(o)]},b=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return g;var t=y(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])}},w=h(),N="data-scroll-locked",C=function(e,t,n,r){var o=e.left,u=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(N,"] {\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(u,"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,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(i," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(c," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(i," .").concat(i," {\n right: 0 ").concat(r,";\n }\n \n .").concat(c," .").concat(c," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(N,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},S=function(){var e=parseInt(document.body.getAttribute(N)||"0",10);return isFinite(e)?e:0},T=function(){a.useEffect(function(){return document.body.setAttribute(N,(S()+1).toString()),function(){var e=S()-1;e<=0?document.body.removeAttribute(N):document.body.setAttribute(N,e.toString())}},[])},L=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;T();var u=a.useMemo(function(){return b(o)},[o]);return a.createElement(w,{styles:C(u,!t,o,n?"":"!important")})},M=!1;if("undefined"!=typeof window)try{var R=Object.defineProperty({},"passive",{get:function(){return M=!0,!0}});window.addEventListener("test",R,R),window.removeEventListener("test",R,R)}catch(e){M=!1}var A=!!M&&{passive:!1},P=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},k=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),x(e,r)){var o=O(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},x=function(e,t){return"v"===e?P(t,"overflowY"):P(t,"overflowX")},O=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},D=function(e,t,n,r,o){var u,a=(u=window.getComputedStyle(t).direction,"h"===e&&"rtl"===u?-1:1),i=a*r,c=n.target,l=t.contains(c),s=!1,d=i>0,f=0,v=0;do{if(!c)break;var m=O(e,c),p=m[0],h=m[1]-m[2]-a*p;(p||h)&&x(e,c)&&(f+=h,v+=p);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&i>f)?s=!0:!d&&(o&&1>Math.abs(v)||!o&&-i>v)&&(s=!0),s},I=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},W=function(e){return[e.deltaX,e.deltaY]},F=function(e){return e&&"current"in e?e.current:e},_=0,j=[];let B=(r=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(_++)[0],i=a.useState(h)[0],c=a.useRef(e);a.useEffect(function(){c.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,u.fX)([e.lockRef.current],(e.shards||[]).map(F),!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=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var o,u=I(e),a=n.current,i="deltaX"in e?e.deltaX:a[0]-u[0],l="deltaY"in e?e.deltaY:a[1]-u[1],s=e.target,d=Math.abs(i)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=k(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=k(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(i||l)&&(r.current=o),!o)return!0;var v=r.current||o;return D(v,t,e,"h"===v?i:l,!0)},[]),s=a.useCallback(function(e){if(j.length&&j[j.length-1]===i){var n="deltaY"in e?W(e):I(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(c.current.shards||[]).map(F).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=a.useCallback(function(e,n,r,o){var u={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(u),setTimeout(function(){t.current=t.current.filter(function(e){return e!==u})},1)},[]),f=a.useCallback(function(e){n.current=I(e),r.current=void 0},[]),v=a.useCallback(function(t){d(t.type,W(t),t.target,l(t,e.lockRef.current))},[]),m=a.useCallback(function(t){d(t.type,I(t),t.target,l(t,e.lockRef.current))},[]);a.useEffect(function(){return j.push(i),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:m}),document.addEventListener("wheel",s,A),document.addEventListener("touchmove",s,A),document.addEventListener("touchstart",f,A),function(){j=j.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,A),document.removeEventListener("touchmove",s,A),document.removeEventListener("touchstart",f,A)}},[]);var p=e.removeScrollBar,g=e.inert;return a.createElement(a.Fragment,null,g?a.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?a.createElement(L,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},s.useMedium(r),v);var U=a.forwardRef(function(e,t){return a.createElement(f,(0,u.Cl)({},e,{ref:t,sideCar:B}))});U.classNames=f.classNames;let $=U}
1,10512:(e,t,n)=>{n.d(t,{B:()=>c});var r,o=n(48503),u=n(11276),a=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),i=0;function c(e){let[t,n]=o.useState(a());return(0,u.N)(()=>{e||n(e=>e??String(i++))},[e]),e||(t?`radix-${t}`:"")}},11276:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(48503),o=globalThis?.document?r.useLayoutEffect:()=>{}},14821:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(48503),o=n(48758),u=n(42381),a=n(11276),i=n(95039),c=r.forwardRef((e,t)=>{var n,c;let{container:l,...s}=e,[d,f]=r.useState(!1);(0,a.N)(()=>f(!0),[]);let v=l||d&&(null==(c=globalThis)||null==(n=c.document)?void 0:n.body);return v?o.createPortal((0,i.jsx)(u.sG.div,{...s,ref:t}),v):null});c.displayName="Portal"},17348:(e,t,n)=>{n.d(t,{Eq:()=>l});var r=new WeakMap,o=new WeakMap,u={},a=0,i=function(e){return e&&(e.host||i(e.parentNode))},c=function(e,t,n,c){var l=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=i(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});u[n]||(u[n]=new WeakMap);var s=u[n],d=[],f=new Set,v=new Set(l),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};l.forEach(m);var p=function(e){!e||v.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))p(e);else try{var t=e.getAttribute(c),u=null!==t&&"false"!==t,a=(r.get(e)||0)+1,i=(s.get(e)||0)+1;r.set(e,a),s.set(e,i),d.push(e),1===a&&u&&o.set(e,!0),1===i&&e.setAttribute(n,"true"),u||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(t),f.clear(),a++,function(){d.forEach(function(e){var t=r.get(e)-1,u=s.get(e)-1;r.set(e,t),s.set(e,u),t||(o.has(e)||e.removeAttribute(c),o.delete(e)),u||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,o=new WeakMap,u={})}},l=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),c(r,o,n,"aria-hidden")):function(){return null}}},42381:(e,t,n)=>{n.d(t,{hO:()=>c,sG:()=>i});var r=n(48503),o=n(48758),u=n(55835),a=n(95039),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,u.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...u}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(o?n:t,{...u,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function c(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},42884:(e,t,n)=>{n.d(t,{i:()=>i});var r,o=n(48503),u=n(11276),a=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||u.N;function i({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[u,i,c]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),u=o.useRef(n),i=o.useRef(t);return a(()=>{i.current=t},[t]),o.useEffect(()=>{u.current!==n&&(i.current?.(n),u.current=n)},[n,u]),[n,r,i]}({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:u;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,r])}return[s,o.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&c.current?.(n)}else i(t)},[l,e,i,c])]}Symbol("RADIX:SYNC_STATE")},56376:(e,t,n)=>{n.d(t,{S:()=>i});var r=n(48503);function o(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var u="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,a=new WeakMap;function i(e,t){var n,i,c,l=(n=t||null,i=function(t){return e.forEach(function(e){return o(e,t)})},(c=(0,r.useState)(function(){return{value:n,callback:i,facade:{get current(){return c.value},set current(value){var e=c.value;e!==value&&(c.value=value,c.callback(value,e))}}}})[0]).callback=i,c.facade);return u(function(){var t=a.get(l);if(t){var n=new Set(t),r=new Set(e),u=l.current;
1n.forEach(function(e){r.has(e)||o(e,null)}),r.forEach(function(e){n.has(e)||o(e,u)})}a.set(l,e)},[e]),l}},61746:(e,t,n)=>{n.d(t,{n:()=>d});var r=n(48503),o=n(66903),u=n(42381),a=n(98268),i=n(95039),c="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:h,onUnmountAutoFocus:g,...E}=e,[y,b]=r.useState(null),w=(0,a.c)(h),N=(0,a.c)(g),C=r.useRef(null),S=(0,o.s)(t,e=>b(e)),T=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(T.paused||!y)return;let t=e.target;y.contains(t)?C.current=t:m(C.current,{select:!0})},t=function(e){if(T.paused||!y)return;let t=e.relatedTarget;null!==t&&(y.contains(t)||m(C.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&&m(y)});return y&&n.observe(y,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,y,T.paused]),r.useEffect(()=>{if(y){p.add(T);let e=document.activeElement;if(!y.contains(e)){let t=new CustomEvent(c,s);y.addEventListener(c,w),y.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(m(r,{select:t}),document.activeElement!==n)return}(f(y).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(y))}return()=>{y.removeEventListener(c,w),setTimeout(()=>{let t=new CustomEvent(l,s);y.addEventListener(l,N),y.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),y.removeEventListener(l,N),p.remove(T)},0)}}},[y,w,N,T]);let L=r.useCallback(e=>{if(!n&&!d||T.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,u]=function(e){let t=f(e);return[v(t,e),v(t.reverse(),e)]}(t);o&&u?e.shiftKey||r!==u?e.shiftKey&&r===o&&(e.preventDefault(),n&&m(u,{select:!0})):(e.preventDefault(),n&&m(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,T.paused]);return(0,i.jsx)(u.sG.div,{tabIndex:-1,...E,ref:S,onKeyDown:L})});function f(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function v(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 m(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 p=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=h(e,t)).unshift(t)},remove(t){var n;null==(n=(e=h(e,t))[0])||n.resume()}}}();function h(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},67887:(e,t,n)=>{n.d(t,{Oh:()=>u});var r=n(48503),o=0;function u(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:a()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?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}},78089:(e,t,n)=>{n.d(t,{A:()=>a,q:()=>u});var r=n(48503),o=n(95039);function u(e,t){let n=r.createContext(t),u=e=>{let{children:t,...u}=e,a=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(n.Provider,{value:a,children:t})};return u.displayName=e+"Provider",[u,function(o){let u=r.useContext(n);if(u)return u;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function a(e,t=[]){let n=[],u=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return u.scopeName=e,[function(t,u){let a=r.createContext(u),i=n.length;n=[...n,u];let c=t=>{let{scope:n,children:u,...c}=t,l=n?.[e]?.[i]||a,s=r.useMemo(()=>c,Object.values(c));return(0,o.jsx)(l.Provider,{value:s,children:u})};return c.displayName=t+"Provider",[c,function(n,o){let c=o?.[e]?.[i]||a,l=r.useContext(c);if(l)return l;if(void 0!==u)return u;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(u,...t)]}},80241:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},83553:(e,t,n)=>{n.d(t,{qW:()=>f});var r,o=n(48503),u=n(80241),a=n(42381),i=n(66903),c=n(98268),l=n(95039),s="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=o.forwardRef((e,t)=>
1{var n,f;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:E,onInteractOutside:y,onDismiss:b,...w}=e,N=o.useContext(d),[C,S]=o.useState(null),T=null!=(f=null==C?void 0:C.ownerDocument)?f:null==(n=globalThis)?void 0:n.document,[,L]=o.useState({}),M=(0,i.s)(t,e=>S(e)),R=Array.from(N.layers),[A]=[...N.layersWithOutsidePointerEventsDisabled].slice(-1),P=R.indexOf(A),k=C?R.indexOf(C):-1,x=N.layersWithOutsidePointerEventsDisabled.size>0,O=k>=P,D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,c.c)(e),u=o.useRef(!1),a=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!u.current){let t=function(){m("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);u.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:()=>u.current=!0}}(e=>{let t=e.target,n=[...N.branches].some(e=>e.contains(t));O&&!n&&(null==g||g(e),null==y||y(e),e.defaultPrevented||null==b||b())},T),I=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,c.c)(e),u=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!u.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>u.current=!0,onBlurCapture:()=>u.current=!1}}(e=>{let t=e.target;![...N.branches].some(e=>e.contains(t))&&(null==E||E(e),null==y||y(e),e.defaultPrevented||null==b||b())},T);return!function(e,t=globalThis?.document){let n=(0,c.c)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{k===N.layers.size-1&&(null==h||h(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},T),o.useEffect(()=>{if(C)return p&&(0===N.layersWithOutsidePointerEventsDisabled.size&&(r=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),N.layersWithOutsidePointerEventsDisabled.add(C)),N.layers.add(C),v(),()=>{p&&1===N.layersWithOutsidePointerEventsDisabled.size&&(T.body.style.pointerEvents=r)}},[C,T,p,N]),o.useEffect(()=>()=>{C&&(N.layers.delete(C),N.layersWithOutsidePointerEventsDisabled.delete(C),v())},[C,N]),o.useEffect(()=>{let e=()=>L({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,l.jsx)(a.sG.div,{...w,ref:M,style:{pointerEvents:x?O?"auto":"none":void 0,...e.style},onFocusCapture:(0,u.m)(e.onFocusCapture,I.onFocusCapture),onBlurCapture:(0,u.m)(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:(0,u.m)(e.onPointerDownCapture,D.onPointerDownCapture)})});function v(){let e=new CustomEvent(s);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:o}=r,u=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&u.addEventListener(e,t,{once:!0}),o?(0,a.hO)(u,i):u.dispatchEvent(i)}f.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(d),r=o.useRef(null),u=(0,i.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,l.jsx)(a.sG.div,{...e,ref:u})}).displayName="DismissableLayerBranch"},96907:(e,t,n)=>{n.d(t,{C:()=>a});var r=n(48503),o=n(66903),u=n(11276),a=e=>{let{present:t,children:n}=e,a=function(e){var t,n;let[o,a]=r.useState(),c=r.useRef(null),l=r.useRef(e),s=r.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=i(c.current);s.current="mounted"===d?e:"none"},[d]),(0,u.N)(()=>{let t=c.current,n=l.current;if(n!==e){let r=s.current,o=i(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),l.current=e}},[e,f]),(0,u.N)(()=>
1{if(o){var e;let t,n=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=i(c.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!l.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},u=e=>{e.target===o&&(s.current=i(c.current))};return o.addEventListener("animationstart",u),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",u),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{c.current=e?getComputedStyle(e):null,a(e)},[])}}(t),c="function"==typeof n?n({present:a.isPresent}):r.Children.only(n),l=(0,o.s)(a.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(c));return"function"==typeof n||a.isPresent?r.cloneElement(c,{ref:l}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},98268:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(48503);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}}}]);
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.