PageSourceSearch

https://www.derikn.com/_next/static/immutable/chunks/0j3-8ff8ihls4.js

js derikn.com collected 2026-10-02 01:27:46 UTC 26,991 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,303536,e=>{"use strict";var t=e.i(271645),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0}),o=0,a=null;function i(){t.useEffect(()=>{a||(a={start:c(),end:c()});let{start:e,end:t}=a;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),o++,()=>{1===o&&(a?.start.remove(),a?.end.remove(),a=null),o=Math.max(0,o-1)}},[])}function c(){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 i(),e.children},"FocusGuards"),r(i,"useFocusGuards"),r(c,"createFocusGuard"),e.s(["useFocusGuards",0,i])},765491,e=>{"use strict";var t=e.i(271645),n=e.i(820783),r=e.i(248425),o=e.i(30207),a=e.i(843476),i=Object.defineProperty,c=(e,t)=>i(e,"name",{value:t,configurable:!0}),l="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},d=t.forwardRef(c(function(e,i){let{loop:d=!1,trapped:g=!1,onMountAutoFocus:m,onUnmountAutoFocus:h,...E}=e,[w,x]=t.useState(null),D=(0,o.useCallbackRef)(m),S=(0,o.useCallbackRef)(h),R=t.useRef(null),P=(0,n.useComposedRefs)(i,x),j=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(g){let e=function(e){if(j.paused||!w)return;let t=e.target;w.contains(t)?R.current=t:y(R.current,{select:!0})},t=function(e){if(j.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||y(R.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&y(w)};c(e,"handleFocusIn"),c(t,"handleFocusOut"),c(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return w&&r.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[g,w,j.paused]),t.useEffect(()=>{if(w){b.add(j);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(l,s);w.addEventListener(l,D),w.dispatchEvent(t),t.defaultPrevented||(f(C(v(w)),{select:!0}),document.activeElement===e&&y(w))}return()=>{w.removeEventListener(l,D),setTimeout(()=>{let t=new CustomEvent(u,s);w.addEventListener(u,S),w.dispatchEvent(t),t.defaultPrevented||y(e??document.body,{select:!0}),w.removeEventListener(u,S),b.remove(j)},0)}}},[w,D,S,j]);let k=t.useCallback(e=>{if(!d&&!g||j.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,o]=p(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),d&&y(o,{select:!0})):(e.preventDefault(),d&&y(r,{select:!0})):n===t&&e.preventDefault()}},[d,g,j.paused]);return(0,a.jsx)(r.Primitive.div,{tabIndex:-1,...E,ref:P,onKeyDown:k})},"FocusScope"));function f(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(y(r,{select:t}),document.activeElement!==n)return}function p(e){let t=v(e);return[g(t,e),g(t.reverse(),e)]}function v(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(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 g(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):m(r,{upTo:t})))return r}function m(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 h(e){return e instanceof HTMLInputElement&&"select"in e}function y(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&h(e)&&t&&e.select()}}c(f,"focusFirst"),c(p,"getTabbableEdges"),c(v,"getTabbableCandidates"),c(g,"findVisible"),c(m,"isHidden"),c(h,"isSelectableInput"),c(y,"focus");var b=E();function E(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=w(e,t)).unshift(t)},remove(t){e=w(e,t),e[0]?.resume()}}}function w(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function C(e){return e.filter(e=>"A"!==e.tagName)}c(E,"createFocusScopesStack"),c(w,"arrayRemove"),c(C,"removeLinks"),e.s(["FocusScope",0,d])},186312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,a=function(e){return e&&(e.host||a(e.parentNode))},i=function(e,i,c,l){var u=(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 s=r[c],d=[],f=new Set,p=new Set(u),v=function(e){!e||f.has(e)||(f.add(e),v(e.parentNode))};u.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=(s.get(e)||0)+1;t.set(e,a),s.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=s.get(e)-1;t.set(e,r),s.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]"))),i(r,o,n,"aria-hidden")):function(){return null}}])},985369,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 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 v="u">typeof window?s.useLayoutEffect:s.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=s.forwardRef(function(e,t){var n,r,o,a,i=s.useRef(null),c=s.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),d=c[0],f=c[1],y=e.forwardProps,b=e.children,E=e.className,w=e.removeScrollBar,C=e.enabled,x=e.shards,D=e.sideCar,S=e.noRelative,R=e.noIsolation,P=e.inert,j=e.allowPinchZoom,k=e.as,T=e.gapMode,O=u(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(n=[i,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,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),M=l(l({},O),d);return s.createElement(s.Fragment,null,C&&s.createElement(D,{sideCar:m,removeScrollBar:w,shards:x,noRelative:S,noIsolation:R,inert:P,setCallbacks:f,allowPinchZoom:!!j,lockRef:i,gapMode:T}),y?s.cloneElement(s.Children.only(b),l(l({},M),{ref:N})):s.createElement(void 0===k?"div":k,l({},M,{className:E,ref:N}),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,l({},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=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=E();return function(t,n){s.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}},x={left:0,top:0,right:0,gap:0},D=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[D(n),D(r),D(o)]},R=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return x;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])}},P=C(),j="data-scroll-locked",k=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(j,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(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(j,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},T=function(){var e=parseInt(document.body.getAttribute(j)||"0",10);return isFinite(e)?e:0},O=function(){s.useEffect(function(){return document.body.setAttribute(j,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(j):document.body.setAttribute(j,e.toString())}},[])},N=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;O();var a=s.useMemo(function(){return R(o)},[o]);return s.createElement(P,{styles:k(a,!t,o,n?"":"!important")})},M=!1;if("u">typeof window)try{var A=Object.defineProperty({},"passive",{get:function(){return M=!0,!0}});window.addEventListener("test",A,A),window.removeEventListener("test",A,A)}catch(e){M=!1}
1var F=!!M&&{passive:!1},I=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},L=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),_(e,r)){var o=W(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},_=function(e,t){return"v"===e?I(t,"overflowY"):I(t,"overflowX")},W=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),c=i*r,l=n.target,u=t.contains(l),s=!1,d=c>0,f=0,p=0;do{if(!l)break;var v=W(e,l),g=v[0],m=v[1]-v[2]-i*g;(g||m)&&_(e,l)&&(f+=m,p+=g);var h=l.parentNode;l=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!u&&l!==document.body||u&&(t.contains(l)||t===l))return d&&(o&&1>Math.abs(f)||!o&&c>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-c>p)&&(s=!0),s},K=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},H=function(e){return[e.deltaX,e.deltaY]},z=function(e){return e&&"current"in e?e.current:e},X=0,U=[];let Y=(i=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(X++)[0],a=s.useState(C)[0],i=s.useRef(e);s.useEffect(function(){i.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,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(z),!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=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=K(e),c=n.current,l="deltaX"in e?e.deltaX:c[0]-a[0],u="deltaY"in e?e.deltaY:c[1]-a[1],s=e.target,d=Math.abs(l)>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 v=L(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=L(d,s)),!v)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=o),!o)return!0;var g=r.current||o;return B(g,t,e,"h"===g?l:u,!0)},[]),l=s.useCallback(function(e){if(U.length&&U[U.length-1]===a){var n="deltaY"in e?H(e):K(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(z).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=s.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=s.useCallback(function(e){n.current=K(e),r.current=void 0},[]),f=s.useCallback(function(t){u(t.type,H(t),t.target,c(t,e.lockRef.current))},[]),p=s.useCallback(function(t){u(t.type,K(t),t.target,c(t,e.lockRef.current))},[]);s.useEffect(function(){return U.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,F),document.addEventListener("touchmove",l,F),document.addEventListener("touchstart",d,F),function(){U=U.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,F),document.removeEventListener("touchmove",l,F),document.removeEventListener("touchstart",d,F)}},[]);var v=e.removeScrollBar,g=e.inert;return s.createElement(s.Fragment,null,g?s.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?s.createElement(N,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},m.useMedium(i),b);var G=s.forwardRef(function(e,t){return s.createElement(y,l({},e,{ref:t,sideCar:Y}))});G.classNames=y.classNames,e.s(["RemoveScroll",0,G],985369)},776639,964053,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(179862),o=e.i(560964),a=e.i(271645),i=e.i(981140),c=e.i(820783),l=e.i(30030),u=e.i(610772),s=e.i(369340),d=e.i(726330),f=e.i(765491),p=e.i(774606),v=e.i(296626),g=e.i(248425),m=e.i(303536),h=e.i(934620),y=e.i(985369),b=e.i(186312),E=e.i(991918),w=Object.defineProperty,C=(e,t)=>w(e,"name",{value:t,configurable:!0}),x="Dialog",[D,S]=(0,l.createContextScope)(x),[R,P]=D(x),j=C(e=>{let{__scopeDialog:n,children:r,open:o,defaultOpen:i,onOpenChange:c,modal:l=!0}=e,d=a.useRef(null),f=a.useRef(null),[p,v]=(0,s.useControllableState)({prop:o,defaultProp:i??!1,onChange:c,caller:x}),[g,m]=a.useState(0),[h,y]=a.useState(0);return(0,t.jsx)(R,{scope:n,triggerRef:d,contentRef:f,contentId:(0,u.useId)(),titleId:(0,u.useId)(),descriptionId:(0,u.useId)(),titlePresent:g>0,descriptionPresent:h>0,setTitleCount:m,setDescriptionCount:y,open:p,onOpenChange:v,onOpenToggle:a.useCallback(()=>v(e=>!e),[v]),modal:l,children:r})},"Dialog"),k=a.forwardRef(C(function(e,n){let{__scopeDialog:r,...o}=e,a=P("DialogTrigger",r),l=(0,c.useComposedRefs)(n,a.triggerRef);return(0,t.jsx)(g.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":G(a.open),...o,ref:l,onClick:(0,i.composeEventHandlers)(e.onClick,a.onOpenToggle)})},"DialogTrigger")),T="DialogPortal",[O,N]=D(T,{forceMount:void 0}),M=C(e=>{let{__scopeDialog:n,forceMount:r,children:o,container:i}=e,c=P(T,n);return(0,t.jsx)(O,{scope:n,forceMount:r,children:a.Children.map(o,e=>(0,t.jsx)(v.Presence,{present:r||c.open,children:(0,t.jsx)(p.Portal,{asChild:!0,container:i,children:e})}))})},"DialogPortal"),A="DialogOverlay",F=a.forwardRef(C(function(e,n){let r=N(A,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,i=P(A,e.__scopeDialog);return i.modal?(0,t.jsx)(v.Presence,{present:o||i.open,children:(0,t.jsx)(L,{...a,ref:n})}):null},"DialogOverlay")),I=(0,E.createSlot)("DialogOverlay.RemoveScroll"),L=a.forwardRef(C(function(e,n){let{__scopeDialog:r,...o}=e,a=P(A,r),i=(0,d.useDismissableLayerSurface)(),l=(0,c.useComposedRefs)(n,i);return(0,t.jsx)(y.RemoveScroll,{as:I,allowPinchZoom:!0,shards:[a.contentRef],children:(0,t.jsx)(g.Primitive.div,{"data-state":G(a.open),...o,ref:l,style:{pointerEvents:"auto",...o.style}})})},"DialogOverlayImpl")),_="DialogContent",W=a.forwardRef(C(function(e,n){let r=N(_,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,i=P(_,e.__scopeDialog);return(0,t.jsx)(v.Presence,{present:o||i.open,children:i.modal?(0,t.jsx)(B,{...a,ref:n}):(0,t.jsx)(K,{...a,ref:n})})},"DialogContent")),B=a.forwardRef(C(function(e,n){let r=P(_,e.__scopeDialog),o=a.useRef(null),l=(0,c.useComposedRefs)(n,r.contentRef,o);return a.useEffect(()=>{let e=o.current;if(e)return(0,b.hideOthers)(e)},[]),(0,t.jsx)(H,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:(0,i.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),K=a.forwardRef(C(function(e,n){let r=P(_,e.__scopeDialog),o=a.useRef(!1),i=a.useRef(!1);return(0,t.jsx)(H,{...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")),H=a.forwardRef(C(function(e,n){let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,...c}=e,l=P(_,r);return(0,m.useFocusGuards)(),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(f.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:i,children:(0,t.jsx)(d.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionPresent?l.descriptionId:void 0,"aria-labelledby":l.titlePresent?l.titleId:void 0,"data-state":G(l.open),...c,ref:n,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})},"DialogContentImpl")),z=a.forwardRef(C(function(e,n){let{__scopeDialog:r,...o}=e,a=P("DialogTitle",r),{setTitleCount:i}=a;return(0,h.useLayoutEffect)(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,t.jsx)(g.Primitive.h2,{id:a.titleId,...o,ref:n})},"DialogTitle")),X=a.forwardRef(C(function(e,n){let{__scopeDialog:r,...o}=e,a=P("DialogDescription",r),{setDescriptionCount:i}=a;return(0,h.useLayoutEffect)(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,t.jsx)(g.Primitive.p,{id:a.descriptionId,...o,ref:n})},"DialogDescription")),U=a.forwardRef(C(function(e,n){let{__scopeDialog:r,...o}=e,a=P("DialogClose",r);return(0,t.jsx)(g.Primitive.button,{type:"button",...o,ref:n,onClick:(0,i.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})},"DialogClose")),Y=C(e=>e.children,"WarningProvider");function G(e){return e?"open":"closed"}C(G,"getState"),e.s(["Close",0,U,"Content",0,W,"Description",0,X,"Dialog",0,j,"DialogClose",0,U,"DialogContent",0,W,"DialogDescription",0,X,"DialogOverlay",0,F,"DialogPortal",0,M,"DialogTitle",0,z,"DialogTrigger",0,k,"Overlay",0,F,"Portal",0,M,"Root",0,j,"Title",0,z,"Trigger",0,k,"WarningProvider",0,Y,"createDialogScope",0,S],326999);var V=e.i(326999);e.s(["Dialog",0,V],964053);var V=V,Z=e.i(519455);function q(e){let r,o,a=(0,n.c)(4);return a[0]!==e?({...r}=e,a[0]=e,a[1]=r):r=a[1],a[2]!==r?(o=(0,t.jsx)(V.Portal,{"data-slot":"dialog-portal",...r}),a[2]=r,a[3]=o):o=a[3],o}function J(e){let o,a,i,c,l=(0,n.c)(8);return l[0]!==e?({className:o,...a}=e,l[0]=e,l[1]=o,l[2]=a):(o=l[1],a=l[2]),l[3]!==o?(i=(0,r.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",o),l[3]=o,l[4]=i):i=l[4],l[5]!==a||l[6]!==i?(c=(0,t.jsx)(V.Overlay,{"data-slot":"dialog-overlay",className:i,...a}),l[5]=a,l[6]=i,l[7]=c):c=l[7],c}e.s(["Dialog",0,function(e){let r,o,a=(0,n.c)(4);return a[0]!==e?({...r}=e,a[0]=e,a[1]=r):r=a[1],a[2]!==r?(o=(0,t.jsx)(V.Root,{"data-slot":"dialog",...r}),a[2]=r,a[3]=o):o=a[3],o},"DialogClose",0,function(e){let r,o,a=(0,n.c)(4);return a[0]!==e?({...r}=e,a[0]=e,a[1]=r):r=a[1],a[2]!==r?(o=(0,t.jsx)(V.Close,{"data-slot":"dialog-close",...r}),a[2]=r,a[3]=o):o=a[3],o},"DialogContent",0,function(e){let a,i,c,l,u,s,d,f,p=(0,n.c)(15);p[0]!==e?({className:i,children:a,showCloseButton:l,...c}=e,p[0]=e,p[1]=a,p[2]=i,p[3]=c,p[4]=l):(a=p[1],i=p[2],c=p[3],l=p[4]);let v=void 0===l||l;return p[5]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(J,{}),p[5]=u):u=p[5],p[6]!==i?(s=(0,r.cn)("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
1ded-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",i),p[6]=i,p[7]=s):s=p[7],p[8]!==v?(d=v&&(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)(o.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]}),p[8]=v,p[9]=d):d=p[9],p[10]!==a||p[11]!==c||p[12]!==s||p[13]!==d?(f=(0,t.jsxs)(q,{"data-slot":"dialog-portal",children:[u,(0,t.jsxs)(V.Content,{"data-slot":"dialog-content",className:s,...c,children:[a,d]})]}),p[10]=a,p[11]=c,p[12]=s,p[13]=d,p[14]=f):f=p[14],f},"DialogDescription",0,function(e){let o,a,i,c,l=(0,n.c)(8);return l[0]!==e?({className:o,...a}=e,l[0]=e,l[1]=o,l[2]=a):(o=l[1],a=l[2]),l[3]!==o?(i=(0,r.cn)("text-sm text-muted-foreground",o),l[3]=o,l[4]=i):i=l[4],l[5]!==a||l[6]!==i?(c=(0,t.jsx)(V.Description,{"data-slot":"dialog-description",className:i,...a}),l[5]=a,l[6]=i,l[7]=c):c=l[7],c},"DialogFooter",0,function(e){let o,a,i,c,l,u,s,d=(0,n.c)(14);d[0]!==e?({className:a,showCloseButton:c,children:o,...i}=e,d[0]=e,d[1]=o,d[2]=a,d[3]=i,d[4]=c):(o=d[1],a=d[2],i=d[3],c=d[4]);let f=void 0!==c&&c;return d[5]!==a?(l=(0,r.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),d[5]=a,d[6]=l):l=d[6],d[7]!==f?(u=f&&(0,t.jsx)(V.Close,{asChild:!0,children:(0,t.jsx)(Z.Button,{variant:"outline",children:"Close"})}),d[7]=f,d[8]=u):u=d[8],d[9]!==o||d[10]!==i||d[11]!==l||d[12]!==u?(s=(0,t.jsxs)("div",{"data-slot":"dialog-footer",className:l,...i,children:[o,u]}),d[9]=o,d[10]=i,d[11]=l,d[12]=u,d[13]=s):s=d[13],s},"DialogHeader",0,function(e){let o,a,i,c,l=(0,n.c)(8);return l[0]!==e?({className:o,...a}=e,l[0]=e,l[1]=o,l[2]=a):(o=l[1],a=l[2]),l[3]!==o?(i=(0,r.cn)("flex flex-col gap-2 text-center sm:text-left",o),l[3]=o,l[4]=i):i=l[4],l[5]!==a||l[6]!==i?(c=(0,t.jsx)("div",{"data-slot":"dialog-header",className:i,...a}),l[5]=a,l[6]=i,l[7]=c):c=l[7],c},"DialogOverlay",0,J,"DialogPortal",0,q,"DialogTitle",0,function(e){let o,a,i,c,l=(0,n.c)(8);return l[0]!==e?({className:o,...a}=e,l[0]=e,l[1]=o,l[2]=a):(o=l[1],a=l[2]),l[3]!==o?(i=(0,r.cn)("text-lg leading-none font-semibold",o),l[3]=o,l[4]=i):i=l[4],l[5]!==a||l[6]!==i?(c=(0,t.jsx)(V.Title,{"data-slot":"dialog-title",className:i,...a}),l[5]=a,l[6]=i,l[7]=c):c=l[7],c},"DialogTrigger",0,function(e){let r,o,a=(0,n.c)(4);return a[0]!==e?({...r}=e,a[0]=e,a[1]=r):r=a[1],a[2]!==r?(o=(0,t.jsx)(V.Trigger,{"data-slot":"dialog-trigger",...r}),a[2]=r,a[3]=o):o=a[3],o}],776639)}]);

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.