1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26674,38396,e=>{"use strict";var t=e.i(71645),n=e.i(74080),r=e.i(29315),i=e.i(74735),o=e.i(65420),s=e.i(83977),u=e.i(46376),a=e.i(67865),l=e.i(56789),c=e.i(52535),d=e.i(83976),f=e.i(75606),p=e.i(56434),g=e.i(51321),h=e.i(52245);let m={clipPath:"inset(50%)",position:"fixed",top:0,left:0};e.s(["CLICK_TRIGGER_IDENTIFIER",0,"data-base-ui-click-trigger","DISABLED_TRANSITIONS_STYLE",0,{style:{transition:"none"}},"DROPDOWN_COLLISION_AVOIDANCE",0,{fallbackAxisSide:"none"},"PATIENT_CLICK_THRESHOLD",0,500,"POPUP_COLLISION_AVOIDANCE",0,{fallbackAxisSide:"end"},"TYPEAHEAD_RESET_MS",0,500,"ownerVisuallyHidden",0,m],38396);var v=e.i(43476);let E=t.createContext(null),b=()=>t.useContext(E),S=(0,g.createAttribute)("portal");function y(e={}){let{ref:i,container:o,componentProps:c=l.EMPTY_OBJECT,elementProps:d}=e,f=(0,s.useId)(),p=b(),g=p?.portalNode,[m,v]=t.useState(null),[E,T]=t.useState(null),C=(0,a.useStableCallback)(e=>{null!==e&&T(e)}),O=t.useRef(null);(0,u.useIsoLayoutEffect)(()=>{if(null===o){O.current&&(O.current=null,T(null),v(null));return}let e=(o&&((0,r.isNode)(o)?o:o.current))??g??document.body;if(null==e){O.current&&(O.current=null,T(null),v(null));return}O.current!==e&&(O.current=e,T(null),v(e))},[o,g]);let x=(0,h.useRenderElement)("div",c,{ref:[i,C],props:[{id:f,[S]:""},d]}),R=m&&x?n.createPortal(x,m):null;return{node:E,nodeId:t.isValidElement(x)?x.props.id:void 0,subtree:R}}let T=t.forwardRef(function(e,r){let{render:s,className:a,style:l,children:g,container:h,...b}=e,{node:S,nodeId:T,subtree:C}=y({container:h,ref:r,componentProps:e,elementProps:b}),O=t.useRef(null),x=t.useRef(null),R=t.useRef(null),I=t.useRef(null),[P,A]=t.useState(null),w=t.useRef(!1),k=P?.modal,L=P?.open,M=!!P&&!P.modal&&P.open&&!!S;t.useEffect(()=>{if(S&&!k)return(0,o.mergeCleanups)((0,i.addEventListener)(S,"focusin",e,!0),(0,i.addEventListener)(S,"focusout",e,!0));function e(e){S&&e.relatedTarget&&(0,d.isOutsideEvent)(e)&&("focusin"===e.type?w.current&&((0,d.enableFocusInside)(S),w.current=!1):((0,d.disableFocusInside)(S),w.current=!0))}},[S,k]),(0,u.useIsoLayoutEffect)(()=>{S&&!0===L&&w.current&&((0,d.enableFocusInside)(S),w.current=!1)},[L,S]);let N=t.useMemo(()=>({beforeOutsideRef:O,afterOutsideRef:x,beforeInsideRef:R,afterInsideRef:I,portalNode:S,setFocusManagerState:A}),[S]);return(0,v.jsxs)(t.Fragment,{children:[C,(0,v.jsxs)(E.Provider,{value:N,children:[M&&S&&(0,v.jsx)(c.FocusGuard,{"data-type":"outside",ref:O,onFocus:e=>{if((0,d.isOutsideEvent)(e,S))R.current?.focus();else{let e=P?P.domReference:null,t=(0,d.getPreviousTabbable)(e);t?.focus()}}}),M&&S&&(0,v.jsx)("span",{"aria-owns":T,style:m}),S&&n.createPortal(g,S),M&&S&&(0,v.jsx)(c.FocusGuard,{"data-type":"outside",ref:x,onFocus:e=>{if((0,d.isOutsideEvent)(e,S))I.current?.focus();else{let t=P?P.domReference:null,n=(0,d.getNextTabbable)(t);n?.focus(),P?.closeOnFocusOut&&P?.onOpenChange(!1,(0,f.createChangeEventDetails)(p.REASONS.focusOut,e.nativeEvent))}}})]})]})});e.s(["FloatingPortal",0,T,"useFloatingPortalNode",0,y,"usePortalContext",0,b],26674)},56341,e=>{"use strict";var t=e.i(33625),n=e.i(61286),r=e.i(57940);let i={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId};class o extends t.ReactStore{constructor(e){const{syncOnly:t,nested:r,onOpenChange:o,triggerElements:s,...u}=e;super({...u,positionReference:u.referenceElement,domReferenceElement:u.referenceElement},{onOpenChange:o,dataRef:{current:{}},events:(0,n.createEventEmitter)(),nested:r,triggerElements:s},i),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&(0,r.isClickLikeEvent)(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>
1{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}}e.s(["FloatingRootStore",0,o])},46420,61286,79248,e=>{"use strict";var t=e.i(71645),n=e.i(83977),r=e.i(46376),i=e.i(88940);function o(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}e.s(["createEventEmitter",0,o],61286);class s{nodesRef={current:[]};events=o();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);-1!==t&&this.nodesRef.current.splice(t,1)}}e.s(["FloatingTreeStore",0,s],79248);var u=e.i(43476);let a=t.createContext(null),l=t.createContext(null),c=()=>t.useContext(a)?.id||null,d=e=>{let n=t.useContext(l);return e??n};e.s(["FloatingNode",0,function(e){let{children:n,id:r}=e,i=c();return(0,u.jsx)(a.Provider,{value:t.useMemo(()=>({id:r,parentId:i}),[r,i]),children:n})},"FloatingTree",0,function(e){let{children:t,externalTree:n}=e,r=(0,i.useRefWithInit)(()=>n??new s).current;return(0,u.jsx)(l.Provider,{value:r,children:t})},"useFloatingNodeId",0,function(e){let t=(0,n.useId)(),i=d(e),o=c();return(0,r.useIsoLayoutEffect)(()=>{if(!t)return;let e={id:t,parentId:o};return i?.addNode(e),()=>{i?.removeNode(e)}},[i,t,o]),t},"useFloatingParentNodeId",0,c,"useFloatingTree",0,d],46420)},17989,e=>{"use strict";var t=e.i(71645),n=e.i(74735),r=e.i(65420),i=e.i(8868),o=e.i(67865),s=e.i(39957),u=e.i(29315),a=e.i(28744),l=e.i(46420),c=e.i(75606),d=e.i(56434),f=e.i(51321),p=e.i(47554),g=e.i(96296),h=e.i(57940),m=e.i(58408);function v(){return!1}e.s(["useDismiss",0,function(e,E={}){let{enabled:b=!0,escapeKey:S=!0,outsidePress:y=!0,outsidePressEvent:T="sloppy",referencePress:C=v,bubbles:O,externalTree:x}=E,R="rootStore"in e?e.rootStore:e,I=R.useState("open"),P=R.useState("floatingElement"),{dataRef:A}=R.context,w=(0,l.useFloatingTree)(x),k=(0,o.useStableCallback)("function"==typeof y?y:()=>!1),L="function"==typeof y?k:y,M=!1!==L,N=(0,o.useStableCallback)(()=>T),{escapeKey:D,outsidePress:_}={escapeKey:"boolean"==typeof O?O:O?.escapeKey??!1,outsidePress:"boolean"==typeof O?O:O?.outsidePress??!0},F=t.useRef(!1),B=t.useRef(!1),H=t.useRef(!1),V=t.useRef(!1),W=t.useRef(""),j=t.useRef(null),U=(0,s.useTimeout)(),Y=(0,s.useTimeout)(),K=(0,o.useStableCallback)(()=>{Y.clear(),A.current.insideReactTree=!1}),G=(0,o.useStableCallback)(e=>{let t=A.current.floatingContext?.nodeId;return(w?(0,m.getNodeChildren)(w.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),z=(0,o.useStableCallback)(e=>(0,g.isEventTargetWithin)(e,R.select("floatingElement"))||(0,g.isEventTargetWithin)(e,R.select("domReferenceElement"))),J=(0,o.useStableCallback)(e=>{C()&&R.setOpen(!1,(0,c.createChangeEventDetails)(d.REASONS.triggerPress,e.nativeEvent))}),X=(0,o.useStableCallback)(e=>{if(!I||!b||!S||"Escape"!==e.key||V.current||!D&&G("__escapeKeyBubbles"))return;let t=(0,h.isReactEvent)(e)?e.nativeEvent:e,n=(0,c.createChangeEventDetails)(d.REASONS.escapeKey,t);R.setOpen(!1,n),n.isCanceled||e.preventDefault(),D||n.isPropagationAllowed||e.stopPropagation()}),$=(0,o.useStableCallback)(()=>{A.current.insideReactTree=!0,Y.start(0,K)}),q=(0,o.useStableCallback)(e=>{if(!I||!b||0!==e.button)return;let t=(0,p.getTarget)(e.nativeEvent);(0,p.contains)(R.select("floatingElement"),t)&&(F.current||(F.current=!0,B.current=!1))}),Q=(0,o.useStableCallback)(e=>{!I||!b||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&F.current&&(B.current=!0)});t.useEffect(()=>{if(!I||!b)return K;A.current.__escapeKeyBubbles=D,A.current.__outsidePressBubbles=_;let e=new s.Timeout,t=new s.Timeout;function o(){H.current=!0,t.start(0,()=>{H.current=!1})}function l(){F.current=!1,B.current=!1}function h(){let e=W.current,t=N(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function v(e){let t=A.current.floatingContext?.nodeId,n=w&&(0,m.getNodeChildren)(w.nodesRef.current,t).some(t=>(0,g.isEventTargetWithin)(e,t.context?.elements.floating));return z(e)||n}function E(e){let n;if("intentional"===(n=h())&&"click"!==e.type||"sloppy"===n&&"click"===e.type){"click"===e.type||z(e)||(t.clear(),H.current=!1),K();return}if(A.current.insideReactTree)return void K();let r=(0,p.getTarget)(e),o=`[${(0,f.createAttribute)("inert")}]`,s=(0,u.isElement)(r)?r.getRootNode():null,a=Array.from(((0,u.isShadowRoot)(s)?s:(0,i.ownerDocument)(R.select("floatingElement"))).querySelectorAll(
1o)),l=R.context.triggerElements;if(r&&(l.hasElement(r)||l.hasMatchingElement(e=>(0,p.contains)(e,r))))return;let m=(0,u.isElement)(r)?r:null;for(;m&&!(0,u.isLastTraversableNode)(m);){let e=(0,u.getParentNode)(m);if((0,u.isLastTraversableNode)(e)||!(0,u.isElement)(e))break;m=e}if(!(a.length&&(0,u.isElement)(r)&&!(0,g.isRootElement)(r)&&!(0,p.contains)(r,R.select("floatingElement"))&&a.every(e=>!(0,p.contains)(m,e)))){if((0,u.isHTMLElement)(r)&&!("touches"in e)){let t=(0,u.isLastTraversableNode)(r),n=(0,u.getComputedStyle)(r),i=/auto|scroll/,o=t||i.test(n.overflowX),s=t||i.test(n.overflowY),a=o&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,l=s&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,c="rtl"===n.direction,d=l&&(c?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),f=a&&e.offsetY>r.clientHeight;if(d||f)return}if(!v(e)){if("intentional"===h()&&H.current){t.clear(),H.current=!1;return}"function"==typeof L&&!L(e)||G("__outsidePressBubbles")||(R.setOpen(!1,(0,c.createChangeEventDetails)(d.REASONS.outsidePress,e)),K())}}}function y(e){if("sloppy"!==h()||!R.select("open")||!b||z(e))return;let t=e.touches[0];t&&(j.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},U.start(1e3,()=>{j.current&&(j.current.dismissOnTouchEnd=!1,j.current.dismissOnMouseDown=!1)}))}function T(e,t){let r=(0,p.getTarget)(e);if(!r)return;let i=(0,n.addEventListener)(r,e.type,()=>{t(e),i()})}function C(e){U.clear(),"pointerdown"===e.type&&(W.current=e.pointerType),("mousedown"!==e.type||!j.current||j.current.dismissOnMouseDown)&&T(e,e=>{if("pointerdown"===e.type)"sloppy"!==h()||"touch"===e.pointerType||!R.select("open")||!b||z(e)||E(e);else E(e)})}function O(e){if(!F.current)return;let n=B.current;if(l(),"intentional"===h()){if("pointercancel"===e.type){n&&o();return}v(e)||(n?o():("function"!=typeof L||L(e))&&(t.clear(),H.current=!0,K()))}}function x(e){if("sloppy"!==h()||!j.current||z(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-j.current.startX),r=Math.abs(t.clientY-j.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(j.current.dismissOnTouchEnd=!0),i>10&&(E(e),U.clear(),j.current=null)}function k(e){"sloppy"!==h()||!j.current||z(e)||(j.current.dismissOnTouchEnd&&E(e),U.clear(),j.current=null)}let Y=(0,i.ownerDocument)(P),J=(0,r.mergeCleanups)(S&&(0,r.mergeCleanups)((0,n.addEventListener)(Y,"keydown",X),(0,n.addEventListener)(Y,"compositionstart",function(){e.clear(),V.current=!0}),(0,n.addEventListener)(Y,"compositionend",function(){e.start(5*!!a.platform.engine.webkit,()=>{V.current=!1})})),M&&(0,r.mergeCleanups)((0,n.addEventListener)(Y,"click",C,!0),(0,n.addEventListener)(Y,"pointerdown",C,!0),(0,n.addEventListener)(Y,"pointerup",O,!0),(0,n.addEventListener)(Y,"pointercancel",O,!0),(0,n.addEventListener)(Y,"mousedown",C,!0),(0,n.addEventListener)(Y,"mouseup",O,!0),(0,n.addEventListener)(Y,"touchstart",function(e){W.current="touch",T(e,
1y)},!0),(0,n.addEventListener)(Y,"touchmove",function(e){T(e,x)},!0),(0,n.addEventListener)(Y,"touchend",function(e){T(e,k)},!0)));return()=>{J(),e.clear(),t.clear(),l(),H.current=!1,K()}},[A,P,S,M,L,I,b,D,_,X,K,N,G,z,w,R,U]);let Z=t.useMemo(()=>({onKeyDown:X,onPointerDown:J,onClick:J}),[X,J]),ee=t.useMemo(()=>({onKeyDown:X,onPointerDown:Q,onMouseDown:Q,onClickCapture:$,onMouseDownCapture(e){$(),q(e)},onPointerDownCapture(e){$(),q(e)},onMouseUpCapture:$,onTouchEndCapture:$,onTouchMoveCapture:$}),[X,$,q,Q]);return t.useMemo(()=>b?{reference:Z,floating:ee,trigger:Z}:{},[b,Z,ee])}])},50527,e=>{"use strict";var t=e.i(71645),n=e.i(46376),r=e.i(29315),i=e.i(56341);e.s(["useSyncedFloatingRootContext",0,function(e){let{popupStore:o,treatPopupAsFloatingElement:s=!1,floatingRootContext:u,floatingId:a,nested:l,onOpenChange:c}=e,d=o.useState("open"),f=o.useState("activeTriggerElement"),p=o.useState(s?"popupElement":"positionerElement"),g=o.context.triggerElements,h=t.useRef(null);void 0===u&&null===h.current&&(h.current=new i.FloatingRootStore({open:d,transitionStatus:void 0,referenceElement:f,floatingElement:p,triggerElements:g,onOpenChange:c,floatingId:a,syncOnly:!0,nested:l}));let m=u??h.current;return o.useSyncedValue("floatingId",a),(0,n.useIsoLayoutEffect)(()=>{let e={open:d,floatingId:a,referenceElement:f,floatingElement:p};(0,r.isElement)(f)&&(e.domReferenceElement=f),m.state.positionReference===m.state.referenceElement&&(e.positionReference=f),m.update(e)},[d,a,f,p,m]),m.context.onOpenChange=c,m.context.nested=l,m}])},21082,43084,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,s=Math.floor,u={left:"right",right:"left",bottom:"top",top:"bottom"};function a(e){return e.split("-")[0]}function l(e){return e.split("-")[1]}function c(e){return"x"===e?"y":"x"}function d(e){return"y"===e?"height":"width"}function f(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function p(e){return c(f(e))}function g(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let h=["left","right"],m=["right","left"],v=["top","bottom"],E=["bottom","top"];function b(e){let t=a(e);return u[t]+e.slice(t.length)}e.s(["clamp",0,function(e,t,n){return i(e,r(t,n))},"createCoords",0,e=>({x:e,y:e}),"evaluate",0,function(e,t){return"function"==typeof e?e(t):e},"floor",0,s,"getAlignment",0,l,"getAlignmentAxis",0,p,"getAlignmentSides",0,function(e,t,n){void 0===n&&(n=!1);let r=l(e),i=p(e),o=d(i),s="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=b(s)),[s,b(s)]},"getAxisLength",0,d,"getExpandedPlacements",0,function(e){let t=b(e);return[g(e),t,g(t)]},"getOppositeAlignmentPlacement",0,g,"getOppositeAxis",0,c,"getOppositeAxisPlacements",0,function(e,t,n,r){let i=l(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?m:h;return t?h:m;case"left":case"right":return t?v:E;default:return[]}}(a(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(g)))),o},"getOppositePlacement",0,b,"getPaddingObject",0,function(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}},"getSide",0,a,"getSideAxis",0,f,"max",0,i,"min",0,r,"placements",0,n,"rectToClientRect",0,function(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}},"round",0,o,"sides",0,t],43084);var S=e.i(29315),y=e.i(57940),T=e.i(49055);function C(e,t,n){return Math.floor(e/t)!==n}function O(e,t){return t<0||t>=e.length}function x(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let o=t;do o+=n?-i:i;while(o>=0&&o<=e.length-1&&R(e,o,r))return o}function R(e,t,n){if("function"==typeof n?n(t):n?.includes(t)??!1)return!0;let r=e[t];return!!r&&(!!(!I(r)||r.matches(":disabled"))||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}function I(e,t=e?(0,S.getComputedStyle)(e):null){var n;
1return!!e&&!!e.isConnected&&!!t&&"hidden"!==(n=t).visibility&&"collapse"!==n.visibility&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==t.display&&"contents"!==t.display)}e.s(["findNonDisabledListIndex",0,x,"getGridNavigatedIndex",0,function(e,{event:t,orientation:n,loopFocus:r,onLoop:i,rtl:o,cols:u,disabledIndices:a,minIndex:l,maxIndex:c,prevIndex:d,stopEvent:f=!1}){let p,g=d;if(t.key===T.ARROW_UP?p="up":t.key===T.ARROW_DOWN&&(p="down"),p){let n=[],o=[],h=!1,m=0;{let t=null,r=-1;e.forEach((e,i)=>{if(null==e)return;m+=1;let s=e.closest('[role="row"]');s&&(h=!0),(s!==t||-1===r)&&(t=s,n[r+=1]=[]),n[r].push(i),o[i]=r})}let v=!1,E=0;if(h)for(let e of n){let t=e.length;t>E&&(E=t),t!==u&&(v=!0)}let b=v&&m<e.length,S=E||u;f&&(0,y.stopEvent)(t);let T=(s=>{if(!v||-1===d)return;let u=o[d];if(null==u)return;let l=n[u].indexOf(d),c="up"===s?-1:1;for(let s=u+c,f=0;f<n.length;f+=1,s+=c){if(s<0||s>=n.length){if(!r||b)return;if(s=s<0?n.length-1:0,i){let e=Math.min(l,n[s].length-1);s=o[i(t,d,n[s][e]??n[s][0])]??s}}let u=n[s];for(let t=Math.min(l,u.length-1);t>=0;t-=1){let n=u[t];if(!R(e,n,a))return n}}})(p)??(t=>{if(!b||-1===d)return;let n=d%S,i="up"===t?-S:S,o=c-c%S,u=s(c/S)+1;for(let t=d-n+i,s=0;s<u;s+=1,t+=i){if(t<0||t>c){if(!r)return;t=t<0?o:0}let i=Math.min(t+S-1,c);for(let r=Math.min(t+n,i);r>=t;r-=1)if(!R(e,r,a))return r}})(p);if(void 0!==T)g=T;else if(-1===d)g="up"===p?c:l;else if(g=x(e,{startingIndex:d,amount:S,decrement:"up"===p,disabledIndices:a}),r){if("up"===p&&(d-S<l||g<0)){let e=d%S,n=c%S,r=c-(n-e);g=n===e?c:n>e?r:r-S,i&&(g=i(t,d,g))}"down"===p&&d+S>c&&(g=x(e,{startingIndex:d%S-S,amount:S,disabledIndices:a}),i&&(g=i(t,d,g)))}O(e,g)&&(g=d)}if("both"===n){let n=s(d/u);t.key===(o?T.ARROW_LEFT:T.ARROW_RIGHT)&&(f&&(0,y.stopEvent)(t),d%u!=u-1?(g=x(e,{startingIndex:d,disabledIndices:a}),r&&C(g,u,n)&&(g=x(e,{startingIndex:d-d%u-1,disabledIndices:a}),i&&(g=i(t,d,g)))):r&&(g=x(e,{startingIndex:d-d%u-1,disabledIndices:a}),i&&(g=i(t,d,g))),C(g,u,n)&&(g=d)),t.key===(o?T.ARROW_RIGHT:T.ARROW_LEFT)&&(f&&(0,y.stopEvent)(t),d%u!=0?(g=x(e,{startingIndex:d,decrement:!0,disabledIndices:a}),r&&C(g,u,n)&&(g=x(e,{startingIndex:d+(u-d%u),decrement:!0,disabledIndices:a}),i&&(g=i(t,d,g)))):r&&(g=x(e,{startingIndex:d+(u-d%u),decrement:!0,disabledIndices:a}),i&&(g=i(t,d,g))),C(g,u,n)&&(g=d));let l=s(c/u)===n;O(e,g)&&(r&&l?(g=t.key===(o?T.ARROW_RIGHT:T.ARROW_LEFT)?c:x(e,{startingIndex:d-d%u-1,disabledIndices:a}),i&&(g=i(t,d,g))):g=d)}return g},"getMaxListIndex",0,function(e,t){return x(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})},"getMinListIndex",0,function(e,t){return x(e.current,{disabledIndices:t})},"isElementVisible",0,I,"isIndexOutOfListBounds",0,O,"isListIndexDisabled",0,R],21082)},51321,e=>{"use strict";e.s(["createAttribute",0,function(e){return`data-base-ui-${e}`}])},96296,49055,e=>{"use strict";var t=e.i(29315),n=e.i(28744);let r="data-base-ui-focusable",i="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";e.s(["ARROW_DOWN",0,"ArrowDown","ARROW_LEFT",0,"ArrowLeft","ARROW_RIGHT",0,"ArrowRight","ARROW_UP",0,"ArrowUp","FOCUSABLE_ATTRIBUTE",0,r,"TYPEABLE_SELECTOR",0,i],49055);var o=e.i(47554);function s(e){return(0,t.isHTMLElement)(e)&&e.matches(i)}e.s(["getFloatingFocusElement",0,function(e){return e?e.hasAttribute(r)?e:e.querySelector(`[${r}]`)||e:null},"isEventTargetWithin",0,function(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))},"isInteractiveElement",0,function(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${i}`)!=null},"isRootElement",0,function(e){return e.matches("html,body")},"isTargetInsideEnabledTrigger",0,function(e,n){if(!(0,t.isElement)(e))return!1;if(n.hasElement(e))return!e.hasAttribute("data-trigger-disabled");for(let[,t]of n.entries())if((0,o.contains)(t,e))return!t.hasAttribute("data-trigger-disabled");return!1},"isTypeableCombobox",0,function(e){return!!e&&"combobox"===e.getAttribute("role")&&s(e)},"isTypeableElement",0,s,"matchesFocusVisible",0,function(e){if(!e||n.platform.env.jsdom)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}],96296)},57940,e=>{"use strict";var t=e.i(28744);e.s(["isClickLikeEvent",0,function(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t},"isMouseLikePointerType",0,function(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)},"isReactEvent",0,function(e){return"nativeEvent"in e},"isVirtualClick",0,function(e){return""===e.pointerType&&!!e.isTrusted||(t.platform.os.android&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)},"isVirtualPointerEvent",0,function(e){return!t.platform.env.jsdom&&(!t.platform.os.android&&0===e.width&&0===e.height||t.platform.os.android&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)},"stopEvent",0,function(e){e.preventDefault(),e.stopPropagation()}])},58408,e=>{"use strict";e.s(["getNodeAncestors",0,function(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n},"getNodeChildren",0,function e(t,n,r=!0){return t.filter(e=>e.parentId===n).flatMap(n=>[...!r||n.context?.open?[n]:[],...e(t,n.id,r)])}])},83976,e=>{"use strict";var t=e.i(29315),n=e.i(8868),r=e.i(47554),i=e.i(21082);function o(e){for(let n of Array.from(e.children))if("summary"===(0,t.getNodeName)(n))return n;return null}function s(e){let n=e?(0,t.getNodeName)(e):"";return null!=e&&e.matches('a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]')&&("summary"!==n||null!=e.parentElement&&"details"===(0,t.getNodeName)(e.parentElement)&&o(e.parentElement)===e)&&("details"!==n||null==o(e))&&("input"!==n||"hidden"
1!==e.type)}function u(e){if(!s(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let n=e;n;n=function(e){let n=e.assignedSlot;if(n)return n;if(e.parentElement)return e.parentElement;let r=e.getRootNode();return(0,t.isShadowRoot)(r)?r.host:null}(n)){let s=n!==e,u="slot"===(0,t.getNodeName)(n);if(n.hasAttribute("inert")||s&&"details"===(0,t.getNodeName)(n)&&!n.open&&!function(e,t){let n=o(t);return!!n&&(e===n||(0,r.contains)(n,e))}(e,n)||n.hasAttribute("hidden")||!u&&!function(e,n){let r=(0,t.getComputedStyle)(e);return n?"none"!==r.display:(0,i.isElementVisible)(e,r)}(n,s))return!1}return!0}function a(e){let n=e.tabIndex;if(n<0){let n=(0,t.getNodeName)(e);if("details"===n||"audio"===n||"video"===n||(0,t.isHTMLElement)(e)&&e.isContentEditable)return 0}return n}function l(e){return"input"!==(0,t.getNodeName)(e)?null:"radio"===e.type&&""!==e.name?e:null}function c(e){if((0,t.isHTMLElement)(e)&&"slot"===(0,t.getNodeName)(e)){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return(0,t.isHTMLElement)(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function d(e){let t=[];return!function e(t,n){c(t).forEach(t=>{s(t)&&n.push(t),e(t,n)})}(e,t),t.filter(u)}function f(e){let t=d(e);return t.filter(e=>a(e)>=0&&function(e,t){let n=l(e);if(!n)return!0;let r=t.find(e=>{let t=l(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=l(e);return t?.name===n.name&&t.form===n.form})===n}(e,t))}function p(e,t){let i=f(e),o=i.length;if(0===o)return;let s=(0,r.activeElement)((0,n.ownerDocument)(e)),u=i.indexOf(s);return i[-1===u?1===t?0:o-1:u+t]}function g(e,t){if(!e)return null;let r=f((0,n.ownerDocument)(e).body),i=r.length;if(0===i)return null;let o=r.indexOf(e);return -1===o?null:r[(o+t+i)%i]}e.s(["disableFocusInside",0,function(e){f(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})},"enableFocusInside",0,function(e){let n=[];!function e(n,r,i){c(n).forEach(n=>{(0,t.isHTMLElement)(n)&&n.matches(r)&&i.push(n),e(n,r,i)})}(e,"[data-tabindex]",n),n.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})},"focusable",0,d,"getNextTabbable",0,function(e){return p((0,n.ownerDocument)(e).body,1)||e},"getPreviousTabbable",0,function(e){return p((0,n.ownerDocument)(e).body,-1)||e},"getTabbableAfterElement",0,function(e){return g(e,1)},"getTabbableBeforeElement",0,function(e){return g(e,-1)},"isOutsideEvent",0,function(e,t){let n=t||e.currentTarget,i=e.relatedTarget;return!i||!(0,r.contains)(n,i)},"isTabbable",0,function(e){return u(e)&&a(e)>=0},"tabbable",0,f])},52535,e=>{"use strict";e.i(47167);var t=e.i(71645),n=e.i(46376),r=e.i(28744),i=e.i(2077),o=e.i(43476);let s=t.forwardRef(function(e,s){let[u,a]=t.useState();return(0,n.useIsoLayoutEffect)(()=>{r.platform.screenReader.voiceOver&&r.platform.engine.webkit&&a("button")},[]),(0,o.jsx)("span",{...e,ref:s,style:i.visuallyHidden,"aria-hidden":!u||void 0,...{tabIndex:0,role:u},"data-base-ui-focus-guard":""})});e.s(["FocusGuard",0,s])},18478,e=>{"use strict";var t=e.i(33625);class n extends t.ReactStore{setState(e){}update(e){}set(e,t){}notifyAll(){}}e.s(["NullStore",0,n])},5005,e=>{"use strict";var t,n=e.i(9407);(t={}).open="data-open",t.closed="data-closed",t[t.startingStyle=n.TransitionStatusDataAttributes.startingStyle]="startingStyle",t[t.endingStyle=n.TransitionStatusDataAttributes.endingStyle]="endingStyle",t.anchorHidden="data-anchor-hidden",t.side="data-side",t.align="data-align";let r={"data-popup-open":""},i={"data-popup-open":"","data-pressed":""},o={"data-open":""},s={"data-closed":""},u={"data-anchor-hidden":""},a={open:e=>e?o:s,anchorHidden:e=>e?u:null},l={...a,...n.transitionStatusMapping};e.s(["popupStateMapping",0,a,"popupTransitionStateMapping",0,l,"pressableTriggerOpenStateMapping",0,{open:e=>e?i:null},"triggerOpenStateMapping",0,{open:e=>e?r:null}])},64170,e=>{"use strict";e.i(47167);var t=e.i(33332),n=e.i(75606),r=e.i(56434);class i{attachedStores=[];attachedStoreValue=null;storeListeners=new Set;constructor(e,t,n=!0){this.fallbackStore=e,this.componentName=t,this.throwOnMissingTrigger=n}get attachedStore(){return this.attachedStoreValue}
1get store(){return this.attachedStoreValue??this.fallbackStore}get serverStore(){return this.fallbackStore}subscribeStore(e){return this.storeListeners.add(e),()=>{this.storeListeners.delete(e)}}attachStore(e){return this.attachedStores.push(e),this.setActiveStore(e),()=>{let t=this.attachedStores.lastIndexOf(e);-1!==t&&this.attachedStores.splice(t,1),this.setActiveStore(this.attachedStores[this.attachedStores.length-1]??null)}}setActiveStore(e){this.attachedStoreValue!==e&&(this.attachedStoreValue=e,this.storeListeners.forEach(e=>{e()}))}openByTrigger(e){let i,o=this.attachedStore;if(null!==o){if(e){for(let t=this.attachedStores.length-1;t>=0&&!i;t-=1)i=this.attachedStores[t].context.triggerElements.getById(e);i??=this.fallbackStore.context.triggerElements.getById(e)}if(e&&!i&&this.throwOnMissingTrigger)throw Error((0,t.default)(99,this.componentName,e,this.componentName));o.setOpen(!0,(0,n.createChangeEventDetails)(r.REASONS.imperativeAction,void 0,i))}}closePopup(){let e=this.attachedStore;null===e||e.setOpen(!1,(0,n.createChangeEventDetails)(r.REASONS.imperativeAction))}}e.s(["BasePopupHandle",0,i])},64111,e=>{"use strict";var t=e.i(71645),n=e.i(74080),r=e.i(56789),i=e.i(83977),o=e.i(67865),s=e.i(46376),u=e.i(88940),a=e.i(49055),l=e.i(46420),c=e.i(50527),d=e.i(23910),f=e.i(37584),p=e.i(75606),g=e.i(56434);let h={tabIndex:-1,[a.FOCUSABLE_ATTRIBUTE]:""};function m(e,n){let r=t.useRef(null),i=t.useRef(null);return t.useCallback(t=>{if(void 0===e)return;let o=!1;if(null!==r.current){let e=r.current,t=i.current,s=n.context.triggerElements.getById(e);t&&s===t&&(n.context.triggerElements.delete(e),o=!0),r.current=null,i.current=null}if(null!==t&&(r.current=e,i.current=t,n.context.triggerElements.add(e,t),o=!0),o){let e=n.context.triggerElements.size;n.select("open")&&n.state.triggerCount!==e&&n.set("triggerCount",e)}},[n,e])}function v(e,t,n,r=!1){t?e.preventUnmountingOnClose=!1:r&&(e.preventUnmountingOnClose=!0);let i=n?.id??null;(i||t)&&(e.activeTriggerId=i,e.activeTriggerElement=n??null)}function E(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}e.s(["FOCUSABLE_POPUP_PROPS",0,h,"PopupHandleAttachment",0,function({handle:e,store:t}){return(0,s.useIsoLayoutEffect)(()=>e.attachStore(t),[e,t]),null},"applyPopupOpenChange",0,function(e,t,r,i={}){let o=r.reason,s=o===g.REASONS.triggerHover,u=t&&o===g.REASONS.triggerFocus,a=!t&&(o===g.REASONS.triggerPress||o===g.REASONS.escapeKey),l=E(r);if(e.context.onOpenChange?.(t,r),r.isCanceled)return;i.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,r);let c=()=>{let n={...i.extraState,open:t};u?n.instantType="focus":a?n.instantType="dismiss":s&&(n.instantType=void 0),v(n,t,r.trigger,l()),e.update(n)};s?n.flushSync(c):c()},"attachPreventUnmountOnClose",0,E,"createDefaultInitialFocus",0,function(e){return t=>"touch"!==t||e.current},"setPopupOpenState",0,v,"useImplicitActiveTrigger",0,function(e,n={}){let{closeOnActiveTriggerUnmount:r=!1}=n,i=t.useRef(null),o=e.useState("open"),u=e.useState("triggerCount"),a=e.useState("activeTriggerId"),l=e.useState("activeTriggerElement");(0,s.useIsoLayoutEffect)(()=>{if(!o){i.current=null,0!==e.state.triggerCount&&e.set("triggerCount",0);return}let t=e.context.triggerElements.size,n={};e.state.triggerCount!==t&&(n.triggerCount=t);let s=e.select("activeTriggerId"),u=null;if(s){let t=e.context.triggerElements.getById(s);if(t)i.current=s,t!==e.state.activeTriggerElement&&(n.activeTriggerElement=t);else{for(let[t,r]of e.context.triggerElements.entries())if(r===e.state.activeTriggerElement){n.activeTriggerId=t,n.activeTriggerElement=r,i.current=t;break}void 0===n.activeTriggerId&&(i.current===s?u=s:i.current=null)}}else i.current=null;if(!u&&!s&&1===t){let t=e.context.triggerElements.entries().next();if(!t.done){let[e,r]=t.value;n.activeTriggerId=e,n.activeTriggerElement=r,i.current=e}}(void 0!==n.triggerCount||void 0!==n.activeTriggerId||void 0!==n.activeTriggerElement)&&e.update(n),u&&r&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===u&&!e.context.triggerElements.getById(u)){let t=(0,p.createChangeEventDetails)(g.REASONS.none);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[o,e,u,a,l,r])},"useOpenStateTransitions",0,function(e,t,n){let{mounted:r,setMounted:i,transitionStatus:s}=(0,d.useTransitionStatus)(e),u=t.useState("preventUnmountingOnClose"),a=!e&&u;t.useSyncedValues({mounted:r,transitionStatus:s,preventUnmountingOnClose:a});let l=(0,o.useStableCallback)(()=>{i(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)});return(0,f.useOpenChangeComplete)({enabled:r&&!e&&!a,open:e,ref:t.context.popupRef,onComplete(){e||l()}}),{forceUnmount:l,transitionStatus:s}},"usePopupInteractionProps",0,function(e,t){e.useSyncedValues(t),(0,s.useIsoLayoutEffect)(()=>()=>{e.update({activeTriggerProps:r.EMPTY_OBJECT,inactiveTriggerProps:r.EMPTY_OBJECT,popupProps:r.EMPTY_OBJECT})},[e])},"usePopupRootStore",0,function(e,t=!1){let n=(0,i.useId)(),r=null!=(0,l.useFloatingParentNodeId)(),o=(0,u.useRefWithInit)(()=>e(n,r)).current;return(0,c.useSyncedFloatingRootContext)({popupStore:o,treatPopupAsFloatingElement:t,floatingRootContext:o.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:o.setOpen}),o},"usePopupRootSync",0,function(e,t){(0,s.useIsoLayoutEffect)(()=>{t||null===e.state.openMethod||e.set("openMethod",null)},[t,e]),(0,s.useIsoLayoutEffect)(()=>()=>{null!==e.state.openMethod&&e.set("openMethod",null)},[e])},"useTriggerDataForwarding",0,function(e,n,r,i){let u=r.useState("isMountedByTrigger",e),a=m(e,r),l=(0,o.useStableCallback)(t=>{let n=r.select("open"),o=r.select("activeTriggerId");o===e?r.update({activeTriggerElement:t,...n?i:null}):null==o&&n&&r.update({activeTriggerId:e,activeTriggerElement:t,...i})}),c=t.useCallback(e=>{a(e),e&&l(e)},[a,l]);return(0,s.useIsoLayoutEffect)(()=>{u&&r.update({activeTriggerElement:n.current,...i})},[u,r,n,...Object.values(i)]),{registerTrigger:c,isMountedByThisTrigger:u}},"useTriggerRegistration",0,m])},90627,e=>{"use strict";e.i(47167),e.s(["PopupTriggerMap",0,class{constructor(){this.idMap=new Map}add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}}])},16786,e=>{"use strict";var t=e.i(56789),n=e.i(56341),r=e.i(90627);let i=e=>e.triggerIdProp??e.activeTriggerId,o=e=>e.openProp??e.open,s=e=>(e.popupElement?.id??e.floatingId)||void 0;function u(e,t){return void 0!==t&&o(e)&&i(e)===t}e.s(["createInitialPopupStoreState",0,function(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new n.FloatingRootStore({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new r.PopupTriggerMap,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0}),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:t.EMPTY_OBJECT,inactiveTriggerProps:t.EMPTY_OBJECT,popupProps:t.EMPTY_OBJECT}},"createPopupFloatingRootContext",0,function(e,t,r=!1){return new n.FloatingRootStore({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:r,onOpenChange:void 0})},"popupStoreSelectors",0,{open:o,mounted:e=>e.mounted,transitionStatus:e=>e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:i,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:s,isTriggerActive:(e,t)=>
1void 0!==t&&i(e)===t,isOpenedByTrigger:(e,t)=>u(e,t),isMountedByTrigger:(e,t)=>void 0!==t&&i(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>u(e,t)||void 0!==t&&o(e)&&null==i(e)&&1===e.triggerCount?s(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement}],16786)},59636,e=>{"use strict";var t=e.i(71645),n=e.i(2239),r=e.i(56789);e.s(["usePopupHandleStore",0,function(e){let i=t.useCallback(t=>void 0===e?r.NOOP:e.subscribeStore(t),[e]),o=t.useCallback(()=>void 0===e?void 0:e.store,[e]);return(0,n.useSyncExternalStore)(i,o,()=>e?.serverStore)}])},96499,e=>{"use strict";let t;var n=e.i(71645),r=e.i(88940);let i=[];function o(e){let n=(n,o)=>{let u,a=(0,r.useRefWithInit)(s).current;try{for(let e of(t=a,i))e.before(a);for(let t of(u=e(n,o),i))t.after(a);a.didInitialize=!0}finally{t=void 0}return u};return n.displayName=e.displayName||e.name,n}function s(){return{didInitialize:!1}}e.s(["fastComponent",0,o,"fastComponentRef",0,function(e){return n.forwardRef(o(e))},"getInstance",0,function(){return t},"register",0,function(e){i.push(e)}])},44394,e=>{"use strict";var t=e.i(58321);e.s(["inertValue",0,function(e){return(0,t.isReactVersionAtLeast)(19)?e:e?"true":void 0}])},65420,e=>{"use strict";e.s(["mergeCleanups",0,function(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}])},28744,e=>{"use strict";e.s([],64949),e.i(64949);let{userAgent:t,platform:n,maxTouchPoints:r}="u"<typeof navigator?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0},i=t.toLowerCase(),o=n.toLowerCase(),s=/^i(os$|p)/.test(o)||"macintel"===o&&r>1,u="android",a=o===u||i.includes(u),l=!s&&o.startsWith("mac"),c=o.startsWith("win"),d=!a&&/^(linux|chrome os)/.test(o),f=l||s;e.s(["android",0,a,"apple",0,f,"ios",0,s,"linux",0,d,"mac",0,l,"windows",0,c],3720);var p=e.i(3720);let g="u">typeof CSS&&!!CSS.supports?.("-webkit-backdrop-filter:none"),h=!g&&i.includes("firefox"),m=!g&&i.includes("chrom");e.s(["blink",0,m,"gecko",0,h,"webkit",0,g],79850);var v=e.i(79850);e.s(["voiceOver",0,f],99170);var E=e.i(99170);let b=/jsdom|happydom/.test(i);e.s(["jsdom",0,b],36174);var S=e.i(36174);e.s(["engine",0,v,"env",0,S,"os",0,p,"screenReader",0,E],69062);var y=e.i(69062);e.s(["platform",0,y],28744)},33625,34346,14935,e=>{"use strict";var t=e.i(71645),n=e.i(2239),r=e.i(30224),i=e.i(58321),o=e.i(96499);let s=(0,i.isReactVersionAtLeast)(19)?function(e,r,i,s,u){let a,l=(0,o.getInstance)();if(!l){let o;return o=t.useCallback(()=>r(e.getSnapshot(),i,s,u),[e,r,i,s,u]),(0,n.useSyncExternalStore)(e.subscribe,o,o)}let c=l.syncIndex;return l.syncIndex+=1,l.didInitialize?(a=l.syncHooks[c]).store===e&&a.selector===r&&Object.is(a.a1,i)&&Object.is(a.a2,s)&&Object.is(a.a3,u)||(a.store!==e&&(l.didChangeStore=!0),a.store=e,a.selector=r,a.a1=i,a.a2=s,a.a3=u,a.value=r(e.getSnapshot(),i,s,u)):(a={store:e,selector:r,a1:i,a2:s,a3:u,value:r(e.getSnapshot(),i,s,u)},l.syncHooks.push(a)),a.value}:function(e,t,n,i,o){return(0,r.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,i,o))};function u(e,t,n,r,i){return s(e,t,n,r,i)}(0,o.register)({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,n.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}}),e.s(["useStore",0,u],34346);class a{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return u(this,e,t,n,r)}}e.s(["Store",0,a],14935);var l=e.i(67865),c=e.i(46376),d=e.i(56789);e.s(["ReactStore",0,class extends a{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,n){t.useDebugValue(e);let r=this;(0,c.useIsoLayoutEffect)(()=>{r.state[e]!==n&&r.set(e,n)},[r,e,n])}useSyncedValueWithCleanup(e,t){let n=this;(0,c.useIsoLayoutEffect)(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);(0,c.useIsoLayoutEffect)(()=>{t.update(e)},[t,...n])}useControlledProp(e,n){t.useDebugValue(e);let r=this,i=void 0!==n;(0,c.useIsoLayoutEffect)(()=>{i&&!Object.is(r.state[e],n)&&r.setState({...r.state,[e]:n})},[r,e,n,i])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,n,r,i){return t.useDebugValue(e),u(this,this.selectors[e],n,r,i)}useContextCallback(e,n){t.useDebugValue(e);let r=(0,l.useStableCallback)(n??d.NOOP);this.context[e]=r}useStateSetter(e){let n=t.useRef(void 0);return void 0===n.current&&(n.current=t=>{this.set(e,t)}),n.current}observe(e,t){let n,r=(n="function"==typeof e?e:this.selectors[e])(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}}],33625)},2077,e=>{"use strict";
1let t={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},n={...t,position:"fixed",top:0,left:0},r={...t,position:"absolute"};e.s(["visuallyHidden",0,n,"visuallyHiddenInput",0,r])},55838,(e,t,n)=>{"use strict";var r=e.r(71645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,s=r.useEffect,u=r.useLayoutEffect,a=r.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return u(function(){i.value=n,i.getSnapshot=t,l(i)&&c({inst:i})},[e,n,t]),s(function(){return l(i)&&c({inst:i}),e(function(){l(i)&&c({inst:i})})},[e]),a(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},2239,(e,t,n)=>{"use strict";e.i(47167),t.exports=e.r(55838)},52822,(e,t,n)=>{"use strict";var r=e.r(71645),i=e.r(2239),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,u=r.useRef,a=r.useEffect,l=r.useMemo,c=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=u(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=s(e,(d=l(function(){function e(e){if(!a){if(a=!0,s=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return u=t}return u=e}if(t=u,o(s,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(s=e,t):(s=e,u=n)}var s,u,a=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,n,r,i]))[0],d[1]);return a(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}},30224,(e,t,n)=>{"use strict";e.i(47167),t.exports=e.r(52822)}]);
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.