PageSourceSearch

https://app.meticulous.ai/_next/static/chunks/2-gla2cnus89r.js

js meticulous.ai collected 2026-09-25 13:59:12 UTC 95,072 bytes, 61 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="39be10df-4556-7c70-c94d-8df91e64bf08")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,948833,24842,130234,e=>{"use strict";var t=e.i(687652),n=e.i(23416),r=e.i(937159),i=e.i(477373),o=e.i(230250);let s={...i.popupStateMapping,...o.transitionStatusMapping},l=t.forwardRef(function(e,t){let{render:i,className:o,style:l,forceRender:a=!1,...u}=e,{store:c}=(0,n.useDialogRootContext)(),d=c.useState("open"),f=c.useState("nested"),p=c.useState("mounted"),g=c.useState("transitionStatus");return(0,r.useRenderElement)("div",e,{state:{open:d,transitionStatus:g},ref:[c.context.backdropRef,t],stateAttributesMapping:s,props:[{role:"presentation",hidden:!p,style:{userSelect:"none",WebkitUserSelect:"none"}},u],enabled:a||!f})});e.s(["DialogBackdrop",0,l],948833);var a=e.i(87820),u=e.i(590357),c=e.i(39588);let d=t.forwardRef(function(e,t){let{render:i,className:o,style:s,disabled:l=!1,nativeButton:d=!0,...f}=e,{store:p}=(0,n.useDialogRootContext)(),g=p.useState("open"),{getButtonProps:m,buttonRef:h}=(0,a.useButton)({disabled:l,native:d});return(0,r.useRenderElement)("button",e,{state:{disabled:l},ref:[t,h],props:[{onClick:function(e){g&&p.setOpen(!1,(0,u.createChangeEventDetails)(c.REASONS.closePress,e.nativeEvent))}},f,m]})});e.s(["DialogClose",0,d],24842);var f=e.i(529318);let p=t.forwardRef(function(e,t){let{render:i,className:o,style:s,id:l,...a}=e,{store:u}=(0,n.useDialogRootContext)(),c=(0,f.useBaseUiId)(l);return u.useSyncedValueWithCleanup("descriptionElementId",c),(0,r.useRenderElement)("p",e,{ref:t,props:[{id:c},a]})});e.s(["DialogDescription",0,p],130234)},345196,193211,e=>{"use strict";e.i(44652);var t=e.i(948833),n=e.i(24842),r=e.i(130234),i=e.i(55828),o=e.i(561592),s=e.i(41047),l=e.i(884161),a=e.i(276055),u=e.i(499659),c=e.i(687652),d=e.i(23416),f=e.i(87820),p=e.i(937159),g=e.i(477373),m=e.i(106896),h=e.i(792253),v=e.i(529318),b=e.i(253386),x=e.i(975514);let S=c.forwardRef(function(e,t){let{render:n,className:r,style:i,disabled:o=!1,nativeButton:s=!0,id:l,payload:a,handle:S,...E}=e,y=(0,d.useDialogRootContext)(!0),C=S?.store??y?.store;if(!C)throw Error((0,u.default)(79));let w=(0,v.useBaseUiId)(l),R=C.useState("floatingRootContext"),T=C.useState("isOpenedByTrigger",w),O=C.useState("triggerPopupId",w),N=c.useRef(null),{registerTrigger:I,isMountedByThisTrigger:k}=(0,h.useTriggerDataForwarding)(w,N,C,{payload:a}),{getButtonProps:P,buttonRef:j}=(0,f.useButton)({disabled:o,native:s}),D=(0,b.useClick)(R,{enabled:null!=R}),A=(0,x.useOpenMethodTriggerProps)(()=>C.select("open"),e=>{C.set("openMethod",e)}),M=C.useState("triggerProps",k);return(0,p.useRenderElement)("button",e,{state:{disabled:o,open:T},ref:[j,t,I,N],props:[D.reference,M,A,{[m.CLICK_TRIGGER_IDENTIFIER]:"",id:w,"aria-haspopup":"dialog","aria-expanded":T,"aria-controls":O},E,P],stateAttributesMapping:g.triggerOpenStateMapping})});var E=e.i(642587),y=e.i(590357),C=e.i(39588);class w{constructor(e){this.store=e??new E.DialogStore}open(e){let t=e?this.store.context.triggerElements.getById(e):void 0;this.store.setOpen(!0,(0,y.createChangeEventDetails)(C.REASONS.imperativeAction,void 0,t))}openWithPayload(e){this.store.set("payload",e),this.store.setOpen(!0,(0,y.createChangeEventDetails)(C.REASONS.imperativeAction,void 0,void 0))}close(){this.store.setOpen(!1,(0,y.createChangeEventDetails)(C.REASONS.imperativeAction,void 0,void 0))}get isOpen(){return this.store.select("open")}}e.s(["Backdrop",()=>t.DialogBackdrop,"Close",()=>n.DialogClose,"Description",()=>r.DialogDescription,"Handle",0,w,"Popup",()=>i.DialogPopup,"Portal",()=>o.DialogPortal,"Root",()=>s.DialogRoot,"Title",()=>a.DialogTitle,"Trigger",0,S,"Viewport",()=>l.DialogViewport,"createHandle",0,function(){return new w}],554622);var R=e.i(554622);e.s(["Dialog",0,R],345196);let T=c.forwardRef(function({title:e,titleId:t,...n},r){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?c.createElement("title",{id:t},e):null,c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"}))});e.s(["BellIcon",0,T],193211)},55828,e=>{"use strict";e.i(989757);var t=e.i(687652),n=e.i(201779),r=e.i(23416),i=e.i(937159),o=e.i(477373),s=e.i(230250),l=e.i(515577),a=e.i(164075),u=e.i(433850),c=e.i(598137),d=e.i(706625),f=e.i(792253),p=e.i(318008);let g={...o.popupStateMapping,...s.transitionStatusMapping,nestedDialogOpen:e=>e?{[a.DialogPopupDataAttributes.nestedDialogOpen]:""}:null},m=t.forwardRef(function(e,t){let{render:o,className:s,style:a,finalFocus:m,initialFocus:h,...v}=e,{store:b}=(0,r.useDialogRootContext)(),x=b.useState("descriptionElementId"),S=b.useState("disablePointerDismissal"),E=b.useState("floatingRootContext"),y=b.useState("popupProps"),C=b.useState("modal"),w=b.useState("mounted"),R=b.useState("nested"),T=b.useState("nestedOpenDialogCount"),O=b.useState("open"),N=b.useState("openMethod"),I=b.useState("titleElementId"),k=b.useState("transitionStatus"),P=b.useState("role"),j=E.useState("floatingId"),D=v.id??j;(0,u.useDialogPortalContext)(),(0,c.useOpenChangeComplete)({open:O,ref:b.context.popupRef,onComplete(){O&&b.context.onOpenChangeComplete?.(!0)}});let A=void 0===h?(0,f.createDefaultInitialFocus)(b.context.popupRef):h,M=b.useStateSetter("popupElement"),L=(0,i.useRenderElement)("div",e,{state:{open:O,nested:R,transitionStatus:k,nestedDialogOpen:T>0},props:[y,{id:D,"aria-labelledby":I??void 0,"aria-describedby":x??void 0,role:P,...f.FOCUSABLE_POPUP_PROPS,hidden:!w,onKeyDown(e){d.COMPOSITE_KEYS.has(e.key)&&e.stopPropagation()},style:{[l.DialogPopupCssVars.nestedDialogs]:T}},v],ref:[t,b.context.popupRef,M],stateAttributesMapping:g});return(0,p.jsx)(n.FloatingFocusManager,{context:E,openInteractionType:N,disabled:!w,closeOnFocusOut:!S,initialFocus:A,returnFocus:m,modal:!1!==C,restoreFocus:"popup",children:L})});e.s(["DialogPopup",0,m])},515577,164075,433850,e=>{"use strict";let t=((n={}).nestedDialogs="--nested-dialogs",n);e.s(["DialogPopupCssVars",0,t],515577);var n,r,i=e.i(477373);let o=((r={})[r.open=i.CommonPopupDataAttributes.open]="open",r[r.closed=i.CommonPopupDataAttributes.closed]="closed",r[r.startingStyle=i.CommonPopupDataAttributes.startingStyle]="startingStyle",r[r.endingStyle=i.CommonPopupDataAttributes.endingStyle]="endingStyle",r.nested="data-nested",r.nestedDialogOpen="data-nested-dialog-open",r);e.s(["DialogPopupDataAttributes",0,o],164075);var s=e.i(499659),l=e.i(687652);let a=l.createContext(void 0);e.s(["DialogPortalContext",0,a,"useDialogPortalContext",0,function(){let e=l.useContext(a);if(void 0===e)throw Error((0,s.default)(26));return e}],433850)},561592,e=>{"use strict";e.i(989757);var t=e.i(687652),n=e.i(266644),r=e.i(146614),i=e.i(23416),o=e.i(433850),s=e.i(779703),l=e.i(318008);let a=t.forwardRef(function(e,t){let{keepMounted:a=!1,...u}=e,{store:c}=(0,i.useDialogRootContext)(),d=c.useState("mounted"),f=c.useState("modal"),p=c.useState("open");return d||a?(0,l.jsx)(o.DialogPortalContext.Provider,{value:a,children:(0,l.jsxs)(r.FloatingPortal,{ref:t,...u,children:[d&&!0===f&&(0,l.jsx)(s.InternalBackdrop,{ref:c.context.
2internalBackdropRef,inert:(0,n.inertValue)(!p)}),e.children]})}):null});e.s(["DialogPortal",0,a])},41047,642587,884161,276055,e=>{"use strict";var t,n=e.i(687652),r=e.i(23416),i=e.i(381295),o=e.i(905672),s=e.i(239002),l=e.i(540720),a=e.i(946),u=e.i(235047),c=e.i(792253);let d={...a.popupStoreSelectors,modal:(0,s.createSelector)(e=>e.modal),nested:(0,s.createSelector)(e=>e.nested),nestedOpenDialogCount:(0,s.createSelector)(e=>e.nestedOpenDialogCount),nestedOpenDrawerCount:(0,s.createSelector)(e=>e.nestedOpenDrawerCount),disablePointerDismissal:(0,s.createSelector)(e=>e.disablePointerDismissal),openMethod:(0,s.createSelector)(e=>e.openMethod),descriptionElementId:(0,s.createSelector)(e=>e.descriptionElementId),titleElementId:(0,s.createSelector)(e=>e.titleElementId),viewportElement:(0,s.createSelector)(e=>e.viewportElement),role:(0,s.createSelector)(e=>e.role)};class f extends l.ReactStore{constructor(e,t,r=!1){const i=new u.PopupTriggerMap,o=function(e={}){return{...(0,a.createInitialPopupStoreState)(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:"dialog",...e}}(e);o.floatingRootContext=(0,a.createPopupFloatingRootContext)(i,t,r),super(o,{popupRef:n.createRef(),backdropRef:n.createRef(),internalBackdropRef:n.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:i,onOpenChange:void 0,onOpenChangeComplete:void 0},d)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},e||null!=t.trigger||null==this.state.activeTriggerId||(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let n={open:e};(0,c.setPopupOpenState)(n,e,t.trigger),this.update(n)};static useStore(e,t){return(0,c.usePopupStore)(e,(e,n)=>new f(t,e,n),!0).store}}e.s(["DialogStore",0,f],642587);var p=e.i(318008);e.s(["DialogRoot",0,function(e){return function(e,t="dialog"){let{children:s,open:l,defaultOpen:a=!1,onOpenChange:u,onOpenChangeComplete:c,disablePointerDismissal:d=!1,modal:g=!0,actionsRef:m,handle:h,triggerId:v,defaultTriggerId:b=null}=e,x="alert-dialog"===t,S=(0,r.useDialogRootContext)(!0),E={modal:!!x||g,disablePointerDismissal:x||d,nested:!!S,role:x?"alertdialog":"dialog"},y=f.useStore(h?.store,{open:a,openProp:l,activeTriggerId:b,triggerIdProp:v,...E});(0,i.useOnFirstRender)(()=>{let e=void 0===l&&!1===y.state.open&&!0===a?{open:!0,activeTriggerId:b}:null;x?y.update(e?{...E,...e}:E):e&&y.update(e)}),y.useControlledProp("openProp",l),y.useControlledProp("triggerIdProp",v),y.useSyncedValues(E),y.useContextCallback("onOpenChange",u),y.useContextCallback("onOpenChangeComplete",c);let C=y.useState("open"),w=y.useState("mounted"),R=y.useState("payload");(0,o.useDialogRoot)({store:y,actionsRef:m});let T=n.useMemo(()=>({store:y}),[y]);return(0,p.jsx)(r.IsDrawerContext.Provider,{value:!1,children:(0,p.jsxs)(r.DialogRootContext.Provider,{value:T,children:[(C||w)&&(0,p.jsx)(o.DialogInteractions,{store:y,parentContext:S?.store.context,isDrawer:"drawer"===t}),"function"==typeof s?s({payload:R}):s]})})}(e,n.useContext(r.IsDrawerContext)?"drawer":"dialog")}],41047);var g=e.i(937159),m=e.i(477373),h=e.i(230250),v=e.i(433850);let b=((t={})[t.open=m.CommonPopupDataAttributes.open]="open",t[t.closed=m.CommonPopupDataAttributes.closed]="closed",t[t.startingStyle=m.CommonPopupDataAttributes.startingStyle]="startingStyle",t[t.endingStyle=m.CommonPopupDataAttributes.endingStyle]="endingStyle",t.nested="data-nested",t.nestedDialogOpen="data-nested-dialog-open",t),x={...m.popupStateMapping,...h.transitionStatusMapping,nested:e=>e?{[b.nested]:""}:null,nestedDialogOpen:e=>e?{[b.nestedDialogOpen]:""}:null},S=n.forwardRef(function(e,t){let{render:n,className:i,style:o,children:s,...l}=e,a=(0,v.useDialogPortalContext)(),{store:u}=(0,r.useDialogRootContext)(),c=u.useState("open"),d=u.useState("nested"),f=u.useState("transitionStatus"),p=u.useState("nestedOpenDialogCount"),m=u.useState("mounted"),h=u.useStateSetter("viewportElement");return(0,g.useRenderElement)("div",e,{enabled:a||m,state:{open:c,nested:d,transitionStatus:f,nestedDialogOpen:p>0},ref:[t,h],stateAttributesMapping:x,props:[{role:"presentation",hidden:!m,style:{pointerEvents:c?void 0:"none"},children:s},l]})});e.s(["DialogViewport",0,S],884161);var E=e.i(529318);let y=n.forwardRef(function(e,t){let{render:n,className:i,style:o,id:s,...l}=e,{store:a}=(0,r.useDialogRootContext)(),u=(0,E.useBaseUiId)(s);return a.useSyncedValueWithCleanup("titleElementId",u),(0,g.useRenderElement)("h2",e,{ref:t,props:[{id:u},l]})});e.s(["DialogTitle",0,y],276055)},905672,e=>{"use strict";var t=e.i(687652),n=e.i(724964),r=e.i(10400),i=e.i(358846),o=e.i(130669),s=e.i(590357),l=e.i(39588),a=e.i(792253);e.s(["DialogInteractions",0,function({store:e,parentContext:s,isDrawer:l}){let u=e.useState("open"),c=e.useState("disablePointerDismissal"),d=e.useState("modal"),f=e.useState("popupElement"),p=e.useState("floatingRootContext"),[g,m]=t.useState(0),[h,v]=t.useState(0),b=0===g,x=(0,i.useDismiss)(p,{outsidePressEvent:()=>
2e.context.internalBackdropRef.current||e.context.backdropRef.current?"intentional":{mouse:"trap-focus"===d?"sloppy":"intentional",touch:"sloppy"},outsidePress(t){if(!e.context.outsidePressEnabledRef.current||"button"in t&&0!==t.button||"touches"in t&&1!==t.touches.length)return!1;let n=(0,o.getTarget)(t);return!!b&&!c&&(!d||!e.context.internalBackdropRef.current&&!e.context.backdropRef.current||e.context.internalBackdropRef.current===n||e.context.backdropRef.current===n||(0,o.contains)(n,f)&&!n?.hasAttribute("data-base-ui-portal"))},escapeKey:b});(0,n.useScrollLock)(u&&!0===d,f),e.useContextCallback("onNestedDialogOpen",(e,t)=>{m(e),v(t)}),e.useContextCallback("onNestedDialogClose",()=>{m(0),v(0)}),t.useEffect(()=>(s?.onNestedDialogOpen&&u&&s.onNestedDialogOpen(g+1,h+ +!!l),s?.onNestedDialogClose&&!u&&s.onNestedDialogClose(),()=>{s?.onNestedDialogClose&&u&&s.onNestedDialogClose()}),[l,u,g,h,s]);let S=x.reference??r.EMPTY_OBJECT,E=x.trigger??r.EMPTY_OBJECT,y=x.floating??r.EMPTY_OBJECT;return(0,a.usePopupInteractionProps)(e,{activeTriggerProps:S,inactiveTriggerProps:E,popupProps:y,nestedOpenDialogCount:g,nestedOpenDrawerCount:h}),null},"useDialogRoot",0,function(e){let{store:n,actionsRef:r}=e,i=n.useState("open");(0,a.usePopupRootSync)(n,i),(0,a.useImplicitActiveTrigger)(n);let{forceUnmount:o}=(0,a.useOpenStateTransitions)(i,n),u=t.useCallback(()=>{n.setOpen(!1,(0,s.createChangeEventDetails)(l.REASONS.imperativeAction))},[n]);t.useImperativeHandle(r,()=>({unmount:o,close:u}),[o,u])}])},201779,531876,669303,189719,130669,822770,6006,181548,210676,253908,515776,860624,461623,106896,146614,682755,846189,790685,e=>{"use strict";var t=e.i(687652),n=e.i(185173),r=e.i(710401),i=e.i(105129),o=e.i(313554),s=e.i(765637),l=e.i(95085),a=e.i(266540),u=e.i(375479),c=e.i(68603),d=e.i(683644);function f(e){return e?.ownerDocument||document}e.s(["ownerDocument",0,f],531876);var p=e.i(621252);let g={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},m={...g,position:"fixed",top:0,left:0},h={...g,position:"absolute"};e.s(["visuallyHidden",0,m,"visuallyHiddenInput",0,h],669303);var v=e.i(318008);let b=t.forwardRef(function(e,n){let[r,i]=t.useState();return(0,a.useIsoLayoutEffect)(()=>{c.platform.screenReader.voiceOver&&c.platform.engine.webkit&&i("button")},[]),(0,v.jsx)("span",{...e,ref:n,style:m,"aria-hidden":!r||void 0,tabIndex:0,role:r,"data-base-ui-focus-guard":""})});function x(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function S(e,t){if(!e||!t)return!1;let r=t.getRootNode?.();if(e.contains(t))return!0;if(r&&(0,n.isShadowRoot)(r)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function E(e){return"composedPath"in e?e.composedPath()[0]:e.target}e.s(["FocusGuard",0,b],189719),e.s(["activeElement",0,x,"contains",0,S,"getTarget",0,E],130669);let y="data-base-ui-focusable",C="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function w(e){return(0,n.isHTMLElement)(e)&&e.matches(C)}function R(e){return!!e&&"combobox"===e.getAttribute("role")&&w(e)}function T(e){return e?e.hasAttribute(y)?e:e.querySelector(`[${y}]`)||e:null}function O(e){e.preventDefault(),e.stopPropagation()}function N(e){return""===e.pointerType&&!!e.isTrusted||(c.platform.os.android&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function I(e){return!c.platform.env.jsdom&&(!c.platform.os.android&&0===e.width&&0===e.height||c.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)}function k(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&&P(e,o,r))return o}function P(e,t,n){if("function"==typeof n?n(t):n?.includes(t)??!1)return!0;let r=e[t];return!!r&&(!j(r)||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}function j(e,t=e?(0,n.getComputedStyle)(e):null){var r;
2return!!e&&!!e.isConnected&&!!t&&"hidden"!==(r=t).visibility&&"collapse"!==r.visibility&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==t.display&&"contents"!==t.display)}function D(e){for(let t of Array.from(e.children))if("summary"===(0,n.getNodeName)(t))return t;return null}function A(e){let t=e?(0,n.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"!==t||null!=e.parentElement&&"details"===(0,n.getNodeName)(e.parentElement)&&D(e.parentElement)===e)&&("details"!==t||null==D(e))&&("input"!==t||"hidden"!==e.type)}function M(e){if(!A(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=function(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let r=e.getRootNode();return(0,n.isShadowRoot)(r)?r.host:null}(t)){let r=t!==e,i="slot"===(0,n.getNodeName)(t);if(t.hasAttribute("inert")||r&&"details"===(0,n.getNodeName)(t)&&!t.open&&!function(e,t){let n=D(t);return!!n&&(e===n||S(n,e))}(e,t)||t.hasAttribute("hidden")||!i&&!function(e,t){let r=(0,n.getComputedStyle)(e);return t?"none"!==r.display:j(e,r)}(t,r))return!1}return!0}function L(e){let t=e.tabIndex;if(t<0){let t=(0,n.getNodeName)(e);if("details"===t||"audio"===t||"video"===t||(0,n.isHTMLElement)(e)&&e.isContentEditable)return 0}return t}function _(e){return"input"!==(0,n.getNodeName)(e)?null:"radio"===e.type&&""!==e.name?e:null}function F(e){if((0,n.isHTMLElement)(e)&&"slot"===(0,n.getNodeName)(e)){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return(0,n.isHTMLElement)(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function z(e){return M(e)&&L(e)>=0}function B(e){let t=[];return!function e(t,n){F(t).forEach(t=>{A(t)&&n.push(t),e(t,n)})}(e,t),t.filter(M)}function W(e){let t=B(e);return t.filter(e=>L(e)>=0&&function(e,t){let n=_(e);if(!n)return!0;let r=t.find(e=>{let t=_(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=_(e);return t?.name===n.name&&t.form===n.form})===n}(e,t))}function H(e,t){let n=W(e),r=n.length;if(0===r)return;let i=x(f(e)),o=n.indexOf(i);return n[-1===o?1===t?0:r-1:o+t]}function U(e){return H(f(e).body,1)||e}function Y(e){return H(f(e).body,-1)||e}function V(e,t){if(!e)return null;let n=W(f(e).body),r=n.length;if(0===r)return null;let i=n.indexOf(e);return -1===i?null:n[(i+t+r)%r]}function $(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!S(n,r)}function K(e){W(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function q(e){let t=[];!function e(t,r,i){F(t).forEach(t=>{(0,n.isHTMLElement)(t)&&t.matches(r)&&i.push(t),e(t,r,i)})}(e,"[data-tabindex]",t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}function X(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...X(e,t.id,n)])}function G(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}e.s(["ARROW_DOWN",0,"ArrowDown","ARROW_LEFT",0,"ArrowLeft","ARROW_RIGHT",0,"ArrowRight","ARROW_UP",0,"ArrowUp","FOCUSABLE_ATTRIBUTE",0,y,"TYPEABLE_SELECTOR",0,C],822770),e.s(["getFloatingFocusElement",0,T,"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"]),${C}`)!=null},"isRootElement",0,function(e){return e.matches("html,body")},"isTargetInsideEnabledTrigger",0,function(e,t){if(!(0,n.isElement)(e))return!1;if(t.hasElement(e))return!e.hasAttribute("data-trigger-disabled");for(let[,n]of t.entries())if(S(n,e))return!n.hasAttribute("data-trigger-disabled");return!1},"isTypeableCombobox",0,R,"isTypeableElement",0,w,"matchesFocusVisible",0,function(e){if(!e||c.platform.env.jsdom)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}],6006),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,N,"isVirtualPointerEvent",0,I,"stopEvent",0,O],181548),e.s(["f
2indNonDisabledListIndex",0,k,"getMaxListIndex",0,function(e,t){return k(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})},"getMinListIndex",0,function(e,t){return k(e.current,{disabledIndices:t})},"isElementVisible",0,j,"isIndexOutOfListBounds",0,function(e,t){return t<0||t>=e.length},"isListIndexDisabled",0,P],210676),e.s(["disableFocusInside",0,K,"enableFocusInside",0,q,"focusable",0,B,"getNextTabbable",0,U,"getPreviousTabbable",0,Y,"getTabbableAfterElement",0,function(e){return V(e,1)},"getTabbableBeforeElement",0,function(e){return V(e,-1)},"isOutsideEvent",0,$,"isTabbable",0,z,"tabbable",0,W],253908),e.s(["getNodeAncestors",0,G,"getNodeChildren",0,X],515776);var J=e.i(590357),Z=e.i(39588);function Q(e){return`data-base-ui-${e}`}e.s(["createAttribute",0,Q],860624);var ee=e.i(10400);let et=0;function en(e,t={}){let{preventScroll:n=!1,sync:r=!1,shouldFocus:i}=t;function o(){(!i||i())&&e?.focus({preventScroll:n})}if(cancelAnimationFrame(et),r)return o(),ee.NOOP;let s=requestAnimationFrame(o);return et=s,()=>{et===s&&(cancelAnimationFrame(s),et=0)}}e.s(["enqueueFocus",0,en],461623);let er={inert:new WeakMap,"aria-hidden":new WeakMap},ei="data-base-ui-inert",eo={inert:new WeakSet,"aria-hidden":new WeakSet},es=new WeakMap,el=0,ea=(e,t)=>t.map(t=>{if(e.contains(t))return t;let r=function e(t){return t?(0,n.isShadowRoot)(t)?t.host:e(t.parentNode):null}(t);return e.contains(r)?r:null}).filter(e=>null!=e),eu=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},ec=(e,t,r)=>{let i=[],o=e=>{!e||r.has(e)||Array.from(e.children).forEach(e=>{"script"!==(0,n.getNodeName)(e)&&(t.has(e)?o(e):i.push(e))})};return o(e),i};function ed(e,t={}){let{ariaHidden:n=!1,inert:r=!1,mark:i=!0}=t,o=f(e[0]).body;return function(e,t,n,r,{mark:i=!0}){let o=null;r?o="inert":n&&(o="aria-hidden");let s=null,l=null,a=ea(t,e),u=i?ec(t,eu(a),new Set(a)):[],c=[],d=[];if(o){let e=er[o],n=eo[o];l=n,s=e;let r=ea(t,Array.from(t.querySelectorAll("[aria-live]"))),i=a.concat(r);ec(t,eu(i),new Set(i)).forEach(t=>{let r=t.getAttribute(o),i=null!==r&&"false"!==r,s=(e.get(t)||0)+1;e.set(t,s),c.push(t),1===s&&i&&n.add(t),i||t.setAttribute(o,"inert"===o?"":"true")})}return i&&u.forEach(e=>{let t=(es.get(e)||0)+1;es.set(e,t),d.push(e),1===t&&e.setAttribute(ei,"")}),el+=1,()=>{s&&c.forEach(e=>{let t=(s.get(e)||0)-1;s.set(e,t),t||(!l?.has(e)&&o&&e.removeAttribute(o),l?.delete(e))}),i&&d.forEach(e=>{let t=(es.get(e)||0)-1;es.set(e,t),t||e.removeAttribute(ei)}),(el-=1)||(er.inert=new WeakMap,er["aria-hidden"]=new WeakMap,eo.inert=new WeakSet,eo["aria-hidden"]=new WeakSet,es=new WeakMap)}}(e,o,n,r,{mark:i})}var ef=e.i(615882),ep=e.i(795237),eg=e.i(937159);let em="data-base-ui-click-trigger",eh={clipPath:"inset(50%)",position:"fixed",top:0,left:0};e.s(["CLICK_TRIGGER_IDENTIFIER",0,em,"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,eh],106896);let ev=t.createContext(null),eb=()=>t.useContext(ev),ex=Q("portal");function eS(e={}){let{ref:r,container:i,componentProps:o=ee.EMPTY_OBJECT,elementProps:s}=e,u=(0,ep.useId)(),c=eb(),d=c?.portalNode,[f,p]=t.useState(null),[g,m]=t.useState(null),h=(0,l.useStableCallback)(e=>{null!==e&&m(e)}),v=t.useRef(null);(0,a.useIsoLayoutEffect)(()=>{if(null===i){v.current&&(v.current=null,m(null),p(null));return}if(null==u)return;let e=(i&&((0,n.isNode)(i)?i:i.current))??d??document.body;if(null==e){v.current&&(v.current=null,m(null),p(null));return}v.current!==e&&(v.current=e,m(null),p(e))},[i,d,u]);let b=(0,eg.useRenderElement)("div",o,{ref:[r,h],props:[{id:u,[ex]:""},s]});return{portalNode:g,portalSubtree:f&&b?ef.createPortal(b,f):null}}let eE=t.forwardRef(function(e,n){let{render:o,className:s,style:l,children:u,container:c,renderGuards:d,...f}=e,{portalNode:p,portalSubtree:g}=eS({container:c,ref:n,componentProps:e,elementProps:f}),m=t.useRef(null),h=t.useRef(null),x=t.useRef(null),S=t.useRef(null),[E,y]=t.useState(null),C=t.useRef(!1),w=E?.modal,R=E?.open,T="boolean"==typeof d?d:!!E&&!E.modal&&E.open&&!!p;t.useEffect(()=>{if(p&&!w)return(0,i.mergeCleanups)((0,r.addEventListener)(p,"focusin",e,!0),(0,r.addEventListener)(p,"focusout",e,!0));function e(e){p&&e.relatedTarget&&$(e)&&("focusin"===e.type?C.current&&(q(p),C.current=!1):(K(p),C.current=!0))}},[p,w]),(0,a.useIsoLayoutEffect)(()=>{p&&!0===R&&C.current&&(q(p),C.current=!1)},[R,p]);let O=t.useMemo(()=>({beforeOutsideRef:m,afterOutsideRef:h,beforeInsideRef:x,afterInsideRef:S,portalNode:p,setFocusManagerState:y}),[p]);return(0,v.jsxs)(t.Fragment,{children:[g,(0,v.jsxs)(ev.Provider,{value:O,children:[T&&p&&(0,v.jsx)(b,{"data-type":"outside",ref:m,onFocus:e=>{if($(e,p))x.current?.focus();else{let e=Y(E?E.domReference:null);e?.focus()}}}),T&&p&&(0,v.jsx)("span",{"aria-owns":p.id,style:eh}),p&&ef.createPortal(u,p),T&&p&&(0,v.jsx)(b,{"data-type":"outside",ref:h,onFocus:e=>{if($(e,p))S.current?.focus();else{let t=U(E?E.domReference:null);t?.focus(),E?.closeOnFocusOut&&E?.onOpenChange(!1,(0,J.createChangeEventDetails)(Z.REASONS.focusOut,e.nativeEvent))}}})]})]})});
2e.s(["FloatingPortal",0,eE,"useFloatingPortalNode",0,eS,"usePortalContext",0,eb],146614);var ey=e.i(779408);function eC(){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,eC],682755);class ew{nodesRef={current:[]};events=eC();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,ew],846189);let eR=t.createContext(null),eT=t.createContext(null),eO=()=>t.useContext(eR)?.id||null,eN=e=>{let n=t.useContext(eT);return e??n};e.s(["FloatingNode",0,function(e){let{children:n,id:r}=e,i=eO();return(0,v.jsx)(eR.Provider,{value:t.useMemo(()=>({id:r,parentId:i}),[r,i]),children:n})},"FloatingTree",0,function(e){let{children:t,externalTree:n}=e,r=(0,ey.useRefWithInit)(()=>n??new ew).current;return(0,v.jsx)(eT.Provider,{value:r,children:t})},"useFloatingNodeId",0,function(e){let t=(0,ep.useId)(),n=eN(e),r=eO();return(0,a.useIsoLayoutEffect)(()=>{if(!t)return;let e={id:t,parentId:r};return n?.addNode(e),()=>{n?.removeNode(e)}},[n,t,r]),t},"useFloatingParentNodeId",0,eO,"useFloatingTree",0,eN],790685);var eI=e.i(245815);let ek=[];function eP(){ek=ek.filter(e=>e.deref()?.isConnected)}function ej(e){eP(),e&&"body"!==(0,n.getNodeName)(e)&&(ek.push(new WeakRef(e)),ek.length>20&&(ek=ek.slice(-20)))}function eD(){return eP(),ek[ek.length-1]?.deref()}function eA(e){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!e.getAttribute("role")?.includes("dialog"))return;let t=B(e).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return z(e)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),n=e.getAttribute("tabindex");0===t.length?"0"!==n&&(e.setAttribute("tabindex","0"),e.setAttribute("data-tabindex","0")):("-1"!==n||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}e.s(["FloatingFocusManager",0,function(e){let{context:g,children:m,disabled:h=!1,initialFocus:y=!0,returnFocus:C=!0,restoreFocus:k=!1,modal:P=!0,closeOnFocusOut:D=!0,openInteractionType:A="",nextFocusableElement:M,previousFocusableElement:L,beforeContentFocusGuardRef:_,externalTree:F,getInsideElements:B}=e,H="rootStore"in g?g.rootStore:g,V=H.useState("open"),K=H.useState("domReferenceElement"),q=H.useState("floatingElement"),{events:ee,dataRef:et}=H.context,er=(0,l.useStableCallback)(()=>et.current.floatingContext?.nodeId),ei=R(K)&&!1===y,eo=(0,s.useValueAsRef)(y),es=(0,s.useValueAsRef)(C),el=(0,s.useValueAsRef)(A),ea=(0,s.useValueAsRef)(V),eu=eN(F),ec=eb(),ef=t.useRef(!1),ep=t.useRef(!1),eg=t.useRef(!1),eh=t.useRef(null),ev=t.useRef(""),ex=t.useRef(""),eS=t.useRef(null),eE=t.useRef(null),ey=(0,o.useMergedRefs)(eS,_,ec?.beforeInsideRef),eC=(0,o.useMergedRefs)(eE,ec?.afterInsideRef),ew=(0,u.useTimeout)(),eR=(0,u.useTimeout)(),eT=(0,d.useAnimationFrame)(),eO=null!=ec,ek=T(q),eM=(0,l.useStableCallback)((e=ek)=>e?W(e):[]),eL=(0,l.useStableCallback)(()=>B?.().filter(e=>null!=e)??[]);t.useEffect(()=>{if(h||!P)return;let e=f(ek);return(0,r.addEventListener)(e,"keydown",function(e){"Tab"===e.key&&S(ek,x(f(ek)))&&0===eM().length&&!ei&&O(e)})},[h,ek,P,ei,eM]),t.useEffect(()=>{if(h||!V)return;let e=f(ek);function t(){eg.current=!1}return(0,i.mergeCleanups)((0,r.addEventListener)(e,"pointerdown",function(e){let t=E(e),n=eL();eg.current=!(S(q,t)||S(K,t)||S(ec?.portalNode,t)||n.some(e=>e===t||S(e,t))),ex.current=e.pointerType||"keyboard",t?.closest(`[${em}]`)&&(ep.current=!0,eR.start(0,()=>{ep.current=!1}))},!0),(0,r.addEventListener)(e,"pointerup",t,!0),(0,r.addEventListener)(e,"pointercancel",t,!0),(0,r.addEventListener)(e,"keydown",function(){ex.current="keyboard"},!0),t)},[h,q,K,ek,V,ec,eR,eL]),t.useEffect(()=>{if(h||!D)return;let e=f(ek);function t(t){let r=t.relatedTarget,i=t.currentTarget,o=E(t);P&&null==r&&null!=o&&S(q,o)&&ej(o),queueMicrotask(()=>{let s=er(),l=H.context.triggerElements,a=eL(),u=r?.hasAttribute(Q("focus-guard"))&&[eS.current,eE.current,ec?.beforeInsideRef.current,ec?.afterInsideRef.current,ec?.beforeOutsideRef.current,ec?.afterOutsideRef.current,(0,eI.resolveRef)(L),(0,eI.resolveRef)(M)].includes(r),c=!(S(K,r)||S(q,r)||S(r,q)||S(ec?.portalNode,r)||a.some(e=>e===r||S(e,r))||null!=r&&l.hasElement(r)||l.hasMatchingElement(e=>S(e,r))||u||eu&&(X(eu.nodesRef.current,s).find(e=>S(e.context?.elements.floating,r)||S(e.context?.elements.domReference,r))||G(eu.nodesRef.current,s).find(e=>[e.context?.elements.floating,T(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===K&&ek&&eA(ek),k&&i!==K&&!j(o)&&x(e)===e.body){if((0,n.isHTMLElement)(ek)&&(ek.focus(),"popup"===k))return void eT.request(()=>{ek.focus()});let e=eM(),t=eh.current,r=(t&&e.includes(t)?t:null)||e[e.length-1]||ek;(0,n.isHTMLElement)(r)&&r.focus()}if(et.current.insideReactTree){et.current.insideReactTree=!1;return}(ei||!P)&&r&&c&&!ep.current&&(ei||r!==eD())&&(ef.current=!0,H.setOpen(!1,(0,J.createChangeEventDetails)(Z.REASONS.focusOut,t)))})}let o=(0,n.isHTMLElement)(K)?K:null;if(q||o)return(0,i.mergeCleanups)(o&&(0,r.addEventListener)(o,"focusout",t),o&&(0,r.addEventListener)(o,"pointerdown",function(){ep.current=!0,eR.start(0,()=>{ep.current=!1})}),q&&(0,r.addEventListener)(q,"focusin",function(e){let t=E(e);z(t)&&(eh.current=t)}),q&&(0,r.addEventListener)(q,"focusout",t),q&&ec&&(0,r.addEventListener)(q,"focusout",function(){eg.current||(et.current.insideReactTree=!0,ew.start(0,()=>{et.current.insideReactTree=!1}))},!0))},[h,K,q,ek,P,eu,ec,H,D,k,eM,ei,er,et,ew,eR,eT,M,L,eL]),t.useEffect(()=>{if(h||!q||!V)return;let e=Array.from(ec?.portalNode?.querySelectorAll(`[${Q("portal")}]`)||[]),t=eu?G(eu.nodesRef.current,er()):[],n=t.find(e=>R(e.context?.elements.domReference||null))?.context?.elements.domReference,r=ed([q,...e,eS.current,eE.current,ec?.beforeOutsideRef.current,ec?.afterOutsideRef.current,...eL(),n,(0,eI.resolveRef)(L),(0,eI.resolveRef)(M),ei?K:null].filter(e=>null!=e),{ariaHidden:P||ei,mark:!1}),i=ed([q,...e].filter(e=>null!=e));return()=>{i(),r()}},[V,h,K,q,P,ec,ei,eu,er,M,L,eL]),(0,a.useIsoLayoutEffect)(()=>
2{if(!V||h||!(0,n.isHTMLElement)(ek))return;let e=f(ek),t=x(e);queueMicrotask(()=>{let n,r=eo.current,i="function"==typeof r?r(el.current||""):r;if(void 0===i||!1===i||S(ek,t))return;let o=null,s=()=>(null==o&&(o=eM(ek)),o[0]||ek);n=(n=!0===i||null===i?s():(0,eI.resolveRef)(i))||s();let l=S(ek,x(e));en(n,{preventScroll:n===ek,shouldFocus(){if(!ea.current)return!1;if(l)return!0;let t=x(e);return!(t!==n&&S(ek,t))}})})},[h,V,ek,eM,eo,el,ea]),(0,a.useIsoLayoutEffect)(()=>{if(h||!ek)return;let e=f(ek),t=x(e),r=null==el.current;function i(e){var t,n;let r;if(e.open||(t=e.nativeEvent,n=ex.current,r=(0,p.ownerWindow)(E(t)),ev.current=t instanceof r.KeyboardEvent?"keyboard":t instanceof r.FocusEvent?n||"keyboard":"pointerType"in t?t.pointerType||"keyboard":"touches"in t?"touch":t instanceof r.MouseEvent?n||(0===t.detail?"keyboard":"mouse"):""),e.reason===Z.REASONS.triggerHover&&"mouseleave"===e.nativeEvent.type&&(ef.current=!0),e.reason===Z.REASONS.outsidePress)if(e.nested)ef.current=!1;else if(N(e.nativeEvent)||I(e.nativeEvent))ef.current=!1;else{let e=!1;f(ek).createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?ef.current=!1:ef.current=!0}}return ej(t),ee.on("openchange",i),()=>{ee.off("openchange",i);let o=x(e),s=eL(),l=S(q,o)||s.some(e=>e===o||S(e,o))||eu&&X(eu.nodesRef.current,er(),!1).some(e=>S(e.context?.elements.floating,o)),a=es.current,u=function(){let e=es.current,i="function"==typeof e?e(ev.current):e;if(void 0===i||!1===i)return null;null===i&&(i=!0);let o=K?.isConnected?K:null,s=t?.isConnected&&"body"!==(0,n.getNodeName)(t)?t:null,l=r?s||o:o||s;return(l||(l=eD()||null),"boolean"==typeof i)?l:(0,eI.resolveRef)(i)||l||null}();queueMicrotask(()=>{let t=u?z(u)?u:W(u)[0]||u:null;a&&!ef.current&&(0,n.isHTMLElement)(t)&&("boolean"!=typeof a||t===o||o===e.body||l)&&t.focus({preventScroll:!0}),ef.current=!1})}},[h,q,ek,es,el,ee,eu,K,er,eL]),(0,a.useIsoLayoutEffect)(()=>{if(!c.platform.engine.webkit||V||!q)return;let e=x(f(q));(0,n.isHTMLElement)(e)&&w(e)&&S(q,e)&&e.blur()},[V,q]),(0,a.useIsoLayoutEffect)(()=>{if(!h&&ec)return ec.setFocusManagerState({modal:P,closeOnFocusOut:D,open:V,onOpenChange:H.setOpen,domReference:K}),()=>{ec.setFocusManagerState(null)}},[h,ec,P,V,H,D,K]),(0,a.useIsoLayoutEffect)(()=>{if(!h&&ek)return eA(ek),()=>{queueMicrotask(eP)}},[h,ek]);let e_=!h&&(!P||!ei)&&(eO||P);return(0,v.jsxs)(t.Fragment,{children:[e_&&(0,v.jsx)(b,{"data-type":"inside",ref:ey,onFocus:e=>{if(P){let e=eM();en(e[e.length-1])}else if(ec?.portalNode)if(ef.current=!1,$(e,ec.portalNode)){let e=U(K);e?.focus()}else(0,eI.resolveRef)(L??ec.beforeOutsideRef)?.focus()}}),m,e_&&(0,v.jsx)(b,{"data-type":"inside",ref:eC,onFocus:e=>{if(P)en(eM()[0]);else if(ec?.portalNode)if(D&&(ef.current=!0),$(e,ec.portalNode)){let e=Y(K);e?.focus()}else(0,eI.resolveRef)(M??ec.afterOutsideRef)?.focus()}})]})}],201779)},974711,239002,976007,540720,e=>{"use strict";let t;var n=e.i(499659);let r=(e,t,r,i,o,s,...l)=>{let a;if(l.length>0)throw Error((0,n.default)(1));if(e&&t&&r&&i&&o&&s)a=(n,l,a,u)=>s(e(n,l,a,u),t(n,l,a,u),r(n,l,a,u),i(n,l,a,u),o(n,l,a,u),l,a,u);else if(e&&t&&r&&i&&o)a=(n,s,l,a)=>o(e(n,s,l,a),t(n,s,l,a),r(n,s,l,a),i(n,s,l,a),s,l,a);else if(e&&t&&r&&i)a=(n,o,s,l)=>i(e(n,o,s,l),t(n,o,s,l),r(n,o,s,l),o,s,l);else if(e&&t&&r)a=(n,i,o,s)=>r(e(n,i,o,s),t(n,i,o,s),i,o,s);else if(e&&t)a=(n,r,i,o)=>t(e(n,r,i,o),r,i,o);else if(e)a=e;else throw Error("Missing arguments");return a};e.s(["createSelector",0,r],239002);var i=e.i(687652),o=e.i(360587),s=e.i(101336),l=e.i(105565),a=e.i(779408);let u=[];function c(){return t}function d(e){u.push(e)}function f(e){let n=(n,r)=>{let i,o=(0,a.useRefWithInit)(p).current;try{for(let e of(t=o,u))e.before(o);for(let t of(i=e(n,r),u))t.after(o);o.didInitialize=!0}finally{t=void 0}return i};return n.displayName=e.displayName||e.name,n}function p(){return{didInitialize:!1}}e.s(["fastComponent",0,f,"fastComponentRef",0,function(e){return i.forwardRef(f(e))},"getInstance",0,c,"register",0,d],976007);let g=(0,l.isReactVersionAtLeast)(19)?function(e,t,n,r,s){let l,a=c();if(!a){let l;return l=i.useCallback(()=>t(e.getSnapshot(),n,r,s),[e,t,n,r,s]),(0,o.useSyncExternalStore)(e.subscribe,l,l)}let u=a.syncIndex;return a.syncIndex+=1,a.didInitialize?(l=a.syncHooks[u]).store===e&&l.selector===t&&Object.is(l.a1,n)&&Object.is(l.a2,r)&&Object.is(l.a3,s)||(l.store!==e&&(a.didChangeStore=!0),l.store=e,l.selector=t,l.a1=n,l.a2=r,l.a3=s,l.value=t(e.getSnapshot(),n,r,s)):(l={
2store:e,selector:t,a1:n,a2:r,a3:s,value:t(e.getSnapshot(),n,r,s)},a.syncHooks.push(l)),l.value}:function(e,t,n,r,i){return(0,s.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))};d({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,o.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});class m{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 g(this,e,t,n,r)}}var h=e.i(95085),v=e.i(266540),b=e.i(10400);class x extends m{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){i.useDebugValue(e);let n=this;(0,v.useIsoLayoutEffect)(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;(0,v.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,v.useIsoLayoutEffect)(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){i.useDebugValue(e);let n=this,r=void 0!==t;(0,v.useIsoLayoutEffect)(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,t,n,r){return i.useDebugValue(e),g(this,this.selectors[e],t,n,r)}useContextCallback(e,t){i.useDebugValue(e);let n=(0,h.useStableCallback)(t??b.NOOP);this.context[e]=n}useStateSetter(e){let t=i.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.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)}})}}e.s(["ReactStore",0,x],540720);var S=e.i(682755),E=e.i(181548);let y={open:r(e=>e.open),transitionStatus:r(e=>e.transitionStatus),domReferenceElement:r(e=>e.domReferenceElement),referenceElement:r(e=>e.positionReference??e.referenceElement),floatingElement:r(e=>e.floatingElement),floatingId:r(e=>e.floatingId)};e.s(["FloatingRootStore",0,class extends x{constructor(e){const{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...o}=e;super({...o,positionReference:o.referenceElement,domReferenceElement:o.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:(0,S.createEventEmitter)(),nested:n,triggerElements:i},y),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&(0,E.isClickLikeEvent)(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>
2{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)}}],974711)},253386,e=>{"use strict";var t=e.i(687652),n=e.i(683644),r=e.i(375479),i=e.i(10400),o=e.i(130669),s=e.i(6006),l=e.i(181548),a=e.i(590357),u=e.i(39588);e.s(["useClick",0,function(e,c={}){let{enabled:d=!0,event:f="click",toggle:p=!0,ignoreMouse:g=!1,stickIfOpen:m=!0,touchOpenDelay:h=0,reason:v=u.REASONS.triggerPress}=c,b="rootStore"in e?e.rootStore:e,x=b.context.dataRef,S=t.useRef(void 0),E=(0,n.useAnimationFrame)(),y=(0,r.useTimeout)(),C=t.useMemo(()=>{function e(e,t,n,r){let i=(0,a.createChangeEventDetails)(v,t,n);e&&"touch"===r&&h>0?y.start(h,()=>{b.setOpen(!0,i)}):b.setOpen(e,i)}function t(e,t,n){let r=x.current.openEvent,i=b.select("domReferenceElement")!==t;return!!e&&!!i||!e||!p||!!r&&!!m&&!n(r.type)}return{onPointerDown(e){S.current=e.pointerType},onMouseDown(n){let r=S.current,i=n.nativeEvent,a=b.select("open");if(0!==n.button||"click"===f||(0,l.isMouseLikePointerType)(r,!0)&&g)return;let u=t(a,n.currentTarget,e=>"click"===e||"mousedown"===e),c=(0,o.getTarget)(i);if((0,s.isTypeableElement)(c))return void e(u,i,c,r);let d=n.currentTarget;E.request(()=>{e(u,i,d,r)})},onClick(n){if("mousedown-only"===f)return;let r=S.current;if("mousedown"===f&&r){S.current=void 0;return}(0,l.isMouseLikePointerType)(r,!0)&&g||e(t(b.select("open"),n.currentTarget,e=>"click"===e||"mousedown"===e||"keydown"===e||"keyup"===e),n.nativeEvent,n.currentTarget,r)},onKeyDown(){S.current=void 0}}},[x,f,g,v,b,m,p,E,y,h]);return t.useMemo(()=>d?{reference:C}:i.EMPTY_OBJECT,[d,C])}])},789902,e=>{"use strict";var t=e.i(687652),n=e.i(266540),r=e.i(185173),i=e.i(974711);e.s(["useSyncedFloatingRootContext",0,function(e){let{popupStore:o,treatPopupAsFloatingElement:s=!1,floatingRootContext:l,floatingId:a,nested:u,onOpenChange:c}=e,d=o.useState("open"),f=o.useState("activeTriggerElement"),p=o.useState(s?"popupElement":"positionerElement"),g=o.context.triggerElements,m=t.useRef(null);void 0===l&&null===m.current&&(m.current=new i.FloatingRootStore({open:d,transitionStatus:void 0,referenceElement:f,floatingElement:p,triggerElements:g,onOpenChange:c,floatingId:a,syncOnly:!0,nested:u}));let h=l??m.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),h.state.positionReference===h.state.referenceElement&&(e.positionReference=f),h.update(e)},[d,a,f,p,h]),h.context.onOpenChange=c,h.context.nested=u,h}])},706625,e=>{"use strict";var t=e.i(185173);let n="ArrowUp",r="ArrowDown",i="ArrowLeft",o="ArrowRight",s="Home",l=new Set([i,o]),a=new Set([i,o,s,"End"]),u=new Set([n,r]),c=new Set([n,r,s,"End"]),d=new Set([...l,...u]),f=new Set([...d,s,"End"]),p=new Set(["Shift","Control","Alt","Meta"]);function g(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function m(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}e.s(["ARROW_DOWN",0,r,"ARROW_KEYS",0,d,"ARROW_LEFT",0,i,"ARROW_RIGHT",0,o,"ARROW_UP",0,n,"COMPOSITE_KEYS",0,f,"END",0,"End","HOME",0,s,"HORIZONTAL_KEYS",0,l,"HORIZONTAL_KEYS_WITH_EXTRA_KEYS",0,a,"MODIFIER_KEYS",0,p,"VERTICAL_KEYS",0,u,"VERTICAL_KEYS_WITH_EXTRA_KEYS",0,c,"isNativeInput",0,function(e){return!!((0,t.isHTMLElement)(e)&&"INPUT"===e.tagName&&null!=e.selectionStart||(0,t.isHTMLElement)(e)&&"TEXTAREA"===e.tagName)},"scrollIntoViewIfNeeded",0,function(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,o=e.scrollTop,s=e.clientWidth<e.scrollWidth,l=e.clientHeight<e.scrollHeight;if(s&&"vertical"!==r){let r=g(e,t,"left"),o=m(e),s=m(t);"ltr"===n&&(r+t.offsetWidth+s.scrollMarginRight>e.scrollLeft+e.clientWidth-o.scrollPaddingRight?i=r+t.offsetWidth+s.scrollMarginRight-e.clientWidth+o.scrollPaddingRight:r-s.scrollMarginLeft<e.scrollLeft+o.scrollPaddingLeft&&(i=r-s.scrollMarginLeft-o.scrollPaddingLeft)),"rtl"===n&&(r-s.scrollMarginRight<e.scrollLeft+o.scrollPaddingLeft?i=r-s.scrollMarginLeft-o.scrollPaddingLeft:r+t.offsetWidth+s.scrollMarginRight>e.scrollLeft+e.clientWidth-o.scrollPaddingRight&&(i=r+t.offsetWidth+s.scrollMarginRight-e.clientWidth+o.scrollPaddingRight))}if(l&&"horizontal"!==r){let n=g(e,t,"top"),r=m(e),i=m(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?o=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(o=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:o,behavior:"auto"})}])},779703,e=>{"use strict";e.i(989757);var t=e.i(687652),n=e.i(318008);let r=t.forwardRef(function(e,t){let r,{cutout:i,...o}=e;if(i){let e=i.getBoundingClientRect();r=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,n.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:r}})});e.s(["InternalBackdrop",0,r])},477373,e=>{"use strict";var t,n,r=e.i(230250);let i=((t={}).open="data-open",t.closed="data-closed",t[t.startingStyle=r.TransitionStatusDataAttributes.startingStyle]="startingStyle",t[t.endingStyle=r.TransitionStatusDataAttributes.endingStyle]="endingStyle",t.anchorHidden="data-anchor-hidden",t.side="data-side",t.align="data-align",t),o=((n={}).popupOpen="data-popup-open",n.pressed="data-pressed",n),s={[o.popupOpen]:""},l={[o.popupOpen]:"",[o.pressed]:""},a={[i.open]:""},u={[i.closed]:""},c={[i.anchorHidden]:""};e.s(["CommonPopupDataAttributes",0,i,"popupStateMapping",0,{open:e=>e?a:u,anchorHidden:e=>e?c:null},"pressableTriggerOpenStateMapping",0,{open:e=>e?l:null},"triggerOpenStateMapping",0,{open:e=>e?s:null}])},792253,e=>{"use strict";var t=e.i(687652),n=e.i(615882),r=e.i(10400),i=e.i(795237),o=e.i(95085),s=e.i(266540),l=e.i(381295),a=e.i(822770),u=e.i(790685),c=e.i(789902),d=e.i(87038),f=e.i(598137),p=e.i(590357),g=e.i(39588);let m={tabIndex:-1,[a.FOCUSABLE_ATTRIBUTE]:""};function h(e,n){let r=t.useRef(null),i=t.useRef(null);return t.useCallback(t=>{if(void 0===e)return;let o=!1;
2if(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 b(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}e.s(["FOCUSABLE_POPUP_PROPS",0,m,"applyPopupOpenChange",0,function(e,t,r,i={}){let o=r.reason,s=o===g.REASONS.triggerHover,l=t&&o===g.REASONS.triggerFocus,a=!t&&(o===g.REASONS.triggerPress||o===g.REASONS.escapeKey),u=b(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};l?n.instantType="focus":a?n.instantType="dismiss":s&&(n.instantType=void 0),v(n,t,r.trigger,u()),e.update(n)};s?n.flushSync(c):c()},"attachPreventUnmountOnClose",0,b,"createDefaultInitialFocus",0,function(e){return t=>"touch"!==t||e.current},"setPopupOpenState",0,v,"useImplicitActiveTrigger",0,function(e,t={}){let{closeOnActiveTriggerUnmount:n=!1}=t,r=e.useState("open"),i=e.useState("triggerCount");(0,s.useIsoLayoutEffect)(()=>{if(!r){0!==e.state.triggerCount&&e.set("triggerCount",0);return}let t=e.context.triggerElements.size,i={};e.state.triggerCount!==t&&(i.triggerCount=t);let o=e.select("activeTriggerId"),s=null;if(o){let t=e.context.triggerElements.getById(o);t?t!==e.state.activeTriggerElement&&(i.activeTriggerElement=t):s=o}if(!s&&!o&&1===t){let t=e.context.triggerElements.entries().next();if(!t.done){let[e,n]=t.value;i.activeTriggerId=e,i.activeTriggerElement=n}}(void 0!==i.triggerCount||void 0!==i.activeTriggerId||void 0!==i.activeTriggerElement)&&e.update(i),s&&n&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===s&&!e.context.triggerElements.getById(s)){let t=(0,p.createChangeEventDetails)(g.REASONS.none);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[r,e,i,n])},"useInitialOpenSync",0,function(e,t,n,r){(0,l.useOnFirstRender)(()=>{void 0===t&&!1===e.state.open&&n&&(e.state={...e.state,open:!0,activeTriggerId:r,preventUnmountingOnClose:!1})})},"useOpenStateTransitions",0,function(e,t,n){let{mounted:r,setMounted:i,transitionStatus:s}=(0,d.useTransitionStatus)(e),l=t.useState("preventUnmountingOnClose"),a=!e&&l;t.useSyncedValues({mounted:r,transitionStatus:s,preventUnmountingOnClose:a});let u=(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||u()}}),{forceUnmount:u,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])},"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])},"usePopupStore",0,function(e,n,r=!1){let o=(0,i.useId)(),s=null!=(0,u.useFloatingParentNodeId)(),l=t.useRef(null);void 0===e&&null===l.current&&(l.current=n(o,s));let a=e??l.current;return(0,c.useSyncedFloatingRootContext)({popupStore:a,treatPopupAsFloatingElement:r,floatingRootContext:a.state.floatingRootContext,floatingId:o,nested:s,onOpenChange:a.setOpen}),{store:a,internalStore:l.current}},"useTriggerDataForwarding",0,function(e,t,n,r){let i=n.useState("isMountedByTrigger",e),l=h(e,n),a=(0,o.useStableCallback)(t=>{if(l(t),!t)return;let i=n.select("open"),o=n.select("activeTriggerId");o===e?n.update({activeTriggerElement:t,...i?r:null}):null==o&&i&&n.update({activeTriggerId:e,activeTriggerElement:t,...r})});return(0,s.useIsoLayoutEffect)(()=>{i&&n.update({activeTriggerElement:t.current,...r})},[i,n,t,...Object.values(r)]),{registerTrigger:a,isMountedByThisTrigger:i}},"useTriggerRegistration",0,h])},235047,e=>{"use strict";e.i(989757),e.s(["PopupTriggerMap",0,class{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(e,t){let n=this.idMap.get(e);n!==t&&(void 0!==n&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(let t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}}])},946,e=>{"use strict";var t=e.i(239002),n=e.i(10400),r=e.i(974711),i=e.i(235047);let o=(0,t.createSelector)(e=>e.triggerIdProp??e.activeTriggerId),s=(0,t.createSelector)(e=>e.openProp??e.open),l=(0,t.createSelector)(e=>(e.popupElement?.id??e.floatingId)||void 0);function a(e,t){return void 0!==t&&s(e)&&o(e)===t}let u={open:s,mounted:(0,t.createSelector)(e=>e.mounted),transitionStatus:(0,t.createSelector)(e=>e.transitionStatus),floatingRootContext:(0,t.createSelector)(e=>e.floatingRootContext),triggerCount:(0,t.createSelector)(e=>e.triggerCount),preventUnmountingOnClose:(0,t.createSelector)(e=>e.preventUnmountingOnClose),payload:(0,t.createSelector)(e=>e.payload),activeTriggerId:o,activeTriggerElement:(0,t.createSelector)(e=>e.mounted?e.activeTriggerElement:null),popupId:l,isTriggerActive:(0,t.createSelector)((e,t)=>void 0!==t&&o(e)===t),isOpenedByTrigger:(0,t.createSelector)((e,t)=>a(e,t)),isMountedByTrigger:(0,t.createSelector)((e,t)=>void 0!==t&&o(e)===t&&e.mounted),triggerProps:(0,t.createSelector)((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),triggerPopupId:(0,t.createSelector)((e,t)=>a(e,t)||void 0!==t&&s(e)&&null==o(e)&&1===e.triggerCount?l(e):void 0),popupProps:(0,t.createSelector)(e=>e.popupProps),popupElement:(0,t.createSelector)(e=>e.popupElement),positionerElement:(0,t.createSelector)(e=>e.positionerElement)};e.s(["createInitialPopupStoreState",0,function(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new r.FloatingRootStore({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new i.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:n.EMPTY_OBJECT,inactiveTriggerProps:n.EMPTY_OBJECT,popupProps:n.EMPTY_OBJECT}},"createPopupFloatingRootContext",0,function(e,t,n=!1){return new r.FloatingRootStore({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})},"popupStoreSelectors",0,u],946)},975514,586750,e=>{"use strict";var t=e.i(687652),n=e.i(95085),r=e.i(68603),i=e.i(266540);
2function o(e,r){let o=t.useRef(e),s=(0,n.useStableCallback)(r);(0,i.useIsoLayoutEffect)(()=>{o.current!==e&&s(o.current)},[e,s]),(0,i.useIsoLayoutEffect)(()=>{o.current=e},[e])}function s(e,i){var o;let s,l,{onClick:a,onPointerDown:u}=(o=(0,n.useStableCallback)((t,n)=>{("function"==typeof e?e():e)||i(n||(r.platform.os.ios?"touch":""))}),s=t.useRef(""),l=t.useCallback(e=>{e.defaultPrevented||(s.current=e.pointerType,o(e,e.pointerType))},[o]),{onClick:t.useCallback(e=>{0===e.detail?o(e,"keyboard"):("pointerType"in e?o(e,e.pointerType):o(e,s.current),s.current="")},[o]),onPointerDown:l});return t.useMemo(()=>({onClick:a,onPointerDown:u}),[a,u])}e.s(["useValueChanged",0,o],586750),e.s(["useOpenInteractionType",0,function(e){let[n,r]=t.useState(null),i=s(e,r);return o(e,t=>{t&&!e&&r(null)}),t.useMemo(()=>({openMethod:n,triggerProps:i}),[n,i])},"useOpenMethodTriggerProps",0,s],975514)},266644,e=>{"use strict";var t=e.i(105565);e.s(["inertValue",0,function(e){return(0,t.isReactVersionAtLeast)(19)?e:e?"true":void 0}])},105129,375479,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()}}}],105129);var t=e.i(779408),n=e.i(146545);class r{static create(){return new r}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}e.s(["Timeout",0,r,"useTimeout",0,function(){let e=(0,t.useRefWithInit)(r.create).current;return(0,n.useOnMount)(e.disposeEffect),e}],375479)},68603,e=>{"use strict";e.s([],638644),e.i(638644);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,l="android",a=o===l||i.includes(l),u=!s&&o.startsWith("mac"),c=o.startsWith("win"),d=!a&&/^(linux|chrome os)/.test(o),f=u||s;e.s(["android",0,a,"apple",0,f,"ios",0,s,"linux",0,d,"mac",0,u,"windows",0,c],972833);var p=e.i(972833);let g="u">typeof CSS&&!!CSS.supports?.("-webkit-backdrop-filter:none"),m=!g&&i.includes("firefox"),h=!g&&i.includes("chrom");e.s(["blink",0,h,"gecko",0,m,"webkit",0,g],915979);var v=e.i(915979);e.s(["voiceOver",0,f],61326);var b=e.i(61326);let x=/jsdom|happydom/.test(i);e.s(["jsdom",0,x],485541);var S=e.i(485541);e.s(["engine",0,v,"env",0,S,"os",0,p,"screenReader",0,b],88306);var E=e.i(88306);e.s(["platform",0,E],68603)},381295,e=>{"use strict";var t=e.i(687652);e.s(["useOnFirstRender",0,function(e){let n=t.useRef(!0);n.current&&(n.current=!1,e())}])},724964,358846,e=>{"use strict";var t=e.i(185173),n=e.i(710401),r=e.i(68603),i=e.i(531876),o=e.i(621252),s=e.i(266540),l=e.i(375479),a=e.i(683644),u=e.i(10400);let c={},d={},f="";class p{lockCount=0;restore=null;timeoutLock=l.Timeout.create();timeoutUnlock=l.Timeout.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){let s,l,p,g,m;if(0===this.lockCount||null!==this.restore)return;let h=(0,i.ownerDocument)(e).documentElement,v=(0,o.ownerWindow)(h).getComputedStyle(h).overflowY;if("hidden"===v||"clip"===v){this.restore=u.NOOP;return}let b=r.platform.os.ios||!function(e){if("u"<typeof document)return!1;let t=(0,i.ownerDocument)(e);return(0,o.ownerWindow)(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=b?(l=(s=(0,i.ownerDocument)(e)).documentElement,p=s.body,m={overflowY:(g=(0,t.isOverflowElement)(l)?l:p).style.overflowY,overflowX:g.style.overflowX},Object.assign(g.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(g.style,m)}):function(e){let s=(0,i.ownerDocument)(e),l=s.documentElement,u=s.body,p=(0,o.ownerWindow)(l),g=0,m=0,h=!1,v=a.AnimationFrame.create();
2if(r.platform.engine.webkit&&(p.visualViewport?.scale??1)!==1)return()=>{};function b(){let n=p.getComputedStyle(l),r=p.getComputedStyle(u),o=(n.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";g=l.scrollTop,m=l.scrollLeft,c={scrollbarGutter:l.style.scrollbarGutter,overflowY:l.style.overflowY,overflowX:l.style.overflowX},f=l.style.scrollBehavior,d={position:u.style.position,height:u.style.height,width:u.style.width,boxSizing:u.style.boxSizing,overflowY:u.style.overflowY,overflowX:u.style.overflowX,scrollBehavior:u.style.scrollBehavior};let s=l.scrollHeight>l.clientHeight,a=l.scrollWidth>l.clientWidth,v="scroll"===n.overflowY||"scroll"===r.overflowY,b="scroll"===n.overflowX||"scroll"===r.overflowX,x=Math.max(0,p.innerWidth-u.clientWidth),S=Math.max(0,p.innerHeight-u.clientHeight),E=parseFloat(r.marginTop)+parseFloat(r.marginBottom),y=parseFloat(r.marginLeft)+parseFloat(r.marginRight),C=(0,t.isOverflowElement)(l)?l:u;if(h=function(e){if(!("u">typeof CSS&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||"u"<typeof document)return!1;let n=(0,i.ownerDocument)(e),r=n.documentElement,o=n.body,s=(0,t.isOverflowElement)(r)?r:o,l=s.style.overflowY,a=r.style.scrollbarGutter;r.style.scrollbarGutter="stable",s.style.overflowY="scroll";let u=s.offsetWidth;s.style.overflowY="hidden";let c=s.offsetWidth;return s.style.overflowY=l,r.style.scrollbarGutter=a,u===c}(e)){l.style.scrollbarGutter=o,C.style.overflowY="hidden",C.style.overflowX="hidden";return}Object.assign(l.style,{scrollbarGutter:o,overflowY:"hidden",overflowX:"hidden"}),(s||v)&&(l.style.overflowY="scroll"),(a||b)&&(l.style.overflowX="scroll"),Object.assign(u.style,{position:"relative",height:E||S?`calc(100dvh - ${E+S}px)`:"100dvh",width:y||x?`calc(100vw - ${y+x}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),u.scrollTop=g,u.scrollLeft=m,l.setAttribute("data-base-ui-scroll-locked",""),l.style.scrollBehavior="unset"}function x(){Object.assign(l.style,c),Object.assign(u.style,d),h||(l.scrollTop=g,l.scrollLeft=m,l.removeAttribute("data-base-ui-scroll-locked"),l.style.scrollBehavior=f)}b();let S=(0,n.addEventListener)(p,"resize",function(){x(),v.request(b)});return()=>{v.cancel(),x(),"function"==typeof p.removeEventListener&&S()}}(e)}}let g=new p;e.s(["useScrollLock",0,function(e=!0,t=null){(0,s.useIsoLayoutEffect)(()=>{if(e)return g.acquire(t)},[e,t])}],724964);var m=e.i(687652),h=e.i(105129),v=e.i(95085),b=e.i(790685),x=e.i(590357),S=e.i(39588),E=e.i(860624),y=e.i(130669),C=e.i(6006),w=e.i(181548),R=e.i(515776);function T(){return!1}e.s(["useDismiss",0,function(e,o={}){let{enabled:s=!0,escapeKey:a=!0,outsidePress:u=!0,outsidePressEvent:c="sloppy",referencePress:d=T,bubbles:f,externalTree:p}=o,g="rootStore"in e?e.rootStore:e,O=g.useState("open"),N=g.useState("floatingElement"),{dataRef:I}=g.context,k=(0,b.useFloatingTree)(p),P=(0,v.useStableCallback)("function"==typeof u?u:()=>!1),j="function"==typeof u?P:u,D=!1!==j,A=(0,v.useStableCallback)(()=>c),{escapeKey:M,outsidePress:L}={escapeKey:"boolean"==typeof f?f:f?.escapeKey??!1,outsidePress:"boolean"==typeof f?f:f?.outsidePress??!0},_=m.useRef(!1),F=m.useRef(!1),z=m.useRef(!1),B=m.useRef(!1),W=m.useRef(""),H=m.useRef(null),U=(0,l.useTimeout)(),Y=(0,l.useTimeout)(),V=(0,v.useStableCallback)(()=>{Y.clear(),I.current.insideReactTree=!1}),$=(0,v.useStableCallback)(e=>{let t=I.current.floatingContext?.nodeId;return(k?(0,R.getNodeChildren)(k.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),K=(0,v.useStableCallback)(e=>(0,C.isEventTargetWithin)(e,g.select("floatingElement"))||(0,C.isEventTargetWithin)(e,g.select("domReferenceElement"))),q=(0,v.useStableCallback)(e=>{d()&&g.setOpen(!1,(0,x.createChangeEventDetails)(S.REASONS.triggerPress,e.nativeEvent))}),X=(0,v.useStableCallback)(e=>{if(!O||!s||!a||"Escape"!==e.key||B.current||!M&&$("__escapeKeyBubbles"))return;let t=(0,w.isReactEvent)(e)?e.nativeEvent:e,n=(0,x.createChangeEventDetails)(S.REASONS.escapeKey,t);g.setOpen(!1,n),n.isCanceled||e.preventDefault(),M||n.isPropagationAllowed||e.stopPropagation()}),G=(0,v.useStableCallback)(()=>{I.current.insideReactTree=!0,Y.start(0,V)}),J=(0,v.useStableCallback)(e=>{if(!O||!s||0!==e.button)return;let t=(0,y.getTarget)(e.nativeEvent);(0,y.contains)(g.select("floatingElement"),t)&&(_.current||(_.current=!0,F.current=!1))}),Z=(0,v.useStableCallback)(e=>{!O||!s||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&_.current&&(F.current=!0)});m.useEffect(()=>{if(!O||!s)return;I.current.__escapeKeyBubbles=M,I.current.__outsidePressBubbles=L;let e=new l.Timeout,o=new l.Timeout;function u(){z.current=!0,o.start(0,()=>{z.current=!1})}function c(){_.current=!1,F.current=!1}function d(){let e=W.current,t=A(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}
2function f(e){let t=I.current.floatingContext?.nodeId,n=k&&(0,R.getNodeChildren)(k.nodesRef.current,t).some(t=>(0,C.isEventTargetWithin)(e,t.context?.elements.floating));return K(e)||n}function p(e){let n;if("intentional"===(n=d())&&"click"!==e.type||"sloppy"===n&&"click"===e.type){"click"===e.type||K(e)||(o.clear(),z.current=!1),V();return}if(I.current.insideReactTree)return void V();let r=(0,y.getTarget)(e),s=`[${(0,E.createAttribute)("inert")}]`,l=(0,t.isElement)(r)?r.getRootNode():null,a=Array.from(((0,t.isShadowRoot)(l)?l:(0,i.ownerDocument)(g.select("floatingElement"))).querySelectorAll(s)),u=g.context.triggerElements;if(r&&(u.hasElement(r)||u.hasMatchingElement(e=>(0,y.contains)(e,r))))return;let c=(0,t.isElement)(r)?r:null;for(;c&&!(0,t.isLastTraversableNode)(c);){let e=(0,t.getParentNode)(c);if((0,t.isLastTraversableNode)(e)||!(0,t.isElement)(e))break;c=e}if(!(a.length&&(0,t.isElement)(r)&&!(0,C.isRootElement)(r)&&!(0,y.contains)(r,g.select("floatingElement"))&&a.every(e=>!(0,y.contains)(c,e)))){if((0,t.isHTMLElement)(r)&&!("touches"in e)){let n=(0,t.isLastTraversableNode)(r),i=(0,t.getComputedStyle)(r),o=/auto|scroll/,s=n||o.test(i.overflowX),l=n||o.test(i.overflowY),a=s&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,u=l&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,c="rtl"===i.direction,d=u&&(c?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),f=a&&e.offsetY>r.clientHeight;if(d||f)return}if(!f(e)){if("intentional"===d()&&z.current){o.clear(),z.current=!1;return}"function"==typeof j&&!j(e)||$("__outsidePressBubbles")||(g.setOpen(!1,(0,x.createChangeEventDetails)(S.REASONS.outsidePress,e)),V())}}}function m(e){if("sloppy"!==d()||!g.select("open")||!s||K(e))return;let t=e.touches[0];t&&(H.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},U.start(1e3,()=>{H.current&&(H.current.dismissOnTouchEnd=!1,H.current.dismissOnMouseDown=!1)}))}function v(e,t){let r=(0,y.getTarget)(e);if(!r)return;let i=(0,n.addEventListener)(r,e.type,()=>{t(e),i()})}function b(e){U.clear(),"pointerdown"===e.type&&(W.current=e.pointerType),("mousedown"!==e.type||!H.current||H.current.dismissOnMouseDown)&&v(e,e=>{if("pointerdown"===e.type)"sloppy"!==d()||"touch"===e.pointerType||!g.select("open")||!s||K(e)||p(e);else p(e)})}function w(e){if(!_.current)return;let t=F.current;if(c(),"intentional"===d()){if("pointercancel"===e.type){t&&u();return}f(e)||(t?u():("function"!=typeof j||j(e))&&(o.clear(),z.current=!0,V()))}}function T(e){if("sloppy"!==d()||!H.current||K(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-H.current.startX),r=Math.abs(t.clientY-H.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(H.current.dismissOnTouchEnd=!0),i>10&&(p(e),U.clear(),H.current=null)}function P(e){"sloppy"!==d()||!H.current||K(e)||(H.current.dismissOnTouchEnd&&p(e),U.clear(),H.current=null)}let Y=(0,i.ownerDocument)(N),q=(0,h.mergeCleanups)(a&&(0,h.mergeCleanups)((0,n.addEventListener)(Y,"keydown",X),(0,n.addEventListener)(Y,"compositionstart",function(){e.clear(),B.current=!0}),(0,n.addEventListener)(Y,"compositionend",function(){e.start(5*!!r.platform.engine.webkit,()=>{B.current=!1})})),D&&(0,h.mergeCleanups)((0,n.addEventListener)(Y,"click",b,!0),(0,n.addEventListener)(Y,"pointerdown",b,!0),(0,n.addEventListener)(Y,"pointerup",w,!0),(0,n.addEventListener)(Y,"pointercancel",w,!0),(0,n.addEventListener)(Y,"mousedown",b,!0),(0,n.addEventListener)(Y,"mouseup",w,!0),(0,n.addEventListener)(Y,"touchstart",function(e){W.current="touch",v(e,m)},!0),(0,n.addEventListener)(Y,"touchmove",function(e){v(e,T)},!0),(0,n.addEventListener)(Y,"touchend",function(e){v(e,P)},!0)));return()=>{q(),e.clear(),o.clear(),c(),z.current=!1}},[I,N,a,D,j,O,s,M,L,X,V,A,$,K,k,g,U]),m.useEffect(V,[j,V]);let Q=m.useMemo(()=>({onKeyDown:X,onPointerDown:q,onClick:q}),[X,q]),ee=m.useMemo(()=>({onKeyDown:X,onPointerDown:Z,onMouseDown:Z,onClickCapture:G,onMouseDownCapture(e){G(),J(e)},onPointerDownCapture(e){G(),J(e)},onMouseUpCapture:G,onTouchEndCapture:G,onTouchMoveCapture:G}),[X,G,J,Z]);return m.useMemo(()=>s?{reference:Q,floating:ee,trigger:Q}:{},[s,Q,ee])}],358846)},679394,852627,77620,90062,44652,23416,e=>{"use strict";var t=e.i(687652);let n=t.forwardRef(function({title:e,titleId:n,...r},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":n},r),e?t.createElement("title",{id:n},e):null,t.createElement("path",{d:"M3 10a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM8.5 10a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM15.5 8.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z"}))});e.s(["EllipsisHorizontalIcon",0,n],679394);var r=e.i(318008),i=e.i(35203),o=e.i(779178),s=e.i(962842),l=e.i(944967),a=e.i(527231);let u="meticulous-mock-user",c=()=>{document.cookie=`${u}=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT`,window.location.reload()};e.s(["MockUserImpersonationBanner",0,()=>{let e,n,d,f,p,g,m,h,v,b,x=(0,i.c)(14),[S,E]=(0,t.useState)(null);return(x[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{E((()=>{for(let e of document.cookie.split(";")){let t=e.indexOf("=");if(-1===t)continue;
2let n=e.slice(0,t).trim(),r=e.slice(t+1).trim();if(n===u)return decodeURIComponent(r)||null}return null})())},n=[],x[0]=e,x[1]=n):(e=x[0],n=x[1]),(0,t.useEffect)(e,n),S)?(x[2]===Symbol.for("react.memo_cache_sentinel")?(d=(0,l.default)("group flex items-center gap-1 px-2 py-1 rounded-sm","bg-amber-500/10 border border-amber-500/25 text-amber-400 text-xs","hover:bg-amber-500/20","data-[state=open]:bg-amber-500/20"),x[2]=d):d=x[2],x[3]!==S?(f=S.replace("meticulous-mock","..."),x[3]=S,x[4]=f):f=x[4],x[5]!==f?(p=(0,r.jsxs)("span",{className:"max-w-[240px] truncate",children:["Impersonating: ",f]}),x[5]=f,x[6]=p):p=x[6],x[7]===Symbol.for("react.memo_cache_sentinel")?(g=(0,r.jsx)(o.ChevronDownIcon,{className:"shrink-0 w-3.5 h-3.5 text-amber-400"}),x[7]=g):g=x[7],x[8]!==p?(m=(0,r.jsx)(s.Trigger,{asChild:!0,children:(0,r.jsxs)("button",{className:d,"aria-label":"Impersonation menu",children:[p,g]})}),x[8]=p,x[9]=m):m=x[9],x[10]===Symbol.for("react.memo_cache_sentinel")?(h=(0,l.default)(a.MENU_CONTENT_CLASSES,"min-w-[200px] z-200"),x[10]=h):h=x[10],x[11]===Symbol.for("react.memo_cache_sentinel")?(v=(0,r.jsx)(s.Portal,{children:(0,r.jsx)(s.Content,{className:h,sideOffset:8,align:"end",children:(0,r.jsx)(s.Item,{className:a.MENU_ITEM_CLASSES,onSelect:c,children:(0,r.jsx)("span",{className:"flex-1",children:"Clear cookie & refresh"})})})}),x[11]=v):v=x[11],x[12]!==m?(b=(0,r.jsxs)(s.Root,{children:[m,v]}),x[12]=m,x[13]=b):b=x[13],b):null}],852627),e.s(["SubscriptionExpiredBanner",0,()=>{let e,t=(0,i.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)("div",{className:"fixed top-0 inset-x-0 z-44 w-full bg-red-600 text-white py-3 px-4 text-center font-medium h-12",children:"Your Meticulous subscription has expired. Please contact our sales team to renew. If this is not done soon, your project will be disabled."}),t[0]=e):e=t[0],e}],77620);var d=e.i(820312),f=e.i(524570);let p=d.gql`
3  fragment OrganizationSubscription on Organization {
4    id
5    isSubscriptionExpired
6  }
7`;e.s(["useIsSubscriptionExpired",0,e=>{let t=(0,f.useApolloClient)();if(!e)return!1;try{let n=t.readFragment({id:t.cache.identify({__typename:"Organization",id:e}),fragment:p});return n?.isSubscriptionExpired??!1}catch{return!1}}],90062),e.s([],44652);var g=e.i(499659);let m=t.createContext(!1),h=t.createContext(void 0);e.s(["DialogRootContext",0,h,"IsDrawerContext",0,m,"useDialogRootContext",0,function(e){let n=t.useContext(h);if(!1===e&&void 0===n)throw Error((0,g.default)(27));return n}],23416)},57867,e=>{"use strict";var t=e.i(687652);let n=t.forwardRef(function({title:e,titleId:n,...r},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":n},r),e?t.createElement("title",{id:n},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["CheckCircleIcon",0,n],57867)},380553,(e,t,n)=>{"use strict";var r=e.r(687652),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,l=r.useLayoutEffect,a=r.useDebugValue;function u(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 l(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),s(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),a(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},360587,(e,t,n)=>{"use strict";e.i(989757),t.exports=e.r(380553)},193778,(e,t,n)=>{"use strict";var r=e.r(687652),i=e.r(360587),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,l=r.useRef,a=r.useEffect,u=r.useMemo,c=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=l(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=s(e,(d=u(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 l=t}return l=e}if(t=l,o(s,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(s=e,t):(s=e,l=n)}var s,l,a=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],d[1]);return a(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}},101336,(e,t,n)=>{"use strict";e.i(989757),t.exports=e.r(193778)},741113,875498,e=>{"use strict";var t=e.i(318008),n=e.i(35203),r=e.i(627194),i=e.i(4991),o=e.i(679394),s=e.i(962842),l=e.i(944967),a=e.i(122047),u=e.i(372222),c=e.i(527231),d=e.i(995364),f=e.i(724677),p=e.i(852627),g=e.i(932576),m=e.i(77620),h=e.i(90062),v=e.i(68697),b=e.i(179721),x=e.i(628144),S=e.i(687652);e.i(540518);
7var E=e.i(448241),y=e.i(44167),C=e.i(641590),w=e.i(596760),R=e.i(345196),T=e.i(967508),O=e.i(193211),N=e.i(57867),I=e.i(121872);let k=S.forwardRef(function({title:e,titleId:t,...n},r){return S.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?S.createElement("title",{id:t},e):null,S.createElement("path",{fillRule:"evenodd",d:"M5.22 14.78a.75.75 0 0 0 1.06 0l7.22-7.22v5.69a.75.75 0 0 0 1.5 0v-7.5a.75.75 0 0 0-.75-.75h-7.5a.75.75 0 0 0 0 1.5h5.69l-7.22 7.22a.75.75 0 0 0 0 1.06Z",clipRule:"evenodd"}))});e.s(["ArrowUpRightIcon",0,k],875498);var P=e.i(96348),j=e.i(444717),D=e.i(237011);let A=(0,S.memo)(function(e){let r,i,o,s,a,u,c,d,f,p,g,m,h,v,b,x,S,E,y,C,w,R,T,O,N=(0,n.c)(64),{notification:A,onDismiss:L,canDismiss:_,isDismissing:F}=e,z=void 0===_||_,B=void 0!==F&&F,W="to_do"===A.status;if(N[0]!==W||N[1]!==A.createdAt||N[2]!==A.title){let e,n=D.DateTime.fromISO(A.createdAt);i=I.Collapsible.Root,s="border-b border-zinc-800 last:border-b-0",r=I.Collapsible.Trigger,g="group flex w-full items-start gap-3 rounded-sm px-5 py-4 text-left hover:bg-zinc-800/50 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-indigo-400",N[14]!==W?(o=(0,t.jsx)("span",{className:"mt-1 flex h-4 w-4 shrink-0 items-center justify-center",children:W?(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-red-500","aria-hidden":!0}):(0,t.jsx)(P.CheckIcon,{className:"h-4 w-4 text-zinc-500","aria-hidden":!0})}),N[14]=W,N[15]=o):o=N[15],f="min-w-0 flex-1";let m=W?"text-zinc-100":"text-zinc-400";N[16]!==m?(e=(0,l.default)("block text-sm font-medium leading-6",m),N[16]=m,N[17]=e):e=N[17],N[18]!==A.title||N[19]!==e?(p=(0,t.jsx)("span",{className:e,children:A.title}),N[18]=A.title,N[19]=e,N[20]=p):p=N[20],a=A.createdAt,u=n.toLocaleString(D.DateTime.DATETIME_FULL),c="mt-1 block text-xs text-zinc-500",d=n.toLocaleString(D.DateTime.DATE_MED),N[0]=W,N[1]=A.createdAt,N[2]=A.title,N[3]=r,N[4]=i,N[5]=o,N[6]=s,N[7]=a,N[8]=u,N[9]=c,N[10]=d,N[11]=f,N[12]=p,N[13]=g}else r=N[3],i=N[4],o=N[5],s=N[6],a=N[7],u=N[8],c=N[9],d=N[10],f=N[11],p=N[12],g=N[13];return N[21]!==a||N[22]!==u||N[23]!==c||N[24]!==d?(m=(0,t.jsx)("time",{dateTime:a,title:u,className:c,children:d}),N[21]=a,N[22]=u,N[23]=c,N[24]=d,N[25]=m):m=N[25],N[26]!==m||N[27]!==f||N[28]!==p?(h=(0,t.jsxs)("span",{className:f,children:[p,m]}),N[26]=m,N[27]=f,N[28]=p,N[29]=h):h=N[29],N[30]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)(j.ChevronRightIcon,{className:"mt-1 h-4 w-4 shrink-0 text-zinc-500 transition-transform group-data-panel-open:rotate-90 motion-reduce:transition-none","aria-hidden":!0}),N[30]=v):v=N[30],N[31]!==r||N[32]!==o||N[33]!==h||N[34]!==g?(b=(0,t.jsxs)(r,{className:g,children:[o,h,v]}),N[31]=r,N[32]=o,N[33]=h,N[34]=g,N[35]=b):b=N[35],N[36]!==A.description?(x=(0,t.jsx)("p",{children:A.description}),N[36]=A.description,N[37]=x):x=N[37],N[38]!==A.solutions?(S=A.solutions.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-2 font-medium text-zinc-200",children:"What you can do"}),(0,t.jsx)("ul",{className:"list-disc space-y-2 pl-4 marker:text-zinc-600",children:A.solutions.map(M)})]}),N[38]=A.solutions,N[39]=S):S=N[39],N[40]===Symbol.for("react.memo_cache_sentinel")?(E=(0,t.jsx)(k,{className:"h-4 w-4","aria-hidden":!0}),y=(0,t.jsx)("span",{className:"sr-only",children:" (opens in a new tab)"}),N[40]=E,N[41]=y):(E=N[40],y=N[41]),N[42]!==A.docsLink.href||N[43]!==A.docsLink.label?(C=(0,t.jsxs)("a",{href:A.docsLink.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-indigo-400 hover:text-indigo-300 focus-visible:outline-2 focus-visible:outline-indigo-400",children:[A.docsLink.label,E,y]}),N[42]=A.docsLink.href,N[43]=A.docsLink.label,N[44]=C):C=N[44],N[45]!==A.actionLink?(w=A.actionLink&&(0,t.jsx)("div",{children:(0,t.jsx)("a",{href:A.actionLink.href,className:"inline-flex items-center gap-1 text-indigo-400 hover:text-indigo-300 focus-visible:outline-2 focus-visible:outline-indigo-400",children:A.actionLink.label})}),N[45]=A.actionLink,N[46]=w):w=N[46],N[47]!==z||N[48]!==B||N[49]!==W||N[50]!==A.id||N[51]!==L?(R=W&&z&&(0,t.jsx)("div",{children:(0,t.jsxs)("button",{type:"button",disabled:B,onClick:()=>L(A.id),className:"inline-flex items-center gap-1.5 rounded-md border border-zinc-700 px-3 py-1.5 text-xs font-medium text-zinc-200 hover:bg-zinc-800 focus-visible:outline-2 focus-visible:outline-indigo-400",children:[(0,t.jsx)(P.CheckIcon,{className:"h-4 w-4","aria-hidden":!0}
7),B?"Dismissing…":"Dismiss notification"]})}),N[47]=z,N[48]=B,N[49]=W,N[50]=A.id,N[51]=L,N[52]=R):R=N[52],N[53]!==x||N[54]!==S||N[55]!==C||N[56]!==w||N[57]!==R?(T=(0,t.jsx)(I.Collapsible.Panel,{className:"h-(--collapsible-panel-height) overflow-hidden transition-[height] duration-200 data-starting-style:h-0 data-ending-style:h-0 motion-reduce:transition-none",children:(0,t.jsxs)("div",{className:"space-y-4 pr-5 pb-5 pl-12 text-sm leading-6 text-zinc-400",children:[x,S,C,w,R]})}),N[53]=x,N[54]=S,N[55]=C,N[56]=w,N[57]=R,N[58]=T):T=N[58],N[59]!==i||N[60]!==s||N[61]!==b||N[62]!==T?(O=(0,t.jsxs)(i,{className:s,children:[b,T]}),N[59]=i,N[60]=s,N[61]=b,N[62]=T,N[63]=O):O=N[63],O});function M(e,n){return(0,t.jsx)("li",{children:e},n)}let L=e=>{let r,i=(0,n.c)(12),{notifications:o,onDismiss:s,hasMore:l,onLoadMore:a,isLoadingMore:u,isLoading:c,error:d,canDismiss:f,isDismissing:p}=e,g=void 0===f||f,m=void 0!==p&&p;if(i[0]!==g||i[1]!==d||i[2]!==l||i[3]!==m||i[4]!==c||i[5]!==u||i[6]!==o||i[7]!==s||i[8]!==a){let e,n=[...o].sort(_),f=n.filter(F),p=n.filter(z);i[10]!==d?(e=d&&(0,t.jsx)("p",{role:"alert",className:"px-5 py-4 text-sm text-red-400",children:d}),i[10]=d,i[11]=e):e=i[11],r=(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain",children:[e,c?(0,t.jsx)("p",{role:"status",className:"px-5 py-6 text-sm text-zinc-400",children:"Loading notifications…"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("section",{"aria-label":"To do",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-5 pt-6 pb-2",children:[(0,t.jsx)("h3",{className:"text-xs font-medium text-zinc-400",children:"To do"}),(0,t.jsx)("span",{className:"rounded-sm bg-zinc-800 px-1.5 py-0.5 text-xs tabular-nums text-zinc-400",children:f.length})]}),0===f.length?d?null:(0,t.jsxs)("div",{className:"px-5 py-8 text-center",role:"status",children:[(0,t.jsx)(N.CheckCircleIcon,{className:"mx-auto mb-3 h-7 w-7 text-zinc-500","aria-hidden":!0}),(0,t.jsx)("p",{className:"text-sm font-medium text-zinc-200",children:"You’re all caught up"}),(0,t.jsx)("p",{className:"mt-1 text-xs leading-5 text-zinc-500",children:"Notifications that need your attention will appear here."})]}):f.map(e=>(0,t.jsx)(A,{notification:e,onDismiss:s,canDismiss:g,isDismissing:m},e.id))]}),(p.length>0||l)&&(0,t.jsxs)("section",{"aria-label":"Acted on",className:"mt-4 border-t border-zinc-800",children:[(0,t.jsx)("h3",{className:"px-5 pt-6 pb-2 text-xs font-medium text-zinc-500",children:"Acted on"}),p.map(e=>(0,t.jsx)(A,{notification:e,onDismiss:s},e.id)),l&&(0,t.jsx)("div",{className:"px-5 py-5",children:(0,t.jsx)("button",{type:"button",onClick:a,disabled:u,className:"w-full rounded-md border border-zinc-800 px-3 py-2 text-xs font-medium text-zinc-400 hover:bg-zinc-800 hover:text-zinc-200 focus-visible:outline-2 focus-visible:outline-indigo-400 disabled:cursor-wait disabled:opacity-50",children:u?"Loading…":"Load older notifications"})})]})]})]}),i[0]=g,i[1]=d,i[2]=l,i[3]=m,i[4]=c,i[5]=u,i[6]=o,i[7]=s,i[8]=a,i[9]=r}else r=i[9];return r};function _(e,t){return t.createdAt.localeCompare(e.createdAt)}function F(e){let{status:t}=e;return"to_do"===t}function z(e){let{status:t}=e;return"acted_on"===t}let B=e=>{let r,i,o,s,l,a,u,c,d,f,p=(0,n.c)(17),{feed:g}=e;p[0]!==g.notifications?(r=g.notifications.filter(W),p[0]=g.notifications,p[1]=r):r=p[1];let m=r.length,h=m>0?`Notifications, ${m} to do`:"Notifications";return p[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(O.BellIcon,{className:"h-5 w-5","aria-hidden":!0}),p[2]=i):i=p[2],p[3]!==m?(o=m>0&&(0,t.jsx)("span",{className:"absolute top-1 right-1 h-2 w-2 rounded-full bg-red-500 ring-2 ring-zinc-900","aria-hidden":!0}),p[3]=m,p[4]=o):o=p[4],p[5]!==h||p[6]!==o?(s=(0,t.jsxs)(R.Dialog.Trigger,{"aria-label":h,className:"relative flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-zinc-400 hover:bg-zinc-800 hover:text-zinc-100 focus-visible:outline-2 focus-visible:outline-indigo-400 data-popup-open:bg-zinc-800 data-popup-open:text-zinc-100",children:[i,o]}),p[5]=h,p[6]=o,p[7]=s):s=p[7],p[8]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(R.Dialog.Backdrop,{
7className:"fixed inset-0 z-50 bg-black/60 transition-opacity duration-200 data-starting-style:opacity-0 data-ending-style:opacity-0 motion-reduce:transition-none"}),p[8]=l):l=p[8],p[9]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)(O.BellIcon,{className:"h-5 w-5 text-zinc-400","aria-hidden":!0}),(0,t.jsx)(R.Dialog.Title,{className:"text-base font-medium",children:"Notifications"})]}),p[9]=a):a=p[9],p[10]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsxs)("div",{className:"flex h-14 shrink-0 items-center justify-between border-b border-zinc-800 px-5",children:[a,(0,t.jsx)(R.Dialog.Close,{"aria-label":"Close notifications",className:"rounded-md p-1.5 text-zinc-400 hover:bg-zinc-800 hover:text-zinc-100 focus-visible:outline-2 focus-visible:outline-indigo-400",children:(0,t.jsx)(T.XMarkIcon,{className:"h-5 w-5","aria-hidden":!0})})]}),c=(0,t.jsx)(R.Dialog.Description,{className:"sr-only",children:"Review notifications, find solutions, and dismiss items you have acted on."}),p[10]=u,p[11]=c):(u=p[10],c=p[11]),p[12]!==g?(d=(0,t.jsxs)(R.Dialog.Portal,{children:[l,(0,t.jsxs)(R.Dialog.Popup,{className:"fixed inset-y-0 right-0 z-50 flex w-full max-w-[440px] flex-col border-l border-zinc-800 bg-zinc-900 text-zinc-200 shadow-2xl outline-none transition-transform duration-300 data-starting-style:translate-x-full data-ending-style:translate-x-full motion-reduce:transition-none",children:[u,c,(0,t.jsx)(L,{...g})]})]}),p[12]=g,p[13]=d):d=p[13],p[14]!==d||p[15]!==s?(f=(0,t.jsxs)(R.Dialog.Root,{children:[s,d]}),p[14]=d,p[15]=s,p[16]=f):f=p[16],f};function W(e){let{status:t}=e;return"to_do"===t}let H=(0,E.graphql)(`
8  query NotificationProject($organizationName: String!, $projectName: String!) {
9    project(
10      input: { organizationName: $organizationName, projectName: $projectName }
11    ) {
12      id
13    }
14  }
15`),U=(0,E.graphql)(`
16  query NotificationFeed(
17    $organizationName: String!
18    $projectName: String!
19    $after: String
20    $includeAdminOnly: Boolean!
21  ) {
22    project(
23      input: { organizationName: $organizationName, projectName: $projectName }
24    ) {
25      id
26      notificationFeed(after: $after, includeAdminOnly: $includeAdminOnly) {
27        pending {
28          ...NotificationContent
29        }
30        history {
31          ...NotificationContent
32        }
33        hasMore
34        nextCursor
35        canDismiss
36      }
37    }
38  }
39  fragment NotificationContent on ProjectNotification {
40    id
41    status
42    title
43    description
44    solutions
45    docsLink {
46      href
47      label
48    }
49    actionLink {
50      href
51      label
52    }
53    createdAt
54  }
55`),Y=(0,E.graphql)(`
56  mutation DismissProjectNotification($projectId: String!, $id: String!) {
57    dismissProjectNotification(projectId: $projectId, id: $id)
58  }
59`),V=()=>{let e,r=(0,n.c)(2),i=(0,w.useDelayedClientMount)();return r[0]!==i?(e=i?(0,t.jsx)($,{}):null,r[0]=i,r[1]=e):e=r[1],e},$=()=>{let e,r,i,o=(0,n.c)(11),s=(0,y.useShowAdminFeatures)(),{data:l,loading:a}=(0,y.useUserContext)(),u=l?.authInfo?.isSignedIn?l.authInfo.user.id:void 0,{query:c}=(0,x.useRouter)(),d="string"==typeof c.organizationName?c.organizationName:"",f="string"==typeof c.projectName?c.projectName:"";o[0]!==d||o[1]!==f?(e={organizationName:d,projectName:f},o[0]=d,o[1]=f,o[2]=e):e=o[2];let p=a||!u||!d||!f;o[3]!==e||o[4]!==p?(r={variables:e,skip:p},o[3]=e,o[4]=p,o[5]=r):r=o[5];let{data:g}=(0,b.useQuery)(H,r);return!a&&u&&d&&f&&g?.project&&(s||(0,C.isFeatureEnabled)("FEATURE_FLAG_PROJECT_NOTIFICATIONS",{projectId:g.project.id}))?(o[6]!==g.project.id||o[7]!==d||o[8]!==f||o[9]!==s?(i=(0,t.jsx)(K,{projectId:g.project.id,organizationName:d,projectName:f,showAdminFeatures:s},g.project.id),o[6]=g.project.id,o[7]=d,o[8]=f,o[9]=s,o[10]=i):i=o[10],i):null},K=e=>{let r,i,o,s,l,a,u,c=(0,n.c)(29),{projectId:d,organizationName:f,projectName:p,showAdminFeatures:g}=e,[m,h]=(0,v.useMutation)(Y),{loading:x}=h,[E,y]=(0,S.useState)(),[C,w]=(0,S.useState)(!1);c[0]!==f||c[1]!==p||c[2]!==g?(r={variables:{organizationName:f,projectName:p,includeAdminOnly:g},fetchPolicy:"cache-and-network",notifyOnNetworkStatusChange:!0},c[0]=f,c[1]=p,c[2]=g,c[3]=r):r=c[3];let{data:R,loading:T,error:O,refetch:N,fetchMore:I}=(0,b.useQuery)(U,r),k=R?.project?.notificationFeed;c[4]!==m||c[5]!==d||c[6]!==N?(i=e=>{y(void 0),m({variables:{projectId:d,id:e}}).then(()=>N()).catch(()=>{y("Could not dismiss this notification. Please try again.")})},c[4]=m,c[5]=d,c[6]=N,c[7]=i):i=c[7];let P=i;c[8]!==k||c[9]!==I||c[10]!==C?(o=()=>{k?.nextCursor&&!C&&(y(void 0),w(!0),I({variables:{after:k.nextCursor},updateQuery:X}).catch(()=>{y("Could not load older notifications. Please try again.")}).finally(()=>w(!1)))}
59,c[8]=k,c[9]=I,c[10]=C,c[11]=o):o=c[11];let j=o;c[12]!==k?.pending?(s=k?.pending??[],c[12]=k?.pending,c[13]=s):s=c[13],c[14]!==k?.history?(l=k?.history??[],c[14]=k?.history,c[15]=l):l=c[15],c[16]!==s||c[17]!==l?(a=[...s,...l],c[16]=s,c[17]=l,c[18]=a):a=c[18];let D=k?.hasMore??!1,A=!k&&T,M=O?"Could not load notifications. Reload the page to try again.":E,L=k?.canDismiss??!1;return c[19]!==x||c[20]!==C||c[21]!==P||c[22]!==j||c[23]!==M||c[24]!==L||c[25]!==a||c[26]!==D||c[27]!==A?(u=(0,t.jsx)(B,{feed:{notifications:a,onDismiss:P,onLoadMore:j,hasMore:D,isLoadingMore:C,isLoading:A,error:M,canDismiss:L,isDismissing:x}}),c[19]=x,c[20]=C,c[21]=P,c[22]=j,c[23]=M,c[24]=L,c[25]=a,c[26]=D,c[27]=A,c[28]=u):u=c[28],u};function q(e){return[e.id,e]}function X(e,t){let{fetchMoreResult:n}=t;if(!e.project||!n.project)return e;let r=n.project.notificationFeed,i=[...new Map([...e.project.notificationFeed.history,...r.history].map(q)).values()];return{...n,project:{...n.project,notificationFeed:{...r,history:i}}}}let G=e=>{let r,i,o,s,l=(0,n.c)(11);if(l[0]!==e?({href:i,children:r,...o}=e,l[0]=e,l[1]=r,l[2]=i,l[3]=o):(r=l[1],i=l[2],o=l[3]),i){let e;return l[4]!==r||l[5]!==i||l[6]!==o?(e=(0,t.jsx)(u.Link,{href:i,...o,children:r}),l[4]=r,l[5]=i,l[6]=o,l[7]=e):e=l[7],e}return l[8]!==r||l[9]!==o?(s=(0,t.jsx)("span",{...o,children:r}),l[8]=r,l[9]=o,l[10]=s):s=l[10],s};function J(e){return"string"==typeof e.label&&!!e.href}function Z(e,n){let{label:r,href:i}=e;return(0,t.jsx)(c.MenuItem,{label:r,href:i,reserveIconSpace:!1},n)}e.s(["Navbar",0,e=>{let v,b,x,S,E,y,C,w,R,T,O,N,I,k,P,j,D,A=(0,n.c)(48),{navPath:M,isOnDocumentationPage:L,className:_,organizationId:F,leftActions:z,rightActions:B,centerContent:W,centerContentInset:H,fadeInNavPathItems:U}=e,Y=void 0===H?"viewport":H,$=void 0!==U&&U,K=(0,h.useIsSubscriptionExpired)(F);if((0,d.useIsEmbeddedInSetupFlowMiniWindow)())return null;if(A[0]!==W||A[1]!==$||A[2]!==z||A[3]!==M){let e,n,d,f,p=(0,l.default)("inline-flex min-w-0 max-w-full items-center rounded-sm px-1.5 py-1 text-xs font-normal text-zinc-200 hover:bg-zinc-800","overflow-hidden");A[11]===Symbol.for("react.memo_cache_sentinel")?(e=(0,l.default)("shrink-0","h-5","w-5"),A[11]=e):e=A[11];let g=e;A[12]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(r.ArrowUpRightIcon,{className:"shrink-0 w-4 h-4 text-zinc-500 opacity-0 group-hover:opacity-100 transition-opacity","aria-hidden":!0}),A[12]=n):n=A[12],v=(0,t.jsxs)(u.Link,{href:"/docs",target:"_blank",className:(0,l.default)("group",p,"flex flex-row gap-0.5 items-center text-zinc-400 hover:text-zinc-100"),children:["Docs",n]}),A[13]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(i.ArrowLeftIcon,{className:g,"aria-hidden":"true"}),A[13]=d):d=A[13],b=(0,t.jsxs)(u.Link,{href:"/",className:(0,l.default)(p,"flex flex-row gap-2"),children:[d,"Back to App"]}),x="list",S="Breadcrumb";let m=null!=W||null!=z?"max-w-full":"max-w-(--breakpoint-xl)";A[14]!==m?(E=(0,l.default)("flex min-w-0 overflow-hidden",m),A[14]=m,A[15]=E):E=A[15],A[16]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)("li",{className:"flex shrink-0 items-center",children:(0,t.jsx)("div",{className:"flex shrink-0 items-center mr-2 rounded-sm py-2 px-2.5 hover:bg-zinc-800 whitespace-nowrap",children:(0,t.jsxs)(u.Link,{href:"/",children:[(0,t.jsx)(a.Image,{src:"/meticulous_logo_minimal.svg",alt:"Meticulous Logo",width:16,height:18,className:"w-[16px] h-[18px]"}),(0,t.jsx)("span",{className:"sr-only",children:"Home"})]})})}),A[16]=y):y=A[16],C=M.length>0?(0,t.jsx)("li",{className:(0,l.default)("flex min-w-0 items-center overflow-hidden",$&&"animate-in fade-in duration-300 ease-out"),children:(0,t.jsxs)("div",{className:"flex min-w-0 overflow-hidden",children:[(f=M.filter(J)).length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:(0,l.default)("flex shrink-0 items-center","hidden sm:flex lg:hidden"),children:(0,t.jsxs)(s.Root,{children:[(0,t.jsx)(s.Trigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button",className:(0,l.default)("group pl-1.5 pr-1 py-1.5 flex items-center justify-center rounded-md text-zinc-400","hover:bg-zinc-800 hover:text-zinc-100","data-[state=open]:bg-zinc-800 data-[state=open]:text-zinc-100"),"aria-label":"Show breadcrumb links",children:(0,t.jsx)(o.EllipsisHorizontalIcon,{className:"h-5 w-5"})})}),(0,t.jsx)(s.Portal,{children:(0,t.jsx)(s.Content,{className:(0,l.default)(c.MENU_CONTENT_CLASSES,"min-w-[200px] z-200"),sideOffset:8,align:"start",children:f.map(Z)})})]})}),(0,t.jsx)("div",{className:(0,l.default)("flex shrink-0 items-center","hidden sm:flex lg:hidden"),"aria-hidden":"true",children:(0,t.jsx)("div",{className:"text-xs text-zinc-600 px-1.5",children:"/"})})]}),M.map((e,n)=>{let{label:r,href:i}
59=e,o="string"!=typeof r&&"element"===r.type,s="string"==typeof r?r:null;return(0,t.jsx)("div",{className:(0,l.default)("overflow-hidden shrink",o?"hidden sm:flex":"hidden lg:flex"),children:(0,t.jsxs)("div",{className:"flex min-w-0 items-center overflow-hidden",children:[n>0&&(0,t.jsx)("div",{className:"hidden lg:block text-xs text-zinc-600 px-1.5","aria-hidden":"true",children:"/"}),o?(0,t.jsx)("div",{className:"min-w-0 overflow-hidden",children:r.element}):(0,t.jsx)(G,{href:i,className:(0,l.default)(p,n+1===M.length&&""),"aria-current":n+1===M.length?"page":void 0,children:(0,t.jsx)("span",{className:"block min-w-0 truncate",children:s})})]})},n)})]})}):null,A[0]=W,A[1]=$,A[2]=z,A[3]=M,A[4]=v,A[5]=b,A[6]=x,A[7]=S,A[8]=E,A[9]=y,A[10]=C}else v=A[4],b=A[5],x=A[6],S=A[7],E=A[8],y=A[9],C=A[10];A[17]!==x||A[18]!==S||A[19]!==E||A[20]!==y||A[21]!==C?(w=(0,t.jsxs)("ol",{role:x,"aria-label":S,className:E,children:[y,C]}),A[17]=x,A[18]=S,A[19]=E,A[20]=y,A[21]=C,A[22]=w):w=A[22];let q=w;A[23]!==z?(R=null!=z?(0,t.jsx)("div",{className:"flex shrink-0 items-center",children:z}):null,A[23]=z,A[24]=R):R=A[24],A[25]!==q||A[26]!==R?(T=(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[q,R]}),A[25]=q,A[26]=R,A[27]=T):T=A[27];let X=T,Q=L?b:v;A[28]!==L?(O=!L&&(0,t.jsx)(V,{}),A[28]=L,A[29]=O):O=A[29],A[30]===Symbol.for("react.memo_cache_sentinel")?(N=g.IS_MOCK_USER_SWITCHER_ENABLED&&(0,t.jsx)(p.MockUserImpersonationBanner,{}),I=(0,t.jsx)(f.AccountButton,{}),A[30]=N,A[31]=I):(N=A[30],I=A[31]),A[32]!==B||A[33]!==Q||A[34]!==O?(k=(0,t.jsxs)("div",{className:"flex shrink-0 flex-row items-center gap-x-2 pl-2",children:[B,Q,O,N,I]}),A[32]=B,A[33]=Q,A[34]=O,A[35]=k):k=A[35];let ee=k;return A[36]!==K?(P=K&&(0,t.jsx)(m.SubscriptionExpiredBanner,{}),A[36]=K,A[37]=P):P=A[37],A[38]!==W||A[39]!==Y||A[40]!==_||A[41]!==K||A[42]!==X||A[43]!==ee?(j=null!=W?(0,t.jsxs)("nav",{className:(0,l.default)("grid h-12 min-w-0 grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-3 border-b border-zinc-800 px-3",K?"mt-12":"",_),children:[X,(0,t.jsx)("div",{className:(0,l.default)("flex min-w-0 justify-center px-1","main-pane"===Y&&"sm:translate-x-10 md:translate-x-12 lg:translate-x-[200px]"),children:W}),(0,t.jsx)("div",{className:"justify-self-end",children:ee})]}):(0,t.jsxs)("nav",{className:(0,l.default)("flex justify-between h-12 px-3 min-w-0",K?"mt-12":"","border-b","border-zinc-800",_),children:[X,ee]}),A[38]=W,A[39]=Y,A[40]=_,A[41]=K,A[42]=X,A[43]=ee,A[44]=j):j=A[44],A[45]!==P||A[46]!==j?(D=(0,t.jsxs)(t.Fragment,{children:[P,j]}),A[45]=P,A[46]=j,A[47]=D):D=A[47],D}],741113)}]);
60
61//# debugId=39be10df-4556-7c70-c94d-8df91e64bf08

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.