1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4b2c9f64-e738-4cae-97a7-c8b97674af46",e._sentryDebugIdIdentifier="sentry-dbid-4b2c9f64-e738-4cae-97a7-c8b97674af46")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4231],{32489:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},3275:function(e,t,n){let r;n.d(t,{x8:function(){return td},VY:function(){return tl},dk:function(){return ts},aV:function(){return tu},h_:function(){return ti},fC:function(){return to},Dx:function(){return tc},xz:function(){return ta}});var o,a,i,u,l,c,s,d,f=n(2265),p=n(6741),v=n(98575),m=n(73966),h=n(99255),g=n(80886),y=n(82912),b=n(26606),E=n(57437),w="dismissableLayer.update",C=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),R=f.forwardRef((e,t)=>{var n,r;let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:u,onInteractOutside:l,onDismiss:c,...d}=e,m=f.useContext(C),[h,g]=f.useState(null),R=null!==(r=null==h?void 0:h.ownerDocument)&&void 0!==r?r:null===(n=globalThis)||void 0===n?void 0:n.document,[,S]=f.useState({}),N=(0,v.e)(t,e=>g(e)),k=Array.from(m.layers),[M]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),j=k.indexOf(M),O=h?k.indexOf(h):-1,L=m.layersWithOutsidePointerEventsDisabled.size>0,P=O>=j,T=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,b.W)(e),o=f.useRef(!1),a=f.useRef(()=>{});return f.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){D("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);o.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:()=>o.current=!0}}(e=>{let t=e.target,n=[...m.branches].some(e=>e.contains(t));!P||n||(null==i||i(e),null==l||l(e),e.defaultPrevented||null==c||c())},R),W=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,b.W)(e),o=f.useRef(!1);return f.useEffect(()=>{let e=e=>{e.target&&!o.current&&D("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...m.branches].some(e=>e.contains(t))||(null==u||u(e),null==l||l(e),e.defaultPrevented||null==c||c())},R);return!function(e,t=globalThis?.document){let n=(0,b.W)(e);f.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!==m.layers.size-1||(null==a||a(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},R),f.useEffect(()=>{if(h)return o&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(s=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(h)),m.layers.add(h),x(),()=>{o&&1===m.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=s)}},[h,R,o,m]),f.useEffect(()=>()=>{h&&(m.layers.delete(h),m.layersWithOutsidePointerEventsDisabled.delete(h),x())},[h,m]),f.useEffect(()=>{let e=()=>S({});return document.addEventListener(w,e),()=>document.removeEventListener(w,e)},[]),(0,E.jsx)(y.WV.div,{...d,ref:N,style:{pointerEvents:L?P?"auto":"none":void 0,...e.style},onFocusCapture:(0,p.Mj)(e.onFocusCapture,W.onFocusCapture),onBlurCapture:(0,p.Mj)(e.onBlurCapture,W.onBlurCapture),onPointerDownCapture:(0,p.Mj)(e.onPointerDownCapture,T.onPointerDownCapture)})});function x(){let e=new CustomEvent(w);document.dispatchEvent(e)}function D(e,t,n,r){let{discrete:o}=r,a=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),o?(0,y.jH)(a,i):a.dispatchEvent(i)}R.displayName="DismissableLayer",f.forwardRef((e,t)=>
1{let n=f.useContext(C),r=f.useRef(null),o=(0,v.e)(t,r);return f.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,E.jsx)(y.WV.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var S="focusScope.autoFocusOnMount",N="focusScope.autoFocusOnUnmount",k={bubbles:!1,cancelable:!0},M=f.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[u,l]=f.useState(null),c=(0,b.W)(o),s=(0,b.W)(a),d=f.useRef(null),p=(0,v.e)(t,e=>l(e)),m=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let e=function(e){if(m.paused||!u)return;let t=e.target;u.contains(t)?d.current=t:L(d.current,{select:!0})},t=function(e){if(m.paused||!u)return;let t=e.relatedTarget;null===t||u.contains(t)||L(d.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&&L(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,m.paused]),f.useEffect(()=>{if(u){P.add(m);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(S,k);u.addEventListener(S,c),u.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(L(r,{select:t}),document.activeElement!==n)return}(j(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&L(u))}return()=>{u.removeEventListener(S,c),setTimeout(()=>{let t=new CustomEvent(N,k);u.addEventListener(N,s),u.dispatchEvent(t),t.defaultPrevented||L(null!=e?e:document.body,{select:!0}),u.removeEventListener(N,s),P.remove(m)},0)}}},[u,c,s,m]);let h=f.useCallback(e=>{if(!n&&!r||m.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=j(e);return[O(t,e),O(t.reverse(),e)]}(t);r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&L(a,{select:!0})):(e.preventDefault(),n&&L(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,m.paused]);return(0,E.jsx)(y.WV.div,{tabIndex:-1,...i,ref:p,onKeyDown:h})});function j(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 O(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 L(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()}}M.displayName="FocusScope";var P=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=T(r,e)).unshift(e)},remove(e){var t;null===(t=(r=T(r,e))[0])||void 0===t||t.resume()}});function T(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var W=n(54887),A=n(61188),I=f.forwardRef((e,t)=>{var n,r;let{container:o,...a}=e,[i,u]=f.useState(!1);(0,A.b)(()=>u(!0),[]);let l=o||i&&(null===(r=globalThis)||void 0===r?void 0:null===(n=r.document)||void 0===n?void 0:n.body);return l?W.createPortal((0,E.jsx)(y.WV.div,{...a,ref:t}),l):null});I.displayName="Portal";var F=n(71599),_=0;function B(){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 V=function(){return(V=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 z(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 K="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?f.useLayoutEffect:f.useEffect,H=new WeakMap,U=(void 0===o&&(o={}),(void 0===a&&(a=function(e){return e}),i=[],u=!1,l={read:function(){if(u)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=a(e,u);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(u=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){u=!0;var t=[];if(i.length){var n=i;
1i=[],n.forEach(e),t=i}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),i={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),i}}}}).options=V({async:!0,ssr:!1},o),l),q=function(){},$=f.forwardRef(function(e,t){var n,r,o,a,i=f.useRef(null),u=f.useState({onScrollCapture:q,onWheelCapture:q,onTouchMoveCapture:q}),l=u[0],c=u[1],s=e.forwardProps,d=e.children,p=e.className,v=e.removeScrollBar,m=e.enabled,h=e.shards,g=e.sideCar,y=e.noRelative,b=e.noIsolation,E=e.inert,w=e.allowPinchZoom,C=e.as,R=e.gapMode,x=z(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=(n=[i,t],r=function(e){return n.forEach(function(t){return Y(t,e)})},(o=(0,f.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,a=o.facade,Z(function(){var e=H.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||Y(e,null)}),r.forEach(function(e){t.has(e)||Y(e,o)})}H.set(a,n)},[n]),a),S=V(V({},x),l);return f.createElement(f.Fragment,null,m&&f.createElement(g,{sideCar:U,removeScrollBar:v,shards:h,noRelative:y,noIsolation:b,inert:E,setCallbacks:c,allowPinchZoom:!!w,lockRef:i,gapMode:R}),s?f.cloneElement(f.Children.only(d),V(V({},S),{ref:D})):f.createElement(void 0===C?"div":C,V({},S,{className:p,ref:D}),d))});$.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},$.classNames={fullWidth:X,zeroRight:K};var G=function(e){var t=e.sideCar,n=z(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 f.createElement(r,V({},n))};G.isSideCarExport=!0;var J=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=d||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=r:o.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)}}},Q=function(){var e=J();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ee=function(){var e=Q();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",eu=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body[").concat(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(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(K," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(X," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(K," .").concat(K," {\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(u,"px;\n }\n")},el=function(){var e=parseInt(document.body.getAttribute(ei)||"0",10);return isFinite(e)?e:0},ec=function(){f.useEffect(function(){return document.body.setAttribute(ei,(el()+1).toString()),function(){var e=el()-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;ec();var a=f.useMemo(function(){return eo(o)},[o]);return f.createElement(ea,{styles:eu(a,!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])},em=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),eh(e,r)){var o=eg(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},eh=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),u=i*r,l=n.target,c=t.contains(l),s=!1,d=u>0,f=0,p=0;
1do{if(!l)break;var v=eg(e,l),m=v[0],h=v[1]-v[2]-i*m;(m||h)&&eh(e,l)&&(f+=h,p+=m);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return d&&(o&&1>Math.abs(f)||!o&&u>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-u>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,eR=[],ex=(c=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(eC++)[0],a=f.useState(ee)[0],i=f.useRef(e);f.useEffect(function(){i.current=e},[e]),f.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=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=eb(e),u=n.current,l="deltaX"in e?e.deltaX:u[0]-a[0],c="deltaY"in e?e.deltaY:u[1]-a[1],s=e.target,d=Math.abs(l)>Math.abs(c)?"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=em(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=em(d,s)),!v)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var m=r.current||o;return ey(m,t,e,"h"===m?l:c,!0)},[]),l=f.useCallback(function(e){if(eR.length&&eR[eR.length-1]===a){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)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(ew).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=f.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)},[]),s=f.useCallback(function(e){n.current=eb(e),r.current=void 0},[]),d=f.useCallback(function(t){c(t.type,eE(t),t.target,u(t,e.lockRef.current))},[]),p=f.useCallback(function(t){c(t.type,eb(t),t.target,u(t,e.lockRef.current))},[]);f.useEffect(function(){return eR.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ep),document.addEventListener("touchmove",l,ep),document.addEventListener("touchstart",s,ep),function(){eR=eR.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,ep),document.removeEventListener("touchmove",l,ep),document.removeEventListener("touchstart",s,ep)}},[]);var v=e.removeScrollBar,m=e.inert;return f.createElement(f.Fragment,null,m?f.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?f.createElement(es,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},U.useMedium(c),G),eD=f.forwardRef(function(e,t){return f.createElement($,V({},e,{ref:t,sideCar:ex}))});eD.classNames=$.classNames;var eS=new WeakMap,eN=new WeakMap,ek={},eM=0,ej=function(e){return e&&(e.host||ej(e.parentNode))},eO=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=ej(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});ek[n]||(ek[n]=new WeakMap);var a=ek[n],i=[],u=new Set,l=new Set(o),c=function(e){!e||u.has(e)||(u.add(e),c(e.parentNode))};o.forEach(c);var s=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(u.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(eS.get(e)||0)+1,c=(a.get(e)||0)+1;eS.set(e,l),a.set(e,c),i.push(e),1===l&&o&&eN.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};
1return s(t),u.clear(),eM++,function(){i.forEach(function(e){var t=eS.get(e)-1,o=a.get(e)-1;eS.set(e,t),a.set(e,o),t||(eN.has(e)||e.removeAttribute(r),eN.delete(e)),o||e.removeAttribute(n)}),--eM||(eS=new WeakMap,eS=new WeakMap,eN=new WeakMap,ek={})}},eL=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"))),eO(r,o,n,"aria-hidden")):function(){return null}},eP=Symbol("radix.slottable");function eT(e){return f.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eP}var eW="Dialog",[eA,eI]=(0,m.b)(eW),[eF,e_]=eA(eW),eB=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,u=f.useRef(null),l=f.useRef(null),[c,s]=(0,g.T)({prop:r,defaultProp:null!=o&&o,onChange:a,caller:eW});return(0,E.jsx)(eF,{scope:t,triggerRef:u,contentRef:l,contentId:(0,h.M)(),titleId:(0,h.M)(),descriptionId:(0,h.M)(),open:c,onOpenChange:s,onOpenToggle:f.useCallback(()=>s(e=>!e),[s]),modal:i,children:n})};eB.displayName=eW;var eV="DialogTrigger",ez=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=e_(eV,n),a=(0,v.e)(t,o.triggerRef);return(0,E.jsx)(y.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":e5(o.open),...r,ref:a,onClick:(0,p.Mj)(e.onClick,o.onOpenToggle)})});
1ez.displayName=eV;var eK="DialogPortal",[eX,eY]=eA(eK,{forceMount:void 0}),eZ=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=e_(eK,t);return(0,E.jsx)(eX,{scope:t,forceMount:n,children:f.Children.map(r,e=>(0,E.jsx)(F.z,{present:n||a.open,children:(0,E.jsx)(I,{asChild:!0,container:o,children:e})}))})};eZ.displayName=eK;var eH="DialogOverlay",eU=f.forwardRef((e,t)=>{let n=eY(eH,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=e_(eH,e.__scopeDialog);return a.modal?(0,E.jsx)(F.z,{present:r||a.open,children:(0,E.jsx)(e$,{...o,ref:t})}):null});eU.displayName=eH;var eq=function(e){let t=function(e){let t=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e,o;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,i=function(e,t){let n={...t};for(let r in t){let o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{let t=a(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==f.Fragment&&(i.ref=t?(0,v.F)(t,a):a),f.cloneElement(n,i)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=f.forwardRef((e,n)=>{let{children:r,...o}=e,a=f.Children.toArray(r),i=a.find(eT);if(i){let e=i.props.children,r=a.map(t=>t!==i?t:f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null);return(0,E.jsx)(t,{...o,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,E.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}("DialogOverlay.RemoveScroll"),e$=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=e_(eH,n);return(0,E.jsx)(eD,{as:eq,allowPinchZoom:!0,shards:[o.contentRef],children:(0,E.jsx)(y.WV.div,{"data-state":e5(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),eG="DialogContent",eJ=f.forwardRef((e,t)=>{let n=eY(eG,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=e_(eG,e.__scopeDialog);return(0,E.jsx)(F.z,{present:r||a.open,children:a.modal?(0,E.jsx)(eQ,{...o,ref:t}):(0,E.jsx)(e0,{...o,ref:t})})});eJ.displayName=eG;var eQ=f.forwardRef((e,t)=>{let n=e_(eG,e.__scopeDialog),r=f.useRef(null),o=(0,v.e)(t,n.contentRef,r);return f.useEffect(()=>{let e=r.current;if(e)return eL(e)},[]),(0,E.jsx)(e1,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,p.Mj)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,p.Mj)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,p.Mj)(e.onFocusOutside,e=>e.preventDefault())})}),e0=f.forwardRef((e,t)=>{let n=e_(eG,e.__scopeDialog),r=f.useRef(!1),o=f.useRef(!1);return(0,E.jsx)(e1,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var a,i;null===(a=e.onCloseAutoFocus)||void 0===a||a.call(e,t),t.defaultPrevented||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var a,i;null===(a=e.onInteractOutside)||void 0===a||a.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let u=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),e1=f.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,u=e_(eG,n),l=f.useRef(null),c=(0,v.e)(t,l);return f.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:B()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:B()),_++,()=>{1===_&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
1=>e.remove()),_--}},[]),(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(M,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,E.jsx)(R,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":e5(u.open),...i,ref:c,onDismiss:()=>u.onOpenChange(!1)})}),(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(tn,{titleId:u.titleId}),(0,E.jsx)(tr,{contentRef:l,descriptionId:u.descriptionId})]})]})}),e2="DialogTitle",e6=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=e_(e2,n);return(0,E.jsx)(y.WV.h2,{id:o.titleId,...r,ref:t})});e6.displayName=e2;var e8="DialogDescription",e7=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=e_(e8,n);return(0,E.jsx)(y.WV.p,{id:o.descriptionId,...r,ref:t})});e7.displayName=e8;var e9="DialogClose",e4=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=e_(e9,n);return(0,E.jsx)(y.WV.button,{type:"button",...r,ref:t,onClick:(0,p.Mj)(e.onClick,()=>o.onOpenChange(!1))})});function e5(e){return e?"open":"closed"}e4.displayName=e9;var e3="DialogTitleWarning",[te,tt]=(0,m.k)(e3,{contentName:eG,titleName:e2,docsSlug:"dialog"}),tn=e=>{let{titleId:t}=e,n=tt(e3),r="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return f.useEffect(()=>{t&&!document.getElementById(t)&&console.error(r)},[r,t]),null},tr=e=>{let{contentRef:t,descriptionId:n}=e,r=tt("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return f.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(o)},[o,t,n]),null},to=eB,ta=ez,ti=eZ,tu=eU,tl=eJ,tc=e6,ts=e7,td=e4},99255:function(e,t,n){n.d(t,{M:function(){return l}});var r,o=n(2265),a=n(61188),i=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),u=0;function l(e){let[t,n]=o.useState(i());return(0,a.b)(()=>{e||n(e=>e??String(u++))},[e]),e||(t?`radix-${t}`:"")}},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),[])}}}]);
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.