PageSourceSearch

https://scenariocompass.org/_next/static/chunks/02xkxp3f2.00k.js

js scenariocompass.org collected 2026-10-07 00:44:39 UTC 31,776 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75453,e=>{"use strict";e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}])},33616,e=>{"use strict";var t=e.i(53369),n=e.i(72687),r=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,a]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}])},43250,72687,17256,e=>{"use strict";var t=e.i(53369),n=e.i(400);e.s(["createContext",0,function(e,r){let o=t.createContext(r),i=e=>{let{children:r,...i}=e,a=t.useMemo(()=>i,Object.values(i));return(0,n.jsx)(o.Provider,{value:a,children:r})};return i.displayName=e+"Provider",[i,function(n){let i=t.useContext(o);if(i)return i;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,r=[]){let o=[],i=()=>{let n=o.map(e=>t.createContext(e));return function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(r,i){let a=t.createContext(i),u=o.length;o=[...o,i];let c=r=>{let{scope:o,children:i,...c}=r,s=o?.[e]?.[u]||a,l=t.useMemo(()=>c,Object.values(c));return(0,n.jsx)(s.Provider,{value:l,children:i})};return c.displayName=r+"Provider",[c,function(n,o){let c=o?.[e]?.[u]||a,s=t.useContext(c);if(s)return s;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return 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])}};return r.scopeName=n.scopeName,r}(i,...r)]}],43250);var r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r],72687),t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var o=t[" useInsertionEffect ".trim().toString()]||r;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:n,onChange:r=()=>{},caller:i}){let[a,u,c]=function({defaultProp:e,onChange:n}){let[r,i]=t.useState(e),a=t.useRef(r),u=t.useRef(n);return o(()=>{u.current=n},[n]),t.useEffect(()=>{a.current!==r&&(u.current?.(r),a.current=r)},[r,a]),[r,i,u]}({defaultProp:n,onChange:r}),s=void 0!==e,l=s?e:a;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=s},[s,i])}return[l,t.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&c.current?.(n)}else u(t)},[s,e,u,c])]}],17256)},80939,e=>{"use strict";var t=e.i(53369),n=e.i(14253),r=e.i(52053),o=e.i(400),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,r.createSlot)(`Primitive.${n}`),a=t.forwardRef((e,t)=>{let{asChild:r,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?i:n,{...a,ref:t})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{});e.s(["Primitive",0,i,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}])},36131,4048,e=>{"use strict";var t=e.i(53369);function n(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}e.s(["useCallbackRef",0,n],36131),e.s(["useEscapeKeydown",0,function(e,r=globalThis?.document){let o=n(e);t.useEffect(()=>{let e=e=>{"Escape"===e.key&&o(e)};return r.addEventListener("keydown",e,{capture:!0}),()=>r.removeEventListener("keydown",e,{capture:!0})},[o,r])}],4048)},26694,e=>{"use strict";var t,n=e.i(53369),r=e.i(75453),o=e.i(80939),i=e.i(67928),a=e.i(36131),u=e.i(4048),c=e.i(400),s="dismissableLayer.update",l=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=n.forwardRef((e,d)=>{let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:v,onPointerDownOutside:h,onFocusOutside:g,onInteractOutside:y,onDismiss:E,...b}=e,w=n.useContext(l),[C,R]=n.useState(null),N=C?.ownerDocument??globalThis?.document,[,S]=n.useState({}),P=(0,i.useComposedRefs)(d,e=>R(e)),x=Array.from(w.layers),[O]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),D=x.indexOf(O),T=C?x.indexOf(C):-1,L=w.layersWithOutsidePointerEventsDisabled.size>0,M=T>=D,A=function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e),o=n.useRef(!1),i=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>
1{if(e.target&&!o.current){let n=function(){p("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);o.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...w.branches].some(e=>e.contains(t));M&&!n&&(h?.(e),y?.(e),e.defaultPrevented||E?.())},N),k=function(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e),o=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!o.current&&p("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...w.branches].some(e=>e.contains(t))&&(g?.(e),y?.(e),e.defaultPrevented||E?.())},N);return(0,u.useEscapeKeydown)(e=>{T===w.layers.size-1&&(v?.(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))},N),n.useEffect(()=>{if(C)return m&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(t=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(C)),w.layers.add(C),f(),()=>{m&&1===w.layersWithOutsidePointerEventsDisabled.size&&(N.body.style.pointerEvents=t)}},[C,N,m,w]),n.useEffect(()=>()=>{C&&(w.layers.delete(C),w.layersWithOutsidePointerEventsDisabled.delete(C),f())},[C,w]),n.useEffect(()=>{let e=()=>S({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,c.jsx)(o.Primitive.div,{...b,ref:P,style:{pointerEvents:L?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,k.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,A.onPointerDownCapture)})});function f(){let e=new CustomEvent(s);document.dispatchEvent(e)}function p(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,o.dispatchDiscreteCustomEvent)(i,a):i.dispatchEvent(a)}d.displayName="DismissableLayer",n.forwardRef((e,t)=>{let r=n.useContext(l),a=n.useRef(null),u=(0,i.useComposedRefs)(t,a);return n.useEffect(()=>{let e=a.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,c.jsx)(o.Primitive.div,{...e,ref:u})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,d])},45424,e=>{"use strict";let t;var n=e.i(53369),r=e.i(67928),o=e.i(80939),i=e.i(36131),a=e.i(400),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},l=n.forwardRef((e,t)=>{let{loop:l=!1,trapped:v=!1,onMountAutoFocus:h,onUnmountAutoFocus:g,...y}=e,[E,b]=n.useState(null),w=(0,i.useCallbackRef)(h),C=(0,i.useCallbackRef)(g),R=n.useRef(null),N=(0,r.useComposedRefs)(t,e=>b(e)),S=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(v){let e=function(e){if(S.paused||!E)return;let t=e.target;E.contains(t)?R.current=t:p(R.current,{select:!0})},t=function(e){if(S.paused||!E)return;let t=e.relatedTarget;null!==t&&(E.contains(t)||p(R.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(E)});return E&&n.observe(E,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[v,E,S.paused]),n.useEffect(()=>{if(E){m.add(S);let e=document.activeElement;if(!E.contains(e)){let t=new CustomEvent(u,s);E.addEventListener(u,w),E.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(E).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(E))}return()=>{E.removeEventListener(u,w),setTimeout(()=>{let t=new CustomEvent(c,s);E.addEventListener(c,C),E.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),E.removeEventListener(c,C),m.remove(S)},0)}}},[E,w,C,S]);let P=n.useCallback(e=>{if(!l&&!v||S.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,[i,a]=[f(t=d(r=o),r),f(t.reverse(),r)];i&&a?e.shiftKey||n!==a?e.shiftKey&&n===i&&(e.preventDefault(),l&&p(a,{select:!0})):(e.preventDefault(),l&&p(i,{select:!0})):n===o&&e.preventDefault()}},[l,v,S.paused]);return(0,a.jsx)(o.Primitive.div,{tabIndex:-1,...y,ref:N,onKeyDown:P})});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()}}l.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,l])},32374,e=>{"use strict";var t=e.i(53369),n=e.i(14253),r=e.i(80939),o=e.i(72687),i=e.i(400),a=t.forwardRef((e,a)=>{let{container:u,...c}=e,[s,l]=t.useState(!1);(0,o.useLayoutEffect)(()=>l(!0),[]);let d=u||s&&globalThis?.document?.body;return d?n.default.createPortal((0,i.jsx)(r.Primitive.div,{...c,ref:a}),d):null});a.displayName="Portal",e.s(["Portal",0,a])},1780,e=>{"use strict";var t=e.i(53369),n=e.i(67928),r=e.i(72687),o=e=>{var o;let a,u,{present:c,children:s}=e,l=function(e){var n,o;let[a,u]=t.useState(),c=t.useRef(null),s=t.useRef(e),l=t.useRef("none"),[d,f]=(n=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>
1o[e][t]??e,n));return t.useEffect(()=>{let e=i(c.current);l.current="mounted"===d?e:"none"},[d]),(0,r.useLayoutEffect)(()=>{let t=c.current,n=s.current;if(n!==e){let r=l.current,o=i(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,r.useLayoutEffect)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,n=n=>{let r=i(c.current).includes(n.animationName);if(n.target===a&&r&&(f("ANIMATION_END"),!s.current)){let n=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=n)})}},r=e=>{e.target===a&&(l.current=i(c.current))};return a.addEventListener("animationstart",r),a.addEventListener("animationcancel",n),a.addEventListener("animationend",n),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",r),a.removeEventListener("animationcancel",n),a.removeEventListener("animationend",n)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{c.current=e?getComputedStyle(e):null,u(e)},[])}}(c),d="function"==typeof s?s({present:l.isPresent}):t.Children.only(s),f=(0,n.useComposedRefs)(l.ref,(o=d,(u=(a=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.ref:(u=(a=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.props.ref:o.props.ref||o.ref));return"function"==typeof s||l.isPresent?t.cloneElement(d,{ref:f}):null};function i(e){return e?.animationName||"none"}o.displayName="Presence",e.s(["Presence",0,o])},75401,e=>{"use strict";var t=e.i(53369),n=0;function r(){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(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??r()),document.body.insertAdjacentElement("beforeend",e[1]??r()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),n--}},[])}])},69136,e=>{"use strict";var t,n,r,o,i,a,u,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 l=("function"==typeof SuppressedError&&SuppressedError,e.i(53369)),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?l.useLayoutEffect:l.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;r=[],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=l.forwardRef(function(e,t){var n,r,o,i,a=l.useRef(null),u=l.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),d=u[0],f=u[1],y=e.forwardProps,E=e.children,b=e.className,w=e.removeScrollBar,C=e.enabled,R=e.shards,N=e.sideCar,S=e.noRelative,P=e.noIsolation,x=e.inert,O=e.allowPinchZoom,D=e.as,T=e.gapMode,L=s(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=(n=[a,t],r=function(e){return n.forEac
1h(function(t){return p(t,e)})},(o=(0,l.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({},L),d);return l.createElement(l.Fragment,null,C&&l.createElement(N,{sideCar:h,removeScrollBar:w,shards:R,noRelative:S,noIsolation:P,inert:x,setCallbacks:f,allowPinchZoom:!!O,lockRef:a,gapMode:T}),y?l.cloneElement(l.Children.only(E),c(c({},A),{ref:M})):l.createElement(void 0===D?"div":D,c({},A,{className:b,ref:M}),E))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:f,zeroRight:d};var E=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 l.createElement(r,c({},n))};E.isSideCarExport=!0;var b=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=u||("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=b();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},C=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},R={left:0,top:0,right:0,gap:0},N=function(e){return parseInt(e||"",10)||0},S=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[N(n),N(r),N(o)]},P=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return R;var t=S(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])}},x=C(),O="data-scroll-locked",D=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(u,"px ").concat(r,";\n  }\n  body[").concat(O,"] {\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(u,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(d," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(f," {\n    margin-right: ").concat(u,"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(O,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},T=function(){var e=parseInt(document.body.getAttribute(O)||"0",10);return isFinite(e)?e:0},L=function(){l.useEffect(function(){return document.body.setAttribute(O,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(O):document.body.setAttribute(O,e.toString())}},[])},M=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;L();var i=l.useMemo(function(){return P(o)},[o]);return l.createElement(x,{styles:D(i,!t,o,n?"":"!important")})},A=!1;if("u">typeof window)try{var k=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",k,k),window.removeEventListener("test",k,k)}catch(e){A=!1}var I=!!A&&{passive:!1},j=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),_(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?j(t,"overflowY"):j(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 i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),u=a*r,c=n.target,s=t.contains(c),l=!1,d=u>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)&&_(e,c)&&(f+=h,p+=v);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!s&&c!==document.body||s&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&u>f)?l=!0:!d&&(o&&1>Math.abs(p)||!o&&-u>p)&&(l=!0),l},U=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$=function(e){return[e.deltaX,e.deltaY]},H=function(e){return e&&"current"in e?e.current:e},K=0,X=[];let Y=(a=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(K++)[0],i=l.useState(C)[0],a=l.useRef(e);l.useEffect(function(){a.current=e},[e]),l.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(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 u=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=U(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-i[0],s="deltaY"in e?e.deltaY:u[1]-i[1],l=e.target,d=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var f=F(d,l);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=F(d,l)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var p=r.current||o;return B(p,t,e,"h"===p?c:s,!0)},[]),c=l.useCallback(function(e){if(X.length&&X[X.length-1]===i){var n="deltaY"in e?$(e):U(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(H).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=l.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=l.useCallback(function(e){n.current=U(e),r.current=void 0},[]),f=l.useCallback(function(t){s(t.type,$(t),t.target,u(t,e.lockRef.current))},[]),p=l.useCallback(function(t){s(t.type,U(t),t.target,u(t,e.lockRef.current))},[]);l.useEffect(function(){return X.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(){X=X.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 l.createElement(l.Fragment,null,v?l.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?l.createElement(M,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},h.useMedium(a),E);var z=l.forwardRef(function(e,t){return l.createElement(y,c({},e,{ref:t,sideCar:Y}))});z.classNames=y.classNames,e.s(["RemoveScroll",0,z],69136)},73772,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,u,c){var s=(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[u]||(r[u]=new WeakMap);var l=r[u],d=[],f=new Set,p=new Set(s),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};
1s.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,i=(t.get(e)||0)+1,a=(l.get(e)||0)+1;t.set(e,i),l.set(e,a),d.push(e),1===i&&o&&n.set(e,!0),1===a&&e.setAttribute(u,"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=l.get(e)-1;t.set(e,r),l.set(e,o),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),o||e.removeAttribute(u)}),--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"))),a(r,o,n,"aria-hidden")):function(){return null}}])},64647,e=>{"use strict";let t=(0,e.i(71665).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",0,t])},98621,25627,e=>{"use strict";var t=e.i(53369),n=e.i(75453),r=e.i(67928),o=e.i(43250),i=e.i(33616),a=e.i(17256),u=e.i(26694),c=e.i(45424),s=e.i(32374),l=e.i(1780),d=e.i(80939),f=e.i(75401),p=e.i(69136),m=e.i(73772),v=e.i(52053),h=e.i(400),g="Dialog",[y,E]=(0,o.createContextScope)(g),[b,w]=y(g),C=e=>{let{__scopeDialog:n,children:r,open:o,defaultOpen:u,onOpenChange:c,modal:s=!0}=e,l=t.useRef(null),d=t.useRef(null),[f,p]=(0,a.useControllableState)({prop:o,defaultProp:u??!1,onChange:c,caller:g});return(0,h.jsx)(b,{scope:n,triggerRef:l,contentRef:d,contentId:(0,i.useId)(),titleId:(0,i.useId)(),descriptionId:(0,i.useId)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:s,children:r})};C.displayName=g;var R="DialogTrigger",N=t.forwardRef((e,t)=>{let{__scopeDialog:o,...i}=e,a=w(R,o),u=(0,r.useComposedRefs)(t,a.triggerRef);return(0,h.jsx)(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":K(a.open),...i,ref:u,onClick:(0,n.composeEventHandlers)(e.onClick,a.onOpenToggle)})});N.displayName=R;var S="DialogPortal",[P,x]=y(S,{forceMount:void 0}),O=e=>{let{__scopeDialog:n,forceMount:r,children:o,container:i}=e,a=w(S,n);return(0,h.jsx)(P,{scope:n,forceMount:r,children:t.Children.map(o,e=>(0,h.jsx)(l.Presence,{present:r||a.open,children:(0,h.jsx)(s.Portal,{asChild:!0,container:i,children:e})}))})};O.displayName=S;var D="DialogOverlay",T=t.forwardRef((e,t)=>{let n=x(D,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=w(D,e.__scopeDialog);return i.modal?(0,h.jsx)(l.Presence,{present:r||i.open,children:(0,h.jsx)(M,{...o,ref:t})}):null});T.displayName=D;var L=(0,v.createSlot)("DialogOverlay.RemoveScroll"),M=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(D,n);return(0,h.jsx)(p.RemoveScroll,{as:L,allowPinchZoom:!0,shards:[o.contentRef],children:(0,h.jsx)(d.Primitive.div,{"data-state":K(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),A="DialogContent",k=t.forwardRef((e,t)=>{let n=x(A,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=w(A,e.__scopeDialog);return(0,h.jsx)(l.Presence,{present:r||i.open,children:i.modal?(0,h.jsx)(I,{...o,ref:t}):(0,h.jsx)(j,{...o,ref:t})})});k.displayName=A;var I=t.forwardRef((e,o)=>{let i=w(A,e.__scopeDialog),a=t.useRef(null),u=(0,r.useComposedRefs)(o,i.contentRef,a);return t.useEffect(()=>{let e=a.current;if(e)return(0,m.hideOthers)(e)},[]),(0,h.jsx)(F,{...e,ref:u,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.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())})}),j=t.forwardRef((e,n)=>{let r=w(A,e.__scopeDialog),o=t.useRef(!1),i=t.useRef(!1);return(0,h.jsx)(F,{...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()}})}
1),F=t.forwardRef((e,n)=>{let{__scopeDialog:o,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:s,...l}=e,d=w(A,o),p=t.useRef(null),m=(0,r.useComposedRefs)(n,p);return(0,f.useFocusGuards)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:s,children:(0,h.jsx)(u.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":K(d.open),...l,ref:m,onDismiss:()=>d.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(Z,{titleId:d.titleId}),(0,h.jsx)(q,{contentRef:p,descriptionId:d.descriptionId})]})]})}),_="DialogTitle",W=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(_,n);return(0,h.jsx)(d.Primitive.h2,{id:o.titleId,...r,ref:t})});W.displayName=_;var B="DialogDescription",U=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(B,n);return(0,h.jsx)(d.Primitive.p,{id:o.descriptionId,...r,ref:t})});U.displayName=B;var $="DialogClose",H=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,i=w($,r);return(0,h.jsx)(d.Primitive.button,{type:"button",...o,ref:t,onClick:(0,n.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function K(e){return e?"open":"closed"}H.displayName=$;var X="DialogTitleWarning",[Y,z]=(0,o.createContext)(X,{contentName:A,titleName:_,docsSlug:"dialog"}),Z=({titleId:e})=>{let n=z(X),r=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},q=({contentRef:e,descriptionId:n})=>{let r=z("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");n&&t&&(document.getElementById(n)||console.warn(o))},[o,e,n]),null};e.s(["Close",0,H,"Content",0,k,"Description",0,U,"Overlay",0,T,"Portal",0,O,"Root",0,C,"Title",0,W,"Trigger",0,N],98621);var G=e.i(64647);e.s(["XIcon",()=>G.default],25627)}]);

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.