PageSourceSearch

https://nde-dilan.vercel.app/_next/static/chunks/83-7c3e02f7d9653c2c.js

js nde-dilan.vercel.app collected 2026-10-03 07:22:13 UTC 79,100 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83],{9205:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(2265);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&n.indexOf(e)===t).join(" ")};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:u,className:c="",children:s,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...l,width:o,height:o,stroke:n,strokeWidth:u?24*Number(a)/Number(o):a,className:i("lucide",c),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),u=(e,t)=>{let n=(0,r.forwardRef)((n,l)=>{let{className:u,...c}=n;return(0,r.createElement)(a,{ref:l,iconNode:t,className:i("lucide-".concat(o(e)),u),...c})});return n.displayName="".concat(e),n}},1047:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},407:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},6362:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},9202:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},2489:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},1239:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},7648:function(e,t,n){"use strict";n.d(t,{default:function(){return o.a}});var r=n(2972),o=n.n(r)},9376:function(e,t,n){"use strict";var r=n(5475);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}})},8667:function(e,t,n){"use strict";n.d(t,{default:function(){return o.a}});var r=n(8003),o=n.n(r)},8221:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DOMAttributeNames:function(){return r},default:function(){return l},isEqualNode:function(){return i}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(e){let{type:t,props:n}=e,o=document.createElement(t);for(let e in n){if(!n.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===n[e])continue;let i=r[e]||e.toLowerCase();"script"===t&&("async"===i||"defer"===i||"noModule"===i)?o[i]=!!n[e]:o.setAttribute(i,n[e])}let{children:i,dangerouslySetInnerHTML:l}=n;return l?o.innerHTML=l.__html||"":i&&(o.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):""),o}function i(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){let r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function l(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let n=t[e.type]||[];n.push(e),t[e.type]=n});let r=t.title?t.title[0]:null,o="";if(r){let{children:e}=r.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e
1=>{n(e,t[e]||[])})}}}n=(e,t)=>{let n=document.getElementsByTagName("head")[0],r=n.querySelector("meta[name=next-head-count]"),l=Number(r.content),a=[];for(let t=0,n=r.previousElementSibling;t<l;t++,n=(null==n?void 0:n.previousElementSibling)||null){var u;(null==n?void 0:null==(u=n.tagName)?void 0:u.toLowerCase())===e&&a.push(n)}let c=t.map(o).filter(e=>{for(let t=0,n=a.length;t<n;t++)if(i(a[t],e))return a.splice(t,1),!1;return!0});a.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),c.forEach(e=>n.insertBefore(e,r)),r.content=(l-a.length+c.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8003:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return w},handleClientScriptLoad:function(){return h},initScriptLoader:function(){return y}});let r=n(7043),o=n(3099),i=n(7437),l=r._(n(4887)),a=o._(n(2265)),u=n(8701),c=n(8221),s=n(3515),d=new Map,f=new Set,p=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],v=e=>{if(l.default.preinit){e.forEach(e=>{l.default.preinit(e,{as:"style"})});return}if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}},m=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:o=null,dangerouslySetInnerHTML:i,children:l="",strategy:a="afterInteractive",onError:u,stylesheets:s}=e,m=n||t;if(m&&f.has(m))return;if(d.has(t)){f.add(m),d.get(t).then(r,u);return}let h=()=>{o&&o(),f.add(m)},y=document.createElement("script"),g=new Promise((e,t)=>{y.addEventListener("load",function(t){e(),r&&r.call(this,t),h()}),y.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});for(let[n,r]of(i?(y.innerHTML=i.__html||"",h()):l?(y.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",h()):t&&(y.src=t,d.set(t,g)),Object.entries(e))){if(void 0===r||p.includes(n))continue;let e=c.DOMAttributeNames[n]||n.toLowerCase();y.setAttribute(e,r)}"worker"===a&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",a),s&&v(s),document.body.appendChild(y)};function h(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>m(e))}):m(e)}function y(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function g(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:o=null,strategy:c="afterInteractive",onError:d,stylesheets:p,...v}=e,{updateScripts:h,scripts:y,getIsSsr:g,appDir:w,nonce:b}=(0,a.useContext)(u.HeadManagerContext),x=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||n;x.current||(o&&e&&f.has(e)&&o(),x.current=!0)},[o,t,n]);let E=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{!E.current&&("afterInteractive"===c?m(e):"lazyOnload"===c&&("complete"===document.readyState?(0,s.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>m(e))})),E.current=!0)},[e,c]),("beforeInteractive"===c||"worker"===c)&&(h?(y[c]=(y[c]||[]).concat([{id:t,src:n,onLoad:r,onReady:o,onError:d,...v}]),h(y)):g&&g()?f.add(t||n):g&&!g()&&m(e)),w){if(p&&p.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===c)return n?(l.default.preload(n,v.integrity?{as:"script",integrity:v.integrity,nonce:b,crossOrigin:v.crossOrigin}:{as:"script",nonce:b,crossOrigin:v.crossOrigin}),(0,i.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...v,id:t}])+")"}})):(v.dangerouslySetInnerHTML&&(v.children=v.dangerouslySetInnerHTML.__html,delete v.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+J
1SON.stringify([0,{...v,id:t}])+")"}}));"afterInteractive"===c&&n&&l.default.preload(n,v.integrity?{as:"script",integrity:v.integrity,nonce:b,crossOrigin:v.crossOrigin}:{as:"script",nonce:b,crossOrigin:v.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let w=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4825:function(e){e.exports={style:{fontFamily:"'__Inter_f367f3', '__Inter_Fallback_f367f3'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},4626:function(e,t,n){"use strict";let r;n.d(t,{VY:function(){return rl},ZA:function(){return ra},ck:function(){return ru},Uv:function(){return ri},Ee:function(){return rc},fC:function(){return rr},Tr:function(){return rs},tu:function(){return rf},fF:function(){return rd},xz:function(){return ro}});var o,i,l,a,u,c,s,d,f=n(2265),p=n.t(f,2);function v(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function m(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function h(...e){return t=>{let n=!1,r=e.map(e=>{let r=m(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():m(e[t],null)}}}}var y=n(7437),g=globalThis?.document?f.useLayoutEffect:()=>{},w=p[" useInsertionEffect ".trim().toString()]||g;function b({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,i,l]=function({defaultProp:e,onChange:t}){let[n,r]=f.useState(e),o=f.useRef(n),i=f.useRef(t);return w(()=>{i.current=t},[t]),f.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}({defaultProp:t,onChange:n}),a=void 0!==e,u=a?e:o;{let t=f.useRef(void 0!==e);f.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${r} 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.`)}t.current=a},[a,r])}return[u,f.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else i(t)},[a,e,i,l])]}Symbol("RADIX:SYNC_STATE");var x=n(4887),E=Symbol("radix.slottable");function C(e){return f.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===E}var R=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e,o;let i=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==f.Fragment&&(l.ref=t?h(t,i):i),f.cloneElement(n,l)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=f.forwardRef((e,n)=>{let{children:r,...o}=e,i=f.Children.toArray(r),l=i.find(C);if(l){let e=l.props.children,r=i.map(t=>t!==l?t:f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null);return(0,y.jsx)(t,{...o,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,y.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=f.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,y.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function S(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function M(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function N(...e){return t=>{let n=!1,r=e.map(e=>{let r=M(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():M(e[t],null)}}}}function _(...e){return f.useCallback(N(...e),e)}function j(e){let t=function(e){let t=f.forwardRef((e,t)=>
1{let{children:n,...r}=e;if(f.isValidElement(n)){let e,o;let i=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==f.Fragment&&(l.ref=t?N(t,i):i),f.cloneElement(n,l)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=f.forwardRef((e,n)=>{let{children:r,...o}=e,i=f.Children.toArray(r),l=i.find(O);if(l){let e=l.props.children,r=i.map(t=>t!==l?t:f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null);return(0,y.jsx)(t,{...o,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,y.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var A=Symbol("radix.slottable");function O(e){return f.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===A}function P(e){let t=e+"CollectionProvider",[n,r]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>f.createContext(e));return function(n){let r=n?.[e]||t;return f.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=f.createContext(r),i=n.length;n=[...n,r];let l=t=>{let{scope:n,children:r,...l}=t,a=n?.[e]?.[i]||o,u=f.useMemo(()=>l,Object.values(l));return(0,y.jsx)(a.Provider,{value:u,children:r})};return l.displayName=t+"Provider",[l,function(n,l){let a=l?.[e]?.[i]||o,u=f.useContext(a);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:n}=e,r=f.useRef(null),i=f.useRef(new Map).current;return(0,y.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})};l.displayName=t;let a=e+"CollectionSlot",u=j(a),c=f.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=_(t,i(a,n).collectionRef);return(0,y.jsx)(u,{ref:o,children:r})});c.displayName=a;let s=e+"CollectionItemSlot",d="data-radix-collection-item",p=j(s),v=f.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,l=f.useRef(null),a=_(t,l),u=i(s,n);return f.useEffect(()=>(u.itemMap.set(l,{ref:l,...o}),()=>void u.itemMap.delete(l))),(0,y.jsx)(p,{[d]:"",ref:a,children:r})});return v.displayName=s,[{Provider:l,Slot:c,ItemSlot:v},function(t){let n=i(e+"CollectionConsumer",t);return f.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(d,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}function k(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function I(...e){return t=>{let n=!1,r=e.map(e=>{let r=k(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():k(e[t],null)}}}}function D(...e){return f.useCallback(I(...e),e)}function T(e,t=[]){let n=[],r=()=>{let t=n.map(e=>f.createContext(e));return function(n){let r=n?.[e]||t;return f.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=f.createContext(r),i=n.length;n=[...n,r];let l=t=>{let{scope:n,children:r,...l}=t,a=n?.[e]?.[i]||o,u=f.useMemo(()=>l,Object.values(l));return(0,y.jsx)(a.Provider,{value:u,children:r})};return l.displayName=t+"Provider",[l,function(n,l){let a=l?.[e]?.[i]||o,u=f.useContext(a);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}var L=f.createContext(void 0);function F(e){let t=f.useContext(L);return e||t||"ltr"}function W(e){let t=function(e){let t=f.forwardRef((e,t)=>
1{let{children:n,...r}=e;if(f.isValidElement(n)){let e,o;let i=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==f.Fragment&&(l.ref=t?I(t,i):i),f.cloneElement(n,l)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=f.forwardRef((e,n)=>{let{children:r,...o}=e,i=f.Children.toArray(r),l=i.find(B);if(l){let e=l.props.children,r=i.map(t=>t!==l?t:f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null);return(0,y.jsx)(t,{...o,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,y.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var $=Symbol("radix.slottable");function B(e){return f.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===$}var K=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=W(`Primitive.${t}`),r=f.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,y.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function V(e,t){e&&x.flushSync(()=>e.dispatchEvent(t))}function H(e){let t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...e)=>t.current?.(...e),[])}var U="dismissableLayer.update",Z=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),z=f.forwardRef((e,t)=>{var n,r;let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:a,onInteractOutside:u,onDismiss:c,...d}=e,p=f.useContext(Z),[v,m]=f.useState(null),h=null!==(r=null==v?void 0:v.ownerDocument)&&void 0!==r?r:null===(n=globalThis)||void 0===n?void 0:n.document,[,g]=f.useState({}),w=D(t,e=>m(e)),b=Array.from(p.layers),[x]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),E=b.indexOf(x),C=v?b.indexOf(v):-1,R=p.layersWithOutsidePointerEventsDisabled.size>0,M=C>=E,N=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=H(e),o=f.useRef(!1),i=f.useRef(()=>{});return f.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){X("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...p.branches].some(e=>e.contains(t));!M||n||(null==l||l(e),null==u||u(e),e.defaultPrevented||null==c||c())},h),_=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=H(e),o=f.useRef(!1);return f.useEffect(()=>{let e=e=>{e.target&&!o.current&&X("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...p.branches].some(e=>e.contains(t))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==c||c())},h);return!function(e,t=globalThis?.document){let n=H(e);f.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{C!==p.layers.size-1||(null==i||i(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},h),f.useEffect(()=>{if(v)return o&&(0===p.layersWithOutsidePointerEventsDisabled.size&&(s=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(v)),p.layers.add(v),q(),()=>{o&&1===p.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=s)}},[v,h,o,p]),f.useEffect(()=>()=>{v&&(p.layers.delete(v),p.layersWithOutsidePointerEventsDisabled.delete(v),q())},[v,p]),f.useEffect(()=>{let e=()=>g({});return document.addEventListener(U,e),()=>document.removeEventListener(U,e)},[]),(0,y.jsx)(K.div,{...d,ref:w,style:{pointerEvents:R?M?"auto":"none":void 0,...e.style},onFocusCapture:S(e.onFocusCapture,_.onFocusCapture),onBlurCapture:S(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:S(e.onPointerDownCapture,N.onPointerDownCapture)})});function q(){let e=new CustomEvent(U);document.dispatchEvent(e)}function X(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?V(i,l):i.dispatchEvent(l)}z.displayName="DismissableLayer",f.forwardRef((e,t)=>
1{let n=f.useContext(Z),r=f.useRef(null),o=D(t,r);return f.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,y.jsx)(K.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var Y=0;function G(){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}function J(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function Q(...e){return t=>{let n=!1,r=e.map(e=>{let r=J(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():J(e[t],null)}}}}var ee=Symbol("radix.slottable");function et(e){return f.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===ee}var en=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e,o;let i=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==f.Fragment&&(l.ref=t?Q(t,i):i),f.cloneElement(n,l)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=f.forwardRef((e,n)=>{let{children:r,...o}=e,i=f.Children.toArray(r),l=i.find(et);if(l){let e=l.props.children,r=i.map(t=>t!==l?t:f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null);return(0,y.jsx)(t,{...o,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,y.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=f.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,y.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function er(e){let t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...e)=>t.current?.(...e),[])}var eo="focusScope.autoFocusOnMount",ei="focusScope.autoFocusOnUnmount",el={bubbles:!1,cancelable:!0},ea=f.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...l}=e,[a,u]=f.useState(null),c=er(o),s=er(i),d=f.useRef(null),p=function(...e){return f.useCallback(Q(...e),e)}(t,e=>u(e)),v=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let e=function(e){if(v.paused||!a)return;let t=e.target;a.contains(t)?d.current=t:es(d.current,{select:!0})},t=function(e){if(v.paused||!a)return;let t=e.relatedTarget;null===t||a.contains(t)||es(d.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&&es(a)});return a&&n.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,a,v.paused]),f.useEffect(()=>{if(a){ed.add(v);let e=document.activeElement;if(!a.contains(e)){let t=new CustomEvent(eo,el);a.addEventListener(eo,c),a.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(es(r,{select:t}),document.activeElement!==n)return}(eu(a).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&es(a))}return()=>{a.removeEventListener(eo,c),setTimeout(()=>{let t=new CustomEvent(ei,el);a.addEventListener(ei,s),a.dispatchEvent(t),t.defaultPrevented||es(null!=e?e:document.body,{select:!0}),a.removeEventListener(ei,s),ed.remove(v)},0)}}},[a,c,s,v]);let m=f.useCallback(e=>{if(!n&&!r||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=eu(e);return[ec(t,e),ec(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&es(i,{select:!0})):(e.preventDefault(),n&&es(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,v.paused]);return(0,y.jsx)(en.div,{tabIndex:-1,...l,ref:p,onKeyDown:m})});function eu(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 ec(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function es(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[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()}}ea.displayName="FocusScope";var ed=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=ef(r,e)).unshift(e)},remove(e){var t;null===(t=(r=ef(r,e))[0])||void 0===t||t.resume()}});function ef(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var ep=globalThis?.document?f.useLayoutEffect:()=>{},ev=p[" useId ".trim().toString()]||(()=>void 0),em=0;function eh(e){let[t,n]=f.useState(ev());return ep(()=>{e||n(e=>e??String(em++))},[e]),e||(t?`radix-${t}`:"")}var ey=n(7859),eg=n(32),ew=f.forwardRef((e,t)=>
1{let{children:n,width:r=10,height:o=5,...i}=e;return(0,y.jsx)(K.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,y.jsx)("polygon",{points:"0,0 30,0 15,10"})})});ew.displayName="Arrow";var eb="Popper",[ex,eE]=T(eb),[eC,eR]=ex(eb),eS=e=>{let{__scopePopper:t,children:n}=e,[r,o]=f.useState(null);return(0,y.jsx)(eC,{scope:t,anchor:r,onAnchorChange:o,children:n})};eS.displayName=eb;var eM="PopperAnchor",eN=f.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=eR(eM,n),l=f.useRef(null),a=D(t,l);return f.useEffect(()=>{i.onAnchorChange((null==r?void 0:r.current)||l.current)}),r?null:(0,y.jsx)(K.div,{...o,ref:a})});eN.displayName=eM;var e_="PopperContent",[ej,eA]=ex(e_),eO=f.forwardRef((e,t)=>{var n,r,o,i,l,a,u,c;let{__scopePopper:s,side:d="bottom",sideOffset:p=0,align:v="center",alignOffset:m=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:w=[],collisionPadding:b=0,sticky:x="partial",hideWhenDetached:E=!1,updatePositionStrategy:C="optimized",onPlaced:R,...S}=e,M=eR(e_,s),[N,_]=f.useState(null),j=D(t,e=>_(e)),[A,O]=f.useState(null),P=function(e){let[t,n]=f.useState(void 0);return ep(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(A),k=null!==(u=null==P?void 0:P.width)&&void 0!==u?u:0,I=null!==(c=null==P?void 0:P.height)&&void 0!==c?c:0,T="number"==typeof b?b:{top:0,right:0,bottom:0,left:0,...b},L=Array.isArray(w)?w:[w],F=L.length>0,W={padding:T,boundary:L.filter(eD),altBoundary:F},{refs:$,floatingStyles:B,placement:V,isPositioned:U,middlewareData:Z}=(0,ey.YF)({strategy:"fixed",placement:d+("center"!==v?"-"+v:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,eg.Me)(...t,{animationFrame:"always"===C})},elements:{reference:M.anchor},middleware:[(0,ey.cv)({mainAxis:p+I,alignmentAxis:m}),g&&(0,ey.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===x?(0,ey.dr)():void 0,...W}),g&&(0,ey.RR)({...W}),(0,ey.dp)({...W,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),A&&(0,ey.x7)({element:A,padding:h}),eT({arrowWidth:k,arrowHeight:I}),E&&(0,ey.Cp)({strategy:"referenceHidden",...W})]}),[z,q]=eL(V),X=H(R);ep(()=>{U&&(null==X||X())},[U,X]);let Y=null===(n=Z.arrow)||void 0===n?void 0:n.x,G=null===(r=Z.arrow)||void 0===r?void 0:r.y,J=(null===(o=Z.arrow)||void 0===o?void 0:o.centerOffset)!==0,[Q,ee]=f.useState();return ep(()=>{N&&ee(window.getComputedStyle(N).zIndex)},[N]),(0,y.jsx)("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:U?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[null===(i=Z.transformOrigin)||void 0===i?void 0:i.x,null===(l=Z.transformOrigin)||void 0===l?void 0:l.y].join(" "),...(null===(a=Z.hide)||void 0===a?void 0:a.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,y.jsx)(ej,{scope:s,placedSide:z,onArrowChange:O,arrowX:Y,arrowY:G,shouldHideArrow:J,children:(0,y.jsx)(K.div,{"data-side":z,"data-align":q,...S,ref:j,style:{...S.style,animation:U?void 0:"none"}})})})});eO.displayName=e_;var eP="PopperArrow",ek={top:"bottom",right:"left",bottom:"top",left:"right"},eI=f.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eA(eP,n),i=ek[o.placedSide];return(0,y.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,y.jsx)(ew,{...r,ref:t,style:{...r.style,display:"block"}})})});function eD(e){return null!==e}eI.displayName=eP;var eT=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:c}=t,s=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=s?0:e.arrowWidth,f=s?0:e.arrowHeight,[p,v]=eL(a),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!==(i=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+d/2,y=(null!==(l=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==l?l:0)+f/2,g="",w="";return"bottom"===p?(g=s?m:"".concat(h,"px"),w="".concat(-f,"px")):"top"===p?(g=s?m:"".concat(h,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),w=s?m:"".concat(y,"px")):"left"===p&&(g="".concat(u.floating.width+f,"px"),w=s?m:"".concat(y,"px")),{data:{x:g,y:w}}}});function eL(e){let[t,n="center"]=e.split("-");return[t,n]}var eF=f.forwardRef((e,t)=>
1{var n,r;let{container:o,...i}=e,[l,a]=f.useState(!1);ep(()=>a(!0),[]);let u=o||l&&(null===(r=globalThis)||void 0===r?void 0:null===(n=r.document)||void 0===n?void 0:n.body);return u?x.createPortal((0,y.jsx)(K.div,{...i,ref:t}),u):null});eF.displayName="Portal";var eW=e=>{var t,n;let r,o;let{present:i,children:l}=e,a=function(e){var t,n;let[r,o]=f.useState(),i=f.useRef(null),l=f.useRef(e),a=f.useRef("none"),[u,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},f.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return f.useEffect(()=>{let e=e$(i.current);a.current="mounted"===u?e:"none"},[u]),ep(()=>{let t=i.current,n=l.current;if(n!==e){let r=a.current,o=e$(t);e?c("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):n&&r!==o?c("ANIMATION_OUT"):c("UNMOUNT"),l.current=e}},[e,c]),ep(()=>{if(r){var e;let t;let n=null!==(e=r.ownerDocument.defaultView)&&void 0!==e?e:window,o=e=>{let o=e$(i.current).includes(e.animationName);if(e.target===r&&o&&(c("ANIMATION_END"),!l.current)){let e=r.style.animationFillMode;r.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=e)})}},u=e=>{e.target===r&&(a.current=e$(i.current))};return r.addEventListener("animationstart",u),r.addEventListener("animationcancel",o),r.addEventListener("animationend",o),()=>{n.clearTimeout(t),r.removeEventListener("animationstart",u),r.removeEventListener("animationcancel",o),r.removeEventListener("animationend",o)}}c("ANIMATION_END")},[r,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:f.useCallback(e=>{i.current=e?getComputedStyle(e):null,o(e)},[])}}(i),u="function"==typeof l?l({present:a.isPresent}):f.Children.only(l),c=D(a.ref,(r=null===(t=Object.getOwnPropertyDescriptor(u.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in r&&r.isReactWarning?u.ref:(r=null===(n=Object.getOwnPropertyDescriptor(u,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning?u.props.ref:u.props.ref||u.ref);return"function"==typeof l||a.isPresent?f.cloneElement(u,{ref:c}):null};function e$(e){return(null==e?void 0:e.animationName)||"none"}function eB(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function eK(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function eV(...e){return t=>{let n=!1,r=e.map(e=>{let r=eK(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():eK(e[t],null)}}}}eW.displayName="Presence";var eH=globalThis?.document?f.useLayoutEffect:()=>{},eU=p[" useId ".trim().toString()]||(()=>void 0),eZ=0,ez=Symbol("radix.slottable");function eq(e){return f.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===ez}var eX=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e,o;let i=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==f.Fragment&&(l.ref=t?eV(t,i):i),f.cloneElement(n,l)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=f.forwardRef((e,n)=>{let{children:r,...o}=e,i=f.Children.toArray(r),l=i.find(eq);if(l){let e=l.props.children,r=i.map(t=>t!==l?t:f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null);return(0,y.jsx)(t,{...o,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,y.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=f.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,y.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),eY=p[" useInsertionEffect ".trim().toString()]||eH;Symbol("RADIX:SYNC_STATE");var eG="rovingFocusGroup.onEntryFocus",eJ={bubbles:!1,cancelable:!0},eQ="RovingFocusGroup",[e0,e1,e2]=P(eQ),[e5,e3]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>f.createContext(e));return function(n){let r=n?.[e]||t;return f.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=f.createContext(r),i=n.length;n=[...n,r];let l=t=>{let{scope:n,children:r,...l}=t,a=n?.[e]?.[i]||o,u=f.useMemo(()=>l,Object.values(l));return(0,y.jsx)(a.Provider,{value:u,children:r})};return l.displayName=t+"Provider",[l,function(n,l){let a=l?.[e]?.[i]||o,u=f.useContext(a);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(eQ,[e2]),[e6,e4]=e5(eQ),e8=f.forwardRef((e,t)=>
1(0,y.jsx)(e0.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(e0.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(e9,{...e,ref:t})})}));e8.displayName=eQ;var e9=f.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:u,onEntryFocus:c,preventScrollOnEntryFocus:s=!1,...d}=e,p=f.useRef(null),v=function(...e){return f.useCallback(eV(...e),e)}(t,p),m=F(i),[h,g]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,i,l]=function({defaultProp:e,onChange:t}){let[n,r]=f.useState(e),o=f.useRef(n),i=f.useRef(t);return eY(()=>{i.current=t},[t]),f.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}({defaultProp:t,onChange:n}),a=void 0!==e,u=a?e:o;{let t=f.useRef(void 0!==e);f.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${r} 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.`)}t.current=a},[a,r])}return[u,f.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else i(t)},[a,e,i,l])]}({prop:l,defaultProp:null!=a?a:null,onChange:u,caller:eQ}),[w,b]=f.useState(!1),x=function(e){let t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...e)=>t.current?.(...e),[])}(c),E=e1(n),C=f.useRef(!1),[R,S]=f.useState(0);return f.useEffect(()=>{let e=p.current;if(e)return e.addEventListener(eG,x),()=>e.removeEventListener(eG,x)},[x]),(0,y.jsx)(e6,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:h,onItemFocus:f.useCallback(e=>g(e),[g]),onItemShiftTab:f.useCallback(()=>b(!0),[]),onFocusableItemAdd:f.useCallback(()=>S(e=>e+1),[]),onFocusableItemRemove:f.useCallback(()=>S(e=>e-1),[]),children:(0,y.jsx)(eX.div,{tabIndex:w||0===R?-1:0,"data-orientation":r,...d,ref:v,style:{outline:"none",...e.style},onMouseDown:eB(e.onMouseDown,()=>{C.current=!0}),onFocus:eB(e.onFocus,e=>{let t=!C.current;if(e.target===e.currentTarget&&t&&!w){let t=new CustomEvent(eG,eJ);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=E().filter(e=>e.focusable);tn([e.find(e=>e.active),e.find(e=>e.id===h),...e].filter(Boolean).map(e=>e.ref.current),s)}}C.current=!1}),onBlur:eB(e.onBlur,()=>b(!1))})})}),e7="RovingFocusGroupItem",te=f.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,children:l,...a}=e,u=function(e){let[t,n]=f.useState(eU());return eH(()=>{n(e=>e??String(eZ++))},[void 0]),t?`radix-${t}`:""}(),c=i||u,s=e4(e7,n),d=s.currentTabStopId===c,p=e1(n),{onFocusableItemAdd:v,onFocusableItemRemove:m,currentTabStopId:h}=s;return f.useEffect(()=>{if(r)return v(),()=>m()},[r,v,m]),(0,y.jsx)(e0.ItemSlot,{scope:n,id:c,focusable:r,active:o,children:(0,y.jsx)(eX.span,{tabIndex:d?0:-1,"data-orientation":s.orientation,...a,ref:t,onMouseDown:eB(e.onMouseDown,e=>{r?s.onItemFocus(c):e.preventDefault()}),onFocus:eB(e.onFocus,()=>s.onItemFocus(c)),onKeyDown:eB(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){s.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return tt[o]}(e,s.orientation,s.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=p().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=s.loop?(n=o,r=i+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(i+1)}setTimeout(()=>tn(o))}}),children:"function"==typeof l?l({isCurrentTabStop:d,hasTabStop:null!=h}):l})})});te.displayName=e7;var tt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tn(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var tr=new WeakMap,to=new WeakMap,ti={},tl=0,ta=function(e){return e&&(e.host||ta(e.parentNode))},tu=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=ta(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});ti[n]||(ti[n]=new WeakMap);var i=ti[n],l=[],a=new Set,u=new Set(o),c=function(e){!e||a.has(e)||(a.add(e),c(e.parentNode))};o.forEach(c);var s=function(e){!e||u.has(e)||Array.prototype.forEach.call(e.children,function(e){if(a.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,u=(tr.get(e)||0)+1,c=(i.get(e)||0)+1;tr.set(e,u),i.set(e,c),l.push(e),1===u&&o&&to.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return s(t),a.clear(),tl++,function(){l.forEach(function(e){var t=tr.get(e)-1,o=i.get(e)-1;tr.set(e,t),i.set(e,o),t||(to.has(e)||e.removeAttribute(r),to.delete(e)),o||e.removeAttribute(n)}),--tl||(tr=new WeakMap,tr=new WeakMap,to=new WeakMap,ti={})}},tc=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),tu(r,o,n,"aria-hidden")):function(){return null}},ts=function(){return(ts=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 td(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}"function"==typeof SuppressedError&&SuppressedError;var tf="right-scroll-bar-position",tp="width-before-scroll-bar";function tv(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tm="undefined"!=typeof window?f.useLayoutEffect:f.useEffect,th=new WeakMap,ty=(void 0===o&&(o={}),(void 0===i&&(i=function(e){return e}),l=[],a=!1,u={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return l.length?l[l.length-1]:null},useMedium:function(e){var t=i(e,a);return l.push(t),function(){l=l.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(a=!0;l.length;){var t=l;l=[],t.forEach(e)}l={push:function(t){return e(t)},filter:function(){return l}}},assignMedium:function(e){a=!0;var t=[];if(l.length){var n=l;
1l=[],n.forEach(e),t=l}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),l={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),l}}}}).options=ts({async:!0,ssr:!1},o),u),tg=function(){},tw=f.forwardRef(function(e,t){var n,r,o,i,l=f.useRef(null),a=f.useState({onScrollCapture:tg,onWheelCapture:tg,onTouchMoveCapture:tg}),u=a[0],c=a[1],s=e.forwardProps,d=e.children,p=e.className,v=e.removeScrollBar,m=e.enabled,h=e.shards,y=e.sideCar,g=e.noRelative,w=e.noIsolation,b=e.inert,x=e.allowPinchZoom,E=e.as,C=e.gapMode,R=td(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=(n=[l,t],r=function(e){return n.forEach(function(t){return tv(t,e)})},(o=(0,f.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,tm(function(){var e=th.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||tv(e,null)}),r.forEach(function(e){t.has(e)||tv(e,o)})}th.set(i,n)},[n]),i),M=ts(ts({},R),u);return f.createElement(f.Fragment,null,m&&f.createElement(y,{sideCar:ty,removeScrollBar:v,shards:h,noRelative:g,noIsolation:w,inert:b,setCallbacks:c,allowPinchZoom:!!x,lockRef:l,gapMode:C}),s?f.cloneElement(f.Children.only(d),ts(ts({},M),{ref:S})):f.createElement(void 0===E?"div":E,ts({},M,{className:p,ref:S}),d))});tw.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tw.classNames={fullWidth:tp,zeroRight:tf};var tb=function(e){var t=e.sideCar,n=td(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 f.createElement(r,ts({},n))};tb.isSideCarExport=!0;var tx=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=d||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tE=function(){var e=tx();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},tC=function(){var e=tE();return function(t){return e(t.styles,t.dynamic),null}},tR={left:0,top:0,right:0,gap:0},tS=function(e){return parseInt(e||"",10)||0},tM=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[tS(n),tS(r),tS(o)]},tN=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return tR;var t=tM(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])}},t_=tC(),tj="data-scroll-locked",tA=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(a,"px ").concat(r,";\n  }\n  body[").concat(tj,"] {\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(l,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(a,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(tf," {\n    right: ").concat(a,"px ").concat(r,";\n  }\n  \n  .").concat(tp," {\n    margin-right: ").concat(a,"px ").concat(r,";\n  }\n  \n  .").concat(tf," .").concat(tf," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(tp," .").concat(tp," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(tj,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n  }\n")},tO=function(){var e=parseInt(document.body.getAttribute(tj)||"0",10);return isFinite(e)?e:0},tP=function(){f.useEffect(function(){return document.body.setAttribute(tj,(tO()+1).toString()),function(){var e=tO()-1;e<=0?document.body.removeAttribute(tj):document.body.setAttribute(tj,e.toString())}},[])},tk=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;tP();var i=f.useMemo(function(){return tN(o)},[o]);return f.createElement(t_,{styles:tA(i,!t,o,n?"":"!important")})},tI=!1;if("undefined"!=typeof window)try{var tD=Object.defineProperty({},"passive",{get:function(){return tI=!0,!0}});window.addEventListener("test",tD,tD),window.removeEventListener("test",tD,tD)}catch(e){tI=!1}var tT=!!tI&&{passive:!1},tL=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])},tF=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),tW(e,r)){var o=t$(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},tW=function(e,t){return"v"===e?tL(t,"overflowY"):tL(t,"overflowX")},t$=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},tB=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,c=t.contains(u),s=!1,d=a>0,f=0,p=0;
1do{if(!u)break;var v=t$(e,u),m=v[0],h=v[1]-v[2]-l*m;(m||h)&&tW(e,u)&&(f+=h,p+=m);var y=u.parentNode;u=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&a>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-a>p)&&(s=!0),s},tK=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tV=function(e){return[e.deltaX,e.deltaY]},tH=function(e){return e&&"current"in e?e.current:e},tU=0,tZ=[],tz=(c=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(tU++)[0],i=f.useState(tC)[0],l=f.useRef(e);f.useEffect(function(){l.current=e},[e]),f.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(tH),!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 a=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,i=tK(e),a=n.current,u="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],s=e.target,d=Math.abs(u)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=tF(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=tF(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||c)&&(r.current=o),!o)return!0;var p=r.current||o;return tB(p,t,e,"h"===p?u:c,!0)},[]),u=f.useCallback(function(e){if(tZ.length&&tZ[tZ.length-1]===i){var n="deltaY"in e?tV(e):tK(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)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(l.current.shards||[]).map(tH).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?a(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=f.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)},[]),s=f.useCallback(function(e){n.current=tK(e),r.current=void 0},[]),d=f.useCallback(function(t){c(t.type,tV(t),t.target,a(t,e.lockRef.current))},[]),p=f.useCallback(function(t){c(t.type,tK(t),t.target,a(t,e.lockRef.current))},[]);f.useEffect(function(){return tZ.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,tT),document.addEventListener("touchmove",u,tT),document.addEventListener("touchstart",s,tT),function(){tZ=tZ.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,tT),document.removeEventListener("touchmove",u,tT),document.removeEventListener("touchstart",s,tT)}},[]);var v=e.removeScrollBar,m=e.inert;return f.createElement(f.Fragment,null,m?f.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?f.createElement(tk,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},ty.useMedium(c),tb),tq=f.forwardRef(function(e,t){return f.createElement(tw,ts({},e,{ref:t,sideCar:tz}))});tq.classNames=tw.classNames;var tX=["Enter"," "],tY=["ArrowUp","PageDown","End"],tG=["ArrowDown","PageUp","Home",...tY],tJ={ltr:[...tX,"ArrowRight"],rtl:[...tX,"ArrowLeft"]},tQ={ltr:["ArrowLeft"],rtl:["ArrowRight"]},t0="Menu",[t1,t2,t5]=P(t0),[t3,t6]=T(t0,[t5,eE,e3]),t4=eE(),t8=e3(),[t9,t7]=t3(t0),[ne,nt]=t3(t0),nn=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:l=!0}=e,a=t4(t),[u,c]=f.useState(null),s=f.useRef(!1),d=H(i),p=F(o);return f.useEffect(()=>{let e=()=>{s.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>s.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,y.jsx)(eS,{...a,children:(0,y.jsx)(t9,{scope:t,open:n,onOpenChange:d,content:u,onContentChange:c,children:(0,y.jsx)(ne,{scope:t,onClose:f.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:s,dir:p,modal:l,children:r})})})};nn.displayName=t0;var nr=f.forwardRef((e,t)=>
1{let{__scopeMenu:n,...r}=e,o=t4(n);return(0,y.jsx)(eN,{...o,...r,ref:t})});nr.displayName="MenuAnchor";var no="MenuPortal",[ni,nl]=t3(no,{forceMount:void 0}),na=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=t7(no,t);return(0,y.jsx)(ni,{scope:t,forceMount:n,children:(0,y.jsx)(eW,{present:n||i.open,children:(0,y.jsx)(eF,{asChild:!0,container:o,children:r})})})};na.displayName=no;var nu="MenuContent",[nc,ns]=t3(nu),nd=f.forwardRef((e,t)=>{let n=nl(nu,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=t7(nu,e.__scopeMenu),l=nt(nu,e.__scopeMenu);return(0,y.jsx)(t1.Provider,{scope:e.__scopeMenu,children:(0,y.jsx)(eW,{present:r||i.open,children:(0,y.jsx)(t1.Slot,{scope:e.__scopeMenu,children:l.modal?(0,y.jsx)(nf,{...o,ref:t}):(0,y.jsx)(np,{...o,ref:t})})})})}),nf=f.forwardRef((e,t)=>{let n=t7(nu,e.__scopeMenu),r=f.useRef(null),o=D(t,r);return f.useEffect(()=>{let e=r.current;if(e)return tc(e)},[]),(0,y.jsx)(nm,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:S(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),np=f.forwardRef((e,t)=>{let n=t7(nu,e.__scopeMenu);return(0,y.jsx)(nm,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),nv=W("MenuContent.ScrollLock"),nm=f.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:a,onEntryFocus:u,onEscapeKeyDown:c,onPointerDownOutside:s,onFocusOutside:d,onInteractOutside:p,onDismiss:v,disableOutsideScroll:m,...h}=e,g=t7(nu,n),w=nt(nu,n),b=t4(n),x=t8(n),E=t2(n),[C,R]=f.useState(null),M=f.useRef(null),N=D(t,M,g.onContentChange),_=f.useRef(0),j=f.useRef(""),A=f.useRef(0),O=f.useRef(null),P=f.useRef("right"),k=f.useRef(0),I=m?tq:f.Fragment,T=e=>{var t,n;let r=j.current+e,o=E().filter(e=>!e.disabled),i=document.activeElement,l=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,a=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let l=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}(o.map(e=>e.textValue),r,l),u=null===(n=o.find(e=>e.textValue===a))||void 0===n?void 0:n.ref.current;!function e(t){j.current=t,window.clearTimeout(_.current),""!==t&&(_.current=window.setTimeout(()=>e(""),1e3))}(r),u&&setTimeout(()=>u.focus())};f.useEffect(()=>()=>window.clearTimeout(_.current),[]),f.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:G()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:G()),Y++,()=>{1===Y&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Y--}},[]);let L=f.useCallback(e=>{var t,n,r;return P.current===(null===(t=O.current)||void 0===t?void 0:t.side)&&!!(r=null===(n=O.current)||void 0===n?void 0:n.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let l=t[e],a=t[i],u=l.x,c=l.y,s=a.x,d=a.y;c>r!=d>r&&n<(s-u)*(r-c)/(d-c)+u&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)},[]);return(0,y.jsx)(nc,{scope:n,searchRef:j,onItemEnter:f.useCallback(e=>{L(e)&&e.preventDefault()},[L]),onItemLeave:f.useCallback(e=>{var t;L(e)||(null===(t=M.current)||void 0===t||t.focus(),R(null))},[L]),onTriggerLeave:f.useCallback(e=>{L(e)&&e.preventDefault()},[L]),pointerGraceTimerRef:A,onPointerGraceIntentChange:f.useCallback(e=>{O.current=e},[]),children:(0,y.jsx)(I,{...m?{as:nv,allowPinchZoom:!0}:void 0,children:(0,y.jsx)(ea,{asChild:!0,trapped:o,onMountAutoFocus:S(i,e=>{var t;e.preventDefault(),null===(t=M.current)||void 0===t||t.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:(0,y.jsx)(z,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:s,onFocusOutside:d,onInteractOutside:p,onDismiss:v,children:(0,y.jsx)(e8,{asChild:!0,...x,dir:w.dir,orientation:"vertical",loop:r,currentTabStopId:C,onCurrentTabStopIdChange:R,onEntryFocus:S(u,e=>{w.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,y.jsx)(eO,{role:"menu","aria-orientation":"vertical","data-state":nV(g.open),"data-radix-menu-content":"",dir:w.dir,...b,...h,ref:N,style:{outline:"none",...h.style},onKeyDown:S(h.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.ke
1y.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&T(e.key));let o=M.current;if(e.target!==o||!tG.includes(e.key))return;e.preventDefault();let i=E().filter(e=>!e.disabled).map(e=>e.ref.current);tY.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)}),onBlur:S(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(_.current),j.current="")}),onPointerMove:S(e.onPointerMove,nZ(e=>{let t=e.target,n=k.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>k.current?"right":"left";P.current=t,k.current=e.clientX}}))})})})})})})});nd.displayName=nu;var nh=f.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,y.jsx)(K.div,{role:"group",...r,ref:t})});nh.displayName="MenuGroup";var ny=f.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,y.jsx)(K.div,{...r,ref:t})});ny.displayName="MenuLabel";var ng="MenuItem",nw="menu.itemSelect",nb=f.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...o}=e,i=f.useRef(null),l=nt(ng,e.__scopeMenu),a=ns(ng,e.__scopeMenu),u=D(t,i),c=f.useRef(!1);return(0,y.jsx)(nx,{...o,ref:u,disabled:n,onClick:S(e.onClick,()=>{let e=i.current;if(!n&&e){let t=new CustomEvent(nw,{bubbles:!0,cancelable:!0});e.addEventListener(nw,e=>null==r?void 0:r(e),{once:!0}),V(e,t),t.defaultPrevented?c.current=!1:l.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),c.current=!0},onPointerUp:S(e.onPointerUp,e=>{var t;c.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:S(e.onKeyDown,e=>{let t=""!==a.searchRef.current;!n&&(!t||" "!==e.key)&&tX.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});nb.displayName=ng;var nx=f.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,l=ns(ng,n),a=t8(n),u=f.useRef(null),c=D(t,u),[s,d]=f.useState(!1),[p,v]=f.useState("");return f.useEffect(()=>{let e=u.current;if(e){var t;v((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[i.children]),(0,y.jsx)(t1.ItemSlot,{scope:n,disabled:r,textValue:null!=o?o:p,children:(0,y.jsx)(te,{asChild:!0,...a,focusable:!r,children:(0,y.jsx)(K.div,{role:"menuitem","data-highlighted":s?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:c,onPointerMove:S(e.onPointerMove,nZ(e=>{r?l.onItemLeave(e):(l.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:S(e.onPointerLeave,nZ(e=>l.onItemLeave(e))),onFocus:S(e.onFocus,()=>d(!0)),onBlur:S(e.onBlur,()=>d(!1))})})})}),nE=f.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...o}=e;return(0,y.jsx)(nA,{scope:e.__scopeMenu,checked:n,children:(0,y.jsx)(nb,{role:"menuitemcheckbox","aria-checked":nH(n)?"mixed":n,...o,ref:t,"data-state":nU(n),onSelect:S(o.onSelect,()=>null==r?void 0:r(!!nH(n)||!n),{checkForDefaultPrevented:!1})})})});nE.displayName="MenuCheckboxItem";var nC="MenuRadioGroup",[nR,nS]=t3(nC,{value:void 0,onValueChange:()=>{}}),nM=f.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,i=H(r);return(0,y.jsx)(nR,{scope:e.__scopeMenu,value:n,onValueChange:i,children:(0,y.jsx)(nh,{...o,ref:t})})});nM.displayName=nC;var nN="MenuRadioItem",n_=f.forwardRef((e,t)=>{let{value:n,...r}=e,o=nS(nN,e.__scopeMenu),i=n===o.value;return(0,y.jsx)(nA,{scope:e.__scopeMenu,checked:i,children:(0,y.jsx)(nb,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":nU(i),onSelect:S(r.onSelect,()=>{var e;return null===(e=o.onValueChange)||void 0===e?void 0:e.call(o,n)},{checkForDefaultPrevented:!1})})})});n_.displayName=nN;var nj="MenuItemIndicator",[nA,nO]=t3(nj,{checked:!1}),nP=f.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,i=nO(nj,n);return(0,y.jsx)(eW,{present:r||nH(i.checked)||!0===i.checked,children:(0,y.jsx)(K.span,{...o,ref:t,"data-state":nU(i.checked)})})});nP.displayName=nj;var nk=f.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,y.jsx)(K.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});nk.displayName="MenuSeparator";var nI=f.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=t4(n);return(0,y.jsx)(eI,{...o,...r,ref:t})});nI.displayName="MenuArrow";var nD="MenuSub",[nT,nL]=t3(nD),nF=e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,i=t7(nD,t),l=t4(t),[a,u]=f.useState(null),[c,s]=f.useState(null),d=H(o);return f.useEffect(()=>(!1===i.open&&d(!1),()=>d(!1)),[i.open,d]),(0,y.jsx)(eS,{...l,children:(0,y.jsx)(t9,{scope:t,open:r,onOpenChange:d,content:c,onContentChange:s,children:(0,y.jsx)(nT,{scope:t,contentId:eh(),triggerId:eh(),trigger:a,onTriggerChange:u,children:n})})})};nF.displayName=nD;var nW="MenuSubTrigger",n$=f.forwardRef((e,t)=>
1{let n=t7(nW,e.__scopeMenu),r=nt(nW,e.__scopeMenu),o=nL(nW,e.__scopeMenu),i=ns(nW,e.__scopeMenu),l=f.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:u}=i,c={__scopeMenu:e.__scopeMenu},s=f.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return f.useEffect(()=>s,[s]),f.useEffect(()=>{let e=a.current;return()=>{window.clearTimeout(e),u(null)}},[a,u]),(0,y.jsx)(nr,{asChild:!0,...c,children:(0,y.jsx)(nx,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":nV(n.open),...e,ref:I(t,o.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:S(e.onPointerMove,nZ(t=>{i.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||l.current||(i.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),s()},100))})),onPointerLeave:S(e.onPointerLeave,nZ(e=>{var t,r;s();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,l="right"===t,u=o[l?"left":"right"],c=o[l?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(l?-5:5),y:e.clientY},{x:u,y:o.top},{x:c,y:o.top},{x:c,y:o.bottom},{x:u,y:o.bottom}],side:t}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:S(e.onKeyDown,t=>{let o=""!==i.searchRef.current;if(!e.disabled&&(!o||" "!==t.key)&&tJ[r.dir].includes(t.key)){var l;n.onOpenChange(!0),null===(l=n.content)||void 0===l||l.focus(),t.preventDefault()}})})})});n$.displayName=nW;var nB="MenuSubContent",nK=f.forwardRef((e,t)=>{let n=nl(nu,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=t7(nu,e.__scopeMenu),l=nt(nu,e.__scopeMenu),a=nL(nB,e.__scopeMenu),u=f.useRef(null),c=D(t,u);return(0,y.jsx)(t1.Provider,{scope:e.__scopeMenu,children:(0,y.jsx)(eW,{present:r||i.open,children:(0,y.jsx)(t1.Slot,{scope:e.__scopeMenu,children:(0,y.jsx)(nm,{id:a.contentId,"aria-labelledby":a.triggerId,...o,ref:c,align:"start",side:"rtl"===l.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;l.isUsingKeyboardRef.current&&(null===(t=u.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:S(e.onFocusOutside,e=>{e.target!==a.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:S(e.onEscapeKeyDown,e=>{l.onClose(),e.preventDefault()}),onKeyDown:S(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=tQ[l.dir].includes(e.key);if(t&&n){var r;i.onOpenChange(!1),null===(r=a.trigger)||void 0===r||r.focus(),e.preventDefault()}})})})})})});function nV(e){return e?"open":"closed"}function nH(e){return"indeterminate"===e}function nU(e){return nH(e)?"indeterminate":e?"checked":"unchecked"}function nZ(e){return t=>"mouse"===t.pointerType?e(t):void 0}nK.displayName=nB;var nz=p[" useId ".trim().toString()]||(()=>void 0),nq=0;function nX(e){let[t,n]=f.useState(nz());return g(()=>{e||n(e=>e??String(nq++))},[e]),e||(t?`radix-${t}`:"")}var nY="DropdownMenu",[nG,nJ]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>f.createContext(e));return function(n){let r=n?.[e]||t;return f.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=f.createContext(r),i=n.length;n=[...n,r];let l=t=>{let{scope:n,children:r,...l}=t,a=n?.[e]?.[i]||o,u=f.useMemo(()=>l,Object.values(l));return(0,y.jsx)(a.Provider,{value:u,children:r})};return l.displayName=t+"Provider",[l,function(n,l){let a=l?.[e]?.[i]||o,u=f.useContext(a);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(nY,[t6]),nQ=t6(),[n0,n1]=nG(nY),n2=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:l,modal:a=!0}=e,u=nQ(t),c=f.useRef(null),[s,d]=b({prop:o,defaultProp:null!=i&&i,onChange:l,caller:nY});return(0,y.jsx)(n0,{scope:t,triggerId:nX(),triggerRef:c,contentId:nX(),open:s,onOpenChange:d,onOpenToggle:f.useCallback(()=>d(e=>!e),[d]),modal:a,children:(0,y.jsx)(nn,{...u,open:s,onOpenChange:d,dir:r,modal:a,children:n})})};n2.displayName=nY;var n5="DropdownMenuTrigger",n3=f.forwardRef((e,t)=>
1{let{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=n1(n5,n),l=nQ(n);return(0,y.jsx)(nr,{asChild:!0,...l,children:(0,y.jsx)(R.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:h(t,i.triggerRef),onPointerDown:v(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:v(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});n3.displayName=n5;var n6=e=>{let{__scopeDropdownMenu:t,...n}=e,r=nQ(t);return(0,y.jsx)(na,{...r,...n})};n6.displayName="DropdownMenuPortal";var n4="DropdownMenuContent",n8=f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=n1(n4,n),i=nQ(n),l=f.useRef(!1);return(0,y.jsx)(nd,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:v(e.onCloseAutoFocus,e=>{var t;l.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:v(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});n8.displayName=n4;var n9=f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(nh,{...o,...r,ref:t})});n9.displayName="DropdownMenuGroup",f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(ny,{...o,...r,ref:t})}).displayName="DropdownMenuLabel";var n7=f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(nb,{...o,...r,ref:t})});n7.displayName="DropdownMenuItem",f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(nE,{...o,...r,ref:t})}).displayName="DropdownMenuCheckboxItem";var re=f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(nM,{...o,...r,ref:t})});re.displayName="DropdownMenuRadioGroup",f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(n_,{...o,...r,ref:t})}).displayName="DropdownMenuRadioItem",f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(nP,{...o,...r,ref:t})}).displayName="DropdownMenuItemIndicator",f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(nk,{...o,...r,ref:t})}).displayName="DropdownMenuSeparator",f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(nI,{...o,...r,ref:t})}).displayName="DropdownMenuArrow";var rt=f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(n$,{...o,...r,ref:t})});rt.displayName="DropdownMenuSubTrigger";var rn=f.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nQ(n);return(0,y.jsx)(nK,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rn.displayName="DropdownMenuSubContent";var rr=n2,ro=n3,ri=n6,rl=n8,ra=n9,ru=n7,rc=re,rs=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,l=nQ(t),[a,u]=b({prop:r,defaultProp:null!=i&&i,onChange:o,caller:"DropdownMenuSub"});return(0,y.jsx)(nF,{...l,open:a,onOpenChange:u,children:n})},rd=rt,rf=rn},5156:function(e,t,n){"use strict";n.d(t,{f:function(){return c}});var r=n(2265),o=n(6840),i=n(7437),l="horizontal",a=["horizontal","vertical"],u=r.forwardRef((e,t)=>
1{let{decorative:n,orientation:r=l,...u}=e,c=a.includes(r)?r:l;return(0,i.jsx)(o.WV.div,{"data-orientation":c,...n?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...u,ref:t})});u.displayName="Separator";var c=u},7712:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(r&&(r+=" "),r+=t);return r},i=(e,t)=>n=>{var i;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:l,defaultVariants:a}=t,u=Object.keys(l).map(e=>{let t=null==n?void 0:n[e],o=null==a?void 0:a[e];if(null===t)return null;let i=r(t)||r(o);return l[e][i]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,u,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.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({...a,...c}[t]):({...a,...c})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},1906:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=n(2265),o=n(3078),i=n(5750),l=n(3576);function a(e){let t=(0,l.h)(()=>(0,o.BX)(e)),{isStatic:n}=(0,r.useContext)(i._);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}},5318:function(e,t,n){"use strict";n.d(t,{q:function(){return d}});var r=n(2265),o=n(3999),i=n(1906),l=n(5750),a=n(1534),u=n(9395),c=n(5414);function s(e){return"number"==typeof e?e:parseFloat(e)}function d(e,t={}){let{isStatic:n}=(0,r.useContext)(l._),d=(0,r.useRef)(null),f=(0,i.c)((0,o.i)(e)?s(e.get()):e),p=(0,r.useRef)(f.get()),v=(0,r.useRef)(()=>{}),m=()=>{let e=d.current;e&&0===e.time&&e.sample(c.frameData.delta),h(),d.current=(0,u.y)({keyframes:[f.get(),p.current],velocity:f.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:v.current})},h=()=>{d.current&&d.current.stop()};return(0,r.useInsertionEffect)(()=>f.attach((e,t)=>n?t(e):(p.current=e,v.current=t,c.Wi.update(m),f.get()),h),[JSON.stringify(t)]),(0,a.L)(()=>{if((0,o.i)(e))return e.on("change",e=>f.set(s(e)))},[f]),f}},3812:function(e,t,n){"use strict";n.d(t,{H:function(){return f}});var r=n(8843);let o=e=>e&&"object"==typeof e&&e.mix,i=e=>o(e)?e.mix:void 0;var l=n(1906),a=n(1534),u=n(5414);function c(e,t){let n=(0,l.c)(t()),r=()=>n.set(t());return r(),(0,a.L)(()=>{let t=()=>u.Wi.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,u.Pn)(r)}}),n}var s=n(3576),d=n(3078);function f(e,t,n,o){if("function"==typeof e)return function(e){d.S1.current=[],e();let t=c(d.S1.current,e);return d.S1.current=void 0,t}(e);let l="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],l=e[1+n],a=e[2+n],u=e[3+n],c=(0,r.s)(l,a,{mixer:i(a[0]),...u});return t?c(o):c}(t,n,o);return Array.isArray(e)?p(e,l):p([e],([e])=>l(e))}function p(e,t){let n=(0,s.h)(()=>[]);return c(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}}}]);

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.