PageSourceSearch

https://account.currency.com/_next/static/chunks/2rruj9scp7hv2.js

js currency.com collected 2026-10-02 04:52:54 UTC 39,556 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,765491,e=>{"use strict";var t=e.i(271645),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0});function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():o(e[t],null)}}}}function a(...e){return t.useCallback(i(...e),e)}r(o,"setRef"),r(i,"composeRefs"),r(a,"useComposedRefs");var l=e.i(174080),c=Object.defineProperty,u=(e,t)=>c(e,"name",{value:t,configurable:!0});function s(e){let n=t.forwardRef((n,r)=>{let{children:o,...i}=n,l=null,c=!1,u=[];g(o)&&"function"==typeof w&&(o=w(o._payload)),t.Children.forEach(o,e=>{if(v(e)){c=!0;let t="child"in e.props?e.props.child:e.props.children;g(t)&&"function"==typeof w&&(t=w(t._payload)),l=f(e,t),u.push(l?.props?.children)}else u.push(e)}),l?l=t.cloneElement(l,void 0,u):!c&&1===t.Children.count(o)&&t.isValidElement(o)&&(l=o);let s=l?m(l):void 0,d=a(r,s);if(!l){if(o||0===o)throw Error(c?E(e):b(e));return o}let h=p(i,l.props??{});return l.type!==t.Fragment&&(h.ref=r?d:s),t.cloneElement(l,h)});return n.displayName=`${e}.Slot`,n}u(s,"createSlot");var d=Symbol.for("radix.slottable");u(function(e){let t=u(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=d,t},"createSlottable");var f=u((e,n)=>{if("child"in e.props){let n=e.props.child;return t.isValidElement(n)?t.cloneElement(n,void 0,e.props.children(n.props.children)):null}return t.isValidElement(n)?n:null},"getSlottableElementFromSlottable");function p(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function m(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function v(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}u(p,"mergeProps"),u(m,"getElementRef"),u(v,"isSlottable");var h=Symbol.for("react.lazy");function g(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===h&&"_payload"in e&&y(e._payload)}function y(e){return"object"==typeof e&&null!==e&&"then"in e}u(g,"isLazyComponent"),u(y,"isPromiseLike");var b=u(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),E=u(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),w=t[" use ".trim().toString()],S=e.i(843476),C=Object.defineProperty,x=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let r=s(`Primitive.${n}`),o=t.forwardRef((e,t)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,S.jsx)(o?r:n,{...i,ref:t})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});function R(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}C(function(e,t){e&&l.flushSync(()=>e.dispatchEvent(t))},"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),(0,Object.defineProperty)(R,"name",{value:"useCallbackRef",configurable:!0});var N=Object.defineProperty,O=(e,t)=>N(e,"name",{value:t,configurable:!0}),D="focusScope.autoFocusOnMount",P="focusScope.autoFocusOnUnmount",j={bubbles:!1,cancelable:!0},T=t.forwardRef(O(function(e,n){let{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...c}=e,[u,s]=t.useState(null),d=R(i),f=R(l),p=t.useRef(null),m=a(n,s),v=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(o){let e=function(e){if(v.paused||!u)return;let t=e.target;u.contains(t)?p.current=t:L(p.current,{select:!0})},t=function(e){if(v.paused||!u)return;let t=e.relatedTarget;null!==t&&(u.contains(t)||L(p.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&L(u)};O(e,"handleFocusIn"),O(t,"handleFocusOut"),O(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[o,u,v.paused]),t.useEffect(()=>{if(u){W.add(v);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(D,j);
1u.addEventListener(D,d),u.dispatchEvent(t),t.defaultPrevented||(M(V(_(u)),{select:!0}),document.activeElement===e&&L(u))}return()=>{u.removeEventListener(D,d),setTimeout(()=>{let t=new CustomEvent(P,j);u.addEventListener(P,f),u.dispatchEvent(t),t.defaultPrevented||L(e??document.body,{select:!0}),u.removeEventListener(P,f),W.remove(v)},0)}}},[u,d,f,v]);let h=t.useCallback(e=>{if(!r&&!o||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[o,i]=A(t);o&&i?e.shiftKey||n!==i?e.shiftKey&&n===o&&(e.preventDefault(),r&&L(i,{select:!0})):(e.preventDefault(),r&&L(o,{select:!0})):n===t&&e.preventDefault()}},[r,o,v.paused]);return(0,S.jsx)(x.div,{tabIndex:-1,...c,ref:m,onKeyDown:h})},"FocusScope"));function M(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(L(r,{select:t}),document.activeElement!==n)return}function A(e){let t=_(e);return[I(t,e),I(t.reverse(),e)]}function _(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:O(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},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function I(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):k(r,{upTo:t})))return r}function k(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}function F(e){return e instanceof HTMLInputElement&&"select"in e}function L(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&F(e)&&t&&e.select()}}O(M,"focusFirst"),O(A,"getTabbableEdges"),O(_,"getTabbableCandidates"),O(I,"findVisible"),O(k,"isHidden"),O(F,"isSelectableInput"),O(L,"focus");var W=$();function $(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=B(e,t)).unshift(t)},remove(t){e=B(e,t),e[0]?.resume()}}}function B(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function V(e){return e.filter(e=>"A"!==e.tagName)}O($,"createFocusScopesStack"),O(B,"arrayRemove"),O(V,"removeLinks"),e.s(["FocusScope",0,T],765491)},303536,e=>{"use strict";var t=e.i(271645),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0}),o=0,i=null;function a(){t.useEffect(()=>{i||(i={start:l(),end:l()});let{start:e,end:t}=i;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),o++,()=>{1===o&&(i?.start.remove(),i?.end.remove(),i=null),o=Math.max(0,o-1)}},[])}function l(){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}r(function(e){return a(),e.children},"FocusGuards"),r(a,"useFocusGuards"),r(l,"createFocusGuard"),e.s(["useFocusGuards",0,a])},985369,e=>{"use strict";var t,n,r,o,i,a,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 u(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 s=("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">typeof window?s.useLayoutEffect:s.useEffect,v=new WeakMap,h=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,i={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;
1r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}).options=c({async:!0,ssr:!1},t),i),g=function(){},y=s.forwardRef(function(e,t){var n,r,o,i,a=s.useRef(null),l=s.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),d=l[0],f=l[1],y=e.forwardProps,b=e.children,E=e.className,w=e.removeScrollBar,S=e.enabled,C=e.shards,x=e.sideCar,R=e.noRelative,N=e.noIsolation,O=e.inert,D=e.allowPinchZoom,P=e.as,j=e.gapMode,T=u(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=(n=[a,t],r=function(e){return n.forEach(function(t){return p(t,e)})},(o=(0,s.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,m(function(){var e=v.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,o)})}v.set(i,n)},[n]),i),A=c(c({},T),d);return s.createElement(s.Fragment,null,S&&s.createElement(x,{sideCar:h,removeScrollBar:w,shards:C,noRelative:R,noIsolation:N,inert:O,setCallbacks:f,allowPinchZoom:!!D,lockRef:a,gapMode:j}),y?s.cloneElement(s.Children.only(b),c(c({},A),{ref:M})):s.createElement(void 0===P?"div":P,c({},A,{className:E,ref:M}),b))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:f,zeroRight:d};var b=function(e){var t=e.sideCar,n=u(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 s.createElement(r,c({},n))};b.isSideCarExport=!0;var E=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=E();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},S=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},C={left:0,top:0,right:0,gap:0},x=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[x(n),x(r),x(o)]},N=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])}},O=S(),D="data-scroll-locked",P=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(l,"px ").concat(r,";\n  }\n  body[").concat(D,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(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(D,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n  }\n")},j=function(){var e=parseInt(document.body.getAttribute(D)||"0",10);return isFinite(e)?e:0},T=function(){s.useEffect(function(){return document.body.setAttribute(D,(j()+1).toString()),function(){var e=j()-1;e<=0?document.body.removeAttribute(D):document.body.setAttribute(D,e.toString())}},[])},M=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;T();var i=s.useMemo(function(){return N(o)},[o]);return s.createElement(O,{styles:P(i,!t,o,n?"":"!important")})},A=!1;if("u">typeof window)try{var _=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",_,_),window.removeEventListener("test",_,_)}catch(e){A=!1}var I=!!A&&{passive:!1},k=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])},F=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),L(e,r)){var o=W(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},L=function(e,t){return"v"===e?k(t,"overflowY"):k(t,"overflowX")},W=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},$=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,c=n.target,u=t.contains(c),s=!1,d=l>0,f=0,p=0;
1do{if(!c)break;var m=W(e,c),v=m[0],h=m[1]-m[2]-a*v;(v||h)&&L(e,c)&&(f+=h,p+=v);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&c!==document.body||u&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&l>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(s=!0),s},B=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},V=function(e){return[e.deltaX,e.deltaY]},U=function(e){return e&&"current"in e?e.current:e},z=0,K=[];let H=(a=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(z++)[0],i=s.useState(S)[0],a=s.useRef(e);s.useEffect(function(){a.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(U),!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=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=B(e),l=n.current,c="deltaX"in e?e.deltaX:l[0]-i[0],u="deltaY"in e?e.deltaY:l[1]-i[1],s=e.target,d=Math.abs(c)>Math.abs(u)?"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 m=F(d,s);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=F(d,s)),!m)return!1;if(!r.current&&"changedTouches"in e&&(c||u)&&(r.current=o),!o)return!0;var v=r.current||o;return $(v,t,e,"h"===v?c:u,!0)},[]),c=s.useCallback(function(e){if(K.length&&K[K.length-1]===i){var n="deltaY"in e?V(e):B(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=(a.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=s.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=s.useCallback(function(e){n.current=B(e),r.current=void 0},[]),f=s.useCallback(function(t){u(t.type,V(t),t.target,l(t,e.lockRef.current))},[]),p=s.useCallback(function(t){u(t.type,B(t),t.target,l(t,e.lockRef.current))},[]);s.useEffect(function(){return K.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,I),document.addEventListener("touchmove",c,I),document.addEventListener("touchstart",d,I),function(){K=K.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,I),document.removeEventListener("touchmove",c,I),document.removeEventListener("touchstart",d,I)}},[]);var m=e.removeScrollBar,v=e.inert;return s.createElement(s.Fragment,null,v?s.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?s.createElement(M,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},h.useMedium(a),b);var X=s.forwardRef(function(e,t){return s.createElement(y,c({},e,{ref:t,sideCar:H}))});X.classNames=y.classNames,e.s(["RemoveScroll",0,X],985369)},186312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},a=function(e,a,l,c){var u=(Array.isArray(e)?e:[e]).map(function(e){if(a.contains(e))return e;var t=i(e);return t&&a.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",a,". Doing nothing"),null)}).filter(function(e){return!!e});r[l]||(r[l]=new WeakMap);var s=r[l],d=[],f=new Set,p=new Set(u),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};u.forEach(m);var v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);
1else try{var r=e.getAttribute(c),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,a=(s.get(e)||0)+1;t.set(e,i),s.set(e,a),d.push(e),1===i&&o&&n.set(e,!0),1===a&&e.setAttribute(l,"true"),o||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(a),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=s.get(e)-1;t.set(e,r),s.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]"))),a(r,o,n,"aria-hidden")):function(){return null}}])},326999,e=>{"use strict";var t=e.i(271645),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0}),o=!!("u">typeof window&&window.document&&window.document.createElement);function i(e,t,{checkForDefaultPrevented:n=!0}={}){return r(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function a(e){if(!o)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function l(e){return"IFRAME"===e.tagName}r(i,"composeEventHandlers"),r(function(e){if(!o)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),r(a,"getOwnerDocument"),r(function e(t,n=!1){let{activeElement:r}=a(t);if(!r?.nodeName)return null;if(l(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=a(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),r(l,"isFrame");var c=Object.defineProperty,u=(e,t)=>c(e,"name",{value:t,configurable:!0});function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function d(...e){return t=>{let n=!1,r=e.map(e=>{let r=s(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():s(e[t],null)}}}}function f(...e){return t.useCallback(d(...e),e)}u(s,"setRef"),u(d,"composeRefs"),u(f,"useComposedRefs");var p=e.i(843476),m=Object.defineProperty,v=(e,t)=>m(e,"name",{value:t,configurable:!0});function h(e,n=[]){let r=[];function o(n,o){let i=t.createContext(o);i.displayName=n+"Context";let a=r.length;r=[...r,o];let l=v(n=>{let{scope:r,children:o,...l}=n,c=r?.[e]?.[a]||i,u=t.useMemo(()=>l,Object.values(l));return(0,p.jsx)(c.Provider,{value:u,children:o})},"Provider");function c(r,l,u={}){let{optional:s=!1}=u,d=l?.[e]?.[a]||i,f=t.useContext(d);if(f)return f;if(void 0!==o)return o;if(!s)throw Error(`\`${r}\` must be used within \`${n}\``)}return l.displayName=n+"Provider",v(c,"useContext"),[l,c]}v(o,"createContext");let i=v(()=>{let n=r.map(e=>t.createContext(e));return v(function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])},"useScope")},"createScope");return i.scopeName=e,[o,g(i,...n)]}function g(...e){let n=e[0];if(1===e.length)return n;let r=v(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return v(function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=n.scopeName,r}v(function(e,n){let r=t.createContext(n);r.displayName=e+"Context";let o=v(e=>{let{children:n,...o}=e,i=t.useMemo(()=>o,Object.values(o));return(0,p.jsx)(r.Provider,{value:i,children:n})},"Provider");function i(o,a={}){let{optional:l=!1}=a,c=t.useContext(r);if(c)return c;if(void 0!==n)return n;if(!l)throw Error(`\`${o}\` must be used within \`${e}\``)}return o.displayName=e+"Provider",v(i,"useContext"),[o,i]},"createContext"),v(h,"createContextScope"),v(g,"composeContextScopes");var y=globalThis?.document?t.useLayoutEffect:()=>{},b=Object.defineProperty,E=t[" useId ".trim().toString()]||(()=>void 0),w=0;function S(e){let[n,r]=t.useState(E());return y(()=>{e||r(e=>e??String(w++))},[e]),e||(n?`radix-${n}`:"")}b(S,"name",{value:"useId",configurable:!0});var C=Object.defineProperty,x=t[" useEffectEvent ".trim().toString()],R=t[" useInsertionEffect ".trim().toString()];function N(e){if("function"==typeof x)return x(e);let n=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof R?R(()=>{n.current=e}):y(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}C(N,"name",{value:"useEffectEvent",configurable:!0});var O=Object.defineProperty,D=(e,t)=>O(e,"name",{value:t,configurable:!0}),P=t[" useInsertionEffect ".trim().toString()]||y;function j({prop:e,defaultProp:n,onChange:r=D(()=>{},"onChange"),caller:o}){let[i,a,l]=T({defaultProp:n,onChange:r}),c=void 0!==e,u=c?e:i;return[u,t.useCallback(t=>{if(c){let n=M(t)?t(e):t;n!==e&&l.current?.(n)}else a(t)},[c,e,a,l])]}function T({defaultProp:e,onChange:n}){let[r,o]=t.useState(e),i=t.useRef(r),a=t.useRef(n);return P(()=>{a.current=n},[n]),t.useEffect(()=>{i.current!==r&&(a.current?.(r),i.current=r)},[r,i]),[r,o,a]}function M(e){return"function"==typeof e}D(j,"useControllableState"),D(T,"useUncontrolledState"),D(M,"isFunction");var A=Symbol("RADIX:SYNC_STATE");D(function(e,n,r,o){let{prop:i,defaultProp:a,onChange:l,caller:c}=n,u=void 0!==i,s=N(l),d=[{...r,state:a}];o&&d.push(o);let[f,p]=t.useReducer((t,n)=>{if(n.type===A)return{...t,state:n.state};let r=e(t,n);return u&&!Object.is(r.state,t.state)&&s(r.state),r},...d),m=f.state,v=t.useRef(m);t.useEffect(()=>{v.current!==m&&(v.current=m,u||s(m))},[m,v,u]);let h=t.useMemo(()=>void 0!==i?{...f,state:i}:f,[f,i]);return t.useEffect(()=>{u&&!Object.is(i,f.state)&&p({type:A,state:i})},[i,f.state,u]),[h,p]},"useControllableStateReducer");var _=e.i(726330),I=e.i(765491),k=e.i(774606),F=Object.defineProperty,L=(e,t)=>F(e,"name",{value:t,configurable:!0});function W(e,n){return t.useReducer((e,t)=>
1n[e][t]??e,e)}L(W,"useStateMachine");var $=L(e=>{let{present:n,children:r}=e,o=B(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),a=U(o.ref,K(i));return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:a}):null},"Presence");function B(e){let[n,r]=t.useState(),o=t.useRef(null),i=t.useRef(e),a=t.useRef("none"),l=t.useRef(void 0),[c,u]=W(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===c?(a.current=l.current??z(o.current),l.current=void 0):a.current="none"},[c]),y(()=>{let t=o.current,n=i.current;if(n!==e){let r=a.current,o=z(t);e?(l.current=o,u("MOUNT")):"none"===o||t?.display==="none"?u("UNMOUNT"):n&&r!==o?u("ANIMATION_OUT"):u("UNMOUNT"),i.current=e}},[e,u]),y(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=L(r=>{let a=z(o.current).includes(CSS.escape(r.animationName));if(r.target===n&&a&&(u("ANIMATION_END"),!i.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},"handleAnimationEnd"),l=L(e=>{e.target===n&&(a.current=z(o.current))},"handleAnimationStart");return n.addEventListener("animationstart",l),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",l),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);o.current=t,l.current=z(t)}else o.current=null;r(e)},[])}}function V(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function U(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,o=t.map(t=>{let n=V(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():V(t[e],null)}}},[])}function z(e){return e?.animationName||"none"}function K(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}L(B,"usePresence"),L(V,"setRef"),L(U,"useStableComposedRefs"),L(z,"getAnimationName"),L(K,"getElementRef");var H=e.i(174080),X=Object.defineProperty,Y=(e,t)=>X(e,"name",{value:t,configurable:!0});function Z(e){let n=t.forwardRef((n,r)=>{let{children:o,...i}=n,a=null,l=!1,c=[];en(o)&&"function"==typeof ea&&(o=ea(o._payload)),t.Children.forEach(o,e=>{if(ee(e)){l=!0;let t="child"in e.props?e.props.child:e.props.children;en(t)&&"function"==typeof ea&&(t=ea(t._payload)),a=q(e,t),c.push(a?.props?.children)}else c.push(e)}),a?a=t.cloneElement(a,void 0,c):!l&&1===t.Children.count(o)&&t.isValidElement(o)&&(a=o);let u=a?Q(a):void 0,s=f(r,u);if(!a){if(o||0===o)throw Error(l?ei(e):eo(e));return o}let d=J(i,a.props??{});return a.type!==t.Fragment&&(d.ref=r?s:u),t.cloneElement(a,d)});return n.displayName=`${e}.Slot`,n}Y(Z,"createSlot");var G=Symbol.for("radix.slottable");Y(function(e){let t=Y(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=G,t},"createSlottable");var q=Y((e,n)=>{if("child"in e.props){let n=e.props.child;return t.isValidElement(n)?t.cloneElement(n,void 0,e.props.children(n.props.children)):null}return t.isValidElement(n)?n:null},"getSlottableElementFromSlottable");function J(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Q(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function ee(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===G}Y(J,"mergeProps"),Y(Q,"getElementRef"),Y(ee,"isSlottable");var et=Symbol.for("react.lazy");function en(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===et&&"_payload"in e&&er(e._payload)}function er(e){return"object"==typeof e&&null!==e&&"then"in e}Y(en,"isLazyComponent"),Y(er,"isPromiseLike");var eo=Y(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),ei=Y(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),ea=t[" use ".trim().toString()],el=Object.defineProperty,ec=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let r=Z(`Primitive.${n}`),o=t.forwardRef((e,t)=>
1{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,p.jsx)(o?r:n,{...i,ref:t})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});el(function(e,t){e&&H.flushSync(()=>e.dispatchEvent(t))},"name",{value:"dispatchDiscreteCustomEvent",configurable:!0});var eu=e.i(303536),es=e.i(985369),ed=e.i(186312),ef=Object.defineProperty,ep=(e,t)=>ef(e,"name",{value:t,configurable:!0}),em="Dialog",[ev,eh]=h(em),[eg,ey]=ev(em),eb=ep(e=>{let{__scopeDialog:n,children:r,open:o,defaultOpen:i,onOpenChange:a,modal:l=!0}=e,c=t.useRef(null),u=t.useRef(null),[s,d]=j({prop:o,defaultProp:i??!1,onChange:a,caller:em}),[f,m]=t.useState(0),[v,h]=t.useState(0);return(0,p.jsx)(eg,{scope:n,triggerRef:c,contentRef:u,contentId:S(),titleId:S(),descriptionId:S(),titlePresent:f>0,descriptionPresent:v>0,setTitleCount:m,setDescriptionCount:h,open:s,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:l,children:r})},"Dialog"),eE=t.forwardRef(ep(function(e,t){let{__scopeDialog:n,...r}=e,o=ey("DialogTrigger",n),a=f(t,o.triggerRef);return(0,p.jsx)(ec.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":eF(o.open),...r,ref:a,onClick:i(e.onClick,o.onOpenToggle)})},"DialogTrigger")),ew="DialogPortal",[eS,eC]=ev(ew,{forceMount:void 0}),ex=ep(e=>{let{__scopeDialog:n,forceMount:r,children:o,container:i}=e,a=ey(ew,n);return(0,p.jsx)(eS,{scope:n,forceMount:r,children:t.Children.map(o,e=>(0,p.jsx)($,{present:r||a.open,children:(0,p.jsx)(k.Portal,{asChild:!0,container:i,children:e})}))})},"DialogPortal"),eR="DialogOverlay",eN=t.forwardRef(ep(function(e,t){let n=eC(eR,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=ey(eR,e.__scopeDialog);return i.modal?(0,p.jsx)($,{present:r||i.open,children:(0,p.jsx)(eD,{...o,ref:t})}):null},"DialogOverlay")),eO=Z("DialogOverlay.RemoveScroll"),eD=t.forwardRef(ep(function(e,t){let{__scopeDialog:n,...r}=e,o=ey(eR,n),i=f(t,(0,_.useDismissableLayerSurface)());return(0,p.jsx)(es.RemoveScroll,{as:eO,allowPinchZoom:!0,shards:[o.contentRef],children:(0,p.jsx)(ec.div,{"data-state":eF(o.open),...r,ref:i,style:{pointerEvents:"auto",...r.style}})})},"DialogOverlayImpl")),eP="DialogContent",ej=t.forwardRef(ep(function(e,t){let n=eC(eP,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=ey(eP,e.__scopeDialog);return(0,p.jsx)($,{present:r||i.open,children:i.modal?(0,p.jsx)(eT,{...o,ref:t}):(0,p.jsx)(eM,{...o,ref:t})})},"DialogContent")),eT=t.forwardRef(ep(function(e,n){let r=ey(eP,e.__scopeDialog),o=t.useRef(null),a=f(n,r.contentRef,o);return t.useEffect(()=>{let e=o.current;if(e)return(0,ed.hideOthers)(e)},[]),(0,p.jsx)(eA,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:i(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:i(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:i(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),eM=t.forwardRef(ep(function(e,n){let r=ey(eP,e.__scopeDialog),o=t.useRef(!1),i=t.useRef(!1);return(0,p.jsx)(eA,{...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,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})},"DialogContentNonModal")),eA=t.forwardRef(ep(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,l=ey(eP,n);return(0,eu.useFocusGuards)(),(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(I.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,p.jsx)(_.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionPresent?l.descriptionId:void 0,"aria-labelledby":l.titlePresent?l.titleId:void 0,"data-state":eF(l.open),...a,ref:t,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})},"DialogContentImpl")),e_=t.forwardRef(ep(function(e,t){let{__scopeDialog:n,...r}=e,o=ey("DialogTitle",n),{setTitleCount:i}=o;return y(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,p.jsx)(ec.h2,{id:o.titleId,...r,ref:t})},"DialogTitle")),eI=t.forwardRef(ep(function(e,t){let{__scopeDialog:n,...r}=e,o=ey("DialogDescription",n),{setDescriptionCount:i}=o;return y(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,p.jsx)(ec.p,{id:o.descriptionId,...r,ref:t})},"DialogDescription")),ek=t.forwardRef(ep(function(e,t){let{__scopeDialog:n,...r}=e,o=ey("DialogClose",n);return(0,p.jsx)(ec.button,{type:"button",...r,ref:t,onClick:i(e.onClick,()=>o.onOpenChange(!1))})},"DialogClose"));function eF(e){return e?"open":"closed"}ep(eF,"getState"),e.s(["Close",0,ek,"Content",0,ej,"Description",0,eI,"Overlay",0,eN,"Portal",0,ex,"Root",0,eb,"Title",0,e_,"Trigger",0,eE],326999)},734381,e=>{"use strict";var t=e.i(843476),n=e.i(326999),r=e.i(225913),o=e.i(271645),i=e.i(208534),a=e.i(510672),l=e.i(269605),c=e.i(702904);let u=o.createContext(!0),s=n.Trigger,d=n.Portal,f=n.Close,p=o.forwardRef(({className:e,...r},o)=>
1(0,t.jsx)(n.Overlay,{ref:o,className:(0,c.cn)("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 flex h-full flex-col items-center overflow-auto bg-black/25 data-[state=closed]:animate-out data-[state=open]:animate-in",e),...r}));p.displayName=n.Overlay.displayName;let m=(0,r.cva)("-translate-x-1/2 -translate-y-1/2 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 absolute top-1/2 left-1/2 z-50 grid w-full max-w-[528px] overflow-hidden rounded-[6px] bg-white duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in",{variants:{variant:{basic:"pb-10",dialog:"gap-2 pt-10 pr-8 pb-8 pl-10"}},defaultVariants:{variant:"basic"}}),v=o.forwardRef(({className:e,children:r,variant:i="basic",onEscapeKeyDown:l,onPointerDownOutside:s,...f},v)=>{let y=o.useContext(u);return(0,t.jsx)(d,{children:(0,t.jsx)(p,{children:(0,t.jsxs)(n.Content,{ref:v,className:(0,c.cn)(m({variant:i}),e),onEscapeKeyDown:e=>{l?.(e),y||e.preventDefault()},onPointerDownOutside:e=>{s?.(e),y||e.preventDefault()},...f,children:[o.Children.map(r,e=>{if(o.isValidElement(e)){let t=e.type,n=t&&[h,g,b].some(e=>t.displayName===e.displayName);return o.cloneElement(e,{...e.props||{},...n?{dialogVariant:i}:{}})}return e}),"basic"===i&&y&&(0,t.jsxs)(n.Close,{className:"absolute top-3 right-[18px] inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full opacity-100 ring-offset-background transition-opacity hover:opacity-50 disabled:pointer-events-none",children:[(0,t.jsx)(a.Icon,{name:"16px/close-clear",className:"size-4 opacity-100 transition-opacity duration-100 hover:opacity-50"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})})})});v.displayName=n.Content.displayName;let h=({className:e,dialogVariant:n,...r})=>(0,t.jsx)("header",{className:(0,c.cn)("",{"border-[#F1F2F3] border-b px-[18px] py-[15px]":"basic"===n},e),...r});h.displayName="DialogHeader";let g=({className:e,dialogVariant:n,children:r,...i})=>(0,t.jsx)("div",{className:(0,c.cn)("flex flex-row gap-2",{"px-8 pt-6":"basic"===n},{"pt-4":"dialog"===n},e),...i,children:o.Children.map(r,e=>{if(o.isValidElement(e)){let t=e.type,r=t&&[E,w].some(e=>t.displayName===e.displayName);return o.cloneElement(e,{...e.props||{},...r?{dialogVariant:n}:{}})}return e})});g.displayName="DialogFooter";let y=o.forwardRef(({className:e,...r},o)=>(0,t.jsx)(n.Title,{ref:o,className:(0,c.cn)("font-brand-norm-display text-heading-h3",e),...r}));y.displayName=n.Title.displayName;let b=o.forwardRef(({className:e,dialogVariant:r,...o},i)=>(0,t.jsx)(n.Description,{ref:i,className:(0,c.cn)({"px-8 pt-8 text-brand-text text-regular-16":"basic"===r},e),...o}));b.displayName=n.Description.displayName;let E=o.forwardRef(({className:e,variant:n,dialogVariant:r,...o},a)=>(0,t.jsx)(i.Button,{ref:a,variant:n,className:(0,c.cn)("flex-1",{"max-w-[208px]":"dialog"===r},e),size:"dialog"===r?"42":"54",...(0,l.addRefAttr)("dialog-action-button"),...o}));E.displayName="DialogActionButton";let w=o.forwardRef(({className:e,dialogVariant:n,...r},o)=>(0,t.jsx)(i.Button,{ref:o,variant:"secondary",className:(0,c.cn)("flex-1",{"max-w-[208px]":"dialog"===n},e),size:"dialog"===n?"42":"54",...(0,l.addRefAttr)("dialog-cancel-button"),...r}));w.displayName="DialogCancelButton",e.s(["Dialog",0,({dismissible:e=!0,...r})=>(0,t.jsx)(u.Provider,{value:e,children:(0,t.jsx)(n.Root,{...r})}),"DialogActionButton",0,E,"DialogCancelButton",0,w,"DialogClose",0,f,"DialogContent",0,v,"DialogDescription",0,b,"DialogFooter",0,g,"DialogHeader",0,h,"DialogTitle",0,y,"DialogTrigger",0,s])}]);

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.