PageSourceSearch

https://bazel.build/mintlify-assets/_next/static/chunks/aff596ffd7…?dpl=dpl_5ZEnTGVcNKTjFEbzPDf6xwjtsSMR

js bazel.build collected 2026-09-24 07:55:44 UTC 49,236 bytes, 35 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,501982,809700,e=>{"use strict";e.s(["Popover",()=>ey,"PopoverContent",()=>ek,"PopoverTrigger",()=>ew],501982);var t=e.i(843476);e.s(["Popover",()=>ev],809700),e.s(["Arrow",()=>el,"Backdrop",()=>ed,"Close",()=>ep,"Description",()=>ec,"Handle",()=>em,"Popup",()=>ea,"Portal",()=>B,"Positioner",()=>Q,"Root",()=>S,"Title",()=>eu,"Trigger",()=>H,"Viewport",()=>ef,"createHandle",()=>ex],466914),e.s([],158421),e.i(158421),e.i(247167);var n=e.i(271645),r=e.i(896499),i=e.i(17989),o=e.i(46420),s=e.i(733332);let a=n.createContext(void 0);function l(e){let t=n.useContext(a);if(void 0===t&&!e)throw Error((0,s.default)(47));return t}var d=e.i(174080),u=e.i(301252),c=e.i(439957),p=e.i(956789),h=e.i(56434),f=e.i(18478),g=e.i(264111),m=e.i(116786),x=e.i(990627),v=e.i(638396);let b={...m.popupStoreSelectors,disabled:e=>e.disabled,instantType:e=>e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,modal:e=>e.modal,focusManagerModal:e=>e.focusManagerModal,stickIfOpen:e=>e.stickIfOpen,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};class y extends u.ReactStore{constructor(e,t,n){let r=new x.PopupTriggerMap;super(w(e,r,t,n),k(r),b)}setOpen=(e,t)=>
1{let n,r=t.reason===h.REASONS.triggerHover,i=t.reason===h.REASONS.triggerPress&&0===t.event.detail,o=!e&&(t.reason===h.REASONS.escapeKey||null==t.reason),s=(0,g.attachPreventUnmountOnClose)(t),a=this.select("activeTriggerId");if(e||t.reason!==h.REASONS.closePress||null!=t.trigger||null==a||(t.trigger=this.context.triggerElements.getById(a)??this.select("activeTriggerElement")??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let l=()=>{let n=(0,g.createPopupOpenState)(this.state,e,t.trigger,s());n.openChangeReason=t.reason,this.update(n)};r?(this.set("stickIfOpen",!0),this.context.stickIfOpenTimeout.start(v.PATIENT_CLICK_THRESHOLD,()=>{this.set("stickIfOpen",!1)}),d.flushSync(l)):l(),i?n="click":o?n="dismiss":t.reason===h.REASONS.focusOut&&(n="focus"),this.set("instantType",n)}}function w(e,t,n,r=!1){let i={...(0,m.createInitialPopupStoreState)(t,n,r),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,stickIfOpen:!0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return i.open&&e?.mounted===void 0&&(i.mounted=!0),i}function k(e){return{popupRef:n.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:n.createRef(),beforeContentFocusGuardRef:n.createRef(),stickIfOpenTimeout:new c.Timeout,triggerElements:e}}var C=e.i(675606);let j=(0,r.fastComponent)(function({props:e}){let{children:r,open:i,defaultOpen:o=!1,onOpenChange:s,onOpenChangeComplete:l,modal:d=!1,handle:u,triggerId:c,defaultTriggerId:p=null}=e,f=function(e,t){let r=(0,g.usePopupRootStore)((e,n)=>new y(t,e,n));return n.useEffect(()=>r.context.stickIfOpenTimeout.disposeEffect(),[r]),r}(0,{modal:d,open:o,openProp:i,activeTriggerId:p,triggerIdProp:c});f.useControlledProp("openProp",i),f.useControlledProp("triggerIdProp",c);let m=f.useState("open"),x=f.useState("mounted"),v=f.useState("payload");f.useContextCallback("onOpenChange",s),f.useContextCallback("onOpenChangeComplete",l),(0,g.usePopupRootSync)(f,m),(0,g.useImplicitActiveTrigger)(f);let{forceUnmount:b}=(0,g.useOpenStateTransitions)(m,f,()=>{f.update({stickIfOpen:!0,openChangeReason:null})});f.useSyncedValues({modal:d}),n.useEffect(()=>{m||f.context.stickIfOpenTimeout.clear()},[f,m]),n.useImperativeHandle(e.actionsRef,()=>({unmount:b,close:()=>f.setOpen(!1,(0,C.createChangeEventDetails)(h.REASONS.imperativeAction))}),[b,f]);let w=m||x;return(0,t.jsxs)(a.Provider,{value:f,children:[u&&(0,t.jsx)(g.PopupHandleAttachment,{handle:u,store:f}),w&&(0,t.jsx)(P,{store:f,modal:d}),"function"==typeof r?r({payload:v}):r]})});function S(e){return l(!0)?(0,t.jsx)(j,{props:e}):(0,t.jsx)(o.FloatingTree,{children:(0,t.jsx)(j,{props:e})})}function P({store:e,modal:t}){let n=e.useState("floatingRootContext"),r=(0,i.useDismiss)(n,{outsidePressEvent:{mouse:"trap-focus"===t?"sloppy":"intentional",touch:"sloppy"}}),o=r.reference,s=r.floating;return(0,g.usePopupInteractionProps)(e,{activeTriggerProps:o,inactiveTriggerProps:o,popupProps:s}),null}var T=e.i(540886),E=e.i(879938),R=e.i(552245),I=e.i(650316),M=e.i(385689),O=e.i(872135),N=e.i(788015),A=e.i(152535),_=e.i(459636),L=e.i(346570),F=e.i(32199);let H=(0,r.fastComponentRef)(function(e,r){let{render:i,className:o,style:a,disabled:d=!1,nativeButton:u=!0,handle:c,payload:p,openOnHover:f=!1,delay:m=300,closeDelay:x=0,id:b,...y}=e,w=l(!0),k=(0,_.usePopupHandleStore)(c)??w;if(!k)throw Error((0,s.default)(74));let C=(0,N.useBaseUiId)(b),j=k.useState("isTriggerActive",C),S=k.useState("floatingRootContext"),P=k.useState("isOpenedByTrigger",C),H=k.useState("triggerPopupId",C),$=n.useRef(null),{registerTrigger:D,isMountedByThisTrigger:B}=(0,g.useTriggerDataForwarding)(C,$,k,{payload:p,disabled:d,openOnHover:f,closeDelay:x}),U=k.useState("openChangeReason"),W=k.useState("stickIfOpen"),V=k.useState("openMethod"),z=k.useState("focusManagerModal"),q=(0,O.useHoverReferenceInteraction)(S,{enabled:!d&&f&&("touch"!==V||U!==h.REASONS.triggerPress),mouseOnly:!0,move:!1,handleClose:(0,I.safePolygon)(),restMs:m,delay:{close:x},triggerElementRef:$,isActiveTrigger:j,isClosing:()=>"ending"===k.select("transitionStatus")}),G=(0,M.useClick)(S,{stickIfOpen:W}),K=(0,F.useOpenMethodTriggerProps)(()=>k.select("open"),e=>{k.set("openMethod",e)}),X=k.useState("triggerProps",B),{getButtonProps:Y,buttonRef:Q}=(0,T.useButton)({disabled:d,native:u}),{preFocusGuardRef:Z,handlePreFocusGuardFocus:J,handleFocusTargetFocus:ee}=(0,L.useTriggerFocusGuards)(k,$),et=(0,R.useRenderElement)("button",e,{state:{disabled:d,open:P},ref:[Q,r,D,$],props:[G.reference,q,X,K,{[v.CLICK_TRIGGER_IDENTIFIER]:"",id:C,"aria-haspopup":"dialog","aria-expanded":P,"aria-controls":H},y,Y],stateAttributesMapping:{open:e=>e&&U===h.REASONS.triggerPress?E.pressableTriggerOpenStateMapping.open(e):E.triggerOpenStateMapping.open(e)}}),en=(0,t.jsx)(n.Fragment,{children:et},C);return B&&!z?(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(A.FocusGuard,{ref:Z,onFocus:J}),en,(0,t.jsx)(A.FocusGuard,{ref:k.context.triggerFocusTargetRef,onFocus:ee})]}):en});var $=e.i(726674);let D=n.createContext(void 0),B=n.forwardRef(function(e,n){let{keepMounted:r=!1,...i}=e;return l().useState("mounted")||r?(0,t.jsx)(D.Provider,{value:r,children:(0,t.jsx)($.FloatingPortal,{ref:n,...i})}):null});var U=e.i(144394),W=e.i(146376);let V=n.createContext(void 0);function z(){let e=n.useContext(V);if(!e)throw Error((0,s.default)(46));return e}var q=e.i(923706),G=e.i(426),K=e.i(222640),X=e.i(789579),Y=e.i(33383);let Q=n.forwardRef(function(e,r){let{render:i,className:a,style:d,anchor:u,positionMethod:c,side:p,align:f,sideOffset:g,alignOffset:m,collisionBoundary:x="clipping-ancestors",collisionPadding:b,arrowPadding:y,sticky:w,disableAnchorTracking:k=!1,collisionAvoidance:C=v.POPUP_COLLISION_AVOIDANCE,...j}=e,S=l(),P=function(){let e=n.useContext(D);if(void 0===e)throw Error((0,s.default)(45));return e}(),T=(0,o.useFloatingNodeId)(),E=S.useState("floatingRootContext"),R=S.useState("mounted"),I=S.useState("open"),M=S.useState("openChangeReason"),O=S.useState("activeTriggerElement"),N=S.useState("modal"),A=S.useState("openMethod"),_=S.useState("positionerElement"),L=S.useState("instantType"),F=S.useState("transitionStatus"),H=S.useState("adaptiveOrigin"),$=n.useRef(null),B=(0,K.useAnimationsFinished)(_),z=(0,q.useAnchorPositioning)({anchor:u,floatingRootContext:E,positionMethod:c,mounted:R,side:p,sideOffset:g,align:f,alignOffset:m,arrowPadding:y,collisionBoundary:x,collisionPadding:b,sticky:w,disableAnchorTracking:k,keepMounted:P,nodeId:T,collisionAvoidance:C,adaptiveOrigin:H}),Q=E.useState("domReferenceElement");(0,W.useIsoLayoutEffect)(()=>{let e=$.current;if(Q&&($.current=Q),e&&Q&&Q!==e){S.set("instantType",void 0);let e=new AbortController;return B(()=>{S.set("instantType","trigger-change")},e.signal),()=>{e.abort()}}},[Q,B,S]);let Z=!0===N&&M!==h.REASONS.triggerHover;(0,Y.useAnchoredPopupScrollLock)(I&&Z,"touch"===A,_,O);
1let J=S.useStateSetter("positionerElement"),ee={open:I,side:z.side,align:z.align,anchorHidden:z.anchorHidden,instant:L},et=(0,X.usePositioner)(e,ee,{styles:z.positionerStyles,transitionStatus:F,props:j,refs:[r,J],hidden:!R,inert:!I});return(0,t.jsxs)(V.Provider,{value:z,children:[R&&Z&&(0,t.jsx)(G.InternalBackdrop,{inert:(0,U.inertValue)(!I),cutout:O}),(0,t.jsx)(o.FloatingNode,{id:T,children:et})]})});var Z=e.i(229315),J=e.i(61487),ee=e.i(431157),et=e.i(137584),en=e.i(673327),er=e.i(96533),ei=e.i(253984),eo=e.i(667865);let es=n.createContext(void 0),ea=n.forwardRef(function(e,r){let{render:i,className:o,style:s,initialFocus:a,finalFocus:d,...u}=e,c=l(),p=z(),f=null!=(0,er.useToolbarRootContext)(!0),{context:m,hasClosePart:x}=function(){let[e,t]=n.useState(0),r=(0,eo.useStableCallback)(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:n.useMemo(()=>({register:r}),[r]),hasClosePart:e>0}}(),v=c.useState("open"),b=c.useState("openMethod"),y=c.useState("instantType"),w=c.useState("transitionStatus"),k=c.useState("popupProps"),C=c.useState("titleElementId"),j=c.useState("descriptionElementId"),S=c.useState("modal"),P=c.useState("mounted"),T=c.useState("openChangeReason"),I=c.useState("activeTriggerElement"),M=c.useState("floatingRootContext"),O=M.useState("floatingId"),N=c.useState("disabled"),A=c.useState("openOnHover"),_=c.useState("closeDelay");(0,et.useOpenChangeComplete)({open:v,ref:c.context.popupRef,onComplete(){v&&c.context.onOpenChangeComplete?.(!0)}}),(0,ee.useHoverFloatingInteraction)(M,{enabled:A&&!N,closeDelay:_});let L=void 0===a?(0,g.createDefaultInitialFocus)(c.context.popupRef):a,F=!1!==S&&x;c.useSyncedValue("focusManagerModal",F);let H=c.useStateSetter("popupElement"),$={open:v,side:p.side,align:p.align,instant:y,transitionStatus:w},D=(0,R.useRenderElement)("div",e,{state:$,ref:[r,c.context.popupRef,H],props:[k,{id:O,role:"dialog",...g.FOCUSABLE_POPUP_PROPS,"aria-labelledby":C,"aria-describedby":j,onKeyDown(e){f&&en.COMPOSITE_KEYS.has(e.key)&&e.stopPropagation()}},(0,ei.getDisabledMountTransitionStyles)(w),u],stateAttributesMapping:E.popupTransitionStateMapping});return(0,t.jsx)(J.FloatingFocusManager,{context:M,openInteractionType:b,modal:F,disabled:!P||T===h.REASONS.triggerHover,initialFocus:L,returnFocus:d,restoreFocus:"popup",previousFocusableElement:(0,Z.isHTMLElement)(I)?I:void 0,nextFocusableElement:c.context.triggerFocusTargetRef,beforeContentFocusGuardRef:c.context.beforeContentFocusGuardRef,children:(0,t.jsx)(es.Provider,{value:m,children:D})})}),el=n.forwardRef(function(e,t){let{render:n,className:r,style:i,...o}=e,s=l().useState("open"),{arrowRef:a,side:d,align:u,arrowUncentered:c,arrowStyles:p}=z();return(0,R.useRenderElement)("div",e,{state:{open:s,side:d,align:u,uncentered:c},ref:[t,a],props:[{style:p,"aria-hidden":!0},o],stateAttributesMapping:E.popupStateMapping})}),ed=n.forwardRef(function(e,t){let{render:n,className:r,style:i,...o}=e,s=l(),a=s.useState("open"),d=s.useState("mounted"),u=s.useState("transitionStatus"),c=s.useState("openChangeReason");return(0,R.useRenderElement)("div",e,{state:{open:a,transitionStatus:u},ref:t,props:[{role:"presentation",hidden:!d,style:{pointerEvents:c===h.REASONS.triggerHover?"none":void 0,userSelect:"none",WebkitUserSelect:"none"}},o],stateAttributesMapping:E.popupTransitionStateMapping})}),eu=n.forwardRef(function(e,t){let{render:n,className:r,style:i,...o}=e,s=l(),a=(0,N.useBaseUiId)(o.id);return s.useSyncedValueWithCleanup("titleElementId",a),(0,R.useRenderElement)("h2",e,{ref:t,props:[{id:a},o]})}),ec=n.forwardRef(function(e,t){let{render:n,className:r,style:i,...o}=e,s=l(),a=(0,N.useBaseUiId)(o.id);return s.useSyncedValueWithCleanup("descriptionElementId",a),(0,R.useRenderElement)("p",e,{ref:t,props:[{id:a},o]})}),ep=n.forwardRef(function(e,t){let{render:r,className:i,style:o,disabled:s=!1,nativeButton:a=!0,...d}=e,{buttonRef:u,getButtonProps:c}=(0,T.useButton)({disabled:s,focusableWhenDisabled:!1,native:a}),p=l(),f=n.useContext(es);return(0,W.useIsoLayoutEffect)(()=>f?.register(),[f]),(0,R.useRenderElement)("button",e,{ref:[t,u],props:[{onClick(e){p.setOpen(!1,(0,C.createChangeEventDetails)(
1h.REASONS.closePress,e.nativeEvent))}},d,c]})});var eh=e.i(818390);let ef=n.forwardRef(function(e,t){let{render:n,className:r,style:i,children:o,...s}=e,a=l(),{side:d}=z(),u=a.useState("instantType"),{children:c,state:p}=(0,eh.usePopupViewport)({store:a,side:d,children:o}),h={activationDirection:p.activationDirection,transitioning:p.transitioning,instant:u};return(0,R.useRenderElement)("div",e,{state:h,ref:t,props:[s,{children:c}],stateAttributesMapping:eh.popupViewportStateMapping})});var eg=e.i(564170);class em extends eg.BasePopupHandle{constructor(){super(function(){let e=new x.PopupTriggerMap;return Object.assign(new f.NullStore(Object.freeze(w(void 0,e)),Object.freeze(k(e)),b),{setOpen:p.NOOP})}(),"Popover")}open(e){this.openByTrigger(e)}close(){this.closePopup()}get isOpen(){return this.attachedStore?.select("open")??!1}}function ex(){return new em}var ev=e.i(466914),ev=ev,eb=e.i(296548);let ey=ev.Root,ew=ev.Trigger,ek=({className:e,positionerClassName:n,align:r="center",side:i,sideOffset:o=4,collisionPadding:s,anchor:a,...l})=>(0,t.jsx)(ev.Portal,{children:(0,t.jsx)(ev.Positioner,{className:(0,eb.cn)("z-50",n),align:r,side:i,sideOffset:o,collisionPadding:s,anchor:a,children:(0,t.jsx)(ev.Popup,{className:(0,eb.cn)("bg-popover text-popover-foreground w-72 origin-(--transform-origin) rounded-md border p-4 shadow-md outline-hidden","data-starting-style:opacity-0 data-starting-style:scale-95 data-ending-style:opacity-0 data-ending-style:scale-95","transition-[scale,opacity] duration-100 ease-out motion-reduce:transition-none",e),...l})})})},3303,(e,t,n)=>{t.exports=e.r(479520)},15786,e=>{"use strict";function t(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}e.s(["isValidEmail",()=>t])},16430,e=>{"use strict";e.s(["LineCenter",()=>r]);var t=e.i(843476),n=e.i(296548);function r({className:e,children:r}){return(0,t.jsx)("div",{className:(0,n.cn)("h-[1lh] flex items-center shrink-0",e),children:r})}},914423,e=>{"use strict";e.s(["DeprecatedLabel",()=>r]);var t=e.i(843476),n=e.i(296548);function r({className:e}){return(0,t.jsx)("div",{className:(0,n.cn)("w-[78px] h-[21px] bg-[#FDEAD8] dark:bg-[#613105] text-[#AE590A] dark:text-[#E9760C] font-medium text-xs leading-4 flex justify-center items-center p-1.5 rounded-md whitespace-nowrap",e),children:"deprecated"})}},978264,e=>{"use strict";e.s(["ArrowsExpandDiagonalIcon",()=>t]);let t=(0,e.i(930733).default)("ArrowsExpandDiagonalIcon",[["path",{d:"M10.75 2.75H15.25V7.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M15.25 2.75L10.75 7.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M2.75 10.75V15.25H7.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M2.75 15.25L7.25 10.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined")},968592,e=>{"use strict";e.s(["ChevronUpIcon",()=>t]);let t=(0,e.i(930733).default)("ChevronUpIcon",[["path",{d:"M2.75 11.5L9 5.25L15.25 11.5",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined")},296540,e=>{"use strict";e.s(["AssistantExternalLink",()=>i]);var t=e.i(843476),n=e.i(588420),r=e.i(296548);let i=({href:e,onClick:i,title:o,className:s})=>(0,t.jsx)("a",{href:e,onClick:i,target:"_blank",rel:"noopener noreferrer",className:"block",children:(0,t.jsxs)("span",{className:(0,r.cn)("flex items-center text-sm hover:brightness-[0.75] dark:hover:brightness-[1.35] text-primary dark:text-primary-light",s),children:[(0,t.jsx)("span",{className:"truncate font-medium",children:o}),(0,t.jsx)(n.ArrowUpRight2Icon,{"aria-hidden":"true",strokeWidth:2,className:"size-2.5 shrink-0 opacity-60"})]})})},227371,e=>{"use strict";function t(e){if("string"!=typeof e)return!1;try{let t=new URL(e);return"https:"===t.protocol}catch{return!1}}e.s(["isRemoteUrl",()=>t])},912522,e=>{"use strict";e.s(["AssistantPageLink",()=>s]);var t=e.i(843476),n=e.i(227371),r=e.i(296548),i=e.i(522016),o=e.i(296540);let s=({href:e,onClick:s,title:a,titleContainerClassName:l,onInternalLinkClick:d})=>
1(0,n.isRemoteUrl)(e)?(0,t.jsx)(o.AssistantExternalLink,{href:e,onClick:s,title:a,className:"gap-1"}):(0,t.jsx)(i.default,{href:e,onClick:()=>{d?.(),s()},children:(0,t.jsx)("span",{className:(0,r.cn)("flex items-center text-sm hover:brightness-[0.75] dark:hover:brightness-[1.35] text-primary dark:text-primary-light",l),children:(0,t.jsx)("span",{className:"truncate font-medium",children:a})})})},385346,e=>{"use strict";e.s(["bindLightboxHandle",()=>s,"createHandle",()=>i,"getHandleTrigger",()=>u,"getLightboxHandleSnapshot",()=>h,"getLightboxHandleVersion",()=>p,"notifyLightboxHandle",()=>o,"registerHandleTrigger",()=>l,"subscribeLightboxHandle",()=>c,"touchHandleTrigger",()=>d,"unbindLightboxHandle",()=>a]);let t=new WeakMap;function n(e){let n=t.get(e);if(!n)throw Error("Invalid Lightbox handle");return n}function r(e){for(let t of(e.version+=1,e.listeners))t()}function i(){let e={host:null,triggers:new Map,version:0,listeners:new Set},n={open(t,n){e.host&&e.host.open(t,n)},close(){e.host&&e.host.close()},goTo(t){e.host&&e.host.goTo(t)},get isOpen(){return e.host?.getOpen()??!1}};return t.set(n,e),n}function o(e){r(n(e))}function s(e,t){let i=n(e);for(let e of(i.host=t,i.triggers.values()))t.syncTrigger(e);r(i)}function a(e,t){let i=n(e);i.host===t&&(i.host=null,r(i))}function l(e,t){let i=n(e),o=i.triggers.get(t.id);return o&&o!==t&&i.host?.unsyncTrigger(o),i.triggers.set(t.id,t),i.host?.syncTrigger(t),r(i),()=>{i.triggers.get(t.id)===t&&(i.triggers.delete(t.id),i.host?.unsyncTrigger(t),r(i))}}function d(e,t){let i=n(e);i.triggers.get(t.id)===t&&(i.host?.syncTrigger(t),r(i))}function u(e,t){return n(e).triggers.get(t)}function c(e,t){let r=n(e);return r.listeners.add(t),()=>{r.listeners.delete(t)}}function p(e){return n(e).version}function h(e){let t=n(e);return{open:t.host?.getOpen()??!1,activeIndex:t.host?.getActiveIndex()??0,version:t.version}}},411901,e=>{"use strict";e.s(["DynamicMarkdown",()=>a,"DynamicMarkdownWithoutHeaders",()=>l]);var t=e.i(843476),n=e.i(770703),r=e.i(271645);let i=(0,n.default)(()=>e.A(623752).then(e=>e.Markdown),{loadableGenerated:{modules:[42685]}}),o=(0,n.default)(()=>e.A(623752).then(e=>e.MarkdownWithoutHeaders),{loadableGenerated:{modules:[42685]}});function s(e,n){return void 0===e?n:(0,t.jsx)(r.Suspense,{fallback:e,children:n})}function a({fallback:e,...n}){return s(e,(0,t.jsx)(i,{...n}))}function l({fallback:e,...n}){return s(e,(0,t.jsx)(o,{...n}))}},757808,e=>{"use strict";e.s(["TrashIcon",()=>t]);let t=(0,e.i(930733).default)("TrashIcon",[["path",{d:"M13.474 7.25L13.1 14.355C13.044 15.417 12.166 16.25 11.103 16.25H6.89801C5.83401 16.25 4.95701 15.417 4.90101 14.355L4.52701 7.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M2.75 4.75H15.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M6.75 4.75V2.75C6.75 2.198 7.198 1.75 7.75 1.75H10.25C10.802 1.75 11.25 2.198 11.25 2.75V4.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined")},307080,e=>{"use strict";e.s(["CREDENTIALS_LOCALSTORAGE_KEY",()=>t,"loadCredentialStore",()=>n]);let t="mintlify-auth";function n(e){var n,i,o,s;return n=this,i=void 0,o=void 0,s=function*(){var n;return null!=(n=yield e.load(t,r))?n:{query:{},header:{},cookie:{}}},new(o||(o=Promise))(function(e,t){function r(e){try{l(s.next(e))}catch(e){t(e)}}function a(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(e){e(n)})).then(r,a)}l((s=s.apply(n,i||[])).next())})}let r=e=>"object"==typeof e&&null!=e&&["header","cookie","query"].every(t=>"object"==typeof e[t]&&null!=e[t])},894587,e=>{"use strict";e.s(["ThemeProvider",()=>c]);var t=e.i(843476),n=e.i(662862),r=e.i(615824),i=e.i(822236),o=e.i(363178),s=e.i(271645),a=e.i(590280);function l(){return(0,s.useEffect)(()=>{let e=window.scrollY,t=document.documentElement.classList.contains("dark"),n=()=>{e=window.scrollY},r=new MutationObserver(()=>{let n=document.documentElement.classList.contains("dark");if(n===t)return;t=n;let r=window.scrollX,i=e;requestAnimationFrame(()=>{document.body.offsetHeight,window.scrollTo(r,i)})});return window.addEventListener("scroll",n,{passive:!0}),r.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}
1),()=>{window.removeEventListener("scroll",n),r.disconnect()}},[]),null}function d({fallback:e}){let{theme:t,forcedTheme:r}=(0,n.useTheme)();return(0,s.useEffect)(()=>{let n=(0,i.normalizeThemePreference)(r??t,e);document.documentElement.setAttribute(i.THEME_PREFERENCE_ATTRIBUTE,n)},[t,r,e]),null}function u(){let{theme:e,forcedTheme:t}=(0,n.useTheme)(),r=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{r.current="system"===e&&!t},[e,t]),(0,s.useEffect)(()=>{let e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>{r.current&&(0,n.suppressTransitionsThisTask)()};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),null}function c({children:e,appearance:c,queryParamMode:p,codeblockTheme:h,forceShikiThemeLoad:f,forcedTheme:g,...m}){let{isLivePreview:x,getDocsConfigOverrides:v}=(0,s.useContext)(a.LivePreviewContext),b=v(),y=b?.appearance,w=b?.styling?.codeblocks,k=p&&["dark","light","system"].includes(p),C=x&&w?w:h;(0,r.loadShikiThemes)(C,f);let j=k?p:x&&y?.default?y.default:c?.default,S=g??(k?p:x&&y?.strict?y.default:c?.strict?c.default:void 0),P=(0,i.normalizeThemePreference)(j),T=`${j??""}:${S??""}`,E=(0,s.useRef)(T);return(0,s.useLayoutEffect)(()=>{E.current!==T&&(E.current=T,(0,n.suppressTransitionsThisTask)())},[T]),(0,t.jsxs)(o.ThemeProvider,{attribute:"class",disableTransitionOnChange:!1,defaultTheme:j,forcedTheme:S,storageKey:"isDarkMode",themes:["dark","light","true","false","system"],value:{true:"dark",false:"light",dark:"dark",light:"light"},enableSystem:!0,...m,enableColorScheme:!1,children:[(0,t.jsx)("script",{dangerouslySetInnerHTML:{__html:(0,i.getThemePreferenceScript)(P,S)},suppressHydrationWarning:!0}),(0,t.jsx)(l,{}),(0,t.jsx)(u,{}),(0,t.jsx)(d,{fallback:P}),e]},x?T:void 0)}},192712,e=>{"use strict";function t(e,t){if(e){if("family"in e)return e;else if(t in e){let n=e[t];return"string"==typeof n?{family:n}:n}}}e.s(["getDetailedFontType",()=>t])},531961,e=>{"use strict";e.s(["FontScript",()=>c],531961);var t=e.i(843476),n=e.i(590280),r=e.i(479721);e.i(876469);var i=e.i(433180),o=e.i(771455);function s({font:e,subdomain:n}){if(!e||"Paper Mono"===e.family)return null;if(e.source){let r=function(e,t){let n=e.startsWith("fonts/"),r=e.startsWith("http://")||e.startsWith("https://");return n?`/${e}`:r?e:t?(0,o.getS3URI)(t,e):`/${e}`}(e.source,n),i=function(e){switch(e?.toLowerCase()){case"woff":return"font/woff";case"truetype":case"ttf":return"font/ttf";case"opentype":case"otf":return"font/otf";default:return"font/woff2"}}(e.format);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("link",{rel:"preload",href:r,as:"font",type:i,crossOrigin:"anonymous"}),(0,t.jsx)("style",{children:`@font-face {
2  font-family: '${e.family}';
3  src: url('${r}') format('${e.format}');
4  font-weight: ${e.weight};
5  font-display: swap;
6}`})]})}let r=(e.weight??"400;500;600;700;800").toString().split(";"),i=[...r.map(e=>`0,${e}`),...r.map(e=>`1,${e}`)].join(";");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,t.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,t.jsx)("link",{href:`https://fonts.googleapis.com/css2?family=${e.family.replace(/\s+/g,"+")}:ital,wght@${i}&display=swap`,rel:"stylesheet"})]})}let a=(e,t)=>"Paper Mono"===e?"var(--font-paper-mono)":`"${e}", ${t}`;function l({heading:e,body:n,mono:r}){return(0,t.jsx)("style",{children:`:root {
7  ${e?.family?`--font-family-headings-custom: ${a(e.family,i.SYSTEM_FONT_FALLBACK_STRING)};`:""}
8  ${e?.weight?`--font-weight-headings-custom: ${e.weight};`:""}
9  ${n?.family?`--font-family-body-custom: ${a(n.family,i.SYSTEM_FONT_FALLBACK_STRING)};`:""}
10  ${n?.weight?`--font-weight-body-custom: ${n.weight};`:""}
11  ${r?.family?`--font-family-mono-custom: ${a(r.family,i.MONO_FONT_FALLBACK_STRING)};`:""}
12}
13${r?.weight?`.font-family-mono { font-weight: ${r.weight}; }`:""}`})}var d=e.i(192712),u=e.i(271645);function c({theme:e,fonts:i,subdomain:o}){let{isLivePreview:a,getDocsConfigOverrides:c}=(0,u.useContext)(n.LivePreviewContext),p=c(),h=p?.theme,f=(0,r.getThemeFonts)(a&&h?h:e),g=p?.fonts;if(!i&&!f&&!g)return null;let m=a&&g?g:i??f,x=(0,d.getDetailedFontType)(m,"heading"),v=(0,d.getDetailedFontType)(m,"body"),b=f?.mono,y=[x,v,b].map(e=>e?`${e.family}|${e.weight??""}|${"source"in e&&"string"==typeof e.source?e.source:""}`:"").join(";");return(0,t.jsxs)(u.Fragment,{children:[(0,t.jsx)(s,{font:x,subdomain:o}),(0,t.jsx)(s,{font:v,subdomain:o}),(0,t.jsx)(s,{font:b,subdomain:o}),(0,t.jsx)(l,{heading:x,body:v,mono:b})]},y)}},649328,e=>{"use strict";e.s(["RoundedVariables",()=>o]);var t=e.i(843476),n=e.i(91557),r=e.i(590280),i=e.i(271645);function o({theme:e}){let{isLivePreview:o,getDocsConfigOverrides:s}=(0,i.useContext)(r.LivePreviewContext),{docsConfig:a}=(0,i.useContext)(n.DocsConfigContext),l=s(),d=l?.theme,u=e;if(a?.theme!==e&&(u=a?.theme),o&&d&&(u=d),"willow"===u){let e=`:root {
14      --rounded-sm: 0px;
15      --rounded: 0px;
16      --rounded-md: 0px;
17      --rounded-lg: 0px;
18      --rounded-xl: 0px;
19      --rounded-xt: 0px;
20      --rounded-2xl: 0px;
21      --rounded-search: 0px;
22      --rounded-3xl: 0px;
23      --rounded-full: 0px;
24  }`;return(0,t.jsx)("style",{children:e})}if("linden"!==u)return null;{let e=`:root {
25      --rounded-sm: 4px;
26      --rounded: 4px;
27      --rounded-md: 4px;
28      --rounded-lg: 4px;
29      --rounded-xl: 4px;
30      --rounded-xt: 4px;
31      --rounded-2xl: 4px;
32      --rounded-search: 4px;
33      --rounded-3xl: 4px;
34      --rounded-full: 4px;
35  }`;return(0,t.jsx)("style",{children:e})}}},557611,e=>{"use strict";e.s(["Fonts",()=>s]);var t=e.i(843476),n=e.i(590280),r=e.i(192712),i=e.i(296548),o=e.i(271645);function s({fonts:e,children:s}){let{isLivePreview:a,getDocsConfigOverrides:l}=(0,o.useContext)(n.LivePreviewContext),d=l(),u=d?.fonts,c=a&&u?u:e;return(0,t.jsx)("div",{className:(0,i.cn)("relative antialiased text-gray-500 dark:text-gray-400",(0,r.getDetailedFontType)(c,"headings")?.weight&&"[[&_:is(h1,h2,h3,h4,h5,h6)]:font-headingsWeight",(0,r.getDetailedFontType)(c,"body")?.weight&&"[&_*:not(h1,h2,h3,h4,h5,h6,strong,b,h1_*,h2_*,h3_*,h4_*,h5_*,h6_*,strong_*,b_*)]:font-bodyWeight"),children:s})}},378896,e=>{"use strict";e.s(["ConfiguredVariationProvider",()=>a,"VariationQuerySync",()=>s]);var t=e.i(843476),n=e.i(91557),r=e.i(734305),i=e.i(618566),o=e.i(271645);function s(){let e=(0,i.useSearchParams)(),{options:t,setSelectedVariation:n}=(0,r.useVariation)(),s=e?.get(r.VARIATION_QUERY_PARAM);return(0,o.useLayoutEffect)(()=>{let e=new URLSearchParams(window.location.search).get(r.VARIATION_QUERY_PARAM);s&&s===e&&t.some(e=>e.id===s)&&n(s)},[t,s,n]),null}function a({children:e}){let{docsConfig:i}=(0,o.useContext)(n.DocsConfigContext),{actualSubdomain:a,subdomain:l}=(0,o.useContext)(n.DeploymentMetadataContext);return i?.theme!=="willow"?e:(0,t.jsxs)(r.VariationProvider,{options:i.variations?.options,projectId:a??l,children:[(0,t.jsx)(o.Suspense,{fallback:null,children:(0,t.jsx)(s,{})}),e]})}},340373,129749,e=>{"use strict";e.s(["MinusIcon",()=>n],340373);var t=e.i(930733);let n=(0,t.default)("MinusIcon",[["path",{d:"M3.25 9H14.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined");e.s(["PlusIcon",()=>r],129749);let r=(0,t.default)("PlusIcon",[["path",{d:"M9 3.25V14.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M3.25 9H14.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined")},92621,382677,e=>{"use strict";e.s(["removeLeadingSlash",()=>n],92621),e.s(["createPathArr",()=>t],382677);let t=e=>e.split(/[\\/]/).filter(e=>""!==e),n=e=>t(e).join("/")},707934,e=>{"use strict";e.s(["WebMcpRegistration",()=>f,"resolveSitePath",()=>h]);var t=e.i(206558),n=e.i(95323),r=e.i(674987),i=e.i(194838),o=e.i(618566),s=e.i(271645);let a="\n\n[Results truncated]",l={readOnlyHint:!0,untrustedContentHint:!0},d={readOnlyHint:!1,untrustedContentHint:!1};function u(e,t){return e.length<=t?e:`${e.slice(0,t-a.length)}${a}`}function c(e){return{content:[{type:"text",text:e}]}}function p(e){return`${window.location.origin}${t.NEXT_PUBLIC.BASE_PATH}${(0,i.optionallyAddLeadingSlash)(e)}`}function h(e){try{let n=new URL(String(e??""),window.location.origin);if(n.origin!==window.location.origin)return;let r=t.NEXT_PUBLIC.BASE_PATH;if(n.pathname.startsWith("//"))return;let i=n.pathname;return r&&i===r?i="/":r&&i.startsWith(`${r}/`)&&(i=i.slice(r.length)),i.endsWith(".md")?i.slice(0,-3):i}catch{return}}function f({subdomain:e,siteName:i}){let a=(0,o.useRouter)();return(0,s.useEffect)(()=>{let o=document.modelContext;if(!o)return;let s=new AbortController,f={name:"search_docs",description:`Search the ${i} documentation for relevant pages and content.`,inputSchema:{type:"object",properties:{query:{type:"string",description:"Search query"}},required:["query"],additionalProperties:!1},annotations:l,async execute(n){let r=String(n.query??"").trim();if(!r)return c("Error: query is required.");let i=`${t.NEXT_PUBLIC.BASE_PATH}/_mintlify/api-public/search/${encodeURIComponent(e)}`,o=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:r})});if(!o.ok)return c(`Search failed (${o.status})`);let s=((await o.json()).results??[]).slice(0,10);return 0===s.length?c("No results found."):c(u(s.map(e=>[`## ${e.header}`,`URL: ${p(e.page)}`,e.content].join("\n")).join("\n\n"),1500))}},g={name:"read_page",description:`Read the full content of a ${i} documentation page as markdown.`,inputSchema:{type:"object",properties:{path:{type:"string",description:"Path or URL of the page, as returned by search_docs"}},required:["path"],additionalProperties:!1},annotations:l,async execute(e){let t=h(e.path);if(!t)return c("Error: path must be a page on this site.");let r=await (0,n.getPageMarkdown)(t);return r?c(u(r,12e3)):c(`Page not found: ${t}`)}},m={name:"navigate_page",description:`Navigate the current browser tab to a ${i} documentation page.`,inputSchema:{type:"object",properties:{path:{type:"string",description:"Path or URL of the page, as returned by search_docs"}},required:["path"],additionalProperties:!1},annotations:d,async execute(e){let t=h(e.path);return t?(a.push((0,r.navHref)(t)),c(`Navigated to ${p(t)}`)):c("Error: path must be a page on this site.")}},x={name:"get_site_overview",description:`Get an outline of the ${i} documentation, grouped by section, with a short description of each page. May be truncated for large sites; use search_docs to find pages not listed.`,inputSchema:{type:"object",properties:{},additionalProperties:!1},annotations:l,async execute(){let e=await fetch(`${t.NEXT_PUBLIC.BASE_PATH}/llms.txt`);return e.ok?c(u(await e.text(),12e3)):c(`Site overview unavailable (${e.status})`)}},v={name:"read_skill",description:`Read a ${i} agent skill document by name.`,inputSchema:{type:"object",properties:{skill_name:{type:"string",description:"The slug of the skill to read"}},required:["skill_name"],additionalProperties:!1},annotations:l,async execute(e){let n=String(e.skill_name??"").trim();if(!n)return c("Error: skill_name is required.");let r=await fetch(`${t.NEXT_PUBLIC.BASE_PATH}/.well-known/agent-skills/${encodeURIComponent(n)}/skill.md`);return r.ok?c(u(await r.text(),12e3)):c(`Skill not found: ${n}`)}};return async function(e){try{await Promise.all([f,g,m,x,v].map(t=>e.registerTool(t,{signal:s.signal})))}catch(e){if(s.signal.aborted)return;s.abort(),console.error("Failed to register WebMCP tools",e)}}(o),()=>{s.abort()}},[a,e,i]),null}},403708,e=>{"use strict";e.s(["PreviewWidgetContext",()=>s,"PreviewWidgetProvider",()=>d]);var t=e.i(843476),n=e.i(91557),r=e.i(206558),i=e.i(271645),o=e.i(50270);let s=(0,i.createContext)({changedFiles:[],isLoading:!1,analyticsContext:void 0,isMenuOpen:!1,setIsMenuOpen:e=>{},searchQuery:"",setSearchQuery:e=>{},isSearchOpen:!1,setIsSearchOpen:e=>{},editorBaseUrl:void 0}),a=o.z.object({title:o.z.string().optional()}).passthrough(),l=o.z.object({changedFiles:o.z.array(o.z.object({path:o.z.string(),status:o.z.enum
35(["added","removed","modified"]),rawPath:o.z.string().optional(),pageMetadata:a.optional()}))}),d=({changedFiles:e,analyticsContext:o,editorBaseUrl:a,children:d})=>{let{subdomain:u}=(0,i.useContext)(n.DeploymentMetadataContext),{auth:c}=(0,i.useContext)(n.AuthContext),p=!!c,[h,f]=(0,i.useState)(!1),[g,m]=(0,i.useState)(""),[x,v]=(0,i.useState)(!1),[b,y]=(0,i.useState)(void 0);return(0,i.useEffect)(()=>{if(e||!u)return;let t=new AbortController;return y(void 0),(async()=>{try{let e=p?`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/changed-files/scoped`:`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/changed-files/${u}`,n=await fetch(e,{signal:t.signal}),i=n.ok?function(e){let t=l.safeParse(e);return t.success?t.data.changedFiles:void 0}(await n.json()):void 0;y(i??[])}catch(e){t.signal.aborted||(console.error("Failed to fetch changed files",e),y([]))}})(),()=>t.abort()},[p,e,u]),(0,t.jsx)(s.Provider,{value:{changedFiles:e??b??[],isLoading:!e&&void 0===b,analyticsContext:o,isMenuOpen:h,setIsMenuOpen:f,searchQuery:g,setSearchQuery:m,isSearchOpen:x,setIsSearchOpen:v,editorBaseUrl:a},children:d})}},802953,e=>{"use strict";e.s(["WidgetTrigger",()=>E],802953);var t=e.i(843476),n=e.i(772803),r=e.i(501982),i=e.i(930733);let o=(0,i.default)("FileSearchIcon",[["path",{d:"M5.75 6.75H7.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M5.75 9.75H10.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M15.16 6.24999H11.75C11.198 6.24999 10.75 5.80199 10.75 5.24999V1.85199",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M14 16.25C15.2426 16.25 16.25 15.2426 16.25 14C16.25 12.7574 15.2426 11.75 14 11.75C12.7574 11.75 11.75 12.7574 11.75 14C11.75 15.2426 12.7574 16.25 14 16.25Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M15.25 9.438V6.664C15.25 6.399 15.145 6.144 14.957 5.957L11.043 2.043C10.855 1.855 10.601 1.75 10.336 1.75H4.75C3.645 1.75 2.75 2.646 2.75 3.75V14.25C2.75 15.354 3.645 16.25 4.75 16.25H9.843",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}
35],["path",{d:"M15.59 15.59L17.25 17.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined");var s=e.i(296548),a=e.i(271645),l=e.i(403708),d=e.i(872866),u=e.i(137829),c=e.i(447939);let p=()=>{let{analyticsMediator:e}=(0,a.useContext)(c.default),t=(0,a.useMemo)(()=>{if(e)return{fileListViewed:e.createEventListener("preview_widget.file_list.viewed"),fileOpened:e.createEventListener("preview_widget.file.opened"),fileEditorOpened:e.createEventListener("preview_widget.file.editor_opened")}},[e]),n=(0,a.useCallback)(e=>{let n=(({analyticsContext:e,file:t,currentPath:n,changedFileCount:r,visibleFileCount:i,hasSearchQuery:o,hasEditorBaseUrl:s})=>{if(e)return{mainDeploymentId:e.mainDeploymentId,mainDeploymentSubdomain:e.mainDeploymentSubdomain,filePath:t?.path,fileRawPath:t?.rawPath,fileStatus:t?.status,currentPath:n,changedFileCount:r,visibleFileCount:i,hasSearchQuery:o,hasEditorBaseUrl:s}})(e);if(n&&t){if("preview_widget.file_list.viewed"===e.event)return void t.fileListViewed(n);if("preview_widget.file.opened"===e.event)return void t.fileOpened(n);t.fileEditorOpened(n)}},[t]);return{isPreviewWidgetAnalyticsReady:!!t,trackPreviewWidgetEvent:n}};var h=e.i(92621),f=e.i(803333);e.i(914140);var g=e.i(773626),m=e.i(431392);let x=(0,i.default)("FileFeatherIcon",[["path",{d:"M5.75 6.75H7.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M5.75 9.75H10.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M15.16 6.24999H11.75C11.198 6.24999 10.75 5.80199 10.75 5.24999V1.85199",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M15.25 8.584V6.664C15.25 6.399 15.145 6.144 14.957 5.957L11.043 2.043C10.855 1.855 10.601 1.75 10.336 1.75H4.75C3.645 1.75 2.75 2.646 2.75 3.75V14.25C2.75 15.354 3.645 16.25 4.75 16.25H8.385",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M10.75 17.25C10.75 17.25 11.432 11.259 17.25 10.75C15.82 12.44 17.25 15.75 13.5 15.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined");var v=e.i(522016),b=e.i(340373),y=e.i(129749);let w=(0,i.default)("SquarePlusMinusIcon",[["path",{d:"M13.25 2.75H4.75C3.64543 2.75 2.75 3.64543 2.75 4.75V13.25C2.75 14.3546 3.64543 15.25 4.75 15.25H13.25C14.3546 15.25 15.25 14.3546 15.25 13.25V4.75C15.25 3.64543 14.3546 2.75 13.25 2.75Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M9 4.75V9.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M11.5 7.25H6.5",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M11.5 12.25H6.5",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined"),k=({status:e,className:n})=>{let{Icon:r,label:i}={added:{Icon:y.PlusIcon,label:"Added file"},removed:{Icon:b.MinusIcon,label:"Removed file"},modified:{Icon:w,label:"Modified file"}}[e];return(0,t.jsx)(r,{strokeWidth:2,className:(0,s.cn)("size-3.5 text-inherit",n),"aria-label":i})},C=({status:e})=>{let n={added:{label:"Added",className:"bg-green-50 dark:bg-green-900/20 text-green-800 dark:text-green-500"},removed:{label:"Removed",className:"bg-red-50 dark:bg-red-900/20 text-red-800 dark:text-red-500"},modified:{label:"Modified",className:"bg-yellow-50 dark:bg-yellow-900/20 text-yellow-800 dark:text-yellow-500"}}[e];return(0,t.jsxs)("div",{className:(0,s.cn)("inline-flex items-center gap-1 px-1.5 py-0.5 rounded-md text-xs font-medium",n.className),role:"status","aria-label":`File status: ${n.label}`,children:[(0,t.jsx)(k,{status:e,className:"shrink-0 size-2.5"}),(0,t.jsx)("span",{children:n.label})]})},j=({file:e})=>{let{analyticsContext:r,editorBaseUrl:i,setIsMenuOpen:o}=(0,a.useContext)(l.PreviewWidgetContext),{trackPreviewWidgetEvent:d}=p(),u=(0,f.useCurrentPath)(),c=(0,a.useMemo)(()=>{if(i)return`${i}/${(e.rawPath??"").split("/").map(e=>encodeURIComponent(e)).join("/")}`},[i,e.rawPath]),h=(0,g.isEqualIgnoringLeadingSlash)(u,e.path),b="removed"===e.status,y=!!i,w=(0,s.cn)("group/change-page-item p-2 rounded-xl flex items-center gap-2 w-full disabled:cursor-not-allowed",h&&"bg-[#F9F9F9] dark:bg-[#191A1B]",!b&&"hover:bg-[#F9F9F9] dark:hover:bg-[#191A1B]"),k=(0,t.jsxs)("div",{className:"flex items-center gap-2 min-w-0 
35w-full",children:[(0,t.jsx)("div",{className:"w-[5rem] flex justify-start",children:(0,t.jsx)(C,{status:e.status})}),(0,t.jsx)("p",{className:"text-sm text-left text-gray-900 dark:text-gray-100 truncate flex-1",title:e.path,children:e.path}),!b&&i&&(0,t.jsx)(n.TooltipProvider,{children:(0,t.jsxs)(n.Tooltip,{children:[(0,t.jsx)(n.TooltipTrigger,{render:(0,t.jsx)("a",{href:c,target:"_blank",rel:"noopener noreferrer",onClick:t=>{t.stopPropagation(),d({event:"preview_widget.file.editor_opened",analyticsContext:r,file:e,currentPath:u,hasEditorBaseUrl:y})},className:"opacity-0 group-hover/change-page-item:opacity-100 ml-auto shrink-0 p-1 rounded hover:bg-[#F0F0F0] dark:hover:bg-[#252627] text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300","aria-label":`Open ${e.path} in editor`,children:(0,t.jsx)(x,{strokeWidth:2,className:"size-[18px] shrink-0","aria-hidden":"true"})})}),(0,t.jsxs)(n.TooltipContent,{className:"text-sm",side:"left",children:[(0,t.jsx)(n.TooltipArrow,{}),(0,t.jsx)("p",{children:"Open in editor"})]})]})})]});return b?(0,t.jsx)("button",{className:w,disabled:!0,"aria-disabled":"true",children:k}):(0,t.jsx)(v.default,{href:(0,m.optionallyAddLeadingSlash)(e.path),prefetch:!0,className:w,onClick:()=>{d({event:"preview_widget.file.opened",analyticsContext:r,file:e,currentPath:u,hasEditorBaseUrl:y}),o(!1)},"aria-current":h?"page":void 0,children:k})},S=()=>{let{analyticsContext:e,changedFiles:n,editorBaseUrl:r,isLoading:i,searchQuery:o}=(0,a.useContext)(l.PreviewWidgetContext),{isPreviewWidgetAnalyticsReady:s,trackPreviewWidgetEvent:d}=p(),u=(0,a.useRef)(!1),c=(0,a.useMemo)(()=>((e,t)=>{if(!t.trim())return e;let n=(0,h.removeLeadingSlash)(t.trim()).toLowerCase();return e.filter(e=>{let t=e.pageMetadata?.title?.toLowerCase().includes(n),r=e.path.toLowerCase().includes(n);return t||r})})(n,o),[n,o]);return(0,a.useEffect)(()=>{s&&e&&!i&&!u.current&&(u.current=!0,d({event:"preview_widget.file_list.viewed",analyticsContext:e,changedFileCount:n.length,visibleFileCount:c.length,hasSearchQuery:o.trim().length>0,hasEditorBaseUrl:!!r}))},[e,n.length,r,c.length,i,s,o,d]),(0,t.jsx)("div",{className:"flex flex-col overflow-y-auto flex-1 min-h-0 gap-px",role:"list","aria-label":"Changed files",children:i?(0,t.jsx)("div",{className:"animate-pulse",role:"status","aria-label":"Loading changed files",children:[0,1,2].map(e=>(0,t.jsxs)("div",{className:"p-2 rounded-xl flex items-center gap-2 w-full",children:[(0,t.jsx)("div",{className:"w-[5rem] flex justify-start",children:(0,t.jsx)("div",{className:"h-4 w-full bg-gray-200 dark:bg-gray-700 rounded-md"})}),(0,t.jsx)("div",{className:"h-4 w-40 bg-gray-200 dark:bg-gray-700 rounded-md"})]},e))}):c.length>0?c.map(e=>(0,t.jsx)("div",{role:"listitem",children:(0,t.jsx)(j,{file:e})},e.path)):(0,t.jsx)("div",{className:"flex flex-col items-center justify-center py-8 px-4",role:"status",children:(0,t.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400 text-center",children:o.trim()?"No files match your search":"No file changes"})})})},P=()=>{let{searchQuery:e,setSearchQuery:n,setIsMenuOpen:r}=(0,a.useContext)(l.PreviewWidgetContext),i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let t=t=>{"Escape"===t.key&&i.current===document.activeElement&&(e?(t.preventDefault(),t.stopPropagation(),n("")):r(!1))};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[e,n,r]),(0,t.jsxs)("div",{className:"relative flex items-center w-full",children:[(0,t.jsx)("label",{htmlFor:"preview-widget-search",className:"sr-only",children:"Search files"}),(0,t.jsx)("input",{id:"preview-widget-search",ref:i,type:"text",value:e,onChange:e=>n(e.target.value),placeholder:"What are you looking for?","aria-label":"Search files",className:"flex-1 text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400 dark:placeholder:text-gray-500 bg-transparent focus-within:outline-0",autoFocus:!0,autoComplete:"off"})]})},T=()=>{let{changedFiles:e,isSearchOpen:n,setIsSearchOpen:r,setSearchQuery:i}=(0,a.useContext)(l.PreviewWidgetContext);return(0,t.jsx)("div",{className:"flex flex-col min-h-0 flex-1",children:(0,t.jsx)("div",{className:"flex flex-col flex-1 min-h-0 transition-all duration-300 ease-out",children:(0,t.jsx)("div",{id:"files-panel",role:"tabpanel","aria-labelledby":"files-tab",className:"flex flex-col flex-1 min-h-0",children:(0,t.jsxs)("div",{className:"flex flex-col overflow-y-auto flex-1 min-h-0 p-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 px-2 pt-1.5 pb-3 shrink-0 text-sm text-gray-400 dark:text-gray-500",children:[n?(0,t.jsx)(P,{}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("span",{className:"text-sm",children:[e.length>0&&(0,t.jsx)("span",{"aria-label":`${e.length} files changed`,children:e.length})," ",e.length>1?"files":"file"," changed"]})}),(0,t.jsx)("button",{onClick:()=>{n&&i(""),r(!n)},"aria-label":"Toggle search","aria-expanded":n,children:n?(0,t.jsx)(u.XmarkIcon,{"aria-hidden":"true",strokeWidth:2,className:"size-4 shrink-0"}):(0,t.jsx)(d.MagnifierIcon,{"aria-hidden":"true",strokeWidth:2,className:"size-4 shrink-0"})})]}),(0,t.jsx)(S,{})]})})})})},E=()=>{let{isMenuOpen:e,setIsMenuOpen:i,searchQuery:d}=(0,a.useContext)(l.PreviewWidgetContext),[u,c]=(0,a.useState)(!1);return(0,t.jsx)(n.TooltipProvider,{delay:150,children:(0,t.jsxs)(r.Popover,{open:e,onOpenChange:(e,t)=>
35{(e||"escape-key"!==t.reason||!d)&&i(e)},children:[(0,t.jsxs)(n.Tooltip,{open:u&&!e,children:[(0,t.jsx)(n.TooltipTrigger,{render:(0,t.jsx)(r.PopoverTrigger,{render:(0,t.jsx)("button",{onClick:()=>i(!e),onPointerEnter:()=>c(!0),onPointerLeave:()=>c(!1),"aria-haspopup":"menu","aria-expanded":e,"aria-label":"Preview Widget",className:(0,s.cn)("overflow-hidden z-999 flex touch-none fixed bottom-7 right-7 w-fit items-center justify-center rounded-full p-2 border border-gray-950/20 dark:border-white/20 size-12","bg-background-dark dark:bg-background-light dark:brightness-[1.5]","hover:bg-neutral-900 dark:hover:bg-neutral-100 aria-expanded:bg-neutral-900 dark:aria-expanded:bg-neutral-100","cursor-pointer active:scale-[93%] transition-height transition-[transform,background-color] duration-150 ease-in-out outline-offset-4","animate-[slide-up_0.8s_ease-out]"),children:(0,t.jsx)(o,{"aria-hidden":"true",strokeWidth:2,className:"size-5 text-white dark:text-gray-900 shrink-0"})})})}),(0,t.jsxs)(n.TooltipContent,{side:"left",showArrow:!1,className:"bg-background-dark dark:bg-background-light",children:[(0,t.jsx)(n.TooltipArrow,{className:"[&_svg]:text-background-dark dark:[&_svg]:text-background-light",arrowBgClassName:"bg-background-dark dark:bg-background-light"}),(0,t.jsx)("p",{className:"text-xs text-white dark:text-gray-900",children:"View changed files"})]})]}),(0,t.jsx)(r.PopoverContent,{collisionPadding:25,className:"outline-0 sm:w-[380px] p-0 min-h-[70px] max-h-[80vh] rounded-3xl bg-background-light dark:bg-background-dark border border-gray-50 dark:border-white/[0.08] flex flex-col shadow-2xl shadow-gray-900/5",side:"top",align:"end",role:"dialog","aria-label":"Preview Widget Menu",style:{boxShadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.1)"},children:(0,t.jsx)(T,{})})]})})}},389096,e=>{e.v(t=>Promise.all(["static/chunks/82dd77156ef6225d.js","static/chunks/31f7d10d729ba249.js","static/chunks/a0d6544003b7d24c.js"].map(t=>e.l(t))).then(()=>t(567288)))},753735,e=>{e.v(t=>Promise.all(["static/chunks/8add19b672ff0e94.js"].map(t=>e.l(t))).then(()=>t(639230)))},108387,e=>{e.v(t=>Promise.all(["static/chunks/6f7c0c24933652d0.js"].map(t=>e.l(t))).then(()=>t(563703)))},566265,e=>{e.v(t=>Promise.all(["static/chunks/b32535d7748ff90b.js"].map(t=>e.l(t))).then(()=>t(871530)))},353183,e=>{e.v(t=>Promise.all(["static/chunks/00d40ac625fa85c0.js"].map(t=>e.l(t))).then(()=>t(180689)))},622025,e=>{e.v(t=>Promise.all(["static/chunks/23ca30f14cd149f3.js"].map(t=>e.l(t))).then(()=>t(492032)))},644985,e=>{e.v(t=>Promise.all(["static/chunks/6742215b8d63006d.js"].map(t=>e.l(t))).then(()=>t(604570)))},366555,e=>{e.v(t=>Promise.all(["static/chunks/0fd6f8b6a55e377d.js"].map(t=>e.l(t))).then(()=>t(761198)))},291239,e=>{e.v(t=>Promise.all(["static/chunks/263c4141d29c317a.js"].map(t=>e.l(t))).then(()=>t(697374)))},863050,e=>{e.v(t=>Promise.all(["static/chunks/7eb502f79ae957c5.js","static/chunks/e35bd78ebe5f8f9f.js","static/chunks/7322c73bb6d8d6cd.js"].map(t=>e.l(t))).then(()=>t(299550)))},929176,e=>{e.v(t=>Promise.all(["static/chunks/480697d5e64c5f4c.js"].map(t=>e.l(t))).then(()=>t(593615)))},307612,e=>{e.v(t=>Promise.all(["static/chunks/21ae0c89a95d3866.js"].map(t=>e.l(t))).then(()=>t(971751)))},777785,e=>{e.v(t=>Promise.all(["static/chunks/02488abea7c0776f.js"].map(t=>e.l(t))).then(()=>t(97903)))},838687,e=>{e.v(t=>Promise.all(["static/chunks/45e181f5833b9620.js"].map(t=>e.l(t))).then(()=>t(979772)))},210729,e=>{e.v(t=>Promise.all(["static/chunks/4523f4337cf2bf32.js","static/chunks/afcf122a0b34530b.js","static/chunks/dbf04b026f4cd8d7.js"].map(t=>e.l(t))).then(()=>t(950629)))},87932,e=>{e.v(t=>Promise.all(["static/chunks/5917258e888b4dff.js","static/chunks/58dd45b95f6030ba.js"].map(t=>e.l(t))).then(()=>t(465938)))},623752,e=>{e.v(t=>Promise.all(["static/chunks/2119d8c4cd150ffe.js","static/chunks/b26c3856ca26ff0e.js","static/chunks/b3ce172850765bff.js","static/chunks/84b99a46231ef6be.js","
35static/chunks/47232d04bffc0a26.js","static/chunks/7dac459a5be0fbd2.js","static/chunks/6edfdb45f9187a84.css"].map(t=>e.l(t))).then(()=>t(42685)))},591812,e=>{e.v(t=>Promise.all(["static/chunks/9853059e717e729a.css","static/chunks/0406112a5b1b3943.css","static/chunks/6edfdb45f9187a84.css","static/chunks/5ae391b7b191d711.css","static/chunks/c0a32369ed35c680.js","static/chunks/f420d3915b6b639c.js","static/chunks/692703bb7d626347.js","static/chunks/c686a1014c44326f.js","static/chunks/d2bb5d5200174a88.js"].map(t=>e.l(t))).then(()=>t(496180)))}]);

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.