PageSourceSearch

https://10xtraders.ai/assets/index-BUb4bWVy.js

js 10xtraders.ai collected 2026-10-05 11:47:20 UTC 31,115 bytes, 45 lines download raw bytes

1import{r as i,j as g,a as at}from"./jsx-runtime-ByGpHSPZ.js";import{r as it,b as st}from"./index-DBpnkjST.js";function T(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function pe(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Oe(...e){return t=>{let n=!1;const r=e.map(o=>{const a=pe(o,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let o=0;o<r.length;o++){const a=r[o];typeof a=="function"?a():pe(e[o],null)}}}}function L(...e){return i.useCallback(Oe(...e),e)}function ct(e,t){const n=i.createContext(t),r=a=>{const{children:c,...s}=a,d=i.useMemo(()=>s,Object.values(s));return g.jsx(n.Provider,{value:d,children:c})};r.displayName=e+"Provider";function o(a){const c=i.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[r,o]}function ut(e,t=[]){let n=[];function r(a,c){const s=i.createContext(c),d=n.length;n=[...n,c];const l=f=>{const{scope:p,children:h,...S}=f,u=p?.[e]?.[d]||s,m=i.useMemo(()=>S,Object.values(S));return g.jsx(u.Provider,{value:m,children:h})};l.displayName=a+"Provider";function v(f,p){const h=p?.[e]?.[d]||s,S=i.useContext(h);if(S)return S;if(c!==void 0)return c;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[l,v]}const o=()=>{const a=n.map(c=>i.createContext(c));return function(s){const d=s?.[e]||a;return i.useMemo(()=>({[`__scope${e}`]:{...s,[e]:d}}),[s,d])}};return o.scopeName=e,[r,lt(o,...t)]}function lt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const c=r.reduce((s,{useScope:d,scopeName:l})=>{const f=d(a)[`__scope${l}`];return{...s,...f}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}var Y=globalThis?.document?i.useLayoutEffect:()=>{},dt=at.useId||(()=>{}),ft=0;function Q(e){const[t,n]=i.useState(dt());return Y(()=>{n(r=>r??String(ft++))},[e]),e||(t?`radix-${t}`:"")}function M(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>t.current?.(...n),[])}function vt({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=pt({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:r,s=M(n),d=i.useCallback(l=>{if(a){const f=typeof l=="function"?l(e):l;f!==e&&s(f)}else o(l)},[a,e,o,s]);return[c,d]}function pt({defaultProp:e,onChange:t}){const n=i.useState(e),[r]=n,o=i.useRef(r),a=M(t);return i.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}var ue=i.forwardRef((e,t)=>{const{children:n,...r}=e,o=i.Children.toArray(n),a=o.find(ht);if(a){const c=a.props.children,s=o.map(d=>d===a?i.Children.count(c)>1?i.Children.only(null):i.isValidElement(c)?c.props.children:null:d);return g.jsx(ie,{...r,ref:t,children:i.isValidElement(c)?i.cloneElement(c,void 0,s):null})}return g.jsx(ie,{...r,ref:t,children:n})});ue.displayName="Slot";var ie=i.forwardRef((e,t)=>{const{children:n,...r}=e;if(i.isValidElement(n)){const o=yt(n),a=gt(r,n.props);return n.type!==i.Fragment&&(a.ref=t?Oe(t,o):o),i.cloneElement(n,a)}return i.Children.count(n)>1?i.Children.only(null):null});ie.displayName="SlotClone";var mt=({children:e})=>g.jsx(g.Fragment,{children:e});function ht(e){return i.isValidElement(e)&&e.type===mt}function gt(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{a(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function yt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Et=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],x=Et.reduce((e,t)=>{const n=i.forwardRef((r,o)=>{const{asChild:a,...c}=r,s=a?ue:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(s,{...c,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function bt(e,t){e&&it.flushSync(()=>
vendor: 5,014 bytes, line 1
1e.dispatchEvent(t))}function Ct(e,t=globalThis?.document){const n=M(e);i.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var St="DismissableLayer",se="dismissableLayer.update",wt="dismissableLayer.pointerDownOutside",Pt="dismissableLayer.focusOutside",me,Ne=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),xe=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:c,onDismiss:s,...d}=e,l=i.useContext(Ne),[v,f]=i.useState(null),p=v?.ownerDocument??globalThis?.document,[,h]=i.useState({}),S=L(t,E=>f(E)),u=Array.from(l.layers),[m]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),y=u.indexOf(m),P=v?u.indexOf(v):-1,b=l.layersWithOutsidePointerEventsDisabled.size>0,C=P>=y,w=Ot(E=>{const N=E.target,j=[...l.branches].some(q=>q.contains(N));!C||j||(o?.(E),c?.(E),E.defaultPrevented||s?.())},p),O=Nt(E=>{const N=E.target;[...l.branches].some(q=>q.contains(N))||(a?.(E),c?.(E),E.defaultPrevented||s?.())},p);return Ct(E=>{P===l.layers.size-1&&(r?.(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))},p),i.useEffect(()=>{if(v)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(me=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(v)),l.layers.add(v),he(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=me)}},[v,p,n,l]),i.useEffect(()=>()=>{v&&(l.layers.delete(v),l.layersWithOutsidePointerEventsDisabled.delete(v),he())},[v,l]),i.useEffect(()=>{const E=()=>h({});return document.addEventListener(se,E),()=>document.removeEventListener(se,E)},[]),g.jsx(x.div,{...d,ref:S,style:{pointerEvents:b?C?"auto":"none":void 0,...e.style},onFocusCapture:T(e.onFocusCapture,O.onFocusCapture),onBlurCapture:T(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:T(e.onPointerDownCapture,w.onPointerDownCapture)})});xe.displayName=St;var Rt="DismissableLayerBranch",Dt=i.forwardRef((e,t)=>{const n=i.useContext(Ne),r=i.useRef(null),o=L(t,r);return i.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),g.jsx(x.div,{...e,ref:o})});Dt.displayName=Rt;function Ot(e,t=globalThis?.document){const n=M(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let d=function(){Ae(wt,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}else t.removeEventListener("click",o.current);r.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Nt(e,t=globalThis?.document){const n=M(e),r=i.useRef(!1);return i.useEffect(()=>{const o=a=>{a.target&&!r.current&&Ae(Pt,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function he(){const e=new CustomEvent(se);document.dispatchEvent(e)}function Ae(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?bt(o,a):o.dispatchEvent(a)}var J="focusScope.autoFocusOnMount",ee="focusScope.autoFocusOnUnmount",ge={bubbles:!1,cancelable:!0},xt="FocusScope",Te=i.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...c}=e,[s,d]=i.useState(null),l=M(o),v=M(a),f=i.useRef(null),p=L(t,u=>d(u)),h=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(r){let u=function(b){if(h.paused||!s)return;const C=b.target;s.contains(C)?f.current=C:A(f.current,{select:!0})},m=function(b){if(h.paused||!s)return;const C=b.relatedTarget;C!==null&&(s.contains(C)||A(f.current,{select:!0}))},y=function(b){if(document.activeElement===document.body)for(const w of b)w.removedNodes.length>0&&A(s)};document.addEventListener("focusin",u),document.addEventListener("focusout",m);const P=new MutationObserver(y);return s&&P.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",m),P.disconnect()}}},[r,s,h.paused]),i.useEffect(()=>{if(s){Ee.add(h);const u=document.activeElement;if(!s.contains(u)){const y=new CustomEvent(J,ge);s.addEventListener(J,l),s.dispatchEvent(y),y.defaultPrevented||(At(_t(Me(s)),{select:!0}),document.activeElement===u&&A(s))}return()=>{s.removeEventListener(J,l),setTimeout(()=>{const y=new CustomEvent(ee,ge);s.addEventListener(ee,v),s.dispatchEvent(y),y.defaultPrevented||A(u??document.body,{select:!0}),s.removeEventListener(ee,v),Ee.remove(h)}
vendor: 4,357 bytes, line 1
1,0)}}},[s,l,v,h]);const S=i.useCallback(u=>{if(!n&&!r||h.paused)return;const m=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,y=document.activeElement;if(m&&y){const P=u.currentTarget,[b,C]=Tt(P);b&&C?!u.shiftKey&&y===C?(u.preventDefault(),n&&A(b,{select:!0})):u.shiftKey&&y===b&&(u.preventDefault(),n&&A(C,{select:!0})):y===P&&u.preventDefault()}},[n,r,h.paused]);return g.jsx(x.div,{tabIndex:-1,...c,ref:p,onKeyDown:S})});Te.displayName=xt;function At(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(A(r,{select:t}),document.activeElement!==n)return}function Tt(e){const t=Me(e),n=ye(t,e),r=ye(t.reverse(),e);return[n,r]}function Me(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ye(e,t){for(const n of e)if(!Mt(n,{upTo:t}))return n}function Mt(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function It(e){return e instanceof HTMLInputElement&&"select"in e}function A(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&It(e)&&t&&e.select()}}var Ee=Lt();function Lt(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=be(e,t),e.unshift(t)},remove(t){e=be(e,t),e[0]?.resume()}}}function be(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function _t(e){return e.filter(t=>t.tagName!=="A")}var Ft="Portal",Ie=i.forwardRef((e,t)=>{const{container:n,...r}=e,[o,a]=i.useState(!1);Y(()=>a(!0),[]);const c=n||o&&globalThis?.document?.body;return c?st.createPortal(g.jsx(x.div,{...r,ref:t}),c):null});Ie.displayName=Ft;function kt(e,t){return i.useReducer((n,r)=>t[n][r]??n,e)}var z=e=>{const{present:t,children:n}=e,r=Wt(t),o=typeof n=="function"?n({present:r.isPresent}):i.Children.only(n),a=L(r.ref,jt(o));return typeof n=="function"||r.isPresent?i.cloneElement(o,{ref:a}):null};z.displayName="Presence";function Wt(e){const[t,n]=i.useState(),r=i.useRef({}),o=i.useRef(e),a=i.useRef("none"),c=e?"mounted":"unmounted",[s,d]=kt(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const l=B(r.current);a.current=s==="mounted"?l:"none"},[s]),Y(()=>{const l=r.current,v=o.current;if(v!==e){const p=a.current,h=B(l);e?d("MOUNT"):h==="none"||l?.display==="none"?d("UNMOUNT"):d(v&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,d]),Y(()=>{if(t){let l;const v=t.ownerDocument.defaultView??window,f=h=>{const u=B(r.current).includes(h.animationName);if(h.target===t&&u&&(d("ANIMATION_END"),!o.current)){const m=t.style.animationFillMode;t.style.animationFillMode="forwards",l=v.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=m)})}},p=h=>{h.target===t&&(a.current=B(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{v.clearTimeout(l),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:i.useCallback(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function B(e){return e?.animationName||"none"}function jt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var te=0;function Bt(){i.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Ce()),document.body.insertAdjacentElement("beforeend",e[1]??Ce()),te++,()=>{te===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),te--}},[])}function Ce(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 5,591 bytes, lines 1-16
1style.position="fixed",e.style.pointerEvents="none",e}var D=function(){return D=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},D.apply(this,arguments)};function Le(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Ut(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var K="right-scroll-bar-position",G="width-before-scroll-bar",$t="with-scroll-bars-hidden",Ht="--removed-body-scroll-bar-size";function ne(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Vt(e,t){var n=i.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Kt=typeof window<"u"?i.useLayoutEffect:i.useEffect,Se=new WeakMap;function Gt(e,t){var n=Vt(null,function(r){return e.forEach(function(o){return ne(o,r)})});return Kt(function(){var r=Se.get(n);if(r){var o=new Set(r),a=new Set(e),c=n.current;o.forEach(function(s){a.has(s)||ne(s,null)}),a.forEach(function(s){o.has(s)||ne(s,c)})}Se.set(n,e)},[e]),n}function Yt(e){return e}function Xt(e,t){t===void 0&&(t=Yt);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var c=t(a,r);return n.push(c),function(){n=n.filter(function(s){return s!==c})}},assignSyncMedium:function(a){for(r=!0;n.length;){var c=n;n=[],c.forEach(a)}n={push:function(s){return a(s)},filter:function(){return n}}},assignMedium:function(a){r=!0;var c=[];if(n.length){var s=n;n=[],s.forEach(a),c=n}var d=function(){var v=c;c=[],v.forEach(a)},l=function(){return Promise.resolve().then(d)};l(),n={push:function(v){c.push(v),l()},filter:function(v){return c=c.filter(v),n}}}};return o}function zt(e){e===void 0&&(e={});var t=Xt(null);return t.options=D({async:!0,ssr:!1},e),t}var _e=function(e){var t=e.sideCar,n=Le(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,D({},n))};_e.isSideCarExport=!0;function Zt(e,t){return e.useMedium(t),_e}var Fe=zt(),re=function(){},Z=i.forwardRef(function(e,t){var n=i.useRef(null),r=i.useState({onScrollCapture:re,onWheelCapture:re,onTouchMoveCapture:re}),o=r[0],a=r[1],c=e.forwardProps,s=e.children,d=e.className,l=e.removeScrollBar,v=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,S=e.inert,u=e.allowPinchZoom,m=e.as,y=m===void 0?"div":m,P=e.gapMode,b=Le(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=p,w=Gt([n,t]),O=D(D({},b),o);return i.createElement(i.Fragment,null,v&&i.createElement(C,{sideCar:Fe,removeScrollBar:l,shards:f,noIsolation:h,inert:S,setCallbacks:a,allowPinchZoom:!!u,lockRef:n,gapMode:P}),c?i.cloneElement(i.Children.only(s),D(D({},O),{ref:w})):i.createElement(y,D({},O,{className:d,ref:w}),s))});Z.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Z.classNames={fullWidth:G,zeroRight:K};var qt=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Qt(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=qt();return t&&e.setAttribute("nonce",t),e}function Jt(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function en(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var tn=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Qt())&&(Jt(t,n),en(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},nn=function(){var e=tn();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ke=function(){var e=nn(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},rn={left:0,top:0,right:0,gap:0},oe=function(e){return parseInt(e||"",10)||0},on=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[oe(n),oe(r),oe(o)]},an=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return rn;var t=on(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])}},sn=ke(),W="data-scroll-locked",cn=function(e,t,n,r){var o=e.left,a=e.top,c=e.right,s=e.gap;return n===void 0&&(n="margin"),`
2  .`.concat($t,` {
3   overflow: hidden `).concat(r,`;
4   padding-right: `).concat(s,"px ").concat(r,`;
5  }
6  body[`).concat(W,`] {
7    overflow: hidden `).concat(r,`;
8    overscroll-behavior: contain;
9    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
10    padding-left: `.concat(o,`px;
11    padding-top: `).concat(a,`px;
12    padding-right: `).concat(c,`px;
13    margin-left:0;
14    margin-top:0;
15    margin-right: `).concat(s,"px ").concat(r,`;
16    `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";
16")].filter(Boolean).join(""),`
17  }
18  
19  .`).concat(K,` {
20    right: `).concat(s,"px ").concat(r,`;
21  }
22  
23  .`).concat(G,` {
24    margin-right: `).concat(s,"px ").concat(r,`;
25  }
26  
27  .`).concat(K," .").concat(K,` {
28    right: 0 `).concat(r,`;
29  }
30  
31  .`).concat(G," .").concat(G,` {
32    margin-right: 0 `).concat(r,`;
33  }
34  
35  body[`).concat(W,`] {
36    `).concat(Ht,": ").concat(s,`px;
37  }
38`)},we=function(){var e=parseInt(document.body.getAttribute(W)||"0",10);return isFinite(e)?e:0},un=function(){i.useEffect(function(){return document.body.setAttribute(W,(we()+1).toString()),function(){var e=we()-1;e<=0?document.body.removeAttribute(W):document.body.setAttribute(W,e.toString())}},[])},ln=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;un();var a=i.useMemo(function(){return an(o)},[o]);return i.createElement(sn,{styles:cn(a,!t,o,n?"":"!important")})},ce=!1;if(typeof window<"u")try{var U=Object.defineProperty({},"passive",{get:function(){return ce=!0,!0}});window.addEventListener("test",U,U),window.removeEventListener("test",U,U)}catch{ce=!1}var _=ce?{passive:!1}:!1,dn=function(e){return e.tagName==="TEXTAREA"},We=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!dn(e)&&n[t]==="visible")},fn=function(e){return We(e,"overflowY")},vn=function(e){return We(e,"overflowX")},Pe=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=je(e,r);if(o){var a=Be(e,r),c=a[1],s=a[2];if(c>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},pn=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},mn=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},je=function(e,t){return e==="v"?fn(t):vn(t)},Be=function(e,t){return e==="v"?pn(t):mn(t)},hn=function(e,t){return e==="h"&&t==="rtl"?-1:1},gn=function(e,t,n,r,o){var a=hn(e,window.getComputedStyle(t).direction),c=a*r,s=n.target,d=t.contains(s),l=!1,v=c>0,f=0,p=0;do{var h=Be(e,s),S=h[0],u=h[1],m=h[2],y=u-m-a*S;(S||y)&&je(e,s)&&(f+=y,p+=S),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!d&&s!==document.body||d&&(t.contains(s)||t===s));return(v&&Math.abs(f)<1||!v&&Math.abs(p)<1)&&(l=!0),l},$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Re=function(e){return[e.deltaX,e.deltaY]},De=function(e){return e&&"current"in e?e.current:e},yn=function(e,t){return e[0]===t[0]&&e[1]===t[1]},En=function(e){return`
39  .block-interactivity-`.concat(e,` {pointer-events: none;}
40  .allow-interactivity-`).concat(e,` {pointer-events: all;}
41`)},bn=0,F=[];function Cn(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(bn++)[0],a=i.useState(ke)[0],c=i.useRef(e);i.useEffect(function(){c.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var u=Ut([e.lockRef.current],(e.shards||[]).map(De),!0).filter(Boolean);return u.forEach(function(m){return m.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),u.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=i.useCallback(function(u,m){if("touches"in u&&u.touches.length===2||u.type==="wheel"&&u.ctrlKey)return!c.current.allowPinchZoom;var y=$(u),P=n.current,b="deltaX"in u?u.deltaX:P[0]-y[0],C="deltaY"in u?u.deltaY:P[1]-y[1],w,O=u.target,E=Math.abs(b)>Math.abs(C)?"h":"v";if("touches"in u&&E==="h"&&O.type==="range")return!1;var N=Pe(E,O);if(!N)return!0;if(N?w=E:(w=E==="v"?"h":"v",N=Pe(E,O)),!N)return!1;if(!r.current&&"changedTouches"in u&&(b||C)&&(r.current=w),!w)return!0;var j=r.current||w;return gn(j,m,u,j==="h"?b:C)},[]),d=i.useCallback(function(u){var m=u;if(!(!F.length||F[F.length-1]!==a)){var y="deltaY"in m?Re(m):$(m),P=t.current.filter(function(w){return w.name===m.type&&(w.target===m.target||m.target===w.shadowParent)&&yn(w.delta,y)})[0];if(P&&P.should){m.cancelable&&m.preventDefault();return}
vendor: 4,215 bytes, line 41
41if(!P){var b=(c.current.shards||[]).map(De).filter(Boolean).filter(function(w){return w.contains(m.target)}),C=b.length>0?s(m,b[0]):!c.current.noIsolation;C&&m.cancelable&&m.preventDefault()}}},[]),l=i.useCallback(function(u,m,y,P){var b={name:u,delta:m,target:y,should:P,shadowParent:Sn(y)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(C){return C!==b})},1)},[]),v=i.useCallback(function(u){n.current=$(u),r.current=void 0},[]),f=i.useCallback(function(u){l(u.type,Re(u),u.target,s(u,e.lockRef.current))},[]),p=i.useCallback(function(u){l(u.type,$(u),u.target,s(u,e.lockRef.current))},[]);i.useEffect(function(){return F.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",d,_),document.addEventListener("touchmove",d,_),document.addEventListener("touchstart",v,_),function(){F=F.filter(function(u){return u!==a}),document.removeEventListener("wheel",d,_),document.removeEventListener("touchmove",d,_),document.removeEventListener("touchstart",v,_)}},[]);var h=e.removeScrollBar,S=e.inert;return i.createElement(i.Fragment,null,S?i.createElement(a,{styles:En(o)}):null,h?i.createElement(ln,{gapMode:e.gapMode}):null)}function Sn(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const wn=Zt(Fe,Cn);var Ue=i.forwardRef(function(e,t){return i.createElement(Z,D({},e,{ref:t,sideCar:wn}))});Ue.classNames=Z.classNames;var Pn=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},k=new WeakMap,H=new WeakMap,V={},ae=0,$e=function(e){return e&&(e.host||$e(e.parentNode))},Rn=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=$e(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Dn=function(e,t,n,r){var o=Rn(t,Array.isArray(e)?e:[e]);V[n]||(V[n]=new WeakMap);var a=V[n],c=[],s=new Set,d=new Set(o),l=function(f){!f||s.has(f)||(s.add(f),l(f.parentNode))};o.forEach(l);var v=function(f){!f||d.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))v(p);else try{var h=p.getAttribute(r),S=h!==null&&h!=="false",u=(k.get(p)||0)+1,m=(a.get(p)||0)+1;k.set(p,u),a.set(p,m),c.push(p),u===1&&S&&H.set(p,!0),m===1&&p.setAttribute(n,"true"),S||p.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return v(t),s.clear(),ae++,function(){c.forEach(function(f){var p=k.get(f)-1,h=a.get(f)-1;k.set(f,p),a.set(f,h),p||(H.has(f)||f.removeAttribute(r),H.delete(f)),h||f.removeAttribute(n)}),ae--,ae||(k=new WeakMap,k=new WeakMap,H=new WeakMap,V={})}},On=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Pn(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Dn(r,o,n,"aria-hidden")):function(){return null}},le="Dialog",[He,Wn]=ut(le),[Nn,R]=He(le),Ve=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:c=!0}=e,s=i.useRef(null),d=i.useRef(null),[l=!1,v]=vt({prop:r,defaultProp:o,onChange:a});return g.jsx(Nn,{scope:t,triggerRef:s,contentRef:d,contentId:Q(),titleId:Q(),descriptionId:Q(),open:l,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(f=>!f),[v]),modal:c,children:n})};Ve.displayName=le;var Ke="DialogTrigger",Ge=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=R(Ke,n),a=L(t,o.triggerRef);return g.jsx(x.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ve(o.open),...r,ref:a,onClick:T(e.onClick,o.onOpenToggle)})});Ge.displayName=Ke;var de="DialogPortal",[xn,Ye]=He(de,{forceMount:void 0}),Xe=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=R(de,t);return g.jsx(xn,{scope:t,forceMount:n,children:i.Children.map(r,c=>g.jsx(z,{present:n||a.open,children:g.jsx(Ie,{asChild:!0,container:o,children:c})}))})};Xe.displayName=de;var X="DialogOverlay",ze=i.forwardRef((e,t)=>{const n=Ye(X,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=R(X,e.__scopeDialog);return a.modal?g.jsx(z,{present:r||a.open,children:g.jsx(An,{...o,ref:t})}):null});ze.displayName=X;var An=i.forwardRef((e,t)=>
vendor: 3,650 bytes, lines 41-45
41{const{__scopeDialog:n,...r}=e,o=R(X,n);return g.jsx(Ue,{as:ue,allowPinchZoom:!0,shards:[o.contentRef],children:g.jsx(x.div,{"data-state":ve(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),I="DialogContent",Ze=i.forwardRef((e,t)=>{const n=Ye(I,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=R(I,e.__scopeDialog);return g.jsx(z,{present:r||a.open,children:a.modal?g.jsx(Tn,{...o,ref:t}):g.jsx(Mn,{...o,ref:t})})});Ze.displayName=I;var Tn=i.forwardRef((e,t)=>{const n=R(I,e.__scopeDialog),r=i.useRef(null),o=L(t,n.contentRef,r);return i.useEffect(()=>{const a=r.current;if(a)return On(a)},[]),g.jsx(qe,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:T(e.onCloseAutoFocus,a=>{a.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:T(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,s=c.button===0&&c.ctrlKey===!0;(c.button===2||s)&&a.preventDefault()}),onFocusOutside:T(e.onFocusOutside,a=>a.preventDefault())})}),Mn=i.forwardRef((e,t)=>{const n=R(I,e.__scopeDialog),r=i.useRef(!1),o=i.useRef(!1);return g.jsx(qe,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{e.onCloseAutoFocus?.(a),a.defaultPrevented||(r.current||n.triggerRef.current?.focus(),a.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:a=>{e.onInteractOutside?.(a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=a.target;n.triggerRef.current?.contains(c)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}})}),qe=i.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...c}=e,s=R(I,n),d=i.useRef(null),l=L(t,d);return Bt(),g.jsxs(g.Fragment,{children:[g.jsx(Te,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:g.jsx(xe,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":ve(s.open),...c,ref:l,onDismiss:()=>s.onOpenChange(!1)})}),g.jsxs(g.Fragment,{children:[g.jsx(In,{titleId:s.titleId}),g.jsx(_n,{contentRef:d,descriptionId:s.descriptionId})]})]})}),fe="DialogTitle",Qe=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=R(fe,n);return g.jsx(x.h2,{id:o.titleId,...r,ref:t})});Qe.displayName=fe;var Je="DialogDescription",et=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=R(Je,n);return g.jsx(x.p,{id:o.descriptionId,...r,ref:t})});et.displayName=Je;var tt="DialogClose",nt=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=R(tt,n);return g.jsx(x.button,{type:"button",...r,ref:t,onClick:T(e.onClick,()=>o.onOpenChange(!1))})});nt.displayName=tt;function ve(e){return e?"open":"closed"}var rt="DialogTitleWarning",[jn,ot]=ct(rt,{contentName:I,titleName:fe,docsSlug:"dialog"}),In=({titleId:e})=>{const t=ot(rt),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
42
43If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
44
45For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Ln="DialogDescriptionWarning",_n=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ot(Ln).contentName}}.`;return i.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Bn=Ve,Un=Ge,$n=Xe,Hn=ze,Vn=Ze,Kn=Qe,Gn=et,Yn=nt;export{Vn as C,Gn as D,Hn as O,$n as P,Bn as R,Kn as T,Yn as a,Un as b};

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.