1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2516],{83859:function(e){var t;t=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",o="week",a="month",i="quarter",u="year",s="date",l="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},p="en",h={};h[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||"th")+"]"}};var v="$isDayjsObject",m=function(e){return e instanceof M||!(!e||!e[v])},g=function e(t,r,n){var o;if(!t)return p;if("string"==typeof t){var a=t.toLowerCase();h[a]&&(o=a),r&&(h[a]=r,o=a);var i=t.split("-");if(!o&&i.length>1)return e(i[0])}else{var u=t.name;h[u]=t,o=u}return!n&&o&&(p=o),o||!n&&p},w=function(e,t){if(m(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new M(r)},y={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),o=t.clone().add(n,a),i=r-o<0,u=t.clone().add(n+(i?-1:1),a);return+(-(n+(r-o)/(i?o-u:u-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return({M:a,y:u,w:o,d:"day",D:s,h:n,m:r,s:t,ms:e,Q:i})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=g,y.i=m,y.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var M=function(){function f(e){this.$L=g(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var p=f.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(c);if(n){var o=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(t)}(e),this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return y},p.isValid=function(){return this.$d.toString()!==l},p.isSame=function(e,t){var r=w(e);return this.startOf(t)<=r&&r<=this.endOf(t)},p.isAfter=function(e,t){return w(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<w(e)},p.$g=function(e,t,r){return y.u(e)?this[t]:this.set(r,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,i){var l=this,c=!!y.u(i)||i,d=y.p(e),f=function(e,t){var r=y.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return c?r:r.endOf("day")},p=function(e,t){return y.w(l.toDate()[e].apply(l.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},h=this.$W,v=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(d){case u:return c?f(1,0):f(31,11);case a:return c?f(1,v):f(0,v+1);case o:var w=this.$locale().weekStart||0,M=(h<w?h+7:h)-w;return f(c?m-M:m+(6-M),v);case"day":case s:return p(g+"Hours",0);case n:return p(g+"Minutes",1);case r:return p(g+"Seconds",2);case t:return p(g+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(o,i){var l,c=y.p(o),d="set"+(this.$u?"UTC":""),f=((l={}).day=d+"Date",l[s]=d+"Date",l[a]=d+"Month",l[u]=d+"FullYear",l[n]=d+"Hours",l[r]=d+"Minutes",l[t]=d+"Seconds",l[e]=d+"Milliseconds",l)[c],p="day"===c?this.$D+(i-this.$W):i;if(c===a||c===u){var h=this.clone().set(s,1);h.$d[f](p),h.init(),this.$d=h.set(s,Math.min(this.$D,h.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[y.p(e)]()},p.add=function(e,i){var s,l=this;e=Number(e);var c=y.p(i),d=function(t){var r=w(l);return y.w(r.date(r.date()+Math.round(t*e)),l)};if(c===a)return this.set(a,this.$M+e);if(c===u)return this.set(u,this.$y+e);if("day"===c)return d(1);if(c===o)return d(7);var f=((s={})[r]=6e4,s[n]=36e5,s[t]=1e3,s)[c]||1,p=this.$d.getTime()+e*f;return y.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var n=e||"YYYY-MM-DDTHH:mm:ssZ",o=y.z(this),a=this.$H,i=this.$m,u=this.$M,s=r.weekdays,c=r.months,f=r.meridiem,p=function(e,r,o,a){return e&&(e[r]||e(t,n))||o[r].slice(0,a)},h=function(e){return y.s(a%12||12,e,"0")},v=f||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return u+1;case"MM":return y.s(u+1,2,"0");case"MMM":return p(r.monthsShort,u,c,3);case"MMMM":return p(c,u);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(r.weekdaysMin,t.$W,s,2);case"ddd":return p(r.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(a);case"HH":return y.s(a,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return v(a,i,!0);case"A":return v(a,i,!1);case"m":return String(i);case"mm":return y.s(i,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,s,l){var c,d=this,f=y.p(s),p=w(e),h=(p.utcOffset()-this.utcOffset())*6e4,v=this-p,m=function(){return y.m(d,p)};switch(f){case u:c=m()/12;break;case a:c=m();break;case i:c=m()/3;break;case o:c=(v-h)/6048e5;break;case"day":c=(v-h)/864e5;break;case n:c=v/36e5;break;case r:c=v/6e4;break;case t:c=v/1e3;break;default:c=v}return l?c:y.a(c)},p.daysInMonth=function(){return this.endOf(a).$D},p.$locale=function(){return h[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=g(e,t,!0);return n&&(r.$L=n),r},p.clone=function(){return y.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),x=M.prototype;return w.prototype=x,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",a],["$y",u],["$D",s]].forEac
1h(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),w.extend=function(e,t){return e.$i||(e(t,M,w),e.$i=!0),w},w.locale=g,w.isDayjs=m,w.unix=function(e){return w(1e3*e)},w.en=h[p],w.Ls=h,w.p={},w},e.exports=t()},49002:function(e,t,r){"use strict";r.d(t,{VY:function(){return eU},ck:function(){return ez},Uv:function(){return eH},fC:function(){return eK},xz:function(){return eY}});var n=r(7653),o=r(46196),a=r(94492),i=r(99933),u=r(47178),s=r(78378),l=r(3864),c=r(21004),d=r(97256),f=r(60307),p=r(42142),h=r(17321),v=r(51209),m=r(20153),g=r(65622),w=r(56007),y=r(8828),M=r(523),x=r(27130),b=r(84494),D=r(27573),$=["Enter"," "],C=["ArrowUp","PageDown","End"],k=["ArrowDown","PageUp","Home",...C],_={ltr:[...$,"ArrowRight"],rtl:[...$,"ArrowLeft"]},j={ltr:["ArrowLeft"],rtl:["ArrowRight"]},R="Menu",[S,O,P]=(0,l.B)(R),[T,I]=(0,i.b)(R,[P,v.D7,w.Pc]),E=(0,v.D7)(),N=(0,w.Pc)(),[L,F]=T(R),[A,W]=T(R),V=e=>{let{__scopeMenu:t,open:r=!1,children:o,dir:a,onOpenChange:i,modal:u=!0}=e,s=E(t),[l,d]=n.useState(null),f=n.useRef(!1),p=(0,M.W)(i),h=(0,c.gm)(a);return n.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.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,D.jsx)(v.fC,{...s,children:(0,D.jsx)(L,{scope:t,open:r,onOpenChange:p,content:l,onContentChange:d,children:(0,D.jsx)(A,{scope:t,onClose:n.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:h,modal:u,children:o})})})};V.displayName=R;var K=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=E(r);return(0,D.jsx)(v.ee,{...o,...n,ref:t})});K.displayName="MenuAnchor";var Y="MenuPortal",[H,U]=T(Y,{forceMount:void 0}),z=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,a=F(Y,t);return(0,D.jsx)(H,{scope:t,forceMount:r,children:(0,D.jsx)(g.z,{present:r||a.open,children:(0,D.jsx)(m.h,{asChild:!0,container:o,children:n})})})};z.displayName=Y;var G="MenuContent",[B,X]=T(G),Z=n.forwardRef((e,t)=>{let r=U(G,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=F(G,e.__scopeMenu),i=W(G,e.__scopeMenu);return(0,D.jsx)(S.Provider,{scope:e.__scopeMenu,children:(0,D.jsx)(g.z,{present:n||a.open,children:(0,D.jsx)(S.Slot,{scope:e.__scopeMenu,children:i.modal?(0,D.jsx)(J,{...o,ref:t}):(0,D.jsx)(q,{...o,ref:t})})})})}),J=n.forwardRef((e,t)=>{let r=F(G,e.__scopeMenu),i=n.useRef(null),u=(0,a.e)(t,i);return n.useEffect(()=>{let e=i.current;if(e)return(0,x.Ry)(e)},[]),(0,D.jsx)(Q,{...e,ref:u,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),q=n.forwardRef((e,t)=>{let r=F(G,e.__scopeMenu);return(0,D.jsx)(Q,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),Q=n.forwardRef((e,t)=>{let{__scopeMenu:r,loop:i=!1,trapFocus:u,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEntryFocus:h,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onInteractOutside:x,onDismiss:$,disableOutsideScroll:_,...j}=e,R=F(G,r),S=W(G,r),P=E(r),T=N(r),I=O(r),[L,A]=n.useState(null),V=n.useRef(null),K=(0,a.e)(t,V,R.onContentChange),Y=n.useRef(0),H=n.useRef(""),U=n.useRef(0),z=n.useRef(null),X=n.useRef("right"),Z=n.useRef(0),J=_?b.Z:n.Fragment,q=_?{as:y.g7,allowPinchZoom:!0}:void 0,Q=e=>{var t,r;let n=H.current+e,o=I().filter(e=>!e.disabled),a=document.activeElement,i=null===(t=o.find(e=>
1e.ref.current===a))||void 0===t?void 0:t.textValue,u=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(a=a.filter(e=>e!==r));let i=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return i!==r?i:void 0}(o.map(e=>e.textValue),n,i),s=null===(r=o.find(e=>e.textValue===u))||void 0===r?void 0:r.ref.current;!function e(t){H.current=t,window.clearTimeout(Y.current),""!==t&&(Y.current=window.setTimeout(()=>e(""),1e3))}(n),s&&setTimeout(()=>s.focus())};n.useEffect(()=>()=>window.clearTimeout(Y.current),[]),(0,f.EW)();let ee=n.useCallback(e=>{var t,r,n;return X.current===(null===(t=z.current)||void 0===t?void 0:t.side)&&!!(n=null===(r=z.current)||void 0===r?void 0:r.area)&&function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let i=t[e].x,u=t[e].y,s=t[a].x,l=t[a].y;u>n!=l>n&&r<(s-i)*(n-u)/(l-u)+i&&(o=!o)}return o}({x:e.clientX,y:e.clientY},n)},[]);return(0,D.jsx)(B,{scope:r,searchRef:H,onItemEnter:n.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),onItemLeave:n.useCallback(e=>{var t;ee(e)||(null===(t=V.current)||void 0===t||t.focus(),A(null))},[ee]),onTriggerLeave:n.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),pointerGraceTimerRef:U,onPointerGraceIntentChange:n.useCallback(e=>{z.current=e},[]),children:(0,D.jsx)(J,{...q,children:(0,D.jsx)(p.M,{asChild:!0,trapped:u,onMountAutoFocus:(0,o.M)(s,e=>{var t;e.preventDefault(),null===(t=V.current)||void 0===t||t.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:(0,D.jsx)(d.XB,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onInteractOutside:x,onDismiss:$,children:(0,D.jsx)(w.fC,{asChild:!0,...T,dir:S.dir,orientation:"vertical",loop:i,currentTabStopId:L,onCurrentTabStopIdChange:A,onEntryFocus:(0,o.M)(h,e=>{S.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,D.jsx)(v.VY,{role:"menu","aria-orientation":"vertical","data-state":eC(R.open),"data-radix-menu-content":"",dir:S.dir,...P,...j,ref:K,style:{outline:"none",...j.style},onKeyDown:(0,o.M)(j.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&Q(e.key));let o=V.current;if(e.target!==o||!k.includes(e.key))return;e.preventDefault();let a=I().filter(e=>!e.disabled).map(e=>e.ref.current);C.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,o.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(Y.current),H.current="")}),onPointerMove:(0,o.M)(e.onPointerMove,ej(e=>{let t=e.target,r=Z.current!==e.clientX;if(e.currentTarget.contains(t)&&r){let t=e.clientX>Z.current?"right":"left";X.current=t,Z.current=e.clientX}}))})})})})})})});Z.displayName=G;var ee=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,D.jsx)(s.WV.div,{role:"group",...n,ref:t})});ee.displayName="MenuGroup";var et=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,D.jsx)(s.WV.div,{...n,ref:t})});et.displayName="MenuLabel";var er="MenuItem",en="menu.itemSelect",eo=n.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:i,...u}=e,l=n.useRef(null),c=W(er,e.__scopeMenu),d=X(er,e.__scopeMenu),f=(0,a.e)(t,l),p=n.useRef(!1);return(0,D.jsx)(ea,{...u,ref:f,disabled:r,onClick:(0,o.M)(e.onClick,()=>{let e=l.current;if(!r&&e){let t=new CustomEvent(en,{bubbles:!0,cancelable:!0});e.addEventListener(en,e=>null==i?void 0:i(e),{once:!0}),(0,s.jH)(e,t),t.defaultPrevented?p.current=!1:c.onClose()}}),onPointerDown:t=>{var r;null===(r=e.onPointerDown)||void 0===r||r.call(e,t),p.current=!0},onPointerUp:(0,o.M)(e.onPointerUp,e=>{var t;p.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;!r&&(!t||" "!==e.key)&&$.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eo.displayName=er;var ea=n.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:i=!1,textValue:u,...l}=e,c=X(er,r),d=N(r),f=n.useRef(null),p=(0,a.e)(t,f),[h,v]=n.useState(!1),[m,g]=n.useState("");return n.useEffect(()=>{let e=f.current;if(e){var t;g((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[l.children]),(0,D.jsx)(S.ItemSlot,{scope:r,disabled:i,textValue:null!=u?u:m,children:(0,D.jsx)(w.ck,{asChild:!0,...d,focusable:!i,children:(0,D.jsx)(s.WV.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...l,ref:p,onPointerMove:(0,o.M)(e.onPointerMove,ej(e=>{i?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focu
1s({preventScroll:!0}))})),onPointerLeave:(0,o.M)(e.onPointerLeave,ej(e=>c.onItemLeave(e))),onFocus:(0,o.M)(e.onFocus,()=>v(!0)),onBlur:(0,o.M)(e.onBlur,()=>v(!1))})})})}),ei=n.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...a}=e;return(0,D.jsx)(eh,{scope:e.__scopeMenu,checked:r,children:(0,D.jsx)(eo,{role:"menuitemcheckbox","aria-checked":ek(r)?"mixed":r,...a,ref:t,"data-state":e_(r),onSelect:(0,o.M)(a.onSelect,()=>null==n?void 0:n(!!ek(r)||!r),{checkForDefaultPrevented:!1})})})});ei.displayName="MenuCheckboxItem";var eu="MenuRadioGroup",[es,el]=T(eu,{value:void 0,onValueChange:()=>{}}),ec=n.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,a=(0,M.W)(n);return(0,D.jsx)(es,{scope:e.__scopeMenu,value:r,onValueChange:a,children:(0,D.jsx)(ee,{...o,ref:t})})});ec.displayName=eu;var ed="MenuRadioItem",ef=n.forwardRef((e,t)=>{let{value:r,...n}=e,a=el(ed,e.__scopeMenu),i=r===a.value;return(0,D.jsx)(eh,{scope:e.__scopeMenu,checked:i,children:(0,D.jsx)(eo,{role:"menuitemradio","aria-checked":i,...n,ref:t,"data-state":e_(i),onSelect:(0,o.M)(n.onSelect,()=>{var e;return null===(e=a.onValueChange)||void 0===e?void 0:e.call(a,r)}
1,{checkForDefaultPrevented:!1})})})});ef.displayName=ed;var ep="MenuItemIndicator",[eh,ev]=T(ep,{checked:!1}),em=n.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,a=ev(ep,r);return(0,D.jsx)(g.z,{present:n||ek(a.checked)||!0===a.checked,children:(0,D.jsx)(s.WV.span,{...o,ref:t,"data-state":e_(a.checked)})})});em.displayName=ep;var eg=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,D.jsx)(s.WV.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});eg.displayName="MenuSeparator";var ew=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=E(r);return(0,D.jsx)(v.Eh,{...o,...n,ref:t})});ew.displayName="MenuArrow";var[ey,eM]=T("MenuSub"),ex="MenuSubTrigger",eb=n.forwardRef((e,t)=>{let r=F(ex,e.__scopeMenu),i=W(ex,e.__scopeMenu),u=eM(ex,e.__scopeMenu),s=X(ex,e.__scopeMenu),l=n.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=s,f={__scopeMenu:e.__scopeMenu},p=n.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return n.useEffect(()=>p,[p]),n.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),d(null)}},[c,d]),(0,D.jsx)(K,{asChild:!0,...f,children:(0,D.jsx)(ea,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":u.contentId,"data-state":eC(r.open),...e,ref:(0,a.F)(t,u.onTriggerChange),onClick:t=>{var n;null===(n=e.onClick)||void 0===n||n.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,o.M)(e.onPointerMove,ej(t=>{s.onItemEnter(t),t.defaultPrevented||e.disabled||r.open||l.current||(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100))})),onPointerLeave:(0,o.M)(e.onPointerLeave,ej(e=>{var t,n;p();let o=null===(t=r.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(n=r.content)||void 0===n?void 0:n.dataset.side,a="right"===t,i=o[a?"left":"right"],u=o[a?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:i,y:o.top},{x:u,y:o.top},{x:u,y:o.bottom},{x:i,y:o.bottom}],side:t}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.M)(e.onKeyDown,t=>{let n=""!==s.searchRef.current;if(!e.disabled&&(!n||" "!==t.key)&&_[i.dir].includes(t.key)){var o;r.onOpenChange(!0),null===(o=r.content)||void 0===o||o.focus(),t.preventDefault()}})})})});eb.displayName=ex;var eD="MenuSubContent",e$=n.forwardRef((e,t)=>{let r=U(G,e.__scopeMenu),{forceMount:i=r.forceMount,...u}=e,s=F(G,e.__scopeMenu),l=W(G,e.__scopeMenu),c=eM(eD,e.__scopeMenu),d=n.useRef(null),f=(0,a.e)(t,d);return(0,D.jsx)(S.Provider,{scope:e.__scopeMenu,children:(0,D.jsx)(g.z,{present:i||s.open,children:(0,D.jsx)(S.Slot,{scope:e.__scopeMenu,children:(0,D.jsx)(Q,{id:c.contentId,"aria-labelledby":c.triggerId,...u,ref:f,align:"start",side:"rtl"===l.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;l.isUsingKeyboardRef.current&&(null===(t=d.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>{e.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,o.M)(e.onEscapeKeyDown,e=>{l.onClose(),e.preventDefault()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=j[l.dir].includes(e.key);if(t&&r){var n;s.onOpenChange(!1),null===(n=c.trigger)||void 0===n||n.focus(),e.preventDefault()}})})})})})});function eC(e){return e?"open":"closed"}function ek(e){return"indeterminate"===e}function e_(e){return ek(e)?"indeterminate":e?"checked":"unchecked"}function ej(e){return t=>"mouse"===t.pointerType?e(t):void 0}e$.displayName=eD;var eR="DropdownMenu",[eS,eO]=(0,i.b)(eR,[I]),eP=I(),[eT,eI]=eS(eR),eE=e=>{let{__scopeDropdownMenu:t,children:r,dir:o,open:a,defaultOpen:i,onOpenChange:s,modal:l=!0}=e,c=eP(t),d=n.useRef(null),[f=!1,p]=(0,u.T)({prop:a,defaultProp:i,onChange:s});return(0,D.jsx)(eT,{scope:t,triggerId:(0,h.M)(),triggerRef:d,contentId:(0,h.M)(),open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:l,children:(0,D.jsx)(V,{...c,open:f,onOpenChange:p,dir:o,modal:l,children:r})})};eE.displayName=eR;var eN="DropdownMenuTrigger",eL=n.forwardRef((e,t)=>
1{let{__scopeDropdownMenu:r,disabled:n=!1,...i}=e,u=eI(eN,r),l=eP(r);return(0,D.jsx)(K,{asChild:!0,...l,children:(0,D.jsx)(s.WV.button,{type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...i,ref:(0,a.F)(t,u.triggerRef),onPointerDown:(0,o.M)(e.onPointerDown,e=>{n||0!==e.button||!1!==e.ctrlKey||(u.onOpenToggle(),u.open||e.preventDefault())}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&u.onOpenToggle(),"ArrowDown"===e.key&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eL.displayName=eN;var eF=e=>{let{__scopeDropdownMenu:t,...r}=e,n=eP(t);return(0,D.jsx)(z,{...n,...r})};eF.displayName="DropdownMenuPortal";var eA="DropdownMenuContent",eW=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,i=eI(eA,r),u=eP(r),s=n.useRef(!1);return(0,D.jsx)(Z,{id:i.contentId,"aria-labelledby":i.triggerId,...u,...a,ref:t,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;s.current||null===(t=i.triggerRef.current)||void 0===t||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:(0,o.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!i.modal||n)&&(s.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)"}})});eW.displayName=eA,n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(ee,{...o,...n,ref:t})}).displayName="DropdownMenuGroup",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(et,{...o,...n,ref:t})}).displayName="DropdownMenuLabel";var eV=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(eo,{...o,...n,ref:t})});eV.displayName="DropdownMenuItem",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(ei,{...o,...n,ref:t})}).displayName="DropdownMenuCheckboxItem",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(ec,{...o,...n,ref:t})}).displayName="DropdownMenuRadioGroup",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(ef,{...o,...n,ref:t})}).displayName="DropdownMenuRadioItem",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(em,{...o,...n,ref:t})}).displayName="DropdownMenuItemIndicator",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(eg,{...o,...n,ref:t})}).displayName="DropdownMenuSeparator",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(ew,{...o,...n,ref:t})}).displayName="DropdownMenuArrow",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(eb,{...o,...n,ref:t})}).displayName="DropdownMenuSubTrigger",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eP(r);return(0,D.jsx)(e$,{...o,...n,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)"}})}).displayName="DropdownMenuSubContent";var eK=eE,eY=eL,eH=eF,eU=eW,ez=eV},88648:function(e,t,r){"use strict";r.d(t,{bU:function(){return D},fC:function(){return b}});var n=r(7653),o=r(46196),a=r(94492),i=r(99933),u=r(47178),s=r(1403),l=r(35032),c=r(78378),d=r(27573),f="Switch",[p,h]=(0,i.b)(f),[v,m]=p(f),g=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:s,defaultChecked:l,required:f,disabled:p,value:h="on",onCheckedChange:m,form:g,...w}=e,[y,b]=n.useState(null),D=(0,a.e)(t,e=>b(e)),$=n.useRef(!1),C=!y||g||!!y.closest("form"),[k=!1,_]=(0,u.T)({prop:s,defaultProp:l,onChange:m});return(0,d.jsxs)(v,{scope:r,checked:k,disabled:p,children:[(0,d.jsx)(c.WV.button,{type:"button",role:"switch","aria-checked":k,"aria-required":f,"data-state":x(k),"data-disabled":p?"":void 0,disabled:p,value:h,...w,ref:D,onClick:(0,o.M)(e.onClick,e=>{_(e=>!e),C&&($.current=e.isPropagationStopped(),$.current||e.stopPropagation())})}),C&&(0,d.jsx)(M,{control:y,bubbles:!$.current,name:i,value:h,checked:k,required:f,disabled:p,form:g,style:{transform:"translateX(-100%)"}})]})});g.displayName=f;var w="SwitchThumb",y=n.forwardRef((e,t)=>
1{let{__scopeSwitch:r,...n}=e,o=m(w,r);return(0,d.jsx)(c.WV.span,{"data-state":x(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});y.displayName=w;var M=e=>{let{control:t,checked:r,bubbles:o=!0,...a}=e,i=n.useRef(null),u=(0,s.D)(r),c=(0,l.t)(t);return n.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(u!==r&&t){let n=new Event("click",{bubbles:o});t.call(e,r),e.dispatchEvent(n)}},[u,r,o]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...a,tabIndex:-1,ref:i,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function x(e){return e?"checked":"unchecked"}var b=g,D=y}}]);
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.