import{s as e}from"./chunk-DZLz74EQ.js";import{c as a}from"./jotai-DDOP7CKM.js";import{t as s}from"./react-BcIddLXZ.js";import{Wn as l}from"./cells-B6jS0AIj.js";import"./react-dom-D6bRRS5R.js";import"./zod-U2NFpcFA.js";import{n,t as c}from"./jsx-runtime-DvsdsEjx.js";import"./_Uint8Array-D5Z9rM2X.js";import"./isSymbol-xTSywenE.js";import"./_arrayMap-DQI2GUNb.js";import"./toNumber-CTOPJrpu.js";import"./toInteger-Bor4StOs.js";import"./isArrayLikeObject-DKyJYtr8.js";import"./_getTag-CVRrQL_Q.js";import"./_baseIsEqual-BF8660ot.js";import"./merge-BgA7kxZb.js";import"./_baseProperty-CIKnF2iY.js";import"./now-B6JN1xKT.js";import"./debounce-70y9MzDK.js";import"./hotkeys-Lbk6RHir.js";import"./invariant-DPGusy7Z.js";import"./utils-DnJCRgaX.js";import"./constants-DIZnpo2K.js";import"./config-BjdJmdrN.js";import"./useEventListener-C5BS4xuN.js";import"./cn-C5VTNYKf.js";import"./button-nRVaalxL.js";import"./dist-BPcMnGQn.js";import"./dist-pZAIwcZo.js";import"./once-Co7xi2Ip.js";import"./capabilities-DdXtcIOa.js";import"./createReducer-80xvKyHq.js";import"./requests-D3Z6okhb.js";import"./preload-helper-BpItL31i.js";import"./dist-C13bkrcz.js";import"./dist-DZNGKufD.js";import"./dist-DBeOBCHw.js";import"./dist-Ba10OKR3.js";import"./dist-D-CsU-_R.js";import"./dist-ClBFnEcy.js";import"./stex-LEaAsvUb.js";import"./Deferred-zIiWPYX3.js";import"./uuid-Dj56ryH_.js";import"./key-DWQdrH_J.js";import"./use-toast-BiL_AQz9.js";import"./main-CD7jouuS.js";import"./marked.esm-DCf1d_lA.js";import"./connection-DnLUBy9M.js";import"./dist-Q3T6mWQ0.js";import"./useTheme-BMknLtnH.js";import"./createLucideIcon-DA8ZBm4D.js";import"./type-Cpth3na1.js";import"./check-BUgsJwxM.js";import"./select-DJ0A_oCR.js";import"./toDate-sQp07c5U.js";import"./copy-CWjpIcfl.js";import{t as f}from"./text-search-CEoAJtl5.js";import"./useNonce-DECX9FAH.js";import"./badge-CFi0nvIx.js";import"./Combination-DR4iFoRS.js";import"./dist-Cei_8ikW.js";import"./tooltip-BQKXsEoT.js";import"./useLifecycle-CuZnZLRp.js";import"./menu-items-DOc2hwO2.js";import"./tslib.es6-sakIzgHM.js";import"./mode-BdfAcJv1.js";import"./useEvent-d8iQXgui.js";import"./copy-DAqXDCGN.js";import"./copy-icon-5DWltDxB.js";import"./purify.es-D83HMRRD.js";import"./useRunCells-uzADaSkg.js";import{t as d}from"./RenderHTML-CUSvJfTV.js";import{t as u}from"./empty-state-NyXKwoVS.js";var x=e(n(),1);s();var p=e(c(),1),v=()=>{let o=(0,x.c)(5),{documentation:r}=a(l);if(!r){let i;return o[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,p.jsx)(u,{title:"View docs as you type",description:"Move your text cursor over a symbol to see its documentation.",icon:(0,p.jsx)(f,{})}),o[0]=i):i=o[0],i}let t;o[1]===r?t=o[2]:(t=d({html:r}),o[1]=r,o[2]=t);let m;return o[3]===t?m=o[4]:(m=(0,p.jsx)("div",{className:"p-3 overflow-y-auto overflow-x-hidden h-full docs-documentation flex flex-col gap-4",children:t}),o[3]=t,o[4]=m),m};export{v as default};
