PageSourceSearch

https://landing.ai/_next/static/chunks/172qpk0of64v_.js

js landing.ai collected 2026-10-02 03:31:56 UTC 27,401 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,65039,e=>{"use strict";let t;var n=e.i(94639),r=e.i(88198),o=e.i(59696),a=e.i(24243),i=e.i(3710),c="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},u=n.forwardRef((e,t)=>{let{loop:u=!1,trapped:g=!1,onMountAutoFocus:m,onUnmountAutoFocus:h,...y}=e,[b,x]=n.useState(null),w=(0,a.useCallbackRef)(m),E=(0,a.useCallbackRef)(h),C=n.useRef(null),R=(0,r.useComposedRefs)(t,e=>x(e)),D=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(g){let e=function(e){if(D.paused||!b)return;let t=e.target;b.contains(t)?C.current=t:p(C.current,{select:!0})},t=function(e){if(D.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||p(C.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&p(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[g,b,D.paused]),n.useEffect(()=>{if(b){v.add(D);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(c,s);b.addEventListener(c,w),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(p(r,{select:t}),document.activeElement!==n)return}(d(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(b))}return()=>{b.removeEventListener(c,w),setTimeout(()=>{let t=new CustomEvent(l,s);b.addEventListener(l,E),b.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),b.removeEventListener(l,E),v.remove(D)},0)}}},[b,w,E,D]);let N=n.useCallback(e=>{if(!u&&!g||D.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var r;let t,o=e.currentTarget,[a,i]=[f(t=d(r=o),r),f(t.reverse(),r)];a&&i?e.shiftKey||n!==i?e.shiftKey&&n===a&&(e.preventDefault(),u&&p(i,{select:!0})):(e.preventDefault(),u&&p(a,{select:!0})):n===o&&e.preventDefault()}},[u,g,D.paused]);return(0,i.jsx)(o.Primitive.div,{tabIndex:-1,...y,ref:R,onKeyDown:N})});function d(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function p(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}u.displayName="FocusScope";var v=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=g(t,e)).unshift(e)},remove(e){t=g(t,e),t[0]?.resume()}});function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",0,u])},25772,e=>{"use strict";var t=e.i(94639),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--}},[])}])},90361,e=>{"use strict";var t,n,r,o,a,i,c,l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var u=("function"==typeof SuppressedError&&SuppressedError,e.i(94639)),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 v="u">typeof window?u.useLayoutEffect:u.useEffect,g=new WeakMap,m=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,a={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;
1r=[],n.forEach(e),t=r}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),r={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),r}}}}).options=l({async:!0,ssr:!1},t),a),h=function(){},y=u.forwardRef(function(e,t){var n,r,o,a,i=u.useRef(null),c=u.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),d=c[0],f=c[1],y=e.forwardProps,b=e.children,x=e.className,w=e.removeScrollBar,E=e.enabled,C=e.shards,R=e.sideCar,D=e.noRelative,N=e.noIsolation,S=e.inert,k=e.allowPinchZoom,j=e.as,T=e.gapMode,P=s(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[i,t],r=function(e){return n.forEach(function(t){return p(t,e)})},(o=(0,u.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,v(function(){var e=g.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,o)})}g.set(a,n)},[n]),a),O=l(l({},P),d);return u.createElement(u.Fragment,null,E&&u.createElement(R,{sideCar:m,removeScrollBar:w,shards:C,noRelative:D,noIsolation:N,inert:S,setCallbacks:f,allowPinchZoom:!!k,lockRef:i,gapMode:T}),y?u.cloneElement(u.Children.only(b),l(l({},O),{ref:A})):u.createElement(void 0===j?"div":j,l({},O,{className:x,ref:A}),b))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:f,zeroRight:d};var b=function(e){var t=e.sideCar,n=s(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return u.createElement(r,l({},n))};b.isSideCarExport=!0;var x=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=x();return function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},E=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},C={left:0,top:0,right:0,gap:0},R=function(e){return parseInt(e||"",10)||0},D=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[R(n),R(r),R(o)]},N=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return C;var t=D(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])}},S=E(),k="data-scroll-locked",j=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(c,"px ").concat(r,";\n  }\n  body[").concat(k,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(d," {\n    right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(f," {\n    margin-right: ").concat(c,"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(k,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},T=function(){var e=parseInt(document.body.getAttribute(k)||"0",10);return isFinite(e)?e:0},P=function(){u.useEffect(function(){return document.body.setAttribute(k,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(k):document.body.setAttribute(k,e.toString())}},[])},A=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;P();var a=u.useMemo(function(){return N(o)},[o]);return u.createElement(S,{styles:j(a,!t,o,n?"":"!important")})},O=!1;if("u">typeof window)try{var I=Object.defineProperty({},"passive",{get:function(){return O=!0,!0}});window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){O=!1}var M=!!O&&{passive:!1},_=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=z(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?_(t,"overflowY"):_(t,"overflowX")},z=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},W=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),c=i*r,l=n.target,s=t.contains(l),u=!1,d=c>0,f=0,p=0;
1do{if(!l)break;var v=z(e,l),g=v[0],m=v[1]-v[2]-i*g;(g||m)&&L(e,l)&&(f+=m,p+=g);var h=l.parentNode;l=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!s&&l!==document.body||s&&(t.contains(l)||t===l))return d&&(o&&1>Math.abs(f)||!o&&c>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-c>p)&&(u=!0),u},B=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},K=function(e){return[e.deltaX,e.deltaY]},H=function(e){return e&&"current"in e?e.current:e},X=0,U=[];let Y=(i=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(X++)[0],a=u.useState(E)[0],i=u.useRef(e);u.useEffect(function(){i.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(H),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=B(e),c=n.current,l="deltaX"in e?e.deltaX:c[0]-a[0],s="deltaY"in e?e.deltaY:c[1]-a[1],u=e.target,d=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var v=F(d,u);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=F(d,u)),!v)return!1;if(!r.current&&"changedTouches"in e&&(l||s)&&(r.current=o),!o)return!0;var g=r.current||o;return W(g,t,e,"h"===g?l:s,!0)},[]),l=u.useCallback(function(e){if(U.length&&U[U.length-1]===a){var n="deltaY"in e?K(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=(i.current.shards||[]).map(H).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=u.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=u.useCallback(function(e){n.current=B(e),r.current=void 0},[]),f=u.useCallback(function(t){s(t.type,K(t),t.target,c(t,e.lockRef.current))},[]),p=u.useCallback(function(t){s(t.type,B(t),t.target,c(t,e.lockRef.current))},[]);u.useEffect(function(){return U.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,M),document.addEventListener("touchmove",l,M),document.addEventListener("touchstart",d,M),function(){U=U.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,M),document.removeEventListener("touchmove",l,M),document.removeEventListener("touchstart",d,M)}},[]);var v=e.removeScrollBar,g=e.inert;return u.createElement(u.Fragment,null,g?u.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?u.createElement(A,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},m.useMedium(i),b);var $=u.forwardRef(function(e,t){return u.createElement(y,l({},e,{ref:t,sideCar:Y}))});$.classNames=y.classNames,e.s(["RemoveScroll",0,$],90361)},73772,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,a=function(e){return e&&(e.host||a(e.parentNode))},i=function(e,i,c,l){var s=(Array.isArray(e)?e:[e]).map(function(e){if(i.contains(e))return e;var t=a(e);return t&&i.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",i,". Doing nothing"),null)}).filter(function(e){return!!e});r[c]||(r[c]=new WeakMap);var u=r[c],d=[],f=new Set,p=new Set(s),v=function(e){!e||f.has(e)||(f.add(e),v(e.parentNode))};
1s.forEach(v);var g=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))g(e);else try{var r=e.getAttribute(l),o=null!==r&&"false"!==r,a=(t.get(e)||0)+1,i=(u.get(e)||0)+1;t.set(e,a),u.set(e,i),d.push(e),1===a&&o&&n.set(e,!0),1===i&&e.setAttribute(c,"true"),o||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return g(i),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=u.get(e)-1;t.set(e,r),u.set(e,o),r||(n.has(e)||e.removeAttribute(l),n.delete(e)),o||e.removeAttribute(c)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),i(r,o,n,"aria-hidden")):function(){return null}}])},67881,94237,e=>{"use strict";var t=e.i(3710),n=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=n.clsx,a=(e,t)=>n=>{var a;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:c}=t,l=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],o=null==c?void 0:c[e];if(null===t)return null;let a=r(t)||r(o);return i[e][a]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,l,null==t||null==(a=t.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...c,...s}[t]):({...c,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)};e.s(["cva",0,a],94237);var i=e.i(57220),i=i,c=e.i(47163);let l=a("inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Button",0,function({className:e,variant:n="default",size:r="default",asChild:o=!1,...a}){let s=o?i.Root:"button";return(0,t.jsx)(s,{"data-slot":"button","data-variant":n,"data-size":r,className:(0,c.cn)(l({variant:n,size:r,className:e})),...a})}],67881)},30374,27525,33294,e=>{"use strict";var t=e.i(3710);let n=(0,e.i(54361).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",0,n],27525),e.s(["XIcon",0,n],33294);var r=e.i(94639),o=e.i(91967),a=e.i(88198),i=e.i(54090),c=e.i(28090),l=e.i(14545),s=e.i(62621),u=e.i(65039),d=e.i(88707),f=e.i(55155),p=e.i(59696),v=e.i(25772),g=e.i(90361),m=e.i(73772),h=e.i(57220),y="Dialog",[b,x]=(0,i.createContextScope)(y),[w,E]=b(y),C=e=>{let{__scopeDialog:n,children:o,open:a,defaultOpen:i,onOpenChange:s,modal:u=!0}=e,d=r.useRef(null),f=r.useRef(null),[p,v]=(0,l.useControllableState)({prop:a,defaultProp:i??!1,onChange:s,caller:y});return(0,t.jsx)(w,{scope:n,triggerRef:d,contentRef:f,contentId:(0,c.useId)(),titleId:(0,c.useId)(),descriptionId:(0,c.useId)(),open:p,onOpenChange:v,onOpenToggle:r.useCallback(()=>v(e=>!e),[v]),modal:u,children:o})};C.displayName=y;
1var R="DialogTrigger",D=r.forwardRef((e,n)=>{let{__scopeDialog:r,...i}=e,c=E(R,r),l=(0,a.useComposedRefs)(n,c.triggerRef);return(0,t.jsx)(p.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":c.open,"aria-controls":c.contentId,"data-state":U(c.open),...i,ref:l,onClick:(0,o.composeEventHandlers)(e.onClick,c.onOpenToggle)})});D.displayName=R;var N="DialogPortal",[S,k]=b(N,{forceMount:void 0}),j=e=>{let{__scopeDialog:n,forceMount:o,children:a,container:i}=e,c=E(N,n);return(0,t.jsx)(S,{scope:n,forceMount:o,children:r.Children.map(a,e=>(0,t.jsx)(f.Presence,{present:o||c.open,children:(0,t.jsx)(d.Portal,{asChild:!0,container:i,children:e})}))})};j.displayName=N;var T="DialogOverlay",P=r.forwardRef((e,n)=>{let r=k(T,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,i=E(T,e.__scopeDialog);return i.modal?(0,t.jsx)(f.Presence,{present:o||i.open,children:(0,t.jsx)(O,{...a,ref:n})}):null});P.displayName=T;var A=(0,h.createSlot)("DialogOverlay.RemoveScroll"),O=r.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=E(T,r);return(0,t.jsx)(g.RemoveScroll,{as:A,allowPinchZoom:!0,shards:[a.contentRef],children:(0,t.jsx)(p.Primitive.div,{"data-state":U(a.open),...o,ref:n,style:{pointerEvents:"auto",...o.style}})})}),I="DialogContent",M=r.forwardRef((e,n)=>{let r=k(I,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,i=E(I,e.__scopeDialog);return(0,t.jsx)(f.Presence,{present:o||i.open,children:i.modal?(0,t.jsx)(_,{...a,ref:n}):(0,t.jsx)(F,{...a,ref:n})})});M.displayName=I;var _=r.forwardRef((e,n)=>{let i=E(I,e.__scopeDialog),c=r.useRef(null),l=(0,a.useComposedRefs)(n,i.contentRef,c);return r.useEffect(()=>{let e=c.current;if(e)return(0,m.hideOthers)(e)},[]),(0,t.jsx)(L,{...e,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),F=r.forwardRef((e,n)=>{let o=E(I,e.__scopeDialog),a=r.useRef(!1),i=r.useRef(!1);return(0,t.jsx)(L,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||o.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let n=t.target;o.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),L=r.forwardRef((e,n)=>{let{__scopeDialog:o,trapFocus:i,onOpenAutoFocus:c,onCloseAutoFocus:l,...d}=e,f=E(I,o),p=r.useRef(null),g=(0,a.useComposedRefs)(n,p);return(0,v.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:c,onUnmountAutoFocus:l,children:(0,t.jsx)(s.DismissableLayer,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":U(f.open),...d,ref:g,onDismiss:()=>f.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(q,{titleId:f.titleId}),(0,t.jsx)(G,{contentRef:p,descriptionId:f.descriptionId})]})]})}),z="DialogTitle",W=r.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=E(z,r);return(0,t.jsx)(p.Primitive.h2,{id:a.titleId,...o,ref:n})});W.displayName=z;var B="DialogDescription",K=r.forwardRef((e,n)=>{let{__scopeDialog:r,...o}=e,a=E(B,r);return(0,t.jsx)(p.Primitive.p,{id:a.descriptionId,...o,ref:n})});K.displayName=B;var H="DialogClose",X=r.forwardRef((e,n)=>{let{__scopeDialog:r,...a}=e,i=E(H,r);return(0,t.jsx)(p.Primitive.button,{type:"button",...a,ref:n,onClick:(0,o.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function U(e){return e?"open":"closed"}X.displayName=H;var Y="DialogTitleWarning",[$,Z]=(0,i.createContext)(Y,{contentName:I,titleName:z,docsSlug:"dialog"}),q=({titleId:e})=>{let t=Z(Y),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},G=({contentRef:e,descriptionId:t})=>{let n=Z("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null};e.s(["Close",0,X,"Content",0,M,"Description",0,K,"Dialog",0,C,"DialogClose",0,X,"DialogContent",0,M,"DialogDescription",0,K,"DialogOverlay",0,P,"DialogPortal",0,j,"DialogTitle",0,W,"DialogTrigger",0,D,"Overlay",0,P,"Portal",0,j,"Root",0,C,"Title",0,W,"Trigger",0,D,"WarningProvider",0,$,"createDialogScope",0,x],52051);var V=e.i(52051),V=V,J=e.i(47163),Q=e.i(67881);function ee({...e}){return(0,t.jsx)(V.Portal,{"data-slot":"dialog-portal",...e})}function et({className:e,...n}){return(0,t.jsx)(V.Overlay,{"data-slot":"dialog-overlay",className:(0,J.cn)("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...n})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(V.Root,{"data-slot":"dialog",...e})},"DialogClose",0,function({...e}){return(0,t.jsx)(V.Close,{"data-slot":"dialog-close",...e})},"DialogContent",0,function({className:e,children:r,showCloseButton:o=!0,...a}){return(0,t.jsxs)(ee,{"data-slot":"dialog-portal",children:[(0,t.jsx)(et,{}
5),(0,t.jsxs)(V.Content,{"data-slot":"dialog-content",className:(0,J.cn)("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg",e),...a,children:[r,o&&(0,t.jsxs)(V.Close,{"data-slot":"dialog-close",className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,t.jsx)(n,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})},"DialogDescription",0,function({className:e,...n}){return(0,t.jsx)(V.Description,{"data-slot":"dialog-description",className:(0,J.cn)("text-sm text-muted-foreground",e),...n})},"DialogFooter",0,function({className:e,showCloseButton:n=!1,children:r,...o}){return(0,t.jsxs)("div",{"data-slot":"dialog-footer",className:(0,J.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...o,children:[r,n&&(0,t.jsx)(V.Close,{asChild:!0,children:(0,t.jsx)(Q.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,J.cn)("flex flex-col gap-2 text-center sm:text-left",e),...n})},"DialogTitle",0,function({className:e,...n}){return(0,t.jsx)(V.Title,{"data-slot":"dialog-title",className:(0,J.cn)("text-lg leading-none font-semibold",e),...n})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(V.Trigger,{"data-slot":"dialog-trigger",...e})}],30374)}]);

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.