1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4061],{4061:(e,t,n)=>{n.d(t,{UC:()=>eJ,ZL:()=>e$,bL:()=>eG,l9:()=>eH});var r,o,a=n(6823),i=n.t(a,2),c=n(3468),u=n(3034),l=n(1450),s=n(1347),d=0;function f(){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 p=n(7684),v=n(63),h=n(3839),m="focusScope.autoFocusOnMount",g="focusScope.autoFocusOnUnmount",y={bubbles:!1,cancelable:!0},b=a.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...c}=e,[l,s]=a.useState(null),d=(0,v.c)(o),f=(0,v.c)(i),b=a.useRef(null),S=(0,u.s)(t,e=>s(e)),R=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let e=function(e){if(R.paused||!l)return;let t=e.target;l.contains(t)?b.current=t:C(b.current,{select:!0})},t=function(e){if(R.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||C(b.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&&C(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,R.paused]),a.useEffect(()=>{if(l){x.add(R);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(m,y);l.addEventListener(m,d),l.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(C(r,{select:t}),document.activeElement!==n)return}(E(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&C(l))}return()=>{l.removeEventListener(m,d),setTimeout(()=>{let t=new CustomEvent(g,y);l.addEventListener(g,f),l.dispatchEvent(t),t.defaultPrevented||C(null!=e?e:document.body,{select:!0}),l.removeEventListener(g,f),x.remove(R)},0)}}},[l,d,f,R]);let A=a.useCallback(e=>{if(!n&&!r||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=function(e){let t=E(e);return[w(t,e),w(t.reverse(),e)]}(t);r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&C(a,{select:!0})):(e.preventDefault(),n&&C(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,R.paused]);return(0,h.jsx)(p.sG.div,{tabIndex:-1,...c,ref:S,onKeyDown:A})});function E(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 w(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 C(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()}}b.displayName="FocusScope";var x=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=S(e,t)).unshift(t)},remove(t){var n;null==(n=(e=S(e,t))[0])||n.resume()}}}();function S(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var R=n(7211),A=i[" useId ".trim().toString()]||(()=>void 0),k=0,N=n(9397),P=n(1307),M=n(5738),O=n(460),T=n(1491),L=new WeakMap,j=new WeakMap,F={},I=0,D=function(e){return e&&(e.host||D(e.parentNode))},_=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=D(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});F[n]||(F[n]=new WeakMap);var a=F[n],i=[],c=new Set,u=new Set(o),l=function(e){!e||c.has(e)||(c.add(e),l(e.parentNode))};o.forEach(l);var s=function(e){!e||u.has(e)||Array.prototype.forEach.call(e.children,function(e){if(c.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,u=(L.get(e)||0)+1,l=(a.get(e)||0)+1;L.set(e,u),a.set(e,l),i.push(e),1===u&&o&&j.set(e,!0),1===l&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};
1return s(t),c.clear(),I++,function(){i.forEach(function(e){var t=L.get(e)-1,o=a.get(e)-1;L.set(e,t),a.set(e,o),t||(j.has(e)||e.removeAttribute(r),j.delete(e)),o||e.removeAttribute(n)}),--I||(L=new WeakMap,L=new WeakMap,j=new WeakMap,F={})}},W=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"))),_(r,o,n,"aria-hidden")):function(){return null}},K=function(){return(K=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 B(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}Object.create;Object.create;var U=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),X="width-before-scroll-bar";function Y(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Z="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,q=new WeakMap;function z(e){return e}var G=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=z),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}});return o.options=K({async:!0,ssr:!1},e),o}(),H=function(){},$=a.forwardRef(function(e,t){var n,r,o,i,c=a.useRef(null),u=a.useState({onScrollCapture:H,onWheelCapture:H,onTouchMoveCapture:H}),l=u[0],s=u[1],d=e.forwardProps,f=e.children,p=e.className,v=e.removeScrollBar,h=e.enabled,m=e.shards,g=e.sideCar,y=e.noRelative,b=e.noIsolation,E=e.inert,w=e.allowPinchZoom,C=e.as,x=e.gapMode,S=B(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(n=[c,t],r=function(e){return n.forEach(function(t){return Y(t,e)})},(o=(0,a.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,Z(function(){var e=q.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||Y(e,null)}),r.forEach(function(e){t.has(e)||Y(e,o)})}q.set(i,n)},[n]),i),A=K(K({},S),l);return a.createElement(a.Fragment,null,h&&a.createElement(g,{sideCar:G,removeScrollBar:v,shards:m,noRelative:y,noIsolation:b,inert:E,setCallbacks:s,allowPinchZoom:!!w,lockRef:c,gapMode:x}),d?a.cloneElement(a.Children.only(f),K(K({},A),{ref:R})):a.createElement(void 0===C?"div":C,K({},A,{className:p,ref:R}),f))});$.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},$.classNames={fullWidth:X,zeroRight:U};var J=function(e){var t=e.sideCar,n=B(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,K({},n))};J.isSideCarExport=!0;var Q=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 a,i;(a=t).styleSheet?a.styleSheet.cssText=r:a.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},V=function(){var e=Q();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ee=function(){var e=V();return function(t){return e(t.styles,t.dynamic),null}},et={left:0,top:0,right:0,gap:0},en=function(e){return parseInt(e||"",10)||0},er=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[en(n),en(r),en(o)]},eo=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return et;var t=er(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])}},ea=ee(),ei="data-scroll-locked",ec=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(ei,"] {\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(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(U," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(X," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(U," .").concat(U," {\n right: 0 ").concat(r,";\n }\n \n .").concat(X," .").concat(X," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(ei,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},eu=function(){var e=parseInt(document.body.getAttribute(ei)||"0",10);return isFinite(e)?e:0},el=function(){a.useEffect(function(){return document.body.setAttribute(ei,(eu()+1).toString()),function(){var e=eu()-1;e<=0?document.body.removeAttribute(ei):document.body.setAttribute(ei,e.toString())}},[])},es=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;el();var i=a.useMemo(function(){return eo(o)},[o]);return a.createElement(ea,{styles:ec(i,!t,o,n?"":"!important")})},ed=!1;if("undefined"!=typeof window)try{var ef=Object.defineProperty({},"passive",{get:function(){return ed=!0,!0}});window.addEventListener("test",ef,ef),window.removeEventListener("test",ef,ef)}catch(e){ed=!1}var ep=!!ed&&{passive:!1},ev=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])},eh=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),em(e,r)){var o=eg(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},em=function(e,t){return"v"===e?ev(t,"overflowY"):ev(t,"overflowX")},eg=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ey=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),c=i*r,u=n.target,l=t.contains(u),s=!1,d=c>0,f=0,p=0;do{if(!u)break;var v=eg(e,u),h=v[0],m=v[1]-v[2]-i*h;(h||m)&&em(e,u)&&(f+=m,p+=h);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&c>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-c>p)&&(s=!0),s},eb=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eE=function(e){return[e.deltaX,e.deltaY]},ew=function(e){return e&&"current"in e?e.current:e},eC=0,ex=[];let eS=(r=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(eC++)[0],i=a.useState(ee)[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=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;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(ew),!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 u=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var o,a=eb(e),i=n.current,u="deltaX"in e?e.deltaX:i[0]-a[0],l="deltaY"in e?e.deltaY:i[1]-a[1],s=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var v=eh(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=eh(d,s)),!v)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var h=r.current||o;return ey(h,t,e,"h"===h?u:l,!0)},[]),l=a.useCallback(function(e){if(ex.length&&ex[ex.length-1]===i){var n="deltaY"in e?eE(e):eb(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}
1if(!r){var o=(c.current.shards||[]).map(ew).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=a.useCallback(function(e,n,r,o){var a={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(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=a.useCallback(function(e){n.current=eb(e),r.current=void 0},[]),f=a.useCallback(function(t){s(t.type,eE(t),t.target,u(t,e.lockRef.current))},[]),p=a.useCallback(function(t){s(t.type,eb(t),t.target,u(t,e.lockRef.current))},[]);a.useEffect(function(){return ex.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ep),document.addEventListener("touchmove",l,ep),document.addEventListener("touchstart",d,ep),function(){ex=ex.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,ep),document.removeEventListener("touchmove",l,ep),document.removeEventListener("touchstart",d,ep)}},[]);var v=e.removeScrollBar,h=e.inert;return a.createElement(a.Fragment,null,h?a.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?a.createElement(es,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},G.useMedium(r),J);var eR=a.forwardRef(function(e,t){return a.createElement($,K({},e,{ref:t,sideCar:eS}))});eR.classNames=$.classNames;var eA="Popover",[ek,eN]=(0,l.A)(eA,[N.Bk]),eP=(0,N.Bk)(),[eM,eO]=ek(eA),eT=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:c=!1}=e,u=eP(t),l=a.useRef(null),[s,d]=a.useState(!1),[f,p]=(0,T.i)({prop:r,defaultProp:null!=o&&o,onChange:i,caller:eA});return(0,h.jsx)(N.bL,{...u,children:(0,h.jsx)(eM,{scope:t,contentId:function(e){let[t,n]=a.useState(A());return(0,R.N)(()=>{n(e=>e??String(k++))},[void 0]),e||(t?`radix-${t}`:"")}(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:a.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:s,onCustomAnchorAdd:a.useCallback(()=>d(!0),[]),onCustomAnchorRemove:a.useCallback(()=>d(!1),[]),modal:c,children:n})})};eT.displayName=eA;var eL="PopoverAnchor";a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=eO(eL,n),i=eP(n),{onCustomAnchorAdd:c,onCustomAnchorRemove:u}=o;return a.useEffect(()=>(c(),()=>u()),[c,u]),(0,h.jsx)(N.Mz,{...i,...r,ref:t})}).displayName=eL;var ej="PopoverTrigger",eF=a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=eO(ej,n),a=eP(n),i=(0,u.s)(t,o.triggerRef),l=(0,h.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ez(o.open),...r,ref:i,onClick:(0,c.mK)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?l:(0,h.jsx)(N.Mz,{asChild:!0,...a,children:l})});eF.displayName=ej;var eI="PopoverPortal",[eD,e_]=ek(eI,{forceMount:void 0}),eW=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=eO(eI,t);return(0,h.jsx)(eD,{scope:t,forceMount:n,children:(0,h.jsx)(M.C,{present:n||a.open,children:(0,h.jsx)(P.Z,{asChild:!0,container:o,children:r})})})};eW.displayName=eI;var eK="PopoverContent",eB=a.forwardRef((e,t)=>{let n=e_(eK,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=eO(eK,e.__scopePopover);return(0,h.jsx)(M.C,{present:r||a.open,children:a.modal?(0,h.jsx)(eX,{...o,ref:t}):(0,h.jsx)(eY,{...o,ref:t})})});eB.displayName=eK;var eU=(0,O.TL)("PopoverContent.RemoveScroll"),eX=a.forwardRef((e,t)=>{let n=eO(eK,e.__scopePopover),r=a.useRef(null),o=(0,u.s)(t,r),i=a.useRef(!1);return a.useEffect(()=>{let e=r.current;if(e)return W(e)},[]),(0,h.jsx)(eR,{as:eU,allowPinchZoom:!0,children:(0,h.jsx)(eZ,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,c.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),i.current||null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,c.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;i.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,c.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),eY=a.forwardRef((e,t)=>
1{let n=eO(eK,e.__scopePopover),r=a.useRef(!1),o=a.useRef(!1);return(0,h.jsx)(eZ,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var a,i;null==(a=e.onCloseAutoFocus)||a.call(e,t),t.defaultPrevented||(r.current||null==(i=n.triggerRef.current)||i.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var a,i;null==(a=e.onInteractOutside)||a.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let c=t.target;(null==(i=n.triggerRef.current)?void 0:i.contains(c))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),eZ=a.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:l,onFocusOutside:p,onInteractOutside:v,...m}=e,g=eO(eK,n),y=eP(n);return a.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:f()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:f()),d++,()=>{1===d&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),d--}},[]),(0,h.jsx)(b,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,h.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:v,onEscapeKeyDown:u,onPointerDownOutside:l,onFocusOutside:p,onDismiss:()=>g.onOpenChange(!1),children:(0,h.jsx)(N.UC,{"data-state":ez(g.open),role:"dialog",id:g.contentId,...y,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),eq="PopoverClose";function ez(e){return e?"open":"closed"}a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=eO(eq,n);return(0,h.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,c.mK)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=eq,a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=eP(n);return(0,h.jsx)(N.i3,{...o,...r,ref:t})}).displayName="PopoverArrow";var eG=eT,eH=eF,e$=eW,eJ=eB}}]);
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.