1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,765491,e=>{"use strict";let t;var n=e.i(271645),r=e.i(820783),o=e.i(248425),a=e.i(30207),i=e.i(843476),l="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},u=n.forwardRef((e,t)=>{let{loop:u=!1,trapped:v=!1,onMountAutoFocus:g,onUnmountAutoFocus:h,...y}=e,[b,x]=n.useState(null),w=(0,a.useCallbackRef)(g),E=(0,a.useCallbackRef)(h),C=n.useRef(null),D=(0,r.useComposedRefs)(t,e=>x(e)),R=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(v){let e=function(e){if(R.paused||!b)return;let t=e.target;b.contains(t)?C.current=t:p(C.current,{select:!0})},t=function(e){if(R.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||p(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&&p(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[v,b,R.paused]),n.useEffect(()=>{if(b){m.add(R);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(l,s);b.addEventListener(l,w),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(p(r,{select:t}),document.activeElement!==n)return}(d(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(b))}return()=>{b.removeEventListener(l,w),setTimeout(()=>{let t=new CustomEvent(c,s);b.addEventListener(c,E),b.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),b.removeEventListener(c,E),m.remove(R)},0)}}},[b,w,E,R]);let S=n.useCallback(e=>{if(!u&&!v||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var r;let t,o=e.currentTarget,[a,i]=[f(t=d(r=o),r),f(t.reverse(),r)];a&&i?e.shiftKey||n!==i?e.shiftKey&&n===a&&(e.preventDefault(),u&&p(i,{select:!0})):(e.preventDefault(),u&&p(a,{select:!0})):n===o&&e.preventDefault()}},[u,v,R.paused]);return(0,i.jsx)(o.Primitive.div,{tabIndex:-1,...y,ref:D,onKeyDown:S})});function d(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 f(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function p(e,{select:t=!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()}}u.displayName="FocusScope";var m=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=v(t,e)).unshift(e)},remove(e){t=v(t,e),t[0]?.resume()}});function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",0,u])},303536,e=>{"use strict";var t=e.i(271645),n=0,r=null;function o(){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}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{r||(r={start:o(),end:o()});let{start:e,end:t}=r;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),n++,()=>{1===n&&(r?.start.remove(),r?.end.remove(),r=null),n=Math.max(0,n-1)}},[])}])},985369,e=>{"use strict";var t,n,r,o,a,i,l,c=function(){return(c=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 s(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}var u=("function"==typeof SuppressedError&&SuppressedError,e.i(271645)),d="right-scroll-bar-position",f="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">
1typeof window?u.useLayoutEffect:u.useEffect,v=new WeakMap,g=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,a={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),r={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),r}}}}).options=c({async:!0,ssr:!1},t),a),h=function(){},y=u.forwardRef(function(e,t){var n,r,o,a,i=u.useRef(null),l=u.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),d=l[0],f=l[1],y=e.forwardProps,b=e.children,x=e.className,w=e.removeScrollBar,E=e.enabled,C=e.shards,D=e.sideCar,R=e.noRelative,S=e.noIsolation,N=e.inert,j=e.allowPinchZoom,P=e.as,T=e.gapMode,k=s(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=(n=[i,t],r=function(e){return n.forEach(function(t){return p(t,e)})},(o=(0,u.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,m(function(){var e=v.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,o)})}v.set(a,n)},[n]),a),A=c(c({},k),d);return u.createElement(u.Fragment,null,E&&u.createElement(D,{sideCar:g,removeScrollBar:w,shards:C,noRelative:R,noIsolation:S,inert:N,setCallbacks:f,allowPinchZoom:!!j,lockRef:i,gapMode:T}),y?u.cloneElement(u.Children.only(b),c(c({},A),{ref:O})):u.createElement(void 0===P?"div":P,c({},A,{className:x,ref:O}),b))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:f,zeroRight:d};var b=function(e){var t=e.sideCar,n=s(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 u.createElement(r,c({},n))};b.isSideCarExport=!0;var x=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=l||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=x();return function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},E=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},C={left:0,top:0,right:0,gap:0},D=function(e){return parseInt(e||"",10)||0},R=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[D(n),D(r),D(o)]},S=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return C;var t=R(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])}},N=E(),j="data-scroll-locked",P=function(e,t,n,r){var o=e.left,a=e.top,i=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(j,"] {\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(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(d," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(f," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(j,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},T=function(){var e=parseInt(document.body.getAttribute(j)||"0",10);return isFinite(e)?e:0},k=function(){u.useEffect(function(){return document.body.setAttribute(j,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(j):document.body.setAttribute(j,e.toString())}},[])},O=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;k();var a=u.useMemo(function(){return S(o)},[o]);return u.createElement(N,{styles:P(a,!t,o,n?"":"!important")})},A=!1;if("u">typeof window)try{var M=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",M,M),window.removeEventListener("test",M,M)}catch(e){A=!1}var F=!!A&&{passive:!1},I=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])},L=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),_(e,r)){var o=W(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},_=function(e,t){return"v"===e?I(t,"overflowY"):I(t,"overflowX")},W=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*r,c=n.target,s=t.contains(c),u=!1,d=l>0,f=0,p=0;do{if(!c)break;var m=W(e,c),v=m[0],g=m[1]-m[2]-i*v;(v||g)&&_(e,c)&&(f+=g,p+=v);var h=c.parentNode;c=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!s&&c!==document.body||s&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&l>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(u=!0),u},K=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},z=function(e){return[e.deltaX,e.deltaY]},H=function(e){return e&&"current"in e?e.current:e},X=0,U=[];let Y=(i=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(X++)[0],a=u.useState(E)[0],i=u.useRef(e);u.useEffect(function(){i.current=e},[e]),u.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(H),!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=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=K(e),l=n.current,c="deltaX"in e?e.deltaX:l[0]-a[0],s="deltaY"in e?e.deltaY:l[1]-a[1],u=e.target,d=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=L(d,u);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=L(d,u)),!m)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var v=r.current||o;return B(v,t,e,"h"===v?c:s,!0)},[]),c=u.useCallback(function(e){if(U.length&&U[U.length-1]===a){var n="deltaY"in e?z(e):K(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=(i.current.shards||[]).map(H).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=u.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=u.useCallback(function(e){n.current=K(e),r.current=void 0},[]),f=u.useCallback(function(t){s(t.type,z(t),t.target,l(t,e.lockRef.current))},[]),p=u.useCallback(function(t){s(t.type,K(t),t.target,l(t,e.lockRef.current))},[]);u.useEffect(function(){return U.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,F),document.addEventListener("touchmove",c,F),document.addEventListener("touchstart",d,F),function(){U=U.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,F),document.removeEventListener("touchmove",c,F),document.removeEventListener("touchstart",d,F)}},[]);var m=e.removeScrollBar,v=e.inert;return u.createElement(u.Fragment,null,v?u.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?u.createElement(O,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},g.useMedium(i),b);var Z=u.forwardRef(function(e,t){return u.createElement(y,c({},e,{ref:t,sideCar:Y}))});Z.classNames=y.classNames,e.s(["RemoveScroll",0,Z],985369)},186312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,a=function(e){return e&&(e.host||a(e.parentNode))},i=function(e,i,l,c){var s=(Array.isArray(e)?e:[e]).map(function(e){if(i.contains(e))return e;var t=a(e);return t&&i.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",i,". Doing nothing"),null)}).filter(function(e){return!!e});r[l]||(r[l]=new WeakMap);var u=r[l],d=[],f=new Set,p=new Set(s),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};s.forEach(m);var v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var r=e.getAttribute(c),o=null!==r&&"false"!==r,a=(t.get(e)||0)+1,i=(u.get(e)||0)+1;t.set(e,a),u.set(e,i),d.push(e),1===a&&o&&n.set(e,!0),1===i&&e.setAttribute(l,"true"),o||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(i),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=u.get(e)-1;t.set(e,r),u.set(e,o),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),o||e.removeAttribute(l)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),i(r,o,n,"aria-hidden")):function(){return null}}])},964053,326999,e=>{"use strict";var t=e.i(271645),n=e.i(981140),r=e.i(820783),o=e.i(30030),a=e.i(610772),i=e.i(369340),l=e.i(726330),c=e.i(765491),s=e.i(774606),u=e.i(296626),d=e.i(248425),f=e.i(303536),p=e.i(985369),m=e.i(186312),v=e.i(991918),g=e.i(843476),h="Dialog",[y,b]=(0,o.createContextScope)(h),[x,w]=y(h),E=e=>{let{__scopeDialog:n,children:r,open:o,defaultOpen:l,onOpenChange:c,modal:s=!0}=e,u=t.useRef(null),d=t.useRef(null),[f,p]=(0,i.useControllableState)({prop:o,defaultProp:l??!1,onChange:c,caller:h});return(0,g.jsx)(x,{scope:n,triggerRef:u,contentRef:d,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:s,children:r})};E.displayName=h;var C="DialogTrigger",D=t.forwardRef((e,t)=>{let{__scopeDialog:o,...a}=e,i=w(C,o),l=(0,r.useComposedRefs)(t,i.triggerRef);return(0,g.jsx)(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":X(i.open),...a,ref:l,onClick:(0,n.composeEventHandlers)(e.onClick,i.onOpenToggle)})});D.displayName=C;var R="DialogPortal",[S,N]=y(R,{forceMount:void 0}),j=e=>{let{__scopeDialog:n,forceMount:r,children:o,container:a}=e,i=w(R,n);return(0,g.jsx)(S,{scope:n,forceMount:r,children:t.Children.map(o,e=>(0,g.jsx)(u.Presence,{present:r||i.open,children:(0,g.jsx)(s.Portal,{asChild:!0,container:a,children:e})}))})};j.displayName=R;var P="DialogOverlay",T=t.forwardRef((e,t)=>
1{let n=N(P,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=w(P,e.__scopeDialog);return a.modal?(0,g.jsx)(u.Presence,{present:r||a.open,children:(0,g.jsx)(O,{...o,ref:t})}):null});T.displayName=P;var k=(0,v.createSlot)("DialogOverlay.RemoveScroll"),O=t.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,a=w(P,n),i=(0,l.useDismissableLayerSurface)(),c=(0,r.useComposedRefs)(t,i);return(0,g.jsx)(p.RemoveScroll,{as:k,allowPinchZoom:!0,shards:[a.contentRef],children:(0,g.jsx)(d.Primitive.div,{"data-state":X(a.open),...o,ref:c,style:{pointerEvents:"auto",...o.style}})})}),A="DialogContent",M=t.forwardRef((e,t)=>{let n=N(A,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=w(A,e.__scopeDialog);return(0,g.jsx)(u.Presence,{present:r||a.open,children:a.modal?(0,g.jsx)(F,{...o,ref:t}):(0,g.jsx)(I,{...o,ref:t})})});M.displayName=A;var F=t.forwardRef((e,o)=>{let a=w(A,e.__scopeDialog),i=t.useRef(null),l=(0,r.useComposedRefs)(o,a.contentRef,i);return t.useEffect(()=>{let e=i.current;if(e)return(0,m.hideOthers)(e)},[]),(0,g.jsx)(L,{...e,ref:l,trapFocus:a.open,disableOutsidePointerEvents:a.open,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),I=t.forwardRef((e,n)=>{let r=w(A,e.__scopeDialog),o=t.useRef(!1),a=t.useRef(!1);return(0,g.jsx)(L,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||r.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),L=t.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=w(A,n);return(0,f.useFocusGuards)(),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,g.jsx)(l.DismissableLayer,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":X(s.open),...i,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})}),_="DialogTitle",W=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(_,n);return(0,g.jsx)(d.Primitive.h2,{id:o.titleId,...r,ref:t})});W.displayName=_;var B="DialogDescription",K=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(B,n);return(0,g.jsx)(d.Primitive.p,{id:o.descriptionId,...r,ref:t})});K.displayName=B;var z="DialogClose",H=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,a=w(z,r);return(0,g.jsx)(d.Primitive.button,{type:"button",...o,ref:t,onClick:(0,n.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function X(e){return e?"open":"closed"}H.displayName=z,e.s(["Close",0,H,"Content",0,M,"Description",0,K,"Dialog",0,E,"DialogClose",0,H,"DialogContent",0,M,"DialogDescription",0,K,"DialogOverlay",0,T,"DialogPortal",0,j,"DialogTitle",0,W,"DialogTrigger",0,D,"Overlay",0,T,"Portal",0,j,"Root",0,E,"Title",0,W,"Trigger",0,D,"WarningProvider",0,e=>e.children,"createDialogScope",0,b],326999);var U=e.i(326999);e.s(["Dialog",0,U],964053)},776639,e=>{"use strict";var t=e.i(843476);e.i(156669);var n=e.i(37118),r=e.i(964053),o=e.i(975157),a=e.i(519455);function i({...e}){return(0,t.jsx)(r.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function l({className:e,...n}){return(0,t.jsx)(r.Dialog.Overlay,{"data-slot":"dialog-overlay",className:(0,o.cn)("fixed inset-0 z-50 bg-background/60 backdrop-blur-[2px] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...n})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(r.Dialog.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:c,showCloseButton:s=!0,phone:u="sheet",overlayClassName:d,scrollable:f=!1,scrollClassName:p,header:m,...v}){let g="sheet"===u||"full"===u,h="max-sm:pb-[max(2.5rem,calc(env(safe-area-inset-bottom)+1.5rem))]";return(0,t.jsxs)(i,{"data-slot":"dialog-portal",children:[(0,t.jsx)(l,{className:d}),(0,t.jsxs)(r.Dialog.Content,{"data-slot":"dialog-content",className:(0,o.cn)("fixed top-[50%] left-[50%] z-50 w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] rounded ring-hairline bg-background shadow-float duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg",f?"flex flex-col overflow-hidden":"grid gap-4 p-6",g&&"max-sm:top-auto max-sm:bottom-0 max-sm:left-0 max-sm:max-h-[85vh] max-sm:max-w-full max-sm:translate-x-0 max-sm:translate-y-0 max-sm:rounded-t max-sm:rounded-b-none max-sm:duration-300 max-sm:data-[state=closed]:zoom-out-100 max-sm:data-[state=open]:zoom-in-100 max-sm:data-[state=closed]:slide-out-to-bottom max-sm:data-[state=open]:slide-in-from-bottom",g&&!f&&`max-sm:overflow-y-auto ${h}`,"full"===u&&"max-sm:top-[max(0.75rem,env(safe-area-inset-top))] max-sm:max-h-none",e),...v,children:[f&&m,f?(0,t.jsx)("div",{"data-slot":"dialog-scroll",className:(0,o.cn)("grid min-h-0 gap-4 overflow-y-auto p-6",g&&h,p),children:c}):c,s&&(0,t.jsx)(r.Dialog.Close,{asChild:!0,"data-slot":"dialog-close",children:(0,t.jsx)(a.Button,{variant:"secondary",size:"icon-sm","aria-label":"Close",className:"absolute top-4 right-4",children:(0,t.jsx)(n.X,{className:"size-4"})})})]})]})},"DialogDescription",0,function({className:e,...n}){return(0,t.jsx)(r.Dialog.Description,{"data-slot":"dialog-description",className:(0,o.cn)("text-sm text-muted-foreground",e),...n})},"DialogFooter",0,function({className:e,showCloseButton:n=!1,children:i,...l}){return(0,t.jsxs)("div",{"data-slot":"dialog-footer",className:(0,o.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...l,children:[i,n&&(0,t.jsx)(r.Dialog.Close,{asChild:!0,children:(0,t.jsx)(a.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,o.cn)("flex flex-col gap-2 text-left",e),...n})},"DialogPortal",0,i,"DialogTitle",0,function({className:e,...n}){return(0,t.jsx)(r.Dialog.Title,{"data-slot":"dialog-title",className:(0,o.cn)("text-lg leading-none font-semibold",e),...n})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(r.Dialog.Trigger,{"data-slot":"dialog-trigger",...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.